Thanks to visit codestin.com
Credit goes to www.scribd.com

100% found this document useful (1 vote)
78 views16 pages

SLCT 06 Analysis Slide

This document discusses system analysis tools in MATLAB and Simulink for analyzing linear time-invariant (LTI) systems. It covers the Linear System Analyzer, analyzing a DC motor model, automating analysis, and open-loop analysis. Key functions discussed include pole, zero, stepinfo, damp, bandwidth, dcgain, and margin for analyzing characteristics, and bode, nyquist, and rlocus for frequency-domain and open-loop analysis.

Uploaded by

Tuấn Anh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
78 views16 pages

SLCT 06 Analysis Slide

This document discusses system analysis tools in MATLAB and Simulink for analyzing linear time-invariant (LTI) systems. It covers the Linear System Analyzer, analyzing a DC motor model, automating analysis, and open-loop analysis. Key functions discussed include pole, zero, stepinfo, damp, bandwidth, dcgain, and margin for analyzing characteristics, and bode, nyquist, and rlocus for frequency-domain and open-loop analysis.

Uploaded by

Tuấn Anh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 16

System Analysis 6-1

System Analysis

MATLAB® and Simulink® for Control Design Acceleration

© 2014 MathWorks, Inc.


System Analysis 6-2

Outline

• System analysis functions

• Linear System Analyzer

• DC motor analysis

• Automation

• Open-loop analysis
System Analysis 6-4

Analysis Goals

Common goals
• Stability
• Transient response
• Frequency response

System analysis is often much easier for


linear models than for nonlinear models.
System Analysis 6-5

Analysis Functions
Textual Graphical

zero ltiview
pole
stepinfo
bode
margin
step
pzmap
evalfr
bandwidth impulse
dcgain lsim
damp nichols
nyquist
bodemag
System Analysis 6-6

DC Motor Model

>> dcmotor = createSimpleDC(0.5,2)

Armature Load
Va + 1 
Km
- Ls  R Js K f

Kb

Back EMF
System Analysis 6-7

Linear System Analyzer


System Analysis 6-8

Poles and Zeros

>> pole(dcmotor)
>> zero(dcmotor)
System Analysis 6-9

Poles and Step Response


Imaginary

x x

x x
Real

x x

x
Converges Diverges
System Analysis 6 - 10

Viewing System Characteristics

>> stepinfo(dcmotor)
>> damp(dcmotor)
System Analysis 6 - 11

Frequency-Domain Analysis

>> bandwidth(dcmotor)
>> dcgain(dcmotor)
System Analysis 6 - 12

Scripting Analysis Functions


function dcmotor = createSimpleDC(R,L)
>> dc_orig = createSimpleDC(0.5,2); >> dc_orig = createSimpleDC(0.5,2);
>> dc_lowR = createSimpleDC(0.1,2); >> dc_lowL = createSimpleDC(0.5,0.5);
>> dc_highR = createSimpleDC(2.5,2); >> dc_highL = createSimpleDC(0.5,8);
>> bode(dc_orig,dc_lowR,dc_highR) >> bode(dc_orig,dc_lowL,dc_highL)
System Analysis 6 - 13

Open-Loop Characteristics

+ 1
K
- s

>> pureInt = tf(1,[1 0])


>> openLoop = dcmotor*pureInt
>> ltiview(openLoop)

>> [Gm,Pm,Wg,Wp] = ...


margin(openLoop)
System Analysis 6 - 15

Open-Loop Characteristics (Continued)

+ 1
K
- s

>> pureInt = tf(1,[1 0])


>> openLoop = dcmotor*pureInt
>> rlocus(openLoop)
System Analysis 6 - 16

Summary

• System analysis functions

• Linear System Analyzer

• DC motor analysis

• Automation

• Open-loop analysis
System Analysis 6 - 17

Test Your Knowledge

1. Name some typical system characteristics that can be


obtained from a step response plot.

2. Name some typical system characteristics that can be


obtained from a Bode plot.

3. What is the main graphical analysis tool used in the


Control System Toolbox?
System Analysis 6 - 18

Test Your Knowledge

4. What function from the Control System Toolbox returns


the pole locations of an LTI object?

5. What function from the Control System Toolbox returns


the gain and phase margins of an open-loop system?

You might also like