Method, apparatus, vehicle and storage medium for controlling a vehicle
By collecting environmental data and driver status information in real time, the intelligent driving algorithm parameters are adjusted to match the driver's driving style, solving the problem of fixed intelligent driving algorithm parameters and improving the personalized assisted driving experience.
Patent Information
- Application Number
- CN202510535194.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-25
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2045-04-25
AI Technical Summary
In existing technologies, the parameters of intelligent driving algorithms are fixed and matched with the driver's driving style, which lacks flexibility and results in insufficient personalized intelligent driving experience.
By collecting environmental data and driver status information in real time through a pre-trained assisted driving model, the target driving style is determined, and the parameters of the intelligent driving algorithm are adjusted to adapt to different scenarios and states of the driver, thereby achieving personalized assisted driving.
It improves the personalized assisted driving experience for drivers in different scenarios and states, and enhances the adaptability of the intelligent driving domain controller.
Smart Images

Figure CN120396985B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of driver assistance technology, and more specifically, to a method, apparatus, vehicle, and storage medium for controlling a vehicle. Background Technology
[0002] Personalized intelligent driving experience is one of the important research directions in the field of intelligent driving. Its core lies in the precise matching of the driver's driving style and vehicle driving control.
[0003] In related technologies, vehicles collect behavioral data of the driver during manual driving, such as operation signals to the brake pedal, drive pedal, steering wheel, and gear shift lever. Based on the above behavioral data, the driver's driving style is determined. During intelligent assisted driving, the parameters in the intelligent driving algorithm are set to match the driver's driving style, and then the vehicle is controlled to drive according to the parameters that match the driving style.
[0004] In the aforementioned personalized intelligent driving process, the parameters of the intelligent driving algorithm are fixed values that match the driver's driving style, which is not flexible enough. Summary of the Invention
[0005] This application provides a method, apparatus, vehicle, and storage medium for controlling a vehicle.
[0006] In a first aspect, embodiments of this application provide a method for controlling a vehicle, comprising: determining a target driving style of the vehicle's driver during vehicle operation; processing the target driving style, real-time collected vehicle environmental data, and real-time collected driver state information using a pre-trained assisted driving model to obtain a target control signal; acquiring an actual control signal output by the vehicle's intelligent driving domain controller based on the target intelligent driving algorithm; adjusting at least one parameter of the target intelligent driving algorithm based on the actual control signal and the target control signal; and controlling the vehicle's operation according to the adjusted parameters.
[0007] Secondly, embodiments of this application provide a device for controlling a vehicle, comprising: a style determination module for determining the target driving style of the vehicle's driver during vehicle operation; a first acquisition module for processing the target driving style, real-time collected vehicle environmental data, and real-time collected driver state information through a pre-trained assisted driving model to obtain a target control signal; a second acquisition module for acquiring the actual control signal output by the vehicle's intelligent driving domain controller based on the target intelligent driving algorithm; a parameter adjustment module for adjusting at least one parameter of the target intelligent driving algorithm based on the actual control signal and the target control signal; and a vehicle control module for controlling the vehicle's operation according to the adjusted parameters.
[0008] Thirdly, embodiments of this application provide a vehicle, including: a memory; one or more processors coupled to the memory; and one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, and the one or more applications are configured to perform the method as described in the first aspect.
[0009] Fourthly, embodiments of this application provide a computer-readable storage medium storing computer program instructions that can be invoked by a processor to execute the method described in the first aspect.
[0010] Fifthly, embodiments of this application provide a computer program product that, when executed, is used to implement the method described in the first aspect.
[0011] Compared to the technical solutions provided by related technologies, the technical solution provided in this application first determines the driver's driving style during vehicle operation. Then, based on real-time collected vehicle environmental data, driver state information, and the determined driving style, a target control signal is determined. At least one parameter of the intelligent driving algorithm is adjusted according to the target control signal and the actual control signal output by the intelligent driving algorithm. The vehicle is then controlled according to the adjusted parameters. In this way, the intelligent driving domain controller can adapt the vehicle control to the driver's driving style in different scenarios and states, thereby improving the driver's personalized assisted driving experience. Attached Figure Description
[0012] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0013] Figure 1 This is a schematic diagram of an implementation environment provided in one embodiment of this application.
[0014] Figure 2 This is a flowchart of a method for controlling a vehicle provided in one embodiment of this application.
[0015] Figure 3 This is a flowchart of a method for controlling a vehicle provided in another embodiment of this application.
[0016] Figure 4 This is a flowchart of the training process of a driving style recognition model provided in one embodiment of this application.
[0017] Figure 5This is a flowchart of the training process of an assisted driving model provided in one embodiment of this application.
[0018] Figure 6 This is a flowchart of a vehicle control device provided in one embodiment of this application.
[0019] Figure 7 This is a structural block diagram of a vehicle provided in one embodiment of this application. Detailed Implementation
[0020] The embodiments of this application are described in detail below. Examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain this application, and should not be construed as limiting this application.
[0021] To enable those skilled in the art to better understand the solutions of this application, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of them. All other embodiments obtained by those skilled in the art based on the embodiments of this application without creative effort are within the scope of protection of this application.
[0022] Please see Figure 1 This diagram illustrates an implementation environment according to one embodiment of the present application. The implementation environment includes a vehicle 100, which includes a driving domain controller and an adaptive controller.
[0023] In this embodiment, vehicle 100 includes a pre-trained driving style recognition model and a driver assistance model. The driving style recognition model is used to identify the driving style of the driver of vehicle 100. The driver assistance model is used to determine a target control signal based on the driving style, environmental data of vehicle 100, and driver state information. The driving style recognition model can be trained locally on vehicle 100 or trained in the cloud and then deployed to vehicle 100. The driver assistance model can also be trained locally on vehicle 100 or trained in the cloud and then deployed to vehicle 100. In this embodiment, only an example is given where both the driving style recognition model and the driver assistance model are trained in the cloud and then deployed to vehicle 100.
[0024] In this embodiment of the application, the vehicle 100 adjusts at least one parameter of the intelligent driving algorithm based on the target control signal and the control signal output by the intelligent driving domain controller. Then, the intelligent driving domain controller controls the vehicle to drive according to the adjusted parameters. In this way, the intelligent driving domain controller can adapt the vehicle control to the driver's driving style in different scenarios and states, thereby improving the driver's personalized assisted driving experience.
[0025] At least one parameter of the intelligent driving algorithm includes, but is not limited to: lateral and longitudinal chassis control calibration parameters, active lane change triggering conditions, maximum execution time of a single lane change, minimum safe collision threshold, maximum driving speed, etc.
[0026] In some embodiments, the vehicle 100 includes an environmental perception system for collecting environmental data of the vehicle 100. This environmental data includes, but is not limited to: road information of the current route traveled by the vehicle 100 (e.g., road boundaries, road width, number of lanes), obstacle information around the vehicle 100 (e.g., obstacle shape, speed, relative position to the vehicle 100, etc.), periodic traffic information of the vehicle 100 (e.g., traffic light status, road speed limit information), traffic flow on the current route traveled by the vehicle 100, etc. The environmental perception system includes an image acquisition device and radar. The image acquisition device may be a surround-view camera mounted on the roof of the vehicle 100. The radar may include lidar, millimeter-wave radar, ultrasonic radar, etc.
[0027] In some embodiments, the vehicle 100 includes a state acquisition device for determining the driver's state information, which may include a normal state, a fatigued state, a tense state, a distracted state, etc. Optionally, the state acquisition device includes a camera installed inside the vehicle 100, which can capture the driver's facial image. By analyzing the eye area in the facial image, the driver's state information can be determined. For example, if the driver is frequently blinking, it can be determined that the driver is fatigued; or if the driver's pupils are dilated, it can be determined that the driver is tense.
[0028] Please see Figure 2 The diagram illustrates a flowchart of a method for controlling a vehicle according to an embodiment of this application, the method comprising the following procedures.
[0029] S201 determines the driver's target driving style during vehicle operation.
[0030] A driver's driving style is derived by clustering driver behavior data related to the vehicle. For example, a driver's driving style can be categorized as normal, cautious, aggressive, agile, or comfortable. The target driving style is any one of these. Drivers typically exhibit significantly different vehicle control strategies depending on their driving style. For instance, in congested traffic, an aggressive driver is more likely to frequently change lanes and weave in and out of other vehicles, while a cautious driver is more likely to follow other vehicles closely. Therefore, when using intelligent driving algorithms to control the vehicle, it is necessary to first determine the driver's driving style and then adjust at least one parameter in the algorithm to match that style.
[0031] The vehicle can determine the target driving style based on a pre-trained driving style recognition model, or it can determine the target driving style based on the current road conditions. These two methods will be described in the examples below.
[0032] In some embodiments, when the intelligent driving adaptive adjustment function is enabled, S201 is executed. The intelligent driving adaptive adjustment function refers to the function of the vehicle adaptively adjusting at least one parameter in the intelligent driving algorithm based on the driver's state, vehicle environmental data, and the driver's driving style during driving. The intelligent driving adaptive adjustment function can be enabled or disabled by the vehicle's default setting or by the driver's custom setting. Further, when the intelligent driving adaptive adjustment function is enabled, the vehicle determines the driver's driving style at preset intervals. The preset interval is set based on experimentation or experience, for example, 1 minute.
[0033] S202 processes real-time collected vehicle environmental data, driver status information, and target driving style using a pre-trained assisted driving model to obtain target control signals.
[0034] The assisted driving model is obtained by training a second neural network model based on a second training dataset. The second training dataset includes multiple sets of training data, each set containing: vehicle environmental data, driver state information, driver driving style, and driver behavior data. The training process of the assisted driving model will be described in the following examples.
[0035] Vehicle environmental data includes road information, obstacle information, and traffic information for the vehicle's current route. Road information includes the road width, road boundaries, number of lanes, lane markings, etc. Obstacle information includes the shape, speed, and relative position of obstacles to the vehicle, etc. Traffic information includes traffic flow, traffic light status, and traffic sign information, etc.
[0036] The driver's status information can be any of the following: normal state, tense state, or fatigued state.
[0037] The target control signal may include: the direction and angle of steering wheel rotation, vehicle speed, acceleration, gear control signal, braking control signal, etc. The signal type of the target control signal can be determined according to the actual driving assistance function, and this application embodiment does not limit it.
[0038] The vehicle will input the environmental data collected in real time, the driver's status information, and the target driving style into the assisted driving model, and the assisted driving model will output the target control signal.
[0039] In some embodiments, if the vehicle spends more than a preset percentage of its time in the same driving style within the current time window, and this driving style is different from the driving style used in the previous parameter adjustment process, then S202 is executed. The preset percentage is set based on experiments or experience, for example, 60%. For example, if the time window is 10 minutes, and the driving style used in the previous parameter adjustment process was a cautious style, but the vehicle spends more than 60% of its time in an aggressive style within the current time window, then S202 is executed.
[0040] In other embodiments, if the vehicle detects that the driver has been in the same driving style for more than a preset number of consecutive times, and that the driving style is different from the driving style used in the previous parameter adjustment process, then S202 is executed. The preset number of times is set based on experiments or experience, for example, 3 times.
[0041] In other embodiments, upon receiving an intelligent driving parameter adjustment command, the vehicle executes S202. If the driver determines that the vehicle's driving process does not match their driving style, they can trigger the intelligent driving parameter adjustment command to initiate an adjustment process for at least one parameter of the intelligent driving algorithm. The intelligent driving parameter adjustment command can be a voice command, a touch command to the intelligent driving parameter adjustment controls on the vehicle's touch panel, etc.
[0042] In other embodiments, the vehicle executes S201 when it detects a significant change in the road conditions of its current route. A significant change in the road conditions of the vehicle's current route may refer to a change in the type of road, such as switching from a highway to an urban road. A significant change in the road conditions of the vehicle's current route may also refer to a change in the traffic flow of the current route, such as switching from severe congestion to free flow.
[0043] In addition, after the vehicle is powered on and started, it executes S202 directly upon first obtaining the driver's driving style.
[0044] S202, Obtain the actual control signal output by the intelligent driving domain controller based on the target intelligent driving algorithm.
[0045] The target intelligent driving algorithm is the intelligent driving algorithm currently used by the intelligent driving domain controller. The aforementioned actual control signals may include vehicle speed, acceleration, steering wheel rotation direction and angle, braking control signals, and drive control signals, etc. The vehicle can directly read the aforementioned actual control signals from its local cache.
[0046] S204, based on the actual control signal and the target control signal, adjusts at least one parameter of the intelligent driving algorithm in the vehicle.
[0047] At least one parameter of the intelligent driving algorithm includes, but is not limited to: lateral and longitudinal chassis control calibration parameters, active lane change triggering conditions, maximum execution time for a single lane change, minimum safe collision threshold, maximum driving speed, etc. The adjustment process will be described in the following examples.
[0048] S205 controls vehicle movement according to the adjusted parameters.
[0049] The intelligent driving domain controller generates control signals for the vehicle based on the adjusted parameters, and the vehicle drives in accordance with the control signals.
[0050] In summary, the technical solution provided in this application first determines the driver's driving style during vehicle operation. Then, based on real-time collected vehicle environmental data, driver status information, and the determined driving style, a target control signal is determined. At least one parameter of the intelligent driving algorithm is adjusted according to the target control signal and the actual control signal output by the intelligent driving algorithm. Finally, the vehicle is controlled according to the adjusted parameters. In this way, the intelligent driving domain controller can adapt the vehicle control to the driver's driving style in different scenarios and states, improving the driver's personalized assisted driving experience.
[0051] Please refer to Figure 3 This illustrates a flowchart of a method for controlling a vehicle according to an embodiment of this application. Based on... Figure 2 In the optional embodiments provided by the examples, S201 is replaced by S301-S303, S204 is replaced by S306-S307, and S205 is replaced by S308. The method includes the following procedures.
[0052] S301 collects environmental data while the vehicle is in motion.
[0053] Vehicle environmental data includes road information, obstacle information, and traffic information of the current road the vehicle is traveling on.
[0054] Road information includes the current road width, road boundaries, number of lanes, lane markings, etc. Optionally, an image acquisition device installed on the vehicle acquires environmental images, performs image recognition on the environmental images, and obtains the aforementioned road information. Alternatively, the vehicle obtains its own location information and queries the corresponding road information based on a pre-stored high-precision map.
[0055] Obstacle information includes the obstacle's shape, speed, and relative position to the vehicle. Optionally, the vehicle's radar detects the aforementioned obstacle information.
[0056] Traffic information includes traffic flow, traffic light status, and traffic sign information. Vehicles can send traffic flow requests to the server and receive traffic flow data returned by the server based on these requests. Furthermore, vehicles can also recognize the aforementioned environmental images to obtain the traffic light status and traffic sign information.
[0057] S302 collects driver status information.
[0058] Optionally, the vehicle includes a state acquisition device that acquires a video containing the driver's facial image, and then identifies each frame of the video. If the driver's blinking frequency is greater than a preset frequency, the driver is determined to be in a state of fatigue. If the driver's pupil area is significantly enlarged, the driver is determined to be in a state of tension. Otherwise, the driver is in a normal state.
[0059] S303 processes environmental data and state information through a pre-trained driving style recognition model to obtain the target driving style.
[0060] The vehicle inputs environmental data and status information into the driving style recognition model, and the driving style recognition model outputs the target driving style.
[0061] In other possible implementations, the vehicle collects environmental data; determines the road conditions based on the environmental data; and obtains the driving style corresponding to the road conditions as the target driving style.
[0062] Optionally, the vehicle's driving conditions are evaluated from two dimensions: road type and traffic flow. For example, road type includes four states: highway, urban road, rural road, and provincial road; traffic flow includes three states: congested, moderate, and smooth. These road types and traffic flow can be combined to obtain 12 driving conditions. Each time the vehicle drives on a specified road condition, the driver's behavior data is recorded to determine their driving style. The most frequently occurring driving style is associated with the specified road condition and stored. Subsequent times when the vehicle drives on a specified road condition, the corresponding driving style can be directly retrieved.
[0063] S304 processes the target driving style, vehicle environmental data, and driver state information through a pre-trained assisted driving model to obtain the target control signal.
[0064] S305: Obtain the actual control signal output by the vehicle's intelligent driving domain controller based on the target intelligent driving algorithm.
[0065] S306: When the difference between the actual control signal and the target control signal is greater than the preset difference, determine the target parameters corresponding to the target driving style.
[0066] The preset difference is set based on experiments or experience and is not limited here. If the difference between the actual control signal and the target control signal is greater than the preset difference, it indicates that the current parameters of the target intelligent driving algorithm do not match the driver's driving style, and therefore need to be adjusted.
[0067] In some embodiments, the vehicle stores a mapping relationship between different driving styles and different parameters of the target intelligent driving algorithm. By querying the above mapping relationship, the target parameters corresponding to the target driving style can be obtained.
[0068] S307, adjust the current parameters of the target intelligent driving algorithm to the target parameters.
[0069] The parameters can be adjusted by replacing the current parameters of the target intelligent driving algorithm with the target parameters.
[0070] In other possible implementations, the vehicle adjusts the current parameters of the target intelligent driving algorithm multiple times and compares the control signal output based on the parameters after each adjustment with the target control signal. If the difference between the two is less than a preset difference, then the adjusted parameters are also the target parameters.
[0071] S308 controls vehicle movement according to target parameters.
[0072] In some embodiments, after adjusting the parameters, the vehicle also collects driver feedback. If the driver's feedback indicates satisfaction with the parameter adjustment result, the driving style recognition model and the assisted driving model will be iterated based on environmental data, state information, and driving style collected during the current journey to further optimize them and make their output results more accurate. The driver's feedback includes the driver's emotions and behavioral data related to the vehicle. If the driver's emotions are negative or at least one of the following occurs during the driver's intervention in the intelligent assisted driving process, the driver's feedback indicates dissatisfaction with the parameter adjustment result; otherwise, the driver's feedback indicates satisfaction with the parameter adjustment result. The driver's emotions can be determined by analyzing facial images captured by an image acquisition device and voice information captured by a voice acquisition device installed in the vehicle.
[0073] In summary, the technical solution provided in this application determines the driver's driving style based on real-time collected vehicle environmental data and driver status information during vehicle operation. Then, based on the aforementioned environmental data, status information, and determined driving style, a target control signal is determined. At least one parameter of the intelligent driving algorithm is adjusted according to the target control signal and the actual control signal output by the intelligent driving algorithm. The vehicle is then controlled according to the adjusted parameters. In this way, the intelligent driving domain controller can adapt its control of the vehicle to the driver's driving style in different scenarios and states, thereby improving the driver's personalized assisted driving experience.
[0074] The following is combined with Figure 4 The training process of the driving style recognition model is described.
[0075] S401, Obtain the first training sample set.
[0076] The first training sample set includes multiple sets of first training data. Each set of first training data includes vehicle environmental data, driver state information, and driver driving style. The number of first training data sets can be determined based on the accuracy requirements of the driving style recognition model. The higher the accuracy requirement of the driving style recognition model, the larger the number of first training data sets should be.
[0077] Optionally, S401 is specifically implemented as follows: S4011, acquire multiple sets of historical driving data.
[0078] Each set of historical driving data includes environmental data of the vehicle, driver status information, and driver behavior data collected during the historical driving process.
[0079] The vehicle's environmental data is collected through an environmental perception system during historical driving. The driver's state information is collected through a state acquisition device during historical driving. The driver's behavior data is used to record the operations performed by the driver on the vehicle's actuators during historical driving, including but not limited to: pedal operation information (e.g., the start time, duration, and travel of the pedal), brake pedal operation information, steering wheel operation information (e.g., steering wheel rotation direction and angle), and gear shift lever operation information (e.g., the shifted gear, etc.).
[0080] During each trip, the vehicle collects environmental data, driver status information, and driver behavior data as a set of historical driving data and reports it to the server.
[0081] S4012: Select K sets of data from multiple sets of historical driving data, and use them as the cluster centers of K clusters respectively.
[0082] K is an integer greater than 1. K is the number of clusters, which can be customized by technicians. In this embodiment, only K is 5 as an example. The 5 clusters are also 5 driving styles, namely normal, aggressive, cautious, comfortable and agile.
[0083] S4013, For historical driving data other than group K in multiple groups of historical driving data, calculate the distance between the other groups of historical driving data and group K data respectively, so as to determine the cluster to which the other groups of historical driving data belong.
[0084] For any of the other data sets, the server calculates the Euclidean distance between that data set and the K cluster centers, and determines the cluster to which the target cluster center with the smallest Euclidean distance from that data set belongs.
[0085] S4014, Update the cluster centers of K clusters.
[0086] If the clusters to which the other data groups belong are determined, the cluster center of each cluster is updated based on the historical driving data included in each cluster.
[0087] S4015, repeat the steps of calculating the distance between other groups of historical driving data and K groups of data and updating the cluster centers of K clusters until the second stopping iteration condition is met, and then stop the iteration to obtain the historical driving datasets corresponding to K clusters.
[0088] The second stopping iteration condition is when the cluster centers of the K clusters no longer change, or the change value is less than a preset difference.
[0089] S4016: Based on the historical driving datasets corresponding to K clusters, store the vehicle's environmental data, driver's status information, and corresponding clusters in each group of historical driving data to obtain the first training sample dataset.
[0090] After clustering, the server stores the vehicle's environmental data, driver's status information, and the corresponding cluster from each group of historical driving data as a first set of training data.
[0091] S402, for each set of first training data in multiple sets of first training data, input each set of first training data into the first neural network model to obtain the output driving style.
[0092] The first neural network model can be S503, calculate the first loss function based on the output driving style and the aforementioned driving style.
[0093] The first loss function is used to measure the relative error between the output driving style and the aforementioned driving style.
[0094] S504, update the parameters of the first neural network model using the first optimization algorithm to minimize the first loss function.
[0095] Optionally, the first optimization algorithm is the backpropagation algorithm.
[0096] S505, repeat the steps of calculating the first loss function and updating the parameters of the first neural network model until the first stopping iteration condition is met, then stop the iterative training.
[0097] The first stopping iteration condition can be that the first loss function is less than a first preset value, which is set based on experiments or experience, and this embodiment does not limit this. The stopping iteration condition can also be that the number of iterations is greater than a first preset number, which is set based on experiments or experience.
[0098] The following is combined with Figure 5 The training process of the driver assistance model is described. The training process of the driver assistance model includes: S501, Obtain the second training sample set.
[0099] The second training sample set includes multiple sets of second training data. The number of second training data sets is determined based on the accuracy requirements of the driver assistance model. The higher the accuracy requirements of the driver assistance model, the more second training data sets are required.
[0100] Each set of second training data includes vehicle environmental data, driver status information, driver driving style, and driver behavior data. The process for determining the driver's driving style can be found in S4041-S4045 above, and will not be elaborated here. During each vehicle trip, the vehicle collects the aforementioned environmental data, driver status information, and driver behavior data and reports them to the server. The server determines the driver's driving style based on the received information, and then stores the received information in correspondence with the determined driving style to obtain a set of second training data.
[0101] S502, for each set of second training data in multiple sets of second training data, input each set of second training data into the second neural network model to obtain output behavior data.
[0102] S503, calculates the second loss function based on the output behavior data and the behavior data in the second training data.
[0103] The second loss function is used to measure the relative error between the output behavioral data and the behavioral data in the second training data.
[0104] S504, update the parameters of the second neural network model using the second optimization algorithm to minimize the second loss function.
[0105] Alternatively, the second optimization algorithm is the backpropagation algorithm.
[0106] S505, repeat the steps of calculating the second loss function and updating the parameters of the second neural network model until the third stopping iteration condition is met, then stop the iterative training and obtain the assisted driving model.
[0107] The third stopping iteration condition can be that the second loss function is less than a second preset value, which is set based on experiments or experience, and this application embodiment does not limit this. The third stopping iteration condition can also be that the number of iterations is greater than a second preset number, which is set based on experiments or experience.
[0108] Please refer to Figure 6 This diagram illustrates a block diagram of a vehicle control device according to an embodiment of this application. The device includes: a style determination module 610, a first acquisition module 620, a second acquisition module 630, a parameter adjustment module 640, and a vehicle control module 650.
[0109] Style determination module 610 is used to determine the driver's target driving style during vehicle operation.
[0110] The first acquisition module 620 is used to process the target driving style, vehicle environmental data, and driver state information through a pre-trained assisted driving model to obtain the target control signal.
[0111] The second acquisition module 630 is used to acquire the actual control signal output by the vehicle's intelligent driving domain controller based on the target intelligent driving algorithm.
[0112] The parameter adjustment module 640 is used to adjust at least one parameter of the target intelligent driving algorithm based on the actual control signal and the target control signal.
[0113] The vehicle control module 650 is used to control the vehicle's movement according to the adjusted parameters.
[0114] In some embodiments, the parameter adjustment module 640 is used to determine the target parameters corresponding to the target driving style when the difference between the actual control signal and the target control signal is greater than a preset difference; adjust the current parameters of the target intelligent driving algorithm to the target parameters; and control the vehicle to drive according to the target parameters.
[0115] In some embodiments, the style determination module 610 is used to collect environmental data; obtain state information; and process the environmental data and state information through a pre-trained driving style recognition model to obtain the target driving style.
[0116] In some embodiments, the training process of the driving style recognition model includes: acquiring a first training sample dataset, the first training dataset including multiple sets of first training data, each set of first training data including vehicle environmental data, driver state information, and driver driving style; for each set of first training data, inputting each set of first training data into a first neural network model to obtain an output driving style; calculating a first loss function based on the output driving style and the driving style in each set of first training data; updating the model parameters in the first neural network model using a first optimization algorithm to minimize the first loss function; repeating the steps of calculating the first loss function and updating the model parameters in the first neural network model until a first stopping iteration condition is met, and then stopping the iterative training to obtain the driving style recognition model.
[0117] In some embodiments, obtaining a first training sample dataset includes: obtaining multiple sets of historical driving data, each set of historical driving data including vehicle environmental data, driver status information, and driver behavior data collected during historical driving; selecting K sets of data from the multiple sets of historical driving data as cluster centers for K clusters, where K is an integer greater than 1; calculating the distance between the other sets of historical driving data and the K sets of data to determine the cluster to which the other sets of historical driving data belong; updating the cluster centers of the K clusters; repeating the steps of calculating the distance between the other sets of historical driving data and the K sets of data and updating the cluster centers of the K clusters until a second stopping iteration condition is met, thereby obtaining historical driving datasets corresponding to the K clusters; and storing the vehicle environmental data, driver status information, and corresponding clusters in each set of historical driving data based on the historical driving datasets corresponding to the K clusters, thereby obtaining the first training sample dataset.
[0118] In some embodiments, the style determination module 610 is used to collect environmental data of the vehicle; determine the driving conditions of the vehicle based on the environmental data; and obtain the driving style corresponding to the driving conditions of the vehicle as the target driving style.
[0119] In some embodiments, the training process of the assisted driving model includes: acquiring a second training sample dataset, the second training dataset including multiple sets of second training data, each set of second training data including vehicle environmental data, driver state information, driver driving style, and driver behavior data; for each set of second training data, inputting each set of second training data into a second neural network model to obtain output behavior data; calculating a second loss function based on the output behavior data and the behavior data in each set of second training data; updating the model parameters in the second neural network model using a second optimization algorithm to minimize the second loss function; repeating the steps of calculating the second loss function and updating the model parameters in the second neural network model until a third stopping iteration condition is met, at which point iterative training is stopped, and the assisted driving model is obtained.
[0120] In summary, the technical solution provided in this application first determines the driver's driving style during vehicle operation. Then, based on real-time collected vehicle environmental data, driver status information, and the determined driving style, a target control signal is determined. At least one parameter of the intelligent driving algorithm is adjusted according to the target control signal and the actual control signal output by the intelligent driving algorithm. Finally, the vehicle is controlled according to the adjusted parameters. In this way, the intelligent driving domain controller can adapt the vehicle control to the driver's driving style in different scenarios and states, improving the driver's personalized assisted driving experience.
[0121] Please see Figure 7 The illustration shows that an embodiment of this application also provides a vehicle 700, which includes one or more processors 710, a memory 720, and one or more application programs. The one or more application programs are stored in the memory 720 and configured to be executed by the one or more processors 710, and are configured to perform the methods described in the above embodiments.
[0122] The processor 710 may include one or more processing cores. The processor 710 connects to various parts of the entire battery management system using various interfaces and lines, and performs various functions and processes data of the battery management system by running or executing instructions, programs, code sets, or instruction sets stored in the memory 720, and by calling data stored in the memory 720. Optionally, the processor 710 may be implemented using at least one hardware form of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), or Programmable Logic Array (PLA). The processor 710 may integrate one or a combination of several of the following: Central Processing Unit (CPU), Graphics Processing Unit (GPU), and modem. The CPU primarily handles the operating system, user interface, and applications; the GPU is responsible for rendering and drawing the displayed content; and the modem handles wireless communication. It is understood that the modem may also not be integrated into the processor 710 and may be implemented separately through a communication vehicle.
[0123] The memory 720 may include random access memory (RAM) or read-only memory (ROM). The memory 720 can be used to store instructions, programs, code, code sets, or instruction sets. The memory 720 may include a program storage area and a data storage area. The program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as touch functionality, sound playback functionality, image playback functionality, etc.), and instructions for implementing the various method embodiments described below. The data storage area may also store data created during vehicle operation (such as phonebook data, audio / video data, chat log data, etc.).
[0124] This application also provides a computer-readable storage medium storing computer program instructions that can be invoked by a processor to execute the methods described in the above embodiments.
[0125] Computer-readable storage media can be electronic storage devices such as flash memory, EEPROM (Electrically Erasable Programmable Read-Only Memory), EPROM, hard disk, or ROM. Optionally, computer-readable storage media include non-transitory computer-readable storage media. The computer-readable storage medium has storage space for computer program instructions that perform any of the method steps described above. These computer program instructions can be read from or written to one or more computer program products. The computer program instructions may be compressed in an appropriate form.
[0126] The above are merely preferred embodiments of this application and are not intended to limit this application in any way. Although this application has disclosed preferred embodiments as above, it is not intended to limit this application. Any person skilled in the art can make some modifications or alterations to the above-disclosed technical content to create equivalent embodiments without departing from the scope of the technical solution of this application. Any simple modifications, equivalent changes and alterations made to the above embodiments based on the technical essence of this application without departing from the scope of the technical solution of this application shall still fall within the scope of the technical solution of this application.
Claims
1. A method for controlling a vehicle, characterized in that, The method includes: During the vehicle's operation, the driver's target driving style is determined. The target control signal is obtained by processing the target driving style, the real-time collected environmental data of the vehicle, and the real-time collected state information of the driver through a pre-trained assisted driving model. Obtain the actual control signal output by the intelligent driving domain controller of the vehicle based on the target intelligent driving algorithm; If the difference between the actual control signal and the target control signal is greater than a preset difference, the target parameter corresponding to the target driving style is determined. Adjust the current parameters of the target intelligent driving algorithm to the target parameters; The vehicle is controlled to drive according to the target parameters.
2. The method according to claim 1, characterized in that, Determining the driver's target driving style during vehicle operation includes: Collect the environmental data; Obtain the status information; The target driving style is obtained by processing the environmental data and the state information through a pre-trained driving style recognition model.
3. The method according to claim 2, characterized in that, The training process of the driving style recognition model includes: Obtain a first training sample dataset, which includes multiple sets of first training data. Each set of first training data includes vehicle environmental data, driver status information, and the driver's driving style. For each set of first training data, the first set of first training data is input into the first neural network model to obtain the output driving style; Based on the output driving style and the driving style in each group of first training data, calculate the first loss function; The model parameters in the first neural network model are updated using a first optimization algorithm to minimize the first loss function; Repeat the steps of calculating the first loss function and updating the model parameters in the first neural network model until the first stopping iteration condition is met, then stop the iterative training to obtain the driving style recognition model.
4. The method according to claim 3, characterized in that, The process of obtaining the first training sample dataset includes: Acquire multiple sets of historical driving data, each set of historical driving data including vehicle environmental data, driver status information and driver behavior data collected during the historical driving process; K sets of data are selected from the multiple sets of historical driving data and used as the cluster centers of K clusters, where K is an integer greater than 1; For each set of historical driving data other than the K sets, the distance between the other sets of historical driving data and the K sets is calculated to determine the cluster to which the other sets of historical driving data belong. Update the cluster centers of the K clusters; Repeat the steps of calculating the distance between the other groups of historical driving data and the K groups of data and updating the cluster centers of the K clusters until the second stopping iteration condition is met, and then stop the iteration to obtain the historical driving datasets corresponding to the K clusters respectively; Based on the historical driving datasets corresponding to the K clusters, the environmental data of the vehicle, the driver's status information and the corresponding clusters in each group of historical driving data are stored to obtain the first training sample dataset.
5. The method according to claim 1, characterized in that, Determining the driver's target driving style during vehicle operation includes: Collect environmental data of the vehicle; The driving conditions of the vehicle are determined based on the vehicle's environmental data; The driving style corresponding to the road conditions of the vehicle is obtained and used as the target driving style.
6. The method according to any one of claims 1 to 5, characterized in that, The training process of the assisted driving model includes: Obtain a second training sample dataset, which includes multiple sets of second training data. Each set of second training data includes vehicle environmental data, driver status information, driver driving style, and driver behavior data. For each set of second training data, the second set of second training data is input into the second neural network model to obtain output behavior data; Based on the output behavior data and the behavior data in each group of second training data, calculate the second loss function; The model parameters in the second neural network model are updated using a second optimization algorithm to minimize the second loss function; Repeat the steps of calculating the second loss function and updating the model parameters in the second neural network model until the third stopping iteration condition is met, then stop the iterative training to obtain the assisted driving model.
7. A device for controlling a vehicle, characterized in that, The device includes: The style determination module is used to determine the driver's target driving style during the vehicle's operation. The first acquisition module is used to process the target driving style, the environmental data of the vehicle collected in real time, and the state information of the driver collected in real time through a pre-trained assisted driving model to obtain the target control signal; The second acquisition module is used to acquire the actual control signal output by the intelligent driving domain controller of the vehicle based on the target intelligent driving algorithm; The parameter adjustment module is used to determine the target parameter corresponding to the target driving style when the difference between the actual control signal and the target control signal is greater than a preset difference, and adjust the current parameter of the target intelligent driving algorithm to the target parameter. The vehicle control module is used to control the vehicle's movement according to the target parameters.
8. A vehicle, characterized in that, include: Memory; One or more processors are coupled to the memory; One or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, the one or more applications being configured to perform the method as described in any one of claims 1-6.
9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer program instructions that can be invoked by a processor to perform the method as described in any one of claims 1-6.
Citation Information
Patent Citations
Vehicle control method and device, vehicle and storage medium
CN117922583A
Driving assistance method, system and device for self-learning driving style and control algorithm and medium
CN118220174A
