CN103345199A - Numerically-controlled machine tool error compensation system and method based on human-computer interface secondary development - Google Patents

Numerically-controlled machine tool error compensation system and method based on human-computer interface secondary development Download PDF

Info

Publication number
CN103345199A
CN103345199A CN2013102450889A CN201310245088A CN103345199A CN 103345199 A CN103345199 A CN 103345199A CN 2013102450889 A CN2013102450889 A CN 2013102450889A CN 201310245088 A CN201310245088 A CN 201310245088A CN 103345199 A CN103345199 A CN 103345199A
Authority
CN
China
Prior art keywords
error
temperature
siemens
control system
digital 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
CN2013102450889A
Other languages
Chinese (zh)
Other versions
CN103345199B (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.)
Shanghai Jiaotong University
Original Assignee
Shanghai Jiaotong University
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 Shanghai Jiaotong University filed Critical Shanghai Jiaotong University
Priority to CN201310245088.9A priority Critical patent/CN103345199B/en
Publication of CN103345199A publication Critical patent/CN103345199A/en
Application granted granted Critical
Publication of CN103345199B publication Critical patent/CN103345199B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a numerically-controlled machine tool error compensation system and method based on human-computer interface secondary development. The numerically-controlled machine tool error compensation system comprises a hardware portion and a software portion integrally arranged in the hardware portion. The hardware portion comprises a Siemens 840D numerical control system PCU, a temperature sensor, a temperature data acquisition card and an error measurement instrument. The software portion comprises a temperature acquisition module, a thermal error compensation module, a space error compensation mould and a state monitoring module. According to the numerically-controlled machine tool error compensation system and method based on the human-computer interface secondary development, the error compensation function of a Siemens 840D numerical control system is effectively used for compensating space errors; the numerically-controlled machine tool error compensation system and method based on the human-computer interface secondary development is convenient and effective to implement, external expansion of compensators is not required, machine tool parameters are read based on a human-computer interface and DDE, and good on-line state monitoring can be achieved without an external upper computer.

Description

Numerically-controlled machine error compensation system and method based on the man-machine interface secondary development
Technical field
What the present invention relates to is a kind of device and method of numerically-controlled machine processing technique field, specifically is a kind of numerically-controlled machine error compensation system based on the man-machine interface secondary development.
Background technology
Accurate and Ultraprecision Machining has become most important component and developing direction in the modern mechanical manufacturing, and becomes the gordian technique that improves international competitiveness.Numerically-controlled machine is as the important tool in the machine-building, and its precision index is the key factor that influences the workpiece machining precision.Yet, owing to numerically-controlled machine exists numerous error elements such as error that sum of errors tool wear that geometric error (by the error that lathe itself is made, the assembling defective causes), hot error (causing the error that thermal deformation causes by the lathe temperature variation), cutting force cause produces, had a strong impact on machining accuracy of NC machine tool.Studies show that: the error that the geometric error of lathe, hot error cause accounts for 70% of lathe total error, so Geometric Error for Computerized Numerical Control Milling Machine and hot compensation of error are significant to improving machine finish.
The digital control system of numerically-controlled machine mainly is Fa Nake and Siemens's two big classes in the market, and there is very big-difference in the numerically-controlled machine error compensating method of different NC system.Through existing literature data-searching is found, Study on Error Compensation to the numerically-controlled machine of Fa Nake digital control system has more achievement, as: Chinese patent " based on the numerically-controlled machine real time error compensator of lathe exterior coordinate system biasing " (application number: 200410093428.1), 200710045903.1) and Chinese patent " intelligent compensation of how much of numerically-controlled machines and hot recombination site error " (application number: 201210122422.7) Chinese patent " digital control machine tool positioning error real-time compensation device " (application number:.
Yet the compensation method that above these documents adopt all is the outside zero migration of the EMS(of Fa Nake digital control system) function, and less to the numerically-controlled machine compensation scheme research of Siemens's digital control system.The application of Siemens's digital control system on numerically-controlled machine is very extensive, and systems such as its 840D are used for the numerically-controlled machines of high-end type more, so for the error compensation project study of the numerically-controlled machine of Siemens 840D digital control system its necessity is arranged.
Summary of the invention
The present invention is directed to existing research above shortcomings, a kind of numerically-controlled machine error compensation system based on the man-machine interface secondary development is proposed, this method has Siemens 840D numerically-controlled machine is carried out high-precision error compensation function and good presence monitoring function based on the man-machine interface secondary development.
The present invention is achieved by the following technical solutions:
A kind of numerically-controlled machine error compensation system based on the man-machine interface secondary development, it comprises bucking-out system hardware components and the bucking-out system software section that is built in this bucking-out system hardware components; Described bucking-out system hardware components comprises: Siemens 840D digital control system PCU, temperature sensor, temperature data acquisition card and error measure instrument, wherein, temperature sensor is connected with the temperature data acquisition card, the temperature data acquisition cartoon is crossed Ethernet and is connected with Siemens 840D digital control system PCU, thereby the temperature value of the crucial measuring point of the lathe that the real-time Transmission temperature sensor measurement obtains, the error information of error measure instrument measuring machine bed under the crucial measuring point temperature of difference; Described bucking-out system software section adopts the VB programming mode, it comprises: temperature collect module, the heat error compensation module, space error compensating module and monitoring module, bucking-out system software is according to the temperature value of the crucial measuring point of lathe and the error information that the error measure instrument records under crucial measuring point temperature, set up error unit's prime model and the spatial error model of each kinematic axis of lathe, temperature collect module is transferred to Siemens 840D digital control system PCU by the temperature value of the crucial measuring point of some cycles circle collection lathe, PCU is according to spatial error model for Siemens 840D digital control system, with measured all error terms that obtain under the current crucial measuring point temperature all decoupling zero to X, Y, on three direction of motion of Z, determine X, Y, the total error of three kinematic axiss of Z, then calculate the fit slope value of each kinematic axis of lathe graph of errors under current crucial measuring point temperature and be saved in the byte of idle DB piece of Siemens 840D digital control system PLC, utilize the FB3 write parameters function of Siemens 840D digital control system PLC, fit slope value under the corresponding byte of this idle DB piece is write in the parameter 43910 of Siemens 840D digital control system, in parameter 32750, select the heat error compensation pattern, determine the temperature compensation value with location independent in the parameter 43900, set reference origin in the parameter 43920, the heat error compensation function implementation space error compensation of finally utilizing Siemens's 840D digital control system to carry.
Described Siemens 840D digital control system PCU refers to: the computing machine that Siemens's digital control system carries, and it has independent CPUs own, also has hard disk, floppy drive, and the control software of Siemens 840D digital control system PCU is stored in this computing machine.
Described temperature sensor refers to: platinum resistance thermometer sensor, PT100, be distributed on the key temperatures measuring point of lathe, and measurement range is 0 ℃-100 ℃, Measurement Resolution can reach ± and 0.1 ℃.
Described temperature data acquisition card refers to: grind the Adam-6015 type data collecting card that magnificent company produces, have 7 road differential type temperature acquisition passages, effective resolution can reach 16, sampling rate reached as high as for 10 sampled point/seconds, support the connected mode of PT100 two-wire system or three-wire system, support the Ethernet data host-host protocol.
Described error measure instrument refers to: to the machine tool motion axis error, as the instrument that geometric error and hot error are measured, it comprises laser interferometer and ball bar etc.
Described temperature collect module refers to: the program module that the temperature data that is distributed in the temperature sensor on the crucial measuring point of lathe is gathered.Can obtain the temperature data of the crucial measuring point of lathe by PT100 temperature sensor and Adam-6015 temperature data acquisition card, and be transferred to Siemens 840D digital control system PCU by the Ethernet form, be used for the hot error modeling of lathe.
Described heat error compensation module refers to: lathe from cold conditions to thermally equilibrated overall process, according to the temperature value of the crucial measuring point of lathe and the machine tool motion axis error that the error measure instrument measures under this temperature value, set up the module of hot error model and compensation.Studies show that: when the temperature of lathe not simultaneously, the geometric error curve shape of lathe changes and not quite and only exists slope of a curve to change.With the once linear match graph of errors is approached, can obtain the fit slope of the graph of errors of each kinematic axis under the crucial measuring point temperature of difference respectively.At first the fit slope value is saved in the byte of the idle DB piece of PLC, the fit slope value that will be arranged in the DB piece that leaves unused with the FB3 write parameters function of PLC is written to parameter 43910 then, finally realizes heat error compensation.
Described space error compensating module refers to: the module of the space error of lathe being carried out modeling and compensation; It sets up spatial error model with the homogeneous coordinate transformation method to lathe, the error information of utilizing error measuring device to measure, all error terms that will measure respectively all decoupling zero on X, Y, three direction of motion of Z, determine the total error of X, Y, three kinematic axiss of Z, determine the fit slope of each kinematic axis graph of errors, the heat error compensation function implementation space error compensation of utilizing Siemens's 840D digital control system to carry at last by the once linear match.
Described monitoring module refers to: the program module that Siemens 840D digital control system PCU monitors conditions of machine tool based on human-machine interface function, and the conditions of machine tool information of monitoring comprises organic systematic parameter, compensating coefficient, load condition and warning message; Siemens 840D digital control system for its variable-definition man-machine communication (MMC) read mode, Siemens 840D digital control system PCU is based on the bucking-out system software of VB establishment, mode by dynamic data exchange (DDE) reads the conditions of machine tool information of monitoring easily, thereby carries out condition monitoring.
Another technical scheme of the present invention is:
A kind of numerically-controlled machine error compensating method that adopts above-mentioned bucking-out system to realize, it may further comprise the steps:
The first step, set up HMI/OEM platform (man-machine interface platform) and embed the man-machine interaction software of VB establishment, specifically refer to:
1.1 open the program oembsp1.vbp that HMI programming bag carries, design the interface of oneself as required, attainable function mainly contains the visit of various variablees, as cutter partially, zero partially, the visit of various variablees among axial coordinate value etc. and the PLC, as I/O mouth, data block DB etc., generate executable file oembsp1.exe at last, and be put under the oem catalogue;
1.2 revise the RE_UK.ini in the oem catalogue, the text of configuration soft key 6 is " test " with the tag modification of No. 6 soft keys;
1.3 revise the regie.ini file in the oem catalogue, be the interface program embsp1.exe that No. 6 soft key configurations are developed;
1.4 revise " .mdi " file as required, define the inner subwindow of all programs and type thereof; Revise " .zus " file, the state of define program and action;
Second step, priority are measured and identification geometric error and the hot error of lathe with error measure instrument and temperature sensor, and set up error unit prime model according to error features and Changing Pattern, and hot error model is Δ K X=K 0(T)+tan β (T) (P X-P 0),
Figure BDA0000337300200000031
Wherein, Δ K XBe called position associated temperature offset, K 0Be called the location independent temperature compensation value, tan β is fit slope, P 0Be the reference position, P XBe physical location, T 0For the position correlated error equals 0 corresponding temperature, T MaxBe the measurement temperature of maximum, TK MaxFor at T MaxTemperature coefficient under the situation, this temperature coefficient are illustrated in the corresponding maximum error of the every 1000mm of ball-screw under a certain temperature;
The 3rd step, according to the error of lathe unit prime model, with the homogeneous coordinate transformation method lathe is set up spatial error model, the error information of utilizing the error measure instrument to measure, respectively each is organized all error terms of measuring under the crucial measuring point temperature all decoupling zero on X, Y, three direction of motion of Z, determine the total error of X, Y, three kinematic axiss of Z, determine the fit slope value of each kinematic axis total error curve by the once linear match;
The 4th step, temperature collect module are by the temperature value of the crucial measuring point of each lathe of some cycles circle collection and be transferred to Siemens 840D digital control system PCU, and this Siemens 840D digital control system PCU calculates the fit slope value of each kinematic axis of lathe graph of errors under the crucial measuring point temperature of difference according to spatial error model and is saved in the byte of idle DB piece of PLC;
The 5th step, enforcement compensation specifically refer to:
5.1 write the PLC program, utilize the FB3 write parameters function of PLC, the fit slope value under the corresponding byte of this idle DB piece is write in the parameter 43910 of Siemens 840D digital control system;
5.2 in parameter 32750, select the heat error compensation pattern;
5.3 the irrelevant temperature compensation value of desired location is set reference origin in parameter 43920 in parameter 43900, the final heat error compensation function of utilizing Siemens's 840D digital control system to carry that realizes compensates space error.
Compare with the existing error compensation technique, the present invention takes full advantage of the heat error compensation function that Siemens's 840D digital control system carries space error is compensated, and implements easily and effectively, does not need to extend out compensator; DDE is based on the message-passing machine of Windows and manages and the technology of foundation, data rate is fast, stability is high, and Siemens's 840D digital control system carries PCU, has simplified peripherals so carry out the system variable read-write with DDE, does not need host computer can realize good presence monitoring.
Description of drawings
Fig. 1 is system architecture synoptic diagram of the present invention.
Fig. 2 is the heat error compensation workflow.
Fig. 3 is space error compensation work flow process.
Fig. 4 is body diagonal measuring principle figure.
Fig. 5 measures comparison diagram for space error body diagonal before and after the compensation of 840D vertical machining centre.
Embodiment
Below in conjunction with accompanying drawing embodiments of the invention are elaborated, present embodiment is being to implement under the prerequisite with the technical solution of the present invention, provided detailed embodiment and concrete operating process, but protection scope of the present invention is not limited to following embodiment.
The described numerically-controlled machine error compensation system based on the man-machine interface secondary development of present embodiment comprises: bucking-out system hardware components and bucking-out system software section, this bucking-out system software section is built in this bucking-out system hardware components.
See also Fig. 1, described bucking-out system hardware components mainly comprises: Siemens 840D digital control system PCU, temperature sensor, temperature data acquisition card and error measure instrument.Wherein: temperature sensor is connected with the temperature data acquisition card, and the temperature data acquisition cartoon is crossed Ethernet and is connected with Siemens 840D digital control system PCU, thus the temperature value of the crucial measuring point of the lathe that real-time Transmission measures; The error information of error measure instrument measuring machine bed under the crucial measuring point temperature of difference.
Described Siemens 840D digital control system PCU refers to: the computing machine that Siemens's digital control system carries, and it has own independent CPUs, can also be with hard disk, the band floppy drive, the control software of Siemens 840D digital control system PCU is also in this computing machine.
Described temperature sensor refers to: platinum resistance thermometer sensor, PT100, be distributed on the key temperatures measuring point of lathe, and measurement range is 0 ℃-100 ℃, Measurement Resolution can reach ± and 0.1 ℃.
Described temperature data acquisition card refers to: grind the Adam-6015 type data collecting card that magnificent company produces, have 7 road differential type temperature acquisition passages, effective resolution can reach 16, sampling rate reached as high as for 10 sampled point/seconds, support the connected mode of PT100 two-wire system or three-wire system, support the Ethernet data host-host protocol.
Described error measure instrument refers to: to the machine tool motion axis error, as the instrument that geometric error and hot error are measured, it comprises laser interferometer and ball bar etc.
Described bucking-out system software section has adopted VB(visual basic) programming mode, mainly comprise: temperature collect module, heat error compensation module, space error compensating module and monitoring module.Bucking-out system software is set up error unit's prime model and the spatial error model of each kinematic axis of lathe according to the error information that the temperature value of the crucial measuring point of lathe and laser interferometer and ball bar equal error surveying instrument record under crucial measuring point temperature.Temperature collect module is by the temperature value of the crucial measuring point of some cycles circle collection lathe and be transferred to Siemens 840D digital control system PCU, PCU is according to spatial error model for this Siemens 840D digital control system, with measured all error terms that obtain under the current crucial measuring point temperature all decoupling zero on X, Y, three direction of motion of Z, determine the total error of X, Y, three kinematic axiss of Z.Then calculate the fit slope value of each kinematic axis of lathe graph of errors under current crucial measuring point temperature and be saved in the byte of idle DB piece of PLC.Utilize the FB3 write parameters function of Siemens 840D digital control system PLC, fit slope value under the corresponding byte of this idle DB piece is write in the parameter 43910 of Siemens 840D system, in parameter 32750, select the heat error compensation pattern, determine the temperature compensation value with location independent in the parameter 43900, set reference origin in the parameter 43920, the heat error compensation function implementation space error compensation of finally utilizing Siemens's 840D digital control system to carry.
Described temperature collect module refers to: the program module that the temperature data of the temperature sensor that distributes on the crucial measuring point of lathe to be compensated is gathered.Can obtain the temperature data of the crucial measuring point of lathe by PT100 temperature sensor and Adam-6015 temperature data acquisition card, and be transferred to Siemens 840D digital control system PCU by the Ethernet form, be used for the hot error modeling of lathe.
Described heat error compensation module refers to: lathe from cold conditions to thermally equilibrated overall process, according to the temperature value of the crucial measuring point of lathe and the kinematic axis error that the error measure instrument measures under this temperature value, set up the module of hot error model and compensation.Studies show that: when the temperature of lathe not simultaneously, the geometric error curve shape of lathe changes and not quite and only exists slope of a curve to change, as shown in Figure 2.With the once linear match graph of errors is approached, can obtain the fit slope of the graph of errors of each kinematic axis under the crucial measuring point temperature of difference respectively.At first the fit slope value is saved in the byte of the idle DB piece of Siemens 840D digital control system PLC, then the fit slope value that will be arranged in this idle DB piece with the FB3 write parameters function of Siemens 840D digital control system PLC is written to parameter 43910, finally realizes heat error compensation.
Described space error compensating module refers to: the module of the space error of lathe being carried out modeling and compensation.As shown in Figure 3, with the homogeneous coordinate transformation method lathe is set up spatial error model, the error information of utilizing laser interferometer and ball bar equal error surveying instrument to measure, all error terms that will measure respectively all decoupling zero are determined the total error of X, Y, three kinematic axiss of Z on X, Y, three direction of motion of Z.Determine the fit slope of each kinematic axis graph of errors and be saved in the byte of idle DB piece by the once linear match, then the fit slope value that will be arranged in this idle DB piece with the FB3 write parameters function of Siemens 840D digital control system PLC is written to parameter 43910, the heat error compensation function implementation space error compensation of finally utilizing the 840D lathe to carry.
Described monitoring module refers to: the program module that Siemens 840D digital control system PCU monitors conditions of machine tool based on human-machine interface function.The conditions of machine tool information spinner of monitoring will comprise systematic parameter, compensating coefficient, load condition and the warning message etc. of lathe.Siemens 840D digital control system for its variable-definition the MMC(man-machine communication) read mode, so Siemens 840D digital control system PCU is based on the bucking-out system software of VB establishment, can be easily by the exchange of DDE(dynamic data) mode read the conditions of machine tool information of monitoring, thereby carry out condition monitoring.
Present embodiment is research experiment on a Siemens 840D three shaft vertical machining centers.
Be the concrete implementation step that present embodiment carries out numerically-controlled machine error compensation below:
The first step, set up HMI/OEM platform (man-machine interactive platform) and embed the man-machine interaction software of VB establishment.Specifically refer to:
1.1 open the program oembsp1.vbp that HMI programming bag carries, design the interface of oneself as required, attainable function mainly contains the visit of various variablees, as cutter partially, zero partially, the visit of various variablees among axial coordinate value etc. and the PLC, as I/O mouth, data block DB etc., generate executable file oembsp1.exe at last;
1.2 revise the RE_UK.ini file in the oem catalogue, the text of configuration soft key 6 is " test " with the tag modification of No. 6 soft keys;
1.3 revise the regie.ini file in the oem catalogue, be the interface program embsp1.exe that No. 6 soft key configurations are developed;
1.4 revise " .mdi " file as required, thereby define the inner subwindow of all programs and type thereof; Revise " .zus " thus state and the action of file definition oem program.
Second step, successively with laser interferometer and ball bar equal error surveying instrument and temperature sensor geometric error and the hot error of lathe are measured and identification, and set up the first prime model of error according to error features and Changing Pattern.See also Fig. 2, hot error model is Δ K X=K 0(T)+tan β (T) (P X-P 0),
Figure BDA0000337300200000061
Wherein, Δ K XBe called position associated temperature offset, K 0Be called the location independent temperature compensation value, tan β is fit slope, P 0Be the reference position, P XBe physical location, T 0For the position correlated error equals 0 corresponding temperature, T MaxBe the measurement temperature of maximum, TK MaxFor at T MaxTemperature coefficient under the situation, this temperature coefficient are illustrated under a certain temperature, the corresponding maximum error of the every 1000mm of ball-screw.
The 3rd step, according to the error of lathe unit prime model, with the homogeneous coordinate transformation method lathe is set up spatial error model, see also Fig. 3, the error information of utilizing measuring equipments such as laser interferometer and ball bar to measure, respectively with the positioning error, angular error, straightness error and the error of perpendicularity that measure under the current crucial measuring point temperature all decoupling zero on X, Y, three direction of motion of Z, determine the total error of X, Y, three kinematic axiss of Z.Δ x=-δ x(x)-δ x(y)+δ x(z)-y ε z(x)-z ε y(x)-z ε Xz, Δ y=-δ y(x)-δ y(y)+δ y(z)+z ε x(x)+z ε x(y)+x ε Xy-z Yz, Δ z=-δ z(x)-δ z(y)+δ z(z)+y ε x(x), δ wherein x(x), δ y(y) and δ z(z) be positioning error, δ x(y), δ x(z), δ y(x), δ y(z), δ z(x) and δ z(y) be straightness error, ε z(x), ε y(x), ε y(y), ε x(x) and ε x(y) be angular error, ε Xz, ε XyAnd ε YzIt is the error of perpendicularity.Determine the fit slope value of each kinematic axis total error curve by the once linear match.
The 4th step, temperature collect module are by the temperature value of the crucial measuring point of each lathe of some cycles circle collection and be transferred to Siemens 840D digital control system PCU, and this Siemens 840D digital control system PCU calculates the fit slope value of each kinematic axis of lathe graph of errors under the crucial measuring point temperature of difference according to spatial error model and is saved in the byte of idle DB piece of Siemens 840D digital control system PLC.
The 5th step, enforcement compensation.Specifically refer to:
5.1 write the PLC program, utilize the FB3 write parameters function of Siemens 840D digital control system PLC, the fit slope value under the corresponding byte of this idle DB piece is write in the parameter 43910 of Siemens 840D digital control system;
5.2 in parameter 32750, select the heat error compensation pattern;
5.3 the irrelevant temperature compensation value of desired location is set reference origin in the parameter 43920 in the parameter 43900, the final heat error compensation function of utilizing Siemens's 840D digital control system to carry that realizes compensates space error.
Use the body diagonal measuring method of laser interferometer that this lathe is carried out the space error measurement.Fig. 4 is body diagonal measuring principle figure, and Fig. 5 is the error effect contrast figure of the compensation front and back of lathe, and the result shows that compensation rear space error reduces significantly.

Claims (8)

1. the numerically-controlled machine error compensation system based on the man-machine interface secondary development is characterized in that, described bucking-out system comprises bucking-out system hardware components and the bucking-out system software section that is built in this bucking-out system hardware components; Described bucking-out system hardware components comprises: Siemens 840D digital control system PCU, temperature sensor, temperature data acquisition card and error measure instrument, wherein, temperature sensor is connected with the temperature data acquisition card, the temperature data acquisition cartoon is crossed Ethernet and is connected with Siemens 840D digital control system PCU, thereby the temperature value of the crucial measuring point of the lathe that the real-time Transmission temperature sensor measurement obtains, the error information of error measure instrument measuring machine bed under the crucial measuring point temperature of difference; Described bucking-out system software section adopts the VB programming mode, it comprises: temperature collect module, the heat error compensation module, space error compensating module and monitoring module, bucking-out system software is according to the temperature value of the crucial measuring point of lathe and the error information that the error measure instrument records under crucial measuring point temperature, set up error unit's prime model and the spatial error model of each kinematic axis of lathe, temperature collect module is transferred to Siemens 840D digital control system PCU by the temperature value of the crucial measuring point of some cycles circle collection lathe, PCU is according to spatial error model for Siemens 840D digital control system, with measured all error terms that obtain under the current crucial measuring point temperature all decoupling zero to X, Y, on three direction of motion of Z, determine X, Y, the total error of three kinematic axiss of Z, then calculate the fit slope value of each kinematic axis of lathe graph of errors under current crucial measuring point temperature and be saved in the byte of idle DB piece of Siemens 840D digital control system PLC, utilize the FB3 write parameters function of Siemens 840D digital control system PLC, fit slope value under the corresponding byte of this idle DB piece is write in the parameter 43910 of Siemens 840D digital control system, in parameter 32750, select the heat error compensation pattern, determine the temperature compensation value with location independent in the parameter 43900, set reference origin in the parameter 43920, the heat error compensation function implementation space error compensation of finally utilizing Siemens's 840D digital control system to carry.
2. the numerically-controlled machine error compensation system based on the man-machine interface secondary development according to claim 1, it is characterized in that described temperature collect module refers to: the program module that the temperature data that is distributed in the temperature sensor on the crucial measuring point of lathe is gathered.
3. the numerically-controlled machine error compensation system based on the man-machine interface secondary development according to claim 1, it is characterized in that, described heat error compensation module refers to: lathe from cold conditions to thermally equilibrated overall process, according to the temperature value of the crucial measuring point of lathe and the machine tool motion axis error that the error measure instrument measures under this temperature value, set up the module of hot error model and compensation.
4. the numerically-controlled machine error compensation system based on the man-machine interface secondary development according to claim 1 is characterized in that, described space error compensating module refers to: the module of the space error of lathe being carried out modeling and compensation; It sets up spatial error model with the homogeneous coordinate transformation method to lathe, the error information of utilizing error measuring device to measure, all error terms that will measure respectively all decoupling zero on X, Y, three direction of motion of Z, determine the total error of X, Y, three kinematic axiss of Z, determine the fit slope of each kinematic axis graph of errors, the heat error compensation function implementation space error compensation of utilizing Siemens's 840D digital control system to carry at last by the once linear match.
5. the numerically-controlled machine error compensation system based on the man-machine interface secondary development according to claim 1, it is characterized in that, described monitoring module refers to: the program module that Siemens 840D digital control system PCU monitors conditions of machine tool based on human-machine interface function, and the conditions of machine tool information of monitoring comprises organic systematic parameter, compensating coefficient, load condition and warning message; Siemens 840D digital control system for its variable-definition the man-machine communication read mode, Siemens 840D digital control system PCU is based on the bucking-out system software of VB establishment, mode by the dynamic data exchange reads the conditions of machine tool information of monitoring easily, thereby carries out condition monitoring.
6. the numerically-controlled machine error compensation system based on the man-machine interface secondary development according to claim 1 is characterized in that, described error measure instrument refers to: to the instrument that the machine tool motion axis error is measured, it comprises laser interferometer and ball bar.
7. the numerically-controlled machine error compensation system based on the man-machine interface secondary development according to claim 1, it is characterized in that, described Siemens 840D digital control system PCU refers to: the computing machine that Siemens's digital control system carries, and the control software of Siemens 840D digital control system PCU is stored in this computing machine; Described temperature sensor refers to: platinum resistance thermometer sensor, PT100 is distributed on the key temperatures measuring point of lathe; Described temperature data acquisition card refers to: grind the Adam-6015 type data collecting card that magnificent company produces.
8. a numerically-controlled machine error compensating method that adopts the described bucking-out system of claim 1 to realize is characterized in that, may further comprise the steps:
The first step, set up the HMI/OEM platform and embed the man-machine interaction software of VB establishment, specifically refer to:
1.1 open the program oembsp1.vbp that HMI programming bag carries, design the interface of oneself as required, attainable function mainly contains the visit of various variablees, as cutter partially, zero partially, the visit of various variablees among axial coordinate value etc. and the PLC, as I/O mouth, data block DB etc., generate executable file oembsp1.exe at last, and be put under the oem catalogue;
1.2 revise the RE_UK.ini in the oem catalogue, the text of configuration soft key 6 is " test " with the tag modification of No. 6 soft keys;
1.3 revise the regie.ini file in the oem catalogue, be the interface program embsp1.exe that No. 6 soft key configurations are developed;
1.4 revise " .mdi " file as required, define the inner subwindow of all programs and type thereof; Revise " .zus " file, the state of define program and action;
Second step, priority are measured and identification geometric error and the hot error of lathe with error measure instrument and temperature sensor, and set up error unit prime model according to error features and Changing Pattern, and hot error model is Δ K X=K 0(T)+tan β (T) (P X-P 0),
Figure FDA0000337300190000021
Wherein, Δ K XBe called position associated temperature offset, K 0Be called the location independent temperature compensation value, tan β is fit slope, P 0Be the reference position, P XBe physical location, T 0For the position correlated error equals 0 corresponding temperature, T MaxBe the measurement temperature of maximum, TK MaxFor at T MaxTemperature coefficient under the situation, this temperature coefficient are illustrated in the corresponding maximum error of the every 1000mm of ball-screw under a certain temperature;
The 3rd step, according to the error of lathe unit prime model, with the homogeneous coordinate transformation method lathe is set up spatial error model, the error information of utilizing the error measure instrument to measure, respectively each is organized all error terms of measuring under the crucial measuring point temperature all decoupling zero on X, Y, three direction of motion of Z, determine the total error of X, Y, three kinematic axiss of Z, determine the fit slope value of each kinematic axis total error curve by the once linear match;
The 4th step, temperature collect module are by the temperature value of the crucial measuring point of each lathe of some cycles circle collection and be transferred to Siemens 840D digital control system PCU, and this Siemens 840D digital control system PCU calculates the fit slope value of each kinematic axis of lathe graph of errors under the crucial measuring point temperature of difference according to spatial error model and is saved in the byte of idle DB piece of PLC;
The 5th step, enforcement compensation specifically refer to:
5.1 write the PLC program, utilize the FB3 write parameters function of PLC, the fit slope value under the corresponding byte of this idle DB piece is write in the parameter 43910 of Siemens 840D digital control system;
5.2 in parameter 32750, select the heat error compensation pattern;
5.3 the irrelevant temperature compensation value of desired location is set reference origin in parameter 43920 in parameter 43900, the final heat error compensation function of utilizing Siemens's 840D digital control system to carry that realizes compensates space error.
CN201310245088.9A 2013-06-19 2013-06-19 Based on numerically-controllmachine machine tool error compensation system and the method for man-machine interface secondary development Active CN103345199B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310245088.9A CN103345199B (en) 2013-06-19 2013-06-19 Based on numerically-controllmachine machine tool error compensation system and the method for man-machine interface secondary development

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310245088.9A CN103345199B (en) 2013-06-19 2013-06-19 Based on numerically-controllmachine machine tool error compensation system and the method for man-machine interface secondary development

Publications (2)

Publication Number Publication Date
CN103345199A true CN103345199A (en) 2013-10-09
CN103345199B CN103345199B (en) 2016-03-30

Family

ID=49280003

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310245088.9A Active CN103345199B (en) 2013-06-19 2013-06-19 Based on numerically-controllmachine machine tool error compensation system and the method for man-machine interface secondary development

Country Status (1)

Country Link
CN (1) CN103345199B (en)

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103676781A (en) * 2013-12-25 2014-03-26 上海交通大学 Siemens 840D secondary interface based error dynamic compensation system
CN103792910A (en) * 2013-12-02 2014-05-14 上海交通大学 Network group control-type error dynamic compensation system of numerically-controlled machine tools
CN103941642A (en) * 2014-04-14 2014-07-23 西安交通大学 Intelligent thermal-error detection and compensation system
CN104764527A (en) * 2015-03-31 2015-07-08 上海大学 Thermal error measuring device for workpiece machining
CN104807419A (en) * 2014-01-27 2015-07-29 海克斯康测量技术有限公司 Method for compensating measurement errors due to thermally induced structural deformations in a coordinate measurement machine
CN105759718A (en) * 2016-03-21 2016-07-13 电子科技大学 Numerically-controlled machine tool thermal error on-line compensation method and system
CN106015488A (en) * 2016-07-29 2016-10-12 成都普瑞斯数控机床有限公司 Movable positioning system for ball screw
CN106224477A (en) * 2016-07-29 2016-12-14 成都普瑞斯数控机床有限公司 Double compensation formula ball-screw mobile system
CN106774152A (en) * 2016-10-08 2017-05-31 西南交通大学 A kind of modeling method of Digit Control Machine Tool position correlation geometric error
CN106814696A (en) * 2015-11-30 2017-06-09 沈阳高精数控智能技术股份有限公司 A kind of digital control system man-machine interface secondary developing platform system and its implementation
CN107220064A (en) * 2017-06-27 2017-09-29 华中科技大学 A kind of digital control system interface configuration development approach
CN108334029A (en) * 2017-12-11 2018-07-27 武汉华中数控股份有限公司 The numerically-controlled machine tool equipment of embedded error compensation function and its compensation method
CN108919746A (en) * 2018-07-05 2018-11-30 大连理工大学 A kind of the Thermal Error test and analysis method of switch platform
CN109143970A (en) * 2018-09-25 2019-01-04 广州巨枫科技有限公司 A kind of heavy machine tool error compensation system
CN110161969A (en) * 2019-06-26 2019-08-23 珠海格力智能装备有限公司 Error compensating method and device
CN110618705A (en) * 2019-10-23 2019-12-27 北京机械设备研究所 Digital electric steering engine environment temperature compensation method and device
CN111381560A (en) * 2020-04-30 2020-07-07 中国航发哈尔滨东安发动机有限公司 Zero point compensation method and device for mechanical processing
CN114442556A (en) * 2022-01-24 2022-05-06 科德数控股份有限公司 Machine tool rapid compensation system based on laser interference principle and compensation method thereof

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070010959A1 (en) * 2005-07-08 2007-01-11 Hon Hai Precision Industry Co., Ltd. System and method for error compensation of a coordinate measurement machine
CN102629121A (en) * 2012-04-24 2012-08-08 上海交通大学 Intelligent compensation system for geometrical and heating position errors of numerical control machine
CN103048968A (en) * 2012-12-20 2013-04-17 上海交通大学 Network cluster-control-based numerical control machine tool error real-time compensation system and compensation method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070010959A1 (en) * 2005-07-08 2007-01-11 Hon Hai Precision Industry Co., Ltd. System and method for error compensation of a coordinate measurement machine
CN102629121A (en) * 2012-04-24 2012-08-08 上海交通大学 Intelligent compensation system for geometrical and heating position errors of numerical control machine
CN103048968A (en) * 2012-12-20 2013-04-17 上海交通大学 Network cluster-control-based numerical control machine tool error real-time compensation system and compensation method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
刘朝华等: "西门子840D数控系统温度误差补偿的研究与应用", 《机床与液压》, vol. 37, no. 9, 30 September 2009 (2009-09-30) *
唐静等: "Sinumerik 840D的误差补偿技术", 《常州信息职业技术学院学报》, vol. 12, no. 1, 28 February 2013 (2013-02-28), pages 7 - 9 *

Cited By (29)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103792910A (en) * 2013-12-02 2014-05-14 上海交通大学 Network group control-type error dynamic compensation system of numerically-controlled machine tools
CN103792910B (en) * 2013-12-02 2016-08-24 上海交通大学 A kind of network group control formula error dynamic compensation system of Digit Control Machine Tool
CN103676781B (en) * 2013-12-25 2016-07-06 上海交通大学 A kind of error dynamic compensation system based on Siemens's 840D secondary interface
CN103676781A (en) * 2013-12-25 2014-03-26 上海交通大学 Siemens 840D secondary interface based error dynamic compensation system
CN104807419A (en) * 2014-01-27 2015-07-29 海克斯康测量技术有限公司 Method for compensating measurement errors due to thermally induced structural deformations in a coordinate measurement machine
CN104807419B (en) * 2014-01-27 2019-06-04 海克斯康测量技术有限公司 The method for compensating the measurement error as caused by thermotropic malformation in coordinate measuring machine
CN103941642B (en) * 2014-04-14 2017-01-04 西安交通大学 Thermal Error Intelligent Measurement compensates system
CN103941642A (en) * 2014-04-14 2014-07-23 西安交通大学 Intelligent thermal-error detection and compensation system
CN104764527A (en) * 2015-03-31 2015-07-08 上海大学 Thermal error measuring device for workpiece machining
CN106814696B (en) * 2015-11-30 2019-07-02 沈阳高精数控智能技术股份有限公司 A kind of digital control system man-machine interface secondary developing platform system and its implementation
CN106814696A (en) * 2015-11-30 2017-06-09 沈阳高精数控智能技术股份有限公司 A kind of digital control system man-machine interface secondary developing platform system and its implementation
CN105759718A (en) * 2016-03-21 2016-07-13 电子科技大学 Numerically-controlled machine tool thermal error on-line compensation method and system
CN105759718B (en) * 2016-03-21 2018-06-29 电子科技大学 Numerical control machining tool heat error online compensation method and system
CN106224477A (en) * 2016-07-29 2016-12-14 成都普瑞斯数控机床有限公司 Double compensation formula ball-screw mobile system
CN106015488A (en) * 2016-07-29 2016-10-12 成都普瑞斯数控机床有限公司 Movable positioning system for ball screw
CN106774152B (en) * 2016-10-08 2019-03-22 西南交通大学 A kind of modeling method of numerically-controlled machine tool position correlation geometric error item
CN106774152A (en) * 2016-10-08 2017-05-31 西南交通大学 A kind of modeling method of Digit Control Machine Tool position correlation geometric error
CN107220064A (en) * 2017-06-27 2017-09-29 华中科技大学 A kind of digital control system interface configuration development approach
CN107220064B (en) * 2017-06-27 2019-06-25 华中科技大学 A kind of digital control system interface configuration development approach
CN108334029A (en) * 2017-12-11 2018-07-27 武汉华中数控股份有限公司 The numerically-controlled machine tool equipment of embedded error compensation function and its compensation method
CN108919746A (en) * 2018-07-05 2018-11-30 大连理工大学 A kind of the Thermal Error test and analysis method of switch platform
CN109143970A (en) * 2018-09-25 2019-01-04 广州巨枫科技有限公司 A kind of heavy machine tool error compensation system
CN110161969A (en) * 2019-06-26 2019-08-23 珠海格力智能装备有限公司 Error compensating method and device
CN110161969B (en) * 2019-06-26 2020-11-27 珠海格力智能装备有限公司 Error compensation method and device
CN110618705A (en) * 2019-10-23 2019-12-27 北京机械设备研究所 Digital electric steering engine environment temperature compensation method and device
CN111381560A (en) * 2020-04-30 2020-07-07 中国航发哈尔滨东安发动机有限公司 Zero point compensation method and device for mechanical processing
CN111381560B (en) * 2020-04-30 2023-01-06 中国航发哈尔滨东安发动机有限公司 Zero point compensation method and device for mechanical processing
CN114442556A (en) * 2022-01-24 2022-05-06 科德数控股份有限公司 Machine tool rapid compensation system based on laser interference principle and compensation method thereof
CN114442556B (en) * 2022-01-24 2024-04-16 科德数控股份有限公司 Quick compensation system and compensation method for machine tool based on laser interference principle

Also Published As

Publication number Publication date
CN103345199B (en) 2016-03-30

Similar Documents

Publication Publication Date Title
CN103345199B (en) Based on numerically-controllmachine machine tool error compensation system and the method for man-machine interface secondary development
CN105759718B (en) Numerical control machining tool heat error online compensation method and system
CN102629121B (en) Intelligent compensation system for geometrical and heating position errors of numerical control machine
CN101943896B (en) Trajectory regeneration compensation method of numerical control machine error
CN103676781B (en) A kind of error dynamic compensation system based on Siemens's 840D secondary interface
CN103792910B (en) A kind of network group control formula error dynamic compensation system of Digit Control Machine Tool
CN105269404B (en) Numerically-controlled machine tool point of a knife dynamic characteristic accuracy detecting device and its method
CN103048968B (en) Network cluster-control-based numerical control machine tool error real-time compensation system and compensation method
Huang et al. Integrated post-processor for 5-axis machine tools with geometric errors compensation
CN107861470A (en) Main shaft of numerical control machine tool thermal stretching real-time error compensation method based on PMC controls
CN105404237A (en) Numerical control machine tool space error modeling method based on space grid compensation mode
CN107553220A (en) A kind of Digit Control Machine Tool composition error real-time compensation method
Wang et al. Thermal sensor selection for the thermal error modeling of machine tool based on the fuzzy clustering method
CN102736557A (en) Numerical control machine tool error real-time compensation system based on virtual instrument
CN106444628A (en) Numerically-controlled machine tool spindle thermal extension error real-time compensation method
CN103576604A (en) Dynamic real-time compensation system for positioning errors of numerical-control machine tool
CN101751001B (en) Thermal error compensation method for tool machine
CN108334029A (en) The numerically-controlled machine tool equipment of embedded error compensation function and its compensation method
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
Liu et al. Comprehensive thermal compensation of the servo axes of CNC machine tools
Liu et al. Dynamic and static error identification and separation method for three-axis CNC machine tools based on feature workpiece cutting
CN107066726B (en) Numerical control machine tool rotating shaft perpendicularity error modeling method
CN208945752U (en) A kind of thermal compensation device of electric main shaft of digital control machine tool
Lamikiz et al. Machine tool performance and precision

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant