Whole vehicle calibration method and device, computer equipment, readable storage medium and program product
By optimizing the simulation model and parameters of the vehicle and combining the actual vehicle test results, the problem of consistency of test conditions under complex working conditions in the traditional vehicle calibration method is solved, which improves the efficiency and accuracy of vehicle calibration and reduces costs.
Patent Information
- Application Number
- CN202411198414.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-29
- Publication Date
- 2024-12-03
AI Technical Summary
When traditional vehicle calibration methods face complex and difficult to reproduce, the test conditions are difficult to maintain consistency, which makes optimization verification time-consuming and labor-intensive, and increases the difficulty and cost of vehicle calibration.
By obtaining the vehicle simulation model and calibration parameters, optimizing the simulation model and parameters, generating script files, and conducting actual vehicle tests under preset operating conditions, optimizing the parameters with simulation operation results, removing the uninfluential calculation logic, and simplifying the model structure to improve the accuracy of simulation results.
It improves parameter optimization efficiency, simplifies the model structure, provides accurate actual input parameters, improves the accuracy of simulation results, and reduces the difficulty and cost of vehicle calibration.
Smart Images

Figure CN119066774A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of new energy vehicle technology, and in particular to a vehicle calibration method, device, computer equipment, readable storage medium and program product. Background Art
[0002] With the rapid development of automobile technology, especially the rapid rise of new energy vehicle technology, the rapid progress in this field has also put forward higher requirements for the automobile development process, one of which is the significant shortening of the vehicle development cycle. As a key link in the automobile development process, vehicle calibration is of great importance. It involves the fine adjustment and optimization of various performance parameters of the vehicle to ensure that the vehicle can achieve the best performance in the actual use environment.
[0003] The traditional method mainly relies on a cycle of parameter optimization followed by field verification. This model faces many difficulties in actual operation. Since actual road tests are subject to a variety of external factors, such as temperature, humidity, road conditions, and driver operating habits, all of which have a significant impact on the test results, it is difficult to keep the test conditions for each optimization and verification completely consistent. In addition, traditional calibration methods often have difficulty in effectively responding to certain complex and difficult-to-reproduce working conditions, such as driving under extreme climate conditions and performance testing under specific road conditions. These working conditions are not only harsh in test conditions, but also time-consuming and labor-intensive, greatly increasing the difficulty and cost of vehicle calibration. Summary of the invention
[0004] Based on this, it is necessary to provide a vehicle calibration method, device, computer equipment, readable storage medium and program product that can improve the efficiency of parameter optimization in response to the above technical problems.
[0005] In a first aspect, the present application provides a vehicle calibration method, comprising:
[0006] Obtaining a whole vehicle simulation model and calibration parameters corresponding to the whole vehicle simulation model;
[0007] Optimize the calibration parameters and the vehicle simulation model according to the vehicle calibration target, obtain the corresponding target parameters and target simulation model, and generate the target script file according to the target parameters;
[0008] Conducting a real vehicle test on the vehicle under the preset working conditions, obtaining the real vehicle test results, and obtaining the extraction signal according to the real vehicle test results; the preset working conditions are determined according to the vehicle calibration target;
[0009] The extracted signal is used as an input signal of the target simulation model, and the target script file is read through the target simulation model to perform simulation operation and obtain the simulation operation result;
[0010] The target parameters are optimized according to the simulation results and the actual vehicle test results to obtain the vehicle calibration results.
[0011] In one embodiment, the vehicle simulation model includes a simulation calculation logic set; the step of optimizing the calibration parameters and the vehicle simulation model according to the vehicle calibration target to obtain the corresponding target parameters and the target simulation model includes:
[0012] According to the vehicle calibration target, the failure logic in the simulation calculation logic set is removed to obtain the target simulation model; the failure logic includes the calculation logic corresponding to the degree of association with the vehicle calibration target not meeting the preset conditions;
[0013] According to the vehicle calibration target, the fixed parameters in the calibration parameters are determined, and the fixed input parameters are assigned to constants to obtain the target parameters; the fixed parameters are parameters that remain unchanged during the operation of the target simulation model.
[0014] In one embodiment, the step of generating a target script file according to the target parameters includes:
[0015] Convert the target parameters into a visual format to obtain an intermediate document;
[0016] Create a blank script file, save the intermediate document reading code to the blank script file, and obtain the target script file.
[0017] In one embodiment, the step of performing a real vehicle test on a vehicle under a preset working condition and obtaining a real vehicle test result includes:
[0018] Configure the test software according to the target parameters and write the test software into the vehicle control unit;
[0019] When the communication with the vehicle control unit is normal, configure the data acquisition software;
[0020] Start the vehicle to conduct real vehicle testing under preset working conditions, and collect test data through data acquisition software;
[0021] The test data is preprocessed to obtain the actual vehicle test results.
[0022] In one embodiment, the step of optimizing the target parameters according to the simulation operation results and the actual vehicle test results to obtain the whole vehicle calibration results includes:
[0023] Obtain the degree of difference between the simulation run results and the actual vehicle test results;
[0024] When the difference is less than a preset value and there are abnormal results in the simulation running results, determining abnormal parameters in the target parameters that are related to the abnormal results;
[0025] Adjust the value of the abnormal parameter and update the target parameter, return to the step of generating the target script file according to the target parameter, and continue to execute until there is no abnormal result in the simulation running result;
[0026] The target parameters are used as the vehicle calibration results.
[0027] In one embodiment, the method further comprises:
[0028] Update the test software according to the vehicle calibration result, return to the step of writing the test software into the vehicle control unit, and continue to execute to obtain the current test result;
[0029] Verify the vehicle calibration results based on the current test results.
[0030] In a second aspect, the present application also provides a vehicle calibration device, comprising:
[0031] A parameter acquisition module, used to obtain the whole vehicle simulation model and the calibration parameters corresponding to the whole vehicle simulation model;
[0032] The model optimization module is used to optimize the calibration parameters and the vehicle simulation model according to the vehicle calibration target, obtain the corresponding target parameters and target simulation model, and generate the target script file according to the target parameters;
[0033] The real vehicle test module is used to perform a real vehicle test on the vehicle under a preset working condition, obtain the real vehicle test result, and obtain the extraction signal according to the real vehicle test result; the preset working condition is determined according to the whole vehicle calibration target;
[0034] A simulation operation module is used to use the extracted signal as the input signal of the target simulation model, read the target script file through the target simulation model to perform simulation operation, and obtain the simulation operation result;
[0035] The vehicle calibration module is used to optimize the target parameters according to the simulation operation results and the actual vehicle test results to obtain the vehicle calibration results.
[0036] In a third aspect, the present application further provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the method steps of any one of the first aspects are implemented.
[0037] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, which implements any one of the method steps in the first aspect when the computer program is executed by a processor.
[0038] In a fifth aspect, the present application further provides a computer program product, comprising a computer program, which implements any one of the method steps in the first aspect when executed by a processor.
[0039] The above-mentioned whole vehicle calibration method, device, computer equipment, readable storage medium and program product obtain the whole vehicle simulation model and the calibration parameters corresponding to the whole vehicle simulation model, optimize the calibration parameters and the whole vehicle simulation model according to the whole vehicle calibration target, obtain the corresponding target parameters and the target simulation model, and generate a target script file according to the target parameters, conduct a real vehicle test on the vehicle under preset working conditions to obtain the real vehicle test results, and obtain the extracted signal according to the real vehicle test results, and use the extracted signal as the input signal of the target simulation model, read the target script file through the target simulation model to perform simulation operation, obtain the simulation operation results, optimize the target parameters according to the simulation operation results and the real vehicle test results, and obtain the whole vehicle calibration results. It can remove the calculation logic in the model that has no effect on the simulation operation, simplify the model structure, and thereby improve the accuracy of the model. At the same time, by combining the results of the real vehicle test with the model, accurate actual input parameters can be provided when facing complex working conditions, thereby improving the accuracy of the simulation results. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0041] FIG1 is an application environment diagram of a vehicle calibration method according to an embodiment;
[0042] FIG2 is a schematic diagram of a flow chart of a vehicle calibration method in one embodiment;
[0043] FIG3 is a schematic diagram showing a comparison between simulation operation results and actual vehicle test results in one embodiment;
[0044] FIG4 is a schematic diagram showing a comparison between optimized simulation running results and actual vehicle test results in one embodiment;
[0045] FIG5 is a schematic diagram of a flow chart of a vehicle calibration method in another embodiment;
[0046] FIG6 is a structural block diagram of a vehicle calibration device in one embodiment;
[0047] FIG. 7 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0048] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0049] The vehicle calibration method provided in the embodiment of the present application can be applied in the application environment shown in FIG. 1. The terminal 102 communicates with the controller 104 through a network. The terminal 102 is used to obtain the vehicle simulation model and the calibration parameters corresponding to the vehicle simulation model, optimize the calibration parameters and the vehicle simulation model according to the vehicle calibration target, obtain the corresponding target parameters and the target simulation model, and generate a target script file according to the target parameters. The controller 104 controls the vehicle to perform a real vehicle test under the preset working conditions to obtain the real vehicle test results, and obtain the extraction signal according to the real vehicle test results, so as to use the extraction signal as the input signal of the target simulation model, read the target script file through the target simulation model to perform simulation operation, obtain the simulation operation results, optimize the target parameters according to the simulation operation results and the real vehicle test results, and obtain the vehicle calibration results. The terminal 102 can be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, Internet of Things devices and portable wearable devices. The Internet of Things devices can be smart speakers, smart TVs, smart air conditioners, smart vehicle-mounted devices, projection devices, etc. Portable wearable devices can be smart watches, smart bracelets, head-mounted devices, etc. The head mounted device may be a virtual reality (VR) device, an augmented reality (AR) device, smart glasses, etc. The controller 104 may be a vehicle control unit.
[0050] In an exemplary embodiment, as shown in FIG2 , a vehicle calibration method is provided, which is described by taking the method applied to the terminal 102 in FIG1 as an example, and includes the following steps 202 to 210. Among them:
[0051] S202: Obtain a whole vehicle simulation model and calibration parameters corresponding to the whole vehicle simulation model.
[0052] Optionally, the whole vehicle simulation model is constructed based on the actual physical and behavioral characteristics of the vehicle, including the vehicle's dynamic model, kinematic model, control system model, etc., to simulate the performance of the vehicle under different working conditions. When constructing the simulation model, a series of parameters need to be set to reflect the actual performance of the vehicle, including but not limited to engine performance parameters (such as maximum power, maximum torque, fuel consumption rate, etc.), transmission system parameters (such as transmission ratio, transmission efficiency, etc.), chassis parameters (such as suspension system stiffness, damping, etc.) and vehicle geometry parameters (such as vehicle weight, wind resistance coefficient, etc.).
[0053] S204: Optimize the calibration parameters and the whole vehicle simulation model according to the whole vehicle calibration target, obtain corresponding target parameters and target simulation model, and generate a target script file according to the target parameters.
[0054] Optionally, since the complete model involves a lot of calculation logic that is not used under normal conditions, such as fault mode, charging mode, etc., it is necessary to optimize the model to reduce unnecessary calculation burden and obtain the target simulation model. Taking the remaining mileage display model as an example, when optimizing its related models, it is only necessary to retain the logic and input-output information directly related to the remaining mileage calculation under normal conditions, and delete or simplify the parts that are irrelevant to normal calculation or have little impact, such as deleting the logic that is not required for normal conditions such as fault mode and charging mode, and retaining the basic input-output signals such as vehicle speed (VehSpd) and power battery voltage (BattVolt), current (BattCurr), power (SOC) and remaining mileage (DisplayRang). At the same time, the fixed input parameters in the calibration parameters are set to constants to obtain the target parameters. For example, vehicle configuration information, driving mode, charging status, and other signals that characterize vehicle configuration and status, among which the fixed input parameters may remain unchanged or change during the use of the vehicle, which has little impact on the remaining mileage calculation.
[0055] Optionally, when generating a target script file according to the target parameters, the target parameters need to be first converted into a format that can be directly consulted by the user, such as an Excel document. When the target parameters are subsequently adjusted, they can be modified directly through the Excel document. Afterwards, in order to facilitate the target simulation model to read the target parameters, a script file can be generated to read the target parameters in the Excel document into the target simulation model to achieve automated parameter setting.
[0056] S206: Performing a real vehicle test on the vehicle under a preset working condition, obtaining a real vehicle test result, and acquiring an extraction signal according to the real vehicle test result; the preset working condition is determined according to a whole vehicle calibration target.
[0057] Optionally, by conducting a real vehicle test on the vehicle under preset working conditions, collecting the data of the real vehicle test, and using it as input data during simulation, the target simulation model is closer to the state of the real vehicle operation during operation, wherein the preset working conditions are determined according to the vehicle calibration target, including temperature, urban area, suburban area, high-speed requirements, etc., and the actual working condition test is conducted under the preset working conditions to obtain the real vehicle test results. The extracted signal includes the input data determined according to the real vehicle test results.
[0058] S208: Using the extracted signal as an input signal of the target simulation model, reading the target script file through the target simulation model to perform simulation operation and obtain the simulation operation result.
[0059] Optionally, during simulation, the extracted signal is used as an input signal of a target simulation model, and the simulation operation of the target simulation model is started by reading the target parameters in the target script file through the target simulation model to obtain the simulation operation result.
[0060] S210: Optimize the target parameters according to the simulation operation results and the actual vehicle test results to obtain the vehicle calibration results.
[0061] Optionally, since actual operating condition data is used as input data during simulation operation, the obtained simulation operation results are closer to the actual vehicle test results. In some cases, there may be a large difference between the simulation operation results and the actual vehicle test results. At this time, the target parameters are adjusted and the simulation is repeated until accurate calibration parameters are obtained as the vehicle calibration results.
[0062] In the above-mentioned whole vehicle calibration method, by obtaining the whole vehicle simulation model and the calibration parameters corresponding to the whole vehicle simulation model, the calibration parameters and the whole vehicle simulation model are optimized according to the whole vehicle calibration target to obtain the corresponding target parameters and the target simulation model, and a target script file is generated according to the target parameters, and a real vehicle test is carried out on the vehicle under the preset working conditions to obtain the real vehicle test results, and the extraction signal is obtained according to the real vehicle test results, and the extracted signal is used as the input signal of the target simulation model, and the target script file is read through the target simulation model to perform simulation operation to obtain the simulation operation results, and the target parameters are optimized according to the simulation operation results and the real vehicle test results to obtain the whole vehicle calibration results. The calculation logic in the model that has no effect on the simulation operation can be removed, the model structure can be simplified, and the accuracy of the model can be improved. At the same time, by combining the results of the real vehicle test with the model, accurate actual input parameters can be provided when facing complex working conditions, thereby improving the accuracy of the simulation results.
[0063] In an exemplary embodiment, the whole vehicle simulation model includes a simulation calculation logic set; the calibration parameters and the whole vehicle simulation model are optimized according to the whole vehicle calibration target to obtain the corresponding target parameters and the target simulation model, including: according to the whole vehicle calibration target, removing the failure logic in the simulation calculation logic set to obtain the target simulation model; the failure logic includes the calculation logic corresponding to the degree of association with the whole vehicle calibration target that does not meet the preset conditions; according to the whole vehicle calibration target, determining the fixed parameters in the calibration parameters, and assigning the fixed input parameters to constants to obtain the target parameters; the fixed parameters are parameters that remain unchanged during the operation of the target simulation model.
[0064] Optionally, the vehicle simulation model contains a large amount of calculation logics, which are used to simulate the behavior of the vehicle under different working conditions. During the model optimization process, it is first necessary to analyze the degree of correlation between these calculation logics and the calibration targets of the vehicle. The calculation logics whose correlation with the calibration targets does not meet the preset conditions are considered to be "failed logics" because they have no substantial contribution to achieving the calibration targets or have a negative impact. Removing these failed logics can simplify the model and improve simulation efficiency and accuracy.
[0065] Optionally, calibration parameters are parameters used to adjust model behavior in the whole vehicle simulation model. Their values directly affect the accuracy of the simulation results. During the model optimization process, according to the whole vehicle calibration target and the characteristics of the simulation model, determine which parameters should remain unchanged during the simulation process, and assign these fixed parameters to constants. In this way, these parameters will not change in subsequent simulation processes, thereby simplifying the simulation process.
[0066] In this embodiment, by removing the failed logic in the simulation calculation logic set, unnecessary calculation amount is reduced, and the interference of these logics on the simulation results can be avoided, making the simulation results closer to the actual situation, thereby improving the simulation efficiency and accuracy.
[0067] In an exemplary embodiment, the step of generating a target script file according to target parameters includes: converting the target parameters into a visual format to obtain an intermediate document; creating a blank script file, saving the reading code of the intermediate document to the blank script file, and obtaining the target script file.
[0068] Optionally, when generating a target script file according to the target parameters, the target parameters need to be first converted into a format that can be directly consulted by the user, such as an Excel document. When the target parameters are subsequently adjusted, they can be modified directly through the Excel document. Afterwards, in order to facilitate the target simulation model to read the target parameters, a blank script file can be generated, and the target parameters in the Excel document can be saved into the blank script file to obtain the target script file, thereby realizing automated parameter setting.
[0069] In this embodiment, the viewing, review and modification of target parameters become more intuitive and convenient through the intermediate document in a visual format. When the target parameters need to be modified, it is only necessary to update the intermediate document without modifying the script file itself. This can quickly respond to the need for parameter changes and improve simulation efficiency.
[0070] In an exemplary embodiment, the steps of conducting an actual vehicle test on a vehicle under preset working conditions and obtaining actual vehicle test results include: configuring test software according to target parameters, and writing the test software to a vehicle control unit; configuring data acquisition software when communication with the vehicle control unit is normal; starting the vehicle under preset working conditions to conduct an actual vehicle test, and collecting test data through the data acquisition software; and preprocessing the test data to obtain actual vehicle test results.
[0071] Optionally, according to the target parameters, the test software is configured accordingly, including but not limited to the selection of test items, the setting of test standards, the determination of data acquisition frequency, etc. The configured test software is written into the vehicle control unit (VCU), which is the core of the vehicle electronic system and is responsible for receiving and processing information from sensors and other control modules, and controlling the vehicle based on this information. When the communication with the vehicle control unit is normal, the data acquisition software is configured, and the data acquisition software is responsible for real-time acquisition of test data from the vehicle control unit or other sensors. The vehicle is started under preset working conditions for real vehicle testing, and the test data is collected in real time through the data acquisition software and stored in a designated location for subsequent processing and analysis. Afterwards, the collected test data is preprocessed, including data cleaning (removing outliers, duplicate data, etc.), data transformation (such as normalization, standardization, etc.), feature selection or extraction, etc., so as to obtain more accurate and reliable real vehicle test results.
[0072] In this embodiment, by accurately configuring the test software and the data acquisition software, the accuracy and completeness of the test data can be ensured, thereby obtaining more reliable actual vehicle test results.
[0073] In an exemplary embodiment, the target parameters are optimized according to the simulation operation results and the actual vehicle test results to obtain the whole vehicle calibration results, including: obtaining the degree of difference between the simulation operation results and the actual vehicle test results; when the degree of difference is less than a preset value and there are abnormal results in the simulation operation results, determining the abnormal parameters in the target parameters that are related to the abnormal results; adjusting the values of the abnormal parameters, and updating the target parameters, returning to the step of generating a target script file according to the target parameters, and continuing to execute until there are no abnormal results in the simulation operation results; using the target parameters as the whole vehicle calibration results.
[0074] Optionally, the degree of difference between the simulation run results and the actual vehicle test results is obtained. When the degree of difference is less than a preset value, further analyze whether there are abnormal results in the simulation run results. The abnormal results may be manifested as significant deviations of data points, non-compliance with physical laws, or significant inconsistencies with other data points. Afterwards, determine the target parameters related to the abnormal results, adjust the values of the abnormal parameters, and update the target parameters. Regenerate the target script file based on the updated target parameters, and perform simulation run and actual vehicle test again. This process needs to be iterated repeatedly until there are no abnormal results in the simulation run results. When the difference between the simulation run results and the actual vehicle test results is within an acceptable range, and there are no abnormal results in the simulation run results, the current target parameters are used as the vehicle calibration results.
[0075] For example, as shown in Figure 3, Figure 3 is a comparison diagram of the simulation operation results and the actual vehicle test results. It can be seen from Figure 3 that since the input of the target simulation model is the data obtained from the actual vehicle test, the curve of the simulated display of the remaining mileage (DisplayRang_Sim) and the curve of the actual display of the remaining mileage (DisplayRang_Act) are consistent, that is, the difference between the simulation operation results and the actual vehicle test results is less than the preset value.
[0076] Furthermore, the simulation in Figure 3 shows a step-down trend in the remaining mileage. Since the remaining mileage in the simulation is related to parameters such as the battery SOC, vehicle speed, and currently displayed mileage, that is, the battery SOC, vehicle speed, and currently displayed mileage are abnormal parameters, the calibration parameters can be optimized by adjusting the values of the abnormal parameters and re-running the simulation. Among them, since the target parameters are saved in a visual format, the corresponding parameters in the table can be directly modified when adjusting.
[0077] For example, as shown in FIG4 , FIG4 is a comparison diagram of the optimized simulation running results and the actual vehicle test results. As can be seen from FIG4 , the curve of the optimized simulation display remaining mileage (DisplayRang_Sim) is more gentle in its downward trend than the curve of the actual display remaining mileage (DisplayRang_Act). Therefore, the target parameters at this time are used as the final vehicle calibration results.
[0078] In this embodiment, by combining the simulation operation results and the actual vehicle test results for optimization, the accuracy of the simulation results can be improved, thereby improving the accuracy of the calibration parameters.
[0079] In an exemplary embodiment, the method further includes: updating the test software according to the whole vehicle calibration result, returning to the step of writing the test software to the vehicle control unit, and continuing to execute to obtain the current test result; verifying the whole vehicle calibration result according to the current test result.
[0080] Optionally, the optimized vehicle calibration results are integrated into the test software, and the actual vehicle test is performed again to verify the validity of the vehicle calibration results.
[0081] In this embodiment, by updating the test software according to the whole vehicle calibration result and verifying the whole vehicle calibration result according to the current test result, the validity and credibility of the whole vehicle calibration result can be improved.
[0082] In an exemplary embodiment, as shown in FIG5 , a vehicle calibration method is provided, the method comprising the following steps:
[0083] Get the whole vehicle simulation model and the calibration parameters corresponding to the whole vehicle simulation model.
[0084] Among them, the whole vehicle simulation model includes a simulation calculation logic set.
[0085] According to the whole vehicle calibration target, the failure logic in the simulation calculation logic set is removed to obtain the target simulation model; the failure logic includes the calculation logic corresponding to the degree of association with the whole vehicle calibration target that does not meet the preset conditions; according to the whole vehicle calibration target, the fixed parameters in the calibration parameters are determined, and the fixed input parameters are assigned to constants to obtain the target parameters; the fixed parameters are parameters that remain unchanged during the operation of the target simulation model.
[0086] Convert the target parameters into a visual format to obtain an intermediate document; create a blank script file, save the reading code of the intermediate document to the blank script file, and obtain the target script file.
[0087] Configure the test software according to the target parameters and write the test software to the vehicle control unit; configure the data acquisition software when the communication with the vehicle control unit is normal; start the vehicle under the preset working conditions to perform actual vehicle testing, and collect test data through the data acquisition software; pre-process the test data to obtain the actual vehicle test results.
[0088] The extraction signal is obtained based on the actual vehicle test results; the preset working conditions are determined according to the vehicle calibration target.
[0089] The extracted signal is used as the input signal of the target simulation model, and the target script file is read through the target simulation model to perform simulation operation and obtain the simulation operation result.
[0090] Obtain the degree of difference between the simulation running results and the actual vehicle test results; when the degree of difference is less than the preset value and there are abnormal results in the simulation running results, determine the abnormal parameters in the target parameters that are related to the abnormal results; adjust the values of the abnormal parameters, and update the target parameters, return to the step of generating the target script file according to the target parameters, and continue to execute until there are no abnormal results in the simulation running results; use the target parameters as the vehicle calibration results.
[0091] Update the test software according to the vehicle calibration result, return to the step of writing the test software to the vehicle control unit, and continue to execute to obtain the current test result; verify the vehicle calibration result according to the current test result.
[0092] In this embodiment, by obtaining the whole vehicle simulation model and the calibration parameters corresponding to the whole vehicle simulation model, the calibration parameters and the whole vehicle simulation model are optimized according to the whole vehicle calibration target to obtain the corresponding target parameters and the target simulation model, and a target script file is generated according to the target parameters, and a real vehicle test is performed on the vehicle under preset working conditions to obtain the real vehicle test results, and an extracted signal is obtained according to the real vehicle test results, and the extracted signal is used as the input signal of the target simulation model, and the target script file is read through the target simulation model to perform simulation operation, and the simulation operation results are obtained. The target parameters are optimized according to the simulation operation results and the real vehicle test results to obtain the whole vehicle calibration results. The calculation logic in the model that has no effect on the simulation operation can be removed, the model structure can be simplified, and the accuracy of the model can be improved. At the same time, by combining the results of the real vehicle test with the model, accurate actual input parameters can be provided when facing complex working conditions, thereby improving the accuracy of the simulation results.
[0093] It should be understood that, although the steps in the flowcharts involved in the above embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above embodiments may include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0094] Based on the same inventive concept, the embodiment of the present application also provides a whole vehicle calibration device for implementing the whole vehicle calibration method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more embodiments of the whole vehicle calibration device provided below can refer to the limitations of the whole vehicle calibration method above, and will not be repeated here.
[0095] In an exemplary embodiment, as shown in FIG6 , a whole vehicle calibration device is provided, comprising: a parameter acquisition module 10, a model optimization module 20, a real vehicle test module 30, a simulation operation module 40 and a whole vehicle calibration module 50, wherein:
[0096] The parameter acquisition module 10 is used to acquire the whole vehicle simulation model and the calibration parameters corresponding to the whole vehicle simulation model.
[0097] The model optimization module 20 is used to optimize the calibration parameters and the whole vehicle simulation model according to the whole vehicle calibration target, obtain the corresponding target parameters and the target simulation model, and generate the target script file according to the target parameters.
[0098] The real vehicle test module 30 is used to perform a real vehicle test on the vehicle under a preset working condition, obtain the real vehicle test result, and obtain the extraction signal according to the real vehicle test result; the preset working condition is determined according to the whole vehicle calibration target.
[0099] The simulation operation module 40 is used to use the extracted signal as the input signal of the target simulation model, read the target script file through the target simulation model to perform simulation operation, and obtain the simulation operation result.
[0100] The vehicle calibration module 50 is used to optimize the target parameters according to the simulation operation results and the actual vehicle test results to obtain the vehicle calibration results.
[0101] In an exemplary embodiment, the whole vehicle simulation model includes a simulation calculation logic set; the model optimization module 20 is also used to remove the failure logic in the simulation calculation logic set according to the whole vehicle calibration target to obtain the target simulation model; the failure logic includes the calculation logic corresponding to the degree of association with the whole vehicle calibration target that does not meet the preset conditions; according to the whole vehicle calibration target, the fixed parameters in the calibration parameters are determined, and the fixed input parameters are assigned to constants to obtain the target parameters; the fixed parameters are parameters that remain unchanged during the operation of the target simulation model.
[0102] In an exemplary embodiment, the model optimization module 20 is also used to convert the target parameters into a visual format to obtain an intermediate document; create a blank script file, save the reading code of the intermediate document to the blank script file, and obtain a target script file.
[0103] In an exemplary embodiment, the actual vehicle test module 30 is also used to configure the test software according to the target parameters and write the test software to the vehicle control unit; configure the data acquisition software when the communication with the vehicle control unit is normal; start the vehicle under preset working conditions to perform actual vehicle testing, and collect test data through the data acquisition software; pre-process the test data to obtain the actual vehicle test results.
[0104] In an exemplary embodiment, the vehicle calibration module 50 is also used to obtain the degree of difference between the simulation operation results and the actual vehicle test results; when the degree of difference is less than a preset value and there are abnormal results in the simulation operation results, determine the abnormal parameters related to the abnormal results in the target parameters; adjust the values of the abnormal parameters, and update the target parameters, return to the step of generating a target script file according to the target parameters, and continue to execute until there are no abnormal results in the simulation operation results; use the target parameters as the vehicle calibration results.
[0105] In an exemplary embodiment, the vehicle calibration module 50 is also used to update the test software according to the vehicle calibration results, return to the step of writing the test software to the vehicle control unit, and continue to execute to obtain the current test results; verify the vehicle calibration results according to the current test results.
[0106] Each module in the above vehicle calibration device can be implemented in whole or in part by software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute the operations corresponding to each module.
[0107] In an exemplary embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be shown in FIG7. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit, and an input device. The processor, the memory, and the input / output interface are connected via a system bus, and the communication interface, the display unit, and the input device are connected to the system bus via the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner may be implemented through WIFI, a mobile cellular network, near field communication (NFC) or other technologies. When the computer program is executed by the processor, a whole vehicle calibration method is implemented. The display unit of the computer device is used to form a visually visible picture, which may be a display screen, a projection device, or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse.
[0108] Those skilled in the art will understand that the structure shown in FIG. 7 is merely a block diagram of a partial structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.
[0109] In an exemplary embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the following steps when executing the computer program: obtaining a whole vehicle simulation model and calibration parameters corresponding to the whole vehicle simulation model; optimizing the calibration parameters and the whole vehicle simulation model according to the whole vehicle calibration target to obtain corresponding target parameters and the target simulation model, and generating a target script file according to the target parameters; performing a real vehicle test on the vehicle under a preset working condition to obtain the real vehicle test result, and obtaining an extracted signal according to the real vehicle test result; the preset working condition is determined according to the whole vehicle calibration target; using the extracted signal as the input signal of the target simulation model, reading the target script file through the target simulation model to perform simulation operation, and obtaining the simulation operation result; optimizing the target parameters according to the simulation operation result and the real vehicle test result to obtain the whole vehicle calibration result.
[0110] In one embodiment, the whole vehicle simulation model includes a simulation calculation logic set; when the processor executes the computer program, the calibration parameters and the whole vehicle simulation model are optimized according to the whole vehicle calibration target to obtain the corresponding target parameters and the target simulation model, including: according to the whole vehicle calibration target, removing the failure logic in the simulation calculation logic set to obtain the target simulation model; the failure logic includes the calculation logic corresponding to the degree of association with the whole vehicle calibration target that does not meet the preset conditions; according to the whole vehicle calibration target, determining the fixed parameters in the calibration parameters, and assigning the fixed input parameters to constants to obtain the target parameters; the fixed parameters are parameters that remain unchanged during the operation of the target simulation model.
[0111] In one embodiment, the generation of a target script file based on target parameters involved in executing a computer program by a processor includes: converting the target parameters into a visual format to obtain an intermediate document; creating a blank script file, saving the reading code of the intermediate document to the blank script file, and obtaining the target script file.
[0112] In one embodiment, the processor executes a computer program that involves performing an actual vehicle test on a vehicle under preset working conditions to obtain actual vehicle test results, including: configuring the test software according to target parameters, and writing the test software to the vehicle control unit; configuring the data acquisition software when communication with the vehicle control unit is normal; starting the vehicle under preset working conditions to perform an actual vehicle test, and collecting test data through the data acquisition software; and preprocessing the test data to obtain actual vehicle test results.
[0113] In one embodiment, when a processor executes a computer program, the steps involved in optimizing target parameters according to simulation results and actual vehicle test results to obtain a whole vehicle calibration result include: obtaining the degree of difference between the simulation results and the actual vehicle test results; when the degree of difference is less than a preset value and there are abnormal results in the simulation results, determining abnormal parameters in the target parameters that are related to the abnormal results; adjusting the values of the abnormal parameters, and updating the target parameters, returning to the step of generating a target script file according to the target parameters, and continuing to execute until there are no abnormal results in the simulation results; and using the target parameters as the whole vehicle calibration result.
[0114] In one embodiment, when the processor executes the computer program, it also implements the following steps: updating the test software according to the whole vehicle calibration result, returning to the step of writing the test software to the vehicle control unit, and continuing to execute to obtain the current test result; verifying the whole vehicle calibration result according to the current test result.
[0115] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the following steps are implemented: obtaining a whole vehicle simulation model and calibration parameters corresponding to the whole vehicle simulation model; optimizing the calibration parameters and the whole vehicle simulation model according to the whole vehicle calibration target to obtain corresponding target parameters and the target simulation model, and generating a target script file according to the target parameters; performing a real vehicle test on the vehicle under preset working conditions to obtain real vehicle test results, and obtaining an extracted signal according to the real vehicle test results; the preset working conditions are determined according to the whole vehicle calibration target; using the extracted signal as the input signal of the target simulation model, reading the target script file through the target simulation model to perform simulation operation, and obtaining the simulation operation result; optimizing the target parameters according to the simulation operation result and the real vehicle test result to obtain the whole vehicle calibration result.
[0116] In one embodiment, the whole vehicle simulation model includes a simulation calculation logic set; when the computer program is executed by the processor, the calibration parameters and the whole vehicle simulation model are optimized according to the whole vehicle calibration target to obtain the corresponding target parameters and the target simulation model, including: according to the whole vehicle calibration target, removing the failure logic in the simulation calculation logic set to obtain the target simulation model; the failure logic includes the calculation logic corresponding to the degree of association with the whole vehicle calibration target that does not meet the preset conditions; according to the whole vehicle calibration target, determining the fixed parameters in the calibration parameters, and assigning the fixed input parameters to constants to obtain the target parameters; the fixed parameters are parameters that remain unchanged during the operation of the target simulation model.
[0117] In one embodiment, when a computer program is executed by a processor, generating a target script file based on target parameters involves: converting the target parameters into a visual format to obtain an intermediate document; creating a blank script file, saving the reading code of the intermediate document to the blank script file, and obtaining the target script file.
[0118] In one embodiment, when the computer program is executed by the processor, it involves performing an actual vehicle test on the vehicle under preset working conditions to obtain the actual vehicle test results, including: configuring the test software according to the target parameters, and writing the test software to the vehicle control unit; configuring the data acquisition software when the communication with the vehicle control unit is normal; starting the vehicle under preset working conditions to perform an actual vehicle test, and collecting test data through the data acquisition software; preprocessing the test data to obtain the actual vehicle test results.
[0119] In one embodiment, when a computer program is executed by a processor, the steps involved in optimizing target parameters according to simulation operation results and actual vehicle test results to obtain a whole vehicle calibration result include: obtaining the degree of difference between the simulation operation results and the actual vehicle test results; when the degree of difference is less than a preset value and there are abnormal results in the simulation operation results, determining abnormal parameters in the target parameters that are related to the abnormal results; adjusting the values of the abnormal parameters, and updating the target parameters, returning to the step of generating a target script file according to the target parameters, and continuing to execute until there are no abnormal results in the simulation operation results; and using the target parameters as the whole vehicle calibration result.
[0120] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: updating the test software according to the whole vehicle calibration result, returning to the step of writing the test software to the vehicle control unit, and continuing to execute to obtain the current test result; verifying the whole vehicle calibration result according to the current test result.
[0121] In one embodiment, a computer program product is provided, including a computer program, which implements the following steps when executed by a processor: obtaining a whole vehicle simulation model and calibration parameters corresponding to the whole vehicle simulation model; optimizing the calibration parameters and the whole vehicle simulation model according to the whole vehicle calibration target to obtain corresponding target parameters and the target simulation model, and generating a target script file according to the target parameters; performing a real vehicle test on the vehicle under preset working conditions to obtain real vehicle test results, and obtaining an extracted signal according to the real vehicle test results; the preset working conditions are determined according to the whole vehicle calibration target; using the extracted signal as the input signal of the target simulation model, reading the target script file through the target simulation model to perform simulation operation, and obtaining the simulation operation result; optimizing the target parameters according to the simulation operation result and the real vehicle test result to obtain the whole vehicle calibration result.
[0122] In one embodiment, the whole vehicle simulation model includes a simulation calculation logic set; when the computer program is executed by the processor, the calibration parameters and the whole vehicle simulation model are optimized according to the whole vehicle calibration target to obtain the corresponding target parameters and the target simulation model, including: according to the whole vehicle calibration target, removing the failure logic in the simulation calculation logic set to obtain the target simulation model; the failure logic includes the calculation logic corresponding to the degree of association with the whole vehicle calibration target that does not meet the preset conditions; according to the whole vehicle calibration target, determining the fixed parameters in the calibration parameters, and assigning the fixed input parameters to constants to obtain the target parameters; the fixed parameters are parameters that remain unchanged during the operation of the target simulation model.
[0123] In one embodiment, when a computer program is executed by a processor, generating a target script file based on target parameters involves: converting the target parameters into a visual format to obtain an intermediate document; creating a blank script file, saving the reading code of the intermediate document to the blank script file, and obtaining the target script file.
[0124] In one embodiment, when the computer program is executed by the processor, it involves performing an actual vehicle test on the vehicle under preset working conditions to obtain the actual vehicle test results, including: configuring the test software according to the target parameters, and writing the test software to the vehicle control unit; configuring the data acquisition software when the communication with the vehicle control unit is normal; starting the vehicle under preset working conditions to perform an actual vehicle test, and collecting test data through the data acquisition software; preprocessing the test data to obtain the actual vehicle test results.
[0125] In one embodiment, when a computer program is executed by a processor, the steps involved in optimizing target parameters according to simulation operation results and actual vehicle test results to obtain a whole vehicle calibration result include: obtaining the degree of difference between the simulation operation results and the actual vehicle test results; when the degree of difference is less than a preset value and there are abnormal results in the simulation operation results, determining abnormal parameters in the target parameters that are related to the abnormal results; adjusting the values of the abnormal parameters, and updating the target parameters, returning to the step of generating a target script file according to the target parameters, and continuing to execute until there are no abnormal results in the simulation operation results; and using the target parameters as the whole vehicle calibration result.
[0126] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: updating the test software according to the whole vehicle calibration result, returning to the step of writing the test software to the vehicle control unit, and continuing to execute to obtain the current test result; verifying the whole vehicle calibration result according to the current test result.
[0127] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.
[0128] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.
[0129] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A vehicle calibration method, It is characterized in that The method comprises: Obtaining a whole vehicle simulation model and calibration parameters corresponding to the whole vehicle simulation model; Optimizing the calibration parameters and the vehicle simulation model according to the vehicle calibration target, obtaining corresponding target parameters and target simulation model, and generating a target script file according to the target parameters; Performing a real vehicle test on the vehicle under a preset working condition to obtain a real vehicle test result, and acquiring an extraction signal according to the real vehicle test result; the preset working condition is determined according to the whole vehicle calibration target; Using the extracted signal as an input signal of the target simulation model, reading the target script file through the target simulation model to perform simulation operation, and obtaining a simulation operation result; The target parameters are optimized according to the simulation operation results and the actual vehicle test results to obtain the whole vehicle calibration results.
2. The method according to claim 1, It is characterized in that The whole vehicle simulation model includes a simulation calculation logic set; the calibration parameters and the whole vehicle simulation model are optimized according to the whole vehicle calibration target to obtain corresponding target parameters and target simulation model, including: According to the vehicle calibration target, the failure logic in the simulation calculation logic set is removed to obtain a target simulation model; the failure logic includes the calculation logic corresponding to the degree of association with the vehicle calibration target not satisfying the preset condition; According to the whole vehicle calibration target, the fixed parameters in the calibration parameters are determined, and the fixed input parameters are assigned to constants to obtain target parameters; the fixed parameters are parameters that remain unchanged during the operation of the target simulation model.
3. The method according to claim 2, It is characterized in that The step of generating a target script file according to the target parameters includes: Convert the target parameters into a visual format to obtain an intermediate document; Create a blank script file, save the reading code of the intermediate document into the blank script file, and obtain the target script file.
4. The method according to claim 1, It is characterized in that The actual vehicle test is performed on the vehicle under the preset working conditions to obtain the actual vehicle test results, including: configuring the test software according to the target parameters, and writing the test software into the vehicle control unit; When the communication with the vehicle control unit is normal, configure the data acquisition software; Starting the vehicle to perform a real vehicle test under preset working conditions, and collecting test data through the data acquisition software; The test data is preprocessed to obtain actual vehicle test results.
5. The method according to claim 1, It is characterized in that The optimizing the target parameters according to the simulation operation results and the actual vehicle test results to obtain the vehicle calibration results includes: Obtaining the degree of difference between the simulation running result and the actual vehicle test result; When the difference is less than a preset value and there is an abnormal result in the simulation running result, determining an abnormal parameter in the target parameter that is related to the abnormal result; Adjust the value of the abnormal parameter, and update the target parameter, return to the step of generating a target script file according to the target parameter, and continue to execute until there is no abnormal result in the simulation operation result; The target parameters are used as the vehicle calibration results.
6. The method according to claim 4, It is characterized in that The method further comprises: updating the test software according to the vehicle calibration result, returning to the step of writing the test software into the vehicle control unit, and continuing to execute to obtain the current test result; The whole vehicle calibration result is verified according to the current test result.
7. A vehicle calibration device, It is characterized in that The device comprises A parameter acquisition module, used to acquire a whole vehicle simulation model and calibration parameters corresponding to the whole vehicle simulation model; A model optimization module, used to optimize the calibration parameters and the vehicle simulation model according to the vehicle calibration target, obtain corresponding target parameters and target simulation model, and generate a target script file according to the target parameters; A real vehicle test module, used to perform a real vehicle test on the vehicle under preset working conditions, obtain the real vehicle test results, and obtain the extraction signal according to the real vehicle test results; The preset working condition is determined according to the vehicle calibration target; A simulation operation module, used for taking the extracted signal as an input signal of the target simulation model, reading the target script file through the target simulation model to perform simulation operation, and obtaining a simulation operation result; The whole vehicle calibration module is used to optimize the calibration parameters according to the simulation operation results and the actual vehicle test results to obtain the whole vehicle calibration results.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program. It is characterized in that When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.
9. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
10. A computer program product comprising a computer program, It is characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
Citation Information
Cited By
Test method and device of control system, electronic equipment and storage medium
CN119668234A
Modelica-based vehicle system simulation parameter adjustment method and device
CN120216345A
Working condition generation method, device and equipment, readable storage medium and program product
CN120951594A
