Electronic parking switch and vehicle

文档序号:1584738 发布日期:2020-02-04 浏览:22次 中文

阅读说明:本技术 电子驻车开关和车辆 (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 switching circuit 10; a detection circuit 20; and a control unit 30.

The switches in the switching circuit 10 have three operating states and an error state, and the three normal states include: 1. the switch is in a natural state; 2. the switch is in a pull-up state; 3. the switch is in a released state.

The detection circuit 20 is connected to the switch circuit 10, and the detection circuit 20 is configured to detect an operating state of a switch in the switch circuit 10. The control unit 30 is connected to the detection circuit 20, and the detection circuit 20 includes an input end and an output end connected to the control unit 30.

The control unit 30 may input a pulse detection signal to the detection circuit 20 through the input end, and the detection circuit 20 detects the operating state of the switch in the switch circuit 10 according to the pulse detection signal and outputs a switch state signal to the control unit 30 through the output end, where the switch state signal is also a pulse signal.

That is, when the control unit 30 inputs the pulse detection signal to the detection circuit 20 through the input terminal, the switch state signal output by the output terminal is the pulse detection signal that can be input correspondingly when the switch is in the normal operating state, that is, the operating state of the switch can be detected according to the pulse detection signal and the switch state signal. For example, since the switch state signal is also a pulse signal, the operating state and the error state of the switch can be obtained by comparing the input pulse detection signal with the truth table.

Alternatively, the Control Unit 30 may be an MCU (micro controller Unit) or an ECU (Electronic Control Unit). When the control unit 30 is an MCU, the control unit 30 includes a port connected to the in-vehicle lan, and the MCU can send the pulse detection signal and the switch status signal to the ECU through the network port, and the ECU compares the pulse detection signal with a truth table to determine what operating state the switch is in and whether the switch is in an error state.

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 switch circuit 10.

As shown in fig. 2, the switch circuit 10 may include a first switch K1 and a second switch K2 connected in series, and the first switch K1 and the second switch K2 may each be a single-pole double-throw switch. In fig. 2, the first output terminal Out0 is connected to the first switch K1, and the second output terminal Out1 is connected to the second switch K2.

As shown in fig. 2, the detection circuit 20 includes a first transistor Q1 connected to the first Input terminal Input0 and a second transistor Q2 connected to the second Input terminal Input 2. The first transistor Q1 is connected to the switching circuit 10, a power supply and ground, and the second transistor Q2 is connected to the switching circuit 10, the first transistor Q1 and ground.

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 switching circuit 10 and the power supply, and the emitter of the first transistor Q1 is connected to the second transistor Q2 and to ground. In fig. 2, the collector of the first transistor Q1 is connected to the first switch K1 and the second switch K2.

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 circuit 10, and the emitter of the second transistor Q2 is connected to the first transistor Q1 and to ground. In fig. 2, the collector of the second transistor Q2 is connected to the first switch K1 and the second switch K2.

As shown in fig. 2, the detection circuit 20 further includes a controlled terminal Ctrl connected to the control unit 30, and the control unit 30 inputs a control signal through the controlled terminal Ctrl to control the power of the detection circuit 20 to be turned on or off.

As shown in fig. 2, the detection circuit 20 further includes a third transistor Q3 connected to the controlled terminal Ctrl, and the third transistor Q3 is connected to the switch circuit 10, the first output terminal, and the second output terminal.

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 switch circuit 10 and the second output terminal Out 1. In fig. 2, the collector of the third transistor Q3 is connected to the first switch K1.

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 control unit 30 may input a low level through the controlled terminal Ctrl, so that the third transistor Q3 is in an off state, and the power supply of the detection circuit 20 no longer supplies power to the detection circuit, thereby saving energy. When the vehicle is in a vehicle condition requiring detection of the electronic parking switch, for example, in a driving state, the control unit 30 may input a high level through the controlled terminal Ctrl, so that the third transistor Q3 is in a conducting state, and the power supply of the detection circuit 20 supplies power to the detection circuit.

As shown in fig. 2, the detection circuit 20 further includes a first resistor R1, a second resistor R2, a third resistor R3, and a fourth resistor R4. One end of the first resistor R1 is connected to the collector of the third transistor Q3, the other end of the first resistor R1 is connected to the switch circuit 10 and the first output terminal Out0, and in fig. 2, the other end of the first resistor R1 is connected to the first switch K1.

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 circuit 10 and the collector of the first transistor Q1, and in fig. 2, the other end of the second resistor R2 is connected to the first switch K1 and the second switch K2.

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 switch circuit 10 and the second output terminal Out1, and in fig. 2, the other end of the third resistor R3 is connected to the second switch K2.

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 circuit 10 are in a natural state. The following is the normal input and output truth table of the switch in the natural state:

Figure BDA0001739604660000071

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 circuit 10 are in a pulled-up state. The following is the normal input and output truth table for the switch in the pull-up state:

Figure BDA0001739604660000081

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 circuit 10 are in a released state. The following is the normal input and output truth table for the switch in the released state:

Figure BDA0001739604660000082

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.

11页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种防碰撞方法及装置

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!