Electronic parking switch and vehicle
阅读说明:本技术 电子驻车开关和车辆 (Electronic parking switch and vehicle ) 是由 陈小华 于 2018-07-23 设计创作,主要内容包括:本公开涉及一种电子驻车开关和车辆,用于解决相关技术中难以正确检测到电子驻车开关的工作状态的技术问题。所述电子驻车开关包括:开关电路;检测电路,连接于所述开关电路;控制单元,连接于所述检测电路;所述检测电路包括连接于所述控制单元的输入端和输出端;所述控制单元通过所述输入端输入脉冲检测信号至所述检测电路,所述检测电路根据所述脉冲检测信号检测所述开关电路中开关的工作状态并通过所述输出端输出开关状态信号至所述控制单元。(The present disclosure relates to an electronic parking switch and a vehicle, which are used for solving the technical problem that the working state of the electronic parking switch is difficult to be correctly detected in the related art. The electronic parking switch includes: a switching circuit; a detection circuit connected to the switching circuit; a control unit connected to the detection circuit; the detection circuit comprises an input end and an output end which are connected with the control unit; the control unit inputs a pulse detection signal to the detection circuit through the input end, and the detection circuit detects the working state of a switch in the switch circuit according to the pulse detection signal and outputs a switch state signal to the control unit through the output end.)
1. An electronic parking switch, comprising:
a switching circuit;
a detection circuit connected to the switching circuit;
a control unit connected to the detection circuit; the detection circuit comprises an input end and an output end which are connected with the control unit; the control unit inputs a pulse detection signal to the detection circuit through the input end, and the detection circuit detects the working state of a switch in the switch circuit according to the pulse detection signal and outputs a switch state signal to the control unit through the output end.
2. The electronic parking switch of claim 1 wherein the input terminals include a first input terminal and a second input terminal, and the output terminals include a first output terminal and a second output terminal connected to the switching circuit;
the detection circuit comprises a first triode connected with the first input end and a second triode connected with the second input end; the first triode is connected with the switching circuit, the power supply and the ground; the second triode is connected to the switching circuit and the first triode and is grounded.
3. The electronic parking switch of claim 2, wherein the first transistor and the second transistor are both NPN transistors;
the base electrode of the first triode is connected to the first input end, the collector electrode of the first triode is connected to the switching circuit and the power supply, and the emitter electrode of the first triode is connected to the second triode and grounded;
the base electrode of the second triode is connected to the second input end, the collector electrode of the second triode is connected to the switching circuit, and the emitter electrode of the second triode is connected to the first triode and grounded.
4. The electronic parking switch of claim 3, wherein the detection circuit further comprises a controlled terminal connected to the control unit, and the control unit inputs a control signal through the controlled terminal to control the power supply of the detection circuit to be turned on or off.
5. The electronic parking switch of claim 4, wherein the detection circuit further comprises a third transistor connected to the controlled terminal, the third transistor being connected to the switching circuit, the first output terminal, and the second output terminal.
6. The electronic parking switch of claim 5, wherein the third transistor is a PNP type transistor; the base electrode of the third triode is connected to the second input end, the collector electrode of the third triode is connected to the switch circuit and the first output end, and the emitter electrode of the third triode is connected to the power supply, the switch circuit and the second output end.
7. The electronic parking switch of claim 6 wherein the detection circuit further comprises a first resistor, a second resistor, a third resistor, and a fourth resistor;
one end of the first resistor is connected to the collector of the third triode, and the other end of the first resistor is connected to the switching circuit and the first output end;
one end of the second resistor is connected to the power supply, and the other end of the second resistor is connected to the switching circuit and the collector of the first triode;
one end of the third resistor is connected to the emitter of the third triode and the power supply, and the other end of the third resistor is connected to the switching circuit and the second output end;
one end of the fourth resistor is grounded, and the other end of the fourth resistor is connected to the emitting electrode of the first triode and the emitting electrode of the second triode.
8. The electronic parking switch of claim 1 wherein the control unit includes a network port connected to the in-vehicle local area network.
9. The electronic parking switch of claim 1 wherein the control unit is an MCU or an ECU.
10. A vehicle characterized in that the vehicle includes the electronic parking switch according to any one of claims 1 to 9.
Technical Field
The present disclosure relates to the field, and in particular, to an electronic parking switch and a vehicle.
Background
With the development of automobile science and technology and the improvement of the living standard of people, more and more advanced technologies are applied to the improvement and innovation of automobiles. In the development of the electronic intelligent direction of the automobile, an electronic parking Brake system (EPB) is used as a new application in the field of automobile braking, temporary emergency braking in the driving process and long-term parking braking after parking are integrated, automatic control of automobile parking braking and releasing is realized in an electronic control mode, and compared with a traditional braking mode of a hand-pulled parking Brake lever, the EPB improves the utilization rate of a compartment space and reduces the difference of braking force caused by the difference of the strength of a driver.
Disclosure of Invention
The present disclosure provides an electronic parking switch and a vehicle to solve the technical problem in the related art that it is difficult to correctly detect the operating state of the electronic parking switch.
To achieve the above object, in a first aspect of the embodiments of the present disclosure, there is provided an electronic parking switch including:
a switching circuit;
a detection circuit connected to the switching circuit;
a control unit connected to the detection circuit; the detection circuit comprises an input end and an output end which are connected with the control unit; the control unit inputs a pulse detection signal to the detection circuit through the input end, and the detection circuit detects the working state of a switch in the switch circuit according to the pulse detection signal and outputs a switch state signal to the control unit through the output end.
Optionally, the input terminal comprises a first input terminal and a second input terminal, and the output terminal comprises a first output terminal and a second output terminal connected to the switch circuit;
the detection circuit comprises a first triode connected with the first input end and a second triode connected with the second input end; the first triode is connected with the switching circuit, the power supply and the ground; the second triode is connected to the switching circuit and the first triode and is grounded.
Optionally, the first triode and the second triode are both NPN-type triodes;
the base electrode of the first triode is connected to the first input end, the collector electrode of the first triode is connected to the switching circuit and the power supply, and the emitter electrode of the first triode is connected to the second triode and grounded;
the base electrode of the second triode is connected to the second input end, the collector electrode of the second triode is connected to the switching circuit, and the emitter electrode of the second triode is connected to the first triode and grounded.
Optionally, the detection circuit further includes a controlled end connected to the control unit, and the control unit inputs a control signal through the controlled end to control the power supply of the detection circuit to be turned on or off.
Optionally, the detection circuit further includes a third transistor connected to the controlled terminal, and the third transistor is connected to the switching circuit, the first output terminal, and the second output terminal.
Optionally, the third triode is a PNP-type triode; the base electrode of the third triode is connected to the second input end, the collector electrode of the third triode is connected to the switch circuit and the first output end, and the emitter electrode of the third triode is connected to the power supply, the switch circuit and the second output end.
Optionally, the detection circuit further includes a first resistor, a second resistor, a third resistor, and a fourth resistor;
one end of the first resistor is connected to the collector of the third triode, and the other end of the first resistor is connected to the switching circuit and the first output end;
one end of the second resistor is connected to the power supply, and the other end of the second resistor is connected to the switching circuit and the collector of the first triode;
one end of the third resistor is connected to the emitter of the third triode and the power supply, and the other end of the third resistor is connected to the switching circuit and the second output end;
one end of the fourth resistor is grounded, and the other end of the fourth resistor is connected to the emitting electrode of the first triode and the emitting electrode of the second triode.
Optionally, the control unit comprises a network port connected to the in-vehicle lan.
Optionally, the control unit is an MCU or an ECU.
In a second aspect of the disclosed embodiments, a vehicle is provided that includes the electronic parking switch of any of the first aspect described above.
By adopting the technical scheme, the following technical effects can be at least achieved:
the EPB switch circuit is different from the EPB switch circuit in the related art in that the switch circuit, the detection circuit and the control unit are integrated, the state of the switch can be judged through the pulse sequence of the input and output signals of the detection circuit and can be diagnosed, no matter what state the switch is in, the switch is in fault as long as the input and output pulse sequence is detected to be different from a truth table of a corresponding normal state, the technical problem that the working state of an electronic parking switch is difficult to detect correctly in the related art is solved, the reliability of a vehicle system is improved, and potential safety hazards of a vehicle in the driving process are reduced.
Additional features and advantages of the disclosure will be set forth in the detailed description which follows.
Drawings
The accompanying drawings, which are included to provide a further understanding of the disclosure and are incorporated in and constitute a part of this specification, illustrate embodiments of the disclosure and together with the description serve to explain the disclosure without limiting the disclosure. In the drawings:
fig. 1 is a block diagram illustrating an electronic parking switch according to an exemplary embodiment of the present disclosure.
Fig. 2 is a schematic circuit diagram illustrating an electronic parking switch in a natural state according to an exemplary embodiment of the present disclosure.
Fig. 3 is a schematic circuit diagram illustrating an electronic parking switch in a pulled-up state according to an exemplary embodiment of the present disclosure.
Fig. 4 is a schematic circuit diagram illustrating an electronic parking switch in a released state according to an exemplary embodiment of the present disclosure.
Detailed Description
The following detailed description of specific embodiments of the present disclosure is provided in connection with the accompanying drawings. It should be understood that the detailed description and specific examples, while indicating the present disclosure, are given by way of illustration and explanation only, not limitation.
Fig. 1 is a block diagram of an electronic parking switch according to an exemplary embodiment of the present disclosure, which is used to solve the technical problem in the related art that it is difficult to correctly detect the operating state of the electronic parking switch. As shown in fig. 1, the electronic parking switch includes: a
The switches in the
The
The
That is, when the
Alternatively, the
The EPB switch circuit is different from the EPB switch circuit in the related art in that the switch circuit, the detection circuit and the control unit are integrated, the state of the switch can be judged through the pulse sequence of the input and output signals of the detection circuit and can be diagnosed, no matter what state the switch is in, the switch is in fault as long as the input and output pulse sequence is detected to be different from a truth table of a corresponding normal state, the technical problem that the working state of an electronic parking switch is difficult to detect correctly in the related art is solved, the reliability of a vehicle system is improved, and potential safety hazards of a vehicle in the driving process are reduced.
Referring to fig. 2, fig. 2 is a schematic circuit diagram illustrating an electronic parking switch in a natural state according to an exemplary embodiment of the present disclosure. As shown in fig. 2, the Input terminals include a first Input terminal 0 and a second Input terminal 1, the output terminals include a first output terminal Out0 and a second output terminal Out1, and the first output terminal Out0 and the second output terminal Out1 are both connected to the
As shown in fig. 2, the
As shown in fig. 2, the
As shown in fig. 2, the first transistor Q1 and the second transistor Q2 are NPN transistors. The base of the first transistor Q1 is connected to the first Input terminal Input0, the collector of the first transistor Q1 is connected to the
The base of the second transistor Q2 is connected to the second Input terminal Input1, the collector of the second transistor Q2 is connected to the switching
As shown in fig. 2, the
As shown in fig. 2, the
As shown in fig. 2, the third transistor Q3 is a PNP transistor; the base of the third transistor Q3 is connected to the second Input terminal Input1, the collector of the third transistor Q3 is connected to the switch circuit and the first output terminal Out0, and the emitter of the third transistor Q3 is connected to the power supply, the
When the vehicle is in a vehicle condition that does not need to detect the electronic parking switch, such as being in an off state or not in a driving state, the
As shown in fig. 2, the
One end of the second resistor R2 is connected to the power supply, the other end of the second resistor R2 is connected to the switching
One end of the third resistor R3 is connected to the emitter power supply of the third transistor Q2, the other end of the third resistor R3 is connected to the
One end of the fourth resistor R4 is grounded, and the other end of the fourth resistor R4 is connected to the emitter of the first transistor Q1 and the emitter of the second transistor Q2.
In fig. 2, the switches in the switching
when the first Input end Input0 and the second Input end Input1 are at a low level, the first triode Q1 and the second triode Q2 are not conducted, and the first output end Out0 and the second output end Out1 are at a high level; when the first Input end Input0 is at a low level and the second Input end Input1 is at a high level, the first triode Q1 is not conducted, the second triode Q2 is conducted, the second output end Out1 is at a high level, and the second output end Out1 is at a low level due to the voltage division of the fourth resistor R4; when the first Input end Input0 is at a high level and the second Input end Input1 is at a low level, the first triode Q1 is turned on, the second triode Q2 is not turned on, the first output end Out0 is at a high level, and the second output end Out1 is at a low level due to the voltage division of the fourth resistor R4; when the first Input terminal Input0 and the second Input terminal Input1 are at a high level, the first transistor Q1 and the second transistor Q2 are turned on, and both the first output terminal Out0 and the second output terminal Out1 are at a low level due to the voltage division of the fourth resistor R4.
In fig. 3, the switches in the switching
when the first Input end Input0 and the second Input end Input1 are at a low level, the first triode Q1 and the second triode Q2 are not conducted, and the first output end Out0 and the second output end Out1 are at a high level; when the first Input end Input0 is at a low level and the second Input end Input1 is at a high level, the first triode Q1 is not conducted, the second triode Q2 is conducted, and the first output end Out0 and the second output end Out1 are at a high level; when the first Input end Input0 is at a high level and the second Input end Input1 is at a low level, the first triode Q1 is turned on, the second triode Q2 is not turned on, and due to the voltage division of the fourth resistor R4, the first output end Out0 and the second output end Out1 are at a low level; when the first Input terminal Input0 and the second Input terminal Input1 are at a high level, the first transistor Q1 and the second transistor Q2 are turned on, and both the first output terminal Out0 and the second output terminal Out1 are at a low level due to the voltage division of the fourth resistor R4.
In fig. 4, the switches in the switching
when the first Input end Input0 and the second Input end Input1 are at a low level, the first triode Q1 and the second triode Q2 are not conducted, and the first output end Out0 and the second output end Out1 are at a high level; when the first Input end Input0 is at a low level and the second Input end Input1 is at a high level, the first triode Q1 is not conducted, the second triode Q2 is conducted, and due to the voltage division of the fourth resistor R4, the first output end Out0 and the second output end Out1 are at a low level; when the first Input end Input0 is at a high level and the second Input end Input1 is at a low level, the first triode Q1 is conducted, the second triode Q2 is not conducted, and the first output end Out0 and the second output end Out1 are at a high level; when the first Input terminal Input0 and the second Input terminal Input1 are at a high level, the first transistor Q1 and the second transistor Q2 are turned on, and both the first output terminal Out0 and the second output terminal Out1 are at a low level due to the voltage division of the fourth resistor R4.
The switch circuit, the detection circuit and the control unit are integrated together, and communication can be carried out through the controller area network, so that the electronic parking switch has the advantages of stronger anti-electromagnetic interference capability, high communication speed and stronger real-time property, has a reliable error processing and detecting mechanism, improves the reliability of a vehicle system, and reduces the potential safety hazard of a vehicle in the driving process.
The present disclosure also provides a vehicle including the electronic parking switch.
With regard to the vehicle in the above-described embodiment, the specific manner in which each device performs the operation has been described in detail in the embodiment related to the method, and will not be explained in detail here.
The preferred embodiments of the present disclosure are described in detail with reference to the accompanying drawings, however, the present disclosure is not limited to the specific details of the above embodiments, and various simple modifications may be made to the technical solution of the present disclosure within the technical idea of the present disclosure, and these simple modifications all belong to the protection scope of the present disclosure.
It should be noted that the various features described in the above embodiments may be combined in any suitable manner without departing from the scope of the invention. In order to avoid unnecessary repetition, various possible combinations will not be separately described in this disclosure.
In addition, any combination of various embodiments of the present disclosure may be made, and the same should be considered as the disclosure of the present disclosure, as long as it does not depart from the spirit of the present disclosure.
- 上一篇:一种医用注射器针头装配设备
- 下一篇:一种防碰撞方法及装置