CMU
UM


Matlab Tutorials Index

Home

About the tutorials

Conventions used in the tutorials
About the authors
More about automatic control
Copyright

Matlab Basics
Vectors
Functions
Plotting
Polynomials
Matrices
Using M-files in Matlab
Getting help in Matlab

Modeling
Train system
Free body diagram and Newton's law
State-variable and output equations
Matlab representation

Examples: Cruise Control, Motor Speed, Motor Position, Bus Suspension, Inverted Pendulum, Pitch Controller, Ball & Beam

PID
Introduction
The three-term controller
Characteristics of P, I, and D controllers
Open-loop step response
Proportional control
PD control
PI control
PID control
General tips for designing a PID controller

Examples: Cruise Control, Motor Speed, Motor Position, Bus Suspension, Inverted Pendulum, Pitch Controller, Ball & Beam

Root Locus
Closed-loop poles
Plotting the root locus of a transfer function
Choosing a value of K
Closed-loop response

Examples: Cruise Control, Motor Speed, Motor Position, Bus Suspension, Inverted Pendulum, Pitch Controller, Ball & Beam

Frequency Response
Bode plot
Gain and phase margin
Bandwidth frequency
Closed-loop performance
Nyquist diagram

Examples: Cruise Control, Motor Speed, Motor Position, Bus Suspension, Inverted Pendulum, Pitch Controller, Ball & Beam

State Space
State-space equations
Control design using pole placement
Introducing the reference input
Observer design

Examples: Cruise Control, Motor Speed, Motor Position, Bus Suspension, Inverted Pendulum, Pitch Controller, Ball & Beam

Digital Control
Introduction
Zero-order hold equivalence
Conversion using c2dm
Stability and transient response
Discrete root-locus

Examples: Cruise Control, Motor Speed, Motor Position, Bus Suspension, Inverted Pendulum, Pitch Controller, Ball & Beam

Examples
Cruise Control
Modeling | PID | Root Locus | Frequency Response | State Space | Digital Control
Motor Speed
Modeling | PID | Root Locus | Frequency Response | State Space | Digital Control
Motor Position
Modeling | PID | Root Locus | Frequency Response | State Space | Digital Control
Bus Suspension System
Modeling | PID | Root Locus | Frequency Response | State Space | Digital Control
Inverted Pendulum
Modeling | PID | Root Locus | Frequency Response | State Space | Digital Control
Pitch Controller
Modeling | PID | Root Locus | Frequency Response | State Space | Digital Control
Ball & Beam
Modeling | PID | Root Locus | Frequency Response | State Space | Digital Control

Animation
Bus Suspension
Inverted Pendulum
Pitch Controller
Ball & Beam

Commands

Extras
Conversions
dstep and stairs
Difference equations and system representations
Digital lead and lag
Digital steady-state error
Discrete pole locations and transient response
Functions
jgrid | lnyquist1 | nyquist1 | polyadd | rscale | sigrid | wbw
Lagging effect associated with the hold
Lead/lag
lsim
mfile
Notch filter
plot
PID Bilinear Approximation
Pole/zero cancelation
step
Steady-state error


Tutorials
Basics | Modeling | PID | Root Locus | Frequency Response | State Space | Digital Control | Examples

HOME INDEX COMMAND

8/12/97 CJC