A Low-Cost Open Hardware System for Collecting Traffic Data Using Wi-Fi Signal Strength
<p>Illustration of deployment plan for the proposed hardware system.</p> "> Figure 2
<p>Experimental setup: Scenario 1 (Low traffic road: Heisenbergstraße).</p> "> Figure 3
<p>Experimental setup: Scenario 2 (Heavy traffic road: Steinfurter Straße).</p> "> Figure 4
<p>Illustration of the web-application developed for ground-truth data video stream analysis.</p> "> Figure 5
<p>Overall flow of analysis.</p> "> Figure 6
<p>Illustration of time window and associated signal fluctuation pattern identification (Units: Time = Milliseconds, Strength = dBm).</p> "> Figure 7
<p>Flow chart of algorithm for vehicle detection.</p> "> Figure 8
<p>Parameters summary statistics for Heisenbergstrasse.</p> "> Figure 9
<p>Parameters summary statistics for Steinfurter Straße.</p> ">
Abstract
:1. Introduction
2. Related Work
2.1. Traffic Monitoring Techniques
- Intrusive devices
- Non-intrusive devices
- Off-roadways devices
- Sensor combinations devices
- Relatively low-cost devices
2.1.1. Intrusive Devices
2.1.2. Non-Intrusive Devices
2.1.3. Off-Roadways Devices
2.1.4. Sensor Combinations Devices
2.1.5. Relatively Low-Cost Devices
2.2. Privacy and Traffic Monitoring
3. Materials and Methods
3.1. System Design
3.1.1. Receiver
3.1.2. Transmitter
- Band: 2.4 GHz
- Standard: Wireless-N
- Width: 20 MHz
- Encryption: mixed WPA/WPA2 PSK (CCMP)
- Bitrate: 144.4 Mbit/s
- Time lapse in the data capture: 100 ms
- Transmission time: 10 ms
- Packet size: 88.5 Bytes
3.2. System Implementation
- Heisenbergstrasse: 103 Cars/hour and 286 Bicycles/hour
- Steinfurter Straße: 32 Trucks/hour, 684 Cars/hour and 50 Bicylce/hour
4. Results
4.1. Noise Filtering
4.2. Vehicle Detection
4.2.1. Maximum RSSI Value
4.2.2. Time Window
4.3. Vehicle Identification
4.3.1. Using Two Parameter Values
4.3.2. Using Machine Learning: k-Nearest Neighbour (kNN)
- Scenario 1: Three labels - Bicycle, Car and No vehicle
- Scenario 2: Four labels - Bicycle, Car, Truck and No vehicle
4.4. Evaluation
4.5. Validation: Precision, Recall and F Measure
5. Discussion
6. Outlook
7. Conclusions
Author Contributions
Funding
Acknowledgments
Conflicts of Interest
Abbreviations
AVI | Automatic Vehicle Identification |
CSI | Channel State Information |
DSP | Digital Signal Processor |
GPS | Global Positioning System |
ICT | Information and Communication Technology |
IoT | Internet of Things |
LQI | Link Quality Indicator |
MAG | Magnetometer |
Nitrogen oxides | |
PM | Particulate Matter |
QoL | Quality of Life |
RSSI | Received Signal Strength Indication |
UHI | Urban Heat Islands |
References
- Lord, D.; Washington, S. Introduction. In Safe Mobility: Challenges, Methodology and Solutions; Emerald Publishing Limited: Bingley, UK, 2018; pp. 1–10. [Google Scholar]
- Birgitta, B.; Thomas, L.; Dietrich, H. Guidelines for community noise. In The WHO Expert Task Force Meeting on Guidelines for Community Noise; WHO: Geneva, Switzerland, 1999; pp. 26–30. [Google Scholar]
- Cai, Y.; Hansell, A.L.; Blangiardo, M.; Burton, P.R.; BioSHaRE; de Hoogh, K.; Doiron, D.; Fortier, I.; Gulliver, J.; Hveem, K.; et al. Long-term exposure to road traffic noise, ambient air pollution, and cardiovascular risk factors in the HUNT and lifelines cohorts. Eur. Heart J. 2017, 38, 2290–2296. [Google Scholar] [CrossRef] [PubMed] [Green Version]
- Xu, M. Quantify Effects of Traffic, Grasslands and Water Bodies on Urban Heat Islands: Kent Vale Case Study. J. Environ. Bio Res. 2017, 1, 1. [Google Scholar]
- Agency, E.E. Air Pollution Sources. 2017. Available online: https://www.eea.europa.eu/themes/air/air-pollution-sources (accessed on 18 August 2018).
- Mertens, M.; Kerkweg, A.; Grewe, V.; Jöckel, P. Impact of road traffic emissions on tropospheric ozone in Europe for present day and future scenarios. In Proceedings of the 2016 EGU General Assembly Conference, Vienna, Austria, 17–22 April 2016; Volume 18, p. 10100. [Google Scholar]
- Pedersen, M.; Halldorsson, T.I.; Olsen, S.F.; Hjortebjerg, D.; Ketzel, M.; Grandström, C.; Raaschou-Nielsen, O.; Sørensen, M. Impact of road traffic pollution on pre-eclampsia and pregnancy-induced hypertensive disorders. Epidemiology (Camb. MA) 2017, 28, 99–106. [Google Scholar] [CrossRef] [PubMed]
- Roswall, N.; Raaschou-Nielsen, O.; Ketzel, M.; Gammelmark, A.; Overvad, K.; Olsen, A.; Sørensen, M. Long-term residential road traffic noise and NO2 exposure in relation to risk of incident myocardial infarction—A Danish cohort study. Environ. Res. 2017, 156, 80–86. [Google Scholar] [CrossRef] [PubMed]
- Gulliver, J.; Morley, D.; Dunster, C.; McCrea, A.; van Nunen, E.; Tsai, M.Y.; Probst-Hensch, N.; Eeftens, M.; Imboden, M.; Ducret-Stich, R.; et al. Land use regression models for the oxidative potential of fine particles (PM 2.5) in five European areas. Environ. Res. 2018, 160, 247–255. [Google Scholar] [CrossRef] [PubMed]
- Forehead, H.; Huynh, N. Review of modelling air pollution from traffic at street-level-The state of the science. Environ. Pollut. 2018, 241, 775–786. [Google Scholar] [CrossRef] [PubMed]
- Polk, A.; Kranig, J.; Minge, E. Field test of non-intrusive traffic detection technologies. In Intelligent Transportation: Realizing the Benefits. Proceedings of the 1996 Annual Meeting of ITS America; ITS America: Washington, DC, USA, 1996. [Google Scholar]
- Grote, M.; Williams, I.; Preston, J.; Kemp, S. A practical model for predicting road traffic carbon dioxide emissions using Inductive Loop Detector data. Transp. Res. Part D Transp. Environ. 2018, 63, 809–825. [Google Scholar] [CrossRef]
- Hancke, G.P.; de Carvalho e Silva, B.; Hancke, G.P., Jr. The role of advanced sensing in smart cities. Sensors 2013, 13, 393–425. [Google Scholar] [CrossRef] [PubMed]
- Degbelo, A.; Granell, C.; Trilles, S.; Bhattacharya, D.; Casteleyn, S.; Kray, C. Opening up smart cities: Citizen-centric challenges and opportunities from GIScience. ISPRS Int. J. Geo-Inf. 2016, 5, 16. [Google Scholar] [CrossRef] [Green Version]
- Nellore, K.; Hancke, G. A survey on urban traffic management system using wireless sensor networks. Sensors 2016, 16, 157. [Google Scholar] [CrossRef] [PubMed]
- Oh, S.; Ritchie, S.; Oh, C. Real-time traffic measurement from single loop inductive signatures. Transp. Res. Rec. J. Transp. Res. Board 2002, 1804, 98–106. [Google Scholar] [CrossRef]
- Mimbela, L.E.Y.; Klein, L.A. Summary of Vehicle Detection and Surveillance Technologies Used in Intelligent Transportation Systems; Federal Highway Administration, Intelligent Transportation Systems Joint Program Office: Washington, DC, USA, 2000. [Google Scholar]
- Balid, W.; Tafish, H.; Refai, H.H. Intelligent Vehicle Counting and Classification Sensor for Real-Time Traffic Surveillance. IEEE Trans. Intell. Transp. Syst. 2018, 19, 1784–1794. [Google Scholar] [CrossRef]
- Buch, N.; Velastin, S.A.; Orwell, J. A review of computer vision techniques for the analysis of urban traffic. IEEE Trans. Intell. Transp. Syst. 2011, 12, 920–939. [Google Scholar] [CrossRef]
- Tang, Y.; Zhang, C.; Gu, R.; Li, P.; Yang, B. Vehicle detection and recognition for intelligent traffic surveillance system. Multimed. Tools Appl. 2017, 76, 5817–5832. [Google Scholar] [CrossRef]
- Martin, P.T.; Feng, Y.; Wang, X. Detector Technology Evaluation; Technical Report; Utah Department of Transportation, Research Division: Salt Lake City, UT, USA, 2003. [Google Scholar]
- Cheung, S.Y.; Varaiya, P.P. Traffic Surveillance by Wireless Sensor Networks. Ph.D. Thesis, University of California, Berkeley, CA, USA, 2006. [Google Scholar]
- Orosz, G.; Wilson, R.E.; Stépán, G. Traffic jams: Dynamics and control. Philos. Trans. R. Soc. A Math. Phys. Eng. Sci. 2010, 368, 4455–4479. [Google Scholar] [CrossRef] [PubMed]
- Haoui, A.; Kavaler, R.; Varaiya, P. Wireless magnetic sensors for traffic surveillance. Transp. Res. Part C Emerg. Technol. 2008, 16, 294–306. [Google Scholar] [CrossRef] [Green Version]
- Fang, J.; Meng, H.; Zhang, H.; Wang, X. A low-cost vehicle detection and classification system based on unmodulated continuous-wave radar. In Proceedings of the ITSC 2007 Intelligent Transportation Systems Conference, Seattle, WA, USA, 30 September–3 October 2007; pp. 715–720. [Google Scholar]
- Salvadori, C.; Petracca, M.; Bocchino, S.; Pelliccia, R.; Pagano, P. A low-cost vehicle counter for next-generation ITS. J. Real-Time Image Process. 2015, 10, 741–757. [Google Scholar] [CrossRef]
- Depatla, S.; Muralidharan, A.; Mostofi, Y. Occupancy estimation using only WiFi power measurements. IEEE J. Sel. Areas Commun. 2015, 33, 1381–1393. [Google Scholar] [CrossRef]
- Wang, Y.; Yang, J.; Liu, H.; Chen, Y.; Gruteser, M.; Martin, R.P. Measuring human queues using WiFi signals. In Proceedings of the 19th Annual International Conference on Mobile Computing & Networking, Miami, FL, USA, 30 September–4 October 2013; pp. 235–238. [Google Scholar]
- Hong, F.; Wang, X.; Yang, Y.; Zong, Y.; Zhang, Y.; Guo, Z. WFID: Passive device-free human identification using WiFi signal. In Proceedings of the 13th International Conference on Mobile and Ubiquitous Systems: Computing, Networking and Services, Hiroshima, Japan, 28 November–1 December 2016; pp. 47–56. [Google Scholar]
- Pu, Q.; Gupta, S.; Gollakota, S.; Patel, S. Whole-home gesture recognition using wireless signals. In Proceedings of the 19th Annual International Conference on Mobile Computing & Networking, Miami, FL, USA, 30 September–4 October 2013; pp. 27–38. [Google Scholar]
- Won, M.; Zhang, S.; Son, S.H. WiTraffic: Low-cost and non-intrusive traffic monitoring system using WiFi. In Proceedings of the 2017 26th International Conference on Computer Communication and Networks (ICCCN), Vancouver, BC, Canada, 31 July–3 August 2017; pp. 1–9. [Google Scholar]
- Roy, S.; Sen, R.; Kulkarni, S.; Kulkarni, P.; Raman, B.; Singh, L.K. Wireless across road: RF based road traffic congestion detection. In Proceedings of the 2011 Third International Conference on Communication Systems and Networks (COMSNETS), Bangalore, India, 4–8 January 2011; pp. 1–6. [Google Scholar]
- Horvat, G.; Šoštarić, D.; Žagar, D. Using radio irregularity for vehicle detection in adaptive roadway lighting. In Proceedings of the MIPRO 2012: 35th International Convention, Opatija, Croatia, 21–25 May 2012; pp. 748–753. [Google Scholar]
- Haferkamp, M.; Al-Askary, M.; Dorn, D.; Sliwa, B.; Habel, L.; Schreckenberg, M.; Wietfeld, C. Radio-based traffic flow detection and vehicle classification for future smart cities. In Proceedings of the 2017 IEEE 85th Vehicular Technology Conference (VTC Spring), Sydney, Australia, 4–7 June 2017; pp. 1–5. [Google Scholar]
- Lewandowski, M.; Płaczek, B.; Bernas, M.; Szymała, P. Road Traffic Monitoring System Based on Mobile Devices and Bluetooth Low Energy Beacons. Wirel. Commun. Mob. Comput. 2018, 2018, 3251598. [Google Scholar] [CrossRef]
- Sifuentes, E.; Casas, O.; Pallas-Areny, R. Wireless magnetic sensor node for vehicle detection with optical wake-up. IEEE Sens. J. 2011, 11, 1669–1676. [Google Scholar] [CrossRef]
- Lu, R.; Lin, X.; Shi, Z.; Shen, X.S. A lightweight conditional privacy-preservation protocol for vehicular traffic-monitoring systems. IEEE Intell. Syst. 2013, 28, 62–65. [Google Scholar] [CrossRef]
- Hoh, B.; Iwuchukwu, T.; Jacobson, Q.; Work, D.B.; Bayen, A.M.; Herring, R.; Herrera, J.C.; Gruteser, M.; Annavaram, M.; Ban, J. Enhancing Privacy and Accuracy in Probe Vehicle-Based Traffic Monitoring via Virtual Trip Lines. IEEE Trans. Mob. Comput. 2012, 11, 849–864. [Google Scholar] [CrossRef] [Green Version]
- Yang, C.; Qin, B.; Zhou, X.; Sun, Y.; He, S.; Wu, Q. Privacy-Preserving Traffic Monitoring in Vehicular Ad Hoc Networks. In Proceedings of the 2015 IEEE 29th International Conference on Advanced Information Networking and Applications Workshops (WAINA), Gwangju, Korea, 25–27 March 2015; pp. 22–24. [Google Scholar]
- Cote, M.; Albu, A.B. Teaching Computer Vision and Its Societal Effects: A Look at Privacy and Security Issues From the Students’ Perspective. In Proceedings of the 2017 IEEE Conference on Computer Vision and Pattern Recognition Workshops (CVPRW), Honolulu, HI, USA, 21–26 July 2017; pp. 1378–1386. [Google Scholar]
- Lu, R.; Lin, X.; Zhu, H.; Ho, P.H.; Shen, X. ECPP: Efficient conditional privacy preservation protocol for secure vehicular communications. In Proceedings of the INFOCOM 2008: 27th Conference on Computer Communications, Phoenix, AZ, USA, 13–18 April 2008; pp. 1229–1237. [Google Scholar]
- Lin, X.; Sun, X.; Ho, P.H.; Shen, X. GSIS: A secure and privacy-preserving protocol for vehicular communications. IEEE Trans. Veh. Technol. 2007, 56, 3442–3456. [Google Scholar]
- Raya, M.; Hubaux, J.P. Securing vehicular ad hoc networks. J. Comput. Secur. 2007, 15, 39–68. [Google Scholar] [CrossRef] [Green Version]
- Gupta, S. WiFi-Traffic-Videotool. 2018. Available online: https://github.com/Albertios/Bachelor-Thesis (accessed on 27 August 2018).
- European Commission. Free Wireless Internet Hotspots in Public Spaces. 2018. Available online: https://ec.europa.eu/commission/news/free-wireless-internet-hotspots-public-spaces-2018-mar-20_en (accessed on 19 August 2018).
- Ho, T.J.; Chung, M.J. An approach to traffic flow detection improvements of non-contact microwave radar detectors. In Proceedings of the 2016 International Conference on Applied System Innovation (ICASI), Okinawa, Japan, 26–30 May 2016; pp. 1–4. [Google Scholar]
- Chao, K.H.; Chen, P.Y. An intelligent traffic flow control system based on radio frequency identification and wireless sensor networks. Int. J. Distrib. Sens. Netw. 2014, 10, 694545. [Google Scholar] [CrossRef]
Technology | Concept | Examples | Advantages | Disadvantages |
---|---|---|---|---|
Intrusive | Installed directly into the pavement surface | Inductive loops, magnetic detectors, Micro-loop probes, pneumatic road tubes, piezoelectric and other weigh-in-motion devices [16,18] | Unresponsive to bad weather, Accurate vehicle count | Installation and maintenance need pavement cut and lane closure, expensive, large and consume much power |
Non-intrusive | Devices mounted overhead on roadways or roadsides | Video image processing, microwave radar, laser radar, passive infrared, ultrasonic, passive acoustic array [19,20] | Vehicle speed and position information can be accurately measured, enable multiple lane monitoring | Performance affected by environmental circumstances, installation may require lane closure, expensive |
Off-roadways | Technologies that do not require any hardware deployment under the pavement or mounted overhead/roadside | Automatic vehicle identification (AVI), Global Positioning System (GPS), mobile phones [21] | Enable high percentage of roads coverage, traffic surveillance at high accuracy | Expensive, remote sensing of aerial images for traffic monitoring is not real time, privacy concerns |
Sensor combinations | To overcome certain limitations of individual technologies discussed above, combinations of sensors are used | Passive infrared with ultrasound, Infrared-Doppler microwave radar, Series infrared-Doppler radar-ultrasound sensors [17], Magnetic sensor with optical sensors [36] | Synergistic effect to enhance accuracy in vehicle detection | Expensive, bulky, some limitations of individual sensors and high power consumption |
Relatively low-cost devices | Low-cost, portable, and easy-to-install technologies for real-time traffic monitoring | Continuous-wave radar [25], Computer vision low cost sensors [26], Radio-wave technologies [31,32,33,34] | Relatively less expensive than other sophisticated devices, easy to install | Specialised hardware and procedures required, limited computation capability for large dataset analysis, privacy concerns, and unsuitability for crowdsourcing applications |
Vehicle | Threshold (in dBm) |
---|---|
Cars | ≥611 |
Bicycles | <611 |
Vehicle | Threshold (in dBm) |
---|---|
Trucks | >1849 |
Cars | ≥357.5 &≤1849 |
Bicycles | <357.5 |
Vehicle Type | Classification Technique | Ground Truth | |||
---|---|---|---|---|---|
Time Window | Max. RSSI | Time Window & RSSI | k-NN | ||
Cars | 176 | 177 | 104 | 195 | 182 |
Bicycles | 510 | 371 | 252 | 468 | 467 |
Vehicle Type | Classification Technique | Ground Truth | |||
---|---|---|---|---|---|
Time Window | Max. RSSI | Time Window & RSSI | k-NN | ||
Trucks | 64 | 45 | 16 | 45 | 45 |
Cars | 826 | 842 | 495 | 1004 | 1000 |
Bicycles | 297 | 31 | 29 | 138 | 66 |
Classification Technique | Vehicle Type | Precision | Recall | F Measure |
---|---|---|---|---|
Time window | Car (tp = 61) | 0.3465 | 0.3351 | 0.3407 |
Bicycle (tp = 40) | 0.0784 | 0.0856 | 0.08188 | |
Max. RSSI | Car (tp = 64) | 0.3615 | 0.3516 | 0.3565 |
Bicycle (tp = 47) | 0.1266 | 0.1006 | 0.1121 | |
Time window & Max.RSSI | Car (tp = 45) | 0.4326 | 0.2472 | 0.3146 |
Bicycle (tp = 24) | 0.0952 | 0.0513 | 0.0667 | |
k-Nearest Neighbour | Car (tp = 182) | 0.934 | 1 | 0.9658 |
Bicycle (tp = 467) | 0.997 | 1 | 0.9984 |
Classification Technique | Vehicle Type | Precision | Recall | F Measure |
---|---|---|---|---|
Time window | Truck (tp = 21) | 0.3281 | 0.4666 | 0.3853 |
Car (tp = 425) | 0.514 | 0.425 | 0.465 | |
Bicycle (tp = 2) | 0.0067 | 0.0303 | 0.0110 | |
Max. RSSI | Truck (tp = 15) | 0.3333 | 0.3333 | 0.3333 |
Car (tp = 451) | 0.5356 | 0.451 | 0.4896 | |
Bicycle (tp = 0) | 0 | 0 | 0 | |
Time window & Max.RSSI | Truck (tp = 7) | 0.4375 | 0.1555 | 0.2295 |
Car (tp = 249) | 0.5030 | 0.2490 | 0.3331 | |
Bicycle (tp = 1) | 0.0344 | 0.0151 | 0.0210 | |
k-Nearest Neighbour | Truck (tp = 42) | 0.9333 | 0.9333 | 0.933 |
Car (tp = 1000) | 0.9960 | 0.9860 | 0.9909 | |
Bicycle (tp = 47) | 0.3405 | 0.7121 | 0.4607 |
Technology | High Spatial Coverage | Insensitive to Weather | Low-Cost | Compact | For Crowdsourcing | Privacy Preserving |
---|---|---|---|---|---|---|
Inductive loop [15,18] | ✗ | ✓ | ✗ | ✗ | ✗ | ✓ |
Microwave radar [46] | ✗ | ✗ | ✗ | ✗ | ✗ | ✓ |
Acoustic [15] | ✗ | ✓ | ✗ | ✗ | ✗ | ✓ |
Magnetometer [24] | ✗ | ✗ | ✗ | ✗ | ✗ | ✓ |
Infrared [17] | ✗ | ✗ | ✗ | ✗ | ✗ | ✓ |
Aerial/Satellite Imaging/GPS [22] | ✓ | ✗ | ✗ | ✗ | ✓ | ✗ |
Ultrasonic [20] | ✗ | ✗ | ✗ | ✗ | ✗ | ✓ |
VIP (Video image processor) [19] | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ |
RFID (Radio-frequency identification) [47] | ✗ | ✓ | ✗ | ✗ | ✗ | ✗ |
Relatively low-cost devices | ||||||
Continuous-wave radar [25] | ✗ | ✓ | ✓ | ✗ | ✗ | ✓ |
Computer vision [26] | ✗ | ✗ | ✓ | ✗ | ✓ | ✗ |
WiFi [31] | ✓ | ✓ | ✗ | ✓ | ✓ | ✓ |
Bluetooth based [35] | ✓ | ✓ | ✓ | ✓ | ✗ | ✗ |
Our Method | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
© 2018 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).
Share and Cite
Gupta, S.; Hamzin, A.; Degbelo, A. A Low-Cost Open Hardware System for Collecting Traffic Data Using Wi-Fi Signal Strength. Sensors 2018, 18, 3623. https://doi.org/10.3390/s18113623
Gupta S, Hamzin A, Degbelo A. A Low-Cost Open Hardware System for Collecting Traffic Data Using Wi-Fi Signal Strength. Sensors. 2018; 18(11):3623. https://doi.org/10.3390/s18113623
Chicago/Turabian StyleGupta, Shivam, Albert Hamzin, and Auriol Degbelo. 2018. "A Low-Cost Open Hardware System for Collecting Traffic Data Using Wi-Fi Signal Strength" Sensors 18, no. 11: 3623. https://doi.org/10.3390/s18113623
APA StyleGupta, S., Hamzin, A., & Degbelo, A. (2018). A Low-Cost Open Hardware System for Collecting Traffic Data Using Wi-Fi Signal Strength. Sensors, 18(11), 3623. https://doi.org/10.3390/s18113623