1. historical control systems: “feedback by design”rohan/teaching/en5001/lectures/1... ·...

10
Prof. Rohan Munasinghe Department of Electronic and Telecommunication Engineering Faculty of Engineering University of Moratuwa 10400 Electronic Control Systems http://www.ent.mrt.ac.lk/~rohan/teaching/EN2142/EN2142.html Ref Book: Classical Control Systems, ISBN 978-81-8487-194-4 1 Contents 1. Historical Control Systems : “Feedback by Design2. Mathematical Modeling of plants/systems Input output relationship as an ordinary differential equation (ODE) 3. Determining the response of the plant/system Poles, theoretical solution (Laplace) Simulation (MatLab) + performance verification 4. Design a feedback control system 5. Frequency domain analysis of Control systems Bode plots (Mag/Phase response) 6. PID: Most famous industrial controller 7. Controller implementation: Analog (OPAmp) 8. Digital Control 1. Digital Redesign (of analog controller) 2. Digital implementation (of analog controller) 2 1. Historical Control Systems: “feedback by design” 250 BC flow regulated water clock Ctesibius, a Greek Inventor Kt A Ft A t V t h = = = ) ( ) ( ) (t h Constant flow rate 3 Self Re-filling mechanism (200BC) Philon, a Greek inventor Oil bath air 4 1. Historical Control Systems:

Upload: others

Post on 24-Jul-2020

0 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: 1. Historical Control Systems: “feedback by design”rohan/teaching/EN5001/Lectures/1... · System Response with Laplace • Transforming back to time domain (3.47), u (t) s L =

Prof. Rohan MunasingheDepartment of Electronic and Telecommunication EngineeringFaculty of EngineeringUniversity of Moratuwa 10400

Electronic Control Systemshttp://www.ent.mrt.ac.lk/~rohan/teaching/EN2142/EN2142.html

Ref Book: Classical Control Systems, ISBN 978-81-8487-194-4

1

Contents

1. Historical Control Systems : “Feedback by Design”

2. Mathematical Modeling of plants/systems

� Input output relationship as an ordinary differential equation (ODE)

3. Determining the response of the plant/system

� Poles, theoretical solution (Laplace)

� Simulation (MatLab) + performance verification

4. Design a feedback control system

5. Frequency domain analysis of Control systems

� Bode plots (Mag/Phase response)

6. PID: Most famous industrial controller

7. Controller implementation: Analog (OPAmp)

8. Digital Control

1. Digital Redesign (of analog controller)

2. Digital implementation (of analog controller) 2

1. Historical Control Systems: “feedback by design”

• 250 BC flow regulated water clock

– Ctesibius, a Greek Inventor

KtA

Ft

A

tVth ===

)()(

)(th

Constant flow rate

3

• Self Re-filling mechanism (200BC)

– Philon, a Greek inventor

Oil bath

air

4

1. Historical Control Systems:

Page 2: 1. Historical Control Systems: “feedback by design”rohan/teaching/EN5001/Lectures/1... · System Response with Laplace • Transforming back to time domain (3.47), u (t) s L =

• Weight Regulated Liquid Filling Device(1st Century AD)

Pivot Joint

Pivot Joint

valve

Empty

Full

Full

Empty

Close (default) Position

Open Position

5

1. Historical Control Systems:

• Flyball Governor (James Watt 1788)

Steam Engine

Steam

Generator

The first crude governors

were working reasonably

well. However, precisely

machined governors showed

unstable pressure oscillations

in the steam generators.

WHY?

Engine RPM

6

1. Historical Control Systems:

Prof. Rohan MunasingheDepartment of Electronic and Telecommunication EngineeringFaculty of EngineeringUniversity of Moratuwa 10400

2. Mathematical Modeling of Plant/System

7

Plant Model: Mechanical System• Shock absorber

• Spring resists displacement (reactive force is prop to displacement)

• Damper resists speed (reactive force is proportional to speed)

Second order model

(2.1)

Free body diagram

dam

per

spring

(2.2)8

Page 3: 1. Historical Control Systems: “feedback by design”rohan/teaching/EN5001/Lectures/1... · System Response with Laplace • Transforming back to time domain (3.47), u (t) s L =

Plant Model: Electrical System

• RC Circuit

First order model

9

What have we learned so far?

• System models are ordinary differential equations (ODEs).

• System complexity is represented by the model order

• The response (output) of the plant can be obtained by

solving the model ODE for a given forcing function (input)

• Laplace transforms can be used to solve ODEs efficiently

Plant Model: Electrical System

(2.3)

10

Laplace Transforms

11

System Response with Laplace

• RC Circuit Model– When transformed into Laplace domain L{ } - forward transformation

• Response (Method 1: Partial Fraction)– When transformed back to time domain L-1{ } - inverse transformation

(2.3)

(3.47)

For DC Voltage

Partial fraction

(3.49)

12

Page 4: 1. Historical Control Systems: “feedback by design”rohan/teaching/EN5001/Lectures/1... · System Response with Laplace • Transforming back to time domain (3.47), u (t) s L =

System Response with Laplace

• Transforming back to time domain

(3.47),

(t)us

L s=

− 11

ate

asL

−−=

+

11

(3.50)

Homogeneous Response Exogenous Response13

Response (Method 2: Convolution Integral)

Matl

ab

Sim

ula

tio

n:

RC

Cir

cu

it

14

Matl

ab

Sim

ula

tio

n:

Ste

p R

esp

on

se

15

Observations and Conclusions

• Homogeneous response (Initial condition response) dies

out leaving no remaining response in the long run. The

time period where this response lasts is known as

transient response.

• Exogenous response is what remains in the long run after

transient time. This response finally remains as the steady

state response.

• In order to understand the input output relationship,

homogeneous response has to be removed.

16

Page 5: 1. Historical Control Systems: “feedback by design”rohan/teaching/EN5001/Lectures/1... · System Response with Laplace • Transforming back to time domain (3.47), u (t) s L =

System Response with Laplace

• Mechanical System Response

Where

• Transforming into Laplace domain

• There exist three different responses based on the

determinant of the denominator polynomial (characteristic

equation)

(2.2)

(3.51)

)(414)2(22

ρσρσ −=××−17

System Response: Partial Fractions

• Case 1:

where negative, real, distinct poles

Case 1: Partial Fractioning

where

(3.52)

initial conditions

and system parameterssystem parameters

Poles are determined by the system parameters

18

Using coverup method (see Appendix)

System Response: Partial Fractions

• Transforming back to time domain

Decay with time ‘cos ∝1∝2 are -veSteady-state

response

Transient response

19

System Response: Convolution Integral

• Case 1: Convolution Integral Method

where

(3.55),

20

Page 6: 1. Historical Control Systems: “feedback by design”rohan/teaching/EN5001/Lectures/1... · System Response with Laplace • Transforming back to time domain (3.47), u (t) s L =

System Response with Laplace• Transforming back to time domain

• For

Steady-state response Transient response

21

Steady State and Transient Responses

• Transient response

– Decaying response

– Depends both on Initial conditions and external forcing function

• Steady State Response

– The sustainable response

– Depends on external forcing function

22

Simulation:Case 1: Over Damped Shock-Absorber• System parameters

– Strong damper

– Speed is severely resisted

• Then, from (3.51)

• Consequently, the two system poles are

-ve real distinct poles

23

m=50 kg

η=0.02

Matlab Code

24

Page 7: 1. Historical Control Systems: “feedback by design”rohan/teaching/EN5001/Lectures/1... · System Response with Laplace • Transforming back to time domain (3.47), u (t) s L =

Matlab Code

25 Sim

ula

tio

n:

Over

Dam

ped

26

System Response

• Case 2:

(3.52) →

where

→ Real, -ve coincident poles

dam

per

spring

(3.61)

IC and System System

27

System Response: Case 2 Critical Damping

For

d()/ds1/s

s

Response

28

Page 8: 1. Historical Control Systems: “feedback by design”rohan/teaching/EN5001/Lectures/1... · System Response with Laplace • Transforming back to time domain (3.47), u (t) s L =

Simulation: Case 2 Critical Damping

Adjust (increase) spring

constant to achieve critical

damping

Poles

Deflection at steady state

m

bk

2

2

=

721 −== αα

29

earlier

MatLabSimulation

Critical Damping

• Fast response

• No overshoots

• Most energy

efficient

30

Response Comparison

• Over damped

response is BIGand slow

• Critically damped

response is small

and FAST

31

Response: Case 3 Under Damped

• Case 3:

• System poles

• Response

Weaker damper

Complex Conjugate

pair of poles

(3.52),

32

Page 9: 1. Historical Control Systems: “feedback by design”rohan/teaching/EN5001/Lectures/1... · System Response with Laplace • Transforming back to time domain (3.47), u (t) s L =

but s => (s+σ) exponential scaling

tet

ωσ

sin−

but s => (s+σ) exponential scaling tet

ωσ

cos−

33

Response: Case 3 Under Damped Response : Case 3 Under Damped

• Decaying sinusoidal indicates an oscillation, which is a

result of weaker damper to resist the speed

Steady state response

Case 1

Case 2

Case 334

Refer Appendix

for derivation

Under Damped Response

• Poles

• Oscillatory due to

dominant spring

action

• Oscillation decays.

Response is stable

35

Oscillatory Response

36

Page 10: 1. Historical Control Systems: “feedback by design”rohan/teaching/EN5001/Lectures/1... · System Response with Laplace • Transforming back to time domain (3.47), u (t) s L =

Response Comparison• Critical damped and

under damped responses are generally better than over damped response

• Overshoot is generally unacceptable in motion control systems (robots), however, some overshoot is acceptable in process control systems (temperature, pressure)

• Under damped response is the fastest in reaching the level

37

Po

les a

nd

Resp

on

se Over

damped

Critically

damped

Under

damped

38