A traffic signal control method and system based on millimeter wave radar

Through the traffic signal control method based on millimeter wave radar, particle filtering and deep learning technology are used to solve the problem of poor performance of traditional methods during the evening peak period, achieve more accurate vehicle detection and signal control, and improve traffic efficiency and signal lights. responsiveness.

CN118629232BActive Publication Date: 2024-10-29TRANSFIGURE DESIGN CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411090921.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-09
Publication Date
2024-10-29
Estimated Expiration
2044-08-09

AI Technical Summary

Technical Problem

Traditional intelligent traffic signal control methods are not effective during the evening peak period, especially video monitoring at night or in rainy and foggy weather. The method based on coil sensors cannot provide vehicle speed information and is costly; traditional millimeter-wave radar is not effective during the evening peak period. There are many false alarms and missed reports in this scenario, which affects the accuracy of traffic flow detection.

Method used

Adopting a traffic signal control method based on millimeter wave radar, by acquiring and preprocessing point cloud data, using particle filtering algorithm to track vehicles, combining convolutional neural network and bidirectional recurrent neural network for target detection and classification, and building a reinforcement learning model for adaptive adjustment The signal light duration takes into account road priority and vehicle waiting time to optimize signal control.

Benefits of technology

It improves the accuracy of vehicle detection and signal control effect, reduces vehicle waiting time, enhances traffic efficiency, adapts to complex traffic environments, and reduces false alarm rates and missed alarms.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118629232B_ABST
    Figure CN118629232B_ABST
Patent Text Reader

Abstract

The present invention discloses a traffic signal control method and system based on millimeter wave radar, including S1: obtaining the original point cloud data of each road section and preprocessing it to obtain the preprocessed point cloud data; S2: performing target detection and classification on the preprocessed point cloud data, and tracking the detected vehicles through the particle filter algorithm, and statistically obtaining the traffic flow and average speed of each road section; S3: evaluating the congestion degree and priority of each road section according to the traffic flow and average speed; S4: constructing a reinforcement learning model, setting the state space, action space, value function and reward function of the reinforcement learning; S5: training the reinforcement learning model, and adaptively adjusting the duration of the signal light at each intersection. This solution solves the problem that the traditional traffic signal control method has poor control effect in the evening peak scene at night.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of traffic signal control, and in particular relates to a traffic signal control method and system based on millimeter wave radar. Background Art

[0002] Intelligent traffic signal control is a modern traffic management method based on computer technology and communication technology, which aims to reduce traffic congestion and improve road traffic efficiency and safety. Traditional traffic signal control mainly includes pure video-based methods and coil sensor-based methods, which use cameras to capture images of vehicles on the road, and then estimate traffic flow and speed through image processing and computer vision technology. However, video monitoring is not effective at night or in rainy and foggy weather conditions; while the coil sensor-based method is more accurate in perceiving traffic flow, but cannot provide speed information, and is difficult to construct and has high costs.

[0003] At the same time, there are also studies that use millimeter-wave radars installed on the roadside to monitor traffic conditions. However, for peak hours at night when traffic volume is heavy, traditional millimeter-wave radar data processing uses the CFAR algorithm for target detection. However, the CFAR algorithm has many false alarms and missed reports in peak hours at night when clutter characteristics are changeable, which in turn affects the accuracy of traffic volume detection and the effectiveness of traffic signal control. Summary of the invention

[0004] In view of this, the present invention proposes a traffic signal control method based on millimeter wave radar, aiming to solve the problem that the traditional intelligent signal control method has poor control effect during the evening peak period.

[0005] A traffic signal control method based on millimeter wave radar comprises the following steps:

[0006] S1: Obtain the original point cloud data of each road section and preprocess it to obtain preprocessed point cloud data;

[0007] S2: Target detection and classification are performed on the preprocessed point cloud data, and the detected vehicles are tracked through the particle filter algorithm to obtain the traffic volume and average speed of each road section;

[0008] S3: Evaluate the congestion level and priority of each road section based on traffic volume and average speed;

[0009] S4: Build a reinforcement learning model and set the state space, action space, value function and reward function of reinforcement learning;

[0010] S5: Reinforcement learning model training to adaptively adjust the duration of traffic lights at each intersection;

[0011] Furthermore, the S1 step includes:

[0012] S11: Obtaining original point cloud data of each road section;

[0013] S12: Noise filtering is performed on the original point cloud data of each road section. The calculation method is:

[0014] ;

[0015] in, is the point cloud data after noise filtering, p is the point in the point cloud data, is the original point cloud data, is the average point from point p to its neighborhood The distance is the threshold coefficient, is the standard deviation;

[0016] S13: Ground segmentation is performed on the point cloud data after noise filtering. The calculation method is:

[0017] ;

[0018] in, is the ground point cloud data, From point p to the plane The distance is the distance threshold;

[0019] S14: Delete the ground point cloud data from the noise-filtered point cloud data to obtain preprocessed point cloud data.

[0020] Furthermore, the S2 step includes:

[0021] S21: Target detection and classification are performed on the preprocessed point cloud data. The calculation method is:

[0022] Construct a convolution layer to convolve the intensity of the preprocessed point cloud data and extract local intensity features;

[0023] The local intensity features are input into the bidirectional recurrent neural network for target detection, and the point cloud category of each point in the preprocessed point cloud data is output. The calculation method is:

[0024] ;

[0025] ;

[0026] ;

[0027] in, is the local strength characteristic, is the convolutional layer operation, is the intensity sequence of the preprocessed point cloud data, j is the sequence index, is the temporal feature of point cloud data, is a bidirectional recurrent neural network operation, is the point cloud category, is the softmax function, is the weight parameter, is an offset item; point cloud categories include: vehicles, pedestrians, and road facilities;

[0028] This method takes into account the impact of radar neighborhood data on target data, uses convolutional neural networks as sliding windows, and combines the features of surrounding data points to describe target data points. It then regards the point cloud classification task as a sequence labeling task, inputs local intensity features into a bidirectional recurrent neural network, and labels each point based on the single scan information of the entire radar. In this way, the inherent pattern of the automatically learned data can extract different local intensity features according to the changes in different radar data, thereby adapting to different traffic environments and conditions.

[0029] Compared with the traditional constant false alarm rate (CFAR) algorithm, which requires manual threshold setting and does not work well in multi-target environments or environments with changing clutter, this method combines convolutional neural networks with bidirectional recurrent neural networks to provide greater flexibility and adaptability. Through more accurate vehicle detection, traffic light control systems can respond more effectively to actual traffic conditions, reduce vehicle waiting time, and improve overall traffic efficiency.

[0030] S22: Use the particle filter algorithm to track the points in the point cloud category of vehicles and estimate the position and speed of the vehicle. The calculation method is:

[0031] ;

[0032] in, is the distance from the vehicle to the millimeter-wave radar, c is the speed of light, is the sweep time, is the beat frequency, is the swept bandwidth;

[0033] ;

[0034] in, is the vehicle speed, is the millimeter wave wavelength, is the Doppler shift;

[0035] ;

[0036] in, is the azimuth of the target, is the millimeter wave phase difference, is the distance between antenna elements;

[0037] S23: For vehicles tracked by the particle filter algorithm, and For the identification of the vehicle, a 10-minute time window is set to count the number of vehicles entering the radar detection area to obtain the traffic flow of the road section; for all vehicles counted within the time window, the speed of each vehicle is calculated. Find the average value to get the average speed of the road section.

[0038] Furthermore, the S3 step includes:

[0039] S31: Calculate the congestion index by combining the traffic volume and average speed of each road section. The calculation method is:

[0040] ;

[0041] in, is the congestion index, is the traffic volume of the road section, is the average speed of the road section; the congestion index reflects the traffic volume and vehicle speed at the intersection. The larger the ratio of the two, the more vehicles there are and the slower they travel, and the higher the congestion level at the intersection;

[0042] S32: Define the road section priority based on the road section direction, traffic volume, and congestion index; the priority is defined as follows:

[0043] High priority: Road sections with high congestion index and heavy traffic in the direction of leaving the city;

[0044] Medium priority: Road sections with high congestion index and heavy traffic volume that are not in the direction of leaving the city;

[0045] Low priority: other road sections;

[0046] Furthermore, the S4 step includes:

[0047] S41: Define the agent, state space, and action space of the reinforcement learning model, including:

[0048] Define the agent of the reinforcement learning model as the traffic light at each intersection;

[0049] The state space includes the traffic volume, average speed, number of consecutive green lights, vehicle waiting time, and current signal light status of each road section;

[0050] The action space includes the change of traffic lights, extending the red light time, extending the green light time, shortening the red light time, and shortening the green light time;

[0051] S42: Define the value function of the reinforcement learning model, which is calculated as follows:

[0052] ;

[0053] in, is the value function, s is the current state, is the current action, E is the expectation, γ is the discount factor, is the reward of the zth iteration, z is the number of iterations, is the initial state, is the initial action;

[0054] The value function update is calculated as:

[0055] ;

[0056] in, is the learning rate, For the next state, For the next action;

[0057] S43: Define the reward function of the reinforcement learning model, which is calculated as:

[0058] ;

[0059] in, Take action for state s The reward value, is the weight coefficient of the corresponding function, is the continuous green light reward function, is the total waiting time function of the vehicle, is the traffic balance reward function, is the road priority function;

[0060] The reward function comprehensively considers the green wave status of the road, the total waiting time of vehicles, the flow balance of each road, and the road priority, and balances the importance through different weights;

[0061] ;

[0062] Among them, e is a natural constant, is a positive constant, n is the number of green lights that the vehicle passes through consecutively; It is used to adjust the sensitivity of the function. When n increases, the function value will gradually approach 1, so that a vehicle that passes more green lights in succession can be given a larger reward; when the number of green lights passed by a vehicle in succession is less than 3, the reward is 0;

[0063] It is mainly designed for green wave belts. That is, if the traffic lights at a series of intersections can work together to form a green wave belt, so that vehicles can pass through multiple intersections continuously without stopping, the corresponding intelligent agents will be given positive rewards, thereby motivating the intelligent agents to work together and improve the efficiency of the entire traffic network;

[0064] ;

[0065] Where M is the number of all vehicles in state s, is the waiting time of the i-th vehicle, i is the vehicle index;

[0066] ;

[0067] in, is the number of road sections, is the difference between the traffic volume of the g-th road section and the average traffic volume, where g is the road section index; Encourage the agent to learn that if an action can effectively balance the traffic flow at each intersection, avoiding some intersections being too congested while other intersections are relatively free, it will receive a positive reward;

[0068] ;

[0069] in, is the priority weight of the g-th road segment, is the traffic flow of the g-th road segment; the road priority function takes into account the priority of each road segment, so that when optimizing the duration and sequence of traffic lights, more important road segments can be given priority;

[0070] Furthermore, the step S5 includes:

[0071] S51: Initialize the Q table and assign a random value to each state-action pair;

[0072] S52: The current traffic flow, average speed, red lights for 10 seconds, and consecutive green lights of each road section are taken as the initial state. This state is recorded as ;

[0073] S53: Repeat the following steps until the model iteration reaches the specified number of steps, including:

[0074] Starting from the current state s, with probability Randomly choose an action with probability Choose the action with the largest Q value;

[0075] Execute an action a , observe the next state and current rewards ;

[0076] According to the value function update formula, update the Q table ;

[0077] Update s to ;

[0078] Output the strategy with the highest score in the Q table;

[0079] S54: The trained reinforcement learning model outputs the duration results of each traffic light.

[0080] The present invention also provides a traffic signal control system based on millimeter wave radar, comprising:

[0081] Data acquisition and preprocessing module: obtain the original point cloud data of each road section and preprocess it to obtain the preprocessed point cloud data;

[0082] Point cloud data processing module: performs target detection and classification on the pre-processed point cloud data, tracks the detected vehicles through the particle filter algorithm, and obtains statistics on the traffic volume and average speed of each road section;

[0083] Road section priority calculation module: evaluates the congestion level and priority of each road section based on traffic volume and average speed;

[0084] Reinforcement learning model building module: build a reinforcement learning model, set the state space, action space, value function and reward function of reinforcement learning;

[0085] Reinforcement learning training module: Reinforcement learning model training to adaptively adjust the duration of traffic lights at each intersection; to implement the above-mentioned traffic signal control method based on millimeter-wave radar.

[0086] Compared with the prior art, the advantages of the present invention are:

[0087] (1) In terms of the overall solution, the present invention uses millimeter-wave radar to detect road traffic volume and vehicle speed, and uses the data to train a reinforcement learning model, ultimately outputting the duration of traffic lights at each intersection. Compared with traditional traffic signal control methods, the present invention is more adaptable to evening rush hour scenarios and can effectively process changes in clutter characteristics in millimeter-wave radar data, providing more accurate vehicle detection and tracking, and optimizing signal control effects.

[0088] (2) In terms of algorithm improvement, compared with the traditional CFAR algorithm, the present invention adopts a deep learning model that combines convolutional layers and bidirectional recurrent neural networks to improve the ability to identify and filter clutter. It can also analyze the sequence information comprehensively, making the algorithm more robust in a dynamically changing traffic environment and adaptable to various complex situations.

[0089] (3) In terms of coordinated control of traffic signals, the present invention not only considers the traffic conditions of a single road section, but also comprehensively considers the conditions of surrounding road sections and road priorities to coordinate the control of traffic signals. Through a multi-agent reinforcement learning model, each traffic light works in coordination, thereby improving the effect of traffic signal control. BRIEF DESCRIPTION OF THE DRAWINGS

[0090] Figure 1 A schematic flow chart of a traffic signal control method based on millimeter wave radar provided by the present invention. DETAILED DESCRIPTION

[0091] The present invention is further described below in conjunction with the accompanying drawings, but the present invention is not limited in any way. Any changes or substitutions made based on the teachings of the present invention belong to the protection scope of the present invention.

[0092] Embodiment 1:

[0093] A traffic signal control method based on millimeter wave radar, such as Figure 1 As shown, the following steps are included:

[0094] S1: Obtain the original point cloud data of each road section and preprocess it to obtain preprocessed point cloud data;

[0095] S11: Obtaining original point cloud data of each road section;

[0096] S12: Noise filtering is performed on the original point cloud data of each road section. The calculation method is:

[0097] ;

[0098] in, is the point cloud data after noise filtering, p is the point in the point cloud data, is the original point cloud data, is the average point from point p to its neighborhood The distance is the threshold coefficient, is the standard deviation;

[0099] S13: Ground segmentation is performed on the point cloud data after noise filtering. The calculation method is:

[0100] ;

[0101] in, is the ground point cloud data, From point p to the plane The distance is the distance threshold;

[0102] S14: Delete the ground point cloud data from the noise-filtered point cloud data to obtain preprocessed point cloud data.

[0103] S2: Target detection and classification are performed on the preprocessed point cloud data, and the detected vehicles are tracked through the particle filter algorithm to obtain the traffic volume and average speed of each road section;

[0104] S21: Target detection and classification are performed on the preprocessed point cloud data. The calculation method is:

[0105] Construct a convolution layer to convolve the intensity of the preprocessed point cloud data and extract local intensity features;

[0106] The local intensity features are input into the bidirectional recurrent neural network for target detection, and the point cloud category of each point in the preprocessed point cloud data is output. The calculation method is:

[0107] ;

[0108] ;

[0109] ;

[0110] in, is the local strength characteristic, is the convolutional layer operation, is the intensity sequence of the preprocessed point cloud data, j is the sequence index, is the temporal feature of point cloud data, is a bidirectional recurrent neural network operation, is the point cloud category, is the softmax function, is the weight parameter, is an offset item; point cloud categories include: vehicles, pedestrians, and road facilities;

[0111] This method takes into account the impact of radar neighborhood data on target data, uses convolutional neural networks as sliding windows, and combines the features of surrounding data points to describe target data points. It then regards the point cloud classification task as a sequence labeling task, inputs local intensity features into a bidirectional recurrent neural network, and labels each point based on the single scan information of the entire radar. In this way, the inherent pattern of the automatically learned data can extract different local intensity features according to the changes in different radar data, thereby adapting to different traffic environments and conditions.

[0112] Compared with the traditional constant false alarm rate (CFAR) algorithm, which requires manual threshold setting and does not work well in multi-target environments or environments with changing clutter, this method combines convolutional neural networks with bidirectional recurrent neural networks to provide greater flexibility and adaptability. Through more accurate vehicle detection, traffic light control systems can respond more effectively to actual traffic conditions, reduce vehicle waiting time, and improve overall traffic efficiency.

[0113] S22: Use the particle filter algorithm to track the points in the point cloud category of vehicles and estimate the position and speed of the vehicle. The calculation method is:

[0114] ;

[0115] in, is the distance from the vehicle to the millimeter-wave radar, c is the speed of light, is the sweep time, is the beat frequency, is the swept bandwidth;

[0116] ;

[0117] in, is the vehicle speed, is the millimeter wave wavelength, is the Doppler shift;

[0118] ;

[0119] in, is the azimuth of the target, is the millimeter wave phase difference, is the distance between antenna elements;

[0120] S23: For vehicles tracked by the particle filter algorithm, and For the identification of the vehicle, a 10-minute time window is set to count the number of vehicles entering the radar detection area to obtain the traffic flow of the road section; for all vehicles counted within the time window, the speed of each vehicle is calculated. Find the average value to get the average speed of the road section.

[0121] S3: Evaluate the congestion level and priority of each road section based on traffic volume and average speed;

[0122] S31: Calculate the congestion index by combining the traffic volume and average speed of each road section. The calculation method is:

[0123] ;

[0124] in, is the congestion index, is the traffic volume of the road section, is the average speed of the road section; the congestion index reflects the traffic volume and vehicle speed at the intersection. The larger the ratio of the two, the more vehicles there are and the slower they travel, and the higher the congestion level at the intersection;

[0125] S32: Define the road section priority based on the road section direction, traffic volume, and congestion index; the priority is defined as follows:

[0126] High priority: Road sections with high congestion index and heavy traffic in the direction of leaving the city;

[0127] Medium priority: Road sections with high congestion index and heavy traffic volume that are not in the direction of leaving the city;

[0128] Low priority: other road sections;

[0129] For example, the traffic volume > 800 vehicles / hour is used as the threshold of heavy traffic volume, and the congestion index > 40 is used as the threshold of high congestion index; the priority list of each road section is shown in Table 1;

[0130] Table 1 List of priorities for each road section

[0131]

[0132] As shown in Table 1, sections 1 and 3 are outbound directions with high congestion index and heavy traffic volume, and therefore are rated as high priority;

[0133] Section 2 is a non-outbound direction (into the city) with a high congestion index (20) and heavy traffic volume (600), so it is rated as medium priority;

[0134] Segment 4 does not meet the criteria for high or medium priority and is therefore rated as low priority;

[0135] S4: Build a reinforcement learning model and set the state space, action space, value function and reward function of reinforcement learning;

[0136] S41: Define the agent, state space, and action space of the reinforcement learning model, including:

[0137] Define the agent of the reinforcement learning model as the traffic light at each intersection;

[0138] The state space includes the traffic volume, average speed, number of consecutive green lights, vehicle waiting time, and current signal light status of each road section;

[0139] The action space includes the change of traffic lights, extending the red light time, extending the green light time, shortening the red light time, and shortening the green light time;

[0140] S42: Define the value function of the reinforcement learning model, which is calculated as follows:

[0141] ;

[0142] in, is the value function, s is the current state, is the current action, E is the expectation, γ is the discount factor, is the reward of the zth iteration, z is the number of iterations, is the initial state, is the initial action;

[0143] The value function update is calculated as:

[0144] ;

[0145] in, is the learning rate, For the next state, For the next action;

[0146] S43: Define the reward function of the reinforcement learning model, which is calculated as:

[0147] ;

[0148] in, Take action for state s The reward value, is the weight coefficient of the corresponding function, is the continuous green light reward function, is the total waiting time function of the vehicle, is the traffic balance reward function, is the road priority function;

[0149] The reward function comprehensively considers the green wave status of the road, the total waiting time of vehicles, the flow balance of each road, and the road priority, and balances the importance through different weights;

[0150] ;

[0151] Among them, e is a natural constant, is a positive constant, n is the number of green lights that the vehicle passes through consecutively; It is used to adjust the sensitivity of the function. When n increases, the function value will gradually approach 1, so that a vehicle that passes more green lights in succession can be given a larger reward; when the number of green lights passed by a vehicle in succession is less than 3, the reward is 0;

[0152] It is mainly designed for green wave belts. That is, if the traffic lights at a series of intersections can work together to form a green wave belt, so that vehicles can pass through multiple intersections continuously without stopping, the corresponding intelligent agents will be given positive rewards, thereby motivating the intelligent agents to work together and improve the efficiency of the entire traffic network;

[0153] ;

[0154] Where M is the number of all vehicles in state s, is the waiting time of the i-th vehicle, i is the vehicle index;

[0155] ;

[0156] in, is the number of road sections, is the difference between the traffic volume of the g-th road section and the average traffic volume, where g is the road section index; Encourage the agent to learn that if an action can effectively balance the traffic flow at each intersection, avoiding some intersections being too congested while other intersections are relatively free, it will receive a positive reward;

[0157] ;

[0158] in, is the priority weight of the g-th road segment, is the traffic flow of the g-th road segment; the road priority function takes into account the priority of each road segment, so that when optimizing the duration and sequence of traffic lights, more important road segments can be given priority;

[0159] Different values ​​are assigned according to the specific conditions of the road section, for example:

[0160] For main roads out of the city with heavy traffic, Set to a higher value, such as 3; for example, during the evening rush hour, the intersection lights connected to the entrances of the ring road have a higher priority for the road sections in the direction of leaving the city;

[0161] For main roads out of the city with moderate traffic volume, or non-main roads with heavy traffic volume, Set to a medium value, such as 2;

[0162] For non-main roads out of the city with less traffic volume, Set to a lower value, such as 1;

[0163] For example, let the parameters of the reward function be as follows:

[0164] Weight coefficient: , , ,

[0165] Sensitivity coefficient of the continuous green light reward function:

[0166] The number of green lights that the vehicle passes through consecutively: n=5

[0167] Total vehicle waiting time: The sum of is 100

[0168] Flow balance coefficient: The average value is 0.2

[0169] Road priority weight: For main roads, For non-main roads

[0170] Traffic volume: For main roads For non-main roads

[0171] Then we have:

[0172]

[0173]

[0174]

[0175]

[0176] At this point, the agent will receive a relatively high reward value because it successfully forms a green wave (the number of consecutive green lights is 5) while maintaining a good flow balance and giving priority to the main roads with heavy traffic.

[0177] S5: Reinforcement learning model training to adaptively adjust the duration of traffic lights at each intersection;

[0178] S51: Initialize the Q table and assign a random value to each state-action pair;

[0179] S52: The current traffic flow, average speed, red lights for 10 seconds, and consecutive green lights of each road section are taken as the initial state. This state is recorded as ;

[0180] S53: Repeat the following steps until the model iteration reaches the specified number of steps, including:

[0181] Starting from the current state s, with probability Randomly choose an action with probability Choose the action with the largest Q value;

[0182] Execute an action , observe the next state and current rewards ;

[0183] According to the value function update formula, update the Q table ;

[0184] Update s to ;

[0185] Output the strategy with the highest score in the Q table;

[0186] S54: The trained reinforcement learning model outputs the duration results of each traffic light.

[0187] Example 2

[0188] A traffic signal control system based on millimeter wave radar, used to implement the above-mentioned traffic signal control method based on millimeter wave radar, comprising:

[0189] Data acquisition and preprocessing module: obtain the original point cloud data of each road section and preprocess it to obtain the preprocessed point cloud data;

[0190] Point cloud data processing module: performs target detection and classification on the pre-processed point cloud data, tracks the detected vehicles through the particle filter algorithm, and obtains statistics on the traffic volume and average speed of each road section;

[0191] Road section priority calculation module: evaluates the congestion level and priority of each road section based on traffic volume and average speed;

[0192] Reinforcement learning model building module: build a reinforcement learning model, set the state space, action space, value function and reward function of reinforcement learning;

[0193] Reinforcement learning training module: Reinforcement learning model training to adaptively adjust the duration of traffic lights at each intersection.

[0194] It should be noted that the serial numbers of the above-mentioned embodiments of the present invention are only for description and do not represent the advantages and disadvantages of the embodiments. And the terms "including", "comprising" or any other variants thereof in this article are intended to cover non-exclusive inclusion, so that a process, device, article or method including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, device, article or method. In the absence of further restrictions, an element defined by the sentence "including a ..." does not exclude the presence of other identical elements in the process, device, article or method including the element.

[0195] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes a number of instructions for a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present invention.

[0196] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A traffic signal control method based on millimeter wave radar, characterized in that: The following steps are involved: S1: Obtain the original point cloud data of each road section and preprocess it to obtain preprocessed point cloud data; S2: Target detection and classification are performed on the preprocessed point cloud data, and the detected vehicles are tracked through the particle filter algorithm to obtain the traffic volume and average speed of each road section; S3: Evaluate the congestion level and priority of each road section based on traffic volume and average speed; S4: Build a reinforcement learning model and set the state space, action space, value function and reward function of reinforcement learning; The step S4 comprises the following steps: S41: Define the agent, state space, and action space of the reinforcement learning model, including: Define the agent as the traffic light at each intersection; The state space includes the traffic volume, average speed, number of consecutive green lights, vehicle waiting time, and current signal light status of each road section; The action space includes the change of traffic lights, extending the red light time, extending the green light time, shortening the red light time, and shortening the green light time; S42: Define the value function of the reinforcement learning model, which is calculated as follows: ; in, is the value function, s is the current state, is the current action, E is the expectation, γ is the discount factor, is the reward of the zth iteration, z is the number of iterations, is the initial state, is the initial action; The value function update is calculated as: ; in, is the learning rate, For the next state, For the next action; S43: Define the reward function of the reinforcement learning model, which is calculated as: ; in, Take action for state s The reward value, is the weight coefficient of the corresponding function, is the continuous green light reward function, is the total waiting time function of the vehicle, is the traffic balance reward function, is the road priority function; ; Among them, e is a natural constant, is a positive constant, n is the number of green lights that the vehicle passes through consecutively; ; Where M is the number of all vehicles in state s, is the waiting time of the i-th vehicle, i is the vehicle index; ; in, is the number of road sections, is the difference between the traffic volume of the g-th road section and the average traffic volume, where g is the road section index; ; in, is the priority weight of the g-th road segment, is the traffic volume of the g-th road section; S5: Reinforcement learning model training to adaptively adjust the duration of traffic lights at each intersection.

2. The traffic signal control method based on millimeter wave radar according to claim 1, characterized in that: The step S1 comprises the following steps: S11: Obtaining original point cloud data of each road section; S12: Noise filtering is performed on the original point cloud data of each road section. The calculation method is: ; in, is the point cloud data after noise filtering, p is the point in the point cloud data, is the original point cloud data, is the average point from point p to its neighborhood The distance is the threshold coefficient, is the standard deviation; S13: Ground segmentation is performed on the point cloud data after noise filtering. The calculation method is: ; in, is the ground point cloud data, From point p to the plane The distance is the distance threshold; S14: Delete the ground point cloud data from the noise-filtered point cloud data to obtain preprocessed point cloud data.

3. The traffic signal control method based on millimeter wave radar according to claim 2 is characterized in that: The step S2 comprises the following steps: S21: Target detection and classification are performed on the preprocessed point cloud data. The calculation method is: Construct a convolution layer to convolve the intensity of the preprocessed point cloud data and extract local intensity features; The local intensity features are input into the bidirectional recurrent neural network for target detection, and the point cloud category of each point in the preprocessed point cloud data is output. The calculation method is: ; ; ; in, is the local strength characteristic, is the convolutional layer operation, is the intensity sequence of the preprocessed point cloud data, j is the sequence index, is the temporal feature of point cloud data, is a bidirectional recurrent neural network operation, is the point cloud category, is the softmax function, is the weight parameter, is an offset item; point cloud categories include: vehicles, pedestrians, and road facilities; S22: Use the particle filter algorithm to track the points in the point cloud category of vehicles and estimate the position and speed of the vehicle. The calculation method is: ; in, is the distance from the vehicle to the millimeter-wave radar, c is the speed of light, is the sweep time, is the beat frequency, is the swept bandwidth; ; in, is the vehicle speed, is the millimeter wave wavelength, is the Doppler shift; ; in, is the azimuth of the target, is the millimeter wave phase difference, is the distance between antenna elements; S23: For vehicles tracked by the particle filter algorithm, and For the identification of the vehicle, a 10-minute time window is set to count the number of vehicles entering the radar detection area to obtain the traffic flow of the road section; for all vehicles counted within the time window, the speed of each vehicle is calculated. Find the average value to get the average speed of the road section.

4. The traffic signal control method based on millimeter wave radar according to claim 3 is characterized in that: The step S3 comprises the following steps: S31: Calculate the congestion index by combining the traffic volume and average speed of each road section. The calculation method is: ; in, is the congestion index, is the traffic volume of the road section, is the average speed of the road section; S32: Define the road section priority based on the road section direction, traffic volume, and congestion index.

5. The traffic signal control method based on millimeter wave radar according to claim 4 is characterized in that: The step S5 comprises the following steps: S51: Initialize the Q table and assign a random value to each state-action pair; S52: The current traffic flow, average speed, red lights for 10 seconds, and consecutive green lights of each road section are taken as the initial state. This state is recorded as ; S53: Repeat the following steps until the model iteration reaches the specified number of steps, including: Starting from the current state s, with probability Randomly choose an action with probability Choose the action with the largest Q value; Execute an action , observe the next state and current rewards ; According to the value function update formula, update the Q table ; Update s to ; Output the strategy with the highest score in the Q table; S54: The trained reinforcement learning model outputs the duration results of each traffic light.

6. A traffic signal control system based on millimeter wave radar, characterized in that: include: Data acquisition and preprocessing module: obtain the original point cloud data of each road section and preprocess it to obtain the preprocessed point cloud data; Point cloud data processing module: performs target detection and classification on the pre-processed point cloud data, tracks the detected vehicles through the particle filter algorithm, and obtains statistics on the traffic volume and average speed of each road section; Road section priority calculation module: evaluates the congestion level and priority of each road section based on traffic volume and average speed; Reinforcement learning model construction module: build a reinforcement learning model, set the state space, action space, value function and reward function of reinforcement learning; Reinforcement learning training module: Reinforcement learning model training to adaptively adjust the duration of traffic lights at each intersection; To implement the traffic signal control method based on millimeter wave radar as described in any one of claims 1-5.

Citation Information

Patent Citations

  • Signal lamp control method, and related equipment and system

    CN110114806A

  • Regional road network traffic signal lamp coordination control system and method

    CN111583675A