Gear detection device based on infrared and electronic technology

By using an infrared and electronic gear detection device, which combines position detection and distance detection modules with microprocessor calculation and filtering, the problems of low accuracy and insufficient applicability in existing technologies are solved, achieving more accurate gear detection and wider applicability.

CN121854591APending Publication Date: 2026-04-14SICHUAN VOCATIONAL & TECHN COLLEGE
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
SICHUAN VOCATIONAL & TECHN COLLEGE
Filing Date
2023-10-27
Publication Date
2026-04-14

AI Technical Summary

Technical Problem

Existing automotive gear position detection devices suffer from low accuracy, susceptibility to environmental interference, and inability to adapt to automatic transmission vehicles. In particular, Hall sensors are prone to zero-point drift and signal deviation, and infrared beams are easily blocked, leading to misjudgments.

Method used

The gear position detection device, which employs infrared and electronic technology, includes a position detection module, a wake-up module, a microprocessor, and first and second distance detection modules. It detects the position and distance of the gear shifting mechanism by means of light or laser waves, and performs signal calculation and filtering by the microprocessor to determine the gear position.

Benefits of technology

It improves the accuracy and reliability of gear position detection, avoids misjudgments caused by infrared light being blocked or receiving other light, and is suitable for different types of shifting mechanisms, including manual and automatic transmission vehicles.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121854591A_ABST
    Figure CN121854591A_ABST
Patent Text Reader

Abstract

The invention discloses a gear detection device based on infrared and electronic technologies, which comprises a position detection module, an awakening module, a microprocessor, a first distance detection module and a second distance detection module, and is characterized in that the position detection module is used for detecting the position of a gear shifting input device in a gear shifting mechanism and sending an awakening signal; the awakening module is used for awakening the microprocessor according to the awakening signal; the microprocessor is used for sending a control signal to the first distance detection module and the second distance detection module after being awakened; the first distance detection module and the second distance detection module are both used for detecting the distance between the first distance detection module and the gear shifting input device and outputting a first detection signal and a second detection signal respectively. The microprocessor is used for processing the first detection signal and the second detection signal and then judging the gear where the gear shifting mechanism is located. The accuracy and the reliability of gear detection are higher; and meanwhile, the device can be applied to automobiles with different gear shifting mechanisms.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of automotive gear position detection technology, specifically to a gear position detection device based on infrared and electronic technology. Background Technology

[0002] In the prior art, the gear position sensor of a car is fixed on the shift shaft of the transmission, the Hall chip is set on the housing of the sensor, and the magnet is attached to the rotor of the sensor. The rotation of the shift shaft can drive the magnet to rotate, thereby causing a change in the magnetic field strength. The Hall chip generates a voltage or current signal through the change in magnetic flux. The gear position of the shift shaft can be calculated after the voltage or current signal is converted.

[0003] However, gear position detection devices using a single linear Hall sensor have the following drawbacks: if the manufacturing precision is insufficient or after prolonged use, the linear Hall sensor will experience "zero drift," making it impossible to accurately confirm each gear position, which poses a potential safety hazard. Furthermore, the complex environment surrounding the transmission causes significant interference with the magnetic field signal, and the magnetism of the magnet changes with ambient temperature. The rotation of the shift shaft can also cause wobbling, leading to deviations in the signal output from the Hall chip, low accuracy, and a tendency for signal jumps during acquisition, affecting the overall vehicle signal judgment and reliability.

[0004] To address the issues with Hall effect sensor gear position detection devices, while some have proposed using infrared beams to detect the distance to the gear shift lever within the gear position slot, the infrared beam emitted by these devices is easily blocked or receives other light sources, leading to misjudgments. Furthermore, this detection method relies on the gear shift lever and gear position slot of manual transmission vehicles, which are becoming increasingly rare in comparison to automatic transmissions, thus rendering it incompatible with automatic vehicles. Summary of the Invention

[0005] In view of the shortcomings of the existing technology, the purpose of this invention is to provide a gear position detection device based on infrared and electronic technology, so as to improve the detection accuracy of gear position detection and be applicable to various types of automobiles with different shifting methods.

[0006] To achieve the above objectives, the technical solution adopted by the present invention is as follows:

[0007] A gear position detection device based on infrared and electronic technology, the key features of which include: a position detection module, a wake-up module, a microprocessor, a first distance detection module, and a second distance detection module, wherein...

[0008] The position detection module is used to detect the position of the shift input device in the shift mechanism and send a wake-up signal based on the detection result;

[0009] The wake-up module is used to wake up the microprocessor according to the wake-up signal;

[0010] The microprocessor is used to send control signals to the first distance detection module and the second distance detection module after being woken up;

[0011] Both the first distance detection module and the second distance detection module are used to detect the distance between themselves and the shift input device according to the control signal, and output the first detection signal and the second detection signal respectively;

[0012] The microprocessor is also used to perform distance calculation and filtering on the first detection signal and the second detection signal, and to compare the two results after filtering to determine the gear position of the shifting mechanism.

[0013] Furthermore, the position detection module includes a light emitting unit for emitting light signals and a light receiving unit for receiving light signals. The light emitting unit is disposed on the shift input device or at each gear position on the gear panel, and the light receiving unit is correspondingly disposed at each gear position on the gear panel or on the shift input device. Alternatively, the light emitting unit and the light receiving unit are disposed on opposite sides of each gear slot on the gear panel.

[0014] Furthermore, the light emitting unit is an infrared emitting unit that emits an infrared beam, and the light receiving unit is an infrared receiving unit that receives an infrared beam.

[0015] Furthermore, both the first distance detection module and the second distance detection module include a laser wave emitting unit and a laser wave receiving unit. The laser wave emitting units of the first distance detection module and the second distance detection module are arranged side by side on the shift input device or at each gear position on the gear panel. The laser wave receiving units of the first distance detection module and the second distance detection module are correspondingly arranged at each gear position on the gear panel or on the shift input device, or both the laser wave emitting unit and the laser wave receiving unit are arranged in each gear slot on the gear panel.

[0016] Furthermore, the laser waves emitted by the first distance detection module and the second distance detection module are pulsed laser waves, and the microprocessor calculates the distance based on the time difference between the emission and reception of multiple laser wave pulses.

[0017] Furthermore, the specific steps for the microprocessor to determine the gear position of the shifting mechanism are as follows:

[0018] Step 1: Calculate the distance between the first detection signal and the second detection signal in real time to obtain distance calculation result G1 and distance calculation result G2;

[0019] Step 2: Filter the distance calculation results G1 and G2 respectively to obtain distance calculation results G11 and G21.

[0020] Step 3: Compare and analyze the distance calculation results G11 and G21 with the gear shifting feature data to determine whether the gear shifting was successful at the corresponding gear positions of distance calculation results G11 and G21.

[0021] The rule for determining successful gear engagement is: when the proportion of gear engagement feature data in distance calculation result G11 or distance calculation result G21 is not less than 90%, and the number of drift data does not exceed two;

[0022] Step 4: When the two judgment results are consistent, output the gear position of the current shifting mechanism.

[0023] Furthermore, the filtering process described in step 2 is as follows:

[0024] Obtain the minimum distance data between the first distance detection module and the second distance detection module and the shift input device of the shift mechanism when the gear is successfully engaged;

[0025] The acquired minimum distance data is processed using K-Means to obtain standard distance data.

[0026] The distance calculation data in distance calculation results G1 and G2 are compared with the standard distance data one by one;

[0027] Filter out distance calculation data that is smaller than the standard distance data to obtain distance calculation results G11 and G21.

[0028] Furthermore, if the shifting mechanism is a manual shifting structure, then its shifting input device is a shift lever. The position detection module is located at the entrance of each shift slot on the shift panel. The first distance detection module and the second distance detection module are arranged side by side at the bottom of each shift slot or on the shift lever, or the transmitting part and the receiving part of the first distance detection module and the second distance detection module are respectively located at the bottom of each shift slot and on the shift lever.

[0029] Furthermore, a first reflective surface and a second reflective surface are provided on both opposite sides of the shift lever. The positions of the first reflective surface and the second reflective surface correspond one-to-one with the first distance detection module and the second distance detection module, respectively, so as to adjust the path of the echo of the ranging signal emitted by the first distance detection module and the second distance detection module.

[0030] Furthermore, if the shifting mechanism is an automatic shifting structure, then:

[0031] When the shift input device is a shift lever, the transmitting part and the receiving part of the position detection module are respectively located at each gear position on the gear panel and on the shift lever. The transmitting part and the receiving part of the first distance detection module and the second distance detection module are respectively located at each gear position on the gear panel and on the shift lever. The first distance detection module and the second distance detection module are respectively located on both sides of the position detection module.

[0032] When the shift input device is a shift knob, the transmitting and receiving parts of the position detection module are respectively located at each gear position on the gear panel and on the shift knob. The transmitting and receiving parts of the first distance detection module and the second distance detection module are respectively located at each gear position on the gear panel and on the shift knob, and the first distance detection module and the second distance detection module are respectively located on both sides of the position detection module.

[0033] The significant effects of this invention are:

[0034] 1. This invention first uses a position detection module to detect the position of the shift input device in the shift mechanism to determine whether the driver has performed a shift operation, and issues a wake-up signal when a shift operation is detected. Then, the wake-up module wakes up the microprocessor based on the wake-up signal. After being woken up, the microprocessor sends control signals to the first and second distance detection modules, controlling them to detect the distance between themselves and the shift input device, and outputting a first detection signal and a second detection signal respectively. The microprocessor performs distance calculation and filtering on the first and second detection signals, and compares the two results to determine the gear position of the shift mechanism. Thus, by comprehensively determining the gear position of the shift mechanism through the detection results of two signals, compared with existing technologies, it avoids the phenomenon of misjudgment of gear position due to infrared light being blocked or receiving other light, making the gear position information more accurate and improving the accuracy and reliability of gear detection.

[0035] 2. The design is simple, easy to debug and install, and is basically unaffected by environmental factors (such as temperature and magnetic field). In particular, it can be applied to automobiles with different types of shift mechanisms, and has a wide range of applications. Attached Figure Description

[0036] Figure 1 This is a system block diagram of the present invention;

[0037] Figure 2 This is a schematic diagram of the structure of Embodiment 1 of the present invention;

[0038] Figure 3 for Figure 2 A magnified view of part A in the diagram;

[0039] Figure 4This is a schematic diagram of the gear shift lever in Example 1;

[0040] Figure 5 This is a schematic diagram of the structure of Embodiment 2 of the present invention;

[0041] Figure 6 This is a schematic diagram of the structure of Embodiment 3 of the present invention. Detailed Implementation

[0042] The specific embodiments and working principles of the present invention will be further described in detail below with reference to the accompanying drawings.

[0043] Example 1:

[0044] like Figure 1 As shown, a gear position detection device based on infrared and electronic technology includes a microprocessor and a power module. A wake-up module, a first distance detection module, and a second distance detection module are respectively connected to the input terminal group of the microprocessor. A position detection module is connected to the input terminal of the wake-up module. The output terminal group of the microprocessor is connected to the control signal input terminals of the first distance detection module and the second distance detection module. A storage module is also connected to the microprocessor. The microprocessor also communicates with the vehicle ECU through a communication module.

[0045] in:

[0046] The position detection module is used to detect the position of the shift input device in the shift mechanism and send a wake-up signal based on the detection result;

[0047] The position detection module includes a light emitting unit for emitting light signals and a light receiving unit for receiving light signals. The light emitting unit is disposed on the shift input device or at each position of the shift panel, and the light receiving unit is correspondingly disposed at each position of the shift panel or on the shift input device. Alternatively, the light emitting unit and the light receiving unit are disposed on opposite sides of each shift slot on the shift panel.

[0048] The wake-up module is used to wake up the microprocessor according to the wake-up signal;

[0049] The microprocessor is used to send control signals to the first distance detection module and the second distance detection module after being woken up;

[0050] Both the first distance detection module and the second distance detection module are used to detect the distance between themselves and the shift input device according to the control signal, and output the first detection signal and the second detection signal respectively;

[0051] Both the first distance detection module and the second distance detection module include a laser wave emitting unit and a laser wave receiving unit. The laser wave emitting units of the first distance detection module and the second distance detection module are arranged side by side on the shift input device or at each gear position on the gear panel. The laser wave receiving units of the first distance detection module and the second distance detection module are respectively arranged at each gear position on the gear panel or on the shift input device, or the laser wave emitting unit and the laser wave receiving unit are both arranged in each gear slot on the gear panel.

[0052] The microprocessor is also used to perform distance calculation and filtering on the first detection signal and the second detection signal, and compare the two results after filtering to determine the gear position of the shifting mechanism;

[0053] The specific steps by which the microprocessor determines the gear position of the shifting mechanism are as follows:

[0054] Step 1: Calculate the distance between the first detection signal and the second detection signal in real time to obtain distance calculation result G1 and distance calculation result G2;

[0055] The formula for calculating the distance measurement is:

[0056] When both the laser wave emitting unit and the laser wave receiving unit are located in the slots on the gear panel, S = T * V / 2;

[0057] When the laser wave emitting unit and the laser wave receiving unit are respectively located on the shift input device and at each gear position on the gear panel, S = T * V;

[0058] Where S is the distance, T is the PWM high-level pulse width time, and V is the speed of sound in air. At room temperature, the speed of sound V is 348 m / s, which can be simplified to S = T / 57.5 or S = T / 115 (where distance S is in centimeters and time T is in microseconds). For example, when the PWM high-level pulse width time of the microprocessor's output lead "TX" is 50 μs, according to the formula, S = T / 57.5 = 50 / 57.5 ≈ 0.87 (cm), and S = T / 115 = 50 / 115 = 0.43 (cm), indicating that the current measured distance S is 0.87 cm and 0.43 cm respectively.

[0059] Step 2: Since there may be echoes reflected from other obstacles during the measurement process, the distance calculation results G1 and G2 are filtered respectively to obtain distance calculation results G11 and G21. The specific steps are as follows:

[0060] Obtain the minimum distance data between the first distance detection module and the second distance detection module and the shift input device of the shift mechanism when the gear is successfully engaged;

[0061] The acquired minimum distance data is processed using K-Means to obtain standard distance data.

[0062] The distance calculation data in distance calculation results G1 and G2 are compared with the standard distance data one by one;

[0063] Filter out distance calculation data smaller than the standard distance data to obtain distance calculation result G11 and distance calculation result G21;

[0064] To better understand, the following example illustrates the point:

[0065] Assume the data in the distance calculation result G1 is as follows:

[0066] {data=0.88data=0.85data=0.92data=0.45data=0.89data=0.42data=0.91data=0.35data=1.41data=0.85 data=0.87data=0.87data=0.86data=0.86data=0.87data=0.88data=0.86data=0.89data=0.87data=0.88}

[0067] Assuming that the minimum distance between the first and second detection signals and the shift input device of the shift mechanism is 0.5cm when the gear is successfully engaged, data greater than 0.5 is considered valid. Therefore, data less than 0.5 in the above distance calculation results are filtered out and deleted.

[0068] Step 3: Compare and analyze the distance calculation results G11 and G21 with the gear shifting feature data to determine whether the gear shifting was successful at the corresponding gear positions of distance calculation results G11 and G21.

[0069] As is common knowledge, when the gear shifting mechanism successfully engages a gear, the maximum distance between the first detection signal, the second detection signal, and the gear shifting input device of the gear shifting mechanism also has a limit value. Therefore, when the data in the distance calculation result satisfies 0.5 < data ≤ limit value, the data belongs to the gear shifting characteristic data.

[0070] Therefore, the successful gear engagement judgment rule is as follows: when the proportion of gear engagement characteristic data in the distance calculation result G11 or distance calculation result G21 is not less than 90%, and the drift data does not exceed two; when the distance calculation result G11 or distance calculation result G21 meets the above conditions, the gear shifting mechanism is judged to be successfully engaged; otherwise, it is judged to be unsuccessful. The drift data is data that is greater than the limit value, which may be caused by the vibration of the gear shifting mechanism or foreign object obstruction, resulting in an increased laser wave reception time, such as the data data = 1.41 in the distance calculation result G1 shown in the example.

[0071] In addition, to ensure the reliability of the distance data, the number of data points in the distance calculation results G1 and G2 each time the distance calculation is performed is no less than 10.

[0072] Step 4: When the two judgment results are consistent, output the gear position of the current shifting mechanism;

[0073] The storage module is used to store the corresponding formulas and data for distance calculation and filtering.

[0074] The communication module is used to send the gear position determination result to the vehicle ECU so that the vehicle ECU can adjust the vehicle's operating conditions.

[0075] The power module is powered by the vehicle's battery and is used to provide operating power for the aforementioned modules.

[0076] Preferably, the light emitting unit is an infrared emitting unit that emits an infrared beam, and the light receiving unit is an infrared receiving unit that receives the infrared beam; the laser waves emitted by the first distance detection module and the second distance detection module are pulsed laser waves, and the microprocessor calculates the distance based on the time difference between the emission and reception of multiple laser wave pulses.

[0077] See appendix Figure 2 -Appendix Figure 4 The shifting mechanism 10 is a manual shifting structure, and its shifting input device is the shift lever 11. The light emitting unit 21 and the light receiving unit 22 of the position detection module 20 are arranged opposite each other on both sides of the entrance of each gear slot 13 on the gear panel 12. The first distance detection module 30 and the second distance detection module 40 are arranged side by side at the bottom of each gear slot 13. That is, the laser wave emitting unit 31 and the laser wave receiving unit 32 of the first distance detection module 30 are integrated, and the laser wave emitting unit 41 and the laser wave receiving unit 42 of the second distance detection module 40 are integrated. The first distance detection module 30 is located above the second distance detection module 40.

[0078] By adopting the above-described configuration for detecting the gear position of the manual transmission shift mechanism 10, the first distance detection module 30 and the second distance detection module 40 can be integrated into a single installation location, thereby simplifying the installation structure and improving production efficiency. Simultaneously, this configuration allows the first and second distance detection modules 30 and 40 to perform distance detection after the position detection module 20 detects the position of the shift lever 11 and sends a wake-up signal. Because the first and second distance detection modules 30 and 40 are arranged side-by-side, the distance between them and the shift lever 11 is consistent, minimizing the possibility of invalid data being detected by either module. This ensures that the detection results are as consistent as possible, effectively improving gear position detection accuracy.

[0079] Furthermore, a first reflective surface 141 and a second reflective surface 142 are provided on both opposite sides of the shift lever 11. The positions of the first reflective surface 141 and the second reflective surface 142 correspond one-to-one with the positions of the first distance detection module 30 and the second distance detection module 40, respectively, to adjust the path of the echo of the laser ranging signal emitted by the first distance detection module 30 and the second distance detection module 40. The first reflective surface 141 and the second reflective surface 142 are on the same plane 14.

[0080] The first reflecting surface 141 and the second reflecting surface 142 are used to adjust the path of the echo of the laser ranging signal emitted by the first distance detection module 30 and the second distance detection module 40 so that the laser echo can be easily received, thereby facilitating distance calculation based on the time difference between the emitted and received laser waves.

[0081] When the gear lever 11 is engaged in a gear slot 13, the light emitting unit 21 and the light receiving unit 22 located at the exit of the gear slot 13 will first detect that the gear lever 11 has passed the exit position of the gear slot 13. As a result, the position detection module 20 sends a wake-up signal to wake up the microprocessor via the wake-up module. The microprocessor sends a control signal to activate the first distance detection module 30 and the second distance detection module 40 to emit pulsed laser ranging signals to detect the distance of the gear lever 11. The microprocessor calculates the distance according to the formula S = T * V / 2 based on the time difference between the emission and reception of the two laser ranging signals, and obtains the distance calculation result G1 and the distance calculation result G2. After filtering the distance calculation results G1 and G2, it determines whether the gear is successfully engaged. When the two distance calculation results are consistent, the current gear position of the gear shifting mechanism is output to the vehicle ECU.

[0082] Example 2:

[0083] See appendix Figure 5The difference between this embodiment and embodiment 1 is that the shifting mechanism 10 is an automatic shifting structure and its shifting input device is a shift lever 11. The light emitting unit 21 of the position detection module 20 is disposed on the shift lever 11, and the light receiving unit 22 is disposed at each gear position on the gear panel 12. The laser wave emitting unit 31 of the first distance detection module 30 and the laser wave emitting unit 41 of the second distance detection module 40 are disposed on the shift lever 11. The laser wave receiving unit 32 of the first distance detection module 30 and the laser wave receiving unit 42 of the second distance detection module 40 are both disposed at each gear position on the gear panel 12. That is, the laser wave emitting unit 31 and the laser wave receiving unit 32 of the first distance detection module 30 and the laser wave emitting unit 41 and the laser wave receiving unit 42 of the second distance detection module 40 are installed separately, thus adapting well to the automatic transmission shifting structure.

[0084] Furthermore, the first distance detection module 30 and the second distance detection module 40 are symmetrically arranged on both sides of the position detection module 20. Using this method, when the position detection module 20 detects the position of the gear shift lever 11 and sends a wake-up signal, activating the first distance detection module 30 and the second distance detection module 40 to perform distance detection, the symmetrical arrangement of the first distance detection module 30 and the second distance detection module 40 ensures that the distances between them and the gear shift lever 11 are consistent. This minimizes the possibility of the first distance detection module 30 or the second distance detection module 40 detecting invalid data, making their detection results as consistent as possible, thereby effectively improving gear position detection accuracy.

[0085] When the gear lever 11 is engaged in a gear position on the gear panel 12, if the light emitting unit 21 and the light receiving unit 22 detect that the gear lever 11 is in that gear position, the position detection module 20 sends a wake-up signal to wake up the microprocessor via the wake-up module. The microprocessor sends a control signal to activate the first distance detection module 30 and the second distance detection module 40 to emit and receive pulsed laser ranging signals to detect the distance of the gear lever 11. The microprocessor calculates the distance according to the formula S=T*V based on the time difference between the emission and reception of the two laser ranging signals, and obtains the distance calculation result G1 and the distance calculation result G2. After filtering the distance calculation results G1 and G2, it determines whether the gear is successfully engaged. When the two distance calculation results are consistent, the current gear position of the gear shifting mechanism is output to the vehicle ECU.

[0086] It should be noted that although this example shows a straight-line shifting structure, it can also be applied to a snake-shaped shifting structure. In implementation, the light receiving unit 22 of the position detection module 20, the laser wave receiving unit 32 of the first distance detection module 30, and the laser wave receiving unit 42 of the second distance detection module 40 are arranged in a snake shape on the gear panel 12.

[0087] Example 3:

[0088] See appendix Figure 6 The difference between this embodiment and embodiment 1 is that the shifting mechanism 10 is an automatic shifting structure and its shifting input device is the shifting knob 15. The light emitting unit 21 of the position detection module 20 is located on the shifting knob 15, and the light receiving unit 22 is located at each gear position on the gear panel 12. The laser wave emitting unit 31 of the first distance detection module 30 and the laser wave emitting unit 41 of the second distance detection module 40 are located on the shifting knob 15. The laser wave receiving unit 32 of the first distance detection module 30 and the laser wave receiving unit 42 of the second distance detection module 40 are both located at each gear position on the gear panel 12. That is, the laser wave emitting unit 31 and the laser wave receiving unit 32 of the first distance detection module 30 and the laser wave emitting unit 41 and the laser wave receiving unit 42 of the second distance detection module 40 are installed separately, thus adapting well to the automatic transmission shifting structure.

[0089] Furthermore, the first distance detection module 30 and the second distance detection module 40 are symmetrically arranged on both sides of the position detection module 20. Using this method, when the position detection module 20 detects the position of the shift knob 15 and sends a wake-up signal, activating the first distance detection module 30 and the second distance detection module 40 to perform distance detection, the symmetrical arrangement of the first distance detection module 30 and the second distance detection module 40 ensures that the distances between them and the shift knob 15 are consistent. This minimizes the possibility of the first distance detection module 30 or the second distance detection module 40 detecting invalid data, making their detection results as consistent as possible, thereby effectively improving gear detection accuracy.

[0090] When the gear shift indicator mark of the gear shift knob 15 is rotated and aligned with a gear position on the gear position panel 12, if the light emitting unit 21 and the light receiving unit 22 detect that the gear shift knob 15 is located at that gear position, the position detection module 20 sends a wake-up signal to wake up the microprocessor via the wake-up module. The microprocessor sends a control signal to activate the first distance detection module 30 and the second distance detection module 40 to emit and receive pulsed laser ranging signals to detect the distance of the gear shift knob 15. The microprocessor calculates the distance according to the formula S=T*V based on the time difference between the emission and reception of the two laser ranging signals, and obtains the distance calculation result G1 and the distance calculation result G2. After filtering the distance calculation results G1 and G2, it determines whether the gear is successfully engaged. When the judgment results of the two distance calculation results are consistent, the current gear position of the gear shift mechanism is output to the vehicle ECU.

[0091] In summary, this invention first uses a position detection module to detect the position of the shift input device in the shift mechanism to determine whether the driver has performed a shift operation, and issues a wake-up signal when a shift operation is detected. Then, the wake-up module wakes up the microprocessor based on the wake-up signal. After being woken up, the microprocessor sends control signals to the first and second distance detection modules, controlling them to detect the distance between themselves and the shift input device, and outputting a first detection signal and a second detection signal respectively. The microprocessor performs distance calculation and filtering on the first and second detection signals, and compares the two results to determine the gear position of the shift mechanism. Thus, by comprehensively determining the gear position of the shift mechanism through the detection results of two signals, compared to existing technologies, it avoids the phenomenon of misjudgment of gear position due to infrared light being blocked or receiving other light, making the gear position information more accurate and improving the accuracy and reliability of gear detection. Furthermore, it can be applied to automobiles with different types of shift mechanisms, making it widely applicable.

[0092] The technical solution provided by this invention has been described in detail above. Specific examples have been used to illustrate the principles and implementation methods of this invention. The descriptions of the embodiments above are only for the purpose of helping to understand the method and core ideas of this invention. It should be noted that those skilled in the art can make several improvements and modifications to this invention without departing from the principles of this invention, and these improvements and modifications also fall within the protection scope of the claims of this invention.

Claims

1. A gear position detection device based on infrared and electronic technology, characterized in that: It includes a position detection module, a wake-up module, a microprocessor, a first distance detection module, and a second distance detection module, wherein... The position detection module is used to detect the position of the shift input device in the shift mechanism and send a wake-up signal based on the detection result; The wake-up module is used to wake up the microprocessor according to the wake-up signal; The microprocessor is used to send control signals to the first distance detection module and the second distance detection module after being woken up; Both the first distance detection module and the second distance detection module are used to detect the distance between themselves and the shift input device according to the control signal, and output the first detection signal and the second detection signal respectively; The microprocessor is also used to perform distance calculation and filtering on the first detection signal and the second detection signal, and to compare the two results after filtering to determine the gear position of the shifting mechanism.

2. The gear position detection device based on infrared and electronic technology according to claim 1, characterized in that: The position detection module includes a light emitting unit for emitting light signals and a light receiving unit for receiving light signals. The light emitting unit is disposed on the shift input device or at each gear position on the gear panel, and the light receiving unit is correspondingly disposed at each gear position on the gear panel or on the shift input device. Alternatively, the light emitting unit and the light receiving unit are disposed on opposite sides of each gear slot on the gear panel.

3. The gear position detection device based on infrared and electronic technology according to claim 2, characterized in that: The light emitting unit is an infrared emitting unit that emits infrared light beams, and the light receiving unit is an infrared receiving unit that receives infrared light beams.

4. The gear position detection device based on infrared and electronic technology according to claim 1, characterized in that: Both the first distance detection module and the second distance detection module include a laser wave emitting unit and a laser wave receiving unit. The laser wave emitting units of the first distance detection module and the second distance detection module are arranged side by side on the shift input device or at each gear position on the gear panel. The laser wave receiving units of the first distance detection module and the second distance detection module are respectively arranged at each gear position on the gear panel or on the shift input device, or the laser wave emitting unit and the laser wave receiving unit are both arranged in each gear slot on the gear panel.

5. The gear position detection device based on infrared and electronic technology according to claim 4, characterized in that: The laser waves emitted by the first distance detection module and the second distance detection module are pulsed laser waves, and the microprocessor calculates the distance based on the time difference between the emission and reception of multiple laser wave pulses.

6. The gear position detection device based on infrared and electronic technology according to claim 1, characterized in that: The specific steps by which the microprocessor determines the gear position of the shifting mechanism are as follows: Step 1: Calculate the distance between the first detection signal and the second detection signal in real time to obtain distance calculation result G1 and distance calculation result G2; Step 2: Filter the distance calculation results G1 and G2 respectively to obtain distance calculation results G11 and G21. Step 3: Compare and analyze the distance calculation results G11 and G21 with the gear shifting feature data to determine whether the gear shifting was successful at the corresponding gear positions of distance calculation results G11 and G21. The rule for determining successful gear engagement is: when the proportion of gear engagement feature data in distance calculation result G11 or distance calculation result G21 is not less than 90%, and the number of drift data does not exceed two; Step 4: When the two judgment results are consistent, output the gear position of the current shifting mechanism.

7. The gear position detection device based on infrared and electronic technology according to claim 6, characterized in that: The filtering process described in step 2 is as follows: Obtain the minimum distance data between the first distance detection module and the second distance detection module and the shift input device of the shift mechanism when the gear is successfully engaged; The acquired minimum distance data is processed using K-Means to obtain standard distance data. The distance calculation data in distance calculation results G1 and G2 are compared with the standard distance data one by one; Filter out distance calculation data that is smaller than the standard distance data to obtain distance calculation results G11 and G21.

8. The gear position detection device based on infrared and electronic technology according to claims 1 to 7, characterized in that: The shifting mechanism is a manual shifting structure, and its shifting input device is a shift lever. The position detection module is located at the entrance of each shift slot on the shift panel. The first distance detection module and the second distance detection module are arranged side by side at the bottom of each shift slot or on the shift lever, or the transmitting part and the receiving part of the first distance detection module and the second distance detection module are respectively located at the bottom of each shift slot and on the shift lever.

9. The gear position detection device based on infrared and electronic technology according to claim 8, characterized in that: A first reflective surface and a second reflective surface are provided on both opposite sides of the shift lever. The positions of the first reflective surface and the second reflective surface correspond one-to-one with the first distance detection module and the second distance detection module, respectively, so as to adjust the path of the echo of the ranging signal emitted by the first distance detection module and the second distance detection module.

10. The gear position detection device based on infrared and electronic technology according to any one of claims 1 to 7, characterized in that: If the shifting mechanism is an automatic shifting structure, then: When the shift input device is a shift lever, the transmitting part and the receiving part of the position detection module are respectively located at each gear position on the gear panel and on the shift lever. The transmitting part and the receiving part of the first distance detection module and the second distance detection module are respectively located at each gear position on the gear panel and on the shift lever. The first distance detection module and the second distance detection module are respectively located on both sides of the position detection module. When the shift input device is a shift knob, the transmitting and receiving parts of the position detection module are respectively located at each gear position on the gear panel and on the shift knob. The transmitting and receiving parts of the first distance detection module and the second distance detection module are respectively located at each gear position on the gear panel and on the shift knob, and the first distance detection module and the second distance detection module are respectively located on both sides of the position detection module.