Electric vehicle real-time path optimal guidance scheduling method based on dynamic time-sharing road network, medium and equipment

By constructing a traffic network model and an optimized path planning model in a dynamic time-sharing road network, the shortcomings of traditional path planning methods in the face of dynamic road network status are solved, and more efficient path planning and real-time optimal path guidance are achieved. Improved the overall nature and accuracy of path planning.

CN118735092AActive Publication Date: 2024-10-01NANJING INST OF TECH

Patent Information

Application Number
CN202410756866.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-12
Publication Date
2024-10-01
Estimated Expiration
2044-06-12

AI Technical Summary

Technical Problem

Traditional path planning methods based on static road networks are unable to make effective response strategies in a timely manner when faced with dynamic changes in road network status, and fail to fully consider the changes in travel time of road sections across time periods, resulting in unsatisfactory and optimal path selection. The path is not precise enough.

Method used

Adopt the real-time path optimal guidance and dispatching method for electric vehicles based on dynamic time-sharing road network, construct a traffic network model through graph theory analysis, perform time-sharing merging and traffic speed conversion based on road section traffic time series, calculate the actual travel time, and define decision variables And build a path planning model to optimize the path planning to consider the traffic conservation constraints of the road network and the actual traffic conditions.

Benefits of technology

It improves the globality and accuracy of dynamic path planning, reduces the impact of the time-varying characteristics of road network traffic on vehicle path guidance and travel time calculations, provides optimal guidance and scheduling of real-time paths, and improves the global optimality of path planning. and practicality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118735092A_ABST
    Figure CN118735092A_ABST
Patent Text Reader

Abstract

The invention provides an electric vehicle real-time path optimal guidance scheduling method based on a dynamic time-sharing road network, a medium and equipment. The method comprises the following steps: establishing a time-sharing flow merging strategy based on a flow change rate; establishing an actual passing time calculation function of the driving-in road section at any time; defining a decision variable considering the cross-time-domain passing road section; constructing a space-time double-constraint strategy limited by road network node decision variable search; establishing a model constraint condition considering the dynamic road network; establishing a global optimization algorithm objective function of the dynamic road network; outputting an optimal path guiding route and calculating total actual passing time; charging demand judgment is performed in combination with the power consumption per unit mileage, and the charging station with the shortest actual passing time is selected for the charging user; according to the method, the solving influence of the time of the vehicle passing through the road section across the time domain on the total driving time is fully considered, the global optimal planning under the future road section flow is realized, and the optimal guidance scheduling method for the real-time path of the electric vehicle is provided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of traffic dynamic path guidance planning, and specifically relates to a method, medium and equipment for optimal guidance and scheduling of real-time paths of electric vehicles based on a dynamic time-sharing road network. Background Art

[0002] With the acceleration of urbanization, traffic congestion has become increasingly prominent, and vehicle path planning has become a hot topic in the current intelligent transportation field. An effective traffic management system needs to take into account real-time road conditions, achieve traffic flow optimization goals by dynamically adjusting path planning, and then expand the adaptability of path planning models in dynamic road network traffic. In view of the impact of the time-varying characteristics of road network traffic on electric vehicle path guidance, how to achieve the global optimal and accurate calculation goals under the consideration of dynamically updated road resistance information has put forward higher requirements for vehicle guidance planning in urban road networks.

[0003] Existing path planning algorithms are divided into global path optimization and local path optimization according to applicable scenarios. Global path planning is divided into static path planning and dynamic path planning according to whether the road resistance weight changes over time. With the continuous increase in the number of cars, the time-varying characteristics of the road network have become more and more significant. The traditional path planning method based on static road networks has some defects. First, vehicles often cannot make effective response strategies in time during the dynamic changes in the road network status. Second, the changes in the travel time of sections across time periods are not fully considered, resulting in less than ideal path selection and insufficient accuracy of the calculated optimal path. Summary of the invention

[0004] In view of the deficiencies in the prior art, the present invention provides a method, medium and device for optimal guidance and scheduling of real-time paths of electric vehicles based on a dynamic time-sharing road network.

[0005] To achieve the above object, the present invention adopts the following technical solutions:

[0006] The method for optimal guidance and scheduling of real-time paths of electric vehicles based on a dynamic time-sharing road network is characterized by comprising:

[0007] S1: Use graph theory analysis method to construct traffic network model;

[0008] S2: Based on the traffic network model, the acquired road section flow time series is merged by time period according to the change rate, and the collected discrete flow data is expanded to flow information at any time point;

[0009] S3: Convert the traffic flow time series of the road sections merged by time periods into vehicle speed, obtain the travel speed of each road section at different times, and construct the actual travel time calculation function based on it; calculate the vehicle exit time based on the vehicle entry time and the actual travel time calculation function, and define the decision variable used to characterize whether the vehicle enters the road section at a certain time;

[0010] S4: Constructing a rectangular search area restriction for the decision variable based on the starting point and the destination, and constructing a time search restriction for the decision variable based on the actual travel time after entering the road section at any time;

[0011] S5: Considering the conservation constraints of road network flow and the actual traffic conditions of roads as decision variables, model constraints are set;

[0012] S6: Based on the defined decision variables and model constraints, a path planning model is constructed to calculate and output the optimal path and the actual travel time required;

[0013] S7: Obtain the individual state parameters and starting and ending point information of the electric vehicle, use the path planning model to plan the path, and judge the charging demand based on the power consumption per unit mileage, and select the charging station with the shortest actual travel time for the charging user.

[0014] To optimize the above technical solutions, the specific measures taken also include:

[0015] Further, step S2 is specifically as follows:

[0016] S21: Calculate the rate of change of the road traffic time series between adjacent time points:

[0017]

[0018] In the formula, represents the flow rate change rate of section ij at time t, and They represent the flow of road section ij at time t and time t-1 respectively, i and j represent two different traffic nodes;

[0019] S22: Set the initial sliding window w=w0, and convert the road traffic time series of length T into Divide part;

[0020] S23: Calculate the average value μ of the flow rate change rate at each time point in the window starting from time t:

[0021]

[0022] S24: Use the mean absolute deviation (MAD) of the flow rate change rate at each time point in the window to set the change rate threshold:

[0023]

[0024] Where τ is the adjustment factor, η high , η low Respectively represent the upper and lower thresholds of the rate of change;

[0025] S25: Adaptively adjust the window by cyclically judging the size of the flow rate change rate in the window. The adjustment method is as follows: If the flow rate change rate in the window is greater than η high The time point exceeds the ratio ζ, the window is reduced; if the flow change rate within the window is less than η low The time point exceeds the proportion ζ, and the window is expanded;

[0026] S26: After the adaptive window is adjusted, the flow rate at each time point in the window is set to a fixed value as the road section flow rate information at any time point in the window.

[0027] Furthermore, in step S26, the average strategy is adopted to perform average aggregation processing based on the traffic data in different windows, and the specific method is as follows:

[0028] The average flow data of the calculation window w is:

[0029]

[0030] In the formula, t t , t t+1 ,…,t t+w is the time point in window w, and the corresponding traffic data is

[0031] Set the flow rate at each time point in window w to F ij,t,t+w .

[0032] Further, step S3 is specifically as follows:

[0033] S31: Traffic volume of road section ij at time t after merging in different time periods Use the BPR function to convert traffic flow to vehicle speed and obtain the traffic speed of section ij at time t

[0034] S32: According to the length d of the road section ij ij , the traffic speed of the road section in the k period Establish the actual travel time calculation function:

[0035]

[0036] In the formula, represents the actual travel time of road section ij, f represents the actual travel time calculation function, tstart represents the vehicle entry time of road segment ij, E represents the set of all directed arcs in the traffic network model, i and j are two different traffic nodes;

[0037] S33: Calculate the vehicle exit time t according to the vehicle entry time and actual travel time calculation function end :

[0038]

[0039] S34: Define decision variables The vehicle is at time t start It is 1 when entering road section ij, otherwise it is 0.

[0040] Furthermore, in step S32, the calculation process of the actual travel time calculation function is as follows:

[0041] Calculate from t start The maximum distance a vehicle can travel from the start to the end of the time period

[0042]

[0043] In the formula, Indicates t start Time period k start The length of the time window, It is k start The start time of the time period;

[0044] 1) If It means that the vehicle can start The actual travel time on the road section ij is:

[0045]

[0046] 2) If It means that the traffic information of vehicles changes during the driving process of road section ij. The actual travel time on road section ij in each time period k is expressed as follows:

[0047]

[0048] In the formula, Δt k represents the time window length of time period k;

[0049] The actual travel time on section ij is:

[0050]

[0051] In the formula, k end T is the cumulativek Until the complete road length d is covered ij time period.

[0052] Furthermore, in step S4, the rectangular search area restriction is constructed as follows:

[0053] Calculate the starting point (x i ,y i ) and the destination (x j ,y j ) between the two, draw an ellipse with SR as the focal length as the search limit area; calculate the extreme value x of the point (x, y) on the ellipse min 、x max ,y min ,y max , with (x max ,y max )、(x min ,y min )、(x max ,y min )、(x min ,y min ) construct a rectangular search area for the vertex;

[0054] The time search limit is constructed as follows:

[0055] Initialize the nodes after the rectangular search area restriction search, set the starting point to the level 0 node, expand each leveled node, and set the unleveled adjacent nodes directly connected to it as the nodes of the next level;

[0056] Based on this, construct the time of entering the road section ij node The constraint time range is as follows:

[0057]

[0058] i is the entry point;

[0059] i is the entry point;

[0060] Where, L i represents the level of node i, E represents the set of all directed arcs in the traffic network, and It represents the actual travel time corresponding to all the entry node sections that are lower than the current node i, and takes the minimum and maximum travel time within the traversal entry time range respectively.

[0061] Furthermore, in step S5, the model constraint conditions are specifically as follows:

[0062] 1) Flow conservation constraints:

[0063]

[0064] In the formula, It means that from node i to node j at time t start The flow rate at time t, represents the distance from node j to node v from time point t to time t end The flow rate at time point t is , E represents the set of all directed arcs in the traffic network; time point t is the flow rate at time point t start The exit time after entering the road section ij from node i, t end is the exit time after entering the road section jv from node j at time point t;

[0065] If node j is the starting point j start , then for different time points t, there are the following constraints:

[0066]

[0067] If node j is not the starting point j start , at time t = 0, it is necessary to ensure that the flow rate at the start time is 0, and the constraints are as follows:

[0068]

[0069] For each non-starting point j start and non-terminal j end For node j, the inflow and outflow flow cannot exceed 1, that is:

[0070]

[0071] 2) When the vehicle reaches the destination, it is necessary to ensure that the path finding stops. If node j is the destination j end , then the constraints are as follows:

[0072]

[0073] 3) Directional constraints:

[0074]

[0075] Where, t end_next Indicates that at time t end The actual time from node j to exit section ji;

[0076] 4) Non-negativity constraints:

[0077]

[0078] Where T represents a set of equal-length time segments within a day.

[0079] Furthermore, in step S6, the objective function of the path planning model is:

[0080]

[0081] In the formula, V represents the node set, Indicates the travel time required for the vehicle to reach the charging station.

[0082] Accordingly, the present invention proposes a computer-readable storage medium storing a computer program, characterized in that the computer program enables a computer to execute the above-mentioned method for optimal guidance and scheduling of real-time paths of electric vehicles based on a dynamic time-sharing road network.

[0083] Accordingly, the present invention proposes an electronic device, characterized in that it comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the above-mentioned method for optimal guidance and scheduling of real-time paths of electric vehicles based on a dynamic time-sharing road network is implemented.

[0084] The beneficial effects of the present invention are as follows: the present invention proposes an optimal guidance and scheduling method for real-time paths of electric vehicles based on a dynamic time-sharing road network, so as to reduce the influence of the time-varying characteristics of road network traffic on vehicle path guidance and travel time calculation, improve the globality and accuracy of dynamic path planning, and provide electric vehicles with optimal guidance and scheduling of real-time paths. First, in view of the influence of current traffic volatility on capturing traffic information of road sections at any time, the present invention proposes an adaptive sliding window traffic merging strategy to smooth traffic fluctuations and improve the timeliness of guidance decisions. Secondly, in order to fully consider the actual travel time of the road, the present invention introduces a new decision variable, and calculates the actual travel time of the road section at any time point based on the merged traffic time series, which overcomes the limitation of the total travel time of the traditional algorithm in accurately solving the global optimal path. Finally, by establishing a mixed linear integer programming model, the global optimal search based on the dynamic traffic of the road network in the future period is realized, which fully meets the real-time requirements of path planning. Compared with the existing traditional path planning method, the method proposed by the present invention improves the global optimality and practicality of path planning, fills the lack of adaptability of the traditional model to time-varying road network traffic, and provides a more effective decision support tool for urban traffic management. BRIEF DESCRIPTION OF THE DRAWINGS

[0085] Figure 1 The present invention is a flow chart of the method for optimally guiding and dispatching the real-time path of electric vehicles based on a dynamic time-sharing road network.

[0086] Figure 2 It is a simulation diagram of the cross-time period traffic process of the present invention.

[0087] Figure 3 It is a rectangular area search restriction road network model diagram of the present invention.

[0088] Figure 4 It is a flow chart of the time search width priority algorithm of the present invention.

[0089] Figure 5 It is a flow chart of the time search upper and lower limit constraints of the present invention.

[0090] Figure 6 It is the test network topology diagram of the present invention.

[0091] Figure 7 It is a time series curve diagram of vehicle flow after the adaptive sliding window is merged into time periods according to the present invention. DETAILED DESCRIPTION

[0092] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.

[0093] In one embodiment, the present invention proposes a real-time optimal path guidance and scheduling method for electric vehicles based on a dynamic time-sharing road network, such as Figure 1 As shown, the specific steps include the following steps.

[0094] S1. Construct a traffic network structure model, including the construction of traffic nodes and road section sets, the formation of the road network adjacency matrix, and the acquisition of road section flow time series.

[0095] Based on real-time traffic flow information, the dynamic road network model G is described by graph theory analysis method. The time period of dynamic traffic information is introduced to update the spatial distribution of traffic flow. The graph is defined as:

[0096]

[0097] Where: G T is a directed weighted network, representing the traffic network; V is the set of all traffic nodes in the traffic network G; E is the set of all directed arcs in the traffic network G; T represents the set of time series of equal length periods in a day, with a time interval of 5 minutes; W is the weight set of the road section. Since the congestion level of urban roads varies at different time points, the road section weight It will also change dynamically over time. The present invention uses the road section travel time as the road resistance weight to update the road network vehicle traffic status.

[0098] S2. Based on the acquired road traffic time series change rate, sliding window merging is performed in different time periods to achieve adaptive traffic aggregation, and the collected discrete traffic data is expanded to traffic information at any time point.

[0099] S21. The mathematical expression of the rate of change between adjacent time points t in the road section flow time series is as follows:

[0100]

[0101] In the formula, represents the flow rate change rate of section ij at time t, and They represent the traffic volume of road section ij at time t and time t-1 respectively.

[0102] S22, set the initial sliding window w=w0, the length of the road section flow time series is T Divided into To avoid the sliding window length being too large or too small, set the maximum window size w max , minimum window size w min In order to dynamically adapt to the fluctuation differences of road sections in different time periods, the window size thresholds are set to 2 and 20 respectively.

[0103] S23, calculate the average value of the flow rate change rate at each time point in the window starting from time t, the formula is as follows:

[0104]

[0105] In the formula, represents the flow rate change rate of road section ij at time m; w is the length of the initially set time window.

[0106] S24, using the mean absolute deviation MAD of the flow rate change rate at each time point in the time window to set the change rate threshold, the formula is as follows:

[0107]

[0108] Where τ is the adjustment factor, η high , η low Respectively represent the upper and lower thresholds of the change rate.

[0109] S25, if the rate of change within the sliding window is greater than η high If the time point exceeds the ratio ζ, it means that the data changes too fast and the window needs to be reduced. On the contrary, if the rate of change is less than η low If the time point exceeds the ratio ζ, it means that the data changes too slowly and the window needs to be expanded for cyclic judgment. Under the premise of limited window size, the window is adjusted by cyclically judging the size of the flow change rate in the sliding window, and finally the adaptive sliding window time division result is achieved.

[0110] S26. After the adaptive window adjustment, the flow rate at each time point in the window is set to a fixed value. The present invention adopts a mean strategy to perform average aggregation processing based on the flow data in different windows.

[0111] Assume t t , t t+1 ,…,t t+w is the time point in window w, and the corresponding traffic data is The average flow data of this window is calculated as:

[0112]

[0113] Set the flow rate at each time point in the window period as F ij,t,t+w .

[0114] The above-mentioned adaptive flow sliding window time period merging algorithm is used to expand the originally collected discrete flow data into full-time flow data, and the road section flow information at any time point within the time window can be obtained.

[0115] S3. Based on the time series of the road traffic volume merged by time periods and the speed conversion function corresponding to each road section at different times, a calculation function for the actual travel time across time periods is constructed; and a new decision variable is defined. According to the vehicle entry time t start Calculate t based on the actual travel time function end , and obtain the actual travel time of each section after entering the section at any time.

[0116] S31, based on the traffic flow of the road section after merging in different time periods Use the BPR function to convert traffic flow to vehicle speed and obtain the traffic speed of each section at different times.

[0117] S32, actual exit time t end According to the length d of the road segment ij ij , the traffic speed of the road section in the k period Perform calculations and establish a function to calculate the actual travel time:

[0118]

[0119] Calculate from t start The maximum distance a vehicle can travel from the beginning to the end of the time period. That is:

[0120]

[0121] in, Indicates t start The corresponding time segment k startThe time window length, It is k start The start time of the time period.

[0122] Figure 2 It is a simulation diagram of the cross-time traffic process, and the length of the road section ij is d ij ,if This means that the vehicle can start The actual travel time is the time to complete the entire section of the road within the time period.

[0123] Otherwise, if the traffic information changes during the vehicle's travel on the road section, it is necessary to reconsider the speed calculation for the remaining distance. For each new time period p, the remaining section length L needs to be updated based on the passing distance in the previous time period. ij,p ′, the formula is as follows:

[0124]

[0125] in, Indicates the cumulative distance traveled by the vehicle from the start time period to the p-1 time period.

[0126] For each time period k, the actual travel time on road segment ij is expressed as follows:

[0127]

[0128] Where, L ij,k Indicates that from t start The distance traveled by the vehicle from the beginning to the end of time period k; Δt k represents the time window length of time period k.

[0129] When the accumulated L ij,k Reach or exceed the total section length d ij When the remaining section length is less than or equal to 0, the accumulation process ends. Assume that the accumulation T k Until the complete road length d is covered ij The time period is k end ,Right now When the vehicle leaves the road section, the actual travel time on the road section ij is:

[0130]

[0131] S33, calculating the vehicle exit time t according to the vehicle entry time and the actual travel time calculation function end :

[0132]

[0133] S34: Define decision variables The vehicle is at time t start When entering road section ij, it is 1, otherwise it is 0. Decision variable Medium end According to the time t of entering the road section ij start Based on the previous actual travel time function Calculated, so we can get the road sections ij at different times t stort The decision variables for entering and exiting t end .

[0134] S4. Construct a decision variable time-space dual constraint strategy method to restrict the decision variable search and reduce the model calculation complexity.

[0135] First, a rectangular search area restriction is constructed based on the user's starting point and destination to reduce the amount of node exploration and only include nodes within the area to improve computational efficiency. Secondly, a node time search restriction is constructed based on the actual travel time of the road section at any time, and the breadth-first search (BFS) algorithm is used to impose upper and lower limit constraints on the arrival time points for the nodes in the area.

[0136] S41, calculate the Euclidean distance SR between the starting point and the end point. Take SR as the focal length and draw an ellipse with 1.414SR as the major axis as the search limit area. Figure 3 As shown, the specific construction method is as follows:

[0137]

[0138] in, a and b are the horizontal and vertical coordinates of the center of the ellipse, respectively; x and y are the horizontal and vertical coordinates of the point on the ellipse, respectively; A and B are the major and minor axes of the ellipse, respectively; the calculation formula is as follows:

[0139] A=0.707SR,

[0140]

[0141] S42. Calculate the partial derivatives of x and y for the above constructed equations, and the extreme values ​​of x and y are:

[0142]

[0143] S43, with (x max ,y max )、(x min ,y min )、(x max ,y min )、(x min ,y min) is used as the vertex to construct a rectangular search area. By comparing with the extreme values ​​of x and y, it is determined whether a point is within the rectangle, thereby realizing the spatial dimension screening of the decision variables of the road network nodes, thereby reducing the computational complexity of the model solution.

[0144] The decision variables of the road network nodes that have been filtered by the rectangular search limit continue to limit the search range in the time dimension. The present invention effectively organizes the search process by establishing a hierarchical structure starting from the starting point. Each level represents a node set with a gradually increasing number of "steps" from the starting point. The upper and lower limits of the estimated arrival time of the road section are obtained by searching the marked node level and the actual travel time of the lower-level nodes entering the road section at each time point, thereby effectively reducing the complexity of constraint calculation, such as Figure 4 , 5 shown.

[0145] S44, firstly initialize the road network nodes after the search based on the rectangular area restriction, and set the starting point to the level 0 node.

[0146] S45, hierarchically expand each graded node, and set the ungraded adjacent nodes directly connected to it as nodes of the next level. The following steps S46 and S47 will respectively constrain the upper and lower limits of the vehicle entry time by whether to update the traversed node levels.

[0147] S46. If the node corresponding to the traversed road section has been graded, it will not be updated to avoid repeated grading of the node. The level L of each node obtained is used to calculate the road section entry time t of the node as the entry node. start The lower limit of is expressed as follows:

[0148] i is the entry point;

[0149] Where, L i represents the level of node i, E represents the set of all directed arcs in the transportation network G, It represents the actual travel time corresponding to all entry node sections with a level lower than the current node i, taking the minimum travel time within the traversal entry time range, and multiplying it with the corresponding node level to obtain the corresponding shortest arrival time.

[0150] S47: If the node corresponding to the traversed road section has been set to a level, its level needs to be updated. The level L of each node obtained is used to calculate the road section entry time t start The upper limit of . The expression is as follows:

[0151] i is the entry point;

[0152] In the formula, It represents the actual travel time corresponding to all entry node sections with a level lower than the current node i, taking the maximum travel time within the traversal entry time range, and multiplying it with the corresponding node level to obtain the corresponding longest arrival time.

[0153] Therefore, the output of all the entry section ij node time The constraint traversal time range is as follows:

[0154]

[0155] S5. Considering the road network flow conservation constraints and the actual road traffic conditions as decision variables, model constraints are set.

[0156] S51, flow conservation and single path selection constraints: For each node j and each time point t within the allowed arrival time range of the node, It means that from node i to node j at time t start The flow rate at time t, From node j to node v at time t to time t end The flow conservation constraint requires that the inflow flow of each node (except the starting point and the end point) is equal to the outflow flow, so the constraint is as follows:

[0157]

[0158] In the formula, time point t is the start The exit time after entering the road section ij from node i, t end It is the exit time after entering the road section jv from node j at time point t.

[0159] If node j is the starting point j start , then for different time points t, there are the following constraints:

[0160]

[0161] If node j is not the starting point j start , at time t = 0, it is necessary to ensure that the flow rate at the start time is 0, and the constraints are as follows:

[0162]

[0163] For each non-starting point j start and non-terminal j end For node j, the inflow and outflow flow cannot exceed 1, that is:

[0164]

[0165] S52: After the vehicle reaches the destination, it is necessary to ensure that the path finding stops. That is, if node j is the destination jend , then the constraints are as follows:

[0166]

[0167] S53, Directionality (avoid returning to the original path) constraint: ensure the directionality of the path to prevent returning through the same path in the next time period after reaching a node. The specific constraint is shown in the following formula:

[0168]

[0169] Where, t end_next Indicates that at time t end The actual time it takes to enter section ji from node j and then exit from section ji.

[0170] S54, non-negativity constraint: To ensure that the decision variables are non-negative, the constraints are as follows:

[0171]

[0172] S6. Based on the defined decision variables and model constraints, a dynamic road network path guidance integer linear programming decision model is constructed, and the objective function is the minimum travel time. The expression is as follows:

[0173]

[0174] In the formula, V represents the node set, It represents the travel time required for the vehicle to reach the charging station. Through all possible paths under the constraints, the optimal solution with the shortest total travel time between the starting and ending points is solved, and finally the optimal guidance path and the shortest actual travel time are obtained.

[0175] S7, obtain EV individual status parameters and start and end point information, including battery capacity C total 、The remaining power Soc when EV sends a charging request sta , the constructed dynamic path guidance model is used for path planning, and the charging demand is judged in combination with the power consumption per unit mileage μ, so as to select the charging station with the shortest actual travel time for charging users.

[0176] The present invention sets a charging demand judgment constraint, and the amount of electricity that the vehicle reaches the destination must meet the minimum requirement, that is, the remaining amount of electricity Soc end,r It cannot fall below the safety threshold of 10%.

[0177] For charging users with charging needs, the optimal route guidance planning is carried out based on the location of each charging station within the road network, and they choose the charging station with the shortest actual travel time to charge.

[0178] An example of the real-time optimal path guidance and scheduling method for electric vehicles based on a dynamic time-sharing road network using the present invention is as follows:

[0179] The experiment uses an actual road network in a certain area as the test network. The intercepted area consists of 53 nodes and 78 road sections (the road sections here only refer to main roads and secondary roads). Its topological structure is as follows: Figure 6 shown.

[0180] Next, we will perform path guidance comparison verification by setting the path starting point to node 10 and the end point to node 41.

[0181] First, in order to determine the hyperparameter values ​​in the time-division merging strategy, the present invention adopts a grid search algorithm to determine the parameters. The flow change rate threshold k in the sliding window, the proportion ζ of the flow change rate exceeding the threshold within the sliding window range, and the initial window size w0 are taken as optimization objects. The parameter optimization evaluation standard is to retain the key features of the original sequence as much as possible after the time-division merging. Therefore, the present invention adopts the mean square error (MSE) as the evaluation index, and its mathematical expression is as follows:

[0182]

[0183] Where n is the total number of data points, y i is the ith actual observation value (target value), is the flow value after the i-th merger.

[0184] The following is the process of adaptive time-period merging using the traffic time series of section (10, 13). The value range of k is set to [0.05, 0.8], the value interval is 0.05, the value range of ζ is set to [0.3, 0.8], the value interval is also 0.05, and the initial window size w0 is set to [4, 10]. The MSE values ​​of some parameter combinations obtained by the grid search algorithm are shown in Table 1.

[0185] Table 1 MSE values ​​of some parameter combinations obtained by grid search algorithm

[0186] Adjustment factor k Sliding window exceeds ratio ζ <![CDATA[Initial window size w0]]> MSE 0.7 0.55 4 227.238715 0.4 0.65 5 233.306944 0.5 0.55 4 234.20414 0.3 0.75 4 249.791493 0.5 0.6 6 249.923035 0.2 0.7 4 250.745408 0.15 0.6 7 299.210877 0.6 0.3 4 299.290261 0.65 0.4 7 299.500143

[0187] Therefore, the best parameter combination obtained after grid search is k = 0.7, ζ = 0.55, w0 = 4. The traffic flow time series curve after adaptive sliding window merging in different time periods is as follows: Figure 7 shown.

[0188] Table 2 is a comparison of the experimental calculation time of several path planning before and after the time-space dual constraint strategy restricted search. It can be seen from the table that the calculation time of the linear programming model after the time-space dual constraint strategy is restricted is significantly shorter than before the restricted search, indicating that the constraint restriction model designed by the present invention is effective.

[0189] Table 2 Comparison of time and space dual constraint strategy before and after restriction

[0190]

[0191] In order to reflect the impact of dynamic road network weight update on the path optimization algorithm, the present invention uses the improved Dijkstra algorithm for experimental comparative analysis. Every time the improved adaptive Dijkstra algorithm reaches a new node, it will use the road network weight of the current node as the starting point to re-use the Dijkstra algorithm to plan the path. In order to maintain generality, 4 pairs of starting and ending points are selected for comparison, namely (10, 41), (25, 51), (1, 34) and (44, 3). As can be seen from Table 3, the planned path obtained by the dynamic path global optimization algorithm designed by the present invention is better than the adaptive Dijkstra algorithm. By analyzing the paths planned by the two, it can be found that the planned path obtained by using the adaptive Dijkstra algorithm has more intersections than the global optimization algorithm designed by the present invention. The present invention does not specifically consider the impact of signal intersection delays on the total travel time. Assuming that its impact on the total journey is considered, the difference between the total planning time of the adaptive Dijkstra algorithm and the total travel time of the global optimization algorithm of the present invention will be further increased.

[0192] Table 3 Comparison of the dynamic path global optimization algorithm designed by the present invention and the adaptive Dijkstra algorithm

[0193]

[0194]

[0195] In another embodiment, the present invention further proposes a computer-readable storage medium storing a computer program, wherein the computer program enables a computer to execute the method for optimal guidance and scheduling of real-time paths of electric vehicles based on a dynamic time-sharing road network as described in Example 1.

[0196] In another embodiment, the present invention further proposes an electronic device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the method for optimal real-time path guidance and scheduling of electric vehicles based on a dynamic time-sharing road network as described in Example 1 is implemented.

[0197] In the embodiments disclosed in the present application, the computer storage medium can be a tangible medium that can contain or store a program for use by or in conjunction with an instruction execution system, device or equipment. The computer storage medium can include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the above. More specific examples of computer storage media can include electrical connections based on one or more lines, portable computer disks, hard disks, random access memories (RAM), read-only memories (ROM), erasable programmable read-only memories (EPROM or flash memory), optical fibers, portable compact disk read-only memories (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the above.

[0198] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed in this application can be implemented in electronic hardware or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0199] The above are only preferred embodiments of the present invention, and the protection scope of the present invention is not limited to the above embodiments. All technical solutions under the concept of the present invention belong to the protection scope of the present invention. It should be pointed out that for ordinary technicians in this technical field, some improvements and modifications without departing from the principle of the present invention should be regarded as the protection scope of the present invention.

Claims

1. A real-time optimal path guidance and scheduling method for electric vehicles based on a dynamic time-sharing road network, characterized in that: include: S1: Use graph theory analysis method to construct traffic network model; S2: Based on the traffic network model, the acquired road section flow time series is merged by time period according to the change rate, and the collected discrete flow data is expanded to flow information at any time point; S3: Convert the traffic flow time series of the road sections merged by time periods into vehicle speed, obtain the travel speed of each road section at different times, and construct the actual travel time calculation function based on it; calculate the vehicle exit time based on the vehicle entry time and the actual travel time calculation function, and define the decision variable used to characterize whether the vehicle enters the road section at a certain time; S4: Constructing a rectangular search area restriction for the decision variable based on the starting point and the destination, and constructing a time search restriction for the decision variable based on the actual travel time after entering the road section at any time; S5: Considering the conservation constraints of road network flow and the actual traffic conditions of roads as decision variables, model constraints are set; S6: Based on the defined decision variables and model constraints, a path planning model is constructed to calculate and output the optimal path and the actual travel time required; S7: Obtain the individual state parameters and starting and ending point information of the electric vehicle, use the path planning model to plan the path, and judge the charging demand based on the power consumption per unit mileage, and select the charging station with the shortest actual travel time for the charging user.

2. The method for optimally guiding and dispatching the real-time path of electric vehicles based on a dynamic time-sharing road network as claimed in claim 1, characterized in that: Step S2 is specifically as follows: S21: Calculate the rate of change of the road traffic time series between adjacent time points: In the formula, represents the flow rate change rate of section ij at time t, and They represent the flow of road section ij at time t and time t-1 respectively, i and j represent two different traffic nodes; S22: Set the initial sliding window w=w0, and convert the road traffic time series of length T into Divide part; S23: Calculate the average value μ of the flow rate change rate at each time point in the window starting from time t: S24: Use the mean absolute deviation (MAD) of the flow rate change rate at each time point in the window to set the change rate threshold: Where τ is the adjustment factor, η high , η low Respectively represent the upper and lower thresholds of the rate of change; S25: Adaptively adjust the window by cyclically judging the size of the flow rate change rate in the window. The adjustment method is as follows: If the flow rate change rate in the window is greater than η high The time point exceeds the ratio ζ, the window is reduced; if the flow change rate within the window is less than η low The time point exceeds the proportion ζ, and the window is expanded; S26: After the adaptive window is adjusted, the flow rate at each time point in the window is set to a fixed value as the road section flow rate information at any time point in the window.

3. The method for optimally guiding and dispatching the real-time path of electric vehicles based on a dynamic time-sharing road network as claimed in claim 2, characterized in that: In step S26, the average strategy is adopted to perform average aggregation processing based on the traffic data in different windows, and the specific method is as follows: The average flow data of the calculation window w is: Where, t t , t t+1 ,…,t t+w is the time point in window w, and the corresponding traffic data is Set the flow rate at each time point in window w to F ij,t,t+w .

4. The method for optimally guiding and dispatching the real-time path of electric vehicles based on a dynamic time-sharing road network as claimed in claim 1, characterized in that: Step S3 is as follows: S31: Traffic volume of road section ij at time t after merging in different time periods Use the BPR function to convert traffic flow to vehicle speed and obtain the traffic speed of section ij at time t S32: According to the length d of the road section ij ij , the traffic speed of the road section in the k period Establish the actual travel time calculation function: In the formula, represents the actual travel time of road section ij, f represents the actual travel time calculation function, t start represents the vehicle entry time of road segment ij, E represents the set of all directed arcs in the traffic network model, i and j are two different traffic nodes; S33: Calculate the vehicle exit time t according to the vehicle entry time and actual travel time calculation function end : S34: Define decision variables The vehicle is at time t start It is 1 when entering road section ij, otherwise it is 0.

5. The method for optimally guiding and dispatching the real-time path of electric vehicles based on a dynamic time-sharing road network as claimed in claim 4, characterized in that: In step S32, the calculation process of the actual travel time calculation function is as follows: Calculate from t start The maximum distance a vehicle can travel from the start to the end of the time period In the formula, Indicates t start Time period k start The time window length, It is k start The start time of the time period; 1) If It means that the vehicle can start The actual travel time on the road section ij is: 2) If It means that the traffic information of vehicles changes during the driving process of road section ij. The actual travel time on road section ij in each time period k is expressed as follows: In the formula, Δt k represents the time window length of time period k; The actual travel time on section ij is: In the formula, k end T is the cumulative k Until the complete road length d is covered ij time period.

6. The method for optimally guiding and dispatching the real-time path of electric vehicles based on a dynamic time-sharing road network as claimed in claim 1, characterized in that: In step S4, the rectangular search area restriction is constructed as follows: Calculate the starting point (x i ,y i ) and the destination (x j ,y j ) between the two, draw an ellipse with SR as the focal length as the search limit area; calculate the extreme value x of the point (x, y) on the ellipse min 、x max ,y min ,y max , with (x max ,y max )、(x min ,y min )、(x max ,y min )、(x min ,y min ) construct a rectangular search area for the vertex; The time search limit is constructed as follows: Initialize the nodes after the rectangular search area restriction search, set the starting point to the level 0 node, expand each leveled node, and set the unleveled adjacent nodes directly connected to it as the nodes of the next level; Based on this, construct the time of entering the road section ij node The constraint time range is as follows: is the entry point; is the entry point; Where, L i represents the level of node i, E represents the set of all directed arcs in the traffic network, and It represents the actual travel time corresponding to all the entry node sections that are lower than the current node i, and takes the minimum and maximum travel time within the traversal entry time range respectively.

7. The method for optimally guiding and dispatching the real-time path of electric vehicles based on a dynamic time-sharing road network as claimed in claim 1, characterized in that: In step S5, the model constraints are specifically as follows: 1) Flow conservation constraints: In the formula, It means that from node i to node j at time t start The flow rate at time t, represents the distance from node j to node v from time point t to time t end The flow rate at time point t is , E represents the set of all directed arcs in the traffic network; time point t is the flow rate at time point t start The exit time after entering the road section ij from node i, t end is the exit time after entering the road section jv from node j at time point t; If node j is the starting point j start , then for different time points t, there are the following constraints: If node j is not the starting point j start , at time t = 0, it is necessary to ensure that the flow rate at the start time is 0, and the constraints are as follows: For each non-starting point j start and non-terminal j end For node j, the inflow and outflow flow cannot exceed 1, that is: 2) When the vehicle reaches the destination, it is necessary to ensure that the path finding stops. If node j is the destination j end , then the constraints are as follows: 3) Directional constraints: Where, t end_next Indicates that at time t end The actual time from node j to exit section ji; 4) Non-negativity constraints: Where T represents a set of equal-length time segments within a day.

8. The method for optimally guiding and dispatching the real-time path of electric vehicles based on a dynamic time-sharing road network as claimed in claim 4, characterized in that: In step S6, the objective function of the path planning model is: In the formula, V represents the node set, Indicates the travel time required for the vehicle to reach the charging station.

9. A computer-readable storage medium storing a computer program, characterized in that: The computer program enables the computer to execute the real-time path optimal guidance and scheduling method for electric vehicles based on a dynamic time-sharing road network as described in any one of claims 1-8.

10. An electronic device, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the method for optimal guidance and scheduling of real-time paths of electric vehicles based on a dynamic time-sharing road network as described in any one of claims 1 to 8 is implemented.

Citation Information

Patent Citations

  • Intelligent navigation algorithm based on real-time traffic status

    CN109186619A

  • Electric vehicle charging navigation and path selection method based on traffic balance

    CN112686441A

  • Global optimal path planning method considering dynamic change of urban road network travel time

    CN115273457A

  • Electric vehicle charging decision optimization method considering line-network interaction

    CN115545337A

  • Electric vehicle ordered charging method based on combined empowerment Topsis

    CN116985650A

Cited By

  • New energy heavy truck energy-saving path planning method and electronic equipment

    CN119879979A

  • Dynamic truck scale grouping optimization method for metering performance anomaly detection

    CN120429800A

  • Dynamic truck scale grouping optimization method for measurement performance anomaly detection

    CN120429800B

  • Electric vehicle interconnection, intercommunication and sharing charging operation method and device and storage medium

    CN120746215A

  • Electric vehicle interconnection and intercommunication shared charging operation method, device and storage medium

    CN120746215B