Air-Fuel Ratio Control in Spark Ignition Internal Combustion Engines Using Switching LPV Techniques by Marius Postma B.A.Sc., University of British Columbia, 2008 A THESIS SUBMITTED IN PARTIAL FULFILLMENT OF THE REQUIREMENTS FOR THE DEGREE OF Master of Applied Science in THE FACULTY OF APPLIED SCIENCE (Mechanical Engineering) The University Of British Columbia (Vancouver) December 2010 c Marius Postma, 2010 Abstract The Three-Way Catalytic Converter (TWC) is a critical component for the mitigation of tailpipe emissions of modern Internal Combustion (IC) engines. Because the TWC operates effectively only when a stoichiometric ratio of air and fuel is combusted in the engine, accurate control of the air-fuel ratio is required. To track the desired ratio, a switching Linear Parameter Varying (LPV) air-fuel ratio feedback controller, scheduled based on engine speed and air flow, and providing guaranteed L2 performance, is introduced. The controller measures the air-fuel ratio in the exhaust flow using a Universal Exhaust Gas Oxygen (UEGO) sensor and adjusts the amount of fuel injected accordingly. A detailed model of the air-fuel ratio control problem is developed to demonstrate the non-linear and parameter-dependent nature of the plant, as well as the presence of pure delays. The model’s dynamics vary considerably with engine speed and air flow. A simplified model, widely used in literature and known as a First Order Plus Dead Time (FOPDT) model, is then derived. It effectively captures the control problem using a model which is linear but parameter-varying with engine speed and air flow. ii Large variation of the FOPDT model across the engine’s operating range has led to conservative LPV controllers in previous literature. For this reason, the operating range is divided into smaller subregions, and an individual LPV controller is designed for each subregion. The LPV controllers are then switched based on the current engine speed and air flow and are collectively referred to as a switching LPV controller. The controller design problem is expressed as a Linear Matrix Inequality (LMI) convex optimization problem which can be efficiently solved using available LMI techniques. Simulations are performed and the air-fuel ratio tracking performance of the switching LPV controller is compared with that of conventional controllers in- cluding, H∞ and LPV , as well as a novel adaptive controller. The switching LPV controller achieves improved performance over the complete operating range of the engine. iii Table of Contents Abstract . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ii Table of Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . iv List of Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . viii List of Figures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ix Glossary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xii Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiv Dedication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xvi 1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 1.1 Motivation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 1.2 Problem Statement . . . . . . . . . . . . . . . . . . . . . . . . . 3 1.3 Literature Review . . . . . . . . . . . . . . . . . . . . . . . . . . 6 1.3.1 Air-Fuel Ratio Controllers . . . . . . . . . . . . . . . . . 6 1.3.2 Controller Design Theory . . . . . . . . . . . . . . . . . . 12 iv 1.4 Research Objectives . . . . . . . . . . . . . . . . . . . . . . . . . 14 1.5 Organization of Thesis . . . . . . . . . . . . . . . . . . . . . . . 16 2 Modeling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 2.1 A Measure of Air-Fuel Ratio . . . . . . . . . . . . . . . . . . . . 18 2.2 Mean Value Modeling . . . . . . . . . . . . . . . . . . . . . . . . 19 2.3 Detailed Model of Plant . . . . . . . . . . . . . . . . . . . . . . . 19 2.3.1 Air Flow Dynamics . . . . . . . . . . . . . . . . . . . . . 20 2.3.2 Wall Wetting Dynamics . . . . . . . . . . . . . . . . . . . 21 2.3.3 Four-Stroke Engine Cycle Delays . . . . . . . . . . . . . 22 2.3.4 Exhaust Mixing . . . . . . . . . . . . . . . . . . . . . . . 25 2.3.5 Exhaust Transport Delay . . . . . . . . . . . . . . . . . . 26 2.3.6 Sensor Dynamics . . . . . . . . . . . . . . . . . . . . . . 27 2.3.7 Complete Model . . . . . . . . . . . . . . . . . . . . . . 28 Reduction to First Order Plus Dead Time . . . . . . . . . . . . . . 29 2.4.1 Steady State Gain . . . . . . . . . . . . . . . . . . . . . . 31 2.4.2 Time Constant . . . . . . . . . . . . . . . . . . . . . . . . 32 2.4.3 Pure Delay . . . . . . . . . . . . . . . . . . . . . . . . . 32 Rational Plant Model . . . . . . . . . . . . . . . . . . . . . . . . 33 3 Controller Design . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 2.4 2.5 3.1 LPV Controller . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 3.1.1 Linear Parameter Varying Form of the Plant . . . . . . . . 38 3.1.2 Scheduling Parameter . . . . . . . . . . . . . . . . . . . . 40 v 3.1.3 LPV Controller Design . . . . . . . . . . . . . . . . . . . 40 Switching LPV Controller . . . . . . . . . . . . . . . . . . . . . 42 3.2.1 Linear Parameter Varying Form of Plant . . . . . . . . . . 43 3.2.2 Scheduling Parameter . . . . . . . . . . . . . . . . . . . . 46 3.2.3 Switching LPV Controller Design . . . . . . . . . . . . . 47 3.3 H∞ Controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 3.4 Adaptive Controller . . . . . . . . . . . . . . . . . . . . . . . . . 53 4 Simulation Results . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56 3.2 4.1 LPV Controllers . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 4.1.1 Time-Invariant Simulations . . . . . . . . . . . . . . . . . 59 4.1.2 Time-Varying Simulations . . . . . . . . . . . . . . . . . 60 Switching LPV Controllers . . . . . . . . . . . . . . . . . . . . . 62 4.2.1 Time-Invariant Simulations . . . . . . . . . . . . . . . . . 63 4.2.2 Time-Varying Simulations . . . . . . . . . . . . . . . . . 65 Adaptive Controller . . . . . . . . . . . . . . . . . . . . . . . . . 69 4.3.1 Time-Invariant Simulations . . . . . . . . . . . . . . . . . 69 4.3.2 Time-Varying Simulations . . . . . . . . . . . . . . . . . 71 5 Conclusions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 4.2 4.3 5.1 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 5.2 Contributions . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 5.3 Future Work . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78 vi Bibliography . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80 A Switching LPV Controller Synthesis With Guaranteed L2 Performance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86 A.1 Controller Design Problem . . . . . . . . . . . . . . . . . . . . . 87 A.2 Switching Variable . . . . . . . . . . . . . . . . . . . . . . . . . 88 A.3 Controller Design Method . . . . . . . . . . . . . . . . . . . . . 89 A.3.1 Controller Performance . . . . . . . . . . . . . . . . . . . 90 A.3.2 Practical Validity . . . . . . . . . . . . . . . . . . . . . . 91 A.3.3 Switching Performance . . . . . . . . . . . . . . . . . . . 92 A.3.4 Reduction to Finite Dimensional . . . . . . . . . . . . . . 93 A.4 Recapitulative Procedure . . . . . . . . . . . . . . . . . . . . . . 95 B Adaptive Predictive Control Algorithm using Laguerre Network . . 98 B.1 Laguerre Network . . . . . . . . . . . . . . . . . . . . . . . . . . 99 B.2 IMLLPC Algorithm . . . . . . . . . . . . . . . . . . . . . . . . . 100 B.2.1 User-Defined Parameters . . . . . . . . . . . . . . . . . . 101 B.2.2 Constant Matrices . . . . . . . . . . . . . . . . . . . . . . 101 B.2.3 Recursive Estimation . . . . . . . . . . . . . . . . . . . . 102 B.2.4 Control Move Calculation . . . . . . . . . . . . . . . . . 102 vii List of Tables Table 2.1 Sensor Time Constant Values . . . . . . . . . . . . . . . . . . 27 Table 3.1 Switching LPV Controller Design Weighting Functions . . . . . 45 Table 3.2 Complexity and Computing Time of Switching LPV Controllers 51 Table 3.3 Tuning Parameters of the Incremental Mode Linear Laguerre Predictive Control (IMLLPC) Algorithm . . . . . . . . . . . . . viii 54 List of Figures Figure 1.1 Diagram of Engine Showing Air and Fuel Path . . . . . . . . 4 Figure 2.1 Intake Manifold Model . . . . . . . . . . . . . . . . . . . . . 20 Figure 2.2 Wall Wetting Model . . . . . . . . . . . . . . . . . . . . . . . 21 Figure 2.3 Timing of a Four-Cylinder Four-Stroke Engine . . . . . . . . 24 Figure 2.4 Response of a Four-Cylinder Engine to a Step Input . . . . . . 25 Figure 2.5 Model of Exhaust Mixing . . . . . . . . . . . . . . . . . . . . 26 Figure 2.6 Complete Detailed Spark Ignition (SI) IC Engine Model . . . . 28 Figure 3.1 Comparison of LPV Controller Scheduling Structures . . . . . 37 Figure 3.2 Closed-Loop System With LPV Controller . . . . . . . . . . . 38 Figure 3.3 Closed-Loop System With Switching LPV Controller . . . . . 44 Figure 3.4 Operating Space Divided Into R Subregions . . . . . . . . . . 49 Figure 3.5 Comparison of H∞ Controller Scheduling With LPV Controller 52 Figure 4.1 Comparison of Pure Delay and Pad´e Approximation . . . . . 57 ix Figure 4.2 Disturbance rejection of H∞ Controller (Dashed), LPV Controller 1 (Thin), and LPV Controller 2 (Thick) at Fixed Operating Points . . . . . . . . . . . . . . . . . . . . . . . . . . . 59 Figure 4.3 Engine Speed and Air Flow Profiles . . . . . . . . . . . . . . 60 Figure 4.4 Performance of H∞ Controller (Dashed), LPV Controller 1 (Thin), and LPV Controller 2 (Thick) With Time-Varying Plant Dynamics . . . . . . . . . . . . . . . . . . . . . . . . . . . . Figure 4.5 Disturbance Rejection of H∞ Controller (Dashed) and S-LPV Controller 1 (Solid) . . . . . . . . . . . . . . . . . . . . . . . . . Figure 4.6 63 Disturbance Rejection of S-LPV Controller 2 (Dashed) and S-LPV Controller 3 (Solid) . . . . . . . . . . . . . . . . . . . Figure 4.7 61 64 Disturbance Rejection of S-LPV Controller 4 (Dashed) and S-LPV Controller 5 (Solid) . . . . . . . . . . . . . . . . . . . 64 Figure 4.8 Air Flow and Engine Speed Profiles . . . . . . . . . . . . . . 66 Figure 4.9 Engine Operating Point Trajectory . . . . . . . . . . . . . . . 67 Figure 4.10 Time-Varying Switching Variable . . . . . . . . . . . . . . . 67 Figure 4.11 Performance of H∞ Controller (Dashed), S-LPV Controller 1 (Thin), and S-LPV Controller 4 (Thick) With Time-Varying Plant Dynamics . . . . . . . . . . . . . . . . . . . . . . . . . 68 Figure 4.12 Adaptive Controller Reference Tracking for Fixed Operating Points . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70 Figure 4.13 Time-Varying FOPDT Parameters . . . . . . . . . . . . . . . . 71 x Figure 4.14 Tracking Performance of S-LPV Controller 4 (Thin) and the Adaptive Controller (Thick) . . . . . . . . . . . . . . . . . . Figure A.1 Figure B.1 72 An Example Parameter Trajectory Causing Switching Between Two Subregions . . . . . . . . . . . . . . . . . . . . . . . . . 89 Laguerre Network Model Structure . . . . . . . . . . . . . . . 99 xi Glossary ECU Engine Control Unit FOPDT First Order Plus Dead Time HEGO Heated Exhaust Gas Oxygen IC Internal Combustion IMLLPC Incremental Mode Linear Laguerre Predictive Control LMI Linear Matrix Inequality LNT Lean NOx Trap LPV Linear Parameter Varying MVM Mean Value Modeling MAF Manifold Air Flow MAP Manifold Absolute Pressure SI Spark Ignition xii TWC UEGO Three-Way Catalytic Converter or Three-Way Catalyst Universal Exhaust Gas Oxygen xiii Acknowledgments I wish to expresses my sincere appreciation to my devoted supervisor and teacher, Dr. Ryozo Nagamune, for giving me the wonderful opportunity to grow intellectually under his guidance. For his inspiration, encouragement, patience, friendship, and faith in me, I am forever indebted. I know few people who put their heart and soul into their work like Dr. Nagamune does, and I have enjoyed following his example. Furthermore, I am grateful for his support in the form of a Research Assistantship as well as the equipment necessary for conducting my research.1 Special thanks go to both my committee members, Dr. Clarence de Silva and Dr. Farrokh Sassani, whose knowledge and expertise I have benefitted from as early as my undergraduate degree. Thanks go, also, to Dr. Greg Stewart at Honeywell for donating his personal time and for taking an interest in the current research. His advice, feedback, and assistance has been of great value. I would like to thank my very dear friends and colleagues in the Control Engineering Laboratory: Mr. Ehsan Azadi Yazdi, Mr. Masih Hanifzadegan, and 1 This work is supported through a Discovery Grant awarded to Dr. Ryozo Nagamune by the Natural Sciences and Engineering Research Council of Canada. xiv Mr. Mohammad Sepasi. The assistance, encouragement, and camaraderie they have provided during the period of my research is deeply valued and appreciated. To my other friends at UBC, Jeswin, Sina, and Susana, as well as Hamed and Mahkameh, whom I have had the pleasure of studying with since the very beginning of my career, I extend my deepest gratitude for the support and friendship. To all my friends at home, I extend thanks for patience and understanding while I disappeared into the laboratory for indefinite periods of time. Finally, I wish to acknowledge and thank my family. To my parents, who have loved me, inspired me, given me so many opportunities and, through example, nurtured a faith in Christ, I owe nothing less than all my life. I have been blessed with two beautiful sisters who have always encouraged me and, when necessary, endured me, and I thank and cherish them both. xv Dedication To my Parents, an insufficient token of my appreciation of their unwavering love and faithfulness xvi Chapter 1 Introduction 1.1 Motivation Modern automotive engines have benefited from the use of the Three-Way Catalytic Converter (TWC) since it was introduced in production automotive vehicles in 1981 as a response to increasingly stringent tailpipe emission standards. The TWC is situated in the exhaust line of an automotive engine and improves the quality of exhaust gasses by reducing nitrogen oxides to nitrogen and oxygen, oxidizing carbon monoxide to carbon dioxide, and oxidizing hydrocarbons to carbon dioxide and water [16]. More generally, the TWC can be thought of as a buffer to small air and fuel flow variations in the exhaust gas as it is capable of rejecting small disturbances to the air-fuel ratio. The TWC achieves this function by storing oxygen on the catalytic surface when an excess is present and donating it back to the exhaust gas when a deficiency exists. 1 The effective operation of the TWC relies heavily on two factors: Firstly, the oxygen storage level on the catalytic surface should be near half of capacity and, secondly, the air-fuel ratio of the incoming exhaust gasses should be close to stoichiometric. The air-fuel ratio of the exhaust gas is said to be stoichiometric when the correct proportion of air and fuel was combusted in the engine, yielding an exhaust gas with neither an excess or deficiency of oxygen. Accurately maintaining the desired air-fuel ratio in the engine is therefore essential to ensure good health and operation of the TWC and, consequently, low tailpipe emissions. When the driver gives a throttle command by lowering the throttle pedal, the throttle valve is opened either mechanically or by the Engine Control Unit (ECU) if the vehicle uses a drive-by-wire throttle system. The opening throttle valve allows more air to be drawn into the engine’s cylinders. In order to compensate for the changing air flow and maintain a desired air-fuel ratio, the ECU adjusts the fuel flow by changing the duration of the fuel injection pulses. Conventional control strategies have relied heavily on static maps and feedforward controllers to determine the correct fueling rate. These controllers maintain the desired air-fuel ratio by estimating the air flow into the cylinders and simply commanding a proportional fuel flow. A shortcoming of the feed-forward controller architecture is that it does not compensate for the following situations that result in unknown disturbances on the actual air-fuel ratio achieved: • Aging of the sensors used in the estimation of the air flow, causing a loss of accuracy. 2 • Inaccuracy of the modeled dynamics, stored in the ECU ’s memory, used to estimate the air flow into the cylinders due to engine aging and plant identification deficiencies. • Variations in the oxygen concentration of the air flow due to altitude, weather conditions, and fuel canister purge cycles (which is when fuel vapors trapped inside the fuel tank are periodically released into the air flowing into the engine). • Clogging or wear of the fuel injectors, causing the actual amount of fuel being injected to differ from the amount commanded by the ECU. • Variations in the quality and composition of fuel. The introduction of the Universal Exhaust Gas Oxygen (UEGO) sensor has made it possible to measure the air-fuel ratio in the exhaust flow and rely on feedback [4]. Using a feedback controller in conjunction with a feedforward controller enables fast and accurate air-fuel ratio control. The feedback controller takes a measurement of the air-fuel ratio in the exhaust flow and rejects disturbances to the desired air-fuel ratio. The feed-forward controller estimates the air flow into the cylinders. 1.2 Problem Statement The current research focuses specifically on the normally aspirated, port injected, Spark Ignition (SI) Internal Combustion (IC) engine which is commonly used in personal vehicles. Figure 1.1 shows the air and fuel paths through one cylinder of 3 Figure 1.1: Diagram of Engine Showing Air and Fuel Path the engine. The driver varies the air flow allowed into the system by opening and closing the throttle valve. In the intake manifold, the flow of air is divided into a separate stream for each cylinder. Fuel is injected separately into each air stream before it enters the cylinder, the amount injected being controlled by the ECU through varying the length of the injection pulses. After the air and fuel mixture have completed the combustion stroke in each cylinder, the separate flows are combined in the exhaust manifold before traveling to the TWC. A measurement of the air-fuel ratio is taken using UEGO sensors mounted in the exhaust line before and after the TWC. The air mass flow rate, which is controlled by the driver, is considered an uncontrolled input to the plant but is assumed to be available. Although this thesis does not discuss them, methods have been developed to measure or estimate the air flow into the cylinders of normally aspirated IC engines based on Manifold 4 Air Flow (MAF) and Manifold Absolute Pressure (MAP) sensor readings in e.g. [9], [14], [34], [35], and [36], and range from simple schemes like the speed density method to advanced observers that compensate for sensor and air flow dynamics. Because the fuel mass flow rate is closely proportional to the width of the fuel injection pulses which are controlled by the ECU, the rate of fuel injected is considered as the controlled input to the plant. An air-fuel ratio measurement is available in the exhaust line both before and after the TWC. The method in this thesis uses the air-fuel ratio measurement of the first UEGO sensor as the output of the plant. Control schemes exist that use the measurement of the second UEGO sensor installed after the TWC to estimate the oxygen storage level in the TWC (see e.g. [3], [7], [10], [11], and [25]) but are beyond the scope of this thesis. These methods may build on the control loop presented in this thesis as the inner of two cascaded loops. The closed-loop air-fuel ratio control problem is non-trivial and a poor fit for simple linear control techniques for three reasons. Firstly, the discrete strokes of the IC engine cause a pure delay in the system, meaning that a rational transfer function for the plant does not exist. Secondly, the engine dynamics are timevarying. The aforementioned pure delay, for example, varies considerably as a function of engine speed and air flow. Finally, because the air-fuel ratio is a fraction consisting of the IC engine’s two inputs, air and fuel, it is impossible to ex- press the output, the air-fuel ratio, as a linear transfer function of both inputs, and the control problem is therefore non-linear. 5 1.3 Literature Review Previously developed methods addressing the air-fuel ratio control problem in IC SI engines are discussed in Section 1.3.1. Literature concerning controller design techniques influencing the current research is given in Section 1.3.2. 1.3.1 Air-Fuel Ratio Controllers Current methods that address the air-fuel control problem in SI IC engines include PI-Control [3], H∞ Robust Control [24], Kalman Filter [26], [37], Adaptive Control [19], [31], [32], [41], [42], Linear Parameter Varying (LPV) Control [44], [45], [47], and others [22], [39]. Robust control methods treat the variations of the IC engine as uncertainty and employ time-invariant controllers with guaranteed performance. However, because the variation in plant dynamics is substantial over the operating range of a normal engine, robust control methods yield undesirably conservative controllers. Adaptive controllers are able to accommodate the time-varying engine dynamics. An attractive feature of adaptive controllers is that no a priori information of the relationship between the engine’s operating point and the plant dynamics is necessary. However, adaptation is typically slow and may lose performance and even stability during sudden changes in the engine operating point. A combination between adaptation and gain-scheduling is therefore often used to adress a rapidly moving operating point as is done in [26] and [42]. Adaptive methods generally lack a theoretical guarantee for stability and performance. Gain-scheduling controllers, on the other hand, are time-varying controllers 6 that adjust for the variations in the dynamics using a priori knowledge of the plant dynamics throughout the operating range. Gain-scheduling methods based on interpolation also share the shortcoming that no theoretical guarantee of stability and performance exists. Considerable advances have been made, however, and in [5], [6], [33], gain-scheduling methods are presented with guaranteed performance. The LPV methods in [47] and [48] use Lyapunov theory developed in [5] to create gain-scheduled controllers with guaranteed L2 performance. These methods use a single parameter dependent Lyapunov function to guarantee performance over the operating range of the plant. Because the variation of the plant dynamics can be extensive across the full operating range of an SI IC engine, a single Lyapunov function may not necessarily exist or, if it does exist, may lead to an unacceptably conservative controller. The following subsections take a more detailed look at literature that have addressed the air-fuel ratio control problem in SI IC engines and includes methods based on inverse dynamics, H∞ , LPV-based gain-scheduling, and adaptive control. Similar approaches have been used in Diesel engines (see e.g. [1], [2], and [8]) but are beyond the scope of this thesis. Detailed Model-Based and Inverse Dynamics Control One of the early papers on model-based IC engine air-fuel ratio control, [4], gives an introduction to the control problem. The author compares two control architectures: Feed-forward control with emphasis on static maps, and a closed-loop, model-based controller which is obtained from inverting the dynamics of the en- 7 gine. The dynamics of the SI, IC engine are presented and include many non-linear relationships and time-varying coefficients. Another model-based controller is presented in [29]. The method uses an observer to estimate the air flow into the cylinders with great accuracy so that a proportional amount of fuel can be injected. Air-fuel ratio measurements from oxygen sensors mounted in the exhaust line serve to improve the accuracy of the estimated observer model. In [27], a detailed non-linear model is used to capture the dynamics of the IC SI engine and includes air flow dynamics, wall wetting dynamics, engine inertia, process delays and UEGO sensor dynamics. A sliding mode controller is used to regulate the air-fuel ratio. A disadvantage of closed-loop controllers based on detailed engine models is that their effectiveness heavily rely on accurate identification of the time-varying engine parameters. H∞ Control An SI IC engine with drive-by-wire throttle is considered in [24]. A feedforward controller is used to calculate the base fueling while an H∞ preview controller provides an adjustment based on feedback from the UEGO sensor mounted in the exhaust line. Because the ECU has control of the position of the throttle valve, and consequently the air flow, in a drive-by-wire configuration, predicted future air flow values are available. The H∞ preview controller takes advantage of this fact to remove the effect of delay in the closed loop plant. 8 Adaptive Control An adaptive controller which compensates for sensor aging is presented in [32]. Because the time constant of a UEGO sensor may increase from about 50msec up to 1sec during its lifetime, the authors recommend using adaptation law in order to maintain performance of the closed loop controller including the sensor. The variation in sensor dynamics occurs very gradually over the life of the sensor, however, meaning that the adaptation rate may be very slow. The IC engine dynamics are assumed to be known and are modeled as a First Order Plus Dead Time (FOPDT). The time-varying nature of the engine dynamics is beyond the scope of the paper. Methods presented in [31], [41] and [19] use adaptation to compensate for the time-varying engine dynamics. In each method the engine dynamics are simplified and modeled using an FOPDT transfer function. Adaptation is then used to estimate some or all of the model parameters and a suitable controller is calculated in real-time. Feed-forward controllers are used to augment the adaptive controllers by compensating for the rapidly changing low frequency gain of the plant due to changes in air flow. An adaptive Smith predictor is used in [19] to remove the effect of the time-delay in the closed-loop. A structure similar to that of a Smith predictor is also used in [42] but, rather than using adaptation, the time-varying delay is computed using a priory knowledge and sensor measurements and is scheduled accordingly. The authors introduce an adaptive controller which uses adaptation in both the feed-forward controller and feedback loop for the regulation of both the air-fuel ratio and the TWC 9 oxygen storage level. A UEGO sensor mounted upstream of the TWC and a Heated Exhaust Gas Oxygen (HEGO) sensor installed downstream of the TWC are used to estimate the oxygen storage level inside the TWC . Adaptation is used to identify the model of the IC engine including wall wetting, exhaust dynamics, and sensor dynamics. Adaptive Kalman filters are used in [37], [25], and [26]. The method presented in [37] uses an indirect model-reference adaptive controller but assumes that the UEGO sensor dynamics, as well as all system delays in the engine, are known and available in real-time from lookup tables. The parameter identification is only used to estimate the wall wetting dynamics of the engine. In [25], on the other hand, the Kalman filter is used to estimate the time-varying delay and disturbance dynamics and, in [26], it is used to estimate the parameters of a of the IC FOPDT model engine. While the low frequency gain and time constant of the plant dynamics in [26] are automatically estimated using the Kalman filter, the delay is explicitly computed at each time-step and expressed in terms of sample periods. The authors present experimental data confirming the dependence of the delay on the engine speed and air flow. LPV-Based Control LPV -based control is used in [44] and [45] to track a reference air-fuel ratio in a lean burn IC engine. Unlike conventional IC engines, lean burn engines do not operate in the narrow band around stoichiometry but instead vary the air-fuel ratio considerably in order to achieve the effective operation of both the TWC and 10 the Lean NOx Trap (LNT), creating a more challenging tracking problem. The method proposed in [44] uses input shaping on the reference air-fuel ratio in order to improve transient tracking responses. Air flow and engine speed are measured using a hot wire MAF sensor and engine speed sensor, respectively, and are both used to calculate the time-varying delay of the plant in real-time and schedule the controller accordingly. An air-fuel ratio controller for SI IC engines using LPV gain-scheduling tech- niques is presented in [47]. The controller takes feedback from the UEGO sensor mounted in the exhaust line. The plant to be controlled, including engine and sensor dynamics, is modeled as an FOPDT which contains a time-varying delay and time constant. A feed-forward controller calculates a base fueling rate which is then adjusted by the feedback controller in a multiplicative manner. The controller design method used is developed in [5] and uses Lyapunov theory to guarantee performance over the operating range of the engine. The method is revisited in [48] and a state-delayed LPV controller is introduced. Rather than using a Pad´e approximation to model the delay in the plant for controller design, the delay is removed from the dynamics and reintroduced into the LPV form of the plant ex- plicitly as an additional state. The authors of both papers assume that the engine dynamics, specifically the delay and time constant, are only affected by engine speed. The effects of air flow are ignored. This omission causes poor system performance in some regions of the engine’s operating range and voids any guarantee of stability that the method provides. 11 1.3.2 Controller Design Theory Supporting theory for the development of the current research is presented in the following subsections. The first two topics, H∞ , and adaptive control, are explored for comparative purposes. The last topic, LPV-based control, is the emphasis of the current research and is applied to the air-fuel ratio control problem in a novel way. An overview of gain-scheduling approaches to non-linear control is presented in [21] including methods of linearization and LPV formulations. H∞ Control The H∞ controller design method used in Section 3.3 is developed and presented in [13] and benefits from existing Linear Matrix Inequality (LMI) techniques. The controller design problem is formulated in terms of LMI s which yield a convex optimization problem and can be efficiently solved using existing LMI techniques. An alternative but similar method is given in [33] and is capable of addressing multi-objective H2 and H∞ problems. Adaptive Control An adaptive method using a series of orthonormal functions, known as a Laguerre network, to model the plant dynamics is presented in [43]. The Laguerre network is a set of time-invariant or time-varying delay elements placed in series. The output of the network is given as a vector of coefficients, called the spectral gain, multiplied by the state vector of the network. The overall transfer function of the network is very similar to a Pad´e approximation, making it a very suitable 12 model structure for plants containing a pure delay. The value of the spectral gain vector is estimated using a recursive least squares algorithm. The method is revisited in [46] to improve tracking performance and provide necessary and sufficient conditions for stability and performance. LPV-Based Control The LPV -based gain-scheduling techniques used in this research are first devel- oped in [6]. The plant is written in an LPV form where the plant state-space matrices are assumed to depend affinely on a vector, θ , called the scheduling parameter. Methods for expressing non-linear plants as LPV systems are given in [18] and [30]. The scheduling parameter is assumed to be available in real-time and is used to update the controller. The resulting controller is time-varying and automatically scheduled within the bounds of θ , known as the operating space. The controller design problem is formulated in terms of LMI s, yielding a convex optimization problem. Given that the plant state-space matrices can be accurately modeled as affine functions of the scheduling parameter, the method provides a guarantee of H∞ performance for any operating point and for any movement of the scheduling parameter. In [5] the method is developed further and the requirement that the state-space matrices of the plant vary affinely with the scheduling parameter is removed. This is done by sampling the operating space using a grid consisting of a finite number of points. LMI s are used to define constraints at each point and are computed together in order to calculate the optimal parameter-dependent controller matri- 13 ces. A function is introduced so that it mimics the dependence of the Lyapunov function, and consequently of the controller matrices, on the scheduling parameter. This function then allows the assembly of the controller matrices at any point within the operating space, including but not limited to the sampled points on the grid. Furthermore, the controller design technique yields a less conservative controller because, unlike [6], a limit can be imposed on the rate of movement of the scheduling parameter within the operating range. The method is advanced further in [23], where switching is introduced. The operating space is divided into overlapping subregions, each subregion having a controller developed using the the techniques in [5]. The overlap in subregions is used to create hysteresis switching. Additional LMI s are introduced for points along the switching surfaces and ensure that the value of the Lyapunov function is decreasing at each switching event. Because each subregion can have its own parameter-dependent Lyapunov function, the resulting switching controllers can be much more aggressive than a single controller with a single parameter-varying Lyapunov function that covers the entire operating range. 1.4 Research Objectives Multiple authors have proposed excellent methods for addressing the air-fuel ratio control problem in SI IC engines, as discussed in the previous section. However, because authors have focussed on specific aspects of the air-fuel ratio problem, currently no single controller design technique exists which does: • Address the time-varying and non-linear nature of the 14 SI IC engine by ap- propriately compensating for the engine’s operating point. • Appropriately address the parameter-dependent pure delay in the plant dynamics. • Incorporate the design of a feed-forward controller or remove the need to design it separately from the feedback controller. • Guarantee stability and performance over the entire operating range of the engine. The overall objective of the current research is to apply advanced controller design techniques to the air-fuel ratio control problem and thereby address the above shortcomings with a single air-fuel ratio controller design technique. The LPV - based controller design technique developed in [5] and [23] is used. A switching LPV air-fuel ratio controller which is scheduled for both engine speed and air flow is designed and solved using LMI techniques. The proposed air-fuel ratio con- troller design technique will: • Use a model of the SI IC engine which is realistic but simple enough for controller design purposes. • Appropriately model the pure delay present in the engine dynamics. • Treat non-linear engine dynamics as linear but parameter-dependent dynamics. • Compensate for variations in the engine dynamics due to both air flow and engine speed. 15 • Remove the need for a separately designed feed-forward controller and instead use only the output of an air flow estimator. • Track a reference air-fuel ratio and reject disturbances. • Guarantee performance over the operating range of the engine using Lyapunov theory. • Reduce the conservativeness of the resultant controller as compared to existing methods. • Be practically useful, meaning that all assumptions are valid for a real IC SI engine and only available or measurable information is used by the con- troller. Simulations are performed using a model of an SI IC engine to demonstrate the performance of the controller designed using the proposed technique. 1.5 Organization of Thesis This thesis is organized as follows. Chapter 2 presents the SI IC engine plant model in two parts. First a detailed model of the plant is developed. The model serves to demonstrate its parameter-dependent and non-linear nature. A simple model, known as an FOPDT model, is then derived so that it can be used for controller design. In Chapter 3, the proposed switching LPV controller design technique is introduced. Two current air-fuel ratio controller design techniques, H∞ , and 16 LPV , are also presented as well as a novel adaptive air-fuel ratio controller. The controllers are simulated in closed loop and the results are shown in Chapter 4. Multiple controllers are developed using each technique in Chapter 3, resulting in a large number of controllers. Chapter 4 is therefore divided into three sections and the results are compared in meaningfully selected groups rather than simultaneously. Conclusions drawn from the results are presented in Chapter 5 and the contributions of the current research are discussed. Outstanding and possible future developments are also briefly discussed. Controller design techniques are deferred to the Appendices. The switching LPV controller design technique and the adaptive control algorithm are given in Appendix A and Appendix B, respectively. 17 Chapter 2 Modeling 2.1 A Measure of Air-Fuel Ratio A measurement of the air-fuel ratio is commonly given by the variable λ , which is defined as λ := 1 Rstoich · m˙ air , m˙ f uel (2.1) where m˙ f uel and m˙ air are the fuel and air mass flows, respectively, and Rstoich is the stoichiometric ratio which is approximately 14.7 parts air to one part fuel by mass. Equation (2.1) is referred to as the combustion equation in this thesis. When λ < 1 the air-fuel mixture is said to be rich, meaning that insufficient oxygen was supplied for complete combustion to occur, thereby causing uncombusted fuel to remain in the exhaust gas. Conversely, when λ > 1 the mixture is lean, meaning that insufficient fuel was supplied and that oxygen remains in the exhaust gas. 18 2.2 Mean Value Modeling Although the four-stroke IC engine has discrete events making it suitable for discrete time modeling, it is common practice to model it in continuous time using Mean Value Modeling (MVM) [15]. Transient responses within each event are ignored by MVM , while the mean value over each event is captured well. This is sufficient because the period of each discrete event is much smaller than the time scale of interest. MVM is an especially good fit for four-stroke engines with four cylinders or more because of the mechanical design of these engines. The cycles of the cylinders are shifted in phase such that, at any given time, at least one cylinder is performing each of the four strokes: induction, compression, power, and exhaust. Because the engine is performing each of the four strokes at any given time, it can be thought of as a continuous process where the strokes are occurring concurrently and continuously. More importantly, air and fuel are continuously entering the engine and exhaust gas is continuously produced. The delay introduced by the engine will be discussed in Sections 2.3.3. 2.3 Detailed Model of Plant A detailed model of the air-fuel ratio dynamics in a normally aspirated SI IC en- gine is developed in this section. The air flow dynamics, fuel flow dynamics, exhaust mixing, system delays, and sensor dynamics are considered. The purpose of developing this model is to achieve a complete understanding of the plant dynamics and to demonstrate the non-linear and parameter-dependent nature of the engine as well as the source of delays. The model is not used for controller design 19 or closed-loop simulations. Instead, a simplified but widely accepted model is presented in Section 2.4. 2.3.1 Air Flow Dynamics Figure 2.1: Intake Manifold Model Due to the compressibility of the air in the intake manifold, the air flow through the throttle valve is not necessarily the same as the air flowing into the cylinders, as depicted in Figure 2.1. Assuming the air flow is isentropic, m˙ at , the air flow through the throttle valve, which is measured by the MAF sensor, is given in [4] as pa pman m˙ at = √ Q(α)Ψ( ), pa RTa (2.2) where pa is the ambient air pressure, pman is the pressure inside the intake manifold and is measured by the MAP sensor, R is the ideal gas constant, Ta is the ambient air temperature, and α is the angle of the throttle plate and determines ) are nonthe opening through the throttle valve. The functions Q(α) and Ψ( ppman a linear but static functions which limit the air flow into the intake manifold and are experimentally determined. 20 The air flow entering the cylinders is m˙ ac = ηvol (N, pman )pman NVd , nr RTman (2.3) where ηvol is the volumetric efficiency and is a function of engine speed, N, and manifold pressure, pman . The cylinder’s volumetric displacement is denoted Vd and the number of crankshaft rotations per cycle is denoted by nr . For a fourstroke engine, nr = 2. If a measurement of the manifold temperature, Tman , is not available, it can reasonably be assumed to be the same as the ambient temperature, Tman ≈ Ta . The rate of change of the pressure in the manifold is given by d pman = K · (m˙ at − m˙ ac ), dt (2.4) where the constant, K, is related to the size of the intake manifold. 2.3.2 Wall Wetting Dynamics Figure 2.2: Wall Wetting Model Fuel is injected in the intake manifold, upstream of the intake valve, in liquid 21 form but is partially vaporized. Of the fuel injected, m˙ f in j , a fraction is deposited on the manifold walls as fuel puddles while the remaining fuel immediately enters the cylinders [4]. Fuel in the puddles evaporates and also enters the cylinders. Let x f p denote the fraction of fuel injected that is deposited on the manifold walls. Then 1 − x f p of the fuel injected goes directly to the cylinders. The rate of fuel evaporating is proportional to the mass of fuel in the puddles, m f p , and is dictated by τ f p , the evaporation time constant. The rate of change of the mass of fuel in the puddles is given by dm f p 1 = x f p m˙ f in j − m f p, dt τf p (2.5) and the fuel flow into the cylinders is m˙ f c = (1 − x f p )m˙ f in j + 2.3.3 (2.6) Four-Stroke Engine Cycle Delays As stated in Section 2.2, the using 1 m f p. τf p MVM , IC engine can be modeled as a continuous system knowing that at any given time it is concurrently receiving fuel and air and expelling exhaust gas. It is important to consider, however, that the air and fuel mixture entering the engine at a given moment is not the same as that leaving the engine because the mixture remains in the engine while a cycle is completed. This dwell time, which is a function of the engine speed, can be accurately modeled as a pure delay, also known as dead time. 22 The time that fuel resides in the engine, T f uel , given in seconds, is T f uel = 60 · nr nin j−ex , nstroke N (2.7) where nin j−ex denotes the number of strokes completed between the rising edge of the fuel injection pulse and the start of the exhaust stroke. For a modern fourstroke engine, nr = 2 and denotes the number of crankshaft revolutions per cycle, while nstroke = 4 and denotes the number of stokes per complete cycle. The engine speed, N, is measured in revolutions per minute. The dwell time for air and fuel are not necessarily equal. The air dwell time is given by Tair = 60 · nr nind−ex , nstroke N (2.8) where nind−ex , the number of strokes from induction to exhaust, is always equal to three for a four-stroke engine. The values of nin j−ex and nind−ex are typically not equal because most port-injected IC engines inject fuel into the intake port one or even up to three strokes prior to the intake valve opening during the induction stroke. Figure 2.3 serves as an example and shows the timing for a 2.0L 1992 Pontiac Sunbird engine, which is a four-cylinder SI IC engine, over two complete cycles. The figure displays four complete revolutions of the crankshaft, meaning two complete cycles. Stroke names, intake and exhaust valve positions, spark ignition, and fuel injection pulses are shown. This engine’s ECU injects fuel in two equal pulses for each cycle. The decision of how much fuel to give is made before 23 Figure 2.3: Timing of a Four-Cylinder Four-Stroke Engine the first pulse. The first pulse occurs three strokes before the intake valve opens during the induction stroke. Fuel therefore remains in the engine for six strokes, from injection to exhaust, and therefore nin j−ex = 6 as labeled for the first cylinder in the figure. 24 2.3.4 Exhaust Mixing Individual flows from the cylinders are recombined in the exhaust manifold. Because the cycles of the cylinders in an IC engine are shifted in phase, the cylinders expel their contents into the exhaust manifold sequentially. A step change to the air-fuel ratio entering the engine will therefore result in a staircase-shaped output consisting of ncyl smaller steps where ncyl is the number of cylinders in the engine [20]. As an example, the output of a four-cylinder engine is shown in Figure 2.4. Each step corresponds to one cylinder completing the exhaust stroke and expelling its gasses. The duration of each step, Ts−s , represents to the time passing from one cylinder completing the exhaust stroke until the next cylinder does so, and is related to the engine’s speed as follows: Ts−s = 60 · nr N ncyl Figure 2.4: Response of a Four-Cylinder Engine to a Step Input 25 (2.9) Recall that N is the engine speed in revolutions per minute and nr denotes the number of revolutions per complete engine cycle. Figure 2.5: Model of Exhaust Mixing Figure 2.5 shows a block diagram of a model for the exhaust mixing. The airfuel ratio of the mixture inside the engine is denoted by λcyl and the air fuel ratio in the exhaust manifold is denoted by λex . The staircase-shaped output is achieved using delays of duration kTs−s placed in parallel, where k = 0, 1, . . . , ncyl − 1 . 2.3.5 Exhaust Transport Delay Another delay, Tex , arises from the time it takes the exhaust gas to travel from the exhaust manifold to the UEGO sensor mounted upstream of the TWC . Intuitively, Tex is inversely proportional to the exhaust gas volumetric flow rate. Because the 26 exhaust gas volumetric flow rate is proportional to the air mass flow rate for a constant engine temperature, the exhaust gas transport delay can be expressed as a function of air mass flow rate, Tex = c . m˙ air (2.10) The proportionality constant, c, in (2.10) is chosen such that Tex varies between the values of 20msec and 500msec over the engine’s full operating range as recommended in [20]. 2.3.6 Sensor Dynamics Sensor dynamics are modeled as first order transfer functions (in [4], [11], [12], etc.) such that y˜ = 1 y, sτy + 1 (2.11) where y is the measurand, i.e. the measured quantity, y˜ is the measurement, i.e. the quantity reported by the sensor, and τy is the time constant of the sensor. Typical time constants for the sensors used in the air-fuel ratio control problem are given in Table 2.1. Table 2.1: Sensor Time Constant Values Sensor Name MAF MAP UEGO Time Constant 10msec − 60msec [17] 3msec − 20msec [17] 50msec [32] 27 2.3.7 Complete Model Figure 2.6 shows the completed model of the air-fuel ratio dynamics discussed throughout Section 2.3. The inputs to the model are the throttle angle, α, and fuel injection rate, m˙ f in j , and the outputs include the MAF and MAP sensor readings, m˜˙ at and p˜man respectively, and the measured air-fuel ratio, λ˜ sensor . The model Figure 2.6: Complete Detailed SI IC Engine Model 28 includes the air flow dynamics, given in (2.2), (2.3), and (2.4), which relate the throttle angle to the airflow into the cylinders, m˙ ac . Wall wetting dynamics defined by (2.5) and (2.6), relating the fuel flow injected, m˙ f in j , to the fuel flow into the cylinders, m˙ f c , are also included. The air and fuel dwell times inside the cylinders, presented in Section 2.3.3, are represented by e−sTair and e−sT f uel , respectively. The air-fuel ratio in the cylinders, λcyl , is a function of the air and fuel flows entering the cylinders according to the combustion equation, (2.1). The exhaust mixing, which relates the air-fuel ratio in the cylinders to the air-fuel ratio of the combined exhaust flow in the exhaust manifold, λex , is shown in Figure 2.5. The exhaust gas transport delay, discussed in Section 2.3.5, is represented by e−sTex . Finally, the first order sensor dynamics for the MAF, MAP, and UEGO sensors are also included. 2.4 Reduction to First Order Plus Dead Time The overall dynamics of the plant described in Section 2.3 include manifold air flow dynamics, wall wetting effects, combustion cycle and exhaust gas transport delays, exhaust gas mixing, as well as sensor dynamics. However, the model describing these dynamics precisely is non-linear and too complex for controller design. The problem is aggravated by the fact that this model contains many parameter-dependent values. Constants and parameter-dependent values are experimentally identified and are unique to each engine. The identification of engine parameters is beyond the scope of the current research. The detailed model is therefore not used for controller design or closed-loop simulations. 29 A model which accurately captures the overall dynamics of the plant, as well as its dependence on the operating point, but is simple enough for controller design purposes is therefore necessary. A popular option is to model the overal dynamics of the IC engine as an FOPDT FOPDT model. A controller which was designed for an plant has been successfully implemented on an actual IC engine in [26]. The FOPDT model is defined as g e−sT , sτ + 1 (2.12) which includes the following three time-varying parameters: g: The steady state gain of the system. τ: The time constant of the first order component. T: The duration of the pure delay. This section uses the notation m˙ air and m˙ f uel to denote air flow and fuel flow, respectively. Note that m˙ air refers to the air flow into the engine’s cylinders, m˙ air = m˙ ac . (2.13) Methods have been developed to measure or estimate the air flow into the cylinders of normally aspirated IC engines based on MAF or MAP sensor readings and air flow dynamics in e.g. [9], [14], [34], [35], and [36]. Likewise, m˙ f uel refers to the fuel flow into the cylinders. Since the 30 FOPDT model omits wall wetting dynamics, m˙ f uel = m˙ f in j = m˙ f c . 2.4.1 (2.14) Steady State Gain The air-fuel ratio, λ , is given as a non-linear function of air flow and fuel flow by the combustion equation (2.1). Notice that the uncontrolled input, air flow, enters (2.1) linearly while the controlled input, fuel flow, appears in the denominator. This non-linear relationship is udesirable for control purposes. A simple and commonly used remedy is to define a new measure of air-fuel ratio, the equivalence ratio, as φ = λ1 . Now only the controlled input enters linearly: φ := Rstoich · m˙ f uel . m˙ air (2.15) When φ > 1 the air-fuel mixture is said to be rich and when φ < 1 the mixture is lean. By considering m˙ air as a time-varying parameter, rather than an input, the plant is expressed as a single-input-single-output system that can be characterized by a pseudo-linear but parameter-dependent transfer function. Equation (2.15) then represents the steady state gain of the transfer function of the plant as it relates the plant’s output, φ , to its input, m˙ f uel , but ignores any dynamics or transient responses of the engine. It can be rewritten as g= φ m˙ f uel = 31 Rstoich . m˙ air (2.16) Equation (2.16) shows the steady state gain of the FOPDT model as a function of the air flow. 2.4.2 Time Constant In Section 2.3.4, it was shown that a step in the air-fuel ratio inside the engine results in a staircase-shaped response of the air-fuel ratio in the exhaust manifold due to the fact that the cylinders sequentially expel their contents. The staircaseshaped output can be approximated as a first order response. The time constant is given in [20] as τ= 60 · nr (ncyl − 1) . N · ncyl (2.17) Recall that nr denotes the number of revolutions the crankshaft makes to complete a cycle, ncyl denotes the number of cylinders in the engine, and N is the engine speed in revolutions per minute. A measurement of the engine speed is readily available on modern engines. The time constant’s dependence on the engine speed was confirmed using experimental data in [26]. 2.4.3 Pure Delay Because fuel flow is chosen as the input to the plant in Section 2.4.1, we are interested in the delay in the fuel path. The total delay from fuel injection to the air-fuel ratio measurement, T , is therefore the summation of the time that fuel remains in the engine and the travel time to the sensor: 32 T = T f uel + Tex , (2.18) = 60 · nr nin j−ex c + , nstroke N m˙ air where T f uel is given in (2.7) and Tex is given in (2.10). Notice that the total delay depends on both the engine speed and air flow. 2.5 Rational Plant Model In order to perform controller design using the method developed in [23], the FOPDT plant model which is presented in Section 2.4 needs to be expressed as a rational transfer function. The pure delay, e−sT , can either be removed from the transfer function and be reintroduced using additional states in the state-space realization [48] or it can be approximated using a Pad´e approximation. The latter is used in this research. A modified Pad´e approximation with a second order denominator but first order numerator is employed because, as shown in [38], it exhibits better approximation. The plant transfer function is then given by φ m˙ f uel = g 6 − 2sT · , sτ + 1 6 + 4sT + (sT )2 (2.19) where g, τ, and T are time-varying and depend on the engine speed and air flow as shown in (2.16), (2.17), and (2.18), respectively. When realized into the state- 33 space form, the plant is given as x˙ p = A p x p + B p m˙ f uel , φ (2.20) = Cp x p , where x p is the plant state vector and Ap = Cp = −1 τ 0 0 g τ 6 T2 0 −6 T2 0 −2 T 1 −4 T 0 . 34 , Bp 0 = 0 , 1 (2.21) Chapter 3 Controller Design In this chapter, the controller design technique is presented. Four techniques are given and include LPV control, switching LPV control, H∞ control, and adaptive control. The LPV controller is presented first in Section 3.1 and is created in order to validate the choice of scheduling parameter and compare the results with that of an existing LPV -based gain-scheduling air-fuel ratio controller. The primary contribution of the current research, an LPV -based gain-scheduling air-fuel ratio controller which also includes switching, is then described in Section 3.2. Finally, an H∞ and adaptive controller, both of which are designed for comparison, are explained in Sections 3.3 and 3.4, respectively. As discussed in Chapter 1, the controller design objective is to track a reference air-fuel ratio and reject disturbances. A reference air-fuel ratio other than stoichiometric, meaning an equivalence ratio other than unity, may be desired during engine warmup or may be required by the TWC oxygen storage level controller 35 when a correction in storage level is necessary. Each controller designed therefore includes an integrator in order to improve the reference tracking performance. The controllers are designed for the simplified model of the SI IC engine given in Section 2.4. Each controller attempts to track a reference equivalence ratio by adjusting m˙ f uel , the amount of fuel injected. Accurate measurements of the engine speed, N, air flow, m˙ air , and equivalence ratio, φ , are assumed to be available. 3.1 LPV Controller An LPV-based gain-scheduled air-fuel ratio controller is designed in this section.1 The controller design method uses LPV techniques presented in [5] and is similar to the air-fuel controller presented in [47]. The authors of [47] ignore the effect of air flow on the dynamics of the SI IC engine and present an LPV-based controller which is scheduled for engine speed only. As shown in Chapter 2, the air flow affects both the delay, T , and the steady state gain, g, of the plant, however. In order to cope with the large variations in gain due to varying air flow, the authors fix the gain in the plant transfer function of the plant model but use a feed-forward controller to calculate a base fueling rate using a measurement of the airflow. The LPV-based closed-loop controller then adjusts the fueling rate in a multiplicative manner. Figure 3.1(a) shows the structure of this method where K represents the controller and P is the time-varying plant. This explicit multiplicative controller scheduling based on air flow is not necessary for an LPV -based gain-scheduling controller which includes both air flow and engine speed in its scheduling param1 The controller presented in this section has been published in [28] and presented at the 2010 ASME Dynamic Systems and Control Conference. 36 (a) Controller Scheduled for Engine Speed Only (b) Controller Scheduled for Air Flow and Engine Speed Figure 3.1: Comparison of LPV Controller Scheduling Structures eter as shown in Figure 3.1(b). The closed-loop system used for controller design takes the form shown in Figure 3.2. The matrices A p , B p , C p , and D p are the state-space realization of the FOPDT plant given in Chapter 2 in (2.21) where D p = 0. K represents the parameter-dependent controller. The integrator placed in series with the controller improves the tracking performance. The disturbance, d, is modeled on the output 37 Figure 3.2: Closed-Loop System With LPV Controller of the plant. A weighting function defined by state-space matrices Ae , Be , Ce , and De filters the error and outputs a weighed error, e, ˜ which will be minimized by the controller design technique. 3.1.1 Linear Parameter Varying Form of the Plant The plant can be written in the LPV form as x˙ = A(θ )x + B1 (θ )w + B2 (θ )u, z = C1 (θ )x + D11 (θ )w + D12 (θ )u, (3.1) y = C2 (θ )x + D21 (θ )w, where θ is a vector known as the scheduling parameter. The design method minimizes the L2 norm from the exogenous input, w, to the performance channel, z. Since we wish to minimize the error due to disturbances 38 or reference changes, we choose d w= r z = e, ˜ and (3.2) where e˜ is the weighed error. The weighting function placed on the error can be used to tune the controller during the design stage. The states, controller input, and controller output are xp x= xe e , y = e, (3.3) and u, respectively. For the plant shown in in Figure 3.2 expressed in LPV form, the state-space matrices are given by A Ap = −BeCp −Cp C1 = −De D p C2 = 0 0 0 0 0 , B1 0 Ce 0 , D11 = 1 , Ae 0 0 = −Be −1 D21 = 0 Be , B2 1 −De De 0 0 Bp = −Be D p −D p , D12 = −De D p , , . (3.4) 39 3.1.2 Scheduling Parameter Although most SI IC engines can run at up to 6000rpm and wide open throttle, they spend very little time in that range. The normal use operating range of most SI IC engines is 800rpm to 3500rpm with an air flow of 10% to 50% of maxi- mum, wide open throttle. In order to be comparable with the previous literature, which consider only the normal operating range of the engine, the controller in this section is also designed for only the normal operating range. The proposed gain-scheduling controller adjusts for both engine speed, N, and air flow, m˙ air . Noting that engine speed and air flow enter the parameters of the FOPDT plant in the denominator in (2.16), (2.17), and (2.18), we select the scheduling parameter, θ , as θ1 θ = = θ2 3.1.3 1 m˙ air 1 N . (3.5) LPV Controller Design The controller design method seeks to find a controller of the form x˙K = AK (θ , θ˙ )xK + BK (θ , θ˙ )y, u for the LPV (3.6) = CK (θ , θ˙ )xK + DK (θ , θ˙ )y, plant expressed in (3.1). The plant’s dependence on the scheduling parameter, θ , should be mimicked by a function, denoted by ρ(·), which enters the 40 plant affinely. For the LPV plant described by (3.4) and the choice of scheduling parameter given in (3.5), ρ(·) can simply be selected as ρ1 (θ ) = θ1 and ρ2 (θ ) = θ2 . The time-varying Lyapunov variables then also mimic the plant’s dependence on θ and are given by X = X0 + ρ1 (θ )X1 + ρ2 (θ )X2 , (3.7) Y = Y0 , which yields a practically valid solution. This implies that a measurement of θ˙ is not required to reconstruct the controller’s state space matrices in (3.6) from the Lyapunov variables which are solved using a family of LMIs. For comparison, the LPV-based controller presented in [47] is also developed. The controller design technique is identical to that presented above but does not include the air flow, m˙ air , in the scheduling parameter, θ . Therefore, θ = N1 , which means that ρ(θ ) = θ . The Lyapunov function in (3.7) becomes X = X0 + ρ(θ )X1 , (3.8) Y = Y0 . The varying steady state gain of the plant is addressed by multiplying the controller’s output by the air flow as shown in Figure 3.1(a). The LPV controllers developed in this section are referred to as LPV Con- troller 1 and 2 in the results section of this thesis (Chapter 4). LPV Controller 1 is scheduled for only engine speed as discussed in the above paragraph while 41 LPV Controller 2 is scheduled for both engine speed and air flow. 3.2 Switching LPV Controller In this section the primary contribution of the current research, a switching LPV - based gain-scheduling controller, is presented.2 The present method is a continuation of that used in Section 3.1 and reduces conservatism by applying the switching LPV controller design methods developed in [23] to the air-fuel ratio control problem in order to compensate for time-varying engine speed and air flow. The proposed method divides the engine’s operating range into multiple subregions. Each subregion has its own parameter dependent Lyapunov function used to create an LPV controller for that subregion. The controllers are then switched in real-time so that the controller for the subregion that encompasses the current operating point is always active. By overlapping the subregions, hysteresis is introduced to the switching, thereby making it possible to guarantee switching performance by ensuring that the Lyapunov function decreases for any switching event. As well as being more aggressive, the switching LPV controller developed in this paper is able to cover the entire operating range of the engine while still providing a theoretical guarantee of performance. The following five controllers are developed using the method presented in this section. The controllers’ performance is compared in Chapter 4. 2 The Switching LPV-based gain-scheduling controller developed in this section has been submitted for publication in the IEEE Transactions on Control Systems Technology. 42 S-LPV Controller 1: Single region LPV controller. S-LPV Controller 2: Switching LPV controller with two subregions (Switched along the axis of N). S-LPV Controller 3: Switching LPV controller with two subregions (Switched along the axis of m˙ air ). S-LPV Controller 4: Switching LPV controller with four subregions. S-LPV Controller 5: Switching LPV controller with nine subregions. 3.2.1 Like the Linear Parameter Varying Form of Plant LPV -based controller, the switching LPV -based gain-scheduling con- troller design process requires the open-loop plant expressed in an LPV form as x˙ = A(θ )x + B1 (θ )w + B2 (θ )u, z = C1 (θ )x + D11 (θ )w + D12 (θ )u, (3.9) y = C2 (θ )x + D21 (θ )w, where θ is a time-varying vector known as the scheduling parameter and x is the state vector of the LPV plant. A parameter dependent controller, also a function of the scheduling parameter, will be found such that it minimizes the worst-case L2 -gain from the input, w, to the performance channel, z, and has the form x˙K = AK (θ )xK + BK (θ )y, u = CK (θ )xK + DK (θ )y, 43 (3.10) Figure 3.3: Closed-Loop System With Switching LPV Controller with controller states xK . The controller takes the measurement, y, and gives output, u, where y is the integral of the error as can be seen in Figure 3.3 and u is the fuel flow, m˙ f uel . A disturbance, d, is modeled on the output of the plant. The exogenous input and the performance channels are d w= r e˜ and z = . u˜ (3.11) Second order weighting functions We and Wu are included on the error signal and the controller output, respectively, to produce the performance channels, e˜ and u, ˜ and allow controller tuning. The weighting functions, Wn , where n := {e, u}, are realized using the state-space form, x˙n = An xn + Bn n, n˜ = Cn xn + Dn n, 44 (3.12) with the state vector xn . The weighting function parameters are chosen such that low frequency errors and high frequency controller outputs are prevented. Table 3.1 shows values for the weighting functions used in this thesis. Table 3.1: Switching LPV Controller Design Weighting Functions We Wu Low Frequency Gain 10 103 High Frequency Gain 104 10−1 3 5 Crossover Frequency 5 × 10 rad/sec 10 rad/sec The states, controller input, and controller output of the LPV system are xp xe x= x u e , y = e, 45 and u, (3.13) respectively. The state space matrices in (3.9) are A Ap −BeCp = 0 −Cp 0 0 Ae 0 0 Au 0 0 0 C2 = 0 , B1 0 0 C1 = = 0 Ce 0 0 0 Cu 0 0 0 −Be 0 −1 0 , Be , 0 1 0 , 0 1 0 B2 Bp 0 = , Bu 0 −De D11 = 0 De 0 , D12 = , Du 0 D21 = 0 0 . (3.14) 3.2.2 Scheduling Parameter Although not explicitly shown in (3.14), the plant is parameter-varying due to the dependence of A p , B p , and C p on the parameters g, τ and T which are, in turn, dependent on the engine speed and air flow as shown in Section 2.4. The engine speed can vary from 800rpm to 6000rpm and the air flow can vary from 10% to 100%. Air flow is normalized and given as a percentage of maximum flow in this thesis. The engine speed and air flow ranges are collectively referred to as the engine’s operating range. Furthermore, the rate of change of the operating point can be up to 6000rpm per second for the engine speed and 100% per second for the air flow. Noting that air flow, m˙ air , and engine speed, N, enter (2.16), (2.17), and 46 (2.18) in the denominator, we select the scheduling parameter θ as θ1 θ = = θ2 Although the LPV 1 m˙ air 1 N . (3.15) controller, presented in the previous section, is only designed for the normal use operating range of the engine, the added performance of the switching LPV controllers allows them to remain effective over the full operating range. From the limits on the operating range of the engine, we can calculate the bounds on the scheduling parameter as well as the bounds on its derivative, denoted by Θ and Θd , respectively: = (θ1 , θ2 ) | 1 100% Θd = (θ˙1 , θ˙2 ) | −100%/sec (10%)2 Θ < θ1 < 1 1 10% , 6000rpm < θ˙1 < < θ2 < 1 800rpm 100%/sec −6000rpm/sec , (800rpm)2 (10%)2 , < θ˙2 < 6000rpm/sec (800rpm)2 (3.16) 3.2.3 Switching LPV Controller Design A detailed review of the LPV controller design method used is given in Appendix A. The parameter space, Θ, is divided into R overlapping subregions Θ(r) , r = 1, ..., R. A superscript in parenthesis refers to the subregion index in this thesis. The method uses a separate parameter dependent Lyapunov function to provide an 47 . LPV controller for each subregion with guaranteed performance of the closed- loop plant within the limits Θ(r) and Θd . The controllers are then switched depending on which subregion the scheduling parameter, θ , belongs to at each point in time. In order to guarantee switching performance, it must be ensured that the Lyapunov function decreases at each switching event. In other words, when the scheduling parameter moves from one subregion to another, the Lyapunov function defined within the subregion it is leaving must be greater than the Lyapunov function defined within the subregion it is entering. By increasing the overlap of the subregions, hysteresis is increased and this constraint becomes easier to meet.3 The dependence of the Lyapunov function on the scheduling parameter, θ , is mimicked by a set of functions, ρ(·), which are differentiable but not necessarily linear functions of the scheduling parameter. The function ρ(·) is introduced and explained in greater detail in [40]. For the plant given in (3.14), ρ(·) is simply ρ1 (·) θ1 ρ(·) = = ρ2 (·) θ2 and is used to define the LMI (3.17) variables. For example, the parameter dependent Lyapunov variables are X = X0 , Y (r) (θ ) 3 Figure = (r) (r) (r) Y0 + ρ1 (θ )Y1 + ρ2 (θ )Y2 . (3.18) A.1 in Appendix A shows the use of subregion overlap to create hysteresis switching. 48 Note that X is a constant while Y (r) (θ ) is a function of the scheduling parameter. A practically valid controller (See Appendix A) can also be designed with X (r) (θ ) as a function of the scheduling parameter and Y held constant, but yields more conservative results in our problem setting. Because no analytical method exists to choose which Lyapunov variable to fix, both options must be tried and compared in order to find the least conservative resultant controller. (a) R = 2 (S-LPV Controller 2) (b) R = 2 (S-LPV Controller 3) (c) R = 4 (S-LPV Controller 4) (d) R = 9 (S-LPV Controller 5) Figure 3.4: Operating Space Divided Into R Subregions 49 The five controllers developed using the LPV controller design method are referred to as S-LPV Controller 1 to 5 throughout this thesis. S-LPV Controller 1 uses one subregion to cover the entire operating range of the engine, Θ(1) = Θ, and therefore does not actually involve any switching. For S-LPV Controller 2 and S-LPV Controller 3, the parameter space is divided into two subregions as shown in Figure 3.4(a) and Figure 3.4(b), respectively. The shaded areas denote the overlap of the subregions. Recall that the parameter space is given in θ , which is actually the inverse of engine speed and air flow as shown in (3.15). However, graphical representations of the subregions in this thesis use the axes air flow and engine speed rather than θ1 and θ2 because their meanings are more intuitive. S-LPV Controller 4 and S-LPV Controller 5 are developed for four subregions and nine subregions shown in Figure 3.4(c) and Figure 3.4(d), respectively. The benefit of increasing the number of subregions is that the parameter variation within each region becomes smaller, consequently reducing the variation of the Lyapunov function and yielding a more aggressive controller for each subregion. The drawback, however, is the added memory and time requirements to solve and store the increasing number of LMI variables. Table 3.2 shows the number of LMI s and LMI variables used for each switching LPV controller as well as the time taken to solve for the LMIs yielding the controllers presented. Computations were performed on the same computer and under similar conditions so that times can be meaningfully compared. 50 Table 3.2: Complexity and Computing Time of Switching LPV Controllers Name S-LPV Controller 1 S-LPV Controller 2 S-LPV Controller 3 S-LPV Controller 4 S-LPV Controller 5 3.3 No. of No. of LMI Time to Subregions LMI’s Variables Solve 1 32 17 1min 12sec 2 68 32 1min 38sec 2 68 32 1min 38sec 4 144 62 7min 0sec 9 336 137 58min 37sec H∞ Controller Two H∞ controllers are developed for comparison with the LPV and switching LPV controllers using the LMI LPV plants defined by (3.4) and (3.14), respectively, with techniques described in [13]. Unlike the LPV and switching LPV controllers developed in the last section, the usual H∞ controller design method assumes a time-invariant plant and produces a single time-invariant controller. The H∞ controllers in this paper are modified to compensate for variations in g, the parameter dependent steady state gain of the system, using the following method: First the values of τ and T are sampled at a nominal engine speed and air flow and the steady state gain is given the value g = 1. A time-invariant H∞ controller for the plant with these values is then generated using the method in [13]. A parameter dependent gain is placed on the output of the controller. This gain is equal to the inverse of the steady state gain of the time-varying plant and is calculated in real-time. In this way, the parameter dependent gain on the output of the controller cancels out the time-varying steady state gain of the plant. Figure 3.5(a) shows the closed-loop system with the parameter dependent 51 (a) Gain-Scheduled H∞ Controller (b) LPV or Switching LPV Controller Figure 3.5: Comparison of H∞ Controller Scheduling With LPV Controller plant, time-invariant controller, and parameter dependent gain. Figure 3.5(b) shows the equivalent closed-loop system with a parameter dependent LPV or switching LPV controller for comparison. Since the gain-scheduled H∞ controller does not adjust for variations of the time constant, τ, or pure delay, T , performance cannot be guaranteed at any operating point other than the nominal point that it is designed for. The first H∞ controller, developed for comparison with the LPV controllers of Section 3.1, is designed for a nominal operating point of 30% air flow and 1500rpm engine speed. The controller is carefully tuned such that the closed loop will remain stable over the normal operating range of 10% to 50% air flow and 800rpm to 3500rpm engine speed because this is the operating range that the LPV controllers are designed for. It is important to keep in mind that, though the H∞ 52 controller is tuned to work over the operating range, no guarantee of performance exists. The second H∞ controller, which is developed for comparison with the switching LPV controllers of Section 3.2, is designed for a nominal operating point of 80% air flow and 4000rpm engine speed and is tuned to remain effective over the entire operating range of the engine. 3.4 Adaptive Controller As an alternative to the gain-scheduling approach to the air-fuel ratio problem, an adaptive controller is also developed. The appeal of the adaptive approach is that no a priori knowledge of the parameter variations of the plant is required, meaning that the development of an accurate model of the plant is not necessary. The controller identifies the plant dynamics in real-time using a recursive least squares algorithm and provides the appropriate control input, needing only measurements of the plant’s input and output. Furthermore, the adaptive controller is able to compensate not only for variations in the dynamics due to engine speed and air flow, but also for variations due to engine and sensor aging and environmental factors. An adaptive predictive controller using a Laguerre network is chosen for this application.4 The controller design method is introduced in [43] and has had much success in controlling pH levels in an industrial bleach plant extraction stage as well as other systems with large delays. The authors develop a model predictive controller which looks beyond the delay time in the plant. An attractive feature of 4 The Laguerre network is discussed in greater detail in Section B.1 in the Appendix. 53 using a Laguerre network to model the plant is that no assumptions about the plant order or time delay are required, making it ideal for the air-fuel ratio control problem since the dynamics of the plant are dominated by a time-varying delay. The method is improved in [46] where it is given the name Incremental Mode Linear Laguerre Predictive Control (IMLLPC) and is modified by inserting an integrating action into the controller to provide better tracking performance. Necessary and sufficient conditions for stability and steady-state performance are also presented but are useful for analysis only and are not used during the design stage. The detailed control algorithm is reviewed in Appendix B and is not presented here for brevity. Table 3.3 shows values that act as the tuning parameters and are set by the designer before creating the controller. The values were found mostly through an iterative tuning procedure. Table 3.3: Tuning Parameters of the IMLLPC Algorithm Symbol Ts p N d M Q R α λ Description Value Sampling time 0.1sec Time-scale 60 Order of Laguerre network 8 Prediction horizon 7 Control horizon 1 Weighting matrix on error Id×d Weighting matrix on control input IM×M Softening factor on reference model output 0.2 Forgetting factor for recurser 0.96 In order to simulate the adaptive controller’s performance, a discrete-time 54 model of the plant is required. We use a state-space model of the form x[k + 1] = A p x[k] + B p m˙ f uel [k − nT ], φ [k] (3.19) = C p x[k] + D p m˙ f uel [k − nT ], where nT is the delay time of the plant, T , expressed in number of sample periods, nT = T Ts, and A p , B p , C p , and D p are matrices of the discretized state-space realization of the transfer function φ m˙ f uel = g , sτ + 1 (3.20) which is simply the first order component of the FOPDT model given in (2.19) in Chapter 2. This model is then used to simulate the closed-loop of the system and iteratively tune the controller. The controller’s closed-loop simulation results are shown and discussed in Chapter 4. 55 Chapter 4 Simulation Results In this chapter the controllers are validated and their reference tracking and disturbance rejection performances are compared using simulations performed using MATLAB and Simulink software. The chapter is divided into three sections. In Section 4.1, the LPV controllers are compared with each other as well as an H∞ controller in order to support the decision to consider both engine speed and air flow in the scheduling parameter. In Section 4.2, the performance improvements of the switching LPV controllers are shown. Finally, the performance of the adaptive controller is compared with that of a switching LPV controller in Section 4.3. Each section is further divided into two subsections titled Time-Invariant Simulations and Time-Varying Simulations. In the former, the dynamic model of the plant is sampled and held constant for the duration of each simulation, consequently producing a time-invariant plant. The time-invariant simulations are used to compare the response time of the controllers at different points within the en- 56 Figure 4.1: Comparison of Pure Delay and Pad´e Approximation gine’s operating range. During the time-varying simulations, on the other hand, the engine speed and air flow follow realistic trajectories while the controllers are performing reference tracking and disturbance rejection. The performance of the controllers is thereby validated for realistic operating conditions. Although the plant includes a Pad´e approximation during controller design, a non-rational pure delay is employed during validation. Figure 4.1 compares the effect of a Pad´e approximation and a pure delay on the step response at an engine speed of 800rpm, and an air flow of 50%. Both curves are acceptably similar, validating the choice of order of the Pad´e approximation given in Chapter 2.5. This holds true at all engine operating conditions. Remark In order to ensure stability of the controller, which was designed for a plant containing a Pad´e approximation, with a plant containing a pure delay, either of two 57 methods can be used. The first method is to place a low-pass filter on the output of the controller. The bandwidth of the filter should be equal to or less than the frequency at which the phase of the Pad´e approximation’s frequency response plot starts differing from that of the actual pure delay. Because the pure delay, T , is time-varying this frequency will vary also. Either a low-pass filter with a time-varying bandwidth or a time-invariant filter, with a bandwidth that corresponds to the worst case of the delay (which happens at 800rpm and 10% air flow) can be used. Addition of the filter effectively modifies the FOPDT plant’s frequency response so that it is similar to that of an FOPDT approximated as a rational transfer function. An alternative method is to use the weighting function on the controller output to tune the controller during controller design such that high frequency controller outputs are avoided. The controller should not output signals with any frequencies higher than the frequency where the phase of the Pad´e approximation starts differing from that of the pure delay. Both methods have been attempted and have yielded similar results. Results shown in this chapter are generated using aggressively tuned controllers with timeinvariant low pass filters on their outputs. 4.1 LPV Controllers The H∞ controller developed in Section 3.3 and LPV Controller 1 and LPV Controller 2, both developed in Section 3.1, are compared in this section.1 The pur1 The results presented in this section have been published in [28] and presented at the 2010 ASME Dynamic Systems and Control Conference. 58 (a) 800rpm and 50% Air Flow (b) 3500rpm and 50% Air Flow (c) 800rpm and 10% Air Flow (d) 3500rpm and 10% Air Flow Figure 4.2: Disturbance rejection of H∞ Controller (Dashed), LPV Controller 1 (Thin), and LPV Controller 2 (Thick) at Fixed Operating Points pose of comparing these controllers is to show the performance improvement achieved by scheduling the controller for both engine speed and air flow. 4.1.1 Time-Invariant Simulations Figure 4.2 displays the system’s response to a 10% step disturbance applied at time t = 1sec while operating at each of the four extremes of the operating range. Figures 4.2(a) and 4.2(c) show that both LPV Controller 1 and LPV Controller 2 have comparable results with the H∞ controller at low engine speed, when the open-loop plant is at its slowest. At high engine speeds, however, the LPV con- trollers adjust for the faster plant, yielding a much faster closed-loop response 59 than that of the fixed controller as can be seen in Figures 4.2(b) and 4.2(d). Figure 4.2(d) shows that LPV Controller 1, which does not compensate for variations in air flow, is too aggressive for the plant at 10% air flow while Figure 4.2(b) shows it to be slow for the plant at 50% air flow. LPV Controller 2, which is scheduled for both air flow and engine speed, maintains acceptable responses for both cases. Time-Varying Simulations Engine Speed (RPM) 4000 3000 2000 1000 0 0 10 20 30 40 50 Time (sec) 60 70 80 90 60 70 80 90 (a) Engine Speed 60 50 Air Flow (%WOT) 4.1.2 40 30 20 10 0 0 10 20 30 40 50 Time (sec) (b) Air Flow Figure 4.3: Engine Speed and Air Flow Profiles 60 (a) Disturbance Rejection (b) Reference Tracking Figure 4.4: Performance of H∞ Controller (Dashed), LPV Controller 1 (Thin), and LPV Controller 2 (Thick) With Time-Varying Plant Dynamics In order to demonstrate the system’s stability and performance while the engine operating point is changing, realistic profiles for engine speed and air flow are used. Figure 4.3 shows the engine speed and air flow over a 90sec simulation. The profiles represent normal engine usage and encompass all four extremes of 61 the normal use operating range. In Figure 4.4(a) a disturbance having the shape of a square wave with a period of 30sec and an amplitude of 10% of the reference is applied to the system. A square reference signal varying from 1 to 1.1 with a period of 30sec is applied to the system in Figure 4.4(b). LPV Controller 2, compensated for both air flow and engine speed, shows some improvement over LPV Controller 1, and very significant improvement over the H∞ controller in both reference tracking and disturbance rejection performance. 4.2 Switching LPV Controllers The switching LPV controllers developed in Section 3.2 as well as an H∞ controller developed in Section 3.3 are evaluated in this section.2 The purpose of comparing these controller is to show the improvement in performance which can be achieved by dividing the operating space into subregions and to demonstrate that stability is maintained even for rapidly moving operating points. Recall that the naming convention of the switching LPV controllers is: S-LPV Controller 1: Single region LPV controller. S-LPV Controller 2: Switching LPV controller with two subregions (Switched along the axis of engine speed, N). S-LPV Controller 3: Switching LPV controller with two subregions (Switched along the axis of air flow, m˙ air ). S-LPV Controller 4: Switching LPV controller with four subregions. S-LPV Controller 5: Switching LPV controller with nine subregions. 2 The results presented in this section have been submitted for publication in the IEEE Transactions on Control Systems Technology. 62 4.2.1 Time-Invariant Simulations The controllers are tested at nine different points within the operating range of the engine in this section. Because the scheduling parameter, θ , remains fixed throughout the duration of each simulation, the parameter dependent plant is also time-invariant during each simulation. A step disturbance is given at time t = 1sec and the response is plotted. The responses of the H∞ controller and of S-LPV Controller 1 can be seen in Figure 4.5. At higher engine speed and air flow, the LPV controller takes advantage of the plant’s faster open-loop response and yields improved closed-loop response while the H∞ controller’s response time remains similar throughout the operating range. Both controllers have poor and oscillatory responses at low engine speed and air flow when the plant dynamics Figure 4.5: Disturbance Rejection of H∞ Controller (Dashed) and S-LPV Controller 1 (Solid) 63 Figure 4.6: Disturbance Rejection of S-LPV Controller 2 (Dashed) and S-LPV Controller 3 (Solid) Figure 4.7: Disturbance Rejection of S-LPV Controller 4 (Dashed) and S-LPV Controller 5 (Solid) 64 are very slow. Figure 4.6 shows the closed-loop responses of S-LPV Controllers 2 and 3, both having two subregions. S-LPV Controller 3 is switched along the air flow axis and yields improved disturbance rejection at all operating points. This demonstrates the importance of carefully choosing the subregions for the switching controller. Intuitively, the subregions should be chosen such that the open-loop plant’s variation due to the movement of the scheduling parameter is minimum within each subregion. An analytical method for finding the optimal subregions is beyond the scope of this research, however. Recall that the subregions used for the switching LPV controllers are given in Figure 3.4 in Section 3.2 and have been chosen through trial and error. Figure 4.7 shows the disturbance rejection of S-LPV Controllers 4 and 5, having four and nine subregions, respectively. Due to the decreased parameter variation within each subregion, these two controllers outperform the single region LPV and two subregion switching LPV controllers at all operating points. The per- formance improvement of S-LPV Controller 5 compared to S-LPV Controller 4 is small while it requires a considerable increase in memory and computation time as shown in Table 3.2 in Section 3.2. S-LPV Controller 4, having four subregions, is therefore recommended as the controller of choice for this particular plant. 4.2.2 Time-Varying Simulations An engine speed and air flow profile representing realistic engine use are employed to demonstrate the system’s stability and performance while the engine 65 Air Flow [%] 100 50 Engine Speed [rpm] 0 0 10 20 30 Time [sec] 40 50 60 0 10 20 30 Time [sec] 40 50 60 6000 4000 2000 0 Figure 4.8: Air Flow and Engine Speed Profiles operating point is varying. Figure 4.8 shows the engine speed and air flow over the 60sec simulation. Idling, “revving”, high load, and engine breaking are all represented in the engine profiles. The resulting trajectory of the scheduling parameter within the operating space is depicted in Figure 4.9. The derivative of the scheduling parameter remains within in the bounds Θd , set in (3.16) in Section 3.2. The H∞ controller, S-LPV Controller 1, and S-LPV Controller 4 are compared using the time-varying simulation. The switching signal generated for S-LPV Controller 4 can be seen in Figure 4.10 and confirms that the parameter trajectory passes through all four subregions. 66 100 90 80 60 50 40 30 20 10 0 0 1000 2000 3000 4000 Engine Speed [rpm] 5000 6000 Figure 4.9: Engine Operating Point Trajectory 4 Switching Variable Air Flow [%] 70 3 2 1 0 10 20 30 Time [sec] 40 50 Figure 4.10: Time-Varying Switching Variable 67 60 (a) Disturbance Rejection (b) Reference Tracking Figure 4.11: Performance of H∞ Controller (Dashed), S-LPV Controller 1 (Thin), and S-LPV Controller 4 (Thick) With Time-Varying Plant Dynamics 68 The disturbance rejection of the controllers with the time-varying plant is seen in Figure 4.11(a). A constant reference equivalence ratio, r = 1, is given while a square-wave shaped disturbance with 10% amplitude and a period of 20sec is applied. S-LPV Controller 4 provides reduced overshoot and improved settling time. The large overshoot at time t = 12sec and spike at time t = 47sec are due to fast parameter movements at those times. Figure 4.11(b) shows the reference tracking performance of the controllers, given a square-wave shaped reference signal, represented by the dotted line. Once again, S-LPV Controller 4 achieves reduced overshoot and improved settling time. 4.3 Adaptive Controller The simulation results of the adaptive controller obtained in Section 3.4 are presented in this section. Whereas the H∞ , LPV , and switching LPV controllers are developed in continuous time, the adaptive controller is developed and simulated completely in discrete time domain. The discrete time state-space model of the FOPDT 4.3.1 plant given in (3.19) is used for simulations and iterative tuning. Time-Invariant Simulations In order to demonstrate the adaptive controller’s adaptation capability, simulations are first performed with the plant dynamics remaining fixed. At the start of the simulation, at t = 0, the estimate vector, known a the spectral gain, is near zero. A non-zero, initial estimate is selected because a zero-estimate results in divergence. An explanation of the adaptive controller design technique, including the Laguerre 69 Figure 4.12: Adaptive Controller Reference Tracking for Fixed Operating Points network and the definition of the spectral gain, is given in Appendix B. As the simulation progresses, the recursive least squares algorithm improves the estimate and the internal model of the plant becomes more accurate. Figure 4.12 shows the tracking performance of the controller at four constant operating points of the engine. At low engine speed and air flow, when the plant dynamics are at their slowest, the adaptation rate appears to be very slow and the reference tracking performance only becomes acceptable around t = 40sec. When either or both engine speed and air flow are high, on the other hand, the adaptation rate is fast, causing the controller to show acceptable reference tracking within the first 10sec. Recall that no a priory information of the plant dynamics is available to the controller, meaning that it is completely ‘learning’ the dynamics of the plant 70 Dead Time in Sample Periods Time Constant (sec) 6 4 2 0 Actual Rounded Up 0 10 20 30 40 50 60 0 10 20 30 40 50 60 0 10 20 30 40 50 60 0.1 0.08 0.06 0.04 0.02 0 Steady State Gain 1 0.8 0.6 0.4 0.2 0 Time (sec) Figure 4.13: Time-Varying FOPDT Parameters during the simulation. 4.3.2 Time-Varying Simulations Engine speed and air flow profiles representing realistic engine use are once again employed to validate the system’s stability and performance while the engine operating point is varying. The engine speed and air flow profiles used are identical to those used for the switching LPV controller in Section 4.2.2 and are shown in 71 1.25 Switching LPV Adaptive Reference 1.2 1.15 Equivalence Ratio 1.1 1.05 1 0.95 0.9 0.85 0.8 0.75 0 10 20 30 Time [sec] 40 50 60 Figure 4.14: Tracking Performance of S-LPV Controller 4 (Thin) and the Adaptive Controller (Thick) Figure 4.8. The resulting FOPDT parameter values, τ, T , and g, can be seen in Figure 4.13. Because a discrete time model is used to simulate the FOPDT plant, the time delay must be expressed in terms of sample periods, Ts , meaning that it cannot be continuously variable. In order to create a conservative model, the delay is always rounded up. With the sampling interval of Ts = 0.1sec used in these simulations, the resultant variation of the delay is between two and six sampling intervals as seen in Figure 4.13. Using a smaller sampling interval reduces rounding errors but increases the order of the discrete time model. 72 Figure 4.14 shows the tracking performance of the adaptive controller compared with that of the recommended switching LPV controller using four sub- regions (S-LPV Controller 4). A reference signal around unity with a period of 20sec is given as represented by the dotted line. The adaptive controller exhibits very poor reference tracking performance between 10sec and 20sec into the simulation, again between 30sec and 40sec, and once again around 50sec. At each of these times, the engine’s operating point is rapidly moving, as can be seen from the air flow and engine speed profiles in Figure 4.8, causing very fast changes in the plant dynamics. Because the dynamics are changing fast, the adaptive controller is unable to keep up, fails to accurately track the reference, and may even become unstable. Using a smaller sampling interval may improve the estimation rate and mitigate this problem but, as has already been stated, increases the order and the complexity of the model and adaptive controller. Further research is required to improve the adaptation rate and robustness of the adaptive controller. 73 Chapter 5 Conclusions 5.1 Summary The objective of this research was to develop an air-fuel ratio controller technique for the Spark Ignition (SI) Internal Combustion (IC) engine which appropriately addresses the engine’s non-linear and parameter-varying nature as well as its time delays and provides guaranteed closed-loop performance over the engine’s entire operating range. A detailed model of the air-fuel ratio dynamics was developed in Chapter 2. The model demonstrated that the dynamics are non-linear and depend on engine speed, air flow, and manifold pressure, which is related to air flow. Time delays in the system were examined, and are also dependent on engine speed and air flow. The detailed model was not used for controller design purposes. Instead, a widely accepted simplified model of the engine dynamics, known as a First Order 74 Plus Dead Time (FOPDT) was used. The FOPDT model approximates the com- bined dynamics as a first order transfer function coupled in series with a pure delay. The model can be completely defined using only three time-varying parameters: a steady state gain, g, first order time constant, τ, and delay time, T . These three parameters were shown to be functions of the engine speed and air flow into the cylinders. An estimate of the air flow into the cylinders was assumed to be available. Methods that successfully estimate the air flow into the cylinders have been demonstrated in prior literature. By selecting air flow as a scheduling parameter, rather than an input to the plant, the engine model was expressed as a pseudo-linear but parameter-dependent transfer function. Four different controller design techniques were used to develop air-fuel ratio feedback controllers to track reference air-fuel ratios and reject disturbances in Chapter 3. A novel air-fuel ratio controller using switching Linear Parameter Varying (LPV) controller design techniques was introduced. In this method, the operating range of the engine is divided into multiple subregions, and an LPV controller which guarantees performance within its respective subregion using Lyapunov stability theory is developed for each subregion. Switching stability is also guaranteed. The switching LPV controller takes both air flow and engine speed as the scheduling parameter and provides a guarantee of performance over the operating range of the engine. Three other design techniques, H∞ control, LPV -based control, and adaptive control, were also used to develop controllers for comparative purposes. Simulations performed in Chapter 4 were used to demonstrate the switching 75 LPV controller’s performance. Firstly, the results were used to validate the choice of air flow and engine speed as the scheduling parameter. An LPV scheduled for both engine speed and air flow was compared against an controller LPV con- troller which was compensated for only engine speed as well as an H∞ controller. The LPV controller scheduled for air flow and engine speed outperformed both the LPV controller scheduled for only engine speed and the H∞ controller. Secondly, switching LPV controllers using two, four, and nine subregions were compared against an LPV controller and an H∞ controller. Simulations confirmed that using a greater number of subregions, resulting in smaller parameter variations within each subregion, reduced the controller’s conservativeness and therefore improved the closed-loop performance. Finally, the performance of a novel adaptive air-fuel ratio controller was compared with that of the recommended switching LPV controller. Simulations showed that the adaptive controller could not adapt to the rapid changes in the engine’s operating point fast enough to be competitive with the switching-LPV controller. This is attributed to the fact that the switching LPV controller, like any gain- scheduled controller, uses a priory information on the parameter-dependent dynamics of the plant to compensate for changes in the operating point instantaneously while the adaptive controller needs to dynamically estimate the plant dynamics in real-time. 76 5.2 Contributions The main contribution of the current research is the development of a switching LPV air-fuel ratio controller. Although the controller was developed specifically for a port injected, normally aspirated, SI IC engine in this research, it can be applied to air-fuel ratio control problems in other engines, including forced induction, lean burn, and direct injection, as well. The contributions of this thesis are outlined below: • A detailed model of the SI IC engine’s air and fuel dynamics is developed and confirms the engine’s non-linear nature and dependency on parameters such as air flow, engine speed, and manifold pressure. • The delays that the four-stroke engine introduces to the air and fuel flow dynamics are considered in detail. Previous authors have assumed both the air and fuel dwell times to be equal to the time that it takes the engine to complete three strokes: induction, power, and exhaust. Because fuel is injected between one and three strokes before the intake valve opens, the fuel dwell time is actually between four and six strokes. • By taking air flow as a time-varying parameter rather than an input to the plant, the non-linear combustion equation is expressed in pseudo-linear but parameter-dependent form. • The FOPDT model of the engine is improved by including a parameter- dependent low frequency gain. The low frequency gain is derived from 77 the combustion equation and is a function of the air flow. • The effect of air flow on the delay in the FOPDT model is considered and compensated for. • The air-fuel ratio control problem is expressed in an LPV form and the switching controller design technique developed in [5] and [23] is applied. The resultant switching-LPV controller has reduced conservativeness, compared to previous methods, and guarantees L2 performance over the entire operating range of the engine. 5.3 Future Work The air-fuel ratio control problem in IC engines is a mature problem. However, it is evident, even from related papers published in 2010 only, that the air-fuel ratio continues to benefit from recent and increasingly advanced controller design techniques. In future work, the research presented in this thesis can be expanded in four areas discussed below. State-Delayed Switching LPV Controller At the same time that the current research was improving on the LPV -based fuel ratio controller presented in [47] by applying switching techniques, the LPV air- authors of [47] were improving the method and introducing a state-delayed LPVbased controller in [48]. The benefit of using a state-delayed LPV controller over the LPV controller is that the delay in the plant does not need to be modeled by 78 a Pad´e approximation. Using a state-delayed LPV controller can also result in closed-loop performance improvements. The same method used to express the LPV plant as a state-delayed LPV plant in [48] can be applied to the current re- search, and a state-delayed switching LPV controller can be produced. Optimal Selection of Subregions In Chapter 3, it is mentioned that the division of the engine’s operating space into subregions was found through trial and error. Considerable improvements can be made to the process of dividing the operating range into subregions. An optimal selection of subregions does exist and can be found analytically. Implementation on Physical IC Engine The recommended switching model of the SI IC LPV controller was simulated on a realistic FOPDT engine. Once the required hardware is available, a real IC engine’s dynamics can be identified and the controller can be implemented. Improvement to Adaptive Controller Performance Finally, the novel adaptive air-fuel ratio controller developed in Chapter 3 as an alternative to gain-scheduling lacked the performance to compete with the switching LPV controller. Additional attention to the controller design and tuning method may greatly improve the controller’s adaptation rate and consequently its closedloop performance. 79 Bibliography [1] D. Alberer, M. Hirsch, and L. del Re. A virtual references design approach for diesel engine control optimization. Control Engineering Practice, 18 (11):1263 – 1271, 2010. ISSN 0967-0661. Special Issue on Automotive Control Applications, 2008 IFAC World Congress. → pages 7 [2] E. Alfieri, A. Amstutz, and L. Guzzella. Gain-scheduled model-based feedback control of the air/fuel ratio in diesel engines. Control Engineering Practice, 17(12):1417 – 1425, 2009. ISSN 0967-0661. Special Section: The 2007 IFAC Symposium on Advances in Automotive Control. → pages 7 [3] P. Andersson and L. Eriksson. Three way catalyst control using a PI-style controller with HEGO sensor feedback. CCSSE, Norrk¨oping, Sweden, October 2002. → pages 5, 6 [4] P. Andersson, L. Eriksson, and L. Nielsen. Modeling and architecture examples of model based engine control. In Proceedings of the Second Conference on Computer Science and Systems Engineering, Norrk¨oping, Sweden, 1999. → pages 3, 7, 20, 22, 27 [5] P. Apkarian and R. Adams. Advanced gain-scheduling techniques for uncertain systems. IEEE Transactions on Control Systems Technology, 6(1): 21–32, 1998. → pages 7, 11, 13, 14, 15, 36, 78, 86, 91 [6] P. Apkarian, P. Gahinet, and G. Becker. Self-scheduled H∞ control of linear parameter-varying systems: A design example. Automatica, 31(9):1251 – 1261, 1995. → pages 7, 13, 14 [7] M. Balenovic, J. Edwards, and T. Backx. Vehicle application of model-based catalyst control. Control Engineering Practice, 14(3):223 – 233, 2006. ISSN 0967-0661. Advances in Automotive Control (AC’04). → pages 5 80 [8] J. Chauvin, G. Corde, N. Petit, and P. Rouchon. Motion planning for experimental airpath control of a diesel homogeneous charge-compression ignition engine. Control Engineering Practice, 16(9):1081 – 1091, 2008. ISSN 0967-0661. → pages 7 [9] J. Cook and B. Powell. Modeling of an internal combustion engine for control analysis. IEEE Control Systems Magazine, 8(4):20 –26, aug 1988. ISSN 0272-1708. → pages 5, 30 [10] G. Fiengo, J. Cook, and J. Grizzle. Fore-aft oxygen storage control. In Proceedings of the 2002 American Control Conference, volume 2, pages 1401 – 1406 vol.2, Anchorage, Alaska, May 2002. → pages 5 [11] G. Fiengo, J. Grizzle, J. Cook, and A. Karnik. Dual-UEGO active catalyst control for emissions reduction: Design and experimental validation. IEEE Transactions on Control Systems Technology, 13(5):722–736, 2005. → pages 5, 27 [12] G. Franklin and A. Powell, J.D. Emami-Naeini. Feedback Control of Dynamic Systems - Sixth Edition. Prentice-Hall, 6 edition, 2010. → pages 27 [13] P. Gahinet and P. Apkarian. A linear matrix inequality approach to H∞ control. International Journal of Robust & Nonlinear Control, 4(4):421–448, 1994. → pages 12, 51 [14] J. Grizzle, J. Cook, and W. Milam. Improved cylinder air charge estimation for transient air fuel ratio control. In Proceedings of the 1994 American Control Conference, Baltimore, Maryland, June 1994. Citeseer. → pages 5, 30 [15] L. Guzzella and C. Onder. Introduction to modeling and control of internal combustion engine systems. Springer Verlag, 2004. → pages 19 [16] R. Heck and R. Farrauto. Automobile exhaust catalysts. Applied Catalysis A: General, 221(1-2):443–457, 2001. → pages 1 [17] E. Hendricks, M. Jensen, A. Chevalier, and T. Vesterholm. Conventional event base engine control. SAE International, 103(3):470 – 489, 1994. → pages 27 81 [18] Y. Huang and A. Jadbabaie. Nonlinear H∞ control: An enhanced quasi-LPV approach. In Proceedings of the 1999 IFAC World Congress, pages 85–90, Beijing, China, July 1999. → pages 13 [19] N. Kahveci and M. Jankovic. Adaptive controller with delay compensation for air-fuel ratio regulation in SI engines. In Proceedings of the 2010 American Control Conference, pages 2236–2241, Baltimore, Maryland, July 2010. → pages 6, 9 [20] U. Kiencke and L. Nielsen. Automotive control systems: For engine, driveline, and vehicle. Measurement Science and Technology, 11, 2000. → pages 25, 27, 32 [21] D. J. Leith and W. E. Leithead. Survey of gain-scheduling analysis and design. International Journal of Control, 73(11):1001–1025(25), 10 July 2000. → pages 12 [22] B. Lennox, G. Montague, A. Frith, and A. Beaumont. Non-linear modelbased predictive control of gasoline engine air-fuel ratio. Transactions of the Institute of Measurement & Control, 20(2):103–112, 1998. → pages 6 [23] B. Lu and F. Wu. Switching LPV control designs using multiple parameterdependent Lyapunov functions. Automatica, 40(11):1973–1980, 2004. → pages 14, 15, 33, 42, 78, 86, 93 [24] L. Mianzo, H. Peng, and I. Haskara. Transient air-fuel ratio H∞ preview control of adrive-by-wire internal combustion engine. In Proceedings of the 2001 American Control Conference, volume 4, Arlington, Virginia, June 2001. → pages 6, 8 [25] K. Muske and J. Peyton Jones. Multi-objective model-based control for an automotive catalyst. Journal of Process Control, 16(1):27–36, 2006. → pages 5, 10 [26] K. Muske, J. Jones, and E. Franceschi. Adaptive analytical model-based control for SI engine air-fuel ratio. IEEE Transactions on Control Systems Technology, 16(4):763–768, 2008. → pages 6, 10, 30, 32 [27] J. Pieper and R. Mehrotra. Air/fuel ratio control using sliding mode methods. In Proceedings of the 2010 American Control Conference, San Diego, California, June 1999. → pages 8 82 [28] M. Postma and R. Nagamune. LPV-based air-fuel ratio control of spark ignition engines using two gain scheduling parameters. In Proceedings of the ASME 2010 Dynamic Systems and Control Conference, Cambridge, Massachusetts, September 2010. → pages 36, 58 [29] D. Powell, N. Fekete, and C. Chang. Observer-based air-fuel ratio control. IEEE Control Systems Magazine, 18(5):72–83, 1998. → pages 8 [30] W. J. Rugh. Research on gain scheduling. Automatica, 36(10):1401–1425, 1999. → pages 13 [31] D. Rupp and L. Guzzella. Iterative tuning of internal model controllers with application to air/fuel ratio control. In Proceedings of the 2010 American Control Conference, Zurich, Switzerland, June 2010. → pages 6, 9 [32] D. Rupp and L. Guzzella. Adaptive internal model control with application to fueling control. Control Engineering Practice, 18(8):873 – 881, 2010. → pages 6, 9, 27 [33] C. Scherer, P. Gahinet, and M. Chilali. Multi-objective output-feedback control via lmi optimization. 1997. → pages 7, 12 [34] A. G. Stefanopoulou, O. F. Storset, and R. Smith. Pressure and temperaturebased adaptive observer of air charge for turbocharged diesel engines. International Journal of Robust and Nonlinear Control, 14(6):722–736, 2004. → pages 5, 30 [35] O. F. Storset, A. G. Stefanopoulou, and R. Smith. Adaptive air charge estimation for turbocharged diesel engines without exhaust gas recirculation. Journal of Dynamic Systems, Measurement, and Control, 126(3):633–643, 2004. → pages 5, 30 [36] A. Stotsky and I. Kolmanovsky. Application of input estimation techniques to charge estimation and control in automotive engines. Control Engineering Practice, 10(12):1371–1383, 2002. → pages 5, 30 [37] R. Turin and H. Geering. Model-reference adaptive A/F-ratio control in an SI engine based on Kalman-filtering techniques. In Proceedings of the 1995 American Control Conference, volume 6, Seattle, Washington, June 1995. → pages 6, 10 83 [38] M. Vajta. Some remarks on Pad´e-approximations. In Proc. Third TEMPUSINTCOM Symposium, pages 53–58, Veszpr´em, Hungary, September 2000. Citeseer. → pages 33 [39] M. Won, S. Choi, and J. Hedrick. Air-to-fuel ratio control of spark ignition engines using gaussian network sliding control. IEEE Transactions on Control Systems Technology, 6(5):678 –687, 1998. ISSN 1063–6536. → pages 6 [40] F. Wu, X. Yang, A. Packard, and G. Becker. Induced L2-norm control for LPV systems with bounded parameter variation rates. In Proceedings of the 1995 American Control Conference, pages 2379–2383, Seattle, Washinton, June 1995. → pages 48, 94 [41] Y. Yildiz, A. Annaswamy, D. Yanakiev, and I. Kolmanovsky. Adaptive air fuel ratio control for internal combustion engines. In Proceedings of the 2008 American Control Conference, Seattle, Washington, June 2008. → pages 6, 9 [42] Y. Yildiz, A. M. Annaswamy, D. Yanakiev, and I. Kolmanovsky. Spark ignition engine fuel-to-air ratio control: An adaptive control approach. Control Engineering Practice, 18(12):1369 – 1378, 2010. → pages 6, 9 [43] C. Zervoz and G. Dumont. Deterministic adaptive control based on Laguerre series representation. International Journal of Control, 48(6):2333–2359, 1988. → pages 12, 53, 98, 101 [44] F. Zhang, K. Grigoriadis, M. Franchek, and I. Makki. Transient lean burn air-fuel ratio control using input shaping method combined with linear parameter-varying control. In Proceedings of the 2006 American Control Conference, Minneapolis, Minesota, June 2006. → pages 6, 10, 11 [45] F. Zhang, K. M. Grigoriadis, M. A. Franchek, and I. H. Makki. Linear parameter-varying lean burn air-fuel ratio control for a spark ignition engine. Journal of Dynamic Systems, Measurement, and Control, 129(4):404–414, 2007. → pages 6, 10 [46] H. Zhang, Z. Chen, Y. Wang, M. Li, and T. Qin. Adaptive predictive control algorithm based on Laguerre functional model. International Journal of Adaptive Control and Signal Processing, 20:53–76, 2006. → pages 13, 54, 98, 100, 101 84 [47] R. Zope, J. Mohammadpour, K. Grigoriadis, and M. Franchek. Air-fuel ratio control of spark ignition engines with TWC using LPV techniques. In Proceedings of the ASME 2009 Dynamic Systems and Control Conference, Hollywood, California, October 2009. → pages 6, 7, 11, 36, 41, 78 [48] R. Zope, J. Mohammadpour, K. Grigoriadis, and M. Franchek. Robust fueling strategy for an SI engine modeled as an linear parameter varying timedelayed system. In Proceedings of the 2010 American Control Coference, Baltimore, Maryland, July 2010. → pages 7, 11, 33, 78, 79 85 Appendix A Switching LPV Controller Synthesis With Guaranteed L2 Performance In this appendix, a method of designing a switching LPV controller with guar- anteed L2 performance that is utilized to design the gain-scheduled air-fuel ratio controllers throughout Section 3.2 is presented. The method is a combination of results in [5] and [23]. Although the body of the thesis addresses the development of a switching LPV controller specifically for air-fuel ratio regulation of SI IC en- gines, the method described in this appendix is not specific and can be applied to any plant which can be expressed in an LPV form. 86 A.1 Controller Design Problem Consider a plant expressed in an LPV form as x˙ = A(θ )x + B1 (θ )w + B2 (θ )u, z = C1 (θ )x + D11 (θ )w + D12 (θ )u, (A.1) y = C2 (θ )x + D21 (θ )w, where x is the state vector, w is the disturbance input, u is the controlled input, z is the performance channel, and y is the measured output of the plant, and all the matrices have compatible dimensions. The scheduling-parameter, θ , is a column vector containing measurable time-varying parameters that affect the plant dynamics. The bounds on θ as well as θ˙ , its rate of change, must be known and are given as θ (t) ∈ Θ, ∀ t ≥ 0, θ˙ (t) ∈ Θd , ∀ t ≥ 0, (A.2) where Θ and Θd are hyperrectangles defining the space of the scheduling parameters and their derivatives, respectively. The parameter space Θ is divided into R overlapping subregions Θ(r) , r = 1, ..., R. The superscript in parenthesis refers to the index of a subregion. Variables with a superscript, r, are only defined within the subregion Θ(r) while variables without it are shared throughout the parameter space Θ. 87 An LPV controller of the form (r) (r) x˙K = AK (θ , θ˙ )xK + BK (θ , θ˙ )y, u is connected to the LPV = (r) (r) CK (θ , θ˙ )xK + DK (θ , θ˙ )y, (A.3) plant. A set of controller matrices is designed for each subregion and is switched depending on the value of θ as discussed below. A.2 Switching Variable At any given time, the scheduling parameter, θ , falls within one of the subregions, Θ(r) , of the parameter space, Θ. We let Θ(σ ) denote this subregion where σ is a piecewise-constant function, σ (t) ∈ {1, 2, ..., R}, ∀t ≥ 0, and is called the switching variable. Whenever θ leaves the current subregion, Θ(σ ) , a switching event occurs and the value of σ changes to the index of the subregion that θ is entering. Because switching only occurs when θ leaves its current subregion, letting subregions overlap introduces hysteresis. Figure A.1 explains hysteresis switching graphically and shows two arbitrary overlapping and neighboring subregions including an example trajectory of θ that crosses the two switching surfaces. The points where switching events occur are marked with crosses. The overlap of the two subregions is shaded. At time t = 0, θ falls within the subregion Θ(i) and therefore σ = i. When the trajectory of θ passes through the switching surface, S(i j) , switching occurs and the value of σ becomes j. Switching occurs again only once the trajectory passes through the switching surface, S( ji) , and σ equals i from then on. Notice that switching from subregion i to j does not occur along the same 88 Figure A.1: An Example Parameter Trajectory Causing Switching Between Two Subregions surface where switching occurs from subregion j to i. A.3 Controller Design Method A switching LPV controller of the form (A.3) is developed so that it guarantees internal stability of the closed-loop as well as a bound of the L2 -gain for the closedloop with (A.1) and (A.3) from w, the disturbance signal, to z, the error signal, for any trajectory of θ satisfying (A.2). The LPV controller matrices are computed by expressing the problem as an optimization problem using a family of Linear Matrix Inequality (LMI)s which are solved using available following subsections are organized as follows: The LMI s LMI techniques. The to guarantee perfor- mance within each subregion are first given in A.3.1. The controller’s dependence on θ˙ , the rate of change of the scheduling parameter, is then removed in A.3.2 giving a practically valid controller. Additional LMI s are introduced to guaran- tee switching performance in A.3.3, and finally the problem is reduced to finite dimensions by gridding the parameter space in A.3.4. 89 A.3.1 Controller Performance Within each subregion, closed-loop stability and an L2 -gain bound, denoted by γ, from the disturbance signal to the error signal are guaranteed when the LMI constraints (A.4) and (A.5) hold at all values of θ within the subregion Θ(r) and the rate of parameter change, θ˙ , within Θd . (r) X˙ (r) + X (r) A + Bˆ K C2 + (∗) ∗ (r) (r) (Aˆ K )T + A + B2 DK C2 (r) −Y˙ (r) + AY (r) + B2CˆK + (∗) (r) ∗ (r) (X (r) B1 + Bˆ K D21 )T (B1 + B2 DK D21 )T (r) (r) C1Y (r) + D12CˆK C1 + D12 DK C2 ∗ ∗ ∗ −γI ∗ (r) < 0, D11 + D12 DK D21 −γI (A.4) X (r) I I Y (r) > 0. (A.5) The dependencies on the scheduling parameter, θ , is hidden in (A.4) and (A.5) for brevity. All matrices are functions of θ , however. The LMI variables include the symmetric matrices X (r) (θ ) and Y (r) (θ ), known as the Lyapunov variables, as (r) (r) (r) (r) well as Aˆ K (θ ), Bˆ K (θ ), CˆK (θ ), and DK (θ ), the quadruple state space matrices. The bound of the L2 -gain, γ, can be chosen as a constant or can be included as an LMI variable and be minimized, thereby yielding an optimal controller. Matrix terms with an asterisk (*) should be completed such that the symmetric. 90 LMI matrix (A.4) is Once the LMI variables are obtained, the controller matrices in (A.3) can be computed as (r) (r) AK (θ ) = [N (r) (θ )]−1 [X (r) (θ )Y˙ (r) (θ ) + N (r) (θ )[M˙ (r) (θ )]T + Aˆ K (θ ) (r) −X (r) (θ )[A(θ ) − B2 (θ )DK (θ )C2 (θ )]Y (r) (θ ) (r) (r) −Bˆ K (θ )C2 (θ )Y (r) (θ ) − X (r) (θ )B2 (θ )CˆK (θ )][M (r) (θ )], (r) (r) (r) BK (θ ) = [(N (r) (θ )]−1 [Bˆ K (θ ) − X (r) (θ )B2 (θ )DK (θ )], (r) (r) (r) CK (θ ) = [CˆK (θ ) − DK (θ )C2 (θ )Y (r) (θ )][M (r) (θ )]T . (A.6) Computation of the matrices M (r) (θ ) and N (r) (θ ) is shown below. A.3.2 Practical Validity The controller shown in (A.3) is not a usual gain-scheduling controller because of its dependence on θ˙ , the rate of change of the scheduling parameter. Since a realtime measurement of θ˙ is usually not available and can be difficult to compute, this dependence is undesirable. Controllers that do not rely on a measurement or estimate of θ˙ are known as practically valid controllers [5]. The controller’s dependence on θ˙ results from the presence of X˙ (r) (θ ) and Y˙ (r) (θ ) in (A.4) and of Y˙ (r) (θ ) and M˙ (r) (θ ) in (A.6). These terms can be eliminated by fixing either one of the Lyapunov variables, X (r) (θ ) or Y (r) (θ ). There is no analytical method for choosing which variable should be constant and which should remain a function of θ . Both cases should be attempted and the resultant closed-loop performance compared in order to find the choice that yields the least conservative controller. Depending on the choice of Lyapunov variables, the matrices M (r) (θ ) and 91 N (r) (θ ), used for controller reconstruction in (A.6), are computed as follows: If we choose X (r) (θ ) = X0 , a constant, then we have M (r) (θ ) = X0−1 −Y (r) (θ ), (A.7) N (r) (θ ) = X0 . Alternatively, for Y (r) (θ ) = Y0 , we have M (r) (θ ) = Y0 , N (r) (θ ) = Y0−1 − X (r) (θ ). A.3.3 (A.8) Switching Performance The LMI constraints in (A.4) and (A.5) guarantee closed-loop stability and L2 performance for the LPV plant and controller combination within each subregion Θ(r) . In order to ensure switching performance, the Lyapunov function must be forced to decrease at any switching event along the switching surface S(i j) . Recall that S(i j) denotes the switching surface from an arbitrary subregion Θ(i) to a neighboring and overlapping subregion Θ( j) . This condition is satisfied when either X (i) (θ ) ≥ X ( j) (θ ), Y (i) (θ ) − (X (i) (θ ))−1 ≤ 92 Y ( j) (θ ) − (X ( j) (θ ))−1 , (A.9) or equivalently, Y (i) (θ ) ≤ Y ( j) (θ ), (A.10) X (i) (θ ) − (Y (i) (θ ))−1 ≥ X ( j) (θ ) − (Y ( j) (θ ))−1 , hold for all values of θ along the switching surface. A further explanation of (A.9) and (A.10), as well as the proof, is given in [23] although different notation is used. In order to synthesize a controller subject to the switching constraints given above, the LMI family consisting of (A.4) and (A.5) is augmented with Y (i) (θ ) −Y ( j) (θ ) ≤ 0 (A.11) if the Lyapunov variable X is chosen to remain constant, or X (i) (θ ) − X ( j) (θ ) ≥ 0 if the Lyapunov variable Y is chosen to remain constant. While the (A.12) LMI s (A.4) and (A.5) must hold for all values of the scheduling parameter, θ , within each subregion, (A.11) and (A.12) must only hold true for values of θ along the two switching surfaces, S(i j) and S( ji) , for each neighboring subregion pair, Θ(i) and Θ( j) . A.3.4 Reduction to Finite Dimensional Because the LMI s (A.4) and (A.5) must hold for all values of the scheduling pa- rameter, θ , within each subregion, and the LMI (A.11) or (A.12) must hold for all 93 values of θ along the switching surfaces, there exists an infinite number of operating points where the LMI variables need to be solved subject to the constraints. In order to make this family of LMI s solvable, it must therefore be reduced to a finite dimensional problem. This can be done by sampling each subregion with a finite number of points. Let G(r) denote a grid within the space of Θ(r) and let Gd denote a grid within the space of Θd . Since θ˙ enters the in (A.4) and (A.5), the LMI LMI s linearly constraints need to be checked only at its extreme values. Gd therefore only needs to include the vertices of the space Θd . Further(i j) more, let GS ( ji) and GS denote grids along the switching surfaces between each neighboring subregion pair. A finite family of LMIs can then be set up for all the subregions, including LMIs (A.4) and (A.5) for all combinations of G(r) × Gd and LMI (i j) (A.11) or (A.12) for each point in GS ( ji) and in GS , and the LMI variables can be calculated simultaneously. In order to calculate the controller matrices for any value of θ within Θ while the LMI variables are only solved at a finite number of points, the nature of their parameter dependence needs to be known. A simple solution, proposed by [40], is to mimic the parameter dependence using a series of functions denoted by ρ(·) such that ρi (·), i = 1, ..., Nρ are differentiable functions of θ . Nρ represents the number of individual functions required to capture the dependence on θ and can be larger than or equal to the number of elements in θ . Copies of the function ρ(·) 94 are then introduced into the LMI variables as Nρ (r) (r) (r) Aˆ K (θ ) = Aˆ K0 + ∑ ρi (θ )Aˆ Ki , i=1 Nρ (r) (r) (r) Bˆ K (θ ) = Bˆ K0 + ∑ ρi (θ )Bˆ Ki , (r) CˆK (θ ) = (r) (r) CˆK0 + (r) i=1 Nρ ∑ (A.13) (r) ρi (θ )CˆKi , i=1 Nρ (r) DK (θ ) = DK0 + ∑ ρi (θ )DKi , i=1 and X (r) (θ ) = Y (r) (θ ) = (r) X0 + (r) Y0 + Nρ (r) ∑ ρi(θ )Xi i=1 Nρ ∑ , (A.14) (r) ρi (θ )Yi . i=1 The LMI (r) (r) (r) (r) (r) (r) variables now become γ and Aˆ K j , Bˆ K j , CˆK j , DK j , X j , Y j where j = 0, 1, ..., Nρ and r = 1, 2, ..., R. After the LMI variables are computed subject to the LMI constraints, the quadruple state space matrices and the Lyapunov variables are reconstructed as functions of θ using (A.13) and (A.14) before the controller matrices are calculated using (A.6). A.4 Recapitulative Procedure The overall procedure for finding the switching as follows: 1. Set up a finite system of LMIs: 95 LPV controller can be described (a) Define G(r) , a grid within each parameter subspace Θ(r) as well as Gd , the limits of the parameter’s rate of change. (i j) (b) Define GS , the grids along the switching surfaces between each pair of neighboring subregions. (c) Define the function ρ(·) so that it mimics the dependence on the scheduling parameter, θ , and use it to define the quadruple state space matrices and the Lyapunov variables as functions of θ in (A.13) and (A.14). (d) Create a family of LMI s such that an instance of (A.4) and (A.5) is present for each pair G(r) × Gd of each subregion and an (i j) or (A.12) is present for each point in GS LMI (A.11) for each neighboring pair of subregions. 2. Solve for variables subject to LMI constraints: (a) Minimize γ subject to the LMI constraints and compute the values of the LMI variables. (b) Use the solution of the LMI variables to obtain the quadruple state space data matrices and the Lyapunov variables as functions of θ using (A.13) and (A.14). 3. Check LMI constraints on a denser grid: (a) Define another grid in each subregion Θ(r) such that it is denser than G(r) . 96 (b) Define another grid of each switching surface such that it is denser (i j) than GS ( ji) and GS . (c) Calculate the values of the LMI variables at each point of the denser grid using (A.13) and (A.14) and check that the LMI constraints hold at each point. (i j) ( ji) (d) If Step 3.c fails, increase the grid density of G(r) , GS , and GS and restart Step 3. 4. Compute controller matrices: (a) In real-time, calculate the controller matrices using (A.6). (b) Switch the controller matrices in real-time using the switching variable σ such that (σ ) AK (θ ) = AK (θ ), (σ ) BK (θ ) = BK (θ ), (σ ) (A.15) CK (θ ) = CK (θ ), (σ ) DK (θ ) = DK (θ ). 5. Perform Steps 1 through 4 twice, fixing either one of the two Lyapunov variables X and Y each time, and choose the least conservative controller. 97 Appendix B Adaptive Predictive Control Algorithm using Laguerre Network In this appendix, the algorithm used in Section 3.4 to create an adaptive air-fuel ratio controller is presented. The method is introduced in [43] and is further developed in [46] where it is given the title Incremental Mode Linear Laguerre Predictive Control (IMLLPC). The method is suitable for any control problem where the plant dynamics are dominated by a delay. This appendix only serves as an overview of the algorithm and does not show the derivation or any proofs associated with the method. 98 B.1 Laguerre Network The Laguerre function is defined as the series Φi (t) = 2p e pt d i−1 · i−1 t i−1 · e2pt , (i − 1)! dt i = 1, 2, . . . , ∞ (B.1) where p is a constant, called the time-scale and t ∈ [0, ∞) is the time variable. The Laplace transform of the Laguerre Function is Φi (s) = L [Φi (t)] = 2p (s − p)i−1 , (s + p)i i = 1, 2, . . . , ∞ (B.2) Figure B.1 shows the structure of an open-loop stable system approximated by a Laquerre series with order N. The output of the model is N N Ym (s) = ∑ Ci Φi (s)U(s) = ∑ Ci li (s) i=1 i=1 Figure B.1: Laguerre Network Model Structure 99 (B.3) where C = [C1 , . . . ,CN ] and is called the Laguerre network’s spectral gain and L = [l1 , . . . , lN ] is the Laguerre network’s state vector. The Laguerre network can be expressed in a state-space form as L(k + 1) = AL(k) + bu(k), Ym (k) (B.4) = CT L(k), with the model’s input, u(k), and output, Ym (k). B.2 IMLLPC Algorithm The IMLLPC algorithm in [46] makes use of the Laguerre network given in (B.4) as the model of the plant in a model reference adaptive approach. Rather than using the values of the input and output directly, IMLLPC uses incremental values, ∆u(k), ∆Ym (k), and ∆L(k). The state-space form in (B.4) therefore becomes ∆L(k + 1) = A∆L(k) + b∆u(k), (B.5) ∆Ym (k) = CT ∆L(k). (B.6) By using incremental values, integration is effectively added to the resulting controller and reference tracking performance is improved. The IMLLPC algorithm is given below. 100 B.2.1 User-Defined Parameters The following values are defined by the designer and serve as tuning parameters. For considerations and instructions on the selection of parameters, see [43] and [46]. Ts Sampling time p Time-scale N Order of Laguerre network d Prediction horizon M Control horizon Q Weighting matrix on error R Weighting matrix on control input α Softening factor on reference model output λ Forgetting factor for recurser B.2.2 Constant Matrices The A and b state-space matrices of the Laguerre network are constants and are given as τ1 A = −(τ1 τ2 +τ3 ) Ts .. . (−1)N−1 τ2N−2 (τ1 τ2 +τ3 ) Ts 0 ··· τ1 .. . ··· .. . ··· −(τ1 τ2 +τ3 ) Ts 0 0 , .. . τ1 (B.7) , (B.8) and bT = −τ2 N−1 2 τ4 ( −τ τ4 Ts )τ4 · · · ( Ts ) 101 where τ1 = e−pTs , τ2 = Ts + 2p (e−pTs − 1), B.2.3 τ3 = −Ts e−pTs − 2p (e−pTs − 1), τ4 = √ 1−τ1 2p p . (B.9) Recursive Estimation The C matrix of the Laguerre network’s state-space form is estimated in a recursive loop such that ˆ ˆ − 1) + C(k) = C(k P(k − 1)∆L(k) · ∆y(k) − Cˆ T (k)∆L(k − 1) , T λ + ∆L (k)P(k − 1)∆L(k) (B.10) and the covariance matrix is updated using P(k) = B.2.4 1 P(k − 1)∆L(k)∆LT (k)P(k − 1) P(k − 1) − . λ λ + ∆LT (k)P(k − 1)∆L(k) (B.11) Control Move Calculation The current output of the Laguerre network is ym (k) = Cˆ T (k) · ∆(k), 102 (B.12) and the estimated future plant output is Yˆp (k + 1) = SHl ∆L(k) + Φym (k) + K [y(k) − ym (k)] , (B.13) with y(k), the measured output of the plant. The matrices, S, Hl , Φ, and K are constants and are defined as 1 ··· .. . 0 1 ··· S= 1 1 0 0 .. . 1 d×d Cˆ T (k)A2 Hl = .. . T d ˆ C (k)A Φ= Cˆ T (k)A 1 1 .. . 1 d×N K= d×1 1 1 .. . 1 d×1 (B.14) respectively. The controller outputs, including the current and future outputs up to k +M −1 are calculated using ∆UM (k) = (HuT ST QSHu + R)−1 HuT ST Q Yr (k + 1) − Yˆp (k + 1) , (B.15) where Yr (k + 1), the reference output is computed from yr (k + i) = α i y(k) + (1 − α i )w, 103 i = 1, 2, · · · , d (B.16) and w is the setpoint. Hu is a constant matrix: Cˆ T (k)b 0 Cˆ T (k)Ab Cˆ T (k)b .. .. . . Hu = T Cˆ (k)AM−1 b Cˆ T (k)AM−2 b .. .. . . Cˆ T (k)Ad−1 b Cˆ T (k)Ad−2 b ··· 0 0 .. . ... Cˆ T (k)b .. . ··· · · · Cˆ T (k)Ad−M b (B.17) d×M The current control output is then simply extracted from the results of (B.15) using the equation ∆u(k) = D∆UM (k), (B.18) where D= . 1 0 ··· 0 1×M Finally, the Laguerre network states are updated using (B.5). 104 (B.19)
- Library Home /
- Search Collections /
- Open Collections /
- Browse Collections /
- UBC Theses and Dissertations /
- Air-fuel ratio control in spark ignition internal combustion...
Open Collections
UBC Theses and Dissertations
Featured Collection
UBC Theses and Dissertations
Air-fuel ratio control in spark ignition internal combustion engines using switching LPV techniques Postma, Marius 2010
pdf
Page Metadata
Item Metadata
Title | Air-fuel ratio control in spark ignition internal combustion engines using switching LPV techniques |
Creator |
Postma, Marius |
Publisher | University of British Columbia |
Date | 2010 |
Date Issued | 2010-12-24 |
Description | The Three-Way Catalytic Converter (TWC) is a critical component for the mitigation of tailpipe emissions of modern Internal Combustion (IC) engines. Because the TWC operates effectively only when a stoichiometric ratio of air and fuel is combusted in the engine, accurate control of the air-fuel ratio is required. To track the desired ratio, a switching Linear Parameter Varying (LPV) air-fuel ratio feedback controller, scheduled based on engine speed and air flow, and providing guaranteed L2 performance, is introduced. The controller measures the air-fuel ratio in the exhaust flow using a Universal Exhaust Gas Oxygen (UEGO) sensor and adjusts the amount of fuel injected accordingly. A detailed model of the air-fuel ratio control problem is developed to demonstrate the non-linear and parameter-dependent nature of the plant, as well as the presence of pure delays. The model’s dynamics vary considerably with engine speed and air flow. A simplified model, widely used in literature and known as a First Order Plus Dead Time (FOPDT) model, is then derived. It effectively captures the control problem using a model which is linear but parameter-varying with engine speed and air flow. Large variation of the FOPDT model across the engine’s operating range has led to conservative LPV controllers in previous literature. For this reason, the operating range is divided into smaller subregions, and an individual LPV controller is designed for each subregion. The LPV controllers are then switched based on the current engine speed and air flow and are collectively referred to as a switching LPV controller. The controller design problem is expressed as a Linear Matrix Inequality (LMI ) convex optimization problem which can be efficiently solved using available LMI techniques. Simulations are performed and the air-fuel ratio tracking performance of the switching LPV controller is compared with that of conventional controllers including, H∞ and LPV, as well as a novel adaptive controller. The switching LPV controller achieves improved performance over the complete operating range of the engine. |
Genre |
Thesis/Dissertation |
Type |
Text |
Language | Eng |
Collection |
Electronic Theses and Dissertations (ETDs) 2008+ |
Date Available | 2010-12-24 |
Provider | Vancouver : University of British Columbia Library |
DOI | 10.14288/1.0071571 |
Degree |
Master of Applied Science - MASc |
Program |
Mechanical Engineering |
Affiliation |
Applied Science, Faculty of Mechanical Engineering, Department of |
Degree Grantor | University of British Columbia |
Graduation Date | 2011-05 |
Campus |
UBCV |
Scholarly Level | Graduate |
URI | http://hdl.handle.net/2429/30499 |
Aggregated Source Repository | DSpace |
Download
- Media
- [if-you-see-this-DO-NOT-CLICK]
- ubc_2011_spring_postma_marius.pdf [ 1.17MB ]
- Metadata
- JSON: 1.0071571.json
- JSON-LD: 1.0071571+ld.json
- RDF/XML (Pretty): 1.0071571.xml
- RDF/JSON: 1.0071571+rdf.json
- Turtle: 1.0071571+rdf-turtle.txt
- N-Triples: 1.0071571+rdf-ntriples.txt
- Original Record: 1.0071571 +original-record.json
- Full Text
- 1.0071571.txt
- Citation
- 1.0071571.ris
Full Text
Cite
Citation Scheme:
Usage Statistics
Country | Views | Downloads |
---|---|---|
United States | 34 | 4 |
Canada | 13 | 0 |
India | 10 | 0 |
China | 6 | 1 |
Italy | 2 | 1 |
Iran | 1 | 1 |
Ethiopia | 1 | 0 |
Netherlands | 1 | 1 |
France | 1 | 0 |
Egypt | 1 | 0 |
Indonesia | 1 | 1 |
United Kingdom | 1 | 0 |
Australia | 1 | 1 |
City | Views | Downloads |
---|---|---|
Unknown | 17 | 9 |
Auburn Hills | 7 | 0 |
Vancouver | 7 | 0 |
Ashburn | 6 | 0 |
Mountain View | 5 | 0 |
Beijing | 5 | 0 |
Seattle | 4 | 0 |
Orleans | 4 | 0 |
Ottawa | 2 | 0 |
Vellore | 2 | 0 |
Sunnyvale | 2 | 0 |
Swampscott | 2 | 0 |
Farmington | 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.24.1-0071571/manifest