Correcting device of height sensor

By designing correction equipment for height sensors, the switching structure and resistance acquisition circuit are used to correct the temperature-induced offset, the detection accuracy of the height sensor under temperature changes is solved, and the control accuracy of the electronically controlled air suspension is improved. Vehicle stability.

CN119197287APending Publication Date: 2024-12-27GREE ELECTRIC APPLIANCE INC OF ZHUHAI
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411318755.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-20
Publication Date
2024-12-27

AI Technical Summary

Technical Problem

The height sensor is prone to numerical deviation of the detection result when the temperature changes, which affects the control accuracy of the electronically controlled air suspension.

Method used

A correction device including a first switching structure, a first voltage divider structure, a second switching structure and a resistance acquisition circuit is designed. By controlling the switching state, the temperature and offset are determined according to the corresponding relationship between the resistance value and the pre-stored , correct the detection height value to realize the correction of the output value of the height sensor.

Benefits of technology

It improves the acquisition accuracy of the height sensor, ensures the control accuracy of the electronically controlled air suspension, improves the stability of the vehicle operation and user comfort, and solves the problem of detecting data offset.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119197287A_ABST
    Figure CN119197287A_ABST
Patent Text Reader

Abstract

The invention provides height sensor correction equipment, which comprises a first switch structure, a second switch structure, a third switch structure, a fourth switch structure, a fifth switch structure and a sixth switch structure, the first end of the first voltage dividing structure is electrically connected with the first end of the first switch structure; the first end of the second switch structure is electrically connected with the second end of the first voltage dividing structure; the input end of the resistance acquisition circuit is electrically connected with the second end of the second switch structure, and the resistance acquisition circuit is used for acquiring the resistance value of the first voltage division structure under the condition that the second switch structure is switched on; the control device is electrically connected with the control end of the first switch structure, the control end of the second switch structure, the second end of the first voltage dividing structure and the output end of the resistance acquisition circuit and used for controlling the on-off states of the first switch structure and the second switch structure and determining the detection height value of the height sensor according to the logic signal. The detection height value is corrected according to the resistance value, and the logic signal represents the second end voltage change condition of the first voltage dividing structure.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of sensor calibration, and in particular to a calibration device for a height sensor. Background Art

[0002] Electronically Controlled Air Suspension (ECAS) is mainly composed of air springs, height sensors, electronic control units (ECUs), solenoid valves, and air reservoirs. The height sensor is installed on the frame and connected to the axle through a rocker bar. When the height of the vehicle body and the axle changes, the height sensor will collect the height value in real time and transmit it to the ECU. The ECU controls the solenoid valve to inflate or deflate the air spring based on the collected signal, thereby ensuring the stability of the vehicle body and improving the vehicle's passability on different road surfaces and adaptability to different loads.

[0003] As the data collection system of the entire system, the accuracy of the data collection affects the control accuracy of the electronic control unit (ECU). However, as the temperature changes, the height sensor is prone to numerical deviation of the detection results. Therefore, how to ensure the data collection accuracy of the height sensor is a technical problem that needs to be solved urgently in the existing technology. Summary of the invention

[0004] The main purpose of the present application is to provide a calibration device for a height sensor, so as to at least solve the problem of detection data offset of the height sensor in the prior art.

[0005] In order to achieve the above-mentioned purpose, according to one aspect of the present application, a calibration device for a height sensor is provided, comprising: a first switch structure, comprising a control end, a first end, and a second end, wherein the first end of the first switch structure is used to be electrically connected to a first power supply, and the second end of the first switch structure is used to be electrically connected to the height sensor; a first voltage-dividing structure, wherein the first end of the first voltage-dividing structure is electrically connected to the first end of the first switch structure; a second switch structure, comprising a control end, a first end, and a second end, wherein the first end of the second switch structure is electrically connected to the second end of the first voltage-dividing structure; a resistance acquisition circuit, wherein the input end of the resistance acquisition circuit is electrically connected to the second end of the second switch structure, and the resistance acquisition circuit is used to acquire the resistance value of the first voltage-dividing structure when the second switch structure is turned on; a control device, which is electrically connected to the control end of the first switch structure, the control end of the second switch structure, the second end of the first voltage-dividing structure, and the output end of the resistance acquisition circuit, respectively, and the control device is used to control the switch states of the first switch structure and the second switch structure, determine the detected height value of the height sensor according to a logic signal, and correct the detected height value according to the resistance value, wherein the logic signal represents the voltage change at the second end of the first voltage-dividing structure.

[0006] Optionally, the control device is also used to: determine, based on the resistance value and a first correspondence between the resistance and the temperature that is pre-stored, that the temperature corresponding to the resistance value in the first correspondence is the current actual temperature; determine, based on the current actual temperature and a second correspondence between the temperature and the height signal offset that is pre-stored, that the height signal offset corresponding to the current actual temperature in the second correspondence is the detection offset; and correct the detected height value according to the detection offset.

[0007] Optionally, the first switch structure and the second switch structure are both normally closed switch structures, and the control device is further used to: send a first conduction signal to the control end of the first switch structure to turn on the first switch structure to receive the logic signal; and when the logic signal is received, send a second conduction signal to the second switch structure to receive the resistance value collected by the resistance acquisition circuit.

[0008] Optionally, the first switch structure includes: a second voltage-dividing structure, wherein the first end of the second voltage-dividing structure is the first end of the first switch structure; a third voltage-dividing structure, wherein the first end of the third voltage-dividing structure is electrically connected to the second end of the second voltage-dividing structure; a first switch device, including a control end, a first end, and a second end, wherein the control end of the first switch device is the control end of the first switch structure, the first end of the first switch device is electrically connected to the second end of the third voltage-dividing structure, and the second end of the first switch device is grounded; a second switch device, including a control end, a first end, and a second end, wherein the control end of the second switch device is electrically connected to the second end of the second voltage-dividing structure, the first end of the second switch device is electrically connected to the first end of the second voltage-dividing structure, and the second end of the second switch device is the second end of the first switch structure.

[0009] Optionally, the control device includes: a signal acquisition circuit, an input end of the signal acquisition circuit being electrically connected to the second end of the first voltage-dividing structure, and the signal acquisition circuit being used to collect the logic signal when the first switch structure is turned on; a controller, electrically connected to the control end of the first switch structure, the control end of the second switch structure, the output end of the signal acquisition circuit, and the output end of the resistance acquisition circuit, respectively, and being used to determine the detection height value according to the logic signal, and to correct the detection height value according to the resistance value.

[0010] Optionally, the signal acquisition circuit includes: a comparator, including a first input terminal, a second input terminal and an output terminal, the first input terminal of the comparator is the input terminal of the signal acquisition circuit, the second input terminal of the comparator is used to be electrically connected to a second power supply, the output terminal of the comparator is the output terminal of the signal acquisition circuit, and the comparator is used to compare the second terminal voltage of the second switch structure with a reference voltage provided by the second power supply, and output the logic signal with different levels according to the comparison result.

[0011] Optionally, the height sensor includes an inductor, and the controller is further used to: start timing when the first switch structure is turned on, and end timing when the level of the received logic signal changes, and determine the timing duration as the charging time of the inductor; determine the detected height value based on the charging time.

[0012] Optionally, the signal acquisition circuit also includes: a first filtering structure, the output end of the comparator is electrically connected to the controller through the first filtering structure; a second filtering structure, the first end of the second filtering structure is electrically connected to the first input end of the comparator, and the second end of the second filtering structure is grounded.

[0013] Optionally, the signal acquisition circuit also includes: a first current limiting structure, a first end of the first current limiting structure is electrically connected to the output end of the comparator, and a second end of the first current limiting structure is used to be electrically connected to a third power supply; a second current limiting structure, a second input end of the comparator is electrically connected to the second power supply through the second current limiting structure.

[0014] Optionally, the correction device also includes: a third current limiting structure, through which the first end of the first switch structure is electrically connected to the first power supply; a fourth current limiting structure, through which the control end of the first switch structure is electrically connected to the control device; and a third filtering structure, through which the second end of the first switch structure is electrically connected to the height sensor.

[0015] By applying the technical solution of the present application, the first power supply, the first switch structure and the height sensor constitute a first branch, the first power supply, the first voltage divider structure and the control device constitute a second branch, before the first switch structure is turned on, the first power supply only supplies power to the second branch, the first switch structure is controlled by the control device to change from disconnection to conduction, and the first power supply changes from only supplying power to the first branch to supplying power to the first branch and the second branch, so that the voltage at the first voltage divider structure changes, and the control device obtains the detected height value of the height sensor by collecting the logic signal representing the voltage change; the resistance acquisition circuit connects the second switch structure with the first voltage divider structure through the resistance acquisition circuit. The two ends are electrically connected, and the control device controls the second switch structure to be turned on, so that the resistance acquisition circuit acquires the resistance value of the second voltage-dividing structure and transmits the resistance value to the control device. Since the resistance value can represent the change in temperature, the control device can determine the offset of the height sensor caused by the temperature based on the resistance value, thereby correcting the detected height value to obtain the corrected height value, thereby realizing the correction of the output value of the height sensor, so that the final height data is more accurate, thereby ensuring the control accuracy of the electronically controlled air suspension, improving the stability of vehicle operation and user comfort, and solving the problem of detection data offset of the height sensor in the prior art. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] The drawings constituting part of the present application are used to provide a further understanding of the present application. The exemplary embodiments and descriptions of the present application are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0017] Figure 1 A schematic structural diagram of a height sensor calibration device provided in an embodiment of the present application is shown;

[0018] Figure 2 A schematic structural diagram of another height sensor calibration device provided according to an embodiment of the present application is shown;

[0019] Figure 3 A timing control diagram of a controller in a calibration device for a height sensor provided according to an embodiment of the present application is shown;

[0020] Figure 4 A corresponding curve diagram of charging time and temperature of a height sensor provided according to an embodiment of the present application is shown.

[0021] The drawings include the following reference numerals:

[0022] 10. First switch structure; 11. First power supply; 12. Height sensor; 13. First voltage-dividing structure; 14. Second switch structure; 15. Resistance acquisition circuit; 16. Control device; 17. Second voltage-dividing structure; 18. Third voltage-dividing structure; 19. First switch device; 20. Second switch device; 21. Signal acquisition circuit; 22. Controller; 23. Comparator; 24. Second power supply; 25. Inductor; 26. First filtering structure; 27. Second filtering structure; 28. First resistor; 29. ​​First capacitor; 30. First current-limiting structure; 31. Second current-limiting structure; 32. Third current-limiting structure; 33. Fourth current-limiting structure; 34. Third filtering structure; 35. Second resistor; 36. Third capacitor; 37. Third power supply. DETAILED DESCRIPTION

[0023] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0024] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.

[0025] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the accompanying drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present application described here. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0026] As introduced in the background technology, the height sensor in the prior art has the problem of detection data offset. To solve the above technical problem, an embodiment of the present application provides a calibration device for a height sensor.

[0027] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the accompanying drawings in the embodiments of the present invention.

[0028] The embodiment of the present application provides a Figure 1 The calibration device of the height sensor shown, such as Figure 1 As shown, the height sensor device includes:

[0029] A first switch structure 10, comprising a control end, a first end, and a second end, wherein the first end of the first switch structure 10 is used to be electrically connected to a first power source 11, and the second end of the first switch structure 10 is used to be electrically connected to the height sensor 12;

[0030] Specifically, the first power supply is used to supply power to the height sensor when the first switch structure is turned on. The first switch structure is controlled to be turned on or off by a control end thereof. The first switch structure may be any suitable switch structure, and may be a single switch structure, such as a single switch tube such as a triode or a MOS tube, or may be a composite switch structure.

[0031] A first voltage dividing structure 13, wherein a first end of the first voltage dividing structure 13 is electrically connected to a first end of the first switch structure 10;

[0032] Specifically, the first end of the first voltage-dividing structure is electrically connected to the first power supply. When the first switch structure is disconnected, the first power supply only supplies power to the first voltage-dividing structure. When the first switch structure is turned on, the first power supply supplies power to the branch where the height sensor is located and the branch where the first voltage-dividing structure is located. The first voltage-dividing structure plays a voltage-dividing role and may specifically include one or more of a resistor, a diode, a capacitor, and an inductor, or other voltage-dividing devices may be used.

[0033] A second switch structure 14 includes a control end, a first end, and a second end, wherein the first end of the second switch structure 14 is electrically connected to the second end of the first voltage dividing structure 13;

[0034] Specifically, the second switch structure is controlled to be turned on or off by the control terminal thereof. The second switch structure may be any suitable switch structure, and may be a single switch structure, such as a transistor, a MOS tube, a relay or other single switch tube, or a composite switch structure.

[0035] a resistance acquisition circuit 15, wherein an input end of the resistance acquisition circuit 15 is electrically connected to a second end of the second switch structure 14, and the resistance acquisition circuit 15 is used to acquire a resistance value of the first voltage dividing structure 13 when the second switch structure 14 is turned on;

[0036] Specifically, when the second switch structure is turned on, the line between the resistance acquisition circuit and the first voltage-dividing structure is turned on, and the actual resistance value of the first voltage-dividing structure is acquired through the resistance acquisition circuit; when the ground also disconnects the switch structure, the resistance acquisition circuit is not connected to the branch where the first voltage-dividing structure is located, and will not affect the branch.

[0037] The control device 16 is electrically connected to the control end of the first switch structure 10, the control end of the second switch structure 14, the second end of the first voltage divider structure 13 and the output end of the resistance acquisition circuit 15, respectively. The control device 16 is used to control the switching state of the first switch structure 10 and the second switch structure 14, determine the detection height value of the height sensor according to the logic signal, and correct the detection height value according to the resistance value. The logic signal represents the voltage change of the second end of the first voltage divider structure.

[0038] Specifically, the detected height value is the height data detected by the height sensor.

[0039] Through the embodiment, the first power supply, the first switch structure and the height sensor constitute a first branch, the first power supply, the first voltage divider structure and the control device constitute a second branch, before the first switch structure is turned on, the first power supply only supplies power to the second branch, the first switch structure is controlled by the control device to change from disconnection to conduction, and the first power supply changes from only supplying power to the first branch to supplying power to the first branch and the second branch, so that the voltage at the first voltage divider structure changes, and the control device obtains the detected height value of the height sensor by collecting the logic signal representing the voltage change; the resistance acquisition circuit connects the second switch structure to the second end of the first voltage divider structure The control device is electrically connected by controlling the second switch structure to be turned on, so that the resistance acquisition circuit acquires the resistance value of the second voltage-dividing structure and transmits the resistance value to the control device. Since the resistance value can represent the change in temperature, the control device can determine the offset of the height sensor caused by the temperature according to the resistance value, thereby correcting the detected height value to obtain the corrected height value, thereby realizing the correction of the output value of the height sensor, so that the final height data is more accurate, thereby ensuring the control accuracy of the electronically controlled air suspension, improving the stability of the vehicle operation and the user comfort, and solving the problem of detection data offset of the height sensor in the prior art.

[0040] In an exemplary embodiment, the first voltage-dividing structure includes a resistor, such as one resistor, multiple resistors connected in series, or multiple resistors connected in series and parallel. The specific structures of the first switch structure and the second switch structure may be the same or different. For example, both the first switch structure and the second switch structure include a triode / MOS tube. The resistance acquisition circuit may be any suitable circuit structure for collecting resistance in the prior art, such as a multimeter circuit, a differential amplifier circuit, a constant current source circuit, and the like.

[0041] For example, Figure 2 As shown, the first voltage dividing structure 13 is a resistor, and the second switch structure 14 is a triode.

[0042] According to some optional embodiments of the present application, the control device is also used to: determine the temperature corresponding to the resistance value in the first corresponding relationship as the current actual temperature according to the resistance value and the first corresponding relationship between the pre-stored resistance and the temperature; determine the height signal offset corresponding to the current actual temperature in the second corresponding relationship as the detection offset according to the current actual temperature and the second corresponding relationship between the pre-stored temperature and the height signal offset; and correct the detected height value according to the detection offset. In this embodiment, first, according to the pre-stored first corresponding relationship between the resistance and the temperature, the temperature corresponding to the resistance value collected by the resistance acquisition circuit is determined from the first corresponding relationship as the current actual temperature, and then according to the pre-stored second corresponding relationship between the temperature and the height signal offset, the height signal offset corresponding to the current actual temperature is determined from the second corresponding relationship to obtain the detection offset, and the detection offset is used to correct the detected height value, further realizing the correction of the system deviation caused by the temperature change of the height sensor, and further ensuring that the height signal finally obtained is more accurate. In addition, the sensor is not introduced into the calibration device of the height sensor of the present application, and the test of the current application environment temperature can be realized through the hardware circuit.

[0043] Furthermore, the first switch structure and the second switch structure are both normally closed switch structures, and the control device is further used to: send a first conduction signal to the control end of the first switch structure to turn on the first switch structure to receive the logic signal; and send a second conduction signal to the second switch structure in the case of receiving the logic signal to receive the resistance value collected by the resistance acquisition circuit. The control device achieves the effect of receiving the logic signal first and then collecting the resistance value by controlling the conduction timing of the first switch structure and the second switch structure, further avoiding the problem that the resistance acquisition circuit affects the reception of the logic signal.

[0044] In an optional embodiment, as Figure 2 As shown, the first switch structure 10 includes:

[0045] A second voltage dividing structure 17, wherein the first end of the second voltage dividing structure 17 is the first end of the first switch structure 10, that is, the first end of the second voltage dividing structure 17 is used to be electrically connected to the first power source 11;

[0046] A third voltage dividing structure 18, wherein a first end of the third voltage dividing structure 18 is electrically connected to a second end of the second voltage dividing structure 17;

[0047] A first switch device 19, comprising a control end, a first end, and a second end, wherein the control end of the first switch device 19 is the control end of the first switch structure 10, that is, the control end of the first switch device 19 is electrically connected to the control device 16, the first end of the first switch device 19 is electrically connected to the second end of the third voltage-dividing structure 18, and the second end of the first switch device 19 is grounded;

[0048] The second switch device 20 includes a control end, a first end, and a second end. The control end of the second switch device 20 is electrically connected to the second end of the second voltage dividing structure 17, the first end of the second switch device 20 is electrically connected to the first end of the second voltage dividing structure 17, and the second end of the second switch device 20 is the second end of the first switch structure 10, that is, the second end of the second switch device 20 is used to be electrically connected to the height sensor 12.

[0049] In the embodiment, the control device controls the conduction of the first switching device to achieve conduction of the branch from the first power supply, the second voltage-dividing structure, and the third voltage-dividing structure through the first switching device to the ground. The voltage across the second voltage-dividing structure is greater than or equal to the conduction voltage drop of the second switching device, so that the second switching device is turned on, thereby achieving conduction of the first switching structure.

[0050] Specifically, the second voltage-dividing structure and the third voltage-dividing structure are both devices for voltage division, and their specific structures may be the same or different. For example, both may include one or more of a resistor, a diode, a capacitor, and an inductor, or other voltage-dividing devices may be used. The first switch device and the second switch device are both three-terminal switch devices, and their types may be the same or different. For example, the first switch device and the second switch device both use a triode or a MOS tube.

[0051] In an exemplary embodiment, Figure 2 As shown, the second voltage-dividing structure 17 and the third voltage-dividing structure 18 are both resistors, and the first switch device 19 and the second switch device 20 are both triodes.

[0052] Other options include Figure 2 As shown, the control device 16 includes:

[0053] a signal acquisition circuit 21, wherein an input end of the signal acquisition circuit 21 is electrically connected to a second end of the first voltage-dividing structure 13, and the signal acquisition circuit 21 is used to acquire the logic signal when the first switch structure 10 is turned on;

[0054] Specifically, the signal acquisition circuit is used to acquire the logic signal.

[0055] The controller 22 is electrically connected to the control end of the first switch structure 10, the control end of the second switch structure 14, the output end of the signal acquisition circuit 21, and the output end of the resistance acquisition circuit 15, respectively. The controller 22 is used to determine the detection height value according to the logic signal, and to correct the detection height value according to the resistance value.

[0056] In the control device of the embodiment, the logic signal is collected by the signal acquisition circuit, and the controller executes the process of determining the detection height value according to the logic signal and correcting the detection height value according to the resistance value. The correction of the output value of the height sensor is further realized by the combination of software and hardware, which further ensures that the height data finally obtained is relatively accurate, thereby further ensuring the control accuracy of the electronically controlled air suspension.

[0057] Specifically, the controller may be a control unit such as an MCU (Microcontroller Unit), an ECU (Electronic Controller Unit), or a CPU (Central Processing Unit).

[0058] Those skilled in the art can select any suitable circuit structure for signal acquisition as the signal acquisition circuit. In some embodiments of the present application, for example Figure 2 As shown, the signal acquisition circuit 21 includes: a comparator 23, including a first input terminal, a second input terminal and an output terminal, the first input terminal of the comparator 23 is the input terminal of the signal acquisition circuit 21, that is, the first input terminal of the comparator 23 is electrically connected to the second terminal of the first voltage-dividing structure 13, the second input terminal of the comparator 23 is used to be electrically connected to the second power supply 24, the output terminal of the comparator 23 is the output terminal of the signal acquisition circuit 21, that is, the output terminal of the comparator 23 is electrically connected to the controller 22, and the comparator 23 is used to compare the second terminal voltage of the second switch structure 14 with the reference voltage provided by the second power supply 24, and output the logic signal with different levels according to the comparison result. In this embodiment, the comparator compares the input reference voltage with the second terminal voltage of the second switch structure, and outputs a high-level logic signal or a low-level logic signal to characterize the change of the second terminal voltage of the second switch structure, so that the subsequent controller can determine the height signal output by the height sensor according to the voltage change.

[0059] In addition, if Figure 2 As shown, the comparator 23 further includes a power supply terminal and a ground terminal. The power supply terminal of the comparator 23 is used to be electrically connected to the first power supply 11, and the ground terminal of the comparator 23 is grounded.

[0060] Specifically, the first input terminal of the comparator is the non-inverting input terminal of the comparator, and the second input terminal of the comparator is the inverting input terminal of the comparator. When the voltage of the non-inverting input terminal of the comparator is greater than the voltage of the inverting input terminal of the comparator, the comparator will output a logic signal of a first level, and when the voltage of the non-inverting input terminal of the comparator is less than or equal to the voltage of the inverting input terminal of the comparator, the comparator will output a logic signal of a second level.

[0061] like Figure 2 The height sensor 12 is an electromagnetic induction height sensor, which measures the height of an object by the principle of electromagnetic induction. When the first switch device 19 and the second switch device 20 in the first switch structure 10 are turned on in sequence, so that the first switch structure 10 is turned on, the first power supply 11 charges the height sensor 12 through the first switch structure 10. In the process of charging the height sensor 12, the second terminal voltage of the first voltage divider structure 13 will slowly decrease, and the input voltage of the in-phase input terminal of the comparator will slowly decrease. When the height sensor is fully charged, the input voltage of the in-phase input terminal of the comparator no longer decreases and becomes a stable state. During the whole process, the input voltage of the inverting input terminal of the comparator is a stable voltage value provided by the second power supply. This application collects the voltage signal representing the height output by the height sensor according to the change of the voltage difference between the two input terminals of the comparator.

[0062] Some other options, such as Figure 2 As shown, the height sensor 12 includes an inductor 25, that is, the height sensor of the present application is an inductive height sensor, and the controller 22 is also used to: start timing when the first switch structure 10 is turned on, and end timing when the level of the received logic signal jumps, and determine the timing duration as the charging time of the inductor 25; determine the detected height value according to the charging time. In this embodiment, when the inductance value L of the inductor in the height sensor is different, the charging voltage drop rate is also different when charging the inductor in the height sensor. By using this characteristic, when the rotation of the inductive height sensor causes the change of the inductance value, when the voltage at the second input terminal of the comparator remains unchanged, the charging time finally sampled is different due to different inductance values. The height value detected by the height sensor is judged by the changing trend of the charging time, and the effect of accurately collecting the height value output by the height sensor is further achieved.

[0063] Figure 2 The control timing diagram of the controller in the height sensor correction device shown is as follows Figure 3As shown, when the control signal HS_C sent by the controller 22 to the first switch device 19 is at a high level, the first switch device 19 and the second switch device 20 are turned on in sequence, and the comparator 23 indirectly collects the charging voltage HS_I of the height sensor through the second end of the first voltage divider structure 13 and compares it with the reference voltage U2. According to the output result, the comparator outputs a logic signal HS_O, and obtains the inductance value of the inductor 25 by calculating the charging time, thereby obtaining the height collected by the height sensor 12. When the control signal R_C sent by the controller to the second switch structure 14 is at a high level, the resistance acquisition circuit 15 collects the resistance value of the inductor 25 at the current temperature to obtain the current temperature.

[0064] Specifically, Figure 2 As shown, the signal acquisition circuit 21 also includes: a first filter structure 26, through which the output end of the comparator 23 is electrically connected to the controller 22; a second filter structure 27, a first end of the second filter structure 27 is electrically connected to the first input end of the comparator 23, and a second end of the second filter structure 27 is grounded. By respectively setting filter structures at the input end and the output end of the signal acquisition circuit to remove noise interference, it is ensured that the signal input to the comparator and the signal output from the comparator are relatively smooth and stable, and have good quality.

[0065] This application Figure 2 The specific structure of the first filtering structure 26 including the first resistor 28 and the first capacitor 29 and the second filtering structure 27 including the second capacitor is exemplarily shown, wherein the first end of the first resistor 28 is electrically connected to the output end of the comparator 23, the second end of the first resistor 28 is electrically connected to the controller 22, the first end of the first capacitor 29 is electrically connected to the second end of the first resistor 28, and the second end of the first capacitor 29 is grounded. The first end of the second capacitor is electrically connected to the first input end of the comparator 23, and the second end of the second capacitor is grounded. The first resistor and the first capacitor form an RC filter to filter the signal, and the first resistor can also limit the output current to protect other components from damage; the second capacitor is used to filter high-frequency noise.

[0066] Of course, those skilled in the art may also adopt other filter circuit structures as the first filter structure 26 and the second filter structure 27, and the present application does not impose any specific limitation on this.

[0067] Alternatively, if Figure 2As shown, the signal acquisition circuit 21 also includes: a first current limiting structure 30, a first end of the first current limiting structure 30 is electrically connected to the output end of the comparator 23, and a second end of the first current limiting structure 30 is used to be electrically connected to the third power supply 37; a second current limiting structure 31, and a second input end of the comparator 23 is electrically connected to the second power supply 24 through the second current limiting structure 31. In this embodiment, the first current limiting structure is connected in series between the output end of the comparator and the third power supply, so that the output end of the comparator can be clamped at a certain potential, which plays a role in stabilizing the output signal of the comparator; the second current limiting structure is connected in series between the second input end of the comparator and the second power supply, which can limit the current of the second input end of the comparator, improve the input impedance of the second input end of the comparator, make the comparator less disturbed by the external environment, improve the stability and accuracy of the comparator, and also play a role in limiting the voltage of the second input end of the comparator, preventing the second input end of the comparator from being damaged by excessive voltage shock.

[0068] Specifically, the first current limiting structure 30 and the second current limiting structure 31 can select any suitable current limiting device in the prior art, such as a combination of one or more of a resistor, an inductor, a MOS tube, a diode, a triode, and a capacitor. Figure 2 As shown, the first current limiting structure 30 includes a resistor, and the second current limiting structure 31 includes a resistor. The number and specific connection method of the resistors are not limited, for example, it can be one resistor or multiple resistors connected in series and parallel.

[0069] Alternatively, if Figure 2As shown, the correction device also includes: a third current limiting structure 32, through which the first end of the first switch structure 10 is electrically connected to the first power supply 11; a fourth current limiting structure 33, through which the control end of the first switch structure 10 is electrically connected to the control device 16, specifically, the control end of the first switch device 19 is electrically connected to the control device 16 through the fourth current limiting structure 33; and a third filtering structure 34, through which the second end of the first switch structure 10 is electrically connected to the height sensor 12. In this embodiment, a third current limiting structure is connected in series between the first end of the first switch structure and the first power supply, which can regulate the current flowing to the branch where the first switch structure is located, prevent the current from being too large to damage circuit components, and protect the normal operation of the circuit; a fourth current limiting structure is set at the control end of the first switch structure, which can control the signal size input to the first switch structure by the controller so that it is within an appropriate range, protect the first switch structure from being affected by excessive input signals, and stabilize the working point of the first switch structure to ensure the stability and reliability of the circuit. In addition, the fourth current limiting structure can also improve the linearity and anti-interference ability of the circuit; the third filtering structure is set at the output end of the height sensor to filter the output signal of the height sensor, further ensuring the stability and smoothness of the signal.

[0070] Specifically, the third current limiting structure 32 and the fourth current limiting structure 33 may select any suitable current limiting device in the prior art, such as a combination of one or more of a resistor, an inductor, a MOS tube, a diode, a triode, and a capacitor. Figure 2 As shown, the third current limiting structure 32 includes a resistor, and the fourth current limiting structure 33 includes a resistor. The number and specific connection method of the resistors are not limited, for example, it can be one resistor or multiple resistors connected in series and parallel.

[0071] Those skilled in the art may also adopt any suitable filter circuit structure as the third filter structure 34. In a specific embodiment, Figure 2As shown, the third filtering structure 34 includes: a second resistor 35, a first end of the second resistor 35 is electrically connected to the height sensor 12, specifically, the first end of the second resistor 35 is electrically connected to the inductor 25 of the height sensor 12, and a second end of the second resistor 35 is electrically connected to the second end of the first switch structure 10, specifically, the second end of the second resistor 35 is electrically connected to the second end of the second switch device 20; a third capacitor 36, a first end of the third capacitor 36 is electrically connected to the first end of the second resistor 35, and a second end of the third capacitor 36 is grounded. The second resistor and the third capacitor form an RC filter to filter the signal, and the second resistor can also limit the output current to protect other components from damage.

[0072] The relationship curve between the charging time and temperature of the height sensor at different temperatures is as follows: Figure 4 As shown, the height value detected by the height sensor is calculated by the charging time. Figure 4 It can be seen that under different temperatures (T1 / T2 / T3 / T4), there is a systematic deviation in the detection value of the height sensor. This application uses resistance detection to calculate the current actual temperature, and then corrects the detection value through the correspondence between temperature and deviation value. The height finally obtained by the height sensor collects more accurately.

[0073] An embodiment of the present application further provides a height sensor system, the height sensor system comprising:

[0074] Height sensor;

[0075] Calibration equipment for any height sensor described above.

[0076] Obviously, those skilled in the art should understand that the modules or steps of the present invention described above can be implemented by a general-purpose computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order than herein, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present invention is not limited to any specific combination of hardware and software.

[0077] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0078] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0079] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0080] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0081] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0082] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0083] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0084] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0085] From the above description, it can be seen that the embodiments described in this application achieve the following technical effects:

[0086] In the height sensor of the present application, the first power supply, the first switch structure and the height sensor constitute a first branch, the first power supply, the first voltage divider structure and the control device constitute a second branch, before the first switch structure is turned on, the first power supply only supplies power to the second branch, and the first switch structure is controlled by the control device to change from disconnection to conduction, and the first power supply changes from only supplying power to the first branch to supplying power to the first branch and the second branch, so that the voltage at the first voltage divider structure changes, and the control device obtains the detected height value of the height sensor by collecting the logic signal representing the voltage change; the resistance acquisition circuit connects the second switch structure with the first voltage divider structure through the resistance acquisition circuit. The two ends are electrically connected, and the control device controls the second switch structure to be turned on, so that the resistance acquisition circuit acquires the resistance value of the second voltage-dividing structure and transmits the resistance value to the control device. Since the resistance value can represent the change in temperature, the control device can determine the offset of the height sensor caused by the temperature based on the resistance value, thereby correcting the detected height value to obtain the corrected height value, thereby realizing the correction of the output value of the height sensor, so that the final height data is more accurate, thereby ensuring the control accuracy of the electronically controlled air suspension, improving the stability of vehicle operation and user comfort, and solving the problem of detection data offset of the height sensor in the prior art.

[0087] The above description is only the preferred embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. 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 calibration device for a height sensor, characterized in that: include: A first switch structure, comprising a control end, a first end, and a second end, wherein the first end of the first switch structure is used to be electrically connected to a first power source, and the second end of the first switch structure is used to be electrically connected to the height sensor; a first voltage-dividing structure, wherein a first end of the first voltage-dividing structure is electrically connected to a first end of the first switch structure; A second switch structure comprises a control end, a first end and a second end, wherein the first end of the second switch structure is electrically connected to the second end of the first voltage dividing structure; a resistance acquisition circuit, wherein an input end of the resistance acquisition circuit is electrically connected to the second end of the second switch structure, and the resistance acquisition circuit is used to acquire the resistance value of the first voltage-dividing structure when the second switch structure is turned on; A control device is electrically connected to the control end of the first switch structure, the control end of the second switch structure, the second end of the first voltage-dividing structure, and the output end of the resistance acquisition circuit, respectively. The control device is used to control the switching states of the first switch structure and the second switch structure, determine the detection height value of the height sensor according to a logic signal, and correct the detection height value according to the resistance value. The logic signal represents the voltage change at the second end of the first voltage-dividing structure.

2. The calibration device according to claim 1, characterized in that The control device is also used for: According to the resistance value and a pre-stored first correspondence relationship between resistance and temperature, determining that the temperature corresponding to the resistance value in the first correspondence relationship is the current actual temperature; According to the current actual temperature and a pre-stored second correspondence between the temperature and the height signal offset, determining the height signal offset corresponding to the current actual temperature in the second correspondence as a detection offset; The detected height value is corrected according to the detected offset.

3. The calibration device according to claim 1, characterized in that The first switch structure and the second switch structure are both normally closed switch structures, and the control device is further used for: Sending a first conduction signal to a control end of the first switch structure to turn on the first switch structure to receive the logic signal; When the logic signal is received, a second conduction signal is sent to the second switch structure to receive the resistance value collected by the resistance collection circuit.

4. The calibration device according to claim 1, characterized in that The first switch structure comprises: a second voltage-dividing structure, wherein a first end of the second voltage-dividing structure is a first end of the first switch structure; a third voltage-dividing structure, a first end of the third voltage-dividing structure being electrically connected to a second end of the second voltage-dividing structure; A first switch device comprises a control end, a first end and a second end, wherein the control end of the first switch device is the control end of the first switch structure, the first end of the first switch device is electrically connected to the second end of the third voltage-dividing structure, and the second end of the first switch device is grounded; The second switch device includes a control end, a first end, and a second end. The control end of the second switch device is electrically connected to the second end of the second voltage-dividing structure, the first end of the second switch device is electrically connected to the first end of the second voltage-dividing structure, and the second end of the second switch device is the second end of the first switch structure.

5. The calibration device according to claim 1, characterized in that The control device comprises: a signal acquisition circuit, wherein an input end of the signal acquisition circuit is electrically connected to the second end of the first voltage-dividing structure, and the signal acquisition circuit is used to acquire the logic signal when the first switch structure is turned on; A controller is electrically connected to the control end of the first switch structure, the control end of the second switch structure, the output end of the signal acquisition circuit, and the output end of the resistance acquisition circuit, and is used to determine the detection height value according to the logic signal and to correct the detection height value according to the resistance value.

6. The calibration device according to claim 5, characterized in that The signal acquisition circuit comprises: A comparator comprises a first input terminal, a second input terminal and an output terminal, wherein the first input terminal of the comparator is the input terminal of the signal acquisition circuit, the second input terminal of the comparator is used to be electrically connected to a second power supply, the output terminal of the comparator is the output terminal of the signal acquisition circuit, and the comparator is used to compare the second terminal voltage of the second switch structure with the reference voltage provided by the second power supply, and output the logic signal with different levels according to the comparison result.

7. The calibration device according to claim 6, characterized in that The height sensor includes an inductor, and the controller is further configured to: Start timing when the first switch structure is turned on, and end timing when the level of the received logic signal changes, and determine the timing duration as the charging time of the inductor; The detection height value is determined according to the charging time.

8. The calibration device according to claim 6, characterized in that The signal acquisition circuit also includes: a first filtering structure, wherein the output end of the comparator is electrically connected to the controller through the first filtering structure; A second filtering structure, wherein a first end of the second filtering structure is electrically connected to the first input end of the comparator, and a second end of the second filtering structure is grounded.

9. The calibration device according to claim 6, characterized in that The signal acquisition circuit also includes: a first current limiting structure, wherein a first end of the first current limiting structure is electrically connected to the output end of the comparator, and a second end of the first current limiting structure is electrically connected to a third power supply; A second current limiting structure, wherein the second input terminal of the comparator is electrically connected to the second power supply through the second current limiting structure.

10. The calibration device according to any one of claims 1 to 9, characterized in that The calibration device also includes: a third current limiting structure, wherein the first end of the first switch structure is electrically connected to the first power supply through the third current limiting structure; a fourth current limiting structure, wherein the control end of the first switch structure is electrically connected to the control device through the fourth current limiting structure; A third filtering structure, the second end of the first switch structure is electrically connected to the height sensor through the third filtering structure.