CN104298127A - Micro-grid semi-digital semi-physical real-time simulation system based on RT-LAB - Google Patents
Micro-grid semi-digital semi-physical real-time simulation system based on RT-LAB Download PDFInfo
- Publication number
- CN104298127A CN104298127A CN201410535831.9A CN201410535831A CN104298127A CN 104298127 A CN104298127 A CN 104298127A CN 201410535831 A CN201410535831 A CN 201410535831A CN 104298127 A CN104298127 A CN 104298127A
- Authority
- CN
- China
- Prior art keywords
- module
- control module
- lab
- microgrid
- micro
- 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
- 238000004088 simulation Methods 0.000 title claims abstract description 50
- 238000012544 monitoring process Methods 0.000 claims description 12
- 238000012545 processing Methods 0.000 claims description 10
- 230000005540 biological transmission Effects 0.000 claims description 9
- 238000006243 chemical reaction Methods 0.000 claims description 4
- 238000001514 detection method Methods 0.000 claims description 3
- 238000000034 method Methods 0.000 abstract description 12
- 238000010248 power generation Methods 0.000 abstract description 8
- 238000005094 computer simulation Methods 0.000 abstract description 3
- 238000012795 verification Methods 0.000 abstract description 2
- 238000011160 research Methods 0.000 description 10
- 238000004458 analytical method Methods 0.000 description 6
- 238000004891 communication Methods 0.000 description 4
- 238000013461 design Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 238000012360 testing method Methods 0.000 description 4
- 238000007405 data analysis Methods 0.000 description 3
- 238000011161 development Methods 0.000 description 3
- 238000004146 energy storage Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 238000004422 calculation algorithm Methods 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000002474 experimental method Methods 0.000 description 2
- 238000012356 Product development Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000002347 injection Methods 0.000 description 1
- 239000007924 injection Substances 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012827 research and development Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Landscapes
- Measurement Of Resistance Or Impedance (AREA)
- Supply And Distribution Of Alternating Current (AREA)
Abstract
本发明公开了一种基于RT-LAB的微电网半数字半实物实时仿真系统。RT-LAB仿真机包含微电网模块和处于微电网模块下的各个一次设备模块,微电网模块与各个一次设备模块连接,各个一次设备模块与各自对应的一级控制模块连接,所有一级控制模块均连接到二级控制模块,二级控制模块与计算机连接;一级控制模块、二级控制模块、计算机之间均通过交换机连接,构成以太网网络。本发明可用于模拟微电网的动态特性,也可以模拟控制方法,具有较好灵活性,利用RT-LAB仿真机模拟微电网的一次设备,可随时随地对光伏发电、风能发电、柴油机发电等微电网模型的进行动态仿真和模型的验证扩展,形成通用性强的微电网半数字半实物仿真系统。
The invention discloses an RT-LAB-based microgrid half-digital half-physical real-time simulation system. The RT-LAB simulator includes the microgrid module and each primary equipment module under the microgrid module. The microgrid module is connected to each primary equipment module, and each primary equipment module is connected to its corresponding primary control module. All primary control modules All are connected to the secondary control module, and the secondary control module is connected to the computer; the primary control module, the secondary control module, and the computer are all connected through switches to form an Ethernet network. The invention can be used to simulate the dynamic characteristics of the micro-grid, and can also simulate the control method, which has good flexibility. The RT-LAB simulator is used to simulate the primary equipment of the micro-grid, and the micro-grid such as photovoltaic power generation, wind power generation, and diesel engine power generation can be controlled anytime and anywhere. The dynamic simulation of the power grid model and the verification and expansion of the model form a highly versatile half-digital and half-physical simulation system for micro-grids.
Description
技术领域 technical field
本发明涉及一种微电网的仿真系统,尤其是涉及一种基于RT-LAB的微电网半数字半实物实时仿真系统,采用工业级仿真工具对微电网进行模拟仿真。 The invention relates to a micro-grid simulation system, in particular to an RT-LAB-based micro-grid half-digital half-physical real-time simulation system, which uses industrial-grade simulation tools to simulate the micro-grid.
背景技术 Background technique
随着国民经济的发展,电力事业在不断壮大,电力系统也逐渐庞大,其运行也更加的复杂。为了保证电力系统可靠、安全、经济地运行,在规划、分析和研究电力系统时必须确切完整地考察实际电力系统的静态特性和动态特性。而传统的分析方法已很难准确描述这些特性,预测将会发生的事故。同时,电力系统本身的特殊性又决定了难以采用试验的方法来实现系统的分析,必须借助于仿真手段。这就需要一个强有力的仿真工具来分析实际电力系统的运行情况。因此,仿真技术研究成为电力系统分析中一种新的潮流。 With the development of the national economy, the electric power industry continues to grow, the power system is also gradually large, and its operation is more complicated. In order to ensure the reliable, safe and economical operation of the power system, the static and dynamic characteristics of the actual power system must be accurately and completely investigated when planning, analyzing and studying the power system. However, traditional analysis methods are difficult to accurately describe these characteristics and predict future accidents. At the same time, the particularity of the power system itself determines that it is difficult to use experimental methods to realize system analysis, and simulation means must be used. This requires a powerful simulation tool to analyze the operation of the actual power system. Therefore, simulation technology research has become a new trend in power system analysis.
RT-LAB是一种分布式实时仿真平台。它能在较短的时间内,以较低的成本将Simulink或SystemBuild动态模型移植到在环硬件实时仿真系统中,从而简化了仿真设计的过程。无论是用来做实时硬件在环仿真,还是用来加速仿真模型的执行、控制和测试,它的灵活性都足以运用到最复杂的仿真和控制问题中。同时,RT-LAB为高度复杂模型的实时仿真提供了有效的工具。它可以通过超低延迟技术进行信息交换。此外,RT-LAB的模块化设计可以最小化计算需求,提供刚好满足应用要求的仿真模块,从而满足使用者的价格需求。因此,RT-LAB在市场中的灵活性也较好。 RT-LAB is a distributed real-time simulation platform. It can transplant the Simulink or SystemBuild dynamic model to the hardware-in-the-loop real-time simulation system at a relatively low cost in a short period of time, thus simplifying the process of simulation design. Whether it is used for real-time hardware-in-the-loop simulation or to accelerate the execution, control and testing of simulation models, it is flexible enough to be applied to the most complex simulation and control problems. At the same time, RT-LAB provides an effective tool for real-time simulation of highly complex models. It can exchange information through ultra-low latency technology. In addition, RT-LAB's modular design can minimize computing requirements and provide simulation modules that just meet application requirements, thereby meeting users' price needs. Therefore, RT-LAB has better flexibility in the market.
RT-LAB微电网模型仿真在国内还处于不断发展和完善的领域,相关的文献和理论尚未完全。目前国内市场上还缺乏对于微电网仿真平台的相关硬软件综合产品,相关的科研、市场需求很大。 RT-LAB microgrid model simulation is still in the field of continuous development and improvement in China, and the relevant literature and theory are not yet complete. At present, there is still a lack of related hardware and software integrated products for the microgrid simulation platform in the domestic market, and there is a great demand for related scientific research and market.
发明内容 Contents of the invention
基于现有技术的不足,本发明提出了一种利用工业仿真系统对微电网模型进行实时模拟仿真测试的系统,采用工业级仿真工具对微电网进行模拟仿真,利用RT-LAB仿真机,可对复杂的微电网运作进行实时仿真,验证所开发的算法合理性,大大加快对于微电网的研究速度以及降低科研成本,并为现有的微电网设计和改进提供大量的技术参考数据。 Based on the deficiencies of the prior art, the present invention proposes a system that utilizes an industrial simulation system to perform real-time simulation tests on the microgrid model, uses industrial-grade simulation tools to simulate the microgrid, and utilizes the RT-LAB simulator, which can Perform real-time simulation of complex microgrid operations to verify the rationality of the developed algorithms, greatly speed up the research on microgrids and reduce scientific research costs, and provide a large amount of technical reference data for the design and improvement of existing microgrids.
为了实现上述发明目的,本发明采用如下的技术方案: In order to realize the foregoing invention object, the present invention adopts following technical scheme:
包括RT-LAB仿真机,RT-LAB仿真机包含微电网模块和处于微电网模块下的各个一次设备模块; Including RT-LAB simulator, RT-LAB simulator includes microgrid module and each primary equipment module under the microgrid module;
包括与RT-LAB仿真机中各个一次设备模块连接的一级控制模块,一级控制模块接收一次设备模块的仿真数据进行处理转换,输出有功功率和无功功率到二级控制模块,并接收二级控制模块的反馈PWM控制信号发送到一次设备模块; Including the first-level control module connected with each primary equipment module in the RT-LAB simulator, the first-level control module receives the simulation data of the primary equipment module for processing and conversion, outputs active power and reactive power to the second-level control module, and receives the second-level control module The feedback PWM control signal of the stage control module is sent to the primary equipment module;
包括与所有一级控制模块连接的二级控制模块,二级控制模块接收一级控制模块输出的有功功率和无功功率,同时接收微电网模块的实时监测数据,经处理输出RT-LAB仿真机的实时监测数据到计算机;并接收计算机输出的联络线功率控制信号和微电网运行模式控制信号;并输出联络线断路器开闭控制信号到RT-LAB仿真机的微电网模块; Including the secondary control module connected to all the primary control modules, the secondary control module receives the active power and reactive power output by the primary control module, and at the same time receives the real-time monitoring data of the microgrid module, and outputs it to the RT-LAB simulator after processing The real-time monitoring data to the computer; and receive the tie line power control signal and the micro grid operation mode control signal output by the computer; and output the tie line circuit breaker opening and closing control signal to the micro grid module of the RT-LAB simulator;
包括与二级控制模块连接的计算机,计算机接收一次设备模块和微电网模块的检测数据经处理产生联络线功率控制信号和微电网运行模式控制信号反馈到二级控制模块。 It includes a computer connected to the secondary control module. The computer receives the detection data of the primary equipment module and the microgrid module, and generates tie line power control signals and microgrid operation mode control signals after processing, which are fed back to the secondary control module.
所述的一级控制模块、二级控制模块、计算机之间均通过交换机相互连接,构成以太网网络。 The first-level control module, the second-level control module, and the computer are all connected to each other through a switch to form an Ethernet network.
所述的以太网网络通过UDP传输协议进行数据传输。 The Ethernet network performs data transmission through the UDP transmission protocol.
所述的仿真数据包括电压信号和电流信号。 The simulation data includes voltage signals and current signals.
所述的微电网模块的实时监测数据包括微电网电压、微电网频率、联络线功率。 The real-time monitoring data of the micro-grid module includes micro-grid voltage, micro-grid frequency, and tie-line power.
所述的RT-LAB仿真机的实时监测数据包括微电网频率、微电网电压、微电网联络线功率以及各个一次设备模块的功率。 The real-time monitoring data of the RT-LAB simulator includes microgrid frequency, microgrid voltage, microgrid tie line power and power of each primary equipment module.
所述的一级控制模块和二级控制模块均采用DSP。 Both the first-level control module and the second-level control module use DSP.
所述的一级控制模块设有A/D接口、SPI接口和I/O接口。 The first-level control module is provided with an A/D interface, an SPI interface and an I/O interface.
所述的二级控制模块设有A/D接口和I/O接口。 The secondary control module is provided with an A/D interface and an I/O interface.
本发明的有益效果是: The beneficial effects of the present invention are:
本发明可用于模拟微电网的动态特性,也可以模拟控制方法,具有较好灵活性,利用RT-LAB仿真机模拟微电网的一次设备,形成通用性强的微电网半数字半实物仿真系统。 The invention can be used to simulate the dynamic characteristics of the micro-grid, and can also simulate the control method, and has better flexibility. The RT-LAB simulator is used to simulate the primary equipment of the micro-grid to form a semi-digital and semi-physical simulation system of the micro-grid with strong versatility.
本发明可以在很短的时间内、以很小的风险,对微电网模型进行动态仿真、数据分析和输出显示。本仿真平台具有通用性好,易于操作的特点,可以以较小的代价缩短微电网关键设备的研发周期,而且所开发的平台可以填补市场空白。 The invention can perform dynamic simulation, data analysis and output display on the micro grid model in a very short time and with very little risk. This simulation platform has the characteristics of good versatility and easy operation, which can shorten the research and development cycle of key equipment of microgrid at a small cost, and the developed platform can fill the gap in the market.
本发明具有较好的灵活性,可随时随地对光伏发电、风能发电、柴油机发电等微电网模型的进行动态仿真和模型的验证扩展,加速相关领域的科研和产品研发,应用面很广。 The invention has better flexibility, can perform dynamic simulation and verification expansion of micro-grid models such as photovoltaic power generation, wind power generation, and diesel engine power generation anytime and anywhere, accelerates scientific research and product development in related fields, and has a wide range of applications.
附图说明 Description of drawings
图1是本发明的连接结构示意图。 Fig. 1 is a schematic diagram of the connection structure of the present invention.
图2是本发明整体结构原理图。 Fig. 2 is a schematic diagram of the overall structure of the present invention.
图3是一级控制模块与RT-LAB仿真机的具体连接原理图。 Figure 3 is a schematic diagram of the specific connection between the primary control module and the RT-LAB simulator.
图4是二级控制模块与RT-LAB仿真机的具体连接原理图。 Figure 4 is a schematic diagram of the specific connection between the secondary control module and the RT-LAB simulator.
具体实施方式 Detailed ways
下面结合说明书附图对本发明的具体实施方式进行详细的说明。 The specific implementation manners of the present invention will be described in detail below in conjunction with the accompanying drawings.
如图1和图2所示,本发明的仿真系统如下: As shown in Fig. 1 and Fig. 2, simulation system of the present invention is as follows:
包括RT-LAB仿真机,RT-LAB仿真机包含微电网模块和处于微电网模块下的各个一次设备模块; Including RT-LAB simulator, RT-LAB simulator includes microgrid module and each primary equipment module under the microgrid module;
包括与RT-LAB仿真机中各个一次设备模块连接的一级控制模块,一级控制模块接收一次设备模块的仿真数据进行处理转换,输出有功功率和无功功率到二级控制模块,并接收二级控制模块的反馈PWM控制信号发送到一次设备模块; Including the first-level control module connected with each primary equipment module in the RT-LAB simulator, the first-level control module receives the simulation data of the primary equipment module for processing and conversion, outputs active power and reactive power to the second-level control module, and receives the second-level control module The feedback PWM control signal of the stage control module is sent to the primary equipment module;
包括与所有一级控制模块连接的二级控制模块,二级控制模块接收一级控制模块输出的有功功率和无功功率,同时接收微电网模块的实时监测数据,经处理输出RT-LAB仿真机的实时监测数据到计算机;并接收计算机输出的联络线功率控制信号和微电网运行模式控制信号;并输出联络线断路器开闭控制信号到RT-LAB仿真机的微电网模块; Including the secondary control module connected to all the primary control modules, the secondary control module receives the active power and reactive power output by the primary control module, and at the same time receives the real-time monitoring data of the microgrid module, and outputs it to the RT-LAB simulator after processing The real-time monitoring data to the computer; and receive the tie line power control signal and the micro grid operation mode control signal output by the computer; and output the tie line circuit breaker opening and closing control signal to the micro grid module of the RT-LAB simulator;
包括与二级控制模块连接的计算机,计算机接收一次设备模块和微电网模块的检测数据经处理产生联络线功率控制信号和微电网运行模式控制信号反馈到二级控制模块。 It includes a computer connected to the secondary control module. The computer receives the detection data of the primary equipment module and the microgrid module, and generates tie line power control signals and microgrid operation mode control signals after processing, which are fed back to the secondary control module.
上述仿真数据包括一次设备模块的电压信号和电流信号。 The above simulation data includes the voltage signal and current signal of the primary equipment module.
上述微电网模块的实时监测数据包括微电网电压、微电网频率、联络线功率。 The real-time monitoring data of the above-mentioned micro-grid module includes micro-grid voltage, micro-grid frequency, and tie-line power.
上述RT-LAB仿真机的实时监测数据包括微电网频率、微电网电压、微电网联络线功率以及各个一次设备模块的功率。 The real-time monitoring data of the above-mentioned RT-LAB simulator includes the frequency of the microgrid, the voltage of the microgrid, the power of the tie line of the microgrid, and the power of each primary equipment module.
如图2所示,本发明包括RT-LAB仿真机、一级控制模块、二级控制模块和计算机,RT-LAB仿真机包含微电网模块和处于微电网模块下的各个一次设备模块,微电网模块与各个一次设备模块连接,各个一次设备模块与各自对应的一级控制模块连接,所有一级控制模块均连接到二级控制模块,二级控制模块与计算机连接。其中一级控制模块、二级控制模块、计算机之间均通过交换机相互连接,构成一个以太网网络。 As shown in Figure 2, the present invention includes RT-LAB emulator, primary control module, secondary control module and computer, RT-LAB emulator comprises microgrid module and each primary equipment module under microgrid module, microgrid The modules are connected to each primary equipment module, each primary equipment module is connected to its corresponding primary control module, all primary control modules are connected to a secondary control module, and the secondary control module is connected to a computer. Among them, the first-level control module, the second-level control module, and the computers are all connected to each other through switches to form an Ethernet network.
本发明利用微电网模块化设计和数学建模的思想,将RT-LAB仿真机运用到在电力系统微电网仿真系统中,能及时、准确进行数据分析显示,进行半数字半实物实时仿真,有助于之后进一步的微电网调试和测试。 The present invention utilizes the idea of modular design and mathematical modeling of the micro-grid, applies the RT-LAB simulator to the micro-grid simulation system of the electric power system, can perform data analysis and display in a timely and accurate manner, and performs half-digital and half-physical real-time simulation. It is helpful for further microgrid debugging and testing.
本发明的以太网网络通过UDP传输协议进行数据传输。本发明RT-LAB仿真机与一次控制模块和二次控制模块的DSP处理器通过各自的外部接口(包括A/D、D/A、数字I/O)进行数据交换,并通过以太网UDP传输方式与计算机进行数据传输与通信。 The Ethernet network of the present invention performs data transmission through the UDP transmission protocol. The RT-LAB simulator of the present invention exchanges data with the DSP processors of the primary control module and the secondary control module through their respective external interfaces (including A/D, D/A, and digital I/O), and transmits data through Ethernet UDP Data transmission and communication with the computer.
各个一次设备模块包括风机模块、柴油机模块、储能模块和光伏模块。 Each primary equipment module includes a fan module, a diesel engine module, an energy storage module and a photovoltaic module.
一级控制模块和二级控制模块均采用DSP处理器,优选可采用Ti公司的TMS320F28335处理器。 Both the first-level control module and the second-level control module use DSP processors, preferably TMS320F28335 processors from Ti Company.
如图3所示,一级控制模块设有A/D接口、SPI接口和I/O接口。 As shown in Figure 3, the primary control module is provided with an A/D interface, an SPI interface and an I/O interface.
如图4所示,二级控制模块设有A/D接口和I/O接口。 As shown in Figure 4, the secondary control module is provided with an A/D interface and an I/O interface.
RT-LAB仿真机与DSP处理器通过各自的外部接口(包括A/D,D/A,数字I/O口等接口)进行数据交换,并通过以太网的方式与计算机进行数据传输与通信。 The RT-LAB simulator and the DSP processor exchange data through their respective external interfaces (including A/D, D/A, digital I/O ports, etc.), and perform data transmission and communication with the computer through Ethernet.
通过软件辅助,本系统可将各种情况下的微电网模块的电压、电流、功率等运行数据用波形直观地输出,并对数据和波形进行分析比较和保存调用。最后通过显示的波形,在上位机(即计算机)对微电网模型的运行参数进行优化调整,以达到最佳的控制效果,为实物实验和实际应用提供依据。 With software assistance, the system can intuitively output the operating data of the microgrid module in various situations such as voltage, current, and power with waveforms, and analyze, compare, save and call the data and waveforms. Finally, through the displayed waveform, optimize and adjust the operating parameters of the microgrid model on the host computer (computer) to achieve the best control effect and provide a basis for physical experiments and practical applications.
RT-LAB在电力系统微电网仿真平台中有着广泛的应用,及时、准确的数据分析显示是后续分析和处理工作的基础。数模混合仿真对微电网的调试、算法测试等科研具有重要的作用。RT-LAB可模拟一次设备,二次控制设备需要根据设备的特点定制开发,以达到混合仿真的目的。由于产品各异,二次控制设备缺乏比较通用的平台,导致很多科研种二次板重复开发,而市场上也不存在一种通用的模拟平台。 RT-LAB is widely used in power system microgrid simulation platform, and timely and accurate data analysis and display is the basis for subsequent analysis and processing. Digital-analog hybrid simulation plays an important role in scientific research such as microgrid debugging and algorithm testing. RT-LAB can simulate the primary equipment, and the secondary control equipment needs to be customized and developed according to the characteristics of the equipment to achieve the purpose of hybrid simulation. Due to the different products, the secondary control equipment lacks a relatively common platform, resulting in the repeated development of many scientific research secondary boards, and there is no general simulation platform on the market.
针对RT-LAB的二次控制器设备的通用平台,根据电力系统微电网需求,不仅需要满足对不同参数测量分析和控制的要求,还需要精准显示微电网模型的相关参数,得出相应波形,并具有初步分析功能。 For the general platform of RT-LAB's secondary controller equipment, according to the needs of the power system microgrid, it not only needs to meet the requirements of different parameter measurement analysis and control, but also needs to accurately display the relevant parameters of the microgrid model, and obtain the corresponding waveform. And has a preliminary analysis function.
本发明采用RT-LAB仿真机实时模拟微电网的运行情况,通过一级控制模块、二级控制模块运行微电网进行一级、二级控制,还通过计算机对二级控制模块进行三级控制,进而形成微电网半数字半实物实时仿真平台,将会对微电网的研究带来极大方便,能大大减少对于微电网的实际运作科研成本,对于电力系统的理论研究具有较大的促进作用。 The present invention uses the RT-LAB simulator to simulate the operation of the micro-grid in real time, operates the micro-grid through the primary control module and the secondary control module to perform primary and secondary control, and also performs tertiary control on the secondary control module through the computer. Furthermore, the formation of a real-time simulation platform of half-digital and half-physical microgrids will bring great convenience to the research of microgrids, greatly reduce the cost of scientific research on the actual operation of microgrids, and greatly promote the theoretical research of power systems.
本发明的RT-LAB仿真机中构建的微电网模块包括以下几部分: The microgrid module constructed in the RT-LAB emulator of the present invention includes the following parts:
①分布式发电单元。如风机,光伏,储能,柴油机等; ①Distributed power generation unit. Such as wind turbines, photovoltaics, energy storage, diesel engines, etc.;
②负荷。如RLC负荷,电动机负荷,电力电子负荷等; ② load. Such as RLC load, motor load, power electronic load, etc.;
③电力网络。由线路将分布式发电单元、负荷和主电网连接起来。 ③ Power network. The distributed generation units, loads and main grid are connected by lines.
应用RT-LAB 实时仿真系统建立如上三种微电网构成部分的实时仿真模型(即微电网模块和处于微电网模块下的各个一次设备模块),并进行相应控制。该模块采用的是分层次控制方法,可以解耦微电网在不同时间尺度的控制,提高微电网的可控性可靠性。本系统的微电网控制主要分为三个层次:一级控制、二级控制和三级控制。 The RT-LAB real-time simulation system is used to establish the real-time simulation models of the above three microgrid components (that is, the microgrid module and each primary equipment module under the microgrid module), and perform corresponding control. This module adopts a hierarchical control method, which can decouple the control of the microgrid at different time scales and improve the controllability and reliability of the microgrid. The microgrid control of this system is mainly divided into three levels: primary control, secondary control and tertiary control.
一级控制也称作本地控制,是用于控制频率、电压、注入电流等本地参数的控制层。在每一个与微电网相连的分布式功率转换器中,一级控制除了基本的电压环、电流环双闭环控制方法外,还采用了带虚拟阻抗的下垂控制技术。 Primary control, also known as local control, is a control layer used to control local parameters such as frequency, voltage, and injection current. In each distributed power converter connected to the microgrid, in addition to the basic double closed-loop control method of voltage loop and current loop, droop control technology with virtual impedance is also used in the primary control.
二级控制是一种集中式控制器,可以补偿电压和频率的稳态误差,使它们的值恢复到额定值。此外,二级控制器也负责交流总线沿线电压的控制,使得微网结构中任何一点的电压都在操作限度内。 Secondary control is a centralized controller that compensates for steady-state errors in voltage and frequency, bringing their values back to their nominal values. In addition, the secondary controller is also responsible for the control of the voltage along the AC bus, so that the voltage at any point in the microgrid structure is within the operating limits.
三级控制的作用是优化微电网的运行,在并网状态下控制联络线功率,在孤网状态下将负荷合理分摊给各个电源,以实现最优效果。 The function of the three-level control is to optimize the operation of the microgrid, control the power of the tie line in the grid-connected state, and reasonably distribute the load to each power source in the isolated grid state to achieve the optimal effect.
本发明各个阶段的具体实施工作过程如下: The specific implementation work process of each stage of the present invention is as follows:
(一)如附图1所示:系统包括:RT-LAB仿真机、一级控制模块、二级控制模块和计算机, (1) As shown in Figure 1: the system includes: RT-LAB simulator, primary control module, secondary control module and computer,
A)RT-LAB仿真机模拟微电网的运行情况,将微电网各部分如一次设备、联络线的参数通过I/O口输出;一次设备包括风机、光伏、柴油机、储能等元件。 A) The RT-LAB simulator simulates the operation of the microgrid, and outputs the parameters of each part of the microgrid, such as primary equipment and tie lines, through the I/O port; the primary equipment includes components such as fans, photovoltaics, diesel engines, and energy storage.
B)RT-LAB仿真机的一次设备模拟量输出单元通过排线与其对应的一级控制模块的A/D转换单元连接。 B) The analog output unit of the primary device of the RT-LAB simulator is connected to the A/D conversion unit of the corresponding primary control module through a cable.
对应的一级控制模块运行微电网的一级控制方法,通过SPI接口方式控制D/A模块输出模拟量至RT-LAB仿真机的模拟I/O,并输出ePWM波至RT-LAB仿真机的数字I/O,以控制RT-LAB仿真机的一次设备运行。 The corresponding first-level control module runs the first-level control method of the microgrid, controls the D/A module to output analog quantities to the analog I/O of the RT-LAB simulator through the SPI interface, and outputs ePWM waves to the RT-LAB simulator Digital I/O to control primary device operation of RT-LAB simulator.
C)二级控制模块中运行微电网的二级控制方法,通过数字I/O接口发送微电网联络线断路器开闭控制信号到RT-LAB仿真机。二级控制模块同时与各个一级控制模块通过以太网连接,双向通讯。各个一级控制模块传输数据至二级控制模块,二级控制模块处理数据并发送控制信号至一级控制模块,进行二级控制。 C) The secondary control method of operating the microgrid in the secondary control module sends the microgrid tie line circuit breaker opening and closing control signal to the RT-LAB simulator through the digital I/O interface. The secondary control module is connected with each primary control module through Ethernet at the same time for two-way communication. Each primary control module transmits data to the secondary control module, and the secondary control module processes the data and sends a control signal to the primary control module for secondary control.
D)二级控制模块通过以太网与计算机连接,双向通讯。一方面,二级控制模块向计算机发送数据,计算机上显示相应的波形;另一方面,计算机向二级控制模块发送数据,改变其相关参数,形成三级控制。 D) The secondary control module is connected to the computer via Ethernet for two-way communication. On the one hand, the secondary control module sends data to the computer, and the corresponding waveform is displayed on the computer; on the other hand, the computer sends data to the secondary control module to change its relevant parameters to form a tertiary control.
E)以上所述各部分的以太网连接由交换机进行建构。 E) The Ethernet connections of the above-mentioned parts are constructed by switches.
(二)如附图2所示: (2) As shown in Attachment 2:
RT-LAB仿真机中的模拟量通过模拟I/O由排线连接到一级控制模块的A/D单元;一级控制模块接收到来自RT-LAB仿真机的反馈信号,经过闭环运算后发送控制控制信号到RT-Lab仿真机。控制控制信号由一级控制模块通过SPI单元发送数据到D/A模块,令D/A模块发送模拟量到RT-LAB仿真机的模拟I/O接口,从而控制RT-LAB中的分布式发电机,改变微电网一次设备的运行状况。 The analog quantity in the RT-LAB simulator is connected to the A/D unit of the first-level control module through the analog I/O; the first-level control module receives the feedback signal from the RT-LAB simulator, and sends it after closed-loop calculation. Control the control signal to the RT-Lab simulator. The control signal is sent by the first-level control module to the D/A module through the SPI unit, so that the D/A module sends the analog quantity to the analog I/O interface of the RT-LAB simulator, thereby controlling the distributed power generation in the RT-LAB The machine can change the operating status of the primary equipment of the microgrid.
(三)如附图3所示: (3) As shown in Figure 3:
RT-LAB仿真机中的模拟量通过模拟I/O接口由排线连接到二级控制模块的A/D单元;二级控制模块接收来自RT-LAB仿真机的信号,经过闭环运算后,由数字I/O接口发送微电网联络线断路器开闭控制信号到RT-Lab仿真机。 The analog quantity in the RT-LAB simulator is connected to the A/D unit of the secondary control module by a cable through the analog I/O interface; the secondary control module receives the signal from the RT-LAB simulator, and after closed-loop calculation, The digital I/O interface sends the opening and closing control signal of the tie line circuit breaker of the microgrid to the RT-Lab simulator.
(四)如附图4所示: (4) As shown in Figure 4:
一级控制模块、二级控制模块、计算机以交换机为媒介,构成以太网网络,进行相互连接、传输数据。其中一级控制模块、二级控制模块双向进行通信,形成二级控制过程;二级控制模块、计算机双向进行通信,完成三级控制过程。 The first-level control module, the second-level control module, and the computer use the switch as the medium to form an Ethernet network for mutual connection and data transmission. Among them, the first-level control module and the second-level control module communicate in two directions to form a second-level control process; the second-level control module and the computer communicate in two-way to complete the third-level control process.
上述具体实施方式用来解释说明本发明,而不是对本发明进行限制,在本发明的精神和权利要求的保护范围内,对本发明作出的任何修改和改变,都落入本发明的保护范围。 The above specific embodiments are used to explain the present invention, rather than to limit the present invention. Within the spirit of the present invention and the protection scope of the claims, any modification and change made to the present invention will fall into the protection scope of the present invention.
Claims (9)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410535831.9A CN104298127B (en) | 2014-10-11 | 2014-10-11 | Micro-grid semi-digital semi-physical real-time simulation system based on RT-LAB |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410535831.9A CN104298127B (en) | 2014-10-11 | 2014-10-11 | Micro-grid semi-digital semi-physical real-time simulation system based on RT-LAB |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104298127A true CN104298127A (en) | 2015-01-21 |
CN104298127B CN104298127B (en) | 2017-01-18 |
Family
ID=52317907
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410535831.9A Expired - Fee Related CN104298127B (en) | 2014-10-11 | 2014-10-11 | Micro-grid semi-digital semi-physical real-time simulation system based on RT-LAB |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104298127B (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105137348A (en) * | 2015-07-17 | 2015-12-09 | 国家电网公司 | Diesel generator simulator used for micro-grid |
CN106054672A (en) * | 2016-07-20 | 2016-10-26 | 天津天大求实电力新技术股份有限公司 | Real micro-grid operation dynamic simulation test platform based on RT-LAB |
CN106681168A (en) * | 2015-11-10 | 2017-05-17 | 国网智能电网研究院 | Decoupling method for MMC converter valve digital-analog hybrid simulation interface network |
CN107918290A (en) * | 2017-10-19 | 2018-04-17 | 上海科梁信息工程股份有限公司 | A kind of analogue system and emulation mode |
CN108107751A (en) * | 2017-12-29 | 2018-06-01 | 哈尔滨安天科技股份有限公司 | A kind of simulation feedback method and system of industrial simulation control system |
CN111046520A (en) * | 2019-10-22 | 2020-04-21 | 国网浙江省电力有限公司电力科学研究院 | A hardware-in-the-loop simulation system for DC distribution network based on RT-LAB |
CN111077803A (en) * | 2019-12-24 | 2020-04-28 | 国电南瑞科技股份有限公司 | A panoramic cyber-physical fusion system simulation architecture and its working method |
CN112366796A (en) * | 2020-12-03 | 2021-02-12 | 南方电网科学研究院有限责任公司 | Energy storage system semi-physical simulation platform for gradient utilization of ex-service battery |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH08152902A (en) * | 1994-11-30 | 1996-06-11 | Hitachi Ltd | Adaptive processor |
EP0797184A2 (en) * | 1996-03-21 | 1997-09-24 | Honda Giken Kogyo Kabushiki Kaisha | Vibration/noise control system |
CN103257593A (en) * | 2013-05-30 | 2013-08-21 | 上海交通大学 | Numerical physical hybrid simulation system of grid-connected photovoltaic power generating system |
CN103344437A (en) * | 2013-07-19 | 2013-10-09 | 华北电力大学 | Semi-physical real-time simulation platform for wind generating set |
CN103675534A (en) * | 2013-11-30 | 2014-03-26 | 许继电气股份有限公司 | System and method of testing flexible direct-current transmission valve control equipment |
-
2014
- 2014-10-11 CN CN201410535831.9A patent/CN104298127B/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH08152902A (en) * | 1994-11-30 | 1996-06-11 | Hitachi Ltd | Adaptive processor |
EP0797184A2 (en) * | 1996-03-21 | 1997-09-24 | Honda Giken Kogyo Kabushiki Kaisha | Vibration/noise control system |
CN103257593A (en) * | 2013-05-30 | 2013-08-21 | 上海交通大学 | Numerical physical hybrid simulation system of grid-connected photovoltaic power generating system |
CN103344437A (en) * | 2013-07-19 | 2013-10-09 | 华北电力大学 | Semi-physical real-time simulation platform for wind generating set |
CN103675534A (en) * | 2013-11-30 | 2014-03-26 | 许继电气股份有限公司 | System and method of testing flexible direct-current transmission valve control equipment |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105137348A (en) * | 2015-07-17 | 2015-12-09 | 国家电网公司 | Diesel generator simulator used for micro-grid |
CN105137348B (en) * | 2015-07-17 | 2017-12-12 | 国家电网公司 | A kind of diesel-driven generator simulator for microgrid |
CN106681168A (en) * | 2015-11-10 | 2017-05-17 | 国网智能电网研究院 | Decoupling method for MMC converter valve digital-analog hybrid simulation interface network |
CN106054672A (en) * | 2016-07-20 | 2016-10-26 | 天津天大求实电力新技术股份有限公司 | Real micro-grid operation dynamic simulation test platform based on RT-LAB |
CN106054672B (en) * | 2016-07-20 | 2020-02-14 | 天津天大求实电力新技术股份有限公司 | Real microgrid operation dynamic simulation test platform based on RT-LAB |
CN107918290A (en) * | 2017-10-19 | 2018-04-17 | 上海科梁信息工程股份有限公司 | A kind of analogue system and emulation mode |
CN108107751A (en) * | 2017-12-29 | 2018-06-01 | 哈尔滨安天科技股份有限公司 | A kind of simulation feedback method and system of industrial simulation control system |
CN111046520A (en) * | 2019-10-22 | 2020-04-21 | 国网浙江省电力有限公司电力科学研究院 | A hardware-in-the-loop simulation system for DC distribution network based on RT-LAB |
CN111077803A (en) * | 2019-12-24 | 2020-04-28 | 国电南瑞科技股份有限公司 | A panoramic cyber-physical fusion system simulation architecture and its working method |
CN112366796A (en) * | 2020-12-03 | 2021-02-12 | 南方电网科学研究院有限责任公司 | Energy storage system semi-physical simulation platform for gradient utilization of ex-service battery |
Also Published As
Publication number | Publication date |
---|---|
CN104298127B (en) | 2017-01-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104298127B (en) | Micro-grid semi-digital semi-physical real-time simulation system based on RT-LAB | |
US10826292B2 (en) | Multi-time-scale digital/analog hybrid simulation system and method for power distribution network and storage medium | |
CN102436534B (en) | Simulating method for electric power system | |
CN103020385B (en) | Based on RTDS electrical network 500kV major network modeling and simulating system | |
CN106650072A (en) | Detecting system and method for virtual synchronous generator grid connection based on hardware-in-the-loop simulation | |
CN110286606B (en) | An experimental system for integrated energy microgrid control based on hardware-in-the-loop simulation | |
CN108134407A (en) | Grid-connected photovoltaic system based on virtual synchronous machine is in ring real-time simulation platform | |
CN104570768A (en) | Information physics semi-physical simulation system based on Rt-Lab and OPNET | |
CN103645645B (en) | Electric locomotive Auxiliary Control Element semi-physical emulation platform | |
CN104407519B (en) | Semi-physical simulation system of AC-DC-AC metallurgy rolling mill transmission system | |
CN105867161A (en) | Wind-power-generation digital physical hybrid simulation system based on RTDS and method thereof | |
CN109066768A (en) | The double-fed fan motor unit combined simulation system and method for multiple-variable flow device parallel connection | |
CN105429130B (en) | Micro-capacitance sensor simulating experimental system and method based on RTDS and dSPACE | |
CN103984239B (en) | A kind of more FACTS coordinated control numerical model analysis emulation platforms based on WAMS | |
CN104199315B (en) | RTDS (real time digital simulator) based microgrid energy storage system test platform | |
CN204258307U (en) | Control circuit of voltage sag generator | |
Bélanger et al. | A modern and open real-time digital simulator of contemporary power systems | |
CN204143248U (en) | Hardware-in-loop simulation device | |
CN204190402U (en) | Building photovoltaic generation supply intelligent system | |
CN106647688A (en) | Automatic test device for control unit of urban rail traction converter | |
CN201774252U (en) | Power system simulation research and development platform based on graphical real-time simulation | |
CN105807629A (en) | Grid-connected photovoltaic power generation semi-physical simulation system | |
CN112003271B (en) | Converter access alternating current micro-grid stability analysis method based on distributed impedance criterion | |
CN209514685U (en) | A kind of high-low pressure energy saving verifying system online | |
CN207020526U (en) | A kind of active distribution network high-frequency power electronic simulation test platform based on RT LAB |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information |
Inventor after: Xin Huanhai Inventor after: Zhang Leiqi Inventor after: Fu Xuhua Inventor after: Le Chengyi Inventor after: Zhang Yongchi Inventor after: Li Suipeng Inventor after: Hou Jiazuo Inventor before: Zhang Yongchi Inventor before: Li Suipeng Inventor before: Hou Jiazuo Inventor before: Zhang Leiqi Inventor before: Xin Huanhai |
|
COR | Change of bibliographic data | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20170118 Termination date: 20181011 |
|
CF01 | Termination of patent right due to non-payment of annual fee |