Last | Top | Next

System Dynamics
List of Matlab/Simulink Demos

This page contains a summary list of the Matlab and Simulink demos that were used within this course. The list is organized by lesson number and by the order that the files were discussed within the Lecture Notes. Careful study of these sample files can introduce you to a variety of analysis techniques within Matlab and Simulink, and also give you a solid understanding for many of the topics that were discussed in this course.

Lesson 3: The State Space Equations and their Time Domain Solution
Compares the linear and nonlinear solutions for a simple (arbitrary) nonlinear 2nd-order system.
Demonstrates various solution schemes for Linear Time Invariant (LTI) systems. Demo1 in this series focuses on time domain solutions for a simple RLC circuit.

Lesson 4: Transform and Frequency Domain Methods
Example of some frequency response plots for H(s) = (s+0.1)/[s(s+1)] = b(s)/a(s). All the plots are done manually by the user.
Example of some frequency response plots for H(s) = (s+0.1)/[s(s+1)] = b(s)/a(s). In this demo, we let Matlab produce its own default plots.
Demonstrates various analysis schemes for LTI systems. Demo2 in this series focuses on frequency domain solutions and plotting techniques for a simple RLC circuit.

Lesson 5: Modeling & Simulating Dynamic Systems
Sequence of Matlab/Simulink sample programs that demonstrate various modeling and simulation techniques (both time and frequency domain) for a simple mechanical system.

Lesson 6: Mathematical Modeling of Engineering Systems - Case Studies
Sequence of Matlab & Simulink programs that model the dynamics of fluid flow into and out of simple holding tanks. The sequence includes three demos:
Case 1 -- linear vs. nonlinear models for a single tank,
Case 2 -- linear model of a 2-tank system, and
Case 3 -- liquid-level control in a single tank.
Dynamic Matlab model of a Shell and Tube Heat Exchanger. This example shows one way to put a distributed parameter system into standard state-space form. The heat exchanger can be modelled with parallel or counter-current flow.
Matlab model of a Light Tracking Servo System. This example allows a qualitative comparison of the mathematical model with an actual physical device that was built by a former student to demonstrate the dynamics of a Sun Tracking servo system.
Matlab and Simulink dynamic model of a Permanent Magnet DC Motor. This example details the development and testing of the motor transfer function that was used as part of Case Study E. It also incorporates this model as a subsystem within a Simulink model for the complete Sun Tracking system.

Lesson 7: Design & Simulation of Controlled Systems
Test problem for state feedback and state observer design and simulation in Matlab.
Sequence of Matlab & Simulink programs that model the dynamics of an inverted pendulum. The sequence includes three complete demos:
Case 1 -- compares linear vs. nonlinear models and attempts a simple classical control scheme,
Case 2 -- simulates and compares the linear & nonlinear models with state feedback and state observer, and
Case 3 -- simulates the linear model with state feedback and a disturbance input due to wind effects.

Last updated by Prof. John R. White (March 2020)

Last | Top | Next

 
 
Main | Current | Courses | Research | Vitae | Goodies