A kind of EtherCAT bus numerical control system interface module
Technical field
The utility model relates to EtherCAT Industrial Ethernet bussing technique and analog quantity main shaft, handwheel unit and general digital input and output digital control system versatile interface field, refers more particularly to a kind of EtherCAT bus numerical control system interface module.
Background technology
The Industrial Ethernet field bus technique has obtained popularizing day by day and promoting as the integrated package of Industry Control, and this is more widely used the control system based on PC.Though particularly IPC (Industry PC) property development is swift and violent for controller CPU, but because the medium access mode that the traditional ethernet field bus technique is adopted---have the Carrier Sense Multiple Access mechanism CSMA/CD of collision detection, it is a kind of media access control mode of uncertainty, in intermittent transmission, sudden long message and few at the node number, under the light situation of load, transmission has good efficient, but increase at the node number, data traffic increases, under the situation that load increases the weight of, its efficient obviously descends, and this also becomes one of restriction control system property development " bottleneck ".At this situation, develop multiple new Industrial Ethernet field bus technique both at home and abroad, wherein comparatively ripe and having of being used widely: EtherCAT, SERCOSIII, POWERLINK, Ethernet/IP, Modbus/TCP, PROFINET.Wherein EtherCAT (Ethernet for Control Automation Technology) advocates " Ethernet control automatic technology ", propose in 2003 by German BECKHOFF Automation Co., Ltd, and become international standard in Dec, 2007, be the 12 kind of communication protocol standard that defines among IEC61158 and the IEC61784.It is a real-time and opening Ethernet communications protocol, adopt the integrated ethernet controller of commercial standard network interface card (NIC) or any mainboard as hardware interface, for new standard is set up in the real-time performance and the topological dirigibility of system, reduced the use cost of fieldbus, effective data rate can reach more than 90%, transfer rate: 2 * 100Mbaud, the full duplex characteristic is used fully, it is the real-time ethernet of through I/O layer, need not hang subsystem down, all devices coexists as on the same bus.The master-slave mode pattern is adopted in EtherCAT medium access (MAC), and main website realizes communication function by software fully, has adopted the software nuclear of Real-Time Scheduling in data link layer, and the autonomous channel of process data transmission is provided, and slave station adopts proprietary hardware chip.EtherCAT is as industrial automation Ethernet solution, with its hypervelocity, general, open, the low-cost favor that realizes having obtained vast industry control manufacturer, there have been a plurality of producers to develop oneself main website product and slave station chip in the world, the exploitation of the domestic product development that also has many families to begin to put forth effort on this technology, particularly slave station.
Main shaft function, handwheel unit and general digital input and output are basic functions of digital control system, are the indispensable slave stations with EtherCAT communication function digital control system.In the general digital control system, usually use analog quantity voltage output control main shaft, use special-purpose interface to receive handwheel unit pulse signal, use a button and a pilot lamp thereof with 40 pin ox horn head interfaces special processing numerical tool operation panel of general digital input and output (16Input/16Output) function.The main shaft of existing support EtherCAT bus on the market, support the handwheel unit receiver module of EtherCAT bus, the general digital input/output module is separate, independence is as a kind of slave station of EtherCAT communication network separately, and supplier all is derived from external producer, and interface standard differs, and costs an arm and a leg, delivery date is long, has seriously restricted EtherCAT in APPLICATION IN CNC SYSTEM.
The utility model content
The purpose of this utility model is in order to overcome above-mentioned defective, provide a kind of simple structure, cheap, wiring simple, the EtherCAT bus numerical control system interface module of highly versatile.
The utility model is realized in the following way:
A kind of EtherCAT bus numerical control system interface module is characterized in that: comprise support body 2, be embedded with the surface-mounted integrated circuit 1 based on the EtherCAT bussing technique in described support body 2 inside;
Described surface-mounted integrated circuit 1 comprises ESC chip 17, first network interface 11, second network interface 12, MCU chip debugging interface 16, analog quantity main shaft interface 19, handwheel unit interface 110, general digital IO interface 112, MCU singlechip chip 111, internal electric source module 18, the external power source input port 15 based on the EtherCAT technology;
Described first network interface 11 is connected with ESC chip 17 based on the EtherCAT technology by the first network interface control chip 13, and second network interface 12 is connected with ESC chip 17 based on the EtherCAT technology by the second network interface control chip 14;
Described ESC chip 17 based on the EtherCAT technology is connected with MCU singlechip chip 111; Described MCU chip debugging interface 16, analog quantity main shaft interface 19, handwheel unit interface 110, general digital IO interface 112 are connected with MCU singlechip chip 111 respectively; Described internal electric source module 18 is connected with ESC chip 17, MCU singlechip chip 111 based on the EtherCAT technology; Described internal electric source module 18 is connected with external power source input port 15; Described external power source input port 15 is located on the surface-mounted integrated circuit 1.
Described analog quantity main shaft interface 19 has 36 pin contacts, and contact links to each other with the zero signal input with analog quantity voltage information, servo enable signal output, direction signal, the output of servo reset signal, the input of servo ready signal, the input of servo alerting signal, the input of both positive and negative polarity limited signal.
Described handwheel unit interface 110 has 26 pin contacts, and contact selects signal, handwheel ratio signals, handwheel pulse A/B phase signals to be connected with 5V voltage signal both positive and negative polarity, emergent stop signal, hand wheel shaft.
Described MCU singlechip chip 111 links to each other with MCU chip debugging interface 16, is used for the reading and writing data and the monitoring of MCU singlechip chip.
Described general digital IO interface 112 is 40 pin ox horn heads; It has sixteen bit digital quantity input point and all input points are same with a common port, and common port can be positive pole according to actual needs and also can be negative pole; Also have sixteen bit digital quantity output point and all output points together with a common port, common port can be positive pole according to actual needs and also can be negative pole.
The utility model is equipped with in described support body 2 based on EtherCAT bussing technique communication function and surface-mounted integrated circuit 1 with analog quantity main shaft interface, handwheel unit interface, three kinds of basic functions of general digital IO interface; Adopt the MCU singlechip technology to finish analog quantity main shaft function, the handwheel reception of impulse, three kinds of basic functions of general digital input and output, and with ESC slave station chip interaction data in time, feed back to host computer by the ESC slave station chip motion control information of will being correlated with, the definition of analog quantity main shaft interface signal is complementary with existing main axle servo or frequency converter, handwheel unit interface and general 5V handwheel are complementary, numeral input and output of 40 pin ox horn heads and existing matrix manipulation panel interface are complementary, and have very strong versatility.
The utility model advantage is simple in structure for being, integrated analog quantity main shaft, handwheel unit, three kinds of basic functions of general digital input and output in one, and interface is simple, and compatible good, hardware cost is low, has very strong versatility.
Description of drawings
Fig. 1 the utility model structural representation;
Fig. 2 the utility model embodiment synoptic diagram.
Embodiment
The utility model specific embodiment now is described in detail in detail in conjunction with the accompanying drawings:
As shown in Figure 1, a kind of EtherCAT bus numerical control system interface module is characterized in that: comprise support body 2, be embedded with the surface-mounted integrated circuit 1 based on the EtherCAT bussing technique in described support body 2 inside;
Described surface-mounted integrated circuit 1 comprises ESC chip 17, first network interface 11, second network interface 12, MCU chip debugging interface 16, analog quantity main shaft interface 19, handwheel unit interface 110, general digital IO interface 112, MCU singlechip chip 111, internal electric source module 18, the external power source input port 15 based on the EtherCAT technology;
Described first network interface 11 is connected with ESC chip 17 based on the EtherCAT technology by the first network interface control chip 13, and second network interface 12 is connected with ESC chip 17 based on the EtherCAT technology by the second network interface control chip 14;
Described ESC chip 17 based on the EtherCAT technology is connected with MCU singlechip chip 111; Described MCU chip debugging interface 16, analog quantity main shaft interface 19, handwheel unit interface 110, general digital IO interface 112 are connected with MCU singlechip chip 111 respectively; Described internal electric source module 18 is connected with ESC chip 17, MCU singlechip chip 111 based on the EtherCAT technology; Described internal electric source module 18 is connected with external power source input port 15; Described external power source input port 15 is located on the surface-mounted integrated circuit 1.
Described analog quantity main shaft interface 19 has 36 pin contacts, and contact links to each other with the zero signal input with analog quantity voltage information, servo enable signal output, direction signal, the output of servo reset signal, the input of servo ready signal, the input of servo alerting signal, the input of both positive and negative polarity limited signal.
Described handwheel unit interface 110 has 26 pin contacts, and contact selects signal, handwheel ratio signals, handwheel pulse A/B phase signals to be connected with 5V voltage signal both positive and negative polarity, emergent stop signal, hand wheel shaft.
Described MCU singlechip chip 111 links to each other with MCU chip debugging interface 16, is used for the reading and writing data and the monitoring of MCU singlechip chip.
Described general digital IO interface 112 is 40 pin ox horn heads; It has sixteen bit digital quantity input point and all input points are same with a common port, and common port can be positive pole according to actual needs and also can be negative pole; Also have sixteen bit digital quantity output point and all output points together with a common port, common port can be positive pole according to actual needs and also can be negative pole.
The utility model embodiment comprises support body 2, is equipped with in described support body 2 based on EtherCAT bussing technique communication function and surface-mounted integrated circuit with analog quantity main shaft interface 19, handwheel unit interface 110,112 3 kinds of basic functions of general digital IO interface; Adopt the MCU singlechip technology to finish analog quantity main shaft function, the handwheel reception of impulse, three kinds of basic functions of general digital input and output, and with ESC slave station chip interaction data in time, feed back to host computer by the ESC slave station chip motion control information of will being correlated with, the definition of analog quantity main shaft interface signal is complementary with existing main axle servo or frequency converter, handwheel unit interface and general 5V handwheel are complementary, numeral input and output of 40 pin ox horn heads and existing matrix manipulation panel interface or deconcentrator module are complementary, and have very strong versatility.
As shown in Figure 2, link to each other by straight through cable 8 with the digital control system 3 of supporting EtherCAT based on the EtherCAT bussing technique communication function and first network interface 11 that has on the surface-mounted integrated circuit 1 of analog quantity main shaft interface 19, handwheel unit interface 110,112 3 kinds of basic functions of general digital IO interface; Link to each other by the multicore signal wire 7 that has shielding with main axle servo driver or frequency converter 4 based on EtherCAT bussing technique communication function and the analog quantity main shaft interface 19 that has on the surface-mounted integrated circuit 1 of analog quantity main shaft interface 19, handwheel unit interface 110,112 3 kinds of basic functions of general digital IO interface, be used for the signal transmission of EtherCAT bus numerical control system interface module and servo-driver, main axle servo driver or frequency converter 4 are connected with spindle motor 5 with scrambler line 6 by the power line of standard configuration; Handwheel unit interface 110 is connected with handwheel 10 by the split conductor 9 that has function of shielding, is used to transmit the handwheel pulse signal; General digital IO interface 112 is connected by 40 faller gill lines 11 with digital control system matrix manipulation panel 12, is used to transmit the button input signal and the pilot lamp output signal of guidance panel.This embodiment has integrated analog quantity main shaft, handwheel unit, three kinds of basic functions of general digital input and output in one, and interface is simple, compatible good, hardware cost is low, has very strong versatility, for the utilization of EtherCAT from stand in automation equipment provides new selection.
During work, after the energising of external power source input port 15, circuit board power supply 16 obtains operating voltage, and for the MCU singlechip chip 111 on the surface-mounted integrated circuit 1, provide operating voltage based on the ESC chip 17 of EtherCAT technology.Digital control system 3 is discerned this module according to the device description file of EtherCAT bus numerical control system interface module and is sent the initialization data frame and sets up the network service connection, and keeps periodic data transmission in real time and mailbox data to send reception.For motion control commands, digital control system main website 3 sends the EtherCAT Frame that includes control command information, when Frame arrives this module, the ESC chip 17 of this module reads the corresponding message information of this module, and with mutual MCU singlechip chip 111 processing of message information, produce corresponding motion control data, the corresponding interface of control produces signal.For the control information feedback, the input signal information of 111 receptions of MCU singlechip chip and management simulation amount main shaft interface 19, handwheel unit interface 110, general digital quantity IO interface 112, and in time mutual ESC chip 17; Last ESC chip 17 is handled the information of acquisition in real time and is inserted the EtherCAT Frame in should the message of module, is transferred to digital control system 3 main websites at last.