Method for planning state of charge of battery, and vehicle and storage medium

By discretizing the vehicle's driving route and evaluating candidate states, the accuracy and adaptability issues of vehicle battery state of charge planning are solved, achieving efficient energy management and extended battery life under complex operating conditions.

WO2026233020A1PCT designated stage Publication Date: 2026-11-12CHERY AUTOMOBILE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2026/087800
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2025-10-21
Filing Date
2026-03-31
Publication Date
2026-11-12

AI Technical Summary

Technical Problem

In existing technologies, the accuracy and adaptability of vehicle battery state of charge planning are low, making it difficult to achieve optimized energy consumption management under complex driving conditions.

Method used

By acquiring the vehicle's driving route and battery information, the route is segmented and a candidate state set is generated through discrete processing. The candidate states are evaluated based on the driving data to determine the target state of charge trajectory. The state of charge management is then optimized by combining dynamic programming algorithms.

Benefits of technology

It improves the accuracy and adaptability of battery state of charge planning, enables efficient energy management under complex operating conditions, extends battery life, and improves vehicle economy and driving range.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2026087800_12112026_PF_FP_ABST
    Figure CN2026087800_12112026_PF_FP_ABST
Patent Text Reader

Abstract

Provided in the embodiments of the present application are a method for planning a state of charge of a battery, and a vehicle and a storage medium. The method comprises: acquiring a travel route of a vehicle and battery information thereof, wherein the battery information comprises: an initial state-of-charge of a battery before the vehicle starts traveling, a terminal state-of-charge of the battery after the vehicle finishes traveling, and a state-of-charge variation range; on the basis of the initial state-of-charge, the state-of-charge variation range and the terminal state-of-charge, performing discretization processing on the travel route, so as to obtain candidate state sets corresponding to a plurality of route segments; and on the basis of traveling data corresponding to the plurality of route segments, evaluating the candidate state sets corresponding to the plurality of route segments, so as to obtain a target state-of-charge trajectory of the battery, wherein the target state-of-charge trajectory includes target states of charge corresponding to the plurality of route segments. The present application solves the technical problems in the related art of the poor accuracy and low adaptability when planning the state of charge of a battery of a vehicle.
Need to check novelty before this filing date? Find Prior Art

Description

Method for planning battery state of charge, vehicle and storage medium TECHNICAL FIELD

[0001] Embodiments of the present disclosure relate to the technical field of vehicles, and in particular, to a method for planning battery state of charge, a vehicle and a storage medium. BACKGROUND

[0002] With the development of new energy vehicles, the efficiency and flexibility of energy management strategies help to ensure vehicle performance and energy consumption performance. In related technologies, rule-based energy management strategies rely on the experience of engineers and limited test conditions. With the maturity of new energy technology and the complexity of driving scenarios, the limitations are increasingly apparent. The rules formulated by different engineers differ greatly, lack of uniformity and theoretical basis, resulting in inconsistent performance of energy management strategies in different vehicle models and conditions. It is difficult for rule-based strategies to cover various actual driving conditions. In the face of various road conditions such as urban congestion, high-speed cruising, mountain climbing, etc., it is difficult to ensure that the vehicle can achieve optimal energy consumption management under various conditions. Therefore, the accuracy and adaptability of planning the state of charge of the vehicle battery in related technologies are low.

[0003] At present, there is no good solution to the above problems. SUMMARY

[0004] Embodiments of the present disclosure provide a method for planning battery state of charge, a vehicle and a storage medium to at least solve the technical problem of low accuracy and adaptability of planning the state of charge of the vehicle battery in related technologies.

[0005] According to an aspect of an embodiment of the present disclosure, a method for planning battery state of charge is provided, comprising: obtaining a driving route of a vehicle and battery information, wherein the battery information comprises: an initial state of charge of the battery before the vehicle starts driving, a terminal state of charge of the battery after the vehicle finishes driving, and a state of charge change range; performing discrete processing on the driving route based on the initial state of charge, the state of charge change range and the terminal state of charge, to obtain a candidate state set corresponding to each route segment, wherein the candidate state set contains at least one candidate state of charge of the battery at the end of the corresponding route segment; and based on driving data corresponding to each route segment, evaluating the candidate state set corresponding to each route segment to obtain a target state of charge trajectory of the battery, wherein the target state of charge trajectory contains target states of charge corresponding to each route segment.

[0006] In the above embodiments of this disclosure, the driving route is discretized based on the initial state of charge, the range of state of charge change, and the final state of charge to obtain a set of candidate states corresponding to multiple route segments. This includes: discretizing the driving route to obtain multiple route segments; discretizing the range of state of charge change to obtain multiple state of charge change amounts and the electrical energy corresponding to the state of charge change amounts; and determining the set of candidate states corresponding to multiple route segments based on the electrical energy corresponding to the state of charge change amounts, the initial state of charge, and the final state of charge.

[0007] In the above embodiments of this disclosure, the driving route is discretized to obtain multiple route segments, including: predicting the speed of the driving route to obtain the vehicle's speed curve; integrating the speed curve to obtain the vehicle's mileage curve; and discretizing the mileage curve to obtain multiple route segments. Preferably, the method further includes: determining the vehicle's wheel-end torque demand curve based on the vehicle's physical data; and determining the driving data corresponding to the route segments based on the speed curve and the wheel-end torque demand curve, wherein the driving data includes: driving time, driving speed, and driving power.

[0008] In the embodiments disclosed above, based on the electrical energy corresponding to the change in state of charge, the initial state of charge, and the final state of charge, a candidate state set corresponding to multiple route segments is determined, including: for the first route segment among the multiple route segments, determining the candidate state set corresponding to the first route segment based on the initial state of charge and the electrical energy corresponding to the change in state of charge; for the target route segment among the multiple route segments, determining the candidate state set corresponding to the target route segment based on the driving data corresponding to the target route segment; for the last route segment among the multiple route segments, determining the candidate state set corresponding to the last route segment based on the final state of charge; wherein, the target route segment is any one of the multiple route segments other than the first route segment and the last route segment. The route is divided into segments; preferably, based on the initial state of charge and the electrical energy corresponding to the change in state of charge, a candidate state set corresponding to the first route segment is determined, including: determining the first state of charge change range corresponding to the first route segment based on the electrical energy corresponding to the change in state of charge; determining the candidate state set corresponding to the first route segment based on the first state of charge change range and the initial state of charge; preferably, based on the driving data corresponding to the target route segment, a candidate state set corresponding to the target route segment is determined, including: determining the second state of charge change range corresponding to the target route segment based on the driving power in the driving data; determining the candidate state set corresponding to the target route segment based on the candidate state set corresponding to the previous route and the second state of charge change range.

[0009] In the above embodiments of this disclosure, the target state of charge trajectory of the battery is obtained by evaluating a set of candidate states corresponding to multiple route segments based on driving data corresponding to multiple route segments, including: evaluating at least one candidate state of charge corresponding to a route segment based on driving data corresponding to the route segments to obtain an evaluation index for at least one candidate state of charge, wherein the evaluation index is used to characterize the degree to which the corresponding candidate state of charge affects the energy use of the vehicle; constructing multiple candidate state of charge trajectories based on the set of candidate states corresponding to multiple route segments; determining a total evaluation index for the multiple candidate state of charge trajectories based on the evaluation index for at least one candidate state of charge; and determining the target state of charge trajectory from the multiple candidate states of charge based on the total evaluation index.

[0010] In the above embodiments of this disclosure, based on the driving data corresponding to the route segments, at least one candidate state of charge corresponding to the route segments is evaluated to obtain an evaluation index for at least one candidate state of charge. This includes: for the first route segment among multiple route segments, based on the driving data corresponding to the first route segment, evaluating at least one candidate state of charge corresponding to the first route segment to obtain an evaluation index for at least one candidate state of charge; for other route segments among multiple route segments other than the first route segment, based on the driving data corresponding to the other route segments and the evaluation index for at least one previous candidate state of charge corresponding to the previous route segment, evaluating at least one candidate state of charge corresponding to the other route segments to obtain an evaluation index for at least one candidate state of charge.

[0011] In the above embodiments of this disclosure, based on the driving data corresponding to the route segments, at least one candidate state of charge corresponding to the route segments is evaluated to obtain an evaluation index for at least one candidate state of charge, including: determining the output electrical energy corresponding to the candidate state of charge; determining the evaluation index as a preset index in response to the output electrical energy meeting the vehicle's energy demand; and determining the evaluation index for the candidate state of charge based on the driving time and driving power in the driving data in response to the output electrical energy not meeting the vehicle's energy demand. Preferably, determining the evaluation index for the candidate state of charge based on the driving time and driving power in the driving data includes: acquiring multiple operating modes of the vehicle, wherein different operating modes are used to characterize different cooperative relationships between the vehicle's engine and generator; determining the fuel consumption corresponding to the multiple operating modes based on the driving power in the driving data; for any operating mode, determining a sub-evaluation index corresponding to the operating mode based on the fuel consumption and driving time; and determining the evaluation index for the candidate state of charge based on the sub-evaluation index corresponding to the multiple operating modes.

[0012] In the above embodiments of this disclosure, based on the driving data corresponding to other route segments and the evaluation index of at least one previous candidate state of charge corresponding to the previous route segment, at least one other state of charge corresponding to other route segments is evaluated to obtain at least one evaluation index of candidate state of charge. This includes: evaluating at least one candidate state of charge corresponding to other route segments based on the driving data corresponding to other route segments to obtain a first index of at least one candidate state of charge; obtaining the sum of the evaluation index of at least one previous candidate state of charge and the first index of any candidate state of charge to obtain at least one second index of the candidate state of charge; and obtaining the evaluation index of the candidate state of charge based on the minimum value of the at least one second index.

[0013] According to another aspect of the embodiments of this disclosure, a battery state of charge (SOC) planning apparatus is also provided, comprising: an acquisition component configured to acquire a vehicle's driving route and battery information, wherein the battery information includes: an initial SOC of the battery before the vehicle starts driving, a final SOC of the battery after the vehicle ends driving, and a range of SOC changes; a discrete processing component configured to perform discrete processing on the driving route based on the initial SOC, the range of SOC changes, and the final SOC to obtain a set of candidate states corresponding to multiple route segments, wherein the set of candidate states includes at least one candidate SOC of the battery at the end of the corresponding route segment; and an evaluation component configured to evaluate the set of candidate states corresponding to multiple route segments based on driving data corresponding to the multiple route segments to obtain a target SOC trajectory of the battery, wherein the target SOC trajectory includes the target SOC corresponding to multiple route segments.

[0014] According to another aspect of the present disclosure, a vehicle is also provided, including: a memory storing an executable program; and a processor configured to run the program, wherein the program executes the methods of various embodiments of the present disclosure when it runs.

[0015] According to another aspect of the embodiments of the present disclosure, a computer-readable storage medium is also provided, the computer-readable storage medium including a stored executable program, wherein, when the executable program is executed, it controls the device where the computer-readable storage medium is located to perform the methods of the various embodiments of the present disclosure.

[0016] According to another aspect of the embodiments of this disclosure, a computer program product is also provided, including a computer program that, when executed by a processor, implements the methods of various embodiments of this disclosure.

[0017] According to another aspect of the embodiments of this disclosure, a computer program product is also provided, including a non-volatile computer-readable storage medium storing a computer program that, when executed by a processor, implements the methods in various embodiments of this disclosure.

[0018] According to another aspect of the embodiments of this disclosure, a computer program is also provided, which, when executed by a processor, implements the methods of the various embodiments of this disclosure.

[0019] In this embodiment, firstly, the vehicle's driving route and battery information are acquired. The battery information includes: the initial state of charge (SOC) of the battery before the vehicle starts driving, the final SOC of the battery after the vehicle ends driving, and the range of SOC changes. Next, based on the initial SOC, the range of SOC changes, and the final SOC, the driving route is discretized to obtain multiple candidate state sets corresponding to route segments. Each candidate state set contains at least one candidate SOC of the battery at the end of the corresponding route segment. Finally, based on the driving data corresponding to the multiple route segments, the candidate state sets are evaluated to obtain the target SOC trajectory of the battery. The target SOC trajectory contains the target SOC of the battery corresponding to the multiple route segments. By using the vehicle's driving route and battery information as input, and discretizing the driving route into multiple route segments, a candidate state set is generated for each route segment. The candidate state set contains the candidate SOC of the battery at the end of the segment. Discretization enables more precise analysis of the energy demand and battery state of each route segment, improving the accuracy of energy management. The establishment of a candidate state set provides candidate decision options for the dynamic programming algorithm, enabling the evaluation of the optimal state of charge (SOC) for each segment from a global perspective, thereby achieving global energy improvement. Subsequently, based on the driving data of each route segment, the candidate state set is evaluated to determine the target SOC trajectory with minimal impact on vehicle energy efficiency. This evaluation of candidate SOCs based on driving data considers the vehicle's immediate energy needs and integrates battery charging and discharging efficiency, achieving refined SOC management, which helps extend battery life and improve vehicle economy and driving range. Therefore, this disclosure solves the technical problems of low accuracy and adaptability in planning the SOC of vehicle batteries in related technologies. Attached Figure Description

[0020] The accompanying drawings, which are included to provide a further understanding of this disclosure and form part of this disclosure, illustrate exemplary embodiments of the present disclosure and are used to explain the disclosure, but do not constitute an undue limitation of the disclosure. In the drawings:

[0021] Figure 1 is a flowchart of a method for planning the state of charge of a battery according to an embodiment of the present disclosure;

[0022] Figure 2 is a schematic diagram of an optional method for determining a state of charge trajectory based on candidate states of charge according to an embodiment of the present disclosure;

[0023] Figure 3 is a schematic diagram of an optional battery state of charge planning process according to an embodiment of the present disclosure;

[0024] Figure 4 is a schematic diagram of a battery state of charge planning device according to an embodiment of the present disclosure. Detailed Implementation

[0025] To enable those skilled in the art to better understand the present disclosure, the technical solutions of the present disclosure will be clearly and completely described below with reference to the accompanying drawings of the embodiments. Obviously, the described embodiments are only some embodiments of the present disclosure, and not all embodiments. Based on the embodiments of the present disclosure, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present disclosure.

[0026] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this disclosure are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this disclosure described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0027] According to embodiments of this disclosure, an embodiment of a method for planning the state of charge of a battery is provided. The steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and although a logical order is shown in the flowcharts, in some cases the steps shown or described may be performed in a different order than that shown here.

[0028] This embodiment provides a method for planning the state of charge (SOC) of a battery. Figure 1 is a flowchart of a method for planning the SOC of a battery according to an embodiment of this disclosure. As shown in Figure 1, the process includes the following steps:

[0029] Step S102: Obtain the vehicle's driving route and battery information.

[0030] The battery information includes: the initial state of charge of the battery before the vehicle starts driving, the final state of charge of the battery after the vehicle stops driving, and the range of state of charge changes.

[0031] The aforementioned driving route refers to the planned or actual path taken by the vehicle, including the starting point, the destination, and the road segments traversed during the journey. In the energy management strategy of new energy vehicles, the driving route provides information including road type, road conditions, traffic conditions, and estimated travel time and distance.

[0032] The initial state of charge (PSC) mentioned above refers to the battery's state of charge before the vehicle begins driving, expressed as a percentage, reflecting the energy available to the vehicle at the start of operation. As the starting point for the vehicle's energy management strategy, the PSC influences subsequent energy allocation and usage planning.

[0033] The aforementioned state of charge (SCC) refers to the battery's state of charge at the end of vehicle operation, expressed as a percentage. Setting the SCC influences battery charging needs and usage mode selection, contributing to better battery life and more efficient vehicle energy use.

[0034] The aforementioned state of charge (SCC) variation range refers to the permissible range of SCC variation during driving, defined by the lower and upper limits of SCC. The SCC variation range is set considering battery health, charging infrastructure availability, and user preferences, aiming to avoid excessively low or high SCC, thereby protecting the battery and ensuring the vehicle's energy efficiency under different operating conditions.

[0035] As an optional implementation, when using a state-of-charge (POC) planning method based on dynamic programming, the vehicle's route is first obtained or predicted based on location data, historical driving records, or a user-inputted destination. The route is used to estimate energy demand and operational condition changes during driving. Next, the initial POC of the vehicle's battery is read, and the user-defined final POC, or a final POC determined based on historical driving records, is obtained, along with the POC range set according to battery characteristics. This information is acquired through communication between the vehicle's control unit and the battery management system.

[0036] In the above process, by acquiring the vehicle's driving route and battery information, the energy requirements of the vehicle under different operating conditions can be matched more accurately, avoiding energy surplus or shortage. By limiting the range of state of charge variation, extreme changes in state of charge are avoided, thereby reducing the number of battery cycles and extending battery life.

[0037] Step S104: Based on the initial state of charge, the range of changes in the state of charge, and the final state of charge, the driving route is discretized to obtain a set of candidate states corresponding to multiple route segments.

[0038] The candidate state set includes at least one candidate state of charge of the battery at the end of the corresponding route segment.

[0039] The aforementioned discrete processing refers to dividing the driving route into multiple small route segments and dividing the range of state of charge variation into a series of discrete states, that is, defining a series of candidate states of charge. These candidate states of charge can serve as possible states of the battery at the end of different route segments.

[0040] The aforementioned candidate state set refers to the possible state of charge (SOC) of the battery at the end of each discrete route segment. These candidate SOCs are calculated based on the initial SOC, the final SOC, and the allowable range of SOC variations, and constitute the decision-making basis for the dynamic programming algorithm when calculating the optimal SOC trajectory.

[0041] As an optional implementation, when implementing a dynamic programming state-of-charge (POC) planning method, the discretization process divides the driving route into multiple segments according to certain rules, such as driving time, mileage, or changes in operating conditions. Next, the range of battery POC changes is discretized, and a POC change step size is set, for example, every 1% or smaller POC change is considered a candidate state. Based on the driving conditions of the route segments and the dynamic range of battery POC changes, a set of candidate states for each route segment is calculated. For example, if the initial POC is 60%, the final POC is 40%, and the POC change range is set to every 1% POC, then for each route segment, possible POC values ​​are calculated, such as integer values ​​between 60% and 40%, and the probability that the battery will reach these POC values ​​at the end of the route segment is determined.

[0042] In the above process, discrete processing enables more refined analysis of the energy demand and battery status of each route segment, avoiding coarse-grained decision-making based on rule-based strategies and improving the accuracy of energy management. The establishment of a candidate state set provides candidate decision options for the dynamic programming algorithm, enabling a global evaluation of the optimal state of charge for each route segment and achieving global energy improvement. Discrete processing can adapt to complex driving conditions; even if conditions change, new optimal solutions can be found by adjusting the route segments and the candidate state set, ensuring effective energy management under various practical conditions.

[0043] Step S106: Based on the driving data corresponding to multiple route segments, evaluate the candidate state set corresponding to multiple route segments to obtain the target state of charge trajectory of the battery.

[0044] The target charge state trajectory includes the target charge state corresponding to multiple route segments.

[0045] The aforementioned driving data refers to the data generated by the vehicle during each segment of the route, including but not limited to driving time, driving speed, driving power, road type, and traffic conditions.

[0046] The aforementioned target state of charge (SPC) trajectory refers to the ideal or optimal trajectory of battery SPC changes over time or distance throughout the entire driving route. The SPC trajectory includes multiple route segments corresponding to the target SPC, representing the optimal SPC the battery should achieve at the end of each segment. The target SPC trajectory is derived by evaluating each candidate state set using a dynamic programming algorithm, aiming to minimize energy consumption throughout the driving process while ensuring battery health and efficiency.

[0047] As an optional implementation, the candidate state set within each route segment is evaluated based on driving data from each segment. During the evaluation, the impact of various candidate states on vehicle energy use is considered, including but not limited to battery charging and discharging efficiency, engine fuel efficiency, and the synergistic effect of the battery and engine. This evaluation includes calculating whether the battery's discharge capacity in that state is sufficient to meet the energy demand of the segment, and if not, how much energy the engine needs to supplement, thereby evaluating the total energy consumption of this energy allocation strategy. A superior state is selected from the candidate states of each route segment, based on the principle of minimizing energy consumption. The selection of the target state of charge is interrelated between different route segments throughout the entire driving route; the target state of charge of the previous route segment affects the candidate state set of the next route segment, thus influencing the target state of charge trajectory.

[0048] In the above process, the target state-of-charge trajectory aims to minimize energy consumption throughout the entire driving process. Through global improvements to the dynamic programming algorithm, an optimal energy allocation strategy can be found under various operating conditions. The setting of the target state-of-charge trajectory takes into account the changes in the battery's state of charge, avoiding drastic fluctuations in the state of charge, which helps to extend battery life, while ensuring that the battery operates within its efficient range.

[0049] In this embodiment, firstly, the vehicle's driving route and battery information are acquired. The battery information includes: the initial state of charge (SOC) of the battery before the vehicle starts driving, the final SOC of the battery after the vehicle ends driving, and the range of SOC changes. Next, based on the initial SOC, the range of SOC changes, and the final SOC, the driving route is discretized to obtain multiple candidate state sets corresponding to route segments. Each candidate state set contains at least one candidate SOC of the battery at the end of the corresponding route segment. Finally, based on the driving data corresponding to the multiple route segments, the candidate state sets are evaluated to obtain the target SOC trajectory of the battery. The target SOC trajectory contains the target SOC of the battery corresponding to the multiple route segments. By using the vehicle's driving route and battery information as input, and discretizing the driving route into multiple route segments, a candidate state set is generated for each route segment. The candidate state set contains the candidate SOC of the battery at the end of the route segment. Discretization enables more precise analysis of the energy demand and battery status of each route segment, improving the accuracy of energy management. The establishment of a candidate state set provides candidate decision options for the dynamic programming algorithm, enabling a global evaluation of the optimal state of charge (SOC) for each route segment, thus achieving global energy improvement. Subsequently, based on the driving data of each route segment, the candidate state set is evaluated to determine the target SOC trajectory with minimal impact on vehicle energy efficiency. This evaluation of candidate SOCs based on driving data considers the vehicle's immediate energy needs and incorporates battery charging and discharging efficiency, achieving refined SOC management. This helps extend battery life and improve vehicle economy and driving range. Therefore, this disclosure solves the technical problems of low accuracy and adaptability in planning the SOC of vehicle batteries in related technologies.

[0050] In the above embodiments of this disclosure, the driving route is discretized based on the initial state of charge, the range of state of charge change, and the final state of charge to obtain a set of candidate states corresponding to multiple route segments. This includes: discretizing the driving route to obtain multiple route segments; discretizing the range of state of charge change to obtain multiple state of charge change amounts and the electrical energy corresponding to the state of charge change amounts; and determining the set of candidate states corresponding to multiple route segments based on the electrical energy corresponding to the state of charge change amounts, the initial state of charge, and the final state of charge.

[0051] The aforementioned change in state of charge refers to the change in the battery's state of charge during vehicle operation, from the beginning to the end of a route segment, reflecting the possible range of change in state of charge within each route segment.

[0052] The electrical energy mentioned above refers to the electrical energy released or absorbed by a battery when its state of charge changes, measured in kilowatt-hours or joules. Electrical energy is related to the amount of change in state of charge; for every certain percentage change in state of charge, the battery releases or absorbs a certain amount of electrical energy.

[0053] As an optional implementation, to achieve optimal state of charge (SOC) planning, the driving route is discretized, dividing the continuous driving path into multiple small route segments. The division of each route segment considers variations in distance, time, or operating conditions, helping to more accurately match the vehicle's energy demand with the battery's SOC changes during calculation. Next, the range of SOC changes is discretized, setting an appropriate SOC change step size, such as 0.5% or 1%, generating a series of SOC changes, each corresponding to a specific amount of electrical energy. For example, if the battery's total capacity is 60 kWh and the SOC change step size is set to 1%, then a 1% SOC change corresponds to 0.6 kWh of electrical energy. Finally, based on the electrical energy corresponding to the SOC changes, the initial SOC, and the final SOC, multiple candidate state sets corresponding to each route segment are constructed. Each candidate state set contains the candidate SOC the battery will reach at the end of that route segment. The construction of the candidate state set takes into account the energy release and absorption of the battery during driving, as well as the dynamic changes in the state of charge, ensuring that all possible states can be comprehensively evaluated when calculating the optimal state of charge trajectory.

[0054] In the above process, by discretizing the driving route and the change in state of charge, the energy demand of each route segment and the energy release or absorption of the battery can be calculated more accurately, which helps to refine energy consumption management and reduce energy waste. Discrete processing can adapt to complex driving conditions. Even when the state of charge demand varies greatly between different route segments, it can find a better state of charge trajectory by adjusting the candidate state set, ensuring that the vehicle can achieve effective energy management under various operating conditions.

[0055] In the above embodiments of this disclosure, the driving route is discretized to obtain multiple route segments, including: predicting the speed of the driving route to obtain the vehicle's speed curve; integrating the speed curve to obtain the vehicle's mileage curve; and discretizing the mileage curve to obtain multiple route segments. Preferably, the above method further includes: determining the vehicle's wheel-end torque demand curve based on the vehicle's physical data; and determining the driving data corresponding to the route segments based on the speed curve and the wheel-end torque demand curve, wherein the driving data includes: driving time, driving speed, and driving power.

[0056] The speed curve mentioned above refers to the curve showing how a vehicle's speed changes over time during operation, reflecting the vehicle's dynamic driving characteristics. Speed ​​curves are determined based on historical data or averages, or generated through predictive algorithms, such as machine learning-based predictions, to more accurately reflect speed changes during future driving.

[0057] The aforementioned mileage curve reflects the relationship between the total mileage traveled by the vehicle and time. It is obtained by integrating the speed curve and intuitively displays the mileage traveled by the vehicle at different time points, providing a data basis for the discretization of the driving route.

[0058] The aforementioned physical data refers to quantitative information about vehicle performance and behavior, including but not limited to vehicle weight, drag coefficient, tire friction coefficient, and performance parameters of engine and electric motor, which reflect the vehicle's energy demand and power output under different operating conditions.

[0059] The wheel-end torque demand curve mentioned above reflects the relationship between the torque required at the wheel ends and time or mileage during vehicle operation. The wheel-end torque demand curve is calculated based on the vehicle's physical data and driving conditions, and helps determine the operating modes and energy distribution of the engine and electric motor.

[0060] As an optional implementation, speed prediction of the driving route is performed. By analyzing past driving data and considering factors such as road conditions and time, a predictive model, such as time series analysis or deep learning models, is used to generate the vehicle's speed curve. The speed curve is then integrated to calculate the vehicle's mileage curve. Next, using set discrete parameters, such as the length of each route segment, the mileage curve is discretized, dividing it into multiple route segments, each representing a specific driving path. This discretization facilitates independent energy demand assessment for each route segment. Furthermore, based on the vehicle's physical data, the wheel-end torque demand curve is calculated. This considers the vehicle's power demand under different speeds and road conditions, providing a basis for determining subsequent driving data. Combining the speed curve and the wheel-end torque demand curve, the driving data for each route segment is determined, including driving time, vehicle speed, and driving power. The driving time is calculated based on the mileage and average speed of the route segment, the vehicle speed is determined based on the speed curve, and the driving power is determined by converting the wheel-end torque demand and vehicle speed, reflecting the energy consumption or generation of the vehicle in that route segment.

[0061] In the aforementioned process, speed prediction and mileage curve generation provide accurate driving information for the dynamic programming algorithm, enabling more precise prediction of the vehicle's energy demand in different route segments, thereby improving energy management strategies. By considering the vehicle's physical data and real-time driving conditions, it can adapt to different driving scenarios, improving the flexibility and applicability of energy management strategies.

[0062] In the embodiments disclosed above, based on the electrical energy corresponding to the change in state of charge, the initial state of charge, and the final state of charge, a candidate state set corresponding to multiple route segments is determined, including: for the first route segment among the multiple route segments, determining the candidate state set corresponding to the first route segment based on the initial state of charge and the electrical energy corresponding to the change in state of charge; for the target route segment among the multiple route segments, determining the candidate state set corresponding to the target route segment based on the driving data corresponding to the target route segment; for the last route segment among the multiple route segments, determining the candidate state set corresponding to the last route segment based on the final state of charge; wherein, the target route segment is any one of the multiple route segments other than the first route segment and the last route segment. The route is divided into segments; preferably, based on the initial state of charge and the electrical energy corresponding to the change in state of charge, a candidate state set corresponding to the first route segment is determined, including: determining the first state of charge change range corresponding to the first route segment based on the electrical energy corresponding to the change in state of charge; determining the candidate state set corresponding to the first route segment based on the first state of charge change range and the initial state of charge; preferably, based on the driving data corresponding to the target route segment, a candidate state set corresponding to the target route segment is determined, including: determining the second state of charge change range corresponding to the target route segment based on the driving power in the driving data; determining the candidate state set corresponding to the target route segment based on the candidate state set corresponding to the previous route and the second state of charge change range.

[0063] As an optional implementation, dynamic programming algorithms plan the battery state of charge (SOC). Based on segmenting the vehicle's route, they determine the candidate state set for each route segment, thereby achieving globally optimal SOC trajectory planning. Specifically, based on the initial SOC and the pre-defined SOC change, the feasible range of battery SOC change for the first route segment is determined. Considering the battery's SOC at the beginning of travel and the upcoming energy demands, the lower or upper limit of SOC that the battery will reach in the first route segment is calculated. This calculation process combines vehicle driving data and battery characteristics, such as battery capacity and charge / discharge efficiency, ensuring a reasonable allocation of battery energy in the initial state. Subsequently, based on the first SOC change range and the initial SOC, a candidate state set for the first route segment is generated. For the target route segment, when processing intermediate route segments other than the first and last segments, the candidate state set is determined based on the driving data of the current route segment. The driving power provides basic information on the vehicle's energy consumption within the route segment. Combined with the candidate state set of the previous route segment, it can calculate the energy balance under different state of charge (SOC) changes. This includes identifying the optimal charge and discharge capacity the battery can provide under the current driving conditions, while also considering the engine's auxiliary power supply capability to ensure the vehicle can smoothly pass through the route segment and make optimal decisions regarding SOC. For the last route segment, it ensures the battery reaches the final SOC without exceeding the predetermined SOC change range. It considers a smooth transition of SOC throughout the entire driving process, avoiding unnecessary energy waste or sudden changes in SOC in the final segment. By adjusting the battery charge and discharge strategy and engine operating mode in the last route segment, it achieves the required final SOC.

[0064] In the above process, the candidate state set is determined segment by segment along the route, enabling better energy allocation decisions under different driving conditions, thereby maximizing energy utilization efficiency and reducing energy waste throughout the entire journey. Dynamically adjusting the candidate state set based on driving data and battery characteristics allows for adaptation to different driving environments and modes, enhancing the flexibility and versatility of the energy management strategy.

[0065] In the above embodiments of this disclosure, the target state of charge trajectory of the battery is obtained by evaluating a set of candidate states corresponding to multiple route segments based on driving data corresponding to multiple route segments, including: evaluating at least one candidate state of charge corresponding to a route segment based on driving data corresponding to the route segments to obtain an evaluation index for at least one candidate state of charge, wherein the evaluation index is used to characterize the degree to which the corresponding candidate state of charge affects the energy use of the vehicle; constructing multiple candidate state of charge trajectories based on the set of candidate states corresponding to multiple route segments; determining a total evaluation index for the multiple candidate state of charge trajectories based on the evaluation index for at least one candidate state of charge; and determining the target state of charge trajectory from the multiple candidate states of charge based on the total evaluation index.

[0066] The aforementioned evaluation indicators are used to quantify the impact of candidate states of charge on vehicle energy efficiency. They reflect the comprehensive performance of vehicle energy consumption, battery charging and discharging efficiency, engine fuel efficiency, and other performance indicators under a specific state of charge change.

[0067] The aforementioned overall evaluation index refers to the index used to comprehensively evaluate the candidate state of charge (POC) trajectories. By integrating the evaluation indices of candidate POC trajectories across various route segments, it reflects the overall impact of the complete POC trajectory on energy efficiency throughout the entire driving process. The overall evaluation index is calculated using a weighted average or cumulative sum method to ensure that energy consumption and battery management are comprehensively considered across the entire route.

[0068] As an optional implementation, within the framework of dynamic programming, candidate states of charge (SOCs) within each route segment are evaluated based on driving data, resulting in evaluation metrics. For each candidate SOC, the vehicle's energy consumption is calculated, including the electrical energy from battery discharge or charging, and the fuel consumption from engine operation. The evaluation metrics take into account the impact of SOC changes on energy use; for example, excessively high or low SOCs can reduce battery or engine efficiency, thus increasing energy consumption. Next, multiple candidate SOC trajectories can be constructed, reflecting a series of candidate SOCs from the initial to the final SOC. Based on the evaluation metrics of the candidate SOCs, a total evaluation metric for each candidate SOC trajectory is further calculated. This process may include the accumulation or weighted summation of evaluation metrics for each route segment, ensuring a comprehensive consideration of the overall energy efficiency of the route. Finally, based on the total evaluation metric, the target SOC trajectory is selected from the multiple candidate SOC trajectories.

[0069] The introduction of evaluation indicators in the above process enables the quantification of energy efficiency under each candidate state of charge, thereby achieving refined management and improvement of energy. The calculation of the overall evaluation indicator ensures that the impact of the state of charge trajectory on the entire driving process can be evaluated from a global perspective, realizing globally optimal planning of the state of charge.

[0070] In the above embodiments of this disclosure, based on the driving data corresponding to the route segments, at least one candidate state of charge corresponding to the route segments is evaluated to obtain an evaluation index for at least one candidate state of charge. This includes: for the first route segment among multiple route segments, based on the driving data corresponding to the first route segment, evaluating at least one candidate state of charge corresponding to the first route segment to obtain an evaluation index for at least one candidate state of charge; for other route segments among multiple route segments other than the first route segment, based on the driving data corresponding to the other route segments and the evaluation index for at least one previous candidate state of charge corresponding to the previous route segment, evaluating at least one candidate state of charge corresponding to the other route segments to obtain an evaluation index for at least one candidate state of charge.

[0071] As an optional implementation, a dynamic programming algorithm is used to globally improve the battery's state of charge (SOC). Considering the segmented characteristics of vehicle travel, the algorithm accurately evaluates candidate SOCs for each route segment to find the optimal SOC trajectory. For the first route segment, the evaluation index is calculated based on the initial SOC and the travel data of the first segment. The energy efficiency of different candidate SOCs is evaluated based on the vehicle's average speed, travel time, and power consumption within this route segment. If the battery discharge can meet the energy demand of this route segment, the evaluation index is close to zero, indicating high energy efficiency. If the battery discharge is insufficient, the fuel consumption to compensate for the energy consumption is calculated, and this fuel consumption is used as the evaluation index, reflecting the negative impact of SOC on energy efficiency. For other route segments, the evaluation index calculation considers the results of the previous route segment. Specifically, it evaluates the impact of each candidate SOC in the candidate state set of the previous route segment on the current route segment. This evaluation includes the travel data of the current route segment and also incorporates the SOC indices of the previous route segment. For example, if the state of charge of the previous route segment results in a low battery charge, then a higher engine workload is calculated for the current route segment. This evaluation process recursively improves the energy management strategy for the entire driving route.

[0072] In the above process, the dynamic programming algorithm ensures that the energy efficiency of the entire driving route is considered when evaluating the state of charge (POC) of each route segment, thereby achieving globally optimal POC planning. By decomposing the entire driving process into multiple route segments and evaluating the candidate POC of each segment, refined energy consumption management is achieved, which helps reduce energy waste and improve the vehicle's range and economy.

[0073] In the above embodiments of this disclosure, based on the driving data corresponding to the route segments, at least one candidate state of charge corresponding to the route segments is evaluated to obtain an evaluation index for at least one candidate state of charge, including: determining the output electrical energy corresponding to the candidate state of charge; determining the evaluation index as a preset index in response to the output electrical energy meeting the vehicle's energy demand; and determining the evaluation index for the candidate state of charge based on the driving time and driving power in the driving data in response to the output electrical energy not meeting the vehicle's energy demand. Preferably, determining the evaluation index for the candidate state of charge based on the driving time and driving power in the driving data includes: acquiring multiple operating modes of the vehicle, wherein different operating modes are used to characterize different cooperative relationships between the vehicle's engine and generator; determining the fuel consumption corresponding to the multiple operating modes based on the driving power in the driving data; for any operating mode, determining a sub-evaluation index corresponding to the operating mode based on the fuel consumption and driving time; and determining the evaluation index for the candidate state of charge based on the sub-evaluation index corresponding to the multiple operating modes.

[0074] The aforementioned preset indicators refer to benchmark evaluation values ​​used to measure the performance of candidate states of charge under specific conditions. When the output electrical energy meets the vehicle's energy demand, the evaluation indicators are set to preset indicators to reflect the energy efficiency under this ideal state.

[0075] The aforementioned operating modes refer to the modes that define the working relationship between the engine and the generator to adapt to different driving conditions, including but not limited to pure electric mode, series mode, parallel mode, and energy recovery mode.

[0076] As an optional implementation, based on the battery's remaining capacity and current state of charge (SOC), the electrical energy output of each candidate SOC in the current route segment is determined. If the output electrical energy meets the vehicle's energy demand for that route segment, a preset evaluation index is set, reflecting the battery's energy consumption performance under ideal operating conditions. If the output electrical energy is insufficient to meet the vehicle's needs, other operating modes, such as series or parallel modes, are switched to supplement the required energy. In this case, the evaluation index calculation comprehensively considers the engine's additional fuel consumption and driving time. Specifically, multiple vehicle operating modes are acquired, and based on the driving power of the current route segment, the engine's fuel consumption in each mode is calculated. Then, based on fuel consumption and driving time, sub-evaluation indices corresponding to each operating mode are determined. Finally, by comparing and combining these sub-evaluation indices, the evaluation index for the candidate SOC is obtained.

[0077] In the above process, the setting and calculation of evaluation indicators ensure that energy efficiency is prioritized during state of charge (POC) planning, minimizing energy consumption regardless of whether battery power or engine intervention is used. Evaluation based on multiple operating modes allows POC planning to flexibly respond to different operating conditions and driving needs, improving the adaptability and robustness of energy management strategies.

[0078] In the above embodiments of this disclosure, based on the driving data corresponding to other route segments and the evaluation index of at least one previous candidate state of charge corresponding to the previous route segment, at least one other state of charge corresponding to other route segments is evaluated to obtain at least one evaluation index of candidate state of charge. This includes: evaluating at least one candidate state of charge corresponding to other route segments based on the driving data corresponding to other route segments to obtain a first index of at least one candidate state of charge; obtaining the sum of the evaluation index of at least one previous candidate state of charge and the first index of any candidate state of charge to obtain at least one second index of the candidate state of charge; and obtaining the evaluation index of the candidate state of charge based on the minimum value of the at least one second index.

[0079] As an optional implementation, evaluating candidate states of charge (SOCs) for other route segments demonstrates the recursive nature of the dynamic programming algorithm. For each route segment's candidate SOC, the energy efficiency of the candidate SOC is calculated based on the travel data for that route segment, yielding a first index. Next, the evaluation index of the previous route segment's candidate SOC is combined with the first index of the current route segment's candidate SOC for evaluation. Specifically, the evaluation index of each candidate SOC from the previous route segment is iterated and added to the first index of each candidate SOC from the current route segment, resulting in a series of second indices. This process considers the cumulative impact of SOC changes on energy efficiency throughout the entire travel route. Finally, the minimum value among the second indices is selected as the evaluation index for the current candidate SOC. This ensures that when planning the overall route's SOC trajectory, paths with higher energy efficiency from a global perspective are prioritized.

[0080] In the above process, the dynamic programming algorithm calculates the state of charge (SOC) evaluation index of each route segment step by step and considers the impact on the preceding route segment. This allows it to find a SOC trajectory with lower overall energy consumption and higher energy efficiency, achieving globally optimal planning. The evaluation process considers the driving data of the current route segment and recursively considers the state of the preceding route segment, enabling it to better adapt to energy management needs under different driving environments and operating conditions.

[0081] The technical solution proposed in this disclosure is described below with reference to an optional embodiment. This disclosure proposes a charge state planning method based on dynamic programming algorithm.

[0082] The technical solution used in this disclosure can be as follows: raw data processing, firstly, based on the predicted speed curve obtained from the selected route and the input vehicle physical data, including the vehicle resistance curve, the engine's optimal economic line and universal characteristics, etc., then based on the actual vehicle resistance, using relevant physical formulas, the wheel-end torque demand curve for the entire road segment is calculated, the mileage curve is obtained by integrating the speed curve, and the battery state of charge related parameters are set, mainly including the initial state of charge, the target final state of charge, and the desired range of state of charge change to limit the range of state of charge optimization.

[0083] Data discretization involves discretizing road information and battery state of charge (SOC) separately during the calculation process. This relies on relevant discretization parameters set before the calculation begins. The discretization parameter settings primarily concern the discretization density of mileage and SOC, i.e., the mileage and SOC magnitude of each road segment. Higher discretization yields more accurate calculation results. Distance discretization (DpCalPointDis_r) represents the length of each discretized road segment in km; SOC discretization (Nsplit_r) represents the number of segments into which 1% battery SOC is divided, and calculates the electrical energy (BatteryPower) that each segment can provide. Electrical energy is the basic unit of battery charge change and is used to calculate subsequent SOC changes. After road segmentation, based on the wheel-end torque and speed curves obtained from the original data processing, the corresponding travel time, average power, and average speed for each route segment are calculated for subsequent route segmentation calculations and optimization.

[0084] Segmented calculation and result storage: When evaluating control strategies corresponding to possible state-of-charge (POC) changes in each route segment, a penalty function can be introduced to quantify the merits. For this purpose, a function (OliSumTest2) can be written to calculate the penalty function. The calculation logic of function (OliSumTest2) is as follows: Based on relevant data for the route segment, including travel time, average power, and average vehicle speed, function (OliSumTest2) calculates the penalty function for the plug-in hybrid electric vehicle (PHEV) under different POC changes in that route segment, corresponding to three operating modes: pure electric mode, series mode, and parallel mode. In series mode, the engine speed and torque are obtained by looking up the engine's optimal economic line from a table based on engine power demand. In parallel mode, engine speed and vehicle speed are coupled, and engine torque is calculated based on power-speed conversion. After obtaining the engine speed and torque, the fuel consumption required for engine operation is calculated by looking up the input universal characteristic data, and this value is used as the penalty function value. Specifically, the penalty function values ​​for these three modes are calculated independently, and then the smaller value is selected from these three calculation results. This smaller value is used as the penalty function value for the optimal control strategy corresponding to a specific POC change in that route segment.

[0085] For the first road segment obtained from route segmentation, the initial state of charge (Initial) is determined, and the possible states of charge after the route segmentation is completed are iterated. If the electrical energy released by the battery basically meets the energy demand of the route segment, the penalty function is set to 0; if the electrical energy released by the battery does not meet the energy demand of the route segment, the engine makes up for the insufficient energy, and the fuel consumption (Oil) required by the engine to supply power is calculated by the function (OliSumTest2).

[0086] If the calculated Oil is less than 100g / s, the penalty function can be expressed as follows: Value0(1,j+1)=VhcDurTime(1)*Oil;

[0087] If the calculated Oil > 100g / s, the penalty function can be expressed as follows: Value0(1,j+1)=VhcDurTime(1)*Oil*10;

[0088] Where j+1 represents the index of the first segment's termination charge state; for example, j=0 means that the first segment's termination charge state is the set charge state limit, corresponding to the index of the first value in the discrete charge state vector.

[0089] For the remaining roads, the average power corresponding to each route segment is determined, thus the upper limit of battery discharge and charging for that route segment is also determined. This allows us to determine the range of battery charge variation, i.e., the range of battery state of charge (SOC) variation. The upper limit of SOC decrease (NegStep) for the i-th road segment is determined by the energy provided by the battery; the upper limit of SOC increase (PosStep) for the i-th road segment indicates that the energy is provided by the engine, with the engine operating at the optimal economic power limit, and the remaining energy used for battery charging. Starting from the second road segment, the initial SOC of each route segment is not constant, but the penalty function is only related to the absolute change in SOC, i.e., the difference between the initial and final SOC of the route segment. After calculating the penalty function and determining the range of SOC variation, the corresponding initial SOC variation range for any possible SOC value at the end of the second route segment can be determined. The engine fuel consumption (Oil) and corresponding penalty function are calculated by the function (OliSumTest2) and stored in the matrix f_consp(i, l), where i represents the i-th route segment and l represents the corresponding initial state of charge difference. This yields the state of charge curves and penalty functions for each route segment under different control strategies.

[0090] Figure 2 is a schematic diagram of an optional method for determining the charge state trajectory based on candidate charge states according to an embodiment of the present disclosure. As shown in Figure 2, line 1 can represent the end of the first route segment and the beginning of the second route segment, line 2 can represent the end of the second route segment, and lines a to e on the lines can represent different candidate charge states. The figure shows an example of matching and optimizing candidate charge state b at the end of the second route segment with candidate charge states a and d at the end of the first route segment and the beginning of the second route segment, respectively. The figure also shows an example of matching and optimizing candidate charge state c at the end of the second route segment with candidate charge states b and e at the end of the first route segment and the beginning of the second route segment, respectively.

[0091] The optimization process of the dynamic programming algorithm is as follows: Value0(1,j+1) stores the penalty function corresponding to different charge states at the end of the first road segment, that is, the penalty function corresponding to each charge state point at the end of the first route segment and the beginning of the second route segment.

[0092] The optimization logic includes a penalty function for the optimal charged state at point b at the end of the second segment:

[0093] Value0(2,b)=min(Value0(1,k)+f_consp(2,l))+stp;

[0094] Where k can be the range of charge state changes corresponding to the route segment (a, b, c, d), and stp is the engine start-stop penalty.

[0095] The calculation logic for the charge state of the remaining points at the end of the second route segment is the same. Finally, the penalty function Value0(2, j+1) corresponding to different charge states at the end of the second segment can be obtained. This process is repeated until the last route segment, to obtain the better penalty function and charge state trajectory corresponding to different charge states at the end point.

[0096] The state-of-charge (SOC) trajectory is recorded. Value(2, j+1).trail is used to record the optimal SOC trajectory corresponding to different SOC states at the end of each route segment. To reduce memory usage, Value(2, j+1) is assigned to Value(1, j+1) after each route segment traversal. The optimal SOC trajectory corresponding to different SOC states at the end of the next route segment is still value(2, j+1).trail, and is assigned to Value(1, j+1) after traversal. Finally, only the optimal SOC trajectory corresponding to different SOC states at the end of the route is recorded using the penalty function.

[0097] Figure 3 is a schematic diagram of an optional battery state of charge planning process according to an embodiment of the present disclosure. As shown in Figure 3, it includes data input, data processing, segmented discretization, segmented calculation, penalty optimization, and state of charge planning.

[0098] The following is a further explanation of the specific operation method of this disclosure: import the data required for optimization calculation; process the input raw data to obtain the required wheel end torque and mileage-time data; set the discrete parameters and the state of charge optimization range, and discretize the road mileage and battery state of charge respectively; calculate the travel time, average power and average vehicle speed of the discretized route segments, as well as the electrical energy (BatteryPower) that the state of charge segment can provide, and store the calculation results of each route segment separately.

[0099] A penalty function is written to calculate the penalty function corresponding to different state of charge changes for each route segment and store it in the matrix f_consp(i, l). The optimal state of charge plan for the road endpoint is calculated based on the optimization logic of the dynamic programming algorithm. Value(1, j+1).trail records the optimal state of charge trajectory corresponding to different termination states of charge at the endpoint. Based on the index value of the target state of charge at the endpoint within the set optimization range of the state of charge, the optimal state of charge plan curve obtained by the dynamic programming algorithm can be found.

[0100] According to another aspect of the present disclosure, a battery state of charge planning apparatus is also provided. This apparatus can execute the battery state of charge planning method of the above embodiments. The specific implementation method and preferred application scenarios are the same as those of the above embodiments, and will not be repeated here.

[0101] Figure 4 is a schematic diagram of a battery state of charge planning device according to an embodiment of the present disclosure. As shown in Figure 4, the device includes the following: an acquisition component 402, a discrete processing component 404, and an evaluation component 406.

[0102] The acquisition component 402 is configured to acquire the vehicle's driving route and battery information. The battery information includes: the initial state of charge (SOC) of the battery before the vehicle starts driving, the final SOC of the battery after the vehicle ends driving, and the range of SOC changes. The discrete processing component 404 is configured to perform discrete processing on the driving route based on the initial SOC, the range of SOC changes, and the final SOC to obtain a set of candidate states corresponding to multiple route segments. The set of candidate states includes at least one candidate SOC of the battery at the end of the corresponding route segment. The evaluation component 406 is configured to evaluate the set of candidate states corresponding to multiple route segments based on the driving data corresponding to multiple route segments to obtain the target SOC trajectory of the battery. The target SOC trajectory includes the target SOC corresponding to multiple route segments.

[0103] The discrete processing component is further configured to perform discrete processing on the driving route to obtain multiple route segments; to perform discrete processing on the range of changes in the state of charge to obtain multiple changes in the state of charge and the electrical energy corresponding to the changes in the state of charge; and to determine a set of candidate states corresponding to multiple route segments based on the electrical energy corresponding to the changes in the state of charge, the initial state of charge, and the final state of charge.

[0104] The discrete processing component is further configured to predict the speed of the driving route to obtain the vehicle's speed curve; perform integral processing on the speed curve to obtain the vehicle's mileage curve; and perform discrete processing on the mileage curve to obtain multiple route segments. Preferably, the method further includes: determining the vehicle's wheel-end torque demand curve based on the vehicle's physical data; and determining the driving data corresponding to the route segments based on the speed curve and the wheel-end torque demand curve, wherein the driving data includes: driving time, driving speed, and driving power.

[0105] The discrete processing component is further configured to: for the first route segment among multiple route segments, determine a candidate state set corresponding to the first route segment based on the initial state of charge and the electrical energy corresponding to the change in state of charge; for the target route segment among multiple route segments, determine a candidate state set corresponding to the target route segment based on the driving data corresponding to the target route segment; and for the last route segment among multiple route segments, determine a candidate state set corresponding to the last route segment based on the terminating state of charge; wherein, the target route segment is any route segment among the multiple route segments other than the first and last route segments; preferably, based on the initial state of charge and the change in state of charge... The process of determining the candidate state set corresponding to the first route segment, based on the electrical energy corresponding to the change in state of charge, includes: determining the first state of charge change range corresponding to the first route segment based on the electrical energy corresponding to the change in state of charge; and determining the candidate state set corresponding to the first route segment based on the first state of charge change range and the initial state of charge. Preferably, the process of determining the candidate state set corresponding to the target route segment, based on the driving data corresponding to the target route segment, includes: determining the second state of charge change range corresponding to the target route segment based on the driving power in the driving data; and determining the candidate state set corresponding to the target route segment based on the candidate state set corresponding to the previous route segment and the second state of charge change range.

[0106] The evaluation component is further configured to evaluate at least one candidate state of charge (SOC) corresponding to a route segment based on the driving data corresponding to the route segment, and obtain an evaluation index for at least one candidate SOC. The evaluation index is used to characterize the degree to which the corresponding candidate SOC affects the energy use of the vehicle. Based on the candidate state set corresponding to multiple route segments, multiple candidate SOC trajectories are constructed. Based on the evaluation index of at least one candidate SOC, a total evaluation index for the multiple candidate SOC trajectories is determined. Based on the total evaluation index, a target SOC trajectory is determined from the multiple candidate SOCs.

[0107] The evaluation component is further configured to, for the first route segment among multiple route segments, evaluate at least one candidate state of charge corresponding to the first route segment based on the driving data corresponding to the first route segment, and obtain an evaluation index for at least one candidate state of charge; for other route segments among multiple route segments other than the first route segment, evaluate at least one candidate state of charge corresponding to the other route segments based on the driving data corresponding to the other route segments and the evaluation index of at least one previous candidate state of charge corresponding to the previous route segment, and obtain an evaluation index for at least one candidate state of charge.

[0108] The evaluation component is further configured to: determine the output electrical energy corresponding to the candidate state of charge; determine the evaluation index as a preset index in response to the output electrical energy meeting the vehicle's energy demand; and determine the evaluation index of the candidate state of charge based on the driving time and driving power in the driving data in response to the output electrical energy not meeting the vehicle's energy demand. Preferably, determining the evaluation index of the candidate state of charge based on the driving time and driving power in the driving data includes: acquiring multiple operating modes of the vehicle, wherein different operating modes are used to characterize different cooperative relationships between the vehicle's engine and generator; determining the fuel consumption corresponding to the multiple operating modes based on the driving power in the driving data; for any operating mode, determining the sub-evaluation index corresponding to the operating mode based on the fuel consumption and driving time; and determining the evaluation index of the candidate state of charge based on the sub-evaluation index corresponding to the multiple operating modes.

[0109] The evaluation component is further configured to evaluate at least one candidate state of charge corresponding to other route segments based on driving data, and obtain a first index of at least one candidate state of charge; obtain the sum of the evaluation index of at least one previous candidate state of charge and the first index of any candidate state of charge, and obtain at least one second index of the candidate state of charge; and obtain the evaluation index of the candidate state of charge based on the minimum value of at least one second index.

[0110] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this disclosure are all information and data authorized by the user or fully authorized by all parties. Furthermore, the collection, use and processing of the relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions, and corresponding operation portals are provided for users to choose to authorize or refuse.

[0111] Embodiments of this disclosure also provide a vehicle, including: a memory storing an executable program; and a processor configured to run the program, wherein the program executes the methods of various embodiments of this disclosure when it runs.

[0112] Embodiments of this disclosure also provide a computer-readable storage medium including a stored executable program, wherein, when the executable program is executed, it controls the device on which the computer-readable storage medium resides to perform the methods of the various embodiments of this disclosure.

[0113] Embodiments of this disclosure also provide a computer program product, including a computer program that, when executed by a processor, implements the methods of various embodiments of this disclosure.

[0114] Embodiments of this disclosure also provide a computer program product including a non-volatile computer-readable storage medium configured to store a computer program that, when executed by a processor, implements the methods described in various embodiments of this disclosure.

[0115] Embodiments of this disclosure also provide a computer program that, when executed by a processor, implements the methods described in the various embodiments of this disclosure.

[0116] In the above embodiments of this disclosure, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments.

[0117] In the several embodiments provided in this disclosure, it should be understood that the disclosed technical content can be implemented in other ways. The device embodiments described above are merely illustrative; for example, the division of units can be a logical functional division, and in actual implementation, there may be other division methods. For instance, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the displayed or discussed mutual coupling, direct coupling, or communication connection may be through some interface; the indirect coupling or communication connection of units or components may be electrical or other forms.

[0118] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0119] Furthermore, the functional units in the various embodiments of this disclosure can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0120] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this disclosure, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this disclosure. The aforementioned storage medium includes various media capable of storing program code, such as a USB flash drive, read-only memory (ROM), random access memory (RAM), portable hard drive, magnetic disk, or optical disk.

[0121] The above description is only a preferred embodiment of this disclosure. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the principles of this disclosure, and these improvements and modifications should also be considered within the scope of protection of this disclosure.

Claims

1. A method for planning the state of charge of a battery, comprising: The vehicle's driving route and battery information are obtained, wherein the battery information includes: the initial state of charge of the battery before the vehicle starts driving, the final state of charge of the battery after the vehicle finishes driving, and the range of state of charge variation. Based on the initial state of charge, the range of state of charge variation, and the final state of charge, the driving route is discretized to obtain a set of candidate states corresponding to multiple route segments. The set of candidate states includes at least one candidate state of charge of the battery at the end of the corresponding route segment. Based on the driving data corresponding to the multiple route segments, the candidate state set corresponding to the multiple route segments is evaluated to obtain the target state of charge trajectory of the battery, wherein the target state of charge trajectory includes the target state of charge corresponding to the multiple route segments.

2. The method according to claim 1, wherein, Based on the initial state of charge, the range of changes in the state of charge, and the final state of charge, the driving route is discretized to obtain a set of candidate states corresponding to multiple route segments, including: The driving route is discretized to obtain the multiple route segments; Discretize the range of state of charge changes to obtain multiple state of charge changes and the electrical energy corresponding to the state of charge changes. Based on the electrical energy corresponding to the change in state of charge, the initial state of charge, and the final state of charge, a set of candidate states corresponding to multiple route segments is determined.

3. The method according to claim 2, wherein, The discretization of the driving route to obtain the multiple route segments includes: Speed ​​prediction is performed on the driving route to obtain the vehicle's speed curve; The speed curve is integrated to obtain the vehicle's mileage curve; The mileage curve is discretized to obtain the multiple route segments.

4. The method according to claim 3, wherein, The method further includes: Based on the vehicle's physical data, determine the wheel-end torque demand curve of the vehicle; Based on the speed curve and the wheel-end torque demand curve, the driving data corresponding to the route segment is determined, wherein the driving data includes: driving time, driving speed and driving power.

5. The method according to claim 4, wherein, The process of determining the driving data corresponding to the route segments based on the speed curve and the wheel-end torque demand curve includes: Based on the mileage and average speed of the route segments, the travel time corresponding to the route segments is determined; Determine the driving speed corresponding to the route segment based on the speed curve; The driving power corresponding to the route segment is obtained by converting the wheel-end torque demand curve and the driving speed.

6. The method according to claim 2, wherein, Based on the electrical energy corresponding to the change in state of charge, the initial state of charge, and the final state of charge, a set of candidate states corresponding to multiple route segments is determined, including: For the first route segment among the multiple route segments, a set of candidate states corresponding to the first route segment is determined based on the initial state of charge and the electrical energy corresponding to the change in state of charge. For the target route segment among the multiple route segments, a candidate state set corresponding to the target route segment is determined based on the driving data corresponding to the target route segment; For the last route segment among the multiple route segments, a set of candidate states corresponding to the last route segment is determined based on the termination charging state; The target route segment is any one of the multiple route segments, excluding the first route segment and the last route segment.

7. The method according to claim 6, wherein, The determination of the candidate state set corresponding to the first route segment based on the initial state of charge and the electrical energy corresponding to the change in state of charge includes: Based on the electrical energy corresponding to the change in state of charge, the range of the first change in state of charge corresponding to the first route segment is determined. Based on the range of the first state of charge change and the initial state of charge, a set of candidate states corresponding to the first route segment is determined.

8. The method according to claim 6, wherein, The step of determining the candidate state set corresponding to the target route segment based on the driving data includes: Based on the driving power in the driving data, determine the range of the second state of charge change corresponding to the target route segment; Based on the candidate state set corresponding to the previous route segment of the target route and the range of the second state of charge change, the candidate state set corresponding to the target route segment is determined.

9. The method according to claim 6, wherein, The determination of the candidate state set corresponding to the last route segment based on the terminated state of charge includes: Based on the termination state of charge and the range of state of charge change, a set of candidate states corresponding to the last route segment is determined, wherein at least one candidate state in the set of candidate states corresponding to the last route segment reaches the termination state of charge and is within the range of state of charge change.

10. The method according to any one of claims 1 to 9, wherein, The step of evaluating the candidate state set corresponding to the multiple route segments based on the driving data to obtain the target state of charge trajectory of the battery includes: Based on the driving data corresponding to the route segments, at least one candidate state of charge corresponding to the route segments is evaluated to obtain an evaluation index for the at least one candidate state of charge. The evaluation index is used to characterize the degree to which the corresponding candidate state of charge affects the energy use of the vehicle. Based on the candidate state set corresponding to the multiple route segments, multiple candidate charged state trajectories are constructed. Based on the evaluation index of the at least one candidate state of charge, a total evaluation index for the trajectories of the plurality of candidate states of charge is determined. Based on the overall evaluation index, the target state of charge trajectory is determined from the plurality of candidate states of charge.

11. The method according to claim 10, wherein, The step of evaluating at least one candidate state of charge corresponding to the route segment based on the driving data corresponding to the route segment, and obtaining evaluation indicators for the at least one candidate state of charge, includes: For the first route segment among the multiple route segments, based on the driving data corresponding to the first route segment, at least one candidate state of charge corresponding to the first route segment is evaluated to obtain the evaluation index of the at least one candidate state of charge. For the other route segments among the multiple route segments other than the first route segment, based on the driving data corresponding to the other route segments and the evaluation index of at least one previous candidate state of charge corresponding to the previous route segment, the at least one candidate state of charge corresponding to the other route segments is evaluated to obtain the evaluation index of the at least one candidate state of charge.

12. The method according to claim 11, wherein, The step of evaluating at least one candidate state of charge corresponding to the route segment based on the driving data corresponding to the route segment, and obtaining evaluation indicators for the at least one candidate state of charge, includes: Determine the output electrical energy corresponding to the candidate state of charge; In response to the fact that the output electrical energy meets the energy demand of the vehicle, the evaluation index is determined to be a preset index; In response to the fact that the output electrical energy does not meet the energy demand of the vehicle, the evaluation index of the candidate state of charge is determined based on the driving time and driving power in the driving data.

13. The method according to claim 12, wherein, The evaluation index for determining the candidate state of charge based on the driving time and driving power in the driving data includes: Multiple operating modes of the vehicle are obtained, wherein different operating modes are used to characterize different cooperative relationships between the vehicle's engine and generator; Based on the driving power in the driving data, the fuel consumption corresponding to the various working modes is determined; For any given working mode, a sub-evaluation index corresponding to that working mode is determined based on the fuel consumption and the driving time. The evaluation index for the candidate state of charge is determined based on the sub-evaluation indexes corresponding to the various operating modes.

14. The method according to claim 11, wherein, The evaluation of at least one other state of charge corresponding to the other route segment, based on the driving data corresponding to the other route segment and the evaluation index of at least one previous candidate state of charge corresponding to the previous route segment, to obtain the evaluation index of the at least one candidate state of charge, includes: Based on the driving data corresponding to the other route segments, at least one candidate state of charge corresponding to the other route segments is evaluated to obtain a first index of the at least one candidate state of charge. The sum of the evaluation index of the at least one candidate state of charge and the first index of any candidate state of charge is obtained to obtain at least one second index of the candidate state of charge. The evaluation index of the candidate state of charge is obtained based on the minimum value of the at least one second index.

15. The method according to claim 10, wherein, The determination of the overall evaluation index for the multiple candidate state-of-charge trajectories based on the evaluation index of the at least one candidate state of charge includes: The total evaluation index is obtained by summing or weighted summing the evaluation indices of the at least one candidate state of charge.

16. A vehicle, wherein, include: Memory, which stores executable programs; A processor configured to run the program, wherein the program performs the following steps when it runs: The vehicle's driving route and battery information are obtained, wherein the battery information includes: the initial state of charge of the battery before the vehicle starts driving, the final state of charge of the battery after the vehicle finishes driving, and the range of state of charge variation. Based on the initial state of charge, the range of state of charge variation, and the final state of charge, the driving route is discretized to obtain a set of candidate states corresponding to multiple route segments. The set of candidate states includes at least one candidate state of charge of the battery at the end of the corresponding route segment. Based on the driving data corresponding to the multiple route segments, the candidate state set corresponding to the multiple route segments is evaluated to obtain the target state of charge trajectory of the battery, wherein the target state of charge trajectory includes the target state of charge corresponding to the multiple route segments.

17. The vehicle according to claim 16, wherein, The program performs the following steps when it runs: The driving route is discretized to obtain the multiple route segments; Discretize the range of state of charge changes to obtain multiple state of charge changes and the electrical energy corresponding to the state of charge changes. Based on the electrical energy corresponding to the change in state of charge, the initial state of charge, and the final state of charge, a set of candidate states corresponding to multiple route segments is determined.

18. The vehicle according to claim 17, wherein, The program performs the following steps when it runs: Speed ​​prediction is performed on the driving route to obtain the vehicle's speed curve; The speed curve is integrated to obtain the vehicle's mileage curve; The mileage curve is discretized to obtain the multiple route segments.

19. The vehicle according to claim 18, wherein, The program performs the following steps when it runs: Based on the vehicle's physical data, determine the wheel-end torque demand curve of the vehicle; Based on the speed curve and the wheel-end torque demand curve, the driving data corresponding to the route segment is determined, wherein the driving data includes: driving time, driving speed and driving power.

20. A computer-readable storage medium, wherein, The computer-readable storage medium includes a stored executable program, wherein, when the executable program is executed, it controls the device on which the storage medium is located to perform the method according to any one of claims 1 to 15.