Switch gain scheduled explicit model predictive control of diesel engines
09765621 · 2017-09-19
Assignee
- Toyota Motor Engineering & Manufacturing North America, Inc. (Erlanger, KY)
- The Regents Of The University Of Michigan (Ann Arbor, MI)
Inventors
Cpc classification
F02D41/0007
MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
Y02T10/40
GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
F02D41/1406
MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
F01B25/10
MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
G05B13/041
PHYSICS
F02D2041/1433
MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
F02D41/005
MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
Y02T10/12
GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
International classification
F01B25/10
MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
Abstract
A method for controlling an internal combustion engine using a controller that controls an air flow path by adjusting at least one of a variable geometry turbine (VGT) and an exhaust gas recirculation (EGR) flow rate during engine operation. The method determines inputs, such as engine speed and fuel rate from the sensor data, and employs a switch based gain-scheduled explicit model predictive controller (MPC) responsive to the inputs to determine the air flow path.
Claims
1. A method for controlling an internal combustion engine, comprising: determining inputs to a controller of the internal combustion engine; determining an airflow path using a switch based gain-scheduled explicit model predictive controller (MPC) and based on the inputs; and adjusting, with the controller, at least one of a variable geometry turbine (VGT) and an exhaust gas recirculation (EGR) flow rate to set the air flow path determined, wherein to determine the airflow path, the switched based gain-scheduled explicit MPC employs a gain scheduled matrix for different engine operating conditions and corresponding air flow dynamics, generates a diagonal matrix by extracting the diagonal elements of a gain scheduled matrix, generates an off-diagonal gain matrix by extracting the off-diagonal elements of a gain scheduled matrix, and stores a diagonal and an off-diagonal gain matrix in memory to be used when demanded.
2. The method of claim 1 wherein the explicit MPC, for a nominal engine operating condition, generates optimal control actions that fall within a real control constraint region.
3. The method of claim 1 wherein the explicit MPC, for a nominal engine operating condition, generates optimal control actions that may fall outside a real control constraint region.
4. The method of claim 3 further comprising: defining an input constraint matrix for the explicit MPC based on switching between the diagonal and the off-diagonal gain matrix.
5. The method of claim 4 wherein: switching is applied at an interval of half a sample time used in the explicit MPC; and for an even sample time the diagonal gain matrix is used and for an odd sample time the off-diagonal gain matrix is used.
6. The method of claim 1 wherein the inputs are engine speed and fuel rate.
7. The method of claim 2 wherein the nominal engine operating condition can be selected from combination of conditions such as idle speed, no load, or other designed conditions.
8. The method of claim 3 wherein the nominal engine operating condition can be selected from combination of conditions such as idle speed, no load, idle speed, no load, or other designed conditions.
9. A controller for an internal combustion engine, comprising: circuitry programmed to determine inputs to the controller, and determine an airflow path using a switch based gain-scheduled explicit model predictive controller (MPC) and based on the inputs, and adjust at least one of a variable geometry turbine (VGT) and an exhaust gas recirculation (EGR) flow rate to set the air flow path determined, wherein to determine the airflow path, the circuitry is further programmed to employ a gain scheduled matrix for different engine operating conditions and corresponding air flow dynamics, generate a diagonal gain matrix by extracting the diagonal elements of the gain scheduled matrix, generate an off-diagonal gain matrix by extracting the off-diagonal elements of the gain scheduled matrix, and store a diagonal and an off-diagonal gain matrix in memory to be used when demanded.
10. The controller of claim 9 wherein the explicit MPC, for a nominal engine operating condition, generates optimal control actions that fall within a real control constraint region.
11. The controller of claim 9 wherein the explicit MPC, for a nominal engine operating condition, generates optimal control actions that may fall outside a real control constraint region.
12. The controller of claim 11, wherein the circuitry is further programmed to: define an input constraint matrix for the explicit MPC based on switching between the diagonal and the off-diagonal gain matrix that leads to optimal control actions falling back into the real control constraint region.
13. The controller of claim 12 wherein: switching is applied at an interval of half a sample time used in an explicit MPC; and for an even sample time the diagonal gain matrix is used and for an odd sample time the off-diagonal gain matrix is used.
14. The controller of claim 9 wherein the inputs are engine speed and fuel rate.
15. The controller of claim 10 wherein the nominal engine operating condition can be selected from combination of conditions such as idle speed, no load, or other designed conditions.
16. The controller of claim 11 wherein the nominal engine operating condition can be selected from combination of conditions such as idle speed, no load, or other designed conditions.
17. A system, comprising: one or more sensors to obtain an internal combustion engine speed and fuel flow rate data; and a controller including a processor configured to: determine a nominal plant behavior model from an off-nominal plant behavior model using switch gain scheduling, determine an optimal air flow control action for the off-nominal plant by applying the switch gain scheduling in combination with an explicit model predictive controller (MPC) that is designed for nominal plant operating condition, and adjust at least one of a variable geometry turbine (VGT) and an exhaust gas recirculation (EGR) flow rate of the internal combustion engine to set the air flow path determined, wherein to determine the airflow path, the controller employs a gain scheduled matrix for different engine operating conditions and corresponding air flow dynamics, generates a diagonal gain matrix by extracting the diagonal elements of the gain scheduled matrix, generates an off-diagonal gain matrix by extracting the off-diagonal elements of the gain scheduled matrix, and stores a diagonal and an off-diagonal gain matrix in memory to be used when demanded.
Description
BRIEF DESCRIPTION OF THE DRAWING
(1) A more complete appreciation of this disclosure and many of the attendant advantages thereof will be readily obtained as the same becomes better understood by reference to the following detailed description when considered in connection with the accompanying drawings, wherein:
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
DETAILED DESCRIPTION
(13) In the drawings, like reference numerals designate identical or corresponding parts throughout the several views. Further, as used herein, the words “a”, “an” and the like generally carry a meaning of “one or more”, unless stated otherwise. The drawings are generally drawn to scale unless specified otherwise or illustrating schematic structures or flowcharts.
(14) Furthermore, the terms “approximately,” “proximate,” and similar terms generally refer to ranges that include the identified value within a margin of 20%, 10% or preferably 5%, and any values there between.
(15)
(16) The advantage of this embodiment is only one explicit model predictive controller (MPC) may be designed. Hence, the ECU memory usage is significantly reduced in addition to the calibration requirement reduction, while maintaining the performance of the engine such as the diesel engine.
(17) Referring to
(18) In process step 204, constraint parameters for the scaled plant with H.sub.i.sup.d are computed in real-time online, where i is the operating condition. Next, in process step 205, the diagonal matrix H.sub.i.sup.d is used to determine the optimal control strategy. The optimal control strategy is obtained using the using explicit MPC solver and scaled constraints parameters. In process step 206, the diagonal matrix H.sub.i.sup.d is multiplied to the optimal control action taken by the explicit MPC to calculate a new controlled plant input u. Then the switch gain scheduled explicit MPC waits for the next half step sample time 207.
(19) In the process step 208, constraint parameters for the scaled plant with H.sub.i.sup.o are computed in real-time, where i is the operating condition. In the process step 209, the diagonal matrix H.sub.i.sup.o is used to determine the optimal control strategy. The optimal control strategy is obtained using the explicit MPC solver and scaled constraints parameters. In the process step 210, the off-diagonal matrix H.sub.i.sup.o is multiplied to the optimal control action taken by the explicit MPC to calculate a new controlled plant input u. Then the switch gain scheduled explicit MPC waits for the next half step sample time 211. The processes 204-211 are repeated as the time advances.
(20) The switch gain scheduled explicit MPC is general enough to be applied to any internal combustion engine control system application. In this embodiment, diesel engine air flow control is used as a sample application.
(21) Referring to
(22) Each of the nominal and off-nominal plants may be controlled by different explicit MPCs 301 and 304, respectively. In case of off-nominal conditions, if there are i different operating condition, then i different MPCs may be implemented, which in turn increases the memory storage and processing requirement of the ECU 601 used for the engine 604 in
(23) In the present embodiment, the plurality of MPC issue is resolved by designing a single explicit MPC at nominal operating condition and inserting the switching gain scheduler block 102. The switch gain scheduler 102 is coupled with the off-nominal plant model 103 as illustrated in
(24) The design and implementation of a gain scheduler itself is dependent on the type of controller and system dynamics, which include different operating conditions, that render the gain scheduler a specialized module. The present embodiment designs and implements the gain scheduler for an explicit MPC type of controller. In addition, the switch gain scheduler is designed based on splitting the gain matrix H.sub.i into H.sub.i.sup.d and H.sub.i.sup.o, where i refers to the operating condition, d denotes the diagonal matrix and o denotes the off-diagonal matrix. The switch gain scheduler defines a switching variable which dynamically switches between the H.sub.i.sup.d and the H.sub.i.sup.o gain matrices.
(25) The basis of splitting the gain matrix H.sub.i is illustrated in
(26) Applying the gain scheduling (GS) matrix H.sub.i in the traditional way transforms the control issued by the explicit MPC. An exemplary transformation 402 shows that the original control constraints 401 are violated (shaded regions).
(27) The mathematical form of the exemplary
Vu≦W (1)
(28) Where,
(29)
(30) On applying the gain scheduling after the explicit MPC, equation (1) is transformed to equation (2). The resulting matrix does not fully satisfy the constraints W.
VH.sub.iu*≦W (2)
(31) Where,
(32)
(33) When working with explicit MPC, the control constraints restrict one to use special cases of H.sub.i such that the transformation u=H.sub.i u* (refer
(34) Referring to
(35) Referring to
(36) Referring again to
Vu≦W′ (3)
(37) Where,
(38)
V and u are same as in equation (1)
(39) On applying the gain scheduling after the explicit MPC, equation (3) is transformed to equation (4). The resulting matrix now fully satisfies the constraints W 401.
VH.sub.i.sup.du*≦W (4)
(40) Where,
(41)
V and u* are same as in equation (1)
(42) Referring to
Vu≦W″ (5)
(43) Where,
(44)
V and u are same as in equation (1)
(45) On applying the gain scheduling after the explicit MPC, equation (5) is transformed to equation (6). The resulting matrix now fully satisfies the constraints W 401.
VH.sub.i.sup.ou*≦W (6)
(46) Where,
(47)
(48) A mathematical proof illustrating why a gain scheduling method that switches between a gain matrix H.sub.i.sup.d and H.sub.i.sup.o works as well as a full gain scheduling, in which there is no switching between gain matrix, is discussed hereafter. Recall, a switched gain scheduled matrix also satisfies the real control constraints as opposed to a full gain scheduler (see
(49) A discretized dynamic system employing a full gain scheduling can be represented mathematically as equations 7 and 8.
x.sub.k+1=Ax.sub.k+BHu.sub.k (7)
x.sub.k+2=A.sup.2x.sub.k+ABHu.sub.k (8)
Where, A and B are system dynamics matrices, H is a full gain scheduling matrix, x.sub.k is the system input at time-step k, and u.sub.k is the controlled plant input at time-step k.
(50) A dynamic system employing a switched gain scheduling can be represented mathematically as equations 9 and 10.
(51) An error system may be defined as e.sub.k=x.sub.k−
e.sub.k+2=A.sup.2e.sub.k+(ABH−ABH.sup.d−BH.sup.o)u.sub.k (11)
(52) As long as the eigenvalues of A are inside the unit circle, and the control u.sub.k is bounded, the error can also be bounded. Now consider a first order Taylor series expansion of an exponential matrix as given by equation 12.
e.sup.A.sup.
(53) Applying (12) to the discretized equation 11 and assuming H=H.sup.d+H.sup.o we get,
e.sub.k+2=A.sup.2e.sub.k+ΔT.sup.2ABH.sup.ou.sub.k+higher order terms of ΔT (13)
(54) Note in equation 13, for small sampling period ΔT, the term ΔT.sup.2 A B H.sup.o u.sub.k dominates over the higher order terms of ΔT. As ΔT tends to zero, a switch gain scheduled system approaches the dynamic system under consideration.
(55) The results of sample implementation of the switch gain scheduled explicit MPC for a diesel engine air flow control are shown in
(56)
(57)
(58)
(59)
(60) An exemplary engine control unit (ECU) such as ECU 601 contains at least one micro-processor or the equivalent, such as a central processing unit (CPU) or application specific processor ASP (not shown), input and output interfaces 607, memory circuit 606 (e.g., ROM, EPROM, EEPROM, flash memory, static memory, DRAM, SDRAM, and their equivalent), power circuitry, and other supporting components. The microprocessor is circuitry that utilizes a computer readable storage medium, such as the memory circuit 606, configured to control the microprocessor to perform and/or control the processes discussed in this embodiment.
(61) The microprocessor or aspects thereof, in alternate implementations, can include or exclusively include a logic device for augmenting or fully implementing this disclosure. Such a logic device includes, but is not limited to, an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA), a generic-array of logic (GAL), and their equivalent. The microprocessor can be a separate device or a single processing mechanism. Further, this disclosure can benefit from parallel processing capabilities of a multi-cored CPU. Control circuitry provided by one or more processors in multi-processing arrangement may also be employed to execute sequences of instructions contained in memory. Alternatively, hard-wired circuitry may be used in place of or in combination with software instructions. The exemplary implementations discussed herein are not limited to any specific combination of hardware circuitry and software.