Voltage type wake-up source gun insertion wake-up and gun pulling wake-up circuit
By designing the voltage-type wake-up source gun-pull-up and gun-pull-up wake-up circuit, the topological structure of signal detection feedback, gun-pull-up and gun-pull-up wake-up circuits is optimized, and the leakage current, wake-up state occupation and lack of gun-pull-up wake-up function of the existing voltage-type wake-up source detection circuits is solved, and efficient wake-up function and system response capabilities are achieved.
Patent Information
- Application Number
- CN202421749246.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-23
- Publication Date
- 2025-06-10
- Estimated Expiration
- 2034-07-23
AI Technical Summary
The existing voltage wake-up source detection circuit has problems such as waste of leakage current, energy waste caused by wake-up state occupation, complex design and lack of gun pull-up function, and lack of compatibility of multiple voltage wake-up sources.
A voltage-type wake-up source gun-pull wake-up circuit is designed. Through the optimized topology of signal detection feedback circuit, gun-pull wake-up circuit and gun-pull wake-up circuit, it realizes gun-pull wake-up and recognition, reduces leakage current, improves system response speed, and has anti-surge and anti-short circuit protection functions.
The gun plug/draw gun wake-up function of the voltage wake-up source detection circuit is realized, reducing leakage current, reducing static power consumption, improving system response speed, enhancing automated control and response capabilities, and protecting circuit components from damage.
Smart Images

Figure CN222966740U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the technical field of the plug - in gun wake - up circuit of new energy vehicles, and particularly relates to a plug - in gun wake - up and unplug - gun wake - up circuit with a voltage - type wake - up source. Background Technique
[0002] With the rapid development of new energy vehicles, the charging technology of electric vehicles has also been continuously improved. Among them, the voltage - type wake - up source detection circuit plays an important role in the charging system of electric vehicles, and is used to monitor and control the charging process.
[0003] At present, many existing voltage - type wake - up source detection circuits still generate a large leakage current in the non - working state, which will lead to waste of electric energy, shorten the service life of the electric vehicle battery, and reduce the energy efficiency of the whole vehicle. Although some voltage - type wake - up source detection circuits have the wake - up function, after the charging gun is inserted, the wake - up port will be occupied for a long time, resulting in the vehicle remaining in the wake - up state all the time when the vehicle is fully charged and the charging gun is not unplugged, unable to enter the sleep mode, thus causing energy waste and may also affect the overall performance and life of the vehicle. Some detection circuits have low accuracy during voltage sampling, unable to accurately reflect the actual situation, which will affect the judgment and control of the wake - up source, resulting in unstable and unreliable charging process. Moreover, the existing voltage - type wake - up source detection circuits are complex in design, including a large number of redundant components and complex connection methods, which not only increase the manufacturing cost and maintenance difficulty, but also may reduce the reliability of the system.
[0004] In addition, in the existing technology of the voltage - type wake - up source detection circuit for new energy vehicles, some voltage - type wake - up source detection circuits do not have the unplug - gun wake - up function and cannot automatically wake up the system when the charging gun is unplugged, which will limit the flexibility and intelligent level of the system. The existing detection circuits often can only detect a single type of voltage wake - up source, lacking compatibility with multiple voltage wake - up sources, which will limit the application range and adaptability of the electric vehicle charging system. And some voltage - type wake - up source detection circuits cannot identify different wake - up source types, resulting in the system being insensitive or incorrect in the face of different situations, thus greatly reducing the intelligent level and user experience of the system. Content of the Utility Model
[0005] The purpose of the utility model is to provide a plug - in gun wake - up and unplug - gun wake - up circuit with a voltage - type wake - up source to solve the technical problems mentioned in the above background technique.
[0006] To achieve the above object, the utility model discloses a voltage - type wake - up source plug - in gun wake - up and unplug - gun wake - up circuit, which includes a voltage - type wake - up source, a voltage - type wake - up source sampling port, a plug - in gun wake - up output port, a plug - in gun wake - up sampling port, an unplug - gun wake - up output port and an unplug - gun wake - up sampling port. A signal detection feedback circuit is formed between the voltage - type wake - up source and the voltage - type wake - up source sampling port. A plug - in gun wake - up circuit is formed between the plug - in gun wake - up output port and the plug - in gun wake - up sampling port. An unplug - gun wake - up circuit is formed between the unplug - gun wake - up output port and the unplug - gun wake - up sampling port;
[0007] In the signal detection feedback circuit, the voltage - type wake - up source is sequentially connected in series with resistor R4, resistor R5, resistor R6 and the gate terminal of the 1 - pin of N - type MOSFET switch element Q1. Two circuits are topologically connected in sequence between resistor R4 and resistor R5, including a filtering and protection circuit and a voltage signal detection circuit. The filtering and protection circuit is formed by connecting capacitor C3 in parallel with bidirectional TVS tube TV1 and then connecting to vehicle body ground wire KL31. One end of capacitor C3 and the bidirectional TVS tube TV1 intersects between resistor R4 and resistor R5, and the other end of capacitor C3 and the bidirectional TVS tube TV1 are both connected to the vehicle body wiring KL31. Among them, the filtering and protection circuit plays the role of anti - static and absorbing surges;
[0008] The voltage signal detection circuit is formed by connecting resistor R8 in series with resistor R13 and then connecting to ground wire GND. A test node TP2 is set between resistor R8 and resistor R13. One end of test node TP2 is connected in series with resistor R10 and the voltage - type wake - up source sampling port. A test node TP1 is set between resistor R10 and the voltage - type wake - up source sampling port. A capacitor C4 is topologically connected between resistor R10 and the voltage - type wake - up source sampling port and at a position different from test node TP1, and the other end of capacitor C4 is connected to the ground wire GND connected by resistor R13.
[0009] Optionally, in the gun insertion wake-up circuit, a capacitor C1 is connected in parallel with the resistor R6, and one end of the capacitor C1 is connected between the resistor R5 and the resistor R6. The other end of the capacitor C1 is connected between the resistor R6 and the gate terminal of the 1st pin of the N-type MOSFET switch element Q1 to form point B. The topology of point B is connected in series with a resistor R7, and the other end of the resistor R7 is connected to the source terminal of the 2nd pin of the N-type MOSFET switch element Q1. The source terminal of the 2nd pin of the N-type MOSFET switch element Q1 is connected to the ground wire GND. The drain terminal of the 3rd pin of the N-type MOSFET switch element Q1 is sequentially connected in series with a resistor R2 and a resistor R1. The other end of the resistor R1 is connected to a 5V power supply U2. The gate terminal of the 1st pin of a P-type MOSFET switch element M1 is connected between the resistor R2 and the resistor R1. The source terminal of the 2nd pin of the P-type MOSFET switch element M1 is connected to the 5V power supply U2. The drain terminal of the 3rd pin of the P-type MOSFET switch element M1 is sequentially connected in series with a resistor R3, a diode D2, a resistor R9, a resistor R12, and the ground wire GND. A diode D1 and a gun insertion wake-up output port are connected between the resistor R3 and the diode D2. A resistor R11 and a gun insertion wake-up feedback port are connected between the resistor R9 and the resistor R12. A capacitor C2 is connected between the resistor R11 and the gun insertion wake-up feedback port and is connected to the ground wire GND.
[0010] Optionally, in the gun-drawing wake-up circuit, a point A is set between the resistor R4 and the resistor R5, and is topologically connected to the gate terminal of the 1st pin of the P-type MOSFET switch element M3 through the point A. The source terminal of the 2nd pin of the P-type MOSFET switch element M3 is connected to the 5V power supply U2. The drain terminal of the 3rd pin of the P-type MOSFET switch element M3 is sequentially connected in series with the resistor R17, the resistor R18 and the gate terminal of the 1st pin of the N-type MOSFET switch element Q2. A capacitor C5 is connected in parallel to the resistor R18. A resistor R19 is topologically connected between the resistor R18 and the gate terminal of the 1st pin of the N-type MOSFET switch element Q2. The other end of the resistor R19 is connected to the source terminal of the 2nd pin of the N-type MOSFET switch element Q2, and the source terminal of the 2nd pin of the N-type MOSFET switch element Q2 is connected to the ground wire GND. The drain terminal of the 3rd pin of the N-type MOSFET switch element Q2 is sequentially connected in series with the resistor R15 and the resistor R14. The other end of the resistor R14 is connected to the 5V power supply U2. It is topologically connected to the gate terminal of the 1st pin of the P-type MOSFET switch element M2 between the resistor R15 and the resistor R14. The source terminal of the 2nd pin of the P-type MOSFET switch element M2 is connected to the 5V power supply U2. The drain terminal of the 3rd pin of the P-type MOSFET switch element M2 is connected in series with the resistor R16, the diode D4, the resistor R20, the resistor R22 and the ground wire GND. A diode D3 and a gun-drawing wake-up output port are topologically connected between the resistor R16 and the diode D4. A resistor R21 and a gun-drawing wake-up feedback port are topologically connected between the resistor R20 and the resistor R22. A capacitor C6 is topologically connected between the resistor R21 and the gun-drawing wake-up feedback port and is connected to the ground wire GND.
[0011] Optionally, when the voltage wake-up source is in the sleep leakage current state, it includes two states. One is that the 5V power supply U2 is not connected to the circuit, then there is no loop in the circuit at this time and no leakage current is generated. The other is that the 5V power supply U2 is connected to the circuit, then the detection feedback circuit and the gun-drawing wake-up circuit where the voltage wake-up source, the voltage wake-up source feedback port, the gun-insertion wake-up output port and the gun-insertion wake-up feedback port are located form a loop and generate leakage current. Based on the power supply voltage range of the passenger car being 9V - 16V, calculated according to the highest voltage of 16V, taking it as the voltage of the voltage wake-up source, that is, the voltage value of the voltage wake-up source voltage is 16V. At this time, the calculated maximum leakage current is approximately equal to 196uA. Currently, most vehicle manufacturers' requirements for leakage current are 1000uA, so 196uA is far lower than the requirements of vehicle manufacturers. Among them, when the voltage wake-up source feedback port is the single-chip microcomputer analog acquisition port, the calculation of the feedback voltage of the voltage wake-up source feedback port includes Formula 1 as In the formula, U C4The voltage value across capacitor C4, which is represented as being directly readable by a known microcontroller, is U A Represented as the voltage value at point A with respect to ground, then conversion formula two In the signal detection feedback circuit and the gun insertion wake-up circuit, formula three can be obtained through resistor voltage division calculation. In the formula, / / represents the parallel symbol. Based on formula two and formula three, perform the cancellation conversion of U A to directly obtain formula four Then the calculated voltage value of the voltage-type wake-up source voltage is obtained.
[0012] Optionally, the N-type MOSFET switch element Q1 and the N-type MOSFET switch element Q2 have the same model, both are 2N7002BK, which are switch elements for controlling current; the P-type MOSFET switch elements M1, M2, and M3 have the same model, all are BSS84LT1G, which are switch elements for controlling voltage signals; the bidirectional TVS tube TV1 has the model PESD1LIN,115, which is used to protect the circuit from voltage spikes or transient voltages; the diode D1, D2, D3, and D4 have the same model, all are BAS21HT1G, which are used for current rectification and protecting the circuit. The vehicle body ground KL31 serves as the negative electrode of the battery in the vehicle charging and discharging system, the ground wire GND serves as the reference point with zero potential in the circuit, the 5V power supply U2 is used to provide a stable 5V voltage, and the test nodes TP1 and TP2 are used to test the voltage signals in the circuit.
[0013] Optionally, the resistance values of the resistors R1, R2, R3, R4, R13, R14, R15, and R16 are equal, all are 10KΩ resistors with an accuracy of 1%, which are used for voltage division and current limiting; the resistance values of the resistors R5, R7, R17, and R19 are equal, all are 2KΩ resistors with an accuracy of 1%, which are used for voltage division; the resistance values of the resistors R6 and R18 are equal, all are 200KΩ resistors with an accuracy of 1%, which are used for voltage division, the resistance value of the resistor R8 is 100KΩ resistor with an accuracy of 1%, which is used for voltage division, and the resistance value of the resistor R10 is 1KΩ resistor with an accuracy of 1%, which is used for current limiting.
[0014] Optionally, the capacitance values of the capacitors C3 and C4 are equal, both being 10 nF, and their withstand voltages are the same, both being 50 V. The capacitance values of the capacitors C1 and C5 are equal, both being 1 μF, and their withstand voltages are the same, both being 50 V. The drive voltage turn-on threshold of the N-type MOSFET switch element Q1 is Vgs = 1.6 V. The drive voltages of the P-type MOSFET switch element M1 and the P-type MOSFET switch element M3 are equal, and their turn-on thresholds are both Vgs = -0.9 V.
[0015] Compared with the prior art, the present utility model has the following advantages:
[0016] In the plugging-in gun wake-up and unplugging gun wake-up circuit of the voltage-type wake-up source, by setting the optimized circuit topologies of the signal detection feedback circuit, the plugging-in gun wake-up circuit, and the unplugging gun wake-up circuit, the plugging-in gun / unplugging gun wake-up and recognition of the voltage-type wake-up source detection circuit are realized. The wake-up function does not occupy the function of the wake-up port. Through the actions of plugging in the gun and unplugging the gun, the system is automatically woken up, reducing manual operations. Moreover, the actions of plugging in the gun and unplugging the gun are quickly detected by the voltage change, improving the response speed of the system, achieving the effect of reducing the leakage current of the voltage-type wake-up source detection circuit to reduce the static power consumption of the voltage detection circuit, with the functions of surge protection and short-circuit protection, protecting the circuit components from high-voltage impact damage while protecting the safe and stable operation of the circuit, as well as the calculation of the resistance source resistance value and the accurate recognition of plugging in the gun and unplugging the gun, further enhancing the automatic control and response capabilities of the system. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 It is a schematic diagram of the plugging-in gun wake-up and unplugging gun wake-up circuit of the voltage-type wake-up source of the present utility model.
[0018] The reference numerals are: 1, voltage-type wake-up source; 2, voltage-type wake-up source sampling port; 3, plugging-in gun wake-up output port; 4, plugging-in gun wake-up sampling port; 5, unplugging gun wake-up output port; 6, unplugging gun wake-up sampling port. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0019] The technical solution of the present utility model will be elaborated in detail through specific embodiments below.
[0020] Referring to Figure 1 As shown, the present utility model discloses a plugging-in gun wake-up and unplugging gun wake-up circuit structure of a voltage-type wake-up source, including a voltage-type wake-up source 1, a voltage-type wake-up source sampling port 2, a plugging-in gun wake-up output port 3, a plugging-in gun wake-up sampling port 4, an unplugging gun wake-up output port 5, and an unplugging gun wake-up sampling port 6. A signal detection feedback circuit is formed between the voltage-type wake-up source 1 and the voltage-type wake-up source sampling port 2. A plugging-in gun wake-up circuit is formed between the plugging-in gun wake-up output port 3 and the plugging-in gun wake-up sampling port 4. An unplugging gun wake-up circuit is formed between the unplugging gun wake-up output port 5 and the unplugging gun wake-up sampling port 6;
[0021] In the signal detection feedback circuit, the voltage wake-up source 1 is successively connected in series to the gate terminal of the 1st pin of the resistor R4, resistor R5, resistor R6, and N-type MOSFET switch element Q1. Two circuits are topologically connected in sequence between the resistor R4 and resistor R5, including a filtering and protection circuit and a voltage signal detection circuit. The filtering and protection circuit is formed by connecting the capacitor C3 in parallel with the bidirectional TVS tube TV1 and then connecting to the vehicle body ground wire KL31. One end of both the capacitor C3 and the bidirectional TVS tube TV1 intersects between the resistor R4 and resistor R5, and the other end of both the capacitor C3 and the bidirectional TVS tube TV1 is connected to the vehicle body wiring KL31. Among them, the filtering and protection circuit plays the role of anti-static and surge absorption, protecting the subsequent circuit;
[0022] The voltage signal detection circuit is formed by connecting the resistor R8 in series with the resistor R13 and then connecting to the ground wire GND. A test node TP2 is set between the resistor R8 and resistor R13. One end of the test node TP2 is connected in series with the resistor R10 and the voltage wake-up source sampling port 2. A test node TP1 is set between the resistor R10 and the voltage wake-up source sampling port 2. A capacitor C4 is topologically connected between the resistor R10 and the voltage wake-up source sampling port 2 and at a position different from the test node TP1, and the other end of the capacitor C4 is connected to the ground wire GND to which the resistor R13 is connected.
[0023] Preferably, in the plug-in gun wake-up circuit, a capacitor C1 is connected in parallel with the resistor R6. One end of the capacitor C1 intersects between the resistor R5 and resistor R6, and the other end of the capacitor C1 intersects between the resistor R6 and the gate terminal of the 1st pin of the N-type MOSFET switch element Q1 to form point B. Point B is topologically connected in series with the resistor R7, and the other end of the resistor R7 is connected to the source terminal of the 2nd pin of the N-type MOSFET switch element Q1. The source terminal of the 2nd pin of the N-type MOSFET switch element Q1 is connected to the ground wire GND. The drain terminal of the 3rd pin of the N-type MOSFET switch element Q1 is successively connected in series with the resistor R2 and resistor R1. The other end of the resistor R1 is connected to the 5V power supply U2. The gate terminal of the 1st pin of the P-type MOSFET switch element M1 is topologically connected between the resistor R2 and resistor R1. The source terminal of the 2nd pin of the P-type MOSFET switch element M1 is connected to the 5V power supply U2. The drain terminal of the 3rd pin of the P-type MOSFET switch element M1 is successively connected in series with the resistor R3, diode D2, resistor R9, resistor R12, and the ground wire GND. The diode D1 and the plug-in gun wake-up output port 3 are topologically connected between the resistor R3 and diode D2. The resistor R11 and the plug-in gun wake-up sampling port 4 are topologically connected between the resistor R9 and resistor R12. A capacitor C2 is topologically connected between the resistor R11 and the plug-in gun wake-up sampling port 4 and connected to the ground wire GND.
[0024] Preferably, in the gun-drawing wake-up circuit, a point A is set between resistor R4 and resistor R5, and is topologically connected to the gate terminal of the 1st pin of P-type MOSFET switch element M3 through point A. The source terminal of the 2nd pin of P-type MOSFET switch element M3 is connected to 5V power supply U2. The drain terminal of the 3rd pin of P-type MOSFET switch element M3 is sequentially connected in series with resistor R17, resistor R18 and the gate terminal of the 1st pin of N-type MOSFET switch element Q2. A capacitor C5 is connected in parallel to resistor R18. A resistor R19 is topologically connected between resistor R18 and the gate terminal of the 1st pin of N-type MOSFET switch element Q2. The other end of resistor R19 is connected to the source terminal of the 2nd pin of N-type MOSFET switch element Q2, and the source terminal of the 2nd pin of N-type MOSFET switch element Q2 is connected to ground wire GND. The drain terminal of the 3rd pin of N-type MOSFET switch element Q2 is sequentially connected in series with resistor R15 and resistor R14. The other end of resistor R14 is connected to 5V power supply U2. It is topologically connected to the gate terminal of the 1st pin of P-type MOSFET switch element M2 between resistor R15 and resistor R14. The source terminal of the 2nd pin of P-type MOSFET switch element M2 is connected to 5V power supply U2. The drain terminal of the 3rd pin of P-type MOSFET switch element M2 is connected in series with resistor R16, diode D4, resistor R20, resistor R22 and ground wire GND. A diode D3 and a gun-drawing wake-up output port 5 are topologically connected between resistor R16 and diode D4. A resistor R21 and a gun-drawing wake-up feedback port 6 are topologically connected between resistor R20 and resistor R22. A capacitor C6 is topologically connected between resistor R21 and gun-drawing wake-up feedback port 6 and is connected to ground wire GND.
[0025] Preferably, when the voltage wake-up source 1 is in the state of leakage current during dormancy, it includes two states. One is that the 5V power supply U2 is not connected to the circuit, then there is no loop in the circuit at this time and no leakage current is generated. The other is that the 5V power supply U2 is connected to the circuit, then the detection feedback circuit where the voltage wake-up source 1, the voltage wake-up source feedback port 2, the plug-in gun wake-up output port 3 and the plug-in gun wake-up feedback port 4 are located and the plug-in gun wake-up circuit form a loop and generate leakage current. Based on the power supply voltage range of passenger cars being 9V - 16V, calculated according to the highest voltage of 16V, as the voltage of the voltage wake-up source, that is, the voltage value of the voltage wake-up source voltage is 16V. At this time, the calculated maximum leakage current is approximately equal to 196uA. Currently, most vehicle manufacturers' requirements for leakage current are 1000uA, so 196uA is far lower than the requirements of vehicle manufacturers. Among them, when the voltage wake-up source feedback port 2 is the single-chip microcomputer analog quantity acquisition port, the acquisition voltage calculation of the voltage wake-up source feedback port 2 includes formula one as In the formula, U C4 represents the voltage value of both ends of capacitor C4 directly read by the known single-chip microcomputer, U ADenoted as the voltage value of point A with respect to ground, then conversion formula two In the signal detection feedback circuit and the gun insertion wake-up circuit, formula three can be obtained through resistor voltage division calculation, In the formula, / / represents the parallel symbol. According to formula two and formula three, perform the cancellation conversion of U A to directly obtain formula four Then the calculated voltage value of the voltage-type wake-up source voltage is obtained.
[0026] Preferably, the N-type MOSFET switch element Q1 and the N-type MOSFET switch element Q2 have the same model, both are 2N7002BK, which are switch elements for controlling current and are used to control the state detection of gun insertion and gun removal; the P-type MOSFET switch elements M1, M2, and M3 have the same model, all are BSS84LT1G, which are switch elements for controlling voltage signals; the bidirectional TVS tube TV1 has the model PESD1LIN,115 and is used to protect the circuit from voltage spikes or transient voltages; the diodes D1, D2, D3, and D4 have the same model, all are BAS21HT1G, which are used for current rectification and circuit protection. The vehicle body ground KL31 serves as the negative electrode of the battery in the vehicle charging and discharging system, the ground wire GND serves as the reference point with zero potential in the circuit, the 5V power supply U2 is used to provide a stable 5V voltage, and the test nodes TP1 and TP2 are used to test the voltage signals in the circuit.
[0027] Preferably, the resistance values of the resistors R1, R2, R3, R4, R13, R14, R15, and R16 are equal, all are 10KΩ resistors with an accuracy of 1%, and are used for voltage division and current limiting; the resistance values of the resistors R5, R7, R17, and R19 are equal, all are 2KΩ resistors with an accuracy of 1%, and are used for voltage division; the resistance values of the resistors R6 and R18 are equal, all are 200KΩ resistors with an accuracy of 1%, and are used for voltage division. The resistance value of the resistor R8 is 100KΩ resistor with an accuracy of 1%, and is used for voltage division. The resistance value of the resistor R10 is 1KΩ resistor with an accuracy of 1%, and is used for current limiting.
[0028] Preferably, the capacitance values of the capacitors C3 and C4 are equal, both are 10nF, and the withstand voltages are the same, both are 50V. The capacitance values of the capacitors C1 and C5 are equal, both are 1uF, and the withstand voltages are the same, both are 50V; the drive voltage turn-on threshold of the N-type MOSFET switch element Q1 is Vgs = 1.6V, and the drive voltages of the P-type MOSFET switch elements M1 and M3 are equal, and the turn-on thresholds are both Vgs = -0.9V.
[0029] Working principle: First, it is determined that the voltage wake-up source 1 is the voltage to be detected. When the charging gun is plugged into the vehicle, the voltage wake-up source 1 inputs a high level, so the potential at point A is in the high-level state. When the charging gun is unplugged, the potential at point A is in the low-level state. Then, due to the fact that the potential at point A becomes high at the moment of plugging in the gun, according to the principle characteristics of capacitor C1 that can block direct current but allow alternating current to pass through and the voltage across both ends cannot change instantaneously, resistor R6 is equivalent to being short-circuited at this time. Then the voltage drop across resistor R7 will increase. When the capacitor C1 is fully charged in the steady state, resistor R6 participates in voltage division, and then the voltage drop across resistor R7 will decrease. Since the driving voltage Vgs of the N-type MOSFET switching element Q1 is equal to the voltage across resistor R7, when the voltage drop across resistor R7 is higher than 1.6V, the N-type MOSFET switching element Q1 can be turned on. And when the voltage wake-up source inputs a high level during gun plugging, the potential at point A becomes high, causing the N-type MOSFET switching element Q1 to be turned on only for an instant and then immediately turn off. When the voltage drop across resistor R7 is lower than 1.6V, the N-type MOSFET switching element Q1 cannot be turned on. When the N-type MOSFET switching element Q1 is turned on, both resistor R1 and resistor R2 participate in voltage division, and at this time the voltage across resistor R1 is approximately equal to 2.5V. When the N-type MOSFET switching element Q1 is not turned on, both resistor R1 and resistor R2 participate in voltage division, and at this time the voltage across resistor R1 is approximately equal to 0V;
[0030] Because the driving voltage Vgs of the P-type MOSFET switching element M1 is equal to the voltage across resistor R1, when the voltage across resistor R1 is equal to 2.5V, the P-type MOSFET switching element M1 can be turned on. When the voltage across resistor R1 is equal to 0V, the P-type MOSFET switching element M1 cannot be turned on. When the P-type MOSFET switching element M1 is turned on, the diode D1 outputs a wake-up source approximately equal to 4.3V to the gun plugging wake-up output port 3. When the voltage wake-up source 1 is connected, the N-type MOSFET switching element Q1 is only turned on for an instant, causing the P-type MOSFET switching element M1 to also be turned on only for an instant. Therefore, when the voltage wake-up source 1 is connected, the diode D1 outputs a pulsed wake-up source externally, and does not occupy the wake-up port after outputting a pulse;
[0031] When the gun insertion wake-up return port 4 is the microcontroller analog acquisition port, when the P-type MOSFET switch element M1 is turned on, the diode D2 will output a voltage, and this voltage is the same as the voltage output by the diode D1. The voltage output by the diode D2 is divided by the resistors R9 and R12, and then limited by the resistor R11 and filtered by the capacitor C2 before reaching the gun insertion wake-up return port 4, where an AD value converted from analog to digital can be collected as the wake-up source identification for identifying the gun insertion wake-up action. When the voltage at point A is greater than 4.1V (high level), the P-type MOSFET switch element M3 is in the non-conducting state. When the voltage at point A is less than 4.1V (low level), the P-type MOSFET switch element M3 can be turned on. When the P-type MOSFET switch element M3 is turned on instantaneously, due to the characteristics of the capacitor C5 blocking DC and passing AC and the voltage across the capacitor not changing suddenly, the resistor R17 is equivalent to being short-circuited at this time, and the voltage drop across the resistor R19 is approximately equal to 2.5V. When the capacitor C5 is fully charged, the resistor R18 participates in voltage division, making the voltage drop across the resistor R19 approximately equal to 0.05V. When the voltage drop across the resistor R19 is approximately equal to 2.5V, the N-type MOSFET switch element Q2 can be turned on, and when the voltage drop across the resistor R19 is approximately equal to 0.05V, the N-type MOSFET switch element Q2 cannot be turned on; when point A is at a low potential, that is, in the gun removal state, the N-type MOSFET switch element Q2 is only turned on for an instant and will immediately turn off. When the N-type MOSFET switch element Q2 is turned on, both the resistors R14 and R15 participate in voltage division, making the voltage across the resistor R14 approximately equal to 2.5V. When the N-type MOSFET switch element Q2 is not turned on, the resistors R14 and R15 do not participate in voltage division, and at this time the voltage across the resistor R14 is approximately equal to 0V;
[0032] Because the drive voltage Vgs of the P-type MOSFET switch element M2 is equal to the voltage across the resistor R14, when the voltage across the resistor R14 is equal to 2.5V, the P-type MOSFET switch element M2 can be turned on, and when the voltage across the resistor R14 is equal to 0V, the P-type MOSFET switch element M2 cannot be turned on. When the P-type MOSFET switch element M2 is turned on, the diode D3 outputs a wake-up source approximately equal to 4.3V to the gun removal wake-up output port 5. Since the N-type MOSFET switch element Q2 is only turned on for an instant when the voltage-disconnect wake-up source 1 is disconnected, the P-type MOSFET switch element M2 is also only turned on for an instant. Therefore, when the voltage-connected wake-up source 1 is connected, the diode D3 outputs a pulsed wake-up source externally, and after outputting a pulse, it does not occupy the wake-up port;
[0033] When the draw gun wake-up return port 6 is the single-chip microcomputer analog acquisition port, when the P-type MOSFET switch element M2 is turned on, the diode D4 will output a voltage, and this voltage is the same as the voltage output by the diode D3. After the voltage output by the diode D4 is divided by the resistors R20 and R22, then limited by the resistor R21 and filtered by the capacitor C6, an AD value converted from analog to digital can be collected at the draw gun wake-up return port 6, which is used as the wake-up source identification for identifying the draw gun wake-up action.
[0034] In summary, the low effective range of the voltage-type wake-up source 1 is 0V - 4.6V, and the high effective range is 4.6V - 28V.
[0035] The above is only the preferred embodiment of the present invention and is not used to limit the invention. Any modifications, equivalent replacements, improvements, etc. made within the design concept of the present invention shall be included within the protection scope of the present invention.
Claims
1. A voltage-type wake-up source gun plug wake-up and gun pull wake-up circuit, characterized in that: The device comprises a voltage-type wake-up source (1), a voltage-type wake-up source recovery port (2), a gun-insertion wake-up output port (3), a gun-insertion wake-up recovery port (4), a gun-pulling wake-up output port (5) and a gun-pulling wake-up recovery port (6); a signal detection feedback circuit is formed between the voltage-type wake-up source (1) and the voltage-type wake-up source recovery port (2); a gun-insertion wake-up circuit is formed between the gun-insertion wake-up output port (3) and the gun-insertion wake-up recovery port (4); and a gun-pulling wake-up circuit is formed between the gun-pulling wake-up output port (5) and the gun-pulling wake-up recovery port (6); In the signal detection feedback circuit, the voltage-type wake-up source (1) is connected in series with a resistor R4, a resistor R5, a resistor R6 and a gate end of pin 1 of an N-type MOSFET switch element Q1, and two circuits are topologically connected in series between the resistor R4 and the resistor R5, including a filter protection circuit and a voltage signal detection circuit. The filter protection circuit is connected in parallel with a capacitor C3 and then connected to a vehicle body grounding wire KL31, and one end of the capacitor C3 and the bidirectional TVS tube TV1 are both connected between the resistor R4 and the resistor R5, and the other ends of the capacitor C3 and the bidirectional TVS tube TV1 are both connected to the vehicle body grounding wire KL31; The voltage signal detection circuit is composed of a resistor R8 connected in series with a resistor R13 and then connected to a ground line GND, a test node TP2 is set between the resistor R8 and the resistor R13, and one end of the test node TP2 is connected in series with a resistor R10 and the voltage-type wake-up source recovery port (2), a test node TP1 is set between the resistor R10 and the voltage-type wake-up source recovery port (2), a capacitor C4 is topologically connected between the resistor R10 and the voltage-type wake-up source recovery port (2) and at a position different from the test node TP1, and the other end of the capacitor C4 is connected to the ground line GND connected to the resistor R13.
2. The voltage-type wake-up source gun plug-in wake-up and gun pull-out wake-up circuit according to claim 1, characterized in that: In the gun plug wake-up circuit, the resistor R6 is connected in parallel with the capacitor C1, and one end of the capacitor C1 intersects between the resistor R5 and the resistor R6, and the other end of the capacitor C1 intersects between the resistor R6 and the gate end of pin 1 of the N-type MOSFET switch element Q1 to form point B, and the point B is topologically connected in series with a resistor R7, and the other end of the resistor R7 is connected to the source end of pin 2 of the N-type MOSFET switch element Q1, and the source end of pin 2 of the N-type MOSFET switch element Q1 is connected to the ground wire GND, and the drain end of pin 3 of the N-type MOSFET switch element Q1 is connected in series with resistor R2 and resistor R1 in sequence, and the other end of the resistor R1 is connected to a 5V power supply U2, located at the gate end of the N-type MOSFET switch element Q1. A gate terminal of pin No. 1 of a P-type MOSFET switch element M1 is topologically connected between the resistor R2 and the resistor R1, a source terminal of pin No. 2 of the P-type MOSFET switch element M1 is connected to the 5V power supply U2, and a drain terminal of pin No. 3 of the P-type MOSFET switch element M1 is sequentially connected in series with a resistor R3, a diode D2, a resistor R9, a resistor R12 and a ground line GND, a diode D1 and a gun plug wake-up output port (3) are topologically connected between the resistor R3 and the diode D2, a resistor R11 and a gun plug wake-up recovery port (4) are topologically connected between the resistor R9 and the resistor R12, and a capacitor C2 is topologically connected between the resistor R11 and the gun plug wake-up recovery port (4) and is connected to the ground line GND.
3. The voltage-type wake-up source gun plug-in wake-up and gun pull-out wake-up circuit according to claim 2, characterized in that: In the gun-pulling wake-up circuit, point A is set between the resistor R4 and the resistor R5, and point A is topologically connected to the gate end of pin No. 1 of the P-type MOSFET switch element M3, and the source end of pin No. 2 of the P-type MOSFET switch element M3 is connected to the 5V power supply U2. The drain end of pin No. 3 of the P-type MOSFET switch element M3 is connected in series with resistor R17, resistor R18 and the gate end of pin No. 1 of the N-type MOSFET switch element Q2 in sequence, and the capacitor C5 is connected in parallel to the resistor R18, and a resistor R19 is topologically connected between the resistor R18 and the gate end of pin No. 1 of the N-type MOSFET switch element Q2, and the other end of the resistor R19 is connected to the source end of pin No. 2 of the N-type MOSFET switch element Q2, and the source end of pin No. 2 of the N-type MOSFET switch element Q2 is connected to the ground wire GND, and the drain end of pin No. 3 ... drain end of pin No. 3 of the N-type MOSFET switch element Q2 in series. The drain end of the pin No. 1 is connected in series with a resistor R15 and a resistor R14 in sequence, the other end of the resistor R14 is connected to a 5V power supply U2, and the gate end of the pin No. 1 of the P-type MOSFET switch element M2 is topologically connected between the resistor R15 and the resistor R14. The source end of the pin No. 2 of the P-type MOSFET switch element M2 is connected to the 5V power supply U2, and the drain end of the pin No. 3 of the P-type MOSFET switch element M2 is connected in series with a resistor R16, a diode D4, a resistor R20, a resistor R22 and a ground wire GND, and the diode D3 is topologically connected to the gun-pulling wake-up output port (5) between the resistor R16 and the diode D4, and the resistor R21 is topologically connected to the gun-pulling wake-up recovery port (6) between the resistor R20 and the resistor R22, and the capacitor C6 is topologically connected between the resistor R21 and the gun-pulling wake-up recovery port (6) and connected to the ground wire GND.
4. The voltage-type wake-up source gun plug-in wake-up and gun pull-out wake-up circuit according to claim 3, characterized in that: When the voltage-type wake-up source (1) leaks current when in sleep mode, there are two states: one is that the 5V power supply U2 is not connected to the circuit, then 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 detection feedback circuit where the voltage-type wake-up source (1), the voltage-type wake-up source recovery port (2), the gun plug wake-up output port (3) and the gun plug wake-up recovery port (4) are located and the gun plug wake-up circuit forms a loop and generates leakage current, wherein, when the voltage-type wake-up source recovery port (2) is a single-chip microcomputer analog quantity acquisition port, the recovery voltage calculation of the voltage-type wake-up source recovery port (2) includes formula 1: Where U C4 It is represented by the voltage value across the capacitor C4 directly read by the known microcontroller, U A Expressed as the voltage value from point A to ground, the conversion formula is Formula 3 can be obtained by resistor voltage division calculation in the signal detection feedback circuit and the gun plug wake-up circuit: In the formula, / / represents the parallel symbol. According to Formula 2 and Formula 3, U A By reducing the conversion, we can directly obtain formula 4 The calculated voltage value of the voltage-type wake-up source voltage is obtained.
5. The voltage-type wake-up source gun plug-in wake-up and gun pull-out wake-up circuit according to claim 3, 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 2N7002BK; the P-type MOSFET switch element M1, the P-type MOSFET switch element M2 and the P-type MOSFET switch element M3 are of the same model, both 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 voltage-type wake-up source gun plug-in wake-up and gun pull-out wake-up circuit according to claim 3, characterized in that: The resistance values of the resistors R1, R2, R3, R4, R13, R14, R15 and R16 are equal, all of which are 10KΩ resistors with an accuracy of 1%; the resistance values of the resistors R5, R7, R17 and R19 are equal, all of which are 2KΩ resistors with an accuracy of 1%; the resistance values of the resistors R6 and R18 are equal, all of which are 200KΩ resistors with an accuracy of 1%, the resistance value of the resistor R8 is 100KΩ resistor with an accuracy of 1%, and the resistance value of the resistor R10 is 1KΩ resistor with an accuracy of 1%.
7. The voltage-type wake-up source gun plug-in wake-up and gun pull-out wake-up circuit according to claim 3, characterized in that: The capacitance of the capacitor C3 and the capacitor C4 are equal, both are 10nF, and the withstand voltage is the same, both are 50V. 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 driving voltage turn-on threshold of the N-type MOSFET switch element Q1 is Vgs=1.6V, and the driving voltages of the P-type MOSFET switch element M1 and the P-type MOSFET switch element M3 are equal, and the turn-on thresholds are both Vgs=-0.9V.