Forum Discussion
Altera_Forum
Honored Contributor
14 years agoi would like to tell you the equation of PI controller that i used:
u(k)=u(k-1) + err(k)*(kp +(ki*ts/2)) + err(k-1) * ( (ki*ts/2) - kp) where: u : is the output of controller. err: error signal that injected to the controller. kp: proportional constant. ki : integral constant. ts : sampling time.