CN105606919A - Simulation closed-loop test method for layered distributed wireless network of intelligent transformer station - Google Patents
Simulation closed-loop test method for layered distributed wireless network of intelligent transformer station Download PDFInfo
- Publication number
- CN105606919A CN105606919A CN201510749959.XA CN201510749959A CN105606919A CN 105606919 A CN105606919 A CN 105606919A CN 201510749959 A CN201510749959 A CN 201510749959A CN 105606919 A CN105606919 A CN 105606919A
- Authority
- CN
- China
- Prior art keywords
- simulation
- emulation
- main frame
- terminal
- time
- 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
Links
Landscapes
- Supply And Distribution Of Alternating Current (AREA)
Abstract
本发明涉及一种智能变电站分层分布式无线组网仿真闭环测试方法,提供一仿真数据处理控制机;仿真数据处理控制机采用隐式积分法获取电力系统的稳定运行状态以及故障动态过程的时序解,对智能变电站仿真模型进行时域仿真,并将仿真数据传送到通过无线网卡与仿真数据处理控制机相连的一级主机;一级主机通过无线网桥与二级主机相连,一级主机以及二级主机用于同步授时以及仿真数据处理控制机与经无线网桥与二级主机相连的仿真终端之间的数据交互;仿真数据处理控制机通过预设状态序列,根据接收经仿真终端上传的模拟开入量或者GOOSE状态量,切换相应状态序列控制输出数据,实现闭环式仿真测试。
The invention relates to a simulation closed-loop test method for hierarchical distributed wireless networking of intelligent substations, and provides a simulation data processing control machine; the simulation data processing control machine adopts an implicit integral method to obtain the stable operation state of the power system and the time sequence of the fault dynamic process solution, the simulation model of the smart substation is simulated in the time domain, and the simulation data is transmitted to the first-level host connected to the simulation data processing control machine through the wireless network card; the first-level host is connected to the second-level host through a wireless bridge, and the first-level host and The secondary host is used for synchronous time service and data interaction between the simulation data processing control machine and the simulation terminal connected to the secondary host through the wireless bridge; the simulation data processing control machine passes through the preset state sequence, according to receiving the data uploaded by the simulation terminal Simulate the binary input or GOOSE state quantity, switch the corresponding state sequence to control the output data, and realize the closed-loop simulation test.
Description
技术领域technical field
本发明涉及智能变电站分布式组网下的系统级控制及检测,特别是一种智能变电站分层分布式无线组网仿真闭环测试方法。The invention relates to system-level control and detection under distributed networking of intelligent substations, in particular to a simulation closed-loop testing method for layered distributed wireless networking of intelligent substations.
背景技术Background technique
随着智能变电站系统范围的扩大和分散控制的发展,系统级仿真测试逐渐成为智能变电站调试的发展趋势。系统级仿真测试首先需要将分散控制节点之间的时间实现同步。系统中时间的使用通常有两种不同的应用类型:时间标记性应用和基于频率的应用。时间同步的目的就是要将时间基准准确地传递到各控制点,传递并不困难,难于达到的是传递的精度。With the expansion of the scope of smart substation systems and the development of decentralized control, system-level simulation testing has gradually become the development trend of smart substation debugging. The system-level simulation test first needs to synchronize the time among the distributed control nodes. There are generally two different types of applications in which time is used in systems: time-stamped applications and frequency-based applications. The purpose of time synchronization is to accurately transmit the time reference to each control point. The transmission is not difficult, but the difficulty in achieving is the accuracy of the transmission.
为实现系统中不同设备间的时钟同步,当前的解决办法主要有有线和无线两大类。有线方式基于标准RJ45或者光纤以太网,应用IEEE1588精密时间协议(PTP)。有线方式虽能实现不同设备时钟us级同步精度,但使用前需要大量布线,给大范围及移动使用带来不便;无线方式目前有两种,方法一利用无线对时结合高精度恒温晶振机制,即每次仿真测试前先进行主从时钟间一对一无线对时,再利用高精度恒温晶振守时。该方法同步精度低,可持续时间短;方法二每台设备安装GPS,由GPS授时,同步成本高,安装受限制、可用性差等。In order to realize the clock synchronization between different devices in the system, the current solutions mainly include two categories: wired and wireless. The wired mode is based on standard RJ45 or optical fiber Ethernet, and applies IEEE1588 Precision Time Protocol (PTP). Although the wired method can achieve us-level synchronization accuracy of different device clocks, it requires a lot of wiring before use, which brings inconvenience to large-scale and mobile use; there are currently two wireless methods. The first method uses wireless time synchronization combined with a high-precision constant temperature crystal oscillator mechanism. That is, before each simulation test, one-to-one wireless time pairing between the master and slave clocks is performed, and then the high-precision constant temperature crystal oscillator is used to keep time. This method has low synchronization accuracy and short sustainable time; method 2, each device is equipped with GPS, and the time is served by GPS, the synchronization cost is high, the installation is limited, and the usability is poor.
无线传输,为大范围分布与移动使用提供了便利,在满足不同设备间高精度同步的基础上,基于无线以太网络应用的分布式仿真闭环测试系统是智能变电站系统级仿真测试不错的选择。Wireless transmission provides convenience for large-scale distribution and mobile use. On the basis of meeting high-precision synchronization between different devices, the distributed simulation closed-loop test system based on wireless Ethernet applications is a good choice for system-level simulation testing of smart substations.
发明内容Contents of the invention
本发明的目的在于提供一种智能变电站分层分布式无线组网仿真闭环测试方法,以克服现有技术中存在的缺陷。The purpose of the present invention is to provide a smart substation layered distributed wireless networking simulation closed-loop testing method to overcome the defects in the prior art.
为实现上述目的,本发明的技术方案是:一种智能变电站分层分布式无线组网仿真闭环测试方法,提供一仿真数据处理控制机;所述仿真数据处理控制机采用隐式积分法获取电力系统的稳定运行状态以及故障动态过程的时序解,对智能变电站仿真模型进行时域仿真,并将仿真数据传送到通过无线网卡与所述仿真数据处理控制机相连的一级主机;所述一级主机通过无线网桥与二级主机相连,所述一级主机以及所述二级主机用于同步授时以及所述仿真数据处理控制机与经无线网桥与所述二级主机相连的仿真终端之间的数据交互;所述仿真数据处理控制机通过预设状态序列,根据接收经所述仿真终端上传的模拟开入量或者GOOSE状态量,切换相应状态序列控制输出数据,实现闭环式仿真测试。In order to achieve the above object, the technical solution of the present invention is: a method for simulation closed-loop testing of intelligent substation layered distributed wireless networking, providing a simulation data processing control machine; the simulation data processing control machine adopts the implicit integration method to obtain power The time sequence solution of the stable running state of the system and the fault dynamic process, the time domain simulation is performed on the simulation model of the intelligent substation, and the simulation data is transmitted to the first-level host connected to the simulation data processing control machine through the wireless network card; the first-level The host is connected to the secondary host through a wireless bridge, the primary host and the secondary host are used for synchronous timing and the connection between the simulation data processing control machine and the simulation terminal connected to the secondary host via the wireless bridge The data interaction between; the simulation data processing control machine switches the corresponding state sequence to control the output data through the preset state sequence according to the analog binary input or GOOSE state quantity uploaded by the simulation terminal, so as to realize the closed-loop simulation test.
在本发明一实施例中,所述仿真数据处理控制机包括:图形化建模单元、电力系统仿真单元、模拟量波形显示单元以及试验控制单元,且通过上述单元完成智能变电站仿真平台建模、时域仿真、仿真结果波形显示以及试验过程控制;所述图形化建模单元包括电力系统设备模型库,用于完成智能变电站、直连线路以及电源的建模;所述电力系统仿真单元根据所述图形化建模单元建立的智能变电站仿真模型建立微分方程组,根据预设的故障对象以及时序确定动态仿真过程,完成时域仿真;所述模拟量波形显示单元以波形方式显示模拟量的时域仿真结果;所述试验控制单元支持试验条件以及时序参数设置,完成试验控制功能。In an embodiment of the present invention, the simulation data processing control machine includes: a graphical modeling unit, a power system simulation unit, an analog waveform display unit, and a test control unit, and the modeling of the intelligent substation simulation platform, Time-domain simulation, simulation result waveform display and test process control; the graphical modeling unit includes a power system equipment model library for completing the modeling of smart substations, direct-connected lines and power supplies; the power system simulation unit is based on the The intelligent substation simulation model established by the graphical modeling unit establishes a differential equation group, determines the dynamic simulation process according to the preset fault object and time sequence, and completes the time domain simulation; the analog quantity waveform display unit displays the time of the analog quantity in the form of a waveform Domain simulation results; the test control unit supports test conditions and timing parameter settings, and completes the test control function.
在本发明一实施例中,所述二级主机的数目根据变电站电压等级数量对应进行分设,且同一电压等级内的间隔构成三级网络。In an embodiment of the present invention, the number of secondary hosts is set according to the number of substation voltage levels, and the intervals within the same voltage level form a three-level network.
在本发明一实施例中,所述一级主机以及所述二级主机均配置有第一以太网端口以及第二以太网端口;所述一级主机以及所述二级主机经所述第一以太网端口发布基于MAC层的IEEE1588PTP协议报文,对应从机接收到IEEE1588PTP协议报文,实现IEEE1588同步操作,完成对应主从机之间的时钟同步;所述一级主机以及所述二级主机经所述第一以太网端口接收到来自对应主机基于socket通讯的TCP/IP协议下发报文后,经所述第二以太网端口转发给对应从机,并经所述第二以太网端口接收来自对应从机的上送报文,并经所述第一以太网端口转发给对应主机,实现数据传递。In an embodiment of the present invention, both the first-level host and the second-level host are configured with a first Ethernet port and a second Ethernet port; the first-level host and the second-level host The Ethernet port publishes the IEEE1588PTP protocol message based on the MAC layer, and the corresponding slave machine receives the IEEE1588PTP protocol message, realizes IEEE1588 synchronous operation, and completes the clock synchronization between the corresponding master and slave machines; the first-level master and the second-level master After receiving the message from the corresponding host based on the socket communication TCP/IP protocol through the first Ethernet port, it is forwarded to the corresponding slave through the second Ethernet port, and the message is forwarded to the corresponding slave through the second Ethernet port. Receive the message sent from the corresponding slave, and forward it to the corresponding master through the first Ethernet port, so as to realize data transmission.
在本发明一实施例中,所述一级主机以及所述二级主机中的主时钟设置有访问权限,防止外界非法访问,增强抗干扰能力。In an embodiment of the present invention, the master clocks in the primary host and the secondary host are provided with access rights to prevent illegal access from the outside and enhance anti-interference capabilities.
在本发明一实施例中,所述仿真终端采用硬件MAC地址过滤策略,MAC层仅接收来自相应主时钟的syn、followup以及resp报文;所述仿真终端将接收到的syn报文的源MAC地址,作为唯一允许通过的MAC地址,生成Hash表,并写入所述仿真终端中PHY芯片地址过滤寄存器,由PHY芯片进行MAC地址过滤。In an embodiment of the present invention, the emulation terminal adopts a hardware MAC address filtering strategy, and the MAC layer only receives syn, followup and resp messages from the corresponding master clock; the source MAC of the syn message received by the emulation terminal is The address, as the only MAC address allowed to pass through, generates a Hash table, and writes it into the PHY chip address filtering register in the emulation terminal, and the PHY chip performs MAC address filtering.
在本发明一实施例中,所述仿真终端包括互感器仿真终端以及开关仿真终端;In an embodiment of the present invention, the simulation terminal includes a transformer simulation terminal and a switch simulation terminal;
所述互感器仿真终端用于模拟互感器输出,其中,输出信号所表征的电气特性与一次侧真实值保持一致,且输出信号的自身定义应与互感器输出定义一致;The transformer simulation terminal is used to simulate the output of the transformer, wherein the electrical characteristics represented by the output signal are consistent with the real value of the primary side, and the definition of the output signal itself should be consistent with the output definition of the transformer;
所述开关仿真终端用于模拟开关以及模拟智能终端;当模拟开关时,接收来自订阅保护或测控装置的GOOSE跳合闸信号,且当检测到有跳合闸行为时,将相应的跳合闸位置信号按照所述仿真数据处理控制机配发GOOSE要求进行发布;当模拟智能终端时,将接收到的动作指令转化为相应的DO开出,同时将接入的DI变位,按照所述仿真数据处理控制机配发GOOSE要求发布。The switch simulation terminal is used for simulating switches and simulating smart terminals; when simulating a switch, it receives a GOOSE tripping and closing signal from a subscription protection or measurement and control device, and when a tripping and closing behavior is detected, the corresponding tripping and closing The position signal is issued according to the GOOSE requirements of the simulation data processing control machine; when simulating the intelligent terminal, the received action command is converted into the corresponding DO and opened, and the DI is changed according to the simulation. The data processing control machine distributes GOOSE requirements for release.
相较于现有技术,本发明具有以下有益效果:本发明所提出的一种智能变电站分层分布式无线组网仿真闭环测试方法充分满足了智能变电站电气量分布式采集与控制应用下的系统级闭环式仿真测试;采用了三级星型无线网络架构,极大地适应了智能变电站复杂电磁环境;采用基于无线IEEE1588PTP同步,经同步后不同设备间的时钟同步精度始终保持<=5us;同步帧报文与数据帧报文共享同一网络,实现了一网两用。此外,本发明技术方案中采用无线传输,为大范围分布与移动使用提供了便利;us级高精度同步,能充分满足智能变电站对不同设备同步控制和收发数据的要求;组播通讯及软硬件报文过滤为系统支撑能力提供了有利条件,可广泛应用于电力系统各类电气量仿真及系统级检测。Compared with the prior art, the present invention has the following beneficial effects: A smart substation layered distributed wireless networking simulation closed-loop test method proposed by the present invention fully satisfies the system under the application of distributed collection and control of electrical quantities in smart substations. Level closed-loop simulation test; adopts a three-level star wireless network architecture, which greatly adapts to the complex electromagnetic environment of smart substations; adopts wireless IEEE1588PTP synchronization, and the clock synchronization accuracy between different devices after synchronization is always maintained <=5us; synchronization frame The message and the data frame message share the same network, which realizes dual-use in one network. In addition, wireless transmission is adopted in the technical solution of the present invention, which provides convenience for large-scale distribution and mobile use; us-level high-precision synchronization can fully meet the requirements of smart substations for synchronous control and data transmission and reception of different devices; multicast communication and software and hardware Message filtering provides favorable conditions for the system support capability, and can be widely used in various electrical quantity simulations and system-level detections of power systems.
附图说明Description of drawings
图1为本发明一种智能变电站分层分布式无线组网仿真闭环测试方法中各级主从机星型网络分层分布式示意图。FIG. 1 is a schematic diagram of layered distribution of a master-slave star network at all levels in a method for closed-loop simulation of a smart substation layered distributed wireless networking simulation according to the present invention.
图2为本发明中一级主机、二级主机以及仿真终端实现同一装置主从时钟两种模式的原理图。Fig. 2 is a schematic diagram of two master-slave clock modes of the same device implemented by a primary host, a secondary host, and an emulation terminal in the present invention.
具体实施方式detailed description
下面结合附图,对本发明的技术方案进行具体说明。The technical solution of the present invention will be specifically described below in conjunction with the accompanying drawings.
本发明提供一种智能变电站分层分布式无线组网仿真闭环测试方法,如图1所示,提供一仿真数据处理控制机,在本实施例中,采用一仿真数据处理及控制PC机。嵌入式系统技术(下位机)+PC机(上位机)呈三级星型网络分层分布式实现。PC机通过无线网卡与系统一级主机相连。下位机包括一、二级主机、互感器(含MU)仿真终端、开关(含智能终端)仿真终端,它们通过无线网桥联系,但同层网络内的设备之间互不交互数据。The present invention provides a simulated closed-loop test method for hierarchical distributed wireless networking of smart substations. As shown in FIG. 1 , a simulated data processing control machine is provided. In this embodiment, a simulated data processing and control PC is used. Embedded system technology (lower computer) + PC (upper computer) is distributed in a three-level star network. The PC is connected to the first-level host of the system through a wireless network card. The lower computer includes primary and secondary hosts, transformer (including MU) simulation terminals, and switch (including intelligent terminals) simulation terminals. They are connected through wireless bridges, but the devices in the same layer network do not exchange data with each other.
仿真数据处理控制机采用隐式积分法获取电力系统的稳定运行状态以及故障动态过程的时序解,对智能变电站仿真模型进行时域仿真,并将仿真数据传送到通过无线网卡与仿真数据处理控制机相连的一级主机;一级主机通过无线网桥与二级主机相连,一级主机以及二级主机用于同步授时以及仿真数据处理控制机与经无线网桥与二级主机相连的仿真终端之间的数据交互;仿真数据处理控制机通过预设状态序列,根据接收经仿真终端上传的模拟开入量或者GOOSE状态量,切换相应状态序列控制输出数据,实现闭环式仿真测试。The simulation data processing control machine adopts the implicit integral method to obtain the stable operation state of the power system and the time series solution of the fault dynamic process, performs time domain simulation on the simulation model of the intelligent substation, and transmits the simulation data to the control machine through the wireless network card and the simulation data processing The connected first-level host; the first-level host is connected to the second-level host through a wireless bridge, and the first-level host and the second-level host are used for synchronous timing and simulation data processing between the control machine and the simulation terminal connected to the second-level host through a wireless bridge Data interaction among them; the simulation data processing control machine switches the corresponding state sequence to control the output data through the preset state sequence, according to the analog binary input or GOOSE state quantity uploaded by the simulation terminal, and realizes the closed-loop simulation test.
进一步的,在本实施例中,隐式求解和显式求解,是ansys里面的两种求解方法。电磁暂态过程数字仿真是用数值计算方法对电力系统中从数微秒至数秒之间的电磁暂态过程进行仿真模拟。电磁暂态过程仿真必须考虑输电线路分布参数特性和参数的频率特性、发电机的电磁和机电暂态过程以及一系列元件(避雷器、变压器、电抗器等)的非线性特性,因此电磁暂态仿真的数据模型必须建立这些元件和系统的代数或微分、偏微分方程。一般采用的数值积分方法为隐式积分法。Further, in this embodiment, implicit solution and explicit solution are two solution methods in ansys. The digital simulation of the electromagnetic transient process is to use the numerical calculation method to simulate the electromagnetic transient process in the power system from a few microseconds to a few seconds. The electromagnetic transient process simulation must consider the distribution parameter characteristics of the transmission line and the frequency characteristics of the parameters, the electromagnetic and electromechanical transient process of the generator, and the nonlinear characteristics of a series of components (arresters, transformers, reactors, etc.), so the electromagnetic transient simulation The data models for these components and systems must be built from algebraic or differential or partial differential equations. The commonly used numerical integration method is the implicit integration method.
进一步的,在本实施例中,仿真数据处理控制机包括:图形化建模单元、电力系统仿真单元、模拟量波形显示单元以及试验控制单元,且通过上述单元完成智能变电站仿真平台建模、时域仿真、仿真结果波形显示以及试验过程控制;图形化建模单元包括电力系统设备模型库,用于完成智能变电站、直连线路以及电源的建模;电力系统仿真单元根据图形化建模单元建立的智能变电站仿真模型建立微分方程组,根据预设的故障对象以及时序确定动态仿真过程,完成时域仿真;模拟量波形显示单元以波形方式显示模拟量的时域仿真结果;试验控制单元支持试验条件以及时序参数设置,完成试验控制功能。进一步的,数字化仿真软件安装于PC机,由图形化建模软件、电力系统仿真软件、模拟量波形显示软件和试验控制软件组成,完成智能变电站仿真平台建模、时域仿真、仿真结果的波形显示以及试验过程控制,显示由“开关模拟器”检测的“智能操作箱”分、合闸命令发生时刻。各部件功能如下:Further, in this embodiment, the simulation data processing control machine includes: a graphical modeling unit, a power system simulation unit, an analog waveform display unit, and a test control unit, and the modeling of the intelligent substation simulation platform, the time Domain simulation, simulation result waveform display, and test process control; the graphical modeling unit includes a power system equipment model library, which is used to complete the modeling of smart substations, direct-connected lines, and power supplies; the power system simulation unit is established based on the graphical modeling unit The simulation model of intelligent substation establishes differential equations, determines the dynamic simulation process according to the preset fault object and time sequence, and completes the time domain simulation; the analog waveform display unit displays the time domain simulation results of the analog quantity in the form of waveform; the test control unit supports the test Conditions and timing parameters are set to complete the test control function. Further, the digital simulation software is installed on the PC, which is composed of graphical modeling software, power system simulation software, analog waveform display software and test control software, and completes the simulation platform modeling of smart substations, time-domain simulation, and waveform analysis of simulation results. Display and test process control, display the time when the opening and closing commands of the "smart operation box" detected by the "switch simulator" occur. The functions of each part are as follows:
图形化建模软件:含电力系统设备模型库,完成智能变电站及直连线路、电源的建模。Graphical modeling software: including power system equipment model library, complete the modeling of smart substations, direct-connected lines, and power sources.
电力系统仿真软件:根据“图形化建模软件”建立的智能变电站仿真模型建立微分方程组,根据设定的故障对象和时序确定动态仿真过程,完成时域仿真。Power system simulation software: establish a differential equation group based on the intelligent substation simulation model established by the "graphical modeling software", determine the dynamic simulation process according to the set fault object and time sequence, and complete the time domain simulation.
模拟量波形显示软件:仿真结果的辅助分析软件。以波形方式显示模拟量的时域仿真结果。Analog waveform display software: Auxiliary analysis software for simulation results. Display the time-domain simulation results of analog quantities in the form of waveforms.
试验控制软件:支持试验条件、时序参数设置,完成试验控制功能。Test control software: supports test conditions and timing parameter settings, and completes test control functions.
在检测到各仿真终端已经同步的情况下,读取终端的当前绝对时间,经延时5S发送开始指令。试验分暂态和稳态两种,暂态可通过前拓和后拓形式实现数据长度的延展。When it is detected that each simulation terminal has been synchronized, the current absolute time of the terminal is read, and the start command is sent after a delay of 5S. The test is divided into two types: transient state and steady state. The transient state can realize the extension of the data length through the form of front extension and back extension.
进一步的,在本实施例中,二级主机的数目根据变电站电压等级数量对应进行分设,且同一电压等级内的间隔构成三级网络。统采用三级星型网络分布,主机为一级网络,根据变电站电压等级数量分设二级主机数目,构成二级网络,同一电压等级内的间隔构成三级网络。该网络架构是在充分考虑智能变电站分布式终端就地安装特点基础上,为尽可能提高无线传输质量从而保证不同仿真终端间时钟同步的有力举措。Further, in this embodiment, the number of secondary hosts is set according to the number of substation voltage levels, and the intervals within the same voltage level form a three-level network. The system adopts a three-level star network distribution, the host is a first-level network, and the number of second-level hosts is divided according to the number of substation voltage levels to form a second-level network, and the intervals within the same voltage level form a third-level network. This network architecture is a powerful measure to improve the quality of wireless transmission as much as possible and ensure clock synchronization between different simulation terminals on the basis of fully considering the characteristics of on-site installation of distributed terminals in smart substations.
进一步的,在本实施例中,一级、二级主机也是一、二级主时钟,不仅承担同步授时功能,而且负责PC上位机与仿真终端之间数据交互。一级主机以及二级主机均配置有第一以太网端口以及第二以太网端口;一级主机以及二级主机利用自身晶振维护时间,经第一以太网端口发布基于MAC层的IEEE1588PTP协议报文,对应从机接收IEEE1588PTP协议报文,实现IEEE1588同步操,完成对应主从机之间的时钟同步。一级主机以及二级主机经第一以太网端口接收到来自对应主机基于socket通讯的TCP/IP协议下发报文后,经第二以太网端口转发给对应从机,并经第二以太网端口接收来自对应从机的上送报文,并经第一以太网端口转发给对应主机,实现数据传递。从机接收到TCP/IP协议报文,完成仿真PC机与仿真终端之间的数据问答交互。其中,二级主机由于是一级主机的从机,又是仿真终端的主机,因此其在同步上一级主机后,发布同步报文,将接收到的delay_req报文中的源MAC地址设为允许通过的MAC地址,经Hash算法添加到地址过滤寄存器,使仿真终端跟随上主机时钟。一级主机以及二级主机中的主时钟设置有访问权限,防止外界非法访问,增强抗干扰能力。Further, in this embodiment, the primary and secondary hosts are also the primary and secondary master clocks, which not only undertake the function of synchronous timing, but also are responsible for data interaction between the PC host computer and the emulation terminal. Both the first-level host and the second-level host are equipped with the first Ethernet port and the second Ethernet port; the first-level host and the second-level host use their own crystal oscillator maintenance time to publish IEEE1588PTP protocol messages based on the MAC layer through the first Ethernet port , the corresponding slave receives the IEEE1588PTP protocol message, implements IEEE1588 synchronous operation, and completes the clock synchronization between the corresponding master and slave. After the first-level host and the second-level host receive the message from the corresponding host based on the socket communication TCP/IP protocol through the first Ethernet port, they forward it to the corresponding slave through the second Ethernet port, and send it to the corresponding slave through the second Ethernet port. The port receives the message sent from the corresponding slave, and forwards it to the corresponding master through the first Ethernet port to realize data transmission. The slave machine receives the TCP/IP protocol message, and completes the data question-and-answer interaction between the simulated PC and the simulated terminal. Among them, since the second-level host is the slave of the first-level host and the host of the emulation terminal, after synchronizing with the upper-level host, it issues a synchronization message, and sets the source MAC address in the received delay_req message to The MAC address that is allowed to pass is added to the address filter register through the Hash algorithm, so that the emulation terminal follows the host clock. The master clocks in the first-level host and the second-level host have access rights to prevent illegal access from the outside and enhance anti-interference capabilities.
在本实施例中,一、二级主时钟及从时钟MAC层组播技术的IEEE1588精密时间协议(PTP)和基于socket通讯的TCP/IP协议帧共网实时传递,保证从时钟全程跟随主时钟频率变化。MAC层组播技术的应用,使主机与所有下辖从机之间的每次同步仅需要发送一次syn和followup报文,减少了同步用时,为IEEE1588精密时间协议(PTP)和基于socket通讯的TCP/IP协议帧共网实时传递提供有利条件。因为IEEE1588精密时间协议(PTP)全程参与,从而保证从时钟始终跟随主时钟频率变化。TCP/IP协议的数据上下贯通,但IEEE1588PTP协议只是相邻层之间传递。In this embodiment, the IEEE1588 precision time protocol (PTP) of the MAC layer multicast technology of the primary and secondary master clocks and the slave clocks and the TCP/IP protocol frame based on socket communication are transmitted in real time on a common network, ensuring that the slave clocks follow the master clock throughout the process frequency changes. The application of MAC layer multicast technology makes it only necessary to send syn and followup messages once for each synchronization between the master and all slaves under its jurisdiction, which reduces the time spent on synchronization. The real-time transmission of TCP/IP protocol frames in the common network provides favorable conditions. Because the IEEE1588 Precision Time Protocol (PTP) participates in the whole process, it is guaranteed that the slave clock always follows the frequency change of the master clock. The data of the TCP/IP protocol runs through up and down, but the IEEE1588PTP protocol is only passed between adjacent layers.
进一步的,在本实施例中,仿真终端采用硬件MAC地址过滤策略,在不增加CPU负担的基础上,MAC层仅接收来自相应主时钟的syn、followup以及resp报文;仿真终端将接收到的syn报文的源MAC地址,作为唯一允许通过的MAC地址,生成Hash表,并写入仿真终端中PHY芯片地址过滤寄存器,由PHY芯片进行MAC地址过滤。Further, in this embodiment, the emulation terminal adopts a hardware MAC address filtering strategy. On the basis of not increasing the CPU burden, the MAC layer only receives syn, followup and resp messages from the corresponding main clock; the emulation terminal will receive The source MAC address of the syn message, as the only MAC address allowed to pass, generates a Hash table, and writes it into the PHY chip address filtering register in the emulation terminal, and the PHY chip performs MAC address filtering.
进一步的,在本实施例中,仿真终端包括互感器(含MU)仿真终端以及开关(智能终端)仿真终端。Further, in this embodiment, the simulation terminal includes a transformer (including MU) simulation terminal and a switch (smart terminal) simulation terminal.
互感器仿真终端用于模拟互感器输出,其中,输出信号所表征的电气特性与一次侧真实值保持一致,这部分由电磁暂态仿真支持;输出信号的自身定义应与互感器输出定义一致,这包括信号标准的定义以及协议匹配等方面的内容。The transformer simulation terminal is used to simulate the output of the transformer, in which the electrical characteristics represented by the output signal are consistent with the real value of the primary side, which is supported by electromagnetic transient simulation; the definition of the output signal itself should be consistent with the output definition of the transformer, This includes the definition of signaling standards and protocol matching.
开关仿真终端用于模拟开关以及模拟智能终端;当模拟开关时,接收来自订阅保护或测控装置的GOOSE跳合闸信号,且当检测到有跳合闸行为时,将相应的跳合闸位置信号按照仿真数据处理控制机配发GOOSE要求进行发布;当模拟智能终端时,将接收到的动作指令转化为相应的DO开出,同时将接入的DI变位,按照仿真数据处理控制机配发GOOSE要求发布。The switch simulation terminal is used for simulating switches and simulating smart terminals; when simulating a switch, it receives the GOOSE tripping and closing signal from the subscription protection or measurement and control device, and when a tripping and closing behavior is detected, the corresponding tripping and closing position signal Release according to the GOOSE requirements of the simulation data processing control machine; when simulating the intelligent terminal, convert the received action command into the corresponding DO and issue it, and at the same time change the position of the connected DI, and distribute it according to the simulation data processing control machine GOOSE asked for posting.
在本实施例中,互感器仿真终端中的采集模拟器模拟互感器的真实输出,对于传统电磁式互感器,由于输出的是模拟量,采集模拟器需要采用功放输出。电压额定值对应功放输出电压的57.7V。对于220kV以下变电站,电流额定值对应于功放输出的5A,500kV以上变电站,电流额定值对应于功放输出的1A。对于电子式互感器,在现场应用时,互感器与合并单元通常由一个厂家提供。两者之间按照某种通信协议进行数据传输。由于电网公司尚未规范统一标准,目前通信协议都是各厂家自定义的,很难彼此兼容。为使得采集模拟器能适应不同厂家合并单元的数据接口,唯一可行的方法就是将各厂家协议均考虑在内,形成专门的协议适配单元,在现场由软件平台进行选择。In this embodiment, the acquisition simulator in the transformer simulation terminal simulates the real output of the transformer. For traditional electromagnetic transformers, since the output is analog, the acquisition simulator needs to use a power amplifier output. The voltage rating corresponds to 57.7V of the power amplifier output voltage. For substations below 220kV, the rated current value corresponds to 5A output by the power amplifier, and for substations above 500kV, the rated current value corresponds to 1A output by the power amplifier. For electronic transformers, the transformer and the merging unit are usually provided by one manufacturer during on-site application. Data transmission is carried out between the two according to a certain communication protocol. Since the power grid company has not standardized a unified standard, the current communication protocols are customized by each manufacturer, and it is difficult to be compatible with each other. In order to make the acquisition simulator adapt to the data interface of the merging units of different manufacturers, the only feasible method is to take into account the protocols of each manufacturer and form a special protocol adaptation unit, which is selected by the software platform on site.
仿真终端经同步后,取得系统内的绝对时间和与主机相一致的节拍。当仿真PC机下发配置数据时,仿真终端根据暂态和稳态两种形态,通过插值或者计算生成实时仿真数据。接收到控制命令时,比较当前时间与控制开始或停止时间,整秒时执行开始/停止。After the emulation terminal is synchronized, obtain the absolute time in the system and the beat consistent with the host. When the simulation PC sends the configuration data, the simulation terminal generates real-time simulation data through interpolation or calculation according to the two forms of transient state and steady state. When a control command is received, the current time is compared with the control start or stop time, and the start/stop is executed in whole seconds.
在本实施例中,如图2所示,一级主机、二级主机以及仿真终端均采用DP83640+FPGA+恒温晶振组合实现同一装置能工作主从时钟两种模式。利用DP83640接收来自无线网桥的以太网络数据,并启用IEEE1588报文识别技术,实现在PHY层打时间戳的IEEE1588精密时间协议(PTP)。FPGA控制DP83640每整秒输出Trigger脉冲信号,由FPGA实时检测脉冲信号上升沿。FPGA根据接入的恒温晶振频率,经信号调理再分频输出,作为DP83640工作晶振。FPGA组织的以太网络数据经DP83640输出。FPGA作为DP83640控制器,初始化时配置DP83640工作模式,启用IEEE1588报文识别并自动添加报文发送和到达时间戳功能,实时判别脉冲上升沿,并通过读取由恒温晶振驱动的计数器获取两个脉冲上升沿间隔计数。读取DP83640时间寄存器,取得无线系统的绝对时间。FPGA作为微处理器,将接收到的syn报文中的源MAC地址作为允许通过的唯一MAC地址,负责以太网络报文数据的编解码服务,运行无线IEEE1588同步算法,设置DP83640频率寄存器,实现时钟频率校正。设置DP83640时间寄存器,实现主从时钟相位校正。判断同步后,控制Trigger脉冲和绝对时间输出。经同步后,一旦检测到同步报文丢失,则FPGA转入守时逻辑,以维持不少于十分钟的us级同步精度。FPGA通过读取定值识别当前工作模式,从而实现同一装置能工作主从时钟两种模式。In this embodiment, as shown in Figure 2, the first-level host, the second-level host, and the emulation terminal all use the combination of DP83640+FPGA+constant-temperature crystal oscillator to realize that the same device can work in two modes of master-slave clock. Use DP83640 to receive Ethernet data from the wireless bridge, and enable IEEE1588 message recognition technology to implement IEEE1588 Precision Time Protocol (PTP) for timestamping at the PHY layer. The FPGA controls the DP83640 to output the Trigger pulse signal every second, and the FPGA detects the rising edge of the pulse signal in real time. According to the frequency of the connected constant temperature crystal oscillator, the FPGA is conditioned and then frequency-divided to output as the DP83640 working crystal oscillator. The Ethernet data organized by FPGA is output by DP83640. As the controller of DP83640, FPGA configures the working mode of DP83640 during initialization, enables IEEE1588 message identification and automatically adds the function of message sending and arrival time stamp, and judges the rising edge of the pulse in real time, and obtains two pulses by reading the counter driven by the constant temperature crystal oscillator Rising edge interval count. Read the DP83640 time register to obtain the absolute time of the wireless system. As a microprocessor, FPGA takes the source MAC address in the received syn message as the only MAC address allowed to pass through, is responsible for the encoding and decoding service of Ethernet message data, runs the wireless IEEE1588 synchronization algorithm, sets the DP83640 frequency register, and realizes the clock frequency correction. Set the DP83640 time register to achieve master-slave clock phase correction. After judging the synchronization, control the Trigger pulse and absolute time output. After synchronization, once the loss of the synchronization message is detected, the FPGA will switch to the timing logic to maintain the us-level synchronization accuracy of not less than ten minutes. The FPGA recognizes the current working mode by reading the fixed value, so that the same device can work in two modes of master and slave clocks.
仿真终端提供协议转换功能,开关仿真与互感器(含MU)处理方法如下。The simulation terminal provides the protocol conversion function, and the switch simulation and transformer (including MU) processing methods are as follows.
(1)每个采样周期到达后,互感器仿真终端中的采集模拟器向FPGA发送一个同步脉冲,通知FPGA发送一采样点的采集器数据(或接收DI、发送DO),同时与FPGA片内双口RAM进行一次数据交互。(1) After each sampling period arrives, the acquisition simulator in the transformer simulation terminal sends a synchronous pulse to the FPGA, instructing the FPGA to send the collector data of a sampling point (or receive DI, send DO), and at the same time communicate with the FPGA on-chip Dual-port RAM for a data exchange.
(2)FPGA片内双口RAM分为RAM区域1和RAM区域2,采用乒乓操作,每次采集模拟器的数据交互与FPGA自身的数据处理操作不同RAM区域,操作结束后RAM区域自动交替。(2) FPGA on-chip dual-port RAM is divided into RAM area 1 and RAM area 2. Ping-pong operation is adopted. The data interaction of each acquisition simulator is different from the data processing operation of FPGA itself. The RAM area is automatically alternated after the operation is completed.
(3)每次收到采集模拟器的同步脉冲后,FPGA将本点待发送的所有采集器数据串行写入各采集器发送缓冲(或串行将待发送DO写入发送缓冲并从接收缓冲串行读入DI),所有缓冲数据操作完毕后,FPGA同步并行发送缓冲区数据。FPGA从接收到外围系统的同步脉冲到并行发送各采集器数据间延迟固定并可精确计算。(3) After receiving the synchronization pulse of the acquisition simulator each time, the FPGA writes all the collector data to be sent at this point into the sending buffer of each collector serially (or writes the DO to be sent into the sending buffer in serial and sends it from the receiving The buffer is serially read into DI), and after all buffer data operations are completed, the FPGA sends the buffer data synchronously and in parallel. The delay between FPGA receiving the synchronization pulse of the peripheral system and sending the data of each collector in parallel is fixed and can be calculated accurately.
以上是本发明的较佳实施例,凡依本发明技术方案所作的改变,所产生的功能作用未超出本发明技术方案的范围时,均属于本发明的保护范围。The above are the preferred embodiments of the present invention, and all changes made according to the technical solution of the present invention, when the functional effect produced does not exceed the scope of the technical solution of the present invention, all belong to the protection scope of the present invention.
Claims (7)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510749959.XA CN105606919A (en) | 2015-11-06 | 2015-11-06 | Simulation closed-loop test method for layered distributed wireless network of intelligent transformer station |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510749959.XA CN105606919A (en) | 2015-11-06 | 2015-11-06 | Simulation closed-loop test method for layered distributed wireless network of intelligent transformer station |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105606919A true CN105606919A (en) | 2016-05-25 |
Family
ID=55987007
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510749959.XA Pending CN105606919A (en) | 2015-11-06 | 2015-11-06 | Simulation closed-loop test method for layered distributed wireless network of intelligent transformer station |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105606919A (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106841826A (en) * | 2017-01-23 | 2017-06-13 | 国网山东省电力公司电力科学研究院 | Real-time electromagnetic environment on-line monitoring system and method based on multi-stage distributed network |
CN107608232A (en) * | 2017-08-30 | 2018-01-19 | 国网四川省电力公司电力科学研究院 | A kind of intelligent substation real-time simulator based on FPGA |
CN106124933B (en) * | 2016-07-11 | 2018-08-24 | 中南大学 | A kind of fault diagnosis method of electric power system based on input nonlinearities method of equal value |
CN109583013A (en) * | 2018-10-19 | 2019-04-05 | 天津大学 | Active power distribution network real-time simulator output module design method based on FPGA |
CN109960225A (en) * | 2017-12-14 | 2019-07-02 | 北京迪文科技有限公司 | A kind of combined dcs and implementation method |
CN110263457A (en) * | 2019-06-25 | 2019-09-20 | 南方电网科学研究院有限责任公司 | Testing method, device, equipment and readable storage medium of in-place protection device |
CN110415500A (en) * | 2018-04-28 | 2019-11-05 | 北京群菱能源科技有限公司 | One kind being based on RFID ammeter acquisition terminal kilowatt meter reading-out system |
CN112034295A (en) * | 2020-09-23 | 2020-12-04 | 安徽新力电业科技咨询有限责任公司 | Beidou system-based optical fiber differential protection field simulation test system and method |
WO2021134938A1 (en) * | 2019-12-31 | 2021-07-08 | 国微集团(深圳)有限公司 | Simulation data processing method and system |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102510131A (en) * | 2011-11-03 | 2012-06-20 | 四川电力科学研究院 | Method and device for testing overall performance of intelligent transformer substation |
CN102769908A (en) * | 2012-07-17 | 2012-11-07 | 四川电力科学研究院 | A time synchronization device and method applied to power system protection test equipment |
CN103684907A (en) * | 2013-11-30 | 2014-03-26 | 国家电网公司 | Regional power network intelligent equipment time analyzer |
CN103713214A (en) * | 2013-12-24 | 2014-04-09 | 国家电网公司 | Intelligent transformer station relay protection closed loop test system |
CN104020374A (en) * | 2014-06-03 | 2014-09-03 | 河北省电力建设调整试验所 | Intelligent substation secondary equipment site-wide simulation test system |
CN104281145A (en) * | 2014-09-28 | 2015-01-14 | 上海金智晟东电力科技有限公司 | Automatic feeder testing system of mobile ad-hoc network |
CN104601220A (en) * | 2014-12-12 | 2015-05-06 | 国家电网公司 | LTE (Long Term Evolution) wireless communication intelligent substation test device |
-
2015
- 2015-11-06 CN CN201510749959.XA patent/CN105606919A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102510131A (en) * | 2011-11-03 | 2012-06-20 | 四川电力科学研究院 | Method and device for testing overall performance of intelligent transformer substation |
CN102769908A (en) * | 2012-07-17 | 2012-11-07 | 四川电力科学研究院 | A time synchronization device and method applied to power system protection test equipment |
CN103684907A (en) * | 2013-11-30 | 2014-03-26 | 国家电网公司 | Regional power network intelligent equipment time analyzer |
CN103713214A (en) * | 2013-12-24 | 2014-04-09 | 国家电网公司 | Intelligent transformer station relay protection closed loop test system |
CN104020374A (en) * | 2014-06-03 | 2014-09-03 | 河北省电力建设调整试验所 | Intelligent substation secondary equipment site-wide simulation test system |
CN104281145A (en) * | 2014-09-28 | 2015-01-14 | 上海金智晟东电力科技有限公司 | Automatic feeder testing system of mobile ad-hoc network |
CN104601220A (en) * | 2014-12-12 | 2015-05-06 | 国家电网公司 | LTE (Long Term Evolution) wireless communication intelligent substation test device |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106124933B (en) * | 2016-07-11 | 2018-08-24 | 中南大学 | A kind of fault diagnosis method of electric power system based on input nonlinearities method of equal value |
CN106841826A (en) * | 2017-01-23 | 2017-06-13 | 国网山东省电力公司电力科学研究院 | Real-time electromagnetic environment on-line monitoring system and method based on multi-stage distributed network |
CN107608232A (en) * | 2017-08-30 | 2018-01-19 | 国网四川省电力公司电力科学研究院 | A kind of intelligent substation real-time simulator based on FPGA |
CN109960225A (en) * | 2017-12-14 | 2019-07-02 | 北京迪文科技有限公司 | A kind of combined dcs and implementation method |
CN110415500A (en) * | 2018-04-28 | 2019-11-05 | 北京群菱能源科技有限公司 | One kind being based on RFID ammeter acquisition terminal kilowatt meter reading-out system |
CN109583013A (en) * | 2018-10-19 | 2019-04-05 | 天津大学 | Active power distribution network real-time simulator output module design method based on FPGA |
CN110263457A (en) * | 2019-06-25 | 2019-09-20 | 南方电网科学研究院有限责任公司 | Testing method, device, equipment and readable storage medium of in-place protection device |
WO2021134938A1 (en) * | 2019-12-31 | 2021-07-08 | 国微集团(深圳)有限公司 | Simulation data processing method and system |
US20220343047A1 (en) * | 2019-12-31 | 2022-10-27 | Shenzhen Guoweixin Technology Co., Ltd | Method and system for processing simulation data |
US12333232B2 (en) * | 2019-12-31 | 2025-06-17 | Shenzhen Guoweixin Technology Co., Ltd | Method and system for processing simulation data |
CN112034295A (en) * | 2020-09-23 | 2020-12-04 | 安徽新力电业科技咨询有限责任公司 | Beidou system-based optical fiber differential protection field simulation test system and method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105606919A (en) | Simulation closed-loop test method for layered distributed wireless network of intelligent transformer station | |
CN103713214B (en) | A kind of intelligent substation relay protection closed loop test system | |
CN103513130B (en) | A kind of secondary equipment of intelligent converting station test platform based on all-digital real-time simulation | |
CN204515048U (en) | Digital transformer substation intelligent tester | |
CN103792419B (en) | Realize analog quantity and mix the synchronous sampling method accessed with digital quantity | |
CN202735445U (en) | Test system for intelligent transformer station secondary equipment scene | |
CN102510131A (en) | Method and device for testing overall performance of intelligent transformer substation | |
CN104375038A (en) | Extensible closed-loop synchronous power distribution automation terminal detection platform and method | |
CN103412208A (en) | Intelligent substation electric telecontrol device closed loop test method | |
CN104701979B (en) | One kind protection observing and controlling integrating device and protection investigating method | |
CN105203870A (en) | Intelligent transformer substation secondary equipment integrated test system based on power line communication | |
CN105510869A (en) | Whole station testing system and method of digital electric energy metering balance of intelligent transformer substation | |
CN103246283A (en) | Closed loop testing method of power plant side automatic voltage control system | |
CN103983878B (en) | Relay protection net synchronization capability based on Random Discrete time domain test system and method | |
CN110798276A (en) | A time synchronization method and system for SDN network of intelligent substation | |
CN104215803A (en) | Synchronous standard source and control method applied to distributive type intelligent testing platform | |
CN205178643U (en) | Integrated device is observed and controled in protection | |
CN104600848B (en) | A kind of transformer station process layer virtual secondary equipment and its implementation | |
CN103439597A (en) | Merging unit synchronous punctual tester based on analog quantity digitized transmission and method therefore | |
CN203260219U (en) | Simulated merging unit simulation device | |
CN103837854B (en) | A kind of calibration equipment of digital electricity meter based on FT3 interface | |
CN205450248U (en) | Balanced whole station test system of digital electric energy measurement of intelligent substation | |
CN112444696A (en) | Unilateral-control intelligent substation optical difference protection testing device and testing method | |
CN203606429U (en) | Power acquisition system using communication manager | |
CN107167760B (en) | A multi-optical port digital electric energy meter verification system and method based on power grid simulation |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20170508 Address after: 350003 Gulou District, Fujian, Fuzhou No. 54 Road, No. 257 Applicant after: State Grid Fujian Electric Power Co., Ltd. Applicant after: State Grid Corporation of China Applicant after: Electric Power Research Institute, State Grid Fujian Electric Power Co., Ltd. Applicant after: Fujian EPRI Power Commissioning Co., Ltd. Address before: 350003 Gulou District, Fujian, Fuzhou No. 54 Road, No. 257 Applicant before: State Grid Fujian Electric Power Co., Ltd. Applicant before: State Grid Corporation of China Applicant before: Electric Power Research Institute, State Grid Fujian Electric Power Co., Ltd. |
|
TA01 | Transfer of patent application right | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20160525 |
|
RJ01 | Rejection of invention patent application after publication |