Current detection circuit

文档序号:680736 发布日期:2021-04-30 浏览:9次 中文

阅读说明:本技术 一种电流检测电路 (Current detection circuit ) 是由 俞阳刚 邹志革 邹雪城 皮庆广 谢锦红 李君瑞 吕骏夫 于 2020-12-21 设计创作,主要内容包括:本发明公开了一种电流检测电路,属于模拟集成电路技术领域。包括负载电流采样电路、偏置电压产生电路、放大器、检测电流产生电路及最大负载指示电路;负载电流采样电路的电源输入端接VCC、信号输入端接Vg、反馈输入端与放大器差分输入反向端、检测电流产生电路的反馈输出信号相连,输出端接放大器差分输入正向端;偏置电压产生电路的输入端接VDD,输出端接放大器偏置输入端及最大负载指示电路的偏置输入端;放大器的输出端接检测电流产生电路的输入端及最大负载指示电路的输入端;最大负载指示电路可以限制检测输出信号的最大值;检测电流产生电路信号输出端传输检测信号。本发明可在8V~36V电源范围内检测负载电流,具有检测速度快、检测精度高等优点。(The invention discloses a current detection circuit, and belongs to the technical field of analog integrated circuits. The load current detection circuit comprises a load current sampling circuit, a bias voltage generating circuit, an amplifier, a detection current generating circuit and a maximum load indicating circuit; the power supply input end of the load current sampling circuit is connected with VCC, the signal input end is connected with Vg, the feedback input end is connected with the differential input reverse end of the amplifier and the feedback output signal of the detection current generating circuit, and the output end is connected with the differential input forward end of the amplifier; the input end of the bias voltage generating circuit is connected with VDD, and the output end of the bias voltage generating circuit is connected with the bias input end of the amplifier and the bias input end of the maximum load indicating circuit; the output end of the amplifier is connected with the input end of the detection current generating circuit and the input end of the maximum load indicating circuit; the maximum load indication circuit may limit the maximum value of the detection output signal; the signal output end of the detection current generation circuit transmits a detection signal. The invention can detect the load current in the power supply range of 8V-36V and has the advantages of high detection speed, high detection precision and the like.)

1. A current detection circuit is characterized by comprising a load current sampling circuit, a bias voltage generating circuit, an amplifier circuit, a detection current generating circuit and a maximum load indicating circuit; the power supply input end of the load current sampling circuit is connected with a first power supply voltage, the signal input end is connected with a driving signal, the feedback input end is connected with the differential input reverse end of the amplifier and the feedback output signal of the detection current generating circuit, and the output end is connected with the differential input forward end of the amplifier and used for generating a voltage signal compared by the amplifier circuit; the input end of the bias voltage generating circuit is connected with a second power supply voltage, and the output end of the bias voltage generating circuit is connected with the bias input end of the amplifier circuit and the bias input end of the maximum load indicating circuit and is used for generating a bias voltage signal; the output end of the amplifier circuit is connected with the input end of the detection current generating circuit and the input end of the maximum load indicating circuit; one signal input end of the maximum load indicating circuit is connected with the output end of the amplifier circuit, the other signal input end of the maximum load indicating circuit is connected with the feedback output end of the detection current generating circuit, and the output end of the maximum load indicating circuit is connected with the feedback input end of the amplifier circuit; the detection current generation circuit, the load current sampling circuit and the amplifier circuit form a closed-loop negative feedback loop, so that differential signals at differential input ends of the amplifier circuit are equal, and a signal output end of the detection current generation circuit transmits detection signals.

2. The current detection circuit according to claim 1, wherein the first power supply voltage range is 8V to 36V, and the second power supply voltage range is 4V to 5V.

3. The current detection circuit according to claim 1, wherein the load current sampling circuit comprises a power tube, a sampling tube and a first resistor, gates of the power tube and the sampling tube are connected with a signal input end driving signal, a source of the power tube is connected with a differential forward input end of the amplifier circuit, and a source of the sampling tube is connected with a feedback output signal of the detection current generation circuit and a differential reverse input end of the amplifier circuit; the positive end of the first resistor is connected with the source electrode of the power tube, and the negative end of the first resistor is connected with the source electrode of the sampling tube.

4. The current detection circuit of claim 3, wherein the power transistor and the sampling transistor are both NMOS transistors.

5. The current sensing circuit of claim 2, wherein the signal input drives the signal level higher than the first power supply voltage.

6. The current detection circuit of claim 1, wherein the amplifier circuit comprises a bias voltage conversion circuit, a two-stage amplifier circuit, and a voltage regulation circuit; the bias voltage conversion circuit converts low-voltage bias voltage into bias voltage suitable for the level of the amplifier, and the voltage regulation circuit regulates the first power supply voltage to enable the secondary amplifier circuit to work under the voltage condition of 5V.

7. The current sensing circuit of claim 6, wherein the voltage regulation circuit comprises a zener diode.

8. The current detection circuit of claim 1, wherein when the load current increases but does not reach the maximum load, the detection voltage output by the detection current generation circuit increases; when the load current is reduced, the detection voltage output by the detection current generation circuit is reduced.

9. The current detection circuit of claim 1, wherein the maximum load indication circuit limits the detected voltage when the load current increases to a maximum load, and the detected voltage output by the detected current generation circuit is maintained at a maximum load display value.

Technical Field

The invention relates to the technical field of analog integrated circuits, in particular to a current detection circuit.

Background

For chips such as high-side driver chips or switching power supplies, it is often necessary to detect changes in load current. With the rapid development of power management systems, the range of power supply voltages in which circuit modules or chips operate is wider and wider, and it is difficult to accurately and rapidly detect load currents within a large range of power supply voltages for conventional current detection. Therefore, a current detection circuit capable of accurately and rapidly detecting a change in load current under a wide range of high power supply voltages is required.

Fig. 1 shows a conventional current detection circuit, which includes: an operational amplifier, a PMOS tube P1, NMOS tubes N1 and N2, a resistor R1 and a load circuit. The N2 tube and the N1 tube are NMOS transistors of the same type, and the width-to-length ratio of the N2 tube is in a certain proportion to that of the N1 tube. When the load current increases, the source voltage of N1 decreases, the P1 gate voltage is decreased by the operational amplifier, so the N2 source decreases, finally the N2 source voltage is consistent with the N1 source voltage, the N2 tube generates a current proportional to the load current, and a detection voltage is generated on R1. In this structure, when the power supply voltage varies in a large range, the source voltage of the N1 transistor also varies in a large range, thereby exceeding the common mode range of the input pair transistors of the operational amplifier, and causing the amplifier to fail to work normally. Therefore, for a circuit module or a chip with a wide variation of the power supply voltage, the circuit cannot normally detect the load current.

Disclosure of Invention

The invention aims to provide a current detection circuit aiming at overcoming the problem that the current detection circuit is difficult to accurately and quickly detect load current in a wide power supply voltage range.

In order to achieve the above object, the present invention adopts a technical solution that is a current detection circuit of a wide-range high power supply voltage, including a load current sampling circuit, a bias voltage generating circuit, an amplifier circuit, a detection current generating circuit, and a maximum load indicating circuit; the power supply input end of the load current sampling circuit is connected with a first power supply voltage, the signal input end is connected with a driving signal, the feedback input end is connected with the differential input reverse end of the amplifier and the feedback output signal of the detection current generating circuit, and the output end is connected with the differential input forward end of the amplifier and used for generating a voltage signal compared by the amplifier circuit; the input end of the bias voltage generating circuit is connected with a second power supply voltage, and the output end of the bias voltage generating circuit is connected with the bias input end of the amplifier circuit and the bias input end of the maximum load indicating circuit and is used for generating a bias voltage signal; the output end of the amplifier circuit is connected with the input end of the detection current generating circuit and the input end of the maximum load indicating circuit; one signal input end of the maximum load indicating circuit is connected with the output end of the amplifier circuit, the other signal input end of the maximum load indicating circuit is connected with the feedback output end of the detection current generating circuit, and the output end of the maximum load indicating circuit is connected with the feedback input end of the amplifier circuit; the detection current generation circuit, the load current sampling circuit and the amplifier circuit form a closed-loop negative feedback loop, so that differential signals at differential input ends of the amplifier circuit are equal, and a signal output end of the detection current generation circuit transmits detection signals.

Further, the first power voltage range is 8V to 36V, and the second power voltage range is 4V to 5V.

Preferably, the load current sampling circuit comprises a power tube, a sampling tube and a first resistor; the grid electrodes of the power tube and the sampling tube are connected with a signal input end driving signal, the source electrode of the power tube is connected with a differential forward input end of the amplifier, and the source electrode of the sampling tube is connected with a feedback output signal of the detection current generating circuit and a differential reverse input end of the amplifier; the positive end of the first resistor is connected with the source electrode of the power tube, and the negative end of the first resistor is connected with the source electrode of the sampling tube.

Preferably, the load current sampling circuit power tube and the sampling tube are both NMOS transistors.

Preferably, the signal input terminal of the load current sampling circuit drives the signal higher than the first power supply voltage.

Preferably, the amplifier circuit includes a bias voltage conversion circuit, a secondary amplifier circuit, and a voltage regulation circuit; the bias voltage conversion circuit converts low-voltage bias voltage into bias voltage suitable for the level of the amplifier, and the voltage regulation circuit regulates the first power supply voltage to enable the secondary amplifier circuit to work under the voltage condition of 5V.

Preferably, the voltage regulating circuit in the amplifier circuit comprises a zener diode.

Preferably, when the load current is continuously increased and does not reach the maximum load, the detection voltage output by the detection current generation circuit is increased; when the load current is reduced, the detection voltage output by the detection current generation circuit is reduced.

Preferably, the maximum load indicating circuit limits the detected voltage when the load current increases to the maximum load, and the detected voltage output by the detected current generating circuit is maintained at the maximum load display value.

Through the technical scheme, the invention can obtain the following beneficial effects:

1. according to the invention, the first resistor adopted by the load current sampling circuit can adjust the second NMOS tube when the load current is suddenly changed, so that the response speed of current detection is enhanced, and the current detection can be carried out when the load is changed rapidly.

2. The amplifier circuit adopted by the invention comprises a secondary amplifier circuit, a voltage regulating circuit and a bias voltage conversion circuit. The secondary amplifier circuit increases the gain of the amplifier, so that the current detection is more accurate; the bias voltage conversion circuit and the voltage regulating circuit enable the amplifier to work under the condition of wide-range power supply voltage, and design is more flexible.

3. The maximum load indicating circuit adopted by the invention can indicate when a circuit system or a chip reaches the maximum load, the output detection voltage reaches the maximum value, and the load current reaches the maximum value.

Drawings

FIG. 1 is a schematic diagram of a current detection circuit according to the prior art;

FIG. 2 is a block diagram of a current detection circuit according to the present invention;

fig. 3 is a schematic structural diagram of a current detection circuit according to an embodiment of the present invention;

description of reference numerals:

100. 200 and 300: current detection circuit, 201, 301: first power supply voltage VCC, 202, 302: second power supply voltage VDD, 203, 303: drive signal Vg, 204, 304 of the load current sampling circuit: load current sampling circuit, 205, 305: bias voltage generation circuit, 206, 306: amplifier circuit, 207, 307: detection current generation circuit, 208, 308: maximum load indication circuit, 209, 309: amplifier circuit differential inverting input signal and detection current generating circuit feedback output signal, 210, 310: amplifier circuit differential forward input signal, 211, 311: bias voltage signal, 212, 312: output signal of amplifier, 213, 313: output signal Vout, 214, 314: the maximum load indicates the output signal of the circuit.

Detailed Description

In order to make the objects, technical solutions and effects of the present invention comprehensible, embodiments of the present invention are described below with reference to the accompanying drawings. The details described below are only for the purpose of a full understanding of the present invention, but the present invention is not limited by the specific examples disclosed below.

Fig. 2 is a schematic structural diagram of a current detection circuit 200 according to the present invention, which includes a load current sampling circuit 204, a bias voltage generation circuit 205, an amplifier circuit 206, a detection current generation circuit 207, and a maximum load indication circuit 208.

Specifically, the amplifier inverting input signal 209 is adjusted by a closed-loop negative feedback structure formed by the load current sampling circuit 204, the amplifier circuit 206, and the detection current generating circuit 207, so that the amplifier differential input signals 209 and 210 are equal. And the load current sampling circuit can accurately sample the load current, so that the detection current generation circuit outputs the detection voltage Vout proportional to the load current. The bias voltage generating circuit generates a bias voltage signal 211 at a low power supply voltage VDD as a bias signal for the amplifier circuit and the maximum load indicating circuit. When the load current reaches the maximum load, the maximum load indication circuit limits the amplifier output signal 212 so that the output voltage Vout of the detection current generation circuit is maintained at the maximum value. It should be noted that, in this example, a part of MOS transistors adopt high-voltage MOS transistors with high voltage resistance, where high voltage resistance refers to high voltage resistance of drain-source voltage, and a specific high voltage resistance value of the high-voltage MOS transistor is selected according to a specific application scenario, and in this example, the high-voltage MOS transistors uniformly adopt high-voltage MOS transistors with drain-source voltage resistant to 40V high voltage.

Fig. 3 shows a schematic structure of a current detection circuit, and it should be noted that the circuit shown in fig. 3 is one of various embodiments of the current detection circuit 200. In the embodiment shown in fig. 3, the bias voltage generating circuit 305 of the current detecting circuit 300 comprises a first current source I1 and a third NMOS transistor N3, wherein the sources of N3 are grounded, the gate and the drain are shorted and connected to the output terminal of the first current source I1, and the input terminal of I1 is connected to the second power voltage VDD.

In the embodiment shown in fig. 3, the load current sampling circuit 304 of the current detection circuit 300 comprises a power tube first NMOS tube N1, a sampling tube second NMOS tube N2, a first resistor R1 and a load. Wherein, N1 and N2 are both high voltage NMOS transistors, the source of N1 is connected to the differential forward input signal 310 of the amplifier circuit 306, and the source of N2 is connected to the differential reverse input signal 309 of the amplifier circuit 306. The positive terminal of the first resistor is connected with the source of N1, and the negative terminal is connected with the source of N2. The positive end of the load is connected with the source of the N1, and the negative end is grounded. The drains of the N1 and the N2 are connected with a first power supply voltage VCC, and the grid is connected with an input driving signal Vg. As the load becomes larger, the voltage at the source of N1 drops, and therefore the voltage at the differential positive input signal 310 of the amplifier drops.

The amplifier circuit 306 of the current detection circuit 300 in the embodiment shown in fig. 3 includes: p-type MOS transistors P1-P9, N-type MOS transistors N4-N14, a second resistor R2, a first capacitor C1 and a first voltage-stabilizing diode D1. Wherein, P1, P2, N5, N12 and N14 are high-voltage MOS tubes. Bias voltage 311 is connected with gates of N4 and N11, a second power supply is connected with gates of N5, N12 and N14, a source of N5 is connected with a drain of N5, a gate-drain short circuit of P5 is connected with a gate of P5 and a drain of N5, a gate-drain short circuit of N5 is connected with a drain of P5, a gate of N5 is connected with a gate of N5 and a gate of N5, a source of N5 is connected with a source of N5, a drain of N5 is connected with a source of N5, a positive input signal terminal of N5, a gate of N5 is connected with a positive input signal 310, a gate of P5 is connected with a gate of P5, a drain short circuit of P5 is connected with a gate of P5, a drain is connected with a drain of N5, a drain of N5, a drain of a first capacitor is connected with a drain, a drain of N5, a P5 and a drain, a drain of N5 is connected with a negative output resistor, a P5, a P, the P3-P9 source short circuit is connected with the P1 drain electrode, the P2 drain electrode and the negative terminal of the first voltage stabilizing diode, the P1 source electrode and the P2 source electrode are connected with the reverse input signal 309, and the N4, N11 and N13 source electrodes are grounded.

Further described, the amplifier circuit includes a bias voltage conversion circuit, a two-stage amplifier circuit, and a voltage regulation circuit. The bias voltage conversion circuit comprises N4-N6, N11, N12, P5 and P6; the secondary amplifier circuit comprises P3, P4, P7-P9, N7-N10, N13, N14, C1 and R2; the voltage regulating circuit comprises P1, P2 and D1. The bias voltage conversion circuit converts the bias voltage 311 generated by the second power supply voltage VDD into a bias voltage suitable for the second-stage amplifier circuit, and controls the gate voltages of N7 and N10. It should be noted that although the source voltages of N7, N10 are not fixed, the gate-source voltage differences of N7, N10 are fixed by the adjustment of the bias converting circuit, the currents through N7, N10 are proportional to the first current source I1, and are applicable to the amplifier level voltage. The voltage regulating circuit primarily regulates the first power supply voltage VCC, and the maximum voltage difference of the working of the secondary amplifier does not exceed the regulated voltage value of D1 through the voltage stabilizing diode D1. The secondary amplifier amplifies the voltage difference between the differential input signals 309, 310 to produce an output signal 312. As the load increases, the amplifier positive input signal 310 decreases and the output signal 312 decreases. The C1 and R2 function as miller capacitance compensation to stabilize the amplifier circuit. N13, N14, P8 and P9 clamp the output voltage signal 312 of the amplifier, when the load reaches the maximum, the branch of the N13 tube generates current, and the P8 tube mirrors the current of the P9 tube, so that the output voltage 312 of the amplifier is pulled up, and the output voltage 312 of the amplifier circuit is limited.

The detection current generation circuit 307 of the current detection circuit 300 in the embodiment shown in fig. 3 includes: eleventh PMOS transistor P11, third resistor R3. The P11 transistor is a high voltage MOS transistor, the gate of which is connected to the output voltage 312 of the amplifier circuit, and the source of which is connected to the feedback input 309 of the load current sampling circuit. The positive terminal of the third resistor R3 is connected to the drain of the P11, and the negative terminal is grounded for detecting the output signal Vout of the current generating circuit.

To describe further, when the load increases, the source voltage of the transistor N1 of the load current sampling circuit decreases, so that the output voltage 312 of the amplifier decreases, i.e., the gate voltage of the transistor P11 decreases. Therefore, the P11 source voltage also drops, i.e., the N2 tube source voltage of the load current sampling circuit also drops, and finally the N1 and N2 tube source voltages are equal. The gate-source voltages of the N1 and N2 transistors are equal, and the drain ends are short-circuited, so that the N2 generates a current proportional to the N1. Although the P1 and P2 tube branches shunt the current of the N2 tube, the sampling current generated by the N2 tube is negligible compared with the sampling current generated by the N2 tube, so that the N2 tube generates a current proportional to the load, and the current flows through the third resistor R3 to generate the detection voltage Vout proportional to the load. It should be noted that when the load changes rapidly, the source voltage of the N1 transistor also changes rapidly, and the source voltage of the N2 transistor changes correspondingly only through the whole loop of the amplifier circuit and the detection current generation circuit, so that the current detection speed is slow. And the existence of the first resistor R1 can pre-adjust the N2 source when the voltage of the N1 source changes rapidly, so that the response speed of the circuit is enhanced. And because the amplifier circuit adopts a two-stage amplifier structure, the gain is higher, and the current detection precision is enhanced.

The maximum load indication circuit 308 of the current detection circuit 300 in the embodiment shown in fig. 3 includes: a tenth PMOS transistor P10, a fifteenth, a sixteenth and a seventeenth NMOS transistors N15, N16 and N17. Wherein, P10 and N17 are high voltage MOS tubes. The P10 gate is connected to the amplifier circuit output voltage 312, the source is connected to the feedback output signal 309 of the detection current generation circuit, and the drain is connected to the N17 drain. The N15 grid source short circuit is connected with the output voltage 314 of the maximum load indicating circuit and the source of N17. The gate of N17 is connected to the second power voltage VDD, and the source is connected to the drain of N16. The sources of N15 and N16 are grounded. When the load current does not reach the maximum load, the current of the P11 tube sampled by the P10 tube is smaller than the current of the N16 tube, so the drain voltage of the N16 tube is reduced, no current exists in the N15 tube branch, and the output voltage 314 of the maximum load indicating circuit is smaller than the threshold voltage of the NMOS tube. When the load current reaches or exceeds the maximum load, the current of the P10 tube is larger than that of the N16 tube, the redundant current flows through the N15 tube, the output voltage 314 is larger than the threshold voltage of the NMOS tube and is transmitted to the gate of the N13 tube of the amplifier circuit, the output voltage 312 of the amplifier circuit is limited, and the output voltage Vout of the detection current generation circuit is kept unchanged.

In summary, when the load does not reach the maximum value, the output voltage Vout of the current detection circuit is proportional to the load and increases with the increase of the load. When the load reaches a maximum value, the output voltage Vout no longer varies with load variations, and remains at the maximum value. The current detection circuit can work under the condition of wide range and high power supply voltage, and has the advantages of high detection speed, high detection precision and the like.

It will be understood by those skilled in the art that the foregoing is only a preferred embodiment of the present invention, and is not intended to limit the invention, and that any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the scope of the present invention.

8页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种电压过冲检测电路

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!