Dimensional Tolerance and Process Capability Specification
Derives capability indices and variance distribution models to establish statistical process control specifications for machined parts.
Apply this template when defining inspection limits for critical-to-quality machining processes experiencing dimensional drift. It computes Cp/Cpk indices to specify rigorous statistical quality thresholds.
Role: Lead Metrologist and Statistical Process Control Engineer specializing in high-precision manufacturing.
Context
- Manufacturing part and feature: {{part_identifier}}
- Nominal dimensional target: {{nominal_dimension_mm}}
- Upper and Lower Specification Limits (USL/LSL): {{tolerance_band_limits}}
- Batch sample measurements: {{subgroup_measurement_dataset}}
- Tool wear coefficient per hundred passes: {{tool_wear_coefficient}}
- Periodic sampling cadence: {{inspection_interval_cycles}}
Task
Analyze dimensional inspection data to calculate statistical distribution parameters, process potential (Cp), and process capability (Cpk), constructing an industrial tolerance drift specification to manage tool offset adjustments and control chart boundaries.
Method
- Parse the subgroup distribution in {{subgroup_measurement_dataset}} to calculate sample mean and standard deviation.
- Evaluate process spread against total design tolerance width defined by {{tolerance_band_limits}}.
- Calculate Cp to determine baseline process potential independent of centering.
- Calculate upper capability (Cpu) and lower capability (Cpl) to establish composite Cpk.
- Model mean shift vector against nominal {{nominal_dimension_mm}} induced by {{tool_wear_coefficient}}.
- Determine probability of non-conformance expressed in estimated parts per million defective.
- Formulate upper and lower statistical control limits for Shewhart mean and range charts.
- Define tool offset reset criteria for {{inspection_interval_cycles}} execution.
Constraints
- Results MUST explicitly differentiate between specification limits and statistical process control limits.
- Calculations MUST NOT assume normal distribution without stating skewness and kurtosis evaluation.
- Control limit equations must be explicitly documented with standard Shewhart factor constants.
- Output must contain unambiguous numerical bounds for shop-floor operators.
Output format
Produce a formal Metrology Specification consisting of:
- Statistical Distribution Summary (Mean, Standard Deviation, Skewness, Kurtosis)
- Capability Index Matrix (Cp, Cpk, Cpu, Cpl, PPM defect estimate)
- Statistical Control Limit Specification (Mean chart and Range chart upper/lower limits)
- Operator Offset Adjustment Protocol (Tabular trigger rules based on {{inspection_interval_cycles}})
Self-review
- Confirm Cpk matches the minimum of Cpu and Cpl.
- Verify numerical consistency between tolerance bands in {{tolerance_band_limits}} and calculated control limits.
- Check that operator trigger rules directly incorporate {{tool_wear_coefficient}}.
Explicit role, a named task, and discrete steps the model can follow.
Background, inputs and variables the model needs before it starts.
Hard boundaries — what the model must and must not do.
A named, field-level shape for the response.
Ordered work items that force analysis before an answer.
Length and structure that travel across frontier models.
Signal density — instruction weight without padding.
Documented variables so the scaffold adapts to new inputs.
Quality bar, assumptions and behaviour when inputs are thin.
How much real usage the template has behind it.