CN116914901A - Hybrid energy storage cooperative control method and system based on model predictive control - Google Patents

Hybrid energy storage cooperative control method and system based on model predictive control Download PDF

Info

Publication number
CN116914901A
CN116914901A CN202310850621.8A CN202310850621A CN116914901A CN 116914901 A CN116914901 A CN 116914901A CN 202310850621 A CN202310850621 A CN 202310850621A CN 116914901 A CN116914901 A CN 116914901A
Authority
CN
China
Prior art keywords
energy storage
power
current
supercapacitor
hybrid energy
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.)
Pending
Application number
CN202310850621.8A
Other languages
Chinese (zh)
Inventor
丁敏
谭声吉
陶自立
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China University of Geosciences
Original Assignee
China University of Geosciences
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by China University of Geosciences filed Critical China University of Geosciences
Priority to CN202310850621.8A priority Critical patent/CN116914901A/en
Publication of CN116914901A publication Critical patent/CN116914901A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/34Parallel operation in networks using both storage and other DC sources, e.g. providing buffering
    • H02J7/345Parallel operation in networks using both storage and other DC sources, e.g. providing buffering using capacitors as storage or buffering devices
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J1/00Circuit arrangements for DC mains or DC distribution networks
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J1/00Circuit arrangements for DC mains or DC distribution networks
    • H02J1/14Balancing the load in a network
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J15/00Systems for storing electric energy
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/007Regulation of charging or discharging current or voltage
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/007Regulation of charging or discharging current or voltage
    • H02J7/00712Regulation of charging or discharging current or voltage the cycle being controlled or terminated in response to electric parameters

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Supply And Distribution Of Alternating Current (AREA)

Abstract

The invention provides a hybrid energy storage cooperative control method based on model predictive control, which comprises the following steps: determining a direct current micro-grid structure of the hybrid energy storage system; predicting and obtaining the predicted power required by the hybrid energy storage system at the next moment by using an outer ring model controller; dividing the predicted power by an outer loop low-pass filter to obtain power requirements of a battery and a super capacitor; according to the power demand, calculating to obtain reference values of output currents of the battery and the super capacitor, and taking the current reference values as inner ring current reference input values; and inputting the inner loop current reference input value into an inner loop controller of a battery and a super capacitor, and determining a group of switching modes meeting the outer loop power requirement and the inner loop current requirement according to the output of the inner loop controller. Therefore, the invention can be based on a double closed-loop control strategy of the power outer loop and the current inner loop, avoids complex parameter setting, has stronger stability to disturbance and shortens adjustment time.

Description

一种基于模型预测控制的混合储能协同控制方法及系统A hybrid energy storage collaborative control method and system based on model predictive control

技术领域Technical field

本发明涉及但不限于混合储能系统控制技术领域,尤其涉及一种基于模型预测控制的混合储能协同控制方法及系统。The present invention relates to, but is not limited to, the technical field of hybrid energy storage system control, and in particular, to a hybrid energy storage collaborative control method and system based on model predictive control.

背景技术Background technique

近年来,随着新能源发电在电力系统中的广泛应用,混合储能系统高效协同控制需求愈发强烈。典型的由高能量密度储能电池和超级电容器组成的混合储能系统,在新能源出力波动下,难以同时满足混合系统的平稳性和快速性。因此,有效的协同控制方法对于新能源间歇性功率平抑以及负荷需求变化至关重要的。In recent years, with the widespread application of new energy power generation in power systems, the demand for efficient collaborative control of hybrid energy storage systems has become increasingly intense. A typical hybrid energy storage system composed of high-energy-density energy storage batteries and supercapacitors cannot simultaneously satisfy the stability and rapidity of the hybrid system under fluctuations in new energy output. Therefore, effective collaborative control methods are crucial for intermittent power stabilization of new energy sources and changes in load demand.

传统IP控制,是基于低通滤波器功率进行分频的双闭环控制,该方法控制结构复杂,抗干扰性减弱,且参数调整过程较长,在系统工作点发生变化后难以保持良好的控制特性。为了克服传统PI控制缺陷,可以采用滑模控制(SMC)或者分散控制。滑模控制具有可变结构,对特定扰动和参数整定不敏感,但存在通信延迟、迟滞、动态响应慢等缺陷,会引入高频抖振,限制了系统频率的提高。而分散控制是通过混合储能之间动态功率共享的控制策略,在发电和负载变化期间,将虚拟电阻和电容下垂系数充当储能电池的低通滤波器和超级电容器的高通滤波器,但在负载频繁切换时,基于下垂控制的直流微电网电压会出现剧烈波动,线路阻抗产生的电压降,进一步影响直流母线电压的质量。Traditional IP control is a double closed-loop control based on frequency division by low-pass filter power. This method has a complex control structure, weakened anti-interference, and a long parameter adjustment process. It is difficult to maintain good control characteristics after the system operating point changes. . In order to overcome the shortcomings of traditional PI control, sliding mode control (SMC) or decentralized control can be used. Sliding mode control has a variable structure and is insensitive to specific disturbances and parameter tuning. However, it has defects such as communication delay, hysteresis, and slow dynamic response, which will introduce high-frequency chattering and limit the increase in system frequency. Decentralized control is a control strategy for dynamic power sharing between hybrid energy storage. During power generation and load changes, the virtual resistance and capacitance droop coefficient act as a low-pass filter for the energy storage battery and a high-pass filter for the supercapacitor, but during When loads are frequently switched, the DC microgrid voltage based on droop control will fluctuate violently, and the voltage drop caused by line impedance will further affect the quality of the DC bus voltage.

发明内容Contents of the invention

为了解决上述问题,本发明提供了一种基于模型预测控制的混合储能协同控制方法、装置、终端及存储介质。In order to solve the above problems, the present invention provides a hybrid energy storage collaborative control method, device, terminal and storage medium based on model predictive control.

本发明的技术方案是这样实现的:The technical solution of the present invention is implemented as follows:

一种基于模型预测控制的混合储能协同控制方法,所述方法包括:A hybrid energy storage collaborative control method based on model predictive control, the method includes:

S1:确定混合储能系统的直流微电网结构,所述混合储能系统包括并联的储能电池和超级电容;S1: Determine the DC microgrid structure of the hybrid energy storage system, which includes parallel energy storage batteries and supercapacitors;

S2:应用外环模型控制器预测得到所述混合储能系统下一时刻所需平抑的预测功率;S2: Use the outer loop model controller to predict the predicted power that the hybrid energy storage system needs to stabilize at the next moment;

S3:将所述预测功率通过外环低通滤波器分频,得到电池和超级电容的功率需求;S3: Divide the predicted power through the outer loop low-pass filter to obtain the power requirements of the battery and supercapacitor;

S4:根据所述储能电池和超级电容的功率需求,计算得到电池和超级电容输出电流的参考值iLlref和iL2ref,并将所述电流参考值iLlref和iL2ref作为电池和超级电容的内环电流参考输入值;S4: According to the power requirements of the energy storage battery and supercapacitor, calculate the reference values i Llref and i L2ref of the battery and supercapacitor output currents, and use the current reference values i Llref and i L2ref as the output currents of the battery and supercapacitor. Inner loop current reference input value;

S5:将所述内环电流参考输入值输入电池和超级电容的内环控制器,并根据所述内环控制器的输出确定满足外环功率需求和内环电流需求的一组开关模态,从而对混合储能系统进行控制。S5: Input the inner loop current reference input value into the inner loop controller of the battery and supercapacitor, and determine a set of switching modes that meet the outer loop power demand and the inner loop current demand based on the output of the inner loop controller, Thereby controlling the hybrid energy storage system.

进一步地,所述方法还包括:Further, the method also includes:

S21:根据系统超级电容的母线电压恢复等速趋近方式,计算混合系统K+1时刻的输出电流,表述为:S21: According to the constant-speed approach method of bus voltage recovery of the system supercapacitor, calculate the output current of the hybrid system at K+1 moment, expressed as:

其中,k为采样时刻,iC(k+1)为k+1时刻直流母线电容电流,iload(k)为k时刻的负载电流,iPV(k)为k时刻电源输出电流,C为直流母线电容,Ts为所述预测控制器的采样周期时间,N为母线电压趋近步数,Vdcref为直流母线目标电压,Vdc(k)为k时刻的直流母线电压,iref(k+1)为k+1时刻混合储能系统输出电流;Among them, k is the sampling time, i C (k+1) is the DC bus capacitance current at k + 1 time, i load (k) is the load current at time k, i PV (k) is the power supply output current at time k, and C is DC bus capacitance, T s is the sampling cycle time of the predictive controller, N is the number of bus voltage approach steps, V dcref is the DC bus target voltage, V dc (k) is the DC bus voltage at time k, i ref ( k+1) is the output current of the hybrid energy storage system at time k+1;

S22:根据所述混合储能系统输出电流iref(k+1),得到混合储能系统k+1时刻的预测功率,表述为:S22: According to the output current i ref (k+1) of the hybrid energy storage system, obtain the predicted power of the hybrid energy storage system at time k+1, which is expressed as:

pref(k+1)=Vdcref·iref(k+1)p ref (k+1)=V dcref ·i ref (k+1)

所述预测功率即为所述混合储能系统所需平抑的功率。The predicted power is the power required to be stabilized by the hybrid energy storage system.

进一步地,所述方法还包括:Further, the method also includes:

将所述预测功率pref(k+1)作为外环功率低通滤波器输入,外环功率低通滤波器输出pbat(k+1)为储能电池的功率需求;pref(k+1)减去低通滤波器输出得到psc(k+1)为超级电容的功率需求。The predicted power p ref (k+1) is used as the input of the outer loop power low-pass filter, and the output p bat (k+1) of the outer loop power low-pass filter is the power demand of the energy storage battery; p ref (k+ 1) Subtract the low-pass filter output to get p sc (k+1) which is the power requirement of the supercapacitor.

进一步地,所述方法还包括:Further, the method also includes:

计算得到储能电池和超级电容输出电流的参考值iLlref和iL2ref为:The reference values i Llref and i L2ref of the energy storage battery and supercapacitor output current are calculated as:

其中,Vbat为储能电池端电压,Vsc为超级电容端电压。Among them, V bat is the terminal voltage of the energy storage battery, and V sc is the terminal voltage of the supercapacitor.

进一步地,所述方法还包括:Further, the method also includes:

S51:确定混合存储系统的在小信号模型下电流对占空比的传递函数Gid_bat,表述为:S51: Determine the current-to-duty cycle transfer function G id_bat of the hybrid storage system under the small-signal model, which is expressed as:

其中,Dbat为占空比,ibat为电池实际输出电流,C为超级电容大小,R为负载大小,L1为电池第一电感大小,Vdc为直流母线电压,s和d均为给定值;Among them, D bat is the duty cycle, i bat is the actual output current of the battery, C is the supercapacitor size, R is the load size, L 1 is the first inductance size of the battery, V dc is the DC bus voltage, s and d are both given Value;

S52:对内环电流跟踪的PI控制器传递函数的参数进行整定,所述PI控制器传递函数Gpi,表述为:S52: Adjust the parameters of the PI controller transfer function for inner loop current tracking. The PI controller transfer function G pi is expressed as:

其中,KP是比例系数,Ki是积分系数,KP和Ki均为待整定参数;Among them, K P is the proportional coefficient, K i is the integral coefficient, and K P and K i are parameters to be tuned;

S53:将所述内环电流参考输入值作为传递函数Gid_bat和PI控制器的传递函数Gpi构成的所述内环控制器,得到实际输出电流ibatS53: Use the inner loop current reference input value as the transfer function G id_bat and the inner loop controller composed of the transfer function G pi of the PI controller to obtain the actual output current i bat ;

S54:根据所述内环控制器的输出,确定满足外环功率需求和内环电流需求的一组开关模态。S54: According to the output of the inner loop controller, determine a set of switching modes that meet the outer loop power demand and the inner loop current demand.

进一步地,所述方法还包括:Further, the method also includes:

首先计算下一采样周期所有开关模式下的输出功率,然后根据得到的输出功率计算下一次采样周期储能电池和超级电容的输出电流,最后选择最接近功率需求和电流需求的一组开关模式输出到储能电池主电路或超级电容主电路的开关管,以实现对每组混合储能系统进行MPC-PI控制。First, calculate the output power in all switching modes in the next sampling period, then calculate the output current of the energy storage battery and supercapacitor in the next sampling period based on the obtained output power, and finally select a set of switching mode outputs that are closest to the power demand and current demand. to the switching tube of the main circuit of the energy storage battery or the main circuit of the supercapacitor to realize MPC-PI control of each group of hybrid energy storage systems.

本发明实施例还提供了一种基于模型预测控制的混合储能协同控制系统,包括:Embodiments of the present invention also provide a hybrid energy storage collaborative control system based on model predictive control, including:

初始确定模块,用于确定混合储能系统的直流微电网结构,所述混合储能系统包括并联的储能电池和超级电容;An initial determination module, used to determine the DC microgrid structure of a hybrid energy storage system, which includes parallel energy storage batteries and supercapacitors;

功率预测模块,用于应用外环模型控制器预测得到所述混合储能系统下一时刻所需平抑的预测功率;The power prediction module is used to predict the predicted power required to be stabilized by the hybrid energy storage system at the next moment by using the outer loop model controller;

所述功率预测模块,也用于将所述预测功率通过外环低通滤波器分频,得到储能电池和超级电容的功率需求;The power prediction module is also used to divide the predicted power through an outer loop low-pass filter to obtain the power requirements of the energy storage battery and supercapacitor;

电流预测模块,用于根据所述储能电池和超级电容的功率需求,计算得到电池和超级电容输出电流的参考值iL1ref和iL2ref,并将所述电流参考值iL1ref和iL2ref作为电池和超级电容的内环电流参考输入值;A current prediction module, configured to calculate the reference values i L1ref and i L2ref of the battery and supercapacitor output currents according to the power requirements of the energy storage battery and the supercapacitor, and use the current reference values i L1ref and i L2ref as the battery and the inner loop current reference input value of the supercapacitor;

控制模块,用于将所述内环电流参考输入值输入电池和超级电容的内环控制器,并根据所述内环控制器的输出确定满足外环功率需求和内环电流需求的一组开关模态,从而对混合储能系统进行控制。A control module configured to input the inner loop current reference input value into the inner loop controller of the battery and supercapacitor, and determine a set of switches that meet the outer loop power demand and the inner loop current demand based on the output of the inner loop controller. mode to control the hybrid energy storage system.

本发明实施例提供一种基于模型预测控制的混合储能协同控制方法,确定混合储能系统的直流微电网结构,所述混合储能系统包括并联的储能电池和超级电容;应用外环模型控制器预测得到所述混合储能系统下一时刻所需平抑的预测功率;将所述预测功率通过外环低通滤波器分频,得到电池和超级电容的功率需求;根据所述储能电池和超级电容的功率需求,计算得到电池和超级电容输出电流的参考值,并将所述电流参考值作为系统储能电池和超级电容的内环电流参考输入值;将所述内环电流参考输入值作输入所述内环控制器;根据内环控制器的输出确定满足外环功率需求和内环电流需求的一组开关模态,从而对混合储能系统进行控制。如此,本发明可以基于功率外环和电流内环的双闭环控制策,避免复杂的参数整定,对扰动具有更强的稳定性,缩短了调整时间。Embodiments of the present invention provide a hybrid energy storage collaborative control method based on model predictive control to determine the DC microgrid structure of a hybrid energy storage system that includes parallel energy storage batteries and supercapacitors; applying an outer loop model The controller predicts and obtains the predicted power that the hybrid energy storage system needs to stabilize at the next moment; divides the predicted power through the outer loop low-pass filter to obtain the power requirements of the battery and supercapacitor; according to the energy storage battery and the power demand of the supercapacitor, calculate the reference value of the output current of the battery and supercapacitor, and use the current reference value as the inner loop current reference input value of the system energy storage battery and supercapacitor; input the inner loop current reference The value is used as input to the inner loop controller; a set of switching modes that meet the outer loop power demand and the inner loop current demand are determined according to the output of the inner loop controller, thereby controlling the hybrid energy storage system. In this way, the present invention can be based on the double closed-loop control strategy of the power outer loop and the current inner loop, avoid complex parameter settings, have stronger stability against disturbances, and shorten the adjustment time.

附图说明Description of the drawings

下面将结合附图及实施例对本发明作进一步说明,附图中:The present invention will be further described below in conjunction with the accompanying drawings and examples. In the accompanying drawings:

图1是本发明实施例中一种基于模型预测控制的混合储能协同控制方法的流程示意图;Figure 1 is a schematic flow chart of a hybrid energy storage collaborative control method based on model predictive control in an embodiment of the present invention;

图2是本发明实施例中一种混合储能系统的直流微电网拓扑结构图;Figure 2 is a DC microgrid topology diagram of a hybrid energy storage system in an embodiment of the present invention;

图3是本发明实施例中一种母线电压恢复步骤示意图;Figure 3 is a schematic diagram of bus voltage recovery steps in an embodiment of the present invention;

图4是本发明实施例中一种外环低通滤波器控制示意图;Figure 4 is a control schematic diagram of an outer loop low-pass filter in an embodiment of the present invention;

图5是本发明实施例中一种储能电池电流内环控制框图;Figure 5 is an energy storage battery current inner loop control block diagram in an embodiment of the present invention;

图6是本发明实施例中一种基于模型预测控制的混合储能协同控制系统结构示意图;Figure 6 is a schematic structural diagram of a hybrid energy storage collaborative control system based on model predictive control in an embodiment of the present invention;

图7是本发明实施例中一种基于模型预测控制的混合储能协同控制方法的新能源光伏发电输出功率的仿真结果示意图;Figure 7 is a schematic diagram of the simulation results of the new energy photovoltaic power generation output power of a hybrid energy storage collaborative control method based on model predictive control in an embodiment of the present invention;

图8是本发明实施例中一种基于模型预测控制的混合储能协同控制方法的负载功率波动的仿真结果示意图;Figure 8 is a schematic diagram of the simulation results of load power fluctuations of a hybrid energy storage collaborative control method based on model predictive control in an embodiment of the present invention;

图9是本发明实施例中一种基于模型预测控制的混合储能协同控制方法混合储能功率输出预测的仿真结果示意图;Figure 9 is a schematic diagram of the simulation results of hybrid energy storage power output prediction based on a model predictive control-based hybrid energy storage collaborative control method in an embodiment of the present invention;

图10是本发明实施例中一种基于模型预测控制的混合储能协同控制方法混合储能高低频功率分配的仿真结果示意图;Figure 10 is a schematic diagram of the simulation results of high and low frequency power distribution of hybrid energy storage based on a model predictive control-based hybrid energy storage collaborative control method in an embodiment of the present invention;

图11是本发明实施例中作为对比实验增加的传统PI双环控制效果示意图;Figure 11 is a schematic diagram of the traditional PI double-loop control effect added as a comparative experiment in the embodiment of the present invention;

图12是本发明实施例中作为对比实验增加的本发明的MPC-PI控制效果示意图。Figure 12 is a schematic diagram of the MPC-PI control effect of the present invention added as a comparative experiment in the embodiment of the present invention.

具体实施方式Detailed ways

为了对本发明的技术特征、目的和效果有更加清楚的理解,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本发明,并不用于限定本发明。In order to have a clearer understanding of the technical features, purposes and effects of the present invention, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention and are not intended to limit the present invention.

在后续的描述中,使用用于表示元件的诸如“模块”、“部件”或“单元”的后缀仅为了有利于本发明的说明,其本身没有特定的意义。因此,“模块”、“部件”或“单元”可以混合地使用。In the following description, suffixes such as "module", "component" or "unit" used to represent elements are only used to facilitate the description of the present invention and have no specific meaning in themselves. Therefore, "module", "component" or "unit" may be used interchangeably.

请参考图1,本发明实施例提供了一种基于模型预测控制的混合储能协同控制方法,具体包括如下步骤:Please refer to Figure 1. An embodiment of the present invention provides a hybrid energy storage collaborative control method based on model predictive control, which specifically includes the following steps:

S1:确定混合储能系统的直流微电网结构,所述混合储能系统包括并联的储能电池和超级电容;S1: Determine the DC microgrid structure of the hybrid energy storage system, which includes parallel energy storage batteries and supercapacitors;

S2:应用外环模型控制器预测得到所述混合储能系统下一时刻所需平抑的预测功率;S2: Use the outer loop model controller to predict the predicted power that the hybrid energy storage system needs to stabilize at the next moment;

S3:将所述预测功率通过外环低通滤波器分频,得到储能电池和超级电容的功率需求;S3: Divide the predicted power through the outer loop low-pass filter to obtain the power requirements of the energy storage battery and supercapacitor;

S4:根据所述储能电池和超级电容的功率需求,计算得到电池和超级电容输出电流的参考值iL1ref和iL2ref,并将所述电流参考值iL1ref和iL2ref作为电池和超级电容的内环电流参考输入值;S4: According to the power requirements of the energy storage battery and supercapacitor, calculate the reference values i L1ref and i L2ref of the battery and supercapacitor output currents, and use the current reference values i L1ref and i L2ref as the output currents of the battery and supercapacitor. Inner loop current reference input value;

S5:将所述内环电流参考输入值输入电池和超级电容的内环控制器,并根据所述内环控制器的输出确定满足外环功率需求和内环电流需求的一组开关模态,从而对混合储能系统进行控制。S5: Input the inner loop current reference input value into the inner loop controller of the battery and supercapacitor, and determine a set of switching modes that meet the outer loop power demand and the inner loop current demand based on the output of the inner loop controller, Thereby controlling the hybrid energy storage system.

本发明实施例所述方法由终端执行。所述终端可以是各类型的终端;例如,所述终端可以是但不限于是以下至少之一:服务器、计算机、平板电脑或者其他电子设备。The method described in the embodiment of the present invention is executed by the terminal. The terminal may be various types of terminals; for example, the terminal may be, but is not limited to, at least one of the following: a server, a computer, a tablet, or other electronic equipment.

进一步的,所述步骤S1包括:Further, the step S1 includes:

S11:确定直流微电网结构,包括储能电池和超级电容并联的混合储能系统,所述储能电池包括第一电感和第二电感;S11: Determine the DC microgrid structure, including a hybrid energy storage system in which an energy storage battery and a supercapacitor are connected in parallel. The energy storage battery includes a first inductor and a second inductor;

S12:根据所述直流微电网结构中开关对应的电路模态,建立所述混合储能系统数学模型,如下:S12: Establish a mathematical model of the hybrid energy storage system according to the circuit mode corresponding to the switch in the DC microgrid structure, as follows:

其中,L1为第一电感大小,L2为第二电感大小,iL1为流过第一电感电流,iL2为流过第二电感电流,VBAT为储能电池电压,VsC为超级电容器电压,Vdc为系统输出电压,SW1和SW3均为开关模态。Among them, L 1 is the size of the first inductor, L 2 is the size of the second inductor, i L1 is the current flowing through the first inductor, i L2 is the current flowing through the second inductor, V BAT is the energy storage battery voltage, and V sC is the super Capacitor voltage, V dc is the system output voltage, SW 1 and SW 3 are both in switching mode.

示例性的,如图2所示的混合储能系统的直流微电网拓扑结构图,包括储能电池和超级电容并联的混合储能系统。L1为第一电感大小,L2为第二电感大小,iL1为流过第一电感电流,iL2为流过第二电感电流,VBAT为储能电池电压,VSC为超级电容器电压,Vdc为系统输出电压,SW1为第一开关模态,SW2为第二开关模态,SW3为第三开关模态,SW4为第四开关模态,且开关模取值0或1,SW1、SW2取值相反,SW3、SW4取值相反。For example, the DC microgrid topology diagram of a hybrid energy storage system shown in Figure 2 includes a hybrid energy storage system in which energy storage batteries and supercapacitors are connected in parallel. L 1 is the size of the first inductor, L 2 is the size of the second inductor, i L1 is the current flowing through the first inductor, i L2 is the current flowing through the second inductor, V BAT is the energy storage battery voltage, V SC is the supercapacitor voltage , V dc is the system output voltage, SW 1 is the first switching mode, SW 2 is the second switching mode, SW 3 is the third switching mode, SW 4 is the fourth switching mode, and the switching mode takes the value 0 Or 1, SW 1 and SW 2 have opposite values, SW 3 and SW 4 have opposite values.

进一步的,所述步骤S2包括:Further, the step S2 includes:

S21:根据系统超级电容的母线电压恢复等速趋近方式,计算混合系统K+1时刻的输出电流,表述为:S21: According to the constant-speed approach method of bus voltage recovery of the system supercapacitor, calculate the output current of the hybrid system at K+1 moment, expressed as:

其中,k为采样时刻,iC(k+1)为k+1时刻直流母线电容电流,iload(k)为k时刻的负载电流,iPV(k)为k时刻电源输出电流,C为直流母线电容,Ts为所述预测控制器的采样周期时间,N为母线电压趋近步数,Vdcref为直流母线目标电压,Vdc(k)为k时刻的直流母线电压,iref(k+1)为k+1时刻混合储能系统输出电流;Among them, k is the sampling time, i C (k+1) is the DC bus capacitance current at k + 1 time, i load (k) is the load current at time k, i PV (k) is the power supply output current at time k, and C is DC bus capacitance, T s is the sampling cycle time of the predictive controller, N is the number of bus voltage approach steps, V dcref is the DC bus target voltage, V dc (k) is the DC bus voltage at time k, i ref ( k+1) is the output current of the hybrid energy storage system at time k+1;

S22:根据所述混合储能系统输出电流iref(k+1),得到混合储能系统k+1时刻的预测功率,表述为:S22: According to the output current i ref (k+1) of the hybrid energy storage system, obtain the predicted power of the hybrid energy storage system at time k+1, which is expressed as:

pref(k+1)=Vdcref·iref(k+1) (1.13)p ref (k+1)=V dcref ·i ref (k+1) (1.13)

其中,pref(k+1)为系统k+1时刻的预测功率,Vdcref为直流母线目标电压,iref(k+1)为系统K+1时刻的输出电流;所述预测功率即为所述混合储能系统所需平抑的功率。Among them, p ref (k+1) is the predicted power of the system at time k+1, V dcref is the target DC bus voltage, and i ref (k+1) is the output current of the system at time K+1; the predicted power is The power required for stabilization by the hybrid energy storage system.

进一步的,所述步骤S21还包括:Further, the step S21 also includes:

S21a:根据系统超级电容的母线电压恢复等速趋近方式,得到混合储能系统K+1时刻超级电容的电压预测值,表述为:S21a: According to the constant-speed approach method of bus voltage recovery of the system supercapacitor, the voltage prediction value of the supercapacitor at the K+1 moment of the hybrid energy storage system is obtained, which is expressed as:

其中,N为趋近步数。Among them, N is the number of approaching steps.

具体的,所述趋近步数N的取值可由设置最大稳态跟踪误差确定:Specifically, the value of the number of approaching steps N can be determined by setting the maximum steady-state tracking error:

示例性的,如图3所示的母线电压恢复步骤示意图,Vdc(k)为采样时刻k的超级电容端的电压值,Vdc(k+1)为k+1时刻的超级电容端恢复到的电压值,Vdc(k+2)为k+2时刻的超级电容端恢复到的电压值,Vdcref为最后时刻的超级电容端恢复到的直流母线目标电压值,按照图3所示的母线电压恢复步骤设计电压恢复等速趋近方式。For example, as shown in the schematic diagram of the bus voltage recovery steps in Figure 3, V dc (k) is the voltage value of the supercapacitor terminal at sampling time k, and V dc (k+1) is the voltage value at the supercapacitor terminal at time k + 1. The voltage value of The bus voltage recovery step is designed with a constant speed approach method for voltage recovery.

S21b:流过母线电容的电流iC可表示为:S21b: The current i C flowing through the bus capacitor can be expressed as:

其中,C为超级电容的大小,u为超级电容的端电压。Among them, C is the size of the supercapacitor, and u is the terminal voltage of the supercapacitor.

S21c:根据母线电压变化可以推导出电容电流变化,将式(0.4)离散化可得:S21c: According to the change of bus voltage, the change of capacitance current can be deduced. By discretizing equation (0.4), we can get:

其中,iC(k+1)为系统k+1时刻流过超级电容的电流,Ts为所述预测控制器的采样周期时间,Vdc(k+1)为系统k+1时刻超级电容的端电压,Vdc(k)为系统k时刻超级电容的端电压。Among them, i C (k+1) is the current flowing through the supercapacitor at system k+1, T s is the sampling cycle time of the predictive controller, and V dc (k+1) is the supercapacitor at system k+1. The terminal voltage of , V dc (k) is the terminal voltage of the supercapacitor at time k of the system.

S21d:根据式(0.6)和(0.7),计算混合系统K+1时刻的直流母线电容电流,表述为:S21d: According to equations (0.6) and (0.7), calculate the DC bus capacitance current of the hybrid system at K+1, expressed as:

其中,k为采样时刻,iC(k+1)为k+1时刻直流母线电容电流,iload(k)为k时刻的负载电流,iPV(k)为k时刻电源输出电流,C为直流母线电容,Ts为所述预测控制器的采样周期时间,N为母线电压趋近步数,Vdcref为直流母线目标电压,Vdc(k)为k时刻的直流母线电压;Among them, k is the sampling time, i C (k+1) is the DC bus capacitance current at k + 1 time, i load (k) is the load current at time k, i PV (k) is the power supply output current at time k, and C is DC bus capacitance, T s is the sampling cycle time of the predictive controller, N is the number of bus voltage approach steps, V dcref is the DC bus target voltage, V dc (k) is the DC bus voltage at time k;

S21e:新能源光伏发电采用最大功率点跟踪功率,采样时刻k电池输出电流:S21e: New energy photovoltaic power generation uses maximum power point tracking power, and the battery output current k at the sampling time is:

其中VPV_MPPT为光伏发电最大功率点对应电压,PPV(k)为电池最大功率点跟踪功率;Among them, V PV_MPPT is the voltage corresponding to the maximum power point of photovoltaic power generation, and P PV (k) is the maximum power point tracking power of the battery;

S21f:根据基尔霍夫电流定律可以推导出混合储能系统的输出电流:S21f: According to Kirchhoff’s current law, the output current of the hybrid energy storage system can be derived:

iref=ic+iload-iPV (0.9)i ref =i c +i load -i PV (0.9)

其中,iref为混合储能系统输出电流,iload为采样时刻的负载电流,iPV采样时刻的电池输出电流;Among them, i ref is the output current of the hybrid energy storage system, i load is the load current at the sampling time, and i PV is the battery output current at the sampling time;

需要说明的是,所述基尔霍夫电流定律为,电路中流入任意节点的电流之和等于流出节点的电流之和。It should be noted that Kirchhoff's current law is that the sum of currents flowing into any node in the circuit is equal to the sum of currents flowing out of the node.

S21g:结合式(0.10)、(0.11)和(1.11)可得混合储能系统下一时刻的输出电流iref(k+1),表述为:S21g: Combining equations (0.10), (0.11) and (1.11), the output current i ref (k+1) of the hybrid energy storage system at the next moment can be obtained, which is expressed as:

其中,iref(k+1)为k+1时刻混合储能系统输出电流,iload(k)为采样时刻k的负载电流,iPV(k)采样时刻k的电池输出电流;Among them, i ref (k+1) is the output current of the hybrid energy storage system at time k + 1, i load (k) is the load current at sampling time k, and i PV (k) is the battery output current at sampling time k;

S21i:根据所述混合储能系统输出电流iref(k+1),得到混合储能系统k+1时刻的预测功率pref(k+1)。S21i: According to the hybrid energy storage system output current i ref (k+1), obtain the predicted power p ref (k+1) of the hybrid energy storage system at time k+1.

如此,本发明实施例可以基于母线电压动态恢复能力,设计基于混合储能系统拓扑结构的预测模型,对所述混合储能系统功率输出进行预测控制,在新能源出力波动以及负载波动时,保证母线电压稳定,从而提高整个系统运行的平稳性。且,在母线电压参考量的限定下对所述混合储能系统功率输出进行预测控制,可以保证母线尽量减少超调量,合理利用光伏新能源,节约资源。In this way, embodiments of the present invention can design a prediction model based on the topology of the hybrid energy storage system based on the bus voltage dynamic recovery capability, perform predictive control on the power output of the hybrid energy storage system, and ensure that when the new energy output fluctuates and the load fluctuates, The bus voltage is stable, thereby improving the stability of the entire system operation. Moreover, predictive control of the power output of the hybrid energy storage system under the limit of the bus voltage reference can ensure that the bus overshoot is minimized, photovoltaic new energy is rationally utilized, and resources are saved.

进一步的,所述步骤S3包括:Further, the step S3 includes:

S31:将所述预测功率pref(k+1)作为外环功率低通滤波器输入,外环功率低通滤波器输出pbat(k+1)为储能电池的功率需求;S31: Use the predicted power p ref (k+1) as the input of the outer loop power low-pass filter, and the output p bat (k+1) of the outer loop power low-pass filter is the power demand of the energy storage battery;

这里,所述外环功率低通滤波器传递函数可表示为:Here, the transfer function of the outer loop power low-pass filter can be expressed as:

其中,ωc为截止频率;所述预测功率分配到高频部分和低频部分,可表述为:Among them, ω c is the cut-off frequency; the predicted power is distributed to the high-frequency part and the low-frequency part, which can be expressed as:

其中,Pref为混合储能参考功率、Pbat和Psc分别、储能电池输出功率、超级电容器输出功率。Among them, P ref is the hybrid energy storage reference power, P bat and P sc respectively, the energy storage battery output power, and the supercapacitor output power.

S32:pref(k+1)减去低通滤波器输出得到psc(k+1)为超级电容的功率需求。S32: p ref (k+1) minus the low-pass filter output gives p sc (k+1), which is the power requirement of the supercapacitor.

示例性的,如图4所示的外环低通滤波器控制示意图,通过所述外环低通滤波器,将功率pref分频解耦,得到高频功率Psc和低频功率PbatFor example, as shown in the outer loop low-pass filter control schematic diagram in Figure 4, the power p ref is frequency-divided and decoupled through the outer loop low-pass filter to obtain high-frequency power P sc and low-frequency power P bat .

进一步的,所述步骤S3还包括:根据式(1.3)和(1.13),得到下一时刻得到储能电池和超级电容的功率需求,表述为:Further, the step S3 also includes: according to equations (1.3) and (1.13), obtain the power requirements of the energy storage battery and supercapacitor at the next moment, which is expressed as:

Psc(k+1)=pref(k+1)-Pbat(k+1) (0.16)P sc (k+1)=p ref (k+1)-P bat (k+1) (0.16)

其中,pbat(k+1)为系统下一时刻储能电池的功率需求,psc(k+1)为系统下一时刻超级电容的功率需求。Among them, p bat (k+1) is the power demand of the energy storage battery at the next moment of the system, and p sc (k+1) is the power demand of the supercapacitor at the next moment of the system.

可以理解的是,滤波器具有设计简单响应速度快的特点,为了保证储能电池能够承受当量低通滤波后的电量,截止频率ωc的选取应该大于或等于储能电池的响应时间,同时需要尽可能保证高频功率波动能够有效分离。如此,本发明实施例可以通过低通滤波器对高低频功率解耦,高频功率波动由超级电容吸收或提供,低频功率波动由储能电池吸收或提供,实现混合储能动态功率共享。It is understandable that the filter has the characteristics of simple design and fast response speed. In order to ensure that the energy storage battery can withstand the equivalent power after low-pass filtering, the selection of the cut-off frequency ω c should be greater than or equal to the response time of the energy storage battery. At the same time, it needs Ensure that high-frequency power fluctuations can be effectively separated as much as possible. In this way, embodiments of the present invention can decouple high- and low-frequency power through low-pass filters. High-frequency power fluctuations are absorbed or provided by supercapacitors, and low-frequency power fluctuations are absorbed or provided by energy storage batteries, achieving dynamic power sharing with hybrid energy storage.

进一步的,所述步骤S4中,计算得到储能电池和超级电容输出电流的参考值iLlref和iL2ref为:Further, in step S4, the reference values i Llref and i L2ref of the energy storage battery and supercapacitor output currents are calculated as:

其中,Vbat为储能电池端电压,Vsc为超级电容端电压。Among them, V bat is the terminal voltage of the energy storage battery, and V sc is the terminal voltage of the supercapacitor.

进一步的,所述步骤S5包括:Further, the step S5 includes:

S51:确定混合存储系统的在小信号模型下电流对占空比的传递函数Gid_bat,表述为:S51: Determine the current-to-duty cycle transfer function G id_bat of the hybrid storage system under the small-signal model, which is expressed as:

其中,Dbat为占空比,ibat为电池实际输出电流,C为超级电容大小,R为负载大小,L1为电池第一电感大小,Vdc为直流母线电压,s和d均为给定值;Among them, D bat is the duty cycle, i bat is the actual output current of the battery, C is the supercapacitor size, R is the load size, L 1 is the first inductance size of the battery, V dc is the DC bus voltage, s and d are both given Value;

S52:对内环电流跟踪的PI控制器传递函数的参数进行整定,所述PI控制器传递函数Gpi,表述为:S52: Adjust the parameters of the PI controller transfer function for inner loop current tracking. The PI controller transfer function G pi is expressed as:

示例性的,如图5所示的储能电池电流内环控制框图,内环电流跟踪采用比例积分控制,所述内环电流低通滤波器的传递函数包括电流对占空比的传递函数Gid_bat和PI控制器Gpi,所述PI控制器Gpi可表示为:For example, as shown in the energy storage battery current inner loop control block diagram in Figure 5, the inner loop current tracking adopts proportional integral control. The transfer function of the inner loop current low-pass filter includes the transfer function G of current to duty cycle. id_bat and PI controller G pi , the PI controller G pi can be expressed as:

其中,KP是比例系数,Ki是积分系数,KP和Ki均为待整定参数;Among them, KP is the proportional coefficient, Ki is the integral coefficient, and both KP and Ki are parameters to be tuned;

S53:将所述内环电流参考输入值作为传递函数Gid_bat和PI控制器的传递函数Gpi构成的所述内环控制器,得到实际输出电流ibatS53: Use the inner loop current reference input value as the transfer function G id_bat and the inner loop controller composed of the transfer function G pi of the PI controller to obtain the actual output current i bat ;

S54:根据所述内环控制器的输出,所述混合储能系统数学模型,确定满足外环功率需求和内环电流需求的一组开关模态。S54: According to the output of the inner loop controller and the mathematical model of the hybrid energy storage system, determine a set of switching modes that meet the outer loop power demand and the inner loop current demand.

进一步的,所述步骤S51还包括:Further, the step S51 also includes:

S51a:确定储能电池双向DC-DC电路模型的系统状态方程,表述为:S51a: Determine the system state equation of the energy storage battery bidirectional DC-DC circuit model, which is expressed as:

其中iO为DC-DC实际输出电流,Dbat为占空比;Among them, i O is the actual DC-DC output current, and D bat is the duty cycle;

S51b:根据所述系统状态方程,建立储能电池双向DC-DC电路模型的小信号模型,得到系统在小信号模型下电流对占空比的传递函数Gid_batS51b: Based on the system state equation, establish a small signal model of the energy storage battery bidirectional DC-DC circuit model, and obtain the transfer function G id_bat of the system's current to duty cycle under the small signal model.

进一步的,所述步骤S52还包括:通过所述储能电池双向DC-DC电路模型的小信号模型对内环电流跟踪的PI控制器传递函数的参数进行整定。Further, the step S52 also includes: adjusting the parameters of the PI controller transfer function of the inner loop current tracking through the small signal model of the energy storage battery bidirectional DC-DC circuit model.

可以理解的是,类似地可以得到超级电容的电流内环控制框图以及传递函数。It can be understood that the current inner loop control block diagram and transfer function of the supercapacitor can be obtained similarly.

进一步的,所述步骤S53还包括:将所述内环电流参考输入值与实际输出电流的偏差作为传递函数Gid_ba1和PI控制器的传递函数Gpi构成的所述内环控制器,得到实际输出电流ibatFurther, the step S53 also includes: using the deviation between the inner loop current reference input value and the actual output current as the transfer function G id_ba1 and the inner loop controller composed of the transfer function G pi of the PI controller to obtain the actual Output current i bat .

进一步的,所述步骤S54还包括:Further, the step S54 also includes:

S54a:基于所述混合储能系统数学模型,即式(0.21),得到混合储能系统内环电流输出模型,表述为:S54a: Based on the mathematical model of the hybrid energy storage system, that is, equation (0.21), obtain the inner loop current output model of the hybrid energy storage system, which is expressed as:

S54b:将内环预测电流iLlref(k+1)和iL2ref(k+1)代入所述混合储能系统内环电流输出模型,确定满足外环功率需求和内环电流需求的一组开关模态。S54b: Substitute the inner loop predicted current i Llref (k+1) and i L2ref (k+1) into the inner loop current output model of the hybrid energy storage system to determine a set of switches that meet the outer loop power demand and the inner loop current demand. modal.

可以理解的是,本发明提供的模型预测控制方法具体为,首先计算下一采样周期所有开关模式下的输出功率,然后根据得到的输出功率计算下一次采样周期储能电池和超级电容的输出电流,最后选择最接近功率需求和电流需求的一组开关模式输出到储能电池主电路或超级电容主电路的开关管,以实现对每组混合储能系统进行MPC-PI控制。It can be understood that the model predictive control method provided by the present invention is specifically: first, calculate the output power in all switching modes in the next sampling period, and then calculate the output current of the energy storage battery and supercapacitor in the next sampling period based on the obtained output power. , and finally select a group of switching modes closest to the power demand and current demand to output to the switching tubes of the energy storage battery main circuit or supercapacitor main circuit to achieve MPC-PI control of each group of hybrid energy storage systems.

需要说明的是,本发明实施例考虑了在整个控制过程中新能源出力以及负荷变化时对直流母线电压变化的影响,设计了功率外环,电流内环的双闭环控制策略。如此,本发明实施例可以基于功率外环和电流内环的双闭环控制策,提高控制的快速性,与传统PI双闭环相比,避免了复杂的参数整定,对扰动具有更强的稳定性,并缩短了调整时间。It should be noted that the embodiment of the present invention considers the impact of new energy output and load changes on DC bus voltage changes during the entire control process, and designs a double closed-loop control strategy of power outer loop and current inner loop. In this way, the embodiment of the present invention can improve the speed of control based on the double closed-loop control strategy of the power outer loop and the current inner loop. Compared with the traditional PI double closed loop, it avoids complex parameter setting and has stronger stability against disturbances. , and shorten the adjustment time.

请参考图6,本发明实施例还提供了一种基于模型预测控制的混合储能协同控制系统,所述系统包括:初始确定模块201,功率预测模块202,电流预测模块203,控制模块204;其中,Referring to Figure 6, an embodiment of the present invention also provides a hybrid energy storage collaborative control system based on model predictive control. The system includes: an initial determination module 201, a power prediction module 202, a current prediction module 203, and a control module 204; in,

所述初始确定模块201,用于确定混合储能系统的直流微电网结构,所述混合储能系统包括并联的储能电池和超级电容;The initial determination module 201 is used to determine the DC microgrid structure of a hybrid energy storage system, which includes parallel energy storage batteries and supercapacitors;

所述功率预测模块202,用于应用外环模型控制器预测得到所述混合储能系统下一时刻所需平抑的预测功率;The power prediction module 202 is used to use an outer loop model controller to predict the predicted power that the hybrid energy storage system needs to stabilize at the next moment;

所述功率预测模块202,也用于将所述预测功率通过外环低通滤波器分频,得到储能电池和超级电容的功率需求;The power prediction module 202 is also used to divide the predicted power through an outer loop low-pass filter to obtain the power requirements of the energy storage battery and supercapacitor;

所述电流预测模块203,用于根据所述储能电池和超级电容的功率需求,计算得到电池和超级电容输出电流的参考值iLlref和iL2ref,并将所述电流参考值iL1ref和iL2ref作为电池和超级电容的内环电流参考输入值;The current prediction module 203 is used to calculate the reference values i Llref and i L2ref of the battery and supercapacitor output currents according to the power requirements of the energy storage battery and the supercapacitor, and calculate the current reference values i L1ref and i L2ref serves as the inner loop current reference input value of the battery and supercapacitor;

所述控制模块204,用于将所述内环电流参考输入值输入电池和超级电容的内环控制器,并根据所述内环控制器的输出确定满足外环功率需求和内环电流需求的一组开关模态,从而对混合储能系统进行控制。The control module 204 is used to input the inner loop current reference input value into the inner loop controller of the battery and supercapacitor, and determine the output of the inner loop controller to meet the outer loop power demand and the inner loop current demand. A set of switching modes to control the hybrid energy storage system.

在一些实施例中,所述方法还包括:In some embodiments, the method further includes:

所述功率预测模块,用于根据系统超级电容的母线电压恢复等速趋近方式,计算混合系统K+1时刻的输出电流,表述为:The power prediction module is used to calculate the output current of the hybrid system at K+1 time according to the bus voltage recovery method of the system supercapacitor at a constant speed, which is expressed as:

其中,k为采样时刻,iC(k+1)为k+1时刻直流母线电容电流,iload(k)为k时刻的负载电流,ipV(k)为k时刻电源输出电流,C为直流母线电容,Ts为所述预测控制器的采样周期时间,N为母线电压趋近步数,Vdcref为直流母线目标电压,Vdc(k)为k时刻的直流母线电压,iref(k+1)为k+1时刻混合储能系统输出电流;Among them, k is the sampling time, i C (k+1) is the DC bus capacitance current at k + 1 time, i load (k) is the load current at k time, i pV (k) is the power supply output current at k time, and C is DC bus capacitance, T s is the sampling cycle time of the predictive controller, N is the number of bus voltage approach steps, V dcref is the DC bus target voltage, V dc (k) is the DC bus voltage at time k, i ref ( k+1) is the output current of the hybrid energy storage system at time k+1;

所述功率预测模块,用于根据所述混合储能系统输出电流iref(k+1),得到混合储能系统k+1时刻的预测功率,表述为:The power prediction module is used to obtain the predicted power of the hybrid energy storage system at time k+1 based on the output current i ref (k+1) of the hybrid energy storage system, which is expressed as:

pref(k+1)=Vdcref·ihess(k+1)p ref (k+1)=V dcref ·i hess (k+1)

所述预测功率即为所述混合储能系统所需平抑的功率。The predicted power is the power required to be stabilized by the hybrid energy storage system.

在一些实施例中,所述方法还包括:In some embodiments, the method further includes:

所述功率预测模块,用于将所述预测功率pref(k+1)作为外环功率低通滤波器输入,外环功率低通滤波器输出pbat(k+1)为储能电池的功率需求;pref(k+1)减去低通滤波器输出得到psc(k+1)为超级电容的功率需求。The power prediction module is used to input the predicted power p ref (k+1) to the outer loop power low-pass filter, and the output p bat (k+1) of the outer loop power low-pass filter is the energy storage battery's Power requirement; p ref (k+1) minus the low-pass filter output gives p sc (k+1) which is the power requirement of the supercapacitor.

在一些实施例中,所述方法还包括:In some embodiments, the method further includes:

所述功率预测模块,用于计算得到储能电池和超级电容输出电流的参考值iL1ref和iL2ref为:The power prediction module is used to calculate the reference values iL1ref and iL2ref of the energy storage battery and supercapacitor output current as:

其中,Vbat为储能电池端电压,Vsc为超级电容端电压。Among them, V bat is the terminal voltage of the energy storage battery, and V sc is the terminal voltage of the supercapacitor.

在一些实施例中,所述方法还包括:In some embodiments, the method further includes:

所述电流预测模块,用于确定混合存储系统的在小信号模型下电流对占空比的传递函数Gid_bat,表述为:The current prediction module is used to determine the current-to-duty cycle transfer function G id_bat of the hybrid storage system under the small signal model, which is expressed as:

其中,Dbat为占空比,ibat为电池实际输出电流,C为超级电容大小,R为负载大小,L1为电池第一电感大小,Vdc为直流母线电压,s和d均为给定值;Among them, D bat is the duty cycle, i bat is the actual output current of the battery, C is the supercapacitor size, R is the load size, L 1 is the first inductance size of the battery, V dc is the DC bus voltage, s and d are both given Value;

所述电流预测模块,用于对内环电流跟踪的PI控制器传递函数的参数进行整定,所述PI控制器传递函数Gpi,表述为。The current prediction module is used to adjust the parameters of the PI controller transfer function for inner loop current tracking. The PI controller transfer function G pi is expressed as.

其中,KP是比例系数,Ki是积分系数,KP和Ki均为待整定参数;Among them, K P is the proportional coefficient, K i is the integral coefficient, and K P and K i are parameters to be tuned;

所述电流预测模块,用于将所述内环电流参考输入值作为传递函数Gid_bat和PI控制器的传递函数Gpi构成的所述内环控制器,得到实际输出电流ibatThe current prediction module is used to use the inner loop current reference input value as the transfer function G id_bat and the inner loop controller composed of the transfer function G pi of the PI controller to obtain the actual output current i bat ;

所述电流预测模块,用于根据所述内环控制器的输出,确定满足外环功率需求和内环电流需求的一组开关模态。The current prediction module is used to determine a set of switching modes that meet the outer loop power demand and the inner loop current demand according to the output of the inner loop controller.

作为一种实施例,本发明将所提出的方法与其它方法进行比较。具体的:As an example, the present invention compares the proposed method with other methods. specific:

以光伏作为新能源功率输入,采用恒功率负载,验证本发明提供的基于模型预测控制的混合储能系统控制方法(MPC-PI控制方法)的控制策略有效性。实验结果如图6、图7、图8所示,验证了所述MPC-PI控制方法的可靠性。Using photovoltaics as the new energy power input and using a constant power load, the effectiveness of the control strategy of the hybrid energy storage system control method (MPC-PI control method) based on model predictive control provided by the present invention is verified. The experimental results are shown in Figures 6, 7, and 8, which verify the reliability of the MPC-PI control method.

具体为,光伏控制方式采用最大功率点跟踪,光照强度将模拟实际进行改变,负载功率由初始50W在0.5s时切换为250W。电路拓扑参数设置为:Vbat=24(V),额定容量50(Ah),响应时间0.2s,VSc=15(V),电感L1,L2均为0.2mH,母线电容为3mF。考虑储能电池的响应速度以及本身容量低通滤波器截止频率ωc=2(Hz)。通过整定控制器参数最终确定储能电池电流内环PI控制器参数为Kp=15,Ki=50,超级电容器电流内环PI控制器参数为Kp=19.25,Ki=100。Specifically, the photovoltaic control method uses maximum power point tracking, the light intensity will simulate the actual change, and the load power will be switched from the initial 50W to 250W at 0.5s. The circuit topology parameters are set as follows: V bat =24 (V), rated capacity 50 (Ah), response time 0.2s, V Sc =15 (V), inductors L 1 and L 2 are both 0.2mH, and the bus capacitance is 3mF. Consider the response speed of the energy storage battery and its own capacity low-pass filter cutoff frequency ω c =2 (Hz). By adjusting the controller parameters, the parameters of the energy storage battery current inner loop PI controller are finally determined to be K p =15, K i =50, and the supercapacitor current inner loop PI controller parameters are K p =19.25, K i =100.

新能源光伏发电输出功率的仿真结果如图7所示,图中由上到下分别为光伏输出功率、输入光照强度、输出电压、输出电流。从图中可以看出在仿真中加入了光照变化以模拟由于天气等原因造成光伏功率输出波动。同时,负载功率波动的仿真结果如图8所示,模拟为负载功率变化的不确定性,通过模型预测控制得到的混合储能功率输出预测的仿真结果如图9所示。The simulation results of new energy photovoltaic power generation output power are shown in Figure 7. From top to bottom in the figure are photovoltaic output power, input light intensity, output voltage, and output current. It can be seen from the figure that illumination changes are added to the simulation to simulate fluctuations in photovoltaic power output due to weather and other reasons. At the same time, the simulation results of load power fluctuations are shown in Figure 8, which simulates the uncertainty of load power changes. The simulation results of hybrid energy storage power output prediction obtained through model predictive control are shown in Figure 9.

储能电池与超级电容器参考功率由滤波器解耦得出,如图10所示的混合储能高低频功率分配的仿真结果,从图中可以看出,系统启动时储能由于自身特性原因响应速度较慢,功率输出变化较为缓慢。而超级电容迅速做出响应,在每一次功率波动时能及时吸收或支撑瞬态功率,平滑储能电池功率需求,进一步地减少母线电压波动。The reference power of the energy storage battery and supercapacitor is obtained by decoupling the filter. The simulation results of high and low frequency power distribution of hybrid energy storage are shown in Figure 10. It can be seen from the figure that the energy storage responds due to its own characteristics when the system starts. At slower speeds, power output changes more slowly. The supercapacitor responds quickly and can promptly absorb or support transient power during each power fluctuation, smoothing the power demand of the energy storage battery and further reducing bus voltage fluctuations.

基于PI双环控制以及基于传统PI-PI控制下母线电压稳定性的仿真结果如图11所示,图中,带圆圈实线代表PI-PI控制系统的跟踪信号,不带圆圈实线代表PI-PI控制系统的参考信号。基于MPC-PI控制下直流母线电压稳定性的仿真结果如图12所示,图中,带圆圈实线代表MPC-PI控制系统的跟踪信号,不带圆圈实线代表MPC-PI控制系统的参考信号。对比图11和图12可以看出,基于模型预测控制,即MPC-PI控制下的系统上升时间短,超调量小,在光伏发电、负载波动的情况下母线电压依然能够稳定在参考电压下。仿真实例验证了混合储能系统再MPC-PI控制策略下保证动态功率共享的同时,快速对负荷变化等情况做出响应,并且母线电压波动非常小,系统的平稳性提升明显。The simulation results of bus voltage stability based on PI double-loop control and traditional PI-PI control are shown in Figure 11. In the figure, the solid line with a circle represents the tracking signal of the PI-PI control system, and the solid line without a circle represents the PI- Reference signal of PI control system. The simulation results based on the DC bus voltage stability under MPC-PI control are shown in Figure 12. In the figure, the solid line with a circle represents the tracking signal of the MPC-PI control system, and the solid line without a circle represents the reference of the MPC-PI control system. Signal. Comparing Figure 11 and Figure 12, it can be seen that based on model predictive control, that is, the system under MPC-PI control has a short rise time and small overshoot. The bus voltage can still be stable at the reference voltage in the case of photovoltaic power generation and load fluctuations. . The simulation example verified that the hybrid energy storage system ensures dynamic power sharing under the MPC-PI control strategy, while quickly responding to load changes and other situations. The bus voltage fluctuation is very small, and the stability of the system is significantly improved.

需要说明的是:本发明实施例所记载的技术方案之间,在不冲突的情况下,可以任意组合。It should be noted that the technical solutions recorded in the embodiments of the present invention can be combined arbitrarily as long as there is no conflict.

以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以所述权利要求的保护范围为准。The above are only specific embodiments of the present invention, but the protection scope of the present invention is not limited thereto. Any person familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed by the present invention. should be covered by the protection scope of the present invention. Therefore, the protection scope of the present invention should be subject to the protection scope of the claims.

Claims (7)

1.一种基于模型预测控制的混合储能协同控制方法,其特征在于,所述方法包括以下步骤:1. A hybrid energy storage collaborative control method based on model predictive control, characterized in that the method includes the following steps: S1:确定混合储能系统的直流微电网结构,所述混合储能系统包括并联的储能电池和超级电容;S1: Determine the DC microgrid structure of the hybrid energy storage system, which includes parallel energy storage batteries and supercapacitors; S2:应用外环模型控制器预测得到所述混合储能系统下一时刻所需平抑的预测功率;S2: Use the outer loop model controller to predict the predicted power that the hybrid energy storage system needs to stabilize at the next moment; S3:将所述预测功率通过外环低通滤波器分频,得到电池和超级电容的功率需求;S3: Divide the predicted power through the outer loop low-pass filter to obtain the power requirements of the battery and supercapacitor; S4:根据所述储能电池和超级电容的功率需求,计算得到电池和超级电容输出电流的参考值iL1ref和iL2ref,并将所述电流参考值iL1ref和iL2ref作为电池和超级电容的内环电流参考输入值;S4: According to the power requirements of the energy storage battery and supercapacitor, calculate the reference values i L1ref and i L2ref of the battery and supercapacitor output currents, and use the current reference values i L1ref and i L2ref as the output currents of the battery and supercapacitor. Inner loop current reference input value; S5:将所述内环电流参考输入值输入电池和超级电容的内环控制器,并根据所述内环控制器的输出确定满足外环功率需求和内环电流需求的一组开关模态,从而对混合储能系统进行控制。S5: Input the inner loop current reference input value into the inner loop controller of the battery and supercapacitor, and determine a set of switching modes that meet the outer loop power demand and the inner loop current demand based on the output of the inner loop controller, Thereby controlling the hybrid energy storage system. 2.利要求1所述的一种基于模型预测控制的混合储能协同控制方法,其特征在于,步骤S2包括:2. A hybrid energy storage collaborative control method based on model predictive control according to claim 1, characterized in that step S2 includes: S21:根据系统超级电容的母线电压恢复等速趋近方式,计算混合系统K+1时刻的输出电流,表述为:S21: According to the constant-speed approach method of bus voltage recovery of the system supercapacitor, calculate the output current of the hybrid system at K+1 moment, expressed as: 其中,k为采样时刻,iC(k+1)为k+1时刻直流母线电容电流,iload(k)为k时刻的负载电流,iPV(k)为k时刻电源输出电流,C为直流母线电容,Ts为所述预测控制器的采样周期时间,N为母线电压趋近步数,Vdcref为直流母线目标电压,Vdc(k)为k时刻的直流母线电压,iref(k+1)为k+1时刻混合储能系统输出电流;Among them, k is the sampling time, i C (k+1) is the DC bus capacitance current at k + 1 time, i load (k) is the load current at time k, i PV (k) is the power supply output current at time k, and C is DC bus capacitance, T s is the sampling cycle time of the predictive controller, N is the number of bus voltage approach steps, V dcref is the DC bus target voltage, V dc (k) is the DC bus voltage at time k, i ref ( k+1) is the output current of the hybrid energy storage system at time k+1; S22:根据所述混合储能系统输出电流iref(k+1),得到混合储能系统k+1时刻的预测功率,表述为:S22: According to the output current i ref (k+1) of the hybrid energy storage system, obtain the predicted power of the hybrid energy storage system at time k+1, which is expressed as: pref(k+1)=Vdcref·iref(k+1)p ref (k+1)=V dcref ·i ref (k+1) 所述预测功率即为所述混合储能系统所需平抑的功率。The predicted power is the power required to be stabilized by the hybrid energy storage system. 3.根据权利要求2所述的一种基于模型预测控制的混合储能协同控制方法,其特征在于,步骤S3中,将所述预测功率pref(k+1)作为外环功率低通滤波器输入,外环功率低通滤波器输出pbat(k+1)为储能电池的功率需求;pref(k+1)减去低通滤波器输出得到psc(k+1)为超级电容的功率需求。3. A hybrid energy storage collaborative control method based on model predictive control according to claim 2, characterized in that, in step S3, the predicted power pref (k+1) is used as the outer loop power low-pass filter input, the output of the outer loop power low-pass filter p bat (k+1) is the power demand of the energy storage battery; p ref (k+1) minus the low-pass filter output is p sc (k+1) which is the super Capacitor power requirements. 4.根据权利要求3所述的一种基于模型预测控制的混合储能协同控制方法,其特征在于,步骤S4中,计算得到储能电池和超级电容输出电流的参考值iL1ref和iL2ref为:4. A hybrid energy storage collaborative control method based on model predictive control according to claim 3, characterized in that, in step S4, the reference values i L1ref and i L2ref of the energy storage battery and supercapacitor output current are calculated as : 其中,Vbat为储能电池端电压,Vsc为超级电容端电压。Among them, V bat is the terminal voltage of the energy storage battery, and V sc is the terminal voltage of the supercapacitor. 5.根据权利要求1所述的一种基于模型预测控制的混合储能协同控制方法,其特征在于,步骤S5包括:5. A hybrid energy storage collaborative control method based on model predictive control according to claim 1, characterized in that step S5 includes: S51:确定混合存储系统的在小信号模型下电流对占空比的传递函数Gid_bat,表述为:S51: Determine the current-to-duty cycle transfer function G id_bat of the hybrid storage system under the small-signal model, which is expressed as: 其中,Dbat为占空比,ibat为电池实际输出电流,C为超级电容大小,R为负载大小,L1为电池第一电感大小,Vdc为直流母线电压,s和d均为给定值;Among them, D bat is the duty cycle, i bat is the actual output current of the battery, C is the supercapacitor size, R is the load size, L 1 is the first inductance size of the battery, V dc is the DC bus voltage, s and d are both given Value; S52:对内环电流跟踪的PI控制器传递函数的参数进行整定,所述PI控制器传递函数Gpi,表述为:S52: Adjust the parameters of the PI controller transfer function for inner loop current tracking. The PI controller transfer function G pi is expressed as: 其中,KP是比例系数,Ki是积分系数,KP和Ki均为待整定参数;Among them, K P is the proportional coefficient, K i is the integral coefficient, and K P and K i are parameters to be tuned; S53:将所述内环电流参考输入值作为传递函数Gid_bat和PI控制器的传递函数Gpi构成的所述内环控制器,得到实际输出电流ibatS53: Use the inner loop current reference input value as the transfer function G id_bat and the inner loop controller composed of the transfer function G pi of the PI controller to obtain the actual output current i bat ; S54:根据所述内环控制器的输出,确定满足外环功率需求和内环电流需求的一组开关模态。S54: According to the output of the inner loop controller, determine a set of switching modes that meet the outer loop power demand and the inner loop current demand. 6.根据权利要求1所述的一种基于模型预测控制的混合储能协同控制方法,其特征在于,首先计算下一采样周期所有开关模式下的输出功率,然后根据得到的输出功率计算下一次采样周期储能电池和超级电容的输出电流,最后选择最接近功率需求和电流需求的一组开关模式输出到储能电池主电路或超级电容主电路的开关管,以实现对每组混合储能系统进行MPC-PI控制。6. A hybrid energy storage collaborative control method based on model predictive control according to claim 1, characterized in that first the output power in all switching modes of the next sampling period is calculated, and then the next time is calculated based on the obtained output power. The output current of the energy storage battery and supercapacitor is sampled during the sampling period, and finally a group of switching modes closest to the power demand and current demand are selected and output to the switching tube of the main circuit of the energy storage battery or the main circuit of the supercapacitor to achieve hybrid energy storage for each group. The system performs MPC-PI control. 7.一种基于模型预测控制的混合储能协同控制系统,其特征在于,所述系统包括:初始确定模块,用于确定混合储能系统的直流微电网结构,所述混合储能系统包括并联的储能电池和超级电容;7. A hybrid energy storage collaborative control system based on model predictive control, characterized in that the system includes: an initial determination module for determining the DC microgrid structure of the hybrid energy storage system, and the hybrid energy storage system includes a parallel energy storage batteries and supercapacitors; 功率预测模块,用于应用外环模型控制器预测得到所述混合储能系统下一时刻所需平抑的预测功率;The power prediction module is used to predict the predicted power required to be stabilized by the hybrid energy storage system at the next moment by using the outer loop model controller; 所述功率预测模块,也用于将所述预测功率通过外环低通滤波器分频,得到储能电池和超级电容的功率需求;The power prediction module is also used to divide the predicted power through an outer loop low-pass filter to obtain the power requirements of the energy storage battery and supercapacitor; 电流预测模块,用于根据所述储能电池和超级电容的功率需求,计算得到电池和超级电容输出电流的参考值iL1ref和iL2ref,并将所述电流参考值iL1ref和iL2ref作为电池和超级电容的内环电流参考输入值;A current prediction module, configured to calculate the reference values i L1ref and i L2ref of the battery and supercapacitor output currents according to the power requirements of the energy storage battery and the supercapacitor, and use the current reference values i L1ref and i L2ref as the battery and the inner loop current reference input value of the supercapacitor; 控制模块,用于将所述内环电流参考输入值输入电池和超级电容的内环控制器,并根据所述内环控制器的输出确定满足外环功率需求和内环电流需求的一组开关模态,从而对混合储能系统进行控制。A control module configured to input the inner loop current reference input value into the inner loop controller of the battery and supercapacitor, and determine a set of switches that meet the outer loop power demand and the inner loop current demand based on the output of the inner loop controller. mode to control the hybrid energy storage system.
CN202310850621.8A 2023-07-11 2023-07-11 Hybrid energy storage cooperative control method and system based on model predictive control Pending CN116914901A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310850621.8A CN116914901A (en) 2023-07-11 2023-07-11 Hybrid energy storage cooperative control method and system based on model predictive control

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310850621.8A CN116914901A (en) 2023-07-11 2023-07-11 Hybrid energy storage cooperative control method and system based on model predictive control

Publications (1)

Publication Number Publication Date
CN116914901A true CN116914901A (en) 2023-10-20

Family

ID=88355736

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310850621.8A Pending CN116914901A (en) 2023-07-11 2023-07-11 Hybrid energy storage cooperative control method and system based on model predictive control

Country Status (1)

Country Link
CN (1) CN116914901A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117239711A (en) * 2023-11-13 2023-12-15 四川大学 Energy storage control method and device for improving power supply quality of pumping unit well groups

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117239711A (en) * 2023-11-13 2023-12-15 四川大学 Energy storage control method and device for improving power supply quality of pumping unit well groups
CN117239711B (en) * 2023-11-13 2024-02-02 四川大学 Energy storage control method and device for improving power supply quality of well group of oil pumping unit

Similar Documents

Publication Publication Date Title
Jami et al. Control of a super-capacitor energy storage system to mimic inertia and transient response improvement of a direct current micro-grid
Pan et al. Energy coordinated control of DC microgrid integrated incorporating PV, energy storage and EV charging
CN109586269A (en) Consider the direct-current grid virtual inertia control method and system of parameter self-optimization
Punna et al. Optimum design and analysis of a dynamic energy management scheme for HESS in renewable power generation applications
CN105656022B (en) A kind of distribution light storage DC power-supply system non-linear differential smooth control method
CN110011296A (en) A kind of direct-current grid distribution droop control method based on Auto Disturbances Rejection Control Technique
Chen et al. A model predictive control method for hybrid energy storage systems
CN117691648B (en) A control method, system, device and storage medium for a grid-type energy storage converter
CN109038642B (en) Self-energy-storage multi-terminal flexible-straight system control method and device
Hamdan et al. Stability improvement and control of grid-connected photovoltaic system during faults using supercapacitor
WO2023197547A1 (en) Reliable parallel control system and method for efficient bidirectional power conversion module
CN114552600A (en) Frequency adjusting method for photovoltaic grid-connected power generation participation system
Long et al. Voltage regulation enhancement of DC-MG based on power accumulator battery test system: MPC-controlled virtual inertia approach
CN115864351A (en) A Hierarchical Coordinated Control Method for DC Microgrid
CN116914901A (en) Hybrid energy storage cooperative control method and system based on model predictive control
CN106711993A (en) Stability control method of direct current (DC) micro-grid
CN116632991A (en) Distributed communication-free power coordination distribution system and method based on hybrid energy storage device
Weng et al. Integrated bus voltage control method for DC microgrids based on adaptive virtual inertia control
CN115149513A (en) DC bus voltage control method and device of DC micro-grid
Zhu et al. Research on control strategy of hybrid energy storage system with optical storage microgrid
CN118611158A (en) Meshing type industrial microgrid energy router and control method thereof
CN111965972A (en) Energy storage backstepping control method based on disturbance observer
Wu et al. A PCH strong tracking control strategy for power coordinated allocation of Li-SC HESS
Arteaga et al. Control of energy storage and photovoltaic systems using model predictive control
CN117394407A (en) Active disturbance rejection control method applied to photovoltaic hybrid energy storage system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination