Vehicle AEB calibration parameter processing method and device, equipment and storage medium
By using the meta-learning model to optimize AEB calibration parameters, the existing AEB system configuration problems of low efficiency and high cost are solved, efficient and accurate AEB calibration parameter generation is achieved, and driving safety is ensured.
Patent Information
- Application Number
- CN202410641175.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-22
- Publication Date
- 2024-09-06
AI Technical Summary
When configuring the existing AEB system, manual measurement of braking distance is inefficient and the cost of building base stations is high, resulting in low efficiency in calibration parameter adjustment and waste of resources.
Using the data obtained through multiple AEB tests, a pre-trained parameter prediction model is used to generate the AEB calibration parameters of the vehicle. The meta-learning model is combined with the prediction module and parameter update module to optimize the AEB calibration parameters and achieve low-cost and efficient braking distance measurement. .
It improves the accuracy and efficiency of AEB calibration parameters, saves costs, and ensures driving safety.
Smart Images

Figure CN118603583A
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle control technology, and in particular to a method, device, equipment and storage medium for processing vehicle AEB calibration parameters. Background Art
[0002] The Autonomous Emergency Braking (AEB) system is an active safety technology for automobiles that can automatically monitor the distance and relative speed of the target in front of the car. When the driver brakes too late, the braking force is too small, or no braking is performed, the vehicle will alarm or actively brake. The AEB system can largely avoid or alleviate the occurrence of rear-end collisions and ensure the safety of drivers and passengers. Therefore, the accuracy of the AEB system is crucial.
[0003] In the prior art, when configuring an AEB system, the braking distance after AEB braking is usually detected manually, or by establishing a base station and using global positioning real-time measurement technology to detect the braking distance, and then adjusting the AEB calibration parameters according to the braking distance of each test. After repeated testing, calibration parameters suitable for the configured vehicle are obtained.
[0004] However, manual measurement of braking distance is inefficient, and the cost of building base stations is high. Repeated testing wastes a lot of time and manpower. Summary of the invention
[0005] The present application provides a method, device, equipment and storage medium for processing vehicle AEB calibration parameters, so as to solve the problem of how to determine the vehicle AEB calibration parameters at low cost and high efficiency.
[0006] In a first aspect, the present application provides a method for processing vehicle AEB calibration parameters, which is applied to a test platform, wherein the test platform is in communication connection with a vehicle under test and an obstacle in front of the vehicle under test; the method comprises:
[0007] receiving first parameter information sent by the vehicle under test and second parameter information sent by the obstacle, wherein the first parameter information includes an initial vehicle speed and a pre-pressure building time of the vehicle under test in multiple AEB tests, and the second parameter information includes a braking distance of the vehicle under test in multiple AEB tests, speed change information of the vehicle under test during each AEB test, and deceleration change information of the vehicle under test;
[0008] According to the first parameter information and the second parameter information, an AEB calibration parameter of the vehicle under test is generated by predicting and calculating a pre-trained parameter prediction model, wherein the parameter prediction model is obtained by training a meta-learning model based on test data of multiple vehicles in multiple AEB tests, and the AEB calibration parameter is used to indicate that the vehicle under test is configured with AEB, and the meta-learning model includes a prediction module and a parameter update module;
[0009] The AEB calibration parameters are sent to the vehicle under test.
[0010] In combination with the first aspect, in some embodiments, the parameter prediction model includes the prediction module and the final parameter update module; the AEB calibration parameters of the vehicle under test are generated by predictive calculation of the pre-trained parameter prediction model according to the first parameter information and the second parameter information, including:
[0011] Preprocessing the first parameter information and the second parameter information, and performing data division to obtain a support set and a query set;
[0012] Inputting the support set into the parameter prediction model, and obtaining the optimized parameters of the prediction module through calculation of the final parameter updating module;
[0013] The query set is input into the parameter prediction model, and the AEB calibration parameters are generated according to the optimization parameters through calculation of the prediction module.
[0014] In combination with the first aspect, in some embodiments, the method further includes:
[0015] Acquire test data of multiple vehicles in multiple AEB tests, wherein the test data includes first parameter information corresponding to the tested vehicle and second parameter information corresponding to the obstacle in each AEB test;
[0016] Preprocessing the test data to obtain a task set, wherein the task set includes multiple task subsets, each task subset includes test data of all AEB tests corresponding to the same obstacle, and each task subset includes a support subset and a query subset;
[0017] The meta-learning model is trained according to all task subsets in chronological order to obtain the parameter prediction model.
[0018] In combination with the first aspect, in some embodiments, the step of training the meta-learning model according to all task subsets in chronological order to obtain the parameter prediction model includes:
[0019] Step a: inputting the support subset in the task subset into the prediction module, and training the prediction module through the parameter updating module to obtain a trained prediction module;
[0020] Step b: inputting the query subset in the task subset into the trained prediction module, training the parameter updating module, and obtaining the trained parameter updating module;
[0021] Step c: repeating steps a to c in chronological order until the training of all task subsets is completed to obtain the final parameter update module;
[0022] Step d: configuring the final parameter updating module in the meta-learning model to obtain the parameter prediction model.
[0023] In combination with the first aspect, in some embodiments, inputting the support subset in the task subset into the prediction module, training the prediction module through the parameter updating module, and obtaining the trained prediction module comprises:
[0024] Step 1: The prediction module obtains initialization prediction parameters by learning and training the support subset;
[0025] Step 2: inputting the initialization prediction parameters into the parameter updating module, calculating the gradient of the loss function, and updating the initialization prediction parameters according to the gradient of the loss function to obtain updated prediction parameters;
[0026] Step 3: configuring the updated prediction parameters in the prediction module, and continuing to learn and train the support subset to obtain new initialization prediction parameters;
[0027] Step 4: configure the new initialized prediction parameters in the prediction module, repeat steps 1 to 4 until a preset number of iterations is reached, and obtain the trained prediction module.
[0028] In combination with the first aspect, in some embodiments, inputting the query subset in the task subset into the trained prediction module, training the parameter update module, and obtaining the trained parameter update module includes:
[0029] The trained prediction module predicts the query subset to obtain a prediction result;
[0030] Calculate the value of the loss function based on the prediction result and the real data in the query subset;
[0031] According to the chain rule and the value of the loss function, the gradient of the prediction result and the parameters of the parameter updating module is calculated;
[0032] According to the prediction result and the gradient of the parameters of the parameter updating module, the parameters of the parameter updating module are updated, and the updated parameters are configured in the parameter updating module to obtain the trained parameter updating module.
[0033] In combination with the first aspect, in some embodiments, the loss function is an AEB false alarm rate function.
[0034] In a second aspect, the present application provides a device for processing vehicle AEB calibration parameters, the device comprising:
[0035] A receiving module, used to receive first parameter information sent by the tested vehicle and second parameter information sent by the obstacle, wherein the first parameter information includes the initial vehicle speed and pre-pressure building time of the tested vehicle in multiple AEB tests, and the second parameter information includes the braking distance of the tested vehicle in multiple AEB tests, speed change information of the tested vehicle in each AEB test, and deceleration change information of the tested vehicle;
[0036] a prediction module, configured to generate AEB calibration parameters of the vehicle under test according to the first parameter information and the second parameter information through prediction calculation of a pre-trained parameter prediction model, wherein the parameter prediction model is obtained by training a meta-learning model based on test data of multiple vehicles in multiple AEB tests, and the AEB calibration parameters are used to indicate that the vehicle under test is configured with AEB, and the meta-learning model includes a prediction module and a parameter updating module;
[0037] A sending module is used to send the AEB calibration parameters to the vehicle under test.
[0038] In conjunction with the second aspect, in some embodiments, the prediction module includes:
[0039] A preprocessing unit, used for preprocessing the first parameter information and the second parameter information, and performing data division to obtain a support set and a query set;
[0040] A first calculation unit, used for inputting the support set into the parameter prediction model, and obtaining the optimization parameters of the prediction module through calculation of the final parameter update module;
[0041] The second calculation unit is used to input the query set into the parameter prediction model, and generate the AEB calibration parameters according to the optimization parameters through calculation of the prediction module.
[0042] In conjunction with the second aspect, in some embodiments, the apparatus further includes:
[0043] An acquisition module, used to acquire test data of multiple vehicles in multiple AEB tests, wherein the test data includes first parameter information corresponding to the tested vehicle and second parameter information corresponding to the obstacle in each AEB test;
[0044] A preprocessing module, used for preprocessing the test data to obtain a task set, wherein the task set includes multiple task subsets, each task subset includes test data of all AEB tests corresponding to the same obstacle, and each task subset includes a support subset and a query subset;
[0045] The training module is used to train the meta-learning model according to all task subsets in chronological order to obtain the parameter prediction model.
[0046] In conjunction with the second aspect, in some embodiments, the training module includes:
[0047] A first training unit, used for inputting the support subset in the task subset into the prediction module, and training the prediction module through the parameter updating module to obtain a trained prediction module;
[0048] A second training unit is used to input the query subset in the task subset into the trained prediction module, train the parameter update module, and obtain the trained parameter update module;
[0049] A loop unit, used for repeating the method performed by the first training unit and the second training unit in chronological order until the training of all task subsets is completed to obtain the final parameter update module;
[0050] A configuration unit is used to configure the final parameter updating module in the meta-learning model to obtain the parameter prediction module.
[0051] In conjunction with the second aspect, in some embodiments, the first training unit is specifically used to:
[0052] Step 1: The prediction module obtains initialization prediction parameters by learning and training the support subset;
[0053] Step 2: inputting the initialization prediction parameters into the parameter updating module, calculating the gradient of the loss function, and updating the initialization prediction parameters according to the gradient of the loss function to obtain updated prediction parameters;
[0054] Step 3: configuring the updated prediction parameters in the prediction module, and continuing to learn and train the support subset to obtain new initialization prediction parameters;
[0055] Step 4: configure the new initialized prediction parameters in the prediction module, repeat steps 1 to 4 until a preset number of iterations is reached, and obtain the trained prediction module.
[0056] In conjunction with the second aspect, in some embodiments, the second training unit is specifically used to:
[0057] The trained prediction module predicts the query subset to obtain a prediction result;
[0058] Calculate the value of the loss function based on the prediction result and the real data in the query subset;
[0059] According to the chain rule and the value of the loss function, the gradient of the prediction result and the parameters of the parameter updating module is calculated;
[0060] According to the prediction result and the gradient of the parameters of the parameter updating module, the parameters of the parameter updating module are updated, and the updated parameters are configured in the parameter updating module to obtain the trained parameter updating module.
[0061] In combination with the second aspect, in some embodiments, the loss function is an AEB false alarm rate function.
[0062] In a third aspect, the present application provides a test platform, comprising: a processor, and a memory and a communication interface communicatively connected to the processor;
[0063] The memory stores computer-executable instructions;
[0064] The processor executes the computer-executable instructions stored in the memory to implement the method according to any one of the first aspects.
[0065] In a fourth aspect, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by a processor, they are used to implement any one of the methods in the first aspect.
[0066] In a fifth aspect, the present application provides a computer program product, wherein the computer program product comprises a computer program, and when the computer program is executed by a processor, the method according to any one of the first aspects is implemented.
[0067] The processing method, device, equipment and storage medium of vehicle AEB calibration parameters provided by the present application receive the first parameter information sent by the tested vehicle and the second parameter information sent by the obstacle, and generate the AEB calibration parameters of the tested vehicle through the prediction calculation of the pre-trained parameter prediction model according to the first parameter information and the second parameter information, and then send the AEB calibration parameters to the tested vehicle. Through the above method, low-cost and high-efficiency AEB braking distance measurement is achieved, and the accuracy of the vehicle AEB calibration parameters is improved, ensuring driving safety. BRIEF DESCRIPTION OF THE DRAWINGS
[0068] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0069] Figure 1 An application scenario diagram of the method for processing vehicle AEB calibration parameters provided in an embodiment of the present application;
[0070] Figure 2 A schematic flow chart of a first embodiment of a method for processing vehicle AEB calibration parameters provided in an embodiment of the present application;
[0071] Figure 3 A flowchart of a second embodiment of a method for processing vehicle AEB calibration parameters provided in an embodiment of the present application;
[0072] Figure 4 A flowchart of a third embodiment of a method for processing vehicle AEB calibration parameters provided in an embodiment of the present application;
[0073] Figure 5 A flowchart of a fourth embodiment of a method for processing vehicle AEB calibration parameters provided in an embodiment of the present application;
[0074] Figure 6 A flowchart of a fifth embodiment of a method for processing vehicle AEB calibration parameters provided in an embodiment of the present application;
[0075] Figure 7 A flowchart of a sixth embodiment of a method for processing vehicle AEB calibration parameters provided in an embodiment of the present application;
[0076] Figure 8 A schematic diagram of the structure of a first embodiment of a device for processing vehicle AEB calibration parameters provided in an embodiment of the present application;
[0077] Fig. 9 A schematic diagram of the structure of a second embodiment of a device for processing vehicle AEB calibration parameters provided in an embodiment of the present application;
[0078] Fig.10A schematic diagram of the structure of a third embodiment of a device for processing vehicle AEB calibration parameters provided in an embodiment of the present application;
[0079] Fig.11 A schematic diagram of the structure of a fourth embodiment of a device for processing vehicle AEB calibration parameters provided in an embodiment of the present application;
[0080] Fig.12 A schematic diagram of the test platform structure provided in an embodiment of the present application.
[0081] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION
[0082] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0083] AEB is an active automotive safety technology that can automatically monitor the distance and relative speed of the target in front of the car. When the driver brakes too late, the braking force is too small, or no braking is performed, the vehicle will sound an alarm or actively brake. The AEB system can largely avoid or alleviate the occurrence of rear-end collisions and ensure the safety of drivers and passengers. Therefore, the accuracy of the AEB system is crucial. In the prior art, when configuring the AEB system, the braking distance after the AEB stops is usually detected manually, or by establishing a base station and using global positioning real-time measurement technology to detect the braking distance, and then adjusting the AEB calibration parameters according to the braking distance of each test, and obtaining calibration parameters suitable for the configured vehicle after repeated testing. However, manual measurement of the braking distance is inefficient, and the cost of building a base station is high, and repeated testing wastes a lot of time and manpower.
[0084] In view of the above problems, the present application provides a method, device, equipment and storage medium for processing vehicle AEB calibration parameters. Specifically, in the prior art, the AEB function test of the vehicle is usually carried out by manually measuring the braking distance, or detecting the braking distance through global positioning real-time measurement technology, and then adjusting the AEB calibration parameters according to the braking distance of each test, and then obtaining the AEB calibration parameters through repeated testing and adjustment. However, manual measurement of the braking distance is inefficient, and the cost of building a base station is high. Repeated testing wastes a lot of time and manpower. In view of these problems, the inventor studied whether it is possible to conduct multiple AEB tests, and then predict the AEB calibration parameters of the vehicle according to the obtained test data through a pre-trained parameter prediction model, so as to obtain highly accurate calibration parameters, which can not only save costs and improve efficiency, but also ensure driving safety. Based on this, the present application scheme is proposed.
[0085] Figure 1 The application scenario diagram of the method for processing vehicle AEB calibration parameters provided in the embodiment of the present application is as follows: Figure 1 As shown, the scene includes at least a vehicle under test 100, a test platform 101 and an obstacle 102, wherein the obstacle 102 is in front of the vehicle under test 100, and the obstacle 102 can be any moving object such as a vehicle or a pedestrian, or a stationary object. The obstacle 102 is equipped with a distance measuring device A, such as a radar and a camera, etc., which can monitor any device or sensor for the braking distance between the vehicle under test 100 and the obstacle 102. An AEB test can be performed between the vehicle under test 100 and the obstacle 102, and the test platform 102 is used to process the test data of the AEB test between the vehicle under test 100 and the obstacle 102, so as to obtain AEB calibration parameters suitable for the vehicle under test 100.
[0086] Optionally, the vehicle under test 100, the test platform 101 and the obstacle 102 are communicatively connected via a wireless network or a wired network, and the test platform can be any electronic device that can perform data processing and data storage, such as a smart phone, a laptop computer, a server, a cloud server and other devices.
[0087] This application does not specifically limit the specific form and type of the above-mentioned physical devices.
[0088] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.
[0089] Figure 2 A schematic diagram of a process flow of a method for processing vehicle AEB calibration parameters according to an embodiment of the present application is shown in FIG. Figure 2 As shown, the execution subject of the method is a test platform, and the method specifically includes:
[0090] S201: Receive first parameter information sent by the vehicle under test and second parameter information sent by the obstacle.
[0091] In this step, with the increase in vehicles and the advancement of technology, vehicles are equipped with AEB functions. When the vehicle detects a risk of collision with an obstacle in front, the AEB function is turned on, so that emergency braking can be performed to avoid collision. The accuracy of the vehicle's AEB function is crucial. AEB tests are required before the vehicle leaves the factory, so that AEB calibration parameters are configured for the vehicle to ensure safe driving of the vehicle and the driver's experience. Test data is generated during the vehicle AEB test, and accurate calibration parameters can be obtained based on the test data.
[0092] Specifically, the test platform receives first parameter information sent by the vehicle under test and second parameter information sent by the obstacle through a communication link with the vehicle under test and the obstacle, wherein the first parameter information includes the initial vehicle speed and pre-pressure building time of the vehicle under test in multiple AEB tests, and the second parameter information includes the braking distance of the vehicle under test in multiple AEB tests, the speed change information of the vehicle under test during each AEB test, and the deceleration change information of the vehicle under test.
[0093] It should be noted that, combined with Figure 1 In the scene diagram, a distance measuring device A is disposed on the obstacle 102. When an AEB test is performed between the vehicle 100 under test and the obstacle 102, the distance measuring device A can monitor and collect the movement process of the vehicle 100 under test and the stopping distance after emergency braking in real time.
[0094] Optionally, the distance measuring device A is placed on the obstacle 102 and its height is adjusted to be the same as the front end of the front bumper of the measured vehicle 100 to obtain the minimum distance between the measured vehicle 100 and the obstacle 102.
[0095] S202: Generate AEB calibration parameters of the vehicle under test through prediction calculation of a pre-trained parameter prediction model according to the first parameter information and the second parameter information.
[0096] In this step, after the tested vehicle and the obstacle undergo multiple AEB tests to obtain the first parameter information and the second parameter information, in order to obtain the AEB calibration parameters suitable for the tested vehicle according to the characteristics of the vehicle and the characteristics of the obstacle, the first parameter information and the second parameter information are input into the pre-trained parameter prediction model for calculation, thereby predicting the AEB calibration parameters of the tested vehicle. The parameter prediction model is obtained by training the meta-learning model based on the test data of multiple vehicles in multiple AEB tests, the AEB calibration parameters are used to indicate that the tested vehicle is configured with AEB, the meta-learning model includes a prediction module and a parameter update module, wherein the AEB calibration parameters may include the rate of change of lateral acceleration over time, the time when the brake actuator reaches the requested deceleration, the collision time, the knee point value adjusted according to the vehicle speed at the collision time, the threshold for the chassis to enter the anti-lock braking control vehicle, and the deceleration value during the AEB request.
[0097] Specifically, the first parameter information and the second parameter information are preprocessed and data is divided to obtain a support set and a query set, and then the support set is input into the parameter prediction model, and the optimization parameters of the prediction module are obtained through calculation of the final parameter update module. Finally, the query set is input into the parameter prediction model, and the AEB calibration parameters are generated through calculation of the prediction module according to the optimization parameters.
[0098] It should be noted that the data in the support set and query set are time series data. For example, the sequence data in the support set is the sequence data before time t, where t is the time when the AEB test ends. Then the support set can be expressed as {X t-H+1 , …, X t-1 , X t}, where X t Indicates the test data at time t, the preset time length is H, and the time interval between each data is consistent. For the acquisition of test data, a time sliding window can be used to acquire test data at fixed time intervals until the time of the preset time window length is acquired, and all the test data acquired in this time window are regarded as sequence data at one moment, and the time window is slid until the data sequence at the tth moment is acquired.
[0099] It is worth noting that the above test data is obtained by preprocessing the first parameter information and the second parameter information.
[0100] S203: Sending the AEB calibration parameters to the vehicle under test.
[0101] In this step, after obtaining the AEB calibration parameters, the test platform sends the AEB calibration parameters to the vehicle under test through a communication link. The vehicle under test can configure the AEB calibration parameters for use in the automatic braking system.
[0102] The method for processing vehicle AEB calibration parameters provided in this embodiment receives the first parameter information sent by the tested vehicle and the second parameter information sent by the obstacle, and generates the AEB calibration parameters of the tested vehicle through the prediction calculation of the pre-trained parameter prediction model according to the first parameter information and the second parameter information, and then sends the AEB calibration parameters to the tested vehicle. Through the above method, low-cost and high-efficiency AEB braking distance measurement is achieved, and the accuracy of the vehicle AEB calibration parameters is improved, thereby improving driving safety.
[0103] Figure 3 A schematic diagram of a process flow of a second embodiment of a method for processing vehicle AEB calibration parameters provided in an embodiment of the present application, as shown in FIG. Figure 3 As shown, based on the above embodiment, step S202 specifically includes:
[0104] S301: pre-process the first parameter information and the second parameter information, and perform data division to obtain a support set and a query set.
[0105] In this step, the received first parameter information and second parameter information are data obtained after multiple AEB test monitoring of the tested vehicle and obstacles. The first parameter information and the second parameter information are cleaned and feature extracted and converted to obtain time series data during the test process, and then the time series data is divided to obtain a support set and a query set.
[0106] For example, the time series data includes test data at 10 moments, the first 4 data can be used as the support set, and the last 6 data can be used as the query set. The support set and the query set also include labels of real calibration parameters.
[0107] S302: Input the support set into the parameter prediction model, and obtain the optimized parameters of the prediction module through calculation of the final parameter update module.
[0108] In this step, after obtaining the support set and query set, in order to adapt to individual differences, the support set is input into the parameter prediction model, the parameters of the prediction module in the model are randomly initialized, and the prediction module is calculated multiple times based on the time series data in the support set. The gradient of the loss function is output each time, and the parameter update module optimizes the parameters of the prediction module according to the gradient of the loss function until the iteration of the support set data is completed, and the optimized parameters of the prediction module are obtained.
[0109] S303: Input the query set into the parameter prediction model, and generate AEB calibration parameters through calculation of the prediction module according to the optimization parameters.
[0110] In this step, the optimization parameters of the prediction module are calculated, the optimization parameters are configured in the prediction module, and then the query set is input into the configured prediction module for prediction calculation, so as to obtain the AEB calibration parameters.
[0111] Optionally, the prediction module can be a deep learning network model, such as a convolutional neural network (CNN), or other models that can realize prediction data, which is not limited in this application. The parameter update module can be a deep learning network model, such as a recurrent neural network (RNN) model, a long short-term memory (LSTM) neural network model, or other models that can realize updating the parameters of the prediction module, which is not limited in this application.
[0112] The method for processing vehicle AEB calibration parameters provided in this embodiment preprocesses the first parameter information and the second parameter information, and performs data division to obtain a support set and a query set, and then inputs the support set into the parameter prediction model, obtains the optimization parameters of the prediction module through calculation of the final parameter update module, and finally inputs the query set into the parameter prediction model, and generates AEB calibration parameters through calculation of the prediction module according to the optimization parameters. The prediction of the AEB calibration parameters by the parameter prediction model improves the accuracy of the parameters, improves the test efficiency of AEB, and ensures the driving safety of the vehicle during use.
[0113] Figure 4 A schematic diagram of a process flow of a third embodiment of a method for processing vehicle AEB calibration parameters provided in an embodiment of the present application, as shown in FIG. Figure 4 As shown, based on the above embodiments, the method further includes:
[0114] S401: Acquire test data of multiple vehicles in multiple AEB tests.
[0115] S402: Preprocess the test data to obtain a task set.
[0116] S403: Train the meta-learning model according to all task subsets in chronological order to obtain a parameter prediction model.
[0117] In order to obtain a model that can accurately and efficiently predict the AEB calibration parameters of a vehicle, the meta-learning model can be trained based on a large amount of AEB test data to obtain a parameter prediction model.
[0118] Specifically, in order to ensure the accuracy of the parameter prediction model, a large amount of training data is required to train the meta-learning model. Therefore, test data of multiple AEB tests on multiple vehicles and multiple obstacles are obtained, and then the test data is preprocessed. The specific preprocessing implementation method is the same as step S301 in the aforementioned embodiment and will not be repeated here. After preprocessing, a task set is obtained, wherein the task set includes multiple task subsets, each task subset includes test data of all AEB tests corresponding to the same obstacle, and each task subset is divided into data to obtain a support subset and a query subset.
[0119] It should be noted that, taking a vehicle as an example, an AEB test is performed on the vehicle, and the AEB performance of the vehicle corresponding to multiple obstacles is tested to obtain test data corresponding to each obstacle. The test data corresponding to each obstacle is preprocessed to obtain a task subset, and then the task subset is divided into a support subset and a query subset according to a preset data division ratio. In this way, multiple task subsets are obtained, and then the meta-learning model can be used to learn the rules under different situations, so that the AEB calibration parameters predicted by the obtained parameter prediction model are more reasonable and accurate.
[0120] The meta-learning model is trained using task subsets in chronological order. Specifically, the support subset in the task subset is input into the prediction module, and the prediction module is trained through the parameter update module to obtain a trained prediction module. The query subset in the task subset is input into the trained prediction module, and the parameter update module is trained to obtain a trained parameter update module. The aforementioned steps are repeated in chronological order until the training of all task subsets is completed to obtain the final parameter update module. Finally, the final parameter update module is configured in the meta-learning model to obtain a parameter prediction model.
[0121] The method for processing vehicle AEB calibration parameters provided in this embodiment obtains test data of multiple vehicles in multiple AEB tests, pre-processes the test data to obtain a task set, and then trains the meta-learning model according to all task subsets in chronological order to obtain a parameter prediction model. The prediction model is obtained by training the meta-learning model, thereby improving the accuracy of the model prediction. The use of the meta-learning model takes into account the differences between individual vehicles, so that the prediction adaptability and accuracy of the AEB calibration parameters are higher.
[0122] Figure 5 A flowchart of a fourth embodiment of a method for processing vehicle AEB calibration parameters provided in an embodiment of the present application is shown in FIG. Figure 5 As shown, based on the above embodiments, step S403 specifically includes:
[0123] Step a: Input the support subset in the task subset into the prediction module, and train the prediction module through the parameter update module to obtain the trained prediction module.
[0124] In this step, the meta-learning model includes a prediction module and a parameter update module. The prediction module is used to predict the AEB calibration parameters of the vehicle, and the parameter update module is used to tune the parameters of the prediction module to improve the accuracy of the parameter prediction model. Therefore, the support subset in the task subset is input into the prediction module, and through iterative calculation, the parameter update module trains the prediction module, and finally obtains the trained prediction module.
[0125] Specifically, the prediction module obtains the initialization prediction parameters by learning and training the support subset, and then inputs the initialization prediction parameters into the parameter update module, calculates the gradient of the loss function, and updates the initialization prediction parameters according to the gradient of the loss function to obtain updated prediction parameters, and then configures the updated prediction parameters in the prediction module, continues to learn and train the support subset, obtains new initialization prediction parameters, and finally configures the new initialization prediction parameters in the prediction module, repeats the above steps and iterates the calculation until a preset number of iterations is reached to obtain the trained prediction module.
[0126] Step b: Input the query subset in the task subset into the trained prediction module, train the parameter update module, and obtain the trained parameter update module.
[0127] In this step, after the prediction module is trained, a trained prediction module is obtained, and the query subset is input into the prediction module, and the parameter update module is trained through the back propagation algorithm.
[0128] Specifically, the trained prediction module predicts the query subset to obtain the prediction result, and then calculates the value of the loss function based on the prediction result and the real data in the query subset. Then, according to the chain rule and the value of the loss function, the gradient of the prediction result and the parameters of the parameter update module is calculated. Finally, according to the prediction result and the gradient of the parameters of the parameter update module, the parameters of the parameter update module are updated, and the updated parameters are configured in the parameter update module to obtain the trained parameter update module.
[0129] Optionally, the loss function may be an AEB false alarm rate function, which is expressed as:
[0130]
[0131] Among them, ω is the parameter of the prediction module, which is a vector. i is the weight of the ith sample, Π[·] is the indicator function, y iis the label of the ith sample, f(xi) is the prediction result of the ith sample, is a pre-set threshold, and θ is used to determine whether it is a false alarm.
[0132] Step c: Repeat steps a to c in chronological order until the training of all task subsets is completed and the final parameter update module is obtained.
[0133] Step d: Configure the final parameter update module in the meta-learning model to obtain the parameter prediction model.
[0134] According to the specific calculation methods of step a and step b, all task subsets are trained in turn to obtain the final parameter update module, and then the final parameter update module is configured in the meta-learning model to obtain the parameter prediction model.
[0135] The method for processing vehicle AEB calibration parameters provided in this embodiment inputs the support subset in the task subset into the prediction module, trains the prediction module through the parameter update module to obtain the trained prediction module, inputs the query subset in the task subset into the trained prediction module, trains the parameter update module to obtain the trained parameter update module, repeats the above operations in chronological order until the training of all task subsets is completed to obtain the final parameter update module, and finally configures the final parameter update module in the meta-learning model to obtain the parameter prediction model. The meta-learning model is trained by the above method to obtain a parameter prediction model that can accurately predict the AEB calibration parameters, thereby improving the adaptability of the model, meeting the differences of different vehicles, and ensuring the safe driving of the vehicle.
[0136] Figure 6 A flowchart of a fifth embodiment of the method for processing vehicle AEB calibration parameters provided in the present application is shown in FIG. Figure 6 As shown, based on the above embodiments, step a specifically includes:
[0137] Step 1: The prediction module obtains the initial prediction parameters by learning and training the support subset.
[0138] Step 2: Input the initialized prediction parameters into the parameter update module, calculate the gradient of the loss function, and update the initialized prediction parameters according to the gradient of the loss function to obtain updated prediction parameters.
[0139] Step 3: Configure the updated prediction parameters in the prediction module, continue to learn and train the support subset, and obtain new initialization prediction parameters.
[0140] Step 4: Configure the new initialized prediction parameters in the prediction module, repeat steps 1 to 4 until the preset number of iterations is reached to obtain the trained prediction module.
[0141] When training the prediction module, the prediction module is randomly initialized, so that the support subset is input into the prediction module. The prediction module obtains the initialized prediction parameters through learning calculation of the support subset, and then inputs the initialized prediction parameters into the parameter update module. The parameter update module calculates the gradient of the loss function for each parameter in the initialized prediction parameters, and then updates each parameter according to the gradient descent update rule to minimize the loss function. According to the above calculation, the iterative calculation is repeated until the maximum number of iterations is reached or the loss function converges to a preset threshold, and the calculation is terminated to obtain the trained prediction module.
[0142] It should be noted that the update rule of gradient descent can be expressed as:
[0143]
[0144] Among them, ω i is the i-th parameter in the parameter ω of the prediction module, α is the pre-set learning rate parameter, and L is the loss function.
[0145] The method for processing vehicle AEB calibration parameters provided in this embodiment is that the prediction module obtains the initialization prediction parameters by learning and training the support subset, and then inputs the initialization prediction parameters into the parameter update module, calculates the gradient of the loss function, and updates the initialization prediction parameters according to the gradient of the loss function to obtain updated prediction parameters, and then configures the updated prediction parameters in the prediction module, continues to learn and train the support subset to obtain new initialization prediction parameters, and finally configures the new initialization prediction parameters in the prediction module, repeats the above operation until the preset number of iterations is reached, and obtains the trained prediction module. Through the above method, the prediction module is trained so that the prediction module accurately learns the rules in the task subset, that is, the substantial relationship between the test data of the vehicle and obstacle AEB test and the AEB calibration parameters, and the accuracy of the parameter prediction model is guaranteed.
[0146] Figure 7 A flowchart of a sixth embodiment of a method for processing vehicle AEB calibration parameters provided in an embodiment of the present application is shown in FIG. Figure 7 As shown, based on the above embodiment, step b specifically includes:
[0147] S701: The trained prediction module predicts the query subset to obtain a prediction result.
[0148] S702: Calculate the value of the loss function based on the prediction results and the real data in the query subset.
[0149] S703: According to the chain rule and the value of the loss function, the gradient of the prediction result and the parameters of the parameter update module is calculated.
[0150] S704: Update the parameters of the parameter updating module according to the prediction result and the gradient of the parameters of the parameter updating module, and configure the updated parameters in the parameter updating module to obtain a trained parameter updating module.
[0151] After the prediction module is trained according to the support subset, the query subset is input into the trained prediction module for prediction, so as to obtain the prediction result. In order to obtain the optimal parameters of the parameter update module, the value of the loss function is calculated according to the prediction result and the real data in the query subset. The specific formula of the loss function is the formula of the aforementioned loss function. After obtaining the loss function value, the gradient of the prediction result and the parameters of the parameter update module is calculated by the back propagation algorithm according to the chain rule and the obtained value of the loss function. The specific gradient calculation is the same as the calculation method of step 2 in the aforementioned embodiment, which will not be repeated here. According to the calculated prediction result and the gradient of the parameters of the parameter update module, the parameters of the parameter update module are updated with the goal of minimizing the loss function until the maximum number of iterations or the convergence condition is reached, and the iteration is terminated to obtain the trained parameter update module.
[0152] The method for processing vehicle AEB calibration parameters provided in this embodiment is that the trained prediction module predicts the query subset to obtain the prediction result, calculates the value of the loss function according to the prediction result and the real data in the query subset, calculates the gradient of the prediction result and the parameter of the parameter update module according to the chain rule and the value of the loss function, updates the parameters of the parameter update module according to the prediction result and the gradient of the parameters of the parameter update module, and configures the updated parameters in the parameter update module to obtain the trained parameter update module. The parameters of the parameter update module are updated and calculated by the above-mentioned back propagation algorithm, thereby improving the flexibility of the model and ensuring the accuracy of the parameter prediction model.
[0153] Figure 8 The schematic diagram of the structure of the first embodiment of the processing device for vehicle AEB calibration parameters provided in the embodiment of the present application is as follows: Figure 8 As shown, the vehicle AEB calibration parameter processing device 800 specifically includes:
[0154] The receiving module 801 is used to receive the first parameter information sent by the vehicle under test and the second parameter information sent by the obstacle, the first parameter information includes the initial vehicle speed and pre-pressure building time of the vehicle under test in multiple AEB tests, and the second parameter information includes the braking distance of the vehicle under test in multiple AEB tests, the speed change information of the vehicle under test during each AEB test, and the deceleration change information of the vehicle under test.
[0155] The prediction module 802 is used to generate AEB calibration parameters of the vehicle under test according to the first parameter information and the second parameter information through prediction calculation of a pre-trained parameter prediction model. The parameter prediction model is obtained by training a meta-learning model based on test data of multiple vehicles in multiple AEB tests. The AEB calibration parameters are used to indicate the AEB configuration of the vehicle under test. The meta-learning model includes a prediction module and a parameter update module.
[0156] The sending module 803 is used to send the AEB calibration parameters to the vehicle under test.
[0157] Fig. 9 The schematic diagram of the structure of the second embodiment of the processing device for vehicle AEB calibration parameters provided in the embodiment of the present application is as follows: Fig. 9 As shown, the prediction module 802 specifically includes:
[0158] The preprocessing unit 901 is used to preprocess the first parameter information and the second parameter information, and perform data division to obtain a support set and a query set.
[0159] The first calculation unit 902 is used to input the support set into the parameter prediction model, and obtain the optimization parameters of the prediction module through the calculation of the final parameter update module.
[0160] The second calculation unit 903 is used to input the query set into the parameter prediction model, and generate AEB calibration parameters through calculation of the prediction module according to the optimization parameters.
[0161] Fig.10 The schematic diagram of the structure of the third embodiment of the processing device for vehicle AEB calibration parameters provided in the embodiment of the present application is as follows Fig.10 As shown, the vehicle AEB calibration parameter processing device 800 further includes:
[0162] The acquisition module 1001 is used to acquire test data of multiple vehicles in multiple AEB tests, where the test data includes first parameter information corresponding to the tested vehicle and second parameter information corresponding to the obstacle in each AEB test.
[0163] The preprocessing module 1002 is used to preprocess the test data to obtain a task set, which includes multiple task subsets. Each task subset includes test data of all AEB tests corresponding to the same obstacle, and each task subset includes a support subset and a query subset.
[0164] The training module 1003 is used to train the meta-learning model according to all task subsets in chronological order to obtain a parameter prediction model.
[0165] Fig.11The schematic diagram of the structure of the fourth embodiment of the processing device for vehicle AEB calibration parameters provided in the embodiment of the present application is as follows Fig.11 As shown, the training module 1003 includes:
[0166] The first training unit 1101 is used to input the support subset in the task subset into the prediction module, and train the prediction module through the parameter updating module to obtain a trained prediction module.
[0167] The second training unit 1102 is used to input the query subset in the task subset into the trained prediction module, train the parameter updating module, and obtain the trained parameter updating module.
[0168] The loop unit 1103 is used to repeat the method executed by the first training unit and the second training unit in chronological order until the training of all task subsets is completed to obtain a final parameter update module.
[0169] The configuration unit 1104 is used to configure the final parameter updating module in the meta-learning model to obtain a parameter prediction model.
[0170] Optionally, the first training unit 1101 is specifically configured to:
[0171] Step 1: The prediction module obtains the initial prediction parameters by learning and training the support subset;
[0172] Step 2: Input the initialization prediction parameters into the parameter update module, calculate the gradient of the loss function, and update the initialization prediction parameters according to the gradient of the loss function to obtain the updated prediction parameters;
[0173] Step 3: Configure the updated prediction parameters in the prediction module, continue to learn and train the support subset, and obtain new initialization prediction parameters;
[0174] Step 4: Configure the new initialized prediction parameters in the prediction module, repeat steps 1 to 4 until the preset number of iterations is reached to obtain the trained prediction module.
[0175] In a possible implementation, the second training unit 1102 is specifically configured to:
[0176] The trained prediction module predicts the query subset and obtains the prediction result;
[0177] The value of the loss function is calculated based on the prediction results and the real data in the query subset;
[0178] According to the chain rule and the value of the loss function, the gradient of the prediction result and the parameters of the parameter update module is calculated;
[0179] According to the prediction result and the gradient of the parameters of the parameter updating module, the parameters of the parameter updating module are updated, and the updated parameters are configured in the parameter updating module to obtain a trained parameter updating module.
[0180] In another possible implementation, based on the aforementioned device embodiments, the loss function is an AEB false alarm rate function.
[0181] The vehicle AEB calibration parameter processing device provided in each of the above embodiments is used to execute the vehicle AEB calibration parameter processing method in any of the above method embodiments. Its implementation principle and technical effect are similar and will not be repeated here.
[0182] Fig.12 A schematic diagram of the test platform structure provided in the embodiment of the present application is shown in FIG. Fig.12 As shown, the test platform 1200 includes: a processor 1202, a memory 1201 and a communication interface 1203 that are communicatively connected to the processor 1202;
[0183] The memory 1201 stores computer-executable instructions.
[0184] The processor 1202 executes the computer-executable instructions stored in the memory 1201 to implement the method for processing vehicle AEB calibration parameters in any one of the embodiments.
[0185] The communication interface 1203 is used to achieve communication connection with the vehicle under test and the obstacle.
[0186] An embodiment of the present application also provides a computer-readable storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are executed by a processor, they are used to implement the method for processing vehicle AEB calibration parameters in any one of the embodiments.
[0187] The computer-readable storage medium mentioned above can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory, electrically erasable programmable read-only memory, erasable programmable read-only memory, programmable read-only memory, read-only memory, magnetic memory, flash memory, magnetic disk or optical disk. The readable storage medium can be any available medium that can be accessed by a general or special purpose computer.
[0188] Optionally, a readable storage medium is coupled to a processor so that the processor can read information from the readable storage medium and write information to the readable storage medium. Of course, the readable storage medium can also be a component of the processor. The processor and the readable storage medium can be located in an application specific integrated circuit (ASIC). Of course, the processor and the readable storage medium can also exist in the device as discrete components.
[0189] An embodiment of the present application also provides a computer program product, which includes a computer program. The computer program is stored in a computer-readable storage medium. At least one processor can read the computer program from the computer-readable storage medium. When at least one processor executes the computer program, the technical solution provided by any of the above method embodiments can be implemented.
[0190] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention disclosed herein. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary techniques in the art that are not disclosed in the present application. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present application are indicated by the following claims.
[0191] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.
Claims
1. A method for processing vehicle AEB calibration parameters, It is characterized in that Applied to a test platform, the test platform is in communication connection with a vehicle under test and an obstacle in front of the vehicle under test; the method comprises: receiving first parameter information sent by the vehicle under test and second parameter information sent by the obstacle, the first parameter information including the initial vehicle speed and pre-pressure building time of the vehicle under test in multiple automatic emergency braking (AEB) tests, and the second parameter information including the braking distance of the vehicle under test in multiple AEB tests, speed change information of the vehicle under test during each AEB test, and deceleration change information of the vehicle under test; According to the first parameter information and the second parameter information, an AEB calibration parameter of the vehicle under test is generated by predicting and calculating a pre-trained parameter prediction model, wherein the parameter prediction model is obtained by training a meta-learning model based on test data of multiple vehicles in multiple AEB tests, and the AEB calibration parameter is used to indicate that the vehicle under test is configured with AEB, and the meta-learning model includes a prediction module and a parameter update module; The AEB calibration parameters are sent to the vehicle under test.
2. The method according to claim 1, It is characterized in that The parameter prediction model includes the prediction module and the final parameter update module; the AEB calibration parameters of the vehicle under test are generated by prediction calculation of the pre-trained parameter prediction model according to the first parameter information and the second parameter information, including: Preprocessing the first parameter information and the second parameter information, and performing data division to obtain a support set and a query set; Inputting the support set into the parameter prediction model, and obtaining the optimized parameters of the prediction module through calculation of the final parameter updating module; The query set is input into the parameter prediction model, and the AEB calibration parameters are generated according to the optimization parameters through calculation of the prediction module.
3. The method according to claim 2, It is characterized in that The method further comprises: Acquire test data of multiple vehicles in multiple AEB tests, wherein the test data includes first parameter information corresponding to the tested vehicle and second parameter information corresponding to the obstacle in each AEB test; Preprocessing the test data to obtain a task set, wherein the task set includes multiple task subsets, each task subset includes test data of all AEB tests corresponding to the same obstacle, and each task subset includes a support subset and a query subset; The meta-learning model is trained according to all task subsets in chronological order to obtain the parameter prediction model.
4. The method according to claim 3, It is characterized in that The step of training the meta-learning model according to all task subsets in chronological order to obtain the parameter prediction model includes: Step a: inputting the support subset in the task subset into the prediction module, and training the prediction module through the parameter updating module to obtain a trained prediction module; Step b: inputting the query subset in the task subset into the trained prediction module, training the parameter updating module, and obtaining the trained parameter updating module; Step c: repeating steps a to c in chronological order until the training of all task subsets is completed to obtain the final parameter update module; Step d: configuring the final parameter updating module in the meta-learning model to obtain the parameter prediction model.
5. The method according to claim 4, It is characterized in that The step of inputting the support subset in the task subset into the prediction module, and training the prediction module through the parameter updating module to obtain the trained prediction module comprises: Step 1: The prediction module obtains initialization prediction parameters by learning and training the support subset; Step 2: inputting the initialization prediction parameters into the parameter updating module, calculating the gradient of the loss function, and updating the initialization prediction parameters according to the gradient of the loss function to obtain updated prediction parameters; Step 3: configuring the updated prediction parameters in the prediction module, and continuing to learn and train the support subset to obtain new initialization prediction parameters; Step 4: configure the new initialized prediction parameters in the prediction module, repeat steps 1 to 4 until a preset number of iterations is reached, and obtain the trained prediction module.
6. The method according to claim 4, It is characterized in that The step of inputting the query subset in the task subset into the trained prediction module and training the parameter updating module to obtain the trained parameter updating module comprises: The trained prediction module predicts the query subset to obtain a prediction result; Calculate the value of the loss function based on the prediction result and the real data in the query subset; According to the chain rule and the value of the loss function, the gradient of the prediction result and the parameters of the parameter updating module is calculated; According to the prediction result and the gradient of the parameters of the parameter updating module, the parameters of the parameter updating module are updated, and the updated parameters are configured in the parameter updating module to obtain the trained parameter updating module.
7. The method according to claim 5 or 6, It is characterized in that The loss function is an AEB false alarm rate function.
8. A device for processing vehicle AEB calibration parameters, It is characterized in that The device comprises: A receiving module, used to receive first parameter information sent by the vehicle under test and second parameter information sent by the obstacle, wherein the first parameter information includes the initial vehicle speed and pre-pressure building time of the vehicle under test in multiple automatic emergency braking (AEB) tests, and the second parameter information includes the braking distance of the vehicle under test in multiple AEB tests, speed change information of the vehicle under test during each AEB test, and deceleration change information of the vehicle under test; a prediction module, configured to generate AEB calibration parameters of the vehicle under test according to the first parameter information and the second parameter information through prediction calculation of a pre-trained parameter prediction model, wherein the parameter prediction model is obtained by training a meta-learning model based on test data of multiple vehicles in multiple AEB tests, and the AEB calibration parameters are used to indicate that the vehicle under test is configured with AEB, and the meta-learning model includes a prediction module and a parameter updating module; A sending module is used to send the AEB calibration parameters to the vehicle under test.
9. A test platform, It is characterized in that include: A processor, a memory and a communication interface connected to the processor in communication; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory to implement the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores computer-executable instructions, which are used to implement the method according to any one of claims 1 to 7 when executed by a processor.
Citation Information
Cited By
Brake ABS function calibration method and device based on neural network
CN118883099A
A method and device for calibrating brake ABS function based on neural network
CN118883099B
