CN100379138C - A control method and device for a series resonant converter - Google Patents
A control method and device for a series resonant converter Download PDFInfo
- Publication number
- CN100379138C CN100379138C CNB2003101174407A CN200310117440A CN100379138C CN 100379138 C CN100379138 C CN 100379138C CN B2003101174407 A CNB2003101174407 A CN B2003101174407A CN 200310117440 A CN200310117440 A CN 200310117440A CN 100379138 C CN100379138 C CN 100379138C
- Authority
- CN
- China
- Prior art keywords
- value
- series resonant
- circuit
- frequency
- interrupt
- 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 - Lifetime
Links
Images
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P80/00—Climate change mitigation technologies for sector-wide applications
- Y02P80/10—Efficient use of energy, e.g. using compressed air or pressurized fluid as energy carrier
Landscapes
- Inverter Devices (AREA)
- Dc-Dc Converters (AREA)
Abstract
本发明公开了一种串联谐振变换器的控制方法及装置,其中方法为:从负载电路采样反馈信号并提供给处理器;由处理器处理该反馈信号并根据处理后的结果判断采用调频控制方式还是采用移相控制方式;如果采用移相控制方式处理器反馈信号,则根据处理后的结果产生移相脉宽调制信号作为驱动脉冲;如果采用调频控制方式,则根据处理后的结果产生调频脉宽调制信号作为驱动脉冲;驱动电路根据接收的驱动脉冲产生相应的控制信号并输出给所述串联谐振电路。
The invention discloses a control method and device for a series resonant converter, wherein the method is as follows: sampling a feedback signal from a load circuit and providing it to a processor; processing the feedback signal by the processor and judging to adopt a frequency modulation control method according to the processed result The phase-shift control method is still used; if the phase-shift control method is used to process the feedback signal, the phase-shift pulse width modulation signal is generated as the driving pulse according to the processed result; if the frequency modulation control method is used, the frequency modulation pulse is generated according to the processed result The wide modulation signal is used as a driving pulse; the driving circuit generates a corresponding control signal according to the received driving pulse and outputs it to the series resonant circuit.
Description
技术领域technical field
本发明涉及直流电源变换技术,尤其涉及一种串联谐振变换器的控制方法及其装置。The invention relates to DC power conversion technology, in particular to a control method and device for a series resonant converter.
背景技术Background technique
电感-电感-电容(LLC)串联谐振电路是近来重新引起业界重视与研究的电路,它在理论上已比较成熟,而且在工业应用上与移相全桥相比具有一些较明显的优势:副边二极管自然关断,消除了副边的电压尖峰和关断损耗;在可变频的范围内都能实现MOS管的ZVS开通与关断;电路工作频率高可减小模块的体积与成本;原边电流为正弦波,传导和辐射小等。但LLC串联谐振电路在应用中存在一个突出问题:工作在轻载(2A以下负载)时,频率升得过高会影响电路工作的稳定性,电路工作状态不能较好地满足LLC串联谐振原理,所以简单的调频控制无法达到轻载和空载时输出稳压的要求。虽然通过在输出端加死负载的方式能在一定程度解决轻载问题,但会大大增加损耗。The inductance-inductance-capacitance (LLC) series resonant circuit is a circuit that has recently attracted the attention and research of the industry. It is relatively mature in theory, and has some obvious advantages compared with the phase-shifted full bridge in industrial applications: The side diode is naturally turned off, eliminating the voltage spike and turn-off loss of the secondary side; the ZVS turn-on and turn-off of the MOS tube can be realized within the variable frequency range; the high operating frequency of the circuit can reduce the size and cost of the module; the original The side current is a sine wave, and the conduction and radiation are small. However, there is a prominent problem in the application of the LLC series resonant circuit: when working at a light load (load below 2A), the frequency rises too high, which will affect the stability of the circuit, and the working state of the circuit cannot better meet the LLC series resonant principle. Therefore, simple frequency modulation control cannot meet the requirements of output voltage regulation at light load and no load. Although the light load problem can be solved to a certain extent by adding a dead load at the output end, it will greatly increase the loss.
发明内容Contents of the invention
本发明的目的在于提供一种串联谐振变换器的控制方法及其装置,以解决现有技术中仅采用调频控制方式存在不能很好地满足输出稳压的要求。The purpose of the present invention is to provide a control method and device for a series resonant converter, so as to solve the problem that only the frequency modulation control method in the prior art cannot satisfy the requirement of output voltage stabilization.
实现本发明的技术方案:Realize the technical scheme of the present invention:
一种串联谐振变换器的控制方法,所述变换器包括驱动电路和串联谐振电路,驱动电路根据接收的驱动脉冲产生控制信号,该控制信号控制串联谐振电路向负载提供电源并使串联谐振电路的输出电压保持稳定;所述方法包括步骤:A control method for a series resonant converter, the converter includes a drive circuit and a series resonant circuit, the drive circuit generates a control signal according to received drive pulses, the control signal controls the series resonant circuit to provide power to a load and makes the series resonant circuit The output voltage remains stable; the method comprises the steps of:
A、从负载电路采样反馈信号并提供给处理器;A. Sampling the feedback signal from the load circuit and providing it to the processor;
B、处理器处理所述反馈信号,并将处理结果与一参考值比较以确定采用调频控制方式还是采用移相控制方式控制所述串联谐振电路;B. The processor processes the feedback signal, and compares the processing result with a reference value to determine whether to use a frequency modulation control method or a phase shift control method to control the series resonant circuit;
C、如果采用移相控制方式,确定串联谐振电路开关频率为固定频率时所对应的周期值,同时根据所述处理结果计算出确定移相占空比的比较值,继续步骤D;如果采用调频控制方式,则根据所述处理结果计算出确定串联谐振电路开关频率的周期值和确定移相占空比的比较值,继续步骤E;C. If the phase-shift control method is adopted, determine the period value corresponding to the switching frequency of the series resonant circuit when it is a fixed frequency, and calculate the comparison value for determining the phase-shift duty ratio according to the processing results at the same time, and continue to step D; if frequency modulation is adopted Control mode, then calculate and determine the periodic value of series resonant circuit switching frequency and the comparative value of determining phase-shift duty cycle according to described processing result, continue step E;
D、处理器根据所述比较值和周期值产生移相的脉宽调制信号作为驱动脉冲,并继续步骤F;D. The processor generates a phase-shifted pulse width modulation signal as a driving pulse according to the comparison value and the period value, and continues to step F;
E、处理器根据计算出的周期值和比较值产生调频的脉宽调制信号作为驱动脉冲;E. The processor generates a frequency-modulated pulse width modulation signal as a driving pulse according to the calculated period value and comparison value;
F、驱动电路根据接收的驱动脉冲产生相应的控制信号并输出给所述串联谐振电路。F. The driving circuit generates a corresponding control signal according to the received driving pulse and outputs it to the series resonant circuit.
其中:in:
所述反馈信号为反馈电压,步骤B中处理器处理该反馈电压包括步骤:将反馈电压的数字值与给定值进行减法运算;对减法运算的结果进行比例-积分运算,得到处理结果。The feedback signal is a feedback voltage, and processing the feedback voltage by the processor in step B includes the steps of: subtracting the digital value of the feedback voltage from a given value; performing a proportional-integral operation on the result of the subtraction to obtain a processing result.
所述反馈信号为反馈电压和反馈电流,步骤B中处理器处理该反馈电压和反馈电流包括步骤:分别将反馈电压和反馈电流的数字值与相应的给定值进行减法运算;分别对减法运算的结果进行比例-积分运算;判断电压比例-积分运算结果和电流比例-积分运算结果的大小,如果电压比例-积分运算结果小于电流比例-积分运算结果,则对串联谐振电路进行稳压控制,并将电压比例-积分运算结果作为处理结果,否则对串联谐振电路进行限流控制,并将电流比例-积分运算结果作为处理结果。The feedback signal is a feedback voltage and a feedback current, and the processing of the feedback voltage and the feedback current by the processor in step B includes the steps of: respectively subtracting the digital values of the feedback voltage and the feedback current from the corresponding given values; Perform proportional-integral calculation on the result; judge the size of the voltage proportional-integral calculation result and the current proportional-integral calculation result, if the voltage proportional-integral calculation result is smaller than the current proportional-integral calculation result, then perform voltage stabilization control on the series resonant circuit, And the voltage proportional-integral operation result is taken as the processing result, otherwise, the current limiting control is performed on the series resonant circuit, and the current proportional-integral operation result is taken as the processing result.
采用移相控制方式时,所述固定频率的取值能够使串联谐振电路的开关频率固定在最大频率。When the phase-shift control mode is adopted, the value of the fixed frequency can make the switching frequency of the series resonant circuit fixed at the maximum frequency.
采用调频控制方式时,所述比较值的取值为周期值的一半。When the frequency modulation control mode is adopted, the value of the comparison value is half of the period value.
步骤B和步骤C在处理器响应中断频率固定的第一中断请求时被执行;步骤D和步骤E在处理器响应中断频率与所述串联谐振电路工作频率变化范围一致的第二中断请求时被选择性的执行,所述第二中断请求的优先级高于第一中断请求。Step B and Step C are executed when the processor responds to the first interrupt request with a fixed interrupt frequency; Step D and Step E are executed when the processor responds to the second interrupt request whose interrupt frequency is consistent with the operating frequency range of the series resonant circuit For selective execution, the priority of the second interrupt request is higher than that of the first interrupt request.
步骤C还包括步骤:将比较值和周期值分别存入处理的比较寄存器和周期寄存器对应的一级缓存单元,并禁止中断;分别将一级缓存单元的值赋到相应的二级缓存单元,并开放中断。Step C also includes the steps of: respectively storing the comparison value and the period value into the first-level cache unit corresponding to the comparison register and the period register to be processed, and prohibiting interruption; respectively assigning the value of the first-level cache unit to the corresponding second-level cache unit, And open interrupts.
步骤D或步骤E包括步骤:Step D or step E comprises the steps of:
a、判断第二中断的中断源,如果是周期中断则进行步骤b,否则进行步骤d;a. Determine the interrupt source of the second interrupt, if it is a periodic interrupt, proceed to step b, otherwise proceed to step d;
b、将处理器的比较寄存器和周期寄存器对应的二级缓存单元的值分别赋到相应的三级缓存单元;b. assigning the values of the second-level cache units corresponding to the comparison register and the period register of the processor to the corresponding third-level cache units;
c、将所述三级缓存单元的值分别赋到处理器的周期寄存器和比较寄存器,转步骤e;C, assign the value of described three-level cache unit to the period register and compare register of processor respectively, go to step e;
d、将周期寄存器的三级缓存单元的值减去比较寄存器三级缓存单元的值所得结果值赋到比较寄存器中;d. Assign the resultant value obtained by subtracting the value of the third-level cache unit of the period register from the value of the third-level cache unit of the comparison register to the comparison register;
e、处理器根据比较寄存器和周期寄存器的值输出用于移相控制或调频控制的脉宽调制信号。e. The processor outputs a pulse width modulation signal for phase shift control or frequency modulation control according to the values of the comparison register and the period register.
一种串联谐振变换器,包括驱动电路和串联谐振电路,该驱动电路根据接收的驱动脉冲向串联谐振电路输出控制信号,串联谐振电路在所述控制信号的控制下将变换后的电源提供给负载电路;所述变换器还包括:A series resonant converter, comprising a drive circuit and a series resonant circuit, the drive circuit outputs a control signal to the series resonant circuit according to the received drive pulse, and the series resonant circuit provides the transformed power to the load under the control of the control signal circuit; the converter also includes:
采样电路,从负载电路获取反馈信号;The sampling circuit obtains the feedback signal from the load circuit;
处理器,接收所述采样电路的反馈信号,根据该反馈信号产生对串联谐振电路进行调频控制和移相控制的脉宽调制信号,并将该脉宽调制信号作为驱动脉冲输出至所述驱动电路。a processor, receiving a feedback signal from the sampling circuit, generating a pulse width modulation signal for performing frequency modulation control and phase shift control on the series resonant circuit according to the feedback signal, and outputting the pulse width modulation signal as a driving pulse to the driving circuit .
所述采样电路为电压采样电路,或者为电压采样电路和电流采样电路。The sampling circuit is a voltage sampling circuit, or a voltage sampling circuit and a current sampling circuit.
本发明能够实现调频与移相两种控制方式,在电源工作频率较低时采用变频控制,电源工作频率过高时采用移相控制方式,因此在轻载和空载时串联谐振电路的工作频率不会过高就能满足稳压的要求,解决了现有技术中在这种情况下存在电路损耗过大的问题。The present invention can realize frequency modulation and phase-shifting two control methods. When the operating frequency of the power supply is low, frequency conversion control is adopted, and when the operating frequency of the power supply is too high, the phase-shifting control method is adopted. Therefore, the operating frequency of the series resonant circuit under light load and no load The requirement for voltage stabilization can be met without being too high, which solves the problem of excessive circuit loss in this case in the prior art.
附图说明Description of drawings
图1为实施例一的电路原理框图;Fig. 1 is the block diagram of the circuit principle of embodiment one;
图2A为实施例中采用调频+移相控制的LLC串联谐振电路的控制原理框图;Fig. 2A is the block diagram of the control principle of the LLC series resonant circuit adopting frequency modulation + phase shift control in the embodiment;
图2B是调频+移相控制方法的控制策略示意图;Fig. 2B is a schematic diagram of a control strategy of the frequency modulation + phase shift control method;
图3是第一中断服务程序的流程图;Fig. 3 is the flowchart of the first interrupt service routine;
图4是第二中断服务程序的流程图;Fig. 4 is the flowchart of the second interrupt service routine;
图5是调频PWM信号的示意图;Fig. 5 is a schematic diagram of a frequency modulation PWM signal;
图6是移相PWM信号的示意图;6 is a schematic diagram of a phase-shifted PWM signal;
图7为实施例二的电路原理图;Fig. 7 is the schematic circuit diagram of embodiment two;
图8为实施例中采用调频+移相控制的LLC串联谐振电路的控制原理框图;Fig. 8 is the control principle block diagram of the LLC series resonant circuit adopting frequency modulation+phase-shift control in the embodiment;
图9为实施例二中第一中断服务程序的流程图。FIG. 9 is a flow chart of the first interrupt service routine in the second embodiment.
具体实施方式Detailed ways
实施例一Embodiment one
本实施例以反馈信号为电压为例进行说明。In this embodiment, the feedback signal is taken as an example for illustration.
本发明采用调频和移相相结合的数字控制方法来解决LLC串联谐振的轻载问题,其原理为:电路在正常工作时采用变频控制,当频率大于一定频率时则采用移相控制方式。The invention adopts a digital control method combining frequency modulation and phase shifting to solve the light load problem of LLC series resonance. The principle is: the circuit adopts frequency conversion control when the circuit is in normal operation, and adopts phase shifting control mode when the frequency is greater than a certain frequency.
参阅图1所示,本发明的串联谐振变换器包括驱动电路、串联谐振电路、采样电路和处理器。驱动电路根据接收的驱动脉冲向串联谐振电路输出控制信号,串联谐振电路在该控制信号的控制下将变换后的电源提供给负载电路;采样电路从负载电路获取反馈电压并提供给处理器,处理器根据反馈电压产生调频脉宽调制信号或移相脉宽调制信号并输出给所述驱动脉冲电路。Referring to Fig. 1, the series resonant converter of the present invention includes a drive circuit, a series resonant circuit, a sampling circuit and a processor. The drive circuit outputs a control signal to the series resonant circuit according to the received drive pulse, and the series resonant circuit provides the converted power supply to the load circuit under the control of the control signal; the sampling circuit obtains the feedback voltage from the load circuit and provides it to the processor for processing The converter generates a frequency modulated pulse width modulated signal or a phase shifted pulse width modulated signal according to the feedback voltage and outputs it to the driving pulse circuit.
处理器采用数字信号处理器(DSP),DSP通过实时刷新周期寄存器和比较寄存器的值,能方便的产生频率或相位变化的脉宽调制(PWM)信号。即DSP定时器根据初始化设置自动计数,当计数寄存器的值与比较寄存器的值相等时产生比较匹配,输出脉冲产生高、低电平的变化,从而产生相应的调频脉宽调制信号或移相脉宽调制信号;当计数寄存器的计数至0时产生下溢中断,此时DSP自动对周期寄存器和比较寄存器重新装载。The processor adopts a digital signal processor (DSP), and the DSP can easily generate a pulse width modulation (PWM) signal with frequency or phase change by refreshing the values of the period register and the comparison register in real time. That is, the DSP timer automatically counts according to the initialization settings. When the value of the counting register is equal to the value of the comparison register, a comparison match is generated, and the output pulse changes from high to low, thereby generating a corresponding frequency modulation pulse width modulation signal or phase shift pulse. Wide modulation signal; when the count of the count register reaches 0, an underflow interrupt is generated, and at this time, the DSP automatically reloads the period register and the compare register.
参阅图2A所示,串联谐振电路输出电压经采样器采样后提供给DSP,如果提供给DSP的是模拟电压则DSP需要对其进行模/数转换;如果在提供给DSP之前已进行了模/数转换则DSP不再进行该步骤。DSP将反馈电压与一预定值相减,并将相减的结果进行比例积分(PI)运算,根据PI运算后的输出值来判断是进行移相控制还是调频控制。如果进行移相调节,控制信号流进入图示虚线路线,否则,进行调频控制。移相PWM信号发生器根据全桥移相控制原理产生PWM信号,调频PWM信号发生器根据调频控制原理产生PWM信号。PWM信号经驱动电路放大驱动串联谐振电路。As shown in Figure 2A, the output voltage of the series resonant circuit is provided to the DSP after being sampled by the sampler. If the voltage provided to the DSP is an analog voltage, the DSP needs to perform analog/digital conversion on it; If the number is converted, the DSP does not perform this step any more. The DSP subtracts the feedback voltage from a predetermined value, and performs a proportional integral (PI) operation on the result of the subtraction, and judges whether to perform phase shift control or frequency modulation control according to the output value after the PI operation. If the phase shift adjustment is performed, the control signal flow enters the dotted line in the figure, otherwise, the frequency modulation control is performed. The phase-shift PWM signal generator generates PWM signals according to the principle of full-bridge phase-shift control, and the frequency-modulated PWM signal generator generates PWM signals according to the principle of frequency-modulation control. The PWM signal is amplified by the drive circuit to drive the series resonant circuit.
参阅图2B所示,在本实施例中,变频+移相控制方法的工作原理是:Referring to Figure 2B, in this embodiment, the working principle of the frequency conversion + phase shift control method is:
1、重载(大于2V左右)时采用调频控制方式,轻载(小于2V左右)时采用移相控制方式。调频和移相的分界点根据线性比例-积分(PI)控制器输出的结果来判断。大于某个确定的值时,采用调频控制方式,小于该值时采用移相控制方式。1. When the load is heavy (greater than about 2V), the frequency modulation control method is adopted, and when the load is light (less than about 2V), the phase shift control method is adopted. The cut-off point of frequency modulation and phase shifting is judged according to the output result of linear proportional-integral (PI) controller. When it is greater than a certain value, the frequency modulation control method is adopted, and when it is smaller than the value, the phase shift control method is adopted.
2、调频控制方式下,开关频率在一定范围内变化,随着负载的减少开关频率增加。开关频率的变化随线性比例-积分(PI)控制器的输出而变化,线性比例-积分(PI)控制器的输出与频率之间按简单的线性关系来进行控制。调频过程中移相占空比始终为最大输出。2. In the frequency modulation control mode, the switching frequency changes within a certain range, and the switching frequency increases as the load decreases. The switching frequency varies with the output of the linear proportional-integral (PI) controller, which is controlled by a simple linear relationship between the output of the linear proportional-integral (PI) controller and the frequency. During frequency modulation, the phase-shift duty cycle is always the maximum output.
3、在移相控制方式时,开关频率固定在最大频率,移相角在最大偷出和最小输出之间全范围变化,输出电压越低,负载越轻,移相占空比D越小,直至到0,从而实现轻载和空载稳压。3. In the phase-shift control mode, the switching frequency is fixed at the maximum frequency, and the phase-shift angle changes in a full range between the maximum output and the minimum output. The lower the output voltage, the lighter the load, and the smaller the phase-shift duty cycle D. Until it reaches 0, so as to realize light load and no-load regulation.
图2B中,线性比例-积分(PI)控制器的输出限幅在0~5V,由PI输出大小作为控制上采用移相或调频的判断依据,该例中以当PI输出为2V时作为移相和调频的分界点。当PI输出在0~2V时采用移相控制方式,这时频率固定在300K;当PI输出在2~5V时采用调频控制方式,频率与PI输出的关系根据图示的线性关系来决定。PI输出的限幅、移相和调频的分界点、频率的变化范围等可根据具体实施情况决定。In Figure 2B, the output limit of the linear proportional-integral (PI) controller is between 0 and 5V, and the magnitude of the PI output is used as the judgment basis for phase shift or frequency modulation in control. In this example, when the PI output is 2V, it is used as the shift The dividing point of phase and frequency modulation. When the PI output is 0~2V, the phase shift control method is adopted, and the frequency is fixed at 300K; when the PI output is 2~5V, the frequency modulation control method is adopted, and the relationship between the frequency and the PI output is determined according to the linear relationship shown in the figure. The limiting point of PI output, the demarcation point of phase shift and frequency modulation, the range of frequency change, etc. can be determined according to the specific implementation situation.
在本实施例中,调频控制信号和移相控制信号采用下述方式实现:In this embodiment, the frequency modulation control signal and the phase shift control signal are implemented in the following manner:
(1)采用两级嵌套中断,第一中断是辅助PWM定时中断,中断频率是固定的。第二中断是主PWM中断(PWM周期中断),中断频率与LLC串联谐振电路工作频率变化范围一致,第二中断优先级比第一中断高。第一中断服务程序的任务是完成采样、相减、线性比例积分(PI)、控制方式的判断、计算移相和调频PWM信号发生器所需的周期寄存器和比较寄存器的值的功能。第二中断程序的任务是将第一中断服务程序中计算得到的周期寄存器和比较寄存器的值分别赋到周期寄存器和比较寄存器。(1) Two levels of nested interrupts are adopted, the first interrupt is an auxiliary PWM timing interrupt, and the interrupt frequency is fixed. The second interrupt is the main PWM interrupt (PWM cycle interrupt), the interrupt frequency is consistent with the operating frequency range of the LLC series resonant circuit, and the priority of the second interrupt is higher than that of the first interrupt. The task of the first interrupt service routine is to complete the functions of sampling, subtraction, linear proportional integral (PI), control mode judgment, calculation of phase shift and frequency modulation PWM signal generator required period register and the value of comparison register. The task of the second interrupt program is to assign the values of the period register and the comparison register calculated in the first interrupt service program to the period register and the comparison register respectively.
(2)在软件中要预先定义与周期寄存器和比较寄存器相对应的三级数据缓存单元,以保证周期寄存器与比较寄存器的同步刷新。(2) The three-level data cache unit corresponding to the period register and the comparison register should be defined in advance in the software to ensure the synchronous refresh of the period register and the comparison register.
(3)第一中断服务程序中对周期寄存器和比较寄存器对应的一级缓存单元进行实时刷新。执行完刷新一级缓存单元的操作后禁止中断,将一级缓存单元的值分别转存到二级缓存单元,然后开放中断。(3) In the first interrupt service routine, real-time refreshing is performed on the first-level cache unit corresponding to the period register and the comparison register. After executing the operation of refreshing the first-level cache unit, disable the interrupt, transfer the values of the first-level cache unit to the second-level cache unit, and then enable the interrupt.
(4)第二中断服务程序先将二级缓存单元的值分别转存到三级缓存单元,然后再将三级缓存单元的值赋到周期寄存器和比较寄存器。(4) The second interrupt service program first transfers the value of the secondary cache unit to the third-level cache unit, and then assigns the value of the third-level cache unit to the period register and the comparison register.
(5)在PWM下溢中断到来引发的中断程序中将周期寄存器的三级缓存单元的值减去比较寄存器三级缓存单元的值赋到比较寄存器中,以保证产生50%的占空比的脉冲输出。(5) In the interrupt program caused by the arrival of the PWM underflow interrupt, the value of the third-level buffer unit of the period register minus the value of the third-level buffer unit of the comparison register is assigned to the comparison register to ensure a 50% duty cycle pulse output.
参阅图3所示,第一中断服务程序的处理流程如下:Referring to shown in Figure 3, the processing flow of the first interrupt service routine is as follows:
步骤10:采样反馈电压;Step 10: Sampling the feedback voltage;
步骤20:将反馈电压与一给定值进行比较,计算出电压误差。该给定值即输出电压需要稳定的值的A/D采样值;Step 20: Comparing the feedback voltage with a given value to calculate the voltage error. The given value is the A/D sampling value of the value that the output voltage needs to be stable;
步骤30:对步骤20中的误差电压进行比例积分运算,得到PI值;Step 30: Perform a proportional integral operation on the error voltage in
步骤40:判断PI值是否大于2V,如果是则进行步骤60,否则进行步骤50;Step 40: judging whether the PI value is greater than 2V, if so, proceed to step 60, otherwise proceed to step 50;
步骤50:采用移相控制方式,根据PI值计算出确定移相占空比的比较值,并将比较值和确定开关频率的一固定周期值分别赋给一级缓存单元,继续步骤70;Step 50: Adopting the phase-shift control method, calculating a comparison value for determining the phase-shift duty cycle according to the PI value, and assigning the comparison value and a fixed cycle value for determining the switching frequency to the first-level buffer unit respectively, and continuing to step 70;
步骤60:采用调频控制方式,根据PI值计算出确定串联谐振电路开关频率的周期值和确定移相占空比的比较值计算周期和比较寄存器的值,并将结果分别赋给一级缓存单元;Step 60: Using the frequency modulation control method, calculate the period value for determining the switching frequency of the series resonant circuit and the comparison value for determining the phase-shift duty cycle according to the PI value, calculate the period and the value of the comparison register, and assign the results to the first-level cache unit ;
步骤70:禁止中断;Step 70: disable interruption;
步骤80:将一级缓存单元的值转存到二级缓存单元;Step 80: transfer the value of the level-1 cache unit to the level-2 cache unit;
步骤90:开放中断并返回。Step 90: Open interrupt and return.
步骤50包括以下步骤:
A、给固定桥臂对应的比较寄存器的一级缓存单元赋值,该值是固定不变的。在设计中把该桥臂固定到最左边,使DSP下溢匹配和周期匹配的值都接近下溢点和周期点。A. Assign a value to the first-level cache unit of the comparison register corresponding to the fixed bridge arm, and the value is fixed. Fix the bridge arm to the leftmost in the design, so that the values of DSP underflow matching and cycle matching are close to the underflow point and cycle point.
在移相控制方式下周期寄存器是一固定值,该固定值为频率变化的最大频率点对应的周期值。为使输出电压达到最大可调范围,将移相全桥的超前桥臂(见参《脉宽调制DC/DC全桥变换器的软开关技术)》,科学出版社,阮新波、严仰光著,1999)作为固定桥臂,即固定控制该桥臂的控制信号PWM3、PWM4使处理器在上升沿时的比较值与下降沿时的比较值都是固定的,且上升沿的信号始终在最左边。那么上升沿的比较值应为1,(如果不设置为1也可以,但输出电压的范围会变小)为产生50%占空比的全桥移相驱动信号,下降沿的比较值应为周期寄存器的值减1。将数值1作为比较寄存器1的比较值。将移相全桥的滞后桥臂作为移动桥臂,即控制该桥臂的控制信号PWM1、PWM2根据输出移相角的变化而变化。In the phase-shift control mode, the period register is a fixed value, and the fixed value is the period value corresponding to the maximum frequency point of frequency change. In order to make the output voltage reach the maximum adjustable range, the leading bridge arm of the phase-shifted full bridge (see "Soft Switching Technology of Pulse Width Modulation DC/DC Full Bridge Converter)", Science Press, Ruan Xinbo, Yan Yangguang, 1999 ) as a fixed bridge arm, that is, the control signals PWM3 and PWM4 that control the bridge arm are fixed so that the comparison value of the processor at the rising edge and the comparison value at the falling edge are fixed, and the signal of the rising edge is always on the far left. Then the comparison value of the rising edge should be 1, (if it is not set to 1, it is also possible, but the range of the output voltage will become smaller) In order to generate a full-bridge phase-shift driving signal with a 50% duty cycle, the comparison value of the falling edge should be The value of the period register is decremented by 1. The
B、将比例-积分运算的结果乘以系数得到脉宽调制的输出移相角,该系数由最大输出移相角除以比例-积分运算的最大限幅值得到。B. Multiply the result of the proportional-integral operation by a coefficient to obtain the output phase-shift angle of the pulse width modulation. The coefficient is obtained by dividing the maximum output phase-shift angle by the maximum limit value of the proportional-integral operation.
C、根据图5和图6所示关系,计算出移动臂PWM信号对应的比较寄存器的比较值,并赋给相应的一级缓存单元。C. According to the relationship shown in FIG. 5 and FIG. 6, calculate the comparison value of the comparison register corresponding to the PWM signal of the moving arm, and assign it to the corresponding first-level buffer unit.
图5中所示为调频方式下的斜对角两只开关管的控制信号。调频方式下斜对角两只开关管同时开通和关断。为使调频控制和移相控制在临界状态信号一致,即使调频控制方式下的控制信号与移相控制方式下的最大输出时的控制信号一致,那么需将比较寄存器1,比较寄存器2在上升沿时的比较值都设为1。该值即为比较寄存器的比较值。Figure 5 shows the control signals of the two diagonal switching tubes in the frequency modulation mode. In the frequency modulation mode, the diagonally diagonal two switch tubes are turned on and off at the same time. In order to make frequency modulation control and phase shift control consistent in the critical state, even if the control signal under the frequency modulation control mode is consistent with the control signal at the maximum output under the phase shift control mode, it is necessary to compare
图6中所示移相方式下斜对角两只开关管的控制信号,其中,PWM4为固定桥臂上管的控制信号,其上升沿的信号始终在最左边,PWM1为移动桥臂下管的控制信号,随着输出移相角的减小,PWM1由右向左移动,输出电压逐渐增大。As shown in Figure 6, the phase-shifting mode is used to control the control signals of the two diagonal switching tubes. Among them, PWM4 is the control signal of the upper tube of the fixed bridge arm, and the signal of its rising edge is always on the far left, and PWM1 is the lower tube of the moving bridge arm. The control signal, as the output phase shift angle decreases, PWM1 moves from right to left, and the output voltage gradually increases.
D、给周期寄存器的一级缓存单元赋固定的周期值,该值固定为最高频率对应的计数值。D. Assign a fixed period value to the first-level cache unit of the period register, which is fixed to the count value corresponding to the highest frequency.
步骤60包括以下步骤:
A、根据图2B所示线性比例-积分(PI)控制器的输出与中断频率的线性关系将线性比例-积分(PI)控制器的输出折算成周期寄存器的周期值,并存入一级缓存单元。A. Convert the output of the linear proportional-integral (PI) controller into the period value of the period register according to the linear relationship between the output of the linear proportional-integral (PI) controller and the interrupt frequency shown in Figure 2B, and store it in the first-level cache unit.
B、将周期寄存器的值除以2即为比较寄存器的值,存入一级缓存单元。B. Divide the value of the period register by 2 to obtain the value of the compare register, and store it in the first-level cache unit.
调频方式下功率输出的对管驱动信号保持最大输出,因此,两个比较寄存器赋相同的值。为保证与移相PWM信号与调频PWM信号之间过渡过程的平滑,比较寄存器的值在下溢匹配和周期匹配时需接近下溢点和周期点。In the frequency modulation mode, the power output of the tube drive signal maintains the maximum output, so the two comparison registers are assigned the same value. In order to ensure a smooth transition process between the phase-shifted PWM signal and the frequency-modulated PWM signal, the value of the compare register needs to be close to the underflow point and the period point during underflow matching and period matching.
参阅图4所示,第二中断服务程序的处理流程如下:Referring to shown in Figure 4, the processing flow of the second interrupt service routine is as follows:
步骤100:判断是周期中断还是下溢中断,如果是周期中断则进行步骤110,否则进行步骤130;Step 100: judge whether it is a periodic interrupt or an underflow interrupt, if it is a periodic interrupt, proceed to step 110, otherwise proceed to step 130;
步骤110:将二级缓存单元的值转存到三级缓存单元;Step 110: transfer the value of the second-level cache unit to the third-level cache unit;
步骤120:将三级缓存单元的值赋到周期寄存器和比较寄存器,并返回;Step 120: Assign the value of the L3 cache unit to the period register and the compare register, and return;
步骤130:将周期寄存器三级缓存单元的值减去比较寄存器三级缓存单元的值所得结果值赋到比较寄存器中,并返回。Step 130: Assign the value obtained by subtracting the value of the L3 cache unit of the period register to the L3 cache unit of the compare register into the compare register, and return.
由于数字控制没有模拟电路中的温度漂移及时间造成的电路老化等问题,因而在实现调频控制中与模拟电路相比具有明显的优越性。Since digital control does not have problems such as temperature drift in analog circuits and circuit aging caused by time, it has obvious advantages compared with analog circuits in realizing frequency modulation control.
实施例二Embodiment two
本实施例以反馈信号为电压信号和电流信号为例进行说明。This embodiment is described by taking the feedback signal as an example of a voltage signal and a current signal.
参阅图7所示,本实施例的变换器比实施例一中的变换器增加了反馈电流环。反馈电压环与反馈电流环是并行工作,电压环起稳压作用,电流环起限流作用。电压环与电流环的关系也可以是串行的内外环关系。Referring to Fig. 7, the converter of this embodiment has a feedback current loop added to the converter of the first embodiment. The feedback voltage loop and the feedback current loop work in parallel, the voltage loop acts as a regulator, and the current loop acts as a current limiter. The relationship between the voltage loop and the current loop can also be a serial inner and outer loop relationship.
参阅图8所示,串联谐振电路输出电压和电流经采样器采样后提供给DSP,如果提供给DSP的是模拟值则DSP需要对其进行模/数转换;如果在提供给DSP之前已进行了模/数转换则DSP不再进行该步骤。DSP分别将反馈电压和电流与预定值相减,并分别将相减的结果进行比例积分(PI)运算。比较PI运算结果的大小,如果电压值小于电流值,则对串联谐振电路进行稳压控制,并根据PI运算后的电压值判断对串联谐振电路进行调频控制还是移相控制,其实现方法与实施例一完全相同;否则对串联谐振电路进行限流控制,并根据PI运算后的电流是否大于预定的电源值来判断对串联谐电路进行调频控制还是移相控制,其处理过程与实施例一完全相同。As shown in Figure 8, the output voltage and current of the series resonant circuit are provided to the DSP after being sampled by the sampler. If the value provided to the DSP is an analog value, the DSP needs to perform analog/digital conversion on it; if it has been provided to the DSP before For analog/digital conversion, the DSP no longer performs this step. The DSP subtracts the feedback voltage and current from predetermined values, respectively, and performs proportional-integral (PI) operations on the subtracted results. Comparing the size of the PI operation result, if the voltage value is less than the current value, the series resonant circuit is controlled for voltage stabilization, and according to the voltage value after the PI operation, it is judged whether to perform frequency modulation control or phase shift control for the series resonant circuit, and its implementation method and implementation Example 1 is exactly the same; otherwise, the current limiting control is performed on the series resonant circuit, and whether the current after the PI calculation is greater than the predetermined power supply value is used to judge whether the frequency modulation control or the phase shift control is performed on the series resonant circuit. same.
电压环起调节作用时,电流环处于饱和状态,此时输出电压值稳定;电流环起作用,电压环输出饱和,输出电流被限制在一定值,因此电流环的作用主要作用是限流。When the voltage loop plays a regulating role, the current loop is in a saturated state, and the output voltage value is stable at this time; when the current loop works, the output of the voltage loop is saturated, and the output current is limited to a certain value, so the main function of the current loop is to limit the current.
在本实施例中,调频控制信号和移相控制信号采用与实施例一中相同的方法,即采用两级嵌套中断。参阅图8所示,第一中断服务程序的处理过程如下:In this embodiment, the frequency modulation control signal and the phase shift control signal adopt the same method as that in
步骤200:获取反馈电压;Step 200: Obtain the feedback voltage;
步骤210:将反馈电压与一给定值进行比较,计算出电压误差;Step 210: Comparing the feedback voltage with a given value to calculate the voltage error;
步骤220:对步骤210中的误差电压进行比例积分运算,得到电压的PI值;Step 220: Perform a proportional integral operation on the error voltage in
步骤230:获取反馈电流;Step 230: Obtain the feedback current;
步骤240:将反馈电流与一给定值进行比较,计算出电压误差;Step 240: Comparing the feedback current with a given value to calculate the voltage error;
步骤250:对步骤240中的误差电流进行比例积分运算,得到电流的PI值;Step 250: Perform a proportional integral operation on the error current in
步骤260:比较电压的PI值和电流的PI值,如果电压的PI值小于电流的PI值,则选择电压的PI值作为调频和移相控制的依据,否则选择电流的PI值作为调频和移相控制的依据;Step 260: compare the PI value of the voltage and the PI value of the current, if the PI value of the voltage is smaller than the PI value of the current, then select the PI value of the voltage as the basis for frequency modulation and phase shift control, otherwise select the PI value of the current as the basis for frequency modulation and phase shift control Basis for phase control;
步骤270:判断PI值是否大于预定值,如果是则进行步骤290,否则进行步骤280;Step 270: judging whether the PI value is greater than a predetermined value, if yes, proceed to step 290, otherwise proceed to step 280;
步骤280:采用移相控制方式,根据PI值计算出确定移相占空比的比较值,并将比较值和确定开关频率的一固定周期值分别赋给一级缓存单元,并将结果分别赋给一级缓存单元,继续步骤300;Step 280: Using the phase-shift control method, calculate the comparison value for determining the phase-shift duty cycle according to the PI value, assign the comparison value and a fixed cycle value for determining the switching frequency to the first-level buffer unit, and assign the results to the For the first-level cache unit, continue to step 300;
步骤290:采用调频控制方式,根据PI值计算出确定串联谐振电路开关频率的周期值和确定移相占空比的比较值计算周期和比较寄存器的值,并将结果分别赋给一级缓存单元;Step 290: Using the frequency modulation control method, calculate the period value for determining the switching frequency of the series resonant circuit and the comparison value for determining the phase-shift duty cycle according to the PI value, calculate the period and the value of the comparison register, and assign the results to the first-level cache unit ;
步骤300:禁止中断;Step 300: Disable interruption;
步骤310:将一级缓存单元的值转存到二级缓存单元;Step 310: transfer the value of the level-1 cache unit to the level-2 cache unit;
步骤320:开放中断并返回。Step 320: Open interrupt and return.
其中,步骤280和步骤290的具体计算过程参阅实施例相应部分。Wherein, for the specific calculation process of
第二中断服务程序的处理过程与实施例一相同。The processing procedure of the second interrupt service routine is the same as that of the first embodiment.
以上实施例用以说明本发明的最佳实现方式,但本发明并不仅限于此。本领域的普通技术人员根据上述方案作出的改变,都不会脱离本发明采用变频+移相的数字控制方式来对串联谐振电路进行控制的精神。The above embodiments are used to illustrate the best implementation of the present invention, but the present invention is not limited thereto. Changes made by those skilled in the art according to the above solutions will not deviate from the spirit of the present invention to control the series resonant circuit by adopting a digital control method of frequency conversion + phase shifting.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2003101174407A CN100379138C (en) | 2003-12-19 | 2003-12-19 | A control method and device for a series resonant converter |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2003101174407A CN100379138C (en) | 2003-12-19 | 2003-12-19 | A control method and device for a series resonant converter |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1555128A CN1555128A (en) | 2004-12-15 |
CN100379138C true CN100379138C (en) | 2008-04-02 |
Family
ID=34337805
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2003101174407A Expired - Lifetime CN100379138C (en) | 2003-12-19 | 2003-12-19 | A control method and device for a series resonant converter |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100379138C (en) |
Families Citing this family (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100464489C (en) * | 2005-09-26 | 2009-02-25 | 艾默生网络能源有限公司 | Control of resonant circuit output characteristics and resonant circuit |
GB2433381B (en) * | 2005-12-16 | 2008-03-05 | Nicholas Patrick Roland Hill | Resonant circuits |
CN100464485C (en) * | 2006-04-10 | 2009-02-25 | 深圳市欣锐特科技有限公司 | Method and device for controlling resonant transformer |
CN101064476B (en) * | 2006-04-30 | 2012-06-27 | 艾默生网络能源系统北美公司 | Resonant DC/DC converter and its control method |
WO2008043039A2 (en) * | 2006-10-04 | 2008-04-10 | The Regents Of The University Of California | Unified control of single and three-phase power converters |
CN101876835B (en) * | 2009-04-29 | 2013-08-14 | 北京动力源科技股份有限公司 | Control method of three-level LLC circuit |
CN102025266B (en) * | 2009-06-18 | 2013-11-20 | 力博特公司 | Numeric control method for liquid level control (LLC) resonant conversion circuit |
CN103078492A (en) * | 2011-10-26 | 2013-05-01 | 中兴通讯股份有限公司 | Method and device for controlling resonant converter |
CN103856062B (en) * | 2014-02-26 | 2017-07-28 | 联合汽车电子有限公司 | The dual-loop control circuit of phase-shifting full-bridge circuit of synchronous rectification |
CN104638895B (en) * | 2015-02-02 | 2017-02-01 | 华中科技大学 | Current-limiting method and current-limiting circuit of LLC resonant converter |
CN105680866B (en) * | 2016-01-08 | 2019-02-19 | 泉州市桑川电气设备有限公司 | A kind of PWM revolving die analog quantity low ripple output method |
CN106655783B (en) * | 2016-10-26 | 2020-05-19 | 湖北三江航天万峰科技发展有限公司 | Digital power supply control circuit and method |
CN107147299A (en) * | 2017-06-09 | 2017-09-08 | 郑州云海信息技术有限公司 | A DC-DC circuit design method with switchable phase-shift control and pulse width control |
CN112040582B (en) * | 2020-08-18 | 2022-08-09 | 中山爱它电器科技有限公司 | Multi-core phase-shifting frequency modulation control structure, phase-shifting frequency modulation method and heating device |
CN114362532A (en) * | 2020-09-30 | 2022-04-15 | 台达电子工业股份有限公司 | LLC resonant converter and control method thereof |
CN118074486B (en) * | 2024-04-18 | 2024-06-25 | 如果新能源科技(江苏)股份有限公司 | Power converter, control method thereof and power supply system |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2182505Y (en) * | 1994-01-24 | 1994-11-09 | 辽宁电子设备厂 | Whole-transistor type high frequency electric source apparatus for induction heating use |
JP2000252898A (en) * | 1999-03-02 | 2000-09-14 | Nec Corp | Diversity receiver |
-
2003
- 2003-12-19 CN CNB2003101174407A patent/CN100379138C/en not_active Expired - Lifetime
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2182505Y (en) * | 1994-01-24 | 1994-11-09 | 辽宁电子设备厂 | Whole-transistor type high frequency electric source apparatus for induction heating use |
JP2000252898A (en) * | 1999-03-02 | 2000-09-14 | Nec Corp | Diversity receiver |
Also Published As
Publication number | Publication date |
---|---|
CN1555128A (en) | 2004-12-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN100379138C (en) | A control method and device for a series resonant converter | |
JP5762241B2 (en) | Power supply device and power supply device for arc machining | |
EP2632037A2 (en) | Control circuit for power converter, conversion system and controlling method thereof | |
WO2020206928A1 (en) | Digital control method of boost ac-dc constant voltage power supply | |
KR101422948B1 (en) | Power factor correction circuit | |
US8836294B2 (en) | Switching regulator and control circuit and method therefor | |
US8901906B2 (en) | Control circuit and electronic apparatus using the same | |
CN108880265B (en) | A method for automatic tracking of resonant frequency of LLC resonant converter | |
WO2023020407A1 (en) | Control method and control circuit for buck converter | |
CN110277919A (en) | A kind of method of real-time dead time of the amendment DC/DC converter under Sofe Switch | |
JP5849599B2 (en) | Forward type DC-DC converter | |
US12166424B2 (en) | Power conversion device that performs synchronous control of switching elements to achieve synchronous rectification | |
US10003264B2 (en) | DC/DC converter | |
US20230011390A1 (en) | Control method, device, and system for synchronous buck circuit, and electronic device | |
WO2022156122A1 (en) | Led drive power supply and efficiency adjustment method therefor | |
CN104076855A (en) | Self adaptive voltage adjuster based on PSM (pulse slope modulation) mode | |
CN112054692A (en) | Control method and control circuit of switch circuit and switch circuit | |
CN102545610B (en) | Digital method and system for sliding mode variable structure control of DC-DC switch converter | |
CN110651420B (en) | Switching power supply device | |
CN117833652A (en) | Self-adaptive pulse sequence controlled buck converter and control method thereof | |
CN115333389B (en) | Circuit control method, unit and device | |
CN111628657B (en) | Secondary side clamping method, control device and storage medium of phase-shifted full-bridge module | |
JP5884345B2 (en) | Resonant power converter | |
CN105515365B (en) | A kind of LLC converters digital soft start method | |
TWI816615B (en) | Primary controller applied to a primary side of a power converter and operation method thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CP01 | Change in the name or title of a patent holder | ||
CP01 | Change in the name or title of a patent holder |
Address after: 518057 Nanshan District science and Technology Industrial Park, Guangdong, Shenzhen Branch Road, No. Patentee after: VERTIV TECH Co.,Ltd. Address before: 518057 Nanshan District science and Technology Industrial Park, Guangdong, Shenzhen Branch Road, No. Patentee before: EMERSON NETWORK POWER Co.,Ltd. |
|
CX01 | Expiry of patent term | ||
CX01 | Expiry of patent term |
Granted publication date: 20080402 |