m. _- 1 WIN/I xii; iii/2mm LIBRARY 12023326 Michigan Stan: University This is to certify that the thesis entitled Optimal Control System Design: The Predictive Sampline Problem presented by Uhi Ahn has been accepted towards fulfillment of the requirements for Doctoral degree in Systems Science @Mam Major professor Robert A. Schlueter Date February 16, 1978 0-7539 '- ‘ ' a .‘ t:1:’ii‘>-\ 1. first”! J W w: 25¢ per day per item RETURNING LIBRARY MATERIALS Place in book return to rent charge from circulation rec: OPTIMAL CONTROL SYSTEM DESIGN: THE PREDICTIVE SAMPLING PROBLEM BY Uhi Ahn A DISSERTATION Submitted to Michigan State University in partial fulfillment of the requirements for the degree of DOCTOR OF PHILOSOPHY Department of Electrical Engineering and System Science 1978 ABSTRACT OPTIMAL CONTROL SYSTEM DESIGN: THE PREDICTIVE SAMPLING PROBLEM By Uhi Ahn The principal contributions of this thesis are the formulation and solution of the optimal predictive sampling criterion for a sampled-data control system and the develop- ment of the optimal control system design methodology for the optimal predictive sampling problem. The system performance index is formulated with a control performance index that measures actual performance of the control rather than error due to the sample and hold device as in the formulation of previous adaptive sampling criteria. The control performance index measures control performance over both the sampling interval over which the control is held con- stant and a future interval where the control is permitted to be continuous. Thus, only one sampling interval at a time is chosen and is based on the estimate of this performance index which in turn is based on past measurement of outputs of the system and knowledge of system inputs, system dynamics, and disturbance, initial conditions, and measurement noise statis- tics. A cost of implementation is included in the system.per- formance index and is a specified constant if the predictive Uhi Ahn sampling criterion is being used to perform control on a specified set of hardware and is a function of the length of the sampling interval if the objective is to design and select the computer hardware, computational algorithms, and computer software to implement the predictive sampling criterion. The results of the optimal adaptive sampled-data control with predictive sampling criterion shows that the optimal predictive sampling criterion is indeed adaptive for on-line control if future performance can be precisely predicted as in the deterministic system but is periodic if future per-, formance cannot be predicted as in the stochastic systems Mbreover, the optimal predictive sampling criterion performs a control function because the control performance is improved over that of the continuous-time control for the deterministic system. Optimal control system design methodology is further refined in this thesis. This optimal control system design is broken down into the optimal control design where the para- meters of the control performance index are optimally tuned so that the resulting control meets the control performance objec- tives, and the optimal system design where the hardware to be implemented is optimally determined. The optimal system de- sign procedure determines a precise cost of implementation as a function of the computational algorithms, computer software implementing that algorithm, and the hardware and then deter- mines the optimal selection of hardware, computational algorithm, and computer software by a tradeoff of control performance Uhi Ahn and cost of implementation. Thus, optimal control system design really completes the design problem for an optimal control system because it not only tunes the control performance index to obtain acceptable control but also determines a precise cost of implementation and then selects a hardware, computational algorithm, and software option based on the control performance and cost specifi- cations. An example problem.is chosen and is the linear second-order type two system which has been used extensively in the past research related to the optimal sampling problem. The control performance for the optimal sampled-data control with predictive sampling criterion is compared to the periodic sampled-data control and continuous control. The actual hardware cost for optimal predictive sampling problem.is developed for this particular system. The para- 'meters of the control performance index are then tuned for this system based on control objectives. A particular hard- ware, algorithm, and computer software option is then selected for this system.based on a tradeoff of performance and cost. To my wife, Jay-Bum, and Bobby Jae-Hong ii ACKNOWLEDGMENTS This author wishes to express his sincere appreciation to his academic advisor, Dr. Robert A. Schlueter, for his guidance and numerous suggestions during the course of this work and also for his painstaking review of this manuscript. Other thesis guidance committee members, Drs. Jhon B. Kreer, Gerald L. Park, Robert O. Barr, and Albert N. Andry, are also warmly thanked for their concern and interest in this work. A special note of thanks is due Dr. Gerald L. Park for his valuable comments on this manuscript. The financial support of Consumers Power Company in Jackson in Michigan and the Division of Engineering Research at Michigan State University are gratefully acknowledged. The understanding, patience and encouragement of the author's wife, Mee-Eyun, is sincerely appreciated. iii CHAPTER LIST OF LIST OF 1. TABLE OF CONTENTS TABLES . FIGURES INTRODUCTION . Historical Development . Optimal Control System Design . Optimal Aperiodic Sampling Problem for Control . . . . Optimal Predictive Sampling Problem . Important Results and Contributions . PROBLEM FORMULATION OPTIMAL CONTROL SYSTEM DESIGN (OCSD) METHODOLOGY . 3.1 Optimal Control Design (OCD) Problem 3.2 Optimal System Design (OSD) Problem . HH HHH up UNH OPTIMAL CONTROL DESIGN (OCD) FOR PREDICTIVE SAMPLING PROBLEM . . . . . 4.1 Effects of Changes in Performance Index Parameters . . . . 4.2 Selection of Control Performance Parameters . . . . . . . . 4.3 Summary . OPTIMAL SYSTEM DESIGN (OSD) FOR PREDICTIVE SAMPLING PROBLEM . . . . . . Selection of Algorithm Hardware Options . . Optimization of Software . . . Development of Cost of Implementation . Optimal Selection of Hardware . . CONCLUSIONS . UIU'IUIUIUI U'lvPUDNH iv . 28 . 31 . 34 .37 38 62 °. 70 . 73 . 73 . 77 . 79 . 82 . 87 . 100 TABLE 4-1. 4-3. 5-3. 5-4. 5-5. LIST OF TABLES Cumulative control performance with a,F11 variations for unit step input when A1.tf"t i and T Mi -0. 02 o o o 0 Cumulative control performance and terminal error for unit step input with A variations for medium system . . . . . . . . . . . . Cumulative control performance and terminal error for unit step input with A variations for fast system . . . . . . . . Cumulative control performance for variation in a, A, and F on fast stochastic system with samplef quition‘wj (t) and }N Selected minicomputers and {‘Eij 1‘1 specifications . . . Total number of equivalent additigns to find T1 using DSC algorithm for each Ti Cgmputation time for each computer for each Ti. 0 o o o o o o o o o o o o 0 Set of feasible computers for each Ti Cumulative control performance and terminal error with Tmin variations for fast system . . S9 . 6O . 72 . 78 . 89 . 89 . 90 . 99 FIGURE 4-10. 4-11. 5-1. LIST OF FIGURES System.block diagram for the optimal pre- dictive sampling problem . . Flow chart of computational procedure for solving the predictive sampling problem J(To) vs T0 with a variations for medium system.when Fll=O.l and Ai=tf-ti . J(T0) vs T0 with F11 variations for medium system when Ai-tf-ti . Output trajectories for a and F11 vari- ations for medium system.when Ai-tf-ti . . Output trajectories for a and F11 vari- ations for fast system when Ai=tf-ti . J(TO) vs T0 with A variations for medium system when 01-200 and 1711-0 . Output trajectories for A variations for medium system when a=200 and F11=0 . J(TO) vs T0 with A variations for medium system when a-ZOO and Ell-0.1 . Output trajectories for A variations for 'medium.system.when a-ZOO and F11-0.1 . Output trajectories for A variations for medium system when a-l and F11=0.1 . . . Output trajectories for Q22 variations for medium system when aal, A=O.88 and Ell-0.1 . Cumulative control performance Jc vs tf ‘with F-O for medium system . J(T0) vs integral step size emax for several time intervals To . vi . 43 . 44 . 47 . 48 52 . 53 54 57 . 58 61 . 65 88 LIST OF FIGURES (Continued . . .) FIGURE 5-2. 5-3. 5-4. Cost of implementation C(Ti) vs sampling time interval Ti . . . . . . . . . . . . Cumulative control performance J (T . ) vs den for unit step input operatifig Ehfidition . Output trajectories for adaptive sampling ‘with Tmin-0.0105, periodic sampling, and continuous control for fast system . vii . 98 CHAPTER 1. INTRODUCTION 1.1 Historical Development Periodic sampling criteria have often been used be- cause of the ease of design and analysis using transform techniques. Adaptive sampling criteria [1-11] have been developed to vary the sampling rate in proportion to the rate of change of some output or error signal. The first attempt at placing an analytic framework under the design of sampling criteria was made by Hsia [7]. In this work a large class of adaptive sampling rules was derived analytically from a con- tinuous time integral performance index which measured the squared error introduced by sampling the error or output sig- nals of a feedback control system. The performance index was augmented by a cost for sampling which was inversely propor- tional to the sampling interval length and represented the costs for measuring, transmitting and storing the sample. The formulation of the optimal control problem has al- ways included a control performance measure but has seldom included cost of implementation. Thus, the optimal control design is either impractical or must be modified to incorp- orate practical constraints imposed by costs of implementing the optimal control. An optimal control system design formu- lation [12] would directly impose the cost of implementation 1 2 constraints by adding appropriate cost terms to the control performance index as in the formulation of these adaptive sampling criteria [7]. Practical control system.design could thus be obtained directly. Although almost every aspect of control system design could be included in this formulation, the only aspects that have been investigated are the control and sampling problem [12] and the optimal sampling problem [13]. The number and the lengths of sampling inter- vals and the levels of each control element over each inter- val were therefore the variables optimized. The control and sampling problem and the classical optimal sampling problem were chosen for investigation using this optimal control system design formulation [12] because the previous work on sampling in control systems [1-16] suggested such formulations. The classical formulation of the optimal sampling problem has a performance index that measures both the errors in sampled signals caused by the sampling cri- terion and the costs for implementing this criterion. The control law was specified and the sampling times were not con- sidered control variables but rather design parameters that could be used to make the sampled-data control better approx- imate a continuous-time control. The optimal sampling problem was developed more carefully and then solved by Van Wieren and Schlueter [13]. In this work, the length of each sampling interval and the number of sampling times were selected to- gether rather than selecting sampling intervals sequentially as in adaptive sampling. The system.performance index for this 3 classical optimal aperiodic sampling problem [13] was defined over the entire control interval rather than just one sampl- ing interval and the cost of implementation was not just chosen to have a convenient form but was chosen to model the actual costs of implementing an aperiodic sampling criterion. Furthermore, the model of the system dynamics, input disturb- ances, initial conditions, and control inputs were all assumed known and were used to make the system performance index dependent on this information. The formulation of the optimal control and sampling problem used a performance index that strictly measured con- trol performance. The control law was not specified so that both a sampling interval sequence and a control vector sequence, which specified the level of each piecewise constant control signal and the length of the sampling interval over which it is held, were chosen optimally. This optimal sampled-data control problem [12] was formulated to obtain an optimal con- trol with a sampling criterion that could provide better con- trol performance than an optimal control with any periodic or arbitrary aperiodic criterion. An efficient computational algorithm was developed for this optimal sampled-data control problem for the special case where the optimal control sequence can be determined as a unique function of the particular sampling intervals sequence chosen. For this special case, the performance index can be determined as a function of this sampling interval sequence. The optimal sampling interval sequence can be found by minimiz- ing this derived performance index. The optimal sampled-data 4 control problem.oould thus be separated into the problem of finding an optimal control law for any sampling interval sequence and a problem.of determining the optimal sampling criterion for this optimal control law. Thus, the optimal sampled-data control problem can be considered an optimal control and sampling problem when the Optimal control can be determined as a function of the sampling interval sequence. This algorithm was applied to compute the optimal sampled-data control law for the regulator problem with con- strained [14], state dependent [15], and adaptive sampling [16] criteria. The excellent control performance obtained with very few control changes indicates that the computer ‘memory and computer-communication system.required to store and transmit the control can be significantly reduced if the sampling intervals are determined optimally rather than speci- fied a priori. This control and sampling problem was not formulated with a cost of implementation term in the performance index because it was formulated as a traditional optimal control problem. Although the sampling intervals sequence were con- sidered control variables, the number of samples was not con- sidered a control variable and was specified since the theory indicated the solution when both the number and lengths of sampling intervals is optimized is trivial (i.e. Nson and 379). Recent result on observability and controllability of sampled-data control system [17,18] have shown that the observability and controllability of the continuous system 5 can only be preserved in general if the number and the lengths of the sampling intervals are control variables. Thus, this theory suggests selection of a sampling rule may provide the same kind of performance improvement that the selection of a control law can. This hypothesis was shown to be true in the recent papers that established (1) that the selection of an optimal sampling rule can proceed as an independent optimization problem from the determination of an optimal control if the optimal control can be uniquely specified for any sequence of sampling time chosen [12]; and (2) that the selection of an optimal aperiodic sampl- ing criterion can cause a remarkable reduction in data require- ments to achieve the same performance value as observed using periodic sampling [12]. These results were established for the sampled-data control problem.where the levels of each piecewise constant control element over each sampling interval and the number and lengths of the sampling intervals were the control variables to be optimized in order to specify the optimal control law. 1.2 Optimal Control System Design Since the number and lengths of sampling intervals are control variables and since the solution to the optimal con- trol and sampling problem approximates the continuous-time control when there is no cost of implementation and no upper bound on the number of samples [12, Theorem 3], a cost of implementation should be included along with a control performance 6 index in any general formulation of the control system design problem. Since the actuators, sensors, communication links, and computer hardware and software depend on the number and lengths of these sampling intervals and determine the cost of implementation as a function of these control variables, this hardware and software that go into implementing a con- trol law along with the number and lengths of sampling inter- vals must be considered part of the control system design rather than part of plant being controlled as in the tradi- tional optimal control formulation. These results suggest the control system.design formm: lation which differs from traditional optimal control in the following two ways: (1) A performance index is used that attempts to pre- cisely model both the control performance and the cost of implementation objectives for a particular application; (2) Sensors, actuators, communication links, and com- puter hardware and software as well as the number and lengths of sampling intervals will be considered part of the control system to be designed. Optimal control system design has been developed as a method of problem formulation and a design methodology not only because of the above theoretical considerations but also because (1) the traditional optimal control formulation pro- duced control laws that either could not be implemented or had to be significantly modified because the formulation ignored the cost of implementation; (2) many important aspects of the control system design problem could not be adequately formulated using the tradi— tional optimal control formulations. Examples include (a) the selection from.different control struc- tures that range from completely centralized to completely decentralized. (b) the selection of different control laws which range from the linear quadratic Gaussian (LQG) solution to the classical single input single output (SISO) feedback one, (c) the cost versus performance tradeoff for using a particular input or output in the control law, and (d) the selection from among different analog or digital hardware alternatives for actuators, sensors, communi- cation links, and computer hardware; (3) the optimal control system design formulation can lead to improved design procedures and improved system evalu- ation methodologies. An excellent example of the possible improvement in design methodology and evaluation procedures is found in [12,13] where optimal periodic, optimal aperiodic, and optimal adaptive sampling criteria were designed based on minimization of a system cost which is composed of a cost of implementation and the control performance measure. The opti- ‘mal sampling criterion could then be selected based on the criterion (optimal periodic, optimal aperiodic or optimal adaptive) with the lowest system cost; 8 (4) the optimal control system design formulation is the proper framework for developing a procedure for computer aided design of control systems which could include a control structure, control law, and the hardware-software combination. 1.3 Optimal Aperiodic Sampling Problem for Control The recent results on controllability and observ- ability [17,18], that indicated the lengths and number of sampling intervals are control variables, and the control and sampling problem, which indicated a dramatic 50:1 reduction in data requirements were possible for the optimal sampled- data control with optimal aperiodic sampling over the optimal periodic sampled-data control with the same control perform- ance index value, suggested that a study of optimal aperiodic sampling for control be performed where the control law is specified and the number and lengths of sampling intervals are optimized. The system performance index measures the control performance and the actual costs of implementation for a sampled-data control law with Optimal aperiodic sampling. In this optimal aperiodic sampling problem, the number and lengths of each sampling interval were optimized together based on a performance index defined over a specified control interval. This problem extends work on optimal sampling for the optimal tracking [12] and regulator [l4-l6] problems, but in this case (1) the control sequence which specifies the level of each control element over each sampling interval will not be optimized; 9 (2) the control sequence will be determined based on the values Of a specified continuous-time control law at the sampling times. Since the control sequence is uniquely specified by the sampling interval sequence, the theory of optimal sampled- data control indicates the optimal sampling problem can be treated as separate Optimization problem from the determina- tion Of the continuous-time control law. The Optimal number and lengths of sampling intervals is determined by using a nonlinear programming algorithm.to determine the Optimal sampling interval sequence for each number of sampling inter- vals Of interest and then plotting these Optimized system per- formance index values to determine the Optimal number of samples graphically. The results Of this study of Optimal aperiodic sampl- ing indicate that (l) selecting an Optimal aperiodic sampling criterion for a nonoptimal continuous-time control can dramatically improve control performance over that Of the unsampled con- tinuous-time control; (2) Optimal aperiodic sampling can increase the speed of response over that of the unsampled continuous-time control; (3) the selection Of the Optimal sampling criterion from.among optimal periodic, Optimal aperiodic, and optimal adaptive depends on the terms included in the control perform- ance and cost Of implementation; (4) the control performance improvement due to Optimal lO aperiodic sampling is due to effective use of the delay cause by the sample and hold device to meet the Objectives measured by the control performance index; (5) the Optimal aperiodic sampling interval sequence depends on the specific control performance, cost of imple- ‘mentation, system.dynamics, inputs, and initial conditions for the system considered. The aperiodic sampling problem [13] considered input uncertainty and random initial conditions, but did not con- sider the case where measurement noise was present. The Opti- mal aperiodic sampled-data stochastic control problem extends these results to that case. The Optimal stochastic control law is a piecewise constant vector control that is held over sampling intervals. The level Of the control over any inter- val is specified by a gain matrix multiplied by the estimate Of the state at the sampling time at the beginning Of the parti- cular sampling interval considered. The gain matrix may be the gain Of the optimal or non-Optimal continuous-time control law at that particular sampling time or the gain matrix Of the Optimal sampled-data control law [14] for the particular sampling interval sequence. The control sequence that specifies the Optimal sampled-data stochastic control law with Optimal aperiodic sampling is closed loop because the level Of the control over any interval depends on the state estimate which depends on the sampled measurements Of the output at previous sampling times. The sampling interval sequence for this Optimal sampled- data stochastic control with Optimal aperiodic sampling is Open ll loop because the optimal number and lengths of sampling intervals are determined based on the average performance over all sample functions Observed on the system and is not based on actual measurements and the actual sample functions Of the processes Observed on that system.aver a particular interval. 1.4 Optimal Predictive Sampling Problem An Optimal predictive sampling problem will be formu- lated in this thesis in order to produce a control law that has both a closed loop control sequence and a closed loop sampling interval sequence. The control law is identical to that used for the Optimal sampled-data stochastic control problem with Optimal aperiodic sampling but restricted to the case where the gain matrix is specified by a continuous-time Optimal or specified non-optimal control law at the particular sampling time. The performance index will be defined over the control interval but is separated into a measure of control perform- ance over the sampling interval to be Optimized, the control performance over the remainder Of the control interval after this sampling interval and a cost of implementation that ‘measures hardware cost for implementing this predictive sampl- ing criterion. This system performance index is optimized to produce a sampling interval. A sampling interval sequence is thus Obtained by iteratively solving this predictive sampling problem, 12 The sampling criterion is predictive because the con- trol performance terms are predicted based on measurements Of the system.autput at all previous sampling times, knowledge Of system dynamics, control inputs, and the statistics Of the input disturbances, initial conditions and measurement noises. The predictive sampling problem assumes that the con- tinuous-time control law is specified and may be Optimal or suboptimal. Thus, the selection of the control is specified by the specified continuous-time control and the sampling times and is not selected optimally for the sampling times sequence as for the control and sampling problem. 1.5 Important Results and Contributions The main contributions of this thesis will be (1) to formulate and solve the Optimal predictive sampling problem; (2) to extend the Optimal control system.design methodologY; and (3) to apply this methodology to the Optimal predic- tive sampling problem, In Chapter 2, the Optimal predictive sampling problem for control is formulated for a linear time invariant system ‘with a known input and disturbance statistics and a specified continuous-time control law. This control law is based on a state estimate which is in turn based on sampled noisy measure- ments Of the outputs at previous sampling times. The system performance index chosen measures control performance and cost of implementation. The control performance index proposed 13 measures performance over the next sampling interval where this control is held constant and over a future interval where the control is permitted to be continuous-time. The value Of this control performance can be estimated for any sampling interval length based on the sampled output measure- ments Obtained at previous sampling times and the knowledge Of system.inputs, system dynamics, and disturbance, initial condition, and measurement noise statistics. The cost Of implementation measures the precise cost Of implementation as a function of computer hardware, computational algorithms, and computer software for computing the Optimal sampling in- terval on-line. In Chapter 3, optimal control system design methodol- ogy is developed as a formal procedure for the predictive sampling problem. Optimal control system design is shown to consist of a two step Off-line procedure; Optimal control design, which determines the control performance index Optim- ally, and Optimal system design, which determines the cost Of implementation and the Optimal selection of hardware to be implemented by a tradeoff of control performance and cost of implementation. Traditional Optimal control design problem corresponds tO this Optimal control design problem but ignored the Optimal selection Of computational algorithm, computer software, and computer-communication-instrumentation hardware which corresponds to this optimal system design problem. In Chapter 4, Optimal control design for predictive sampling problem is developed in detail for a particular l4 example problem. It is shown that the sampled-data control with a predictive sampling criterion outperforms the periodic sampled-data control with the same number of control changes and even outperforms the continuous-time control if the system is deterministic. It is also shown that the best predictive sampling criterion for the stochastic control sys- tem.is periodic which indicates that the selection Of sampling intervals cannot improve control performance when the future control performance as a function of this sampling interval cannot be accurately predicted. Thus, the optimal predictive sampling does perform a control function for the deterministic control system by holding a control with a larger absolute magnitude than the continuous-time control; thus improving speed of response and terminal error. In Chapter 5, optimal system design for the predic- tive sampling problem is developed in detail for the same deterministic example problem chosen in Chapter 4. Cost of implementation is developed only for the hardware cost term in the cost Of implementation because the hardware is dedi- cated for this problem and because communication and instru- mentation hardware are assumed chosen. An appealing computer hardware cost function is Obtained by Optimizing computer algorithms, computer software and computer hardwares. Optimal selection of hardware is also performed using two distinct ‘methods that tradeoff control performance against cost of implementation. Control performance Obtained from Optimal predictive sampling criterion with this optimally selected 15 hardware is dramatically improved are the control perform- ances for periodic sampled-data control and for continuous control. Conclusions are then presented in Chapter 6. CHAPTER 2. PROBLEM FORMULATION Consider a computer control system where the plant can be modeled as a linear, time-invariant, observable and controllable stochastic system 30:) - A 350:) + §_ 20:) + 110:) (1) where x.is an n-dimensional state vector, u’is an r- dimensional control vector, and w is an n-dimensional dis- turbance vector. E {g(t)} - 9n E {3(t) w’(r)} - E 6(t-t) (2) where 5(-) is the impulse function, and E and ’ indicate ex- pectation and transpose Operations respectively. The initial time toe(-w,w) is fixed and the initial state is random and satisfies E {5(t°)} B 2(t0) E {(§_(to) - 2(to)) (5(to) - 2(to))’} =- 2(to) (3) E (50:0) w’(t)} - 9m ta(t°,tf) The system is Observed by measuring the outputs y(t) 2(t) ' Q §(t) (4) at (N-l) sampling times {ti}§;1 where the sampling intervals 0 s Tm 5 Ti 5 Tmax <5) N-l g(To,T1,....,TN_1) - i-o Ti - (tf - to) = 0 (6) 17 where N satisfies Nmin _<_ N 5 Nmax (7) The output measurements are corrupted with noise fli such that ‘51 - Z(ti) +‘gi i=1,2, ....... ,N-l (8) where $1 is an m-dimensional noise vector that satisfies E {ii} - gm_ E {ii ivy-11:61.1 E {21210} - te(to.tf) (9) 0 —mn E {5‘11 §’(to)} - 9m where aij is the Kronecker delta function. The control 2(t) is assumed to be a piecewise constant vector function whose elements change value only at the sampling times {ti}§;1 such that 2(t) ' 2(t a £1) tetti’ti‘l'l) (10) and can depend on the previous measurements :Ei - (gi,zé, ...... ,gi) for i=1,2, ........ ,N-l The Optimal predictive sampling for control problem can be stated formally as follows: Given the linear system (1,4,8) with disturbances (2), measurement noise (9), and initial conditions (3), and given a control law (10) Of the form 2.0:) .. {Bi " P-(ti) ' 9. -;£ git/:9 - yum) ism/c1) + I: gm) 2 [11(1) - 2 amp] d: 1&1 “um; '51“? (15) 2(t/ti) - anti) Kai/t1”) {(1:11) + 1: 10m) 11 9:11;») at i ta[ti,ti+Ai) Ablock diagram of the system is shown in Figure 2-1. It should be noted that the value Of performance J(Ti) is pre- dicted based on measurements _Z_1 that includes measurement _z_i at t1 and the assumption that grit-{MIL Zwuoavoum Huaaumo Onu Hom_amumuav xOOHn Emummm Hum mmsuHm Hit—"IN: MGH m5 AH+HU7 \ HITHU VN was Aa+au\a+wuvm muagfioo + < I £059 .HB+HO HHHO mu: BOO AHuxwuvx 1' I. Cu MHQ¢HUQHWUH A .va um“ .I. I l.. IRIHHHIJ .3: £2qu Basso Mu :u TOME 22 Initial Settings: X(O),i 2(0) 9' H i! to: tf i - O 1 Given Tmin and Tmax’ Optimize sampling interval IICOmpute Perform- e.— Ti using DSC algorithm. ance Index S(Ti) 'with search step size*AT using Simpsons to find t - t + T Rule with step 1+1 i i size 6 NO ‘ Solve state stop equation 2 - and X(t/ti) V(t/ti) using Runge- Ye: Kutta formula Compute state estimate xen {03,p} (22’ where the lowest possible cost option is selected for each Ti' The second step in this OSD problem is to select the hardware option to be implemented for the predictive sampling criterion and the parameter q selected to weight cost of implementation against control performance. This selection of hardware procedure is (1) repeatedly optimizing system performance 5(11) - J(Ti) + qC(Ti) (23) i for several operating conditions (hj(t),‘wj(t), {ikj}k=1) for j-l,2,....,M and several sampling intervals i=0,l,....,N-1 36 for each operating condition to obtain a set of Optimal sampling intervals M }N"]. * The control performance index is determined in the OCD problem and the cost of implementation index is determined in the first part of the OSD problem. (2) select the hardware based on the maximum cost over the optimal set of solutions P * * C - C T . mix ( 13) (25) Tijsr where F includes optimal sampling intervals chosen for different operating conditions (j) and different sampling intervals (1). It will in general be necessary to repeat this OSD procedure for several values of parameter q until the hardware and control variables meet the control pera formance and cost of implementation objectives. CHAPTER 4. OPTIMAL CONTROL DESIGN (OCD) FOR - PREDICTIVE SAMPLING PROBLEM The objectives of this chapter are (l) to investigate the effects of changing parameters (a,A1) and matrices (Q,§,§) on the control performance achieved with predictive sampling on a particular example system; L (2) to determine a set of parameters (a,Ai) and matrices (Q,§,§) that provide the best control performance possible with predictive sampling for each operating condition; (3) to show that the sampled-data control with predic- tive sampling can outperform the periodic sampled-data with the same number of control changes and even outperform the continuous time control law if the system is deterministic so that the performance of selecting any particular sampling interval can be accurately predicted; (4) to show that the best predictive sampling criterion is a periodic sampling criterion for a stochastic system be- cause future performance due to selection of a sampling inter- val can not be accurately predicted. The parameters (a,Ai) and matrices (9,3,2) selected to provide the best control per— formance with predictive sampling for a stochastic system will be shown to result in a periodic sampling criterion. 37 38 The effects of changing parameters (a,Ai) and elements of matrices (9,5,E) for an error feedback control of a second order system.is given in Section 4.1. The selection of parameters and matrices for both deterministic and stochastic inputs and the resulting performance of the sampled-data control with a predictive sampling criterion is given in Section 4.2. These results are obviously dependent on the example system.and error feedback control law used, but the qualitative behavior should hold for a great many systems with error feedback controls. 4.1 Effects of Changes in Performance Index Parameters The example system used in this section is a second- order type two system which has been used extensively in the literature [1-13] on evaluating performance of adaptive and aperiodic sampling criteria. This particular system is chosen not only because of the extensive results obtained on it with different sampling criteria but also because it is un- stable without feedback and thus provides an excellent basis for determining the performance of a sampling criterion. The system to be considered is deterministic (w(t) - 9, ii 8 Q) X t 0 1 t 2 .l( ) - xl( ) + cgn u(t) yl(t) 1 0 xl(t) y2(t) 0 1 X2(t) with initial conditions and is written by (26 39 - (27) x2(0) O The control law is specified as a closed form as h (t ) - x (t ) te[t ,t. ) The system is said to be a "fast" responding when “n = 10 and "medium" responding when on = 5 for C - 0.5 in both cases. These are two of the specific cases considered in [13] for evaluation of Optimal aperiodic sampling. A block diagram.of the system.is shown below. hct) uct) Izcwns+ «f; (t) . PCP- T L 82 J I.-- -— x1(t) 1' Control LComputer r The control objectives for the optimal predictive sampling problem are: (l) to increase speed of response; (2) to reduce terminal error; (3) to reduce overshoot. A general form for a control performance index that can meet these objectives is: 40 ( ) /2 h1(ti+Ai)-x1(ti+Ai) ’ F11 o h1(ti+Ai)-x1(ti+Ai) J'T =*a 1 h2(ti+Ai)-x2(ti+Ai) o o h2(ti+Ai)-x2(ti+Ai) +A . i t - t ’ 0 (t - t ”’2 {1:102:10 [Q31 [11f ”10 “+Ruz(t)}dt (t)- (t) (t)- (t ‘1‘": h2 "2 h2 "2 (29) ti'Fri . "‘ 1’2] {Wu-XI“) [Q11 0] fits-XI“) + 31120;) m: ti h2(t)’32(t) 0 Q2 h2(t)*X2(t where h2(t) - dh1(t)/dt. The off diagonal terms in Q and E are assumed zero for ease of analysis. The coefficient F22 for the error rate at the end of the control interval, (h2(ti+Ai) - x2(ti+Ai)' is also set to zero because this error derivative would not seem to effect the speed of res- ponse, overshoot, or terminal error for a sampled-data control with a predictive sampling criterion. Q11 is set equal to 0.1 arbitrarily and R is set equal to 0.02 again arbitrarily because Q11 and R weight the same signal (h1 - x1. The initial time and terminal time are set equal to zero and one respectively and A1 = tf - ti is set as the time remaining in the control interval [0,1] unless other- wise specified. The sampling interval constraint Imin 5 Ti 5 Tmax are chosen to place very little restriction on the choice of sampling intervals for the OCD problem because in this chapter 41 the objective is to determine the maximum improvement in con- trol performance which can be achieved through selection of sampling intervals optimally. In Chapter 5, the minimum sampling interval Tmin will be selected when the hardware to be implemented is selected in the OSD problem based on a tradeoff of control performance and cost of implementation. The minimum sampling period is chosen as 0.02 in this section because it is smaller than one would expect to select for a system with fast (wn = 10) or medium (wn = 5) speed of res- ponse. Tmax is chosen as 0.6 seconds for the medium system (wn - S) and 0.3 seconds for the fast system (wn = 10) which is the Nyquist sampling period for such systems when the sys- tem.is assumed bandlimited to w . n The input h1(t) is selected as a step input {1 :30 h1 - <30) 0 t < 0 rather than a stochastic disturbance because the general effects of the parameter changes a, F11, and later Ai - A can be more easily determined for the deterministic step in- put than a ramp, parabolic, or stochastic input. Since the system, control law, performance index, and sampling constraints have been defined, the effects of changes parameter a, P1]. and A1 can be determined. The effect of increasing a is to increase T; as shown in Figure 4-l(a) if a is less than five and then any further increase in * a has no effect on To. This can be understood by analyzing 42 the shape of the two components of performance index J(Ti), i. e. ‘51 (31) + 0.02 u2(ti)} dt J1‘13.) " “’2 Fll[h1(ti+Ai) " "1(ti+“1)32 ti+Ai 2 2 + a/z f {0.1 [h1(t) - x1(t)] + Q22 [h2(t) - x2(t)] t1+T1 (32) + 0.02 u2(t)} dt The comment J0(TO) is a unnotone increasing function of T0 when T0 is sufficiently small because the integrand is non- negative and is a decreasing function of the integration argument when T0 is sufficiently small. 31(To) is a convex function as can be seen from Figure 4-1(b) when a is very large. Thus, when a is above five J(To) closely approximates J1(T0) and the Optimal T; is unaffected by changes in a. However, when a is less than five, a decrease in a makes J0(Ti) relatively more important in determining T3 and since JO(TO) is monotonically increasing T3 should decrease as a decreases as Observed. The effects of increasing F11 when a is greater than five is to decrease T; as shown in Figure 4-2. This can be explained by noting that the longer control u - x1 (33) is held, the larger the overshoot of trajectory x1(t) and 43 F 1 1: 0-10 :9 0 RLPHflz'J . 00 + RLPflflsfi . 00 6‘ A BLPHR=2 .00 X flLPHR=1 O . 00 o 0:00 “W159“ a,» 9.... T 8 “ha 0.04 or.“ 9'.“ 01:0 33: 0TH 1?." or.“ 0'40 612: TI!!! IN SICONDS (a) ‘ F1!’ 0.10 8. + flLPHR=1.00 0 BLPHflazDO .00 -‘ A nLrnnsxooma x aunnuoomo you "MLJJJPE _ofoo lion i “' 1 FIGURE 4-1 J (To) vs T0 with a variations for medium system 44 .Huuwu u .5 £053 acumen gamma Mom 25.23.32, Ham $53 on. 9? A09: mi» gum mazouwm 2— Utah 3... a... 3... 3... 3.... 2.... fire 8... 8... 3.... 8.? P P P L P P .m .m \1- a. m U “I Id .cn .mm. a 3 a. m a m 3... .3: - 8.. 3: 4 .._. 2.: "a: + 86 "E e m oo.oo~n¢:mac 45 thus the larger the error (h1(tf) - xl(tf)). Thus, in- creasing F11 will more heavily weight this terminal error and thus control performance index increase faster as To increases. Although this analysis of the effects of changing a and F11 was only performed for i=0, it will be shown to hold for every i by Observing Figures 4-3 and 4-4. The output response xl(t) of the system is plotted for the medium.(wn - 5) and fast (an - 10) systems in Figure 4-3 and 4-4 respectively for the predictive sampling criterion obtained using various values of a and F11. Sampling instants are shown by special symbols on the trajectory. The results indicate that speed of response and overshoot all increase as a is increased or F11 is decreased on both the fast and medium systems. i The speed of response and overshoot increase as T: (a increases and F11 decreases) since the difference between the absolute magnitude of the sampled-data control u(t) - h1(t) - x1(t) te[ti,ti+l) (34) and the absolute magnitude of the continuous control in- creases with (t - t1) and has the effect of accelerating the reduction in error (h1(ti) - xl(ti))' Thus, increasing a and decreasing F11 increase T: and thus increase speed Of response and the overshoot which occurs due to this faster reduction Of error. Another measure of performance for a sampled-data control is cumulative control performance 46 Jc =- 1/2 '[z(tf) =- gr itch) - gap] N-l (,3 (35) + 2 J T 1-0 0 i whflflzmemnmes the control performance over each sampling interval in [to,tf] and the error energy at the terminal time tf. The performance over intervals [tj'tj+Tj)' j=i+l, i+2,...., N-l, depend on the selection of {Tj}§_o and thus this measure of performance can be used to compare periodic, Optimal aperiodic, and optimal predictive sampling criteria. The matrix Ebis not identical to E used in the predic- tive sampling performance index. This matrix is chosen as 0.05 0.0 -[0.0 0.0] in this study so that terminal error is not considered as a nun major factor in assessing performance of a sampling criterion. Table 4-1 tabulates the cumulative control performance Jc(T0, T1,....,TN_1) and the terminal error (h1(tf) - x1(tf)) for (l) predictive sampling, (2) periodic sampling with the same number of sampling times as predictive, and (3) periodic sampling criterion with a sampling period of 0.01 (N=100) which approximates the performance of the continuous control. The cumulative control performance and terminal error for predictive sampling on the fast system is always con- siderably better than for periodic sampling but always worse than the continuous control. The lowest cumulative control performance and terminal error occurs when a-l and F11=0.l and the cumulative performance obtained closely approximate the cumulative performance of the continuous control. 47 HLPHH:200-00 F11: 0.10 HLPHR:200.00 F11: 5.00 fiLPHfl:1.00 F11: 0.10 CONTINUOUS 21.00 I D GD)( 1.00 “ {‘n M! {LRDE RHFL on 0325 13.25 jms -9.so T 'o.oo o'. 10 o‘. :0 also a .40 also 0‘.» TIHE 1N SECONDS 1' I am 0.» Eco FIGURE 4-3 Output trajectories for a and F11 variations for medium system when Ai =- t f'ti' t‘.oo 48 HLPHH:200400 F11: 0.10 flLPHR:200400 F11: 5.00 HLPHR:1.00 F11: 0.10 CONTINUOUS 11.10 ‘. 4 D G X 3 0” if“ 0 I “maggot o O l 11.00 14.20 0,00 0 19.18 O 1 '0.00 0210 0120 0100 0.40 0‘.00 0100 0110 3.00 0.00 1.00 TIHE 1N SECONDS FIGURE 4-4 Output trajectories for a and F11 variations for fast system when A1 = tf-ti. 49 HOHUGOU 0>HUQHSEDU HOHUWOO 0>HUMHDEUU mnemH0.0. OnemH0.0 ONOOH0.0 OBONH0.0 OOONH0.0 OHHHO0.0 mm O.m H OHmmH0.0 OmONH0.0 mommH0.0 OOONH0.0 OMHNH0.0 NmOOO0.0 mm H.O H ~O.OuaHaH anqH0.0, OOOmH0.0 mquH0.0 OOOmH0.0 OOnOO0.0 HOHNO0.0 ON O.m OON N0.0 um mmmeH0.0 mman0.0 :man0.0 Oman0.0 mNNmO0.0 OONNO0.0 mm H.O OON H.OnHHO amumhm OONNH0.0 NNNNH0.0 NHmmH0.0 OOH mOOOOHucoo ummm NOOON0.0 NOOON0.0. NOOON0.0 ONNON0.0 ONOOO0.0 OHOHO0.0 . we O.m H mOOONO.O,ANOOmNO.O mqmqmo.o m¢mm~o.o ONHNN0.0 NHNOO0.0 Om H.O H 0.0uxoeH OnO¢N0.0 «OOON0.0 .MOQON0.0 ;OOH¢N0.0 HNNONO.Q Oquno.On. , mm. 4O.m OON ~.O um H~a0~o.o .numamo.o._NOHo~o.o omeamo.o ~mm-H.o «mammo.o ma . H.o com wwmmmHo m OHHON0.0. 4..¢~O¢~O.O. mm¢m¢0.0 OOH anonaHuaOO .EOHOoz OHOOHHOO. 0>HquO< OHOOHuom 0>Hummv< OHOOHHOO 40>Huedv< moHeaom. . . mo HHm a amummm AmO onmv moamauomuom Aouhv mocmahomumm Honaaz < Hounm HOOHEHOH noun uHan HOW QQOHUfiHHO> HHh .N0.0 u GHBH use Hunmu I H< £033 unmaH .u nuH3_oocwahomuom Houucoo 0>HumHaaso Hue mHm¢H 50 The results for the medium system indicate the pre- dictive sampling has lower cumulative control performance and terminal error than periodic sampling except when .a-200 and F11-0.l because in this case the sampling inter- vals are so large that the error is not sampled at its peak overshoot and does not reduce this overshoot as quickly as it would Otherwise. This seems to be an isolated situation where predictive sampling does not fully take advantage of the control Opportunity because it is based on a single interval performance measure. The lowest value of cumulative control performance for predictive sampling for this medium system is Obtained when a-l and F11=0.l which for this case is lower than that Obtained for the continuous control. The lowest terminal error is obtained when cal and Fll-S, but terminal error in this case is not a good measure of perfomm- ance because the control interval is short with respect to the settling time for this medium system. The effects Of setting Ai - tf-ti or setting Ai - A for several values of A will now be investigated for the medium system (wn'S). The values of a and Fllare set equal to 200 and 0.0 or 0.01 respectively because the sampling intervals are large and the effects of Ai are more easily seen. The first case considered is 0-200 and F11=O.O, and the results, shown in Figure 4-5, indicate that curves J(T0,A) z J1(TO,A) increase with A and this effect occurs be- cause the integrand is non-negative and the integration interval for J1(T0,A) is (A - To). The decrease in J(TO,A) 51 for small T0 for any A is thus due to a decrease in the in- tegration interval. However, when To becomes large, the overshoot becomes larger as T0 increases and the curves be- gin to increase. This increase in J(T0,A) with T0 is more pronounced for larger A which is due to the fact that as A increases more Of the interval where overshoot is experienced is included in [tO+T0,t0+A]. The optimal sampling interval T3 thus increases as A decreases because the performance index has less concern for overshoot due to holding the sampling interval too long. The trajectory x1(t), shown in Figure 4-6, indicates the sampling interval T: increase for all i as A decreases indicating the above analysis for i=0 holds for every interval. The second case considered in this subsection is included to indicate the effects of changing A when terminal error is weighted slightly (Fll-O.l and 08200). The curves, J(T0,A) = J1(T0,A), plotted in Figure 4-7 are quite different from.the first case where terminal error was omitted from the performance index because the terminal error can be very large or be very sensitive to changes in To for particular values of A. The error for A=O.44 has much larger values than for A80.22, 0.88 or 1.0 and thus the J1(TO,O.44) curve is much larger than the others there. The optimal sampling interval T3(0.44) is thus quite small in order to optimally tradeoff the reduction in the integral part Of performance index J1(T0,0.44) with To and the rapid increase in terminal error (h1(0.44) - x1(0.44)) with T0' The performance curves £52 .OflHHh VG“ CON-ad fiflflbp aflumshm gflfifla HOW QGOHUGHHdb. 4 Han—H3 OH. m5. AOHVH. nlfi NMDUHK «unm. onus 8. 3.53 x . 3 . 8:53 4 m 8.856: + «Nanchang e m 8... u: E boéouugfic 53 flLPHfl=200-0' F 8: 0000 0 o own-:04 + cameo.» .1; 4 nausea. - commons 4,00 Is” I90! 04.10 ' IIIIPLJ gal 0,00 d’ 0. f0" ’0'. “’0” ‘U I .00 02:0 0100 0.00 0240 0100 0200 0370 0.00 0200 1100 TIRE 1N SECONDS FIGURE 4-6 Output trajectories for A variations for medium system when “-200 and Fll-O. 54 .H.OuHH..H was OONno con? 53?? 35.30:: How 283ng:. 4 #93 OH. m> AoHvO ml: guHh @5303 an Us... 3.: 8.: 2.1: 3.... 0...: «an: 2. 8w: 2...: 3.... 3...". P P P 00'? 00.4 ’0 00-3 3031: 14148 r 00‘: OO. Hucbauo 3.. oucbauo Q on. ouchauo + «N. ouchqmo 0 OH . O u— f... 00. oowuczmac r_ 00‘. 55 J(T0,0.22) for F11-0.0 and F11-0.l are identical when To is small because the terminal error (h1(0.22) - x1(0.22)) is zero for the continuous control and is thus small when To is small. However, as T0 becomes large this terminal error increases rapidly and J1(To,0.22) increases rapidly when F11-0.l but increases only slightly when F11=0.0. The Optimal sampling interval T;(0.22) does decrease when terminal error is weighted in the performance index. The change in the curves J(To,0.88) and J(TO,1.0) and the change in Optimal sampling intervals T;(0.88) and T3(l.0) are both quite small due to inclusion of terminal error in the per- formance index. The speed of response is again proportional to T3(A) as it was when F11=0.0 but in this case T;(A) is not inversely proportional to A but is dependent on the magnitude of the terminal error and its sensitivity to changes To. Thus, T;(0.44) is smallest followed by rgco.22), T;(l.0) and T;(O.88). Since the speed of response and {T:(A)}§;i are proportional to T3(A), the analysis of the effects of para- meter change in the first interval hold for all other inter- vals as shown in Figure 4-8. Another set of trajectories xl(t), which indicate the effects of changing A, is run when a is reduced from.200 to 1 thus reducing T:(A) and the speed of response but improving cumulative control performance Jc(T3(A), TI(A),....,T;_1(A)) and terminal error as shown in Figure 4-9 and Table 4-2. The performance and the trajectories x1(t) show comparatively little change as a function of A for these values of a and 56 F11. However, the smallest T;(A) is still A=0.44 and the slowest speed of response occurs for A=0.44 indicating the sampling interval sequence {T:(A)}§;3 still depends on the magnitude of the terminal error (h1(ti+A) - xl(ti+A)) and thus on A just as when a-200 and F11-0.l. The analysis of A variations for the fast system is identical to that for the medium.systemm In this case, the lowest cumulative control performance occurs when a-l, F11-0.l and A-0.ll as shown in Table 4-3. The speed of response can be increased by adjusting a, A and FlllQ11 as indicated above but fast speed of res- ponse results in a large peak overshoot in the transient response. The peak overshoot of the output response can be reduced by (l) reducing a, (2) reducing F11/Q11, (3) increas- ing A, and possibly (4) increasing Q22. The effect of chang- ing Q22 is investigated because 022 weights the tracking error rate and could possibly reduce the peak overshoot by minimizing this error rate. F22 is not considered because the error rate at the terminal time would not appear to have any effect on these control Objectives. Results from.Figure 4-10 indicate (1) increasing Q22 does increase damping and reduce speed of response; (2) the effect Of changing Q22 is very similar to changes in a, A, or F11/Q11 because changing each of these parameters also will increase speed of response at the expenses of greater overshoot; 57 flLFHfl:200400 F11: 0.10 o 0£Lrn=o.22 + OELTFI:0.00 A mango.“ - counuuous 21 A\\ .00 ‘L 0.10 0 .00 . \ magma: ‘ \ I." \ 0,00 +10 14.00 1.00 8 '0.00 01:0 01:0 0100 0140 0100 0100 0'710 0100 0100 R00 IHE 1N SECONDS . FIGURE 4-8 Output trajectories for A variations for medium system when a=200 and F11=0.l. 58 HLPI‘Iflal .00 F11: 0.10 0 0ELTH:0.22 + 0ELTH:0.00 A 0ELTR:O.44 - CONTINUOUS 0,00 0,10 0,00 0,00 ""01..on 0,10 0,00 «1.00 1m 6' 0” +0" fl V I v v v I v 1 .00 0.10 0.00 0.00 0. 0.00 0.10 0.00 0.00 1.00 40 0100 ms IN SECONDS FIGURE 4-9 Output trajectories for A variations for medium system when 091 and F11-0.'l. 59 ~::«::.: ~:««~:.: ~::«~:.:. ::~«~:.: :~:«::.: :HoH::.: :« H:-Hs :«::~:.: H:::N:.: ::«:~:.: ::~:N:.: hamaoH.: mmH::~.: N: ::.: :.: uHH: :N:«N:.: m~««::.:_ ::««::.: «m~«~:.: :~::::.: :mmH::.: «« ««.: . a s «~:«~:.: ::::~:.: m::«~:.: :n:m~:.: H:::::.: m:::::.: :: -.: : H m::«~:.: ::::~:.: :«:«~:.: n«n:~:.: saH:::.: ~H~:::.: :: H0-Hu H«:«H:.: :::«~:.: H::«~:.: ::::~:.: m:«m::.: «smooH.: an ::.: HH: :s:«~:.: «::«N:.: :H:«~:.: mm::~:.: :msH::.: HH:«::.: :: ««.: H. w a s H«:«~:.: :::m~:.: H::«N:.: m:mm~:.: ::«:::.: ~HN~::.: a: ~:.: : H n H«:«~:.: :::m~:.: H::«~:.: n:n:~:.: ::«:::.: ~H-::.: an Hs-Hs N~::~:.: :H::::.: H~::~:.: m::~m:.: H:«H«H.: ::::::.: :H ::.: H.: nHH: :«::~:.: H~::~:.: ::«n~:.: Hm:«~:.: :NmaoH.: :«::«H.: a: ««.: ::~ - s ::«:~:.: :«H:~:.: mH::~:.: NH:«~:.: mosH::.: :smuHH.: a: :N.: N:::N:.: ::~H::.: ::::~:.: m:::~:.: mosan.: ~«::HN.: «H H:-Hu ::::~:.: ::::~:.: ::::~:.: N:«:~:.: :H:H:H.: mamnnH.: :H ::.: :.: nHH: HN::N:.: :mH:~:.: ::H:~:.: ::::~:.: ~:::~H.: N:H::H.: :H ««.: u s ::::~:.: :~::«:.: ::::~:.: asH:::.: moHHaH.: ~«:~:«.: :H N:.: ::N :HH«~:.: «~:«N:.: ::«:«:.: :oH ssossHuso: 13300: 30:03 3:300: «B803 08300: 050903 03.08:: Hwo. onmwssssssomss:.. H:umstssauoHssm HmsvHx-HH:Vs sue « swwasmwsss H95 00 o>Hu0HH=HSO H95 00 >3 H250 H A552 u H A vote Head—BOB Soumhm :5va How maOHOOHHH; < and: “5de moum uHGD How uouum HOGHEHOH Ono oocmauomuom Houuaoo obHuuHHHEHHO Nu: and“. :m«:H:.: ::«~H:.: :~«:H:.: ::«~H:.: ::«:H:.: :HHH::.: :: H:-H: 60 ONNOH0.0 OOHmH0.0 .OOOOH0.0 hmHmH0.0 memON0.0 OBOON0.0 nH ¢¢.O O.m IHHh OOHmH0.0 mmmNH0.0 nsHmH0.0 Oman0.0 «HOMH0.0 NONNO0.0 hm ~N.O O.H I a «ommH0.0 O00NH0.0 ommmH0.0 OmemH0.0 mNONH0.0 NOHOO0.0 0m HH.O OHmmH0.0 wmqu0.0 mommH0.0 .qumH0.0 OmHNH0.0 NOOOO0.0 an Hunmu OHmMH0.0 H0¢NH0.0 mOan0.0 HOONH0.0 OmHNH0.0 ONHHO0.0 um ¢¢.O H.O IHHm OOmmH0.0 «OONH0.0 HOHmH0.0 MOONH0.0 OHHmH0.0 NOOOO0.0 mm NN.O O.H I a mmamH0.0 NOONH0.0 ONOOH0.0 NmONH0.0 OOONH0.0 mHHmO0.0 mm HH.O mmqu0.0 OONMH0.0 «mneH0.0 mammH0.0 nNNmO0.0 OONNO0.0 mm Hunmu ooomH0.0 NONOH0.0 ooonH0.0 OONMH0.0 mmHOO0.0 OMNOO0.0 ON ¢¢.O H.O .uHH..H mmmmH0.0 ONNmH0.0 ONHOH0.0 ONNmH0.0 OOmOO0.0 OOOHO0.0 ON N~.O OON n : OOOmH0.0 HOONH0.0 HOOOH0.0 HOONH0.0 N¢~HH0.0 OHHmO0.0 Om HH.O OONNH0.0 NBNNH0.0 NHOnH0.0 OOH onounHucoo oHMoHuonH SEEMS: "E03000 30:03 :HeoHnonH «>096... .395: no HHm use a AmO.Onmv mocmahomuom AOImv ooamauomuom AmuvHXnAmuvs Hogaaz 4 muouoaaumm Honumoo 0>HumHaauo Houu oo o>HumHsabo Houum HoaHauOH amumhm push you mOOHumHHO> < suH3_uaeaH noum uch now uouum HOOHEHOH use oocmauomuom Houuooo 0>Hu0Haabo mu: mHm OH. OOOOEHOMHOO Houucoo 0>Hu0HHEuHo HH...» guHm Ozauuu H: us: :30 8..~ 8.. 8.. 8w: 8.? I P 8% 8.. 8... 8.» 8.. P # oaoazzzoo X 39533.. O uzhmcoc 9 2.0 "a: corouchaua be. Huczmac 530111303 ‘0 .01. 0v‘0 31’0— 66 The Optimal control design, just performed for the deterministic case, is now repeated for a stochastic system. In order to obtain a meaningful comparison between determin- istic and stochastic cases, the input h(t) is replaced by a white noise process w(t) as shown below. _ 0 pi w(t) u(t) Zrmns + w: y(t1)+ 21 I %l- ' 32 f " + + .--A c 1 _--- xl(ti/ t1) )4 0331552: I, The state model for this example is 3210:)" 'o 1‘ 'xluz)‘ cmsnT 'wlm' - + u(t) + 3‘2“). .0 0‘ L-x2(t)-l -wn_ _w2(t)- . _ , (35) Fw1(t) 21:0!“1 - w(t) w. - Z(ti) " Y(ti) + ‘91 [1 0] §J +-0.02 xi(ti/ti)} dt t 1 The cumulative control performance over the interval [0,1] * * * N'l * Jc(TO,T1,....,TN_1) - 1:0 JO(T1) (40) was computed for several adaptive sampled controls with predic- tive sampling criteria determined based on performance index (39) with several combinations of parameters 0, F11, and A. The cumulative control performance for periodic sampled-data controls were computed for comparison with the performance Of the associated adaptive sampled-data control. The periodic sampled-data control was in each case computed with the same number of sampling intervals and the same sample functions 68 _ Q:j(t),{gij}§_1) as used with the adaptive sampling criterion and both were constrained to a [0,1] control interval. The standard deviation 0 was chosen as 0.033 to make the state x1(t) have a maximum.excursion (3 standard deviations) of t 0.1. The covariance of the measurement noise was chosen as 0.001 so that the maximum measurement excursion is ten percent of the actual output value. Thus, the system is a random process with transient behavior and is thus an excellent test case for the performance of an adaptive sampling criterion which optimally selects the next sampling interval based on performance prediction which is in turn based on measurements of x1(t) at the last sampling time ti’ This sampling criterion is closed loop since the selection of the sampling interval is chosen based on measurements of a system with random disturbances and measurement noise. The results obtained with adaptive and its associated periodic sampled-data controls, where the predictive sampling criteria are computed based on different combinations of per- formance index parameters, are shown in Table 4-4(a). The results obtained with sample function 31(t) and {wil}§=l indicate the adaptive sampled-data control will in general be inferior to the companion periodic sampled-data control with the same number of control changes. The two parameter combina- tions, (a=l, F11=5, A=0.ll) and (cal, F11=0.l, A=O.ll), where adaptive outperformed periodic were rerun with other sample functions for processes w(t) and {$1}§-1- In these cases, the periodic outperformed adaptive as shown in Table 4-4(b). 69 TABLE 4-4 Cumulative Control Performance for Variation in a, A, and F11 on Fast Stochastic System with . ~ . N . 5.31”??? Wt??? 33".?) . in? $1.15 .}.i.-.1. . ._ Number Cumulative Performance <47) Tijsr and because C(Ti) will be a monotone decreasing function. It is obvious that the cost of feasible hardware options, com- puter algorithms, and the efficient programming of these algorithms will all affect the shape and magnitude of C(Ti). Since Tmin is unknown because the hardware has not been selected, a value of Tmin must be guessed at this point in order to evaluate the performance of algorithms and hardware options. Tmin is temporarily chosen to be a A Imin = 0.005 (21v)/wn (48) which provides a rate two hundred times the system bandwidth which is much faster than one would ever need to sample, and is smaller than the minimum time needed to compute the optimi- zation problem (44) by the fastest computer-algorithm option. The value for amin. is chosen temporarily because Tmin can only be determined after C(Ti) is determined. The use of 1min < Tmin rather than actual Tmin to determine C(Ti) 75 introduces some error in the determination of the CPU time TSP(T:j) require to compute Tij - T1 for a particular come puter hardware and algorithm Option and thus the cost C(Ti). This error is not significant and is in the direction which would choose a slightly more capable computer than might actually be necessary which leaves some room.for later modi- fication or expansion of capability. The maximum sampling period is determined by the stability consideration as in the GOD problem and is Tm - w/wn ‘ (49) which is a rate twice the bandwidth and thus much slower than one would generally wish to sample. The optimization problem is a univariate search over a relatively small closed bounded interval. Since the Optimization to determine T: must be performed on-line in less than T: seconds and since each function evaluation requires relatively extensive computation due to integration of differential equations (26) and the performance index, the algorithms used should require very few function evalu- ations. Four possible optimization algorithms are feasible for this problem [23]; Fibonacci (p-l), Golden Section (p=2), Powell (p-B), and Davies, Swann and Campey (DSC) (p=4). The Powell algorithm was never evaluated because it was better suited to multivariate search and because it was not as well suited to a search over a small bounded interval. The Fibonacci and Golden Section algorithms are suited to opti- mization over a small bounded interval but require more 76 function evaluations than a DSC algorithm if S(Ti) is convex and has a unique minimum. Thus, for the case where S(Ti) is convex as shown in Figures 4-l,2,5, the DSC algorithm.(p-4) will be used. This decision is made for all hardware options (8) since the best algorithm is independent of the computer used. Uniform search steps are used in the DSC algorithm rather than acceleration steps in order to reduce the number of function evaluations needed for a small bounded search interval. The uniform steps in the search are continued until the decrease in the performance index terminates and an increase is noted on the last search step. A minimum T: is thus known to have occurred in the last two intervals. A single quadratic interpolation is performed to obtain T: because the number of function evaluations is to be minimized and because sufficient accuracy is obtained if the uniform search step size is small enough. Minimizing function evalu- ations reduces 18P(T:) and will reduce both C(Ti) for each Ti and Tmin' A The search is initiated at Tmin rather than Tmax in order to cause the CPU time rsp(T:) required to compute T: to be an increasing function of T: - Ti rather than a decreas- ing function of Ti. Since the constraint * * * 9(Ti) - {(s,p): TSP(T1) 5 Ti} (50) requires that the computation be completed on any computer * * before trigger at that sampling instant t1+1 - ti + Ti is 77 necessary, the resulting cost of implementation * C(T ) - ‘mi (0 } i (8.p)63(T:) SP (51) will be defined for smaller values of T: resulting in a lower value of Imin' Thus, the choice of algorithm.and the direction of search for this algorithm will ultimately effect the value of Tmin and the magnitude and shape of this cost of implementation. 5.2 Hardware Options The second step in this procedure is to determine a set of computers that can handle this problem. .Attention was restricted to minicomputers with (l) at least 4K.words of memory size which is enough memory for this particular problem; (2) FORTRAN capability in order to make programming easy; (3) 16 bit word size in order to obtain the accuracy required to compute T:. It was assumed that multiplication and division operations would be implemented using software since multipli- cation and division hardware options were not always available on every computer. The computation times for addition and subtraction were assumed the same and the computation times for multiplication and division were assumed to be eight times per word as large as for addition and subtraction per word on all computers considered [24], 78 TABLE S-l .Selected Minicomputersand Specifications Memory Addition 8 Manufacturer Model Size Time per Cog; (words) word(usec) (C) (71) . 1 Digital Equipment PDP-ll/45 32K 0.3 38,000 2 Microdata Express I 32K 0.405 20,000 3 Data General 5/100 BR 0.6 9,200 4 Digital Computer D-6l6 4K 0.66 7,260 5 Data General NOVA 3/12 4K 0.7 3,600 6 Digital Computer MOD-5 4K 0.8 3,075 Controls 7 Interdata 6/16 4K 1.0 2,900 8 Interdata 5/16 4K 1.2 2,100 9 Digital Equipment PDP-ll/03 4K 3.5 1,995 79 Y1(S) = Y2(S) (52) Y3(8) = 74(8) = 8 71(8) where Yl’ 72, Y3. and Y4 are addition time, subtraction time, multiplication time, and division time per word respectively for the computer 3. A set of computers which met those specifications was determined from.the 1976 DATAPRO REPORTS [25] and is shown in Table 5-1 with the actual cost and computation time for addi- tion for each selected computer shown. Mere specific data should be required for a practical control problem such as the proper hardware or software Options for each Of these mathematical Operations. It is conceivable that the proper hardware or software Option for any Operation on a particular computer may be selected as part Of the design Of the Optimal sampling interval in order to achieve a minimum cost Of implementation C(Ti) for each Ti' 5.3 Optimization Of Software The third step Of this procedure is to Optimize the computer programming to minimize CPU time 18P(T:) for each hardware-computer algorithm option (s,p) to compute T: for the 0C problem, Since the computational algorithm was chosen to be DSC algorithm.(p-4), the only consideration to Optimize the computer programming is to minimize Ts(T:)' However, the subscript p is retained because in general the algorithm may not be selected at this point. * The computation time Tsp(Ti) for each computer s=l,2,.... 9 and algorithm.p-l,2,3,4 is approximately 80 4 Sp(Ti) -k21 kacri> vk fietr min rmax] (53) where K pl’ sz, Kp3' and KP4 are the total number of addi- tions, subtractions, multiplications, and divisions respect- * ively to compute T1 for each T1 for algorithm.p. The equa- tion (53) can be rewritten as Tap“? ' [Kplap + Km“? + 8 mp3”; + KP4(T:))] 71(3) (54) = Kp v1 by substituting (52). The total number Of any particular Operation depends on the number Of function evaluations NP(T:) to compute T: a T1 for pth algorithm.and the total number Of integration steps * * * * NO(T1) and N1(T1) required to compute J0(Ti) and J1(Ti) res- pectively. Thus, the number Of Operations Of any particular kind for the pth algorithm can be expressed as * * * * ka(Ti) " MOk “0 “1’ + Mlk N1 “1’ + M2k Np(Ti) + M3k (55) k - l,2,3,4 * where Ti - Ti' m is the integer index for function evaluation and * * N (Ti) N£p - xlm (58> h(t ) - (t ) t < t < t h(t) - x1(t) t:1+1 5 t 5 ti + A From Chapter 4, the parameters and matrices in the control performance index (29) are 01180.1, R-0.02, F11-0.l, d-l, and A-0.11. Now the cost Of implementation for this example problem will be developed based on the following information: (1) The Optimization algorithm is selected to be the DSC algorithm with a uniform step size and forward search steps 83 fromTmin toward Tmax' Tmax is chosen to be 0.11 because A-0.ll is less than Nyquist sampling period (0.3) for this system, £min is temporarily chosen to be 0.003 by (48). (2) The hardware Options are selected and listed in Table 5-1 with addition time per word 71(3) and hardware cost C8 for each hardware Option. (3) The computer programming is Optimized to minimize each type of Operation and the number of Operations {{Mjk}§-0} :_1 are counted. The total number Of equivalent additions becomes T* - 449 T* + 497 N T* 4 T* + 9 N KP-4( i) “04‘ 1) 14‘ 1) + 13 “4‘ 1) c '+ 117 (60) where the variable Nc is associated with the number of uni- form search steps for [ti + Tmin’t + T ] and is Obtained i max from No - min (N ; AT -= (Tmax - Tmin) / N 3 ATM) (61) where N is a positive integer number and ATmax is maximum. allowable constraint of AT. Since the number of uniform search steps Nc is a positive integer value, Nc and AT are determined simultaneously if ATmax were specified. The determinations of N4(T:), No4(T:), N14(T:), ATmax’ and the maximum integration step size Emax will now be des- cribed for DSC algorithmm The number of function evaluations N4(T:) for the DSC algorithm.(p-4) is * j + 3 T s[T +(j-1)AT,T +jAT] N (T*) - ‘ i min min N + 1 c TisETmifi+(Nc-1)AT,T ] 84 because (j+2) uniform step function evaluations are needed to evaluate J(Tmifi+(j-1)AT), J(Tmifi+jAT), and J(Tmifi+(j+l)AT) for quadratic interpolation formula for the Optimal sampling solution , ATEJam+O-1) Ar) - J m=l,..., min (2 L1 ; elm - 2L1 N4'I N - a 14m .A-(T. . +(N -.4) AT) a mi“ (2 L1 3 elN' iii? 4 5 an“) m N4 4 1 respectively. L0 and L1 are integer values, N4 = N4(T:), and emax is maximum.allowable integration step size in these expressions. 22m represents the integration step size for the evaluation Of J£(Tmin+(msl)AT) and is chosen to make the posi- tive even.number of integration steps (Ni4m) as small as poss- 2m must not exceed emax? This number of integration steps, N24m for m < N4, is precisely ible with the constraint that 6 determined by (66) and (67) because the integration time inter- val [O’Imin+(m'1)AT] to evaluate J0(Thdn+(m-1)AT) and the inter- val [Tmifi+(mrl)AT,A] to evaluate J1(Tmin+(m-1)AT) is known if AT is known. The number of integration steps, N24N4’ to evaluate J£(T:) is not precisely determined before T: is Obtained by computer. Thus, the equations (66) and (67) for m.- N4 were assumed to have the maximum number of integration steps to evaluate J2(T:) which is the number Of integration steps to compute J0(Tmin+(N4-3)AT) when i=0 and is the number Of integration steps to compute J1 .Nl4oz.eao-n.ooa\m .H mmouaxm.ne\aa-mnm HH.-HH~oo. oH\n.oH\o.n-noz.~H\m <>oz.oao-n.ooa\m.H oa\o.m-aoz.ufi\m <>oz.oao-n.ooa\m.H m-noz.ua\m <>oz.oao-a.oco\m.H ~H\m <>oz.eae-o.ooa\m .H coo-n.ooa\m.a ooa\m.H H mmougxm amoumxm mushmxm mmoumxm amouoxm amouoxm ammunxm .ne\HH mam Hawoo.-~omao. .m<\HH-mam uomno.-aomao. .n¢\HH-mam Homao.-ao~ao. .n¢\aa-mnm Houao.-amoflo. .ms\HH-mnm Hmouo.-ammoo. .m¢\aa-mam Hmmoo.-aomoo. .me\ao-mnm Hoooo.-moooo. ms\aa-mnm moooo.-oneoo. muousiaou manammom no new #9 ¥ «a 50mm pom «Houoiaoo in manwmmom mo uom «um mAm¢H 91 F L 0'40 r 0. 0‘0” 0'.“ r 0608 f 0608 E IN SECONDS 04 In 0'. T f 03 I O 00‘ j 0 8.84. 86* 86mm 86? 8.1a 86w“ «uuoiwefiémo 8.9.. 8.2.. 8.? Si» 56..» 1) vs Sampling time FIGURE 5-2 Cost of implementation C(T interval Ti‘ 92 cost of implementation which have been determined in Chapter 4 and the previous section of Chapter 5 respectively. The selection of hardware is the second stage of the OSD problem which completes the OCSD problem described in Chapter 3. The system performance index to be minimized for the optimal selection of computer hardware problem s01) -= mi) + q 0a,) (71) includes cost of implementation with weighting factor q. The selection of hardware requires the minimization of (71) for several operating conditions (j) and several sampling inter- vals (i) for some q to obtain a set of Optimal sampling intervals r -_-. {{Tij}?_1}§;(l) (72) and then select the hardware based on the maximum cost over the optimal set of solutions I 0* - Ea)! C(TIJ) (73) Tijef Conceptually, q is a conversion parameter from.the actual comp puter cost to the equivalent control performance value and thus can be determined by inverse of actual dollar benefit of the performance improvement. However, the selection of q is difficult to obtain because its choice determines the hardware selected based on (71,72). If q can not be obtained easily, the following alternative procedures make determination of hardware, the associated hardware cost C(Tmin), and Tmin easier. The particular value of Tmin chosen will not only deter- ‘mine the hardware 93 s(T ) = {s : C8 = C(Tmin)} (74) min implemented but also the cumulative control performance index evaluated for that Tmin over a set of intervals i a 0,1,..., N-l and operating conditions j a 1,2,...,M A ‘M * * * JC(Tmin) I 121 ch(T0j,T1j, ..... ,TN-1'j,Tmin) M (75) N']. * Z J (T )} ~1 i=0 0 ij where Tij satisfies * Tmin 5 Tij 5 Tmax Since C(Tmin) decreases very rapidly for Tmin < a and Jc(rmin) increases very rapidly for Tmin > b, there is a feasible region for Tmin Imi n 6 [a,b] (76) Obviously a good design using the OSD methodology would choose a q to obtain a TminEEa,b] because otherwise the cost would be excessive or the control performance would be seriously degraded. The particular choice Of :min in this region or the choice of q that will produce the same 2min in the initial procedure, would be based on the designers objectives. If the designer wanted the lowest possible cost of implementation consistent with good control performance the hardware 8*(b)‘W1th cost C(b) would be selected. If the designers Objective is to minimize control performance consistent with acceptable cost of implementation * the hardware 3 (a) with cost C(a) would be implemented. 94 This procedure to determine the optimal hardware will now be applied to the example problem which is the deterministic fast system (58,59) with control performance index (29) where a-l, F -0.1, A-0.ll, and 02280, and a 11 cost of implementation shown in Figure 5-2. The minimum of feasible region for Tmin’ "a", can easily be selected to be 0.0105 seconds from.Figure 5-2 because the cost of imple- mentation is a rapidly decreasing function up to 0.0105 seconds and then a slowly decreasing function from.that point. The maximum of feasible region for Tmin' "b", is chosen to be 0.053 from Figure 5-3 which is the cumulative control per- formance (75) with respect to Tmin with F-0.05 for an operat- ing condition, h(t) - 1, for the OC problem, This figure shows that the cumulative control performance is a slowly increasing before Tmin-0.053 and a rapidly increasing after Tmin-0.053. This feasible region for Tmin [0.0105,0.053] is obtained based on just the unit step operating condition (h(t)-1) because the results for other Operating conditions (h(t)-t, h(t)-t2) are very similar to that for the unit step input. Thus, the optimal choice of Tmin is in the range of 0.0105 and 0.053, and corresponding optimal computer hardwares are Data General NOVA 3/12, Digital Computer Controls MOD-5, Interdata 6/16, and Interdata 5/16 from Table 5-4. The choice from these four optimal computers is quite arbitrary and is dependent solely on the designers priorities. Data General NOVA 3/12 will be chosen if the control performance is 95 considered to be more important than the hardware cost. The Interdata 5/16 will be chosen if the computer cost is considered more important than the control performance. An arbitrary choice of computer hardware, the Data General NOVA 3/12, for implementation is made for this example control problem. The state trajectories for the sampled-data control with predictive sampling and this hard- ware compared to the periodic and continuous control are shown in Figure 5-4. The sampled-data control with predictive sampling and this computer appears to significantly outperform both the periodic sampled-data and continuous-time controls. The precise values of the cumulative control performance in- dex for predictive sampling with different values of Tmin for unit step input are shown in Table 5-5 with the cumulative control performance of the periodic sampling criterion (constrained to have the same number of sampling times as predictive sampling) and continuous control. The cumulative control performance and terminal error for the sampled-data control with Optimal predictive sampling are dramatically improved over those of the periodic sampled-data control. Mbreover, the sampled-data control with predictive sampling criterion for :mi 3 0.012 outperforms the continuous control n which is the control being adaptively sampled by the predic- tive sampling criterion. These results confirm the hypothesis (page A? ) in Chapter 4 for the fast system that Tmin was chosen too large so that the sampled-data control with pre- dictive sampling did not outperform.the continuous control being sampled. 96 The results thus indicate a predictive sampling criterion does perform control because it enhances the control performance over that of the continuous control for both the fast and medium systems when Imin’ a, F11/Q11, and A are chosen properly. Mbreover, the predictive sampling criterion seems practical because it can be implemented with fairly inexpensive minicomputers. The exact minicomputer chosen is shown to depend on the designers priorities on performance and cost. 97 0,21 3.24 0,27 .00 0,0: 0,30 E I104 "FL I mg.“ l 0,00 0,00 0,12 0.10 0,00 U U T 0.01 0.02 0.03 0'.0 TI 41.00 '8 4 0105 0100 0107 0100 0100 0.10 NE IN SECONDS FIGURE 5-3 Cumulative control performance Jcamin) vs Tmin for unit step input Operating condition. 98 RLPHH=I.OO F11: 0.10 DELTH=Ooll THIN: 0.0105 HDHPTIVE PERIODIC CONTINUOUS 2.00 1 >13 1,70 \, xx 1,60 9k \ BNPHéLgDE \ M\ 0,2: .9.“ 0,00 11.00 8 1H :1 . '0.00 0110 0120 0130 0.40 0150 0100 TIHE IN SECONDS fl 0710 0 .00 0100 1 .00 FIGURE 5-4 Output trajectories for adaptive sampling with Tmin"0105’ periodic sampling, and continuous control for fast system. 99 mooumo.o oma~mo.o auoomo.o mmmomo.o Hamawo.o osnumo.o ca oooa.o Nuaaoo.o mmsaao.o Namaoo.o amsaoo.o ¢o~m~o.o ommaao.o «a mafiwwmamm Hemmoo.o momNHo.o ~m~ma¢.c mommao.o ommmoo.o «meooo.o om omwmmo mmmuao.o m4a~oo.c «Namao.o m¢a~ao.o moosoo.o muamoo.o. ms DMmeo ss-~o.o umaaoo.o NmANHo.o oaaaao.o Huanao.o omoeoo.o on mmmmsc mmmNHo.o mmmaao.o amnmao.o nmmaao.o smmnoo.o «smooo.o mm «Hmmousmz .Hamuao.o momoao.o anmmflo.c Nemoao.c «somoo.o msaooo.c co mmwmmo am¢~ao.o ommaoo.o amsmao.o mamoao.o Haemao.o Hmuaoo.o so mmwamo H.O nose ammuao.o nmaaoo.o ssmaao.o mmaaao.o «Hamao.o ouuooo.o mm H mmwmmwm HH.O u a momwoo.o mmaaflo.o mmmmao.o.womaaao.o momnao.o .eaumoo.o mm msmwwmmmm O.H u a cmo~oo.o mHHNHo.o, «osmoo.c oou moo.o maoaaauaoo oweoauom o>aummu< .owooauom 0>Humoo< owoowuom o>auomv< Ouagaom mumsmumm Ham was .4,.o Amo.onmv ooooahomuom Aouhv ooomahomuom Amuvaxnamuvn Hommoz cHaH muouoamumm Houunoo o>uuoanabu Houucoo o>wumanaoo uouum HOOHEHOH : amumhm ummm How mooaumaum> «EH nuaa uouum HOOHEHOH pom oofimauomuom Houuaoo o>wumflnaso nun mqmsa CHAPTER 6. CONCLUSIONS This thesis has two principal contributions: (1) the formulation and solution of the Optimal predictive sampling criterion for a sampled-data control system; (2) the development of the Optimal control system design methodology for the optimal predictive sampling prob- lemm The optimal sampled-data control problem with predictive sampling criterion was motivated by the following past developments: (1) periodic sampling criterion which is commonly used because of the ease of design and analysis using trans- form.technique; (2) adaptive sampling criteria [l-ll] , where the sampling rate is varied in proportion to the change of error rate. The objective of these criteria, as indicated by the performance index used to derive the sampling rules, is to make the sampled-data control approximate a continuous- time control; (3) optimal aperiodic sampling criterion [12,13] where the system performance index measures the control per- formance rather than the error introduced by sample and hold 100 101 device as in the adaptive sampling described above. This sys- tem.performance index was also included an actual cost of implementation. This system performance index was minimized with respect to the number and the lengths of each sampling interval to Obtain an optimal aperiodic sampling criterion. These previous results are extended in this thesis by formulating and solving the optimal predictive sampling prob- lem" The system performance index is formulated with a con- trol performance index that measures actual performance of the control as in the formulation of optimal aperiodic sampl- ing criterion rather than error due to the sample and hold device as in the formulation of the adaptive sampling criteria. The control performance index measures control performance over both the sampling interval over which the control is held constant and over a future interval where the control is permitted to be continuous. Thus, only one sampling interval at a time is chosen and is based on the estimate of this performance index which in turn is based on past measure- ment of outputs of the system.and knowledge of system inputs, system dynamics, and disturbance, initial conditions, and measurement noise statistics. A cost of implementation is included and is a specified constant if the predictive sampling criterion is being used to perform control on a specified set of hardware and is a function of the length of the sampling interval if the objective is to design and select the computer hardware, computation algorithms, and computer software to implement the predictive sampling criterion. 102 The results of the optimal adaptive sampled-data control with predictive sampling criterion shows that the optimal predictive sampling criterion is indeed adaptive for on-line control if future performance can be precisely pre- dicted as in the deterministic case but is periodic if future performance cannot be predicted as in the stochastic case. These results agree with the results for optimal aperiodic sampling criterion which indicated that the Optimal sampling criterion is aperiodic for the deterministic system and is periodic for the stochastic system. MOreover, the adaptive sampling criterion and aperiodic sampling criterion both per- form.a control function because it has been shown in both cases that the control performance is improved over that of the continuous-thme control. The results on the optimal pre- dictive sampling problem complete a theoretical foundation for optimal sampling applied to control systems. Optimal predic- tive sampling could also be applied to estimation and identi- fication problems in both control and communication systems. Optimal control system design methodology has been further refined in this thesis. This optimal control system design (OCSD) is broken down into the conventional optimal control design (0CD) where the parameters of control perform» ance index are optimally tuned so that the resulting control meet the control performance objectives, and the Optimal system design (OSD) where the hardware to be implemented is optimally determined. The optimal system design procedure, which has been proposed, determines a precise cost of 103 implementation as a function of the computational algorithms, computer software implementing that algorithm, and the hard- ware and then determines the optimal selection of hardware, computational algorithm, and computer software by a tradeoff of control performance and cost of implementation. Thus, optimal control system.design really completes the design problem of the optimal control system because it not only tunes the control performance index to obtain acceptable con- trol but also determines a precise cost of implementation and then selects a computer hardware, computation algorithm, and software Option based on the control performance and cost specifications of the designer. The results obtained where restricted to a cost of implementation based solely on come puter hardware cost and did not consider communication and instrumentation costs. MOreover, this Optimal control system design was only performed for the predictive sampling problem. Therefore, a development of the communication and instrumenta- tion hardware cost for predictive sampling and a development of the optimal control system design for more general control problem was left for future research. [1] [2] [3] [4] [5] [6] [7] [8] [9] REFERENCES Dorf, R.C., M.C. Farren, and C.A. Phillips, "Adaptive sampling for sampled-data control systems," IRE Trggg. on Automatic Control, AC-7, 38-47 (January 19 . Tomovic, R. and C.A. Bekey, "Adaptive sampling based on amplitude sensitivity," IEEE Trans. on Automatic Control, AC-ll, 282-284 (April 1966). Ciscator, D. and L. Mariani, "0n increasing sampling efficiency by adaptive sampling," IEEE Trans. on Automatic Control, Ac-12, 318 (June 1967). Mitchel, J.R. and W;L. McDaniel, Jr., "Adaptive sampling Technique," IEEE Trans. on Automatic Control, AC-l4, 200-201 (April 1969). Gupta, S.C., "Increasing the sampling efficiency for a control system", IEEE Trans. on Automatic Control, AC-8, 263-264 (July 1963). Smith, M.J., "An evaluation of adaptive sampling," IEEE Trans. on Automatic Control, 282-284 (June 1971). Hsia, T.C., "Analytic design of adaptive sampling control law in sampled-data systems," IEEE Trans. on Automatic Control, AC-19, 39-42 (February 1974). Kalman, R.E. and J.E. Bertram, "A unified approach to the Ehggg of sampling systems," Proceedings of IRE, 46 Bennett, A;W. and A.P. Sage, "Discrete s stem.sensitiv- ity and variable increment sampling,‘ Proceedings Jgéng Automatic Control Conference, 603-612 (June 1 7 . [10] Tait, R.E., "Evaluation of signal dependent sampling," International Journal on Control, 4,4, 201-239 (1966). [11] Bekey, C.A. and R. Tomovic, "Sensitivity of discrete systems to variation of sampling intervals," IEEE Trans. on Automatic Control, AC-ll, 284-287 (April 1966). 104 [12] [13] [14] [15] [16] [17] [18] [19] [20] [21] [22] [23] [24] [25] [26] [27] 105 Ma, R.K.T. and R.A. Schlueter, "Optimal control system design: the control and sampling problem," Pro- ceedings of the IEEE Decision and Control Conference (December 1976). Van Wieren, R.L., "Optimal aperiodic sampling for signal representation and system control," Ph.D. disserta- tion, Dept. of EESS, Michigan State University, 1975. Schlueter, R.A., "The optimal linear regulator with con- strained sampling times," IEEE Trans. on Automatic Control, AC-18, 515-518 (October 1973). ' Schlueter, R.A. and A.H. Levis, "The Optimal linear regulator with state dependent sampling," IEEE Trans. on Automatic Control, AC-18, 512-515 (October 1973). Schlueter, RmA. and A.H. Levis, "The optimal adaptive sampled-data regulator," ASME J. of Dynamic Systems, Measurement, and Control, 334-340 (September 1974). Schlueter, R.A. and R.K.T. Ma, "Sam.1ed-data Observabil- ity of continuous time systems,‘ Proceedings of the Allerton Conference on Circuit and System Theory (October 1976). Schlueter, R,A. and R.K.T. Ma, "Sampled-data controll- ability of continuous-time systems," Proceedings of the Joint Automatic Control Conference (June 1977). Sano, A. and M. Terao, "Measurement Optimization in optimal process control," Automatics Vol. 6, Pergamon Press, 705-714 (1970). Schweppe, F.C., Uncertain Dynamic Systems, Prentice Hall, 1 73. Sage, A.P. and C.C. White, Optimum Systems Control, Prentice Hall, 1977. Athansé6M. and P.L. Falbs, Optimal Control, McGraw-Hill, 19 . Himmelblau, D.M., Applied Nonlinear Programming, McGraw- Hill, 1972. Boyce, J.C., Digital Computer Fundamentals, Prentice Hall, 1977. 1976 DATAPRO Reports, DATAPRO Research Corporation, Delran, New Jersey, 111-148 (November 1976). Shampine, L.F. and R.C. Allen, Jr., Numerical Analysis: An Introduction, W.B. Saunders Company, 1973. Koenig, H.E., Y. Tokad, and H.K. Kesavan, Analysis of Discrete Physical Sysems, McGraw-Hill, 1967.