CA1241413A - Adaptive control system - Google Patents

Adaptive control system

Info

Publication number
CA1241413A
CA1241413A CA000464680A CA464680A CA1241413A CA 1241413 A CA1241413 A CA 1241413A CA 000464680 A CA000464680 A CA 000464680A CA 464680 A CA464680 A CA 464680A CA 1241413 A CA1241413 A CA 1241413A
Authority
CA
Canada
Prior art keywords
error signal
time
gain
pulse width
width modulation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired
Application number
CA000464680A
Other languages
French (fr)
Inventor
Robert M. Salemka
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Pneumo Corp
Original Assignee
Pneumo Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Pneumo Corp filed Critical Pneumo Corp
Priority to CA000464680A priority Critical patent/CA1241413A/en
Application granted granted Critical
Publication of CA1241413A publication Critical patent/CA1241413A/en
Expired legal-status Critical Current

Links

Landscapes

  • Feedback Control In General (AREA)

Abstract

ADAPTIVE CONTROL SYSTEM

ABSTRACT
A method of adaptive control for use in a controlled system having an adjustable forward loop gain and a control system apparatus for carrying out the method are disclosed. The control system measures the value of a parameter which is to be controlled and generates an error signal by comparing the measured valve of the parameter with a desired valve.
The error signal is squared and the time derivative of the squared error signal is obtained. The control system compares the length of time that the derivative so obtained has a positive value to the time it has a negative value to obtain a gain control signal, and applies the gain control signal to the forward loop gain. The gain control signal reduces the adjustable forward loop gain until a preselected margin of stability in the controlled system is obtained.

Description

Title: "Adaptive Control System"

BACKGROUND OF THE INVENTION
The present invention relates to adaptive control systems.
Adaptive control systems are closed loop systems ln which the gain of the system is varied according to the system's response to events that disturb it. While most controlled processes have response characteris-tics which vary only slightly over their entire range of operation, there are other systems where the operating characterics vary substantially. For example, a crane or the arm of a robot has different response characteris-tics depending on the weight of an object being moved. Many other controlled systems or processes have changing response characteristics in different portions of their operating range. One consequence is that a forward gain which provides a stable response in one portion of the operating range may make the system unstable in another portion of the operating range. For these types of controlled systems an adaptive control rather than a fixed gain control is desirable.
Most adaptive control systems have depended on knowledge of the controlled system's response characteristi~. Some adaptive controllers have applied white noise to the controlled systern input to deterrnine the controlled syst~3m's response characteristics. Other adaptive controllers have superimposed disorete interval blnnry noise on a controlled system's input in order to determine the controlled system's response ch~racteristics.
Still other adaptive controls have used a mathematical model of the controlled system. The model is fed control signals at the same time that the real system is fed the same control signals. The actual system's response and the model system's response are compared and any difference is used to adjust the actual system's forward gain until the actual system behaves just like the model.
SUMMARY OF THE INVENTION
The present invention provides an adaptive control system which does not require detailed knowledge of the process or mechanism being controlled. In fact, the only ussumption about the controlled process or ~ .;

system is that reducing the forward gain of the control loop will increase system stability. Moreover, the adaptive control system of the present invention is not responsive to the magnitude of Mn error signal but only to the stability of the system's over~11 response.
In carrying out the present invention an error signal of a closed loop control system is processed and used to vary the overall gain of the system. Speclfically, the error signal is first squared and the resulting signal is differentiated. The differentiated signal ;s used as a trigger for a switching device which produces R selectable positive output whenever the differentiated signal is positive and a selectable negative output whenever the differentiated signal is negative. The outpu$ of the switching device is integrated and used to vary the forward gain of the system.
The system may be embodied in electronic circuitry in which case the switching device may be a pulse width modulation circuit. By selecting the ratio between the positive and negative outputs of the pulse width modulation circuit, the damping ratio and thus the stability of the system may be controlledD The present invention adjusts the gain of the controlled system or process to maintain a predetermined margin of stability. Further, the pulse width modulation circuit mny have a threshold so th~t it produces no output, either high or low, until the mugnitude of the derivative signal exceeds a minimum or threshold level.
The invention l:hen comprises the features hereinafter fully described and particularly pointed out in the claims, the following descrip-tion and the annexed drawings setting forth in detail an illustrative embodiment of the invention, this being indicative, however, of but one of the various ways in which the principles OI the invention may be carried out.
BRIEF DESCRIPTION OF THE DRAWINGS
In the annexed drawings:
Fig. 1 illustrates schematically a system embodying the present invention; and Fig. 2 illustrates graphically four curves A-D representing sig-nals at different locations in the system OI Fig. l.

DESCRIPTION OF PREFERRED EMBODIMENT
The present invention utilizes Liapunovls Second or Direct Method of determining a control system's stability and corrects the gain of the forward loop of the controlled system to maintain a preselected margin of stability. This description will proceed first with an explanation of how and why the present invention works from a theoretical approach and then will describe one embodiment of an apparatus for practicing the invention.
It will be clear from this theoretical discussion that many other embodi-ments of the present invention are possible. Specifically, although the embodiment illustrated and described is an electronic control system, it i contemplated that the present invention could be utilized in fluidic control systems, mechanical control systems, optical control systems, or any other type of control system.
Liapunov functions have the characteristic that their derivative with respect to time can be used to measure the stability of any closed loop control system. The tirne derivative is negative for systems that are stabl and positive for systems that are unstable. ~Liapunov functions are well known to those skilled in the art and a full explanation of the criteria for determining that the square of the dif~erence between the measured and desired values of a controlled parameter of a closed loop system, E2, is such a function would unnecessarily lengthen this application.) Liapunov's work is broadly applicable to oll closed loop systems, however it can most easily be understood in terms of a system which behaves like a damped harmonic oscillator. In such a system the rnagnitude of the error signal followlng a step or unit input is ~1) E = Eo e~~t sin wt where: E = eontrolled system error Eo = initial error in controlled system ~ = d~mping ratio w = n~tur~ frequency t = time.

It is known that ~ is positive for stable systems and negative for unstable systems and that in designing a control system the choice of ~ controls the responsiveness of the system. If the error signal (E) is squared (E2) the resulting expression meets the requirements of a Liapunov function.
In the case of a damped harmonic oscillator (2, d~E ) = Eo2e~2 ~b~t~-2~ sin2wt + 2~sin~t coswt~

An examination of this expression discloses why it may be used to measure the stability of a system. The terms outside the bracket on the righthand side of equation (2~ provide an exponential envelope that decreases with time, making the system stable, when the damping ratio is positive. The envelope increases with time when the system is unstable, i.e. when the damping ratio is negative. The term in equation (2) inside the brackets has two components, the first of which is always negative when ~ is positive, i.e. when the system is stable. The second term inside the br~ckets oscillates evenly above and below the time axis. When these two terms are added and averaged over time, the sum is negative for ~^> O . Thus whenever a system described by equation (1) is stable, the time integral of equation (2) will be negutive and proportional to the damping ratio. From the above it is clear that the time averaged value of equation (2) is a measure of system stability.
Again it is worth noting that for any controlled systern whether linear or nonlinear, the difference between actual output and desired output, when squared, meets the requirements of a Liapunov function. Therefore although the above explains the operation of the Liapunov furction for a damped harmonic oscillator, it will be appreciated that the result is the same for other systems, including nonlinear systems.
It is considered desiraMe for an adaptive gain control to be sensitive only to the changing stability of the system as a whole and not to the magnitude of an error signal. Evaluating the lefthand side of equation
(2) one finds that .
(3) d(E2) 2E dE

This expression is clearly directly proportional to the magnitude of the error signal. Therefore using the time integral of eguation (2) to eontrol the overall system gain has the disadvantage of being dependent on the amplitude of the error signal, E.
This disadvantage can be overcome by utilizing a pulse width modulation circuit. Such a circuit has two output states, one positive and one negative. Such a circuit may be switched between output states as the value of equation (2) changes sign. The result is a series of square wave pulses alternating between predetermined positive and negative values and whose width is proportional to the length of time that the time derivative of the error signal squared, i.e. equation (2), is positive or negative, respec-tively. The resulting train of pulses is independent of the magnitude of the error signal.
If the output train of sqllare waves from the pulse width modulation circuit is integrated over time, the result is a signal either positive or negative proportional to the time integral of the time derivative of the error signal squared ( ¦ d(E ) dt) but completely independent of the magnitude of the error signal (~). This signal is a measure of system stability, i.e. it is proport~onal to ~, the damping ratio, and it can be used to adjust the gain of the controlled process to maintain stability. For example, if in response to some input to the controlled process, the integrated output of the pulse width modulation circuit is positive, indi-cating that the system is unstable, the gain of the controlled process is adjusted downward until the integrated output of the pulse width modulation circuit is zero.
A system operating as just described would always operate on the very margin of stability, with a damping ratio of zero. It is usually preferable to operate controlled processes with some margin of stability, i.e. with the damping ratio having some relatively small positive value, ~2~

usuaUy between 0.5 and 1.5. This can be accomplished in a number of ways.
One way would be to add a selectable amount to the integrated output of the pulse width modulation circuit. This would provide a margin of stability related to the selected additional amount. Another way, as will be discussed more fully below, is to vary thé ratio between the amplitudes of the positive and negative outputs of the pulse width modulation circuit. This provides any desired specific rnargin of stability, although the damping ratio and the ratio between the outputs are related not linearly but by a $ranscendental funetion.
The invention described above may be carried out in the embodi-ment shown in Fig. 1. The system 10 includes a controUed system or process 12 which may be a mechanical system such as a position control, possibly a wing surface on a missile or aircraft or the arm of a robot which must work in varying environments such as in and out of water. The controlled system 12 could also be a process such as a chemical process where the chemical properties at the output of the process are measured and the controlled variable may be a flow control valve, a reactant temperature or reaction mizcer speed among others.
The controlled system 12 has input 14 which controls sorne input parameter of the system 12 to establish or maintain an output p~rameter or respon~e at a selected value. Thi~ ~alue may repre~ent a particular physical relutionship between two parts, a chemical composition or concentration of an efnuent from a chemical process, or almost any other measurable physical quantity. The value of the parameter to be controlled is measured and fed back to the input through back line 16.
A comparator 18 (sh~Nn as ~ summing junction) measures the difference between input 14, representing the desired value of the controlled parameter and the actual value of the controlled parameter transmitted from feed back line 16. The resultant error signal, E, is fed through amplifier 20 to operate system 12.
The amplifier 20 may be a conventional electronic amplifier in which the output is generally proportional to the input. However the term amplifier, as used in this specification and the claims that follow also _7~ f~3 encompasses the broader concept of any system or group of components which receive an input signal and produce a larger or modified output signal.
One example is a hydraulic system which includes a source of fluid under pressure and a proportional flow control valve. Such a system, taken as a whole, has a gain which may be controlled according to the precepts o~ the present invention. In the example given, the gain could be varied by adjusting the pressure upstream of the proportional flow eontrol valve.
The response of system 12, as indicated by the error signal, E, to a unitary or step input may take the shape of curve A in Fig. 2. The controlled system 12 and the feed back loop 16, comparator 18 and amplifier 20 together form a conventional feed back contr~l system where the gain of amplifier 20 controls the damping ratio of the system and thus the system stability. The only requirement to guarantee applicability of the present invention to controlling system 12 is that the stability of system 10 may be increased by decreasing the gain of amplifier ao. Very many systems of practic~I interest meet this criterion~
The adaptive control of the present invention varies the gain of amplifier 20 in response to the error signal (E) so that the system 10 is maintained at a consistent, selectable margin of stability. To this end the system 10 also includes an amplifier 22 which receives the error signal through wlres 24 and 26 ~nd squares the error signal E. I'he resultant (E2) is shown, for example, QS curve B in Fig. 2. The E2 signal is then di~ferentiated with respect to time by differentiator 28 which also inverts the signal. The differentiator is selected with a break frequency one or two orders of magnitude greater than that of any other element of the controlled system 12 so that the differentiator's own response does not affect system performance. Curve C of Fig. 2 shows the negative of the derivative of the error signal squared with respect to time. The output of the differentiator 28 is a signal which, as shown in Fig. 2, passes above and below zero and which spends more time on the positive side of zero when the system 10 is stable and therefore has a positive damping ratio.
The output of differentiator 28 is fed to a pulse width modula-tion (PWM) circuit 30. This circuit has two levels of output, one a positive voltage B and the other a negative voltage A. The output of the PWM
circuit 30 is A whenever the output of the differentiator 28 is negntive, ~nd the output of the PWM circuit 30 is E~ whenever the output of the differentiator 28 is positive. The resulting train of square wave pulses i5 shown as curve D in ~ig~ 2.
The PWM circuit 30 also has a dead band during which its output is zero. The PWM circuit does not respond at all unless the absolute value of the signal received from differentiator 28 exceeds some minimum value.
The dead band is shown by the phantom lines crossing the curve C in Fig. 2 and by the horizontal portions of curve D which coincide with the X axis of that curve. This dead band is effective to prevent changes in system gain at amplifier 20 unless the stability of the system has changed more than a predetermined minimum amount.
The output from the PWM circuit 30 is fed to an integrator 32 whose output represents the sum of the area under the curve D of Fig. 4, i.e., positive areas minus negative areas. The integrator 32 is selected with a break frequency approximately on~half the break frequency of the controlled system 12. This assures that the integration occurs over a sufficient length of time to reflect accurately the average of the train oE
square wave pulses. When the output of integrator 32 is positive, the system 10 is stable, and when the output of integrator 32 is negative, the system is unstabl~. I'he degree above or below zero of the output of inte~rator 32 is a mcasure of the degree of stability or instability of the system 10. The output of the integrator 32 is Xed through a limiter 34 which limits the maximum and minimum values of the gain of amplifier 20.
In response to a change in input 14, an error signal will be generated. The oscillations of the error signal may indicate that the stability of the system is decreasing. In this case the output of integrator 32 will decrease because of the increased amount of time the output OI
differentiator 28 spends below the zero axis. This decrease in turn will decrease the gain of amplifier 20. The gain of amplifier 20 will continue to fall until the time derivative output spends as much time in the positive region as in the negative region. If the oscillations of the error signal indicate increasing stability, the gain of amplifier 20 would be increased.

g The PWM circuit 30 also serves to establish a margin of stability for the system 10. Specifically, the ratio of the values of A and B as outputs of the PWM circuit 30 controls the margin of stability by controlling the damping ratio of the system 10. As can be seen from Fig. 2 the output of the PWM circuit 30 has a wave form that is repeated every 180 of rotation of the vector ~ t. This repeating unit has two portions, the positive one having a width 90 ~ ~ where ~; is an offset angle and the negative one having a width 90-,~ . For a single repeating unit, the area above the curve is B(90 -~ ~; ), and the area below the curve is A(90 - ~ ). The adaptive control circuit changes the gain of amplifier 20 until
(4) B (soG+ ~ ) = A (90- ,~; ) The relationship between ~ and e, can be relatively easily derived. When
(5) ~t = 90_ ~
equation (2) = 0. So at that time
(6) 2 ~, w sin2 ~t = 2 ~ sin ~t cosw t This reduces to
(7) ~ t ~ tan~l ~~

~ubstltuting 13qu~tion l5) into l~,quation (7) and solving for yields
(8) ~- tan~l ~, Therefore, when ~, = 0, ~, = 0, which represents a condition of zero stability and which is therefore usually very undesirable. Equations (4) and (8) can be combined to obtain
(9) tan~l ~ = go ( A-B ) Equation (9) shows that any desired damping ratio can be obtained by varying A and B. The gain of amplifier 20 will still be changed until the areas above and below the zero axis of curve D (Fig. 2) are equal, but this
-10 equality will occur at some desired stability margin represented by a seleeted positive damping ratio.
As noted above the control system 10 was described as an electronic system. However it should be clear that components of other types may be used. For example, but not by way of limitation, fluidic components which carry out each of the functions required by the block diagram of ~ig. 1 are known, and the system could be carried out using such fluidic components. Further the system could be carried out using mechanl-cal components, or optical components or any combination of such compo-nents as may be suited to the particular system 12 being controlled and its environment.
Thus the adaptive control system of the present invention varies the forward gain of Q controlled system 12 to maintain a desired margin of stability. IJnlike other adaptive control systems, no detailed knowledge of the frequency response of controlled system 12 is required. Instead, the error signal squared (E2), which satisfies the requirements of a Liapunov function, is used to measure system stability. Specifically, the error signal squared is differentiated with respect to time, and the t1erivative so obtained is used to trigger a pulse width modulation (PWM) circuit 30 which h~s a fixed positive output whenever the time derivatlve is positive and a fixed negative output whenever the time derivative is negative. The output Or the PWM circuit 30 is integrated by integrator 32, and the result is a signal representing the difference between the length of time the time derivative of E2 is positive and the length of time the time derivative of E2 is negative, and thus under the Liapunov theory is a measure of system stability. The output of integrator 32 is used to control the forward loop gain, returning the controlled system 12 to a margin of stability determined by the values of the ixed positive and negative outputs of the PWM circuit 30.

Claims (16)

THE EMBODIMENTS OF THE INVENTION IN WHICH AN EXCLUSIVE PROPERTY
OR PRIVILEGE IS CLAIMED ARE DEFINED AS FOLLOWS:
1. An adaptive control method for controlling a parameter of a process or mechanism comprising the steps of measuring the value of the parameter, comparing the measured value with a desired value to obtain an error signal, squaring the error signal, taking the time derivative of the error signal squared, comparing the length of time that the time derivative of the error signal squared has a positive value to the length of time the time derivative of the error signal squared has a negative value to obtain a gain control signal, applying the error signal to the system through an amplifier whose gain is controlled by said gain control signal to adjust the parameter desired to be controlled.
2. The method of claim 1 wherein said step of comparing the length of time the time derivative of the error signal squared is positive and the length of time it is negative includes the steps of triggering a pulse width modulation circuit with the time derivative of the error signal squared and integrating the output of the pulse width modulation circuit.
3. The method of claim 2 wherein said step of triggering the pulse width modulation circuit includes the steps of triggering the pulse width modulation circuit only when the absolute value of the time derivative of the error signal squared exceeds a predetermined value.
4. The method of claim 2 further including the steps of multiplying the length of time the time derivative of the error signal squared is positive by a preselected constant and comparing the result with the length of time said time derivative of said error signal squared is negative.
5. The method of claim 1 including the step of limiting the maximum and minimum gain of said amplifier control through which the error signal is applied to the system.
6. In a system having a process with a controlled parameter, an error signal representing the difference between the actual and desired values of the controlled parameter and a variable gain amplifier for applying the error signal to the process to alter the controlled parameter, the method of controlling the gain of said amplifier including varying the gain of said amplifier in response to the integral of a pulse width modulation circuit triggered by a changing sign of the time derivative of the square of the error signal.
7. The method of claim 6 including limiting the maximum and minimum gain of said amplifier.
8. The method of claim 7 including multiplying the amplitude of the portion of the output of the pulse width modulation circuit which is positive by a selected factor to establish a desired margin of system stability.
9. The method of claim 8 including providing the pulse width modulation circuit with a dead band whereby said circuit does not respond until the absolute value of the time derivative of the error signal squared exceeds a selected value.
10. An adaptive control system for controlling a process having an input, a forward gain and an output, said adaptive control system including means for measuring the value of said output, means for comparing the value of said output with a de-sired value for said output to obtain an error signal, means for squaring said error signal, means for taking the time derivative of said squared error signal, means for computing the sum of the length of time said derivative is positive and the length of time said derivative is negative, and means for controlling said forward gain of said controlled process in response to said sum.
11. The adaptive control system of claim 10 wherein said means for computing the sum includes a pulse width modulation circuit.
12. The adaptive control system of claim 11 wherein said pulse width modulation circuit has two output states, one positive and one negative.
13. The adaptive control system of claim 12 wherein said pulse width modulation circuit is triggered by changing sign of said derivative.
14. The adaptive control system of claim 13 wherein said pulse width modulation circuit includes means for adjusting the ratio between said two output states.
15. The adaptive control system of claim 12 wherein said pulse width modulation circuit includes a deadband whereby said pulse width modulation circuit changes output states only when the absolute value of said derivative exceeds a predetermined value.
16. The adaptive control system of claim 10 including means for limiting the maximum and minimum values of said forward gain.
CA000464680A 1984-10-03 1984-10-03 Adaptive control system Expired CA1241413A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CA000464680A CA1241413A (en) 1984-10-03 1984-10-03 Adaptive control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CA000464680A CA1241413A (en) 1984-10-03 1984-10-03 Adaptive control system

Publications (1)

Publication Number Publication Date
CA1241413A true CA1241413A (en) 1988-08-30

Family

ID=4128840

Family Applications (1)

Application Number Title Priority Date Filing Date
CA000464680A Expired CA1241413A (en) 1984-10-03 1984-10-03 Adaptive control system

Country Status (1)

Country Link
CA (1) CA1241413A (en)

Similar Documents

Publication Publication Date Title
US4498036A (en) Adaptive control system
KR940003008B1 (en) Adaptive electrical control system
KR970002063B1 (en) Sliding mode control system
JP2886532B2 (en) Adaptive control device with high accuracy and low drive energy consumption
US4287429A (en) Apparatus for automatically controlling the active power produced by the generator of a hydraulic turbine-generator unit
US3493826A (en) Servomechanism including a lead network feedback and means to modify the lead network responsive to rate
CA1241413A (en) Adaptive control system
CA1242514A (en) Integral control of a dependent variable in a system having at least two independent variables which influence the dependent variable
US3105928A (en) Self-optimizing servomechanisms
WO2002033499A1 (en) Method of and system for controlling the ratio of a variable lead parameter and an adjustable lag parameter for a lag-lead process
US4096562A (en) Closed loop control systems and control devices for such systems
US3727036A (en) Control stabilizing techniques
EP1147459B1 (en) Improved servomechanical control system and method
JP2637248B2 (en) Control device for gas valve device
JPS6191702A (en) Addaptive control method and system
RU2234116C1 (en) Device for pid-regulation
US3573591A (en) Proportional speed floating controller
SU798748A1 (en) Motor speed regulating device
JPH0128963B2 (en)
SU947822A1 (en) Control
SU746407A1 (en) Pulse-width regulator
RU2058577C1 (en) Adaptive control system
SU1582178A1 (en) Nonlinear correcting device
SU697143A1 (en) System for automatic control of thickened product discharge
SU1040475A1 (en) Device for adjusting temperature

Legal Events

Date Code Title Description
MKEX Expiry