Predictive cruise rolling optimization method based on IVCPS
By designing a predictive cruise rolling optimization method on the IVCPS platform, combined with shock wave theory, ant colonies, and genetic algorithms, the problem of speed optimization in time-varying traffic environments is solved, and more accurate queue dissipation time prediction and green wave traffic speed planning are achieved. Improved bus safety and economy.
Patent Information
- Application Number
- CN202410669262.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-28
- Publication Date
- 2024-09-20
AI Technical Summary
Existing predictive cruise algorithms are difficult to accurately predict queue dissipation time and rolling optimization vehicle speed in time-varying traffic environments, and ignore the influence of upstream road sections and the time-varying traffic environment.
Based on IVCPS, a predictive cruise rolling optimization method is designed, including a single-vehicle predictive cruise rolling optimization algorithm framework, a longitudinal dynamics model, an energy consumption model, a multi-signal periodic queuing dissipation time deduction model of shock wave theory, and a green wave traffic time planning algorithm. The ant colony algorithm and genetic algorithm are combined to perform a double-layer solution, taking into account the impact of multiple upstream road sections, and deploying an economic-safety module on the vehicle side to deal with emergencies.
It improves the accuracy of predicting queue dissipation time at intersections and the flexibility and adaptability of green wave traffic speed planning, and improves the safety, comfort and economy of buses during driving.
Smart Images

Figure CN118665474A
Abstract
Description
Technical Field
[0001] The invention belongs to the field of intelligent transportation technology, and in particular relates to a predictive cruise rolling optimization method based on IVCPS. Background Art
[0002] Intelligent Vehicle Cyber-Physical Systems (IVCPS) are the specific application of CPS in the field of transportation. IVCPS is a closed-loop enabling system based on the automatic flow of data between the transportation cyberspace and the physical space, which features state perception, real-time analysis, scientific decision-making, and precise execution. It has the characteristics of multi-entity, heterogeneity, openness, closed-loop, emergence, and evolution. Its purpose is to build an intelligent ecosystem inside and outside the smart car, and to achieve efficient, intelligent, and secure interconnection between people, cars, roads, and clouds through technical means such as information perception, information transmission, information processing, and information application. IVCPS can achieve safe and reliable collaboration and interoperability between heterogeneous information systems (in a broad sense) and physical systems, support reliable, efficient, and real-time perception and decision-making control of smart cars, and promote the safety, efficiency, and environmental protection of transportation.
[0003] In the scenario of continuous signal intersections, the predictive cruise algorithm obtains the traffic light information of the intersection ahead in advance and designs an optimization control method to optimize the vehicle's running speed, so that the vehicle can pass through the intersection without slowing down, so as to achieve green wave traffic and reduce energy consumption. There are two main predictive cruise algorithms under ideal traffic conditions: rule-based and optimization-based. The predictive cruise algorithms designed based on these two methods can achieve relatively good results under ideal traffic conditions. However, in real traffic, the traffic environment is constantly changing. To achieve green wave traffic for vehicles under time-varying traffic conditions, it is necessary to consider the impact of environmental vehicles queuing at intersections, and at the same time, it is necessary to perform rolling optimization of vehicle speed according to real-time conditions. That is, the predictive cruise algorithm needs to accurately predict the queue dissipation time and roll-plan the optimal vehicle speed sequence.
[0004] At present, the existing prediction methods for queue dissipation time have the problem of ignoring the influence of upstream sections. These prediction methods usually take isolated signal intersections as the research object and establish queue length estimation models. However, the intersections of real road networks are not isolated, and the downstream vehicle queue situation is usually closely related to the position, speed and travel time of upstream vehicles. At the same time, the existing green wave speed planning algorithms ignore the time-varying nature of the actual traffic environment. These algorithms use constant traffic scenes as references and usually only optimize the speed at the departure point and specific planning points of the bus, rather than frequently performing rolling optimization based on the time-varying traffic environment. How to propose a predictive cruise rolling optimization algorithm that takes into account the influence of upstream sections has become an urgent problem to be solved. Summary of the invention
[0005] In view of this, an object of the present invention is to provide a predictive cruise rolling optimization method based on IVCPS.
[0006] In order to achieve the above object, the present invention provides the following technical solutions:
[0007] A predictive cruise rolling optimization method based on IVCPS includes the following steps:
[0008] S1. Design a single-vehicle predictive cruise rolling optimization algorithm framework;
[0009] S2. Build a scene model;
[0010] Based on the bus continuous intersection traffic scenario, the bus operation characteristics are analyzed, the operation scenario is defined, and the scenario model is constructed;
[0011] S3. Construct the longitudinal dynamics model and energy consumption model of the vehicle;
[0012] S4. Based on the shock wave theory, a multi-signal periodic queue dissipation time deduction model considering multiple upstream sections is established;
[0013] S5. Design a green wave travel time planning algorithm based on the single-vehicle predictive cruise rolling optimization algorithm framework;
[0014] S6. Based on the green wave travel time planning algorithm, a green wave travel speed planning algorithm is designed to solve the speed trajectory sent from the cloud to the vehicle end;
[0015] S7. An economic-safety module is deployed on the vehicle side to deal with situations where vehicles in adjacent lanes cut in and vehicles ahead brake suddenly.
[0016] Furthermore, in step S1, the single-vehicle predictive cruise rolling optimization algorithm framework includes the following four parts: prediction of queue dissipation time, planning of green wave travel time, planning of green wave travel speed, and "economy-safety" module selecting mode according to sensor data.
[0017] Furthermore, in step S3, the longitudinal dynamics model of the vehicle includes:
[0018] The traction force F is calculated using the following formula:
[0019] F tr =F drag +F roll +F climb +F inertia
[0020]
[0021] Fclimb =mgsin(α)
[0022] F roll = mgfcos(α)
[0023] F inertia =δma
[0024] In the formula, F drag is the air resistance; ρ is the air mass density kg / m 3 ; C d is the drag coefficient; A represents the frontal area of the vehicle m 3 ; v is the vehicle speed, m / s; F climb is the slope force; m is the total mass of the vehicle in kg; g is the acceleration due to gravity, which is 9.81 m / s 2 ; α is the road slope; F roll is the rolling friction; f is the rolling friction coefficient; F inertia It is the inertial force generated by the change of stored kinetic energy in the vehicle, such as acceleration and deceleration; a is the vehicle acceleration m / s 2 ; δ represents the rotational mass conversion coefficient.
[0025] Furthermore, in step S3, the energy consumption model of the vehicle includes:
[0026] According to Newton's second law, the motor changes the vehicle's state of motion by doing work. The instantaneous power of the motor is calculated as follows:
[0027]
[0028] Among them, when p w (t)p w When (t)>0, the battery output current powers the motor to rotate; when p w When (t) < 0, the bus performs kinetic energy recovery and reversely charges the battery;
[0029] Use p net (t) represents the net output power of the battery used to drive the motor, p net The calculation expression of (t) is as follows:
[0030]
[0031] Q is used to represent the total energy consumption of the trip. In the continuous time domain, the calculation expression of Q is as follows:
[0032]
[0033] Where η dl , η em , η bat , η regThey represent power system efficiency, motor efficiency, battery efficiency and regenerative braking energy efficiency respectively.
[0034] Further, the step S4 includes the following sub-steps:
[0035] S4.1 Establish a prediction model for the change of vehicle number in a single road section over time;
[0036] Assume that the initial section L j-1 The time-varying parameters of are known. Vehicles turning from other areas to merge into the road section are not considered. When a vehicle crosses the stop line, it is considered to enter the next road section. The formula is as follows:
[0037]
[0038] (In queue dissipation state)
[0039] (In free driving state)
[0040]
[0041] In the formula, represents the total time of the green light at the jth signal intersection from t = 0 to the current moment; and Indicates leaving section L from t = 0 to the current time j-1 and enter the section L j The number of vehicles, the two values are equal; when the signal intersection is red, Indicates that no vehicle is passing through section L j Drive out; Indicates road segment L j The number of vehicles at the current time t; Indicates that in the initial stage, section L j The number of vehicles; Indicates road segment L j The density k; Indicates road segment L j The length of q m Indicates the flow rate at the optimal state; Indicates road segment L j-1 The flow rate at time t; the function R represents the relationship between flow rate and density in the basic graph model of traffic flow;
[0042] S4.2 establishes a queue dissipation time prediction model for the pth period at the jth intersection;
[0043] Corresponding p to the time interval, the time interval represented by the pth period is The model formula is as follows:
[0044]
[0045] In the formula, represents the predicted queue dissipation time of the pth cycle at the jth intersection; is a constant, where k m represents the optimal state density, k d Indicates the density under congestion state; Indicates L j The stopping wave speed of the road section at time t; represents the average stop wave speed; Indicates road segment L j The density at time t.
[0046] Further, the step S5 includes the following sub-steps:
[0047] S5.1 obtains the position and speed of the vehicle, and predicts and analyzes the green wave passage time window interval of the vehicle;
[0048] S5.2 discretizes the time domain with a granularity of △t = 0.5s, and then constructs an optimization problem with the goal of minimizing the average speed fluctuation;
[0049] S5.3 uses the ant colony algorithm to solve the problem constructed in step S2 and obtain an optimal time path.
[0050] Furthermore, in step S6, the green wave speed planning algorithm specifically includes:
[0051] I. Taking economy, punctuality and comfort as the goals, speed, acceleration and green wave travel time as the constraints, and acceleration at each time step as the decision variable, a multi-objective and multi-constraint optimization problem is constructed;
[0052] II. Use genetic algorithm to solve the problem constructed in step I and obtain the acceleration sequence.
[0053] Further, in step S7, the economic-safety module includes a safety mode and an economic mode;
[0054] When the optimal speed planned by the cloud cannot be executed, the vehicle switches to safety mode and follows the vehicle in front to ensure safety;
[0055] When conditions are right, the vehicle switches to economic mode and executes the speed recommended by the cloud.
[0056] Beneficial effects:
[0057] 1. Aiming at the problem that the existing queue dissipation time prediction method ignores the influence of upstream sections, the present invention proposes a prediction model based on shock wave theory that considers the influence of multiple upstream sections. Compared with the existing queue dissipation time prediction method, the prediction model improves the accuracy of the cruise algorithm in predicting the queue dissipation time of the intersection in multiple future signal cycles.
[0058] 2. In view of the fact that existing studies have ignored the time-varying nature of the actual traffic environment, the present invention has designed a rolling optimized green wave speed planning algorithm. The algorithm has a two-layer solution structure. The upper layer combines the signal light timing information and the predicted queue dissipation time. The lower layer solves the vehicle speed sequence in the discrete time domain for planning the time path of the green wave traffic for a single bus. An optimization problem is constructed at each layer and solved using the ant colony algorithm and genetic algorithm respectively. Compared with the existing green wave speed planning algorithm, this algorithm not only improves the flexibility and adaptability of the cruising algorithm, but also improves the safety, comfort and economy of the bus during driving.
[0059] Other advantages, objectives and features of the present invention will be described in the following description to some extent, and to some extent, will be obvious to those skilled in the art based on the following examination and study, or can be taught from the practice of the present invention. The objectives and other advantages of the present invention can be realized and obtained through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0060] Figure 1 It is a flow chart of a predictive cruise rolling optimization method based on IVCPS of the present invention;
[0061] Figure 2 The single-vehicle predictive cruise rolling optimization algorithm framework provided in this embodiment;
[0062] Figure 3 A scene model diagram provided for this embodiment;
[0063] Figure 4 A macro basic diagram provided for this embodiment;
[0064] Figure 5 A queue dissipation time prediction flow chart provided for this embodiment;
[0065] Figure 6 A schematic diagram of the planning at the starting position provided for this embodiment;
[0066] Figure 7 A schematic diagram of the planning at different locations provided for this embodiment;
[0067] Figure 8 A schematic diagram of time discretization provided for this embodiment;
[0068] Fig. 9 Three continuous intersection directed graphs provided for this embodiment;
[0069] Fig.10 A flow chart for generating genes of the primary population provided in this embodiment;
[0070] Fig.11 This is a block diagram of the adaptive cruise control system provided in this embodiment. DETAILED DESCRIPTION
[0071] In order to make the technical solutions, advantages and purposes of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the described embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work belong to the protection scope of this application.
[0072] like Figure 1 As shown, the present invention provides a predictive cruise rolling optimization method based on IVCPS, and the specific steps are as follows:
[0073] S1. Design a single-vehicle predictive cruise rolling optimization algorithm framework;
[0074] The framework of the single-vehicle predictive cruise rolling optimization algorithm includes the following four parts: prediction of queue dissipation time, planning of green wave travel time, planning of green wave travel speed, and the "economy-safety" module selecting the mode based on sensor data.
[0075] The framework of the single-vehicle predictive cruise rolling optimization algorithm is as follows Figure 2 As shown, the specific steps are as follows:
[0076] Step 1: Predict the queue dissipation time;
[0077] Step 2: Plan the green wave speed according to the prediction result of the queue dissipation time described in step 1. The planning algorithm of the green wave speed has a double-layer solution structure. First, the green wave time is planned according to the queue dissipation time to obtain the time when the bus passes each traffic light intersection;
[0078] Step 3: After obtaining the timetable for arriving at each intersection according to the green wave travel time planning algorithm described in step 2, plan the vehicle speed and obtain the corresponding acceleration sequence as the optimization result and send it to the vehicle end;
[0079] Step 4: The "Economy-Safety" module on the vehicle side judges safety based on the information collected by the on-board sensors. If it is suitable to execute the cloud-recommended speed, it switches to economy mode and feeds back the vehicle status to the cloud after each rolling optimization cycle. If the surrounding vehicles or emergency situations make it unsuitable to execute the cloud-recommended speed, it switches to safety mode and uses the adaptive cruise control (ACC) system to follow the vehicle in front to ensure safety.
[0080] S2. Build scenario model: Based on the scenario of buses passing through continuous intersections, analyze the operation characteristics of buses, define the operation scenarios, and then build a scenario model. The schematic diagram of the scenario model is as follows: Figure 3 As shown;
[0081] The specific definition of the running scenario is as follows:
[0082] Cloud-controlled buses and other human-driven vehicles travel together in a straight lane. Buses do not consider turning and lane changing, and follow the first-in-first-out (FIFO) principle. There is no overtaking. Human-driven vehicles may randomly enter the current lane from the adjacent lane, or may exit the current lane.
[0083] The bus runs in single-trip mode, and only one bus can stop at each stop. When the passengers get on and off the bus at the stop, the bus will depart immediately. There is a cloud control area between two adjacent stops. The bus needs to pass through all signal intersections between the stops from the departure stop to the destination stop. At the same time, the bus runs according to the given schedule, and arriving at the destination stop according to the schedule is considered to have arrived on time. The bus is a pure electric vehicle, and the battery power is considered to be sufficient, so the endurance issue is not considered.
[0084] Traffic lights are defined as having only two states: red and green. A green light indicates that the vehicle is allowed to pass, while a red light indicates that the vehicle is not allowed to pass. The signalized intersection is simplified to a stop line horizontally, and its internal structure is ignored. When a bus passes through a signalized intersection, it is considered to pass instantly, and the width of the signalized intersection is not considered.
[0085] The definition of signal cycle is clear, that is, if the light is red at this moment, then the time from this moment to the moment when the light changes from red to green is one signal cycle; if the light is green at this moment, then the time from this moment to the next moment when the light changes from red to green is one signal cycle.
[0086] In the context of IVCPS, the timing scheme of traffic lights, the position and speed distribution of road vehicles are known, and the phase information of traffic lights is time-invariant. By discretizing time, each traffic light state can constitute several closed intervals.
[0087] The cloud control area is from the departure station to the destination station. The total length of the road in this area is defined as S total, define the number of signalized intersections in the area between adjacent stations as J-1, and divide the journey between stations into J sections with signalized intersections as the dividing points. Each section is defined as L1..L J , define the length of each segment as When there is no intersection between stations, J = 1. To facilitate subsequent calculations, the concept of absolute position is defined here, S j represents the distance from the jth signalized intersection to the departure station, S j =S total Here, the target station can be regarded as an intersection, S now is the absolute position of the vehicle at this time, and the green light interval of each intersection is expressed as
[0088] In order to simplify the analysis process, the present invention converts the last section L j is equivalent to a signalized intersection section, the target station is equivalent to signalized intersection J, and the green light time interval is the arrival time t planned by the bus operating company. target .
[0089] S3. Construct the longitudinal dynamics model and energy consumption model of the vehicle;
[0090] The longitudinal dynamics model of the vehicle includes:
[0091] The traction force F is calculated using the following formula:
[0092] F tr =F drag +F roll +F climb +F inertia
[0093]
[0094] F climb =mgsin(α)
[0095] F roll = mgfcos(α)
[0096] F inertia =δma
[0097] In the formula, F drag is the air resistance; ρ is the air mass density kg / m 3 ; C d is the drag coefficient; A represents the frontal area of the vehicle m 3 ; v is the vehicle speed, m / s; F climb is the slope force; m is the total mass of the vehicle in kg; g is the acceleration due to gravity, which is 9.81 m / s 2 ; α is the road slope; Froll is the rolling friction; f is the rolling friction coefficient; F inertia It is the inertial force generated by the change of stored kinetic energy in the vehicle, such as acceleration and deceleration; a is the vehicle acceleration m / s 2 ; δ represents the rotational mass conversion coefficient.
[0098] The vehicle's energy consumption model includes:
[0099] According to Newton's second law, the motor changes the vehicle's state of motion by doing work. The instantaneous power of the motor is calculated as follows:
[0100]
[0101] Among them, when p w (t)p w When (t)>0, the battery output current powers the motor to rotate; when p w When (t) < 0, the bus performs kinetic energy recovery and reversely charges the battery;
[0102] Use p net (t) represents the net output power of the battery used to drive the motor, p net The calculation expression of (t) is as follows:
[0103]
[0104] Q is used to represent the total energy consumption of the trip. In the continuous time domain, the calculation expression of Q is as follows:
[0105]
[0106] Where η dl , η em , η bat , η reg They represent power system efficiency, motor efficiency, battery efficiency and regenerative braking energy efficiency respectively.
[0107] S4. Based on the shock wave theory, a multi-signal periodic queue dissipation time deduction model considering multiple upstream sections is established;
[0108] S4.1 Establish a prediction model for the change of vehicle number in a single road section over time;
[0109] Set the initial conditions and assume that there are J signalized intersections on one lane. j The initial number of vehicles and signal phases on the grid can be obtained through IVCPS. Without considering the length of the carriage, it is assumed that each road section has infinite capacity and that the queued vehicles can be dissipated within the green light cycle. Now we need to predict the queue dissipation time of P signal cycles at the intersection from j to J;
[0110] Establish a prediction model for the number of vehicles on a single road section over time, assuming that the initial road section L j-1 The time-varying parameters of are known. Vehicles turning from other areas to merge into the road section are not considered. When a vehicle crosses the stop line, it is considered to enter the next road section. The formula is as follows:
[0111]
[0112] (In queue dissipation state)
[0113] (In free driving state)
[0114]
[0115] In the formula, represents the total time of the green light at the jth signal intersection from t = 0 to the current moment; and Indicates leaving section L from t = 0 to the current time j-1 and enter the section L j The number of vehicles, the two values are equal; when the signal intersection is red, Indicates that no vehicle is passing through section L j Drive out; Indicates road segment L j The number of vehicles at the current time t; Indicates that in the initial stage, section L j The number of vehicles; Indicates road segment L j The density k; Indicates road segment L j The length of q m Indicates the flow rate at the optimal state; Indicates road segment L j-1 The flow at time t; the function R represents the relationship between flow and density in the basic graph model of traffic flow, such as Figure 4 As shown;
[0116] S4.2 establishes a queue dissipation time prediction model for the pth period at the jth intersection;
[0117] Corresponding p to the time interval, the time interval represented by the pth period is The model formula is as follows:
[0118]
[0119] In the formula, represents the predicted queue dissipation time of the pth cycle at the jth intersection; is a constant, where k m represents the optimal state density, kd Indicates the density under congestion state; Indicates L j The stopping wave speed of the road section at time t; represents the average stop wave speed; Indicates road segment L j The density at time t.
[0120] The queue dissipation time prediction process is as follows Figure 5 shown.
[0121] S5. Design a green wave travel time planning algorithm based on the single-vehicle predictive cruise rolling optimization algorithm framework;
[0122] S5.1 obtains the position and speed of the vehicle, and predicts and analyzes the green wave passage time window interval of the vehicle;
[0123] S5.2 discretizes the time domain with a granularity of △t = 0.5s, and then constructs an optimization problem with the goal of minimizing the average speed fluctuation;
[0124] S5.3 uses the ant colony algorithm to solve the problem constructed in step S2 and obtain an optimal time path.
[0125] The specific preliminary analysis of the green wave travel time window interval when the vehicle is at the current position and speed is as follows:
[0126] In order to reduce the search scope in the state space during the solution process, it is first necessary to pre-analyze the scene and filter out reasonable green light windows for passing through the intersection.
[0127] Previous studies mostly planned the green wave time at the starting point. This invention takes into account the time-varying nature of traffic flow. Planning only once at the starting point will result in the inability of buses to execute in actual road scenarios. Therefore, the designed cloud control system has multiple planning points on the entire road section. When vehicles travel to different locations or are triggered by external events, the green wave window needs to be solved in a rolling manner. Based on this requirement, the following solution algorithm is designed:
[0128] First, the formula is derived in the continuous time domain. After the bus completes the boarding and unloading of passengers at the departure station, it departs for the destination station with an initial speed of 0. Considering the speed and acceleration limits, the calculation steps for the travel time to the jth signalized intersection are as follows:
[0129] Step 1: Get the current position S of the vehicle through IVCPS now 、Current speed V now , current time t now ;
[0130] Step 2: Determine if the current location is on road section L j ;
[0131] Step 3: The formula for calculating the time to reach the jth intersection is:
[0132]
[0133] Step 4: Take the intersection Get the set of traversable intervals of the jth signalized intersection:
[0134]
[0135] Step 5: After the first calculation is completed, the set Let j = j + 1 and then calculate the passable range of the remaining intersections according to the following formula:
[0136]
[0137] v max,j-1 and v min,j-1 The maximum and minimum speeds of vehicles passing the j-1 intersection at a green light are shown, that is, the maximum and minimum speeds of vehicles passing the j-1 intersection at a green light are shown. and speed, Indicates L j The length of the section.
[0138] Step 6: Repeat steps 4 and 5. After completing the calculation of a signal intersection, set j = j + 1 until j = J. After completing the planning, you will get the set
[0139] Based on the definition in 2), a road scenario instance with a station distance of 3000m and 3 traffic lights is generated here, and the green wave travel time interval analysis is performed according to the steps described above. The result of planning at the starting position can be expressed as Figure 6 .
[0140] At this point, the solution is completed. When the vehicle reaches the next decision point and needs to be planned again, steps 1 to 6 can be executed again. The solution result at position XX is as follows: Figure 7 shown.
[0141] The time domain discretization is specifically as follows:
[0142] Building a model in the continuous time domain will increase the complexity of the calculation, so it is necessary to discretize the time domain here to prepare for building the optimization problem in the discrete time domain later.
[0143] For ease of expression, the concept of absolute time is defined here, and the departure time from the departure station is defined as time 0, N depart =0,N target is the arrival time planned by the bus operating company, i.e., t targetThe discretized value, N j represents the time of arrival at the jth signalized intersection in the first-level planning, N J =N end , N now Indicates the current moment of the vehicle, n belongs to (N now , N end ), indicating the nth time step.
[0144] The time step is set to △t = 0.5s, and the bus is assumed to move at a uniform speed at each time step, that is, the acceleration a in each discrete time is the same. This greatly reduces the solvable space of time planning and reduces the amount of calculation. The discrete signal light phase is as follows Figure 8 , the green wave passage interval of the continuous domain After discretization, we get:
[0145] The kinematic expression of the vehicle in discrete steps is:
[0146] v n =v n-1 +a n ·Δt
[0147]
[0148] a n ,v n represents the acceleration at time n and the velocity at the end of time n, s n represents the displacement of the vehicle at the end of time n.
[0149] The construction of the optimization problem is specifically as follows:
[0150] Based on the previous green wave time interval pre-analysis and time domain discretization, here we will construct an optimization problem with the time of passing each section as the decision variable, the average speed fluctuation as the objective function, and the planned arrival schedule of the bus operating company, green wave traffic and average speed as constraints. The construction of the optimization problem includes the following steps:
[0151] Step 1: Construct decision variables. The decision variables for the green wave traffic planning optimization problem are the time to pass each signalized intersection:
[0152]
[0153] j now is the road section where the current vehicle is located, N j is the planned time to pass the jth intersection.
[0154] Step 2: Construct the objective function. In this level of planning, in order to reduce the final energy consumption and improve passenger comfort, the fluctuation of the average speed between sections should be minimized. The formula for measuring the degree of average speed fluctuation is as follows:
[0155]
[0156]
[0157] is the average speed of the vehicle on section j. The above formula subtracts the average speeds in sequence and adds the differences to evaluate the volatility of the speed.
[0158] Step 3: Add constraints, including timetable constraints, green wave constraints, and average speed constraints.
[0159] The timetable constraints are specifically:
[0160] N J =N target
[0161] N target It represents the planned arrival time of the bus operating company. The planned arrival time of the bus operating company is added to the decision variables as part of the green window planning. The significance of directly using it as a constraint is that the target is set as the planned time in the planning stage. In this way, the lower-level algorithm can use it as a target for optimization when planning the speed trajectory of the entire trip, so as to complete the plan of the bus operating company as much as possible and maximize the benefits.
[0162] The green wave traffic constraints are specifically as follows:
[0163] N j ∈Green
[0164] The average speed constraint is specifically:
[0165] In the scenario pre-analysis, time areas that do not meet speed limits and acceleration limits have been excluded, but the average speed still needs to be constrained here. If no constraints are imposed, it is possible that the selected time paths are within the time area of the scenario pre-analysis, but the actual execution will exceed the speed limit.
[0166]
[0167]
[0168] Step 4: Get the optimization equations for the green wave travel time planning problem of a single cloud-controlled bus, as follows:
[0169]
[0170] The time path solution based on the ant colony algorithm is specifically as follows:
[0171] In the above analysis, the traversable interval has been discretized, and each discrete moment can be regarded as a time node. Here, we need to solve a time path in the traversable interval. To facilitate the solution, according to the set Green, the problem is transformed into a directed graph G = (V, E), as follows Fig. 9 As shown, a complete time path is a set E of multiple continuous directed line segments on the directed graph.
[0172] For a single vehicle, it is a nonlinear optimization problem with multiple constraints, an optimization target and n optimization variables. After being converted into a directed graph, it can be solved using the Dijkstra algorithm. However, for multiple vehicles, it is a multi-source combined path planning problem with m*n optimization variables. The ant colony algorithm has obvious advantages in solving such problems. Considering the generality of the algorithm, the ant colony algorithm is used here to solve the optimal time path.
[0173] Here, each signalized intersection is considered as a decision step, with a total of J decision steps, and the discretized travel time interval is used as the set of decision intervals for the decision step, that is, The decision set of the ant from the current signalized intersection to the target site J is a path, that is, a feasible solution for the single-vehicle time planning, expressed as j now is the road section where the current vehicle is located, N j represents the travel time selected at the jth intersection. The specific steps of the green wave travel time path algorithm are:
[0174] Step 1: Calculation of ant path selection probability. Here, it is assumed that the initial pheromone is distributed with equal probability, but the path selection probability at each decision step needs to meet the constraints of XX. The method is as follows: For the green light pass constraint, the green wave pass interval The probability of the time outside is set to 0; for the punctuality constraint, let N J =N target The probability of is 1, that is, the planned arrival time at the target station is equal to the planned arrival time of the bus operating company, and other time points do not meet the constraint conditions; for the average speed constraint, according to the formula After calculation, the constraint will not be satisfied The probability of the time point is set to 0. Finally, the path probability is reassigned. The specific process is as follows:
[0175]
[0176] n jIndicates passing through signalized intersection j at time n, represents the probability of choosing to pass the j-signalized intersection at time n after re-assignment, n = N now. ...N target , represents the sum of the original probabilities of the time points at which the jth signalized intersection does not meet the constraints. In this way, the sum of the probabilities of the optional time points corresponding to each decision step after reassignment is 1, and the weight relationship between them remains consistent.
[0177] Step 2: Calculate the path value.
[0178] After each ant completes the path decision, it needs to evaluate the value of these paths. The value of the path is calculated by the optimization goal such as formula XX, and the calculation formula is:
[0179]
[0180] Assume that there are ants Ant, each ant plans a path, and there are only ants Ant planning Ant paths, Path k represents the value of the kth path, and Qp represents the value coefficient.
[0181] Step 3: Assignment of pheromone network.
[0182] After calculating the value path Path, the ant needs to leave pheromones on the path according to the path, thereby changing the probability distribution when choosing the path. The pheromone update formula is as follows:
[0183] τ′ k =ρτ k +σPath k
[0184] where τ' k represents the new pheromone amount at the kth path at a certain time point, τ k The amount of pheromone at the previous time point on the kth path, ρ∈(0,1) represents the pheromone volatilization rate, and σ represents the pheromone coefficient left by the ant. For the time point not on path K, the calculation formula is as follows:
[0185]
[0186] Step 4: Update the ant path selection probability.
[0187] After completing the pheromone network assignment, the path selection probability needs to be updated. The update formula is as follows:
[0188]
[0189] represents the probability of passing the j-signalized intersection at the nth time after reassignment, n = N now. ...N end , Represents the total amount of pheromone at time point n of the jth signalized intersection. The probability of each time point being selected is the proportion of the pheromone amount at this time point to the sum of the pheromone amounts at all time points of the signalized intersection.
[0190] Step 5: Ant colony algorithm converges to a solution.
[0191] In order to make the solution converge, steps one to four need to be repeated multiple times. When the entire probability graph converges to some time points, it can be considered that an optimal path has been solved.
[0192] S6. Based on the green wave travel time planning algorithm, a green wave travel speed planning algorithm is designed to solve the speed trajectory sent from the cloud to the vehicle end;
[0193] In step S6, the green wave speed planning algorithm specifically includes:
[0194] I. Taking economy, punctuality and comfort as the goals, speed, acceleration and green wave travel time as the constraints, and acceleration at each time step as the decision variable, a multi-objective and multi-constraint optimization problem is constructed;
[0195] II. Use genetic algorithm to solve the problem constructed in step I and obtain the acceleration sequence.
[0196] The construction of the optimization problem includes the following steps:
[0197] Step 1: Construct decision variables. The decision variables are from N now To N target The acceleration of the plan at each time step is:
[0198]
[0199] Step 2: Construct the objective function. The objective function includes economic objectives, punctuality objectives, and comfort objectives. Among them:
[0200] The economic objective function is specifically:
[0201] In order to achieve ecological driving and save costs for bus operating companies, energy consumption is used to evaluate economic indicators:
[0202]
[0203] The punctuality objective function is specifically:
[0204] No matter which solution is adopted, due to external environmental interference, the bus may not arrive at the target station on time. This is the significance of incorporating the punctuality index into the objective function rather than the constraint condition. When it is uncertain whether the bus can arrive at the target station on time, it must be used as the objective function, rather than simply as one of the constraints. This also allows the second layer to have a certain degree of freedom to optimize the speed trajectory. The indicators for evaluating punctuality are constructed as follows:
[0205]
[0206] v n =v n-1 +a n ·Δt
[0207] v0=0
[0208] N j Indicates the time when the upper-level planning reaches the Jth intersection, xN j is the lower-level plan from the current time N now To N j The displacement at the moment, S now is the absolute position of the vehicle at this time, S j is the absolute position of the signalized intersection j.
[0209] The comfort objective function is specifically:
[0210] In order to ensure the comfort of passengers in the car, the fluctuation of vehicle speed should be minimized. The formula for evaluating fluctuation is as follows:
[0211]
[0212] The above formula sequentially subtracts the planned speeds and adds up the differences to evaluate the speed volatility.
[0213] Step 3: Add constraints. Here we only need to consider the speed and acceleration constraints:
[0214] v min ≤v n ≤v max
[0215] a min ≤a n ≤a max
[0216] In summary, the optimization equations for the speed planning problem of a single cloud-controlled bus are as follows:
[0217]
[0218] The acceleration sequence solution based on genetic algorithm comprises the following steps:
[0219] Step 1: Determine the gene structure. The individual genes used in the genetic algorithm are determined according to the decision variables in formula XX, and the structure is as follows:
[0220]
[0221] The speed of the entire driving process can be expressed by the formula v n =v n-1 +a n ·Δt is calculated.
[0222] Step 2: Randomly generate a population. The genetic structure of each group of individuals is given by Given, first generate acceleration an within the random generation range, then calculate the speed vn at the corresponding time point, if vn is greater than max, set vn = max, if vn is less than min, set vn equal to min, thus generating non-excellent initial population acceleration and speed genes. The next step is to filter out feasible solutions that can reach each continuous signal port within the error range of ±4*△t according to the scenario pre-analysis of 5), thus obtaining an excellent initial population P composed of F groups of individual genes, each group of genes is a feasible solution, thereby accelerating the convergence of the algorithm. The specific generation process is as follows: Fig.10 shown.
[0223] Step 3: Establish the fitness function. The fitness function is determined by the objective function, which includes economic objectives, punctuality objectives, and comfort objectives. The expression is formula XX. Since the higher the value of the objective function in the fitness function, the better the fitness, it is necessary to take the inverse of Z1, Z2, and Z3. The fitness function finally established is as follows:
[0224]
[0225] Q1, Q2, Q3 are fitness coefficients.
[0226] Step 4: Selection and pairing of population classes. Here we use the traditional roulette method to determine the probability of an individual being selected based on the proportion of each individual's fitness in the total fitness of the population. The expression is as follows:
[0227]
[0228] Poc f It represents the probability of the f-th group of genes being selected as the father. A total of γ individuals are selected as the father, and β relatively excellent elite individuals are selected to directly enter the offspring. This can avoid the situation where the algorithm cannot converge.
[0229] Step 5: Crossover mutation. The selected father is crossovered to produce a part of offspring. Here, the crossover method of linear combination of alleles is adopted, and the expression is as follows:
[0230]
[0231] Gene crossover is performed according to the crossover probability factor Pc, and the gene at the qth position of the fth offspring is a linear combination of the genes at the qth position of the k1th and k2th parents.
[0232] Step 6: Processing genomes that do not meet the constraints. The processing of constraints can be converted into a penalty function, but the value of the penalty coefficient is not easy to determine. If the penalty coefficient is large, there is a risk that the algorithm will converge to the local optimum, and if the penalty coefficient is small, the algorithm will not converge easily. Therefore, another approach is used here. After the crossover mutation is completed, a judgment link is added to reinitialize the genomes that do not meet the constraints and then add them to the updated population. Another advantage of this approach is that it can enrich the optimization space of the genetic algorithm, thereby searching for more feasible solution domains.
[0233] In the optimization problem dealt with here, the constraints are acceleration and speed constraints. For the acceleration constraint, the gene fragments that do not meet the acceleration and speed constraints have been eliminated when generating the initial population, but the speed constraint may still not be met after crossover mutation, so here we need to use the formula v n =v n-1 +a n ·Δt determines whether the speed at each time point meets the constraints.
[0234] Step 7: Update the population. Add all the offspring that have been screened, mutated, and reinitialized to the next generation population. The structure of the next generation population is:
[0235] P next =P c&m +P elite +P reinitialize
[0236] P c&m represents the crossover mutation offspring, P elite represents elite offspring, P reinitialize Represents a reinitialized child.
[0237] Step 8: Get the result. Repeat steps 1 to 7 until the fitness of the optimal individual converges to a certain range, thus completing the solution of the acceleration sequence.
[0238] S7. An economic-safety module is deployed on the vehicle side to deal with the situation where a vehicle in the adjacent lane cuts in and the vehicle ahead brakes suddenly;
[0239] In step S7, the economic-safety module includes a safety mode and an economic mode;
[0240] When the optimal speed planned by the cloud cannot be executed due to interference from surrounding vehicles or other emergency situations, the vehicle switches to safety mode and follows the vehicle ahead to ensure safety;
[0241] When conditions are right, the vehicle switches to economic mode and executes the speed recommended by the cloud, achieving high efficiency on the cloud and high real-time and reliable control effects on the vehicle.
[0242] Here we focus on the adaptive cruise control (ACC) system used by the vehicle when switching to safety mode. The ACC system controls the bus to follow the vehicle in front to maintain a safe distance. The safe distance is determined by the speed difference with the front vehicle multiplied by the coefficient μ. The vehicle-side platform obtains the distance and speed information from the front vehicle through the on-board sensing device and inputs it into the ACC controller in safety mode. The ACC controller outputs the target acceleration to the actuator based on the sensing information and the following model. The system block diagram is shown in the figure below. Fig.11 shown.
[0243] Deploy the IDM model to the ACC controller. The model formula is as follows:
[0244]
[0245] In the formula, a i (t) is the acceleration of the vehicle at time t; v freedom is the expected speed of free flow, that is, the speed without considering the influence of the front and rear vehicles; v i (t) is the speed of the vehicle at time t; s0 is the minimum safe distance; Δv i (t) is the speed difference between the vehicle and the preceding vehicle at time t; T is the safe time distance; h i (t) is the distance between the vehicle and the preceding vehicle at time t; b is the comfortable deceleration; a max is the maximum acceleration limit; δ is the speed power coefficient, and its value can be obtained by calibrating the model parameters. It is recommended to take 4 as a reasonable value. Here, the car length l is ignored and the road section is assumed to have infinite capacity.
[0246] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solution of the present invention can be modified or replaced by equivalents without departing from the purpose and scope of the technical solution, which should be included in the protection scope of the present invention.
Claims
1. A predictive cruise rolling optimization method based on IVCPS, It is characterized in that The following steps are involved: S1. Design a single-vehicle predictive cruise rolling optimization algorithm framework; S2. Build a scene model; Based on the bus continuous intersection traffic scenario, the bus operation characteristics are analyzed, the operation scenario is defined, and the scenario model is constructed; S3. Construct the longitudinal dynamics model and energy consumption model of the vehicle; S4. Based on the shock wave theory, a multi-signal periodic queue dissipation time deduction model considering multiple upstream sections is established; S5. Design a green wave travel time planning algorithm based on the single-vehicle predictive cruise rolling optimization algorithm framework; S6. Based on the green wave travel time planning algorithm, a green wave travel speed planning algorithm is designed to solve the speed trajectory sent from the cloud to the vehicle end; S7. An economic-safety module is deployed on the vehicle side to deal with situations where vehicles in adjacent lanes cut in and vehicles ahead brake suddenly.
2. According to the IVCPS-based predictive cruise rolling optimization method of claim 1, Features: In step S1, the single-vehicle predictive cruise rolling optimization algorithm framework includes the following four parts: prediction of queue dissipation time, planning of green wave travel time, planning of green wave travel speed, and "economy-safety" module selecting mode according to sensor data.
3. According to the IVCPS-based predictive cruise rolling optimization method of claim 1, Features: In step S3, the longitudinal dynamics model of the vehicle includes: The traction force F is calculated using the following formula: F tr =F drag +F roll +F climb +F inertia F climb =mg sin(α) F roll = mgf cos(α) F inertia =δma In the formula, F drag is the air resistance; ρ is the air mass density kg / m 3 ; C d is the drag coefficient; A represents the frontal area of the vehicle m 3 ; v is the vehicle speed, m / s; F climb is the slope force; m is the total mass of the vehicle in kg; g is the acceleration due to gravity, which is 9.81 m / s 2 ; α is the road slope; F roll is the rolling friction; f is the rolling friction coefficient; F inertia It is the inertial force generated by the change of stored kinetic energy in the vehicle, such as acceleration and deceleration; a is the vehicle acceleration m / s 2 ; δ represents the rotational mass conversion coefficient.
4. According to the IVCPS-based predictive cruise rolling optimization method of claim 1, Features: In step S3, the energy consumption model of the vehicle includes: According to Newton's second law, the motor changes the vehicle's state of motion by doing work. The instantaneous power of the motor is calculated as follows: Among them, when p w (t)p w When (t)>0, the battery output current powers the motor to rotate; when p w When (t) < 0, the bus performs kinetic energy recovery and reversely charges the battery; Use p net (t) represents the net output power of the battery used to drive the motor, p net The calculation expression of (t) is as follows: Q is used to represent the total energy consumption of the trip. In the continuous time domain, the calculation expression of Q is as follows: Where η dl , η em , η bat , η reg They represent power system efficiency, motor efficiency, battery efficiency and regenerative braking energy efficiency respectively.
5. According to the IVCPS-based predictive cruise rolling optimization method of claim 1, Features: The step S4 comprises the following sub-steps: S4.1 Establish a prediction model for the change of vehicle number in a single road section over time; Assume that the initial section L j-1 The time-varying parameters of are known. Vehicles turning from other areas to merge into the road section are not considered. When a vehicle crosses the stop line, it is considered to enter the next road section. The formula is as follows: In the formula, represents the total time of the green light at the jth signal intersection from t = 0 to the current moment; and Indicates leaving section L from t = 0 to the current time j-1 and enter the section L j The number of vehicles, the two values are equal; when the signal intersection is red, Indicates that no vehicle is passing through section L j Drive out; Indicates road segment L j The number of vehicles at the current time t; Indicates that in the initial stage, section L j The number of vehicles; Indicates road segment L j The density k; Indicates road segment L j The length of q m Indicates the flow rate at the optimal state; Indicates road segment L j-1 The flow rate at time t; the function R represents the relationship between flow rate and density in the basic graph model of traffic flow; S4.2 establishes a queue dissipation time prediction model for the pth period at the jth intersection; Corresponding p to the time interval, the time interval represented by the pth period is The model formula is as follows: In the formula, represents the predicted queue dissipation time of the pth cycle at the jth intersection; is a constant, where k m represents the optimal state density, k d Indicates the density under congestion state; Indicates L j The stopping wave speed of the road section at time t; represents the average stop wave speed; Indicates road segment L j The density at time t.
6. The predictive cruise rolling optimization method based on IVCPS according to claim 5, Features: The step S5 comprises the following sub-steps: S5.1 obtains the position and speed of the vehicle, and predicts and analyzes the green wave passage time window interval of the vehicle; S5.2 discretizes the time domain with a granularity of △t = 0.5s, and then constructs an optimization problem with the goal of minimizing the average speed fluctuation; S5.3 uses the ant colony algorithm to solve the problem constructed in step S2 and obtain an optimal time path.
7. The predictive cruise rolling optimization method based on IVCPS according to claim 6, Features: In step S6, the green wave speed planning algorithm specifically includes: I. Taking economy, punctuality and comfort as the goals, speed, acceleration and green wave travel time as the constraints, and acceleration at each time step as the decision variable, a multi-objective and multi-constraint optimization problem is constructed; II. Use genetic algorithm to solve the problem constructed in step I and obtain the acceleration sequence.
8. The IVCPS-based predictive cruise rolling optimization method according to claim 7, Features: In step S7, the economic-safety module includes a safety mode and an economic mode; When the optimal speed planned by the cloud cannot be executed, the vehicle switches to safety mode and follows the vehicle in front to ensure safety; When conditions are right, the vehicle switches to economic mode and executes the speed recommended by the cloud.
Citation Information
Cited By
Electric vehicle remaining mileage prediction method integrating vehicle dynamic driving environment
CN120621063A
Parking lot virtual green wave guiding method and related equipment
CN121148177A
A parking lot virtual green wave guidance method and related device
CN121148177B
