- Open Access
Vehicle detection through wireless vehicular communication
EURASIP Journal on Wireless Communications and Networking volume 2014, Article number: 146 (2014)
Vehicles in the future are anticipated to have the ability to communicate and exchange useful information in order to avoid collisions. However, for this cooperation to be possible, all vehicles will have to be equipped with compatible wireless modules, based on, e.g. IEEE 802.11p (used in ITS-G5 or WAVE), which implements intelligent transport systems operating in the 5 GHz frequency band. During the implementation phase of the system, there will be many older vehicles without such equipment that can cause hazard as information about them will not be available to vehicles equipped with IEEE 802.11p modules. In this paper, we present a system to be used as a roadside unit (RSU), developed explicitly for infrastructure-to-vehicle (I2V) communication that can solve the aforementioned traffic safety problems. The system consists of a universal medium-range radar (UMRR) and an IEEE 802.11p modem integrated together to detect vehicles, with or without communication capabilities, and forward their position and speed vectors to vehicles, with IEEE 802.11p modules installed, for collision avoidance. Tests have been performed by using our system in parallel with vehicles in which IEEE 802.11p modules are installed and comparing the content in the Cooperative Awareness Messages obtained from both systems. Accuracy tests have been performed in order to verify the system, and Kalman filtering is applied on the radar data to improve the accuracy of the system further.
Intelligent transportation systems (ITS) can be defined as a group of technological solutions in telematics designed to improve the safety and efficiency of terrestrial transportation. Both the European standard for ITS, ITS-G5 and its American counterpart, WAVE, are based on the IEEE 802.11p amendment to the IEEE 802.11 standard. Those standards define procedures to broadcast the position and speed vectors of each individual vehicle so other nearby vehicles can collect this information and use it for safety purposes.
This technology comes with a problem during the implementation phase, as just a few of the vehicles in circulation will actually be equipped with on-board devices. This paper focuses on addressing this problem by implementing a roadside unit (RSU) that scans for vehicles and emulates cooperative awareness messages (CAM) from them as if they had their own IEEE 802.11p onboard broadcasting modules . This has been done using an IEEE 802.11p wireless modem together with a universal medium-range radar (UMRR).In the example portrayed in Figure 1, the intelligent car in grey color, reaches an intersection where there is a known risk of collision with other vehicles due to the low visibility of the cars that approach from the right.
If all the vehicles in the example had a vehicle-to-vehicle/infrastructure (V2X) communication system, they would broadcast their position and speed vectors, and therefore, the vehicle that aims to enter the main road would be aware of the risk of an accident. Nevertheless, a more realistic scenario would be that where the majority of the vehicles are not equipped with such a system.
However, the device described in this paper can be placed in the intersection, monitoring all the vehicles that approach from the east and broadcasting their position and speed vectors as if they had their own on-board devices.
In the example above, the blue car is not equipped with a V2X communication system and it is driving at a high speed. The driver in the grey car, equipped with V2X, is not capable of seeing it since there are some trees blocking the line of sight (NLOS). Since the RSU is placed at the intersection, it will detect the blue car (1) and will transmit instant values of its position and speed vectors to the grey car (2). The V2X vehicle will then be notified about the approaching car and will alert the driver of the risk of collision if he or she decides to enter the main road (3).
The effect of intersections in vehicle-to-vehicle (V2V) communications has been widely studied in the past , and it has been concluded that most of the power contributions arise in the presence of the line of sight (LOS). Therefore, solutions that extend LOS, such as this roadside unit, will play a major role in the future of urban vehicular communications.
Traffic accidents, especially those taking place nearby or at intersections, have been studied during recent years, and methods have been developed to be able to predict and avoid them [3–6]. However, a solution such as this RSU for detection of older vehicles in conjunction with automatic breaking systems or warning systems in newer vehicles is to the authors’ best knowledge new and has not been presented before. It can significantly improve the safety of terrestrial transportation by avoiding accidents rather than predicting them.
The RSU consists of three main parts: a UMRR unit, an IEEE 802.11p wireless modem and an embedded system that provides interfaces and intelligence to them both as seen in Figure 2.
Universal medium range radar
The radar has the capability of detecting vehicles up to 160 m of distance and with 25 cm of accuracy . The technology utilizes microwaves in the 24-GHz band for detection of objects. It also incorporates smart functionality such as detection of vehicles that are solely moving in one direction, distinguishing between different kinds of vehicles and/or pedestrians and also providing their speed and position vectors. This information is later being embedded into wireless frames and broadcasted to other vehicles.
This UMRR was designed for in-vehicle and traffic monitoring installations and it communicates with its surroundings over the CAN-bus protocol . Therefore, the rest of the system has to implement the same protocol in order to send commands and receive responses to/from the UMRR.
IEEE 802.11p wireless modem
The modem incorporated in this RSU is a very basic one. It does not implement the full ITS-G5 standard; however, it is transmitting and receiving information on the 5.9-GHz band using the IEEE 802.11p amendment.
The modem connects to the embedded system using the CDC-ECMa standard. Frames are sent to the modem over the user datagram protocol (UDP). The only task that the modem has to perform is to open up those UDP datagrams and broadcast their payload wirelessly. The payload is expected to be frames according to the ITS-G5 standard.
The responsibility of the embedded system is to connect the UMRR unit with the IEEE 802.11p modem and run all the required software in order to meet the system requirements. The speed and position vectors of each vehicle are reported using GeoNetworking (GN) , basic transport protocol (BTP)  and CAM  frames.
The embedded system is composed of two main parts: a CAN-bus shield and a Raspberry Pib as seen in Figure 3. The CAN-bus shield is responsible for the communications with the UMRR unit over CAN-bus and the Raspberry Pi is responsible for running the main algorithms and for the communications with the IEEE 802.11p modem over CDC-ECM.
The two parts communicate with each other over their respective RS-232 serial ports. The CAN-bus shield uses 5 V as reference for logic voltage while the Raspberry Pi uses 3.3 V. A voltage level shifter has been put in place to solve this problem.
Two different kinds of tests were performed in Gothenburg, Sweden. The first test, communication test, was to determine whether the IEEE 802.11p Modem could successfully communicate with Volvo Drive C2Xc equipment or not. The second test, verification test, was to determine whether the RSU ITS-G5 implementation followed the ITS-G5 specifications [9–11] by comparing frames from another ITS-G5 source, e.g. a Drive C2X Volvo car, to frames generated by the
The RSU was powered up and started broadcasting simulated traffic frames. A Drive C2X receiver was configured and all received wireless frames were saved to a binary file that was later inspected in Wiresharkd using ITS-G5 dissectorse. The acquired frames could successfully be interpreted by the Wireshark dissectors, which meant that the RSU was generating valid GN, BTP and CAM frames with correct format and that the IEEE 802.11p modem was compatible with Drive C2X equipment.
During this test, a setup with three main components was used: the RSU, a Drive C2X receiver and a Drive C2X Volvo car with an ITS-G5 implementation.
The RSU was installed and configured next to a road and the Drive C2X receiver was also installed and configured in the same spot. The Volvo car was driven on the road next to the RSU a few times. The external Drive C2X receiver was capturing frames during this time.Once the test was completed, the captured frames were analyzed and compared side by side in Wireshark. An example of logged frames can be seen in Figure 4. The logged frames were almost identical with the only deviation being the car’s heading, as the heading reported by the RSU was in relation to the direction of the radar while the heading reported by the Drive C2X car was in relation to the North.
The radar bearing was roughly measured with a smartphone, and after compensating for the radar alignment, the heading of the car was calculated to 230°, which is close to the reported heading of 240°, and within an acceptable error margin for a smartphone.
Functional tests were performed on the RSU as mentioned above, but other aspects also needed to be tested. One of those was the accuracy of the reported time in conjunction with the accuracy of the coordinates in the GN/CAM frames down to centimetre level. Accuracy measurements were performed with the help of a state-of-the-art global positioning system (GPS) positioning device .
GN and CAM frames contain a timestamp as well as the WGS84f geographic coordinates of a vehicle [9, 11]. It is very important that the reported timestamp is actually the correct timestamp when the vehicle was at the reported coordinate, because the accuracy of the position estimate depends on the accuracy of the time estimate. Delays might be introduced as a result of processing time that various algorithms utilize. Therefore, it is important to measure and report these delays and their impact on the accuracy of the position estimate.
The measurement setup consisted of the RSU on a 5-m tripod, see Figure 5, a high precision GPS receiver that reports coordinates with errors in the centimetre-level range  mounted on a Volvo V70 car, see Figure 6. A 350-m straight patch of road was selected as measurement route, see Figure 7.
The car drove 22 times down the street towards the RSU while logging its coordinates and timestamps with the high-precision GPS receiver. At the same time, the RSU was detecting the car and also logging its coordinates and timestamps.
GPS time was used on both systems. A GPS receiver was temporarily fitted on the RSU for time synchronization. According to , GPS time is typically accurate within 40 ns, which is more than enough since the maximum logging resolution of the RSU is 1 ms.
The first measurement was used as a calibration run. The goal with this measurement was to find possible errors in the time domain.
The RSU was using UTC time, since its network time protocol (NTP) daemon was compensating for leap seconds . However, the GPS receiver was using pure GPS time, and therefore, the extra leap seconds were compensated for the RSU. According to , the offset between GPS time and coordinated universal time (UTC) is 16 s, as the current number of leap seconds is 16 s .
Also, a millisecond level fine-tuning was made numerically on the time offset. The offset that minimized the distance error was selected.
The RSU can detect both distance to a vehicle (X coordinate) and sidewise displacement of a vehicle (Y coordinate). Thus, both directions and their errors were studied separately.
In order to find possible errors in the spatial domain, all measurements were compensated for the time offset. The distance from the RSU to the car was compensated for the value that minimized the mean X-error, and the sidewise movement of the car was compensated for the position of the GPS device on the car.
In Figure 8, a measurement sample can be seen. The difference in distance between the RSU and GPS data is the spatial error which can be seen in Figure 9. However, what is more interesting to analyze is the error of all the measurements as a function of the distance from the RSU to the car as seen in Figure 10. From that, we can read the root mean square error (RMSE) as a measure of accuracy. For X, RMSE x =248 cm, and for Y, RMSE y =38 cm.When the car is within 28 m from the RSU, a deterministic behavior can be observed, as the car is going out of the main beam of the radar, as seen in section A of the upper graph of Figure 10. A least squares model that describes this behavior can be found, reversed and added to the data in order to eliminate the error.
Vehicle reference point
It is also of interest to investigate whether the reference point of the RSU on the car is changing as the car is approaching the RSU. A slope different from zero on the least squares approximation in Figure 10 would indicate that. As it can be seen, the slope is near 0 both for the X and Y directions. Therefore, it is indicated that the reference point of the RSU on the car is fairly static.
Tests in various weather conditions, such as rain, snow and fog have not been performed. However, the system’s detection performance is not expected to change significantly in bad weather conditions. According to the radar manufacturer , the radar works in adverse conditions, almost unaffected by weather, and independent of sunlight, in a wide temperature interval (-40 to +85°C).
Smoothing and path prediction
As seen above, the RSU data is not error-free. Also, there are parts of measurements where the RSU cannot see the vehicle and it does not report any data during that time. This can occur due to a shadowing effect or other disturbances.
In order to tackle those problems, a Kalman filter has been introduced for the RSU data. A Kalman filter can produce a statistically optimal path estimate for some given noisy path observations given that the process model, process noise and measurement noise are known or can be estimated .
To describe the vehicle dynamics, we use a constant velocity model (CV) (, p. 338), as depicted below:
where x k = [p k v k ]T is the state of the system, u k is an optional control input, w k is the process noise, z k is the measurement, ν k is the measurement noise and
where Δ t is the time between each measurement observation. Moreover, the process noise w k and measurement noise ν k are assumed to be normally distributed with mean μ = 0 and covariance and . H is the identity matrix since there are measurements for both components of the state (position p k and velocity v k ), and it is assumed that these measurements are independent.
The Kalman filter implementation utilizes a recursive algorithm which consists of a time update, where the next state of the system is ‘predicted’, and a measurement update, where the earlier prediction is ‘corrected’.
During the time update, the following operations are performed:
Also, when there is a measurement observation at a certain time slot, a measurement update is being performed with the following operations:
If a measurement observation is missing, then the same operations are being performed, but with Kalman gain set to zero,
Here, and are priori (before measurement update) and and P k are posteriori (after measurement update) state estimate and error covariance, respectively. K k is the Kalman gain. B and H are not seen in the equations above since B = 0 and H = I.
The process noise covariance Q, measurement noise covariance R, initial error covariance P0 and initial state vector are Kalman filter parameters that have to be estimated.
The process noise is often unknown and that complicates the estimation of the filter parameters. However, since the GPS data is much more accurate than the RSU data, it is assumed that the GPS data is error-free in order to get an acceptable filter parameter estimation. Also, as Welch and Bishop  state, ‘Often times, superior filter performance (statistically speaking) can be obtained by tuning the filter parameters Q and R’.
Q and R
The process noise covariance Q was calculated from the distribution of the GPS data noise and tuned in a way that minimizes the root mean square measurement error (RMSE):
The measurement noise covariance R was similarly calculated by looking at the distribution of the error between the GPS and RSU data:
Both distributions were assumed to be Gaussian.
Initial error covariance P0
The initial error covariance P0 was set equal to the process noise covariance Q and tuned by a factor that minimizes the root mean square measurement error (RMSE):
Initial state vector
The initial state vector contains two components; the initial position and the initial velocity . The initial position was set equal to the first measurement observation and the initial velocity was set equal to the mean velocity for each coordinate; m/s and m/s.
The RMS measurement error for the X coordinate has decreased from RMSE x = 248 cm to RMSE x = 146 cm. The RMS measurement error for the Y coordinate has remained the same at RMSE y = 38 cm. However, for most of the measurements, as the one depicted in Figures 11 and 12, the error has decreased. It has increased for a handful of measurements which brings the RMSE up.
Throughout the article a roadside unit (RSU) that implements the ITS-G5 standard has been described. It is able to emulate vehicle-to-vehicle/infrastructure (V2X) communications of non-intelligent vehicles within the sight of a radar, thus providing a better integration of ITS-G5 vehicles in the future.
An embedded system succeeds on connecting a microwave radar and an IEEE 802.11p modem, providing an intelligent device in the middle that is powerful enough to perform all needed calculations.
Functional tests have been performed in order to confirm the RSU’s ability to communicate with other devices that implement the same standard and to verify the system’s reported values such as coordinates and speed. Both tests have been successful. Accuracy tests have been performed and the system’s accuracy shows promising results. The accuracy in X and Y directions has been measured to 248 and 38 cm, respectively when using raw RSU data.
Kalman filtering has also been applied to the RSU data. As a result, the reported positions from the RSU are smoother, continuous and more accurate. After filtering has been applied, the RMS error in the X and Y directions has decreased to 146 and 38 cm, respectively.
With this technology, intelligent transportation will be realized earlier during the implementation phase, where just a small portion of vehicles on public roads will feature a cooperative communications system. It is also a long-term solution, since older vehicles will keep driving on public roads for a long time. By implementing the system in blind spots, intelligent vehicles will benefit from extra active safety as they will be warned about surrounding vehicles.
a CDC-ECM is an implementation for Ethernet over USB.
b The Raspberry Pi is a credit-card-sized single-board computer.
c Drive C2X is a European integrated project on ITS deployment.
d Wireshark is a free and open-source packet analyzer.
e The ITS-G5 dissectors were fetched from AMB Consulting (Antibes, France).
f WGS84: World Geodetic System 1984, last revised in 2004 according to the National Geospatial-Intelligence Agency.
Vlastaras D, Leston D: Improved Traffic Safety by Wireless Vehicular Communication. Department of Electrical and Information Technology, Lund University, Lund, Sweden; 2013.
Abbas T: Measurement Based Channel Characterization and Modeling for Vehicle-to-Vehicle Communications. PhD thesis, Department of Electrical and Information Technology, Faculty of Engineering, Lund University; 2014.
Short MS, Woelfl GA, Chang CJ: Effects of traffic signal installation on accidents. Accid. Anal. Prev 1982, 14(2):135-145. 10.1016/0001-4575(82)90080-X
Stamatiadis N, Taylor WC, Kelvey McFX: Elderly drivers and intersection accidents. Transportation Q 1991, 45(3):377.
Poch M, Mannering F: Negative binomial analysis of intersection-accident frequencies. J. Transportation Eng 1996, 122(2):105-113. 10.1061/(ASCE)0733-947X(1996)122:2(105)
Belyaev E, Molchanov P, Vinel A, Koucheryavy Y: The use of automotive radars in video-based overtaking assistance applications. IEEE Trans. Intell. Transportation Syst 2013, 14(3):1035-1042.
Smart Microwave Sensors GmbH: UMRR Traffic Management Sensor Full Documentation. Smart Microwave Sensors GmbH, Germany; 2012.
Robert Bosch GmbH: CAN Specification. Robert Bosch GmbH, Germany; 1991.
European Telecommunications Standards Institute: ETSI TS 102 636-4-1 V1.1.1. European Telecommunications Standards Institute, France; 2011.
European Telecommunications Standards Institute: ETSI TS 102 636-5-1 V1.1.1. European Telecommunications Standards Institute, France; 2011.
European Telecommunications Standards Institute: ETSI TS 102 637-2 V1.2.1. European Telecommunications Standards Institute, France; 2011.
Topcon Positioning Systems, Inc: Topcon GRS-1, GNSS Receiver and Field Controller, Brochure. Topcon Positioning Systems, Inc., USA; 2013.
Allan DW, Ashby N, Hodge CC: The Science of Timekeeping, Application Note 1289. 1997.
Mills D, Delaware U, Ed JM, Burbank J, Kasch W, ISC: Network time protocol version 4: Protocol and algorithms specification (RFC5905). Internet Engineering Task Force (IETF) (2010)
Time Service Department: Leap Seconds. Time Service Department, U.S. Naval Observatory, Washington, DC, USA; 2012.
Gambis D: Bulletin c 43. Earth Orientation Center of International Earth Rotation and Reference Systems Service (IERS) (2012)
Kalman RE: A new approach to linear filtering and prediction problems. Trans. ASME–J. Basic Eng 1960, 82(Series D):35-45.
Gustafsson F: Statistical Sensor Fusion. Studentlitteratur, Lund, Sweden; 2010.
Welch G, Bishop G: An introduction to the kalman filter. Technical report, Department of Computer Science, University of North Carolina at Chapel Hill (2006)
The authors would like to thank Volvo Cars Corporation for their cooperation and supply of equipment and vehicles during the tests and also the GIS center at Lund University for providing the high-precision GPS receiver. An earlier version of this paper was originally presented at the 13th International Conference on ITS Telecommunications which was held in Tampere, Finland during 5–7 November 2013. Kalman filtering for error reduction, smoothing and path prediction is the additional contribution of this newer version.
The authors declare that they have no competing interests.
DV is the main author of this paper and has done most of the research. He built the software and hardware for the RSU and performed tests and measurements. DL was responsible for the hardware design. He also participated in the early testing. TA and FT supervised the work. All authors read and approved the final manuscript.
Authors’ original submitted files for images
Below are the links to the authors’ original submitted files for images.
About this article
Cite this article
Vlastaras, D., Abbas, T., Leston, D. et al. Vehicle detection through wireless vehicular communication. J Wireless Com Network 2014, 146 (2014). https://doi.org/10.1186/1687-1499-2014-146
- Roadside unit
- Universal medium-range radar
- IEEE 802.11p
- Kalman filter