The present application relates to feedback control systems generally and in particular to adaptive control systems.
A variety of different feedback control systems are known, including on-off control and proportional (P) control in which the controller output is proportional to the error between the system set point and the measured system output.
A problem with proportional control systems is that they can tend to oscillate and that the control output is always in direct proportion to the error. To resolve these problems and others many feedback control schemes include mathematical extensions to improve performance. The most common extensions are proportional-integral-derivative (PID) type control systems.
In PID control systems, the derivative (D) part is concerned with the rate-of-change of the error with time: If the measured variable approaches the setpoint rapidly, then the actuator is backed off early to allow it to coast to the required level. Derivative action makes a control system behave much more intelligently. The integral (I) term magnifies the effect of long-term steady-state errors, applying ever-increasing effort until they reduce to zero. In a PID controller, separate parameters for the P, I and D elements are employed. Typically, these parameters would be determined at a design stage or during an initial commissioning of a control system. A difficulty with these systems is that whilst the determined parameters for a PID controller might be optimum at the time of commissioning or design of a controller, the characteristics of a system may change over time. In other cases, the characteristics of the system may only be known with a low accuracy, and therefore controller design is likely to be suboptimal.
To address this, adaptive control may be employed. Generally, adaptive control relies upon determination of a system's characteristics and designing the correct controller for these characteristics. Suitably, the determination of the system characteristics and the design of the controller happens in real-time and on-the-fly as the system is running. In general there are two methods of adaptive control which differ according to how the system parameters are estimated: Parametric and Non Parametric
Non-Parametric methods estimate the system parameters by measuring something about the system such as its step response or frequency response, and then employ this data to design the correct controller. On the positive side, these methods are relatively non-complex and intuitive. However, on the negative side they are known to be sensitive to noise, interference and other non-idealities which can make for a poor controller design, and they cannot work on-line continuously because you need to make the required measurements to determine the system parameters. A basic prior art non-parametric method is illustrated in
Parametric methods incorporate a model of the system and estimate the correct system parameters using adaptive methods. On the positive side, this method can work on-line and is insensitive to noise. But on the negative side, it's very complex and costly to implement as the computing power required to perform the calculations on a fast process would be expensive. As a result, parametric methods are generally employed in slower systems and thus for example are popular in process control, e.g. in chemical plants where the system response times may be minutes or hours rather than fractions of a second.
The parametric method will now be described with reference to an exemplary self-tuning regulator 10, shown in
System identification is broadly concerned with modelling dynamic systems using measured experimental data. In general terms system identification relies upon parameter estimation which may employ parametric or non-parametric methods. Parametric methods require an adaptive filter for implementation.
Parameter estimation is a fundamental part of system identification. It uses a model to relate the measured data to the unknown parameters. The general relationship, where w is a vector of unknown parameters, u(n) is a vector of data applied to the system, and y(n) is the output is shown in equation (1):
y(n)=u(n)w (1)
The model used for parameter estimation does not need to be the same as the control model. The only requirement is that the measured data is linearly related to the parameters via the model. Re-parameterisation of the model is possible by applying a stable filter to both the input and output data. Any linear system can be written as equation (1) using this method of re-parameterisation. This method underlies the formulation of the direct form of the self-tuning regulator described above.
The goal of the parameter estimation algorithm is to minimise the prediction error, i.e. the difference between the estimated values of the output of the system and the actual values.
This is achieved by modifying the parameter estimates iteratively so as to minimise the prediction error so that the parameters of the estimator and the Plant ultimately match. The operation is illustrated in
Methods for implementing the parameter estimator and the mechanism 28 for updating the parameters come from the field of adaptive filter design.
Practical online adaptive controllers such as the self-tuning regulator have relied upon parameter estimation to identify the parameters of the plant, operating under the assumption of certainty equivalence, whereby the estimated plant parameters are treated as the true values for the purposes of controller design. Such an approach requires accurate estimation, in the shortest possible time, and therefore requires computationally complex adaptive filters. Accordingly, this makes the traditional approach unsuitable for a low-cost control applications.
The present application seeks to provide an adaptive control method which employs a parametric type approach which is suitable for low-cost control applications.
The present application is therefore directed towards providing an improved control system addressing at least some of the above problems.
Accordingly, the present application provides control systems and a method. Advantageous features, variations and embodiments are provided in dependent claims.
According to the invention, there is provided a control system for controlling a plant, the control system comprising a plurality of controllers of differing characteristics, the controllers comprising at least one parameter configured to control the plant, the controllers operating with common state variables, and a means for processing the controller outputs to provide a control signal output to the plant.
In one embodiment, the processing means sums the controller outputs according to a dynamically varying tuning value.
In another embodiment, there are at least two controllers H0 and H1, and the processing means sums the controller outputs H0 and H1, according to:
H=αH1+(1−α)H0
in which H is the control signal output.
In a further embodiment, the system further comprises means for tuning at least one parameter of the controller by minimising the mean square value of a signal in the control loop.
In one embodiment, the processing means dynamically modifies the tuning value according to the weighting of an adaptive filter which is updated by an update mechanism.
In another embodiment, the update mechanism operates on the basis of LMS.
In a further embodiment, the update mechanism operates on the basis of RLS.
In one embodiment, the adaptive filter weighting starts at 0 and is adjusted between 0 and 1.
In another embodiment, the adaptive filter minimises prediction of a control error.
In a further embodiment, the processing means comprises an MA controller for placing the zeros of the controller transfer function,
In one embodiment, the processing means comprises an AR controller for placing the poles of the controller transfer function.
The application will be more clearly understood from the following description of some embodiments thereof, given by way of example only with reference to the accompanying drawings in which:—
The present application describes an approach to adaptive parametric control which whilst providing the benefits of parametric control does so with a low complexity; which is some instances may even be lower than non-parametric methods. In this method, the plant parameters may not be identified explicitly, as they are in the self-tuning regulator and thus the method may be regarded as an indirect one.
The adaptive controller of the present application may be considered a parametric method because the correct parameters of the controller are found by the algorithm in situ (or under closed loop operation). No assumptions are made about the nature of noise or other interference in the loop. Nonetheless these are taken into account when optimising the control parameters.
Previous approaches, as described above, in digital power control have implemented non-parametric methods, and therefore make assumptions about the system and “hope for the best” in trying to evaluate the correct control parameters e.g. Break the feedback loop, inject noise into the plant, perform an FFT to get a frequency plot of the plant and correlate the findings back into the controller before closing the loop again. The present method obviates the need for this.
In greater detail, the present application provides a control system with a self-adjusting control loop, which adjusts its compensation in response to on-line measurements, such that the control loop is properly compensated over a wide range of component variation and tolerances in the plant under control. Adjusting the compensation of the loop in this way provides superior loop performance compared to a fixed controller.
The control loop adjusts a controller which the user may design, addressing the need for users to have confidence in the control scheme, and allowing flexibility in the type and initial parameters of the required controller.
Being a parametric method, the self adjusting control loop is relatively insensitive to the influence of noise.
Referring to
Instead of tuning each of the individual P, I or D values in a controller, the present application tunes a single parameter (α) which adjusts the balance between the combined output u, by applying a different scaling factor (1−α, α) to each, of two controllers as illustrated in
H=αH1+(1−α)H0 (2)
This allows a linear continuum of controllers between H0 and H1 to be realised as α varies between zero and one. In effect, the output control signal from each controller is gain scaled, and the gain scaled outputs summed together. The scaling factors applied to each control signal are however balanced, so that when the scaling factor applied to the first control signal is reduced, the scaling factor applied to the second control signal is increased by a corresponding amount and vice versa.
A feedback element 124 may be placed in the feedback path from the output to condition the measured output to correspond to the setpoint as is commonplace in the prior art. Thus for example, if the plant parameter being controlled was a temperature, then the signal from a temperature sensor measuring this output might be suitably conditioned to provide a voltage signal with an appropriate range.
The method of self adjusting control is as follows. The tuning value α starts at a suitable value to ensure stability. Zero may be a suitable choice, meaning that the control signal from the first controller H0 is controlling the plant with no contribution from the second controller. Suitably, the first controller may be selected to be a conservative controller. Conversely, if the tuning value α starts at one, the control signal from the second controller H1 would be controlling the plant with no contribution from the first controller. The adaptive element of the control system adjusts the value of α to determine an optimum balance point between the two control systems. The value of α is determined by an adaptive filter update mechanism employing a suitable function such as least mean square (LMS) or recursive least square (RLS) to determine an optimum operating position. The adaptive weighting, starting suitably at zero, adjusts between zero and one such that a controller corresponding to an optimal prediction of the control error is achieved.
The control loop 100 adjusts the controller parameters to achieve good control over a wide range of plant component variations, providing much better control and regulation compared to a fixed controller. Also the controllers being adjusted between (H0 and H1), may be designed and specified by the user according to their needs, providing the user with flexibility to match their application and confidence in the controller being applied.
The method of starting with the most conservative controller, H0, means that the method is robust at startup, tuning up to the most appropriate controller between H0 and H1 according to the tuning value α. Advantageously, the individual controller coefficients (e.g. PID) may be selected to provide stable controllers. Since these coefficients are not adjusted the overall controller is inherently stable in contrast to other adaptive controllers where the P, I and D coefficients may be individually tuned, which in certain circumstances may produce instability. It will be appreciated that this argument also applies in general, where the coefficients correspond to poles, zeros and gain of the controller
The tuning value, α, is the weighting of an adaptive filter which optimises p(n), as illustrated in
Although, the adaptive control system above has been explained with reference to distinct controllers, it will be appreciated that two control functions may equally be combined into one controller in which there is a single tuning parameter α which adjusts the balance (α, 1−α) between the two control functions, providing one degree of freedom in tuning. An example of such an implementation is shown in
The portion 130 of the controller up to node p(n),
1. Implements a moving average (MA) filter implementing the zeros of the controller.
2. The adaptive portion 136 of the feedback loop then works in minimizing p(n) which is equivalent to minimizing the energy in the control error e(n), which is obviously the goal of regulation. The role of the adaptive portion of the controller is to travel the Convex Cost function until the optimum point is reached. So—
a) The adaptive filter drives the tuning value (alpha) towards the optimal point along the gradient of the convex cost function (
b) The optimum point is reached when the Euclidian norm (or energy) of the signal p(n) is minimum.
3. The resulting α value is the weighting function used to update the MA, Auto Regressive (AR) filter 132 and Gain coefficients 134 of the overall controller into the next power stage switching cycle. It will be appreciated that there is a linear relationship between the value of α and the values of the MA, AR and Gain coefficients since it is merely balancing two control functions which have been combined together in the MA, AR and Gain blocks.
From node p(n) onwards the AR filter implements the poles of the system ensuring stable operation. The gain block ensures adequate transient performance is achieved but not in excess or danger of going out of control.
It will be appreciated that whilst there is only one controller in
Additional signal conditioning is possible by filtering the relevant adaptive signals using a signal conditioner 138 as illustrated in
F(z)=C(z)·D(z)
Rearranging for the controller's transfer function:
which clearly shows that the conditioning filter's response, D(z), influences the optimised (or converged) transfer function of the controller C(z).
The ability to tune many controller parameters from a single tuning value affords an advantage over adaptive controllers which must compute several tuning values independently. Using several independently tuned values allows the controller several degrees of freedom to find the optimal control values, and therefore the control values may specify an unstable controller when the control values are mistuned under the influence of noise or other non-idealities. Tuning the controller from a single tuning value according to the teachings of this application provides one degree of freedom in tuning and constrains the controller to operate over a range of parameters which are less likely to yield an unstable control system under mistuning conditions. This ability to operate over a range of parameters and its inherent greater stability even in mistuning conditions makes the present adaptive controller very robust in application.
The control loop includes at least two pre-designed controllers, H0 and H1, whereby the control signal to the plant is derived from a sum of the outputs of the two controllers according to equation (2). More specifically, the controllers' state evolution may be described using state-space notation as follows.
When α equals zero:
x(n+1)=A0x(n)+B0e(n) (3)
where A0 is the state matrix of controller H0, B0 is the input matrix of the controller H0, x is the state vector, containing the controller state variables and e is the controller input vector.
When α equals one:
x(n+1)=A1x(n)+B1e(n) (4)
where A1 is the state matrix of controller H1, B1 is the input matrix of the controller H1, x is the state vector, containing the controller state variables and e is the controller input vector.
From equations (2-4), it follows that for all values of a between zero and one:
x(n+1)=[(1−α)A0+αA1]x(n)+[(1−α)B0+αB1]e(n) (5)
Therefore, combining the controllers H0 and H1 allows a continuum of controllers between H0 and H1 to be realised as Alpha varies between zero and one.
It will be clear to those skilled in the art that the controllers do not have to be implemented as explicitly separate controllers. Referring to equation (5) it is clear that the square-bracketed terms from left to right represent the state matrix and input matrix respectively of a combined controller according to the present application, where the matrices vary as a function of Alpha, and furthermore that when the controller is implemented in a digital form, the controller may be more efficiently implemented in this way. Hence the term “plurality of controllers” does not necessarily mean that they are physically separate.
It is also clear from equation (5) that on-line computation involving α can be reduced by collecting terms involving α. For example the state matrix of equation (5) can be re-written as:
A0+α(A1−A0) (6)
which reduces the online computation of the state matrix to a vector add and multiply.
The method is particularly attractive to digital control loops within power converter control circuits where low cost and insensitivity to noise are desirable. Power converters such as switching DC-DC converters are employed in electronic devices where different voltages and\or polarities of voltage are required from a single voltage supply such as battery. The control method described above may be advantageously employed in controllers employed to control the operation of these DC-DC converters. Although DC-DC controllers have typically been analogue in nature, digital controllers have become popular for several reasons such as greater feature integration, more sophisticated loop control and greater flexibility.
An exemplary DC-DC converter 150 employing a controller 152 using the present method is shown in
In the exemplary buck converter a voltage (Vin) is switchably supplied from a voltage source to an inductor 154 capacitor 156 arrangement which stores energy and provides it as an output voltage Vo. A diode 158 is used to provide a path for inductor current when the switch is closed. The output voltage is determined by the relative time the switch 160 is open and closed, this is generally referred to as the duty cycle. The controller acts to try and maintain the output voltage at a desired set point voltage by varying the duty cycle.
The improvement afforded by the self adjusting control loop is shown below where
The application is not limited to the embodiments described but may be varied in construction and detail. In particular, whilst the controller has been described with reference to just two controllers, further controllers could be included.
The words comprises/comprising when used in this specification are to specify the presence of stated features, integers, steps or components but does not preclude the presence or addition of one or more other features, integers, steps, components or groups thereof.
Number | Date | Country | Kind |
---|---|---|---|
2007/0115 | Feb 2007 | IE | national |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/EP2008/051818 | 2/14/2008 | WO | 00 | 3/3/2009 |
Publishing Document | Publishing Date | Country | Kind |
---|---|---|---|
WO2008/101864 | 8/28/2008 | WO | A |
Number | Name | Date | Kind |
---|---|---|---|
5357421 | Tautz et al. | Oct 1994 | A |
20030074166 | Jackson | Apr 2003 | A1 |
20050206358 | Van Der Horn et al. | Sep 2005 | A1 |
20060091871 | Abedinpour et al. | May 2006 | A1 |
20060276915 | Kelly | Dec 2006 | A1 |
20070142932 | Stewart | Jun 2007 | A1 |
Number | Date | Country |
---|---|---|
06 22839 | Aug 1994 | JP |
Entry |
---|
Rubaii, Hardware Implementation of an Adaptive Network-Based Fuzzy Controller for DC-DC Converters, IEEE, 2005. |
Number | Date | Country | |
---|---|---|---|
20100057223 A1 | Mar 2010 | US |