PID Handout 2014
PID Handout 2014
For first and second order systems, we can design PI, PD and PID controllers by imposing a
reference transfer function to the closed loop system:
Yc (s)
E(s)
K(s)
U(s)
G(s)
Y(s)
(1)
(2)
(3)
!(!)
!(!)(1 !(!))
(4)
Assume that the desired closed loop is a first order system with a time constant !! :
! ! =
1
1 + !! !
PI Controller
If the Plant (G(s)) is a first order system with the gain ! and time constant !:
! ! =
!
1 + !"
(5)
! ! =
1
1 + !! !
!
1
(1
)
1 + !"
1 + !! !
!" + 1
!
1
=
(1 + )
!!! !
!!!
!"
!
!!!
!! = !
PD Controller
We can consider then a second order system with an integrator term:
! ! =
!
!(1 + !")
In order to have a first order system as the closed loop, the controller is:
! ! =
1
(1 + !")
!!!
1
!!!
!! = !
PID controller
Finally, we can consider a second order system with two poles:
! ! =
!
(1 + !! !)(1 + !! !)
!! + !!
1
!! !!
(1 +
+
!)
!!!
!! + !! ! !! + !!
!! + !!
!!!
!! = !! + !!
!! =
!! !!
!! + !!
PID$controller$could$be$represented$with$a$parallel$structure:$
$
PID$transfer$function:$! ! = !! +
$
Or$with$a$serial$structure:$
!!
!
$
+ !! !$
!!
!!
PID$transfer$function:$! ! = !! (1 + ! ! + !! ! +
$
)$
The$serial$PID$can$be$translated$to$a$parallel$structure$by$transforming$the$gains:$
$
!! + !!
!!! = !!
$
!!
!!! =$!! + !! $
!!! = !
!! !!
$
!! + !!