CN102684495A - Digital power supply control circuit, control method and digital power supply using circuit and method - Google Patents

Digital power supply control circuit, control method and digital power supply using circuit and method Download PDF

Info

Publication number
CN102684495A
CN102684495A CN2012101517478A CN201210151747A CN102684495A CN 102684495 A CN102684495 A CN 102684495A CN 2012101517478 A CN2012101517478 A CN 2012101517478A CN 201210151747 A CN201210151747 A CN 201210151747A CN 102684495 A CN102684495 A CN 102684495A
Authority
CN
China
Prior art keywords
digital
power supply
output voltage
digital power
analog
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2012101517478A
Other languages
Chinese (zh)
Other versions
CN102684495B (en
Inventor
张晓峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Anhui Ruiqi Electronic Technology Co.,Ltd.
Original Assignee
HANGZHOU LETU PHOTOELECTRIC TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by HANGZHOU LETU PHOTOELECTRIC TECHNOLOGY Co Ltd filed Critical HANGZHOU LETU PHOTOELECTRIC TECHNOLOGY Co Ltd
Priority to CN201210151747.8A priority Critical patent/CN102684495B/en
Publication of CN102684495A publication Critical patent/CN102684495A/en
Application granted granted Critical
Publication of CN102684495B publication Critical patent/CN102684495B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Dc-Dc Converters (AREA)

Abstract

本发明涉及一种数字电源控制电路及其控制方法,应用于一数字电源中,其利用一模数转换器来接收所述数字电源的输出电压,并与n个基准值进行比较,以产生数字误差信号,n≥3;然后根据接收到的所述数字误差信号产生数字占空比信号,并将动态分量传递至所述模数转换器来调节所述一组基准值;根据接收到的所述数字占空比信号,利用一DPWM模块产生PWM控制信号来控制所述数字电源中的功率开关的开关动作,保证所述数字电源的输出电压快速恢复至所述期望输出电压。

Figure 201210151747

The invention relates to a digital power supply control circuit and a control method thereof, which are applied to a digital power supply, and use an analog-to-digital converter to receive the output voltage of the digital power supply, and compare it with n reference values to generate digital error signal, n≥3; then generate a digital duty cycle signal according to the received digital error signal, and transmit the dynamic component to the analog-to-digital converter to adjust the set of reference values; according to the received A DPWM module is used to generate a PWM control signal to control the switching action of the power switch in the digital power supply, so as to ensure that the output voltage of the digital power supply quickly recovers to the desired output voltage.

Figure 201210151747

Description

一种数字电源控制电路、控制方法以及应用其的数字电源A digital power supply control circuit, control method and digital power supply using the same

技术领域 technical field

本发明涉及开关电源领域,尤其涉及一种新型的数字电源的控制电路、控制方法以及应用其的数字电源。The invention relates to the field of switching power supplies, in particular to a novel digital power supply control circuit, a control method and a digital power supply using the same.

背景技术 Background technique

开关电源是利用现代电力电子技术,控制开关管开通和关断的时间比率,维持稳定输出电压的一种电源,开关电源一般由脉冲宽度调制(PWM)控制IC和功率开关(MOSFET)构成。现有的开关电源的实现方式包括模拟控制方式、数字控制方式以及模数混合控制方式。采用模拟控制技术的开关电源,输出反馈电压经过误差放大器产生误差信号,经PID校正补偿后与三角波振荡信号进行比较来产生PWM驱动信号。这样的实现方式,控制电路复杂,元器件数量多,控制电路成型后很难再进行修改,不利于开关电源的集成化和小型化。近年来,由于数字控制方式具有可编程性,设计可延续性,元器件数量少等优点而越来越得到广泛应用和认可。Switching power supply is a kind of power supply that uses modern power electronic technology to control the time ratio of switching on and off to maintain a stable output voltage. Switching power supply is generally composed of pulse width modulation (PWM) control IC and power switch (MOSFET). Existing implementation methods of switching power supplies include analog control methods, digital control methods, and analog-digital hybrid control methods. The switching power supply adopts analog control technology, the output feedback voltage passes through the error amplifier to generate an error signal, and after PID correction and compensation, it is compared with the triangular wave oscillation signal to generate a PWM driving signal. In such an implementation method, the control circuit is complicated, the number of components is large, and it is difficult to modify the control circuit after it is formed, which is not conducive to the integration and miniaturization of the switching power supply. In recent years, due to the advantages of programmability, design continuity, and small number of components, digital control methods have been more and more widely used and recognized.

采用数字控制方式,数字电源的控制回路完全实现了数字化,反馈电压信号经模数转换器转换为数字信号后,通过DSP芯片的内置程序完成PID校正补偿和PWM信号调节。如图1所示的一种采用传统的数字控制方式的数字电源,通过模数转换器ADC 11将输出电压与单一的基准值进行比较,然后转换为数字信号;补偿电路12根据所述比较结果n_digital进行补偿控制运算,来产生相应的数字占空比信号D_digital;DPWM模块13将接收到的数字占空比信号D_digital转换为方波驱动信号即PWM控制信号来控制数字电源的主功率级电路14中的功率开关So的开关动作,进而来调节输出电压。但是,采用这种数字控制方式,模数转换器ADC 11和DPWM模块13均为固定的电路结构,因此数字电源的稳态性能和动态性能全部由补偿电路12来实现,使得数字电源的补偿灵活度不佳,数字电源的动态响应性能较差。Using digital control mode, the control loop of the digital power supply is completely digitized. After the feedback voltage signal is converted into a digital signal by an analog-to-digital converter, the PID correction compensation and PWM signal adjustment are completed through the built-in program of the DSP chip. As shown in Figure 1, a digital power supply using a traditional digital control method compares the output voltage with a single reference value through an analog-to-digital converter ADC 11, and then converts it into a digital signal; the compensation circuit 12 according to the comparison result n_digital performs compensation control operation to generate corresponding digital duty ratio signal D_digital; DPWM module 13 converts the received digital duty ratio signal D_digital into a square wave drive signal, that is, PWM control signal to control the main power stage circuit 14 of the digital power supply The switching action of the power switch S o in the circuit is used to adjust the output voltage. However, with this digital control method, both the analog-to-digital converter ADC 11 and the DPWM module 13 have a fixed circuit structure, so the steady-state performance and dynamic performance of the digital power supply are all realized by the compensation circuit 12, making the compensation of the digital power supply flexible. The accuracy is not good, and the dynamic response performance of the digital power supply is poor.

发明内容 Contents of the invention

有鉴于此,本发明的目的在于提供一种新型的数字电源控制电路和控制方法,利用补偿信号的动态分量来实时调节模数转换器ADC的基准值,提高数字电源控制电路的调节速度,改进了数字电源的动态响应性能。In view of this, the purpose of the present invention is to provide a novel digital power supply control circuit and control method, utilize the dynamic component of the compensation signal to adjust the reference value of the analog-to-digital converter ADC in real time, improve the adjustment speed of the digital power supply control circuit, improve The dynamic response performance of the digital power supply is improved.

依据本发明的一实施例的一种数字电源控制电路,应用于一数字电源中,包括:A digital power supply control circuit according to an embodiment of the present invention is applied to a digital power supply, including:

模数转换器,用以接收所述数字电源的输出电压,并与n个基准值进行比较,比较结果转换为表征所述数字电源的当前输出电压与期望输出电压之间的误差的数字误差信号,n≥3;An analog-to-digital converter, configured to receive the output voltage of the digital power supply and compare it with n reference values, and convert the comparison result into a digital error signal representing the error between the current output voltage of the digital power supply and the expected output voltage , n≥3;

数字补偿电路,接收所述数字误差信号,以相应的产生数字占空比信号;其中所述数字占空比信号的动态分量传递至所述模数转换器,以相应的改变所述一组基准值的数值;The digital compensation circuit receives the digital error signal to generate a digital duty cycle signal accordingly; wherein the dynamic component of the digital duty cycle signal is transmitted to the analog-to-digital converter to change the set of references accordingly the numeric value of the value;

DPWM模块,根据接收到的所述数字占空比信号,产生PWM控制信号来控制所述数字电源中的功率开关的开关动作,保证所述数字电源的输出电压与期望输出电压一致,并且,当所述数字电源的输出电压与期望输出电压不一致时,保证所述数字电源的输出电压快速恢复至所述期望输出电压。The DPWM module generates a PWM control signal to control the switching action of the power switch in the digital power supply according to the received digital duty ratio signal, so as to ensure that the output voltage of the digital power supply is consistent with the expected output voltage, and, when When the output voltage of the digital power supply is inconsistent with the expected output voltage, it is ensured that the output voltage of the digital power supply quickly recovers to the expected output voltage.

进一步的,所述基准值的数目n为奇数,所述n个基准值的数值以所述数字电源的期望输出电压为中心,分布在所述数字电源的期望输出电压的两侧。Further, the number n of the reference values is an odd number, and the values of the n reference values center on the expected output voltage of the digital power supply and are distributed on both sides of the expected output voltage of the digital power supply.

进一步的,所述模数转换器包括n个比较器,所述n个比较器的第一输入端接收所述数字电源的输出电压,第二输入端分别接收所述n个基准值。Further, the analog-to-digital converter includes n comparators, the first input terminals of the n comparators receive the output voltage of the digital power supply, and the second input terminals respectively receive the n reference values.

进一步的,所述模数转换器包括数字译码器,用以接收所述n个比较器的输出信号,并将所述输出信号转换为所述数字误差信号。Further, the analog-to-digital converter includes a digital decoder, configured to receive the output signals of the n comparators, and convert the output signals into the digital error signals.

进一步的,所述模数转换器包括与所述n个基准值一一对应的n个数模转换器;Further, the analog-to-digital converter includes n digital-to-analog converters corresponding to the n reference values one-to-one;

根据所述数字占空比信号的动态分量与(n-1)/2个参考值的大小关系,调节所述n个数模转换器的输入信号;其中,所述(n-1)/2个参考值的数值根据所述数字电源的期望输出电流进行设置,并且依次递减;According to the relationship between the dynamic component of the digital duty cycle signal and (n-1)/2 reference values, adjust the input signals of the n digital-to-analog converters; wherein, the (n-1)/2 The numerical value of a reference value is set according to the expected output current of the digital power supply, and decreases successively;

当所述数字占空比信号的动态分量小于第(n-1)/2参考值时,所述n个数模转换器维持当前状态;When the dynamic component of the digital duty cycle signal is smaller than the (n-1)/2th reference value, the n digital-to-analog converters maintain the current state;

当所述数字占空比信号的动态分量大于第一参考值时,则所述n个数模转换器的输入信号均减1;When the dynamic component of the digital duty cycle signal is greater than the first reference value, the input signals of the n digital-to-analog converters are all decremented by 1;

当所述数字占空比信号的动态分量小于第一参考值而大于第二参考值,则第二数模转换器至第n-1数模转换器的输入信号均减1;When the dynamic component of the digital duty cycle signal is less than the first reference value and greater than the second reference value, the input signals of the second digital-to-analog converter to the n-1th digital-to-analog converter are all decremented by 1;

当所述数字占空比信号的动态分量小于第二参考值而大于第三参考值,则第三数模转换器至第n-2数模转换器的输入信号均减1;When the dynamic component of the digital duty cycle signal is less than the second reference value and greater than the third reference value, the input signals of the third digital-to-analog converter to the n-2th digital-to-analog converter are all decremented by 1;

依次类推,当所述数字占空比信号的动态分量小于第k参考值而大于第k+1参考值,则第k+1数模转换器至第n-k数模转换器的输入信号均减1;By analogy, when the dynamic component of the digital duty ratio signal is smaller than the kth reference value and greater than the k+1th reference value, the input signals of the k+1th digital-to-analog converter to the n-kth digital-to-analog converter are all reduced by 1 ;

所述n个数模转换器的输出信号作为所述n个基准值。The output signals of the n digital-to-analog converters are used as the n reference values.

进一步的,所述模数转换器还包括n个计数器和(n-1)/2个寄存器;其中,所述(n-1)/2个参考值分别存储在所述(n-1)/2个寄存器中;所述n个计数器与所述n个数模转换器一一对应连接。Further, the analog-to-digital converter also includes n counters and (n-1)/2 registers; wherein, the (n-1)/2 reference values are respectively stored in the (n-1)/ Among the two registers; the n counters are connected to the n digital-to-analog converters in one-to-one correspondence.

依据本发明一实施例的一种数字电源控制方法,应用于一数字电源中,包括以下步骤:A digital power supply control method according to an embodiment of the present invention, applied to a digital power supply, includes the following steps:

采样所述数字电源的输出电压;sampling the output voltage of the digital power supply;

将所述数字电源的输出电压与所述n个基准值分别进行比较,获得n个比较信号;Comparing the output voltage of the digital power supply with the n reference values respectively to obtain n comparison signals;

将所述n个比较信号转换为表征所述数字电源的当前输出电压与期望输出电压之间的误差的数字误差信号,n≥3;converting the n comparison signals into digital error signals representing the error between the current output voltage and the expected output voltage of the digital power supply, n≥3;

根据所述数字误差信号,产生所述数字占空比信号;generating the digital duty ratio signal according to the digital error signal;

根据所述数字占空比信号,产生PWM控制信号来控制所述数字电源中的功率开关的开关动作,保证所述数字电源的输出电压与期望输出电压一致,并且,当所述数字电源的输出电压与期望输出电压不一致时,保证所述数字电源的输出电压快速恢复至所述期望输出电压。According to the digital duty cycle signal, a PWM control signal is generated to control the switching action of the power switch in the digital power supply, so as to ensure that the output voltage of the digital power supply is consistent with the expected output voltage, and when the output of the digital power supply When the voltage is inconsistent with the expected output voltage, it is ensured that the output voltage of the digital power supply quickly recovers to the expected output voltage.

进一步的,所述基准值的数目n为奇数,所述n个基准值的数值以所述数字电源的期望输出电压为中心,分布在所述数字电源的期望输出电压的两侧。Further, the number n of the reference values is an odd number, and the values of the n reference values center on the expected output voltage of the digital power supply and are distributed on both sides of the expected output voltage of the digital power supply.

进一步的,所述n个基准值的产生包括以下步骤:Further, the generation of the n reference values includes the following steps:

采样数字电源的数字占空比信号的动态分量;Sampling the dynamic component of the digital duty cycle signal of the digital power supply;

将所述数字占空比信号的动态分量与(n-1)/2个参考值进行比较;所述(n-1)/2个参考值的数值根据所述数字电源的期望输出电压进行设置,并且依次递减;comparing the dynamic component of the digital duty cycle signal with (n-1)/2 reference values; the values of the (n-1)/2 reference values are set according to the desired output voltage of the digital power supply , and in descending order;

当所述数字占空比信号的动态分量小于第(n-1)/2个参考值时,n个数模转换器维持当前状态;When the dynamic component of the digital duty ratio signal is smaller than the (n-1)/2th reference value, the n digital-to-analog converters maintain the current state;

当所述数字占空比信号的动态分量大于第一参考值时,所述n个数模转换器的输入信号均减1;When the dynamic component of the digital duty cycle signal is greater than the first reference value, the input signals of the n digital-to-analog converters are all decremented by 1;

当所述数字占空比信号的动态分量小于第k参考值而大于第k+1参考值,则第k+1数模转换器至第n-k数模转换器的输入信号均减1;When the dynamic component of the digital duty ratio signal is smaller than the kth reference value and greater than the k+1th reference value, the input signals of the k+1th digital-to-analog converter to the n-kth digital-to-analog converter are all reduced by 1;

所述n个数模转换器的输出信号作为n个基准值。The output signals of the n digital-to-analog converters are used as n reference values.

依据本发明一实施例的一种数字电源,包括上述所述的任一数字电源控制电路,还包括,功率级电路;所述数字电源控制电路输出的PWM控制信号来控制所述数字电源中的功率开关的开关动作,保证所述数字电源的输出电压与期望输出电压一致,并且,当所述数字电源的输出电压与期望输出电压不一致时,保证所述数字电源的输出电压快速恢复至所述期望输出电压。A digital power supply according to an embodiment of the present invention includes any of the digital power supply control circuits described above, and also includes a power stage circuit; the PWM control signal output by the digital power supply control circuit controls the digital power supply in the digital power supply The switching action of the power switch ensures that the output voltage of the digital power supply is consistent with the expected output voltage, and, when the output voltage of the digital power supply is inconsistent with the expected output voltage, ensures that the output voltage of the digital power supply quickly recovers to the desired output voltage.

依据本发明实施例的数字电源控制电路和控制方法,用补偿电路的数字占空比信号的动态分量来实时调节模数转换器ADC的多个基准值,所述动态分量表征了数字电源的当前输出电压的误差信息,因此,利用所述动态分量对基准值的调节反应了当前的误差信息。当所述动态分量较小时,对基准值的调节相应的也较小;当所述动态分量较大时,对基准值的调节相应的增大。通过这种调节使模数转换器ADC的输出能够快速的跟随当前输出电压的误差信息,从而通过后续的补偿电路来对这种误差信息进行快速的响应,即快速的调节所述数字占空比信号,来实现对数字电源的功率开关的快速调节,输出电压随之得到了快速的调整,显著提高了数字电源的动态响应性能。According to the digital power supply control circuit and control method of the embodiments of the present invention, the dynamic components of the digital duty cycle signal of the compensation circuit are used to adjust multiple reference values of the analog-to-digital converter ADC in real time, and the dynamic components represent the current state of the digital power supply. The error information of the output voltage, therefore, the adjustment of the reference value with said dynamic component reflects the current error information. When the dynamic component is small, the adjustment to the reference value is correspondingly small; when the dynamic component is large, the adjustment to the reference value is correspondingly increased. Through this adjustment, the output of the analog-to-digital converter ADC can quickly follow the error information of the current output voltage, so that the subsequent compensation circuit can quickly respond to this error information, that is, quickly adjust the digital duty cycle signal to realize the rapid adjustment of the power switch of the digital power supply, and the output voltage is quickly adjusted accordingly, which significantly improves the dynamic response performance of the digital power supply.

附图说明 Description of drawings

图1所示为现有技术中一种数字电源的原理框图;Fig. 1 shows a functional block diagram of a digital power supply in the prior art;

图2所示为依据本发明一实施例的数字电源控制电路的原理框图;FIG. 2 is a schematic block diagram of a digital power supply control circuit according to an embodiment of the present invention;

图3所示为依据本发明另一实施例的数字电源控制电路的原理框图;FIG. 3 is a functional block diagram of a digital power supply control circuit according to another embodiment of the present invention;

图4所示为依据本发明一实施例的数字电源控制方法的流程图;FIG. 4 is a flowchart of a digital power control method according to an embodiment of the present invention;

图5所示为依据本发明一实施例的n个基准值的产生方法的流程图;FIG. 5 is a flowchart of a method for generating n reference values according to an embodiment of the present invention;

图6所示为依据本发明的数字电源的原理框图。FIG. 6 is a schematic block diagram of a digital power supply according to the present invention.

具体实施方式 Detailed ways

以下结合附图对本发明的几个优选实施例进行详细描述,但本发明并不仅仅限于这些实施例。本发明涵盖任何在本发明的精髓和范围上做的替代、修改、等效方法以及方案。为了使公众对本发明有彻底的了解,在以下本发明优选实施例中详细说明了具体的细节,而对本领域技术人员来说没有这些细节的描述也可以完全理解本发明。Several preferred embodiments of the present invention will be described in detail below with reference to the accompanying drawings, but the present invention is not limited to these embodiments. The present invention covers any alternatives, modifications, equivalent methods and schemes made on the spirit and scope of the present invention. In order to provide the public with a thorough understanding of the present invention, specific details are set forth in the following preferred embodiments of the present invention, but those skilled in the art can fully understand the present invention without the description of these details.

参考图2,所示为依据本发明一实施例的数字电源控制电路的原理框图。在该实施例中,数字电源控制电路200包括模数转换器ADC 23,数字补偿电路22和DPWM模块21。Referring to FIG. 2 , it shows a functional block diagram of a digital power supply control circuit according to an embodiment of the present invention. In this embodiment, the digital power supply control circuit 200 includes an analog-to-digital converter ADC 23, a digital compensation circuit 22 and a DPWM module 21.

其中,模数转换器23接收数字电源的输出电压Vout,并与n个基准值(Vref1,Vref2,Vref3……Vrefn)进行比较,比较结果转换为表征所述数字电源的当前输出电压与期望输出电压之间的误差的数字误差信号E_digital,这里n取值为n≥3;Wherein, the analog-to-digital converter 23 receives the output voltage V out of the digital power supply and compares it with n reference values (V ref1 , V ref2 , V ref3 ... V refn ), and the comparison result is converted into the current The digital error signal E_digital of the error between the output voltage and the expected output voltage, where n takes the value n≥3;

进一步的,所述n个基准值的数目为奇数,所述n个基准值的数值以所述数字电源的期望输出电压为中心,分布在所述数字电源的期望输出电压的两侧。例如,所述n个基准值可以设置为等差数列,并且第(n+1)/2基准值的数值与所述期望输出电压一致,则所述n个基准值以所述期望输出电压为中心,均匀分布在所述期望输出电压的两侧。本领域技术人员根据本发明的教导,可以得知其他任何合适形式的n个基准值的数值范围均可以适用于本发明的实施例。Further, the number of the n reference values is an odd number, and the values of the n reference values center on the expected output voltage of the digital power supply and are distributed on both sides of the expected output voltage of the digital power supply. For example, the n reference values can be set as an arithmetic sequence, and the value of the (n+1)/2th reference value is consistent with the expected output voltage, then the n reference values are based on the expected output voltage as center, evenly distributed on both sides of the desired output voltage. According to the teaching of the present invention, those skilled in the art can know that the numerical ranges of n reference values in any other suitable form can be applicable to the embodiments of the present invention.

数字补偿电路22接收所述数字误差信号E_digital,并据以产生相应的数字占空比信号D_digital;其中数字占空比信号D_digital的动态分量ΔD_digital反馈输入至模数转换器23,来实时的调节n个基准值(Vref1,Vref2,Vref3……Vrefn)的数值;The digital compensation circuit 22 receives the digital error signal E_digital, and generates a corresponding digital duty ratio signal D_digital accordingly; wherein the dynamic component ΔD_digital of the digital duty ratio signal D_digital is fed back to the analog-to-digital converter 23 to adjust n in real time Numerical values of reference values (V ref1 , V ref2 , V ref3 ... V refn );

DPWM模块21接收所述数字占空比信号D_digital,应用片上定时器等电路输出PWM控制信号,来驱动数字电源中的功率开关管的导通和关断状态,保证所述数字电源的输出电压与期望输出电压一致,并且,当所述数字电源的输出电压与期望输出电压不一致时,保证所述数字电源的输出电压快速恢复至所述期望输出电压。The DPWM module 21 receives the digital duty ratio signal D_digital, and outputs a PWM control signal using an on-chip timer and other circuits to drive the on and off states of the power switch tube in the digital power supply to ensure that the output voltage of the digital power supply is consistent with The expected output voltage is consistent, and when the output voltage of the digital power supply is inconsistent with the expected output voltage, it is ensured that the output voltage of the digital power supply quickly recovers to the expected output voltage.

这里,模数转换器ADC 23可以包括基准值发生电路201,n个比较器(202-2,202-2,202-3……202-n)和数字译码器203。Here, the analog-to-digital converter ADC 23 may include a reference value generating circuit 201, n comparators (202-2, 202-2, 202-3...202-n) and a digital decoder 203.

基准值发生电路201根据接收到的数字电源中的所述数字占空比信号的动态分量ΔD_digital来实时调节n个基准值(Vref1,Vref2,Vref3……Vrefn)的数值。所述数字占空比信号的动态分量ΔD_digital表征数字电源的当前输出电压与期望输出电压之间的误差信息。当所述数字占空比信号的动态分量ΔD_digital较小时,表征数字电源的当前输出电压与期望输出电压之间的误差较小,因此,此时仅对n个基准值(Vref1,Vref2,Vref3……Vrefn)中的部分值进行调节。当所述数字占空比信号的动态分量ΔD_digital较大时,表征数字电源的当前输出电压与期望输出电压之间的误差较大,因此,此时将n个基准值(Vref1,Vref2,Vref3……Vrefn)中的全部或者大部分值进行调节。The reference value generating circuit 201 adjusts the values of n reference values (V ref1 , V ref2 , V ref3 . The dynamic component ΔD_digital of the digital duty ratio signal represents the error information between the current output voltage and the expected output voltage of the digital power supply. When the dynamic component ΔD_digital of the digital duty cycle signal is small, the error between the current output voltage representing the digital power supply and the expected output voltage is small, therefore, only n reference values (V ref1 , V ref2 , V ref3 ... V refn ) for adjustment. When the dynamic component ΔD_digital of the digital duty cycle signal is large, the error between the current output voltage and the expected output voltage representing the digital power supply is relatively large. Therefore, at this time, the n reference values (V ref1 , V ref2 , V ref3 ... V refn ) to adjust all or most of the values.

n个比较器(202-1,202-2,202-3……202-n)的反相输入端分别接收数字电源的输出电压Vout,也可以是表征数字电源的输出电压的反馈电压,同相输入端分别接收所述n个基准值(Vref1,Vref2,Vref3……Vrefn),n个比较器(202-1,201-2,201-3……201-n)的输出信号表征了当前输出电压与期望输出电压之间的误差信息。The inverting input terminals of n comparators (202-1, 202-2, 202-3...202-n) respectively receive the output voltage Vout of the digital power supply, and can also be the feedback voltage representing the output voltage of the digital power supply, in phase The input terminals respectively receive the n reference values (V ref1 , V ref2 , V ref3 ... V refn ) and the output signals of n comparators (202-1, 201-2, 201-3 ... 201-n) Characterizes the error information between the current output voltage and the expected output voltage.

数字译码器203将接收到的所述n个比较器(202-1,201-2,201-3……201-n)的输出信号转换为数字误差信号E_digital,然后输入至数字补偿电路22。The digital decoder 203 converts the received output signals of the n comparators (202-1, 201-2, 201-3...201-n) into a digital error signal E_digital, and then inputs it to the digital compensation circuit 22 .

可见,图2所示的依据本发明实施例的数字电源控制电路,用数字补偿电路22的数字占空比信号的动态分量来实时调节模数转换器ADC的多个基准值,所述动态分量表征了数字电源的当前输出电压的误差信息,因此,利用所述动态分量对基准值的调节反应了当前的误差信息。当所述动态分量较小时,对基准值的调节相应的也较小,当所述动态分量较大时,对基准值的调节相应的增大。通过上述对基准值的调节使模数转换器ADC的输出能够快速的跟随当前输出电压的误差信息,从而通过后续的补偿电路来对这种误差信息进行快速的响应,即快速的调节所述数字占空比信号,来实现对数字电源的功率开关的快速调节,输出电压随之得到了快速的调整,显著提高了数字电源的动态响应性能。It can be seen that the digital power supply control circuit shown in FIG. 2 according to the embodiment of the present invention uses the dynamic component of the digital duty cycle signal of the digital compensation circuit 22 to adjust the multiple reference values of the analog-to-digital converter ADC in real time. The dynamic component It characterizes the error information of the current output voltage of the digital power supply, therefore, the adjustment of the reference value by using the dynamic component reflects the current error information. When the dynamic component is small, the adjustment to the reference value is correspondingly small, and when the dynamic component is large, the adjustment to the reference value is correspondingly increased. Through the above adjustment of the reference value, the output of the analog-to-digital converter ADC can quickly follow the error information of the current output voltage, so that the subsequent compensation circuit can quickly respond to this error information, that is, quickly adjust the digital The duty cycle signal is used to realize the rapid adjustment of the power switch of the digital power supply, and the output voltage is adjusted quickly, which significantly improves the dynamic response performance of the digital power supply.

参考图3,所示为依据本发明另一实施例的数字电源控制电路的原理框图。该实施例在图2所示的实施例的基础上,进一步的详细说明了基准电压发生电路的一种具体实现方式。以下将详细叙述基准电压发生电路的工作原理,与图2所示的实施例相同的部分将不再赘述。Referring to FIG. 3 , it is a functional block diagram of a digital power supply control circuit according to another embodiment of the present invention. On the basis of the embodiment shown in FIG. 2 , this embodiment further details a specific implementation of the reference voltage generating circuit. The working principle of the reference voltage generating circuit will be described in detail below, and the same parts as those in the embodiment shown in FIG. 2 will not be repeated.

在该实施例中,所述基准电压发生电路201包括n个数模转换器(DAC1,DAC2,DAC3……DACn),n个计数器,(n-1)/2个寄存器以及处理器DSP。其中,所述(n-1)/2个寄存器相应的分别具有(n-1)/2个参考值(REF1,REF2,REF3……REF(n-1)/2),所述(n-1)/2个参考值的数值依次递减,并且根据所述数字电源的期望输出电压进行相应设置;例如,可以选择为递减的等差数列。所述n个计数器分别与相应的n个数模转换器(DAC1,DAC2,DAC3……DACn)中的一个相连接。In this embodiment, the reference voltage generating circuit 201 includes n digital-to-analog converters (DAC1, DAC2, DAC3...DACn), n counters, (n-1)/2 registers and a processor DSP. Wherein, the (n-1)/2 registers respectively have (n-1)/2 reference values (REF1, REF2, REF3...REF(n-1)/2), the (n- The values of 1)/2 reference values decrease successively, and are set accordingly according to the expected output voltage of the digital power supply; for example, it can be selected as a decreasing arithmetic sequence. The n counters are respectively connected to one of the corresponding n digital-to-analog converters (DAC1, DAC2, DAC3...DACn).

所述数字占空比信号的动态分量ΔD_digital与所述(n-1)/2个参考值(REF1,REF2,REF3……REF(n-1)/2)进行数值在处理器DSP中进行比较,The dynamic component ΔD_digital of the digital duty ratio signal is numerically compared with the (n-1)/2 reference values (REF1, REF2, REF3...REF(n-1)/2) in the processor DSP ,

当所述动态变量小于第(n-1)/2参考值时,所述n个数模转换器的输入信号维持当前状态;When the dynamic variable is smaller than the (n-1)/2th reference value, the input signals of the n digital-to-analog converters maintain the current state;

当所述数字占空比信号的动态分量ΔD_digital大于第一参考值REF1时,则所述n个数模转换器的输入信号通过计数器1至计数器n均减1;When the dynamic component ΔD_digital of the digital duty cycle signal is greater than the first reference value REF1, the input signals of the n digital-to-analog converters are decremented by 1 through counters 1 to 1;

当所述数字占空比信号的动态分量ΔD_digital小于第一参考值REF1而大于第二参考值REF2,则第二数模转换器至第n-1数模转换器的输入信号通过计数器2至计数器(n-1)均减1;When the dynamic component ΔD_digital of the digital duty cycle signal is less than the first reference value REF1 and greater than the second reference value REF2, the input signal from the second digital-to-analog converter to the n-1th digital-to-analog converter passes through the counter 2 to the counter (n-1) are all minus 1;

当所述数字占空比信号的动态分量ΔD_digital小于第二参考值REF2而大于第三参考值REF3,则第三数模转换器至第n-2数模转换器的输入信号通过计数器3至计数器(n-2)均减1;When the dynamic component ΔD_digital of the digital duty ratio signal is less than the second reference value REF2 and greater than the third reference value REF3, the input signal from the third digital-to-analog converter to the n-2th digital-to-analog converter passes through the counter 3 to the counter (n-2) minus 1;

依次类推,当所述数字占空比信号的动态分量ΔD_digital小于第k参考值REFk而大于第k+1参考值REF(k+1),则第k+1数模转换器至第n-k数模转换器的输入信号通过计数器k+1至计数器n-k均减1;By analogy, when the dynamic component ΔD_digital of the digital duty cycle signal is less than the kth reference value REFk and greater than the k+1th reference value REF(k+1), the k+1th digital-to-analog converter to the n-kth digital-to-analog converter The input signal of the converter is decremented by 1 from the counter k+1 to the counter n-k;

所述n个数模转换器的输出信号作为所述n个基准值(Vref1,Vref2,Vref3……Vrefn)。Output signals of the n digital-to-analog converters are used as the n reference values (V ref1 , V ref2 , V ref3 . . . V refn ).

图3所示的依据本发明实施例的数字电源控制电路,用数字补偿电路22的数字占空比信号的动态分量来实时调节模数转换器ADC的n个基准值。根据当前数字占空比信号的动态分量在(n-1)/2个参考值(REF1,REF2,REF3……REF(n-1)/2)表示的一个数值范围内的位置,来相应的通过计数器获得一组数字信号,再通过数模转换器转换而获得所述n个基准值(Vref1,Vref2,Vref3……Vrefn)。The digital power supply control circuit shown in FIG. 3 according to the embodiment of the present invention uses the dynamic component of the digital duty cycle signal of the digital compensation circuit 22 to adjust n reference values of the analog-to-digital converter ADC in real time. According to the position of the dynamic component of the current digital duty cycle signal within a range of values represented by (n-1)/2 reference values (REF1, REF2, REF3...REF(n-1)/2), the corresponding A set of digital signals are obtained by a counter, and then converted by a digital-to-analog converter to obtain the n reference values (V ref1 , V ref2 , V ref3 . . . V refn ).

所述动态分量表征了数字电源的当前输出电压的误差信息,因此,利用所述动态分量对基准值的调节反应了当前的误差信息,当所述动态分量较小时,对基准值的调节相应的也较小,当所述动态分量较大时,对基准值的调节相应的增大。因此,模数转换器ADC的输出能够快速的跟随当前输出电压的误差信息,从而通过后续的补偿电路来对这种误差信息进行快速的响应,即快速的调节所述数字占空比信号,来实现对数字电源的功率开关的快速调节,输出电压随之得到了快速的调整,显著提高了数字电源的动态响应性能。The dynamic component represents the error information of the current output voltage of the digital power supply. Therefore, the adjustment of the reference value using the dynamic component reflects the current error information. When the dynamic component is small, the adjustment of the reference value corresponds to is also smaller, and when the dynamic component is larger, the adjustment to the reference value is correspondingly increased. Therefore, the output of the analog-to-digital converter ADC can quickly follow the error information of the current output voltage, so that the subsequent compensation circuit can quickly respond to this error information, that is, quickly adjust the digital duty ratio signal to The fast adjustment of the power switch of the digital power supply is realized, and the output voltage is adjusted quickly accordingly, which significantly improves the dynamic response performance of the digital power supply.

参考图4,所示为依据本发明一实施例的数字电源控制方法的流程图,包括以下步骤:Referring to FIG. 4, it shows a flow chart of a digital power supply control method according to an embodiment of the present invention, including the following steps:

S401:采样数字电源的输出电压;S401: sampling the output voltage of the digital power supply;

S402:将所述数字电源的输出电压与n个基准值(Vref1,Vref2,Vref3……Vrefn)分别进行比较,获得n个比较信号,n≥3;S402: Comparing the output voltage of the digital power supply with n reference values (V ref1 , V ref2 , V ref3 ... V refn ) respectively to obtain n comparison signals, n≥3;

S403:将所述n个比较信号转换为表征所述数字电源的当前输出电压与期望输出电压之间的误差的数字误差信号;S403: Convert the n comparison signals into digital error signals representing the error between the current output voltage and the expected output voltage of the digital power supply;

S404:根据所述数字误差信号,产生数字占空比信号,并且根据所述数字占空比信号的动态分量对所述n个基准值的数值进行调节;S404: Generate a digital duty ratio signal according to the digital error signal, and adjust the values of the n reference values according to a dynamic component of the digital duty ratio signal;

S405:根据所述数字占空比信号,产生PWM控制信号来控制所述数字电源中的功率开关的开关动作,保证所述数字电源的输出电压与期望输出电压一致,并且,当所述数字电源的输出电压与期望输出电压不一致时,保证所述数字电源的输出电压快速恢复至所述期望输出电压。S405: According to the digital duty cycle signal, generate a PWM control signal to control the switching action of the power switch in the digital power supply, to ensure that the output voltage of the digital power supply is consistent with the expected output voltage, and, when the digital power supply When the output voltage of the digital power supply is inconsistent with the expected output voltage, it is ensured that the output voltage of the digital power supply quickly recovers to the expected output voltage.

其中,所述n个基准值的数目为奇数,所述n个基准值的数值依次递减,分布在所述数字电源的期望输出电压的两侧。所述n个基准值的数值可以根据实际需要进行相应的设置,例如,可以将所述n个基准值的数值设置为一等差数列,并且第(n+1)/2基准值的数值与所述期望输出电压一致,则所述n个基准值以所述期望输出电压为中心,均匀分布在所述期望输出电压的两侧。本领域技术人员根据本发明的教导,可以得知其他任何合适形式的n个基准值的数值范围均可以适用于本发明的实施例。Wherein, the number of the n reference values is an odd number, and the values of the n reference values decrease successively, and are distributed on both sides of the expected output voltage of the digital power supply. The numerical values of the n reference values can be set accordingly according to actual needs, for example, the numerical values of the n reference values can be set as an arithmetic progression, and the numerical value of the (n+1)/2th reference value is the same as If the expected output voltages are consistent, the n reference values are centered on the expected output voltage and evenly distributed on both sides of the expected output voltage. According to the teaching of the present invention, those skilled in the art can know that the numerical ranges of n reference values in any other suitable form can be applicable to the embodiments of the present invention.

并且,所述n个基准值的数值可以根据所述数字占空比信号的动态分量进行实时调节,所述数字占空比信号的动态分量表征数字电源的当前输出电压与期望输出电压之间的误差信息,因此,当所述数字占空比信号的动态分量较大时,表示数字电源的当前输出电压与期望输出电压之间的误差较大,此时,将n个基准值中的全部或者部分数值调节为向所述数字电源的期望输出电压靠拢,以增强调节效果;当所述数字占空比信号的动态分量较小时,表示数字电源的当前输出电压与期望输出电压之间的误差较小,如果误差足够小,可以不对n个基准值的数值进行调节;如果误差略大,则将n个基准值中的部分基准值的数值调节为向所述数字电源的期望输出电压靠拢。Moreover, the values of the n reference values can be adjusted in real time according to the dynamic component of the digital duty ratio signal, and the dynamic component of the digital duty ratio signal represents the difference between the current output voltage and the expected output voltage of the digital power supply. Error information, therefore, when the dynamic component of the digital duty cycle signal is large, it means that the error between the current output voltage of the digital power supply and the expected output voltage is large, at this time, all or all of the n reference values Part of the numerical value is adjusted to be closer to the expected output voltage of the digital power supply to enhance the adjustment effect; when the dynamic component of the digital duty cycle signal is small, it means that the error between the current output voltage of the digital power supply and the expected output voltage is relatively small. Small, if the error is small enough, the values of the n reference values may not be adjusted; if the error is slightly larger, the values of some of the reference values in the n reference values are adjusted to approach the expected output voltage of the digital power supply.

因此,依据本发明实施例的数字电源控制方法,数字误差信号能够快速的跟踪当前输出电压的误差信息,从而对这种误差信息进行快速的响应,即快速的调节所述数字占空比信号,来实现对数字电源的功率开关的快速调节,输出电压随之得到了快速的调整,显著提高了数字电源的动态响应性能。Therefore, according to the digital power supply control method of the embodiment of the present invention, the digital error signal can quickly track the error information of the current output voltage, so as to respond quickly to this error information, that is, to quickly adjust the digital duty ratio signal, To realize the rapid adjustment of the power switch of the digital power supply, the output voltage is quickly adjusted accordingly, and the dynamic response performance of the digital power supply is significantly improved.

参考图5,所示为依据本发明一实施例的n个基准值的产生方法的流程图,其包括以下步骤:Referring to FIG. 5 , it shows a flowchart of a method for generating n reference values according to an embodiment of the present invention, which includes the following steps:

S501:采样数字电源的数字占空比信号的动态分量;S501: sampling the dynamic component of the digital duty ratio signal of the digital power supply;

S502:将所述动态分量与(n-1)/2个参考值进行比较;S502: Compare the dynamic component with (n-1)/2 reference values;

所述(n-1)/2个参考值的数值依次递减;所述(n-1)/2个参考值的数值根据所述数字电源的期望输出电压进行设置;The values of the (n-1)/2 reference values are sequentially decremented; the values of the (n-1)/2 reference values are set according to the expected output voltage of the digital power supply;

S503:当所述动态分量小于第(n-1)/2参考值时,与所述n个基准值一一对应的n个数模转换器维持当前状态;S503: When the dynamic component is smaller than the (n-1)/2th reference value, the n digital-to-analog converters corresponding to the n reference values one-to-one maintain the current state;

S504:当所述动态分量大于第一参考值时,所述n个数模转换器的输入信号均减1;S504: When the dynamic component is greater than the first reference value, the input signals of the n digital-to-analog converters are all decremented by 1;

S505:当所述动态变量小于第k参考值而大于第k+1参考值,则第k+1数模转换器至第n-k数模转换器的输入信号均减1;S505: When the dynamic variable is smaller than the kth reference value but larger than the k+1th reference value, the input signals of the k+1th digital-to-analog converter to the n-kth digital-to-analog converter are all decremented by 1;

进一步的,可以通过与所述n个数模转换器一一对应的n个计数器来实现对数模转换器输入信号的改变;Further, the change of the input signal of the digital-to-analog converter can be realized through n counters corresponding to the n digital-to-analog converters one-to-one;

S506:所述n个数模转换器的输出信号作为n个基准值。S506: The output signals of the n digital-to-analog converters are used as n reference values.

通过上述依据本发明实施例的n个基准值的产生方法,根据所述动态变量在(n-1)/2个参考值所确定的一数值范围内的位置,来相应的通过一组计数器来调节n个基准值中全部或者部分基准值的数值。Through the above method for generating n reference values according to the embodiment of the present invention, according to the position of the dynamic variable within a numerical range determined by (n-1)/2 reference values, correspondingly through a group of counters Adjust the values of all or part of the n reference values.

参考图6,所示为依据本发明一实施例的一种数字电源的原理框图。在该实施例中,所述数字电源600包括功率级电路601和数字电源控制电路602。其中,功率级电路601可以为包括功率开关,整流开关,电感和滤波电路的降压型、升压型、升压-降压型或者隔离式拓扑结构;数字电源控制电路602可以为上述所述的依据本发明实施例的任一数字电源控制电路,如图2和图3,以及基于本发明公开的上述实施例的合理变形。Referring to FIG. 6 , it is a functional block diagram of a digital power supply according to an embodiment of the present invention. In this embodiment, the digital power supply 600 includes a power stage circuit 601 and a digital power supply control circuit 602 . Wherein, the power stage circuit 601 may be a step-down type, a step-up type, a step-up-buck type or an isolated topology including a power switch, a rectifier switch, an inductor and a filter circuit; the digital power supply control circuit 602 may be the above-mentioned Any digital power supply control circuit according to an embodiment of the present invention, as shown in FIG. 2 and FIG. 3 , and reasonable modifications based on the above-mentioned embodiments disclosed in the present invention.

所述数字电源控制电路输出的PWM控制信号来控制所述数字电源中的功率开关的开关动作,保证所述数字电源的输出电压与期望输出电压一致,并且,当所述数字电源的输出电压与期望输出电压不一致时,保证所述数字电源的输出电压快速恢复至所述期望输出电压。The PWM control signal output by the digital power supply control circuit controls the switching action of the power switch in the digital power supply to ensure that the output voltage of the digital power supply is consistent with the expected output voltage, and when the output voltage of the digital power supply is consistent with When the expected output voltages are inconsistent, it is ensured that the output voltage of the digital power supply quickly recovers to the expected output voltage.

需要说明的是,本发明各个实施例间名称相同的器件功能也相同,且改进行性的实施例可分别与上述多个相关实施例进行结合,但说明时仅已在上一实施例的基础上举例说明。并且,以上仅是以如图2图3所示的电路为例对本实施例中的数字电源控制电路进行说明,但这两种电路的结构包括但并不限定于以上公开的形式,只要能够实现本发明实施例所述的相关电路的功能即可,因此,本领域技术人员在本发明实施例公开的电路的基础上所做的相关的改进,也在本发明实施例的保护范围之内。It should be noted that the devices with the same name have the same functions among the various embodiments of the present invention, and the improved embodiments can be combined with the above-mentioned multiple related embodiments, but the description is only on the basis of the previous embodiment The above example illustrates. Moreover, the above is only taking the circuit shown in Figure 2 and Figure 3 as an example to illustrate the digital power supply control circuit in this embodiment, but the structures of these two circuits include but are not limited to the forms disclosed above, as long as it can realize The functions of the relevant circuits described in the embodiments of the present invention are sufficient. Therefore, relevant improvements made by those skilled in the art on the basis of the circuits disclosed in the embodiments of the present invention are also within the protection scope of the embodiments of the present invention.

另外,还需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。In addition, it should also be noted that in this article, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that these entities or operations, any such actual relationship or order exists. Furthermore, the term "comprises", "comprises" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article, or apparatus comprising a set of elements includes not only those elements, but also includes elements not expressly listed. other elements of or also include elements inherent in such a process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article or apparatus comprising said element.

依照本发明的实施例如上文所述,这些实施例并没有详尽叙述所有的细节,也不限制该发明仅为所述的具体实施例。显然,根据以上描述,可作很多的修改和变化。本说明书选取并具体描述这些实施例,是为了更好地解释本发明的原理和实际应用,从而使所属技术领域技术人员能很好地利用本发明以及在本发明基础上的修改使用。本发明仅受权利要求书及其全部范围和等效物的限制。Embodiments according to the present invention are described above, and these embodiments do not describe all details in detail, nor do they limit the invention to only the specific embodiments described. Obviously many modifications and variations are possible in light of the above description. This description selects and specifically describes these embodiments in order to better explain the principles and practical applications of the present invention, so that those skilled in the art can make good use of the present invention and its modification on the basis of the present invention. The invention is to be limited only by the claims, along with their full scope and equivalents.

Claims (10)

1.一种数字电源控制电路,应用于一数字电源中,其特征在于,包括:1. A digital power supply control circuit, applied in a digital power supply, is characterized in that, comprising: 模数转换器,用以接收所述数字电源的输出电压,并与n个基准值进行比较,比较结果转换为表征所述数字电源的当前输出电压与期望输出电压之间的误差的数字误差信号,n≥3;An analog-to-digital converter, configured to receive the output voltage of the digital power supply and compare it with n reference values, and convert the comparison result into a digital error signal representing the error between the current output voltage of the digital power supply and the expected output voltage , n≥3; 数字补偿电路,接收所述数字误差信号,以相应的产生数字占空比信号;其中所述数字占空比信号的动态分量传递至所述模数转换器,以相应的改变所述一组基准值的数值;The digital compensation circuit receives the digital error signal to generate a digital duty cycle signal accordingly; wherein the dynamic component of the digital duty cycle signal is transmitted to the analog-to-digital converter to change the set of references accordingly the numeric value of the value; DPWM模块,根据接收到的所述数字占空比信号,产生PWM控制信号来控制所述数字电源中的功率开关的开关动作,保证所述数字电源的输出电压与期望输出电压一致,并且,当所述数字电源的输出电压与期望输出电压不一致时,保证所述数字电源的输出电压快速恢复至所述期望输出电压。The DPWM module generates a PWM control signal to control the switching action of the power switch in the digital power supply according to the received digital duty ratio signal, so as to ensure that the output voltage of the digital power supply is consistent with the expected output voltage, and, when When the output voltage of the digital power supply is inconsistent with the expected output voltage, it is ensured that the output voltage of the digital power supply quickly recovers to the expected output voltage. 2.根据权利要求1所述的数字电源控制电路,其特征在于,n为奇数,所述n个基准值的数值以所述数字电源的期望输出电压为中心,分布在所述数字电源的期望输出电压的两侧。2. The digital power supply control circuit according to claim 1, wherein n is an odd number, and the numerical values of the n reference values are centered on the expected output voltage of the digital power supply and distributed in the expected output voltage of the digital power supply. both sides of the output voltage. 3.根据权利要求2所述的数字电源控制电路,其特征在于,所述模数转换器包括n个比较器,所述n个比较器的第一输入端接收所述数字电源的输出电压,第二输入端分别接收所述n个基准值。3. The digital power supply control circuit according to claim 2, wherein the analog-to-digital converter comprises n comparators, and the first input terminals of the n comparators receive the output voltage of the digital power supply, The second input end respectively receives the n reference values. 4.根据权利要求3所述的数字电源控制电路,其特征在于,所述模数转换器包括数字译码器,用以接收所述n个比较器的输出信号,并将所述输出信号转换为所述数字误差信号。4. The digital power supply control circuit according to claim 3, wherein the analog-to-digital converter includes a digital decoder for receiving the output signals of the n comparators and converting the output signals is the digital error signal. 5.根据权利要求2所述的数字电源控制电路,其特征在于,所述模数转换器包括与所述n个基准值一一对应的n个数模转换器;5. The digital power supply control circuit according to claim 2, wherein the analog-to-digital converter comprises n digital-to-analog converters corresponding to the n reference values one-to-one; 根据所述数字占空比信号的动态分量与(n-1)/2个参考值的大小关系,调节所述n个数模转换器的输入信号;其中,所述(n-1)/2个参考值的数值根据所述数字电源的期望输出电流进行设置,并且依次递减;According to the relationship between the dynamic component of the digital duty cycle signal and (n-1)/2 reference values, adjust the input signals of the n digital-to-analog converters; wherein, the (n-1)/2 The numerical value of a reference value is set according to the expected output current of the digital power supply, and decreases successively; 当所述数字占空比信号的动态分量小于第(n-1)/2参考值时,所述n个数模转换器维持当前状态;When the dynamic component of the digital duty cycle signal is smaller than the (n-1)/2th reference value, the n digital-to-analog converters maintain the current state; 当所述数字占空比信号的动态分量大于第一参考值时,则所述n个数模转换器的输入信号均减1;When the dynamic component of the digital duty cycle signal is greater than the first reference value, the input signals of the n digital-to-analog converters are all decremented by 1; 当所述数字占空比信号的动态分量小于第一参考值而大于第二参考值,则第二数模转换器至第n-1数模转换器的输入信号均减1;When the dynamic component of the digital duty cycle signal is less than the first reference value and greater than the second reference value, the input signals of the second digital-to-analog converter to the n-1th digital-to-analog converter are all decremented by 1; 当所述数字占空比信号的动态分量小于第二参考值而大于第三参考值,则第三数模转换器至第n-2数模转换器的输入信号均减1;When the dynamic component of the digital duty cycle signal is less than the second reference value and greater than the third reference value, the input signals of the third digital-to-analog converter to the n-2th digital-to-analog converter are all decremented by 1; 依次类推,当所述数字占空比信号的动态分量小于第k参考值而大于第k+1参考值,则第k+1数模转换器至第n-k数模转换器的输入信号均减1;By analogy, when the dynamic component of the digital duty cycle signal is smaller than the kth reference value and greater than the k+1th reference value, the input signals of the k+1th digital-to-analog converter to the n-kth digital-to-analog converter are all reduced by 1 ; 所述n个数模转换器的输出信号作为所述n个基准值。The output signals of the n digital-to-analog converters are used as the n reference values. 6.根据权利要求5所述的数字电源控制电路,其特征在于,所述模数转换器还包括n个计数器和(n-1)/2个寄存器;其中,所述(n-1)/2个参考值分别存储在所述(n-1)/2个寄存器中;所述n个计数器与所述n个数模转换器一一对应连接。6. digital power supply control circuit according to claim 5, is characterized in that, described analog-to-digital converter also comprises n counters and (n-1)/2 registers; Wherein, described (n-1)/ The two reference values are respectively stored in the (n-1)/2 registers; the n counters are connected to the n digital-to-analog converters in one-to-one correspondence. 7.一种数字电源控制方法,应用于一数字电源中,其特征在于,包括以下步骤:7. A digital power supply control method, applied in a digital power supply, is characterized in that, comprising the following steps: 采样所述数字电源的输出电压;sampling the output voltage of the digital power supply; 将所述数字电源的输出电压与所述n个基准值分别进行比较,获得n个比较信号;Comparing the output voltage of the digital power supply with the n reference values respectively to obtain n comparison signals; 将所述n个比较信号转换为表征所述数字电源的当前输出电压与期望输出电压之间的误差的数字误差信号,n≥3;converting the n comparison signals into digital error signals representing the error between the current output voltage and the expected output voltage of the digital power supply, n≥3; 根据所述数字误差信号,产生所述数字占空比信号;generating the digital duty ratio signal according to the digital error signal; 根据所述数字占空比信号,产生PWM控制信号来控制所述数字电源中的功率开关的开关动作,保证所述数字电源的输出电压与期望输出电压一致,并且,当所述数字电源的输出电压与期望输出电压不一致时,保证所述数字电源的输出电压快速恢复至所述期望输出电压。According to the digital duty cycle signal, a PWM control signal is generated to control the switching action of the power switch in the digital power supply, so as to ensure that the output voltage of the digital power supply is consistent with the expected output voltage, and when the output of the digital power supply When the voltage is inconsistent with the expected output voltage, it is ensured that the output voltage of the digital power supply quickly recovers to the expected output voltage. 8.根据权利要求7所述的数字电源控制方法,其特征在于,n为奇数,所述n个基准值的数值以所述数字电源的期望输出电压为中心,分布在所述数字电源的期望输出电压的两侧。8. The digital power supply control method according to claim 7, wherein n is an odd number, and the numerical values of the n reference values are centered on the expected output voltage of the digital power supply and distributed in the expected output voltage of the digital power supply. both sides of the output voltage. 9.根据权利要求8所述的数字电源控制方法,其特征在于,所述n个基准值的产生包括以下步骤:9. digital power supply control method according to claim 8, is characterized in that, the generation of described n reference values comprises the following steps: 采样数字电源的数字占空比信号的动态分量;Sampling the dynamic component of the digital duty cycle signal of the digital power supply; 将所述数字占空比信号的动态分量与(n-1)/2个参考值进行比较;所述(n-1)/2个参考值的数值根据所述数字电源的期望输出电压进行设置,并且依次递减;comparing the dynamic component of the digital duty cycle signal with (n-1)/2 reference values; the values of the (n-1)/2 reference values are set according to the desired output voltage of the digital power supply , and in descending order; 当所述数字占空比信号的动态分量小于第(n-1)/2个参考值时,n个数模转换器维持当前状态;When the dynamic component of the digital duty ratio signal is smaller than the (n-1)/2th reference value, the n digital-to-analog converters maintain the current state; 当所述数字占空比信号的动态分量大于第一参考值时,所述n个数模转换器的输入信号均减1;When the dynamic component of the digital duty cycle signal is greater than the first reference value, the input signals of the n digital-to-analog converters are all decremented by 1; 当所述数字占空比信号的动态分量小于第k参考值而大于第k+1参考值,则第k+1数模转换器至第n-k数模转换器的输入信号均减1;When the dynamic component of the digital duty ratio signal is smaller than the kth reference value and greater than the k+1th reference value, the input signals of the k+1th digital-to-analog converter to the n-kth digital-to-analog converter are all reduced by 1; 所述n个数模转换器的输出信号作为n个基准值。The output signals of the n digital-to-analog converters are used as n reference values. 10.一种数字电源,其特征在于,包括权利要求1-6所述的任一数字电源控制电路,还包括,功率级电路;所述数字电源控制电路输出的PWM控制信号来控制所述数字电源中的功率开关的开关动作,保证所述数字电源的输出电压与期望输出电压一致,并且,当所述数字电源的输出电压与期望输出电压不一致时,保证所述数字电源的输出电压快速恢复至所述期望输出电压。10. A digital power supply, characterized in that it includes any digital power supply control circuit according to claims 1-6, and also includes a power stage circuit; the PWM control signal output by the digital power supply control circuit controls the digital power supply The switching action of the power switch in the power supply ensures that the output voltage of the digital power supply is consistent with the expected output voltage, and, when the output voltage of the digital power supply is inconsistent with the expected output voltage, ensures that the output voltage of the digital power supply recovers quickly to the desired output voltage.
CN201210151747.8A 2012-05-16 2012-05-16 Digital power supply control circuit, control method and digital power supply using circuit and method Active CN102684495B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210151747.8A CN102684495B (en) 2012-05-16 2012-05-16 Digital power supply control circuit, control method and digital power supply using circuit and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210151747.8A CN102684495B (en) 2012-05-16 2012-05-16 Digital power supply control circuit, control method and digital power supply using circuit and method

Publications (2)

Publication Number Publication Date
CN102684495A true CN102684495A (en) 2012-09-19
CN102684495B CN102684495B (en) 2015-02-18

Family

ID=46815990

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210151747.8A Active CN102684495B (en) 2012-05-16 2012-05-16 Digital power supply control circuit, control method and digital power supply using circuit and method

Country Status (1)

Country Link
CN (1) CN102684495B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103684458A (en) * 2013-12-16 2014-03-26 华为技术有限公司 Analog-digital converter protective circuit, digital power supply, method and module for processing digital signals and method for protecting circuit
CN104052262A (en) * 2013-03-15 2014-09-17 英特赛尔美国有限公司 Digital voltage compensation for power supply integrated circuits
US10250138B2 (en) 2013-03-15 2019-04-02 Intersil Americas LLC Digital voltage compensation for power supply integrated circuits
CN111176359A (en) * 2020-01-06 2020-05-19 深圳市雷能混合集成电路有限公司 Digital current control method and device
CN113922651A (en) * 2021-11-05 2022-01-11 四川升华电源科技有限公司 Digital power supply output short-circuit fault processing device and processing method thereof
CN115987310A (en) * 2021-10-15 2023-04-18 瑞昱半导体股份有限公司 Signal receiving device and slicing device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080186006A1 (en) * 2002-12-21 2008-08-07 Alain Chapuis Method and system for communicating filter compensation coefficients for a digital power control system
US20080290906A1 (en) * 2007-05-22 2008-11-27 Ite Tech. Inc. Constant-current driving circuit
CN101753034A (en) * 2008-10-23 2010-06-23 英特赛尔美国股份有限公司 Transient processing system for power inverter
CN101795068A (en) * 2009-05-26 2010-08-04 杭州矽力杰半导体技术有限公司 Switch type regulator and control method thereof
CN102136799A (en) * 2011-04-29 2011-07-27 电子科技大学 Current mode converter with self-calibration output
CN202663301U (en) * 2012-05-16 2013-01-09 杭州乐图光电科技有限公司 Digital power supply control circuit and digital power supply applying same

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080186006A1 (en) * 2002-12-21 2008-08-07 Alain Chapuis Method and system for communicating filter compensation coefficients for a digital power control system
US20080290906A1 (en) * 2007-05-22 2008-11-27 Ite Tech. Inc. Constant-current driving circuit
CN101753034A (en) * 2008-10-23 2010-06-23 英特赛尔美国股份有限公司 Transient processing system for power inverter
CN101795068A (en) * 2009-05-26 2010-08-04 杭州矽力杰半导体技术有限公司 Switch type regulator and control method thereof
CN102136799A (en) * 2011-04-29 2011-07-27 电子科技大学 Current mode converter with self-calibration output
CN202663301U (en) * 2012-05-16 2013-01-09 杭州乐图光电科技有限公司 Digital power supply control circuit and digital power supply applying same

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
胡庆波等: "一种新颖的全数字式双向恒流源电路的设计", 《电力电子技术》, vol. 40, no. 3, 30 June 2006 (2006-06-30), pages 1 - 3 *

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104052262A (en) * 2013-03-15 2014-09-17 英特赛尔美国有限公司 Digital voltage compensation for power supply integrated circuits
CN104052262B (en) * 2013-03-15 2018-02-13 英特赛尔美国有限公司 Digital voltage for power IC compensates
US10250138B2 (en) 2013-03-15 2019-04-02 Intersil Americas LLC Digital voltage compensation for power supply integrated circuits
CN103684458A (en) * 2013-12-16 2014-03-26 华为技术有限公司 Analog-digital converter protective circuit, digital power supply, method and module for processing digital signals and method for protecting circuit
CN103684458B (en) * 2013-12-16 2017-04-05 华为技术有限公司 Analog-digital converter protection circuit, digital power, the processing method of digital signal and processing module and circuit protection method
CN111176359A (en) * 2020-01-06 2020-05-19 深圳市雷能混合集成电路有限公司 Digital current control method and device
CN111176359B (en) * 2020-01-06 2021-07-02 深圳市雷能混合集成电路有限公司 Digital current control method and device
CN115987310A (en) * 2021-10-15 2023-04-18 瑞昱半导体股份有限公司 Signal receiving device and slicing device
CN113922651A (en) * 2021-11-05 2022-01-11 四川升华电源科技有限公司 Digital power supply output short-circuit fault processing device and processing method thereof
CN113922651B (en) * 2021-11-05 2024-10-01 四川升华电源科技有限公司 Digital power supply output short-circuit fault processing device and processing method thereof

Also Published As

Publication number Publication date
CN102684495B (en) 2015-02-18

Similar Documents

Publication Publication Date Title
CN102684495B (en) Digital power supply control circuit, control method and digital power supply using circuit and method
CN104539155B (en) It is a kind of to have from the Multiphase Parallel converter and its control method flowed
TWI436562B (en) Single-phase dc-to-dc converting circuit and multi-phase dc-to-dc converter system
US8498089B2 (en) Apparatus and method for sensing a current within a coil
JP5320424B2 (en) DC-DC converter control device and DC-DC converter
US8947063B2 (en) Power converter with the function of digital error correction
CN100438290C (en) DC-DC converter and conversion device
JP4547581B2 (en) Digital DC-DC converter using digital modulation
CN110445353A (en) Wave digital lowpass filter, power inverter and its control circuit and driving chip
TW201108578A (en) Control device for an interleaving power factor corrector
JP2014236225A (en) Semiconductor device and method of operating semiconductor device
CN111786661B (en) Self-calibration zero-crossing comparator and direct-current conversion circuit
US20240039384A1 (en) Current detection circuit and controller for switching converter circuit
CN110311558A (en) Fixed-time buck-boost switching power supply circuit and its control circuit and control method
CN105790575A (en) Voltage conversion circuit and control method thereof
CN116455219A (en) DC-DC switching converter, chip and electronic equipment
JP2009071950A (en) Constant current output control type switching regulator
CN108365747B (en) Switched capacitor DC-to-DC converter circuit and method of producing the same
CN101741250B (en) Pulse Width Modulation Control Circuit and Method for Reducing Electromagnetic Interference by Mains Frequency Modulation
CN115149803A (en) Control circuit, control method and multi-phase power supply of multi-phase power supply
CN211981750U (en) PCCM Buck Converter Controlled by Adaptive Pulse Train
CN110311557A (en) DC-DC converter controller and method of operation thereof
CN106329913A (en) A DC converter and its realization method
TWM658442U (en) Power stage circuit
CN102594141B (en) Digital switching power supply conversion device and method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C53 Correction of patent of invention or patent application
CB02 Change of applicant information

Address after: 10, 310023 floor, B zone, HOLLEY Science Park, No. 181, Wuchang Road, Yuhang District, Zhejiang, Hangzhou

Applicant after: Hangzhou Letu Photoelectric Technology Co.,Ltd.

Address before: 10, 310023 floor, B zone, HOLLEY Science Park, No. 181, Wuchang Road, Zhejiang, Hangzhou

Applicant before: Hangzhou Letu Photoelectric Technology Co.,Ltd.

C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20190531

Address after: 237300 Standardized Workshop B-8 of Jinwutong Pioneer Park, Jinzhai Modern Industrial Park, Luan City, Anhui Province

Patentee after: Anhui Letu Electronic Technology Co.,Ltd.

Address before: 310023 10/F, Huali Science Park B, 181 Wuchang Avenue, Yuhang District, Hangzhou City, Zhejiang Province

Patentee before: Hangzhou Letu Photoelectric Technology Co.,Ltd.

CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 237300 Standardized Workshop B-8 of Jinwutong Pioneer Park, Jinzhai Modern Industrial Park, Luan City, Anhui Province

Patentee after: Anhui Letu Electronic Technology Co.,Ltd.

Address before: 237300 Standardized Workshop B-8 of Jinwutong Pioneer Park, Jinzhai Modern Industrial Park, Luan City, Anhui Province

Patentee before: Anhui Letu Electronic Technology Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20241121

Address after: 237300 Jinzhai County Economic Development Zone (Modern Industrial Park), Lu'an City, Anhui Province, north of Mabanling Road and east of Changyun Logistics

Patentee after: Anhui Ruiqi Electronic Technology Co.,Ltd.

Country or region after: China

Address before: 237300 Standardized Workshop B-8 of Jinwutong Pioneer Park, Jinzhai Modern Industrial Park, Luan City, Anhui Province

Patentee before: Anhui Letu Electronic Technology Co.,Ltd.

Country or region before: China