DESIGN OF D E C O U P L I N G C O N T R O L AND TIME-DELAY COMPENSATION FOR A C F S T R By LIANG CHEN B . Eng., U N I V E R S I T Y O F S H A N G H A I T E C H N O L O G Y , 1982 A THESIS SUBMITTED IN PARTIAL FULFILLMENT OF T H E REQUIREMENTS FOR T H E D E G R E E OF M A S T E R OF APPLIED SCIENCE in T H E FACULTY OF GRADUATE STUDIES DEPARTMENT OF BIO-RESOURCE ENGINEERING We accept this thesis as conforming to the required standard T H E UNIVERSITY OF BRITISH COLUMBIA A U G U S T , 1990 © L I A N G C H E N , 1990 In presenting degree this at the thesis in partial fulfilment of University of British Columbia, I agree freely available for reference copying of department publication this or and study. thesis for scholarly by of this his or her Department The University of British Columbia Vancouver, Canada requirements that the I further agree purposes representatives. may be It thesis for financial gain shall not permission. DE-6 (2/88) the that advanced Library shall make it by the understood be an permission for extensive granted is for allowed that without head of my copying or my written Abstract This thesis is concerned with the design of a decoupling compensator and a time-delay compensator for a nonisothermal continuous flow stirred tank reactor (CFSTR). An expression for the analysis of interaction of the two-variable CFSTR was theoretically derived by using the relative gain method (RGM). For the purpose of improving the stability of the decoupling control system, undercompensation for a decoupled CFSTR system was suggested and the robustness test of such undercompensation decoupler to the modelling error was studied. On the other hand, the proposed time-delay compensation method, unlike conventional Smith's scheme, can rely on the basic property of gaininvariant time-delay. The stability of this time-delay compensation method is not affected by the CFSTR control system time-variant time-delay, while its compensation structure has the same features as the Smith compensator. The design of a decoupler and that of a time-delay compensator are independent of each other. All compensation structures are physically realizable. The theoretical results are supported by simulation. Simulation results for a CFSTR demonstrate that the undercompensation decoupling control can tolerate a relatively wide modelling error and reduce the sensitivity of the CFSTR process to parameter variations and unwanted disturbances. Also, simulation results show that the proposed time-delay compensator can provide an improvement over the conventional Smith compensator. n Acknowledgement I would like to take this opportunity to express my sincere gratitude to my supervisor Professor V. K. Lo for his understanding, encouragement and guidance during my graduate study at the University of British Columbia. I am especially grateful to Professor K. L. Pinder, who gave me a gentle nudge in the right direction during the early stays of my research on this project and showed his patience in reviewing the draft. Without his expert comments it would be impossible for me to complete this thesis. I also wish to thank Professor R. M. R. Branion for his many invaluable suggestions and useful discussions. His comments were an important factor in the success of this undertaking. Finally, I would like to thank all my friends for their help while this thesis was being proposed. iii Table of Contents Abstract ii Acknowledgement iii List of Tables viii List of Figures 1 ix Introduction 1 1.1 Motivation of the Present Work 1 1.2 Objectives of the Present Work 4 1.2.1 Interaction Analysis and Decoupling 4 1.2.2 Time-delay Compensation 5 1.3 Summary 7 2 Literature Review 8 2.1 Introduction 8 2.2 Literature on Interaction Analysis and Decoupling Control 8 2.3 Literature on Time-delay Compensation Control 11 2.4 Literature on the CFSTR Process Control 13 3 Mass Balance and Energy Balance for a CFSTR 17 3.1 Basic Mathematical Equations Describing a CFSTR 17 3.1.1 17 Mass Balance Equation iv 3.1.2 Energy Balance Equation 18 3.2 Transfer Function Representation of the CFSTR Response 21 3.3 Time-delay Behaviour of the CFSTR Control System 26 4 Determination of Interaction Degree of Two Control Loops 32 4.1 Interaction Behaviour of a CFSTR 32 4.2 Bristol Method 33 4.3 4.4 4.5 4.2.1 Introduction i 33 4.2.2 Definition of the Relative Gain 33 4.2.3 Interpretation of the Relative Gain Value 38 Determination of the RGA for the CFSTR 41 4.3.1 Determination of the Open-loop Gain Coefficient of the CFSTR . 41 4.3.2 Determination of the Closed-loop Gain Coefficient of the CFSTR 42 Illustrative Examples 46 A Few Comments on Interaction Analysis 5 Decoupling Design for the CFSTR 48 52 5.1 Introduction 52 5.2 Ideal Decoupling Design 53 5.3 Simplified Decoupling Design 55 5.4 Analysis of Modelling Error by the RGM 59 5.5 Error, System Stability, and Robustness 61 5.5.1 Overcompensation of Interaction 63 5.5.2 Undercompensation of Interaction 64 5.5.3 Stability Analysis 65 5.5.4 An Illustrative Example 66 v 6 Design of Time-delay Compensation 73 6.1 Introduction 73 6.2 Control of the Concentration Process without a Time-delay 74 6.3 Control of the Concentration Process with a Time-delay 77 6.4 Control of the Concentration Process with a Smith Compensator 82 6.5 A Physically Realizable Time-delay Compensator 83 6.5.1 Stability Analysis 85 6.5.2 A Few Comments on the Control Mechanism 89 7 Conclusions and Suggestions 90 7.1 Conclusions 90 7.2 Suggestions 91 Bibliography 94 Notation 100 Appendices 105 A The Taylor Series Expansion for a System with Two Dependent Variables 105 B Laplace Transformation 107 B.l Delay Function . .' 107 B.2 Final Value Theorem 107 C Derivation of the Closed-loop Transfer Function for the CFSTR with Time-delay 109 vi D An Important Property of the Relative Gain for a 2 x 2 system 112 E Dimensionless Variable Transformation 113 F The Standard Solution of a Second-order System 115 G Derivation of the Transfer Function for a Time-delay Compensation System 116 H Simulation Data 117 vii List of Tables 4.1 Steady-state operation condition of a CFSTR, copied from Douglas (1965). 50 4.2 Steady-state operation condition of a CFSTR, copied from Nakanishi and Ohtani (1986) 51 H.3 The relative gain And versus the compensation factor e, An = 11.3 . . . 117 H.4 The relative gain A d versus the compensation factor e, An = 0.5 x 11.3 = U 5.65 118 H.5 The relative gain And versus the compensation factor e, An = 1.5x 11.3 = 16.95 119 H.6 \\xd versus A with e > l 120 H.7 And versus An with e > l 121 H.8 A i versus An with e < l 122 u 11( H.9 Unit-step response of the concentration control system without time-delay 123 H.10 Unit-step response of the concentration control system with measuring time-delay, rc = 2 sec 124 H.ll Unit-step response of the concentration control system with measuring time-delay, rc = 0.2 sec 125 H.12 The unit-step response of the concentration control loop with a physically realizable time-delay compensator. K = 100, K\ = 0.976, and K = 0.1. c viii 2 126 List of Figures 1.1 Conventional control loops of a CFSTR 2 3.2 (a) Block diagram representing Equation 3.29. (b) A simple representation of (a). Gij and Dij are transfer functions of each channel; K{j and J,j are the steady-state gains of each channel; g,j and are the dynamic gains of each channel 3.3 27 Closed-loop control system for the CFSTR, Ic is the concentration set point and IT is the temperature set point 28 3.4 Closed-loop control system for the CFSTR with time-delay 31 4.5 Open-loop of a 2 x 2 system, 4.6 Determination of closed-loop gain for a 2 x 2 system. i^and R are con- is the transfer function of each channel. 35 2 trollers. I\ and Ii are set-points, (a) Determination of Sn and 5i2; (b) Determination of S21 and £22 37 4.7 Step response of loop 1 open for a 2x2 system with A =0.5 39 4.8 Step response of loop 1 closed for a 2x2 system with A =0.5 39 4.9 Step response of loop 1 open for a 2x2 system with An =2.0 40 n u 4.10 Step response of loop 1 closed for a 2x2 system with A =2.0 n 40 4.11 Determination of the manipulated variable Q(t) from controlled variables C(t) and T(t) 42 4.12 Determination of the manipulated variable Q (t) from controlled variables c C(i)andT(i) 43 ix 5.13 A block diagram for ideal decoupling system of the CFSTR. N (s), u Ni {s), 2 N2i(s) and A^s) are decoupling compensators 5.14 A block diagram for a simplified decoupling system of a CFSTR 54 56 5.15 (a) A block diagram of a decoupled CFSTR system, (b) A CFSTR process with superficial noninteractive behaviour 58 5.16 (a) The open-loop gain coefficients Fijd of the decoupled CFSTR system, (b) The steady-state gain of each element in the open-loop decoupled CFSTR system 59 5.17 The relative gain \\u versus the compensation factor e 68 5.18 The relative gain And versus the overcompensation factor e 69 5.19 70 versus A with e > 1 n 5.20 And versus An with e < 1. . 71 5.21 A block diagram of an undercompensated, decoupled CFSTR system . . 72 6.22 Concentration control system without time-delay 74 6.23 Unit-step response curves of the concentration control system without time-delay 76 6.24 Control of the concentration process with measuring time-delay 77 6.25 Unit-step response curves of the concentration control system with measuring time-delay, TQ = 2 sec 80 6.26 Unit-step response curves of the concentration control system with measuring time-delay, TC = 0.2 sec. (a) the amplifier gains are 5 and 10. (b) the amplifier gain is 15 81 6.27 (a) Control of the concentration process with the Smith compensator, (b) A block diagram of the Smith compensator 6.28 A physically realizable time-delay compensator x 82 84 6.29 The unit-step response of the concentration control loop with a physically realizable time-delay compensator. K~c = 100, K\ = 0.976 and Ki — 0.1. 88 7.30 An overall control system of the CFSTR with decoupling control and timedelay compensation 93 xi Chapter 1 Introduction 1.1 Motivation of the Present Work A control system is required on a continuous-flow stirred tank reactor (CFSTR) with irreversible, exothermic reactions to ensure that it operates under steady-state conditions. Figure 1.1 illustrates a typical CFSTR control system. When the effluent concentration is not controlled the regulation of the reactor temperature is a single dimensional problem, while the regulation of both reactor temperature and effluent concentration is a multidimensional one. The conventional control approach for a single variable linear system without time-delay; using standard type controllers and parameter tuning by rules of thumb and experience from similar processes, works quite well in many cases. However, for a CFSTR process with • interactive behaviour • time-delay behaviour • nonlinear behaviour it is frequently quite difficult and time consuming to find the appropriate structure and the correct parameters for the controllers if good control performance is required. The main difficulty in the design of a multivariable control configuration is that individual controllers cannot behave optimally because of control loop interaction. In fact, the controllers in multiloops tuned by classical control techniques cannot overcome internal 1 C: d: F: F: lc'IT'Q: Q: c q c effluent concentration of reactant A inlet concentration of reactant A coolant flow rate measuring device reactant flow rate measuring device concentration set point temperature set point volumetric flow rate coolant flow rate Rc'. coolant flow rate controller Rc- concentration controller Rq'. reactant flow rate controller RTtemperature controller t: time T: temperature in a reactor T in '• inlet temperature of coolant Ti~. inlet temperature of reactant A c Figure 1.1: Conventional control loops of a CFSTR. Chapter 1. Introduction 3 disturbances arising from this interaction behaviour. In Figure 1.1, the reactor temperature is controlled by the flow of coolant while the effluent concentration is controlled by the inlet flow rate. The distinctive feature of the dynamics of a CFSTR is characterized by nonlinear interaction behaviour between the temperature control loop and the concentration control loop and time-delay behaviour because of the measuring delay of the feedback variable. From the standpoint of process control, the CFSTR poses a considerable challenge to a designer owing to this sort of behaviour. In recent years, there has been an extensive interest in adaptive control systems that automatically adjust the controller settings to compensate for unanticipated changes in the process. Such an adaptive control system requires an on-line digital computer to do some complicated computation. With the evolution of digital control computers, much better designs can be produced without any consideration for hardware realizability. This, in part, has spurred research and development to evolve advanced control strategies for process systems. In spite of the flexibility offered by the general structure of digital computers, most process industrial loops are still controlled by conventional controllers ( Mendoza-Bustos, 1990 ). In fact, in many practical applications, the advanced control system for a small scale subclass process is not always feasible due to the high cost of a computer system or sophistication not accessible to nonexperts. The large number of conventional controllers used routinely for process control may be regarded as an experimental evidence of their usefulness. The reason for their extensive use may lie in the fact that a trained operator can quickly master the controller's behaviour. This is why classical control theory is still going strong. In most chemical processes, control schemes should be kept as simple as possible, even at the expense of some performance. Simpler controllers tend to be easier to adjust by trial and error, easier for the operations and maintenance personnel to understand, and less sensitive to process parameter changes. For the same reasons, three questions about Chapter 1. Introduction 4 the CFSTR process control should be answered. They are: • What is an easy way of avoiding the problem of the interaction between the temperature control loop and the concentration control loop and ensuring the stability of a decoupling system if modelling error occurs? • Can a time-delay compensator be designed to achieve robust adaptation? • What can be used as a physically realizable decoupling compensator and time-delay compensator? This thesis intends to focus on the measurement of interaction, design of a decoupling compensator and the analysis of modelling error. It will also present two physically realizable models for both decoupling compensation and time-delay compensation, which are simple to understand and implement, while possessing a sound fundamental basis. The basic assumption behind this approach is that the success of a model in engineering has always depended on the valid use of approximations and assumptions to reduce the complexity of the real world to simple and manageable mathematical abstractions; and CFSTR process control is no exception in this respect. Therefore, the message of the present work is that applicable and simple methods should be sought in an effort to develop a suitable CFSTR controlled model. 1.2 1.2.1 Objectives of the Present Work Interaction Analysis and Decoupling Basic control studies of a CFSTR are usually based on mass and energy balance equations, which are coupled and nonlinear. Generally speaking, interactive multivariable systems should be decoupled in order to avoid difficulties in control. However, two problems may arise. Firstly, an ideal decoupling design is by no means a panacea. In fact, Chapter 1. Introduction 5 adding a decoupler requires more components, more attention, and tends to be less reliable. Secondly, even if a decoupling design is necessary, the process deviations from the decoupled model may lead to unstable control. Therefore, every effort for improving system performance should be made to keep the CFSTR control system as simple as possible. One area which is still poorly understood is the source of interaction of a CFSTR. To effectively design a CFSTR process control system, the designer must have a basic understanding of (1) interaction analysis of a multivariable system, (2) the relevant factors that affect degree of interaction and (3) the relationship between the decoupling design and degree of interaction. Therefore, one of studies presented here is an attempt to determine the relationship between the degree of interaction and the process parameters, and to design a decoupling compensator for a CFSTR process with strong interaction. 1.2.2 Time-delay Compensation Another troublesome area encountered in CFSTR process control is the handling of measurement characterized by time-delay. The control of time-delay processes is usually carried out using a conventional Smith compensator (Smith, 1959). This compensator is sometimes adequate for successful control. But, in fact, the Smith compensator suffers from two shortcomings. Firstly, its robustness is not very good and is sensitive to the deviation from the mathematical model. Secondly, the compensator is physically irrealizable. For most processes, a "reasonable time-delay compensator" with some "good" values for the model parameters is employed for control purposes. The mismatch between the mathematical model and the true process can lead to serious stability problems for CFSTR process control, especially when measurement feedback delay is uncertain. Thus, Chapter 1. Introduction 6 another objective of this thesis is the design of a simple and tractable robust strategy for the time-delay compensation that takes care of model uncertainty. This is of paramount importance for the design of a good and efficient control system for a CFSTR process. In order to fulfill the above objectives, classical control theory, based on the Laplace transform as its main analytical tool, will be considered as a very effective method for system analysis in CFSTR process control. Chapter 1. 1.3 Introduction 7 Summary This thesis is organized in the following manner. • The motivations and objectives of this research are briefly described in Chapter 1. • A literature review about interaction analysis, decoupling in general and the timedelay compensator is given in Chapter 2. • Mathematical models for the CFSTR which include a linearized interaction model and a time-delay model are described in Chapter 3. • In Chapter 4, the relative gain method (RGM) for interaction analysis is introduced and a study on interaction of the CFSTR is given. • Chapter 5 deals with a decoupling design and contains some results from the simulation. • Chapter 6 is concerned with the design of a physically realizable time-delay compensator. • The conclusions and suggestions are presented in Chapter 7. • The appendices contain the Taylor expansion for a two-variable system, the Laplace transform pairs, the derivation of a closed-loop transfer function with a time-delay, the property of the relative gain for 2 x 2 system, the transfer of dimensionless variables, the solution of a standard second-order system, the derivation of a physically realizable time-delay compensation model, and the simulation data. Chapter 2 Literature Review 2.1 Introduction This thesis is concerned with the design of a two-variable CFSTR process control system using physically realizable control algorithms. Two passes will be made through the literature. In the first pass, attention will be paid to the theory of both multivariable control and time-delay control, or, more precisely, the development of a decoupled control system and a time-delay compensation system. During the second pass, a brief review of CFSTR process control will be presented. The former problem is a problem of control theory, and the latter falls under the heading of applications of control theory. 2.2 Literature on Interaction Analysis and Decoupling Control There have been many studies on multivariable process control systems. For reviews, the reader may refer to Lloyd (1973), Fossard (1977), Tung and Edgar (1982), Tzafestas (1984), Sinha (1984), Vidyasagar and Kimura (1986), Marino et al. (1987), O'Reilly (1987) and Shen and Lee (1988). The present review on multivariable process control is confined to the measure of the interaction and to decoupling theories. The earliest study of both interaction analysis and the decoupling of designs seems to have been by Boksenbom and Hood (1949). They introduced the matrix analysis method in the analysis of multivariable control systems and proposed the notion of non-interactive 8 Chapter 2 Literature Review 9 control, namely decoupled control. In spite of many studies on interaction analysis, no successful study of the measure of interaction appeared until Bristol (1966) introduced the relative gain method (RGM), popularized by Shinskey (1979). They defined a decoupling sensitivity. This sensitivity indicates how much error in a decoupler gain can be tolerated by a decoupled control system. An important feature of the RGM is that it is independent of the controller design, and less information about the control theory is required. Thus, a designer does not have to carry out detailed control system designs for processes. The output feedback control problem for weakly coupled linear systems has been studied by Petkovski and Rakic (1979) using a series expansion approach. Basically, their study is an effective method for analyzing a weakly coupled linear system. Manousiouthakis et al. (1986) extended the RGM to cases in which more than SISO (single-input singleoutput) controllers were considered and they developed the application of the RGM to the multivariable system. They call their approach " the block RGM ". In another study, Yu and Luyben (1986) described a method for determining the structure, variable pairing, and tuning of multiloop SISO controllers in a multivariable-process environment by using a negative RGM. The basic idea of Yu's method was to produce a stable, workable and simple SISO system. This idea today is still valid for most control system designs. Most research in multivariable control has been concerned with the decoupling of interactive loops using specially designed networks, with emphasis on the servo problem of decoupling the loops for changes in set point. Among the approaches to the decoupled control problem, three schemes have been recognized to be in a common framework: 1. The diagonal matrix method proposed and developed by Kavanagh (1958). The idea was to design a controller which produced an overall diagonal transfer function Chapter 2 Literature Review 10 matrix. If such a controller could be found, then the problem of multivariable control system design could be reduced to a number of single loop designs which could be carried out by the well-established classical control methods. 2. The state variable method employed by Falb (1967) and Gilbert (1969). This method was given a significant boost in the early 1970's by Wonham (1970), Francis (1975) and Wonham (1979). They showed that many of the standard problems of multivariable system design could be solved by this means in an abstract state-space setting. 3. Multivariable adaptive control algorithms, which appeared approximately 15 years ago, are still based on rudimentary theory. There have been a number of schools of study on such multivariable control theory. The research efforts have been vigorous. Several papers, for example Wolovich and Falb (1976), Elliot and Wolovich (1984), McDermott and Mellichamp (1984), Dickmann and Sivan (1985), Narendra (1986) and Chien et al. (1987), have been published. The original idea of the interactor matrix was proposed by Wolovich and Falb (1976) . The interactor matrix is a canonical model which can ensure the use of the minimum order of predictors for multivariable systems with time-delay. McDermott and Mellichamp (1984) studied a decoupling pole-placement self-tuning controller for MIMO processes with open-unstable behaviour. This approach is based on the concept of state. Some helpful discussions on stability robustness have been made by Dickmann and Sivan (1985). They arrived at the conclusion that the decoupling structure can improve system robustness. Chien (1987) discussed a new algorithm for a self-tuning controller with time-delay compensation (STC-TDC) for multivariable decoupling control problems. This approach employed multiple single-input/single-output self-tuning controllers but with a classical decoupling Chapter 2 Literature Review 11 scheme incorporated. Simulation studies utilizing two distillation column models showed that the controller could provide good control performance. In general, the state variable method and adaptive control algorithms belong in the modern control category. 2.3 Literature on Time-delay Compensation Control Time-delay is recognized as the most difficult dynamic element naturally occurring in processes (Shinskey; 1988). It is well known for the delay-free case that the use of negative feedback not only modifies system dynamics but also makes the system performance less sensitive to changes in process parameters. An ideal time-delay compensator was described by Smith (1957, 1958 and 1959). Smith proposed a compensation technique to eliminate the delay term in the closed-loop characteristic equation, which is known world-wide as the Smith Predictor. However, at an early date, Buckley (1964) pointed out that if the process deviates from the model, then Smith's time-delay compensator can lead to unstable or at least poorer control than is, generally achievable with a standard proportional plus integral controller. Again, Palmor (1980) noticed and explained in different ways that performance improvements by the Smith method can be very sensitive to model error, which means its robustness is very poor. Over the last 10 years, there has been a dramatic change in the design of time-delay compensators. Vogel and Edgar (1980) used a digital control method for time-delay compensation. This method, which is based on the digital control process, can improve the robustness of a time-delay system. Also, Vogel and Edgar (1980) developed the SISO adaptive time-delay compensator using Dahlin's control algorithm in the Smith Chapter 2 Literature Review 12 predictor structure. Lee and Lu (1984) proposed coefficient assignments which belong to the state-space feedback compensator. A modified Smith predictor was reported by De (1985) which is, in theory, physically realizable. Chandra et al. (1985) provided an ideal adaptive control method for time-delay compensation. Agamennoni et al. (1987) concentrated on an adaptive control scheme for a single-input single-output process with delays by using the Smith method with a dynamicfilterto improve the dynamic performance of the control system. More recently, a methodology for the identification of multivariable processes was developed by Shanmugathasan and Johnston (1988) that can achieve a higher level of controllability by considering a generalized multidelay compensator (GMDC). A simple heat recovery network provided a practical example of the application of Shanmugathasan's method. This method yielded a consistently better closed-loop response than existing compensators. Annraoi and Ruth (1989) designed a new modified Smith predictor for unstable processes with time-delay, but the problem of physical realizability has not been discussed. Liu (1989) presented a state-space method for multivariable decoupling with simultaneous time-delay compensation. The importance of the state vector is that, in the case of a deterministic system free of all unpredictable random effects, all future states are completely determined by an initial state and inputs to the system. All these works, no doubt, are important contributions to the input-output decoupling problem and process time-delay compensation. However, the design of advanced control algorithms usually requires the measurement of system states. In many practical applications, this is not feasible due to either the high cost of states measurement or the inaccessibility for measurement of some of the system states. On the other hand, if the application of a digital computer is not considered, hardly any modern control algorithms Chapter 2 Literature Review 13 are possible in industrial environments. 2.4 Literature on the CFSTR Process Control A study of the CFSTR process control was reported by Nakanishi and Nanbara (1981), who used a feedforward/feedback control system for both reactor temperature control and effluent concentration control. They also considered decoupling design in the feedforward loop and used a time-domain's multivariable Smith predictor in the feedback loop. Simulations confirmed that the dynamic characteristics of CFSTR with time-delays in the control variables could be improved. Mukesh and Cooper (1983) gave a brief review of the CFSTR control and used a partial simulation technique to study the dynamic behaviour of a CFSTR. Their study also involved the development of software for the simulation and control of a CFSTR system using a digital computer. Bartusiak et al. (1986) studied a nonlinear control structure for a CFSTR, and pointed out that a nonlinear controller could provide a better servo and regulatory response relative to linear temperature controllers tuned at different temperatures within the range of operating conditions. In fact, this method indicates that to some extent control system has good robustness. Nakanishi and Ohtani (1986) pointed out that the traditional procedure [Foster and Stevens, 1967; Bruns and Bailey, 1977; Ray, (1982)] based on a linear, time-invariant, delay-free model of the reactor dynamics cannot be justified for a practically useful control system design of a nonisothermal CFSTR with time-delay. They studied the effects of time-delay, interaction and nonlinearity involved in the mass balance and heat balance equations of CFSTR dynamics. For the purpose of improving the control performance Chapter 2 Literature Review 14 of the decoupling control system, a feedback control system with a Smith compensator was designed for an incompletely decoupled CFSTR. They gave little information on robustness. Kantor (1988) also studied a finite-state nonlinear observer and a nonlinear state feedback controller for an exothermic stirred-tank reactor operated in continuous mode. Simulation results showed that good performance of CFSTR process control could be obtained, but the effects of modelling error were not studied. Another control scheme using internal model control (IMC) was studied by Calvet and Arkun (1988). They applied IMC theory to a model of a CFSTR with a single firstorder exothermic reaction. This CFSTR simulation example illustrated the power of the nonlinear system design with an IMC structure for disturbance rejection and set-point tracking. Throughout their paper, nonlinear dynamic models were assumed to be available; robustness considerations, with regard to model errors, were not addressed. More detailed studies of CFSTR process control have been the subject of extensive discussions [See, e.g. Douglas (1972), Seborg and Edgar (1981), Stephanopoulos (1984), and Cinar et al. (1986)]. Nowadays, more effort is being invested in the design of adaptive control techniques with improved robustness properties, and some successful applications have already been reported, as for example, in temperature control systems for chemical reactors (Amhren, 1977 and MacGregor et al., 1984). Seborg et al. (1986) reported several applications of adaptive control in the chemical process control field. A review by Schnelle and Richards (1986) gave a comprehensive list of references, including difficult problems of industrial reactor control. From the above review, some conclusions can be drawn regarding the CFSTR process with decoupling as well as time-delay behaviour: Chapter 2 Literature Review 15 1. Theoretically, advanced multivariable adaptive control techniques for the CFSTR process have been made possible, using digital computer-based systems, though they are still being developed. Practically, many chemical processes involve complex reactions or transport operations that almost defy modelling of the adaptive structure. On the other hand, in process control, a universal complaint is the inability to measure key process variables, such as reaction rate. Therefore, although significant advances have been made in hardware design, the control algorithms used in conventional controllers are still not dying, in spite of all the advances made in control theory. 2. From a practical point of view, the most spectacular developments in recent years have been in robustness analysis. Information on physically realizable as well as robust control algorithms for decoupling design and time-delay compensation of the CFSTR process is somewhat scarce; there are only a few published articles. 3. Although all of the above approaches have the potential for better performance, some of tuning methods are usually not easy, causing difficulties in practice. It is fair to say that modern control algorithms may be used, but they usually require a great deal of effort by very skilled personnel and the support of an on-line computer system. As mentioned above, the major recent change in the process control field is the appearance and not very rapid acceptance by the user of direct digital control systems based on microprocessors. Therefore, physically realizable control algorithms will remain an exciting and practically important area of research for many years to come. Based on the above evidence, a good robust, physically realizable decoupling control structure as well as a time-delay compensator for the CFSTR process will constitute the Chapter 2 Literature Review main content of the present work. Chapter 3 Mass Balance and Energy Balance for a C F S T R 3.1 Basic Mathematical Equations Describing a CFSTR The continuous-flow stirred tank reactor consists of a well-stirred tank into which there is a steady flow of reacting material, and from which the reacted material passes continuously. Deriving a reasonable mathematical model is the most important part of the entire analysis and control of such a CFSTR. The two basic mathematical equations required to describe CFSTR performance are a macroscopic mass balance and an energy balance. 3.1.1 Mass Balance Equation Since the CFSTR contents are completely uniform with perfect mixing, a mass balance for the rate of change in the mass of reactant A within the reactor can be expressed as = Q(t)C (t)-Q(t)C{t) + i net ' * (2) ' ' (1) * (3) ' d reaction t (<) where V=reactor volume C(i)=concentration of reactant A in reactor Q(t)=volumetric flow rate C;(£)=inlet concentration of reactant A £=time The respective terms are as follows: 17 (3.1) V[t£j&] Chapter 3. Mass Balance and Energy Balance for a CFSTR 18 (1) net rate of change in the mass of reactant A within the reactor, (2) rate of increase in the mass of A due to its presence in the influent, (3) rate of decrease in the mass of A due to removal in the effluent, (4) rate of decrease or increase in the mass of A due to the reaction of A in the reactor. The last term on the right-hand side of Equation 3.1 will be assigned a negative value if it is assumed that the reaction of A within the reactor results in a decrease in the quantity of A. If the reaction of A within the reactor results in an increase in the quantity of A, a positive value should be assigned to this term. 3.1.2 Energy Balance Equation In an energy balance over a volume element of a chemical reactor, kinetic and potential terms may usually be neglected relative to the heat of reaction and other heat transfer terms. Assume no density changes and that specific heat does not change with composition. So, the energy balance for thefluidincludes energy lost to a cooling coil and heat release by an exothermic chemical reaction. It is Vp ^^dT = Q{t)PJ<T.m-Q{t)Pjc,T{t) m (2) ( 1 ) + (-AH)V ' ±h[T(t)} [ ^ ] * (3.2) reaction ( 4 ) (3) where p^=fluid density of the reacting mixture c =specific heat of the reacting mixture p T(2)=temperature in the reactor Ti(£)=inlet temperature Aif=heat of reaction (by thermodynamic convention, AH < 0 for exothermic reactions, so that a negative sign is attached to the heat generation term.) The respective terms are as follows: Chapter 3. Mass Balance and Energy Balance for a CFSTR 19 (1) accumulation of total energy, (2) the heat removed from the system through the difference in temperature between inlet and outlet streams, (3) heat generated by reaction, (4) h[T(t)] represents external heat addition or removal from the reactor. Heat Removal Driving Force: An energy balance for the heat transfer fluid gives h[T(t)} = Q {t) c [T (t) c Pc c cout - T (t)} (3.3) cin and the heat transfer rate between the heat transfer fluid and the reactor is h[T(t)} = A U[T(t) - T (t)} = A U[T(t) K c K - T (t) + T (t) 2 cin cout (3.4) where Ai^=heat exchange surface U=overall heat transfer coefficient T (£)=average coolant temperature c (5c(£)=coolant flow rate />=fluid density of coolant c c =specific heat offluidof coolant c T ; (£)=inlet temperature of coolant c n T (t)=out\et temperature of coolant cout Eliminating T (t) from Equation 3.3 and Equation 3.4 gives cout h[T(t)] = A U[T(t) K T (t) + Qc(t)pcCc + T {t) 2 cin cin (3.5) Chapter 3. Mass Balance and Energy Balance for a CFSTR 20 Rearranging, we get h[T(t)] = 2A U c Q {t)[T{t) K Pc c - c AU + K T (t)] (3.6) tin 2 c Q (t) Pc c c Substituting Equation 3.6 into Equation 3.2, we have VpjCy dT(t) g(r)p [r,(i) - T(t)} /Cp dt [^1] +(-AH)V reaction 2A U c Q (t)[T(t) - T (t)} A U + 2 c Q (t) K Pc c c cin K Pc c (3.7) c Reaction Rates: As is well known, chemical reactions may be classified in one of the following ways: (1) on the basis of the number of molecules that must react to form the reaction product, (2) on a kinetic basis by reaction order, or reaction mechanism. In control of the CFSTR, the latter classification is needed to describe the kinetics of the reaction process and to model the dynamic characteristics of the system. The relationship among rate of reaction (r), concentration of reactant (C), and reaction order (n) can be simply given by the expression n =0 dC(t) dt = reaction KC {t) n n =1 (3.8) n =2 where K is the reaction-rate constant which is a function of temperature. Arrhenius proposed that the effect of temperature on the reaction-rate constant in a chemical reaction may be described by Equation 3.9: Chapter 3. Mass Balance and Energy Balance for a CFSTR 21 K = j4 e ~*w (3.9) l P where A is the frequency factor, E is the activation energy of the reaction, R is the ideal r gas constant, and T is the absolute temperature of the reacting mixture. Now, substituting Equation 3.9 into Equation 3.8, and then substituting Equation 3.8 into both Equation 3.1 and Equation 3.7, we have = Q(t)[Ci(t) - C(t)] - V P f c ^p VA C {t)e -*rh n [ ] r (3.10) = Q(t)p c [Ti(t) - T(t)] f p +(-AH)VA C (t)e -^ n [ ] T 2A Up c Q (t)[T(t)-T (t)) K c c c cin AU + K 2 c Q (t) Pc c (3.11) c or = ^{Ci(t) - C(*)l - A,C(t)e^' (-AH)A C (t)e -mv n | l (3.12) ] r Pjc p 2A U c Q (t)[T{t)-T {t)] Vp c [A U + 2 c Q (t)) K Pc f 3.2 c p c K cin Pc c (3.13) c Transfer Function Representation of the CFSTR Response Controller design is not based on specific physical or chemical behavior, but on a set of Laplace transformed differential equations called transfer functions. In fact, transfer functions can only be used to characterize the input-output relationships of linear Chapter 3. Mass Balance and Energy Balance for a CFSTR 22 systems. It is a well-known fact that many relationships among chemical processes are not linear. In fact, a careful study of chemical systems reveals that even so-called "linear systems" are really linear only in a limited operating ranges. For this system mass balance Equation 3.12 and energy balance Equation 3.13 are nonlinear due to the reaction rate term (Equation 3.8). In general, in solving a new problem, a simplified model should be built so that a general feeling can be got for the solution. A more complete mathematical model may then be built and used for a more complete analysis. Local linearization appears to be reasonable since most chemical processes are operated at a constant steady-state condition for extended periods of time. Disturbances and changes from normal operating conditions will occur, but they usually have a low amplitude. This section presents a linearization technique applicable to the nonlinear equations of a CFSTR. In order to obtain a linear mathematical model for Equations 3.12 and 3.13, the following assumptions are made : (1) the variables deviate only slightly from the normal steady-state operating conditions; (2) all initial conditions are zero; (3) the output variables (or controlled variables) are C(t) and T(t), the input variables are Q(t) and Q {t), and the disturbance variables are C,-(2) and T,-(i); c (4) the inlet heat transfer fluid temperature T ,-„(i) has been controlled, i.e., T ,„(r.) = c c T ,- =constant. c n If the normal steady-state operating condition of the CFSTR corresponds to C , Qo, T , 0 0 and Qco, and steady-state values of the disturbance variables are defined as C,o and T; , 0 then Equation 3.12 and Equation 3.13, which are quadratic functions respectively, may be expanded into a Taylor series about these points ( see Appendix A ) and the higherorder terms may be neglected. The linear mathematical model of nonlinear Equation 3.12 in the neighborhood of the normal operating condition is then given by Chapter 3. Mass Balance and Energy Balance for a CFSTR dAC±t) = ^m -C } + [Ci0 23 ^[AC (t)-AC(t)}-AKC^-K nCr ^C(t) 1 Q i 0 Cio — Co '•AQ(t) V -[^ + K nCr ]^C(t) l Q RTQ +yAC,(0 (3-14) where = A e TO r KQ r For Equation 3.13, similarly i^B = ^ W 1 T j o _ r o (-AH)jAKCS | ^ l + | A + r j W _ A T ( i ) 1 K nCS- AC(t)} 1 0 PI P C 2A U c V c K Pc Pf A UAQ {t)(T - T ) {A U + 2 c Q y K 1 p c 0 K QcpATjt) A U + 2p c Q cin Pc c c0 K c c c0 (-AH)K nC -\ + 0 S c{t) Pf P C (-AH)CSEK Q + _ 2A U c Q K p^RT* l Pf 2 K [ C Vp c (A U J p K c V c (A U . 2A U P C (TQ 2 Pc c p +2 cQ ) K Pc — Tdn) w Q /.\ + 2 cQ y Pc c c0 i _ e0 V c U c c0 Qo V 1 ] A T ( ) U Chapter 3. Mass Balance and Energy Balance for a CFSTR 24 For simplicity, let <*o = y a ^ ^ (3.16) + KonCr (3.17) 1 «=W - (3 «a = f (3.19) h = = P l 1AJ71C "^ pjCyRTo 0 (3.20) 2A U c Q Vp c (A U +2 cQ ) 0 K 2 f p Pe c Qo V d0 K Pc c + c0 p \A K nCr 2= Hl 18) 0 . { . ' ( 3 2 ] 2 ) Pf°P _ P 3 2A\U* c {T -T ) V c (A U + 2 cQ y Pc Pf p c 0 K Pc cin c d0 Thus, Equation 3.14 and Equation 3.15 may be rewritten as + a AC{t) = a AQ(t) - a AT(t) dAC(t) dt x 0 + a ACi(t) 2 3 + p AT(t) = -p AQ(t) - p AC(t) - p AQ (t) + a AT,(*) x 0 2 3 c 3 (3.24) (3.25) Note here that the Laplace transform of a increment function will be defined by L[Af(t)] = F(s). Then, taking Laplace transform of each term in both Equation 3.24 and Equation 3.25, we obtain (s + a )C(s) = a Q{s)-a T(s) 1 0 2 + a C (s) 3 (3.26) i (s + p )T{s) = -POQ(S) - p\C{s) - /3 Q (s) + a T,(s) 1 3 c 3 (3.27) Chapter 3. Mass Balance and Energy Balance for a CFSTR 25 To simplify the mathematical expressions of the system equations, it is advantageous to use matrix notation. For theoretical work, the notational simplicity gained by matrix operations is most convenient and is, in fact, essential for the analysis and synthesis of a multivariable system. Therefore, Equations 3.26 and 3.27 can be described in matrix form by (a + Cti) Q ' C(s) ' 2 ct 0 T(s) 0 " Q(s) ' + . - f t - f t . . Qc(s) . C* 3 0 ' d{s) ' 0 C* 3 . Us) . (3.28) Then, by premultiplying by the inverse of the matrix in Equation 3.28, we obtain s+ 0i -0 C(s) -a s 2 2 a + Of! 0 0 ' Q(s) ' < .-ft -ft. T(s) <*o(s + 00 + a ft ct 0 0 a 3 ' C,-(*) ' 3 * Q(s) 2 -a 0 - 0 (s + c*0 -ftf> + a0 J [ Qc(s) o + Qc{»). a ft 2 P(s) . + 2 o ' Ci(s) ' az(s + 00 -a G!3 -a 0 0:3(5 + a ) 3 2 2 x (3.29) 4 where P(s) = s + (a* + 00^ + a \ - a ft 2 lP 2 (3.30) P(s) is the open-loop characteristic equation of the CFSTR system. According to Routh's stability criterion, all the coefficients in the characteristic equation must be positive. So, Qi0i > OJ02 2 (3.31) Chapter 3. Mass Balance and Energy Balance for a CFSTR 26 Figure 3.2 shows the open-loop model for the CFSTR in block diagram form. Figure 3.3 indicates the block diagram of the closed-loop control of the CFSTR. Also, Equation 3.29 can be expressed as " G(s) ' T(s) G (s) G (s) 1 [ Q(s) G (s) G (s) J [ Q (s) n 21 12 22 D (s) D {s) D (s) D (s) n + c 12 21 (3.32) 22 where G l l ( 5 ) Gu(s) = ° 2 1 { S ) p GM = D l l { 3 ) p 2 l ( 5 { p 1\ n 3.3 s (3.34) ) (3.35) s (3.36) ) (3.37) P(s) = Dn(s)= DM { P(s) = ^ (3.33) P(s) = ) - ( s (3.38) ) "302 - (3.39) P(s) p ( s (3.40) ) Time-delay Behaviour of the CFSTR Control System Figure 1.1 illustrates a CFSTR in which the contents are mechanically agitated. The essential feature is the assumption of complete uniformity of concentration and temperature throughout the reactor. So, the CFSTR represents the extreme case of back mixing or longitudinal dispersion. More specifically, the vessel will have a characteristic throughput time t and there will be a characteristic time for mixing, £ , . If the process time-delay is m x Chapter 3. Mass Balance and Energy Balance for a CFSTR 27 Figure 3.2: (a) Block diagram representing Equation 3.29. (b) A simple representation of (a). Gij and Dij are transfer functions of each channel; A' and J,j are the stead v-state gains of each channel; and are the dynamic gains of each channel. tJ Chapter 3. Mass Balance and Energy Balance for u CFSTR Figure 3.3: Closed-loop control system for the CFSTR, point and IT is the temperature set point. 28 Ic is the concentration set Chapter 3. Mass Balance and Energy Balance for a CFSTR 29 considered, the mass balance and energy balance are described as distributed parameter equations, which is beyond the scope of this study. So, consider the case i n which r , m x is much smaller than t, thus C F S T R then has perfectly m i x e d characteristics. O n the one hand, the m i x i n g time t i m x can be assumed to be small for an ideal C F S T R , b u t , on the other hand, the time-delay behaviour for a closed-loop control system can still occur because the time-delay of a measuring device is unavoidable even i f i , m x be zero, that is to say, a sensor's response is also a function of time. Therefore, from the point of view of process control theory, the feedback delay also implies that the C F S T R control system has time-delay behaviour. Time-delay is defined as the time interval between the initiation of an action and the first observation of a result. It is caused by transportation of material from the point of manipulation to the point of detection. T h e concentration control loop w i l l contain a time-delay, since the ions or molecules which are sensed by the measuring device must be transported to that point by a flowing stream. L i k e concentration control, the temperature control loop also has time-delay because heat is transferred b o t h by convection and by conduction, and it is impossible to transport heat from the wall of the vessel to the temperature sensor i n zero time. Time-delay can be measured and expressed i n Laplace transform form shown i n A p p e n d i x B . There is no attenuation or filtering for time-delay behaviour. Since time-delay does not change the magnitude or form of the signal, its gain is unity, and m a y be left out of any gain-product calculation. T h e feedback process containing time-delay produces no immediately observable effect; hence control action of the C F S T R is unavoidably delayed. For this reason, consider that the time-delay behaviour occurs i n the feedback channel. T h u s , the familiar mass control loop and energy control loop must next be modified to include the time-delay. T h i s modification is shown i n Figure 3.4 by the transport lag elements i n b o t h feedback Chapter 3. Mass Balance and Energy Balance for a CFSTR 30 loops. Finally, the closed-loop transfer function whose block diagram is shown in Figure 3.4 is expressed as: G n(s) G i2(s) " Ic(s) ' G (s)_ I (s) _ c C(s)' c . G (s) c21 c22 ' C (s) ' + t . Dc2i(s) T E> 2 (s) _ C 2 Pc{s) T(s) (3.41) where G n(s) = [1 + e- R (s)G22(s)]Rc(s)G (s) - e- R (s)R (s)G (s)G2x(s) (3.42) Gcii(s) = [1 + e- 'R (s)G22(s)]R (s)G 2{s) - e- R (s)G 2(s)G22(s) (3.43) G i(s) - e-^R (s)G (s)G2i(s) (3.44) - e-^ Rc(s)R (s)G (s)G2i(s) (3.45) TT3 e T TTa 11 c TT T c2 T rT3 1 Tca c P (s) = c c 11 1 c a 2 2 2 1 G 2 (s) = [1 + e-^ R (s)G (s)}R (s)G22(s) C l2 T = [1 + e- Rc(s)G (s)}R (s)G2 (s) 11 T 11 a T T 12 [l+e- R (s)G (s)][l+e- R ( )G22(s)}-e-^ ^ Tca TTa c 11 +T T S (3.46) r c is the time-delay of concentration feedback, rx is the time-delay of temperature feedback, Rc(s) is the transfer function of effluent concentration controller, RT(S) is the transfer function of reactor temperature controller, Ic(s) is the concentration set point, IT( ) is the temperature set point. S Details for Equations 3.42, 3.43, 3.44, 3.45 and 3.46 are provided in Appendix C. Clearly, if the decoupling design and time-delay compensation are not considered, Equation 3.41 will result in a complex control algorithm. Figure 3.4: Closed-loop control system for the C F S T R with time-delay Chapter 4 Determination of Interaction Degree of Two Control Loops 4.1 Interaction Behaviour of a CFSTR It is important for a CFSTR control system designer to be aware of the effects of the parasitic modes of the system even though they are not explicitly modelled. A related effect occurs when simplified models are used to design controllers for complex systems in which several variables are to be controlled. When a change in one loop's manipulated variable causes a change in some other loop's controlled variable, the control loops are said to be coupling. If, in addition to the coupling from the first loop to the second loop, there is coupling from the second loop back to thefirstloop, then interaction exists. In the CFSTR of Figure 1.1, the reactor temperature T(t) and effluent concentration C(i) are used as the controlled variables while the cooling water flow rate Q (t) and c stream flow rate Q(t) are manipulated variables to regulate T(t) and C(t), respectively. Equations 3.26 and 3.27 form the basic model of a CFSTR process control system. At first glance, Equation 3.26 seems to be uncoupled from the heat exchanger system, but the temperature variable in Equation 3.27 is a function of concentration C(t), coolant flow rate Q (t), and initial temperature T,(t). Therefore the input variables, Q (t) and c c T{(t) for the reactor temperature subsystem appear in the mass balance Equation 3.26. Stephanopoulos (1984) has described interaction for a CFSTR in dynamic operation. The concentration feedback control loop can compensate for changes which are caused by variations in either inlet concentration C,(r) or the desired effluent concentration C(t), 32 Chapter 4. Determination of Interaction Degree of Two Control Loops 33 or both of them. The controller Rc in the feedback control will regulate for these changes by manipulating the feed flow rate. However, this change in the feed rate also disturbs the reactor temperature. The temperature feedback control loop attempts to compensate for the change in temperature by varying the coolant flow rate, which in turn effects the effluent concentration. On the other hand, attempts to compensate for changes in feed temperature or the desired set point of reactor temperature, may also causes the effluent concentration to vary. Then the concentration loop attempts to compensate for the change in effluent concentration by varying the feed rate, which in turn disturbs the reactor temperature. This interaction can cause oscillations and even instability. 4.2 4.2.1 Bristol Method Introduction The control loops of a CFSTR control system can not be considered separately because of the existence of coupling. Thus setting the controller's parameters to produce good control always becomes a difficult problem. Interaction analysis can help provide answers to the following questions: (1) Can the degree of interaction be determined analytically? (2) Is there any possibility that the interaction can be neglected? or, can a CFSTR be designed to be easily controllable ? (3) What is an ideal or simplified decoupling control design? (4) What is the effect if the decoupling model is in error? 4.2.2 Definition of the Relative Gain By for the most important, practical, and widely used interaction analysis technique is the relative gain array (RGA) proposed by Bristol (1966) who offered an attractive means Chapter 4. Determination of Interaction Degree of Two Control Loops 34 of avoiding complex analysis of a multivariable system. The chief advantages of the RGA approach are that it is easy to use and only requires a crude process model, namely, the process gains which can be determined from steady-state information. Before taking up the subject of the RGA analysis for the CFSTR system, it is necessary to review some definitions of the RGA. Bristol defined a set of open-loop gain coefficients F{j and closed-loop gain coefficients Sij for a multivariable system, where subscript i refers to the controlled variable and subscript j to the manipulated variable. Now, consider a 2 x 2 system (see Figure 4.5), the definitions of Fij are as follows: (4.47) M2=conatant F\2 — F dM dY = 21 (4.48) Mi=constant 2 (4.49) 2 M2=constant F = 22 dY dMo (4.50) 2 Ml =constant where Mj is a manipulated variable and Y{ is a controlled variable. The definition of Sij is the open-loop gain evaluated with all other controlled variables constant (see Figure 4.6). Expressions are as follows: (4.51) Yi=con3tant S\ — 2 8Yi dM 2 S21 = dY (4.52) Y2=constant (4.53) 2 Yl=constant Chapter 4. Determination of Interaction Degree of Two Control Loops m_ S22 — dM 35 (4.54) Yi=constant 2 The relative gain for the assumed pairing is defined as the ratio (4.55) Sn A12 S12 (4.56) A21 F21 S21 (4.57) A2 F22 S22 (4.58) 2 G\2 Mo Figure 4.5: Open-loop of a 2 x 2 system, G22 G,j is the transfer function of each channel. Chapter 4. Determination of Interaction Degree of Two Control Loops 36 So, the relative gain is often written as 8Yi J dYi dM \M=constant Y ^constant Fa (4.59) Xij in this case is the measure of interaction of four channels in a 2 x 2 system. Arrange the four relative gains into a matrix form, which is known as the relative gain array (RGA). M M x 2 Y An A12 Y2 A21 A22 1 (4.60) One property of the relative gain array is the relative gains in each column and row add up to unity (See Appendix D), that is An + A12 = 1 A21 + -^22 = 1 ^11 + ^21 = 1 A12 + A = 1 22 37 Chapter 4. Determination of Interaction Degree of Two Control Loops Figure 4.6: Determination of closed-loop gain for a 2x2 system, /^and R are controllers. Ii and I are set-points, (a) Determination of S and S ; (b) Determination of S i and 2 2 S 22 n ' 12 2 Chapter 4. Determination of Interaction Degree of Two Control Loops 4.2.3 38 Interpretation of the Relative Gain Value The relative gain An represents all the information about the interaction in a 2 X 2 interacting process. If A is known, the other three relative gains can be determined. n This is an important property of the relative gain matrix for a 2 x 2 system (Details are provided in Appendix D), An can take on any value. • If An < 0, then Mi cause a strong negative effect on Y\. In this case, the interaction effect is very dangerous. • If An = 0, then Y\ does not respond to M\ and M\ should not be used to control • If An = 0.5, then interaction between the two loops is the same. • If An = 1> then a 2 x 2 system has two noninteracting control loops, i.e. either loop does not affect the other loop. • If An ^> 1, then both variables cannot be controlled at the same time. In order to understand the value of An as a measure of interaction in a 2 x 2 system, Shinskey ( 1979 and 1988 ) presented several figures for different values of An which illustrate the change of the system's dynamic characteristics in open and closed loop step response due to an interaction effect. These figures are duplicated as Figure 4.7, Figure 4.8, Figure 4.9, and Figure 4.10. Experience has shown that if An falls between 0.7 and 1.5 (McAvoy, 1983), then the channel M\ —• Y\ (or M —• Y ) is influenced only slightly 2 2 by other channels, that is to say, the interaction can be neglected. Chapter 4. Determination of Interaction Degree of Two Control Loops time Figure 4.8: Step response of loop 1 closed for a 2x2 system with A = n Chapter 4. Determination of Interaction Degree of Two Control Loops 0 time Figure 4.10: Step response of loop 1 closed for a 2x2 system with A = n Chapter 4. Determination of Interaction Degree of Two Control Loops 4.3 41 Determination of the R G A for the CFSTR 4.3.1 Determination of the Open-loop Gain Coefficient of the CFSTR The open-loop gain coefficient is nothing else but the steady-state gain K~ij of the channel (a manipulated variable —»• a controlled variable) when only this channel is under operation and other channels are open. So, for Q(t) -> C(t) dC_ dQ Q =constant (4.61) ~ c a 2& for Q (t) -> C(t) c dC dQ c for Q(t) - (4.62) Q=co sta t n - 2^2 Q n T{t) dT F n (4.63) ~ d Q Q =constant <*& c ~ for Q (t) -» T(t) c F22 = dT dQ c Oil 03 (4.64) Q=constant By the principle of superposition, the system output is a sum of all input effects. So, writing Equations 4.61, 4.62, 4.63, and 4.64 in matrix form gives ' dC ' dT ' F n F ' 12 _ F21 F22 ' dQ ' dQ c (4.65) Chapter 4. Determination of Interaction Degree of Two Control Loops 4.3.2 42 Determination of the Closed-loop Gain Coefficient of the CFSTR From the definitions given in Equations 4.51, 4.52, 4.53, and 4.54, the method for determining the closed-loop gain coefficients is easier said than done. For most processes, to measure a gain in one channel while the other channel outputs always remain constant is out of the question. The study reported in this section is an attempt to determine the closed-loop gain coefficients from the open-loop gain coefficients. From Figure 4.11, consider a change in the manipulated variable Q(t) which is the compound result of effects from changes in the controlled variables C(i) and T(t), then dQ = L dC n + L dT 12 (4.66) Figure 4.11: Determination of the manipulated variable Q(i) from controlled variables C(t) and T(t). Chapter 4. Determination of Interaction Degree of Two Control Loops 43 Similarly, Q (t) is also the compound result of changes to C(t) and T(t) (See Figure c 4.12). Then dQc = L dC + L dT 21 where Lu, L , L \ and L i2 2 22 (4.67) 22 are assumed channel gains. The d quantities refer to the value of the increment. Figure 4.12: Determination of the manipulated variable Q (t) from controlled variables C{t) and T{t). c Chapter 4. Determination of Interaction Degree of Two Control Loops 44 If dT = 0, we have dC dQ 1 L Tzzconstant DC (4.68) n 1 (4.69) T=constant L21 If dC = 0, we have dT dQ dT dQ (4.70) 1 C=constant L12 c (4.71) 1 C=constant L22 the definitions Equations 4.68, 4.69, 4.70, and 4.71 are just of the closed-loop gain coef- ficients. By the principle of superposition, the matrix form of Equations 4.68, 4.69, 4.70 and 4.71 is as follows: " dQ ' _dQ ' L n L\2 ' dC ' L21 L22 c (4.72) dT Eliminating dQ and dQ from Equation 4.65 and 4.72 gives c ' dC ' dT ' F _F F2 21 ' de' ' Ln L\2 F,2 ' n dT L21 L22 2 (4.73) So ^12' ' _ ^21 F22 _ L\2 1 0 L21 L22 _ 0 1 L n (4.74) Solving for TJn, L , L \, and L22 from Equation 4.74 i2 2 Ln = F22 F11F22 — F12F21 L\2 = - ^12 F\\F 2 — F12F21 2 (4.75) (4.76) Chapter 4. Determination of Interaction Degree of Two Control Loops Ln = L22 = 45 (4.77) 2 1 F F (4.78) n p F -T11-T22 — -^12-^21 Therefore, the closed-loop gain coefficients are S n 1 Ln = = F F -F F r U 12 1 Li FF n 22 2 o ^ FF 1 L = ( 4 ? 9 ) - ^12^21 t\ ,. ^ (4.80) o n 2 1 U S21 = — = s 21 22 S =— = 12 22 = 22 - Fi F i 2 22 2 - (4.81) F 2-F F rn llF2 l2 2l { 4 8 2 ) Then, A which is defined as the relative gain of channel Q(t) —» C(t) is found to be: n \ - i n . FnF <->ll ^11-^22 — -^12^21 22 Now, substituting Equations 4.61, 4.62, 4.63, and 4.64 into Equation 4.83, we get A _ -(ftoffi + a A))o:i/?3 _ [-("oft + <* A)K/?3] + [ ^ A ^ o A . + c*iA))] Qi(a /3i + Q / ? Q ) = «o(ai^i - "2^2) ctQCtiPi + aiQC20o a T 1 1 2 2 0 2 /A QA\ (- ) 4 84 Now, a simple yet important expression for the analysis of interaction of CFSTR has been derived as Equation 4.84. It has been shown how that the relative gain value An depends on the process parameters. At first glance, the relative gain value A is seen to be greater than or equal to one n because all parameters (o,- and /?,) are greater than zero and and 0*2/6*2 are subject to the inequality (Equation 3.31) constraint. An interaction analysis is presented in which the relative gain value An is a function of Chapter 4. Determination of Interaction Degree of Two Control Loops 46 both the system design parameters and the process parameters which influence to a large degree the interaction between the two control loops. The next section will illustrate two examples which indicate that the relative gain of a CFSTR responds to the system design parameters and to the process parameters. 4.4 Illustrative Examples Example 1: As an example of a nonisothermal CFSTR, consider the design given by Douglas (1965, 1972). The values of the design parameters are given in Table 4.1 (page 50). Despite the fact that this does not correspond to a case where there is an optimum noninteracting design for a two-variable control system, it does provided a set of classical parameters for a general study. According to Table 4.1 and Equations 3.16, 3.17, 3.18, 3.19, 3.21, and 3.22, the parameters ao, ai, ai, 0o 0i) and 02 can be found as 5 a = —— + 0.4145 = 0.4245 x 27000 x 15.31 x 10" x 28000 x 0.415 1.987 x 460.91 5 2 2 x 10 x 5 1000(10 + 2 x 5) 10 = 0.129 1000 02 = 27000 x 0.415 = 11205 then QI(QQA + QaA)) <*o(o;i/?i - a 02) Aii 2 0.4245(6.347 x 1Q- x 0.129 + 4.215 x 10~ x 0.1109) 6.347 x 10"(0.4245 x 0.129 - 4.215 x 10" x 11205) 6 6 = 11.3 6 6 Chapter 4. Determination of Interaction Degree of Two Control Loops 47 Evidently, the calculation of A is not difficult. In this example, A is much greater u n than one. Therefore, when the designer is confronted with the control of both the effluent concentration and the reactor temperature, he or she should introduce a design of decoupling control. E x a m p l e 2: Another example is quoted from Nakanishi and Ohtani (1986). The design specifications for steady-state operation of their CFSTR are given in Table 4.2. In this case, the average coolant temperature is given as 301°K, while the inlet coolant temperature was not given. Assuming the average coolant temperature T ctn = 20°C — 293.15°/^, the relative gain may be calculated. ao = o "!n°I 2x 10 -3 = 1965 <*i = o ,! , + 0.186 = 0.0236 2 x IO 1.07 x 0.0186 x 9.41 x 10 8.314 x 336.1 336.1 -301 10 -3 4 2 2 4.18 x 10 x 1.07 x 9.41 x 10 x 0.0186 ~ 10 x 4.18 x 8.314 x 336.1 2 x 5.67 x 10 x 1.78 x IO" 2 x 10(5.67 x 10- + 2 x 10 x 4.18 x 1.78 x 10 ) 10" 2 x IO" = 0.0202 4 ^ 4 3 2 3 3 3 7 3 s + 3 H 2 4-18 x 10' X 0.0186 1000 x 4.18 then _ 1 1 ai(a ft + 0 a Po) 2 ao(aift - a f t ) 2 -7 Chapter 4. Determination of Interaction Degree of Two Control Loops 48 0.0236(1965 x 0.0202 + 0.00199 x 17550) 1965(0.0236 x 0.0202 - 0.00199 x 0.1864) = 8.5 Relatively speaking, although A n in this case is smaller than the one in the previous example, its value is still greater than 1.5. For the decoupling compensation design (see Chapter 5), we will find that the smaller A n , the better the compensation performance. 4.5 A Few Comments on Interaction Analysis The purpose for deriving Equation 4.84 was to obtain an exposition and overview of the interaction analysis from the process designer's point of view; that is to say, Equation 4.84 gives an expression with which the interaction in the C F S T R control process can be calculated. It is a simple algebraic operation for a process designer to find the degree of interaction by substituting all the system parameters into Equation 4.84. If the relative gain value is greater than 1.5, it means the interaction between the temperature control loop and concentration control loop cannot be neglected. Thus decoupling will be necessary. On the other hand, it is important to realize that Equation 4.83 and Equation 4.84 are merely two different ways of expressing precisely the same relations, one using open-loop gains, the other the system parameters. Equation 4.83 has practical signif- icance because the relative gain can be determined directly from measurements of all the open-loop gains and a designer needn't have any knowledge of the C F S T R process parameters. Except for certain applications where any interaction cannot be tolerated, it is desirable that the degree of interaction be sufficiently small, or the relative gains ( A and A22) of n the main channels should tend to one. For a C F S T R process, a desirable relative gain value must fall within the range from 0.7 to 1.5. In fact, as was mentioned previously, the relative gain value for a C F S T R is always greater than or equal to one for all system Chapter 4. Determination of Interaction Degree of Two Control Loops 49 parameters. System parameters and design parameters in general are constrained by process demand. Therefore, a desired relative gain value and the needed process design parameters sometimes conflict with each other. In other words, there is only limited possibility that while designing a CFSTR process, a designer can pay attention to reducing the interactive control behaviour by changing the design parameters within the limits of the design objectives. Therefore, it should be emphasized here that the system design, which can deal with the reduction of interaction in the control of a CFSTR, rather than with the decoupling design, depends on the process properties with respect to the process design requirements. Derivation of the relative gain Equation 4.84 represents afirststep in the study of interaction analysis of a CFSTR. Decoupling conditions and decoupling stability will be studied in the next chapter. Chapter 4. Determination of Interaction Degree of Two Control Loops Parameter Description 50 Nominal value Unit V Volume of reactor 1000 cm Ti Inlet temperature of feed 350 K Inlet temperature of coolant 340 K Frequency factor 7.86xl0 n Reaction order 1 E Activation energy 28000 cal/mol Heat of reaction 27000 calf mol Gas constant 1.987 calf (mol • K) Heat transfer conductance 10 cal/(s • K) Pc Fluid density of coolant 1.0 kg/cm c Specific heat of fluid of coolant 1.0 cal/(kg • K) PJ Fluid density of feed 1.0 kg/cm Specific heat offluidof feed 1.0 cal/(kg • K) CiQ Steady-state inlet concentration of feed 0.0065 mol/dm Co Steady-state effluent concentration of feed 15.31xl0" mol/dm To Steady-state temperature in reactor 460.91 K Qo Steady-state feed flow rate 10 cm js QcO Steady-state coolantflowrate 5 cm /s T - cm 3 1 A r -AH R AU K c C P s- 12 1 3 5 3 3 3 3 3 Table 4.1: Steady-state operation condition of a CFSTR, copied from Douglas (1965). Chapter 4. Determination of Interaction Degree of Two Control Loops 51 Parameter Description Nominal value Unit V Volume of reactor 2 x IO m Ti Inlet temperature of feed 301 K Inlet temperature of coolant 293.15 K A r Frequency factor 7.86xl0 n Reaction order 1 E Activation energy 9.41 x 10 kj/kmol -AH Heat of reaction 4.18 x 10 kJ/kmol Gas constant 8.314 Heat transfer conductance 5.67 x 10~ Fluid density of coolant 1 x 10 Specific heat offluidof coolant 4.18 Pf Fluid density of feed 1 x 10 c Specific heat offluidof feed 4.18 Cio Steady-state inlet concentration of feed 5 kmol/m Co Steady-state effluent concentration of feed 1.07 kmol/m T Steady-state temperature in reactor 336.1 Qo Steady-state feedflowrate 1 x IO" QcO Steady-state coolantflowrate 1.78 x IO" T cin x R AU K Pc C c p 0 -3 s- 12 4 4 3 1 kJ/(kmol-K) kJ/(s • K) 3 kg/m 3 3 U/{kg • K) kg/m 3 3 U/(kg • K) 3 3 K m /s 5 3 7 m /s 3 Table 4.2: Steady-state operation condition of a CFSTR, copied from Nakanishi and Ohtani (1986). Chapter 5 Decoupling Design for the CFSTR 5.1 Introduction The aim of the decoupling design is to find a compensation network for overcoming the interaction naturally existing in the C F S T R process. If perfect decoupling is achieved, a change in set point for one variable will only effect the controlled variable associated with that set point, and all other controlled variables will be unaffected. The theoretical problems associated with the decoupling design are usually solved by the diagonal matrix method. On the other hand, there are two kinds of schemes for the decoupling configuration. One is the ideal decoupling design in which the decoupled system is just the original system without coupling channels. Another is the simplified decoupling design. Generally speaking, the advantage of simplified decoupling is that the decouplers are always physically realizable. In this chapter, the ideal decoupling design will be discussed briefly because it has been tried with some chemical process simulations and has proven to be very sensitive to modelling errors ( Weischedel and McAvoy, 1980; and McAvoy, 1981.). In this chapter attention will be paid to both simplified decoupling design and the modelling error analysis by applying the relative gain method. 52 Chapter 5. Decoupling Design for the CFSTR 5.2 53 Ideal Decoupling Design The fundamental problem in designing multivariable feedback controllers lies in the interactions which occur between the various input and output variables. If a system had no coupling between variables and the number of control variables equalled the number of outputs to be controlled, then the system in the transform domain would have a diagonal open-loop transfer function. Ideal decoupling design permits a decoupled process to behave as if the original interaction channels were not present, i.e., the response of each control loop is independent of all other control loops. Figure 5.13 shows a block diagram for the ideal decoupling of a CFSTR control system. The open-loop transfer matrix relating [ C(s) T(s) ] C(s) G (s) G (s) N (s) A*) G i{s) G (s)\ [ N (s) u 12 2 and [ Mc(s) Mx(s) ] N (s) u 22 -1 _1 is M (s) 12 c N (s) J [ M (s) 21 22 T G (a)N {s) + G (s)N (s) G (a)N (s) + G (s)N (s) M (s) G (s)N (s) + G (s)N (s) G (s)N (s) + G (s)N (s) M (s) 11 11 21 12 n 22 21 u 21 13 21 12 12 22 22 22 c T (5.85) where Nn{s), Ni (s), N i(s) and N (s) are decoupling compensators; Mc(s) and MT{S) 2 2 22 are output variables of the controller Rc(s) and the controller RT(S), respectively. For ideal noninteraction, define G (s)N (s) 11 11 + G (s)N (s) 12 21 = C7 (s) n (5.86) G (s)N (s) + G (s)N {s) =0 (5.87) G {s)N (s) + G (s)N (s) =0 (5.88) = G {s) (5.89) 21 11 u u G (s)N (s) 21 12 22 21 12 22 + G (s)N (s) 22 22 22 Chapter 5. Decoupling Design for the CFSTR 54 Figure 5.13: A block diagram for ideal decoupling system of the CFSTR. N (s), N i{s) and N (s) are decoupling compensators. n 2 N (s), 12 22 Equation 5.86 and Equation 5.87 can be rewritten in matrix form as Gn(«) GM GM ' ' N (s) ' G (s) N (s) n 22 ' G (s) ' n (5.90) 0 2l then ' G (s) ' G (s) -GM -G (s) 21 NM G (s)GM n 22 G„(a) 0 {s)G {s) 2 2l n -G (s)GM . G (s)GM-G (s)GM n 11 l2 (5.91) For Equation 5.88 and Equation 5.89, similarly, GM GM GM G (s) 22 NM ' NM 0 G (s) 22 (5.92) Chapter 5. Decoupling Design for the CFSTR 55 then G (s) -G (s) 22 N (s) ' 12 N (s) . . -G (s) Gn(s) 21 12 22 11 22 22 G (s)G (s)-G (s)G (s) 21 12 22 G {s)G {s) . G (s) - G (s)G (s) G (s)G (s) 11 -G (s)G (s) 0 12 n 22 12 21 22 (5.93) Therefore N (s) G (s)G (s) n = N (s) u 22 22 G (s)G (s) n - 22 G (s)G (s) l2 G (s)G (s) G {s)G (s)-G {s)G {s) N (s) = 12 12 11 22 (5.95) 22 12 21 G (s)G (s) Gu(s)G (s) - G (s)G (s) N (s) = n 2l (5.94) 21 21 22 12 21 ( 5 - 9 6 ) Obviously, not only are four compensators needed for ideal decoupling, but also their structures are not simple, and they may be very difficult to design. In many cases, they are not physically realizable if the model order is high. For this reason, another basic approach to algorithmic decoupling design will be discussed in the next section, namely simplified decoupling. 5.3 Simplified Decoupling Design If both Equation 5.87 and Equation 5.88 can be satisfied, the transfer function matrix in Equation 5.85 can still be a diagonal matrix. Thus, the system is uncoupled since the controller's output variable Mc(s) has no effect on the controlled variable T(s) and the other controller's output variable MT(S) has no effect on the controlled variable C(s), either. Therefore, the process will be decoupled. The conditions for simplified decoupling are as follows: G (s)N (s) + G (s)N (s) = 0 G (s)N (s) + G (s)N (s) = 0 21 11 u 12 22 12 21 22 Chapter 5. Decoupling Design for the CFSTR 56 Figure 5.14: A block diagram for a simplified decoupling system of a C F S T R Now, letting N (s) = N (s) = 1 n (5.97) 22 and by defining N\ (s) and N \(s) as 2 2 *,(.) = (5-98) only two decoupling compensators are needed. Figure 5.14 shows the block diagram for a simplified decoupling system of a C F S T R . Substitute Equations 3.33 and 3.34 into Equations 5.98 and substitute Equations 3.35 and 3.36 into Equation 5.99, and rearrange to obtain * M - T H & 3 a a i <5 ' 101) 57 Chapter 5. Decoupling Design for the CFSTR the two steady-state gains of N (s) and N (s) are identified as k and k i, then i2 2i i2 2 *»=- "" »° - -k wl ^22 • - S T O O CtlP3 For the concentration main channel Mc(s) —* C(s), we have Gn(s) + G (s)N (s) 12 = 21 [ _ ] [ _ _ _ _ _ _ ] (s + cti)[ct (s + p ) + ct p } - a [a p 0 x 2 0 2 0 + Pojs + )] 2 ai P(s)[(s + )] ai a [s + (ai + /?i)s + apSi - Q /3 ] 2 0 2 2 (5.104) 5 +Cti and for temperature main channel Mr(s) —» T(s), we have G (s)N (s) 21 12 + G (s) 22 - -[ ^ ] + A ) + - /5o W ] + 2 P(s) - a / 3 [ a / 3 + Pojs + Qi)] + p {s + cti)[ao(s + Pi) + mPo] 3 2 0 2 3 'P{s)[a (s + p ) + a p ] 0 a p [s 2 0 3 + (cv! + 1 2 0 + ai^! - a p ] 2 2 P(s)[cx (s + PJ) + a p ] 0 a p3 <*o(s + 0Pi) + CX2P0 2 0 (5.105) From Equations 5.100, 5.101, 5.102 and 5.103 just derived, a block diagram of a CFSTR can be drawn, as shown in Figure 5.15(a). Simplification of this block diagram results in Figure 5.15(b). Chapter 5. Decoupling Design for the CFSTR a a M 0 c s — + «i — a {s+ (3 ) + a /3 0 } 2 Q b Figure 5.15: (a) A block diagram of a decoupled C F S T R system, with superficial noninteractive behaviour. (b) A Chapter 5. Decoupling Design for the 5.4 CFSTR 59 Analysis of Modelling Error by the R G M As described above, classical decoupling design requires that the dynamics of the CFSTR process be known, either in terms of differential equations or transfer functions. However, in many cases, detailed dynamic studies are not feasible, or they may not be worthwhile because of uncertainty regarding the proper form of the objective function to be used in designing the decoupling network or controller action. For this reason, improving the robustness of the decoupling system will play an important part in a CFSTR process control design. It should be pointed out that the relative gain method is still applicable to the analysis of the decoupling system design. Now, consider the open-loop gain coefficients Fijd of the decoupled CFSTR system, as shown in Figure 5.16. M c c Fd U Fu 2 Fnd Mr F 2d 2 1 + K + l2 K22 Figure 5.16: (a) The open-loop gain coefficients F^d of the decoupled CFSTR system, (b) The steady-state gain of each element in the open-loop decoupled CFSTR system. Chapter 5. Decoupling Design for the CFSTR 60 for M {t) -> C(t) c Fiw = Ku + hiKi2 = F + k F u 21 12 (5.106) for M {t) -> T(t) c 21 + fc l#22 = ^21 + ^21^22 (5.107) =K 12 +k K =F + k F (5.108) =K 22 +k K ^12d = K 2 for M (t) -» C(*) T F 2U 12 n 12 12 n for M (r) -+ T(t) r F 22d 12 =F + k F 21 22 12 21 (5.109) According to Equation 4.83, the relative gain of the decoupled system of the CFSTR, which is identified as And, can be inferred as follows: FiuF d F\\dF — F F i And = 22 22d 12d 1 21( 11 (5.110) (Fu+fc2li i2)(F22+fcl2F2l) ; Obviously, if k = 12 (5.111) Fi n k = (5.112) 2l ^22 then And = 1; this is a perfect noninteracting system. Consider the "worst case" possibility, which can drive the system out of control, that is to say, And —* oo. Clearly, the condition which And tends to infinity is when the denominator of Equation 5.110 tends to zero, or (F 21 (F n + k F )(F + k F) + k F )(F + k F ) 21 n 22 12 12 22 l2 12 n 21 1 (5.113) Chapter 5. Decoupling Design for the CFSTR 61 From Equation 5.111 and Equation 5.112, if k k 12 =1 2i (5.114) then substituting above Equation 5.114 into the denominator of Equation 5.110, we get (F + k F )(F + k F) F\ F i (F + k F )(F + kF ) ^12^21^12-^21 + &12 ^11-^21 + 21 n 21 21 22 12 12 22 12 l2 2 u 21 + k FnF i 2 i2 2 F\ F \ + k\ F\\F \ Fi2F \ + ki F F i 2 2 2 2 = 2 2 u 2 + h\Fi F 2 22 + ki k iF F 2 2 hiFi F + + k \F\ F + FnF + k Fi F + FF 2 21 2 2 2 22 22 22 u 22 FF U 22 22 U 22 1- 1 = 0 (5.115) So, the relative gain \ - — > oo. It should be noted that although, in theory, the interacU a tive behaviour of a CFSTR can be compensated for by the diagonal matrix method, in practice, the modelling error can still make the decoupled system deviate from the optimal state so that the CFSTR process goes out of the control. Therefore, it is necessary to improve the decoupling design in order to make the system performance more stability. 5.5 Error, System Stability, and Robustness The aim of stability analysis is to find bounds on the decoupling modelling error that leads to divergence of the CFSTR process. Let t and e be two compensation factors for x 2 decoupling elements iV and JV , respectively. The modelling compensation factors rep12 21 resent the errors associated with the model mismatch between the interactive behaviour of the CFSTR and the decoupler. Rewriting Equation 5.111 and Equation 5.112 as = -ei§^ (5.116) hx = -zJ^Jr (5.H7) fci 2 f 22 Chapter 5. Decoupling Design for the CFSTR 62 If ej = e = 1, this is the condition for perfect decoupling. 2 If fci2&2i = 1, then eie = — — (5.118) 2 ^12-^21 and the CFSTR system is out of control because A f —• oo. This is the condition 11( which indicates that both the effluent concentration variable and the reactor temperature variable cannot be controlled at the same time. As mentioned in Chapter 4, the original relative gain value of the CFSTR process is •^11-^22 WW ~ i 1 Substituting Equation 5.118 into Equation 3.119, we obtain A n = ~p p i' i>22 ~ 11 (5.119) ^12^21 An = jw^: eie ( - °) 5 12 2 Therefore eie = (5.121) 2 A n — 1 Equation 5.121 indicates that under the unstable condition, the modelling compensation factors depend on the original relative gain value. As is well known, a model of a realistic CFSTR process is seldom completely known and, if known, it is seldom linear. Local linearization, as described in Chapter 3, forms the basis for most of the currently applied control theory; but unfortunately, it allows good performance only for small departures of the operating variables from their nominal trajectories. In most cases, the main reason for the control problems associated with an unstable process is uncertainty which can lead to modelling error. Uncertainty in a CFSTR process model may have three origins. (1) There are always parameters in the linear model which are only known approximately. (2) The parameters in the linear model may vary due to nonlinearities or changes in the operating conditions. Chapter 5. Decoupling Design for the CFSTR 63 (3) Outside disturbances can effect the process parameters. Therefore, from the viewpoint of control engineering, the decoupling design should consider that the error in the original relative gain value, An can vary within the limits of the objective conditions. Now, consider two different cases: overcompensation and undercompensation. To simplify the algebra and avoid complicated computations, let the two compensation factors be the same, i.e., e\ = e = e. Thus, for overcompensation, the 2 compensation factor e is greater than one; and for undercompensation, the compensation factor e is less than one. 5.5.1 Overcompensation of Interaction In this case, substituting Equation 5.116 and Equation 5.117 into Equation 5.110, then the relative gain And can written A d * l.Tl ^i(l-e) (^n-^e)(F -^e) 2 / [ J 2 2 F F F F (l / r / L n 12 21 - e) 2 22 (FnF F F e) F F (1 - e) - F P cV 2 22 12 21 2 U = W 22 ] ( 5 ' 1 2 2 ) From Equation 5.119, we have ~p p r\\r 22 = 1 - T ~ ( 5 A n 1 2 3 ) Now, substituting Equation 5.123 into Equation 5.122, we get A '" = 1 / [ 1 - ( l ^ § ^ ] ( 5 ' 1 2 4 ) Clearly, the relative gain of the decoupled system is a function of both the original relative gain of the CFSTR process and the modelling compensation factor. Considering that under the overcompensation e is greater than one, the family of curves And obtained from Equation 5.124, with various values of both A and e is shown in Figure 5.17 and n Chapter 5. Decoupling Design for the CFSTR 64 Figure 5.18 (See Table H.3, H.4, and H.5). It is important to note that once the theoretical relative gain An, which is a unique value in design, is determined from Equation 4.84, the relative gain And of the decoupled system is only a function of the compensation factor e because e, in practice, can be regulated. As shown in Figure 5.18, the overcompensated system, with e around 1.10, will be unstable when the original relative value of An is greater than about 5.65. If, as an Example 1 in Chapter 4, the original relative gain An of the CFSTR is around 11.3, the compensation factor e must be less than 1.03. When the compensation factor e is less than 1.02, relatively speaking, the overcompensated system has good performance if the original value of An is less than 16.95. From the foregoing analysis, it can be seem that if the original relative gain A is much n greater one, the overcompensation factor must be smaller for good compensation performance. In other words, if the overcompensation factor is too large, it is difficult to obtain good decoupling. When An is near the unstable boundary condition the decoupled CFSTR process can experience a nonlinear, divergent change. In short, the overcompensation of an interacting system which has a large An may lead to unstable or poorer control than when this system is controlled without a decoupler. 5.5.2 Undercompensation of Interaction Equation 5.124 is also true for the analysis of undercompensation. In this case, assume that the undercompensation factor falls between 0.90 and 0.99 (See Figure 5.17). With changes in the undercompensation factor, the relative gain of the decoupled system, with a known original relative gain, can deviate from the desirable value as well. The deviation from the desirable value, however, is basically proportional to the original relative gain value over a wide range, and the rate of deviation is not very sensitive to the compensation factor e. The important point is that there are not any nonlinear divergent Chapter 5. Decoupling Design for the CFSTR 65 phenomena. Consider Example 1 in Chapter 4, the original relative gain value is about 11.3, the biggest deviation value for the decoupled CFSTR process, when the undercompensation factor is 0.9, is about 1.39 (See Table H.3). Therefore, the undercompensated system, which can tolerate a relatively wide undercompensation range, performs better than with overcompensation under the same original relative gain value. 5.5.3 Stability Analysis In the above studies, it was found that although the absolute deviation of the compensation factors from unity in the two cases are the same, the effect of the value of the relative gain of the decoupled CFSTR system are quite different. Overcompensation will probably lead to instability, while undercompensation can hardly be made unstable. The reason is that in Equation 5.121, if eie is greater than one, the value of the right-side of 2 this equation probably equals the product of e\ and e since An always is greater than 2 one. On the contrary, if the product of t\ and e is less than one, then Equation 5.121 2 is never satisfied. Therefore, a significant improvement in the decoupled control system robustness can be obtained if the decouplers, N\% and iV i, always work under a condition 2 of undercompensation. It is conceivable that if the product of e\ and e is less than one, 2 that Equation 5.121 becomes eie <l 2 ^ >1 An — 1 A n Aii>l (5.125) Equation 5.125 essentially gives a bound on the decoupling stability condition. This condition is simple and physically realizable. Chapter 5. Decoupling Design for the CFSTR 66 5.5.4 An Illustrative Example Assuming that each parameter in the CFSTR model process has a increment or a decrement, there will be thousands of combinations possible. It is therefore difficult to simulate all these combinations. As an example of the robustness test, one case will be studied in which it is assumed that the main channel of the concentration control loop, in practice, may be disturbed independently from outside so that the open-loop gain deviates from the theoretical value F . Now, consider the practical open-loop gain F , which is given n n by A i = dFu (5.126) where d, which should be greater than zero, is the deviation factor. The practical relative gain becomes X » = ! LF„ (5-127) Substituting Equation 5.119 into Equation 5.127, we get 1 1-3(1-*) d\n (5.128) - An + 1 d\ u or d= ~^ (1 - Aii)An ( 1 (5.129) l l ) A n The practical relative gain of the decoupled system becomes x _ Alld - 1/1 1 / r i + hiF )(F + k dF ) , r. w r , , - jp J 22 12 12 (dtu + k, ti )(F 2l 2 11 (5.1JUJ + ^2^21) 22 Substituting Equations 5.116, 5.117 and 5.129 into 5.130, we have And = 1/[1 W i F- F^ (1e ) (- Fe)(l2 -- ed) ^ e ) 2 12 21 J . Chapter 5. Decoupling Design for the CFSTR - i / f 1 n F 67 " "( ~ ) ( F l e 1 ~ ) 1 ed wS- )(S- ) e (1 _ e ) [ I e _ efi^Au] In Equation 5.131, the theoretical relative gain An is 11.3, and it is assumed that the practical relative gain can be changed between 5 and 25. Figure 5.19 and Figure 5.20 show a comparison between overcompensation and undercompensation. It is found that the An is very sensitive to the changes in the overcompensation factor. If An changes because of a ±20% change in An, the overcompensation factor must fall between 1 and 1.03 in order to keep Xiu < 1.4 (See Table H.6), while the undercompensation factor can vary between 0.90 and 1 for equivalent control stability. Therefore, undercompensation has good robustness. The primary purpose of using undercompensated decouplers is to reduce the sensitivity of the CFSTR process to parameter variations and unwanted disturbances. For the decoupling design, the undercompensation factors must be selected very carefully so that the CFSTR system can operate under undercompensated conditions. Figure 5.21 shows a block diagram of an undercompensated decoupled CFSTR system. The result of this compensator design is that a 2 x 2 CFSTR system has effectively become two separable single control loops. However, if time-delay behaviour occurs in each feedback channel, an unstable CFSTR system is still probable. Time-delay compensation for a CFSTR process will be studied in the next chapter. Figure 5.17: The relative gain XJU versus the compensation factor e Chapter 5. Decoupling Design for the CFSTR Figure 5.18: The relative gain X d versus the overcompensation factor e U 69 Figure 5.19: Xnd versus An with e > 1. Chapter 5. Decoupling Design for the CFSTR 71 72 Chapter 5. Decoupling Design for the CFSTR Compensator Process Figure 5.21: A block diagram of an undercompensated, decoupled CFSTR system Chapter 6 Design of Time-delay Compensation 6.1 Introduction By the careful design of a decoupling system, a two-variable C F S T R process has been separated into two single-variable control loops. As pointed out in Section 2.2, for the delay-free case, the use of negative feedback can make the system performance less sensitive to changes in process parameters. However, when the C F S T R process exhibits a time-delay in the control loop, this process is still not a simple one, that is to say, the time-delay can effect system performance and it can even lead to instability, while the conventional controllers cannot minimize the delay effect at all. Therefore, it is necessary to study time-delay compensation for the stable operation of a C F S T R . The following sections will be concerned with discussion of the C F S T R process with and without a time-delay, an ideal and nonideal Smith compensator, and a simple and physically realizable time-delay compensator. As mentioned in Chapter 2, problems involved with the sensitivity analysis of the Smith compensator have been reported in the last 20 years. So, the effect of a nonideal Smith compensator, i.e., the modelling error, will be presented briefly, while this chapter will concentrate on studying a simple and physically realizable time-delay compensator. In general, the concentration control loop of the C F S T R has a bigger time-delay than the temperature control loop has. In the light of this, the time-delay compensation for the concentration control is considered in detail and the result for the temperature control 73 Chapter 6 Design of Time-delay Compensation 74 it can be deduced easily by analogy. 6.2 Control of the Concentration Process without a Time-delay In analyzing practical processes, it is often desirable to change the units of a variable or to normalize a given variable. The results in terms of normalized dimensionless variables are useful because they can be applied directly to different systems having similar mathematical equations. Appendix E provides an outline of the derivation of the dimensionless variables for concentration control. Figure 6.22 shows the block diagram of the concentration control system without timedelay. For simplicity and insight, the controller KQ is considered to have proportional control action. The open-loop transfer function between the manipulated Q(s) and controlled variables C(s) is gjfl = G u ( 5 ) = _i*L_ = (6.132) where |J- is the dimensionless open-loop gain, and 4^ is the time-constant of the system. Figure 6.22: Concentration control system without time-delay Chapter 6 Design of Time-delay Compensation 75 The closed-loop transfer function between the set point Ic(s) and the controlled variable C(s) is C(s) _ I (s) KcG {s) _ lx l + K G (s) c c n Kc& Kc&o l + Kc-gfr s + fa + Kc&o) (6.133) where Kc is the amplifier gain or proportional sensitivity. Unit-step Response of the System: Since the Laplace transform of the unit-step function is j , substituting Ic{s) = j into Equation 6.133, we obtain s s + [cti + I OL\ + K°c\^ 1 - s. < C & c Ka) c - 0 . ,, * KCOCQ) ,, , J (6-134) s + (c*i + 0 Consider Example 1 in Chapter 4, where do = 0.41456 and di = 0.4245 (See Appendix E) and taking the inverse Laplace transform of Equation 6.134, we obtain di + Kc&o 0.41456/^c r. _ 0.4245 + 0AU56K 1 -(0.4245+0.41456AT )t c ] (6.135) C Equation 6.135 states that initially the output variable C(t) is zero andfinallyit bec o m e s o,4245+o 4 i456A5 6 c o r u n i t y i f °- 4 1 4 5 6 ^ c > 0.4245. As seen from Equation 6.135, the steady-state is reached mathematically only after an infinite time. In practice, however, a reasonable estimate of the response time is the length of time the response curve needs to reach the 4% line of the final value, or four time constants. Note that a discrepancy between a set-point and a practical value is always of occurrence with proportional control. By regulating Kc, the system response can be improved. The concentration control system without time-delay is always stable for all values of Kc- Figure 6.23 shows that the bigger Kc, the better the response curve. Chapter 0 1 6 2 Design 3 of the Time-delay 4 5 6 7 76 Compensation 8 9 10 11 12 time Figure 6.23: Unit-step response curves of the concentration control system without time-delay Chapter 6 Design of Time-delay Compensation 6.3 77 Control of the Concentration with a Time-delay Figure 6.24 illustrates a practical concentration control system with a measurement, timedelay. The closed-loop transfer function is C(s) I (s) = 1+ c 1+ _ KcGnjs) K e- ^G ( ) T c U S K -^-e- o T c Kc&o (6.136) Usually, e~ " can be approximated by Tc e 2 1 + ?fs 2-T S C 2+ TS (6.137) C Equation 6.137 is the Fade approximation which is reasonablely accurate for many purposes. Figure 6.24: Control of the concentration process with measuring time-delay 78 Chapter 6 Design of Time-delay Compensation Substituting Equation 6.137 into Equation 6.136, we get C{s) l (s) c KCCCQ = s+a KoM^S) 1+ K d (2 c TS 2 C + T S) 0 + (2 + ctxTc - C K a T )s c 0 + 2(di C + Kc&o) (6.138) The characteristic equation of the closed-loop system can be obtained by setting the denominator of Equation 6.138 equal to zero. As is well-known, the stability of a system is independent of the input excitation, and the characteristic equation determines system stability. Obviously, the coefficients in the characteristic equation of the closed-loop system may be less than zero when Kc is sufficiently large. For stability, all coefficients in the characteristic equation of second-order systems must be positive. Therefore, although the amplifier gain Kc of a first-order system can be set at a high value in the absence of time-delay, it cannot be set too high if time-delay is present. According to the Routh criterion, we have 2 + cVc - KC&QTC > 0 (6.139) or K c <— OCQTC (6.140) For the system considered here, the value of the amplifier gain Kc must be less than 2 torJ C ^ ^ ble operation. Nevertheless, the smaller Kc> the poorer is the response of o rs a the system. Equation 6.138 is a second-order system. Its standard analytical solutions are provided in Appendix F. The dynamic behavior of second-order systems can then be described in terms of two parameters £ and u> . n By defining the undamped natural frequency u and the damping factor £ as n 2(& + Kc&o) u-.2 = — _ l rc (6.141) 79 Chapter 6 Design of Time-delay Compensation and ^ _ 2 + diT — C 2T 1 _ ^2 + dire - KcapTc ^ KC&QTC U.. C 2T TC 2(d + x C Ka) c (6.142) 0 Equation 6.138 can be rewritten as (2 + C(s) s + Ic(s) 2 2+aiTc-KcaoT T U>1 C The parameters u n T S) C S + 2(ai+K c<o) c c (6.143) s + 2£u s + u* 2 n and £ are very important for characterizing a system's response. Note from Equation 6.143 that u is the radian frequency of oscillation when £ = 0. As n £ increases in value from 0, the oscillation decays and becomes more damped. When £ > 1, oscillation does not occur. For a standard second-order system which is shown in the square brackets of Equation 6.143, as t —> oo, its steady-state value under a unit-step input tends to one. Now, the steady-state value of the concentration control system depends on the closed-loop gain 2 J f g f ° . Notice that the ultimate response, after t —• oo, never reaches the desired set point. There is always a discrepancy called offset which is equal to offset = (set point) — (ultimate value of the response) (6.144) The final value theorem (See Appendix B) provides a convenient way tofindthe steadystate performance of a system, thus offset = - lim C(t)\ dosed —loop t—•CO - lim sC(s)\dosed-loop - lims/c(-s)h ,-,0 -lim ° 1 + Kc^ W L x c Kce-rc'Gnis) 1 . ai+s w Kc&o d + K 6c j cGn( )— , (6.145) 0 80 Chapter 6 Design of Time-delay Compensation So offset Min. l - ( d i + KCOCQKc—Max. Kc&o l - ( &i + K OLQ A 1 2d 1 + f 2(r d! + 1) c = < 2_ , K„ C c - A 0 0 if T 0.5 if T d i > = C C r + c iL d 0 0 (6.146) 1 Clearly, the bigger the time-delay, the bigger the offset, but the maximum offset tends to a limit of 0.5. The simulation results are shown in Figure 6.25 and Figure 6.26. K = 3.2 K = 3.0 c c Kc = 2.8 1 2 3 4 5 10 15 time Figure 6.25: Unit-step response curves of the concentration control system with measuring time-delay, rc = 2 sec. Chapter 6 Design of the Time-delay Compensation 81 C(t) time 0 1 2 3 4 5 10 time Figure 6.26: Unit-step response curves of the concentration control system with measuring time-delay. r = 0.2 sec. (a) the amplifier gains are 5 and 10. (b) the amplifier gain is 15. c Chapter 6 Design of Time-delay 6.4 Compensation 82 Control of the Concentration Process with a Smith Compensator Figure 6.27 shows a block diagram of the concentration control loop with a Smith compensator (Smith, 1957). The basic idea of the Smith scheme is very simple, namely let the closed-loop characteristic equation of a time-delay system which contains an intentional time-delay model be equal to a new characteristic equation without the time-delay factor. From Figure 6.27, the transfer function of the closed-loop is as follows C(s) _ I (s) a a n 1 + K [G.(s)H.(s) c where G (s)H (s) KcG (s) (6.147) + e-*c'G {s)] c u is an intentional model. C M C G \N C ~ Tcs r G >( ) s n J Smith Compensator -T S C N c H {s) s = 1 - e G (s) s = G (s) u M, c Figure 6.27: (a) Control of the concentration process with the Smith compensator, (b) A block diagram of the Smith compensator. Chapter 6 Design of Time-delay Compensation 83 For the Smith compensator, substituting H (s) = 1 — e~ TcS 3 and G (s) — Gn(s) into a Equation 6.147, we have C(s) I (s) c 1 + K [G (s)(l KcGnjs) c l + n KcGn(s) - e-c) + e-^ (s)} Gn (6.148) K Gn(s) c So, Equation 6.148 is the same as Equation 6.133, which is for the delay-free case. However, it is universally accepted that the block H (s) is physically irrealizable because s of the transcendental function e~ ". On the other hand, if the real transfer function Tc deviates from the theoretical model, then the characteristic equation of the closed-loop becomes l + Kc[G (s)(l-e- s) Tc3 11 where e~ Gu(s) TCS + e-* "G (s)] c n =Q (6.149) is the real process. Many researchers have pointed out that the per- formance of the Smith scheme is very sensitive to the accuracy with which actual process time-delay is identified. For extensive discussions of the modelling error of Smith's scheme, see Buckley (1964), Marshall (1979), Palmor (1980) and Stephanopoulos (1984). 6.5 A Physically Realizable Time-delay Compensator One of the most important qualitative properties of a control system is its stability. One feature of the ideal Smith's scheme is that the time-delay factor e~ " can be eliminated Tc in the system characteristic equation by subtraction, i.e., if the Smith model and process control model are in exact agreement, the term in square brackets of Equation 6.149 becomes CTII(S). However, in practical situations, the time-delay of a feedback analyzer is time-variant. So, an improperly designed control system can lead to system instability, mistrust by operators and maintenance headaches. In order to improve the stability of the time-delay compensator, a proposed compensation scheme is presented in Figure Chapter 6 Design of Time-delay Compensation 84 Time-delay Compensator Figure 6.28: A physically realizable time-delay compensator 6.28 to eliminate the effect of time-delay through division. The transfer function of Figure 6.28 between C(s) and Ic(s) is . C(s)_ I (s) c = K G (s)[l + G (s)G (s)} [1 + Gi(s)G (s)] + KcGxis^l + G (s)e-^G (s)] K G {s) c 11 1 2 c i-rixc^iKS) 2 2 xl n (6.150) I GJ( )G ( ) + s 2 S The detailed derivation of Equation 6.150 is shown in Appendix G . As mentioned before, the magnitude of e - T c S is always unity. So, if |G (5) - "G„( )| < 1 (6.151) |Gi(s)G ( )| < 1 (6.152) C(s) K G (s) I (s) ~ l + KcG^s) (6.153) T 2 C 5 2 5 then c c u Chapter 6 Design of Time-delay Compensation 85 When Gi(s) — G (s), Equation 6.153 is the same as Equation 6.148 which is for the xx perfect Smith compensator. 6.5.1 Stability Analysis For G (s) = let Gi(s) = K and G (s) = K , then Equation 6.150 becomes n x C(s) 2 2 Ko-fe = 1 I K, .1' I c { s ) 1 + ^ K (l + 1+ KK X K K )Kc^x + K K [\ 2 C 2 2 a + X (1 + K K )K O:O(2 X ^ K {%%)(&;)} 2 + T S) C (6.154) C as +as + a 2 2 x 0 where a = 2[(1 + tfi# + KiKc)a 0 2 a = (1 + tfitfa + K K )(2 x + x X c 2 c 0 KKK T a x a = T {1 + K1K2 + 2 x + T&) - C (6.155) KKKa] x 2 C C 0 (6.157) KK) C X (6.156) C For stability, (1 4- K K X + K K )(2 2 X + T a) - KKK T a C C x x 2 C C 0 > 0 (6.158) T a) (6.159) or (1 + K K )(2 X Obviously, if K TC& 2 0 2 — 2— +ra) c X (l-rK K )(2 x 2 0 2 K (K T a x if K Tca - 2- 2 C x 0, then TCOL > Kc< > KiKc(K Tcao x 2 C 0 + T a) C - 2- x T a) C (6.160) x — 2 — Tcot < 0, then x Kc> {l-rK K2)(2 x K (K T a x 2 C 0 + - 2- ra) c x Ta) C x (6.161) Chapter 6 Design of Time-delay Compensation 86 Notice that the right-side of Equation 6.161 is less then zero. Therefore, the value of the amplifier gain Kc, which is always greater than zero, is not constrained at all, that is to say, for all values of Kc, the concentration control system is stable. On the other hand, in order to satisfy Equations 6.151, 6.152 and 6.161, the conditions are K T C\ 2 C - 2 - rcdi < 0 0 ' K * \ (6.162) m ( 6 - 1 6 4 ) For chemical processes, the system frequency u>, in general, is very low. So, Equation 6.163 becomes K < . 2 » ?i a (6.165) 0 In practice, assuming K\ = 4^- = 0.976 (see Appendix E) and K is less than one tenth 2 of the magnitude of Gn(s), we get tf 2 = 0 . l ^ = 0.1-°^^«0.1 a 0.41456 (6.166) 0 Thus, Equations 6.151, 6.152 and 6.161 are satisfied. The transfer function of the concentration control system becomes C(s) I (s) fefr 1 + KcKx c Kc&o {l + KcKJi&i + s) (6.167) For a unit-step input, we get C M-I(i + W * , + ,) ( 6 - 1 6 8 ) The time-domain solution of Equation 6.168 is C(t) = (1 + KcKxjdx u (1 - e " * ) 1 (6.169) 87 Chapter 6. Design of Time-delay Compensation and offset = 1 — lim sC(s)\ i = 1 ; c oted 5—0 oop K G (s) (^i+^2g~ "gn(')^ 1 + K Ui{s) ' limsJ (a)[ i _L K r c s—»0 c u C 1 + K KC = Tc l+K2Gl(a) ^ 1 1 «*1 1 + ^ 2 ^ = 1 l + Kf c x K —*oo c Figure 6.29 shows the unit-step response of Equation 6.153. t (6.170) Figure 6.29: The unit-step response of the concentration control loop with a physically realizable time-delay compensator. Kc — 100, K — 0.976 and Ki = 0.1. x Chapter 6 Design of Time-delay Compensation 6.5.2 89 A Few Comments on the Control Mechanism 1. The time-delay compensation of Figure 6.7 possesses two advantages. The first of these is that of avoiding the solution of the transcendental function e~ Tca which is physically irrealizable, and the second is the inherent stability of the compensation structure which can withstand a time-variant time-delay. 2. The present method virtually retains the benefits of feedforward control. The output of the controller is through both the process model G\\(s) and the feedforward model G\(s) without a time-delay factor. The dynamic response error of the system can be reduced by comparing the input Ic(s) and the output of feedforward model Gi(s) (see Figure 6.28). 3. Basically, the measuring delay can be reduced, but it can not be totally eliminated hy G2(s). When the system reaches a steady-state, the difference between the process output and the feedforward model output can improve the steady-state response of the system, i.e., the offset will tend to zero. 4. In practice, Gi(s) may be a process model Gn(s) or any other compensator, such as a lead compensator or a lag compensator or a lag-lead compensator. Also, C?2(s) may have any structure, but the magnitude of satisfy Equations 6.151, 6.152 and 6.162. LT2(-S) must be small in order to Chapter 7 Conclusions and Suggestions 7.1 Conclusions 1. A measure of the interaction of the two-variable CFSTR control system has been derived and is given in Equation 4.84, which can provide information on interaction for a process designer before setting up a two-variable CFSTR system. Once the process parameters and design parameters are known, in theory, the relative gain value of the interaction can be calculated easily from Equation 4.84. If the relative gain value is greater than 1.5, then a decoupling design should be considered. If the relative gain value is less than 1.5 and tends to 1, then the two-variable CFSTR control system can be regarded as two single control loops, that is to say, the interaction between the concentration loop and the temperature loop can be neglected. 2. For the simplified decoupling design of a CFSTR process, the modelling error can probably cause an unstable behaviour. Nevertheless, if the simplified decoupled CFSTR system can work with undercompensation, the control system gives good stability. It is worth stressing that the product of two compensation factors (ei and e ) must be less than one for the CFSTR system not to have nonlinear divergence. 2 In a practical design, the compensation factors (e\ and e ) can be considered as 2 two proportional amplifiers which are physically realizable. 3. Generally speaking, if the time-delay value is greater than one tenth of the system 90 Chapter 7. Conclusions and Suggestions 91 time-constant, time-delay compensation is necessary. As in Example 1 of Chapter 4, when a time-delay (TC) is 0.2 (sec), which is less than one tenth of the system time-constant (^ = 2.36 sec), Figure 6.26 shows that the concentration loop may work under the high-gain amplification, but rather grudgingly. In order to compensate a big time-variant time-delay, the compensation scheme of Figure 6.28 is proposed which can rely on the basic property of gain-invariant time-delay. In other words, the compensation structure only depends on the magnitude of both Gn(s) and G\(s), no matter how big the control system time-delay is. Stability analysis indicates that if K < ~ |"' (See Equation 6.161), for all values of Kc 2 2 T e the concentration control system is stable. Besides the compensation structure of Figure 6.28 is easily physically realizable, and it has the same features as the Smith compensator when Gi(s) = Gn(s). 4. The scheme of Figure 6.28 hold true for the temperature control loop time-delay compensation. The design procedures for the temperature loop are analogous to those for the concentration loop time-delay compensation. 5. Figure 7.30 shows an overall decoupling compensator and time-delay compensator for a two-variable CFSTR control system, which has thus been made to react like two separate delay-free single control loops. All compensation structures are physically realizable. 7.2 Suggestions This study of a two-variable CFSTR system is relatively abstract and some questions still remain unanswered. To reach wide acceptance for practical use, further research needs to be carried out covering: Chapter 7. Conclusions and Suggestions 92 1. Equation 4.84 gives a theoretical analysis of the interaction whereas the practical significant interaction analysis should rely on Equation 4.83 which comes directly from the definition of the interaction. Therefore, the relative gain from measuring the response of a real CFSTR system should be obtained for comparison with a theoretical value. 2. As mentioned in Section 6.5.2., both Gi(s) and G (s) models can have different 2 kinds of structures. Which structures is better for the system's dynamic performance? This should be studied further. 3. The strongly nonlinear process compensation and disturbance rejection should receive further attention to assure that the CFSTR system can be operated over a wider range. c Ci F c F, Gic GiT Gc 2 GIT IT lc N ,N 12 21 effluent concentration of reactant A inlet concentration of reactant A coolant flow rate measuring device reactant flow rate measuring device concentration process compensator temperature process compensator concentration time-delay compensator temperature time-delay compensator temperature set point concentration set point decoupling compensator Q Qc Rc Rc R q RT t T T • Ti volumetric flow rate coolant flow rate coolant flow rate controller concentration controller reactant flow rate controller temperature controller time temperature in a reactor inlet temperature of coolant inlet temperature of reactant A Figure 7.30: A n overall control system of the C F S T R with decoupling compensation and time-delay compensation. Bibliography [1] Agamennoni, 0 . E . ; Desages, A . C ; Romagnoli, J . A . , 1987, Adaptive control scheme for SISO processes with delays, Ind. Eng. Chem. Res., 26, 4, 774-781. [2] Amhren, H . , 1977, Computer control in the polymerization industry, Automatica, 13, 533-545. [3] Annraoi, M . De Paor; Ruth, P. K . Egan, 1989, Extension and Partial optimization of a modified Smith predictor and controller for unstable processes with time delay. Int. J . Control, 50, 1315-1326. [4] Astrom, K . J . , 1983, Theory and applications of adaptive control - a survey, Automatica, 19, 5, 471-486. [5] Bartusiak, R. D.; Georgakis, C ; Reilly, M . J., 1986, Nonlinear control structures for chemical reactors, Proceedings of the 1986 American Control Conference, 2, 1025-1026. [6] Boksembom, A . S.; Hood, R., 1949, General algebraic method to control analysis of complex engine types, N A C A - T R , Washington. [7] Bristol, E . H . , 1966, On a new measure of interaction for multivariable process control, I E E E . Trans. Aut. Cont, Vol.AC-II. 1, 133-134. [8] Bruns, D . D.; Bailey, J . E . , 1977, Nonlinear feedback control for operating a nonisothermal CSTR near an unstable steady state, Chem. Eng. Sci. 32, 257-264. [9] Buckley, P. S., 1964, Techniques of process control, John Wiley, New York. [10] Calvet, J . P.; Arkun, Y . , 1988, Feeedforward and feedback linearization of nonlinear systems and its implementation using internal model control (IMC), Ind. Eng. Chem. Res., 27, 10, 1822-1831. [11] Chandra, C. Prasad; Hahn, V . ; Unbehauen, H.; Keuchel, U . , 1985, Adaptive control of variable dead time process with an integrator. Adaptive Control of Chemical Processes Proceedings of the IFAC Workshop, Frankfrut/Main. 71-75. [12] Chien, I. L . ; Seborg, D . E.; Mellichamp, D. A . ; 1987, Self-tuning control with decoupling, A I C h E J . , 33, 1079-1088. 94 Bibliography 95 Cinar, A.; Rigopoulos, K.; Meerkov, S. M.; Shu, X., 1986, Nonlinear control of an exothermic CSTR, Proceedings of the 1986 American Control Conference. 2, 1017-1021. Daniel,R. W.; Kouvaritakis, B., 1985, A new robust stability criterion for hnear and nonlinear multivariable feedback systems. Int. J. Control, 41, 1349-1379. De, Paor., 1985, A modified Smith predictor and controller for unstable process with time delay. Int. J. Control, 41, 1025-1036. Dickmann, A.; Sivan, R., 1985, On the robustness of multivariable linear feedback systems, IEEE Trans. Aut. Control, AC-30, 401-404. Douglas, J. M.; Dem, M. M., 1965, Optimal design and control by variational methods parameters for optimal control problem, Ind. Eng. Chem. 57, 11, 18-31. Douglas, J. M., 1972, Process dynamics and control Vol.1, Prentice-Hall, Inc., Englewood Cliffs. analysis of dynamic systems, Elliot, H.; Wolovich, W., 1984, Parametrization issues in multivariable adaptive control, Automatica, 20, 533-545. Falb, P. L.; Wolovich, W. A., 1967, Decoupling in the design and synthesis of multivariable control system, IEEE. Trans. Automat. Control, AC-12, 6, 651-659. Fossard, A. J., 1977, Multivariable system control, North-Holland, New York. Foster, R. D.; Stevens, W. F., 1967, An application of nonmteracting control to a continuous flow stirred-tank reactor, AIChE J., 13, 340-345. Francis, B. A.; Wonham, W. M., 1975, The internal model principle for linear multivariable regulators, Appl. Maths, and Optim., 2, 170-194. Frorhent, G. F.; Bischoff, K. B., 1979, Chemical reactor analysis and design, John Wiley &; Sons, New York. Gilbert, E. G., 1969, The decoupling of multivariable system by state feedback, SIAM J. Control, 7, 1, 50-63. Halbe, D. C. and Poore, A. B., 1981, Dynamics of the continuous stirred tank reactor with reactions A—* B—> C. Chem. Engng. J. 21, 241-253. Harriott, P., 1988, Optimum controller settings for processes with dead time: effects of type and location of disturbance, Ind. Eng. Chem. Res., 27, 11, 2060-2063. Bibliography 96 Hoo, K.; Kantor, J., 1985, An exothermic continuous stirred tank reactor in feedback equivalent to a linear system. Chem. Eng. Comm., 37, 1-10. Hoogendoorn, K.; Shaw, R., 1980, Control of polymerization processes, Proc. IFAC PRP-4 Automation, Ghent, Belgium; Pergamon Press: New York, 632. Kantor, J. C , 1988, A rapprochement of feedforward and feedback linearization with process control practice, Proceedings of the 1988 American Control Conference, 2, 1552-1557. Kavanagh, R. J., 1958, Multivariable control system synthesis, A I E E Trans. Appl. Ind., 77, 425-429. Lang, S. J.; Gu, X. Y.; Chai, T. Y., 1986, A multivariable generalized self-tuning controller with decoupling design, I E E E Trans. Aut. Cont., AC-31, 474-479. Lee, E . B., and L u , W . S., 1984, Coefficient assignment for linear systems with delays. I E E E Trans. Aut. Cont, 29, 1048-1052. Liu, M . Z., 1989, Decoupling and coefficient assignment ( A, B, C, D ) time-delay systems. Int. J. Control, 50, 1089-1101. Lloyd, S. G., 1973, Basic concepts of multivariable control, Instrumentation nology, 20, 12, 31-37. Tech- MacGregor, J. F . ; Penlidis, A; Hamielec, A. E.; 1984, Control of polymerization reactors: a review, Polym. Proc. Eng. 2, 179-188. Manousiouthakis, V.; Savage, R.; Akrun, Y . , 1986, Synthesis of decentralized process control structures using the concept of block relative gain, A I C h E J., 32, 9911003. Marino, G. M . ; McAvoy, T. J.; Marlin, T. E., 1987, Shortcut operability analysis estimation of /,• detuning parameter for classical control systems, Ind. Eng. Chem. Res., 26, 3, 511-521. Marshall, J. E., 1979, Control of time-delay systems, Peter Peregrinus L T D . Mcavoj', T. J., 1981, Connection between relative gain and control system stability and design, AIChE J. 27, 613-619. [41] Mcavoy, T. J., 1983, Interaction Analysis - Principles and Applications, Monograph Series 6, ISA. Bibliography 97 [42] McDermott, P. E.; Mellichamp, D. A., 1984, A decoupling pole-placement selftuning controller for a class of multivariable processes, Opt. control Appl. Meth., 7, 55. [43] Mendoza-Bustos, S. A.; Penhdis, A., 1990, Adaptive control of conversion in a simulated solution polymerization continuous stirred tank reactor, Ind. Eng. Chem. Res. 29, 1, 82-89. [44] Mukesh, D.; Cooper, A. R., 1983, Partial simulation and control of a continuous stirred tank reactor with a digital computer, Ind. Eng. Chem. Fundam. 22, 145-149. [45] Nakanishi, E.; Nanbara, K., 1981, A feedforward/feedback control synthesis for a continuous stirred tank reactor, Proceedings of the Eighth Triennial World Congress of the International Federation of Automatic Control, (Process control), Japan, 5, 2751-2756. [46] Nakanishi, E.; Ohtani, S., 1986, Multivariable control of CSTR with time-delays via a decoupling strategy, J. Chem. Engineering of Japan, 19, 1, 36-42. [47] Narendra, K. S., 1986, Adaptive and learning systems, Plenum Press, New York. [48] Ogunnaike, B. A.; Raj', W. H., 1979, Multivariable controller design for linear systems having multiple time delays, AIChE J., 25, 1043-1057. [49] O'Reilly, J., 1987, Multivariable control for industrial applications, IEE Control Eng. Series, 32, London. [50] Palmor, Z., 1980, Stability properties of Smith dead-time compensator controllers, Int. J. Control, 32, 937-949. [51] Perng, M. H., 1989, Nearly decoupled multivariable control systems design Part 1. Single-loop control systems design. Int. J. Control, 50, 1103-1120. [52] Petkovski, D.; Rakic, M., 1979, A series solution of feedback gains for output constrained regulators, Int. J. Control, 30, 661-668. [53] Petkovski, D.; Rakic, M., 1979, On the calculation of optimum feedback gains for output constrained regulators, IEEE Trans Auto. Control, 23, 760-768. [54] Ray, W. H., 1982, Advanced Process control, McGraw-Hill, New York. [55] Razon, L.; Schmitz, R., 1987, Multiplicities and instabilities in chemically reacting systems - a review. Chem. Engng. Sci., 42, 1005-1047. Bibliography 98 [56] Schnelle, P. D.; Richards, J . R., 1986, A review of industrial reactor control: difficult problems and workable solutions, Chemical Process Control-CPC3, 749-802. Proceedings of the Third International Conference on Chemical Process Control, Asilomar, California, 1986. [57] Seborg, D. E.; Edgar, T. F., 1981, Chemical process control 2, Proceedings of the Engineering Foundation Conference, 246-267. [58] Seborg, D. E.; Edgar, T. F.; Shah, S. L . , 1986, Adaptive control strategies for process control - a survey, A I C h E J . 32. 881-913. [59] Shanmugathasan, N . ; Johnston, R. D., 1988, Exploitation of time delays for improved process control. Int. J . Control, 48, 3, 1137-1152. [60] Shen, G . C ; Lee, W . K . , 1988, Multivariable adaptive inferential control, Ind. Eng. Chem. Res., 27, 10, 1863-1872. [61] Shinskey, F. G., 1979, Process control systems, 2nd ed. McGraw-Hill, New York. [62] Shinskey, F. G., 1988, Process control system - application, design, and tuning, 3rd ed. McGraw-Hill, New York. [63] Sinha, P. K . , 1984, Multivariable control: an introduction, Electrical Eng. and Electronics, New York. [64] Smith, 0. J . M . , 1957, Closer control of loops with dead time, Chem. Eng. Prog., 53, 5, 217-219. [65] Smith, 0. J . M . , 1958, Feedback control systems, McGraw-Hill, New York. [66] Smith, 0. J . M . , 1959, A controller to overcome dead time, ISA J., 6, 2, 28-33. [67] Stephanopoulos, G., 1984, Chemical process control and practice, Prentice-Hall, Inc., Englewood Cliffs. An introduction to theory [68] Takamatsu, T.; Shioya, S.; Okada, Y . , 1986, Design of adaptive/inferential control system and its application to polymerization, Ind. Eng. Chem. Process Des. Dev., 25, 3, 821-828. [69] Tung, L. S.; Edgar, T. F., 1982, Analysis of control input-output interactions in dynamic systems, AIChE J . 27, 4, 690-697. [70] Tzafestas, S. G., 1984, Multivariable control: new concepts and tools, Kluwer Academic Publishers, New York. Bibliography 99 Vardulakis, A . I. G . , 1989, Decoupling of linear multivariable systems by unity output feedback compensation. Int. J . Control, 50, 1079-1088. Vidyasagar, M . ; Kimura, H . , 1986, Robust controllers for uncertain linear multivariable systems, Automatica, 22, 85-94. Vogel, E . F.; Edgar, T. F . , 1980, A new dead time compensator for digital control. in Proc. ISA Annu. Conf., 29-46. Vogel, E . F.; Edgar, T. F . , 1980, An adaptive dead time compensator for process control, Proceedings of Joint Automatic Control Conference, San Francisco, TP5-E. Watanabe, K . , and Ito, M . , 1981, Process model control for linear systems with delay. I E E E Trans. Aut. Cont, 26, 1261-1269. Weischedel, K ; McAvoy, T. J . , 1980, Feasibility of decoupling in conventionally controlled distillation columns, Ind. Eng. Chem. Fundam., 19, 379. Wolovich, W . A . ; Falb, P. L . , 1976, Invariants and canonical forms under dynamic compensation, S I A M J . Control Opt., 14, 996. Wonham, W . M . ; Morse, A . S., 1970, Decoupling and pole assignment in linear multivariable systems: a geometric approach, S I A M J . Control, 8, 1, 1-18. Wonham, W . M . , 1979, Linear multivariable control: a geometric approach, 2nd ed. Applications of Mathematics Series, 10, New York. Yu, C. C ; Luyben, W . L . , 1986, Design of multiloop SISO controllers in multivariable processes, Ind. Eng. Chem. Process Des. D e c , 25, 2, 498-503. Notation Roman Reference or Equation Coefficient 6.155~ 6.157 A Heat exchange surface 3.4 AT Frequency factor 3.9 C Effluent concentration of reactant A 3.1 Specific heat of coolant 3.3 Inlet concentration of reactant A 3.1 Steady-state inlet concentration 3.14 Co Steady-state concentration operating condition 3.14 c Specific heat of reacting mixture 3.2 d Deviation factor 5.126 dij Dynamic gains of disturbance channel Fig. 3.2 D ij Closed-loop transfer function of disturbance channel 3.41, Appendix C Transfer function of disturbance channel 3.32, 3.37- 3.40 e Compensation factor pp.63, 5.122 e; Compensation factor 5.116, 5.117 -r * Laplace transform of concentration feedback time-delay Fig. 3.4, Appendix B ~r s Laplace transform of temperature feedback time-delay Fig. 3.4, Appendix B E Activation energy 3.9 Coolant flow rate measuring device Fig. 1.1 Feedback parameter Fig. 6.28, Appendix G K c t p c e e c T F c F c 100 Notation 101 Uncertain open-loop gain 5.126 Fii Open-loop gain coefficient between M; and Y\ 4.47- 4.50 Fijd Open-loop gain coefficient of decoupled system 5.106- 5.109 F Reactant flow rate measuring device Fig. 1.1 F(s) Laplace transform of f(t) or Af(t) 3.26, 3.27, Appendix B 9ij Dynamic gain of a 2 x 2 system Fig. 3.2 G Process compensator Fig. 6.28, 6.150 G\c Concentration process compensator Fig. 7.30 GiT Temperature process compensator Fig. 7.30 G Time-delay compensator Fig. 6.28, 6.150 Gc Concentration time-delay compensator Fig. 7.30 GT Temperature time-delay compensator Fig. 7.30 Gcij Process closed-loop transfer function 3.14, Appendix C Gij Process open-loop transfer function 3.32- 3.36 G, Smith compensation of process 6.147, Fig. 6.27 h[T{t)) Heat addition or removal from a reactor 3.2 H Smith compensation of time-delay 6.147, Fig. 6.27 Ii Set point or input variable Fig. 4.6 lc Concentration set point Fig. 1.1, 3.41 IT Temperature set point Fig. 1.1, 3.41 Jij Steady-state gain of disturbance channel Fig. 3.2 kij Gain of compensator 5.102, 5.103, Fig. 5.16 K Reaction-rate constant 3.8 Ka Steady-state gain of a 2 x 2 system Fig. 3.2, Fig. 5.16 K, Gain of process compensator pp.85, 6.154 K Gain of time-delay compensator pp.85, 6.154 q x 2 2 2 s 2 Notation 102 K Amplifier gain Fig. 6.22 L{-) Notation of Laplace transform Appiendix B L Channel gain from C to Q Fig. 4.11, 4.66 L\2 Channel gain from T to Q Fig. 4.11, 4.66 L21 Channel gain from C to Q L22 c U c Fig. 4.12, 4.67 Channel gain from T to Q c Fig. 4.12, 4.67 M Manipulated variable of concentration Fig. 5.13 Mi Manipulated variable Fig. 4.5 M Manipulated variable of temperature Fig. 5.13~5.15 n Reaction order 3.8 Output of Smith compensator Fig. 6.27 Decoupling compensator 5.85 , Fig. 5.13 Pi Coefficient App endix F P(s) Open-loop characteristic equation of a CFSTR 3.30 Closed-loop characteristic equation of a CFSTR 3.46 , Appendix C Volumetric flow rate 3.1 Coolant flow rate 3.3 QcO Coolant flow rate steady-state operating condition 3.15 Q Reactant flow rate steady-state operating condition 3.14 r Rate of reaction 3.8 R Gas constant 3.9 Ri Controller Fig. 4.6 R Coolant flow rate controller Fig. 1.1 Rc Concentration controller Fig. 1.1, pp.28 Rq Reactant flow rate controller Fig. 1.1 RT Temperature controller Fig. 1.1, pp.28 c T N c Q 0 c : : Notation 103 s Complex variable of Laplace transform Appendix B Sij Closed-loop gain coefficient 4.51~ 4.54 t Time 3.1 Average coolant temperature 3.4 T Temperature in a reactor 3.2 T{ Inlet temperature of reactant A 3.2 Ti Inlet temperature of coolant 3.3 T t Outlet temperature of coolant 3.3 Tio Steady-state inlet temperature 3.15 T Steady-state temperature operating condition 3.14 U Overall heat transfer coefficient 3.4 V Reactor volume 3.1 Y Output variable Appendix F Yj Output variable Fig. 4.5 Transformed coefficient 6.132, Appendix E c\i Transformed coefficient 6.132, Appendix E cti Coefficient 3.16~3.19 ft Coefficient 3.20-3.23 d Increment pp.43 p Fluid density of coolant 3.3 Pj Fluid density of reacting mixture 3.2 A Increment PP-22, pp.23, Appendix A AH Heat of reaction 3.2 Tc Concentration feedback time-delay PP-28, T c c n cou 0 Greek d 0 c Appendix C 104 Notation Temperature feedback time-delay pp.28, Appendix C An Uncertain relative gain 5.127 And Uncertain relative gain of a decoupled system 5.130 Xij Relative gain between Mj and V} 4.55~ 4.58 Xijd Relative gain of decoupled system i Ud 5.110 Damping factor 6.142, Appendix F System frequency pp.86, 6.165 Damped natural frequency Appendix F Undamped natural frequency 6.141, Appendix F Appendix A The Taylor Series Expansion for a System with Two Dependent Variables Consider a nonlinear system whose output y is a function of two dependent inputs xi and X 2 , so that y = f{x ,x ) 1 (A.171) 2 In order to obtain a linear approximation to this nonlinear system, we may expand Equation A.171 into a Taylor series about the normal operating point y , 0 x 2 f l . Then Equation A.171 becomes V = /(zi,22) = f(x ,x ) llt + ,df [ 2l< dx-L 6f_ + dx 2 (xi «1 = X *2 = 2=2,, (x 2 Xi — X = 22„ 2 - - X) U U X ,)\ 2l Xi (l + higher-order terms (A.172) Near the normal operating point, the higher-order terms may be neglected. The linear mathematical model ofjthis nonlinear system in the neighborhood of the normal operating condition is then given by 105 106 Appendix: Taylor Series Expansion y = f(x ,x ) 1 % 2 f(x ,x ) u 2ll df + dxi 2=1 = 2 2 Ii,, = X 2 l l 5/ + dx (*2 2 331 = ^2 352,,) (A.173) ^lo = X 2f) Lettting 5/ (A.174) dxi 2„ x 2=2 = K 2 = df dx'. (A.175) x i — X 2 A x j — Xi Ax 2 i<, x 2 x ~ (l (A.176) — = x 2 x (A.177) 2(t (A.178) A y = y -2/o So A y % ifiAajj + K Ax 2 2 (A.179) Appendix B Laplace Transformation B.l Delay Function In order to obtain the Laplace transform of the delay function f(t — r), f(t) is assumed to be zero for t < 0 or f(t — r) = 0 for t < r. Then, for 0 < t < r. we have F(s) = / Jo — e f(t-r)e-^- dt T) / Jo (B.180) f(t~r) e~ dt st Thus, L[f(t -T)]= r°° Jo f(t - r)e- dt - H - 'F(s) T e (B.181) This last equation states that the time-delay of function f(t) by r corresponds to the multiplication of the F(s) by e~ . Ta B.2 Final Value Theorem If /(t) and df(t)/dt are Laplace transformable, if h m _ / ( i ) exits, then let s approach t 0o zero in the equation for the Laplace transform of the derivative of f(t), or hm r e~ dt = nm\sF(s) - /(0)1 st «—OJQ (B.182) s—*0 Since lim<,-*e *' = 1, we obtain 0 r d dt fit) dt = /(oo) - /(0) = hm sF(s) - /(0) Jo 107 (B.183) Appendix: Taylor Series Expansion 108 So, /(oo) = H m / ( i ) = JimsF(s) t (B.184) Appendix C Derivation of the Closed-loop Transfer Function for the CFSTR with Time-delay For Figure 3.4, we have Q(s) C{s) Gu(s) G (s) T(s) G (s) G (s) [ Qc(*) Gn(s) G (s) Rc{s) 0 G (s) G (s) 0 R (s) 12 21 22 l2 21 + 22 + ' CM D i(s) D {s) _ Us) 2 22 Rc{s)G (s) RT{S)G {S) Rc{s)G {s) RT(S)G (S) n Du{s) D (S) 21 I 12 21 l2 D {s) D {s) \ [ Ti{s) I 22 22 ' " I (s)-e-Tc'C(s)~ c I ( ) - e-^'T(s) T D (s) 12 D (s) j I" d(s) lx 21 D (s) u D {s) T S l (s) 0 T Dii(s) 0 C(s) e" * T(s) TT (C.185) Ti(s) D {S) 22 For simplicity, letting [G][R] R (s)G (s) R (s)G (s) Rc(s)G (s) R (s)G (s) c u 2l Ic(s) I (s) T 109 T T 12 (C.186) 22 (C.187) Appendix: Derivation of Transfer Function with. Time-delay 110 -TC* (C.188) [£] = o C(s) (C.189) T(s) D {s) D {s) D (s) D {s) u 12 21 (C.190) 22 Ci(3) (C.191) [Yi\ 1 0 [U] (C.192) 0 1 Then, Equation C-185 can be rewritten as [Y] = [G}[R}{[1] - [E}[Y]} + [D}^ (C.193) or (C.194) [Y] = ([U} + [G][R)[E])- ([G)[R][I] + [D][Y \) 1 i Expanding Equation C-194, we get G ll(s) G 12(s) G i(s) G (s) c C(s) c c2 + his) c22 D ii(s) D i (s) D i{s) D (s) c c c2 Cii*) 2 Tii») c22 Pcis) T(s) (C.195) where G (s) cU = [1 + e-^'R (s)G (s)]Rc{s)G (s) T 2i 11 G {s) = [1 + e-^'R {s)G {s)}R {s)G (s) cl2 T 22 T 12 - e~ ^R (s)R { )G (s)G {s) r c T 3 l2 21 - e-^'R {s)G (s)G { ) T 12 22 s (C.196) (C.197) 111 Appendix: Derivation of Transfer Function with Time-delay G i(s) = [1 + e- 'R (s)G (s)]R (s)G (s) - e- R (s)G (s)G (s) (C.198) - e- R (s)R (s)G 2(s)G2 (s) (C.199) Tc c2 c 11 c Tc3 21 c G 2{s) = [1 + e- R (s)G {s)]R (s)G22(s) rc3 c2 c 11 TC3 T c T 1 - e- R (s)G 2(s)D (s) (C.200) cl2 = [1 + e- R (s)G 2(s)]D (s) - e ^ ' R ^ G ^ s ) ^ * ) (C.201) rT3 T TT3 11 T TT3 T 2 12 a c21 c D 22 = [1 + e - T C 5 C 21 ^ ( s ) G „ ( 3 ) p ( ) - e2 2 5 (C.202) i? ( )G ( ) D ( ) (C.203) c Tcs T T c 5 n T 5 22 21 il ( )G ( )Z) ( ) Tca 5 1 c 5 5 P ( ) = [l+e- ^i? ( )G (3)][l+e- ^il ( )G (5)]-e-( 5 1 = [1 + e- R {s)G22{s))D {s) £> = [1 + e-^ i? (s)Gii(3)]D ( ) - e - c 21 cll D D n 2 21 21 Tc+ 5 5 u J 12 5 5 ^^ (C.204) Appendix D An Important Property of the Relative Gain for a 2 x 2 system Bristol (1966) pointed out that the rows and columns of the RGA sum to 1.0. Therefore, for a 2 x 2 system, we have An + A12 = 1 A21 4- A22 1 = An + A21 = 1 A12 "I" A2 — 2 1 thus An = A 22 A12 — A21 — 1 —11 A So, the relative gain array (RGA) becomes M a M An A Y 2 A/j 2 An 12 A21 A 2 2 M Y 2 1 - A 2 1 - A n (D.205) n Needless to say, the main channels (Mi — > - Y\ and M —» Y~ ) have the same relative gain. 2 112 2 Appendix E Dimensionless Variable Transformation Consider C(s) a M {s) s + ay (E.206) 0 c V the differential equation form of Equation E-206 is d A ° ^ dt + a AC(«) = a A M ( 0 x o c (E.207) where C(-) is the output variable and Mc(-) is the manipulated variable (See Equation 5.104), which are not the same dimension. Letting (7(0 = ^ M c ( t ) = (E.208) M£ffl (E.209) 1*1 Cmax where C max and Mcmax are the assumed maximum value of the output variable and the manipulated variable, respectively. Dividing Equation E-207 by C , max d & l + a i we get ^l = ^-AMcit) ^^Ma(t) = (E.210) or rdiC(t) = d Mc(t) (E.211) I (E.212) 0 where d = °"^ 0 Cmfi;c and d = a . a a So, • C(s) _ M (5)U d 0 5 + dj C 113 Appendix: Dimensionless Variable Transformation 114 For the convenience of expression (see Equation 6.132), we still write Equation E.212 as C(s) do M (s) c dimensionless ^ * Assuming C x = 1-3 and Mc x = 1-3, then ma ma CioMcmax 6.347 x 10~ x 1.3 x 10 1.3 x 15.31 x lO" 6 a 0 5 c?! = Q l = 0.4245 0.41456 (E.213) (E.214) Appendix F The Standard Solution of a Second-order System Consider a second-order system as 2 UJ. s + 2& s + UJ* Y(s) I (a) 2 n For a unit-step input, Y(s) can be written UJI Y(s) If 0 < i < 1, then Y(t) = 1 - e-^lcosiujjt) + -^J=sin(uj t)} t> 0 d where OJJ = uj ^Jl — £ . 2 n If £ = 1, then Y(t) = 1 - e-"- (l +uj t) t>0 f n If £ > 1, then UJ ^Vf - 1 where P l e~ e~ P7t Vi Pi = (P + v / F ^ l K and p = (( 2 Pli VF^) UJ . R 0 115 Appendix G Derivation of the Transfer Function for a Time-delay Compensation System For the system block diagram shown in Figure 6.28, the Mc(s) and Ic{s) are related as follows: M (s) = K (s)[Ic(s) c - F (s)] c (G.220) c and F (s) = G (s){G (s)[e- C(s) - F (s)} + M (s)} Tca c 1 2 c (G.221) c Solving Fc(s) from above equation gives [Mc(s) + G (8)e-^'C(3)]G {s) ~ l + G (s)G (s) 2 F C { S ) 1 1 ( G 2 - 2 2 2 ) So M (s) c or - K (s){Ic(s) ,,x _ K (s){Ic(s)[l M + G (s)G (s)} c C { ) _ c ~ 1 , 1 _ } (Q.223) GMGMe-^'Cjs)} - 2 1 + G (s)G (s) _ + G (s)K (s) 2 1 ( G c - 2 2 4 ) and then C(s) = Gu(s)M (s) c Kc(s)Gu(s){Ic(s)[l + G (s)G (s)} l + G (s)G (s) + l 1 2 2 G (s)G (s) -^'C(s)} (G.225) G (s)K (s) 1 1 2 e c Finally, the transfer function of the closed-loop system is C(s) Ic(s) = 1 + G (s)G (s) 1 2 KcWGMll + K (s)Gi(s) c K (s)G (s) l+G (s)e- c*Gu(s) c 11 T 1+ + GMGtjs)] + K (s)G (s)G (s)G (s)e-^ ^ ( ^ ( 3 ) ^ = ^ 2 116 c 1 2 11 (G.226) Appendix H No. e Simulation Data Xnd No. e Xiu No. e And 1 0.0000 11.30 21 1.0463 11.34 41 1.0483 -13.28 2 0.1000 9.42 22 1.0464 12.40 42 1.0484 -11.88 3 0.2000 7.84 23 1.0465 13.69 43 1.0485 -10.73 4 0.3000 6.49 24 1.0466 15.03 44 1.0486 -9.78 5 0.4000 5.34 25 1.0467 17.36 45 1.0487 -8.98 6 0.5000 4.33 26 1.0468 20.08 46 1.0488 -8.30 7 0.6000 3.45 27 1.0469 23.86 47 1.0489 -7.70 8 0.7000 2.68 28 1.0470 29.42 48 1.0490 -7.19 9 0.8000 1.99 29 1.0471 38.48 49 1.0500 -4.22 10 0.9000 1.39 30 1.0472 55.80 50 1.0600 -0.53 11 1.0000 1.00 31 1.0473 102.17 51 1.1000 -0.0008 12 1.0200 1.08 32 1.0474 629.73 52 1.2000 -0.32 13 1.0300 1.28 33 1.0475 -149.74 53 1.3000 -0.72 14 1.0400 2.17 34 1.0476 -66.61 54 1.4000 -1.09 15 1.0420 2.76 35 1.0477 -42.71 55 1.5000 -1.45 16 1.0440 4.06 36 1.0478 -31.36 56 1.6000 -1.78 17 1.0450 5.52 37 1.0479 -24.74 57 1.7000 -2.09 18 1.0460 9.05 38 1.0480 -20.39 58 1.8000 -2.37 19 1.0461 9.69 39 1.0481 -17.32 59 1.9000 -2.64 20 1.0462 10.45 40 1.0482 -15.04 60 2.0000 -2.89 Table H.3: The relative gain A j versus the compensation factor e, A = 1 u n 117 Appendix: Taylor Series Expansion No. e Xiu No. e And No. e And 1 0.0000 5.65 21 1.1020 91.50 41 1.1400 -0.31 2 0.1000 4.80 22 1.1021 138.18 42 1.1500 -0.18 3 0.2000 4.08 23 1.1022 283.51 43 1.1600 -0.11 4 0.3000 3.46 24 1.1023 -5096.36 44 1.1700 -0.06 5 0.4000 2.93 25 1.1024 -254.25 45 1.1800 -0.03 6 0.5000 2.46 26 1.1025 -130.14 46 1.1900 -0.01 7 0.6000 2.06 27 1.1026 -87.35 47 1.2000 -0.005 8 0.7000 1.70 28 1.1027 -65.68 48 1.3000 -0.07 9 0.8000 1.39 29 1.1028 -52.58 49 1.4000 -0.21 10 0.9000 1.14 30 1.1029 -43.81 50 1.5000 -0.36 11 1.0000 1.00 31 1.1030 -37.53 51 1.6000 -0.51 12 1.0600 1.22 32 1.1040 -15.24 52 1.7000 -0.65 13 1.0800 1.74 33 1.1050 -9.43 53 1.8000 -0.79 14 1.0900 2.70 34 1.1060 -6.76 54 1.9000 -0.91 15 1.0920 3.12 35 1.1070 -5.22 55 2.0000 -1.03 16 1.0940 3.74 36 1.1080 -4.23 56 17 1.0960 4.76 37 1.1090 -3.53 57 18 1.0980 6.74 38 1.1100 -3.01 58 19 1.1000 12.18 39 1.1200 -1.07 59 20 1.1010 21.20 40 1.1300 -0.54 60 Table H.4: The relative A =0.5x 11.3 = 5.65 n gain X n d versus the compensation factor Appendix: Simulation Data No. e And No. e And No. 1 0.0000 16.95 21 1.0307 46.23 41 1.3000 -1.43 2 0.1000 14.04 22 1.0308 110.38 42 1.4000 -2.02 3 0.2000 11.61 23 1.0309 -272.38 43 1.5000 -2.57 4 0.3000 9.54 24 1.0310 -60.43 44 1.6000 -3.08 5 0.4000 7.76 25 1.0320 -6.45 45 1.7000 -3.55 6 0.5000 6.21 26 1.0330 -3.20 46 1.8000 -3.98 7 0.6000 4.86 27 1.0340 -2.03 47 1.9000 -4.39 8 0.7000 3.66 28 1.0350 -1.43 48 2.0000 -4.77 9 0.8000 2.60 29 1.0360 -1.07 49 10 0.9000 1.67 30 1.0370 -0.83 .50 11 1.0000 1.00 31 1.0380 -0.66 51 12 1.0200 1.30 32 1.0390 -0.53 52 13 1.0220 1.45 33 1.0400 -0.43 53 14 1.0240 1.69 34 1.0500 -0.07 54 15 1.0260 2.14 35 1.0600 -0.002 55 16 1.0280 3.25 36 1.0700 -0.01 56 17 1.0300 9.49 37 1.0800 -0.05 57 18 1.0302 12.17 38 1.0900 -0.09 58 19 1.0304 17.12 39 1.1000 -0.15 59 20 1.0306 29.37 40 1.2000 -0.79 60 Table H.5: The relative A = 1.5 x 11.3 = 16.95 n gain And versus e And the compensation factor Appendix: Simulation An X {e iu = 1.045) Data 120 A ( e = 1.042) A ( e = 1.04) ud lld \ u d { e = 1.03) Aiw(e = 1.01) 5 8.6 4.1 3.1 1.6 1.08 6 8.1 3.8 2.9 1.6 1.07 7 7.6 3.6 2.8 1.5 1.06 8 7.2 3.4 2.6 1.5 1.05 9 6.7 3.2 2.5 1.4 1.04 10 6.2 3.0 2.4 1.4 1.03 11 5.7 2.8 2.2 1.3 1.02 12 5.3 2.6 2.1 1.2 1.01 13 4.8 2.4 1.9 1.2 0.99 14 4.3 2.2 1.8 1.1 0.98 15 3.9 2.0 1.6 1.1 0.97 16 3.4 1.8 1.5 1.0 0.96 17 2.9 1.6 1.3 0.9 0.95 18 2.5 1.4 1.2 0.9 0.94 19 1.9 1.2 1.0 0.8 0.93 20 1.5 1.0 0.9 0.8 0.92 21 1.0 0.8 0.7 0.7 0.91 22 0.5 0.6 0.6 0.7 0.89 23 0.1 0.4 0.4 0.6 0.88 24 -0.4 0.2 0.3 0.6 0.87 25 -0.8 -0.04 0.1 0.5 0.86 Table H.6: A l l d versus A with e > 1 n Appendix: Simulation Data 121 A ( e = 1.048) A (e = 1.047) -6.38 -30.2 51.7 -0.37 -6.40 -28.4 48.7 0.011 -0.33 -5.97 -26.6 45.8 8 0.008 -0.29 -5.55 -24.8 42.8 9 0.005 -0.25 -5.12 -23.0 39.8 10 0.003 -0.21 -4.69 -21.0 36.8 11 0.000 -0.17 -4.27 -19.4 33.8 12 -0.003 -0.13 -3.84 -17.6 30.8 13 -0.005 -0.09 -3.41 -15.8 27.8 14 -0.008 -0.05 -2.99 -14.1 24.8 15 -0.011 -0.01 -2.56 -12.3 • 21.8 16 -0.013 0.03 -2.13 -10.5 18.8 17 -0.016 0.07 -1.71 -8.6 15.8 18 -0.019 0.11 -1.28 -6.8 12.8 19 -0.021 0.15 -0.85 -5.1 9.8 20 -0.024 0.19 -0.43 -3.3 6.8 21 -0.027 0.23 0.00 -1.5 3.8 22 -0.029 0.26 0.43 0.3 0.8 23 -0.032 0.30 0.85 2.09 -2.2 24 -0.035 0.34 1.28 3.88 -5.2 25 -0.037 0.38 1.71 5.69 -8.2 An Aiw(e = 1.1) A (e = 1.07) 5 0.016 -0.41 6 0.013 7 nd \ (e Table H.7: A lU l l d = 1.05) iw versus A with e > 1 n ud Appendix: Simulation Data An An (e = 0.8) An^e = 0.9) An<f(e = 0.95) And(e = 0.99) 5 1.2 0.9 0.91 0.95 6 1.3 1.0 0.94 0.96 7 1.4 1.0 0.98 0.97 8 1.6 1.2 1.02 0.98 9 1.7 1.2 1.06 0.99 10 1.8 1.3 1.09 0.99 11 1.9 1.4 1.13 1.01 12 2.1 1.4 1.17 1.02 13 2.2 1.5 1.21 1.03 14 2.3 1.6 1,25 1.03 15 2.5 1.6 1.28 1.04 16 2.6 1.7 1.32 1.05 17 2.7 1.8 1.36 1.06 18 2.9 1.9 1.39 " 1.07 19 3.0 1.9 1.44 1.08 20 3.1 2.0 1.47 1.09 21 3.2 2.1 1.51 1.09 22 3.7 2.1 1.55 1.11 23 3.5 2.2 1.58 1.12 24 3.6 2.3 1.62 1.13 25 3.8 2.3 1.66 1.17 d Table H.8: A l l d versus A with e < 1 n 123 Appendix: Taylor Series Expansion t C(<)A' =IO C(t)/< ioo t C c= C(0K =I C C(Z)A- C = IO C(t) Kc=W0 0.0 0.000 0.000 0.000 4.0 0.477 0.1 0.040 0.333 0.975 4.2 0.480 0.2 0.076 0.543 0.989 4.4 0.482 0.4 0.141 0.761 0.990 4.6 0.484 0.6 0.195 0.849 0.990 4.8 0.485 0.8 0.242 0.884 0.990 5.0 0.487 0.907 0.990 1.0 0.281 0.898 0.990 6.0 0.491 0.907 0.990 1.2 0.314 0.903 7.0 0.493 0.907 0.990 1.4 0.341 0.906 8.0 0.493 0.907 0.990 1.6 0.365 0.907 9.0 0.494 0.907 0.990 1.8 0.385 0.907 10.0 0.494 0.907 0.990 2.0 0.402 0.907 11.0 0.494 0.907 0.990 2.2 0.416 12.0 0.494 0.907 0.990 2.4 0.428 2.6 0.438 2.8 0.447 3.0 0.454 3.2 0.460 3.4 0.466 3.6 0.470 3.8 0.474 4.0 0.477 0.990 • 0.907 0.990 0.907 0.990 Table H.9: Unit-step response of the concentration control system without time-delay Appendix: Taylor Series Expansion t C{t) =2.8 Kc C(t)*c=3 124 Kc=z 2 t C(t) . C(t)K c =2.8 C(t)tfc=3 C{t) =3.2 Kc 0.0 0.00 0.00 0.00 6.0 0.73 0.82 1.13 0.2 0.28 0.32 0.35 7.0 0.76 0.85 1.02 0.4 0.53 0.62 0.71 8.0 0.75 0.75 0.62 0.6 0.74 0.89 1.04 9.0 0.73 0.70 0.52 0.8 0.92 1.11 1.33 10.0 0.73 0.72 0.75 1.0 1.05 1.28 1.56 11.0 0.73 0.76 0.92 1.2 1.13 1.40 1.71 12.0 0.73 0.76 0.83 1.4 1.18 1.46 1.79 13.0 0.73 0.75 0.68 1.6 1.20 1.46 1.80 14.0 0.73 0.74 0.67 1.8 1.18 1.43 1.74 15.0 0.73 0.74 0.77 2.0 1.14 1.35 1.61 16.0 0.73 0.75 0.82 2.2 1.09 1.25 1.44 17.0 0.73 0.75 0.77 2.4 1.02 1.13 1.23 18.0 0.73 0.74 0.72 2.6 0.95 1.00 1.01 19.0 0.73 0.74 0.73 2.8 0.89 0.88 0.79 20.0 0.73 0.74 0.77 3.0 0.82 0.76 0.58 4.0 0.63 0.46 0.11 5.0 0.65 0.61 0.60 Table H.10: Unit-step response of the concentration control system with measuring time-delay. 125 Appendix: Simulation Data t 0.0 C(i)ftT =10 C(*)A- =I5 t 0.00 0.00 2.4 0.82 2.5 1.58 2.6 1.85 2.7 1.55 2.8 0.94 2.9 0.42 3.0 0.28 3.1 0.54 3.2 0.99 3.3 1.34 3.4 1.40 3.5 1.18 3.6 0.86 3.7 0.63 3.8 0.61 3.9 0.78 4.0 1.02 4.1 1.17 4.2 1.16 4.3 1.02 4.4 0.86 4.5 0.76 4.6 0.78 4.7 C 0.00 0.1 0.2 0.59 1.12 0.3 0.4 1.06 1.54 0.5 0.6 1.14 1.01 0.7 0.8 0.98 0.57 0.9 1.0 0.79 0.72 1.1 1.2 0.72 1.04 1.3 1.4 0.76 1.07 1.5 1.6 0.83 0.89 1.7 1.8 0.86 0.80 1.9 2.0 0.86 0.88 2.1 2.2 2.3 0.84 0.96 C C(t) Kc=5 0.82 C(t) K io c= 0.94 C(t) Kc=ls 0.89 1.01 0.82 0.89 1.06 1.04 0.82 0.88 0.96 0.88 0.91 0.84 0.87 0.93 0.93 0.98 0.91 1.00 0.98 0.90 0.94 0.90 0.90 0.89 0.91 0.91 0.94 0.97 0.91 0.97 0.95 0.91 0.93 0.91 0.90 0.91 0.92 Table H.ll: Unit-step response of the concentration control system with measuring time-delay. 126 Appendix: Simulation Data C(t) .2 Tc=0 C(0 i C(t) =2 v C(t)Eq.6.169 Tc 0 0.00 0.00 0.00 0.00 0.00 1 0.37 0.38 0.38 0.38 0.34 2 0.60 0.61 0.62 0.63 0.56 3 0.75 0.76 0.77 0.79 0.70 4 0.84 0.85 0.86 0.89 0.80 5 0.89 0.90 0.92 0.95 0.86 6 0.93 0.94 0.94 0.98 0.90 7 0.95 0.96 0.97 0.99 0.93 8 0.97 0.97 0.98 1.00 0.94 9 0.98 0.98 0.98 1.00 0.96 10 0.98 0.98 0.99 1.00 0.96 11 0.98 0.99 0.99 1.00 0.97 12 0.99 0.99 0.99 1.00 0.97 13 0.99 0.99 0.99 1.00 0.97 14 0.99 0.99 0.99 0.99 0.97 15 0.99 0.99 0.99 0.99 0.98 16 0.99 0.99 0.99 0.99 0.98 17 0.99 0.99 0.99 0.99 0.98 18 0.99 0.99 0.99 0.99 0.98 19 0.99 0.99 0.99 0.99 0.98 20 0.99 0.99 0.99 0.99 0.98 Table H.12: The unit-step response of the concentration control loop with a physically realizable time-delay compensator. Kc = 100, K\ = 0.976 and K = 0.1. 2
- Library Home /
- Search Collections /
- Open Collections /
- Browse Collections /
- UBC Theses and Dissertations /
- Design of decoupling control and time-delay compensation...
Open Collections
UBC Theses and Dissertations
Featured Collection
UBC Theses and Dissertations
Design of decoupling control and time-delay compensation for a CFSTR Chen, Liang 1990
pdf
Page Metadata
Item Metadata
Title | Design of decoupling control and time-delay compensation for a CFSTR |
Creator |
Chen, Liang |
Publisher | University of British Columbia |
Date | 1990 |
Date Issued | 2010-10-22T15:36:29Z |
Description | This thesis is concerned with the design of a decoupling compensator and a time-delay compensator for a nonisothermal continuous flow stirred tank reactor (CFSTR). An expression for the analysis of interaction of the two-variable CFSTR was theoretically derived by using the relative gain method (RGM). For the purpose of improving the stability of the decoupling control system, undercompensation for a decoupled CFSTR system was suggested and the robustness test of such undercompensation decoupler to the modelling error was studied. On the other hand, the proposed time-delay compensation method, unlike conventional Smith's scheme, can rely on the basic property of gain-invariant time-delay. The stability of this time-delay compensation method is not affected by the CFSTR control system time-variant time-delay, while its compensation structure has the same features as the Smith compensator. The design of a decoupler and that of a time-delay compensator are independent of each other. All compensation structures are physically realizable. The theoretical results are supported by simulation. Simulation results for a CFSTR demonstrate that the undercompensation decoupling control can tolerate a relatively wide modelling error and reduce the sensitivity of the CFSTR process to parameter variations and unwanted disturbances. Also, simulation results show that the proposed time-delay compensator can provide an improvement over the conventional Smith compensator. |
Subject |
Chemical reactors -- Design and construction Sewage -- Purification |
Genre |
Thesis/Dissertation |
Type |
Text |
Language | eng |
Collection |
Retrospective Theses and Dissertations, 1919-2007 |
Series | UBC Retrospective Theses Digitization Project |
Date Available | 2010-10-22 |
Provider | Vancouver : University of British Columbia Library |
Rights | For non-commercial purposes only, such as research, private study and education. Additional conditions apply, see Terms of Use https://open.library.ubc.ca/terms_of_use. |
DOI | 10.14288/1.0058874 |
Degree |
Master of Applied Science - MASc |
Program |
Chemical and Biological Engineering |
Affiliation |
Applied Science, Faculty of Chemical and Biological Engineering, Department of |
Degree Grantor | University of British Columbia |
Campus |
UBCV |
Scholarly Level | Graduate |
URI | http://hdl.handle.net/2429/29469 |
Aggregated Source Repository | DSpace |
Download
- Media
- UBC_1990_A7 C43_5.pdf [ 6.51MB ]
- [if-you-see-this-DO-NOT-CLICK]
- Metadata
- JSON: 1.0058874.json
- JSON-LD: 1.0058874+ld.json
- RDF/XML (Pretty): 1.0058874.xml
- RDF/JSON: 1.0058874+rdf.json
- Turtle: 1.0058874+rdf-turtle.txt
- N-Triples: 1.0058874+rdf-ntriples.txt
- Original Record: 1.0058874 +original-record.json
- Full Text
- 1.0058874.txt
- Citation
- 1.0058874.ris
Full Text
Cite
Citation Scheme:
Usage Statistics
Country | Views | Downloads |
---|---|---|
United States | 11 | 0 |
China | 4 | 4 |
Poland | 3 | 0 |
Australia | 2 | 0 |
Germany | 2 | 0 |
Iran | 1 | 0 |
France | 1 | 0 |
Canada | 1 | 0 |
Japan | 1 | 0 |
City | Views | Downloads |
---|---|---|
Unknown | 6 | 0 |
Ashburn | 3 | 0 |
Shenzhen | 3 | 4 |
Rosemount | 3 | 0 |
Melbourne | 2 | 0 |
San Jose | 2 | 0 |
Redmond | 2 | 0 |
Beijing | 1 | 0 |
Mountain View | 1 | 0 |
Azad | 1 | 0 |
Vancouver | 1 | 0 |
Tokyo | 1 | 0 |
{[{ mDataHeader[type] }]} | {[{ month[type] }]} | {[{ tData[type] }]} |
Share
Embed
Customize your widget with the following options, then copy and paste the code below into the HTML
of your page to embed this item in your website.
<div id="ubcOpenCollectionsWidgetDisplay">
<script id="ubcOpenCollectionsWidget"
src="{[{embed.src}]}"
data-item="{[{embed.item}]}"
data-collection="{[{embed.collection}]}"
data-metadata="{[{embed.showMetadata}]}"
data-width="{[{embed.width}]}"
async >
</script>
</div>
Our image viewer uses the IIIF 2.0 standard.
To load this item in other compatible viewers, use this url:
http://iiif.library.ubc.ca/presentation/dsp.831.1-0058874/manifest