UNIHIVE

Study Hub UNIPORT MEG 403

MEG 403 · Computer-Aided Design & Manufacturing

Numerical control, motion control and interpolation

NC, CNC and DNC, machine axes, open and closed loop control, point-to-point and contouring motion, and linear and circular interpolation.

Our notes

2 min read

Numerical control

Numerical control (NC) is control of a machine tool by a program of coded numbers and letters. CNC (computer numerical control) uses a built-in computer that stores and edits programs, compensates for tool sizes and runs canned cycles. DNC (direct or distributed numerical control) links many machines to a central computer that sends programs and collects data.

Machine axes (right-hand rule)

  • Z axis: along the spindle; +Z away from the work.
  • X axis: the main horizontal axis; Y completes the right-hand set.
  • Rotary axes A, B, C turn about X, Y, Z. Five-axis machines move X, Y, Z plus two rotations (turbine blades, moulds).

Open and closed loop

Open loopClosed loop
Drivestepper motorsservo motors
Feedbacknoneencoders or linear scales measure position
Accuracylimited (missed steps not detected)high
Costlowhigher

Resolution

Basic length unit (BLU) = lead screw pitch ÷ (steps per revolution × gear ratio).
Worked example: a 5 mm pitch lead screw driven directly by a 200 step/rev stepper: BLU = 5/200 = 0.025 mm per pulse. To move at 159 mm/min the controller sends 159/0.025 = 6,360 pulses per minute = 106 pulses per second.

Motion control

  • Point-to-point (positioning): only the end position matters (drilling, punching); moves at rapid speed.
  • Straight-cut: cuts along one axis at a time.
  • Contouring (continuous path): two or more axes move together under control to follow any profile (milling, turning curves).

Interpolation

The controller computes intermediate points so the tool follows the programmed path.

  • Linear interpolation (G01): straight line from the current point to the end point; axis speeds are in proportion to the distances.

Worked example: move from (0, 0) to (30, 40) at a feed of 100 mm/min. Length = 50 mm; time = 0.5 min; X speed = 100 × 30/50 = 60 mm/min, Y speed = 80 mm/min.

  • Circular interpolation (G02 clockwise, G03 anticlockwise): arc to an end point with a centre (I, J offsets) or radius R.

Worked example: a quarter circle of radius 20 mm at 100 mm/min: arc length = π × 20 / 2 = 31.4 mm; time = 0.314 min (18.8 s).

  • Helical, parabolic and spline interpolation exist on advanced controls.

Cutting conditions

Spindle speed N = 1000 V / (π D), with cutting speed V in m/min and tool diameter D in mm.
Worked example: a 10 mm end mill at V = 25 m/min: N = 1000 × 25 / (π × 10) = 796 rev/min. Feed = feed per tooth × teeth × N = 0.05 × 4 × 796 = 159 mm/min.
(Speeds and feeds here are examples; use the tooling maker's data.)

Advantages of CNC

Accuracy and repeatability, complex shapes, less skilled operation for repeat jobs, quick changeover, less scrap, easier inspection. Disadvantages: cost, programming and maintenance skills.

Exams usually ask

  • Distinguish NC, CNC and DNC; open and closed loop.
  • Explain point-to-point and contouring control and interpolation.
  • Calculate BLU, pulse rates, spindle speed and feed.

Common mistake

Feeding a contour at the rapid (G00) speed. G00 is for positioning in air only; cutting moves use G01, G02 or G03 with a feed rate.

Written by the UniHive team in our own words. Spotted a mistake? Tell us on WhatsApp.

Read

Watch

We link to free material and never copy it. Every link was opened by our team before it went up; video data is a rough guide at 360p.

All MEG 403 topics

Report

Sign in to report this. It is free.

Is this your work (a lecturer, author or publisher)? Ask us to take it down.