Pid Controllers
Pid Controllers
Historical note
Ki
U ( s) K p K d s E (s)
s
• In the time domain:
t de(t )
u (t ) K p e(t ) K i e(t )dt K d
0 dt
proportional gain integral gain derivative gain
PID Controller
Proportional only:
V-
V- Inverting Input Vout
V-
Vout V+
Vout
V+ Non-Inverting Input
V+ -Vcc
Amplifier Gain
• All op-amps can be represented by the
formula: V-
Vout = K (V+ - V-)
Vout
V+
Op-Amp
• Where K is the gain, and is a property of the
individual op-amp
• This gain should be distinguished from the
gain of the op-amp circuit which is generally
denoted by Av
Av = Vout / Vin
dVin ( t )
Vout ( RC)
dt
Integrating Op-Amp
C
Vin
Vin R V-
- 1
dt
Vout RC
R V+ +
Vout
1 t
Vout Vin d
RC 0
PID Controller – System Block Diagram
VSENSOR
Sensor
Adjust Change
Kp RP1, RP2
Ki RI, CI
Kd RD, CD
P PD
PI
PID
PID Controller Functions
• Output feedback
from Proportional action
compare output with set-point
• Anticipation
From Derivative action
react to rapid rate of change before errors grows too big