Vehicle chassis height calibration method and device, computer equipment, readable storage medium and program product
By receiving and matching fault data in the vehicle chassis height calibration system and obtaining the vehicle tire height when matching fails for calibration, the problem of low fault judgment efficiency and accuracy in the prior art is solved, and more efficient and accurate vehicle chassis height calibration is achieved.
Patent Information
- Application Number
- CN202411744941.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-29
- Publication Date
- 2025-03-14
- Estimated Expiration
- 2044-11-29
AI Technical Summary
The prior art is difficult to effectively judge sensor failures and operating system failures before vehicle chassis height calibration, resulting in low judgment efficiency and accuracy.
By receiving the height calibration request of the vehicle chassis, a fault acquisition request is sent to the chassis control module, and the current fault data and the preset fault data set are received. If the matching fails, the vehicle tire height is obtained and sent to the chassis control module for height calibration.
It has achieved improvements in fault diagnosis efficiency and accuracy of vehicle chassis height calibration, reduced the dependence of manual judgment, and improved the efficiency and accuracy of fault judgment.
Smart Images

Figure CN119618130A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle technology, and in particular to a method, device, computer equipment, computer-readable storage medium and computer program product for calibrating the height of a vehicle chassis. Background Art
[0002] With the continuous improvement of vehicle chassis technology, the height calibration of vehicle chassis has become more and more stringent for the equipment and maintenance personnel of after-sales service centers. The height calibration of vehicle chassis mainly refers to determining the vertical distance between the most protruding part of the vehicle chassis and the ground. This parameter is also called the minimum ground clearance or the ground clearance of the car. This data has an important impact on the vehicle's passability, stability and driving experience.
[0003] Currently, before calibrating the height of the vehicle chassis, it is often necessary to determine whether the vehicle currently has related sensor failures or operating system failures. There is a lot of fault data involved. It is inefficient to rely solely on after-sales maintenance personnel to make judgments, and the accuracy of the judgment cannot be guaranteed. Summary of the invention
[0004] Based on this, it is necessary to provide a vehicle chassis height calibration method, device, computer equipment, computer-readable storage medium and computer program product that can improve the fault diagnosis efficiency and accuracy of vehicle chassis height calibration in order to address the above technical problems.
[0005] In a first aspect, the present application provides a method for calibrating the height of a vehicle chassis, the method comprising:
[0006] receiving a height calibration request for a chassis of the vehicle, and sending a fault acquisition request to a chassis control module in the vehicle based on the height calibration request;
[0007] receiving current fault data of the chassis control module sent by the chassis control module in response to the fault acquisition request;
[0008] Matching the current fault data with a preset fault data set, wherein the preset fault data set includes target fault data of a height sensor;
[0009] If the current fault data fails to match the target fault data, the vehicle tire height is obtained and sent to the chassis control module to instruct the chassis control module to calibrate the height of the vehicle chassis based on the vehicle tire height. The vehicle tire height refers to the height of the center of the vehicle tire from the ground.
[0010] In one embodiment, matching the current fault data with a preset fault data set includes:
[0011] Calculate the matching degree between the current fault data and each fault data in the preset fault data set;
[0012] Based on the calculation result, determine the fault data whose matching degree with the current fault data is greater than the matching degree threshold;
[0013] In a case where the fault data having a value greater than the matching degree threshold is different from the target fault data, it is determined that the current fault data fails to match the target fault data.
[0014] In one embodiment, before obtaining the vehicle tire height, the method further includes:
[0015] If the current fault data fails to match the target fault data, obtaining the operation authority of the chassis controller;
[0016] receiving a first height calibration state sent by the chassis controller, where the first height calibration state is used to indicate whether the operation authority has been successfully acquired;
[0017] In the case where the first height calibration status indicates that the operation authority has been successfully obtained, executing the step of obtaining the vehicle tire height;
[0018] Accordingly, sending the vehicle tire height to the chassis control module includes:
[0019] Based on the operation authority, the vehicle tire height is sent to the chassis control module.
[0020] In one embodiment, obtaining the vehicle tire height includes:
[0021] Increasing an initial count value of a first counter to obtain an updated count value of the first counter;
[0022] Determining whether the updated count value of the first counter is greater than a preset first count limit;
[0023] When the count value is not greater than a preset first count limit, determining whether the first altitude calibration state indicates that the operation authority has been successfully obtained;
[0024] If yes, then obtain the vehicle tire height;
[0025] If not, use the updated count value of the first counter as the initial count value of the first counter, return to the step of receiving the first height calibration status sent by the chassis controller and continue to execute until the first height calibration status indicates that the operation authority has been successfully obtained, or the updated count value of the first counter is greater than the preset first count limit.
[0026] In one of the embodiments, the operation authority includes access authority of the chassis controller and height calibration authority of the chassis controller.
[0027] In one embodiment, after sending the vehicle tire height to the chassis control module, the method further includes:
[0028] receiving a second height calibration state sent by the chassis controller, wherein the second height calibration state is used to indicate whether the vehicle tire height has been successfully written into the chassis control module;
[0029] Increasing an initial count value of the second counter to obtain an updated count value of the second counter;
[0030] Determining whether the updated count value of the second counter is greater than a preset second count limit;
[0031] In the case where the height is not greater than a preset second count limit, determining whether the vehicle tire height has been successfully written into the chassis control module based on the second height calibration state;
[0032] If yes, display the prompt of successful calibration;
[0033] If not, use the updated count value of the second counter as the initial count value of the second counter, return to the step of receiving the second height calibration status sent by the chassis controller and continue to execute until the vehicle tire height has been successfully written into the chassis control module or the updated count value of the second counter is greater than the preset second count limit.
[0034] In a second aspect, the present application also provides a height calibration device for a vehicle chassis, the device comprising:
[0035] A first receiving module, configured to receive a height calibration request for a vehicle chassis, and send a fault acquisition request to a chassis control module in the vehicle based on the height calibration request;
[0036] a second receiving module, configured to receive current fault data of the chassis control module sent by the chassis control module in response to the fault acquisition request;
[0037] A matching module, used for matching the current fault data with a preset fault data set, wherein the preset fault data set includes target fault data of a height sensor;
[0038] An acquisition module is used to acquire the vehicle tire height if the current fault data fails to match the target fault data, and send the vehicle tire height to the chassis control module to instruct the chassis control module to calibrate the height of the vehicle chassis based on the vehicle tire height. The vehicle tire height refers to the height of the center of the vehicle tire from the ground.
[0039] 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 the processor implements the following steps of the method of each embodiment when executing the computer program.
[0040] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the following steps of the method of each embodiment.
[0041] In a fifth aspect, the present application also provides a computer program product, including a computer program, which implements the following steps of the method of each embodiment when executed by a processor.
[0042] The above-mentioned vehicle chassis height calibration method, device, computer equipment, computer-readable storage medium and computer program product, after receiving a vehicle chassis height calibration request, based on the height calibration request, sends a fault acquisition request to a chassis control module in the vehicle, then receives the current fault data of the chassis control module sent by the chassis control module in response to the fault acquisition request, matches the current fault data with a preset fault data set, and realizes automatic matching of the current fault data with the preset fault data set. Since the preset fault data set includes the target fault data of the height sensor, when the current fault data fails to match the target fault data of the height sensor, it can be determined that the vehicle does not have a height sensor fault, thereby obtaining the vehicle tire height, and sending the vehicle tire height to the chassis control module to instruct the chassis control module to calibrate the height of the vehicle chassis based on the vehicle tire height. The vehicle tire height refers to the height of the center of the vehicle tire from the ground, thereby completing the height calibration of the vehicle chassis. Compared with the existing solution, the automatic matching of the fault data is realized to determine whether there is a height sensor fault, so that when there is no height sensor fault, the height calibration of the vehicle chassis is completed, and there is no need to manually determine whether there is a height sensor fault, thereby improving the fault judgment efficiency and fault judgment accuracy. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] 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.
[0044] Figure 1 A schematic diagram of a process flow of a method for calibrating the height of a vehicle chassis in one embodiment;
[0045] Figure 2 A schematic flow chart of a method for calibrating the height of a vehicle chassis in another embodiment;
[0046] Figure 3 A schematic flow chart of a method for calibrating the height of a vehicle chassis in another embodiment;
[0047] Figure 4 is a structural block diagram of a height calibration device for a vehicle chassis in one embodiment;
[0048] Figure 5 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0049] 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.
[0050] In one embodiment, Figure 1 As shown, a method for calibrating the height of a vehicle chassis is provided. This embodiment uses the method applied to a fault diagnosis device as an example. The fault diagnosis device can be a device in the vehicle or a device independent of the vehicle. In this embodiment, the method includes the following steps:
[0051] Step 102: receiving a height calibration request of a vehicle chassis, and sending a fault acquisition request to a chassis control module in the vehicle based on the height calibration request;
[0052] The height calibration request refers to a request for height calibration of the vehicle chassis;
[0053] In this embodiment, after the vehicle's ignition system is on and connected to the fault diagnosis device, the fault diagnosis device loads the information of the chassis control module, and the user can send a height calibration request for the vehicle chassis to the fault diagnosis device through the fault diagnosis device interface (if the fault diagnosis device is a partial device in the vehicle, the fault diagnosis device interface is the vehicle computer interface), for example, the user clicks the "height calibration" button in the interface.
[0054] After receiving the height calibration request, the fault diagnosis device sends a fault acquisition request to the chassis control module in the vehicle. The fault acquisition request is used to obtain all fault data stored in the chassis control module. The chassis control module is a module that controls the vehicle chassis and can control and adjust the height of the vehicle chassis.
[0055] A variety of sensors or devices are installed in the vehicle to monitor the data of the vehicle chassis. The chassis control module can interact with these various sensors or devices to control the various sensors or devices, and the chassis control module can periodically collect and store fault data from various sensors or devices. All fault data stored in the above chassis control module are fault data of various sensors or devices.
[0056] Step 104, receiving current fault data of the chassis control module sent by the chassis control module in response to the fault acquisition request;
[0057] The fault diagnosis device first clears all stored fault data, and then receives the current fault data of the chassis control module sent by the chassis control module. The current fault data refers to the fault data of the above-mentioned multiple sensors or devices stored in the chassis control module at the current moment.
[0058] Step 106: Match the current fault data with a preset fault data set, where the preset fault data set includes target fault data of the height sensor;
[0059] The preset fault data set includes multiple fault data, and the multiple fault data include the fault data of the above-mentioned multiple sensors or the fault data of the device. A sensor may have multiple possible faults, and one possible fault corresponds to one or more fault data.
[0060] Traverse the fault data set and match the current fault data with each fault data in the preset fault data set. If the matching degree between the current fault data and a certain fault data is greater than the matching degree threshold, the current fault data is considered to match the fault data. Otherwise, the current fault data is considered to not match the fault data.
[0061] The preset fault data set includes target fault data of the height sensor, and the target fault data includes various fault data representing the fault of the height sensor.
[0062] Step 108: If the current fault data fails to match the target fault data, the vehicle tire height is obtained and sent to the chassis control module to instruct the chassis control module to calibrate the height of the vehicle chassis based on the vehicle tire height. The vehicle tire height refers to the height of the center of the vehicle tire from the ground.
[0063] If the current fault data fails to match the target fault data, it means that there is no height sensor fault, and the vehicle tire height is obtained. In this embodiment, obtaining the vehicle tire height may be receiving the vehicle tire height input by the user, and the vehicle tire height is the vehicle tire height that the user wants to set; obtaining the vehicle tire height may also be calculating the most suitable vehicle tire height at present through a device installed on the vehicle, and automatically inputting it into the fault diagnosis device.
[0064] The vehicle tire height refers to the height of all tires in the vehicle. For example, for a four-wheeled vehicle, it refers to the height of the left front tire, left rear tire, right front tire and right rear tire.
[0065] The vehicle tire height is sent to the chassis control module, so that the height of the vehicle chassis is written into the chassis control module, thereby completing the height calibration of the vehicle chassis. The chassis control module then controls the vehicle tires to adjust to the corresponding tire height, thereby adjusting the vehicle chassis height.
[0066] Vehicle tires are generally round, and the center of the vehicle tire refers to the center point of the circle.
[0067] In this embodiment, after receiving a height calibration request for the vehicle chassis, based on the height calibration request, a fault acquisition request is sent to a chassis control module in the vehicle, and then the current fault data of the chassis control module sent by the chassis control module in response to the fault acquisition request is received, and the current fault data is matched with a preset fault data set, thereby realizing automatic matching of the current fault data with the preset fault data set. Since the preset fault data set includes target fault data of the height sensor, when the current fault data fails to match the target fault data of the height sensor, it can be determined that the vehicle does not have a height sensor fault, thereby obtaining the vehicle tire height, and sending the vehicle tire height to the chassis control module to instruct the chassis control module to perform height calibration of the vehicle chassis based on the vehicle tire height. The vehicle tire height refers to the height of the center of the vehicle tire from the ground, thereby completing the height calibration of the vehicle chassis. Compared with the existing solution, automatic matching of fault data is realized to determine whether there is a height sensor fault, thereby completing the height calibration of the vehicle chassis when there is no height sensor fault, and there is no need to manually determine whether there is a height sensor fault, thereby improving the fault judgment efficiency and fault judgment accuracy.
[0068] In this embodiment, after obtaining the vehicle tire height and sending the vehicle tire height to the chassis control module for vehicle chassis height calibration, the chassis controller needs to adjust the vehicle chassis to the calibrated height, and the height sensor is used to collect the height of the vehicle chassis. Therefore, this application needs to ensure that the height sensor is not faulty. After the vehicle chassis is adjusted to the calibrated height, the height sensor collects the height of the vehicle chassis, and compares the height collected by the height sensor with the calibrated height of the vehicle chassis to determine whether the vehicle chassis is successfully adjusted to the calibrated height.
[0069] In one of the embodiments, matching current fault data with a preset fault data set includes: calculating the matching degree between the current fault data and each fault data in the preset fault data set; based on the calculation result, determining fault data whose matching degree with the current fault data is greater than a matching degree threshold; when the fault data greater than the matching degree threshold is different from the target fault data, determining that the current fault data fails to match the target fault data.
[0070] Obtaining the fault data to be matched from the preset fault data set; calculating the matching degree between the current fault data and the fault data to be matched, and if the matching degree is greater than the matching degree threshold, determining whether the fault data to be matched is the target fault data; if they are the same data, determining that the current fault data and the target fault data are matched successfully, and the vehicle has a height sensor fault; if they are not the same data, determining that the current fault data and the target fault data are matched unsuccessfully, and the vehicle does not have a height sensor fault;
[0071] The next fault data is obtained from the preset fault data set, and the fault data to be matched is updated with the next fault data. The step of calculating the matching degree between the current fault data and the fault data to be matched is returned and continued until all the fault data in the preset fault data set are traversed.
[0072] In this embodiment, a method for automatically matching fault data to determine whether there is a height sensor fault is specifically described. When there is no height sensor fault, the vehicle height calibration is completed, and there is no need to manually determine whether there is a height sensor fault, thereby improving the fault judgment efficiency and accuracy.
[0073] If the current fault data fails to match the target fault data, it is determined that there is no height sensor fault, and the chassis height calibration restriction removal operation is performed, which specifically includes: obtaining security access rights, removing height calibration restrictions, and reading the first height calibration status. Specifically:
[0074] Reference Figure 2 , the application method comprises the following steps:
[0075] Step 202: receiving a height calibration request of a vehicle chassis, and sending a fault acquisition request to a chassis control module in the vehicle based on the height calibration request;
[0076] Step 204, receiving current fault data of the chassis control module sent by the chassis control module in response to the fault acquisition request;
[0077] Step 206: Match the current fault data with a preset fault data set, where the preset fault data set includes target fault data of the height sensor;
[0078] In one of the embodiments, before obtaining the vehicle tire height, the method also includes: step 208, if the current fault data fails to match the target fault data, obtaining the operation authority of the chassis controller; step 210, receiving the first height calibration status sent by the chassis controller, the first height calibration status is used to indicate whether the operation authority has been successfully obtained; step 212, when the first height calibration status indicates that the operation authority has been successfully obtained, executing the step of obtaining the vehicle tire height; accordingly, sending the vehicle tire height to the chassis control module, including: step 214, based on the operation authority, sending the vehicle tire height to the chassis control module.
[0079] In one of the embodiments, the operation authority includes access authority of the chassis controller and height calibration authority of the chassis controller.
[0080] In this embodiment, the operation permission of the chassis controller is obtained, and the operation permission refers to the security access permission and height calibration permission of the chassis controller. The security access permission refers to the permission of the fault diagnosis device to access the chassis controller. The height calibration permission of the chassis controller can be obtained by removing the restriction on the fault diagnosis device writing the vehicle tire height into the chassis controller.
[0081] The operation of obtaining the operating authority of the chassis controller may succeed or fail, so it is necessary to receive the first height calibration state sent by the chassis controller, and determine whether the above operating authority has been successfully obtained through the first height calibration state;
[0082] When the first height calibration status indicates that the above-mentioned operation authority has been successfully obtained, the fault diagnosis device obtains the vehicle tire height, the fault diagnosis device accesses the chassis controller based on the security access authority, and writes the vehicle tire height into the chassis controller based on the height calibration authority.
[0083] In this embodiment, it is necessary to cyclically receive the first height calibration status sent by the chassis controller until the first height calibration status indicates that the operation authority has been successfully obtained, and then execute the step of obtaining the vehicle tire height. Specifically:
[0084] In one embodiment, obtaining the vehicle tire height includes: increasing the initial count value of the first counter to obtain an updated count value of the first counter; determining whether the updated count value of the first counter is greater than a preset first count limit; if it is not greater than the preset first count limit, determining whether the first height calibration state indicates that the operation authority has been successfully obtained; if so, obtaining the vehicle tire height; if not, using the updated count value of the first counter as the initial count value of the first counter, returning to the step of receiving the first height calibration state sent by the chassis controller and continuing to execute until the first height calibration state indicates that the operation authority has been successfully obtained, or the updated count value of the first counter is greater than the preset first count limit.
[0085] After receiving the first height calibration state sent by the chassis controller, after waiting for a preset delay time (e.g., 100ms), the initial count value of the first counter is increased to obtain an updated count value of the first counter. It is determined whether the updated count value of the first counter is greater than the preset first count limit. If it is greater than the preset first count limit, it is determined that the fault management device has not successfully obtained the operation authority of the chassis controller, and a prompt message is displayed to the user to prompt the user that the operation authority of the chassis controller has failed to be obtained;
[0086] If it is not greater than the preset first count limit, determine whether the first height calibration status indicates that the operation authority has been successfully obtained. If it indicates that the operation authority has been successfully obtained, obtain the vehicle tire height. If it indicates that the operation authority has not been successfully obtained, return to the loop, that is, use the updated count value as the initial count value of the first counter, receive the first height calibration status sent by the chassis controller and continue to execute until the first height calibration status indicates that the operation authority has been successfully obtained, or the updated count value of the first counter is greater than the preset first count limit and stop the loop.
[0087] In this embodiment, compared with the existing method of controlling the chassis controller based on user input data to calibrate the height of the vehicle chassis, the present application determines whether the fault diagnosis device has received the operating authority of the chassis controller through multiple cycles, and performs the vehicle chassis height calibration after the fault diagnosis device has received the operating authority of the chassis controller, thereby ensuring the safety of the calibration.
[0088] In this application, after sending the vehicle tire height to the chassis control module, it is necessary to further confirm whether the vehicle tire height is successfully written into the chassis control module. Specifically:
[0089] In one embodiment, after sending the vehicle tire height to the chassis control module, the method further includes: receiving a second height calibration status sent by the chassis controller, the second height calibration status being used to indicate whether the vehicle tire height has been successfully written into the chassis control module; increasing the initial count value of the second counter to obtain an updated count value of the second counter; determining whether the updated count value of the second counter is greater than a preset second count limit; if not greater than the preset second count limit, determining whether the vehicle tire height has been successfully written into the chassis control module based on the second height calibration status; if so, displaying a calibration success prompt; if not, using the updated count value of the second counter as the initial count value of the second counter, returning to the step of receiving the second height calibration status sent by the chassis controller and continuing to execute until the vehicle tire height has been successfully written into the chassis control module or the updated count value of the second counter is greater than the preset second count limit.
[0090] After the fault diagnosis device sends the vehicle tire height to the chassis control module, the chassis control module stores the vehicle tire height, and the fault diagnosis device receives the second height calibration state sent by the chassis controller, and after a delay of a preset time length (e.g., 100ms), increases the initial count value of the second counter to obtain an updated count value of the second counter;
[0091] Determine whether the updated count value of the second counter is greater than the preset second count limit. If so, display a prompt message to prompt the user that the vehicle tire height writing fails. If not, determine whether the vehicle tire height has been successfully written into the chassis control module. If so, display a calibration success prompt and end the process.
[0092] If the vehicle tire height is not successfully written into the chassis control module, the updated count value of the second counter is used as the initial count value of the second counter, and the loop is returned, that is, returning to the step of receiving the second height calibration status sent by the chassis controller and continuing to execute until the vehicle tire height is successfully written into the chassis control module, or the updated count value of the second counter is greater than the preset second count limit.
[0093] In this embodiment, compared with the existing method of controlling the chassis controller based on user input data to calibrate the height of the vehicle chassis, the present application avoids calibration failures by looping multiple times to determine whether the vehicle tire height is successfully written into the chassis control module, thereby ensuring the reliability of the calibration.
[0094] In summary, refer to Figure 3 The overall process of this application is as follows:
[0095] When the vehicle is in the ignition system on (IG ON) state, the vehicle is connected to the after-sales diagnostic instrument (corresponding to the above fault diagnosis equipment) to perform the height calibration function. After the diagnostic instrument clears the stored fault code, it reads the fault code of the chassis controller (corresponding to the above chassis control module);
[0096] Match the read fault code with the preset fault code set to determine whether there is a height sensor fault code; if there is a height sensor fault code, determine whether the fault code status is a fault at the current moment. If it is a fault at the current moment, display the fault code and end the process to prompt the user to return the vehicle for repair;
[0097] If there is no height sensor fault code or it is not a fault at the current moment, unlock the chassis controller security access right, release the chassis controller height calibration restriction, read the chassis controller height calibration status, and after a delay of 100ms, add 1 to the counter (corresponding to the first counter mentioned above) to determine whether the counter value has exceeded 10 times. If it has exceeded 10 times, determine that the calibration has timed out, and prompt the user to re-execute the process; if it has not exceeded 10 times, parse the response parameters to determine whether the current calibration status meets the calibration requirements, specifically to determine whether the chassis controller height calibration restriction has been successfully released;
[0098] If the calibration requirements are not met, the process returns to the step of reading the chassis controller height calibration status and continues to execute. The counter count value exceeds 10 times or meets the calibration requirements.
[0099] If the calibration requirements are met, the user is prompted to enter the vehicle calibration height, including the left front tire height, the left rear tire height, the right front tire height, and the right rear tire height.
[0100] Write the vehicle's calibrated height into the chassis controller, read the chassis controller's height calibration status, and after a delay of 100ms, add 1 to the counter (corresponding to the second counter mentioned above) to determine whether the counter value has exceeded 10 times. If it has exceeded 10 times, determine that the calibration has timed out and prompt the user to re-execute the process; if it has not exceeded 10 times, parse the response parameters to determine whether the calibration has been successful, specifically, determine whether the vehicle's calibrated height has been successfully written into the chassis controller. If it has been successfully calibrated, the calibration is completed and the process ends. If it has not been successfully calibrated, return to the step of reading the chassis controller's height calibration status and continue to execute until the counter value exceeds 10 times or the calibration is successful.
[0101] It can be seen that the present application can automatically perform vehicle height sensor fault code detection, thereby improving detection efficiency and accuracy.
[0102] At the same time, when performing altitude calibration, the present application can read the altitude calibration status of the chassis controller to determine whether the diagnostic instrument has successfully obtained the security access rights and altitude calibration rights of the chassis controller. Altitude calibration will be performed only when relevant permissions are available. After altitude calibration, the altitude calibration status of the chassis controller is read to determine whether the calibration has been successful, thereby ensuring the safety of altitude calibration and avoiding calibration failure.
[0103] The application only requires the user to input the vehicle tire height. If the height calibration fails, the user can be reminded of the failure, which reduces the user's learning cost and improves the accuracy and efficiency of the calibration.
[0104] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned 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 does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can 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 to be 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.
[0105] Based on the same inventive concept, the embodiment of the present application also provides a vehicle chassis height calibration device for implementing the vehicle chassis height 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 the embodiments of one or more vehicle chassis height calibration devices provided below can refer to the limitations of the vehicle chassis height calibration method above, and will not be repeated here.
[0106] In an exemplary embodiment, Figure 4 As shown, a height calibration device 400 for a vehicle chassis is provided, comprising:
[0107] A first receiving module 401 is used to receive a height calibration request for a vehicle chassis, and send a fault acquisition request to a chassis control module in the vehicle based on the height calibration request;
[0108] A second receiving module 402, configured to receive current fault data of the chassis control module sent by the chassis control module in response to the fault acquisition request;
[0109] A matching module 403, configured to match the current fault data with a preset fault data set, wherein the preset fault data set includes target fault data of a height sensor;
[0110] The acquisition module 404 is used to acquire the vehicle tire height if the current fault data fails to match the target fault data, and send the vehicle tire height to the chassis control module to instruct the chassis control module to calibrate the height of the vehicle chassis based on the vehicle tire height. The vehicle tire height refers to the height of the center of the vehicle tire from the ground.
[0111] In one embodiment, the matching module 403 is specifically used for:
[0112] Calculate the matching degree between the current fault data and each fault data in the preset fault data set;
[0113] Based on the calculation result, determine the fault data whose matching degree with the current fault data is greater than the matching degree threshold;
[0114] In a case where the fault data having a value greater than the matching degree threshold is different from the target fault data, it is determined that the current fault data fails to match the target fault data.
[0115] In one embodiment, the device further includes a calculation module, and before the acquisition module 404 acquires the tire height of the vehicle, the calculation module is used to:
[0116] If the current fault data fails to match the target fault data, obtaining the operation authority of the chassis controller;
[0117] receiving a first height calibration state sent by the chassis controller, where the first height calibration state is used to indicate whether the operation authority has been successfully acquired;
[0118] In the case where the first height calibration status indicates that the operation authority has been successfully obtained, executing the step of obtaining the vehicle tire height;
[0119] Accordingly, when the acquisition module 404 sends the vehicle tire height to the chassis control module, it is specifically used to:
[0120] Based on the operation authority, the vehicle tire height is sent to the chassis control module.
[0121] In one embodiment, when acquiring the height of the vehicle tire, the acquisition module 404 is specifically used to:
[0122] Increasing an initial count value of a first counter to obtain an updated count value of the first counter;
[0123] Determining whether the updated count value of the first counter is greater than a preset first count limit;
[0124] When the count value is not greater than a preset first count limit, determining whether the first altitude calibration state indicates that the operation authority has been successfully obtained;
[0125] If yes, then obtain the vehicle tire height;
[0126] If not, use the updated count value of the first counter as the initial count value of the first counter, return to the step of receiving the first height calibration status sent by the chassis controller and continue to execute until the first height calibration status indicates that the operation authority has been successfully obtained, or the updated count value of the first counter is greater than the preset first count limit.
[0127] In one of the embodiments, the operation authority includes access authority of the chassis controller and height calibration authority of the chassis controller.
[0128] In one embodiment, the device further includes a third receiving module, after the acquisition module 404 sends the vehicle tire height to the chassis control module, the third receiving module is used to receive a second height calibration status sent by the chassis controller, the second height calibration status is used to indicate whether the vehicle tire height has been successfully written into the chassis control module; increase the initial count value of the second counter to obtain an updated count value of the second counter; determine whether the updated count value of the second counter is greater than a preset second count limit; if it is not greater than the preset second count limit, determine whether the vehicle tire height has been successfully written into the chassis control module based on the second height calibration status; if so, display a calibration success prompt; if not, use the updated count value of the second counter as the initial count value of the second counter, return to the step of receiving the second height calibration status sent by the chassis controller and continue to execute until the vehicle tire height has been successfully written into the chassis control module or the updated count value of the second counter is greater than the preset second count limit.
[0129] Each module in the height calibration device of the vehicle chassis 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 operations corresponding to each module.
[0130] In an exemplary embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as shown in FIG. Figure 5As shown. 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 through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through 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 the 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 can be realized through WIFI, a mobile cellular network, near field communication (NFC) or other technologies. When the computer program is executed by the processor, a method for calibrating the height of a vehicle chassis is realized. The display unit of the computer device is used to form a visually visible picture, which can 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.
[0131] Those skilled in the art will understand that Figure 5 The structure shown in the figure is only a block diagram of a part of the 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 those shown in the figure, or combine certain components, or have a different arrangement of components.
[0132] 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 steps in the above-mentioned method embodiments when executing the computer program.
[0133] 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 steps in the above-mentioned method embodiments are implemented.
[0134] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.
[0135] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.
[0136] 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.
[0137] 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.
[0138] 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 method for calibrating the height of a vehicle chassis, characterized in that: The method comprises: receiving a height calibration request for a chassis of the vehicle, and sending a fault acquisition request to a chassis control module in the vehicle based on the height calibration request; receiving current fault data of the chassis control module sent by the chassis control module in response to the fault acquisition request; Matching the current fault data with a preset fault data set, wherein the preset fault data set includes target fault data of a height sensor; If the current fault data fails to match the target fault data, the vehicle tire height is obtained and sent to the chassis control module to instruct the chassis control module to calibrate the height of the vehicle chassis based on the vehicle tire height. The vehicle tire height refers to the height of the center of the vehicle tire from the ground.
2. The method according to claim 1, characterized in that The matching of the current fault data with a preset fault data set includes: Calculate the matching degree between the current fault data and each fault data in the preset fault data set; Based on the calculation result, determine the fault data whose matching degree with the current fault data is greater than the matching degree threshold; In a case where the fault data having a value greater than the matching degree threshold is different from the target fault data, it is determined that the current fault data fails to match the target fault data.
3. The method according to claim 1 or 2, characterized in that: Before obtaining the vehicle tire height, the method further includes: If the current fault data fails to match the target fault data, obtaining the operation authority of the chassis controller; receiving a first height calibration state sent by the chassis controller, where the first height calibration state is used to indicate whether the operation authority has been successfully acquired; In the case where the first height calibration status indicates that the operation authority has been successfully obtained, executing the step of obtaining the vehicle tire height; Accordingly, sending the vehicle tire height to the chassis control module includes: Based on the operation authority, the vehicle tire height is sent to the chassis control module.
4. The method according to claim 3, characterized in that The step of obtaining the vehicle tire height comprises: Increasing an initial count value of a first counter to obtain an updated count value of the first counter; Determining whether the updated count value of the first counter is greater than a preset first count limit; When the count value is not greater than a preset first count limit, determining whether the first altitude calibration state indicates that the operation authority has been successfully obtained; If yes, then obtain the vehicle tire height; If not, use the updated count value of the first counter as the initial count value of the first counter, return to the step of receiving the first height calibration status sent by the chassis controller and continue to execute until the first height calibration status indicates that the operation authority has been successfully obtained, or the updated count value of the first counter is greater than the preset first count limit.
5. The method according to claim 3, characterized in that: The operation authority includes the access authority of the chassis controller and the height calibration authority of the chassis controller.
6. The method according to claim 1 or 2, characterized in that: After sending the vehicle tire height to the chassis control module, the method further includes: receiving a second height calibration state sent by the chassis controller, wherein the second height calibration state is used to indicate whether the vehicle tire height has been successfully written into the chassis control module; Increasing an initial count value of the second counter to obtain an updated count value of the second counter; Determining whether the updated count value of the second counter is greater than a preset second count limit; In the case where the height is not greater than a preset second count limit, determining whether the vehicle tire height has been successfully written into the chassis control module based on the second height calibration state; If yes, display the prompt of successful calibration; If not, use the updated count value of the second counter as the initial count value of the second counter, return to the step of receiving the second height calibration status sent by the chassis controller and continue to execute until the vehicle tire height has been successfully written into the chassis control module or the updated count value of the second counter is greater than the preset second count limit.
7. A height calibration device for a vehicle chassis, characterized in that: The device comprises: A first receiving module, configured to receive a height calibration request for a vehicle chassis, and send a fault acquisition request to a chassis control module in the vehicle based on the height calibration request; a second receiving module, configured to receive current fault data of the chassis control module sent by the chassis control module in response to the fault acquisition request; A matching module, used for matching the current fault data with a preset fault data set, wherein the preset fault data set includes target fault data of a height sensor; An acquisition module is used to acquire the vehicle tire height if the current fault data fails to match the target fault data, and send the vehicle tire height to the chassis control module to instruct the chassis control module to calibrate the height of the vehicle chassis based on the vehicle tire height. The vehicle tire height refers to the height of the center of the vehicle tire from the ground.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: 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, 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, 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
Patent Citations
Temperature sensor fault diagnosis method and device, electronic equipment and storage medium
CN112326070A
Vehicle control method and device, vehicle and storage medium
CN112896135A
Vehicle-mounted ATP system fault diagnosis method and device and storage medium
CN115373371A
Hardware troubleshooting method and device for autonomous vehicle, medium and computer equipment
CN115891875A
Calibration failure repair method, device and equipment and readable storage medium
CN116664101A