Resistance type wake-up source gun insertion wake-up and gun pulling wake-up circuit
By designing a resistive wake-up source gun-inserting and gun-removing wake-up circuit, the circuit structure is optimized to automatically identify and respond to gun-inserting and gun-removing operations, the existing resistive wake-up source detection circuit has solved the problems of high leakage current and insensitive wake-up functions, achieving energy saving and circuit efficiency improvement.
Patent Information
- Application Number
- CN202421826534.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-31
- Publication Date
- 2025-05-16
- Estimated Expiration
- 2034-07-31
AI Technical Summary
The existing resistive wake-up source detection circuits have problems such as high leakage current leading to energy waste and shortening battery life. Some circuits do not have the wake-up function or the wake-up function is insensitive, and different types of wake-up sources cannot be identified, resulting in unstable charging process.
A resistive wake-up source gun-pull wake-up and gun-pull wake-up circuit is designed, including a resistive signal detection feedback circuit, gun-pull wake-up circuit and gun-pull wake-up circuit. By optimizing the circuit structure, it can automatically identify and respond to gun-pull and gun-pull operations, reduce leakage current, and support a variety of resistive wake-up functions.
The wake-up function does not occupy the wake-up port, ensuring that the battery management system enters a dormant state, saving energy, reducing leakage current, improving circuit efficiency and reliability, and supporting multiple charging modes and wake-up source identification.
Smart Images

Figure CN222882958U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the technical field of a gun plug-in wake-up circuit for a new energy vehicle, and in particular to a resistor-type wake-up source gun plug-in wake-up and gun pull-out wake-up circuit. Background Art
[0002] The resistive wake-up source detection circuit occupies a place in the charging system of new energy vehicles. It is used to monitor and control the charging process, wake up the system through the resistance change when the charging gun is inserted or unplugged, and promote the advancement of charging technology.
[0003] The high leakage current of the resistive wake-up source detection circuit of some new energy vehicles will lead to energy waste and shortened battery life, affecting the overall energy efficiency of new energy vehicles. Some existing resistive wake-up source detection circuits do not have the wake-up function. Even if some resistive wake-up source detection circuits have the wake-up function, the wake-up port will be occupied for a long time after the charging gun is inserted, causing the vehicle to always be in the wake-up state when it is fully charged and the charging gun is not unplugged, and it cannot enter the sleep mode. In addition, the accuracy of the resistance recovery is low, resulting in an unstable and unreliable charging process.
[0004] At present, some resistive wake-up source detection circuits do not have the gun-pulling wake-up function and the wake-up source identification function, and cannot automatically wake up the system when the charging gun is unplugged. In addition, the resistive wake-up source gun plug-in wake-up and gun pull-out wake-up circuits are complex in design, containing a large number of redundant components and complex connection methods. During the detection process, different wake-up source types cannot be identified, and can only be targeted at a certain resistive wake-up source. There is a lack of compatibility with multiple resistive wake-up sources, resulting in the system being unresponsive or erroneous when facing different situations. Utility Model Content
[0005] The purpose of the utility model is to provide a resistor-type wake-up source gun plug-in wake-up circuit and a gun pull-out wake-up circuit to solve the technical problems mentioned in the above background technology.
[0006] In order to achieve the above-mentioned purpose, the utility model discloses a resistive wake-up source gun plug-in wake-up and gun pull-out wake-up circuit, including a resistive signal detection feedback circuit, a gun plug-in wake-up circuit and a gun pull-out wake-up circuit, and the gun plug-in wake-up circuit and the gun pull-out wake-up circuit are respectively connected to the resistive signal detection feedback circuit in parallel; the resistive signal detection feedback circuit includes a resistive wake-up source, a resistive source resistor R0, a bidirectional TVS tube TV1, a capacitor C4, two ground wires GND, a resistor R12, a capacitor C3 and a resistive wake-up source recovery port, wherein the bidirectional TVS tube TV1 is used to absorb surge voltage to prevent static electricity and overvoltage from damaging the circuit, the capacitor C4 is used to filter out high-frequency noise and stabilize the voltage, and the resistor R12 and the resistive source resistor R0 together form a voltage divider. The voltage division ratio is determined, the capacitor C3 is used to smooth the voltage signal, reduce noise and interference, the resistive wake-up source recovery port is used to feedback the detection signal, and the resistive wake-up source is connected in series with the resistance source resistor R0, the resistor R12 and the resistive wake-up source recovery port in sequence, and the other end of the resistance source resistor R0 is connected to the ground wire GND, and an anti-static absorption surge protection circuit is set between the resistive wake-up source and the resistor R12 and between the resistance source resistor R0 and the ground wire GND. The anti-static absorption surge protection circuit includes the bidirectional TVS tube TV1 and the capacitor C4 connected in parallel, and the capacitor C3 is topologically connected between the resistor R12 and the resistive wake-up source recovery port and connected to the ground wire GND.
[0007] Optionally, the gun plug wake-up circuit includes two 5V power supplies U2, a P-type MOSFET switch element M1, a P-type MOSFET switch element M2, a resistor R1, a resistor R2, a resistor R3, a resistor R4, a resistor R5, a resistor R6, a resistor R7, a resistor R8, a resistor R9, a resistor R10, a resistor R11, a capacitor C1, a capacitor C2, a diode D1, a diode D2, an N-type MOSFET switch element Q1, three ground wires GND, a gun plug wake-up output port and a gun plug wake-up recovery port, wherein the 5V power supply U2 is used to provide a stable working voltage required by the circuit, the P-type MOSFET switch element M1 and the P-type MOSFET switch element M2 can both control the on and off of the current, the P-type MOSFET switch element M2 is used to detect the gun plug signal, the P-type MOSFET switch element M1 is used for the final wake-up output, the resistor R1 and the resistor R2, the resistor R3 and the resistor R5 all form a gate voltage divider, respectively controlling the opening of the P-type MOSFET switch element M1 and the P-type MOSFET switch element M2, and the N-type MOSFET switch element Q1 is used to realize the output of the gun plug wake-up signal;
[0008] The 5V power supply U2 is connected to the drain terminal of pin No. 2 of the P-type MOSFET switch element M2, and a resistor R3 is topologically connected between the 5V power supply U2 and the drain terminal of pin No. 2 of the P-type MOSFET switch element M2. The resistor R3 is connected in series with the resistor R5. Point A between the resistor R3 and the resistor R5 is topologically connected to the gate terminal of pin No. 1 of the P-type MOSFET switch element M2. Point B at the source terminal of pin No. 3 of the P-type MOSFET switch element M2 is connected in series with the resistor R6, the resistor R7, the resistor R8 and the ground wire GND in sequence, and both ends of the resistor R7 are connected in parallel with the capacitor C1. One end of the capacitor C1 intersects at point C between the resistor R7 and the resistor R8, and is topologically connected to the gate terminal of pin No. 1 of the N-type MOSFET switch element Q1 through point C. The drain terminal of pin No. 2 of the N-type MOSFET switch element Q1 is connected to the ground wire GND. , the source terminal of pin No. 3 of the N-type MOSFET switch element Q1 is connected in series with the resistor R2, the resistor R1 and the 5V power supply U2 in sequence, and the 5V power supply U2 is connected to the drain terminal of pin No. 2 of the P-type MOSFET switch element M1, the gate terminal of pin No. 1 of the P-type MOSFET switch element M1 is topologically connected between the resistor R2 and the resistor R1, the source terminal of pin No. 3 of the P-type MOSFET switch element M1 is connected in series with the resistor R4, the diode D2, the resistor R9, the resistor R11 and the ground wire GND in sequence, the source terminal located between the resistor R4 and the diode D2 is topologically connected to the diode D1 and connected to the gun plug wake-up output port, the resistor R10 and the gun plug wake-up recovery port are topologically connected in series between the resistor R9 and the resistor R11, and the capacitor C2 is topologically connected between the resistor R10 and the gun plug wake-up recovery port and connected to the ground wire GND.
[0009] Optionally, the gun-pulling wake-up circuit includes two 5V power supplies U2, a P-type MOSFET switch element M3, a P-type MOSFET switch element M4, a resistor R13, a resistor R14, a resistor R15, a resistor R16, a resistor R17, a resistor R18, a resistor R19, a resistor R20, a resistor R21, a capacitor C5, a capacitor C6, a diode D3, a diode D4, an N-type MOSFET switch element Q2, three ground wires GND, a gun-pulling wake-up output port and a gun-pulling wake-up recovery port, wherein the P-type MOSFET switch element M3 and the P-type MOSFET switch element M4 can both control the on-off of the current, the P-type MOSFET switch element M3 is used to detect the gun-pulling signal, the P-type MOSFET switch element M1 is used for the final wake-up output, the resistor R13 and the resistor R14, the resistor R16 and the resistor R18 all form a gate voltage divider, respectively controlling the opening of the P-type MOSFET switch element M3 and the P-type MOSFET switch element M4, and the N-type MOSFET switch element Q2 is used to realize the output of the gun-pulling wake-up signal;
[0010] The 5V power supply U2 is connected to the drain terminal of pin No. 2 of the P-type MOSFET switch element M4, the source terminal of pin No. 3 of the P-type MOSFET switch element M4 is connected in series with the resistor R16, the resistor R17, the resistor R18 and the ground wire GND in sequence, and both ends of the resistor R17 are connected in parallel with the capacitor C5, one end of the capacitor C5 intersects at point D between the resistor R17 and the resistor R18, and is topologically connected to the gate terminal of pin No. 1 of the N-type MOSFET switch element Q2 through the point D, the drain terminal of pin No. 2 of the N-type MOSFET switch element Q2 is connected to the ground wire GND, the source terminal of pin No. 3 of the N-type MOSFET switch element Q2 is connected in series with the resistor R14, the resistor R13 and the 5V power supply U2 in sequence, and The 5V power supply U2 is connected to the drain terminal of pin No. 2 of the P-type MOSFET switch element M3, the gate terminal of pin No. 1 of the P-type MOSFET switch element M3 is topologically connected between the resistor R14 and the resistor R13, the source terminal of pin No. 3 of the P-type MOSFET switch element M3 is sequentially connected in series with the resistor R15, the diode D4, the resistor R19, the resistor R21 and the ground wire GND, the one located between the resistor R15 and the diode D4 is topologically connected to the diode D3 and connected to the gun-pulling wake-up output port, the one located between the resistor R19 and the resistor R21 is topologically connected in series with the resistor R20 and the gun-pulling wake-up recovery port, and the one located between the resistor R20 and the gun-pulling wake-up recovery port is topologically connected to the capacitor C6 and connected to the ground wire GND.
[0011] Optionally, one end of the capacitor C4 intersects the intersection between the resistive wake-up source and the resistor R12, and is topologically connected in series with one end of the resistor R5, and point B at the source end of pin 3 of the P-type MOSFET switch element M2 is topologically connected to the gate end of pin 1 of the P-type MOSFET switch element M4;
[0012] When the resistive wake-up source is in sleep leakage current, there are two states. One is that the 5V power supply U2 is not connected to the circuit. At this time, the circuit has no loop and no leakage current is generated. The other is that the 5V power supply U2 is connected to the circuit. Then the resistor source resistor R0 in the resistor signal detection feedback circuit and the resistor R3 and resistor R5 in the gun plug wake-up circuit form a loop, generating leakage current. The current calculation formula in the loop is: Wherein, R3 indicates that the resistance of resistor R3 is 200KΩ, R5 indicates that the resistance of resistor R5 is 10KΩ, R0 indicates the resistance of the source resistor R0, 5V indicates the input voltage of the 5V power supply U2, I0 indicates the leakage current, and the magnitude of the leakage current depends on the resistance of the source resistor R0. When the resistance of the source resistor R0 is smaller, the leakage current is larger. When the source resistor R0 is 0Ω at the minimum, the maximum value of the leakage current I0 is 24uA, and the leakage current requirement of most existing OEMs is 1mA, so 24uA is far lower than the requirement of the OEM. Among them, the calculation of the resistance of the source resistor R0 includes formula 1: Where U C3 It is represented by the voltage value across capacitor C3, and U C3 is directly collected by the single-chip microcomputer, and the formula 2 is derived from formula 1: The resistance value of the resistance source resistance R0 can be obtained by calculation according to formula 2.
[0013] Optionally, the N-type MOSFET switching element Q1 and the N-type MOSFET switching element Q2 are of the same model, both are 2N7002BK, used for high-frequency switching applications to ensure rapid response of gun insertion and withdrawal; the P-type MOSFET switching element M1, the P-type MOSFET switching element M2, the P-type MOSFET switching element M3 and the P-type MOSFET switching element M4 are of the same model, all are BSS84LT1G, used to ensure minimal loss during the switching process and ensure rapid response when detecting gun insertion and withdrawal signals; the bidirectional TVS tube TV1 is of model PESD1LIN,115, used to protect sensitive electronic components from damage by electrostatic discharge; the diode D1, the diode D2, the diode D3 and the diode D4 are of the same model, all are BAS21HT1G, and the diode has a high reverse voltage withstand capability.
[0014] Optionally, the capacitance of the capacitor C1 and the capacitor C5 are equal, both are 1uF, and the withstand voltage is the same, both are 50V; the capacitance of the capacitor C4 and the capacitor C3 are equal, both are 10nF, and the withstand voltage is the same, both are 50V. The capacitors are used for filtering, noise reduction and voltage stabilization; the driving voltage turn-on threshold of the P-type MOSFET switch element M2 is Vgs=-0.9V.
[0015] Optionally, the resistance values of the resistors R1, R2, R4, R5, R12, R13, R14 and R15 are equal, all of which are 10KΩ, with an accuracy of 1%; the resistance values of the resistors R3, R7 and R17 are equal, all of which are 200KΩ, with an accuracy of 1%; the resistance values of the resistors R6, R8, R16 and R18 are equal, all of which are 2KΩ, with an accuracy of 1%, wherein the resistors R6, R7, R8, R10, R17, R19 and R20 are all used in a voltage divider protection circuit; the resistors R9, R11, R19 and R21 are used in a current limiting protection circuit.
[0016] Compared with the prior art, the utility model has the following advantages:
[0017] In the resistive wake-up source gun plug-in wake-up and gun pull-out wake-up circuit, the circuit structure of the resistance signal detection feedback circuit, the gun plug-in wake-up circuit and the gun pull-out wake-up circuit is optimized to realize the automatic recognition and response function of the gun plug-in and gun pull-out operations, so that the wake-up function does not occupy the wake-up port, ensuring that when the new energy vehicle is fully charged but the charging gun is not pulled out, the battery management system BMS can enter a dormant state, saving energy. It not only reduces the leakage current of the resistive wake-up source detection circuit and improves the overall efficiency and reliability of the circuit, but also simplifies the resistive wake-up source detection circuit and its wake-up circuit, reduces the complexity of the circuit, and can also support a variety of resistive wake-up functions such as slow charging, fast charging, CC resistance, CC2 resistance and super CC2 resistance of new energy charging piles, enhances the applicability and versatility of the circuit, and improves the recovery detection accuracy of the resistive wake-up source detection circuit, ensures the accuracy of the wake-up signal, and supports the recognition ability of different wake-up sources, enhances the intelligence level of the circuit, and adapts to the needs of different charging scenarios. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Figure 1 The utility model is a schematic diagram of the resistance type wake-up source gun plug wake-up and gun pull wake-up circuit.
[0019] The accompanying drawings are marked as follows: 1. Resistance signal detection feedback circuit; 2. Gun insertion wake-up circuit; 3. Gun removal wake-up circuit. DETAILED DESCRIPTION
[0020] The technical solution of the utility model is described in detail below through specific embodiments.
[0021] Reference Figure 1 As shown, the utility model discloses a resistive wake-up source gun plug-in wake-up and gun pull-out wake-up circuit structure, including a resistive signal detection feedback circuit 1, a gun plug-in wake-up circuit 2 and a gun pull-out wake-up circuit 3, and the gun plug-in wake-up circuit 2 and the gun pull-out wake-up circuit 3 are respectively connected to the resistive signal detection feedback circuit 1 in parallel; the resistive signal detection feedback circuit 1 includes a resistive wake-up source, a resistive source resistor R0, a bidirectional TVS tube TV1, a capacitor C4, two ground wires GND, a resistor R12, a capacitor C3 and a resistive wake-up source recovery port, wherein the bidirectional TVS tube TV1 is used to absorb surge voltage to prevent static electricity and overvoltage from damaging the circuit, the capacitor C4 is used to filter out high-frequency noise and stabilize the voltage, the resistor R12 and the resistive source resistor R0 together form a voltage divider to determine the voltage divider ratio, and the capacitor C3 is used to smooth the voltage signal , reduce noise and interference, the resistive wake-up source recovery port is used to feedback the detection signal, the resistor R12 is the current limiting resistor of the analog detection port of the single-chip microcomputer, and plays a role in protecting the single-chip microcomputer. The capacitor C3 is the filter capacitor of the analog detection port of the single-chip microcomputer and plays a role in improving the analog detection accuracy. The resistive wake-up source is connected in series with the resistor source resistor R0, the resistor R12 and the resistive wake-up source recovery port in sequence, and the other end of the resistor source resistor R0 is connected to the ground wire GND. An anti-static absorption surge protection circuit is set between the resistive wake-up source and the resistor R12 and between the resistor source resistor R0 and the ground wire GND. The anti-static absorption surge protection circuit includes a bidirectional TVS tube TV1 and a capacitor C4 connected in parallel. The capacitor C3 is topologically connected between the resistor R12 and the resistive wake-up source recovery port and connected to the ground wire GND.
[0022] Preferably, the gun plug wake-up circuit 2 includes two 5V power supplies U2, a P-type MOSFET switch element M1, a P-type MOSFET switch element M2, a resistor R1, a resistor R2, a resistor R3, a resistor R4, a resistor R5, a resistor R6, a resistor R7, a resistor R8, a resistor R9, a resistor R10, a resistor R11, a capacitor C1, a capacitor C2, a diode D1, a diode D2, an N-type MOSFET switch element Q1, three ground wires GND, a gun plug wake-up output port and a gun plug wake-up recovery port, wherein the 5V power supply U2 is used to provide a stable working voltage required by the circuit, the P-type MOSFET switch element M1 and the P-type MOSFET switch element M2 can both control the on-off of the current, the P-type MOSFET switch element M2 is used to detect the gun plug signal, the P-type MOSFET switch element M1 is used for the final wake-up output, the resistor R1 and the resistor R2, the resistor R3 and the resistor R5 all form a gate voltage divider, respectively controlling the opening of the P-type MOSFET switch element M1 and the P-type MOSFET switch element M2, and the N-type MOSFET switch element Q1 is used to realize the output of the gun plug wake-up signal;
[0023] The 5V power supply U2 is connected to the drain terminal of pin 2 of the P-type MOSFET switch element M2, and a resistor R3 is topologically connected between the 5V power supply U2 and the drain terminal of pin 2 of the P-type MOSFET switch element M2. The resistor R3 is connected in series with the resistor R5. Point A between the resistor R3 and the resistor R5 is topologically connected to the gate terminal of pin 1 of the P-type MOSFET switch element M2. Point B at the source terminal of pin 3 of the P-type MOSFET switch element M2 is connected in series with the resistor R6, the resistor R7, the resistor R8 and the ground wire GND in sequence, and both ends of the resistor R7 are connected in parallel with the capacitor C1. One end of the capacitor C1 intersects at point C between the resistor R7 and the resistor R8, and is topologically connected to the gate terminal of pin 1 of the N-type MOSFET switch element Q1 through point C. The drain terminal of pin 2 of the N-type MOSFET switch element Q1 is connected to the ground wire GND. ND is connected, the source terminal of pin 3 of the N-type MOSFET switching element Q1 is connected in series with the resistor R2, the resistor R1 and the 5V power supply U2 in sequence, and the 5V power supply U2 is connected to the drain terminal of pin 2 of the P-type MOSFET switching element M1, the gate terminal of pin 1 of the P-type MOSFET switching element M1 is topologically connected between the resistor R2 and the resistor R1, the source terminal of pin 3 of the P-type MOSFET switching element M1 is connected in series with the resistor R4, the diode D2, the resistor R9, the resistor R11 and the ground wire GND in sequence, the source terminal located between the resistor R4 and the diode D2 is topologically connected to the diode D1 and connected to the gun plug wake-up output port, the resistor R10 and the gun plug wake-up recovery port are topologically connected in series between the resistor R9 and the resistor R11, and the capacitor C2 is topologically connected between the resistor R10 and the gun plug wake-up recovery port and connected to the ground wire GND.
[0024] Preferably, the gun-drawing wake-up circuit 3 includes two 5V power supplies U2, a P-type MOSFET switch element M3, a P-type MOSFET switch element M4, a resistor R13, a resistor R14, a resistor R15, a resistor R16, a resistor R17, a resistor R18, a resistor R19, a resistor R20, a resistor R21, a capacitor C5, a capacitor C6, a diode D3, a diode D4, an N-type MOSFET switch element Q2, three ground wires GND, a gun-drawing wake-up output port and a gun-drawing wake-up recovery port, wherein the P-type MOSFET switch element M3 and the P-type MOSFET switch element M4 can both control the on-off of the current, the P-type MOSFET switch element M3 is used to detect the gun-drawing signal, the P-type MOSFET switch element M1 is used for the final wake-up output, the resistor R13 and the resistor R14, the resistor R16 and the resistor R18 all form a gate voltage divider, respectively controlling the opening of the P-type MOSFET switch element M3 and the P-type MOSFET switch element M4, and the N-type MOSFET switch element Q2 is used to realize the output of the gun-drawing wake-up signal;
[0025] The 5V power supply U2 is connected to the drain terminal of pin 2 of the P-type MOSFET switch element M4, the source terminal of pin 3 of the P-type MOSFET switch element M4 is connected in series with resistor R16, resistor R17, resistor R18 and ground wire GND in sequence, and both ends of the resistor R17 are connected in parallel with the capacitor C5, one end of the capacitor C5 intersects at point D between the resistor R17 and the resistor R18, and is topologically connected to the gate terminal of pin 1 of the N-type MOSFET switch element Q2 through point D, the drain terminal of pin 2 of the N-type MOSFET switch element Q2 is connected to the ground wire GND, and the source terminal of pin 3 of the N-type MOSFET switch element Q2 is connected in series with resistor R14, resistor R13 and the 5V power supply U2 in sequence. , and the 5V power supply U2 is connected to the drain terminal of pin No. 2 of the P-type MOSFET switching element M3, the gate terminal of pin No. 1 of the P-type MOSFET switching element M3 is topologically connected between the resistor R14 and the resistor R13, the source terminal of pin No. 3 of the P-type MOSFET switching element M3 is sequentially connected in series with the resistor R15, the diode D4, the resistor R19, the resistor R21 and the ground wire GND, the one located between the resistor R15 and the diode D4 is topologically connected to the diode D3 and connected to the gun-pulling wake-up output port, the one located between the resistor R19 and the resistor R21 is topologically connected in series with the resistor R20 and the gun-pulling wake-up recovery port, and the one located between the resistor R20 and the gun-pulling wake-up recovery port is topologically connected with the capacitor C6 and connected to the ground wire GND.
[0026] Preferably, one end of the capacitor C4 intersects the intersection between the resistive wake-up source and the resistor R12, topologically connected in series with one end of the resistor R5, and point B at the source end of pin 3 of the P-type MOSFET switch element M2 is topologically connected to the gate end of pin 1 of the P-type MOSFET switch element M4;
[0027] When the resistive wake-up source is in sleep leakage current, there are two states. One is that the 5V power supply U2 is not connected to the circuit. At this time, the circuit has no loop and no leakage current is generated. The other is that the 5V power supply U2 is connected to the circuit. The resistance source resistance R0 in the resistance signal detection feedback circuit 1 and the resistance R3 and resistance R5 in the gun plug wake-up circuit 2 form a loop, which generates leakage current. The current calculation formula in the loop is: In the formula, R3 indicates that the resistance of resistor R3 is 200KΩ, R5 indicates that the resistance of resistor R5 is 10KΩ, R0 indicates the resistance of the source resistor R0, 5V indicates the input voltage of the 5V power supply U2, and I0 indicates the leakage current. The magnitude of the leakage current depends on the resistance of the source resistor R0. When the resistance of the source resistor R0 is smaller, the leakage current is larger. When the source resistor R0 is 0Ω at the minimum, the maximum value of the leakage current I0 is 24uA. Most of the existing OEMs require 1mA for leakage current, so 24uA is far lower than the OEM's requirements. Among them, the calculation of the resistance of the source resistor R0 includes formula 1: Where U C3 It is represented by the voltage value across capacitor C3, and U C3 is directly collected by the single-chip microcomputer, and the formula 2 is derived from formula 1: The resistance value of the resistance source resistance R0 can be obtained by calculation according to formula 2.
[0028] Preferably, the N-type MOSFET switching element Q1 and the N-type MOSFET switching element Q2 are of the same model, both are 2N7002BK, and are used for high-frequency switching applications to ensure rapid response of gun insertion and withdrawal, and to ensure low losses during the switching process, thereby improving circuit efficiency; the P-type MOSFET switching element M1, the P-type MOSFET switching element M2, the P-type MOSFET switching element M3 and the P-type MOSFET switching element M4 are of the same model, all are BSS84LT1G, and are used for negative voltage control circuits, have low on-resistance, ensure minimal losses during the switching process, and ensure rapid response when detecting gun insertion and withdrawal signals; the model of the bidirectional TVS tube TV1 is PESD1LIN,115, and is used to protect sensitive electronic components from damage by electrostatic discharge, thereby ensuring the stability and reliability of the circuit; the diode D1, the diode D2, the diode D3 and the diode D4 are of the same model, all are BAS21HT1G, and the diode has a high reverse withstand voltage capability and is suitable for use in high voltage environments, ensuring that the circuit can be protected when reverse voltage occurs and has a low forward voltage drop in the on state, thereby reducing energy loss and improving circuit efficiency.
[0029] Preferably, the capacitance of capacitor C1 and capacitor C5 is equal, both are 1uF, and the withstand voltage is the same, both are 50V; the capacitance of capacitor C4 and capacitor C3 is equal, both are 10nF, and the withstand voltage is the same, both are 50V; the capacitors are used for filtering, noise reduction and voltage stabilization; the driving voltage turn-on threshold of the P-type MOSFET switch element M2 is Vgs=-0.9V.
[0030] Preferably, the resistance values of resistors R1, R2, R4, R5, R12, R13, R14 and R15 are equal, all of which are 10KΩ, with an accuracy of 1%; the resistance values of resistors R3, R7 and R17 are equal, all of which are 200KΩ, with an accuracy of 1%; the resistance values of resistors R6, R8, R16 and R18 are equal, all of which are 2KΩ, with an accuracy of 1%, wherein resistors R6, R7, R8, R10, R17, R19 and R20 are all used in a voltage divider protection circuit; resistors R9, R11, R19 and R21 are used in a current limiting protection circuit.
[0031] Working principle: First, when the external 5V power supply U2 is connected, the P-type MOSFET switch element M2 is turned on. When the P-type MOSFET switch element M2 is turned on, the potential at point B is approximately equal to 5V, and the driving voltage Vgs of the P-type MOSFET switch element M4 is approximately equal to 0V, and the P-type MOSFET switch element M4 will not be turned on; when the external 5V power supply U2 is disconnected, the P-type MOSFET switch element M2 is not turned on. When the P-type MOSFET switch element M2 is not turned on, the potential at point B is approximately equal to 0V, and the driving voltage Vgs of the P-type MOSFET switch element M4 is approximately equal to -5V, which will turn on the P-type MOSFET switch element M 4. Therefore, when the P-type MOSFET switch element M2 is turned on, due to the characteristics of capacitor C1 blocking direct current and alternating current and the voltage across the capacitor cannot suddenly change, the resistor R7 is equivalent to being short-circuited at this time, and the voltage drop across the resistor R8 is approximately equal to 2.5V. When the capacitor C1 is fully charged and stable, the resistor R7 participates in the voltage division, and the voltage drop across the resistor R8 is approximately equal to 0.05V. Then, because the driving voltage Vgs of the N-type MOSFET switch element Q1 is equal to the voltage value across the resistor R8, when the voltage drop across the resistor R8 is approximately equal to 2.5V, the N-type MOSFET switch element Q1 will be turned on. When the voltage across the resistor R8 is equal to 0.05V, the N-type MOSFET switch element Q1 will be turned on. When the voltage drop is approximately equal to 0.05V, the N-type MOSFET switch element Q1 cannot be turned on. Based on the characteristics that the N-type MOSFET switch element Q1 is only turned on for a moment and will be turned off immediately when the 5V power supply U2 is connected, when the N-type MOSFET switch element Q1 is turned on, the resistors R1 and R2 both participate in the voltage division, so that the voltage across the resistor R1 is approximately equal to 2.5V at this time. When the N-type MOSFET switch element Q1 is not turned on, the resistors R1 and R2 do not participate in the voltage division, so that the voltage across the resistor R1 is approximately equal to 0V at this time. When the driving voltage Vgs of the P-type MOSFET switch element M1 is equal to the voltage across the resistor R1, When the voltage across the resistor R1 is equal to 2.5V, the P-type MOSFET switch element M2 can be turned on. When the voltage across the resistor R1 is equal to 0V, the P-type MOSFET switch element M2 cannot be turned on. When the P-type MOSFET switch element M1 is turned on, the diode D1 outputs a wake-up source of approximately 4.3V to the plug-in wake-up output port. Since the N-type MOSFET switch element Q1 is only turned on for a moment when the resistive wake-up source is connected, the P-type MOSFET switch element M1 is also only turned on for a moment. Therefore, when the resistive wake-up source is connected, the diode D1 outputs a pulse wake-up source to the outside, and does not occupy the wake-up port after outputting a pulse;
[0032] Secondly, when the gun plug wake-up acquisition port is the analog quantity acquisition port of the single-chip microcomputer, when the P-type MOSFET switch element M1 is turned on, the diode D2 will output a voltage, which is the same voltage as the output of the diode D1. The voltage output by the diode D2 is divided by the resistors R9 and R11, and then filtered by the resistor R10 current limiting resistor and the capacitor C2 to the gun plug wake-up acquisition port. An AD value converted from an analog quantity to a digital quantity can be acquired as the wake-up source identification for identifying the gun plug wake-up action;
[0033] When the resistive wake-up sampling port is the analog quantity acquisition port of the single-chip microcomputer, the single-chip microcomputer can calculate the voltage UC3 across the capacitor C3, and when the external 5V power supply U2 is disconnected, the P-type MOSFET switch element M2 cannot be turned on. At this time, the potential at point B is 0V, so that the driving voltage Vgs of the P-type MOSFET switch element M4 is approximately equal to -5V, and the P-type MOSFET switch element M4 can be turned on. When the P-type MOSFET switch element M4 is turned on, due to the characteristics of the capacitor C5 blocking DC and passing AC and the voltage across the capacitor cannot change suddenly, the resistor R17 is equivalent to being short-circuited at this time. At this time, the voltage drop across the resistor R18 is approximately equal to 2.5V. When the capacitor C5 is fully charged, the resistor R17 participates in the voltage division effect, then At this time, the voltage drop across the resistor R18 is approximately equal to 0.05V; and because the driving voltage Vgs of the N-type MOSFET switch element Q2 is equal to the voltage across the resistor R18, when the voltage drop across the resistor R18 is approximately equal to 2.5V, the N-type MOSFET switch element Q2 can be turned on. When the voltage drop across the resistor R18 is approximately equal to 0.05V, the N-type MOSFET switch element Q2 cannot be turned on. Based on the characteristics that the N-type MOSFET switch element Q2 is only turned on for a moment and will be turned off immediately when the 5V power supply U2 is disconnected, when the N-type MOSFET switch element Q2 is turned on, the resistors R14 and R13 both participate in the voltage division effect, so that the voltage across the resistor R13 is approximately equal to 2.5V at this time. When the N-type MOSFET When the FET switch element Q2 is not turned on, the resistors R14 and R13 do not participate in the voltage division, and the voltage across the resistor R13 is approximately equal to 0V at this time; finally, because the driving voltage Vgs of the P-type MOSFET switch element M3 is equal to the voltage across the resistor R13, when the voltage across the resistor R13 is equal to 2.5V, the P-type MOSFET switch element M3 can be turned on. When the voltage across the resistor R13 is equal to 0V, the P-type MOSFET switch element M3 cannot be turned on. When the P-type MOSFET switch element M3 is turned on, the diode D3 outputs a wake-up source of approximately 4.3V to the gun-pulling wake-up output port. Since the N-type MOSFET switch element Q2 is only turned on for a moment when the resistive wake-up source is disconnected, the P-type MOSFET The FET switch element M3 is also only turned on for a moment. Therefore, when the resistive wake-up source is connected, the diode D3 outputs a pulse wake-up source to the outside. After outputting a pulse, it does not occupy the wake-up port. When the P-type MOSFET switch element M3 is turned on, the diode D4 will output a voltage. This voltage is the same voltage as the output of the diode D3. The voltage output by the diode D4 is divided by the resistor R19 and the resistor R21, and then filtered by the resistor R20 current limiting resistor and the capacitor C6 to the gun-drawing wake-up sampling port. An AD value converted from an analog quantity to a digital quantity can be sampled as the wake-up source identification for identifying the gun-drawing wake-up action. In summary, after calculation, it can be obtained that the effective resistance range of the resistance source is 0Ω-900KΩ, which makes the resistance detection range of the circuit very wide.
[0034] The above description is only a preferred embodiment of the utility model and is not intended to limit the utility model. Any modifications, equivalent substitutions, improvements, etc. made within the design concept of the utility model should be included in the protection scope of the utility model.
Claims
1. A resistor-type wake-up source gun plug-in wake-up and gun pull-out wake-up circuit, characterized in that: The invention comprises a resistance signal detection feedback circuit (1), a gun insertion wake-up circuit (2) and a gun removal wake-up circuit (3), wherein the gun insertion wake-up circuit (2) and the gun removal wake-up circuit (3) are respectively connected to the resistance signal detection feedback circuit (1) in parallel; the resistance signal detection feedback circuit (1) comprises a resistance wake-up source, a resistance source resistor R0, a bidirectional TVS tube TV1, a capacitor C4, two ground wires GND, a resistor R12, a capacitor C3 and a resistance wake-up source recovery port, and the resistance wake-up source is connected to the resistance source resistor R0, the capacitor C4 and the resistance wake-up source recovery port. The resistor R12 and the resistive wake-up source recovery port are connected in series in sequence, and the other end of the resistor source resistor R0 is connected to the ground wire GND. An anti-static absorption surge protection circuit is arranged between the resistive wake-up source and the resistor R12 and between the resistor source resistor R0 and the ground wire GND. The anti-static absorption surge protection circuit includes the bidirectional TVS tube TV1 and the capacitor C4 connected in parallel. The capacitor C3 is topologically connected between the resistor R12 and the resistive wake-up source recovery port and is connected to the ground wire GND.
2. The resistive wake-up source gun plug-in wake-up and gun pull-out wake-up circuit according to claim 1, characterized in that: The gun plug wake-up circuit (2) comprises two 5V power supplies U2, a P-type MOSFET switch element M1, a P-type MOSFET switch element M2, a resistor R1, a resistor R2, a resistor R3, a resistor R4, a resistor R5, a resistor R6, a resistor R7, a resistor R8, a resistor R9, a resistor R10, a resistor R11, a capacitor C1, a capacitor C2, a diode D1, a diode D2, an N-type MOSFET switch element Q1, three ground wires GND, a gun plug wake-up output port and a gun plug wake-up recovery port; The 5V power supply U2 is connected to the drain terminal of pin No. 2 of the P-type MOSFET switch element M2, and a resistor R3 is topologically connected between the 5V power supply U2 and the drain terminal of pin No. 2 of the P-type MOSFET switch element M2. The resistor R3 is connected in series with the resistor R5. Point A between the resistor R3 and the resistor R5 is topologically connected to the gate terminal of pin No. 1 of the P-type MOSFET switch element M2. Point B at the source terminal of pin No. 3 of the P-type MOSFET switch element M2 is connected in series with the resistor R6, the resistor R7, the resistor R8 and the ground wire GND in sequence, and both ends of the resistor R7 are connected in parallel with the capacitor C1. One end of the capacitor C1 intersects at point C between the resistor R7 and the resistor R8, and is topologically connected to the gate terminal of pin No. 1 of the N-type MOSFET switch element Q1 through point C. The drain terminal of pin No. 2 of the N-type MOSFET switch element Q1 is connected to the ground wire GND. , the source terminal of pin No. 3 of the N-type MOSFET switch element Q1 is connected in series with the resistor R2, the resistor R1 and the 5V power supply U2 in sequence, and the 5V power supply U2 is connected to the drain terminal of pin No. 2 of the P-type MOSFET switch element M1, the gate terminal of pin No. 1 of the P-type MOSFET switch element M1 is topologically connected between the resistor R2 and the resistor R1, the source terminal of pin No. 3 of the P-type MOSFET switch element M1 is connected in series with the resistor R4, the diode D2, the resistor R9, the resistor R11 and the ground wire GND in sequence, the source terminal located between the resistor R4 and the diode D2 is topologically connected to the diode D1 and connected to the gun plug wake-up output port, the resistor R10 and the gun plug wake-up recovery port are topologically connected in series between the resistor R9 and the resistor R11, and the capacitor C2 is topologically connected between the resistor R10 and the gun plug wake-up recovery port and connected to the ground wire GND.
3. The resistive wake-up source gun plug-in wake-up and gun pull-out wake-up circuit according to claim 2, characterized in that: The gun-pulling awakening circuit (3) comprises two 5V power supplies U2, a P-type MOSFET switch element M3, a P-type MOSFET switch element M4, a resistor R13, a resistor R14, a resistor R15, a resistor R16, a resistor R17, a resistor R18, a resistor R19, a resistor R20, a resistor R21, a capacitor C5, a capacitor C6, a diode D3, a diode D4, an N-type MOSFET switch element Q2, three ground wires GND, a gun-pulling awakening output port and a gun-pulling awakening recovery port; The 5V power supply U2 is connected to the drain terminal of pin No. 2 of the P-type MOSFET switch element M4, the source terminal of pin No. 3 of the P-type MOSFET switch element M4 is connected in series with the resistor R16, the resistor R17, the resistor R18 and the ground wire GND in sequence, and both ends of the resistor R17 are connected in parallel with the capacitor C5, one end of the capacitor C5 intersects at point D between the resistor R17 and the resistor R18, and is topologically connected to the gate terminal of pin No. 1 of the N-type MOSFET switch element Q2 through the point D, the drain terminal of pin No. 2 of the N-type MOSFET switch element Q2 is connected to the ground wire GND, the source terminal of pin No. 3 of the N-type MOSFET switch element Q2 is connected in series with the resistor R14, the resistor R13 and the 5V power supply U2 in sequence, and The 5V power supply U2 is connected to the drain terminal of pin No. 2 of the P-type MOSFET switch element M3, the gate terminal of pin No. 1 of the P-type MOSFET switch element M3 is topologically connected between the resistor R14 and the resistor R13, the source terminal of pin No. 3 of the P-type MOSFET switch element M3 is sequentially connected in series with the resistor R15, the diode D4, the resistor R19, the resistor R21 and the ground wire GND, the one located between the resistor R15 and the diode D4 is topologically connected to the diode D3 and connected to the gun-pulling wake-up output port, the one located between the resistor R19 and the resistor R21 is topologically connected in series with the resistor R20 and the gun-pulling wake-up recovery port, and the one located between the resistor R20 and the gun-pulling wake-up recovery port is topologically connected to the capacitor C6 and connected to the ground wire GND.
4. The resistive wake-up source gun plug-in wake-up and gun pull-out wake-up circuit according to claim 3, characterized in that: One end of the capacitor C4 intersects the intersection between the resistive wake-up source and the resistor R12, and is topologically connected in series with one end of the resistor R5. Point B at the source end of pin 3 of the P-type MOSFET switch element M2 is topologically connected to the gate end of pin 1 of the P-type MOSFET switch element M4. When the resistive wake-up source is in a dormant state, there are two states: one is that the 5V power supply U2 is not connected to the circuit, and the circuit has no loop and no leakage current is generated; the other is that the 5V power supply U2 is connected to the circuit, and the resistance source resistance R0 in the resistance signal detection feedback circuit (1) and the resistance R3 and resistance R5 in the gun plug wake-up circuit (2) form a loop, generating leakage current, and the current calculation formula in the loop is: In the formula, R3 represents the resistance of the resistor R3 is 200KΩ, R5 represents the resistance of the resistor R5 is 10KΩ, R0 represents the resistance of the resistor source resistor R0, 5V represents the input voltage of the 5V power supply U2, I0 represents the leakage current, wherein the resistance calculation of the resistor source resistor R0 includes formula 1: Where U C3 It is represented by the voltage value across capacitor C3, and U C3 is directly collected by the single-chip microcomputer, and the formula 2 is derived from formula 1: The resistance value of the resistance source resistance R0 can be obtained by calculation according to formula 2.
5. The resistive wake-up source gun plug-in wake-up and gun pull-out wake-up circuit according to claim 4, characterized in that: The N-type MOSFET switch element Q1 and the N-type MOSFET switch element Q2 are of the same model, both are 2N7002B; the P-type MOSFET switch element M1, the P-type MOSFET switch element M2, the P-type MOSFET switch element M3 and the P-type MOSFET switch element M4 are of the same model, all are BSS84LT1G; the bidirectional TVS tube TV1 is of PESD1LIN,115; the diode D1, the diode D2, the diode D3 and the diode D4 are of the same model, all are BAS21HT1G.
6. The resistive wake-up source gun plug-in wake-up and gun pull-out wake-up circuit according to claim 4, characterized in that: The capacitance of the capacitor C1 and the capacitor C5 are equal, both are 1uF, and the withstand voltage is the same, both are 50V; the capacitance of the capacitor C4 and the capacitor C3 are equal, both are 10nF, and the withstand voltage is the same, both are 50V; the driving voltage turn-on threshold of the P-type MOSFET switch element M2 is Vgs=-0.9V.
7. The resistive wake-up source gun plug-in wake-up and gun pull-out wake-up circuit according to claim 4, characterized in that: The resistance values of the resistors R1, R2, R4, R5, R12, R13, R14 and R15 are equal, all of which are 10KΩ, with an accuracy of 1%; the resistance values of the resistors R3, R7 and R17 are equal, all of which are 200KΩ, with an accuracy of 1%; the resistance values of the resistors R6, R8, R16 and R18 are equal, all of which are 2KΩ, with an accuracy of 1%.