| Literature DB >> 30654549 |
Jonathon Handscombe1, Hong Qing Yu2.
Abstract
There are many methods of collecting traffic flow data, especially using smart phone apps. However, few current solutions balance the need for collecting full route data whilst respecting privacy and remaining low-cost. This project looks into the creation of a wireless sensor network (WSN) that can balance these requirements in an attempt to negate some of the concerns that come with this type of technology. Our proposed system only collects location data within a defined city area. This data is collected with a randomized identifier, which limits repeated identification of the source vehicle and its occupants. Data collected is shared between vehicle and roadside base stations when the two are in range. To deal with the fluid nature of this scenario, a purposely designed Media Access Control (MAC) protocol was designed and implemented using the beacon-slotted ALOHA (Advocates of Linux Open-source Hawaii Association) mechanism.Entities:
Keywords: Arduino; GPS (Global Positioning System); MAC; Raspberry Pi; WSN; beacon; slotted ALOHA
Year: 2019 PMID: 30654549 PMCID: PMC6358924 DOI: 10.3390/s19020347
Source DB: PubMed Journal: Sensors (Basel) ISSN: 1424-8220 Impact factor: 3.576
Figure 1Illustration demonstrating implementation of pneumatic road tubes. The blue lines represent the road tube and the green box representing the counting device.
Figure 2Illustration demonstrating implementation of two induction loops. The blue line represents the wire embedded into the road and the green box representing the power supply and detecting device.
Figure 3Illustration demonstrating implementation of two piezoelectric sensors. The blue line represents the sensor placed within a groove in the road and the green box representing the counting device.
Comparison between the different solutions and this project’s system.
| Intrusive or Non-intrusive | Gathered | Area Covered | Privacy | Lifespan | |
|---|---|---|---|---|---|
| Pneumatic Road Tube | Intrusive: | Count | Small: | Full: | Short-term |
| Video Image Detection | Intrusive: | Counts, | Small: | Little: | Long-term |
| Induction Loop | Intrusive: | Count, | Small: | Full: | Long-term |
| Piezoelectric Sensors | Intrusive: | Count, | Small: | Full: | Long-term |
| Manual Counting | Non-intrusive: No lane or road closures required | Count, | Small: | Little: | Short-term |
| Smartphone App | Non-intrusive: No lane or road closures required | Vehicle type, | Large: | Little: | Long-term |
| Artefact | Intrusive: | Full route data, Current location | Medium: | Medium: | Long-term |
Figure 4Diagram demonstrating a network using the ALOHA protocol with grey boxes indicating collisions and overlapping. White boxes indicate successful communication.
Figure 5Diagram demonstrating a network using the slotted ALOHA protocol with grey boxes indicating collisions and overlapping. White boxes indicate successful communication.
Figure 6Implemented packet structure.
Figure 7Diagram demonstrating a network using the slotted ALOHA with beacons with grey boxes indicating collisions and overlapping. White boxes indicate successful communication.
Figure 8Diagram showing the geofence (yellow area) implementation.
Figure 9Photo showing two transceivers with a 1p coin.
Figure 10Photo showing a transceiver with soldered on pin headers.
Figure 11Photo showing the transmitter Arduino Uno.
Figure 12Photo showing the receiver Arduino Uno.
Figure 13Photo showing the Neo-6M GPS Module with Ceramic Antenna.
Figure 14Photo showing the Arduino Uno GPS module testing Arduino Uno.
Figure 15Screenshot of the Serial Monitor showing the output of the NMEA example with redacted GPS coordinates.
Figure 16Photo showing the final vehicle tracking node.
Figure 17Photo showing the final base station.
Figure 18Photo showing the Traffic Generator Node.
Total Length in Seconds for the First Three Experiments.
| Experiment Number | Length (seconds) |
|---|---|
| 1 | 16.69 |
| 2 | 18.47 |
| 3 | 20.75 |
| Average (s) | 18.64 |
Total Length in Seconds for the Second Three Experiments.
| Experiment Number | Length (seconds) |
|---|---|
| 4 | 17.17 |
| 5 | 18.77 |
| 6 | 61.13 |
| Average (s) | 32.26 |
Data from the base station perspective.
| Experiment # | Traffic Generator Active | Slots Total | Slots Used | Efficiency |
|---|---|---|---|---|
| 1 | No | 69 | 56 | 81.2% |
| 2 | No | 81 | 62 | 76.5% |
| 3 | No | 91 | 59 | 64.8% |
| Average Efficiency | 74.2% | |||
| 4 | Yes | 67 | 60 | 89.6% |
| 5 | Yes | 76 | 66 | 86.8% |
| 6 | Yes | 283 | 219 | 77.4% |
| Average Efficiency | 84.6% | |||
Data from the tracking node perspective.
| Experiment # | Traffic Generator Active | Beacons Missed | Resend Totals |
|---|---|---|---|
| 1 | No | 6 | 9 |
| 2 | No | 14 | 14 |
| 3 | No | 9 | 11 |
| 4 | Yes | 3 | 6 |
| 5 | Yes | 9 | 9 |
| 6 | Yes | 51 | 55 |
Figure 19Screenshot of Google Maps showing the geofenced area [25].
Figure 20Screenshot of Google Maps showing routes taken and location of the base station [26].
Number of Coordinates Collected during each experiment.
| Experiment Number | Scenario | Coordinates Recorded Within Geofence | Coordinates Recorded Outside of Geofence | SessionID |
|---|---|---|---|---|
| 1 | Drive By | 16 | 0 | 3978 |
| 2 | Stop | 13 | 0 | 6533 |
| 3 | Drive By | 15 | 0 | 5626 |
| 4 | Stop | 13 | 0 | 2179 |
| 5 | Drive By | 16 | 0 | 1663 |
| 6 | Stop | 13 | 0 | 2250 |
| 7 | Drive By | 16 | 0 | 5342 |
| 8 | Stop | 15 | 0 | 4361 |
Percentage of Coordinates Collected Shared with Base Station During Experiment
| Experiment Number | Scenario | Coordinates Recorded Within Geofence | Coordinates Shared | Percentage Shared |
|---|---|---|---|---|
| 1 | Drive By | 16 | 8 | 50% |
| 2 | Stop | 13 | 7 | 53.8% |
| 3 | Drive By | 15 | 9 | 60% |
| 4 | Stop | 13 | 8 | 61.5% |
| 5 | Drive By | 16 | 10 | 62.5% |
| 6 | Stop | 13 | 8 | 61.5% |
| 7 | Drive By | 16 | 4 | 25% |
| 8 | Stop | 15 | 9 | 60% |
| Average Percentage Shared | 54.3% | |||
Network performance during experiments.
| Experiment Number | Scenario | Beacons Seen | Coordinates Shared | Packets Sent |
|---|---|---|---|---|
| 1 | Drive By | 47 | 8 | 12 |
| 2 | Stop | 86 | 7 | 13 |
| 3 | Drive By | 82 | 9 | 14 |
| 4 | Stop | 110 | 8 | 13 |
| 5 | Drive By | 87 | 10 | 14 |
| 6 | Stop | 126 | 8 | 10 |
| 7 | Drive By | 56 | 4 | 13 |
| 8 | Stop | 141 | 9 | 21 |