25.01.2015 Views

Download Full Issue in PDF - Academy Publisher

Download Full Issue in PDF - Academy Publisher

Download Full Issue in PDF - Academy Publisher

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

JOURNAL OF COMPUTERS, VOL. 8, NO. 6, JUNE 2013 1513<br />

profile accuracy on each sampl<strong>in</strong>g period, has been a<br />

crucial problem for the researchers to settle. The CNC<br />

mach<strong>in</strong>e tools contour error coupled-control strategy<br />

based on l<strong>in</strong>e <strong>in</strong>terpolation and curve <strong>in</strong>terpolation is<br />

developed <strong>in</strong> the paper, which is with stable calculation<br />

error, high comput<strong>in</strong>g precision and satisfied real-time<br />

characteristic. Above all, analyze the conventional CNC<br />

contour error control scheme; Secondly, put forward the<br />

contour error coupled-control scheme based on l<strong>in</strong>e<br />

<strong>in</strong>terpolation and curve <strong>in</strong>terpolation; Thirdly, br<strong>in</strong>g<br />

forward the contour error comput<strong>in</strong>g models based on<br />

l<strong>in</strong>e <strong>in</strong>terpolation and curve <strong>in</strong>terpolation; Then add the<br />

obta<strong>in</strong>ed contour error to the follow<strong>in</strong>g error of current<br />

sampl<strong>in</strong>g period, and send the results to CNC PID<br />

position controller to calculate position controlled<br />

quantity <strong>in</strong> order to compensate contour error; F<strong>in</strong>ally, the<br />

contour error compensation control experimentations are<br />

done on the three-axis l<strong>in</strong>ked CNC test table.<br />

II. CONVENTIONAL CNC CONTOUR ERROR CONTROL<br />

SCHEME<br />

A. Def<strong>in</strong>ition of Contour Error<br />

The contour error is def<strong>in</strong>ed as the distance between<br />

the actual cutter trajectory and desired trajectory on the<br />

direction of trajectory normal. Consider<strong>in</strong>g a 2D arbitrary<br />

curve shown <strong>in</strong> Figure 1, let P* be the desired position<br />

vector, P be the actual position vector correspond<strong>in</strong>g to<br />

P* on the desired contour, P 1 be position vector on the<br />

desired contour along the direction of curve normal that is<br />

closest to P, L be the tangent through P* on the desired<br />

contour, and θ be the angle between L and X axis. Then<br />

E is the follow<strong>in</strong>g error between actual position and the<br />

<strong>in</strong>stantaneous desired position of the cutter, i.e.,<br />

*<br />

E = P − P. (1)<br />

Let E x be the part along X axis and E y along Y axis of E.<br />

And the contour error can be expressed as:<br />

ε = P − P. (2)<br />

1<br />

Let vector P plumbs tangent L on po<strong>in</strong>t P 1 *, when the<br />

follow<strong>in</strong>g error E is small on low federate. The contour<br />

error ε is approximately equal to ε * , i.e.,<br />

ε ≈ ε = − =− + . (3)<br />

* P1<br />

* P ExCx EyCy<br />

where C x and C y are computed by the follow<strong>in</strong>g equations:<br />

c<br />

c<br />

y<br />

x<br />

= s<strong>in</strong> θ − E / (2 ρ)<br />

(4)<br />

x<br />

= cos θ + E / (2 ρ)<br />

(5)<br />

where ρ is the <strong>in</strong>stantaneous radius of curvature.<br />

y<br />

Figure 1. Def<strong>in</strong>ition of contour error<br />

B. The Conventional CNC Contour Mach<strong>in</strong><strong>in</strong>g Scheme<br />

Contour error is the maximal <strong>in</strong>fluence factor <strong>in</strong> CNC<br />

mach<strong>in</strong>e system. When mach<strong>in</strong><strong>in</strong>g on complex profile<br />

parts, conventionally, CAD/CAM systems have to<br />

segment a complex curve <strong>in</strong>to a huge number of small<br />

l<strong>in</strong>ear segments and send them to CNC systems for l<strong>in</strong>ear<br />

<strong>in</strong>terpolation mach<strong>in</strong><strong>in</strong>g. But the l<strong>in</strong>ear <strong>in</strong>terpolation<br />

approach isn’t able to achieve high speed and high<br />

accuracy at the same time. Conventional CNC contour<br />

mach<strong>in</strong><strong>in</strong>g scheme usually adopts position feedback<br />

controller to m<strong>in</strong>imize follow<strong>in</strong>g error, adopts feed<br />

forward controller to m<strong>in</strong>imize track<strong>in</strong>g lag and contour<br />

deviation. In conventional cross-coupled control, the<br />

equation (3), which approximately computes contour<br />

error ε accord<strong>in</strong>g to E, is adopted to establish the<br />

contour error model. Then the cross-coupled controller<br />

computes and distributes the correction signals to<br />

<strong>in</strong>dividual axis through some PID control algorithms. The<br />

cross-coupled control system is a multivariable, nonl<strong>in</strong>ear<br />

and time-vary<strong>in</strong>g system, so it is very difficult to compute<br />

ε , θ and ρ . What is more, the approach to compute ε<br />

is only suited to condition when follow<strong>in</strong>g error E is<br />

small <strong>in</strong> the low feed rate. Especially, this approach is<br />

difficult to compute contour error on multi-axes motion.<br />

So there are some difficulties <strong>in</strong> apply<strong>in</strong>g the approach to<br />

practical NC mach<strong>in</strong><strong>in</strong>g. The conventional two-axis CNC<br />

contour control scheme is shown <strong>in</strong> Figure 2.<br />

III. CONTOUR ERROR COUPLED-CONTROL SCHEME BASED<br />

ON LINE INTERPOLATION AND CURVE INTERPOLATION<br />

After analyz<strong>in</strong>g the conventional two-axis CNC<br />

contour mach<strong>in</strong><strong>in</strong>g scheme, put forward the contour error<br />

coupled-control scheme based on l<strong>in</strong>e <strong>in</strong>terpolation and<br />

curve <strong>in</strong>terpolation. As shown <strong>in</strong> Figure 3, firstly, adopt<br />

the l<strong>in</strong>ear <strong>in</strong>terpolation or curve <strong>in</strong>terpolation on the<br />

complex parts cutter path <strong>in</strong>struction curve, and measure<br />

the real worktable position; Secondly, compute the<br />

contour error based on <strong>in</strong>terpolation dots and actual<br />

worktable position; Thirdly, compute the contour error<br />

correction quantity for x, y, z axes, and output the<br />

correction quantity to the x, y, z axes drivers and<br />

worktable.<br />

© 2013 ACADEMY PUBLISHER

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!