Journal of Control Science and Engineering

Volume 2012 (2012), Article ID 731825, 15 pages

http://dx.doi.org/10.1155/2012/731825

## Model Predictive Engine Air-Ratio Control Using Online Sequential Relevance Vector Machine

^{1}Department of Electromechanical Engineering, Faculty of Science and Technology, University of Macau, Taipa 999078, Macau^{2}Department of Computer and Information Science, Faculty of Science and Technology, University of Macau, Taipa 999078, Macau

Received 17 January 2012; Accepted 24 March 2012

Academic Editor: Qingsong Xu

Copyright © 2012 Hang-cheong Wong et al. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

#### Abstract

Engine power, brake-specific fuel consumption, and emissions relate closely to air ratio (i.e., lambda) among all the engine variables. An accurate and adaptive model for lambda prediction is essential to effective lambda control for long term. This paper utilizes an emerging technique, relevance vector machine (RVM), to build a reliable time-dependent lambda model which can be continually updated whenever a sample is added to, or removed from, the estimated lambda model. The paper also presents a new model predictive control (MPC) algorithm for air-ratio regulation based on RVM. This study shows that the accuracy, training, and updating time of the RVM model are superior to the latest modelling methods, such as diagonal recurrent neural network (DRNN) and decremental least-squares support vector machine (DLSSVM). Moreover, the control algorithm has been implemented on a real car to test. Experimental results reveal that the control performance of the proposed relevance vector machine model predictive controller (RVMMPC) is also superior to DRNNMPC, support vector machine-based MPC, and conventional proportional-integral (PI) controller in production cars. Therefore, the proposed RVMMPC is a promising scheme to replace conventional PI controller for engine air-ratio control.

#### 1. Introduction

Engine power, brake-specific fuel consumption, and emissions relate closely to air ratio among all the engine variables [1]. Air ratio is also called lambda. It indicates the amount that the actual available air-fuel ratio mixture differs from the stoichiometric air-fuel ratio of the fuel being used. Manzie et al. [2, 3] mentioned that if the air-fuel ratio is 1% lower than its stoichiometric ratio (e.g., 14.7 : 1 for gasoline), carbon monoxide (CO) and hydrocarbon (HC) emissions will be significantly increased. An air-fuel ratio that is 1% higher than the stoichiometric ratio produces more nitrogen oxides , up to 50%. Modern automotive engines are controlled by the electronic control unit (ECU) which usually uses look-up tables with compensation of a proportional-integral (PI) closed-loop controller for lambda regulation. Since the nature of engine combustion is multivariable, time-varying, time-delay, and chaotic, look-up tables with PI controller cannot produce desirable and accurate lambda control [2, 3].

So far, there are only a few papers focusing on air-ratio control, but some control strategies were developed for air-fuel ratio (AFR) control in the past decade, including the sliding mode control [4], radial basis function neural-network feed-forward feedback control [5], and model predictive control (MPC) using neural network-based models [6–8]. In the aforementioned researches, the most appropriate and the latest technique is MPC based on diagonal recurrent neural network (DRNN) [8] because of its fast computational time. The MPC is very robust and suitable for a multivariable, time-varying, and delay system that matches the characteristic of modern engine AFR control systems [9]. A reliable engine performance model is a core component of the MPC. However, the engine models developed in [5–8] were surrogate models, which were trained from the data generated by empirical equations. Moreover, there were many assumptions in the empirical equations. In fact, many coefficients in the empirical equations are also difficult to determine for a real engine [10]. Therefore the neural-network prediction models derived from the data generated by empirical equations cannot reflect the actual performance of the controller in real engines. Meanwhile, their control target and engine models only focused on AFR instead of air ratio. AFR control is ineffective for engine performance control because it does not consider the fuel variation whereas air-ratio is a fuel independent index. Furthermore, in [5–8], only simulation tests were presented and the testing on real car engines has never been done. Besides, the inherent drawbacks of the neural network (NN) would make itself difficult put into practice including multiple local minima, user burden on selection of optimal NN structure, and overfitting. Another practical challenge to the modelling of engine lambda performance is that the lambda model is required to be updated for any changes in engine performance such as the engine aging or fair user modification on it. Therefore, the current research objective is to develop a reliable and nonlinear time-series prediction model for chaotic engine lambda behaviour and the model should have ability of online update as well.

Least-squares support vector machine (LS-SVM) is an alternative technique of nonlinear modelling [11, 12], which combines the advantages of NNs (handling large amount of highly nonlinear data) and nonlinear regression (high generalization). In recent years, LS-SVM has been successfully applied to a wide range of engineering applications [10, 13–17]. Hence it is believed that LS-SVM can also be applied to estimate the lambda model. However, LS-SVM is just an offline algorithm which cannot continually update the lambda prediction models with the subsequent samples for correction. Although there is an online version of LS-SVM [18] based on pruning, namely, decremental least-squares support vector machine (DLSSVM), it still suffers from two drawbacks. The first one is that there are two user-defined hyperparameters in DLSSVM which seriously affect the model accuracy and generalization. The optimization of these two hyperparameters is time-consuming and the optimality of these hyperparameter values is not guaranteed after decremental update. Since the number of support vectors typically grows linearly with the size of the training dataset, DLSSVM makes unnecessarily liberal use of basis functions which results in long computational time for real-time control applications.

To overcome the deficiencies of neural networks and LS-SVM, Tipping and Faul [19] proposed an advanced modelling technique, namely, relevance vector machine (RVM). RVM is an online machine learning technique which utilizes more flexible and sparser model without setting additional regularization parameters. RVM takes shorter training time than NN. In addition, the model updating time of RVM is also typically fast so that the RVM model can be continually updated whenever new lambda samples arrive.

In view of the deficiencies of the existing work and the chaotic nature of engine combustion [20] as well as the advantages of RVM, a promising avenue of research is to apply relevance vector machine and model predictive controller together to complicated engine systems and test it on a real car engine for practical examination of the MPC. This paper presents a nonlinear MPC algorithm for air-ratio control based on an RVM model for a real car engine. The method is new for real-time engine lambda control. The RVM model can be updated continually to model the engine performance variation and severely nonlinear and chaotic natures. Based on the multiple-step-ahead prediction of the lambda, an optimal control signal is obtained to regulate the lambda to the desired value upon the change of engine operating condition. In order to show the advantages of the presented control algorithm over the existing algorithms, the control performance of the proposed relevance vector machine model predictive controller (RVMMPC) is compared with the latest neural network-based method for air-fuel ratio control, diagonal recurrent neural network MPC (DRNNMPC) [8] and conventional PI controller in production cars. Besides, it is interesting in extending the decremental least-squares support vector machine (DLSSVM) [18] to MPC and making comparison with the RVMMPC for engine air-ratio. To the best knowledge of the authors, this research is the first attempt at extending online LS-SVM and RVM to the domain of automotive engine air-ratio modelling and control.

#### 2. Relevance Vector Machine

In the first part of this section, the algorithm of RVM modelling is briefly reviewed. In order to handle the online update of RVM model, an online sequential algorithm is adopted and described in the last part of this section.

##### 2.1. RVM Modelling

Given a training dataset of input vectors , to , along with corresponding scalar-valued output . The input vector contains the previous measured engine time-series parameters including fuel injection time, throttle position, and air ratio at a specific time instant. The corresponding air ratio at that time is defined as the output which is assumed to contain zero-mean Gaussian noise with variance . Hence, the probability of prediction error for is a Gaussian distribution of zero mean and variance , that is, , with where is the output prediction of the true value , and is the weight vector for the RVM model.

Generally, the prediction can be represented by where ) is a basis function and . In the current research, radial basis function (RBF) is chosen as the basis function because it is commonly used for modelling problem [10].

Under the aforementioned formulation, the likelihood function of the output vector to , is constructed by a multivariate Gaussian: where and represents an design matrix with the notation , and .

The likelihood function, (4), is complemented by a prior over the weights, to , to control the complexity of the model and avoid overfitting. The prior is a zero-mean Gaussian distribution and is defined over every weight as follows:

The hyperparameter vector that controls how far each weight is allowed to deviate form zero. Given , using Bayes’ rule, the posterior over is expressed as

The posterior mean and covariance for are given as follows [19]: where is defined as diag .

The posterior mean is an estimation of the weight vector for prediction. The only unknowns in (7) are the hyperparameters which can be estimated via a type-II maximum likelihood procedure [19]. It is called sparse Bayesian learning which is formulated as the local maximization with respect to of the marginal likelihood or, equivalently, its logarithm : where .

By maximizing (8) over , the most probable values can be generated. Then, can be obtained by substituting into (7). Afterwards, the covariance and posterior mean can be estimated. Therefore, the RVM model can be found by setting : where is the prediction of the output lambda with the unseen input data containing the recent measured engine data series, which is explained in Section 4.1. One crucial observation is that the optimal values of many hyperparameters are typically infinite. Considering that , this leads to a parameter posterior infinitely peaked at zero for many weights . In consequence, the posterior mean consists of very few nonzero elements. This results in good sparseness for RVM whereas LS-SVM and NN do not have this advantage. A good sparseness implies that the computational time for prediction can be shortened.

##### 2.2. Online RVM Modelling

In order to train and update the RVM model continually, an online algorithm for RVM [19] is employed. The algorithm starts with an empty set of basis function for the RVM model and sequentially adds basis functions to increase the marginal likelihood and modify their corresponding weights . Within the same principal framework, the likelihood can also be updated by deleting those basis functions which subsequently become redundant. Removing a basis function implies that the corresponding is no longer important and can be excluded from the design matrix in constructing the RVM model *f*, which can be simply done by setting the corresponding hyperparameter equal to infinity (practically a very large value). In this way, the corresponding weight value becomes zero. Since is a bias corresponding to no training data, only the weights are considered. The data with nonzero weights , to , are referred to relevance vectors. Since the basis functions are sequentially added to or deleted from the lambda model by RVM, the likelihood can be continually updated and hence this mechanism makes online update of the lambda model feasible.

In the following discussions, the constraints to add and delete basis function from the RVM lambda model are given, and then the detailed online RVM algorithm is presented.

###### 2.2.1. Constraints for the Basis Functions Update

In (8), the covariance matrix includes all basis functions in the RVM prediction model. When it is necessary to remove a basis function from , the new covariance matrix with the influence of removed basis function can be expressed as follows: It was shown in [21] that has a unique maximum with respect to : where with to .

The results of (11) and (12) imply that if is currently included in the lambda model (i.e., ) and , then can be deleted by setting to ∞. On the other hand, if is currently excluded from the lambda model (i.e., = ∞) and , then can be added by setting to some optimal finite values. With these constraints, an online RVM algorithm can be implemented here in after.

###### 2.2.2. Online Sequential Algorithm of RVM

The steps for the implementation of the online RVM algorithm are described as follows.(1) Initialize to some sensible values (e.g., ) and all are notionally set to infinity.(2) Initialize and with a single basis function from (13) and (14) and compute new from (11) which can be simplified as follows.(3) Explicitly compute and (which are scalars initially), along with initial values of and for all basis functions using (7) and (10)–(14).(4) Select a candidate basis function from the set of all basis functions.(5) Compute .(6) If and (i.e., is included in the model), then reestimate using (11).(7) If and , then add to the model with updated .(8) If and , then delete from the model and set .(9) Estimate the noise level, and update as follows:(10) Recompute or update , and all and using (7) and (10)–(14).(11) If converged then terminate, otherwise go to Step 4.

*Remarks 2.2.2. *For the initialization in Step , a potential basis function could be the one with the largest normalized projection onto the output vector which gives the largest initial likelihood. In Step , a candidate basis function , both included in and excluded from the current RVM model, must be selected for updating but the selection is purely at random. In Step , , and all and are recomputed in full forms of (7) and (10)–(14). In Step , attaining a local maximum of the marginal likelihood must be judged. The online algorithm terminates when the changes in for all basis functions in the RVM model are smaller than 10^{−6} and all other [19].

The aforementioned online sequential algorithm for RVM ensures to increase the marginal likelihood at each step until a local maximum is attained. Although adding and deleting basis functions appear notionally to be independent, posterior statistics for all basis functions are being maintained concurrently; that is, all elements of and corresponding to removed basis functions are trivially zero.

#### 3. MPC with RVM Model

The structure of the proposed RVMMPC is shown in Figure 1. The controller consists of the RVM engine lambda model and the optimizer based on Brent’s method [22]. The RVM engine lambda model predicts the engine response over a specified time horizon. The predictions are used by the optimizer to determine the tentative fuel injection time , that minimizes the following performance criterion over the specified time horizon, and then the optimal fuel injection time signal is sent to the engine: where and define the prediction horizon. is the time step. is the control horizon. is a user-defined control weighting factor which penalizes excessive movement of the control signal (i.e., the fuel injection time). The variables and in the second part of (17) are the tentative fuel injection time at the time step and , respectively. The second part of (17) ensures the stability of the controller output. is the target lambda at the time step , and is the predicted lambda by the RVM model which is computed from (9) at the time step , from which the input vector consists of three time series of engine control parameters: , throttle position , and previous measured lambda . In other words,

##### 3.1. Single-Dimension Optimization Approach

The original optimization problem involved in this paper is multidimensional and constrained with the tentative control signals over the control horizon and tentative fuel injection times , which can minimize the objective function of (17). Then the predicted lambda values, ,, can trace the target lambda values, ,, by using the optimized fuel injection time series. Each fuel injection time is normally bounded within the range from 3 ms to 60 ms. However, the multi-dimensional optimization always requires heavy computation, especially when constraints exist. Real-time control applications often put emphasis on computational speed. The research of [7] also showed that the one-dimensional approach is efficient for real time AFR control and the overall tracking error is similar to that using multidimensional optimization approach. Therefore, the optimization problem to be solved is reduced to onedimensional. In this paper, the control signal is assumed to remain constant over the control horizon. Therefore, the tentative control signal in the objective function is also constant over the control horizon, that is, . In this way, only one parameter is needed to determine, and the final fuel injection time at each time step is set to be the optimal value of .

##### 3.2. Brent’s Method

There are many optimization methods available in the literature; it is impossible to examine all of them. For illustrative purpose, a well-known technique—Brent’s method—is examined in this research. Brent’s method is a robust and efficient optimization method. It combines the typical parabolic interpolation and golden-section search. The objective function in each iteration is approximated by an interpolating parabola through three existing points. The minimum point of the parabola is taken as a guess for the minimum point if certain criteria are met. Otherwise, golden-section search is carried out. The advantage of this method is that the high convergence rate of parabolic interpolation can be maintained without losing the robustness of golden-section search [22]. According to this advantage, Brent’s method was selected as the MPC optimizer in this study. The general working principle of Brent’s method is shown in Figure 2. The detail optimization procedure of Brent’s method was presented in [22] and is not presented herein. There are three parameters of Brent’s method which are the initial interval of the input variable, , that is the limit of the fuel injection time, as well as the tolerance, *tol*, for stopping the optimization procedure. The three variables are set at 3, 60, and 0.05, respectively, because the fuel injection time varies within 3 to 60 ms from 0 to 100% throttle.

#### 4. Implementation and Evaluation of RVM Engine Air-Ratio Model

##### 4.1. RVM Engine Air-Ratio Model Implementation

The objective of the RVM engine lambda model is to predict the future lambda from three time series of inputs: fuel injection time *u*, throttle position , and previous measured lambda . The structure of the RVM model was chosen to be second order (i.e., 2 past time steps) which gives the minimum prediction error [7, 8], and the structure is shown in Figure 3.

To obtain the engine data for building the engine lambda model, 3000 data samples including lambda, fuel injection time, and throttle positions were collected. These 3000 lambda samples were collected over a Honda Type-R K20A i-VTEC engine controlled by a MoTeC M800 programmable electronic control unit with nonfactory calibration data. A dyno test was done for collecting the data samples. In the dyno test, the engine speed was ranged from 1500 r/min to 6500 r/min with random throttle positions bounded between 5% and 65%. The lambda data samples were collected using an in-car wide-band lambda sensor at a sampling frequency of 200 Hz. The first 2000 data samples were used as training dataset to build the lambda model. The last 1000 data samples were used as test dataset TEST and the first 900 data samples of TEST were regarded as update dataset UPDATE for real-time updates. The lambda model was updated every 100 measured lambda data samples during prediction. With respect to the training dataset , the test dataset TEST is unseen cases for testing the generalization of the built lambda model.

##### 4.2. Evaluation Criteria for Engine Air-Ratio Model

To illustrate the accuracy, superiority, and online update ability of the proposed RVM model, its prediction result was compared with those obtained from the latest methods, DLSSVM [18] and DRNN [8].

After obtaining the lambda model with RVM through the training algorithm presented in Section 2 over ., was then updated for 9 times with UPDATE, 100 data samples each time, to build the updated RVM lambda model . Apart from the RVM model, classical LS-SVM was employed to build the lambda model over . After that, was updated with UPDATE but employing the updating algorithm presented in [18] to build the decremental LS-SVM model . Moreover, DRNN, the same modelling algorithm for AFR model predictive control presented in [8], was applied to estimate the lambda model, . The network was trained for 60 epochs. After that, was updated with UPDATE but employing the dynamic back-propagation with automatic differentiation technique presented in [8] to build the online model .

After constructing all , and , the performance of the three lambda models can be evaluated in terms of accuracy. Since the range of lambda for combustible mixture is very narrow, the prediction errors of the above three models are presented by logarithmic mean absolute error (*LMAE*), and they were evaluated one by one against the test dataset, TEST, using (19):
where represents either , , or is the new input vector for lambda prediction, is the corresponding actual lambda value of , and is the total number of predictions. The value of is equal to 1000 in this case study. Besides *LMAE*, the accuracies of the three models were also evaluated by the linear regression value. The prediction results between the predicted lambda values and the corresponding actual lambda values over TEST are shown in Figure 4.

Table 1 shows the *LMAE* and values of the three lambda models. According to the *LMAE* values in Table 1, the RVM lambda model outperforms and by approximately 4% and 29%, respectively. It is believed that the accuracy of the RVM lambda model can be significantly increased if the model update is continually carried out. Moreover, as compared with DLSSVM, RVM has better sparseness. This property is very important for online control and system identification because the computational time and the size of memory are fewer.

In addition to the improvement on prediction accuracy, RVM can also reduce the time for training and updating the lambda model significantly. Table 2 shows the model training time, average model updating time, and cumulative model updating time after nine times of updates. In Table 2, the lambda model training and average model updating time of RVM are 1.52 s and 0.08 s, respectively. The lambda model training time of is the shortest among the three lambda models. The average model updating time of , 0.08 s, is only about one-sixth of , 0.52 s. It is because in RVM, the updating procedure is applied to every basis function individually while DLSSVM has to work on a large matrix for its estimated inversion. Moreover, the average model updating time of is also about one-eleventh of . This achievement may be accomplished by the effective online algorithm of RVM. The total cumulative model updating time saved by RVM from DLSSVM and DRNN after 9 update iterations is 3.99 s and 7.56 s, respectively. However, if the lambda model is often updated, the cumulative model updating time saved by RVM will be very significant. Obviously, RVM has more advantage than DLSSVM and DRNN algorithms. As a whole, the high accuracy and short updating time of the lambda model using RVM make online model predictive air-ratio control more feasible.

Experimental results show that the model accuracy, model training time, and updating time of RVM are the best among the aforementioned algorithms. Therefore, RVM was confidently selected to implement the model predictive engine air-ratio controller.

#### 5. Implementation and Evaluation of RVMMPC

##### 5.1. Experimental Setup

The proposed RVMMPC algorithm was implemented and tested on a Honda Type-R K20A i-VTEC engine with MoTeC M800 programmable ECU and National Instrument (NI) USB-6259. The model predictive control algorithm was implemented using MATLAB. MoTeC M800 is mainly used for engine control, whereas NI USB-6259 is used for sending control signal to the MoTeC ECU via a LabVIEW interface program according to the MATLAB MPC program embedded. In other words, NI USB-6259 serves as an interface between the MATLAB program and the MoTeC ECU. Apart from fuel injector control, the MoTeC ECU also contains many control maps, such as ignition map and valve timing map, to maintain the engine operation. The experimental setup and the LabVIEW interface program are shown in Figures 5 and 6, respectively.

The initial offline training data for building the RVM model were obtained using a wide-band lambda sensor subject to random throttle positions and are discussed in the pervious section. There were three pilot tests in this study. The tests evaluate the tracking error, robustness, and adaptability of the controllers respectively.

##### 5.2. Pilot Test 1: System Tracking Ability

In pilot test 1, the test cycle is shown in Figure 7 where the throttle position changes from 0 to 50% throttle (i.e., partial throttle). In this test, the lambda value is needed to track the target values from the stoichiometric value (1.00) to a value for the best brake-specific fuel consumption (1.05) as the throttle position is changed. This lambda value for such partial throttle is a normal requirement for automobiles. After choosing the sampling time to be 0.005 s, the tracking ability of the RVMMPC can be examined. By testing many values around the setting used in [8], the parameters of the optimizer were chosen as . With the test cycle shown in Figure 7 and the parameters chosen, the lambda control result and the corresponding fuel injection time are shown in Figures 8(a) and 9(a), respectively. In order to show the advantage of the RVMMPC, its control result is compared with other two latest model predictive controllers, decremental LS-SVM model predictive controller (DLSSVMMPC) and DRNN model predictive controller (DRNNMPC), as well as the PI control algorithm used in the existing automotive ECU. The engine lambda models used in the DLSSVMMPC and DRNNMPC are the models mentioned in Section 4.2. The parameters of nonlinear optimization for the DLSSVMMPC, and DRNNMPC were the same as those of RVMMPC. The PI gains of the PI controller were obtained by the Ziegler-Nichols method. The lambda control results and the corresponding fuel injection time of the DLSSVMMPC, DRNNMPC, and PI controller are shown in Figures 8(b)–8(d) and 9(b)–9(d), respectively.

Figure 8(a) shows that the RVMMPC can control the lambda to follow the target lambda with the smallest tracking error and overshoot among all the controllers. The control performances of the four controllers are shown in Table 3. As the range of lambda for combustible mixture is very narrow, logarithmic mean absolute error is chosen as the logarithmic tracking error (*LTE*) to evaluate the tracking ability of the controllers and is defined by
where is time step, is the total number of time step, is the actual lambda at each time step, and is the corresponding target lambda at each time step. Table 3 reveals that the *LTE* of the RVMMPC outperforms the DLSSVMMPC, DRNNMPC and PI controller by approximately 5%, 8%, and 38%, respectively.

##### 5.3. Pilot Test 2: System Robustness

In pilot test 2, the test cycle is shown in Figure 10 where the throttle position changes from 0 to 50% throttle. This change can be viewed as a disturbance. In this test, the lambda value is needed to control within the ±5% bounds of the stoichiometric value (1.0). After choosing the sampling time to be 0.005 *s*, the effectiveness of the RVMMPC can be examined. The parameters of the optimizer were chosen as again. The lambda control result and the fuel injection time of the RVMMPC are shown in Figures 11(a) and 12(a), respectively. Similar to pilot test 1, the control result is compared with the two model predictive controllers, DLSSVMMPC and DRNNMPC, as well as typical PI controller. The control results and the corresponding fuel injection time of the DLSSVMMPC, DRNNMPC, and PI controller are shown in Figures 11(b)–11(d) and 12(b)–12(d), respectively. Figure 11(a) shows that the RVMMPC can regulate the lambda to the target lambda with the smallest deviation (i.e., minimum *LTE*) in the steady state among all the controllers. Moreover, the RVMMPC can also achieve the smallest overshoot in the transient state among all the controllers. These results show the superior robustness of the RVMMPC. The control performances of the four controllers are shown in Table 4, and the control performance of the RVMMPC in terms of *LTE* is superior to the DLSSVMMPC, DRNNMPC, and PI controller by 3%, 6%, and 35%, respectively.

##### 5.4. Pilot Test 3: Online Update Ability

In the pervious two tests, the “bypass air valve” of the test engine is 60% opening. In order to test the update ability of the RVMMPC, the “bypass air valve” was set from 60% to 30%. It is equivalent to the clogging of the engine intake filter as the engine aging. Normally, the lambda value must decrease under the same throttle position as lack of intake air. The testing procedure and the parameter setting are exactly the same as those in pilot test 2 except the change of the “bypass air valve” position. The variation of throttle position in the test cycle is shown in Figure 13. The lambda control result and the fuel injection time of the RVMMPC are shown in Figures 14(a) and 15(a), respectively. Similar to pilot tests 1 and 2, the control result is compared with the two model predictive controllers, DLSSVMMPC and DRNNMPC, as well as typical PI controller. The control results and the corresponding fuel injection time of the DLSSVMMPC, DRNNMPC and PI controller are shown in Figures 14(b)–14(d) and 15(b)–15(d) respectively. Figures 14(a)–14(d) depict the lambda values decrease after changing the position of the “bypass air valve” due to fuel rich. Figures 14(a)–14(c) illustrate that the three controllers, RVMMPC, DLSSVMMPC, and DRNNMPC, can regulate the lambda with obviously less deviation from the stoichiometric value and overshoot than that of the PI controller because the engine lambda model can be self-updated for any changes in engine condition. The control performances of the four controllers are shown in Table 5, and the control performance of the RVMMPC in terms of *LTE* outperforms the DLSSVM, DRNNMPC, and PI controller by approximately 6%, 10%, and 62%, respectively. This promising result indicates that the RVMMPC can regulate air ratio very well even the engine ages and undergoes external disturbance simultaneously.

##### 5.5. Discussion of Results

All the experimental results show that the overall lambda control performance of the RVMMPC is better than those of DLSSVMMPC, DRNNMPC, and conventional PI controller. There are two important factors affecting the control performance of the model predictive controllers which are the lambda model accuracy, and computational time. As presented in Sections 2.1 and 4.2, the sparseness, model accuracy and model updating time of RVM are better than those of DLSSVM and DRNN. Therefore, the model accuracy, and computational time of the RVMMPC is the best among the three controllers. Overall, the RVMMPC is the most suitable method for engine air-ratio control. Although Tables 3 to 5 show that the logarithmic tracking errors of the RVMMPC have a small improvement only, and the lambda is a very delicate value, a small change can result in a big change of engine performance, so the *LTE* is not very large. For instance, the air ratio is changed from 1 to 1.05; an increment of 0.05 results in changing from the best emission performance to the best brake-specific fuel consumption. Besides, [2, 3] stated that if AFR is 1% lower than its stoichiometric ratio, CO and HC emissions are significantly increased. An AFR that is 1% higher than the stoichiometric ratio produces more NO_{x}, up to 50%. As a result, the actual improvement achieved by the RVMMPC is very significant.

#### 6. Conclusions

This research is the first attempt at developing RVMMPC for engine air-ratio control. This study is also the first to extend DLSSVM to MPC for engine air-ratio control. The RVM is trained by sequential learning algorithm and real engine data, which can let the engine lambda model update continually so as to maintain the lambda model accuracy for any changes in engine performance as the engine aging or fair user modification on it. With the highly accurate engine lambda model, the new MPC strategy can perform lambda control effectively. The proposed intelligent control algorithm was successfully implemented and tested on a real automotive engine, whereas many previous researches were simulation tests only. Experimental results show that the lambda control performance of the RVMMPC is better than of DLSSVMMPC, DRNNMPC and conventional PI controller. Tables 3 to 5 reveal that the RVMMPC can effectively reduce the lambda deviation and overshoot from target lambda value up to 62% and 67%, respectively. Thus, the RVMMPC is a potential control scheme to replace conventional PI controller in the automotive ECU for engine lambda control. In the future, some advanced optimization algorithms for the RVMMPC and system stability will be studied.

#### Acknowledgments

This work is supported by the University of Macau Research Grant, Grant no. MYRG149(Y1-L2)-FST11-WPK. The authors would also like to thank the support from Mr. Adrian Kowalski.

#### References

- W. H. Course and D. L. Anglin,
*Automotive Mechanics*, McGraw-Hill, New York, NY, USA, 10th edition, 1993. - C. Manzie, M. Palaniswami, and H. Watson, “Gaussian networks for fuel injection control,”
*Journal of Automobile Engineering*, vol. 215, no. D8, pp. 1053–1068, 2001. View at Publisher · View at Google Scholar · View at Scopus - C. Manzie, M. Palaniswami, D. Ralph, H. Watson, and X. Yi, “Model predictive control of a fuel injection system with a radial basis function network observer,”
*Journal of Dynamic Systems, Measurement and Control*, vol. 124, no. 4, pp. 648–658, 2002. View at Publisher · View at Google Scholar · View at Scopus - S. W. Wang and D. L. Yu, “A new development of internal combustion engine air-fuel ratio control with second-order sliding mode,”
*Journal of Dynamic Systems, Measurement and Control*, vol. 129, no. 6, pp. 757–766, 2007. View at Publisher · View at Google Scholar · View at Scopus - Y. J. Zhai and D. L. Yu, “Radial-basis-function-based feedforward-feedback control for air-fuel ratio of spark ignition engines,”
*Proceedings of the Institution of Mechanical Engineers D*, vol. 222, no. 3, pp. 415–428, 2008. View at Publisher · View at Google Scholar · View at Scopus - S. W. Wang, D. L. Yu, J. B. Gomm, G. F. Page, and S. S. Douglas, “Adaptive neural network model based predictive control for air-fuel ratio of SI engines,”
*Engineering Applications of Artificial Intelligence*, vol. 19, no. 2, pp. 189–200, 2006. View at Publisher · View at Google Scholar · View at Scopus - Y. J. Zhai and D. L. Yu, “Neural network model-based automotive engine air/fuel ratio control and robustness evaluation,”
*Engineering Applications of Artificial Intelligence*, vol. 22, no. 2, pp. 171–180, 2009. View at Publisher · View at Google Scholar · View at Scopus - Y. J. Zhai, D. W. Yu, H. Y. Guo, and D. L. Yu, “Robust air/fuel ratio control with adaptive DRNN model and AD tuning,”
*Engineering Applications of Artificial Intelligence*, vol. 23, no. 2, pp. 283–289, 2010. View at Publisher · View at Google Scholar · View at Scopus - G. Y. Li,
*Application of Intelligent Control and MATLAB to Electronically Controlled Engines*, Publishing House of Electronics Industry, 2007. - P. K. Wong, L. M. Tam, K. Li, and C. M. Vong, “Engine idle-speed system modelling and control optimization using artificial intelligence,”
*Proceedings of the Institution of Mechanical Engineers*, vol. 224, no. D1, pp. 55–72, 2010. View at Publisher · View at Google Scholar · View at Scopus - J. Suykens, J. De Brabanter, L. Lukas, and L. Vandewalle,
*Least Squares Support Vector Machines*, World Scientific Press, 1st edition, 2002. - J. Valyon and G. A. Horvath, “Sparse least squares support vector machine classifier,” in
*Proceedings of the IEEE International Joint Conference on Neural Networks*, vol. 1, pp. 543–548, Budapest, Hungary, July 2004. - C. M. Vong, P. K. Wong, and Y. P. Li, “Prediction of automotive engine power and torque using least squares support vector machines and Bayesian inference,”
*Engineering Applications of Artificial Intelligence*, vol. 19, no. 3, pp. 277–287, 2006. View at Publisher · View at Google Scholar · View at Scopus - P. K. Wong, C. M. Vong, L. M. Tam, and K. Li, “Data preprocessing and modelling of electronically-controlled automotive engine power performance using kernel principal components analysis and least squares support vector machines,”
*International Journal of Vehicle Systems Modelling and Testing*, vol. 3, no. 4, pp. 312–330, 2008. View at Publisher · View at Google Scholar · View at Scopus - T. Quan, X. Liu, and Q. Liu, “Weighted least squares support vector machine local region method for nonlinear time series prediction,”
*Applied Soft Computing Journal*, vol. 10, no. 2, pp. 562–566, 2010. View at Publisher · View at Google Scholar · View at Scopus - X. Wang, H. Zhang, C. Zhang, X. Cai, J. Wang, and J. Wang, “Prediction of chaotic time series using LS-SVM with automatic parameter selection,” in
*Proceedings of the 6th International Conference on Parallel and Distributed Computing, Applications and Technologies (PDCAT '05)*, pp. 962–965, Dalian, China, December 2005. View at Scopus - Z. Shi and M. Han, “Support vector echo-state machine for chaotic time-series prediction,”
*IEEE Transactions on Neural Networks*, vol. 18, no. 2, pp. 359–372, 2007. View at Publisher · View at Google Scholar · View at Scopus - P. K. Wong, H. C. Wong, and C. M. Vong, “Online time-sequence incremental and decremental least squares support vector machines for engine air-ratio prediction,”
*International Journal of Engine Research*, vol. 13, no. 1, pp. 28–40, 2011. View at Publisher · View at Google Scholar - M. E. Tipping and A. C. Faul, “Fast marginal likelihood maximisation for sparse bayesian method,” in
*Proceedings of the 9th International Workshop on Artificail Intelligence and Statistics*, Key West, Fla, USA, January 2003. - Rototest Research Institute, “Performance measurements on chassis dynamometers,” 2005, http://www.rototest.com.
- A. C. Faul and M. E. Tipping, “Analysis of sparse Bayesian learning,”
*Advances in Neural Information Processing Systems*, vol. 14, pp. 383–389, 2002. View at Google Scholar - T. R. Chandrupatla, “An efficient quadratic fit—sectioning algorithm for minimization without derivatives,”
*Computer Methods in Applied Mechanics and Engineering*, vol. 152, no. 1-2, pp. 211–217, 1998. View at Google Scholar · View at Scopus