# US 2022/0291276 A1 · Detection circuit for open, close and suspension states of high and low level effective switch in vehicle

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2022/0291276 A1
- Document ID: US20220291276A1
- Status: Published application
- Kind: A1
- Application number: 17/589,237
- Filed: 2022-01-31
- Published: 2022-09-15
- Earliest claimed: 2021-03-11
- Assignees: Chongqing University; Star Institute of Intelligent Systems; Db (Chongqing) Intelligent Technology Research Institute Co., Ltd.
- Applicants: Chongqing University; Star Institute of Intelligent Systems; Db (Chongqing) Intelligent Technology Research Institute Co., Ltd.
- Inventors: YONGDUAN SONG; Shuaicheng Hou; Jiawei Chen; Mi Fang
- Web page: https://patentgrep.com/patent/US20220291276A1

## CPC

- G01R 31/2617: {for measuring switching properties thereof}
- H03K 17/7955: {using phototransistors}
- B60R 16/02: electric {constitutive elements}
- G01R 31/3277: {of low voltage devices, e.g. domestic or industrial devices, such as motor protections, relays, rotation switches}
- H03K 17/60: the devices being bipolar transistors (bipolar transistors having four or more electrodes H03K17/72)
- G01R: MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES (indicating correct tuning of resonant circuits H03J3/12)
- H03K: PULSE TECHNIQUE (measuring pulse characteristics G01R; modulating sinusoidal oscillations with pulses H03C; transmission of digital information H04L; discriminator circuits detecting phase difference between two signals by counting or integrating cycles of oscillation H03D3/04; automatic control, starting, synchronisation or stabilisation of generators of electronic oscillations or pulses where the type of generator is irrelevant or unspecified H03L; coding, decoding or code conversion, in general H03M)
- B60R: VEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR

## Abstract

A detection circuit for open, close and suspension states of a high and low level effective switch in a vehicle. The circuit includes an optocoupler circuit module, a low-level active path module, a high-level active path module, a filtering and debouncing module, a transient suppression module, and a wiring terminal. The optocoupler circuit module is connected to the low-level active path module, the high-level active path module and the low-level active path module are connected in parallel to the filtering and debouncing module, and the filtering and debouncing module is connected to the transient suppression module, and then connected to the external high-level active switch or low-level active switch through the wiring terminal. Whether it is a high-level active switch or a low-level active switch, the detection circuit can distinguish whether the switch is in the closed or suspended state, and the strong and weak voltages are isolated.

## Claims

### Claim 1

A detection circuit for open, close and suspension states of a high and low level effective switch in a vehicle, comprising: an optocoupler circuit module, a low-level active path module, a high-level active path module, a filtering and debouncing module, a transient suppression module, and a wiring terminal;
the optocoupler circuit module comprises an optocoupler, a second resistor, a bias resistor, and a first resistor, the optocoupler is composed of a light-emitting diode (LED) and a phototransistor, the LED is connected in parallel to the bias resistor, an anode of the LED is connected to a first terminal of the second resistor, a second terminal of the second resistor is connected to a power supply, and a cathode of the LED is connected to the bias resistor to form an output terminal of the optocoupler circuit module; and a collector of the phototransistor is connected to a first terminal of the first resistor, a second terminal of the first resistor is connected to a power supply of a control unit, the collector of the phototransistor is further used to connect an input-output (IO) port of the control unit, and an emitter of the phototransistor is connected to an isolated ground;
the low-level active path module comprises a diode, an anode of the diode is an input terminal of the low-level active path module, and a cathode of the diode is an output terminal of the low-level active path module;
the high-level active path module comprises a negative-positive-negative (NPN) transistor, a base voltage divider of the NPN transistor, an emitter voltage divider of the NPN transistor, and a positive-negative-positive (PNP) transistor; the base voltage divider of the NPN transistor is composed of a fifth resistor and a sixth resistor, a first terminal of the fifth resistor is connected to the output terminal of the low-level active path module, a second terminal of the fifth resistor is connected to a first terminal of the sixth resistor and a base of the NPN transistor, and a second terminal of the sixth resistor is connected to a common ground; the emitter voltage divider of the NPN transistor comprises a seventh resistor, an eighth resistor, and a second capacitor, an emitter of the NPN transistor is connected to a first terminal of the seventh resistor, a second terminal of the seventh resistor is connected to the power supply, the emitter of the NPN transistor is further connected to a first terminal of the eighth resistor, the other terminal of the eighth resistor is connected to the common ground, and the second capacitor is connected in parallel to the eighth resistor; and a collector of the NPN transistor is connected to a base of the PNP transistor, an emitter of the PNP transistor is connected to the output terminal of the optocoupler circuit module, and a collector of the PNP transistor is connected to the common ground;
the filtering and debouncing module comprises a third resistor, a fourth resistor, and a first capacitor, a first terminal of the third resistor is connected to the output terminal of the low-level active path module, a second terminal of the third resistor is connected to a first terminal of the fourth resistor, the second terminal of the third resistor is further connected to a first terminal of the first capacitor, a second terminal of the first capacitor is connected to the common ground, a second terminal of the fourth resistor is connected to the wiring terminal, and the wiring terminal is used to connect an external switch;
the transient suppression module is a transient suppression diode, an input terminal of the transient suppression diode is connected to the second terminal of the fourth resistor, and an output terminal of the transient suppression diode is connected to the common ground;
when the external switch connected to the wiring terminal is in the suspended state or the wiring terminal is not connected to the external switch, a current from the power supply passes through the second resistor, then mainly through the bias resistor, then through the low-level active path module, and then through the base voltage divider of the NPN transistor of the high-level active path module, and then returns to the common ground, and the current passing through the LED is incapable of making the optocoupler conducted; and under pull-up action of the first resistor, a level to the TO port of the control unit is high;
when the wiring terminal is connected to the low-level active switch, and the low-level active switch is in the closed state, a voltage difference between the base and the emitter of the NPN transistor is incapable of making the base and the emitter conducted, and a current from the power supply passes through the second resistor, then mainly through the LED, then through the low-level active path module, then through the filtering and debouncing module, then through the wiring terminal, and then through the external low-level active switch, and returns to the common ground, and the high-level active path module is invalid; and the current passing through the LED makes the optocoupler conducted, and under pull-down action of the phototransistor, a level to the TO port of the control unit is low; and
when the wiring terminal is connected to the high-level active switch, and the high-level active switch is in the closed state, a cathode voltage of the diode in the low-level active path module is greater than an anode voltage, and the low-level active path module is invalid; a first current starts from the power supply, passes through the emitter voltage divider of the NPN transistor in the high-level active path module, and then flows back to the common ground to obtain an emitter voltage of the NPN transistor; a second current starts from the power supply, passes through the high-level active switch, through the wiring terminal, through the filtering and debouncing module, and through the base voltage divider of the NPN transistor in the high-level active path module, and flows back to the common ground, and a voltage difference between the base and the emitter of the NPN transistor makes the base and the emitter conducted; a third current starts from the base voltage divider of the NPN transistor, passes through the base of the NPN transistor, through the emitter of the NPN transistor, and through the eighth resistor, and flows back to the common ground, and at this time, the NPN transistor is in an amplification region; a fourth current starts from the power supply, passes through the second resistor, then mainly through the LED, then through the emitter of the PNP transistor, then through the base of the PNP transistor, then through the collector of the NPN transistor, then through the emitter of the NPN transistor, and then through the eighth resistor, and flows back to the common ground, and at this time, the PNP transistor is in the amplification region; a fifth current starts from the power supply, mainly passes through the LED, then through the emitter of the PNP transistor, and then through the collector of the PNP transistor, and returns to the common ground; and the current passing through the LED makes the optocoupler conducted, and under pull-down action of the phototransistor of the optocoupler, a level to the IO port of the control unit is low.

### Claim 2 (depends on 1)

The detection circuit for open, close and suspension states of a high and low level effective switch in a vehicle according to claim 1, wherein a power supply voltage is +26±4 V, and the first resistor is 4,700 ohms or 10,000 ohms; the second resistor is 4,000 ohms, the bias resistor is 1,000 ohms, a clamping voltage of the LED is 1 V, a cutoff frequency of the filtering and debouncing module is less than 1 kHz, and resistance values of the third resistor and the fourth resistor are less than 100 ohms; and
a difference between a voltage division value of the base voltage divider of the NPN transistor and a voltage division value of the emitter voltage divider of the NPN transistor in the high-level active path module is in a range of 0-0.5 V when the external switch is in the suspended state, and greater than 0.7 V when the switch is in the closed state; when the external high-level active switch is in the closed state, the NPN transistor in the high-level active path module is in the amplification region; and leakage currents of the base voltage divider of the NPN transistor and the emitter voltage divider of the NPN transistor are 1 mA respectively when the external switch is in the suspended state or when the external switch is not connected.
