24
Basics of control Lin Zhong ELEC424, Fall 2010 1

Basics of control Lin Zhong ELEC424, Fall 2010 1

Embed Size (px)

Citation preview

Page 1: Basics of control Lin Zhong ELEC424, Fall 2010 1

1

Basics of control

Lin ZhongELEC424, Fall 2010

Page 2: Basics of control Lin Zhong ELEC424, Fall 2010 1

2

How can we set the room temperature at 78°?

Room: the systemTemperature: the state of the system or the process variable

Page 3: Basics of control Lin Zhong ELEC424, Fall 2010 1

3

Sensor to measure the system state Actuator to change the system state

Page 4: Basics of control Lin Zhong ELEC424, Fall 2010 1

4

Actuator SensorController

Feedback system

Page 5: Basics of control Lin Zhong ELEC424, Fall 2010 1

5

Actuator SensorController

Feedback system

Setpoint: r Output: y

Control: u

Page 6: Basics of control Lin Zhong ELEC424, Fall 2010 1

6

ProcessController

Feedback system (Contd.)

Setpoint: r Output: y

Control: u

Page 7: Basics of control Lin Zhong ELEC424, Fall 2010 1

7

ProcessController

Feedback system (Contd.)

Setpoint: r

Error: e=r-y

- Output: y

Control: u

Page 8: Basics of control Lin Zhong ELEC424, Fall 2010 1

8

On-off control

• If e>0, u=1 (On); if (e<=0), u=0 (Off)

ProcessControllerSetpoint: r

Error: e=r-y

- Output: y

Control: u

Page 9: Basics of control Lin Zhong ELEC424, Fall 2010 1

9

On-off control (Contd.)

e

u On

Off

Page 10: Basics of control Lin Zhong ELEC424, Fall 2010 1

10

On-off control with hysteresis

e

u On

Off

Reduction in switching frequency

Page 11: Basics of control Lin Zhong ELEC424, Fall 2010 1

11

Targeted state

Starting state

How is a controller evaluated?

Page 12: Basics of control Lin Zhong ELEC424, Fall 2010 1

12

Targeted state

Starting state

Rise time

10%

Time for the state to rise to within 10% of the desired level for the first time

Page 13: Basics of control Lin Zhong ELEC424, Fall 2010 1

13

Targeted state

Starting state

OvershootDifference between peak and the targeted state

Page 14: Basics of control Lin Zhong ELEC424, Fall 2010 1

14

Targeted state

Starting state

Settling time

time it takes the system to converge to the steady state

Page 15: Basics of control Lin Zhong ELEC424, Fall 2010 1

15

Targeted state

Starting state

Steady-state error

Page 16: Basics of control Lin Zhong ELEC424, Fall 2010 1

16

Targeted state

Starting state

In practice

Settling time

Page 17: Basics of control Lin Zhong ELEC424, Fall 2010 1

17

Proportional control

• u=K×e

ProcessControllerSetpoint: r

Error: e=r-y

- Output: y

Control: u

Page 18: Basics of control Lin Zhong ELEC424, Fall 2010 1

18

Proportional control

• u=K×e

ProcessControllerSetpoint: r

Error: e=r-y

- Output: y

Control: u

Heat dissipated at (100 Joules/s)

Heat generated at 10*e (Joules/s)

Steady-state error: 10°

Page 19: Basics of control Lin Zhong ELEC424, Fall 2010 1

19

Proportional control

• Larger K Smaller steady-state error• Longer settling time• Danger of oscillation

http://www.cds.caltech.edu/~murray/courses/cds101/fa02/caltech/astrom.html

Page 20: Basics of control Lin Zhong ELEC424, Fall 2010 1

20

Proportion/Integral (PI) control

ProcessControllerSetpoint: r

Error: e=r-y

- Output: y

Control: u

Page 21: Basics of control Lin Zhong ELEC424, Fall 2010 1

21

PI control

• Smaller Ti Danger of oscillation

Page 22: Basics of control Lin Zhong ELEC424, Fall 2010 1

22

Proportion/Integral/Derivative (PID) control

ProcessControllerSetpoint: r

Error: e=r-y

- Output: y

Control: u

Page 23: Basics of control Lin Zhong ELEC424, Fall 2010 1

23

Derivative

• Larger Td Reduced danger of oscillation

• Too large Td Danger of oscillation increases again

Page 24: Basics of control Lin Zhong ELEC424, Fall 2010 1

24

PID control

• Developed early 20th century– Nicolas Minorsky (1922): automatic steering

system for US Navy

• Extremely widely used– 97% of regulatory controllers in refining, chemical,

and pulp & paper industries• Very often PI control is used