Simulink Definition and 90 Threads
-
B Can only one help me build prototype or simulation
A hollow cylinder with dimensions 2 m radius,6 m height and weight 200kgs And a massive sphere weight 2000kgs with radius 30cm is placed inside the cylinder and is free to rotate. Now the whole system is tilted to it's critical angle and is rotated around a circular track. The circumference of...- Efficientplus
- Thread
- Renewable energy Simulation Simulink
- Replies: 6
- Forum: Mechanics
-
(Control) Derivative filter and discrete model
Hi I am back :). I have been doing some Simulink modeling for a project. I modeled it with a discrete system due to the controller rate. I have noticed that for all the discrete system I have tried, adding a derivative filter not only improves the performance (smaller settling time), but it is...- Leo Liu
- Thread
- Modeling Simulink
- Replies: 0
- Forum: General Engineering
-
Engineering Control System mass spring damper
Hello everybody I have a question about my control system, and I've included a diagram for reference. In the diagram below, I've illustrated three different control schemes using Simulink. The first scheme represents a PI controller for a mass-spring-damper system, which I understand well. It...- Gunter1977
- Thread
- Control system Simulink
- Replies: 0
- Forum: Engineering and Comp Sci Homework Help
-
S
Engineering Simulink: How to fix given error for a closed loop model w/ PID controller?
Could I get some input on how to fix this problem please? Thanks in advance! The exercise for which I need the model. The simulink model together + the error that needs to be fixed + Matlab code used: Note: Gain 1 = 1/Ti- simphys
- Thread
- Simulink
- Replies: 1
- Forum: Engineering and Comp Sci Homework Help
-
M
Engineering How to implement a transfer function in Simulink with variable coefficients?
The implementations for the two filters in simulink are as follow: For the first filter: For the second one: The obtained results have values of 10^-12, while the expected results should be between 10^-3 - 10. Since it's the first time when I try t implement a tf with variable coefficients I...- MoonDiver
- Thread
- Coefficients Control Function Laplace transform Matlab Simulink Transfer function Variable
- Replies: 2
- Forum: Engineering and Comp Sci Homework Help
-
H
MATLAB Modelling a Heat Pump with Linear Compressor using MATLAB Simulink
Hello, I am a final year mechanical engineering student designing a heat pump with a linear compressor for an electric vehicle and have decided to model this using Simulink, I would love some help on the governing equations/formulas needed for each component of the heat pump as well as guidance...- hazycam
- Thread
- Compressor Heat Heat pump Linear Matlab Modelling Pump Simulink
- Replies: 3
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
F
Simulate a Chopper of Class A circuit in MATLAB Simulink
I tried to simulate the circuit but I got unreliable results. Here's what I got when I set the duty cycle to be 20%: Stop Time = 0.02 The efficiency is more than100%. Here's the parameters: Could someone please let me where is my mistake?- Fatima Hasan
- Thread
- Circuit Class Matlab Simulink
- Replies: 6
- Forum: Engineering and Comp Sci Homework Help
-
M
A Solving a differential equation with two unknowns
One thing that is given in paper (attached) is a operating set point for temperature which is given as 20 for day and 16 for night but I do not know whether its initial condition for temperature or not. Can anyone please guide me that what kind of equation is it and how can I solve it with these...- Muhammad Saqlain
- Thread
- Differential Differential eqautions Differential equation Simulink Unknowns
- Replies: 6
- Forum: Differential Equations
-
S
Problem with PMSM motor model in Simulink
Good afternoon, I have developed a Vector Control for a PMSM motor in Simulink using Simscape Electrical but my motor is not spinning. I have tried applying various speed values but nothing happens. I am applying a step signal from 0 to 300 but the motor speed still doesn't move. My error...- Schenk123
- Thread
- Model Motor Motor control Simulink
- Replies: 1
- Forum: Electrical Engineering
-
V
Mathematical Modeling of an evaporator for evaporating water
I am trying to model an evaporator which evaporates water to steam in Matlab/simulink. Are there any governing equations i need to know and follow when modelling the evaporator mathematically? Please let me know.- vishnu123
- Thread
- Evaporation Evaporator Mathematical Mathematical modeling Matlab Modeling Simulink Water
- Replies: 22
- Forum: Mechanical Engineering
-
V
Mathematical modeling of a screw compressor
I am trying to design a compressor in simulink. the mathematical equations has been modeled. but i just need, is there any relation to find the rate of change of volume with respect to time in compressor. Are there any equations or relations to find the rate of change in volume. As its a...- vishnu123
- Thread
- Compressor Mathematical Mathematical modeling Modeling Modelling Screw Simulink
- Replies: 3
- Forum: Mechanical Engineering
-
K
MATLAB Spring mass impact system in Matlab - How to correct it?
I am new to Simulink and I wanted to start practicing using a spring mass damper system. My first tutorial was this: Later, I wanted to model a spring system where a mass moving at a known velocity hits the spring. The governing equation and a similar modeling method given in the previous...- k.udhay
- Thread
- Impact Mass Matlab Simulink Spring System Velocity
- Replies: 7
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
F
Find the real power consumed using MATLAB Simulink
My work is attached below. I want to confirm my answer. Any help would be greatly appreciated !- Fatima Hasan
- Thread
- Matlab Power Simulink
- Replies: 12
- Forum: Engineering and Comp Sci Homework Help
-
M
Open CT Dialog Box in Simulink | Mathworks
I'm reading this Document : https://www.mathworks.com/help/physmod/sps/examples/current-transformer-saturation.html#d117e16073 In this document, it said : "Open the CT dialog box and observe how the CT parameters are specified" How to open CT dialog box in simulink ? Thanks for your help- minhduc515
- Thread
- Box Simulink
- Replies: 1
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
F
Implement a DC current source - simulink
Homework Statement Homework Equations - The Attempt at a Solution Here's my work : When I add the DC current source , it shows a red dotted line and won't connect to other elements . Any help would be greatly appreciated !- Fatima Hasan
- Thread
- Current Current source Dc Dc current Simulink Source
- Replies: 2
- Forum: Engineering and Comp Sci Homework Help
-
N
Gas pressure regulator model in Simscape
Hello, I want to develop a pressure regulator model in simscape. The model will be the springloaded direct acting system and the aim is to target outlet pressure, temperature and flow rate by giving input parameters as pressure, temperature, spring stiffness, length and preload, lever(it is...- NarsimhaReddy
- Thread
- Gas Matlab Mechancal engineering Model Pressure Pressure regulator Regulator Simulink
- Replies: 1
- Forum: Mechanical Engineering
-
S
Simulink bloc of PMSM (permanent magnet synchronous motor) parameters
greetings. I designed a system on simulink. it is missing a pmsm. I found a block on simpowersystems in simulink nde matlab. I hope that this engine provides a nominal power of 96kw and maximum of 100kw. so how to test it? to verify that this engine can deliver these two powers? cordially. said.- said76
- Thread
- Magnet Matlab Motor Parameters Simulink Synchronous
- Replies: 2
- Forum: Electrical Engineering
-
F
Step Response Characteristics in Simulink
I have a system that I have built in Simulink with a step input and scope output. I would like to measure the peak overshoot, settling time etc. In Matlab this can be done using the 'step' command and generating the characteristics from the Figure window. Is there a way of getting the same...- fonz
- Thread
- Response Simulink Step response
- Replies: 3
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
Dynamic modeling of a system and transients of the system
Consider, I have a dynamic system model for air compressor. Which means I have modeled the system by including its physics. Does this means I also included the transients of the system? What I think is, when i modeled any system with equations, I think that includes the transients. Is it...- Nikhil N
- Thread
- Air compressor Control systems Dynamic Mathematical modeling Matlab Modeling Modelling Simulink System
- Replies: 7
- Forum: Mechanical Engineering
-
F
Converting Simulink model to C code, integration
Dear Forumers,Given a simulink model: http://www.femm.info/Archives/contrib/images/TransientLoudspeaker/SimulinkOverview.png I would like to implement fast code for it.I have no access to matlib or simulink at all, so I tried to implement the simulation in C code. Code for the block...- flowwolf
- Thread
- C code Code Integration Model Simulink
- Replies: 2
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
P
MATLAB Simulink: designing a 2nd order sliding controller
Hi, I've had obtained a mathematical model for the slip controller issue. As you see I have the diffequation for the slip. and the input that force the system to zero error is provided as well. Now it's time to implement it in simulink or matlab. I took a look at the example provided on...- Payam30
- Thread
- 2nd order Controller Designing Matlab Simulink Sliding
- Replies: 7
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
P
Novice trouble modeling a system in Simulink
Greetings, For the past 5 days i have been learning how to use simulink.I decided to try and model a mechanical system described by the equations in the picture below.I provide a second picture with my work so far.A couple of questions that i have are: a)How do i include the first equation? and...- Playbacknick
- Thread
- Model Modeling Simulink System
- Replies: 5
- Forum: General Engineering
-
4DOF Spur Gear System - Eigenvalues not corresponding with the Eqns?
Hi there, I am modelling a four degree of freedom system which is the dynamics of two spur gears in mesh, having two rotational and two translation degrees of freedom, respectively, a diagram exhibiting the system can be seen below. I have derived the equations of motion (EOM) and...- Sirsh
- Thread
- Dynamics Eigenvalues Gear Matlab Ode Simulink System
- Replies: 4
- Forum: Mechanical Engineering
-
S
Simulink model of a hybrid vehicle (replace battery with fuel cell)
greetings, here I found a Simulink model on mathswork, I want to replace the battery with a fuel cell, so I'm stuck at the level of the energy management block. here is the link of the model: https://www.mathworks.com/matlabcentral/fileexchange/28441-hybrid-electric-vehicle-model-in-simulink...- said76
- Thread
- Battery Cell Fuel Fuel cell Inverter Model Simulink Vehicle
- Replies: 19
- Forum: Electrical Engineering
-
O
Boost converter in Simulink problem
Hi I am trying to simulate a boost converter in Simulink, but I have a problem. When I measure the inductor current it shows as a triangular waveform instead of an exponential waveform like I would expect, does anyone know why? Does simulink do some simplification I am not aware of...- OliskaP
- Thread
- Boost Boost converter Converter Simulink
- Replies: 3
- Forum: Electrical Engineering
-
Generating SPWM using arduino-simulink environment
hi all...am trying to generate sinusoidal pulse width modulation using arduino-simulink for my inverter board...I simulated the SPWM logic in simulink, then installed the required support package for arduino-simulink...but i am facing some problems...I started from basic...like linking arduino...- srinaath
- Thread
- inverter matlab simulink
- Replies: 1
- Forum: Electrical Engineering
-
Z
Automotive Vehicle and Engine Simulink Model Engine rpm calculation
Hello Everyone, I am designing Simulink model for HIL testing. Basic concept: Input: Throttle angle ----> Injection timing from that I have calculated requested torque (% of max torque)(chekced and correct) Real torque follows requested torque with delay. (long list of conditions depending on...- Zain Abbasi
- Thread
- Calculation Engine Model Rpm Simulink Torque Vehicle
- Replies: 2
- Forum: Mechanical Engineering
-
A
Problem with permanent magnet synchronous machine simulink
Hi I would ask someone that is pratical with Simulink in particular of Simscape about a problem which involve my simulation in Matlab-Simulink of a permanent magnet synchronous machine that is connected, by a rectifier, to a DC current source. all the blocks of the simuation are included into...- andrea-94
- Thread
- Machine Magnet Permanent magnet Simulink Synchronous
- Replies: 1
- Forum: Electrical Engineering
-
M
The battery equivalent internal impedance equation
Homework Statement Hello, long story short: I need to create a model of Li-Ion battery and I'm stuck on calculating the battery equivalent internal impedance. The thing is, I don't know the equation or even how to make one. However, I have a circuit drawing: Homework Equations Values in...- marrcko
- Thread
- Battery Equivalent Impedance Internal Li-ion Rc circuit Simulink
- Replies: 16
- Forum: Engineering and Comp Sci Homework Help
-
A
How to design an impulse input in Matlab Simulink
Homework Statement I would like to know a way to design an impulse input in a Matlab Simulink model. I know there are step input and ramp input blocks but there is no impulse input block. Homework Equations The Attempt at a Solution If any working is needed please let me know- AnkleBreaker
- Thread
- Design Impulse Impulse response Input Matlab Simulink
- Replies: 4
- Forum: Engineering and Comp Sci Homework Help
-
A
Could someone please check my Simulink Diagram
Homework Statement I was asked to draw a Simulink Model for the above (car suspension) system. m = 250kg k, spring constant = 70000N/m c, damping coefficient = 3000N/m/s Homework Equations If any equations are needed please let me know The Attempt at a Solution The question says to draw...- AnkleBreaker
- Thread
- Diagram Impulse Matlab Simulink
- Replies: 2
- Forum: Engineering and Comp Sci Homework Help
-
W
Bungee jump -> differential equation -> simulink simulation
Hello guys, I found this forum using google because I need help with simulating bungee jump model. I've already done that with zero initial values and it looks good but I want it more realistic : Let's say L is the length of rope so elasticity force starts acting when y=L so logically time...- Wesker
- Thread
- Bungee Bungee jump Differential Differential equation Jump Matlab Simulation Simulink
- Replies: 2
- Forum: Differential Equations
-
Second order differential equation
i am given an equation which i have to solve in simulink. the equation is quite veered to me. some one help me in understanding what kind of equation it is so that i can solve it in MATLAB simulink. (2+x^2)theta'' + (2xx' +1)theta' + 9.8(xcostheta-sinthetha)-x''=T- engnrshyckh
- Thread
- Differential Differential equation Second order Simulink
- Replies: 9
- Forum: Differential Equations
-
Direct synthesis of a controller (plus simulink modeling)
Homework Statement Homework EquationsThe Attempt at a Solution Part (a) Starting with the formula $$ g_{c} = \frac {g_{CL}}{g_{p}(1-g_{CL})} $$ The controller transfer function is determined, $$ g_{c} = \frac { \frac {1}{\lambda s + 1}}{\frac {k_{p}}{(\tau_{p1}s+1)(\tau_{p2}s+1)} - \frac...- gfd43tg
- Thread
- Controller Modeling Simulink Synthesis
- Replies: 4
- Forum: Engineering and Comp Sci Homework Help
-
Lead-lag system and model with Simulink
Homework Statement Homework EquationsThe Attempt at a Solution Hello, I am trying to construct the model, but I don't know how to incorporate 3 steps. I tried making 3 step blocks, but the input for the transfer function will only take one line. Then I tried to use one step block and make a...- gfd43tg
- Thread
- Model Simulink System
- Replies: 8
- Forum: Engineering and Comp Sci Homework Help
-
C
Simulink vector space alpha beta transformation
<< Thread moved to the HH forums from the technical engineering forums, so no HH Template is shown >>[/color] The model: The goal: 1. Create a three phase voltage 2. Do a alpha-beta transformation 3. Do a Cartesian to Polar transformation 4 Check the output angle The expected result: Since...- Cdz
- Thread
- Alpha Beta Simulink Space Transformation Vector Vector space
- Replies: 2
- Forum: Engineering and Comp Sci Homework Help
-
B
MATLAB Matlab Simulink: How to Access SIMSCAPE for Electrical Simulations
hello people, I have MATLAB R2014a installed in my system, i would like to do some electrical simulations. Unfortunately I am unable to find SIMSCAPE in my library. Can anyone suggest me how to get it. thanks in advance.- bm153
- Thread
- Matlab Simulink
- Replies: 6
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
G
How to combine two PID controllers in one system?
I have a model of car, my aim is to make a simple model of adaptive cruise control. The only input to this model is a user set distance (range 2 to 50 meters), this is the distance that our vehicle should maintain between itself and the leading vehicle. I plan to control this using throttle and...- Gauzi
- Thread
- Pid Simulink System
- Replies: 16
- Forum: General Engineering
-
N
Matlab Simulink: Simulate the height of ball thrown upward
Homework Statement Upthrow simulation Conditions: initial velocity v=10m/s, initial height h=0m when t=0. Gravity acceleration g=10m/s2 . Using Simulink to simulate the variation of height with time when t≥0. Homework Equations I figured that the governing equation should be: Height =...- nightingale
- Thread
- Ball Height Matlab Physics Simulation Simulink
- Replies: 1
- Forum: Engineering and Comp Sci Homework Help
-
V
Simulink help for getting a frequency I can use as an input
Ok, say I have a sine wave block that has a frequency of 60Hz. What can I do to get that frequency as a number so I can use it as an input to another block? I've tried various things such as a "sign" block that counts when it switches from positive to negative and then a counter that resets...- Vagabond7
- Thread
- Control Frequency Input Simulink
- Replies: 3
- Forum: Electrical Engineering
-
T
Simulink Diagram for Solving a Nonlinear Second-Order Differential Equation
< Mentor Note -- thread moved to HH from the technical engineering forums, so no HH Template is shown >[/color] \frac{d^2 \theta}{dx^2}=-\frac{x}{10}\cos \theta - \frac{9.8}{10}\sin \theta I'm supposed to draw a simulink diagram for this equation and find the response to a unit step function...- theone
- Thread
- Simulink
- Replies: 3
- Forum: Engineering and Comp Sci Homework Help
-
A
Double pendulum - solving with energy and Simulink
Hi everyone, I am trying to familiarize myself with Simulink by graphically drawing out differential equations, but ran into a snag with a double pendulum on a cart. Anyways, I neglect friction or other damping effects and say that From there I simply just sum the energies, which ends up...- aaddcc
- Thread
- Double pendulum Energy Pendulum Simulink
- Replies: 1
- Forum: Differential Equations
-
A
Simulink: warning Log in zero in one function
Hello, I have this problem (warning: log of zero in one function) when i try to simulate one system which apparentely doesn't have any problem. in order to follow with my project i need to know how to change something parameters or whatever that is doing that my equation give me this mistake...- Ana_
- Thread
- Function Log Simulink Zero
- Replies: 1
- Forum: Mechanical Engineering
-
Help Needed! Drawing a Half-Wave Sinusoid in Simulink
Dear all, I am pretty bad at Simulink and I want to draw out a half wave sinusoid with the equation: I(t)=360sin(pi*t/0.4), 0<=t<=0.4 I(t)= 0 , 0.4<t<=1 Any help or suggestions? I've tried using the Sine block with amp=360 and freq=7.85 but the graph looks weird. I want to...- cherylt
- Thread
- Drawing Periodic signal Simulink
- Replies: 1
- Forum: Electrical Engineering
-
T
Help solving Simulink numerical oscillation
Hi! I posted a new thread about a week ago, but so far no one was able to help me: https://www.physicsforums.com/showthread.php?t=761892 I wasn't sure if I posted in the right forum, so I'm posting it here hoping to reach a wider audience :) Any help is greatly appreciated! -Tusike- Tusike
- Thread
- Numerical Oscillation Simulink
- Replies: 1
- Forum: General Math
-
T
Simulink help solving numerical oscillation
Hi! I'm trying to compute air flow between chambers for a project. I'm having a numerical oscillation problem, and I've created an example Simulink program that highlights the cause. Please see the attached Simulink model for a clear understanding; in the following I will do my best to give...- Tusike
- Thread
- Numerical Oscillation Simulink
- Replies: 2
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
A
MATLAB Entering simulink 3D look-up table data from MATLAB
I have created a contour plot in MATLAB using the following code: >> NP=40; >> [RP TP]=meshgrid(linspace(min(RPM),max(RPM),NP),linspace(min(BMEP),max(BMEP),NP)); >> BSFC_IT=griddata(RPM,BMEP,BSFC,RP,TP); >> NC=12; >> Fig1=figure; >> [CT...- Alex91
- Thread
- 3d Data Matlab Simulink Table
- Replies: 1
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
A
Hybrid bus simulink motor generator
Hi, I am making a Simulink model for the drive cycle of a hybrid bus. My bus is using a gas turbine engine to power a generator which then charges the batteries. I have a motor model which I have attached a screenshot of, and I know I can use this as a generator also. I just have no idea...- Alex91
- Thread
- Bus Generator Motor Simulink
- Replies: 1
- Forum: Electrical Engineering
-
G
How can I draw a basic differential equation in Simulink?
Homework Statement Hi, I was wondering if someone could help me create a basic differential equation in Simulink. I'm trying to create the following equations http://imageshack.com/a/img197/1379/cic.PNG I tried using this as an example...- GreenPrint
- Thread
- Drawing Ode Simulink
- Replies: 1
- Forum: Engineering and Comp Sci Homework Help
-
I
MATLAB How Can You Handle Unassigned Outputs in Simulink's Embedded MATLAB Function?
Hello everyone! In Simulink , I use the Embedded MATLAB Function function out = fcn(meas) if meas>10 out = 4; elseif meas<=0 out=2; end And I get this message: Output argument 'out' is not assigned on some execution paths. I would like the variable 'out' to change its...- ilconformista
- Thread
- Function Matlab Simulink
- Replies: 1
- Forum: MATLAB, Maple, Mathematica, LaTeX