ME 548: Numerical Control of Machine Tools 1

Estimated study time: 11 minutes

Table of contents

Sources and References

  • Altintas, Manufacturing Automation: Metal Cutting Mechanics, Machine Tool Vibrations, and CNC Design, 2nd ed., Cambridge University Press.
  • Kalpakjian and Schmid, Manufacturing Processes for Engineering Materials, 6th ed., Pearson.
  • Groover, Fundamentals of Modern Manufacturing, 6th ed., Wiley.
  • Shaw, Metal Cutting Principles, 2nd ed., Oxford University Press.
  • Smid, CNC Programming Handbook, 3rd ed., Industrial Press.
  • Tlusty, Manufacturing Processes and Equipment, Prentice Hall.

Chapter 1: Numerically Controlled Machine Tools

Numerical control replaces the manual operator’s handwheels with a computer that issues coordinated axis commands. The resulting precision and repeatability enable the complex geometries of modern components, and the automation they support allows a single skilled operator to supervise several machines.

1.1 Architecture of a CNC Machine

A CNC machine couples mechanical axes, servo drives, position feedback, a control computer, and a human–machine interface. Each linear or rotary axis is driven by a servo motor through a ballscrew or direct drive; position is measured by a rotary encoder on the motor or, preferably, a linear scale on the slide. The control receives a stream of motion commands (G-code or a higher-level part program) and converts them into synchronized reference trajectories for the axes.

Closed-loop control rejects disturbances from cutting forces, friction, and thermal drift. The position loop typically uses proportional feedback inside a cascaded velocity loop that uses PI control, with an inner current loop in the drive itself. Feedforward terms reduce following error along programmed paths.

1.2 Axes, Coordinates, and Kinematics

Machine coordinates follow right-handed conventions: the spindle axis is Z; X is the longest travel in the plane perpendicular to Z. Additional rotary axes (A, B, C) rotate about X, Y, Z. Five-axis machining combines three linear and two rotary axes; toolpath generation must transform part-coordinate programs into machine coordinates using the machine’s kinematic model, accounting for pivot offsets and head geometry.


Chapter 2: Part Programming

2.1 Manual Programming

G-codes prepare the machine (coordinate system, units, plane) and M-codes handle auxiliary functions (spindle, coolant). Common motion commands include G00 rapid traverse, G01 linear interpolation at programmed feed, G02/G03 circular interpolation, and G41/G42 cutter-radius compensation. A typical sequence for a pocket milling operation reads:

Program fragment.
G90 G54 G17 G21 absolute, part zero, XY plane, metric
T01 M06 tool change
S6000 M03 spindle on
G00 X0 Y0 Z5 rapid to start
G01 Z-2 F200 plunge
G41 D01 X10 Y0 F400 enable compensation
G01 X50 etc.

Cutter-radius compensation lets the programmer describe the workpiece contour; the control offsets the tool centre by the radius stored in the tool table. It is the mechanism by which worn or reground tools can still produce correct geometry.

2.2 CAD/CAM Toolpath Generation

Complex sculpted geometries—turbine blades, moulds, prosthetics—are programmed in CAM software from a CAD model. The CAM system computes cutter-contact points along surface isoparametric lines, generates a cutter-location file in generic form, and post-processes it to the target machine’s control dialect. Toolpath strategies (parallel, radial, spiral, adaptive clearing) trade surface finish, tool load, and cycle time.

Verification against a solid-model simulation detects gouges and collisions before the program reaches the machine.


Chapter 3: Mechanics of Metal Cutting

3.1 Orthogonal Cutting Model

Merchant’s orthogonal cutting theory idealizes chip formation as shear along a single plane at angle \( \phi \) to the direction of motion. Chip thickness ratio \( r = h/h_c \) relates chip thickness to uncut thickness:

\[ \tan\phi = \frac{r \cos\alpha}{1 - r \sin\alpha}, \]

with rake angle \( \alpha \). Shear-plane stress and friction-face equations yield

\[ F_c = \tau_s b h \frac{\cos(\beta-\alpha)}{\sin\phi \cos(\phi+\beta-\alpha)}, \]

where \( \beta \) is the friction angle on the tool face, \( \tau_s \) the material flow stress in shear, and \( b \) width of cut.

3.2 Turning, Milling, and Drilling

In turning, the tool moves past a rotating workpiece; cutting speed \( V = \pi D N \), feed \( f \) mm/rev, and depth \( d \) determine the material removal rate \( \mathrm{MRR} = V f d \). In milling, a rotating multi-tooth cutter produces chips of varying thickness depending on immersion geometry; the average force per tooth is

\[ F_{avg} = K_c a_p f_t, \]

with \( K_c \) the specific cutting pressure, \( a_p \) axial depth, and \( f_t \) feed per tooth. Drilling combines axial thrust and torque; thrust is controlled by feed and web geometry, while torque balances the tangential force on the cutting lips.

3.3 Temperature and Tool Wear

Cutting energy dissipates almost entirely as heat, most of which leaves in the chip. Tool–chip interface temperatures can exceed 700 °C in steel machining, accelerating wear. Tool life follows Taylor’s equation,

\[ V T^n = C, \]

with exponent \( n \) around 0.15 for HSS and 0.3 for carbide. Wear modes include flank wear, crater wear, built-up edge, and catastrophic failure; each correlates with a specific combination of temperature, stress, and chemistry.

Optimum cutting conditions. For a given operation, cycle time has a minimum with respect to cutting speed that balances machining time (which decreases with speed) against tool-change time (which increases because T decreases). The economic speed is obtained by differentiating the total time per part and setting the result to zero.

Chapter 4: Static and Dynamic Errors

4.1 Static Deformations

Cutting forces deflect the spindle, tool, fixture, and workpiece. For a cantilevered boring bar of length \( L \) and moment of inertia \( I \), the radial deflection at the tool is

\[ \delta = \frac{F_r L^3}{3 E I}. \]

This deflection appears as a direct form error: the bored diameter is smaller than programmed, and the error varies along the hole because \( F_r \) varies as the cut progresses. Compensation strategies include pre-distorted paths, stiffer tool holders, or controlled-deflection programming that takes the deflection–force relationship into account explicitly.

4.2 Machine Accuracy

Geometric errors — straightness, squareness, pitch — combine with thermal expansion to produce volumetric error at the tool tip. Laser interferometers and ball-bar tests characterize these errors, and many controls accept volumetric compensation tables that correct them in real time. Thermal compensation uses spindle temperature sensors and real-time correction of axis offsets.

4.3 Dynamics and Chatter

When depth of cut exceeds a stability limit, the cutting process regenerates waves on the surface and self-excited chatter grows. The classical Tlusty stability lobe diagram plots critical depth of cut versus spindle speed. For a single-degree-of-freedom system with stiffness \( k \), damping \( \zeta \), and natural frequency \( \omega_n \), the minimum stable depth is

\[ b_{lim,min} = \frac{1}{2 K_c \mathrm{Re}[G(\omega)]_{min}}, \]

and lobes appear at speeds where the tooth-pass frequency aligns with the structure’s resonance, allowing substantially higher depths of cut. Exploiting lobes is central to high-performance machining.


Chapter 5: Laboratory Measurements and Process Understanding

5.1 Force Measurement

A three-component piezoelectric dynamometer measures cutting, feed, and thrust forces. In a turning test, the measured forces, combined with chip geometry, let the student back out shear-plane angle, friction angle, and specific cutting energy. In milling, the forces vary within a tooth cycle; a FFT of the force signal reveals the tooth-pass frequency and its harmonics and allows a calibration of cutting-coefficient models

\[ F_t = K_{tc} a_p h + K_{te} a_p, \qquad F_r = K_{rc} a_p h + K_{re} a_p. \]

5.2 Vibration and Tap Testing

An impulse hammer strikes the tool; a nearby accelerometer captures the response. The frequency-response function \( G(\omega) \) is the ratio of response to input; its real part is plotted against frequency and read to identify stability lobes. In practice the student pairs these measurements with controlled cutting tests to validate the predicted stability envelope.

5.3 Surface Finish

Surface roughness in turning, at low feed, is approximately

\[ R_a \approx \frac{f^2}{32 r_\epsilon}, \]

with \( r_\epsilon \) the tool nose radius. Higher feed improves productivity but roughens the surface; a feed and nose-radius choice that gives target \( R_a \) at acceptable cycle time defines the practical operating point.

Numerical control made possible the manufacturing of parts that could not have been produced manually; metal-cutting science explains why those parts come out the shapes and sizes they do. The practitioner moves continually between programmer, machinist, and analyst as each new part is developed.
Back to top