MEG 403 · Computer-Aided Design & Manufacturing
Our notes
2 min readNumerical 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 loop | Closed loop | |
|---|---|---|
| Drive | stepper motors | servo motors |
| Feedback | none | encoders or linear scales measure position |
| Accuracy | limited (missed steps not detected) | high |
| Cost | low | higher |
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
-
Computer numerical control
(opens en.wikipedia.org in a new tab)
Wikipedia, Computer numerical control, CC BY-SA 4.0 · licence
-
Motion control
(opens en.wikipedia.org in a new tab)
Wikipedia, Motion control, CC BY-SA 4.0 · licence
-
NPTEL: Industrial Automation and Control (IIT Kharagpur, whole course)
Sensors, PID control, PLC sequence control and ladder logic, CNC machines and contour generation, hydraulic and pneumatic systems, drives. Video lectures, many hours in all: watch on Wi-Fi where you can.
(opens nptel.ac.in in a new tab)
NPTEL, NPTEL: Industrial Automation and Control (IIT Kharagpur, whole course), CC BY-NC-SA 4.0 · licence
Watch
-
Best pick What is CNC? How CNC Machines Work, from CAD to Servo Motion
8 min · ≈ 36 MB · about ₦20
(opens youtube.com in a new tab)
-
Fundamentals of Numeric Control (NC) Systems | CAD CAM CAE | ProfCCJadhav | L05 | LLAGT #LLAGT
23 min · ≈ 104 MB · about ₦58
(opens youtube.com in a new tab)
-
CAD/CAM & CAE : Part_5_Unit 6 CNC - DNC Technology : Direct Numerical Control (DNC), Types of DNC
15 min · ≈ 68 MB · about ₦38
(opens youtube.com in a new tab)
-
10 NX CAM Variable Contour Operation Interpolate Tool Axis
3 min · ≈ 14 MB · about ₦8
(opens youtube.com in a new tab)
-
Computer Numerical Control (First manual CNC program using circular interpolations G02 & G03)
14 min · ≈ 63 MB · about ₦35
(opens youtube.com in a new tab)
-
Lec 37: CNC machines and interpolation
1 h 15 min · ≈ 338 MB · about ₦190
(opens youtube.com in a new tab)
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.