Robust process identification and auto-tuning control

Information

  • Patent Grant
  • 6697767
  • Patent Number
    6,697,767
  • Date Filed
    Thursday, October 18, 2001
    23 years ago
  • Date Issued
    Tuesday, February 24, 2004
    20 years ago
Abstract
This invention provides a novel process identification and control package for high performance. For process identification, a simple yet effective and robust identification method is presented using process step responses to give a continuous transfer function with time-delay without iteration. A new relay, called cascade relay, is devised to get more accurate and reliable points on the process frequency response. For controller tuning, the internal model principle is employed to design single-loop controller PID or high-order types with best achievable control performance. The process identification and control design parts can be easily integrated into control system auto-tuning package. Further, a general control scheme for disturbance rejection is given which can significantly improve disturbance rejection performance over conventional feedback systems with time delays. Practical issues such as noises, real-time implementation and tuning guidelines are also provided. The invention covers both open-loop and closed-loop testing, and single and multivariable cases.
Description




BACKGROUND OF THE INVENTION




1. Field of the Invention




The present invention relates to system identification and control design for single-variable and multi-variable plants. More particularly, the invented schemes permit improved identification accuracy and control performance over conventional methods. The present invention provides general, systematic, effective, and applicable methods for process identification and control for a wide range of industries, such as process and chemical plants, food processing, waste water treatment and environmental systems, oil refinery, servo and mechatronic systems, e.g. anywhere a system model is needed for analysis, prediction, filtering, optimization and management, and/or where control or better control is required for their systems




2. Description of the Background Art




Identifying an unknown system has been an active area of research in control engineering for a few decades and it has strong links to other areas of engineering including signal processing, system optimization and statistics analysis. Identification can be done using a variety of techniques and the step test and relay feedback test are dominant. Though there are many methods available for system identification from a step test (Strejc 1980), most of them do not consider the process delay (or dead-time) or just assume knowledge of the delay. It is well known that the delay is present in most industrial processes, and has a significant bearing on the achievable performance for control systems. Thus there has been continuing interest in identification of delay processes. In the context of process control, control engineers usually use a first-order plus dead-time (FOPDT) model as an approximation of the process for control practice:










G


(
s
)


=



K
p


Ts
+
1





e

-
Ls


.






(
1
)













For such a FOPDT model, area-based methods are more robust than other methods such as the graphical method or two-point method (Astrom and Hagglund 1995). This FOPDT model is able to represent the dynamics of many processes over the frequency range of interest for feedback controller design. Yet, there are certainly many other processes for which the model (1) is not adequate to describe the dynamics, or for which higher-order modeling could improve accuracy significantly. Graphical methods (Mamat and Fleming 1995, Rangaiah and Krishnaswamy 1996a, Rangaiah and Krishnaswamy 1996b) have been proposed to identify a second-order plus dead-time (SOPDT) model depending on different types of response, i.e., underdamped, mildly underdamped, or overdamped. However, such a SOPDT model does not adequately describe non-minimum-phase systems. Further, though model parameters can be easily calculated using several points from the system response, such graphical methods may not be robust to noise. Further, though most tests can be done in open-loop, the plant model identification in closed-loop operation is also an important practical issue. In some cases the plant can be operated in open-loop with difficulties or a control may already exist and it is not possible to open the loop. However, most existing closed-loop identification methods suffer from one or more of the following inherent drawbacks: not robust to measurement noise; an FOPDT model can only be reconstructed; and/or the controller is restricted to the proportional type.




Since a relay feedback test is successful in many process control applications, it has been integrated into commercial controllers. Through years of experience, it is realized that the main problems with the standard relay test are as follows. (i) Due to the adoption of describing function approximation, the estimation of the critical point is not accurate in nature. (ii) Only crude controller settings can be obtained on the single point identified. Several modified relay feedback identification methods have been reported (Li and Eskinat 1991, Leva 1993, Palmor and Blau 1994, Wang et al. 1999a). Additional linear components (or varying hysteresis width) have to be introduced and additional relay tests have to be performed to identify two or more points on the process frequency response. These methods are time consuming and the resulting estimation is still approximate in nature since they actually make repeated use of the standard method. Consequently, it is important to develop techniques for identifying multiple and accurate points on the process frequency response from a single relay test, which is necessary for enhancement of control performance and for auto-tuning of advanced controllers.




Over and above the subject of single variable process identification, multivariable counterpart is another topic of strong interest and need to be studied more thoroughly. Processes inherently having more than one variable to be controlled at the output are frequently encountered in the industries and are known as multivariable or multi-input multi-output (MIMO) processes. Interactions usually exist between control loops, and this causes the renowned difficulty in their identification and control compared with single-input single-output (SISO) processes. Though there are many methods available for single-variable process identification from the relay or step test operated in open-loop or in closed-loop, most of them show no extension to multivariable cases. Further, most of the existing multivariable identification methods assume the absence of inverse response (non-minimum-phase behaviour), oscillating behaviour and/or time delays (Ham and Kim 1998). In Melo and Friedly (1992), a frequency response technique for a single-variable system is extended to a multivariable system, where frequency response characteristics are obtained utilizing a closed-loop approach. However, no process model is generated from the procedures. In Ham and Kim (1998), a closed-loop procedure of the process identification in multivariable systems using a rectangular pulse set-point change is proposed. The test signal is not so widely used and understandable to control engineers and only a FOPDT model can be obtained for each element. Therefore, there is high demand for a general identification scheme for multivariable systems, which can cover many different experimental tests in a unified framework.




The identification of the process dynamics may not be the final target in many applications. Further, control engineers are typically interested in the controller design based on the process information obtained. The majority of the single-loop controllers used in industry are of PID type (Astrom and Hagglund 1984a). However, despite the fact that the use of PID control is well established in process industries, many control loops are still found to perform poorly. In spite of the enormous amount of research work reported in the literature, tuning a good PID controller is still recognized as a rather difficult task. It would hence be desirable to develop a design method that works universally with high performance for general processes. Simple controllers like PLD are adequate for benign process dynamics. They will rapidly lose their effectiveness when the process deadtime is much larger than the process time constant. Advanced control strategies such as the internal model control (IMC) would have to be considered to achieve higher performance. The advantages of IMC are exploited in many industrial applications (Morari and Zafiriou 1989). In spite of the effectiveness of the control scheme, the internal model control has disadvantages that hindered its wider use in industry. In cases with large modeling errors, its performance will not be satisfactory. Besides, for a high-order model, the resulting controller derived will be of high order, and the implementation of the IMC control scheme is sometimes costly. Therefore, a new internal model control scheme which has a simpler design and implementation will be welcomed by the related art.




The goal of controller design to achieve satisfactory loop performance has also posed a great challenge in the area of multivariable control design. For multivariable PID control, Koivo and Tantuu (1991) give a recent survey of MIMO PI/PID techniques. These controllers are mainly aimed at decoupling the plant at certain frequencies. However, theses methods are both manual and time consuming in nature. In addition, the control performance of the closed loop system is usually not so satisfactory, especially in the case of large interaction and long dead time. It is thus appealing to extend the developed single-variable PID controller design methods to multivariable systems. It is easy to understand that PID controllers could be inadequate when applying to very complex SISO processes. The more frequently encountered case is that the dynamics of individual channels are still simple but as there are more output variables to be controlled, the interactions existing between these variables can give rise to very complicated equivalent loops for which PID control is difficult to handle. More importantly, the interaction for such a process is too difficult to be compensated for by PID, leading to very bad decoupling performance and causing poor loop performance. Thus, PID control even in multivariable form may fail. Higher-order controllers with an integrator are necessary to achieve high performance.




Signals are often manipulated in digital form to achieve higher performance to implement the process identification and controller design methods with micro-processors. Conversion of a model between continuous S-domain and discrete Z-domain is often encountered in these applications. Quite a number of approaches of converting a model between S-domain and Z-domain have been reported. Commonly used methods are Tustin approximation with or without frequency pre-warping, zero-pole mapping equivalent, Triangle hold equivalent, etc. (Rattan 1984, Franklin et al. 1990). Tustin (or Bilinear) approximation is one of the most popular methods, and is given by Tabak (1971). This method uses the approximation









z
=


e
sT




1
+

sT
/
2



1
-

sT
/
2








(
2
)













to relate s-domain and z-domain transfer functions, where T is the sampling interval of the discrete system. Those common conventional methods are straightforward and easy to use. However, serious performance degradation may be observed when the sampling frequency is low. In real life, the sampling frequency of a digital system is often limited by a microprocessor bandwidth, costs, etc. The resultant performance of a low sampling frequency digital system may not be guaranteed if the conventional conversion methods are used (Rafee et al. 1997). Besides, when a system contains delay, then the conversion will be quite complex using classical methods. Though some special approaches to the solution have been developed recently, the algorithms proposed by the related art are either too complicated or are state-space based, which are only applicable for delay-free cases. Thus, the conventional methods are still widely used in industry.




Nowadays, most control designs focus on set-point response, and overlook disturbance rejection performance. However, in practice it is well known (Astrom and Hagglund 1995) that the load disturbance rejection is of primary concern for any control system design, and is even the ultimate objective of process control, where the set-point may be kept unchanged for years (Luyben 1990). In fact, countermeasure of disturbance is one of the top factors for successful and failed applications (Takatsu and Itoh 1999). If the disturbance is measurable, feedforward control is a useful tool for cancelling its effect on the system output (Ogata 1997). One possible way to reject the unmeasurable disturbance is to rely on the single controller in the feedback system, where trade-off has to be made between the set-point response and disturbance rejection performance (Astrom and Hagglund 1995, McCormack and Godfrey 1998). A better approach is to introduce additional compensators to the feedback system to handle this problem. Recently, in the filed of the mechatronics servo control, a compensator called a disturbance observer is introduced by Ohnishi (1987). The disturbance observer estimates the equivalent disturbance as the difference between the actual process output and the output of the nominal model. The estimate is then fed to a process inverse model to cancel the disturbance effect on the output. One crucial obstacle to the application of a disturbance observer to process control is the process time-delay (or dead-time) which exists in most industrial processes. The inverse model then contains a pure predictor that is physically unrealizable. Therefore, it would be desirable to create a general scheme for disturbance rejection control for time-delay processes.




The aforementioned technical papers and descriptions of the related art that have been referenced in the above description of the background art are described in greater detail hereinafter. A full bibliographic listing of each of the applicable references is recited hereinafter in order of first appearance, the entirety of each of which is herein incorporated by reference.




Strejc, V. (1980). Least squares parameter estimation.


Automatica


16(5), 535-550; Astrom, K. J. and T. Hagglund (1995). PID Controllers: Theory, Design, and Tuning, 2nd Edition. Instrument Society of America. NC, USA; Mamat, R. and P. J. Fleming (1995). Method for on-line identification of a first order plus dead-time process model. Electronics Letters 31(15), 1297-1298; Rangaiah, G. P. and P. R. Krishnaswamy (1996a). Estimating second order dead time parameters from underdamped process transients. Chem. Eng. Sci. 51(7), 1149-1155; Rangaiah, G. P. and P. R. Krishnaswamy (1996b). Estimating second order plus dead time model parameters. Ind. Eng. Chem. Res. 33(7), 1867-1871; Li, W. and E. Eskinat (1991). An improved auto-tune identification method. Ind. Eng. Chem. Res. 30, 1530-1541; Leva, A. (1993). PID auto-tuning algorithm based on relay feedback. IEE Proceedings-D: Control Theory and Applications 140(5), 328-338; Palmor, Z. J. and M. Blau (1994). An auto-tuner for smith dead time compensator. Int J. Control 60(1), 117-135; Wang, L., M. L. Desarmo and W. R. Cluett (1999a). Real-time estimation of process frequency response and step response from relay feedback experiments. Automatica 35(8), 1427-1436; Ham, T. W. and Y. H. Kim (1998). Process identification and PID controller tuning in multivariable systems. J. Chem. Eng. Japan 31(6), 941-949; Melo, D. L. and J. C. Friedly (1992). On-line, closed-loop identification of multivariable systems. Ind. Eng. Chem. Res. 31(1), 274-281; Astrom, K. J. and T. Hagglund (1984a). Automatic tuning of simple regulators. In: Proceedings of the 9th IFAC World Congress. Budapest. pp. 1867-1872; Morari, M. and E. Zafiriou (1989). Robust Process Control. Prentice Hall: Englewood Cliffs. NJ; Rattan, K. S. (1984). Digitalization of existing continuous control system. IEEE Trans. Aut. Control 29(3), 282-285; Franklin, G. F., J. D. Powell and M. L. Workman (1990). Digital Control of Dynamic Systems. Addison Wesley. Reading, Mass.; Tabak, D. (1971). Digitalization of control systems. Computer Aided Design 3(2), 13-18; Rafee, N., T. Chen and O. Malik (1997). A technique for optimal digital redesign of analog controllers. IEEE Trans. Contr. Syst. Technol. 51(1), 89-99; Luyben, W. L. (1990). Process Modeling, Simulation and Control for Chemical Engineers. McGraw-Hill International Editions. New York; Takatsu, H. and T. Itoh (1999). Future needs for control theory in industry report of the control technology survey in Japanese industry. IEEE Trans. Contr. Syst. Technol. 7(3), 298-305; Ogata, K. (1997). Modern Control Engineering, 3rd Edition. Prentice Hall. NY, USA; McCormack, A. S. and K. R. Godfrey (1998). Rule-based autotuning based on frequency domain identification. IEEE Trans. Contr. Syst. Technol. 6(1), 43-61; and Ohnishi, K. (1987). A new servo method in mechatronics. Trans. Jpn. Soc. Elec. Eng. 107-D, 83-86.




SUMMARY OF THE INVENTION




The present invention overcomes the shortcomings associated with conventional methods, and achieves other advantages not realized by the background art.




An object of this invention is to provide simple yet robust identification methods based on a step test, which can give a continuous transfer function with time-delay for the process. For a relay feedback test, information of more points needs to be obtained accurately and robustly. The obtained process information is further used for controller tuning to produce enhanced performance. For implementation, a model conversion scheme is developed to give high performance conversions between continuous and discrete systems. Further, a general control scheme for disturbance rejection is presented.




For the direct identification of continuous time-delay systems from step responses, new linear regression equations are directly derived from the process differential equation. The regression parameters are then estimated without iterations, and an explicit relationship between the regression parameters and those in the process are given. Due to use of the process output integrals in the regression equations, the resulting parameter estimation is very robust in the face of large measurement noise in the output. The proposed method is detailed for a FOPDT model and a SOPDT model with one zero (SOPDTZ), which can approximate most practical industrial processes, covering monotonic or oscillatory dynamics of minimum-phase or non-minimum-phase processes. Such a model can be obtained without any iteration.




The method is also extended to closed-loop tests, while retaining the simplicity and robustness. The method can accommodate a wide range of tests such as step and relay provided that the test produces steady state responses. Using the FFT, the process frequency response is first calculated from the recorded process input and output time responses to the closed-loop test. Then the process step response is constructed using the inverse FFT. A SOPDTZ model is thus obtained with the developed open-loop identification method.




For the relay identification, a new structure called a cascade relay is presented that can effectively excite a process not only at the process critical frequency ω


c


, but also at 0.5ω


c


, and 1.5ω


c


. Guidelines for relay parameters selection are suggested. The process frequency response at multiple frequencies can be accurately estimated from one relay test using the FFT algorithm. The proposed method is robust to noise and step-like load disturbance. The technique can also be easily extended to identify other frequency response points of interest.




For single variable control system, a new IMC-based single loop controller design is proposed. Model reduction technique is employed to find the best single-loop controller approximation to the IMC controller. Compared with the existing IMC-based methods, the proposed design is applicable to a wider range of processes, and yields a control system closer to the IMC counterpart. It can also be automated for on-line tuning. Users have the option to choose between PID and high-order controllers to better suit applications. It turns out that high-order controllers may be necessary to achieve high performance for essentially high-order processes.




The single-variable identification method is further extended to multivariable systems. The method of the present invention is applicable to various test scenarios, covering step/relay and open-loop/closed-loop ones. For multivariable control, an IMC-based controller design method for MIMO system is proposed. The design of feedback controller are based on the fundamental relations under decoupling of a multivariable process in IMC scheme. The objective loop transfer functions are characterized in terms of their unavoidable non-minimum phase elements. According to those characteristics, a controller design for best achievable performance is presented.




A new algorithm is proposed to convert a S-domain model to a Z-domain model. The resultant Z-domain model is much closer to the S-domain one than those obtained by conventional conversion schemes. The algorithm adopts the standard recursive least squares (RLS) approach. The computation is trivial and can be easily implemented online. It can handle both parametric and non-parametric models, while conventional conversion methods only handle parametric models. It is very flexible and applicable to Z-domain to S-domain model conversion, sampling rate selection, re-sampling, time delay system conversion, and model order selection.




A general control scheme for disturbance rejection is developed as an extension of the disturbance observer used in mechatronics. It is applicable to time-delay processes. It is shown that the proposed control can reduce disturbance response significantly in general and reject periodic disturbance asymptotically in particular.




These and other objects of the present invention are accomplished by a method for identification of a continuous time-delay system from a process step response, said method comprising the steps of applying an open-loop step test and recording at least one output time response; obtaining at least one linear regression equation from the at least one output time response; estimating the regression parameters by an LS method; and recovering the process model coefficients for the continuous time-delay system using an explicit relationship between the regression parameters and the regression parameters in the actual process.




These and other objects of the present invention are accomplished by a method for closed-loop identification of a continuous time-delay system, comprising the steps of applying a closed-loop test that attains a steady state response or stationary oscillations at the end of test; recording a process input response and an output time response for the closed-loop test; using a FFT to calculate the process frequency response; using an inverse FFT to construct the process step response; applying an open-loop identification method to obtain the process model.




These and other objects of the present invention are accomplished by a cascade relay feedback system for exciting a process at a process critical frequency ωc, said cascade relay system including a first loop; a second loop; a master relay in the second loop, wherein said cascade relay system permits persistent excitation at 0.5ωc and 1.5ωc; and a slave relay in the first loop, wherein said cascade relay system can excite said process at said process critical frequency, ωc.




These and other objects of the present invention are accomplished by a controller design method for a single variable process using IMC principles, said method comprising the steps of specifying an initial value for a tuning parameter according to a performance limitation of single loop control system due to non-minimum phase elements; specifying a type of controller; using an LS method for generating the controller parameters and evaluating a corresponding approximation error; and completing said design method if the corresponding approximation error satisfies a specified approximation threshold.




These and other objects of the present invention are accomplished by a method for identifying a multivariable process, said method comprising the steps of bringing the process to a constant steady state; specifying a test type and a test mode; performing a sequential experiment and recording all the process input and output responses; calculating a process frequency response; constructing a process step response; and estimating a process model




These and other objects of the present invention are accomplished by the controller design method for a multivariable process using multivariable decoupling and IMC-principles, said method comprising the steps of specifying an objective closed-loop transfer function matrix with each diagonal element taking into account time delay and non-minimum phase zeros; using an LS method to find a PID controller and evaluating a corresponding approximation error; and completing said design method if the corresponding approximation error satisfies a specified approximation threshold




These and other objects of the present invention are accomplished by a method for high performance conversion between a continuous-time system and a discrete-time system, said method comprising the steps of specifying an initial weighting function and an initial model; conducting a RLS approximation to give a rational transfer function; updating the weighting function according to the last RLS approximation; and repeating said conducting step and said updating step until a corresponding approximation satisfies a specified approximation threshold.




These and other objects of the present invention are accomplished by a method for disturbance compensation for a time-delay process using a disturbance observer, said method comprising the steps of estimating a process model; determining if a delay free part of the model is of minimum-phase, and factorizing the delay free part of the model into a minimum-phase part and non-minimum-phase part if said delay free part of the model is not in minimum phase; specifying a filter to make an inversed minimum-phase part of the model proper; and approximating a pure predictor by choosing parameters according to a suggested guideline for rejecting general disturbance or specifying the time-delay in the disturbance observer according to a suggested guideline for rejecting periodic disturbance.




Further scope of the applicability of the present invention will become apparent from the detailed description given hereinafter. However, it should be understood that the detailed description and specific examples, while indicating preferred embodiments of the invention, are given by way of illustration only, since various changes and modifications within the spirit and scope of the invention will become apparent to those skilled in the art from this detailed description.











BRIEF DESCRIPTION OF THE DRAWINGS




The present invention will become more fully understood from the detailed description given herein below and the accompanying drawings which are given by way of illustration only, and thus do not limit the present invention:




FIGS.


1


(


a


)-


1


(


b


) are graphical views of step and frequency responses for actual and estimated process models according the present invention;





FIG. 2

is a schematic view of a conventional feedback control system;





FIG. 3

is a schematic view of a cascade relay feedback system according to the present invention;





FIG. 4

is a graphical view of the waveforms for the outputs and the resultant output response from the cascade relay test according to the present invention;




FIGS.


5


(


a


)-


5


(


d


) are graphical views of the estimated frequency responses under noise N


1


=29% according to the present invention;




FIGS.


6


(


a


)-


6


(


d


) are graphical views of the estimated frequency responses under noise N


1


=41% according to the present invention;





FIG. 7

is a schematic view of an Internal Mode Control (IMC) control system according to the present invention;





FIG. 8

is a schematic view of a single-loop control system according to the present invention;





FIG. 9

is a graphical view of the relationship between a tuning parameter and approximation error;





FIG. 10

is a graphical view of a Nyquist curve for the process model over a range of tuning parameters;




FIGS.


11


(


a


)-


11


(


b


) are graphical views of the closed loop responses generated after adjusting a tuning parameter;





FIG. 12

is a graphical view of the relationship between controller order and approximation error;





FIG. 13

is a graphical view of the set point responses for a range of controllers;




FIGS.


14


(


a


)-


14


(


d


) are graphical views of the set point responses for a plurality of controllers;





FIG. 15

is a graphical view of Bode plots for a Wood/Berry (WB) plant under NSR=30%;





FIG. 16

is a graphical view of Bode plots for a Wood/Berry (WB) plant under NSR=30%;





FIG. 17

is a graphical view of step responses for the WB plant;





FIG. 18

is a graphical view of a Nyquist array with Gershgorin bands for the WB plant;





FIG. 19

is a graphical view of a step response of a process model;





FIG. 20

is a graphical view of a Nyquist array with Gershgorin bands (PID controller);





FIG. 21

is a graphical view of a step response of a process model;





FIG. 22

is a graphical view of a Nyquist array with Gershgorin bands of an actual open-loop transfer matrix;





FIG. 23

is a graphical view of digital equivalents to a time delay system for the present invention and comparative systems;





FIG. 24

is a schematic view of a feedback system incorporating disturbance;





FIG. 25

is a schematic view of a control scheme according to the present invention;





FIG. 26

is a schematic diagram of a control scheme of the related art;





FIG. 27

is a schematic diagram of a control scheme according to the present invention with approximation;





FIG. 28

is a schematic diagram of a control scheme for unstable/non-minimum-phase processes according to the present invention;





FIG. 29

is a schematic diagram of a control scheme considering a periodic disturbance rejection;





FIG. 30

is a graphical view of time responses for a process model; and





FIG. 31

is a graphical view of time responses for a process model











DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS




1. SISO Processes Identification from Open-Loop Step Test




Suppose that a time-invariant stable process is represented by











Y


(
s
)


=



G


(
s
)




U


(
s
)



=





b
1



s

n
-
1



+


b
2



s

n
-
2



+





+


b

n
-
1



s

+

b
n




s
n

+


a
1



s

n
-
1



+





+


a

n
-
1



s

+

a
n





e

-
Ls




U


(
s
)





,




(
3
)













or equivalently by








y




(n)


(


t


)+


a




1




y




(n−1)


(


t


)+ . . . +


a




n−1




y




(1)


(


t


)+


a




n




y


(


t


)=


b




1




u




(n−1)


(


t−L


)+


b




2




u




(n−2)


(


t−L


)+ . . . +


b




n−1




u




(1)


(


t−L


)+


b




n




u


(


t−L


),  (4)






where L>0. For an integer m≧1, define










[

0
,
t

]


(
m
)



f

=



0
t





0

τ
m


















0


τ
2





f


(

τ
1

)






τ
1

















τ
m


.
















Under zero initial conditions,










[

0
,
t

]


(
m
)




u


(

t
-
L

)



=


1

m
!





(

t
-
L

)

m



h
.












Integrating (4) n times gives













y


(
t
)


=







-

a
1







[

0
,
t

]


(
1
)



y


-


a
2






[

0
,
t

]


(
2
)




y









-


a

n
-
1







[

0
,
t

]


(

n
-
1

)



y


-


a
n






[

0
,
t

]


(
n
)



y


+














hb
1



(

t
-
L

)


+


1
2





hb
2



(

t
-
L

)


2


+

+


1


(

n
-
1

)

!





hb

n
-
1


(

t
-


















L
)



n
-
1


+


1

n
!






hb
n



(

t
-
L

)


n



,






=







-

a
1







[

0
,
t

]


(
1
)



y


-

-


a
n






[

0
,
t

]


(
n
)



y


+


ht
0






j
=
1

n






b
j



(

-
L

)


j


j
!




+














ht
1






j
=
1

n






b
j



(

-
L

)



j
-
1




(

j
-
1

)

!




+



ht
2


2
!







j
=
2

n






b
j



(

-
L

)



j
-
2




(

j
-
2

)

!




+

+















ht

n
-
1




(

n
-
1

)

!







j
=

n
-
1


n






b
j



(

-
L

)



j
-

(

n
-
1

)




1
!




+



ht
n


n
!





b
n

.










(
5
)













Define









{











γ


(
t
)


=

y


(
t
)



,















φ
T



(
t
)


=

[


-




[

0
,
t

]


(
1
)



y


,





,

-




[

0
,
t

]


(
n
)



y


,
h
,
ht
,


ht
2


2
!


,





,



t
n


h


n
!



]


,













θ
T

=


[


a
1

,





,

a
n

,




j
=
1

n






b
j



(

-
L

)


j


j
!



,




j
=
1

n






b
j



(

-
L

)



j
-
1




(

j
-
1

)

!



,





,




j
=

n
-
1


n





b
j



(

-
L

)



j
-

(

n
-
1

)




,

b
n


]

.










(
6
)













Then (5) can be expressed as






γ(


t


)=φ


T


(


t


)θ, if


t≧L.








Choose t=t


i


and L≦t


1


<t


2


< . . . <t


N


. Then






Γ=Φθ,  (7)






where Γ=[γ(


t




1


), γ(


t




2


), . . . , γ(


t




N


)]


T


, and Φ=[φ(


t




1


), φ(


t




2


), . . . , φ(


t




N


)]


T


.




In (7), the θ which minimizes the following equation error,








min
θ





(

Γ
-

Φ





θ


)

T



(

Γ
-

Φ





θ


)



,










is given by the least square solution:






{circumflex over (θ)}=(Φ


T


Φ)


−1


Φ


T


Γ.  (8)






In practice, the true process output ŷ may be corrupted by measurement noise υ(t), and








y=ŷ+υ,


  (9)






where υ is supposed to be a strictly stationary stochastic process with zero mean. In this case, (7) is again modified to






Γ=Φθ+Δ,  (10)






where Δ=[δ


1


, δ


2


, . . . , δ


N


]


T


, and






δ


Ε


=[−υ(


t




τ


)−


a




1





[0,t






τ






]




(1)




υ−a




2





[0,t






τ






]




(2),




υ . . . −a




n





[0,t






1






]




(n)


υ].






For our case, the instrumental variable matrix Z is chosen as










Z
=

[




1

t
1

n
+
1






1

t
1

n
+
2









1

t
1

2

n





1



t
1







t
1
n






1

t
2

n
+
1






1

t
2

n
+
2









1

t
2

2

n





1



t
2







t
2
n
































1

t
N

n
+
1






1

t
N

n
+
2









1

t
N

2

n





1



t
N







t
N
n




]


,




(
11
)













and the estimate is given by






{circumflex over (θ)}=(


Z




T


Φ)


−1




Z




T


Γ.  (12)






Once θ is estimated from (12), one has to recover the process model coefficients: L, a


1


and b


i


, i=1, 2, . . . , n. It follows from (6) that






a


k





k


k=1,2, . . . ,n;






and










[




-
L






(

-
L

)

2


2
!







(

-
L

)

3


3
!










(

-
L

)


n
-
1




(

n
-
1

)

!







(

-
L

)

n


n
!






1



-
L






(

-
L

)

2


2
!










(

-
L

)


n
-
2




(

n
-
2

)

!







(

-
L

)


n
-
1




(

n
-
1

)

!






0


1



-
L









(

-
L

)


n
-
3




(

n
-
3

)

!







(

-
L

)


n
-
2




(

n
-
2

)

!






0


0


1








(

-
L

)


n
-
4




(

n
-
4

)

!







(

-
L

)


n
-
3




(

n
-
3

)

!


























0


0


0





1



-
L





0


0


0





0


1



]







&AutoLeftMatch;






[




b
1






b
2






b
3











b

n
-
1







b
n




]

=


[




θ

n
+
1







θ

n
+
2







θ

n
+
3







θ

n
+
4












θ

2

n







θ


2

n

+
1





]

.







(
13
)













The last n rows of (13) give b


i


in terms of L:










[




b
1






b
2











b

n
-
1







b
n




]

=


[



1


L




L
2


2
!










(
L
)


n
-
2




(

n
-
2

)

!







(
L
)


n
-
1




(

n
-
1

)

!






0


1


L








(
L
)


n
-
3




(

n
-
3

)

!







(
L
)


n
-
2




(

n
-
2

)

!


























0


0


0





1


L




0


0


0





0


1



]

·


[




θ

n
+
2







θ

n
+
3







θ

n
+
4












θ

2

n







θ


2

n

+
1





]

.






(
14
)













Substituting (14) into the first row of (13) yields the following n-degree polynomial equation in L:













i
=
0

n









θ

n
+
i
+
1



i
!




L
i



=
0.




(
15
)













Equation (15) has n roots for L. In selecting a suitable solution, a rule of thumb is to choose one that leads to the minimal output error between the step response of the estimated model and the recorded one from the actual process. Once L is determined, b


τ


can be easily computed from (14).




For the FOPDT modeling








G


(
s
)


=



b

s
+
a



e

-
Ls


,










(6) becomes






&AutoLeftMatch;

{






γ


(
t
)


=

y


(
t
)



,









φ
T



(
t
)


=

[


-



0
t




y


(
τ
)









τ




,
h
,
ht

]


,








θ
T

=

[

a
,

-
bL

,
b

]


,















and the model parameters are recovered from








[

a
,
b
,
L

]

T

=



[


θ
1

,

θ
3

,

-


θ
1


θ
3




]

T

.











For the SOPDT modeling








G


(
s
)


=






b
1


s

+

b
2




s
2

+


a
1


s

+

a
2




e

-
Ls


,










(6) becomes






&AutoLeftMatch;

{






γ


(
t
)


=

y


(
t
)



,








φ
T



(
t
)


=

[


-



0
t




y


(
τ
)









τ




,

-



0
t





0
τ




y


(

τ
1

)






τ
1





τ





,
h
,
th
,


1
2



t
2


h

,

]








θ
T

=

[


a
1

,

a
2

,



-

b
1



L





+


1
2



b
2



L
2



,






b
1

-


b
2


L


,





b
2

,

]
















and the model parameters are recovered from








[


a
1

,

a
2

,

b
1

,

b
2

,
L

]

T

=


[


θ
1

,

θ
2

,
β
,

θ
5

,

-



-

θ
4


+
β


θ
5




]

T











with






β
=

{





-



θ
4
2

-

2


θ
5



θ
3





,





if a inverse response is detected;










θ
4
2

-

2


θ
5



θ
3




,

otherwise.
















Choice of t


1


It is noted from the above development that the first sample y(t


1


) should not be taken into the algorithm until t


1


≧L, when the output deviates from the previous steady state. In practice, the selection of the logged y(t) after t


τ


≧L can be made as follows. Before the step test starts, the process output will be monitored for a period called the ‘listening period’, during which the noise band B


n


can be found. After a step change in the process input is applied, the time t at which y(t) satisfies








abs


(mean(


y


(


t−τ,t


)))>2


B




n








is considered to meet t>L, where τ is user-specified time interval and is used for averaging.




Choice of t


N


The initial part of the step response contains more extensive high frequency information, while the part of the response after the steady state contains only zero frequency information, i.e., at ω=0. Extensive simulation suggests that t


N


be set at 1.2˜1.5T


set


, where T


set


is the settling time, defined as the time required for the process to settle within ±2% of its steady state.




Choice of N The computational effort becomes heavy if too many samples are taken into consideration, which leads to the large size of Φ. Moreover, Φ


T


Φ or Z


T


Φ may tend to become ill-conditioned for very large N and this may cause the computational difficulty in estimating {circumflex over (θ)}. Therefore, N has to be limited. For the case with a large number of recorded data, the default value of N is recommended to be 200, and t


τ


may be set as








t
i

+

t
1

+



i
-
1

N



(


t
N

-

t
1


)



,





i
=
1

,
2
,





,

N
.











For a better assessment of its accuracy, identification errors in both the time domain and the frequency domain are considered. The comparison is made with the area method, to show the performance enhancement. The time domain identification error is measured over the transient period by standard deviation:










ε
=


1
N






k
=
1

N








[


y


(

kT
s

)


-


y
^



(

kT
s

)



]

2




,




(
16
)













where y(kT


s


) is the actual process output under a step change, while ŷ(kT


s


) is the response of the estimated process under the same step change. Once the identification is carried out, the model Ĝ(s) is available and the frequency domain identification error is measured by the worst-case error:










E
=


max

ωϵ


[

0
,

ω
c


]





{


&LeftBracketingBar;




G
^



(

j





ω

)


-

G


(

j





ω

)




G


(

j





ω

)



&RightBracketingBar;

×
100

%

}



,




(
17
)













where G(jω


i


) is the actual process frequency response. Here, the frequency range [0, ω


c


] is considered, where ∠G(jω


c


)=−π, since this range is the most significant for control design. To show the robustness of the proposed method, noise is introduced into the process output. In the context of system identification, noise-to-signal ratio defined (Haykin 1989) by






NSR
=



mean


(

abs


(
noise
)


)



mean


(

abs


(
signal
)


)



.











is used to represent noise level.




EXAMPLE




Consider a high-order process (Maffezzoni and Rocco 1997):







G


(
s
)


=

2.15




(



-
2.7


s

+
1

)



(


158.5


s
2


+

6

s

+
1

)





(


17.5

s

+
1

)

4



(


20

s

+
1

)






e


-
14


s


.












A unit step is performed, and the process input and output responses are recorded. In the noise-free case, the area method gives the model:









G
^



(
s
)


=


2.15


46.69

s

+
1




e


-
53.90


s




,










with ε=1.15×10


−2


and E=60.87%. The model estimated by the proposed method for FOPDT is









G
^



(
s
)


=


0.0396

s
+
0.0184




e


-
49.9839


s




,










with ε=8.6×10


−3


and E=48.12%. Our SOPDT model is









G
^



(
s
)


=


0.0011


s
2

+

0.0343

s

+
0.0005




e


-
28.8861


s




,










with ε=4.0631×10


−4


and E=5.81%. For third-order plus dead time model (TOPDT), we have









G
^



(
s
)


=




205.94


s
2


+

5.25

s

+
1.12




10
4



s
3


+

996.85


s
2


+

38.24

s

+
0.52




e


-
31.9265


s




,










with ε=2.0009×10


−4


and E=1.27%. It can be seen that the results of the proposed method are consistently better than that of area method. The estimation errors decrease with model order n. Especially from FOPDT to SOPDT, errors decrease dramatically, but the error decrease is not so great from SOPDT to TOPDT. In this case, an SOPDT model is good enough. Step and frequency responses of the actual and estimated models are shown in FIG.


1


.




Identification was also carried out for other processes of various dynamics, and the results are listed in Table 1. Another case study is shown in Table 2. The process has an inverse response and noise levels were set at NSR=0%, 3%, 5%, 10%, 15%, 20%, 30%, 40% and 50%. The robustness of the proposed method is clearly seen.




2 Closed-Loop Identification from Open-Loop Step Test




Consider the conventional feedback control system shown in FIG.


2


. The process G is under control of the pre-set controller G


c


, whose parameters have been roughly tuned before but need to be re-tuned now due to poor performance caused by the previous crude tuning and/or process dynamics change. The proposed method will make use of an algorithm for robust identification of process transfer function model from the process step response presented previously. The idea here is to construct the process step response from any closed-loop test.




2.1 Test




Suppose that the system has been brought to a constant steady state with such a pre-tuned controller G


c


. Now some closed-loop test is applied. A change in the reference, say step type, is activated. It should be pointed out that such a signal can be of other types. Alternatively, relay feedback can replace the controller G


c


temporarily for such a feedback test or act on the closed-loop. The control signal u


c


(t) and the process output y


c


(t) are recorded until a new steady state or stationary oscillation occurs.




2.2 Process Frequency Response




In our method, the frequency response of the process will be first calculated. At a first glance, it seems that the frequency responses Y


c


(jω) and U


c


(jω) of y


c


(t) and u


c


(t) can be easily obtained by directly taking the Fourier transform of these recorded y


c


(t) and u


c


(t), which would lead to the process frequency response:







G


(

j





ω

)


=




Y
c



(

j





ω

)




U
c



(

j





ω

)



.











Unfortunately, this operation is inapplicable and meaningless (Wang et al. 1997), as y


c


(t) and u


c


(t) are neither absolutely integrable nor periodic. Here, y


c


(t) is decomposed into the transient part Δy


c


(t) and the steady state part or the periodic stationary cycle part Y


cs


(t) as








y




c


(


t


)=Δ


y




c


(


t


)+


y




cs


(


t


).






Similarly, u


c


(t) can be decomposed into








u




c


(


t


)=Δ


u




c


(


t


)+


u




cs


(


t


).






If y


c


(t) and u


c


(t) have almost entered the steady states or the stationary oscillation status at t=T


e


, both Δy


c


(t) and Δu


c


(t) are approximately zero afterwards The Fourier transform of Δy


c


(t) is then










Δ







Y
c



(

j





ω

)



=




0




Δ







y
c



(
t
)




e


-
j






ω





t









t















0
Te



Δ







y
c



(
t
)




e


-
j






ω





t










t

.








(
18
)













(18) can be computed at discrete frequencies, using the standard FFT technique, which is a fast algorithm for calculating the discrete Fourier transform (DFT).




The definition of the transfer function gives








G


(
s
)


=



Y


(
s
)



U


(
s
)



=




Y
cs



(
s
)


+

Δ







Y
c



(
s
)







U
cs



(
s
)


+

Δ







U
c



(
s
)







,










and the process frequency response is formally







G


(

j





ω

)








Y
cs



(

j





ω

)


+

Δ







Y
c



(

j





ω

)







U
cs



(

j





ω

)


+

Δ







U
c



(

j





ω

)





.











Note ΔY


c


(jω) and ΔU


c


(jω) can be obtained using the Fourier transform since the transient responses Δu


c


(t) and Δy


c


(t) decay to zero exponentially. In practice, they are calculated with the FFT. Thus, it follows that










G


(

j





ω

)








Y
cs



(

j





ω

)


+

FFT


(

Δ







y
c



(
t
)



)






U
cs



(

j





ω

)


+

FFT


(

Δ







u
c



(
t
)



)




.





(
19
)













If the test (say, a step test) gives a constant steady state of the output, y


c


(∞), we have











Y
cs



(

j





ω

)


=




y
c



(

)



j





ω


.





(
20
)













On the other hand, if the test (e.g. relay) causes stationary oscillations, it then follows from a lemma (Kuhfitting 1978) that












Y
cs



(

j





ω

)


=


1

1
-

e


-
j






ω






T
c









0

T
c






y
cs



(
t
)




e


-
j






ω





t









t





,




(
21
)













where T


c


is the period of the stationary oscillations in the process output y


cs


. Similarly, the following expression can be obtained:











U
cs



(

j





ω

)


=

{







u
c



(

)



j





ω


,





step





test

;








1

1
-

e


-
j






ω






T
c









0

T
c






u
cs



(
t
)




e


-
j






ω





t









t




,




relay






test
.










(
22
)













With (20) or (21) and (22), process frequency response can be calculated from (19).




It is noted that the static gain of the process, K


p


, can be also calculated (Nishikawa et al. 1984) from







K
p

=


G


(
0
)


=




y
c



(

)




u
c



(

)



.












Alternatively, it can be calculated from a biased relay feedback test (Shen et al 1996). It should be pointed that the formula (19) assumes zero initial conditions. If the system has a non-zero operating point of y


c


(0) and u


c


(0), then y


c


(t), y


c


(∞), u


c


(t) and u


c


(∞) should be replaced by y


c


(t)−y


c


(0), y


c


(∞)−y


c


(0), u


c


(t)−u


c


(0) and u


c


(∞)−u


c


(0), respectively.




2.3 Construction of Process Step Response




Imagine that if the process input u(t) is of the unit type, then










Y


(
s
)


=


G


(
s
)





1
s

.






(
23
)













It seems very easy to obtain the corresponding y(t) by simply applying the inverse Fourier transform. However, since the steady state part of y(t) is not absolutely integrable, such a calculation is meaningless as discussed before. To solve this obstacle, denote the output response by y(t). It can be decomposed into








y


(


t


)=


y


(∞)+Δ


y


(


t


)=


G


(0)+Δ


y


(


t


).






Applying the Laplace transform to both sides gives










Y


(
s
)


=



G


(
0
)


s

+





{

Δ






y


(
t
)



}

.







(
24
)













Bring (23) in, we have










{

Δ






y


(
t
)



}


=




G


(
s
)


-

G


(
0
)



s

.











Applying, the inverse Laplace transform yields







Δ






y


(
t
)



=




-
1





{



G


(
s
)


-

G


(
0
)



s

}

.












Thus, using the IFFT, the process step response is constructed as










y


(
t
)





G


(
0
)


+


IFFT


(



G


(

j





ω

)


-

G


(
0
)




j





ω


)


.






(
25
)













2.4 Process Transfer Function




The open-loop identification method proposed before can be applied directly to estimate a FOPDT or SOPDTZ or even higher-order model




EXAMPLE




Consider a Plant












G


(
s
)


=



e

-
s




12


s
2


+

8

s

+
1


.











An unit step is performed for the system under closed-loop PI control, where k


c


=0.4 and T


i


=2. Using the proposed method, the estimated SOPDT model is









G
^



(
s
)


=


1.0001


e


-
0.9963


s





12.0643


s
2


+

8.0108

s

+
1



,










which is almost identical to the actual process. The identification errors are ε=4.91×10


−4


and E=0.35%. Under the same test condition, Suganda's method gives the model (Suganda et al. 1998):









G
^



(
s
)


=


1.0000


e


-
0.9945


s





12.0409


s
2


+

7.9810

s

+
1



,










where the identification errors are ε=2.85×10


−3


and E=0.45%. The improved accuracy is obvious, and this accuracy holds for other scenarios (Table 3).




Since the proposed method makes use of many points rather than one or two points on the process response and adopts a LS or an IV method, it is expected to be robust to noise. To demonstrate this, the process of







G


(
s
)


=


1.08


e


-
10


s






(

s
+
1

)

2




(


2

s

+
1

)

3













is tested in the noisy case. The identification results of the process under different noise levels are listed in Table 4. These simulation examples show that the proposed method works well even when there is large measurement noise present.




3 Identification from Cascade Relay Feedback




The proposed cascade relay feedback consists of a master relay in the outer loop and a slave relay in the inner loop, as shown in FIG.


3


. The slave relay is just a standard relay with amplitudes of the sampled output u


2


(k) being d


2


. With the inner loop closed, this relay can excite the process at the process critical frequency ω


c


sufficiently. In order to additionally provide effective excitations to the process at other frequencies while maintaining the process output oscillation, the master relay in the outer loop is introduced with its output amplitude of d


1


, and bias of μ


1


, and operated at the frequency of 0.5ω


c


. It is realized by











u
1



(
k
)


=

{






-


u
1



(

k
-
1

)



+

2


μ
1



,






if







e
1



(

k
-
1

)



<

0





and







e
1



(
k
)



>
0

;









u
1



(

k
-
1

)


-

2


d
1



,






if







e
1



(

k
-
1

)



>

0





and







e
1



(
k
)



<
0

;








u
1



(

k
-
1

)


,




otherwise
.









(
26
)













The sampled output u


1


(k) from the master relay is a periodic stair wave with three amplitudes of 2d


1





1


, μ


1


and −2d


1





1


. The introduction of this relay is to obtain persistent excitation at frequencies of 0.5ω


c


and 1.5ω


c


in addition to ω


c


. In this way, the process is stimulated by two different excitations whose periods are T


c


and 2T


c


respectively. The waveforms for u


1


, u


2


, u and the resultant output response are shown in FIG.


4


. The output will reach a stationary oscillation with the period close to 2T


c


. The bias μ


1


is introduced to reduce possible unnecessary switchings due to noise and disturbances. One can see that the difference between the master relay output and process output will determine switchings in the slave relay. Since output of the master relay has three values as 2d


1





1


, μ


1


and −2d


1





1


, a load disturbance noise will not cause any relay switching unless its amplitude is larger than μ


1


. Hence, a suitable μ


1


helps establish robust oscillations in the process output with two fundamental frequencies.




Due to two excitations in the input, y consists of frequency components at







2

π


T
c











and






π

T
c











and their odd harmonics








6

π


T
c


,


10

π


T
c


,










. . . , and








3

π


T
c


,


5

π


T
c


,










. . . , respectively. For a linear process, the process frequency response can be obtained with the Fourier analysis as











G


(

j






ω
t


)


=




0

2


T
c







y
s



(
t
)




e


-
j







ω
i


t









t






0

2


T
c







u
s



(
t
)




e


-
j







ω
i


t





t





,





i
=
1

,
2
,





,




(
27
)













where








ω
i

=



(


2

i

-
1

)


2

π



2
l



T
c




,





l
=
0

,
1
,










are the fundamental and their odd harmonic frequencies in u


s


and y


s


, u


s


and y


s


are a period (2T


c


) of the stationary oscillations of u(k) and y(k) respectively G(jω


1


) in (27) can be computed using the FFT algorithm (Morrison 1994) as







G


(

j






ω
i


)


=



FFT


(

y
s

)



FFT


(

u
s

)



.











Thus, multiple points on frequency response can be identified from a single relay test accurately. The proposed method employs the FFT only once and the required computation burden is modest. Moreover, in principle, the proposed method can be extended to find other points on the frequency response. One can realize the master relay and generate u


1


as a periodic stair wave with more amplitudes than 3, which will generate y consisting of frequency components other than ω


c





c


/2, and their odd harmonics. Another possible way is to use more than one cascade outer loop in a relay test and find more points on the frequency response in one relay test. Practically, the information of three points on the process frequency response available from the proposed cascade relay method is usually adequate to represent the process dynamics and tune a good controller. Though more points than those can be identified from the extension as mentioned above, the structure will inevitably become more complicated for implementation.




In a realistic environment, the major concerns for any identification method are disturbance and noise. It should be noted that the proposed estimation (27) is unaffected by a step-like load disturbance w in

FIG. 3

, which is a common case in practice. This can easily be shown from (27) as













0

2


T
c






[



y
s



(
t
)


+

w


(
t
)



]



e


-
j







ω
i


t





t






0

2


T
c






[



u
s



(
t
)


+

u
_


]



e


-
j







ω
i


t





t




=









0

2


T
c







y
s



(
t
)




e


-
j







ω
i


t





t



+

w




0

2


T
c






e


-
j







ω
i


t





t









0

2


T
c







u
s



(
t
)




e


-
j







ω
i


t





t



+


u
_





0

2


T
c






e


-
j







ω
i


t





t












=








0

2


T
c







y
s



(
t
)




e


-
j







ω
i


t





t






0

2


T
c







u
s



(
t
)




e


-
j







ω
i


t





t











=





G


(


i

)



,





i
=
1

,
2
,





,













where ω


i


has the same definition as in (27). As to the measurement noise n in the relay test, one can use a hysteresis (Astrom and Hagglund 1988) and/or a few periods of oscillations (Bi et al. 1997), depending on the noise level, to achieve the required degree of estimation robustness. It should also be noted that a non-zero initial condition of the process at the start of a relay test has no effect on the estimation because only stationary oscillations u


s


and y


s


after transient are used in the estimation, and they are independent of the initial condition.




The proposed identification method can be combined with some control tuning rules to form an auto-tuner for control systems. Due to the improved accuracy of the critical point estimation and the availablility of additional points, controllers can be fine-tuned. Most processes in the industry are open-loop stable, and it is conjectured (Astrom and Hagglund 1984b) that most of them will exhibit a stable limit cycle under the standard relay feedback. This is also true when the proposed cascade relay feedback is used. Extensive simulation also shows that stationary oscillation is obtained for most processes if the parameters are choose properly. In this section, relay parameter selection is discussed for the occurrence of stationary oscillation in the cascade relay test.




In general, processes are of high order and with certain nonlinearity. It is of common practice to use a first-order plus dead-time (FOPDT) model as an approximation to real processes (Luyben 1990):










G


(
s
)


=



K
p



τ





s

+
1





e

-
Ls


.






(
28
)













It can be shown (Wang and Zhang 2000) that Consider the cascade relay feedback system of

FIG. 3

with the process given by (28). If stationary oscillation with two different fundamental frequencies exists, then there hold d


2


K>0 and










μ
1

<

min



{



d
2


K

,


d
2



K


(


e

L
τ


-
1

)




}

.






(
29
)













This necessary condition obtained is helpful in choosing the bias μ


1


for FOPDT and higher order processes as well. Other parameters can be chosen as suggested for the standard relay feedback test (Hang et al. 1993). In practice, the relay amplitude is adjusted so that the oscillation at the process output is about three times the amplitude of the noise. The hysteresis width may be selected on the basis of the noise level, for instance, two times larger than the noise amplitude.




In what follows, the proposed cascade relay is simulated for various processes for illustration. The process frequency response at ω=π/T


c


, 2π/T


c


and 3π/T


c


is considered since the frequency response in this region is especially important to controller design. The comparison is made with standard relay (Astrom and Hagglund 1984b) and parasite relay test (Bi et al. 1997). The relay parameters in these three cases are chosen such that the resultant output oscillations have almost the same amplitudes. For the standard relay test, (??) is also applied where only one point is considered, i.e., ω


i





c


.




EXAMPLE




Consider a FOPDT process:







G


(
s
)


=


1


5

s

+
1





e


-
5


s


.












In our relay test, the slave relay amplitude d


1


is chosen as 1, the master relay height d


2


is set to 1, and its bias μ


1


is 0.5. For multiple-point estimation evaluation, the parasite relay test sets its standard relay amplitude as 0.5 and the parasitic relay height as 0.2×0.5 (Bi et al. 1997). For the standard relay test, its height is set as 1 and only one point ω


c


on process frequency response is available and then used for calculating its Ε. In the noise-free case, the identification error Ε is 0.30% for the cascade relay test, 0.31% for the parasite relay test and 11.19% for the standard relay test, respectively. Afterwards, noise is introduced with band-limited white noise module in Matlab. The first part of the response is the “listening period”, in which the noise bands of y(t) and u(t) are measured. Under this noise, the hystersis is here set as 0.3 for all these three relays. To reduce noise effect, especially in the case of large noise-to-signal ratio, we use the average of the last 2-4 periods of oscillations as the stationary oscillation period, depending on the noise level. Further, the accuracy of the standard relay test depends largely on the reliability of judging the period of the limit cycles. To derive a more accurate value of the period, ‘averaging’ technique (Wang et al. 1999b) is here applied over a reasonable number of zero crossings. With the use of hysteresis, the formula for calculating the ultimate gain is changed from (??) to (Hang et al. 1993)








k
u

=


4

d


π




a
2

-

ϵ
2






,










where ε is the hysteresis width, and the ultimate period can still be calculated from the period of oscillation on the ‘average’ bases. With these noise rejection technique, under NSR=29%, Ε is 1.87% for the cascade relay test, 6.83% for the parasite relay and 10.01% for the relay test, respectively. With averaging 4 periods of stationary oscillations, the estimated frequency-responses under noise of N


1


=29%, 41%, are shown in (a) of FIG.


5


and

FIG. 6

, respectively. Table 5 shows the identification accuracy under different relay tests with/without noise.




4 Single-Loop Controller Design Via IMC Principles




The schematic of the IMC system is depicted in

FIG. 7

, where G(s) is the given stable process to be controlled, Ĝ(s) a model of the process and C(s) the IMC primary controller. The design procedure for IMC systems is well documented (Morari and Zafiriou 1989). The model is factorized as








Ĝ


(


s


)=


Ĝ




+


(


s


)


Ĝ







(


s


),  (30)






such that Ĝ


+


(s) contains all the dead time and right half plane zeros of Ĝ(s):













G
^

+



(
s
)


=


e

-
Ls




(



i




1
-


β
i


s



1
+


β
i


s




)



,






Re


(

β
i

)


>
0

,




(
31
)













while Ĝ





(s) is stable and of minimum phase with no predictors. The primary controller takes the form:








C=Ĝ









−1


ƒ,  (32)






where ƒ is a user specified low-pass filter and usually chosen as











f


(

s
,

τ
cl


)


=

1


(



τ
cl


s

+
1

)

τ



,




(
33
)













where τ is sufficiently large to guarantee that the IMC controller C is proper. And τ


d


is the only tuning parameter to be selected by the user to achieve the appropriate compromise between performance and robustness and to keep the action of the manipulated variable within bounds. A smaller τ


d


provides faster closed-loop response but the manipulated variable is moved more vigorously, while a larger τ


d


provides a slower but smoother response. A larger τ


d


is also less sensitive to model mismatch. In process control practice, the closed-loop bandwidth ω


cb


can rarely exceed ten times of the open loop process bandwidth ω


pb


(Morarn and Zafiriou 1989), i.e., ω


cb


≦10 ω


pb


. Usually, the desired closed-loop bandwidth is chosen as ω


cb


=γω


pb


, γ ε [0.5,10]. Noting (34) with all-pass Ĝ


+


, it can be readily seen that











τ
cl

=




2
r

-
1



γω
pb



,





γ



[

0.5
,
10

]

.






(
34
)













For the case of no plant-model mismatch, the nominal closed-loop transfer function of the IMC system between the set point τ and output γis









H
=




G
^

+


f

=


(



i








1
-


β
i


s



1
+


β
i


s




)



1


(



τ
cl


s

+
1

)

r





e

-
Ls


.







(
35
)













The IMC system in

FIG. 7

can be formally redrawn into the equivalent single-loop (SL) feedback system in

FIG. 8

, if the SL controller G


c


is related to the IMC-controller C via











G
c



(

s
,

τ
cl


)


=



C


(

s
,

τ
cl


)



1
-


C


(

s
,

τ
cl


)





G
^



(
s
)





.





(
36
)













In Chien (1988), G


c


is chosen as the PID type. The value of τ


d


is set according to (34) as if the single-loop PID could achieve the same performance as the much complex IMC one can. The dead time is approximated by either a first-order Padé or a first-order Taylor series, and the PID parameters are obtained by matching the first few Markov coefficients of (36) for the selected specific process models. The results are listed in Table 6 (Chien 1988). However, it is noted that the use of Padé approximation or a first-order Taylor expansion introduces extra modeling errors. Furthermore, Chien's rules are only applicable to FOPDT and SOPDT processes tabulated in Table 6. Other processes have to be reduced to such models, and such a reduction may have bad accuracy or even have no solution. This inevitably restricts the general applicability of the method and the performance of the resulting controller.




The present work is to propose a new IMC based design methodology. It can yield the best single-loop controller approximation to the IMC controller regardless of process order and characteristics. The resulting single-loop performance can be better guaranteed and well predicted from the IMC counterpart. Our design idea is very simple: given the equivalent single-loop controller G


c


in (36), which may be unnecessarily or too complicated to implement, apply a suitable model reduction to obtain the best approximation Ĝ


c


to G


c


. If the user specifies the type of Ĝ


c


(say, PID), then the model reduction algorithm will generate its parameters. If the approximation accuracy is satisfactory, the design is completed; otherwise, we will adjust the IMC controller performance down until its single-loop approximation is satisfactory. On the other hand, if the user has no preference on controller structure, our algorithm starts with a PID type, and gradually increases the controller complexity such that the simplest approximation Ĝ


c


is attained with the guaranteed accuracy to G


c


. This allows a unified treatment of all cases and facilitates auto-tuning application.




A crucial issue in IMC-SL controller design is to get a suitable value for τ


d


which can lead to a good single-loop controller approximation to the corresponding IMC one. Note the inherent difference of IMC and SL systems in their configurations (FIG.


7


and

FIG. 8

) where the former has the output prediction while the latter does not. In fact, not all IMC systems can be approximated reasonably by single-loop systems. The τ


d


given by (34) is suitable for IMC systems, but it does not consider the performance limitations of single-loop feedback systems due to non-minimum phase zero and dead time. Such limitations are usually expressed by some integral relationships. Recently, Astrom (1999) proposed the following simple non-integral inequality for the gain cross-over frequency ω


og


of the open-loop transfer function ĜG


c


, where






|


G


(







og


)


G




c


(







og


, τ


d


)|=1  (37)






to meet








arg Ĝ




+


(







og


)≧−180°+φ


m




−arg




Ĝ







(







og


)


G




c


(







og


, τ


d


),  (38)






where φ


m


the desired phase margin, the selection of φ


m


reflects the control system robustness to the process uncertainty (Astrom 1999). A large φ


m


is required for a large uncertainty. In lack of information on uncertainty size, a typical range for φ


m


could be 30°-80°. Our design objective is to achieve a non-oscillatory response as specified by (74) and yet have the response as fast as possible. It approximately translates to a damping ratio of ξ=0.7, and the empirical formula φ


m


=100ξ(Franklin et al. 1990) yields an estimate of φ


m


as φ


m


=70° for ξ=0.7. Our studies suggest that φ


m


=65° be a good choice. With φ


m


specified, we then find the smallest τ


d


which satisfies (37) and (38).




In short, for single-loop controller design the tuning parameter τ


d


in the filter (33) should be, in general, chosen to meet both (34), (37) and (38) simultaneously. If the process is of minimum phase, (37), (38) vanishes and (34) is in action. On the other hand, if the process has any non-minimum element, our study shows that the τ


d


derived from (37) and (38) always appears in the range given in (34) so that (37) and (38) would be enough to determine τ


d


in this case. In the subsequent two sections, PID and general controllers will be considered respectively.




4.1 PID Controller




Owing to its simple structure, the PID controller is the most widely used controller (Astrom et al. 1993) in process industry, even though many advanced control algorithms have been introduced. Consider a PID controller in the form:











G
PID

=


k
c

+


k
i

s

+


k
d


s



,




(
39
)













where k


c


is the proportional gain, k


i


integral gain (units of time), and k


d


derivative gain (units of time). Our task is to find the three PID parameters, so as to match Ĝ


c


=G


PID


to






G
=

C

1
-

C


G
^














as well as possible. This objective can be realized by minimizing the loss function,











min

G
PID



J



=
Δ




min

G
PID







i
=
1

m





&LeftBracketingBar;



G
PID



(

j






ω
i


)


-

G


(

j






ω
i


)



&RightBracketingBar;

2

.







(
40
)













Rewrite (39) as









G
PID



(

j





ω

)


=



[
&AutoRightMatch;






1



1

j





ω





j





ω


&AutoLeftMatch;
]







[




k
c






k
i






k
d




]





=
Δ





φ
T



(

j





ω

)



θ



,










and substitute it into (40) for different frequencies ω


i


, i=1,2 , . . . , M, to get








min

G
PID



J

=


min
θ






i
=
1

M





&LeftBracketingBar;




φ
T



(

j






ω
i


)



θ

-


G
c



(

j






ω
i


)



&RightBracketingBar;

2

.













The design problem becomes











min
θ




&LeftDoubleBracketingBar;



Ψ
T


θ

-
Ω

&RightDoubleBracketingBar;

2


,




(
41
)













where








Ψ
T

=

[



1



1

j






ω
1






j






ω
1






1



1

j






ω
2






j






ω
2

















1



1

j






ω
M






j






ω
M





]


,







and






Ω

=


[





G
c



(

j






ω
1


)








G
c



(

j






ω
2


)













G
c



(

j






ω
M


)





]

.












Define








Φ
T

=

[




Re


(

Ψ
T

)







Im


(

Ψ
T

)





]


,







and






Γ

=

[




Re


(
Ω
)







Im


(
Ω
)





]


,










(41) can then be written as








min
θ




&LeftDoubleBracketingBar;



Φ
T


θ

-
Γ

&RightDoubleBracketingBar;

2


,










whose solution is obtained by the standard least squares method as






θ*=(ΦΦ


T


)


−1


ΦΓ,  (42)






to give the optimal PID parameters as [k*


C


k*


i


k*


d


]


T


=θ*. Our studies suggest that the frequency range [ω


l


, ω


M


] in the optimal fitting (40) be chosen as (0.1ω


cb


, ω


cb


) with the step of








(


1
100

~

1
10


)



ω
cb


,










where ω


cb


is the desired closed-loop bandwidth.




Once a PID controller is found from (83), the following criterion should be used to validate the solution:










E
=



max
ω



&LeftBracketingBar;





G
^

c



(

j





ω

)


-


G
c



(

j





ω

)





G
c



(

j





ω

)



&RightBracketingBar;



ϵ


,




(
43
)













where ε is the user-specified fitting error threshold. ε is specified according to the desired degree of performance, or accuracy of the SL approximation to the IMC one. Usually ε may be set as 3%. If (43) holds true, the design is completed.




On the other hand, if the given threshold cannot be met, one can always detune PID by relaxing the IMC specification, i.e., increasing τ


d


. A typical relationship between the tuning parameter τ


d


and the approximation error is shown in FIG.


9


. In general, Ε decreases as τ


d


increases. It provides a simple way to select a minimum τ


d


with respect to the specific accuracy threshold. In practice, however, it is inconvenient to draw such a curve. It is found that the decreasing rate, dΕ/dτ


d


, is highly influenced by plant dead time L and the right half plane (RHP) zeros β


i


, which limit the achievable bandwidth. ω


cb


is virtually unaffected by the presence of the filter (Rivera et al. 1986) until τ


d


reaches an order of magnitude comparable to the dead time and RHP zeros β


i


, respectively. Hence, it is effective and efficient to choose the increment of τ


d


in the PID detuning procedure as the maximum of L and Re β


i


, i.e.,










τ
cl

k
+
1


=


τ
cl
k

+


η
k



max


(

L
,

Re






β
i



)








(
44
)













where k represents the k-th iteration, and η is an adjustable factor reflecting the approximation accuracy of the present iteration and is set at ¼, ½ and 1, when 3% <Ε≦20%, 20% <Ε≦100% and 100% <Ε respectively. The iteration continues until the accuracy bound is fulfilled.




Our detuning rule (87) for τ


d


implicitly assumes that Ε would be sufficiently small when τ


d


is large enough. In this connection, it would be interesting to see if








lim


τ
cl

->




E

=
0.










Equation (34) can be rewritten as










ω
cb

=





2
r

-
1



τ
cl


.





(
45
)













When τ


d


increases to infinity, it is easy to see from (45) that









lim


τ
cl

->





ω
cb


=
0

,

G


(

j





ω

)












can be replaced by G(0), for ω≦ω


cb


, and G


c


becomes







1

G_


(
0
)



(



(



τ
cl


s

+
1

)

r

-
1

)



.










For







r
=
1

,


G
c

=

1

sG_


(
0
)














is a pure integrator and can be realized precisely by a PID controller with no error. In general, the Nyquist curve of G


c


(jω) for ω ε (0, ω


cb


) will approach a straight line, as shown in

FIG. 10

, when τ


d


tends to infinity. Note that the Nyquist curve for the PID controller is always a vertical straight line, and can match that of G


c


(jω) as well as desired for τ


d


→∞. One thus expects Ε to converge to 0 as τ


d


approaches infinity.




We now present simulation examples to demonstrate our PID tuning algorithm and compare it with the original IMC, Chien (1988) and the normal PID tunings when possible. Chien (1988) used the following PID form









G
~

PID

=


k
c



(

1
+

1


T
I


s


+



T
D


s





T
D

N


s

+
1



)



,










where the PID settings are given in Table 6. The ideal PID controller in (39) used for our algorithm development is not physically realizable and thus replaced by










G
PID

=


k
c

+


k
i

s

+




k
d


s





k
d

N


s

+
1


.






(
46
)













In both cases, N is chosen as 20 as usual. The simulations are done under the perfect model matching condition, i.e., Ĝ=G. To have fair and comprehensive assessment of controller performance, most performance indices popularly used in process control are measured and they include both time domain ones such as overshoot in percentage (M


p


), rising time (from 10% to 90%) in seconds(t


τ


), setting time (to 1%) in seconds(t


s


), integral absolute-error (IAE=∫


0







|τ−y|dt where the upper limit ∞ may be replaced by T, which is chosen sufficiently large so that e(t) for t>T is negligible), and integral absolute-error of load disturbance response (IAE


load


); and frequency domain one Ε defined in (43). They are tabulated in Table 7.




EXAMPLE




Consider a high order and oscillatory process with multiple lags:






G
=



e


-
0.5


s




(


s
2

+
s
+
1

)




(

s
+
2

)

2



.











When φ


m


=65°, one can readily find ω*


og


=0.4898 rad/sec, and τ*


d


=0.3922. For Chien's method, since this type of process is not covered in Table 6, it is reduced (Ho et al. 1995) to a SOPDT model:







G
^

=



0.25


e


-
2.0061


s





(


0.5531

s

+
1

)

2


.











With τ


d


=0.3922, Chien's rule gives









G
~

PID

=

1.8450


(

1
+

0.9040
s

+


0.2766

s




0.2766
N


s

+
1



)



,










while ours produces










G
PID

=

2.6901
+

1.9433
s

+



3.1620

s




3.1620
N


s

+
1


.






(
47
)













Though the IMC design yields perfect control, the proposed method has the approximation error Ε=48.14%, which can not fulfill the accuracy threshold, and the closed-loop response is very poor, as shown in FIG.


11


(


a


), but it is still better than Chien's results. Then τ


d


is adjusted to τ


d




1





d




0


+0.5L=0.3922+0.25=0.6422 according to the proposed tuning rule (87). The new τ


d


results in








G
~

PID

=

1.6708



(

1
+

0.9040
s

+


0.2766

s




0.2766
N


s

+
1



)

.












by Chien (1988) and










G
PID

=

1.6072
+

1.3045
s

+


1.3177

s




1.3177
N


s

+
1







(
48
)













by our method. The approximation error Ε of the proposed method has achieved the specified approximation accuracy Ε≦3%. The closed-loop responses are shown in FIG.


11


(


b


). One observes that our design yields great improvement over Chien's method and the difference between our SL system and the original IMC system now becomes invisible.




It can be seen from the simulation study in Table 7 that the proposed method always yields a PID controller with much better approximation to the IMC counterpart than Chien's method, regardless of what τ


d


is chosen. Our experience indicates that for FOPDT and SOPDT processes tabulated in Table 6 and slow closed-loop response requirement of








τ
cl

>




2
r

-
1



ω
pb



,










both the proposed IMC-PID method and Chien's rules generate responses close to the IMC counterpart. Especially, the proposed method can always achieve Ε<3%, and thus the closed-loop performance can be well predicted from the corresponding IMC system. But, when fast closed-loop response, generally ω


cb





pb


, i.e.,








τ
cl

<




2
r

-
1



ω
pb



,










is required, the proposed method shows significant improvement over Chien's rules. The improvement is also evident for complex processes with slow responses. Moreover, under fast response requirement, ω


cb





pb


, PID controller derived from Chien's rules may cause large peaks in the manipulated variable, which is harmful to the system. It is however noticed for high-order processes with fast responses, none of the above two IMC-PID methods is able to generate PID systems similar to IMC ones. It implies that controller in the PID form is insufficient to obtain the desired performance. In this case, a higher-order of controller has to be considered for a better fitting and performance.




4.2 High-Order Controller




Here, model reduction is employed to find the lowest high-order of controller, which may achieve a specified approximation accuracy. A number of methods for rational approximation are surveyed by Pintelon et al. (1994). The recursive least squares (RLS) algorithm is suitable for our application and is briefly described as follows. The problem at hand is to find a nth-order rational function approximation:











G
^

c

=




b
n



s
n


+


b

n
-
1




s

n
-
1



+

+


b
1


s

+

b
0




s
n

+


a

n
-
1




s

n
-
1



+

+


a
1


s







(
49
)













with an integrator such that









J


=
Δ






i
=
1

M



|


W


(

j






ω
i


)




(




G
^

c



(

j






ω
i


)


-


G
c



(

j






ω
i


)



)




|
2

.






(
50
)













is minimized, where the original function G


c


and weighting W are given. The cost function J is rewritten as













J

(
k
)




=
Δ










i
=
1

M



|








W


(

j






ω
i


)




&AutoLeftMatch;



(

j






ω
i


)

n

+



a

n
-
1


(

k
-
1

)




(

j






ω
i


)



n
-
1


+

+

&AutoRightMatch;




a
1

(

k
-
1

)




(

j






ω
i


)










{



[




b
n

(
k
)




(

j






ω
i


)


n

+





&AutoRightMatch;





b

n
-
1


(
k
)




(

j






ω
i


)



n
-
1



+

+


b
1

(
k
)




(

j






ω
i


)


+

b
0

(
k
)



]


-



G
c



(

j






ω
i


)




[



(

j






ω
i


)

n

+



a

n
-
1


(
k
)




(

j






ω
i


)



n
-
1


+

+


a
1

(
k
)




(

j






ω
i


)



]






}



|
2


,




(
51
)













where k denotes the index for the kth recursion in the iterative weighted linear least squares method, and let








W
_



(

j





ω

)


=


W


(

j






ω
i


)





(

j






ω
i


)

n

+


&AutoLeftMatch;


a

n
-
1


(

k
-
1

)




(

j






ω
i


)


&AutoRightMatch;


n
-
1


+

+


a
1

(

k
-
1

)




(

j






ω
i


)














operates as a weighting function in the standard least squares problem and it depends on the parameters generated in the last recursion. We might choose W=1/G


c


, and thus the loss function is the relative approximation error. However, simulation study shows little improvement over the case without weighting. As a result, to simplify algorithm, here, the {overscore (W)} is chosen as 1 and standard LS is applied in each iteration. On convergence, the resultant parameters will form one solution to (50). To derive the relevant recursive equations, we re-arrange (51) to yield the matrix equation:






η


k





k




T


θ


k


,






where




η


k


=−G


c


(jω


i


)(jω


i


)


n


,




θ


k


=[b


(k)




n−


. . . b


1




(k)


a


(k)




n−1


. . . a


1




(k)


a


0




(k)


]


T


,




φ


k


=[G


c


(jω


i


)(jω


i


)


n−1


. . . G


c


(jω


i


)(jω


i


)−(jω


i


)


n


−(jω


i


)


n−1


. . . −(jω


i


)−1]


T


.




Like the LS algorithm, the frequency range in RLS is also chosen as (0.1ω


cb


, ω


cb


) with the step of







(


1
100

~

1
10


)




ω
cb

.











In this range, RLS yields satisfactory fitting results in frequency domain.




From the typical relationship of the relative fitting error Ε defined in (43) and the rational approximation order n shown in

FIG. 12

, we can see that Ε decreases, as n increases, and then we try to find the minimum n which achieves the approximation bound ε=3% under a user specified τ


d


. In general, if faster response is required, higher-order controller has to be used.




The above algorithm deals with the problem of approximating a given, probably non-rational transfer function by a rational function. Error bounds for such approximation have been investigated (Yan and Lam 1999). Wahlberg and Ljung (1992) proposed the approach based on weighted least-squares estimation, and provided hard frequency-domain transfer function error bounds. However, it is not easy to calculate such a bound, and the convergence of estimation has not been addressed. In our work, we use a maximum likelihood index Ε to evaluate the approximation accuracy, and assume that the accuracy threshold can be achieved when the controller order is high enough.




When a τ


d


is chosen, we first find the PID controller with the standard least squares method and evaluate the corresponding approximation error Ε in (43) as described in the proceeding section. If Ε can not achieve the specified approximation accuracy ε (usually 3%), we recommend high-order controller in equation (49), and start from a controller order of 2 until the smallest integer n such that Ε≦ε.




Tuning Procedure




Step 1. Find the smallest τ*


d


from (37) and (38), and let τ


d




0


=τ*


d


.




Step 2. Find the PID controller from (83) and evaluate the corresponding approximation error Ε in (43). If Ε achieves the specified approximation accuracy ε (usually 3%), end the design.




Step 3. Otherwise, we have two ways to solve this problem: if PID controller is desired, update τ


d


by (87), and go to Step 2; else, go to Step 4.




Step 4. Adopt the high-order controller in (49), start from a controller order of 2 until the smallest integer n is reached with Ε≦ε.




EXAMPLE




Reconsider











G
=


e


-
0.5


s




(


s
2

+
s
+
1

)




(

s
+
2

)

2













in Table 7, for which τ


d




0


0.3922 and a PID has been obtained there with Ε=48.14%. For high order controller, our procedure ends with












G
^

c

=



21.5908


s
3


+

51.1474


s
2


+

50.7811

s

+
29.3979



s
3

+

1.6972


s
2


+

15.2131

s




,




(
52
)













with the fitting error Ε less than ε=3%, The closed-loop step responses are shown in

FIG. 13

, and their performance indices are also tabulated in Table 7. We can see that the new controller Ĝ


c


restores the IMC performance, while the previous PID controller in (47) is not capable if that under such a tight performance specification.




If τ


d


is chosen to be smaller than the value suggested by Astrom's rule (37) and (38), this breaks the limitation of single-loop feedback systems, and then no single-loop controller solution with stability could be found for the corresponding IMC system. For instance, in the above example, choose τ


d


50% less than τ


d




0


, i.e., τ


d


=0.1961, we could not find a controller in form of (49) with Ε less than 3%, which implies that SL controllers are unlikely to achieve the performance tighter than that specified by (37) and (38).




It is observed from the simulation study that usually, the approximation error magnitude of high-order controller obtained by the RLS is in an order of 10


−4


or less, the controller order is less than 5, and the controller yields the closed-loop response very close to that of IMC loop provided that τ


d


is set by (37) and (38). The high-order controller does provide significant performance enhancement over PID for complex processes. The proposed method is a simple, effective, and efficient way to design such high performance controllers.




Reconsider







G
=


K






e


-
0.5


s





(


s
2

+
s
+
1

)




(

s
+
2

)

2




,










with the nominal K=K


0


=1. When τ


d


=0.6422, the proposed method yields a PID controller in (48) and the nominal performance is shown in FIG.


14


(


a


). It can be seen that the system is indeed nominally stable. To see robustness, introduce a 50% perturbation in gain K, giving K


1


=1.5×1=1.5. FIG.


14


(


b


) show the resulting performances, and indicate that the single-loop PID controller G


PID


derived from the proposed method exhibits similar robust performance as IMC loop does.




When τ


d


=0.3922, the proposed method yields a 3th-order controller in (52) and the nominal performance is shown in FIG.


14


(


c


). We also introduce a 50% perturbation in gain, giving K


2


=1.5×1=1.5. FIG.


14


(


d


) shows the resulting performance, which is still stable, but not as robust as that shown in FIG.


14


(


b


) for τ


d


=0.6422.




5 Multivariable Process Identification




Here, we assume that the process to be identified is linear time-invariant, and that the test signals to be applied for identification purpose are persistently exciting, which roughly implies that all modes of the process can be excited during the identification experiment (Soderstrom and Stoica 1989). Consider a feedback system shown in

FIG. 2

, where G


c


is the controller, and the m×m linear process is described by








Y


(


s


)=


G


(


s


)


U


(


s


),  (53)






with the output vector








Y


(


s


)=[


Y




1


(


s


)


Y




2


(


s


) . . .


Y




m


(


s


)]


T


,






the input vector








U


(


s


)=[


U




1


(


s


)


U




2


(


s


) . . .


U




m


(


s


)]


T


,






and the process transfer function matrix G={G


ij


(s)}, i,j=1,2 , . . . , m. For later use, partition the m×m identity matrix I as








I=[e




1




e




2




. . . e




m


].  (54)






The idea of the proposed method is to calculate the process frequency response C(jω) using the FFT (Subsection 5.2), construct for each entry the open-loop step response from G


ij


(jω) using the IFFT and then estimate a transfer function from such a response (Subsection 5.3). But before these descriptions, we need to discuss different tests (Subsection 5.1) to which our identification method is applicable.




5.1 Test




Some test has to be conducted on a given process to enable identification. Various aspects of test should be considered. The first thing is the type of test signals. The most popular are step and relay. The second thing is the operation mode during the experimental test. It could be in open-loop mode without a controller or in closed-loop mode with a controller in action. The third thing is how to configurate the test for a multivariable process, and there could be three possible schemes:




(i) Independent test: A test is applied to only one loop at a time and released once a steady state, i.e., constant steady state or stationary oscillations (Chen 1993), is reached, and is repeated until all the m tests each on one loop are performed.




(ii) Sequential test: A test is first applied to the first loop while all other loops are kept unattached. Then a test is made in the second loop while the previous change in the first loop is still in place. The procedure is repeated until the m-th loop.




(iii) Decentralized test: All m test signals are applied to m loops simultaneously.




Independent test is quite time consuming since a next test can be activated only when the process has been brought back to its original steady state after each individual test. Decentralized test may generate messy responses (Loh and Vasnani 1994), which is difficult to analyze and predict. The sequential test is thus adopted in this chapter. Under such a scheme, there are four typical combinations of test:






Case 1: Open-loop (sequential) step test;








Case 2: Closed-loop (sequential) step test;








Case 3: Open-loop (sequential) relay test;








Case 4: Closed-loop (sequential) relay test.  (55)






It should be stressed that the identification method to be presented below is not restricted to these four cases only, but also applicable to other cases provided that each test leads to a steady state.




To unify the presentation for all the cases, we introduce a vector υ(t):







v


(
t
)


=

{





u


(
t
)


,





open


-


loop





test

,







r


(
t
)


,





closed


-


loop





test

,















where u(t) is the input to plant and r(t) the set-point to the closed-loop of FIG.


2


. Let 1(t) and γ(t) be the step function with unity size and the relay function with unity magnitude, respectively. The types of test signal are reflected by the elements of υ(t):











v
i



(
t
)


=

{






α
i


1


(
t
)


,




step
,








β
i



γ


(
t
)



1


(
t
)


,




relay
,









(
56
)













where α


i


and β


i


are the size and amplitude of the step and relay, respectively. Then the m tests υ


i


in a sequential experiment over the time span of [t


0


, t


m


] with test periods, [t


i−1


, t


i


], i=1,2, . . . , m, can be expressed as










v


(
t
)


=

{







v
1



(
t
)


=



v
1



(
t
)




e
1



,






t
0

=

0

t
<

t
1



,









v
i



(
t
)


=




v
i



(
t
)




e
i


+


v

i
-
1




(
t
)




,






t

i
-
1



t
<

t
i


,





i
=
2

,
3
,





,
m
,









(
57
)













where e


i


is the i-th column of the m×m identity matrix defined in (54), and t


0


=0 is the start time for the experiment while t


i


is the end time for the i-th test when the system has entered the steady state.




The sequential experiment on an m×m process is actually executed as. follows:




Initialization: Bring the process to constant steady states y(0) and u(0) at t


0


=0. Specify the step sizes α


i


or the relay amplitudes β


i


, i=1,2, . . . , m.




Test 1: Apply a test of the given type and magnitude to the first input υ


1


, while keeping all other inputs υ


i


unchanged, that is, υ=υ


1


. Wait for the system to settle down at t=t


1


, that is, the output y has reached a constant steady state under the step test or stationary oscillations under the relay test.




Test i: Let υ=υ


i


as shown in (57) and apply it to the system at t=t


i−1


, i=2,3, . . . , m, until the system settles down again at t=t


i


.




Regardless of different test cases (55), we always collect the process output and input responses from all these m tests, and denote them by {u(t),y(t),t ∈[t


0


, t


m


]}.




5.2 Process Frequency Response




The processing steps of Subsections 5.2 and 5.3 are to find the open-loop step response for every entry of the process transfer matrix. They are not required for Case 1 where such step responses are already available. It can be seen from (53) that if one has m independent output and input frequency response vectors {tilde over (Y)}


i


(jω) and Ũ


i


(jω), the process frequency response matrix G(jω) can be then obtained from the equation:






[


{tilde over (Y)}




1


(


j


ω)


{tilde over (Y)}




2


(


j


ω) . . .


{tilde over (Y)}




m


(


j


ω)]=


G


(


j


ω) [


Ũ




1


(


j


ω)


Ũ




2


(


j


ω) . . .


Ũ




m


(


j


ω)].






Our task now is to construct m independent time response vectors {tilde over (y)}


i


(t) and ũ


i


(t) from the recorded process output and input responses y(t) and u(t) such that for each i, {tilde over (y)}


i


(t) and ũ


i


(t) have zero initial conditions at start and steady states in the end, so that their frequency responses {tilde over (Y)}


i


(jω) and Ũ


i


(jω) meet {tilde over (Y)}


i


(jω)=G(jω)Ũ


i


(jω). For Case 2 of a step test, the i-th test starts usually with the non-zero initial conditions y(t


i−1


) and u(t


i−1


), and ends with new constant steady states y(t


i


) and u(t


i


). If the output and input are subtracted by their initial conditions respectively, the resulting signals will have zero initial conditions at t=t


i−1


and constant steady states at t=t


i


. Thus we form from y and u the following modified signals:








{tilde over (y)}




i


(


t


)=


y


(


t


)−


y


(


t




i−1


),


t




i−1




≦t<t




i




, i=


1,2,


. . . , m,


  (58a)










ũ




i


(


t


)=


u


(


t


)−


u


(


t




i−1


),


t




i−1




≦t<t




i




, i=


1,2,


. . . , m.


  (58b)






For the experiment which leads to stationary oscillations (e.g. Case 3 and Case 4), making {tilde over (y)}(t


i−1


)=0 only is not enough since its derivations could still be non-zero. Instead, let us imagine that for each i, the i-th test lasts beyond t=t


i


until t=t


m


without activating the subsequent tests, then the last cycle of stationary oscillations y


s




i


(t) and u


s




i


(t) sustained before t=t


i


will be repeated till t=t


m


. One can thus define for each i












y
~

i



(
t
)


=

{






y


(
t
)


-

y


(
0
)



,





0

t
<

t
i


,









y
s
i



(
t
)


-

y


(
0
)



,






t
i


t


t
m


,









(59a)













and












u
~

i



(
t
)


=

{






u


(
t
)


-

u


(
0
)



,





0

t
<

t
i


,









u
s
i



(
t
)


-

u


(
0
)



,





t
i


t



t
m

.










(59b)













Note that in step case {tilde over (y)}


i


and ũ


i


have different time spaces of [t


i−1


, t


i


] while in relay case they have the same space of [0, t


m


]. {tilde over (y)}


i


(t) and ũ


i


(t) have transients and do not decay to zero. They are thus neither absolutely integrable nor periodic, and cannot be treated directly using Fourier transform to get the process frequency response C(jω) (Wang et al. 1997). Decompose the responses into the transient parts and steady state parts as








{tilde over (y)}




i


(


t


)=Δ


{tilde over (y)}




i


(


t


)+


{tilde over (y)}




s




i


(


t


),


i


=1,2,


. . . , m,


  (60a)










ũ




i


(


t


)=Δũ


i


(


t


)+


ũ




s




i


(


t


),


i=


1,2,


. . . , m,


  (60b)






Under each test i, {tilde over (y)}


i


(t) and ũ


i


(t) have almost entered the steady states at t=t


i


, and both Δ{tilde over (y)}


i


(t) and Δũ


i


(t) are approximately zero afterwards. The Fourier transform of Δ{tilde over (y)}


i


(t) then gives its frequency response






Δ


{tilde over (Y)}




i


(


j


ω)=∫


0









Δ{tilde over (y)}




i


(


t


)


e




−jωt




dt.


  (61)






In practice, (61) is approximated by






Δ


{tilde over (Y)}




i


(


j


ω)≈∫


t






i








S






t






i








E






Δ{tilde over (y)}




i


(


t


)


e




−jωt




dt,


  (62)






where the start time t


i




S


and the end time t


i




E


are defined as







t
S
i

=

{





t

i
-
1


,





Case





2

,






0
,





Case





3





or





4

,















and







t
E
i

=

{





t
i

,





Case





2

,







t
m

,




Case





3





or





4.















(62) can be computed at discrete frequencies using the standard FFT technique, which is a fast algorithm for calculating the discrete Fourier transform (DFT).




If the test (say, a step test) gives a constant steady state of the output, {tilde over (y)}


i


(t


i


), we have













Y
~

s
i



(

j





ω

)


=




y
~

s
i



(

t
i

)



j





ω



,





i
=
1

,
2
,





,

m
.





(
64
)













On the other hand, if the test (e.g. relay) causes stationary oscillations, it then follows from Kuhfitting (1978) that













Y
~

s
i



(

j





ω

)


=


1

1
-

e


-
j






ω






T
i











t
i

-

T
i



t
i







y
~

s
i



(
t
)




e


-
j







ω


(

t
+

T
i

-

t
i


)







t





,




(
65
)













where T


i


is the period of the stationary oscillations of {tilde over (y)}


s




i


. Similarly, the following expression can be obtained:












U
~

s
i



(

j





ω

)


=

{








u
~

s
i



(

t
i

)



j





ω


,





step test

,








1

1
-

e


-
j






ω






T
i











t
i

-

T
i



t
i







u
~

s
i



(
t
)




e


-
j







ω


(

t
+

T
i

-

t
i


)







t




,





relay test

.









(
66
)













For each test i, it follows from (53) that there holds the frequency response relation:








{tilde over (Y)}




i


(





)=


G


(





)


Ũ




i


(





),


i=


1, 2, . . .


m,


  (67)






where








{tilde over (Y)}




i


(





)=Δ{tilde over (Y)}


i


(





)+{tilde over (Y)}


s




i


(





),  (68a)










Ũ




i


(





)=Δ


U




i


(





)+


U




s




i


(





)  (68b)






are obtained from (61)-(66). Collecting (67) for all i gives








{tilde over (Y)}


(





)=


G


(





)Ũ(





),  (69)






where








{tilde over (Y)}


(





)=[{tilde over (Y)}


1


(





){tilde over (Y)}


2


(





) . . . {tilde over (Y)}


m


(





)],










Ũ


(





)=[Ũ


1


(








2


(





) . . . {tilde over (Y)}


m


(





)].






All three cases (2, 3, 4) give an invertible Ũ, and then the process frequency response can be calculated by











G


(

j





ω

)


=


[


Δ








Y
~

1



(

j





ω

)



+




Y
~

s
1



(

j





ω

)













Δ








Y
~

m



(

j





ω

)



+



Y
~

s
m



(

j





ω

)



]

·


[


Δ








U
~

1



(

j





ω

)



+




U
~

s
1



(

j





ω

)













Δ








U
~

m



(

j





ω

)



+



U
~

s
m



(

j





ω

)



]


-
1




,




(
70
)













which is valid at all ω ε [0, ∞) for Case 2 and Case 4, and at ω ε (0, ∞) for Case 3. For ω=0 in Case 3, we can determine the static gain of the process from output and input steady states by








G


(0)=[


{tilde over (y)}




s




1


(


t




1


) . . . {tilde over (y)}


s




m


(


t




m


)][


ũ




s




1


(


t




1


) . . .


ũ




s




m


(


t




m


)]


−1


  (71)






5.3 Construction of Process Step Response and Process Transfer Function




Once the frequency response matrix G(jω) of the process is obtained, process step response can be constructed for each element, and for which a transfer function can be further estimated. Since this construction involves only single-input and single-output problem in an elementwise way, method discussed in closed-loop identification can be applied to construct the step response. To further produce a FOPDT/SOPDTZ or higher-order transfer function, the open-loop step identification method presented can be applied.




5.4 Identification Algorithm




The proposed identification algorithm is summarized as follows:




Initialization: Bring the process to the constant steady states. Specify test type (relay or step), their sizes and the test mode (open-loop or closed-loop).




Step 1: Perform the sequential experiment and record all the process input and process output responses.




Step 2: For Case 1, go to Step 4 directly. Otherwise, Calculate the frequency response G(jω)).




Step 3: Construct the process step response.




Step 4: Estimate the FOPDT or SOPDTZ models with the open-loop process identification method.




EXAMPLE




Consider the well-known Wood/Berry (WB) binary distillation column plant (Wood and Berry 1973).







G


(
s
)


=


[





12.8


e

-
s





16.7

s

+
1







-
18.9



e


-
3


s





21

s

+
1








6.6


e


-
7


s





10.9

s

+
1







-
19.4



e


-
3


s





14.4

s

+
1





]

.











Suppose that the process is under the control of a decentralized PI controller (Luyben 1986):








K


(
s
)


=

[




0.38
+

0.045
s




0




0




-
0.075

-

0.0032
s





]


,










and the process is at a constant steady state. With the controller in action, a closed-loop sequential relay feedback experiment is carried out on top of it. A relay with the amplitude of 1 and the bias of 0.1 is first applied to the first loop while the second loop is kept unattached. When stationary oscillations are reached at t=200, a relay test is made in the second loop with the amplitude of 1 and the bias of 0.1 till t=400, while the previous change in the first loop is still in place. Then the proposed method gives the estimated model:









G
^



(
s
)


=

[





12.8000


e


-
1.0009


s





16.7050

s

+
1







-
18.9000



e


-
3.0009


s





21.0050

s

+
1








6.6000


e


-
7.0009


s





10.9050

s

+
1







-
19.4000



e


-
3.






0009

s





14.4050

s

+
1





]


,










where the errors are






ϵ
=

[




0.006227

%






0.01352

%




]











and







E
=

[




0.1458

%




0.0562

%






0.0563

%




0.0639

%




]


,










respectively.




Suppose now that some fast dynamics is taken into consideration to get







G


(
s
)


=


[





12.8


e

-
s





16.7

s

+
1







-
18.9



e


-
3


s





(


21

s

+
1

)




(


0.5

s

+
1

)

3









6.6


e


-
7


s





10.9

s

+
1







-
19.4



e


-
3


s





(


14





.4

s

+
1

)




(


2

s

+
1

)

3






]

.











The identified FOPDT model is









G
^



(
s
)


=

[





12





.8000


e


-
1.0012


s





16.100

s

+
1







-
18






.9000


e


-
4.5010


s





21





0084

s

+
1








6.6000


e


-
7.0011


s





10





.9053

s

+
1







-
19.400



e


-
8.5038


s





17.2503

s

+
1





]


,




with




ϵ
=

[




0.2883

%






0.03272

%




]











with




and







E
=

[




0.1461

%




3.4834

%






0.0564

%




10.0421

%




]


,










respectively. As expected, a larger error in Ĝ


22


(S) than that in Ĝ


12


(s) exists where the impact of the fast dynamics is more severe. To improve the accuracy, second-order models for G


12


(s) and G


22


(s) are identified to yield









G
^



(
s
)


=

[





12





.8000


e


-
1.0012


s





16.7100

s

+
1







-
18.9000



e


-
3.7772


s





15.2929


s
2


+

21.7327

s

+
1








6.6000


e


-
7.0011


s





10.9053

s

+
1







-
19.400



e


-
5.6027


s





50.2513


s
2


+

17.7990

s

+
1





]


,










with






ϵ
=

[




0.09282

%






0.02502

%




]











and







E
=

[




0.1461

%




2.7190

%






0.0564

%




3.5746

%




]


,










respectively. It is also possible to produce third-order models for G


12


(s) and G


22


(s) to get








G
^



(
s
)


=

&AutoLeftMatch;


[





12





.8000


e


-
1.0012


s





16.7100

s

+
1






-




-
2.2690



s
2


+

101.6138

s

+
18.9000



68.9655


s
3


+

129.4690


s
2


+

27.0897

s

+
1





e


-
3.8684


s









6.6000


e


-
7.0011


s





10.9053

s

+
1






-



21.7813


s
2


+

12.8672

s

+
19.4



78.1250


s
3


+

71.6719


s
2


+

19.0391

s

+
1





e


-
5.0823


s






]

,












with even smaller errors






ϵ
=

[




0.07213

%






0.01855

%




]











and







E
=

[




0.1461

%




1.6266

%






0.0564

%




0.2912

%




]


,










respectively. It is however noticed that SOPDT models have achieved good accuracy.




Since the proposed method makes use of many points rather than one or two points on the process response and adopts a LS or an IV method, it is expected to be robust to measurement noise. To demonstrate this, the WB process is again tested under different noise levels. For comparison, the Melo's method (Melo and Friedly 1992) for the estimation of the process frequency response is also tested under the same conditions. The results are listed in Table 8. The robustness of the proposed method is evident. FIG.


15


and

FIG. 16

show the Bode plots for G


11


and G


22


of this WB plant under NSR=30%, respectively, where the dashed line is for the actual plant, solid line for the model from our method, ‘x’ for the proposed FFT algorithm without further IFFT and transfer function modeling while ‘o’ for Melo's method.




6 IMC-Based Controller Design for MIMO System




For MIMO IMC system shown in

FIG. 8

, Ĝ is assumed to be identical with G and be square:












G
^



(
s
)


=


G


(
s
)


=

[





g
11



(
s
)









g

1

m




(
s
)



















g
m1



(
s
)









g
mm



(
s
)





]



,




(
72
)













where








g




ij


(


s


)=


g




ij0


(


s


)


e




−L






ij






s


,






and g


ij0


(s) are strictly proper, stable scalar rational functions and L


ij


are non-negative constants.




Following Wang et al. (1999c), the decoupled closed-loop transfer function matrix of the IMC system is given by









GC
=


diag


{

h
ii

}


=


diag


{



g
~

ii



c
ii


}


=

diag



{




&LeftBracketingBar;
G
&RightBracketingBar;


G
ii




c
ii


,

i
=
1

,
2
,





,
m

}

.








(
73
)













The performance limitations for IMC systems imposed by the non-minimum phase zeros and time delays, which are inherent in a particular loop, is taken into account in Wang et al. (1999c). Thus the resultant closed-loop systems, h


tt


, is given in terms of their unavoidable non-minimum elements,











h
ii

=





β
hi



{


Z

&LeftBracketingBar;
G
&RightBracketingBar;

+

|


ζ
hi

>
0


}







(



β
hi

-
s



β
hi

+
s


)


ζ
hi





f
i



(
s
)




e


-

γ
hi



s





,



i

m


,




(
74
)













where ζ


hi





z


(|G|)−ζ


i


(z), γ


hi


=max(γ(|G|)−γ


i


, 0), ζ


i


and γ


i


are defined as








ζ
i



=
Δ




min

j


J
i





ζ


(

G
ij

)




,






γ
i



=
Δ




min

j


J
i





γ


(

G
ij

)




,










respectively (see (Wang et al. 1999c) for more detail). ƒ


i


(s) is the ith loop IMC filter, which is chosen as






1



τ
cli


s

+
1











through out the presentation here.




Like SISO system, the IMC system is equivalent to classic feedback system, if the feedback controller G


c


is related to the IM(C controller C via










G
c

=


C

1
-
GC


=


[





c
11


1
-



&LeftBracketingBar;
G
&RightBracketingBar;


G
11




c
11








c
12


1
-



&LeftBracketingBar;
G
&RightBracketingBar;


G
22




c
22











c

1

m



1
-



&LeftBracketingBar;
G
&RightBracketingBar;


G
mm




c
mm
























c
m1


1
-



&LeftBracketingBar;
G
&RightBracketingBar;


G
11




c
11








c
m2


1
-



&LeftBracketingBar;
G
&RightBracketingBar;


G
22




c
22











c
mm


1
-



&LeftBracketingBar;
G
&RightBracketingBar;


G
mm




c
mm







]

.






(
75
)













Thus, if each diagonal element g


c






ii




is designed as











g

c
ii


=


c
ii


1
-



g
~

ii



c
ii





,





i.e.,





(
76
)








g

c
ii


=



h
ii


1
-

h
ii






g
~

ii

-
1




,




(
77
)













and the off-diagonal elements g


c






ji




are chosen as











g

c
ji


=



c
ji


1
-



&LeftBracketingBar;
G
&RightBracketingBar;


G
ii




c
ii




=



G
ij


G
ii




g

c
ii





,

j

i

,




(
78
)













the open-loop transfer matrix of the classic feedback system, Q=GG


c


, must be diagonal










GG
c

=


diag


{



&LeftBracketingBar;
G
&RightBracketingBar;


G
ii




g

c
ii



}


=


diag


{



g
~

ii



g

c
ii



}


=

diag



{



h
ii


1
-

h
ii



,

i
=
1

,
2
,





,
m

}

.








(
79
)













In h


ii


, τ


cli


is the only tuning parameter to be selected by the user, which can lead to a good ith-loop controller approximation to the corresponding IMC one. With h


ii


specified in (73), the ideal diagonal elements of the controller can be obtained from (77). The corresponding decoupling off-diagonal elements g


c






ji




(s) of the controller are determined individually by solving (78).




However the ideal controller, is generally highly complicated and/or unrealizable. One notes that for a given i, (79) is independent of the controller off-diagonal elements, but contains only the controller diagonal element g


c






ii




and {tilde over (g)}


ii


can be regarded as the equivalent process that g


c






ii




faces. g


c






ii




can then approximated by ĝ


c






ii




with respect to the equivalent processes {tilde over (g)}


c






ii




first with IMC-SL controller design method (Section 4). And then apply a suitable model reduction to obtain the best approximation ĝ


c






ji




to g


c






ji




to ensure the decoulping performance. Like SISO cases, if the user specifies the type of {tilde over (G)}


c


(say, PID), then the model reduction algorithm will generate its parameters. If the approximation accuracy and decoupling performance are both satisfactory, the design is completed; otherwise, we will adjust the IMC controller performance down until each loop approximation and the overall decoupling performance are satisfactory. On the other hand, if the user has no preference on controller structure, our algorithm starts with a PID type, and gradually increases the controller complexity such that the simplest approximation Ĝ


c


is attained with the guaranteed accuracy to G


c


. This allows a unified treatment of all cases and facilitates auto-tuning application.




6.1 PID Controller




For a start, a multivariable PID-type controller which can be described as










G
^

c



(
s
)


=

{



g
^


c
ij




(
s
)


}


,




g
^


c
ij




(
s
)


=


k
Cij

+


k
Iij



1
s


+


k
Dij


s



,




or







G
^

c



(
s
)


=



K
c

+


K
i



1
s


+


K
d


s


=


[

I


I
s


s





I

]



[




K
c






K
i






K
d




]













is employed. According to closed-loop specifications (74), it follows that the desired open-loop transfer matrix is







Q


(
s
)


=




H


(
s
)




[

I
-

H


(
s
)



]



-
1


=


diag


{


h
ii


1
-

h
ii



}


=

diag



{

q
ii

}

.














The actual open-loop) transfer matrix is GG


c


={circumflex over (Q)}={{circumflex over (q)}


il


}. Matching GG


c


to Q yields











G


(
s
)





G
c



(
s
)



=




G


(
s
)




[

I


I
s


sI

]




[




K
c






K
i






K
d




]


=

Q
.






(
80
)













Let s=jω


k


, k=1,2, . . . , n, it follows












G


(


k

)




[

I


I


k





k


I

]




[




K
c






K
i






K
d




]


=


Q


(


k

)


.





(
81
)













Equation (81) is a system of linear complex equations as Ψ


T


θ=Ω, where








Ψ
T

=

[




G


(


1

)






G


(


1

)




1







1



G


(


1

)



















G


(


n

)






G


(


n

)




n







n



G


(


n

)






]


,





θ
=

[




K
c






K
i






K
d




]


,





Ω
=


[




Q


(


1

)












Q


(


n

)





]

.




Define








Φ
T

=

[




Re


(

Ψ
T

)







Im


(

Ψ
T

)





]


,





Γ
=

[




Re


(
Ω
)







Im


(
Ω
)





]


,










a system of linear real equations is obtained:






Φ


T


θ=Γ.  (82)






Then the parameters (K


c


, K


i


, K


d


) can be determined by solving equation (82) with the least squares method






θ*=(ΦΦ


T


)


−1


ΦΓ  (83)






In MIMO design, even could be satisfied with the loop performance, PID would still be found to be inadequate to compensate the interactions whose dynamics may also be very complicated and fails to achieve the decoupling. To ensure both decoupling and loop) performance be satisfactory, we require that for s ε D


i


the following is satisfied











E
oi

=



max
ω



&LeftBracketingBar;





q
^

ii



(

)


-


q
ii



(

)





q
ii



(

)



&RightBracketingBar;




ϵ
oi



,



i





m


,




(
84
)








E
di

=



max
ω







j

i




&LeftBracketingBar;



q
^

ji



(

)


&RightBracketingBar;



&LeftBracketingBar;



q
^

ii



(

)


&RightBracketingBar;





ϵ
di



,



i





m


,




(
85
)













where ε


d


and ε


o


corresponds to the performance specifications on the loop interactions and loop performance, respectively and








D




i




={sεC|s=jω




i


−ω


n


<ω<ω


n


},  (86)






where ω


n


>0 is chosen large enough such that the magnitude of {circumflex over (q)}


ii


, drop well below unity. Here, the fitting frequencies (ω


1


˜ω


n


) are chosen as (ω


bmax


/100, ω


bmax


), where ω


bmax


is the maximum closed-loop bandwidth, i.e.,







ω

b





max


=



max
i



(

ω
bi

)


=


max
i




(

1

τ
cli


)

.













Usually ε


oi


may be set as 3%, while ε


di


may be set as 10%. If both (84) and (85) hold true, the design is completed. Otherwise, one can always detune PID by relaxing the IMC specification, i.e., increasing τ


cli


, i.e.,











τ
cli

k
+
1


=


τ
cli
k

+


η
i
k



max


(


γ
hi

,

min





Re






β
hi



)





,




(
87
)













where k represents the k-th iteration, and η


i


is an adjustable factor of ith-loop reflecting both the approximation accuracy and the decoupling performance of the present iteration and is set at






η


i


=max{η


oi


, η


di


},






where







η
oi

=

{













0





if






E
oi




3

%


,















1
4






if





3

%

<

E
oi



20

%


,










1
2






if





20

%

<

E
oi



100

%


,













1





if





100

%

<

E
oi


,










and






η
di


=

{






0





if






E
di




10

%


,








1
2






if





10

%

<

E
di


















The iteration continues until both (84) and (85) are fulfilled




EXAMPLE




Consider the well-known Wood/Berry binary distillation column plant (Wood and Berry 1973)







G


(
s
)


=

[





12





.8


e

-
s





16.7

s

+
1







-
18






.9


e


-
3


s





21

s

+
1








6.6


e


-
7


s





10.9

s

+
1







-
19.4



e


-
3


s





14.4

s

+
1





]











Based on the previous work (Section 4), we have







h
11

=


e


-
3






.3

s





τ

cl1







s

+
1












with the filter chosen as







1

τ






cl1

s
+
1




,






and






h
22


=


e


-
5.






3

s



τ






cl2

s
+
1















with the filter chosen as







1

τ






cl2

s
+
1




.










According to the parameter chosen rule in single-loop controller design, the initial parameter values are τ


cl1




0


=4.06 and τ


cl2




0


=6.84. For those parameter, the overall controller can be obtained from (83),







G
c

=


[




0.1434
+


0





.0213

s

-

0.4220

s






-
0.0153

-

0.0125
s

+

0.0978

s







0.0297
+

0.073
s

-

0.3209

s






-
0.0530

-

0.0085
s

+

0.1489

s





]

.











The step response is shown in

FIG. 17

, and the Nyquist array with Gershgorin bands of the actual open-loop transfer matrix GG


c


are shown in FIG.


18


.




At the initial τ


cl1


, ĝ


c






11




and ĝ


c






22




are obtained with E


o1


=29.33% and E


o2


=26.79%. Both of them are not satisfied the specific accuracy threshold. Moreover, the decoupling index E


d1


=52.26% and E


d2


=19.83% can not satisfy the criterion. According to the proposed tuning procedure, τ


cli


are increased until the approximation error and the decouping index are small enough to satisfy (84) and (85), respectively. Our design procedure results in τcl


1


=23.04, τ


cl2


=37.32 and the overall controller







G
c

=


[




0.0470
+

0.0060
s

-

0.2477

s






-
0.0004

-


0





.0036

s

-

0.0495

s







0.0147
+


0





.0020

s

-

0.1843

s






-
0.0143

-

0.0024
s

+

0.0688

s





]

.











with E


o1


=1.48%, E


o2


=2.96%, E


d1


=1.45% and E


d2


=5.67%. The step response is shown in FIG.


19


. The Nyquist array with Gershgorin bands of the actual open-loop transfer matrix GG


c


are shown in FIG.


20


.




6.2 High-Order Controller




In this section, the controller elements g


c






ij




is chosen to be a n


ij


th-order rational transfer function plus a time delay of γ


ij


in form of (88),












G
^

c

=

{


g
^


c
ij


}


,



g
^


c
ij


=





b
nij



s
n


+


b

n
-

1

ij





s

n
-
1



+

+


b

1

ij



s

+

b

0

ij





s
n

+


a

n
-

1

ij





s

n
-
1



+

+


a

1

ij



s





e


-

γ
ij



s




,




(
88
)













but this is necessary for high performance. One also notes that a possible time delay is included, which is necessary for decoupling and it also result from model reduction, otherwise controller order will be even higher. Though design calculations are more involved and controller is more complex, they only involve simple computations and can be made automatic, controller is directly realizable. Now the problem at hand is to find a low-order rational function plus dead time model:











ψ
^

=





b
n



s
n


+


b

n
-
1




s

n
-
1



+

+


b
1


s

+

b
0




s
n

+


a

n
-
1




s

n
-
1



+

+


a
1


s





e

-
γs




,




(
89
)













such that









J


=
Δ






i
=
1

M








&LeftBracketingBar;


W


(

j






ω
i


)




(



ψ
^



(

j






ω
i


)


-

ψ


(

j






ω
i


)



)


&RightBracketingBar;

2






(
90
)













is minimized. Note that (89) contains the unknown time delay γ to be estimated and it makes the problem nonlinear. If the time delay γ is known, then the problem becomes to approximate a modified process ψ


0


(s)=ψ(s)e


γs


with a rational transfer function










b
n



s
n


+


b

n
-
1




s

n
-
1



+

+


b
1


s

+

b
0




s
n

+


a

n
-
1




s

n
-
1



+

+


a
1


s



.










A number of methods for rational approximation without delay are discussed in the survey by Pintelon et al. (1994). Both recursive and non-recursive approaches are covered. The general form of the cost function can be written as













J

(
k
)


=








i
=
1

M







&LeftBracketingBar;


W


s
n

+


a

n
-
1


(

k
-
1

)




s

n
-
1



+

+


a
1

(

k
-
1

)



s





{



ψ
0



(
s
)




[

s
n

+


a

n
-
1


(
k
)




s

n
-
1



+

+


















&AutoLeftMatch;






a
1

(
k
)



s

]

-

[



b
n

(
k
)




s
n


+


b

n
-
1


(
k
)




s

n
-
1



+

+


b
1

(
k
)



s

+

b
0

(
k
)



]


}

&RightBracketingBar;

&AutoRightMatch;


s
=


i


2

,







(
91
)













where k denotes the index for the kth recursion in the iterative weighted linear least square method, and







W
_

=

W


s
n

+


a

n
-
1


(

k
-
1

)




s

n
-
1



+

+


a
1

(

k
-
1

)



s













operates as a weighting function derived from the parameters generated in the last recursion. Different weighting functions are employed in the various methods cited in the survey and above weighting is found to be most suitable. In this paper, the {overscore (W)} is chosen as






1


s
n

+


a

n
-
1


(

k
-
1

)




s

n
-
1



+

+


a
1

(

k
-
1

)



s












and standard LS is applied in each iteration. On convergence, the resultant parameters will form one solution to (90). To derive the relevant recursive equations, we re-arrange (91) to yield the matrix equation






η







k




T


θ


k


,






where











η
k

=



-


ψ
0



(

j






ω
i


)






(

j






ω
i


)

n





(

j






ω
i


)

n

+



a

n
-
1


(

k
-
1

)




(

j






ω
i


)



n
-
1


+

+


a
1

(

k
-
1

)




(

j






ω
i


)





,








θ
k

=


[


a

n
-
1


(
k
)














a
1

(
k
)




b
n

(
k
)




b

n
-
1


(
k
)














b
1

(
k
)




b
0

(
k
)



]

T


,







φ
k

=






[




ψ
0



(

j






ω
i


)





(

j






ω
i


)


n
-
1















ψ
0



(

j






ω
i


)




(

j






ω
i


)


-








(




(

j






ω
i


)

n

-



(

j






ω
i


)


n
-
1









-

(

j






ω
i


)

-
1

]

)

T







(

j






ω
i


)

n

+



a

n
-
1


(

k
-
1

)




(

j






ω
i


)



n
-
1


+

+


a
1

(

k
-
1

)




(

j






ω
i


)




.














The standard recursive least square method can then be applied. Like the LS algorithm, the frequencies range for ith-loop in RLS, (ω


li


˜ω


ni


), is also chosen as (ω


bl


/100, ω


bi


) with the step of







(


1
100

~

1
10


)




ω
bi

.











In this range, RLS yields satisfactory fitting results in frequency domain. The orders of the rational parts of the controller elements are determined as the lowest such that for s ε D


i


, a set of performance specifications on loop performance (84) and loop interaction (85) are satisfied, where








D




i




={sεC|s=jω




i


−ω


ni


<ω<ω


ni


}.  (92)






The solution to our original model reduction is obtained by minimizing (90) over the possible range of γ. This is a one-dimensional search problem and can be easily solved if an estimation of the range of γ is given. In our algorithm, we choose the search range of γ to be 0.5˜2.0 times of γ


0


, the theoretical value of the time delay of ψ(s) and 15˜20 points in that range are evaluated to find the optimal estimate {circumflex over (γ)}.




Algorithm 6.1. Seek a reduced-order model {circumflex over (ψ)}(s) in (89) given ψ(s)




(i) Choose N between 15˜20, set Δγ=1.5


γ0


/N, and obtain γ


k


=0.5


γ0


+kΔγ, k=0,1, . . . , N.




(ii) For each γ


k


, find rational approximation solution {circumflex over (ψ)}


0


(s) to the modified process ψ


0


(s)=ψ(s)e


γk






s




with the standard iterative least square method and evaluate the corresponding loss function J in (90) for {circumflex over (ψ)}(s)={circumflex over (ψ)}


0


(s)e


−γk






s








(iii) Take as the solution the {circumflex over (ψ)}*(s) which yields the minimum J.




Now the whole controller design procedure can be summarized into the following steps.




IMC-based MIMO design procedure Seek a feedback controller G


c


(s) given G(s)




Step 1. Based on the previous work (Section 4), specify h


ii


by (74) with time delays and non-minimum phase zeros and determine the smallest τ*


di


for each loop, set τ


di




0


=τ*


cli


.




Step 2. Find the PID controller from (83) and evaluate Ε


oi


in (84) and Ε


di


in (85). If Ε


oi


and ΕE


di


achieve the specified accuracy ε


o


(usually 3%) and ε


d


(usually 10%) respectively, end the design.




Step 3. Otherwise, we have two ways to solve this problem: if PID controller is desired, update τ


cli


by (87), and go to Step 2; else, go to Step 4.




Step 4. Adopt the high-order controller in (88), for each g


c






ij




start from a controller order of 2, apply Algorithm 6.1 to g


c






ij




to obtain ĝ


c






ij




, increase n until the smallest integer n is reached with (84) and (85) hold.




EXAMPLE




Reconsider the Wood/Berry Plant













G


(
s
)


=

[





12.8


e

-
s





16.7

s

+
1







-
18.9



e


-
3


s





21

s

+
1








6.6


e


-
7


s





10.9

s

+
1







-
19.4



e


-
3


s





14.4

s

+
1





]


,










for which τ


cl1




0


=4.06, τ


d2




0


=6.84 and a multivariable PID controller has been obtained there with Ε


o1


=29.33%, Ε


o2


=26.79%, Ε


d1


=52.26% and Ε


d2


=19.83%. For high order controller, our procedure ends with







G
c

=

&AutoLeftMatch;


[







0.0721


s
2


+

0.0473

s

+
0.0025



s
2

+

0.1166

s





e


-
0.7


s








0.0269


s
2


-

0.0172

s

-
0.0023



s
2

+

0.1889

s












-
0.0230



s
2


+

0.0197

s

+
0.001



s
2

+

0.1470

s





e


-
2.2


s













-
0.0498



s
3


-

0.0202


s
2


-







0.0034

s

-
0.0002






s
3

+

0.2181


s
2


+

0.0225

s





e


-
1.6


s






]

,












with Ε


o11


=2.85%, Ε


o12


=2.59%, Ε


o21


=0.39%, and Ε


o22


=0.74%. The step response is shown in

FIG. 21

, and the Nyquist array with Gershgorin bands of the actual open-loop transfer matrix GG


c


is shown in FIG.


22


. Compared with the PID performance, we can see that the high order controller give more satisfactory loop and decoupling performance.




7 High Performance Conversions between Continuous and Discrete Systems




Consider a continuous transfer function (CTF):












H
c



(
s
)


=




b
n



s
n


+


b

n
-
1




s

n
-
1



+

+


b
1


s

+

b
0




s
n

+


a

n
-
1




s

n
-
1



+

+


a
1


s

+

a
0




,




(
93
)













where a


i


and b


i


are real coefficients. Suppose that an equivalent discrete transfer function (DTF) H


d


(z) is given by











H
d



(
z
)


=





β
m



z
m


+


β

m
-
1




z

m
-
1



+

+


β
1


z

+

β
0




z
m

+


α

m
-
1




z

m
-
1



+

+


α
1


z

+

α
0



.





(
94
)













The present work is to propose a new conversion algorithm, which can yield the best DTF approximation to the original CTF regardless of CTF's order and characteristics. The proposed idea is to match the frequency response of H


d


(z) to H


c


(s) with the general transformation from s- to z-domain, i.e.,






z=e


Ts


.  (95)






The objective can be realized by minimizing the standard loss function












min

H
d



J



=
Δ




min

H
d







i
=
1

M








&LeftBracketingBar;



H
d



(

e

j





T






ω
i



)


-


H
c



(

j





T






ω
i


)



&RightBracketingBar;

2




,




(
96
)













where (ω


1


, ω


M


) defines the frequencies range of interest. Equation (96) falls into the frame work of transfer function identification in frequency domain, in which H


d


is the known frequency response as H


c


is a parametric transfer function to be identified. For this identification, a number of methods are available (Pintelon et al. 1994), and the recursive least squares (RLS) algorithm is suitable for our application and is briefly described as follows. Substituting (93) and (94) to (96) at ω


i


gives










J

(
k
)




=
Δ




&AutoLeftMatch;



i
=
1

M








&LeftBracketingBar;



W


(

e

j





T






ω
i



)





(

e

j





T






ω
i



)

m

+



α

m
-
1


(

k
-
1

)




(

e

j





T






ω
i



)



m
-
1


+

+

α
0

(

k
-
1

)










&AutoLeftMatch;





{

[







&AutoLeftMatch;



&AutoRightMatch;









β
m

(
k
)




(

e

j





T






ω
i



)


m


+



β

m
-
1


(
k
)




(

e

j





T






ω
i



)



m
-
1


+





+


&AutoLeftMatch;





β
0

(
k
)



]

-

&AutoLeftMatch;





H
c



(

j






ω
i


)


[





(

e

j





T






ω
i



)

m

+





&AutoLeftMatch;

&AutoLeftMatch;




α

m
-
1


(
k
)




(

e

j





T






ω
i



)



m
-
1


+

+

α
0

(
k
)






]

}

&RightBracketingBar;

2

,













(
97
)













where k denotes the index for the kth recursion in the iterative weighted linear least squares method, and








W
_



(

e

j





T






ω
i



)


=


W


(

e

j





T






ω
i



)





(

e

j





T






ω
i



)

m

+


&AutoLeftMatch;


α

m
-
1


(

k
-
1

)




(

e

j





T






ω
i



)


&AutoRightMatch;


m
-
1


+

+

α
0

(

k
-
1

)














acts as a weighting function in the standard least squares problem and it depends on the parameters generated in the last recursion. Different weighting functions are employed in the various methods cited in the survey. In this paper, the {overscore (W)} is chosen as 1/(e


jTw






i




)


m





m−1




(k−1)


e


jTw






i




)


m−1


+ . . . +α


0




(k−1)


and standard LS is applied in each iteration. On convergence, the resultant parameters will form one solution to (96). We re-arrange (97) to yield recursive equations






φ


k




T


θ


(k)





k


,






where








η
k

=



-


H
c



(

j






ω
t


)






(

e

j





T






ω
i



)

m





(

e

j





T






ω
i



)

m

+


&AutoLeftMatch;


α

m
-
1


(

k
-
1

)




(

e

j





T






ω
i



)


&AutoRightMatch;


m
-
1


+

+

α
0

(

k
-
1

)





,






θ

(
k
)


=


[


α

m
-
1


(
k
)














α
0

(
k
)




β
m

(
k
)




β

m
-
1


(
k
)














β
1

(
k
)




β
0

(
k
)



]

T


,






φ
k

=






[




H
c



(

j






ω
i


)





(

e

j





T






ω
i



)


m
-
1















H
c



(

j






ω
i


)



-


(

e

j





T






ω
i



)

m

-












(

e

j





T






ω
i



)


m
-
1













-

(

e

j





T






ω
i



)

-
1

]

T







(

e

j





T






ω
i



)

m

+


&AutoLeftMatch;


α

m
-
1


(

k
-
1

)




(

e

j





T






ω
i



)


&AutoRightMatch;


m
-
1


+

+

α
0

(

k
-
1

)




.












Thus, we have the recursive equation for θ


k


as






θ


(k)





(k−1)




+K




k


ε


k


,






where








K




k




=P




k−1


φk(I+φ


k




T




P




k−1


φk)


−1


,










P




k


=(


I−K




k


φ


k




T


)


P




k−1


,






and






ε


k





k


−φ


k




T


θ


(k−1)


.






The frequency range in the optimal fitting plays an important role. In general, our studies suggest that the frequency range (ω


1


. . . ω


M


) be chosen as






(



1
100



ω
b


,

ω
b


)










with the step of








(


1
100

~

1
10


)



ω
b


,










where ω


b


is the bandwidth of the S-domain transfer function. In this range, RLS yields satisfactory fitting results in frequency domain.




The preservation of stability is a crucial issue in frequency domain based identification In our study, we found that RLS method with zero initial parameter value might result in unstable H


d


(z), especially for high-order models, even though H


c


(s). is stable. Since Equation (96) is a nonlinear problem, the RLS algorithm may get different local optimal solutions, if it starts with different initial points. Among those solutions, only the stable H


d


(z) models are required. If we set a stable model as the initial value in RLS algorithm, it is likely to get a stable approximate as its convergent solution. Thus, in this paper, for a parametric H


c


(s), we set the initial model as the bilinear equivalent via (2) to the H


c


(s), for Franklin et al. (1990) have proven that the bilinear rule preserves stability during continuous and discrete conversions. Our extensive simulations shows that this technical works very well.




The proposed method is also applicable to inverse conversion, i.e., from DTF to CTF, provided that the loss function (96) is replaced by












min

H
c



J



=
Δ




min

H
c







i
=
1

M




&LeftBracketingBar;



H
c



(

j





T






ω
i


)


-


H
d



(

e

j





T






ω
i



)



&RightBracketingBar;

2




,




(
98
)













Moreover, the method can be applied to transfer a non-parametric s-domain model such as a bode plot data to z-domain data.




In what follows, the primary application of the proposed method, that is, to convert CTF to DTF with both T and m fixed, will be illustrated with a typical plant chosen from Franklin et al. (1990). Let T be chosen according to Franklin et al. (1990), in which the desired sampling multiple (ω


s





b


) for a reasonably smooth time response is suggested to be









6



ω
s


ω
b



40.




(
99
)













Once a discrete equivalent is found, the following criterion should be used to validate the solution:









E
=


max
ω




&LeftBracketingBar;




H
d



(

e

j





T





ω


)


-


H
c



(

j





ω

)





H
c



(

j





ω

)



&RightBracketingBar;

.






(
100
)













For a comparative study, the results of the proposed conversion method are compared with the commonly used methods, Tustin, zero-pole mapping transformations or Triangle equivalent.




EXAMPLE




Consider the system with time delay











H
c

=



s
-
1



s
2

+

4

s

+
5




e


-
0.35


s




,




(
101
)













with T=0.1s. Tustin transformation gives








H
d



(
z
)


=


z

-
3







0.0392


z
2


-

0.0041

z

-
0.0433



z
2

-

1.6290

z

+
0.6701


.












Via Triangle approximation,








H
d



(
z
)


=


z

-
3






0.0115


z
3


+

0.0456


z
2


-

0.0562

z

-
0.0091



z
3

-

1.6290


z
2


+

0.6703

z














is derived. Here the input delay in H


c


(s) amounts to 3.5 times the sampling period of 0.1 sec. Accordingly, the discretized model H


d


(z) inherits an input delay of three sampling periods, and the residual half-period delay is factored into the coefficients of H


d


(z) by the discretization algorithm. Thus, for m=2, the proposed method generates








H
d



(
z
)


=


z

-
3







0.0042


z
2


+

0.0684

z

-
0.0807



z
2

-

1.6333

z

+
0.6740


.













FIG. 23

shows that the proposed design (Ε=0.50%) is much better than the results obtained from Tustin (Ε=29.88%) approximation, for the Tustin and matched pole/zero methods are accurate only for delays that are integer multiples of the sampling period. And the proposed design is also superior to Triangle approximation (Ε=5.12%), which is preferable to be used for models with delays among the conventional conversion schemes. Besides the primary use of the proposed method, there are some other cases that can be benefited.




Optimal sampling time If the user specifies T and m, then the proposed RLS algorithm will generate the parameters of H


d


(z) as shown in the last section. On the other hand, if the user has no preference on T, our algorithm starts with a small sample rate under m=n. Based on the sampling theorem: the sample rate must be at least twice the required closed-loop bandwidth, ω


b


, of the system, that is, ω


s





b


>2 (Franklin et al. 1990). Thus, for optimal sampling time tuning, we start the design procedure from ω


s




0


=πω


b


, where ω


b


can be bandwidth of transfer function or closed-loop bandwidth, some specific frequency point which needs a close mapping, or the largest frequency in fitting, i.e., ω


b


=max{ω


i


}. If the approximation accuracy is satisfactory, the design is completed; otherwise, we will increase the sample rate with a step of πω


b


, i.e.,






ω


s




k




32


ω


s




k−1


+πω


b


,  (102)






till equation (103)










E
=



max
ω



&LeftBracketingBar;




H
d



(

e

j





T





ω


)


-


H
c



(

j





ω

)





H
c



(

j





ω

)



&RightBracketingBar;



ϵ


,




(
103
)













holds true, where k represents the k-th iteration, and ε is the fitting-error threshold. ε is specified according to the desired degree of performance, or accuracy of the CTF approximation to the DTF. Usually e may be set as 3%.




Optimal model order If the sample rate is limited by the hardware, one may gradually increases the complexity of H


d


(z) such that the simplest approximation H


d


(z) is attained with the guaranteed accuracy to H


c


(s) (103), i.e., the approximation performance may be improved at the expense of increasing complexity.




Resampling DTF For this application, the proposed method does not need the new sampling period T to be an integer multiple of the original sampling period. And it is a direct method to obtain new DTF by fitting the two equivalents in frequency domain, while in conventional schemes, the resampling assumes zero-order holder on the inputs and is equivalent to consecutive DTF to CTF and CTF to DTF conversions.




Conversion of DTF to CTF In the inverse operation, (103) should be written as









E
=



max
ω



&LeftBracketingBar;




H
d



(

e

j





T





ω


)


-


H
c



(

j





ω

)





H
d



(

e

j





T





ω


)



&RightBracketingBar;



ϵ





(
104
)













to validate the solution. Here, our method show high approximation accuracy as well.




8 Disturbance Compensation for Time-Delay Processes




Here, we assume that the process is minimum-phase, continuous, linear time-invariant (LTI) with time delay, unless otherwise stated. Let G(s) be the process and G


c


(s) the feedback controller which stabilizes G(s). The diagram of the normal feedback control system with disturbance is depicted in

FIG. 24

, where d is an unknown disturbance acting on the system through a dynamic G


d


(s). It should be pointed out that any type of disturbance and any number of disturbances can always be put equivalently as a collective disturbance d(t) In practice, there might be disturbances on the process input as well as output, and thus the equivalent one on the process output cannot be simply a step one only. It is more reasonable to describe it as a d(t) through a stable G


d


(s). It follows from

FIG. 24

that








Y
o

=




G






G
c



1
+

G






G
c





R

+



G
d


1
+

G






G
c





D



,










where the superscription o indicates the response in the normal feedback system, and R(s) and D(s) are the Laplace transforms of the reference r(t) and the disturbance d(t), respectively.




A new control scheme as shown in

FIG. 25

is proposed to compensate for the disturbance. The intention is to estimate the disturbance by the difference between the actual process output and the output of a transfer function, and feed the estimate into another block to fully cancel the disturbance. From

FIG. 25

, one has









Y
=




G






G
c



1
-

H





F

+

G






G
c


+

G





H




R

+



1
-

H





F



1
-

H





F

+

G






G
c


+

G





H





G
d



D
.







(
105
)













To fully compensate for the disturbance while retaining the input-output relation of the normal feedback system requires












G






G
c



1
-

H





F

+

G






G
c


+

G





H



=


G






G
c



1
+

G






G
c





,








1
-

H





F



1
-

H





F

+

G






G
c


+

G





H





G
d


D

=
0

,




(
106
)













which are satisfied by








F


(


s


)=


G


(


s


),  (107)






and








H


(


s


)=


G




−1


(


s


).  (108)






Let G(s)=G


0


(s)e


−Ls


and its model Ĝ(s)=Ĝ


0


(s)e


−{circumflex over (L)}s


, where G


0


and Ĝ


0


are delay-free rational transfer functions. Then, (107) and (108) become








F


(


s


)=Ĝ(


s


)=Ĝ


0


(


s


)


e




−{circumflex over (L)}s


,  (109)














H


(
s
)


=


1

F


(
s
)



=


1



G
^

0



(
s
)





e


L
^


s





,




(
110
)













respectively. For a strictly proper Ĝ


0


(s), its inverse is not physically realizable, and nor is the pure predictor e


{circumflex over (L)}s


. For the term e


{circumflex over (L)}s


, the approximation presented in Huang et al. (1990) is here adopted, and shown in FIG.


26


.




The overall transfer function is








G
v



(
s
)


=



1
+

V


(
s
)




1
+


V


(
s
)




e


-

L
^



s





.











If V(s) is of low-pass with high gain, then









G
v



(
s
)





V


(
s
)




V


(
s
)




e


-

L
^



s





=

e


L
^


s












in the low-frequency range, while G


υ


(s)≈1+0/1+0=1 in the high-frequency range. The simplest choice for V(s) is a first-order element:








V


(
s
)


=


K
v




τ
v


s

+
1



,






τ
v

>
0

,










and then G


υ


will be











G
v



(
s
)


=



1
+


K
v




τ
v


s

+
1




1
+



K
v




τ
v


s

+
1




e


-

L
^



s





.





(
111
)













According to our simulation study, the value of τ


υ


is suggested to be set as 0.1{circumflex over (L)}˜{circumflex over (L)}. The remaining parameter K


υ


is chosen as large as possible for high low-frequency gain of G


υ


while preserving stability of G


υ


. The critical value K


{circumflex over (υ)}






max




of K


υ


at which the, Nyquist curve of








K
v




τ
v


s

+
1




e


-

L
^



s












touches −1+j0 can be found from








K




υ






max






={square root over (1+ω*


2


τ


υ





2


)},tan




−1


(ω*τ


υ


)+ω*{circumflex over (L)}=π.  (112)






For sufficient stability, K


υ


should be much smaller than K


υ






max




and its default value is suggested to be K


υ






max




/3.




Ĝ


0


(s) is usually strictly proper and






1



G
^

0



(
s
)












is then improper. A filter Q(s) is introduced to make







Q


(
s
)





G
^

0



(
s
)












proper and thus realizable. Q(s) should have at least the same relative degree as that of Ĝ


0


(s) to make Q(s)/Ĝ


0


(s) proper, and should be approximately 1 in the disturbance frequency range for a satisfactory disturbance rejection performance. The following form is a possible choice











Q


(
s
)


=

1


(



τ
q


s

+
1

)

n



,






τ
q

>
0.





(
113
)













n is selected to make







Q


(
s
)





G
^

0



(
s
)












just proper τ


q


is a user specified parameter and should be smaller than the equivalent process time constant T


p


. The initial value is set as {fraction (1/100)}T


p


˜{fraction (1/10)}T


p


and its tuning will be discussed below to make the system stable. Other forms of Q(s) have been discussed by Umeno and Hori (1991).




In view of the above development, H(s) is approximated by










H


(
s
)


=



Q


(
s
)





G
^

0



(
s
)







1
+

V


(
s
)




1
+


V


(
s
)




e


-

L
^



s





.






(
114
)













The actual system to realize the proposed control scheme with such an approximation is shown in FIG.


27


.




If Ĝ(s) is bi-proper (the degrees of the numerator and denominator are the same), the filter Q(s) is not required. For a dead-time free case, G


υ


is not required or G


υ(s)=


1, (114) becomes








H


(
s
)


=


Q


(
s
)




G
^



(
s
)




,










which is the original disturbance observer proposed by Ohnishi (1987).




Unstable/Non-minimum-phase Processes In the above discussion, the process G(s) has been assumed to be stable and minimum-phase (i.e., no zero exists in the left-half-plane). For an unstable and/or non-minimum-phase process G(s), we factorize it into








G


(


s


)=G


0




+


(


s


)


G




0







(


s


)


e




−Ls


,






where G


0







(s) represents the stable minimum-phase part, and G


0




+


(s) includes all right-half-plane zeros and poles. The proposed scheme is modified into one shown in FIG.


28


.




In the case of periodic disturbances rejection, instead of (109) and (110), we now set











F


(
s
)


=




G
^

0



(
s
)




e


-

L
^



s




,






H


(
s
)


=


1



G
^

0



(
s
)





e


-

L
h



s




,




(
115
)













where L


h


=k


0


T−{circumflex over (L)}, and k


0


is the smallest integer making L


h


≦0. The system diagram is drawn in FIG.


29


. It can be proved that under such a scheme, the periodic disturbance can be asymptotically rejected. For physical realization of H(s) in (115), a filter Q, as discussed in the preceding section, has to be introduced to make Q(s)/Ĝ


0


(s) proper.




EXAMPLE




Consider a first-order plus dead-time process







G


(
s
)


=






-
5


s




10

s

+
1


.











The PI controller design method proposed in Zhuang and Atherton (1993) is applied to give








G
c



(
s
)


=

1.01
+


1.01
s

.












For the scheme in

FIG. 27

, suppose Ĝ(s)=G(s). In V(s), take τ


υ


=0.4L=2, calculate from (112) the maximum value of K


υ


as K


υ






max




=1.38, then set K


υ


=K


υ






max




3=0.46. We have







V


(
s
)


=

0.46


2

s

+
1












The filter Q(s) is in the form of








Q


(
s
)


=

1



τ
q


s

+
1



,










and τ


q


is chosen as {fraction (1/10)}T


p


=0.01. A unit step change in the set-point is made at t=0, and a step disturbance of the size 1 is introduced through








G
d



(
s
)


=

1


20

s

+
1












to the system at t=50, the resulting responses are displayed in

FIG. 30

, where the solid line is from the proposed method, and the dashed line is from the normal feedback control without any disturbance compensator.




To evaluate our scheme of

FIG. 29

for periodic disturbances, introduce instead the following periodic disturbance at t 50:








d


(


t


)=sin(0.2


πt


)+0.3sin(0.4


πt


)+0.1sin(0.6


πt


)+0.1sin(0.8


πt


)






with the period of






T
=



2

π


0.1

π


=
10











and let G


d


(S)=1. Calculate from (115) L


h


=T−L=5. In the case of no model mismatch, the resultant responses are shown in FIG.


31


. The output from the proposed control approaches zero asymptotically. The proposed method produces great enhancement of disturbance rejection performance.












TABLE 1











Identification results in noise-free case















G(s)




Identification method




Ĝ




ε




Ε

























1


(

s
+
1

)

5











Proposed method for n = 1












0.3550

s
+
0.3487




e


-
2.3959


s












  1.3 × 10


−3






41.40%














Proposed method for n = 2












0.2385


s
2

+

0.8221

s

+
0.2412




e


-
1.4725


s












6.6499 × 10


−5






6.7%














The Area method












1


2.38

s

+
1




e


-
2.63


s












 1.93 × 10


−3






50.16%





















1.08



(

s
+
1

)

2




(


2

s

+
1

)

3





e


-
10


s












Proposed method for n = 1












0.2449

s
+
0.2268




e


-
13.8146


s












9.5749 × 10


−4






4.45%














Proposed method for n = 2












0.1055


s
2

+

0.5543

s

+
0.0981




e


-
12.2713


s












5.0116 × 10


−5






1.43%














The Area method












1.08


3.96

s

+
1




e


-
14.04


s












 1.26 × 10


−3






4.69%
























-
4


s

+
1



9


s
2


+

2





.4

s

+
1




e

-
s












Proposed method for n = 1





























Proposed method for n = 2















-
0.4444


s

+
0.1111



s
2

+

2.667

s

+
0.1111




e

-
s












1.7318 × 10


−8






4.4931% × 10


−4
















The Area method





































2.15


(



-
2.7


s

+
1

)



(


158.5


s
2


+

6

s

+
1

)





(


17.5

s

+
1

)

4



(


20

s

+
1

)





e


-
14


s












Proposed method for n = 1












0.0396

s
+
0.0184




e


-
49.9839


s












  8.6 × 10


−3






48.12%














Proposed method for n = 2












0.0011


s
2

+

0.0343

s

+
0.0005




e


-
28.8861


s












4.0631 × 10


−4






5.81%














Proposed method for n = 3














205.94


s
2


+

5.25

s

+
1.12




10
4



s
3


+

996.85


s
2


+

38.24

s

+
0.52




e


-
31.9265


s












2.0009 × 10


−4






1.27%














The Area method












2.15


46.69

s

+
1




e


-
53.90


s












 1.15 × 10


−2






60.87%






















TABLE 2











Identification results for





















G


(
s
)


=





-
4


s

+
1



9


s
2


+

2.4

s

+
1




e

-
s






















under different noise levels














Noise









Level




Ĝ(s)




ε




Ε

















0















-
0.4444


s

+
0.1111



s
2

+

0.2667

s

+
0.1111




e

-
s












1.7318 × 10


−8






4.4931 × 10


−4


%













3%















-
0.4453


s

+
0.1110



s
2

+

0.2679

s

+
0.1108




e

-
0.9856












3.5343 × 10


−6






0.47%













5%















-
0.4462


s

+
0.1110



s
2

+

0.2682

s

+
0.1108




e


-
0.9765


s












7.3575 × 10


−6






0.59%













10%















-
0.4485


s

+
0.1110



s
2

+

0.2690

s

+
0.1106




e


-
0.9531


s












2.6610 × 10


−5






1.01%













15%















-
0.4509


s

+
0.1110



s
2

+

0.2698

s

+
0.1104




e


-
0.9295


s












5.9969 × 10


−5






1.49%













20%















-
0.4533


s

+
0.1110



s
2

+

0.2706

s

+
0.1102




e


-
0.9059


s












1.0753 × 10


−4






2.0%













30%















-
0.4581


s

+
0.1111



s
2

+

0.2758

s

+
0.1098




e


-
0.8581


s












2.24756 × 10


−4







3.05%













40%















-
0.4631


s

+
0.1111



s
2

+

0.2739

s

+
0.1094




e


-
0.8088


s












4.5533 × 10


−4






4.16%













50%















-
0.4668


s

+
0.1112



s
2

+

0.2758

s

+
0.1090




e


-
0.7541


s












7.6173 × 10


−4






5.41%






















TABLE 3











Closed-loop identification results in noise-free case













Process




The Proposed Method




Suganda's Method


















G


p


(s)




NSR




Ĝ


p


(s)




ε




Ε




Ĝ


p


(s)




ε




Ε





























e

-
s




12


s
2


+

8

s

+
1











0   












1.00


e


-
1.00


s





12.06


s
2


+

8.01

s

+
1











4.91 × 10


−4






0.35%












1.00


e


-
0.99


s





12.04


s
2


+

7.98

s

+
1











2.85 × 10


−3






0.45%







5%












1.00


e


-
1.06


s





11.89


s
2


+

7.92

s

+
1











12.87




4.75%












1.00


e


-
2.94


s





13.70


s
2


+

8.37

s

+
1











42.27




134.79%














e

-
s





(

s
+
1

)

2



(


2

s

+
1

)












0   












1.00


e


-
3.49


s





3.26


s
2


+

3.52

s

+
1











4.80 × 10


−3






0.48%












1.00


e


-
3.30


s





3.72


s
2


+

3.59

s

+
1











9.08 × 10


−2






2.30%







5%












1.00


e


-
3.44


s





3.45


s
2


+

3.49

s

+
1











26.09




1.87%












1.00


e


-
0.88


s





13.84


s
2


+

6.83

s

+
1











44.12




65.89%
















0.5

s

+
1



(

s
+
1

)



(


2

s

+
1

)





e


-
3


s












0   












1.00


e


-
3.11


s





2.90


s
2


+

3.40

s

+
1











4.85 × 10


−3






0.49%












1.00


e


-
2.93


s





2.86


s
2


+

3.35

s

+
1











2.23 × 10


−1






5.87%







5%












1.00


e


-
3.43


s





2.86


s
2


+

3.41

s

+
1











23.76




5.49%












1.00


e


-
2.09


s





1.75


s
2


+

3.87

s

+
1











37.92




63.83






















TABLE 4











Closed-loop identification results for





















1.08



(

s
+
1

)

2




(


2

s

+
1

)

3





e


-
10


s





















under different NSR














NSR




Ĝ(s)




ε




Ε

















0












1.0801


7.5403


s
2


+

5.2612

s

+
1




e


-
12.8110


s












0.69




2.14%













3%












1.0828


7.2238


s
2


+

5.1499

s

+
1




e


-
12.6847


s












11.23




3.44%













5%












1.0823


7.4893


s
2


+

5.1953

s

+
1




e


-
12.5564


s












21.44




4.29%













10%












1.0808


7.6543


s
2


+

5.1754

s

+
1




e


-
12.4387


s












42.08




5.97%













15%












1.0794


8.4881


s
2


+

5.1712

s

+
1




e


-
12.1350


s












94.30




9.67%













20%












1.0780


9.0539


s
2


+

5.2606

s

+
1




e


-
11.9564


s












131.98




10.59%













30%












1.0908


15.5858


s
2


+

5.5866

s

+
1




e


-
10.3358


s












325.63




24.35%













40%












1.0932


16.4593


s
2


+

4.9406

s

+
1




e


-
10.6667


s












572.71




32.22%






















TABLE 5











Identification error with relay feedback













Noise




Different




Processes
















levels




relays












1


5

s

+
1




e


-
5


s



















1


(

s
+
1

)

8



















1


(

s
+
1

)



(


5

s

+
1

)





e


-
2.5


s





















1
-
s




(


2

s

+
1

)

2



(


5

s

+
1

)





e


-
0.5


s



























NSR = 0




Cascade




0.30%




0.62%




0.41%




0.31%






w = 0




Parasite




0.31%




0.62%




0.42%




0.32%







Standard




11.19%




0.53%




7.06%




3.71%






NSR = 29%




Cascade




1.87%




2.76%




5.38%




4.39%






w = 0




Parasite




6.83%




6.90%




5.41%




6.38%







Standard




10.01%




3.70%




10.73%




9.37%






NSR = 41%




Cascade




5.80%




3.91%




12.61%




9.62%






w = 0




Parasite




14.52%




6.12%




14.20%




16.96%







Standard




15.35%




7.41%




17.20%




25.31%






NSR = 29%




Cascade




2.01%




4.52%




4.93%




4.14%






w = 0.5




Parasite




7.17%




6.35%




5.16%




5.13%







Standard




17.28%




10.08%




36.91%




15.31%






















TABLE 6











Chien's IMC-PID rules














Process model




k


c


k


p






T


I






T


D




















k
p



e

-
Ls




1
+
τs


















τ


τ
cl

+
L











τ




























k
p



(



τ
3


s

+
1

)




e

-
Ls





(



τ
1


s

+
1

)



(



τ
2


s

+
1

)





















τ
1

+

τ
2

-

τ
3




τ
cl

+
L











τ


1


+ τ


2


− τ


3
















τ
1



τ
2


-


(


τ
1

+

τ
2

-

τ
3


)



τ
3





τ
1

+

τ
2

-

τ
3































k
p



(



-

τ
3



s

+
1

)




e

-
Ls





(



τ
1


s

+
1

)



(



τ
2


s

+
1

)





















τ
1

+

τ
2

+



τ
3


L



τ
cl

+

τ
3

+
L





τ
cl

+

τ
3

+
L



















τ
1

+

τ
2

+



τ
3


L



τ
cl

+

τ
3

+
L






















τ
3


L



τ
cl

+

τ
3

+
L


+



τ
1



τ
2




τ
1

+

τ
2

+



τ
3


L



τ
cl

+

τ
3

+
L
































k
p



e

-
Ls



s



















2


τ
cl


+
L



(


τ
cl

+
L

)

2














cl


+ L



























TABLE 7











Summary of simulation results of PID tuning




















Plant




T


cl






Scheme




M


p


(%)




t


r






t


s






U


max






Ε(%)




IAΕ




IAΕ


load


















G
=


e


-
0






.5

a



s
+
1












0.3333




Chien's PID Proposed PID IMC




11.7728  0  0




0.72 0.73 0.73




 4.15  2.31  2.23




 1.8044 29.4104  3.0184




 42.59  1.23  0




1.0571 0.8351 0.8343




0.2032 0.2031 0.2031




















G
=



(



-
0.5


s

+
1

)



e

-
s





(

s
+
1

)



(


2

s

+
1

)













0.8328




Chien's PID Proposed PID IMC




14.0690  0.9339  0




1.54 2.11 2.17




11.66  8.46  6.18




28.9356 21.1194  4.8031




 26.33  2.66  0




2.8728 2.8388 2.8378




0.6912 0.7581 0.7152




















G
=


e


-
0.5


s




(


s
2

+
s
+
1

)




(

s
+
2

)

2













0.3922




Chien's PID Proposed PID 4th-order controller IMC




30.1457 12.8152  1.0653  1.0590




2.25 1.50 2.00 2.00




27.50 18.75  4.50  4.75




 4.9806 17.3647 21.9459 32.4176




103.27  48.14  4.9692e−2  0




4.5772 2.9636 2.1416 2.1438




0.5921 0.3434 0.3049 0.3048














0.6422




Chien's PID




22.9060




2.50




23.50




 4.6810




47.69




4.1793




0.5592








Proposed PID




 0.5720




3.00




 9.25




11.0360




 2.20




3.1718




0.4163








IMC




 0




3.00




 7.25




 5.5332




 0




3.1438




0.4110






















TABLE 8











Identification results for WB plant under different NSR














Proposed
















NSR




Ĝ(s)




ε




Ε




Ε (Melo's)


















0












[





12.80


e


-
1.00


s





16.71

s

+
1







-
18.90



e


-
3.00


s





21.01

s

+
1








6.60


e


-
7.00


s





10.91

s

+
1







-
19.40



e


-
3.00


s





14.41

s

+
1





]

&AutoRightMatch;


















[




0.06227

%






0.01352

%




]

&AutoRightMatch;


















[




0.15

%




0.06

%






0.06

%




0.06

%




]

&AutoRightMatch;


















[




0.72

%




0.27

%






0.29

%




0.33

%




]

&AutoRightMatch;



















5%












[





12.74


e


-
0.98


s





16.72

s

+
1







-
19.07



e


-
2.96


s





21.16

s

+
1








6.50


e


-
7.00


s





10.89

s

+
1







-
19.51



e


-
2.92


s





14.62

s

+
1





]

&AutoRightMatch;


















[




2.80

%






5.50

%




]

&AutoRightMatch;


















[




3.52

%




2.25

%






1.52

%




4.08

%




]

&AutoRightMatch;


















[




88.08

%




16.06

%






5.07

%




23.89

%




]

&AutoRightMatch;



















10%












[





12.67


e


-
0.95


s





16.73

s

+
1







-
19.25



e


-
2.91


s





21.31

s

+
1








6.39


e


-
7.04


s





10.87

s

+
1







-
19.62



e


-
2.81


s





14.89

s

+
1





]

&AutoRightMatch;


















[




5.72

%






17.21

%




]

&AutoRightMatch;


















[




7.10

%




4.61

%






3.14

%




10.25

%




]

&AutoRightMatch;


















[




173.65

%




32.56

%






9.49

%




50.54

%




]

&AutoRightMatch;



















20%












[





12.52


e


-
0.93


s





16.75

s

+
1







-
19.60



e


-
2.87


s





21.48

s

+
1








6.16


e


-
7.00


s





10.86

s

+
1







-
19.85



e


-
2.70


s





15.18

s

+
1





]

&AutoRightMatch;


















[




18.44

%






35.83

%




]

&AutoRightMatch;


















[




11.12

%




7.22

%






6.73

%




16.11

%




]

&AutoRightMatch;


















[




334.08

%




61.27

%






17.71

%




111.58

%




]

&AutoRightMatch;



















30%












[





12.34


e


-
0.86


s





16.80

s

+
1







-
19.95



e


-
2.71


s





22.01

s

+
1








5.88


e


-
7.01


s





10.81

s

+
1







-
20.07



e


-
2.33


s





16.12

s

+
1





]

&AutoRightMatch;


















[




38.67

%






47.51

%




]

&AutoRightMatch;


















[




22.36

%




15.12

%






10.90

%




35.02

%




]

&AutoRightMatch;


















[




411.14

%




80.04

%






26.70

%




184.80

%




]

&AutoRightMatch;




















CONCLUSION




Although various algorithms are described in the foregoing, it should be appreciated that the invention claimed herein is limited by the claims rather than the disclosure. Thus, rather than claiming a mathematical algorithm, the claims recite a method and apparatus of system identification and control design for single-and multivariable processes. The mathematical algorithms, involving specific transforms, matrix multiplication and matrix inversion, for example, are used as tools operating in combination to attain the desired objects of the invention. Thus, while mathematical equations may provide an efficient manner of describing the inventive concepts, the invention does not pre-empt the mathematical algorithms disclosed herein, per se, but rather the applications thereof to produce a useful and unobvious identification and control apparatus.




Indeed, the method of the invention may be implemented by a programmed computer or processor, programmed to carry out the various computations herein above described by implementing a sequence of instructions controlling its operations and stored in a memory, such as a RAM, a ROM, a recording medium (whether of a magnetic, optical or another type). Moreover, upon identifying the necessary parameters of the systems, regulators, and the like designed in accordance with the invention, it should be recognized that such systems and regulators themselves may be implemented by programmed processors, as well as by electronic devices, utilizing discrete components having values selected to conform with the parameters provided in accordance with the invention.




The inventive apparatus, when operating to obtain the various parameters in accordance with the foregoing principles, has the following significant features, among others which help to distinguish the invention from conventional methods. A direct identification of continuous time-delay systems from the process step responses is provided where a set of new linear regression equations is established from the solution to the process differential equation and its various integrals and the relevant parameters are estimated without iterations. For tests other than open-loop step tests, a general technique for identification of continuous time-delay systems is provided with appropriate use of the FFT, IFFT and the above direct identification from the open-loop step test.




A new relay, called a cascade relay, is proposed to accurately estimate multiple-point frequency response of the process using the FFT, which is very robust to noise and step-like load disturbance. For single variable processes, a new controller design using IMC-principles is proposed with frequency-domain model reduction technique and can yield the optimal PID or high-order controller approximation to the IMC controller to produce the best achievable performance from single-loop feedback configuration.




For multivariable process identification, the sequential experiment scheme is adopted and a systematic method is developed to estimate the process transfer function matrix from various test scenarios, covering step/relay and open-loop/closed-loop ones. For multivariable control, a controller design is proposed using multivariable decoupling, IMC control principles and model reduction, and it can yield the optimal multivariable PID or high-order controller approximation to the IMC controller to produce best achievable performance from single-loop feedback configuration.




A technique based on the standard recursive least squares is proposed for high-accuracy convertions between continuous-time and discrete-time systems. A general control scheme for disturbance rejection is developed as an extension of the disturbance observer used in mechatronics to time-delay processes. It can reduce disturbance response significantly in general and reject periodic disturbance asymptotically in particular.




A processor-readable article of manufacture having embodied thereon software comprising a plurality of code segments that implements any of the aforementioned methods is considered within the spirit and scope of the present invention. The software architecture and hardware underlying the methods described in the following claims can be based upon the hypertext conventions and hardware of a packet-switched network such as the internet (the World Wide Web or www), and the software can be written in object-oriented languages such as Java, HTML and/or XML. As technology of this sort is generally known, no further description will be provided.




The aforementioned technical papers and descriptions of the related art that have been referenced in the above description of the Detailed Description of the Preferred Embodiments are described in greater detail hereinafter. A full bibliographic listing of each of the applicable references is recited hereinafter in alphabetical order, the entirety of each of which is herein incorporated by reference.




Astrom, K. J. (1999). Limitations on control system performance. Submitted to European Journal of Control; Astrom, K. J. and T. Hagglund (1984b). Automatic tuning of simple regulators with specification on phase and amplitude margins. Automatica 210(5), 645-651; Astrom, K. J. and T. Hagglund (1988). Automatic Tuning of PID Controllers. Instrument Society of America. NC, USA; Astrom, K. J., T. Hagglund, C. C. Hang and W. K. Ho (1993). Automatic tuning and adaptation for PID controllers—A survey. Control Eng. Practice 1(4), 699-714; Bi, Q., Q. G. Wang and C. C. Hang (1997). Relay based estimation of multiple points on process frequency response. Automatica 33(9), 1753-1757; Chen, C. T. (1993). Analog and Digital Control System Design: Transfer function, State space, and Algebraic Methods. Fort Worth: Saunders College Publishing; Chien, I. L. (1988). IMC PID controller design an extension. IFALC Proceedings Series 6, 147-152. Hang, C. C., T. H. Lee and W. K. Ho (1993). Adaptive Control. Instrument Society of America. NC, USA; Haykin, S. (1989). An Introduction to Analog & Digital Communications. John Wiley & Sons. New York; Ho, W. K., C. C. Hang and L. S. Cao (1995). Tuning of PID controllers based on gain and phase margin specifications. Automatica 31(3), 497-502; Huang, H. P., C. L. Chen, Y. C. Chao and P. L. Chen (1990). A modified Smith predictor with an approximate inverse of dead time. AIChE Journal 36 (7), 1025-1031; Koivo, H. N. and J. T. Tanttu (1991). Tuning of PID controller: survey of SISO and MIMO techniques. In: Preprints of IFAC International Symp. on Intelligent Tuning and Adaptive Control. Vol. 1. Singapore; Kuhfitting, P. K. F. (1978). Introduction to the Laplace Transform. Plenum Press. New York; Loh, A. P. and U. V. Vasnani (1994). Necessary conditions for limit cycles in multi-loop relay systems. IEE Proceedings on Control Theory and Applications 141, 163-168; Luyben, W. L. (1986). Simple method for tuning SISO controllers in multivariable system. Ind. Eng. Chem. Process Des. Dev. 25(3), 654-660; Mafezzoni, C. and P. Rocco (1997). Robust tuning of PID regulators based on step-response identification. European Journal of Control 3(2), 125-136; Morrison, N. (1994). Introduction to Fourier Analysis. John Wiley & Sons Inc. New York.




Nishikawa, Y., N. Sannomiya, T. Ohta and H. Tanaka (1984). A method for auto tuning of PID control parameters. Automatica 20(3), 321-332; Pintelon, R., P. Guillaume, Y. Rolain, J. Schoukens and H. V. Hamrne (1994). Parametric identification of transfer functions in the frequency domain a survey. IEEE Trans Aut. Control 39(11), 2245-2260; Rivera, D. E., M. Morari and S. Skogestad (1986). Internal model control for PID controller design. Industrial and Engineering Chemistry: Process Design and Development 25, 252-265; Shen, S. H., J. S. Wu and C. C. Yu (1996). Use of biased-relay feedback for system identification. AIChE Journal 42, 1174-1180; Soderstrom, T. and P. Stoica (1989). System identification. Prentice Hall. New York; Suganda, P., P. R. Krishnaswamy and G. P. Rangaiah (1998). On-line process identification from closed-loop tests under PI control. Trans. IChemE 76 (Part A), 451-457; Umeno, T. and Y. Hori (1991). Robust speed control of DC servomotors using modern two degrees-of-freedom controller design. IEEE Trans. Ind. Electron. 38(5), 363-368; Wahlberg, B. and L. Ljung (1992). Hard frequency-domain model error bounds from least-squares like identification techniques. IEEE Trans. Au.t. Control 37(7), 900912; Wang, Q. G. and Y. Mang (2000). Frequency response identification with cascade relay feedback. accepted by Int. J. Control; Wang, Q. G., H. W. Fung and Y. Mang (1999b). Robust estimation of process frequency response from relay feedback. ISA Transactions 38, 3-9; Wang, Q. G., T. H. Lee. and Q. Bi (1997). Use of FFT in relay feedback systems. Electronics Letters 33, 1099-1100; Wang, Q. G., Y. Zhang and M. S. Chiu (1999c). Decoupling internal model control for multivariable systems with multiple time delays. Submitted to Automatica; Wood, R. K. and M. W. Berry (1973). Terminal composition control of a binary distillation column. Chem. Eng. Sci. 28, 1707-1717; Yan, W. Y. and J. Lam (1999). An approximate approach to H2 optimal model reduction. IEEE Rans. Aut. Control 44(7), 1341-1358; and Zhuang, M. and D. P. Atherton (1993). Automatic tuning of optimum PID controllers. IEE Proceedings on Control Theory and Applications 140(3), 216-224.




The invention being thus described, it will be obvious that the same may be varied in many ways. Such variations are not to be regarded as a departure from the spirit and scope of the invention, and all such modifications as would be obvious to one skilled in the art are intended to be included within the scope of the following claims.



Claims
  • 1. A method for identification of a continuous time-delay system from a process step response, said method comprising the steps of:applying an open-loop step test and recording at least one output time response; obtaining at least one linear regression equation from the at least one output time response; estimating the regression parameters by an LS method; and recovering the process model coefficients for the continuous time-delay system using an explicit relationship between the regression parameters and the regression parameters in the actual process.
  • 2. The method according to claim 1, wherein said step of estimating the regression parameters by an LS method is completed without iterations.
  • 3. The method according to claim 1, wherein said method includes at least one of an FOPDT model, a SOPDT model and a SOPDTZ model for approximating an industrial process.
  • 4. The method according to claim 3, wherein the industrial process requires a system model for analysis, prediction, filtering, optimization, management or tuning of a controller for a process system.
  • 5. The method according to claim 4, wherein the process system includes monotonic or oscillatory dynamics of minimum-phase or non-minimum phase processes.
  • 6. The method according to claim 2, wherein said continuous time-delay system has been brought into a constant steady state with a controller and said open-loop step test is replaced by a closed loop test producing a steady state response.
  • 7. A method for closed-loop identification of a continuous time-delay system, comprising the steps of:applying a closed-loop test that attains a steady state response or stationary oscillations at the end of test; recording a process input response and an output time response for the closed-loop test; using a FFT to calculate the process frequency response; using an inverse FFT to construct the process step response; applying an open-loop identification method to obtain the process model.
  • 8. The method according to claim 7 wherein said open-loop identification method to obtain the process model includes the steps of:applying an open-loop step test and recording at least one output time response; obtaining at least one linear regression equation from the at least one output time response; estimating the regression parameters by an LS method; and recovering the process model coefficients for the continuous time-delay system using an explicit relationship between the regression parameters and the regression parameters in the actual process.
  • 9. The method according to claim 8, wherein a FOPDT model, SOPDTZ model or higher order model is obtained through said open-loop identification method.
  • 10. The method according to claim 7, wherein the closed-loop test is a step test or a relay test.
  • 11. A cascade relay feedback system for exciting a process at a process critical frequency ωc, said cascade relay system including:a first loop; a second loop; a master relay in the second loop, wherein said cascade relay system permits persistent excitation at 0.5 ωc and 1.5 ωc; and a slave relay in the first loop, wherein said cascade relay system can excite said process at said process critical frequency, ωc.
  • 12. A method for identification of the cascade relay feedback system of claim 11, said method comprising the steps of:performing a cascade relay test for a process; and using a FFT algorithm to compute a process frequency response at multiple frequencies.
  • 13. A controller design method for a single variable process using IMC principles, said method comprising the steps of:specifying an initial value for a tuning parameter according to a performance limitation of single loop control system due to non-minimum phase elements; specifying a type of controller; using an LS method for generating the controller parameters and evaluating a corresponding approximation error; completing said design method if the corresponding approximation error satisfies a specified approximation threshold.
  • 14. The controller design method according to claim 13, wherein the corresponding approximation error does not satisfy the specified approximation threshold, said method further comprising the steps of:updating the initial value of the tuning parameter; and repeating the steps of claim 13 until said corresponding approximation error satisfies the specified approximation threshold.
  • 15. The controller design method according to claim 13, wherein the corresponding approximation error does not satisfy the specified approximation threshold, said method further comprising the steps of:using an LS method to find a lowest high-order controller by increasing the order of the controller gradually until satisfying the specified approximation threshold; and completing said design method.
  • 16. A method for identifying a multivariable process, said method comprising the steps of:bringing the process to a constant steady state; specifying a test type and a test mode; performing a sequential experiment and recording all the process input and output responses; calculating a process frequency response; constructing a process step response; and estimating a process model.
  • 17. The method according to claim 16, wherein said test type is at least one of a relay test and a step test, and said test mode is at least one of a open-loop test and a closed-loop test.
  • 18. The method according to claim 17, wherein said test mode is an open-loop test, and said steps of calculating the process frequency response, constructing the process step response and estimating the process model include an open-loop identification method to obtain the process model, said open-loop identification model including the steps of:applying an open-loop step test and recording at least one output time response; obtaining at least one linear regression equation from the at least one output time response; estimating the regression parameters by an LS method; and recovering the process model coefficients for the continuous time-delay system using an explicit relationship between the regression parameters and the regression parameters in the actual process.
  • 19. A controller design method for a multivariable process using multivariable decoupling and IMC-principles, said method comprising the steps of:specifying an objective closed-loop transfer function matrix with each diagonal element taking into account time delay and non-minimum phase zeros; using an LS method to find a PID controller and evaluating a corresponding approximation error; and completing said design method if the corresponding approximation error satisfies a specified approximation threshold.
  • 20. The controller design method according to claim 19, wherein the corresponding approximation error does not satisfy the specified approximation accuracy, said method further comprising the steps of:updating a tuning parameter in said closed loop; specifying the objective closed-loop transfer function matrix with each diagonal element taking into account time delay and non-minimum phase zeros; using the LS method to find another PID controller and evaluating a corresponding approximation error; and completing said design method if the corresponding approximation error satisfies the specified approximation threshold.
  • 21. The controller design method according to claim 19, wherein the corresponding approximation error does not satisfy the specified approximation threshold, said method further comprising the steps of using LS method for each element of the controller matrix to find the simplest high-order controller by increasing the order of each element gradually until satisfying the specified approximation threshold.
  • 22. A method for high performance conversion between a continuous-time system and a discrete-time system, said method comprising the steps of:specifying an initial weighting function and an initial model; conducting a RLS approximation to give a rational transfer function; updating the weighting function according to the last RLS approximation; and repeating said conducting step and said updating step until a corresponding approximation satisfies a specified approximation threshold.
  • 23. A method for disturbance compensation for a time-delay process using a disturbance observer, said method comprising the steps of:estimating a process model; determining if a delay free part of the model is of minimum-phase, and factorizing the delay free part of the model into a minimum-phase part and non-minimum-phase part if said delay free part of the model is not in minimum phase; specifying a filter to make an inversed minimum-phase part of the model proper; and approximating a pure predictor by choosing parameters according to a suggested guideline for rejecting general disturbance or specifying the time-delay in the disturbance observer according to a suggested guideline for rejecting periodic disturbance.
  • 24. A processor-readable article of manufacture having embodied thereon software comprising a plurality of code segments that implements the method of claim 1, in order to enable an operator to identify, control and manage a continuous time-delay system from a process step response.
  • 25. A single loop control system for a single variable process, said single loop control system having a system input, a system output, and a controller having the controller parameters generated by the method of claim 13.
PRIORITY

The present inventors claim the benefit of U.S. Provisional Application No. 60/241,298, filed on Oct. 18, 2000, the entire contents of which is hereby incorporated by reference.

US Referenced Citations (4)
Number Name Date Kind
5777871 Wise Jul 1998 A
6169981 Werbos Jan 2001 B1
6481427 Javaherian Nov 2002 B1
6505085 Tuttle et al. Jan 2003 B1
Provisional Applications (1)
Number Date Country
60/241298 Oct 2000 US