Non-Idealities in a Control Loop
In questa pagina 7
Real control loops differ from the ideal feedback scheme of The Feedback Control Scheme and RequirementsThe basic control scheme feeds the plant G(s) with the output of a controller C(s) acting on the tracking error e = r - y, giving the closed-loop transfer function W(s) = C(s)G(s) / (1 + C(s)G(s)); the requirement y close to r splits into steady-state conditions (small error for some references, disturbances, model uncertainty) and transient conditions on rise time, settling time and overshoot, which become a region of the complex plane where the poles of W(s) must lie.The Feedback Control Scheme and Requirements →. This note collects the basic non-idealities of sensors and actuators, time delays, disturbances and uncertainties, with a simple model and the control implications of each. A complete worked example (temperature of a heated-air tube) is in Case Study - Temperature Control of a Heated-Air Tubemodeling of an air-temperature control rig, deriving a first-order model with transport delay from a heat balance, then the PWM heater driver, the thermocouple and its 12-bit converter, and the resulting digital control loop.Case Study - Temperature Control of a Heated-Air Tube →.
1. The loop with non-idealities
Disturbances d
|
v
r --> [Controller C] --u--> [Actuator] --> [Process] --+--> y
^ \_______ Plant (P) _______/ |
| |
+-- y_m <---- [Sensor H] <---------------------+
^
|
Measurement noise (errors) nTypical non-idealities:
- sensors with finite bandwidth and limited accuracy/precision;
- actuators with finite bandwidth and output limits;
- time delays around the loop;
- plant uncertainties and disturbances.
2. Sensor non-idealities
Ideal sensor and sensitivity
An ideal sensor is a pure gain:
The sensitivity (sensor gain) is the ratio of the change in the output signal to the change in the physical quantity being measured:
has measurement units, and getting them right is critical for loop calculations. Examples from the slides: for an analog tachometer, for a temperature sensor.
Accuracy and precision
- Accuracy: closeness to the true value.
- Precision (repeatability): closeness between repeated measurements.
The slides illustrate the four cases with a target:
Low accuracy High accuracy
Low precision scattered, off-centre scattered around the centre
High precision tight cluster off-centre tight cluster at the centre- Low accuracy appears as a constant offset (bias) superimposed on the true value.
- Low precision appears as a random uncertainty (noise) superimposed on the true value.
Model of a sensor with bias and noise :
Control implications:
- Accuracy affects steady-state performance: the sensor bias can cause a steady-state control error.
- Precision affects the variability of the control effort: the sensor noise recirculates in the control loop and may increase control activity.
Resolution and quantization
Resolution is the smallest detectable change in the measured variable. The sensor output can take only discrete values (output quantization), producing a "staircase effect" (examples: optical encoders, A/D converters).
Uniform quantization with quantization step :
The staircase has levels and the steps are centred on those levels, so the transitions occur at , , , and so on.
Model of a sensor with quantization: the gain followed by the block , which is nonlinear. Control implications:
- steady-state oscillations (limit cycles);
- jitter around the steady-state value of the output;
- increased actuator activity (chattering).
Linear statistical model. The nonlinear quantizer can be replaced by a uniformly distributed noise added after the gain :
Limited sensor bandwidth
A sensor cannot react instantly to infinitely fast changes of the measured quantity. This comes from the intrinsic low-pass dynamics of the sensing principle and/or from intentional low-pass filtering in signal-conditioning filters. First-order model, in series with the gain :
Control implications:
- it attenuates high-frequency noise, but limits the achievable closed-loop bandwidth;
- it adds phase lag that erodes the phase margin of the feedback loop, causing larger overshoot (a less damped system) or even instability.
3. Actuator non-idealities
Saturation
The actuator output can vary only within a range and cannot exceed its physical limits:
(The slide prints in the third case; it is evidently .) Control implications:
- the nonlinear behaviour may lead to limit cycles or unexpected oscillations, especially for large command variations;
- command saturation during transients may cause integrator windup (if the controller has integral action), resulting in large overshoot, long recovery times and possible stability degradation.
Limited actuator bandwidth
Actuators cannot change state instantly, because of the intrinsic low-pass dynamics of the actuation principle (the slide says "can change state instantly", evidently a misprint for "cannot"). First-order model producing the band-limited command :
Control implications:
- additional phase lag, reducing the phase margin of the feedback loop;
- the achievable closed-loop bandwidth is limited by the actuator bandwidth, which constrains the maximum speed of response;
- neglecting actuator dynamics in the design may cause oscillations or degraded performance.
4. Time delays
Time delays are caused by the finite propagation speed of matter, energy or information in a control loop:
- in industrial plants, material transport along conveyor belts or pipelines takes time: delay in the plant;
- in remote satellite control, time is needed to transmit and receive data: delay in the actuator and/or sensor;
- in any digital control system, time is needed to compute the new control command: delay in the controller.
Model
A delay gives . By the time-translation property of the Laplace transform, , so
This is a non-rational transfer function.
Pade approximation
A rational approximation of is obtained with Pade approximants. The approximant of order is
Typical approximants:
The order determines the accuracy of the approximation. The slides show the unit step response of the delay for Pade approximants of order , , and : the response starts away from zero, oscillates, and rises to 1 around ; the higher the order, the sharper the transition near .
Frequency response
For : , hence
The magnitude is constant (0 dB) and the phase decreases linearly with . The slide plot, for , shows the phase going from 0 to about and beyond over to rad/s.
Control implications:
- the delay adds phase lag, increasing linearly with frequency;
- the phase margin is reduced, lowering the overall robustness;
- even a stable system may become unstable for sufficiently large delays.
5. Disturbances
- Load disturbance : acts at the plant input. Usually at low frequency; it is rejected via high controller gain (integral action).
- Measurement disturbance (noise, error) : typically acts at the sensor output. Usually at high frequency; it requires low controller gain to avoid amplification.
Control implications:
- perfect rejection of both load disturbances and measurement noise at the same frequencies is impossible;
- control design is inherently a trade-off between disturbance rejection and noise sensitivity.
6. Parameter and model uncertainties
The real plant is never exactly equal to the nominal model, because of:
- parameter variations (temperature, aging, wear, and so on);
- unmodeled or neglected high-frequency dynamics;
- simplifications in modeling.
Two descriptions:
Control implications:
- closed-loop performance differs from the predictions based on the nominal model;
- stability margins are reduced if the variations increase loop gain or phase lag;
- high-gain controllers are more sensitive to modeling errors;
- robust control design aims to guarantee stability and acceptable performance despite uncertainty.
7. Conclusions
Real-world non-idealities affect performance through:
- nonlinearities: actuator saturation, sensor quantization;
- dynamics: limited sensor/actuator bandwidths, time delays;
- disturbances: load disturbance, measurement noise;
- uncertainties: parameter variations, model uncertainties.
All of them ultimately impact stability margins, bandwidth, performance and robustness. The numerical simulation of noise and quantization is the subject of Numerical Lab - Simulation with Noise and QuantizationNumerical lab session on a sampled-data speed controller for a DC motor: discrete-time derivative filters compared on Bode plots and on a noisy ramp, then a P and a PI speed loop simulated first with the Control System Toolbox and then in Simulink with DAC and encoder quantization and actuator saturation.Numerical Lab - Simulation with Noise and Quantization →, and the effect of sampling and computation delay in digital loops is treated in Digital Control SystemsA digital control system replaces the analog controller with a processing unit interfaced to the plant through an A/D converter (sampling plus quantization) and a D/A converter (zero-order hold), and neglecting quantization it becomes a sampled-data system that can be designed by emulation or directly in discrete time.Digital Control Systems →. For the frequency-domain meaning of phase margin see Frequency Response of BIBO Stable SystemsFor a BIBO stable system W(s) driven by a sinusoid of angular frequency w, the output converges to a sinusoid of the same frequency whose amplitude is multiplied by |W(jw)| and whose phase is shifted by the angle of W(jw); the result extends to cosines and to sums of sinusoids.Frequency Response of BIBO Stable Systems → and Stability of Dynamical SystemsFor an LTI system the response to a perturbation of an equilibrium does not depend on the equilibrium or on the perturbation amplitude, so stability reduces to the free evolution being bounded (stable) or vanishing (asymptotically stable), decided by the roots of the characteristic polynomial, and is related to BIBO stability.Stability of Dynamical Systems →.
Versione ripasso
Sensor
- Ideal: , at the operating point (has units, e.g. , ).
- Accuracy = closeness to truth (low accuracy = bias , causes steady-state error). Precision = repeatability (low precision = noise , raises control effort variability). .
- Quantization for : nonlinear, gives limit cycles, jitter, chattering. Linear statistical model: , .
- Limited bandwidth : filters HF noise but limits closed-loop bandwidth and erodes phase margin.
Actuator
- Saturation between and : limit cycles, integrator windup (large overshoot, long recovery).
- Limited bandwidth : phase lag, lower phase margin, closed-loop bandwidth bounded by actuator bandwidth.
Time delay :
- , non-rational; , (phase lag grows linearly, margin reduced, can destabilise).
- Pade : , .
- : ; : ; : .
Disturbances: load disturbance (low frequency, rejected by high gain/integral action); measurement noise (high frequency, needs low gain). Trade-off: both cannot be rejected at the same frequencies.
Uncertainties: with ; multiplicative . Nominal predictions fail, margins shrink, high gain is more sensitive; robust design needed.
Overall: nonlinearities (saturation, quantization), dynamics (bandwidths, delays), disturbances, uncertainties all hit stability margins, bandwidth, performance and robustness.
Ritardo, risposta in frequenza: , quindi (0 dB) e la fase scende linearmente con . Per s la fase arriva a circa entro rad/s. Un sistema stabile può diventare instabile con ritardi grandi.
Pade: per ; per . L'ordine più alto è più accurato: a , , , la risposta al gradino si avvicina al ritardo ideale con transizione più netta attorno a .
Quantizzazione: la forma lineare sostituisce il quantizzatore con un rumore uniforme sommato dopo , con .
Disturbi: di carico , a bassa frequenza, si respinge con alto guadagno (azione integrale); di misura , ad alta frequenza, richiede basso guadagno. Nessuno dei due si elimina completamente alle stesse frequenze: il progetto è un compromesso.
Errori tipici:
- Confondere accuratezza (bias, errore a regime) con precisione (rumore, variabilità del controllo).
- Dimenticare che ha unità di misura e usarlo come numero puro nei calcoli di anello.
- Considerare la quantizzazione un effetto trascurabile: produce oscillazioni persistenti (limit cycle).
- Usare la forma di Pade per ritardi grandi e aspettarsi la stessa precisione della .
Teoria collegata
- Case Study - Temperature Control of a Heated-Air Tube
- Numerical Lab - Simulation with Noise and Quantization
- Analog-to-Digital Conversion
- Electrical Measurements - Voltmeter and Multimeter
- Embedded Systems and Microcontrollers
- Lab 2 - AC Measurements with the Signal Generator
- Lab 5 - ADC with Matlab
- Lab 8 - Analog Output and Sensors with Arduino
- Measurement Uncertainty