Automatic Control By Dr. / Mohamed Ahmed Ebrahim Mohamed E-mail: [email protected] Web site:...

29
Automatic Control By Dr. / Mohamed Ahmed Ebrahim Mohamed E-mail: [email protected] Web site: http://bu.edu.eg/staff/mohamedmohamed033

Transcript of Automatic Control By Dr. / Mohamed Ahmed Ebrahim Mohamed E-mail: [email protected] Web site:...

Page 1: Automatic Control By Dr. / Mohamed Ahmed Ebrahim Mohamed E-mail: mohamedahmed_en@yahoo.com Web site: .

Automatic Control

By

Dr. / Mohamed Ahmed Ebrahim

MohamedE-mail: [email protected]

Web site: http://bu.edu.eg/staff/mohamedmohamed033

Page 2: Automatic Control By Dr. / Mohamed Ahmed Ebrahim Mohamed E-mail: mohamedahmed_en@yahoo.com Web site: .
Page 3: Automatic Control By Dr. / Mohamed Ahmed Ebrahim Mohamed E-mail: mohamedahmed_en@yahoo.com Web site: .
Page 4: Automatic Control By Dr. / Mohamed Ahmed Ebrahim Mohamed E-mail: mohamedahmed_en@yahoo.com Web site: .

Magnitude Bode plot of 0.1

5

10(1 )

(1 )

j

jj

-- 20log10(1+jω/0.1)

-- -20log10(1+jω/5)

-- -20log10(ω)

-- 20log10(√10)

-- 20log10|H(jω)|

Page 5: Automatic Control By Dr. / Mohamed Ahmed Ebrahim Mohamed E-mail: mohamedahmed_en@yahoo.com Web site: .

EXAMPLE

+11Ω

vi

+vo

110mH

10mF

22

( ) 110( )

1 110 1000( )

110

( 10)( 100)

R L s sH s

s ss R L sLC

s

s s

10

10 10 10 10

0.11 ( )

1 /10 1 /100

20log ( )

20log 0.11 20log 20log 1 20log 110 100

dB

jH j

j j

A H j

j j j

Page 6: Automatic Control By Dr. / Mohamed Ahmed Ebrahim Mohamed E-mail: mohamedahmed_en@yahoo.com Web site: .
Page 7: Automatic Control By Dr. / Mohamed Ahmed Ebrahim Mohamed E-mail: mohamedahmed_en@yahoo.com Web site: .

Calculate 20log10 |H(jω)| at ω=50 rad/s and ω=1000 rad/s

0

10 10

0

10 10

0.11( 50)( 50) 0.9648 -15.25

(1 5)(1 0.5)

20log ( 50) 20log (0.9648) 0.311 dB

0.11( 1000)( 1000) 0.1094 83.72

(1 100)(1 10)

20log ( 1000) 20log (0.1094) 19.22 dB

jH j

j j

H j

jH j

j j

H j

Page 8: Automatic Control By Dr. / Mohamed Ahmed Ebrahim Mohamed E-mail: mohamedahmed_en@yahoo.com Web site: .

Using the Bode diagram, calculate the amplitude of vo if vi(t)=5cos(500t+150)V.

From the Bode diagram, the value of AdB at ω=500 rad/s is approximately -12.5 dB. Therefore,

( 12.5/20)10 0.24A

(0.24)(5) 1.2mo miV AV V

Page 9: Automatic Control By Dr. / Mohamed Ahmed Ebrahim Mohamed E-mail: mohamedahmed_en@yahoo.com Web site: .

MORE ACCURATE AMPLITUDE PLOTS

The straight-line plots for first-order poles and zeros can be made more accurate by correcting the amplitude values at the corner frequency, one half the corner frequency, and twice the corner frequency. The actual decibel values at these frequencies

/2

2

10 10

10 10

10 10

20log 1 1 20log 2 3 dB

20log 1 1 / 2 20log 5 / 4 1 dB

20log 1 2 20log 5 7dB

c

c

c

dB

dB

dB

A j

A j

A j

In these equations, + sign corresponds to a first-order zero, and – sign is for a first-order pole.

Page 10: Automatic Control By Dr. / Mohamed Ahmed Ebrahim Mohamed E-mail: mohamedahmed_en@yahoo.com Web site: .
Page 11: Automatic Control By Dr. / Mohamed Ahmed Ebrahim Mohamed E-mail: mohamedahmed_en@yahoo.com Web site: .

STRAIGHT-LINE PHASE ANGLE PLOTS

1. The phase angle for constant Ko is zero.

2. The phase angle for a first-order zero or pole at the origin is a constant ± 900.

3. For a first-order zero or pole not at the origin,

• For frequencies less than one tenth the corner frequency, the phase angle is assumed to be zero.

• For frequencies greater than 10 times the corner frequency, the phase angle is assumed to be ± 900.

• Between these frequencies the plot is a straight line that goes from 00 to ± 900 with a slope of ± 450/decade.

Page 12: Automatic Control By Dr. / Mohamed Ahmed Ebrahim Mohamed E-mail: mohamedahmed_en@yahoo.com Web site: .
Page 13: Automatic Control By Dr. / Mohamed Ahmed Ebrahim Mohamed E-mail: mohamedahmed_en@yahoo.com Web site: .

EXAMPLE

1 1 2

1 1 2

01

11

12

0.11( )( )

[1 ( / 10)][1 ( / 100)]

0.11

1 ( / 10) 1 ( / 100)

( )

90

tan ( / 10)

tan ( / 100)

jH j

j j

j

j j

Page 14: Automatic Control By Dr. / Mohamed Ahmed Ebrahim Mohamed E-mail: mohamedahmed_en@yahoo.com Web site: .
Page 15: Automatic Control By Dr. / Mohamed Ahmed Ebrahim Mohamed E-mail: mohamedahmed_en@yahoo.com Web site: .

Compute the phase angle θ(ω) at ω=50, 500, and 1000 rad/s.

0 0

0 0

0 0

( 50) 0.96 15.25 ( 50) 15.25

( 500) 0.22 77.54 ( 500) 77.54

( 1000) 0.11 83.72 ( 1000) 83.72

H j j

H j j

H j j

Compute the steady-state output voltage if the source voltage is given by vi(t)=10cos(500t-250) V.

0 0 0

0

( 500) (0.22)(10) 2.2

( ) 77.54 25 102.54

( ) 2.2cos(500 102.54 )

mo mi

o i

o

V H j V V

v t t V

Page 16: Automatic Control By Dr. / Mohamed Ahmed Ebrahim Mohamed E-mail: mohamedahmed_en@yahoo.com Web site: .

PHASE ANGLE PLOTS

For a second-order zero or pole not at the origin,For frequencies less than one tenth the corner

frequency, the phase angle is assumed to be zero.

• For frequencies greater than 10 times the corner frequency, the phase angle is assumed to be ± 1800.

• Between these frequencies the plot is a straight line that goes from 00 to ± 1800 with a slope of ± 900/decade.

As in the case of the amplitude plot, ζ is important in determining the exact shape of the phase angle plot. For small values of ζ , the phase angle changes rapidly in the vicinity of the corner frequency.

Page 17: Automatic Control By Dr. / Mohamed Ahmed Ebrahim Mohamed E-mail: mohamedahmed_en@yahoo.com Web site: .
Page 18: Automatic Control By Dr. / Mohamed Ahmed Ebrahim Mohamed E-mail: mohamedahmed_en@yahoo.com Web site: .

ζ=0.1

ζ=0.3

ζ=0.707

Page 19: Automatic Control By Dr. / Mohamed Ahmed Ebrahim Mohamed E-mail: mohamedahmed_en@yahoo.com Web site: .

EXAMPLE

+vi

+

vo

50mH

40mf

)10/(4.0)10/(1

125/)(

1004

)25(41

1

)(

2

22

ss

ssH

ss

s

LCs

LR

s

LCs

LR

sH

11

21010

12

1

)(

)10/(4.0)10/(1log2025/1log20

)10/(4.0)10/(1

25/1)(

jjA

j

jjH

dB

Page 20: Automatic Control By Dr. / Mohamed Ahmed Ebrahim Mohamed E-mail: mohamedahmed_en@yahoo.com Web site: .
Page 21: Automatic Control By Dr. / Mohamed Ahmed Ebrahim Mohamed E-mail: mohamedahmed_en@yahoo.com Web site: .

From the straight-line plot, this circuit acts as a low-pass filter. At the cutoff frequency, the amplitude of H(jω) is 3 dB less than the amplitude in the passband. From the plot, the cutoff frecuency is predicted approximately as 13 rad/s.

To solve the actual cutoff frequency, follow the procedure as:

max

2

2 2

2 2 2

11 ( )

24( ) 100

( )( ) 4( ) 100

(4 ) 100 1( )

2(100 ) (4 )

16 rad/s

c

cc

c c

c

H H j

jH j

j j

H j

Page 22: Automatic Control By Dr. / Mohamed Ahmed Ebrahim Mohamed E-mail: mohamedahmed_en@yahoo.com Web site: .

ωc

Page 23: Automatic Control By Dr. / Mohamed Ahmed Ebrahim Mohamed E-mail: mohamedahmed_en@yahoo.com Web site: .

From the phase plot, the phase angle at the cutoff frequency is estimated to be -650.

The exact phase angle at the cutoff frequency can be calculated as

2

1 1 2 0

4( 16 25)( 16)

( 16) 4( 16) 100

( 16) tan (16 / 25) tan (64 / (100 16 )) 125

jH j

j j

j

Note the large error in the predicted error. In general, straight-line phase angle plots do not give satisfactory results in the frequency band where the phase angle is changing.

Page 24: Automatic Control By Dr. / Mohamed Ahmed Ebrahim Mohamed E-mail: mohamedahmed_en@yahoo.com Web site: .

Controller

Page 25: Automatic Control By Dr. / Mohamed Ahmed Ebrahim Mohamed E-mail: mohamedahmed_en@yahoo.com Web site: .

Input:

Output: is the normalized amplitude ratio (AR) is the phase angle, response angle (RA)AR and are functions of ωAssume G(s) known and let

tsinA

tAsinˆ

1 2

2 21 2

2

1

arctan

s j G j K K j

G AR K K

KG

K

AA /ˆ

Page 26: Automatic Control By Dr. / Mohamed Ahmed Ebrahim Mohamed E-mail: mohamedahmed_en@yahoo.com Web site: .

Series PID Controller. The simplest version of the series PID controller is

Series PID Controller with a Derivative Filter. The series controller with a derivative filter was described in Chapter 8

τ 1τ 1

τI

c c DI

sG s K s

s

τ 1 τ 1

τ ατ 1I D

c cI D

s sG s K

s s

1( ) (1 )c c D

I

G s K ss

Chap

ter 1

4

Ideal PID Controller.

Page 27: Automatic Control By Dr. / Mohamed Ahmed Ebrahim Mohamed E-mail: mohamedahmed_en@yahoo.com Web site: .

Figure Bode plots of ideal parallel PID controller and series PID controller with derivative filter (α = 1).

Ideal parallel:

Series with Derivative Filter:

10 1 4 12

10 0.4 1cs s

G ss s

12 1 4

10cG s ss

Chap

ter 1

4

Page 28: Automatic Control By Dr. / Mohamed Ahmed Ebrahim Mohamed E-mail: mohamedahmed_en@yahoo.com Web site: .

Advantages of FR Analysis for Controller Design:

1. Applicable to dynamic model of any order (including non-polynomials).

2. Designer can specify desired closed-loop response characteristics.

3. Information on stability and sensitivity/robustness is provided.

Disadvantage:

The approach tends to be iterative and hence time-consuming

-- interactive computer graphics desirable (MATLAB)

Chap

ter 1

4

Page 29: Automatic Control By Dr. / Mohamed Ahmed Ebrahim Mohamed E-mail: mohamedahmed_en@yahoo.com Web site: .

Mohamed Ahmed Ebrahim