A kind of acquisition circuit, gear lever button state recognition device, method and vehicle

By physically connecting the sliding rheostat to the gear selector button and forming a stable voltage acquisition circuit with a constant resistor, simplified identification and fault diagnosis of the gear selector button status are achieved. This solves the problems of complex acquisition circuits and high costs in existing technologies, and improves the accuracy of identification and the reliability of vehicle control.

CN122193745APending Publication Date: 2026-06-12DEEPAL AUTOMOBILE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
DEEPAL AUTOMOBILE TECH CO LTD
Filing Date
2026-03-02
Publication Date
2026-06-12

AI Technical Summary

Technical Problem

In the existing technology, the circuit architecture for acquiring the button signal is complex and the hardware deployment cost is high, making it difficult to simplify and accurately identify the button status.

Method used

A sliding rheostat is physically connected to the target button. The button state is identified by collecting the voltage change of the sliding rheostat. A stable voltage acquisition loop is formed by combining it with a constant resistor. The button state is then determined by the controller, simplifying the signal acquisition circuit.

Benefits of technology

It significantly simplifies the signal acquisition circuit architecture, reduces hardware deployment costs, improves the accuracy and reliability of button status recognition, enables real-time monitoring of button status and identification of faults, and enhances the safety and responsiveness of vehicle control.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122193745A_ABST
    Figure CN122193745A_ABST
Patent Text Reader

Abstract

The embodiment of the present application relates to the technical field of vehicles, and discloses a kind of acquisition circuit, gear knob state recognition device, method and vehicle, the acquisition circuit includes: first circuit and acquisition device including variable resistance device;First voltage when variable resistance device is at minimum resistance value and second voltage when maximum resistance value are both constant values;Variable resistance device is physically connected with target button, and the pressing of target button drives the resistance value of variable resistance device to change;Acquisition device is used to collect the voltage of variable resistance device, so as to reflect the pressing state of target button by voltage.The technical scheme of the application can accurately identify the pressing state of the target button through a simple acquisition circuit, thereby improving the reliability and response efficiency of the key state detection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of vehicle technology, specifically to a data acquisition circuit, a status recognition device and method for the gear shift button, and a vehicle. Background Technology

[0002] As the automotive industry undergoes a profound transformation towards electrification and intelligentization, the level of vehicle electrification continues to improve. Due to its ease of operation, the column shifter has been widely adopted in various vehicle models. The column shifter switch integrates multiple functions such as wiper control and parking (P) gear activation. Through the pressing and releasing of the button, it transmits corresponding control commands to the vehicle's control system.

[0003] One related technology discloses a solution employing a dual-loop switch design, where one loop acquires digital signals and the other acquires analog signals. The on / off status of both signal loops can be diagnosed in real time, triggering an alarm when an anomaly occurs. Another related technology discloses a configuration with two analog signal acquisition loops, determining the P-position button status by identifying the difference in voltage values ​​between the two loops. It can be seen that existing technologies generally adopt a dual-loop redundancy hardware design approach, resulting in complex loop architecture and high hardware deployment costs. Summary of the Invention

[0004] In view of the shortcomings of the prior art, the purpose of this application is to provide a data acquisition circuit, a status recognition device, method and vehicle for the gear shift button, which aims to solve the problem of simplification of the gear shift button signal acquisition circuit and synergistic improvement of the accuracy of button status recognition.

[0005] In a first aspect, embodiments of this application provide a data acquisition circuit, which includes: a first circuit containing a variable resistor and a data acquisition device; a first voltage when the variable resistor is at its minimum resistance and a second voltage when it is at its maximum resistance are both constant values; the variable resistor is physically connected to a target button, and pressing the target button causes the resistance of the variable resistor to change; the data acquisition device is used to acquire the voltage of the variable resistor so as to reflect the pressing state of the target button through the voltage.

[0006] Based on the aforementioned technical means, a sliding rheostat is physically connected to the target button. Pressing the target button directly changes the resistance value of the sliding rheostat. Therefore, by acquiring the voltage drop across the sliding rheostat or resistor, the pressed state of the target button can be accurately identified. This design significantly simplifies the signal acquisition circuit architecture and combines practicality and reliability.

[0007] In one possible embodiment, the first circuit further includes a voltage source and a constant resistor; the constant resistor is connected in series with a variable resistor across the voltage source.

[0008] Based on the above technical means, connecting a constant resistor and a variable resistor in series across the voltage source can form a stable and reliable voltage acquisition circuit, providing a clear and linear voltage signal for recognizing the pressed state of the target button.

[0009] In one possible embodiment, the acquisition device is connected in parallel across the variable resistor to directly acquire the voltage of the variable resistor; or, the acquisition device is connected in parallel across a constant resistor to indirectly acquire the voltage of the variable resistor.

[0010] Based on the above technical means, the acquisition device can directly or indirectly acquire the voltage of the variable resistor device through two parallel connection methods. The two parallel connection methods can be flexibly selected according to specific needs, which improves the flexibility and versatility of the acquisition circuit.

[0011] Secondly, embodiments of this application provide a status recognition device for a shift button. The status recognition device includes the acquisition circuit and controller described in the first aspect above. The controller is communicatively connected to the acquisition device. The target button is the shift button. The controller is used to determine the pressed state of the shift button based on a third voltage uploaded by the acquisition device. The pressed state includes not pressed and fully pressed.

[0012] Based on the above technical means, by coordinating the acquisition circuit and the controller, the core states such as whether the shift button is not pressed or fully pressed can be accurately determined based on the third voltage. This greatly simplifies the circuit architecture of traditional button detection and reduces hardware deployment costs and the difficulty of later maintenance.

[0013] In one possible embodiment, the controller is specifically configured to: determine a first target voltage range and a second target voltage range; determine the pressed state of the shift lever button based on the voltage division data uploaded by the acquisition device, the first target voltage range, and the second target voltage range; wherein, the first target voltage range is determined based on a first voltage and its corresponding first tolerance range; the second target voltage range is determined based on a second voltage and its corresponding second tolerance range; the first theoretical voltage division is the theoretical voltage division collected by the acquisition device when the shift lever button is not pressed; and the second theoretical voltage division is the theoretical voltage division collected by the acquisition device when the shift lever button is fully pressed.

[0014] Based on the above technical means, a first target voltage range is defined by using a first voltage and a first tolerance range, and a second target voltage range is defined by using a second voltage and a second tolerance range. This provides an accurate and interference-resistant basis for determining the status of the shift button. By matching the real-time collected voltage signal with the above voltage range, signal interference caused by vehicle vibration, temperature and humidity drift, and component aging can be effectively offset, which greatly improves the accuracy and stability of button status recognition.

[0015] In one embodiment, the degree of pressing of the shift button from unpressed to fully pressed is positively correlated with the resistance value of the variable resistor; the controller is specifically configured to: determine that the shift button is in an unpressed state when the third voltage is in a first target voltage range; and / or; determine that the shift button is in a fully pressed state when the third voltage is in a second target voltage range.

[0016] Based on the above technical means, by matching the third voltage with the first target voltage divider and the second target voltage range, the state of the shift button not pressed or fully pressed can be directly determined. This determination logic is simple and efficient, and can realize the rapid identification of the pressed state of the shift button.

[0017] In some embodiments, the controller is also configured to: identify faults in the shift button and / or the acquisition circuit based on a third voltage uploaded by the acquisition device.

[0018] Based on the above technical means, the controller realizes fault identification of the shift button and the acquisition circuit based on the third voltage synchronization, without the need to add additional sensors or detection modules. While simplifying the hardware architecture and reducing system costs, it realizes the integrated design of button status monitoring and fault diagnosis.

[0019] In the exemplary embodiment, the controller is specifically configured to: acquire a fourth voltage uploaded by the acquisition device when the shift lever button is not pressed and a fifth voltage uploaded by the acquisition device when the shift lever button is fully pressed; determine a first absolute value of the voltage difference between the fourth voltage and the fifth voltage; determine a second absolute value of the voltage difference between the first voltage and the second voltage; and determine that the shift lever button has an aging fault if the deviation between the first absolute value of the voltage difference and the second absolute value of the voltage difference is greater than a first preset value.

[0020] Based on the above technical means, by comparing the deviation between the absolute value of the first voltage difference and the theoretical voltage difference (the absolute value of the second voltage difference) under the actual working state of the shift button, the aging characteristics such as travel offset and resistance drift of the sliding rheostat that occur after long-term use can be accurately captured; no additional detection hardware is required, and fault identification can be achieved by relying on the existing voltage divider acquisition link, which simplifies the diagnostic process and improves the accuracy and timeliness of aging fault judgment.

[0021] In an exemplary embodiment, the controller is specifically configured to: identify the duration for which the column shift button is in a pressed state based on a third voltage; determine that the column shift button has a non-resettable fault if the duration is longer than a first preset duration; and / or; determine that the column shift button has a non-resettable fault if the driver's seat of the vehicle containing the column shift button is unoccupied and the duration is longer than a second preset duration; wherein the first preset duration is longer than the second preset duration.

[0022] Based on the above technical means, the existence of a failure to reset is determined by using a dual-time threshold of third voltage, first preset time and second preset time. This can quickly identify button jamming problems during the vehicle's power-on self-test phase, and filter environmental interference to avoid misjudgment during normal operation, thus achieving accurate fault diagnosis under different operating conditions.

[0023] In an exemplary embodiment, the controller is specifically configured to: determine that the shift button has a stuck fault when the voltage divider is in a third target voltage range consisting of the first voltage and the second voltage, and the duration of the period when it is not in the first target voltage range and the duration of the period when it is in the second target voltage range is greater than a third preset duration.

[0024] Based on the above technical means, by combining the third target voltage range, the first target voltage range, and the second target voltage range, it is possible to determine whether the shift lever button is stuck. This can accurately identify the problem of the shift lever button being stuck at the transition stroke. No additional detection hardware is required; the determination can be completed by relying on the existing voltage divider acquisition link. This simplifies the diagnostic process and effectively avoids misjudgment caused by instantaneous signal fluctuations, thereby improving the reliability of fault identification.

[0025] In an exemplary embodiment, the controller is specifically configured to: determine that there is an open-circuit fault or a short-to-ground fault in the acquisition circuit when the duration of the third voltage being equal to the zero-drift voltage of the acquisition device is greater than a fourth preset duration.

[0026] Based on the above technical means, the initial diagnosis of open circuit faults and short-to-ground faults can be performed by using zero-drift voltage and a fourth preset time. No additional dedicated detection module is required; the diagnosis can be completed using only the existing voltage acquisition link, which greatly simplifies the hardware architecture and diagnostic process.

[0027] In an exemplary embodiment, the controller is specifically configured to: determine that a short power supply fault exists in the acquisition circuit when the duration of the third voltage being equal to the voltage of the voltage source is greater than a fifth preset duration.

[0028] Based on the aforementioned technical methods, short-power supply faults are identified by comparing the voltage of the voltage source with a fifth preset time interval. No additional detection hardware is required; the determination can be completed using only the existing voltage divider acquisition link, significantly simplifying the hardware architecture and execution process of circuit fault diagnosis. Simultaneously, the fifth preset time interval effectively filters out interference from instantaneous voltage fluctuations, avoiding false fault identification and enabling accurate and timely identification of short-power supply faults in the acquisition circuit.

[0029] Thirdly, this application provides a method for recognizing the state of a shift button, applied to a controller in the shift button state recognition device of the second aspect described above, comprising: determining the pressed state of the shift button based on a third voltage uploaded by a data acquisition device; wherein the pressed state includes not pressed and fully pressed.

[0030] Based on the above technical means, the core states of the shift button, such as not pressed or fully pressed, can be accurately determined by collecting the third voltage through the acquisition device, which greatly simplifies the traditional button detection method and improves the state recognition rate of the shift button.

[0031] Fourthly, embodiments of this application provide a vehicle, including: a vehicle body, a column shift button, and a status recognition device for the column shift button as described in the second aspect.

[0032] Fifthly, this application provides an electronic device comprising: a processor and a memory; the memory storing instructions executable by the processor. When the processor is configured to execute the instructions, the electronic device implements the position recognition method for the shift button described in the third aspect above.

[0033] Sixthly, this application provides a computer-readable storage medium storing computer program instructions that, when executed by a processor, implement the position recognition method for the shift button described in the third aspect.

[0034] In a seventh aspect, this application provides a computer program product, which includes computer program instructions that, when executed by a processor, implement the position recognition method for the shift button described in the third aspect.

[0035] It should be noted that the technical effects of any of the implementation methods in aspects four through seven can be found in the technical effects of the corresponding implementation methods in aspects one through three, and will not be repeated here.

[0036] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and do not limit this application. Attached Figure Description

[0037] To more clearly illustrate the technical solutions in the embodiments of this application or the background art, the accompanying drawings used in the embodiments of this application will be described below.

[0038] Figure 1 This is a schematic diagram of the structure of a vehicle disclosed in an embodiment of this application; Figure 2 This is a schematic diagram of the structure of a status recognition device for a shift button disclosed in an embodiment of this application; Figure 3 This is a schematic diagram of the structure of a data acquisition circuit disclosed in an embodiment of this application; Figure 4 This is a schematic diagram of another data acquisition circuit disclosed in an embodiment of this application; Figure 5 This is a schematic diagram of the structure of an electronic device disclosed in an embodiment of this application.

[0039] Figure label: 100-Vehicle, 101-Body, 102-Shift button, 103-Shift button status recognition device, 201-Acquisition circuit, 202-Controller, 301-First circuit, 302-Acquisition equipment. Detailed Implementation

[0040] The terms "first," "second," etc., are used for descriptive purposes only and have no sequential or technical meaning, nor should they be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Directional terms used in this application, such as "upper," "lower," "front," "rear," "left," "right," "inner," and "outer," are merely for reference to the orientation shown in the accompanying drawings. The use of directional terms is for better and clearer explanation and understanding of this application, and does not indicate the orientation of the referred device or component in an actual application scenario.

[0041] In the embodiments of this application, "and / or" is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, or B existing alone. Additionally, the character " / " in this document generally indicates that the preceding and following related objects have an "or" relationship.

[0042] The term "electrical connection" refers to the flow of current or signal from one conductor to another. An electrical connection between A and B means that current or signal can flow from A to B and vice versa. This connection includes direct and indirect electrical connections. A direct electrical connection between A and B means that A and B are physically connected. An indirect electrical connection between A and B means that A and B are connected via C, where C can be at least one wire or device.

[0043] The embodiments of this application are described below with reference to the accompanying drawings.

[0044] Please see Figure 1 , Figure 1 This is a schematic diagram of the structure of a vehicle disclosed in an embodiment of this application.

[0045] Vehicle 100 can be, but is not limited to, pure electric vehicle (PEV / BEV), hybrid electric vehicle (HEV), range-extended electric vehicle (REEV), plug-in hybrid electric vehicle (PHEV), or new energy vehicle.

[0046] In this embodiment of the application, the vehicle 100 includes a body 101, a column shift button 102, and a column shift button status recognition device 103.

[0047] The column shift button 102 and the column shift button status recognition device 103 are both installed inside the vehicle body 101 and are electrically connected.

[0048] The status recognition device 103 for the column shift button can recognize the pressed state of the column shift button 102 in real time, and control the vehicle to complete the parking brake operation based on the recognition result.

[0049] The column shift button 102 is used to indicate the driver's parking control command input status.

[0050] The pressed state includes not pressed and fully pressed.

[0051] For example, when the column shift button 102 is not pressed, the vehicle 100 maintains its current driving or parking state and does not perform any additional parking brake action. When the column shift button 102 is fully pressed, the vehicle 100 responds to the driver's parking command and performs the parking brake operation.

[0052] It should be understood that the column shift button 102, as a key input component for the vehicle's parking function, directly reflects the driver's parking intention when pressed. By accurately and stably identifying the unpressed and fully pressed states of the column shift button 102, it is possible to reliably distinguish between the driver's parking command input and non-operational states, providing accurate command basis for the reliable execution of the vehicle's parking brake, thereby improving the safety and responsiveness of vehicle control.

[0053] Please see Figure 2 , Figure 2 This is a schematic diagram of the structure of a status recognition device for a shift button disclosed in an embodiment of this application.

[0054] In some embodiments, the status recognition device 103 for the shift button includes: a data acquisition circuit 201 and a controller 202, wherein the controller 202 is communicatively connected to the data acquisition circuit 201.

[0055] In this embodiment of the application, the acquisition device in the acquisition circuit 201 acquires the voltage and sends the voltage to the controller 202; the controller 202 determines the pressed state of the shift button 102 based on the voltage.

[0056] The pressed state includes not pressed and fully pressed.

[0057] As a feasible implementation method, the acquisition circuit 201 is used to acquire the voltage of the variable resistor device so as to reflect the pressed state of the target button through the voltage.

[0058] The target button is the shift button 102.

[0059] As a feasible implementation method, such as Figure 3 As shown, the acquisition circuit 201 includes: a first circuit 301 and an acquisition device 302.

[0060] As a feasible implementation method, the first circuit 301 is used to provide a stable working voltage circuit for the variable resistor device, laying the foundation for the acquisition device 302 to acquire voltage signals. It integrates a variable resistor device, which is the core variable resistor component of the entire acquisition circuit 201, responsible for converting the mechanical pressing action of the target button into an acquireable electrical signal.

[0061] As a feasible approach, the variable resistor is physically connected to the target button, and pressing the target button causes a change in the resistance of the variable resistor.

[0062] Specifically, when the target button is the shift button 102, the pressing action or the rebound reset action of the shift button 102 can directly drive the resistance adjustment terminal (such as the slider) of the variable resistor to undergo linear displacement, thereby causing the effective resistance value connected to the first circuit 301 to produce continuous and stable linear changes, realizing the precise conversion between the mechanical action and the electrical signal of the shift button 102.

[0063] The degree of pressing of the target button, from not being pressed to being fully pressed, is positively correlated with the resistance value of the variable resistor.

[0064] For example, the longer the travel and the greater the degree of pressing of the shift button 102, the greater the resistance value of the variable resistor; conversely, the shorter the travel and the smaller the degree of pressing of the shift button 102, the smaller the resistance value of the variable resistor. Through this linear correspondence, the actual pressing state of the shift button 102 can be deduced from the collected voltage signal.

[0065] As a feasible implementation method, the first voltage when the variable resistor is at its minimum resistance and the second voltage when it is at its maximum resistance are both constant values.

[0066] It should be understood that the first and second voltages remain constant because the minimum and maximum resistance values ​​of the variable resistor are fixed, and the voltage source in the first circuit is a regulated power supply and the constant resistor is a fixed value resistor. The three of them form a stable voltage divider circuit, which is not affected by fluctuations in the vehicle environment or slight button vibrations. This provides an accurate and stable reference for button status recognition and fault determination, avoiding recognition deviations caused by fluctuations in the reference voltage.

[0067] The first voltage is the theoretical voltage division of the acquisition device 302 when the shift button 102 is not pressed. The value of the first voltage is calculated by the voltage division formula of the initial resistance of the sliding rheostat (i.e., the variable resistance device) when it is not activated and the fixed constant resistor.

[0068] For example, the first voltage can be determined by the controller 202 using a power-on self-learning mechanism to calibrate the initial position of the shift button 102, ensuring that the state of the shift button 102 can be monitored in real time, detecting changes in the button position, and ultimately ensuring that the failure of the shift button 102 to rebound due to long-term use and to return to the initial design position can be identified in a timely manner.

[0069] Specifically, after the controller 202 completes initialization and power-on, it collects the voltage corresponding to the current shift button 102 in real time; it calculates the average value of the voltage collected this time with the voltage collected during the previous nine initializations and power-on of the controller 202, and the average value is used as the first voltage corresponding to the shift button 102 not being pressed; subsequently, by comparing the deviation between the real-time collected voltage and this average value, it can be determined whether the initial position of the shift button 102 has shifted.

[0070] The second voltage is the theoretical voltage division obtained by the acquisition device 302 when the shift button 102 is fully pressed. Its value is calculated by the voltage formula between the limit resistance of the sliding rheostat when it is fully activated and the voltage of the fixed constant resistor.

[0071] The second voltage is determined as follows: The controller 202 uses a dual mechanism of factory calibration and on-vehicle verification to determine this theoretical value. At the factory stage, the limit stroke of the fully depressed column shift button 102 is simulated on a test bench, and the voltage signal at the corresponding resistance value of the variable resistor is collected. This voltage signal is used as the basic calibration value for the second voltage. During on-vehicle use, within 500ms of the first detection that the column shift button 102 has been fully depressed and remains stable, the controller 202 collects the real-time voltage under this state and performs a weighted calculation with the factory basic calibration value to obtain the final second voltage.

[0072] Optionally, the controller 202 can periodically (e.g., every 100 button presses) update and calibrate the second voltage, collect the latest fully pressed state voltage data and recalculate the weighted value to offset the errors caused by button mechanical wear and resistance drift of the variable resistor, thus ensuring the long-term accuracy of the second voltage.

[0073] It should be understood that keeping the first and second voltages constant ensures the stability of the voltage signal, avoids deviations in the identification of the target button status due to fluctuations in the reference voltage, provides an accurate reference for subsequent determination of the degree of button pressing and fault identification through the voltage signal, and ensures the acquisition accuracy of the acquisition circuit.

[0074] In the exemplary embodiment, the variable resistance device can be a sliding rheostat or a potentiometer. Both can achieve continuous adjustment of resistance value, adapting to the linear correspondence between the target button pressing action and the resistance value change. It can be flexibly selected according to the actual vehicle installation space, cost budget and data acquisition accuracy requirements. The specific type of the device is not limited in the embodiments of this application.

[0075] Specifically, when the variable resistance device is a sliding rheostat, as the target button's pressing stroke changes, the slider of the rheostat will slide linearly along the resistance wire, and the effective resistance wire length connected to the first circuit 301 will change accordingly, resulting in a corresponding change in the effective resistance value connected to the circuit. For example, when the shift button 102 is not pressed, the slider of the rheostat is in the initial position, and the connected resistance is at its minimum; as the shift button 102 is gradually pressed, the slider slides accordingly, and the connected resistance gradually increases; when the shift button is fully pressed, the slider slides to its limit position, and the connected resistance reaches its maximum, achieving a precise match between the pressing stroke and the resistance value.

[0076] When the variable resistor is a potentiometer, as the shift button 102 is pressed or rebounds, the adjustment terminal of the potentiometer undergoes a corresponding angle or displacement change, causing the effective resistance value of the potentiometer connected to the first circuit 301 to change continuously and linearly. The pressing stroke of the shift button 102 is also positively correlated with the output resistance value of the potentiometer; the resistance is lowest when not pressed and highest when fully pressed. This maintains the same signal mapping logic as the sliding rheostat, ensuring that the acquisition device can stably and accurately acquire the voltage signal corresponding to the button's pressing state.

[0077] As a feasible implementation method, the acquisition device 302 is electrically connected to the variable resistor device in the first circuit 301. Its core function is to acquire the voltage signal at both ends of the variable resistor device in real time (i.e., the voltage value generated after the variable resistor device is connected to the circuit) and transmit the acquired voltage signal to the controller synchronously.

[0078] In the exemplary embodiment, the acquisition device 302 is used to acquire the voltage of the variable resistor device so as to reflect the pressed state of the target button through the voltage.

[0079] It should be understood that the acquisition device 302 has the characteristics of high acquisition accuracy and fast response speed. It can accurately capture the subtle voltage changes caused by the resistance changes of the variable resistor device, so that the controller can accurately reflect the actual pressing state of the target button (shift button) through the voltage signal, combined with the preset voltage reference and judgment logic.

[0080] For example, the acquisition device 302 can be an analog signal acquisition module, a voltage acquisition chip, or an analog-to-digital converter (ADC) acquisition unit, which can be flexibly selected according to the vehicle's acquisition accuracy requirements, hardware layout, and cost budget. Among them, the ADC acquisition unit can convert the acquired analog voltage signal into a digital signal and transmit it to the controller 202, further improving the stability and anti-interference capability of signal transmission, adapting to the complex vibration, voltage fluctuation, and other operating conditions of the vehicle, and ensuring the accuracy and timeliness of voltage acquisition.

[0081] As a feasible implementation method, such as Figure 4 As shown, the first circuit 301 may further include a voltage source and a constant resistor.

[0082] In this configuration, a constant resistor and a variable resistor are connected in series across the voltage source.

[0083] It should be understood that the first terminal of the variable resistor is connected to the positive terminal of the voltage source, and the second terminal is connected to the first terminal of the constant resistor; the second terminal of the constant resistor is grounded. The acquisition device 302 can be connected to the series connection point of the variable resistor and the constant resistor to acquire the voltage signal at that point.

[0084] The voltage source is an on-board regulated power supply, which can provide a stable and constant power supply voltage for the entire voltage divider acquisition circuit, avoiding signal distortion caused by power supply fluctuations and ensuring stable and reliable voltage signal output.

[0085] A constant resistor is a precision resistor with a fixed resistance value, which can form a stable voltage division relationship with variable resistance devices, providing a unified reference for key status recognition and improving the consistency and accuracy of the acquired signals.

[0086] In the exemplary embodiment, taking a sliding rheostat as an example, the sliding rheostat is physically connected to the stop button 102, and pressing the stop button 102 causes the sliding rheostat to change its resistance value.

[0087] Specifically, the pressing or rebounding action of the shift button 102 can directly drive the slider of the sliding rheostat to produce displacement, thereby causing the resistance value connected to the circuit to produce continuous and linear changes, realizing the precise conversion of mechanical action into electrical signal.

[0088] In some embodiments, the acquisition circuit 201 can be arranged at the center of the bottom of the shift button 102, which is compact, occupies little space, and is suitable for vehicle-mounted installation environments.

[0089] The data acquisition circuit 201 uses a sliding rheostat as its core sensing component. It can acquire and provide feedback on the change in resistance value in real time by utilizing the change in the pressing stroke of the shift button 102. Specifically, the pressing state of the shift button 102 and the change in the resistance value of the sliding rheostat are linked in a one-to-one correspondence.

[0090] For example, when the shift button 102 and the sliding rheostat are assembled in a forward linkage manner, the resistance value of the sliding rheostat continuously increases as the shift button 102 moves from its initial unpressed position to its fully pressed limit position.

[0091] When the shift button 102 and the sliding rheostat are assembled in a reverse linkage manner, the resistance value of the sliding rheostat continuously decreases as the shift button 102 moves from its initial unpressed position to its fully pressed limit position.

[0092] For example, the acquisition device 302 can be an analog acquisition interface that connects the acquisition circuit 201 and the controller 202. It has high-precision voltage sampling capability and can convert the acquired analog voltage divider signal into a digital signal and transmit it to the controller 202 for subsequent key status determination and logic processing.

[0093] As a feasible approach, the data acquisition device is connected in parallel across a constant resistor to indirectly acquire the voltage of the variable resistor.

[0094] In some embodiments, the acquisition device 302 is used to acquire the voltage of the constant resistor; and then the voltage of the variable resistor is determined based on the voltage difference between the voltage of the constant resistor and the voltage source.

[0095] The voltage across a constant resistor can satisfy the following formula: VCC R2 / (R1+R2); Where VCC represents the voltage of the voltage source; R2 represents the resistance value of the constant resistor; and R1 represents the resistance value of the variable resistor.

[0096] It should be understood that as the travel of the shift button 102 changes, the real-time resistance value R1 of the sliding rheostat will change linearly, which in turn causes the voltage drop across the constant resistor R2 to change synchronously. The acquisition device 302 can identify the button status by capturing this voltage change.

[0097] By using an indirect acquisition method, there is no need to directly acquire high-potential nodes, resulting in higher circuit safety and stronger signal anti-interference capabilities. It can effectively adapt to complex operating conditions such as vibration and voltage fluctuations during vehicle operation, further improving the stability and reliability of button status recognition.

[0098] As another feasible approach, a data acquisition device is connected in parallel across the variable resistor to directly acquire its voltage.

[0099] In another embodiment, the acquisition device 302 is used to acquire the voltage of the variable resistor device, wherein the voltage of the variable resistor device can satisfy the following formula VCC R1 / (R1+R2); VCC represents the voltage of the voltage source; R2 represents the resistance value of the constant resistor; R1 represents the resistance value of the variable resistor.

[0100] It should be understood that when the variable resistance device is a sliding rheostat, the pressing action of the stop button 102 will drive the slider of the sliding rheostat to move, causing its real-time resistance value R1 to fluctuate linearly. The voltage of the sliding rheostat will then change linearly in the opposite direction. Based on the fluctuation characteristics of this voltage signal, the acquisition device 302 can accurately determine the travel position and pressing state of the button.

[0101] As a feasible implementation method, the controller 202 is used to determine the pressed state of the shift button 102 based on the third voltage uploaded by the acquisition device 302.

[0102] In the exemplary embodiment, the third voltage can directly reflect the real-time input resistance value of the variable resistor device, and the input resistance value is linearly related to the pressing stroke of the shift button 102. Therefore, the pressing state of the shift button 102 can be directly characterized by the change in the value of the third voltage, including from never being pressed to being fully pressed.

[0103] For example, the one-to-one mapping relationship between the pressing state of the column shift button 102 and the voltage signal can be pre-calibrated by combining bench calibration test with vehicle-mounted test, and the mapping relationship can be stored in the local storage module of the controller 202 in the form of a data table or fitting curve. Under actual vehicle-mounted conditions, the controller 202 can directly search for the corresponding pressing state in the preset mapping relationship based on the real-time voltage signal uploaded by the acquisition device 302, so as to realize the rapid determination of the button state.

[0104] It should be understood that the above calibration method takes into account both the accuracy of bench testing and the adaptability of actual testing conditions. It can effectively eliminate the influence of interference factors such as vibration and temperature and humidity drift in the vehicle environment on the voltage signal, ensuring the accuracy and robustness of the mapping relationship. At the same time, the lookup table determination method based on the preset mapping relationship does not require complex real-time calculations, which can significantly improve the response rate of the controller 202 and meet the real-time requirements of the vehicle control system.

[0105] For example, the controller 202 can be any device or equipment capable of recognizing the status of the gear shift button, such as a vehicle control unit (VCU) or a domain controller. This application embodiment does not limit this.

[0106] In some embodiments, the controller 202 may include multiple target voltage ranges, and the third voltage uploaded by the acquisition device 302 is compared with the target voltage ranges to determine the pressed state of the shift button 102.

[0107] As a feasible implementation method, the controller 202 is specifically used to determine the first target voltage range and the second target voltage range; based on the voltage divider, the first target voltage range and the second target voltage range uploaded by the acquisition device 302, the pressed state of the shift button 102 is determined.

[0108] The first target voltage range is determined based on the first voltage and its corresponding first tolerance range. This range is the effective fluctuation range of the voltage output by the acquisition device 302 when the shift button 102 is not pressed.

[0109] Specifically, the first target voltage range is [first voltage - first tolerance range, first voltage + first tolerance range], which can effectively cover voltage drift, signal noise and assembly errors in the vehicle environment, avoid misjudgment of button status due to small voltage fluctuations, and improve the stability and anti-interference ability of the non-pressed state recognition.

[0110] The second target voltage range is determined based on the second voltage and its corresponding second tolerance range. This range is the effective fluctuation range of the voltage output by the acquisition device 302 when the shift button 102 is in the fully pressed state.

[0111] Specifically, the second target voltage range is [second voltage - second tolerance range, second voltage + second tolerance range], which can accommodate mechanical travel deviation of the button, error of resistive device and voltage source fluctuation, ensuring accurate and reliable recognition of the fully pressed state, and providing a stable judgment range for subsequent fault diagnosis such as jamming and inability to reset.

[0112] The first tolerance range is used to characterize interference factors such as vibration, temperature and humidity drift, and component aging in the vehicle environment, and is a reasonable fluctuation threshold for voltage signals when not pressed.

[0113] The second tolerance range is used to characterize interference factors such as vibration, temperature and humidity drift, and component aging in the vehicle environment, and is the reasonable fluctuation threshold of the voltage signal caused by the fully pressed state.

[0114] As a feasible implementation method, when the third voltage is within the first target voltage range, it is determined that the shift button 102 is in the unpressed state.

[0115] In an exemplary embodiment, if the first voltage calibrated by the controller 202 during the power-on self-learning phase is 2.5V, and the first tolerance range set in combination with the interference factors of the vehicle environment is ±0.1V, then the first target voltage range is 2.4V~2.6V; when the real-time collected third voltage is 2.52V, the value falls within the range of 2.4V~2.6V, and the controller 202 determines that the shift button 102 is not pressed and maintains the initial reset state.

[0116] It should be understood that the first target voltage range is determined based on the theoretical voltage division and tolerance range of the shift button 102 when it is not pressed. The upper and lower thresholds of this range fully cover the reasonable fluctuation range of the voltage division signal caused by factors such as vehicle vibration, temperature and humidity fluctuations, and early aging of components. This can effectively avoid misjudgment of the unpressed state caused by environmental interference and ensure the accuracy of state recognition.

[0117] As another feasible implementation method, when the voltage divider is in the second target voltage range, it is determined that the shift button 102 is in the fully pressed state.

[0118] In an exemplary embodiment, if the second voltage determined by the controller 202 through factory calibration and vehicle verification is 0.5V, and the second tolerance range set by the controller 202 in combination with factors such as button mechanical wear and sliding rheostat resistance drift is ±0.1V, then the second target voltage range is 0.4V~0.6V; when the real-time collected voltage is 0.55V, the value falls within the range of 0.4V~0.6V, and the controller 202 determines that the shift button 102 has been fully pressed and triggers the corresponding parking control command.

[0119] It should be understood that the second target voltage range is determined based on the second voltage and the second tolerance range when the shift button 102 is fully pressed. The setting of the second target voltage range takes into account the mechanical travel deviation of the button after long-term use and the performance degradation of the sliding rheostat. It can still accurately identify the fully pressed state even when the button is slightly worn, ensuring the reliable triggering of the parking function.

[0120] As a feasible implementation method, the connection resistance value of the sliding rheostat is determined based on the third voltage; the pressing state of the shift button 102 is determined based on the connection resistance value of the sliding rheostat.

[0121] In the exemplary embodiment, the input resistance value of the sliding rheostat corresponds one-to-one with the button pressing state: when the button is not pressed, it corresponds to the initial value of the constant resistance; when it is fully pressed, it corresponds to the limit value of the constant resistance; and the constant resistance range between the two corresponds to the transition state of the button being half-pressed.

[0122] For example, the corresponding access resistance value and tolerance range for when the shift button is not pressed and when it is fully pressed are preset. The controller 202 compares the calculated real-time resistance value with the target voltage range. If it falls into the first target voltage range, it is determined that the button is not pressed. If it falls into the second target voltage range, it is determined that the button is pressed. If it is between the two, it is determined to be a transition state and no control command is triggered.

[0123] In some embodiments, the controller 202 is further configured to: identify faults in the shift button 102 and / or the acquisition circuit 201 based on the third voltage uploaded by the acquisition device 302.

[0124] As a feasible implementation method, the third voltage can reflect the constant resistance state of the sliding rheostat and the integrity of the signal transmission link. During the vehicle power-on process, if the third voltage remains unchanged for a long time (without any fluctuation), or is not in the preset normal voltage range (i.e., does not fall into the first target voltage range, the second target voltage range and the transition voltage range between the two), it indicates that the shift button 102 may have mechanical jamming, rebound failure or other faults, or the acquisition circuit 201 may have signal transmission interruption, component damage or other problems. The controller 202 needs to start the fault identification process in time.

[0125] Optionally, the controller 202 is also used to send a fault prompt message and activate the backup shift button 102 if a fault is detected in the shift button 102 and / or the acquisition circuit 201.

[0126] In the exemplary embodiment, after the controller 202 detects a fault, it immediately sends a fault code to the vehicle instrument panel via the CAN bus. The instrument panel simultaneously displays the text "Shift key 102 malfunction, please use the backup key" and is accompanied by a buzzer alarm. At the same time, the controller 202 activates the backup shift key located in the vehicle's central control area. This backup key uses an independent acquisition circuit 201, which can directly receive the driver's parking control command and replace the faulty key to complete the parking action, ensuring the safety of vehicle driving and parking.

[0127] For example, the backup shift button is a redundant control component with the same function and simplified structure as the main shift button 102. It is usually in the form of a physical button and is located in an area easily accessible to the driver, such as below the vehicle's central control screen or near the gear lever. Its appearance and markings are consistent with the main button for easy identification and operation by the driver. The training (i.e., calibration) of this backup button can be completed simultaneously with the main shift button. During the vehicle's manufacturing phase, the backup button is initialized and calibrated through bench testing. The controller 202 records the theoretical voltage values ​​corresponding to the backup button's unpressed and fully pressed states, and sets the corresponding target voltage range and judgment threshold. During vehicle power-on initialization, the controller 202 performs self-learning verification on the backup button, calibrating the voltage reference of its acquisition circuit to ensure that the signal acquisition accuracy of the backup button is consistent with the control logic and the main button, thus ensuring the stability and accuracy of parking control after fault switching.

[0128] It should be understood that the activation mechanism of the backup button adopts an independent redundant design, which is completely isolated from the main button and the acquisition circuit 201, effectively avoiding the failure of core functions caused by the failure of the main link; the fault prompt message can promptly inform the driver of the fault situation and guide him to use the backup component, taking into account both safety and ease of operation.

[0129] In some embodiments, the fault states of the shift button 102 include, but are not limited to: aging fault, inability to reset fault, and stuck fault.

[0130] As a feasible implementation method, aging fault is used to characterize the fault type of the shift button 102 caused by long-term mechanical pressing, environmental corrosion and other factors, such as the decay of button rebound performance, deviation of effective pressing stroke, wear of mechanical structure or drift of sliding rheostat value, which in turn cause the voltage signal output by the acquisition device to deviate continuously from the theoretical voltage value, and ultimately affect the accuracy of the detection of the pressing state of the shift button 102.

[0131] In the exemplary embodiment, the controller 202 is specifically configured to: acquire a fourth voltage uploaded by the acquisition device 302 when the shift button 102 is not pressed and a fifth voltage uploaded by the acquisition device 302 when the shift button 102 is fully pressed; determine a first absolute value of the voltage difference between the fourth voltage and the fifth voltage; determine a second absolute value of the voltage difference between the first voltage and the second voltage; and determine that the shift button 102 has an aging fault if the deviation between the first absolute value of the voltage difference and the second absolute value of the voltage difference is greater than a first preset value.

[0132] The absolute value of the second voltage difference is used to characterize the theoretical difference in voltage signals between the two states of the shift button 102 being not pressed and being fully pressed when the shift button 102 is working normally. This difference is determined by the initial resistance value, the limiting resistance value of the sliding rheostat, and the parameters of the voltage divider circuit.

[0133] The first preset value is used to characterize the maximum permissible deviation threshold of the differential pressure within the normal aging range of the shift button 102. It can be determined based on a large amount of bench aging test data, vehicle-mounted test statistical results, and component life curves.

[0134] It should be understood that under normal working conditions, the absolute values ​​of the first voltage difference and the second voltage difference should be basically the same, with the deviation being within a small range. When the deviation between the two is greater than the first preset value, it indicates that the actual travel of the shift button 102 has been significantly offset, or the resistance characteristics of the sliding rheostat have undergone irreversible drift. This is the core characteristic of button aging. Therefore, the aging fault can be determined by this deviation threshold, and the accurate identification of button performance degradation can be achieved.

[0135] For example, the controller 202 is pre-calibrated with a first voltage of 2.5V and a second voltage of 0.5V, and the absolute value of the second voltage difference is calculated to be 2.0V. Based on bench testing, the first preset value is set to 0.2V. After the vehicle has been running for a period of time, the controller 202 collects a fourth voltage of 2.3V and a fifth voltage of 0.7V, and calculates the absolute value of the first voltage difference to be 1.6V. The absolute value of the deviation between the absolute value of the first voltage difference and the absolute value of the second voltage difference is 0.4V, which is greater than the first preset value of 0.2V. The controller 202 determines that the shift button 102 has an aging fault.

[0136] In another embodiment, the fifth voltage uploaded by the acquisition device 302 when the shift button 102 is fully pressed is obtained; the absolute value of the third voltage difference between the fifth voltage and the first voltage is determined; if the absolute value of the third voltage difference is less than or equal to a second preset value, it is determined that the shift button 102 has an aging fault.

[0137] The absolute value of the third voltage difference is used to characterize the difference between the actual voltage division when the shift button 102 is fully pressed and the theoretical voltage when it is not pressed.

[0138] The second preset value is used to characterize the lower limit threshold of the voltage difference between the unpressed and fully pressed states of the shift button 102. This threshold corresponds to the critical state of severe shortening of the travel and failure of rebound after button aging.

[0139] It should be understood that, under normal circumstances, the difference between the fifth voltage when the shift button 102 is fully pressed and the first voltage when it is not pressed should be significantly greater than the second preset value. When the absolute value of the third voltage difference is less than or equal to the second preset value, it means that the voltage signal after the button is fully pressed has greatly approached the theoretical voltage in the unpressed state. This means that the button travel has been severely shortened, or the slider of the sliding rheostat cannot move to the limit position. This is a direct manifestation of the button aging to the critical failure state. Therefore, aging faults can be determined by this condition.

[0140] In the exemplary embodiment, a power-on initialization self-learning voltage is used, which represents the initial state voltage (first voltage) when the shift button 102 is not pressed. The difference between this voltage and the voltage when the shift button 102 is pressed is calculated. If the difference is less than a certain value, the shift button 102 is considered to have an aging fault.

[0141] Specifically, the controller 202 learns upon power-on that the first voltage is 2.5V, and sets the second preset value to 1.0V based on actual tests. When the fifth voltage is 1.8V when the button is fully pressed, the controller 202 calculates that the absolute value of the third voltage difference is 0.7V, which is less than the second preset value of 1.0V. The controller 202 then determines that the shift button 102 has an aging fault.

[0142] It should be understood that determining aging faults by the difference between a single-state voltage and the initial theoretical voltage eliminates the need to collect the actual voltages of both states, simplifying the detection logic. At the same time, using the initial voltage learned upon power-on as a benchmark can eliminate the deviation between the vehicle's factory calibration and the actual usage environment, improving the adaptability and accuracy of aging fault determination.

[0143] Optionally, when the column shift button 102 is found to be aging, the vehicle's infotainment system will display the message "Column shift button 102 is aging, please contact after-sales service for repair".

[0144] For example, after the controller 202 identifies the aging fault judgment conditions three times in a row, it confirms the fault is valid and outputs a prompt message to the driver through the vehicle central control screen, instrument cluster, or voice reminder. At the same time, the aging fault code can be stored in the vehicle fault storage unit, so that after-sales maintenance personnel can read the fault information through diagnostic equipment and quickly locate the problematic component.

[0145] It should be understood that the vehicle's infotainment system can promptly inform the driver of the button's aging status, guiding them to undergo professional maintenance and preventing safety hazards such as parking control failure caused by continuous button performance degradation. Compared to directly activating the backup button, this method is more suitable for non-emergency aging fault scenarios, balancing the timeliness of fault warnings with the convenience of user operation.

[0146] As a feasible implementation method, the inability to reset fault is used to characterize the fault type in which the shift button 102 cannot return to the unpressed initial position after the pressing operation is completed due to factors such as mechanical jamming, failure of the return spring, or obstruction by foreign objects, and remains in the pressed state for a long time. This fault can easily cause abnormal locking or unlocking failure of the parking function, posing a hidden danger to the safety of vehicle operation.

[0147] In an exemplary embodiment, the controller 202 is specifically configured to identify the duration for which the shift button 102 is in a pressed state based on a third voltage; and if the duration exceeds a first preset duration, determine that the shift button 102 has a failure to reset.

[0148] The first preset duration is used to characterize the longest reasonable pressing time for a driver to complete a single parking operation. Its value is based on a large number of user operation habits statistics and vehicle functional safety standards, which can effectively distinguish between normal pressing operations and abnormal stuck states.

[0149] It should be understood that under normal operating conditions, after the driver presses the shift button 102 to complete the parking command input, the driver will immediately release it. The button will reset to its initial position through its own spring-loaded structure, and the voltage signal will also leave the second target voltage range corresponding to the pressed state. If the third voltage remains in the second target voltage range for a duration exceeding the first preset duration, it indicates that the mechanical spring-loaded function of the button has failed. At this time, it is determined to be a failure to reset, which can achieve accurate fault identification and avoid misjudgment.

[0150] For example, after the controller 202 completes the wake-up initialization for 5 seconds, it enters the normal operation monitoring stage; if the controller 202 detects through the voltage signal that the column shift button 102 is continuously pressed and the duration of the pressed state exceeds the first preset time (60 seconds), and at the same time the vehicle seat pressure sensor and the door control module report that the driver's seat has been unoccupied for a long time, it is determined that the column shift button 102 has a failure to reset.

[0151] In another exemplary embodiment, the controller 202 is specifically used to determine that the shift button 102 has a failure to be reset when the driver's seat of the vehicle where the shift button 102 is located is unoccupied and the duration is longer than a second preset duration.

[0152] The first preset duration is longer than the second preset duration. The difference between the two settings can be adapted to the fault identification needs of different wake-up stages of the vehicle, thereby improving the flexibility and coverage of the diagnostic logic.

[0153] For example, the controller 202 monitors the third voltage uploaded by the acquisition device 302 in real time. When the third voltage falls into the second target voltage range, the timing module is immediately started and the duration is accumulated. If the third voltage leaves the second target voltage range, the timing module is reset and re-enters the monitoring state. In a specific scenario, if, within 5 seconds after the controller 202 is woken up, the controller 202 detects that there is no one in the driver's or passenger's seat and that the gear shift button 102 has been in the pressed state for more than the second preset duration (5 seconds), then the controller 202 determines that the gear shift button 102 has a failure to reset.

[0154] It should be understood that the initial 5 seconds of the controller 202 wake-up period is within the vehicle's power-on self-test window. Using a shorter second preset duration can quickly capture button jamming issues and achieve immediate fault identification. In the regular monitoring phase after 5 seconds, the vehicle has completed the power-on initialization of the entire system. At this time, using a longer first preset duration can effectively filter out abnormal voltage divider signals caused by interference factors such as vehicle bumps and instantaneous voltage fluctuations, avoid misjudgment of faults, and balance the timeliness and accuracy of fault identification.

[0155] As a feasible implementation method, the stuck fault is used to characterize the fault type in which the shift button 102 cannot complete the full pressing or rebound action due to factors such as mechanical structure jamming or displacement jamming of the sliding rheostat slider, and remains in the transition travel position between not pressed and fully pressed for a long time.

[0156] In an exemplary embodiment, the controller 202 is specifically used to determine that the shift button 102 has a stuck fault when the voltage divider is in the third target voltage range formed by the first voltage and the second voltage, and the duration of the non-period of the first target voltage range and the second target voltage range is longer than the third preset duration.

[0157] The first target voltage range corresponds to the stable state when the shift button 102 is not pressed; the second target voltage range corresponds to the stable state when the shift button 102 is fully pressed; and the third target voltage range is the intermediate voltage range between the first and second voltages, used to characterize the transition state of the shift button 102 during the pressing or rebounding process. Under normal operating conditions, the transition state only exists briefly and will not be maintained for a long time.

[0158] It should be understood that when the third voltage is within the third target voltage range formed by the first and second voltages, it indicates that the shift button 102 is in the transition travel range between not pressed and fully pressed; however, if the voltage division state is not within the first and second target voltage ranges and the duration is longer than the third preset duration, it indicates that the shift button 102 cannot move to the limit travel position, and there is a jamming problem in the mechanical structure or the sliding rheostat, resulting in a jamming fault.

[0159] For example, the first target voltage range is preset to 2.4V~2.6V (corresponding to the unpressed state), the second target voltage range is 0.4V~0.6V (corresponding to the fully pressed state), and the third target voltage range is 0.6V~2.4V (corresponding to the transition stroke). The third preset duration is set to 5 seconds. If the third voltage collected by the acquisition circuit 201 remains stable at 1.5V, falling neither into the voltage range corresponding to the pressed state nor the voltage range corresponding to the unpressed state, and this state lasts for more than 5 seconds, then the controller 202 determines that the shift button 102 has a stuck fault.

[0160] In some embodiments, the fault states of the acquisition circuit 201 include, but are not limited to: open circuit fault, short ground fault, and short power supply fault.

[0161] As a feasible implementation method, open circuit fault is used to characterize the circuit fault type in which the signal transmission link of the acquisition circuit 201 is broken, resulting in the voltage divider signal being unable to be transmitted normally to the controller 202; short ground fault is used to characterize the circuit fault type in which the signal transmission link of the acquisition circuit 201 is accidentally connected to the ground terminal of the vehicle body, resulting in the voltage divider signal being pulled down to the ground voltage.

[0162] In an exemplary embodiment, the controller 202 is specifically configured to: determine that the acquisition circuit 201 has an open circuit fault or a short-to-ground fault when the duration of the third voltage being equal to the zero drift voltage of the acquisition device is greater than a fourth preset duration.

[0163] It should be understood that the zero-drift voltage of the acquisition device is its inherent output voltage when there is no valid input signal. Under normal operating conditions, the third voltage should be within a preset reasonable range as the resistance of the sliding rheostat changes. If the third voltage is consistently equal to the zero-drift voltage, it indicates that the acquisition circuit 201 has not received a valid third voltage signal. The reason is either that the signal link is open (open circuit fault) or the signal link is grounded (short ground fault). Both faults will cause the third voltage signal to fail. Therefore, this characteristic can be used for preliminary judgment.

[0164] For example, the zero-drift voltage of the acquisition device is preset to 0V, and the fourth preset duration is 5s. If the third voltage acquired by the acquisition circuit 201 remains at 0V and the duration of this state exceeds 5s, the controller 202 determines that the acquisition circuit 201 has an open circuit or short-to-ground fault.

[0165] As a feasible implementation method, short power supply failure is used to characterize the circuit fault type in which the signal transmission link of the acquisition circuit 201 is unexpectedly connected to the power supply terminal of the voltage source, causing the voltage divider signal to be pulled up to the output voltage of the voltage source.

[0166] In an exemplary embodiment, the controller 202 is specifically configured to: determine that the acquisition circuit 201 has a short power supply fault when the duration of the third voltage being equal to the voltage of the voltage source is greater than a fifth preset duration.

[0167] It should be understood that under normal operating conditions, the third voltage signal of the acquisition circuit 201 is determined by the voltage division relationship between the sliding rheostat and the constant resistor. Its value is within the range formed by the first voltage and the second voltage, and it fluctuates dynamically with the change of the button travel. If the third voltage is continuously equal to the supply voltage of the voltage source, it means that the signal link is directly connected to the power supply terminal, the voltage division relationship is destroyed, and it cannot reflect the resistance change of the sliding rheostat. Therefore, this feature can be used to determine that there is a short power supply fault in the acquisition circuit 201.

[0168] For example, the power supply voltage of the voltage source is preset to 5V, and the fifth preset duration is 5s. If the third voltage collected by the acquisition circuit 201 is consistently 5V, and the duration of this state exceeds 5s, then the controller 202 determines that the acquisition circuit 201 has a short power supply fault.

[0169] In some embodiments, the controller 202 is also used to send a fault prompt message and control the vehicle speed to be less than or equal to a preset safe speed in the event that the shift button 102 has a failure to reset or a stuck fault, or the acquisition circuit 201 has an open circuit fault, a short ground fault, or a short power supply fault, so as to ensure vehicle driving safety.

[0170] As a feasible implementation method, when the column shift button 102 malfunctions due to failure to reset or jamming, or when the acquisition circuit 201 has an open circuit fault, short ground fault, or short power supply fault, the vehicle's central control screen will display a text message "Column shift button 102 malfunction, please repair promptly" accompanied by a buzzer alarm. Simultaneously, when the vehicle is parked at 0 speed, the central control screen will display the learning scheme for the column shift button 102's replacement button. After the driver clicks the "Start Learning" option, pressing and holding the replacement button of the column shift button 102 for more than 10 seconds will allow the controller 202 to complete the function calibration of the replacement button. Afterward, the replacement button will assume all the control functions of the original column shift button 102. After the learning calibration is complete, the central control screen will continuously display the message "Column shift button 102 malfunction, please repair promptly," and when the vehicle's current speed is below 60 km / h, the controller 202 will automatically limit the vehicle's maximum speed to 60 km / h to avoid safety hazards caused by button malfunctions at high speeds.

[0171] In some embodiments, the method for recognizing the state of the greasegate button is applied to the controller in the greasegate button state recognition device, and can be specifically implemented as follows: determining the pressed state of the greasegate button based on the third voltage uploaded by the acquisition device.

[0172] The pressed state includes not pressed and fully pressed.

[0173] Please see Figure 5 , Figure 5 This is a schematic diagram of the structure of an electronic device disclosed in an embodiment of this application. The electronic device 500 may include a processor 501 and a memory 502. The processor 501 and the memory 502 are communicatively connected. The memory 502 is used to store programs, and the processor 501 is used to execute programs, specifically performing the relevant steps in the embodiment of the method for recognizing the state of the shift lever button described above.

[0174] Specifically, the program may include program code, which includes computer-executable instructions. Memory 502 may include high-speed RAM memory, and may also include non-volatile memory, such as at least one disk storage device. Processor 501 may be a central processing unit (CPU), a microcontroller unit (MCU), or an application-specific integrated circuit (ASIC).

[0175] This application also provides a computer-readable storage medium storing at least one executable instruction that, when executed on a vehicle steering control device, causes the vehicle steering control device to perform the column shift button status recognition method in any of the above method embodiments.

[0176] This application provides a computer program product that can be executed by the processor 501 of the electronic device 500 to complete the shift button status recognition method in the above embodiments.

[0177] It should be understood that the application of this application is not limited to the examples above. Those skilled in the art can make improvements or modifications based on the above description, and all such improvements and modifications should fall within the protection scope of the appended claims. Those skilled in the art can understand that implementing all or part of the processes of the above embodiments and making equivalent changes according to the claims of this application still fall within the scope of this application.

Claims

1. A data acquisition circuit, characterized in that, The acquisition circuit includes: a first circuit containing a variable resistor and an acquisition device; the first voltage of the variable resistor when it is at its minimum resistance value and the second voltage when it is at its maximum resistance value are both constant values. The variable resistance device is physically connected to the target button, and pressing the target button causes the resistance value of the variable resistance device to change. The acquisition device is used to acquire the voltage of the variable resistor so as to reflect the pressed state of the target button through the voltage.

2. The acquisition circuit according to claim 1, characterized in that, The first circuit further includes: a voltage source and a constant resistor; the constant resistor is connected in series with the variable resistor across the voltage source.

3. The acquisition circuit according to claim 2, characterized in that, The data acquisition device is connected in parallel across the variable resistor to directly acquire the voltage of the variable resistor. or, The acquisition device is connected in parallel across the constant resistor to indirectly acquire the voltage of the variable resistor.

4. A status recognition device for a shift button, characterized in that, The status recognition device includes a data acquisition circuit and a controller as described in any one of claims 1-3; the controller is communicatively connected to the data acquisition device; the target button is a shift button; The controller is used to determine the pressed state of the shift button based on the third voltage uploaded by the acquisition device. The pressed state includes not pressed and fully pressed.

5. The status recognition device for the shift button according to claim 4, characterized in that, The degree of actuation of the shift button from unpressed to fully pressed is positively correlated with the resistance value of the variable resistor; the controller is specifically used for: Determine the first target pressure range and the second target pressure range; Based on the third voltage, the first target pressure range, and the second target pressure range, the pressing state of the shift button is determined; The first target pressure range is determined based on the first voltage and its corresponding first tolerance range; The second target pressure range is determined based on the second voltage and its corresponding second tolerance range.

6. The status recognition device for the shift button according to claim 4 or 5, characterized in that, The controller is also used for: Acquire the fourth voltage uploaded by the acquisition device when the shift button is not pressed and the fifth voltage uploaded by the acquisition device when the shift button is fully pressed; Determine the absolute value of the first voltage difference between the fourth voltage and the fifth voltage; Determine the absolute value of the second voltage difference between the first voltage and the second voltage; If the deviation between the absolute value of the first voltage difference and the absolute value of the second voltage difference is greater than a first preset value, it is determined that the shift button has an aging fault.

7. The status recognition device for the shift button according to claim 4 or 5, characterized in that, The controller is also used for: Based on the third voltage, the duration for which the shift button is in the pressed state is identified; If the duration exceeds the first preset duration, it is determined that the shift button has a failure to reset. and / or; If the driver's seat of the vehicle where the column shift button is located is unoccupied and the duration of the fault exceeds the second preset duration, it is determined that the column shift button has a fault that cannot be reset. Wherein, the first preset duration is longer than the second preset duration.

8. The status recognition device for the shift button according to claim 5, characterized in that, The controller is also used for: If the duration of the third voltage being within the third target voltage range formed by the first voltage and the second voltage, and not within the duration of the first target voltage range and the second target voltage range, is longer than the third preset duration, it is determined that the shift button has a stuck fault.

9. The status recognition device for the shift button according to claim 4 or 5, characterized in that, The controller is also used for: If the duration of the third voltage equaling the zero-drift voltage of the acquisition device is greater than a fourth preset duration, it is determined that the acquisition circuit has an open-circuit fault or a short-to-ground fault.

10. The status recognition device for the shift button according to claim 4 or 5, characterized in that, The controller is also used for: If the duration of the third voltage equaling the voltage of the voltage source is greater than the fifth preset duration, it is determined that the acquisition circuit has a short power supply fault.

11. A method for recognizing the state of a pawl button, characterized in that, A controller applied in the status recognition device for the shift button as described in any one of claims 4-10, wherein the status recognition method for the shift button includes: Based on the third voltage uploaded by the acquisition device, the pressed state of the shift button is determined; The pressed state includes not pressed and fully pressed.

12. A vehicle, characterized in that, include: The vehicle body, the column shift button, and the status recognition device for the column shift button as described in claim 2.