Mathematical Modeling, Analysis, and Advanced Control of Complex Dynamical SystemsView this Special Issue
Research Article | Open Access
Shangtai Jin, Zhongsheng Hou, Ronghu Chi, Jiangen Hao, "A Data-Driven Control Design Approach for Freeway Traffic Ramp Metering with Virtual Reference Feedback Tuning", Mathematical Problems in Engineering, vol. 2014, Article ID 936531, 8 pages, 2014. https://doi.org/10.1155/2014/936531
A Data-Driven Control Design Approach for Freeway Traffic Ramp Metering with Virtual Reference Feedback Tuning
ALINEA is a simple, efficient, and easily implemented ramp metering strategy. Virtual reference feedback tuning (VRFT) is most suitable for many practical systems since it is a “one-shot” data-driven control design methodology. This paper presents an application of VRFT to a ramp metering problem of freeway traffic system. When there is not enough prior knowledge of the controlled system to select a proper parameter of ALINEA, the VRFT approach is used to optimize the ALINEA's parameter by only using a batch of input and output data collected from the freeway traffic system. The extensive simulations are built on both the macroscopic MATLAB platform and the microscopic PARAMICS platform to show the effectiveness and applicability of the proposed data-driven controller tuning approach.
Freeway traffic control has become an important area in the field of traffic engineering and intelligent transportation systems due to the rapid expansion in worldwide development of freeway infrastructure and traffic demand. The frequent occurrence of congestions on freeway during rush hours, which may be caused by traffic demand being greater than capacity, traffic accidents, road works or weather, and so forth, leads to travel time delay, inefficient utilization of the freeway infrastructure, and decreasing traffic safety. Thus, freeway traffic control methods should be developed to prevent traffic jam and utilize the freeway infrastructure efficiently. In general, there are three typical freeway traffic control methods, ramp metering, mainline speed control, and corridor control.
Among these methods, ramp metering is the most popular one [1, 2]. Ramp metering is implemented by means of traffic lights, which is used to meter the number of entering vehicles and prevent traffic volume from exceeding freeway capacity. Ramp metering, when properly applied, is an effective way to ease freeway congestion and improve the efficiency of freeway utilization. From the viewpoint of system control, it is a typical set-point problem and numerous model based control methods have been exploited, such as numerical methods [1, 3], linearization method , one-step ahead prediction, and multiple prediction adaptive control . However, as the freeway traffic system is expanded to be larger and larger, its accurate mathematical model may be difficult to be built. Therefore, it is desirable to develop a control method that is less dependent on the model accuracy.
In the field of control theory, several control methods for systems with exogenous disturbances and/or model uncertainties have been explored extensively. In , a new model transformation of discrete-time fuzzy systems with time-varying delays is analyzed and applied to dynamic output feedback controller design. In , a dissipativity based sliding mode control (SMC) is proposed for continuous-time switched stochastic systems with an external disturbance/uncertainty. In , a sliding mode control (SMC) is proposed for Markovian jump singular time-delay systems. In , a stable robust model predictive controller with hard input constraints is designed for a multivariable system whose model is inaccurate. In , a fuzzy sliding model control method is presented for a class of nonlinear systems with structured and unstructured uncertainties. Although the robust performance to disturbances can be achieved with these control methods, the nominal model or system structure is still required for the controller design.
More recently, several data-driven control methods, which focus on designing controller merely using measured input and output data of a plant, are found in the data-driven control field, such as PID control , model-free adaptive control [12–14], iterative learning control [15–19], unfalsified control , virtual reference feedback tuning [21–24], and iterative feedback tuning [25–27]. Note that ALINEA—a simple, efficient, and easily implemented ramp metering strategy—is a typical PI-type feedback regulator based on mainstream measurements of occupancy downstream of the ramp [28, 29]. Apparently, it is also a data-driven control strategy in nature without including any modeling information of the freeway system, but only depending on the input and output measurements. However, it is worth pointing out that successful implementation of ALINEA depends on four parameters : the update cycle and the feedback gain of ALINEA controller, the feedback gain, the location, and the predefined optimal occupancy of freeway downstream of the merge. In fact, it is difficult to select an optimal feedback gain by trial-and-error method for a practical freeway traffic system if there is not enough prior knowledge of the controlled system.
In , an iterative feedback tuning (IFT) method is proposed to optimize the parameter of the ALINEA controller. The parameter of ALINEA controller is tuned iteratively only by using the input and output (I/O) data without any information of the plant model. However, IFT requires many experiments on the plant for data collection and suffers from local minima problems if it is not suitably initialized . In contrast, VRFT [21–24] is a “one-shot” data-driven controller tuning method: one collects a batch of data from the plant and the procedure returns a controller, without requiring iterations and/or further accesses to the plant for experiments. VRFT formulates the controller tuning problem as a controller parameter identification problem by introducing virtual reference signal. VRFT is suitable for many practical applications since the minimization is conducted in one shot.
In this paper, VRFT method is applied to optimize the parameter of the ALINEA controller in the presence of the modeling uncertainties and exogenous disturbances, as an alternative to the difficult task of fine-tuning ALINEA in real-world testing. The ALINEA’s parameter is tuned directly by using the measured input and output (I/O) data without any prior knowledge of the freeway traffic system. The effectiveness of the proposed data-driven controller tuning method is verified by simulations built on macroscopic MALAB and microscopic PARAMICS platforms.
The paper is organized as follows. Section 2 is the problem formulation, where a discretized macroscopic traffic mode is introduced. Section 3 describes VRFT approach for ALINEA. Simulation results with MATLAB and PARAMICS platforms are provided in Section 4. Finally, Section 5 concludes this paper.
2. Problem Formulation
2.1. Macroscopic Traffic Model
The space and time discretized traffic flow model used in this section was proposed by Papageorgiou in 1989. It divides a freeway into several segments, and each segment contains one on-ramp and one off-ramp only, as shown in Figure 1.
The mathematical formulation of discretized traffic flow model is given as follows: where is the sample time interval in hour. is the th time interval, is the th section of a freeway, and is the total section number. Model variables are listed as follows: : density in section at time (veh/lane/km); : space mean speed in section at time (km/h); : traffic flow leaving section and entering section at time (veh/h); : on-ramp traffic volume for section at time (veh/h); : off-ramp traffic volume for section at time (veh/h), which is regarded as an unknown disturbance; : length of freeway in section (km); (km/h) and (veh/lane/km): the free speed and the maximum possible density per lane, respectively. They are two important parameters in traffic flow model, since their accuracy affects the accuracy of traffic flow model; , , , , and : constant parameters which reflect particular characteristics of a given traffic system and depend upon the freeway geometry, vehicle characteristics, drivers’ behaviors, and so forth.
Equations (1)–(4) constitute the macroscopic traffic model. Equation (1) is the well-known conservation equation, (2) is the flow equation, (3) is the empirical dynamic speed equation, and (4) represents the density-dependent equilibrium speed.
2.2. Boundary Conditions
We assume that the traffic flow rate entering section 1 during the time period and is and the mean speed of the traffic entering section 1 is equal to the mean speed of section 1; that is, . We also assume that the mean speed and traffic density of the traffic exiting section are equal to those of section ; that is, , . Boundary conditions can be summarized as follows:
2.3. Control Objective
For the traffic system, the control objective is to seek an appropriate on-ramp traffic volume such that the traffic density tracks the desired traffic density . It is worth to point out that the off-ramp traffic volume is an uncontrollable variable and is regarded as exogenous disturbance here. Obviously, even though the freeway model is known, it is difficult to design a proper control law using the traditional model-based control approaches such as optimal control and adaptive control because of the strong nonlinearity and uncertainties in the freeway traffic flow model.
For the simplicity of formulation, the section index is omitted in the following equations.
3. Virtual Reference Feedback Tuning for ALINEA Controller
3.1. ALINEA Controller
Reactive ramp metering strategies are employed at a tactical level, that is, in the aim of keeping the freeway traffic conditions close to prespecified set values, based on real-time measurements. The occupancy strategy is based on the same philosophy as the demand-capacity strategy, but it relies on occupancy-based estimation of the freeway flow measurement upstream of the ramp, which may, under certain conditions, reduce the corresponding implementation cost. Since the concept of occupancy and traffic density is similar and has a linear proportion between them, in this paper, we use the traffic density instead of the occupancy to design the ALINEA controller as follows : where is the desired traffic density and is the feedback gain of ALINEA controller.
3.2. VRFT Approach
Consider the freeway traffic system. As shown in Figure 2, it is a classical one-degree-of-freedom control system, where is the freeway traffic system and is the ALINEA controller. , , , , and are the reference traffic density, the traffic density, the ramp metering volume, disturbance, and the difference between and , respectively. The closed-loop freeway traffic system is described as where is the one-step ahead shift operator and is the controller parameter.
The transfer function of the closed-loop system can be rewritten as
For an unknown freeway traffic system , the control objective is to find an optimal controller parameter by using a batch of the measured input/output data so that the freeway traffic system behavior approximates as much as possible to that of a given invertible reference model , where is the one-step ahead shift operator [21–24]. This can be achieved by minimizing the following model-reference criterion: where is a weighting function.
It is difficult to calculate the derivative of the criterion (9) with respect to controller parameter if the freeway traffic system is unknown. To address this issue, one can introduce a virtual reference density signal such that where does not exist in reality and was not used in the generation of .
Since is a given invertible reference model, (10) is rewritten as where is the inversion of .
Equation (10) implies that is the desired density of the freeway system if the reference density signal is set as and the corresponding virtual tracking error is . On the other hand, even though the freeway system is unknown, when the freeway traffic system is fed by (the actually measured ramp metering volume), it generates (the corresponding measured output signal). Thus, if the reference signal is set to be the virtual reference density signal and the corresponding virtual tracking error is , a good controller must generate the ramp metering signal . Since both the signals and are available, the control objective (9) can be transformed into the following standard identification problem: where is a suitable filter.
Remark 1. For a practical control problem, the “ideal controller” is usually a complex nonlinear system and it does not belong to the given controller class. In , the filter is introduced to deal with this problem. Minimizing with the filter will generate a “nearly minimizer” of . It is proved that minimizing is equivalent to minimizing the second-order expansion of in a constrained sense.
The procedure of VRFT for ALINEA controller is summarized as follows:(1)collect a batch of input/output data collected from the plant, expressed as , where denotes the number of the input/output data pairs;(2)calculate the virtual reference density signal for a given invertible and the measured density signal according to (11);(3)calculate the virtual error signal according to the following equation: (4)filter the signals and with a suitable filter , obtaining and ;(5)estimate the controller parameter where
Remark 2. As suggested in , the filter can be designed as follows: where is linear and time varying and it can be estimated, for example, via forgetting factor identification techniques.
4. Illustrative Examples
MATLAB and PARAMICS are widely used in the area of traffic management and academic research for evaluation and validation. In this section, in order to evaluate the proposed VRFT-tuned ALINEA, two simulations are carried out on MATLAB and PARAMICS platforms, respectively, where the macroscopic traffic flow model (1)–(4) is simulated on MATLAB platform, and the microscopic traffic flow model is simulated on PARAMICS platform. Both simulations show the effectiveness of the proposed VRFT-tuned ALINEA.
4.1. Performance Evaluation with MATLAB Platform
4.1.1. Network Configuration
Consider a long segment of freeway that is divided uniformly into 12 sections. The length of each section is 0.5 km. The initial traffic volume entering section 1 is veh/h. The desired density is veh/lane/km. The initial density and mean speed of each section are shown in Table 1 and the parameters used in the macroscopic traffic model are also listed in Table 1.
There exist an on-ramp with known traffic demands in section 3 and an off-ramp with unknown exiting traffic flow in section 8. The traffic demand pattern (on-ramp) and the outflow pattern (off-ramp) are shown in Figure 3. They were chosen to simulate a traffic scenario during rush hour. Note that the queuing demands actually impose a constraint on the control inputs of ramp metering; that is, the on-ramp volumes cannot exceed the current demands plus the existing waiting queues at on-ramp 3 at time ; thus where denotes the length (in vehicles) of a possibly existing waiting queue at time at 3rd on-ramp and is the demand flow at time at 3rd on-ramp (veh/h).
On the other hand, the waiting queue is the accumulation of the difference between the demand and actual on-ramp; that is,
4.1.2. Simulation and Results
Using the VRFT method presented in Section 3, the ALINEA controller can be straightforwardly designed using the I/O data measured on the freeway traffic system. Specifically, the control input signal used for open-loop excitation is a pseudorandom binary sequence signal sampled at 15 seconds. The length of the data vector is 256 (corresponding to 1.068 hour of data acquisition). The I/O signals measured on the system are displayed in Figure 4. According to the characteristics of the measured input signal, the filter for VRFT method is simply set to be .
The VRFT toolbox for MATLAB 6 Release 13  is used to tune the controller parameter . For a given first-order reference model , a filter , a weighting function , and a batch of measured input and output data, VRFT toolbox gives the optimal feedback gain .
The control performance of ALINEA controller with feedback gain is quite well despite the unknown disturbance in off-ramp 8, as shown in Figure 5, where Figure 5(a) shows the density profile in section 3 and Figure 5(b) shows the entering flow in on-ramp 3. The simulation results illustrate that a proper ALINEA’s parameter is obtained by using the VRFT method presented in this paper.
(a) Traffic density in section 3
(b) Traffic demand and entering flow in on-ramp 3
4.2. Performance Evaluation in PARAMICS Platform
Existing microscopic traffic simulation platforms have distinguished features, and the fundamental model is commonly the car following model, which makes simulations very similar to each other. In this paper, we adopt PARAMICS simulation platform, which is widely used in the area of traffic management and academic research for evaluation and validation.
4.2.1. Freeway Network
A single lane freeway link with 14 mainline sections, 1 on-ramp, and 1 off-ramp is considered. The on-ramp used to implement metering or flow control is connected to section 3 at the beginning and the off-ramp is connected to section 8 at the end. As shown in Figure 6, vehicles enter into the network from two defined zones, Zone 1 and Zone 2, at the beginning of the freeway mainline and on-ramp section, respectively, and will have their destinations to be either Zone 3 or Zone 4, defined at the end of off-ramp and the mainline.
In Table 2, Zone 1 and Zone 2 are used for origins to release vehicles into the network, and meanwhile Zone 3 and Zone 4 are used as destination for these vehicles. In the table, the number specified is the total number of vehicles expected to make a trip starting from the zone corresponding to the row to the zone corresponding to the column. The release rate in PARAMICS of traffic flow is specified in profile files. The duration time is divided uniformly into time intervals and a specified percentage of vehicles from the total demand are expected to be released from each origin zone during each time interval; additionally the release probability is subject to random process. In this paper the time interval length is set to be 3 minutes which divides the simulation duration of 1 hour into 20 intervals.
4.2.2. Network Configuration
The key parameters for traffic model and simulation are provided in Table 3. In Table 3, duration is the length of the simulation; time step is the number of discrete simulation intervals that are simulated per second; demand factor specifies the dynamic demand for the current simulation ranging from 0 to 200% of the current global demand; orientation specifies the side of the carriageway that vehicles travel upon (right-/left-hand drive); units specify the unit convention for display in PARAMICS (USA/UK/Metric); control time step specifies the length of time interval for updating of control signal. The rest of parameters are commonly used parameters in the field of control; therefore further explanations are omitted.
4.2.3. Simulation and Results
As for a realistic implementation in the PARAMICS microscopic simulation platform where metered vehicles can only be integer numbers, so a revised ALINEA law of (6) is given as follows: where the desired density is set to be 30 veh/lane/km.
The control input signal used for open-loop excitation is a pseudorandom binary sequence signal sampled at 30 sec. The length of the data vector is 100 (corresponding to 50 min of data acquisition). The I/O signals measured on the system are displayed in Figure 7. According to the characteristics of the measured input signal, the filter for VRFT method is set to be . For a given first-order reference model , a weighting function , and a batch of measured input and output data, VRFT toolbox gives the optimal feedback gain . The simulation result is shown in Figure 8. It is clear that the density tracking performance using the VRFT-tuned ALINEA is satisfactory.
To further evaluate the controller’s performance, we define average absolute difference between density and desired density as the performance index: where and are the beginning and ending time instances that decide the traffic period for evaluation. The final performance index is .
In this paper, a “one-shot” data-driven controller tuning method, VRFT, is applied to tune the parameters in ALINEA controller. It can easily find an optimal feedback gain. The main feature of VRFT is that the method aims at minimizing a cost function by using a batch of input and output data collected from the controlled plant. ALINEA controller tuned by using VRFT method is evaluated on macroscopic MATLAB and microscopic PARAMICS platforms, respectively. The simulation results show the effectiveness of the data-driven tuning approach. It is noted that the parameters, such as the vehicle characteristics, drivers’ behaviors, are time varying naturally in the practical traffic network. Therefore, the extension of the VRFT method to time-varying freeway systems will be explored in our future work. Other effective control methods [6–10] to deal with large model uncertainties and exogenous disturbances will also be explored further with applications in freeway traffic systems.
Conflict of Interests
The authors declare that there is no conflict of interests regarding the publication of this paper.
This work is supported by National Natural Science Foundation of China (61120106009, 61374102) and the Fundamental Research Funds for the Central Universities (2014JBM005).
- M. Papageorgiou and A. Kotsialos, “Freeway ramp metering: an overview,” IEEE Transactions on Intelligent Transportation Systems, vol. 3, no. 4, pp. 271–281, 2002.
- P. Varaiya, “Reducing highway congestion: an empirical approach,” European Journal of Control, vol. 11, no. 4-5, pp. 301–309, 2005.
- A. Kotsialos, M. Papageorgiou, M. Mangeas, and H. Haj-Salem, “Coordinated and integrated control of motorway networks via non-linear optimal control,” Transportation Research C, vol. 10, no. 1, pp. 65–84, 2002.
- T. H. Chang and Z. Y. Li, “Optimization of mainline traffic via an adaptive co-ordinated ramp-metering control model with dynamic OD estimation,” Transportation Research C, vol. 10, no. 2, pp. 99–120, 2002.
- H. B. Ji, “Freeway traffic systems: prediction and control,” in Proceedings of the IEEE 46th Vehicular Technology Conference on Mobile Technology for the Human Race, vol. 3, pp. 1815–1819, Atlanta, Ga, USA, April-May 1996.
- X. J. Su, P. Shi, L. G. Wu, and Y. D. Song, “A novel control design on discrete-time takagi-sugeno fuzzy systems with time-varying delays,” IEEE Transactions on Fuzzy Systems, vol. 21, no. 4, pp. 655–671, 2013.
- L. G. Wu, W. X. Zheng, and H. J. Gao, “Dissipativity-based sliding mode control of switched stochastic systems,” IEEE Transactions on Automatic Control, vol. 58, no. 3, pp. 785–791, 2013.
- L. G. Wu, X. J. Su, and P. Shi, “Sliding mode control with bounded gain performance of Markovian jump singular time-delay systems,” Automatica, vol. 48, no. 8, pp. 1929–1933, 2012.
- V. Vesely and J. Osusky, “Robust multivariable generalized predictive control design,” International Journal of Innovative Computing, Information and Control, vol. 9, no. 8, pp. 3377–3390, 2013.
- M. R. Soltanpour, B. Zolfaghari, M. Soltani, and M. H. Khooban, “Fuzzy sliding mode control design for a class of nonlinear systems with structured and unstructured uncertainties,” International Journal of Innovative Computing, Information and Control, vol. 9, no. 7, pp. 2713–2726, 2013.
- G. J. Silva, A. Datta, and S. P. Bhattacharyya, “New results on the synthesis of PID controllers,” IEEE Transactions on Automatic Control, vol. 47, no. 2, pp. 241–252, 2002.
- Z. S. Hou, Nonparametric Models and Its Adaptive Control Theory, Science Press, Beijing, China, 1999.
- Z. S. Hou and S. T. Jin, “A novel data-driven control approach for a class of discrete-time nonlinear systems,” IEEE Transactions on Control Systems Technology, vol. 19, no. 6, pp. 1549–1558, 2011.
- Z. S. Hou and S. T. Jin, “Data-driven model-free adaptive control for a class of MIMO nonlinear discrete-time systems,” IEEE Transactions on Neural Networks, vol. 22, no. 12, pp. 2173–2188, 2011.
- S. Arimoto, S. Kawamura, and F. Miyazaki, “Bettering operation of robots by learning,” Journal of Robotic Systems, vol. 1, no. 2, pp. 123–140, 1984.
- H. S. Ahn, Y. Q. Chen, and K. L. Moore, “Iterative learning control: brief survey and categorization,” IEEE Transactions on Systems, Man and Cybernetics C, vol. 37, no. 6, pp. 1099–1121, 2007.
- J. X. Xu, “A survey on iterative learning control for nonlinear systems,” International Journal of Control, vol. 84, no. 7, pp. 1275–1294, 2011.
- Z. S. Hou, J. X. Xu, and J. W. Yan, “An iterative learning approach for density control of freeway traffic flow via ramp metering,” Transportation Research C, vol. 16, no. 1, pp. 71–97, 2008.
- Z. S. Hou, J. X. Xu, and H. W. Zhong, “Freeway traffic control using iterative learning control-based ramp metering and speed signaling,” IEEE Transactions on Vehicular Technology, vol. 56, no. 2, pp. 466–477, 2007.
- M. G. Safonov and T. C. Tsao, “The unfalsified control concept: a direct path from experiment to controller,” in Feedback Control, Nonlinear Systems, and Complexity, vol. 202 of Lecture Notes in Control and Information Sciences, pp. 196–214, Springer, London, UK, 1995.
- S. M. Savaresi and G. O. Guardabassi, “Approximate I/O feedback linearization of discrete-time non-linear systems via virtual input direct design,” Automatica, vol. 34, no. 6, pp. 715–722, 1998.
- M. C. Campi, A. Lecchini, and S. M. Savaresi, “Virtual reference feedback tuning (VRFT): a new direct approach to the design of feedback controllers,” in Proceedings of the 39th IEEE Confernce on Decision and Control, pp. 623–629, Sydney, Australia, December 2000.
- M. C. Campi, A. Lecchini, and S. M. Savaresi, “Virtual reference feedback tuning: a direct method for the design of feedback controllers,” Automatica, vol. 38, no. 8, pp. 1337–1346, 2002.
- M. C. Campi and S. M. Savaresi, “Direct nonlinear control desaign: the virtual reference feedback tuning (VRFT) approach,” IEEE Transactions on Automatic Control, vol. 51, no. 1, pp. 14–27, 2006.
- H. Hjalmarsson, M. Gevers, S. Gunnarsson, and O. Lequin, “Iterative feedback tuning: theory and applications,” IEEE Control Systems Magazine, vol. 18, no. 4, pp. 26–41, 1998.
- H. Hjalmarsson, “Iterative feedback tuning—an overview,” International Journal of Adaptive Control and Signal Processing, vol. 16, no. 5, pp. 373–395, 2002.
- H. Hjalmarsson, “From experiment design to closed-loop control,” Automatica, vol. 41, no. 3, pp. 393–438, 2005.
- M. Papageorgiou, H. Hadj-Salem, and J. M. Blosseville, “ALINEA: a local feedback control law for on-ramp metering,” Transportation Research Record, no. 1320, pp. 58–64, 1991.
- M. Papageorgiou, H. Hadj-Salem, and F. Middelham, “ALINEA local ramp metering: summary of field results,” Transportation Research Record, no. 1603, pp. 90–98, 1997.
- R. H. Chi, Z. S. Hou, S. T. Jin, and D. W. Wang, “A data-driven iterative feedback tuning approach of ALINEA for freeway traffic ramp metering with PARAMICS simulations,” IEEE Transactions on Industrial Informatics, vol. 9, no. 4, pp. 2310–2317, 2013.
Copyright © 2014 Shangtai Jin 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.