Next Article in Journal
On the Accurate Numerical Analysis of the Propagation Through Dielectric Frequency-Selective Surfaces Using a Vectorial Modal Method
Next Article in Special Issue
A Distributed Edge-Based Scheduling Technique with Low-Latency and High-Bandwidth for Existing Driver Profiling Algorithms
Previous Article in Journal
An Efficient Management Platform for Developing Smart Cities: Solution for Real-Time and Future Crowd Detection
Previous Article in Special Issue
Intelligent Data Fusion and Multi-Agent Coordination for Target Allocation
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Performance Analysis of Deep Neural Network Controller for Autonomous Driving Learning from a Nonlinear Model Predictive Control Method

Graduate School of Automotive Engineering, Kookmin University, Seoul 02707, Korea
*
Author to whom correspondence should be addressed.
Electronics 2021, 10(7), 767; https://doi.org/10.3390/electronics10070767
Submission received: 10 February 2021 / Revised: 11 March 2021 / Accepted: 18 March 2021 / Published: 24 March 2021
(This article belongs to the Special Issue Real-Time Control of Embedded Systems)

Abstract

:
Nonlinear model predictive control (NMPC) is based on a numerical optimization method considering the target system dynamics as constraints. This optimization process requires large amount of computation power and the computation time is often unpredictable which may cause the control update rate to overrun. Therefore, the performance must be carefully balanced against the computational time. To solve the computation problem, we propose a data-based control technique based on a deep neural network (DNN). The DNN is trained with closed-loop driving data of an NMPC. The proposed "DNN control technique based on NMPC driving data" achieves control characteristics comparable to those of a well-tuned NMPC within a reasonable computation period, which is verified with an experimental scaled-car platform and realistic numerical simulations.

1. Introduction

Artificial intelligence technology has made great progress owing to the high-performance data processing devices and use of parallel processers with GPU programming. In addition, artificial intelligence technology has been widely used in the field of autonomous driving; in particular, it has helped solve challenging problems that are difficult to solve with the existing rule-based algorithms.
A level three or higher autonomous driving system based on the autonomous driving standards of the Society of Automated Engineers must handle various driving situations. Many researchers have studied control methods based on Deep neural network (DNN) to develop higher level autonomous driving systems that approach human driving characteristics. Therefore, data-based approaches have become the focus of control methods and have been investigated by many researchers. In particular, inverse reinforcement learning is used to solve the trajectory planning problem of autonomous vehicles [1]. Moreover, a cooperative steering control method was developed with driving data of human drivers for semi-autonomous vehicles [2]. In [3], a supervised learning technique was applied for policy learning for model predictive control (MPC) to solve the integrated chassis control problem; in addition, many researchers have applied neural networks to develop data-driven control methods suitable for diverse environments and model changes [4,5,6].
In this study, a data-driven control method is developed with closed-loop data of the nonlinear model predictive control (NMPC) method as the reference data. The numerical optimization process in the NMPC method optimizes the current driving states, and predicts the future states over the receding horizon steps. The future vehicle states are computed with the vehicle dynamics equation, and the best control inputs within the acceptable control inputs and state limits are determined.
However, the optimization process that derives the best results cannot usually sustain a stable computation time (see Figure 1). Moreover, the performance of a state prediction process based on the vehicle model may be degraded by uncertainty in the model. Researchers are trying to improve the performance of the NMPC method with driving data. In particular, a computationally efficient approach for learning from a model predictive controller was proposed in [7], and a data-driven MPC method for unknown environments was proposed in [8]. Finally, many researchers have applied data-driven approaches to improve the performance of the MPC method [9,10,11,12,13,14,15,16,17].
In this study, we generated closed-loop data with the MPC technique. The proposed deep neural network (DNN)-based controller learns the autonomy implemented in the control algorithm. The lighter neural network computation replaces the sophisticated numerical optimization process. Subsequently, the performance of the developed controller was verified with numerical simulations and an experimental platform. We developed a test environment with a 1:43 scale remotely controlled autonomous vehicle and evaluated the real-time performance of the developed control algorithm.
The nonlinear model predictive controller is presented in Section 2; Section 3 presents the development of the DNN to be trained with data generated from the reference NMPC method in Section 3. In Section 4, the simulation results of the developed controller are presented, and the performance characteristics of the NMPC method and trained ANN are compared. In Section 5, the real-time control performance of the developed DNN controller is verified in test scenarios of scaled-car experiments.

2. Design of Nonlinear Model Predictive Controller

2.1. Nonlinear Model Predictive Control (NMPC)

The presented NMPC technique was developed to train DNN. The controller predicts the vehicle states within a pre-specified prediction interval (N steps) and the best control input for a certain route through numerical optimization (Figure 2).
The optimization process considers the dynamic characteristics of the vehicle under the specified constraints. Therefore, its control inputs are better optimized to the vehicle characteristics than those of other path tracking algorithms [18,19]; in addition, the risk of slipping, rollover, and control failure in following the path is reduced. These problems arise owing to an excessive control input during obstacle avoidance or a sudden turn.

2.2. Vehicle Maneuver Predictive Model

The vehicle prediction model of the NMPC method uses a four-state kinematic model constructed in the global coordinate system (x,y). The states ξ ,   η ,   θ   and   v are defined in Figure 3:
X = ξ , η , θ , v .
The control inputs u are the acceleration input a c m d and steering input δ c m d :
u = a c m d , δ c m d .
The kinematic model is composed of vehicle states; its controller inputs are as follows:
ξ k + 1 = v k cos θ k , η k + 1 = v k sin θ k , θ k + 1 = v k L tan θ k , v k + 1 = v k + Δ T a c m d sin θ F y f m ,
where L, ΔT, and m denote the vehicle length, control period, and vehicle mass, respectively. Moreover, F y f is the decelerating lateral force acting on the front wheel when the vehicle is turning. This term reduces the longitudinal velocity by sin θ F y f m .

2.3. Optimization Process of NMPC Method

To design the model prediction control technique, the cost function must be configured. Our cost function computes the state error ( X e ) between the target reference points X r and predicted vehicle states:
X r = ξ r , η r , θ r , v r ,
X e = X X r , = ξ ξ r , η η r , θ θ r , v v r , = [ e 1 , e 2 , e 3 , , e N ] .
N = Number of receding horizons of the NMPC (30 steps)
The cost function J of the NMPC method is defined based on the error vector (Equation (5)) and the matrix of weights of each term:
J = 1 2 e N T P e N + 1 2 k = 0 N 1 ( e k T Q e k + u k T R u k ) .
where P, Q and R are weight matrices, and N represents the number of receding horizon steps. The designed cost function is minimized with a numerical optimization method based on the conjugate descent approach.

3. Deep Neural Network (DNN) Controller

3.1. Design of Deep Neural Network (DNN)

In this study, the control strategy of the NMPC method is learned with Artificial Neural Network (ANN) techniques. This technique includes one input layer, one or more hidden layers, and one output layer. Because the data propagate from the input to the output layers, our strategy is called “a feed-forward neural network”.
The feed-forward structure is commonly adopted in ANNs, there are two types: shallow neural networks with one hidden layer and deep neural networks (DNNs) with multiple hidden layers.
In this study, a DNN with five hidden layers (each with 20 artificial neurons) is used to stabilize the control inputs of the various input data (see Figure 4).
The designed network accepts 120 inputs and generates 60 outputs (see Table 1). These data are defined in Section 3.2.

3.2. Design of Input and Output Data of Deep Neural Network

To train the DNN controller with control performance characteristics similar to those of the NMPC method, the reference path point X r used in the NMPC method is used as the input datum. However, because the DNN control method cannot predict the behavior of the control vehicle, only the current vehicle state ( X c ) without the predicted state is used. The input data I of the DNN control system are defined in Equations (7)–(9):
I n = x n I , y n I , θ n I , v n I ,   ( n = 1 ,   2 ,   3 ,   ,   N ) ,
with
x n I = ξ n r ξ c cos θ c + η n r η n sin θ c , y n I = ξ n r ξ c sin θ c + η n r η n cos θ c , θ n I = θ n r θ c , v n I = v n r v c ,
I = I 1 ,   I 2 ,   I 3 , , I N .
The vehicle state ( X ) is illustrated in Figure 5.
The target data of the DNN training are the input data of the NMPC command data with a prediction step size of N. They are defined as follows:
T n = a n c m d , δ n c m d ,   ( n = 1 ,   2 ,   3 ,   ,   N ) ,
T = T 1 , T 2 , T 3 , , T N .

4. Simulation Test

The performance of the developed ANN-based controller was evaluated in realistic simulation tests.

4.1. Obtaining Training Dataset

The simulations were performed in a 1:43-scale vehicle model on an experimental platform. The simulation environment is presented in Table 2. The control period was 20 ms, the NMPC prediction size was N = 30 steps, and the target reference velocity was 0.6 m/s. The reference path included four 90° corners and two “U” bends, as shown in Figure 6.
To generate diverse training data, the position and direction of the initial vehicle were randomly determined with a uniform distribution. After approximately 13 min of simulation, a rich-diversity 39,000 training dataset was obtained. The driving trajectory of the simulation for data acquisition is shown in Figure 7.

4.2. Simulation Scenarios

The performance of the DNN control technique was verified in three simulation scenarios.
The driving path in the first scenario was used to generate the training data in Figure 7. The similarity between the trajectories of the trained DNN controller and the NMPC method will be presented.
The second and third scenarios were designed to check whether the DNN controller can drive along routes different from that during data acquisition. Figure 8 shows the target reference paths in the second and third scenarios.

4.3. Simulation Results

4.3.1. Results of Scenario 1

The simulation results of scenario 1 are shown in Figure 9. The trajectory of the vehicle controlled by the DNN controller was very similar to that of the NMPC method. The NMPC method is advantageous because the optimal control input follows the target trajectory by predicting the future trajectories. Therefore, the vehicle can smoothly follow the desired path around the sharp corner by changing the driving direction before entering the corner.
These driving features of the NMPC method are inherited by the DNN controller, thereby enabling smooth driving around a corner.
Panels (b) and (c) of Figure 9 present the acceleration and steering-angle control inputs computed by the NMPC and DNN controllers. Overall, the commands generated by the DNN were very similar to those of the NMPC method, in particular, those of the steering input. In addition, the steering-angle error between the two controllers was 0.005 radian (0.28°) on average.
Unlike the steering angle, the acceleration input presented relatively large errors in sections with great acceleration changes. In section ①, the acceleration error reached 0.0358 m/s2 at the greatest deceleration, when the speed needed to be reduced before turning around the corner. Panel (d) of Figure 9 shows the differences in the vehicle velocities of two controllers. The velocities differed by 0.0132   m / s in section ④ immediately after the U-turn; however, the differences across the entire course were very small (0.0064 m/s on average).

4.3.2. Results of Scenario 2

In the second scenario, the vehicle drove along a path with eight consecutive right-angled turns. In this scenario, the DNN controller was trained with driving data obtained from scenario 1. The second simulation assessed whether the DNN controller can robustly handle general driving scenarios and whether the controller requires individual training for all possible driving situations.
Figure 10 shows the control inputs generated with the NMPC method by the DNN controller in the second scenario. As observed in scenario 1, the accelerations and steering inputs of the DNN controller were very similar to those of the NMPC method. The acceleration inputs showed larger differences at the sharp turnaround point than in scenario 1, because the DNN controller was not trained along the same path. Although the control performance was slightly degraded, the tracking performance of the DNN controller remained similar to that of the NMPC method in this scenario.

4.3.3. Results of Scenario 3

In scenario 3, the vehicle drove around corners with curvatures not included in the training data. The error in the accelerated input at the corner was slightly increased with respect to those of the previous scenarios. The steering control inputs were similar to those of scenario 1; however, the maximal and average errors were 0.0561 radian (3.22°) and 0.010 radian (0.63°), respectively. Moreover, the average error was 2.2 times that of scenario 1. The error was particularly large in sections ② and ③, in which the curvatures of the corners differed from those in the training dataset.
The simulation test results are shown in Figure 11. Such as in the other cases, the differences between the control inputs are due to the lack of training data; nevertheless, the DNN controller guided the vehicle along the path without significant errors.

5. Scaled-Car Test

5.1. Test Environment

The developed control algorithm is difficult to validate with real experimental vehicles for cost and safety reasons. Instead, we developed a 1:43-scale car as an experimental platform.
The test environment is shown in Figure 12. The vehicle posture ξ , η , θ was obtained by processing the images obtained with an infrared camera at the top of the test track. The NMPC and DNN controllers were implemented on a real-time computing platform, thereby enabling vehicle control with wireless controllers.
The data acquisition scenario in the scaled-car test is shown in Figure 13. The NMPC control period, number of receding horizon steps, and target velocity were 20 ms, 30, and 1.0 m/s, respectively. The data were acquired along the path in simulation scenario 1.

5.2. Results of Scaled-Car Test

5.2.1. Trajectory Result

The driving trajectories of the DNN controller and the NMPC were very similar in the scaled-car environment test (see Figure 14).

5.2.2. Control Input Analysis

The acceleration and steering control distributions in each driving interval of the scaled-car test environment were analyzed, and the similarity between the DNN controller and NMPC command inputs was analyzed.
Table 3 shows the maximal and minimal acceleration control inputs of both controllers for sections ① to ⑤ of the driving trajectory shown in Figure 13. The scale car made several laps of the entire track and the highest and lowest commands are listed in the Table 3. Figure 15 presents the values in Table 3 to show the similarity between the NMPC and DNN controllers. Although the acceleration inputs were not exactly identical, the acceleration commands showed similar patterns along the section; in addition, the overall acceleration control inputs of the DNN controller were slightly higher than those of the NMPC.
Table 4 shows the maximal and minimal steering control inputs in sections ① to ⑤ of the driving trajectory. Figure 16 shows the values presented in Table 4. Moreover, Figure 16, shows that the steering control inputs calculated by the NMPC and DNN controllers along the sections were similar; thus, the DNN controller was well trained and exhibited performance characteristics similar to those of the NMPC method.
Figure 17 presents the acceleration input versus the steering input according to the driving sections. The graphs of the NMPC and DNN controllers showed similar patterns that followed the corner sequence; this confirms that the control strategy of the NMPC is inherited by the DNN controller through learning.

5.2.3. Comparison of Computation Times

One of the main goal of this study was to reduce the uncertainty in the computation time of the NMPC method. Consequently, we replaced the NMPC method with the DNN-based control method. The computation times of the two controllers were analyzed in the scaled-car environment; the results are shown in Figure 18.
The computation time of the NMPC method was typically approximately 7 ms, which increased to more than 40 ms in sections ①, ②, and ③, when the vehicle entered the corner section at a high speed. The NMPC method required more computation time when encountering a sudden change in its desired path. By contrast, the computation time of the DNN control method varied only by 0.07–0.08 ms with no significant changes along the path.
These results confirm that the computation time of the DNN-based method is shorter and more stable than of the NMPC method.

6. Conclusions

We developed a data-driven control method based on ANNs, which aims to improve the real-time performance of the NMPC method. Therefore, we acquired driving data of the NMPC, trained the DNN on the NMPC data, and conducted driving tests in a simulation environment. The autonomous driving results of the well-trained DNN controller approximately match those of the NMPC.
To evaluate the real-time performance of the developed controller, we performed a scaled-car test and simulated a real-world autonomous driving control environment. On the autonomous driving test platform, the control performance characteristic were similar to those of NMPC method, and the computation time was dramatically improved. In particular, the data-based DNN controller stabilized the computation time, which is unstable in the NMPC method. The results demonstrate the applicability of the DNN controller to real-time platforms.
The developed control method can help implement an autonomous driving control method which, learns the existing rule-based control algorithm and human driving strategy.

Author Contributions

Conceptualization, T.L. and Y.K.; methodology, T.L. and Y.K.; validation, T.L.; formal analysis, T.L.; writing—original draft preparation, T.L. and Y.K.; writing—review and editing, T.L. and Y.K.; supervision, Y.K.; project administration, Y.K.; funding acquisition, Y.K. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by the Basic Science Research Program through the National Research Foundation of Korea funded by the Ministry of Education, Science and Technology NRF2018R1A2B6001888), and This research was supported by Basic Science Research Program through the National Research Foundation of Korea (NRF) funded by the Ministry of Education (5199990814084), and the Competency Development Program for Industry Specialists of Korean Ministry of Trade, Industry and Energy (MOTIE), operated by Korea Institute for Advancement of Technology (KIAT). (No. N0002428, HRD program for Future Car), partly.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Liu, Y.; Liu, Y.; Ji, X.; Sun, L.; Tomizuka, M.; He, X. Learning from Demonstration: Situation-Adaptive Lane Change Trajectory Planning for Automated Highway Driving. In Proceedings of the 2020 IEEE International Conference on Mechatronics and Automation, Beijing, China, 13–16 October 2020; pp. 376–382. [Google Scholar]
  2. Huang, M.; Gao, W.; Wang, Y.; Jiang, Z. Data-Driven Shared Steering Control of Semi-Autonomous Vehicles. IEEE Trans. Hum. Mach. Syst. 2019, 49, 350–361. [Google Scholar] [CrossRef]
  3. Jhang, X.; Bujarbaruah, M.; Borrelli, F. Safe and Near-Optimal Policy Learning for Model Predictive Control using Primal-Dual Neural Networks. In Proceedings of the IEEE American Control Conference, Philadelphia, PA, USA, 9–12 July 2019; pp. 354–359. [Google Scholar]
  4. Zribi, A.; Chtourou, M.; Djemel, M. A New PID Neural Network Controller Design for Nonlinear Processes. J. Circuits Syst. Comput. 2018, 27, 231–246. [Google Scholar] [CrossRef] [Green Version]
  5. Yaadav, A.; Gaur, P. AI-based adaptive control and design of autopilot system for nonlinear UAV. Proc. Indian Acad. Sci. 2014, 39, 765–783. [Google Scholar] [CrossRef] [Green Version]
  6. Chertovskikh, P.; Seredkin, A.; Godyzov, O.; Styuf, A.; Pashkevich, M.; Tokarev, M. An Adaptive PID Controller with an Online Auto-tuning by a Pretrained Neural Network. In Journal of Physics: Conference Series, Yalta, Crimea, September 2019; IOP Publishing: Bristol, UK, 2019; pp. 15–22. [Google Scholar]
  7. Rosolia, U.; Borrelli, F. Learning Model Predictive Control for Iterative Tasks: A Computationally Efficient Approach for Linear System. IFAC-PapersOnLine 2017, 50, 3142–3147. [Google Scholar] [CrossRef]
  8. Vallon, C.; Borrelli, F. Data-Driven Hierarchical Predictive Learning in Unknown Environments. arXiv 2020, arXiv:2005.05948. [Google Scholar]
  9. Vasikaninová, A.; Bakošová, M. Neural Network Predictive Control of a Chemical Reactor. Acta. Chim. Slovaca 2009, 2, 21–36. [Google Scholar]
  10. Wong, W.C.; Chee, E.; Li, J.; Wang, X. Recurrent Neural Network-Based Model Predictive Control for Continuous Pharmaceutical Manufacturing. Mathematics 2018, 6, 242. [Google Scholar] [CrossRef] [Green Version]
  11. Ramdane, H. Adaptive neural network model predictive control. Int. J. Innov. Comput. I. 2013, 9, 1245–1257. [Google Scholar]
  12. Limon, D.; Calliess, J.; Maciejowski, J.M. Learning-based Nonlinear Model Predictive Control. IFAC-PapersOnLine 2017, 50, 7769–7776. [Google Scholar] [CrossRef]
  13. Abdul, A.; Farrokh, J.S.; Alan, S.F.; Kaamran, R. Artificial neural network (ANN) based model predictive control (MPC) and optimization of HVAC systems: A state of the art review and case study of a residential HVAC system. Energy Build. 2017, 141, 96–113. [Google Scholar]
  14. Lopez Pulgarin, E.J.; Irmak, T.; Paul, J.V.; Meekul, A.; Herrmann, G.; Leonards, U. Comparing Model-Based and Data-Driven Controllers for an Autonomous Vehicle Task. In Towards Autonomous Robotic Systems. TAROS 2018; Lecture Notes in Computer Science, 10965; Giuliani, M., Assaf, T., Giannaccini, M., Eds.; Springer: Cham, Switzerland; pp. 170–182.
  15. Rankovic, V.; Radulovic, J.; Grujovic, N.; Divac, D. Neural Network Model Predictive Control of Nonlinear Systems Using Genetic Algorithms. Int. J. Comput. Commun. 2012, 7, 540–549. [Google Scholar] [CrossRef] [Green Version]
  16. Mohamed, I.S.; Rovetta, S.; Do, T.D.; Dragicević, T.; Diab, A.A.Z. A Neural-Network-Based Model Predictive Control of Three-Phase Inverter With an Output. IEEE Access 2019, 7, 124737–124749. [Google Scholar] [CrossRef]
  17. Karg, B.; Lucia, S. Learning-based Aproximation of Robust Nonlinear Predictive Control with State Estimation Applied to a Towing Kite. In Proceedings of the 18th European Control Conference, Naples, Italy, 25–28 June 2019; pp. 16–22. [Google Scholar]
  18. Lim, H.; Kang, Y.; Kim, C.; Kim, J.; You, B. Nonlinear Model Predictive Controller Design with Obstacle Avoidance for a Mobile Robot. In Proceedings of the 2008 IEEE/ASME International Conference on Mechtronic and Embedded Systems and Applications, Beijing, China, 12–15 October 2008; pp. 494–499. [Google Scholar]
  19. Choi, C.; Kang, Y. Simultaneous braking and steering control method based on nonlinear model predictive control for emergency driving support. Int. J. Control Autom. Syst. 2017, 15, 345–353. [Google Scholar] [CrossRef]
Figure 1. Unstable calculation times of nonlinear model predictive controller.
Figure 1. Unstable calculation times of nonlinear model predictive controller.
Electronics 10 00767 g001
Figure 2. Schematic of proposed nonlinear model predictive control (NMPC).
Figure 2. Schematic of proposed nonlinear model predictive control (NMPC).
Electronics 10 00767 g002
Figure 3. Kinematic vehicle model.
Figure 3. Kinematic vehicle model.
Electronics 10 00767 g003
Figure 4. Structure of deep neural network (DNN).
Figure 4. Structure of deep neural network (DNN).
Electronics 10 00767 g004
Figure 5. Relationship between current vehicle state and target reference points.
Figure 5. Relationship between current vehicle state and target reference points.
Electronics 10 00767 g005
Figure 6. Driving path for acquiring training data.
Figure 6. Driving path for acquiring training data.
Electronics 10 00767 g006
Figure 7. Acquisition of deep neural network (DNN) training data.
Figure 7. Acquisition of deep neural network (DNN) training data.
Electronics 10 00767 g007
Figure 8. Reference driving paths in simulation scenarios 2 and 3.
Figure 8. Reference driving paths in simulation scenarios 2 and 3.
Electronics 10 00767 g008
Figure 9. Results of simulation scenario 1: (a) driving trajectory; (b) acceleration command; (c) steering command and (d) longitudinal velocity.
Figure 9. Results of simulation scenario 1: (a) driving trajectory; (b) acceleration command; (c) steering command and (d) longitudinal velocity.
Electronics 10 00767 g009aElectronics 10 00767 g009b
Figure 10. Results of simulation scenario 2: (a) driving trajectory; (b) acceleration command and (c) steering command.
Figure 10. Results of simulation scenario 2: (a) driving trajectory; (b) acceleration command and (c) steering command.
Electronics 10 00767 g010
Figure 11. Results of simulation scenario 3: (a) driving trajectory; (b) acceleration command and (c) steering command.
Figure 11. Results of simulation scenario 3: (a) driving trajectory; (b) acceleration command and (c) steering command.
Electronics 10 00767 g011
Figure 12. Setup for scaled-car test.
Figure 12. Setup for scaled-car test.
Electronics 10 00767 g012
Figure 13. Data acquisition trajectory in scaled-car test.
Figure 13. Data acquisition trajectory in scaled-car test.
Electronics 10 00767 g013
Figure 14. Trajectories in scaled-car test.
Figure 14. Trajectories in scaled-car test.
Electronics 10 00767 g014
Figure 15. Analysis of extreme in each driving section (acceleration command).
Figure 15. Analysis of extreme in each driving section (acceleration command).
Electronics 10 00767 g015
Figure 16. Analysis of extreme in each driving section (steering command).
Figure 16. Analysis of extreme in each driving section (steering command).
Electronics 10 00767 g016
Figure 17. Comparison of control inputs of controllers (x- and y-axes present acceleration and steering inputs, respectively).
Figure 17. Comparison of control inputs of controllers (x- and y-axes present acceleration and steering inputs, respectively).
Electronics 10 00767 g017
Figure 18. Comparison of computation times of NMPC and DNN controller.
Figure 18. Comparison of computation times of NMPC and DNN controller.
Electronics 10 00767 g018
Table 1. Training data of deep neural network (DNN).
Table 1. Training data of deep neural network (DNN).
Network Input Dataset (Network Input, Vehicle State)
InformationNumber of DataNumber of Network Total Input Data
Local position x 2N 1 (60)4N (120)
y
Driving direction θ N (30)
Vehicle velocity v N (30)
Network Input Dataset (Network Output, Control Command)
InformationNumber of DataNumber of Network Total Input Data
Acceleration command a c m d N (30)2N (60)
Steering command s c m d N (30)
1N = Number of receding horizons of the nonlinear model predictive control (NMPC) with 30 steps.
Table 2. Simulation environment for data acquisition.
Table 2. Simulation environment for data acquisition.
Target Vehicle (dNano 1:43 Scale Car)Model Predictive Control
Mass40 gControl period20 ms
Length108.8 mmReceding horizon30 steps
Width45.2 mmTarget velocity0.6 m/s
Wheelbase61.9 mmLateral acceleration constraint 2   m / s 2
Table 3. Analysis of acceleration command.
Table 3. Analysis of acceleration command.
Acc. MaxNMPCDNNDifference
Acc. Min
Section ①0.53030.5084−0.0219
0.39640.42320.0268
Section ②0.50940.54300.0336
0.44200.45120.0092
Section ③0.51530.56910.0538
0.43720.46930.0322
Section ④0.45170.47870.0271
0.35400.38930.0353
Section ⑤0.05600.61020.0542
0.40260.42850.0258
Average maximal difference0.0381
Average minimal difference0.0259
unit :   m / s 2
Table 4. Analysis of steering command.
Table 4. Analysis of steering command.
Str. MaxNMPCDNNDifference
Str. Min
Section ①−0.0835−0.05860.0250
−0.2608−0.2632−0.0024
Section ②−0.0992−0.09920
−0.2623−0.24060.0217
Section ③0.07960.0160−0.0636
−0.3543−0.3639−0.0096
Section ④−0.3869−0.3658−0.0211
−0.3694−0.3953−0.0259
Section ⑤−0.0728−0.04850.0244
−0.4167−0.4576−0.0409
Average Maximal Difference0.0268
Average Minimal Difference0.0201
unit :   r a d i a n
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Lee, T.; Kang, Y. Performance Analysis of Deep Neural Network Controller for Autonomous Driving Learning from a Nonlinear Model Predictive Control Method. Electronics 2021, 10, 767. https://doi.org/10.3390/electronics10070767

AMA Style

Lee T, Kang Y. Performance Analysis of Deep Neural Network Controller for Autonomous Driving Learning from a Nonlinear Model Predictive Control Method. Electronics. 2021; 10(7):767. https://doi.org/10.3390/electronics10070767

Chicago/Turabian Style

Lee, Taekgyu, and Yeonsik Kang. 2021. "Performance Analysis of Deep Neural Network Controller for Autonomous Driving Learning from a Nonlinear Model Predictive Control Method" Electronics 10, no. 7: 767. https://doi.org/10.3390/electronics10070767

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop