CN203287747U - Absolute-type grating control system and control method based on industrial Ethernet bus - Google Patents
Absolute-type grating control system and control method based on industrial Ethernet bus Download PDFInfo
- Publication number
- CN203287747U CN203287747U CN201220739434XU CN201220739434U CN203287747U CN 203287747 U CN203287747 U CN 203287747U CN 201220739434X U CN201220739434X U CN 201220739434XU CN 201220739434 U CN201220739434 U CN 201220739434U CN 203287747 U CN203287747 U CN 203287747U
- Authority
- CN
- China
- Prior art keywords
- grating
- industrial ethernet
- slave station
- control system
- absolute
- 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.)
- Expired - Lifetime
Links
- 238000000034 method Methods 0.000 title description 12
- 238000004891 communication Methods 0.000 claims abstract description 25
- 230000006854 communication Effects 0.000 claims abstract description 23
- 230000009977 dual effect Effects 0.000 claims description 6
- 238000006243 chemical reaction Methods 0.000 claims description 5
- 230000033001 locomotion Effects 0.000 claims description 4
- 238000005516 engineering process Methods 0.000 claims description 3
- 230000006870 function Effects 0.000 abstract description 9
- 230000001629 suppression Effects 0.000 abstract description 3
- 238000010586 diagram Methods 0.000 description 4
- 238000012545 processing Methods 0.000 description 3
- 230000003068 static effect Effects 0.000 description 3
- 230000000737 periodic effect Effects 0.000 description 2
- ATHVAWFAEPLPPQ-VRDBWYNSSA-N 1-stearoyl-2-oleoyl-sn-glycero-3-phosphocholine Chemical compound CCCCCCCCCCCCCCCCCC(=O)OC[C@H](COP([O-])(=O)OCC[N+](C)(C)C)OC(=O)CCCCCCC\C=C/CCCCCCCC ATHVAWFAEPLPPQ-VRDBWYNSSA-N 0.000 description 1
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000001133 acceleration Effects 0.000 description 1
- 230000003321 amplification Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000006073 displacement reaction Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 238000003754 machining Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000003199 nucleic acid amplification method Methods 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Numerical Control (AREA)
Abstract
本实用新型公开了一种基于工业以太网总线的绝对式光栅控制系统,由数控系统主站通过工业以太网总线顺序连接IO单元、数字主轴驱动器、进给轴驱动器和光栅适配器从站PDU等,所述光栅适配器从站PDU连接有X轴直线光栅、Y轴直线光栅、Z轴直线光栅和角度光栅。本实用新型光栅适配器从站可以灵活适配各种光栅设备,能实现更高的通信吞吐量、通信速率及更短的通信周期,伺服系统与光栅设备间能实现直接高速交叉通信,为闭环振动抑制功能的实施提供简洁强大的技术支撑。同时本实用新型闭环控制系统采用环形拓扑,连接简便,从站设备可灵活扩展,闭环控制系统具备多重系统保护功能,保证系统安全有效运行。
The utility model discloses an absolute grating control system based on the industrial Ethernet bus. The master station of the numerical control system is sequentially connected to the IO unit, the digital spindle driver, the feed axis driver and the grating adapter slave station PDU through the industrial Ethernet bus. The grating adapter slave station PDU is connected with an X-axis linear grating, a Y-axis linear grating, a Z-axis linear grating and an angle grating. The grating adapter slave station of the utility model can be flexibly adapted to various grating devices, can realize higher communication throughput, communication rate and shorter communication period, and can realize direct high-speed cross communication between the servo system and the grating device, which is a closed-loop vibration The implementation of the suppression function provides simple and powerful technical support. At the same time, the closed-loop control system of the utility model adopts a ring topology, which is easy to connect, and the slave station equipment can be flexibly expanded. The closed-loop control system has multiple system protection functions to ensure safe and effective operation of the system.
Description
技术领域technical field
本实用新型涉及工业以太网的技术领域,特别涉及一种基于工业以太网总线的绝对式光栅控制系统。The utility model relates to the technical field of industrial Ethernet, in particular to an absolute grating control system based on the industrial Ethernet bus.
背景技术Background technique
由信号正向通路和反馈通路构成闭合回路的自动控制系统,又称反馈控制系统。这是一种自动控制系统,其中包括功率放大和反馈,使输出变量的值响应输入变量的值。数控装置发出指令脉冲后,当指令值送到位置比较电路时,此时若工作台没有移动,即位置反馈信号不变时,指令和反馈差值经放大器放大后使伺服电动机转动,经过齿轮、滚珠丝杠螺母副等传动元件带动机床工作台移动。装在机床工作台上的位置测量元件,测出工作台的实际位移量后,反馈到数控装置的比较器中与指令信号进行比较,并用比较后的差值进行控制。若两者存在差值,经放大器后放大,再控制伺服驱动电动机转动,直至差值为零时,工作台才停止移动。An automatic control system that consists of a signal forward path and a feedback path to form a closed loop, also known as a feedback control system. This is an automatic control system that includes power amplification and feedback so that the value of an output variable responds to the value of an input variable. After the numerical control device sends out the command pulse, when the command value is sent to the position comparison circuit, if the workbench does not move at this time, that is, when the position feedback signal remains unchanged, the difference between the command and the feedback is amplified by the amplifier to make the servo motor rotate. Transmission components such as ball screw nut pairs drive the machine tool table to move. The position measuring element installed on the machine tool workbench measures the actual displacement of the workbench, and feeds it back to the comparator of the numerical control device for comparison with the command signal, and uses the compared difference for control. If there is a difference between the two, it will be amplified by the amplifier, and then the servo drive motor will be controlled to rotate until the difference is zero, and the table will stop moving.
目前的光栅闭环控制主要采用两种方法实现:1.伺服驱动器直接带光栅控制接口;2.采用现场总线通过光栅适配器与光栅连接通信。The current grating closed-loop control mainly adopts two methods: 1. The servo drive directly has a grating control interface; 2. The field bus is used to communicate with the grating through the grating adapter.
方法1主要存在不能灵活适配各种光栅设备的缺点,很难实现多重系统保护功能,并增加伺服驱动的运算负荷;方法2主要存在现场总线通信速率较低,通信数据量小,很难实现伺服系统与光栅设备数据的高速交叉通信的缺点。
实用新型内容Utility model content
本实用新型的目的在于克服现有技术的缺点与不足,提供一种基于工业以太网总线的绝对式光栅控制系统。The purpose of the utility model is to overcome the shortcomings and deficiencies of the prior art, and provide an absolute grating control system based on the industrial Ethernet bus.
为了达到上述目的,本实用新型采用以下技术方案:In order to achieve the above object, the utility model adopts the following technical solutions:
本实用新型基于工业以太网总线的绝对式光栅控制系统,由数控系统通过工业以太网总线与各从站设备环形拓扑连接,从站包括顺序连接的IO单元、数字主轴驱动器、进给轴驱动器和光栅适配器从站PDU,所述光栅适配器从站PDU连接直线光栅和角度光栅。The utility model is an absolute grating control system based on the industrial Ethernet bus, and the numerical control system is connected with each slave station device in a ring topology through the industrial Ethernet bus. The slave station includes sequentially connected IO units, digital spindle drivers, feed axis drivers and The grating adapter slave station PDU, the grating adapter slave station PDU is connected to the linear grating and the angle grating.
优选的,所述光栅适配器从站PDU包括FPGA主芯片,串行存储器EPCS和SDRAM存储器,以太网物理芯片与双网络接口、电源转换以及光栅设备串行接口。Preferably, the grating adapter slave station PDU includes an FPGA master chip, a serial memory EPCS and SDRAM memory, an Ethernet physical chip and dual network interfaces, power conversion, and a grating device serial interface.
优选的,所述FPGA主芯片采用片上系统SOC技术,可灵活配置软硬件系统框架,硬件框架构造包括软核主CPU、与软核主CPU连接的内部RAM、定时器、工业以太网协议接口及光栅通信协议模块,通过内部Avalon总线互连通信;由软核主CPU控制程序,通过光栅通信协议模块及光栅接口与光栅设备实时通信,并通过工业以太网协议接口与主站CNC系统实时交互通信,将光栅设备数据信息实时反馈给主系统。Preferably, the FPGA main chip adopts the system-on-chip SOC technology, which can flexibly configure the software and hardware system framework, and the hardware framework structure includes a soft-core main CPU, an internal RAM connected to the soft-core main CPU, a timer, an industrial Ethernet protocol interface and The grating communication protocol module interconnects and communicates through the internal Avalon bus; the soft-core main CPU controls the program, communicates with the grating device in real time through the grating communication protocol module and the grating interface, and communicates with the master CNC system in real time through the industrial Ethernet protocol interface , Feedback the grating device data information to the main system in real time.
优选的,所述数字主轴驱动器连接主轴电机,所述进给轴驱动器连接进给轴电机,所述IO单元连接输入输出信号,通过工业以太网接口与主系统实时交互数据,有效控制电机的运动和IO信号的正常运行。Preferably, the digital spindle driver is connected to the spindle motor, the feed axis driver is connected to the feed axis motor, and the IO unit is connected to input and output signals, and interacts with the main system through an industrial Ethernet interface to exchange data in real time to effectively control the movement of the motor and normal operation of IO signals.
本实用新型相对于现有技术具有如下的优点及效果:Compared with the prior art, the utility model has the following advantages and effects:
1、光栅适配器从站可以灵活适配各种光栅设备,能实现更高的通信吞吐量、通信速率及更短的通信周期。1. The grating adapter slave station can flexibly adapt to various grating devices, and can achieve higher communication throughput, communication rate and shorter communication cycle.
2、伺服系统与光栅设备间能实现直接高速交叉通信,为闭环振动抑制功能的实施提供简洁强大的技术支撑。2. Direct high-speed cross-communication can be realized between the servo system and the grating device, providing simple and powerful technical support for the implementation of the closed-loop vibration suppression function.
3、闭环控制系统采用环形拓扑,连接简便,从站设备可灵活扩展。3. The closed-loop control system adopts ring topology, which is easy to connect, and the slave station equipment can be flexibly expanded.
4、闭环控制系统具备多重系统保护功能,保证系统安全有效运行。4. The closed-loop control system has multiple system protection functions to ensure the safe and effective operation of the system.
附图说明Description of drawings
图1是本实用新型基于工业以太网总线的系统拓扑连接图;Fig. 1 is the system topology connection diagram based on the industrial Ethernet bus of the utility model;
图2是光栅适配器从站软硬件结构示意图;Fig. 2 is a schematic diagram of the software and hardware structure of the grating adapter slave station;
图3本实用新型双位置环控制方框图;Figure 3 is a block diagram of the dual position loop control of the utility model;
图4光栅适配器(Endat2.2/Feedat2.0)从站控制软件处理流程。Figure 4 grating adapter (Endat2.2/Feedat2.0) slave station control software processing flow.
具体实施方式Detailed ways
下面结合实施例及附图对本实用新型作进一步详细的描述,但本实用新型的实施方式不限于此。The utility model will be further described in detail below in conjunction with the embodiments and accompanying drawings, but the implementation of the utility model is not limited thereto.
实施例Example
如图1、图2所示,本实施例基于工业以太网总线的绝对式光栅控制系统,由数控系统通过工业以太网总线与各从站设备环形拓扑连接,其特征在于,从站包括顺序连接的IO单元、数字主轴驱动器、进给轴驱动器和光栅适配器从站PDU,所述光栅适配器从站PDU连接直线光栅和角度光栅。As shown in Figure 1 and Figure 2, this embodiment is based on the absolute grating control system of the industrial Ethernet bus, and the numerical control system is connected to each slave station device in a ring topology through the industrial Ethernet bus. It is characterized in that the slave stations include sequential connections IO unit, digital spindle driver, feed axis driver and grating adapter slave station PDU, the grating adapter slave station PDU connects linear grating and angle grating.
所述光栅适配器从站PDU包括FPGA主芯片,串行存储器EPCS和SDRAM存储器,以太网物理芯片与双网络接口、电源转换以及光栅设备串行接口。The grating adapter slave station PDU includes FPGA main chip, serial memory EPCS and SDRAM memory, Ethernet physical chip and dual network interface, power conversion and grating device serial interface.
所述FPGA主芯片采用片上系统SOC技术,可灵活配置软硬件系统框架,硬件框架构造包括软核主CPU、与软核主CPU连接的内部RAM、定时器、工业以太网协议接口及光栅通信协议模块,通过内部Avalon总线互连通信;由软核主CPU控制程序,通过光栅通信协议模块及光栅接口与光栅设备实时通信,并通过工业以太网协议接口与主站CNC系统实时交互通信,将光栅设备数据信息实时反馈给主系统。The FPGA main chip adopts the system-on-chip SOC technology, which can flexibly configure the software and hardware system framework. The hardware framework structure includes a soft-core main CPU, an internal RAM connected to the soft-core main CPU, a timer, an industrial Ethernet protocol interface, and a grating communication protocol. The modules are interconnected and communicated through the internal Avalon bus; the soft-core main CPU controls the program, communicates with the grating device in real time through the grating communication protocol module and the grating interface, and communicates with the CNC system of the master station through the industrial Ethernet protocol interface in real time. Equipment data information is fed back to the main system in real time.
所述数字主轴驱动器连接主轴电机,所述进给轴驱动器连接进给轴电机,所述IO单元连接输入输出信号,通过工业以太网接口与主系统实时交互数据,有效控制电机的运动和IO信号的正常运行。The digital spindle driver is connected to the spindle motor, the feed axis driver is connected to the feed axis motor, and the IO unit is connected to the input and output signals, and communicates data with the main system in real time through the industrial Ethernet interface to effectively control the movement of the motor and the IO signal of normal operation.
如图4所示,本实施例基于工业以太网总线的绝对式光栅控制方法,包括如下的关键特性:As shown in Figure 4, the absolute grating control method based on the industrial Ethernet bus in this embodiment includes the following key features:
(1)基于工业以太网总线的CNC系统主站和伺服、数字主轴、IO及光栅适配器从站的环行拓扑连接,系统主站在初始阶段自动识别各从站的类型,并根据各从站类型进行周期通信,具体的连接方式参见图1的工业以太网总线的系统拓扑连接图。(1) The ring topology connection between the CNC system master station and the servo, digital spindle, IO and grating adapter slave stations based on the industrial Ethernet bus. The system master station automatically recognizes the type of each slave station at the initial stage, and Periodic communication is carried out. For the specific connection method, refer to the system topology connection diagram of the industrial Ethernet bus in Figure 1.
(2)每个光栅适配器从站最多连接6个绝对光栅设备,并可通过工业以太网扩展光栅适配器从站,目前已经支持的绝对光栅包括基于Endat2.2的海德汉绝对光栅和基于Feedat2.0的发格绝对光栅,光栅从站硬件设计框架参见图2,光栅适配器从站采用AlteraFPGA提供的Quartus-ii及SOPC Builder开发环境,建立系统硬件工程,具体硬件工程包括:软核CPU、EPCS存储芯片、片上RAM、SDRAM、海德汉厂家提供的Endat2.2协议或发格厂家提供的Feedat2.0协议,及GSK-Link工业以太网协议等,通过Avalon总线相互连接,从而实现基于FPGA的SOC软硬件系统,不改变硬件的情况下,可以灵活支持多种厂家协议的绝对光栅设备。(2) Each grating adapter slave station can connect up to 6 absolute grating devices, and can expand the grating adapter slave station through industrial Ethernet. The absolute gratings currently supported include Heidenhain absolute gratings based on Endat2.2 and Feedat2.0-based absolute gratings Refer to Figure 2 for the hardware design framework of the Fagor absolute grating and grating slave station. The grating adapter slave station adopts the Quartus-ii and SOPC Builder development environment provided by AlteraFPGA to establish a system hardware project. The specific hardware project includes: soft-core CPU, EPCS memory chip , on-chip RAM, SDRAM, Endat2.2 protocol provided by Heidenhain manufacturer or Feedat2.0 protocol provided by Fagor manufacturer, and GSK-Link industrial Ethernet protocol, etc., are connected to each other through Avalon bus to realize FPGA-based SOC software and hardware The system, without changing the hardware, can flexibly support absolute grating devices with protocols from various manufacturers.
(3)绝对光栅从站上电后,软件初始化系统外围设备,设置各光栅设备的通信参数,并自动读取各光栅设备的ID,光栅类型及光栅精度等信息,开启光栅周期数据周期中断通信;并通过GSK-Link工业以太网总线,将各绝对光栅设备的类型等参数发送给CNC系统主站,然后进入正常通信处理流程。(3) After the absolute grating slave station is powered on, the software initializes the peripheral equipment of the system, sets the communication parameters of each grating device, and automatically reads information such as the ID of each grating device, the type of the grating, and the accuracy of the grating, and starts the grating cycle data cycle to interrupt communication ; and through the GSK-Link industrial Ethernet bus, send parameters such as the type of each absolute grating device to the CNC system master station, and then enter the normal communication process.
(4)PDU从站系统周期性的读取各光栅设备的位置数据,并根据(3)中已得到的光栅类型和光栅精度信息,折算为实际的绝对机床位置,并通过工业以太网总线实时反馈给CNC系统。(4) The PDU slave station system periodically reads the position data of each grating device, and converts it into the actual absolute machine tool position according to the grating type and grating accuracy information obtained in (3), and real-time through the industrial Ethernet bus Feedback to the CNC system.
(5)系统周期读取各光栅设备位置数据的同时,也得到光栅的运行状态,当光栅设备异常报警时,也通过工业以太网总线实时反馈给CNC系统,以保证系统的安全运行。(5) While the system periodically reads the position data of each grating device, it also obtains the operating status of the grating. When the grating device alarms abnormally, it also feeds back to the CNC system in real time through the industrial Ethernet bus to ensure the safe operation of the system.
基于工业以太网总线的绝对式光栅控制方法,可实现绝对光栅的系统全闭环控制方法,包括如下的关键特性:The absolute grating control method based on the industrial Ethernet bus can realize the full closed-loop control method of the absolute grating system, including the following key features:
(1)通过工业以太网总线,CNC主系统在初始阶段,将反馈的各光栅设备的绝对位置作为系统机床实际坐标位置;系统正常运行过程中,系统指令位置与周期得到的各光栅设备的绝对反馈位置数据作位置PID闭环处理,计算得到的速度指令控制伺服从站系统的正常运行。(1) Through the industrial Ethernet bus, the CNC main system takes the absolute position of each grating device fed back as the actual coordinate position of the system machine tool at the initial stage; during the normal operation of the system, the absolute position of each grating device obtained from the system command position and cycle Feedback position data is processed by position PID closed-loop, and the calculated speed command controls the normal operation of the servo slave station system.
(2)各光栅轴设备可通过参数选择有效或无效,选择光栅设备无效时,轴控制自动进入半闭环控制,但相应的光栅位置数据可以通过诊断显示处理,从而有利于用户调试光栅设备。(2) Each grating axis device can be enabled or disabled by parameter selection. When the grating device is selected as invalid, the axis control will automatically enter the semi-closed loop control, but the corresponding grating position data can be processed through diagnostic display, which is beneficial for users to debug the grating device.
(3)光栅位置方向也可通过参数设置选择,因此可以保证PID位置闭环的有效运行,可防止由于安装等原因出现PID正反馈的异常情况。(3) The position and direction of the grating can also be selected by parameter setting, so it can ensure the effective operation of the PID position closed loop and prevent the abnormal situation of PID positive feedback due to installation and other reasons.
(4)系统实现双位置环功能,以解决全闭环控制下,对于间隙比较大的机床,在较高速度运行时可能出现机床振动的情况。参见图3,机床移动中获得如同半闭环一样的高控制性能,而在停止时使用光栅检测的高精度定位。(4) The system realizes the dual position loop function to solve the situation that the machine tool may vibrate when it runs at a higher speed for a machine tool with a relatively large gap under full closed-loop control. Referring to Fig. 3, high control performance like a semi-closed loop is obtained while the machine tool is moving, and high-precision positioning using grating detection is used when stopping.
(5)系统提供设置机床零点功能,设置光栅零点时,设置光栅的零点偏置保存在CNC系统的铁电内存中,即使系统断电也不消失。这样周期反馈的光栅位置与零点偏置值之差就是实际的光栅反馈位置。(5) The system provides the function of setting the zero point of the machine tool. When setting the zero point of the grating, the zero point offset of the set grating is stored in the ferroelectric memory of the CNC system, and it will not disappear even if the system is powered off. In this way, the difference between the periodic feedback grating position and the zero offset value is the actual grating feedback position.
(6)为有效保护系统的安全运行,除提供光栅设备报警功能外,因伺服编码器采用绝对式编码器,反馈的绝对光栅尺的坐标与伺服编码器反馈的坐标值的差值超过参数设置的容许范围时,则产生报警,以保证系统运行的安全性。(6) In order to effectively protect the safe operation of the system, in addition to providing the alarm function of the grating device, since the servo encoder adopts an absolute encoder, the difference between the coordinate value of the feedback absolute grating ruler and the coordinate value fed back by the servo encoder exceeds the parameter setting When the allowable range is exceeded, an alarm is generated to ensure the safety of the system operation.
(7)系统具有静态超差和动态超差两种参数,可以起到两方面的作用:a.当系统初始化时,指令的位置值与反馈的光栅绝对位置值在静态超差参数范围内时,系统PID闭环自动调节光栅位置值到指令的位置值,否则系统指令值跟随光栅反馈位置值。b.系统静止时,容许的偏差最大值为静态超差参数值;系统运动时,则容许的偏差最大值自动切换到动态超差参数值,如果系统指令位置值与光栅反馈位置值的偏差值超过容许的偏差最大值时,产生超差报警,对系统起到安全保护作用。(7) The system has two parameters, static tolerance and dynamic tolerance, which can play two roles: a. When the system is initialized, when the position value of the command and the absolute position value of the feedback grating are within the range of the static tolerance parameter , the system PID closed loop automatically adjusts the grating position value to the commanded position value, otherwise the system command value follows the grating feedback position value. b. When the system is stationary, the maximum allowable deviation is the static over-tolerance parameter value; when the system is in motion, the maximum allowable deviation is automatically switched to the dynamic over-tolerance parameter value, if the deviation between the system command position value and the grating feedback position value When the maximum deviation allowed is exceeded, an over-tolerance alarm will be generated to protect the system.
(8)绝对式光栅尺类型主要有两种:直线光栅和角度光栅。直线光栅的反馈值与系统的指令值保持一致,因此可以直接采用PID闭环处理;而角度光栅的反馈值总是在0至360度内变化,但指令坐标值则可能与它不一致,因此不能直接采用PID闭环处理,还需要对反馈光栅坐标值作相应的匹配换算处理。换算的方法:由系统指令坐标得到多循环值,由多循环值乘以360度,再加上光栅反馈坐标值即为换算后的机床反馈坐标值,此时可进行PID全闭环或双位置环的运算。还需要注意的是,反馈的光栅坐标值可能在0度和360度的小区间内跳变,此时得到的机床反馈坐标值可能与指令坐标值存在360度的计算差值,因此需要考虑这个因素后的值才是实际的机床反馈坐标值。(8) There are two main types of absolute grating rulers: linear grating and angle grating. The feedback value of the linear grating is consistent with the command value of the system, so PID closed-loop processing can be directly used; while the feedback value of the angle grating always changes within 0 to 360 degrees, but the command coordinate value may be inconsistent with it, so it cannot be directly processed. With PID closed-loop processing, it is also necessary to perform corresponding matching and conversion processing on the feedback grating coordinate values. Conversion method: get the multi-cycle value from the system command coordinates, multiply the multi-cycle value by 360 degrees, and add the coordinate value of the grating feedback to get the converted machine tool feedback coordinate value. At this time, PID full closed loop or double position loop can be performed. operation. It should also be noted that the feedback coordinate value of the raster may jump between 0 degrees and 360 degrees. At this time, the obtained machine tool feedback coordinate value may have a calculation difference of 360 degrees from the command coordinate value, so this needs to be considered The value after the factor is the actual machine tool feedback coordinate value.
(9)CNC系统与绝对光栅从站之间的通信协议通过双向握手翻转信号加以保护,即CNC系统的指令控制字和光栅从站的反馈控制字每次翻转握手,使每次的正常通信数据都具有翻转握手信号,进一步保证系统通信的数据正确性。(9) The communication protocol between the CNC system and the absolute grating slave station is protected by a two-way handshake flip signal, that is, the command control word of the CNC system and the feedback control word of the grating slave station flip handshake each time, so that each normal communication data Both have flip handshake signals to further ensure the data correctness of system communication.
(10)对于(8)所述的角度光栅,在旋转轴一直往相同的方向运动的情况下,为了保证系统的运算精度以及防止数据溢出的问题,系统需采用双精度浮点PID闭环运算。为此采用FPGA的硬件实现闭环位控功能,可大大减轻系统负荷,并得到更短的闭环控制周期与系统实时通信周期,从而确保闭环控制的有效运行。(10) For the angle grating described in (8), in the case where the rotation axis is always moving in the same direction, in order to ensure the calculation accuracy of the system and prevent the problem of data overflow, the system needs to adopt double-precision floating-point PID closed-loop operation. For this purpose, FPGA hardware is used to realize the closed-loop position control function, which can greatly reduce the system load, and obtain a shorter closed-loop control cycle and system real-time communication cycle, thereby ensuring the effective operation of the closed-loop control.
(11)光栅振动抑制是全闭环光栅控制中需要重点解决的问题。由于采用(4)中提到的双位置环控制方法会带来加工过程中的精度损失,因此必须采用全闭环控制,但由于机床在加减速控制等情况下,伺服电机与机械之间会发生扭转变形,有时会产生速度差而导致机床振动,因此需要将光栅设备反馈的速度(即机床速度)通过总线交叉通信实时反馈给伺服系统,根据伺服电机和机械速度的差值作为电流(力矩)控制的考量因素,可以避免机床的振动。(11) Grating vibration suppression is a problem that needs to be solved in the fully closed-loop grating control. Since the dual position loop control method mentioned in (4) will result in loss of precision in the machining process, full closed loop control must be used. However, due to the acceleration and deceleration control of the machine tool, there will be a Torsional deformation sometimes produces speed difference and causes vibration of the machine tool. Therefore, the speed fed back by the grating device (that is, the speed of the machine tool) needs to be fed back to the servo system in real time through the bus cross-communication. The difference between the servo motor and the mechanical speed is used as the current (torque) Control considerations to avoid machine tool vibrations.
上述实施例为本实用新型较佳的实施方式,但本实用新型的实施方式并不受上述实施例的限制,其他的任何未背离本实用新型的精神实质与原理下所作的改变、修饰、替代、组合、简化,均应为等效的置换方式,都包含在本实用新型的保护范围之内。The above-mentioned embodiment is a preferred implementation mode of the present utility model, but the implementation mode of the present utility model is not limited by the above-mentioned embodiment, and any other changes, modifications and substitutions made without departing from the spirit and principle of the present utility model , combination, and simplification, all should be equivalent replacement methods, and are all included in the protection scope of the present utility model.
Claims (4)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201220739434XU CN203287747U (en) | 2012-12-28 | 2012-12-28 | Absolute-type grating control system and control method based on industrial Ethernet bus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201220739434XU CN203287747U (en) | 2012-12-28 | 2012-12-28 | Absolute-type grating control system and control method based on industrial Ethernet bus |
Publications (1)
Publication Number | Publication Date |
---|---|
CN203287747U true CN203287747U (en) | 2013-11-13 |
Family
ID=49544103
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201220739434XU Expired - Lifetime CN203287747U (en) | 2012-12-28 | 2012-12-28 | Absolute-type grating control system and control method based on industrial Ethernet bus |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN203287747U (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103076780A (en) * | 2012-12-28 | 2013-05-01 | 广州数控设备有限公司 | Absolute-type grating control system and control method based on industrial Ethernet bus |
CN104898552A (en) * | 2015-03-30 | 2015-09-09 | 成都颉隆科技有限公司 | Closed-Loop machine tool control system based on precise positioning |
CN114285347A (en) * | 2021-12-30 | 2022-04-05 | 西安大医集团股份有限公司 | Closed-loop control method for treatment couch, control device, and storage medium |
-
2012
- 2012-12-28 CN CN201220739434XU patent/CN203287747U/en not_active Expired - Lifetime
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103076780A (en) * | 2012-12-28 | 2013-05-01 | 广州数控设备有限公司 | Absolute-type grating control system and control method based on industrial Ethernet bus |
CN103076780B (en) * | 2012-12-28 | 2015-05-06 | 广州数控设备有限公司 | Control method based on industrial Ethernet bus |
CN104898552A (en) * | 2015-03-30 | 2015-09-09 | 成都颉隆科技有限公司 | Closed-Loop machine tool control system based on precise positioning |
CN114285347A (en) * | 2021-12-30 | 2022-04-05 | 西安大医集团股份有限公司 | Closed-loop control method for treatment couch, control device, and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103076780B (en) | Control method based on industrial Ethernet bus | |
CN105680735B (en) | Four axis servomotor motion control cards and method based on arm processor | |
CN102075125B (en) | Method for controlling multi-axis linkage servo control systems of numerical control (NC) machine tools | |
CN102830641B (en) | Three-axis full-automatic high-speed dispensing robot servo control system | |
CN104133400B (en) | Rotary grinder embedded controller based on digital bus | |
CN101984376A (en) | Fault simulation device of numerical control machine | |
CN204308953U (en) | A kind of special motion controller hardware platform for six-degree-of-freedom parallel robot | |
CN203287747U (en) | Absolute-type grating control system and control method based on industrial Ethernet bus | |
CN201726352U (en) | Double-screw machine tool synchronous driving device | |
CN102289217B (en) | Modular reconfigurable motion control system with axle as unit | |
CN103838184A (en) | Motion control system of chip mounter | |
CN203275955U (en) | Motion control system of chip mounter | |
CN105278447A (en) | Open type five-axis numerical control system | |
CN202088035U (en) | Scale division high-speed drilling and milling device of turning machine | |
CN204065733U (en) | A kind of rotating disk knife sharpener embedded controller based on number bus | |
CN104460513A (en) | Volume error compensation device for two-turntable five-axis machine tool | |
CN102830645A (en) | Uniaxial full-automatic high-speed dispensing robot servo control system | |
CN110580005B (en) | Motion control system suitable for extreme application conditions | |
CN112290856A (en) | BeagleBone-Black-based motor motion controller | |
CN204748631U (en) | Embedded light -duty arm control system based on RS485 bus | |
CN204695081U (en) | A kind of modular reconfigurable motion controller architecture based on SERCOS | |
CN201107641Y (en) | Full digital numerical control system | |
CN201654533U (en) | Ethernet multi-axis positioning control module of programmable logic controller | |
CN202837918U (en) | Three-axis full-automatic high speed adhesive dispensing robot servo control system | |
CN207656204U (en) | A kind of teaching machine electricity press pack modules of process control |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CX01 | Expiry of patent term |
Granted publication date: 20131113 |
|
CX01 | Expiry of patent term |