GB2173019A - Pattern-recognizing self-tuning controller - Google Patents
Pattern-recognizing self-tuning controller Download PDFInfo
- Publication number
- GB2173019A GB2173019A GB08507714A GB8507714A GB2173019A GB 2173019 A GB2173019 A GB 2173019A GB 08507714 A GB08507714 A GB 08507714A GB 8507714 A GB8507714 A GB 8507714A GB 2173019 A GB2173019 A GB 2173019A
- Authority
- GB
- United Kingdom
- Prior art keywords
- characteristic
- time
- prescribed
- controller
- behavior
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B15/00—Systems controlled by a computer
- G05B15/02—Systems controlled by a computer electric
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B13/00—Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion
- G05B13/02—Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion electric
- G05B13/0205—Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion electric not using a model or a simulator of the controlled system
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Evolutionary Computation (AREA)
- Medical Informatics (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Feedback Control In General (AREA)
Abstract
Measured characteristics including at least one error signal peak, derived from the differences occurring over time between the values of a process controlled variable (14) and a desired set-point level (22), are used to identify the behaviour pattern of the error signal (32) so that an operating parameter of the controller can be changed to minimize process recovery time whenever the process is subsequently disturbed or an abrupt change is made to the set-point level e.g. by a disturbance (26). A PID controller (42) may be used, the PID coefficients being calculated in accordance with prescribed relationships determined by adapter (34) and based on damping, overshoot and time period characteristics of the error signal and initialising signals (46). A user-specified noise threshold may be entered (46) to reduce the possibility of detecting a noise peak as a true error signal peak. In a pre-adapt mode the controller automatically determines the initial values of the PID coefficients, the noise threshold, and the approximate time scale of the process. <IMAGE>
Description
SPECIFICATION
Pattern-recognizing self-tuning controller
Background of the Invention
Field
This invention relates generally to adaptive controllers for controlling a process and more particularly to a self-tuning controller of the pattern-recognizing type in which controller operating parameters are changed automatically as required in response to differences occurring between the actual and desired states of the process so that controller behaviour substantially matches process dynamics.
Description of the Prior Art
In a typical control loop, a controller is coupled to a process and a process controlled variable such as temperature, flow, or level is measured and fed back as a signal to the controller which compares that signal to a desired value known as the set point. Various controller elements respond to the error signal to generate a control signal for regulating the process so that the process controlled variable is maintained at the desired value. As can be understood, it is advantageous to have controller behavior substantially match the dynamics of a process so that the entire control loop can be maintained at its optimum state especially after the process has been disturbed or an abrupt change has been made to the set point.
A pattern-recognizing self-tuning controller automatically adjusts controller operating parameters so that controller behavior is changed as needed to keep the control loop in its optimum state. It should be understood that pattern recognition is a known technique used for manually tuning the operating parameters of a controller. Typically, the control system operating in a steady-state mode is perturbed and the pattern of the response is observed. A human operator compares that pattern to a desired pattern and modifies the controller settings so that two patterns are substantially matched. Tuning can thus be time consuming and costly if many trial-and-error attempts occur before the requisite experience and/or knowledge of the process is gained for setting the controller operating parameters.
Moreover, since controller settings are for a particular set and range of operating conditions, manual retuning will be needed to compensate for changes in the operating conditions which may be the result of occurrences such as set point revisions, process load disturbances, or age, wear and corrosion of control system equipment. Various attempts have been made with limited success to provide an adaptive controller which eliminates the need for but duplicates the manual tuning process used by a skilled human operator.
For many applications, the equations which describe the dynamic behavior of the control loop are very complex so that it is very difficult to determine analytically what operating parameters should be used for achieving the desired ideal pattern. As a result, analytical solutions are oftentimes based on simplifying assumptions that reduce the range of operating conditions or the number of process applications which can be controlled without human intervention.
In United States Patent No. 3,798,426 issued to E. H. Bristol and assigned to the present assignee, a pattern-evaluating adaptive controller is disclosed which is capable of being tuned without a human operator. As described in the patent, when the process being controlled is recovering from an upset such as a local disturbance or a change in set point, the controller made according to the Bristol teaching examines the initial recovery behavior of the process controlled variable and calculates various evaluation time intervals. Deviations of the process controlled variable from its desired value are preferably integrated over each of the evaluation intervals and combined to produce an integrated error. Based on the size of the integrated error, the operating parameters of the controller are changed as needed for insuring optimal control action when the process is next upset.
However, the relationship between the initial recovery behavior and the size of the associated evaluation intervals does not always remain constant for all operating situations. Although the controller taught by Bristol is suitable for controlling a complicated non-linear process, there are limits to the number of situations that can be managed before a human operator is required to change the criteria used for determining the evaluation intervals.
Accordingly, there is a need for an improved adaptive controller which is suitable for a wide range of operating conditions and/or applications. Moreover, it is desirable to minimize or eliminate the services of a human operator especially in situations where that operator faces physical dangers.
Summary of the Invention
The above-mentioned limitations of prior art control loops and controllers are overcome by the provision of a new and improved selftuning controller which includes a detector for measuring at least two characteristics of the behavior of the process controlled variable which behavior results when the process is reacting to an upset in operating condition.
Also included is an adapter connected to an output of the detector for responding to the two characteristics and for changing an operating parameter of the controller as required so that the response of the control loop will match a prescribed performance criterion when subsequent disturbances or changes are applied to the process.
In a preferred embodiment of applicant's invention, the controller is a proportional-integral-derivative (PID) type. When the controller is set into control operation, peaks of the error signal which exceed prescribed levels based on a noise band are detected and used for calculating overshoot and damping characteristics of the closed loop response of the control loop. Changes are made as needed to the PID coefficients in accordance with the differences between the calculated and desired values for the overshoot and damping charac tedstics. A provision is also made for a preadapt mode wherein the controller evaluates the open loop response of the control loop and determines the initial values of the PID coefficients, a maximum wait time related to the approximate time period of the process, and a noise band.
The present invention is suitable for controlling a wide range of operating conditions and applications without intervention by the human operator. It also does not require a large amount of knowledge to be accumulated about the particular process to be controlled.
Since the present invention evaluates the behavior of the process controlled variable each time the process is reacting to an upset condition, tuning is automatically made for the adverse effects of local disturbances, or age, wear and corrosion of control system equipment. Furthermore, applicant's invention evaluates control loop behavior by measuring actual performance characteristics of that behavior for comparisons with desired values for those characteristics. As a result, the previouslymentioned problems associated with prior art controllers which attempt to find analytical solutions to the complex equations describing the control loop behavior are avoided.
The above-described and other features of the present invention will be more fully understood from a reading of the ensuing description given with reference to the appended drawings.
Brief Description of the Drawings
Figure 1A is a block diagram of a control loop which includes a controller made in accordance with the present invention.
Figure 7B is a block diagram depicting the electronic components of a preferred embodiment of the controller shown in Fig. 1A.
Figure 2 is an illustration of the behaviour of the error signal which is produced in the control loop depicted in Fig. 1A.
Figure 3A and 3B through 8A and 8B when combined show a flow chart which describes specific operations of the preferred embodiment of the present invention.
Figure 9 is a plot of amplitude versus time of the behavior of the process controlled variable used in applicant's invention.
Figure 10 is a block diagram of the noise band circuit used in applicant's invention for determining the noise level.
Figure Ii is a convergence plot of test results obtained when the present invention is coupled to a dominant lag process and the D coefficient is zero.
Figure 12 is a convergence plot depicting the test results obtained when the present invention is coupled to a dominant lag process and operated with a set of conditions different from that used in Fig. 11.
Figure 13 is a convergence plot of the results obtained when the present invention is coupled to a process which is dominated by dead time.
Figure 14 is a plot showing the results obtained when the present invention is coupled to a process which is varied.
Detailed Description of the Preferred Embodiment
Depicted in Fig. 1A is a block diagram of a process control loop 8 which includes a selftuning controller system 10 made in accordance with the teachings of the present invention and a process 12 that is characterized by a process controlled variable 14, such as but not limited to temperature, pressure, level or concentration. Coupled to receive the process controlled variable 14, sensor 16 operates to produce a measuring signal 18 which respresents the value of the process controlled variable 14. The sensor 16 is connected to a switch 110 which for the present discussion is arranged for connection to an analog-todigital (A/D) converter 160.A set point 22 applied to the D/A converter 160 represents the desired value for the process controlled variable 14. The self-tuning controller system 10 generates a control signal 20 in response to the digitally converted measuring signal 18 and set point 22. Operating to set the value of a controller manipulated variable 24, a final control element 23, such as a valve, receives the control signal 20 produced at the output of a conventional digital-to-analog (D/A) converter 162. The process 12 is responsive to changes in that variable to effect changes in the process controlled variable 14 so that its value is substantially equal to the desired value represented by set point 22.
It should be understood that the process 12 is also responsive to a disturbance 26. If the magnitude of disturbance 26 is sufficiently large to cause the process 12 to make appreciable changes in the value of the process controlled variable 14, the control loop 8 will respond accordingly with corrective action to remove the effects of the disturbance 26.
Being coupled to receive measuring signal 18 and set point 22, a comparator 30 operates to produce an error signal 32 which represents the difference between the value of the process controlled variable 14 and the desired value. An adaptor 34 (to be described in greater detail hereinafter) is coupled to the comparator 30 for receiving the error signal 32. The adapter 34 then produces a processor signal 40 which is subsequently applied to an input of a conventional proportional-integral-derivative (PID) controller 42. Being also coupled to comparator 30 for receiving the error signal 32, the PID controller 42 operates to produce the controller signal 20 (representing corrective action) which is proportional to a three-term sum of the error signal 32 plus a time integral of the error signal plus a time derivative of the error signal.The relative contributions of each of the three terms are determined by constants that are known respectively as proportional (P), integral (I) and derivative (D) coefficients. The controller 42 responds to the processor signal 40 for setting the values for the PID coefficients. The adapter 34 includes an input terminal 44 for receiving an initializing signal 46 (to be described later in more detail) so that proper operation of the control loop 8 can commence when the self-tuning controller system 10 is first switched into operation.
Depicted in Fig. 1B is a block diagram showing the electronic components of the adapter 34. The measuring signal 18 and the set point 22 are both applied to the input leads of the conventional analog-to-digital (A/D) converter 160 which produces digital signals representing the measuring signal 18 and the set point 22. These digital signals are transmitted along a bus 402 which has connections to an Intel 8051 microprocessor 404, a Random Access Memory (RAM) 406, an Electrically Programmable Read Only Memory (EPROM) 408, and the digital-to-analog (D/A) converter 162. It should be explained that the adapter 34 is actually embodied as a computer software program which is stored in
EPROM, 408 and which emulates the operations of actual hardware circuits.The RAM 406 contains the data memory and registers required by the microprocessor 404 for implementing the operations being controlled by the program in the EPROM 408. After the adapter 34 has processed the information derived from the measuring signal 18 and the set point 22, the resulting processor signal 40 for application to the PID controller 42.
With reference to Figs. 1A, 1B and 2, the behaviour of the error signal 32 along a time base line represents the closed-loop response of the control loop 8 to an upset condition which causes a difference between the values of the measuring signal 18 and the set point 22. Typically, the upset condition is caused by either a load disturbance 26 (such as a change in ambient opeating conditions) which suddenly changes the value of the process controlled variable 14 or a sudden change in the set point 22. Depicted in Fig. 2 is a plot of the error signal 32 as represented by a trace 50 for the purposes of illustration. The horizontal axis of the plot is time T and the vertical axis is M, the magnitude of the error signal representing the difference between the value of the process controlled variable 14 and its desired value represented by the set point 22.As can be seen, the trace 50 is characterized by three peaks, 52, 54 and 56 (also known as local extremums) having respective peak amplitudes El, E2 and E3 and occurring respectively at times T1, T2 and
T3. Eventually, the control loop 8 responds to the initial upset condition so that the magnitude M of the trace 50 becomes substantially equal to zero, corresponding to the condition where the process controlled variable 14 has been returned or changed to its desired value.
As can be understood, the closed-loop response of the control loop 8 (as represented by the behavior of the trace 50) can be specified in terms of damping, overshoot and time period which are performance measures that are well known to control engineers for describing the behavior of a control loop. In particular, damping DMP, overshoot OVR and the time period To can be defined as follows:
DMP=(E3-E2)/(E 1 -E2) OVR= -E2/E1
T,= T3-T 1 As a result, the desired performance for the control loop 8 can be specified in terms of prescribed values for damping, overshoot and time period which in turn can be used to describe an ideal pattern for use to tune the self-tuning controller system 10. In other words, if the trace 50 matched the ideal pattern, the controller settings that produced the trace would be optimum.In applicant's invention, the ideal pattern preferably includes three peaks arranged so that the second peak occurs midway in the time interval between the occurrences of the first and third peaks.
It should be explained that the particular pattern of the trace 50 represents the situation where set point 22 was suddenly increased in value so that the positive error peak 52 is produced. If set point 22 were suddenly reduced in value, the first peak of error signal 18 would have a negative amplitude. However, an ideal pattern can still be specified using the same prescribed value for damping, overshoot and time period mentioned above except that the ideal pattern in the latter case would be the mirror image of the ideal pattern desired for the trace 50.
Depicted in Figs. 3A and 3B through 8A and 8B is a flow chart which describes the logical operations of the adapter 34. The flow chart is usable by those skilled in the art for generating the computer software program which embodies the present invention. When the controller system is first switched into operation, as represented by the START block 60 in Fig. 3A, the adaptor 34 implements the
PERFORM INITIALIZATION function described in block 62.
The operation of self-tuning controller sys tem 10 will now be described in connection with the trace 50 of Fig. 2 and the flow charts. Before the controller system is given control of the process 12, at least five initial inputs are required to be applied to input terminal 44 (of Fig. 1A). The five inputs are: three initial settings for the respective PID coefficients of the PID controller 42, one setting for the maximum wait time Wmax which is related to the approximate time scale of the process, and one setting for a noise band NB.
The noise band NB shown in Fig. 2 is preferably equal to one-half of the peak-to-peak value of the noise expected in the error signal 32.
The desired values for the DMP and OVR performance measures can also be entered by the user. However, if those values are not entered, 0.3 and 0.5 will be used by the controller system for DMP(USER) and OVR(USER) terms. After completing the PERFORM INITI
ALIZATION function, the adapter 34 transmits the initial values the PID coefficients as part of the processor signal 40, which causes the PID controller 42 to set those initial values as the
PID coefficients.
Generally, the operation of self-tuning controller system 10 can be described in nine states. The first state is the QUIESCENT
MODE of block 63 which is associated with the condition where the magnitude M of the trace 50 is between upper and lower levels which are preferably centered about the time baseline. The upper and lower levels each has a magnitude preferably equal to four times the noise band NB. It should be recalled that the noise band NB is one of the initial inputs applied to the adapter 34 via input terminal 44.
When in its first state, the self-tuning controller system 10 operates with the PID coefficients set in the PID controller 42 and performs the functions described in block 64 of Fig.
3A. So long as the value of the error signal 32 remains between the upper and lower levels (corresponding to the situation depicted in Fig. 2 where trace 50 is left of time Tq), no decisions are made regarding changes in the
PID coefficients.
When the magnitude M of the trace 50 first exceeds the upper level (equal to 4 NB), the controller system 10 changes into its second state which is the LOCATE PEAK 1 MODE of block 65 where the adapter 34 subsequently compares the magnitude M to a quantity designated as PK1 which is stored in a first peak storage register which is located in the
RAM 406 (of Fig. 1B). With reference to loop 66 of Fig. 3B, if the magnitude M exceeds the stored quantity PK1, that stored quantity is changed to be equal to the magnitude M and the adapter 34 thereafter makes a new measurement of the error signal 32. As can be understood, when the magnitude M increases in value the quantity PK1 (which is initially equal to zero) will also increase accordingly until it becomes equal to the peak amplitude
El.When the magnitude M of trace 50 no longer exceeds the stored value and begins to decrease, no more updates are made to the register and the adapter 34 changes into its third state.
The third state begins at block 67 and is known as the VERIFY PEAK 1 MODE. In the present illustration, the trace 50 rises to a peak amplitude El which is positive. Accordingly, the SIGN of PK1 is set equal to + 1. If the first peak of the error signal 32 was negative, the value of SIGN would be - 1. SIGN is used in a later portion of the controller system. When the magnitude of the trace 50 falls to a level to 95% of El, a timer (in the microprocessor 404 shown in Fig. 1B) has a value
T (which is stored in the RAM 406 of Fig.
1B), is initialized to zero. The timer is a clock for measuring the time occurrence of each measurement of the magnitude M. Initializing the timer when M preferably equals 95% of
PK1 helps to minimize the corrupting effect that control loop deadtime and noise have on the actual time occurrence and shape of the first peak. In other words, if the first peak does not have a well-defined local extremum value, the adapter is arranged to respond to a more specific event in which M is 95% of PK 1. If trace 50 subsequently falls below 60% of El in accordance with diamond block 200, the time T60 (MEASURED) of that event is also stored for later use if certain conditions are satisfied.
When the value T of the timer exceeds the quotient of To/4 (the period To divided by 4) or the magnitude of the trace 50 becomes less than E1/2 (the first peak amplitude divided by 2), the first peak 52 is marked as being verified and the controller system changes into its fourth state which will be discussed. It should be recalled that the second peak 54 is ideally expected at a time interval of To/2 after the occurrence of the first peak. Therefore, beginning the search for the second peak after an elapsed time of To/4 allows detection of that peak even if the actual period of the transient response was different by a factor of 2. Moreover, beginning the search for the second peak at the alternative condition where the magnitude of trace 50 is equal to E1/2 still allows detection of the second peak 54 if it happened to occur earlier than the elapsed time of To/4. This arrangement compensates for the situation where the frequency of the actual closed loop response is a much higher frequency than would be expected based on the initially calculated time period T,. The other diamond blocks 68 and 69 of Fig. 3B will be explained later.
In the fourth state which begins at block 70 of Fig. 4A and is known as the LOCATE
PEAK 2 MODE, the adapter 34 operates to detect the occurrence of a local minimum by comparing the magnitude M of the trace 50 to a quantity PK2 stored in a second peak storage register (which exists in the RAM 406 of
Fig. 1B). If that magnitude M is less than the stored value, the quantity PK2 in the storage register is updated (set equal) to that magnitude M and the adapter 34 measures the next magnitude of the error signal 32. This process depicted as loop 71 of Fig. 4A will continue so long as the trace 50 decreases in magnitude. The loop 71 includes a diamond block 72 which will be explained in a later portion of this description.When the magnitude of trace 50 first reaches its local minimum value
E2, the quantity PK2 is set equal to E2 and the time occurrence of the peak 54 as determined by the value T of the timer is stored in a second peak time register (which exists in the RAM 406 of Fig. 1B) as a quantity TPK(2).
Thereafter, when the measurement of the magnitude M has been made after the peak 54 has occurred, the adapter 34 changes into its fifth state.
The fifth state begins at block 73 of Fig.
4A and is known as the VERIFY PEAK 2
MODE. As described in blocks 74 and 75 of
Fig. 4B, when the time since locating the second peak 54 exceeds an interval equal to To/4 or the magnitude of the trace 50 becomes less than E1/4, the second peak 54 is marked as verified and the controller system changes into its sixth state.
The sixth state begins at block 76 of Fig.
5A and is known as the LOCATE PEAK 3
MODE, where the adapter 34 is searching for a local maximum by comparing the magnitude
M of the trace 50 to a quantity PK3 stored in a third peak storage register (which exists in the RAM 406 of Fig. 1B). If that magnitude M exceeds the stored value, the quantity PK3 is set equal to that magnitude and the adapter 34 measures the next magnitude of the trace 50. This process depicted in loop 77 will continue so long as the trace 50 increases in magnitude. When the trace 50 reaches its local maximum value, E3, the quantity PK3 is set equal to E3 and the time occurrence of the peak 56 as determined by the value T of the timer is stored in a third peak register (which exists in the RAM 406 of Fig. 1B) as a quantity TPK(a). Thereafter, the adapter 34 changes into its seventh state.A diamond block 78 included in loop 77 will be explained later in more detail.
The seventh state begins at block 79 and is designated as the VERIFY PEAK 3 MODE.
With reference to Fig. 5B, when the time since locating peak 56 exceeds a time interval equal to To/4 or the magnitude of the trace 50 becomes less than E1/4, the third peak 56 is marked as verified. Once the third peak has been verified, the adapter 34 changes into its eighth state which begins at block 80 of Fig.
5B and is known as the TIME UPDATE
MODE. In the present illustration and with reference to Fig. 6A, the three peaks 52, 54 and 56 are all considered distinct since El is greater than 4NB, E3 is greater than NB and
E2 is less than -NB. As a result, the adapter 34 performs the operations in block 81 and sets the values of variables TPEAK (2), TPEAK and and the period To using the quantities TPK (2) and TFK (3}. Thereafter, two intermediate times TMAx and
TMIN are calculated in accordance with block 82 of Fig. 6B, where the notion TMAx=ma mum (x, y) refers to the logical operation in which the quantities x, y in the parentheses are compared with one another and the quantity having the largest value is then set equal to TMAX; and the notation TMIN=minimum (x, y, z) refers to the logical operation in which the minimum quantity of quantities x, y, z is set equal to TMIN.
After calculating the two intermediate times, the adapter 34 enters a ninth state known as the ADAPT MODE of block 83 shown in Fig.
7. Based on the measured peak amplitudes
El, E2 and E3, the adapter calculates the previously defined damping and overshoot performance measures which are identified as
DMP (MEASURED) and OVR (MEASURED) respectively. In general, three steps are taken in the ADAPT MODE for determining the new
PID coefficients. The steps are:
1. the Ziegler-Nichols ratios (to be defined) are adjusted based upon the pattern shape of the error signal 32;
2. the PID coefficients are changed based upon the adjusted period and the adjusted Ziegler-Nichols ratios; and
3. the PID coefficients are also changed based upon desired constraints for the damping and overshoot terms.
As further explanation, the adapter 34 makes a shape error SERR calculation in which
SERR=the smallest value between A or B, where
A=DMP (USER)-DMP (MEASURED)
B=OVR (USER)-OVR (MEASURED) or
DMP (USER) and OVR (USER) were set during the PERFORM INITIALIZATION operation of block 62.
In applicant's invention, the values of DMP (USER) and OVR (USER) are usually manually set by the human operator (i.e., the user).
These values are thus part of the initiaiizing signal 46. If the human operator decides not to set the values of DMP (USER) and OVR (USER), the adapter 34 is arranged so that 0.3 is used for DMP (USER) and 0.5 is used for
OVR (USER). As shown in Fig. 8A, a shape adjustment factor FAC is first calculated based on the following relationships:
If SERR < o, FAC=FAC1 = 1 .0+Ks (SERR-G)
SERR; and if SERR > O, FAC=FAC2=1.0/ [1 0+Ks(SERR0.3)SERR] Returning to Fig. 7, it should be explained that the value of Ks is either 2.0 or a value: K=(K,i+6.0)/2.O where the index i ranges from 1 to the number n of consecutive cycles of the error signal 32 (of which the trace 50 is one cycle) where the performance measures are described by the following inequalities:
DMP (USER)O.15; (1)
DMP (USER)-DMP (MEASURED) > O and where (2)
DMP (MEASURED) is the damping term calculated based on the particular response associated with i.As further explanation, if the trace 50 was not described by the two inequalities (1) and (2), then Us=2.0. However, if the trace 50 was the first trace described by the two inequalities (1) and (2), then i= 1 and K1=(Ko+6.0)/2.0. Since K0 is prescribed to be equal to 2.0, then K1=(2.O+6.0)/2.0=4.O.
If the next trace after the trace 50 is also described by the two inequalities, then i=2 and K2=(K1+6.0)/2.0=(4.0+6.0)/2.0=5.0.
The notation used in block 84 represents the arrangement described above where Ks(EXISTING) =K,~1 Being either 0.2 or 0.6, the value of the constant G is based on a relationship to be described in a later section where the quantities in diamond block 210 are defined.
After determining the value of FAC, the adapter 34 now calculates a new proportional coefficient P as follows: P=P(EXISTING) X FAC, where P(EXISTING) is the present proportional coefficient (that is used in the PID controller 42) which resulted in the trace 50.
Returning to Fig. 8A, it should be recalled that the three peaks of the trace 50 are all considered to be distinct peaks so that the adapter 34 leaves block 91 and next enters diamond block 85. It should be pointed out that Rati and Ratd are ratios which are known to control engineers as the Ziegler-Nichols ratio. The ratios are defined as I/period and
D/period. It is also known in the prior art that controller tuning can be based on the Ziegler
Nichols ratios having fixed values such as 0.5 and 0.12 for the respective integral I and derivative D coefficients of the controller. However, such control criteria still have limited applications since the time period of the error signal 32 is influenced by the actual settings for the I and D coefficients.In the present invention the measured time period To of the trace 50 is adjusted in accordance with changes in the I and D coefficients and are not constrained to equal fixed values.
As further explanation of the above and in connection with Fig. 8A, the adapter 34 includes logic for making the following determinations:
If DMP (MEASURED)-OVR(MEASURED) > 0.2 and I(EXlSTlNG) 1.1 X Rati(EXlSTING) X To; then Rati=85%XRati(EXISTING); and, Ratd=85% XRatd(EXISTING).
However, with reference to Fig. 8B, if the following occurs:
If DMP(MEASURED) -OVR(MEASURED)0, then Rati = 1.2 X Rati(EXISTING) 1 .2XRati(EXlSTlNG) Ratd= 1 .2XRatd(EXlSTlNG) The adapter eventually enters block 88 where the new values for Rati and Ratd are used to calculate new values for the I and D coefficients as follows: I=TMAxXRati; and D=TMINXRatd.
Once the new values of the proportional P, integral I, and derivative D coefficients have been calculated, the adapter 34 transmits those values to the PID controller 42 as the processor signal 40 so that new settings are made to the controller. Thereafter, certain variables are redefined in accordance with block 89 and the adapter 34 returns to its first state and waits for another cycle of the error signal caused by a new upset condition applied to the process 12. It should be understood that a new cycle only begins when the absolute value of the magnitude M of the error signal 32 exceeds 4NB. The dynamic characteristics of the controller system 10 have now been changed so as to improve its response to the next upset condition.Based on the above discussion, the variables mentioned in the block 210 of Fig. 7 are known so that the value of the constant G can then be calculated in accordance with the conditions described in the block 210.
With reference to state three (block 67 of
Fig. 3B), the purpose of diamond block 68 was not explained. If the trace 50 of Fig. 2 included a noise spike 53, the adapter 34 would recognize the spike 53 as a local maximum. Accordingly, the value of PK1 would be set equal to the amplitude of peak 53, and the true peak 52 would be lost. Thus, in order to avoid this undesirable result, the adapter 34 includes the diamond block 68 so that noise spikes occurring prior to the true first peak of the trace 50 are substantially ignored.
As further explanation, if the magnitude M is subsequently greater than PK1, the adapter returns to state 2.
The state 3 also includes a diamond block 69. It should be recalled that WMAx was initially set during the initialization stage of the adapter operation. The WMAx is related to the estimated maximum time scale for the process 12. However, if the controller 42 is tuned to be very sluggish, the control loop 8 may take an inordinate time for responding to an upset condition. In other words, period To is relatively large in comparison to WMAx. In such case, the adapter 34 includes a provision for retuning the controller 32 when a sluggish condition has been encountered. Thus, if the time since the adapter 34 first entered state 2 exceeds WMAx, the adapter then enters state 8 and proceeds to perform the operations described in diamond block 90 of Fig. 6A.For that figure it can be seen that the values of various variables are then calculated based on the characteristic of T60,MEASURED) if it exists and on previous data derived from the data of a prior response. In the illustra tion involving the trace 50, there was no previous evaluation since the trace 50 was the first response occurring after the controller system 10 was first switched into operation. Accordingly, the initial values for the previous data are the values that result when the PERFORM INITIAL
IZATION block was completed. After the adapter has completed block 89 of Fig. 8B, the variables associated with "(EXISTING)" in the diamond block 90 will have defined values which become the previous data mentioned above and replace the initially set values.
With reference to Figs. 3A and 3B and to the discussion regarding the diamond block 69, the adapter enters state 8 via input 8C.
As described in diamond block 91 of Fig. 8A, if only PK1 is considered distinct, new values of the I and D coefficients are calculated in accordance with block 92. However, if the magnitude M of the error signal 32 only slowly decreases from a first peak corresponding to the situation "NO" where the absolute values of PK2 and PK3 are each greater than NB, the new I and D coefficients are based on the block 88 of Fig. 8B which includes the intermediate times TMAx and TMIN as well as adjusted Ziegler-Nichols ratios.
State 4 includes a diamond block 72 shown in Fig. 4A. This arrangement is for the situation in which the second peak does not occur before the time T (with respect to the occurrence of 95% of PK1) has exceeded WMAx. In such case, the adapter 34 then enters state 8 via input 8C and proceeds in a manner previously discussed. This arrangement compensates for the previously mentioned case where the controller is sluggish.
When the adapter is in state 5, a diamond block 93 is included in its operation as depicted in Fig. 4B. If the trace 50 of Fig. 2 included a noise peak 55, the adapter would recognize the peak 55 as a local minimum and not detect the true second peak 54. The use of the diamond block 93 avoids this undesirable situation since adapter 34 will ignore noise peak 55 in a manner similar to that previously described in connection with the diamond block 68.
When the adapter is in state 6 of Fig. 5A, its operation includes diamond block 78. If a third peak has not been found within the time interval specified in the diamond block 78, then the adapter enters state 8 via input 8B.
Thereafter, the adapter continues its logical operation starting from a diamond block 94 of
Fig. 6A.
A diamond block 95 of Fig. 5B is included in the operations of the adapter when it is in state 7. If the trace 50 of Fig. 2 included a noise spike 57, the adapter would recognize the peak 57 as a local maximum and would miss detecting the true third peak 56. The diamond block 95 is included for avoiding this undesirable situation since the adapter will now ignore noise peak 57 in a manner similar to that described in connection with the diamond block 68.
It should be understood from all of the above that the present invention operates with information based on three characteristics of the behavior of the process controlled variable 14 when the control loop 8 is responding to an upset condition. The three characteristics are preferably amplitude information based on the existence of three distinct peaks. However, provision is made for determining these characteristics if only two peaks are detected or if only the peak is detected. Three characteristics are needed for calculating the damping constraint. However, if the controller 42 is only operated based on an overshoot constraint, only two characteristics are needed for measuring the overshoot performance of the control loop 8.If only one peak exists, the present invention generates the second and third characteristics based on the values of the error signal at the time when the search was aborted.
In the preferred embodiment of applicant's invention, provision is also made for a preadapt mode wherein various process characteristics are automatically identified so that initial settings of the P, I and D coefficients, the maximum wait time, and the size of the noise band NB can be determined. The pre-adapt mode therefore obviates the need for the human operator to enter manually the initial settings. In the pre-adapt mode, the controller system 10 is in a special manual state wherein the control loop is opened so that the set point is no longer being used by the PID controller 42.With reference to Fig. 1A, the controller system is put into the manual mode by activating the switch 110 so that it disconnects the sensor 16 from the comparator 30 and connects the sensor to a conventional analog-to-ditital (A/D) converter 1 70 which is coupled to a pre-adapter 112. The pre-adapt mode requires that the process is in a first steady state condition. The pre-adapter 112 transmits a signal to the controller 42 which results in the process controlled variable 14 being changed (perturbed) to a new value that is preferably at least 3% different from the previous steady state value. When the process 12 reaches its new steady state condition or the process controlled variable 14 changes 10%, the process is returned to its initial steady state value.
Depicted in Fig. 9 is a plot of the value of the process controlled variable 14 versus time (in minutes). A trace 114 represents the response of the process 12 when the process control variable 14 is "bumped" from a steady state value of N to a new level that is 10% greater than N. It should be understood that the trace 114 is one example of the response and is being used solely to explain the operation of the controller system 10 when it is in its pre-adapt mode.
At a time designated as TEMPT the process 12 is bumped and the pre-adapter 112 tracks the resulting trace 114. The pre-adapter records the time occurrences of prescribed points 120, 122, 124 and 126 where the corresponding magnitudes thereof are N+1 /ON, N+2%N, N+3%N and N+4%N respectively.
Furthermore, the pre-adapter determines an inflection point 116 of the trace 114 preferably by a technique to be described and hereinafter known as the chord method.
As further explanation, a point T, is selected on the horizontal axis which is a low time baseline at which the process 12 is in the first steady state condition. Each time when the pre-adapter 112 is making a measurement of the process controlled variable, the preadapter also determines the slope of a line which connects point Tf and the point on the trace 114 representing the measurement. For example, if the current measurement time is T, and the corresponding measured magnitude of the process controlled variable is Nx, a point 118 is determined. The slope of the line designated as chord 130 connecting points T, and 118 is easily calculated since the respective coordinates (time and magnitude) are known.As can be understood, when point 118 approaches an upper inflection point 116, the slope of the associated chord approaches maximum value. The accuracy with which the above-described chord method determines the upper inflection point of the trace 114 depends upon the actual location of T,. In a specific embodiment of the present invention, point T, was located 15 seconds prior to the time TsMP.
Once the pre-adapter has determined the upper inflection point 116, it then finds the line having maximum slope from the four lines which extend from the inflection point 116 and the points 120, 122, 124 and 126 respectively. In the present illustration a line 132 is the line of maximum slope. The intercept point 136 of line 132 with the low time baseline is used to represent the dead time Td, of the process 12. It is known that line 132 is proportional to a characteristic known to control engineers as process sensitivity.In the present invention, process sensitivity SEN is calculated by multiplying the slope (designated as SLOPE) of line 132 by the percent change in the controller signal 20 (of Fig. 1A) which resulted in the process controlled variable being bumped from the first low steady state condition to the new steady state condition.
Based on the above characteristics of the trace 114, the initial PID coefficients and WMAx are calculated by the pre-adapter 112 as follows:
P (EXISTING)=120XTdt/SEN I (EXISTING)=1.5XTd.
D (EXISTING)=I (EXISTING)/6 WMAX=5.0XTdt.
The above values are transmitted not only to the controller 42 but also to the adapter 34 so that the operation of block 62 of Fig. 3A can be performed when needed.
After a time Tr, the process 12 is returned to its first low steady state condition. The pre-adapter 112 then observes the value of the process control variable 14 for three minutes in order to determine the peak-to-peak noise band which is equal to 2NB.
Fig. 10 depicts in block diagram form the noise band circuit used in applicant's invention for determining the noise band 2NB. The process 12 has been returned to its initial low steady state condition. The measured variable 18 (shown in Fig. 1A) is applied to an input of a high pass filter 140 which is a well known device for removing the low frequency portions in the measured variable 18 and represented by a trace 141. The break frequency of this filter is variable and preferably set to equal 3 times Tdt. An output signal 142 which is depicted as trace 143 is applied to an absolute-value integrator 144 which integrates the output signal 142 for a period preferably equal to three minutes and produces a signal 145 depicted as a trace 146.A conventional averaging circuit 148 receives the signal 145 and determines an average thereof by multiplying signal 145 by four and dividing by the integral period of 3 minutes used by the integrator 144. The magnitude of a resulting signal 150 produced by the averaging circuit 148 is the peak-to-peak noise band 2NB of the process 12. It should be explained that the factor of four used in the averaging circuit is based on an approximation of the result if signal 141 were a sine wave. The resulting signal 150 is transmitted to adapter 34 for use therein when needed.
The pre-adapter 112 also includes logic for calculating a new initial value for the D(EXIST
ING) coefficient as necessary based on the size of the noise band 2NB. As further explanation, that logic performs the following operations:
calculate a quantity Z= (3.0-2NB)/2.5; if Z > 1, then set D(EXISTING)=I(EXISTING)/6 (in other words, the initial value is un
changed from that previously calculated); if Z < O, then set D(EXISTING)=0; and if OZ1, then set D(EXISTING)=I(EXIS TING)-GXZ.
Once the pre-adapt mode has been completed, the controller system 10 is returned to its QUIESCENT MODE.
The pre-adapter 112 is preferably embodied as a computer software program which can be generated from the functions and operations described above (in connection with
Figs. 9 and 10) by those skilled in the art.
With reference to Fig. 1 B, the program embodying the pre-adapter is stored in the EPROM 408 which is used by the microprocessor 404. The various data and information received, generated and produced by the preadapter 112 are stored in the RAM 406.
It should be pointed out that even though the adapter 34 responds to the closed-loop response of the control circuit loop 8, the open loop response thereof is also usable since the pre-adapter 112 is also a self-tuning controller.
Included in Fig. 11 are sixteen convergence plots for situations in which the process is dominated by lag and the D coefficient is set equal to zero so that the controller is a Pl type. Each X of each plot represents the initial starting value for the P and I coefficients of the controller. It should be noted that each segment of a plot represents an adaptation evaluation cycle of the controller. Accordingly, the break points of each plot represents a situation where new values of coefficients have been set in the controller. As can be seen, all of the sixteen plots converge to the same final values for the P and I coefficients even though the initial values thereof were scattered in a wide range.Also presented in
Fig. 11 is a trace 300 (which is shown without horizontal and vertical scales) which is the pattern of the behavior of the error signal when the controller is set with its final values for the P and I coefficients which are listed to the right of the convergence plots.
In Fig. 12, the controller is a PID type and the process is lag dominated. It should be noted that the damping Dmp and the overshoot OVR constraints for this case is not the same as those used in the case depicted in
Fig. 11. As can be seen, all of the sixteen plots converge to the same final values for the P and I coefficients. It should also be noted that Fig. 12 is a two-dimensional plot and the convergence of the D coefficient is not depicted. A trace 302 is the error signal pattern which results when the controller is set with final values of the PID coefficients.
With reference to Fig. 13, the controller is a
PID type and the process is deadtime dominated. In this case there are fourteen plots which all converge to a final set of values for the PID coefficients. A trace 304 is the pattern of the error signal behavior when the controller is set with those final values which are shown to the right of the plots.
The controller used in the case depicted in
Fig. 14 is a PID type. In this case, the characteristics of the process are varied and a trace 306 represents the values of the P and I coefficients (the D coefficient not shown) which were calculated and subsequently used by the controller. It should be explained that final values of the coefficients were never calculated because the process characteristics were changed before the controller could find those final values. As a test of the repeatability characteristic of the controller, the process characteristics were returned to their initial values in a manner which was the reverse of that used to increase the process characteristics. As can be seen, the return portion of the trace 306 is essentially the same as that for the leading portion. A trace 308 is the pattern of the error signal behavior when the controller is set with the initial values for the
PID coefficients. These inital values are listed to the right of the plot.
While the invention has been described with reference to the preferred embodiment, it will be apparent that improvements and modifications may be made within the purview of the invention by those of ordinary skill in the art.
For example, criteria other than damping or overshoot can be used to specify the ideal pattern. Moreover, the controller does not have to be the PID type since other controllers such as Smith predictors or Dahlin controllers are suitable. In addition, other commercially available computers such as the HP 9845 or the DEC VAX 11/780 can be used in place of the microprocessor 404, the RAM 406 and the EPROM 408.
Claims (39)
1. A self-tuning controller apparatus of the pattern-recognizing type for use in a control system, wherein said controller apparatus is characterized by at least one operating parameter and is coupled to a process in said control system for controlling the value of a process controlled variable; said controller apparatus comprising:
director means responsive to the closedloop behavior of said process control variable for measuring first and second characteristics of said behavior, wherein said first characteristic is the peak amplitude of a local extremum of said closed-loop behavior and said second characteristic is the amplitude of said closedloop behavior at a point subsequent to said local extremum; and
adjusting means coupled to said detector means for responding to said first and second characteristics and correspondingly altering said operating parameter in accordance with a prescribed relationship so that the behavior of said controller apparatus substantially matches that of said process.
2. The apparatus of claim 1 wherein said prescribed relationship includes a performance criterion which has a desired value and said controller apparatus further includes:
means for combining said first and second characteristics to produce a measured value of said performance criterion, and
means for obtaining the difference between the desired and measured values of said performance criterion, wherein said adjusting means is responsive to said difference for altering said operating parameter.
3. The apparatus of claim 2 wherein said detector means measures a third characteristic of said closed-loop behavior of the process controlled variable, said prescribed relationship further includes a second performance criterion which has a desired value, said combining means further combines said first, second and third characteristics to produce a measured value of said second performance criterion, and said difference means further obtains the difference between the desired and measured values of said second performance criterion, and wherein said apparatus further includes logic means coupled to said adjusting means for selecting between said first performance criterion difference and said second performance criterion difference so that said adjusting means responds to said selection for altering said operating parameter.
4. The apparatus of claim 2 wherein said performance criteria is an overshoot ratio which is proportional to said first and second characteristics.
5. The apparatus of claim 4 wherein said detector means measures a third characteristic of said closed-loop behavior of the process controlled variable, said prescribed relationship further includes a second performance criterion which has a desired value, said combining means further combines said first, second and third characteristics to produce a measured value of said second performance criterion, and said difference means further obtains the difference between the desired and measured values of said second performance criterion, and wherein said apparatus further includes logic means coupled to said adjusting means for selecting between said first performance criterion difference and said second performance criterion difference so that said adjusting means responds to said selection for altering said operating parameter.
6. The apparatus of claim 5 wherein said second performance criterion is a damping ratio which is proportional to said first, second and third characteristics.
7. The apparatus of claim 6 wherein said oparating parameter includes a proportional (P) coefficient and an integral (I) coefficient, wherein said apparatus further comprises means for measuring time intervals between said first and second characteristics and said first and third characteristics respectively, and means responsive to said time intervals for determining a period To which represents the time period of the closed-loop behavior; and wherein said apparatus changes said P coefficient based on the selection made by said logic means and changes said I coefficient based on an adapting ratio and said measured period To.
8. The apparatus of claim 7 wherein the values of said first and second adapting ratios are variable in accordance with predetermined relationships based on the values of said period T,, said measured damping and overshoot ratios, and the I coefficient existing in said apparatus which produced the closed-loop behavior being evaluated.
9. The apparatus of claim 7 wherein said operating parameter further includes a derivative (D) coefficient which has a value that is changed based on a second adapting ratio and said period To.
10. The apparatus of claim 9 wherein the values of said first and second adapting ratios are variable in accordance with predetermined relationship based on the values of said period T,, said measured damping and overshoot ratios, and the I coefficient existing in said apparatus which produced the closed-loop behavior being evaluated.
11. The apparatus of claim 10 wherein said first and second adapting ratios are Ziegler-Nichols ratios.
12. The apparatus of claim 10 wherein changes in the P coefficient is also related to prescribed relationships based on the measured and desired values of said damping ratio and information from a prior cycle of said closed-loop behavior.
13. The apparatus of claim 12 wherein changes in said P coefficient is also based on predetermined relationships which include said first and second adapting ratios, said period T,, and the values of the I and D coefficients existing in said apparatus which produced the closed-loop behavior being evaluated.
14. The apparatus of claim 13 wherein said first, second and third characteristics are only measured if the absolute value of said first characteristic is greater than a predetermined noise level.
15. The apparatus of claim 14 further including means for measuring the time occurrence of said first characteristic and means for changing said time occurrence by an interval based on a subsequent time when the absolute value of the amplitude of said closed-loop behavior falls to a prescribed level.
16. The apparatus of claim 15 wherein said prescribed level is equal to 95 percent of the measured amplitude of said first characteristic.
17. The apparatus of claim 15 wherein said measured period To is further adjusted based on relationships which include the measured amplitudes of said first, second and third characteristics, said time intervals between said first, second and third characteristics, a fourth characteristic based on the interval between said time occurrence of the first characteristic and a time when the absolute value of said closed-loop behavior falls to a second prescribed level, and to the time intervals between the occurrences of previous first, second and third characteristics of a prior cycle of said closed-loop behavior.
18. The apparatus of claim 17 wherein said second prescribed level is equal to 60 percent of the measured amplitude of said first characteristic.
19. The apparatus of claim 17 wherein said first, second and third characteristics are three local extrema, and the absolute values of the amplitudes of the extrema are greater than associated levels that are each based on a predetermined noise level.
20. The apparatus of claim 17 wherein said first, second and third characteristics are three local extrema, and the absolute values of the amplitudes of only the first two extrema are greater than associated levels that are each based on a predetermined noise level.
21. The apparatus of claim 17 wherein said first, second and third characteristics are three local extrema, and said fourth characteristic is less than the fourth characteristic of a previously evaluated cycle of said closed-loop behavior.
22. The apparatus of claim 17 wherein only said first and second characteristics are respectively two local extrema of said closedloop behavior and the absolute values of the amplitudes of the extrema are greater than associated levels that are each based on a predetermined noise level.
23. The apparatus of claim 17 wherein only said first characteristic is a local extrema of said closed-loop behavior and the fourth characteristic is less than the fourth characteristic of a previously evaluated cycle of said closed-loop behavior.
24. The apparatus of claim 17 wherein said second and third characteristics both occur at a time equal to a prescribed maximum time interval from the time occurrence of said first characteristic, and said fourth characteristic is greater than zero and less than the fourth characteristic of a previously evaluated cycle of said closed-loop behavior.
25. The apparatus of claim 17 wherein said first and second characteristics are local extrema of said closed-loop behavior, and said third characteristic occurs after a prescribed maximum interval from the time occurrence of said first characteristic, and said fourth characteristic is greater than zero.
26. The apparatus of claim 17 wherein a search for said second characteristic begins after a first prescribed search interval from the time occurrence of said first characteristic and a search for said third characteristic begins after a second prescribed search interval from the time occurrence of said first characteristic.
27. The apparatus of claim 26 wherein said first prescribed search interval is based on the period To divided by 4 and said second prescribed search interval is based on the period To divided by 4 and the time occurrence of said second characteristic.
28. The apparatus of claim 17 wherein a search for said second characteristic begins after the occurrence of said first characteristic and after a time when the absolute value of the amplitude of said closed-loop behavior has fallen to a prescribed search level.
29. The apparatus of claim 28 wherein the prescribed search level is equal to 50 percent of the amplitude of said first characteristic.
30. The apparatus of claim 17 wherein said detector means further includes means for identifying short duration peaks in said first, second and third characteristics as noise peaks, and means coupled to said noise identifying means for removing said noise peaks prior to the time occurrence of each of said first, second and third characteristics.
31. The apparatus of claim 30 further including means responsive' to the open-loop behavior of said process controlled variable for determining an initial value for said operating parameter.
32. The apparatus of claim 31 further including means responsive to a steady state condition of said process controlled variable for measuring said noise level.
33. In a pattern recognizing self-tuning controller device which is characterized by an operating parameter and which is coupled to a process for controlling the value of a processcontrolled variable, wherein said process is responsive to a control signal produced by said controller device, that improvement in said controller device, which comprises:
slope detecting means being responsive to the open-loop behavior of said process controlled variable when said control signal is appropriately bumped at a time T from one level to another level so that said process controlled variable correspondingly changes from one steady state condition having a first time base line to a new steady state condition having a second time base line, said slope detecting means including::
means for determining the slopes of lines extending from a point T, which is fixed on said first time base line to successive points on said open-loop behavior as said process controlled variable changes from said one to said new steady state conditions;
means for selecting from said lines a line having a maximum absolute value of slope;
means for idenfifying a point on said openloop behavior through which said maximum slope line passes as an inflection point;
means for selecting an increment point of said open-loop behavior, said increment point occurring prior to said upper inflection point;
means for measuring absolute value of the slope of a process indicative line which extends through said upper inflection point and said increment point;
means for measuring and intercept of said process indicative line with said first time base line;;
means for measuring the time difference between said intercept and said time T and producing a first signal representative of a process dead time characteristic Tdt of said process; and
means responsive to said slope of the process indicative line for producing a second signal representative of a process sensitivity characteristic SEN; and
adjusting means coupled to receive the output of said slope detecting means for responding to said first and second signals to alter said controller-device operating parameter in accordance with a predetermined relationship.
34. The apparatus of claim 33 wherein said increment point compares first and second points on said open-loop behavior, said process indicative line is chosen from first and second lines which extend respectively through said inflection point and said first and second points; and said detector means further includes:
means for selecting between said first and second lines the line having maximum absolute value of slope, said maximum slope line being set as the process indicative line.
35. The device of claim 34 wherein said operating parameter includes proportional P, integral (I) and derivative (D) coefficients and said predetermined relationships include the following:
P equals 120 times Td, divided by SEN
I equals 1.5 times Tdt D equals I divided by 6
Period To equals 5 times Tdt.
36. The apparatus of claim 35 further including:
means for determining a noise level characteristic of said open-loop behavior of the process controlled variable; and
means coupled to said noise means for altering said D coefficient based on a predetermined relationship which is proportional to said noise level characteristic.
37. The apparatus of claim 36 wherein said noise means comprises:
high-pass filtering means for removing from said open-loop behavior prescribed high-frequency components;
integrator means coupled to receive the output of said filtering means for integrating said output over a prescribed time interval;
averaging means responsive to the output of said integrator means for generating a noise band signal having a value 2NB which is representative of the peak-to-peak noise band characteristic of said open-loop behavior and which is based on a prescribed average value of said integrator meansoutput.
38. The apparatus of claim 37 wherein said predetermined relationship is based on a quantity Z where
Z=(3.0-2NB)/2.5 and based on the follow
ing
if 0Z1, D=l/6XZ, and
if ZtO, D=O.
39. A self-tuning controller apparatus substantially as hereinbefore described with reference to the accompanying drawings.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
GB08507714A GB2173019B (en) | 1983-12-12 | 1985-03-25 | Pattern-recognizing self-tuning controller |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US06/560,617 US4602326A (en) | 1983-12-12 | 1983-12-12 | Pattern-recognizing self-tuning controller |
GB08507714A GB2173019B (en) | 1983-12-12 | 1985-03-25 | Pattern-recognizing self-tuning controller |
Publications (3)
Publication Number | Publication Date |
---|---|
GB8507714D0 GB8507714D0 (en) | 1985-05-01 |
GB2173019A true GB2173019A (en) | 1986-10-01 |
GB2173019B GB2173019B (en) | 1988-08-24 |
Family
ID=26289036
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
GB08507714A Expired GB2173019B (en) | 1983-12-12 | 1985-03-25 | Pattern-recognizing self-tuning controller |
Country Status (1)
Country | Link |
---|---|
GB (1) | GB2173019B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5485400A (en) * | 1989-10-02 | 1996-01-16 | Rosemount Inc. | Field-mounted control unit |
GB2400189A (en) * | 2003-03-31 | 2004-10-06 | Furuno Electric Co | A system and method for determining control parameters |
EP2772809A1 (en) * | 2013-03-02 | 2014-09-03 | Abb Ag | Method for determining dynamic behaviour of a motion control system |
-
1985
- 1985-03-25 GB GB08507714A patent/GB2173019B/en not_active Expired
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5485400A (en) * | 1989-10-02 | 1996-01-16 | Rosemount Inc. | Field-mounted control unit |
US5825664A (en) * | 1989-10-02 | 1998-10-20 | Rosemount Inc. | Field-mounted control unit |
GB2400189A (en) * | 2003-03-31 | 2004-10-06 | Furuno Electric Co | A system and method for determining control parameters |
GB2400189B (en) * | 2003-03-31 | 2006-07-05 | Furuno Electric Co | Control system and method for controlling a moving body |
EP2772809A1 (en) * | 2013-03-02 | 2014-09-03 | Abb Ag | Method for determining dynamic behaviour of a motion control system |
Also Published As
Publication number | Publication date |
---|---|
GB2173019B (en) | 1988-08-24 |
GB8507714D0 (en) | 1985-05-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4602326A (en) | Pattern-recognizing self-tuning controller | |
USRE33267E (en) | Pattern-recognizing self-tuning controller | |
US5043863A (en) | Multivariable adaptive feedforward controller | |
US5166873A (en) | Process control device | |
US5587896A (en) | Self-tuning controller | |
EP0628181B1 (en) | Pattern recognition adaptive controller | |
US6631299B1 (en) | System and method for self-tuning feedback control of a system | |
US5748467A (en) | Method of adapting and applying control parameters in non-linear process controllers | |
US5453925A (en) | System and method for automatically tuning a process controller | |
US5682309A (en) | Feedback method for controlling non-linear processes | |
US4959767A (en) | Parameter estimation technique for closed loop system | |
EP0139243A2 (en) | Process control apparatus | |
US5420785A (en) | Self-tuning deadtime process controller | |
GB2173019A (en) | Pattern-recognizing self-tuning controller | |
US6055459A (en) | Method for preventing windup in PID controllers employing nonlinear gain | |
JPH03152601A (en) | Self-tuning controller | |
CA1336447C (en) | Multivariable adaptive feedforward controller | |
CA2122472C (en) | An improved self-tuning controller | |
JP3470197B2 (en) | Self-adjusting controller | |
Mantz et al. | A regulating and tracking PID controller | |
DK169646B1 (en) | Pattern-recognizing, self-tuning controllers | |
KR100194451B1 (en) | Self-tuning controller | |
JPS61245203A (en) | Pattern recognition type self adjustment controller | |
JP2757039B2 (en) | Self tuning controller | |
JP2915220B2 (en) | Process control equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
732E | Amendments to the register in respect of changes of name or changes affecting rights (sect. 32/1977) | ||
PE20 | Patent expired after termination of 20 years |
Effective date: 20050324 |