Traffic signal lamp control method based on pulse neural network
The pulse neural network-based traffic light control method optimizes traffic efficiency by converting load states into pulse time series and using genetic algorithms, addressing scalability and resource consumption issues in existing methods.
Patent Information
- Application Number
- CN202411220090.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-02
- Publication Date
- 2024-12-06
- Estimated Expiration
- 2044-09-02
AI Technical Summary
Existing traffic light control technologies face challenges in scalability, resource consumption, and optimality, particularly for large-scale networks, with methods like mixed integer programming, linear quadratic regulators, and reinforcement learning models consuming high computing and storage resources.
A traffic light control method using a pulse neural network that converts traffic network load states into pulse time series, employs a spiking neural network model for phase switching, and optimizes parameters through genetic algorithms to enhance traffic efficiency.
The method reduces computing and storage resource consumption while improving traffic network throughput and reducing delay time through event-driven, low-power artificial intelligence, achieving efficient and adaptive traffic light control.
Smart Images

Figure CN119091653A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to a road signal light control technology, and in particular to a traffic signal light control method based on a pulse neural network. Background Art
[0002] Traffic light control technology refers to the technology that collects traffic network load status information through sensors, such as the number of vehicles on a designated lane, waiting time, average speed, etc., and adjusts the traffic light cycle and phase based on this information to increase the road network throughput and reduce delay time.
[0003] Existing traffic light control technologies mainly include three categories: the first category is operations research methods based on mixed integer programming and dynamic programming. This type of method builds a relatively accurate system dynamics model based on the topological structure of the traffic network and the statistical characteristics of traffic flow, constructs optimization problems, and solves the optimal traffic light cycle and phase duration. However, this type of method is highly model-dependent and has low scalability for large-scale traffic light control; the second type of control method is based on linear quadratic regulators, maximum pressure control, and model predictive control. This type of method uses real-time feedback and prediction to make the traffic light timing adaptive to real-time changes in traffic flow, but this type of method emphasizes the balance and stability of the system rather than global optimality; the third type of method is artificial intelligence methods based on reinforcement learning, including Q networks, policy gradients, actor-critic algorithms, etc. This type of algorithm is based on second-generation neural networks. For large-scale reinforcement learning models, second-generation neural networks consume high computing and storage resources.
[0004] The applicant has previously proposed a traffic light control method based on distributed reinforcement learning, which divides a large-scale traffic network into several small-scale sub-networks, and builds a sub-network signal light control model based on the Q network. Finally, the maximum plus algorithm is used to coordinate all Q network output decisions to achieve the optimization of the overall traffic quality of the road network. The large-scale traffic network signal light control method constructed on the basis of using deep Q networks to control road network sub-units consumes more computing and storage resources.
[0005] It should be noted that the information disclosed in the above background technology section is only used for understanding the background of the present application, and therefore may include information that does not constitute prior art known to ordinary technicians in the field. Summary of the invention
[0006] The main purpose of the present invention is to solve the problems existing in the above-mentioned background technology and to provide a traffic light control method based on pulse neural network.
[0007] To achieve the above object, the present invention adopts the following technical solutions:
[0008] In a first aspect of the present invention, a traffic signal light control method based on a pulse neural network comprises the following steps:
[0009] Step 1: Construct a mathematical model of the urban traffic network load state and define the weighted sum of the number of waiting vehicles in the lane and the queue stop time as the evaluation index of the existing lane load;
[0010] Step 2: Convert the traffic network load state into a pulse time series, and realize the pulse encoding of the state through a nonlinear function converter and an integral converter;
[0011] Step 3: Construct a spiking neural network model for single signal light control, including the integral conversion of input pulse signals and pulse output, as well as the phase switching mechanism;
[0012] Step 4: For the multi-signal light control scenario, perform binary encoding of the pulse neural network parameters, and use distance measurement to determine the order of binary features to prepare for genetic algorithm optimization;
[0013] Step 5: Use genetic algorithms to coordinate multiple pulse neural network parameters to optimize the overall traffic efficiency of the traffic network, and maximize the global traffic efficiency through fitness function evaluation indicators.
[0014] In a second aspect of the present invention, a method for jointly controlling traffic lights in an urban traffic network based on a pulse neural network comprises the following steps:
[0015] Real-time traffic status monitoring and evaluation: Real-time monitoring of traffic status at multiple intersections in the city, and use of monitoring data for evaluation to provide real-time decision support for traffic light control;
[0016] State vector pulse coding: The actual traffic state information monitored is converted into a pulse time series through a nonlinear function converter and an integral converter as the input of the pulse neural network;
[0017] Pulse neural network control model construction and execution: Build a pulse neural network model for single signal light control to realize the integral conversion and pulse output of input pulse signals, as well as the phase switching mechanism;
[0018] Parameter optimization and genetic algorithm coordination: Parameter optimization for multi-signal light control scenarios, through binary coding of pulse neural network parameters and genetic algorithm coordination, to optimize the traffic efficiency of the road network;
[0019] Global traffic efficiency optimization: Genetic algorithms are used to coordinate multiple pulse neural network parameters, and fitness function evaluation indicators are used to maximize the overall traffic efficiency of the transportation network.
[0020] In a third aspect of the present invention, a computer-readable storage medium stores a computer program, which, when executed by a processor, implements the method for jointly controlling urban traffic network signal lights based on a pulse neural network.
[0021] In a fourth aspect of the present invention, a computer program product includes a computer program, and when the computer program is executed by a processor, the urban traffic network signal light joint control method based on a pulse neural network is implemented.
[0022] The present invention has the following beneficial effects:
[0023] The present invention proposes an innovative method for joint control of traffic lights in an urban traffic network based on a pulse neural network. By constructing a pulse neural network model for phase switching of traffic lights at a single intersection and optimizing multiple pulse neural network parameters using a genetic algorithm, efficient control of traffic lights is achieved. Compared with the traffic light control method based on a Q network, the pulse neural network model designed by the present invention has the characteristics of event-driven and low energy consumption, which significantly reduces the consumption of computing and storage resources. In addition, the present invention adopts the idea of distributed optimization and realizes real-time communication between vehicles and road facilities through wireless communication technology, so that the central controller can perform centralized and adaptive traffic light phase adjustment according to real-time traffic network dynamic information, effectively improving the throughput of the road network and reducing the delay time. The low-power artificial intelligence model constructed by the present invention not only improves the intelligence level of traffic management, but also optimizes the overall traffic efficiency of the urban traffic network, showing significant technological progress and application potential in the field of urban traffic control.
[0024] Other beneficial effects of the embodiments of the present invention will be further described below. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] Figure 1 The figure is a flowchart of a traffic light control method based on a pulse neural network according to an embodiment of the present invention.
[0026] Figure 2 1. An intersection (left) and a standard eight-phase diagram of a traffic light (right) according to an embodiment of the present invention.
[0027] Figure 3 Schematic diagram of traffic network load state pulse coding according to an embodiment of the present invention.
[0028] Figure 4 This is a pulse neural network model diagram for controlling a single intersection signal light according to an embodiment of the present invention.
[0029] Figure 5 This is a pulse neural network parameter coding diagram according to an embodiment of the present invention.
[0030] Figure 6A global optimization diagram of a traffic network implemented by a genetic algorithm according to an embodiment of the present invention. DETAILED DESCRIPTION
[0031] The following is a detailed description of the embodiments of the present invention. It should be emphasized that the following description is only exemplary and is not intended to limit the scope and application of the present invention.
[0032] The present invention proposes a method for joint control of traffic lights in an urban traffic network based on a pulse neural network. The specific application scenario is that the urban traffic network is based on wireless communication technology, which can realize real-time communication between vehicles and between vehicles and road facilities. By setting up a central controller of the traffic network, the central controller can realize centralized and adaptive adjustment of the phase of traffic lights according to the real-time received dynamic information of the traffic network, such as vehicle speed, location, driving time, etc., so as to achieve a significant effect of improving the road network throughput and reducing the delay time.
[0033] See also Figure 1 The embodiment of the present invention provides a traffic signal light control method based on a pulse neural network, comprising the following steps:
[0034] Step 1: Construct a mathematical model of the urban traffic network load state and define the weighted sum of the number of waiting vehicles in the lane and the queue stop time as the evaluation index of the existing lane load.
[0035] See also Figure 2 In some embodiments, step one specifically includes:
[0036] The number of waiting vehicles and the queue stop time of each lane are weighted and summed to form an evaluation index for the existing lane load; state variables are defined according to the relative positions of the lanes and traffic flow directions, including the load conditions of the uplink and downlink lanes; the phase diagram of the signal light is designed to distinguish the main phase from other phases, and corresponding access rights are assigned to each lane; for each signal light phase, the corresponding lane load state is calculated, including a combination of the maximum value and the average value to represent the load condition of the lane in a specific phase; the overall state of the current intersection is defined, and the traffic load difference of the intersection is evaluated by comparing the load states in different phases.
[0037] Step 2: Convert the traffic network load state into a pulse time series, and realize the pulse encoding of the state through a nonlinear function converter and an integral converter.
[0038] See also Figure 3 In some embodiments, step 2 specifically includes:
[0039] A nonlinear function converter, such as a square function, is used to process the traffic network load state to enhance the signal's discrimination and sensitivity. When a specific signal light phase is activated, the state variables are dynamically adjusted according to changes in the lane load state, such as when the load state of one phase decreases and the load state of another phase increases. Threshold crossing conditions are set for the state variables, and when the state variables cross these thresholds for the first time, a pulse signal is generated to reflect the sudden change in the traffic load state. The state variables are detected at a preset time point, and based on the comparison results between the state variables and the thresholds, a corresponding pulse signal sequence is generated as the input of the pulse neural network to provide a basis for subsequent signal light control decisions.
[0040] Step 3: Construct a pulse neural network model for single traffic light control, including the integral conversion and pulse output of the input pulse signal, as well as the phase switching mechanism.
[0041] See also Figure 4 In some embodiments, step three specifically includes:
[0042] A pulse neural network model is constructed for single intersection signal light control. The input pulses encoded by the nonlinear converter are processed by the model. The encoded pulse signal is converted into a continuous signal by the integral converter for further processing and analysis. The processed continuous signal is compared with a preset upper limit value. When the continuous signal exceeds the upper limit value, the pulse converter outputs a pulse signal. According to the pulse signal and the output of the integral converter, the signal light is controlled to gradually transition from one phase to another to ensure the continuity and safety of the traffic flow. A lock time is set to keep the signal light in the current phase for a period of time after the pulse signal is output to prevent frequent switching of the signal light phase. Before the end of one phase of the signal light, based on the continuous monitoring and evaluation of the traffic load status, it is decided whether to continue to maintain the current phase or switch to another phase.
[0043] Step 4: For the multi-signal light control scenario, perform binary encoding of the pulse neural network parameters, and determine the order of binary features through distance measurement methods (such as Hamming distance) to prepare for genetic algorithm optimization.
[0044] See also Figure 5 In some embodiments, step 4 specifically includes:
[0045] Through the joint optimization of pulse time parameters, the parameters affecting the pulse occurrence time, namely the phase transition time parameters, are adjusted to achieve global efficiency optimization of the traffic network; the pulse time parameters of each intersection are encoded into binary vectors, and the vectors together constitute a long binary vector for the optimization process of the genetic algorithm; the order of the binary vectors is defined using the Hamming distance, so that vectors with more 1-bit numbers are ranked higher to reflect the size of the parameter value; the pulse time parameters are evenly discretized from the lowest value to the highest value to form a one-to-one correspondence with the binary vectors; the binary vectors of all intersections are spliced into a long binary vector to complete the parameter encoding and provide input for the optimization of the genetic algorithm.
[0046] Step 5: Use genetic algorithms to coordinate multiple pulse neural network parameters to optimize the overall traffic efficiency of the traffic network, and maximize the global traffic efficiency through fitness function evaluation indicators.
[0047] In some embodiments, step five specifically includes:
[0048] The average number of vehicles entering and exiting the traffic network per unit time is calculated, and a network throughput evaluation index is defined based on the index, which is a weighted combination of the maximum and average numbers of vehicles entering and exiting the traffic network; for each vehicle entering and exiting the traffic network, the difference between its actual travel time and the ideal travel time without interference from other vehicles is calculated, which is defined as the delay time; the delay times of all vehicles are summarized, and the weighted sum of the maximum delay time and the average delay time is calculated to obtain the delay time evaluation index of the entire traffic network; combining the network throughput and the network delay time, a traffic network overall traffic efficiency evaluation index is constructed, which is a weighted combination of the above two evaluation indicators; the traffic efficiency evaluation index is defined as a fitness function, which is used to evaluate the effects of different signal light control strategies and select the optimal strategy; the signal light control parameters are optimized using a genetic algorithm, and the iterative evolution of the parameters is guided by the fitness function to maximize the traffic network traffic efficiency.
[0049] See also Figure 6 In some embodiments, the genetic algorithm specifically includes:
[0050] A population containing multiple samples is randomly generated, each sample is a binary vector representing a set of potential pulse neural network parameters; the binary vector is converted into the pulse generation parameters of the integral converter for simulating the pulse generation in the process of signal light control; each parameter vector is Simulation experiment to simulate traffic flow in time period ΔT The fitness function is calculated and the evaluation is performed.The performance of each parameter vector; according to the fitness function value, the roulette method is used to select samples with better performance, and a new generation of population is generated through crossover and mutation operations; the selection, crossover and mutation operations are repeated until the number of iterations reaches the preset maximum value or the population parameters converge to a certain range; through the iterative evolution of the genetic algorithm, the pulse neural network parameter vector that can optimize the overall traffic indicators of the transportation network is determined.
[0051] The embodiment of the present invention also provides a method for jointly controlling signal lights in an urban traffic network based on a pulse neural network, comprising the following steps:
[0052] Real-time traffic status monitoring and evaluation: Real-time monitoring of traffic status at multiple intersections in the city, and use of monitoring data for evaluation to provide real-time decision support for traffic light control;
[0053] State vector pulse coding: The actual traffic state information monitored is converted into a pulse time series through a nonlinear function converter and an integral converter as the input of the pulse neural network;
[0054] Pulse neural network control model construction and execution: Build a pulse neural network model for single signal light control to realize the integral conversion and pulse output of input pulse signals, as well as the phase switching mechanism;
[0055] Parameter optimization and genetic algorithm coordination: Parameter optimization for multi-signal light control scenarios, through binary coding of pulse neural network parameters and genetic algorithm coordination, to optimize the traffic efficiency of the road network;
[0056] Global traffic efficiency optimization: Genetic algorithms are used to coordinate multiple pulse neural network parameters, and fitness function evaluation indicators are used to maximize the overall traffic efficiency of the transportation network.
[0057] Through these implementation steps, the present invention realizes an efficient traffic light control strategy. Through the application of pulse neural networks and genetic algorithms, the traffic light control of urban traffic networks is optimized, the traffic efficiency and load balance of the road network are improved, and the consumption of computing resources is reduced.
[0058] The present invention proposes a low-power neural network model for the joint control of traffic lights in an urban traffic network. Based on the pulse neural network model, a phase switching mechanism for signal lights at a single intersection is constructed; a genetic algorithm is used to coordinate the parameters of multiple pulse neural networks to maximize the overall traffic efficiency of the traffic network. In the present invention, a single intersection phase switching model is constructed based on a pulse neural network, and a genetic algorithm is used to coordinate all pulse neural network parameters in the traffic network to achieve optimal road network traffic efficiency. The present invention adopts a distributed optimization concept. In the control of road network subunits, compared with the applicant's prior method, a pulse neural network is used to replace the Q network, which has the characteristics of event-driven and low energy consumption, and consumes significantly less computing and storage resources.
[0059] The following further describes specific embodiments of the present invention and examples of algorithm implementation thereof.
[0060] Based on the pulse neural network, the present invention proposes a collaborative control framework and method for urban traffic network signal lights, which can improve the load balance of the road network and reduce transportation delay time. The method of the present invention mainly includes the following parts: 1. Constructing a mathematical description of the traffic network load state; 2. Designing a coding method to convert the traffic network load into a pulse signal; 3. Designing a single signal light control method based on the pulse neural network; 4. Designing a binary coding method for pulse neural network parameters for multi-signal light control scenarios; 5. Designing a joint control method for multiple signal lights in the traffic network.
[0061] like Figure 1 As shown, the implementation process of the present invention mainly includes the following steps:
[0062] (1) Constructing a mathematical description of the traffic network load state
[0063] Figure 2 The left part of the figure is a schematic diagram of a crossroad, and the light blue track indicates the direction of traffic allowed at the intersection. Each lane has its own unique number. represents the number of vehicles waiting in lane i With queue stop time The weighted sum of is the evaluation index of the existing load of the lane, which is
[0064]
[0065] Among them, ρ1 and ρ2 are weights, which usually have and to functions of the same order of magnitude.
[0066] Figure 2The right part of the figure is a standard eight-phase diagram of a traffic light, where G is a green light, and the capital letter indicates that the corresponding lane has priority. g is also a green light, and the lowercase letter indicates that the corresponding lane gives way to G. r is a red light, and the corresponding lane is prohibited. y is a yellow light, indicating that the corresponding lane is about to turn red. For example, the phases GGgGrrGGgGrr represent the phases corresponding to lanes 1, 2, 3, 7, 8, 9, 14, 15, 16, 20, 21, and 22 respectively. Phases 1 and 5 are the main phases. When the main phase appears, right-turn lanes 1, 7, 14, and 20 are G. Therefore, the phase conversion has a relatively small impact on right-turn vehicles, and the main impact is concentrated on the straight and left-turn lanes.
[0067] The traffic lanes corresponding to phase 1 are 2, 3, 15, and 16, and the traffic lanes corresponding to phase 2 are 8, 9, 21, and 22. Let the load states corresponding to phase 1 and phase 2 be:
[0068]
[0069] Wherein, k=1 represents the load state corresponding to phase 1, and i=2, 3, 15, 16. k=5 represents the load state corresponding to phase 5, and i=8, 9, 21, 22.
[0070] Define the current state of the intersection as
[0071]
[0072] (2) Traffic network load state pulse coding
[0073] like Figure 3 As shown, the traffic network load state is encoded into a timing pulse signal by the following encoding method:
[0074] Defining nonlinear function transformers
[0075] f(s)=s 2
[0076] When the intersection signal is set to Phase 1, Reduce, Increase, if Then t decreases, during which no pulse is generated; if Then t Increase, at t0, t1...times s t Perform the test, if s t The first time you cross a segment point ( Figure 3 In the nonlinear converter, the red point indicates the value), a pulse is generated, otherwise no pulse is generated, such as Figure 3 As shown, s is detected at t0, t1, and t3. tThe first time a segmentation point is crossed, pulses are generated at t0, t1, and t3.
[0077] (3) Spiking neural network structure design
[0078] Figure 4 The upper left figure shows a pulse neural network model for single intersection signal control. The input V i (t) is the pulse encoded by the nonlinear converter and Convert it to V(t), and then compare V(t) with the set upper limit In comparison, if The pulse converter outputs a pulse. Figure 4 The lower left and right are schematic diagrams of a signal light switching cycle: Assume that at time t0 and Gradually increasing gradually decreases, so In the nonlinear converter, it approaches the upper left in sequence, because This is not the first time to cross the segmentation point, so V i (t) generates pulses at t0, t1, and t3, and the integral converter outputs V(t) and gradually accumulates until after t3, when V(t) exceeds V o (t) Output pulse, the phase gradually transitions from 1 to 2-4 and then to 5, t lock It is the lock time after the output pulse, during which V(t) remains at 0 to prevent the main phase from frequently switching between 1 and 5. At t4, t5, and t6, after the end of phase 1, Gradually increasing Gradually decreasing, but This means that phase 5 needs to continue, so V i (t) No pulse is output until time t7, Beyond V i (t) starts to output pulses, after t7 and t 10 ,t 11 At this moment, V(t) exceeds V o (t) Output pulse, the phase gradually transitions from 5 to 1 via 6-8.
[0079] (4) Pulse Neural Network Parameter Coding
[0080] Integral Generator In the above formula, τ is a parameter that affects when the pulse occurs, that is, when the phase changes. The present invention achieves the best global efficiency of the traffic network by jointly optimizing the pulse time parameters τ of multiple intersections. To use the genetic algorithm for optimization, all pulse time parameters τ1, τ2, ..., τ n Encoded as a binary vector.
[0081] Figure 5 Shown is the spiking neural network parameter encoding.
[0082] τ i is a continuous variable. Assume that it corresponds to a P-bit binary vector, the lowest value of which is all 0 and the highest value is all 1. Using the definition of Hamming distance, the more 1-bits the intermediate vector contains, the higher the ranking. For vectors with the same 1-bit, they are sorted by their numerical values. In this way, there are a total of Y binary vectors from the lowest value to the highest value. i The value is discretized uniformly into Y points from the lowest value to the highest value, forming a one-to-one correspondence with the value of the P-bit binary vector. n according to The above method constructs n binary vectors and concatenates them into a long binary vector, and the encoding is completed.
[0083] (5) Traffic network signal light coordinated control
[0084] Define the average number of vehicles entering a traffic network per unit time in a certain period of time as N in , the average number of vehicles leaving the traffic network is N out , define the network throughput evaluation index:
[0085] N net =αmax{N in ,N out}+(1-α)mean{N in ,N out}
[0086] For vehicles entering and exiting a traffic network, the difference between the actual travel time and the ideal travel time (the travel time without interference from other vehicles) is defined as the delay time D. q , where q is the vehicle number. The delay time of the traffic network is defined as:
[0087]
[0088] D net It is the weighted sum of the maximum and average delay times of all vehicles entering and leaving the traffic network within a specified time period.
[0089] Define the overall traffic efficiency evaluation index of the transportation network
[0090] E net =γ1Nnet +γ2D net
[0091] γ1 and γ2 are weights, which usually have the function of N net and D net E net (ΔT) is defined as the fitness function, where ΔT is a selected period of time. If there are multiple measured samples, E net (ΔT) is the average value of historical samples.
[0092] Figure 6 It shows that the global optimization of the transportation network can be achieved through genetic algorithm.
[0093] like Figure 6 As shown, the embodiment of the present invention uses a genetic algorithm to solve the pulse neural network parameter vector that can optimize the overall traffic index of the traffic network. The specific steps are as follows:
[0094] Step 1: Randomly initialize the population, i.e., a binary vector set containing m samples, convert it into the pulse generation parameters of the integral converter, and conduct a simulation experiment of ΔT time to obtain the fitness function value;
[0095] Step 2: According to the fitness function value, the roulette method is used to select the population, and the selected samples are crossover and mutation operations are performed to obtain the next generation population;
[0096] Step 3: Check whether the number of iterations has reached the maximum value, or whether the population has converged to a certain area. If so, stop the calculation; if not, go to step 1 to continue the calculation.
[0097] In summary, the embodiments of the present invention propose a traffic light control method based on a pulse neural network, wherein: (1) a pulse coding method is proposed to convert the load state of the urban traffic network into a pulse time sequence. (2) a pulse neural network structure is proposed for single signal light switching time control, the structure comprising an integral converter that converts an input pulse signal into a continuous wave signal, and a pulse generator that converts a continuous signal into a pulse output. (3) a pulse neural network is proposed. A binary encoding method for network parameters is proposed, which uses Hamming distance to determine the order of binary features. (4) Genetic algorithms are used to coordinate the parameters of multiple pulse neural networks to improve the global traffic indicators of urban transportation networks.
[0098] The urban traffic network signal light joint control method based on pulse neural network proposed in the present invention has the characteristics of event-driven and low energy consumption, and consumes significantly less computing and storage resources than the signal light control method based on Q network.
[0099] An embodiment of the present invention further provides a storage medium for storing a computer program, which at least performs the above method when executed.
[0100] An embodiment of the present invention further provides a control device, comprising a processor and a storage medium for storing a computer program; wherein the processor is configured to execute at least the method described above when executing the computer program.
[0101] An embodiment of the present invention further provides a processor, wherein the processor executes a computer program and at least executes the method described above.
[0102] The storage medium can be implemented by any type of non-volatile storage device, or a combination thereof. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a magnetic random access memory (FRAM), a ferromagnetic random access memory (Flash Memory), a magnetic surface memory, an optical disc, or a compact disc read-only memory (CD-ROM); the magnetic surface memory can be a disk memory or a tape memory. The storage medium described in the embodiments of the present invention is intended to include, but is not limited to, these and any other suitable types of memory.
[0103] In the several embodiments provided by the present invention, it should be understood that the disclosed systems and methods can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.
[0104] The units described above as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place. can also be distributed to multiple network units Yuan; you can choose some of them according to actual needs or all units to achieve the purpose of the embodiment.
[0105] In addition, all functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be separately used as a unit, or two or more units may be integrated into one unit; the above-mentioned integrated units may be implemented in the form of hardware or in the form of hardware plus software functional units.
[0106] A person skilled in the art can understand that: all or part of the steps of implementing the above method embodiment can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above method embodiment; and the aforementioned storage medium includes: mobile storage devices, read-only memories (ROM, Read-Only Memory), random access memories (RAM, Random Access Memory), disks or optical disks, etc. Various media that can store program codes.
[0107] Alternatively, if the above-mentioned integrated unit of the present invention is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present invention can be essentially or partly reflected in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROM, RAM, magnetic disks or optical disks.
[0108] The methods disclosed in the several method embodiments provided by the present invention can be arbitrarily combined without conflict to obtain new method embodiments.
[0109] The features disclosed in several product embodiments provided by the present invention can be arbitrarily combined without conflict to obtain new product embodiments.
[0110] The features disclosed in several method or device embodiments provided by the present invention can be arbitrarily combined without conflict to obtain new method embodiments or device embodiments.
[0111] The above contents are further detailed descriptions of the present invention in combination with specific preferred embodiments, and it cannot be determined that the specific implementation of the present invention is limited to these descriptions. For those skilled in the art of the present invention, several equivalent substitutions or obvious variations can be made without departing from the concept of the present invention, and the performance or use is the same, which should be regarded as belonging to the protection scope of the present invention.
Claims
1. A traffic light control method based on pulse neural network, characterized in that: The steps include: Step 1: Construct a mathematical model of the urban traffic network load state and define the weighted sum of the number of waiting vehicles in the lane and the queue stop time as the evaluation index of the existing lane load; Step 2: Convert the traffic network load state into a pulse time series, and realize the pulse encoding of the state through a nonlinear function converter and an integral converter; Step 3: Construct a spiking neural network model for single signal light control, including the integral conversion of input pulse signals and pulse output, as well as the phase switching mechanism; Step 4: For the multi-signal light control scenario, perform binary encoding of the pulse neural network parameters, determine the order of binary features through distance measurement, and prepare for genetic algorithm optimization; Step 5: Use genetic algorithms to coordinate multiple pulse neural network parameters to optimize the overall traffic efficiency of the traffic network, and maximize the global traffic efficiency through fitness function evaluation indicators.
2. The traffic signal light control method based on pulse neural network as claimed in claim 1, characterized in that: Step 1 specifically includes: The number of waiting vehicles and the queue stop time of each lane are weighted and summed to form an evaluation index of the lane's current load; According to the relative position of the lanes and the traffic flow direction, the state variables are defined, including the load conditions of the up and down lanes; Design the phase diagram of the traffic light, distinguish the main phase from other phases, and assign corresponding traffic rights to each lane; For each signal light phase, the corresponding lane load status is calculated, including a combination of maximum and average values, to represent the lane load status at a specific phase; Define the overall state of the current intersection and evaluate the traffic load difference of the intersection by comparing the load states in different phases.
3. The traffic light control method based on pulse neural network as claimed in claim 1 or 2, characterized in that: Step 2 specifically includes: Adopt nonlinear function converters, such as square functions, to process the traffic network load state to enhance the signal discrimination and sensitivity; Dynamically adjust state variables based on changes in lane load states when a particular signal phase is activated, such as when the load state of one phase decreases while the load state of another phase increases; Setting threshold crossing conditions of state variables, when the state variables cross these thresholds for the first time, generating pulse signals to reflect the sudden change of traffic load state; The state variables are detected at a preset time point, and the corresponding pulse signal sequence is generated according to the comparison result between the state variables and the threshold value, which serves as the input of the pulse neural network and provides a basis for subsequent traffic light control decisions.
4. The traffic light control method based on pulse neural network according to any one of claims 1 to 3, characterized in that: Step three specifically includes: A spiking neural network model is constructed for single intersection signal control, through which the input pulses encoded by a nonlinear converter are processed; The coded pulse signal is converted into a continuous signal by an integrating converter for further processing and analysis; Comparing the processed continuous signal with a preset upper limit value, when the continuous signal exceeds the upper limit value, the pulse converter outputs a pulse signal; According to the pulse signal and the output of the integral converter, the traffic light is controlled to gradually transition from one phase to another to ensure the continuity and safety of traffic flow; Set a lock time to keep the signal light at the current phase for a period of time after outputting the pulse signal to prevent frequent switching of the signal light phase; Before a phase of a traffic light ends, a decision is made based on continuous monitoring and evaluation of the traffic load status whether to continue the current phase or switch to another phase.
5. The traffic light control method based on pulse neural network according to any one of claims 1 to 4, characterized in that: Step 4 specifically includes: Through the joint optimization of pulse time parameters, the parameters affecting the pulse occurrence time, namely the phase transition time parameters, are adjusted to achieve global efficiency optimization of the transportation network; Encoding the pulse time parameters of each intersection into binary vectors, wherein the vectors together form a long binary vector for use in the optimization process of the genetic algorithm; The Hamming distance is used to define the order of binary vectors, so that vectors with more 1-bit numbers are ranked higher to reflect the size of the parameter value; The pulse time parameter is discretized uniformly from the lowest value to the highest value to form a one-to-one correspondence with the binary vector; The binary vectors of all intersections are concatenated into a long binary vector to complete parameter encoding and provide input for genetic algorithm optimization.
6. The traffic light control method based on pulse neural network according to any one of claims 1 to 5, characterized in that: Step 5 specifically includes: Calculate the average number of vehicles entering and leaving the traffic network per unit time, and define the network throughput evaluation index based on it, which is a weighted combination of the maximum and average values of the number of vehicles entering and leaving the network; For each vehicle entering and exiting the traffic network, the difference between its actual travel time and the ideal travel time without interference from other vehicles is calculated, which is defined as the delay time; Summarize the delay time of all vehicles, calculate the weighted sum of the maximum delay time and the average delay time, and obtain the delay time evaluation index of the entire traffic network; Combining network throughput and network delay time, an overall traffic efficiency evaluation index of the traffic network is constructed, which is a weighted combination of the above two evaluation indicators. The traffic efficiency evaluation index is defined as a fitness function, which is used to evaluate the effects of different traffic light control strategies and select the optimal strategy; Genetic algorithms are used to optimize traffic light control parameters, and the iterative evolution of parameters is guided by the fitness function to maximize the efficiency of the traffic network.
7. The traffic signal light control method based on pulse neural network as claimed in claim 6, characterized in that: The genetic algorithm specifically includes: Randomly generate a population of multiple samples, each sample is a binary vector representing a set of potential spiking neural network parameters; Convert the binary vector into pulse generation parameters of the integral converter for simulating pulse generation in the process of signal light control; Conduct simulation experiments for each parameter vector to simulate the traffic flow in the time period ΔT, and calculate the fitness function value to evaluate the performance of each parameter vector; According to the fitness function value, the roulette wheel method is used to select samples with better performance, and a new generation of population is generated through crossover and mutation operations; Repeat the selection, crossover, and mutation operations until the number of iterations reaches the preset maximum value or the population parameters converge to a certain range; Through the iterative evolution of genetic algorithms, the pulse neural network parameter vector that can optimize the overall traffic index of the transportation network is determined.
8. A method for joint control of urban traffic network signal lights based on pulse neural network, characterized in that: include: Real-time traffic status monitoring and evaluation: Real-time monitoring of traffic status at multiple intersections in the city, and use of monitoring data for evaluation to provide real-time decision support for traffic light control; State vector pulse coding: The actual traffic state information monitored is converted into a pulse time series through a nonlinear function converter and an integral converter as the input of the pulse neural network; Pulse neural network control model construction and execution: Build a pulse neural network model for single signal light control to realize the integral conversion and pulse output of input pulse signals, as well as the phase switching mechanism; Parameter optimization and genetic algorithm coordination: Parameter optimization for multi-signal light control scenarios, through binary coding of pulse neural network parameters and genetic algorithm coordination, to optimize the traffic efficiency of the road network; Global traffic efficiency optimization: Genetic algorithms are used to coordinate multiple pulse neural network parameters, and fitness function evaluation indicators are used to maximize the overall traffic efficiency of the transportation network.
9. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method for jointly controlling signal lights in an urban traffic network based on a pulse neural network as described in any one of claims 1 to 8 is implemented.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the method for jointly controlling signal lights in an urban traffic network based on a pulse neural network as described in any one of claims 1 to 8 is implemented.
Citation Information
Patent Citations
Large-scale urban road traffic light intelligent control system and method
CN115547042A
Method for predicting large-scale urban road traffic flow and storage medium
CN115907196A
Signal lamp control system based on neuron circuit and electronic equipment
CN116056285A
Method and system for traffic signal identification
CN118334614A
Cited By
Wind-solar complementary signal lamp power supply energy-saving management and control method and system based on meteorological prediction
CN122598454A
