CN106200413A - Electro-magnetic transient Real-time Communications method and apparatus based on Aurora agreement - Google Patents

Electro-magnetic transient Real-time Communications method and apparatus based on Aurora agreement Download PDF

Info

Publication number
CN106200413A
CN106200413A CN201510222072.5A CN201510222072A CN106200413A CN 106200413 A CN106200413 A CN 106200413A CN 201510222072 A CN201510222072 A CN 201510222072A CN 106200413 A CN106200413 A CN 106200413A
Authority
CN
China
Prior art keywords
electro
aurora
magnetic transient
fpga
communication
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
Application number
CN201510222072.5A
Other languages
Chinese (zh)
Other versions
CN106200413B (en
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.)
State Grid Corp of China SGCC
China Electric Power Research Institute Co Ltd CEPRI
Electric Power Research Institute of State Grid Ningxia Electric Power Co Ltd
Original Assignee
State Grid Corp of China SGCC
China Electric Power Research Institute Co Ltd CEPRI
Electric Power Research Institute of State Grid Ningxia Electric Power Co Ltd
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 State Grid Corp of China SGCC, China Electric Power Research Institute Co Ltd CEPRI, Electric Power Research Institute of State Grid Ningxia Electric Power Co Ltd filed Critical State Grid Corp of China SGCC
Priority to CN201510222072.5A priority Critical patent/CN106200413B/en
Publication of CN106200413A publication Critical patent/CN106200413A/en
Application granted granted Critical
Publication of CN106200413B publication Critical patent/CN106200413B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

Electro-magnetic transient Real-time Communications method and apparatus based on Aurora agreement, including physical layer communication and functional layer communication;Wherein, physical layer communication method includes the high speed Aurora communications protocol form determining FPGA electro-magnetic transient real-time simulation;Dynamic binding monopolizes port;Functional layer communication includes the data block formulating addressing continuously;Directly access the BlOCK RAM of FPGA;It is applicable to the application scenarios of FPGA electromagnetic transient simulation, to being optimized of the length of a Frame, substantially increases communication efficiency, add transmission bandwidth and the stability of data transmission.

Description

Electro-magnetic transient Real-time Communications method and apparatus based on Aurora agreement
Technical field
The present invention relates to a kind of emulation means of communication and device, be specifically related to electro-magnetic transient real-time simulation based on Aurora agreement and lead to Communication method and device.
Background technology
Seriality due to Operation of Electric Systems, it is desirable to all power system devices carry out complete test before operation and could access System;Testing results environment cannot be provided not yet for the equipment accessed.
And power system real time data display can the various operating conditions of real-time Simulation power system, repeatability is strong, available In various tests and the operational monitoring of power system device, and it is applied widely.
Little step-length analogue system based on FPGA is simplified to ripe electromagnetic transient simulation system on fpga chip run so that be System simulation capacity is greatly promoted;Meanwhile, along with the lifting of the calculating frequency of fpga chip, the simulation step length of electro-magnetic transient rises to 1 The emulation yardstick that microsecond is the least, various operating conditions and transient response for accurately simulation power system provide possibility.
FPGA electromagnetic transient simulation precision needs to carry out double-precision floating point computing, and the Floating-point Computation of relative double precision 64 is to FPGA Calculating and the space of storage have higher requirement.The most state-of-the-art FPGA is the FPGA of the V7 series of Xilinx, As a example by XC7V690T, it contains 477,760 (Logical Cell Block), the memory space of 34,380kb, 1920 DSP computing unit.The advantage of FPGA is to calculate DSP and Logical Cell, and the memory space of its about 34MB limits simultaneously The computing function of FPGA.
For the resource limit of FPGA, preferable solution is to use server rear platform support.It is through clothes specifically The expandable resource of business device platform, it is achieved the rapid data of FPGA emulation is mutual, data process and data storage.
This rear platform support scheme needs to provide the data communication scheme of high bandwidth.The number of the data volume of bandwidth and transmission Relation must is fulfilled for below equation:
n = PΔt 1 DL
In above formula, P represents that bandwidth, DL represent data length, and the data length of double-precision floating points is 64.Δ t represents FPGA Simulation step length.
But Conventional communication protocol scheme of based on TCP/IP only supports to carry a width of 1000Mb/s, bandwidth and postponing and unstable, special It not when the yardstick that the computer sim-ulation step-length of FPGA drops to 1-2 microsecond is even lower, not only cannot meet FPGA platform emulation need Want;And the high speed communication scheme for other there is also bandwidth restriction and the deficiency of transmission stability.
Summary of the invention
For the deficiencies in the prior art, the present invention proposes electro-magnetic transient Real-time Communications method and apparatus based on Aurora agreement, Be respectively directed to physical layer communication communicate with functional layer formulation communication scheme, efficiently solve Communication, add transmission bandwidth and The stability of data transmission.
It is an object of the invention to use following technical proposals to realize:
Electro-magnetic transient Real-time Communications method based on Aurora agreement, is made up of physical layer communication and functional layer communication;
Described physical layer communication comprises determining that the high speed Aurora communications protocol form of FPGA electro-magnetic transient real-time simulation;
Dynamic binding monopolizes port;
Described functional layer communication includes: formulate the data block of addressing continuously;
Directly access the BlOCK RAM of FPGA.
Preferably, described high speed Aurora communications protocol form includes, optical-fibre communications Frame effectively identify position be 32, Reserved bit is 16, effective length flag bit is 16, timestamp is that 64 and valid data are less than 2000.
Preferably, described dynamic binding is monopolized port and is included, arbitrary core process of CPU is tied on fiber port, passes through DMA Map and optical-fibre communications data are transferred in DMA address space.
Preferably, described data block includes initial address, data type, valid data length and packing manner.
Further, described data block is deposited in FPGA internal memory continuously, by optical-fibre channel, fiber port is directly controlled always Line.
Electro-magnetic transient Real-time Communications device based on Aurora agreement, described system includes, the first communication module and second leads to News module;
Wherein, described first communication module for determine FPGA electro-magnetic transient real-time simulation high speed Aurora communications protocol form and Dynamic binding monopolizes port;
Described second communication module is for formulating the data block of addressing continuously, and directly accesses the BlOCK RAM of FPGA.
Preferably, described first communication module includes, the first communication unit, for the position that effectively identifies of optical-fibre communications Frame is 32, reserved bit be 16, effective length flag bit be 16, timestamp be that 64 and valid data are less than 2000.
Preferably, described first communication module also includes, the second communication unit, for arbitrary core process of CPU is tied to optical fiber On port, by DMA map, optical-fibre communications data are transferred in DMA address space.
Preferably, described second communication module includes, third communication unit, for data block is deposited in FPGA internal memory continuously, Fiber port is made directly to control bus by optical-fibre channel.
With immediate prior art ratio, the present invention reaches to provide the benefit that:
1. the present invention is for physical layer communication technology, it is provided that be suitable for FPGA electro-magnetic transient real-time simulation based on high speed Aurora The physical layer communication agreement of communications protocol;Its communications protocol simplifies interruption and the operation of response, uses passage to monopolize formula point-to-point Communication scheme, simplifies data form, is defaulted as 16 shaping number transmission;Devise the frame format structure of uniqueness, it is adaptable to The application scenarios of FPGA electromagnetic transient simulation, to being optimized of the length of a Frame, substantially increases communication efficiency.
Mechanics of communication for physical layer develops real-time calling mechanism, uses efficient binding formula communication method of calling, in service In device running, bind dynamically, unbind optical-fibre channel, effectively avoid owing to taking of cpu process causes with locked The disruption of real-time communication.
2. for functional layer mechanics of communication, invention defines the data block means of communication so that communications protocol is directly selected by address Location, in the memory block of FPGA, is the very efficient access mode of one.
Accompanying drawing explanation
Fig. 1 be Aurora agreement electro-magnetic transient Real-time Communications in physical layer communication method flow diagram;
Fig. 2 be Aurora agreement electro-magnetic transient Real-time Communications in functional layer means of communication flow chart;
Fig. 3 is the data communication frame structure schematic diagram of FPGA electro-magnetic transient real-time simulation.
Detailed description of the invention
Below in conjunction with the accompanying drawings the detailed description of the invention of the present invention is described in further detail.
Shown in Fig. 1 and Fig. 2, electro-magnetic transient Real-time Communications method based on Aurora agreement, by physical layer communication and Functional layer communication forms, and described physical layer communication comprises determining that the high speed Aurora communication association of FPGA electro-magnetic transient real-time simulation View form;
Dynamic binding monopolizes port;
Described functional layer communication includes: formulate the data block of addressing continuously;
Directly access the BlOCK RAM of FPGA.
Described high speed Aurora communications protocol form includes, optical-fibre communications Frame effectively identify position be 32, reserved bit be 16, effective length flag bit be 16, timestamp be that 64 and valid data are less than 2000.
Described dynamic binding is monopolized port and is included, arbitrary core process of CPU is tied on fiber port, will by DMA map Optical-fibre communications data are transferred in DMA address space.
Described data block includes initial address, data type, valid data length and packing manner.
As it is shown on figure 3, described data block is deposited in FPGA internal memory continuously, by optical-fibre channel, fiber port is directly controlled Bus.
Electro-magnetic transient Real-time Communications device based on Aurora agreement, described device includes, the first communication module and second leads to News module;
Wherein, described first communication module is for determining the high speed Aurora communications protocol form of FPGA electro-magnetic transient real-time simulation Port is monopolized with dynamic binding;
Described second communication module is for formulating the data block of addressing continuously, and directly accesses the BlOCK RAM of FPGA.
Described first communication module includes, the first communication unit, is 32 for the effectively identification position of optical-fibre communications Frame, protects To stay position be 16, effective length flag bit is 16, timestamp is that 64 and valid data are less than 2000.
Described first communication module also includes, the second communication unit, for arbitrary core process of CPU is tied to fiber port, By DMA map, optical-fibre communications data are transferred in DMA address space.
Described second communication module includes, third communication unit, for depositing in FPGA internal memory continuously by data block, by light Fine passage makes fiber port directly control bus.
Finally should be noted that: above example is only in order to illustrate that technical scheme is not intended to limit, although reference The present invention has been described in detail by above-described embodiment, those of ordinary skill in the field it is understood that still can to this Invention detailed description of the invention modify or equivalent, and without departing from spirit and scope of the invention any amendment or etc. With replacing, it all should be contained in the middle of scope of the presently claimed invention.

Claims (9)

1. electro-magnetic transient Real-time Communications method based on Aurora agreement, is made up of physical layer communication and functional layer communication, It is characterized in that,
Described physical layer communication comprises determining that the high speed Aurora communications protocol form of FPGA electro-magnetic transient real-time simulation;
Dynamic binding monopolizes port;
Described functional layer communication includes: formulate the data block of addressing continuously;
Directly access the BlOCK RAM of FPGA.
2. electro-magnetic transient Real-time Communications method based on Aurora agreement as claimed in claim 1, it is characterised in that Described high speed Aurora communications protocol form includes, optical-fibre communications Frame effectively identify position be 32, reserved bit be 16, Effective length flag bit is 16, timestamp is that 64 and valid data are less than 2000.
3. electro-magnetic transient Real-time Communications method based on Aurora agreement as claimed in claim 1, it is characterised in that Described dynamic binding is monopolized port and is included, is tied on fiber port, arbitrary core process of CPU by DMA map by optical fiber Communication data is transferred in DMA address space.
4. electro-magnetic transient Real-time Communications method based on Aurora agreement as claimed in claim 1, it is characterised in that Described data block includes initial address, data type, valid data length and packing manner.
5. electro-magnetic transient Real-time Communications method based on Aurora agreement as claimed in claim 4, it is characterised in that Described data block is deposited in FPGA internal memory continuously, makes fiber port directly control bus by optical-fibre channel.
6. electro-magnetic transient Real-time Communications device based on Aurora agreement, it is characterised in that described device includes, first leads to News module and the second communication module;
Wherein, described first communication module for determine FPGA electro-magnetic transient real-time simulation high speed Aurora communications protocol form and Dynamic binding monopolizes port;
Described second communication module is for formulating the data block of addressing continuously, and directly accesses the BlOCK RAM of FPGA.
7. electro-magnetic transient Real-time Communications device based on Aurora agreement as claimed in claim 6, it is characterised in that institute State first communication module to include, the first communication unit, for optical-fibre communications Frame effectively identify position be 32, reserved bit be 16, effective length flag bit be 16, timestamp be that 64 and valid data are less than 2000.
8. electro-magnetic transient Real-time Communications device based on Aurora agreement as claimed in claim 6, it is characterised in that institute State first communication module also to include, the second communication unit, for arbitrary core process of CPU is tied to fiber port, pass through DMA Map and optical-fibre communications data are transferred in DMA address space.
9. electro-magnetic transient Real-time Communications device based on Aurora agreement as claimed in claim 6, it is characterised in that described Second communication module includes, third communication unit, for data block being deposited in continuously in FPGA internal memory, is made by optical-fibre channel Obtain fiber port and directly control bus.
CN201510222072.5A 2015-05-05 2015-05-05 Electro-magnetic transient Real-time Communications method and apparatus based on Aurora agreement Active CN106200413B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510222072.5A CN106200413B (en) 2015-05-05 2015-05-05 Electro-magnetic transient Real-time Communications method and apparatus based on Aurora agreement

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510222072.5A CN106200413B (en) 2015-05-05 2015-05-05 Electro-magnetic transient Real-time Communications method and apparatus based on Aurora agreement

Publications (2)

Publication Number Publication Date
CN106200413A true CN106200413A (en) 2016-12-07
CN106200413B CN106200413B (en) 2019-08-06

Family

ID=57458612

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510222072.5A Active CN106200413B (en) 2015-05-05 2015-05-05 Electro-magnetic transient Real-time Communications method and apparatus based on Aurora agreement

Country Status (1)

Country Link
CN (1) CN106200413B (en)

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101814733A (en) * 2010-04-09 2010-08-25 南方电网技术研究中心 Electromagnetic transient-state and electromechanical transient-state mixed real-time simulation interface process control system
CN102542785A (en) * 2011-11-25 2012-07-04 中国船舶重工集团公司第七二四研究所 Design and implementation method of multi-channel broadband electronic signal synchronous acquiring system
CN102681971A (en) * 2012-04-28 2012-09-19 浪潮电子信息产业股份有限公司 Aurora protocol based method for conducting high-speed interconnection between field programmable gate arrays (FPGAs)
CN103176470A (en) * 2013-02-26 2013-06-26 南京南瑞继保电气有限公司 Experimental system and method for MMC (multilevel modular converter) flexible direct-current transmission control protection equipment
CN103186366A (en) * 2012-07-12 2013-07-03 深圳市康必达控制技术有限公司 Test method for achieving electromagnetic transient real-time simulation of electrical power system based on CUDA (compute unified device architecture) parallel computing
CN103279590A (en) * 2013-04-22 2013-09-04 中国南方电网有限责任公司电网技术研究中心 Initial self-correction computation method of interface power in electrical power system hybrid real-time simulation
CN103336460A (en) * 2013-05-21 2013-10-02 中国南方电网有限责任公司电网技术研究中心 Control method of electromagnetism electromechanics mixing real-time simulation digitalization interface
CN203414742U (en) * 2013-09-03 2014-01-29 国家电网公司 Optical fiber communication-based digital real-time simulation physical interface device for electric system
CN203433313U (en) * 2013-09-03 2014-02-12 上海科梁信息工程有限公司 A power electronic control system high-speed communication apparatus achieved by a FPGA
CN103676670A (en) * 2013-12-13 2014-03-26 华北电力大学 Source-network coordinating combination real-time simulation system and data transmission method based on RTDS
CN103902501A (en) * 2014-04-02 2014-07-02 浙江大学 FPGA (field programmable gate array) development board based detection method for optical interconnection network topology structural performance among boards
CN103905793A (en) * 2014-03-28 2014-07-02 中国科学院上海技术物理研究所 High-speed infrared signal processing system
CN104076693A (en) * 2014-06-03 2014-10-01 南方电网科学研究院有限责任公司 Flexible direct-current transmission real-time simulation system and simulation method thereof

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101814733A (en) * 2010-04-09 2010-08-25 南方电网技术研究中心 Electromagnetic transient-state and electromechanical transient-state mixed real-time simulation interface process control system
CN101814733B (en) * 2010-04-09 2012-02-08 南方电网科学研究院有限责任公司 Electromagnetic transient-state and electromechanical transient-state mixed real-time simulation interface process control system
CN102542785A (en) * 2011-11-25 2012-07-04 中国船舶重工集团公司第七二四研究所 Design and implementation method of multi-channel broadband electronic signal synchronous acquiring system
CN102681971A (en) * 2012-04-28 2012-09-19 浪潮电子信息产业股份有限公司 Aurora protocol based method for conducting high-speed interconnection between field programmable gate arrays (FPGAs)
CN103186366A (en) * 2012-07-12 2013-07-03 深圳市康必达控制技术有限公司 Test method for achieving electromagnetic transient real-time simulation of electrical power system based on CUDA (compute unified device architecture) parallel computing
CN103176470A (en) * 2013-02-26 2013-06-26 南京南瑞继保电气有限公司 Experimental system and method for MMC (multilevel modular converter) flexible direct-current transmission control protection equipment
CN103279590A (en) * 2013-04-22 2013-09-04 中国南方电网有限责任公司电网技术研究中心 Initial self-correction computation method of interface power in electrical power system hybrid real-time simulation
CN103336460A (en) * 2013-05-21 2013-10-02 中国南方电网有限责任公司电网技术研究中心 Control method of electromagnetism electromechanics mixing real-time simulation digitalization interface
CN203414742U (en) * 2013-09-03 2014-01-29 国家电网公司 Optical fiber communication-based digital real-time simulation physical interface device for electric system
CN203433313U (en) * 2013-09-03 2014-02-12 上海科梁信息工程有限公司 A power electronic control system high-speed communication apparatus achieved by a FPGA
CN103676670A (en) * 2013-12-13 2014-03-26 华北电力大学 Source-network coordinating combination real-time simulation system and data transmission method based on RTDS
CN103905793A (en) * 2014-03-28 2014-07-02 中国科学院上海技术物理研究所 High-speed infrared signal processing system
CN103902501A (en) * 2014-04-02 2014-07-02 浙江大学 FPGA (field programmable gate array) development board based detection method for optical interconnection network topology structural performance among boards
CN104076693A (en) * 2014-06-03 2014-10-01 南方电网科学研究院有限责任公司 Flexible direct-current transmission real-time simulation system and simulation method thereof

Non-Patent Citations (6)

* Cited by examiner, † Cited by third party
Title
ZHOU DEXIANG , ZHENG LIPING: "Study of Aurora IP nuclear communication module based on FPGA", 《COMMUNICATION SOFTWARE AND NETWORKS (ICCSN)》 *
单天昌等: "基于FPGA的PCI接口DMA传输的设计与实现", 《计算机技术与发展》 *
欧开健等: "电磁机电混合实时仿真平台实用化技术研发与实现:(一)混合实时仿真数字量接口", 《南方电网技术》 *
王成山等: "基于FPGA 的配电网暂态实时仿真研究(二):系统架构与算例验证", 《中国电机工程学报》 *
田芳等: "电力系统仿真分析技术的发展趋势", 《中国电机工程学报》 *
闵小平等: "基于现场可编程门阵列的高速光纤通信的实现", 《厦门大学学报(自然科学版)》 *

Also Published As

Publication number Publication date
CN106200413B (en) 2019-08-06

Similar Documents

Publication Publication Date Title
US11341061B2 (en) Address translation method, apparatus, and system
CN110753089B (en) Method, device, medium and electronic equipment for managing client
CN108255701B (en) Scene testing method and mobile terminal
CN109257758A (en) A kind of network expansion method and device
CN110019496A (en) Data read-write method and system
CN108090000A (en) A kind of method and system for obtaining CPU register informations
CN105739970B (en) The method and apparatus that data are mapped as self defined class object
CN113886336A (en) Flow detection method, device, equipment and medium
CN104915302B (en) Data transmission processing method and data link
WO2017166997A1 (en) Inic-side exception handling method and device
CN112183880B (en) 5G network construction evaluation method, device and storage medium
KR102543838B1 (en) Method and appartus for obtaining information
CN112882833B (en) Data acquisition method and device, computer equipment and storage medium
CN113890831A (en) Method, device and storage medium for simulating network equipment
CN110636522B (en) Method and device for determining coverage quality of communication network
CN106776372B (en) Emulation data access method and device based on FPGA
US20150186269A1 (en) Managing memory
CN106200413A (en) Electro-magnetic transient Real-time Communications method and apparatus based on Aurora agreement
CN109697166B (en) Test data preparation method and related device
CN106210000B (en) A kind of pair of webpage front-end resource carries out the method and system of load balancing
CN112260896A (en) Network transmission testing method, device, equipment and readable storage medium
CN115114192A (en) Memory interface, functional core, many-core system and memory data access method
CN109240602B (en) Data access method
CN105991368B (en) Information processing method and electronic equipment
CN116306410B (en) Information printing method and device based on tightly coupled memory and hardware verification method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant