10.01.2013 Views

ComputerAided_Design_Engineering_amp_Manufactur.pdf

ComputerAided_Design_Engineering_amp_Manufactur.pdf

ComputerAided_Design_Engineering_amp_Manufactur.pdf

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.

FIGURE 2.10<br />

or best-fit, or the curve where the points are taken, is within the given tolerance. 20,28 Piecewise circulararc-fitting<br />

algorithms suffer from a similar lack of smoothness in the machined surface, though to a lesser<br />

extent. One way to overcome this is to use biarc-curve fitting, 14,17,21 which ensures tangential C continuity<br />

between the circular segments.<br />

The machining of objects with curved surfaces essentially reduces to machining a series of plane curves<br />

defined in a two-dimensional plane. Hence, without loss of generality, we can discuss the approximation<br />

of curves by linear or circular segments by considering only the case of curves defined in the xy plane.<br />

The following section will introduce two approaches in the generation of CNC cutter path data using<br />

linear or circular segments to approximate general curves that are used in the creation of curved objects<br />

in CAD systems. In the first method, we will illustrate the approach using the cubic Bezier curve as the<br />

general curve ex<strong>amp</strong>le and approximate it by a minimum number of linear or circular segment. In the<br />

second method, the general curve is given in the form of a large number of points that may have been<br />

digitized from a scaled model using CMM technology or laser-ranging technology. Biarcs are used to<br />

approximate the desired shape to within specified tolerances.<br />

1<br />

( )<br />

C 0<br />

A Continuity Approach<br />

Let b0<br />

� ( x0,<br />

y0),<br />

b1<br />

� ( x1,<br />

y1),<br />

b2<br />

� ( x2,<br />

y2)<br />

and b3<br />

� ( x3,<br />

y3)<br />

be the four control points in a twodimensional<br />

space, and t be a parameter (from 0 to 1) that characterizes a cubic Bezier curve. The cubic<br />

Bezier curve can then be written as follows:<br />

© 2001 by CRC Press LLC<br />

NC program listing for CNC rotary table.<br />

3 t<br />

x() t � xiB i ()<br />

�<br />

3<br />

�<br />

i�0<br />

x0( 1 � t)<br />

3<br />

3 t<br />

y() t � yiB i ()<br />

�<br />

3<br />

�<br />

i�0<br />

y0( 1 � t)<br />

3<br />

�<br />

�<br />

3x1t ( 1 � t)<br />

2<br />

3y1t ( 1 � t)<br />

2<br />

3x2t 2<br />

� ( 1 � t)<br />

x3t 3<br />

�<br />

3y2t 2<br />

� ( 1 � t)<br />

y3t 3<br />

�<br />

(2.1a)<br />

(2.1b)

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

Saved successfully!

Ooh no, something went wrong!