Detection circuit, method and vehicle for electronic parking switch
By designing a detection device for the electronic parking switch and utilizing the cooperation of the detection circuit and the controller, the detection and fault detection of the electronic parking switch status are realized, which solves the problem of limited function of the detection circuit in the existing technology and improves the Improve the circuit's scope of use and reliability.
Patent Information
- Application Number
- CN202410912748.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-09
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2044-07-09
AI Technical Summary
It is difficult to effectively detect the status of the electronic parking switch with the existing technology, and the detection circuit cannot be used for other functions when status detection is not performed, which limits the use scope of the circuit.
A detection device including a detection circuit and a controller is designed. By inputting the status detection control signal to the detection circuit, receiving and analyzing the status detection feedback signal output by it, the status of the electronic parking switch is determined, and the status detection is performed without performing status detection. This circuit is used for fault detection, which expands the function of the circuit.
The accurate detection of the electronic parking switch status is achieved, and the detection circuit is used for fault detection when status detection is not performed, which improves the use range and reliability of the circuit.
Smart Images

Figure CN118457536B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of vehicle control technology, and in particular, to a detection circuit, method and vehicle for an electronic parking switch. Background Art
[0002] Modern vehicles have increasingly used electronic mechanical controls, and the number of parts that drivers can control autonomously through direct mechanical connections has become increasingly small. From basic power steering to complex active steering ratios, these were previously controlled primarily by hydraulic and mechanical controls, but are now gradually moving toward electronic control. At present, handbrakes are also gradually being replaced by electronic parking brakes (EPB). EPB controls parking brakes through electronic circuits, and has the same function as mechanical lever handbrakes. Summary of the invention
[0003] An object of the present disclosure is to provide a detection circuit, method and vehicle for an electronic parking switch, which are capable of performing state detection in response to a control signal.
[0004] In order to achieve the above object, the present disclosure provides a detection device for an electronic parking switch, the detection device comprising:
[0005] A detection circuit connected to the electronic parking switch;
[0006] A controller is connected to the detection circuit, and is used to input a state detection control signal to the detection circuit, receive a state detection feedback signal output by the detection circuit in response to the state detection control signal, and determine the state of the electronic parking switch according to the state detection feedback signal.
[0007] Optionally, the electronic parking switch comprises a first switch, a second switch, a third switch and a fourth switch, and the first switch, the second switch, the third switch and the fourth switch are sequentially connected end to end to form a closed loop;
[0008] The states of the electronic parking switch include a free state, a pulled-up state and a released state;
[0009] In the free state, the second switch and the fourth switch are closed, and the first switch and the third switch are opened;
[0010] In the pulled-up state, the first switch and the second switch are closed, and the third switch and the fourth switch are opened;
[0011] In the released state, the third switch and the fourth switch are closed, and the first switch and the second switch are opened.
[0012] Optionally, the interface of the electronic parking switch includes:
[0013] a first interface connected to a node between the fourth switch and the first switch;
[0014] a second interface connected to a node between the first switch and the second switch;
[0015] a third interface connected to a node between the second switch and the third switch;
[0016] a fourth interface connected to a node between the third switch and the fourth switch;
[0017] The detection circuit includes a first circuit module connected to the first interface, a second circuit module connected to the second interface, a third circuit module connected to the third interface, and a fourth circuit module connected to the fourth interface.
[0018] Optionally, the first circuit module includes a first resistor, a second resistor and a third resistor;
[0019] One end of the first resistor is connected to the first power supply, the other end of the first resistor is connected to the first interface, and is connected to the ground line through the second resistor and the third resistor in sequence, and the node between the second resistor and the third resistor serves as the signal output end of the first circuit module.
[0020] Optionally, the second circuit module includes a fourth resistor, a fifth resistor, a sixth resistor, a seventh resistor, a first switch tube and a second switch tube;
[0021] The emitter of the first switch tube is connected to the second interface, the collector of the first switch tube is connected to the ground wire through the fourth resistor and the fifth resistor in sequence, the base of the first switch tube is connected to the collector of the second switch tube through the sixth resistor, the emitter of the second switch tube is connected to the ground wire, the base of the second switch tube is connected to one end of the seventh resistor, the other end of the seventh resistor serves as the control signal input end of the second circuit module, and the node between the fourth resistor and the fifth resistor serves as the signal output end of the second circuit module.
[0022] Optionally, the third circuit module includes an eighth resistor, a ninth resistor, a tenth resistor, an eleventh resistor, a twelfth resistor, a third switch tube, a fourth switch tube and a diode;
[0023] The emitter of the third switch tube is connected to the second power supply, the collector of the third switch tube is connected to the anode of the diode through the eighth resistor, the cathode of the diode is connected to the ground wire through the eleventh resistor and the twelfth resistor in sequence, the cathode of the diode is connected to the third interface, the base of the third switch tube is connected to the collector of the fourth switch tube through the ninth resistor, the emitter of the fourth switch tube is grounded, the base of the fourth switch tube is connected to one end of the tenth resistor, the other end of the tenth resistor serves as the control signal input end of the third circuit module, and the node between the eleventh resistor and the twelfth resistor serves as the signal output end of the third circuit module.
[0024] Optionally, the fourth circuit module includes a thirteenth resistor, a fourteenth resistor, a fifteenth resistor, a sixteenth resistor, a fifth switch tube and a sixth switch tube;
[0025] The emitter of the fifth switch tube is connected to the fourth interface, the collector of the fifth switch tube is connected to the ground wire through the fifteenth resistor and the sixteenth resistor in sequence, the base of the fifth switch tube is connected to the collector of the sixth switch tube through the thirteenth resistor, the emitter of the sixth switch tube is grounded, the base of the sixth switch tube is connected to one end of the fourteenth resistor, the other end of the fourteenth resistor serves as the control signal input end of the fourth circuit module, and the node between the fifteenth resistor and the sixteenth resistor serves as the signal output end of the fourth circuit module.
[0026] Optionally, the controller is further configured to:
[0027] A fault detection control signal is input to the detection circuit, a fault detection feedback signal output by the detection circuit in response to the fault detection control signal is received, and whether a fault occurs in the detection circuit is determined according to the fault detection feedback signal.
[0028] The present disclosure also provides a detection method for an electronic parking switch, wherein the electronic parking switch is connected to a detection circuit; the method comprises:
[0029] inputting a state detection control signal into the detection circuit;
[0030] receiving a state detection feedback signal output by the detection circuit in response to the state detection control signal;
[0031] The state of the electronic parking switch is determined according to the state detection feedback signal.
[0032] Optionally, the interface of the electronic parking switch includes a first interface, a second interface, a third interface and a fourth interface, and the detection circuit includes a first circuit module connected to the first interface, a second circuit module connected to the second interface, a third circuit module connected to the third interface and a fourth circuit module connected to the fourth interface;
[0033] The step of inputting a state detection control signal to the detection circuit comprises:
[0034] A high level signal is input to the control signal input terminal of the second circuit module, a low level signal is input to the control signal input terminal of the third circuit module, and a high level signal is input to the control signal input terminal of the fourth circuit module.
[0035] Optionally, determining the state of the electronic parking switch according to the state detection feedback signal includes:
[0036] The state of the electronic parking switch is determined according to the following conditions:
[0037] If a high level signal outputted by the signal output terminal of the first circuit module and the signal output terminal of the fourth circuit module is received, and a low level signal outputted by the signal output terminal of the second circuit module and the signal output terminal of the third circuit module is received, it is determined that the electronic parking switch is in the free state;
[0038] If a high level signal is received from the signal output end of the first circuit module, the signal output end of the second circuit module and the signal output end of the third circuit module, and a low level signal is received from the signal output end of the fourth circuit module, it is determined that the electronic parking switch is in the pulled-up state;
[0039] If a high level signal is received from the signal output end of the first circuit module, the signal output end of the third circuit module and the signal output end of the fourth circuit module, and a low level signal is received from the signal output end of the second circuit module, it is determined that the electronic parking switch is in the released state.
[0040] Optionally, the method further comprises:
[0041] inputting a fault detection control signal into the detection circuit;
[0042] receiving a fault detection feedback signal output by the detection circuit in response to the fault detection control signal;
[0043] Determine whether the detection circuit fails according to the fault detection feedback signal.
[0044] Optionally, inputting a fault detection control signal to the detection circuit includes:
[0045] When the electronic parking switch is in the free state, a high level signal is input to the control signal input terminal of the second circuit module and the control signal input terminal of the third circuit module, and a low level signal is input to the control signal input terminal of the fourth circuit module;
[0046] The determining whether the detection circuit fails according to the fault detection feedback signal includes:
[0047] If high-level signals are received from the signal output ends of the first circuit module, the second circuit module and the third circuit module, and a low-level signal is received from the signal output end of the fourth circuit module, it is determined that the detection circuit has no faults.
[0048] Optionally, inputting a fault detection control signal to the detection circuit includes:
[0049] When the electronic parking switch is in the free state, a low level signal is input to the control signal input terminal of the second circuit module, and a high level signal is input to the control signal input terminal of the third circuit module and the control signal input terminal of the fourth circuit module;
[0050] The determining whether the detection circuit fails according to the fault detection feedback signal includes:
[0051] If a high level signal is received from the signal output end of the first circuit module, the signal output end of the third circuit module and the signal output end of the fourth circuit module, and a low level signal is received from the signal output end of the second circuit module, it is determined that the detection circuit has no fault.
[0052] The present disclosure also provides a vehicle, comprising the above-mentioned detection device for the electronic parking switch provided by the present disclosure.
[0053] Through the above technical solution, different from the related art, the state of the electronic parking switch is determined according to the signal automatically output by the detection circuit after power-on. In this solution, the signal output by the detection circuit is generated in response to the state detection control signal input by the controller. In this way, when the state of the electronic parking switch is not detected, the detection circuit can also be used for other functions in response to other control signals input by the controller, thereby increasing the scope of use of the circuit and expanding the functions of existing devices.
[0054] Other features and advantages of the present disclosure will be described in detail in the following detailed description. BRIEF DESCRIPTION OF THE DRAWINGS
[0055] The accompanying drawings are used to provide a further understanding of the present disclosure and constitute a part of the specification. Together with the following specific embodiments, they are used to explain the present disclosure but do not constitute a limitation of the present disclosure. In the accompanying drawings:
[0056] Figure 1 It is a schematic block diagram of a detection device for an electronic parking switch provided by an exemplary embodiment.
[0057] Figure 2 It is a schematic diagram of the connection relationship between a detection circuit and an electronic parking switch provided by an exemplary embodiment.
[0058] Figure 3 is a circuit diagram of a detection circuit provided by an exemplary embodiment.
[0059] Figure 4 is a flow chart of a detection method for an electronic parking switch provided by an exemplary embodiment.
[0060] Description of Reference Numerals
[0061] 100. Detection device; 10. Electronic parking switch; 20. Detection circuit;
[0062] 30. controller; SW1, first switch; SW2, second switch;
[0063] SW3, third switch; SW4, fourth switch; a1, first interface;
[0064] a2, second interface; a3, third interface; a4, fourth interface;
[0065] 11. A first circuit module; 12. A second circuit module; 13. A third circuit module;
[0066] 14. Fourth circuit module; R1, first resistor; R2, second resistor;
[0067] R3, the third resistor; R4, the fourth resistor; R5, the fifth resistor;
[0068] R6, the sixth resistor; R7, the seventh resistor; R8, the eighth resistor;
[0069] R9, the ninth resistor; R10, the tenth resistor; R11, the eleventh resistor;
[0070] R12, the twelfth resistor; R13, the thirteenth resistor; R14, the fourteenth resistor;
[0071] R15, the fifteenth resistor; R16, the sixteenth resistor; Q1, the first switch tube;
[0072] Q2, the second switch tube; Q3, the third switch tube; Q4, the fourth switch tube;
[0073] Q5, fifth switch tube; Q6, sixth switch tube; D, diode;
[0074] C2, a control signal input terminal of the second circuit module; V1, a first power supply;
[0075] C3, control signal input terminal of the third circuit module; V2, second power supply;
[0076] C4, a control signal input terminal of the fourth circuit module;
[0077] M1, a signal output terminal of the first circuit module;
[0078] M2, a signal output terminal of the second circuit module;
[0079] M3, a signal output terminal of the third circuit module;
[0080] M4, signal output end of the fourth circuit module. DETAILED DESCRIPTION
[0081] The specific implementation of the present disclosure is described in detail below in conjunction with the accompanying drawings. It should be understood that the specific implementation described herein is only used to illustrate and explain the present disclosure, and is not used to limit the present disclosure.
[0082] Figure 1 FIG. 1 is a schematic block diagram of a detection device for an electronic parking switch provided by an exemplary embodiment. Figure 1 As shown, the detection device 100 for the electronic parking switch includes a detection circuit 20 and a controller 30 .
[0083] The connection between the detection circuit 20 and the electronic parking switch 10 is detected.
[0084] The controller 30 is connected to the detection circuit 20 and is used to input a state detection control signal to the detection circuit 20 , receive a state detection feedback signal output by the detection circuit 20 in response to the state detection control signal, and determine the state of the electronic parking switch 10 according to the state detection feedback signal.
[0085] The state of the electronic parking switch 10 may include a free state, a pulled-up state, and a released state. The controller 30 may be a single-chip microcomputer, including a pin for outputting a state detection control signal, and a pin for inputting a state detection feedback signal. The state detection control signal may include multiple level signals. The pin for outputting the state detection control signal in the controller 30 may include multiple pins.
[0086] The detection circuit 20 is electrically connected to the electronic parking switch 10. When the states of the switches in the electronic parking switch 10 are different, the internal structure of the detection circuit 20 changes, and different state detection feedback signals can be output to the controller 30. That is, the different state detection feedback signals received by the controller 30 reflect the different structures inside the detection circuit 20, thereby reflecting the different states of the electronic parking switch 10.
[0087] In one embodiment, the state detection feedback signal may be a combination of multiple level signals. The state of the electronic parking switch 10 and the combination of multiple level signals have a predetermined corresponding relationship. The state of the corresponding electronic parking switch 10 may be found in the corresponding relationship according to the combination of multiple level signals. The state detection feedback signal may be a high level or a low level signal.
[0088] When the detection circuit does not receive the state detection control signal, the signal output to the controller 30 is different from the signal output when the state detection control signal is received. In this way, unlike the related art, in which the state of the electronic parking switch is determined based on the signal automatically output by the detection circuit after power-on, in this solution, the signal output by the detection circuit is generated in response to the state detection control signal input by the controller. In this way, when the state of the electronic parking switch is not detected, the detection circuit can also be used for other functions in response to other control signals input by the controller, thereby increasing the scope of use of the circuit and expanding the functions of existing devices.
[0089] Figure 2 FIG. 1 is a schematic diagram of the connection relationship between the detection circuit and the electronic parking switch provided by an exemplary embodiment. Figure 2 As shown, the electronic parking switch 10 includes a first switch SW1, a second switch SW2, a third switch SW3 and a fourth switch SW4, which are connected end to end in sequence to form a closed loop.
[0090] The states of the electronic parking switch 10 include a free state, a pulled-up state, and a released state.
[0091] When the electronic parking switch 10 is in the free state, the second switch SW2 and the fourth switch SW4 are closed, and the first switch SW1 and the third switch SW3 are opened; when it is in the pulled-up state, the first switch SW1 and the second switch SW2 are closed, and the third switch SW3 and the fourth switch SW4 are opened; when it is in the released state, the third switch SW3 and the fourth switch SW4 are closed, and the first switch SW1 and the second switch SW2 are opened. Figure 2 In the embodiment of FIG. 1 , the electronic parking switch 10 is in a free state.
[0092] The interface of the electronic parking switch 10 includes:
[0093] a first interface a1 connected to a node between the fourth switch SW4 and the first switch SW1;
[0094] A second interface a2 connected to a node between the first switch SW1 and the second switch SW2;
[0095] a third interface a3 connected to a node between the second switch SW2 and the third switch SW3;
[0096] A fourth interface a4 is connected to a node between the third switch SW3 and the fourth switch SW4.
[0097] The detection circuit 20 includes a first circuit module 11 connected to the first interface a1, a second circuit module 12 connected to the second interface a2, a third circuit module 13 connected to the third interface a3, and a fourth circuit module 14 connected to the fourth interface a4.
[0098] Electronic parking switch 10 Figure 2 The circuit structure shown in the figure has a simple structure itself and a simple connection relationship with the circuit module, so the control is relatively simple and error-prone.
[0099] Figure 3 FIG. 1 is a circuit diagram of a detection circuit provided by an exemplary embodiment. Figure 3 As shown, the first circuit module 11 includes a first resistor R1, a second resistor R2 and a third resistor R3.
[0100] One end of the first resistor R1 is connected to the first power supply V1, and the other end of the first resistor R1 is connected to the first interface a1, and is connected to the ground line through the second resistor R2 and the third resistor R3 in sequence. The node between the second resistor R2 and the third resistor R3 serves as the signal output terminal M1 of the first circuit module 11.
[0101] The first power source V1 may be a direct current power source, and the voltage may be 10-14 V. The second resistor R2 and the third resistor R3 may play a role of voltage division.
[0102] The second circuit module 12 includes a fourth resistor R4, a fifth resistor R5, a sixth resistor R6, a seventh resistor R7, a first switch tube Q1 and a second switch tube Q2.
[0103] The emitter of the first switch tube Q1 is connected to the second interface a2, and the collector of the first switch tube Q1 is connected to the ground line through the fourth resistor R4 and the fifth resistor R5 in sequence. The base of the first switch tube Q1 is connected to the collector of the second switch tube Q2 through the sixth resistor R6, and the emitter of the second switch tube Q2 is connected to the ground line. The base of the second switch tube Q2 is connected to one end of the seventh resistor R7. The other end of the seventh resistor R7 serves as the control signal input terminal C2 of the second circuit module 12. The node between the fourth resistor R4 and the fifth resistor R5 serves as the signal output terminal M2 of the second circuit module 12.
[0104] Figure 3 The switch tubes (including Q1 to Q6) in the circuit can be triodes or insulated-gate bipolar transistors (IGBT). The fourth resistor R4 and the fifth resistor R5 can play a role in voltage division.
[0105] The third circuit module 13 includes an eighth resistor R8 , a ninth resistor R9 , a tenth resistor R10 , an eleventh resistor R11 , a twelfth resistor R12 , a third switch tube Q3 , a fourth switch tube Q4 and a diode D.
[0106] The emitter of the third switch tube Q3 is connected to the second power supply V2, the collector of the third switch tube Q3 is connected to the anode of the diode D through the eighth resistor R8, the cathode of the diode D is connected to the ground through the eleventh resistor R11 and the twelfth resistor R12 in sequence, the cathode of the diode D is connected to the third interface a3, the base of the third switch tube Q3 is connected to the collector of the fourth switch tube Q4 through the ninth resistor R9, the emitter of the fourth switch tube Q4 is grounded, the base of the fourth switch tube Q4 is connected to one end of the tenth resistor R10, the other end of the tenth resistor R10 serves as the control signal input end C3 of the third circuit module 13, and the node between the eleventh resistor R11 and the twelfth resistor R12 serves as the signal output end M3 of the third circuit module 13.
[0107] The second power source V2 may be a direct current power source, and its voltage is lower than the voltage of the first power source V1. The voltage of the second power source V2 may be 3.3-5 V. The eleventh resistor R11 and the twelfth resistor R12 may play a role of voltage division.
[0108] The fourth circuit module 14 includes a thirteenth resistor R13, a fourteenth resistor R14, a fifteenth resistor R15, a sixteenth resistor R16, a fifth switch tube Q5 and a sixth switch tube Q6.
[0109] The emitter of the fifth switch tube Q5 is connected to the fourth interface a4, the collector of the fifth switch tube Q5 is connected to the ground line through the fifteenth resistor R15 and the sixteenth resistor R16 in sequence, the base of the fifth switch tube Q5 is connected to the collector of the sixth switch tube Q6 through the thirteenth resistor R13, the emitter of the sixth switch tube Q6 is connected to the ground line, the base of the sixth switch tube Q6 is connected to one end of the fourteenth resistor R14, the other end of the fourteenth resistor R14 serves as the control signal input end C4 of the fourth circuit module 14, and the node between the fifteenth resistor R15 and the sixteenth resistor R16 serves as the signal output end M4 of the fourth circuit module 14.
[0110] The fifteenth resistor R15 and the sixteenth resistor R16 can play a role of voltage division.
[0111] The control signal input terminals ( C2 - C4 ) of the three circuit modules and the signal output terminals ( M1 - M4 ) of the four circuit modules are all connected to the controller 30 .
[0112] exist Figure 3 In the circuit structure, four circuit modules are connected to the four interfaces of the electronic parking switch 10 in a one-to-one correspondence. Three of the circuit modules have signal input terminals, which can input up to three level signals. According to the combination of the three level signals, there can be inputs in a variety of states. All four circuit modules have signal output terminals, which can output up to four level signals. According to the combination of the four level signals, there can be outputs in a variety of states. The input and output signals of the multi-level combination enhance the functional scalability of the detection circuit. In addition, fewer electronic devices are set in each circuit module, the circuit structure is simple, the detection error is small, and the reliability is good.
[0113] In one embodiment, when it is necessary to detect the state of the electronic parking switch 10, the controller 30 can input a high level signal at the control signal input terminal C2 of the second circuit module 12, input a low level signal at the control signal input terminal C3 of the third circuit module 13, and input a high level signal at the control signal input terminal C4 of the fourth circuit module 14.
[0114] Correspondingly, according to Figure 3 The controller 30 determines the state of the electronic parking switch 10 according to the following conditions:
[0115] If a high level signal is received from the signal output terminal M1 of the first circuit module 11 and the signal output terminal M4 of the fourth circuit module 14, and a low level signal is received from the signal output terminal M2 of the second circuit module 12 and the signal output terminal M3 of the third circuit module 13, it is determined that the electronic parking switch 10 is in a free state;
[0116] If a high level signal is received from the signal output terminal M1 of the first circuit module 11, the signal output terminal M2 of the second circuit module 12 and the signal output terminal M3 of the third circuit module 13, and a low level signal is received from the signal output terminal M4 of the fourth circuit module 14, it is determined that the electronic parking switch 10 is in the pulled-up state;
[0117] If a high level signal is received from the signal output terminal M1 of the first circuit module 11, the signal output terminal M3 of the third circuit module 13 and the signal output terminal M4 of the fourth circuit module 14, and a low level signal is received from the signal output terminal M2 of the second circuit module 12, it is determined that the electronic parking switch 10 is in the released state.
[0118] When the state of the electronic parking switch is not detected, the connection relationship between each circuit module and the electronic parking switch 10 can also be used to detect the fault of the detection circuit itself.
[0119] In yet another embodiment, the controller 30 may also be configured to:
[0120] A fault detection control signal is input to the detection circuit 20 , a fault detection feedback signal output by the detection circuit 20 in response to the fault detection control signal is received, and whether a fault occurs in the detection circuit 20 is determined according to the fault detection feedback signal.
[0121] That is, when it is necessary to detect the fault of the detection circuit itself, the controller 30 inputs a fault detection control signal different from the state detection control signal to the detection circuit 20. In response to the fault detection control signal, the detection circuit 20 outputs a fault detection feedback signal different from the state detection feedback signal to the controller 30. In this way, when the state of the electronic parking switch is not detected, the detection circuit can also be used to detect its own fault.
[0122] In one embodiment, Figure 3 On the basis of this, when the electronic parking switch 10 is in a free state, the controller 30 can input a high-level signal at the control signal input terminal C2 of the second circuit module 12 and the control signal input terminal C3 of the third circuit module 13, and input a low-level signal at the control signal input terminal C4 of the fourth circuit module 14.
[0123] If the controller 30 receives high-level signals output by the signal output terminal M1 of the first circuit module 11, the signal output terminal M2 of the second circuit module 12 and the signal output terminal M3 of the third circuit module 13, and receives a low-level signal output by the signal output terminal M4 of the fourth circuit module 14, it determines that the detection circuit 20 has no faults.
[0124] In another embodiment, Figure 3 On the basis of this, when the electronic parking switch 10 is in a free state, the controller 30 can input a low-level signal at the control signal input terminal C2 of the second circuit module 12, and input a high-level signal at the control signal input terminal C3 of the third circuit module 13 and the control signal input terminal C4 of the fourth circuit module 14.
[0125] If the controller 30 receives high-level signals output from the signal output terminal M1 of the first circuit module 11, the signal output terminal M3 of the third circuit module 13 and the signal output terminal M4 of the fourth circuit module 14, and receives a low-level signal output from the signal output terminal M2 of the second circuit module 12, it is determined that the detection circuit 20 has no faults.
[0126] In this embodiment, the detection circuit realizes the reuse of its own fault detection function, improves the application range of the circuit, and expands the function of the existing device.
[0127] Based on the same inventive concept, the present disclosure also provides a detection method for an electronic parking switch. Figure 4 FIG. 2 is a flow chart of a detection method for an electronic parking switch provided by an exemplary embodiment, wherein the electronic parking switch is connected to a detection circuit 20 .
[0128] like Figure 4 As shown, the method may include the following steps.
[0129] Step S101 : inputting a state detection control signal to the detection circuit 20 .
[0130] Step S102 : receiving a state detection feedback signal output by the detection circuit 20 in response to the state detection control signal.
[0131] Step S103 , determining the state of the electronic parking switch 10 according to the state detection feedback signal.
[0132] The detection circuit and the electronic parking switch can be Figure 1 or Figure 2 As shown in the figure, its structure and connection relationship are as described above. Figure 1 and Figure 2 The states of the electronic parking switch 10 may include a free state, a pulled-up state, and a released state.
[0133] Through the above technical solution, different from the related art, the state of the electronic parking switch is determined according to the signal automatically output by the detection circuit after power-on. In this solution, the signal output by the detection circuit is generated in response to the state detection control signal input by the controller. In this way, when the state of the electronic parking switch is not detected, the detection circuit can also be used for other functions in response to other control signals input by the controller, thereby increasing the scope of use of the circuit and expanding the functions of existing devices.
[0134] In one embodiment, the interfaces of the electronic parking switch 10 include a first interface a1, a second interface a2, a third interface a3 and a fourth interface a4, and the detection circuit 20 includes a first circuit module 11 connected to the first interface a1, a second circuit module 12 connected to the second interface a2, a third circuit module 13 connected to the third interface a3 and a fourth circuit module 14 connected to the fourth interface a4. The detection circuit and the electronic parking switch can be as follows Figure 3 As shown in the figure, its structure and connection relationship are as described above. Figure 3 as described.
[0135] In this embodiment, the step S101 of inputting the state detection control signal to the detection circuit 20 may include:
[0136] A high level signal is input to the control signal input terminal C2 of the second circuit module 12 , a low level signal is input to the control signal input terminal C3 of the third circuit module 13 , and a high level signal is input to the control signal input terminal C4 of the fourth circuit module 14 .
[0137] The step S103 of determining the state of the electronic parking switch 10 according to the state detection feedback signal may include: determining the state of the electronic parking switch 10 according to the following conditions:
[0138] If a high level signal is received from the signal output terminal M1 of the first circuit module 11 and the signal output terminal M4 of the fourth circuit module 14, and a low level signal is received from the signal output terminal M2 of the second circuit module 12 and the signal output terminal M3 of the third circuit module 13, it is determined that the electronic parking switch 10 is in a free state;
[0139] If a high level signal is received from the signal output terminal M1 of the first circuit module 11, the signal output terminal M2 of the second circuit module 12 and the signal output terminal M3 of the third circuit module 13, and a low level signal is received from the signal output terminal M4 of the fourth circuit module 14, it is determined that the electronic parking switch 10 is in the pulled-up state;
[0140] If a high level signal is received from the signal output terminal M1 of the first circuit module 11, the signal output terminal M3 of the third circuit module 13 and the signal output terminal M4 of the fourth circuit module 14, and a low level signal is received from the signal output terminal M2 of the second circuit module 12, it is determined that the electronic parking switch 10 is in the released state.
[0141] Among them, when the electronic parking switch 10 is in the free state, the second switch SW2 and the fourth switch SW4 are closed, and the first switch SW1 and the third switch SW3 are opened; when it is in the pulled-up state, the first switch SW1 and the second switch SW2 are closed, and the third switch SW3 and the fourth switch SW4 are opened; when it is in the released state, the third switch SW3 and the fourth switch SW4 are closed, and the first switch SW1 and the second switch SW2 are opened. Figure 2 In the embodiment of FIG. 1 , the electronic parking switch 10 is in a free state.
[0142] When the state of the electronic parking switch is not detected, the connection relationship between the detection circuit 20 and the electronic parking switch 10 can also be used to detect the fault of the detection circuit itself.
[0143] In yet another embodiment, the method may further include:
[0144] Inputting a fault detection control signal to the detection circuit 20;
[0145] receiving a fault detection feedback signal output by the detection circuit 20 in response to the fault detection control signal;
[0146] Whether a fault occurs in the detection circuit 20 is determined according to the fault detection feedback signal.
[0147] That is, when it is necessary to detect the fault of the detection circuit itself, a fault detection control signal different from the state detection control signal can be input to the detection circuit 20. Each circuit module responds to the fault detection control signal and outputs a fault detection feedback signal different from the state detection feedback signal. In this way, when the state of the electronic parking switch is not detected, the detection circuit can also be used to detect its own fault.
[0148] In one embodiment, the step of inputting a fault detection control signal to the detection circuit 20 may include:
[0149] When the electronic parking switch 10 is in a free state (the third switch SW3 and the fourth switch SW4 are closed, and the first switch SW1 and the second switch SW2 are open), a high-level signal is input to the control signal input terminal C2 of the second circuit module 12 and the control signal input terminal C3 of the third circuit module 13, and a low-level signal is input to the control signal input terminal C4 of the fourth circuit module 14.
[0150] The step of determining whether the detection circuit 20 fails according to the fault detection feedback signal may include:
[0151] If high-level signals are received from the signal output terminal M1 of the first circuit module 11, the signal output terminal M2 of the second circuit module 12 and the signal output terminal M3 of the third circuit module 13, and a low-level signal is received from the signal output terminal M4 of the fourth circuit module 14, it is determined that the detection circuit 20 has no faults.
[0152] If the level signal outputted from the output end of each circuit module does not meet the above conditions, it is determined that a fault has occurred in the detection circuit 20 .
[0153] In one embodiment, the step of inputting a fault detection control signal to the detection circuit 20 may include:
[0154] When the electronic parking switch 10 is in a free state, a low level signal is input to the control signal input terminal C2 of the second circuit module 12 , and a high level signal is input to the control signal input terminal C3 of the third circuit module 13 and the control signal input terminal C4 of the fourth circuit module 14 .
[0155] The step of determining whether the detection circuit 20 fails according to the fault detection feedback signal may include:
[0156] If high-level signals are received from the signal output terminal M1 of the first circuit module 11, the signal output terminal M3 of the third circuit module 13 and the signal output terminal M4 of the fourth circuit module 14, and a low-level signal is received from the signal output terminal M2 of the second circuit module 12, it is determined that the detection circuit 20 has no faults.
[0157] If the level signal outputted from the output end of each circuit module does not meet the above conditions, it is determined that a fault has occurred in the detection circuit 20 .
[0158] In this embodiment, the detection circuit realizes the reuse of its own fault detection function, improves the application range of the circuit, and expands the function of the existing device.
[0159] The present disclosure further provides a vehicle, comprising the above-mentioned detection device 100 for the electronic parking switch provided by the present disclosure.
[0160] The preferred embodiments of the present disclosure are described in detail above in conjunction with the accompanying drawings; however, the present disclosure is not limited to the specific details in the above embodiments. Within the technical concept of the present disclosure, a variety of simple modifications can be made to the technical solution of the present disclosure, and these simple modifications all fall within the protection scope of the present disclosure.
[0161] It should also be noted that the various specific technical features described in the above specific embodiments can be combined in any suitable manner without contradiction. In order to avoid unnecessary repetition, the present disclosure will not further describe various possible combinations.
[0162] In addition, various embodiments of the present disclosure may be arbitrarily combined, and as long as they do not violate the concept of the present disclosure, they should also be regarded as the contents disclosed by the present disclosure.
Claims
1. A detection device (100) for an electronic parking switch, characterized in that: The detection device (100) comprises: A detection circuit (20) connected to the electronic parking switch (10); a controller (30) connected to the detection circuit (20), configured to input a state detection control signal to the detection circuit (20), receive a state detection feedback signal output by the detection circuit (20) in response to the state detection control signal, and determine the state of the electronic parking switch (10) according to the state detection feedback signal; The controller (30) is also used for: When the electronic parking switch (10) is in a free state, a fault detection control signal different from the state detection control signal is input to the detection circuit (20), a fault detection feedback signal different from the state detection feedback signal output by the detection circuit (20) in response to the fault detection control signal is received, and whether the detection circuit (20) has a fault is determined based on the fault detection feedback signal.
2. The detection device (100) according to claim 1, characterized in that: The electronic parking switch (10) comprises a first switch (SW1), a second switch (SW2), a third switch (SW3) and a fourth switch (SW4), wherein the first switch (SW1), the second switch (SW2), the third switch (SW3) and the fourth switch (SW4) are connected end to end in sequence to form a closed loop; The states of the electronic parking switch (10) include a free state, a pulled-up state and a released state; In the free state, the second switch (SW2) and the fourth switch (SW4) are closed, and the first switch (SW1) and the third switch (SW3) are opened; In the pulled-up state, the first switch (SW1) and the second switch (SW2) are closed, and the third switch (SW3) and the fourth switch (SW4) are opened; In the release state, the third switch (SW3) and the fourth switch (SW4) are closed, and the first switch (SW1) and the second switch (SW2) are opened.
3. The detection device (100) according to claim 2, characterized in that: The interface of the electronic parking switch (10) comprises: a first interface (a1) connected to a node between the fourth switch (SW4) and the first switch (SW1); a second interface (a2) connected to a node between the first switch (SW1) and the second switch (SW2); a third interface (a3) connected to a node between the second switch (SW2) and the third switch (SW3); a fourth interface (a4) connected to a node between the third switch (SW3) and the fourth switch (SW4); The detection circuit (20) comprises a first circuit module (11) connected to the first interface (a1), a second circuit module (12) connected to the second interface (a2), a third circuit module (13) connected to the third interface (a3), and a fourth circuit module (14) connected to the fourth interface (a4).
4. The detection device (100) according to claim 3, characterized in that: The first circuit module (11) comprises a first resistor (R1), a second resistor (R2) and a third resistor (R3); One end of the first resistor (R1) is connected to a first power supply (V1), the other end of the first resistor (R1) is connected to the first interface (a1), and is connected to a ground line through the second resistor (R2) and the third resistor (R3) in sequence, and a node between the second resistor (R2) and the third resistor (R3) serves as a signal output end (M1) of the first circuit module (11).
5. The detection device (100) according to claim 3, characterized in that: The second circuit module (12) comprises a fourth resistor (R4), a fifth resistor (R5), a sixth resistor (R6), a seventh resistor (R7), a first switch tube (Q1) and a second switch tube (Q2); The emitter of the first switch tube (Q1) is connected to the second interface (a2), the collector of the first switch tube (Q1) is connected to the ground line through the fourth resistor (R4) and the fifth resistor (R5) in sequence, the base of the first switch tube (Q1) is connected to the collector of the second switch tube (Q2) through the sixth resistor (R6), the emitter of the second switch tube (Q2) is connected to the ground line, the base of the second switch tube (Q2) is connected to one end of the seventh resistor (R7), the other end of the seventh resistor (R7) serves as the control signal input end (C2) of the second circuit module (12), and the node between the fourth resistor (R4) and the fifth resistor (R5) serves as the signal output end (M2) of the second circuit module (12).
6. The detection device (100) according to claim 3, characterized in that: The third circuit module (13) comprises an eighth resistor (R8), a ninth resistor (R9), a tenth resistor (R10), an eleventh resistor (R11), a twelfth resistor (R12), a third switch tube (Q3), a fourth switch tube (Q4) and a diode (D); The emitter of the third switch tube (Q3) is connected to the second power supply (V2), the collector of the third switch tube (Q3) is connected to the anode of the diode (D) through the eighth resistor (R8), the cathode of the diode (D) is connected to the ground wire through the eleventh resistor (R11) and the twelfth resistor (R12) in sequence, the cathode of the diode (D) is connected to the third interface (a3), the base of the third switch tube (Q3) is connected to the collector of the fourth switch tube (Q4) through the ninth resistor (R9), the emitter of the fourth switch tube (Q4) is connected to the ground wire, the base of the fourth switch tube (Q4) is connected to one end of the tenth resistor (R10), the other end of the tenth resistor (R10) serves as a control signal input end (C3) of the third circuit module (13), and the node between the eleventh resistor (R11) and the twelfth resistor (R12) serves as a signal output end (M3) of the third circuit module (13).
7. The detection device (100) according to claim 3, characterized in that: The fourth circuit module (14) comprises a thirteenth resistor (R13), a fourteenth resistor (R14), a fifteenth resistor (R15), a sixteenth resistor (R16), a fifth switch tube (Q5) and a sixth switch tube (Q6); The emitter of the fifth switch tube (Q5) is connected to the fourth interface (a4), the collector of the fifth switch tube (Q5) is connected to the ground line through the fifteenth resistor (R15) and the sixteenth resistor (R16) in sequence, the base of the fifth switch tube (Q5) is connected to the collector of the sixth switch tube (Q6) through the thirteenth resistor (R13), the emitter of the sixth switch tube (Q6) is connected to the ground line, the base of the sixth switch tube (Q6) is connected to one end of the fourteenth resistor (R14), the other end of the fourteenth resistor (R14) serves as the control signal input end (C4) of the fourth circuit module (14), and the node between the fifteenth resistor (R15) and the sixteenth resistor (R16) serves as the signal output end (M4) of the fourth circuit module (14).
8. A detection method for an electronic parking switch, characterized in that: The electronic parking switch (10) is connected to a detection circuit (20); the method comprises: Inputting a state detection control signal into the detection circuit (20); receiving a state detection feedback signal output by the detection circuit (20) in response to the state detection control signal; determining the state of the electronic parking switch (10) according to the state detection feedback signal; When the electronic parking switch (10) is in a free state, inputting a fault detection control signal different from the state detection control signal into the detection circuit (20); receiving a fault detection feedback signal different from the state detection feedback signal output by the detection circuit (20) in response to the fault detection control signal; Determining whether a fault occurs in the detection circuit (20) is performed according to the fault detection feedback signal.
9. The detection method according to claim 8, characterized in that: The interfaces of the electronic parking switch (10) include a first interface (a1), a second interface (a2), a third interface (a3) and a fourth interface (a4); the detection circuit (20) includes a first circuit module (11) connected to the first interface (a1), a second circuit module (12) connected to the second interface (a2), a third circuit module (13) connected to the third interface (a3) and a fourth circuit module (14) connected to the fourth interface (a4); The states of the electronic parking switch (10) include a free state, a pulled-up state and a released state; Inputting a fault detection control signal different from the state detection control signal into the detection circuit (20) comprises: A high-level signal is input to the control signal input terminal (C2) of the second circuit module (12), a low-level signal is input to the control signal input terminal (C3) of the third circuit module (13), and a high-level signal is input to the control signal input terminal (C4) of the fourth circuit module (14).
10. The detection method according to claim 9, characterized in that: Determining the state of the electronic parking switch (10) according to the state detection feedback signal comprises: The state of the electronic parking switch (10) is determined according to the following conditions: If a high level signal outputted by the signal output terminal (M1) of the first circuit module (11) and the signal output terminal (M4) of the fourth circuit module (14) is received, and a low level signal outputted by the signal output terminal (M2) of the second circuit module (12) and the signal output terminal (M3) of the third circuit module (13) is received, it is determined that the electronic parking switch (10) is in the free state; If a high-level signal is received from the signal output end (M1) of the first circuit module (11), the signal output end (M2) of the second circuit module (12), and the signal output end (M3) of the third circuit module (13), and a low-level signal is received from the signal output end (M4) of the fourth circuit module (14), it is determined that the electronic parking switch (10) is in the pulled-up state; If a high-level signal is received from the signal output end (M1) of the first circuit module (11), the signal output end (M3) of the third circuit module (13), and the signal output end (M4) of the fourth circuit module (14), and a low-level signal is received from the signal output end (M2) of the second circuit module (12), it is determined that the electronic parking switch (10) is in the released state.
11. The detection method according to claim 8, characterized in that: Inputting a fault detection control signal different from the state detection control signal into the detection circuit (20) comprises: Inputting a high-level signal to a control signal input terminal (C2) of the second circuit module (12) and a control signal input terminal (C3) of the third circuit module (13), and inputting a low-level signal to a control signal input terminal (C4) of the fourth circuit module (14); Determining whether the detection circuit (20) has a fault according to the fault detection feedback signal comprises: If a high-level signal is received from the signal output end (M1) of the first circuit module (11), the signal output end (M2) of the second circuit module (12), and the signal output end (M3) of the third circuit module (13), and a low-level signal is received from the signal output end (M4) of the fourth circuit module (14), it is determined that the detection circuit (20) has no fault.
12. The detection method according to claim 8, characterized in that: Inputting a fault detection control signal different from the state detection control signal into the detection circuit (20) comprises: Inputting a low-level signal to the control signal input terminal (C2) of the second circuit module (12), and inputting a high-level signal to the control signal input terminal (C3) of the third circuit module (13) and the control signal input terminal (C4) of the fourth circuit module (14); Determining whether the detection circuit (20) has a fault according to the fault detection feedback signal comprises: If a high-level signal is received from the signal output end (M1) of the first circuit module (11), the signal output end (M3) of the third circuit module (13), and the signal output end (M4) of the fourth circuit module (14), and a low-level signal is received from the signal output end (M2) of the second circuit module (12), it is determined that the detection circuit (20) has no fault.
13. A vehicle, characterized in that: A detection device (100) for an electronic parking switch comprising any one of claims 1 to 7.
Citation Information
Patent Citations
Brake system of vehicle, vehicle and control method
CN117984973A
Diagnostic circuit of high-voltage loop
CN220064288U
