CN106936148A - A kind of photovoltaic energy storage converter system and its control method - Google Patents
A kind of photovoltaic energy storage converter system and its control method Download PDFInfo
- Publication number
- CN106936148A CN106936148A CN201710084282.1A CN201710084282A CN106936148A CN 106936148 A CN106936148 A CN 106936148A CN 201710084282 A CN201710084282 A CN 201710084282A CN 106936148 A CN106936148 A CN 106936148A
- Authority
- CN
- China
- Prior art keywords
- voltage
- energy storage
- current
- control
- photovoltaic
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J3/00—Circuit arrangements for AC mains or AC distribution networks
- H02J3/28—Arrangements for balancing of the load in a network by storage of energy
- H02J3/32—Arrangements for balancing of the load in a network by storage of energy using batteries with converting means
-
- H02J3/383—
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J7/00—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
- H02J7/34—Parallel operation in networks using both storage and other DC sources, e.g. providing buffering
- H02J7/35—Parallel operation in networks using both storage and other DC sources, e.g. providing buffering with light sensitive cells
-
- 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
- H02M3/157—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 with digital control
-
- 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
- Y02E—REDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
- Y02E10/00—Energy generation through renewable energy sources
- Y02E10/50—Photovoltaic [PV] energy
- Y02E10/56—Power conversion systems, e.g. maximum power point trackers
-
- 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
- Y02E—REDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
- Y02E70/00—Other energy conversion or management systems reducing GHG emissions
- Y02E70/30—Systems combining energy storage with energy generation of non-fossil origin
Landscapes
- Engineering & Computer Science (AREA)
- Power Engineering (AREA)
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
- Dc-Dc Converters (AREA)
Abstract
本发明提供了一种光伏‑储能变流系统及其控制方法,其中,该光伏‑储能变流系统包括双向DC/DC变换器、并网逆变器、用于控制所述双向DC/DC变换器的DC/DC控制模块和用于控制所述并网逆变器的逆变器控制模块,DC/DC控制模块包括电压控制模块、与电压控制模块电性连接的电流控制模块和比较模块,所述电流控制模块输出端与所述比较模块电性相连。本发明提供一种光伏‑储能变流系统及其控制方法,以解决现有光伏‑储能变流系统在储能电池充、放电转换时,需要停电及直流母线电压不稳定的技术问题。
The present invention provides a photovoltaic-energy storage conversion system and its control method, wherein the photovoltaic-energy storage conversion system includes a bidirectional DC/DC converter, a grid-connected inverter, and is used to control the bidirectional DC/DC converter. The DC/DC control module of the DC converter and the inverter control module for controlling the grid-connected inverter, the DC/DC control module includes a voltage control module, a current control module electrically connected to the voltage control module, and a comparison module, the output end of the current control module is electrically connected to the comparison module. The present invention provides a photovoltaic-energy storage conversion system and its control method to solve the technical problems of the existing photovoltaic-energy storage conversion system requiring power failure and unstable DC bus voltage when charging and discharging energy storage batteries.
Description
技术领域technical field
本发明涉及光伏储能技术领域,更具体地,涉及一种光伏-储能变流系统及其控制方法。The present invention relates to the technical field of photovoltaic energy storage, and more specifically, to a photovoltaic-energy storage conversion system and a control method thereof.
背景技术Background technique
太阳能作为最清洁的能源,受到了广泛地关注,太阳能发电系统有自身的特点,即受自然环境的影响。与传统化石能源相比,光伏发电系统不能够稳定持续地提供能源。中、小容量光伏发电系统的功率分散、等效阻抗较大和输出功率波动剧烈,对所在地电网而言,光伏发电系统是一种冲击电源,装机容量越大,所在电网所需热备用容量越大。Solar energy, as the cleanest energy source, has received extensive attention. Solar power generation systems have their own characteristics, that is, they are affected by the natural environment. Compared with traditional fossil energy, photovoltaic power generation system cannot provide stable and continuous energy. Medium and small-capacity photovoltaic power generation systems have power dispersion, large equivalent impedance and violent output power fluctuations. For the local power grid, the photovoltaic power generation system is an impact power source. The larger the installed capacity, the greater the thermal reserve capacity required by the power grid. .
在完全孤立运行情况下,各光伏电源缺乏电网的“支撑”作用,更需要强有力的协调控制。在光伏发电功率大于负载需求时,应存储电能;在光伏电能不能够满足负载需要时,应及时补给电能,以最高效率收集、利用可再生能源。因此,储能对基于可再生能源的分布式独立发电系统是必需的,也是提高供电可靠性的基础,也能最大限度利用光伏能源,降低对电网冲击和依赖。In the case of completely isolated operation, each photovoltaic power source lacks the "support" function of the grid, and requires strong coordinated control. When the photovoltaic power is greater than the load demand, the electric energy should be stored; when the photovoltaic electric energy cannot meet the load demand, the electric energy should be replenished in time to collect and utilize renewable energy with the highest efficiency. Therefore, energy storage is necessary for distributed independent power generation systems based on renewable energy, and it is also the basis for improving the reliability of power supply. It can also maximize the use of photovoltaic energy and reduce the impact and dependence on the grid.
中国西部地域辽阔,居民居住分散,并且国家大电网仍然未完全覆盖该区域,研究表明光伏—储能供电系统是解决边远乡村、离岛及边远地区公共基础设施供电的经济、可靠方案,因此,研究和开发光伏—储能供电系统是必要的,也是有意义的。Western China has a vast territory, scattered residents, and the national large power grid still does not fully cover this area. The research shows that the photovoltaic-energy storage power supply system is an economical and reliable solution to the public infrastructure power supply in remote villages, outlying islands and remote areas. Therefore, the research It is necessary and meaningful to develop a photovoltaic-energy storage power supply system.
然而,现有光伏-储能供电系统,储能电池从充电运行状态转换到放电运行状态(或者储能电池从放电运行状态转换到充电运行状态)时,光伏-储能供电系统通常先停电,人为地调整系统的运行状态,再恢复运行,从而给实际使用带来了不便;此外,现有双向DC/DC变换器无法调节直流母线的电压,导致直流母线电压不稳。However, in the existing photovoltaic-energy storage power supply system, when the energy storage battery is switched from the charging operation state to the discharge operation state (or the energy storage battery is switched from the discharge operation state to the charging operation state), the photovoltaic-energy storage power supply system is usually powered off first, The operating state of the system is artificially adjusted and then resumed, which brings inconvenience to actual use; in addition, the existing bidirectional DC/DC converter cannot adjust the voltage of the DC bus, resulting in instability of the DC bus voltage.
发明内容Contents of the invention
本发明提供一种光伏-储能变流系统及其控制方法,以解决现有光伏-储能变流系统在储能电池充、放电转换时需要停电及直流母线上的电压不稳定等技术问题。The present invention provides a photovoltaic-energy storage conversion system and its control method to solve the technical problems of the existing photovoltaic-energy storage conversion system, such as the need for power outages and unstable voltage on the DC bus when the energy storage battery is charged and discharged. .
根据本发明的一个方面,提供一种光伏-储能变流系统,包括双向DC/DC变换器和并网逆变器,其特征在于,所述系统包括:用于控制所述双向DC/DC变换器的DC/DC控制模块和用于控制所述并网逆变器的逆变器控制模块。According to one aspect of the present invention, a photovoltaic-energy storage conversion system is provided, including a bidirectional DC/DC converter and a grid-connected inverter, wherein the system includes: a system for controlling the bidirectional DC/DC A DC/DC control module of the converter and an inverter control module for controlling the grid-connected inverter.
所述DC/DC控制模块包括用于获取总指令电流的电压控制模块、与所述电压控制模块电性连接的并用于获取三路占空比的电流控制模块和用于获取所述双向DC/DC变换器的开关控制信号的比较模块,所述电流控制模块的输出端与所述比较模块电性相连。The DC/DC control module includes a voltage control module for obtaining a total command current, a current control module electrically connected to the voltage control module for obtaining three-way duty ratios, and a current control module for obtaining the bidirectional DC/DC A comparison module of the switch control signal of the DC converter, the output terminal of the current control module is electrically connected with the comparison module.
在上述方案基础上优选,所述系统还包括储能电池组、光伏组件,所述光伏组件通过所述双向DC/DC变换器与所述储能电池组相连;所述并网逆变器一端与所述光伏组件相连,其另一端与电网相连。Preferably on the basis of the above solution, the system further includes an energy storage battery pack and a photovoltaic module, and the photovoltaic module is connected to the energy storage battery pack through the bidirectional DC/DC converter; one end of the grid-connected inverter It is connected with the photovoltaic module, and its other end is connected with the grid.
在上述方案基础上优选,所述电压控制模块,用于比较储能电池组的端电压与指令电压,获取电压偏差,并基于电压环控制算法获取总指令电流。Preferably, on the basis of the above solution, the voltage control module is used to compare the terminal voltage of the energy storage battery pack with the command voltage, obtain the voltage deviation, and obtain the total command current based on the voltage loop control algorithm.
本发明还提供了一种光伏-储能变流系统的控制方法,The present invention also provides a control method of a photovoltaic-energy storage conversion system,
基于储能电池组的端电压,获取双向DC/DC变换器的控制信号;Obtain the control signal of the bidirectional DC/DC converter based on the terminal voltage of the energy storage battery pack;
基于q轴、d轴的指令电压、直流母线电压和电流,获取并网逆变器的控制信号。Based on the command voltage of the q-axis and the d-axis, the DC bus voltage and current, the control signal of the grid-connected inverter is obtained.
在上述方案基础上优选,所述双向DC/DC变换器的控制信号获取方法包括:Preferably on the basis of the above scheme, the control signal acquisition method of the bidirectional DC/DC converter includes:
S1、通过比较储能电池组的端电压与指令电压,获取其电压偏差,基于电压环控制算法,获取总指令电流;S1. Obtain the voltage deviation by comparing the terminal voltage of the energy storage battery pack with the command voltage, and obtain the total command current based on the voltage loop control algorithm;
S2、基于总指令电流分别获取三路分指令电流,通过电流控制算法,分别获取三路占空比;S2. Obtain the sub-instruction currents of the three channels based on the total command current, and obtain the duty ratios of the three channels respectively through the current control algorithm;
S3、基于三路占空比,分别与载波比较,获取DC/DC变换器的开关控制信号。S3. Based on the duty ratios of the three channels, the switching control signals of the DC/DC converter are obtained by comparing them with the carrier wave respectively.
在上述方案基础上优选,所述步骤S1进一步包括:Preferably on the basis of the above scheme, the step S1 further includes:
基于直流母线电压与给定直流母线电压的最小值,比较直流母线电压与给定直流母线电压的最小值,获取电压偏差值,通过第三PI控制器得到总指令电流的上限值;Based on the minimum value of the DC bus voltage and the given DC bus voltage, comparing the DC bus voltage and the given DC bus voltage minimum value, obtaining a voltage deviation value, and obtaining the upper limit value of the total command current through the third PI controller;
基于直流母线电压与给定直流母线电压的最大值,比较所述直流母线电压与给定直流母线电压的最大值,获取电压偏差值,通过第三PI控制器得到限制总指令电流的下限值。Based on the maximum value of the DC bus voltage and the given DC bus voltage, comparing the DC bus voltage with the maximum value of the given DC bus voltage to obtain a voltage deviation value, and obtaining a lower limit value for limiting the total command current through the third PI controller .
在上述方案基础上优选,所述获取总指令电流上限值的控制数学模型为:Preferably on the basis of the above scheme, the control mathematical model for obtaining the upper limit value of the total command current is:
其中,kp3表示第三PI控制器的比例系数;ki3表示第三PI控制器的积分系数;表示充电电流的上限值,且限制在[1.5C 0.05C],udci表示直流母线电压,udci_min表示直流母线的最小电压,C表示储能电池的容量。Among them, k p3 represents the proportional coefficient of the third PI controller; k i3 represents the integral coefficient of the third PI controller; Indicates the upper limit value of the charging current, and Limited to [1.5C 0.05C], u dci represents the DC bus voltage, u dci_min represents the minimum voltage of the DC bus, and C represents the capacity of the energy storage battery.
在上述方案基础上优选,获取所述总指令电流的最小电流值的控制数学模型为:Preferably on the basis of the above scheme, the control mathematical model for obtaining the minimum current value of the total command current is:
其中,kp3表示第三PI控制器的比例系数;ki3表示第三PI控制器的积分系数;表示充电电流的下限值,且限制在[-3C-0.05C],udci表示直流母线两端的电压,udci_max表示直流母线的最大电压,且C表示储能电池的容量。Among them, k p3 represents the proportional coefficient of the third PI controller; k i3 represents the integral coefficient of the third PI controller; Indicates the lower limit value of the charging current, and Limited to [-3C-0.05C], u dci represents the voltage at both ends of the DC bus, u dci_max represents the maximum voltage of the DC bus, and C represents the capacity of the energy storage battery.
在上述方案基础上优选,步骤S1中电压环控制算法包括基于储能电池组的端电压与指令电压的电压偏差通过第四PI控制器得到总指令电流,所述电压环控制算法的控制数学模型为:Preferably on the basis of the above scheme, the voltage loop control algorithm in step S1 includes obtaining the total command current through the fourth PI controller based on the voltage deviation between the terminal voltage of the energy storage battery pack and the command voltage, and the control mathematical model of the voltage loop control algorithm for:
idc_ref=kp_4(udco_ref-udco)+ki_4∫(udco_ref-udco)dt;i dc_ref = k p_4 (u dco_ref -u dco )+k i_4 ∫(u dco_ref -u dco )dt;
其中,udco_ref表示指令电压;kp_4表示第四PI控制器的比例系数;ki_4表示第四PI控制器的积分系数;udco表示储能电池的端电压。Wherein, u dco_ref indicates the command voltage; k p_4 indicates the proportional coefficient of the fourth PI controller; k i_4 indicates the integral coefficient of the fourth PI controller; u dco indicates the terminal voltage of the energy storage battery.
在上述方案基础上优选,步骤S2中电流控制算法包括:基于三路分指令电流分别与储能电池组的充电电流比较,获得电流偏差,通过第五PI控制器得到三路占空比,所述电流控制算法的控制数学模型为:Preferably on the basis of the above scheme, the current control algorithm in step S2 includes: comparing the command currents of the three circuits with the charging current of the energy storage battery pack to obtain the current deviation, and obtaining the duty ratio of the three circuits through the fifth PI controller, so The control mathematical model of the current control algorithm is:
其中,d1、d2、d3表示3个占空比;kp5表示第五PI控制器的比例系数;ki5表示第五PI控制器的积分系数;电流i1、i2、i3表示储能电池组的充电电流。Among them, d 1 , d 2 , d 3 represent three duty ratios; k p5 represents the proportional coefficient of the fifth PI controller; k i5 represents the integral coefficient of the fifth PI controller; current i 1 , i 2 , i 3 Indicates the charging current of the energy storage battery pack.
本发明提供了一种光伏-储能变流系统,通过DC/DC控制模块以控制储能电池组的充放电,防止储能电池组出现过充或者过度放电,配合直流母线电压下限控制模块和直流母线电压上限控制模块,可以稳定直流母线电压在合理的范围内。The invention provides a photovoltaic-energy storage conversion system, which controls the charging and discharging of the energy storage battery pack through a DC/DC control module, prevents the energy storage battery pack from overcharging or over-discharging, and cooperates with the DC bus voltage lower limit control module and The DC bus voltage upper limit control module can stabilize the DC bus voltage within a reasonable range.
附图说明Description of drawings
图1为本发明的光伏-储能变流系统的整体电路结构图;Fig. 1 is the overall circuit structure diagram of the photovoltaic-energy storage conversion system of the present invention;
图2为本发明的DC/DC控制模块和逆变器控制模块的硬件控制框图;Fig. 2 is the hardware control block diagram of DC/DC control module and inverter control module of the present invention;
图3为本发明的DC/DC控制模块的原理框图;Fig. 3 is a functional block diagram of the DC/DC control module of the present invention;
图4为本发明的逆变器控制模块的原理图;Fig. 4 is the schematic diagram of the inverter control module of the present invention;
图5为本发明的DC/DC控制模块的工作流程图;Fig. 5 is the work flowchart of DC/DC control module of the present invention;
图6为本发明的逆变器控制模块的工作流程图。Fig. 6 is a working flowchart of the inverter control module of the present invention.
具体实施方式detailed description
下面结合附图和实施例,对本发明的具体实施方式作进一步详细描述。以下实施例用于说明本发明,但不用来限制本发明的范围。The specific implementation manners of the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. The following examples are used to illustrate the present invention, but are not intended to limit the scope of the present invention.
请参阅图1所示,本发明提供了一种光伏-储能变流系统,包括储能电池组、光伏组件、双向DC/DC变换器和并网逆变器,光伏组件通过双向DC/DC变换器与储能电池组相连,并网逆变器的直流输入端并联在光伏组件的两端,再通过一隔离变压器与电网相连。Please refer to Figure 1, the present invention provides a photovoltaic-energy storage conversion system, including energy storage battery packs, photovoltaic modules, bidirectional DC/DC converters and grid-connected inverters, photovoltaic modules through bidirectional DC/DC The converter is connected to the energy storage battery pack, the DC input terminal of the grid-connected inverter is connected in parallel to both ends of the photovoltaic module, and then connected to the grid through an isolation transformer.
其中,本发明的双向DC/DC变换器包括六个IGBT晶体管S′1、S′2、S′3、S′4、S′5、S′6,光伏组件的两端分别与一联动开关K1的左端相连,并在联动开关K1的右端并联一个电容Cbus,再将联动开关K2的右端与IGBT晶体管S′1的集电极和IGBT晶体管S′2的发射极相连,且IGBT晶体管S′1的发射极和IGBT晶体管S′2的集电极相连,IGBT晶体管S′3的发射极和IGBT晶体管S′4的集电极相连,IGBT晶体管S′5的发射极和IGBT晶体管S′6的集电极相连,并将IGBT晶体管S′1的集电极、IGBT晶体管S′3的集电极和IGBT晶体管S′5的集电极接在一起,IGBT晶体管S′2的发射极、IGBT晶体管S′4的发射极和IGBT晶体管S′6的发射极接在一起。Among them, the bidirectional DC/DC converter of the present invention includes six IGBT transistors S' 1 , S' 2 , S' 3 , S' 4 , S' 5 , and S' 6 , and the two ends of the photovoltaic module are respectively connected to a linkage switch The left end of K1 is connected, and a capacitor C bus is connected in parallel to the right end of the linkage switch K1, and then the right end of the linkage switch K2 is connected with the collector of the IGBT transistor S'1 and the emitter of the IGBT transistor S'2 , and the IGBT transistor S' The emitter of IGBT transistor S'2 is connected to the emitter of IGBT transistor S'2 , the emitter of IGBT transistor S'3 is connected to the collector of IGBT transistor S'4 , the emitter of IGBT transistor S'5 is connected to the collector of IGBT transistor S'6 The electrodes are connected together, and the collector of IGBT transistor S'1 , the collector of IGBT transistor S'3 and the collector of IGBT transistor S'5 are connected together, the emitter of IGBT transistor S'2 , the collector of IGBT transistor S'4 The emitter and the emitter of the IGBT transistor S'6 are connected together.
并且在本发明的双向DC/DC变换器与储能电池组之间还连接有LC滤波电路,其中,LC滤波电路包括三个电感L1、L2和L3,其中,电感L1的左端接IGBT晶体管S′1的发射极,电感L2的左端接IGBT 晶体管S′3的发射极,电感L3的左端接IGBT晶体管S′5的发射极;并在电感L1、L2和L3的右端接导线分别穿过电流传感器,然后接在储能电池组的一端。优选的,本发明的LC滤波电路还包括一个电容Co,该电容Co的两端分别并联储能电池组的两端。In addition, an LC filter circuit is also connected between the bidirectional DC/DC converter of the present invention and the energy storage battery pack, wherein the LC filter circuit includes three inductors L1, L2 and L3, wherein the left end of the inductor L1 is connected to the IGBT transistor S The emitter of ' 1 , the left end of the inductance L2 is connected to the emitter of the IGBT transistor S'3 , the left end of the inductance L3 is connected to the emitter of the IGBT transistor S'5; The sensor is then connected to one end of the energy storage battery pack. Preferably, the LC filter circuit of the present invention further includes a capacitor C o , the two ends of the capacitor C o are respectively connected in parallel with the two ends of the energy storage battery pack.
优选的,在充电瞬间,由于滤波电容两端的电压与储能电池的端电压不同,导致较大的冲击电流,本发明还在LC滤波电路与储能电池组之间还装设有安全控制模块。其中,安全控制模块包括充电开关和一个限流回路,其中,充电开关K3的右端与储能电池组的一端相连,其左端与电容CO的一端相连;本发明的限流回路包括限流开关K4和一个与限流开关K4串联的限流电阻,限流回路并联在充电开关K3的两端。Preferably, at the moment of charging, since the voltage at both ends of the filter capacitor is different from the terminal voltage of the energy storage battery, resulting in a large inrush current, the present invention also installs a safety control module between the LC filter circuit and the energy storage battery pack . Wherein, the safety control module includes a charging switch and a current-limiting circuit, wherein the right end of the charging switch K3 is connected to one end of the energy storage battery pack, and its left end is connected to one end of the capacitor CO ; the current-limiting circuit of the present invention includes a current-limiting switch K4 and a current-limiting resistor connected in series with the current-limiting switch K4, and the current-limiting circuit is connected in parallel at both ends of the charging switch K3.
为了进一步详细说明本发明的技术方案,请继续参阅图1所示,以下将详细介绍本发明的并网逆变器电路结构。In order to further describe the technical solution of the present invention in detail, please continue to refer to FIG. 1 , and the circuit structure of the grid-connected inverter of the present invention will be introduced in detail below.
本发明的并网逆变器包括6个开关管S1、S2、S3、S4、S5、S6,并将开关管S1的发射极与开关管S2的集电极连接,开关管S3的发射极接S4的集电极,开关管S5的发射极接S6的集电极;开关管S1的集电极、S3的集电极和S5的集电极接在一起,开关管S2的发射极、S4的发射极和S6的发射极接在一起。并将开关管S1的集电极与电容Cbus的上端,开关管S2的发射极接电容Cbus的下端,使得并网逆变器与双向支路变换器并联在光伏组件的两端;并在开关管S1的集电极与接开关管S2的发射极之间连接电容CInv。The grid-connected inverter of the present invention includes six switching tubes S 1 , S 2 , S 3 , S 4 , S 5 , and S 6 , and the emitter of switching tube S 1 is connected to the collector of switching tube S 2 , The emitter of the switching tube S3 is connected to the collector of S4 , the emitter of the switching tube S5 is connected to the collector of S6 ; the collector of the switching tube S1, the collector of S3 and the collector of S5 are connected together , the emitter of the switch tube S2 , the emitter of S4 and the emitter of S6 are connected together. Connect the collector of the switching tube S1 to the upper end of the capacitor C bus , and the emitter of the switching tube S2 to the lower end of the capacitor C bus , so that the grid - connected inverter and the bidirectional branch converter are connected in parallel at both ends of the photovoltaic module; And a capacitor C Inv is connected between the collector of the switching tube S1 and the emitter of the switching tube S2.
进一步的,本发明还在并网逆变器的输出端连接有LC滤波电路,该LC滤波电路包括三个电感LA、LB、LC,其中,并将开关管S1的发射极接电感LA的左端,开关管S3的发射极接电感LB的左端,开关管S5的发射极接电感LC的左端;电感LA、LB、LC的左端分别接隔离变压器的A相、B相和C相;电容Ca的上端接变压器原边的A相,电容Cb的上端接变压器原边的B相,电容Cc的上端接变压器原边的C相;电容Ca、Cb、Cc的下端接在一起;3只霍尔电流传感器分别穿在电感LA、LB、LC左端和电容Ca、Cb、Cc与变压器的接点之间;变压器副边的a相、b相和c相接开关K5,开关K5分别接电网的a相、b相和c相。Furthermore, in the present invention, an LC filter circuit is connected to the output end of the grid-connected inverter, and the LC filter circuit includes three inductors L A , L B , and L C , wherein the emitter of the switch tube S 1 is connected to The left end of the inductor L A , the emitter of the switch tube S3 is connected to the left end of the inductor L B , the emitter of the switch tube S5 is connected to the left end of the inductor L C ; the left ends of the inductors L A , L B , and L C are respectively connected to the isolation transformer Phase A, phase B and phase C; the upper end of capacitor C a is connected to phase A of the primary side of the transformer, the upper end of capacitor C b is connected to phase B of the primary side of the transformer, and the upper end of capacitor C c is connected to phase C of the primary side of the transformer; capacitor C The lower ends of a , C b , and C c are connected together; the three Hall current sensors are passed between the left ends of the inductors L A , L B , and L C and the contacts of the capacitors C a , C b , and C c and the transformer; the transformer Phase a, phase b and phase c of the secondary side are connected to switch K5, and switch K5 is respectively connected to phase a, phase b and phase c of the grid.
本发明还包括用于控制所述双向DC/DC变换器的DC/DC控制模块和用于控制所述并网逆变器的逆变器控制模块。其中,控制双向DC/DC变换器的DC/DC控制模块的输出端分别与双向DC/DC变换器的六个IGBT晶体管S′1、S′2、S′3、S′4、S′5、S′6的基极相连,用于控制六个IGBT晶体管的通断。控制并网逆变器的逆变器控制模块的输出端分别与并网逆变器包括6个开关管S1、S2、S3、S4、S5、S6的基极相连,用于控制6个开关管的通断。The present invention also includes a DC/DC control module for controlling the bidirectional DC/DC converter and an inverter control module for controlling the grid-connected inverter. Among them, the output terminals of the DC/DC control module controlling the bidirectional DC/DC converter are respectively connected with the six IGBT transistors S′ 1 , S′ 2 , S′ 3 , S′ 4 , and S′ 5 of the bidirectional DC/DC converter. , The bases of S' 6 are connected to control the on-off of the six IGBT transistors. The output terminals of the inverter control module controlling the grid-connected inverter are respectively connected to the bases of the grid-connected inverter including six switch tubes S 1 , S 2 , S 3 , S 4 , S 5 , and S 6 It is used to control the on-off of 6 switch tubes.
请继续参阅图3所示,本发明为了准确控制双向DC/DC变换器的通断,确保储能电池组在充放电转换过程中不断电,以下将详细介绍用于控制双向DC/DC变换器的DC/DC控制模块的结构及其控制方法。Please continue to refer to Figure 3. In order to accurately control the on-off of the bidirectional DC/DC converter and ensure that the energy storage battery pack is continuously powered during the charging and discharging conversion process, the present invention will introduce in detail the control of the bidirectional DC/DC converter. The structure of the DC/DC control module and its control method.
如图3所示,本发明的DC/DC控制模块包括电压控制模块、与电压控制模块电性连接的电流控制模块和比较模块,电流控制模块输出端与比较模块电性相连。其中,电压控制模块,用于比较储能电池组的端电压与指令电压获取电压偏差,并基于电压环控制算法获取总指令电流,其中,电压环控制算法是储能电池组的端电压与指令电压之间的电压差经第四PI控制器得到总指令电流,且该电压环控制算法的控制模型为:As shown in FIG. 3 , the DC/DC control module of the present invention includes a voltage control module, a current control module and a comparison module electrically connected to the voltage control module, and the output terminal of the current control module is electrically connected to the comparison module. Among them, the voltage control module is used to compare the terminal voltage of the energy storage battery pack with the command voltage to obtain the voltage deviation, and obtain the total command current based on the voltage loop control algorithm, wherein the voltage loop control algorithm is the terminal voltage of the energy storage battery pack and the command voltage The voltage difference between the voltages is obtained by the fourth PI controller to obtain the total command current, and the control model of the voltage loop control algorithm is:
idc_ref=kp_4(udco_ref-udco)+ki_4∫(udco_ref-udco)dt;i dc_ref = k p_4 (u dco_ref -u dco )+k i_4 ∫(u dco_ref -u dco )dt;
其中,udco_ref表示指令电压;kp_4表示第四PI控制器的比例系数;ki_4表示第四PI控制器的积分系数;udco表示储能电池的端电压。Wherein, u dco_ref indicates the command voltage; k p_4 indicates the proportional coefficient of the fourth PI controller; k i_4 indicates the integral coefficient of the fourth PI controller; u dco indicates the terminal voltage of the energy storage battery.
本发明的电流控制模块,通过总指令电流分别获取三路分指令电流,并基于电流控制算法分别获取三路占空比,其中,电流控制算法包括:分别比较三路分指令电流与充电电流,得到电流偏差,该电流偏差通过第五PI控制器得到三路占空比,且电流控制算法的控制模型为:The current control module of the present invention respectively obtains the three-way sub-command current through the total command current, and respectively obtains the three-way duty cycle based on the current control algorithm, wherein the current control algorithm includes: respectively comparing the three-way sub-command current and the charging current, The current deviation is obtained, and the current deviation is obtained through the fifth PI controller to obtain the three-way duty ratio, and the control model of the current control algorithm is:
其中,d1、d2、d3表示3个占空比;kp5表示第五PI控制器的比例系数;ki5表示第五PI控制器的积分系数;电流i1、i2、i3表示储能电池组的充电电流。Among them, d 1 , d 2 , d 3 represent three duty ratios; k p5 represents the proportional coefficient of the fifth PI controller; k i5 represents the integral coefficient of the fifth PI controller; current i 1 , i 2 , i 3 Indicates the charging current of the energy storage battery pack.
而本发明的比较模块,将三路占空比分别与相位相差120°的载波比较,获取双向DC/DC变换器的开关控制信号,并将开关控制信号发送至六个IGBT晶体管S′1、S′2、S′3、S′4、S′5、S′6的基极,控制六个IGBT晶体管的开关状态。However, the comparison module of the present invention compares the three-way duty cycle with the carrier wave with a phase difference of 120°, obtains the switch control signal of the bidirectional DC/DC converter, and sends the switch control signal to six IGBT transistors S' 1 , The bases of S' 2 , S' 3 , S' 4 , S' 5 , and S' 6 control the switching states of the six IGBT transistors.
进一步的,本发明的DC/DC控制模块还包括与电压控制模块的输出端连接的直流母线电压下限控制模块和直流母线电压上限控制模块,通过设置直流母线电压上限控制模块和下限控制模块,将直流母线电压限制在合理的范围之内,保障并网逆变器正常工作。Further, the DC/DC control module of the present invention also includes a DC bus voltage lower limit control module and a DC bus voltage upper limit control module connected to the output terminal of the voltage control module. By setting the DC bus voltage upper limit control module and the lower limit control module, the The DC bus voltage is limited within a reasonable range to ensure the normal operation of the grid-connected inverter.
其中,直流母线电压上限控制模块的控制算法为:Among them, the control algorithm of the DC bus voltage upper limit control module is:
其中,kp3和ki3分别表示PI_3算法的比例系数和积分系数;表示充电电流的上限值,且限制在[1.5C 0.05C],udci表示直流母线两端的电压,udci_min表示直流母线的最小电压。Among them, k p3 and k i3 represent the proportional coefficient and integral coefficient of the PI_3 algorithm, respectively; Indicates the upper limit value of the charging current, and Limited to [1.5C 0.05C], u dci indicates the voltage at both ends of the DC bus, and u dci_min indicates the minimum voltage of the DC bus.
而本发明的直流母线电压下限控制模块的数学模型为:And the mathematical model of the DC bus voltage lower limit control module of the present invention is:
其中,kp3和ki3分别表示PI_3算法的比例系数和积分系数;表示充电电流的下限值,且限制在[-3C-0.05C],udci表示直流母线两端的电压,udci_max表示直流母线的最大电压。Among them, k p3 and k i3 represent the proportional coefficient and integral coefficient of the PI_3 algorithm, respectively; Indicates the lower limit value of the charging current, and Limited to [-3C-0.05C], u dci indicates the voltage at both ends of the DC bus, and u dci_max indicates the maximum voltage of the DC bus.
本发明还提供了一种光伏-储能变流系统的控制方法,其包括以下步骤;The present invention also provides a control method of a photovoltaic-energy storage conversion system, which includes the following steps;
基于储能电池组的端电压,获取双向DC/DC变换器的控制信号;Obtain the control signal of the bidirectional DC/DC converter based on the terminal voltage of the energy storage battery pack;
基于q轴、d轴指令电压、直流母线的电压和电流,获取并网逆变器的控制信号。Based on the q-axis, the d-axis command voltage, the voltage and current of the DC bus, the control signal of the grid-connected inverter is obtained.
请参阅图2所示,在获取双向DC/DC变换器的控制信号过程中,首先,由采样调理板检测电流i1、i2和i3,电压udci、udco和温度等物理量,并且送入控制板的采样端口,DSP28335执行控制方案及控制算法,产生6路PWM信号,驱动与保护电路处理所述6路PWM信号,再驱动开关管S′1、S′2、S′3、S′4、S′5和S′6;所述控制板上的RS485串口用来与光伏逆变器、触摸屏通信。Please refer to Figure 2, in the process of obtaining the control signal of the bidirectional DC/DC converter, firstly, the physical quantities such as current i 1 , i 2 and i 3 , voltage u dci , u dco and temperature are detected by the sampling conditioning board, and Send it to the sampling port of the control board, DSP28335 executes the control scheme and control algorithm to generate 6 PWM signals, the driving and protection circuit processes the 6 PWM signals, and then drives the switch tubes S' 1 , S' 2 , S' 3 , S' 4 , S' 5 and S'6; the RS485 serial port on the control board is used to communicate with the photovoltaic inverter and the touch screen.
在获取并网逆变器的控制信号过程中,首先调理板检测电流ia、ib和ic,电压udc_pv、ua(ea)、ub(eb)、uc(ec)和温度等物理量,再送入控制板的采样端口;DSP28335执行控制方案及控制算法,控制板输出6路SVPWM信号,所述6路SVPWM信号经过驱动与保护电路处理之后,再驱动开关管S1、S2、S3、S4、S5和S6;所述控制板上的RS485串口用来与逆变器、触摸屏通信,详情请参阅图3所示。In the process of obtaining the control signal of the grid-connected inverter, the conditioning board first detects the current ia, ib and ic, the voltages u dc_pv , u a (e a ), u b ( e b ), u c ( e c ) and temperature, etc., and then sent to the sampling port of the control board; DSP28335 executes the control scheme and control algorithm, and the control board outputs 6 SVPWM signals. S2, S3, S4, S5 and S6; the RS485 serial port on the control board is used to communicate with the inverter and touch screen, please refer to Figure 3 for details.
通过获取双向DC/DC变换器的控制信号,控制储能电池组的充电、放电过程,同时,配合并网逆变器的控制信号,实现光伏组件对电网或储能电池组的供电。By obtaining the control signal of the bidirectional DC/DC converter, the charging and discharging process of the energy storage battery pack is controlled. At the same time, with the control signal of the grid-connected inverter, the power supply of the photovoltaic module to the grid or the energy storage battery pack is realized.
在本发明的一个实施例中,请继续参阅图3所示,本发明的双向DC/DC变换器的控制信号获取方法包括:In one embodiment of the present invention, please continue to refer to FIG. 3, the control signal acquisition method of the bidirectional DC/DC converter of the present invention includes:
S1、通过比较储能电池组的端电压与指令电压,获取其电压偏差,并基于电压环控制算法,获取总指令电流;S1. Obtain the voltage deviation by comparing the terminal voltage of the energy storage battery pack with the command voltage, and obtain the total command current based on the voltage loop control algorithm;
S2、基于总指令电流分别获取三路分指令电流,通过电流控制算法,分别获取输出三路占空比;S2. Obtain the sub-instruction currents of the three circuits based on the total instruction current, and respectively obtain the duty ratios of the three output circuits through the current control algorithm;
S3、基于三路占空比,分别与相位互差120°的载波比较,获取双向DC/DC变换器的开关控制信号。S3. Based on the duty ratios of the three channels, the switching control signals of the bidirectional DC/DC converter are obtained by comparing them with the carriers with phase differences of 120°.
控制过程中,电压控制模块将储能电池组的端电压udco与指令电压udco-ref比较,得到电压偏差,利用电压控制算法处理后,得到总指令电流,然后,将总指令电流除以3得到电流控制模块的输入值,也就是双向DC/DC变换器的每一路指令电流,然后通过电流控制算法,经过三个PI_5算法分别控制i1、i2和i3,输出三路占空比d1、d2和d3,用所述三路占空比分别与三路相位互差120度的载波(三角波)比较,产生开关信号G′1、G′2、G′3G′4、G′5和G′6,用所述六路开关信号分别驱动开关管S′1、S′2、S′3、S′4、S′5和S′6。During the control process, the voltage control module compares the terminal voltage u dco of the energy storage battery pack with the command voltage u dco-ref to obtain the voltage deviation, and uses the voltage control algorithm to obtain the total command current, and then divides the total command current by 3 Obtain the input value of the current control module, that is, the command current of each channel of the bidirectional DC/DC converter, and then control i 1 , i 2 and i 3 respectively through the current control algorithm and three PI_5 algorithms, and output the three-way duty Compared with d 1 , d 2 and d 3 , use the three-way duty cycle to compare with the three-way carrier (triangular wave) with a phase difference of 120 degrees to generate switching signals G′ 1 , G′ 2 , G′ 3 G′ 4. G' 5 and G' 6 , respectively drive the switch tubes S' 1 , S' 2 , S' 3 , S' 4 , S' 5 and S' 6 with the six switching signals.
在本发明的另一实施例中,本发明在上述实施例的基础上,为了防止蓄电池组件出现过充或者是过度放电,影响蓄电池的使用寿命,本发明的步骤S1进一步包括:In another embodiment of the present invention, on the basis of the above-mentioned embodiments, in order to prevent the battery components from being overcharged or over-discharged and affecting the service life of the battery, step S1 of the present invention further includes:
基于直流母线电压与给定直流母线电压的最小值,比较直流母线电压与给定直流母线电压的最小值,获取电压偏差,通过第三PI控制器得到总指令电流的上限值;Based on the minimum value of the DC bus voltage and the given DC bus voltage, comparing the DC bus voltage and the given DC bus voltage minimum value to obtain the voltage deviation, and obtaining the upper limit value of the total command current through the third PI controller;
基于直流母线电压与给定直流母线电压的最大值,比较所述直流母线电压与给定直流母线电压的最大值,获取电压偏差值,通过第三PI控制器得到限制总指令电流的下限值。Based on the maximum value of the DC bus voltage and the given DC bus voltage, comparing the DC bus voltage with the maximum value of the given DC bus voltage to obtain a voltage deviation value, and obtaining a lower limit value for limiting the total command current through the third PI controller .
其中,获取总指令电流上限值的控制算法为:Among them, the control algorithm for obtaining the upper limit value of the total command current is:
其中,kp3和ki3分别表示第三PI控制器的比例系数和积分系数;表示充电电流的上限值,且限制在[1.5C 0.05C],udci表示直流母线电压,udci_min表示直流母线的最小电压。Wherein, k p3 and k i3 respectively represent the proportional coefficient and integral coefficient of the third PI controller; Indicates the upper limit value of the charging current, and Limited to [1.5C 0.05C], u dci represents the DC bus voltage, and u dci_min represents the minimum voltage of the DC bus.
而获取总指令电流下限值的控制算法为:The control algorithm for obtaining the lower limit value of the total command current is:
其中,kp3和ki3分别表示第三PI控制器的比例系数和积分系数;表示充电电流下限值,且限制在[-3C-0.05C],udci表示直流母线电压,udci_max表示直流母线的最大电压。Wherein, k p3 and k i3 respectively represent the proportional coefficient and integral coefficient of the third PI controller; Indicates the charging current lower limit value, and Limited to [-3C-0.05C], u dci represents the DC bus voltage, and u dci_max represents the maximum voltage of the DC bus.
本发明通过获取总指令电流上限值和总指令电流下限值可实现以下目的第一,动态调整充(放)电电流的上(下)限值;第二,当系统离网运行时,指令电压udco_ref设置为0.7倍ubattery_norm,DC/DC控制模块的电压控制算法输出负电流指令(电压环控制算法处于饱和状态),即控制储能电池放电,直流母线电压逐渐升高,在直流母线电压逐渐升高的过程中,上限控制模块逐渐退出饱和,并且最终控制直流母线电压,使直流母线电压稳定在最高电压处。在储能电池放电过程中,储能电池的端电压逐渐降低,电压控制环逐步投入控制,可防止储能电池过低放电;当系统并网运行时,指令电压udco_ref设置为1.05倍ubattery_norm,DC/DC控制模块的电压控制算法输出正电流指令(电压环控制算法处于饱和状态),使双向DC/DC变换器为储能电池充电,随着充电过程的进行,储能电池的端电压逐渐升高,DC/DC控制模块的电压环逐渐退出饱和,并且投入控制,防止储能电池过度充电,在储能电池充电过程中,直流母线电压逐渐降低,直流母线电压的下限控制环逐渐退出饱和,并且投入运行,防止直流母线端过度放电,使直流母线电压最终稳定在udci_min。The present invention can achieve the following purposes by obtaining the upper limit value of the total command current and the lower limit value of the total command current. First, dynamically adjust the upper (lower) limit value of the charging (discharging) current; The command voltage u dco_ref is set to 0.7 times u battery_norm , the voltage control algorithm of the DC/DC control module outputs a negative current command (the voltage loop control algorithm is in a saturated state), that is, the discharge of the energy storage battery is controlled, and the DC bus voltage gradually increases. During the gradual increase of the bus voltage, the upper limit control module gradually exits saturation, and finally controls the DC bus voltage to stabilize the DC bus voltage at the highest voltage. During the discharge process of the energy storage battery, the terminal voltage of the energy storage battery gradually decreases, and the voltage control loop is gradually put into control, which can prevent the energy storage battery from being discharged too low; when the system is connected to the grid, the command voltage u dco_ref is set to 1.05 times u battery_norm , the voltage control algorithm of the DC/DC control module outputs a positive current command (the voltage loop control algorithm is in a saturated state), so that the bidirectional DC/DC converter charges the energy storage battery. As the charging process progresses, the terminal voltage of the energy storage battery Gradually increase, the voltage loop of the DC/DC control module gradually exits saturation, and puts into control to prevent overcharging of the energy storage battery. During the charging process of the energy storage battery, the DC bus voltage gradually decreases, and the lower limit control loop of the DC bus voltage gradually exits Saturation, and put into operation, to prevent excessive discharge of the DC bus terminal, so that the DC bus voltage is finally stabilized at u dci _ min
进一步的,本发明步骤S1中电压环控制算法包括基于储能电池组的端电压与指令电压的电压偏差,通过第四PI控制器得到总指令电流,其中,电压环控制算法的控制数学模型为:Further, the voltage loop control algorithm in step S1 of the present invention includes the voltage deviation between the terminal voltage of the energy storage battery pack and the command voltage, and the total command current is obtained through the fourth PI controller, wherein the control mathematical model of the voltage loop control algorithm is :
idc_ref=kp_4(udco_ref-udco)+ki_4∫(udco_ref-udco)dt;i dc_ref = k p_4 (u dco_ref -u dco )+k i_4 ∫(u dco_ref -u dco )dt;
其中,udco_ref表示指令电压;kp_4表示第四PI控制器的比例系数;ki_4表示第四PI控制器的积分系数;udco表示储能电池的端电压。Wherein, u dco_ref indicates the command voltage; k p_4 indicates the proportional coefficient of the fourth PI controller; k i_4 indicates the integral coefficient of the fourth PI controller; u dco indicates the terminal voltage of the energy storage battery.
工作过程中,当并网逆变器并网运行时,udco_ref=1.05ubattery_norm;当并网逆变器离网运行时,udco_ref=0.7ubattery_norm,ubattery_norm为储能电池的额定电压。During the working process, when the grid-connected inverter is connected to the grid, u dco_ref =1.05u battery_norm ; when the grid-connected inverter is running off-grid, u dco_ref =0.7u battery_norm , and u battery_norm is the rated voltage of the energy storage battery.
且本发明的步骤S2中电流控制算法包括三路分指令电流分别与储能电池组的充电电流比较,得到电流偏差,电流偏差通过第五PI控制器处理得到三路占空比,电流控制算法的控制数学模型为:In addition, the current control algorithm in step S2 of the present invention includes comparing the command currents of the three circuits with the charging current of the energy storage battery pack to obtain the current deviation, and the current deviation is processed by the fifth PI controller to obtain the duty ratio of the three circuits, and the current control algorithm The control mathematical model of is:
其中,d1、d2、d3表示3个占空比;kp5表示第五PI控制器的比例系数;ki5表示第五PI控制器的积分系数;电流i1、i2、i3表示储能电池组的充电电流。Among them, d 1 , d 2 , d 3 represent three duty ratios; k p5 represents the proportional coefficient of the fifth PI controller; k i5 represents the integral coefficient of the fifth PI controller; current i 1 , i 2 , i 3 Indicates the charging current of the energy storage battery pack.
为了便于理解本发明的DC/DC控制模块的工作原理,以下将详细介绍本发明DC/DC控制模块的控制软件的实施步骤,具体详情请参阅图5所示。In order to facilitate the understanding of the working principle of the DC/DC control module of the present invention, the implementation steps of the control software of the DC/DC control module of the present invention will be introduced in detail below, please refer to FIG. 5 for details.
第一步:配置微处理器(DSP28335)的功能;The first step: configure the function of the microprocessor (DSP28335);
第二步,初始化双向DC/DC变换器中的变量;The second step is to initialize the variables in the bidirectional DC/DC converter;
第三步,使能中断;The third step is to enable the interrupt;
第四步:等待中断;Step 4: Wait for the interrupt;
第五步:若没产生中断,则与触摸屏、并网逆变器的控制系统通信,通信结束之后,返回到第四步;若产生了中断,则进行采样、处理采样数据。Step 5: If there is no interruption, communicate with the touch screen and the control system of the grid-connected inverter. After the communication is completed, return to step 4; if an interruption occurs, perform sampling and process the sampled data.
第六步:判断是否发生了过流或过压或过热等故障,若系统发生所述故障之一,则封锁驱动信号,并且停机;若没发生所述故障情况,则判断直流母线是否欠压。Step 6: Determine whether there is an overcurrent, overvoltage or overheating fault. If one of the above faults occurs in the system, the drive signal is blocked and the machine is shut down; if the above fault does not occur, judge whether the DC bus is undervoltage .
第七步:若直流母线欠压,则封锁驱动信号,双向DC/DC变换器进入待机状态;若直流电压正常,则执行第八步。Step 7: If the DC bus is undervoltage, block the driving signal, and the bidirectional DC/DC converter enters the standby state; if the DC voltage is normal, execute the eighth step.
第八步:若逆变器离网运行时,则令双向DC/DC变换器的指令电压为0.7倍ubattery_norm;若逆变器并网运行,则令双向DC/DC变换器的指令电压为1.05倍ubattery_norm;Step 8: If the inverter is running off-grid, set the command voltage of the bidirectional DC/DC converter to be 0.7 times u battery_norm ; if the inverter is running in parallel with the grid, set the command voltage of the bidirectional DC/DC converter to be 1.05 times u battery_norm ;
第九步:执行直流母线电压的下限控制环;Step 9: Execute the lower limit control loop of the DC bus voltage;
第十步:执行直流母线电压的上限控制环;Step 10: Execute the upper limit control loop of the DC bus voltage;
第十一步:控制充电电压,得到总指令电流;Step 11: Control the charging voltage to obtain the total command current;
第十二步:对所述总指令电流限幅,并且计算三路指令电流;Step 12: limit the total command current, and calculate three command currents;
第十二步:控制充电电流;Step 12: Control the charging current;
第十三步:根据电流环输出的占空比产生六路PWM驱动信号;Step 13: Generate six PWM drive signals according to the duty cycle output by the current loop;
第十四步:恢复现场;Step Fourteen: Restoring the site;
第十五步:中断返回;Step 15: Interrupt return;
所述第4步~第15步每208.3微秒重复执行一次。The steps 4 to 15 are repeated every 208.3 microseconds.
为了进一步详细说明本发明的技术方案,请继续参阅图4所示,以下将详细介绍本发明的并网逆变器的控制方法。In order to further describe the technical solution of the present invention in detail, please continue to refer to FIG. 4 , and the control method of the grid-connected inverter of the present invention will be introduced in detail below.
当并网逆变器并网运行时,指令电流的开关切换到①端,采用“MPPT—直流侧电压环—电感电流环”级联控制方案,具体控制过程如下:When the grid-connected inverter is connected to the grid, the command current switch is switched to the ① terminal, and the "MPPT-DC side voltage loop-inductance current loop" cascade control scheme is adopted. The specific control process is as follows:
首先,将电网电压[ea eb ec]′、并网电流[ia ib ic]′等物理量进行派克变换,得到电压列相量[ed eq]′和电流列相量[id iq]′,派克变换公式为:First, the grid voltage [e a e b e c ]′, grid-connected current [i a i b i c ]′ and other physical quantities are subjected to Parker transformation to obtain the voltage column phasor [e d e q ]′ and the current column phasor [i d i q ]′, the Parker transformation formula is:
其次,采样直流母线电压和电流,用最大功率点跟踪(MPPT)算法追踪光伏组件的最大功率,输出直流侧的指令电压udci_ref,直流侧电压采用非线性比例积分控制算法控制,控制算法如下:Secondly, sample the DC bus voltage and current, use the maximum power point tracking (MPPT) algorithm to track the maximum power of the photovoltaic module, and output the command voltage u dci_ref on the DC side. The DC side voltage is controlled by a nonlinear proportional-integral control algorithm. The control algorithm is as follows:
id_ref=kv_pN(udci_ref-udci)+kv_iN∫udci(udci_ref-udci)dt;i d_ref =k v_pN (u dci_ref -u dci )+k v_iN ∫u dci (u dci_ref -u dci )dt;
式中:kv_pN和kv_iN分别为控制算法NPI的比例系数和积分系数,udci为直流侧电压。In the formula: k v_pN and k v_iN are the proportional coefficient and integral coefficient of the control algorithm NPI respectively, and u dci is the DC side voltage.
再次,控制电感电流。在同步旋转坐标系中采用PI算法分别控制id和iq,控制算法为:Again, control the inductor current. In the synchronous rotating coordinate system, the PI algorithm is used to control i d and i q respectively, and the control algorithm is:
md=kp2(id_ref-id)+ki2∫(id_ref-id)dt-ωLiq+ed;m d =k p2 (i d_ref -i d )+k i2 ∫(i d_ref -i d )dt-ωLi q +e d ;
mq=kp2(iq_ref-iq)+ki2∫(iq_ref-iq)dt+ωLid+eq;m q =k p2 (i q_ref -i q )+k i2 ∫(i q_ref -i q )dt+ωLi d +e q ;
式中:kp2和ki2分别为控制算法PI_2的比例系数和积分系数。In the formula: k p2 and k i2 are the proportional coefficient and integral coefficient of the control algorithm PI_2 respectively.
第四,电流环输出的占空比(md、mq),所述md和mq经过派克反变换,得到abc坐标轴系中的占空比ma、mb和mc,所述派克反变换为:Fourth, the duty cycle (m d , m q ) output by the current loop, the m d and m q are subjected to inverse Parker transformation to obtain the duty cycle ma , m b and m c in the abc coordinate axis system , so The Parker inverse transformation is described as:
最后,用SVPWM算法产生驱动信号(G1、G2、G3、G4、G5、G6),用来驱动逆变器的开关管。Finally, use the SVPWM algorithm to generate driving signals (G 1 , G 2 , G 3 , G 4 , G 5 , G 6 ), which are used to drive the switching tubes of the inverter.
⑵当并网逆变器离网运行时,指令电流的开关切换到②端,并且采用“交流电压环—电感电流环”级联控制方案。⑵When the grid-connected inverter is running off-grid, the command current switch is switched to ②, and the "AC voltage loop-inductance current loop" cascade control scheme is adopted.
首先,将输出电压[ua ub uc]′,电感电流[ia ib ic]′等物理量进行派克变换,其变换过程如下:First, the output voltage [u a u b u c ]′, the inductor current [i a i b i c ]′ and other physical quantities are subjected to Parker transformation, and the transformation process is as follows:
其次,同步旋转坐标系中采用“交流电压环-电感电流环”级联控制方案,电压控制算法为:Secondly, the "AC voltage loop-inductance current loop" cascade control scheme is adopted in the synchronous rotating coordinate system, and the voltage control algorithm is:
id_ref=kp1(ud_ref-ud)+ki1∫(ud_ref-ud)dti d_ref =k p1 (u d_ref -u d )+k i1 ∫(u d_ref -u d )dt
iq_ref=kp1(0-uq)+ki1∫(0-uq)dti q_ref =k p1 (0-u q )+k i1 ∫(0-u q )dt
公式中,ud_ref为d轴指令电压,0为q轴指令电压,kp1为PI_1算法的比例系数,ki1为PI_1算法的积分系数。In the formula, u d_ref is the command voltage of the d-axis, 0 is the command voltage of the q-axis, k p1 is the proportional coefficient of the PI_1 algorithm, and k i1 is the integral coefficient of the PI_1 algorithm.
第四,离网运行时的电流控制方案及其控制算法与并网运行时的电流控制方案及其控制算法完全一致,产生驱动信号的算法也一致,在此不再赘述。Fourth, the current control scheme and its control algorithm during off-grid operation are completely consistent with the current control scheme and its control algorithm during grid-connected operation, and the algorithm for generating drive signals is also consistent, so I won’t repeat them here.
为了便于理解本发明的技术方案,以下将介绍本发明光伏逆变器控制软件的实施步骤,具体为:In order to facilitate the understanding of the technical solution of the present invention, the following will introduce the implementation steps of the photovoltaic inverter control software of the present invention, specifically:
第一步:配置微处理器(DSP28335)的功能;The first step: configure the function of the microprocessor (DSP28335);
第二步,初始化光伏逆变器控制系统中的变量;The second step is to initialize the variables in the photovoltaic inverter control system;
第三步,使能中断;The third step is to enable the interrupt;
第四步:等待中断;Step 4: Wait for the interrupt;
第五步:若没产生中断,则与触摸屏、双向DC/DC变换器的控制系统通信;若通信结束之后,返回到第四步;若发生了中断,则执行第六步;Step 5: If no interruption occurs, communicate with the touch screen and the control system of the bidirectional DC/DC converter; if the communication ends, return to step 4; if an interruption occurs, execute step 6;
第六步:采样、处理采样数据。Step 6: Sampling and processing the sampled data.
第七步:判断是否发生了过流或过压或过热等故障,若系统发生所述故障之一,则封锁驱动信号,并且停机;若没发生所述故障,则执行第八步。Step 7: Determine whether there is an overcurrent, overvoltage or overheating fault. If one of the faults occurs in the system, the drive signal is blocked and the machine is shut down; if the fault does not occur, execute the eighth step.
第八步:判断直流母线是否欠压,若直流母线欠压,则封锁驱动信号,进入待机状态;若直流母线正常,则执行第九步;Step 8: Determine whether the DC bus is undervoltage. If the DC bus is undervoltage, block the drive signal and enter the standby state; if the DC bus is normal, execute the ninth step;
第九步:将交流电压、电流进行派克变换,得到各物理量在同步旋转坐标系中的值;Step 9: Perform Parker transformation on the AC voltage and current to obtain the values of each physical quantity in the synchronous rotating coordinate system;
第十步:判断光伏逆变器是否并网运行,若并网运行,则执行MPPT算法,控制直流母线电压;若离网运行;则控制光伏逆变器的交流输出电压;Step 10: Determine whether the photovoltaic inverter is connected to the grid. If it is connected to the grid, execute the MPPT algorithm to control the DC bus voltage; if it is operated off-grid, control the AC output voltage of the photovoltaic inverter;
第十一步:控制光伏逆变器的电感电流,输出占空比md、mq;Step 11: Control the inductance current of the photovoltaic inverter, output duty cycle m d , m q ;
第十二步:执行SVPWM算法,输出6路驱动信号(PWM);Step 12: Execute the SVPWM algorithm and output 6 drive signals (PWM);
第十三步:使能输出六路PWM驱动信号;Step 13: Enable the output of six PWM drive signals;
第十四步:恢复现场,中断返回。Step 14: Resume the scene and return from the interruption.
所述第4步~第14步每208.3微秒重复执行一次,详情请参阅图6 所示。The steps 4 to 14 are repeated every 208.3 microseconds, please refer to FIG. 6 for details.
最后,本申请的方法仅为较佳的实施方案,并非用于限定本发明的保护范围。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。Finally, the method of the present application is only a preferred embodiment, and is not intended to limit the protection scope of the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included within the protection scope of the present invention.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710084282.1A CN106936148B (en) | 2017-02-16 | 2017-02-16 | A photovoltaic-energy storage conversion system and its control method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710084282.1A CN106936148B (en) | 2017-02-16 | 2017-02-16 | A photovoltaic-energy storage conversion system and its control method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106936148A true CN106936148A (en) | 2017-07-07 |
CN106936148B CN106936148B (en) | 2023-07-18 |
Family
ID=59424091
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710084282.1A Expired - Fee Related CN106936148B (en) | 2017-02-16 | 2017-02-16 | A photovoltaic-energy storage conversion system and its control method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106936148B (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108988414A (en) * | 2018-06-28 | 2018-12-11 | 南京理工大学 | Bidirectional DC-DC converter control system and method based on hybrid power RTG |
CN109524970A (en) * | 2018-11-30 | 2019-03-26 | 国网安徽省电力有限公司经济技术研究院 | A kind of distribution network voltage control system and method based on distributed light-preserved system |
CZ308050B6 (en) * | 2018-10-31 | 2019-11-20 | České vysoké učenà technické v Praze | Device for charging accumulators from a photovoltaic source |
CN112701753A (en) * | 2020-12-23 | 2021-04-23 | 阳光电源股份有限公司 | Charging and discharging control method and energy storage system |
CN112751357A (en) * | 2019-10-31 | 2021-05-04 | 比亚迪股份有限公司 | Photovoltaic energy storage system and control method thereof |
CN112994458A (en) * | 2021-03-26 | 2021-06-18 | 潍柴动力股份有限公司 | DC/DC converter, control method thereof, and fuel cell system |
CN114336734A (en) * | 2021-11-26 | 2022-04-12 | 深圳市科华恒盛科技有限公司 | Power conversion unit control method and device, charging and discharging module |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2011139576A (en) * | 2009-12-28 | 2011-07-14 | Yaskawa Electric Corp | Motor drive device |
CN203466613U (en) * | 2013-08-21 | 2014-03-05 | 浙江万向太阳能有限公司 | Household off-network light-storage supplementary electricity generation system compatible with multiple types of energy-storage systems |
CN104810857A (en) * | 2015-05-22 | 2015-07-29 | 郑州大学 | Single-phase grid-connected photovoltaic power generation system output power smooth control device and control method |
CN104810858A (en) * | 2015-05-27 | 2015-07-29 | 广西大学 | Control method for grid-connected power generation system of optical storage microgrid |
CN104993763A (en) * | 2015-06-26 | 2015-10-21 | 华中科技大学 | Variable frequency drive control system with no electrolytic capacitor, and control method |
CN105763085A (en) * | 2016-03-04 | 2016-07-13 | 东南大学 | Energy storage grid-connected converter based on reverse-blocking type three levels, and control method therefor |
CN105958468A (en) * | 2016-05-03 | 2016-09-21 | 北京北变微电网技术有限公司 | V2G direct-current bidirectional energy storage current transformer |
-
2017
- 2017-02-16 CN CN201710084282.1A patent/CN106936148B/en not_active Expired - Fee Related
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2011139576A (en) * | 2009-12-28 | 2011-07-14 | Yaskawa Electric Corp | Motor drive device |
CN203466613U (en) * | 2013-08-21 | 2014-03-05 | 浙江万向太阳能有限公司 | Household off-network light-storage supplementary electricity generation system compatible with multiple types of energy-storage systems |
CN104810857A (en) * | 2015-05-22 | 2015-07-29 | 郑州大学 | Single-phase grid-connected photovoltaic power generation system output power smooth control device and control method |
CN104810858A (en) * | 2015-05-27 | 2015-07-29 | 广西大学 | Control method for grid-connected power generation system of optical storage microgrid |
CN104993763A (en) * | 2015-06-26 | 2015-10-21 | 华中科技大学 | Variable frequency drive control system with no electrolytic capacitor, and control method |
CN105763085A (en) * | 2016-03-04 | 2016-07-13 | 东南大学 | Energy storage grid-connected converter based on reverse-blocking type three levels, and control method therefor |
CN105958468A (en) * | 2016-05-03 | 2016-09-21 | 北京北变微电网技术有限公司 | V2G direct-current bidirectional energy storage current transformer |
Non-Patent Citations (1)
Title |
---|
徐四勤;王明渝;马兰珍;聂海龙;: "独立光伏发电直流网能量管理控制策略", 现代电力, no. 04 * |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108988414A (en) * | 2018-06-28 | 2018-12-11 | 南京理工大学 | Bidirectional DC-DC converter control system and method based on hybrid power RTG |
CZ308050B6 (en) * | 2018-10-31 | 2019-11-20 | České vysoké učenà technické v Praze | Device for charging accumulators from a photovoltaic source |
CN109524970A (en) * | 2018-11-30 | 2019-03-26 | 国网安徽省电力有限公司经济技术研究院 | A kind of distribution network voltage control system and method based on distributed light-preserved system |
CN109524970B (en) * | 2018-11-30 | 2023-08-18 | 国网安徽省电力有限公司经济技术研究院 | Distributed optical storage system-based power distribution network voltage control system and method |
CN112751357A (en) * | 2019-10-31 | 2021-05-04 | 比亚迪股份有限公司 | Photovoltaic energy storage system and control method thereof |
CN112751357B (en) * | 2019-10-31 | 2022-11-11 | 比亚迪股份有限公司 | Photovoltaic energy storage system and control method thereof |
CN112701753A (en) * | 2020-12-23 | 2021-04-23 | 阳光电源股份有限公司 | Charging and discharging control method and energy storage system |
CN112701753B (en) * | 2020-12-23 | 2024-04-12 | 阳光电源股份有限公司 | Charging and discharging control method and energy storage system |
CN112994458A (en) * | 2021-03-26 | 2021-06-18 | 潍柴动力股份有限公司 | DC/DC converter, control method thereof, and fuel cell system |
CN114336734A (en) * | 2021-11-26 | 2022-04-12 | 深圳市科华恒盛科技有限公司 | Power conversion unit control method and device, charging and discharging module |
Also Published As
Publication number | Publication date |
---|---|
CN106936148B (en) | 2023-07-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106936148B (en) | A photovoltaic-energy storage conversion system and its control method | |
KR102379687B1 (en) | Apparatus and method for concentrating and supplying energy | |
CN104810858B (en) | A kind of light stores up the control method of micro-grid connection electricity generation system | |
CN102545257B (en) | Solar photovoltaic generating single-phase grid-connected inverter and control method thereof | |
TWI624147B (en) | A multiple direct current (dc) voltage sources bi-directional energy converter | |
CN105553391B (en) | A kind of photovoltaic energy storage battery generating system and control method | |
WO2020186562A1 (en) | Converter and control method therefor | |
CN103915856B (en) | A kind of base station is grid-connected-charging photovoltaic micro-inverter system and control method thereof | |
TWI826868B (en) | Photovoltaic energy storage system and control method thereof | |
CN110120679B (en) | Household photovoltaic energy storage converter coupled with direct current side of photovoltaic inverter | |
CN104065157A (en) | An Uninterruptible Power Supply with Improved Power Supply Reliability | |
CN103050995B (en) | A kind of micro-capacitance sensor pilot system | |
CN105207258A (en) | Photovoltaic direct-current microgrid energy coordination control device | |
CN102916440A (en) | Battery energy storage system based power conversion system and control method thereof | |
CN114465291A (en) | Large-scale distributed flexible wind-solar storage-charge-discharge AC-DC hybrid system and control system based on energy cloud interconnection | |
Tang et al. | Energy storage control in renewable energy based microgrid | |
CN110752657A (en) | Power supply circuit and power supply control method based on multi-channel parallel input power supply | |
CN107465192A (en) | Mix the variable power control and DC voltage control method of microgrid | |
CN110676882A (en) | Routing relay circuit on alternating current side of bidirectional AC/DC converter in energy storage inverter and control method thereof | |
Bayati et al. | A novel control strategy for Reflex-based electric vehicle charging station with grid support functionality | |
CN104009478B (en) | A kind of it is applied to generation of electricity by new energy and the voltage-stabilizing system of electric automobile charging station and control method thereof | |
Jin et al. | A new control strategy of dc microgrid with photovoltaic generation and hybrid energy storage | |
Liu et al. | Design of an energy storage converter for microgrid applications | |
EP4336697A1 (en) | Photovoltaic power generation system | |
Miyagishima et al. | Maximum Power Point Tracking and Voltage Control in a Solar-PV based DC Microgrid Using Simulink |
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 | ||
CP02 | Change in the address of a patent holder |
Address after: No. 296, Luzhong Road, Xiangyang, Hubei Province Patentee after: HUBEI University OF ARTS AND SCIENCE Address before: 441053 No. 296, Longzhong Road, Xiangyang City, Xiangfan City, Hubei Province Patentee before: HUBEI University OF ARTS AND SCIENCE |
|
CP02 | Change in the address of a patent holder | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20230718 |
|
CF01 | Termination of patent right due to non-payment of annual fee |