Height calibration method and device of vehicle chassis, computer equipment, readable storage medium and program product
By automatically matching vehicle chassis fault data with preset datasets, vehicle tire height is obtained for calibration, solving the problems of low efficiency and insufficient accuracy in chassis height calibration in existing technologies, and achieving efficient and accurate fault diagnosis and calibration.
Patent Information
- Application Number
- CN202411744941.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-29
- Publication Date
- 2026-01-06
- Estimated Expiration
- 2044-11-29
AI Technical Summary
In the existing technology, the fault diagnosis process in vehicle chassis height calibration is inefficient and inaccurate, mainly because it relies on manual judgment of sensor and operating system faults, resulting in slow efficiency and low accuracy.
By receiving a height calibration request, a fault acquisition request is sent to the chassis control module. The current fault data is matched with a preset fault dataset. If the match fails, the vehicle tire height is obtained and sent to the chassis control module for calibration, thereby achieving automated fault judgment and calibration.
It improves the efficiency and accuracy of fault diagnosis, reduces manual intervention, and ensures accurate chassis height calibration even when there is no height sensor malfunction.
Smart Images

Figure CN119618130B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of vehicle technology, and in particular to a method, apparatus, computer equipment, computer-readable storage medium, and computer program product for calibrating the height of a vehicle chassis. Background Technology
[0002] With the continuous advancement of vehicle chassis technology, the requirements for chassis height calibration in after-sales service centers are becoming increasingly stringent, affecting both equipment and maintenance personnel. Chassis height calibration primarily refers to determining the vertical distance between the most prominent part of the vehicle chassis and the ground; this parameter is also known as minimum ground clearance or passenger car ground clearance. This data significantly impacts a vehicle's passability, stability, and driving experience.
[0003] Currently, before calibrating the height of a vehicle chassis, it is often necessary to determine whether the vehicle has any related sensor or operating system malfunctions. This involves a large amount of fault data, and relying solely on after-sales maintenance personnel for judgment is slow and cannot guarantee the accuracy of the judgment. Summary of the Invention
[0004] Therefore, it is necessary to provide a vehicle chassis height calibration method, apparatus, computer equipment, computer-readable storage medium, and computer program product that can improve the efficiency and accuracy of fault diagnosis when calibrating vehicle chassis height, in order to address the above-mentioned technical problems.
[0005] In a first aspect, this application provides a method for calibrating the height of a vehicle chassis, the method comprising:
[0006] Receive a height calibration request for the vehicle chassis, and based on the height calibration request, send a fault acquisition request to the chassis control module in the vehicle;
[0007] Receive the current fault data of the chassis control module sent by the chassis control module in response to the fault acquisition request;
[0008] The current fault data is matched with a preset fault dataset, which includes target fault data of height sensors.
[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 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.
[0010] In one embodiment, matching the current fault data with a preset fault dataset includes:
[0011] Calculate the matching degree between the current fault data and each fault data in the preset fault dataset;
[0012] Based on the calculation results, identify fault data whose matching degree with the current fault data is greater than the matching degree threshold.
[0013] If the fault data exceeding the matching 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, prior to obtaining the vehicle tire height, the method further includes:
[0015] If the current fault data fails to match the target fault data, obtain the operation permission of the chassis controller;
[0016] Receive a first height calibration status sent by the chassis controller, the first height calibration status being used to indicate whether the operation permission has been successfully obtained;
[0017] If the first height calibration status indicates that the operation permission has been successfully obtained, then the step of obtaining the vehicle tire height is executed.
[0018] Accordingly, sending the vehicle tire height to the chassis control module includes:
[0019] Based on the aforementioned operating permissions, the vehicle tire height is sent to the chassis control module.
[0020] In one embodiment, obtaining the vehicle tire height includes:
[0021] Increase the initial count value of the first counter to obtain the updated count value of the first counter;
[0022] Determine whether the updated count value of the first counter is greater than a preset first count limit;
[0023] If the count is not greater than a preset first count limit, determine whether the first height calibration state indicates that the operation permission has been successfully obtained.
[0024] If so, obtain the vehicle tire height;
[0025] If not, the updated count value of the first counter is used as the initial count value of the first counter, and the process returns to the step of receiving the first height calibration status sent by the chassis controller and continues to execute until the first height calibration status indicates that the operation permission has been successfully obtained, or the updated count value of the first counter is greater than the preset first count limit.
[0026] In one embodiment, the operating permissions include access permissions for the chassis controller and height calibration permissions for the chassis controller.
[0027] In one embodiment, after sending the vehicle tire height to the chassis control module, the method further includes:
[0028] The system receives 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 to the chassis control module.
[0029] Increase the initial count value of the second counter to obtain the updated count value of the second counter;
[0030] Determine whether the updated count value of the second counter is greater than the preset second count limit;
[0031] If the count is not greater than the preset second count limit, determine whether the vehicle tire height has been successfully written to the chassis control module based on the second height calibration state.
[0032] If so, display a calibration success message;
[0033] If not, the updated count value of the second counter is used as the initial count value of the second counter, and the process returns to the step of receiving the second height calibration status sent by the chassis controller and continues to execute until the vehicle tire height has been successfully written to the chassis control module or the updated count value of the second counter is greater than the preset second count limit.
[0034] Secondly, this application also provides a vehicle chassis height calibration device, the device comprising:
[0035] The first receiving module is used to receive a height calibration request for the vehicle chassis and, based on the height calibration request, send a fault acquisition request to the chassis control module in the vehicle.
[0036] The second receiving module is used to receive the 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 is used to match the current fault data with a preset fault dataset, wherein the preset fault dataset includes target fault data of height sensors;
[0038] The 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 perform height calibration of the vehicle chassis based on the vehicle tire height, wherein the vehicle tire height refers to the height of the center of the vehicle tire from the ground.
[0039] Thirdly, this application also provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the following steps of the methods of various embodiments.
[0040] Fourthly, this application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the following steps of the methods of the various embodiments.
[0041] Fifthly, this application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the methods of the various embodiments.
[0042] The aforementioned vehicle chassis height calibration method, apparatus, computer equipment, computer-readable storage medium, and computer program product, upon receiving a vehicle chassis height calibration request, send a fault acquisition request to the chassis control module in the vehicle based on the height calibration request. Then, it receives the current fault data of the chassis control module in response to the fault acquisition request, and matches the current fault data with a preset fault dataset. This achieves automated matching of the current fault data with the preset fault dataset. Since the preset fault dataset includes target fault data from the height sensor, if 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. The vehicle tire height is then acquired and sent to the chassis control module to instruct it to perform vehicle chassis height calibration based on the tire height. The vehicle tire height refers to the height of the center of the vehicle tire from the ground. This completes the vehicle chassis height calibration. Compared to existing solutions, this achieves automated matching of fault data to determine the presence of a height sensor fault. Therefore, when no height sensor fault exists, the vehicle chassis height calibration is completed without manual determination of the presence of a height sensor fault, improving fault diagnosis efficiency and accuracy. Attached Figure Description
[0043] To more clearly illustrate the technical solutions in the embodiments of this application or related technologies, the drawings used in the description of the embodiments of this application or related technologies will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.
[0044] Figure 1 This is a flowchart illustrating a method for calibrating the height of a vehicle chassis in one embodiment;
[0045] Figure 2 This is a flowchart illustrating the vehicle chassis height calibration method in another embodiment;
[0046] Figure 3 This is a flowchart illustrating the vehicle chassis height calibration method in another embodiment;
[0047] Figure 4 This is a structural block diagram of a vehicle chassis height calibration device in one embodiment;
[0048] Figure 5 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation
[0049] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0050] In one embodiment, such as Figure 1 As shown, a method for calibrating the height of a vehicle chassis is provided. This embodiment illustrates the application of this method to a fault diagnosis device, which can be a device within the vehicle or a device independent of the vehicle. In this embodiment, the method includes the following steps:
[0051] Step 102: Receive the vehicle chassis height calibration request, and based on the height calibration request, send a fault acquisition request to the chassis control module in the vehicle.
[0052] A height calibration request refers to a request to calibrate the height of the vehicle chassis.
[0053] In this embodiment, after the vehicle's ignition system is turned on and the fault diagnosis device is connected, the fault diagnosis device loads the information of the chassis control module. The user can send a vehicle chassis height calibration request to the fault diagnosis device through the fault diagnosis device interface (if the fault diagnosis device is part of the vehicle's equipment, the fault diagnosis device interface is the vehicle's infotainment system interface), for example, by clicking the "height calibration" button on the interface.
[0054] After receiving the height calibration request, the fault diagnosis equipment 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 the module that controls the vehicle chassis and can control and adjust the height of the vehicle chassis.
[0055] The vehicle is equipped with various sensors or devices to monitor the vehicle chassis. The chassis control module can interact with these sensors or devices to control them. The chassis control module can also periodically collect and store fault data from these sensors or devices. All the fault data stored in the chassis control module are the fault data from these sensors or devices.
[0056] Step 104: Receive the 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 equipment 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 the preset fault dataset, which includes the target fault data of the height sensor.
[0059] The preset fault dataset includes multiple fault data, which includes fault data from various sensors or devices. A sensor may have multiple possible faults, and each possible fault corresponds to one or more fault data.
[0060] Traverse the fault dataset and match the current fault data with each fault data in the preset fault dataset. 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 not to match the fault data.
[0061] The preset fault dataset includes target fault data for height sensors, which in turn includes various fault data characterizing height sensor faults.
[0062] Step 108: If the current fault data fails to match the target fault data, obtain the vehicle tire height and send it to the chassis control module to instruct the chassis control module to perform vehicle chassis height calibration 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 indicates that there is no height sensor fault, and the vehicle tire height is then obtained. In this embodiment, obtaining the vehicle tire height can be achieved by receiving the vehicle tire height input by the user, which is the vehicle tire height the user wants to set; alternatively, the vehicle tire height can be obtained by calculating the most suitable vehicle tire height using devices installed on the vehicle and automatically inputting it into the fault diagnosis device.
[0064] Vehicle tire height refers to the height of all the tires in a vehicle. For example, in 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, thereby writing the vehicle chassis height into the chassis control module, thus completing the vehicle chassis height calibration. Then, the chassis control module 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 a vehicle tire refers to the center point of the circle.
[0067] In this embodiment, after receiving a vehicle chassis height calibration request, a fault acquisition request is sent to the chassis control module in the vehicle based on the height calibration request. Then, the current fault data of the chassis control module sent in response to the fault acquisition request is received. The current fault data is matched with a preset fault dataset, realizing automated matching of the current fault data with the preset fault dataset. Since the preset fault dataset includes target fault data of the height sensor, if the current fault data fails to match the target fault data of the height sensor, it can be determined that there is no height sensor fault in the vehicle. Thus, the vehicle tire height is obtained and sent to the chassis control module to instruct the chassis control module to perform vehicle chassis height calibration based on the vehicle tire height. The vehicle tire height refers to the height of the center of the vehicle tire from the ground. Thus, the vehicle chassis height calibration is completed. Compared with the existing solution, the automatic matching of fault data to determine whether there is a height sensor fault is realized. Thus, when there is no height sensor fault, the vehicle chassis height calibration is completed without the need for manual determination of whether there is a height sensor fault, improving the efficiency and accuracy of fault judgment.
[0068] In this embodiment, after acquiring the vehicle tire height and sending it to the chassis control module for chassis height calibration, the chassis controller needs to adjust the vehicle chassis to the calibrated height. The height sensor is used to collect the vehicle chassis height, so this application needs to ensure that the height sensor is not faulty. After adjusting the vehicle chassis to the calibrated height, the height sensor collects the vehicle chassis height, and the height collected by the height sensor is compared with the calibrated vehicle chassis height to determine whether the vehicle chassis has been successfully adjusted to the calibrated height.
[0069] In one embodiment, matching the current fault data with a preset fault dataset includes: calculating the matching degree between the current fault data and each fault data in the preset fault dataset; based on the calculation results, determining fault data whose matching degree with the current fault data is greater than a matching degree threshold; and determining that the current fault data and the target fault data fail to match if the fault data with a matching degree greater than the matching degree threshold is different from the target fault data.
[0070] Obtain the fault data to be matched from the preset fault dataset; calculate the matching degree between the current fault data and the fault data to be matched. If the matching degree is greater than the matching degree threshold, determine whether the fault data to be matched is the target fault data. If they are the same data, it is determined that the current fault data and the target fault data are successfully matched and the vehicle has a height sensor fault. If they are not the same data, it is determined that the current fault data and the target fault data are not matched and the vehicle does not have a height sensor fault.
[0071] The system retrieves the next fault data from the preset fault dataset, updates the fault data to be matched with the next fault data, returns to the step of calculating the matching degree between the current fault data and the fault data to be matched, and continues to execute until all fault data in the preset fault dataset has been traversed.
[0072] In this embodiment, a method for automatically matching fault data to determine whether a height sensor malfunction exists is specifically described. When there is no height sensor malfunction, the vehicle height calibration is completed without the need for manual determination of whether a height sensor malfunction exists, thus improving the efficiency and accuracy of fault diagnosis.
[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 operation to remove the chassis height calibration restriction is executed. This specifically includes: obtaining security access permissions, removing the height calibration restriction, and reading the first height calibration status.
[0074] Reference Figure 2 The method of this application includes the following steps:
[0075] Step 202: Receive the vehicle chassis height calibration request, and based on the height calibration request, send a fault acquisition request to the chassis control module in the vehicle.
[0076] Step 204: Receive the 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 the preset fault dataset, which includes the target fault data of the height sensor.
[0078] In one embodiment, before obtaining the vehicle tire height, the method further includes: step 208, if the current fault data fails to match the target fault data, obtaining the operation permission of the chassis controller; step 210, receiving a first height calibration status sent by the chassis controller, the first height calibration status being used to indicate whether the operation permission has been successfully obtained; step 212, if the first height calibration status indicates that the operation permission has been successfully obtained, executing the step of obtaining the vehicle tire height; correspondingly, sending the vehicle tire height to the chassis control module includes: step 214, sending the vehicle tire height to the chassis control module based on the operation permission.
[0079] In one embodiment, the operating permissions include access permissions for the chassis controller and height calibration permissions for the chassis controller.
[0080] In this embodiment, the operation permission to obtain the chassis controller 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 that the fault diagnosis device writes the vehicle tire height into the chassis controller.
[0081] The operation of obtaining operating permission from the chassis controller may succeed or fail. Therefore, it is necessary to receive the first height calibration status sent by the chassis controller and determine whether the above operating permission has been successfully obtained through the first height calibration status.
[0082] When the first height calibration status indicates that the above-mentioned operation permissions have been successfully obtained, the fault diagnosis device obtains the vehicle tire height, accesses the chassis controller based on security access permissions, and writes the vehicle tire height into the chassis controller based on height calibration permissions.
[0083] In this embodiment, it is necessary to cyclically receive the first height calibration status sent by the chassis controller, and only when the first height calibration status indicates that operation permission has been successfully obtained will the step of obtaining the vehicle tire height be executed. Specifically:
[0084] In one embodiment, obtaining the vehicle tire height includes: increasing the 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; if it is not greater than the preset first count limit, determining whether the first height calibration status indicates that the operation permission has been successfully obtained; if yes, then obtaining the vehicle tire height; if no, 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 status sent by the chassis controller and continuing to execute until the first height calibration status indicates that the operation permission 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 status sent by the chassis controller, the device waits for a preset delay (e.g., 100ms) and then increments the initial count value of the first counter to obtain the updated count value. It then determines whether the updated count value of the first counter is greater than a preset first count limit. If it is, it confirms that the fault management device has not successfully obtained operating permission from the chassis controller and displays a prompt message to the user indicating that the acquisition of operating permission from the chassis controller has failed.
[0086] If the value is not greater than the preset first count limit, then determine whether the first height calibration status indicates that the operation permission has been successfully obtained. If the operation permission has been successfully obtained, then obtain the vehicle tire height. If the operation permission has not been successfully obtained, then 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 the steps until the first height calibration status indicates that the operation permission has been successfully obtained, or the updated count value of the first counter is greater than the preset first count limit and then stop the loop.
[0087] In this embodiment, compared to the existing method of calibrating the vehicle chassis height based on user input data, this application repeatedly checks whether the fault diagnosis device has received operating authority from the chassis controller. The vehicle chassis height is calibrated only after the fault diagnosis device has received operating authority from 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 has been successfully written to 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 indicating whether the vehicle tire height has been successfully written to the chassis control module; increasing the initial count value of a 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 it is not greater than the preset second count limit, determining whether the vehicle tire height has been successfully written to the chassis control module based on the second height calibration status; if yes, displaying a calibration success message; if no, 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 execution until the vehicle tire height has been successfully written to 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 equipment sends the vehicle tire height to the chassis control module, the chassis control module stores the vehicle tire height. The fault diagnosis equipment receives the second height calibration status sent by the chassis controller, and after a preset delay (e.g., 100ms), it increments the initial count value of the second counter to obtain the updated count value of the second counter.
[0091] Determine whether the update count value of the second counter is greater than the preset second count limit. If it is greater than the preset second count limit, display a prompt message to inform the user that the vehicle tire height writing has failed. If it is not greater than the preset second count limit, determine whether the vehicle tire height has been successfully written to the chassis control module. If it has been successfully written to the chassis control module, display a calibration success prompt and end the process.
[0092] If the vehicle tire height is not successfully written to 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, the step of receiving the second height calibration status sent by the chassis controller is returned and execution continues until the vehicle tire height has been successfully written to 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 calibrating the vehicle chassis height based on user input data to control the chassis controller, this application avoids calibration failure by repeatedly checking whether the vehicle tire height has been successfully written to the chassis control module, thereby ensuring the reliability of the calibration.
[0094] In summary, referring 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 tool (corresponding to the fault diagnosis equipment mentioned above), and the altitude calibration function is performed. After the diagnostic tool clears the stored fault codes, it reads the fault codes of the chassis controller (corresponding to the chassis control module mentioned above).
[0096] The read fault codes are matched with a preset set of fault codes to determine if there is a height sensor fault code. If there is a height sensor fault code, it is determined whether the fault code status is the fault at the current moment. If it is the fault at the current moment, the fault code is displayed and the process ends to prompt the user to return the device for repair.
[0097] If there is no height sensor fault code or the fault is not at the current moment, unlock the chassis controller's safety access permissions and remove the chassis controller height calibration restriction. Read the chassis controller height calibration status, and after a 100ms delay, increment the counter (corresponding to the first counter mentioned above) by 1. Determine if the counter count has exceeded 10 times. If it has exceeded 10 times, confirm that the calibration removal timeout has occurred and prompt the user to re-execute the process. If it has not exceeded 10 times, parse the response parameters to determine if the current calibration status meets the calibration requirements, specifically, determine whether the chassis controller height calibration restriction has been successfully removed.
[0098] If the calibration requirements are not met, return to the step of reading the chassis controller height calibration status and continue execution until the counter count exceeds 10 times or the calibration requirements are met.
[0099] If the calibration requirements are met, the user will be prompted to enter the vehicle calibration height, including the height of the left front tire, the left rear tire, the right front tire, and the right rear tire.
[0100] The vehicle calibration height is written to the chassis controller. The chassis controller height calibration status is read. After a 100ms delay, the counter (corresponding to the second counter mentioned above) is incremented by 1. It is determined whether the counter count has exceeded 10. If it has exceeded 10, the calibration timeout is confirmed, and the user is prompted to re-execute the process. If it has not exceeded 10, the response parameters are parsed to determine whether the calibration has been successful. Specifically, it is determined whether the vehicle calibration height has been successfully written to the chassis controller. If the calibration has been successful, the calibration is completed and the process ends. If the calibration has not been successful, the process returns to the step of reading the chassis controller height calibration status and continues until the counter count exceeds 10 or the calibration is successful.
[0101] As can be seen, this application can automatically detect vehicle height sensor fault codes, improving detection efficiency and accuracy.
[0102] Meanwhile, during height calibration, this application can read the height calibration status of the chassis controller to determine whether the diagnostic instrument has successfully obtained the chassis controller's security access permission and height calibration permission. Height calibration is only performed when the relevant permissions are available. After height calibration, the application can read the height calibration status of the chassis controller to determine whether the calibration has been successful, thus ensuring the security of height calibration and avoiding calibration failure.
[0103] This application only requires user operation in one step: inputting the vehicle tire height. If the height calibration fails, the user will be notified of the failure, reducing the user's learning cost and improving the accuracy and efficiency of calibration.
[0104] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.
[0105] Based on the same inventive concept, this application also provides a vehicle chassis height calibration device for implementing the vehicle chassis height calibration method described above. The solution provided by this device is similar to the solution described in the above method; therefore, the specific limitations of one or more vehicle chassis height calibration device embodiments provided below can be found in the limitations of the vehicle chassis height calibration method described above, and will not be repeated here.
[0106] In one exemplary embodiment, such as Figure 4 As shown, a vehicle chassis height calibration device 400 is provided, comprising:
[0107] The first receiving module 401 is used to receive a height calibration request for the vehicle chassis and, based on the height calibration request, send a fault acquisition request to the chassis control module in the vehicle.
[0108] The second receiving module 402 is used to receive the current fault data of the chassis control module sent by the chassis control module in response to the fault acquisition request;
[0109] The matching module 403 is used to match the current fault data with a preset fault dataset, wherein the preset fault dataset includes target fault data of height sensors.
[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 perform height calibration of the vehicle chassis based on the vehicle tire height, wherein 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 dataset;
[0113] Based on the calculation results, identify fault data whose matching degree with the current fault data is greater than the matching degree threshold.
[0114] If the fault data exceeding the matching 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, which is used to: Before the acquisition module 404 acquires the vehicle tire height, the calculation module is configured to:
[0116] If the current fault data fails to match the target fault data, obtain the operation permission of the chassis controller;
[0117] Receive a first height calibration status sent by the chassis controller, the first height calibration status being used to indicate whether the operation permission has been successfully obtained;
[0118] If the first height calibration status indicates that the operation permission has been successfully obtained, then the step of obtaining the vehicle tire height is executed.
[0119] Accordingly, when the acquisition module 404 sends the vehicle tire height to the chassis control module, it is specifically used for:
[0120] Based on the aforementioned operating permissions, the vehicle tire height is sent to the chassis control module.
[0121] In one embodiment, when acquiring the vehicle tire height, the acquisition module 404 is specifically used for:
[0122] Increase the initial count value of the first counter to obtain the updated count value of the first counter;
[0123] Determine whether the updated count value of the first counter is greater than a preset first count limit;
[0124] If the count is not greater than a preset first count limit, determine whether the first height calibration state indicates that the operation permission has been successfully obtained.
[0125] If so, obtain the vehicle tire height;
[0126] If not, the updated count value of the first counter is used as the initial count value of the first counter, and the process returns to the step of receiving the first height calibration status sent by the chassis controller and continues to execute until the first height calibration status indicates that the operation permission has been successfully obtained, or the updated count value of the first counter is greater than the preset first count limit.
[0127] In one embodiment, the operating permissions include access permissions for the chassis controller and height calibration permissions for 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 configured to receive a second height calibration status sent by the chassis controller. The second height calibration status indicates whether the vehicle tire height has been successfully written to the chassis control module. The third receiving module increases the initial count value of the second counter to obtain an updated count value of the second counter. It then determines 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, it determines whether the vehicle tire height has been successfully written to the chassis control module based on the second height calibration status. If yes, it displays a calibration success message. If no, it uses the updated count value of the second counter as the initial count value of the second counter, returns to the step of receiving the second height calibration status sent by the chassis controller, and continues execution until the vehicle tire height has been successfully written to 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 aforementioned vehicle chassis height calibration device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device, or stored in the memory of a computer device as software, so that the processor can call and execute the corresponding operations of each module.
[0130] In one exemplary embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as follows: Figure 5As shown, the computer device includes a processor, memory, input / output interface, communication interface, display unit, and input device. The processor, memory, and input / output interface are connected via a system bus, and the communication interface, display unit, and input device are also connected to the system bus via the input / output interface. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The input / output interface is used for exchanging information between the processor and external devices. The communication interface is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, mobile cellular networks, Near Field Communication (NFC), or other technologies. When executed by the processor, the computer program implements a method for calibrating the height of a vehicle chassis. The display unit is used to form a visually visible image and can be a display screen, projection device, or virtual reality imaging device. The display screen can be an LCD screen or an e-ink screen. The input device of the computer device can be a touch layer covering the display screen, or buttons, trackballs, or touchpads set on the casing of the computer device, or external keyboards, touchpads, or mice, etc.
[0131] Those skilled in the art will understand that Figure 5 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0132] In one exemplary embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps in the above-described method embodiments.
[0133] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, implements the steps in the above method embodiments.
[0134] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, implements the steps in the above method embodiments.
[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, data stored, data displayed, 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 the relevant data must comply with relevant regulations.
[0136] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this 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. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, artificial intelligence (AI) processors, etc., and are not limited to these.
[0137] The technical features of the above embodiments can be combined in any way. For the sake of brevity, 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 embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.
Claims
1. A method of calibrating the height of a vehicle chassis, characterized in that, The method comprises: 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; 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, the preset fault data set comprising target fault data of a height sensor; if the current fault data fails to match the target fault data, acquiring a 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 referring to a height of a center of a vehicle tire from the ground; before the acquiring of the vehicle tire height, the method further comprises: if the current fault data fails to match the target fault data, acquiring an operation permission of the chassis controller; receiving a first height calibration state sent by the chassis controller, the first height calibration state being used to indicate whether the operation permission has been successfully acquired; and in a case where the first height calibration state indicates that the operation permission has been successfully acquired, performing the step of acquiring the vehicle tire height; correspondingly, the sending of the vehicle tire height to the chassis control module comprises: based on the operation permission, sending the vehicle tire height to the chassis control module; the acquiring of the vehicle tire height comprises: increasing an initial count value of a first counter to obtain an updated count value of the first counter; judging whether the updated count value of the first counter is greater than a preset first count limit; in a case where the updated count value of the first counter is not greater than the preset first count limit, judging whether the first height calibration state indicates that the operation permission has been successfully acquired; if yes, acquiring the vehicle tire height; if no, taking 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 permission has been successfully acquired or the updated count value of the first counter is greater than the preset first count limit.
2. The method of claim 1, wherein, the matching of the current fault data with the preset fault data set comprises: calculating matching degrees of the current fault data with respective fault data in the preset fault data set; based on the calculation result, determining fault data with a matching degree greater than a matching degree threshold value with the current fault data; in a case where the fault data with the matching degree greater than the matching degree threshold value is different from the target fault data, determining that the current fault data fails to match the target fault data.
3. The method of claim 1, wherein, the operation permission comprises an access permission of the chassis controller and a height calibration permission of the chassis controller.
4. The method according to claim 1 or 2, characterized in that, after the sending of the vehicle tire height to the chassis control module, the method further comprises: receiving a second height calibration state sent by the chassis controller, the second height calibration state being used to indicate whether the vehicle tire height has been successfully written into the chassis control module; increase an 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; in a case where the updated count value of the second counter 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 state; if yes, display a calibration success prompt; if no, return to the step of receiving the second height calibration state 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.
5. A height calibration device for a vehicle chassis, characterized by The device comprises: a first receiving module configured to receive a height calibration request of 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 configured to match the current fault data with a preset fault data set, the preset fault data set comprising target fault data of a height sensor; an acquisition module configured to, if the current fault data fails to match the target fault data, acquire a vehicle tire height and send 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 referring to a height of a center of a vehicle tire from the ground; Before the acquisition of the vehicle tire height, the method further comprises: if the current fault data fails to match the target fault data, acquiring an operation permission of the chassis controller; receiving a first height calibration state sent by the chassis controller, the first height calibration state being used to indicate whether the operation permission has been successfully acquired; and in a case where the first height calibration state indicates that the operation permission has been successfully acquired, performing the step of acquiring the vehicle tire height; Correspondingly, the sending of the vehicle tire height to the chassis control module comprises: sending the vehicle tire height to the chassis control module based on the operation permission; The acquisition of 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; in a case where the updated count value of the first counter is not greater than the preset first count limit, determining whether the first height calibration state indicates that the operation permission has been successfully acquired; if yes, acquiring the vehicle tire height; and if no, 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 permission has been successfully acquired or the updated count value of the first counter is greater than the preset first count limit. 6.A computer device, comprising a memory and a processor, wherein the memory stores a computer program, and the computer device is configured to perform the method according to any one of claims 1-5. The computer program is executed by the processor to implement the steps of the method of any one of claims 1 to 4.
7. A computer-readable storage medium having stored thereon a computer program, characterized in that, The computer program is executed by the processor to implement the steps of the method of any one of claims 1 to 4.
8. A computer program product comprising a computer program, characterized in that, The computer program is executed by the processor to implement the steps of the method of any one of claims 1 to 4.
Citation Information
Patent Citations
Hardware troubleshooting method and device for autonomous vehicle, medium and computer equipment
CN115891875A
Fault display method, fault display device, vehicle and storage medium
CN117302073A