Operation
Contenido
Para el correcto funcionamiento de un controlador PID que regule un proceso o sistema se necesita, al menos:.
El sensor proporciona una señal analógica o digital al controlador, la cual representa el punto actual en el que se encuentra el proceso o sistema. La señal puede representar ese valor en tensión eléctrica, intensidad de corriente eléctrica o frecuencia. En este último caso la señal es de corriente alterna, a diferencia de los dos anteriores, que también pueden ser con corriente continua.
El controlador recibe una señal externa que representa el valor que se desea alcanzar. Esta señal recibe el nombre de punto de consigna (o punto de referencia, valor deseado o setpoint), la cual es de la misma naturaleza y tiene el mismo rango de valores que la señal que proporciona el sensor. Para hacer posible esta compatibilidad y que, a su vez, la señal pueda ser entendida por un humano, habrá que establecer algún tipo de interfaz (HMI-Human Machine Interface), son pantallas de gran valor visual y fácil manejo que se usan para hacer más intuitivo el control de un proceso.
El controlador resta la señal de punto actual a la señal de punto de consigna, obteniendo así la señal de error, que determina en cada instante la diferencia que hay entre el valor deseado (consigna) y el valor medido. La señal de error es utilizada por cada uno de los 3 componentes del controlador PID. Las 3 señales sumadas, componen la señal de salida que el controlador va a utilizar para gobernar al actuador. La señal resultante de la suma de estas tres se llama variable manipulada y no se aplica directamente sobre el actuador, sino que debe ser transformada para ser compatible con el actuador utilizado.
Las tres componentes de un controlador PID son: parte Proporcional, acción Integral y acción Derivativa. El peso de la influencia que cada una de estas partes tiene en la suma final viene dado por la constante proporcional, el tiempo integral y el tiempo derivativo, respectivamente.
Se pretenderá lograr que el bucle de control corrija eficazmente y en el mínimo tiempo posible los efectos de las perturbaciones.
Proportional
The proportional part consists of the product between the error signal and the proportional constant to make the steady-state error approach zero, but in most cases, these values will only be optimal in a certain portion of the total control range, with the optimal values being different for each portion of the range. However, there is also a limit value "in the proportional constant beyond which, in some cases, the system reaches values higher than desired. This phenomenon is called overoscillation") and, for safety reasons, it should not exceed 30%, although it is advisable that the proportional part does not even produce overoscillation.
There is a continuous linear relationship between the value of the controlled variable and the position of the final control element (the valve moves to the same value per unit of deviation).
The proportional part does not consider time, therefore, the best way to solve the permanent error") and make the system contain some component that takes into account the variation with respect to time, is by including and configuring the integral and derivative actions.
The proportional formula is given by:.
Where:.
is the proportional gain, tuning value.
is the error (SP is the set point, and PV(t) is the process variable).
It is the time or instantaneous time (the current one).
The error, the proportional band and the initial position of the final control element are expressed as one. It will indicate the position that the final control element will occupy.
Example: Change the position of a valve (final control element) proportionally to the deviation of the temperature (variable) with respect to the set point (desired value).
Comprehensive
The purpose of the Integral control mode is to reduce and eliminate the error in steady state, caused by external disturbances and which cannot be corrected by proportional control.
Integral control acts when there is a deviation between the variable and the set point, integrating this deviation over time and adding it to the proportional action.
The error is integrated, which has the function of averaging or adding it for a given period; It is then multiplied by a constant Ki. Subsequently, the integral response is added to the Proportional mode to form the P + I control with the purpose of obtaining a stable response of the system without stationary error.
The integral mode presents a lag in the response of 90° which, added to the 180° of feedback (negative), brings the process closer to having a delay of 270°, then it will only be necessary for the dead time to contribute with 90° of delay to cause the oscillation of the process. <<< the total gain of the control loop must be less than 1, and thus induce an attenuation in the controller output to lead the process to stability. >>>
It is characterized by the integral action time in minutes per repetition. It is the time in which, in front of a step signal, the final control element repeats the same movement corresponding to the proportional action.
Integral control is used to avoid the drawback of the offset (permanent deviation of the variable with respect to the set point) of the proportional band.
The integral formula is given by:.
Where:.
is the integral gain, a tuning parameter.
is the integration variable (takes into account the value from instant 0 to the current instant).
Example: Move the valve (final control element) at a speed proportional to the deviation from the set point (desired variable).
Derivative
The derivative action is proportional to the speed of change of the error, that is, it takes into account the inertia of the measured variable. This gives the derivative action a forward-looking nature, allowing the error to oscillate and providing the controller with the ability to adapt to unforeseen changes in the characteristics of the system (for example, changes in ambient temperature or the material worked on in a temperature controller).
Derivative action manifests itself when there is a change in the absolute value of the error; (if the error is constant, only the proportional and integral modes act).
The error is derived with respect to time and multiplied by a constant Kd and then added to the previous signals (P+I).
The derivative formula is given by:.
Where:.
is the derivative gain, a tuning parameter.
It is time or instantaneous time (the present).
Derivative control is characterized by the derivative action time in minutes of advance.
Derivative action is appropriate when there is a delay between the moment of the corrective action and its impact on the controlled variable.
When the derivative action time is large, there is instability in the process.
When the derivative action time is small, the variable oscillates too much in relation to the set point.
It is usually rarely used due to its sensitivity to noise and the complications that this entails.
The optimal time of derivative action is the one that returns the variable to the set point with the minimum oscillations.
Example: Corrects the position of the valve (final control element) proportionally to the speed of change of the controlled variable.
The derived action can help reduce the overshoot of the variable during the start of the process. It can be used in systems with considerable delay times, because it allows a rapid impact of the variable after a disturbance occurs in the process.