CN105759718A - Numerically-controlled machine tool thermal error on-line compensation method and system - Google Patents

Numerically-controlled machine tool thermal error on-line compensation method and system Download PDF

Info

Publication number
CN105759718A
CN105759718A CN201610159196.8A CN201610159196A CN105759718A CN 105759718 A CN105759718 A CN 105759718A CN 201610159196 A CN201610159196 A CN 201610159196A CN 105759718 A CN105759718 A CN 105759718A
Authority
CN
China
Prior art keywords
machine tool
numerical control
data
thermal error
digit control
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.)
Granted
Application number
CN201610159196.8A
Other languages
Chinese (zh)
Other versions
CN105759718B (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.)
University of Electronic Science and Technology of China
Original Assignee
University of Electronic Science and Technology of China
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 University of Electronic Science and Technology of China filed Critical University of Electronic Science and Technology of China
Priority to CN201610159196.8A priority Critical patent/CN105759718B/en
Publication of CN105759718A publication Critical patent/CN105759718A/en
Application granted granted Critical
Publication of CN105759718B publication Critical patent/CN105759718B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

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/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
    • G05B19/404Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by control arrangements for compensation, e.g. for backlash, overshoot, tool offset, tool wear, temperature, machine construction errors, load, inertia
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/37Measurements
    • G05B2219/37211Measure temperature, compensate cmm program for temperature

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Manufacturing & Machinery (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Automatic Control Of Machine Tools (AREA)
  • Numerical Control (AREA)

Abstract

The present invention discloses a numerically-controlled machine tool thermal error on-line compensation method and system. The numerically-controlled machine tool thermal error on-line compensation method comprises the steps of: acquiring key measuring point temperature data of a numerically-controlled machine tool; calculating a theoretical thermal error value of the numerically-controlled machine tool according to a multiple linear regression thermal error model; calculating a compensation value and judging whether the compensation value meets a set upper-lower limit range of a compensation threshold value. According to the numerically-controlled machine tool thermal error on-line compensation method, the multiple linear regression thermal error model is built and is used as a thermal error on-line compensation subunit of the numerically-controlled machine tool to be embedded into a human-computer interaction interface of a panel control unit, and an external compensator is not needed, thereby greatly improving universality of the system; at the same time, a fuzzy clustering analysis method and a multiple linear regression theory are used to calculate the compensation value of the numerically-controlled machine tool, and an external coordinate transformation mode is adopted for performing on-line compensation, thus convenient operation and good real-time performance are achieved.

Description

Numerical control machining tool heat error online compensation method and system
Technical field
The invention belongs to NC Machine Error compensation technique field, particularly relate to a kind of numerical control machining tool heat error online compensation method and system.
Background technology
Along with the development of science and technology, Machine Manufacturing Technology is to developing at a high speed, in high precision with intelligentized direction, and machining is proposed higher requirement by this.Along with the extensive use of the fast development of process of manufacture automaticity and precision processing technology, the precision of Digit Control Machine Tool and machining center is had higher requirement.In every error source of lathe, machine finish is produced large effect by geometric error and thermal deformation errors, is the principal element affecting machine finish.Big quantity research shows, thermal deformation errors accounts for the 40%~70% of lathe total error, and along with the raising of machine finish, thermal deformation errors proportion also can improve accordingly, therefore effectively controlling and reducing thermal deformation of machine tool error is improve the important method of Digit Control Machine Tool machining accuracy.
The method reducing thermal deformation of machine tool error mainly has two kinds, and one is error prevention, and another kind is error compensation.Due to error prevention need the design to lathe, material selected on improve, relatively costly, so being generally adopted the method for error compensation to reduce thermal deformation of machine tool error.
The digital control system of main flow is Siemens and Fa Nake digital control system in the market, and Fa Nake digital control system, due to the restriction of interface development, compensates exploitation for its PLC mostly.And the secondary development that CNC System from Siemens is man machine interface provides approach.Through the retrieval of prior art is found, it is common to there are the following problems: 1) needing external compensator and personal computer to assist just to complete compensation of error, hardware cost is big, and implementation process is complex.2) based on the compensation method of man machine interface secondary development, utilize Siemens to carry temperature compensation module to implement to compensate, but man machine interface secondary development have employed the charge kit that Siemens provides, the dependence of Siemens is bigger, Siemens carries temperature compensation module simultaneously is that charge selects die-filling piece, not all CNC System from Siemens, all with temperature compensation module, does not have versatility.
Summary of the invention
The goal of the invention of the present invention is: in order to solve to exist in prior art problem above, the numerical control machining tool heat error online compensation method and system that the present invention proposes a kind of simple operation, real-time, versatility is good.
The technical scheme is that a kind of numerical control machining tool heat error online compensation method, comprise the following steps:
A, collection Digit Control Machine Tool key measuring point temperature data;
B, by step A gather crucial measuring point temperature data be input to multiple linear regression Thermal Error model fall into a trap calculation Digit Control Machine Tool theory Thermal Error value, the construction method of described multiple linear regression Thermal Error model include following step by step:
The Thermal Error data of each kinematic axis under B1, collection Digit Control Machine Tool key measuring point temperature data and corresponding temperature, adopt Fuzzy Cluster Analysis method to be grouped by all temperature datas gathered, and the temperature data that selection correlation coefficient is maximum in each group is as the temperature sensitive point data of this group;
B2, theoretical according to multiple linear regression, the temperature sensitive point data gathered in integrating step B1 and Thermal Error data, set up multiple linear regression Thermal Error model;
C, setting compensation threshold value bound scope, calculate Digit Control Machine Tool offset according to theoretical Thermal Error value calculated in step B, and judge whether Digit Control Machine Tool offset meets compensation threshold value bound scope;If Digit Control Machine Tool offset is unsatisfactory for compensating threshold value bound scope, then return step A;If Digit Control Machine Tool offset meets compensates threshold value bound scope, then utilize OPC communication protocol that Digit Control Machine Tool offset is write plc data block address, it is achieved numerical control machining tool heat error online compensation.
Further, also include utilizing OPC communication protocol to access numerically-controlled machine tool system server, read and preserve Digit Control Machine Tool status data.
Further, the multiple linear regression Thermal Error model set up in described step B is embodied as:
Δ K=a0+a1×ΔT1+a2×ΔT2+a3×ΔT3+a4×ΔT4+...+am×ΔTm
Wherein, Δ K is the Thermal Error of each kinematic axis, a0,a1,a2,a3,a4...amAll for by the calculated model coefficient of Thermal Error data of each kinematic axis, Δ T under the Digit Control Machine Tool key measuring point temperature data gathered in step B1 and corresponding temperature1,ΔT2,ΔT3,ΔT4...ΔTmBeing the temperature variation of temperature sensitive point, m is design temperature sensitive spot number.
Further, the temperature variation of described temperature sensitive point is specially the Digit Control Machine Tool key measuring point temperature data that online acquisition obtains and deducts initial temperature.
Further, described according to theoretical Thermal Error value calculated in step B calculate Digit Control Machine Tool offset computing formula particularly as follows:
Δ K '=Δ Kn-ΔKn-1
Wherein, Δ K ' is Digit Control Machine Tool offset, Δ KnAccording to the calculated theoretical Thermal Error value of multiple linear regression Thermal Error model, Δ K when reaching to compensate threshold value bound scope for n-th0=0.
The invention allows for a kind of numerical control machining tool heat error online compensation system, including:
Data acquisition module, including temperature sensor and the data collecting card that is connected with temperature sensor;Described temperature sensor is used for gathering Digit Control Machine Tool key measuring point temperature data, and by connected data collecting card by temperature data transmission to numerical control subsystem;
Numerical control subsystem, including the panel control unit being sequentially connected with, PLC unit and numerical control unit;Described panel control unit is embedded with numerical control machining tool heat error online compensation subelement, calculates Digit Control Machine Tool offset for running numerical tool operation system the crucial measuring point temperature data according to data collecting module collected;Described PLC unit is for being written to data block address for panel control unit by Digit Control Machine Tool offset;Described numerical control unit, for Digit Control Machine Tool offset writing its outside zero offset variable for PLC unit, performs numerical control machining tool heat error online compensation;
Described data acquisition module carries out data communication by serial ports and numerical control subsystem.
Further, described data acquisition module also includes displacement transducer, and institute's displacement sensors is for gathering the Thermal Error data of each kinematic axis under Digit Control Machine Tool key measuring point corresponding temperature and transmitting to numerical control subsystem.
Further, also include numerically-controlled machine tool system server, for storing variable and the file of panel control unit, PLC unit and numerical control unit;Described numerical control subsystem adopts OPC communication protocol and numerically-controlled machine tool system server to carry out data communication, realizes numerical control conditions of machine tool is carried out monitor in real time by accessing numerically-controlled machine tool system server.
Further, personal computer and the USB adapter being connected respectively are also included with personal computer and numerical control subsystem;Described personal computer is provided with PLC programming module, and it is for modifying to the PLC unit of numerical control subsystem;Described USB adapter is used for realizing personal computer and carries out data communication with numerical control subsystem.
Further, PLC unit is modified and is specially interpolation FB3 subelement and FB4 subelement by described personal computer;Described FB3 subelement is for being written to, by the Digit Control Machine Tool offset of the data block address of PLC unit, the outside zero offset variable that numerical control unit is corresponding;Described FB4 subelement, for activating the Digit Control Machine Tool offset of the outside zero offset variable of numerical control unit, performs exterior coordinate and has converted numerical control machining tool heat error online compensation.
The invention has the beneficial effects as follows: the present invention is by building multiple linear regression Thermal Error model, and adopt C# language to be programmed design, numerical control machining tool heat error online compensation subelement is it can be used as to be embedded in the human-computer interaction interface of panel control unit, without external compensator, greatly improve the versatility of system;Meanwhile, utilize Fuzzy Cluster Analysis method and multiple linear regression Theoretical Calculation Digit Control Machine Tool offset, and adopt exterior coordinate mapping mode to perform online compensation, simple operation, real-time;In addition, also adopt OPC communication protocol dynamic access Digit Control Machine Tool server, realize numerical control conditions of machine tool is carried out monitor in real time, and utilize numerical control machining tool heat error online compensation subelement to show in real time, provide means convenient, cheap, reliable for Digit Control Machine Tool online compensation.
Accompanying drawing explanation
Fig. 1 is the numerical control machining tool heat error online compensation method flow schematic diagram of the present invention.
Fig. 2 is the numerical control machining tool heat error online compensation system structure schematic diagram of the present invention.
Detailed description of the invention
In order to make the purpose of the present invention, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein is only in order to explain the present invention, is not intended to limit the present invention.
As it is shown in figure 1, be the numerical control machining tool heat error online compensation method flow schematic diagram of the present invention.A kind of numerical control machining tool heat error online compensation method, comprises the following steps:
A, collection Digit Control Machine Tool key measuring point temperature data;
B, by step A gather crucial measuring point temperature data be input to multiple linear regression Thermal Error model fall into a trap calculation Digit Control Machine Tool theory Thermal Error value, the construction method of described multiple linear regression Thermal Error model include following step by step:
The Thermal Error data of each kinematic axis under B1, collection Digit Control Machine Tool key measuring point temperature data and corresponding temperature, adopt Fuzzy Cluster Analysis method to be grouped by all temperature datas gathered, and the temperature data that selection correlation coefficient is maximum in each group is as the temperature sensitive point data of this group;
B2, theoretical according to multiple linear regression, the temperature sensitive point data gathered in integrating step B1 and Thermal Error data, set up multiple linear regression Thermal Error model;
C, setting compensation threshold value bound scope, calculate Digit Control Machine Tool offset according to theoretical Thermal Error value calculated in step B, and judge whether Digit Control Machine Tool offset meets compensation threshold value bound scope;If Digit Control Machine Tool offset is unsatisfactory for compensating threshold value bound scope, then return step A;If Digit Control Machine Tool offset meets compensates threshold value bound scope, then utilize OPC communication protocol that Digit Control Machine Tool offset is write plc data block address, it is achieved numerical control machining tool heat error online compensation.
In step, the present invention utilizes the multiple temperature sensors being arranged on the multiple crucial measuring point of Digit Control Machine Tool to gather each crucial measuring point temperature data.
In stepb, in order to be digitally controlled lathe theory Thermal Error value according to the temperature data gathered in step A, the present invention utilizes the method setting up multiple linear regression Thermal Error model, X is calculated respectively by being input in multiple linear regression Thermal Error model by the crucial measuring point temperature data gathered in step A, the theoretical Thermal Error value of tri-kinematic axiss of Y, Z.
In order to realize the accurate calculating to Digit Control Machine Tool theory Thermal Error value, the invention allows for the construction method of a kind of multiple linear regression Thermal Error model, specifically include following step by step:
The Thermal Error data of each kinematic axis under B1, collection Digit Control Machine Tool key measuring point temperature data and corresponding temperature, adopt Fuzzy Cluster Analysis method to be grouped by all temperature datas gathered, and the temperature data that selection correlation coefficient is maximum in each group is as the temperature sensitive point data of this group;
B2, theoretical according to multiple linear regression, the temperature sensitive point data gathered in integrating step B1 and Thermal Error data, set up multiple linear regression Thermal Error model.
In step bl is determined., the present invention utilizes the temperature sensor being arranged on Digit Control Machine Tool key measuring point to gather each crucial measuring point temperature data, and utilizes the Thermal Error data of displacement transducer collection each kinematic axis at various temperatures being arranged on Digit Control Machine Tool kinematic axis;Fuzzy Cluster Analysis method is adopted to be grouped by all temperature datas collected again, and the temperature data that selection correlation coefficient is maximum in each group of temperature data is as the temperature sensitive point data of this packet, all data being carried out here is grouped and calculates in each group the method for the correlation coefficient of data and be the known general knowledge of those skilled in the art, and the present invention does not repeat.
In step B2, using the kinematic axis Thermal Error data under the temperature sensitive point data obtained in step B1 and corresponding temperature as variable, application multiple linear regression is theoretical, sets up multiple linear regression Thermal Error model.The multiple linear regression Thermal Error model robustness set up is relatively strong, and amount of calculation is less, and its mathematical model is embodied as:
Δ K=a0+a1×ΔT1+a2×ΔT2+a3×ΔT3+a4×ΔT4+...+am×ΔTm
Wherein, Δ K is the Thermal Error of each kinematic axis, a0,a1,a2,a3,a4...amAll for by the calculated model coefficient of Thermal Error data of each kinematic axis, Δ T under the Digit Control Machine Tool key measuring point temperature data gathered in step B1 and corresponding temperature1,ΔT2,ΔT3,ΔT4...ΔTmBeing the temperature variation of temperature sensitive point, m is design temperature sensitive spot number.Such as, the quantity of design temperature sensitive spot of the present invention is 4, is divided into 4 groups by all temperature datas, and filters out the correlation coefficient maximum temperature data temperature sensitive point data as this packet from each group, thus obtaining 4 temperature sensitive point data.The temperature variation of temperature sensitive point here is specially the Digit Control Machine Tool key measuring point temperature data that online acquisition obtains and deducts initial temperature.The present invention, using arbitrary kinematic axis Thermal Error data at a certain temperature as one group of variable, being formed according to Thermal Error data corresponding under different temperatures and organizes variable more, can obtaining model coefficient, thus setting up multiple linear regression Thermal Error model.
In order to improve versatility and the convenience of numerical control machining tool heat error online compensation, the present invention utilizes third party software Visualstudio that human-computer interaction interface is carried out secondary development, C# language is adopted to be programmed design on the multiple linear regression Thermal Error model of foundation, and be embedded in the human-computer interaction interface of Digit Control Machine Tool, thus eliminate the dependence that Digit Control Machine Tool is carried compensating module.And, OPC communication protocol and serial communication protocol are also converted to C# language and are together programmed design with multiple linear regression Thermal Error model by the present invention, realization receives the temperature data and Thermal Error data that gather on the one hand, realizes Digit Control Machine Tool parameter on the other hand and reads the write with offset.
In step C, the present invention needs setting compensation threshold value bound scope, here compensation threshold value bound scope is comprehensively determined according to Digit Control Machine Tool self machining accuracy and thermal deformation errors size, because thermal deformation is gradual amount, need not compensate in real time, digital control system can be alleviated because frequently executing the operation burden compensated and produce, it is prevented that because temperature is disturbed the generation causing larger fluctuation to cause relatively large compensation value simultaneously.
The present invention calculates Digit Control Machine Tool offset according to theoretical Thermal Error value calculated in step B, computing formula particularly as follows:
Δ K '=Δ Kn-ΔKn-1
Wherein, Δ K ' is Digit Control Machine Tool offset, Δ KnAccording to the calculated theoretical Thermal Error value of multiple linear regression Thermal Error model, Δ K when reaching to compensate threshold value bound scope for n-th0=0.Namely obtain theoretical Thermal Error value according to the calculating of multiple linear regression Thermal Error model for the first time and be Digit Control Machine Tool offset;Second time calculate according to multiple linear regression Thermal Error model need after obtaining theoretical Thermal Error value to deduct last meet compensate threshold value bound scope according to the calculated theoretical Thermal Error value of multiple linear regression Thermal Error model, calculated work difference result is Digit Control Machine Tool offset;By that analogy.
By setting compensation threshold value bound scope, the present invention judges whether calculated Digit Control Machine Tool offset meets and compensates threshold value bound scope;If Digit Control Machine Tool offset is unsatisfactory for compensating threshold value bound scope, then do not compensate, return step A, Resurvey Digit Control Machine Tool key measuring point temperature data;If Digit Control Machine Tool offset meets compensates threshold value bound scope, then utilize OPC communication protocol that the Digit Control Machine Tool offset of satisfied compensation threshold value bound scope is write the data block address of PLC unit, the outside zero offset variable of numerical control unit it is assigned to, it is achieved numerical control machining tool heat error online compensation again through PLC unit.
Utilize OPC communication protocol that offset writes plc data block address, realize numerical control machining tool heat error online compensation to be specially and utilize OPC communication protocol that the offset of calculated Digit Control Machine Tool kinematic axis is written to the data block address of the PLC unit corresponding with kinematic axis, recall the outside zero offset variable that the offset in data block address is written in numerical control unit corresponding kinematic axis by the FB3 subelement of PLC unit in real time, the FB4 subelement simultaneously calling PLC unit activates these offsets, performs exterior coordinate and has converted online compensation.
So that the numerical control machining tool heat error online compensation method of the present invention is clearly, the invention allows for a kind of numerical control machining tool heat error online compensation system applying numerical control machining tool heat error online compensation method on Siemens's 840D Digit Control Machine Tool.As in figure 2 it is shown, be the numerical control machining tool heat error online compensation system structure schematic diagram of the present invention, including:
Data acquisition module, including temperature sensor and the data collecting card that is connected with temperature sensor;Described temperature sensor is used for gathering Digit Control Machine Tool key measuring point temperature data, and by connected data collecting card by temperature data transmission to numerical control subsystem;
Numerical control subsystem, including the panel control unit being sequentially connected with, PLC unit and numerical control unit;Described panel control unit is embedded with numerical control machining tool heat error online compensation subelement, calculates Digit Control Machine Tool offset for running numerical tool operation system the crucial measuring point temperature data according to data collecting module collected;Described PLC unit is for being written to data block address for panel control unit by Digit Control Machine Tool offset;Described numerical control unit, for Digit Control Machine Tool offset being written to its outside zero offset variable for PLC unit, performs numerical control machining tool heat error online compensation;
Described data acquisition module carries out data communication by serial ports and numerical control subsystem.
In the data acquisition module of the present invention, temperature sensor adopts platinum resistance PT-100, range is-50 DEG C-150 DEG C, measurement error is ± 0.2 DEG C, it is arranged on the crucial point position of Digit Control Machine Tool, signal output part is connected with data collecting card such that it is able to the more accurate temperature data gathering crucial measuring point;Data collecting card adopts based on the STM32 12 channel data capture cards developed, effective resolution is up to 12, there is conditioning filter preprocessing function, support serial data host-host protocol, it is connected with the panel control unit of Siemens 840D Digit Control Machine Tool by serial ports, thus the temperature data by temperature sensor collection transmits to panel control unit.
Data acquisition module also includes displacement transducer, and institute's displacement sensors is for gathering the Thermal Error data of each kinematic axis under Digit Control Machine Tool key measuring point corresponding temperature and transmitting to numerical control subsystem.Displacement transducer adopts OD900 eddy current displacement sensor, range ability 0.80mm-2.80mm, normal sensibility 5V/mm, nonlinearity 0.20%, sensitivity variations 0.10%, it is arranged on Digit Control Machine Tool kinematic axis position, it is achieved the Thermal Error data of numerical control machine tool motion axle are accurately measured.
In the numerical control subsystem of the present invention, panel control unit is the computer with Ethernet interface, serial ports, parallel port, USB interface, mouse interface, QWERTY keyboard and hard disk that Siemens's 840D Digit Control Machine Tool carries, operating system is English Windows XP, and is provided with digital control system operation interface software HMIAdvanced;Human-computer interaction interface is carried out secondary development by the present invention, C# language is adopted to be programmed design multiple linear regression Thermal Error model, OPC communication protocol and serial communication protocol, the human-computer interaction interface of panel control unit it is embedded into, thus realizing the online offset calculating Digit Control Machine Tool in real time as numerical control machining tool heat error online compensation subelement;Numerical control machining tool heat error online compensation subelement is additionally provided with input window, it is possible to the variation coefficient of multiple linear regression Thermal Error model is configured, thus the convenient amendment to multiple linear regression Thermal Error model.In order to convenient, numerical control machining tool heat error online compensation subelement is controlled, the present invention arranges the control knob startup button as numerical control machining tool heat error online compensation subelement of panel control unit, it is achieved the seamless fusion of numerical control machining tool heat error online compensation subelement and panel control unit.
In order to numerical control conditions of machine tool is carried out monitor in real time, present invention additionally comprises numerically-controlled machine tool system server, for storing variable and the file of panel control unit, PLC unit and numerical control unit;Numerical control subsystem adopts OPC communication protocol and numerically-controlled machine tool system server to carry out data communication, realizes numerical control conditions of machine tool is carried out monitor in real time by accessing numerically-controlled machine tool system server.
Present invention additionally comprises personal computer and the USB adapter being connected respectively with personal computer and PLC unit;Described personal computer is provided with PLC programming module, and it is for modifying to PLC unit;Described USB adapter is used for realizing personal computer and carries out data communication with PLC unit.Here personal computer refers to the notebook computer being provided with PLC programming software STEP7V5.5, utilizes STEP7 software to realize the amendment to PLC unit by Siemens's USB adapter.PLC unit is modified and is specially interpolation FB3 subelement and FB4 subelement by personal computer;FB3 subelement refers to the logical block with memory block that Siemens CNC lathe provides, it act as writes NC variable, variable can be write in NCK region by PLC unit, be written to, by the Digit Control Machine Tool offset of the data block address of PLC unit, the outside zero offset variable that numerical control unit is corresponding;FB4 subelement for starting a program task service in NCK region, here it is used for starting exterior coordinate mapping function, activate the Digit Control Machine Tool offset that FB3 subelement is written to the outside zero offset variable of numerical control unit, perform exterior coordinate and converted numerical control machining tool heat error online compensation.PLC unit is modified and was carried out before heat error compensation starts by personal computer, personal computer is connected with the X122 interface of numerical control unit by Siemens's USB adapter, realize MPI communication between the two, it is correlated with by the STEP7 software installed on personal computer and the communication setting up personal computer with PLC unit is set, then STEP7 software modification PLC unit is utilized, in the middle of the main program block OB1 of PLC unit, add FB3 subelement and FB4 subelement, after having revised, disconnect the connection of personal computer and digital control system.
When carrying out numerical control machining tool heat error online compensation, panel control unit utilizes serial communication protocol to receive data collecting card and the displacement transducer temperature data by Serial Port Transmission and Thermal Error data, realize the data acquisition to Digit Control Machine Tool key measuring point temperature and movement axle Thermal Error, and utilize the numerical control machining tool heat error online compensation subelement off-line embedding panel control unit to set up multiple linear regression Thermal Error model;Panel control unit also utilizes OPC communication protocol dynamic access numerically-controlled machine tool system server to read the Digit Control Machine Tool status data of storage in Digit Control Machine Tool server, the Digit Control Machine Tool status data of reading is saved in numerical control machining tool heat error online compensation subelement and is updated display, it is achieved numerical control conditions of machine tool is carried out monitor in real time;Panel control unit recycling serial communication protocol receives the data collecting card temperature data by Serial Port Transmission, numerical control machining tool heat error online compensation subelement calculates X according to the temperature data gathered, Y, the theoretical Thermal Error value of tri-kinematic axiss of Z, and judge whether theoretical Thermal Error value meets the compensation threshold value bound scope set;If theoretical Thermal Error value is unsatisfactory for compensating threshold value bound scope, then not compensating, Resurvey temperature data also calculates Thermal Error value;If theoretical Thermal Error value meets compensates threshold value bound scope, then theory Thermal Error value is converted to offset, and utilize OPC communication protocol that offset writes the data block address of PLC unit, again through PLC unit, Digit Control Machine Tool offset is written to the outside zero offset variable of numerical control unit, performs numerical control machining tool heat error online compensation.
Those of ordinary skill in the art is it will be appreciated that embodiment described here is to aid in reader understanding's principles of the invention, it should be understood that protection scope of the present invention is not limited to such special statement and embodiment.Those of ordinary skill in the art can make various other various concrete deformation and combination without departing from essence of the present invention according to these technology disclosed by the invention enlightenment, and these deformation and combination remain in protection scope of the present invention.

Claims (9)

1. a numerical control machining tool heat error online compensation method, it is characterised in that comprise the following steps:
A, collection Digit Control Machine Tool key measuring point temperature data;
B, by step A gather crucial measuring point temperature data be input to multiple linear regression Thermal Error model fall into a trap calculation Digit Control Machine Tool theory Thermal Error value, the construction method of described multiple linear regression Thermal Error model include following step by step:
The Thermal Error data of each kinematic axis under B1, collection Digit Control Machine Tool key measuring point temperature data and corresponding temperature, adopt Fuzzy Cluster Analysis method to be grouped by all temperature datas gathered, and the temperature data that selection correlation coefficient is maximum in each group is as the temperature sensitive point data of this group;
B2, theoretical according to multiple linear regression, the temperature sensitive point data gathered in integrating step B1 and Thermal Error data, set up multiple linear regression Thermal Error model;
C, setting compensation threshold value bound scope, calculate Digit Control Machine Tool offset according to theoretical Thermal Error value calculated in step B, and judge whether Digit Control Machine Tool offset meets compensation threshold value bound scope;If Digit Control Machine Tool offset is unsatisfactory for compensating threshold value bound scope, then return step A;If Digit Control Machine Tool offset meets compensates threshold value bound scope, then utilize OPC communication protocol that Digit Control Machine Tool offset is write plc data block address, it is achieved numerical control machining tool heat error online compensation.
2. numerical control machining tool heat error online compensation method as claimed in claim 1, it is characterised in that also include utilizing OPC communication protocol to access numerically-controlled machine tool system server, read and preserve Digit Control Machine Tool status data.
3. numerical control machining tool heat error online compensation method as claimed in claim 2, it is characterised in that the multiple linear regression Thermal Error model set up in described step B is embodied as:
Δ K=a0+a1×ΔT1+a2×ΔT2+a3×ΔT3+a4×ΔT4+...+am×ΔTm
Wherein, Δ K is the Thermal Error of each kinematic axis, a0,a1,a2,a3,a4...amAll for by the calculated model coefficient of Thermal Error data of each kinematic axis, Δ T under the Digit Control Machine Tool key measuring point temperature data gathered in step B1 and corresponding temperature1,ΔT2,ΔT3,ΔT4...ΔTmBeing the temperature variation of temperature sensitive point, m is design temperature sensitive spot number.
4. numerical control machining tool heat error online compensation method as claimed in claim 3, it is characterised in that the temperature variation of described temperature sensitive point is specially the Digit Control Machine Tool key measuring point temperature data that online acquisition obtains and deducts initial temperature.
5. numerical control machining tool heat error online compensation method as claimed in claim 4, it is characterised in that described according to theoretical Thermal Error value calculated in step B calculate Digit Control Machine Tool offset computing formula particularly as follows:
Δ K '=Δ Kn-ΔKn-1
Wherein, Δ K ' is Digit Control Machine Tool offset, Δ KnAccording to the calculated theoretical Thermal Error value of multiple linear regression Thermal Error model, Δ K when reaching to compensate threshold value bound scope for n-th0=0.
6. the numerical control machining tool heat error online compensation system applying numerical control machining tool heat error online compensation method as claimed in claim 1, it is characterised in that including:
Data acquisition module, including temperature sensor and the data collecting card that is connected with temperature sensor;Described temperature sensor is used for gathering Digit Control Machine Tool key measuring point temperature data, and by connected data collecting card by temperature data transmission to numerical control subsystem;
Numerical control subsystem, including the panel control unit being sequentially connected with, PLC unit and numerical control unit;Described panel control unit is embedded with numerical control machining tool heat error online compensation subelement, calculates Digit Control Machine Tool offset for running numerical tool operation system the crucial measuring point temperature data according to data collecting module collected;Described PLC unit is for being written to data block address for panel control unit by Digit Control Machine Tool offset;Described numerical control unit, for offset writing its outside zero offset variable for PLC unit, performs numerical control machining tool heat error online compensation;
Described data acquisition module carries out data communication by serial ports and numerical control subsystem.
7. numerical control machining tool heat error online compensation system as claimed in claim 6, it is characterised in that also include numerically-controlled machine tool system server, for storing variable and the file of panel control unit, PLC unit and numerical control unit;Described numerical control subsystem adopts OPC communication protocol and numerically-controlled machine tool system server to carry out data communication, realizes numerical control conditions of machine tool is carried out monitor in real time by accessing numerically-controlled machine tool system server.
8. numerical control machining tool heat error online compensation system as claimed in claim 7, it is characterised in that also include personal computer and the USB adapter being connected respectively with personal computer and numerical control subsystem;Described personal computer is provided with PLC programming module, and it is for modifying to the PLC unit of numerical control subsystem;Described USB adapter is used for realizing personal computer and carries out data communication with numerical control subsystem.
9. numerical control machining tool heat error online compensation system as claimed in claim 8, it is characterised in that PLC unit is modified and is specially interpolation FB3 subelement and FB4 subelement by described personal computer;Described FB3 subelement is for being written to, by the Digit Control Machine Tool offset of the data block address of PLC unit, the outside zero offset variable that numerical control unit is corresponding;Described FB4 subelement, for activating the Digit Control Machine Tool offset of the outside zero offset variable of numerical control unit, performs exterior coordinate and has converted numerical control machining tool heat error online compensation.
CN201610159196.8A 2016-03-21 2016-03-21 Numerical control machining tool heat error online compensation method and system Expired - Fee Related CN105759718B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610159196.8A CN105759718B (en) 2016-03-21 2016-03-21 Numerical control machining tool heat error online compensation method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610159196.8A CN105759718B (en) 2016-03-21 2016-03-21 Numerical control machining tool heat error online compensation method and system

Publications (2)

Publication Number Publication Date
CN105759718A true CN105759718A (en) 2016-07-13
CN105759718B CN105759718B (en) 2018-06-29

Family

ID=56345540

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610159196.8A Expired - Fee Related CN105759718B (en) 2016-03-21 2016-03-21 Numerical control machining tool heat error online compensation method and system

Country Status (1)

Country Link
CN (1) CN105759718B (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106483928A (en) * 2017-01-03 2017-03-08 重庆大学 A kind of dry chain digital control gear hobbing machine bed radial heat distortion error of cutting is in machine real-time compensation method
CN107065771A (en) * 2017-05-05 2017-08-18 大连理工大学 Thermal expansion error modeling and compensation method of the semiclosed loop feed shaft under the excitation of many time-varying dynamic heat sources
CN107756128A (en) * 2017-08-30 2018-03-06 华中科技大学 Thermal distortion compensation method
CN107861470A (en) * 2017-10-25 2018-03-30 沈阳机床股份有限公司 Main shaft of numerical control machine tool thermal stretching real-time error compensation method based on PMC controls
CN107918357A (en) * 2017-12-21 2018-04-17 科德数控股份有限公司 A kind of numerical control machining center Spindle thermal error dynamic compensation method and system
CN109426216A (en) * 2017-08-21 2019-03-05 沈阳高精数控智能技术股份有限公司 A kind of rectangle plane working depth recognition methods for CNC milling machine
CN109623490A (en) * 2018-12-14 2019-04-16 重庆大学 A kind of the Thermal Error measuring system and method for lathe
CN109739182A (en) * 2019-01-31 2019-05-10 大连理工大学 A kind of pair of cooling system disturbs insensitive Spindle thermal error compensation method
CN109960215A (en) * 2019-04-10 2019-07-02 大连理工大学 A kind of offline compensation method of four-spindle lathe machining locus profile errors
CN110524942A (en) * 2019-08-02 2019-12-03 南京农业大学 A kind of press machine bottom dead centre method of adjustment and system
CN112129320A (en) * 2020-08-17 2020-12-25 鲁能新能源(集团)有限公司 Method and system for full-automatic calibration of unmanned aerial vehicle MEMS-IMU sensor
CN112147951A (en) * 2020-09-28 2020-12-29 沈机(上海)智能系统研发设计有限公司 Thermal error compensation method for machining equipment, device, system, medium and terminal thereof
CN113157019A (en) * 2021-04-23 2021-07-23 湖北文理学院 Method for actively controlling temperature of servo motor of spindle of numerical control machine tool
CN113251915A (en) * 2020-02-12 2021-08-13 英飞凌科技股份有限公司 Safety mechanism monitoring of automatically calibrated compensation parameters
CN113721548A (en) * 2021-09-06 2021-11-30 哈尔滨理工大学 Thermal error compensation method and system for numerical control milling head

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6167634B1 (en) * 1998-03-28 2001-01-02 Snu Precision Co., Ltd. Measurement and compensation system for thermal errors in machine tools
CN101387524A (en) * 2008-10-09 2009-03-18 北京航空航天大学 Bias temperature error testing and compensating system suitable for optical fiber gyroscope
CN103268082A (en) * 2013-05-16 2013-08-28 北京工业大学 Thermal error modeling method based on gray linear regression
CN103345199A (en) * 2013-06-19 2013-10-09 上海交通大学 Numerically-controlled machine tool error compensation system and method based on human-computer interface secondary development
CN103576604A (en) * 2012-07-25 2014-02-12 上海睿涛信息科技有限公司 Dynamic real-time compensation system for positioning errors of numerical-control machine tool

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6167634B1 (en) * 1998-03-28 2001-01-02 Snu Precision Co., Ltd. Measurement and compensation system for thermal errors in machine tools
CN101387524A (en) * 2008-10-09 2009-03-18 北京航空航天大学 Bias temperature error testing and compensating system suitable for optical fiber gyroscope
CN103576604A (en) * 2012-07-25 2014-02-12 上海睿涛信息科技有限公司 Dynamic real-time compensation system for positioning errors of numerical-control machine tool
CN103268082A (en) * 2013-05-16 2013-08-28 北京工业大学 Thermal error modeling method based on gray linear regression
CN103345199A (en) * 2013-06-19 2013-10-09 上海交通大学 Numerically-controlled machine tool error compensation system and method based on human-computer interface secondary development

Cited By (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106483928A (en) * 2017-01-03 2017-03-08 重庆大学 A kind of dry chain digital control gear hobbing machine bed radial heat distortion error of cutting is in machine real-time compensation method
CN106483928B (en) * 2017-01-03 2019-01-29 重庆大学 The dry chain digital control gear hobbing machine bed radial heat distortion error of cutting of one kind is in machine real-time compensation method
CN107065771A (en) * 2017-05-05 2017-08-18 大连理工大学 Thermal expansion error modeling and compensation method of the semiclosed loop feed shaft under the excitation of many time-varying dynamic heat sources
CN107065771B (en) * 2017-05-05 2019-02-01 大连理工大学 The thermal expansion error of semiclosed loop feed shaft models and compensation method
CN109426216B (en) * 2017-08-21 2021-05-07 沈阳高精数控智能技术股份有限公司 Rectangular plane machining depth identification method for numerical control milling machine
CN109426216A (en) * 2017-08-21 2019-03-05 沈阳高精数控智能技术股份有限公司 A kind of rectangle plane working depth recognition methods for CNC milling machine
CN107756128B (en) * 2017-08-30 2019-10-08 华中科技大学 Thermal distortion compensation method
CN107756128A (en) * 2017-08-30 2018-03-06 华中科技大学 Thermal distortion compensation method
CN107861470A (en) * 2017-10-25 2018-03-30 沈阳机床股份有限公司 Main shaft of numerical control machine tool thermal stretching real-time error compensation method based on PMC controls
CN107918357A (en) * 2017-12-21 2018-04-17 科德数控股份有限公司 A kind of numerical control machining center Spindle thermal error dynamic compensation method and system
CN109623490A (en) * 2018-12-14 2019-04-16 重庆大学 A kind of the Thermal Error measuring system and method for lathe
CN109739182A (en) * 2019-01-31 2019-05-10 大连理工大学 A kind of pair of cooling system disturbs insensitive Spindle thermal error compensation method
CN109739182B (en) * 2019-01-31 2020-06-16 大连理工大学 Spindle thermal error compensation method insensitive to cooling system disturbance
CN109960215A (en) * 2019-04-10 2019-07-02 大连理工大学 A kind of offline compensation method of four-spindle lathe machining locus profile errors
CN110524942A (en) * 2019-08-02 2019-12-03 南京农业大学 A kind of press machine bottom dead centre method of adjustment and system
CN110524942B (en) * 2019-08-02 2024-05-14 南京农业大学 Press bottom dead center adjusting method and system
CN113251915A (en) * 2020-02-12 2021-08-13 英飞凌科技股份有限公司 Safety mechanism monitoring of automatically calibrated compensation parameters
US11550001B2 (en) 2020-02-12 2023-01-10 Infineon Technologies Ag Safety mechanism monitoring of autocalibrated compensation parameters
CN113251915B (en) * 2020-02-12 2023-07-28 英飞凌科技股份有限公司 Safety mechanism monitoring of automatically calibrated compensation parameters
CN112129320A (en) * 2020-08-17 2020-12-25 鲁能新能源(集团)有限公司 Method and system for full-automatic calibration of unmanned aerial vehicle MEMS-IMU sensor
CN112129320B (en) * 2020-08-17 2022-07-22 鲁能新能源(集团)有限公司 Method and system for full-automatic calibration of MEMS-IMU sensor of unmanned aerial vehicle
CN112147951A (en) * 2020-09-28 2020-12-29 沈机(上海)智能系统研发设计有限公司 Thermal error compensation method for machining equipment, device, system, medium and terminal thereof
CN113157019A (en) * 2021-04-23 2021-07-23 湖北文理学院 Method for actively controlling temperature of servo motor of spindle of numerical control machine tool
CN113721548A (en) * 2021-09-06 2021-11-30 哈尔滨理工大学 Thermal error compensation method and system for numerical control milling head
CN113721548B (en) * 2021-09-06 2022-05-03 哈尔滨理工大学 Thermal error compensation method and system for numerical control milling head

Also Published As

Publication number Publication date
CN105759718B (en) 2018-06-29

Similar Documents

Publication Publication Date Title
CN105759718A (en) Numerically-controlled machine tool thermal error on-line compensation method and system
CN103345199B (en) Based on numerically-controllmachine machine tool error compensation system and the method for man-machine interface secondary development
CN102629121B (en) Intelligent compensation system for geometrical and heating position errors of numerical control machine
CN101804581A (en) Implementation method of automatic compensation for thermal deformation of machine tool
CN102736557B (en) Numerical control machine tool error real-time compensation based on virtual instrument
CN102166722B (en) Comprehensive monitoring system and method for temperature and thermal deformation of high-speed numerically-controlled lathe
CN103792910B (en) A kind of network group control formula error dynamic compensation system of Digit Control Machine Tool
CN104216334B (en) Selection optimization method of temperature measurement point combination for positioning errors of numerically-controlled machine tool under thermal effect
CN103676781B (en) A kind of error dynamic compensation system based on Siemens's 840D secondary interface
CN109623499A (en) Numerically-controlled machine tool geometry/Thermal Error on-line measurement and compensation system
CN107553220A (en) A kind of Digit Control Machine Tool composition error real-time compensation method
US20240019839A1 (en) Methods for quickly optimizing geometric error compensation data of translational axes of five-axis numerically controlled machine tools
CN102658499A (en) Spindle thermal distortion compensation method for precision horizontal machining center
CN105269404A (en) Detection device for knife point dynamic characteristics of numerical control machine tool and method of detection device
CN108334661B (en) Feed shaft thermal deformation prediction method
CN113984043B (en) Dynamic error correction method of mining inertial navigation system
CN104166373A (en) Online detecting method and system for numerical control machine tool machining error
CN104999342A (en) Automatic measuring system and method for thermal error of numerical control machine tool in real cutting state
CN204711699U (en) Digit Control Machine Tool point of a knife dynamic characteristic accuracy detecting device
CN208945752U (en) A kind of thermal compensation device of electric main shaft of digital control machine tool
Jian et al. Predicting spindle displacement caused by heat using the general regression neural network
CN104977897A (en) Numerical control machine tool space error compensation device
CN117608241B (en) Method, system, device and medium for updating digital twin model of numerical control machine tool
CN114952422A (en) Real-time prediction method for machining cutter state of numerical control machine tool
CN107024907A (en) A kind of embedded Life cycle machine tool thermal error compensation system and method

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20180629

CF01 Termination of patent right due to non-payment of annual fee