Current sense circuit
The current sense circuit addresses offset voltage variations by using transistors and resistors with switching units to alternately switch connections, resulting in reduced resistor mismatches and improved current detection accuracy.
Patent Information
- Application Number
- JP2023020246
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-02-13
- Publication Date
- 2024-08-23
AI Technical Summary
Existing current sensing circuits face variations in offset voltage due to mismatch between resistors, which cannot be adequately addressed by existing technologies.
A current sense circuit design that includes a first and second transistor, a first and second resistor, and switching units controlled by a clock signal to alternately switch the connection destinations of these components, effectively reducing variations in offset voltage by canceling out mismatches between resistors.
The circuit significantly reduces variations in the current detection signal by alternately switching resistor connections, achieving more stable and accurate current sensing.
Smart Images

Figure 2024114456000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to a current sensing circuit. [Background technology]
[0002] A current sense circuit that outputs a current detection signal corresponding to a voltage drop occurring in a sense resistor that detects a current has been proposed, for example, as described in Patent Document 1. The current sense circuit of Patent Document 1 has an operational amplifier that amplifies the voltage across the sense resistor and outputs it as a current detection signal.
[0003] However, the above-mentioned current sense circuit has a problem in that the offset voltage of the current detection signal varies from product to product. Therefore, it is conceivable to apply the technology of Patent Document 1 and Patent Document 2 to use a chopper operational amplifier as the operational amplifier to reduce the variation in the offset voltage.
[0004] By applying the technology of Patent Document 2 to Patent Document 1, the variation in the offset voltage of the operational amplifier itself can be reduced. However, there is a problem in that the variation in the offset voltage caused by the variation in the two resistors connected between the two inputs of the operational amplifier and both ends of the sense resistor cannot be reduced, and the variation in the offset voltage cannot be reduced sufficiently. [Prior art documents] [Patent documents]
[0005] [Patent Document 1] U.S. Patent No. 7,239,204 [Patent Document 2] U.S. Pat. No. 1,039,6724 Summary of the Invention [Problem to be solved by the invention]
[0006] The present invention has been made in consideration of the above-mentioned circumstances, and has an object to provide a current sense circuit capable of reducing variations in the offset voltage of a current detection signal. [Means for solving the problem]
[0007] In order to achieve the above-mentioned object, a current sense circuit according to the present invention has the following features [1] to [3]. [1] A current sense circuit that outputs a current detection signal obtained by amplifying a voltage drop occurring in a sense resistor, a first resistor connected to one end of the sense resistor; a second resistor connected to the other end of the sense resistor; a first transistor connected between a first power supply line to which a first power supply potential is supplied and the first resistor or the second resistor; a second transistor connected between the first power supply line and the first resistor or the second resistor; a first switching unit that switches a connection destination of the first resistor and a connection destination of the second resistor between the emitter or the source of the first transistor and the emitter or the source of the second transistor, respectively; an operational amplifier that receives the collectors or drains of the first transistor and the second transistor and operates to supply a first current to the second resistor such that an emitter potential or a source potential of the first transistor and the second transistor become equal; a second switching unit that switches the connection destination of the collector or the drain of the first transistor and the second transistor between the inverting input and the non-inverting input of the operational amplifier, It is a current sensing circuit. [2] A current sense circuit according to [1], a control unit that outputs a clock signal to the first switching unit and the second switching unit to control the first switching unit and the second switching unit; The control unit performs control so as to alternately switch between a first state in which the first resistor is connected to the emitter or source of the first transistor, the second resistor is connected to the emitter or source of the second transistor, the collector or drain of the first transistor is connected to the inverting input of the operational amplifier, and the collector or drain of the second transistor is connected to the non-inverting input of the operational amplifier, and a second state in which the first resistor is connected to the emitter or source of the second transistor, the second resistor is connected to the emitter or source of the first transistor, the collector or drain of the first transistor is connected to the non-inverting input of the operational amplifier, and the collector or drain of the second transistor is connected to the inverting input of the operational amplifier. It is a current sensing circuit. [3] In the current sense circuit according to [2], The duty ratio of the clock signal is set to be variable. It is a current sensing circuit. Effect of the Invention
[0008] According to the present invention, it is possible to provide a current sense circuit capable of reducing variations in the offset voltage of a current detection signal.
[0009] The present invention has been briefly described above. Furthermore, the details of the present invention will be further clarified by reading the following description of the embodiment of the present invention (hereinafter, referred to as "embodiment") with reference to the accompanying drawings. [Brief description of the drawings]
[0010] [Figure 1] FIG. 1 is a circuit diagram showing an embodiment of a battery charging device incorporating a current sensing circuit of the present invention. [Diagram 2] FIG. 2 is a circuit diagram showing details of the current sensing circuit shown in FIG. 1 in the first embodiment. [Diagram 3]FIG. 3 is a circuit diagram showing details of the current sensing circuit shown in FIG. 1 according to the second embodiment. [Figure 4] FIG. 4 is a graph showing simulation results of the current detection signal Vis of a plurality of current sense circuits shown in FIG. 3 with different degrees of mismatch between the resistors R1 and R2. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0011] Specific embodiments of the present invention will be described below with reference to the accompanying drawings.
[0012] (First embodiment) 1, the current sense circuit 4 of this embodiment is used in, for example, a charging device 1 for a battery 3. The charging device 1 is composed of a well-known step-down DC / DC converter having transistors M11 and M12, a coil Lout, a capacitor Cout, and a control unit 2 that controls the transistors M11 and M12, and supplies the battery 3 with an output voltage Vout obtained by stepping down an input voltage V+.
[0013] The charging device 1 has a sense resistor Rs for detecting an inductor current flowing through the coil Lout, a current sense circuit 4 for detecting a current Is flowing through the sense resistor Rs, and voltage detection resistors R11 and R12 for detecting an output voltage Vout supplied to the battery 3. A current detection signal detected by the current sense circuit 4 and a voltage detection signal detected by the voltage detection resistors R11 and R12 are supplied to a control unit 2. The control unit 2 controls the on / off of the transistors M11 and M12 based on the current detection signal and the voltage detection signal.
[0014] Next, details of the above-mentioned current sense circuit 4 will be described with reference to Fig. 2. As shown in the figure, the current sense circuit 4 has a current source 41, a transistor Q11, a transistor Q12 as a first transistor, a transistor Q21, a transistor Q22 as a second transistor, a resistor R1 as a first resistor, a resistor R2 as a second resistor, a first switching unit 42, resistors R5 and R6, a second switching unit 43, an operational amplifier 44, a transistor M2, a resistor R7, and a control unit 45.
[0015] The current source 41 is connected between a power supply line L as a first power supply line to which a voltage V+ as a first power supply potential is supplied and the collectors of the transistors Q11 and Q21. The transistors Q11, Q12, Q21, and Q22 are configured from NPN-type bipolar transistors. The base and collector of the transistors Q11 and Q21 are connected to each other. The base of the transistors Q12 and Q22 is connected to the base and collector of the transistors Q11 and Q21. The emitters of the transistors Q11 and Q12 are commonly connected to each other, and the emitters of the transistors Q21 and Q22 are commonly connected to each other.
[0016] The transistors Q11 and Q12 form a current mirror circuit, in which the current flowing through the transistor Q11 is reflected as the emitter current Ie1 of the transistor Q12. The transistors Q21 and Q22 form a current mirror circuit, in which the current flowing through the transistor Q21 is reflected as the emitter current Ie2 of the transistor Q22.
[0017] The resistor R1 is connected to the input terminal INN. The resistor R2 is connected to the input terminal INP. The resistors R1 and R2 have the same resistance value (R1≈R2). The input terminal INN is connected to one end of the sense resistor Rs, and the input terminal INP is connected to the other end of the sense resistor Rs. The first switching unit 42 switches the connection destination of the resistors R1 and R2 between the emitters of the transistors Q11 and Q12 and the emitters of the transistors Q21 and Q22, respectively.
[0018] The first switching unit 42 has switches S1 and S2. The switch S1 is provided between the resistor R1 and the transistors Q11, Q12, Q21, and Q22, and switches the connection destination of the resistor R1 between the emitters of the transistors Q11 and Q12 and the emitters of the transistors Q21 and Q22. The switch S2 is provided between the resistor R2 and the transistors Q11, Q12, Q21, and Q22, and switches the connection destination of the resistor R2 between the emitters of the transistors Q11 and Q12 and the emitters of the transistors Q21 and Q22.
[0019] Resistor R5 is connected between the collector of transistor Q12 and the power supply line L. Resistor R6 is connected between the collector of transistor Q22 and the power supply line L. Resistors R5 and R6 have the same resistance value (R5=R6). Second switching unit 43 switches the connection destination of the collectors of transistors Q12 and Q22 between the inverting input and the non-inverting input of an operational amplifier 44 described later.
[0020] The second switching unit 43 has switches S3 and S4. The switch S3 is provided between the connection point of the resistor R5 and the collector of the transistor Q12 and the inverting input and non-inverting input of an operational amplifier 44, which will be described later. The switch S3 switches the connection destination of the collector of the transistor Q12 between the inverting input and the non-inverting input of the operational amplifier 44.
[0021] The changeover switch S4 is provided between the connection point of the resistor R6 and the collector of the transistor Q22 and the inverting input and non-inverting input of the operational amplifier 44. The changeover switch S4 switches the connection destination of the collector of the transistor Q22 between the inverting input and the non-inverting input of the operational amplifier 44.
[0022] The output of the operational amplifier 44 is connected to the gate of the transistor M2. The transistor M2 is composed of a P-channel field effect transistor. The drain of the transistor M2 is connected to the connection point of the resistor R2 and the changeover switch S2. The resistor R7 is connected between the source of the transistor M2 and the power supply line L.
[0023] Next, the basic operation of a conventional current sense circuit 4 will be described, which does not have the first switching unit 42 and the second switching unit 43, has a resistor R1 connected to the emitters of transistors Q11 and Q12, a resistor R2 connected to the emitters of transistors Q21 and Q22, the collector of transistor Q12 connected to the inverting input of an operational amplifier 44, and the collector of transistor Q22 connected to the non-inverting input of the operational amplifier 44.
[0024] Due to the action of the current mirror circuit, when the emitter potentials of the transistors Q12 and Q22 are equal, equal emitter currents Ie1 and Ie2 flow. When no current flows through the sense resistor Rs, the voltages Vn and Vp input to the input terminals INN and INP are equal, so the emitter potentials Ven and Vep of the transistors Q11, Q12, Q21, and Q22 are the same.
[0025] In contrast, when a current flows through the sense resistor Rs, a potential difference ΔVe occurs between the emitters of the transistors Q11, Q12 and the transistors Q21, Q22, which is equal to the voltage drop Rs×Is that occurs across the sense resistor Rs, as shown in the following equation (1). ΔVe = Rs × Is … (1)
[0026] Therefore, the operational amplifier 44 controls the transistor M2 to supply the drain current Id (=first current) shown in the formula (2) to the resistor R2 so that the emitter potentials Ven and Vep of the transistors Q11 and Q12 and the emitter potentials Vep of the transistors Q21 and Q22 become equal. Id = Is × Rs / R2 … (2)
[0027] The current sense circuit 4 further includes a transistor M3, resistors R8 and R9, and an operational amplifier 46, and converts the drain current Id into a voltage and outputs it from the output terminal OUT as a current detection signal Vis. The resistors R8 and R9 are connected in series between the power supply line L and the ground. The transistor M3 is a P-channel field effect transistor and is connected between the resistors R8 and R9. The operational amplifier 46 has a non-inverting input connected to the resistor R7 and the source of the transistor M2, an inverting input connected to the source of the transistor M3, and an output connected to the gate of the transistor M3.
[0028] An operational amplifier 46 controls the transistor M3 so that a current corresponding to the voltage at the connection point between the resistor R7, through which the drain current Id flows, and the source of the transistor M2 flows through the resistors R8 and R9. The resistor R9 and the drain of the transistor M3 are connected to an output terminal OUT, and a current detection signal Vis obtained by amplifying the voltage drop Rs×Is is output from the output terminal OUT.
[0029] However, if a mismatch occurs in the resistors R1 and R2 (they do not have the same resistance value), the above-mentioned emitter potential difference ΔVe is added to the voltage drop Rs×Is generated across the sense resistor Rs as well as the difference between the voltage drops generated across the resistors R1 and R2, as shown in the following equation (3). ΔVe=Rs×Is+(R1-R2)×Ie1(=Ie2) …(3) Therefore, as shown in equation (4), an offset corresponding to the value (R1-R2) obtained by subtracting the resistance value of resistor R2 from the resistance value of resistor R1 is added to the drain current Id, and the offset voltage of the current detection signal Vis corresponding to the drain current Id varies. Id={Is×Rs+(R1-R2)×Ie1} / R2…(4)
[0030] Therefore, in this embodiment, the connection destination of the resistors R1, R2 is switched between the emitters of the transistors Q11, Q12 and the emitters of the transistors Q21, Q22, and the connection destination of the collectors of the transistors Q12, Q22 is switched between the non-inverting input and the inverting input of the operational amplifier 44, thereby reducing the variation in the current detection signal Vis due to the mismatch of the resistors R1, R2.
[0031] 2, the first state is a state in which switches S1 and S2 connect resistor R1 to the emitters of transistors Q11 and Q12, resistor R2 to the emitters of transistors Q21 and Q22, and switches S3 and S4 connect the collector of transistor Q12 to the inverting input of operational amplifier 44 and the collector of transistor Q22 to the non-inverting input of operational amplifier 44. In the first state, the drain current Id is given by equation (4) above.
[0032] Next, the second state is defined as a state in which resistor R1 is connected to the emitters of transistors Q21 and Q22, and resistor R2 is connected to the emitters of transistors Q11 and Q12 by switches S1 and S2, and the collector of transistor Q12 is connected to the non-inverting input of operational amplifier 44 and the collector of transistor Q22 is connected to the inverting input of operational amplifier 44 by switches S3 and S4.
[0033] In the second state, as shown in equation (5), an offset corresponding to the value obtained by subtracting the resistance value of resistor R1 from the resistance value of resistor R2 (R2-R1) is added to the drain current Id, which is the opposite to the first state. Id={Is×Rs+(R2-R1)×Ie1} / R2…(5)
[0034] The control unit 45 supplies the switches S1 and S2 with clock signals that are inverted from each other, and also supplies the switches S3 and S4 with clock signals that are inverted from each other. The control unit 45 outputs a clock signal with a duty of, for example, 50%. In this way, the control unit 45 controls the switches S1, S2, S3, and S4 to periodically alternate between a first state and a second state. In this way, by alternately switching between the first state and the second state, the drain current Id becomes a value in which the variations in the resistors R1 and R2 are offset, and the variations in the current detection signal Vis due to the mismatch of the resistors R1 and R2 can be reduced.
[0035] Second embodiment Next, a current sense circuit 4B of the second embodiment will be described with reference to Fig. 3. In Fig. 3, the same reference numerals are used for the parts equivalent to those of the current sense circuit 4 shown in Fig. 2 already described in the first embodiment, and detailed description thereof will be omitted. In Fig. 3, the operational amplifier 46, resistors R8 and R9, and transistor M3 shown in Fig. 2 are omitted.
[0036] The major difference between the first and second embodiments is the configuration of the second switching unit 43 B. The components other than the second switching unit 43 B are the same as those in the first embodiment, and therefore will not be described.
[0037] The second switching unit 43B has switches S3B and S4B. The switch S3B is provided between the connection point between the resistor R5 and the inverting input of the operational amplifier 44 and the collectors of the transistors Q12 and Q22. By switching the switch S3B, the inverting input of the operational amplifier 44 is switched between the collector of the transistor Q12 and the collector of the transistor Q22. The switch S4B is provided between the connection point between the resistor R6 and the non-inverting input of the operational amplifier 44 and the collectors of the transistors Q12 and Q22. By switching the switch S4B, the non-inverting input of the operational amplifier 44 is switched between the collector of the transistor Q12 and the collector of the transistor Q22.
[0038] Now, as shown in FIG. 3, a first state is defined as a state in which switches S1 and S2 connect resistor R1 to the emitters of transistors Q11 and Q12, and resistor R2 to the emitters of transistors Q21 and Q22, and switches S3B and S4B connect the collector of transistor Q12 to the inverting input of operational amplifier 44, and the collector of transistor Q22 to the non-inverting input of operational amplifier 44.
[0039] Next, the second state is defined as a state in which resistor R1 is connected to the emitters of transistors Q21 and Q22, and resistor R2 is connected to the emitters of transistors Q11 and Q12 by switches S1 and S2, and the collector of transistor Q12 is connected to the non-inverting input of operational amplifier 44 and the collector of transistor Q22 is connected to the inverting input of operational amplifier 44 by switches S3B and S4B.
[0040] The control unit 45 (not shown in FIG. 3) controls the changeover switches S1, S2, S3B, and S4B to periodically alternate between the first state and the second state, as in the first embodiment. This makes it possible to reduce the variation in the current detection signal Vis due to the mismatch of the resistors R1 and R2, as in the first embodiment.
[0041] The inventors performed a Monte Carlo simulation of the current detection signal Vis when the same current was passed through the sense resistor Rs in multiple current sense circuits 4B shown in Fig. 3, each of which has a different degree of mismatch between the resistors R1 and R2. The results are shown in Fig. 4. A filter was provided at the output terminal OUT, and the average value of the current detection signal Vis was measured.
[0042] As shown on the left side of the figure, before a clock is input to the changeover switches S1, S2, S3B, and S4B, i.e., when the changeover switches S1, S2, S3B, and S4B are not switched, the current detection signal Vis varies greatly for each current sense circuit 4B. In contrast, as shown on the right side of the figure, when a clock is input to the changeover switches S1, S2, S3B, and S4B and the changeover switches S1, S2, S3B, and S4B are controlled to be switched, it can be seen that the variation in the current detection signal Vis can be reduced to about half of that before the clock is input.
[0043] The present invention is not limited to the above-described embodiment, and can be appropriately modified, improved, etc. In addition, the material, shape, size, number, arrangement location, etc. of each component in the above-described embodiment are arbitrary as long as the present invention can be achieved, and are not limited.
[0044] In the first and second embodiments, the control unit 45 outputs a clock signal with a duty of 50% to control the changeover switches S1, S2, S3, S4, S3B, and S4B, but this is not limited to this. The variation in the current detection signal Vis caused by the mismatch of the resistors R1 and R2 can be reduced by a clock signal with a duty of 50%. However, the cause of the variation in the current detection signal Vis is not only the mismatch of the resistors R1 and R2. Therefore, the duty of the clock signal may be made variable and adjusted to a duty that brings the offset voltage of the current detection signal Vis into a certain range.
[0045] According to the above-mentioned embodiment, the current sense circuit 4 has four transistors Q11, Q12, Q21, and Q22, but is not limited to this. For example, one of the two transistors constituting the current mirror circuit may be a first transistor and the other may be a second transistor, and the current sense circuit 4 may have two transistors. In this case, the collector and base of one of the two transistors may be connected to the base of the other transistor, and the current source 411 may be connected between the power supply line L1 and the collector of one of the two transistors. The collector of the other transistor may be connected to the power supply line L1 via another current source or resistor, for example, to supply a collector current.
[0046] According to the above-mentioned embodiment, bipolar transistors are used as the transistors Q11, Q12, Q21, and Q22, but this is not limited thereto. The transistors Q11, Q12, Q21, and Q22 may be composed of field effect transistors. In this case, the NPN type can be explained by replacing the N channel, the bases of the transistors Q11, Q12, Q21, and Q22 with the gates, the emitters with the sources, and the collectors with the drains.
[0047] In addition, the conductivity types of the transistors Q11, Q12, Q21, Q22, M2, and M3 shown in Figures 2 and 3 may be reversed to supply ground to the power supply line L and supply voltage V+ to the power supply line connected to ground. [Explanation of symbols]
[0048] 4,4B Current Sense Circuit 42 First switching section 43, 43B Second switching section 44 Operational Amplifiers 45 Control section Id Drain current (first current) L Power line (first power line) Q12 transistor (first transistor) Q22 Transistor (Second Transistor) R1 Resistor (first resistor) R2 Resistor (second resistor) Rs Sense resistor Vis Current detection signal V+ voltage (first power supply potential)
Claims
1. A current sense circuit that outputs a current detection signal obtained by amplifying a voltage drop occurring in a sense resistor, a first resistor connected to one end of the sense resistor; a second resistor connected to the other end of the sense resistor; a first transistor connected between a first power supply line to which a first power supply potential is supplied and the first resistor or the second resistor; a second transistor connected between the first power supply line and the first resistor or the second resistor; a first switching unit that switches a connection destination of the first resistor and a connection destination of the second resistor between the emitter or the source of the first transistor and the emitter or the source of the second transistor, respectively; an operational amplifier that receives the collectors or drains of the first transistor and the second transistor and operates to supply a first current to the second resistor such that an emitter potential or a source potential of the first transistor and the second transistor become equal; a second switching unit that switches the connection destination of the collector or the drain of the first transistor and the second transistor between an inverting input and a non-inverting input of the operational amplifier, Current sense circuit.
2. 2. The current sense circuit of claim 1, a control unit that outputs a clock signal to the first switching unit and the second switching unit to control the first switching unit and the second switching unit; The control unit performs control so as to alternately switch between a first state in which the first resistor is connected to the emitter or source of the first transistor, the second resistor is connected to the emitter or source of the second transistor, the collector or drain of the first transistor is connected to the inverting input of the operational amplifier, and the collector or drain of the second transistor is connected to the non-inverting input of the operational amplifier, and a second state in which the first resistor is connected to the emitter or source of the second transistor, the second resistor is connected to the emitter or source of the first transistor, the collector or drain of the first transistor is connected to the non-inverting input of the operational amplifier, and the collector or drain of the second transistor is connected to the inverting input of the operational amplifier. Current sense circuit.
3. 3. The current sense circuit according to claim 2, The duty ratio of the clock signal is set to be variable. Current sense circuit.
Citation Information
Patent Citations
Amplifier with common mode loop and chop
US10396724B1
Current shunt instrumentation amplifier with extended bipolar input common mode range
US7239204B2
