A diagnostic method and device for a height sensor, a vehicle and a storage medium

By controlling the operation of the air spring in the electronically controlled air suspension, the charging data of the height sensor is obtained to diagnose its installation position, thus solving the problem of height sensor installation error in electronically controlled air suspension and realizing the accuracy of height sensor installation and simplifying the calibration process.

CN115793613BActive Publication Date: 2026-02-13GREE ELECTRIC APPLIANCE INC OF ZHUHAI
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211526142.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-11-29
Publication Date
2026-02-13
Estimated Expiration
2042-11-29

AI Technical Summary

Technical Problem

In the existing technology, the installation error of the height sensor of the electronically controlled air suspension causes the electronically controlled air suspension to malfunction, which increases the input of manpower and material resources and the complexity of the calibration process.

Method used

By controlling the operation of the air springs in the electronically controlled air suspension, the charging data of the height sensor is obtained. Based on the charging data, the diagnostic mode is determined, and corresponding control operations are executed to diagnose the installation position of the height sensor.

Benefits of technology

This reduces the manpower and material resources required for altitude sensor calibration, simplifies the calibration process, and ensures the accuracy of altitude sensor installation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115793613B_ABST
    Figure CN115793613B_ABST
Patent Text Reader

Abstract

The application relates to a diagnosis method and device of a height sensor, a vehicle and a storage medium, the diagnosis method comprising: in the case of determining that the height sensor needs to be diagnosed, controlling the working of an air spring in an electrically-controlled air suspension according to a preset rule; in the working process of the air spring, acquiring charging data corresponding to the height sensor in the electrically-controlled air suspension; according to the charging data, determining a diagnosis mode corresponding to the height sensor; and performing a control operation corresponding to the diagnosis mode. Thus, before the height sensor in the electrically-controlled air suspension is calibrated, the charging data corresponding to the height sensor acquired in the working process of the air spring can be used to diagnose the current mode of the height sensor, and according to the diagnosed mode, a corresponding control operation is performed, so that the accuracy of the installation of the height sensor is ensured, the input of manpower and material resources and the complexity of the calibration process of the height sensor are reduced.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] Embodiments of the present application relate to the technical field of vehicles, and in particular to a diagnosis method and device for a height sensor, a vehicle, and a storage medium. BACKGROUND

[0002] An electronically controlled air suspension (ECAS) mainly comprises a suspension, an air spring, a height sensor, an electronic control unit (ECU), an electromagnetic valve, and an air tank. The height sensor collects a height value of the suspension, and the ECU compares the collected height value with a set height value to control the electromagnetic valve to inflate or deflate the air spring.

[0003] At present, the height sensor in the ECAS is usually installed manually. In order to improve the accuracy of data collected by the height sensor, the height sensor needs to be calibrated after being installed at a corresponding position. Since the height sensor is installed manually, errors exist. When the height sensor is installed incorrectly, the ECAS cannot work normally. If the height sensor has entered the calibration process and it is found that the height sensor is installed incorrectly, the height sensor needs to be checked manually to ensure that the height sensor is installed correctly. This not only increases the labor and material inputs, but also increases the complexity of the calibration process of the height sensor. SUMMARY

[0004] In view of this, in order to solve the technical problems of the increase in labor and material inputs and the complexity of the calibration process of the height sensor in the ECAS due to manual installation of the height sensor, embodiments of the present application provide a diagnosis method and device for a height sensor, a vehicle, and a storage medium.

[0005] In a first aspect, embodiments of the present application provide a diagnosis method for a height sensor, comprising:

[0006] In a case where it is determined that the height sensor needs to be diagnosed, a working state of an air spring in an electronically controlled air suspension (ECAS) is controlled according to a preset rule;

[0007] During the working process of the air spring, charging data corresponding to a height sensor in the ECAS is obtained;

[0008] According to the charging data, a diagnosis mode corresponding to the height sensor is determined;

[0009] A control operation corresponding to the diagnosis mode is performed.

[0010] In an alternative embodiment, the controlling the air spring in the electrically controlled air suspension according to the preset rule comprises:

[0011] determining a first target height corresponding to the suspension in the electrically controlled air suspension;

[0012] controlling the air spring to work so that the suspension reaches the first target height;

[0013] controlling the air spring to work so that the suspension reaches a second target height after the suspension reaches the first target height;

[0014] controlling the air spring to work so that the suspension reaches a third target height after the suspension reaches the second target height, wherein the third target height is smaller than the first target height.

[0015] In an alternative embodiment, the charging data comprises a plurality of first charging durations in the process of controlling the suspension to reach the second target height and a plurality of second charging durations in the process of controlling the suspension to reach the third target height.

[0016] According to the charging data, determining a diagnosis mode corresponding to the height sensor comprises:

[0017] According to the first data acquisition time corresponding to the first charging duration, sorting the plurality of first charging durations in ascending order to obtain a first sorting relationship;

[0018] According to the second data acquisition time corresponding to the second charging duration, sorting the plurality of second charging durations in ascending order to obtain a second sorting relationship;

[0019] According to the first sorting relationship and the second sorting relationship, determining the diagnosis mode corresponding to the height sensor.

[0020] In an alternative embodiment, according to the first sorting relationship and the second sorting relationship, determining the diagnosis mode corresponding to the height sensor comprises:

[0021] when it is determined that the first charging duration in the first sorting relationship is continuously increasing and the second charging duration in the second sorting relationship is continuously decreasing, determining that the diagnosis mode is a first diagnosis mode;

[0022] or,

[0023] when it is determined that the first charging duration in the first sorting relationship is continuously decreasing and the second charging duration in the second sorting relationship is continuously increasing, determining that the diagnosis mode is a second diagnosis mode.

[0024] In an optional implementation, the determining the diagnosis mode corresponding to the height sensor according to the first ordering relationship and the second ordering relationship comprises:

[0025] In a case where the first charging duration in the first ordering relationship is continuously reduced and the second charging duration in the second ordering relationship is first increased and then reduced, the diagnosis mode is determined as a third diagnosis mode.

[0026] Or,

[0027] In a case where the first charging duration in the first ordering relationship is continuously increased and the second charging duration in the second ordering relationship is first reduced and then increased, the diagnosis mode is determined as a fourth diagnosis mode.

[0028] In an optional implementation, the performing the control operation corresponding to the diagnosis mode comprises:

[0029] determining a target working mode corresponding to an alarm device according to the diagnosis mode;

[0030] controlling the alarm device to work in the target working mode;

[0031] Or,

[0032] generating target alarm information according to the diagnosis mode;

[0033] pushing the target alarm information to a terminal where a target object is located.

[0034] In an optional implementation, the determining that the height sensor needs to be diagnosed comprises:

[0035] receiving a diagnosis control instruction of the height sensor;

[0036] determining whether a calibration identifier of the height sensor is acquired;

[0037] In a case where it is determined that the calibration identifier of the height sensor is not acquired, it is determined that the height sensor needs to be diagnosed.

[0038] In a second aspect, an embodiment of the present application provides a diagnosis device of a height sensor, comprising:

[0039] a control module configured to control an air spring in an electrically controlled air suspension to work according to a preset rule in a case where it is determined that the height sensor needs to be diagnosed;

[0040] an acquisition module configured to acquire charging data corresponding to the height sensor in the electrically controlled air suspension in a working process of the air spring;

[0041] determining module, configured to determine a diagnosis mode corresponding to the height sensor according to the charging data;

[0042] an executing module, configured to execute a control operation corresponding to the diagnosis mode.

[0043] In a third aspect, an embodiment of the present application provides a vehicle, including a processor and a memory, the processor being configured to execute a diagnosis program of a height sensor stored in the memory, so as to implement the diagnosis method of the height sensor.

[0044] In a fourth aspect, an embodiment of the present application provides a storage medium, the storage medium storing one or more programs, the one or more programs being executable by one or more processors to implement the diagnosis method of the height sensor.

[0045] The diagnosis method of the height sensor provided by the embodiment of the present application includes: in the case that it is determined that the height sensor needs to be diagnosed, controlling an air spring in an electronically controlled air suspension to work according to a preset rule; in the working process of the air spring, acquiring charging data corresponding to the height sensor in the electronically controlled air suspension; determining a diagnosis mode corresponding to the height sensor according to the charging data; and executing a control operation corresponding to the diagnosis mode. In this way, before the height sensor in the electronically controlled air suspension is calibrated, the diagnosis method provided by the embodiment of the present application can diagnose the current mode of the height sensor by using the charging data corresponding to the height sensor acquired in the working process of the air spring, and perform a corresponding control operation according to the diagnosed mode, so as to ensure the accuracy of the installation of the height sensor, and reduce the labor and material input and the complexity of the calibration process of the height sensor. BRIEF DESCRIPTION OF DRAWINGS

[0046] Figure 1 A flowchart of a diagnosis method of a height sensor provided by an embodiment of the present application;

[0047] Figure 2 A diagram showing the relationship between the charging duration and the angle provided by an embodiment of the present application;

[0048] Figure 3 A structural diagram of a diagnosis device of a height sensor provided by an embodiment of the present application;

[0049] Figure 4 A structural diagram of an electronic device provided by an embodiment of the present application;

[0050] In the above drawings:

[0051] 10, control module; 20, acquisition module; 30, determination module; 40, executing module;

[0052] 500, electronic device; 501, processor; 502, memory; 5021, operating system; 5022, application program; 503, user interface; 504, network interface; 505, bus system. DETAILED DESCRIPTION

[0053] To make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are some but not all of the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by a person of ordinary skill in the art without creative work fall within the protection scope of the present application.

[0054] To make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are some but not all of the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by a person of ordinary skill in the art without creative work fall within the protection scope of the present application.

[0055] Reference Figure 1 , Figure 1 A flowchart of a diagnosis method of a height sensor provided by an embodiment of the present application is shown. The diagnosis method of the height sensor provided by an embodiment of the present application comprises the following steps.

[0056] S101: When it is determined that the height sensor needs to be diagnosed, the air spring in the electronically controlled air suspension is controlled to work according to a preset rule.

[0057] In the embodiment, the step of performing the diagnosis method of the height sensor is performed before the height sensor is calibrated. If it is found that the height sensor is installed incorrectly during the calibration of the height sensor, the complexity of the calibration process of the height sensor will be increased, and the manual inspection of whether the height sensor is installed incorrectly will increase the manpower and material resources and affect the work efficiency. Therefore, to solve the above problems, the embodiment automatically diagnoses whether the installation position of the height sensor is correct before the calibration of the height sensor, which avoids affecting the subsequent calibration of the height sensor. The determination that the height sensor needs to be diagnosed can be performed in the following manner.

[0058] A diagnosis control instruction of the height sensor is received.

[0059] It is determined whether a calibration identifier of the height sensor is acquired.

[0060] When it is determined that the calibration identifier of the height sensor is not acquired, it is determined that the height sensor needs to be diagnosed.

[0061] When it is determined that the calibration identifier of the height sensor is acquired, the height sensor is calibrated.

[0062] Specifically, the calibration identification of the height sensor can be an identification of entering a calibration process of a height sensor, after the height sensor has entered the calibration process, in order to reduce the complexity of the calibration process of the height sensor, the installation position diagnosis of the height sensor is not allowed to be performed, and only after the installation position diagnosis of the height sensor is completed, the calibration of the height sensor is allowed to be performed. More specifically, after receiving the diagnosis control instruction, the step of determining whether the calibration identification of the height sensor is obtained is performed. Wherein, the diagnosis control instruction is generated by the operation panel detecting the trigger operation of the relevant personnel to the operation panel.

[0063] In the embodiment, the working of the air spring in the electrically controlled air suspension can be controlled according to the preset rule in the following way.

[0064] Determine the first target height corresponding to the suspension in the electrically controlled air suspension;

[0065] Control the working of the air spring to make the suspension reach the first target height;

[0066] After the suspension reaches the first target height, control the working of the air spring to make the suspension reach the second target height;

[0067] After the suspension reaches the second target height, control the working of the air spring to make the suspension reach the third target height; wherein the third target height is smaller than the first target height.

[0068] In the embodiment, the preset rule is a control rule of an air spring, and the air spring is controlled by the preset rule to charge and discharge, so as to obtain the charging data of the coil in the height sensor in the charging and discharging process of the air spring, and the installation position of the height sensor is diagnosed by the charging data (i.e. the diagnosis mode of the height sensor is determined). Wherein, the coil is inside the height sensor, after the height sensor is powered on, the electric control unit in the electrically controlled air suspension judges the height value of the suspension according to the charging time of the coil in the height sensor. Referring to Figure 2 As shown, the charging time of the coil in the height sensor and the angle (the angle is the angle formed between the height sensor and the swing frame in the electrically controlled air suspension) have a certain curve relationship, and the change of the height value of the suspension and the angle also have a certain relationship. The angle increases with the increase of the height value of the suspension, and the angle decreases with the decrease of the height value of the suspension. Therefore, according to the curve relationship between the charging time of the coil in the height sensor and the angle, and the relationship between the change of the height value of the suspension and the angle, a plurality of diagnosis modes are set in advance, and the working of the air spring (charging or discharging of the air spring) is controlled to make the suspension work, so as to obtain the change of the charging time of the coil in the height sensor, and determine the mode corresponding to the height sensor.

[0069] Specifically, with continuous reference to Figure 2 After the vehicle is installed, the height value in the electric control air suspension is fixed, and at this time, the angle between the height sensor and the swing rod has four positions, i.e. Figure 2 A (corresponding to angle α2) position, B (corresponding to angle α4) position, C (corresponding to angle α6) position and D (corresponding to angle α8) position. According to the above four positions, the curve relationship between the charging time of the coil in the height sensor and the angle, and the relationship between the height value change of the suspension and the angle, the first diagnosis mode, the second diagnosis mode, the third diagnosis mode and the fourth diagnosis mode are set. Among them, the A position corresponds to the first diagnosis mode, the angle working interval is α1-α3, and α2 is the middle position of the above angle working interval; the C position corresponds to the second diagnosis mode, the angle working interval is α5-α7, and α6 is the middle position of the above angle working interval; the B position corresponds to the third diagnosis mode, the angle working interval is α3-α5, and α4 is the middle position of the above angle working interval; and the D position corresponds to the fourth diagnosis mode, the angle working interval is α7-α1, and α8 is the middle position of the above angle working interval. More specifically, the judgment method of the first diagnosis mode, the second diagnosis mode, the third diagnosis mode and the fourth diagnosis mode will be described in detail below, and this embodiment will not be repeated here.

[0070] It should be noted that the first target height is the height corresponding to any one of the A position, the B position, the C position or the D position. During the control of the suspension movement, the suspension is first controlled to the corresponding height, wherein the air spring is inflated or deflated to make the suspension reach the first target height. The second target height is the height corresponding to one end of an angle working interval, and the third target height is the height corresponding to the other end of the angle working interval. Specifically, for the working interval of the first diagnosis mode, α1-α3, the first target height is the height corresponding to the α2 position, the second target height is the height corresponding to the α3 position, and the third target height is the height corresponding to the α1 position.

[0071] S102: In the working process of the air spring, the charging data corresponding to the height sensor in the electric control air suspension is obtained.

[0072] In this embodiment, the charging data is the charging data of the coil in the height sensor. By comparing the charging data of the coil in the height sensor in the working process of the air spring with the charging data corresponding to the set diagnosis mode, the diagnosis mode of the current height sensor can be determined.

[0073] Specifically, the charging data includes a plurality of first charging durations in a process of controlling the suspension to reach the second target height and a plurality of second charging durations in a process of controlling the suspension to reach the third target height. Wherein, a sampling period of the charging duration can be pre-set, and the first charging duration is counted every sampling period in the process of controlling the suspension to reach the second target height, so as to obtain the plurality of first charging durations. Similarly, the second charging duration is counted every sampling period in the process of controlling the suspension to reach the third target height, so as to obtain the plurality of second charging durations. After obtaining the plurality of first charging durations and the plurality of second charging durations, the relationship between the plurality of first charging durations and the relationship between the plurality of second charging durations are determined, and the relationship of the charging duration corresponding to the diagnosis mode is compared according to the above determined relationship, so as to determine the diagnosis mode of the height sensor.

[0074] S103: Determine the diagnosis mode corresponding to the height sensor according to the charging data.

[0075] In the embodiment, the diagnosis mode is four kinds, which can be referred to the above description, and will not be described herein. The diagnosis mode corresponding to the height sensor can be determined by the following method, which is as follows.

[0076] According to the first data acquisition time corresponding to the first charging duration, the plurality of first charging durations are sorted in ascending order to obtain a first sorting relationship;

[0077] According to the second data acquisition time corresponding to the second charging duration, the plurality of second charging durations are sorted in ascending order to obtain a second sorting relationship;

[0078] According to the first sorting relationship and the second sorting relationship, the diagnosis mode corresponding to the height sensor is determined.

[0079] In the embodiment, since the first charging duration is counted according to the sampling period, after the first charging duration is counted, the first data acquisition time and the first charging duration are stored according to the corresponding relationship. Similarly, after the second charging duration is counted, the second data acquisition time and the second charging duration are stored according to the corresponding relationship. After the suspension reaches the third target height, the corresponding relationship of the first data acquisition time and the first charging duration and the corresponding relationship of the second data acquisition time and the second charging duration are called, and the above two corresponding relationships are sorted in ascending order of time, so as to obtain the first sorting relationship and the second sorting relationship. According to the first sorting relationship and the second sorting relationship, the relationship of the charging duration corresponding to the diagnosis mode is compared, so as to determine the diagnosis mode of the height sensor.

[0080] In one embodiment, determining the diagnosis mode corresponding to the height sensor according to the first ranking relationship and the second ranking relationship comprises:

[0081] when the first charging duration in the first ranking relationship is continuously increasing and the second charging duration in the second ranking relationship is continuously decreasing, determining the diagnosis mode as the first diagnosis mode;

[0082] or,

[0083] when the first charging duration in the first ranking relationship is continuously decreasing and the second charging duration in the second ranking relationship is continuously increasing, determining the diagnosis mode as the second diagnosis mode.

[0084] Specifically, with continued reference to Figure 2 , the position of a2 corresponds to the first diagnosis mode, and in the process from the position of a2 to the position of a3 (i.e. the suspension from the first target height to the second target height), the charging duration is longer and longer with the increase of time, and in the process from the position of a3 to the position of a1 (i.e. the suspension from the second target height to the third target height), the charging duration is shorter and shorter with the increase of time. Therefore, according to the characteristics of the above first diagnosis mode, when the first charging duration in the first ranking relationship is continuously increasing and the second charging duration in the second ranking relationship is continuously decreasing, the characteristics of the above charging duration are consistent with the characteristics of the first diagnosis mode, and thus it can be determined that the diagnosis mode corresponding to the height sensor is the first diagnosis mode.

[0085] More specifically, with continued reference to Figure 2 , the position of a6 corresponds to the second diagnosis mode, and in the process from the position of a6 to the position of a7 (i.e. the suspension from the first target height to the second target height), the charging duration is shorter and shorter with the increase of time, and in the process from the position of a7 to the position of a5, the charging duration is longer and longer with the increase of time. Therefore, according to the characteristics of the above second diagnosis mode, when the first charging duration in the first ranking relationship is continuously decreasing and the second charging duration in the second ranking relationship is continuously increasing, the characteristics of the above charging duration are consistent with the characteristics of the second diagnosis mode, and thus it can be determined that the diagnosis mode corresponding to the height sensor is the second diagnosis mode.

[0086] In another embodiment, determining the diagnosis mode corresponding to the height sensor according to the first ranking relationship and the second ranking relationship further comprises:

[0087] when the first charging duration in the first ranking relationship is continuously decreasing and the second charging duration in the second ranking relationship is first increasing and then decreasing, determining the diagnosis mode as the third diagnosis mode;

[0088] or,

[0089] In a case where the first charging duration in the first order relation is continuously increased and the second charging duration in the second order relation is first decreased and then increased, it is determined that the diagnosis mode is the fourth diagnosis mode.

[0090] Specifically, with continued reference to Figure 2 , the third diagnosis mode corresponds to the position of a4, in a process from the position of a4 to the position of a5 (i.e. from the first target height of the suspension to the second target height of the suspension), the charging duration is continuously shortened with the increase of time, and in a process from the position of a5 to the position of a3, the charging duration is first increased and then decreased with the increase of time. Therefore, according to the characteristics of the third diagnosis mode, in a case where the first charging duration in the first order relation is continuously decreased and the second charging duration in the second order relation is first increased and then decreased, the characteristics of the charging duration are consistent with the characteristics of the third diagnosis mode, and it is determined that the diagnosis mode corresponding to the height sensor is the third diagnosis mode.

[0091] More specifically, with continued reference to Figure 2 , the fourth diagnosis mode corresponds to the position of a8, in a process from the position of a8 to the position of a1 (i.e. from the first target height of the suspension to the second target height of the suspension), the charging duration is continuously lengthened with the increase of time, and in a process from the position of a1 to the position of a7, the charging duration is first decreased and then increased with the increase of time. Therefore, according to the characteristics of the fourth diagnosis mode, in a case where the first charging duration in the first order relation is continuously increased and the second charging duration in the second order relation is first decreased and then increased, the characteristics of the charging duration are consistent with the characteristics of the fourth diagnosis mode, and it is determined that the diagnosis mode corresponding to the height sensor is the fourth diagnosis mode.

[0092] S104: performing a control operation corresponding to the diagnosis mode.

[0093] In the embodiment, the control operation is an alarm operation. Generally, the installation position of the height sensor should correspond to the first diagnosis mode, and when the second diagnosis mode, the third diagnosis mode or the fourth diagnosis mode is determined, relevant personnel are reminded or relevant suggestions are given, and similarly, when the first diagnosis mode is determined, relevant personnel are also reminded.

[0094] In an embodiment, the control operation corresponding to the diagnosis mode can be performed in the following manner.

[0095] According to the diagnosis mode, a target working mode corresponding to the alarm device is determined;

[0096] The alarm device is controlled to work in the target working mode.

[0097] Specifically, the alarm device can be a light device, and a corresponding relationship between the diagnostic modes and the working modes of the alarm device can be set in advance, for example, when the diagnostic mode is the first diagnostic mode, the alarm device displays green, when the diagnostic mode is the second diagnostic mode, the alarm device displays yellow, and when the diagnostic mode is the third diagnostic mode or the fourth diagnostic mode, the alarm device displays red. Through the light display of the alarm device, relevant personnel can determine whether the installation of the height sensor is accurate, and adjust the height sensor when the installation of the height sensor is incorrect.

[0098] In another embodiment, the control operation corresponding to the diagnostic mode can also be performed in the following manner.

[0099] According to the diagnostic mode, target alarm information is generated;

[0100] The target alarm information is pushed to a terminal where the target object is located.

[0101] Specifically, the target alarm information can be an installation suggestion, for example, when the diagnostic mode is the first diagnostic mode, the target alarm information can be "the installation of the height sensor is correct"; when the diagnostic mode is the second diagnostic mode, the target alarm information can be "the height sensor should be rotated 180 degrees counterclockwise"; and when the diagnostic mode is the third diagnostic mode or the fourth diagnostic mode, the target alarm information can be "the height sensor should be rotated 90 degrees clockwise or 90 degrees counterclockwise". Currently, the target alarm information can also be set according to actual needs, which is not limited in the embodiment. Through the setting of the target alarm information, the target object can determine whether the installation of the height sensor is accurate, and adjust the height sensor according to the installation suggestion when the installation of the height sensor is incorrect. It should be noted that after relevant personnel adjust the installation position of the height sensor, the adjusted diagnostic mode is stored, so that when the height sensor is calibrated, the diagnostic mode is calibrated according to the stored diagnostic mode.

[0102] The embodiment provides a height sensor diagnosis method, which comprises the following steps: in the case that it is determined that the height sensor needs to be diagnosed, controlling the working of an air spring in an electrically-controlled air suspension according to a preset rule; obtaining charging data corresponding to the height sensor in the electrically-controlled air suspension during the working of the air spring; determining a diagnosis mode corresponding to the height sensor according to the charging data; and performing a control operation corresponding to the diagnosis mode. In the above manner, before the height sensor in the electrically-controlled air suspension is calibrated, the charging data corresponding to the height sensor obtained during the working of the air spring can be used to diagnose the current mode of the height sensor, and the corresponding control operation is performed according to the diagnosed mode, so that the accuracy of the installation of the height sensor is ensured, and the labor and material input and the complexity of the calibration process of the height sensor are reduced.

[0103] Reference Figure 3 , Figure 3 A structure diagram of a height sensor diagnosis device is provided for the embodiment. The height sensor diagnosis device comprises a control module 10, an obtaining module 20, a determination module 30 and an execution module 40. The control module 10 is used to control the working of an air spring in an electrically-controlled air suspension according to a preset rule in the case that it is determined that the height sensor needs to be diagnosed. The obtaining module 20 is used to obtain charging data corresponding to the height sensor in the electrically-controlled air suspension during the working of the air spring. The determination module 30 is used to determine a diagnosis mode corresponding to the height sensor according to the charging data. The execution module 40 is used to perform a control operation corresponding to the diagnosis mode.

[0104] In the embodiment, the control module 10 is further used to:

[0105] determine a first target height corresponding to a suspension in the electrically-controlled air suspension;

[0106] control the working of the air spring so that the suspension reaches the first target height;

[0107] after the suspension reaches the first target height, control the working of the air spring so that the suspension reaches a second target height;

[0108] after the suspension reaches the second target height, control the working of the air spring so that the suspension reaches a third target height; wherein the third target height is smaller than the first target height.

[0109] In the embodiment, the charging data comprises a plurality of first charging time lengths in the process of controlling the suspension to reach the second target height and a plurality of second charging time length data in the process of controlling the suspension to reach the third target height.​

[0110] In the embodiment, the determining module 30 is further configured to:

[0111] sort the first charging durations in ascending order according to first data acquisition times corresponding to the first charging durations, to obtain a first sorting relationship;

[0112] sort the second charging durations in ascending order according to second data acquisition times corresponding to the second charging durations, to obtain a second sorting relationship;

[0113] determine the diagnosis mode corresponding to the height sensor according to the first sorting relationship and the second sorting relationship.

[0114] In the embodiment, the determining module 30 is further configured to:

[0115] determine that the diagnosis mode is a first diagnosis mode when the first charging durations in the first sorting relationship are continuously increasing and the second charging durations in the second sorting relationship are continuously decreasing;

[0116] or,

[0117] determine that the diagnosis mode is a second diagnosis mode when the first charging durations in the first sorting relationship are continuously decreasing and the second charging durations in the second sorting relationship are continuously increasing.

[0118] In the embodiment, the determining module 30 is further configured to:

[0119] determine that the diagnosis mode is a third diagnosis mode when the first charging durations in the first sorting relationship are continuously decreasing and the second charging durations in the second sorting relationship are first increasing and then decreasing;

[0120] or,

[0121] determine that the diagnosis mode is a fourth diagnosis mode when the first charging durations in the first sorting relationship are continuously increasing and the second charging durations in the second sorting relationship are first decreasing and then increasing.

[0122] In the embodiment, the executing module 40 is further configured to:

[0123] determine a target working mode corresponding to an alarm device according to the diagnosis mode;

[0124] control the alarm device to work in the target working mode;

[0125] or,

[0126] According to the diagnostic mode, target alarm information is generated;

[0127] The target alarm information is pushed to a terminal where the target object is located.

[0128] In this embodiment, the control module 20 is further configured to:

[0129] receive a diagnostic control instruction of the height sensor;

[0130] determine whether a calibration identifier of the height sensor is acquired;

[0131] when it is determined that the calibration identifier of the height sensor is not acquired, determine that the height sensor needs to be diagnosed.

[0132] The diagnostic device for the height sensor provided in this embodiment can diagnose the current mode of the height sensor through the charging data corresponding to the height sensor acquired during the working process of the air spring before the height sensor in the electronically controlled air suspension is calibrated, and perform corresponding control operation according to the diagnosed mode, thereby ensuring the accuracy of the installation of the height sensor and reducing the labor and material input and the complexity of the calibration process of the height sensor.

[0133] Figure 4 An electronic device provided in an embodiment of the present application, Figure 4 The electronic device 500 shown is a vehicle, and the electronic device 500 includes at least one processor 501, a memory 502, at least one network interface 504, and other user interfaces 503. The various components in the electronic device 500 are coupled together by a bus system 505. It can be understood that the bus system 505 is used to realize the connection and communication between the components. In addition to the data bus, the bus system 505 also includes a power bus, a control bus, and a status signal bus. However, for the purpose of clear illustration, all the buses are marked as the bus system 505 in the Figure 4

[0134] The user interface 503 can include a display, a keyboard, or a clicking device (for example, a mouse, a trackball, a touchpad, or a touch screen, etc.).

[0135] ​It is to be understood that the memory 502 in embodiments of the present application can be volatile or nonvolatile memory, or can include both volatile and nonvolatile memory. The nonvolatile memory can be read-only memory (ROM), programmable ROM (PROM), erasable PROM (EPROM), electrically EPROM (EEPROM), or flash memory, among others. The volatile memory can be random access memory (RAM), used as external cache. By way of example, and not limitation, many forms of RAM are available, for example, static RAM (SRAM), dynamic RAM (DRAM), synchronous dynamic RAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), Synchlink DRAM (SLDRAM), and direct Rambus RAM (DRRAM). Memory 502 described herein is intended to include, without being limited to, these and any other suitable types of memory.

[0136] In some embodiments, the memory 502 stores the following elements, executable units or data structures, or a subset of them, or an extended set of them: an operating system 5021 and application programs 5022.

[0137] The operating system 5021 contains various system programs, such as a framework layer, a core library layer, a driver layer, etc., for implementing various basic services and processing hardware-based tasks. The application programs 5022 contain various application programs, such as a media player, a browser, etc., for implementing various application services. The programs implementing the methods of embodiments of the present application can be included in the application programs 5022.

[0138] In the embodiments of the present application, the processor 501 is configured to execute the method steps provided by the embodiments of the method by invoking the programs or instructions stored in the memory 502, specifically, the programs or instructions stored in the application program 5022. For example, the processor 501 is configured to control the air spring in the electric control air suspension to work according to a preset rule in a case that it is determined that the height sensor needs to be diagnosed; to acquire the charging data corresponding to the height sensor in the electric control air suspension during the working process of the air spring; to determine the diagnosis mode corresponding to the height sensor according to the charging data; and to perform a control operation corresponding to the diagnosis mode.

[0139] The method disclosed by the embodiments of the present application can be applied to the processor 501 or implemented by the processor 501. The processor 501 can be an integrated circuit chip with a signal processing capability. In the implementation process, each step of the above method can be completed by the integrated logic circuit or the instruction in the form of software in the processor 501. The processor 501 can be a general processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. Each method, step and logic block diagram disclosed in the embodiments of the present application can be implemented or executed. The general processor can be a microprocessor or any conventional processor. The steps of the method disclosed in combination with the embodiments of the present application can be directly embodied as a hardware code processor for execution, or a combination of hardware and software units in the code processor for execution. The software unit can be located in a random access memory, a flash memory, a read only memory, a programmable read only memory, an electrically erasable programmable memory, a register or other mature storage medium in the art. The storage medium is located in the memory 502, and the processor 501 reads the information in the memory 502 and combines the hardware to complete the steps of the above method.

[0140] It is understood that the embodiments described herein can be implemented in hardware, software, firmware, middleware, microcode, or a combination thereof. For hardware implementation, the processing unit can be implemented in one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), general-purpose processors, controllers, microcontrollers, microprocessors, other electronic units for performing the functions described herein, or combinations thereof.

[0141] For software implementation, the techniques described herein can be implemented by units that perform the functions described herein. The software code can be stored in memory and executed by a processor. The memory can be implemented in the processor or external to the processor.

[0142] The electronic device provided in this embodiment may be as follows: Figure 4 The electronic device shown can perform the following: Figure 1 All steps of the diagnostic method for medium-altitude sensors, thereby achieving Figure 1 For details on the technical effectiveness of the diagnostic method for the height sensor shown, please refer to [link / reference needed]. Figure 1 The relevant descriptions are presented concisely and will not be elaborated upon here.

[0143] This invention also provides a storage medium (computer-readable storage medium). This storage medium stores one or more programs. The storage medium may include volatile memory, such as random access memory; the memory may also include non-volatile memory, such as read-only memory, flash memory, hard disk, or solid-state drive; the memory may also include combinations of the above types of memory.

[0144] One or more programs in the storage medium can be executed by one or more processors to implement the above-described diagnostic method for height sensors executed on the data transmission device side.

[0145] The processor is configured to execute a data transmission program stored in the memory to implement the following steps of the diagnosis method of the height sensor performed at the data transmission device side: in the case that it is determined that the height sensor needs to be diagnosed, controlling the air spring in the electronically controlled air suspension to work according to a preset rule; obtaining charging data corresponding to the height sensor in the electronically controlled air suspension during the working process of the air spring; determining a diagnosis mode corresponding to the height sensor according to the charging data; and performing a control operation corresponding to the diagnosis mode.

[0146] Those skilled in the art will further appreciate that the units and algorithm steps of each example described in connection with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or combinations of both. To clearly illustrate the interchangeability of hardware and software, various components have been described above generally in terms of their functionality, without referring to the details of their implementation. Whether such functionality is implemented in hardware or software depends on the particular application and design constraints imposed on the overall system. Skilled persons can implement the described functionality in varying ways for each particular application, but such implementation should not be construed to limit the scope of the present application.

[0147] The steps of a method or algorithm described in connection with the embodiments disclosed herein can be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module can reside in random access memory (RAM), memory, flash memory, read-only memory (ROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.

[0148] The above detailed description has further explained the purpose, technical solutions and advantages of the present application. It should be understood that the above description is only a specific implementation of the present application and is not intended to limit the protection scope of the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims

1. A diagnostic method of a height sensor, characterized by, The method is used in the stage before the height sensor starts calibration and after installation, and comprises: In the case that it is determined that the height sensor needs to be diagnosed, the working of the air spring in the electronically controlled air suspension is controlled according to preset rules; In the working process of the air spring, the charging data corresponding to the height sensor in the electronically controlled air suspension is acquired; According to the charging data, the diagnosis mode corresponding to the height sensor is determined; wherein, after the installation of the whole vehicle is completed, the height value in the electronically controlled air suspension is certain, and the angle between the height sensor and the swing rod can have four positions, including: A position corresponding to angle α2, B position corresponding to angle α4, C position corresponding to angle α6 and D position corresponding to angle α8; the A position corresponds to a first diagnosis mode, the angle working interval of which is α1-α3, and α2 is the middle position of the angle working interval; the C position corresponds to a second diagnosis mode, the angle working interval of which is α5-α7, and α6 is the middle position of the angle working interval; the B position corresponds to a third diagnosis mode, the angle working interval of which is α3-α5, and α4 is the middle position of the angle working interval; the D position corresponds to a fourth diagnosis mode, the angle working interval of which is α7-α1, and α8 is the middle position of the angle working interval; The control operation corresponding to the diagnosis mode is executed; wherein, the installation position of the height sensor should correspond to the first diagnosis mode, and a prompt is given when the second diagnosis mode, the second diagnosis mode, the third diagnosis mode or the fourth diagnosis mode is determined.

2. The method of claim 1, wherein, The working of the air spring in the electronically controlled air suspension according to preset rules comprises: A first target height corresponding to a suspension in the electronically controlled air suspension is determined; The working of the air spring is controlled to make the suspension reach the first target height; After the suspension reaches the first target height, the working of the air spring is controlled to make the suspension reach a second target height; After the suspension reaches the second target height, the working of the air spring is controlled to make the suspension reach a third target height; wherein, the third target height is smaller than the first target height.

3. The method of claim 2, wherein, The charging data comprises a plurality of first charging time lengths in the process of controlling the suspension to reach the second target height and a plurality of second charging time length data in the process of controlling the suspension to reach the third target height; According to the charging data, the diagnosis mode corresponding to the height sensor is determined, which comprises: According to the first data acquisition time corresponding to the first charging time length, the plurality of first charging time lengths are sorted in the order from small to large to obtain a first sorting relationship; According to the second data acquisition time corresponding to the second charging time length, the plurality of second charging time lengths are sorted in the order from small to large to obtain a second sorting relationship; According to the first sorting relationship and the second sorting relationship, the diagnosis mode corresponding to the height sensor is determined.

4. The method of claim 3, wherein, According to the first sorting relationship and the second sorting relationship, the diagnosis mode corresponding to the height sensor is determined, which comprises: determining the diagnostic mode as the first diagnostic mode when it is determined that the first charging duration in the first ordering relationship is continuously increasing and the second charging duration in the second ordering relationship is continuously decreasing; or, determining the diagnostic mode as the second diagnostic mode when it is determined that the first charging duration in the first ordering relationship is continuously decreasing and the second charging duration in the second ordering relationship is continuously increasing.

5. The method of claim 3, wherein, The determining of the diagnostic mode corresponding to the height sensor according to the first ordering relationship and the second ordering relationship comprises: determining the diagnostic mode as the third diagnostic mode when it is determined that the first charging duration in the first ordering relationship is continuously decreasing and the second charging duration in the second ordering relationship is first increasing and then decreasing; or, determining the diagnostic mode as the fourth diagnostic mode when it is determined that the first charging duration in the first ordering relationship is continuously increasing and the second charging duration in the second ordering relationship is first decreasing and then increasing.

6. The method of claim 1, wherein, The performing of the control operation corresponding to the diagnostic mode comprises: determining a target working mode corresponding to an alarm device according to the diagnostic mode; controlling the alarm device to work in the target working mode; or, generating target alarm information according to the diagnostic mode; pushing the target alarm information to a terminal where a target object is located.

7. The method of claim 1, wherein, The determining of the need to diagnose the height sensor comprises: receiving a diagnostic control instruction of the height sensor; determining whether a calibration identifier of the height sensor is acquired; determining the need to diagnose the height sensor when it is determined that the calibration identifier of the height sensor is not acquired.

8. A diagnostic device for a height sensor, the device being applied to a stage before the height sensor starts calibration, after the height sensor starts installation, characterized by, comprises: a control module configured to control an air spring in an electronically controlled air suspension to work according to a preset rule when it is determined that the height sensor needs to be diagnosed; an acquisition module configured to acquire charging data corresponding to the height sensor in the electronically controlled air suspension during working of the air spring; a determination module configured to determine a diagnostic mode corresponding to the height sensor according to the charging data; wherein the height value in the electronically controlled air suspension is constant after the vehicle is installed, the angle between the height sensor and a swing rod has four positions, including an A position corresponding to an angle α2, a B position corresponding to an angle α4, a C position corresponding to an angle α6, and a D position corresponding to an angle α8; the A position corresponds to a first diagnostic mode, the angle working interval of which is α1-α3, and the α2 is a middle position of the angle working interval; the C position corresponds to a second diagnostic mode, the angle working interval of which is α5-α7, and the α6 is a middle position of the angle working interval; the B position corresponds to a third diagnostic mode, the angle working interval of which is α3-α5, and the α4 is a middle position of the angle working interval; and the D position corresponds to a fourth diagnostic mode, the angle working interval of which is α7-α1, and the α8 is a middle position of the angle working interval. The execution module is configured to execute a control operation corresponding to the diagnostic mode; wherein the installation position of the height sensor should correspond to the first diagnostic mode, and a prompt is given when the second diagnostic mode, the second diagnostic mode, the third diagnostic mode or the fourth diagnostic mode is determined.

9. A vehicle characterized by comprising: Comprise: A processor and a memory, wherein the processor is configured to execute a diagnostic program of a height sensor stored in the memory, so as to realize the height sensor diagnostic method in any one of claims 1-7.

10. A storage medium, characterized by The storage medium stores one or more programs, which can be executed by one or more processors to realize the height sensor diagnostic method in any one of claims 1-7.

Citation Information

Patent Citations

  • Height sensor calibration method, device and equipment, electronic control air suspension and vehicle

    CN110901324A

  • Detection equipment for air suspension system height sensor

    CN111486809A