Summary of the invention
The object of the present invention is to provide the method that to revise power supply chip and the adjustment power supply chip of output voltage by emulator, reduce the peripheral components of power supply chip.
The invention provides a kind of power supply chip, comprise sub-power module, be used for output voltage; Feedback voltage arranges module, is electrically connected with sub-power module, for first feedback voltage of sampling according to output voltage, judges whether simultaneously to receive the instruction of adjusting output voltage; According to the instruction of adjusting output voltage the first feedback voltage is adjusted into the second feedback voltage, and the second feedback voltage is fed back to sub-power module, described sub-power module is adjusted output voltage according to the second feedback voltage.
Preferably, the mode that above-mentioned sub-power module is adjusted output voltage according to the second feedback voltage is that the second feedback voltage and output voltage are compared, and whether reaches predetermined value to judge output voltage.
Preferably, above-mentioned feedback voltage arranges module and also is used for judging whether to receive the instruction that the scorification silk is processed, and carries out the scorification silk according to the instruction that the scorification silk is processed and process.
Preferably, above-mentioned sub-power module comprises output terminal at least, and the earth terminal corresponding with output terminal, and pressure feedback port.
Preferably, above-mentioned feedback voltage arranges output terminal and earth terminal corresponding to output terminal that module is electrically connected at sub-power module, and pressure feedback port.
Preferably, it is digital regulation resistance that above-mentioned feedback voltage arranges module, described digital regulation resistance comprises the output resistance that is electrically connected with pressure feedback port, control register with the output resistance electric connection, the communication interface that is electrically connected with control register, and the storer that is electrically connected with communication interface.
Preferably, above-mentioned communication interface also is connected with control device, for the instruction of the adjustment output voltage that receives self-control device and the instruction of scorification silk processing.
A kind of method of adjusting the power supply chip output voltage comprises: sub-power module output voltage; Feedback voltage arranges module according to output voltage first feedback voltage of sampling, and judges whether simultaneously to receive the instruction of adjusting output voltage; If receive the instruction of adjusting output voltage, then feedback voltage arranges module and according to the instruction of adjusting output voltage the first feedback voltage is adjusted into the second feedback voltage, and the second feedback voltage fed back to sub-power module, sub-power module is adjusted output voltage according to the second feedback voltage.
Preferably, said method also comprises: if do not receive the instruction of adjusting output voltage, then sub-power module is adjusted output voltage according to the first feedback voltage.
Preferably, the mode that above-mentioned sub-power module is adjusted output voltage according to the second feedback voltage is that sub-power module compares the second feedback voltage and output voltage, whether reaches predetermined value to judge output voltage.
Preferably, the method for above-mentioned adjustment power supply chip output voltage is characterized in that, if output voltage reaches predetermined value, and the voltage after then sub-power module output is adjusted; If output voltage does not reach predetermined value, then sub-power module is adjusted output voltage again according to the second feedback voltage.
Preferably, said method also comprises: feedback voltage arranges module and also judges whether to receive the instruction that the scorification silk is processed, and carries out the processing of scorification silk if receive the instruction of then processing according to the scorification silk, if do not receive, does not then carry out the scorification silk and processes.
The method of the power supply chip among the present invention and adjustment power supply chip output voltage not only can be carried out the scorification silk to digital regulation resistance and be processed, but also can revise the power supply chip output voltage by the emulator of control device, realize the real time modifying of power supply chip output voltage; In addition, digital regulation resistance is integrated in power supply chip inside, reduces the peripheral components of power supply chip, reduce user's design difficulty; Simultaneously power supply chip only needs just can satisfy different voltage customized demand by control device, provides the more easily mode of production for the power supply chip manufacturer carries out customized production to the client of particular requirement.
Embodiment
Below in conjunction with the drawings and specific embodiments technical scheme of the present invention is described in further detail, can be implemented so that those skilled in the art can better understand the present invention also, but illustrated embodiment is not as a limitation of the invention.
Figure 2 shows that the structural representation of a kind of power supply chip embodiment of the present invention.
Power supply chip 20 comprises sub-power module 31, and with feedback voltage that sub-power module 31 is electrically connected module 22 is set.
Sub-power module 31 is used for output voltage, comprises input end, the earth terminal corresponding with input end, output terminal, the earth terminal corresponding with output terminal, and pressure feedback port.Sub-power module 31 arranges module 22 for existing not integrated feedback voltage, need to determine with outer meeting resistance sampling feedback voltage the power supply chip of one or more Voltage-output of the DC-to-DC (DC TO DC) of its output voltage or low pressure drop (LDO) type.The sub-power module 31 that this not integrated feedback voltage arranges module 22 has the function of adjusting output voltage according to feedback voltage.
Feedback voltage arranges the output terminal that module 22 is electrically connected at sub-power module 31, the earth terminal corresponding with output terminal, and pressure feedback port, and feedback voltage arranges module 22 and also is connected with the emulator 101 of control device 10.Feedback voltage arranges module 22 for first feedback voltage of sampling according to output voltage, and judges whether to receive the instruction of adjusting output voltage.When receiving the instruction of adjusting output voltage, feedback voltage arranges module 22 and also is used for according to the instruction of adjusting output voltage the first feedback voltage being adjusted into the second feedback voltage, and the second feedback voltage is fed back to sub-power module 31.Feedback voltage arranges module 22 and also is used for judging whether to receive the instruction that the scorification silk is processed, and carries out the scorification silk according to the instruction that the scorification silk is processed and process.In the present embodiment, adjusting the instruction of output voltage and the instruction of scorification silk processing all is to send to feedback voltage by control device 10 module 22 is set, be provided with emulator 101 in the control device 10, this emulator 101 can issue the instruction corresponding with the output voltage range of sub-power module 31.
When needs were adjusted output voltage, because feedback voltage arranges module 22 second feedback voltage of having sampled, therefore sub-power module 31 also was used for adjusting output voltage according to the second feedback voltage.Whether sub-power module 31 by the second feedback voltage and output voltage are compared, reaches predetermined value to judge output voltage when adjusting output voltage according to the second feedback voltage.If reach predetermined value, then stop to adjust; Then do not proceed to adjust if reach predetermined value, this is the process of a dynamic circulation.
Power supply chip 20 in the present embodiment can be revised power supply chip 20 output voltages by the emulator 101 of control device 10, realize the real time modifying of power supply chip 20 output voltages, feedback voltage is arranged module 22 be integrated in power supply chip 20 inside, reduce the peripheral components of power supply chip 20, reduce user's design difficulty, simultaneously 20 need of power supply chip just can satisfy different voltage customized demand by the software program of control device 10, provide the more easily mode of production for the power supply chip manufacturer carries out customized production to the client of particular requirement.
Figure 3 shows that the structural representation of another kind of power supply chip embodiment of the present invention.
In the present embodiment, digital regulation resistance 32 is arranged module 22 as feedback voltage to be used, inner with being integrated into existing power supply chip with serial and parallel communication interface 321 7,8,9 or 10 bit digital formula potentiometers, and the communication interface 321 of digital regulation resistance 32 is drawn out on the external pin of existing power supply chip, in power supply chip shown in Figure 3 30, also provide simultaneously the concrete structure of digital regulation resistance 32, specific as follows:
Power supply chip 30 comprises sub-power module 31, and the digital regulation resistance 32 that is electrically connected with sub-power module 31.
Sub-power module 31 is used for output voltage.Sub-power module 31 is existing not integrated digital potentiometer 32, need to determine with voltage external or feedback the power supply chip of one or more Voltage-output of the DC-to-DC (DC TODC) of its output voltage or low pressure drop (LDO) type.This not the sub-power module 31 of integrated digital potentiometer 32 have the function of adjusting output voltage according to feedback voltage.Sub-power module 31 comprises input end, the earth terminal corresponding with input end, output terminal, and the earth terminal corresponding with output terminal, and pressure feedback port.
Digital regulation resistance 32 is electrically connected at the output terminal of sub-power module 31, the earth terminal corresponding with output terminal, and pressure feedback port.Digital regulation resistance 32 is for first feedback voltage of sampling according to output voltage, and the instruction that judges whether to receive the adjustment output voltage.When receiving the instruction of adjusting output voltage, digital regulation resistance 32 also is used for according to the instruction of adjusting output voltage the first feedback voltage being adjusted into the second feedback voltage, and the second feedback voltage is fed back to sub-power module 31.Digital regulation resistance 32 also is used for judging whether to receive the instruction that the scorification silk is processed, and carries out the scorification silk according to the instruction that the scorification silk is processed and process.
In the present embodiment, be connected on the emulator 101 with same communication pin by the communication pin with digital regulation resistance 32, so just can adjust the feedback voltage of digital regulation resistance 32 and digital current potential is carried out the processing of scorification silk by control device 10 in the mode of serial or parallel communication.
When needs are adjusted output voltage, the second feedback voltage because digital regulation resistance 32 has been sampled, therefore sub-power module 31 also is used for adjusting output voltage according to the second feedback voltage.Whether sub-power module 31 by the second feedback voltage and output voltage are compared, reaches predetermined value to judge output voltage when adjusting output voltage according to the second feedback voltage.If reach predetermined value, then stop to adjust; Then do not proceed to adjust if reach predetermined value, this is the process of a dynamic circulation.
Be specially, digital regulation resistance 32 comprises the output resistance 323 that is electrically connected with pressure feedback port, the control register 320 that is electrically connected with output resistance 323, the communication interface 321 that is electrically connected with control register 320, and the storer that is electrically connected with communication interface 321.Output resistance 323 is resistor network or swept resistance, but the output voltage of output resistance 323 antithetical phrase power modules 31 carries out dividing potential drop, and the Voltage Feedback that dividing potential drop is obtained is to the pressure feedback port of sub-power module 31,31 pairs of feedback voltages of sub-power module compare and calculate, according to relatively reaching result of calculation output voltage is adjusted, to adjust output voltage stability and accuracy.Digital regulation resistance 32 is with serial or other communication interfaces 321, the potentiometer of resistance size that can be by programmed control output resistance 323, and the precision of its controlling resistance value can be selected according to actual needs.There is in the market 7,8,9 and 10 s' digital regulation resistance 32 to select.Storer is EEPROM (Electrically Erasable Programmable Read Only Memo) (EEPROM) or flash memory (FLASH), can preserve the set parameter value of control register 320 of 10 pairs of digital regulation resistances 32 of control device, lose when power supply chip 30 power down to prevent set parameter value.
In the present embodiment, adjusting the instruction of output voltage and the instruction of scorification silk processing all is the communication interfaces 321 that sent to digital regulation resistance 32 by control device 10, be provided with emulator 101 in the control device 10, this emulator 101 can issue the instruction corresponding with the output voltage range of sub-power module 31.
Power supply chip 30 in the present embodiment can be revised power supply chip 30 output voltages by the emulator 101 of control device 10, realizes the real time modifying of power supply chip 30 output voltages; In addition, digital regulation resistance 32 is integrated in power supply chip 30 inside, reduces the peripheral components of power supply chip 30, reduce user's design difficulty; Simultaneously 30 need of power supply chip just can satisfy different voltage customized demand by control device 10, provide the more easily mode of production for the power supply chip manufacturer carries out customized production to the client of particular requirement.
Figure 4 shows that a kind of process flow diagram of adjusting the embodiment of the method for power supply chip output voltage of the present invention.
In the present embodiment, adjust the power supply chip output voltage by utilizing power supply chip shown in Figure 2 and control device 10, concrete method of adjustment is as follows:
Step S401, sub-power module 31 output voltages.
Step S402, feedback voltage arrange module 22 according to output voltage first feedback voltage of sampling, and judge whether simultaneously to receive the instruction of adjusting output voltage.If receive the instruction of adjusting output voltage, then enter step S403, if do not receive the instruction of adjusting output voltage, then enter step S404.
Step S403, feedback voltage arrange module 22 and according to the instruction of adjusting output voltage the first feedback voltage are adjusted into the second feedback voltage, and the second feedback voltage is fed back to sub-power module 31, then enter step S405.
Step S404, sub-power module 31 is adjusted output voltage according to the first feedback voltage, then enters step S406.
Step S405, sub-power module 31 is adjusted output voltage according to the second feedback voltage, then enters step S406.
Step S406, sub-power module 31 output voltages.
In the present embodiment, can revise the power supply chip output voltage by the emulator 101 of control device 10, realize the real time modifying of power supply chip output voltage; In addition, digital regulation resistance 32 is integrated in power supply chip inside, reduces the peripheral components of power supply chip, reduce user's design difficulty; Simultaneously power supply chip only needs just can satisfy different voltage customized demand by control device 10, provides the more easily mode of production for the power supply chip manufacturer carries out customized production to the client of particular requirement.
Figure 5 shows that the another kind of process flow diagram of adjusting the embodiment of the method for power supply chip output voltage of the present invention.
In the present embodiment, adjust the power supply chip output voltage by utilizing power supply chip shown in Figure 2 and control device 10, concrete method of adjustment is as follows:
Step S501, sub-power module 31 output voltages.
Step S502, feedback voltage arrange module 22 according to output voltage first feedback voltage of sampling, and judge whether simultaneously to receive the instruction of adjusting output voltage.If receive the instruction of adjusting output voltage, then enter step S503, if do not receive the instruction of adjusting output voltage, then enter step S507.
Step S503, feedback voltage arrange module 22 and according to the instruction of adjusting output voltage the parameter value of the second feedback voltage are write the storer that feedback voltage arranges module 22.
Step S504, feedback voltage arrange module 22 according to the parameter value of the second feedback voltage second feedback voltage of sampling, and then the second feedback voltage are fed back to sub-power module 31.
Step S505, sub-power module 31 compares the second feedback voltage and output voltage, whether reaches predetermined value to judge output voltage.If output voltage reaches predetermined value, then enter step S509; If output voltage does not reach predetermined value, then enter step S506.
Step S506, sub-power module 31 is adjusted output voltage according to the second feedback voltage, and returns step S501.
Step S507, sub-power module 31 compares the first feedback voltage and output voltage, whether reaches predetermined value to judge output voltage.
Step S508, sub-power module 31 is adjusted output voltage according to the first feedback voltage, and returns step S501.
Step S509, sub-power module 31 output voltages.
In the present embodiment, can revise power supply chip 20 output voltages by the emulator 101 of control device 10, realize the real time modifying of power supply chip 20 output voltages; In addition, digital regulation resistance 32 is integrated in power supply chip 20 inside, reduces the peripheral components of power supply chip 20, reduce user's design difficulty; Simultaneously power supply chip only needs just can satisfy different voltage customized demand by control device 10, provides the more easily mode of production for the power supply chip manufacturer carries out customized production to the client of particular requirement.
Figure 6 shows that the process flow diagram of the embodiment of the method for another adjustment power supply chip output voltage of the present invention.
In the present embodiment, adjust power supply chip 30 output voltages by utilizing power supply chip shown in Figure 3 30 and control device 10, utilize digital regulation resistance 32 as feedback voltage module 22 to be set, can also realize that digital regulation resistance 32 is carried out the scorification silk to be processed simultaneously, concrete method of adjustment is as follows:
Step S601, sub-power module 31 output voltages.
Step S602, digital regulation resistance 32 judge whether to receive the instruction of adjusting output voltage simultaneously according to output voltage first feedback voltage of sampling.If receive the instruction of adjusting output voltage, then enter step S603, if do not receive the instruction of adjusting output voltage, then enter step S609.
Step S603, digital regulation resistance 32 judge whether to receive the instruction that the scorification silk is processed, if receive the instruction that the scorification silk is processed, then enter step S604, if do not receive the instruction that the scorification silk is processed, then enter step S605.
Step S604, the instruction that digital regulation resistance 32 is processed according to the scorification silk is carried out the scorification silk and is processed.
Step S605, digital regulation resistance 32 write the parameter value of the second feedback voltage according to the instruction of adjusting output voltage the storer of digital regulation resistance 32.
Step S606, then digital regulation resistance 32 feeds back to the second feedback voltage power module 31 according to the parameter value of the second feedback voltage second feedback voltage of sampling.
Step S607, sub-power module 31 compares the second feedback voltage and output voltage, whether reaches predetermined value to judge output voltage.If output voltage reaches predetermined value, then enter step S611; If output voltage does not reach predetermined value, then enter step S608.
Step S608, sub-power module 31 is adjusted output voltage according to the second feedback voltage, and returns step S601.
Step S609, sub-power module 31 compares the first feedback voltage and output voltage, whether reaches predetermined value to judge output voltage, then enters step S611 if arrive predetermined value, if do not reach predetermined value, then enters step S610.
Step S610, sub-power module 31 is adjusted output voltage according to the first feedback voltage, and returns step S501.
Step S611, sub-power module 31 output voltages.
In the present embodiment, not only can carry out the scorification silk to digital regulation resistance 32 and process, but also can revise the power supply chip output voltage by the emulator 101 of control device 10, realize the real time modifying of power supply chip output voltage; In addition, digital regulation resistance 32 is integrated in power supply chip inside, reduces the peripheral components of power supply chip, reduce user's design difficulty; Simultaneously power supply chip only needs just can satisfy different voltage customized demand by control device 10, provides the more easily mode of production for the power supply chip manufacturer carries out customized production to the client of particular requirement.
The above only is the preferred embodiments of the present invention; be not so limit claim of the present invention; every equivalent structure or equivalent flow process conversion that utilizes instructions of the present invention and accompanying drawing content to do; or directly or indirectly be used in other relevant technical fields, all in like manner be included in the scope of patent protection of the present invention.