CN108667852A - A method of SV messages framing and transmission are realized by FPGA - Google Patents

A method of SV messages framing and transmission are realized by FPGA Download PDF

Info

Publication number
CN108667852A
CN108667852A CN201810496312.4A CN201810496312A CN108667852A CN 108667852 A CN108667852 A CN 108667852A CN 201810496312 A CN201810496312 A CN 201810496312A CN 108667852 A CN108667852 A CN 108667852A
Authority
CN
China
Prior art keywords
messages
framing
fpga
channel
receive
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
CN201810496312.4A
Other languages
Chinese (zh)
Other versions
CN108667852B (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.)
Guangzhou Sui Hua Energy Technology Co Ltd
Original Assignee
Guangzhou Sui Hua Energy Technology 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 Guangzhou Sui Hua Energy Technology Co Ltd filed Critical Guangzhou Sui Hua Energy Technology Co Ltd
Priority to CN201810496312.4A priority Critical patent/CN108667852B/en
Publication of CN108667852A publication Critical patent/CN108667852A/en
Application granted granted Critical
Publication of CN108667852B publication Critical patent/CN108667852B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/06Notations for structuring of protocol data, e.g. abstract syntax notation one [ASN.1]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Time-Division Multiplex Systems (AREA)

Abstract

The present invention provides a kind of method for realizing SV messages framing and transmission by FPGA, including step:1) configuration information that software issues is received;2) it selects sendaisle and carries out operation;3) SV messages framing;4) SV messages are sent;Wherein, channel unit, multiplier unit, except counting unit, sampling threshold unit, quality unit, SV frame head units be the configuration information that software is issued to FPGA internal storage units.The method provided by the invention for realizing SV messages framing and transmission by FPGA realizes that SV framings, threshold value comparison, quality position obtains and the multiplication and division operation of two sub-values a to sub-value using the method for FPGA, more efficient for CPU;Framing flexible form can carry out SV framings to the analog data of AD acquisitions with any selector channel.

Description

A method of SV messages framing and transmission are realized by FPGA
Technical field
The present invention relates to technical field of power systems, SV messages framing and transmission are realized by FPGA more particularly to a kind of Method.
Background technology
Currently, IEC61850 standards propose the concept of electric substation automation system functional stratification.Substation equipment is pressed It is divided into three layers according to function:That is process layer, wall, station level.
Process layer major function is that ac analog, DC analogue quantity, quantity of state are converted into digital signal and are supplied on the spot Upper layer, and receive and execute the control command that upper layer issues.Process layer devices include primary equipment and its intelligent assembly.
Wall major function is to acquire the signal of this interval primary equipment, control operation primary equipment, and correlation is believed Station level equipment is given on breath and receives the order of station level equipment.Bay device by each interval control, protection, monitoring Device forms.
Station level major function be realize it is primary to whole station, secondary device is monitored, control and with a distant place control in The heart communicates.Station level equipment includes monitoring host computer, remote station, operation element station, time synchronization system etc..
SV (Sampled Vaule) message is also the communication structure using publisher/subscriber.SV messages are a kind of time The communication mode of driving sends a sampled value every a set time.Its most important transmission requirement is real-time, fast Speed.When causing message transmissions to be lost due to network, publisher's (electric current, voltage sensor) is simultaneously not serious, should continue Acquire newest electric current, information of voltage.And subscriber's (such as protective device) allows for detected.This can be reported by SV Sample counter parameter SmpCnt in text is solved.
The prior art is using the stronger operational capabilities of CPU come when carrying out the packing of SV messages, and being sent for SV messages are specified Between, SV messages are sent to the transmission buffering area of FPGA, FPGA, which is periodically inquired, sends whether buffering area has message, if there is message, The sending time for parsing outgoing packet, sending time is compared with the high accurate calculagraph time in FPGA, in SV messages SV messages are sent when sending time point.It is related to the operation of SV messages, organizes to wrap and all be completed by CPU, FPGA is only responsible for SV Timing send.
The prior art requires collection value to give CPU on first, and then CPU handles collection value, obtains quality information, into Then two sub-value of row is packaged as SV messages, and specified sending time, such processing procedure cause to the multiplication and division operation of a sub-value It is delayed processing time that is long and increasing CPU, and message sending time needs to correct repeatedly and minimum prolong to reach maximum When and accurate send.
Accordingly, it is desirable to provide a kind of realizing the method for SV messages framing and transmission to solve the above technical problems by FPGA.
Invention content
The invention mainly solves the technical problem of providing a kind of methods for realizing SV messages framing and transmission by FPGA, adopt Realize that SV framings, threshold value comparison, quality position obtains and the multiplication and division operation of two sub-values a to sub-value with the method for FPGA, compared to It is more efficient for CPU;Group packet form is flexible, and SV framings can be carried out with any selector channel to the analog data of AD acquisitions.
In order to solve the above technical problems, one aspect of the present invention is to provide one kind realizing SV messages by FPGA Framing and the method for transmission, including step:
1) configuration information that software issues is received:
Receive the channel selecting of gathered data;
Receive the multiplier of the corresponding channel multiplying to be carried out;
Receive the divisor of the corresponding channel division arithmetic to be carried out;
Receive the sampling threshold values in corresponding channel;
Receive the quality in corresponding channel;
Receive SV headings;
AD acquires analog data;
2) it selects sendaisle and carries out operation:
The analog data is subjected to threshold value comparison with corresponding sampling threshold values, obtains the invalid bit information in quality domain;
Multiplication and division operation is carried out to selected channel according to channel selection information;
Quality domain amendment is carried out to selected channel according to channel selection information;
3) SV messages framing:
SV headings, channel multiplication and division result, quality domain correction result are subjected to framing;
And adding purpose address, source address, verification domain;
Group SV frame timings update sample count values and sample-synchronous domain information every time;
4) SV messages are sent:
SV messages are sent by Ethernet.
It is preferred that in the step 3), group SV frames are carried out with the frequency of 4KHz each second, and count value is 0 at second head, counts model Enclose is 0~3999.
It is preferred that the reception of the configuration information of the step 1) can only be configured in the case where not enabled SV messages are sent Or modification.
The beneficial effects of the invention are as follows:A kind of method that SV messages framing and transmission are realized by FPGA provided by the invention, Realize that SV framings, threshold value comparison, quality position obtains and the multiplication and division operation of two sub-values a to sub-value, compares using the method for FPGA It is more efficient for CPU;Framing flexible form can carry out SV groups to the analog data of AD acquisitions with any selector channel Frame.
Description of the drawings
Fig. 1 is a kind of stream of the first preferred embodiment of method for realizing SV messages framing and transmission by FPGA of the present invention Journey schematic diagram;
Fig. 2 is a kind of original of the first preferred embodiment of method for realizing SV messages framing and transmission by FPGA of the present invention Manage schematic diagram.
Specific implementation mode
Technical scheme of the present invention is described in detail with reference to diagram.
It refers to shown in Fig. 1 and Fig. 2, the method that SV messages framing and transmission are realized by FPGA of the present embodiment, including step Suddenly:
1) configuration information 212 that software issues is received:
Receive the channel selecting (channel unit 21) of gathered data;
Receive the multiplier (multiplier unit 22) of the corresponding channel multiplying to be carried out;
Receive the divisor (removing counting unit 23) of the corresponding channel division arithmetic to be carried out;
Receive the sampling threshold values (threshold unit 25) in corresponding channel;
Receive the quality (quality unit 26) in corresponding channel;
Receive SV headings (SV frame heads unit 24);
AD acquires analog data (analog data 213 of AD acquisitions);
2) it selects sendaisle 27 and carries out operation:
The analog data is subjected to threshold value comparison 28 with corresponding sampling threshold values, obtains the invalid bit information in quality domain;
Multiplication and division operation (two sub-values are converted to a sub-value 29) is carried out to selected channel according to channel selection information;
Quality domain is carried out to selected channel according to channel selection information and corrects 210;
3) SV messages framing 211:
SV headings, channel multiplication and division result, quality domain correction result are subjected to framing;
And adding purpose address, source address, verification domain;
Group SV frame timings update sample count values and sample-synchronous domain information every time;
4) SV messages 215 are sent:
SV messages are sent by Ethernet;
Wherein, channel unit 21, multiplier unit 22, except counting unit 23, sampling threshold unit 25, quality unit 26, SV frame heads unit 24 is the configuration information that software is issued to FPGA internal storage units.
In the present embodiment, the analog data 213 of AD acquisitions is not that software issues, and is that FPGA is acquired, at this The advantages of be exactly that AD gathered datas need not move through software layer, and AD gathered datas are directly carried out SV framing transmissions by hardware, from And improve data transmission efficiency.
The method provided by the invention for realizing SV messages framing and transmission by FPGA realizes SV message groups using fpga chip Frame, threshold value comparison, quality position obtain and two sub-values a to sub-value multiplication and division operation, compared to use traditional cpu chip into It is more efficient for row SV messages framing and transmission;And framing form is more flexible, can appoint to the analog data of AD acquisitions What selector channel carries out SV message framings.
In the present embodiment, framing format is as shown in the table:
In a preferred embodiment of the invention, in the step 3), group SV frames are carried out with the frequency of 4KHz each second, Count value is 0 at second head, and count range is 0~3999.Certainly, the concrete numerical value of the frequency in the present embodiment is not limited to 4KHz, The selection of specific numerical value, needs to be selected according to design requirement, without limitation.
In one embodiment of the invention, it is preferable that the reception of the configuration information of the step 1) can only not enable SV Message is configured or is changed in the case of sending.
Example the above is only the implementation of the present invention is not intended to limit the scope of the invention, every to utilize this hair Equivalent structure made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant technical fields, similarly It is included within the scope of the present invention.

Claims (3)

1. a kind of method for realizing SV messages framing and transmission by FPGA, it is characterised in that:Including step:
1) configuration information that software issues is received:
Receive the channel selecting of gathered data;
Receive the multiplier of the corresponding channel multiplying to be carried out;
Receive the divisor of the corresponding channel division arithmetic to be carried out;
Receive the sampling threshold values in corresponding channel;
Receive the quality in corresponding channel;
Receive SV headings;
AD acquires analog data;
2) it selects sendaisle and carries out operation:
The analog data is subjected to threshold value comparison with corresponding sampling threshold values, obtains the invalid bit information in quality domain;
Multiplication and division operation is carried out to selected channel according to channel selection information;
Quality domain amendment is carried out to selected channel according to channel selection information;
3) SV messages framing:
SV headings, channel multiplication and division result, quality domain correction result are subjected to framing;
And adding purpose address, source address, verification domain;
Group SV frame timings update sample count values and sample-synchronous domain information every time;
4) SV messages are sent:
SV messages are sent by Ethernet.
2. the method according to claim 1 for realizing SV messages framing and transmission by FPGA, it is characterised in that:Step 3) In, group SV frames are carried out with the frequency of 4KHz each second, and count value is 0 at second head, and count range is 0~3999.
3. the method according to claim 1 for realizing SV messages framing and transmission by FPGA, it is characterised in that:Step 1) The reception of configuration information can only be configured or be changed in the case where not enabled SV messages are sent.
CN201810496312.4A 2018-05-22 2018-05-22 Method for framing and sending SV message by FPGA Active CN108667852B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810496312.4A CN108667852B (en) 2018-05-22 2018-05-22 Method for framing and sending SV message by FPGA

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810496312.4A CN108667852B (en) 2018-05-22 2018-05-22 Method for framing and sending SV message by FPGA

Publications (2)

Publication Number Publication Date
CN108667852A true CN108667852A (en) 2018-10-16
CN108667852B CN108667852B (en) 2021-02-12

Family

ID=63777575

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810496312.4A Active CN108667852B (en) 2018-05-22 2018-05-22 Method for framing and sending SV message by FPGA

Country Status (1)

Country Link
CN (1) CN108667852B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110193607A1 (en) * 2009-11-23 2011-08-11 Texas Memory Systems, Inc. Method and Apparatus for Clock Calibration in a Clocked Digital Device
CN102231568A (en) * 2011-07-05 2011-11-02 国电南瑞科技股份有限公司 Multifunctional intelligent data collecting device
CN103037032A (en) * 2012-12-20 2013-04-10 北京四方继保自动化股份有限公司 Method using field programmable gate array (FPGA) to achieve 32-bit-addressing of SV data
CN103616591A (en) * 2013-11-27 2014-03-05 国家电网公司 Simulation device and method of characters of merging unit of intelligent transformer substation
CN104994034A (en) * 2015-06-30 2015-10-21 许继集团有限公司 Merging unit point-to-point SV message receiving-sending method
CN106302460A (en) * 2016-08-16 2017-01-04 许继集团有限公司 Process layer point-to-point SV sending method and system
CN106789434A (en) * 2016-12-29 2017-05-31 国网浙江省电力公司绍兴供电公司 A kind of sampled data bag transmission delay measurement method and system
CN106961396A (en) * 2017-03-21 2017-07-18 中国南方电网有限责任公司电网技术研究中心 Based on the method and apparatus that caching realizes SV Message processings in FPGA pieces
CN107800590A (en) * 2017-10-31 2018-03-13 南方电网科学研究院有限责任公司 Transmission equipment delay monitoring method, apparatus and interchanger transmission delay monitoring system

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110193607A1 (en) * 2009-11-23 2011-08-11 Texas Memory Systems, Inc. Method and Apparatus for Clock Calibration in a Clocked Digital Device
CN102231568A (en) * 2011-07-05 2011-11-02 国电南瑞科技股份有限公司 Multifunctional intelligent data collecting device
CN103037032A (en) * 2012-12-20 2013-04-10 北京四方继保自动化股份有限公司 Method using field programmable gate array (FPGA) to achieve 32-bit-addressing of SV data
CN103616591A (en) * 2013-11-27 2014-03-05 国家电网公司 Simulation device and method of characters of merging unit of intelligent transformer substation
CN104994034A (en) * 2015-06-30 2015-10-21 许继集团有限公司 Merging unit point-to-point SV message receiving-sending method
CN106302460A (en) * 2016-08-16 2017-01-04 许继集团有限公司 Process layer point-to-point SV sending method and system
CN106789434A (en) * 2016-12-29 2017-05-31 国网浙江省电力公司绍兴供电公司 A kind of sampled data bag transmission delay measurement method and system
CN106961396A (en) * 2017-03-21 2017-07-18 中国南方电网有限责任公司电网技术研究中心 Based on the method and apparatus that caching realizes SV Message processings in FPGA pieces
CN107800590A (en) * 2017-10-31 2018-03-13 南方电网科学研究院有限责任公司 Transmission equipment delay monitoring method, apparatus and interchanger transmission delay monitoring system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李宝伟等: "新一代智能变电站SV直采和GOOSE共口传输方案研究", 《电力系统保护与控制》 *

Also Published As

Publication number Publication date
CN108667852B (en) 2021-02-12

Similar Documents

Publication Publication Date Title
AU2003232039A1 (en) Method and apparatus for collecting and displaying network device information
CN102394719B (en) Multichannel HDLC data processing method based on FPGA
US20160012150A1 (en) System and method for main distribution network graph/model/data integration based on remote access and information interaction
CN101425887A (en) Time synchronization method used for wireless sensor network
CN106130796A (en) SDN topology traffic visualization monitoring method and control terminal
CN103402140B (en) A kind of method and system of the synchronous tiled upper wall of distributed IP Video Decoder
MX2021014146A (en) Method, apparatus and system for communication between controllers in tsn.
CN101188477A (en) A data packet sequence receiving method and device
CN111010351A (en) Internet of things data transmission method and system
CN204203354U (en) Line loss monitoring device
CA2833465A1 (en) Synchronization control system
CN103746937A (en) Data acquisition service bus system applied to smart power distribution network and implementation method thereof
CN106787215A (en) Intelligent relay protection device information transfer time automatic checkout system and its detection method
CN103607395A (en) Touch sense data transmission method and apparatus
CN109996325A (en) A kind of clock system and method for wireless sensor network
CN103218295B (en) The method of testing of ESB message handling ability and system
CN100474807C (en) Method and device for realizing media gateway synchronization in communication system
AU2018222892A1 (en) Data collection method, data transmission method, data collection device and network device
CN108667852A (en) A method of SV messages framing and transmission are realized by FPGA
CN108737545A (en) A kind of method that SV and GOOSE is total to mouth transmission
CN103152134B (en) Receiving terminal based on Real-time Transport Protocol resets the method and system of voice packet
CN106210107A (en) Animal heat acquisition method and system
CN201984342U (en) Control circuit of material balance system
CN102970246B (en) A kind of Ethernet message flux control method
CN101771617B (en) Method and system for following point-to-point bandwidth, remote terminal equipment and home terminal equipment

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
GR01 Patent grant
GR01 Patent grant