1 / 71

PID controller Algorithms

PID controller Algorithms. Basic control algorithm. Control action to make correction to the error. Reference input to maintain at a desired steady state. This algorithm is known as a proportional control law . It is used to compensate for disturbances or changes which occur only

komala
Download Presentation

PID controller Algorithms

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. PID controller Algorithms

  2. Basic control algorithm Control action to make correction to the error Reference input to maintain at a desired steady state

  3. This algorithm is known as a proportional control law. It is used to compensate for disturbances or changes which occur only in a short time period and eventually will disappear.

  4. When transient disturbance occurs Load GL(s) mr Disturbance d + + Gp m y Kc ( yd – y )

  5. When disturbance disappears and system backs to normal Load = 0 GL(s) mr d = 0 + + Gp m = mr y = yd Kc ( yd – y ) = 0

  6. When constant disturbance occurs Load = ? GL(s) mr d = d dmr + + Gp m = mr+ dmr y = yd We need to add this amount to maintain y at the same yd

  7. The original control law should be changed to: + dmr New mr In other words, we have to reset the reference input to maintain the steady state

  8. But, how could we update mr automatically?

  9. The control law with updating becomes: Notice that the reference input is now floating!

  10. The same situation happens when yd is changed. The control law after resetting the reference input remains the same proportional form, that is: This reference input has been updated with the integral mode.

  11. This shows that the proportional part is always the fundamental correcting action in a control algorithm. And, the reference input has to be updated (or, reset) from time to time.

  12. This above control algorithm is known As Proportional plus integral control law. The updating of mr is performed in a way of trial-and-error. That is, as long as error exists, the updating continues. The sensitivity of this trial-and-error is controlled by a weight constant, .

  13. The only case where the updating stops is when y equals yd, the integration term stops changing and holds constant. This conceptually tells that if PI control algorithm is used, if the system can lead to a steady state, the steady state should stop at y=yd.

  14. Now, suppose the error has an obvious trend which we need to take into account, the control law can look forward to use the predicted output y, that is . The control algorithm thus becomes:

  15. Thus, the control algorithm to take into Account the trend of error becomes: This above control algorithm is known As a proportional-Integral-Derivative control law, abbr. as PID law.

  16. Subtract the second equation from the first one to give the control algorithm in terms of deviation variables:

  17. Transfer function of the conventional PID controller:

  18. The implementation issues • Scaling the variable • Calibration of the parameters in the control algorithm • Realization of derivative mode • Realization forms for PID controller • Prevent from over charged with integral mode • Prevent from bumping in manual-to-auto transfer • Prevent from kicks in proportional and derivative modes

  19. Implementation issues --- scaling the variables

  20. The value KC is calibrated under pure P-control, where, Yd=0 (yd is constant), that is: Thus, when Kc equals one means: 1% change in [PV] will result in 1% change change of [CO] To have 100% change in [CO], we need A 100% change of [PV] Proportional Band =100%

  21. Similarly, when we say a proportional band equals 50, we means: To have a 100% change of [CO], we need only a 50% change of [PV]

  22. How Integral time is calibrated? The integral time is calibrated when P and I control modes are active, that is:

  23. The integral time is defined as the time it takes for the integration mode to repeat the p-output.

  24. Mr is constant without updating Mr is updated with the integral mode

  25. t E(t) P+D tD M(t) P The derivative time is the time that PD- output leads P-output

  26. Realization of a controller means to Implement the algorithm by means of analog devices, such as integrators, R-C- L circuits, etc. What computations can be realized? ---- summation, multiplication with constant gain. What computations cannot be realized? ---- differentiation.

  27. A general rule to justify if a transfer function can be realized is to examine if the transfer function satisfies:

  28. How differentiation is implemented using those realizable elements? Computations to be implemented--- summation, gain, and a 1st-order transfer function:

  29. Thus, the PID control law is implemented As: This PID controllers consists of parallel computations of P, I, and D modes, and is referred as the parallel algorithm.

  30. The above parallel form can be rearranged To become: This form is known as PD-I algorithm.

  31. Because of practical implementation with pneumatic elements, the P,I, and D modes are also arranged into another equivalent form: Which is known as a cascade (or, series) form, i.e. PI-PD algorithm.

  32. As has been mentioned, the derivative mode should only be implemented with approximation, that is: Or, This is known as one of the practical Implementation.

  33. The conversion from the parallel form to the series form: It is obvious that the conversion is true only for:

  34. The conversion from series from to the Parallel form: Notice that each series form has an equivalent Parallel form.

  35. Notice that: Thus, apply PID setting of the parallel algorithm to the series algorithm will result in too aggressive a controller setting----- This mistake is very easily committed with carelessness.

  36. Prevention from derivative kicks Derivative kick

  37. Prevention from derivative kicks or

  38. Prevention from proportional kick Proportional kick

  39. Prevention from proportional kick

  40. A general modified controller:

  41. Derivative & Proportional on PV Derivative-on-PV

  42. Reset windup What is reset windup? The controller over integrates to exceed 100% of output and needs integration in the reverse direction to bring it back .

  43. When it occurs? Transportation lag exists in the mani- pulation input. Controller output is over-ridded by the other controller and is suspended.

  44. Disturbance enters at here T starts to drop due to Ti drops Controllers starts to react, but T still keeps dropping due to time lag Integration over does ------- reset windup

  45. Low signal selector Override Control

More Related