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

Simulink Basics
Starting Simulink
Model files
Basic elements
Running simulations
Building systems

Simulink Modeling
Train system
Free body diagram and Newton's law
Model construction
Running the model
Obtaining MATLAB model

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 | Simulink
Motor Speed
Modeling | PID | Root Locus | Frequency Response | State Space | Digital Control | Simulink
Motor Position
Modeling | PID | Root Locus | Frequency Response | State Space | Digital Control | Simulink
Bus Suspension System
Modeling | PID | Root Locus | Frequency Response | State Space | Digital Control | Simulink
Inverted Pendulum
Modeling | PID | Root Locus | Frequency Response | State Space | Digital Control | Simulink
Pitch Controller
Modeling | PID | Root Locus | Frequency Response | State Space | Digital Control | Simulink
Ball & Beam
Modeling | PID | Root Locus | Frequency Response | State Space | Digital Control | Simulink

Animations
Bus Suspension
Inverted Pendulum
Pitch Controller
Ball & Beam

Commands

Extras
Conversions
Difference equations and system representations
Digital lead and lag
Digital steady-state error
Discrete pole locations and transient response
Functions
lnyquist | nyquist1 | 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
Simulink block libraries
Simulink interaction with MATLAB