技术领域technical field
本发明涉及电子电路技术领域,尤其涉及一种功率因数校正的控制方法及装置。The invention relates to the technical field of electronic circuits, in particular to a control method and device for power factor correction.
背景技术Background technique
功率因数校正(Power Factor Correction,简称PFC)指的是有效功率与总耗电量(视在功率)之间的关系,也就是有效功率除以总耗电量(视在功率)的比值。基本上功率因素可以衡量电力被有效利用的程度,当功率因素值越大,代表其电力利用率越高。目前的PFC技术包括:无源PFC技术和有源PFC技术。Power Factor Correction (PFC for short) refers to the relationship between effective power and total power consumption (apparent power), that is, the ratio of effective power divided by total power consumption (apparent power). Basically, the power factor can measure the degree to which electricity is effectively utilized. When the power factor value is larger, it represents the higher the power utilization rate. The current PFC technology includes: passive PFC technology and active PFC technology.
但是,采用有源PFC技术进行PFC校正,在整个半波周期内开关管都有开关动作。具体可参见图1,图1为PFC控制电流的波形图,如图1所示,特别在半波的波峰附近,电流的峰值和有效值都比较大,此时开关管的开关损耗和峰值电流变化率(di/dt)都非常高。此时,如果开关管有工作,就会造成不必要的损耗和严重的电磁兼容问题(Electro MagneticCompatibility,简称EMC)。However, the active PFC technology is used for PFC correction, and the switching tube has switching action in the entire half-wave cycle. See Figure 1 for details. Figure 1 is a waveform diagram of the PFC control current. As shown in Figure 1, especially near the peak of the half-wave, the peak value and effective value of the current are relatively large. At this time, the switching loss and peak current of the switching tube The rate of change (di/dt) is very high. At this time, if the switch tube is working, it will cause unnecessary loss and serious electromagnetic compatibility (Electro Magnetic Compatibility, EMC for short).
发明内容Contents of the invention
本发明实施例提出一种功率因数校正的控制方法及装置,在满足同样功率因数校正的前提下,减少PFC开关管不必要的损耗和EMC干扰。Embodiments of the present invention provide a control method and device for power factor correction, which can reduce unnecessary loss and EMC interference of a PFC switch tube on the premise of satisfying the same power factor correction.
本发明实施例提供了一种功率因数校正的控制方法,包括:An embodiment of the present invention provides a control method for power factor correction, including:
设置PFC电路的输出电压的值,所述输出电压的值低于输入整流电压的峰值;setting the value of the output voltage of the PFC circuit, the value of the output voltage is lower than the peak value of the input rectified voltage;
获取所述PFC电路的输入整流电压数据、输入电感电流数据和输出电压数据;其中,所述输入整流电压数据包括输入整流电压的波形或相位角,所述输入电感电流数据包括所述输入电感电流的波形或相位角;Acquire input rectified voltage data, input inductor current data, and output voltage data of the PFC circuit; wherein, the input rectified voltage data includes the waveform or phase angle of the input rectified voltage, and the input inductor current data includes the input inductor current waveform or phase angle;
比较所述输出电压数据与预设的输出电压参考值,获得输出电压差;comparing the output voltage data with a preset output voltage reference value to obtain an output voltage difference;
计算所述输出电压差的误差值;calculating an error value of the output voltage difference;
根据所述输出电压差的误差值、所述输入整流电压数据与所述输入电感电流数据,计算获得输入电流参考值;calculating and obtaining an input current reference value according to the error value of the output voltage difference, the input rectified voltage data, and the input inductor current data;
根据所述输入电感电流数据与输入电流参考值,计算获得开关信号的占空比,所述占空比用于控制所述PFC电路的开关动作,以使所述PFC电路的输入电流在波峰处自动同步所述输入整流电压的相位。According to the input inductor current data and the input current reference value, calculate and obtain the duty ratio of the switching signal, and the duty ratio is used to control the switching action of the PFC circuit, so that the input current of the PFC circuit is at the peak automatically synchronizes the phase of the input rectified voltage.
进一步的,所述获取PFC电路的输入整流电压数据、输入电感电流数据和输出电压数据,具体为:Further, the acquisition of the input rectified voltage data, input inductor current data and output voltage data of the PFC circuit is specifically:
检测PFC电路的输入整流电压信号、输入电感电流信号和输出电压信号,并对所述检测的信号进行数模转换处理,获得所述输入整流电压数据、输入电感电流数据和输出电压数据。Detecting the input rectified voltage signal, input inductor current signal, and output voltage signal of the PFC circuit, and performing digital-to-analog conversion processing on the detected signals to obtain the input rectified voltage data, input inductor current data, and output voltage data.
进一步的,根据所述输出电压差的误差值、所述输入整流电压数据与所述输入电感电流数据,计算获得参考输入电流,具体为:Further, the reference input current is calculated and obtained according to the error value of the output voltage difference, the input rectified voltage data and the input inductor current data, specifically:
根据所述输入整流电压数据,计算所述输入整流电压的平均值;calculating an average value of the input rectified voltage according to the input rectified voltage data;
将所述输出电压差的误差值、输入整流电压数据和所述输入整流电压的平均值一一相乘,将相乘后获得的值结合所述输入电感电流数据,计算获得输入电流参考值。The error value of the output voltage difference, the input rectified voltage data and the average value of the input rectified voltage are multiplied one by one, and the value obtained after multiplication is combined with the input inductor current data to calculate an input current reference value.
进一步的,所述输入整流电压的平均值采用以下公式进行计算:Further, the average value of the input rectified voltage is calculated using the following formula:
C=1/(Vdc*Vdc);C=1/(Vdc*Vdc);
其中,C为所述输入整流电压的平均值,Vdc为所述输入整流电压。Wherein, C is the average value of the input rectified voltage, and Vdc is the input rectified voltage.
进一步的,所述根据所述输入电感电流数据与输入电流参考值,计算获得开关信号的占空比,具体为:Further, according to the input inductor current data and the input current reference value, the duty ratio of the switching signal is calculated and obtained, specifically:
比较所述输入电感电流数据与输入电流参考值,获得输入电流差;Comparing the input inductor current data with an input current reference value to obtain an input current difference;
计算所述输入电流差的误差值;calculating an error value of the input current difference;
根据所述输入电流差的误差值,计算获得开关信号的占空比。According to the error value of the input current difference, the duty cycle of the switch signal is obtained by calculation.
进一步的,所述计算所述输出电压差的误差值以及所述计算所述输入电流差的误差值,具体为:Further, the calculation of the error value of the output voltage difference and the calculation of the error value of the input current difference are specifically:
根据所述输出电压差,采用比例积分计算获得所述输出电压差的误差值;Obtaining an error value of the output voltage difference by using proportional integral calculation according to the output voltage difference;
和根据所述输入电流差,采用比例积分计算获得所述输入电流差的误差值。and according to the input current difference, the error value of the input current difference is obtained through proportional integral calculation.
另一方面,本发明实施例提供了一种功率因数校正的控制装置,包括:On the other hand, an embodiment of the present invention provides a control device for power factor correction, including:
设置模块,用于设置PFC电路的输出电压的值,所述输出电压的值低于输入整流电压的峰值;A setting module, configured to set the value of the output voltage of the PFC circuit, the value of the output voltage is lower than the peak value of the input rectified voltage;
获取模块,用于获取所述PFC电路的输入整流电压数据、输入电感电流数据和输出电压数据,其中,所述输入整流电压数据包括输入整流电压的波形和相位角,所述输入电感电流数据包括所述输入电感电流的波形和相位角;An acquisition module, configured to acquire input rectified voltage data, input inductor current data, and output voltage data of the PFC circuit, wherein the input rectified voltage data includes the waveform and phase angle of the input rectified voltage, and the input inductor current data includes The waveform and phase angle of the input inductor current;
比较模块,用于比较所述输出电压数据与预设的输出电压参考值,获得输出电压差;A comparison module, configured to compare the output voltage data with a preset output voltage reference value to obtain an output voltage difference;
第一计算模块,用于计算所述输出电压差的误差值;a first calculation module, configured to calculate an error value of the output voltage difference;
第二计算模块,用于根据所述输出电压差的误差值、所述输入整流电压数据与所述输入电感电流数据,计算获得输入电流参考值;A second calculation module, configured to calculate and obtain an input current reference value according to the error value of the output voltage difference, the input rectified voltage data, and the input inductor current data;
第三计算模块,用于根据所述输入电感电流数据与输入电流参考值,计算获得开关信号的占空比,所述占空比用于控制所述PFC电路的开关动作,以使所述PFC电路的输入电流在波峰处自动同步所述输入整流电压的相位。The third calculation module is used to calculate and obtain the duty ratio of the switching signal according to the input inductor current data and the input current reference value, and the duty ratio is used to control the switching action of the PFC circuit, so that the PFC The input current of the circuit automatically synchronizes the phase of the input rectified voltage at the peak.
进一步的,所述获取模块包括:Further, the acquisition module includes:
信号检测单元,用于检测PFC电路的输入整流电压信号、输入电感电流信号和输出电压信号;The signal detection unit is used to detect the input rectified voltage signal, the input inductor current signal and the output voltage signal of the PFC circuit;
数模转换单元,用于对所述检测的信号进行数模转换处理,获得所述输入整流电压数据、输入电感电流数据和输出电压数据。The digital-to-analog conversion unit is configured to perform digital-to-analog conversion processing on the detected signal to obtain the input rectified voltage data, input inductor current data and output voltage data.
进一步的,所述第二计算模块包括:Further, the second calculation module includes:
第一计算单元,用于根据所述输入整流电压数据,计算所述输入整流电压的平均值;a first calculation unit, configured to calculate an average value of the input rectified voltage according to the input rectified voltage data;
第二计算单元,用于将所述输出电压差的误差值、输入整流电压数据和所述输入整流电压的平均值一一相乘,将相乘后获得的值结合所述输入电感电流数据,计算获得输入电流参考值。The second calculation unit is configured to multiply the error value of the output voltage difference, the input rectified voltage data and the average value of the input rectified voltage one by one, combine the multiplied value with the input inductor current data, Calculated to obtain the input current reference value.
进一步的,所述第三计算模块包括:Further, the third computing module includes:
电流比较单元,用于比较所述输入电感电流数据与输入电流参考值,获得输入电流差;a current comparison unit, configured to compare the input inductor current data with an input current reference value to obtain an input current difference;
第三计算单元,用于计算所述输入电流差的误差值;a third calculation unit, configured to calculate an error value of the input current difference;
第四计算单元,用于根据所述输入电流差的误差值,计算获得开关信号的占空比。The fourth calculation unit is used to calculate and obtain the duty cycle of the switch signal according to the error value of the input current difference.
可见,实施本发明实施例,具有如下有益效果:It can be seen that implementing the embodiment of the present invention has the following beneficial effects:
本发明实施例提供的一种功率因数校正的控制方法,获取输入整流电压数据、输入电感电流数据和输出电压数据,将获取的输出电压数据与预设的输出电压参考值进行比较,获得输出电压差,并计算输出电压差的误差值。根据输出电压差的误差值和输入整流电压的波形和相位角、输入电感电流的波形和相位角,计算获得输入电流参考值。再根据输入电感电流数据与输入电流参考值,计算获得开关信号的占空比。PFC开关管根据该占空比进行开关动作,从而避开PFC开关管在峰值电流附近进行开关动作。相比于现有技术采用闭环控制的方法,本发明技术方案对输入电感电流的波形和相位角进行数据处理,再通过控制输出电压使电流在波峰处自动同步输入电压相位,从而使得PFC开关管无需在电流峰值时进行开关动作。在满足相同的功率因数校正的前提下,本发明技术方案能避免PFC开关管在峰值电流附件的损耗和因峰值电流变化率过大而造成的EMC干扰,从而降低PFC开关管的温升和滤波电路的成本。A power factor correction control method provided by an embodiment of the present invention acquires input rectified voltage data, input inductor current data, and output voltage data, and compares the acquired output voltage data with a preset output voltage reference value to obtain an output voltage difference, and calculate the error value of the output voltage difference. According to the error value of the output voltage difference, the waveform and phase angle of the input rectified voltage, and the waveform and phase angle of the input inductor current, the input current reference value is calculated and obtained. Then, according to the input inductor current data and the input current reference value, the duty cycle of the switching signal is obtained through calculation. The PFC switch tube performs switching operations according to the duty cycle, thereby avoiding the PFC switch tube from performing switching operations near the peak current. Compared with the closed-loop control method in the prior art, the technical solution of the present invention performs data processing on the waveform and phase angle of the input inductor current, and then controls the output voltage to automatically synchronize the phase of the input voltage at the peak of the current, so that the PFC switch tube No switching action is required at current peaks. Under the premise of satisfying the same power factor correction, the technical solution of the present invention can avoid the loss of the PFC switch tube near the peak current and the EMC interference caused by the excessive peak current change rate, thereby reducing the temperature rise and filtering of the PFC switch tube circuit cost.
进一步的,本发明根据输入整流电压的峰值,设置输出电压的值,将输出电压的值设置为稍低于输入整流电压峰值,增大输入电流的自动追踪范围,进一步降低在电压波峰减小PFC开关管的损耗和降低EMC干扰。Further, the present invention sets the value of the output voltage according to the peak value of the input rectified voltage, sets the value of the output voltage to be slightly lower than the peak value of the input rectified voltage, increases the automatic tracking range of the input current, and further reduces the PFC at the voltage peak. The loss of the switching tube and the reduction of EMC interference.
附图说明Description of drawings
图1是现有技术的PFC控制电流的波形图;FIG. 1 is a waveform diagram of a PFC control current in the prior art;
图2是本发明提供的功率因数校正的一种实施例的流程示意图;Fig. 2 is a schematic flow chart of an embodiment of power factor correction provided by the present invention;
图3是本发明提供的功率因数校正的一种实施例的电路结构原理图;Fig. 3 is a schematic circuit diagram of an embodiment of power factor correction provided by the present invention;
图4是本发明提供的PFC控制电流的一种实施例的波形图;Fig. 4 is a waveform diagram of an embodiment of the PFC control current provided by the present invention;
图5是本发明提供的功率因数校正装置的一种实施例的结构示意图;Fig. 5 is a schematic structural diagram of an embodiment of a power factor correction device provided by the present invention;
图6是本发明提供的获取单元的一种实施例的结构示意图;Fig. 6 is a schematic structural diagram of an embodiment of an acquisition unit provided by the present invention;
图7是本发明提供的第二计算模块的一种实施例的结构示意图;Fig. 7 is a schematic structural diagram of an embodiment of a second computing module provided by the present invention;
图8是本发明提供的第三计算模块的一种实施例的结构示意图。Fig. 8 is a schematic structural diagram of an embodiment of the third computing module provided by the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.
实施例1Example 1
参见图2,图2是本发明提供的功率因数校正的一种实施例的流程示意图。本发明技术方案适用于PFC电路,该方法包括以下步骤:Referring to FIG. 2 , FIG. 2 is a schematic flowchart of an embodiment of power factor correction provided by the present invention. The technical solution of the present invention is applicable to a PFC circuit, and the method comprises the following steps:
步骤101:获取PFC电路的输入整流电压数据、输入电感电流数据和输出电压数据。Step 101: Obtain input rectified voltage data, input inductor current data and output voltage data of the PFC circuit.
在本实施例中,输入整流电压数据包括输入整流电压的波形或相位角,输入电感电流数据包括输入电感电流的波形或相位角。输入整流电压的相位角可以根据其波形来获得。In this embodiment, the input rectified voltage data includes the waveform or phase angle of the input rectified voltage, and the input inductor current data includes the waveform or phase angle of the input inductor current. The phase angle of the input rectified voltage can be obtained from its waveform.
在本实施例中,获取PFC电路数据时,不仅仅是获取电压电流的波形,还可以获取电压电流数据的相位角,通过对相位角或波形进行数据处理,从而达到本发明的技术效果。In this embodiment, when acquiring PFC circuit data, not only the waveform of the voltage and current can be acquired, but also the phase angle of the voltage and current data can be acquired, and the technical effect of the present invention can be achieved by performing data processing on the phase angle or waveform.
在本实施例中,通过实时检测PFC电路的输入整流电压信号、输入电感电流信号和输出电压信号,通过数模转换模块对检测的信号进行数模转换处理,使电压电流信号转换为数字信号,获得输入整流电压数据、输入电感电流数据和输出电压数据,并输入到数字信号处理芯片。In this embodiment, by detecting the input rectified voltage signal, the input inductor current signal and the output voltage signal of the PFC circuit in real time, the digital-to-analog conversion process is performed on the detected signal through the digital-to-analog conversion module, so that the voltage and current signals are converted into digital signals, The input rectified voltage data, the input inductor current data and the output voltage data are obtained and input to the digital signal processing chip.
步骤102:比较输出电压数据与预设的输出电压参考值,获得输出电压差。Step 102: Comparing the output voltage data with a preset output voltage reference value to obtain an output voltage difference.
在本实施例中,输出电压参考值为人工设置的,将输出电压参考值减去输出电压值,获得输出电压差。In this embodiment, the output voltage reference value is manually set, and the output voltage difference is obtained by subtracting the output voltage value from the output voltage reference value.
步骤103:计算输出电压差的误差值。Step 103: Calculate the error value of the output voltage difference.
在本实施例中,根据输出电压差,采用比例积分计算获得输出电压差的误差值。该环节通过将输出电压差传递给电压外环的PI调节器,从而计算获得该输出电压差的误差值。In this embodiment, according to the output voltage difference, proportional integral calculation is used to obtain the error value of the output voltage difference. In this link, the error value of the output voltage difference is calculated by passing the output voltage difference to the PI regulator of the voltage outer loop.
步骤104:根据输出电压差的误差值、输入整流电压数据与所述输入电感电流数据,计算获得输入电流参考值。Step 104: Calculate and obtain an input current reference value according to the error value of the output voltage difference, the input rectified voltage data and the input inductor current data.
在本实施例中,在PI调节器获得输出电压差的误差值后,根据获取的输入整流电压,计算获得输入电流的参考值,具体为:先根据输入整流电压数据,计算输入整流电压的平均值,再将该输出电压差的误差值、输入整流电压的值、输入整流电压的平均值三者一一相乘,将相乘后获得的值结合输入电感电流数据内的波形和相位角,计算获得输入电流参考值。In this embodiment, after the PI regulator obtains the error value of the output voltage difference, it calculates the reference value of the input current according to the obtained input rectified voltage, specifically: first calculates the average value of the input rectified voltage according to the input rectified voltage data value, and then multiply the error value of the output voltage difference, the value of the input rectified voltage, and the average value of the input rectified voltage one by one, and combine the multiplied value with the waveform and phase angle in the input inductor current data, Calculated to obtain the input current reference value.
步骤105:根据输入电感电流数据与输入电流参考值,计算获得开关信号的占空比,该占空比用于控制PFC电路的开关动作。Step 105: Calculate and obtain the duty ratio of the switching signal according to the input inductor current data and the input current reference value, and the duty ratio is used to control the switching action of the PFC circuit.
在本实施例中,为了实现输入电流在峰值附件自动追踪输入电压,将输入电感电流与输入电流参考值进行比较,将输入电流参考值减去输入电感电流的值,获得输入电流差。再通过比例积分计算获得输入电流差的误差值,根据输入电流差的误差值,计算获得开关信号的占空比。由于根据输入电流差的误差值来获得开关信号的占空比这一技术为现有技术,在此不再详细赘述。In this embodiment, in order to realize that the input current automatically tracks the input voltage near the peak value, the input inductor current is compared with the input current reference value, and the input current reference value is subtracted from the input inductor current value to obtain the input current difference. Then, the error value of the input current difference is obtained through proportional integral calculation, and the duty ratio of the switch signal is calculated according to the error value of the input current difference. Since the technology of obtaining the duty ratio of the switching signal according to the error value of the input current difference is a prior art, it will not be described in detail here.
在本实施例中,采用比例积分计算输入电流差的误差值,具体为:将输入电流差传递给电流内环的PI调节器,从而计算获得输入电流差的误差值。In this embodiment, proportional integral is used to calculate the error value of the input current difference, specifically: the input current difference is transmitted to the PI regulator of the current inner loop, so as to calculate and obtain the error value of the input current difference.
为了更好的描述本发明技术方案的工作原理与步骤,参见图3,图3为本发明提供的一种实施例的电路结构原理图。其中,该原理图分为三部分,第一为PFC电路部分、数模转换部分和模拟部分。如图3所示,输入电源Vac、整流桥BD1、电感L1、电阻R2、开关管Q1、二极管D1、电容EC1和负载RL组成PFC电路部分,该PFC电路部分的各连接关系为现有技术,在此不再赘述。In order to better describe the working principle and steps of the technical solution of the present invention, please refer to FIG. 3 , which is a schematic circuit diagram of an embodiment of the present invention. Among them, the schematic diagram is divided into three parts, the first part is the PFC circuit part, the digital-to-analog conversion part and the analog part. As shown in Figure 3, the input power supply Vac, the rectifier bridge BD1, the inductor L1, the resistor R2, the switch tube Q1, the diode D1, the capacitor EC1 and the load RL form the PFC circuit part, and the connection relations of the PFC circuit part are the prior art, I won't repeat them here.
数模转换部分主要包括AD转换器和DA转化器,分别检测PFC电路的输入整流电压信号、输入电感电流信号和输出电压信号,并将检测的电压和电流信号通过AD转换器进行数模转换,分别获得处理后的输入整流电压Vdc、输入电感电流Iin和输出电压Vo,获得的数据包含波形和相位角。而在本发明最后获得的占空比通过DA转化器,输出相应的信号到PFC开关管的控制端,从而控制PFC开关管的开关动作。The digital-to-analog conversion part mainly includes an AD converter and a DA converter, which respectively detect the input rectified voltage signal, input inductor current signal and output voltage signal of the PFC circuit, and perform digital-to-analog conversion on the detected voltage and current signals through the AD converter. The processed input rectified voltage Vdc, input inductor current Iin and output voltage Vo are respectively obtained, and the obtained data includes waveform and phase angle. In the present invention, the duty ratio obtained at the end passes through the DA converter, and outputs a corresponding signal to the control terminal of the PFC switch tube, thereby controlling the switching action of the PFC switch tube.
模拟部分具体由数字信号处理芯片DSP进行计算,数字信号处理芯片DSP的三个端口分别接收输入整流电压Vdc、输入电感电流Iin和输出电压Vo。首先,将输出电压Vo与输出电压参考值Vref进行比较,获得输出电压差(Vref-Vo)。再将输出电压差(Vref-Vo)送入电压外环的PI调节器,PI调节器通过函数Gvea计算获得输出电压差(Vref-Vo)的误差值,即图2中的B。然后将误差值B、C和A一一相乘,其中,C为输入整流电压Vdc的平均值,A为输入整流电压Vdc。在相乘前需先计算C的值,按照公式C=1/(Vdc*Vdc),计算获得C的值。三者相乘后,再根据输入电感电流的波形与相位角,计算获得输入电流参考值Iref。譬如用户可设置相位角120度至180度的范围内时,输入电流参考值为0等,通过设置相位角来调节输入电流自动追踪的范围,从而调节开关管的工作周期。然后比较输入电流参考值Iref与输入电感电流Iin,获得输入电流差(Iref-Iin),将输入电流差(Iref-Iin)送入电流内环的PI调节器,通过函数Gea计算获得输入电流差(Iref-Iin)的误差值,再根据输入电流差的误差值,计算获得开关信号的占空比。占空比经DA转换输出,通过PWM外围电路和门极驱动电路后传递给PFC开关管,PFC开关管根据该占空比控制开关动作。PFC开关管根据占空比控制的开关动作,避开在峰值电流附近的开关动作,从而避免开关管的损耗和由峰值变化率过高而造成的EMC干扰。The analog part is specifically calculated by the digital signal processing chip DSP, and the three ports of the digital signal processing chip DSP respectively receive the input rectified voltage Vdc, the input inductor current Iin and the output voltage Vo. Firstly, the output voltage Vo is compared with the output voltage reference value Vref to obtain the output voltage difference (Vref−Vo). Then the output voltage difference (Vref-Vo) is sent to the PI regulator of the voltage outer loop, and the PI regulator calculates the error value of the output voltage difference (Vref-Vo) through the function Gvea, which is B in Figure 2. Then the error values B, C and A are multiplied one by one, wherein, C is the average value of the input rectified voltage Vdc, and A is the input rectified voltage Vdc. The value of C needs to be calculated before multiplication, and the value of C can be obtained by calculating according to the formula C=1/(Vdc*Vdc). After the three are multiplied, the input current reference value Iref is calculated according to the waveform and phase angle of the input inductor current. For example, the user can set the input current reference value to 0 when the phase angle is within the range of 120 degrees to 180 degrees, and adjust the range of automatic tracking of the input current by setting the phase angle, thereby adjusting the working cycle of the switch tube. Then compare the input current reference value Iref with the input inductor current Iin to obtain the input current difference (Iref-Iin), send the input current difference (Iref-Iin) to the PI regulator of the current inner loop, and calculate the input current difference through the function Gea The error value of (Iref-Iin), and then calculate the duty ratio of the switch signal according to the error value of the input current difference. The duty cycle is converted and output by DA, and passed to the PFC switch tube after passing through the PWM peripheral circuit and the gate drive circuit, and the PFC switch tube controls the switching action according to the duty cycle. The switching action of the PFC switching tube is controlled according to the duty cycle, avoiding the switching action near the peak current, thereby avoiding the loss of the switching tube and the EMC interference caused by the high peak rate of change.
在本实施例中,采用输入整流电压数据Vdc与输入电感电流数据Iin进行计算时,可以但不限于采用输入整流电压的波形或相位角,以及输入电感电流数据的波形或相位角进行计算。In this embodiment, when the input rectified voltage data Vdc and the input inductor current data Iin are used for calculation, but not limited to, the waveform or phase angle of the input rectified voltage and the waveform or phase angle of the input inductor current data can be used for calculation.
作为本实施例的一种举例,在步骤101之前还包括:设置输出电压的值,该输出电压的值低于输入整流电压的峰值。在本发明实施例中,将输出电压参考值设置的比输入峰值电压低一点,则输入电压大于输出大电容电压时电流会自动追踪电压波形,在输出电压越接近输入整流电压的峰值时,电流自动追踪电压的范围越大。在满足功率因数校正的前提下,避开了PFC开关管在峰值电流附近的损耗和EMC问题。详细的可参见图4,图4是本发明实施例提供的基于本技术方案而获得的PFC电流控制波形。As an example of this embodiment, before step 101, the method further includes: setting the value of the output voltage, where the value of the output voltage is lower than the peak value of the input rectified voltage. In the embodiment of the present invention, if the output voltage reference value is set a little lower than the input peak voltage, the current will automatically track the voltage waveform when the input voltage is greater than the output large capacitor voltage. When the output voltage is closer to the peak value of the input rectified voltage, the current The larger the range of automatic tracking voltage. On the premise of satisfying the power factor correction, the loss and EMC problems of the PFC switch near the peak current are avoided. For details, refer to FIG. 4 . FIG. 4 is a PFC current control waveform obtained based on the technical solution provided by an embodiment of the present invention.
本发明实施例提供的一种功率因数校正的控制方法,获取输入整流电压数据、输入电感电流数据和输出电压数据,将获取的输出电压数据与预设的输出电压参考值进行比较,获得输出电压差,并计算输出电压差的误差值。根据输出电压差的误差值和输入整流电压的波形和相位角、输入电感电流的波形和相位角,计算获得输入电流参考值。再根据输入电感电流数据与输入电流参考值,计算获得开关信号的占空比。PFC开关管根据该占空比进行开关动作,从而避开PFC开关管在峰值电流附近进行开关动作。相比于现有技术采用闭环控制的方法,本发明技术方案对输入电感电流的波形和相位角进行数据处理,再通过控制输出电压使电流在波峰处自动同步输入电压相位,从而使得PFC开关管无需在电流峰值时进行开关动作。在满足相同的功率因数校正的前提下,本发明技术方案能避免PFC开关管在峰值电流附件的损耗和因峰值电流变化率过大而造成的EMC干扰,从而降低PFC开关管的温升和滤波电路的成本。A power factor correction control method provided by an embodiment of the present invention acquires input rectified voltage data, input inductor current data, and output voltage data, and compares the acquired output voltage data with a preset output voltage reference value to obtain an output voltage difference, and calculate the error value of the output voltage difference. According to the error value of the output voltage difference, the waveform and phase angle of the input rectified voltage, and the waveform and phase angle of the input inductor current, the input current reference value is calculated and obtained. Then, according to the input inductor current data and the input current reference value, the duty cycle of the switching signal is obtained through calculation. The PFC switch tube performs switching operations according to the duty cycle, thereby avoiding the PFC switch tube from performing switching operations near the peak current. Compared with the closed-loop control method in the prior art, the technical solution of the present invention performs data processing on the waveform and phase angle of the input inductor current, and then controls the output voltage to automatically synchronize the phase of the input voltage at the peak of the current, so that the PFC switch tube No switching action is required at current peaks. Under the premise of satisfying the same power factor correction, the technical solution of the present invention can avoid the loss of the PFC switch tube near the peak current and the EMC interference caused by the excessive peak current change rate, thereby reducing the temperature rise and filtering of the PFC switch tube circuit cost.
进一步的,本发明根据输入整流电压的峰值,设置输出电压的值,将输出电压的值设置为稍低于输入整流电压峰值,增大输入电流的自动追踪范围,进一步降低在电压波峰减小PFC开关管的损耗和降低EMC干扰。Further, the present invention sets the value of the output voltage according to the peak value of the input rectified voltage, sets the value of the output voltage to be slightly lower than the peak value of the input rectified voltage, increases the automatic tracking range of the input current, and further reduces the PFC at the voltage peak. The loss of the switching tube and the reduction of EMC interference.
实施例2Example 2
参见图5,图5为本发明实施例提供了功率因数校正装置的一种实施例的结构示意图,该装置适用于PFC电路的功率因数校正,主要包括:Referring to FIG. 5, FIG. 5 provides a schematic structural diagram of an embodiment of a power factor correction device according to an embodiment of the present invention. The device is suitable for power factor correction of a PFC circuit, and mainly includes:
获取模块501,用于获取PFC电路的输入整流电压数据、输入电感电流数据和输出电压数据,其中,输入整流电压数据包括输入整流电压的波形或相位角,输入电感电流数据包括输入电感电流的波形或相位角;An acquisition module 501, configured to acquire input rectified voltage data, input inductor current data, and output voltage data of the PFC circuit, wherein the input rectified voltage data includes the waveform or phase angle of the input rectified voltage, and the input inductor current data includes the waveform of the input inductor current or phase angle;
比较模块502,与获取模块501电连接,用于比较输出电压数据与预设的输出电压参考值,获得输出电压差;The comparison module 502 is electrically connected to the acquisition module 501, and is used to compare the output voltage data with the preset output voltage reference value to obtain the output voltage difference;
第一计算模块503,与比较模块502电连接,用于计算输出电压差的误差值;The first calculation module 503 is electrically connected to the comparison module 502, and is used to calculate the error value of the output voltage difference;
第二计算模块504,与获取模块501、第一计算模块503分别电连接,用于根据输出电压差的误差值、输入整流电压数据与输入电感电流数据,计算获得输入电流参考值;The second calculation module 504 is electrically connected to the acquisition module 501 and the first calculation module 503 respectively, and is used to calculate and obtain the input current reference value according to the error value of the output voltage difference, the input rectified voltage data and the input inductor current data;
第三计算模块505,与获取模块501、第二计算模块504分别电连接,用于根据输入电感电流数据与输入电流参考值,计算获得开关信号的占空比,所述占空比用于控制所述PFC电路的开关动作。The third calculation module 505 is electrically connected to the acquisition module 501 and the second calculation module 504, and is used to calculate and obtain the duty ratio of the switch signal according to the input inductor current data and the input current reference value, and the duty ratio is used to control switching action of the PFC circuit.
参见图6,图6为本发明提供的获取单元501的一种实施例的结构示意图。获取单元501包括:信号检测单元601和与其电连接的数模转换单元602。信号检测单元601用于检测PFC电路的输入整流电压信号、输入电感电流信号和输出电压信号,数模转换单元602用于对该检测的信号进行数模转换处理,获得输入整流电压数据、输入电感电流数据和输出电压数据。Referring to FIG. 6 , FIG. 6 is a schematic structural diagram of an embodiment of an acquisition unit 501 provided by the present invention. The acquisition unit 501 includes: a signal detection unit 601 and a digital-to-analog conversion unit 602 electrically connected thereto. The signal detection unit 601 is used to detect the input rectified voltage signal, input inductor current signal and output voltage signal of the PFC circuit, and the digital-to-analog conversion unit 602 is used to perform digital-to-analog conversion processing on the detected signal to obtain input rectified voltage data, input inductance current data and output voltage data.
参见图7,图7为本发明提供的第二计算模块503的一种实施例的结构示意图。第二计算模块503包括:第一计算单元701和与其电连接的第二计算单元702。第一计算单元701用于根据输入整流电压数据,计算输入整流电压的平均值。第二计算单元702,用于将输出电压差的误差值、输入整流电压数据和输入整流电压的平均值一一相乘,将相乘后获得的值结合输入电感电流数据,计算获得输入电流参考值。Referring to FIG. 7, FIG. 7 is a schematic structural diagram of an embodiment of the second computing module 503 provided by the present invention. The second computing module 503 includes: a first computing unit 701 and a second computing unit 702 electrically connected thereto. The first calculating unit 701 is used for calculating the average value of the input rectified voltage according to the input rectified voltage data. The second calculation unit 702 is used to multiply the error value of the output voltage difference, the input rectified voltage data and the average value of the input rectified voltage one by one, and combine the multiplied value with the input inductor current data to calculate and obtain the input current reference value.
参见图8,图8为本发明提供的第三计算模块504的一种实施例的结构示意图。第三计算模块504包括:电流比较单元801,用于比较输入电感电流数据与输入电流参考值,获得输入电流差。第三计算单元802,与电流比较单元801电连接,用于计算输入电流差的误差值。第四计算单元803,与第三计算单元802电连接,用于根据输入电流差的误差值,计算获得开关信号的占空比。Referring to FIG. 8 , FIG. 8 is a schematic structural diagram of an embodiment of the third calculation module 504 provided by the present invention. The third calculation module 504 includes: a current comparison unit 801, configured to compare the input inductor current data with the input current reference value to obtain the input current difference. The third calculation unit 802 is electrically connected to the current comparison unit 801 and used for calculating an error value of the input current difference. The fourth calculation unit 803 is electrically connected to the third calculation unit 802, and is used to calculate and obtain the duty cycle of the switch signal according to the error value of the input current difference.
参见图9,图9为本发明实施例提供的控制装置的另一种实施例的结构示意图。图9与图5的区别在于,图9的控制装置还包括:设置模块901,与获取模块501电连接,用于设置输出电压的值,该输出电压的值低于输入整流电压的峰值。在本发明实施例中,将输出电压设置的比输入峰值电压低一点,则输入电压大于输出大电容电压时电流会自动追踪电压波形,其追踪范围受输出电压的设置值有关。在满足功率因数校正的前提下,避开了PFC开关管在峰值电流附近的损耗和EMC问题。Referring to FIG. 9, FIG. 9 is a schematic structural diagram of another embodiment of the control device provided by the embodiment of the present invention. The difference between FIG. 9 and FIG. 5 is that the control device in FIG. 9 further includes: a setting module 901, electrically connected to the acquisition module 501, for setting the value of the output voltage, which is lower than the peak value of the input rectified voltage. In the embodiment of the present invention, if the output voltage is set a little lower than the input peak voltage, the current will automatically track the voltage waveform when the input voltage is greater than the output capacitor voltage, and the tracking range is related to the set value of the output voltage. On the premise of satisfying the power factor correction, the loss and EMC problems of the PFC switch near the peak current are avoided.
本实施例更详细的步骤与工作原理可以但不限于参见实施例1的相关记载。For more detailed steps and working principles of this embodiment, refer to the related records of Embodiment 1, but are not limited to.
由上可见,本发明实施例提供了一种功率因数校正的控制装置,采用本实施例装置对输入电感电流的波形或相位角进行数据处理,再通过控制输出电压使电流在波峰处自动同步输入电压相位,从而使得PFC开关管无需在电流峰值时进行开关动作。在满足相同的功率因数校正的前提下,本发明技术方案能避免PFC开关管在峰值电流附件的损耗和因峰值电流变化率过大而造成的EMC干扰,从而降低PFC开关管的温升和滤波电路的成本。It can be seen from the above that the embodiment of the present invention provides a control device for power factor correction. The device of this embodiment is used to perform data processing on the waveform or phase angle of the input inductor current, and then the current is automatically input synchronously at the peak by controlling the output voltage. Voltage phase, so that the PFC switching tube does not need to perform switching action at the peak current. Under the premise of satisfying the same power factor correction, the technical solution of the present invention can avoid the loss of the PFC switch tube near the peak current and the EMC interference caused by the excessive peak current change rate, thereby reducing the temperature rise and filtering of the PFC switch tube circuit cost.
进一步的,本发明根据输入整流电压的峰值,设置输出电压的值,将输出电压的值设置为稍低于输入整流电压峰值,增大输入电流的自动追踪范围,进一步降低在电压波峰减小PFC开关管的损耗和降低EMC干扰。Further, the present invention sets the value of the output voltage according to the peak value of the input rectified voltage, sets the value of the output voltage to be slightly lower than the peak value of the input rectified voltage, increases the automatic tracking range of the input current, and further reduces the PFC at the voltage peak. The loss of the switching tube and the reduction of EMC interference.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random AccessMemory,RAM)等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be implemented through computer programs to instruct related hardware, and the programs can be stored in a computer-readable storage medium. During execution, it may include the processes of the embodiments of the above-mentioned methods. Wherein, the storage medium may be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM) or a random access memory (Random Access Memory, RAM) and the like.
以上所述是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也视为本发明的保护范围。The above description is a preferred embodiment of the present invention, and it should be pointed out that for those skilled in the art, without departing from the principle of the present invention, some improvements and modifications can also be made, and these improvements and modifications are also considered Be the protection scope of the present invention.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201410715153.4ACN104362844B (en) | 2014-11-28 | 2014-11-28 | Control method and device for power factor correction |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201410715153.4ACN104362844B (en) | 2014-11-28 | 2014-11-28 | Control method and device for power factor correction |
| Publication Number | Publication Date |
|---|---|
| CN104362844A CN104362844A (en) | 2015-02-18 |
| CN104362844Btrue CN104362844B (en) | 2018-01-23 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201410715153.4AActiveCN104362844B (en) | 2014-11-28 | 2014-11-28 | Control method and device for power factor correction |
| Country | Link |
|---|---|
| CN (1) | CN104362844B (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106452046B (en)* | 2016-10-13 | 2019-03-29 | 广州视源电子科技股份有限公司 | Switching tube control method and device of PFC circuit |
| CN108322038B (en)* | 2018-02-08 | 2020-05-08 | 佛山市顺德区和而泰电子科技有限公司 | PFC circuit control method and loop-free PFC control circuit applying same |
| CN108736716B (en)* | 2018-06-22 | 2023-11-28 | 武汉理工大学 | A digital imitation current controller for DC/DC converter and its control method |
| CN115632550A (en)* | 2022-10-14 | 2023-01-20 | 武汉麦格米特电气有限公司 | APFC converter control method, APFC converter and industrial power supply |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101582633A (en)* | 2008-05-14 | 2009-11-18 | 台达电子工业股份有限公司 | Three-phase buck-boost power factor correction circuit and control method thereof |
| CN101714829A (en)* | 2008-10-01 | 2010-05-26 | 弗莱克斯电子有限责任公司 | Power factor correction circuit |
| CN202121362U (en)* | 2011-07-13 | 2012-01-18 | 山东电力研究院 | Charger based on active power factor correction technology |
| CN102332814A (en)* | 2011-09-14 | 2012-01-25 | 杭州矽力杰半导体技术有限公司 | A Power Factor Correction Control Circuit for EMI Reduction |
| CN203537228U (en)* | 2013-09-24 | 2014-04-09 | 厦门蓝溪科技有限公司 | Digital PFC (Power Factor Correction) control system for power supply product |
| CN103916004A (en)* | 2014-04-22 | 2014-07-09 | 成都芯源系统有限公司 | Power factor correction circuit and control method thereof |
| WO2014126922A1 (en)* | 2013-02-13 | 2014-08-21 | Power-One, Inc. | Power converter with non-symmetrical totem pole rectifier and current-shaping branch circuits |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN203708101U (en)* | 2014-01-09 | 2014-07-09 | 常州隆辉照明科技有限公司 | Switch-free high-power factor compensation circuit |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101582633A (en)* | 2008-05-14 | 2009-11-18 | 台达电子工业股份有限公司 | Three-phase buck-boost power factor correction circuit and control method thereof |
| CN101714829A (en)* | 2008-10-01 | 2010-05-26 | 弗莱克斯电子有限责任公司 | Power factor correction circuit |
| CN202121362U (en)* | 2011-07-13 | 2012-01-18 | 山东电力研究院 | Charger based on active power factor correction technology |
| CN102332814A (en)* | 2011-09-14 | 2012-01-25 | 杭州矽力杰半导体技术有限公司 | A Power Factor Correction Control Circuit for EMI Reduction |
| WO2014126922A1 (en)* | 2013-02-13 | 2014-08-21 | Power-One, Inc. | Power converter with non-symmetrical totem pole rectifier and current-shaping branch circuits |
| CN203537228U (en)* | 2013-09-24 | 2014-04-09 | 厦门蓝溪科技有限公司 | Digital PFC (Power Factor Correction) control system for power supply product |
| CN103916004A (en)* | 2014-04-22 | 2014-07-09 | 成都芯源系统有限公司 | Power factor correction circuit and control method thereof |
| Publication number | Publication date |
|---|---|
| CN104362844A (en) | 2015-02-18 |
| Publication | Publication Date | Title |
|---|---|---|
| US10819224B2 (en) | Power factor correction circuit, control method and controller | |
| TWI824000B (en) | Switched mode power supply with pfc burst mode control, operation method for operating the same, and digital controller | |
| TWI551018B (en) | Power factor correction conversion device and control method thereof | |
| TWI442681B (en) | Power factor correction circuit for estimating input current and its control method | |
| US8379420B2 (en) | Controller with punctuated switching control circuit | |
| US9083245B2 (en) | Switching power supply with optimized THD and control method thereof | |
| US9621028B2 (en) | Digitally controlled PFC converter with multiple discontinuous modes | |
| CA2806870A1 (en) | Digital controller based detection methods for adaptive mixed conduction mode power factor correction circuit | |
| US11283358B2 (en) | Controller for a multi-phase converter and fault detection method thereof | |
| CN104362844B (en) | Control method and device for power factor correction | |
| EP3758210A1 (en) | Power factor corrector circuit with discontinuous and continuous modes based on a desired switching frequency and an input current | |
| TWI525977B (en) | Power supply and its output voltage low frequency ripple compensation method | |
| Kim et al. | Enhanced variable on-time control of critical conduction mode boost power factor correction converters | |
| JP2008125313A (en) | Switching power supply | |
| JP6285756B2 (en) | LED power supply for lighting | |
| CN101814752B (en) | Control system and method of UPS (Uninterrupted Power System) | |
| US11489450B2 (en) | Devices, systems, and methods for power supplies | |
| CN101753013A (en) | switching power supply | |
| CN112152442A (en) | Power Factor Corrector Circuit with DCM/CCM Algorithm | |
| TWI636650B (en) | Controller applied to a power converter and operation method thereof | |
| CN105490544A (en) | Power supply and its output voltage low-frequency ripple compensation method | |
| KR20130016954A (en) | Resistor-free zero current detecting circuit for controlling pfc, pfc converter and resistor-free zero current detecting method for controlling pfc | |
| KR20140118556A (en) | Power factor correction circuit of server power and method thereof | |
| Tan et al. | Research of PFC Based on Boost Converter |
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |