u Chart
The u chart is a SPC Chart PRO attribute chart that monitors defects per unit when the size of the inspected area varies from sample to sample.
The u chart is to the c chart what the p chart is to the np chart: it counts defects (a unit can carry several) under the Poisson distribution, but instead of assuming a fixed inspection area it divides the defect count by the number of units inspected, giving a rate. That lets you chart samples of different sizes together — 10 boards one hour, 25 the next — because a rate of 0.4 defects per board means the same thing regardless of how many boards were in the sample.
Select u chart (defects per unit) in the Chart Type dropdown.
How It Works
Each row of your query is one sample. The value field holds the total defect count for that sample, and a second column (or a fixed option) gives the number of units inspected. The panel plots defects ÷ units — the defect rate.
The center line is the overall defect rate, pooled across every sample. The control limits are set three sigma out under the Poisson distribution, and because the Poisson standard error shrinks as the inspected area grows, the limits step in and out to follow each sample's own size.
A point is flagged when its defect rate falls outside its own limits.
Setting It Up
In the SPC section, with the u chart type selected:
| Option | Description |
|---|---|
| Sample size field | A numeric field in your query giving the number of units inspected per sample. It is hidden from the plot automatically. |
| Fixed sample size | A constant number inspected per sample, used when no sample-size field is selected. |
Rows with a missing count or a non-positive sample size are treated as gaps: they are not plotted and do not contribute to the center line or the limits.
Variable Control Limits
When the inspected area varies, the limits vary with it — larger samples give tighter limits — and the panel draws them as stepped lines that follow each sample's own limit.
The scalar LCL/UCL shown in labels, the statistics table, and the fill region are representative values computed from the average sample size. Run rules always test each point against its own per-point limits.
Methods and Formulas
Let each sample i contribute cᵢ defects over nᵢ units inspected.
| Formula | |
|---|---|
| Plotted value | uᵢ = cᵢ ⁄ nᵢ |
| Center line | ū = Σcᵢ ⁄ Σnᵢ |
| Control limits | ū ± 3·√( ū ⁄ nᵢ ) |
The lower limit is floored at 0.
Classic u limits assume the Poisson distribution holds exactly. With very large samples, real processes often vary more than the Poisson predicts (overdispersion) and nearly every point falls outside the limits. When that happens, switch to the Laney u′ chart, which corrects for it.
Choosing the u Chart
| Scenario | Chart |
|---|---|
| Counting defects, inspected area varies | u |
| Counting defects, inspected area fixed | c |
| u chart with large samples and limits that look too tight | Laney u′ |
The sample-size configuration and chart type are saved with the dashboard. Like every chart type, the u chart works with both a time and a numeric X-axis.
The u chart is part of SPC Chart PRO. For requirements, licensing, and support, see the SPC Chart PRO documentation.