Range extender control method and electronic device

By combining data from advanced driving assistance systems and navigation systems to detect congestion events, controlling the start and stop and power of the range extender, it solves the noise and emission problems of the range extender in a congested environment, extends the service life and improves energy efficiency.

CN120056960BActive Publication Date: 2025-07-22CHENGDU CELIS TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202510544694.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-04-28
Publication Date
2025-07-22
Estimated Expiration
2045-04-28

AI Technical Summary

Technical Problem

The operating strategies of existing range extenders do not take into account the impact of noise and gas emissions in congested environments, resulting in frequent start-and-stop, reducing vehicle energy efficiency and shortening service life.

Method used

By combining data from advanced driving assistance systems and navigation systems, long and short-term congestion events are detected, road congestion state is determined, and the start and stop and power of the range extender are controlled to reduce noise and emissions and extend service life.

Benefits of technology

It realizes precise control of range extenders in congested environments, reduces noise and emissions, improves occupant comfort and urban traffic environment quality, and improves vehicle energy efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120056960B_ABST
    Figure CN120056960B_ABST
Patent Text Reader

Abstract

The present application provides a range extender control method and an electronic device. The method obtains road condition data of the advanced driver assistance system in the vehicle and navigation data of the navigation system, and then, based on the road condition data and the navigation data, detects long-term congestion events and short-term congestion events in the road ahead of the vehicle, and determines the congestion state of the road ahead. According to the congestion state and the event detection results, the operation of the range extender in the vehicle is controlled to achieve range extension control based on road congestion conditions. This method can combine the advanced driver assistance system and the navigation system to accurately determine road congestion conditions, and combine the congestion state and the event detection results of long-term and short-term events to determine the specific adjustment strategy of the range extender, which can avoid frequent start-stop and high-load operation of the range extender in a congested environment, extend the service life of the range extender, and reduce the noise and emissions of the range extender.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the technical field of vehicle control, and particularly to a control method for a range extender and an electronic device. Background Art

[0002] The battery endurance problem of pure electric vehicles has become an important factor restricting their current development. As an important auxiliary power source for new energy vehicles, a range extender can convert fuel into electricity when the vehicle's battery power is insufficient, providing additional electrical energy for new energy vehicles.

[0003] However, the current operating strategy of range extenders usually only refers to the current battery level and does not take into account the impact of the noise and gas emissions generated by the start of the range extender on the interior and surrounding environment of the vehicle, especially in congested sections of urban traffic. In addition, in a congested environment, the frequent start and stop of the vehicle will cause a large amount of unnecessary energy consumption of the range extender, reduce the overall energy efficiency of the vehicle, and accelerate the wear of the range extender, shortening its service life. Summary of the Invention

[0004] In view of the above defects or deficiencies in the prior art, this application aims to provide a control method for a range extender and an electronic device to reduce the noise impact and gas emission impact generated by the range extender in a congested environment, improve the comfort of passengers, reduce the adverse impact on the surrounding environment and pedestrians, enhance the overall environmental quality of urban traffic, and moreover, improve the overall energy efficiency of the vehicle and ensure the service life of the range extender.

[0005] An embodiment of this application provides a control method for a range extender, and the method includes:

[0006] Obtain the road condition data detected by the advanced driver assistance system in the vehicle, and obtain the navigation data provided by the navigation system in the vehicle;

[0007] Based on the road condition data and the navigation data, detect long-term congestion events and short-term congestion events in the front road of the vehicle, and determine the congestion state of the front road;

[0008] Based on the congestion state and the event detection result, control the operation of the range extender in the vehicle.

[0009] Optionally, based on the road condition data and the navigation data, detecting long-term congestion events and short-term congestion events in the front road of the vehicle includes:

[0010] Based on the front road size, the number of surrounding vehicles, the speed of surrounding vehicles, the traffic light state, and road signs in the road condition data, determine whether there is a short-term congestion event in the front road;

[0011] Based on the event types marked in the navigation data and the corresponding event durations, determine whether there is a long-term congestion event on the forward road.

[0012] Optionally, based on the forward road size, the number of surrounding vehicles, the speed of surrounding vehicles, the traffic light status, and road signs in the road condition data, determine whether there is a short-term congestion event on the forward road, including:

[0013] Based on the forward road size and the number of surrounding vehicles, determine the density of surrounding vehicles and the vehicle density of each lane, and based on the speed of surrounding vehicles, determine the speed distribution of surrounding vehicles and the speed distribution of each lane;

[0014] Construct sub-vectors for each lane based on the vehicle density and speed distribution of each lane, and construct a comprehensive vector according to the sub-vectors of each lane, the density of surrounding vehicles, the speed distribution of surrounding vehicles, the traffic light status, and the road signs;

[0015] Based on the comprehensive vector and a pre-trained short-term event detection model, determine whether there is a short-term congestion event on the forward road.

[0016] Optionally, based on the comprehensive vector and a pre-trained short-term event detection model, determine whether there is a short-term congestion event on the forward road, including:

[0017] Input the comprehensive vector into the short-term event detection model to identify candidate short-term events and corresponding short-term event types in the forward road;

[0018] Based on the short-term event type, determine the predicted waiting time of the candidate short-term event, and based on the predicted waiting time and the density of surrounding vehicles, determine whether the candidate short-term event is a short-term congestion event.

[0019] Optionally, based on the road condition data and the navigation data, determine the congestion status of the forward road, including:

[0020] Based on the road condition data, determine the first predicted congestion status, and based on the navigation data, determine the second predicted congestion status;

[0021] Fuse the first predicted congestion status and the second predicted congestion status to obtain the congestion status of the forward road.

[0022] Optionally, fuse the first predicted congestion status and the second predicted congestion status to obtain the congestion status of the forward road, including:

[0023] Determine a first weight corresponding to the first predicted congestion state and a second weight corresponding to the second predicted congestion state based on the perception distance of the advanced driver assistance system and the data update frequency of the navigation system;

[0024] Fuse the first predicted congestion state and the second predicted congestion state based on the first weight and the second weight to obtain the congestion state of the road ahead.

[0025] Optionally, controlling the operation of the range extender in the vehicle based on the congestion state and the event detection result includes:

[0026] Construct a current state space corresponding to the vehicle based on the congestion state and the event detection result;

[0027] Input the current state space into a pre-trained decision agent to obtain a target control action with the maximum reward in the current state space, and control the range extender according to the target control action;

[0028] Wherein, the reward is used to evaluate the benefit of executing a control action in the current state space.

[0029] Optionally, the reward is calculated by a reward function, and the reward function includes an environmental reward sub-function;

[0030] The environmental reward sub-function is used to: give a positive reward to the control action of turning off the range extender when the input state space includes a short-term congestion event; and, when the input state space includes a long-term congestion event and the congestion state is less than or equal to a preset congestion level threshold, give a positive reward to the control action of low-power operation; and, when the input state space includes a long-term congestion event and the congestion state is greater than the preset congestion level threshold, give a positive reward to the control action of turning off the range extender; and, give a negative reward to the control action with a power greater than a preset power threshold; and, give a negative reward to the control action with the number of start-stop times greater than a preset number threshold within a set time.

[0031] Optionally, controlling the operation of the range extender in the vehicle based on the congestion state and the event detection result includes:

[0032] Obtain the remaining power of the vehicle;

[0033] Construct a current state space corresponding to the vehicle based on the remaining power, the congestion state and the event detection result;

[0034] Input the current state space into a pre-trained decision-making agent to obtain the target control action with the maximum reward in the current state space, and control the range extender according to the target control action;

[0035] Wherein, the reward is used to evaluate the benefit of executing a control action in the current state space.

[0036] Optionally, the reward function further includes a passenger comfort reward sub-function;

[0037] The passenger comfort reward sub-function is used to give a positive reward to the control action of turning off the range extender or operating at low power.

[0038] An embodiment of the present application further provides an electronic device, which includes:

[0039] A processor and a memory;

[0040] The processor is configured to execute the steps of the range extender control method provided in any embodiment of the present application by calling a program or instruction stored in the memory.

[0041] An embodiment of the present application further provides a computer-readable storage medium, which stores a program or instruction, and the program or instruction causes a computer to execute the steps of the range extender control method provided in any embodiment of the present application.

[0042] In summary, the present application proposes a range extender control method, which obtains road condition data detected by an advanced driver assistance system in a vehicle and obtains navigation data provided by a navigation system, and then detects long-term congestion events and short-term congestion events in the front road of the vehicle according to the road condition data and the navigation data, and determines the congestion state of the front road. According to the congestion state and the event detection result, the operation of the range extender in the vehicle is controlled to implement a range extension control strategy based on road congestion conditions. This method can combine the advanced driver assistance system and the navigation system to accurately determine road congestion conditions, and combine the congestion state and the event detection results of long-term and short-term events to determine the specific adjustment strategy of the range extender, which can avoid frequent start-stop and high-load operation of the range extender in a congested environment, extend the service life of the range extender, reduce the noise and emissions of the range extender, improve the comfort of occupants and the overall environmental quality of urban traffic, and can also improve the overall energy efficiency of the vehicle. Description of the Drawings

[0043] To more clearly illustrate the specific embodiments of the present application or the technical solutions in the prior art, the following will briefly introduce the accompanying drawings required for the description of the specific embodiments or the prior art. Obviously, the accompanying drawings in the following description are some embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.

[0044] Figure 1 is a flowchart of a range extender control method provided by an embodiment of the present application;

[0045] Figure 2 is a schematic structural diagram of a range extender control device provided by an embodiment of the present application;

[0046] Figure 3 is a schematic structural diagram of an electronic device provided by an embodiment of the present application. Specific Embodiments

[0047] The following will further elaborate on the present application in conjunction with the accompanying drawings and embodiments. It can be understood that the specific embodiments described herein are only used to explain the relevant invention, rather than limiting the invention. Additionally, it should be noted that for ease of description, only the parts related to the invention are shown in the accompanying drawings.

[0048] It should be noted that, without conflict, the embodiments in the present application and the features in the embodiments can be combined with each other. The following will detail the present application with reference to the accompanying drawings and embodiments.

[0049] As mentioned in the background art, in response to the problems in the prior art, the present application proposes a range extender control method. Figure 1 is a flowchart of a range extender control method provided by an embodiment of the present application. The method provided by the embodiment of the present application can be applied to range-extended electric vehicles. By analyzing the congestion situation, the operation of the range extender is controlled. This method can be executed by a range extender control device.

[0050] See Figure 1 , the range extender control method specifically includes:

[0051] S110. Obtain the road condition data detected by the advanced driver assistance system in the vehicle, and obtain the navigation data provided by the navigation system in the vehicle.

[0052] Among them, the advanced driver assistance system (Advanced Driving Assistance System, ADS) can integrate high-precision cameras and radar sensors (millimeter-wave radar, lidar, or ultrasonic radar), and can detect road condition data in real time. The road condition data can include the size of the road ahead, the number of surrounding vehicles, the speed of surrounding vehicles, the traffic light status, and road signs, etc.

[0053] Specifically, after obtaining the road condition data detected by ADS, the road condition data can be preprocessed, and the preprocessing includes at least one of sensor calibration, data cleaning, and data synchronization. Among them, sensor calibration can be the precise calibration of sensors such as cameras, millimeter-wave radars, lidar, and ultrasonic radars; data cleaning can be the removal of invalid or incorrect data to improve data quality; data synchronization can be the time synchronization of data from different sensors to ensure the consistency and accuracy of the data. For example, a sync signal generator or a global clock source (such as a GPS clock) can be used to ensure that all sensors collect data at the same moment.

[0054] Among them, the navigation system can include a built-in GPS module and a map application, and parameters such as an API (Application Programming Interface) key, request frequency, and data format can be preset to ensure that the navigation data obtained from the navigation system meets the requirements of subsequent algorithm processing.

[0055] Specifically, the navigation data can include route planning data (starting point, ending point, waypoints, and recommended routes, etc.), speed distribution of each road section, congestion status, estimated travel time, event information (traffic accidents, road construction, or temporary control, etc.), and historical data (traffic flow statistics, average speed, etc. over a past period of time).

[0056] Exemplarily, real-time data collection can be performed. For example, a timer is preset, and the API interface of the navigation system is called every set period (such as 5s) to obtain the latest navigation data, and the obtained navigation data is stored in a local database or cloud storage, and the original data is retained for subsequent analysis. In specific implementation, the frequency of obtaining navigation data can be set according to actual needs. In addition, periodic data collection can also be performed. For example, a timer is preset, and the historical data and periodically updated data of the navigation system are batch-collected every certain time, and the newly collected data is merged with the existing data to form a complete traffic information database.

[0057] In the embodiment of the present application, for the navigation data obtained from the navigation system, the navigation data can be provided by a third-party platform, and the reliability of the data is relatively high. To further ensure the accuracy of the data, the navigation data can also be preprocessed, including data cleaning, data standardization, and data synchronization.

[0058] Among them, data cleaning can include removing invalid data, that is, filtering out obviously incorrect or unreasonable data points from the navigation data, such as abnormally high speed values ( > ), negative distance (d < 0), etc. Data cleaning can also include filling in missing data, which can use linear interpolation ( , is the data filled in, 、 are two adjacent existing data points, 、 are respectively 、 corresponding detection times, can be a value randomly obtained between ~ ), and combine historical data to fill in missing time period or road section information. Data cleaning can also include deduplication processing. Since navigation data is periodically collected and read, it may cause duplicate records of data at a certain moment. Therefore, duplicate data in the navigation data can be removed to ensure the uniqueness and accuracy of the data.

[0059] Among them, data standardization can be to unify all speed units to meters per second (m / s), distance units to meters (m), time units to (s), and normalize different types of numerical features to ensure comparison on the same scale:

[0060] ;

[0061] In the formula, is the original data, 、 are respectively the maximum or minimum values corresponding to it, is the result after normalizing the original data.

[0062] Among them, data synchronization can include aligning the timestamps of navigation data with the timestamps of traffic condition data detected by ADS, avoiding misjudgment caused by time difference, and the following formula can be used to adjust the timestamps:

[0063] ;

[0064] In the formula, is the timestamp of navigation data, is the time difference compensation amount, is the adjusted timestamp.

[0065] Data synchronization can also include converting the longitude and latitude coordinates (lat, lon) in navigation data to coordinates (x, y) in the vehicle's local coordinate system, and the following geographic coordinate conversion formula can be used:

[0066] ;

[0067] In the formula, R is the radius of the earth, 、 are the longitude and latitude in the longitude and latitude coordinates respectively, and are the longitude and latitude of the reference point, 、 are the coordinates in the vehicle's local coordinate system.

[0068] S120. Based on the road condition data and navigation data, detect long-term congestion events and short-term congestion events in the vehicle's forward road, and determine the congestion status of the forward road.

[0069] Specifically, after obtaining the road condition data of the ADS and the navigation data of the navigation system, considering that the ADS can detect the traffic status within a certain range around the vehicle, therefore, it is possible to detect whether there is a short-term congestion event in the vehicle's forward road through the road condition data of the ADS, and considering that the navigation system can give the traffic conditions in a relatively far range, therefore, it is possible to detect whether there is a long-term congestion event in the vehicle's forward road through the navigation data.

[0070] Among them, long-term congestion events can refer to events that cause long-term congestion of vehicles, such as traffic accidents, road construction, temporary control, etc.; short-term congestion events can refer to events that cause short-term congestion of vehicles, such as vehicles stopping in front of traffic lights, temporary parking in commercial areas, temporary parking at school gates, queuing to enter parking garages, etc.

[0071] It should be noted that in the embodiments of the present application, the purpose of detecting long-term congestion events and short-term congestion events in the forward road is as follows: The congestion time of vehicles caused by short-term congestion events is relatively short. If the operation of the range extender is controlled only based on the congestion status, it may cause the range extender to start and stop frequently in the case of short-term congestion, thereby generating noise and emissions, affecting driving comfort and the surrounding environment. Therefore, the operation of the range extender can be controlled according to the detection results of long-term congestion events and short-term congestion events, combined with the congestion status, to achieve the purpose of precise control of the range extender.

[0072] In a specific implementation manner, based on the road condition data and navigation data, detecting long-term congestion events and short-term congestion events in the vehicle's forward road includes the following steps:

[0073] Step 11. Based on the forward road size, the number of surrounding vehicles, the speed of surrounding vehicles, the traffic light status, and road signs in the road condition data, determine whether there is a short-term congestion event in the forward road;

[0074] Step 12. Based on the event type and the corresponding event duration marked in the navigation data, determine whether there is a long-term congestion event in the forward road.

[0075] Among them, the size of the road ahead can include the regional length and width of the road ahead. The regional length can be determined by the detection range of the sensors in the ADS, and the regional width can be the road width of the currently passable lane of the vehicle. For the traffic light status, one-hot encoding can be used for processing. For example, , where:

[0076] ;

[0077] In the formula, T represents the traffic light status, , , are the red light status quantity, yellow light status quantity, and green light status quantity respectively. If it is a red light, , and the rest of the status quantities are 0; if it is a yellow light, , and the rest of the status quantities are 0; if it is a green light, , and the rest of the status quantities are 0.

[0078] Road signs can include ground arrows, speed limit signs, etc., and can be obtained by identifying signs in the sky or on the ground through the camera of the ADS. For example, , where, is the road sign, is the image of the road sign, is the recognition function, and a classification model based on deep learning can be used to implement the detection of road signs.

[0079] In step 11, whether there is a short-term congestion event in the road ahead can be detected according to the size of the road ahead, the number of surrounding vehicles, the speed of surrounding vehicles, the traffic light status, and road signs.

[0080] For the above step 11, in one example, based on the size of the road ahead, the number of surrounding vehicles, the speed of surrounding vehicles, the traffic light status, and road signs in the road condition data, determining whether there is a short-term congestion event in the road ahead includes the following steps:

[0081] Step 111: Based on the size of the road ahead and the number of surrounding vehicles, determine the density of surrounding vehicles and the vehicle density of each lane, and based on the speed of surrounding vehicles, determine the speed distribution of surrounding vehicles and the speed distribution of each lane;

[0082] Step 112: Construct sub-vectors for each lane based on the vehicle density and speed distribution of each lane, and construct a comprehensive vector according to the sub-vectors of each lane, the density of surrounding vehicles, the speed distribution of surrounding vehicles, the traffic light status, and road signs;

[0083] Step 113: Based on the comprehensive vector and a pre-trained short-term event detection model, determine whether there is a short-term congestion event in the road ahead.

[0084] Among them, in step 111, the density of surrounding vehicles can be calculated first according to the size of the road ahead and the number of surrounding vehicles. For example:

[0085] ;

[0086] In the formula, is the density of surrounding vehicles, N is the number of surrounding vehicles, S is the width of the area, L is the length of the area, represents the area of the region. Similarly, the vehicle density of each lane can also be calculated with reference to this formula.

[0087] In order to further ensure the accuracy of the density of surrounding vehicles and the vehicle density of each lane, the calculated density of surrounding vehicles and the vehicle density of each lane can also be adjusted based on the vehicle spacing in the road condition data.

[0088] In addition to determining the vehicle density, the speed distribution of surrounding vehicles and the speed distribution of each lane can also be determined according to the speed of surrounding vehicles, so as to identify whether there is a deceleration or stagnation phenomenon. Among them, the speed of surrounding vehicles can be detected by a millimeter-wave radar or determined in combination with the video stream collected by a camera. Among them, the speed distribution can include the average speed and the speed variance.

[0089] Exemplarily, a vehicle speed list can be formed first according to the speed of surrounding vehicles. For example, the vehicle speed list can be expressed as:

[0090] ;

[0091] Among them, is the speed of the i-th vehicle (m / s), and N is the number of surrounding vehicles. Based on the vehicle speed list, the average speed of surrounding vehicles and the speed variance of surrounding vehicles can be calculated to form the speed distribution of surrounding vehicles, and the average speed and speed variance of each lane can be calculated to form the speed distribution of each lane. Exemplarily, the average speed and the speed variance can be calculated respectively using the following formulas:

[0092] ;

[0093] To ensure that different features are compared on the same scale, min-max normalization (Min-Max Scaling) can be performed on numerical features:

[0094] ;

[0095] Among them, is the original feature value, , They are the minimum and maximum values of this feature respectively, which are the values after the original feature values are normalized. After normalization, the normalized values can be further standardized by Z-score: , where and are the mean and standard deviation of this feature respectively, which is the value after standardization.

[0096] For road signs, a pre-trained classification model (such as CNN) can be used to extract features, and the classification results can be converted into a numerical representation form. During specific implementation, the category index or embedding vector can be selected according to actual needs to represent the road sign category.

[0097] Among them, in step 112, the sub-vectors of each lane can be constructed first according to the vehicle density and speed distribution of each lane. For example, the lane sub-vector of the i-th lane is represented as , is the vehicle density of the i-th lane, represents the speed distribution of the i-th lane ( is the average speed, is the speed variance). And the lane sub-vectors of all lanes can be concatenated into an overall lane vector, that is, the overall lane vector .

[0098] Furthermore, an integrated vector can be composed according to the overall lane vector, the sub-vectors of each lane, the surrounding vehicle density, the surrounding vehicle speed distribution, the traffic light status, and the road signs. For example:

[0099] ;

[0100] Among them, is the integrated vector, are the normalized surrounding vehicle density, average speed, and speed variance respectively; represents the surrounding vehicle speed distribution (i.e., the vehicle speed list), is the one-hot encoding of the traffic light status, is the numerical representation form of the road sign; is the normalized lane sub-vector.

[0101] After obtaining the comprehensive vector, further, in step 113, the comprehensive vector can be input into a pre-trained short-term event detection model to determine whether there is a short-term congestion event on the road ahead, that is, whether there is a temporary traffic stop or deceleration on the road ahead due to specific reasons. Short-term congestion events include, but are not limited to, the vehicle in front stopping at a traffic light, temporary parking at the entrance of a business district, temporary parking at the entrance of a school, the vehicle in front queuing to enter a parking garage, etc.

[0102] Exemplarily, the comprehensive vector can be input into the short-term event detection model, and the short-term event detection model extracts the speed distribution feature, traffic light status, and landmark detection feature according to the comprehensive vector. Among them, the landmark detection feature L can be expressed as:

[0103] ;

[0104] Further, after the short-term event detection model extracts the above features, it can detect whether there is a short-term congestion event through the above features.

[0105] Through the above steps 111 - 113, the features of each lane can be analyzed respectively, and then combined with the features of each lane and the surrounding features, a comprehensive vector is constructed for the model to detect short-term congestion events, which can ensure the accuracy of event detection.

[0106] In the embodiment of the present application, considering that there may be a situation where a long-term congestion is caused by a near-term event, in such a case, it is not a short-term congestion event. Therefore, in order to further improve the detection accuracy of short-term congestion events, it is also possible to further determine whether the event is a short-term congestion event based on the result output by the model and in combination with the predicted waiting time of the event.

[0107] Optionally, based on the comprehensive vector and the pre-trained short-term event detection model, determining whether there is a short-term congestion event on the road ahead includes:

[0108] Input the comprehensive vector into the short-term event detection model to identify the candidate short-term event and the corresponding short-term event type on the road ahead; determine the predicted waiting time of the candidate short-term event based on the short-term event type, and determine whether the candidate short-term event is a short-term congestion event based on the predicted waiting time and the surrounding vehicle density.

[0109] Specifically, first, the comprehensive vector can be input into the short-term event detection model to obtain the detection result output by the model. If the model detects a short-term congestion event, the model can output it as a candidate short-term event and output the corresponding short-term event type. Further, the predicted waiting time of the candidate short-term event can be determined according to the short-term event type.

[0110] Exemplarily, if the short-term event type is that the vehicle in front stops at a traffic light, it is possible to first determine whether the traffic light countdown can be extracted from the road condition data detected by the ADS. If the extraction is successful, the predicted waiting time can be determined based on the traffic light countdown and the number of vehicles in front. If the extraction fails, the historical switching times of traffic lights of the same type can be collected through the cloud, and the current state of the traffic light and the corresponding switched time can be identified by the camera of the ADS. Based on the switched time corresponding to the current state and the historical switching times, the predicted waiting time can be determined. For example:

[0111] ;

[0112] Among them, is the historical switching time (i.e., the start time of the next green light), is the switched time corresponding to the current state, is the predicted waiting time for the vehicle in front to stop at the traffic light.

[0113] If the short-term event type is other events except that the vehicle in front stops at a traffic light, the average waiting time can be calculated based on the historical data of the same event type, and then the average waiting time can be adjusted according to the real-time traffic state perceived by the ADS to obtain the predicted waiting time. For example:

[0114] ;

[0115] In the formula, is the predicted waiting time, is the average waiting time, is the weight of the historical data, is the waiting time estimated according to the real-time traffic state.

[0116] After determining the predicted waiting time of the candidate short-term event according to the short-term event type, further, it is possible to determine whether the candidate short-term event is a short-term congestion event based on the predicted waiting time and the surrounding vehicle density. For example, if the predicted waiting time is less than the set time threshold and the surrounding vehicle density is less than the set density threshold, it is determined that the candidate short-term event is a short-term congestion event. For example:

[0117] If it satisfies t wait < t threshold and ρ < ρ threshold , it is determined that the candidate short-term event is a short-term congestion event, where t wait is the predicted waiting time, ρ is the surrounding vehicle density, t thresholdSet a time threshold (e.g., 60s, which can be adjusted according to actual needs). ρ threshold Set a density threshold (e.g., 0.5 vehicles / meter, which can be adjusted according to actual needs).

[0118] In the above optional implementation, the candidate short-term events and corresponding short-term event types in the front road are identified through the short-term event detection model. Then, the predicted waiting time is obtained according to the short-term event type. Combining the predicted waiting time and the density of surrounding vehicles, it is determined whether the candidate short-term event is a short-term congestion event, which further improves the detection accuracy of short-term congestion events and can avoid misidentifying events such as long-term congestion at traffic lights and long-term congestion at the entrance of commercial areas as short-term congestion events, thereby improving the accuracy of range extender control.

[0119] In addition to detecting whether there is a short-term congestion event in the front road based on the road condition data of ADS, in step 12, it is also possible to detect whether there is a long-term congestion event in the front road according to the navigation data. Specifically, based on the event type marked in the navigation data and the corresponding event duration, it is determined whether there is a long-term congestion event in the front road. Among them, for the traffic light switching time, the current state and the expected switching time of the traffic light can be directly obtained from the navigation data as the event duration. For other events, the expected waiting time can be directly obtained from the navigation data as the event duration. Of course, the event duration can also be updated according to the speed distribution information provided by the navigation system and combined with the actual driving situation.

[0120] Exemplarily, if the event type is a long-term event, such as road construction, major traffic accidents, etc., and the event duration exceeds the preset time threshold, it is determined that the front road is a long-term congestion event.

[0121] Through the above steps 11 - 12, short-term congestion events in the front road can be detected based on road condition data, and long-term congestion events in the front road can be detected based on navigation data. By combining the characteristics of small detection range and high accuracy of ADS to identify short-term congestion events, and combining the characteristics of large detection range of navigation data to identify long-term congestion events, the accuracy of event detection is ensured.

[0122] In the embodiments of the present application, in addition to detecting long-term congestion events and short-term congestion events in the front road based on road condition data and navigation data, the congestion state of the front road can also be determined based on road condition data and navigation data. Among them, the congestion state can be the degree of road congestion described in numerical form, such as the value range is [0, 1], 0 represents unobstructed, and 1 represents severe congestion.

[0123] Exemplarily, the congestion state can be calculated based on the density of surrounding vehicles, the vehicle density in each lane, the speed distribution of surrounding vehicles, and the speed distribution in each lane. Alternatively, the congestion state of the road ahead can be determined based on each feature in the comprehensive vector; as shown in the following formula:

[0124] ;

[0125] In the formula, is the congestion state determined based on road condition data, , , , , , are respectively the predicted congestion scores corresponding to vehicle density, the predicted congestion scores corresponding to vehicle speed, the predicted congestion scores corresponding to speed variance, the predicted congestion scores corresponding to traffic light status, the predicted congestion scores corresponding to road signs, and the predicted congestion scores corresponding to lane features.

[0126] Specifically, , is the weight corresponding to vehicle density, is the normalized density of surrounding vehicles; , is the weight corresponding to vehicle speed, is the standardized vehicle speed and the ratio of the maximum speed limit ; ; , is the weight corresponding to speed variance, is the normalized speed variance.

[0127] In addition, , is the weight corresponding to traffic light status, is the state quantity corresponding to traffic light status (the aforementioned traffic light status T can be converted into a value within the range of [0,1], for example, 0 represents red light, 0.5 represents yellow light, and 1 represents green light to obtain the corresponding state quantity); , is the weight corresponding to road signs, is the factor corresponding to road signs, , is a function, which can return the corresponding factor according to different road signs ; , is the weight corresponding to lane features, is the result of taking the average of vehicle density, or speed, or speed variance in the normalized lane sub-vector Li′ of all lanes.

[0128] In addition to determining the congestion status based on the road condition data of ADS, the congestion status of the road ahead can also be determined according to the navigation data. For example, according to whether there is congestion and the degree of congestion (mild congestion, moderate congestion, severe congestion) provided in the navigation data, the degree of congestion is converted into a numerical value (i.e., a value within the range of [0,1]) to obtain the congestion status. Exemplarily, the navigation data can be represented by a vector:

[0129] ;

[0130] In the formula, is the vector represented by the navigation data, are the starting point and the ending point respectively, represents the set of waypoints, is the recommended route, respectively represent the set of speed distributions of each road section, the set of congestion degrees of each road section, and the set of estimated travel times of each road section, is the traffic accident identifier (e.g., 0 represents no traffic accident, 1 represents a traffic accident), respectively represent the normalized road construction identifier (e.g., 0 represents no road construction, 1 represents road construction), the temporary control identifier (e.g., 0 represents no temporary control, 1 represents temporary control), the traffic flow statistics over a past period of time, and the average speed.

[0131] In the embodiments of the present application, in order to improve the accuracy of the congestion status, the congestion status can be determined by integrating the road condition data and the navigation data to fuse multi-source data to obtain a more accurate congestion situation.

[0132] In a specific implementation manner, based on the road condition data and the navigation data, determining the congestion status of the road ahead includes the following steps:

[0133] Step 21: Determine the first predicted congestion status based on the road condition data and determine the second predicted congestion status based on the navigation data;

[0134] Step 22: Fuse the first predicted congestion status and the second predicted congestion status to obtain the congestion status of the road ahead.

[0135] Among them, in step 21, the first predicted congestion status can be calculated according to the density of surrounding vehicles, the density of vehicles in each lane, the speed distribution of surrounding vehicles, and the speed distribution of each lane; or, the first predicted congestion status of the road ahead can be determined based on each feature in the comprehensive vector.

[0136] Moreover, according to whether there is congestion and the degree of congestion provided in the navigation data, the second predicted congestion status can be determined. For example, the degree of congestion (slight congestion, moderate congestion, severe congestion) is converted into a value within the range of [0, 1] to obtain the second predicted congestion status.

[0137] Furthermore, in step 22, the first predicted congestion status and the second predicted congestion status can be fused to obtain the congestion status of the road ahead.

[0138] Through the above steps 21 - step 22, the congestion status can be predicted respectively by the road condition data and the navigation data. Then, by fusing the prediction results of the road condition data and the navigation data, a more accurate congestion status can be obtained, which can further ensure the accuracy of the range extender control.

[0139] Among them, for the fusion of the first predicted congestion status and the second predicted congestion status, the two can be fused based on a preset weight. In the embodiments of the present application, in order to further improve the accuracy of the congestion status, the weight can also be dynamically calculated according to the real-time perception range of the ADS or the data update frequency of the navigation system, and then fused.

[0140] Regarding the above step 22, in one example, fusing the first predicted congestion status and the second predicted congestion status to obtain the congestion status of the road ahead includes the following steps:

[0141] Step 221: Determine the first weight corresponding to the first predicted congestion status and the second weight corresponding to the second predicted congestion status based on the perception distance of the advanced driver assistance system and the data update frequency of the navigation system;

[0142] Step 222: Based on the first weight and the second weight, fuse the first predicted congestion status and the second predicted congestion status to obtain the congestion status of the road ahead.

[0143] Among them, in step 221, considering that the smaller the perception distance of the ADS, the more accurate the detected data, and the more frequent the data update of the navigation system, the more accurate the detected data. Therefore, the distance allocation weight between the ADS and the navigation system can be first determined according to the perception distance of the ADS; then, according to the confidence level of the navigation system, the confidence allocation weight between the ADS and the navigation system is determined; finally, the distance allocation weight and the confidence allocation weight are fused to obtain the first weight and the second weight.

[0144] For example, the closer the perception distance of the ADS is, the greater the distance allocation weight of the ADS, and then the distance allocation weight of the navigation system is obtained. For example, when the perception distance is short (e.g., 0 - 500 meters), the distance allocation weights of the ADS and the navigation system are 0.8 and 0.2 respectively; when the perception distance is medium (e.g., 500 - 2000 meters), the distance allocation weights of the ADS and the navigation system are 0.5 and 0.5 respectively; when the perception distance is long (e.g., 2000 meters), the distance allocation weights of the ADS and the navigation system are 0.2 and 0.8 respectively.

[0145] The higher the data update frequency of the navigation system, the higher the confidence level of the navigation system, the greater the confidence allocation weight of the navigation system, and then the confidence allocation weight of the ADS is obtained. For example, when the data update frequency of the navigation system is greater than the set frequency threshold and the navigation data is accurate / road condition data is fuzzy, the confidence allocation weight of the navigation system is increased. For example, the confidence allocation weights of the ADS and the navigation system are 0.4 and 0.6 respectively; when the data update frequency of the navigation system is less than the set frequency threshold, or there are errors in the navigation data / road condition data is clear and consistent, the confidence allocation weight of the ADS is increased. For example, the confidence allocation weights of the ADS and the navigation system are 0.6 and 0.4 respectively.

[0146] After obtaining the confidence allocation weights and distance allocation weights of the ADS and the navigation system, further, the confidence allocation weight and distance allocation weight of the ADS can be fused to obtain the first weight, and the confidence allocation weight and distance allocation weight of the navigation system can be fused to obtain the second weight. It should be noted that the sum of the first weight and the second weight is 1, and the first weight and the second weight can be obtained through normalization, as shown in the following formula:

[0147] ;

[0148] ;

[0149] In the formula, 、 are the distance allocation weight and confidence allocation weight of the ADS respectively, 、 are the distance allocation weight and confidence allocation weight of the navigation system respectively. 、 are the first weight and the second weight respectively.

[0150] Further, in step 222, the first predicted congestion state and the second predicted congestion state can be fused according to the first weight and the second weight to obtain the congestion state of the road ahead. As shown in the following formula:

[0151] ;

[0152] In the formula, and are the first predicted congestion state and the second predicted congestion state (i.e., the predicted congestion state determined based on the congestion degree provided by the navigation data), respectively, is the fused congestion state, and are the first weight and the second weight, respectively.

[0153] Through the above step 221 - step 222, the congestion states obtained by the ADS and the navigation system can be fused in real time according to the sensing distance of the advanced driver assistance system and the data update frequency of the navigation system, further ensuring the accuracy of the analysis of the road congestion situation, and thus further ensuring the reliability of the range extender control.

[0154] S130. Control the operation of the range extender in the vehicle based on the congestion state and the event detection result.

[0155] Among them, the event detection result can be no event, including a short - term congestion event, including a long - term congestion event, or including a short - term congestion event and a long - term congestion event. For example, the event detection result including 1 indicates the existence of a short - term congestion event, including 0 indicates the existence of a long - term congestion event, and an empty set indicates no event.

[0156] Specifically, after obtaining the congestion state and the event detection result, a control instruction for the range extender can be generated according to the event detection result and the congestion state, so as to control the operation of the range extender. Among them, the control instruction can be a signal for controlling the start and stop of the range extender (such as ADS_REStartStop, 0 means off, 1 means on), or a signal for adjusting the power of the range extender (such as ADS_REPowerAdjust, the value range is 0~1, representing the power percentage).

[0157] Exemplarily, in the case where the event detection result includes a short - term congestion event, the range extender can be controlled to turn off; in the case where the event detection result includes a long - term congestion event, if the congestion state is less than or equal to the preset congestion level threshold, the range extender can be controlled to operate at a low power to minimize the impact of noise and emissions on the surrounding environment, and if the congestion state is greater than the preset congestion level threshold, the range extender can be controlled to turn off to minimize the impact of noise and emissions to the greatest extent.

[0158] In the embodiment of the present application, the intelligent agent can also be pre - trained through a reward function. The congestion state and the event detection result are input into the intelligent agent, and the corresponding control strategy is output through the intelligent agent. Among them, the intelligent agent can be understood as a decision - making model obtained through reinforcement learning.

[0159] In a specific implementation, based on the congestion state and the event detection result, controlling the operation of the range extender in the vehicle includes:

[0160] Based on the congestion state and the event detection result, constructing the current state space corresponding to the vehicle; inputting the current state space into a pre-trained decision-making agent to obtain the target control action with the maximum reward in the current state space, and controlling the range extender according to the target control action.

[0161] Among them, the reward is used to evaluate the benefit of executing the control action in the current state space; the control action can include the on / off control action of the range extender and the power control action when the range extender is turned on.

[0162] In an example, the reward is calculated by a reward function, and the reward function includes an environmental reward sub-function; the environmental reward sub-function is used for: giving a positive reward to the control action of turning off the range extender when the input state space contains a short-term congestion event; and, when the input state space contains a long-term congestion event and the congestion state is less than or equal to a preset congestion level threshold, giving a positive reward to the control action of running at a low power (the range extender is turned on); and, when the input state space contains a long-term congestion event and the congestion state is greater than the preset congestion level threshold, giving a positive reward to the control action of turning off the range extender; and, giving a negative reward to the control action with a power greater than a preset power threshold (the range extender is turned on); and, giving a negative reward to the control action with the number of start / stop times greater than a preset number threshold within a set time.

[0163] Specifically, a sample state space and a reward function can be pre-constructed, and the reward function is used to evaluate the quality of executing each control action in the input state space. In order to minimize the emissions and noise of the range extender under congestion conditions, the reward function can include an environmental reward sub-function. By inputting the sample state space into the agent, the agent then calculates the rewards corresponding to each control action according to the reward function and adjusts its internal parameters, repeating this process until the iteration stop condition is reached to complete the training of the decision-making agent.

[0164] Among them, the environmental reward sub-function can encourage the agent to turn off the range extender under short-term congestion events; for example, giving a positive reward when the range extender is turned off under short-term congestion events :

[0165] ;

[0166] In the formula, is the weight coefficient, controlling the intensity of this reward term, is the start / stop signal of the range extender, which can be a binary variable (0 means off, 1 means on); Positive reward obtained through calculation when the range extender is turned off in the presence of short-term congestion events.

[0167] The environmental reward sub-function can also encourage the agent to control the range extender in combination with the congestion level during long-term congestion events. For example, during long-term congestion events and when the congestion state is less than or equal to the preset congestion level threshold, the agent is encouraged to keep the range extender running at low power, and a positive reward is given for the low-power operation of the range extender. :

[0168] ;

[0169] In the formula, is the weight coefficient, controlling the strength of this reward item, is the power adjustment signal of the range extender, with a range of [0, 1]; is the positive reward obtained through calculation when the range extender runs at low power in the presence of long-term congestion events and the congestion state does not exceed the preset congestion level threshold.

[0170] The environmental reward sub-function can also encourage the agent to turn off the range extender when the congestion state is greater than the preset congestion level threshold during long-term congestion events, and a positive reward is given for turning off the range extender. :

[0171] ;

[0172] In the formula, is the weight coefficient, controlling the strength of this reward item, is the power adjustment signal of the range extender, with a range of [0, 1]; is the positive reward obtained through calculation when the range extender is turned off in the presence of long-term congestion events and the congestion state is greater than the preset congestion level threshold.

[0173] The environmental reward sub-function can also punish the agent for frequently starting and stopping the range extender, or punish the range extender for running at too high a power. For example, a negative reward is given for control actions with the number of start-stop times greater than the preset number threshold within a set time. and a negative reward is given for control actions with a power greater than the preset power threshold. :

[0174] ;

[0175] ;

[0176] In the formula, , are the weight coefficients, controlling the strengths of the start-stop times reward item and the power reward item respectively; is the signal for starting or stopping the range extender at time t, is the signal for starting or stopping the range extender at time t - 1, and T is the number of detection cycles included in the set time, which can reflect the number of start / stop times of the range extender within the set time; is the power adjustment signal of the range extender, with a range of [0, 1], is the preset power threshold, with a range of [0, 1], which can reflect the degree to which the operating power of the range extender exceeds the preset power threshold; is the negative reward calculated if the number of start / stop times within the set time is greater than the preset number threshold, is the negative reward calculated if the operating power of the range extender is greater than the preset power threshold.

[0177] By adding up each reward item of the above environmental reward sub - function (which can be combined with preset weights), the environmental reward can be obtained. Furthermore, the decision - making agent can adjust its internal parameters based on the rewards corresponding to each control action to find the control action that can optimize the environmental reward in each state space and complete the learning. In other words, the learning and training process of the decision - making agent is a process of obtaining higher rewards in the action space.

[0178] After the decision - making agent has completed training, it can use the congestion state and event detection results as the current state space and input them into the decision - making agent to obtain the target control action that can optimize the reward in this current state space, such as turning off the range extender, starting the range extender, adjusting the operating power of the range extender, etc., so as to control the range extender according to the target control action.

[0179] The decision - making agent trained through the environmental reward sub - function determines the control strategy of the range extender, which can try to keep the range extender off during short - term congestion events. During long - term congestion events, if the severity of congestion is high, it can try to keep the range extender off; if the severity of congestion is low, it can try to keep the range extender running at a low power. Moreover, it can also try to avoid the range extender running at too high a power and frequent start / stop, and can greatly reduce the vibration, emissions, and noise caused by the operation of the range extender in a congested environment, improve the comfort of the occupants, and reduce the impact on the environment.

[0180] In the embodiment of the present application, in addition to controlling the range extender according to the congestion situation of the environment, in order to ensure the stable driving of the vehicle, the control strategy of the range extender can also be determined according to the remaining power of the battery pack.

[0181] In a specific implementation manner, based on the congestion state and event detection results, controlling the operation of the range extender in the vehicle includes:

[0182] Obtain the remaining power of the vehicle; based on the remaining power, congestion status, and event detection results, construct the current state space corresponding to the vehicle;

[0183] Input the current state space into a pre-trained decision-making agent to obtain the target control action with the maximum reward in the current state space, and control the range extender according to the target control action; wherein, the reward is used to evaluate the benefit of executing the control action in the current state space;

[0184] In the above implementation, a current state space including the remaining power, congestion status, and event detection results can be constructed, so that the input of the decision-making agent includes not only the congestion status and event detection results, but also the remaining power of the vehicle. Further, input it into the decision-making agent to obtain the target control action with the maximum reward in the current state space.

[0185] Among them, the reward function can include, in addition to the environmental reward sub-function, an electricity management reward sub-function. Correspondingly, the reward function required for training the decision-making agent can include, in addition to the environmental reward sub-function, an electricity management reward sub-function.

[0186] During the process of training the agent, by inputting the sample state space into the agent, the agent calculates the rewards corresponding to each control action according to the reward function (including electricity management reward and environmental management reward), and adjusts the internal parameters according to the rewards. Repeat this process until the iteration stop condition is reached to complete the training of the decision-making agent.

[0187] Among them, the electricity management reward sub-function is used to: give a positive reward to the control action of starting the range extender when the remaining power in the input state space is lower than the preset power threshold; and, give a positive reward to the control action of turning off the range extender or running at low power when the remaining power in the input state space is greater than or equal to the preset power threshold.

[0188] Specifically, the electricity management reward sub-function can encourage the agent to keep the range extender turned off or running at low power when the remaining power is sufficient. For example, when the remaining power is greater than or equal to the preset power threshold, give a positive reward to the range extender being turned off or running at low power. The size of this reward can be positively correlated with the size of the remaining power. The greater the gap between the remaining power and the preset power threshold, the greater the reward.

[0189] The electricity management reward sub-function can also encourage the agent to start the range extender to supplement electricity when the remaining power is insufficient. For example, when the remaining power is lower than the preset power threshold, give a negative reward and a positive reward to starting the range extender. The size of this reward can be positively correlated with the size of the remaining power. The greater the gap between the preset power threshold and the remaining power, the greater the reward.

[0190] Add the above environmental reward and the power management reward (which can be combined with a preset weight). Then, the decision-making agent can adjust its internal parameters based on the rewards corresponding to each control action to find the control actions that can optimize the environmental reward in each state space and complete the learning.

[0191] After the training of the decision-making agent is completed, the congestion state, the event detection result, and the remaining power can be used as the current state space and input into the decision-making agent to obtain the target control actions that can optimize the reward in this current state space, so as to control the range extender according to the target control actions.

[0192] The decision-making agent trained through the environmental reward sub-function and the power management reward sub-function determines the control strategy of the range extender and can also try to start the range extender when the power is insufficient and keep it running at a low power or turn it off when the power is sufficient, so as to ensure that the vehicle has sufficient energy as much as possible.

[0193] In the embodiments of the present application, in addition to the environmental reward and the power management reward, a passenger comfort reward can also be set to improve the comfort of the occupants.

[0194] Optionally, the reward function further includes a passenger comfort reward sub-function; the passenger comfort reward sub-function is used to: give a positive reward to the control actions of turning off the range extender or running at a low power.

[0195] Specifically, the passenger comfort reward sub-function can encourage the agent to try to keep the range extender turned off or running at a low power. For example, give a positive reward when the range extender is turned off or running at a low power. :

[0196] ;

[0197] In the formula, is the weight coefficient, which controls the intensity of this reward term. is the power adjustment signal of the range extender, and the range is [0, 1]; is the positive reward calculated if the range extender is turned off or running at a low power.

[0198] Add the above-mentioned various rewards (which can be combined with a preset weight). Then, the decision-making agent can adjust its internal parameters based on the rewards corresponding to each control action to find the control actions that can optimize the environmental reward in each state space and complete the learning. After the training of the decision-making agent is completed, the current state space can be input into the decision-making agent to obtain the target control actions that can optimize the reward in this current state space, so as to control the range extender according to the target control actions.

[0199] The decision-making intelligent agent trained by the environmental reward sub-function and the passenger comfort reward sub-function determines the control strategy of the range extender and can also keep the range extender off or running at a low power as much as possible to reduce vibration and noise and improve passenger comfort.

[0200] In the embodiment of the present application, by setting the above reward functions, the intelligent agent can learn how to select the optimal control actions in different state spaces. For example, when the battery power is sufficient, the intelligent agent will preferentially choose to turn off or run the range extender at a low power to reduce noise and emissions; when the battery power is insufficient, the intelligent agent will start the range extender in time to supplement the power to ensure the endurance; when there are long-term congestion events and light to moderate congestion, the intelligent agent will keep running at a low power, and when there are long-term congestion events and severe congestion, it will turn off the range extender. The intelligent agent will also try to avoid frequent start-stop of the range extender or setting too high a power to improve passenger comfort and extend the service life of the device. The design of these reward functions ensures that the intelligent agent can make reasonable decisions in a complex and changeable driving environment, thereby achieving the best use effect of the range extender.

[0201] The range extender control method provided by the embodiment of the present application obtains the road condition data detected by the advanced driver assistance system in the vehicle and obtains the navigation data provided by the navigation system. Then, according to the road condition data and the navigation data, it detects long-term congestion events and short-term congestion events in the front road of the vehicle, and determines the congestion state of the front road. According to the congestion state and the event detection results, it controls the operation of the range extender in the vehicle to implement a range extension control strategy based on the road congestion situation. This method can combine the advanced driver assistance system and the navigation system to accurately determine the road congestion situation, and combine the congestion state and the event detection results of long-term and short-term events to determine the specific adjustment strategy of the range extender. It can avoid frequent start-stop and high-load operation of the range extender in a congested environment, extend the service life of the range extender, reduce the noise and emissions of the range extender, improve the comfort of passengers and the overall environmental quality of urban traffic, and can also improve the overall energy efficiency of the vehicle and achieve the optimization of energy consumption and emissions.

[0202] Figure 2 It is a schematic structural diagram of a range extender control device provided by the embodiment of the present application. The device includes a data acquisition module 210, a congestion determination module 220, and a control module 230, where:

[0203] The data acquisition module 210 is configured to acquire the road condition data detected by the advanced driver assistance system in the vehicle and acquire the navigation data provided by the navigation system in the vehicle;

[0204] The congestion determination module 220 is configured to detect long-term congestion events and short-term congestion events in the front road of the vehicle based on the road condition data and the navigation data, and determine the congestion state of the front road;

[0205] A control module 230, configured to control the operation of a range extender in the vehicle based on the congestion status and the event detection result.

[0206] Based on the above embodiments, optionally, the congestion determination module 220 includes a short-term event detection unit and a long-term event detection unit, where:

[0207] The short-term event detection unit is configured to determine whether there is a short-term congestion event in the forward road based on the forward road size, the number of surrounding vehicles, the speed of surrounding vehicles, the traffic light status, and road signs in the road condition data;

[0208] The long-term event detection unit is configured to determine whether there is a long-term congestion event in the forward road based on the event type marked in the navigation data and the corresponding event duration.

[0209] Based on the above embodiments, optionally, the short-term event detection unit is specifically configured to:

[0210] Based on the forward road size and the number of surrounding vehicles, determine the density of surrounding vehicles and the vehicle density of each lane, and based on the speed of surrounding vehicles, determine the speed distribution of surrounding vehicles and the speed distribution of each lane; construct a sub-vector for each lane based on the vehicle density and speed distribution of each lane, and construct a comprehensive vector according to the sub-vectors of each lane, the density of surrounding vehicles, the speed distribution of surrounding vehicles, the traffic light status, and road signs; determine whether there is a short-term congestion event in the forward road based on the comprehensive vector and a pre-trained short-term event detection model.

[0211] Based on the above embodiments, optionally, the short-term event detection unit is further configured to input the comprehensive vector into the short-term event detection model to identify candidate short-term events in the forward road and the corresponding short-term event types; determine the predicted waiting time of the candidate short-term event based on the short-term event type, and determine whether the candidate short-term event is a short-term congestion event based on the predicted waiting time and the density of surrounding vehicles.

[0212] Based on the above embodiments, optionally, the congestion determination module 220 includes a state analysis unit, and the state analysis unit is configured to determine a first predicted congestion state based on the road condition data and determine a second predicted congestion state based on the navigation data; fuse the first predicted congestion state and the second predicted congestion state to obtain the congestion state of the forward road.

[0213] Based on the above embodiments, optionally, the status analysis unit is further configured to determine a first weight corresponding to the first predicted congestion status and a second weight corresponding to the second predicted congestion status based on the perception distance of the advanced driver assistance system and the data update frequency of the navigation system; and fuse the first predicted congestion status and the second predicted congestion status based on the first weight and the second weight to obtain the congestion status of the road ahead.

[0214] Based on the above embodiments, optionally, the control module 230 is specifically configured to construct a current state space corresponding to the vehicle based on the congestion status and the event detection result; input the current state space into a pre-trained decision agent to obtain a target control action with the maximum reward in the current state space, and control the range extender according to the target control action; wherein the reward is used to evaluate the benefit of executing the control action in the current state space.

[0215] Based on the above embodiments, optionally, the reward is calculated by a reward function, and the reward function includes an environmental reward sub-function; the environmental reward sub-function is configured to: give a positive reward to the control action of turning off the range extender when the input state space includes a short-term congestion event; and, give a positive reward to the control action of running at low power when the input state space includes a long-term congestion event and the congestion status is less than or equal to a preset congestion level threshold; and, give a positive reward to the control action of turning off the range extender when the input state space includes a long-term congestion event and the congestion status is greater than the preset congestion level threshold; and, give a negative reward to the control action with a power greater than a preset power threshold; and, give a negative reward to the control action with the number of start-stop times greater than a preset number threshold within a set time.

[0216] Based on the above embodiments, optionally, the control module 230 is specifically configured to obtain the remaining power of the vehicle; construct a current state space corresponding to the vehicle based on the remaining power, the congestion status, and the event detection result; input the current state space into a pre-trained decision agent to obtain a target control action with the maximum reward in the current state space, and control the range extender according to the target control action; wherein the reward is used to evaluate the benefit of executing the control action in the current state space.

[0217] Based on the above embodiments, optionally, the reward function further includes a passenger comfort reward sub-function; the passenger comfort reward sub-function is configured to: give a positive reward to the control action of turning off the range extender or running at low power.

[0218] The battery balancing device provided by the embodiments of the present application can execute the steps in the range extender control method provided by the method embodiments of the present application, and the implementation steps and beneficial effects are not elaborated here.

[0219] Figure 3 It is a schematic structural diagram of an electronic device provided by the embodiments of the present application. As Figure 3 shown, the electronic device 400 includes one or more processors 401 and a memory 402.

[0220] The processor 401 can be a central processing unit (CPU) or other forms of processing units with data processing capabilities and / or instruction execution capabilities, and can control other components in the electronic device 400 to perform desired functions.

[0221] The memory 402 can include one or more computer program products, and the computer program products can include various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. The volatile memory can include, for example, random access memory (RAM) and / or cache memory, etc. The non-volatile memory can include, for example, read-only memory (ROM), hard disk, flash memory, etc. One or more computer program instructions can be stored on the computer-readable storage medium, and the processor 401 can run the program instructions to implement the range extender control method of any embodiment of the present application described above and / or other desired functions. Various contents such as initial external parameters and thresholds can also be stored in the computer-readable storage medium.

[0222] In one example, the electronic device 400 may further include: an input device 403 and an output device 404, and these components are interconnected through a bus system and / or other forms of connection mechanisms (not shown). The input device 403 can include, for example, a keyboard, a mouse, etc. The output device 404 can output various information to the outside, including warning prompt information, braking force, etc. The output device 404 can include, for example, a display, a speaker, a printer, and a communication network and its connected remote output devices, etc.

[0223] Of course, for simplicity, Figure 3 only some of the components related to the present application in the electronic device 400 are shown, and components such as buses, input / output interfaces, etc. are omitted. In addition, according to specific application scenarios, the electronic device 400 may further include any other appropriate components.

[0224] In addition to the above methods and devices, an embodiment of the present application may also be a computer program product, which includes computer program instructions that, when run by a processor, cause the processor to execute the steps of the range extender control method provided by any embodiment of the present application.

[0225] The computer program product can be written in any combination of one or more programming languages for programming code to perform the operations of the embodiments of the present application. The programming languages include object-oriented programming languages such as Java, C++, etc., and also include conventional procedural programming languages such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computing device, partially on the user's device, executed as an independent software package, partially on the user's computing device and partially on a remote computing device, or entirely on a remote computing device or server.

[0226] In addition, an embodiment of the present application may also be a computer-readable storage medium, on which computer program instructions are stored, and when the computer program instructions are run by a processor, the processor is caused to execute the steps of the range extender control method provided by any embodiment of the present application.

[0227] The computer-readable storage medium may adopt any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may, for example, include but is not limited to an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.

[0228] It should be noted that the terms used in the present application are only for describing specific embodiments and do not limit the scope of the present application. As shown in the specification and claims of the present application, unless the context clearly indicates an exception, words such as "a", "an", "one", and / or "the" do not specifically refer to the singular and may also include the plural. The term "comprising", "including", or any other variant thereof is intended to cover non-exclusive inclusion, such that a process, method, or device including a series of elements not only includes those elements but also includes other elements not explicitly listed, or further includes elements inherent to such a process, method, or device. Without further limitation, an element defined by the statement "including a..." does not exclude the existence of additional identical elements in the process, method, or device including the element.

[0229] It should also be noted that the orientation or positional relationship indicated by terms such as "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc. is based on the orientation or positional relationship shown in the drawings. It is only for the convenience of describing the present application and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation. Therefore, it should not be construed as a limitation to the present application. Unless otherwise clearly specified and defined, terms such as "installed", "connected", "coupled" should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection, an electrical connection; it can be directly connected, or indirectly connected through an intermediate medium, and it can be the communication inside two elements. For those of ordinary skill in the art, the specific meanings of the above terms in the present application can be understood according to specific situations.

[0230] In this article, specific examples are used to elaborate on the principles and implementation manners of the present application. The description of the above embodiments is only for helping to understand the method and its core idea of the present application. The above is only the preferred implementation manner of the present application. It should be noted that due to the limitation of literal expression and objectively there are infinite specific structures, for those of ordinary skill in the art, without departing from the principle of the present application, several improvements, refinements or changes can also be made, or the above technical features can be combined in an appropriate manner; these improvements, refinements, changes or combinations, or directly applying the inventive concept and technical solution to other occasions without improvement, should all be regarded as the protection scope of the present application.

Claims

1. A range extender control method, characterized in that, Including: Obtain the road condition data detected by the advanced driver assistance system in the vehicle, and obtain the navigation data provided by the navigation system in the vehicle; Based on the road condition data and the navigation data, detect long-term congestion events and short-term congestion events in the front road of the vehicle, and determine the congestion status of the front road; Based on the congestion status and the event detection result, control the operation of the range extender in the vehicle; Wherein, when the event detection result includes a short-term congestion event, control the range extender to turn off; When the event detection result includes a long-term congestion event, if the congestion status is less than or equal to the preset congestion level threshold, control the range extender to operate at low power, and if the congestion status is greater than the preset congestion level threshold, control the range extender to turn off.

2. The range extender control method according to claim 1, characterized in that Based on the road condition data and the navigation data, detecting long-term congestion events and short-term congestion events in the front road of the vehicle includes: Based on the front road size, the number of surrounding vehicles, the speed of surrounding vehicles, the traffic light status, and road signs in the road condition data, determine whether there is a short-term congestion event in the front road; Based on the event type and the corresponding event duration marked in the navigation data, determine whether there is a long-term congestion event in the front road.

3. The range extender control method according to claim 2, wherein Based on the front road size, the number of surrounding vehicles, the speed of surrounding vehicles, the traffic light status, and road signs in the road condition data, determining whether there is a short-term congestion event in the front road includes: Based on the front road size and the number of surrounding vehicles, determine the density of surrounding vehicles and the vehicle density of each lane, and based on the speed of surrounding vehicles, determine the speed distribution of surrounding vehicles and the speed distribution of each lane; Construct sub-vectors for each lane based on the vehicle density and speed distribution of each lane, and construct a comprehensive vector according to the sub-vectors of each lane, the density of surrounding vehicles, the speed distribution of surrounding vehicles, the traffic light status, and road signs; Based on the comprehensive vector and a pre-trained short-term event detection model, determine whether there is a short-term congestion event in the front road.

4. The range extender control method according to claim 3, characterized in that Based on the comprehensive vector and a pre-trained short-term event detection model, determining whether there is a short-term congestion event in the front road includes: Input the comprehensive vector into the short-term event detection model to identify candidate short-term events and corresponding short-term event types in the front road; Based on the short-term event type, determine the predicted waiting time of the candidate short-term event, and based on the predicted waiting time and the density of surrounding vehicles, determine whether the candidate short-term event is a short-term congestion event.

5. The range extender control method according to claim 1, wherein Based on the road condition data and the navigation data, determining the congestion status of the front road includes: Determine a first predicted congestion status based on the road condition data, and determine a second predicted congestion status based on the navigation data; Fuse the first predicted congestion status and the second predicted congestion status to obtain the congestion status of the front road.

6. The range extender control method according to claim 5, wherein Fusing the first predicted congestion status and the second predicted congestion status to obtain the congestion status of the front road includes: Determine a first weight corresponding to the first predicted congestion state and a second weight corresponding to the second predicted congestion state based on the perception distance of the advanced driver assistance system and the data update frequency of the navigation system; Fuse the first predicted congestion state and the second predicted congestion state based on the first weight and the second weight to obtain the congestion state of the road ahead.

7. The range extender control method according to claim 1, characterized in that Control the operation of the range extender in the vehicle based on the congestion state and the event detection result, including: Construct a current state space corresponding to the vehicle based on the congestion state and the event detection result; Input the current state space into a pre-trained decision agent to obtain a target control action with the maximum reward in the current state space, and control the range extender according to the target control action; Wherein, the reward is used to evaluate the benefit of executing the control action in the current state space.

8. The range extender control method according to claim 7, characterized in that, The reward is calculated by a reward function, and the reward function includes an environmental reward sub-function; The environmental reward sub-function is used to: give a positive reward to the control action of turning off the range extender when the input state space includes a short-term congestion event; and, give a positive reward to the control action of low-power operation when the input state space includes a long-term congestion event and the congestion state is less than or equal to a preset congestion level threshold; and, give a positive reward to the control action of turning off the range extender when the input state space includes a long-term congestion event and the congestion state is greater than the preset congestion level threshold; And, give a negative reward to the control action with a power greater than a preset power threshold; and, give a negative reward to the control action with the number of start-stop times greater than a preset number threshold within a set time.

9. The range extender control method according to claim 1, characterized in that Control the operation of the range extender in the vehicle based on the congestion state and the event detection result, including: Obtain the remaining power of the vehicle; Construct a current state space corresponding to the vehicle based on the remaining power, the congestion state and the event detection result; Input the current state space into a pre-trained decision agent to obtain a target control action with the maximum reward in the current state space, and control the range extender according to the target control action; Wherein, the reward is used to evaluate the benefit of executing the control action in the current state space.

10. The range extender control method according to claim 7, wherein The reward function further includes a passenger comfort reward sub-function; The passenger comfort reward sub-function is used to: give a positive reward to the control action of turning off the range extender or low-power operation.

11. An electronic device, characterized in that, The electronic device includes: A processor and a memory; The processor is used to execute the steps of the range extender control method according to any one of claims 1 to 10 by calling the program or instruction stored in the memory.

Citation Information

Patent Citations

  • Intelligent traffic system

    CN108922187A

  • Control method and device of range extender and range-extended electric vehicle

    CN114683876A

  • Range-extending type automobile power generation optimization method and related equipment

    CN119858539A