Automobile EPB switching circuit with signal verification
By combining digital and analog detection in the automotive EPB switch circuit, using the analog-to-digital conversion of the double-knife double-throw switch and the microcontroller MCU, the problem of false triggering and insufficient safety in the electromagnetic interference environment is solved, and the problem of traditional analog methods is achieved. Higher safety and robustness, compliant with GB 26262 standards.
Patent Information
- Application Number
- CN202323461450.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-19
- Publication Date
- 2024-11-05
- Estimated Expiration
- 2033-12-19
AI Technical Summary
Traditional simulation methods can easily cause EPB function to be triggered in an electromagnetic interference environment, and cannot meet the verification requirements of GB 26262 standard for high-safe products.
Design an automotive EPB switch circuit with signal verification, combines digital detection and analog detection parts, and synchronous motion of double-throw switch to identify user operations, and use the microcontroller MCU to perform analog-to-digital conversion and input port to read potential status. Implement independent detection and verification.
It improves the safety and detection robustness of the EPB electronic parking system, avoids the common failure problem caused by single signal identification failure, and meets the functional safety design requirements.
Smart Images

Figure CN221961813U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the technical field of automobile switch circuits, in particular to an automobile electronic parking system (EPB) switch circuit with signal verification. Background Art
[0002] With the release of the passenger car GB 26262 functional safety standard, higher functional safety requirements are put forward for automotive electronic products. As part of the chassis brake system, the safety of EPB is particularly important. Triggering the EPB electronic handbrake function without user demand is not allowed in terms of functional safety. The user turns the EPB switch to let the EPB controller recognize the need to clamp or release the caliper. Therefore, correctly identifying the user's switch action is an important part of the EPB functional safety design.
[0003] Traditional EPB switches use an analog method to identify user operations. This method has the following two problems:
[0004] 1. The analog method recognizes the user's action by collecting the voltage change of the EPB switch, but in some electromagnetic interference environments, it is easy to cause inaccurate voltage collection, thereby erroneously triggering the EPB function.
[0005] 2. The verification security of the simulation method is poor. The verification achieved by the same method does not meet the requirements of the GB 26262 standard for high-security products. Utility Model Content
[0006] In order to solve the problems existing in the background technology, the utility model discloses an automotive EPB switch circuit with signal verification. The utility model circuit can identify the action of the EPB switch through two different detections, thereby improving the safety of the passenger car EPB electronic parking system, improving the detection robustness, and meeting the requirements of automotive electronic functional safety development.
[0007] The technical solution of the utility model is achieved in this way:
[0008] The utility model comprises two parts, a digital detection part and an analog detection part, and the digital detection part and the analog detection part share a double-pole double-throw switch;
[0009] The analog detection part includes a first side blade part of a double-pole double-throw switch, a resistor R1, a resistor R2 and an external interface SW6, wherein the fixed end of the first side blade part is grounded, wherein the first movable end is suspended, and the second movable end is grounded via the resistor R2, and is also connected to the external interface SW6 via the resistor R1;
[0010] The digital detection part includes the second side blade part of the double-pole double-throw switch, the external interface SW1, the external interface SW3 and the external interface SW4, the fixed end of the second side blade part is connected to the external interface SW1, the first moving end is suspended, and the second moving end is respectively connected to the external interface SW3 and the external interface SW4.
[0011] The digital detection part and the analog detection part are two independent detection loops but are connected through a double-pole double-throw switch.
[0012] The double-pole double-throw switch is a return switch.
[0013] The blades on both sides of the double-pole double-throw switch move synchronously:
[0014] When the first side blade is thrown at the first moving end, the second side blade is also thrown at the first moving end;
[0015] When the first side blade portion is thrown at the second moving end, the second side blade portion is also thrown at the second moving end.
[0016] When the double-pole double-throw switch is not in operation, the connection resistance of the external interface SW6 in the analog detection part is the series resistance of the resistor R1 and the resistor R2; the external interface SW1 in the digital detection part is not connected to the external interfaces SW3 and SW4.
[0017] When the double-pole double-throw switch is in operation, the A end of the resistor R1 in the analog detection part is grounded, and the resistor R2 is short-circuited, so that the connection resistance of the external interface SW6 is the resistor R1; the external interface SW1 in the digital detection part is connected to the external interfaces SW3 and SW4.
[0018] The automobile EPB switch circuit is connected to a microcontroller MCU;
[0019] The external interface SW6 is connected to the analog-to-digital conversion port ADC6 of the microcontroller MCU, and the analog-to-digital conversion port ADC6 of the microcontroller MCU is connected to the pull-up resistor R3 to the power supply voltage; the external interface SW3 is connected to a general input port GPIO3 of the microcontroller MCU through a current limiting resistor R4, the external interface SW4 is connected to another general input port GPIO4 of the microcontroller MCU through a current limiting resistor R5, and the external interface SW1 is connected to the general output port GPIO1 of the microcontroller MCU through a current limiting resistor R6.
[0020] Beneficial effects of the utility model:
[0021] The utility model uses two different methods, analog and digital, to identify and verify the action of the switch. The two module circuits are independent of each other, and the failure of a single detection part will not cause the failure of another detection part. In this way, the common cause failure problem caused by single signal recognition is avoided, making the EPB switch more in line with the design requirements of functional safety. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] Figure 1 This is a schematic diagram of an automotive EPB switch circuit with signal verification;
[0023] Figure 2 The schematic diagram is a connection diagram between an automotive EPB switch circuit with signal verification and an MCU. DETAILED DESCRIPTION
[0024] The utility model is further described below in conjunction with the accompanying drawings and embodiments.
[0025] like Figure 1 As shown, the specifically implemented automotive EPB switch circuit comprises two parts, a digital detection part D and an analog detection part C, and the digital detection part D and the analog detection part C share a double-pole double-throw switch;
[0026] One side blade of the double-pole double-throw switch belongs to the analog detection part C, and the analog detection part C includes a first side blade of the double-pole double-throw switch, a resistor R1, a resistor R2 and an external interface SW6. The side blade has a fixed end and two movable ends respectively. The fixed end of the first side blade is grounded, the first movable end is suspended, and the second movable end is grounded via the resistor R2, and is also connected to the external interface SW6 via the resistor R1;
[0027] The other side blade of the double-pole double-throw switch belongs to the digital detection part D, which includes the second side blade of the double-pole double-throw switch, the external interface SW1, the external interface SW3 and the external interface SW4. The side blade also has a fixed end and two movable ends respectively. The fixed end of the second side blade is connected to the external interface SW1, wherein the first movable end is suspended, and the second movable end is respectively connected to the external interface SW3 and the external interface SW4.
[0028] Specifically, Figure 1 As shown, the double-pole double-throw switch has two blade parts, the fixed end of one blade part is pin 1, and the other two moving ends are pins 2 and 3 respectively; the fixed end of the other blade part is pin 4, and the other two moving ends are pins 5 and 6 respectively.
[0029] In the analog detection part C, one end of pin 1 of the double-pole double-throw switch is grounded, and the other end is connected to pin 3 of the double-pole double-throw switch, and the other end of pin 3 is in a floating state; one end of pin 2 of the double-pole double-throw switch is in a floating state, and the other end is connected to both end A of resistor R1 and end A of resistor R2; end B of resistor R1 is connected to the external interface SW6, and end B of resistor R2 is grounded.
[0030] One end of pin 4 of the double-pole double-throw switch in the digital detection part D is connected to the external interface SW1, and the other end is connected to pin 6 of the double-pole double-throw switch, and the other end of pin 6 is in a floating state; one end of pin 5 of the double-pole double-throw switch is in a floating state, and the other end is connected to both the external interface SW3 and the external interface SW4.
[0031] The digital detection part D and the analog detection part C are two independent detection circuits but are connected by a double-pole double-throw switch. The two detection parts work independently of each other, and the failure of a single detection part will not cause the failure of the other detection part.
[0032] The structure of the double-pole double-throw switch is a return switch.
[0033] When the double-pole double-throw switch is not in operation, its normally closed contacts are connected between pins 1 and 3, and between pins 4 and 6; its normally open contacts are disconnected between pins 1 and 2, and between pins 4 and 5.
[0034] When the double-pole double-throw switch is actuated, its normally closed contacts are connected between pins 1 and 2, and between pins 4 and 5; its normally open contacts are disconnected between pins 1 and 3, and between pins 4 and 6.
[0035] The blades on both sides of the double-pole double-throw switch move synchronously:
[0036] When the first side blade is thrown at the first moving end, the second side blade is also thrown at the first moving end, that is, the side blade of the analog detection part C is thrown at the connecting position of pin 1 and pin 3, and the side blade of the digital detection part D is thrown at the connecting position of pin 4 and pin 6;
[0037] When the first side blade is thrown at the second moving end, the second side blade is also thrown at the second moving end, that is, one side blade of the analog detection part C is thrown at the connecting position of pin 1 and pin 2, and one side blade of the digital detection part D is thrown at the connecting position of pin 4 and pin 5.
[0038] When the double-pole double-throw switch is not in operation, the connection resistance of the external interface SW6 in the analog detection part C is the series resistance of the resistor R1 and the resistor R2; the external interface SW1 in the digital detection part D is not connected to the external interfaces SW3 and SW4.
[0039] When the double-pole double-throw switch is actuated, the A end of the resistor R1 in the analog detection part C is grounded, and the resistor R2 is short-circuited, so that the connection resistance of the external interface SW6 becomes the resistor R1; the external interface SW1 in the digital detection part D is connected to the external interfaces SW3 and SW4.
[0040] The automotive EPB switch circuit is connected to the microcontroller MCU, such as Figure 2 As shown, the external interface SW6 is connected to the analog-to-digital conversion port ADC6 of the microcontroller MCU, and the analog-to-digital conversion port ADC6 of the microcontroller MCU is connected to the pull-up resistor R3 to the power supply voltage 5V; the external interface SW3 is connected to a general input port GPIO3 of the microcontroller MCU through the current limiting resistor R4, the external interface SW4 is connected to another general input port GPIO4 of the microcontroller MCU through the current limiting resistor R5, and the external interface SW1 is connected to the general output port GPIO1 of the microcontroller MCU through the current limiting resistor R6.
[0041] In a specific implementation, the resistor R1 is set to 3K, the resistor R2 is set to 1K, the resistor R3 is set to 1K, the resistor R4 is set to 100Ω, the resistor R5 is set to 100Ω, and the resistor R6 is set to 100Ω.
[0042] As a result, the working process of the utility model circuit is as follows:
[0043] A) When the double-pole double-throw switch does not operate:
[0044] The connection resistance of the external interface SW6 is the series resistance of the resistor R1 and the resistor R2, and the external interface SW1 is disconnected from the external interface SW3 and the external interface SW4. The system is in the initial state (the switch does not work). Figure 2 The middle output port GPIO1 performs potential conversion output with a period of 10ms.
[0045] When the output port GPIO1 outputs a high level to the external interface SW1 in the digital detection part D, the microcontroller MCU reads through the general input ports GPIO3 and GPIO4 that the potentials of the external interfaces SW3 and SW4 are low.
[0046] When the output port GPIO1 outputs a low level to the external interface SW1 in the digital detection part D, the microcontroller MCU reads the potentials of the external interfaces SW3 and SW4 through the general input ports GPIO3 and GPIO4 respectively, and the potentials are also low. At the same time, the voltage value read through the analog-to-digital conversion port ADC6 in the analog detection part C is the value after the voltage is divided by the resistors R1 and R2. Specifically, the voltage value at the external interface SW6 read through the analog-to-digital conversion port ADC6 is: 5V*(R2+R1) / (R1+R2+R3)=5*4 / 5=4V.
[0047] Therefore, through the change of the high or low potential output by the digital detection part GPIO1, it is obtained that the status bits of GPIO3 and GPIO4 are both low. At this time, the result of the digital detection part is verified with the voltage value 4V read by the analog detection part, and it is concluded that the current EPB switch is in an inactive state.
[0048] B) In case of double-pole double-throw switch operation:
[0049] The connection resistance of the external interface SW6 is resistor R1, and the external interface SW1 is connected to the external interfaces SW3 and SW4. The system is in the pressed state (switch action), Figure 2 The middle output port GPIO1 performs potential conversion output with a period of 10ms.
[0050] When the output port GPIO1 outputs a high level to the external interface SW1 in the digital detection part D, the microcontroller MCU reads through the general input ports GPIO3 and GPIO4 that the potentials of the external interfaces SW3 and SW4 are high.
[0051] When the output port GPIO1 outputs a low level to the external interface SW1 in the digital detection part D, the microcontroller MCU reads the potential of the external interface SW3 and the external interface SW4 through the general input port GPIO3 and the general input port GPIO4 respectively as low; at the same time, the A end of the resistor R1 in the analog detection part C is grounded to short-circuit the resistor R2, and the connection resistance value of the external interface SW6 is changed to the resistor R1. The voltage value at the external interface SW6 is read through the analog-to-digital conversion port ADC6, which is: 5V*(R1) / (R1+R3)=5*1 / 2=2.5V.
[0052] Therefore, through the high output of the digital detection part GPIO1, the status bits of GPIO3 and GPIO4 are both high. GPIO1 outputs a low level, and the status bits of GPIO3 and GPIO4 are both low. The result of this digital detection part is then cross-checked with the voltage value 2.5V read by the analog detection part, and it is concluded that the current EPB switch is in the action state.
Claims
1. An automotive EPB switch circuit with signal verification, characterized in that: It includes two parts, a digital detection part (D) and an analog detection part (C), and the digital detection part (D) and the analog detection part (C) share a double-pole double-throw switch; The analog detection part (C) includes a first side blade part of a double-pole double-throw switch, a resistor R1, a resistor R2 and an external interface SW6, wherein the fixed end of the first side blade part is grounded, the first movable end is suspended, and the second movable end is grounded via the resistor R2 and is also connected to the external interface SW6 via the resistor R1; The digital detection part (D) includes a second side blade portion of a double-pole double-throw switch, an external interface SW1, an external interface SW3 and an external interface SW4, wherein the fixed end of the second side blade portion is connected to the external interface SW1, wherein the first movable end is suspended, and the second movable end is respectively connected to the external interface SW3 and the external interface SW4.
2. The automotive EPB switch circuit with signal verification according to claim 1, characterized in that: The digital detection part (D) and the analog detection part (C) are two independent detection circuits but are connected through a double-pole double-throw switch.
3. The automotive EPB switch circuit with signal verification according to claim 1, characterized in that: The double-pole double-throw switch is a return switch.
4. The automotive EPB switch circuit with signal verification according to claim 1, characterized in that: The blades on both sides of the double-pole double-throw switch move synchronously: When the first side blade is thrown at the first moving end, the second side blade is also thrown at the first moving end; When the first side blade portion is thrown at the second moving end, the second side blade portion is also thrown at the second moving end.
5. The automotive EPB switch circuit with signal verification according to claim 1, characterized in that: When the double-pole double-throw switch is not in operation, the connection resistance of the external interface SW6 in the analog detection part (C) is the series resistance of the resistor R1 and the resistor R2; the external interface SW1 in the digital detection part (D) is not connected to the external interfaces SW3 and SW4; When the double-pole double-throw switch is actuated, the A end of the resistor R1 in the analog detection part (C) is grounded, and the resistor R2 is short-circuited, so that the connection resistance of the external interface SW6 is the resistor R1; the external interface SW1 in the digital detection part (D) is connected to the external interfaces SW3 and SW4.
6. The automotive EPB switch circuit with signal verification according to claim 1, characterized in that: The automobile EPB switch circuit is connected to a microcontroller MCU; The external interface SW6 is connected to the analog-to-digital conversion port ADC6 of the microcontroller MCU, and the analog-to-digital conversion port ADC6 of the microcontroller MCU is connected to the pull-up resistor R3 to the power supply voltage; the external interface SW3 is connected to a general input port GPIO3 of the microcontroller MCU through a current limiting resistor R4, the external interface SW4 is connected to another general input port GPIO4 of the microcontroller MCU through a current limiting resistor R5, and the external interface SW1 is connected to the general output port GPIO1 of the microcontroller MCU through a current limiting resistor R6.
