Basics of PID Controlers
Basics of PID Controlers
1
g ( x )=
f (x)
g ( p )=0
U (s )
In a transfer function of type H ( s )= . The poles will be:
Y (s )
Y ( p )=0
R ( p ) <0
Note: τ is the convergence speed of a 1 st order system, ω n is the natural frequency of a 2 nd order system
and ξ is the dampening factor.
System stability:
Stable: R ( p D ) <0
Unstable: R ( p D ) >0
Dampening factors:
Undampened: ξ=0
Underdamped: ξ <1
PID tuning
Manual tuning
To determine the optimal settings of a PID controller, one may look at the PID gains for clues:
Ziegler-Nichols method
Heuristic method to determine optimal settings for PID controllers. The procedure is as follows:
0. Observe the response to a step change and note down:
a. Time constant
b. Delay
c. Steady-state behaviour
1. Increase the proportional gain (Kp) until steady oscillation at constant amplitude. Note down:
a. the proportional gain at this point, called the ultimate gain (Ku)
b. the oscillation period at this point, called the ultimate period (Pu)
2. Calculate the gains for the PDI controller:
K p=0.6 K u
2Kp
K i=
Pu
K p Pu
Kd=
8
3. Set the values of the PDI to those determined in step 2, test the performance and adjust if needed.
Step 0 has no importance for the procedure but may be useful to have.
Lowpass filter
Integral anti-windup