CN105656592B - EtherCAT communication systems main website and communication means - Google Patents

EtherCAT communication systems main website and communication means Download PDF

Info

Publication number
CN105656592B
CN105656592B CN201511031363.2A CN201511031363A CN105656592B CN 105656592 B CN105656592 B CN 105656592B CN 201511031363 A CN201511031363 A CN 201511031363A CN 105656592 B CN105656592 B CN 105656592B
Authority
CN
China
Prior art keywords
slave station
clock
fpga
ethercat
unit
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.)
Active
Application number
CN201511031363.2A
Other languages
Chinese (zh)
Other versions
CN105656592A (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.)
Shenzhen Inovance Technology Co Ltd
Original Assignee
Shenzhen Inovance 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 Inovance Technology Co Ltd filed Critical Shenzhen Inovance Technology Co Ltd
Priority to CN201511031363.2A priority Critical patent/CN105656592B/en
Publication of CN105656592A publication Critical patent/CN105656592A/en
Application granted granted Critical
Publication of CN105656592B publication Critical patent/CN105656592B/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
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/40006Architecture of a communication node
    • H04L12/40019Details regarding a bus master
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • H04J3/0635Clock or time synchronisation in a network
    • H04J3/0638Clock or time synchronisation among nodes; Internode synchronisation

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)
  • Small-Scale Networks (AREA)

Abstract

The present invention provides a kind of EtherCAT communication systems main website and communication means, the main website includes main processing block, FPGA and ethernet transceiver;The main processing block includes PDO interactive units, and the FPGA includes PDO Transmit-Receive Units, distribution clock unit and physical layer control unit;Wherein:The distribution clock unit, for realizing that motion controller clock is synchronous with the clock of servo slave station according to the clock signal of FPGA;The data transceiving unit sends PDO interactive units to for the slave station interaction data from PDO interactive units to be encapsulated as EtherCAT data frames and the EtherCAT data frame solutions from physical layer control unit are honored as a queen according to communication cycle;The physical layer control unit, for realizing the full duplex transmitting-receiving and the transmission of distribution clock message of EtherCAT data frames.The present invention is synchronous with the clock of servo slave station by the hardware realization motion controller of FPGA, and accordingly the transmitting-receiving of property performance period data, it can be achieved that accurate master-salve station synchronous communication.

Description

EtherCAT communication systems main website and communication means
Technical field
The present invention relates to the communications fields EtherCAT, more specifically to a kind of EtherCAT communication systems main website and Communication means.
Background technology
EtherCAT (Ethernet auto-control technology, abbreviation ECAT) is an open architecture based on Ethernet Field bus system, with its exclusive " on the fly " communication mode, when communications data frame being made to pass through each website, in number In the case of not stopped according to frame, the data of respective site are handled, to significantly reduce data processing time, shorten communication Period.In addition the synchronization mechanism of its distribution clock (Distribute Clock, DC) so that EtherCAT is widely used in height Fast, high-precision motion control field.
EtherCAT slave stations are carried out by EtherCAT from station control (ESC).And main website does not have dedicated ASIC (Application Specific Integrated Circuits, application-specific integrated circuit), EtherCAT main websites are usually by transporting Pure software of the row in operating system (Windows, Linux, VxWorks etc.), and the driving of combined standard Ethernet card is realized.
In practical applications, EtherCAT main websites often operate in motion controller one end, and motion controller will produce week The data of phase planning, and can these data be sent to each servo slave station in real time by EtherCAT main websites, this is to influence to be somebody's turn to do The key factor of the control performance of control system.Therefore the real-time of EtherCAT main websites and the synchronism of main website and slave station Can, it is vital for high speed, high-precision motion control.
To realize the real-time synchronization of EtherCAT main websites and servo slave station, the cycle interruption clock of motion controller must be with The distribution clock (DC) of all servo slave stations is synchronous, and otherwise (such as interpolation is transported for the multi-axial Simultaneous movement of motion controller period planning It is dynamic) data cannot be guaranteed to be executed synchronously in server-side.So, control accuracy is not just known where to begin.
Traditional EtherCAT main websites are the pure software frameworks based on operating system OS (Operating System).Due to The scheduling of operating system multitask is extremely complex and is non real-time, thus want to execute on an operating system 1ms with Under EtherCAT real-time tasks, it is necessary to operating system supplier depth cooperation (such as Windows) or to operating system (such as Linux etc.) stamp real-time patch.Such as it is logical for EtherCAT by the timer (Timer) that real-time patch RT Patch are generated Letter provides master clock (Clock M), as shown in Figure 1, EtherCAT main websites directly set this master clock to reference clock Slave station SL0 (Slave0) is used as its distribution clock, and servo slave station thereafter is again with reference to progress with the distribution clock of reference clock It is synchronous.Since the send and receive packets behavior of EtherCAT main websites passes through the Ethernet Adaptation Unit (Ethernet under operating system Adapter there are delay variations after driver), this will necessarily give the distribution clock of entire EtherCAT network direct A shake is introduced, to destroy the net synchronization capability between servo slave station, therefore traditional EtherCAT main websites scheme can not ensure The cycle interruption clock of motion controller reaches synchronous with the distribution clock of servo slave station.
However, being either that operating system beats real-time patch with operating system supplier depth cooperation or still, all need By changing the scheduling of operating system underlying task, to improve the real-time of EtherCAT master tasks.But this will certainly be to behaviour The stability for making system brings prodigious challenge and risk.And even by such Real-Time Improvement, it is desirable to obtain 500us with Under real-time performance, and the CPU for needing performance superpower could realize, this certainly will cause to impact to the cost of system again.
Invention content
The technical problem to be solved in the present invention is, real-time performance is poor in being communicated for above-mentioned EtherCAT, cost compared with High problem provides a kind of EtherCAT communication systems main website and communication means.
The technical solution that the present invention solves above-mentioned technical problem is to provide a kind of EtherCAT communication systems main website, including Main processing block, FPGA and ethernet transceiver, and reference clock slave station and servo are connected by the ethernet transceiver Slave station;The main processing block includes PDO interactive units, and the FPGA includes PDO Transmit-Receive Units, distribution clock unit and object Manage layer control unit;Wherein:The distribution clock unit generates distribution clock for the clock signal period according to FPGA Message, to realize that motion controller clock is synchronous with the clock of servo slave station;The PDO Transmit-Receive Units, for according to distribution Slave station interaction data from PDO interactive units is encapsulated as EtherCAT data frames and will come from by the communication cycle of clock unit The EtherCAT data frame solutions of physical layer control unit, which are honored as a queen, sends PDO interactive units to;The physical layer control unit, is used for Control full duplex transmitting-receiving and the transmission of distribution clock message that ethernet transceiver realizes EtherCAT data frames.
In EtherCAT communication systems of the present invention main website, the distribution clock unit includes that delay setting is single Member, clock transmission unit and startup control unit, wherein:The delay setting unit, for calculating main website to reference clock Simultaneously result of calculation is arranged to reference clock slave station for the transmission delay and time offset of slave station;The clock transmission unit, is used for The clock of FPGA is sent to each servo slave station by timing;The startup control unit, for main website and servo slave station when After clock synchronizes, calculate each servo slave station synchronizing signal start time and main website the interrupt start time, the servo from The synchronizing signal startup time stood is aligned with the interrupt start time of main website in phase.
In EtherCAT communication systems of the present invention main website, the main processing block of the main website includes document analysis Unit, station scans unit, state machine administrative unit, dispensing unit and mailbox communication unit, the FPGA include SDO transmitting-receivings Unit, the SDO Transmit-Receive Units are used to realize document analysis unit, station scans unit, state by physical layer control unit The data interaction of machine administrative unit, dispensing unit and mailbox communication unit and each servo slave station.
In EtherCAT communication systems of the present invention main website, the main website includes two ethernet transceivers, and One of ethernet transceiver is for carrying out transmitting-receiving, another ethernet transceiver of data message for realizing main website annular Redundancy, the physical layer control unit include Port Management unit, the Port Management unit for realizing port connection state and Ring redundancy processing.
In EtherCAT communication systems of the present invention main website, the physical layer control unit includes packet filtering list Member, for filtering non-EtherCAT messages.
The present invention also provides a kind of EtherCAT communication systems master station communication method, the main website include main processing block, FPGA and ethernet transceiver, and reference clock slave station and servo slave station are connected by the ethernet transceiver;The side Method includes the following steps:
(a) FPGA according to the clock signal period of the FPGA is sent by ethernet transceiver to servo slave station Distribution clock message, to realize that motion controller clock is synchronous with the clock of servo slave station;
(b) PDO from main processing block is encapsulated as EtherCAT numbers by the FPGA according to the communication cycle of the FPGA According to frame and the EtherCAT data frame solutions from physical layer control unit are honored as a queen send main processing block to;
(c) the FPGA controls ethernet transceiver realizes the full duplex transmitting-receiving of EtherCAT data frames.
In EtherCAT communication systems master station communication method of the present invention, the step (a) includes:
(a1) FPGA calculates main website to the transmission delay and time offset of reference clock slave station and sets result of calculation Set reference clock slave station;
(a2) clock of FPGA is sent to each servo slave station by the FPGA timings;
(a3) FPGA calculates the synchronizing signal of each servo slave station after main website is synchronous with the clock of servo slave station Start the interrupt start time of time and main website, when the synchronizing signal of the servo slave station starts the interrupt start of time and main website Between be aligned in phase.
In EtherCAT communication systems master station communication method of the present invention, the method further includes:
The FPGA realizes the transmitting-receiving of the SDO between main website and slave station by ethernet transceiver;
The main processing block describes document analysis according to the FPGA slave station equipments received and goes out and the relevant slave station letter of configuration Breath;
The main processing block is by FPGA to all clock reference slave stations and the servo that are connected in EtherCAT network Slave station is scanned, and obtains the device descriptive information of online slave station number and each slave station;
The main processing block completes the application layer state handover management of each slave station by FPGA;
The main processing block carries out relevant configuration by FPGA to slave station;
The main processing block realizes mailbox communication by FPGA and servo slave station.
In EtherCAT communication systems master station communication method of the present invention, the main website includes that two Ethernets are received Send out device, and one of ethernet transceiver for carry out transmitting-receiving, another ethernet transceiver of data message for realizing Main website ring redundancy, the method includes:The FPGA carries out port connection state, ring redundancy processing.
In EtherCAT communication systems master station communication method of the present invention, the method includes:The FPGA mistakes Filter non-EtherCAT messages.
EtherCAT communication systems of the present invention main website and communication means pass through the hardware realization motion control of FPGA Device is synchronous with the clock of servo slave station, and the transmitting-receiving of property performance period data accordingly, increases without the kernel sky in operating system Module need not also increase real-time patch, you can realize accurate master-salve station synchronous communication.
Description of the drawings
Fig. 1 is the schematic diagram of EtherCAT communications system embodiments of the present invention.
Fig. 2 is the module diagram of EtherCAT communication systems in Fig. 1.
Fig. 3 is the schematic diagram that EtherCAT communication systems clock synchronizes in Fig. 1.
Specific implementation mode
In order to make the purpose , technical scheme and advantage of the present invention be clearer, with reference to the accompanying drawings and embodiments, right The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and It is not used in the restriction present invention.
As shown in Figs. 1-2, it is the schematic diagram of EtherCAT communication systems of the present invention main website embodiment, can replaces existing Main website in EtherCAT communication systems, to carry out servo from stand control.The EtherCAT communication systems main website includes main process task Module 10, FPGA (programmable logic device) 20 and ethernet transceiver (Ethernet PHY) 30, and received by Ethernet It sends out device 30 and connects reference clock slave station and servo slave station.Above-mentioned main processing block 10, which specifically can be used ARM chips and run, behaviour Make system (may include operating system user's space and operating system nucleus space), which passes through Peripheral Interface (Peripheral Interface) is connect with FPGA 20.
In the present embodiment, main processing block 10 realizes application layer ECAT AL (EtherCAT in operating system user's space Application Layer) function, the data link layer ECAT DLL of the completion EtherCAT communication systems of FPGA 20 main website (EtherCAT Data Link Layer) function and physical layer ECAT PL (EtherCAT Physical Layer) manage work( Energy.Ethernet transceiver 30 connects EtherCAT slave stations by the ports RJ45 all the way, carries out the transmitting-receiving of data message, in addition all the way Ethernet transceiver 30 is used as main website ring redundancy.
Main processing block 10 includes the PDO interactive units 11 for operating in application layer, and FPGA 20 includes operating in data link PDO Transmit-Receive Units 22, distribution clock unit 21 and the physical layer control unit 24 for operating in physical layer of layer, above-mentioned PDO are handed over Mutual unit 11, PDO Transmit-Receive Units 22, distribution clock unit 21 and physical layer control unit 24 are in combination with corresponding software reality It is existing.
Distribution clock unit 21 is used for that (rather than the clock of main processing block 10 to be believed according to the hardware clock signal of FPGA 20 Number) distribution clock message is periodically generated, to realize that motion controller clock is synchronous with the clock of servo slave station.Specifically, Distribution clock unit 21 includes delay setting unit, clock transmission unit and starts control unit.As shown in figure 3, delay is set Unit is set in 21 initialization procedure of distribution clock unit, transmission delay and time of the measuring and calculating main website to reference clock slave station SL0 Biasing, and result of calculation is arranged to reference clock slave station SL0;Clock transmission unit is periodically by the data link layer of FPGA 20 (DLL) clock Clock M are sent to each servo slave station SL1, SL2 ..., SLN (N is integer), when being distributed using EtherCAT Clock synchronization mechanism, it is ensured that on all servo slave station distribution clocks (DC) and master clock stringent synchronization;Start control unit in master Clock of standing it is synchronous with servo slave station clock it is upper after, calculate each servo slave station synchronizing signal start time and main website interruption (Interrupt) start the time, and ensure that all slave station synchronizing signals start time and main website interrupt start time in phase Alignment.
By the distribution clock unit 21 of the hardware clock based on FPGA 20, motion controller is interrupted according to above-mentioned main website The period planning data of signal work can be synchronized in same period by all servo slave stations and be executed, and realize that high speed, high-precision height are synchronous Properties Control.
PDO interactive units 11 be used for according to application layer task call generate PDO data, including I/O data, control data, Status data etc., and the feedback data from servo slave station is handled for application layer task call.PDO Transmit-Receive Units 22 are based on distribution The communication cycle (hardware clock i.e. based on FPGA 20) of clock unit 21 will come from PDO (Process Data Object) and hand over The PDO data of mutual unit 11 are encapsulated as EtherCAT data frames and by the EtherCAT data frames from physical layer control unit 24 Solution, which is honored as a queen, sends PDO interactive units 11 to;Physical layer control unit 24 realizes EtherCAT for controlling ethernet transceiver 30 The full duplex of data frame is received and dispatched and the transmission of distribution clock message.
The highest PDO of requirement of real-time in EtherCA physical layers is received and dispatched by above-mentioned demixing technology in EtherCAT main websites Function is placed in FPGA 20 and realizes, ensures EtherCAT master station communications to real-time in real time using FPGA 20 hardware of itself Rigors.
In addition, since physical layer management function (i.e. physical layer control unit 24) is also realized in FPGA 20, behaviour is eliminated Make system to dispatch the driving of ethernet transceiver 30, to eliminate the delay variation of EtherCAT data messages transmitting-receiving Problem eliminates the shake of EtherCAT data message sending cycles, when EtherCAT communication systems being made to obtain stable distribution Clock net synchronization capability.Since data link layer of the real-time in FPGA 20 is protected, and the application layer of EtherCAT main websites can To run directly in the user's space of the operating system of main processing block 10, without increasing module in kernel spacing or mending in real time Fourth, in the case of obtaining superior strong, moreover it is possible to which the load for maximally reducing operating system ensures the reliable of system Stable operation.
The main processing block 10 of above-mentioned main website further includes document analysis unit 13, station scans unit 12, state machine management Unit 15, dispensing unit 14 and mailbox communication unit 16, correspondingly, FPGA 20 include SDO (Service Data Object) Transmit-Receive Unit 23, the SDO Transmit-Receive Units 23 be used for by physical layer control unit 24 realize document analysis unit 13, Station scans unit 12, state machine administrative unit 15, dispensing unit 14 and mailbox communication unit 16 and each servo slave station Data interaction, that is, receive document analysis unit 13, station scans unit 12, state machine administrative unit 15, dispensing unit 14 and The data message of mailbox communication unit 16 is subsequently forwarded to physical layer control unit 24, while receiving physical layer control unit 24 The data message of return notifies the correlation unit of application layer to read.
Specifically, document analysis unit 13 parsed from the device description file (XML file) of EtherCAT slave stations with Relevant slave station information is configured, such as:Supplier ID (Vendor ID), product code (Product Code) and process data PDO (Process Data Object) mappings etc..Station scans unit 12 is for realizing main website to being connected to EtherCAT network On all slave stations be scanned, obtain the device descriptive information of online slave station number and each slave station.State machine (Finite State Machine, FSM) administrative unit 15 be used to complete each slave station apply layer state handover management, including four kinds of states Management:Initialize (INIT), pre-operation (PREOP), safety operation (SAFEOP), mode of operation (OP).Dispensing unit 14 is used for After slave station enters PREOP states, the operation mode wanted according to user carries out relevant configuration to EtherCAT slave stations, such as logical Believe period, synchronous mode, DC periods, PDO mappings etc..Mailbox communication unit 16 is for realizing EtherCAT service datas SDO The read-write of (Service Data Object) can include partly or entirely following application layer protocol depending on main website specification:CoE (CANopen over EtherCAT)、SoE(Servo over EtherCAT)、FoE(File over EtherCAT)、EoE (Ethernet over EtherCAT)、AoE(ADS over EtherCAT)、VoE(Vendor over EtherCAT)。
Particularly, above-mentioned physical layer control unit 24 may also include packet filtering unit, for filtering non-EtherCAT reports Text.
The present invention also provides a kind of EtherCAT communication means, and the wherein main website in EtherCAT communication systems includes main place Module, FPGA and ethernet transceiver are managed, and reference clock slave station and servo slave station are connected by ethernet transceiver;The party Method includes the following steps:
(a) FPGA according to the clock signal period of the FPGA is sent to servo slave station by ethernet transceiver and is distributed Clock message, to realize that motion controller clock is synchronous with the clock of servo slave station.
The step specifically may include:FPGA calculates main website to the transmission delay and time offset of reference clock slave station and will count Result setting is calculated to reference clock slave station;The clock of FPGA is sent to each servo slave station by FPGA timings;FPGA main website with After the clock of servo slave station synchronizes, when calculating the synchronizing signal of each servo slave station and starting the interrupt start of time and main website Between, the synchronizing signal startup time of servo slave station is aligned with the interrupt start time of main website in phase.
(b) PDO from main processing block is encapsulated as EtherCAT data frames according to communication cycle and will come from by FPGA The EtherCAT data frame solutions of physical layer control unit, which are honored as a queen, sends main processing block to;
(c) FPGA controls the full duplex transmitting-receiving that ethernet transceiver realizes EtherCAT data frames.
In above-mentioned EtherCAT communication means, in addition to PDO data transmit-receives, it may also include:FPGA is received and dispatched by Ethernet Device realizes the transmitting-receiving of the SDO between main website and slave station;Main processing block describes to parse in file according to the FPGA slave station equipments received Go out and configures relevant slave station information;Main processing block is by FPGA to all clock references for being connected in EtherCAT network Slave station and servo slave station are scanned, and obtain the device descriptive information of online slave station number and each slave station;Main processing block is logical Cross the application layer state handover management that FPGA completes each slave station;Main processing block carries out relevant configuration by FPGA to slave station;It is main Processing module realizes mailbox communication by FPGA and servo slave station.
The foregoing is only a preferred embodiment of the present invention, but scope of protection of the present invention is not limited thereto, Any one skilled in the art in the technical scope disclosed by the present invention, the change or replacement that can be readily occurred in, It should be covered by the protection scope of the present invention.Therefore, protection scope of the present invention should be with scope of the claims Subject to.

Claims (10)

1. a kind of EtherCAT communication systems main website, it is characterised in that:It is received and dispatched including main processing block, FPGA and Ethernet Device, and reference clock slave station and servo slave station are connected by the ethernet transceiver;The main processing block includes PDO interactions Unit, the FPGA include PDO Transmit-Receive Units, distribution clock unit and physical layer control unit;Wherein:The distribution clock Unit generates distribution clock message for the clock signal period according to FPGA, to realize motion controller clock and watch The clock for obeying station synchronizes;The PDO Transmit-Receive Units will come from PDO for the communication cycle according to distributed clock unit and hand over The slave station interaction data of mutual unit is encapsulated as EtherCAT data frames and by the EtherCAT data from physical layer control unit Frame solution, which is honored as a queen, sends PDO interactive units to;The physical layer control unit realizes EtherCAT for controlling ethernet transceiver The full duplex of data frame is received and dispatched and the transmission of distribution clock message.
2. EtherCAT communication systems according to claim 1 main website, it is characterised in that:The distribution clock unit includes Be delayed setting unit, clock transmission unit and startup control unit, wherein:The delay setting unit, for calculating main website To reference clock slave station transmission delay and time offset and by result of calculation setting to reference clock slave station;The clock is sent The clock of FPGA is sent to each servo slave station by unit for timing;The startup control unit, in main website and servo After the clock of slave station synchronizes, the synchronizing signal for calculating each servo slave station starts the interrupt start time of time and main website, institute The synchronizing signal startup time for stating servo slave station is aligned with the interrupt start time of main website in phase.
3. EtherCAT communication systems according to claim 1 main website, it is characterised in that:The main processing block of the main website It is described including document analysis unit, station scans unit, state machine administrative unit, dispensing unit and mailbox communication unit FPGA includes SDO Transmit-Receive Units, and the SDO Transmit-Receive Units are used to realize document analysis unit by physical layer control unit, stand The data interaction of spot scan unit, state machine administrative unit, dispensing unit and mailbox communication unit and each servo slave station.
4. EtherCAT communication systems according to claim 1 main website, it is characterised in that:The main website includes two ether Net transceiver, and one of ethernet transceiver is for carrying out the transmitting-receiving of data message, another ethernet transceiver is used for Realize main website ring redundancy, the physical layer control unit includes Port Management unit, and the Port Management unit is for realizing end Mouth connection status and ring redundancy processing.
5. EtherCAT communication systems according to claim 1 main website, it is characterised in that:The physical layer control unit packet Packet filtering unit is included, for filtering non-EtherCAT messages.
6. a kind of EtherCAT communication systems master station communication method, it is characterised in that:The main website includes main processing block, FPGA And ethernet transceiver, and reference clock slave station and servo slave station are connected by the ethernet transceiver;The method packet Include following steps:
(a) FPGA according to the clock signal period of the FPGA is sent to servo slave station by ethernet transceiver and is distributed Clock message, to realize that motion controller clock is synchronous with the clock of servo slave station;
(b) PDO from main processing block is encapsulated as EtherCAT data frames by the FPGA according to the communication cycle of the FPGA And the EtherCAT data frame solutions from physical layer control unit are honored as a queen and send main processing block to;
(c) the FPGA controls ethernet transceiver realizes the full duplex transmitting-receiving of EtherCAT data frames.
7. EtherCAT communication systems master station communication method according to claim 6, it is characterised in that:The step (a) Including:
(a1) FPGA calculates main website to the transmission delay and time offset of reference clock slave station and arrives result of calculation setting Reference clock slave station;
(a2) clock of FPGA is sent to each servo slave station by the FPGA timings;
(a3) after main website is synchronous with the clock of servo slave station, the synchronizing signal for calculating each servo slave station starts the FPGA The synchronizing signal of the interrupt start time of time and main website, the servo slave station start the time and the interrupt start time of main website exists It is aligned in phase.
8. EtherCAT communication systems master station communication method according to claim 6, it is characterised in that:The method is also wrapped It includes:
The FPGA realizes the transmitting-receiving of the SDO between main website and slave station by ethernet transceiver;
The main processing block describes document analysis according to the FPGA slave station equipments received and goes out and the relevant slave station information of configuration;
The main processing block is by FPGA to all clock reference slave stations and the servo slave station that are connected in EtherCAT network It is scanned, obtains the device descriptive information of online slave station number and each slave station;
The main processing block completes the application layer state handover management of each slave station by FPGA;
The main processing block carries out relevant configuration by FPGA to slave station;
The main processing block realizes mailbox communication by FPGA and servo slave station.
9. EtherCAT communication systems master station communication method according to claim 6, it is characterised in that:The main website includes Two ethernet transceivers, and one of ethernet transceiver is used to carry out the transmitting-receiving of data message, another Ethernet is received Device is sent out for realizing main website ring redundancy, the method includes:The FPGA carries out port connection state, ring redundancy processing.
10. EtherCAT communication systems master station communication method according to claim 6, it is characterised in that:The method packet It includes:The FPGA filters non-EtherCAT messages.
CN201511031363.2A 2015-12-31 2015-12-31 EtherCAT communication systems main website and communication means Active CN105656592B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201511031363.2A CN105656592B (en) 2015-12-31 2015-12-31 EtherCAT communication systems main website and communication means

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201511031363.2A CN105656592B (en) 2015-12-31 2015-12-31 EtherCAT communication systems main website and communication means

Publications (2)

Publication Number Publication Date
CN105656592A CN105656592A (en) 2016-06-08
CN105656592B true CN105656592B (en) 2018-09-21

Family

ID=56490299

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201511031363.2A Active CN105656592B (en) 2015-12-31 2015-12-31 EtherCAT communication systems main website and communication means

Country Status (1)

Country Link
CN (1) CN105656592B (en)

Families Citing this family (29)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107526304A (en) * 2016-06-20 2017-12-29 上海智殷自动化科技有限公司 A kind of Miniature digital low-voltage direct servo based on EtherCAT
CN105938360A (en) * 2016-07-14 2016-09-14 深圳市旗众智能自动化有限公司 Distributed automatic control system and control method thereof and configuration device
CN106647573B (en) * 2016-11-01 2020-06-19 清能德创电气技术(北京)有限公司 Servo driver synchronous control system
CN107168161A (en) * 2017-05-25 2017-09-15 电子科技大学 EtherCAT master-salve station communication systems based on ROS systems
CN107229240B (en) * 2017-06-13 2023-05-23 华南理工大学 EtherCAT-based multi-axis synchronous control device and method
CN107402534B (en) * 2017-07-21 2021-02-19 上海新时达机器人有限公司 Adjusting method, EtherCAT main station and computer readable storage medium
CN107276711B (en) * 2017-07-21 2019-02-12 上海新时达机器人有限公司 EtherCAT master station device
CN109991887B (en) * 2017-12-29 2021-08-31 沈阳高精数控智能技术股份有限公司 Real-time optimization method of embedded real-time EtherCAT main station
CN110601941B (en) * 2018-06-12 2021-07-27 通号城市轨道交通技术有限公司 Vehicle-mounted signal transmission system and method based on EtherCAT bus
CN110830276B (en) * 2018-08-09 2021-03-19 通号城市轨道交通技术有限公司 EtherCAT communication system and method based on cold redundancy mechanism
CN109799756B (en) * 2019-01-28 2024-04-16 上海太易检测技术有限公司 Cascade weight sorting system with time delay measurement structure
CN110253578B (en) * 2019-06-21 2021-08-13 广东工业大学 SCARA robot, motion control method and system thereof and related components
CN110457042A (en) * 2019-07-18 2019-11-15 广州健飞通信有限公司 A kind of module integrated system with third party's analytic technique
CN110445569B (en) * 2019-07-18 2021-03-23 广州健飞通信有限公司 Integrated system with timing and instruction synchronization function
CN110620712B (en) * 2019-09-03 2021-08-20 武汉久同智能科技有限公司 Method for realizing real-time EtherCAT master station of Window platform
CN110524543A (en) * 2019-09-29 2019-12-03 华中科技大学 A kind of industrial robot control device and system based on manipulation one
CN110995613B (en) * 2019-10-14 2023-06-27 广州虹科电子科技有限公司 System and method for eliminating EtherCAT communication period jitter
CN110932954A (en) * 2019-11-20 2020-03-27 广东水利电力职业技术学院(广东省水利电力技工学校) EtherCAT bus clock distribution system
CN112953800B (en) * 2019-11-26 2022-10-04 台达电子工业股份有限公司 Data handshake method based on EtherCAT protocol
CN111478834B (en) * 2020-03-25 2022-04-29 武汉迈信电气技术有限公司 EtherCAT master station synchronization method based on non-real-time system
CN112247985B (en) * 2020-09-21 2021-12-14 珠海格力电器股份有限公司 Clock synchronization method, robot control system and robot
CN112398714B (en) * 2020-10-22 2022-06-14 北京和利时***工程有限公司 Backboard bus master station, system and data communication method thereof
CN112492046B (en) * 2020-12-11 2024-07-02 交控科技股份有限公司 Train distributed TCMS (train control system) main-standby redundancy management method and system
CN114390042B (en) * 2021-12-28 2024-06-21 深圳市汇川技术股份有限公司 Industrial communication method, industrial communication system, device, and storage medium
CN114500154B (en) * 2022-01-26 2024-02-27 成都中天自动化控制技术有限公司 Ethercat bus master station and slave station real-time synchronization method
CN115051888B (en) * 2022-06-14 2024-01-26 南京晓庄学院 EtherCat master station control system based on AM335X
CN115523046B (en) * 2022-10-21 2024-06-18 中船动力研究院有限公司 Control method and system for multiple engine synchronization system
CN117092903B (en) * 2023-10-20 2024-01-23 浙江禾川科技股份有限公司 Redundancy control system and method
CN117149683B (en) * 2023-10-27 2024-02-06 南京德克威尔自动化有限公司 Adapter for industrial field

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101963808A (en) * 2010-10-21 2011-02-02 广州数控设备有限公司 System supporting various field master protocols and implementation method thereof
CN102325019A (en) * 2011-08-23 2012-01-18 西安电子科技大学 Clock synchronization method of real-time industrial Ethernet EtherCAT redundant system
CN104702474A (en) * 2015-03-11 2015-06-10 华中科技大学 FPGA (Field Programmable Gate Array)-based EtherCAT (Ethernet Control Automation Technology) main station device
CN105024777A (en) * 2015-07-29 2015-11-04 上海新时达电气股份有限公司 Servo driver synchronized method based on Ether CAT real-time Ethernet

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5184597B2 (en) * 2010-09-06 2013-04-17 株式会社日立産機システム Communication control apparatus and communication / control system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101963808A (en) * 2010-10-21 2011-02-02 广州数控设备有限公司 System supporting various field master protocols and implementation method thereof
CN102325019A (en) * 2011-08-23 2012-01-18 西安电子科技大学 Clock synchronization method of real-time industrial Ethernet EtherCAT redundant system
CN104702474A (en) * 2015-03-11 2015-06-10 华中科技大学 FPGA (Field Programmable Gate Array)-based EtherCAT (Ethernet Control Automation Technology) main station device
CN105024777A (en) * 2015-07-29 2015-11-04 上海新时达电气股份有限公司 Servo driver synchronized method based on Ether CAT real-time Ethernet

Also Published As

Publication number Publication date
CN105656592A (en) 2016-06-08

Similar Documents

Publication Publication Date Title
CN105656592B (en) EtherCAT communication systems main website and communication means
US7675919B2 (en) End system scheduling for switched networks
US9906320B2 (en) Industrial network apparatus and data communication method
EP3903454B1 (en) A tsn enabled controller
CN103414547B (en) A kind of main website controls method, main website and the system of many slave stations
CN107465474B (en) The clock synchronization system and method for digital control system bus apparatus
EP3261296B1 (en) Method for managing configuration of industrial internet field broadband bus
CN106603367A (en) CAN bus communication method for time synchronization
CN107276711B (en) EtherCAT master station device
US11323323B2 (en) Communication system, communication apparatus, and communication method
CN101330342B (en) Method for implementing time synchronization protocol using port mirror and apparatus thereof
US20170272190A1 (en) Time synchronization method and apparatus for network devices and time synchronization server
CN100538683C (en) The method and apparatus and the corresponding bus system that are used for the control bus system
CN102739491A (en) Ethernet communication master station implementation method
CN106230541B (en) A kind of Site synch system and method for Industrial Ethernet
CN108199822B (en) Bus synchronization method and device of EtherCAT-NCUC
CN105279070B (en) Bus communication and device for time synchronism apparatus
CN110430110A (en) A kind of field bus gateway and its method for converting protocol
US11258633B2 (en) Timestamp unit and communication control unit for a user station of a communication network
US11929936B2 (en) Interface apparatus between TSN-devices and non-TSN-devices
CN110113126B (en) Cross-platform distributed system partition synchronization method based on time trigger network
US9026834B2 (en) Communication entity with timing generator coupled via a digital protocol to sample-driven further communication entity
CN110178344A (en) Control device and communication device
CN102413188B (en) Method for implementing protocol software main/standby system data synchronization in communication equipment
US20230078505A1 (en) Synchronization for backplane communication

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