Adaptive Inverse Control based on Linear and Nonlinear Adaptive Filtering

Similar documents
ADAPTIVE INVERSE CONTROL BASED ON NONLINEAR ADAPTIVE FILTERING. Information Systems Lab., EE Dep., Stanford University

Adaptive Inverse Control

inear Adaptive Inverse Control

Automatic Stabilization of an Unmodeled Dynamical System Final Report

Temporal Backpropagation for FIR Neural Networks

EFFICIENT LINEAR MIMO ADAPTIVE ŜP INVERSE CONTROL. Gregory L. Plett E

4.0 Update Algorithms For Linear Closed-Loop Systems

( t) Identification and Control of a Nonlinear Bioreactor Plant Using Classical and Dynamical Neural Networks

Application of Neuro Fuzzy Reduced Order Observer in Magnetic Bearing Systems

EFFICIENT LINEAR MIMO ADAPTIVE INVERSE CONTROL

Using Neural Networks for Identification and Control of Systems

Neural Dynamic Optimization for Control Systems Part II: Theory

NOTICE WARNING CONCERNING COPYRIGHT RESTRICTIONS: The copyright law of the United States (title 17, U.S. Code) governs the making of photocopies or

A Logarithmic Neural Network Architecture for Unbounded Non-Linear Function Approximation

Variable Learning Rate LMS Based Linear Adaptive Inverse Control *

Optimal Polynomial Control for Discrete-Time Systems

On the Use of A Priori Knowledge in Adaptive Inverse Control

Iterative Learning Control Analysis and Design I

CBE507 LECTURE III Controller Design Using State-space Methods. Professor Dae Ryook Yang

Relating Real-Time Backpropagation and. Backpropagation-Through-Time: An Application of Flow Graph. Interreciprocity.

Lecture 19 IIR Filters

Lecture 12. Upcoming labs: Final Exam on 12/21/2015 (Monday)10:30-12:30

Internal Model Control of A Class of Continuous Linear Underactuated Systems

EEE 241: Linear Systems

Keywords- Source coding, Huffman encoding, Artificial neural network, Multilayer perceptron, Backpropagation algorithm

New Recursive-Least-Squares Algorithms for Nonlinear Active Control of Sound and Vibration Using Neural Networks

IN neural-network training, the most well-known online

Pattern Recognition Prof. P. S. Sastry Department of Electronics and Communication Engineering Indian Institute of Science, Bangalore

Filter-Generating Systems

AN ALTERNATIVE FEEDBACK STRUCTURE FOR THE ADAPTIVE ACTIVE CONTROL OF PERIODIC AND TIME-VARYING PERIODIC DISTURBANCES

Discrete-Time Systems

Control System Design

Recurrent neural networks with trainable amplitude of activation functions

Deep Belief Networks are compact universal approximators

T Machine Learning and Neural Networks

COMPOSITE REPRESENTATION OF BOND GRAPHS AND BLOCK DIAGRAMS FOR CONTROLLED SYSTEMS

Robust Controller Design for Speed Control of an Indirect Field Oriented Induction Machine Drive

Feedback Control of Dynamic Systems

Digital Signal Processing Lecture 4

RELAY CONTROL WITH PARALLEL COMPENSATOR FOR NONMINIMUM PHASE PLANTS. Ryszard Gessing

Chapter 9 Robust Stability in SISO Systems 9. Introduction There are many reasons to use feedback control. As we have seen earlier, with the help of a

TECHNICAL RESEARCH REPORT

Application of Artificial Neural Networks in Evaluation and Identification of Electrical Loss in Transformers According to the Energy Consumption

A New Weight Initialization using Statistically Resilient Method and Moore-Penrose Inverse Method for SFANN

SOME RESULTS CONCERNING FAST LINEAR MIMO ADAPTIVE INVERSE CONTROL

Supervised (BPL) verses Hybrid (RBF) Learning. By: Shahed Shahir

Analyzing the Stability Robustness of Interval Polynomials

CONTROL SYSTEMS, ROBOTICS, AND AUTOMATION Vol. III Controller Design - Boris Lohmann

Chapter 2 Review of Linear and Nonlinear Controller Designs

ADAPTIVE FILTER ALGORITHMS. Prepared by Deepa.T, Asst.Prof. /TCE

Modeling and Control Overview

Trajectory tracking control and feedforward

Chapter 7 Interconnected Systems and Feedback: Well-Posedness, Stability, and Performance 7. Introduction Feedback control is a powerful approach to o

Title without the persistently exciting c. works must be obtained from the IEE

Determining Appropriate Precisions for Signals in Fixed-Point IIR Filters

Introduction to Artificial Neural Networks

Cosc 3451 Signals and Systems. What is a system? Systems Terminology and Properties of Systems

DIGITAL SIGNAL PROCESSING UNIT III INFINITE IMPULSE RESPONSE DIGITAL FILTERS. 3.6 Design of Digital Filter using Digital to Digital

EFFECTS OF ILL-CONDITIONED DATA ON LEAST SQUARES ADAPTIVE FILTERS. Gary A. Ybarra and S.T. Alexander

Chapter 13 Digital Control

ME 132, Dynamic Systems and Feedback. Class Notes. Spring Instructor: Prof. A Packard

Repetitive control : Power Electronics. Applications

Artificial Neural Network and Fuzzy Logic

Reinforcement Learning, Neural Networks and PI Control Applied to a Heating Coil

Learning and Memory in Neural Networks

Design of Decentralised PI Controller using Model Reference Adaptive Control for Quadruple Tank Process

A FEEDBACK STRUCTURE WITH HIGHER ORDER DERIVATIVES IN REGULATOR. Ryszard Gessing

Fall 線性系統 Linear Systems. Chapter 08 State Feedback & State Estimators (SISO) Feng-Li Lian. NTU-EE Sep07 Jan08

Closed-loop system 2/1/2016. Generally MIMO case. Two-degrees-of-freedom (2 DOF) control structure. (2 DOF structure) The closed loop equations become

Simon Fraser University School of Engineering Science ENSC Linear Systems Spring Instructor Jim Cavers ASB

Adaptive MMSE Equalizer with Optimum Tap-length and Decision Delay

Address for Correspondence

RESPONSE PREDICTION OF STRUCTURAL SYSTEM SUBJECT TO EARTHQUAKE MOTIONS USING ARTIFICIAL NEURAL NETWORK

Lifted approach to ILC/Repetitive Control

System Identification Using a Retrospective Correction Filter for Adaptive Feedback Model Updating

Control System Design

Ch. 7: Z-transform Reading

EECE Adaptive Control

STRUCTURED NEURAL NETWORK FOR NONLINEAR DYNAMIC SYSTEMS MODELING

Inter-Ing 2005 INTERDISCIPLINARITY IN ENGINEERING SCIENTIFIC CONFERENCE WITH INTERNATIONAL PARTICIPATION, TG. MUREŞ ROMÂNIA, NOVEMBER 2005.

DESIGN OF AN ON-LINE TITRATOR FOR NONLINEAR ph CONTROL

ADAPTIVE INVERSE CONTROL OF PLANTS WITH DISTURBANCES

UNIT 1. SIGNALS AND SYSTEM

THIS paper deals with robust control in the setup associated

DATA receivers for digital transmission and storage systems

Artificial Neural Networks The Introduction

Recursive Neural Filters and Dynamical Range Transformers

Digital Signal Processing

DEEP LEARNING AND NEURAL NETWORKS: BACKGROUND AND HISTORY

Design Collocation Neural Network to Solve Singular Perturbed Problems with Initial Conditions

Lecture 2 Discrete-Time LTI Systems: Introduction

Designing Dynamic Neural Network for Non-Linear System Identification

Chapter 4 Neural Networks in System Identification

Performance of an Adaptive Algorithm for Sinusoidal Disturbance Rejection in High Noise

CANONICAL LOSSLESS STATE-SPACE SYSTEMS: STAIRCASE FORMS AND THE SCHUR ALGORITHM

MTNS 06, Kyoto (July, 2006) Shinji Hara The University of Tokyo, Japan

(Continued on next page)

Feedback Control of Linear SISO systems. Process Dynamics and Control

D(s) G(s) A control system design definition

Artificial Neural Network Simulation of Battery Performance

Transcription:

Adaptive Inverse Control based on Linear and Nonlinear Adaptive Filtering Bernard Widrow and Gregory L. Plett Department of Electrical Engineering, Stanford University, Stanford, CA 94305-9510 Abstract At present, the control of a dynamic system (the $plant ) is generally done by means of feedback. This paper proposes an alternative approach that uses adaptive filtering to achieve feedforward control for both linear and nonlinear plants. Precision is attained because of the feedback incorporated in the adaptive filtering. Disturbance in the plant can be optimally controlled by a special circuit that obtains the disturbance at the plant output, filters it, and feeds it back into the plant input. The circuit works in such a way that the feedback does not alter the plant dynamic response. The concept of adaptive inverse control has application to both linear and nonlinear, MIMO and SISO plants [I]. Keywords: adaptive control, adaptive inverse control, MIMO control, SISO control, nonlinear control, linear control 1: Introduction In classical analog control systems, feedback is used to attain precise control of the plant [2]. Likewise, discrete time control systems build on this classical material and use similar methods to control a plant using a digital computer [3]. However, we propose that those methods which are most natural for developing an analog controller are not the most natural for developing a digital controller. Here, we present a different control paradigm for discrete-time control which uses adaptive signal processing methods to control either linear or nonlinear, SISO or MIMO plants. Precision is attained, not due to output feedback, but rather due to the implicit feedback incorporated in the adaptive process. The control of plant dynamic response is treated separately, without compromise, from the optimal control of plant disturbance. All of the required operations are based on adaptive filtering techniques. Following the proposed methodology, knowledge of adaptive signal processing allows one to go deeply into the field of adaptive control. In this paper, we first discuss the adaptive elements used by the adaptive inverse control designer. Next, the adaptive inverse control concept is presented; an example and conclusions follow. 30 0-8186-7456-3/96 $5.00 0 1996 IEEE

2: Adaptive elements The basis for adaptive inverse control rests firmly 011 the foundational theory of adaptive signal processing. Depending on the particular control problem at hand, either or both of the two basic categories of adaptive element may be required, that is, linear adaptive elements (filters) or nonlinear adaptive elements. These are described in the following sections. 2.1: Linear adaptive elements A linear single-input single-output (SISO) filter of length n is depicted in Fig. 1. It consists of a tapped-delay line, a set of weights (WO, UJ~,..., w,) and a summation unit. The output of the filter is computed as the weighted sum of the past n+ 1 input samples. The filter shown is an FIR (finite impulse response) filter, which is sufficient for our purposes. IIR (infinite impulse resplonse) filters also exist but are more difficult to adapt, and the added generality is rarely useful since an appropriately long FIR filter can approximate any IIR filter. +... =$I + +... Y PI Figure 1: Structure of a linear. single-input single-output, FIR filter. As described so far, the filter is static. Even so, it can still be useful for many purposes. Such a filter will have a fixed transfer function, that is, a fixed input-output relationship. It would be adequate for the purpose of controlling a linear plant zf we knew exactly what the transfer function of the jilter needed to be. Such information is unknown initially in a practical control problem, although it can be determined with some effort. We are therefore motivated to find an automated method of determining the required filter. By augmenting the filter of Fig. 1 with a desired out,@ and an adaptation algorithm, the difference between the actual output and desired output (the error) can be used by the adaptation algorithm to adapt the filter s transfer function. In time, it will converge to the desired transfer function. One simple yet highly powerful algorithm for this task is the LMS algorithim which is discussed in reference [4]. While the filter shown in Fig. 1 is a SISO filter, it is easily modified to make an adaptive multi-input multi-output (MIMOl) linear filter. Using a filter with appropriately large n, any linear SISO or MIMiO function cain be modeled. 31

2.2: Nonlinear adaptive elements A nonlinear element analogous to the one shown in Fig. 1 exists; the only change is the addition of a nonlinear sigmoid function at the output of the device. The hyperbolic tangent function is very frequently employed for this purpose. By itself, such a nonlinear adaptive element is rarely useful, but when combined into networks, they form a very powerful computing methodology*. Figure 2 shows a schematic representation of such a network, where the dark disks represent input values, and the white disks represent nonlinear adaptive elements as described above. The adaptive element on the right is considered to be the output of the network. Such a network has been proven to be capable of approximating (with arbitrarily small error) any smooth nonlinear function, using only two layers of adaptive elements [5]. In our work, the final layer of adaptive elements in a network have the nonlinearity removed. This allows for non-restricted dynamic range. Figure 2: Schematic representation of a network of nonlinear adaptive elements. A number of adaptation algorithms exist for these networks, but by far the most ubiquitous is the backpropagation algorithm. An excellent discussion of this algorithm may be found in reference [6]. Again, MIMO nonlinear filters are easily obtained by appropriate extensions. 3: The adaptive inverse control concept 3.1: Control of linear SISO plants By constructing an appropriate topology of adaptive elements, precise control of a dynamical system can be achieved. We will first describe the adaptive inverse control concept as it applies to a linear SISO plant, and then extend the analysis to more general plants in later sections. Necessarily, we consider the plant to be stable. If it is unstable, it must first be stabilized by standard feedback techniques. The feedback need not be optimized, since any feedback that stabilizes will suffice. We also consider the plant to be time invariant (or at worst, slowly time varying with respect to the control rate). Then, a transfer function exists for the plant and is computed as the z-transform of the plant s impulse response. Similarly, there exists an inverse of this often called (artificial) neural networks, where the adaptive elements are called (artificial) neurons.

transfer function and the cascade of a filter implementing the inverse transfer function with the plant will produce the identity function-the output of the plant will exactly track the input control signal. Clearly, this is very nearly what 'we would like for any regulator or tracking control problem. More generally, we might like the controlled system to have a transfer function conforming to some pre-determined model. Then, by preceding the plant by a filter whose transfer function is the product of the transfer function of the model and the inverse of the plant, a controller is implemented which gives the desired input-output relatiowhip. We can realize this model-reference control system by recalling that linear SISO systems commute, and constructing a system as shown in Fig. 3. Plmt output '3 L---* Figure 3: Adaptive inverse control structure for controllling a linear SISO plant. In this figure, the plant is preceded by a linear filter ~ C O ~ whose Y, weights are copied from the adaptive filter e. The output of 6copy is used as the input to the plant, and also as input to the linear filter M whose transfer function is that of the desired model. The output of M is then the desired output of the filter 8, and is used by the LMS algorithm to adapt 6. Thus, when adaptation has converged, the cascade of the plant followed by e will have a transfer function equal to the transfer function of M. Due to the commutability of linear filters, the cascade of ecopy followed by the plant will have the same desired transfer function. This is the beauty of adaptive inverse control! One detail which has been glossed over thus far is that if the plant is nonminimum phase, then its inverse will be non-causal. In such a case', a delayed inverse can still be obtained. This is done by incorporating a pure delay term A into the filter M. This delay is not a deficiency of the adaptive inverse control method; indeed, it is inevitable with any controller for such a plant. 3.2: Control of linear MIMO and nonlinear plants One property on which we relied to create the above model-reference controller was that linear SISO systems commute. Regretfully, this proplerty does not hold for either linear MIMO or nonlinear plants. Happily, all is not lost since inverses and delayed inverses do commute, even for these systems. Thus, by partitioning the problem into two distinct parts, the inverse part and the model-reference part, we can in the same way come up with a controller which will control linear MIMO and nonlinear systems. 33

Such a controller, less the model M, is shown in Fig. 4. It is the same as the one of Fig. 3 except that the pure inverse or delayed inverse is being computed as C. The A block represents a general modeling delay term necessary for a nonminimum phase plant. Additionally] the entire system would be preceded by M to give the overall desired transfer function. Command U Plant output * Figure 4: Inverse controller capable of linear and nonlinear, SlSO and MlMO control. One additional problem arises for nonlinear systems which has yet to be formally resolved. This is that nonlinear systems in general are not one-to-one functions] and thus do not have inverses in the strictest sense. Consider, for example, the sinusoid function which is invertible only in regions [k7r- 7r/2, k~ + 7r/2], where k is an integer. That is, if y = sinz, then z can only be uniquely determined if IC is also known: z = sin- (y, IC). To solve this problem, we can consider nonlinear functions to have local inverses, and require extra side-information such as some appropriate state approximation to create a true inverse. For any nonlinear control problem, this appropriate side information will need to be determined and used to train the inverse controller. 3.3: Removing controller bias due to disturbance When disturbance is present in the plant or in the sensing apparatus] the above method will produce a biased controller. We see this by observing that the disturbance will cause a region in the input space around a desired set point to be trained to have a single output value. The modified scheme in Fig. 5 alleviates this problem. For simplicity] the model has been eliminated from this figure, but it could be easily added. The bias due to disturbance is removed by first making an adaptive model of the plant, and secondly finding the inverse of the plant model. No bias exists in the plant model since it is not the input but the output of the model which is perturbed; consequently, there will be no bias in the plant inverse. 4: Disturbance canceling The systems presented so far allow for very simple yet effective design of controllers. However, one issue which needs to be addressed further before a fully practical controller exists is that of disturbance. We have seen that a controller can be built which is not biased by disturbance, but have not considered any way of rejecting the disturbance. 34

Command Figure 5: A system which is unbiased by disturbance. Classical control methods address disturbance via feedback. Using either output feedback or state feedback, the transfer function of the plant is changed to make the system stable, change the transfer function of the sys,tem in order to meet design criteria, and to provide a degree of disturbaince rejection. A problem with this method is that all three of the design goals can compete with each other, and a tradeoff between them must be sought. The adaptive inverse control concept al.lows the designer to address these three issues separately and independently. Feed'back is still utsed in order to stabilize the plant, but the design of the feedback is not critical so long as the plant is stable. Secondly, we have already seen that a model-reference inverse controller is realized in order to meet the specific design requirements (i.e., those of the model). All that remains is to control the disturbance. Rather than using feedback disturbance rejection, as is done in feedback control, adaptive inverse control uses signal proces,sing techniques to attempt to cancel the disturbance completely. The basic idea is that the plant disturbance is estimated, filtered by a filter 0, and then added.to the plant contro:l signal+. While it is beyond the scope of this paper to develop all the details of the disturbance canceler here, the interested reader is referred to referencle [l] where the subject is treated comprehensively. Figure 6 shows the complete controller architecture, including disturbance canceler, for a linear SISO plant. Similar structures are used for MIMO and nonlinear plants. 5: An illustrative example An example is used to illustrate the concepts presented in this paper. For this example, we desire to control an unstable and nonminimum-phase linear SISO plant, with transfer function: (s - 0.5) (s + l)(,s - 1)' +In a sense, this is feedback control, but notice that if there is no disturbance present, the feedback will be zero, and the transfer function of the plant is unaltered. 35

+r I Figure 6: Complete controller including disturbance canceler, for a linear SlSO plant. The plant was stabilized by using unity feedback and a compensating network with transfer function: k(s + 1) (s + 7)(s - 2) For this experiment, IC was selected to be 24. The sampling rate was chosen to be 10 Hz, which gives the resulting discrete-time transfer function: 0.1032(2-1.0513)(2 + 0.8608) (2-0.9048)2(z - 0.8187) The impulse response for this plant is shown in Fig. 7(a). An adaptive inverse controller of the form shown in Fig. 3 was used, with the model M equal to a pure delay of 20 time samples. The delayed-inverse impulse response, as found by simulation, is shown in Fig. 7(b). Convolving the plant impulse response with the delayed-inverse impulse response, we get the impulse response in Fig. 7(c). While this impulse response is not perfect, the controller is still able to accurately control the plant. The plant was also simulated with disturbance. Figure 7(d) shows the square of the output error for a the simulated plant. The disturbance canceler was turned on at the 5,000th sample time. Dramatic improvement can be seen. 36

',no h U 9 N x I 37

6: Conclusions Adaptive inverse control is a very simple yet highly effective way of controlling linear or nonlinear, SISO or MIMO plants using signal processing techniques. The control scheme is partitioned into smaller sub-problems which can be independently optimized. While a simple linear example was presented, these control structures, coupled with simple learning algorithms, show great promise for the control of complicated and highly nonlinear systems. Future work needs to be done to characterize system responses and to establish the optimality of disturbance control. This is very much an open area for resdarch. 7: References 1. Bernard Widrow and Eugene Walach. Adaptive Inverse Control. Prentice-Hall, Englewood Cliffs, NJ, 1995. 2. Gene F. Franklin, J. David Powell, and Abbas Emami-Naeini. Feedback Control of Dynamic Systems. Addison-Wesley, Reading, MA, second edition, 1991. 3. Gene F. Ranklin, J. David Powell, and Michael L. Workman. Digital Control of Dynamic Systems. Addison-Wesley, Reading, MA, second edition, 1990. 4. Bernard Widrow and Samuel D. Stearns. Adaptive Signal Processing. Prentice-Hall, Englewood Cliffs, NJ, 1985. 5. A. N. Kolmogorov. On the representation of continuous functions of many variables by superposition of continuous functions of one variable and addition [in Russian]. Dokl. Akad. Nauk USSR, 114:953-956, 1957. 6. D. E. Rumelhart, G. E. Hinton, and R. J. Williams. Learning internal representations by error propagation. In D. E. Rumelhart and J. L. McClelland, editors, Parallel Distributed Processing, volume 1, chapter 8. The MIT Press, Cambridge, MA, 1986. 38