Abstract:
A system for automatic multivariable calibration of an engine controller. The system may take inputs which include actuator setpoints, sensor measurements, performance requirements, and so forth. There may be an algorithm to compute engine calibration parameters for the controller. Each of the actuators may be separately stepped through to experimentally obtain actuator input and sensor output data. Algorithmic processing of the experimentally obtained data may be performed to calculate parameters of a model of an engine. A model based control design algorithm may then be invoked to obtain the calibration parameters for a controller. The calibrated controller may be tested with real or simulated engine conditions. The performance related to the parameters may be analyzed and determination of the acceptability of the data be made. If not acceptable, the parameters may be reprocessed. If acceptable, the calibration parameters may be downloaded to the engine controller for application and use.

Description:
BACKGROUND 
   The present invention pertains to engines and particularly to engine controls. More particularly, the invention pertains to calibration of engine controls. 
   SUMMARY 
   The invention is a tool for calibration of an engine control system. 

   
     BRIEF DESCRIPTION OF THE DRAWING 
       FIG. 1  is a diagram of a basic engine control setup; 
       FIG. 2  shows an engine control setup diagram for a simple single variable; 
       FIG. 3  is a flow diagram of a multivariable control calibration approach; 
       FIG. 4  shows a setup of an experiment step for a multivariable control calibration approach; and 
       FIG. 5  shows a setup of a download calibration parameters step for the multivariable control calibration approach. 
   

   DESCRIPTION 
   The calibration of a control system for diesel engines is a very laborious and expensive process for automakers. Much time may be spent on experimenting with the engine to model or map the engine and then generating the best controller calibration (also referred to as tuning) parameters for the engine control system. A seemingly urgent need at the moment may be the speeding-up of the engine calibration process. Model-based approaches that help shorten dynometer times may also be greatly needed. 
   The present invention may be a tool that takes inputs which include actuator setpoints, sensor measurements and performance requirements. The requirements may include acceleration, emissions, robustness, fuel economy, and more. The tool may contain an algorithm which computes engine calibration parameters which result in an engine controller that satisfies or allows a tradeoff among the performance requirements. 
   The invention may include a computer having a tool designed for performing model identification and generating controller tuning parameters. The making of the tool may require one to design and code the software, and to design and make a connection with a test rig, and also to make the production control software. 
   A basic engine control set-up may include an ECU  11  connected to an engine  12 , as shown in  FIG. 1 . Calibration data from a calibration data storage module  13  may be input to a control algorithm module  14 . The algorithm of module  14  may receive an input from a sensor signal processor  15  which provides parameter information about the engine  12 . The information of the engine  12  may be obtained from various sensors  16  on the engine  12  which are connected to the sensor signal processor  15 . Control signals, processed in conjunction with data from module  13 , from the algorithm module  14  may go to an actuator signal processor  17  which provides control signals in a format for appropriate operation of various actuators  18  on the engine  12  for control of various parameters. 
   A basic concern of engine control is to develop calibration data to be accessed from the module  13  by the control algorithm of module  14  such that the closing the loop around the engine  12  may result in acceptable performance with respect to the user requirements. User requirements may often be set by the engine manufacturer and at a high level reflect the requirements of the end user. These requirements may include, but not be limited to, emissions, fuel economy, drivability and noise, vibration and harshness (NVH). The emissions, which need to satisfy regulated levels, are usually specified by a regulating body such as the EPA. There may be minimum fuel economy expectations or requirements. The drivability may be indicated by torque and speed requirements. NVH may need to be kept within acceptable levels. 
   The electronic control unit (ECU)  11  may include a digital computer that controls engine (and sometimes transmission, brake or other car system) operations based on data received from various sensors  16 . Examples of these operations used by some manufacturers may include an electronic brake control module (EBCM), an engine control module (ECM), a powertrain control module (PCM) or a vehicle control module (VCM). 
     FIG. 2  shows an instantiation  20  of a control of the setup  10  in  FIG. 1 , such as a control of the boost pressure to a desired or target value for a supercharged engine  12 . This setup may be an example used for a simple single variable. Calibration parameters K c , K i , and K d  (i.e., PID control algorithm constants) of module  13  may go to a control algorithm module  14  to be operated on by a PID (proportional, integral, and derivative) control algorithm. The algorithm module  14  may receive sensor information from the sensor signal processor  15  which in turn may receive the information from a MAP (manifold absolute pressure) sensor  26 . The MAP sensor  26  may measure pressure in the intake manifold of the engine  12 . The processor  15  may provide an e(t) error signal to the algorithm module  14 . The e(t) signal is an error signal containing the difference between the desired boost pressure and the measured boost pressure. An output u(t) signal (i.e., actuator signal) may be sent through the actuator signal processor to a VNT (variable vane turbine) actuator  28  to set the boost pressure according to the u(t) signal. The actuator  28  may adjust the vane positions in the turbocharger turbine. 
   A PID control algorithm may be provided by the following equation. 
             u   ⁡     (   t   )       =         K   c     ×     e   ⁡     (   t   )         +       K   i     ×       ∑   i     ⁢     e   ⁡     (     t   -   i     )           +       K   d     ×   Δ   ⁢           ⁢     e   ⁡     (   t   )                 
where e(t) is the error signal containing the difference between the desired boost pressure (target) and the measured boost pressure (MAP). Δe(t) may be regarded as “e(t)-e(t-1)”. A calibration challenge in this case is to design the values of parameters K c , K i , and K d  such that closed-loop performance of the system  20  matches expectations. For example, a requirement may be stated as “when subject to step disturbance of 0.2 bar, the control system shall achieve desired boost pressure to within 5 percent accuracy in less than 1 second”. Often the calibration parameters may be required to be developed as a function of engine and ambient conditions. For instance, the values of K c , K i , and K d  may depend upon or change as a function of on engine speed and load or fueling rate. Also, ambient air temperature and pressure may affect the values of K c , K i , and K d .
 
   The present calibration process may rely on generating or determining values for the controller calibration parameters using standard model based control designs that require a model of the dynamics of the engine  12 .  FIG. 3  shows a process flow diagram  30  is intended to illustrate this determination or generation of values. Each of the stage or steps of diagram  30  may be referred to as modules. In an experiment  31 , with the control in open-loop one may separately or simultaneously step each of the actuators or combinations of the actuators that are to be used in a multivariable controller. Multiple step tests may be designed to excite local dynamics at several operational points. Stages of the process may include an experiment  31 , a model identification  32 , and a model based control design  33 . Stages  31 ,  32  and  33  may compose a model based controller design module  45 . The output of  45  is a set of values that may be used for the calibration parameters of the controller. 
   An application module  46  may be connected to an output of model determination module. At the input of module  46 , a question at a decision place  38  may be asked as to whether to do a closed-loop simulation  34  or not relative to the output of module  45 . If the answer is “Yes”, then one may go to the closed-loop simulation  34  and then to an engine trial  39 . If the answer is “No”, then one may skip the closed-loop simulation  34  and go directly to the engine trial  39 . After the engine trial  39 , a performance analysis  35  may be performed on the results of the engine trial  39 . The analysis  35  may indicate what the performance numbers are for a given set of values for the calibration parameters output from module  45 . A question at a decision place  36  as to whether the requirements are satisfied by the performance numbers may be asked. If the answer is “No”, then one may return back to the experiment  31 , the model identification  32  or the model based control design stage  33  of model determination module  45 , as needed in that order. If the answer is “yes” to a question of the decision place  36 , then a downloading of determined values for the calibration parameters, such as PID calibration parameters K c , K i , and K d , to an ECU  11  may be effected. The performance analyzer  35  and decision place  36  may compose an evaluation module  47 . 
   This system  30  may work with multivariable interactions or multivarible control. The calibration parameters of a PID controller may automatically be determined. Various approaches besides PID control may be used. For instance, model predictive control (MPC) may be used. 
   For the experiment step or stage  31 , one may use a setup as shown in  FIG. 4 . Stage  31  may essentially bypass the control algorithm and write actuator signals to the ECU  11  that can be beneficial for extracting dynamic model information. The system of  FIG. 4  reveals an advancement where an output from the sensor signal processor  15  may go to a calibration computer  41 . There may be a switch  42  for disconnecting the output of the control algorithm module  14  from the actuator signal processor  17  and connecting an output of the calibration computer  41  to the processor  17 . With the control in the open loop configuration, one may separately step through each of the actuator moves or combinations of actuator moves to be used in the multivariable controller and perform the necessary excitation of the process. The actuator input and sensor output data can then be used to identify the parameters of a dynamical model of the process using standard algorithms. For instance, one version of the diesel engine induction control may be a two-by-two issue where a VNT vane actuator  28  and an EGR valve actuator  29  which are used to control the boost pressure (as measured by a MAP sensor  26 ) and the manifold air flow (as measured by a MAF sensor  27 ), respectively. One may perform a step of the VNT vane actuator  28  and the EGR actuator  29  (either separately or simultaneously). Since the response of the engine  12  may change dramatically at different operating points (for example as a function of speed and load or fueling rate), then one may propose multiple step tests designed to excite local dynamics at several operating points. The stepping through the actuators may be done to extract actuator input and sensor output data which is then used to determine the values of the constants that define the dynamical models. 
   The model identification stage  32  in  FIG. 3  may refer to the algorithmic processing of the experimental data in order to calculate parameters of a parameterized model of the dynamics of the engine  12 . Model identification algorithms may be used in automotive applications. Standard model identification actuator signals may include steps, ramps, pseudo-random binary signals (PRBS), sine waves or various frequencies, and the like. 
   The following may reveal a model of the dynamics of an engine. Such a model may be applicable to engine  12 . A development of a feedback controller may require a model of the engine dynamics as a function of an operating point and ambient conditions as well as a technique for constructing this model by combining physical insight and experimental results. 
   If one considers the case of MAP and MAF response to VNT and EGR, and writes a 2-by-2 transfer matrix, 
               [             y   1     ⁡     (   s   )                   y   2     ⁡     (   s   )             ]     =       [             g   `11     ⁡     (   s   )               g   12     ⁡     (   s   )                   g   21     ⁡     (   s   )               g   22     ⁡     (   s   )             ]     ⁡     [             u   1     ⁡     (   s   )                   u   2     ⁡     (   s   )             ]         ,         
where the symbols y 1 , y 2 , u 1 , u 2  represent the physical parameters, then one gets
 
   
     
       
         
           
             
               [ 
               
                 
                   
                     
                       
                         y 
                         1 
                       
                       ⁡ 
                       
                         ( 
                         t 
                         ) 
                       
                     
                   
                 
                 
                   
                     
                       
                         y 
                         2 
                       
                       ⁡ 
                       
                         ( 
                         t 
                         ) 
                       
                     
                   
                 
               
               ] 
             
             = 
             
               [ 
               
                 
                   
                     
                       MAP 
                       ⁡ 
                       
                         ( 
                         t 
                         ) 
                       
                     
                   
                 
                 
                   
                     
                       MAF 
                       ⁡ 
                       
                         ( 
                         t 
                         ) 
                       
                     
                   
                 
               
               ] 
             
           
           , 
           
             
 
           
           ⁢ 
           
             
               [ 
               
                 
                   
                     
                       
                         u 
                         1 
                       
                       ⁡ 
                       
                         ( 
                         t 
                         ) 
                       
                     
                   
                 
                 
                   
                     
                       
                         u 
                         2 
                       
                       ⁡ 
                       
                         ( 
                         t 
                         ) 
                       
                     
                   
                 
               
               ] 
             
             = 
             
               
                 [ 
                 
                   
                     
                       
                         VNT 
                         ⁡ 
                         
                           ( 
                           t 
                           ) 
                         
                       
                     
                   
                   
                     
                       
                         EGR 
                         ⁡ 
                         
                           ( 
                           t 
                           ) 
                         
                       
                     
                   
                 
                 ] 
               
               . 
             
           
         
       
     
   
   Based on various experiments with a model, each single-variable subplant may be well-defined by the sum of two first order responses, 
               g   ij     ⁡     (   s   )       =         k   ij   s           p   ij   s     ⁢   s     +   1       +         k   ij   f           p   ij   f     ⁢   s     +   1       .             
Then each of the subplants g ij (s) may be characterized by four parameters; 2 gains (k ij   s  and k ij   f ) and 2 time constants (p ij   s  and p ij   f ). The superscripts “f” and “s” are intended to denote “fast” and “slow”.
 
   For computational convenience, one may collect the parameters of the differential equation into a 4-vector,
 
θ ij (σ)=└ k   ij   s (σ), p   ij   s (σ), k   ij   f (σ), p   ij   f (σ)┘.
 
The functional dependence of θ ij (σ) on the symbol σ indicates that the value of the gains and time constants may depend on some other variables. A study into a representative model appears to show that the scheduling parameters σ must at least include the speed and load σ(t)=[N e (t) W f (t)]. There may be schedule made relative to the operating point on the intake and exhaust pressures so that
 
σ( t )=[ p   i ( t ) p   x ( t )].
 
   The model based control design step or stage  33  may refer to an automatic design of the control algorithm—including its calibration parameters—as a function of the identified model and also performance specifications. One could concentrate on a model predictive control. However, there may be many other multivariable control design techniques that could be used with the present system. Some of these techniques may include robust control (H-infinity or H-2 control), linear parameter varying (LPV) control, LPV H-infinity control, PID control with model based design of calibration parameters, and so forth. 
   The closed-loop simulation or engine trial step may refer to the testing of a designed control algorithm and calibration parameters. A developed controller may be put into closed-loop with either the real engine or a simulation of the engine. Then a prespecified test or tests (e.g., a running one of the legislated emissions certification cycles) of the closed-loop performance may be performed and the data collected. 
   The performance analysis step or stage  35  may refer to a using of the calibration software tool to analyze the closed-loop test data in order to make a decision as to whether the closed-loop performance is acceptable or not. 
   The download calibration parameters step or stage  37  to an ECU  11  may refer to an act of copying the designed calibration parameters into the appropriate memory locations in the ECU  11 .  FIG. 5  reveals a configuration  50  for this stage. The calibration computer  41  may have its output connected to an input of the calibration data module  13 . 
   In the present specification, some of the matter may be of a hypothetical or prophetic nature although stated in another manner or tense. 
   Although the invention has been described with respect to at least one illustrative example, many variations and modifications will become apparent to those skilled in the art upon reading the present specification. It is therefore the intention that the appended claims be interpreted as broadly as possible in view of the prior art to include all such variations and modifications.