CN1258431C - Method for compensating error of numeric-contrlled machine and system - Google Patents

Method for compensating error of numeric-contrlled machine and system Download PDF

Info

Publication number
CN1258431C
CN1258431C CN 200410003487 CN200410003487A CN1258431C CN 1258431 C CN1258431 C CN 1258431C CN 200410003487 CN200410003487 CN 200410003487 CN 200410003487 A CN200410003487 A CN 200410003487A CN 1258431 C CN1258431 C CN 1258431C
Authority
CN
China
Prior art keywords
control
platen
error
displacement
measurement point
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN 200410003487
Other languages
Chinese (zh)
Other versions
CN1562563A (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.)
Tsinghua University
Original Assignee
Tsinghua 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 Tsinghua University filed Critical Tsinghua University
Priority to CN 200410003487 priority Critical patent/CN1258431C/en
Publication of CN1562563A publication Critical patent/CN1562563A/en
Application granted granted Critical
Publication of CN1258431C publication Critical patent/CN1258431C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Numerical Control (AREA)

Abstract

The present invention relates to a numerical control machine tool error compensation method and a system thereof, which belongs to the technical field of numerical control machine tools. The present invention is characterized in that double position closed-loop control is realized by using semi-closed-loop position control mainly, using full-closed-loop position control additionally and using an inductosyn as a feedback element of a terminal actual position based on a real-time multitask RT-Linux operating system of a PC platform. At the same time, a closed-loop control system of a machine tool worktable position realizing the semi-closed-loop by using a servo motor and realizing the full-closed-loop by using the inductosyn is correspondingly proposed. The positioning accuracy and the path tracking precision of a feeding system of the numerical control machine tool controlled by the semi-closed-loop position are enhanced, when a positioning error of the numerical control machine tool changes along with time change, positioning error compensation energy can be updated and corrected in a real-time mode.

Description

NC machine tool error compensation process and system
Technical field
NC machine tool error compensation process and system belongs to the numerical control machine tool technique field.
Background technology
Mostly adopt the kind of drive of rotating servo motor+ball-screw at numerically controlled machine, include shaft coupling, ball-screw, pair of nut, bearing etc. in the mechanical drive train and owe stiffener, and also having manufacturing, alignment error and the drive gap of feed screw nut in the mechanical drive train, the existence of these factors seriously influences the positioning accuracy and the track following precision of system.
In position control systems such as lathe, generally be to utilize the feedback loop of the angular displacement information of servomotor, thereby constitute the position control system of a semiclosed loop as Position Control.In this control mode, factors such as the rigidity of driven mechanical part bring influence can for the stability of control system, thereby have than the advantage that is easier to the construction location control system.But owing to be driven the influence of factors such as elasticity that mechanical part exists, friction, non-linear and geometric error, realize relatively difficulty of the high position control accuracy of driven mechanical part, in addition, Digit Control Machine Tool adopts the feed screw nut auxiliary driving, owing in the process of leading screw and nut, unavoidably have mismachining tolerance, thereby cause the pitch error of Digit Control Machine Tool transmission process.
Because the existence of pitch error, when Digit Control Machine Tool adopts the semiclosed loop Position Control, even the angle of revolution displacement accuracy of servomotor is very high, but be when finally controlling target, in control procedure, will produce position error and track following error inevitably with the worktable displacement.Therefore, in most numerical control device,, all possesses the The compensation of pitch error function usually in order to compensate lathe position error and the track following error that pitch error causes.They are when carrying out The compensation of pitch error, by measuring the pitch error of screw pair transmission system in advance, then this pitch error and its corresponding coordinate position are stored in the numerical control device, when digital control system is carried out the reference axis motion control, the pitch error of machine coordinates position correspondence is added in the control instruction, realizes compensation pitch error.
In addition, the The compensation of pitch error function of traditional Digit Control Machine Tool semiclosed loop position control system, the coordinate position of The compensation of pitch error amount and platen is corresponding.In fact, in the screw pair transmission process of lathe, during Position Control because the difference of the direction of motion, the contact-making surface of leading screw and nut is also different, and the pitch error that the mismachining tolerance in the process of leading screw and nut causes, different these errors of the direction of motion are also inequality, even thereby on lathe identical position the position error of same point is not inequality yet because the direction of motion does not coexist.Therefore traditional The compensation of pitch error method is difficult to realize high-precision positioning accuracy.
And, if lathe is long-time use after, owing to mechanical wear, reason such as loosening, the position error of lathe and track following error also can change over time.Thereby after a period of time, the requirement that the error compensation value that records at first can not the adaline tool error compensation must remeasure the error compensation amount of lathe, revises the error compensation parameter of digital control system.
Relative therewith, if the feedback loop utilization is the positional information of driven mechanical part, then constituted the position control system of a full cut-off ring, in the position control system of full cut-off ring, even there is pitch error in system, because location feedback value directly is exactly to control the physical location of object, thereby in theory, the Full Closed-loop Position control system can not produce pitch error.In this control mode, when the rigidity of the mechanical part between servomotor and the position sensor is hanged down, the stability that is difficult to the retentive control system, though the gain that reduces control system can improve the stability of system, the control system gain lower time the positioning accuracy and the track following precision of lathe be difficult to again guarantee.
Melt semiclosed loop and full cut-off cyclization two closed loop position control systems, can remedy shortcoming separately, obtain higher position control accuracy and good position control system stability in one.Its essence is and utilized servomotor position and load (platen) position, for control system provides the control parameter.In this control scheme, with the half-closed loop control is basic control structure, additional one with the deviation of the position of the position of servo motor shaft and bearing axle control loop as the target location of load, come real-time Correction and Control desired value, thereby realize the physical location of bearing axle and the such control function of uniformity of target location.This control system structure has the stability identical with the half-closed loop control system, and has the position control accuracy of controlling effect with the full cut-off ring equally again under the lower situation of load rigidity.
Position detecting device commonly used comprises inductosyn, grating, magnetic grid, pulse coder, rotary transformer etc.Pulse coder and rotary transformer are commonly used for half-closed loop control, and grating and magnetic grid are as the feedback element of full cut-off ring control, and inductosyn is then done digital display control.
Grating and magnetic grid cost an arm and a leg, and working environment is required height, and the maintenance trouble will increase cost budgeting, and particularly for the large-size numerical control machine of long stroke, this is high expense.And inductosyn has low price, and is low to the working environment requirement, and installation and maintenance are all very convenient, and spreading is easy, is particularly suitable for big travel position and detects.
Inductosyn position probing principle is different with grating, magnetic grid etc., position detection signal is incompatible with it, and usually the acceptable feedback signal of digital control system all is the TTL square-wave signal of similar pulse coder, and therefore the inductosyn digitlization that is confined to machine tool position in the past shows.
In order to make full use of the advantage of inductosyn, it can be applied in digital control system as the position feedback element, must carry out corresponding conversion process to the detection signal of inductosyn, soon the detected alternation sine and cosine of inductosyn analog signal conversion is and the output compatible A of incremental optical-electricity encoder, B, Z signal.Signal after the conversion can be directly as the position feed back signal of the full cut-off ring of NC system.
The present invention is exactly the accuracy compensation problem at Digit Control Machine Tool, takes measures on control system hardware configuration and control algolithm, to improve the motion control precision of Digit Control Machine Tool.
Summary of the invention
The object of the present invention is to provide a kind of Digit Control Machine Tool error compensating method and system.
Error compensating method of the present invention is characterized in that: it is a kind of based on the semiclosed loop Position Control, and Full Closed-loop Position is controlled to be the error compensating method of auxilliary two-position closed-loop control, and it is realized according to following steps based on the PC platform:
(1) deposit PC after the following parameter of initialization in:
Platen theoretical error compensation weights ω: 0≤ω≤0.3;
The pulse equivalency δ of Digit Control Machine Tool control system;
The theoretical departure of platen is measured frequency n, chooses n between 10~20;
Platen departure measurement point number j generally determines measurement point number j with measurement point spacing 10~20mm;
The i time platen displacement control instruction value x based on the rotating servo motor angular displacement of j measurement point (i, j);
K control cycle is based on the platen straight-line displacement control instruction value Δ x of rotating servo motor angular displacement m(k), the initial value ε (k of error precompensation o);
(2) PC calculates according to following formula, the average Δ (j) of the actual displacement error of i measurement point machine coordinates axle:
Δ ( j ) = 1 n Σ i = 1 n ( ( x s ( i , j ) - x ( i , j ) ) - ( x m ( i , j ) - x ( i , j ) ) )
Wherein, x s(i, j): j the platen physical location that measurement point is obtained by linear induction synchro measure on the platen for the i time;
x m(i, j): the physical location of the platen that j measurement point the i time measured by incremental optical-electricity encoder on the rotating servo motor;
X (i, j): the i time control instruction value of j measurement point based on the platen of rotating servo motor angular displacement;
(3) Δ (j) value is deposited in the PC, whether repeating step (2) judges circulation measurement number of times greater than n again, if greater than n, n is that the theoretical departure of platen is measured number of times, then carries out following steps;
(4) PC is calculated as follows the theoretical displacement control instruction Δ x of k control cycle machine coordinates axle s(k):
Δx s ( k ) = Δx m ( k ) + Δ ( j + 1 ) - Δ ( j ) x ( j + 1 ) - x ( j ) Δx m ( k )
Wherein, Δ x m(k): k control cycle is based on the platen straight-line displacement control instruction of rotating servo motor angular displacement;
Δ (j+1): the error of the actual value of j+1 measurement point machine coordinates axle;
Δ (j): the error of the actual value of j measurement point machine coordinates axle;
X (j+1): the physical location of j+1 measurement point lathe coordinate system;
X (j): the physical location of j measurement point lathe coordinate system;
(5) PC is calculated as follows the theoretical error ε of the corresponding platen displacement of k control cycle n(k):
ε n(k)=Δx m(k)-Δx s(k)
(6) PC is calculated as follows the actual displacement control instruction Δ x (k) of the machine coordinates axle of k control cycle:
Δx(k)=(Δx m(k)+ω×ε n(k))/δ
(7) PC is calculated as follows the actual error ε (k) of the corresponding platen displacement of k control cycle:
ε(k)=x s(k)+x m(k)
Wherein, Δ x s(k): k the platen actual displacement that control cycle is measured by linear inductosyn,
Δ x m(k): k the platen actual displacement that the control cycle rotating servo motor measures from last incremental optical-electricity encoder,
(8) PC is calculated as follows the corresponding platen working control error pre-compensation value of k+1 control cycle
Figure C20041000348700071
ϵ ^ ( k + 1 ) = ϵ ^ ( k ) + w [ ϵ ( k ) - ϵ ^ ( k ) ]
Wherein,
Figure C20041000348700073
The platen working control error compensation value of k control cycle;
ε (k): the actual error of the corresponding platen displacement of k control cycle;
(9) to be calculated as follows the machine tool position control instruction of k control cycle be SERVO CONTROL command value r to PC:
r = Δ n x ( k ) = [ Δx m ( k ) + ω × ϵ n ( k ) + ( 1 - ω ) × ϵ ^ ( k ) ] / δ .
The Digit Control Machine Tool error compensation system is characterized in that, it contains:
Industrial PC Computer, the servo-driver of embedded position control card, measurement interface card, Industrial PC Computer and servo-driver are interconnected with two interfaces of above-mentioned Position Control card respectively, and Industrial PC Computer links to each other with measurement interface output again;
The inductosyn post processing circuitry, it is connected in series by signal amplification circuit, shaping and filter circuit, signaling conversion circuit successively, and the output of signaling conversion circuit links to each other with above-mentioned measurement interface card input;
Incremental optical-electricity encoder, they link to each other with servo-driver is coaxial, and their outputs link to each other with above-mentioned servo-driver input;
Servomotor, it links to each other through leading screw-nut body with platen; Its input links to each other with above-mentioned servo-driver output;
Inductosyn, it is fixed on the platen, and its signal output part links to each other with signal amplification circuit input in the above-mentioned inductosyn treatment circuit.
Effect data
The control object is the motion platform of TSA200 type AC servo machinery driving, and parameter is:
Project Numerical value Unit
Range 160 mm
Mesa dimensions
90×90 mm
The leading screw helical pitch 4 mm
Servomotor power 200 W
The servomotor maximum (top) speed 2000 Rpm
Leading screw end play <100 Um
Encoder 2000 Groove
Linear grating resolution ratio 1 Um
Control resolution 0.5 um
Track error measured curve such as Fig. 5 a;
With the same same distance of speed operation, compensation back track following error is 66.5um, and control accuracy has improved 100%, track following error measured curve such as Fig. 5 b;
Adopt U.S. Optodyne laser interferometer (accuracy of instrument: 0.00002 ± 1e-7mm) actual measurement, repetitive positioning accuracy 125um before the compensation, position error measured curve such as Fig. 5 c through China metering president degree measuring chamber;
Compensation back repetitive positioning accuracy is 16um, has improved about 8 times, resetting error measured curve such as Fig. 5 d.
Description of drawings
Fig. 1. the theory diagram of the Digit Control Machine Tool error compensation system of being invented.
Fig. 2. the theory diagram of the rearmounted treatment circuit of the signal of linear inductosyn.
Fig. 3. the error compensation control schematic diagram of the method for the invention.
Fig. 4. the computer programme flow diagram of the method for the invention.
Fig. 5. the effect data figure of the method for the invention: 5a, 5b, 5c, 5d.
The specific embodiment
Characteristics of the present invention are that the hardware of realizing is the two-position closed-loop control device of terminal physical location feedback element based on PC platform, software based on the RTLinux operating system of real-time multi-task, based on the semiclosed loop Position Control, with induction synchronous task device, solution is adopted with the contradiction between the control accuracy of the Digit Control Machine Tool of feed screw nut auxiliary driving or workbench, the stability of a system, the ratio of performance to price, mainly comprises following content.
1. adopt linear inductosyn as numerically controlled machine straight-line displacement measuring cell, have the numerical control device that two-position information detects.
In this numerical control device, the main body of Position Control is the semiclosed loop Position Control mode that is made of the servomotor incremental optical-electricity encoder, semiclosed loop is that the angle of revolution displacement of servomotor adopts traditional incremental optical-electricity encoder as measurement mechanism, and position full cut-off ring information measurement partly is that the straight-line displacement of platen adopts linear inductosyn as measurement mechanism.
2. numerical control device hardware is based on the Industrial PC platform, mainly be made up of Industrial PC, Position Control card and IO interface card, the rearmounted processing module of numerically controlled machine terminal induction synchronized, platen displacement measurement interface card, each control card is controlled and communication by the PC bus; Software is based on real-time multi-task operating system RT-Linux, the PLC control task of measuring task, outer shroud Position Control task and CNC system by CNC half-closed loop control task, based on the terminal location of inductosyn is formed, and each task is activated and dispatched by the CNC master control system.
In the device of this invention, the unique distinction of hardware configuration is in the numerical control device except general-purpose industrial PC and Position Control card, also added the numerically controlled machine actual displacement measurement mechanism and signal receiving device and the displacement measurement card that show unique characteristics, it is also inequality that this displacement measurement is stuck in the function and the effect of two closed loop position control systems that effect in the whole digital control system and other digital control system adopt.It is an auxiliary measurement means, and two tasks of the collection of its signal and compensate function are dispatched by software and realized.
3. the rearmounted treating apparatus of inductosyn that is used for platen coordinates of motion axle straight-line displacement digitized measurement.
This device is directly measured the actual displacement of platen rectilinear coordinates axle with linear inductosyn, convert to and the identical A of increment volume photoelectricity sign indicating number device output signal with the output signal of rearmounted treatment circuit then linear inductosyn, A, B, B, Z, Z standard Transistor-Transistor Logic level, handle by the numerically controlled machine displacement measurement interface card of the apparatus of the present invention in the summary of the invention 2 then, can generate the digital information of corresponding displacement.
4. in numerical control device of the present invention, by Digit Control Machine Tool full cut-off ring displacement error model and data that the data that adopt the detection of apparatus of the present invention measuring system to obtain generate, this model and data are used to compensate the positioning accuracy of semiclosed loop Digit Control Machine Tool.
The numerical control device of this invention, the Digit Control Machine Tool displacement signal of the correspondence by gathering the servomotor photoelectric encoder and the actual displacement signal of the numerically controlled machine that linear inductosyn measures, resolve the displacement error in the Digit Control Machine Tool motion process, through repeatedly duplicate measurements, measured Digit Control Machine Tool actual displacement error is carried out match, obtain the actual displacement error model in the Digit Control Machine Tool motion process, according to this error model, generate the theoretic full cut-off ring of Digit Control Machine Tool displacement error model and data then.Theoretical displacement model of the Digit Control Machine Tool full cut-off ring that generates and data are used for the generation of the numerically controlled machine situation theory error of summary of the invention 5.
Full cut-off ring displacement error model and data are not subjected to the restriction of other condition, can generate at any time and upgrade, and Digit Control Machine Tool is having the use that does not influence this function under load or the non-loaded situation.This is that the present invention compares and exclusive superiority with traditional machine tool error compensating measurement method, also is one of characteristic of the present invention.
Full cut-off ring displacement error model and data generating procedure are as follows:
Δ ( j ) = 1 n Σ i = 1 n ( ( x s ( i , j ) - x ( i , j ) ) + ( x m ( i , j ) - x ( i , j ) ) ) - - - ( 1 )
Δ (j)---the actual displacement error of j measurement point machine coordinates axle
x s(i, j)---j the platen actual displacement that measurement point is measured by linear inductosyn for the i time
x m(i, j)---j the platen actual displacement that measurement point is measured by incremental optical-electricity encoder for the i time
X (i, j)---the i time platen displacement control instruction value of j measurement point based on the rotating servo motor angular displacement
The theoretical departure of n---platen is measured number of times, chooses as required, is chosen as between 10~20
J---platen error measure point number is determined according to table stroke and digital control system servo period, can determine the measurement point number with measurement point spacing 10~20mm.
After platen actual displacement error measure finishes, these data are stored in the digital control system, are used to generate the theoretical displacement control instruction of machine coordinates axle.The theoretical displacement control instruction of machine coordinates axle adopts subordinate's method to generate:
Δx s ( k ) = Δx m ( k ) + Δ ( j + 1 ) - Δ ( j ) x ( j + 1 ) - x ( j ) Δx m ( k ) - - - ( 2 )
Δ x s(k)---the theoretical displacement control instruction of k control cycle machine coordinates axle
Δ x m(k)---k control cycle is based on the platen straight-line displacement control instruction of rotating servo motor angular displacement
Δ (j+1)---the actual displacement error of j+1 measurement point machine coordinates axle
Δ (j)---the actual displacement error of j measurement point machine coordinates axle
X (j+1)---j+1 measurement point is based on the physical location of lathe coordinate system
X (j)---j measurement point is based on the physical location of lathe coordinate system
Adopt formula (2) when calculating, at first will judge Δ x m(k) residing point position calculates then.
5. the platen situation theory error generation method that generates based on numerical control device inside corresponding to the platen straight-line displacement control instruction of rotating servo motor angular displacement and corresponding platen reference axis straight-line displacement instruction.
In the numerical control device of this invention, the NC code that will carry out according to Digit Control Machine Tool, the inner control instruction maker of device at first generates corresponding rotating servo motor angular displacement instruction, the factors such as gap, feed screw nut transmission stiffness, friction and pitch error of mechanical system are not considered in the platen reference axis straight-line displacement instruction of this angular displacement correspondence, only consider the angular displacement one straight-line displacement gearratio (leading screw helical pitch) of machinery, the generation of control instruction and corresponding control model are based on desirable semiclosed loop model.The control instruction maker also will directly generate platen reference axis straight-line displacement instruction simultaneously, the factors such as gap, feed screw nut transmission stiffness, friction and pitch error of mechanical system have been considered in this straight-line displacement instruction, and the generation of control instruction and corresponding control model are based on machine tool position full cut-off ring control model.
More than two kinds of differences in the displacement commands of same Position Control in the cycle, exactly by adopt in the inner machine tool position control procedure that generates automatically of controller between position semiclosed loop and the control of position full cut-off ring because the theoretical departure value that the control mode difference is produced.Theoretical departure value generation method is as follows:
ε n(k)=Δx m(k)-Δx s(k) (3)
Δ x s(k)---the theoretical displacement control instruction of k control cycle machine coordinates axle
Δ x m(k)---k control cycle is based on the platen straight-line displacement control instruction of rotating servo motor angular displacement
ε n(k)---the platen theoretical error of the corresponding platen displacement of k control cycle
6. generate the actual displacement control instruction generation method of machine coordinates axle based on the platen straight-line displacement control instruction of rotating servo motor angular displacement.
Because the rectilinear motion of platen is the straight-line displacement that the servomotor angular displacement is converted into platen by the feed screw nut transmission, when adopting the feed screw nut auxiliary driving since exist in the system friction, elasticity, etc. link, if adopt simple conversion will produce the errors of principles, cause platen to produce position error.Therefore, in the control procedure of numerical control device, according to each specific platen, control algolithm by internal system, the displacement controlled quentity controlled variable that the NC code is determined is converted to the angular displacement instruction of rotating servo motor and corresponding platen reference axis straight-line displacement instruction respectively, compare the relation between these two displacements, determine the displacement control instruction of numerical control device reality.The displacement control instruction generation method of numerical control device reality is as follows:
Δx(k)=(Δx m(k)+ω×ε n(k))/δ (4)
Δ x (k)---the actual displacement control instruction of k control cycle machine coordinates axle
Δ x m(k)---k control cycle is based on the platen straight-line displacement control instruction of rotating servo motor angular displacement
ε n(k)---the platen theoretical error of the corresponding platen displacement of k control cycle
δ---the pulse equivalency of Digit Control Machine Tool control system
ω---platen theoretical error compensation weights, 0≤ω≤1
7. based on generating that the externally measured element of numerical control device generates corresponding to the rotating servo motor actual displacement angle of NC code and the platen position actual error of the actual straight-line displacement of platen reference axis of correspondence.
In the numerical control device of this invention, control system is a position servo control in the cycle, produce the servomotor value of angular displacement by the photoelectric encoder that detects on the rotating servo motor, simultaneously by detecting the actual displacement of the additional numerically controlled machine that produces by linear inductosyn and rearmounted treatment circuit thereof on the numerically controlled machine.The former is the actual displacement of lathe under the half-closed loop control mode situation of position, and the latter is the actual displacement of platen under the full cut-off ring mode of position.
More than two kinds of differences in the actual displacement of same Position Control in the cycle, be exactly to adopt position semiclosed loop and the control of position full cut-off ring in the Digit Control Machine Tool working control process because the different actual displacement error amounts that produce of control mode.
ε(k)=x s(k)+x m(k) (5)
x s(k)---k the platen actual displacement that control cycle is measured by linear inductosyn
x m(k)---k the platen actual displacement that control cycle is measured by incremental optical-electricity encoder
ε (k)---the platen actual error of the corresponding platen displacement of k control cycle
Actual displacement error ε (k) in the formula (5) is the error amount of current servo period, be to realize real-time error compensation, will observe and predicts error in each sampling period, obtains the error pre-compensation value of next instruction point.Employing is easy to calculate in real time and is easy to the exponential weighting smoothing prediction.This Forecasting Methodology need not modeling, directly utilizes the data of gathering to predict that the recursion calculating formula of exponential weighting smoothing prediction is:
ϵ ^ ( k + 1 ) = ϵ ^ ( k ) + w [ ϵ ( k ) - ϵ ^ ( k ) ] - - - ( 6 )
---k+1 control cycle platen working control error prediction value
Figure C20041000348700113
---k control cycle platen working control error prediction value
ε (k)---the platen actual error of the corresponding platen displacement of k control cycle
W---weight coefficient is often got 0<w<=0.3 in the engineering, to guarantee to obtain higher forecast precision.
8. in numerical control device, based on the method for the physical location control instruction that generates the machine coordinates axle after the compensation corresponding to the site error value information that generates in the rotating servo motor angular displacement instruction of NC code and top the 5th summary of the invention and the 6th summary of the invention.
The numerical control device of this invention, the agent structure of Position Control remains the Position Control mode of semiclosed loop, so both can give full play to the advantage of semiclosed loop Position Control mode, and can all adopt this reality of semiclosed loop Position Control at present most Digit Control Machine Tool again simultaneously.The displacement control instruction that generates in the numerical control device is actually the angular displacement instruction at servomotor, just when this displacement commands generates, the displacement error information that has also added simultaneously summary of the invention 6 and summary of the invention 7, obtain the actual displacement control instruction of machine coordinates axle, improve the position control accuracy of Digit Control Machine Tool reference axis with this.
r = Δ n x ( k ) = [ Δx m ( k ) + ω × ϵ n ( k ) + ( 1 - ω ) × ϵ ^ ( k ) ] / δ - - - ( 7 )
Δ x n(k)---the actual displacement control instruction of k control cycle machine coordinates axle
Δ x m(k)---k control cycle is based on the platen straight-line displacement control instruction of rotating servo motor angular displacement
ε n(k)---the platen theoretical error of the corresponding platen displacement of k control cycle
δ---the pulse equivalency of Digit Control Machine Tool control system
ω---platen theoretical error compensation weights, 0≤ω≤1
Figure C20041000348700122
---k control cycle platen working control error prediction value
The actual displacement control instruction (SERVO CONTROL command value) of r---k control cycle machine coordinates axle
9. in numerical control device,, be the position control method of major control object with the servomotor based on the machine tool position control instruction that generates in the summary of the invention 8.
Include the displacement error information that content 4 of the present invention and summary of the invention 5 are generated in the Position Control instruction that numerical control device generates, and the control of numerical control device reality is to liking servomotor, the target of control is the position control accuracy of numerically controlled machine reference axis, therefore the semiclosed loop positioner structure of semiclosed loop positioner structure of the present invention and algorithm and routine and algorithm are compared and are had specific characteristics, and do not comprise the control information of content 6 of the present invention and summary of the invention 7 in the conventional semiclosed loop Position Control instruction.
The structure of the present invention and the course of work such as Fig. 1~shown in Figure 4 below describe in conjunction with figure apparatus of the present invention embodiment.
Fig. 1 is a Digit Control Machine Tool error-compensating apparatus composition diagram of the present invention, and this numerical control device adopts Industrial PC Computer 1 as main control computer, based on the RT-Linux real-time multi-task operating system.The hardware of numerical control device 2 is by inserting the Position Control card 3 in the PC and measure interface card 4 and form, and realizes control and error compensation to Digit Control Machine Tool by supporting control software.The effect of Position Control card 3 is that the control signal that numerical control device software calculates is changed, deliver on the servo-driver, finish position servo function to lathe, it also will obtain the signal of servomotor incremental optical-electricity encoder 7 from servo-driver simultaneously, offers numerical control device 2 and makes feedback information.The measurement interface card 4 of numerical control device 2 resolves the actual position information of the platen 7 that inductosyn post processor 6 is brought, and supplies numerical control device as the error compensation information source.The control signal that servo-driver 5 is brought the Position Control card 3 of numerical control device 2 is handled, and finishes the half-closed loop control to Digit Control Machine Tool.
Fig. 2 is rearmounted 6 structure and the fundamental diagram handled of inductosyn among Fig. 1, the signal that signal amplifying apparatus 13 in the inductosyn post processor 6 is brought the linear inductosyn in apparatus of the present invention 9 amplifies, handle through shaping and filter 14 then, send into signal adapter 15 and carry out the signal conversion.Signal adapter 15 is sent shaping and filter 14 and inductosyn reference signal generator 16 to come signal and is resolved, and generates and the Transistor-Transistor Logic level signal of incremental optical-electricity encoder output signal compatibility.This signal offers the measurement interface card 4 of numerical control device 2 of the present invention, carries out resolving of signal by measuring interface card 4, obtains the actual displacement of numerically controlled machine 10, supplies numerical control device as the error compensation information source.
Fig. 3 is the error compensation control calcspar of numerical control device 2 of the present invention, also is one of the core of apparatus of the present invention and characteristic.The lathe deviations of actual position computing unit 20 of the semiclosed loop position control 17 of numerical control device 2 by obtaining numerical control device 2 and the control information of the lathe theoretical position error calculation unit 21 of numerical control device 2, calculate the actual displacement error compensation value of numerical control device 2 at the numerically controlled machine 10 in this position servo cycle, the semiclosed loop feedback information that Position Control instruction r that this offset and numerical control device 2 are received and the servomotor encoder 7 Position Control card feedback input interface 18 by Position Control card 3 obtains carries out position servo by semiclosed loop position control 17 to be regulated, the adjusting calculated result is delivered to servo-driver 5 by the Position Control card output interface 19 of Position Control card 3 and is carried out the adjusting of speed and electric current, finish position servo control, also finish semiclosed loop Position Control simultaneously Digit Control Machine Tool to servomotor 8.The information that includes the control of lathe full cut-off ring in the adjusting information in this semiclosed loop Position Control process, promptly by error compensating method of the present invention, utilize the theoretical error information and the actual error information of numerically controlled machine 10 motion processes, kinematic error to platen 10 is carried out real-time dynamic compensation, improves the kinematic accuracy of numerically controlled machine 10.
The program flow chart of computer is seen Fig. 4.
By the present invention, can improve positioning accuracy and track following precision with the NC machine tool feed system of semiclosed loop Position Control.And, when digital control machine tool positioning error changes in time, renewal and correction that the error compensation amount of position error can be real-time.

Claims (2)

1, the error compensating method of Digit Control Machine Tool is characterized in that, it is a kind of based on the semiclosed loop Position Control, and Full Closed-loop Position is controlled to be the error compensating method of auxilliary two-position closed-loop control, and it is realized according to following steps based on the PC platform:
(1) deposit PC after the following parameter of initialization in:
Platen theoretical error compensation weights ω: 0≤ω≤0.3;
The pulse equivalency δ of Digit Control Machine Tool control system;
The theoretical departure of platen is measured frequency n, chooses n between 10~20;
Platen departure measurement point number j generally determines measurement point number j with measurement point spacing 10~20mm;
The i time platen displacement control instruction value x based on the rotating servo motor angular displacement of j measurement point (i, j);
K control cycle is based on the platen straight-line displacement control instruction value Δ x of rotating servo motor angular displacement m(k), the initial value ε (k of error precompensation 0);
(2) PC calculates according to following formula, the average Δ (j) of the actual displacement error of i measurement point machine coordinates axle:
Δ ( j ) = 1 n Σ i = 1 n ( ( x s ( i , j ) - x ( i , j ) ) - ( x m ( i , j ) - x ( i , j ) ) )
Wherein,
x s(i, j): j the platen physical location that measurement point is obtained by linear induction synchro measure on the platen for the i time;
x m(i, j): the physical location of the platen that j measurement point the i time measured by incremental optical-electricity encoder on the rotating servo motor;
X (i, j): the i time control instruction value of j measurement point based on the platen of rotating servo motor angular displacement;
(3) Δ (j) value is deposited in the PC, whether repeating step (2) judges circulation measurement number of times greater than n again, if greater than n, n is that the theoretical departure of platen is measured number of times, then carries out following steps;
(4) PC is calculated as follows the theoretical displacement control instruction Δ x of k control cycle machine coordinates axle s(k):
Δ x s ( k ) = Δ x m ( k ) + Δ ( j + 1 ) - Δ ( j ) x ( j + 1 ) - x ( j ) Δ x m ( k )
Wherein,
Δ x m(k): k control cycle is based on the platen straight-line displacement control instruction of rotating servo motor angular displacement;
Δ (j+1): the error of the actual value of j+1 measurement point machine coordinates axle;
Δ (j): the error of the actual value of j measurement point machine coordinates axle;
X (j+1): the physical location of j+1 measurement point lathe coordinate system;
X (j): the physical location of j measurement point lathe coordinate system;
(5) PC is calculated as follows the theoretical error ε of the corresponding platen displacement of k control cycle n(k):
ε n(k)=Δx m(k)-Δx s(k)
(6) PC is calculated as follows the actual displacement control instruction Δ x (k) of the machine coordinates axle of k control cycle:
Δx(k)=(Δx m(k)+ω×ε n(k))/δ
(7) PC is calculated as follows the actual error ε (k) of the corresponding platen displacement of k control cycle:
ε(k)=x s(k)+x m(k)
Wherein,
Δ x s(k): k the platen actual displacement that control cycle is measured by linear inductosyn,
Δ x m(k): k the platen actual displacement that the control cycle rotating servo motor measures from last incremental optical-electricity encoder,
(8) PC is calculated as follows the corresponding platen working control error pre-compensation value of k+1 control cycle
ϵ ^ ( k + 1 ) = ϵ ^ ( k ) + w [ ϵ ( k ) - ϵ ^ ( k ) ]
Wherein,
The platen working control error compensation value of k control cycle;
ε (k): the actual error of the corresponding platen displacement of k control cycle;
(9) to be calculated as follows the machine tool position control instruction of k control cycle be SERVO CONTROL command value r to PC:
r = Δ n x ( k ) = [ Δx m ( k ) + ω × ϵ n ( k ) + ( 1 - ω ) × ϵ ^ ( k ) ] / δ - - - .
2, the Digit Control Machine Tool error compensation system is characterized in that, it contains:
Industrial PC Computer, the servo-driver of embedded position control card, measurement interface card, Industrial PC Computer and servo-driver are interconnected with two interfaces of above-mentioned Position Control card respectively, and Industrial PC Computer links to each other with measurement interface output again;
The inductosyn post processing circuitry, it is connected in series by signal amplification circuit, shaping and filter circuit, signaling conversion circuit successively, and the output of signaling conversion circuit links to each other with above-mentioned measurement interface card input;
Incremental optical-electricity encoder, they link to each other with servo-driver is coaxial, and their outputs link to each other with above-mentioned servo-driver input;
Servomotor, it links to each other through leading screw-nut body with platen; Its input links to each other with above-mentioned servo-driver output;
Inductosyn, it is fixed on the platen, and its signal output part links to each other with signal amplification circuit input in the above-mentioned inductosyn treatment circuit.
CN 200410003487 2004-03-31 2004-03-31 Method for compensating error of numeric-contrlled machine and system Expired - Fee Related CN1258431C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200410003487 CN1258431C (en) 2004-03-31 2004-03-31 Method for compensating error of numeric-contrlled machine and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200410003487 CN1258431C (en) 2004-03-31 2004-03-31 Method for compensating error of numeric-contrlled machine and system

Publications (2)

Publication Number Publication Date
CN1562563A CN1562563A (en) 2005-01-12
CN1258431C true CN1258431C (en) 2006-06-07

Family

ID=34477616

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200410003487 Expired - Fee Related CN1258431C (en) 2004-03-31 2004-03-31 Method for compensating error of numeric-contrlled machine and system

Country Status (1)

Country Link
CN (1) CN1258431C (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101806580A (en) * 2010-03-19 2010-08-18 东华大学 Motion control system and method for high-precision image measuring apparatus
CN101332524B (en) * 2007-06-25 2010-10-06 西门子工厂自动化工程有限公司 Numerical control generating gear grinding machine and numerical control device thereof and driving method
CN101842189B (en) * 2007-11-02 2011-11-16 株式会社牧野铣床制作所 Method and device for preparing error map and numerically controlled machine tool having error map preparation function
CN101791771B (en) * 2009-12-31 2013-08-07 重庆大学 Thermal error differential screw compensating device and using method thereof

Families Citing this family (43)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100429039C (en) * 2006-04-18 2008-10-29 上海富安工厂自动化有限公司 Space compensation method for numerical control tool shaft
DE102006048684A1 (en) * 2006-10-14 2008-04-17 Dr. Johannes Heidenhain Gmbh Method for positioning axes in machine tools
CN101334655B (en) * 2007-06-25 2010-06-09 西门子工厂自动化工程有限公司 Bit shift compensation device and method in numerical control machining
JP4959508B2 (en) * 2007-11-05 2012-06-27 三菱重工業株式会社 Work processing method and behavior measuring device of machine tool
CN101290266B (en) * 2008-06-17 2010-11-03 上海理工大学 Numerical control machine heat error compensation temperature point position determination method
CN101769703B (en) * 2008-12-29 2013-07-03 鸿富锦精密工业(深圳)有限公司 System and method for updating error compensation values
CN101487688B (en) * 2009-02-11 2010-12-29 中国人民解放军空军航空大学 Method and apparatus for measuring and compensating transmission error of electric cylinder
CN102332856B (en) * 2010-07-14 2014-04-02 台达电子工业股份有限公司 Dynamic compensating device for feedback position of encoder and dynamic compensating method thereof
JP5473846B2 (en) * 2010-09-17 2014-04-16 三菱重工業株式会社 Processing method
US8676373B2 (en) * 2011-02-23 2014-03-18 GM Global Technology Operations LLC Global offset compensation for a CNC machine
CN102789199B (en) * 2011-05-18 2016-08-03 科德数控股份有限公司 The compensation system of multiple error weighted superposition in digital control system
JP5266373B2 (en) * 2011-09-26 2013-08-21 ファナック株式会社 Numerical control device with tool trajectory display function
CN103123477B (en) * 2011-11-18 2014-12-24 中国科学院沈阳计算技术研究所有限公司 Shaft motion control method based on double feedbacks of motor and machine tool location
CN102722138B (en) * 2012-06-25 2014-03-12 广西工学院 Oscillation testing device of servo motor of numerical control machine tool
CN102785166B (en) * 2012-07-18 2014-08-27 华中科技大学 Kinematic transformation based grinding machining method for numerically controlled grinding wheel
TWI500474B (en) * 2012-11-09 2015-09-21 Ind Tech Res Inst Offset-measuring system of machine tool and offset-measuring method thereof
CN103809520B (en) * 2012-11-12 2017-05-10 中国科学院沈阳计算技术研究所有限公司 Full closed-loop control method for multi-shaft linked dynamic correction of interpolation positions
US10067497B2 (en) * 2015-05-06 2018-09-04 GM Global Technology Operations LLC System and method for implementing compensation of global and local offsets in computer controlled systems
CN106695451A (en) * 2015-07-22 2017-05-24 北京福田康明斯发动机有限公司 Machining device and control device and method for machined workpieces thereof
CN105171521B (en) * 2015-10-13 2017-06-27 北京卫星制造厂 A kind of high accuracy Machining of Shaft-type Parts method based on repeated detection and compensation
CN106378662B (en) * 2016-08-30 2019-01-22 苏州新代数控设备有限公司 The method for eliminating numerically-controlled machine tool axial direction offset deviation
JP6453923B2 (en) 2017-02-28 2019-01-16 ファナック株式会社 Numerical control device and machine tool system
JP6499720B2 (en) 2017-06-22 2019-04-10 ファナック株式会社 Machine learning device, servo control device, servo control system, and machine learning method
CN107806825B (en) * 2017-09-29 2019-04-09 西安交通大学 Three faces, five line lathe space geometry error measure discrimination method based on plane grating
CN108214303B (en) * 2018-03-22 2020-02-21 宁波弘讯科技股份有限公司 Lead screw output error correction method and grinding machine
CN108673239A (en) * 2018-04-23 2018-10-19 中国航发哈尔滨东安发动机有限公司 The zero-point positioning precision correcting method of Five-axis NC Machining Center
CN112041775B (en) * 2018-04-27 2024-05-31 松下知识产权经营株式会社 Motor driving device and conveying system
CN108717287B (en) * 2018-05-29 2023-07-14 西安科技大学 Friction error peak value prediction method for feeding system of numerical control machine tool in semi-closed loop control mode
CN108527003A (en) * 2018-06-28 2018-09-14 厦门攸信信息技术有限公司 A kind of deviation metering method and deviation adjusting method
CN109062139B (en) * 2018-08-10 2020-04-17 清华大学 Robot linear axis positioning error compensation method based on data driving
TWI679507B (en) * 2018-10-23 2019-12-11 國立中正大學 Learning system and method for controlling dual-axis machine tool with equivalent contour error
CN111123832B (en) * 2018-10-31 2022-09-30 富鼎电子科技(嘉善)有限公司 Detection compensation device, detection compensation method, and computer-readable storage medium
CN111113152B (en) * 2018-10-31 2021-11-02 富鼎电子科技(嘉善)有限公司 Detection compensation device, detection compensation method, and computer-readable storage medium
CN110449990A (en) * 2019-07-11 2019-11-15 科德数控股份有限公司 A kind of open loop dynamic error measurement method of closed-loop lathe
CN110286643A (en) * 2019-07-11 2019-09-27 珠海格力智能装备有限公司 Control method and device for machine tool motion track, storage medium and processor
CN111015042B (en) * 2019-12-25 2020-09-18 胡思玲 Welding moving device of welding system
CN111618654B (en) * 2020-06-04 2022-07-08 清华大学 Adaptive control method and device for blade machining process and electronic equipment
CN111665786B (en) * 2020-06-29 2021-06-29 珠海格力电器股份有限公司 Error compensation method and device for machine tool, processor and electronic device
CN112506131B (en) * 2020-11-09 2023-02-28 襄阳华中科技大学先进制造工程研究院 Method for selecting measuring point of numerical control machine tool
CN112476059B (en) * 2020-12-03 2022-11-04 武汉重型机床集团有限公司 Method for measuring running clearance error and pitch error of shaft in machine
CN112872909B (en) * 2021-01-12 2022-08-05 华中科技大学 Device and method for compensating dynamic contour error of machine tool
CN115562161B (en) * 2022-10-17 2024-02-02 南京航空航天大学 On-line monitoring-based cutter cutting path machining error compensation method
CN117507469B (en) * 2024-01-05 2024-03-22 昆山力比格智能科技有限公司 Automatic servo operation control method and system for oil press

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101332524B (en) * 2007-06-25 2010-10-06 西门子工厂自动化工程有限公司 Numerical control generating gear grinding machine and numerical control device thereof and driving method
CN101842189B (en) * 2007-11-02 2011-11-16 株式会社牧野铣床制作所 Method and device for preparing error map and numerically controlled machine tool having error map preparation function
CN101791771B (en) * 2009-12-31 2013-08-07 重庆大学 Thermal error differential screw compensating device and using method thereof
CN101806580A (en) * 2010-03-19 2010-08-18 东华大学 Motion control system and method for high-precision image measuring apparatus

Also Published As

Publication number Publication date
CN1562563A (en) 2005-01-12

Similar Documents

Publication Publication Date Title
CN1258431C (en) Method for compensating error of numeric-contrlled machine and system
CN103123477B (en) Shaft motion control method based on double feedbacks of motor and machine tool location
CN1303398C (en) Method of calibrating a scannig system
CN1823310A (en) Apparatus and method for controlling a industrial robot
CN109765848B (en) Method for calculating geometric error contribution value of motion axis of five-axis machine tool and evaluating influence
CN1740932A (en) Intelligent control system for digital control machine tool and control method thereof
CN1038359A (en) The error compensation system of machine tool and so on
CN1730248A (en) Reverse engineering robot system
CN101450010A (en) Digital mouth prosthesis making device
CN1748187A (en) Method for producing a measurement probe path on a numerically controlled coordinate measuring machine
CN1186170C (en) In-situ trimming method for shaping abrasive wheel
CN1579702A (en) Position control device and position control method for machine tools
CN1948901A (en) Large component assembling and welding deformation auto-real-time monitoring method
CN101028702A (en) Microfeeding system for precisive grinding
CN101518840A (en) Numerical control gear shaping error compensation and gear profile modification method
CN107238352A (en) A kind of revolution class formation characteristic part profile laser on-machine measurement apparatus and method based on numerically controlled lathe
CN1374502A (en) Position measuring apparats and working equipment utilizing the same apparatus
CN101727090A (en) Integrated control system for automatically detecting and straightening flexural deformation of axial line of workpiece
CN102221825B (en) Numerical control processing method and control system for die manufacture
CN109277879B (en) Harmonic decomposition-based gear hobbing pitch error on-machine compensation method for large gear
CN116203480B (en) Rotor surface magnetic field detection correction compensation method and system
CN1737805A (en) Worm gear modeling approach
WO2023050188A1 (en) Digital coal yard management method and system based on three-dimensional modeling technology
CN114415597A (en) Linkage machining method, system, equipment and device for platform galvanometer and industrial personal computer
CN209925010U (en) Shield constructs section of jurisdiction position control device based on machine vision

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
EE01 Entry into force of recordation of patent licensing contract

Assignee: Wenling Dazhong Precision Machinery Co.,Ltd.

Assignor: Tsinghua University

Contract fulfillment period: 2005.1.12 to 2011.1.12 contract change

Contract record no.: 2009330000973

Denomination of invention: Method for compensating error of numeric-contrlled machine and system

Granted publication date: 20060607

License type: Exclusive license

Record date: 2009.5.13

LIC Patent licence contract for exploitation submitted for record

Free format text: EXCLUSIVE LICENSE; TIME LIMIT OF IMPLEMENTING CONTACT: 2005.1.12 TO 2011.1.12; CHANGE OF CONTRACT

Name of requester: WENLING DAZHONG PRECISION MECHANISM.,LTD.

Effective date: 20090513

EE01 Entry into force of recordation of patent licensing contract

Assignee: Yangzhou Super Machine Tool Co., Ltd.

Assignor: Tsinghua University

Contract record no.: 2010320000575

Denomination of invention: Method for compensating error of numeric-contrlled machine and system

Granted publication date: 20060607

License type: Common License

Open date: 20050112

Record date: 20100511

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

Granted publication date: 20060607

Termination date: 20140331