Disclosure of Invention
The invention aims to provide a power supply device and a method capable of changing output voltage so as to expand the application range of a power supply chip and improve the utilization rate of the power supply chip.
In order to achieve the above object, the embodiment of the present invention provides the following technical solutions:
The power supply device capable of changing the output voltage comprises a power supply chip and further comprises an external resistor, wherein a feedback pin of the power supply chip is connected with the external resistor, and parameters of the external resistor are changed to adjust the output voltage of the power supply device.
In one embodiment, the external resistor comprises a first external resistor, one end of the first external resistor is connected with the feedback pin of the power chip, and the other end of the first external resistor is connected with the switch output end of the power chip.
The first external resistor can be one resistor or a plurality of resistors connected in series, so that the combinability of the values of the first external resistor is improved, and the variety of the adjustable output voltage is improved.
In another embodiment, the external resistor further includes a second external resistor, one end of the second external resistor is connected with the feedback pin of the power chip, and the other end of the second external resistor is connected with the reference voltage.
The reference voltage can be provided by a digital-to-analog conversion DAC with adjustable voltage or can be fixed off-chip reference voltage, so that the flexibility of adjustable output voltage is improved and the cost is reduced.
On the other hand, the invention also provides a method for changing the output voltage of the power supply, wherein the feedback pin of the power supply chip is connected with an external resistor, and the output voltage of the power supply is adjusted by changing the parameters of the external resistor.
In one embodiment, the external resistor is a single resistor or a resistor unit formed by connecting a plurality of resistors in series, and the output voltage of the power supply is adjusted by changing the resistance value of the resistor or the resistor unit. By means of the implementation mode, any adjustment of the output voltage larger than that of the original power supply chip can be achieved.
In another embodiment, the external resistor comprises a first external resistor and a second external resistor, the second external resistor is connected with a reference voltage, the current flowing through the first external resistor is regulated by regulating the resistance values of the reference voltage and the second external resistor, and the output voltage of the power supply is regulated by regulating the resistance value of the first external resistor. By the implementation mode, the power supply device can output any voltage, and the application range of the power supply chip is further enlarged.
Compared with the prior art, the circuit has the beneficial effects that the design of the circuit has the advantages that a very small amount of external devices are added, so that the output voltage can be randomly regulated, the compatibility of the circuit is improved, and the risk of a supply chain can be greatly reduced under the large background of long-time extreme backdrop of a power supply chip.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. The components of the embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the invention, as presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be made by a person skilled in the art without making any inventive effort, are intended to be within the scope of the present invention.
The invention provides a power supply device capable of changing output voltage, which comprises a power supply chip and an external resistor, wherein a feedback pin of the power supply chip is connected with the external resistor, and the output voltage of the power supply device is adjusted by changing parameters of the external resistor.
In one embodiment, the external resistor is a single resistor or a resistor unit formed by connecting a plurality of resistors in series, and the output voltage of the power supply is adjusted by changing the resistance value of the resistor or the resistor unit.
In another embodiment, the external resistor comprises a first external resistor and a second external resistor, the second external resistor is connected with a reference voltage, the current flowing through the first external resistor is adjusted by adjusting the resistance values of the reference voltage and the second external resistor, and the output voltage of the power supply is adjusted by adjusting the resistance value of the first external resistor.
It should be noted that the first external resistor and the second external resistor may be one resistor respectively, or may be a resistor unit formed by connecting a plurality of resistors in series.
Two specific examples will be described in more detail below.
Example 1
Referring to fig. 2, the power supply device capable of changing output voltage provided in this embodiment includes a power chip, a resistor R3, a resistor R1, a capacitor one C1, a capacitor two C2, a capacitor three C3 and an inductor L1, wherein two ends of the resistor R3 are respectively connected to a power input pin VIN and a power indication pin PG of the power chip, one end of the capacitor one C1 is connected to the power input pin VIN of the power chip, and the other end is grounded. The switch output pin SW of the power chip is connected with one end of the inductor L1, the second capacitor C2, the third capacitor C3 and the resistor R1 are all connected with the other end of the inductor L1, and the other ends of the second capacitor C2 and the third capacitor C3 are grounded. The resistor R1 in fig. 2 may be a resistor, and the output voltage of the power supply device may be changed by changing the resistance value of the resistor R1, or the resistor R1 may be a resistor unit formed by connecting a plurality of resistors in series, and the output voltage of the power supply device may be changed by changing the combination of the resistor units (for example, the number of resistors connected in series).
The following description will take TPS6208818 of TI, and a power chip with a fixed output of 1.8V as an example. It is noted, however, that the inventive solution is not limited to TPS6208818 of TI, but is generally applicable to all power chips of this type of connection where Rup resistor pin P2 is connected to FB pin.
Fig. 3 is an internal block diagram of the power chip, and some labels are drawn on the figure for convenience of description. As described in the data manual of the power chip, the power chip outputs a version of 1.8V fixedly, and the internal S1 switch connects the FB pin to point P2, which is connected to an internal voltage regulating resistor network. The resistances Rup and Rdown of the internal resistance network are 5000k ohms and 2500k ohms, respectively, and the chip internal reference voltage V REF =0.6v.
Under the condition that the external resistor R1 is not arranged, the output voltage of the power supply chip can only be a fixed output voltage, and according to the node current theorem, vout=V REF+Rup*VREF/Rdown=0.6+5000×0.6/2500=1.8V.
After adding an external resistor R1, vout=v REF+(Rup+R1)*VREF/rdown=0.6+ (5000+r1) 0.6/2500=1.8+0.6×r1/2500 (equation 1) according to the node current theorem.
According to equation 1, the output voltage can be adjusted to be more than 1.8V by adjusting the size of the resistor R1, so that the flexibility of the circuit and the compatibility of the power chip are improved, and the pressure of the supply shortage of the power chip is relieved.
Example 2
Referring to fig. 4, the power supply device capable of changing output voltage provided in this embodiment includes a power chip, a resistor R3, a resistor R2, a resistor R1, a capacitor C2, a capacitor C3 and an inductor L1, wherein two ends of the resistor R3 are respectively connected to a power input pin VIN and a power indication pin PG of the power chip, one end of the capacitor C1 is connected to the power input pin VIN of the power chip, and the other end is grounded. The switch output pin SW of the power chip is connected with one end of the inductor L1, the second capacitor C2 and the third capacitor C3 are both connected with the other end of the inductor L1, and the other ends of the second capacitor C2 and the third capacitor C3 are grounded. One end of each of the resistor R1 and the resistor R2 is connected with a feedback pin FB of the power chip, the other end of the resistor R2 is connected with the reference voltage Vdac, and the other end of the resistor R1 is connected with one end of the inductor L1. The resistors R1 and R2 in FIG. 4 can be a resistor, the output voltage of the power supply device can be changed by changing the resistance value of the resistor, and the resistors R1 and R2 can be a resistor unit formed by connecting a plurality of resistors in series.
The reference voltage can be provided by a voltage-adjustable digital-to-analog conversion DAC or can be a fixed off-chip reference voltage, so that the flexibility of adjustable output voltage is improved and the cost is reduced.
By adjusting the parameters of the resistors R1, R2 and Vdac, the random adjustment of the output voltage can be realized, and the fixed voltage output chip can realize the function of the power supply chip capable of adjusting the output voltage.
In the following, a power chip with a fixed output of 1.8V will be described by taking TPS6208818 of TI as an example.
Fig. 3 is an internal block diagram of the power chip, and for convenience of description, some labels such as P1, S1, rup, etc. are drawn on the drawings.
As described in the data manual of the power chip, the power chip outputs a version of 1.8V fixedly, and the internal S1 switch connects the FB pin to point P2, which is connected to an internal voltage regulating resistor network. The resistances Rup and Rdown of the internal resistance network are 5000k ohms and 2500k ohms, respectively, and the chip internal reference voltage V REF =0.6v.
Under the condition that the external resistor R1 is not arranged, the output voltage of the power supply chip can only be a fixed output voltage, and according to the node current theorem, vout=V REF+Rup*VREF/Rdown=0.6+5000×0.6/2500=1.8V.
After increasing the external resistances R1, R2, and Vdac, equation 2 is followed according to node current theorem ,Vout=(VREF+Rup*VREF/Rdown)+R1*{(VREF/Rdown+[(VREF+Rup*VREF/Rdown)-Vdac]/R2}().
After equation 2 is simplified and expanded, vout= (1.8+0.6×r1/2500+1.8×r1/R2) -vdac×r1/R2 (equation 3).
According to equation 3, the output voltage of the power supply chip can be adjusted by selecting the appropriate resistors R1 and R2 and adjusting the output voltage of Vdac.
For example, selecting the resistor r1=1500 k and r2=330 k, according to equation 3, vout= (1.8+0.6×1500/2500+1.8×1500/330) -vdac×1500/330) = 10.342-vdac×1500/330 (equation 4) can be obtained.
When Vdac with 12-bit resolution and 2.5V reference voltage is selected, vdac=2.5×dac/(2≡12-1), vout= 10.342-2.5×dac/(2≡12-1) ×1500/330= 10.342-0.002775×dac (equation 5 dac=0 to 4095 integer) is obtained by substituting equation 4.
According to equation 5, when vout=0v, dac=3727, when vout=3.3v, dac=2537, and DAC between 3727 and 2537 can adjust output voltage between 0 and 3.3V, flexibility of the circuit and compatibility of the power chip are improved, and supply shortage pressure of the power chip is relieved.
Application example 1 tps 6208518 the CDR chip requiring a supply voltage between 1.7 and 1.75V is powered, as shown in the following table, vdac uses a 2.5V reference power supply inside the MCU, and the output voltage can be regulated to within the target voltage by adjusting resistors R1 and R2.
ICPN |
Vdac |
VFB |
R1(kohm) |
R2(kohm) |
Vref |
Rup(kohm) |
Rdown(kohm) |
Vout |
TPS6208818 |
2.5 |
1.8 |
2010 |
510 |
0.6 |
5000 |
2500 |
1.745 |
Application example 2. Continuously adjustable voltage between 0 and 3.3 is required to be output by TPS6208818 for controlling the heating or cooling power of TEC, resistor R1=1500 k and R2=330 k are selected, 12-bit resolution is selected, vdac with reference voltage of 2.5V is selected, DAC is controlled to be changed between 3727 and 2537, continuous adjustment of output voltage between 0 and 3.3V can be realized, and control precision reaches 2.775mV.
The foregoing is merely illustrative of the present invention, and the present invention is not limited thereto, and any person skilled in the art will readily recognize that variations or substitutions are within the scope of the present invention.