An energy-saving current detection circuit
By turning on the sampling current in the current sensing circuit only within the output current interval, the high energy consumption problem caused by the sampling resistor is solved, and a circuit design with low energy consumption and high safety and reliability is achieved.
Patent Information
- Application Number
- CN202410986722.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-23
- Publication Date
- 2024-11-19
- Estimated Expiration
- 2044-07-23
AI Technical Summary
The existing current sensing circuit always has sampling current, resulting in large power loss and increased energy consumption.
Design an energy-saving current sensing circuit, and only when the output current is in a small current range, the sampling current flows through the structural control of the sampling switch tube, the first resistor and the second switch tube, and only conducts when necessary. In other cases, the sampling current is 0A to avoid power loss.
It effectively reduces the energy consumption of the current sensing circuit, and controls the on-state of the protection switch tube, improving the safety and reliability of the circuit.
Smart Images

Figure CN118534963B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of current detection, and in particular to an energy-saving current detection circuit. Background Art
[0002] Figure 1 The figure shows a common current detection circuit in the art, wherein Mp is a power switch tube, Ms is a sampling switch tube, and the width-to-length ratio of the power switch tube Mp to the sampling switch tube Ms is m:1. Therefore, the current value is of the sampling current flowing through the sampling switch tube Ms is 1 / m of the current value io of the power current flowing through the power switch tube Mp, and the sampling current flows into the sampling resistor rs. Therefore, at this time, the terminal voltage vs of the sampling resistor rs is detected to obtain the current value io of the power current flowing through the power switch tube Mp. When the current value io of the power current is larger, the current value is of the sampling current is also larger, and the terminal voltage vs of the sampling resistor rs is also larger. When the terminal voltage vs of the sampling resistor rs is smaller than the reference voltage vref, the output voltage vc of the comparator com becomes a low level, indicating that the current value io of the power current is within the specified value range. When the terminal voltage vs of the sampling resistor rs is larger than the reference voltage vref, the output voltage vc of the comparator com becomes a high level, indicating that the current value io of the power current exceeds the specified value range.
[0003] But by the attached Figure 1 It can be seen from the structure that when the circuit works normally, a sampling current will always flow through the sampling resistor rs. Therefore, power loss will always occur in the sampling resistor rs, resulting in a large energy consumption of the current detection circuit. Summary of the invention
[0004] In view of this, the present invention provides an energy-saving current detection circuit, in which the sampling current flows through the sampling resistor only when the output current is within a small current range, thereby greatly reducing the energy consumption of the current detection circuit. The technical solution is as follows:
[0005] An energy-saving current detection circuit is provided, in which a power supply voltage end is connected to a voltage output end through a power switch tube; the power supply voltage end is grounded through a sampling switch tube, a first resistor and a second switch tube in sequence; the power supply voltage end is also grounded through the sampling switch tube, the first switch tube and the second resistor in sequence; the control end of the first switch tube is grounded through the second switch tube; the control end of the second switch tube is grounded through the second resistor; the power supply voltage end is also connected to the control end of the power switch tube and the control end of the sampling switch tube respectively through a protection switch tube;
[0006] The power supply voltage terminal is also connected to the first node through the target current source; the first node is grounded through the first execution switch tube and the first branch of the first current mirror in sequence; the first node is also grounded through the second execution switch tube and the first branch of the second current mirror in sequence; the control end of the first execution switch tube is connected to the reference voltage; the control end of the second execution switch tube is connected to the control end of the second switch tube;
[0007] The power supply voltage end is also grounded through the first branch of the third current mirror and the second branch of the first current mirror in sequence; the power supply voltage end is also connected to the second node through the second branch of the third current mirror; the second node is grounded through the second branch of the second current mirror; the voltage value at the second node is used to control the conduction state of the protection switch tube.
[0008] In an optional implementation, the power switch tube and the sampling switch tube are PMOS tubes; or, the power switch tube and the sampling switch tube are PNP transistors.
[0009] In an optional implementation, when the power switch tube and the sampling switch tube are PMOS tubes, the width-to-length ratio of the power switch tube and the sampling switch tube is k:1;
[0010] When the power switch tube and the sampling switch tube are PNP transistors, the number ratio of the power switch tube to the sampling switch tube is k:1.
[0011] In an optional implementation, the first switch tube and the second switch tube have the same conduction parameter.
[0012] In an optional implementation, the turn-on threshold voltage of the first switch tube is the same as that of the second switch tube.
[0013] In an optional implementation, the reference voltage is greater than the turn-on threshold voltage.
[0014] In an optional implementation, the first switch tube is a PMOS tube; the second switch tube is an NMOS tube.
[0015] In an optional implementation, the first resistor and the second resistor have the same resistance value.
[0016] In an optional embodiment, the power supply voltage end is also grounded through a ninth execution switch tube and a tenth execution switch tube in sequence; the second node is connected to the control end of the ninth execution switch tube and the control end of the tenth execution switch tube; the control end of the protection switch tube is also grounded through the tenth execution switch tube.
[0017] In an optional implementation, the first branch of the first current mirror includes a third execution switch tube; the first node is grounded through the first execution switch tube and the third execution switch tube in sequence;
[0018] The second branch of the first current mirror includes a fifth execution switch tube; the power supply voltage terminal is also grounded through the first branch of the third current mirror and the fifth execution switch tube in sequence.
[0019] In an optional implementation, the third execution switch tube and the fifth execution switch tube are NMOS tubes; or, the third execution switch tube and the fifth execution switch tube are NPN transistors.
[0020] In an optional implementation, when the third execution switch tube and the fifth execution switch tube are NMOS tubes, the width-to-length ratio of the third execution switch tube and the fifth execution switch tube is 1:A;
[0021] When the third execution switch tube and the fifth execution switch tube are NPN transistors, the number ratio of the third execution switch tube to the fifth execution switch tube is 1:A.
[0022] In an optional implementation, the first branch of the second current mirror includes a fourth execution switch tube; the first node is grounded through the second execution switch tube and the fourth execution switch tube in sequence;
[0023] The second branch of the second current mirror includes a sixth execution switch tube; the second node is grounded through the sixth execution switch tube.
[0024] In an optional implementation, the fourth execution switch tube and the sixth execution switch tube are NMOS tubes; or, the fourth execution switch tube and the sixth execution switch tube are NPN transistors.
[0025] In an optional implementation, when the fourth execution switch tube and the sixth execution switch tube are NMOS tubes, the width-to-length ratio of the fourth execution switch tube and the sixth execution switch tube is 1:A;
[0026] When the fourth execution switch tube and the sixth execution switch tube are NPN transistors, the number ratio of the fourth execution switch tube to the sixth execution switch tube is 1:A.
[0027] In an optional implementation, the first branch of the third current mirror includes a seventh execution switch tube; the power supply voltage terminal is grounded in sequence through the seventh execution switch tube and the second branch of the first current mirror;
[0028] The second branch of the third current mirror includes an eighth execution switch tube; the power supply voltage terminal is also connected to the second node through the eighth execution switch tube.
[0029] In an optional implementation, the seventh execution switch tube and the eighth execution switch tube are PMOS tubes; or, the seventh execution switch tube and the eighth execution switch tube are PNP transistors.
[0030] In an optional implementation, when the seventh execution switch tube and the eighth execution switch tube are PMOS tubes, the width-to-length ratio of the seventh execution switch tube and the eighth execution switch tube is 1:1;
[0031] When the seventh execution switch tube and the eighth execution switch tube are PNP transistors, the number ratio of the seventh execution switch tube to the eighth execution switch tube is 1:1.
[0032] The technical solution provided by this application may have the following beneficial effects:
[0033] In an energy-saving current detection circuit provided by the present application, the power supply voltage end is grounded through the sampling switch tube, the first resistor and the second switch tube in sequence; the power supply voltage end is also grounded through the sampling switch tube, the first switch tube and the second resistor in sequence; the control end of the first switch tube is grounded through the second switch tube; the control end of the second switch tube is grounded through the second resistor; the power supply voltage end is also connected to the control end of the power switch tube and the control end of the sampling switch tube respectively through the protection switch tube, at which time the voltage at the control end of the second switch tube is input into the circuit including the first current mirror and the second current mirror for processing to control the conduction state of the protection switch tube. In the above circuit structure, only when When the reference voltage vf is slightly larger than the turn-on threshold voltage vth, the current value is of the sampling current will be greater than 0A. In other cases, the current value is of the sampling current is equal to 0A. Since the reference voltage vf is slightly larger than the turn-on threshold voltage vth, it can be obtained that the current value is of the sampling current is 0A in most cases, so that the first resistor r1 and the second resistor r2 have no power loss in most cases, thereby reducing the energy consumption of the current detection circuit.
[0034] The present application provides an energy-saving current detection circuit, in which the pull-up current or the pull-down current generated at the second node is related to the ratio of the current values of each branch in the first current mirror and the ratio of the current values of each branch in the second current mirror. Therefore, at this time, the corresponding first current mirror and the second current mirror can be designed according to the response speed requirements of the circuit to ensure that the voltage vc at the second node can switch states quickly to turn on or off the protection switch tube Mc, thereby improving the safety and reliability of the current detection circuit. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0036] Figure 1 A schematic diagram of the structure of a current detection circuit in the related art is shown;
[0037] Figure 2 4 is a schematic structural diagram of an energy-saving current detection circuit according to an embodiment of the present invention. DETAILED DESCRIPTION
[0038] The technical solution of the present invention will be described clearly and completely below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0039] In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicating the orientation or positional relationship, are based on the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, the terms "first", "second", and "third" are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance.
[0040] In the description of the present invention, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0041] In addition, the technical features involved in the different embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.
[0042] Figure 2 Schematic diagram of the structure of the energy-saving current detection circuit according to an embodiment of the present invention. Figure 2As shown, in the current detection circuit, the power supply voltage end is connected to the voltage output end through the power switch tube Mp; the power supply voltage end is grounded through the sampling switch tube Ms, the first resistor r1 and the second switch tube M2 in sequence; the power supply voltage end is also grounded through the sampling switch tube Ms, the first switch tube M1 and the second resistor r2 in sequence; the control end of the first switch tube M1 is grounded through the second switch tube M2; the control end of the second switch tube M2 is grounded through the second resistor r2; the power supply voltage end is also connected to the control end of the power switch tube Mp and the control end of the sampling switch tube Ms respectively through the protection switch tube Mc;
[0043] The power supply voltage terminal is also connected to the first node through the target current source; the first node is grounded through the first execution switch tube Mx1 and the first branch of the first current mirror in sequence; the first node is also grounded through the second execution switch tube Mx2 and the first branch of the second current mirror in sequence; the control end of the first execution switch tube Mx1 is connected to the reference voltage; the control end of the second execution switch tube Mx2 is connected to the control end of the second switch tube M2;
[0044] The power supply voltage end is also grounded through the first branch of the third current mirror and the second branch of the first current mirror in sequence; the power supply voltage end is also connected to the second node through the second branch of the third current mirror; the second node is grounded through the second branch of the second current mirror; the voltage value at the second node is used to control the conduction state of the protection switch tube Mc.
[0045] In an optional implementation, the power switch tube Mp and the sampling switch tube Ms are PMOS tubes; or, the power switch tube Mp and the sampling switch tube Ms are PNP transistors.
[0046] In an optional implementation, when the power switch tube Mp and the sampling switch tube Ms are PMOS tubes, the width-to-length ratio of the power switch tube Mp and the sampling switch tube Ms is k:1;
[0047] When the power switch tube Mp and the sampling switch tube Ms are PNP transistors, the number ratio of the power switch tube Mp to the sampling switch tube Ms is k:1.
[0048] In an optional implementation, the first execution switch tube Mx1 is a PMOS tube; or, the first execution switch tube Mx1 is a PNP transistor.
[0049] In an optional implementation, the reference voltage is a low level voltage. The reference voltage is a low level voltage relative to the power supply voltage.
[0050] In an optional implementation, the first switch tube M1 and the second switch tube M2 have the same conduction parameter.
[0051] In an optional implementation, the turn-on threshold voltage of the first switch tube M1 is the same as that of the second switch tube M2.
[0052] In an optional implementation, the reference voltage is greater than the turn-on threshold voltage.
[0053] In an optional implementation, the first switch tube M1 is a PMOS tube; the second switch tube M2 is an NMOS tube.
[0054] In an optional implementation, the resistance value of the first resistor r1 is the same as that of the second resistor r2.
[0055] In an optional embodiment, the power supply voltage end is also grounded through the ninth execution switch tube Mi1 and the tenth execution switch tube Mi2 in sequence; the second node is connected to the control end of the ninth execution switch tube Mi1 and the control end of the tenth execution switch tube Mi2; the control end of the protection switch tube Mc is also grounded through the tenth execution switch tube Mi2.
[0056] In an optional implementation, the ninth execution switch tube Mi1 is a PMOS tube; or the ninth execution switch tube Mi1 is a PNP transistor;
[0057] The tenth execution switch tube Mi2 is an NMOS tube; or, the tenth execution switch tube Mi2 is an NPN transistor.
[0058] In an optional implementation, the first branch of the first current mirror includes a third execution switch tube Mx3; the first node is grounded through the first execution switch tube Mx1 and the third execution switch tube Mx3 in sequence;
[0059] The second branch of the first current mirror includes a fifth execution switch tube Mx5; the power supply voltage terminal is also grounded through the first branch of the third current mirror and the fifth execution switch tube Mx5 in sequence.
[0060] In an optional implementation, the control end of the third execution switch tube Mx3 is connected to the control end of the fifth execution switch tube Mx5; the first node is connected to the control end of the third execution switch tube Mx3 through the first execution switch tube Mx1.
[0061] In an optional implementation, the third execution switch tube Mx3 and the fifth execution switch tube Mx5 are NMOS tubes; or, the third execution switch tube Mx3 and the fifth execution switch tube Mx5 are NPN transistors.
[0062] In an optional implementation, when the third execution switch tube Mx3 and the fifth execution switch tube Mx5 are NMOS tubes, the width-to-length ratio of the third execution switch tube Mx3 and the fifth execution switch tube Mx5 is 1:A;
[0063] When the third execution switch tube Mx3 and the fifth execution switch tube Mx5 are NPN transistors, the number ratio of the third execution switch tube Mx3 to the fifth execution switch tube Mx5 is 1:A.
[0064] In an optional implementation, the first branch of the second current mirror includes a fourth execution switch tube Mx4; the first node is grounded through the second execution switch tube Mx2 and the fourth execution switch tube Mx4 in sequence;
[0065] The second branch of the second current mirror includes a sixth execution switch tube Mx6; the second node is grounded through the sixth execution switch tube Mx6.
[0066] In an optional implementation, the control end of the fourth execution switch tube Mx4 is connected to the control end of the sixth execution switch tube Mx6; the first node is connected to the control end of the fourth execution switch tube Mx4 through the second execution switch tube Mx2.
[0067] In an optional implementation, the fourth execution switch tube Mx4 and the sixth execution switch tube Mx6 are NMOS tubes; or, the fourth execution switch tube Mx4 and the sixth execution switch tube Mx6 are NPN transistors.
[0068] In an optional implementation, when the fourth execution switch tube Mx4 and the sixth execution switch tube Mx6 are NMOS tubes, the width-to-length ratio of the fourth execution switch tube Mx4 and the sixth execution switch tube Mx6 is 1:A;
[0069] When the fourth execution switch tube Mx4 and the sixth execution switch tube Mx6 are NPN transistors, the number ratio of the fourth execution switch tube Mx4 to the sixth execution switch tube Mx6 is 1:A.
[0070] In an optional implementation, the first branch of the third current mirror includes a seventh execution switch tube Mx7; the power supply voltage terminal is grounded in sequence through the seventh execution switch tube Mx7 and the second branch of the first current mirror;
[0071] The second branch of the third current mirror includes an eighth execution switch tube Mx8; the power supply voltage terminal is also connected to the second node through the eighth execution switch tube Mx8.
[0072] In an optional implementation, the control end of the seventh execution switch tube Mx7 is connected to the control end of the eighth execution switch tube Mx8; the control end of the seventh execution switch tube Mx7 is also grounded through the fifth execution switch tube Mx5.
[0073] In an optional implementation, the seventh execution switch tube Mx7 and the eighth execution switch tube Mx8 are PMOS tubes; or, the seventh execution switch tube Mx7 and the eighth execution switch tube Mx8 are PNP transistors.
[0074] In an optional implementation, when the seventh execution switch tube Mx7 and the eighth execution switch tube Mx8 are PMOS tubes, the width-to-length ratio of the seventh execution switch tube Mx7 and the eighth execution switch tube Mx8 is 1:1;
[0075] When the seventh execution switch tube Mx7 and the eighth execution switch tube Mx8 are PNP transistors, the number ratio of the seventh execution switch tube Mx7 to the eighth execution switch tube Mx8 is 1:1.
[0076] Figure 2 The working principle of the energy-saving current-sense circuit shown is as follows:
[0077] After the current detection circuit works, the output current with a current value of io flows through the power switch tube Mp. Since the power switch tube Mp and the sampling switch tube Ms form a current mirror structure with a ratio of k:1, the current value of the sampling current flowing through the sampling switch tube Ms is . The sampling current flows into the first resistor r1. Since the resistance value of the first resistor r1 is equal to the resistance value of the second resistor r2, and the first switch tube M1 and the second switch tube M2 are switches with the same conduction parameters, it can be considered that the conduction threshold voltages of the first switch tube M1 and the second switch tube M2 are both vth, and when the gate-source voltage difference vgs of the first switch tube M1 and the second switch tube M2 are the same, the current flowing through the two is the same. When the first switch tube M1 and the second switch tube M2 are both turned on, if the current value IM1 of the current flowing through the first switch tube M1 is greater than the current value IM2 of the current flowing through the second switch tube M2, then the gate-source voltage difference vgs1 of the first switch tube M1 is greater than the gate-source voltage difference vgs2 of the second switch tube M2, and because , , and IM1 is greater than IM2, r1=r2, so vgs1 is smaller than vgs2, so there is a contradiction, and the assumption is not established; if the current value IM1 of the current flowing through the first switch tube M1 is smaller than the current value IM2 of the current flowing through the second switch tube M2, then the gate-source voltage difference vgs1 of the first switch tube M1 is smaller than the gate-source voltage difference vgs2 of the second switch tube M2, and because , , and IM1 is smaller than IM2, r1=r2, so vgs1 is larger than vgs2, so there is a contradiction, and the assumption is not established; if the current value IM1 of the current flowing through the first switch tube M1 is equal to the current value IM2 of the current flowing through the second switch tube M2, then the gate-source voltage difference vgs1 of the first switch tube M1 is equal to the gate-source voltage difference vgs2 of the second switch tube M2, and because , , and IM1 is equal to IM2, r1=r2, so vgs1 is equal to vgs2, so the assumption is established.
[0078] It can be seen that when the first switch tube M1 and the second switch tube M2 are both turned on, the current value IM1 of the current flowing through the first switch tube M1 is equal to the current value IM2 of the current flowing through the second switch tube M2, that is, , so when , the first switch tube M1 and the second switch tube M2 are both in the off state, that is, when the sampling current is small, the sampling current cannot flow through the circuit of the energy-saving part, wherein the circuit of the energy-saving part includes the first switch tube M1, the second switch tube M2, the first resistor r1 and the second resistor r2. That is, at this time, no current flows through the second resistor r2, and the terminal voltage vr of the second resistor r2 is 0. The low-level terminal voltage vr pulls down the control terminal voltage of the second execution switch tube Mx2, and the second execution switch tube Mx2 is turned on. At this time, the control terminal voltages of the fourth execution switch tube Mx4 and the sixth execution switch tube Mx6 are pulled up through the second execution switch tube Mx2 and the target current source ix0, and the fourth execution switch tube Mx4 and the sixth execution switch tube Mx6 are turned on. At the same time, the externally output reference voltage vf is a low-level voltage with a fixed voltage value, so the reference voltage vf pulls down the control terminal voltage of the first execution switch tube Mx1, and the first execution switch tube Mx1 is turned on. At this time, the control terminal voltages of the third execution switch tube Mx3 and the fifth execution switch tube Mx5 are pulled up by the first execution switch tube Mx1 and the target current source ix0, and the third execution switch tube Mx3 and the fifth execution switch tube Mx5 are turned on. Afterwards, the control terminal voltages of the seventh execution switch tube Mx7 and the eighth execution switch tube Mx8 are pulled down by the fifth execution switch tube Mx5, and the seventh execution switch tube Mx7 and the eighth execution switch tube Mx8 are turned on. Therefore, at this time, current flows through the first execution switch tube Mx1, the second execution switch tube Mx2, the third execution switch tube Mx3, the fourth execution switch tube Mx4, the fifth execution switch tube Mx5, the sixth execution switch tube Mx6, the seventh execution switch tube Mx7 and the eighth execution switch tube Mx8, wherein the current flowing through the first execution switch tube Mx1 and the third execution switch tube Mx3 is equal in magnitude, and the current value is recorded as ix1, the current flowing through the fifth execution switch tube Mx5 and the seventh execution switch tube Mx7 is equal in magnitude, and the current value is recorded as ix5, and because the seventh execution switch tube Mx7 and the eighth execution switch tube Mx8 form a 1:1 current mirror structure, at this time, the current value ix8=ix5 of the current flowing through the eighth execution switch tube Mx8. At the same time, since the third execution switch tube Mx3 and the fifth execution switch tube Mx5 form a 1:A current mirror structure, ix8=ix5=A×ix1, and the current flowing through the second execution switch tube Mx2 and the fourth execution switch tube Mx4 is equal, the current value is recorded as ix2, the current value of the current flowing through the sixth execution switch tube Mx6 is recorded as ix6, and since the fourth execution switch tube Mx4 and the sixth execution switch tube Mx6 form a 1:A current mirror structure, ix6=A×ix2.
[0079] At this time, from the above analysis, we can see that when When , the terminal voltage vr of the second resistor r2 is 0, so at this time, the gate-source voltage difference of the first execution switch tube Mx1 is smaller than the gate-source voltage difference of the second execution switch tube Mx2, and the current value ix1 of the current flowing through the first execution switch tube Mx1 is smaller than the current value ix2 of the current flowing through the second execution switch tube Mx2, so that ix6 is greater than ix8, and a magnitude of The pull-down current of the second node vc is finally pulled to a low level. At this time, the ninth execution switch tube Mi1 is turned on, the tenth execution switch tube Mi2 is turned off, and the voltage vcb is pulled to the high-level power supply voltage vdd by the ninth execution switch tube Mi1. After the high-level voltage vcb is input to the protection switch tube Mc, the protection switch tube Mc remains in the off state, thereby not affecting the normal operation of the power switch tube Mp and the sampling switch tube Ms.
[0080] when When the first switch tube M1 and the second switch tube M2 are both in the on state, that is, when the sampling current is large, the sampling current flows into the energy-saving circuit. At this time, current flows through the second resistor r2, and the terminal voltage of the second resistor r2 is Afterwards, when the terminal voltage vr is greater than the reference voltage vf, the gate-source voltage difference of the first execution switch tube Mx1 is greater than the gate-source voltage difference of the second execution switch tube Mx2, and the current value ix1 of the current flowing through the first execution switch tube Mx1 is greater than the current value ix2 of the current flowing through the second execution switch tube Mx2, so that ix6 is less than ix8, and a magnitude of The pull-up current at the second node is finally pulled to a high level. At this time, the ninth execution switch tube Mi1 is turned off, the tenth execution switch tube Mi2 is turned on, and the voltage vcb is pulled to a low-level ground voltage by the tenth execution switch tube Mi2. After the low-level voltage vcb is input into the protection switch tube Mc, the protection switch tube Mc is turned on, thereby pulling up the control terminal voltage of the power switch tube Mp and the sampling switch tube Ms, and the power switch tube Mp is turned off to achieve the protection function.
[0081] From the above analysis, it can be seen that when the output current value io is within the normal range, that is, when , When the protection switch tube Mc remains in the off state, the power switch tube Mp and the sampling switch tube Ms are in normal working state, and at this time, the first switch tube M1 and the second switch tube M2 are both in the off state, that is, when the current value io of the output current is less than When the sampling current cannot flow through the energy-saving circuit, the first resistor r1 and the second resistor r2 have no power loss, thereby greatly reducing the energy consumption of the current detection circuit;
[0082] When the output current value io is within the abnormal value range, that is, when , When the first switch tube M1 and the second switch tube M2 are both in the on state, that is, when the current value io of the output current is greater than When the sampling current flows into the energy-saving circuit, the terminal voltage of the second resistor r2 is , both the first resistor r1 and the second resistor r2 generate power loss.
[0083] Afterwards, when the current value io of the output current increases to the point where the terminal voltage vr of the second resistor r2 is greater than the reference voltage vf, ,Right now ,Right now When the reference voltage vf is designed to be slightly larger than the conduction threshold voltage vth, the protection switch tube Mc is turned on, thereby raising the control terminal voltages of the power switch tube Mp and the sampling switch tube Ms, the power switch tube Mp is turned off, and the current value is of the sampling current becomes 0. Therefore, at this time, the first resistor r1 and the second resistor r2 have no power loss.
[0084] Therefore, only when When the reference voltage vf is slightly larger than the turn-on threshold voltage vth, the current value is of the sampling current will be greater than 0A (A is the current unit ampere). In other cases, the current value is of the sampling current is equal to 0A. Since the reference voltage vf is slightly larger than the turn-on threshold voltage vth, it can be obtained that the current value is of the sampling current is 0A in most cases, so that the first resistor r1 and the second resistor r2 have no power loss in most cases, thereby greatly reducing the energy consumption of the current detection circuit.
[0085] At the same time, from the above analysis, it can be seen that the pull-up current or pull-down current generated at the second node is proportional to the A value, that is, when the A value is larger, the pull-up or pull-down speed of the voltage vc of the second node is faster. Therefore, at this time, the corresponding A value can be designed according to the response speed requirement of the circuit to ensure that the second node can quickly switch the state to turn on or off the protection switch tube Mc, thereby improving the safety and reliability of the current detection circuit.
[0086] To summarize, in the current detection circuit provided by the present application, the power supply voltage end is grounded through the sampling switch tube, the first resistor and the second switch tube in sequence; the power supply voltage end is also grounded through the sampling switch tube, the first switch tube and the second resistor in sequence; the control end of the first switch tube is grounded through the second switch tube; the control end of the second switch tube is grounded through the second resistor; the power supply voltage end is also connected to the control end of the power switch tube and the control end of the sampling switch tube respectively through the protection switch tube, at which time the voltage at the control end of the second switch tube is input into the circuit including the first current mirror and the second current mirror for processing to control the conduction state of the protection switch tube. In the above circuit structure, only when When the reference voltage vf is slightly larger than the turn-on threshold voltage vth, the current value is of the sampling current will be greater than 0A. In other cases, the current value is of the sampling current is equal to 0A. Since the reference voltage vf is slightly larger than the turn-on threshold voltage vth, it can be obtained that the current value is of the sampling current is 0A in most cases, so that the first resistor r1 and the second resistor r2 have no power loss in most cases, thereby reducing the energy consumption of the current detection circuit.
[0087] Moreover, in the current detection circuit provided in the present application, the pull-up current or the pull-down current generated at the second node is related to the ratio of the current values of each branch in the first current mirror and the ratio of the current values of each branch in the second current mirror. Therefore, at this time, the corresponding first current mirror and the second current mirror can be designed according to the response speed requirements of the circuit to ensure that the voltage vc at the second node can quickly switch the state to turn on or off the protection switch tube Mc, thereby improving the safety and reliability of the current detection circuit.
[0088] Obviously, the above embodiments are merely examples for the purpose of clear explanation, and are not intended to limit the implementation methods. For those skilled in the art, other different forms of changes or modifications can be made based on the above description. It is not necessary and impossible to list all the implementation methods here. The obvious changes or modifications derived therefrom are still within the scope of protection of the invention.
Claims
1. An energy-saving current detection circuit, characterized in that: In the current detection circuit, the power supply voltage end is connected to the voltage output end through the power switch tube; the power supply voltage end is grounded through the sampling switch tube, the first resistor and the second switch tube in sequence; the power supply voltage end is also grounded through the sampling switch tube, the first switch tube and the second resistor in sequence; the control end of the first switch tube is grounded through the second switch tube; the control end of the second switch tube is grounded through the second resistor; the power supply voltage end is also connected to the control end of the power switch tube and the control end of the sampling switch tube respectively through the protection switch tube; the first switch tube and the second switch tube have the same conduction threshold voltage; The power supply voltage terminal is also connected to the first node through the target current source; the first node is grounded through the first execution switch tube and the first branch of the first current mirror in sequence; the first node is also grounded through the second execution switch tube and the first branch of the second current mirror in sequence; the control end of the first execution switch tube is connected to the reference voltage; the control end of the second execution switch tube is connected to the control end of the second switch tube; the reference voltage is greater than the conduction threshold voltage; The power supply voltage end is also grounded through the first branch of the third current mirror and the second branch of the first current mirror in sequence; the power supply voltage end is also connected to the second node through the second branch of the third current mirror; the second node is grounded through the second branch of the second current mirror; the voltage value at the second node is used to control the conduction state of the protection switch tube.
2. The circuit according to claim 1, characterized in that The power switch tube and the sampling switch tube are PMOS tubes; or, the power switch tube and the sampling switch tube are PNP transistors.
3. The circuit according to claim 2, characterized in that When the power switch tube and the sampling switch tube are PMOS tubes, the width-to-length ratio of the power switch tube and the sampling switch tube is k:1; When the power switch tube and the sampling switch tube are PNP transistors, the number ratio of the power switch tube to the sampling switch tube is k:
1.
4. The circuit according to claim 1, characterized in that The first switch tube is a PMOS tube; the second switch tube is an NMOS tube.
5. The circuit according to claim 1, characterized in that The first resistor and the second resistor have the same resistance value.
6. The circuit according to claim 1, characterized in that The power supply voltage end is also grounded through the ninth execution switch tube and the tenth execution switch tube in sequence; the second node is connected to the control end of the ninth execution switch tube and the control end of the tenth execution switch tube; the control end of the protection switch tube is also grounded through the tenth execution switch tube.
7. The circuit according to any one of claims 1 to 6, characterized in that: The first branch of the first current mirror includes a third execution switch tube; the first node is grounded through the first execution switch tube and the third execution switch tube in sequence; The second branch of the first current mirror includes a fifth execution switch tube; the power supply voltage terminal is also grounded through the first branch of the third current mirror and the fifth execution switch tube in sequence.
8. The circuit according to claim 7, characterized in that The third execution switch tube and the fifth execution switch tube are NMOS tubes; or, the third execution switch tube and the fifth execution switch tube are NPN transistors.
9. The circuit according to claim 8, characterized in that When the third execution switch tube and the fifth execution switch tube are NMOS tubes, the width-to-length ratio of the third execution switch tube and the fifth execution switch tube is 1:A; When the third execution switch tube and the fifth execution switch tube are NPN transistors, the number ratio of the third execution switch tube to the fifth execution switch tube is 1:A.
10. The circuit according to any one of claims 1 to 6, characterized in that: The first branch of the second current mirror includes a fourth execution switch tube; the first node is grounded through the second execution switch tube and the fourth execution switch tube in sequence; The second branch of the second current mirror includes a sixth execution switch tube; the second node is grounded through the sixth execution switch tube.
11. The circuit according to claim 10, characterized in that The fourth execution switch tube and the sixth execution switch tube are NMOS tubes; or, the fourth execution switch tube and the sixth execution switch tube are NPN transistors.
12. The circuit according to claim 11, characterized in that When the fourth execution switch tube and the sixth execution switch tube are NMOS tubes, the width-to-length ratio of the fourth execution switch tube and the sixth execution switch tube is 1:A; When the fourth execution switch tube and the sixth execution switch tube are NPN transistors, the number ratio of the fourth execution switch tube to the sixth execution switch tube is 1:A.
13. The circuit according to any one of claims 1 to 6, characterized in that: The first branch of the third current mirror includes a seventh execution switch tube; the power supply voltage terminal is grounded in sequence through the seventh execution switch tube and the second branch of the first current mirror; The second branch of the third current mirror includes an eighth execution switch tube; the power supply voltage terminal is also connected to the second node through the eighth execution switch tube.
14. The circuit according to claim 13, characterized in that The seventh execution switch tube and the eighth execution switch tube are PMOS tubes; or, the seventh execution switch tube and the eighth execution switch tube are PNP transistors.
15. The circuit according to claim 14, characterized in that When the seventh execution switch tube and the eighth execution switch tube are PMOS tubes, the width-to-length ratio of the seventh execution switch tube and the eighth execution switch tube is 1:1; When the seventh execution switch tube and the eighth execution switch tube are PNP transistors, the number ratio of the seventh execution switch tube to the eighth execution switch tube is 1:1.
Citation Information
Patent Citations
Linear constant-current power supply with constant power consumption
CN106020307A
Calibration quantity determination method and current sampling circuit of chip
CN114675072A
High-precision current detection circuit
CN116047147A
High-stability low-dropout linear regulator
CN117234270A
Operational amplification circuit and method for overcurrent protection thereof
WO2019227822A1
