Autonomous Vehicle Testing and Validation Platform:
Integrated Simulation System with Hardware in the Loop*
Yu Chen
1
, Shitao Chen
2
, Tangyike Zhang
3
, Songyi Zhang
4
and Nanning Zheng
5
, Fellow, IEEE
Abstract— With the development of autonomous driving,
offline testing remains an important process allowing low-cost
and efficient validation of vehicle performance and vehicle
control algorithms in multiple virtual scenarios. This paper
aims to propose a novel simulation platform with hardware
in the loop (HiL). This platform comprises of four layers: the
vehicle simulation layer, the virtual sensors layer, the virtual
environment layer and the Electronic Control Unit (ECU)
layer for hardware control. Our platform has attained multiple
capabilities: (1) it enables the construction and simulation of
kinematic car models, various sensors and virtual testing fields;
(2) it performs a closed-loop evaluation of scene perception,
path planning, decision-making and vehicle control algorithms,
whilst also having multi-agent interaction system; (3) it further
enables rapid migrations of control and decision-making algo-
rithms from the virtual environment to real self-driving cars.
In order to verify the effectiveness of our simulation platform,
several experiments have been performed with self-defined car
models in virtual scenarios of a public road and an open parking
lot and the results are substantial.
I. INTRODUCTION
Online and offline tests are two major approaches used
in order to verify and optimize the perception and control
algorithms of self-driving cars. Motivated by the necessity
for new applicable technologies in autonomous driving,
offline testing is transforming into a mandatory step for pre-
assessment of top-level control algorithms, before the real
interface application used towards a fully matured level of
autonomous driving [1], [2], [3]. Usually on-site inspection
of physical vehicle behavior is an expensive and time-
consuming attempt that only authorizes a limited number
of scenarios to be tested. By contrast, a simulation test of
vehicle control using mounted sensors and comprehensive
environments provides a reasonable and cost-effective op-
tion. Besides, previous research and experiments on various
intelligent algorithms involved in autonomous driving, in
order to achieve optimal validation results and objective
performance analysis, require an efficient test and validation
platform. Therefore, an efficient simulation platform with
an organized architecture has been proposed, of which the
detailed workflow is shown in Fig. 1. This proposed platform
*This research was partially supported by the National Natural Science
Foundation of China (No. 61773312, 61790563), the Programme of Intro-
ducing Talents of Discipline to University (No. B13043).
Yu Chen
1
, Shitao Chen
2
, Tangyike Zhang
3
, Songyi Zhang
4
are with Institute of Artificial Intelligence and Robotics
in Xi’an Jiaotong University, Xi’an, Shannxi, P.R.China
e-mail:{alan19960212, chenshitao, ericzhang,
zhangsongyi}@stu.xjtu.edu.cn
Nanning Zheng
5
is the director of Institute of Artificial Intelligence
and Robotics, Xi’an Jiaotong University, Xi’an, Shannxi, P.R.China
Correspondence: nnzheng@mail.xjtu.edu.cn
contains a software simulation interface and a hardware ECU
interface which have been combined to form a closed test
and validation loop with high efficiency. For one thing, the
software simulation interface mainly consists of 3 layers:
(1) the kinematic vehicle designing layer for vehicle motion
control, (2) the multiple sensors’ simulation layer to percept
environments and assemble data for autonomous vehicles,
(3)the virtual testing environment layer to simulate real
scenarios and also extreme testing situations. Furthermore,
the hardware ECU interface contains an essential electronic
control unit layer for the overall hardware control.
The software simulation interface comprises a variety of
softwares which can simulate any of the required objects to
be evaluated on a virtual test bed. The software simulation in-
terface of the proposed platform is centered around the Robot
Operating System (ROS) and its embedded software Gazebo
[4], [5]. ROS is a robotic software platform that provides sim-
ilar operating system functions for heterogeneous computer
clusters. It offers customary operating system services such
as hardware abstraction, underlying device control, common
feature implementation, inter-process messaging and packet
management. A node is the core component of ROS graph
architecture. It’s usually a short piece of code scripted in
programming language Python or C ++ to perform a rela-
tively simple task or process. Multiple nodes communicate
messages to each other and can be independently started or
terminated. Therefore, nodes at different points of a process
can accept, publish, and aggregate various categories of
information for sensing, controlling, status monitoring or any
other specific purpose. Further to this, Gazebo is a ROS built-
in 3D simulation software that helps to accurately construct
and evaluate the kinematics of robots in complex indoor
and outdoor environments. It offers high-fidelity physical
simulations, a large set of sensors, and numerous procedural
and user-facing interfaces.
Further to the software simulation interface, a hardware
ECU interface [6] based on HiL simulation system has been
developed. Common offline tests merely tend to evaluate
independent algorithm modules or functions, making it prob-
lematic to easily establish the link between the real car
and the virtual environment easily. However, in this paper
the HiL system is one kind of semi-simulation system with
actual controllers but virtual objects and environments [7],
[8], [9]. Real sensors and loads are replaced by virtual
ones to simulate the real-time physical relationship between
actuators and sensors on a simulated car model [10]. This
subsequently allows the ECU to operate in an electrical
environment that is considerably close to that in a real
2018 IEEE Intelligent Vehicles Symposium (IV)
Changshu, Suzhou, China, June 26-30, 2018
978-1-5386-4451-5/18/$31.00 ©2018 IEEE 949
评论