VBUS current detection protection circuit
By designing the VBUS current detection protection circuit, the problem of lack of current protection during motherboard detection in the existing technology is solved, and the rapid cut-off in the case of overcurrent and safe power supply after troubleshooting is achieved, which improves the safety of the test process and stability reduce maintenance costs.
Patent Information
- Application Number
- CN202411547619.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-01
- Publication Date
- 2024-11-29
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing motherboard functional testing equipment lacks an effective current protection mechanism during the detection process, which causes the motherboard to be tested to be easily impacted by large currents in short circuit or abnormal situations, which increases the risk of damage, and may be powered up repeatedly after the fault, which increases the Repair and testing costs.
A VBUS current detection protection circuit is designed, including circuit switching module, current acquisition module, voltage follow module, hysteresis comparison module, status latch module and switch control module, which can quickly cut off the power output when VBUS is overcurrent and lock it The storage and reset mechanism ensures safe power supply recovery after troubleshooting.
Effectively prevent overcurrent damage of the motherboard under test, improves the safety and stability of the test process, reduces maintenance costs, and reduces the risk of equipment damage.
Smart Images

Figure CN119050944A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of circuit design, and in particular to a VBUS current detection protection circuit. Background Art
[0002] In the development and testing process of consumer electronic products, the functional test equipment of the motherboard plays a vital role. Especially when performing VBUS (Voltage Bus) current detection, if the motherboard to be tested has a short circuit fault, VBUS may generate an abnormally large current, causing damage to the motherboard. This will not only cause economic losses, but may also delay the product development progress and affect the market competitiveness of the product.
[0003] However, existing motherboard function test equipment usually lacks an effective current protection mechanism during the testing process, and is unable to cut off the power supply in time when the motherboard under test is short-circuited or in other abnormal situations, causing the motherboard under test to be extremely susceptible to large current shocks during the test process, thus facing a greater risk of damage. In addition, existing test equipment usually automatically resets and attempts to re-power after a fault or abnormality occurs, causing the motherboard under test to be repeatedly powered on without completely troubleshooting the fault, further exacerbating damage to the motherboard and increasing repair and testing costs.
[0004] Therefore, there is an urgent need in the art for a VBUS current detection protection circuit that can quickly cut off power when the VBUS current exceeds a threshold range, thereby preventing the motherboard under test from being damaged due to overcurrent and effectively ensuring the safety of the motherboard under test. Summary of the invention
[0005] The purpose of the present invention is to provide a VBUS current detection protection circuit, which can cut off the power supply in time when the VBUS is overcurrent, prevent the device under test from being damaged due to overcurrent, and ensure power supply is restored after the fault is eliminated through a latching and resetting mechanism, thereby improving the safety of the system.
[0006] To achieve the above object, the present invention discloses the following technical solution: The present invention provides a VBUS current detection protection circuit, comprising: A circuit switch module is connected to the charger of VBUS, and is used to control the power output of the charger, and cut off the power supply of the charger to VBUS when an overcurrent occurs in VBUS, so as to perform overcurrent protection; A current acquisition module is connected to the circuit switch module and VBUS respectively, and is used to acquire the current signal in VBUS in real time, generate a voltage signal corresponding to the current signal, and transmit the voltage signal to the voltage follower module; A voltage following module, connected to the current acquisition module, for isolating and following the input voltage signal, and transmitting the followed voltage signal to the hysteresis comparison module; A hysteresis comparison module, connected to the voltage following module, for comparing the followed voltage signal with a set threshold voltage, generating a current detection signal, and transmitting the current detection signal to the state latch module; A state latch module, connected to the hysteresis comparison module, for generating a latch signal according to the current detection signal and transmitting it to the switch control module, and when an overcurrent is detected in VBUS, keeping the latch signal unchanged until the latch is released after receiving a reset signal; The switch control module is connected to the state latch module and the circuit switch module respectively, and is used to control the on and off of the circuit switch module according to the latch signal to control the power output of the charger.
[0007] In the above-mentioned VBUS current detection protection circuit, when an overcurrent occurs in VBUS, the current acquisition module acquires the current signal in VBUS and generates a voltage signal to be transmitted to the voltage following module; the voltage following module isolates and follows the voltage signal input thereto, and transmits the followed voltage signal to the hysteresis comparison module; the hysteresis comparison module compares the followed voltage signal with a set threshold voltage, and when the set threshold voltage is exceeded, generates an overcurrent detection signal to be transmitted to the state latch module; the state latch module generates a latch signal according to the overcurrent detection signal and transmits it to the switch control module, and keeps the latch signal unchanged until the latch is released after receiving a reset signal; the switch control module controls the circuit switch module to be disconnected according to the latch signal input thereto, so as to cut off the power supply of the charger to VBUS.
[0008] Optionally, in the above-mentioned VBUS current detection protection circuit, the circuit switch module includes a solid-state relay U1, a second resistor R2, a third resistor R3 and a light-emitting diode LED1; The first power supply voltage is connected to the first input terminal of the solid-state relay U1 through the third resistor R3, and the first power supply voltage is also connected to the second input terminal of the solid-state relay U1 through the second resistor R2 and the light-emitting diode LED1 in sequence; the first output terminal of the solid-state relay U1 is connected to the current acquisition module, and the second output terminal of the solid-state relay U1 is connected to the charger; When the circuit works normally, the solid-state relay U1 is closed, and the charger provides power output to VBUS; when an overcurrent occurs in VBUS, the solid-state relay U1 is disconnected, cutting off the power output of the charger.
[0009] Optionally, in the above-mentioned VBUS current detection protection circuit, the current acquisition module includes a sampling resistor R1, a current sensing amplifier U2, a second capacitor C2, a fourth resistor R4, a fifth resistor R5, a third capacitor C3 and a clamping diode D1; The sampling resistor R1 adopts a four-wire connection method, wherein the current input end thereof is connected to the second output end of the solid-state relay U1, the current output end is connected to VBUS, and the voltage measurement positive end and the voltage measurement negative end are respectively connected to the positive input end and the negative input end of the current sensing amplifier U2; the power supply end of the current sensing amplifier U2 is connected to the first power supply voltage, and the power supply end of the current sensing amplifier U2 is also grounded through the second capacitor C2; the output end of the current sensing amplifier U2 is grounded through the fourth resistor R4, and the output end of the current sensing amplifier U2 is also connected to the voltage follower module through the fifth resistor R5; the clamping diode D1 is a dual Schottky diode, a first end of which is connected to one end of the third capacitor C3 and grounded, a second end is connected to the second power supply voltage, and a third end is connected to the other end of the third capacitor C3 and connected to the voltage follower module; When VBUS overcurrent occurs, the current in the sampling resistor R1 increases, the voltage across the sampling resistor R1 increases, and the current sensing amplifier U2 amplifies the voltage across the sampling resistor R1 to generate a corresponding voltage signal to be transmitted to the voltage follower module.
[0010] Preferably, the voltage amplification factor of the current acquisition module is G=R4 / 1K, where R4 is the resistance value of the fourth resistor.
[0011] Optionally, in the above-mentioned VBUS current detection protection circuit, the voltage follower module includes an operational amplifier U6 and a fifth capacitor C5; The positive input terminal of the operational amplifier U6 is connected to the third terminal of the clamping diode D1; the power supply terminal of the operational amplifier U6 is connected to the second power supply voltage, and the power supply terminal of the operational amplifier U6 is also grounded through the fifth capacitor C5; the negative input terminal of the operational amplifier U6 is connected to its output terminal and connected to the hysteresis comparison module to isolate the input voltage signal and follow the output to the hysteresis comparison module.
[0012] Optionally, in the above-mentioned VBUS current detection protection circuit, the hysteresis comparison module includes a hysteresis comparator U5, a sixth resistor R6, a seventh resistor R7, an eighth resistor R8, a ninth resistor R9 and a tenth resistor R10; The positive input terminal of the hysteresis comparator U5 is connected to the output terminal of the operational amplifier U6 through the sixth resistor R6, and the positive input terminal thereof is also connected to the output terminal thereof through the seventh resistor R7; the negative input terminal of the hysteresis comparator U5 is connected to the second power supply voltage through the eighth resistor R8, and the negative input terminal thereof is also connected to the ground terminal thereof through the ninth resistor R9; the power supply terminal of the hysteresis comparator U5 is connected to the second power supply voltage, and the tenth resistor is also connected between the power supply terminal and the output terminal thereof; The hysteresis comparator U5 compares the voltage signal inputted thereto with a set threshold voltage, and when the input voltage exceeds the threshold voltage, generates a high-level overcurrent detection signal which is transmitted to the state latch module.
[0013] Preferably, the threshold voltage includes a high threshold voltage VH and a low threshold voltage VL, wherein: VH = VTH / (R7 / (R6 + R7)); VL=VTH / ((R7+R10) / (R6+R7+R10))+3.3×(R6 / (R6+R7+R10)); In the formula, VTH=3.3×(R9 / (R8+R9)), R6, R7, R8, R9 and R10 are the resistance values of the sixth resistor, the seventh resistor, the eighth resistor, the ninth resistor and the tenth resistor respectively.
[0014] Optionally, in the above-mentioned VBUS current detection protection circuit, the state latch module includes an RS latch U4 and an eleventh resistor R11; The set end of the RS latch U4 is connected to the output end of the hysteresis comparator U5 through the eleventh resistor R11; the reset end of the RS latch U4 is connected to the host computer end to receive a reset signal; the power supply end of the RS latch U4 is connected to the first power supply voltage; the output end of the RS latch U4 is connected to the switch control module; The RS latch U4 generates a corresponding latch signal according to the current detection signal or overcurrent detection signal input thereto and transmits it to the switch control module. When an overcurrent occurs on VBUS, the RS latch U4 generates a high-level latch signal according to the high-level overcurrent detection signal and keeps the high-level latch signal unchanged until the latch is released after receiving the reset signal from the host computer.
[0015] Optionally, in the above-mentioned VBUS current detection protection circuit, the switch control module includes an analog switch chip U3, a first capacitor C1 and a fourth capacitor C4; The enable terminal of the analog switch chip U3 is connected to the output terminal of the RS latch U4; the power terminal of the analog switch chip U3 is connected to the first power supply voltage, and its power terminal is also grounded through the fourth capacitor C4; the first input terminal of the analog switch chip U3 is connected to the first power supply voltage, and its first input terminal is also grounded through the first capacitor C1; the second input terminal of the analog switch chip U3 is grounded; the output terminal of the analog switch chip U3 is connected to the second input terminal of the solid-state relay U1; The analog switch chip U3 controls the on and off of the solid-state relay U1 according to the latch signal of its enable terminal to control the power output of the charger, and when the latch signal is at a high level, the solid-state relay U1 is disconnected, cutting off the power supply of the charger to VBUS.
[0016] The effects provided in the content of the invention are only the effects of the embodiments, not all the effects of the invention. One of the above technical solutions has the following advantages or beneficial effects: The present application provides a VBUS current detection protection circuit, including a circuit switch module, a current acquisition module, a voltage follower module, a hysteresis comparison module, a state latch module and a switch control module. The circuit switch module is connected to the charger of VBUS to control the power output of the charger; the current acquisition module collects the current signal in VBUS in real time, generates a voltage signal corresponding to the current signal and transmits it to the voltage follower module; the voltage follower module isolates and follows the input voltage signal and transmits the followed voltage signal to the hysteresis comparison module; the hysteresis comparison module compares the followed voltage signal with the set threshold voltage, generates a current detection signal and transmits it to the state latch module; the state latch module generates a latch signal according to the current detection signal and transmits it to the switch control module, and keeps the latch signal unchanged when VBUS is overcurrent until the latch is released after receiving the reset signal; the switch control module controls the conduction and disconnection of the circuit switch module according to the latch signal to control the power output of the charger. This circuit can quickly cut off the power supply when VBUS overcurrent occurs, protecting the circuit and the device under test from large current shocks. At the same time, the latching and reset mechanisms prevent the power supply from being automatically restored before the fault is eliminated, effectively reducing the risk of equipment damage, improving the stability and controllability of the overall test process, and reducing maintenance costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0018] Figure 1 A schematic diagram of the structure of a VBUS current detection protection circuit according to an embodiment of the present application; Figure 2 A schematic diagram of a VBUS current detection protection circuit according to an embodiment of the present application; Reference numerals: 110 - circuit switch module, 120 - current acquisition module, 130 - switch control module, 140 - state latch module, 150 - hysteresis comparison module, 160 - voltage follower module. DETAILED DESCRIPTION
[0019] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.
[0020] It should be noted that references to "one embodiment", "embodiment", "example embodiment", etc. in this specification refer to the embodiment being described which may include specific features, structures or characteristics, but not every embodiment must include these specific features, structures or characteristics. In addition, such expressions do not refer to the same embodiment. Furthermore, when describing specific features, structures or characteristics in conjunction with an embodiment, whether or not there is an explicit description, it is indicated that incorporating such features, structures or characteristics into other embodiments is within the knowledge of those skilled in the art.
[0021] As described in the background technology, during the detection process, when the mainboard to be tested has a short circuit or other abnormal conditions, the existing mainboard function test equipment is usually unable to cut off the power supply in a timely and accurate manner, causing the mainboard to be tested to be susceptible to large current shocks, thereby causing damage to the mainboard to be tested. In addition, after a fault occurs, the existing test equipment usually automatically resets and re-supplies power, further increasing the risk of damage to the mainboard to be tested. To solve this problem, an embodiment of the present application provides a VBUS current detection protection circuit that can cut off the power supply in time when the VBUS is over-current, prevent the mainboard to be tested from being damaged due to over-current, and ensure safe restoration of power supply after troubleshooting through a latching and resetting mechanism.
[0022] refer to Figure 1 , Figure 1A schematic diagram of the structure of a VBUS current detection protection circuit according to an embodiment of the present application is shown. The circuit includes a circuit switch module 110, a current acquisition module 120, a switch control module 130, a state latch module 140, a hysteresis comparison module 150 and a voltage follower module 160. Among them, the circuit switch module 110 is connected to the charger of VBUS to control the power output of the charger. When the circuit is working normally, the circuit switch module 110 is in a conducting state, allowing the charger to provide power to VBUS; when VBUS has an overcurrent, the circuit switch module 110 is disconnected, and the charger quickly cuts off the power supply to VBUS to achieve overcurrent protection of VBUS. The current acquisition module 120 is respectively connected to the circuit switch module 110 and VBUS, and is used to collect the current signal in VBUS in real time, generate a voltage signal corresponding to the collected current signal, and transmit the voltage signal to the voltage follower module 160. The voltage follower module 160 is connected to the current acquisition module 120, and is used to isolate and follow the input voltage signal, and transmit the followed voltage signal to the hysteresis comparison module 150. The hysteresis comparison module 150 is connected to the voltage following module 160, and is used to compare the voltage signal after following with the set threshold voltage, generate a current detection signal according to the comparison result, and transmit the current detection signal to the state latch module 140. The state latch module 140 is connected to the hysteresis comparison module, and is used to generate a latch signal according to the input current detection signal and transmit it to the switch control module, and when it is detected that VBUS has an overcurrent, the latch signal remains unchanged until the reset signal is received to release the latch and restore the normal working state. The switch control module 130 is respectively connected to the state latch module 140 and the circuit switch module 110, and is used to control the conduction and disconnection of the circuit switch module 110 according to the input latch signal to control the power output of the charger.
[0023] Under normal working conditions, the circuit switch module 110 is in the on state, allowing the charger to provide power to VBUS. At this time, the charger normally supplies power to VBUS and the device under test. The current acquisition module 120 acquires the current signal in VBUS in real time, and converts the acquired current signal into a corresponding voltage signal, which is transmitted to the voltage following module 160. The voltage following module 160 isolates and follows the voltage signal input to it by the current acquisition module 120 to ensure the stability of the signal, and transmits the followed voltage signal to the hysteresis comparison module 150. The hysteresis comparison module 150 compares the input voltage signal with the set threshold voltage. Under normal working conditions, the acquisition current is lower than the threshold current, and the hysteresis comparison module does not generate an overcurrent detection signal. At this time, since there is no overcurrent, the state latch module 140 remains in an unlatched state, the switch control module 130 controls the circuit switch module 110 to be in the on state, and the charger continues to supply power to VBUS normally.
[0024] When an overcurrent occurs in VBUS, the current acquisition module 120 acquires the overcurrent signal in VBUS and generates a corresponding voltage signal to transmit to the voltage following module 160. The voltage following module 160 follows and isolates the voltage signal to ensure that the signal is stably transmitted to the hysteresis comparison module 150. The hysteresis comparison module 150 compares the voltage signal input by the voltage following module with the set threshold voltage, and when it is found that the voltage signal exceeds the set threshold voltage, it generates an overcurrent detection signal to transmit to the state latch module 140. The state latch module 140 generates a latch signal according to the overcurrent detection signal and transmits the latch signal to the switch control module 130. At the same time, the state latch module 140 continues to maintain the latch state until a reset signal is received. At this time, due to the overcurrent, the switch control module 130 controls the circuit switch module 110 to disconnect according to the latch signal, thereby cutting off the power supply of the charger to VBUS to prevent damage to the circuit and the device under test due to overcurrent. After the circuit switch module 110 is disconnected, the latch signal is maintained until the problem is eliminated and a reset signal is received, the state latch module 140 is unlocked, and the switch control module 130 controls the circuit switch module 110 to turn on again, restoring the normal power supply state.
[0025] Therefore, the circuit of this embodiment can quickly cut off the power supply when VBUS overcurrent occurs, protecting the circuit and the device under test from large current shocks. In addition, the circuit also prevents the automatic restoration of power supply before the fault is eliminated through the latching and reset mechanism, further increasing the safety and reliability of the system. This design effectively reduces the risk of equipment damage, reduces maintenance costs, and improves the stability and controllability of the overall test process.
[0026] Specific reference Figure 2 , Figure 2 This is a schematic diagram of a VBUS current detection protection circuit of an embodiment of the present application. In this embodiment, the circuit switch module 110 includes a solid-state relay U1, a second resistor R2, a third resistor R3 and a light-emitting diode LED1. Among them, the first power supply voltage is connected to the first input terminal of the solid-state relay U1 through the third resistor R3, and the first power supply voltage is also connected to the second input terminal of the solid-state relay U1 through the second resistor R2 and the light-emitting diode LED1 in sequence; the first output terminal of the solid-state relay U1 is connected to the current acquisition module, and the second output terminal of the solid-state relay U1 is connected to the charger (USB-C Charger). When the circuit is working normally, the solid-state relay U1 is in a closed state, allowing the charger to provide power output to VBUS; and when VBUS has an overcurrent, the solid-state relay U1 will quickly disconnect and cut off the power output of the charger to prevent overcurrent from damaging the circuit and load equipment.
[0027] In some embodiments, the current acquisition module 120 includes a sampling resistor R1, a current sensing amplifier U2, a second capacitor C2, a fourth resistor R4, a fifth resistor R5, a third capacitor C3 and a clamping diode D1. Among them, the sampling resistor R1 preferably adopts a four-wire connection method, wherein the current input end thereof is connected to the second output end of the solid-state relay U1, the current output end is connected to VBUS, and the voltage measurement positive end and the voltage measurement negative end are respectively connected to the positive input end and the negative input end of the current sensing amplifier U2. The power supply end of the current sensing amplifier U2 is connected to the first power supply voltage (5V voltage), and the first power supply voltage is also grounded through the second capacitor C2. The output end of the current sensing amplifier U2 is grounded through the fourth resistor R4, and the output end thereof is also connected to the voltage follower module 160 through the fifth resistor R5. The clamping diode D1 is preferably a dual Schottky diode, wherein the first end thereof is connected to one end of the third capacitor C3 and is grounded, the second end thereof is connected to the second power supply voltage (3.3V voltage), and the third end thereof is connected to the other end of the third capacitor C3 and is connected to the voltage follower module 160. The clamping diode D1 can be used to limit the voltage range in the input voltage follower module 160 to protect the subsequent circuit from high voltage damage. When VBUS overcurrent occurs, the current in the sampling resistor R1 increases, causing the voltage across it to increase. The current sensing amplifier U2 amplifies the voltage across the sampling resistor R1, converts it into an amplified voltage signal corresponding to the current change, and transmits the voltage signal to the voltage follower module 160 for subsequent processing and detection.
[0028] Specifically, the voltage amplification factor of the current acquisition module 120 is G=R4 / 1K, where R4 is the resistance of the fourth resistor. The voltage amplification factor G determines the amplification ratio of the current sensing amplifier U2 to the voltage across the sampling resistor R1, and affects the voltage signal amplitude ultimately transmitted to the voltage follower module 160.
[0029] In some embodiments, the voltage follower module 160 includes an operational amplifier U6 and a fifth capacitor C5. The positive input terminal of the operational amplifier U6 is connected to the third terminal of the clamping diode D1 to receive the clamped voltage signal; the power supply terminal of the operational amplifier U6 is connected to the second power supply voltage, and the second power supply voltage is also grounded through the fifth capacitor C5 to provide a stable power supply; the negative input terminal of the operational amplifier U6 is connected to its output terminal and connected to the hysteresis comparison module 150 to form a voltage follower configuration. In this way, the operational amplifier U6 can effectively isolate the voltage signal of its input and transmit the followed voltage signal to the hysteresis comparison module 150 to ensure the stability and reliability of the signal.
[0030] In some embodiments, the hysteresis comparison module 150 includes a hysteresis comparator U5, a sixth resistor R6, a seventh resistor R7, an eighth resistor R8, a ninth resistor R9 and a tenth resistor R10. Among them, the positive input terminal of the hysteresis comparator U5 is connected to the output terminal of the operational amplifier U6 through the sixth resistor R6, and its positive input terminal is also connected to its own output terminal through the seventh resistor R7 to achieve a hysteresis effect. The negative input terminal of the hysteresis comparator U5 is connected to the second power supply voltage through the eighth resistor R8, and its negative input terminal is also connected to its ground terminal through the ninth resistor R9. The power supply terminal of the hysteresis comparator U5 is connected to the second power supply voltage, and the tenth resistor is also connected between its power supply terminal and its output terminal. The hysteresis comparator U5 compares the voltage signal input to its positive input terminal with the set threshold voltage, and when the voltage input exceeds the threshold voltage, it generates a high-level overcurrent detection signal and transmits it to the state latch module 140 to trigger subsequent protection actions.
[0031] Specifically, the threshold voltage includes a high threshold voltage VH and a low threshold voltage VL, which are calculated as follows: VH = VTH / (R7 / (R6 + R7)); VL=VTH / ((R7+R10) / (R6+R7+R10))+3.3×(R6 / (R6+R7+R10)); Wherein, VTH=3.3×(R9 / (R8+R9)), R6, R7, R8, R9 and R10 are the resistance values of the sixth resistor, the seventh resistor, the eighth resistor, the ninth resistor and the tenth resistor respectively.
[0032] In some embodiments, the state latch module 140 includes an RS latch U4 and an eleventh resistor R11. Among them, the set end of the RS latch U4 is connected to the output end of the hysteresis comparator U5 through the eleventh resistor R11, its reset end is connected to the host computer (PC) end to receive a reset signal, its power supply end is connected to the first power supply voltage, and its output end is connected to the switch control module. The RS latch U4 generates a corresponding latch signal according to the current detection signal or overcurrent detection signal input to the switch control module. When VBUS has an overcurrent, the RS latch U4 generates a high-level latch signal according to the high-level overcurrent detection signal and keeps the high-level latch signal unchanged until the reset signal from the host computer end is received and the latch is released to restore the normal operation of the circuit.
[0033] In some embodiments, the switch control module 130 includes an analog switch chip U3, a first capacitor C1 and a fourth capacitor C4. Among them, the enable end of the analog switch chip U3 is connected to the output end of the RS latch U4; the power supply end of the analog switch chip U3 is connected to the first power supply voltage, and its power supply end is also grounded through the fourth capacitor C4; the first input end of the analog switch chip U3 is connected to the first power supply voltage, and its first input end is also grounded through the first capacitor C1; the second input end of the analog switch chip U3 is grounded; the output end of the analog switch chip U3 is connected to the second input end of the solid-state relay U1. The analog switch chip U3 controls the conduction and disconnection of the solid-state relay U1 through its internal single-pole double-throw switch according to the latch signal of its enable end EN, thereby controlling the power output of the charger. When the latch signal is at a high level, such as Figure 2 As shown, the output terminal (B terminal) and the first input terminal (A1 terminal) of the analog switch chip U3 are turned on, the analog switch chip U3 outputs a 5V voltage, the first input terminal and the second input terminal of the solid-state relay U1 are at the same level and are both 5V, so the solid-state relay U1 is disconnected, cutting off the charger's power supply to VBUS, thereby achieving overcurrent protection. When the RS latch U4 receives the reset signal from the host computer, it releases the latch and outputs a low-level latch signal, the output terminal (B terminal) and the second input terminal (A2 terminal) of the analog switch chip U3 are turned on, and the analog switch chip U3 outputs a 0V voltage, so the solid-state relay U1 is turned on, and the charger continues to supply power to VBUS normally.
[0034] Specifically, the control logic of the VBUS current protection detection circuit in this embodiment is shown in Table 1 below.
[0035]
[0036] In summary, Figure 2 The VBUS current detection protection circuit of the embodiment collects the current situation in VBUS in real time through the current acquisition module 120, and quickly responds to the overcurrent state, so that the circuit can cut off the power supply of the charger in time when the overcurrent occurs, avoiding damage to the device caused by the overcurrent. The voltage follower module 160 is combined with the hysteresis comparison module 150 to realize the accurate processing of the current signal and the comparison with the threshold voltage, ensuring the accurate detection of the overcurrent state and avoiding false triggering. When the overcurrent occurs, the switch control module 130 controls the circuit switch module 110 to immediately disconnect the power supply of the charger to prevent the VBUS from continuously overcurrent, thereby effectively protecting the safety of the device. The state latch module 140 locks the protection state when the overcurrent state occurs to prevent the circuit from automatically restoring the power supply before the fault is eliminated. At the same time, the latch is released through the reset signal of the host computer to restore the normal power supply and avoid the risk of repeated power-on. Therefore, the scheme of this embodiment effectively reduces the risk of damage to the device during the test process and improves the stability and controllability of the overall test process.
[0037] It should be noted that Figure 2 The VBUS current detection protection circuit shown in the embodiment is only a preferred circuit structure to achieve the purpose of the present invention. In other embodiments, each circuit module or device may also use other circuit structures that can achieve the same function, and the present application is not limited thereto.
[0038] The above description is only a preferred embodiment of the present invention and does not limit the present invention in other forms. Any technician familiar with the profession may use the technical content disclosed above to change or modify it into an equivalent embodiment with equivalent changes and apply it to other fields. However, any simple modification, equivalent change and modification made to the above embodiment based on the technical essence of the present invention without departing from the content of the technical solution of the present invention still falls within the protection scope of the technical solution of the present invention.
Claims
1. A VBUS current detection protection circuit, characterized in that: include: A circuit switch module is connected to the charger of VBUS, and is used to control the power output of the charger, and cut off the power supply of the charger to VBUS when overcurrent occurs in VBUS, so as to perform overcurrent protection; A current acquisition module is connected to the circuit switch module and VBUS respectively, and is used to acquire the current signal in VBUS in real time, generate a voltage signal corresponding to the current signal, and transmit the voltage signal to the voltage follower module; A voltage following module, connected to the current acquisition module, for isolating and following the input voltage signal, and transmitting the followed voltage signal to the hysteresis comparison module; A hysteresis comparison module, connected to the voltage following module, for comparing the followed voltage signal with a set threshold voltage, generating a current detection signal, and transmitting the current detection signal to the state latch module; A state latch module, connected to the hysteresis comparison module, for generating a latch signal according to the current detection signal and transmitting it to the switch control module, and when an overcurrent is detected in VBUS, keeping the latch signal unchanged until the latch is released after receiving a reset signal; The switch control module is connected to the state latch module and the circuit switch module respectively, and is used to control the on and off of the circuit switch module according to the latch signal to control the power output of the charger.
2. The VBUS current detection protection circuit according to claim 1, characterized in that: When an overcurrent occurs in VBUS, the current acquisition module acquires the current signal in VBUS and generates a voltage signal to be transmitted to the voltage following module; the voltage following module isolates and follows the voltage signal inputted thereto, and transmits the followed voltage signal to the hysteresis comparison module; The hysteresis comparison module compares the following voltage signal with the set threshold voltage, and when the set threshold voltage is exceeded, generates an overcurrent detection signal and transmits it to the state latch module; the state latch module generates a latch signal according to the overcurrent detection signal and transmits it to the switch control module, and keeps the latch signal unchanged until the latch is released after receiving a reset signal; the switch control module controls the circuit switch module to disconnect according to the latch signal input thereto, so as to cut off the power supply of the charger to VBUS.
3. The VBUS current detection protection circuit according to claim 1 or 2, characterized in that: The circuit switch module includes a solid-state relay U1, a second resistor R2, a third resistor R3 and a light-emitting diode LED1; The first power supply voltage is connected to the first input terminal of the solid-state relay U1 through the third resistor R3, and the first power supply voltage is also connected to the second input terminal of the solid-state relay U1 through the second resistor R2 and the light-emitting diode LED1 in sequence; the first output terminal of the solid-state relay U1 is connected to the current acquisition module, and the second output terminal of the solid-state relay U1 is connected to the charger; When the circuit works normally, the solid-state relay U1 is closed, and the charger provides power output to VBUS; when an overcurrent occurs in VBUS, the solid-state relay U1 is disconnected, cutting off the power output of the charger.
4. The VBUS current detection protection circuit according to claim 3, characterized in that: The current acquisition module includes a sampling resistor R1, a current sensing amplifier U2, a second capacitor C2, a fourth resistor R4, a fifth resistor R5, a third capacitor C3 and a clamping diode D1; The sampling resistor R1 adopts a four-wire connection method, wherein the current input end thereof is connected to the second output end of the solid-state relay U1, the current output end is connected to VBUS, and the voltage measurement positive end and the voltage measurement negative end are respectively connected to the positive input end and the negative input end of the current sensing amplifier U2; the power supply end of the current sensing amplifier U2 is connected to the first power supply voltage, and the power supply end of the current sensing amplifier U2 is also grounded through the second capacitor C2; the output end of the current sensing amplifier U2 is grounded through the fourth resistor R4, and the output end of the current sensing amplifier U2 is also connected to the voltage follower module through the fifth resistor R5; the clamping diode D1 is a dual Schottky diode, a first end of which is connected to one end of the third capacitor C3 and grounded, a second end is connected to the second power supply voltage, and a third end is connected to the other end of the third capacitor C3 and connected to the voltage follower module; When VBUS overcurrent occurs, the current in the sampling resistor R1 increases, the voltage across the sampling resistor R1 increases, and the current sensing amplifier U2 amplifies the voltage across the sampling resistor R1 to generate a corresponding voltage signal to be transmitted to the voltage follower module.
5. The VBUS current detection protection circuit according to claim 4, characterized in that: The voltage amplification factor of the current acquisition module is G=R4 / 1K, where R4 is the resistance value of the fourth resistor.
6. The VBUS current detection protection circuit according to claim 4 or 5, characterized in that: The voltage follower module includes an operational amplifier U6 and a fifth capacitor C5; The positive input terminal of the operational amplifier U6 is connected to the third terminal of the clamping diode D1; the power supply terminal of the operational amplifier U6 is connected to the second power supply voltage, and the power supply terminal of the operational amplifier U6 is also grounded through the fifth capacitor C5; the negative input terminal of the operational amplifier U6 is connected to its output terminal and connected to the hysteresis comparison module to isolate the input voltage signal and follow the output to the hysteresis comparison module.
7. The VBUS current detection protection circuit according to claim 6, characterized in that: The hysteresis comparison module includes a hysteresis comparator U5, a sixth resistor R6, a seventh resistor R7, an eighth resistor R8, a ninth resistor R9 and a tenth resistor R10; The positive input terminal of the hysteresis comparator U5 is connected to the output terminal of the operational amplifier U6 through the sixth resistor R6, and the positive input terminal thereof is also connected to the output terminal thereof through the seventh resistor R7; the negative input terminal of the hysteresis comparator U5 is connected to the second power supply voltage through the eighth resistor R8, and the negative input terminal thereof is also connected to the ground terminal thereof through the ninth resistor R9; the power supply terminal of the hysteresis comparator U5 is connected to the second power supply voltage, and the tenth resistor is also connected between the power supply terminal and the output terminal thereof; The hysteresis comparator U5 compares the voltage signal inputted thereto with a set threshold voltage, and when the input voltage exceeds the threshold voltage, generates a high-level overcurrent detection signal which is transmitted to the state latch module.
8. The VBUS current detection protection circuit according to claim 7, characterized in that: The threshold voltage includes a high threshold voltage VH and a low threshold voltage VL, wherein: VH = VTH / (R7 / (R6 + R7)); VL=VTH / ((R7+R10) / (R6+R7+R10))+3.3×(R6 / (R6+R7+R10)); In the formula, VTH=3.3×(R9 / (R8+R9)), R6, R7, R8, R9 and R10 are the resistance values of the sixth resistor, the seventh resistor, the eighth resistor, the ninth resistor and the tenth resistor respectively.
9. The VBUS current detection protection circuit according to claim 7 or 8, characterized in that: The state latch module includes an RS latch U4 and an eleventh resistor R11; The set end of the RS latch U4 is connected to the output end of the hysteresis comparator U5 through the eleventh resistor R11; the reset end of the RS latch U4 is connected to the host computer end to receive a reset signal; the power supply end of the RS latch U4 is connected to the first power supply voltage; the output end of the RS latch U4 is connected to the switch control module; The RS latch U4 generates a corresponding latch signal according to the current detection signal or overcurrent detection signal input thereto and transmits it to the switch control module. When an overcurrent occurs on VBUS, the RS latch U4 generates a high-level latch signal according to the high-level overcurrent detection signal and keeps the high-level latch signal unchanged until the latch is released after receiving the reset signal from the host computer.
10. The VBUS current detection protection circuit according to claim 9, characterized in that: The switch control module includes an analog switch chip U3, a first capacitor C1 and a fourth capacitor C4; The enable terminal of the analog switch chip U3 is connected to the output terminal of the RS latch U4; the power terminal of the analog switch chip U3 is connected to the first power supply voltage, and its power terminal is also grounded through the fourth capacitor C4; the first input terminal of the analog switch chip U3 is connected to the first power supply voltage, and its first input terminal is also grounded through the first capacitor C1; the second input terminal of the analog switch chip U3 is grounded; the output terminal of the analog switch chip U3 is connected to the second input terminal of the solid-state relay U1; The analog switch chip U3 controls the on and off of the solid-state relay U1 according to the latch signal of its enable terminal to control the power output of the charger, and when the latch signal is at a high level, the solid-state relay U1 is disconnected, cutting off the power supply of the charger to VBUS.
Citation Information
Patent Citations
Short circuit detection and protection circuit of energy storage system
CN117154656A
Cited By
Overcurrent protection circuit of airborne computer product
CN119742713A
An overcurrent protection circuit for an on-board computer product
CN119742713B
