CN111427308A - Error compensation comprehensive control method for trajectory planning of numerical control platform - Google Patents

Error compensation comprehensive control method for trajectory planning of numerical control platform Download PDF

Info

Publication number
CN111427308A
CN111427308A CN202010132862.5A CN202010132862A CN111427308A CN 111427308 A CN111427308 A CN 111427308A CN 202010132862 A CN202010132862 A CN 202010132862A CN 111427308 A CN111427308 A CN 111427308A
Authority
CN
China
Prior art keywords
error
axis
speed
compensation
contour
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
CN202010132862.5A
Other languages
Chinese (zh)
Other versions
CN111427308B (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.)
South China University of Technology SCUT
Zhongshan Institute of Modern Industrial Technology of South China University of Technology
Original Assignee
South China University of Technology SCUT
Zhongshan Institute of Modern Industrial Technology of South China University of Technology
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 South China University of Technology SCUT, Zhongshan Institute of Modern Industrial Technology of South China University of Technology filed Critical South China University of Technology SCUT
Priority to CN202010132862.5A priority Critical patent/CN111427308B/en
Publication of CN111427308A publication Critical patent/CN111427308A/en
Application granted granted Critical
Publication of CN111427308B publication Critical patent/CN111427308B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
    • G05B19/404Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by control arrangements for compensation, e.g. for backlash, overshoot, tool offset, tool wear, temperature, machine construction errors, load, inertia
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/34Director, elements to supervisory
    • G05B2219/34083Interpolation general

Landscapes

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

Abstract

The invention discloses an error compensation comprehensive control method for trajectory planning of a numerical control platform, which comprises the following steps: (1) establishing a feed rate regulator based on chord height error constraint, and performing fifth-order polynomial speed planning by taking the maximum feed speed allowed by a large-curvature position as a constraint condition to ensure that a double shaft moves according to a specified speed rule; (2) combining a real-time contour error estimation model of a free curve of the feeding motion of the numerical control platform, obtaining contour error compensation quantity of each feeding shaft by using a cross coupling controller, and calculating position error compensation quantity of each feeding shaft by using an improved position error compensator; (3) the contour error and the position error compensation amount are used as reference position instructions at the current moment and input into a double-shaft servo system, so that the simultaneous compensation of the contour error and the tracking error is realized. The invention can obviously improve the tracking and contour control precision in the numerical control machining process while meeting the requirement of chord height error.

Description

Error compensation comprehensive control method for trajectory planning of numerical control platform
Technical Field
The invention relates to an error compensation control method in the field of numerical control machining, in particular to an error compensation comprehensive control method for trajectory planning of a numerical control platform.
Background
The application of numerical control technology makes the traditional manufacturing industry have qualitative change, especially in recent years, the development of microelectronic technology and computer technology brings new vitality to numerical control technology, and the multi-axis Computer Numerical Control (CNC) precision machining technology becomes a hotspot and difficulty problem in the industrial field. With the improvement of the requirement on the product quality, higher and higher requirements are also put forward on the tracking and contour control precision of the processed workpiece.
In the numerical control machining process, due to the fact that motion characteristics of coordinate axes of a feeding system are greatly different, the problem of contour tracking precision cannot be solved from the perspective of single-axis Servo control, a targeted contour control technology such as a cross-coupling control method must be adopted, however, the cross-coupling control method cannot reduce tracking errors remarkably, and the poor tracking performance probably causes serious machining errors, through searching existing technical documents, a novel model-referenced adaptive control strategy is provided for improving tracking performance in an academic Journal modeling and application modeling control system (2016:1-1) of Sun et al, and a novel model-referenced adaptive control strategy is provided for improving tracking performance in the International Journal modeling and application modeling control system (Wu et al, although the method has high sensitivity to the tracking precision and improves the precision of a general tracking controller, and a feedback control device (Wu et al, and a general controller) has no requirement for improving tracking precision, and no requirement for improving the tracking precision of a general tracking controller 2017,117, and no requirement for improving the tracking precision of a general controller for controlling contour.
In summary, in most cases, the cross-coupling control method is effective in reducing the profile error, but the cross-coupling control method cannot significantly reduce the tracking error. Although the cross-coupling control method and the tracking error compensation strategy are combined, the tracking and contour control accuracy can be improved at the same time, for the free curves with variable curvatures, larger contour errors still exist at the positions with large curvatures, and the requirements of chord height errors cannot be met. Therefore, there is a need in the art to develop a comprehensive control method that can significantly improve the tracking and contour control accuracy and meet the requirements of chord height error.
Disclosure of Invention
The invention aims to provide an error compensation comprehensive control method for trajectory planning of a numerical control platform, which can obviously improve the tracking and contour control accuracy and meet the requirement of chord height error, has a simple controller structure and is effective in an error compensation calculation method.
The invention is realized by at least one of the following technical schemes.
An error compensation integrated control method for numerical control platform trajectory planning comprises the following steps:
(1) establishing a feed rate regulator based on chord height error constraint, and performing fifth-order polynomial speed planning by taking the maximum feed speed allowed by a large-curvature position as a constraint condition to ensure that a double shaft moves according to a specified speed rule;
(2) combining a real-time contour error estimation model of a free curve of the feeding motion of the numerical control platform, acquiring contour error compensation quantity of each feeding shaft by using a cross coupling controller, and calculating position error compensation quantity of each feeding shaft by using an improved position error compensator;
(3) the contour error and the position error compensation amount are used as reference position instructions at the current moment and input into a double-shaft servo system, so that the simultaneous compensation of the contour error and the tracking error is realized.
Further, the step (1) specifically comprises:
(11) traversing the whole track, and collecting { P (u) at interpolation points1),P(u2),...,P(ut) Find all songs in }The rate maximum point, and this set is denoted as { P (u) }1),P(u2),...,P(un) In which utThe parameters are parameters of a parametric curve and are used for describing the position information of the interpolation points, t is an index of the number of the interpolation points and satisfies that t is more than n;
(12) assume an initial feed rate of VstartAt the curvature maximum point set { P (u) }1),P(u2),...,P(un) Find the maximum velocity V based on the chord height error constraintmaxLess than the initial feed speed VstartAnd this set is denoted as { P (u) }1),P(u2),...,P(um) And the maximum speed allowed by each point is { V }s1,Vs2,...,VsmThe parameter corresponding to the curve is { u }s1,us2,...,usmWhere n > m;
(13) assume curve parameter u ∈ [0,1 ]]Parameter set us1,us2,...,usmDivide the curve into (m +1) intervals, which correspond to { [0, u ] respectivelys1],[us1,us2],...,[usm,1]And performing speed planning by using a fifth-order polynomial in each interval, wherein the starting and stopping speed of each interval is { [ V ]start,Vs1],[Vs1,Vs2],...,[Vsm,Vend]Thus, the feed rate adjuster establishment based on the chordal height error constraint is completed.
Further, the step (2) specifically comprises:
(21) profile error E 'of the free curve according to the target command position and the actual cutting position collected by the motor encoder, and the programmed feeding speed and the actual feeding speed'cThe estimation is carried out, and the contour error estimation model is
E′c=-Exsinφ+Eycosφ
In the above formula, E'cFor estimated profile error, φ represents the pass target instruction position r1(t) and r1Angle of inclusion of the straight line of (t') with the X-axis, ExAnd EyRespectively representing the tracking error EpComponents along the X and Y axes;
(22) the cross-coupling controller employs PI control, which is represented in the discrete domain as:
Figure BDA0002396270440000021
in the above formula, Cc(z-1) Denotes a cross-coupled controller, KcpAnd KciFor the proportional and integral gains of the cross-coupled controller, Z is a complex variable called the Z transform operator;
since the X-axis and Y-axis position and velocity loop controllers use the same gain, the two axes are considered to have matched dynamics, and at this time, the cross-coupled controller is analyzed for stability using the profile error transfer function (CETF), which is given by the equation:
Figure BDA0002396270440000031
in the above formula, KprefIndicating the position proportional gain, T, of each axissRepresents a sampling period;
further, the profile error compensation amounts distributed to the axes after the cross-coupling controller is calculated as:
C,x=UcCx,C,y=UcCy
in the above formula, UcRepresenting estimated contour error E'cOutput after cross-coupling controller action, CxAnd CyIs the cross-coupling coefficient of the cross-coupled controller, C,xAnd C,yThe amounts of contour error compensation in the X axis and the Y axis are shown, respectively.
Further, in step (2), the establishment of the improved position error compensator comprises the following steps:
step one, a moving coordinate system XPY is established by taking an actual cutting position P as an original point, the programming feeding speed is planned through the feeding speed regulator based on the chord height error constraint, a double shaft moves according to the planned speed rule, and the feeding speed V of the point P at the current moment is calculatedTExpressed as:
VT=Vpxi+Vpyj
in the above formula, VpxAnd VpyRespectively representing the components of the feed speed at point P along the X-axis and Y-axis, i and j respectively representing unit vectors in the X-axis and Y-axis directions;
step two, assuming that each contour error is eliminated in one sampling period, acquiring a compensation speed V along the direction of the contour error according to the assumptionCComprises the following steps:
Figure BDA0002396270440000032
in the above formula, E'cRepresenting the contour error vector, TsIs the sampling period, VcxAnd VcyRespectively represent the compensation speed VCComponents along the X and Y axes;
step three, according to the compensation speed VCAnd the feeding speed V at the present momentTA position P' moved over one sampling period is acquired and its position vector is represented as:
P′=(Vpx+Vcx)·Tsi+(Vpy+Vcy)·Tsj
step four, expressing the distance vector between the point P' and the target instruction position R as:
P′R=[Ex-(Vpx+Vcx)Ts]i+[Ey-(Vpy+Vcy)Ts]j
in the above formula, ExAnd EyRespectively representing the tracking error EpComponents along the X and Y axes.
Step five, calculating the position error compensation quantity along the X-axis and Y-axis directions:
Pecx=Ex-(Vpx+Vcx)Ts,Pecy=Ey-(Vpy+Vcy)Ts
further, the amount of position error compensation distributed to each axis after the improved position error compensator is operated is calculated as:
Pe,x=PecxKpcx,Pe,y=PecyKpcy
in the above formula, KpcxAnd KpcyIs a corresponding gain constant, Pe,xAnd Pe,yThe X-axis and Y-axis position error compensation amounts are shown, respectively.
Further, the step (3) specifically comprises the following steps:
(31) according to the contour error and the position error compensation quantity, the output control law of the X axis and the Y axis is obtained as follows:
Ux=Rx+PecxKpcx+UcCx,Uy=Ry+PecyKpcy+UcCy
in the above formula, RxAnd RyIs a reference position command generated by a non-uniform ratio B-spline (NURBS) curve interpolator;
(32) updating the control input quantity of the double-shaft servo system once every sampling period, and updating the real-time obtained UxAnd UyThe reference position command is input into a double-shaft servo system as a reference position command at the current moment, namely the simultaneous compensation of the contour error and the tracking error is realized.
Compared with the prior art, the invention has the advantages that:
1. the method can obviously improve the tracking and contour control precision in the numerical control machining process and meet the requirement of chord height error.
2. The controller has simple structure and effective error compensation amount calculation method.
Drawings
FIG. 1 is a velocity segment schematic of a feed rate regulator of the present embodiment based on a chordal height error constraint;
FIG. 2 is a schematic diagram of a contour error estimation method for a free curve according to the present embodiment;
FIG. 3 is a schematic diagram of an improved position error compensator of the present embodiment;
FIG. 4 is a structural diagram of an error compensation comprehensive control method for trajectory planning of a numerical control platform according to the embodiment;
FIG. 5 is a flowchart of an error compensation integrated control method for trajectory planning of a numerical control platform according to the present embodiment;
FIG. 6 is a hardware structure diagram of the numerical control platform according to the present invention;
FIG. 7 is a parametric curve tool path described in this example section using a NURBS curve;
FIG. 8 is a comparison graph of profile errors when interpolating and tracking the tool path of the parameter curve shown in FIG. 7 according to the present embodiment;
fig. 9 is a graph showing a comparison of tracking errors when the tool path of the parameter curve shown in fig. 7 is interpolated and tracked according to the present embodiment.
Detailed Description
The invention is further described with reference to the following figures and embodiments.
An error compensation integrated control method for numerical control platform trajectory planning as shown in fig. 5 and 4 comprises the following steps:
(1) establishing a feed rate regulator based on chord height error constraint, and performing fifth-order polynomial speed planning by taking the maximum feed speed allowed by a large-curvature position as a constraint condition to ensure that a double shaft moves according to a specified speed rule;
the step (1) specifically comprises the following steps:
(11) traversing the whole track, and collecting { P (u) at interpolation points1),P(u2),...,P(ut) Find all the curvature maxima points in this set and label this set as { P (u) }1),P(u2),...,P(un) In which utThe parameters are parameters of a parametric curve and are used for describing the position information of the interpolation points, t is an index of the number of the interpolation points and satisfies that t is more than n;
(12) assume an initial feed rate of VstartAt the curvature maximum point set { P (u) }1),P(u2),...,P(un) Find the maximum velocity V based on the chord height error constraintmaxLess than the initial feed speed VstartAnd this set is denoted as { P (u) }1),P(u2),...,P(um) Each point pair conforms toAllowable maximum speed is Vs1,Vs2,...,VsmThe parameter corresponding to the curve is { u }s1,us2,...,usmWhere n > m;
(13) assume curve parameter u ∈ [0,1 ]]Parameter set us1,us2,...,usmDivide the curve into (m +1) intervals, which correspond to { [0, u ] respectivelys1],[us1,us2],...,[usm,1]And performing speed planning by using a fifth-order polynomial in each interval, wherein the starting and stopping speed of each interval is { [ V ]start,Vs1],[Vs1,Vs2],...,[Vsm,Vend]Thus, the feed rate adjuster establishment based on the chordal height error constraint is completed. A schematic diagram of the planned segment speeds is shown in fig. 1.
(2) Combining a real-time contour error estimation model of a free curve of the feeding motion of the numerical control platform, acquiring contour error compensation quantity of each feeding shaft by using a cross coupling controller, and calculating position error compensation quantity of each feeding shaft by using an improved position error compensator;
specifically, the step (2) specifically includes:
(21) according to the target instruction position and the actual cutting position p collected by the motor encoder1(t), and profile error E 'of programmed and actual feed speeds versus free curve'cThe estimation is carried out, specifically, as shown in FIG. 2, the contour error estimation model is
E′c=-Exsinφ+Eycosφ
In the above formula, E'cFor estimated profile error, φ represents the pass target instruction position r1(t) and r1(t') angle of the straight line with the X-axis, ExAnd EyRespectively representing the tracking error EpComponents along the X and Y axes;
more specifically, a point r on the target reference path1(t') is expressed as:
Figure BDA0002396270440000051
in the above formula, Vx1(t) and Vy1(t) represents the components of the programmed feed rate along the X-axis and Y-axis, respectively, and, correspondingly, Vx2(t) and Vy2(t) represents the components of the actual feed rate along the X-axis and Y-axis, respectively, and Δ t represents the value from r1(t') move to r1(t) total time;
(22) the cross-coupling controller employs PI control, which is represented in the discrete domain as:
Figure BDA0002396270440000061
in the above formula, Cc(z-1) Denotes a cross-coupled controller, KcpAnd KciFor the proportional and integral gains of the cross-coupled controller, Z is a complex variable called the Z transform operator;
since the X-axis and Y-axis position and velocity loop controllers use the same gain, the two axes are considered to have nearly matched dynamics. At this time, the cross-coupled controller may be subjected to a stability analysis using a profile error transfer function (CETF) having the equation
Figure BDA0002396270440000062
In the above formula, KprefIndicating the position proportional gain, T, of each axissRepresenting the sampling period.
Further, the amount of profile error compensation assigned to each axis after the cross-coupled controller is applied can be obtained as
C,x=UcCx,C,y=UcCy
In the above formula, UcRepresenting estimated contour error E'cOutput after cross-coupling controller action, CxAnd CyIs the cross-coupling coefficient of the cross-coupled controller and satisfies Cx=-sinφ,Cy=cosφ,C,xAnd C,yRespectively representing the contour error compensation quantity of an X axis and a Y axis;
the improved position error compensator essentially comprises the steps of:
step one, a moving coordinate system XPY is established by taking an actual cutting position P as an original point, the programming feeding speed is planned through the feeding speed regulator based on the chord height error constraint, a double shaft moves according to the planned speed rule, and the feeding speed V of the point P at the current moment is calculatedTExpressed as:
VT=Vpxi+Vpyj
in the above formula, VpxAnd VpyRespectively representing the components of the feed speed at point P along the X-axis and Y-axis, i and j respectively representing unit vectors in the X-axis and Y-axis directions;
step two, assuming that each contour error is eliminated in one sampling period, acquiring a compensation speed V along the direction of the contour error according to the assumptionCComprises the following steps:
Figure BDA0002396270440000063
in the above formula, E'cRepresenting the contour error vector, TsIs the sampling period, VcxAnd VcyRespectively represent the compensation speed VCComponents along the X and Y axes;
step three, according to the compensation speed VCAnd the feeding speed V at the present momentTA position P' moved over one sampling period is acquired and its position vector is represented as:
P′=(Vpx+Vcx)·Tsi+(Vpy+Vcy)·Tsj
step four, expressing the distance vector between the point P' and the target instruction position R as:
P′R=[Ex-(Vpx+Vcx)Ts]i+[Ey-(Vpy+Vcy)Ts]j
in the above formula, ExAnd EyRespectively representing the tracking error EpComponents along the X and Y axes.
Step five, calculating the position error compensation quantity along the X-axis and Y-axis directions:
Pecx=Ex-(Vpx+Vcx)Ts,Pecy=Ey-(Vpy+Vcy)Ts
further, the amount of position error compensation distributed to each axis after the improved position error compensator is operated is calculated as:
Pe,x=PecxKpcx,Pe,y=PecyKpcy
in the above formula, KpcxAnd KpcyIs a corresponding gain constant, Pe,xAnd Pe,yThe X-axis and Y-axis position error compensation amounts are shown, respectively.
A schematic diagram of the improved position error compensator is shown in figure 3.
(3) The contour error and the position error compensation amount are used as reference position instructions of the current moment and input into a double-shaft servo system, so that the simultaneous compensation of the contour error and the tracking error is realized, and the method specifically comprises the following steps:
(31) according to the contour error and the position error compensation quantity, the output control law of the double-shaft servo system to the X shaft and the Y shaft is obtained as follows:
Ux=Rx+PecxKpcx+UcCx,Uy=Ry+PecyKpcy+UcCy
in the above formula, RxAnd RyIs a reference position command generated by a non-uniform ratio B-spline (NURBS) curve interpolator;
(32) the control input quantity of the system is updated once every sampling period, and the real-time updated U is obtainedxAnd UyThe reference position command as the current time is input into the double-shaft servo actuator, namely the simultaneous compensation of the contour error and the tracking error is realized, and the error compensation integrated control structure is shown in FIG. 4. K in FIG. 4pxAnd KpyIs a position loop feedback controller of a servo system, GvxAnd GvyIs X, Y axle bagLinks including the speed loop, the current loop and the actuating mechanism can be obtained through model identification. PxAnd PyIs the actual position of the motor output by each shaft and can be obtained by sampling the photoelectric encoder signal, and F represents the feeding speed.
The invention is realized in the numerical control platform shown in fig. 6: the test objects are a high-order AC servo driver of the Taida ASDA A2-E series and a servo motor of the ECMA series. NURBS interpolation is implemented in a computer and the actual position of each axis is obtained by sampling the photoelectric encoder signals of the motor. The calculation and compensation of the real-time contour error are realized by programming on Kithara software, an industrial personal computer sends compensation quantity to a servo unit through an EtherCAT bus, and the system control period is T s1 ms. Further, the X, Y feed shaft was composed of two ball screws (pitch 20mm/rev and 10mm/rev, respectively) and each ball screw was provided with a grating scale having a resolution of 1 μm. The values of the gain constants used are: kpx=35,Kpy=35,Kcp=2.0,Kci=0.001, Kpcx=1.0,Kpcy1.0; the maximum allowable chord height error is set to 0.001 mm.
Fig. 7 is a parametric curve tool path described by NURBS curves. Wherein the content of the first and second substances,
the control peaks are ① (0.0 ), ② (-4.99420, -3.24613), ③ (-16.91645, -10.99536), ④ (20.95161, -18.41546), ⑤ (-24.97704, -23.46105), ⑥ (23.20926, -38.53194), ⑦ (-30.24880, -42.11590), ⑧ (18.47811, -53.82904), ⑨ (-37.67975, -64.20412), ⑩ (-3.54279, -69.02725),
Figure RE-GDA0002525260550000081
(17.88210,-72.05432);
the node vector is: (0,0,0,0,0.0776395399490701,0.185342496081936,0.292366084595116,
0.409866448276429,0.536057475002697,0.650968691324137,0.780942625933166,1,1, 1,1);
the weight factors are: (1,1,1,1,1,1,1,1,1,1,1).
Fig. 8 is a graph showing a comparison of profile errors when the tool path of the parameter curve shown in fig. 7 is interpolated and tracked. The solid line in the figure represents the absolute profile error without error compensation, with a maximum value of 1572.20 μm for profile error and 414.34 μm for root mean square profile error. The dotted line in the figure indicates the absolute profile error when the error compensation integrated control method is used, and the maximum value of the profile error is 662.51 μm, and the root mean square profile error is 143.38 μm.
Fig. 9 is a graph showing a comparison of tracking errors when the tool path of the parameter curve shown in fig. 7 is interpolated and tracked. The solid line in the figure represents the tracking error without the error compensation method, and the maximum value of the tracking error is 2227.10 μm, and the root mean square tracking error is 1866.80 μm. The dotted line in the figure indicates the tracking error when the error compensation integrated control method is used, and the maximum value of the tracking error is 1238.30 μm, and the root mean square tracking error is 916.93 μm.
By contrast, the error compensation comprehensive control method for the trajectory planning of the numerical control platform can obviously improve the tracking and contour control precision and meet the requirement of chord height errors, and the controller is simple in structure and the error compensation amount calculation method is effective. The method can be applied and popularized in a numerical control system and a numerical control machine tool, and is particularly significant to numerical control machining of free curves with variable curvatures, which needs to consider chord height error constraint and machining tracks.
The above-mentioned embodiments are merely preferred embodiments of the present invention, and the scope of the present invention is not limited thereto, so that the changes in the shape and principle of the present invention should be covered by the protection scope of the present invention.

Claims (5)

1. An error compensation integrated control method for numerical control platform trajectory planning is characterized by comprising the following steps:
(1) establishing a feed rate regulator based on chord height error constraint, and performing fifth-order polynomial speed planning by taking the maximum feed speed allowed by a large-curvature position as a constraint condition to ensure that a double shaft moves according to a specified speed rule;
(2) combining a real-time contour error estimation model of a free curve of the feeding motion of the numerical control platform, obtaining contour error compensation quantity of each feeding shaft by using a cross coupling controller, and calculating position error compensation quantity of each feeding shaft by using an improved position error compensator;
(3) the contour error and the position error compensation amount are used as reference position instructions at the current moment and input into a double-shaft servo system, so that the simultaneous compensation of the contour error and the tracking error is realized.
2. The error compensation comprehensive control method for numerical control platform trajectory planning according to claim 1, wherein the step (1) specifically comprises:
(11) traversing the whole track, and collecting { P (u) at interpolation points1),P(u2),...,P(ut) Find all the curvature maxima points in this set and label this set as { P (u) }1),P(u2),...,P(un) In which utThe parameters are parameters of a parametric curve and are used for describing the position information of the interpolation points, t is an index of the number of the interpolation points and satisfies that t is more than n;
(12) assume an initial feed rate of VstartAt the curvature maximum point set { P (u) }1),P(u2),...,P(un) Find the maximum velocity V based on the chord height error constraintmaxLess than the initial feed speed VstartAnd this set is denoted as { P (u) }1),P(u2),...,P(um) The maximum speed allowed by each point is { V }s1,Vs2,...,VsmThe parameter corresponding to the curve is { u }s1,us2,...,usmWhere n > m;
(13) assume curve parameter u ∈ [0,1 ]]Parameter set us1,us2,...,usmDivide the curve into (m +1) intervals, which correspond to { [0, u ] respectivelys1],[us1,us2],...,[usm,1]And performing speed planning by using a fifth-order polynomial in each interval, wherein the starting and stopping speed of each interval is { [ V ]start,Vs1],[Vs1,Vs2],...,[Vsm,Vend]Thus, the feed rate adjuster establishment based on the chordal height error constraint is completed.
3. The error compensation comprehensive control method for numerical control platform trajectory planning according to claim 1, wherein the step (2) specifically comprises:
(21) profile error E 'of the free curve according to the target command position and the actual cutting position collected by the motor encoder, and the programmed feeding speed and the actual feeding speed'cThe estimation is carried out, and the contour error estimation model is
E′c=-Exsinφ+Eycosφ
In the above formula, E'cFor estimated profile error, φ represents the pass target instruction position r1(t) and r1(t') angle of the straight line with the X-axis, ExAnd EyRespectively representing the tracking error EpComponents along the X and Y axes;
(22) the cross-coupling controller adopts PI control, and the representation form of the PI control in a discrete domain is as follows:
Figure FDA0002396270430000021
in the above formula, Cc(z-1) Denotes a cross-coupled controller, KcpAnd KciFor the proportional and integral gains of the cross-coupled controller, Z is a complex variable called the Z transform operator;
since the X-axis and Y-axis position and velocity loop controllers use the same gain, the two axes are considered to have matched dynamics, and at this time, the cross-coupled controller is analyzed for stability using the profile error transfer function (CETF), which is given by the equation:
Figure FDA0002396270430000022
in the above formula, KprefIndicating the position proportional gain, T, of each axissRepresents a sampling period;
further, the profile error compensation amounts distributed to the axes after the cross-coupling controller is calculated as:
C,x=UcCx,C,y=UcCy
in the above formula, UcRepresenting estimated contour error E'cOutput after cross-coupling controller action, CxAnd CyIs the cross-coupling coefficient of the cross-coupling controller, C,xAnd C,yThe amounts of contour error compensation in the X axis and the Y axis are shown, respectively.
4. The method of claim 1, wherein the step (2) of establishing the improved position error compensator comprises the steps of:
step one, a moving coordinate system XPY is established by taking an actual cutting position P as an origin, the programmed feeding speed is planned through the feeding rate regulator based on the chord height error constraint, a double shaft moves according to the planned speed rule, and the feeding speed V at the current moment of the point P is calculatedTExpressed as:
VT=Vpxi+Vpyj
in the above formula, VpxAnd VpyRespectively representing the components of the feed speed at point P along the X-axis and Y-axis, i and j respectively representing unit vectors in the X-axis and Y-axis directions;
step two, assuming that each contour error is eliminated in one sampling period, calculating the compensation speed V along the direction of the contour error according to the assumptionCComprises the following steps:
Figure FDA0002396270430000023
in the above formula, E'cRepresenting the contour error vector, TsIs the sampling period, VcxAnd VcyRespectively represent the compensation speed VCComponents along the X and Y axes;
step three, according to the compensation speed VCAnd the feeding speed V at the present momentTAcquiring a position P 'moved to over one sampling period'And its position vector is represented as:
P′=(Vpx+Vcx)·Tsi+(Vpy+Vcy)·Tsj
step four, expressing the distance vector between the point P' and the target instruction position R as:
P′R=[Ex-(Vpx+Vcx)Ts]i+[Ey-(Vpy+Vcy)Ts]j
in the above formula, ExAnd EyRespectively representing the tracking error EpComponents along the X and Y axes;
step five, obtaining position error compensation along the X-axis and Y-axis directions:
Pecx=Ex-(Vpx+Vcx)Ts,Pecy=Ey-(Vpy+Vcy)Ts
further, the amount of position error compensation distributed to each axis after the improved position error compensator is operated is calculated as:
Pe,x=PecxKpcx,Pe,y=PecyKpcy
in the above formula, KpcxAnd KpcyIs a corresponding gain constant, Pe,xAnd Pe,yThe X-axis and Y-axis position error compensation amounts are shown, respectively.
5. The error compensation comprehensive control method for numerical control platform trajectory planning according to claim 1, wherein the step (3) specifically comprises the following steps:
(31) according to the contour error and the position error compensation quantity, the output control law of the X axis and the Y axis is obtained as follows:
Ux=Rx+PecxKpcx+UcCx,Uy=Ry+PecyKpcy+UcCy
in the above formula, RxAnd RyIs generated by a non-uniform proportional B-spline (NURBS) curve interpolatorA reference position command;
(32) updating the control input quantity of the double-shaft servo system once every sampling period, and updating the real-time obtained UxAnd UyThe reference position command as the current moment is input into a double-shaft servo system, namely the simultaneous compensation of the contour error and the tracking error is realized.
CN202010132862.5A 2020-02-29 2020-02-29 Error compensation comprehensive control method for trajectory planning of numerical control platform Expired - Fee Related CN111427308B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010132862.5A CN111427308B (en) 2020-02-29 2020-02-29 Error compensation comprehensive control method for trajectory planning of numerical control platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010132862.5A CN111427308B (en) 2020-02-29 2020-02-29 Error compensation comprehensive control method for trajectory planning of numerical control platform

Publications (2)

Publication Number Publication Date
CN111427308A true CN111427308A (en) 2020-07-17
CN111427308B CN111427308B (en) 2021-07-23

Family

ID=71547346

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010132862.5A Expired - Fee Related CN111427308B (en) 2020-02-29 2020-02-29 Error compensation comprehensive control method for trajectory planning of numerical control platform

Country Status (1)

Country Link
CN (1) CN111427308B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112000011A (en) * 2020-08-12 2020-11-27 深圳市烨嘉为技术有限公司 Electromechanical coupling analysis and optimization method for small gantry numerical control machining center
CN112067262A (en) * 2020-07-21 2020-12-11 清华大学 Tracking error estimation method for servo drive shaft
CN113253677A (en) * 2021-07-05 2021-08-13 武汉瀚迈科技有限公司 Robot motion control method combining speed optimization and feedforward compensation
CN114740800A (en) * 2022-03-09 2022-07-12 天津大学 Double-sliding-mode direct contour control method for parameter curve machining path

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101615024A (en) * 2009-07-23 2009-12-30 哈尔滨工业大学 Five-coordinate numerally controlled machine tool motion controller with NURBS interpolation function
DE102011105897A1 (en) * 2011-06-28 2013-01-03 Technische Universität Chemnitz Method for compensating processing errors due to elastic deformation of workpiece, involves revising geometry data incrementally using additional information such as ambient temperature before start of compensating process
CN103353736A (en) * 2013-06-21 2013-10-16 合肥工业大学 Contour error control method for CAN-based multi-axis numeric control system
CN107479385A (en) * 2017-09-07 2017-12-15 南京理工大学 Cartesian robot iteration sliding formwork cross-coupling control method
CN109491321A (en) * 2018-12-05 2019-03-19 沈阳工业大学 A kind of profile errors estimation method based on H-type precision movement platform

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101615024A (en) * 2009-07-23 2009-12-30 哈尔滨工业大学 Five-coordinate numerally controlled machine tool motion controller with NURBS interpolation function
DE102011105897A1 (en) * 2011-06-28 2013-01-03 Technische Universität Chemnitz Method for compensating processing errors due to elastic deformation of workpiece, involves revising geometry data incrementally using additional information such as ambient temperature before start of compensating process
CN103353736A (en) * 2013-06-21 2013-10-16 合肥工业大学 Contour error control method for CAN-based multi-axis numeric control system
CN107479385A (en) * 2017-09-07 2017-12-15 南京理工大学 Cartesian robot iteration sliding formwork cross-coupling control method
CN109491321A (en) * 2018-12-05 2019-03-19 沈阳工业大学 A kind of profile errors estimation method based on H-type precision movement platform

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112067262A (en) * 2020-07-21 2020-12-11 清华大学 Tracking error estimation method for servo drive shaft
CN112067262B (en) * 2020-07-21 2021-08-06 清华大学 Tracking error estimation method for servo drive shaft
CN112000011A (en) * 2020-08-12 2020-11-27 深圳市烨嘉为技术有限公司 Electromechanical coupling analysis and optimization method for small gantry numerical control machining center
CN112000011B (en) * 2020-08-12 2022-05-24 深圳市烨嘉为技术有限公司 Electromechanical coupling analysis and optimization method for small gantry numerical control machining center
CN113253677A (en) * 2021-07-05 2021-08-13 武汉瀚迈科技有限公司 Robot motion control method combining speed optimization and feedforward compensation
CN113253677B (en) * 2021-07-05 2021-10-08 武汉瀚迈科技有限公司 Robot motion control method combining speed optimization and feedforward compensation
CN114740800A (en) * 2022-03-09 2022-07-12 天津大学 Double-sliding-mode direct contour control method for parameter curve machining path
CN114740800B (en) * 2022-03-09 2024-05-24 天津大学 Double-sliding-mode direct contour control method of parameter curve processing path

Also Published As

Publication number Publication date
CN111427308B (en) 2021-07-23

Similar Documents

Publication Publication Date Title
CN111427308B (en) Error compensation comprehensive control method for trajectory planning of numerical control platform
CN102591257B (en) Parameter curve cutter path oriented numerical control system contour error control method
Chiu et al. Contouring control of machine tool feed drive systems: a task coordinate frame approach
Tsai et al. Development of an integrated look-ahead dynamics-based NURBS interpolator for high precision machinery
Sencer et al. Feed optimization for five-axis CNC machine tools with drive constraints
Su et al. Contouring accuracy improvement using cross-coupled control and position error compensator
US7693588B2 (en) Method of curvature controlled data smoothing
CN100562823C (en) A kind of contour outline control method of complicated track
Li et al. Dual sliding mode contouring control with high accuracy contour error estimation for five-axis CNC machine tools
CN112698625B (en) Five-axis machine tool digital twin modeling method for linkage trajectory error prediction
Chen et al. Contour error–bounded parametric interpolator with minimum feedrate fluctuation for five-axis CNC machine tools
CN102566500B (en) Straight line segment approximation node-based numerical control system contour error control method
CN108227630A (en) A kind of NC Machining of Free-form Surfaces method using time parameter polynomial interpolator
Yang et al. A high accuracy on-line estimation algorithm of five-axis contouring errors based on three-point arc approximation
Yang et al. A novel curvature circle iterative algorithm for contour error control of multi-axis CNC machine tools
Li et al. Contouring compensation control based on high accuracy contour error estimation for multi-axis motion systems
US5412300A (en) Numerical control device and method for control of movement of a tool
CN108490874B (en) Nonlinear PID cross-coupling control method of biaxial motion control system
He et al. Real-time time-optimal continuous multi-axis trajectory planning using the trajectory index coordination method
Li et al. Accurate interpolation and contouring control algorithm based on FIR filters for the corner transition
Tounsi et al. Optimized feed scheduling in three axes machining. Part I: Fundamentals of the optimized feed scheduling strategy
My et al. New feed rate optimization formulation in a parametric domain for 5-axis milling robots
Liu et al. Real-time exact contour error calculation of NURBS tool path for contour control
CN114019911B (en) Curve fitting method based on speed planning
CN110161966A (en) A kind of real-time detection method of multi-shaft interlocked profile errors

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20210723

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