CN106873541A - A kind of EtherCAT Distributed Servo kinetic control systems based on DSP - Google Patents

A kind of EtherCAT Distributed Servo kinetic control systems based on DSP Download PDF

Info

Publication number
CN106873541A
CN106873541A CN201510914927.0A CN201510914927A CN106873541A CN 106873541 A CN106873541 A CN 106873541A CN 201510914927 A CN201510914927 A CN 201510914927A CN 106873541 A CN106873541 A CN 106873541A
Authority
CN
China
Prior art keywords
ethercat
control
dsp
servo
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
CN201510914927.0A
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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN201510914927.0A priority Critical patent/CN106873541A/en
Publication of CN106873541A publication Critical patent/CN106873541A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS], computer integrated manufacturing [CIM]
    • G05B19/4185Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS], computer integrated manufacturing [CIM] characterised by the network communication
    • G05B19/41855Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS], computer integrated manufacturing [CIM] characterised by the network communication by local area network [LAN], network structure
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Abstract

A kind of EtherCAT Distributed Servo kinetic control systems based on DSP, make full use of EtherCAT topological structures flexible, configuration is simple, data transmission is efficient, the advantages of real-time, synchronism are good, and the abundant peripheral functionality of TMS320F28335 dsp chips, slave station equipment with EtherCAT network interface function, build EtherCAT Distributed Servo kinetic control systems, and there is provided system hardware and the design of software, it is capable of achieving position control, speed control, 3 kinds of servo system control patterns of direct torque and real-time Data Transmission.The system provides solution for the transmission problem of servo control system middle-high density real time data, improves the real-time Communication for Power performance of many motor servo systems.The system can be applied to directly on actual apparatus for production line, to improve the performance of production equipment each side, fully demonstrate advantage of the EtherCAT fieldbus in commercial Application.

Description

One kind is based on DSP 's EtherCAT Distributed Servo kinetic control system
Technical field
The present invention relates to a kind of EtherCAT Distributed Servo kinetic control systems based on DSP, it is adaptable to mechanical field.
Background technology
As modern industry production scale tends to maximize, production equipment system, scale, the kinetic control system for developing planned network turn into current study hotspot.Constantly ripe, cost is reduced rapidly industrial Ethernet technology, for large-scale industry control system provides preferred option.EtherCAT is the newcomer of EPA family, it is the real-time industrial ethernet technology of Beckhoff companies proposition, it is based on standard ethernet technology, with full-duplex communication, system configuration is simple, data transfer have at a high speed, it is efficient the characteristics of, bus utilization is high, its data is efficient up to more than 90%, and supports line style, tree-shaped, star network topology, and each system can connect up to 65535 nodes.
The content of the invention
The present invention proposes a kind of EtherCAT Distributed Servo kinetic control systems based on DSP, make full use of EtherCAT topological structures flexible, configuration is simple, data transmission is efficient, real-time, the advantages of synchronism is good, and the abundant peripheral functionality of TMS320F28335 dsp chips, slave station equipment with EtherCAT network interface function, build EtherCAT Distributed Servo kinetic control systems, and there is provided system hardware and the design of software, it is capable of achieving position control, speed control, 3 kinds of servo system control patterns of direct torque and real-time Data Transmission.
The technical solution adopted in the present invention is:The control system uses the structure of one master and multiple slaves, main website is using the PC with the Base-TX Ethernet cards of standard 100, slave station is, using the servo control card with EtherCAT network interface of TMS320 F28335 independent researches, Serve Motor Control to be realized using the motion-control module of the F28335 of dsp chip TM 5320.Standard 100BaseT X cable connections are used between main website and slave station, between slave station and slave station.
The EtherCAT Distributed Servos kinetic control system is made up of PC main website and some DSP slave stations with EtherCAT interfaces, use master slave mode medium access control (MAC), main website sends the ISO/IEC8802-3 ethernet data frames of standard to each slave station, when data frame is by EtherCAT slave nodes, EtherCAT slave stations identify the order of correlation and make corresponding treatment, and extracted from the sub- message in data frame inside or the related motion control data of insertion, then by the data frame transfer to next EtherCAT slave stations.Last EtherCAT slave station beams back the data frame by processing completely, and sends it to control unit as responsive data frame by first EtherCAT slave station.The characteristics of whole process make use of ethernet device independent process transmitted in both directions (TX and RX), and run in a full-duplex mode, the data frame for sending returns to control unit further through RX lines.EtherCAT has accurately clock system and high precision apparatus synchronization, and using EtherCAT, the data exchange of system is just based entirely on pure hardware mechanisms.
The EtherCAT slave stations unit mainly includes EtherCAT communication modules and TMS320F28335 servo control modules.EtherCAT communication modules realize the connection between main website and slave station or between slave station and slave station using standard RJ45 netting twines.According to the Distributed Servo kinetic control system EtherCAT from the demand of station control, 2 network interfaces of EtherCAT Communication Module Designs in this design:One network interface connects host computer or a upper slave station, and another network interface connects next slave station.The PDI Selector selections that EtherCAT communication modules pass through are connected by which kind of interface (8 or 16 parallel-by-bit interfaces, SPI interface, SSI interfaces) with DSP microprocessors, research within the system is connected from SPI interface mode with DSP microprocessors, realizes the interaction of motion control data.
The EtherCAT communication modules hardware mainly includes the parts such as slave station protocol controller chip ET1100, EEPROM, PHY chip KS8721, network data transformer H1102, network interface RJ45.Most important part is EtherCAT protocol controllers ETl 100 in communication interface modules, it realizes the agreement of the physical layer with data link layer of EtherCAT, two MII interfaces of ET1100 realize the data link layer of EtherCAT agreements on hardware, and the two physical chip KS8721 for extending out realize the physical layer of EPA.Physical layer PHY and network transformer network consisting interface, wherein network transformer are mainly realization isolation and impedance matching.Slave station configuration data and slave station describe data and are stored in EEPROM, and EEPROM passes through I2C modes connect ET1100.
The DSP servo control modules mainly realize that EtherCAT, to the specific control of live task and data feedback, is connected using SPI modes by PDI interfaces with ET1100;DSP is read from station control ET1100 internal storage regions director data, carries out data parsing, realizes servo control, and feedback data is written to from station control internal storage region, and data are transmitted EtherCAT buses by ET1100.
The software control of the slave station DSP mainly includes two parts content:A part is the communication function of system, and DSP carries out serial communication and is connected with ET1100, completes the communication process with host computer;Another part be for the control to servo-drive system and the collection of servo feedback number, and external analog signal input collection.The DSP control programs of design are carried out using interrupt mode.
The effect of the EtherCAT main websites is exactly that to initiate the function of communication, including the communication between main website and slave station, between slave station and slave station, and main website be substantially to be realized by software.In the design system, EtherCAT main websites realize the master function and man-machine interface of EtherCAT systems by configuration software TwinCAT that Beckhoff companies provide using the PCs with two standard ethernet interfaces.TwinCAT softwares are mainly including system administration manager, TwinCAT PLC and CONFIG.SYS etc..Wherein, EtherCAT system configurations are configured by writing XML file, and this document is used for storing EtherCAT system configuration informations, including main website, slave station configuration information, loop command and defeated people output mapping.Operated in by configuring TwinCAT configuration softwares in the computer of WindowsXP environment, realized master function.
The beneficial effects of the invention are as follows:The system provides solution for the transmission problem of servo control system middle-high density real time data, improves the real-time Communication for Power performance of many motor servo systems.The system can be applied to directly on actual apparatus for production line, to improve the performance of production equipment each side, fully demonstrate advantage of the EtherCAT fieldbus in commercial Application.
Brief description of the drawings
Fig. 1 is slave station software program flow chart of the invention.
Fig. 2 is interrupt service routine flow chart of the invention.
Specific embodiment
The invention will be further described with reference to the accompanying drawings and examples.
As shown in Figure 1, Figure 2, control system uses the structure of one master and multiple slaves, main website is using the PC with the Base-TX Ethernet cards of standard 100, slave station is, using the servo control card with EtherCAT network interface of TMS320 F28335 independent researches, Serve Motor Control to be realized using the motion-control module of the F28335 of dsp chip TM 5320.Standard 100BaseT X cable connections are used between main website and slave station, between slave station and slave station.
EtherCAT Distributed Servos kinetic control system is made up of PC main website and some DSP slave stations with EtherCAT interfaces, use master slave mode medium access control (MAC), main website sends the ISO/IEC8802-3 ethernet data frames of standard to each slave station, when data frame is by EtherCAT slave nodes, EtherCAT slave stations identify the order of correlation and make corresponding treatment, and extracted from the sub- message in data frame inside or the related motion control data of insertion, then by the data frame transfer to next EtherCAT slave stations.Last EtherCAT slave station beams back the data frame by processing completely, and sends it to control unit as responsive data frame by first EtherCAT slave station.The characteristics of whole process make use of ethernet device independent process transmitted in both directions (TX and RX), and run in a full-duplex mode, the data frame for sending returns to control unit further through RX lines.EtherCAT has accurately clock system and high precision apparatus synchronization, and using EtherCAT, the data exchange of system is just based entirely on pure hardware mechanisms.
EtherCAT slave stations unit mainly includes EtherCAT communication modules and TMS320F28335 servo control modules.EtherCAT communication modules realize the connection between main website and slave station or between slave station and slave station using standard RJ45 netting twines.According to the Distributed Servo kinetic control system EtherCAT from the demand of station control, 2 network interfaces of EtherCAT Communication Module Designs in this design:One network interface connects host computer or a upper slave station, and another network interface connects next slave station.The PDI Selector selections that EtherCAT communication modules pass through are connected by which kind of interface (8 or 16 parallel-by-bit interfaces, SPI interface, SSI interfaces) with DSP microprocessors, research within the system is connected from SPI interface mode with DSP microprocessors, realizes the interaction of motion control data.
EtherCAT communication modules hardware mainly includes the parts such as slave station protocol controller chip ET1100, EEPROM, PHY chip KS8721, network data transformer H1102, network interface RJ45.Most important part is EtherCAT protocol controllers ETl 100 in communication interface modules, it realizes the agreement of the physical layer with data link layer of EtherCAT, two MII interfaces of ET1100 realize the data link layer of EtherCAT agreements on hardware, and the two physical chip KS8721 for extending out realize the physical layer of EPA.Physical layer PHY and network transformer network consisting interface, wherein network transformer are mainly realization isolation and impedance matching.Slave station configuration data and slave station describe data and are stored in EEPROM, and EEPROM passes through I2C modes connect ET1100.
DSP servo control modules mainly realize that EtherCAT, to the specific control of live task and data feedback, is connected using SPI modes by PDI interfaces with ET1100;DSP is read from station control ET1100 internal storage regions director data, carries out data parsing, realizes servo control, and feedback data is written to from station control internal storage region, and data are transmitted EtherCAT buses by ET1100.
The software control of slave station DSP mainly includes two parts content:A part is the communication function of system, and DSP carries out serial communication and is connected with ET1100, completes the communication process with host computer;Another part be for the control to servo-drive system and the collection of servo feedback number, and external analog signal input collection.The DSP control programs of design are carried out using interrupt mode.
The effect of EtherCAT main websites is exactly that to initiate the function of communication, including the communication between main website and slave station, between slave station and slave station, and main website be substantially to be realized by software.In the design system, EtherCAT main websites realize the master function and man-machine interface of EtherCAT systems by configuration software TwinCAT that Beckhoff companies provide using the PCs with two standard ethernet interfaces.TwinCAT softwares are mainly including system administration manager, TwinCAT PLC and CONFIG.SYS etc..Wherein, EtherCAT system configurations are configured by writing XML file, and this document is used for storing EtherCAT system configuration informations, including main website, slave station configuration information, loop command and defeated people output mapping.Operated in by configuring TwinCAT configuration softwares in the computer of WindowsXP environment, realized master function.

Claims (5)

1. a kind of EtherCAT Distributed Servo kinetic control systems based on DSP, it is characterized in that:The control system uses the structure of one master and multiple slaves, main website is using the PC with the Base-TX Ethernet cards of standard 100, slave station is, using the servo control card with EtherCAT network interface of TMS320 F28335 independent researches, Serve Motor Control to be realized using the motion-control module of the F28335 of dsp chip TM 5320.
2. a kind of EtherCAT Distributed Servo kinetic control systems based on DSP according to claim 1, it is characterized in that:The EtherCAT Distributed Servos kinetic control system is made up of PC main website and some DSP slave stations with EtherCAT interfaces, use master slave mode medium access control (MAC), main website sends the ISO/IEC8802-3 ethernet data frames of standard to each slave station, when data frame is by EtherCAT slave nodes, EtherCAT slave stations identify the order of correlation and make corresponding treatment, and extracted from the sub- message in data frame inside or the related motion control data of insertion, then by the data frame transfer to next EtherCAT slave stations.
3. a kind of EtherCAT Distributed Servo kinetic control systems based on DSP according to claim 1, it is characterized in that:The EtherCAT slave stations unit mainly includes EtherCAT communication modules and TMS320F28335 servo control modules, and EtherCAT communication modules realize the connection between main website and slave station or between slave station and slave station using standard RJ45 netting twines.
4. a kind of EtherCAT Distributed Servo kinetic control systems based on DSP according to claim 1, it is characterized in that:The EtherCAT communication modules hardware mainly includes the parts such as slave station protocol controller chip ET1100, EEPROM, PHY chip KS8721, network data transformer H1102, network interface RJ45.
5. a kind of EtherCAT Distributed Servo kinetic control systems based on DSP according to claim 1, it is characterized in that:The DSP servo control modules mainly realize that EtherCAT, to the specific control of live task and data feedback, is connected using SPI modes by PDI interfaces with ET1100;DSP is read from station control ET1100 internal storage regions director data, carries out data parsing, realizes servo control, and feedback data is written to from station control internal storage region, and data are transmitted EtherCAT buses by ET1100.
CN201510914927.0A 2015-12-13 2015-12-13 A kind of EtherCAT Distributed Servo kinetic control systems based on DSP Pending CN106873541A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510914927.0A CN106873541A (en) 2015-12-13 2015-12-13 A kind of EtherCAT Distributed Servo kinetic control systems based on DSP

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510914927.0A CN106873541A (en) 2015-12-13 2015-12-13 A kind of EtherCAT Distributed Servo kinetic control systems based on DSP

Publications (1)

Publication Number Publication Date
CN106873541A true CN106873541A (en) 2017-06-20

Family

ID=59238094

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510914927.0A Pending CN106873541A (en) 2015-12-13 2015-12-13 A kind of EtherCAT Distributed Servo kinetic control systems based on DSP

Country Status (1)

Country Link
CN (1) CN106873541A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108279630A (en) * 2018-01-29 2018-07-13 深圳市微秒控制技术有限公司 A kind of Distributed Motion Control System and method based on bus
CN108572551A (en) * 2018-04-23 2018-09-25 广东水利电力职业技术学院(广东省水利电力技工学校) A kind of Industrial Embedded Control System based on EtherCAT buses
CN110417762A (en) * 2019-07-18 2019-11-05 广州健飞通信有限公司 A kind of module integrated system with message packaging technique
CN110445767A (en) * 2019-07-18 2019-11-12 广州健飞通信有限公司 A kind of integral module integrated system for supporting various processor
CN111624926A (en) * 2020-06-15 2020-09-04 深圳市优必选科技股份有限公司 Robot controller and robot
CN114089662A (en) * 2021-11-17 2022-02-25 湖南力行动力科技有限公司 Implementation method of novel high-performance electronic shaft transmission control system
CN114102588A (en) * 2021-11-23 2022-03-01 上海景吾智能科技有限公司 EtherCAT-based single controller-double mechanical arm device and control method
WO2022222902A1 (en) * 2021-04-19 2022-10-27 华为技术有限公司 Communication method and related device

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108279630A (en) * 2018-01-29 2018-07-13 深圳市微秒控制技术有限公司 A kind of Distributed Motion Control System and method based on bus
CN108572551A (en) * 2018-04-23 2018-09-25 广东水利电力职业技术学院(广东省水利电力技工学校) A kind of Industrial Embedded Control System based on EtherCAT buses
CN110417762A (en) * 2019-07-18 2019-11-05 广州健飞通信有限公司 A kind of module integrated system with message packaging technique
CN110445767A (en) * 2019-07-18 2019-11-12 广州健飞通信有限公司 A kind of integral module integrated system for supporting various processor
CN110445767B (en) * 2019-07-18 2022-01-28 广州健飞通信有限公司 Integrated module integrated system capable of supporting various processors
CN110417762B (en) * 2019-07-18 2022-01-28 广州健飞通信有限公司 Module integration system with message packaging technology
CN111624926A (en) * 2020-06-15 2020-09-04 深圳市优必选科技股份有限公司 Robot controller and robot
WO2022222902A1 (en) * 2021-04-19 2022-10-27 华为技术有限公司 Communication method and related device
CN114089662A (en) * 2021-11-17 2022-02-25 湖南力行动力科技有限公司 Implementation method of novel high-performance electronic shaft transmission control system
CN114102588A (en) * 2021-11-23 2022-03-01 上海景吾智能科技有限公司 EtherCAT-based single controller-double mechanical arm device and control method

Similar Documents

Publication Publication Date Title
CN106873541A (en) A kind of EtherCAT Distributed Servo kinetic control systems based on DSP
CN104317765B (en) A kind of one-to-many communication system and implementation method based on serial communication
CN104008082A (en) Converter of 1553B bus remote terminal (RT) node and controller area network (CAN) bus
CN102035688B (en) Design method for rapidly controlling network link access
WO2013103509A1 (en) A system and method for transmitting and receiving data using an industrial expansion bus
CN212163361U (en) Two main station controller communication systems
CN109308030A (en) A kind of servo drive control system based on EtherCAT bus
CN209417574U (en) Industrial robot controller data intelligence acquisition system
CN104899170A (en) Distributed intelligent platform management bus (IPMB) connection method and ATCA (Advanced Telecom Computing Architecture) machine frame
CN104635708A (en) OPC UA (Unified Architecture) data acquisition module based on I-MX287 processor
CN105117319A (en) Method for realizing real-time monitoring of multi-channel MDIO (Management Data Input Output) devices based on FPGA
CN104009976A (en) Real-time communication method and equipment used among multiple main station systems
CN110635982A (en) Double-host communication method and system on communication bus, industrial control gateway and storage medium
CN101106504A (en) Distributed communication system for intelligent independent robot based on CAN bus
CN107168045A (en) A kind of communication redundancy control system based on EtherCAT
CN102098196A (en) Data transmission method of blade server
CN211908853U (en) Communication system of production equipment
CN101895560B (en) Fieldbus DP-NET with open two-stage topological structure
CN107127811A (en) Flexible material cutting robot intelligent digital controller and implementation method
CN201601690U (en) Input-output module based on EtherCAT technique
CN206629078U (en) A kind of EtherCAT bus couplers
CN107395478A (en) A kind of network control system and network communication module for high speed cigarette packaging facilities
CN106603188A (en) Frequency converter interface device
CN207882728U (en) A kind of control system
CN111740864A (en) Out-of-band network port switching management method and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20170620