1
Basics of control
Lin ZhongELEC424, Fall 2010
2
How can we set the room temperature at 78°?
Room: the systemTemperature: the state of the system or the process variable
3
Sensor to measure the system state Actuator to change the system state
4
Actuator SensorController
Feedback system
5
Actuator SensorController
Feedback system
Setpoint: r Output: y
Control: u
6
ProcessController
Feedback system (Contd.)
Setpoint: r Output: y
Control: u
7
ProcessController
Feedback system (Contd.)
Setpoint: r
Error: e=r-y
- Output: y
Control: u
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
9
On-off control (Contd.)
e
u On
Off
10
On-off control with hysteresis
e
u On
Off
Reduction in switching frequency
11
Targeted state
Starting state
How is a controller evaluated?
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
13
Targeted state
Starting state
OvershootDifference between peak and the targeted state
14
Targeted state
Starting state
Settling time
time it takes the system to converge to the steady state
15
Targeted state
Starting state
Steady-state error
16
Targeted state
Starting state
In practice
Settling time
17
Proportional control
• u=K×e
ProcessControllerSetpoint: r
Error: e=r-y
- Output: y
Control: u
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°
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
20
Proportion/Integral (PI) control
ProcessControllerSetpoint: r
Error: e=r-y
- Output: y
Control: u
21
PI control
• Smaller Ti Danger of oscillation
22
Proportion/Integral/Derivative (PID) control
ProcessControllerSetpoint: r
Error: e=r-y
- Output: y
Control: u
23
Derivative
• Larger Td Reduced danger of oscillation
• Too large Td Danger of oscillation increases again
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