This application is based upon and claims the benefit of priority of the prior Japanese Patent Application No. 2023-178392 filed on Oct. 16, 2023, the entire contents of which are incorporated herein by reference.
A certain aspect of the embodiments is related to a power supply circuit and a detection apparatus.
There has been known a power supply circuit using two regulators for supplying two DC voltages as an internal circuit of an electronic device or the like. Note that the technique related to the present disclosure is disclosed in Patent Documents 1 and 2 (Document 1: Japanese Laid-open Patent Publication No. 2004-102676, and Document 2: Japanese Laid-open Patent Publication No. 2007-14176).
In one aspect of embodiments, there is provided a power supply circuit including: a first regulator that includes a first input terminal to which a first voltage is input, a first output terminal from which a second voltage is output, and a first adjustment terminal, and adjusts the second voltage based on a voltage of the first adjustment terminal; a second regulator that includes a second input terminal to which the first voltage is input and a second output terminal from which a third voltage is output; and a differential amplifier circuit that outputs, to the first adjustment terminal, a signal corresponding to a difference between the third voltage and a fourth voltage at a first node between a plurality of first resistors connected in series between the first output terminal and a reference potential lower than the second voltage.
There is a case where two DC voltages are supplied so that the voltage ratio of the two DC voltages becomes a constant ratio. A method of supplying two DC voltages by a resistance voltage division from a power supply voltage is conceivable. However, in this method, the supplied DC voltage varies due to a current flowing through a load. It is conceivable to use two regulators and supply two DC voltages. However, an error occurs between the reference voltages of the regulators. Therefore, it is difficult to set the voltage ratio of the two DC voltages to a constant ratio.
The present disclosure has been made in view of the above problems, and it is an object of the present disclosure to provide a power supply circuit and a detection apparatus that provide a stable voltage.
Hereinafter, a description will be given of the embodiment of the present disclosure with reference to the drawings.
The voltage V1 (first voltage) is input to the terminal Tin1 (first input terminal) of the regulator 10 (first regulator). The regulator 10 converts the voltage V1 into a voltage V2 (second voltage) and outputs the voltage V2 to the terminal Tout1 (first output terminal). The terminal Gnd1 of the regulator 10 is electrically connected to the terminal Gnd. A plurality of second resistors (resistors R2a and R2b) are connected in series between the terminal Tout1 and the reference potential Vg. A node N2 (second node) between the resistors R2a and R2b is electrically connected to a terminal Adj1 (first adjustment terminal) of the regulator 10. The voltage at node N2 is a voltage V5. The regulator 10 adjusts the voltage V2 based on the voltage V5 of the terminal Adj1. The voltage V2 is output from the terminal Tout1 to the terminal T1.
The voltage V1 is input to the terminal Tin2 (second input terminal) of the regulator 12 (second regulator). The regulator 12 converts the voltage V1 into a voltage V3 (third voltage) and outputs the voltage V3 to the terminal Tout2 (second output terminal). The terminal Gnd2 of the regulator 12 is electrically connected to the terminal Gnd. A plurality of fifth resistors (resistors R3a and R3b) are connected in series between the terminal Tout2 and the reference potential Vg. A node N3 (fourth node) between the resistors R3a and R3b is electrically connected to the terminal Adj2 (second adjustment terminal) of the regulator 12. The voltage at the node N3 is a voltage V6. The regulator 12 adjusts the voltage V3 based on the voltage V6 (fifth voltage) of the terminal Adj2. The voltage V3 is output from the terminal Tout2 to the terminal T2.
In
The resistances of the resistors R2a, R2b, R3a, and R3b in
Although the LDO type linear regulator has been described as an example of the regulators 10 and 12, the regulators 10 and 12 may be other types of, for example, switching regulators, and the input voltage of the regulator 10 and the input voltage of the regulator 12 may be different from each other. In particular, the regulator 12 may be a regulator that does not include the terminal Adj2.
Referring back to
The first differential amplifier circuit 15 includes transistors Q1 (first transistor), Q2 (second transistor), resistors R4a (fourth resistor), R4b (third resistor), and R5. The transistors Q1 and Q2 are, for example, PNP bipolar transistors. The emitters of the transistors Q1 and Q2 are connected in common to, for example, a node N5. A resistor R5, for example, is connected between the node N5 and the terminal T1. The resistor R5 functions as a current source. The collector of the transistor Q1 is electrically connected to the terminal Gnd through the resistors R4a and R4b in series. The collector of the transistor Q2 is electrically connected to, for example, the terminal Gnd. The base of the transistor Q1 is electrically connected to the terminal Tout2. The base of the transistor Q2 is electrically connected to the node N1. The voltages V3 and V4 are input to the bases of the transistors Q1 and Q2, respectively. The node N4 between resistors R4a and R4b is electrically connected to the node N2 and terminal Adj1.
When the voltage V4 becomes higher than the voltage V3, the potential of the node N4 tends to become higher. As a result, a current I1 flows from the node N4 to the node N2, and the voltage V5 at the node N2 becomes high. Therefore, the regulator 10 reduces the voltage V2. When the voltage V4 becomes lower than the voltage V3, the potential of the node N4 tends to become lower. As a result, the current I1 flows from the node N2 to the node N4, and the voltage V5 at the node N2 becomes low. Therefore, the regulator 10 increases the voltage V2. The resistance values of the resistors R1a and R1b are referred to as R1a and R1b, respectively. Thereby, the ratio of the voltage V2 to the voltage V3 is a desired ratio determined from the resistance values of the resistors R1a and R1b.
Assuming that the target value of the ratio of the voltage V2 to the voltage V3 is N=V2/V3, (R1a+R1b)/R1b may be set to be the ratio N. Although there is a manufacturing error in the resistance value, in
If the resistances of the resistors R4a and R4b are too high, the voltage V5 at the node N2 hardly moves even if the difference between the voltages V3 and V4 becomes large. On the other hand, if the resistance values of the resistors R4a and R4b are too low, the change in the voltage V5 at the node N2 becomes large with respect to the difference between the voltages V3 and V4. Since oscillation occurs in the first differential amplifier circuit 15 and the second differential amplifier circuit 22, the resistance values of the resistors R4a and R4b are set appropriately so as to operate as described above.
A resistor may be provided between the transistor Q2 and the terminal Gnd. The first differential amplifier circuit 15 does not need a differential output, and a resistor need not be provided between the transistor Q2 and the reference potential Vg. This can reduce the number of parts and the cost.
The transistors Q1 and Q2 may be PchFETs, NPN bipolar transistors or NchFETs. When the transistors Q1 and Q2 are NPN bipolar transistors or NchFETs, the resistor R5 is provided between the terminal Gnd and the emitter or source of the transistors Q1 and Q2, and resistors R4a and R4b are provided between the transistor Q1 and the terminal T1. When the voltage at the node N2 is close to the voltage V2, a circuit may be configured by using the NPN bipolar transistors or NchFETs as the transistors Q1 and Q2.
In the first comparative example, the voltages V2 and V3 vary depending on the current consumption between the terminal T1 or T2 and the terminal Gnd. As a result, the voltage ratio between the voltages V2 and V3 is not constant. When the frequency of the change in the voltage V2 is high, the capacitor C5 can cut the noise. However, when the frequency of the change in the voltage V2 is as low as, for example, about 10 Hz, the noise cannot be cut. This makes it impossible to keep the ratio of the voltages V2 and V3 constant.
In the second comparative example, the regulators 10 and 12 adjust the voltages V2 and V3 so that the voltages V2 and V3 do not vary, respectively. Therefore, the voltages V2 and V3 can be prevented from varying due to the current consumption. However, there is a manufacturing error between the reference voltage Vref1 of the regulator 10 and the reference voltage Vref2 of the regulator 12. For example, a linear regulator is inexpensive, but has a large error in the reference voltage. Therefore, in order to set the ratio of the voltages V2 and V3 to a desired ratio, the resistance values of the resistors R2a, R2b, R3a, and R3b are adjusted for each of the regulators 10 and 12, which increases the manufacturing cost.
On the other hand, in the first embodiment, as illustrated in
The terminal Adj1 is electrically connected to the node N2 between the resistors R2a and R2b. Thereby, the voltage V5 divided by the resistors R2a and R2b is finely adjusted by the difference between the voltage V3 and the voltage V4. The regulator 10 adjusts the voltage V2 based on the fine adjusted voltage V5. This makes it possible to set the voltage ratio between the voltages V2 and V3 to a constant ratio.
In the first differential amplifier circuit 15, the transistor Q1 (first transistor) and the transistor Q2 (second transistor) are connected in parallel between the terminal Tout1 and the reference potential Vg. The voltage V3 is input to the base (control terminal) of the transistor Q1, and the voltage V4 is input to the base (control terminal) of the transistor Q2. The resistor R4b (third resistor) is connected in series to the transistor Q1 between the terminal Tout2 and the reference potential Vg, and is connected in parallel to the transistor Q2. The node N4 (third node) between the resistor R4b and the transistor Q1 is electrically connected to the node N2. This allows a current to flow from the node N4 to the node N2 based on the difference between the voltages V2 and V4. Therefore, the voltage V5 at the node N2 can be finely adjusted.
A resistor R4a (fourth resistor) is connected in series between the transistor Q1 and the resistor R4b between the terminal Tout1 and the reference potential Vg. This makes it possible to finely adjust the voltage V5 at the node N2 regardless of the direction of the current flowing between the nodes N4 and N2.
The simulation was performed assuming errors of the reference voltages Vref1 and Vref2 of the regulators 10 and 12.
In a third comparative example in the simulation, the error amplifying circuit 14 of
Table 1 illustrates the resistance values of the respective resistors in
Table 2 illustrates the capacitance values of the respective capacitors in
Table 3 illustrates the respective voltages in
The regulators 10 and 12 are regulators in which the reference voltages Vref1 and Vref2 are 0.8 V. However, since there is no simulation model in which the reference voltages Vref1 and Vref2 are 0.8 V, the reference voltages Vref1 and Vref2 are set to 1.0 V. A DC power supply 40 for boosting the voltage V5 by 0.2 Vis provided between the node N2 and the terminal Adj1, and a DC power supply 42 for boosting the voltage V6 by 0.2 Vis provided between the node N3 and the terminal Adj2. The boosted voltage of the DC power supply 40 was fixed at 0.20 V, and the boosted voltage of the DC power supply 42 was a sine wave changing by ±0.02 V around 0.20 V. The value ±0.02 V represents the error of the reference voltage Vref1 in terms of the deviation of the boosted voltage of the DC power supply 42. The period of the sine wave was 0.5 msec.
A second embodiment is an example in which the first embodiment is used for a detection apparatus.
An output signal S1 of the sensor 30 is input to the positive end of the operational amplifier 32 via a capacitor C6. The positive end of the operational amplifier 32 is connected to the terminal T4 through a resistor R10. The terminal T4 is input to the negative terminal of the operational amplifier 32 via a resistor R9. An output signal S3 of the operational amplifier 32 is input to the A/DC (analog/digital converter) 34 and fed back to the negative terminal via a resistor R8. The reference potential Vg and the power supply voltage VDD are supplied to the A/DC 34. The digital signal output from the A/DC 34 is output to the detection unit 36. The detecting unit 36 is a processor such as a CPU (Central Processing Unit), for example, and processes the digital signal.
The voltage VDD/2 is supplied to the positive end of the operational amplifier 32 through the resistor R10. As a result, as illustrated in
The A/DC 34 digitizes the voltage between the reference potential Vg and the power supply voltage VDD at equal intervals. For example, when the resolution of the A/DC 34 is 16 bits, the resolution is 0 x 0000 when the signal S3 is 0 V, which is the reference potential Vg, and the resolution is 0 x FFFF when the signal S3 is the power supply voltage VDD. When the signal S3 is the voltage VDD/2, the voltage is 0 x 7FFF or 0 x 8000.
When the voltage V3 at the terminal T4 is slightly shifted from the voltage VDD/2 to be the voltage VDD/2+α, the operational amplifier 32 amplifies the difference between the signal S2 and the voltage VDD/2+α with the voltage VDD/2+α as a reference. Therefore, the zero point of the signal S3 is greatly shifted from the voltage VDD/2. This narrows the dynamic range. Alternatively, the signal processing in the detecting section 36 is affected. As described above, in the second embodiment, it is important that the voltage of the terminal T4 is the voltage VDD/2.
Therefore, the voltage V2 of the power supply circuit 100 of the first embodiment is set to the power supply voltage VDD of the A/DC 34 (A/D converter), and the operational amplifier 32 (operational amplifier circuit) amplifies the output signal S2 of the sensor 30 with the voltage V3 (VDD/2) of the power supply circuit 100 as a reference. Thus, the A/DC 34 can perform A/D conversion with the voltage VDD/2 as the midpoint. The voltage V3 may not be exactly ½ of the voltage V2, and the voltage V3 may be 0.475 times or more and 0.525 times or less, 0.49 times or more and 0.51 times or less, or 0.495 times or more and 0.505 times or less the voltage V2. In order to perform A/D conversion of information from a sensor with higher accuracy, higher voltage accuracy is required in order to increase the gain of the operational amplifier, for example. However, even when a general-purpose LDO type linear regulator is used, the output voltage accuracy can be improved by utilizing the present embodiment and, for example, improving the resistance accuracy of the resistors R1a and R1b.
Although the power supply circuit 100 of the first embodiment is used in the detecting device 104, the power supply circuit 100 may be used in an electronic device other than the detecting device 104.
All examples and conditional language recited herein are intended for pedagogical purposes to aid the reader in understanding the invention and the concepts contributed by the inventor to furthering the art, and are to be construed as being without limitation to such specifically recited examples and conditions, nor does the organization of such examples in the specification relate to a showing of the superiority and inferiority of the invention. Although the embodiments of the present invention have been described in detail, it should be understood that the various change, substitutions, and alterations could be made hereto without departing from the spirit and scope of the invention.
Number | Date | Country | Kind |
---|---|---|---|
2023-178392 | Oct 2023 | JP | national |