Configurable automotive controller

Information

  • Patent Grant
  • 8265854
  • Patent Number
    8,265,854
  • Date Filed
    Friday, July 8, 2011
    13 years ago
  • Date Issued
    Tuesday, September 11, 2012
    12 years ago
Abstract
An engine control unit having a one-time integration of a model predictive control template via a potentially long software process. Changes to the control structure may subsequently be made via a calibration dataset connected to the engine control unit without incurring the potentially long and laborious software process of implementing the template of other approaches in the related art.
Description
BACKGROUND

The invention pertains to automotive controllers and particularly to configuring such controllers.


SUMMARY

The invention is a system having a general multi-parameter model predictive controller template in an embedded engine control unit such that long software coding changes requiring large amounts of time are bypassed.





BRIEF DESCRIPTION OF THE DRAWING


FIG. 1 illustrates an example related art graph of constraints for the optimization vector {right arrow over (u)}(xk) using multi-parametric quadratic programming algorithm;



FIG. 2 illustrates an example related art graph of critical regions for a parameter vector xk utilizing a multi-parametric quadratic programming algorithm;



FIG. 3 illustrates a high-level flowchart depicting an off-line method for the design and implementation of optimal multivariable MPC controllers using an MP-QP algorithm;



FIG. 4 illustrates a high-level flowchart illustrating an on-line method for the design and implementation of optimal multivariable MPC controllers using an MP-QP algorithm;



FIG. 5 illustrates a schematic diagram depicting a general control system with an optimal MPC controller utilizing an explicit QP solver;



FIG. 6 illustrates a high-level flowchart illustrative of an off-line method for design and implementation of optimal multivariable MPC controllers using a primal-dual feasibility algorithm;



FIG. 7 illustrates a high-level flowchart illustrative of an on-line method for design and implementation of optimal multivariable MPC controllers using the primal-dual feasibility algorithm;



FIG. 8 illustrates a detailed flowchart illustrative of an off-line method for design and implementation of optimal multivariable MPC controllers using the primal-dual feasibility algorithm;



FIG. 9A and FIG. 9B illustrate a detailed flowchart illustrative of an on-line method for design and implementation of optimal multivariable MPC controllers using the primal-dual feasibility algorithm;



FIG. 10 illustrates a high-level flowchart illustrative of an off-line method for design and implementation of optimal multivariable MPC controllers using a graph algorithm;



FIG. 11 illustrates a high-level flowchart illustrative of an on-line method for design and implementation of optimal multivariable MPC controllers using the graph algorithm;



FIG. 12A is a diagram of an automotive control development approach;



FIG. 12B is a diagram showing an integration of a real-time template;



FIG. 12C is a diagram showing configuring and calibration of a controller with skipping controller software changes;



FIG. 12D is a diagram showing a compiling of a controller algorithm and dataset together;



FIG. 13 is a diagram of a control functional block in an automotive engine control unit;



FIG. 14 is a diagram similar to the diagram of FIG. 13 except a model predictive control template functional block of the present invention is substituted in place of the control functional block of FIG. 13;



FIG. 15 is a diagram of an internal structure of the model predictive control controller in FIG. 14;



FIG. 16 is a diagram of engine control unit software architecture;



FIG. 17 is a diagram of a development process for a control functional block;



FIG. 18A is a diagram of a developmental approach of the present invention for a control functional block; and



FIG. 18B is a diagram of a developmental approach of the present invention that compiles controller code and a calibration dataset together.





DESCRIPTION

An approach of the present invention may include the use of a model predictive control (MPC) controller on an OEM's control hardware and software platform. The approach or system may be enabled in that the controller is configurable via a calibration dataset without a requirement to enter a laborious software development process shown FIG. 12a. The present approach may permit an optimal multivariable controller to be configured strictly through populating a template with data. The term “present” used in this description may refer to the invention.


MPC control may be formulated as a general optimization problem. The control objectives may be expressed by a criterion function or a cost function and by defining system constraints. The control action might be achieved by solving the optimization problem numerically at each sampling period in cases where there exist sufficient computing resources.


The overall performance of MPC may be significantly affected by the quality and accuracy of the utilized model, which is internally utilized by MPC to predict the future trajectories based on actual measurements. A nonlinear model may describe the behavior of a system relatively well, but it is more difficult to formulate and to solve MPC based on nonlinear MPC models than the linear models. A linear model may describe the dynamic behavior of the system well in a certain neighborhood of an operating point. The parameters of the linear model might be identified by utilizing data obtained from an identification experiment. A discrete-time linear model may be expressed, for example, in a state space form as indicated in equation (1.1) as follows:

xk+1=Axk+Buk
yk=Cxk+Duk  (1.1)

where, xεcustom character represents the system state, uεcustom character is the system input, yεcustom character is the system output and Aεcustom character, Bεcustom character, Cεcustom character, Dεcustom character are system matrices. This model may be utilized to predict future system trajectories based on information related to the current system state, i.e., xk. The prediction may be provided, for example, by equations (1.2) and (1.3) below.










[




x

k
+
1







x

k
+
2












x

k
+
N





]

=



[



A





A
2











A
N




]



x
k


+


[



B



















AB


B
































A

N
-
1



B





A

N
-
2



B






B



]



[




u
k






u

k
+
1












u

k
+
N
-
1





]







(
1.2
)







[




y
k






y

k
+
1












y

k
+
N
-
1





]

=



[



C




CA










CA

N
-
1





]



x
k


+


[



D



















CB


D
































CA

N
-
2



B






CB


D



]



[




u
k






u

k
+
1












u

k
+
N
-
1





]







(
1.3
)








Using simplified notation, equations (1.2) and (1.3) may be written as

{right arrow over (x)}=Pxxxk+Pux{right arrow over (u)}k
{right arrow over (y)}=Pxyxk+Puy{right arrow over (u)}k  (1.4)

where,








x


=

[




x

k
+
1







x

k
+
2












x

k
+
N





]


,






y


=

[




y
k






y

k
+
1












y

k
+
N
-
1





]


,






u


=

[




u
k






u

k
+
1












u

k
+
N
-
1





]







and Pxx, Pux, Pxy, Puy are corresponding matrices.


In the optimization problem, the objectives for MPC control may generally be expressed as a cost function. In linear MPC, the cost function may be quadratic with linear constraints, which leads to Quadratic Programming (QP) problems. Therefore, the final form of the cost function may be influenced by many factors. The basic form may be written as indicated, for example, in equation (1.5) below:










J


(


u


,

x
k


)


=



x

k
+
N

T



Q
N



x

k
+
N



+




i
=

k
+
1



k
+
N
-
1





x
i
T


Q






x
i



+




i
=
k


k
+
N
-
1





u
i
T


R






u
i








(
1.5
)








where Qεcustom character, QNεcustom character and Rεcustom character represent weighting matrices. If the control problem is to track a given reference signal, then, the cost function may usually be written as










J


(


u


,

x
k


)


=



e

k
+
N

T



Q
N



e

k
+
N



+




i
=

k
+
1



k
+
N
-
1





e
i
T


Q






e
i



+




i
=
k


k
+
N
-
1




Δ






u
i
T


R





Δ






u
i








(
1.6
)








where, ek=yk−rk is the tracking error, rk is the reference signal and Δuk=uk−uk−1.


Using equation (1.4) and by introducing linear constraints, the optimization problem of MPC control may usually be transformed to the matrix form of equation (1.7) as follows:











u


*

=


arg







min

u






{



1
2




u


T


H


u



+


x
k
T


F


u



+
β

}







s
.
t
.




G



u







W
+

V






x
k








(
1.7
)








where, H and F represent corresponding matrices and G, W and V represent matrices defining constraints. Then, the control action at each sampling period may be obtained by solving the optimization problem of equation (1.7).


In many applications, the optimization problem might be formulated as a Quadratic Program (QP), if the model utilized by the MPC controller is linear. The QP problem as illustrated by equation (1.7) above may be solved numerically or explicitly in each sampling period for systems with relatively large sampling periods. The numerical solution, however, is not necessarily possible for applications with relatively short sampling periods or when control is to be implemented in restricted computing environments such as the embedded systems used in automotive applications. An explicit solution to QP may be as a multi-parametric quadratic programming (MP-QP) approach and may enable relatively fast-sampling periods. The explicit solution to QP may be computed in two stages, which are typically divided into an off-line part and an on-line (i.e., “online”) part. The off-line part may be utilized for pre-computations in order to save on-line time in each sampling period of MPC control.


A standard MP-QP approach may transform the optimization problem of equation (1.7) by utilizing the following coordinate transformation illustrated by equation (1.8):

z={right arrow over (u)}+H−1FTxk  (1.8)

where, Z represents the new optimization vector of appropriate size. The new optimization problem may generally be given by the following equation (1.9):












min
z




{



1
2



z
T


H





z

+

β
_


}







s
.
t
.




G






z




W
+

S






x
k




,





S
=

V
+

G






H

-
1





F
T

.








(
1.9
)








The associated Lagrange function may be defined as










L


(

z
,
λ

)


=



1
2



z
T


H





z

+

β
_

+



(


G





z

-
W
-

S






x
k



)

T


λ






(
1.10
)








where, λεcustom character represents the vector of Lagrange multipliers. Then, the optimality conditions (Karush-Kuhn-Tucker conditions) for a given problem may be expressed as follows:

Hz+GTλ=0,
Gz−W−Sxk≦0,
λiAT(GiA−WiA−SiAxk)=0,
λiA≧0.  (1.11)

where, iA represents a set of indices of all active constraints. If I is the set of indices of all constraints and z*(xk) is the optimal solution to (1.9), then, iA may be defined by the following equation (1.12):

iA(xk)□{iεI;Giz*(xk)−Wi−Sixk=0}  (1.12)

Similarly, the set of inactive constraints can be defined by equation (1.13):

iNA(xk)□{iεI;Giz*(xk)−Wi−Sixk=0}  (1.13)

Using the KKT conditions of equation (1.11), for optimal solution Z*(xk) it may hold then:

Hz*(xk)+GiATλiA*(xk)=0,
GiAz*(xk)−WiA−SiAxk=0,
GiNAz*(xk)−WiNA−SiNAxk<0
λiA*(xk)≧0,
λiNA*(xk)=0.  (1.14)

Utilizing the first condition in equation (1.14) and assuming that matrix Hcustom character0 is strictly positive definite, then,

z*(xk)=−H−1GiATλiA*(xk)  (1.15)

Using equation (1.15) and second condition in (1.14), λiA* may be computed by equation (1.16) below:

λiA*(xk)=−(GiAH−1GiAT)−1(WiA+SiAxk)  (1.16)

and the optimal solution may be expressed as affine function of parameter vector xk
z*(xk)=H−1GiAT(GiAH−1GiAT)−1(WiA+SiAxk)  (1.17)


Finally, the solution of equation (1.17) needs to satisfy constraints in equation (1.9) and Lagrange multipliers of equation (1.16) need to be nonnegative, as required by the fourth condition in equation (1.14). Both conditions may be rewritten to the form of (1.18) as follows:











[





G






H

-
1






G

i
Aj

T



(


G

i
A




H

-
1




G

i
A

T


)



-
1




S

i
A



-
S







(


G

i
A




H

-
1




G

i
A

T


)



S

i
A






]



x
k






[






-
G







H

-
1






G

i
Aj

T



(


G

i
A




H

-
1




G

i
A

T


)



-
1




W

i
A



+
W







-


(


G

i
A




H

-
1




G

i
A

T


)


-
1





W

i
A






]






(
1.18
)







Referring to FIGS. 1-2, example related art graphs 100 and 200 are illustrated, which represent the constraints for optimization vector {right arrow over (u)}(xk) and critical regions for a parameter vector xk using a multi-parametric quadratic programming algorithm. The stored matrices from equation (1.8) to (1.18) may be utilized in the on-line part of the multi-parametric quadratic programming algorithm to determine the optimal solution it {right arrow over (u)}*(xk) for the given parameter vector xk. As depicted in FIG. 1, system constraints for the optimization vector {right arrow over (u)}(xk) may be plotted using the stored matrices from equations (1.8) to (1.18). As illustrated in FIG. 2, the critical regions CRiA associated with a given set of active constraints indexed by iA may be defined by the inequality (1.18). The optimal solution associated with CRiA may be given by (1.17). The optimal MPC control action {right arrow over (u)}*(xk) can be obtained by utilizing the transformation of equation (1.8) as follows:

{right arrow over (u)}*(xk)=−H−1FTxk+z*(xk)  (1.19)

Therefore, the solution of the optimization problem (1.9) may be divided into the off-line part and on-line part.


Referring to FIG. 3, a related art flowchart depicting an off-line method 300 for the design and implementation of optimal multivariable MPC controllers utilizing an MP-QP algorithm is illustrated. As indicated at block 310, the parameter space may be partitioned so that all partitions for all feasible combinations of constraints iA (1.18) and associated affine functions for z*(xk) (or more precisely uk*(xk) by using transformation (1.8)) may be computed for an optimal on-line control action. As depicted at block 320, the pre-computed critical regions CRiAj for j=1, 2, . . . n, where n is the total number of critical regions, and the affine functions for uk*(xk) are stored, where the stored matrices may be defined as follows:











M
1
j

=

[





G






H

-
1






G

i
Aj

T



(


G

i
Aj




H

-
1




G

i
Aj

T


)



-
1




S

i
Aj



-
S








(


G

i
Aj




H

-
1




G

i
Aj

T


)


-
1




S

i
Aj






]









m
1
j

=

[






-
G







H

-
1






G

i
Aj

T



(


G

i
Aj




H

-
1




G

i
Aj

T


)



-
1




W

i
Aj



+
W







-


(


G

i
Aj




H

-
1




G

i
Aj

T


)


-
1





W

i
Aj






]









M
2
j

=


(



-

H

-
1




F

+


H

-
1






G

i
Aj

T



(


G

i
Aj




H

-
1




G

i
Aj

T


)



-
1




S

i
Aj




)


(

1












n
u


)










m
2
j

=


(


H

-
1






G

i
Aj

T



(


G

i
Aj




H

-
1




G

i
Aj

T


)



-
1




W

i
Aj



)


(

1












n
u


)







(
1.20
)








where the notation A(1 . . . n) is used to denote the first n rows of matrix A.



FIG. 4 illustrates a related art flowchart depicting an on-line method 400 for the design and implementation of optimal multivariable MPC controllers utilizing an MP-QP algorithm. As illustrated at block 410, actual value of parameter vector xk may be read in the on-line part. Next, as depicted at block 420, the active critical region CRiA may be determined for the actual value of parameter vector xk, and the optimal control law uk*(xk) may be computed by utilizing the associated affine function and the active critical region.



FIG. 5 illustrates a schematic block diagram of a general control system 500 with optimal MPC controller 510 utilizing an explicit QP solver 520. The control system 500 may be adapted with MPC controller 510 for controlling, for example, an automotive system 530 by utilizing an explicit QP solver 520. MPC controller 510 may include a model of the dynamic operation process of the automotive system 530. MPC controller 510 may further provide predictive control signals to the automotive system 530, which might be subjected to constraints in control variables and measured output variables. The predictive control signals may be generated by determining the state of physical plant 505 utilizing actuators 504, sensors 506 and state observer 501 in MPC controller 510. The actuators 504 and the sensors 506 may be directly interconnected with a physical plant 505, such as an engine.


In addition, the explicit QP solver 520 may be implemented within MPC controller 510, and divided into an off-line portion 502 and an on-line portion 503. The explicit QP solver 520 may solve the optimization QP problems by using one of the optimization algorithms such as multi-parametric quadratic programming, primal-dual feasibility algorithm and graph algorithm Note that the off-line portion 502 may run once when user designs MPC controller 510 and the on-line portion 503 may run once per sample time of the real-time controller 510 at each discrete time k=0, 1, 2, . . . . The state observer 501 may generally receive present and/or past values for a number of inputs y(k) from the sensors 506 and number of control outputs u(k) of the actuators 504. The state observer 501 may produce a current set of state variables x(k) to the on-line portion 503 of the explicit QP solver 520.


The on-line portion 503 of the QP solver 520 may compute the control outputs u*(k) based on the state variables x(k) and the stored matrices in the off-line portion 502 of the QP solver 520. Therefore, MPC controller 510 may control the effect of changes in the state of the actuators 504 on each input parameter using the computed control outputs u*(k) in order to produce a desired target value in input and output parameters of the engine 505. The control outputs u*(k) may be updated constantly, intermittently or periodically for achieving optimal multivariable control of the engine 505. MPC controller 510 with the explicit QP solver 520 may be implemented as an electronic controller unit (ECU) in automotive control applications, in particular motor vehicle.


Referring to FIG. 6, a high-level flowchart of an off-line portion 600 for the design and implementation of optimal multivariable MPC controllers 510 using a primal-dual feasibility algorithm is illustrated. The MP-QP algorithm may be modified for producing the primal-dual feasibility algorithm, which enables one to save memory while keeping CPU utilization in the on-line part. Many of the equations may be common for both approaches. The off-line portion 600 may compute matrices and vectors for use in the on-line part.


As illustrated at block 610, matrices and vectors for all feasible combinations of active constraints in the automotive system 530 may be computed in order to calculate the Lagrange multipliers and the optimizer in the on-line part. As depicted at block 620, the computed matrices and vectors may be stored in the off-line portion 502 of the QP solver 520. The computed matrices may define the constraints of QP optimization problem. Multivariable MPC controllers 510 with the primal-dual feasibility approach can be implemented as a computer program on a specialized real-time control platform.


Referring to FIG. 7, a high-level flowchart of an on-line method 700 for design and implementation of optimal multivariable MPC controllers 510 using the primal-dual feasibility algorithm is illustrated. In the on-line part, the optimization scheme may be applied in each sampling period of the MPC control algorithm. As described at block 710, the parameter vector estimated by the state observer 501 may be read initially. As indicated thereafter at block 720, the parameter vector may be checked through all feasible combinations of the active constraints in the automotive system 530. In this checking step, initially, the Lagrange multipliers may be calculated in order to determine the dual feasibility of the parameter vector using matrices and vectors stored in the off-line portion 502 of the QP solver 520. If the parameter vector is not dual feasible, then the next feasible combination of the active constraints may be checked for dual feasibility.


Thereafter, an optimizer candidate can be calculated in order to determine the primal feasibility (PF) in the parameter vector, if the parameter vector is found to be dual-feasible. If the parameter vector is not one that leads to a primal feasible optimizer candidate, then the next feasible combination of the active constraints may be examined in order to determine the optimizer. The QP optimization problem may be solved by utilizing the optimizer. The dual-primal feasibility-checking step may then be terminated, when either the parameter vector leads to dual-primal feasibility (the solution has been found) or all feasible combinations of the active constraints have been checked without success (the solution has not been found). Such an “online” implementation of MPC controller 510 utilizing the primal-dual feasibility algorithm may reduce a search of the solution space and implementation usage of the appropriate parameter vector. Note that “online” may generally refer to the use of or access to a computer and/or computer network such as the “Internet” and/or an “Ethernet”. An example of an “online” system which may be accessed and processed is system 2000 depicted and described in greater detail herein with respect to FIG. 20.


Referring to FIG. 8, a flowchart of an off-line portion 800 for the design and implementation of optimal multivariable MPC controllers 510 using a primal-dual feasibility algorithm is illustrated. Before compiling the primal-dual feasibility algorithm, assuming that, iA is a set of indices of active constraints and iNA is a set of indices of inactive constraints at optimal solution in accordance with the Karush-Kuhn-Tucker (KKT) conditions for the optimal solution as follows:

Hz*(xk)+GiATλiA*(xk)=0,
GiAz*(xk)−WiA−SiAxk=0,
GiNAz*(xk)−WiNA−SiNAxk<0
λiA*(xk)≧0,
λiNA*(xk)=0.  (1.21)

The vector of optimal Lagrange multipliers may be given by

λiA*(xk)=−(GiAH−1GiAT)−1SiAxk−(GiAH−1GiAT)−1WiA  (1.22)

Then, the optimal solution may given by

z*(xk)=−H−1GiATλiA*(xk)  (1.23)


As illustrated at block 810, matrices and vectors for feasible combinations of active constraints may be computed for counter j=1, 2, . . . , n, where n is the total number of feasible combinations of active constraints. As depicted at block 820, the appropriate matrices may be calculated based on the corresponding constraints and matrices defining the QP problem. The computed matrices and the vectors may be stored, and then the counter may be set to j=1, as mentioned at respective blocks 830 and 840. As illustrated at block 850, the vector of Lagrange multipliers λiA*(xk) in the on-line part, i.e., matrices −(GiAH−1GiAT)−1SiA and −(GiAH−1GiAT)−1WiA, may be computed. Similarly, z*(xk) and uk*(xk) may be computed using the matrices −H−1GiAT and −H−1FT. As depicted at block 860, the matrices Mij, M2j, M3j and the sets of indices iNAj may be stored. The stored matrices may be denoted as

M1j=−(GiAjH−1GiAjT)−1SiAj,j=1,2, . . . n
M2j=−(GiAjH−1GiAjT)−1WiAj,j=1,2, . . . n
M3j=−H−1GiAjT,j=1,2, . . . n
M4=(−H−1FT)(1 . . . nu)
M5=G
M6=W
M7=S  (1.24)


As indicated at block 870, the counter j=1 may be checked for the set of indices to terminate the process, if not so, then the process may be repeated from step 850 for counter j=j+1, as displayed at block 880, in order to compute and store matrices and vectors for all feasible combinations of active constraints.


Referring to FIGS. 9a and 9b, a high-level flowchart of an on-line method 900 for the design and implementation of optimal multivariable MPC controllers 510 using the primal-dual feasibility algorithm is illustrated. In the on-line part, an optimization scheme may be processed for each sampling period of the MPC control algorithm. As illustrated at block 901, the parameter vector xk may be measured or estimated, for example by the state observer 501. As depicted thereafter at block 902, the matrices M4, M5, M6, M7, M1j, M2j, M3j and the sets of indices iNAj stored in the off-line portion 502 of the QP solver 520 may be retrieved. As indicated next at block 903, vector uk(xk)=M4xk and vector m=M7xk+M6 may be computed to find m≧0, as displayed at block 904. Then, as illustrated at block 905, the optimal control action may be given by uk*(xk)=uk(xk) to inform that the optimal solution is found. Next, the operations may continue to the process depicted at block 915.


Thereafter, as indicated at block 906, if m≧0 is not true, set counter j=1 to denote the j th set of indices of the active constraints by iAj and j th set of indices of the inactive constraints by iNAj. As indicated at block 907, vector λiAj(xk)=M1jxk+M2j may be computed to check the dual feasibility, i.e., λiAj(xk)≧0, as illustrated at block 908. If vector λiAj(xk) is dual feasible, then the operations may proceed to block 909 or else go to block 912. Inform that the optimal solution is not found, if j<n is not true in the block 912, as indicated at respective blocks 912 and 913. As illustrated at block 909, the vector z(xk)=M3jλiAj(xk) may be computed to check the primal feasibility, i.e.,









M

5

(

i
NAj

)





z


(

x
k

)



<

m

i
NAj



,





as shown in block 911. If vector z(xk) is primal feasible, then set z*(xk)=z(xk) and compute the optimal control action as uk*(xk)=uk(xk)−(z*(xk))(1 . . . nu), as depicted at block 914. Finally, as illustrated at block 915, the vector u* may be informed as the optimal solution.


For example, according to equation (1.7), the optimization problem may be defined as equation (1.25) by assuming nu=2, nx=2.










H
=

[



2


0




0


1



]


,





F
=

[



1


0




0


1



]


,





β
=
0

,





G
=

[




-
1



1




1



-
1





0


1




0



-
1




]


,





W
=

[



0




5




5





-
1




]


,





V
=

[



0


0




0


0




0


0




0


0



]






(
1.25
)








and the parameter vector xk is constrained by










[




-
5






-
5




]




[



1


0




0


1



]



x
k




[



5




5



]





(
1.26
)








Then, the number of feasible combinations of active constraints may be n=3 (a case with all inactive constraints is not included), and the feasible combinations may be {(1), (4), (1, 4)}. The following matrices (see (1.24)) may be stored according to the off-line part of the control algorithm,











M
1
1

=

[



0.3333



-
0.6667




]


,






M
2
1

=
0

,






M
3
1

=

[



0.5





-
1




]






(
1.27
)








M
1
2

=

[



0


1



]


,






M
2
2

=
1

,






M
3
2

=

[



0




1



]






(
1.28
)








M
1
3

=

[



1


0




1


1



]


,






M
2
3

=

[



2




3



]


,






M
3
3

=

[



0.5


0





-
1



1



]






(
1.29
)







M
4

=

[




-
0.5



0




0



-
1




]





(
1.30
)








M
5

=

[




-
1



1




1



-
1





0


1




0



-
1




]


,






M
6

=

[



0




5




5





-
1




]


,






M
7

=

[




-
0.5



1




0.5



-
1





0


1




0



-
1




]






(
1.31
)








The stored matrices from (1.27) to (1.31) may be utilized in the on-line part of the primal-dual feasibility algorithm to find the optimal solution for the given parameter vector xk.


Referring to FIG. 10, a high-level flowchart of an off-line portion 1000 for the design and implementation of optimal multivariable MPC controllers 510 utilizing a graph algorithm is illustrated. The graph approach methodology may be another approach to solve the optimization problem of the form (1.9). In this graph approach, a directed graph structure may be constructed and stored in the off-line part. Then, the graph may be utilized in the on-line part of the algorithm to find all primal-feasible candidates for optimizer in an efficient way. The graph may be constructed to minimize the number of feasible candidates for optimizer. The optimizer may be determined within the set of all feasible candidates utilizing the cost function defining the optimization problem. The optimizer may be the candidate that leads to the lowest value of the cost function.


Assume that the optimization problem exhibits n feasible combinations of active constraints, i.e., iAj for counters j=1, 2, . . . , n, with associated affine functions to calculate the optimizer for a given parameter vector x, i.e.,

uj*(xk)=M2jxk+m2j,j=1,2, . . . ,n  (1.32)


In the off-line method 1000, matrices defining affine functions for all feasible combinations of active constraints iAj for j=1, 2, . . . , n, where n is the total number of feasible combinations of active constraints, may be determined as











M
2
j

=


(



-

H

-
1




F

+


H

-
1






G

i
Aj

T



(


G

i
Aj




H

-
1




G

i
Aj

T


)



-
1




S

i
Aj




)


(

1












n
u


)










m
2
j

=


(


H

-
1






G

i
Aj

T



(


G

i
Aj




H

-
1




G

i
Aj

T


)



-
1




W

i
Aj



)


(

1












n
u


)







(
1.33
)







As illustrated at block 1010, the associated matrices M2j and vectors m2j, i.e., (1.33) may be computed to calculate the optimizer, and also the directed graph structure may be prepared. As depicted at block 1020, the computed vectors and matrices H, F, G, W and V and the directed graph structure may be stored, where the matrices G, W and V generally define the constraints of the original optimization problem.


Referring to FIG. 11, a flowchart of an on-line method 1100 for the design and implementation of optimal multivariable MPC controllers 510 using the graph algorithm is illustrated. In the on-line method 1100, the optimization scheme may be performed in each sampling period of MPC control algorithm. As illustrated at block 1110, the parameter vector may be provided by the state observer 501. As depicted at block 1120, all feasible candidates for optimizer may be found by performing breath-first search using the directed graph, the matrices and the vectors prepared in the off-line part.


Especially, the candidates for optimizer may be calculated for each node in the breath-first search using equation (1.32), i.e., ukj(xk). Then, the feasibility of the candidate may be checked by utilizing Gukj(xk)≦W+Vxk. If the candidate is feasible, the node may be marked as “feasible” and all successors of the node may be recursively marked as “not-interesting”. Similarly, if the candidate is not feasible, the node may be marked as “not-interesting”. As specified at block 1130, a value of criterion function, i.e., Jj(xk)=ukj(xk)T Hukj(xk)+xkTFukj(xk), may be computed for all feasible candidates for optimizer in order to find the feasible optimizer candidate with smallest criterion value. The optimal control action uk*(xk) may be equal to the candidate with smallest value of cost function Jj(xk). The optimizer candidate with the smallest criterion value may be utilized as the optimal solution for the given parameter vector xk.


Previous automotive control approaches may follow a V-model flow diagram in FIG. 12a which includes a laborious process in a set 17 of steps. An implementation of a subcontroller with other approaches may be in terms of lookup tables and fixed control elements, such as PIDs. Examples of such approaches are shown in FIGS. 12a, 13 and 17. Making changes in these approaches may require changes to a hard-coded algorithm and thus a return to functional block development.


In contrast, the present approach may involve a one-time integration of a software template via a (perhaps potentially rather long) software process. Subsequent structure changes may then be straightforward and relatively quick via a calibration dataset. The present approach may include an implementation of a model predictive control (MPC) controller which can be configurable through the calibration dataset. Various other kinds of MPCs may be implemented. The MPC may be a control technique which enables a user to specify measurements, setpoints, constraints, actuators and so forth, in a generic way. It may appear unusual to be able to use MPC in a computationally tight environment such as an embedded automotive engine control unit (ECU). One may use a multiparameter optimization technique in order to perform large computations offline and code only a small amount of computations in the online code.


There may be several ways to implement a multiparameter MPC in an automotive environment. Some of these ways, however, do not appear to result in the development time benefits of the present approach. The present approach may implement a general MPC template in the embedded ECU such that the long periods needed for software coding changes are significantly reduced or avoided for implementations in the system. Various kinds of MPCs may be implemented in ECUs.


The MPC may be described in a paper entitled, “Constrained Model Predictive Control: Stability and Optimality”, by Mayne, D. Q., et al., in Automatica 36 (2000), 789-814. Multiparameter techniques for implementing MPC, particularly in limited computing environments, may be described in a paper entitled, “The Explicit Linear Quadratic Regulator for Constrained Systems”, by Bemporad, A., et al., in Automatica 38 (2002), 3-20.


Additional information which may be relevant to the present description may be in the following patent documents. Patents may include: U.S. Pat. No. 7,155,334, issued Dec. 26, 2006; U.S. Pat. No. 7,165,399, issued Jan. 23, 2007; U.S. Pat. No. 7,275,374, issued Oct. 2, 2007; and U.S. Pat. No. 7,328,577, issued Feb. 12, 2008; all of which are hereby incorporated by reference. Patent applications may include: U.S. patent application Ser. No. 11/024,531, filed Dec. 29, 2004; U.S. patent application Ser. No. 11/025,221, filed Dec. 29, 2004; U.S. patent application Ser. No. 11/025,563, filed Dec. 29, 2004; U.S. patent application Ser. No. 10/907,209, filed Mar. 24, 2005; U.S. patent application Ser. No. 11/094,350, filed Mar. 30, 2005; U.S. patent application Ser. No. 11/155,996, filed Jun. 17, 2005; U.S. patent application Ser. No. 11/206,404, filed Aug. 18, 2005; U.S. patent application Ser. No. 11/321,504, filed Dec. 29, 2005; U.S. patent application Ser. No. 11/442,572, filed May 25, 2006; U.S. patent application Ser. No. 11/444,850, filed May 31, 2006; U.S. patent application Ser. No. 11/455,444, filed Jun. 19, 2006; and U.S. patent application Ser. No. 11/616,977, filed Dec. 28, 2006; all of which are hereby incorporated by reference.


The present system may include a flexible and user-friendly configurable controller based on (MPC) model based predictive control technology for use in an automotive control system that is implemented in an ECU (engine control unit). The MPC controller may be based on an optimization challenge involving an explicit solution of the optimization problem which supports applicability to control systems with relatively fast-sampling and with low computation power and memory. The system may offer a strong tool that allows decreasing significantly the development and calibration time of the control system. It may include an implementation of a general MPC algorithm as a template for the embedded ECU that may be configured by a calibration dataset. An advantage of such an approach is that it may allow many different controller configurations which can be achieved through simply modifying the calibration dataset. Changes of the core MPC algorithm implemented inside the template may be mitigated or avoided altogether.


The present system may be responsive to a need to decrease the time required for development and calibration of a control system for an automotive application. This may be achieved by designing and implementing a general template for MPC controller which can be parameterized by a calibration set. The calibration set may contain information about parameters for configuring the structure of the controller but also parameters for tuning the control performances. Parameters influencing the structure of the controller may include, for example, numbers of measured variables, set-points, constraints, actuators, and so on. Parameters influencing performances may include, for example, models of the controlled system, prediction horizon lengths, weighting matrices defining the control objectives and preferences of a resulting feedback control, covariance matrices for a state estimator, and so forth. Then if one would like to change the structure or tuning of the controller, it may be enough to modify the calibration dataset without modifying the MPC controller template. The template may be implemented in the ECU function block using, for instance, C programming language.


The calibration dataset may be generated off-line and stored in appropriate memory. In the case when a controller template is implemented in C programming language, the storage may be, for example, a header file. Having the template and calibration set, one may use an appropriate compiler to generate a target code for a target device, e.g., an ECU, where the target code is an instance of a configured MPC controller. The target code (MPC) may then be downloaded into the target device (ECU). Whenever one would like to change a configuration of the controller, i.e., a structure of the controller or performances, it may be sufficient to change the calibration dataset, re-compile the controller template with the updated calibration dataset to generate a new target code (MPC) and download the new target code into the target device (ECU). There appears to be no need with the present system to modify the MPC controller template which means a great savings in time. This may also mean less total time required for both calibration and controller development.


The present system may be further improved and the total calibration time may be further decreased when changes are only the part of the calibration dataset which influences performance of the control-loop. The structure of the controller may remain fixed. The present system may be extended so that the part of the calibration dataset containing information about MPC controller performances may be replaced on-line, e.g., via a run-time regime.


The system may further be extended so that one may be able to change the both parts of the calibration datasets, i.e., the part that defines the performances and the part that defines the structure of the controller in terms of a number of measured variables, set-points, constraints, actuators, and so forth.


The present system may be implemented in Simulink™ and Matlab™ which is regarded as a software tool for simulation and model-based design. The present algorithm may be implemented as user function or a set of user functions in a Simulink™ tool. A simulation scheme containing these functions may be a source for a target code generator.



FIG. 12
a is a flow diagram of an automotive control development process. Step 11 may indicate the specification of functional requirements of an automotive control unit, such as specific fuel consumption (SFC), drivability, emissions, and so forth. After step 11, a steady-state calibration may be effected as indicated in step 12. From step 12, the flow of the process may continue on to step 13 which includes functional block development. A developed functional block may be subject to on-engine testing (via a rapid prototype (RP) system) at step 14. An evaluation of test results from step 14 may be provided at step 15, which may indicate whether the results are acceptable or not. If the results are not acceptable, then an iteration 20 back to step 13 for further functional block development may occur. Then the on-engine test 14 may occur on perhaps an improved functional block from step 13. Again, the results from on-engine testing may be evaluated at step 15. If the results are unacceptable, then looping back to the functional block development at step 13 for improvement may occur again. The iteration loop 20 may continue until results of on-engine testing (RP system) of the functional block are determined to be acceptable. If the results are acceptable at step 15, then functional specifications may be generated at step 16.


After generating functional specifications, a translation of the functions into an embedded ECU code may occur in a set of steps as delineated by a dashed rectangle 17 in FIG. 12a. Software specifications at step 18 may be generated from the functional specifications at step 16. The software specifications may then be coded into software at step 19. Testing of the resultant software from step 19 may occur at step 21. The time spent in software tasks in step 17, particularly at software coding in step 19, may be significant, as much as six or so months. After the software testing at step 21, the process may exit set 17 and go to functional testing at step 22. Step 16, set 17 of steps, and step 22 may be contained in a stage 53, delineated by a dashed rectangle, which may be regarded as a functional block stage of the development process. Stage 53 may be regarded as where a control functional block is integrated into the ECU software.


Subsequent to the functional testing at step 22, there may be a calibration at step 23. If the calibration at step 23 is not acceptable at evaluation step 24, then the calibration may be redone at step 23 via an iteration 28 until it becomes acceptable. Once the calibration is acceptable, then a vehicle validation may occur at step 25. However, if the validation does not occur, then the process may loop back along path 29 to the calibration step 23 and proceed back through evaluation step 24 and to validation step 25. The process may proceed to a certification step 26. If certification is not attained, then there may be loop 30 back to the calibration step 23. After proceeding through calibration 23, acceptance 24 and validation 25, then a return to certification step 26 may occur. Once a certification is achieved, the process may continue to step 27 for a release. In post-release 92, then a return to calibration 23 may occur via loop 44 for example to make improvements to the controller performance. The process may proceed through calibration 23, acceptance 24, certification 26 and release 27. The iterative loops 28, 29, and 30 may occur until a release occurs at step 27. Alternatively, relative to each of these loops, a return to the functional block development 13 may occur. In other words, if a developed controller function is judged to be unsatisfactory at the time of calibration, certification or release, then it may return to the functional block development step 13 for further development and subsequent on-engine testing and functional specification generation at steps 14 and 16, respectively, along with an evaluation at step 15 and feedback at loop 20, and then eventually to software specification, coding and testing steps 18, 19 and 21, respectively, of set 17. Thus, a return to the functional block development step 13 may lead to a highly undesirable delay (e.g., perhaps greater than six months) in the automotive controller development cycle.



FIG. 12
b is a diagram showing an initial configuration of the functional block for the present system, which may involve an integration of a software template into the target embedded platform (ECU). At step 85, the present functional block real-time template may be in C and Simulink™ code. Then a functional specification may be generated at step 16. From there a software specification may be provided at step 18, and software coding and testing may be performed at steps 19 and 21, respectively, in the ECU. Functional testing at step 22 may occur. At step 86, the present functional block, tested and configurable, may be of a real-time template on the ECU.



FIG. 12
c is a diagram similar to that of FIG. 12a except that stage 53 is removed or bypassed. FIG. 12c shows a subsequent control design using the present system supporting modeling, functional block development and calibration. Following the integration of the real-time template, configuration and calibration of the controller may proceed via a population of the template without necessarily requiring ECU software changes. One may go from configuring the controller at the set 87 of steps to calibrating at the set of steps 88 while skipping stage 53 of FIG. 12a, for ECU software changes. The sets 87 and 88 are delineated by dashed rectangles. However, between the configuring set 87 and the calibrating set 88, there may be a dataset download step 91. Here, the dataset may be downloaded to the ECU.



FIG. 12
d is similar to FIG. 12a except that block 53 is replaced with an autocode generation step as indicated by a block 93. In block 93, a controller algorithm and dataset may be compiled together. “Autocode generation” may be a term that includes some or all of the steps to generate a functional specification, software specification, software coding, software testing and functional testing. Other steps may be included. This Figure illustrates the approach where compiling the controller algorithm and dataset may be considered simultaneously. Sometimes this may be done from within an autocoding framework. Autocoding may refers to a process and tools which will take a high level code such as Matlab™ or Simulink™ and automatically convert it to embedded code on an ECU.



FIG. 13 is a diagram of a previous control functional block 32 in an automotive ECU 31 pertinent to the diagram of FIG. 12a. A significant aspect of ECU 31 may be regarded as being in the control functional block 32 which incorporates an algorithm running in real-time. Changes to the algorithm in control functional block 32 may require a return to the functional block development stage 13 of the development process shown in FIG. 12a, plus subsequent steps including the laborious set 17 of steps.



FIG. 14 is similar to the diagram of FIG. 13 except a control functional block 42 having an MPC template may be substituted in place of the control functional block 32. The MPC replacement may be for one or more subcontrollers 76, 77 shown in FIG. 16. A feature of the present block 42 is that many controller configurations may be achieved through modifying the calibration dataset 39 with signals 62 for a calibration dataset configuration. The signals are not necessarily of real-time but may be entered just at a calibration time.


Changes to the algorithm in the functional block 42 do not necessarily require a return to the functional block development step 13, plus subsequent steps including the laborious set 17 of steps, of the process in FIG. 12a as may be required with algorithm changes in the functional block 32. Algorithm changes with functional block 42 may result in significant development time savings over changes made with block 32 in place.


Inputs 43 to block 42 may include some values read from other parts of the ECU 31 in real-time code. Inputs 43 may include sensor values 33, setpoint targets 34, actuator positions 35, a controller mode 36, state constraints 37 and actuator constraints 38. The structure of the real-time controller which is implemented on a RP system or ECU may be configured via data and consist of various inputs and outputs. Sensor values 33 may include those of sensors such as MAP, MAF, EGR flow, turbospeed, NOx, engine speed, fuel quantity, and so forth. Setpoint targets 34 may include those of setpoints such as MAP, EGR flow, NOx, and so forth. Constraints 38 may include those such as turbospeed limit, boost pressure limit, AFR limit, and so forth.


Also input to the control functional block 42 may be a calibration dataset 39. The dataset 39 may be defined at calibration time and stored in a flash memory of the ECU 31. An output 46 of block 42 may provide desired actuator positions. The outputs 46 may include those for actuators of VTG/VNT vane, EGR valve, VVA, and so forth.


Several stages may be resorted to for implementing the present system. A one-time software change may be effected to integrate an MPC template in the functional block 42 into a rapid prototyping system and ECU. Then subsequent configuration and calibration of the present functional block may be performed using a PC-based present function block design suite to enable one to configure and calibrate control oriented models and afterwards to configure and design optimal multivariable controllers.



FIG. 15 is a diagram of the internal structure of the MPC controller block 42 portions and interactions with other components of the control system. Calibration dataset 39 and function block 42 may be part of the internal structure. As also noted in FIG. 14, there may be the signals 62 for calibration dataset 39 configuration. Calibration dataset 39 may output signals 63 which include parameter defining structures and parameter defining performances to function block 42. An output 46 from block 42 may include desired actuator positions. Function block 42 may include the MPC controller template. The template may have a state observer 66 and an on-line portion of the MPC controller as indicated by block 68. The state observer 66 may receive inputs 34, 37 and 38 (i.e., set point targets, state constraints and actuator constraints) and provide an estimated state 67 to the on-line portion of MPC controller in block 68. Also block 42 may receive inputs 33, 35 and 36 (i.e., sensor values, actuator positions and controller mode). The on-line portion of controller at block 68 may be provided reconfiguration signals 63 from the calibration dataset 39. The on-line portion of the controller may be a model predictive controller (MPC) implemented in any of the approaches discussed above (1) traditional multiparameteric programming, (2) graph algorithm, or (3) primal-dual feasibility algorithm.



FIG. 16 is a diagram of an ECU software architecture 71. Sensor information 72 may be input to a special mode and setpoint generator 73. A number N outputs one through N, 74, 75 from generator 73 may go to a number N of sub-controllers one through N, 76, 77, respectively. A number N outputs 78, 79 from N sub-controllers 76, 77 may go as actuator sets 1 through N to a physical plant 64. The physical plant 64, for example, may be an automotive engine. Physical plant 64 may have an output which may provide the sensor information 72 to generator 73. Examples of the actuator sets 78, 79 may include fuel injection control, engine brake control, after-treatment control, EGR control, turbocharger control or a combined EGR and turbocharger control, and so forth. The particular sub-controller may be either independent or may interact with other sub-controllers.



FIG. 17 is a diagram of a previous approach for development of new or modified control functions for block 32. Step 51 may incorporate development and testing functional blocks in a rapid prototyping (RP) stage. A next step 52 may be for generating a calibration dataset. A stage 53 having steps 16 and 22, and set 17 of steps 18, 19 and 21, may be necessary for software coding. Step 16 may be a generating of a functional specification. Set 17 of steps 53 may include software specification 18, coding 19 and testing 21 as indicated in FIG. 12a. Achieving the steps of set 17 might require about six months or so of effort. Whether the effort takes six months or not, the time period for this set 17 may be enormously large relative to the other steps of the system. The next step 22 may include functional testing.


A calibration dataset 39 may be downloaded to functional block 32 of the ECU 31 as indicated in step 57. Then in step 58, there may be an iteration on calibration while working on the engine. At an evaluation step 59, a check may be done to determine whether the calibration is acceptable. If not, then an iteration 61 may be fed back to step 51 where the process of steps 51, 52, 16, 17, 22, 57 and 58 may be repeated resulting in another large amount of spent time. The iteration 61 may be repeated until the functional block and calibration are deemed acceptable at step 59.



FIG. 18
a reveals the present approach for obtaining new control functions being time-saving particularly for iteration 61. The laborious software stage 53 may be circumvented by iteration 61. One key aspect of the present system is that stage 53 may involve integrating the MPC controller template functional block 42 into the ECU 31 software. The MPC controller may be configurable through the calibration dataset 39. This stage 53 may involve generating a functional specification at step 16, steps of software specification 18, coding 19 and testing 21 (as shown in FIG. 12b) at set 17 and then functional testing at step 22. As noted herein, set 17 of steps may take about six or so months. One may continue on from stage 53 to step 51 where there are developing and testing functional blocks in the rapid prototyping stage. Then in the following step 52, there may be a generating of the calibration dataset 39. The calibration dataset 39 may be downloaded, as indicated in step 57, to ECU 31 having the MPC controller template in function block 42.


After step 57, a step 58 may indicate iterating on calibration while working on the physical plant such as an engine. At step 59, an outcome of step 58 may be evaluated as acceptable or not acceptable. Another key aspect of the present system is that if the outcome of step 58 is evaluated as unacceptable, then iteration 61 may proceed directly to step 51 in that there is not necessarily a need to repeat stage 53 (like the approach of FIG. 17). The present sequence may go from step 51 through steps 52, 57 and 58, and to step 59 where the outcome of step 58 may be evaluated again. Iteration 61 appears very much quicker than the iteration in FIG. 17 since in FIG. 18a stage 53 of the sequence of steps 16, 17 and 22 is bypassed, thereby avoiding a repeat of the possible many month process of set 17 steps having software specification 18, coding 19 and testing 21. Thus the lengthy software coding step 19 (noted in FIG. 12b) of set 17 may be moved out of the iteration loop 61 after the just one-time initial coding, or coding change. In other words, the present approach may permit movement of the coding step 19 (including the other steps in set 17 and stage 53) upstream from step 51 and entry of iteration loop 61 in the overall software development process.



FIG. 18
b is a diagram of a developmental approach of the present invention that compiles a controller algorithm and a dataset together. A step 94 may include developing and testing functional blocks. Then a step 95 may occur for compiling controller code and a calibration dataset together. Downloading an MPC controller (algorithm and dataset) to an ECU may be step 96. Step 97 may include iterating on calibration while working on the engine. Then a question as to whether the result of this approach is acceptable at step 98. If not, an iteration 99 may return the approach back to step 95 to repeat steps 95 through 98. This iteration may continue indefinitely until there an acceptance at step 98.


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.

Claims
  • 1. An Engine Control Unit (ECU) for controlling an engine of a vehicle, comprising: an input for receiving a input signal;an output for providing a control output to an actuator of an engine;a memory for storing a compiled control algorithm;a controller coupled to the memory for executing the compiled control algorithm, wherein the controller is configured to receive the input signal, and based on the compiled control algorithm, provide the control output to the actuator of the engine; andwherein the compiled control algorithm implements a generalized model predictive control template that is configured into a specific model predictive controller configuration for the controller by reference to a calibration dataset, wherein the compiled control algorithm is an instance of the specific model predictive controller configuration.
  • 2. The Engine Control Unit (ECU) of claim 1, wherein the compiled control algorithm includes a multi-parametric control algorithm.
  • 3. The Engine Control Unit (ECU) of claim 2, wherein the multi-parametric control algorithm references one or more off-line generated parameters, and produces one or more on-line generated parameters.
  • 4. The Engine Control Unit (ECU) of claim 3, wherein the one or more on-line generated parameters are repeatedly updated using the multi-parametric control algorithm, which updates the control output.
  • 5. The Engine Control Unit (ECU) of claim 1, wherein the compiled control algorithm includes a graph control algorithm.
  • 6. The Engine Control Unit (ECU) of claim 5, wherein the graph control algorithm references one or more off-line generated parameters, and produces one or more on-line generated parameters.
  • 7. The Engine Control Unit (ECU) of claim 6, wherein the one or more on-line generated parameters are repeatedly updated using the graph control algorithm, which updates the control output.
  • 8. The Engine Control Unit (ECU) of claim 1, wherein the compiled control algorithm includes a primal-dual feasibility control algorithm.
  • 9. The Engine Control Unit (ECU) of claim 8, wherein the primal-dual feasibility algorithm references one or more off-line generated parameters, and produces one or more on-line generated parameters.
  • 10. The Engine Control Unit (ECU) of claim 9, wherein the one or more on-line generated parameters are repeatedly updated using the primal-dual feasibility control algorithm, which updates the control output.
  • 11. An Engine Control Unit (ECU) for controlling an engine of a vehicle, comprising: two or more inputs each for receiving an input signal;two or more outputs each for providing a control output to an actuator of an engine;a memory for storing a compiled control algorithm;a controller coupled to the memory for executing the compiled control algorithm, wherein the controller is configured to receive each of the two or more input signals, and based on the compiled control algorithm, provide each of the two or more control outputs; andwherein the compiled control algorithm references one or more off-line generated parameters, and produces one or more on-line generated parameters, wherein the one or more on-line generated parameters are repeatedly updated using the compiled control algorithm, which updates the two or more control outputs of the Engine Control Unit (ECU).
  • 12. The Engine Control Unit (ECU) of claim 11, wherein the compiled control algorithm includes a multi-parametric control algorithm.
  • 13. The Engine Control Unit (ECU) of claim 11, wherein the compiled control algorithm includes a graph control algorithm.
  • 14. The Engine Control Unit (ECU) of claim 11, wherein the compiled control algorithm includes a primal-dual feasibility control algorithm.
  • 15. The Engine Control Unit (ECU) of claim 11, wherein the compiled control algorithm implements a generalized model predictive control template that is configured into a specific model predictive controller configuration for the controller by reference to a calibration dataset.
  • 16. An Engine Control Unit (ECU) for controlling an engine of a vehicle, comprising: two or more inputs each for receiving an input signal;two or more outputs each for providing a control output to an actuator of an engine;a memory for storing a compiled control algorithm;a controller coupled to the memory for executing the compiled control algorithm, wherein the controller is configured to receive each of the two or more input signals, and based on the compiled control algorithm, provide each of the two or more control outputs;the compiled control algorithm implements a generalized model predictive control template that is configured into a specific model predictive controller configuration for the controller by reference to a calibration dataset; andwherein the compiled control algorithm references one or more off-line generated parameters, and produces one or more on-line generated parameters, wherein the one or more on-line generated parameters are repeatedly updated using the compiled control algorithm, which updates the two or more control outputs of the Engine Control Unit (ECU).
  • 17. The Engine Control Unit (ECU) of claim 16, wherein at least one of the two or more inputs corresponds to a sensor input from a MAP sensor, a MAF sensor, an EGR flow sensor, a turbospeed sensor, a NOx sensor, an engine speed sensor or a fuel quantity sensor.
  • 18. The Engine Control Unit (ECU) of claim 16, wherein at least one of the two or more inputs corresponds to a MAP setpoint, an EGR setpoint, a MAF setpoint, an AFR setpoint, a temperature setpoint or a NOx setpoint.
  • 19. The Engine Control Unit (ECU) of claim 16, wherein at least one of the two or more outputs provides a control output to a vane actuator of a turbocharger, a waste gate actuator or a valve actuator.
  • 20. The Engine Control Unit (ECU) of claim 16, wherein the compiled control algorithm is a multi-parametric control algorithm.
Parent Case Info

The present application is a continuation of U.S. patent application Ser. No. 12/886,486, filed Sep. 20, 2010, now U.S. Pat. No. 7,996,140 B2, issued on 9 Aug. 2011, entitled “CONFIGURABLE AUTOMOTIVE CONTROLLER”, which is a continuation of U.S. patent application Ser. No. 12/174,910, filed Jul. 17, 2008, now U.S. Pat. No. 8,060,290 B2, issued on 15 Nov. 2011 entitled “CONFIGURABLE AUTOMOTIVE CONTROLLER”, both of which are incorporated herein by reference.

US Referenced Citations (382)
Number Name Date Kind
3744461 Davis Jul 1973 A
4005578 McInerney Feb 1977 A
4055158 Marsee Oct 1977 A
4206606 Yamada Jun 1980 A
4252098 Tomczak et al. Feb 1981 A
4359991 Stumpp et al. Nov 1982 A
4383441 Willis et al. May 1983 A
4426982 Lehner et al. Jan 1984 A
4438497 Willis et al. Mar 1984 A
4440140 Kawagoe et al. Apr 1984 A
4456883 Bullis et al. Jun 1984 A
4485794 Kimberley et al. Dec 1984 A
4601270 Kimberley et al. Jul 1986 A
4616308 Morshedi et al. Oct 1986 A
4653449 Kamei et al. Mar 1987 A
4671235 Hosaka Jun 1987 A
4677559 van Bruck Jun 1987 A
4735181 Kaneko et al. Apr 1988 A
4947334 Massey et al. Aug 1990 A
4962570 Hosaka et al. Oct 1990 A
5044337 Williams Sep 1991 A
5076237 Hartman et al. Dec 1991 A
5089236 Clerc Feb 1992 A
5094213 Dudek et al. Mar 1992 A
5095874 Schnaibel et al. Mar 1992 A
5108716 Nishizawa Apr 1992 A
5123397 Richeson Jun 1992 A
5150289 Badavas Sep 1992 A
5186081 Richardson et al. Feb 1993 A
5233829 Komatsu Aug 1993 A
5270935 Dudek et al. Dec 1993 A
5273019 Matthews et al. Dec 1993 A
5282449 Takahashi et al. Feb 1994 A
5293553 Dudek et al. Mar 1994 A
5349816 Sanbayashi et al. Sep 1994 A
5365734 Takeshima Nov 1994 A
5394322 Hansen Feb 1995 A
5394331 Dudek et al. Feb 1995 A
5398502 Watanabe Mar 1995 A
5408406 Mathur et al. Apr 1995 A
5431139 Grutter et al. Jul 1995 A
5452576 Hamburg et al. Sep 1995 A
5477840 Neumann Dec 1995 A
5560208 Halimi et al. Oct 1996 A
5570574 Yamashita et al. Nov 1996 A
5598825 Neumann Feb 1997 A
5609139 Ueda et al. Mar 1997 A
5611198 Lane et al. Mar 1997 A
5690086 Kawano et al. Nov 1997 A
5692478 Nogi et al. Dec 1997 A
5697339 Esposito Dec 1997 A
5704011 Hansen et al. Dec 1997 A
5746183 Parke et al. May 1998 A
5765533 Nakajima Jun 1998 A
5771867 Amstutz et al. Jun 1998 A
5785030 Paas Jul 1998 A
5788004 Friedmann et al. Aug 1998 A
5846157 Reinke et al. Dec 1998 A
5893092 Driscoll Apr 1999 A
5942195 Lecea et al. Aug 1999 A
5964199 Atago et al. Oct 1999 A
5970075 Wasada Oct 1999 A
5974788 Hepburn et al. Nov 1999 A
5995895 Watt et al. Nov 1999 A
6029626 Bruestle Feb 2000 A
6035640 Kolmanovsky et al. Mar 2000 A
6048620 Zhong Apr 2000 A
6048628 Hillmann et al. Apr 2000 A
6055810 Borland et al. May 2000 A
6058700 Yamashita et al. May 2000 A
6067800 Kolmanovsky et al. May 2000 A
6076353 Freudenberg et al. Jun 2000 A
6105365 Deeba et al. Aug 2000 A
6122555 Lu Sep 2000 A
6134883 Kato et al. Oct 2000 A
6153159 Engeler et al. Nov 2000 A
6161528 Akao et al. Dec 2000 A
6170259 Boegner et al. Jan 2001 B1
6171556 Burk et al. Jan 2001 B1
6178743 Hirota et al. Jan 2001 B1
6178749 Kolmanovsky et al. Jan 2001 B1
6208914 Ward et al. Mar 2001 B1
6216083 Ulyanov et al. Apr 2001 B1
6233922 Maloney May 2001 B1
6236956 Mantooth et al. May 2001 B1
6237330 Takahashi et al. May 2001 B1
6242873 Drozdz et al. Jun 2001 B1
6263672 Roby et al. Jul 2001 B1
6273060 Cullen Aug 2001 B1
6279551 Iwano et al. Aug 2001 B1
6312538 Latypov et al. Nov 2001 B1
6321538 Hasler Nov 2001 B2
6327361 Harshavardhana et al. Dec 2001 B1
6338245 Shimoda et al. Jan 2002 B1
6341487 Takahashi et al. Jan 2002 B1
6347619 Whiting et al. Feb 2002 B1
6360159 Miller et al. Mar 2002 B1
6360541 Waszkiewicz et al. Mar 2002 B2
6360732 Bailey et al. Mar 2002 B1
6363715 Bidner et al. Apr 2002 B1
6363907 Arai et al. Apr 2002 B1
6379281 Collins et al. Apr 2002 B1
6389803 Surnilla et al. May 2002 B1
6425371 Majima Jul 2002 B2
6427436 Allansson et al. Aug 2002 B1
6431160 Sugiyama et al. Aug 2002 B1
6445963 Blevins et al. Sep 2002 B1
6446430 Roth et al. Sep 2002 B1
6453308 Zhao et al. Sep 2002 B1
6463733 Asik et al. Oct 2002 B1
6463734 Tamura et al. Oct 2002 B1
6466893 Latwesen et al. Oct 2002 B1
6470682 Gray, Jr. Oct 2002 B2
6470862 Isobe et al. Oct 2002 B2
6470886 Jestrabek-Hart Oct 2002 B1
6502391 Hirota et al. Jan 2003 B1
6512974 Houston et al. Jan 2003 B2
6513495 Franke et al. Feb 2003 B1
6532433 Bharadwaj et al. Mar 2003 B2
6546329 Bellinger Apr 2003 B2
6550307 Zhang et al. Apr 2003 B1
6553754 Meyer et al. Apr 2003 B2
6560528 Gitlin et al. May 2003 B1
6560960 Nishimura et al. May 2003 B2
6571191 York et al. May 2003 B1
6579206 Liu et al. Jun 2003 B2
6591605 Lewis Jul 2003 B2
6594990 Kuenstler et al. Jul 2003 B2
6601387 Zurawski et al. Aug 2003 B2
6612293 Schweinzer et al. Sep 2003 B2
6615584 Ostertag Sep 2003 B2
6625978 Eriksson et al. Sep 2003 B1
6629408 Murakami et al. Oct 2003 B1
6637382 Brehob et al. Oct 2003 B1
6647710 Nishiyama et al. Nov 2003 B2
6647971 Vaughan et al. Nov 2003 B2
6651614 Flamig-Vetter et al. Nov 2003 B2
6662058 Sanchez Dec 2003 B1
6666198 Mitsutani Dec 2003 B2
6666410 Boelitz et al. Dec 2003 B2
6671603 Cari et al. Dec 2003 B2
6672052 Taga et al. Jan 2004 B2
6672060 Buckland et al. Jan 2004 B1
6679050 Takahashi et al. Jan 2004 B1
6687597 Sulatisky et al. Feb 2004 B2
6688283 Jaye Feb 2004 B2
6694244 Meyer et al. Feb 2004 B2
6694724 Tanaka et al. Feb 2004 B2
6705084 Allen et al. Mar 2004 B2
6718254 Hashimoto et al. Apr 2004 B2
6718753 Bromberg et al. Apr 2004 B2
6725208 Hartman et al. Apr 2004 B1
6736120 Surnilla May 2004 B2
6739122 Kitajima et al. May 2004 B2
6742330 Genderen Jun 2004 B2
6743352 Ando et al. Jun 2004 B2
6748936 Kinomura et al. Jun 2004 B2
6752131 Poola et al. Jun 2004 B2
6752135 McLaughlin et al. Jun 2004 B2
6758037 Terada et al. Jul 2004 B2
6760631 Berkowitz et al. Jul 2004 B1
6760658 Yasui et al. Jul 2004 B2
6770009 Badillo et al. Aug 2004 B2
6772585 Iihoshi et al. Aug 2004 B2
6779344 Hartman et al. Aug 2004 B2
6779512 Mitsutani Aug 2004 B2
6788072 Nagy et al. Sep 2004 B2
6789533 Hashimoto et al. Sep 2004 B1
6792927 Kobayashi Sep 2004 B2
6804618 Junk Oct 2004 B2
6814062 Esteghlal et al. Nov 2004 B2
6817171 Zhu Nov 2004 B2
6823667 Braun et al. Nov 2004 B2
6823675 Brunell et al. Nov 2004 B2
6826903 Yahata et al. Dec 2004 B2
6827060 Huh Dec 2004 B2
6827061 Nytomt et al. Dec 2004 B2
6827070 Fehl et al. Dec 2004 B2
6834497 Miyoshi et al. Dec 2004 B2
6839637 Moteki et al. Jan 2005 B2
6849030 Yamamoto et al. Feb 2005 B2
6874467 Hunt et al. Apr 2005 B2
6879906 Makki et al. Apr 2005 B2
6904751 Makki et al. Jun 2005 B2
6911414 Kimura et al. Jun 2005 B2
6915779 Sriprakash Jul 2005 B2
6920865 Lyon Jul 2005 B2
6925372 Yasui Aug 2005 B2
6925796 Nieuwstadt et al. Aug 2005 B2
6928362 Meaney Aug 2005 B2
6928817 Ahmad Aug 2005 B2
6931840 Strayer et al. Aug 2005 B2
6934931 Plumer et al. Aug 2005 B2
6941033 Taylor et al. Sep 2005 B2
6941744 Tanaka Sep 2005 B2
6948310 Roberts, Jr. et al. Sep 2005 B2
6953024 Linna et al. Oct 2005 B2
6965826 Andres et al. Nov 2005 B2
6968677 Tamura Nov 2005 B2
6971258 Rhodes et al. Dec 2005 B2
6973382 Rodriguez et al. Dec 2005 B2
6978744 Yuasa et al. Dec 2005 B2
6996975 Radhamohan et al. Feb 2006 B2
7000379 Makki et al. Feb 2006 B2
7013637 Yoshida Mar 2006 B2
7016779 Bowyer Mar 2006 B2
7028464 Rösel et al. Apr 2006 B2
7039475 Sayyarrodsari et al. May 2006 B2
7047938 Flynn et al. May 2006 B2
7052434 Makino et al. May 2006 B2
7055311 Beutel et al. Jun 2006 B2
7059112 Bidner et al. Jun 2006 B2
7069903 Surnilla et al. Jul 2006 B2
7082753 Dalla Betta et al. Aug 2006 B2
7085615 Persson et al. Aug 2006 B2
7106866 Astorino et al. Sep 2006 B2
7107978 Itoyama Sep 2006 B2
7111450 Surnilla Sep 2006 B2
7111455 Okugawa et al. Sep 2006 B2
7113835 Boyden et al. Sep 2006 B2
7117046 Boyden et al. Oct 2006 B2
7124013 Yasui Oct 2006 B2
7149590 Martin et al. Dec 2006 B2
7151976 Lin Dec 2006 B2
7152023 Das Dec 2006 B2
7155334 Stewart et al. Dec 2006 B1
7165393 Betta et al. Jan 2007 B2
7165399 Stewart Jan 2007 B2
7168239 Ingram et al. Jan 2007 B2
7182075 Shahed et al. Feb 2007 B2
7184845 Sayyarrodsari et al. Feb 2007 B2
7184992 Polyak et al. Feb 2007 B1
7188637 Dreyer et al. Mar 2007 B2
7194987 Mogi Mar 2007 B2
7197485 Fuller Mar 2007 B2
7200988 Yamashita Apr 2007 B2
7204079 Audoin Apr 2007 B2
7275374 Stewart et al. Oct 2007 B2
7275415 Rhodes et al. Oct 2007 B2
7292926 Schmidt et al. Nov 2007 B2
7302937 Ma et al. Dec 2007 B2
7321834 Chu et al. Jan 2008 B2
7323036 Boyden et al. Jan 2008 B2
7328577 Stewart et al. Feb 2008 B2
7337022 Wojsznis et al. Feb 2008 B2
7349776 Spillane et al. Mar 2008 B2
7357125 Kolavennu Apr 2008 B2
7375374 Chen et al. May 2008 B2
7376471 Das et al. May 2008 B2
7389773 Stewart et al. Jun 2008 B2
7392129 Hill et al. Jun 2008 B2
7398149 Ueno et al. Jul 2008 B2
7400967 Ueno et al. Jul 2008 B2
7413583 Langer et al. Aug 2008 B2
7415389 Stewart et al. Aug 2008 B2
7418372 Nishira et al. Aug 2008 B2
7430854 Yasui et al. Oct 2008 B2
7433743 Pistikopoulos et al. Oct 2008 B2
7444191 Caldwell et al. Oct 2008 B2
7444193 Cutler Oct 2008 B2
7447554 Cutler Nov 2008 B2
7467614 Stewart et al. Dec 2008 B2
7469177 Samad et al. Dec 2008 B2
7493236 Mock et al. Feb 2009 B1
7515975 Stewart Apr 2009 B2
7522963 Boyden et al. Apr 2009 B2
7536232 Boyden et al. May 2009 B2
7542842 Hill et al. Jun 2009 B2
7577483 Fan et al. Aug 2009 B2
7587253 Rawlings et al. Sep 2009 B2
7591135 Stewart Sep 2009 B2
7599749 Sayyarrodsari et al. Oct 2009 B2
7599750 Piche Oct 2009 B2
7627843 Dozorets et al. Dec 2009 B2
7630868 Turner et al. Dec 2009 B2
7634323 Vermillion et al. Dec 2009 B2
7634417 Boyden et al. Dec 2009 B2
7650780 Hall Jan 2010 B2
7668704 Perchanok et al. Feb 2010 B2
7698004 Boyden et al. Apr 2010 B2
7702519 Boyden et al. Apr 2010 B2
7743606 Havlena et al. Jun 2010 B2
7752840 Stewart Jul 2010 B2
7765792 Rhodes et al. Aug 2010 B2
7793489 Wang et al. Sep 2010 B2
7798938 Matsubara et al. Sep 2010 B2
7826909 Attarwala Nov 2010 B2
7831318 Bartee et al. Nov 2010 B2
7840287 Wojsznis et al. Nov 2010 B2
7844351 Piche Nov 2010 B2
7844352 Youzis et al. Nov 2010 B2
7846299 Backstrom et al. Dec 2010 B2
7850104 Havlena et al. Dec 2010 B2
7860586 Boyden et al. Dec 2010 B2
7862771 Boyden et al. Jan 2011 B2
7877239 Grichnik et al. Jan 2011 B2
7878178 Stewart et al. Feb 2011 B2
7904280 Wood Mar 2011 B2
7905103 Larsen et al. Mar 2011 B2
7907769 Sammak et al. Mar 2011 B2
7930044 Attarwala Apr 2011 B2
7933849 Bartee et al. Apr 2011 B2
7958730 Stewart Jun 2011 B2
7987145 Baramov Jul 2011 B2
7996140 Stewart et al. Aug 2011 B2
8019911 Dressler et al. Sep 2011 B2
8025167 Schneider et al. Sep 2011 B2
8032235 Sayyar-Rodsari Oct 2011 B2
8060290 Stewart et al. Nov 2011 B2
8078291 Pekar et al. Dec 2011 B2
8109255 Stewart et al. Feb 2012 B2
20020116104 Kawashima et al. Aug 2002 A1
20030089102 Colignon et al. May 2003 A1
20030150961 Boelitz et al. Aug 2003 A1
20040006973 Makki et al. Jan 2004 A1
20040034460 Folkerts et al. Feb 2004 A1
20040086185 Sun May 2004 A1
20040117766 Mehta et al. Jun 2004 A1
20040118107 Ament Jun 2004 A1
20040165781 Sun Aug 2004 A1
20040199481 Hartman et al. Oct 2004 A1
20040221889 Dreyer et al. Nov 2004 A1
20040226287 Edgar et al. Nov 2004 A1
20050143952 Tomoyasu et al. Jun 2005 A1
20050171667 Morita Aug 2005 A1
20050187643 Sayyar-Rodsari et al. Aug 2005 A1
20050193739 Brunell et al. Sep 2005 A1
20050209714 Rawlings et al. Sep 2005 A1
20050210868 Funabashi Sep 2005 A1
20060047607 Boyden et al. Mar 2006 A1
20060111881 Jackson May 2006 A1
20060168945 Samad et al. Aug 2006 A1
20060265203 Jenny et al. Nov 2006 A1
20060282178 Das et al. Dec 2006 A1
20070142936 Denison et al. Jun 2007 A1
20070144149 Kolavennu et al. Jun 2007 A1
20070156259 Baramov et al. Jul 2007 A1
20070275471 Coward Nov 2007 A1
20080071395 Pachner Mar 2008 A1
20080097625 Vouzis et al. Apr 2008 A1
20080103747 Macharia et al. May 2008 A1
20080103748 Axelrud et al. May 2008 A1
20080104003 Macharia et al. May 2008 A1
20080109100 Macharia et al. May 2008 A1
20080125875 Stewart et al. May 2008 A1
20080132178 Chatterjee et al. Jun 2008 A1
20080183311 MacArthur et al. Jul 2008 A1
20080208778 Sayyar-Rodsari et al. Aug 2008 A1
20080244449 Morrison et al. Oct 2008 A1
20090005889 Sayyar-Rodsari Jan 2009 A1
20090008351 Schneider et al. Jan 2009 A1
20090043546 Srinivasan et al. Feb 2009 A1
20090131216 Matsubara et al. May 2009 A1
20090182518 Chu et al. Jul 2009 A1
20090198350 Thiele Aug 2009 A1
20090240480 Baramov Sep 2009 A1
20090254202 Pekar et al. Oct 2009 A1
20090287320 MacGregor et al. Nov 2009 A1
20090312998 Berckmans et al. Dec 2009 A1
20100017094 Stewart et al. Jan 2010 A1
20100038158 Whitney et al. Feb 2010 A1
20100050607 He et al. Mar 2010 A1
20100122523 Vosz May 2010 A1
20100204808 Thiele Aug 2010 A1
20100268353 Crisalle et al. Oct 2010 A1
20100300070 He et al. Dec 2010 A1
20100305719 Pekar et al. Dec 2010 A1
20100327090 Havlena et al. Dec 2010 A1
20110006025 Schneider et al. Jan 2011 A1
20110010073 Stewart et al. Jan 2011 A1
20110029235 Berry Feb 2011 A1
20110046752 Piche Feb 2011 A1
20110060424 Havlena Mar 2011 A1
20110066308 Yang et al. Mar 2011 A1
20110071653 Kihas Mar 2011 A1
20110087420 Stewart et al. Apr 2011 A1
20110104015 Boyden et al. May 2011 A1
20110125293 Havlena May 2011 A1
20110167025 Danai et al. Jul 2011 A1
20110270505 Chaturvedi et al. Nov 2011 A1
20110301723 Pekar et al. Dec 2011 A1
20120010732 Stewart et al. Jan 2012 A1
Foreign Referenced Citations (21)
Number Date Country
19628796 Oct 1997 DE
10219832 Nov 2002 DE
0301527 Feb 1989 EP
0950803 Apr 1999 EP
1134368 Mar 2001 EP
1180583 Feb 2002 EP
1221544 Jul 2002 EP
1245811 Oct 2002 EP
1686251 Aug 2006 EP
2107439 Oct 2009 EP
2146258 Jan 2010 EP
59190443 Oct 1984 JP
2010282618 Dec 2010 JP
0232552 Apr 2002 WO
WO 02101208 Dec 2002 WO
03048533 Jun 2003 WO
WO 03065135 Aug 2003 WO
WO 03078816 Sep 2003 WO
WO 2004027230 Apr 2004 WO
2008033800 Mar 2008 WO
2008115911 Sep 2008 WO
Related Publications (1)
Number Date Country
20120010732 A1 Jan 2012 US
Continuations (2)
Number Date Country
Parent 12886486 Sep 2010 US
Child 13179252 US
Parent 12174910 Jul 2008 US
Child 12886486 US