## Are you sure?

This action might not be possible to undo. Are you sure you want to continue?

Design of Mechanical Systems 650:486

What is Simulink ?

• Simulink is an extension to Matlab that allows engineers to rapidly and accurately build computer models of dynamical systems using block diagram notation. • Block diagram notation is a graphical means to represent dynamical systems.

**Block Diagram Vs Flowchart
**

• A flowchart describes a sequence of operations, so only one block in the flow chart is active at a time. • A block diagram describes a set of relationships that holds simultaneously, all blocks in a block diagram may be active at once. So block diagram can be thought of being represented by a set of simultaneous equations.

This will open up the window for simulink .Opening up Simulink • At the command prompt for matlab type simulink.

Simulink Basics click the Simulink button the Simulink window .

Simulink Basics click the “new” button create a new model or open an existing one the simulink model window .

• Simple models are linear and time invariant. .Continuous System • Most physical systems are modeled as continuous system since they can be described by using differential equations.

.Four fundamental blocks • The four primitive blocks used to represent continuous linear systems are • Gain block • Sum block • Derivative block • Integrator block.

Simulink window for Continuous system .

Simulink window for Math .

Simulink window for Sources .

Simulink window for Sinks .

Using source and sink blocks .

• y(t)= kx(t) is represented by the following block diagram . The output of the gain block is the input multiplied by a constant.Gain Block • The simplest block diagram element is the gain block.

• The expression • c=a – b is represented by the following block diagram .Sum Block • The sum block permit us to add two or more inputs.

Integrator Block • The integrator block computes the time integral of its input from the starting time to the present. .

Derivative block • The derivative block computes the time rate of change of its input. y = dx/dt .

Example 1 • Solving for a second order constant coefficient linear differential equation d2y/dt2 +c1dy/dt + c0y = b0f(t) For a response to a ‘step’ command .

Simulink Example Get an equivalent block diagram for the system use mouse to drag blocks into the model window and to connect blocks with arrows use integrators to get dy/dt and y .

Simulink Example add gain and summer blocks d2y/dt2 +c1dy/dt + c0y = b0f(t) .

Simulink Example add the step input block Introducing the stepping function .

Simulink Example add the output block .

Simulink Example Now. double click the blocks to open and set the block’s parameters set gain value set initial condition set variable name set output format to “array” .

select Simulation -> Simulation Parameters set Start and Stop time (in seconds) set numerical integration type .Simulink Example To set the simulation parameters….

Simulink Example Time to run the simulation click the “run” button to begin the simulation when the simulation is complete. “Ready” appears at the bottom .

Example Simulink will automatically save a variable named “tout” to the workspace. This variable contains the time values used in the simulation. important for variable time integration types Simulink also will create the output variable(s) you specified >>plot(tout.yoft) .

Example #2 • The block diagram denotes a cart of mass m. on a frictionless surface denoted by the equation of motion : d2x/dt2 = F/m .

Cart Continued • The block diagram of the cart position computation. .

mass as 100 kg.Simulation • Simulating the cart: Using a sine function as force input. .

Simulate the position of the mass. c=10. . k =5.Problem #1 • Consider a spring-massdashpot system represented by the equation of motion: m(d2x/dt2) + c(dx/dt) + kx = F where m=100.

Solution #1 .

5 Hint: use product block .Problem #2 • Represent the differential equation given by dx/dt = bx – px2 where b =1 and p = 0.

Solution #2 .

- Mapss Process Mapping Course
- Mapss Process Mapping Course
- Quality Control an Introduction
- Standard Flowchart Symbols and Their Usage
- Untitled
- Mat Lab Training
- NI Tutorial 13066
- ManOp Case1
- matlab simulink
- Quality Management
- L13L14
- Calculus 1 Syllabus
- MB0044 – Production & operations Management
- Chapter No. 9
- Process Dynamics 1
- 10.1.1.150.5358
- IIT_2012_12_13_p1_p2_Mat_UN4_SD
- pipeline activity final
- 91561v01 SLHDLCoder XilinxIntg FINAL
- Mu Pad
- DCME-14
- A18simultsubs
- Chapter2
- Sim Power Systems
- The NATA 2017 comprises of two examinations namely Drawing Test and General Aptitude.docx
- MITRES18 05S10 Big Picture Integrals Sum
- The Difference Between Partial and Total Derivatives
- balance lesson plan
- f1136fe8aa370e9538d668f6862c70d9_91261-exm-2013
- calculus_03_Rules_for_Finding_Derivatives.pdf

- NBER
- UT Dallas Syllabus for math1325.502.09s taught by Norman Aaron (axn061000)
- UT Dallas Syllabus for econ4351.001.08f taught by Daniel Obrien (obri)
- Differential Equation
- Space Shuttle Trajectory Guide
- UT Dallas Syllabus for math1325.002.07s taught by Paul Stanford (phs031000)
- UT Dallas Syllabus for math1325.002 06f taught by Paul Stanford (phs031000)
- UT Dallas Syllabus for math1325.5u1.08u taught by (xxx)
- UT Dallas Syllabus for math2413.003.11s taught by Wieslaw Krawcewicz (wzk091000)
- UT Dallas Syllabus for math1325.501.08f taught by Tommy Thompson (txt074000)
- Approximation of Gaussian derivatives for UWB communication
- UT Dallas Syllabus for math1325.001 05s taught by Bentley Garrett (btg032000)
- UT Dallas Syllabus for math1325.501.08s taught by Tommy Thompson (txt074000)
- UT Dallas Syllabus for math1325.501.07f taught by (xxx)
- UT Dallas Syllabus for math1325.501 05s taught by Bentley Garrett (btg032000)
- UT Dallas Syllabus for math1325.002 06s taught by Paul Stanford (phs031000)
- UT Dallas Syllabus for math1325.5u1.09u taught by Tommy Thompson (txt074000)
- UT Dallas Syllabus for math1325.501 05f taught by Titu Andreescu (txa051000)
- UT Dallas Syllabus for math1325.521 05u taught by Bentley Garrett (btg032000)
- UT Dallas Syllabus for eco4351.001 06f taught by Daniel Obrien (obri)
- UT Dallas Syllabus for eco4351.001.07f taught by (obri)
- UT Dallas Syllabus for math1325.501 06s taught by John Blankenship (jxb061000)
- UT Dallas Syllabus for math1325.002 05f taught by Paul Stanford (phs031000)
- tmp6F9E
- UT Dallas Syllabus for eco4351.501 06s taught by Daniel Obrien (obri)
- UT Dallas Syllabus for math2413.0u1.11u taught by Richard Ketchersid (rok100020)
- UT Dallas Syllabus for math1325.521 06u taught by William Donnell (wxd022000)
- UT Dallas Syllabus for math1325.002 05s taught by Paul Stanford (phs031000)
- Bringing Ideas to Life
- UT Dallas Syllabus for math1325.501.09s taught by Tommy Thompson (txt074000)

- Tutorial 2
- 330_02
- Sample for fingering
- p 1504 GSM Based Display
- lcd_4bit
- ST12
- Files
- 2014-04-15_Offer Letter_Chandra Shekhar Singh (1)
- Memory
- Lpc ARM Book Srn
- 74LS04
- Esdi Ptt
- NXP.brochure 1
- 1N4007
- MGL5128_1
- 6th Seme
- matlab_imageprocessing
- Gmail - Icici Bank Probationary Officer Recruitment Gd & Pi
- 8th seme
- 8th seme
- 6-Switching Technology Session
- A 360040
- Embedded Proc DSP Sel Guide 2010
- Soft Record 6
- 6-Switching Technology Session (1)
- dtmfdoc
- Linux Commands 08
- 66240584-Hmt-Limited-2010
- Antenne Eggbeater Engl Part1 Full

Sign up to vote on this title

UsefulNot usefulClose Dialog## Are you sure?

This action might not be possible to undo. Are you sure you want to continue?

Close Dialog## This title now requires a credit

Use one of your book credits to continue reading from where you left off, or restart the preview.

Loading