Abstract

Intelligent transportation infrastructure has gained significant research attention recently. In this paper, an innovative sensor network of smart road stud (SRS) is developed to enhance traffic detection infrastructure characterized by its functionality in traffic data collection, long/short range wireless data transmission, self-sustained power supply, and remote custom controlled lighting-based traffic guidance. Compared to the traditional traffic detectors and road studs, SRS nodes are installed on lane lines instead of lane center to enable the additional applications besides the detection function, such as traffic monitoring, congestion warning, routing guidance, and so on. SRS detects vehicles based on three-axis geomagnetic sensors. A vehicle detection algorithm is proposed correspondingly under different operation scenarios to count vehicles in two adjacent lanes. Its detecting accuracy can be further improved by a sensor network of multiple SRSs working cooperatively. Field test results show that the vehicle detection accuracy based on the SRS network is about 98% per lane, which is the same level as the commercial detector installed in center of lane, even under the non-standard driving behaviors such as crossing lane line. The high performance, value-added service, and low cost enable wide-range applications of SRS networks as part of intelligent traffic detection infrastructure.

1. Introduction

1.1. Background

Accurate traffic information collection is the premise to establish an intelligent transportation system and the basis to facilitate urban traffic operation plans, mitigate traffic congestion, and improve traffic safety. Monitoring technologies can be classified as intrusive, non-intrusive, and off-roadway. At present, typical traffic monitoring sensors on roadway mainly include inductive loop, geomagnetic detector, microwave radar, and video camera [14]. Inductive loop is the most accurate and stable traffic sensor which is the most widely used detector, but its relatively big size and the intrusive installation damage pavement surfaces and induce challenges in maintenance. Video camera and microwave radar are popular non-intrusive technologies. These sensors can be installed on roadsides without destroying pavement surfaces, but they are highly power-consuming and expensive. Lighting and weather conditions can affect their accuracy to generate a large amount of errors when there are vehicle occlusions. Geomagnetic sensor has unique advantages for its detection accuracy which is robust to weather conditions. It has small sizes and low costs and is easy to lay out as well as suitable for wireless communications [58].

Recently, GNSS data processing has becoming a very popular approach for traffic monitoring as an off-roadway technology because of its prevalence in personal devices and the applications beyond detection such as monitoring, vehicle tracking, and self-localization [9, 10]. However, the types of monitoring information provided are mainly aggregates (e.g., average speed and travel time) whose accuracy and timeliness mainly depend on vehicle probe density and the driving environment, which is not suitable for accurate monitoring of traffic flow rate and headway at the lane or road level.

The new traffic detection technology with high spatial resolution and high real-time performance has strong attraction and development potential, which can meet the needs of precise location and assessment of traffic anomalies, driving safety assistance, traffic control, etc. However, the typical traffic detection technology is not suitable for high-density and distributed deployment due to the limitations of installation mode, cost, and maintenance, which are only installed in key points of roads [11]. This presents the following challenges for new detection techniques. (1) Sensor node are expected to have the characteristics of low power consumption, self-power supply, and long life. Wired power supply greatly increases the cost of hardware, installation, operation and maintenance, and greatly limits the high-density and distributed deployment requirements of smart devices. Fully self-powered road sensing nodes can greatly reduce the difficulty of sensing network deployment and improve system elasticity. (2) A linear distribution, stable, and reliable communication network is expected. (3) It is expected to achieve low-cost, multiservice function system to balance the economic benefits of large-scale deployment requirements. If large-scale deployment is to be realized, only the detection function lacks the attraction of engineering implementation. By integrating multi-service functions such as traffic safety assistance and navigation, the technology attraction is improved.

1.2. Smart Road Stud Sensing System

Road studs have been used widely for more than 75 years in many countries to delineate road lanes at night and in poor visibility. In this paper, the smart road stud (SRS) based on the geomagnetic principles is proposed to collect the geomagnetic disturbance information of vehicles in real time. The collected traffic data can be sent to the server by its wireless transmission module. In addition, solar panels can provide continuous power, and LED flash lighting functions can be highlight road lines and guide route selection and driving [12, 13]. SRS can be applied for vehicle detection, congestion monitoring, parking management, and driving guidance, and it demonstrates broad market prospects.

A traffic detection algorithm is investigated as well based on advanced hardware development. There are many ways to monitor traffic flow based on geomagnetic data. The dual-window detection method is widely used to extract vehicle waveform information [1416], the finite state machine is also favored to detect vehicles [1719], and the peak-to-trough method was developed based on adaptive thresholds to distinguish driving states of vehicles [20, 21]. In this paper, the vehicle driving state is judged based on the characteristics of the geomagnetic disturbance waveform caused by a vehicle passing an SRS. Through the cross section layout of SRS, the multi-channel data are integrated to realize the comprehensive detection of traffic flow. This method makes traffic detection more precise and comprehensive.

Compared to traditional vehicle detection methods, the SRS installed on the lane line can provide safety assurance by light guidance with the same correct detection rate as middle-installed intrusive sensor. The SRS system is actually part of smart infrastructure, whose surveillance function is one important basis for many relevant applications such as traffic/congestion monitoring, parking management, and so on. Its long-life cycle supports the potential to improve our understanding and ways to manage the safety, capacity, and overall efficiency of transportation networks. The versatility of the SRS makes it potentially scalable. Now, the SRS system has been used in confluence area route guidance and abnormal condition warning and other application scenarios.

The rest of the paper is structured as follows. Section 2 presents the SRS system architecture. Section 3 describes the preprocessing method for raw magnetic field data and the two-lane vehicle detection algorithm by a single SRS. Section 4 presents the vehicle detection algorithm by cooperative SRSs. Finally, the field test procedure is described and the results presented in Section 5. The paper is concluded in Section 6.

2. SRS Detection System

2.1. Installation Method

Geomagnetic detectors are commonly embedded in the center of lanes. Their detection accuracy could be affected by oversized vehicles passing in adjacent lanes or non-standard driving behavior such as vehicle crossing lanes [22].

Figure 1 indicates a typical working scenario of SRSs, which are installed on separation lane markings as traditional road studs to delineate road lanes, and the color can deliver different traffic information.

A SRS node consists of a microprocessor, a tri-axis geomagnetic sensor, a rechargeable battery/solar power module, a wireless transmission module, and a LED lighting module, which can support all the functions including vehicle detection, wireless data transmission, self-powering, and visual guidance. All the components are sealed in a protective case as a road stud of a diameter of 120 mm and a height of 35 mm. The tri-axis geomagnetic sensor is employed as the core component sufficient to detect the magnetic fields distorted by the passing vehicles. Compared with other traffic detection technologies, SRS is superior due to its compact, energy-efficient, low-cost, and multi-functional characteristics. Additionally, it is easy to install and maintain without damaging road surfaces. The functional structure of an SRS node and its appearance is shown in Figure 2.

In Figure 3, a 3-dimensional coordinate is established to show that the xx-axis of the geomagnetic sensor is the same as the driving direction, the yy-axis is perpendicular to the road direction, and the zz-axis is perpendicular to the road surface. Bxx, Byy, and Bzz are the tri-axial magnetic induction values of an actual road surface sensor.

2.2. Geomagnetic Data Acquisition and Transmission

The SRS integrates two communication modes, which are Bluetooth 5.0 and Narrowband Internet of Things (NB-IoT), respectively, for local and remote communication. The collected data can be transmitted to the base station via NB-IoT and forwarded to its application server via the telecom platform. The NB-IoT multi-point uplink rate is 56 kbps, and the ideal downlink rate is 21.25 kbps. The sampling frequency used in the geomagnetic field is 100 HZ. By removing the invalid high-order data, a set of three-axis geomagnetic data can be 6 bytes, so the geomagnetic data rate is 600 bytes/s. A stud used in this study consumes about 60 mA on average when transmitting data using NB-IoT. It is unlikely to collect traffic data throughout a day, and using remote commands to set whether to enable data acquisition and transmission can significantly save energy.

The NB-IoT module is integrated inside a stud to enable remote data transmission. NB-IoT has a gain of 20 dB over the existing network and can cover areas that cannot be covered by deep underground GSM networks. The number of NB-IoT base stations is large, and each cell can handle 50 K connections, which is a huge connection necessary for realizing the Internet of Everything. NB-IoT supports PSM low-power modes with low power consumption and is integrated with eDRX technologies. An NB-IoT communication module costs less than $5. The NB-IoT network topology is shown in Figure 4.

In addition, SRSs allow adding repeaters on the roadside to control Bluetooth devices for data collection and aggregation. The roadside routing node can be powered by the regular power module or solar power system to ensure the full-day data collection. The Bluetooth function in a stud can guarantee at least a data transmission rate of 29 Kb/s, and the transmission of geomagnetic data to the concentrator can be easily realized. In the concentrator, 4G wireless signals or a network cable is used to realize geomagnetic data transmission with a large amount of data per day.

Additionally, the Bluetooth function can complete the local networking interaction task between the adjacent SRSs. SRS nodes are managed and controlled locally by repeaters based on bluetooth low power protocol.

3. Single-SRS Vehicle Detection Algorithm

Around the Earth is a magnetic field with a strength of about 0.5-0.6 Gauss, which varies from place to place with the different geomagnetic inclination and declination angles. Vehicles are ferrous objects which can be magnetized by the Earth and disturbed by even 10% of the geomagnetic field. By detecting the magnetic field changes using the 3-axis geomagnetic sensor, the vehicle presence and operation conditions can be recognized.

3.1. Geomagnetic Data Acquisition

The geomagnetic data acquisition process is expressed as follows. After collecting raw geomagnetic data wirelessly by roadside units, an abnormal data process and a moving average smooth filtering algorithm are employed to reduce the signal noise in Bx,y,z. The geomagnetic data waveform is shown in Figure 5.(1)Send acquisition commands which include start time and end time by the server.(2)The command is transmitted to the stud via the NB-IoT module, and it returns a response confirmation message.(3)Studs use internal RTC for data collection during specified periods.(4)The data are cached inside the SRS until the packet reaches 512 bytes and then are transmitted to the server.

3.2. Vehicle Waveform Extraction

The dual window vehicle detection algorithm (DWVDA) is commonly used to extract vehicle waveforms from the raw geomagnetic data. The environmental effect such as temperature, humidity, and so on will affect the device electrical characteristics, which lead to the drift of the basic value and the accompanying error result instability of DWVDA. In this study, a new differential double window vehicle detection algorithm (D-DWVDA) is proposed to extract vehicle waveforms [23], which avoids the use of background values. The working principle of D-DWVDA and flowchart are shown in Figure 6.

Win and Wout are defined as the vehicle arrival and vehicle departure windows, respectively. Ww is the time width of Win and Wout, which is set as 0.1 s, which is significantly shorter than the time headway of safe distance between two following vehicles at the road speed limit. The heights of Win and Wout are set as ThresIn and ThresOut, which are the threshold values of vehicles approaching and departing. By adjusting Ww, ThresIn and Thresout parameters, D-DWVDA has better adaptability to vehicle waveform extraction for different speed roads. ΔBx,y,z are the differential sequences of Bx,y,z. The advantages of D-DWVDA lie in the differential value ΔBx,y,z which can be used to decompose the cumulative errors caused by the basic value floating.

The working process is shown below.(1)With no vehicle passing, all ∆Bx,y,z values are located in Win.(2)If all the points of any axis of ∆Bx,y,z exceed Win, a vehicle is approaching and waveform extraction is started.(3)When all the ∆Bx,y,z values are located in Wout, the vehicle is departing, and waveform extraction is terminated.

3.3. Two-Lane Vehicle Detection by a Single SRS

For two-lane vehicle detection, there are typically five working scenarios as shown in Figure 7.Scenario 1: a vehicle passes by the left lane of an SRS, which is recorded as S (1,0).Scenario 2: a vehicle passes by the right lane of an SRS, which is recorded as S (0,1).Scenario 3: a vehicle passes over an SRS, which is recorded as S (1,1).Scenario 4: two vehicles pass through an SRS in parallel, which is recorded as S (1,1).Scenario 5: vehicle tire occupies lane makings, which is recorded as S (1,1) (Scenario 5 can be merged with Scenario 3 because their waveforms are similar).

The eigenvalues selected to distinguish the vehicle positions are {nump, numt, Bmax, Bmin, T, Tp/T, Tt/T}, which, respectively, represent the peak number, the trough number, the waveform maximum value, the minimum value, the waveform duration, the maximum value, and the relative position of maximum and minimum. Figure 8 shows a waveform corresponding to the five scenarios in Figure 7. The single SRS has a poor ability to identify the magnetic field of complex driving status in Scenarios 3, 4, and 5, which is the main error source of the detection. By data fusion and crossing validation among individual SRS, the discrimination of Scenarios 3, 4, and 5 can be accomplished to achieve high detection accuracy of each lane, which is called the cooperative working SRS system. According to the aforementioned characteristics, the result of a single SRS SA can be classified into corresponding scenarios and recorded as (t1,tp1,AL,AR), (t2,tp2,AL,AR)……(tn, tpn, AL,AR), where ti is the waveform start time and tpi is the end time. AL represents vehicles passing on the left lane of the sensor SA, while AR represents vehicles passing on the right lane. The value of AL, AR is 1 or 0, indicating whether vehicles are passing or not.

4. Vehicle Detection by Cooperative SRSs

A single SRS may mistakenly identify the vague working situations such as vehicles passing across lanes, oversized vehicles, or multiple vehicles passing in parallel. By utilizing multiple SRSs, the accuracy of distinguishing Scenarios 3, 4, and 5 can be greatly improved.

As shown in Figure 9, the SRSs are installed on the lane markings of the same road section. If a vehicle is detected by only one stud, it is impossible to identify the situations of two vehicles passing in parallel and a single vehicle passing over the studs, but the cooperative detection can distinguish these situations.

The left part of Figure 9 illustrates the vehicle driving scenarios, and the right part is the traffic flow information from the detection algorithm. The cases represented are summarized below.(1)Case 1: a single vehicle passes on one lane. SRS detection results are SC(0,1) and SD(1,0), both of which indicate a vehicle passing on Lane 3, thereby improving the detection capability.(2)Case 2: a vehicle passes over the lane line where the SRS SB is located, and the detection result is SB(1,1). By combining the status of SA and SB, the identification of Scenario 3 can be improved.(3)Case 3: one car on either side of SC. The detection result is SB(0,1), SC(1,1), and SD(1,0). The three results improve the detection capability for Scenario 4.(4)Case 4: this case shows a set of erroneous data detected by a single SRS. The erroneous detection result is SB(1,0) and SC(1,0). From SA, SB, and SC test results, it can be inferred that the vehicle passed between SB and SC, calibrating the wrong result of SB to SB(0,1).

Three SRSs are deployed for two-lane detection, by deploying the single-SRS detection algorithm, the results of which are Sx (t1, tp1, xL, xR), (t2, tp2, xL, xR)……(tn, tpn, xL, xR), x = A, B, C. The calibration algorithm for vehicle detection based on Co-SRS is shown in Figure 10. The algorithm steps are presented below.(1)Initialization: obtain the discrimination results SA(AL,AR), SB(BL,BR), SC(CL,CR), a = AL + AR, b = BL + BR, c = CL + CR.(2)If a, b, c > 0, then two vehicles are side by side in adjacent lanes, and the result is corrected to SA(0,1), SB(1,1), SC(1,0).(3)If c = 0; a, b≠0, then a vehicle passes between SA and SB, and the result is corrected to SA(0,1), SB(1,0).(4)If a = 0; b, c≠0, then a vehicle passes between SB and SC, and the result is corrected to SB(0,1), SC(1,0).(5)If a, c = 0; b ≠ 0, then a vehicle passes over SB, and the result is corrected to SB(1,1).

According to the calibrated SA,B,C, Numlane1 = [(ΣAR + ΣBL)/2] and Numlane2 = [(ΣBR + ΣCL)/2]. For multi-lane vehicle detection, n+ 1 SRSs are deployed on the section of n-lane road. Co-SRS calibration algorithm is deployed on tri-SRS repeatedly for multi-lane vehicle detection.

Collaborative SRS detection has the potential to improve the detection accuracy from two aspects. Firstly, the erroneous results of a single SRS can be cross validated and calibrated by cooperative SRSs. Secondly, it resolves the problems associated with a vehicle passing over/on the SRS and two vehicles in adjacent lanes side by side. Thirdly, Co-SRS can correct the misjudgment result caused by oversized vehicles driving in adjacent lanes.

5. Field Testing and Result Analysis

The experimental testing site was in an east-bound two-way 6-lane road named BinShui Road in Harbin, China. The geomagnetic inclination and declination are approximately 65° and 2°, respectively, as shown in Figure 11. The road studs were placed on the lane markings from east to west with a sampling frequency of 100 Hz each axis. The experiment was conducted on October 8, 2018, and the raw data were transmitted wirelessly to a remote computer station. Video surveillance signals were collected to count the actual numbers of vehicles on each lane.

5.1. Testing Results and Analysis of Single SRS Deployment

The actual traffic flow from video surveillance cameras is shown in Table 1. According to the driving direction, Lane 1, Lane 2, and Lane 3 are marked from road edge to centreline. Four SRSs as SA,B,C,D were installed on the lane lines of the one-way three-lane road from road edge to centreline correspondingly. Each SRS deploys the single-SRS vehicle detection algorithm for two-lane vehicle surveillance. Table 1 shows vehicle volumes of three lanes, respectively, detected by SB and Sc. The result of Lane 2 is the average value detection by SB and Sc.

The lower correct detection rate is mainly attributed to the following reasons. (i) Scenario 3 is nonstandard driving behavior, in which the vehicle drives on the lane line instead of normal driving on the lane. In the single-SRS vehicle detection algorithm, the vehicles in Scenario 3 are simply split equally between Scenarios 1 and 2. (ii) If the wheel drive over the SRS or a vehicle changes from one lane to another, the test result may be misjudged as two vehicles passing in parallel as Scenario 4. (iii) Oversized vehicle driving in the adjacent lane causing huge magnetic field disturbance might affect the SRS detection results.

Normal driving should reduce the occurrence of Scenarios 3 and 5 and the error in Scenario 4, which should increase the correct detection rate in Lane 2. Furthermore, a higher detection accuracy should result from cross validation of the results from multiple SRSs deployed on each lane line of a road section.

5.2. Cooperative SRS Detection Results and Description

Four SRSs were installed on the lane lines of a one-way three-lane road. Co-SRS calibration algorithm was deployed repeatedly on (SA, SB, SC) and (SB, SC, SD) to complete the 3-lane discrimination results. Table 2 shows the multi-lane vehicle detection results achieved by Co-SRS calibration; the correct detection rate is about 98%. Compared with the detection results of a single SRS, the cooperative SRSs greatly increase the correct detection accuracy even in non-standard driving situations.

The experimental test results indicate the following:(1)The general detection of vehicles does not consider the situation of vehicles crossing the lane markings. If the non-standard driving situation is removed, the accuracy of single SRS detection will be greatly improved.(2)The cooperative SRSs can accurately distinguish the situations of vehicle passing over the detector and two vehicles passing in parallel.

6. Conclusion

The self-sustained SRSs installed on the lane markings can accurately detect traffic volume on multi-lane roads. The vehicle position can be identified by the classification feature. It can also distinguish the situation where vehicles pass in parallel. It eliminates the influence of vehicles on the adjacent lanes. The method is simple and highly efficient. Few samples are needed, and the detection accuracy can be up to 98%.

This research is superior in the following aspects:(1)Most researchers detect traffic volume without considering any lane changing behavior. But the situation of vehicles crossing the lane markings is quite common and cannot be ignored. The proposed sensor network can also detect multi-lane traffic flow. It demonstrates high detection accuracy.(2)Compared to traditional vehicle detection methods, the SRS installed on the lane line is able to provide safety assurance by light guidance with the same correct detection rate as middle-installed commercial intrusive sensor up to 98% correct detection rate.(3)The SRS has the potential for large-scale deployment due to its low-cost, self-power supply, non-intrusive nature, and value-added services. The high level of automation enables the provision of various value-added services not available from current systems such as congestion recognition/warning, light driving guidance, safety-distance warning, and fog-zone warning. Other applications including parking management, smart zebra marking, and vehicle counting have been developed and demonstrated in the cities of Harbin, Shenzhen, and Ningbo in China. The collaborative detection of multiple SRSs has a promising application prospect in intelligent transportation fields.

Data Availability

The data used to support the findings of this study are available from the corresponding author upon request.

Conflicts of Interest

The authors declare that they have no conflicts of interest.

Acknowledgments

This research was supported by the National Natural Science Foundation of China (51578197 and 51578198).