You are on page 1of 4

Multi-sensors and Environment Simulator for Collision Avoidance Applications

Samir Bouaziz, Michel Fan, Roger Reynaud, Thierry Maurin


IEF, UniversitC de Paris-Sud
Bstiment 220,91405 Orsay Cedex, FRANCE
samir.bouaziz@ief.u-psud.fr

Abstract
1. Introduction
The “PICAR” project is based on “PrometheusProchip ’’ First, we give an overview of the PICAR smart car and the
experience and results1. The goal is to design an implementation of the simulator.
embedded multi sensors collision avoidance system for
automotive application[l]. The system includes sensors Our simulator generates virtual data to be processed inner
like video camera, ultrasonic sensors, a PC hardware the simulator or by the PICAR physical hardware system.
computer, a CAN2 network and a dedicated software for Clientkerver mechanism assumes to separate a simulator
signal and image processing, data fusion and AI expert kernel (virtual part) and the physical embedded system
system. (physical part) by using network exchanges. Virtual
Sensors Data are sent to the physical hardware system or
The design of such a system is difJicult under real time to the client display (2D or 3D).
constraints. Therefore, a simulator is a good solution to The physical car PICAR exists also as a model in the
test different parts of the system and then to help to virtual world simulator.
choose the overall architecture. However simulating all
the embedded architecture in real-time becomes a very
complex work 2. The physical plat-form
It is necessaiy to have an environment simulator where The PICAR plat-form is an electrical car including some
sensors can be virtually implemented. The data are then embedded electronics systems. The goal is to experiment
processed leading to results without hardware costs. The either customized sensors, computer architectures or data
designed environment software allows the simulation of processing for the following scenarios such as collision
physical sensors, and also the emulation of these sensors. avoidance system [l], automatic parking, or stay on the
The simulator is interfaced to the physical embedded lane application.
hardware by a network bridge. So, we can emulate some Figure 1 shows the physical smart car PICAR. The
sensors to experiment data processing on the physical sensors are of two kinds : internal and external. Internal
embedded PICAR computer. sensors give us the proprioceptive information relative to
This paper presents the physical smart car PICAR and its the smart car, like speed, acceleration, car direction, brake
embedded system, the virtual world simulator. We explain status.. .etc. Exteroceptive sensors capabilities give
how we can mix the virtual world (produced by virtual external information around the car. They include
sensors) and real world (physical embedded system) to cameras, telemeter, ultrasonic sensors. All external data
implement some scenarios (like automatic parking) and are used to detect obstacles. Data fusion processing is
to validate the physical architecture. An alternate goal necessary to certify obstacles positions.
can be to design customized sensors. CAN network is used to exchange data between sensors
and to centralize them in the embedded computer. CAN is
I This work was supported by the G.I.E. P.S.A.-R.N.U.R. under the a serial bus system especially suited for networking
contract no 819040 CNRS/GIE PSA RNUR within the framework of ”intelligent” devices as well as sensors and actuators,
EUREKA PROMETHEUS PROCHIP research project. within a system or sub-system.
2 http://www.omegas.co.uWCAN/index.html.

127
0-7695-0740-9/00 $10.00 0 2000 IEEE
Clients are of two kinds:
3D/2D display and virtual software data
processing.
physical PICAR embedded system.

Figurel. PICAR smart car

Sensors data are multi-processed by PCs to make data


fusion, to detect obstacles for tracking or avoiding. The
multi-process computer includes RTX Real Time Kernel
assuming software threads management.

3. The simulator Figure 3. Virtual PICAR car in the simulator


The simulator assumes managing the objects position The figure 4 gives the simulator organization. The
(vehicles and other obstacles), generating the sensors data network assumes multi-clients interaction with the
according to the physical models of these sensors. simulator server.

World (road) Simulation server

Sensors
Kernel simulator ,@,
0 Vehicles
Figure2. simulator overview
I
I TCPnP NET
I
I
\

In the figure 2, the world is a virtual description of the


roads, fixed obstacles (trees) and road signs.
The sensors item represents the two kinds of sensors
n
I1 n
I1
models, specified as time flying measurement sensor or client visualization and client visualization and
imaging sensor (1D or 2D). For example, the virtual data processing simulation data processing simulation
telemeter uses a time flying model, CCD camera sensor Figure 4. simulator architecture
uses an imaging 2D model.
The vehicles items are of two kinds: smart cars and others 3.1 Display and virtual data processing
vehicles used as obstacles with predefined trajectories.
3D/2D display is a simple client that simply displays the
The simulator is based on a cliendserver organization. virtual world including roads, and cars and the virtual
The server simulator is dedicated to simulate the sensors smart car. It uses the real time 3D rendering realized by
and the vehicles displacements. All or part of the data are using a direct-3D hardware acceleration (common cards
sent to the clients. on common Intel PC). This client can visualize some
information about the virtual car and results of customized

128
data processing. Therefore, we can test in a virtual reality Another visualization is a 2D graphics. Figure 6 shows an
some sensors data processing without physical embedded example of 2D visualization. There is two kinds of
architecture constraints. rectangles: simulated cars positions and calculated objects
that are the result of the processing. This 2D visualization
Figure 5 shows different windows, 3D rendering and is very interesting because it assume to validate a global
iinformation resulting of the data sensors Drocessing.. processing performance.

3.2 The physical system client


This client is the physical embedded system of the PICAR
car. It is used to implement data processing and to control
the car.

This system is connected to the simulator network and is


included like a client of the simulator. This is done by
using the network formatter bridge. The simulator
generates virtual sensors data and transmits them to the
physical client by using the bridge.

The figure 7 shows the physical client interaction with the


simulator environment.

sensors and actuators


Figure 5. Example 3D Real-time rendering
uhvsical client
The blue smart car is changing lane. This is due to the
result of sensors data processing that warns about the
yellow car (obstacle). The sensors data processing is
using this display client as the virtual smart car embedded Embedded
computer. I E i t t e r bridge computer I
Only the blue car is smart car. All other cars are
considered as static cars. It means that they execute
predefined trajectories.

@,
Simulation server data processing
and

simulation
Figure 7. Physical client and the simulator

l All or part of the simulated data are seen as coming from


the local physical CAN network of PICAR. The
embedded programs will execute data processing and will
make feedback to actuators to control the smart car. This
feedback is captured by the formatter bridge and will be
sent to the virtual smart car (of the simulator).
During this step, it is necessary to disconnect the physical
sensors and actuators physically connected to the CAN
embedded network.
Figure 6.2D display and results superposition

129
3.3 Simulator implementation level data generated by the simulator to the physical
electronic part of the sensor in order to be processed by
The simulator kernel is event driven. Events are generated the physical dedicated sensor electronics.
by all sensors and actuators. A real-time clock is
considered as an event actuator for the simulator. This will
assume to generate or to send sensors data by respecting
the real-time world.

During the simulation, we can compare the sensors events


to the static musical notes included in partition of the
music. Some extended events (from physical client) are
considered as dynamic events. So, we have to define a
textual language to describe scenarios execution of the
simulation. There are three kinds of definitions : static
objects (like roads, trees.. .), predefined vehicles and their
displacements, and finally sensors descriptions.

Here is example of sensor description :


CAMERA <name>.STANDARD(...,nb4,nb5);

Parameters indicates relative position of camera, it also


indicates if the camera is fixed or embedded, and if this
camera generates sensor data or high level objects Figure 8. simulator Server Software organization
positions (in order to use these positions for the 3D/2D
visualization clients). This high level kind of sensors is 5. References
named Visualization sensors and generates less data
because the 3D/2D display is assumed by the display [l] R. REYNAUD, T. MAURIN
client. O n board data fusion and decision system used for obstacle
detection : 2D vision versus 1D sensor fusion IEEElIES ‘94
Each virtual sensor model is described in C/C++ language
[2] A. CHEBIRA, R. REYNAUD, T. MAURIN
module. Some predefined low level primitives can be used
Reconstruction of 2D parameters using infrared sensors
to describe interaction between the virtual world and the SPIES 93, International Symposium on Optics Imaging and
virtual sensor. Instrumentation,San Diego, USA, July 1993
The figure 8 gives an overview of the software simulator [3] Y. Guinand, N. Valayden, F. Bizoueme, S.Bouaziz,...
organization. Low cost sensors for collision avoidance applications
IEEE Int Symposium on Intelligent Vehicles ‘95, Detroit 25-
26 sept 95.
4. Conclusion
[4] R. Sukthankar, D. Pomerleau, C. Thorpe << SHIVA :
This paper deals with a virtual environment simulator to Simulated Highways for intelligent Vehicle
simulate and to model sensors. The second objective is to Algorithms B, IEEE intelligent vehicles symposium,
use virtual sensors data to evaluate a physical embedded p332-337, September 1995.
architectures and data processing programs.
[ 5 ] D. Estbve, A. Coustre, M. Garajedagui, (< L’inttgration
We want to include the electronic part of the sensors in des systbmes Clectroniques dans I’automobile du
the environment simulation. The simulator will send low XXIeme sikcle >,,Ctpadubs Editions book, 1995.

130

You might also like