USING LINEAR ANALYSIS IN MATLAB FOR MEP 1422/1522 (MATLAB V7, R14) Dr. Nik Rumzi Nik Idris Dept. of...

Preview:

Citation preview

USING USING LINEAR ANALYSISLINEAR ANALYSIS IN MATLAB IN MATLAB FOR MEP 1422/1522 (MATLAB V7, R14)FOR MEP 1422/1522 (MATLAB V7, R14)

Dr. Nik Rumzi Nik Idris

Dept. of Energy ConversionFakulti Kejuruteraan ElektrikUniversiti Teknologi Malaysia

)1s1.0(s100

GOL

Say, we need to obtain Bode plot of this TF:

Which can be constructed using SIMULINK blocks:

Fakulti Kejuruteraan Elektrik

We can to put dummy blocks so that we can define the input-output points

Fakulti Kejuruteraan Elektrik

Right click the input point and select Linearization Points Input Point

Fakulti Kejuruteraan Elektrik

Right click the output point and select Linearization Points Output Point

Fakulti Kejuruteraan Elektrik

Start the Linear Analysis: Tools Control Design Linear Analysis

Fakulti Kejuruteraan Elektrik

Start the Linear Analysis: Tools Control Design Linear Analysis

Fakulti Kejuruteraan Elektrik

Select the Bode response plot and Linearize Model

Fakulti Kejuruteraan Elektrik

Select the Bode response plot and Linearize Model

Fakulti Kejuruteraan Elektrik

Try to place input point at several different input points. For each points, obtain the Bode plot

Fakulti Kejuruteraan Elektrik

The Bode plots of the 3 different input points:

Bode Diagram

Frequency (rad/sec)

-100

-50

0

50

100From: Input Point To: Output Point

Mag

nitu

de (

dB)

10-1

100

101

102

103

-180

-135

-90

-45

0

Phas

e (d

eg)

Fakulti Kejuruteraan Elektrik

Open-loop and close-loop plots

Bode Diagram

Frequency (rad/sec)

-100

-50

0

50

100From: Input Point To: Output Point

Mag

nitu

de (

dB)

10-1

100

101

102

103

-180

-135

-90

-45

0

Phas

e (d

eg)

Crossover frequency approximates close–loop bandwidth

Fakulti Kejuruteraan Elektrik

s

s1k

pik

ki

• Contain a zero and a pole at origin• DC gain can be adjusted independently from

location of zero

Transfer function

PI controller

Fakulti Kejuruteraan Elektrik

PI controller

Bode Diagram

Frequency (rad/sec)

-100

-50

0

50

100From: Input Point To: Output Point

Mag

nitu

de (

dB)

10-1

100

101

102

103

-90

-45

0

Phas

e (d

eg)

ki=1, kp=0.1

ki=100, kp=10

Fakulti Kejuruteraan Elektrik

Recommended