Machine Design #32: Datums and Tolerance Stack-Ups
A CAD assembly may close perfectly at nominal dimensions yet show excessive gaps, interference, or a misaligned sensor after manufacturing. The root cause is often not one individual dimension, but how the datum is selected and how the dimensional chain runs from that datum to the functional feature.
This article explains how to select functional datums, build a closed dimensional loop, and check accumulated variation before releasing a drawing.
1. A datum is not always the same as the CAD origin
The CAD origin is convenient for modeling. A datum on a drawing is a reference used to describe, manufacture, assemble, and inspect the part.
A useful datum should answer:
- Where does the part seat during assembly?
- Which surface or axis determines its functional position?
- Can the supplier fixture the part from that reference?
- Can quality control reproduce the reference consistently?
If dimensions are taken from an edge that is convenient for drafting but is not the assembly reference, intermediate variation can accumulate at the final position.
2. What is a tolerance stack-up?
A tolerance stack-up is a series of dimensions that combine to create a functional distance or clearance.
For example, the position of a sensor head relative to a moving part may depend on mounting-plate thickness, hole position, bracket length, an adjustment slot, and the tolerance of a purchased component. Every dimension may pass individually while the final clearance still fails.
Build a closed loop and identify the closing dimension—the functional value the design actually needs to control.
3. Start with the functional dimension
Do not begin by adding every dimension visible on the drawing. First ask:
- What minimum clearance prevents interference?
- Under which worst-case condition must useful stroke be maintained?
- Which two features must align?
- Which component can be adjusted?
- Does a purchased component have its own tolerance or play?
Then work backward from the functional requirement to identify the dimensions that truly belong in the loop.
4. How to build a dimensional loop
Step 1: Select the analysis direction
Choose the X, Y, or Z axis, or another specific direction. Do not mix different directions in one equation.
Step 2: Select the start and end points
These two points define the functional dimension: two surfaces forming a clearance, the centers of two features that must align, or a stop position relative to a sensor.
Step 3: Follow a closed path
List each dimension as positive or negative. When the path returns to the starting point, the algebraic sum of the loop is zero at nominal condition.
Step 4: Assign tolerances and data sources
Do not use only drawing tolerances. Include machining variation, fit clearance, coating, purchased-part tolerances, deformation, and available adjustment.
Step 5: Calculate the limit conditions
With the worst-case method, total variation in the unfavorable direction is estimated as the sum of the absolute contributions:
T_total = |T1| + |T2| + ... + |Tn|
This method is conservative, but it is appropriate when every assembly must fit without relying on probability.
5. Worst-case and statistical analysis
Worst-case
Worst-case analysis assumes that every dimension simultaneously reaches its most unfavorable limit. It is easy to understand, easy to audit, and supports the requirement that every assembly must pass. Its disadvantage is that it may drive component tolerances too tight and increase cost.
Statistical analysis
Statistical analysis is more suitable for high-volume production with stable processes and reliable distribution data. The RSS method estimates total variation from the square root of the sum of squared independent contributions.
Do not use a statistical method without process-capability data, when contributors are not independent, when failure has a safety consequence, or when rework is unacceptable. For one-off machines, a worst-case analysis combined with an adjustable feature is often easier to manage.
6. How the datum affects the dimensional chain
When several functional features are dimensioned directly from one datum, the variation between them is generally easier to control than with serial chain dimensions.
Baseline dimensioning
Multiple dimensions originate from one common reference. This reduces positional stack-up but requires suitable fixturing and inspection.
Chain dimensioning
Dimensions run from one feature to the next. This may follow the machining sequence, but variation accumulates at the final feature.
Coordinate or ordinate dimensioning
Positions are defined by coordinates from one origin. This is useful for hole patterns and CNC machining, but the origin must still reflect function.
No dimensioning method is ideal for every case. The important point is to direct accumulated variation toward the location that has the least functional impact.
7. Functional datum, manufacturing datum, and inspection datum
- Functional datum: the feature that establishes position when the part operates.
- Manufacturing datum: the reference used to fixture and produce the feature.
- Inspection datum: the reference used by quality control to set up the part for measurement.
When these references differ, datum transfer and transfer error enter the stack-up. Ignoring them can produce a formally correct drawing that is difficult to manufacture or a measurement result that does not represent function.
Select the functional datum first, then design manufacturing and inspection methods that reproduce it or explicitly control the datum transfer.
8. Design for adjustment
Not every variation should be solved with tight tolerances. Many machine assemblies work better with a sensor adjustment slot, height-compensation shims, a threaded stop, an eccentric pin, or a locating surface that is pinned after alignment.
The adjustment range must cover the worst-case variation and must be lockable after setting. A long slot without a measurement reference or anti-slip method merely moves the problem from manufacturing to assembly.
9. Example: stroke-sensor position
The functional requirement is for the sensor to switch before the mechanism reaches the hard stop, but not so early that useful stroke is lost.
The loop may include the stop position, actuator stroke, sensor bracket, adjustment slot, and sensing distance. If the bracket is dimensioned only from the nearest plate edge, plate variation and plate installation position may accumulate in the sensing gap.
A better approach is to:
- Establish the datum from the actuator assembly locating surface.
- Dimension the stop and sensor from the same datum system.
- Calculate the early and late switching limits.
- Provide an adjustment slot that covers the remaining variation.
- Define the setup and verification method for assembly.
10. Common mistakes
- Calculating the chain from nominal CAD while ignoring purchased-part tolerances.
- Using chain dimensioning for a final feature that is highly position-sensitive.
- Selecting a raw edge or unstable surface as a datum.
- Using RSS without process data.
- Tightening every component tolerance instead of directing variation to an adjustable feature.
- Ignoring coating, temperature, play, or deformation when they matter.
- Failing to identify reference dimensions, creating over-dimensioning or conflicts.
- Calculating the limits without defining how the final assembly will be inspected.
11. Pre-release checklist
- What is the functional closing dimension?
- Are the start and end features of the loop clear?
- Does the datum reflect the real assembly condition?
- Are the direction and sign of every dimension consistent?
- Has any purchased-part tolerance or fit clearance been missed?
- Does the failure mode require worst-case analysis, or is there enough data for a statistical method?
- At which feature is variation accumulating?
- Can adjustment be added instead of tightening every tolerance?
- Can the manufacturing and inspection references reproduce the functional datum?
- What value and tool will be used to accept the final assembly?
Conclusion
Datums and tolerance stack-ups connect CAD intent to the physical machine. The right datum lets features be made and inspected from a meaningful reference; the right closed-loop analysis shows where variation will go before production begins.
Start from the functional dimension, analyze the limit conditions, and deliberately design an adjustment point. This is usually more economical and reliable than tightening every tolerance.
Public references
View all MINATA technical articles