Abstract

With the evolution of communication networks, the Internet of Vehicles (IOV) continues to accelerate the safe and rapid development of autonomous vehicles. Vehicle-to-Pedestrian (V2P) communication is a key technology in autonomous vehicles and a potential solution to realize collaborative intelligence between vehicles and pedestrians. However, the existing V2P communication early warning system does not consider the uncertainty of pedestrian trajectory, and the determination of the collision area is limited to a single point, resulting in an inaccurate system judgment and limited improvement of traffic efficiency. This paper designs a new autonomous-oriented V2P communication network architecture and completes a V2P communication early warning system based on Long Range (LoRa). A V2P anticollision model is established, and a new V2P collision risk early warning method is proposed. In this method, danger index is introduced into the early warning of collision between pedestrian and vehicle. The long short-term memory (LSTM) artificial neural network is used to predict the pedestrian’s trajectory, so as to deduce the pedestrian-vehicle collision risk area when the pedestrian trajectory is uncertain. Meanwhile, the confidence probability is used to judge whether the pedestrian and vehicle are warned. The simulation shows that the V2P collision risk warning method proposed in this paper has good performance, which can accurately warn the pedestrian and vehicle under different vehicle speeds and Global Positioning System (GPS) positioning errors. At the same time, it reflects the characteristics of intelligence brought by using LSTM methods. Using the V2P communication early warning system based on LoRa to verify the experimental results show that when the GPS positioning accuracy is submeter level, the prediction accuracy is greater than 98%. The results of the proposed method show good performance and high detection rate.

1. Introduction

Automated system intelligent control in the automatic driving field is widely used. In recent years, autonomous driving technology has made considerable progress. Academia and industry are actively promoting it around the world, injecting new vitality into the research of autonomous vehicles technology [1, 2]. Self-driving automobiles rely on the collaboration of artificial intelligence, wireless communication, visual computing, radar, surveillance equipment, and global positioning systems, which can automatically and safely drive without manual intervention [3]. Relying on advanced vehicle intelligent control technology, self-driving automobiles not only liberate manpower but also reduce the human error of drivers and even reduce the incidence of traffic accidents to zero. In addition, self-driving automobiles can encourage people to carpool, greatly reduce the use of cars, increase the capacity of major roads, improve road capacity, and reduce air pollution caused by car exhaust. Therefore, the emergence of self-driving automobiles provides an ideal solution to problems such as traffic accidents, traffic congestion, energy consumption, and environmental pollution.

Vehicles and pedestrians are the main participants in traffic, so V2P is one of the core issues of autonomous driving [46]. It can even predict changes in traffic conditions. By exchanging the key information of vehicle and pedestrian directly, the efficiency of road traffic can be effectively improved and the intelligent road environment of vehicle-road coordination can be realized. It is a key factor for the automobile intelligence.

Automobile intelligence requires vehicles to have the ability to communicate with road users. Automobile intelligence requires accurate acquisition and analysis of the following information to predict the future behavior of road users and generate corresponding responses, including user behavior information such as route, location, speed, and direction. This interaction is crucial between vehicles and pedestrians. The movement of vehicles, such as cars, trucks and buses, is governed by clear rules and environmental conditions. However, as the main participants of road traffic, pedestrians are not considered because of their complex, dynamic, and random behavior [4]. This paper considers the uncertain trajectory factors of the pedestrian and designs a V2P early warning system to effectively improve the accuracy of the warning system.

Pedestrians, cyclists, and motorized two-wheeler operators are called Vulnerable Road Users (VRUs) [7]. The protection of VRUs is a common topic in V2P [8]. Advanced Driver Assistance System (ADAS) uses sensor technology [911], the far-infrared method [12], computer vision [13], and a combination of methods [14] to detect pedestrian location information.

Compared with ADAS, the Internet of Vehicles (IOV) can detect the relative motion state of vehicles and pedestrians and perceive potentially dangerous situations more accurately in the case of None Light of Sight (NLOS), to achieve cooperative safety to ensure safer and more efficient transportation. Wireless communication technology is the cornerstone of the development of the IOV, which has been extensively studied by researchers. Different wireless communication technologies have different advantages and disadvantages. As shown in Table 1, LTE towers can cover 16 KM, but their energy consumption is very large and the Doppler effect caused by high carrier frequency is difficult to eliminate [11, 15]. Millimeter-wave (MmWAVE) has abundant bandwidth and short wavelength. At the same time, MmWAVE is an emerging technology that faces many challenges. For example, it is easy to be blocked by obstacles due to the short wavelength, so relayed forwarding is required, but the core problem of rapid selection of the optimal relay has not been solved [16, 17]. Wi-Fi has a high data transmission rate, which usually has a communication range of 100–150 meters. Driving at a speed of 50 km/h can meet the requirements. However, in the suburban areas, with the typical speed of 100 km/h, the requirements cannot be met because drivers have less reaction time to take action. Moreover, Wi-Fi wireless communication transmission cannot achieve low-latency bidirectional communication [18].

While LoRa strikes a balance between transmission range and data transfer rate. A LoRa base station can cover 15 km with data rates ranging from 300 bps to 37.5 kbps, depending on the spreading factor (SF) and channel bandwidth [19]. In addition, the LoRa base station can accommodate 1 million terminals, and simultaneously receive multiple transmissions using different spreading factors. When using a spreading factor of 12, the transmit power is 14 dB, and the transmission to the base station with a distance of 420 m is 96.7% [20]. Simultaneous reception of multiple spreading factors (between 7 and 12) creates a third possibility beyond time and frequency. In addition, the VRUs protection system of V2P communication requires low-power, low-cost, and small wireless communication equipment to ensure low-latency and high-reliability transmission of data under high bandwidth within the transmission range. Therefore, wearable devices with these characteristics of LoRa wireless communication technology can meet the requirements of VRUs protection system for V2P communication.

Regarding the establishment of anticollision models, many warning systems have been proposed in the existing literature. In [21], a V2X coordination system based on cellular and 802.11 p radio: SafeNav android application is proposed, the interface has set a predetermined collision area, if multiple traffic participants enter the collision area, visual and audible alerts are generated, and the color of the traffic participant changes to red and beep sound is emitted. In [5], a mobile application that supports pedestrians and vehicles was proposed by Hussein et al., the screen is active when the user interacts with the mobile phone to detect the position coordinates of the mobile phone. The system calculates the collision point and determines whether there is a collision. Increase the VRU’s visual situational awareness of the location near the automatically and manually controlled vehicles in the form of user-friendly operation. All the above studies require manual intervention and are not highly automated, which may bring certain security risks [22, 23]. Liu et al. developed a warning system POFS, which uses IEEE 802.11 p and Wi-Fi as communication channels to warn pedestrians by predicting collisions and issuing alerts [24]. Ho et al. designed a WIFI-based anticollision system, which encapsulates longitude, latitude, direction, and speed in a service set identifier (SSID) for transmission, and judges whether there is a collision risk by parsing the SSID of vehicles and pedestrians [25]. The warning system based on dedicated short-range communication (DSRC) and Wi-Fi has relatively high accuracy, but the applicable distance is limited. Xiog et al. proposed a graded warning system, which divides the warning into two types: danger warning and emergency braking according to the position coordinates of the pedestrian crossing road [26]. Bastani Zadeh proposed a three-level collision warning system, in which the first stage is used to activate the system to deal with various dangerous situations, the second stage is to extract important features to evaluate the collision risk by using fuzzy reasoning engine, and the third stage is to divide the warning alarms into low, medium, and high risk [27]. The prediction of the future trajectory of pedestrians is necessary to improve the accuracy of the anticollision system because pedestrians, as major participants in road traffic, may change direction suddenly according to external factors such as objects and vehicles [28]. Ideally, a pedestrian’s walking destination determines its trajectory; however, in the real world, its destination is not always known. Therefore, it is necessary to learn the behavior characteristics of pedestrians based on the past time trajectory sequence. However, the above methods do not consider the uncertainty of pedestrian trajectory, and the methods for judging collision are limited to whether there is a collision point, which should be an area, rather than a single point. In order to solve the uncertainty problem, introducing the neural network is a suitable choice [2931]. For the description of the collision area, previous studies mostly used the maximum likelihood solution or the difference between the major and minor axes of the ellipse are used to describe the uncertainty in the position [32, 33].

This paper proposes the early warning system, which adopts LoRa for data transmission and GPS for data acquisition. The main contributions are in two aspects: 1. In the V2P communication problem, the model not only considers whether there is a collision risk from the perspective of strict physical calculation but also introduces a risk index to measure the degree of risk to reduce the judgment error. 2. The algorithm takes the uncertainty of the pedestrian trajectory into the model. In this process, the future uncertainty trajectory of the pedestrian is represented as a collision area given by a confidence ellipse, and the corresponding confidence probability is given.

The remainder of this paper is organized as follows: Section 2 introduces the V2P communication network architecture based on the LSTM and the test environment used in this paper. Section 3 introduces the probabilistic prediction method and the algorithm for judging whether the warning is given, which effectively solves the V2P anticollision problem while considering pedestrian trajectory prediction. In Section 4, the simulation analysis of the algorithm is given, and the real scene tests are carried out by using LoRa equipment to predict pedestrian behavior. Based on the pedestrian’s future trajectory, analyze the collision area and collision probability of the pedestrian under different motion trajectories. Finally, the conclusion of this paper is given in Section 5.

2. Autonomous-Oriented V2P Communication Network Architecture

2.1. V2P Communication Network Architecture

This section proposes a three-layer LoRa multiparty collaborative network architecture, including a traffic cloud data center, regional platforms, and terminals, as shown in Figure 1. In addition to data transmission, the network also needs to assist in collaborative computing. The gateway, regional platform, and traffic cloud data center adopt 4G, 5G communication, which evolves to a higher level with the network updates.

The traffic cloud data center realizes the storage and analysis of massive terminals data. The regional platform (including the LoRa network server and edge computing) processes packets received by LoRa gateways, pedestrian terminals, and vehicle terminals in real time. The computational decision unit in edge computing is based on LSTM, which makes the system autonomously and predicts the collision risk more accurately. Because the LSTM enables the V2P system to better solve the problems caused by various pedestrians and the uncertainty of the environment. Most of the functions need to be implemented in the regional platform, checking whether the terminal is online, filtering redundant packets, etc. The terminal is responsible for the collection and transmission of location data. The vehicle terminal includes data collection, data processing, and safety decision-making. The pedestrian terminal and vehicle terminal can interact directly. The data from terminals also can be forwarded through the gateway. This paper does not discuss the vehicle terminal, focusing on the pedestrian terminal.

2.2. Network Server, Gateway, and V2P Pedestrian Terminals

The functions of the network server include communication control, protocol processing, device management, and network maintenance of the LoRa network. The network server helps users register, manage, and monitor LoRa devices, including terminals and gateways. It can also encrypt, decrypt and process application layer payloads. Meanwhile, it can support the application of various encryption or encoding methods to ensure data security and improve transmission efficiency.

The gateway implements the topological link of the LoRa network by receiving data from the terminal and forwarding it to the network server or forwarding the data message from the network server to the terminal.

Pedestrian terminals are used to collect data and send it to the network server through the gateway, or execute commands and tasks from the network server.

Pedestrian terminals and gateways are the foundation of the LoRa network. The gateway can interact with LoRa terminals, collect data such as signal-noise-ratio (SNR), received-signal-strength-indicator (RSSI), and transmit them to the base station for analysis. The terminals can implement different functions according to different application requirements. The gateway uploads all uplink packets to the network server. On the contrary, in the downlink, the LoRa gateway executes the transmission requests from the network server. The gateway usually relays the received uplink/downlink packets without processing the payload data. Due to its low-power consumption and long-distance transmission characteristics, the LoRa network provides more reliable terminal location data for the judgment of the V2P communication warning system to improve the accuracy of the system.

2.3. Test Environment

The LoRa system used in the test consists of a gateway and a terminal. The gateway receives and processes messages sent by the terminal. Based on the LoRa network, a test terminal for pedestrians is specially developed. To obtain the position, speed, and direction of the pedestrian and the vehicle, the pedestrian and the vehicle are equipped with GPS to locate them and predict future trajectories based on the pedestrian’s past data.

The pedestrian terminal of the test is composed of a LoRa module and GPS with submeter accuracy. The microcontroller unit (MCU) adopts an STM32 chip, the RF module adopts a LoRa RFM98 chip, and the GPS operating frequency is 1 Hz. The hardware frame and physical diagram of the pedestrian terminal are shown in Figure 2. The GPS module and the MCU communicate one way through Universal Synchronous/Asynchronous Receiver/Transmitter (USART). The LoRa module communicates two way with the MCU through the SPI (Serial Peripheral Interface) bus. The hardware frame and physical diagram of the gateway are shown in Figure 3, which consists of four groups of the same module. The gateway can support simultaneous communication with four different frequency bandwidths, in which the LoRa module conducts two-way communication with the MCU through the SPI bus.

The gateway is located on the top of the fifth floor of the building of Xi’an University of Posts and Telecommunications. The pedestrian wears the terminal and walks at a constant speed on the campus. The test path is divided into linear path and nonlinear path.

The paths of the pedestrian wearing the terminal are shown in Figure 4. The actual measurement scene is selected in Xi’an University of Posts and Telecommunications under the Gaode map. The gateway collects the data and sends it to the network server to map the data on the Gaode map. As shown in Figure 4, the blue is the pedestrian walking trajectory, the left is the linear trajectory, and the right is the nonlinear trajectory.

3. Probabilistic Prediction

3.1. Model of Pedestrian-Vehicle Anticollision

This paper analyzes and models the scene as shown in Figure 5, both the pedestrian and the vehicle keep moving at a constant speed. The pedestrian is located at the driver’s NLOS position and the trajectory is uncertain. The vehicle trajectory tends to be a straight line, and a collision occurs near .

Assuming that the pedestrian-vehicle path has a certain angle, the red area in Figure 5 is the area where a collision may occur. The model building will be divided into two steps, minimum safety distance and judgment conditions.

The represents the reaction time for the driver to receive a collision warning and take action.where is communication connection delay, is information transmission delay, is driver reaction time, and is the time that driver takes action.

3.1.1. Minimum Safety Distance

The minimum safety distance of vehicle anticollision iswhere represents the reaction time for the driver to receive a collision warning and take action. The speed of the vehicle is , is the distance passed by the driver during the period when the driver reacts and takes action, is the braking distance of the vehicle, , and is the friction coefficient.

3.1.2. Judgment Conditions

Obtain two sets of position information , for the pedestrian and , for the vehicle and determine whether there is a collision point through (3).

The time can be calculated through (4) and (5).where is the time that the pedestrian maintains the current speed to the collision point , is the time that the car maintains the current speed to the collision point , is the width of the vehicle, and the arrival time difference is . represents the preset threshold, which determines whether the road condition can be considered dangerous.

Because (the time difference between the pedestrian and the vehicle arriving at the collision point) is not the only factor in determining the potentially dangerous road conditions, the danger index is also taken into account. This danger index is also considered to decide whether to issue a warning. The danger index is defined bywhere is the accuracy of GPS. According to the typical vehicle speed of 40 km/h, the threshold is divided into two types, 0.01 and 0.1. When the vehicle speed is greater than 40 km/h and is smaller than 0.01, a warning is given, otherwise, a warning is given when is smaller than 0.1.

3.2. Trajectory Prediction

Each pedestrian has different movement patterns: speeds, accelerations, and gaits. Therefore, it is necessary to build a model to understand and learn these specific characteristics of pedestrian motion, so as to predict the future trajectories of pedestrians. Neural network is considered to be an effective method to deal with real-time problems, which has been widely used in machine control [34,35] to improve the degree of machine automation [36]. When dealing with the long-term dependence of the input sequence, the traditional RNN network will produce the problem of gradient descent or gradient disappearance. In order to solve this problem, LSTM was proposed by Hochreiter and Schmidhuber [37], and then it was widely used to solve the problem of time series prediction.

LSTM has three gates (update , forget , and output ), block input, and memory cells . The output of the block is repeatedly connected back to the input of the block and all gates. The data goes through the horizontal line of the highest point in Figure 6, which is called the cell state. The memory cell uses a function whose value range is [−1, 1] as the activation function. The forgetting gate controls whether the information in the memory cell of the previous time step is transmitted to the current time step, and the forgetting gate and the memory cell achieve better control of information flow.

In Figure 6, , , , , are

In this paper, the LSTM neural network is used to make cyclic multistep predictions for the future trajectory of the pedestrian. Among them, the activation function is relu, the loss function is MSE, the optimizer is Adam, the metric is accuracy, and the epoch is 100. GPS location information (latitude and longitude) of the pedestrian is used as the input of the LSTM. The cross-validation method is used for machine learning to improve the accuracy of machine learning and avoid overfitting and underfitting. The output is the location information, mean, and covariance of the pedestrian’s future trajectory.

3.3. Collision Probability

The mean and covariance of the pedestrian’s future trajectory can be obtained by LSTM for trajectory prediction, which can indicate the predicted area that the car needs to avoid, called the collision area . For the th pedestrian’s movement, it is assumed that the probability of its future location at a certain position depends on the collision area at time , and is based on the mean and covariance at time . For convenience, the variable will be ignored in the following description of this chapter, so that we can assume that the future position of the th pedestrian moving at time can be expressed as .

Remark 1. Since the covariance matrix is a real symmetric, positive semi-definite matrix, and the eigenvalues are real numbers, there is an orthogonal matrix composed of the eigenvectors . The eigenvalues of the covariance matrix can be decomposed intowhere , sort in descending order, , represents a dimension in the environment.
In this section, two key results (on the construction of the ellipse and the calculation of scaling factors) need to be explained, which are crucial parts of the model prediction.

Lemma 1. An ellipse can be constructed from a transformation of the unit circle by first stretching it along each axis with the ratio, then rotating the ellipse through, and finally translating the centerof the distribution to the origin according to the following inverse Mahalanobis transformation:where is the unit circle of a two-dimensional normal distribution. In this paper, denotes the identity matrix with the size of 2 × 2.

Proof. Mapping a unit circle by the square root of the covariance matrix, determines an ellipse whose principle semiaxes depend on the eigenvalues of this matrix, and whose direction is related to the corresponding eigenvectors. To represent this ellipse graphically, the Mahalanobis transform eliminates the correlation between variables and normalizes each variable by its variance. Therefore, an ellipse can be constructed from the transformation of the unit circle, according to the inverse Mahalanobis transformation (9).
Next here, the scaling factor is calculated and the confidence probability that the collision area is an ellipse is derived.

Lemma 2. The scaling factorcan be calculated approximately by

Proof. Based on Lemma 2, the square of the Mahalanobis distance (scaling factor ) of the possible positions to its mean can be calculated byBring into the above equation through (8) and (9), the magnified ellipse with scaling factor can be obtained, relying on the chi-square distribution with the degree of freedom , as shown inwhich can be expressed asThe confidence probability for an arbitrary ellipse with any factor can be calculated, as shown inwhereis the standard error function and is the gamma function. The scaling factor 2.7955, 3.3682 when the corresponding confidence probabilities  = 95%, 99%, respectively.

3.4. Algorithm Description

The system obtains the location information of pedestrians and vehicles in real time, uses LSTM to predict the future trajectory of the pedestrian, and obtains the probability density function of the pedestrian trajectory, which obeys a multidimensional normal distribution function. It preliminarily infers the collision area between the pedestrian and the vehicle, and finally uses the confidence probability to determine whether to give a warning to the pedestrian and the vehicle.

In practice, in order to better describe the real data , adding a normal distribution function to ideal data to approximate real data

The system algorithm description is as follows (Algorithm 1):

Input: Two sets of GPS data for pedestrian and vehicle
Output: A risk of collision occurs or not
(1) Acquire 2 sets of GPS data continuously (pedestrian and vehicle) ,
  if there is a collision point
   if and
  if the confidence probability corresponding to the collision area generated by the predicted future trajectory
   Output: A risk of collision will occur.
(2) Calculate the direction angle of pedestrian and vehicle
  if or
   , stop getting data
  else
   , stop getting data

4. Result Analysis

4.1. Influencing Factors of System Collision Risk Warning Time

The influence of GPS positioning error, vehicle speed, and other uncertain factors on the anticollision system model is studied through the simulation. The simulation scene is shown in Figure 5. The pedestrian and the vehicle start at the same time and keep running at a uniform speed. It is assumed that the collision occurs 200 seconds after the pedestrian and vehicle movement. In order to be closer to the actual situation, the error is added to the position data during simulation. This paper assumes that the error obeys the normal distribution. The pedestrian speed is 1 m/s, and the driving speed is variable. The reaction time for the driver receiving the collision warning and taking action is 0.83 s [38], the friction coefficient is 0.8, and the vehicle length is 5 m.

According to the idea of control variables, by setting different GPS positioning errors and driving speeds, the change of the warning time of pedestrian-vehicle collision risk is analyzed as follows.

4.1.1. The Relationship between Driving Speed and Collision Risk Assessment Time

Control the GPS positioning error , i.e., the error is 1 m, and the driving speed is changed. The changing relationship of collision risk assessment time is compared when the driving speed is 30 km/h, 40 km/h, and 60 km/h. The difference of collision risk assessment time under the different vehicle speeds is shown in Figure 7. The horizontal axis is the time in seconds. The vertical axis is the time difference between the vehicle and the pedestrian arriving at the collision point, and the unit is second. The coordinates marked in Figure 7 are the warning time and . The higher the speed, the earlier the collision warning. In Figure 7(a), when the driving speed is 30 km/h, the time difference between the pedestrian and the vehicle arriving at the collision point is 1.96 s, and the system sends out a danger warning in 198 s, i.e., 2 seconds in advance. In Figure 7(c), when the driving speed is 60 km/h, the time difference between the pedestrian and the vehicle arriving at the collision point is 2.19 s, and the system issues a danger warning in 195 s. When the positioning error is 1 meter, a warning is given at typical speeds within 2 to 5 seconds before the collision point arrives, and the results show that the algorithm is feasible.

4.1.2. The Effect of GPS Positioning Error on the Collision Risk Assessment Time

Change the GPS positioning accuracy when the vehicle speed is constant and compare the changing relationship of the collision risk early warning evaluation time when the positioning accuracy is 1 m and 10 m. Under different GPS positioning errors, the collision risk assessment time is different as shown in Figure 7. The positioning errors in Figures 7(a)–7(c) are 1 m, and the positioning errors in Figures 7(d)–7(f) are 10 m. The greater the GPS positioning error, the earlier the collision warning. In Figures 7(a), 7(d), when the vehicle speed is 30 km/h, the time difference between the pedestrian and the vehicle reaching the collision point is 1.96 s when the positioning accuracy is 1 m and 10 m, and the system issues a danger warning in 190 s. When the vehicle speed is 60 km/h, the time difference between the pedestrian and the vehicle reaching the collision point is 2.19 s, and the system sends a hazard warning in the 180 s. The results show that the positioning error does not affect the time difference of arrival, but only affects the warning time. Because the danger index should be considered in the warning, and the danger index is related to the positioning error.

4.2. Collision Area and Corresponding Confidence Probability

Based on the anticollision model, when is 30 km/h, 40 km/h, or 60 km/h, the warning time is obtained when the GPS positioning error is used. 500 × 4 and 1250 × 2 sample data are used for straight line and nonstraight line, respectively. The sample data are predicted by LSTM. After the model training is completed, the prediction takes only 1∼2 seconds, which can meet the application requirements. This is because only one set of data is predicted per round, so the prediction time is faster. The units in Tables 2 and 3 are meters. In this paper, 10.2.1 represents the use of ten data to predict the pedestrian position after two seconds, i.e., the first number 10 is the number of data used by the LSTM, the second number 2 is the position data predicted by the LSTM after 2 seconds, and the third number 1 represents the 1 position data predicted by the LSTM. If the pedestrian keeps moving in a straight line, using 6 seconds or 10 seconds to predict the position offset after multiple steps is 0 meters, but for nonlinear situations, it is better to use ten seconds to predict the position after multiple steps. This is because when the pedestrian trajectories are nonlinear, machine learning needs to learn more features, so more data are required. At the same time, the accuracy of the algorithm is also verified.

Here, a nonlinear prediction trajectory in 6.5.1 is used as an example to describe the prediction performance. The collision area of the uncertainty position prediction method is described in Figure 8. If the vehicle continues in its current state, it will collide with the pedestrian in the collision zone with a probability of 99.39%. Among them, the center point of the ellipse is the mean value, and the colored area is the collision area. The closer to the center point, the smaller the covariance and the higher the probability of collision.

5. Conclusions

This work focuses on the problems caused by the uncertainty of pedestrian trajectory in the V2P scene, such as the determination of the collision area and the calculation of the collision probability. To do so, this paper proposed a new communication network architecture and V2P collision warning system. The system considers the GPS positioning accuracy, typical vehicle speed, the uncertainty of pedestrian behavior, and introduces a danger index to measure the degree of risk. The pedestrian behavior is predicted by using LSTM to set the collision area and gives the corresponding confidence probability. The simulation shows the influence of positioning accuracy and the vehicle speed on the warning time, which is left to the driver as the reaction time to take measures. The test gives the collision area and the corresponding confidence probability. Compared with the existing literature, the proposed method is to systematically realize the early warning system. The designed V2P early warning system is feasible for effectively improving road traffic safety and has certain reference value and practical significance for pedestrian safety protection research. The results have strong generality and reliability and can be applied to more common pedestrian and vehicle scenarios.

The proposed research method is applicable to the communication problem between a vehicle and a pedestrian. For future work, we are working on the problem of communication between multiple vehicles and multiple pedestrians. It is proposed to use filters to obtain the vehicle and the pedestrian with collision risk.

Data Availability

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

Conflicts of Interest

The authors declare no conflicts of interest.

Acknowledgments

This work was supported by the Key Industry Innovation Chain Project of Shaanxi Province (nos. 2021ZDLGY07-10 and 2021ZDLNY03-08), the Science and Technology Plan Project of Shaanxi Province (no. 2022GY-045), Natural Science Foundation of Shaanxi Province (no. 2020JM-537), the Key Research and Development Plan of Shaanxi Province (no. 2018ZDXM-GY-041), Scientific Research Program Funded by Shaanxi Provincial Education Department (Program no. 21JC030), the Science and Technology Plan Project of Xi’an (no. 2019GXYD17.3), and Graduate Innovation Fund of Xi’an University of Posts and Telecommunications (CXJJLZ202018).