CN106961338A - A kind of RTDS emulating instruments and the method for PCI-Express fast exchange data - Google Patents

A kind of RTDS emulating instruments and the method for PCI-Express fast exchange data Download PDF

Info

Publication number
CN106961338A
CN106961338A CN201710180388.1A CN201710180388A CN106961338A CN 106961338 A CN106961338 A CN 106961338A CN 201710180388 A CN201710180388 A CN 201710180388A CN 106961338 A CN106961338 A CN 106961338A
Authority
CN
China
Prior art keywords
pci
rtds
express
ser
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710180388.1A
Other languages
Chinese (zh)
Inventor
黄立滨
郭琦
朱益华
袁艺
关红兵
李志勇
傅润炜
陈新美
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
XUCHANG KETOP DETECTION TECHNOLOGY Co Ltd
Power Grid Technology Research Center of China Southern Power Grid Co Ltd
Research Institute of Southern Power Grid Co Ltd
Original Assignee
XUCHANG KETOP DETECTION TECHNOLOGY Co Ltd
Power Grid Technology Research Center of China Southern Power Grid Co Ltd
Research Institute of Southern Power Grid 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 XUCHANG KETOP DETECTION TECHNOLOGY Co Ltd, Power Grid Technology Research Center of China Southern Power Grid Co Ltd, Research Institute of Southern Power Grid Co Ltd filed Critical XUCHANG KETOP DETECTION TECHNOLOGY Co Ltd
Priority to CN201710180388.1A priority Critical patent/CN106961338A/en
Publication of CN106961338A publication Critical patent/CN106961338A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/25Arrangements specific to fibre transmission

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Communication Control (AREA)
  • Small-Scale Networks (AREA)

Abstract

A kind of RTDS emulating instruments and the method for PCI-Express fast exchange data, it is PCI-Express by the MGT optical fiber interfaces switching of PB5 processors in RTDS emulating instruments to set interconnecting module, PCI-Express is connected by gigabit network cable with external device (ED), interconnecting module includes Zero-copy data transmission unit and PHY ethernet physical layer interfaces, and the high-speed serial data that Zero-copy data transmission unit exports MGT optical fiber interfaces is transmitted to PHY ethernet physical layer interfaces after handling.It can directly be connected and use with RTDS emulating instruments, it is not necessary to external accessories;External device (ED) also need to only possess PCI-Express, it is not necessary to other physical interfaces, more convenient to use;Number of channels is more, can receive 64 32 integers and send 64 32 integers;Traffic rate is high, and each simulation step length carries out once receiving and sending with MGT optical fiber interfaces.

Description

A kind of RTDS emulating instruments and the method for PCI-Express fast exchange data
Technical field
The present invention relates to method for interchanging data technical field, more particularly to a kind of RTDS emulating instruments and PCI-Express are quick The method for exchanging data.
Background technology
RTDS is current most widely used electro-magnetic transient real-time simulation instrument, and it can set up the emulation of electric power primary system Model, and be connected with outside experimental rig closed loop, so as to verify the performance of outside experimental rig.
The interface of outside experimental rig and RTDS, mainly there is two kinds of forms:The first is traditional analog quantity and switching value, Second is the network interface for meeting IEC61850.RTDS can provide both interface shapes, easily can be tried with outside Experiment device is connected.
But if the number of channels needed is a lot, traditional analog quantity and switching value mode is very limited;If needed Want communication speed quickly, IEC61850 network interface can not meet requirement.
When external device (ED) is developed, require that external device (ED) has substantial amounts of physical interface using first way;Adopt Require that external device (ED) possesses IEC61850 protocol stacks with the second way, and traffic rate also not necessarily meets and required.
Therefore, in view of the shortcomings of the prior art, providing a kind of method of RTDS emulating instruments and PCI-Express fast exchange data To overcome prior art not enough very necessary.
The content of the invention
A kind of RTDS emulating instruments and PCI-Express are provided it is an object of the invention to avoid the deficiencies in the prior art part The method of fast exchange data, the RTDS emulating instruments and the method for PCI-Express fast exchange data transfer MGT optical fiber interfaces For PCI-Express, the network capacity amount of PCI-Express is big, and each simulation step length can be carried out data exchange in transfer process, improves Simulation frequency, number of channels is more, it is to avoid the copy of data, so as to minimize transmission delay.
The above-mentioned purpose of the present invention is realized by following technological means.
A kind of method for providing RTDS emulating instruments and PCI-Express fast exchange data, is provided with interconnecting module, switching model The MGT optical fiber interfaces switching of PB5 processors in RTDS emulating instruments is PCI-Express by block, and PCI-Express is by gigabit network cable and outside Part device is connected;
Interconnecting module includes Zero-copy data transmission unit and PHY ethernet physical layer interfaces, and Zero-copy data transmission is single Transmitted after the high-speed serial data processing that member exports MGT optical fiber interfaces to PHY ethernet physical layer interfaces.
Specifically, Zero-copy data transmission unit includes SER/DES modular converters, DRRAM memories and MAC ether FidonetFido interface, DRRAM memories are dual interface memory, and DRRAM memories enter the data that SER/DES modular converters are exported Row buffering, DPRAM memories directly exchange data by DMA data transfer mode with MAC Ethernet protocol interfaces.
Further, the converting high-speed serial that SER/DES modular converters export MGT optical fiber interfaces is parallel data.
Further, DRRAM memories are electrically connected with SER/DES modular converters and MAC Ethernet protocols interface to be two-way.
Specifically, SER/DES modular converters are divided into external interface unit, control unit, SER receiving units and DES Transmitting element;
DPRAM points are Rx DPRAM memory cell and Tx DPRAM memory cell;
External interface unit is connected with MGT optical fiber interfaces;
MAC Ethernet protocols interface is imported data in DMA transfer mode in the mac frame head of Tx DPRAM memories, MAC Frame head electrically connects SER receiving units, and SER receiving units are sent to MGT optical fiber interfaces by external interface;
Signal is sent on SER/DES modular converters by MGT optical fiber interfaces by external interface, and DES transmitting elements are by number According to sending to the mac frame head of Rx DPRAM memory insides, mac frame head is in DMA transfer mode to MAC Ethernet protocol interfaces On.
It is preferred that, the signal that the MGT optical fiber interfaces that SER/DES modular converters are received are sent is high-speed serial signals, is turned High-speed serial signals after changing have independent address wire, data wire and read-write.
Further, read-write is using burst read-write mode.
It is preferred that, the mac frame head of Tx DPRAM memories and the mac frame head of Rx DPRAM memory insides are same Mac frame head.
Specifically, each simulation step length in SER receiving units and DES transmitting elements can receive 64 32 it is whole 64 32 integers of number and transmission.
It is preferred that, each simulation step length carries out once receiving and sending with MGT optical fiber interfaces.
The RTDS emulating instruments of invention and the method for PCI-Express fast exchange data, set interconnecting module by RTDS emulating instruments The MGT optical fiber interfaces switching of middle PB5 processors is PCI-Express, can directly be connected and use with RTDS emulating instruments, it is not necessary to be outer Connect accessory;External device (ED) also need to only possess PCI-Express, it is not necessary to other physical interfaces, more convenient to use;Port number Amount is more, can receive 64 32 integers and send 64 32 integers;Traffic rate is high, each simulation step length with MGT optical fiber Interface once receive and send.
Brief description of the drawings
Using accompanying drawing, the present invention is further illustrated, but the content in accompanying drawing does not constitute any limit to the present invention System.
Fig. 1 is a kind of RTDS emulating instruments of the invention and the hardware composition figure of the method for PCI-Express fast exchange data.
Fig. 2 is the method SER/DES modular converters of a kind of RTDS emulating instruments of the invention and PCI-Express fast exchange data Communication interface.
Fig. 3 is the pin menu of a kind of RTDS emulating instruments of the invention and method Fig. 2 of PCI-Express fast exchange data Lattice.
Fig. 4 is that a kind of RTDS emulating instruments of the invention and the method Zero-copy data of PCI-Express fast exchange data are transmitted Schematic diagram.
In Fig. 1 into Fig. 4, black bars are MGT optical fiber interfaces.
Embodiment
The invention will be further described with the following Examples.
Embodiment 1.
As Figure 1-4, a kind of RTDS emulating instruments and the method for PCI-Express fast exchange data, are provided with switching model The MGT optical fiber interfaces switching of PB5 processors in RTDS emulating instruments is PCI-Express by block, interconnecting module, and PCI-Express passes through thousand Million netting twines are connected with external device (ED).
Interconnecting module includes Zero-copy data transmission unit and PHY ethernet physical layer interfaces, and Zero-copy data transmission is single Transmitted after the high-speed serial data processing that member exports MGT optical fiber interfaces to PHY ethernet physical layer interfaces, can directly and RTDS Emulating instrument connection is used, it is not necessary to external accessories, using more convenient.
Zero-copy data transmission unit includes SER/DES modular converters, DRRAM memories and MAC Ethernet protocol interfaces, The converting high-speed serial that SER/DES modular converters export MGT optical fiber interfaces is parallel data, and DRRAM memories connect to be double Mouth memory, DRRAM memories are electrically connected with SER/DES modular converters and MAC Ethernet protocols interface to be two-way, and DRRAM is deposited The data that SER/DES modular converters are exported are entered row buffering by reservoir, DPRAM memories by DMA data transfer mode and MAC with Too fidonetFido interface directly exchanges data.
SER/DES modular converters are divided into external interface unit, control unit, SER receiving units and DES transmitting elements.
Each simulation step length in SER receiving units and DES transmitting elements can receive 64 32 integers and transmission 64 Individual 32 integers, number of channels is more, so that interface shape is simplified, and 64 integers can be parsed directly as needed, it is not necessary to Complicated communication protocol, each simulation step length carries out once receiving and sending with MGT optical fiber interfaces, strengthens the speed of communication.
DPRAM points are Rx DPRAM memory cell and Tx DPRAM memory cell.External interface unit and MGT optical fiber interfaces Connection.MAC Ethernet protocols interface is imported data in DMA transfer mode in the mac frame head of Tx DPRAM memories, mac frame Head electrical connection SER receiving units, SER receiving units are sent to MGT optical fiber interfaces by external interface.
Signal is sent on SER/DES modular converters by MGT optical fiber interfaces by external interface, and DES transmitting elements are by number According to sending to the mac frame head of Rx DPRAM memory insides, mac frame head is in DMA transfer mode to MAC Ethernet protocol interfaces On.
The mac frame head of Tx DPRAM memories and the mac frame head of Rx DPRAM memory insides are same mac frame head.
The copy of data is avoided by sharing buffer memory, realizes that Zero-copy data is transmitted, so as to reduce transmission delay most Bigization handling capacity, MAC Ethernet protocols interface packets mac frame head more than SER/DES modular converter messages, and 64 32 The data division of integer is identical;By the way that the reception of the transmission of DES transmitting elements and SER receiving units is increased into mac frame The length of head, can thus make both sides shared data buffer memory;The content of mac frame head fills in institute in program initialization The destination address of need, source address, type of message information.
It should be noted that this invention simplifies the form of interface, passing through MGT optical fiber interfaces and use high speed serialization agreement New number transmission is carried out, high-speed serial signals are converted to by parallel signal by SER/DES modular converters, and import DPRAM storages In device, because MGT optical fiber interfaces are different with the clock frequency of MAC Ethernet protocol interfaces, data buffering is carried out to signal, then lead to DMA transfer mode is crossed, signal is directly imported into PHY ethernet physical layer interfaces, the process for importing transmission passes through public buffering Internal memory avoids the copy of data, so as to realize the zero-copy of data, finally reuses PHY ethernet physical layer interfaces to MAC The data of Ethernet protocol interface carry out serialization and are directed at the exchange that rapid data is realized in PCI-Express.
Finally it should be noted that the above embodiments are merely illustrative of the technical solutions of the present invention rather than the present invention is protected The limitation of scope, although being explained in detail with reference to preferred embodiment to the present invention, one of ordinary skill in the art should manage Solution, technical scheme can be modified or equivalent, without departing from technical solution of the present invention essence and Scope.

Claims (10)

1. a kind of RTDS emulating instruments and the method for PCI-Express fast exchange data, it is characterised in that:Interconnecting module is provided with, is turned The MGT optical fiber interfaces switching of PB5 processors in RTDS emulating instruments is PCI-Express by connection module, and PCI-Express passes through gigabit network cable It is connected with external device (ED);
Interconnecting module includes Zero-copy data transmission unit and PHY ethernet physical layer interfaces, and Zero-copy data transmission unit will Transmitted after the high-speed serial data processing of MGT optical fiber interfaces output to PHY ethernet physical layer interfaces.
2. a kind of RTDS emulating instruments according to claim 1 and the method for PCI-Express fast exchange data, its feature exist In:Zero-copy data transmission unit includes SER/DES modular converters, DRRAM memories and MAC Ethernet protocol interfaces, DRRAM Memory is dual interface memory, and the data that SER/DES modular converters are exported are entered row buffering, DPRAM storages by DRRAM memories Device directly exchanges data by DMA data transfer mode with MAC Ethernet protocol interfaces.
3. a kind of RTDS emulating instruments according to claim 2 and the method for PCI-Express fast exchange data, its feature exist In:The converting high-speed serial that SER/DES modular converters export MGT optical fiber interfaces is parallel data.
4. a kind of RTDS emulating instruments according to claim 2 and the method for PCI-Express fast exchange data, its feature exist In:DRRAM memories are electrically connected with SER/DES modular converters and MAC Ethernet protocols interface to be two-way.
5. a kind of RTDS emulating instruments and the side of PCI-Express fast exchange data according to claim 2-4 any one Method, it is characterised in that:SER/DES modular converters are divided into external interface unit, control unit, SER receiving units and DES and send single Member;
DPRAM points are Rx DPRAM memory cell and Tx DPRAM memory cell;
External interface unit is connected with MGT optical fiber interfaces;
MAC Ethernet protocols interface is imported data in DMA transfer mode in the mac frame head of Tx DPRAM memories, mac frame head SER receiving units are electrically connected, SER receiving units are sent to MGT optical fiber interfaces by external interface;
Signal is sent on SER/DES modular converters by MGT optical fiber interfaces by external interface, and DES transmitting elements send out data In the mac frame head for delivering to Rx DPRAM memory insides, mac frame head is with DMA transfer mode to MAC Ethernet protocol interfaces.
6. a kind of RTDS emulating instruments and the side of PCI-Express fast exchange data according to claim 1-5 any one Method, it is characterised in that:The signal that the MGT optical fiber interfaces that SER/DES modular converters are received are sent is high-speed serial signals, conversion High-speed serial signals afterwards have independent address wire, data wire and read-write.
7. a kind of RTDS emulating instruments according to claim 6 and the method for PCI-Express fast exchange data, its feature exist In:Read-write is using burst read-write mode.
8. a kind of RTDS emulating instruments according to claim 5 and the method for PCI-Express fast exchange data, its feature exist In:The mac frame head of Tx DPRAM memories and the mac frame head of RxDPRAM memory insides are same mac frame head.
9. a kind of RTDS emulating instruments according to claim 5 and the method for PCI-Express fast exchange data, its feature exist In:Each simulation step length in SER receiving units and DES transmitting elements can receive 64 32 integers and transmission 64 32 Integer.
10. a kind of RTDS emulating instruments according to claim 9 and the method for PCI-Express fast exchange data, its feature exist In:Each simulation step length carries out once receiving and sending with MGT optical fiber interfaces.
CN201710180388.1A 2017-03-24 2017-03-24 A kind of RTDS emulating instruments and the method for PCI-Express fast exchange data Pending CN106961338A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710180388.1A CN106961338A (en) 2017-03-24 2017-03-24 A kind of RTDS emulating instruments and the method for PCI-Express fast exchange data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710180388.1A CN106961338A (en) 2017-03-24 2017-03-24 A kind of RTDS emulating instruments and the method for PCI-Express fast exchange data

Publications (1)

Publication Number Publication Date
CN106961338A true CN106961338A (en) 2017-07-18

Family

ID=59470287

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710180388.1A Pending CN106961338A (en) 2017-03-24 2017-03-24 A kind of RTDS emulating instruments and the method for PCI-Express fast exchange data

Country Status (1)

Country Link
CN (1) CN106961338A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107911241A (en) * 2017-11-15 2018-04-13 郑州云海信息技术有限公司 A kind of signal simulation analysis system and method based on Gigabit Media stand-alone interface
CN114006811A (en) * 2021-10-29 2022-02-01 西安微电子技术研究所 High-real-time CPCI gigabit Ethernet board card and data communication method
CN114039960A (en) * 2021-10-09 2022-02-11 许昌开普检测研究院股份有限公司 RTDS intelligent interface device based on Aurora protocol and implementation method thereof

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101146131A (en) * 2006-09-15 2008-03-19 中兴通讯股份有限公司 1000M and 10/100/1000M interface self-adapted Ethernet bridge
KR20100064508A (en) * 2008-12-05 2010-06-15 한국전기연구원 Hils(hardware in-loop simulation) test system using actual weather condition for evaluating the performance of mms
CN104038554A (en) * 2014-06-25 2014-09-10 南方电网科学研究院有限责任公司 FPGA-based power system high speed data acquisition and communication method and communication device
CN104820373A (en) * 2015-04-20 2015-08-05 华北电力大学 Simulation experiment platform and method for modularized multilevel converter

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101146131A (en) * 2006-09-15 2008-03-19 中兴通讯股份有限公司 1000M and 10/100/1000M interface self-adapted Ethernet bridge
KR20100064508A (en) * 2008-12-05 2010-06-15 한국전기연구원 Hils(hardware in-loop simulation) test system using actual weather condition for evaluating the performance of mms
CN104038554A (en) * 2014-06-25 2014-09-10 南方电网科学研究院有限责任公司 FPGA-based power system high speed data acquisition and communication method and communication device
CN104820373A (en) * 2015-04-20 2015-08-05 华北电力大学 Simulation experiment platform and method for modularized multilevel converter

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
郭琦: ""基于FPGA技术的外部主站与RTDS高速通信系统"", 《南方电网技术》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107911241A (en) * 2017-11-15 2018-04-13 郑州云海信息技术有限公司 A kind of signal simulation analysis system and method based on Gigabit Media stand-alone interface
CN114039960A (en) * 2021-10-09 2022-02-11 许昌开普检测研究院股份有限公司 RTDS intelligent interface device based on Aurora protocol and implementation method thereof
CN114006811A (en) * 2021-10-29 2022-02-01 西安微电子技术研究所 High-real-time CPCI gigabit Ethernet board card and data communication method

Similar Documents

Publication Publication Date Title
EP2963874B1 (en) Data scheduling and switching method, apparatus, and system
CN205320075U (en) Multi -service digit optical transmitter and receiver based on optic fibre ethernet
CN108011694B (en) A kind of efficient data exchange method based on FC
CN109194679B (en) Multi-protocol interface data acquisition device and acquisition method based on SpaceFibre interface
CN106961338A (en) A kind of RTDS emulating instruments and the method for PCI-Express fast exchange data
CN109510973A (en) A kind of 10,000,000,000 fiber optic Ethernets based on FPGA turn RapidIO multiway images transmission process system
CN104780333A (en) High-bandwidth video source interface adaptation device based on FPGA (Field Programmable Gate Array)
KR20070069822A (en) Switching system and its mechanism which enables data-switching of variable-length packets and heterogeneous network packets
CN111641622B (en) Converged network interface card, message coding method and message transmission method thereof
CN104991880B (en) A kind of FC AE ASM Communication Cards based on PCI E interfaces
CN102263594B (en) Method for realizing information interaction by RS232 and RS485 communication modes in optical network unit
CN108809642A (en) A kind of encryption certification high-speed transfer implementation method of multi-channel data 10,000,000,000 based on FPGA
CN109787981A (en) Protocol conversion system, method, apparatus, equipment and storage medium
CN104699649B (en) A kind of multiple-limb serial bus interface and method for interchanging data
CN102082714A (en) EPON (Ethernet passive optical network) device containing power carrier module and signal transmission method thereof
CN214256489U (en) Interactive mixed light cascade matrix
CN203554447U (en) Gigabit intelligent type optical fiber transceiver
CN206195819U (en) Spatial information network link controlgear
CN207801973U (en) A kind of bridge and internet of things equipment
CN114760370A (en) UDP (user Datagram protocol) -based high-speed data transmission architecture and implementation method for upper computer and FPGA (field programmable Gate array)
CN103686079B (en) A kind of terminal device
CN101262476B (en) A communication system and method for Ethernet
CN108040237B (en) A kind of Video Monitor System of achievable data priority distribution
CN210111996U (en) Device for realizing communication between PLC carrier module and wireless communication module
CN101296189A (en) Distributed stream processing network appliance and packet transmission method thereof

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 510663 Guangdong city of Guangzhou province Huangpu District Science City Kexiang Road No. 11

Applicant after: Power Grid Technique Research Center of China Southern Power Grid Co., Ltd.

Applicant after: Xuchang general testing & Research Institute Limited by Share Ltd

Applicant after: Research Institute of Southern Power Grid Co., Ltd.

Address before: 510663 Guangdong city of Guangzhou province Huangpu District Science City Kexiang Road No. 11

Applicant before: Power Grid Technique Research Center of China Southern Power Grid Co., Ltd.

Applicant before: XUCHANG KETOP DETECTION TECHNOLOGY CO., LTD.

Applicant before: Research Institute of Southern Power Grid Co., Ltd.

CB02 Change of applicant information
RJ01 Rejection of invention patent application after publication

Application publication date: 20170718

RJ01 Rejection of invention patent application after publication