CN1114258C - Digital switch converter with quantization error compensation function - Google Patents
Digital switch converter with quantization error compensation function Download PDFInfo
- Publication number
- CN1114258C CN1114258C CN 00127456 CN00127456A CN1114258C CN 1114258 C CN1114258 C CN 1114258C CN 00127456 CN00127456 CN 00127456 CN 00127456 A CN00127456 A CN 00127456A CN 1114258 C CN1114258 C CN 1114258C
- Authority
- CN
- China
- Prior art keywords
- adder
- controller
- converter
- output
- switching
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Analogue/Digital Conversion (AREA)
Abstract
具有量化误差补偿功能的数字化开关变换器,包括功率开关、衰减器、A/D转换器、加法器、调节器、开关控制器、驱动器和具有第一加法器、第二加法器、量化器和延时器的补偿控制器,它通过对开关控制器在时间上的量化误差的尾数进行存储、积累,据此对开关脉冲时刻值进行补偿,从而可实现显著提高开关变换器的数字化脉冲控制精度。
A digital switching converter with a quantization error compensation function, including a power switch, an attenuator, an A/D converter, an adder, a regulator, a switch controller, a driver, and a first adder, a second adder, a quantizer and The compensation controller of the delayer, which stores and accumulates the mantissa of the quantization error of the switching controller in time, and compensates the switching pulse time value accordingly, so as to significantly improve the digital pulse control accuracy of the switching converter .
Description
本发明涉及数字化开关变换器。The present invention relates to digital switching converters.
各类电力电子电源(包括AC/DC电源、DC/DC电源、逆变器等)广泛应用于各种电气化设备上,而其中的开关变换器则为这类电源的核心部份。开关变换器也是开关功率放大器的核心部件。开关变换器通过频繁切换其中的电力半导体开关,实现对电能的控制。近年来,随着数字信号处理芯片(DSP)、微处理器芯片(MPU)、微型计算机(MCU)、可编程逻辑门阵列(PLA)技术水平的发展,数字化控制技术开始在开关变换器中得到应用。常见采用的控制方式有脉冲宽度调节(PWM)控制、定脉宽变频控制、定频移相控制等,其中又以PWM控制较为典型。以现在采用的数字化开关变换器为例(见图1),它通常包括功率开关、衰减器、能将模拟信号转换成数字信号的A/D转换器、调节器(通常为比例—积分—微分调节器)、开关控制器(通常含计数器)及驱动模块。输出的电压(电流)通过衰减器降低幅度,经A/D转换成数字量。A/D的输出信号与给定量Vf通过加法器比较产生误差信号,由调节器进行处理。调节器的输出信号送入开关控制器,由此产生开关脉冲调节信号。最后,由驱动模块控制变换器的功率开关,从而影响变换器的输出Vo。在上述过程中,送入开关控制器的信号为一数字量,输出开关脉冲宽度的分辨率则取决于开关控制器的控制字长。通常,调节器的输出分辨率可达16Bits以上,远高于开关控制器中计数器的字长。脉冲宽度的量化误差表现为控制器输出信号的截尾误差。以采用PWM控制方式的20kHz的开关变换器为例,其周期为50μs,为实现16Bits的PWM分辨率,计数器的时钟频率必须达到216×20×103kHz=1.31GHz。而目前应用于开关变换器的DSP与MPU一般其时钟频率仅在5~50MHz左右,距上述要求甚远。当PWM的开关频率提高时变换器对数字控制器的时钟频率要求会更高。例如采用一个时钟频率为20MHz的DSP,当开关频率为50kHz时,其PWM的分辨率仅为400(控制字长低于9Bits)。这对于实现高精度的控制要求有很大差距。更严重的是,量化误差将导致开关变换器控制过程出现极限环振荡,而极限环振荡更会将开关变换器的输出误差放大许多倍。All kinds of power electronic power supplies (including AC/DC power supplies, DC/DC power supplies, inverters, etc.) are widely used in various electrification equipment, and the switching converter is the core part of this kind of power supply. The switching converter is also the core component of the switching power amplifier. The switching converter realizes the control of electric energy by frequently switching the power semiconductor switches in it. In recent years, with the development of digital signal processing chips (DSP), microprocessor chips (MPU), microcomputers (MCU), and programmable logic gate arrays (PLA), digital control technology has begun to be used in switching converters. application. Commonly used control methods include pulse width modulation (PWM) control, fixed pulse width variable frequency control, fixed frequency phase shift control, etc., among which PWM control is more typical. Take the current digital switching converter as an example (see Figure 1), which usually includes a power switch, an attenuator, an A/D converter that can convert an analog signal into a digital signal, and a regulator (usually proportional-integral-differential Regulator), switch controller (usually with counter) and drive module. The output voltage (current) is reduced by the attenuator and converted into digital quantity by A/D. The output signal of the A/D is compared with the given quantity V f to generate an error signal through the adder, which is processed by the regulator. The output signal of the regulator is sent to the switch controller, thereby generating the switch pulse regulation signal. Finally, the power switch of the converter is controlled by the drive module, thereby affecting the output V o of the converter. In the above process, the signal sent to the switch controller is a digital quantity, and the resolution of the output switch pulse width depends on the control word length of the switch controller. Usually, the output resolution of the regulator can reach more than 16Bits, which is much higher than the word length of the counter in the switch controller. Quantization errors in pulse width appear as truncation errors in the controller output signal. Take the 20kHz switching converter with PWM control mode as an example, its cycle is 50μs, in order to realize the PWM resolution of 16Bits, the clock frequency of the counter must reach 2 16 × 20 × 10 3 kHz = 1.31GHz. However, the DSP and MPU currently used in switching converters generally have a clock frequency of only about 5-50 MHz, which is far from the above-mentioned requirements. When the switching frequency of PWM increases, the converter will have higher requirements on the clock frequency of the digital controller. For example, if a DSP with a clock frequency of 20MHz is used, when the switching frequency is 50kHz, the resolution of its PWM is only 400 (the length of the control word is lower than 9Bits). This has a big gap for the realization of high-precision control requirements. What's more serious is that the quantization error will lead to the limit cycle oscillation in the control process of the switching converter, and the limit cycle oscillation will amplify the output error of the switching converter many times.
本发明的目的旨在提高数字化开关变换器的数字化脉冲控制精度,提出一种具有量化误差补偿功能的数字化开关变换器。The object of the present invention is to improve the digitized pulse control precision of the digitized switching converter, and to propose a digitized switching converter with quantization error compensation function.
本发明的具有量化误差补偿功能的数字化开关变换器,是在现有的数字化开关变换器中增设补偿控制器而构成,它包括功率开关、衰减器、A/D转换器、加法器、调节器、开关控制器和驱动器,其特征是在调节器与开关控制器之间接入补偿控制器,该补偿控制器包括第一加法器、第二加法器、量化器和延时器,第一加法器的一个输入端接调节器的输出端,另一个输入端接延时器的输出端,第一加法器的输出分别输入至量化器和第二加法器,量化器的输出分二路,其一路输入至第二加法器,另一路与开关控制器的输入端相连,第二加法器的输出端接延时器的输入端。The digital switching converter with quantization error compensation function of the present invention is formed by adding a compensation controller to the existing digital switching converter, and it includes a power switch, an attenuator, an A/D converter, an adder, and a regulator A switch controller and a driver are characterized in that a compensation controller is connected between the regulator and the switch controller, and the compensation controller includes a first adder, a second adder, a quantizer and a time delay device, and the first adder One of the input terminals is connected to the output terminal of the regulator, and the other input terminal is connected to the output terminal of the delayer. The output of the first adder is respectively input to the quantizer and the second adder. The output of the quantizer is divided into two paths, one of which is The input is to the second adder, the other is connected to the input end of the switch controller, and the output end of the second adder is connected to the input end of the delayer.
补偿控制器中的延时器作用是将数据延迟一个开关周期,其功能可用程序节拍实现,也可以由硬件实现,量化器是一个具有与开关控制器控制字长相同的存储器。The function of the delayer in the compensation controller is to delay the data by one switching cycle, and its function can be realized by the program beat or by hardware. The quantizer is a memory with the same control word length as the switch controller.
以下结合附图进一步说明本发明。Further illustrate the present invention below in conjunction with accompanying drawing.
图1是现有的数字化开关变换器框图;Figure 1 is a block diagram of an existing digital switching converter;
图2是本发明构成框图;Fig. 2 is a block diagram of the present invention;
图3是本发明的一种具体实例;Fig. 3 is a kind of concrete example of the present invention;
图4是用于图3实例的DSP芯片示意图。FIG. 4 is a schematic diagram of a DSP chip used in the example of FIG. 3 .
参照图1,本发明的具有量化误差补偿功能的数字化开关变换器包括功率开关1、衰减器2、A/D转换器3、加法器4、调节器5、开关控制器6和驱动器7,其特征是在调节器5与开关控制器6之间接入补偿控制器8,该补偿控制器包括第一加法器9、第二加法器10、量化器11和延时器12,第一加法器9的一个输入端接调节器5的输出端,另一个输入端接延时器12的输出端,第一加法器的输出分别输入至量化器11和第二加法器10,量化器11的输出分二路,其一路输入至第二加法器10,另一路与开关控制器6的输入端相连,第二加法器10的输出端接延时器12的输入端。Referring to Fig. 1, the digitized switching converter with quantization error compensation function of the present invention comprises power switch 1, attenuator 2, A/
通常,可以将开关控制器6、补偿控制器8、调节器5、加法器4及A/D转换器3专门集成在一片芯片上,或可以采用DSP或MPU或MCU或PLA等集成数字信号处理芯片。Usually, switch controller 6, compensation controller 8, regulator 5,
工作时,输出的电压(电流)通过衰减器2降低幅度,经A/D转换器3转换成数字量,A/D的输出信号与给定量Vf通过加法器4比较产生误差信号,由调节器5进行处理送入补偿控制器8,对开关变换器开关切换时刻作量化补偿,经过量化误差补偿的开关脉冲信号经开关控制器6、驱动器7去控制变换器的功率开关1,从而影响变换器的输出Vo。When working, the output voltage (current) is reduced by the attenuator 2, and converted into a digital quantity by the A/
设xn为补偿控制器的输入量,yn为输出量,其中各变量的下脚标为时序标号。yn *是送往开关控制器数据的截尾部分,而yn-1 *则是延时一个开关周期的yn *,yn-1 *的意义是不断地将截尾部分保留起来。与此同时,补偿控制器输出量yn是由调节器输出量与上一次截尾的误差之和的整数部分。补偿控制器的功能是:Let x n be the input quantity of the compensation controller, y n be the output quantity, and the subscript of each variable is the time series label. y n * is the truncated part of the data sent to the switch controller, and y n-1 * is y n * delayed by one switching cycle, and the meaning of y n-1 * is to keep the truncated part continuously. At the same time, the compensation controller output y n is the integer part of the sum of the regulator output and the last truncated error. The function of the compensation controller is:
1)当输入量不包含尾数时,yn-1 *将保持不变;1) When the input quantity does not contain the mantissa, y n-1 * will remain unchanged;
2)当输入量的尾数与上一次尾数相加时不产生进位时,尾数在每个开关周期被积分;2) When the mantissa of the input quantity is added to the last mantissa and no carry is generated, the mantissa is integrated in each switching cycle;
3)当输入量的尾数与上一次尾数相加时产生进位时,整数部分被取出用于补偿控制器的截尾误差,剩余的尾数用于下一次计算。3) When a carry is generated when the mantissa of the input quantity is added to the last mantissa, the integer part is taken out to compensate the truncation error of the controller, and the remaining mantissa is used for the next calculation.
4)尾数yn *由量化器的输入量与输出量之差确定,与选择的量化函数有关。上述表述可以用下面式子加以补充表达:
量化函数的取整通常可以采用弃尾法(即尾数舍去)或四舍五入或进一法(即只要有尾数即进一位)。The rounding of the quantization function can usually adopt the method of discarding the mantissa (that is, rounding off the mantissa) or rounding or rounding up (that is, as long as there is a mantissa, one digit is carried).
图3是本发明的具体实例,图3的上方是具有电容Ci、C0,电感L,二极管D,功率半导体主开关S的升压型开关电源变换器,图3的下方是数字脉冲控制部分,此例中的驱动器采用栅极驱动模块,其与功率半导体主开关S栅极相连,开关控制器采用数控PWM模块,调节器为PID单元,与电源变换器输出端相连的衰减器用电阻分压器,A/D为数模转换器,Vf则是数字形式的给定电压值,补偿控制器的结构与图2相同,其中量化器是一个具有与开关控制器控制字长相同的存储器,延时器用程序节拍或由硬件实现。其中的数控PWM、补偿控制器、PID、加法器和A/D也可采用如图4所示的型号为TMS320F240的DSP集成数字信号处理芯片。DSP芯片内置CPU(中央处理器)、定时器,以及A/D、PWM等硬件部分,模块之间通过总线通讯,程序与常数放在只读存储器(ROM)中,变量放在随机存储器(RAM)中。其中,PID及补偿功能是利用DSP的程序来实现的。该数字脉冲控制装置通过对功率半导体主开关的开关控制,可实现控制输出电压。试验表明,采用本发明可使量化误差所引起的限环电压波动被成功地削减90%。Fig. 3 is a specific example of the present invention, the top of Fig. 3 is a step-up switching power converter with capacitors C i , C 0 , inductance L, diode D, power semiconductor main switch S, and the bottom of Fig. 3 is a digital pulse control Part, the driver in this example uses a gate drive module, which is connected to the gate of the power semiconductor main switch S, the switch controller uses a digital control PWM module, the regulator is a PID unit, and the attenuator connected to the output terminal of the power converter is divided by a resistor. A/D is a digital-to-analog converter, V f is a given voltage value in digital form, the structure of the compensation controller is the same as that in Figure 2, and the quantizer is a memory with the same control word length as the switch controller , the delayer is implemented with a program beat or by hardware. Among them, the digital control PWM, compensation controller, PID, adder and A/D can also adopt the DSP integrated digital signal processing chip whose model is TMS320F240 as shown in Fig. 4 . The DSP chip has a built-in CPU (central processing unit), timer, and hardware parts such as A/D and PWM. The modules communicate through the bus. The program and constants are placed in the read-only memory (ROM), and the variables are placed in the random access memory (RAM). )middle. Among them, PID and compensation functions are realized by using DSP programs. The digital pulse control device can control the output voltage through the switching control of the main switch of the power semiconductor. Tests have shown that by adopting the present invention, the ring-limited voltage fluctuations caused by quantization errors can be successfully reduced by 90%.
本发明通过对开关变换器中的数字化脉冲控制单元在时间上的量化误差的尾数进行存储、积累,据此对脉冲时刻值进行补偿,从而能有效地降低数字量化所引起的控制误差,显著提高开关变换器的控制精度。本发明可以用于开关变换器中的脉冲时间变量(例如脉冲宽度)调节,能在不提高时钟频率的情况下,提升脉冲控制器的有效控制字长、细化进阶的分辨率,本发明有助于在各类开关变换器上实现数字化的精密控制,这对于高频开关电源变换器的数字控制技术的开发与推广意义尤为重要。The present invention stores and accumulates the mantissa of the time quantization error of the digitized pulse control unit in the switching converter, and compensates the pulse time value accordingly, thereby effectively reducing the control error caused by digital quantization and significantly improving Control accuracy of switching converters. The present invention can be used for pulse time variable (such as pulse width) adjustment in switching converters, and can increase the effective control word length of the pulse controller and refine and advance the resolution without increasing the clock frequency. It is helpful to realize digital precision control on various switching converters, which is particularly important for the development and promotion of digital control technology for high-frequency switching power converters.
本发明不仅仅限于补偿PWM的截尾误差,还可以对采用其它控制方式的开关变换器的脉冲量化误差进行补偿。例如,对于变频定脉宽控制、定频移相控制等方案的数字控制式开关变换器,均可采用本发明来补偿其脉冲控制的截尾误差。The invention is not limited to compensating the truncation error of PWM, but also can compensate the pulse quantization error of switching converters adopting other control modes. For example, the present invention can be used to compensate the truncation error of the pulse control for the digitally controlled switching converters with variable frequency fixed pulse width control, fixed frequency phase shift control and other schemes.
Claims (4)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN 00127456 CN1114258C (en) | 2000-11-20 | 2000-11-20 | Digital switch converter with quantization error compensation function |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN 00127456 CN1114258C (en) | 2000-11-20 | 2000-11-20 | Digital switch converter with quantization error compensation function |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN1354554A CN1354554A (en) | 2002-06-19 |
| CN1114258C true CN1114258C (en) | 2003-07-09 |
Family
ID=4592471
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN 00127456 Expired - Fee Related CN1114258C (en) | 2000-11-20 | 2000-11-20 | Digital switch converter with quantization error compensation function |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN1114258C (en) |
Families Citing this family (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6933709B2 (en) * | 2003-02-10 | 2005-08-23 | Power-One Limited | Digital control system and method for switched mode power supply |
| DE10331572B4 (en) * | 2003-07-11 | 2005-06-09 | Infineon Technologies Ag | Sigma-delta converter arrangement |
| US8406021B2 (en) * | 2009-08-10 | 2013-03-26 | Emerson Climate Technologies, Inc. | System and method for reducing line current distortion |
| CN101777770B (en) * | 2010-02-12 | 2013-05-08 | 浙江大学 | Control circuit for voltage dropping type power factor corrector |
| US9389628B2 (en) | 2012-04-20 | 2016-07-12 | Intel Deutschland Gmbh | Digitally controlled buck-boost regulator having a custom mapping controller |
-
2000
- 2000-11-20 CN CN 00127456 patent/CN1114258C/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| CN1354554A (en) | 2002-06-19 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US7271754B2 (en) | Digital pulse-width modulator | |
| Maksimovic et al. | Impact of digital control in power electronics | |
| US6005377A (en) | Programmable digital controller for switch mode power conversion and power supply employing the same | |
| US20040051510A1 (en) | Digital controller for DC-DC switching converters | |
| US11962249B2 (en) | Multi-level power converter architecture | |
| CN1623269A (en) | Synthetic ripple regulator | |
| US20240266943A1 (en) | Multi-phase high-precision current sharing control method applied to constant on-time control | |
| CN101753017A (en) | Method for changing an output voltage and circuit therefor | |
| Hu et al. | Nonlinear control for improved dynamic response of digitally controlled dc-dc converters | |
| US6737843B2 (en) | PWM switching regulator and electronic apparatus | |
| CN101164023B (en) | Power converter for adjusting input power coupling time in combination with cycle skipping | |
| CN1114258C (en) | Digital switch converter with quantization error compensation function | |
| CN1148864C (en) | Method and device for compensating ripple amplitude modulation | |
| Lu et al. | Reduction of digital PWM limit ring with novel control algorithm | |
| Consoli et al. | A new VRM topology for next generation microprocessors | |
| US20100301823A1 (en) | Power supply unit and control circuit of power supply unit | |
| CN1719707A (en) | DC-DC converter circuit | |
| US11374497B2 (en) | Methods and systems for power management | |
| Usmonov et al. | Suppression of quantization-induced limit cycles in digitally controlled DC-DC converters by dyadic digital pulse width modulation | |
| US10622896B1 (en) | Methods and systems of a switching power converter for controlling average current and with frequency adjustment | |
| CN1452307A (en) | Switch adjusting controlling circuit for modulation and control of pulse frequency | |
| CN1610234A (en) | UPS inverter and its pulse width modulation dead-zone compensation method | |
| Takayama et al. | Digitally controlled 10 MHz monolithic buck converter | |
| KR20070108167A (en) | Power converter with adjustments to overcome limited operation and ringing to save power | |
| CN1926490A (en) | Hybrid digital-analog switched power supply |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C06 | Publication | ||
| PB01 | Publication | ||
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant | ||
| C19 | Lapse of patent right due to non-payment of the annual fee | ||
| CF01 | Termination of patent right due to non-payment of annual fee |