A hardware and software framework for cognitive automobiles
Summary (4 min read)
Introduction
- For the latter, an experimental vehicle based on a VW Passat platform has been equipped with actuators, computers, microcontrollers and sensors (see also [4], [5]).
- This paper gives a detailed description of the hardware and software framework that the different algorithms [6] for the competition were integrated into.
- II, the system architecture is presented in Sec. III which the interaction of the hardware and software components is based on.
- Sec. VI concludes this contribution with a description of the realized safety features.
II. HARDWARE COMPONENTS
- For the sake of reliability and time constraints a Volkswagen Passat Variant 2.0 FSI was chosen to be directly equipped with by-wire steering, braking, and throttle control by the manufacturer (Fig. 1).
- This includes amongst others the installation of an electric steering motor a new prototype power brake unit an accelerator value simulator a larger alternator a LIN interface (e. g. turning lights).
- All components are unobtrusively integrated into the car interior lining and communicated with through a CAN gateway which provides additional information available on the series CAN-BUS.
- The manufacturer’s safety system also allows for a quick and safe changeover from automatic to manual control and vice-versa.
- Since pulling into and backing out of a parking spot as well as K-turns are required in the competition, an additional longitudinal actuator was integrated into the selector lever case of the automatic transmission in order to engage drive, rear, and neutral gear.
B. Computing system hardware
- The on-board computing system hosts all software for perception and decision making.
- All opteron processors are interconnected by HyperTransport (HT) at a speed of 3.2 GByte/s each.
- Due to the employed high-efficent (HE) CPUs, the system requires about 350W in total from the DC/DC power supply.
- For the unlikely case of a disk failure, another protection feature comes into effect:.
C. Real-time microcontroller and distribution box
- Since high level decision making runs at soft real time at best, a hard real time capable rapid prototyping environment, namely dSpace’s Autobox, is used for the vehicle’s lateral and longitudinal control.
- The Autobox’ digital I/Os are connected to the distribution box, which converts the TTL level into 12V via relay and provides enough space for reliable connectors.
D. DGPS/INS and wheel speed sensor
- The RT3003 Inertial and GPS Navigation System (IMU) is a six-axis inertial navigation strap down system that incorporates an L1/L2 RTK GPS receiver for position and a second GPS receiver for accurate heading measurements.
- Additional wheel speed input taken directly from the Passat’s series wheel speed sensor in combination with the OmniSTAR correction signal, the system delivers better than 0.02m positioning and 0.1◦ heading under dynamic conditions.
- The Velodyne HDL-64E comprises 64 lasers that are mounted on upper and lower blocks of 32 lasers each and the entire unit spins at 10Hz.
- This allows to acquire information from visual textures, like lane marker information, similar to monoscopic image analysis.
- Two additional Sick LMS 291 1D lidar scanners are mounted horizontally both on the front and rear bumper in order to observe obstacles that are too close to the vehicle for tracking by the Velodyne lidar.
F. E-stop system and warning devices
- To ensure safe operation in autonomous mode, DARPA required every team to implement several safety features such as audible and visible warning signals and emergency stop devices.
- Additionally, the DGCSR provides an ENABLE/DISABLE signal for emergency stop purposes which can also be triggered manually by two emergency stop buttons at both sides of the vehicle.
- The authors solution makes use of the manufacturer-equipped immobilizer system, which immediately switches off the engine when no ignition key is present.
- When triggered at higher speeds, it automatically activates all vehicle brakes via the antilock brake system until the button is released or the vehicle has come to a complete stop [8].
G. Power unit
- In order to handle the increased power consumption of the vehicle, a larger alternator (220A) and a power unit was installed.
- The latter comprises 2 batteries, DC/AC and DC/DC converters, a charging device, fuses, and buffer condensators.
- Even for hours of testing with a shut down engine.
III. SYSTEM ARCHITECTURE AND DATA TRANSMISSION
- In order to avoid extensive cabling between sensors, controllers, and actuators, a BUS system can be found in every modern vehicle.
- The raw data is stored into the RTDB with the help of dedicated I/O modules.
- All algorithms from obstacle recognition to decision making [6] are executed on the computing system.
- In turn, the Autobox sends vehicle sensor data paired with controller status information back.
- The CAN signal is sent to a gateway, which filters the messages for safety reasons.
IV. REAL-TIME CONTROLLER FRAMEWORK
- Since there is also a scientific focus on dynamic vehicle control, a universal real-time framework has been implemented in a MATLAB/SIMULINK environment as depicted in Fig. 6 which different control algorithms can be integrated into.
- For offline simulations the physical vehicle is automatically substituted by a veDYNA model [7], a highly accurate simulation of vehicle dynamics.
- The framework comprises of a RTDB-interface, interfaces to the actuators and vehicle sensors, cascaded control algorithms, safety and debugging features.
- Through the RTDB-interface information about the desired vehicle movement as well as LIN commands (e. g. 1082 Authorized licensed use limited to: Universitatsbibliothek Karlsruhe.
- Restrictions apply. turning signal) is transferred to the Autobox.
V. REAL-TIME DATABASE
- The real-time database for cognitive automobiles [2] acts as the central communication framework for high-level decision making on the computing system.
- For interprocess communication the following method is applied: .
- All processes have at least one logical database connection .
- The sending process inserts an object with the relevant data into the RTDB Tracked obstacles are inserted as individual objects, updated with each lidar rotation and removed when they are lost Due to the efficient implementation of the real-time database, it takes only 8.3µs to update an object and 6.4µs to retrieve it.
A. Simulation and logging
- Using the KogMo-RTDB architecture facilitates the exchange of arbitrary software modules.
- As long as the exchanged modules write the same objects into the RTDB, the other modules will not notice the difference.
- To test the AI modules, simulation modules were introduced that compute the dynamic motion of the own vehicle according to the lowlevel lateral and longitudinal control strategy and write the result into the vehicle status and position objects that would be written by the Autobox UDP bridge and the I/O processes from the GPS receiver.
- Afterwards, the data log can be replayed in real-time or with a different speed into another RTDB, giving several options for simulation: 1083 Authorized licensed use limited to: Universitatsbibliothek Karlsruhe.
VI. SAFETY CONCEPTS
- The most frequently activated safety measure that proved an important feature for testing has been the seamless switching between autonomous mode and manual interaction by a safety driver.
- As soon as either the gas or the brake pedal is applied, or the deviation between desired and measured steering angle exceeds a certain threshold, the system automatically switches to manual mode.
- To ensure safe operation when no safety driver is present, such as in the actual competition, several additional safety measures were implemented.
A. Manual hardware override
- The manufacturer’s emergency system allows a safety driver to regain control over the vehicle in two different ways:.
- First, all actuators are designed so that they can always be overridden by a human operator.
- In case this is not sufficient, there are two easily accessible emergency buttons - one in the center console and another one next the brake pedal - which completely switch off all actuators and return control to the driver.
- As this system was already integrated by the manufacturer, it is highly safe and reliable.
- In manual control, operation does not differ from a series-production car, so the vehicle can be used legally on the street.
B. Hardware emergency stop
- For operation without a safety driver, a remotely controlled emergency system based on the DARPA-supplied Omnitech DGCSR is used.
- When activated, the vehicle has to come to a complete stop and, according to DARPA rules, shut off the engine.
- The authors solution is based on the electronic parking brake and the electronic immobilizer system.
- This solution makes use of vendor-supplied components only, thus it does not need any additional hardware except for some relays and a time delay circuit and is therefore highly reliable.
- As another advantage, the vehicle can easily be recovered from DISABLE mode by simply removing the ignition key and restarting the engine.
C. Software emergency stop
- In addition to the hardware emergency stop, the DGCSR signals is delivered to the Autobox, which itself also triggers the brakes via the CAN BUS when receiving a PAUSE or DISABLE signal.
- Thus even in the unlikely case of an error in the hardware emergency stop, the Autobox would ensure that the vehicle comes to a safe stop.
- Additionally, if no valid data is received from the main computing system for a certain amount of time, the Autobox internally switches to PAUSE state and thus brings the vehicle to a controlled stop.
- As soon as the main computer is sending valid data again, the system switches back to RUN mode and the vehicle continues its mission.
D. Software monitoring
- In case of a detectable software misbehavior, it is safer for the unmanned vehicle to stop itself automatically rather than being ultimately e-stopped by the remote control, which inevitably leads to a disqualification in the competition.
- The monitoring system in Fig. 7 consists of several components: 1) Data watchdog:.
- It indirectly watches the processes by looking at the data objects they write into the RTDB.
- By looking at all process objects the watchdog can notice dead processes and restart them.
- If a check fails, the RTDB watchdog immediately stops the whole software system and triggers an emergency brake maneuver using the stop sender.
VII. RESULTS AND CONCLUSIONS
- The proposed framework has been implemented in the vehicle base and has been extensively tested in simulations.
- In particular, the seamless migration capabilities of software from simulation to in-the-loop testing and to on-vehicle operation without necessity for any software changes was found to expedite the engineering process and increase the robustness of the experiments.
- It finally came to a software deadlock situation that still lead AnnieWAY into a safe mode but caused its stop.
- That situation had required rebooting of the main computer which was not admitted.
Did you find this useful? Give us your feedback
Citations
12 citations
11 citations
Cites background or methods from "A hardware and software framework f..."
...It incorporates an L1/L2 RTK GPS receiver for position and a second GPS reveiver for accurate heading measurement[ 10 ]....
[...]
...Since the technical framework developed at our as well as at our partners’ department described in [ 10 ] has shown great performance and reliability, a similar basic setup ha s been integrated in the AUDI....
[...]
2 citations
Cites background or methods from "A hardware and software framework f..."
...[29] (L) have a different approach and propose a framework with a central real-time database which different components read from and write to....
[...]
...L A hardware and software framework for cognitive automobiles [29] X...
[...]
References
107 citations
"A hardware and software framework f..." refers methods in this paper
...For the latter, an experimental vehicle based on a VW Passat platform has been equipped with actuators, computers, microcontrollers and sensors (see also [4], [5])....
[...]
81 citations
10 citations
"A hardware and software framework f..." refers methods in this paper
...For the latter, an experimental vehicle based on a VW Passat platform has been equipped with actuators, computers, microcontrollers and sensors (see also [4], [5])....
[...]
8 citations
"A hardware and software framework f..." refers methods in this paper
...In the DARPA Urban Challenge 2007 competition, the vehicle was put to a first test by Team AnnieWAY, a spin-off of the Collaborative Research Center, and made it into the finals....
[...]
7 citations