CN108234192A - A kind of EtherCAT network analytical equipment and method - Google Patents

A kind of EtherCAT network analytical equipment and method Download PDF

Info

Publication number
CN108234192A
CN108234192A CN201711251990.6A CN201711251990A CN108234192A CN 108234192 A CN108234192 A CN 108234192A CN 201711251990 A CN201711251990 A CN 201711251990A CN 108234192 A CN108234192 A CN 108234192A
Authority
CN
China
Prior art keywords
ethernet interface
data
website
data frame
ethercat
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
CN201711251990.6A
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.)
Shenzhen Xiankong Technology Co Ltd
Original Assignee
Shenzhen Xiankong 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 Shenzhen Xiankong Technology Co Ltd filed Critical Shenzhen Xiankong Technology Co Ltd
Priority to CN201711251990.6A priority Critical patent/CN108234192A/en
Publication of CN108234192A publication Critical patent/CN108234192A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance or administration or management of packet switching networks
    • H04L41/14Arrangements for maintenance or administration or management of packet switching networks involving network analysis or design, e.g. simulation, network model or planning
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. local area networks [LAN], wide area networks [WAN]
    • H04L12/40Bus networks
    • H04L12/40006Architecture of a communication node
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance or administration or management of packet switching networks
    • H04L41/02Arrangements for maintenance or administration or management of packet switching networks involving integration or standardization
    • H04L41/0246Arrangements for maintenance or administration or management of packet switching networks involving integration or standardization exchanging or transporting network management information using Internet, e.g. aspects relating to embedding network management web servers in network elements, web service for network management purposes, aspects related to Internet applications or services or web-based protocols, simple object access protocol [SOAP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing packet switching networks
    • H04L43/08Monitoring based on specific metrics
    • H04L43/0805Availability
    • H04L43/0811Connectivity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing packet switching networks
    • H04L43/08Monitoring based on specific metrics
    • H04L43/0805Availability
    • H04L43/0817Availability functioning
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. local area networks [LAN], wide area networks [WAN]
    • H04L12/40Bus networks
    • H04L2012/40208Bus networks characterized by the use of a particular bus standard
    • H04L2012/40221Profibus

Abstract

The invention discloses a kind of EtherCAT network analytical equipment, including:For the FPGA components of data cached frame, first Ethernet interface, the second Ethernet interface and data resolution unit, wherein, FPGA components connect the first website by the first Ethernet interface, second Ethernet interface connects the second website, without direct connection relational between first, second website;First Ethernet interface is from first website crawl data frame and simultaneous transmission is to the second Ethernet interface and the FPGA components, and the second Ethernet interface is from second website crawl data frame and simultaneous transmission to first Ethernet interface and the FPGA components;FPGA components are by the data frame transfer that first, second Ethernet interface captures to the data resolution unit.The present invention obtains data frame in real time by the Ethernet interface of two unicom from EtherCAT slave stations, the no-delay caching process of data frame is carried out by FPGA components, under the operating condition for not influencing EtherCAT network, the real-time analysis of EtherCAT network state can be carried out.

Description

A kind of EtherCAT network analytical equipment and method
Technical field
The present invention relates to EtherCAT network technical field more particularly to a kind of EtherCAT network analytical equipment and sides Method.
Background technology
EtherCAT industry real time ethernet protocol is proposed earliest by German Beckhoff companies, is formulated as IEC One of field bus protocol standard, also become the national standard of China, EtherCAT is on the basis of common Ethernet Develop, become the real-time control network applied to industrial circle, due to its with extremely strong stability, compatibility with it is synchronous Property the features such as, EtherCAT become automation manufacturer carry out control based on network main trend.
Typical EtherCAT network control system includes a main website and several slave stations, and EtherCAT main websites initiate collection Total frame carries out the communication between each slave station, and each slave node carries out lump frame to store and forward no-delayly, compare For traditional Ethernet store-and-forward mechanism, EtherCAT slave nodes are using no-delay processing, high degree EtherCAT network real-time is improved, therefore can be widely applied to real time kinematics control field.
Since EtherCAT slave nodes are using no-delay special mechanism, common ethernet device, example As interchanger can not be accessed in EtherCAT network, it is necessary to using dedicated EtherCAT network analyzer to EtherCAT network It is analyzed, still, existing scheme or product do not have the function of analyzing EtherCAT network state in real time.
Invention content
To solve the above-mentioned problems, the present invention provides a kind of EtherCAT network analytical equipment and method.
The technical solution adopted by the present invention on the one hand for a kind of EtherCAT network analytical equipment, suitable for include two with The EtherCAT control networks of upper website, including:For the FPGA components of data cached frame, the first Ethernet interface, second with Too network interface and data resolution unit, wherein, the FPGA components by the first Ethernet interface connect the first website, second with Too network interface connects the second website, without direct connection relational between first, second website;First Ethernet interface from First website crawl data frame and simultaneous transmission to second Ethernet interface and the FPGA components, described second with Too network interface is from second website crawl data frame and simultaneous transmission is to first Ethernet interface and the FPGA components; The FPGA components are by the data frame transfer that first, second Ethernet interface captures to the data resolution unit.
Preferably, it suitable for having the PC ends of data-handling capacity, further includes that data frame will be captured from the slave station It is transmitted to the USB interface at PC ends.
Preferably, the SD card component for store historical data is further included.
Preferably, the LCD module for showing EtherCAT network state is further included.
Preferably, the WiFi module for data transmission is further included.
On the other hand the technical solution adopted by the present invention is a kind of EtherCAT network analysis method, suitable for above-mentioned dress It puts, including:The direct connection relational between two slave stations is blocked, passes through the first Ethernet interface of FPGA components connection the One website, the second Ethernet interface connect the second website;First Ethernet interface captures data frame from first website And simultaneous transmission is to second Ethernet interface and the FPGA components, second Ethernet interface is from second website Data frame and simultaneous transmission are captured to first Ethernet interface and the FPGA components;The FPGA components are by first, The data frame transfer of two Ethernet interfaces crawl is to the data resolution unit;The resolution unit is based on the processing of preset program The data frame.
Beneficial effects of the present invention are to obtain data in real time from EtherCAT slave stations by the Ethernet interface of two unicom Frame carries out the no-delay caching process of data frame by FPGA components, can be in the operating condition for not influencing EtherCAT network Under, carry out the real-time analysis of EtherCAT network state.
Description of the drawings
Fig. 1 show the EtherCAT network connection diagram based on the embodiment of the present invention;
Fig. 2 show the analytical equipment structure chart based on the embodiment of the present invention;
Fig. 3 show the data transmission schematic diagram of the analytical equipment based on the embodiment of the present invention.
Specific embodiment
The present invention will be described with reference to embodiments.
Embodiment based on invention, a kind of EtherCAT network analytical equipment, suitable for including more than two websites EtherCAT controls network, including:For the FPGA components of data cached frame, the first Ethernet interface, the second Ethernet interface With data resolution unit, wherein, the FPGA components pass through the first Ethernet interface connect the first website, the second Ethernet interface The second website is connected, without direct connection relational between first, second website;First Ethernet interface is from described first Website crawl data frame and simultaneous transmission is to second Ethernet interface and the FPGA components, second Ethernet interface From second website crawl data frame and simultaneous transmission is to first Ethernet interface and the FPGA components;The FPGA Component is by the data frame transfer that first, second Ethernet interface captures to the data resolution unit.
Suitable for having the PC ends of data-handling capacity, which further includes passes for that will capture data frame from the slave station Transport to the USB interface at PC ends.
The device further includes the SD card component for store historical data.
The device further includes the LCD module for showing EtherCAT network state.
The device further includes the WiFi module for data transmission.
Embodiment based on invention, a kind of EtherCAT network analysis method, suitable for above device, including:Block two Direct connection relational between a website connects the first website by the first Ethernet interface of the FPGA components, second with Too network interface connects the second website;First Ethernet interface is from first website crawl data frame and simultaneous transmission is to institute State the second Ethernet interface and the FPGA components, second Ethernet interface captures data frame and same from second website When be transmitted to first Ethernet interface and the FPGA components;The FPGA components grab first, second Ethernet interface The data frame transfer taken is to the data resolution unit;The resolution unit is based on preset program and handles the data frame.
EtherCAT network connection diagram as shown in Figure 1, if EtherCAT network include an EtherCAT main website and Dry slave station disconnects between any two EtherCAT websites, by two EtherCAT slave stations respectively with EtherCAT Network analyzing apparatus is connected, the data frame being used to implement in EtherCAT network analytical equipment monitoring EtherCAT network.
As being further improved for embodiment, analytical equipment structure chart as shown in Figure 2, concrete implementation technology of the present invention Scheme includes the system tray of the FPGA device of no-delay data cached frame and the arm processor composition for data frame analyzing identification Structure, wherein be connected with FPGA there are two EtherCAT Industrial Ethernet interfaces, a common Ethernet interface is used for and ARM The communication interface that processor is connected, two EtherCAT Industrial Ethernet interfaces carry out for completing to access in EtherCAT network The snoop procedure of network data frame can complete no-delay data frame using the parallel behavior of FPGA device and monitor Journey, so as to not influence the transmission efficiency of legacy data frame;The purposes of another common Ethernet interface is by EtherCAT network The data frame of middle crawl passes to PC ends, and the recording process of EtherCAT network data frame can be realized using PC ends monitoring of software; The data of FPGA device output are obtained by the communication interface being connected with arm processor, can realize arm processor processing reconciliation The data frame recorded in analysis network, so as to obtain the effective status and data in EtherCAT network.
What arm processor was completed is the process parsed to the data frame cached in FPGA, can be by standard EtherCAT data frames are parsed according to EtherCAT agreements, the interface being attached thereto include USB, RS232, SD card, LCD and The modules such as WiFi, wherein USB complete be connect with PC ends computer debugging process, RS232 completion be information input it is defeated Go out interactive function, what SD card was completed is the process that historical data stores in real time, and that LCD is completed is real-time live monitoring EtherCAT Bus state shows that WiFi was completed is the process being wirelessly transferred to Real-time Monitoring Data, eliminates in the electric cabinet of tradition again The difficult problem of data acquisition and monitoring.
EtherCAT data frames are handled and analyzed using arm processor, can realize simple and fast EtherCAT network Analytic function has simple, intuitive and clear advantage;The no-delay caching process of data frame, Ke Yishi are carried out using FPGA The present function of not influencing to carry out real-time network analysis under the premise of EtherCAT network real-time Communication for Power efficiency;It is supervised using wireless wait Control function not only realizes EtherCAT network analytic function, can also realize real-time Data Transmission and monitoring function, realize nothing The remote data monitoring function of line.
The data transmission schematic diagram of analytical equipment as shown in Figure 3, (i.e. the first Ethernet interface, connects for RJ45 for port 0 Mouthful) and port 1 (i.e. the second Ethernet interface, for RJ45 interfaces) connect to realize that the data between two slave stations are not interrupted, together When port 0,1 respectively by slave station crawl real-time data transmission to corresponding buffer to ports 0,1, data are stored in by buffer to ports FPGA components (caching for carrying out data frame), then arm processor obtains the data frame cached and is then handled, while may be used also To set additional RJ45 that data cached in FPGA is output to PC ends.
As additional improvement, device further includes to connect from the USB at the slave station crawl data frame transfer to PC ends Mouthful;For the SD card component of store historical data (data that i.e. data resolution unit obtains);For showing EtherCAT network The LCD module of state;For the WiFi module of data transmission.
The situation of data frame can be fed back and (deposit SD, be shown in LCD, other intelligence are output to eventually by WIFI End), for example, data frame there are situation (data frame interruption whether occur), Frame processes situation (i.e. data analysis structures Deng).
The above, only presently preferred embodiments of the present invention, the invention is not limited in the above embodiment, as long as It reaches the technique effect of the present invention with identical means, should all belong to the scope of protection of the present invention.In the protection model of the present invention Its technical solution and/or embodiment can have a variety of different modifications and variations in enclosing.

Claims (6)

1. a kind of EtherCAT network analytical equipment controls network suitable for the EtherCAT for including more than two websites, special Sign is, including:
For the FPGA components of data cached frame, the first Ethernet interface, the second Ethernet interface and data resolution unit, In,
The FPGA components connect the first website by the first Ethernet interface, and the second Ethernet interface connects the second website, institute It states between first, second website without direct connection relational;
First Ethernet interface is from first website crawl data frame and simultaneous transmission is to second Ethernet interface With the FPGA components, second Ethernet interface is from second website crawl data frame and simultaneous transmission is to described first Ethernet interface and the FPGA components;
The FPGA components are by the data frame transfer that first, second Ethernet interface captures to the data resolution unit.
2. a kind of EtherCAT network analytical equipment according to claim 1, suitable for having the PC of data-handling capacity End, which is characterized in that further include that data frame transfer will be captured to the USB interface at PC ends from the slave station.
3. a kind of EtherCAT network analytical equipment according to claim 1, which is characterized in that further include and gone through for storing The SD card component of history data.
4. a kind of EtherCAT network analytical equipment according to claim 1, which is characterized in that further include to show The LCD module of EtherCAT network state.
5. a kind of EtherCAT network analytical equipment according to claim 1, which is characterized in that further include and passed for data Defeated WiFi module.
6. a kind of EtherCAT network analysis method, suitable for claim 1 described device, which is characterized in that including:
The direct connection relational between two slave stations is blocked, first stop is connected by the first Ethernet interface of the FPGA components Point, the second Ethernet interface connect the second website;
First Ethernet interface is from first website crawl data frame and simultaneous transmission is to second Ethernet interface With the FPGA components, second Ethernet interface is from second website crawl data frame and simultaneous transmission is to described first Ethernet interface and the FPGA components;
The FPGA components are by the data frame transfer that first, second Ethernet interface captures to the data resolution unit;
The resolution unit is based on preset program and handles the data frame.
CN201711251990.6A 2017-12-01 2017-12-01 A kind of EtherCAT network analytical equipment and method Pending CN108234192A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711251990.6A CN108234192A (en) 2017-12-01 2017-12-01 A kind of EtherCAT network analytical equipment and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711251990.6A CN108234192A (en) 2017-12-01 2017-12-01 A kind of EtherCAT network analytical equipment and method

Publications (1)

Publication Number Publication Date
CN108234192A true CN108234192A (en) 2018-06-29

Family

ID=62653760

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711251990.6A Pending CN108234192A (en) 2017-12-01 2017-12-01 A kind of EtherCAT network analytical equipment and method

Country Status (1)

Country Link
CN (1) CN108234192A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050278437A1 (en) * 2004-05-25 2005-12-15 Jianhua Xie Network analysis software real-time
CN103747068A (en) * 2013-12-27 2014-04-23 珠海市佳讯实业有限公司 System for implementing TAP equipment function based on FPGA (Field Programmable Gate Array)
CN105554012A (en) * 2015-12-28 2016-05-04 天津瑞能电气有限公司 Communication unit for converting EtherCAT slave station into Canopen master station on basis of DSP (Digital Signal Processor)
CN106341294A (en) * 2016-09-29 2017-01-18 中车唐山机车车辆有限公司 Portable MVB (Multifunction Vehicle Bus) protocol analysis apparatus and MVB (Multifunction Vehicle Bus) data processing method
CN107276711A (en) * 2017-07-21 2017-10-20 上海新时达机器人有限公司 EtherCAT master station devices

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050278437A1 (en) * 2004-05-25 2005-12-15 Jianhua Xie Network analysis software real-time
CN103747068A (en) * 2013-12-27 2014-04-23 珠海市佳讯实业有限公司 System for implementing TAP equipment function based on FPGA (Field Programmable Gate Array)
CN105554012A (en) * 2015-12-28 2016-05-04 天津瑞能电气有限公司 Communication unit for converting EtherCAT slave station into Canopen master station on basis of DSP (Digital Signal Processor)
CN106341294A (en) * 2016-09-29 2017-01-18 中车唐山机车车辆有限公司 Portable MVB (Multifunction Vehicle Bus) protocol analysis apparatus and MVB (Multifunction Vehicle Bus) data processing method
CN107276711A (en) * 2017-07-21 2017-10-20 上海新时达机器人有限公司 EtherCAT master station devices

Similar Documents

Publication Publication Date Title
CN102495610B (en) System and method for remotely monitoring computerized flat knitting machine on basis of IOT (Internet of things)
CN103856561A (en) Remote medical equipment data communication management system and working method thereof
CN106899498A (en) Embedded industry intelligent gateway and its real-time data acquisition method based on SoC
CN103353750B (en) A kind of microwave metallurgical control method based on multibus
CN107171978B (en) The multi-channel data circle collection system and acquisition method of gigabit Ethernet
CN108234192A (en) A kind of EtherCAT network analytical equipment and method
CN106412474B (en) A kind of high-speed lossless ultra high-definition industrial vision detection method and system
CN105006890B (en) A kind of intelligent substation device program managing and control system
CN110320853A (en) A kind of plc data capturing analysis method and system
CN203120069U (en) Video quality detecting device and system
CN203645747U (en) Wireless monitoring camera
CN207408770U (en) General Internet of Things centralized monitoring system
CN206400629U (en) A kind of producing line electronic billboard system
CN105352138B (en) Zero firewire of transducer air conditioning internal-external machine communication monitoring method, device and air-conditioning system
CN103855800A (en) Power network device state monitoring and diagnostic system
CN212933292U (en) Remote supervisory system based on Internet of things
CN208638363U (en) A kind of Network records analytical equipment applied to substation network port
CN206602538U (en) Embedded industry intelligent gateway based on soC
CN105261170A (en) WIFI data acquisition module for cloud service automation
CN209746375U (en) System for generating scheduled inspection material
CN212259003U (en) Safe proxy device based on Nanrui encryption chip
CN110519311A (en) Internet of things system
CN212211031U (en) Configuration real-time effective gateway equipment based on Internet of things
CN212009372U (en) Industrial control data fusion acquisition system
CN207491076U (en) A kind of mobile network video transmission system

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