
























































































Studia grazie alle numerose risorse presenti su Docsity
Guadagna punti aiutando altri studenti oppure acquistali con un piano Premium
Questa pagina non è visibile nell’anteprima
Non perderti parti importanti!

























































































When control is realised as software, as we are assuming, a block corresponds to a discrete-time dynamic system. We will address more in depth some standard ways to turn a controller transfer function into an algorithm, and then learn about the first additional elements to introduce with respect to the said algorithm, in a view to obtaining a model of the block that describes all its functionalities. Modulating controllers are typically designed as transfer functions but need realising as algorithms to update their state and output — that is, in the state space. We know that given a controller transfer function C(z), there are infinite state-space realisations. In this section we are going to discuss some typical ones according to common practice, starting a discussion about their mutual advantages and disadvantages that will become wider in the following, when we come to introduce the anticipated additional (and nonlinear) functionalities.
An algebraic loop occurs when there is a circular dependency between the system's variables without any time delay or dynamic elements, causing a direct, instantaneous relationship between input and output that is difficult or impossible to solve in practical simulations.
No matter which realisation is chosen among those described or any combination thereof, a modulating control block can additionally be realised in “positional” or “incremental” form:
The first “additional functionality” of a modulating block, with respect to the mere transfer function or control law in general, is a proper management of saturation , i.e., of the limits by which any control signalis inevitably constrained by some law of physics. In many cases, referring in particolar to the PI(D) controller, this functionality is also called “ antiwindup ”. Generalising, a control algorithm is divided into two sections: (i) compute the present control output u(k) and (ii) compute the state x(k + 1) that at the following step will be used to get the control output u(k+ 1). We have expressed this in our LTI SISO context by writing the generic controller as: Suppose now that for any reason (in this section we are talking about saturation but in the following it will be clear that there are other cases) u(k) is computed as cx(k) + de(k) and then “altered” somehow, or just not computed as cx(k) + de(k). In such a situation, to guarantee that the block status is consistent with u(k) as determined, x(k) must not be computed with the second equation in (1), but rather by solving the first one for x(k).
is a potential solution for the state computation in saturation conditions: only for a scalar x (thus c) the solution is clearly unique. In the following we briefly describe a couple of possible approaches in the opposite case. Quite reasonably, doing so makes sense only if there is some clue for selecting iNZ. For example, in a real PID controller, that is a second order block, one can have x 1 to be the state of the integral part and x 2 that of the (real) derivative part: since the derivative action is expected to provide a lesser contribution to the control signal than the integral one, it can be sensible to set iNZ = 1. Doing so leads – still in the PI(D) case – to the so called “antiwindup by integral re-computation” technique. The point is that when the control system exits saturation, the controller starts evolving as per its linear behaviour from the last state computed while in saturation. As such, the way the controller is realised, as well as the way the possible under-determination above is managed, influence the transients that the control system undergoes on exiting saturation, and this is potentially critical. We are now discussing the matter by endowing with saturation management the previously presented realisations.
Like the IFB one, the IIR realisation has a natural extension for saturation management.
We mention another type of saturation management (or antiwindup) that is practically exclusive of PI(D) controllers, given the difficulty in tuning the involved parameters that would arise with more complex controller structures. The idea is to obtain a signal called the actuation error as the difference between the computed and the actuated control, and feed this back to the integrator in the controller. This scheme has a major disadvantage but also an important advantage over the others. The former is that it requires to tune the additional parameter Tt, typically called the “ tracking time ”, and it is difficult do devise general rule for that purpose. The latter is that the saturation block could be replaced with a more accurate description of the saturation phenomenon, for example including a dynamic model of the actuator. Along the same line, the actuation error ea(t) could be obtained from an additional controller input used to “read back” the actual signal exerted by the actuator, instead of coming from the output of the saturation block inside the controller. Though not very frequently used, such a technique is at least worth knowing. PI controller with saturation management (antiwindup) by actuation error feedback; the corresponding signal path is evidenced in pale blue.
We start addressing this matter with the MSP realisation type, that – not surprisingly – proves here too the most complicated owing to the freedom it offers as for selecting the base in the controller state space. In fact, denoting the hit saturation value by u, just becomes We finally consider the nonminimum IIR case, where it suffices to add b(k) upstream the saturation block. The IFB case is conversely quite straightforward.
The next functionality we address is called override , and consists of another controller input – o(k) to name it – that takes over the computed control signal (the one coming from the control law uc(k)) when a boolean override function fo that in general depends on o(k) and uc(k), returns true. In principle fo(o(k),uc(k)) can take any form, but in almost the totality of the practically relevant cases it takes either the maximum or the minimum of its two arguments The rationale of such an override is that there is some “primary” control objective (e.g., act on a valve to govern a certain flowrate) and an “overriding” one (e.g., do not allow the pressure upstream the valve to increase beyond a limit value). La funzione di "override" serve per bilanciare due obiettivi di controllo. Uno è "primario" (ad esempio, regolare un flusso attraverso una valvola), mentre l'altro ha priorità più alta (ad esempio, evitare che la pressione superi un valore limite). L'idea è che, in caso di conflitto, l'obiettivo primario venga sacrificato a favore di quello critico o prioritario. A way to achieve the above objective, sticking to the example, is to instate a loop to control the valve upstream pressure, make the pressure limit its set point, and feed the control signal from the flowrate controller to the override input of the pressure controller, setting fo to max. Doing so, if the opening request from the flowrate controller is greater than that from the pressure controller, it will pass through and keep the required flowrate. But if the reverse is true, the valve will obey to the pressure controller and open enough to quench a possible upstream overpressure — of course, giving up (overriding) flowrate control until the corresponding command comes back to be the greater of the two. Needless to say, overriding requires to keep the controller state consistent with its output, be this computed with the control law or taken from the override input;
Once this is realised, it suffices to take the control signal that actually feeds the plant and feed it to the TR input of all the controllers participating into the switching; a logic shall then guarantee that TS is false only for the one controller that has to govern the plant, and true for all the others. As the state of a controller in tracking condition –as opposite to“ auto(matic)”condition , when it controls the plant – is kept consistent with its output (the controller follows the signal without influencing it). When that controller is switched into operation, the entity of the variation of u(k) will just be the physiological one over a control step, and this peculiarity is called “ bumpless transfer ” for obvious reasons (this property ensure the continuity of the control signal without jumps). On the contrary, when a controller transitions from automatic to tracking, its output could well undergo a jump — but this is irrelevant, as that is the moment when the controller disconnects from the plant.In any case, if all controllers mutually track one another following the one that governs the plant, clearly there will be no jump whatsoever. The evident similarity of shows that overriding and tracking have a strong analogy; the difference is that in the tracking case the origin of the signal that can take over u(k) is totally exogenous: it can be for example just the operator, making the tracking functionality a means to realise manual control, as we shall see when talking about a component named “auto-manual station”. We need here an important remark about incremental realisations. If a controller has no integral action, then the mechanism to compute ∆u(k) will be fed only with variations of all the inputs (set point, process variable, bias, track reference and so on). Now, if the set point is modified for such a controller when it is in tracking mode, that set point variation is lost. Care needs taking to avoid such a undesired phenomenon. To end this section, there are cases in which a controller must be forced out of automatic operation, that is into tracking mode. An example is when the inner controller of a cascade structure is set to manual: since this opens both the inner and the outer loop, the outer controller must cease to operate in automatic mode. The typical solution is to force the external controller into tracking mode, and provide as TR for it the controlled variable of the inner loop, so that the outer controller’s output – i.e., the inner controller’s set point – causes the inner loop to see zero error when both loops are set back to automatic mode. The presence of forcing (to which a logic input is devoted) will bere-analysed later on when talking about the auto-manual station component, as the necessity will then arise to decide what to do in the possible presence of conflicting requirement from the controller input to force tracking and the local command to decide automatic or manual.
There are cases in which a control signal must be prevented from increasing or decreasing, while being left free to move in the other direction. A quite intuitive reason for doing so can be equipment protection, but there are more subtle cases. Sticking for this chapter to the way such a functionality is implemented, we immediately observe that in the case of an incremental realisation it suffices to zero the computed increment when this is positive and the increment lock is engaged, or it is negative and the decrement lock is engaged. Two logic inputs are added to the controller block for engaging the locks, and though naming is not completely standard a typical notation for them is F+ and F−, to suggest “freeze plus” and “freeze minus”.