CN112054676B - A PID control method and system for a Boost DC-DC converter - Google Patents
A PID control method and system for a Boost DC-DC converter Download PDFInfo
- Publication number
- CN112054676B CN112054676B CN202010972659.9A CN202010972659A CN112054676B CN 112054676 B CN112054676 B CN 112054676B CN 202010972659 A CN202010972659 A CN 202010972659A CN 112054676 B CN112054676 B CN 112054676B
- Authority
- CN
- China
- Prior art keywords
- boost
- converter
- correction
- correction device
- gain
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 42
- 238000012937 correction Methods 0.000 claims abstract description 146
- 238000010586 diagram Methods 0.000 claims abstract description 35
- 238000012546 transfer Methods 0.000 claims abstract description 34
- 239000003990 capacitor Substances 0.000 claims description 17
- 238000012935 Averaging Methods 0.000 claims description 5
- 230000017105 transposition Effects 0.000 claims description 4
- 238000004088 simulation Methods 0.000 description 10
- 238000004458 analytical method Methods 0.000 description 4
- 238000006243 chemical reaction Methods 0.000 description 3
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000009466 transformation Effects 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 1
- 238000011217 control strategy Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000009916 joint effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02M—APPARATUS FOR CONVERSION BETWEEN AC AND AC, BETWEEN AC AND DC, OR BETWEEN DC AND DC, AND FOR USE WITH MAINS OR SIMILAR POWER SUPPLY SYSTEMS; CONVERSION OF DC OR AC INPUT POWER INTO SURGE OUTPUT POWER; CONTROL OR REGULATION THEREOF
- H02M3/00—Conversion of DC power input into DC power output
- H02M3/02—Conversion of DC power input into DC power output without intermediate conversion into AC
- H02M3/04—Conversion of DC power input into DC power output without intermediate conversion into AC by static converters
- H02M3/10—Conversion of DC power input into DC power output without intermediate conversion into AC by static converters using discharge tubes with control electrode or semiconductor devices with control electrode
- H02M3/145—Conversion of DC power input into DC power output without intermediate conversion into AC by static converters using discharge tubes with control electrode or semiconductor devices with control electrode using devices of a triode or transistor type requiring continuous application of a control signal
- H02M3/155—Conversion of DC power input into DC power output without intermediate conversion into AC by static converters using discharge tubes with control electrode or semiconductor devices with control electrode using devices of a triode or transistor type requiring continuous application of a control signal using semiconductor devices only
- H02M3/156—Conversion of DC power input into DC power output without intermediate conversion into AC by static converters using discharge tubes with control electrode or semiconductor devices with control electrode using devices of a triode or transistor type requiring continuous application of a control signal using semiconductor devices only with automatic control of output voltage or current, e.g. switching regulators
Landscapes
- Engineering & Computer Science (AREA)
- Power Engineering (AREA)
- Dc-Dc Converters (AREA)
Abstract
本发明涉及Boost DC‑DC变换器技术领域,具体公开了一种Boost DC‑DC变换器的PID控制方法及系统,该方法包括步骤:S1.采用状态空间平均法对Boost DC‑DC变换器进行建模,获取Boost DC‑DC变换器的占空比—输出开环传递函数;S2.确定Boost DC‑DC变换器的基本参数,将基本参数代入占空比—输出开环传递函数并绘制对应的Bode图;S3.根据Boost DC‑DC变换器的Bode图确定校正量,利用PD对Boost DC‑DC变换器进行超前校正,使其相位裕量和增益交越频率达到设定值;S4.确定PD校正后的Boost DC‑DC变换器的输出电压稳态有效值;S5.根据输出电压稳态有效值,利用PI对Boost DC‑DC变换器进行超前校正,使其输出电压稳态有效值达到设定值。本发明通过PID控制器使Boost DC‑DC变换器输出达到所需电压值的恒压直流,且高效、精准。
The invention relates to the technical field of Boost DC-DC converters, and specifically discloses a PID control method and system for the Boost DC-DC converter. The method comprises the steps of: S1. Using a state space average method to perform a PID control on the Boost DC-DC converter Modeling, obtain the duty cycle-output open-loop transfer function of the Boost DC-DC converter; S2. Determine the basic parameters of the Boost DC-DC converter, substitute the basic parameters into the duty cycle-output open-loop transfer function and draw the corresponding S3. Determine the correction amount according to the Bode diagram of the Boost DC-DC converter, and use PD to perform advance correction on the Boost DC-DC converter to make its phase margin and gain crossover frequency reach the set values; S4. Determine the steady-state rms value of the output voltage of the Boost DC-DC converter after PD correction; S5. According to the steady-state rms value of the output voltage, use PI to perform advance correction on the Boost DC-DC converter to make the output voltage steady-state rms value reach the set value. The invention enables the Boost DC-DC converter to output a constant voltage direct current with a required voltage value through a PID controller, and is efficient and accurate.
Description
技术领域technical field
本发明涉及Boost DC-DC变换器技术领域,尤其涉及一种Boost DC-DC变换器的PID控制方法及系统。The invention relates to the technical field of Boost DC-DC converters, in particular to a PID control method and system of the Boost DC-DC converter.
背景技术Background technique
DC-DC变换器是将一种直流电变为另外一种电压固定或电压可调的直流电,包括直接直流变流电路和间接直流变流电路,直接直流变流电路是将一种直流电直接变换为另一种直流电,而间接直流变流电路是先将直流电变为交流电,然后又将交流电变为直流电的电路。随着DC-DC开关电源技术的快速发展,并且由于其具有的高效率、高功率以及高可靠性等特点使其被越来越广泛地被用于工业领域。DC-DC开关电源既可以实现高压电源到低压电源的转变,例如Buck DC-DC变换器;也可以实现从低压电源到高压电源的转变,例如DC-DC Boost变换器。A DC-DC converter converts a direct current into another direct current with fixed voltage or adjustable voltage, including direct direct current conversion circuit and indirect direct current conversion circuit. The direct direct current conversion circuit directly converts a direct current into Another type of direct current, and an indirect direct current converter circuit is a circuit that first converts direct current to alternating current and then converts alternating current to direct current. With the rapid development of DC-DC switching power supply technology, and because of its high efficiency, high power and high reliability, it is more and more widely used in industrial fields. The DC-DC switching power supply can realize the transformation from high-voltage power supply to low-voltage power supply, such as Buck DC-DC converter; it can also realize the transformation from low-voltage power supply to high-voltage power supply, such as DC-DC Boost converter.
如何实现从低压直流到高压直流的恒定输出,目前还缺少一种高效、精准的控制策略。How to achieve a constant output from low-voltage DC to high-voltage DC, there is still a lack of an efficient and precise control strategy.
发明内容SUMMARY OF THE INVENTION
本发明提供一种Boost DC-DC变换器的PID控制方法及系统,解决的技术问题在于:如何高效且精准地实现从低压直流到高压直流的恒定输出。The present invention provides a PID control method and system for a Boost DC-DC converter, and the technical problem to be solved is: how to efficiently and accurately realize constant output from low-voltage direct current to high-voltage direct current.
为解决以上技术问题,本发明提供一种Boost DC-DC变换器的PID控制方法,包括步骤:In order to solve the above technical problems, the present invention provides a PID control method of a Boost DC-DC converter, comprising the steps:
S1.采用状态空间平均法对Boost DC-DC变换器进行建模,获取Boost DC-DC变换器的占空比-输出开环传递函数;S1. Model the Boost DC-DC converter using the state space averaging method, and obtain the duty cycle-output open-loop transfer function of the Boost DC-DC converter;
S2.确定Boost DC-DC变换器的基本参数,将所述基本参数代入所述占空比-输出开环传递函数并绘制对应的Bode图;S2. Determine the basic parameters of the Boost DC-DC converter, substitute the basic parameters into the duty cycle-output open-loop transfer function and draw the corresponding Bode diagram;
S3.根据所述Boost DC-DC变换器的Bode图确定校正量,利用超前PD校正装置对所述Boost DC-DC变换器进行超前校正,使其相位裕量大于设定值和增益交越频率达到设定值;S3. Determine the correction amount according to the Bode diagram of the Boost DC-DC converter, and use the lead PD correction device to perform lead correction on the Boost DC-DC converter, so that its phase margin is greater than the set value and the gain crossover frequency reach the set value;
S4.确定PD校正后的Boost DC-DC变换器的输出电压稳态有效值;S4. Determine the steady-state effective value of the output voltage of the Boost DC-DC converter after PD correction;
S5.根据所述输出电压稳态有效值,利用滞后PI校正装置对所述Boost DC-DC变换器进行滞后校正,使其输出电压稳态有效值达到设定值。S5. According to the steady-state effective value of the output voltage, use a hysteresis PI correction device to perform lag correction on the Boost DC-DC converter, so that the steady-state effective value of the output voltage reaches the set value.
进一步地,所述Boost DC-DC变换器包括直流电源、电感、二极管和负载、MOS管、电容;Further, the Boost DC-DC converter includes a DC power supply, an inductor, a diode and a load, a MOS tube, and a capacitor;
所述电感、所述二极管、所述负载顺序连接在所述直流电源的正、负极之间,所述二极管为正向连接;The inductor, the diode and the load are sequentially connected between the positive and negative poles of the DC power supply, and the diode is connected in a forward direction;
所述MOS管的漏极连接所述二极管的正极端,源极连接所述直流电源E的负极端,栅极连接通断时间控制器;The drain of the MOS tube is connected to the positive terminal of the diode, the source is connected to the negative terminal of the DC power supply E, and the gate is connected to the on-off time controller;
所述电容连接在所述二极管的负极端和所述直流电源的负极端之间;the capacitor is connected between the negative terminal of the diode and the negative terminal of the DC power supply;
所述占空比-输出开环传递函数表示为:The duty cycle-output open-loop transfer function is expressed as:
其中,L、C、R0分别表示所述电感、所述电容、所述负载的电感值、电容值、电阻值,D表示占空比,U0表示所需的输出电压,s表示所述Boost DC-DC变换器的复频率。Among them, L, C, R 0 represent the inductance, the capacitance, the inductance value, capacitance value, and resistance value of the load respectively, D represents the duty cycle, U 0 represents the required output voltage, and s represents the The complex frequency of the Boost DC-DC converter.
在所述步骤S3中,所述利用超前PD校正装置对所述Boost DC-DC变换器进行超前校正,具体包括步骤:In the step S3, the advance correction of the Boost DC-DC converter by using the advance PD correction device specifically includes the steps:
S31.根据所述Boost DC-DC变换器的Bode图确定相位校正量,采用不含增益的超前PD校正装置对所述Boost DC-DC变换器进行相位超前校正,使其相位裕量大于设定值;S31. Determine the phase correction amount according to the Bode diagram of the Boost DC-DC converter, and use a lead PD correction device without gain to perform phase lead correction on the Boost DC-DC converter, so that the phase margin is greater than the setting value;
S32.对相位校正后的所述Boost DC-DC变换器进行分析,采用含增益k的校正装置对其进行增益校正,使其增益交越频率达到设定值。S32. Analyze the phase-corrected Boost DC-DC converter, and use a correction device with gain k to perform gain correction on it, so that the gain crossover frequency reaches a set value.
进一步地,所述步骤S31具体为:Further, the step S31 is specifically:
要使得相位裕量大于其设定值,设超前PD校正装置增加相位为θ,不含增益的超前PD校正装置的传递函数为:To make the phase margin larger than its set value, let the phase increase of the leading PD correction device be θ, and the transfer function of the leading PD correction device without gain is:
而分度系数 while the division factor
增益交越频率fg与开关频率fs的关系式有:The relationship between the gain crossover frequency f g and the switching frequency f s is:
于是,增益交越角频率ωg=2πfg;Then, the gain crossover angular frequency ω g =2πf g ;
令超前PD校正装置的最大超前相角频率ωm=ωg,于是求得超前PD校正转置的转折频率为:Let the maximum leading phase angle frequency of the leading PD correction device ω m =ω g , then the turning frequency of the leading PD correction transposition is obtained as:
于是得到T为时间常数; so get T is the time constant;
将a、T代入中,得到不含增益的超前PD校正装置的传递函数。Substitute a and T into , the transfer function of the lead PD correction device without gain is obtained.
进一步地,所述步骤S32具体为:Further, the step S32 is specifically:
对相位校正后的所述Boost DC-DC变换器绘制Bode图,确定其增益交越频率点的幅值L(ωg),于是加入增益k后有:L(ωg)+20lgk=0,计算可得到k值。A Bode diagram is drawn for the phase-corrected Boost DC-DC converter, and the amplitude L(ω g ) of the gain crossover frequency point is determined, so after adding the gain k, there are: L(ω g )+20lgk=0, Calculate the value of k.
进一步地,所述步骤S5具体为:Further, the step S5 is specifically:
判断所述输出电压稳态有效值是否小于其预设值,若否则不校正,若是则采用滞后PI校正装置进行电压校正,所述滞后PI校正装置的传递函数为:Determine whether the steady-state effective value of the output voltage is less than its preset value, if not, do not correct, if so, use a hysteresis PI correction device to perform voltage correction, and the transfer function of the hysteresis PI correction device is:
根据经验,有校正角频率ω≤0.1ωg。As a rule of thumb, there is a corrected angular frequency ω≤0.1ω g .
本发明还提供一种Boost DC-DC变换器的PID控制系统,包括Boost DC-DC变换器和PID控制器;The invention also provides a PID control system of the Boost DC-DC converter, including the Boost DC-DC converter and a PID controller;
所述PID控制器用于对根据所述Boost DC-DC变换器的Bode图确定校正量,利用超前PD校正装置对所述Boost DC-DC变换器进行超前校正,使其相位裕量大于设定值和增益交越频率达到设定值;The PID controller is used to determine the correction amount according to the Bode diagram of the Boost DC-DC converter, and use the lead PD correction device to perform lead correction on the Boost DC-DC converter, so that the phase margin is greater than the set value. and the gain crossover frequency reaches the set value;
所述PID控制器还用于根据所述输出电压稳态有效值,利用滞后PI校正装置对所述Boost DC-DC变换器进行滞后校正,使其输出电压稳态有效值达到设定值;The PID controller is further configured to perform lag correction on the Boost DC-DC converter by using a lag PI correction device according to the steady-state effective value of the output voltage, so that the steady-state effective value of the output voltage reaches a set value;
所述Boost DC-DC变换器用于在所述PID控制器的控制下,将输入的初始直流电压源转化为达到预设电压值的升压直流电压源。The Boost DC-DC converter is used to convert the input initial DC voltage source into a boosted DC voltage source that reaches a preset voltage value under the control of the PID controller.
优选的,所述Boost DC-DC变换器的电路结构如上述PID控制系统所述,其所述占空比-输出开环传递函数表示为:Preferably, the circuit structure of the Boost DC-DC converter is as described in the above-mentioned PID control system, and the duty cycle-output open-loop transfer function is expressed as:
其中,L、C、R0分别表示所述电感L、所述电容C、所述负载R0的电感值、电容值、电阻值,U0表示所需的输出电压,s表示所述Boost DC-DC变换器的复频率。Wherein, L, C, R 0 represent the inductance, capacitance, and resistance of the inductor L, the capacitor C, and the load R 0 respectively, U 0 represents the required output voltage, and s represents the Boost DC - Complex frequency of the DC converter.
具体的,所述PID控制器包括超前PD校正装置和滞后PI校正装置;Specifically, the PID controller includes a leading PD correction device and a lag PI correction device;
所述超前PD校正装置用于根据所述Boost DC-DC变换器的Bode图确定相位校正量,并对所述Boost DC-DC变换器进行相位和增益超前校正,使其相位裕量大于设定值和增益交越频率达到设定值;The leading PD correction device is used to determine the phase correction amount according to the Bode diagram of the Boost DC-DC converter, and perform phase and gain lead correction on the Boost DC-DC converter, so that the phase margin is greater than the setting value and gain crossover frequency reach the set value;
所述滞后PI校正装置用于根据所述超前PD校正装置校正后所述Boost DC-DC变换器的输出电压稳态有效值,对Boost DC-DC变换器进行电压校正,使其输出电压稳态有效值达到设定值。The lag PI correction device is configured to perform voltage correction on the Boost DC-DC converter according to the steady-state effective value of the output voltage of the Boost DC-DC converter after correction by the leading PD correction device, so that the output voltage of the Boost DC-DC converter is stable The effective value reaches the set value.
优选的,所述超前PD校正装置按照上述PID控制方法所述的过程对所述Boost DC-DC变换器进行相位校正;Preferably, the leading PD correction device performs phase correction on the Boost DC-DC converter according to the process described in the above-mentioned PID control method;
所述超前PD校正装置按照上述PID控制方法所述的过程对所述Boost DC-DC变换器进行增益校正;The leading PD correction device performs gain correction on the Boost DC-DC converter according to the process described in the above-mentioned PID control method;
所述滞后PI校正装置按照上述PID控制方法所述的过程对所述Boost DC-DC变换器进行电压校正。The hysteresis PI correction device performs voltage correction on the Boost DC-DC converter according to the process described in the above-mentioned PID control method.
本发明提供的一种Boost DC-DC变换器的PID控制方法及系统,通过PID控制器对Boost DC-DC变换器的增益交越频率、相位裕量、输出电压稳态有效值进行闭环调节,使Boost DC-DC变换器输出达到所需电压值的恒压直流,且高效、精准。The invention provides a PID control method and system for a Boost DC-DC converter. The PID controller performs closed-loop adjustment on the gain crossover frequency, phase margin, and steady-state effective value of the output voltage of the Boost DC-DC converter. Make the Boost DC-DC converter output a constant voltage DC with the required voltage value, and it is efficient and accurate.
附图说明Description of drawings
图1是本发明实施例1提供的一种Boost DC-DC变换器的PID控制方法的步骤流程图;1 is a flow chart of steps of a PID control method for a Boost DC-DC converter provided in
图2是本发明实施例1提供的Boost DC-DC变换器的电路拓扑图;2 is a circuit topology diagram of the Boost DC-DC converter provided in
图3是本发明实施例1提供的图2所示Boost DC-DC变换器在V导通和关断时的电路拓扑图;3 is a circuit topology diagram of the Boost DC-DC converter shown in FIG. 2 when V is turned on and off according to
图4是本发明实施例1提供的图2所示Boost DC-DC变换器在确定了基本参数后的Bode图;4 is a Bode diagram of the Boost DC-DC converter shown in FIG. 2 provided in
图5是本发明实施例1提供的图2所示Boost DC-DC变换器加入不含增益的校正装置后的Bode图;FIG. 5 is a Bode diagram of the Boost DC-DC converter shown in FIG. 2 provided in
图6是本发明实施例1提供的图2所示Boost DC-DC变换器加入含增益的校正装置后的Bode图;6 is a Bode diagram of the Boost DC-DC converter shown in FIG. 2 provided in
图7是本发明实施例1提供的图2所示Boost DC-DC变换器的仿真模型图;7 is a simulation model diagram of the Boost DC-DC converter shown in FIG. 2 provided in
图8是本发明实施例1提供的图7所示仿真模型的状态变量动态曲线图;FIG. 8 is a dynamic curve diagram of state variables of the simulation model shown in FIG. 7 provided by
图9是本发明实施例1提供的图2所示Boost DC-DC变换器中加入含增益的校正装置的仿真模型图;Fig. 9 is a simulation model diagram of adding a calibration device containing gain in the Boost DC-DC converter shown in Fig. 2 provided by
图10是本发明实施例1提供的图2所示Boost DC-DC变换器中加入PID控制器的仿真模型图;10 is a simulation model diagram of adding a PID controller to the Boost DC-DC converter shown in FIG. 2 provided in
图11是本发明实施例1提供的图10所示仿真模型仿真时的输出电压波形图;FIG. 11 is an output voltage waveform diagram when the simulation model shown in FIG. 10 is simulated according to
图12是本发明实施例1提供的一种Boost DC-DC变换器的PID控制方法的闭环控制示意图。FIG. 12 is a closed-loop control schematic diagram of a PID control method for a Boost DC-DC converter provided in
具体实施方式Detailed ways
下面结合附图具体阐明本发明的实施方式,实施例的给出仅仅是为了说明目的,并不能理解为对本发明的限定,包括附图仅供参考和说明使用,不构成对本发明专利保护范围的限制,因为在不脱离本发明精神和范围基础上,可以对本发明进行许多改变。The embodiments of the present invention will be explained in detail below in conjunction with the accompanying drawings. The examples are given only for the purpose of illustration and should not be construed as a limitation of the present invention. The accompanying drawings are only used for reference and description, and do not constitute a limitation on the protection scope of the patent of the present invention. limitation, since many changes may be made in the present invention without departing from the spirit and scope of the invention.
实施例1Example 1
本发明实施例提供的一种Boost DC-DC变换器的PID控制方法,如图1所示,包括步骤:A PID control method for a Boost DC-DC converter provided by an embodiment of the present invention, as shown in FIG. 1 , includes the steps:
S1.采用状态空间平均法对Boost DC-DC变换器进行建模,获取Boost DC-DC变换器的占空比-输出开环传递函数;S1. Model the Boost DC-DC converter using the state space averaging method, and obtain the duty cycle-output open-loop transfer function of the Boost DC-DC converter;
S2.确定Boost DC-DC变换器的基本参数,将基本参数代入占空比-输出开环传递函数并绘制对应的Bode图;S2. Determine the basic parameters of the Boost DC-DC converter, substitute the basic parameters into the duty cycle-output open-loop transfer function and draw the corresponding Bode diagram;
S3.根据Boost DC-DC变换器的Bode图确定校正量,利用超前PD校正装置对BoostDC-DC变换器进行超前校正,使其相位裕量大于设定值和增益交越频率达到设定值;S3. Determine the correction amount according to the Bode diagram of the Boost DC-DC converter, and use the lead PD correction device to perform lead correction on the Boost DC-DC converter, so that the phase margin is greater than the set value and the gain crossover frequency reaches the set value;
S4.确定PD校正后的Boost DC-DC变换器的输出电压稳态有效值;S4. Determine the steady-state effective value of the output voltage of the Boost DC-DC converter after PD correction;
S5.根据输出电压稳态有效值,利用滞后PI校正装置对Boost DC-DC变换器进行滞后校正,使其输出电压稳态有效值达到设定值。S5. According to the steady-state effective value of the output voltage, use the lag PI correction device to perform lag correction on the Boost DC-DC converter, so that the steady-state effective value of the output voltage reaches the set value.
首先需要说明的是,本实施例所述方法针对的Boost DC-DC变换器如图2所示,包括直流电源E、电感L、二极管VD和负载R0、MOS管V、电容C;First of all, it should be noted that the Boost DC-DC converter targeted by the method in this embodiment, as shown in FIG. 2 , includes a DC power supply E, an inductor L, a diode VD, a load R 0 , a MOS transistor V, and a capacitor C;
电感L、二极管VD、负载R0顺序连接在直流电源E的正、负极之间,二极管VD为正向连接;MOS管V的漏极连接二极管VD的正极端,源极连接直流电源E的负极端,栅极连接通断时间控制器;电容C连接在二极管VD的负极端和直流电源E的负极端之间。The inductor L, diode VD and load R 0 are sequentially connected between the positive and negative electrodes of the DC power supply E, and the diode VD is connected in the forward direction; the drain of the MOS transistor V is connected to the positive terminal of the diode VD, and the source is connected to the negative terminal of the DC power supply E. At the extreme, the gate is connected to the on-off time controller; the capacitor C is connected between the negative terminal of the diode VD and the negative terminal of the DC power supply E.
首先假设电感L和电容C值都很大。当可控开关MOS管V处于通态时,直流电源E向电感L充电,充电电流恒定为Is,同时电容C上的电压向负载R0供电。由于C值较大,因此输出电压u0基本保持为恒定值。设V处于通态时间为ton,处于断态时间为toff,周期T=ton+toff。通态阶段电感L上积累的能量为E×Is×ton。当V处于断态时,电源E和电感L共同向电容C充电,并向负载提供能量。在此期间,电感释放的能量为(U0-E)Is×toff,U0表示所需的输出电压。当电路处于稳态时,由能量守恒可得:First assume that the inductor L and capacitor C values are large. When the controllable switch MOS tube V is in the on state, the DC power supply E charges the inductor L, and the charging current is constant at Is, and the voltage on the capacitor C supplies power to the load R 0 . Due to the large value of C, the output voltage u 0 is basically kept at a constant value. Let V be in the on-state time t on , be in the off-state time t off , and the period T=t on +t off . The energy accumulated on the inductor L in the on-state phase is E×Is× t on . When V is in the off state, the power supply E and the inductor L jointly charge the capacitor C and provide energy to the load. During this period, the energy released by the inductor is (U 0 -E)I s ×t off , where U 0 represents the desired output voltage. When the circuit is in steady state, from the conservation of energy, we can get:
E×Is×ton=(U0-E)×Is×toff (1)E×I s ×t on =(U 0 -E)×I s ×t off (1)
化简后得:After simplification:
其中,T/toff≥1。Wherein, T/t off ≥1.
可以看出输出电压高于输入电压,因此该变换器起到了升压的作用。It can be seen that the output voltage is higher than the input voltage, so the converter acts as a boost.
Boost DC-DC变换器有两种工作方式,即电感电流连续和断续工作方式,本实施例仅对电感电流连续方式进行分析,而这种分析方法和思想也能够对电感电流断续方式进行分析。在电感电流连续方式下,电路工作过程分为开关管V导通和关断两个。开关管V导通时,电感L储能,此时负载R0不靠电源E提供能量,而是靠电容C供电。当开关管V关断时,此时VD导通,电源E和电感L同时向负载R0供电和电容C充电。在连续工作方式下,Boost电路的两种拓扑如图3所示,分别为开关管V导通时的拓扑、开关管V关断时的拓扑。The Boost DC-DC converter has two working modes, namely the continuous and discontinuous working modes of the inductor current. This embodiment only analyzes the continuous mode of the inductor current, and this analysis method and idea can also be used for the discontinuous mode of the inductor current. analyze. In the continuous mode of the inductor current, the circuit work process is divided into two turn-on and turn-off of the switch tube V. When the switch tube V is turned on, the inductor L stores energy. At this time, the load R 0 does not rely on the power supply E to provide energy, but relies on the capacitor C to provide power. When the switch tube V is turned off, VD is turned on at this time, and the power supply E and the inductor L supply power to the load R 0 and charge the capacitor C at the same time. In the continuous working mode, the two topologies of the Boost circuit are shown in Figure 3, which are the topology when the switch tube V is turned on, and the topology when the switch tube V is turned off.
针对步骤S1:For step S1:
本实施例步骤S1采用状态空间平均法对Boost DC-DC变换器系统进行建模。设状态变量为x=[is u0]T,并记u=E。通过上面的分析可以得到在[0,dTs]和[dTs,Ts]两个时间段内系统状态方程分别如下:Step S1 in this embodiment adopts the state space averaging method to model the Boost DC-DC converter system. Let the state variable be x =[is u 0 ] T , and denote u=E. Through the above analysis, it can be obtained that the state equations of the system in the two time periods [0, dT s ] and [dT s , T s ] are as follows:
其中,C1=[0 0],C2=[1 0]。in, C 1 =[0 0], C 2 =[1 0].
根据状态变量开关周期平均值定义:记d′=1-d可得:Defined according to the average value of the switching period of the state variable: Denote d′=1-d to get:
同理可得:The same can be obtained:
故有:Therefore:
其中A=dA1+(1-d)A2,Β=dΒ1+(1-d)Β2,C=dC1+(1-d)C2。Wherein A=dA 1 +(1-d)A 2 , B=dB 1 +(1-d)B 2 , C=dC 1 +(1-d)C 2 .
稳态时,有即:In steady state, there is which is:
求得:Get:
这里,C=[1-D 0]。here, C=[1-D 0].
于是,得到Boost DC-DC变换器的稳态方程如下:Therefore, the steady-state equation of the Boost DC-DC converter is obtained as follows:
为了得到小信号线性动态模型,令:To get the small-signal linear dynamic model, let:
代入状态空间平均方程并整理得:Substitute into the state-space averaging equation and tidy up:
忽略二阶交流小项,代入稳态方程得到小信号交流模型如下:Ignoring the second-order AC small term, substituting the steady-state equation into the small-signal AC model is as follows:
于是可得,Boost DC-DC变换器的交流小信号状态方程为:Therefore, the AC small-signal state equation of the Boost DC-DC converter is:
为得到传递函数,将上述状态方程进行拉普拉斯变换,得:In order to obtain the transfer function, the above state equation is Laplace transform, we get:
解得:Solutions have to:
于是,可得传递函数如下:Therefore, the transfer function can be obtained as follows:
代入状态方程可得占空比-输出开环传递函数:Substitute into the state equation to obtain the duty cycle-output open-loop transfer function:
其中,L、C、R0分别表示电感L、所述电容C、负载R0的电感值、电容值、电阻值,D表示占空比,U0表示所需输出电压,s表示Boost DC-DC变换器的复频率。Among them, L, C, R 0 represent the inductance L, the capacitor C, the inductance value, capacitance value, and resistance value of the load R 0 respectively, D represents the duty cycle, U 0 represents the required output voltage, and s represents Boost DC- The complex frequency of the DC converter.
针对步骤S2:For step S2:
本实施例步骤S2确定的Boost DC-DC变换器的基本参数包括式(22)中的L、C、R0、D、U0,将所述基本参数代入所述占空比-输出开环传递函数并绘制对应的Bode图以进行后期分析。The basic parameters of the Boost DC-DC converter determined in step S2 in this embodiment include L, C, R 0 , D, and U 0 in equation (22), and the basic parameters are substituted into the duty cycle-output open loop Transfer the function and draw the corresponding Bode plot for post analysis.
本实施例的基本参数包括:占空比D=0.25,所需的输出电压U0=10V,电感L=20μH,电容C=500μF,输入直流电压E=5V,负载R0=10Ω,开关频率=100kHz。代入式(22)可得到控制-输出传递函数为:The basic parameters of this embodiment include: duty cycle D=0.25, required output voltage U 0 =10V, inductance L=20μH, capacitance C=500μF, input DC voltage E=5V, load R 0 =10Ω, switching frequency =100kHz. Substituting into equation (22), the control-output transfer function can be obtained as:
绘制对应的Bode图如图4所示。The corresponding Bode diagram is drawn as shown in Figure 4.
从图4的Bode图中可以看出相位裕量为-5.34°,增益交越频率为2.84×104rad/s,因此需要进行超前校正。下面将利用PD进行超前校正。It can be seen from the Bode diagram in Figure 4 that the phase margin is -5.34° and the gain crossover frequency is 2.84×10 4 rad/s, so lead correction is required. In the following, lead correction will be performed using PD.
针对步骤S3:For step S3:
在本实施例中,在所述步骤S3中,利用超前PD校正装置对Boost DC-DC变换器进行超前校正,具体包括步骤:In this embodiment, in the step S3, the advance correction is performed on the Boost DC-DC converter by using the advance PD correction device, which specifically includes the steps:
S31.根据Boost DC-DC变换器的Bode图确定相位校正量,采用不含增益的超前PD校正装置对Boost DC-DC变换器进行相位超前校正,使其相位裕量大于设定值;S31. Determine the phase correction amount according to the Bode diagram of the Boost DC-DC converter, and use a lead PD correction device without gain to perform phase lead correction on the Boost DC-DC converter, so that the phase margin is greater than the set value;
S32.对相位校正后的Boost DC-DC变换器进行分析,采用含增益k的校正装置对其进行增益校正,使其增益交越频率达到设定值。S32. Analyze the phase-corrected Boost DC-DC converter, and use a correction device with gain k to perform gain correction on it, so that the gain crossover frequency reaches the set value.
所述步骤S31具体为:The step S31 is specifically:
要使得相位裕量大于其设定值45°(相位校正量为50.34°),通过预估,设超前PD校正装置增加相位为θ=70°,不含增益的超前PD校正装置的传递函数为:To make the phase margin larger than its set value by 45° (the phase correction amount is 50.34°), by estimation, let the phase increase of the lead PD correction device be θ=70°, and the transfer function of the lead PD correction device without gain is :
而分度系数 while the division factor
增益交越频率fg与开关频率fs的关系式有:The relationship between the gain crossover frequency f g and the switching frequency f s is:
于是,增益交越角频率ωg=2πfg=1.26×105rad/s;Therefore, the gain crossover angular frequency ω g =2πf g =1.26×10 5 rad/s;
令超前PD校正装置的最大超前相角频率ωm=ωg=1.26×105rad/s,于是求得超前PD校正转置的转折频率为:Let the maximum leading phase angle frequency of the leading PD correction device ω m =ω g =1.26×10 5 rad/s, then the turning frequency of the leading PD correction transposition is obtained as:
于是得到时间常数 so get time constant
将a、T代入中,得到不含增益的超前PD校正装置的传递函数为:Substitute a and T into , the transfer function of the lead PD correction device without gain is obtained as:
步骤S32具体为:Step S32 is specifically:
对相位校正后的Boost DC-DC变换器绘制Bode图,确定其增益交越频率点的幅值L(ωg),于是加入增益k后有:L(ωg)+20lgk=0,计算可得到k值。Draw a Bode diagram for the Boost DC-DC converter after phase correction, and determine the amplitude L(ω g ) of its gain crossover frequency point, so after adding the gain k, there is: L(ω g )+20lgk=0, the calculation can be get the value of k.
更具体是,为确定增益k,先画出不含增益的校正装置加入原Boost DC-DC变换器后的Bode图,如图5所示。More specifically, in order to determine the gain k, first draw the Bode diagram of the original Boost DC-DC converter after the correction device without gain is added, as shown in Figure 5.
从图5可以看到,当不含增益k的校正装置加入后,相位裕量为50.1°,增益交越频率为4.03×104rad/s。因此,在加入增益k后系统的增益交越频率应为1.26×105rad/s,从图中可以看出该图的幅值为L(ωg)=-10.6dB,于是,加上k后有:It can be seen from Figure 5 that when the correction device without gain k is added, the phase margin is 50.1°, and the gain crossover frequency is 4.03×10 4 rad/s. Therefore, after adding the gain k, the gain crossover frequency of the system should be 1.26×10 5 rad/s. It can be seen from the figure that the amplitude of the figure is L(ω g )=-10.6dB, so add k followed by:
L(ωg)+20lgk=0 (27)L(ω g )+20lgk=0 (27)
求得k=3.3884。Find k = 3.3884.
因此得到含增益k的PD校正装置如下;Therefore, the PD correction device containing gain k is obtained as follows;
再次画出加入增益k之后的Boost DC-DC变换器Bode图如图6所示。从图6可以看出,当包含增益k的PD校正装置加入Boost DC-DC变换器后,相位裕量变为46°,增益交越频率为1.26×105rad/s,到达了设定值。The Bode diagram of the Boost DC-DC converter after adding gain k is drawn again, as shown in Figure 6. As can be seen from Figure 6, when the PD correction device including gain k is added to the Boost DC-DC converter, the phase margin becomes 46°, and the gain crossover frequency is 1.26×10 5 rad/s, reaching the set value.
针对步骤S4:For step S4:
在Boost DC-DC变换器系统不加PID控制器之前的MATLAB/Simulink仿真模型如图7所示,左下方是被测量的幅值大小(如根均方)显示器;右下方是被测量的波形显示器。采用MATLAB/Simulink工具箱画出未加控制器前Boost DC-DC变换器各状态变量动态曲线如图8所示,从图中可以得到输出电压u0稳态有效值为5.866V,小于10V,为了使u0稳态有效值为10V。根据步骤S1~S3的分析,得到相应的Simulink PD闭环控制仿真模块如图9所示。The MATLAB/Simulink simulation model before the PID controller is not added to the Boost DC-DC converter system is shown in Figure 7. The lower left is the display of the measured amplitude (such as root mean square); the lower right is the measured waveform monitor. The MATLAB/Simulink toolbox is used to draw the dynamic curve of each state variable of the Boost DC-DC converter before the controller is added, as shown in Figure 8. From the figure, it can be obtained that the steady-state effective value of the output voltage u 0 is 5.866V, which is less than 10V. In order to make u 0 steady-state effective value is 10V. According to the analysis of steps S1 to S3, the corresponding Simulink PD closed-loop control simulation module is obtained as shown in Figure 9.
经仿真发现输出电压值仍小于10V,故此还需要增加滞后PI校正装置进行电压校正。PI环节的传递函数如下:After simulation, it is found that the output voltage value is still less than 10V, so it is necessary to add a hysteresis PI correction device for voltage correction. The transfer function of the PI link is as follows:
根据经验,一般有校正角频率ω≤0.1ωg,于是在这里可取ω=800rad/s,得到PI环节的传递函数为:According to experience, there is generally a correction angular frequency ω≤0.1ω g , so ω=800rad/s can be taken here, and the transfer function of the PI link is obtained as:
于是完整的PID闭环控制仿真模型如图10所示,通过仿真得到对应的输出电压波形如图11所示。从图11可以看出,输出电压达到指定要求为10V。So the complete PID closed-loop control simulation model is shown in Figure 10, and the corresponding output voltage waveform obtained through simulation is shown in Figure 11. As can be seen from Figure 11, the output voltage meets the specified requirement of 10V.
整个方法的闭环控制过程可总结如图12所示。其中Gvd(s)为DC-DC占空比,至输出的传递函数即式(22),Gm(s)为PWM脉冲宽度调制器的传递函数,H(s)为反馈分压网络的传递函数,Gc(s)为补偿网络(PID控制器)的传递函数。Vref(s)表示参考信号,B(s)表示反馈信号,E(s)表示误差信号。其中,Gc(s)=Gc1(s)+Gc2(s)。The closed-loop control process of the whole method can be summarized as shown in Figure 12. where G vd (s) is the DC-DC duty cycle, to output The transfer function of is Eq. (22), G m (s) is the transfer function of the PWM pulse width modulator, H (s) is the transfer function of the feedback voltage divider network, G c (s) is the compensation network (PID controller) transfer function. Vref (s) represents the reference signal, B(s) represents the feedback signal, and E(s) represents the error signal. Wherein, G c (s)=G c1 (s)+G c2 (s).
整个过程是,真实相位裕量、增益交越频率、输出电压稳态有效值V0(s)与其设定值的误差值E(s)传递至反馈分压网络H(s),反馈分压网络H(s)根据误差信号生成对应的反馈信号B(s),在参考信号Vref(s)的共同作用下,反馈至补偿网络Gc(s),补偿网络Gc(s)输出对应的电压信号Vc(s),经由PWM脉冲宽度调制器进行调制后,输入至Boost DC-DC变换器中,经过升压变化后输出电压,从而形成闭环控制。The whole process is that the real phase margin, gain crossover frequency, and the error value E(s) of the output voltage steady-state rms value V 0 (s) and its set value are transmitted to the feedback voltage divider network H(s), and the feedback voltage divider The network H(s) generates the corresponding feedback signal B(s) according to the error signal. Under the joint action of the reference signal V ref (s), it is fed back to the compensation network G c (s), and the output of the compensation network G c (s) corresponds to The voltage signal Vc(s) is modulated by the PWM pulse width modulator, and then input to the Boost DC-DC converter, and the voltage is output after boosting and changing, thus forming a closed-loop control.
需要说明的是,本发明所适用的Boost DC-DC变换器不限于为图2所示的电路结构,在图2的基础上所做的其他变型同样适用。It should be noted that the Boost DC-DC converter to which the present invention is applicable is not limited to the circuit structure shown in FIG. 2 , and other modifications made on the basis of FIG. 2 are also applicable.
本发明实施例提供的一种Boost DC-DC变换器的PID控制方法,通过PID控制器(超前PD校正装置和滞后PI校正装置)对Boost DC-DC变换器的增益交越频率、相位裕量、输出电压稳态有效值进行闭环调节,使Boost DC-DC变换器输出达到所需电压值的恒压直流,且高效、精准。A PID control method for a Boost DC-DC converter provided by an embodiment of the present invention is to control the gain crossover frequency and phase margin of the Boost DC-DC converter through a PID controller (a leading PD correction device and a lag PI correction device). , The steady-state effective value of the output voltage is closed-loop adjusted, so that the output of the Boost DC-DC converter reaches the constant voltage DC of the required voltage value, and is efficient and accurate.
实施例2Example 2
本发明实施例提供一种Boost DC-DC变换器的PID控制系统,应用于实施例1所述的PID控制方法,包括Boost DC-DC变换器和PID控制器;An embodiment of the present invention provides a PID control system for a Boost DC-DC converter, which is applied to the PID control method described in
PID控制器用于对根据Boost DC-DC变换器的Bode图确定校正量,利用超前PD校正装置对Boost DC-DC变换器进行超前校正,使其相位裕量大于设定值和增益交越频率达到设定值;The PID controller is used to determine the correction amount according to the Bode diagram of the Boost DC-DC converter, and use the lead PD correction device to perform lead correction on the Boost DC-DC converter, so that the phase margin is greater than the set value and the gain crossover frequency reaches set value;
PID控制器还用于根据输出电压稳态有效值,利用滞后PI校正装置对Boost DC-DC变换器进行滞后校正,使其输出电压稳态有效值达到设定值;The PID controller is also used to perform lag correction on the Boost DC-DC converter by using the lag PI correction device according to the steady-state effective value of the output voltage, so that the steady-state effective value of the output voltage reaches the set value;
Boost DC-DC变换器用于在PID控制器的控制下,将输入的初始直流电压源转化为达到预设电压值的升压直流电压源。The Boost DC-DC converter is used to convert the input initial DC voltage source into a boosted DC voltage source that reaches a preset voltage value under the control of the PID controller.
具体的,PID控制器包括超前PD校正装置和滞后PI校正装置;Specifically, the PID controller includes a leading PD correction device and a lag PI correction device;
超前PD校正装置用于根据Boost DC-DC变换器的Bode图确定相位校正量,并对Boost DC-DC变换器进行相位和增益超前校正,使其相位裕量大于设定值和增益交越频率达到设定值;The advanced PD correction device is used to determine the phase correction amount according to the Bode diagram of the Boost DC-DC converter, and perform phase and gain lead correction on the Boost DC-DC converter, so that the phase margin is greater than the set value and the gain crossover frequency. reach the set value;
滞后PI校正装置用于根据超前PD校正装置校正后Boost DC-DC变换器的输出电压稳态有效值,对Boost DC-DC变换器进行电压校正,使其输出电压稳态有效值达到设定值。The lag PI correction device is used to correct the voltage of the Boost DC-DC converter according to the steady-state effective value of the output voltage of the Boost DC-DC converter after being corrected by the leading PD correction device, so that the steady-state effective value of the output voltage reaches the set value .
优选的,超前PD校正装置按照实施例1的PID控制方法对Boost DC-DC变换器进行相位校正;Preferably, the leading PD correction device performs phase correction on the Boost DC-DC converter according to the PID control method of
超前PD校正装置按照实施例1的PID控制方法对Boost DC-DC变换器进行增益校正;The leading PD correction device performs gain correction on the Boost DC-DC converter according to the PID control method of
滞后PI校正装置按照实施例1的PID控制方法对Boost DC-DC变换器进行电压校正。The hysteresis PI correction device performs voltage correction on the Boost DC-DC converter according to the PID control method of the first embodiment.
介于实施例1已经对PID控制过程进行了详细描述,本实施例对PID控制器的具体控制过程则不再赘述。Since the PID control process has been described in detail in
上述实施例为本发明较佳的实施方式,但本发明的实施方式并不受上述实施例的限制,其他的任何未背离本发明的精神实质与原理下所作的改变、修饰、替代、组合、简化,均应为等效的置换方式,都包含在本发明的保护范围之内。The above-mentioned embodiments are preferred embodiments of the present invention, but the embodiments of the present invention are not limited by the above-mentioned embodiments, and any other changes, modifications, substitutions, combinations, The simplification should be equivalent replacement manners, which are all included in the protection scope of the present invention.
Claims (9)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010972659.9A CN112054676B (en) | 2020-09-16 | 2020-09-16 | A PID control method and system for a Boost DC-DC converter |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010972659.9A CN112054676B (en) | 2020-09-16 | 2020-09-16 | A PID control method and system for a Boost DC-DC converter |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112054676A CN112054676A (en) | 2020-12-08 |
CN112054676B true CN112054676B (en) | 2021-08-03 |
Family
ID=73604814
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010972659.9A Active CN112054676B (en) | 2020-09-16 | 2020-09-16 | A PID control method and system for a Boost DC-DC converter |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112054676B (en) |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2013003845A (en) * | 2011-06-16 | 2013-01-07 | Institute Of National Colleges Of Technology Japan | Built-in intelligence controller, control system, control program, recording medium, and control method |
CN107707101A (en) * | 2017-09-25 | 2018-02-16 | 北京机械设备研究所 | A kind of control system of anti-input voltage and anti-loading fluctuation based on boost converters |
-
2020
- 2020-09-16 CN CN202010972659.9A patent/CN112054676B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN112054676A (en) | 2020-12-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Wang | A novel single-stage full-bridge buck-boost inverter | |
Vuthchhay et al. | Modeling and control of a Zeta converter | |
CN103051220A (en) | Switching power supply and controller thereof | |
Rigogiannis et al. | Microcontroller based implementation of peak current control method in a bidirectional buck-boost DC-DC converter | |
CN108288915A (en) | An Interleaved Parallel Magnetic Integrated DC/DC Converter | |
CN117240090A (en) | ZVS control method and system of four-switch Buck-Boost converter | |
Dymerets et al. | Dynamic characteristics of zero-current-switching quasi-resonant buck converter under variation of resonant circuit and load parameters | |
CN110768528A (en) | Control method for smooth switching of working modes of non-reverse Buck-Boost circuit | |
Michal et al. | Boost DC/DC converter nonlinearity and RHP-zero: Survey of the control-to-output transfer function linearization methods | |
CN112054676B (en) | A PID control method and system for a Boost DC-DC converter | |
Veerachary et al. | Peak-current mode control of hybrid switched capacitor converter | |
Calvente et al. | Multisampled average current control of switching power converters | |
Chatterjee et al. | Online digital PID control tuning in voltage-mode boost converters for shaping the output impedance | |
Kapat | PID controller tuning of voltage mode controlled buck converter for fast recovery up to slew limit | |
CN115065237A (en) | A buck-boost converter and its output feedback control method | |
CN109546858B (en) | Control Method of Switching Converter with Right Half-Plane Zero | |
Taddy et al. | Modeling and simulation of a switch-mode synchronous buck converter | |
Zeltser et al. | Modeling, analysis and simulation of" AC inductor" based converters | |
CN104022645A (en) | Constant-frequency fixed turning-off time control device of switching converter | |
Li et al. | Examining Power Factor Correction Boost Converter Feedback Control Using SIMPLIS | |
Veerachary | Digital controller design for fourth-order soft-switching boost converter | |
CN115276408B (en) | Wide-input Buck-Boost chopper control circuit and control method | |
Wang et al. | Research on stability of buck converter with output-current-feedforward control | |
CN118739811B (en) | Dynamic regulation control system and control method of DAB converter | |
CN222215997U (en) | Constant current control circuit and constant current control system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |