Automobile switch input function backup circuit and vehicle
By introducing a first judgment module and a second judgment module in conjunction with a backup module into the automotive switch input circuit, the problems of circuit complexity and high cost in the prior art are solved, and a backup function is realized when the controller is abnormal, thereby improving the reliability of the circuit and reducing the cost.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- SHANGHAI KOSTAL HUAYANG AUTOMOTIVE ELECTRIC
- Filing Date
- 2025-12-09
- Publication Date
- 2026-04-21
AI Technical Summary
Existing automotive switch backup circuits require two independent input sources, resulting in complex circuitry and high costs.
The design employs a first judgment module and a second judgment module in conjunction with a backup module. By receiving the controller's working signal and button trigger signal, the backup module is turned off when the controller is working normally and turned on when there is an abnormality. It outputs the switching signal of the switch input circuit to avoid functional failure.
This approach improves circuit reliability, simplifies circuit structure, and reduces costs without affecting the normal operation of the controller.
Smart Images

Figure CN121900245A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of automotive switch control technology, and more specifically to a backup circuit for automotive switch input function. Background Technology
[0002] like Figure 1 As shown, current automotive functions such as windows, door handles, and lights are implemented by an MCU that collects relevant input control signals, processes them, and then sends them to the corresponding driver modules via CAN or LIN communication. However, chips such as MCUs, power supply chips, and LIN transceivers can malfunction due to various environmental and software issues.
[0003] To prevent automotive switching malfunctions, a backup circuit is typically incorporated into the automotive switching circuit. Chinese patent application No. [Issue Number] discloses an output self-starting circuit for a high-voltage backup power supply and an automotive device, including a high-voltage backup power supply switching circuit and a starting circuit. The high-voltage backup power supply switching circuit includes a PMOS transistor Q1. The source of PMOS transistor Q1 is connected to the 15V_BACK input of the high-voltage backup power supply, the drain of PMOS transistor Q1 is connected to the +15V output of the high-voltage backup power supply, and the gate of PMOS transistor Q1 is connected to the starting circuit. The starting circuit includes a first starting circuit and a second starting circuit, both connected to the high-voltage backup power supply switching circuit. The first starting circuit controls the switching on and off of PMOS transistor Q1 via a microcontroller. The second starting circuit automatically starts the high-voltage backup power supply output when the 12V input voltage VBAT+ is undervoltage.
[0004] However, existing backup circuits often require two independent input sources, have complex circuit configurations, and have high costs for external components.
[0005] Therefore, providing a backup circuit that is simple in composition, low in cost, and stable and reliable has become an urgent problem to be solved in this field. Summary of the Invention
[0006] In view of the shortcomings of the prior art, the purpose of this invention is to provide a backup circuit for automotive switch input function and a vehicle that is simple in circuit composition, low in cost, and stable and reliable.
[0007] To achieve the above objectives, the present invention provides a backup circuit for automotive switch input functions, which works in conjunction with a switch input circuit. The input circuit includes a controller and a button module. Its key feature is that it includes a first judgment module, a second judgment module, and a backup module. The first judgment module and the second judgment module are interconnected and then respectively connected to the controller and the backup module. The second judgment module can receive the normal operation signal of the controller and output a second shutdown signal to the first judgment module and the backup module. It can also receive the abnormal operation signal and the button not triggered signal of the controller and output a second power-on signal to the first judgment module and the backup module. The first judgment module can receive the normal operation signal of the controller and output a first shutdown signal to the backup module; it can also receive the abnormal operation signal and the second shutdown signal of the controller and output a first startup signal to the backup module. The backup module can be in the ON state when it receives both the first ON signal and the second OFF signal simultaneously, and outputs the OFF signal of the switch input circuit.
[0008] Furthermore, the input terminal of the second judgment module is connected to the first pin and the second pin of the controller, respectively, and the output terminal is connected to the backup module. The input terminal of the first judgment module is connected to the first pin of the controller and the output terminal of the second judgment module, respectively, and the output terminal is connected to the backup module.
[0009] Furthermore, the first pin of the controller can output the controller's operating signal, and the second pin can output the trigger signal of the button module.
[0010] Furthermore, the backup module includes a first switch, a second switch, and a hard-wired signal terminal. The first switch is connected to the power supply terminal, the output terminal of the first judgment module, the hard-wired signal terminal, and the second switch, respectively. The second switch is also connected to the output terminal of the second judgment module and grounded.
[0011] Furthermore, the second judgment module includes a second NOR gate, the first input terminal of the second NOR gate is connected to the first pin of the controller, the second input terminal is connected to the second pin, and the output terminal is connected to the second switch of the backup module.
[0012] Furthermore, the first judgment module includes a first NOR gate, the first input terminal of the first NOR gate is connected to the first pin of the controller, the first terminal of the first resistor and the first input terminal of the second NOR gate respectively, the second input terminal of the first NOR gate is connected to the output terminal of the second NOR gate, the output terminal of the first NOR gate is connected to the first switch of the backup module, and the second terminal of the first resistor is grounded.
[0013] To achieve the above objectives, the present invention provides a vehicle including a switch input circuit, wherein the switch input circuit is provided with the aforementioned automotive switch input function backup circuit.
[0014] The automotive switch input function backup circuit and vehicle provided by this invention, through the cooperation of a first judgment module and a second judgment module, receive and judge the controller's working signal and the button's trigger signal, and output corresponding on / off signals to the backup module. This enables the backup circuit to be in a closed state when the controller is working normally, without affecting the normal operation of the controller, and in a closed state when the controller malfunctions, outputting the switch input circuit's switch signal. This ensures that the controller and the backup circuit do not interfere with each other and do not affect the normal function of the switch input circuit. Thus, without affecting the switch input circuit, it avoids functional failures caused by various environmental and software problems, improving the circuit's reliability. At the same time, this backup circuit is simple in composition and low in cost. Attached Figure Description
[0015] The present invention will be further described below with reference to the accompanying drawings and specific embodiments.
[0016] Figure 1 This is a schematic diagram of a switch input circuit in the prior art; Figure 2 A system block diagram of the automotive switch input function backup circuit provided by the present invention; Figure 3 A schematic diagram of the backup circuit for the automotive switch input function provided by the present invention. Detailed Implementation
[0017] To make the technical means, creative features, objectives and effects of this invention easier to understand, the invention will be further described below with reference to specific illustrations.
[0018] See Figure 2 and Figure 3 The diagram shows an example of a backup circuit for automotive switch input function provided by the present invention.
[0019] As shown in the figure, the backup circuit for the automotive switch input function in this example mainly includes a first judgment module 1, a second judgment module 2, and a backup module 3, which work in conjunction with the switch input circuit 4. The switch input circuit 4 includes a controller 41 and a button module.
[0020] After the first judgment module 1 and the second judgment module 2 are interconnected, they are respectively connected to the controller 41 and the backup module 3. The second judgment module 2 can receive the normal operation signal of the controller 41 and output a second shutdown signal to the first judgment module 1 and the backup module 3. It can also receive the abnormal operation signal and the button not triggered signal of the controller 41 and output a second turn-on signal to the first judgment module 1 and the backup module 3. The first judgment module 1 can receive the normal operation signal of the controller 41 and output a first shutdown signal to the backup module 3. It can also receive the abnormal operation signal and the second shutdown signal of the controller 41 and output a first turn-on signal to the backup module 3. The backup module 3 can be in the turn-on state when it receives the first turn-on signal and the second shutdown signal at the same time, and output the switch signal of the switch input circuit 4.
[0021] Therefore, this backup circuit can be in the off state when the controller 41 is working normally, without affecting the normal operation of the controller, and in the event of abnormal failure of the controller 41, it can be in the on state, outputting the switching signal of the switch input circuit 4, so that the controller 41 and the backup circuit will not interfere with each other and will not affect the normal function of the switch input circuit. The circuit composition is simple, the cost is low, and it is stable and reliable.
[0022] Combination Figure 3 Specifically, the input terminal of the second judgment module 2 is connected to the first pin 411 and the second pin 412 of the controller 41, and the output terminal is connected to the backup module 3. The input terminal of the first judgment module 1 is connected to the first pin 411 of the controller 41 and the output terminal of the second judgment module 2, and the output terminal is connected to the backup module 3, so that the output signal of the controller 41 can be used as the input signal of the second judgment module 2. The output signal of the second judgment module 2 and the output signal of the first pin 411 of the controller 41 are used as the input signal of the first judgment module 1. Finally, the output signals of the first judgment module 1 and the second judgment module 2 are used together as the input signal of the backup module 3 to control the opening and closing of the backup module 3.
[0023] Furthermore, the first pin 411 of the controller 41 can output the controller's working signal, and the second pin 412 can output the trigger signal of the button module, so that the first judgment module 1 and the second judgment module 2 can control the backup module 3 according to the controller's working signal and the button module's trigger signal, ensuring that the backup module 3 is turned on only when the controller 41 is abnormal and the button is triggered, and the switch signal of the switch input circuit 4 is output through the backup module 3.
[0024] The backup module 3 is composed of a push-pull circuit. The backup module 3 includes a first switch Q1, a second switch Q2 and a hard-wired signal terminal. The source of the first switch Q1 is connected to the power supply terminal I2, the gate is connected to the output terminal of the first judgment module 1, and the drain is connected to the hard-wired signal terminal. The source of the second switch Q2 is grounded, the gate is connected to the output terminal of the second judgment module 2, and the drain is connected to the hard-wired signal terminal, so that the backup module 3 is jointly controlled by the first judgment module 1 and the second judgment module 2.
[0025] Furthermore, the second judgment module 2 is composed of a NOR operation module. The second judgment module 2 includes a second NOR gate NOR2. The first input terminal X2 of the second NOR gate NOR2 is connected to the first pin 411 of the controller 41, the second input terminal Y2 of the second NOR gate NOR2 is connected to the second pin 412, and the output terminal F2 is connected to the second switch Q2 of the backup module 3.
[0026] Therefore, the second judgment module 2 can receive signals from two pins of the controller 41 through the second NOR gate NOR2, and output corresponding turn-on or turn-off signals.
[0027] As an example, when the controller 41 is working normally, the first pin 411 outputs a signal to the first input terminal X2 of the second NOR gate NOR2, indicating that the controller 41 is working normally. That is, the first input terminal X2 of the second NOR gate NOR2 receives the normal working signal of the controller 41, which is defined as 1. When the controller 41 is abnormal, the first pin 411 will not output a signal to the first input terminal X2 of the second NOR gate NOR2, indicating that the controller 41 is working abnormally. That is, the first input terminal X2 of the second NOR gate NOR2 receives the abnormal working signal of the controller 41, which is defined as 0.
[0028] Correspondingly, when the button module is triggered, the second pin 412 outputs a signal to the second input terminal Y2 of the second NOR gate NOR2, indicating that the button module has been triggered. That is, the second input terminal Y2 of the second NOR gate NOR2 receives a button-triggered signal, which is defined as 1. When the button module is not triggered, the second pin 412 will not output a signal to the second input terminal Y2 of the second NOR gate NOR2, indicating that the button module has not been triggered. That is, the second input terminal Y2 of the second NOR gate NOR2 receives a button-not-triggered signal, which is defined as 0.
[0029] Therefore, based on the NOR operation logic, the output of the second NOR gate NOR2 output terminal F2 is shown in Table 1: Table 1. Output results of the output terminal F2 of the second NOR gate (NOR2).
[0030] Accordingly, when the first input terminal X2 of the second NOR gate NOR2 receives the normal operation signal (defined as 1) from the controller, the output terminal F2 of the second NOR gate NOR2 outputs the second shutdown signal (defined as 0); when the first input terminal X2 of the second NOR gate NOR2 receives the abnormal operation signal (defined as 0) from the controller, and the second input terminal Y2 receives the button trigger signal (defined as 1), the output terminal F2 of the second NOR gate NOR2 outputs the second shutdown signal (defined as 0).
[0031] Furthermore, when the first input terminal X2 of the second NOR gate NOR2 receives an abnormal working signal from the controller (defined as 0), and the second input terminal Y2 receives a button not triggered signal (defined as 0), the output terminal F2 of the second NOR gate NOR2 outputs a second enable signal (defined as 1).
[0032] Furthermore, the output of the second NOR2 gate F2 will be input to the second switch Q2 of the backup module 3 as one of the output signals of the backup module 3.
[0033] At the same time, the output result of the second NOR gate NOR2 output terminal F2 will be input into the first judgment module 1 as one of the output signals of the first judgment module 1.
[0034] Combination Figure 3 Specifically, the first judgment module 1 is composed of a NOR operation module. The first judgment module 1 includes a first NOR gate NOR1. The first input terminal X1 of the first NOR gate NOR1 is connected to the first pin 411 of the controller 41, the first terminal of the first resistor R1, and the first input terminal X2 of the second NOR gate NOR2. The second input terminal Y1 of the first NOR gate NOR1 is connected to the output terminal F2 of the second NOR gate NOR2. The output terminal of the first NOR gate NOR1 is connected to the first switch Q1 of the backup module 3. The second terminal of the first resistor R1 is grounded.
[0035] Therefore, the first judgment module 1 can receive signals from the first pin 411 of the controller 41 and the output terminal F2 of the second NOR gate NOR2 through the first NOR gate NOR1, and output an on or off signal accordingly.
[0036] As an example, when the controller 41 is working normally, the first pin 411 outputs a signal to the first input terminal X1 of the first NOR gate NOR1, indicating that the controller 41 is working normally. That is, the first input terminal X1 of the first NOR gate NOR1 receives the normal working signal of the controller 41, which is defined as 1. When the controller 41 is abnormal, the first pin 411 will not output a signal to the first input terminal X1 of the first NOR gate NOR1, indicating that the controller 41 is working abnormally. That is, the first input terminal X1 of the first NOR gate NOR1 receives the abnormal working signal of the controller 41, which is defined as 0.
[0037] Furthermore, the second input terminal Y1 of the first NOR gate NOR1 receives a second turn-off signal (defined as 0) or a second turn-on signal (defined as 1) from the output terminal F2 of the second NOR gate NOR2.
[0038] Therefore, based on the NOR operation logic, the output result of the first NOR gate NOR1 output terminal F1 is shown in Table 2: Table 2 shows the output results of the first NOR1 gate, output terminal F1.
[0039] Accordingly, when the first input terminal X1 of the first NOR gate NOR1 receives the normal operation signal (defined as 1) of the controller, the output terminal F1 of the first NOR gate NOR1 outputs the first shutdown signal (defined as 0); when the first input terminal X1 of the first NOR gate NOR1 receives the abnormal operation signal (defined as 0) of the controller, and the second input terminal Y1 receives the second enable signal (defined as 1), the output terminal F1 of the first NOR gate NOR1 outputs the first shutdown signal (defined as 0).
[0040] Furthermore, when the first input terminal X1 of the first NOR gate NOR1 receives an abnormal working signal from the controller (defined as 0), and the second input terminal Y1 receives a second shutdown signal (defined as 0), the output terminal F1 of the first NOR gate NOR1 outputs a first enable signal (defined as 1).
[0041] Correspondingly, the outputs of the second NOR gate NOR2 output F2 and the first NOR gate NOR1 output F1 are synchronously input into the backup module 3 as input signals for the backup module 3.
[0042] The output of the second NOR gate (NOR2) output terminal F2 will be input to the second switch Q2 of the backup module 3, and the output of the first NOR gate (NOR1) output terminal F1 will be input to the first switch Q1 of the backup module 3.
[0043] Therefore, based on the NOR operation logic, the output results of the hard-wired signal terminals of backup module 3 are shown in Table 3: Table 3 Output results of the hard-wired signal terminal of backup module 3
[0044] Therefore, when both the first switch Q1 and the second switch Q2 are off, the hard-wired signal terminal is neither connected to power nor grounded, presenting a high-impedance state; when the first switch Q1 is on and the second switch Q2 is off, the 12V power supply is conducted to the hard-wired signal terminal through the first switch Q1 to output a high level; when the second switch Q2 is on and the first switch Q1 is off, the hard-wired signal terminal is grounded through the second switch Q2 to output a low level.
[0045] Therefore, when the backup module 3 receives the first turn-on signal and the second turn-off signal simultaneously, it turns on the first switch Q1 and is in the on state, thereby outputting the switch signal of the switch input circuit 4 to realize the backup of the switch input circuit 4.
[0046] Furthermore, combining Tables 1 to 3, the output results of the hard-wired signals in the working state and button-triggered state of controller 41 can be obtained, as shown in Table 4: Table 4 shows the output results of hard-wired signals under the working state and button trigger state of controller 41.
[0047] Accordingly, the first judgment module 1, the second judgment module 2, and the backup module 3 work together to ensure that the backup circuit is in the off state when the controller 41 is working normally, so as not to affect the normal operation of the controller. When the controller 41 fails abnormally, it is in the on state and outputs the switching signal of the switch input circuit 4, so that the controller 41 and the backup circuit will not interfere with each other and will not affect the normal function of the switch input circuit 4. Thus, without affecting the switch input circuit 4, functional failure caused by various environmental problems and software problems is avoided, thereby improving the reliability of the circuit.
[0048] Meanwhile, this backup circuit is simple in composition and low in cost.
[0049] This constitutes the automotive switch input function backup circuit provided by the present invention.
[0050] The present invention also provides a vehicle including a switch input circuit. The switch input circuit is provided with a backup circuit for automotive switch input function composed of the above-mentioned scheme, so that the switch signals of the vehicle center window, door handle, headlights, etc. can be backed up through the backup circuit to improve the reliability of vehicle control.
[0051] The foregoing has shown and described the basic principles, main features, and advantages of the present invention. Those skilled in the art should understand that the present invention is not limited to the above embodiments. The embodiments and descriptions in the specification are merely illustrative of the principles of the invention. Various changes and modifications can be made to the invention without departing from its spirit and scope, and all such changes and modifications fall within the scope of the present invention as claimed. The scope of protection of this invention is defined by the appended claims and their equivalents.
Claims
1. A backup circuit for automotive switch input function, cooperating with a switch input circuit, wherein the switch input circuit includes a controller and a button module, characterized in that, It includes a first judgment module, a second judgment module, and a backup module. The first judgment module and the second judgment module are interconnected and then connected to the controller and the backup module, respectively. The second judgment module can receive the normal operation signal of the controller and output a second shutdown signal to the first judgment module and the backup module. It can also receive the abnormal operation signal and the button not triggered signal of the controller and output a second power-on signal to the first judgment module and the backup module. The first judgment module can receive the normal operation signal of the controller and output a first shutdown signal to the backup module; it can also receive the abnormal operation signal and the second shutdown signal of the controller and output a first power-on signal to the backup module. The backup module can be in the ON state when it receives both the first ON signal and the second OFF signal simultaneously, and outputs the OFF signal of the switch input circuit.
2. The automotive switch input function backup circuit according to claim 1, characterized in that, The input terminal of the second judgment module is connected to the first pin and the second pin of the controller, respectively, and the output terminal is connected to the backup module. The input terminal of the first judgment module is connected to the first pin of the controller and the output terminal of the second judgment module, respectively, and the output terminal is connected to the backup module.
3. The automotive switch input function backup circuit according to claim 2, characterized in that, The first pin of the controller can output the controller's working signal, and the second pin can output the trigger signal of the button module.
4. The automotive switch input function backup circuit according to claim 3, characterized in that, The backup module includes a first switch, a second switch, and a hard-wired signal terminal. The source of the first switch is connected to the power supply terminal, the gate is connected to the output terminal of the first judgment module, and the drain is connected to the hard-wired signal terminal. The source of the second switch is grounded, the gate is connected to the output terminal of the second judgment module, and the drain is connected to the hard-wired signal terminal.
5. The automotive switch input function backup circuit according to claim 4, characterized in that, The second judgment module includes a second NOR gate, the first input terminal of the second NOR gate is connected to the first pin of the controller, the second input terminal is connected to the second pin, and the output terminal is connected to the second switch of the backup module.
6. The automotive switch input function backup circuit according to claim 5, characterized in that, The first judgment module includes a first NOR gate. The first input terminal of the first NOR gate is connected to the first pin of the controller, the first terminal of the first resistor, and the first input terminal of the second NOR gate. The second input terminal of the first NOR gate is connected to the output terminal of the second NOR gate. The output terminal of the first NOR gate is connected to the first switch of the backup module. The second terminal of the first resistor is grounded.
7. A vehicle comprising a switch input circuit, characterized in that, The switch input circuit includes a backup circuit for the automotive switch input function as described in any one of claims 1-6.