This document introduces control system concepts and how they can be analyzed using MATLAB. It discusses open and closed loop systems, Laplace transforms, state variable approaches, and MATLAB commands to analyze systems. Examples are provided on determining transfer functions, computing step and frequency responses, plotting root loci and Bode diagrams, and performing time and frequency domain analyses. Block diagrams can be reduced and overall transfer functions obtained through series and parallel combinations.
3. MATLAB Functions
• Control system solutions can be found by
using MATLAB functions/commands.
• Transfer functions from polynomial coefficents
can be obtained
• Transfer functions can be determined for
complex control system
• Pole-zero mapping
• Time response for given input
• Plot on root locus and Nyquist plots etc
4. INTRODUCTION TO CONTROL SYSTEM
CONCEPTS
• Open loop system
• Closed loop system
• Laplace transform approach (Frequency –
domain approach)
• State variable approach (Time-domain
approach)
5. INTRODUCTION TO CONTROL SYSTEM
CONCEPTS
Differential
equatons
(Time Domain)
Algebraic equations
(Frequency domain)
7. MATLAB COMMANDS
COMMAND DESCRIPTION
tf(num,den) Computes transfer function with
numerator(num) and denominator(den)
tfdata Returns the numerator(S) and
denominator(S) of the transfer function
Step Computes unit step response of a system
dstep Computes unit step response of a discrete
system
series Finds transfer function of blocks
connected in series
parallel Finds transfer function of blocks
connected in parallel
Pzmap (sys) Plots the pole –zero map of the LTI model
system
ltiview LTI Viewer (time and frequency response
analysis)
8. ss Creates state –space (SS) models
tf2ss Converts transfer function to state
variable form
ss2tf Converts state variable form to transfer
function form
residue Computes partial fraction expansion from
polynomial coefficents
roots Finds the roots of a polynomial
rlocus Computes the root locus of given transfer
function
bode Generates the bode plot
margin Calculates gain and phase margin, gain
cross over and phase cross over
frequency
nyquist Computes nyquist plot
21. %obtain TF5 from parallel combination of TF1
and TF2
[n5, d5]=parallel (n1,d1,n2,d2);
disp('TF5 is: ');
printsys(n5,d5)
%obtain TF6 from feedback loop of TF3 and TF4
[n6,d6]=feedback(n3,d3,n4,d4);
disp('TF6 is: ');
printsys(n6,d6)
22. %overall transfer function is obtained by series
connection of TF5 and TF6
[n7,d7]=series(n5,d5,n6,d6);
disp('overall Transfer function is; ');
printsys(n7,d7);
%obtain pole zero map from TF7
sys1=tf(n7,d7);
pzmap(sys1)