Skip to content
Tech Interview Prep

Top 100 Manufacturing Engineer Interview Questions and Answers

The questions most likely to come up in your Manufacturing Engineer interview, ranked by likelihood, with senior-level answers that cover what the interviewer is listening for.

Curated: · Written: · Reviewed: —

Reviewed 0Review pending 100

100 questions · Flow follows Relevance until this set has a learning order.

Q&A-1A new ABS housing is cracking at the screw bosses in drop testing and in the field at 4%, two weeks after launch. Walk me through how you would contain it, find the root cause, and prove a corrective action before resuming shipment?

The 90-second answer

I would treat this as a field escape, not a lab curiosity. First I contain: stop shipment, quarantine finished stock by date code and resin lot, and tell the customer what is known and what is not. Then I separate three hypotheses that look identical at the boss: the design puts too much stress there, the moulding made the material brittle there, or assembly torque and a chemical exposure cracked it after moulding. Each hypothesis predicts a different pattern across lots, cavities and time, so I collect evidence that discriminates between them before I change anything. Only after a fix passes drop, torque and ageing tests on parts from the production tool do I release, with traceability so the suspect population is bounded.

Containment and symptom definition

I would freeze the line and the warehouse, list every shipment since launch, and pull the field returns. I need the failure signature in writing: crack location (boss root, boss top, or through the wall), crack direction, whether the screw hole is intact, and time to failure. A crack that starts at the inner corner of the boss and runs axially points to hoop stress from the screw. A crack that is crazed, whitened and branched points to environmental stress cracking. A crack with a visible knit line or a dull, granular fracture points to weak weld strength from moulding.

For containment I would not rely on visual inspection alone. Hairline cracks at a boss are easy to miss at line speed, and a part can pass a visual check and crack later under sustained screw load. I would use torque-to-failure sampling from quarantined stock, plus dye penetrant or a proof torque at 1.5 times the specified assembly torque on a sample per lot. If proof torque fails parts that look good, visual sorting is not containment.

Yes No Stop ship and quarantine by date code Define crack signature and affected lots Proof torque and dye test on quarantined sample Proof test fails visually good parts? 100 percent proof test or scrap suspect lots Sample inspection with defined AQL and traceability Root cause work Validate fix on production tool Controlled release with enhanced monitoring

Discriminating the root cause

I would build a small evidence table before running any experiment, because the three hypotheses need different data.

HypothesisPredicted patternTest that discriminates it
Design: boss too thin, sharp inner corner, screw too largeFailures in every lot and cavity, at torque below assembly spec, crack at boss rootMeasure boss OD, wall and corner radius on failed and passing parts; torque-to-failure distribution
Moulding: low melt temperature, cold mould, weak knit line at bossFailures cluster by cavity, machine or shift; fracture shows knit line; gate far from bossCavity and machine traceability, melt and mould temperature logs, section the fracture and look for knit line and voids
Material or environment: wrong resin grade, regrind too high, chemical exposureFailures cluster by resin lot or customer environment; crazing before crackingResin lot and regrind records, melt flow check against the material datasheet, exposure history to cleaners or plasticisers

A worked check on the design hypothesis is quick and often decisive, but it needs its assumptions stated. For a screw, preload is estimated as F = T / (K x d), where T is tightening torque, d is nominal diameter, and K is a nut factor that bundles thread and bearing friction. K is not a constant. It varies with friction, surface finish and lubrication, commonly from about 0.15 to 0.25 for dry steel fasteners, so I would treat any single value as an assumption to be checked by torque-to-failure testing, not as a fact.

Using that formula as an illustration: T = 1.2 Nm, d = 0.003 m for an M3 screw, and an assumed K = 0.20 gives F = 1.2 / (0.20 x 0.003) = 2,000 N. If K were 0.25, the same torque gives 1,600 N. The range matters, which is why I would measure failure torque rather than trust the calculation alone.

Now put that preload on a hypothetical boss: outside diameter 5.5 mm, hole diameter 3.2 mm, so wall thickness is 1.15 mm. The annular cross-sectional area is pi/4 x (5.5^2 - 3.2^2) = 15.7 mm2. At 2,000 N, the average axial stress on that annulus is 2,000 / 15.7 = 127 MPa. That is an average, before stress concentration at a sharp boss root, and it already exceeds the tensile yield strength quoted on typical ABS datasheets, often in the region of 35 to 50 MPa depending on grade and test conditions. I would check the exact grade datasheet for the resin in use, because the figure is grade dependent. Even at the lower preload of 1,600 N, the average stress is about 102 MPa. The conclusion is not that the part must fail at exactly that load, because friction, thread engagement, creep and load sharing change the real stress, but that a boss this thin has little margin if preload approaches the estimate. Many moulding design guides suggest a boss outside diameter around 1.8 to 2.0 times the screw diameter as a starting point for ABS, which would be roughly 5.4 to 6.0 mm for M3, but that is a rule of thumb from material suppliers, not a guarantee, and I would verify it against the resin supplier guidance and by test.

If the design check looks marginal, I confirm with measured torque-to-failure: if the mean failure torque is 1.4 Nm with a spread down to 0.9 Nm, the assembly spec of 1.2 Nm sits inside the failure distribution. No process tweak fixes that reliably.

If the design check passes, I look at moulding. I would pull parts by cavity, run the same proof torque, and compare distributions. A cavity that fails at 1.6 Nm while others pass at 2.4 Nm, with the gate far from the boss, points to a knit line. I would then check melt temperature, injection speed and mould temperature for that cavity, and section a failed boss. Voids or a visible knit line at the crack origin confirm it. If failures track a resin lot across cavities, I check melt flow rate and regrind percentage against the material spec, and I test retained pellets from that lot.

Corrective action and proof

The fix depends on which hypothesis survives, and I would not combine three changes at once. For a thin boss, the fix is a design change: increase boss outside diameter, add a generous fillet at the boss root, consider a metal insert or a lower torque with a larger screw, and re-run a tolerance stack on the joint. For a knit line, the fix is gate relocation or a process window change, proven by cavity by cavity torque data. For a material issue, the fix is resin grade or regrind control, with incoming melt flow checks.

Validation has to use the production tool and production material, not a prototype. I would run a defined sample, for example 32 parts per cavity across three lots, through drop testing to the product spec, proof torque at 1.5 times assembly torque with no cracks after 24 hours under load, and a short ageing exposure if chemical cracking is suspected. I would also update the PFMEA and control plan: the new critical characteristic becomes boss wall or torque-to-failure, with a reaction plan that stops the line, not just a final inspection.

Release is staged. I would ship only lots made after the change, keep enhanced sampling for the first three lots, and keep field monitoring open until the return rate is back to the pre-launch baseline. If the customer needs product before validation finishes, that is a risk decision for the customer and quality management to sign, with the suspect population clearly identified, not a decision to quietly restart the old process.

Curated: · Written: · Reviewed: —

Difficulty: Hard
Q&A-2You need 100,000 identical ABS housings with ±0.3 mm tolerance. Which manufacturing process do you choose for lowest unit cost, and why?

The 90-second answer

Injection moulding. At 100,000 identical ABS housings, the steel tool is paid for by volume, the cycle time is seconds per part, and ±0.3 mm sits inside normal moulding capability for a well designed housing. CNC machining can hold that tolerance and tighter, but you pay spindle time on every part. 3D printing avoids tooling, but you pay build time on every part and tolerance and surface finish vary with orientation. The rule is simple: high volume plus a frozen design plus a mouldable geometry points to injection moulding.

State the assumptions first. The design is frozen, the walls are uniform at about 2.0 to 2.5 mm, there are no undercuts that would need a complex side action, and the deadline allows 6 to 8 weeks for tool manufacture. If any of those fail, the answer changes. With them in place, the choice is one step.

The arithmetic that decides it

Use labelled hypothetical figures for a 100 mm ABS housing. A single cavity steel tool costs $45,000. Moulding cost per part is $0.85. CNC cost per part is $18. Printing cost per part is $11.

RouteFixed costCost per partTotal at 100,000 partsCost per part at 100,000
Injection moulding$45,000 tool$0.85$130,000$1.30
CNC machining$0$18.00$1,800,000$18.00
3D printing$0$11.00$1,100,000$11.00

Tool cost per part is $45,000 divided by 100,000, which is $0.45. Add $0.85 and the moulded part costs $1.30 all in. Break even against CNC is $45,000 divided by ($18.00 minus $0.85), about 2,620 parts. At 100,000 parts you are far past break even, so the tool is not a risk on cost grounds.

Yes No Identical parts, frozen design Volume above about 2,600 parts? Injection moulding CNC or printing

Why tolerance does not block it

ABS shrinks about 0.5 to 0.7 percent during moulding. On a 100 mm dimension that is 0.5 to 0.7 mm, so the tool is cut oversize by that amount and the shrinkage is compensated before steel is cut. With uniform wall thickness, draft of 1 to 2 degrees on vertical walls, and radii above 0.5 mm, ±0.3 mm is routine. A single bore that needs ±0.05 mm would be moulded undersize and finished with a ream or a bore operation. That secondary operation touches one feature instead of the whole part.

What you check at first samples

Measure key dimensions on the CMM at T1, the first tool trial. Check flatness for warpage, look for sink marks over thick sections, and confirm complete fill at the edges. If a dimension is off by a consistent amount, steel is adjusted or process settings change. If it drifts during the run, cavity pressure and melt temperature traces show it before final inspection does. A 30 second cycle makes 100,000 parts in about 840 machine hours, so one press on two shifts clears the order inside a normal production window once the tool is ready.

The one line to repeat in the interview: volume amortises the tool, and at 100,000 identical parts that amortisation beats paying for machining or printing time on every single housing.

Curated: · Written: · Reviewed: —

Difficulty: Medium
Q&A-3Walk me through how you would design a 3-2-1 fixture for a thin-walled aluminium housing so clamping does not distort it during machining?

The 90-second answer

For a thin-walled aluminium housing, I would locate on the finished datum face and two datum holes, then clamp only over solid bosses directly above the locators. The 3-2-1 scheme removes all six degrees of freedom exactly once: three points on the primary plane stop translation normal to that plane and rotation about two axes, two points on the secondary plane stop one translation and the remaining rotation, and one point on the tertiary plane stops the last translation. Clamps come after location, they never become locators, and their force path goes straight into the fixture base instead of bending the wall. I would size clamp force from the cutting force, check deflection at the clamp span against the tolerance, and prove it by indicating the part under clamp and again after release.

Assume a 120 x 80 mm housing, 2 mm walls, 0.05 mm flatness on the datum face, and a 5 mm end mill in 6082 aluminium. The numbers below are for that case.

Locating: exactly six constraints

DatumLocatorsDegrees of freedom removed
A, primary face3 tooling balls or ground pads, spread as wide as the part allowsZ translation, rotation about X, rotation about Y
B, secondary hole1 round pin in a reamed datum holeX translation (if B is the secondary axis)
B, same hole or second hole1 diamond pin, or a second pin in a slotRotation about Z
C, tertiary hole or edge1 pin or edge locatorY translation
Datum A face: 3 pads Datum B hole: round pin Datum B: diamond pin stops rotation Datum C: single pin stops last translation Part seated, 6 DOF fixed Clamps applied over locators Machine, then release and re-check

Two details decide whether this works. First, the diamond pin (or slotted hole) absorbs centre-distance tolerance between the two B holes. Two round pins would overconstrain the part, and the operator would force it in, which looks like location but is actually distortion. Second, the three A pads must be coplanar to better than a third of the part tolerance, typically 0.01 mm on a ground fixture plate, and the pins need hardened, replaceable bushes. A worn pin adds clearance directly to positional tolerance.

Clamping without distortion: force, position, sequence

Clamp force has to resist the horizontal cutting force through friction at the locators, with a safety factor of about 3, but every newton also bends the part if it is applied away from a support. The check I run is a simple beam estimate for the wall between a clamp and its nearest locator.

For a 50 mm wide, 2 mm thick aluminium wall spanning 80 mm between supports, with a 200 N clamp load at midspan:

  • I = b t^3 / 12 = 50 x 2^3 / 12 = 33.3 mm^4
  • delta = F L^3 / (48 E I) = 200 x 80^3 / (48 x 70,000 x 33.3) = 0.92 mm

That is 18 times the 0.05 mm tolerance. Moving the clamp to within 20 mm of a locator cuts the span by four and deflection by 64, to about 0.014 mm. So the rule is mechanical, not procedural: put a strap or toe clamp over a boss, with a support pad or locator directly underneath, and never clamp a free wall to hold it down.

In practice that means:

  • Clamp pads are copper or acetal tipped, sized to spread load, and they sit on machined bosses at least 8 mm thick, not on the 2 mm wall.
  • Force is limited and repeatable. A torque wrench at a specified value, or a regulated hydraulic clamp at a set pressure, beats a hand-tightened strap whose force varies by operator. For this housing I would start around 150 to 250 N per clamp and verify by test, rather than assuming more is safer.
  • Sequence is centre-out in a star pattern, tightened in two passes: snug all clamps, indicate the datum face, then final torque. Tightening one corner first pulls the part off the A pads and the remaining clamps then lock in that tilt.
  • Clamps are clear of the tool path and chip flow. A clamp in the chip stream loads up with swarf, and a clamp the cutter can reach is a crash waiting for a program error.

How I would prove it, and what fails

I would indicate the top face with clamps on and off, and measure springback after release. If the part moves more than about 0.02 mm on release, the machining was done on a bent part and the released shape will not match the drawing. A CMM check on first-off parts, comparing clamped and free state, catches this before production.

Failure modeCauseDetection
Springback after unclampingClamp force bending a thin wall, or clamping away from supportsDial indicator under clamp vs released, CMM flatness drift
Part shifts during cutClamp force below cutting force, or chips under the A padsWitness marks on locators, sudden tool load change, scrap at a consistent location
Overconstraint at assembly of the fixtureTwo round pins, or a clamp acting as a fourth A locatorOperator force to seat the part, repeatability test over 30 load cycles drifting beyond 0.02 mm
Locator wear and clearance growthSoft pins, chip ingress, no cleaning between cyclesGo/no-go pin check on a schedule, repeatability trend

The trade-off I would state to the interviewer: a fixture with more clamps and more locators feels more secure, but each extra contact is another chance to bend the part or overconstrain it. For this housing, four clamps over bosses, six locators, and a verified force limit will hold tighter than eight hand-tightened straps on the walls, and the repeatability data will show it.

Curated: · Written: · Reviewed: —

Difficulty: Hard
Q&A-4An X-bar and R chart for shaft diameter (n=5) shows subgroup 18 beyond the X-bar UCL while R stays in control. Walk me through how you'd interpret it and what you'd do next?

The 90-second answer

I would read the R chart first. If R is in control and one X-bar point is beyond the 3-sigma limit, the process mean has likely shifted while within-subgroup variation has not. I would not adjust the machine on that point alone. I would confirm the measurement, check for an assignable cause between subgroups 17 and 18, contain product made since the last in-control subgroup, and only then decide whether to stop, adjust, or keep running under enhanced sampling.

That order matters. X-bar limits are calculated from R-bar, so an unstable R invalidates the X-bar limits. A point beyond the limit on X-bar with stable R points to a mean shift. A point beyond the limit on R points to a variation change, and the X-bar chart should not be trusted until R is back in control.

Worked example

Assume shaft diameter in mm, subgroup size n = 5, Phase II limits from a stable baseline. Constants for n = 5: A2 = 0.577, D4 = 2.115, D3 = 0.

Baseline: X-double-bar = 10.020 mm, R-bar = 0.420 mm.

X-bar limits: 10.020 ± 0.577 × 0.420 = 10.020 ± 0.242, so UCL = 10.262, LCL = 9.778.

R limits: UCL = 2.115 × 0.420 = 0.888, LCL = 0 × 0.420 = 0.

SubgroupX-barRReading
1510.010.38In control
1610.040.44In control
179.990.41In control
1810.310.39X-bar above UCL, R in control
1910.280.43Second point above UCL

Subgroup 18 is 0.048 mm above the UCL. R at 0.39 sits near the baseline, so the five parts in that subgroup are consistent with each other but centred higher. That pattern fits a tool offset, a new material lot, a temperature change, or a gauge zero shift after calibration. It does not fit increased machine play, which would usually widen R first.

Other special-cause signals to check before reacting

A single point beyond 3 sigma is the clearest signal, but I would also scan for patterns that precede it: nine consecutive points on the same side of the centre line, six points trending steadily up or down, and two of three points in Zone A (beyond 2 sigma) on the same side. Those patterns suggest drift or a small sustained shift that a single-point rule would miss. I would apply the same checks to R, where a run of high R values often signals tool wear or fixture looseness before parts go out of specification.

I would not recalculate limits to absorb subgroup 18. Recalculating after a special cause hides the shift and resets the baseline to a state the process may not hold. Limits get revised in Phase I after a known change, using a fresh set of subgroups collected under stable conditions, or after a deliberate process improvement with documented approval.

Reaction sequence

No Yes Signal on X-bar or R Verify measurement and subgrouping R in control? Fix variation source first Contain since last good subgroup Find assignable cause Correct, verify with next subgroups Resume normal sampling

Containment means segregating and, where needed, sorting or remeasuring parts from subgroup 18 onward, not just the subgroup that plotted high. If the cause is a gauge shift, the parts may be fine and the chart is lying. If the cause is a tool offset, parts since the offset are suspect even if some individual readings fall inside specification limits, because the process was no longer centred.

Tampering is the failure mode I watch for. Adjusting the machine after every X-bar point, especially points inside the limits, adds variation. Deming's funnel experiment shows output variance roughly doubling when operators chase common-cause noise. Adjustment belongs after a confirmed special cause, in the direction and size the cause implies, followed by enough subgroups to confirm the mean has returned to target.

If R had gone out of control instead, my first move would differ. I would check within-subgroup conditions: fixture clamping, part presentation, measurement repeatability, and whether subgroups still capture rational variation (parts made consecutively, not parts picked across a shift). Only after R stabilises would I interpret X-bar points against the existing limits.

Curated: · Written: · Reviewed: —

Difficulty: Medium
Q&A-5A shaft process has Cp 1.67 but Cpk 1.00 against 10.00 ±0.10 mm. How would you calculate those indices and decide whether to center it or widen the tolerance?

The 90-second answer

First check the process is stable and roughly normal. Cp and Cpk calculated on an out-of-control or bimodal process describe the past sample, not future output. Then use within-subgroup sigma, not overall standard deviation, if there is drift between subgroups.

For a shaft at 10.00 ±0.10 mm, USL = 10.10, LSL = 9.90. Suppose a stable X-bar/R study with n=5 gives mean = 10.04 mm and within-subgroup sigma = 0.020 mm.

Python
# Python 3.11, checked against the figures below
usl, lsl = 10.10, 9.90
mean, sigma = 10.04, 0.020

cp = (usl - lsl) / (6 * sigma)
cpu = (usl - mean) / (3 * sigma)
cpl = (mean - lsl) / (3 * sigma)
cpk = min(cpu, cpl)
print(f'Cp={cp:.2f} Cpu={cpu:.2f} Cpl={cpl:.2f} Cpk={cpk:.2f}')
# Cp=1.67 Cpu=1.00 Cpl=2.33 Cpk=1.00

Cp measures width only: (10.10 - 9.90) / (6 × 0.020) = 1.67. The spread fits inside the tolerance with margin. Cpk adds centering. The upper margin is only 0.06 mm, so Cpu = 0.06 / 0.060 = 1.00, and Cpk takes the smaller side, 1.00.

That pattern decides the action. Cp is adequate but Cpk is low, so centering is the fix. Shift the mean from 10.04 to the 10.00 target by adjusting the tool offset or fixture datum, then re-measure. After centering, Cpk rises to Cp, 1.67, with no change in sigma.

CaseMeanSigmaCpCpkApprox. out-of-specAction
---10.040.0201.671.001,350 ppm above USLCenter to 10.00
---10.000.0201.671.670.6 ppm totalHold, monitor
---10.000.0400.830.8312,400 ppm totalReduce sigma or widen tolerance

The ppm figures come from the normal tail beyond each limit. At Cpk 1.00 the nearer limit sits at 3 sigma, tail probability 0.00135 per side, about 1,350 ppm. At 1.67 it sits at 5 sigma, tail probability about 2.9×10^-7 per side, about 0.6 ppm across both sides. Centering here removes roughly 1,350 defective parts per million without touching variation.

When centering cannot help

If Cp itself is below the requirement, commonly 1.33 for an established process and 1.67 for a new one, centering only equalises the two tails. With sigma = 0.040 mm in the table, Cp = 0.20 / 0.24 = 0.83 even at target. Each limit then sits at 2.5 sigma, tail probability 0.00621 per side, about 12,400 ppm total. No offset fixes that. The options are reduce variation (tool wear, spindle runout, thermal drift, material lot change) or widen the tolerance, and widening needs evidence the current limit is tighter than function requires. Check the drawing history, mating part clearance and test data before asking engineering to move a limit. A tolerance widened to pass a noisy process usually moves the failure to assembly or to the customer.

Traps that make the indices lie

Sigma from R-bar/d2 assumes rational subgroups. If subgroups span a tool change or a shift change, within sigma understates the variation the customer sees, and Cp looks better than reality. Compare within sigma with overall s. A large gap signals between-subgroup drift, and Ppk using overall s will be lower. Report both during a drift investigation.

Normality matters at the tails. A skewed diameter distribution or a truncated process near a hard stop can give a respectable Cpk while the actual ppm is far higher. Plot a histogram and a normal probability plot, and count actual parts beyond each limit in the study. If the count disagrees with the normal prediction by an order of magnitude, trust the count and investigate the distribution shape rather than quoting Cpk.

Also confirm measurement capability before acting on a 0.02 mm sigma. If gauge repeatability and reproducibility consume more than about 30% of the tolerance, the observed sigma is mostly measurement noise. Centering on that signal chases the gauge. Run a gauge study first, and only then adjust the process offset in small steps with fresh subgroups to confirm the new mean.

Curated: · Written: · Reviewed: —

Difficulty: Hard
Q&A-6What can a factorial DOE estimate about yield that changing one factor at a time cannot?

The 90-second answer

A factorial design changes several factors together in a planned pattern, so every factor is tested at every level of the others. That lets you estimate interactions, meaning the effect of one factor depends on the level of another, and it does so with fewer runs than changing one factor at a time. One-factor-at-a-time testing cannot estimate an interaction at all, because the other factors are held fixed while you move one.

Assume yield is the response and the factors are controllable, such as temperature and pressure. The rule to state in the interview is simple: if you only move one factor at a time, you will miss the combination that actually drives yield.

Why the interaction matters

Take two factors at two levels each. A full factorial needs 2 x 2 = 4 runs. One-factor-at-a-time needs a baseline plus one run per change, and it still leaves the combined setting untested.

RunTemperaturePressureYield (hypothetical example)
1LowLow82%
2HighLow83%
3LowHigh84%
4HighHigh93%

Read the table by differences. Raising temperature at low pressure gains 1 percentage point (83 - 82). Raising temperature at high pressure gains 9 points (93 - 84). The effect of temperature depends on pressure, so there is a temperature by pressure interaction of about 8 points. One-factor-at-a-time testing from run 1 would test run 2 and run 3, conclude both factors barely matter, and never run run 4, which is the only setting that improves yield.

The arithmetic generalises. For k factors at two levels, a full factorial needs 2^k runs and estimates k main effects plus all interactions. For k = 5 that is 32 runs. One-factor-at-a-time with a baseline needs 6 runs but estimates only main effects, and only at one fixed setting of the other factors. A fractional factorial, for example 2^(5-1) = 16 runs, keeps the main effects and most interactions at half the cost, at the price of aliasing some higher order interactions together.

Python
import itertools
# Full 2x2 factorial: every combination appears once
for temp, pressure in itertools.product(["low", "high"], repeat=2):
    print(temp, pressure)
One factor at a time Other factors fixed Interaction cannot be estimated Factorial design Every factor at every level of others Main effects and interactions estimated

How to use it in practice

Screen with a factorial or fractional factorial in random order, rank the effects, then confirm the predicted best combination in a separate run. If the confirmation mean matches the prediction, lock that setting into the process sheet. If it does not, the model missed something, usually an interaction that was aliased in a low resolution design, and the next step is to run the complementary fraction or a design centred on the promising region.

The failure mode to name is the corner case in the table. A factor that looks useless alone can be the factor that unlocks yield in combination. That is exactly what a factorial design is built to catch, and it is the answer an interviewer is listening for.

Curated: · Written: · Reviewed: —

Difficulty: Medium
Q&A-7On a line running 120 parts/min in oil mist and vibration, you must verify a 2.00 ±0.05 mm flange thickness and O-ring presence for under $800 per station: which sensor do you pick and how do you prove it works?

The 90-second answer

I would not start with a sensor catalogue. I would start with the measurement task: flange thickness 2.00 ±0.05 mm, so a 100 µm tolerance band, at 120 parts/min, in oil mist, with vibration, for under $800 per station. That budget already rules out a good laser triangulation head, and the environment rules out a bare optical sensor without air purge and a sealed housing. My default pick is a sealed capacitive or eddy-current thickness gauge mounted on a rigid, thermally stable bracket, triggered by a photoelectric part-present sensor, with a master-part check every shift. If the flange is conductive and the gap to the target is controlled, eddy-current gives immunity to oil film. If it is non-conductive, capacitive is the fallback. I would prove it with a correlation study against a CMM and a gauge R&R on production parts, not with the datasheet resolution.

The trap is datasheet resolution. A sensor quoting 1 µm resolution in a lab can drift 20 µm with temperature, tilt, or surface finish on the line. I need repeatability on the actual part, in the actual fixture, at line speed.

Working the numbers

Tolerance band is 100 µm. Using a 10:1 rule, I want total measurement variation under 10 µm, and sensor resolution at 5 µm or better so quantisation does not eat the budget. At 120/min the cycle is 500 ms. If the part moves at 0.5 m/s past the probe, a 1 kHz sample rate gives a sample every 0.5 mm of travel, which is fine for a thickness reading taken at a defined trigger point, but a vision system would need a short exposure to avoid blur.

Python
# Checked against the line figures above
tolerance_um = 100
required_variation_um = tolerance_um / 10  # 10 um budget
parts_per_min = 120
cycle_ms = 60_000 / parts_per_min  # 500 ms
speed_m_s = 0.5
sample_hz = 1000
travel_per_sample_mm = speed_m_s * 1000 / sample_hz  # 0.5 mm
print(required_variation_um, cycle_ms, travel_per_sample_mm)

That calculation also sets the trigger design. I trigger on a fixed encoder or part-present edge, average a short window after settling, and reject the reading if the part-present signal is late. Averaging hides vibration only if the probe is not also moving with the part.

TechnologyTypical resolutionRange fitOil mist / vibrationCost per stationMain failure mode
Laser triangulation1 to 10 µmGood, 10 to 100 mm standoffPoor without purge, scatters on oil and shiny metal$1,500 to $4,000Specular reflection, lens fouling
Eddy-current1 to 5 µm on metalShort, 0.5 to 5 mm gapGood, immune to oil film, sensitive to gap and tilt$600 to $1,200Lift-off error if bracket flexes
Capacitive0.5 to 5 µmShort, 0.5 to 5 mm gapGood with sealed probe, affected by dielectric change$500 to $1,000Oil film changes dielectric constant
LVDT / contact probe0.5 to 1 µmContact, stroke limitedVibration tolerant if damped, wears$200 to $600 plus actuatorWear, part marking, cycle time
Vision10 to 50 µm at this field of viewFlexibleNeeds controlled lighting, lens fouling$800 to $2,500 plus lightingLighting drift, blur at speed
Inductive proximity10 to 50 µm repeatabilityPresence only, 2 to 10 mmVery tolerant$80 to $250Cannot measure thickness, only presence

For O-ring presence I would not use the thickness sensor at all. A separate inductive or photoelectric sensor, or a vision check if the O-ring is non-metallic and low contrast, keeps the two decisions independent. Combining them into one sensor creates a common failure: a dirty lens fails both checks at once.

Yes No No Yes Define tolerance band and speed Conductive target? Eddy-current candidate Capacitive candidate Gap and tilt controlled? Redesign fixture or use laser Validate on CMM correlation and GR&R

Validation and failure modes

I would run 30 parts spanning the tolerance, measured three times by the line sensor and once on a CMM, then compute bias and a type 1 gauge study. Acceptance is variation under 10% of tolerance for a critical characteristic, and no trend with part temperature over a shift. I would also run a deliberate fault set: missing O-ring, double O-ring, flange at 1.94 mm and 2.06 mm, and a part with oil deliberately applied. The sensor must classify all of them at line speed, 100 cycles each, with zero escapes on the fault set.

The failure modes I watch in production are bracket thermal growth in the afternoon, oil build-up on a capacitive probe face, and a loose trigger sensor causing readings on the previous part. Detection is a master part at shift start, a daily check with a known good and known bad part, and logging the raw reading, not just pass or fail, so drift shows up in the trend before it becomes scrap. If drift exceeds 5 µm on the master, I stop and investigate the bracket and temperature before recalibrating the sensor to hide it.

If the budget later rises above $2,000, I would revisit laser triangulation with an air-purged, IP67 head, because it measures non-conductive parts and gives a larger standoff. At $800, the eddy-current or capacitive route with a stiff fixture and honest validation is the defensible choice.

Curated: · Written: · Reviewed: —

Difficulty: Hard
Q&A-8Your reflow oven bath cycles ±6°C around setpoint after you raise the integral gain. How do you confirm the cause and retune it without overshooting the load?

The 90-second answer

I would first check whether the cycle is caused by the integral term rather than the heater or sensor. A bath that crosses setpoint, overshoots, undershoots, and repeats with a fairly regular period usually has too much integral action for its dead time. Temperature does not respond instantly to heater power, so the controller keeps adding heat while the measurement is still catching up. When the bath finally crosses setpoint, the accumulated integral has to unwind before output falls enough.

I would log setpoint, process variable, output, and integral term for one full cycle, then reduce integral gain and add anti-windup before changing proportional gain. I would retest with the same load and setpoint step so the comparison is fair.

Reading the log

Assume a 180 °C bath, 1 s controller scan, and a step from 160 °C. Values below are a worked example:

Time (s)PV (°C)Output (%)Integral termWhat it shows
0160100risingHeater saturated
60171100still risingPV lagging output
12018235highOvershoot, output cuts late
18017510fallingUndershoot while integral unwinds
24018460rising againSecond overshoot
30017615fallingCycle repeats, period about 120 s

The output stayed at 100% for about two minutes while the integral grew. That stored integral is why output remained too high after PV passed setpoint. If the cycle continued with integral gain set to zero, I would look elsewhere, for example a sensor placed near the heater, a chattering relay, or a sticky actuator.

Retuning

I would cut Ki by half, clamp the integral when output is saturated, and leave Kp unchanged for the first retest. If the cycle stops but recovery after loading cold parts is slow, I would raise Kp in small steps. I would stop when a small overshoot appears, then back off by about 20%. That keeps the loop responsive without chasing a response faster than the dead time allows. If dead time is roughly 20 s, a closed loop trying to settle in 10 s will usually oscillate.

Python
class PID:
    def __init__(self, kp, ki, kd, out_min=0.0, out_max=100.0):
        self.kp, self.ki, self.kd = kp, ki, kd
        self.out_min, self.out_max = out_min, out_max
        self.integral = 0.0
        self.prev_pv = None

    def update(self, setpoint, pv, dt):
        error = setpoint - pv
        d_term = 0.0 if self.prev_pv is None else -self.kd * (pv - self.prev_pv) / dt
        self.prev_pv = pv
        tentative = self.kp * error + self.ki * self.integral + d_term
        saturated_high = tentative >= self.out_max and error > 0
        saturated_low = tentative <= self.out_min and error < 0
        if not (saturated_high or saturated_low):
            self.integral += error * dt
        output = self.kp * error + self.ki * self.integral + d_term
        return max(self.out_min, min(self.out_max, output))

Derivative on measurement in that snippet avoids a kick when setpoint changes. The clamp stops integral growth while the heater is already at full power.

Two tuning routes

RouteHow it sets gainsMain trade-off
Ziegler-Nichols step testRaise Kp until sustained oscillation, record ultimate gain and period, then apply the standard fractionsFast to apply, but often gives 15 to 25% overshoot on a thermal load
Conservative step fitFit gain, time constant, and dead time from one step, then choose gains for a settling time of at least three times dead timeSlower to set up, but gentler on parts and easier to defend in production

For a production bath I would use the conservative route. It takes one extra step test, and it avoids driving the load through repeated overshoot while tuning. I would confirm the final settings with a loaded run, because an empty bath and a bath full of cold parts have different effective time constants.

Curated: · Written: · Reviewed: —

Difficulty: Hard
Q&A-9A die-cast aluminium housing keeps failing leak tests at 3 to 5 percent on one shift. Walk me through how you would use 5 Whys and a fishbone diagram to find the root cause?

The 90-second answer

I would not start with the fishbone. I would stratify the leak failures first, because a fishbone built on mixed defects produces mixed causes. For a die-cast aluminium housing failing leak test at 3 to 5 percent on one shift, I would pull the last four weeks by cell, cavity, shift, alloy batch, die-lube batch and time of day. If 80 percent of failures come from cell 2, cavity 4, after a die change, the diagram narrows immediately. If failures spread evenly, I am looking at a common cause in material or process window.

Then I build the fishbone around the verified defect mode, not the symptom. Leak test failure is the symptom. Porosity at the sealing face, a cold shut, or a cracked boss are different mechanisms and need separate branches. I confirm the mode by sectioning two failed parts and checking where the leak path sits relative to the gate and vent.

Leak test failure at sealing face Man: setup, training, die change checklist Machine: shot parameters, vacuum, die temperature Material: alloy, moisture, recycled content Method: venting, gate design, lube application Measurement: leak test calibration, fixture seal Environment: humidity, cooling water, shift handover Verify each branch with data, not opinion 5 Whys on the surviving branch

Fishbone with evidence attached

Each bone gets a candidate cause and a check that can kill it. That stops the exercise becoming a brainstorming poster.

CategoryCandidate causeCheck that confirms or kills it
MachineVacuum assist not holding, shot speed driftLog vacuum trace and shot curve for good vs failed shots, same cavity
MachineDie temperature low after idle periodThermocouple log vs first-shot-after-break flag
MaterialAlloy hydrogen content high, wet returnsMelt hydrogen test and returns moisture record by batch
MethodVent blocked by lube build-upInspect vent depth on cavity 4, compare to cavity 1
MethodExcess die lube causing gasLube spray time and volume per cycle, weighed over 50 cycles
MeasurementLeak fixture seal worn, false failuresMaster leak part and pressure decay repeatability study
ManNew operator misses priming shot after breakStratify by operator and by minutes since break
EnvironmentCooling water temperature swing on night shiftWater temperature log aligned to failure timestamps

In this case, suppose stratification shows failures cluster in the first 20 minutes after a break and on cavity 4 only. Measurement is cleared because the master part passes and the fixture seal was replaced last week with no change in rate. Material is cleared because alloy batch does not correlate. Two branches survive: die temperature and vent blockage on cavity 4.

5 Whys on the surviving branch

WhyAnswerEvidence
1. Why does the housing leak?Porosity connects the sealing face to an internal voidSectioned part shows leak path through pore cluster at the face
2. Why is porosity concentrated at cavity 4?Gas cannot escape before the metal front reaches the ventVent depth measured at 0.08 mm against a 0.15 mm spec on cavity 4, 0.16 mm on cavity 1
3. Why is the vent shallow on cavity 4?Lube build-up and die wear have closed it since last maintenanceMaintenance record shows vent cleaning interval is 3 months, last clean was 5 months ago
4. Why was cleaning missed?Cleaning is not tied to a cycle count or a quality trigger, it sits on a calendar task owned by maintenanceWork order system shows no link to shot count, and no leak-rate trigger exists
5. Why is there no trigger?The control plan monitors leak test pass rate daily but has no cavity-level alarm or vent inspection standardControl plan review confirms only overall cell rate is charted

The root cause is not "blocked vent" in isolation. The system cause is that vent condition is invisible between calendar cleans, so drift accumulates until porosity crosses the leak threshold. That distinction matters because cleaning the vent once fixes this batch and guarantees recurrence.

Verification and control

I would clean and re-machine the vent to spec, then run a controlled comparison: 200 shots on cavity 4 with the corrected vent, same alloy batch, same parameters. If leak failures drop from roughly 4 percent to under 0.5 percent, the hypothesis holds. At 10,000 housings per week, that is about 400 fewer failures per week, roughly 1,600 per month, before counting rework and teardown time.

Permanent control then has three parts. First, a cycle-count based vent inspection, for example every 5,000 shots, with a go/no-go gauge for vent depth. Second, a cavity-level p-chart for leak failures with a run rule, so a rise on one cavity alarms before the weekly average moves. Third, a reaction plan that stops the cell and checks vent depth when two consecutive failures occur on the same cavity, rather than waiting for the shift total.

The failure mode of this method is stopping at Why 2. "Vent blocked" feels like a root cause and the team cleans it, closes the action, and the defect returns in six weeks. The other failure mode is a fishbone with ten causes and no data, which ends with everyone agreeing on the most senior person's guess. Both are avoided by requiring a measurement for every branch and a physical check for every Why.

Curated: · Written: · Reviewed: —

Difficulty: Medium
Q&A-10How is a worst-case tolerance stack-up calculated for an assembly?

The 90-second answer

Worst-case stack-up adds the individual tolerances together, linearly. If each part in a chain can vary by its tolerance in the same adverse direction, the assembly variation is the sum of those tolerances.

For tolerances $t_1, t_2, t_3$:

$T_{WC} = t_1 + t_2 + t_3$

That is the whole rule. No squares, no statistics. The result is a guarantee: even if every part lands at its limit at the same time, the assembly stays inside the calculated range. That guarantee is why I use worst case for safety-critical fits, for low-volume builds, and whenever I have no process data to justify a statistical method.

The statistical alternative, RSS, is different. It combines tolerances in quadrature, $T_{RSS} = \sqrt{t_1^2 + t_2^2 + t_3^2}$, and predicts a tighter range. It only holds when dimensions are centred, independent and normally distributed. Worst case makes none of those assumptions.

Worked example

Two parts close a gap. Housing $10.00 \pm 0.10$ mm and spacer $5.00 \pm 0.05$ mm. Nominal stack is 15.00 mm.

PartTolerance
Housing$\pm 0.10$ mm
Spacer$\pm 0.05$ mm
Worst-case stack$\pm 0.15$ mm

$T_{WC} = 0.10 + 0.05 = 0.15$ mm. The closure can range from 14.85 mm to 15.15 mm in the absolute worst case. If the drawing allows $\pm 0.20$ mm on the closure, this design passes on worst case alone, with no statistical argument needed.

Python
tolerances = [0.10, 0.05]  # mm, housing and spacer

worst_case = sum(tolerances)
print(f"Worst case: ±{worst_case:.2f} mm")  # ±0.15 mm

When worst case is the wrong choice

Worst case is conservative, and that conservatism costs money on long chains. With ten parts at $\pm 0.05$ mm, worst case gives $\pm 0.50$ mm while RSS gives about $\pm 0.16$ mm. Tightening every part to satisfy worst case can force a more expensive process or a redesign for a combination of extremes that never occurs in practice. On a high-volume line with measured, centred, capable processes, I quote both numbers, design to RSS, and confirm the closure spread on a pilot run. If the measured spread approaches worst case, the process is off-centre or correlated and the RSS prediction should not be trusted.

Curated: · Written: · Reviewed: —

Difficulty: Easy
Q&A-11You must mill a 25 mm deep pocket in Ti-6Al-4V with a 12 mm end mill to Ra 1.6 µm and ±0.05 mm: how would you select tool material, speeds, feeds, stepover and coolant, and prove tool life?

The 90-second answer

For Ti-6Al-4V I would not start from a catalogue speed. I would start from the constraints that kill tools in titanium: heat stays in the tool because thermal conductivity is about 6.7 W/mK, the material work hardens and springs back, and it welds to the edge. That pushes the choice to a fine grain coated carbide end mill, moderate surface speed, small chip load, a stepover that keeps the edge engaged, and high pressure coolant delivered through the tool to the cut. I would prove it with a short tool life trial measuring flank wear, not with a single good looking part.

Assume a 12 mm, 4 flute solid carbide mill, pocket 25 mm deep, roughing to Ra 3.2 µm then finishing the wall to Ra 1.6 µm and ±0.05 mm. Use a polished flute, AlTiN or TiAlN coating, variable helix and unequal flute spacing, and a 0.5 to 1.0 mm corner radius for the finish pass. Avoid ceramic for this interrupted pocket work because thermal shock will chip it, and avoid uncoated HSS because the speed penalty makes heat worse, not better.

Python
import math
Vc = 70      # m/min, roughing Ti-6Al-4V in coated carbide
D = 12.0     # mm
fz = 0.05    # mm/tooth
z = 4
N = 1000 * Vc / (math.pi * D)   # rpm
feed = N * fz * z               # mm/min
print(f"{N:.0f} rpm, {feed:.0f} mm/min")
# 1857 rpm, 371 mm/min

At Vc 70 m/min the spindle runs at about 1,857 rpm and, at 0.05 mm per tooth, the feed is about 371 mm/min. With a 6 mm stepover and 3 mm stepdown the material removal rate is 6 × 3 × 371 = 6,678 mm³/min. That is deliberately conservative. Raising Vc to 120 m/min in titanium usually buys a short burst of speed and then rapid flank wear, because most of the cutting energy leaves in the chip and the tool edge, not in the workpiece.

PassVc (m/min)fz (mm/tooth)ae / ap (mm)Coolant
Rough pocket60 to 750.04 to 0.066 / 370 bar through tool, 8 to 10% emulsion
Finish wall80 to 1000.03 to 0.040.3 to 0.5 / full depthSame, plus air blast on retract
Floor finish80 to 1000.031.0 / 0.5Same

The finish pass uses a much smaller radial engagement. That keeps force and deflection down, which matters more for the ±0.05 mm wall than a small change in speed. I would climb mill the wall, leave 0.3 mm stock for the finish pass, and take the floor last so chips do not recut on the finished surface.

Why coolant delivery decides the result

Flood coolant from outside often never reaches a 25 mm deep pocket once the tool is surrounded by chips. Through tool coolant at 50 to 70 bar keeps the edge below the temperature where titanium welds, flushes chips out of the flutes, and stops the straw to blue chip colour that signals overheating. I would check concentration with a refractometer each shift, because a weak mix raises friction and a strong mix leaves residue that interferes with inspection. If the machine cannot supply through tool coolant, I would reduce stepdown, add a peck retract every 5 mm of depth to clear chips, and accept a longer cycle rather than run dry and pretend the catalogue speed still applies.

Failure modes I would watch for

SymptomLikely causeCheck before changing speed
Edge chipping on entryToo large entry angle, too high fz for the edge prepReduce entry stepover, check runout under 0.01 mm
Built up edge and torn finishVc too low, polished flute worn, coolant not reaching edgeInspect flute at 10×, confirm coolant flow at the tool tip
Chatter marks on wallLong reach, low radial engagement, harmonic at that rpmChange rpm by 10%, increase corner radius, shorten stickout
Rapid flank wear, VB over 0.3 mm in under 20 minHeat, recutting chips, work hardened skin from a dwellMeasure wear after 5, 10 and 20 min, check for dwell in the program

Tool life is the acceptance test. I would run three pockets at the roughing settings, stop at fixed intervals, measure flank wear land VB on the outer flute, and plot it against cutting time. A usable process shows a slow steady wear slope and reaches at least 45 minutes before VB 0.3 mm, with no chipping. If wear is fast but even, I would drop Vc by 15% and raise fz slightly, because a thicker chip carries heat away in the chip more effectively than a thin rubbing cut. If wear is uneven with chipping, the problem is entry and runout, not speed.

I would also verify the wall after the tool is half worn, not only with a new tool. Titanium pushes the tool away as the edge dulls, so a process that holds ±0.05 mm for the first part and drifts 0.08 mm by part ten is not capable. Measure the wall at the top, middle and bottom of the pocket on parts 1, 5 and 10, and only release the parameters when the worn tool still holds size and Ra 1.6 µm on the profilometer. That worn tool check is what separates a parameter sheet from a process I would defend on the floor.

Curated: · Written: · Reviewed: —

Difficulty: Hard
Q&A-12Walk me through how you would test injection molding parameters on an ABS housing and diagnose short shots, flash, and warpage when they appear together?

The 90-second answer

I would not tune one knob at a time. I would fix the material and tool, run a small factorial DOE on melt temperature, mold temperature, injection speed, and packing pressure, and measure three responses on every shot: part weight, a dimensional check, and a visual grade for each defect. Weight tells me whether the cavity filled and packed. The defect pattern tells me which side of the pressure and temperature window I am on.

Assume an ABS housing, 2.5 mm nominal wall, single cavity, cold runner, target shot weight 48 g. Baseline: melt 240 C, mold 60 C, injection speed 40 mm/s, pack 55 MPa for 3 s, clamp 80 t. I hold clamp and cooling time constant for the first pass so pressure and temperature effects are not confounded with clamp or cycle changes.

The mechanism is a race between flow, packing, and freezing. Melt must reach the end of the cavity before the flow front solidifies. Packing must then replace shrinkage as the part cools, without forcing melt across the parting line. Cooling must be even enough that shrinkage does not bend the part on ejection.

DefectWhat it means physicallyFirst parameters to moveWhat to check before moving them
Short shotFlow front froze or pressure ran out before the cavity filledRaise melt temperature 10 C, raise injection speed, raise pack pressure, raise mold temperatureVent depth and blockage, gate size, part weight versus theoretical fill weight
FlashCavity pressure exceeded clamp force or melt entered a worn parting lineLower pack pressure, lower injection speed, lower melt temperature, raise clamp forceProjected area, parting line wear, mold temperature uniformity
WarpageShrinkage differed across the part during cooling and ejectionRaise mold temperature, extend cooling, balance pack, lower melt temperature if the core is hotterEjection timing and pin balance, gate location, wall thickness variation

When all three appear together, the usual cause is a window that is too narrow: high pressure fills the cavity but flashes at the parting line, and uneven cooling then warps the part. The fix is rarely more pressure. It is a hotter, more uniform mold, a slightly lower viscosity melt, and packing that stops at the gate seal point instead of continuing to force the parting line open.

Python
# Clamp force check, checked against a typical ABS cavity pressure
projected_area_m2 = 120e-4  # 120 cm^2
cavity_pressure_pa = 40e6   # 400 bar, hypothetical peak for this example
force_n = projected_area_m2 * cavity_pressure_pa
force_tonne = force_n / 9810
print(f"{force_tonne:.1f} t, select machine at >= {force_tonne * 1.2:.0f} t")
# Output: 48.9 t, select machine at >= 59 t

That arithmetic matters for flash. If the calculated peak is 49 t and the machine is set to 50 t, any pressure spike or a slightly larger projected area from a rib will flash. I would select the 80 t machine already in the baseline and confirm actual clamp tonnage, not just the setting.

Yes No Yes No Yes No Inspect part and weigh it Weight low? Short shot: check vents, gate, melt and mold temperature Flash at parting line? Reduce pack, check clamp force and parting line wear Warpage after ejection? Check cooling balance, ejection, and pack uniformity Confirm dimensions and lock parameters

A worked first pass, with hypothetical results labelled as such, shows how I read it:

TrialMelt / mold (C)Speed (mm/s)Pack (MPa)Weight (g)Result
1240 / 60405546.8Short shot at rib, no flash
2250 / 80605547.9Full, slight flash, warpage 0.4 mm
3250 / 80604547.7Full, no flash, warpage 0.15 mm
4245 / 80504547.8Full, no flash, warpage 0.10 mm

Trial 2 filled because temperature and speed rose, but pack at 55 MPa pushed melt across the parting line and the hotter core shrank more on cooling. Trial 3 kept the fill and cut pack to 45 MPa, which removed flash and reduced warpage. Trial 4 is the candidate window: weight is stable, so packing is sufficient, and the lower melt temperature reduces the core to cavity gradient.

I would then confirm with 30 consecutive shots at trial 4 settings, record weight standard deviation, warpage on a surface plate, and critical dimensions, and only then adjust cooling time or ejection. If warpage persists at stable weight, I stop changing pressure and look at cooling circuit flow and ejection, because no pack setting fixes a mold that cools one side faster than the other.

Curated: · Written: · Reviewed: —

Difficulty: Hard
Q&A-13A 0.5 mm pitch QFP is bridging after reflow and SPI shows its paste volume is 20% above target. Walk me through how print volume and reflow peak interact to cause bridging, and what you would change first?

The 90-second answer

I would fix the print volume first and leave the reflow profile alone until SPI is back in range. Bridging on a 0.5 mm pitch QFP is usually a volume problem that reflow makes visible. Extra paste gives the joint more solder to spread, and a high peak or long time above liquidus gives it more time and lower viscosity to spread. Lowering the peak can stop the bridges, but it also risks insufficient wetting and head-in-pillow on the BGAs elsewhere on the same board. That trade is why the print comes first.

Assume SAC305 paste, liquidus about 217 C, a 0.12 mm stencil, and a QFP aperture of 0.30 mm by 0.15 mm. Expected deposit volume at 80% transfer efficiency is 0.30 x 0.15 x 0.12 x 0.80 = 0.0043 mm3. SPI reading 20% high means about 0.0052 mm3 per pad. The gap between adjacent apertures on a 0.5 mm pitch part is only about 0.20 mm, so that extra 0.0009 mm3 per pad has nowhere to go except sideways once the solder melts.

How the two stages interact

Printing sets the mass. Reflow sets how far that mass moves. At peak, molten SAC305 viscosity drops and surface tension pulls solder toward the pad and lead. With a correct volume, the joint forms a concave fillet and pulls back from the gap. With 20% excess volume, the fillet reaches the neighbouring joint before surface tension can retract it. A peak of 250 C held for 75 seconds above liquidus makes this worse than a peak of 245 C held for 45 seconds, because the solder stays liquid longer and spreads further. Cooling rate matters less for bridging, but slow cooling keeps the joint liquid longer as well.

That interaction also explains why the same board can show bridging on the QFP and head-in-pillow on a BGA if I chase the bridge with temperature. The QFP wants less heat or less solder. The BGA, sitting on a heavier thermal mass, may already be marginal at 232 C at the ball while the oven reads 250 C. Dropping the oven setpoint by 5 C can push that BGA below the wetting threshold.

SPI volumePeak at QFP jointLikely result
On target, 0.0043 mm3245 to 250 C, 45 to 75 s above 217 CNormal fillet, no bridge
20% high, 0.0052 mm3245 C, short TALOccasional bridge where paste slumped or stencil was dirty
20% high, 0.0052 mm3250 C, long TALRepeated bridging along the lead row
On targetBelow 240 C or TAL under 30 sInsufficient wetting, dull or grainy joints

What I change first

I check SPI by aperture, not as a board average. If only the QFP apertures are high, I look at stencil cleaning, squeegee pressure and paste roll. Pressure above about 0.6 kg/cm can force paste into small apertures and wipe the stencil poorly. A clogged or dirty stencil usually gives low volume, so high volume points more to excess pressure, a worn squeegee edge, or paste that has sat on the stencil and slumped. I clean, reduce pressure in a small step, and reprint a test panel.

Python
# Python 3.11, SPI export checked per aperture group
target = 0.0043  # mm3, from aperture area x stencil thickness x transfer efficiency
for row in spi_rows:
    if row["aperture"] == "QFP_0.5":
        ratio = row["volume_mm3"] / target
        print(row["board"], f"{ratio:.2f}")
        assert 0.85 <= ratio <= 1.15, "QFP volume out of range, stop and adjust print"

If SPI returns to within plus or minus 15% and bridging persists on the reflowed boards, then I look at the profile. I measure with a thermocouple on the QFP leads and another under the largest BGA, because the two joints do not see the same temperature. I would trim peak or TAL only enough to keep the BGA joint above 240 C for at least 45 seconds. AOI after reflow confirms the fix, and I seed a known bridge on a test board to prove the AOI program catches it before I release the change.

Curated: · Written: · Reviewed: —

Difficulty: Medium
Q&A-14What are the seven lean wastes, and what does each one mean in a production cell?

The 90-second answer

The seven lean wastes are Transport, Inventory, Motion, Waiting, Overproduction, Over-processing and Defects. The mnemonic is TIMWOOD. I would name all seven, then give a one line meaning for each in cell terms, because that is what an interviewer is checking.

WasteMeaning in a production cell
TransportMoving parts, tools or paperwork between places when the part could be made closer to where it is needed.
InventoryRaw material, WIP or finished parts sitting in racks or on the floor instead of flowing.
MotionPeople walking, reaching, turning or searching in ways that add no value to the part.
WaitingPeople or machines idle because the previous step has not delivered, or because work is queued.
OverproductionMaking more parts, earlier or faster than the next process or customer needs.
Over-processingDoing more work than the drawing or customer requires, such as a tighter tolerance, extra finish or extra inspection.
DefectsScrap, rework or parts that fail inspection and must be repaired or replaced.

How I would spot them on a walk

I would watch one part from start to finish and tally what I see against that list. Transport shows as repeated trips between stations. Inventory shows as racks of WIP between stations. Motion shows as operator steps and reaches on video. Waiting shows as idle time on a cycle time chart. Overproduction shows as output per hour exceeding the pull from the next station. Over-processing shows as an operation with no matching requirement on the drawing. Defects show as scrap and rework counts per shift.

A short trace makes the list concrete. Suppose a cell makes 60 parts per hour and I watch for 30 minutes. I count 20 trips to a bench 12 m away, 180 parts of WIP between assembly and test, 9 minutes of idle time at test, 34 parts built while the next process pulls 22, a second polish on every part that the drawing does not call for, and 3 parts failing for a reversed connector. Those six observations map directly onto Transport, Inventory, Waiting, Overproduction, Over-processing and Defects, with Motion present in the walking trips. I would report the counts with the names, rather than just reciting the list.

One point to add if asked

Some sites teach the list as DOWNTIME, with Defects first. The content is the same seven wastes. I would stick to TIMWOOD and mention the alternative only if the interviewer uses that wording.

Curated: · Written: · Reviewed: —

Difficulty: Easy
Q&A-15Rework loops back through your bottleneck, the ideal cycle was just cut after a tool change, and reported OEE is 78%: walk me through how you would recalculate it and find the true largest loss?

The 90-second answer

I would not trust the reported 78%. I would rebuild OEE from the bottleneck log, on a first-pass basis, and convert every loss to bottleneck minutes. Rework that loops back through the same machine consumes operating time, so counting final good parts as quality and total completions as performance hides that loss in two places at once. A cut in ideal cycle time after a tool change does the same thing in reverse: it can push reported performance over 100%, get capped, and make speed loss disappear. My first checks are therefore the ideal cycle and the rework loop, before I rank anything.

Worked recalculation

Hypothetical shift, labelled as such. Shift 480 minutes, planned breaks and planned maintenance 30 minutes, unplanned stops 45 minutes, new tooling with a claimed ideal cycle of 0.40 minutes per part, 900 units entering first pass, 780 first-pass good, 60 reworked and then passed, 60 scrapped. Final good parts are 840. Total bottleneck completions are 960, because 60 parts pass twice.

ItemCalculationResult
Planned Production Time480 - 30450 min
Operating Time450 - 45405 min
Availability405 / 45090.0%
Theoretical output at new ideal405 / 0.401,012.5 parts
Performance, total completions960 / 1,012.594.8%
Quality, first pass780 / 90086.7%
Quality, final good840 / 90093.3%
OEE, first-pass basis0.900 x 0.948 x 0.86773.9%
OEE, naive basis with old 0.50 min ideal0.900 x 1.000 capped x 0.93384.0%

The naive figure uses the old 0.50 minute ideal, which gives theoretical output of 810 and performance of 960 / 810 = 118.5%, capped at 100%. That cap is the tell. I would validate 0.40 minutes from the best sustained hour with the new tooling, normal staffing and no rework loop, not from the tool supplier sheet. If the line cannot sustain 0.40, I re-baseline and performance falls again.

Python
planned = 480 - 30
operating = planned - 45
availability = operating / planned
performance = 960 / (operating / 0.40)
quality_first_pass = 780 / 900
oee = availability * performance * quality_first_pass
print(f"{availability:.1%}, {performance:.1%}, {quality_first_pass:.1%}, OEE {oee:.1%}")
# 90.0%, 94.8%, 86.7%, OEE 73.9%

Rank losses in bottleneck minutes

LossArithmeticMinutes
Availability, unplanned stopsgiven45.0
Performance, speed and minor stops405 - (960 x 0.40)21.0
Quality, scrap60 x 0.4024.0
Quality, rework loop60 x 0.4024.0
Total114.0

On the reported percentages, availability looks like the largest loss at 10 points. In minutes, quality related loss is 48 minutes, ahead of availability at 45 minutes, and speed loss is only 21 minutes. That changes the target. Chasing minor stops to recover 21 minutes gains at most 52 parts. Eliminating the rework loop frees 24 bottleneck minutes plus the labour and handling for 60 parts, and it also lifts first-pass quality. I would Pareto the 60 rework parts by defect code and by time of shift before touching availability. If they cluster after a tool change or a material lot change, the fix is process related, not maintenance related.

Two failure modes remain. First, if rework is done on a non-bottleneck bench, its 24 minutes do not belong in bottleneck OEE, and I would track it as a separate cost and lead time loss instead. I check the routing. Second, if scrap is detected downstream, the 24 minutes of bottleneck time understates the loss, because test and assembly time are already spent. I would then rank by cost per good part as well as by minutes, and state which ranking drives the decision. The deliverable is a corrected OEE of 73.9%, a rework Pareto, and a validated ideal cycle, not a generic push to raise availability.

Curated: · Written: · Reviewed: —

Difficulty: Hard
Q&A-16How would you choose between preventive, predictive and corrective maintenance for a CNC spindle, a conveyor bearing and a hydraulic pump on the same line?

The 90-second answer

I start from the failure mode, not the machine. For each mode I ask three questions in order: can we detect degradation before functional failure, does the part wear out predictably, and what does an unplanned stop cost. If degradation is detectable and the P-F interval (time from detectable fault to functional failure) is longer than our response lead time, predictive wins. If there is no detectable precursor but life is predictable, preventive replacement before the wear-out point wins. If neither holds and the consequence is low, corrective (run to failure) is the honest choice, with spares and a fast swap plan.

Take three assets on one line. A CNC spindle bearing shows rising vibration at 4.5 mm/s RMS weeks before seizure, so predictive. A conveyor bearing with no sensor and a known B10 life of 5,000 hours gets preventive replacement at 4,000 hours. A non-critical hydraulic pump on a redundant circuit, with random seal failures and no precursor, stays corrective.

How the decision works in practice

I build the list from FMEA and from work-order history: failure mode, effect on throughput, safety or quality, detectable symptom, and whether the failure distribution is wear-out (Weibull beta > 1) or random (beta near 1). Preventive replacement only pays when beta > 1. Replacing a random-failure part on a calendar wastes money and introduces infant-mortality risk from the intervention itself.

Predictive only pays when the P-F interval exceeds the time to plan and execute the repair. A vibration alert that gives 48 hours on a spindle that needs a 3-day bearing lead time is not predictive maintenance, it is early notification of a stop we cannot avoid. In that case I either shorten lead time with a stocked cartridge or move to preventive replacement.

SignalPredictivePreventiveCorrective
Degradation detectable (vibration, temperature, oil debris, current)Yes, with usable P-F intervalNot neededNo, or not worth sensing
Life patternAny, condition decides timingWear-out, beta > 1, known B10Random, beta near 1
Cost driverSensor, analysis, false alarmsPlanned downtime, parts, labourUnplanned downtime, expedite fees
Best fitHigh consequence, expensive assetCheap part, predictable wear, high consequenceLow consequence, redundant, cheap swap
Main failure mode of the strategyMissed detection, alarm fatigueReplacing good parts, maintenance-induced faultsLong repair, secondary damage

Worked cost check (hypothetical figures, labelled as such)

Hydraulic pump, 8,000 operating hours per year, unplanned stop cost $900 per hour, repair $800.

  • Corrective: 1.2 failures per year on average. Expected cost = 1.2 x (6 h x $900 + $800) = 1.2 x $6,200 = $7,440 per year.
  • Preventive: seal and bearing kit $400, replaced every 6,000 hours in a planned 2-hour window. Cost = 1.33 x ($400 + 2 x $900) = $2,930 per year, plus residual random failures.
  • Predictive: vibration sensor and monitoring $1,200 amortised over 3 years ($400 per year) plus $300 per year analysis. If it converts 80% of unplanned stops to planned 2-hour jobs, expected cost is roughly $400 + $300 + 0.24 x $6,200 + 0.96 x $2,200 = about $4,300 per year.

Preventive wins here because the wear-out life is known and the kit is cheap. If the kit cost $2,500, predictive would win. The arithmetic, not the label, decides.

Yes, P-F interval > lead time No Yes No Yes Failure mode from FMEA and history Degradation detectable? Predictive: monitor and plan repair Wear-out with known life? Preventive: replace before B10 life Corrective: run to failure, stock spares Consequence high? Add redundancy or spare asset

Failure modes I watch for

For predictive, I track alarm rate and missed detections. If a spindle alert fires 20 times per month with no confirmed fault, operators ignore it and the real alert gets missed. I set thresholds from baseline data at known good condition, trend RMS velocity and bearing defect frequencies, and review every alert against the teardown finding.

For preventive, I track maintenance-induced failures. A bearing replaced at 4,000 hours that fails at 4,100 hours from poor fitting tells me the interval was not the problem. I check torque, alignment and contamination control after the intervention.

For corrective, I check secondary damage. A pump seal failure that contaminates the reservoir and damages valves turns a $800 repair into a line flush and quality hold. If secondary damage is plausible, corrective stops being cheap even when the pump itself is cheap.

I close the loop quarterly: compare predicted versus actual failures per strategy, update the Weibull fit and the P-F interval, and move assets between strategies when the data changes. A strategy that was right at commissioning is rarely right two years later.

Curated: · Written: · Reviewed: —

Difficulty: Medium
Q&A-17Walk me through how you would design the PLC sequence and safety interlocks for a line that clamps, drills and unloads a housing before the next part is released?

The 90-second answer

I would separate the sequence from the safety interlocks. The sequence is a state machine that moves one part through clamp, drill and unload. The interlocks are independent conditions that must stay true for motion to continue, and any loss drops the machine to a safe state. Mixing the two in one ladder rung is how a line restarts unexpectedly after a guard door opens.

Assume a single station cell: operator loads a housing on a conveyor, pneumatic clamp closes, a drill head descends and drills for 8 seconds, retracts, clamp opens, part exits. Target is 60 parts per hour, which is a 60 second cycle. I would implement it in IEC 61131-3 Structured Text on a standard PLC, with E-stop and guard door inputs wired through a safety relay or safety PLC input, not a standard input that software can mask.

Sequence as states, not timers alone

Each state has an entry action, a completion condition, and a timeout. If the timeout expires, the state faults instead of waiting forever for a sensor that never arrives.

StateEntry actionAdvance whenTimeout fault
IDLEClamp open, drill up, conveyor stoppedPart present and start pressedNone
CLAMPClose clamp valveClamp closed switch AND pressure > 0.55 MPa for 300 msClamp timeout, 3 s
DRILL_DOWNExtend drill feedDrill at depth switchFeed timeout, 4 s
DRILLSpindle on, feed pressure heldDrill timer 8 s AND spindle current in rangeSpindle overload or broken bit
RETRACTRetract drill, spindle offDrill up switchRetract timeout, 3 s
UNLOADOpen clamp, run conveyor outPart clear switchUnload timeout, 5 s

Cycle budget: clamp 2 s, drill down 2 s, drill 8 s, retract 2 s, unload 3 s, indexing 3 s, operator load allowance 40 s. Total 60 s. That leaves no margin, so in practice I would flag that the operator load allowance is the constraint and either add a second nest or accept 55 parts per hour. The PLC cannot fix a manual load that takes longer than the budget.

ST
// IEC 61131-3 ST, checked against CODESYS 3.5 behaviour
CASE eState OF
    eState.CLAMP:
        bClampClose := TRUE;
        tState(IN := TRUE, PT := T#3s);
        IF bClampClosed AND fClampPressure > 0.55 THEN
            eState := eState.DRILL_DOWN;
            tState(IN := FALSE);
        ELSIF tState.Q THEN
            eState := eState.FAULT;
            iFaultCode := 101; // clamp not confirmed
        END_IF;
    eState.DRILL:
        bSpindleRun := TRUE;
        tState(IN := TRUE, PT := T#8s);
        IF tState.Q AND fSpindleCurrent >= 1.2 AND fSpindleCurrent < 6.5 THEN
            eState := eState.RETRACT;
            tState(IN := FALSE);
        ELSIF fSpindleCurrent >= 6.5 THEN
            eState := eState.FAULT;
            iFaultCode := 104; // drill overload, possible jam
        ELSIF tState.ET > T#2s AND fSpindleCurrent < 1.2 THEN
            eState := eState.FAULT;
            iFaultCode := 105; // broken bit, current collapsed
        END_IF;
END_CASE;

The 2 second delay before the low current check avoids tripping on spindle start up, when current is still ramping. The 8 second completion check also requires current to be back in the 1.2 to 6.5 A window, so a bit that breaks at second 7 does not pass as a completed cycle.

Interlocks that override the sequence

Guard door closed Air pressure OK Clamp confirmed Spindle speed in range Drill feed enabled Part drilled Retract before clamp opens

The drill feed output is bDrillFeed AND bGuardClosed AND bClampConfirmed AND bAirOK. Loss of any term de-energises the feed valve within one PLC scan, typically 5 to 10 ms, and the state machine freezes rather than advancing. E-stop and guard door use dual-channel inputs with discrepancy detection: if the two channels disagree for more than 100 ms, the safety relay drops the pneumatic dump valve and latches a fault that needs a deliberate reset with the door closed.

Restart behaviour matters. After an E-stop reset, the machine returns to IDLE with the clamp state read from actual sensors, not from memory. If the drill is still down, the first action is retract, not resume drilling. That prevents a blind restart into a workpiece.

Safety relay versus safety PLC

OptionSuitsCost and limits
Safety relay plus standard PLCOne cell, one guard door, one E-stop, simple dump valveLower hardware cost, fault diagnosis limited to which relay dropped out, expansion means more relays
Integrated safety PLCMultiple zones, muting, safe speed monitoring, need for diagnostics per inputHigher cost, programming needs safety validation, overkill for a single drill station

For this single station I would use a safety relay. It gives a hardwired Category 3 stop without paying for a safety PLC licence and validation. I would move to a safety PLC if the line grew to three or more guarded zones, or if the customer required per-device diagnostics in the HMI. This design would not suit a servo drill with safe torque off and safe speed, because a pneumatic dump valve cannot provide monitored standstill. That case needs drive-integrated safety functions.

Failure modes I would test before handover

A clamp pressure switch set at 0.55 MPa can drift low and report clamped on a loose part. I would add an analogue pressure sensor and alarm below 0.50 MPa, and prove it by bleeding air to 0.45 MPa during commissioning and confirming the drill never enables. A part-present sensor fooled by a fixture nest left in place would release an empty cycle. I would require part present to go false during unload, otherwise fault 102 fires. I would dry-run each fault by forcing the timeout, opening the guard at drill down, and pulling air at clamp, then record scan time, fault code and recovery steps in the commissioning sheet. If the operator can clear a fault without the cause being removed, the interlock design has failed.

Curated: · Written: · Reviewed: —

Difficulty: Hard
Q&A-18Walk me through how you would test a robotic pick-and-place cell end to end, covering the gripper, conveyor handshake and safety guarding, before release?

The 90-second answer

I would prove the cell in this order: guarding stops the robot before a person can reach the hazard, the gripper holds the production part, and the conveyor and robot agree on ownership at handoff. A cell that cycles well but fails any one of those does not ship.

Guarding and stopping performance

ISO 10218-1 and ISO 10218-2 cover robot and robot system safety, and ISO 13855 covers positioning of safeguards relative to approach speeds. For a gate, light curtain or scanner, I calculate the minimum safety distance as S = K x T + C, where T is total stopping time from safeguard actuation to zero speed, K is 1600 mm/s for hand approach in ISO 13855, and C is an intrusion allowance that depends on the safeguard type. With a measured T of 0.35 s, that gives 560 mm plus C before any margin. I measure T with a stop-time meter on the actual payload, not from the robot datasheet, because brake wear and payload change it.

I test gate open at full speed, E-stop, scanner breach and light curtain break, each with a part in the gripper and at maximum reach. The PLC must command a Category 0 or 1 stop per IEC 60204-1, drop drive power or apply safe torque off, and require gate closed plus a deliberate reset before restart. Opening the gate must also stop the conveyor drive in the hazard zone. If measured S exceeds the installed fence distance, I move the fence, reduce speed in the zone, or add a braking resistor. I do not accept a calculated distance alone when a measurement is possible.

Gripper

I test on production parts across the range, 100 picks each for the lightest, heaviest and most flexible variant. For vacuum, I log vacuum at pick, vacuum before place and decay over a 2 s hold. For a mechanical clamp, I log clamp force and part-present. Vacuum suits flat, rigid parts and releases cleanly, but it fails on porous, textured or flexing covers where a clamp holds better. A clamp suits irregular parts but can mark soft surfaces and needs stroke sensing. I pick based on part geometry and surface, then set the alarm from the lowest passing value in the test, with margin, rather than from the sensor range.

Conveyor handshake

I treat the handshake as a state machine and force each fault: no part, skewed part, conveyor not ready, jam, and vacuum loss mid-transfer. The conveyor indexes only after the robot confirms release and clears the pick zone. Each fault must stop the cycle, hold or reject the part in a defined way, and need manual reset. No fault may allow a double pick or a place onto an empty nest.

TestMethodPass criterion
Gate and scannerActuate each safeguard at full speed, 10 trials eachMeasured S inside installed distance per ISO 13855
E-stopTrigger with part in gripperCategory 0 or 1 stop, no restart without reset
Gripper hold100 picks per variant, 2 s holdVacuum or force above alarm, zero drops
Part presentRemove, skew, double-stack partsEach case rejected, no move to place
Handshake faultsForce no-ready, jam, grip lossConveyor holds, robot holds or rejects, reset required
Endurance2 h at rate, production partsNo missed picks, cycle within 5% of target
Grip lost No part or not ready Gate closed and reset Conveyor ready and part present Robot picks and confirms grip Robot places and confirms release Robot clears pick zone Conveyor indexes Stop, hold or reject, alarm Wait, no robot move

The commissioning log below records each signal transition with a timestamp and checks the order, so a timing fault shows in the log instead of as an intermittent double part:

Python
# Checked on Python 3.11
import logging

logging.basicConfig(level=logging.INFO, format="%(asctime)s %(message)s")
log = logging.getLogger("cell")

EXPECTED = ["conveyor_ready", "part_present", "grip_confirmed",
            "release_confirmed", "robot_clear", "conveyor_index"]

def check_cycle(events):
    # events: list of (timestamp, signal) in the order the PLC saw them
    seen = []
    for ts, sig in events:
        log.info("%s %s", ts, sig)
        if sig in EXPECTED:
            seen.append(sig)
    if seen != EXPECTED:
        raise AssertionError(f"handshake order wrong: {seen}")
    log.info("cycle order OK")
    return True

check_cycle([(0.00, "conveyor_ready"), (0.02, "part_present"),
             (0.40, "grip_confirmed"), (1.10, "release_confirmed"),
             (1.30, "robot_clear"), (1.32, "conveyor_index")])

Failure modes I look for in that log are specific. Slow vacuum decay points to a worn cup or a flexing part. A part-present signal on an empty nest points to a reflective label fooling the sensor. Indexing before robot_clear points to a timer-based handshake, which I replace with a clear signal. Long coast after gate open points to a drive-only stop without braking on a heavy payload. I repeat the safety and fault tests after the endurance run, because brake wear or a knocked scanner can change stopping performance between commissioning and handover.

Curated: · Written: · Reviewed: —

Difficulty: Hard
Q&A-19For a 5,000-unit lot of housings at AQL 1.0, General Inspection Level II, how would you set the sample size and acceptance number, and when would you switch to tightened or reduced inspection?

The 90-second answer

I would state the lot size, the defect class and the inspection level before quoting any number, because AQL alone does not define a plan. Take a lot of 5,000 housings, General Inspection Level II, normal inspection, single sampling under ANSI/ASQ Z1.4. Lot size 3,201 to 10,000 gives code letter L, sample size n = 200. At AQL 1.0% the plan is Ac = 5, Re = 6. Accept the lot if 5 or fewer sampled units are defective, reject it if 6 or more are found. I would run critical, major and minor defects as separate classifications with separate AQLs, for example critical 0.10%, major 1.0%, minor 2.5%, and never pool them into one count.

AQL is the process average at which the producer has a high probability of acceptance, here about 98%. It is not a guarantee that accepted lots contain at most 1.0% defective, and it is not a consumer protection limit. That distinction drives the rest of the decision.

ItemValue for this example
Lot size5,000
Code letter (Level II)L
Sample size n200
AQL1.0%
Ac / Re5 / 6
Producer risk at p = 1.0%about 1.7% rejection
Consumer risk at p = 4.0%about 19% acceptance

What the numbers actually buy you

The operating characteristic curve gives the probability of acceptance Pa for a given true fraction defective p. With a binomial model, Pa = sum of P(X = k) for k = 0 to Ac, where X follows Binomial(n, p). A Poisson approximation with lambda = n x p is close enough for a floor discussion and easy to check in code.

Python
import math

def pa_poisson(n, ac, p):
    lam = n * p
    return sum(math.exp(-lam) * lam**k / math.factorial(k) for k in range(ac + 1))

for p in [0.005, 0.01, 0.02, 0.04, 0.065]:
    print(p, round(pa_poisson(200, 5, p), 3))

Output, rounded:

True plambda = n x pPa (Ac = 5)
0.5%1.00.999
1.0% (AQL)2.00.983
2.0%4.00.785
4.0%8.00.191
6.5%13.00.011

Read that table in an interview as a trade-off. At the AQL the supplier is protected. At 4% defective, roughly one lot in five still passes. If the customer cannot tolerate that, AQL 1.0% with n = 200 is the wrong plan regardless of what the purchase order says. I would then either tighten the AQL, raise the inspection level to III (n = 315 for code letter L), or specify a limiting quality level (LTPD) and pick a plan from that end. For a safety or regulatory characteristic I would not rely on AQL sampling at all. I would use 100% automated inspection or a zero-acceptance plan with a stated LTPD, because a single escape matters more than the average.

Switching rules, where most plans fail in practice

Z1.4 switching is mandatory once you adopt the standard, and it is the mechanism that punishes a drifting process. Normal to tightened: when 2 of 5 or fewer consecutive lots are rejected on original inspection, move to tightened, which for this code letter and AQL drops Ac to 3. Stay on tightened until 5 consecutive lots pass, then return to normal. If 5 lots remain on tightened without passing, stop normal inspection and discuss discontinuing shipment or 100% screening with the supplier. Tightened to reduced is only available from sustained normal performance, typically 10 consecutive lots accepted with a total nonconforming count below the limit number, plus stable production and customer approval. Reduced for code letter L at AQL 1.0% drops n to 80 with Ac = 2, which looks attractive on cost and quietly raises consumer risk, so I would require process capability data, for example Cpk above 1.33 on the controlling dimension, before granting it.

2 of 5 lots rejected 5 consecutive lots accepted 5 lots without passing 10 lots accepted and stable lot rejected or irregular production Normal inspection Tightened inspection Stop and screen 100% Reduced inspection

Incoming versus final inspection

For incoming material I sample by defect class and by supplier history, not by a single AQL for everything. A resin pellet contamination defect and a cosmetic scuff cannot share a count. For final inspection I sample after the last operation that can introduce the defect, and I stratify by cavity, shift or line when the process has known between-group variation. Random sampling across the lot is what makes the binomial maths valid. Convenience sampling from the top of a pallet invalidates Ac = 5 even if the arithmetic looks right.

Two failure modes come up repeatedly. First, treating AQL as a target the supplier aims for. A process centred at the AQL will produce rejected lots about 2% of the time and will drift into tightened inspection after a run of bad luck. Second, switching to reduced inspection to save labour during a capacity crunch while the process is still on tightened. That combination removes the protection exactly when the data say the process needs it.

Curated: · Written: · Reviewed: —

Difficulty: Hard
Q&A-20Walk me through how you would run a Gage R&R study to separate measurement variation from part variation, and decide whether the gauge is fit to use?

The 90-second answer

I would run a crossed Gage R&R, usually 10 parts, 3 operators and 3 trials per operator, with parts blinded and measured in random order. Each operator measures every part three times, so the same part is seen by every operator. That design lets ANOVA split total variation into part-to-part variation and measurement variation, and split measurement variation into repeatability and reproducibility.

Repeatability is the same operator, same part, repeated trials. Reproducibility is the shift between operators on the same parts. If reproducibility dominates, training, fixturing or a vague work instruction is the likely cause. If repeatability dominates, the gauge, resolution or part handling is the likely cause. The decision is not the p-value. I judge the gauge on percent GRR against study variation and against tolerance, and on number of distinct categories, ndc.

10 parts spanning process range 3 operators x 3 blinded trials ANOVA variance components EV repeatability AV reproducibility PV part variation GRR and ndc decision

Worked trace

Take a shaft diameter study, tolerance 10.00 plus or minus 0.10 mm, so tolerance width is 0.20 mm. Suppose ANOVA returns these variance components, in mm squared. These are illustrative figures for the arithmetic.

ComponentVarianceStd devShare of total variance
Repeatability, EV0.000400.02004%
Reproducibility, AV0.000600.02456%
GRR, EV plus AV0.001000.031610%
Part variation, PV0.009000.094990%
Total variation, TV0.010000.1000100%

Percent GRR against study variation is sqrt(GRR variance / TV variance) times 100, which is sqrt(0.00100 / 0.01000) times 100 = 31.6%. Percent GRR against tolerance is 6 times GRR std dev divided by tolerance width, times 100, which is 6 times 0.0316 / 0.20 times 100 = 94.9%. The second figure matters when the process is already tight. A gauge can look acceptable against a wide study spread and still consume almost the whole tolerance.

ndc is 1.41 times PV std dev divided by GRR std dev, which is 1.41 times 0.0949 / 0.0316 = 4.2. AIAG guidance treats ndc of 5 or more as adequate discrimination. At 4.2 the gauge cannot reliably sort parts into enough distinct groups for process control, even before the tolerance figure is considered.

How I read the result

Under AIAG Measurement Systems Analysis, 4th edition, percent GRR under 10% is generally acceptable, 10% to 30% is marginal and needs justification based on cost and risk, and over 30% needs improvement. I treat those as screening bands, not a pass stamp. A 12% GRR on a safety critical dimension with a 0.05 mm tolerance may still be unfit, while the same figure on a non critical dimension with a wide tolerance may be acceptable with tighter control limits.

The variance split tells me where to act. Here AV exceeds EV, so I would first check whether operators zero the gauge the same way, seat the part in the same orientation, and read at the same location. I would watch each operator measure the same three parts and compare technique before touching the instrument. If EV dominated, I would check resolution, which should be at most 5% of tolerance, thermal drift, and whether parts are being removed and refixtured between trials. Removing and refixturing is deliberate. It includes fixturing variation in repeatability, which is what production measurement will actually see.

Failure modes that invalidate the study

Parts chosen from one subgroup or from sorted good parts understate PV and inflate percent GRR. Parts must span the expected process range, including parts near both specification limits. Operators who know the expected values, or who measure in part number order, bias reproducibility downward. Destructive tests cannot use a crossed design because the part is gone after trial one. I would switch to a nested design, where each operator gets different parts, and accept that operator by part interaction cannot be separated cleanly.

Gage R&R also does not prove accuracy. A gauge can be precise and biased, or nonlinear across the range. I would pair the study with a bias and linearity check against a reference standard, and a stability check over time, before releasing the gauge for acceptance decisions. If the gauge fails, I fix the dominant component, rerun the same design on the same parts where possible, and only then update control limits. Changing the study design at the same time as the fix makes the improvement unverifiable.

Curated: · Written: · Reviewed: —

Difficulty: Medium
Q&A-21Walk me through how you would set up a calibration system for shop-floor gauges, including how you choose intervals and keep traceability to a national standard?

The 90-second answer

A calibration system has to prove two things for every gauge on the floor: it was checked against a standard traceable to the SI, and it was still in tolerance when it was last used. I build it around a register, not stickers. Each gauge gets a unique ID, its tolerance, the procedure and lab used, as-found and as-left results, the next due date, and the location. The sticker is just the visible output of that record.

Traceability means an unbroken chain of comparisons, each with stated uncertainty. A shop caliper is calibrated against a gauge block set, that set against a higher-grade block or comparator at an ISO/IEC 17025 accredited lab, and that lab's standards against a national metrology institute such as NIST or NPL. If any link is missing, or the lab cannot state its uncertainty, the chain is broken even if a certificate exists.

Intervals come from drift and risk, then get adjusted from history. I start with the manufacturer's recommendation, the gauge's tolerance relative to the feature it measures, how often and how harshly it is used, and the cost of a bad measurement. I then shorten or extend the interval only when as-found data supports it.

Choosing an interval in practice

Take a 0-150 mm digital caliper used on a machined housing line, tolerance ±0.03 mm, measuring a ±0.10 mm feature. The gauge tolerance is 30% of the feature tolerance, which is workable but leaves little room for drift. A micrometer for the same feature, tolerance ±0.002 mm, can run longer because its error budget is far smaller.

A simple starting model uses observed drift:

Python
# Hypothetical figures for one caliper, checked against a Grade 0 gauge block
# drift_rate in mm per month, from as-found results at each calibration
tolerance = 0.030          # mm, caliper specification
safety_factor = 0.5        # use only half the tolerance for drift
observed_drift = 0.004     # mm/month, worst recent as-found drift

max_interval_months = (tolerance * safety_factor) / observed_drift
print(max_interval_months)  # 3.75 months

That gives roughly 3 to 4 months, so I would set 3 months and review after two cycles. If as-found drift falls to 0.001 mm/month, the same arithmetic supports 12 months. If a gauge is dropped, overloaded, or used as a pry bar, the interval is irrelevant. It comes out of service for an immediate check.

Gauge and useStarting intervalWhat moves it shorterWhat can extend it
Caliper, daily use on line3 to 6 monthsAs-found error above 50% of tolerance, damage, high useTwo cycles with drift under 25% of tolerance
Micrometer, inspection bench6 to 12 monthsWorn anvil or spindle, failed zero checkStable as-found history, controlled storage
Torque wrench, safety-critical bolts6 months or 5,000 cycles, whichever firstOver-torque event, missed cycle countCycle data showing low drift, still capped by calendar
Pressure gauge, process line6 to 12 monthsPulsation, overpressure, reading driftComparison checks against a master gauge between calibrations

Fixed calendar intervals are simple to audit and easy to schedule. Usage-based intervals fit torque wrenches and counters better, because wear tracks cycles. Condition-based checks, such as a daily zero check on a micrometer or a master-part check on a CMM, catch damage early but do not replace a full calibration. Most plants I have seen run a mix: calendar for most hand gauges, cycles where wear is counted, and daily functional checks for everything.

Shop caliper ID CAL-1042 Gauge block set, Grade 0 Accredited lab comparator, ISO/IEC 17025 National standard, e.g. NIST SI metre Certificate with as-found and as-left values Register: due date, uncertainty, lab ID

When a gauge is found out of tolerance

This is where systems fail in practice. The as-found result matters more than the as-left result, because as-found tells you what the gauge was doing while it was in use. My procedure quarantines the gauge, flags every measurement taken since the last good calibration, and asks quality to assess impact. For a caliper that reads 0.05 mm high against a ±0.03 mm tolerance, parts measured near the limit need re-measurement with a known-good gauge. If the drift is small and the measured features were well inside tolerance, the assessment can be documented and closed. If parts shipped, that becomes a customer notification decision, not a shop-floor one.

Common failure modes I look for during an audit: a gauge in use with an expired sticker because the register and the floor disagree, a certificate from a lab that is not accredited for that parameter, calibration at 20°C recorded without the actual temperature, and intervals extended across a whole gauge family because one gauge behaved well. I also check that calibration is not confused with gauge R&R. Calibration asks whether the gauge reads correctly against a standard. Gauge R&R asks whether the measurement system, including the operator and the part, repeats well. A gauge can pass calibration and still give poor R&R if the fixture or technique is weak.

The register gets reviewed quarterly. I plot as-found error against time for each gauge type, count out-of-tolerance events, and adjust intervals from that data. That review is what turns a sticker program into a calibration system.

Curated: · Written: · Reviewed: —

Difficulty: Medium
Q&A-22Which comes first when qualifying a process, proving it is stable or proving it is capable, and how do you test for stability?

The 90-second answer

Stability comes first. A stable process is in statistical control, meaning its variation is predictable and only common causes are present. A capable process is a stable process that also fits inside the specification limits. Capability indices calculated before stability is proven do not predict future yield, because the mean and standard deviation will keep moving.

The test for stability is a control chart. You plot subgroup results in time order against control limits calculated from the process itself, usually the centre line plus and minus three standard errors. Points inside those limits, with no runs or trends, indicate stability. Capability is then assessed against the specification limits, which come from the customer or design, using Cp and Cpk.

StabilityCapability
Compared withControl limits from the process dataSpecification limits, LSL and USL
ToolX-bar and R chart, or individuals chartCp and Cpk
Question answeredIs the process predictable?Will a predictable process meet spec?

A simple trace

Take shaft diameter with a specification of 10.00 plus or minus 0.10 mm. Subgroups of five are taken each hour. The X-bar chart has a centre line at 10.01 mm and control limits at 9.97 and 10.05 mm. The R chart is also in control.

HourSubgroup mean (mm)On X-bar chartReading
110.00Inside limitsNo signal
210.02Inside limitsNo signal
310.01Inside limitsNo signal
410.03Inside limitsNo signal
510.00Inside limitsNo signal
610.01Inside limitsNo signal

No point crosses a limit and there is no run of seven on one side of the centre line. The process is stable, so capability can be calculated. With within-subgroup sigma of 0.020 mm:

Python
usl, lsl = 10.10, 9.90
mean, sigma = 10.01, 0.020
cp = (usl - lsl) / (6 * sigma)          # 1.67
cpk = min((usl - mean) / (3 * sigma),   # 1.50
          (mean - lsl) / (3 * sigma))   # 1.83

Cp of 1.67 says the spread fits. Cpk of 1.50 says the process sits slightly high, so the upper specification is closer. Recentering toward 10.00 mm would improve Cpk without reducing variation.

Now change one thing. Suppose the means drift from 9.96 to 10.05 mm over a shift as a tool wears. Points will cross the control limit or form a run, and the chart signals a special cause. A Cpk calculated across that shift would mix several different means into one standard deviation. It would not describe the next shift. The correct sequence is to find the cause of the drift, restore control, and only then calculate capability.

No Yes Plot subgroups in time order Control chart in control? Find special cause and restore control Calculate Cp and Cpk against spec

Common mistakes

Specification limits do not belong on a control chart. A process can be stable and still make parts outside spec, and a process can appear to meet spec for a short run while drifting out of control.

Cp and Cpk also assume the data are roughly normal and the gauge can resolve the variation. If measurement variation is large relative to the tolerance, the chart and the indices will mostly reflect the gauge. Check gauge repeatability and reproducibility before drawing conclusions from either test.

Curated: · Written: · Reviewed: —

Difficulty: Medium
Q&A-23Walk me through how you would build the PFMEA and control plan for a safety-critical 12.00 mm bore diameter on an aluminium brake caliper housing, from process steps to reaction plan?

The 90-second answer

I would start from the characteristic, not the form. Assume a die-cast aluminium brake caliper housing, bore 12.00 mm +0.020/-0.000 mm, safety-critical because piston seal leakage is a field failure. Volume 80,000 per year, two shifts, bore produced by CNC boring then reaming and honing. Target Cpk 1.67 on the bore, gauge R&R under 10% of the 20 micron tolerance, and 100% leak test downstream as a safety net, not as the primary control.

Then I build the PFMEA step by step for casting, machining, washing, assembly and test, and only promote a control to the control plan if it prevents the cause or detects it before the next step. Detection at final inspection alone does not make a safety characteristic controlled.

PFMEA excerpt, AIAG-VDA logic

Severity is fixed by the effect. I score occurrence and detection against the actual controls in place, and I use Action Priority, not a bare RPN cut-off, to decide what must change.

StepFailure modeEffectSCauseOPreventionDetectionDAP
CNC bore/reamTool wear, bore drifts oversizeSeal extrusion, brake fluid leak10Insert wear, no tool-life limit4Tool-life counter at 400 parts, offset locked after first articleIn-process air gauge every 25 parts, X-bar chart3High
CNC bore/reamBuilt-up edge, rough finish Ra >0.8Seal wear, leak after thermal cycling9Low cutting speed, coolant concentration drift5Coolant checked per shift, speed window in programSurface finish sample 1 per shift, leak test 100%4High
WashChips left in borePiston scoring, leak9Nozzle blocked, filter bypassed3Filter differential pressure alarmBore scope sample, leak test 100%5Medium
Leak testTest pressure decay masked by fixture leakDefective housing escapes10Worn fixture seal2Fixture seal PM weeklyDaily master leak check, 0.5 sccm reference part2Medium

The subtle point is the second row. Leak test catches gross oversize today, so detection looks good, but it will not catch a bore that is in tolerance now and rough enough to wear the seal in service. That is why prevention on tool condition and finish, plus a capability study on diameter and finish, outranks adding more final inspection.

Control plan for the bore

CharacteristicSpecificationMethodSample and frequencyControlReaction plan
Bore diameter12.000 to 12.020 mmAir gauge, calibrated daily with master5 consecutive parts every 25 parts, n=5 subgroupX-bar and R chart, Cpk reviewed weeklyStop at last good subgroup, segregate since last check, adjust offset only by approved increment, re-qualify with 30 parts
Bore finishRa 0.8 micron maxProfilometer1 part per shiftTrend chart, limit at 0.6Change insert, check coolant, hold parts since last good sample
Tool life400 parts max per insertMachine counter, lockedEvery partCounter alarm at 380Replace insert, first article inspection
Leak rate<1.0 sccm at 150 kPaPressure decay, 100%Every partAuto reject, daily master checkStop line, quarantine since last passed master check

Worked check on measurement

Tolerance is 20 microns. A gauge with 1 micron resolution and repeatability standard deviation of 0.6 micron gives a gauge R&R study I would run with 10 parts, 3 operators, 3 trials. If the combined gauge standard deviation is 1.0 micron, then 6 sigma of gauge variation is 6 microns, which is 30% of tolerance. That fails the under 10% target for a safety characteristic, even if the process looks capable. I would not launch the control plan until I had a better gauge or a larger effective tolerance from design. With a 0.3 micron gauge, 6 sigma is 1.8 microns, or 9% of tolerance, and the Cpk calculation becomes trustworthy.

For capability, if the process mean sits at 12.010 mm with standard deviation 0.002 mm, then Cpk is min((12.020-12.010)/(3x0.002), (12.010-12.000)/(3x0.002)) = 1.67. That is the number I would require over at least 125 parts from a stable run, not a short trial.

Yes No Air gauge subgroup out of control Stop, segregate since last good subgroup Check master and tool wear Gauge or tool cause confirmed? Correct, run 30 part requalification Escalate to process engineering, hold shipment Resume only if Cpk and leak test pass

The reaction plan is what makes the chart real. Without a defined containment boundary, an out-of-control point becomes a debate while parts keep moving. I would also link the PFMEA back to the control plan after any change, new insert supplier, coolant change, or fixture rebuild, and re-score occurrence and detection rather than assuming the old scores still hold.

Curated: · Written: · Reviewed: —

Difficulty: Hard
Q&A-24Engineering released a housing at ±0.05 mm on a 120 mm ABS dimension, in PC, for CNC machining at 500 units/month. How would you give DFM feedback on tolerance, material and process before release?

The 90-second answer

I would return the drawing unsigned, with a redline and a one page DFM note. The 120 mm dimension at ±0.05 mm, PC material, and CNC at 500 per month are three separate decisions, and each one needs a functional reason. I would ask what the dimension controls, what temperature and load the housing sees, and what volume is expected over the life of the part. Then I would price the tolerance, material and process as a set.

Tolerance: achievable in CNC, hard to hold in moulding

±0.05 mm on a single machined part is not impossible. A stable CNC, a sharp tool, a controlled workholding setup and measurement at 23 C can hold it. The question is whether the assembly needs it, and whether the chosen process can hold it at the required capability.

For moulded ABS, published shrinkage is typically 0.4 to 0.7 percent depending on grade and conditions. On 120 mm, that is 0.48 to 0.84 mm of shrinkage to compensate in the tool. Compensation centres the mean. It does not remove variation. If the actual shrinkage rate differs from the assumed rate by 0.1 percentage point, the part moves by 0.12 mm. That alone exceeds a ±0.05 mm band. Wall thickness changes, packing pressure and melt temperature all shift shrinkage, so a moulded ±0.05 mm call on 120 mm would need a very tight process window and a capability study to prove it.

Thermal expansion needs the same care. ABS coefficient of thermal expansion is roughly 70 to 90 x 10^-6 per K. Over 20 K, 120 mm moves about 0.17 to 0.22 mm. That matters if the part is measured or assembled across a wide temperature range. It does not automatically consume the drawing tolerance if inspection is done at a stated temperature, for example 23 ±2 C, where the movement over that 4 K span is about 0.03 to 0.04 mm. I would put the measurement temperature on the drawing or in the inspection plan instead of treating thermal movement as a vague reason to loosen the tolerance.

I would ask engineering for the functional stack. The figures below are a worked example for the review, not a claim about this assembly:

Contributor± mm
Housing length0.05
Mating bracket length0.10
Fastener clearance take-up0.15
Worst case stack0.30
RSS stack0.19
Python
# Python 3.11, worked example only
worst = 0.05 + 0.10 + 0.15
rss = (0.05**2 + 0.10**2 + 0.15**2) ** 0.5
print(f"worst case: {worst:.2f} mm")
print(f"RSS: {rss:.3f} mm")

# Shrinkage sensitivity on 120 mm
for rate in (0.004, 0.005, 0.006, 0.007):
    print(rate, round(120 * rate, 3), "mm")

If the functional gap is 0.40 mm, the housing could move to ±0.15 mm and still pass worst case in this example. I would propose a capability target, such as Cpk at least 1.33 from 30 pieces across three material lots, measured after conditioning at the stated temperature. That gives engineering a testable requirement instead of a bare tolerance.

Material and process: PC and CNC need justification at this volume

PC is a legitimate choice when impact resistance, optical clarity or heat resistance matters. It is tougher than ABS and has a higher heat deflection temperature. It is also more expensive, more notch sensitive in some grades, and prone to stress cracking with incompatible chemicals and coolants. For moulding, PC must be dried before processing, typically around 120 C for 3 to 4 hours to below 0.02 percent moisture, or it forms bubbles and splay. That drying requirement applies to moulding, not to machining a solid billet.

ABS moulds easily, bonds well and costs less, but it creeps more under sustained load and softens at lower temperature than PC. PA66 with glass fibre is stiffer and creeps less, but it absorbs moisture and shrinks anisotropically, which complicates a long dimension.

At 500 per month, CNC avoids tooling cost and suits design changes, but every part pays machining time, material removal and inspection time. Moulding pays tooling up front and then produces parts in seconds. The break-even is tooling cost divided by the per part saving. I would fill that in with quoted machining time and a tool quote, not with a rule of thumb. If the design is still moving, I would prototype in CNC or additive parts, freeze the dimension and gate location, then cut steel.

What I send back

A redline showing the 120 mm dimension either relaxed to the functional value or flagged with the mating condition that requires ±0.05 mm. I would add datums that match the assembly, a measurement temperature, draft of at least 1 degree on vertical walls for moulding, uniform wall around 2.0 to 2.5 mm for ABS, radii on internal corners, and the gate and parting line on the model. I would list the evidence needed before release: shrinkage measured on the actual tool, warpage checked after conditioning, and a capability study on the critical dimension. If engineering keeps ±0.05 mm, I would state the consequence in writing: CNC or a tightly controlled moulding process, 100 percent inspection or a proven Cpk, and the added cost per part. That makes the decision explicit and auditable.

Curated: · Written: · Reviewed: —

Difficulty: Hard
Q&A-25You need a lightweight outdoor enclosure bracket that carries 2 kN, resists salt spray, and will be made in 50,000 units: how would you choose between aluminium, stainless steel and glass-filled nylon?

The 90-second answer

I would size each candidate for the 2 kN load first, then let corrosion and volume decide. For a lightweight outdoor bracket in salt spray at 50,000 units, my default is 6061-T6 aluminium, powder-coated, with stainless only if the coating cannot be maintained and the part sits in a chloride crevice. Glass-filled nylon is attractive on density and moulding cost, but wet stiffness and creep usually force a much larger section.

Assumptions: 2 kN is a peak tensile load on a net section, service is coastal outdoor at -20 to 60 C, and the bracket is not a lifting point. If the load is sustained bending, creep and fatigue change the ranking.

Size it on yield, not on density alone

First pass: required area A = F / (yield / 2), with F = 2,000 N and a factor of 2 on yield. Metal yields below are ASTM minima for annealed or T6 temper as noted. Polymer values are typical manufacturer datasheet values for PA66-GF30, dry as moulded and conditioned at 23 C and 50 percent relative humidity, because polymers do not have a sharp yield like metals.

MaterialDensity g/cm3Strength used MPaE GPaA for 2 kN mm2Mass per 100 mm g
6061-T6 aluminium2.70276 yield6914.53.9
304 stainless, annealed8.00205 yield19319.515.6
316L stainless, annealed8.00170 yield19323.518.8
PA66-GF30, dry1.37180 tensile9.522.23.0
PA66-GF30, conditioned1.37115 tensile5.534.84.8

Stainless at equal load is about 4 times the mass of aluminium in this sizing, from density 8.0 versus 2.7 g/cm3 and lower annealed yield. That is a mass penalty, not a direct cost ratio. Material cost per part also depends on price per kilogram, machining time, and scrap, so I would not quote a cost multiple from density alone.

Stiffness is the nylon problem. To match deflection, section second moment scales with 1/E. Against wet PA66-GF30, aluminium needs about 69 / 5.5 = 12.5 times less second moment. Ribs can recover much of that, but a thin ribbed wall in a hygroscopic polymer will creep under sustained preload. I would treat creep, not tensile strength, as the governing check for nylon.

Corrosion and manufacturability at 50,000 units

Factor6061-T6 aluminium316L stainlessPA66-GF30
Salt sprayPits where coating is damaged. Needs coating, sealed edges, and isolation from carbon steel fasteners.Good general resistance, but crevices under washers can pit in marine chloride. Needs passivation after fabrication.No corrosion. Needs UV stabilisation outdoors. Absorbs moisture, which is why conditioned properties govern.
Forming at volumeExtrude and CNC, or die-cast. Die-cast tooling is expensive, unit cost falls with volume.Stamp or bend, then fasten or weld. Higher tonnage, springback compensation, slower machining.Injection mould, short cycle. Glass fibre wears tool steel. Warpage and fibre orientation control wall thickness and strength.
JoiningThreaded inserts, rivets, or bolts with isolation washers.Direct bolting, with galling risk on stainless threads.Moulded bosses and inserts. Torque retention and creep under the screw head limit preload.

How I would prove the choice before tooling

Three tests, with acceptance limits set by the design, not by the datasheet. One, coated aluminium coupons with a scribe through the coating, run in ASTM B117 salt spray, inspected for coating creep from the scribe at the interval the customer specifies. Two, the ribbed nylon bracket under sustained load at 60 C, measuring deflection over time against a limit I set from the assembly gap, for example 0.5 mm if that is the functional limit. Three, stiffness and proof load on the actual bracket geometry for all three candidates, because rib geometry and fibre orientation do not follow a flat coupon.

If coating maintenance is ruled out and the bracket sits in a wet chloride crevice, I would switch to 316L and redesign for its mass. If the bracket is indoors and the 2 kN load is a short proof load, PA66-GF30 with ribs becomes defensible. For the stated outdoor salt-spray case at 50,000 units, coated 6061-T6 gives the best balance of specific strength, stiffness, and manufacturability.

Curated: · Written: · Reviewed: —

Difficulty: Hard
Q&A-26After quenching and tempering a steel shaft, what happens to its hardness, toughness and diameter, and how would you verify each one?

The 90-second answer

For a hardenable steel such as 4140, quenching from austenite produces martensite. Hardness rises sharply, Charpy impact energy falls sharply, and at the same room temperature the part is slightly larger than it was in the annealed condition. Tempering reverses part of that change. As carbon precipitates as carbides and the martensite lattice relaxes, hardness falls, impact energy rises, and the diameter contracts a little. I would verify the three properties on coupons from the same heat and section size, because Charpy testing is destructive and hardness on the finished shaft alone does not tell you toughness.

The dimensional point needs care. Both the annealed and the quenched coupon are measured at 20 °C, so thermal contraction on cooling to room temperature is not the difference between them. The difference is the transformation. Martensite has a larger specific volume than the ferrite and pearlite it replaces, so a coupon that transforms to martensite finishes larger than one that transforms to ferrite and pearlite, even though both contracted thermally while cooling. Tempering reduces that excess size as tetragonal martensite loses carbon to carbides and any retained austenite decomposes. The net change is small, typically a few hundredths of a millimetre on a 25 mm section, and it is not guaranteed to be growth in every steel or geometry. Distortion from uneven transformation and residual stress can exceed uniform growth on a long shaft, so I measure diameter at several stations and check runout, not just one micrometer reading.

The table below is a hypothetical illustrative set for a 25.00 mm 4140 coupon, austenitised at 845 °C and oil quenched. It shows the direction and rough scale of the trade-off, not measured data for a specific heat.

ConditionHardnessCharpy V-notch at 20 °CDiameter at 20 °C
Annealed22 HRC85 J25.000 mm
Quenched, no temper55 HRC8 J25.045 mm
Temper 200 °C, 2 h50 HRC18 J25.038 mm
Temper 400 °C, 2 h42 HRC38 J25.020 mm
Temper 550 °C, 2 h32 HRC62 J25.008 mm

Percent change on quenching in this example is (25.045 - 25.000) / 25.000 x 100 = 0.18%. If a journal tolerance allows only 0.05 mm total movement, that change alone uses most of it. The practical answer is to leave grinding stock and finish grind after tempering, or to prove by measurement that the actual change for your section and quench medium fits the tolerance.

Coupons from same heat and section Baseline hardness, diameter and runout at 20 C Austenitise and quench Repeat hardness and dimensions Temper at each planned temperature Repeat hardness and dimensions Charpy test tempered coupons Select temper window from hardness and impact results

How I would verify each property

Hardness: Rockwell C to ASTM E18, three indents per coupon, on a ground surface with decarburisation removed. A single surface reading can hide a soft decarburised skin, so for the first article I section one coupon and run a microhardness traverse from surface to core. Dimensions: micrometer or CMM at 20 °C after a soak, same stations before and after each step, plus runout between centres for a shaft. Toughness: Charpy V-notch to ASTM E23, at least three specimens per temper, tested at room temperature and at the lowest service temperature if the part sees cold use. Plot hardness against temper temperature first. That curve sets the maximum temper you can use without dropping below the drawing minimum hardness. Then check that Charpy energy at that temper meets the requirement. Choosing the temper from toughness alone risks overtempering, where impact looks good and fatigue strength has already fallen too far.

Failure modes to check

Quench cracks at section changes, often visible only after tempering starts, call for dye penetrant on the first article and a less severe quench or a martemper. Retained austenite can transform later and cause dimensional drift, so I repeat the diameter check after 48 hours. If hardness is low but the core is hard, suspect decarburisation or a slow quench and check the traverse. If diameter is in tolerance but runout is out, the problem is distortion, not uniform growth, and straightening or post-temper grinding is the fix, not a change to the temper.

Curated: · Written: · Reviewed: —

Difficulty: Hard
Q&A-27You must join a 2 mm 304 stainless enclosure seam, a 3 mm 6061 aluminium bracket, and two 1 mm mild steel sheets in a lap joint at 5,000 units a year: how do you choose MIG, TIG or resistance spot welding for each, and what would you check before release?

The 90-second answer

I would not pick one process for all three joints. The joint geometry and the material decide it, and volume only breaks the tie.

For the 2 mm 304 stainless enclosure seam, I would use TIG (GTAW). It gives a clean, spatter-free seam on thin stainless, tight control of heat input, and a weld that passivates and resists corrosion without grinding. MIG (GMAW) would be faster on a thicker section, but on 2 mm it risks burn-through, distortion and spatter that then has to be removed, which damages the passive layer.

For the 3 mm 6061 aluminium bracket, I would use MIG with a spool gun or push-pull feeder, 4043 or 5356 wire, and argon shielding. At 3 mm, MIG deposits fast enough to be economical and penetrates reliably. TIG would work and would look better, but at 5,000 units a year the arc time and operator skill make it the slower, costlier choice unless the bracket is thin, cosmetic, or fatigue critical in a way MIG cannot meet.

For the two 1 mm mild steel sheets in a lap joint, I would use resistance spot welding. It is the only one of the three that suits a lap joint in thin sheet at volume. It makes a fused nugget in about 0.1 to 0.2 seconds, needs no filler or shielding gas, and a gun or press can cycle in under 2 seconds. MIG or TIG on a 1 mm lap would be slow, distort the sheet, and leave a fillet where a nugget is wanted.

JointProcessWhy it winsMain risk to control
2 mm 304 seam, butt or cornerTIG, DC, argon, 308L filler if neededPrecision, clean surface, corrosion resistanceBurn-through, heat tint, distortion
3 mm 6061 bracket, butt or filletMIG, argon, 4043/5356 wireDeposition rate, penetration, cost at volumePorosity from oxide and moisture, lack of fusion
1 mm mild steel lapResistance spotSpeed, repeatability, no fillerExpulsion, small nugget, electrode wear

Heat input check for the arc welds

Heat input is the first number I check before I argue about process. HI = (V x I x 60) / (1000 x travel speed in mm/min), in kJ/mm.

For the stainless TIG seam at a trial setting of 12 V, 90 A and 150 mm/min: HI = (12 x 90 x 60) / (1000 x 150) = 0.43 kJ/mm. That is in the range I would expect for 2 mm 304 with a tight arc, and it tells me distortion will be manageable with a copper backing bar and a short, clamped seam.

For the aluminium MIG bracket at 18 V, 180 A and 400 mm/min: HI = (18 x 180 x 60) / (1000 x 400) = 0.49 kJ/mm. The similar heat input hides a different problem. Aluminium conducts heat away about four times faster than stainless, so the same HI that melts stainless can leave aluminium unfused at the root if the joint is cold or the wire feed is low. That is why I would preheat only if the trial shows lack of fusion, clean the oxide with a stainless brush or acetone immediately before welding, and keep the shielding gas dry. Porosity in aluminium is usually hydrogen from moisture or oxide, not a voltage problem.

Spot schedule for the 1 mm lap

For 1 mm mild steel, the rule of thumb is a nugget diameter of 4 to 5 times sheet thickness, so 4 to 5 mm. I would start a trial at 8 kA for 0.12 s with 2.5 kN electrode force, then peel test. A good nugget peels with a plug pulled from one sheet and a button at least 4 mm across. If I see expulsion, the current or time is too high or the force too low. If the button is under 3 mm, current or time is too low. I would log current, time and force on every weld in production, because electrode wear shows up first as a falling dynamic resistance and a shrinking button, long before the joint looks wrong.

What I would check before release

I would qualify each process separately with a WPS and a PQR, not one generic weld procedure. For stainless, that means a bend or macro etch, dye penetrant on the seam, and a check that heat tint is removed and the surface passivated. For aluminium, macro etch for fusion and porosity, plus a tensile or bend test on a coupon. For spot welds, peel and cross-tension tests at the start of each shift and after every electrode dress, with the button size recorded.

I would also run a short production trial at rate. TIG on stainless fails in production when the operator rushes and the arc wanders. MIG on aluminium fails when the liner is contaminated and porosity appears in hour three. Spot welding fails when the shunt path changes because a nearby part is clamped. The trial has to catch those, with the actual operators, actual fixturing and actual material batches, or the WPS is only a coupon result.

Curated: · Written: · Reviewed: —

Difficulty: Hard
Q&A-28You need an aluminium housing at 200 units a year with ±0.1 mm tolerance, and the same housing at 200,000 a year with ±0.5 mm: how do you choose between sand, die and investment casting for each?

The 90-second answer

I would decide on tolerance first, then volume, then alloy and geometry. Sand casting is the default for low volume, large parts and loose tolerance. Die casting wins once volume amortises the steel die and the tolerance is about ±0.25 mm or looser. Investment casting sits between them on tooling cost and beats both on tolerance and surface finish, but its per-part cost keeps it out of high volume unless the part is small, complex or in a high-value alloy.

For the two cases in the question: 200 units a year at ±0.1 mm points to investment casting, possibly with machining on critical faces if the drawing holds ±0.05 mm. 200,000 units a year at ±0.5 mm points to die casting in aluminium, because the die cost disappears into unit cost and the tolerance is comfortably inside die capability.

What each process actually delivers

ProcessTypical tolerance on 100 mmSurface finish RaTooling (hypothetical, aluminium housing)Per-part cost driver
Sand±0.8 to 1.5 mm12.5 to 25 µmPattern $2k to $5kMould making, shakeout, fettling, high scrap allowance
Die±0.1 to 0.3 mm1.6 to 3.2 µmSteel die $30k to $80kCycle time, die maintenance, porosity rework
Investment±0.05 to 0.15 mm1.6 to 3.2 µmWax die $5k to $15kShell building, burnout, ceramic removal, slow cycle

Those tolerance bands are process capability for a competent foundry, not a guarantee. A drawing at ±0.1 mm on a 120 mm sand casting will fail capability studies even if individual parts measure in tolerance, because the distribution width exceeds the band. That is the first check I run: compare the drawing tolerance to the process band before discussing price.

Volume crossover, with real arithmetic

Label these figures as hypothetical for a 0.8 kg aluminium housing. Sand: tooling $4,000, variable cost $38 per part. Die: tooling $60,000, variable cost $9 per part. Investment: tooling $10,000, variable cost $24 per part.

Total cost = tooling + variable cost × volume.

Sand versus die crossover: ($60,000 − $4,000) / ($38 − $9) = 56,000 / 29 ≈ 1,930 parts. Below roughly 2,000 parts over the life of the tooling, sand is cheaper. Above it, die wins and the gap widens fast. At 200,000 parts, die total is $60,000 + $1,800,000 = $1,860,000, or $9.30 per part. Sand at the same volume is $7,604,000, or $38.02 per part.

Investment versus die crossover: ($60,000 − $10,000) / ($24 − $9) = 50,000 / 15 ≈ 3,330 parts. Investment is cheaper than die below that volume, and it carries tighter tolerance. Investment versus sand: ($10,000 − $4,000) / ($38 − $24) = 6,000 / 14 ≈ 430 parts. So the cost order flips twice as volume rises: sand at very low volume, investment in the middle, die at high volume. Tolerance can override the cost order. If the drawing needs ±0.1 mm, sand is out at any volume and die needs a capability study plus likely machining.

Yes No No Yes Yes No Yes No Drawing tolerance Inside sand band? Volume over ~2000 lifetime parts? Inside die band with margin? Sand casting Die casting Volume over ~3300? Investment casting

Failure modes I would price in

Die casting traps gas and gives subsurface porosity. That shows up as leak test failures on pressure-tight housings and as blistering when the part is later heat treated or machined through the dense skin. I would ask for X-ray or CT sampling on first articles and a leak test at the drawing pressure, not just dimensional inspection.

Sand casting gives inclusions, misruns on thin walls and wide dimensional scatter from mould erosion and pattern wear. I would expect a higher machining allowance, typically 1 to 2 mm per face, and I would check that allowance against wall thickness before committing.

Investment casting fails differently. Shell cracking and wax pattern distortion drive scrap, and ceramic residue in blind holes is hard to remove. For a housing with internal passages, I would confirm the foundry can prove residue removal and that the shell system suits the alloy melt temperature.

When I would not pick the cheapest option

If the alloy is steel or a nickel superalloy, die casting drops out for most geometries because die life collapses at steel melt temperatures. Investment or sand then carries the decision. If the part is large, say over 20 kg, die size and press tonnage become the constraint and sand or investment in a larger mould wins regardless of volume. If the drawing tolerance is ±0.5 mm but a single bore needs ±0.05 mm, I would cast in the cheapest process that holds the general tolerance and machine that bore, rather than paying for investment tolerance across the whole part.

My closing check with a foundry is always the same: ask for their demonstrated Cpk on a comparable part, their typical scrap rate, and their tooling lead time. Sand patterns arrive in weeks, a steel die in 10 to 16 weeks, and that lead time sometimes decides the process before cost does.

Curated: · Written: · Reviewed: —

Difficulty: Medium
Q&A-29A 2 mm mild steel bracket springs back 4 degrees after a 90 degree air bend. How would you diagnose the cause and redesign the die to hold angle and flatness in production?

The 90-second answer

Springback is elastic recovery after the punch unloads. The outer fibres were stretched past yield, the inner fibres compressed, and on unloading the elastic part of that strain comes back. You do not fix it by tightening the tolerance on the drawing. You change the die so the part is formed past the target angle, or you add a bottoming or coining hit that sets the bend through the thickness.

For a 90 degree air bend in 2 mm mild steel, I would start with overbending. If the part measures 94 degrees off a 90 degree punch, I set the punch to 86 degrees and remeasure. That works until the variation in yield strength, thickness or lubrication between coils moves the springback by more than the tolerance allows. Then I look at the bend radius to thickness ratio, the material grade, and whether the press can bottom the bend.

Why it springs back

Bending puts a stress gradient through the thickness. Material near the neutral axis sees little strain. Material outside it yields in tension, material inside yields in compression. When the load is removed, the elastic strain recovers and the angle opens. The effect grows when the bend radius is large relative to thickness, when yield strength is high relative to elastic modulus, and when the bend is air formed with a large die opening. Aluminium and high strength steel spring back more than mild steel for the same geometry because yield to modulus ratio is higher.

A quick check I run on the floor: measure angle at three positions along the bend, measure thickness at the bend, and check the coil certificate for yield. If angle varies along the length, suspect uneven thinning, a worn punch nose, or the blank not seating in the V die. If angle is consistent but open, it is classic springback and die compensation is the right tool.

Worked trial

Hypothetical trial on 2 mm DC01 steel, 90 degree target, 16 mm V opening, punch radius 2 mm. Angle measured with a digital protractor on a CMM checked fixture, five parts per trial.

TrialPunch angle setMean part angleSpreadAction
190 deg94.2 deg1.1 degOverbend 4 deg
286 deg90.4 deg0.9 degAcceptable centre
386 deg, new coil91.8 deg1.3 degCoil yield higher, recheck

Trial 3 is the production risk. A coil at 320 MPa yield instead of 260 MPa adds roughly 1 to 2 degrees of springback in this geometry. If the drawing allows plus or minus 1 degree, overbending alone will not hold capability across coils. Options then are a smaller bend radius, a bottoming station, or a restrike operation that coins the bend after the main form.

Bottoming changes the mechanism. The punch drives the sheet into the die so the full thickness is compressed at the bend. Springback drops to under 0.5 degree in many cases, but tonnage rises sharply and die wear increases. I would only specify it if the press has the capacity and the part volume justifies the maintenance.

Die and press sizing

For the blanking or piercing part of the same die, force is perimeter times thickness times shear strength. Take a bracket blank with 400 mm of cut perimeter, 2 mm thick, shear strength about 300 MPa for mild steel.

P = L x t x tau = 400 x 2 x 300 = 240,000 N = 240 kN
Add 20% for stripping and press variation: 288 kN
Press choice: 30 tonne (294 kN) minimum, 40 tonne preferred

For forming, air bending force is much lower than bottoming force for the same part, often a factor of five to ten lower. That is why the press that blanks the part may not bottom the bend without an overload. I check both forces before committing to a bottoming design.

Die details I would lock in the design review: punch radius at least equal to thickness for mild steel to avoid cracking on the outer fibre, die opening around eight times thickness for air bending unless the flange length forces a smaller opening, clearance of 5 to 10 percent of thickness per side for blanking, and a stripper that holds the blank flat so the bend line does not walk. For a drawn cup or deep flange, I would add draw beads or a blank holder pressure trial, because wrinkling and tearing are the forming limits there, not springback.

Yes No No Yes Measure angle and thickness Consistent but open? Overbend punch by measured springback Check seating, wear, coil variation Run 30 parts across 2 coils Cpk on angle meets spec? Add bottoming or restrike station Lock die, set control plan checks

What I would hand over to production

A first article report with angle data by coil, a die setting sheet with punch angle and shut height, and a control plan that checks angle on the first five parts after a coil change, not just at shift start. If angle drifts, the reaction is to adjust overbend in 0.5 degree steps and remeasure, not to shim the die blindly. That keeps the correction tied to the measured springback and leaves a trace when the material supplier changes.

Curated: · Written: · Reviewed: —

Difficulty: Hard
Q&A-30In profile extrusion, how do you identify the onset of melt fracture and sharkskin, and what would you change first to clear it?

The 90-second answer

There is no single critical stress for all polymers. Melt fracture onset is a material property, found by trial for the resin and die in use. For many polyethylenes the onset in capillary and extrusion trials falls roughly in the 0.1 to 0.3 MPa wall shear stress range, and other polymers can be higher. I would not quote one number as a rule. I would run the die at fixed melt temperature, step output down, and record the output and die pressure where sharkskin or gross distortion clears. That step gives the practical limit for that resin lot and die. The first change to clear it is to reduce shear rate, usually by reducing output, or by opening the die gap if the profile allows it.

Sharkskin is the mild form, fine ridges across the surface, often on one face. Gross melt fracture is the severe form, with wavy, distorted extrudate and oscillating dimensions. Both appear when wall shear stress in the die land passes the onset for that melt. Stress rises with shear rate and with viscosity, so output, die dimensions and melt temperature all move the operating point.

Why the number varies

Critical stress depends on molecular weight, branching, melt elasticity and temperature. LDPE, LLDPE and HDPE do not share one onset, and a filled or recycled grade can shift again. Temperature also matters, because viscosity falls as melt temperature rises, so the same output can be clean at a higher temperature and fractured at a lower one. That is why a handbook value only tells you the order of magnitude. The defensible figure for a line is the one measured on that die, with melt temperature measured at the die, not at the barrel.

A capillary rheometer test run to ASTM D3835 gives pressure and flow data that can be reduced to wall shear stress and shear rate. It is useful for ranking resins, but the final onset still needs confirmation on the profile die, because entry geometry, land length and surface finish change the result.

Worked check, hypothetical figures

For a die land approximated as a capillary, wall shear stress is:

$$\tau_w = \frac{\Delta P \cdot D}{4L}$$

Take a land with $D = 2$ mm, $L = 20$ mm and measured die pressure $\Delta P = 12$ MPa:

$$\tau_w = \frac{12 \times 10^6 \times 0.002}{4 \times 0.020} = 3.0 \times 10^5 \text{ Pa} = 0.30 \text{ MPa}$$

For a polyethylene grade whose measured onset on this die is near 0.15 MPa, that operating point sits well above onset, so fracture is expected. Halving output will not halve stress exactly, because the melt is shear thinning, but it moves the point down toward onset. Opening the gap from 2 mm to 3 mm at the same output also lowers stress and pressure. The trial, not the arithmetic, decides which change holds dimensions.

ObservationLikely causeFirst changeCheck after change
Fine ridges on one face, profile otherwise in toleranceSharkskin from local high shearReduce output 10 to 20 percent, or radius and polish that die edgeRidges clear at the same melt temperature
Whole profile wavy, diameter oscillatesGross melt fractureReduce output, then consider a 10 C melt temperature riseDiameter variation and pressure fluctuation fall
Smooth surface but die pressure climbingDie restriction or build-up, not melt fractureInspect land for build-up, check temperature uniformityPressure returns to baseline
Rough surface with discoloration and brittle edgesDegradation, not shear aloneLower melt temperature and residence timeColour and impact improve, roughness may remain if shear is still high

How I would run it

Hold melt and die temperature constant. Step output down in 10 percent increments. At each step record die pressure, melt temperature at the die, and surface grade against a photo standard. Note the step where sharkskin clears. Then restore output and raise melt temperature by 10 C to see if the same surface quality returns at the higher rate. That second run separates a throughput limit from a temperature limit.

Yes No No Yes Rough or wavy extrudate Estimate wall shear stress from die pressure Above measured onset for this resin? Reduce output or open die gap Check temperature uniformity and degradation Re-grade surface at new output Clean? Raise melt temperature 10 C or shorten die land Lock output, temperature and die setting

The failure mode to avoid is chasing fracture with temperature alone. The surface can clear, then the profile sags, wall thickness drifts, and heat sensitive resins degrade at the die. Output reduction is slower but keeps melt strength and dimensions. If the higher rate is required, the fix is die redesign, a larger gap or a shorter land, not running hotter.

Curated: · Written: · Reviewed: —

Difficulty: Hard
Q&A-31You have a bracket at 20, 2,000 and 20,000 units a year, needing Ra 1.6 µm and ±0.1 mm: how do you decide where additive manufacturing stops being production-viable?

The 90-second answer

I would not start with volume alone. I would cost the finished, inspected part at each volume, including post-processing, scrap and qualification, then check whether additive can hold tolerance and finish without turning into machining plus printing.

For a bracket needing Ra 1.6 µm and ±0.1 mm, as-built additive usually fails the finish test. Typical as-built values I plan around are Ra 6 to 12 µm for laser powder bed fusion in aluminium, Ra 12 to 25 µm for FDM in nylon or PLA, and Ra 3 to 6 µm for resin processes. Ra 1.6 µm therefore means machining datum faces, sealing or polishing visible faces, and often a separate inspection step. Once that secondary work is priced, additive is rarely the cheap production route for a simple geometry. It wins when geometry consolidation, a lattice, internal channels, or many variants remove tooling, assembly and inventory cost.

Worked crossover, labelled hypothetical

Take a 120 g aluminium bracket, a five year horizon, and a mould tool that lasts that horizon. Fixed cost is spread over total parts made in five years, which is annual volume times five.

RouteFixed costVariable cost per good part20/yr, 100 parts total2,000/yr, 10,000 parts total20,000/yr, 100,000 parts total
Powder bed fusion plus machining, polish and inspection$8,000$50.00$130.00$50.80$50.08
CNC from billet$3,000$28.00$58.00$28.30$28.03
Injection moulding in glass-filled nylon, redesigned for moulding$60,000$4.20$604.20$10.20$4.80

Check the middle column for moulding: $60,000 divided by 10,000 parts is $6.00, plus $4.20 variable, equals $10.20 per part. Additive in the same column is $8,000 divided by 10,000, which is $0.80, plus $50.00, equals $50.80. The crossover for moulding against additive is $60,000 divided by ($50.00 minus $4.20), which is about 1,310 total parts. At 2,000 per year that point arrives in under one year. Against CNC the crossover is $60,000 divided by ($28.00 minus $4.20), about 2,521 total parts.

At 20 per year additive still loses to CNC on unit cost in this example, at $130.00 against $58.00, because the bracket is machinable. Additive wins at that volume on lead time and on avoiding a redesign, and it wins outright if the geometry cannot be machined or moulded. At 20,000 per year the moulded part is an order of magnitude cheaper, and additive would need a design reason, such as replacing a four part assembly with one printed part and saving $15 of assembly and fasteners.

That table changes if the part cannot be moulded. A thin wall under 0.8 mm, an enclosed void with no ejection path, or a lattice with 1 mm struts may be unmouldable or need expensive slides and cores. Then the real competitor is CNC or casting, and additive can stay viable to higher volumes.

No Yes Yes, consolidation or lattice No Define finished spec: tolerance, Ra, load, environment Can as-built AM meet Ra and tolerance? Add machining or polish: price it, check distortion Check anisotropy, support access, internal channels Cost good parts at 20, 2000, 20000 including scrap Geometry needs AM? AM for production, qualify process Conventional route if crossover passed

Failure modes interviewers probe

First, orientation and anisotropy. In powder bed fusion, Z direction tensile strength and fatigue life are commonly 70 to 85 percent of in-plane values, and support removal leaves witness marks that break Ra on curved faces. I would orient the load path in plane, put critical faces up where possible, and prove it with coupons from the same build, not a datasheet.

Second, tolerance drift across the build plate. Parts at the plate edge run hotter, shrink differently, and can move 0.05 to 0.15 mm on a 120 mm dimension after stress relief. A single first article at plate centre proves nothing. I would place parts across the plate, measure after stress relief and after post-processing, and set a build layout rule.

Third, powder and build failure economics. Reused powder degrades in oxygen pickup and particle size distribution, and one failed build at 2,000 parts per year ties up the machine for 30 to 60 hours. I would track powder reuse count, oxygen level, melt pool or layer monitoring alarms, and scrap rate by build, and include a 5 to 10 percent scrap allowance in the unit cost until data says otherwise.

My decision rule: prototype in additive to validate fit and load, move to CNC for low volume production if the geometry is machinable, move to moulding or casting once cumulative volume passes the crossover and the design can be made mouldable, and keep additive in production only where the geometry itself is the saving. That keeps the answer defensible when finance asks why a printed part costs $50 when a moulded one costs $5.

Curated: · Written: · Reviewed: —

Difficulty: Hard
Q&A-32Walk me through how you would design a pogo-pin ICT fixture for a 200-node PCB, covering probe contact, fault coverage, and repeatability?

The 90-second answer

I start from the test strategy, not the fixture. For a 200-node board I would split coverage between in-circuit test (ICT) for component values and shorts, boundary scan for digital interconnect where available, and a functional test for anything ICT cannot drive, such as a power supply under load. The pogo-pin fixture then only has to prove the nodes it owns, and I can state its coverage honestly instead of claiming 100%.

Three decisions decide whether that fixture survives production: probe contact on every target, a coverage number tied to a fault model, and repeatability proven on a golden board before the first production lot.

Probe contact

Each target pad gets a spring probe, typically a 1.0 to 1.5 mm diameter pogo pin with 2.0 to 3.0 mm of travel and a working compression of about two thirds of travel. If the pin delivers 1.2 N at working compression, a 200-probe fixture needs roughly 240 N of clamp force plus the board support reaction, so I size the press or vacuum actuator for at least 1.5 times that, about 360 N, and check board flexure under it. Flexure is the usual silent killer: a 1.6 mm FR-4 board spanning 150 mm can deflect more than 0.5 mm under probe load, which eats the compression margin on the centre probes.

Layout rules I enforce with the PCB designer: test pads at least 0.9 mm diameter for a 1.0 mm probe, 0.75 mm minimum centre to centre spacing, no solder mask over the pad, and keepout for probe receptacles on the back side. Probes sit as close to the device under test as the layout allows, because a long trace between pad and pin adds series resistance and inductance that corrupts analog measurements. For currents above about 1 A, or resistances below 100 mΩ, I use Kelvin (four-wire) probing so lead and contact resistance do not appear in the reading.

Python
# Coverage check I run before releasing the fixture design
nodes_total = 200
nodes_accessible = 184          # pads reachable by probes or boundary scan
nodes_analog_guarded = 12       # analog nodes needing guarding to isolate
faults_detectable = 171         # shorts, opens, wrong values per fault model
coverage = faults_detectable / nodes_total * 100
print(f"{coverage:.1f}%")       # 85.5%

Coverage, stated as a fault model

Coverage means detected faults divided by modelled faults, not nodes touched divided by nodes on the board. My model counts opens, shorts to adjacent nets, wrong component values, and reversed polarity. In the example above, 184 of 200 nodes are physically accessible, but after guarding and drive limits only 171 faults are detectable, so I report 85.5% and list the 29 undetected faults by reference designator. That list is what the functional test or a manual inspection step has to cover. If a fault cannot be detected by any method, I raise it as a design for testability issue: add a test via, move a probe target, or accept the escape risk in writing with the product owner.

MethodBest atTypical limitWhen I choose it
ICT with pogo pinsComponent values, shorts, opensCannot drive some powered or high-current circuitsHigh volume, stable design, above roughly 10,000 units per year
Flying probeSame fault model, no fixture10 to 30 s per board, probe wearPrototypes, low volume, frequent revisions
Functional testSystem behaviour, firmware interactionFault isolation is poor, debug time is longCoverage gaps left by ICT, end of line verification

Repeatability

A fixture that passes a good board once and fails it on the next insertion is a production stoppage, not a test. I prove repeatability three ways. First, contact resistance on a daisy-chain coupon built into the fixture: I require below 50 mΩ per probe at working compression, measured over 10 insertions, and I trend it weekly because a rising trend means worn springs or contaminated targets. Second, a golden board run: 30 insertions of a known-good board, with zero false failures allowed, and the measured values must stay inside the test limits with margin. Third, a Gage R&R on the critical measurements, for example a 10.0 kΩ resistor measured through the fixture, targeting %GRR below 10% of tolerance for a critical characteristic and below 30% for a non-critical one.

Failure modes I design against: probe marks on pads that later fail conformal coat adhesion, so I keep probe force at the low end of the pin specification and avoid probing gold fingers; bent pins from misaligned board loading, so I add guide pins and a board presence interlock before the press closes; and thermal drift in analog measurements, so I warm up the fixture for 15 minutes and re-zero on the golden board at shift start.

No Yes Board loaded and guided Press closes to working compression Continuity and contact resistance check All probes below 50 mΩ? Stop, clean or replace probes ICT measurements with guarding Golden board limits applied Pass or fault isolation report

The deliverable I hand over is the coverage report with the undetected fault list, the probe map with forces and compression per target, and the golden board data showing 30 clean insertions. If any of those three is missing, the fixture is not ready for production, however well it tested in the lab.

Curated: · Written: · Reviewed: —

Difficulty: Hard
Q&A-33How would you set up a vision station to check a metal bracket for a 1 mm hole and a missing black screw at 30 parts/min, choosing lighting, camera resolution and pass/fail limits?

The 90-second answer

I would size the camera from the smallest feature, then choose lighting for each defect, then set limits from measured good and bad parts. For a 1 mm hole and a missing black screw on a metal bracket at 30 parts/min, that sequence gives a clear answer without guessing.

Assume the bracket is 100 mm wide, the conveyor runs at 0.5 m/s, and I use a 2 MP camera with 1920 pixels across the field. I set the lens so the field of view is 120 mm, which covers the bracket with margin for placement variation.

QuantityCalculationResult
Pixel size at part120 mm / 19200.0625 mm per pixel
Pixels across 1 mm hole1.0 / 0.062516 pixels
Motion blur at 1 ms exposure0.5 m/s x 0.001 s0.5 mm, half the hole diameter
Exposure for blur under 0.1 mm0.1 mm / 0.5 m/s0.2 ms, so use a strobed light

Sixteen pixels across the hole is comfortable. I want at least 5 pixels across the smallest feature to measure it reliably, and I have three times that. The exposure calculation is the part people miss. A normal 1 ms exposure smears the hole edge by 0.5 mm, so the measured diameter drifts with conveyor speed. A strobed LED at 0.1 ms freezes the part and lets me run the camera at full brightness without a long exposure.

Lighting: two defects, two setups

DefectLighting choiceWhat the camera seesWhy not the alternative
1 mm holeBacklight, panel behind the bracketBright disc where the hole is, dark metal around itFront light gives a dark hole on bright metal, but glare from the metal surface moves the edge
Missing black screwBrightfield, diffuse dome light from aboveScrew head and its shadow in the threaded hole, or an empty hole with a bright rimBacklight hides the screw because both screw and bracket block the light

This is the main trade-off in the design. One light cannot serve both defects. Backlight makes the hole easy to measure but makes the screw invisible. Brightfield shows the screw but makes the hole edge depend on surface finish. I would use two lights fired in sequence with one camera, or two cameras if the cycle time does not allow two exposures. At 30 parts/min I have 2 seconds per part, so two strobed exposures 50 ms apart fit easily.

Yes No Part in position Exposure 1: backlight Measure hole diameter Exposure 2: dome light Check screw presence in hole ROI Pass both? Pass Reject and save image

Pass and fail limits

I would write limits in millimetres, not grey values. For the hole, the drawing might say 1.00 mm nominal with a tolerance of plus or minus 0.10 mm. I would accept 0.92 to 1.08 mm in the program, leaving a 0.02 mm guard band inside the drawing limits for measurement error. For the screw, I would define a region of interest around the hole and require the mean brightness in that region to fall in the range measured on parts with a screw fitted.

I set those numbers from data. I run 30 known good brackets and 30 brackets with the screw removed, plus 20 brackets with holes drilled at 0.90, 1.00 and 1.10 mm. I plot the measured hole diameter and the screw region brightness for each group. If the good and bad groups do not overlap, I place the threshold halfway between them. If they overlap, I fix the lighting or the region of interest before I touch the threshold.

Python
# Threshold from seeded samples, checked against Python 3.11
import statistics

good = [0.99, 1.01, 1.00, 0.98, 1.02]  # measured hole diameters, mm
drilled_small = [0.90, 0.91, 0.89, 0.90, 0.92]

threshold = (min(good) + max(drilled_small)) / 2
print(f"Reject below {threshold:.3f} mm")

Proving it works

I would run an attribute agreement check. Take 50 brackets, including 15 with missing screws and 10 with undersize holes, and have the vision system and a manual inspector call each one blind. I want at least 90 percent agreement and zero missed defects on the seeded bad parts. I would also run a daily check part with a known 1 mm hole and a fitted screw. If the measured diameter shifts by more than 0.03 mm, I clean the lens and check the strobe intensity, because LED output falls over time and that shift is the first sign.

The failure modes I watch in production are lens contamination, brackets arriving rotated so the region of interest misses the hole, and operators covering the reject sensor. A mechanical nest or a fiducial mark on the bracket fixes the rotation problem. Logging the measured diameter and brightness for every part, not just pass or fail, makes drift visible a week before it causes escapes.

Curated: · Written: · Reviewed: —

Difficulty: Hard
Q&A-34What does it mean when a hypothesis test on a process change returns p < 0.05, and what do you conclude about yield?

The 90-second answer

A p-value below 0.05 means you reject the null hypothesis at the 5% significance level. The null hypothesis for a process change is that the change made no difference to yield or quality. The alternative is that it did. So p < 0.05 is evidence that the observed difference is unlikely to be chance alone, and you conclude the change had a real effect in the direction observed.

The p-value itself is the probability of seeing a difference at least as large as the one you measured, if the null hypothesis were true. It is not the probability that the null is true, and it is not the size of the improvement. You still report the actual difference and its confidence interval, because a statistically significant gain of 0.2 percentage points may not justify the changeover.

Worked trace

Old process: 184 passes from 200 parts, 92.0%. New process: 190 passes from 200 parts, 95.0%. Difference = 3.0 percentage points.

Pooled proportion p = (184 + 190) / 400 = 0.935

Standard error = sqrt(p(1 - p)(1/200 + 1/200)) = sqrt(0.935 x 0.065 x 0.01) = 0.0247

z = 0.030 / 0.0247 = 1.22, two-sided p = 0.22

QuantityValue
Observed difference+3.0 points
z statistic1.22
p-value (two-sided)0.22
Decision at alpha = 0.05Do not reject the null

Because 0.22 is above 0.05, you do not reject the null. The 3 point gap is consistent with chance variation at this sample size. If the same proportions came from 2,000 parts per group, the standard error would fall by sqrt(10), z would rise to about 3.85, and p would fall below 0.001. Then you would reject the null and conclude the improvement is real.

Python
from statsmodels.stats.proportion import proportions_ztest
import numpy as np

count = np.array([190, 184])  # passes: new, old
nobs = np.array([200, 200])
stat, pval = proportions_ztest(count, nobs, alternative='two-sided')
print(f"z = {stat:.2f}, p = {pval:.3f}")
# z = 1.22, p = 0.223

The one rule to state in the interview

Set alpha before you run the test, usually 0.05. If p < alpha, reject the null and say the change had an effect. If p >= alpha, do not reject the null and say the data do not show an effect. That second wording matters. Failing to reject the null does not prove the change did nothing. It means the sample was too small or the effect too small to distinguish from chance, so you need more parts or a larger effect before you claim an improvement.

Curated: · Written: · Reviewed: —

Difficulty: Medium
Q&A-35Historical logs show temperature, pressure and hold time moved together with yield. How would you fit a regression model for yield and avoid claiming a confounded effect is real?

The 90-second answer

I would not fit the model and report the coefficients until I had checked whether the historical data can separate the effects at all. In a typical injection moulding log, melt temperature, injection pressure and hold time move together because operators adjust them as a set, and ambient humidity or resin lot changes with shift. A regression on that log will assign the yield change to whichever correlated variable happens to fit best, and the coefficient will not survive a setting change.

So I state the response precisely first: first-pass yield per lot, as a proportion, with lot size as the denominator. I centre and scale the process variables, inspect their correlation and variance inflation factors, fit a model with main effects plus the interactions and curvature the physics suggests, check residuals against run order and fitted values, and then treat any apparently large effect from confounded data as a hypothesis to confirm in a randomised experiment where the correlation is broken by design.

Worked example, labelled as hypothetical

Suppose 120 lots of an ABS housing, 200 parts per lot. Predictors are melt temperature (230 to 260 C), injection pressure (60 to 100 bar) and hold time (2 to 6 s). Correlation between temperature and pressure is 0.86. That alone should stop a naive fit.

TermCoefficientSEpVIF
Intercept (at centre)0.910.012<0.001-
Temperature, per 10 C0.0180.0110.114.8
Pressure, per 10 bar0.0210.0100.044.6
Hold time, per 1 s0.0090.0040.031.3
Temperature x Pressure0.0140.0060.022.1

VIF above about 5 means the standard errors are inflated roughly sqrt(VIF) times, here more than double, so temperature and pressure cannot be ranked from this data. The interaction term also matters: at low pressure, raising temperature does little, at high pressure it helps fill before freeze-off. Reporting only main effects would miss that and would suggest a setting that fails in production.

Python
import statsmodels.api as sm
import pandas as pd

df = pd.read_csv("lots.csv")  # yield, n, temp_c, pressure_bar, hold_s, lot_id
for c in ["temp_c", "pressure_bar", "hold_s"]:
    df[c + "_c"] = (df[c] - df[c].mean()) / df[c].std()

df["temp_x_pressure"] = df["temp_c_c"] * df["pressure_bar_c"]
X = sm.add_constant(df[["temp_c_c", "pressure_bar_c", "hold_s_c", "temp_x_pressure"]])
model = sm.WLS(df["yield"], X, weights=df["n"]).fit()
print(model.summary())

Weighted least squares with weights equal to lot size is a reasonable first pass for a proportion. If lots are small or yield is near 0 or 1, I switch to a binomial GLM with a logit link, using successes and failures per lot, because OLS can predict yields above 1 and understates uncertainty at the extremes.

How I avoid being fooled

First, I plot residuals against run order, operator, shift and resin lot. A pattern there means an omitted variable is still in the data. In one real pattern I have seen, residuals were 3 percentage points low on night shift after accounting for the three process variables. That pointed to mould temperature drifting during the shift, which was not logged. Adding shift as a factor absorbed the effect and changed the pressure coefficient by 40 percent.

Second, I check for curvature. Yield against melt temperature is rarely linear across a wide range. Adding a squared term and testing it against pure error from replicated centre points tells me whether the optimum is interior or at a boundary. Without that, a linear model will push temperature to the highest tested value and scrap will rise from degradation.

Third, I validate out of sample, splitting by time rather than randomly, so lots from a later week test the model. A model that predicts within 2 percentage points on held-out lots is usable for setting a window. One that only fits the training lots is overfitted, especially with interactions.

ApproachWhat it estimates wellWhere it fails
One factor at a time on the lineLocal sensitivity at one settingMisses interactions, wastes runs, confounded by drift
Regression on historical logsUses existing data, finds candidate effectsCannot separate correlated settings, vulnerable to omitted variables
Regression plus randomised confirmation DOEBreaks correlation, estimates interactions cleanlyCosts planned runs, needs line time and discipline to randomise

The confirmation step is the decision point. I run a small randomised factorial, for example a 2 by 2 by 2 design on temperature, pressure and hold time with centre points, randomised within blocks of resin lot. If the historical coefficients replicate in sign and size, I trust them for the control plan. If they do not, I discard the historical ranking and use the designed experiment, which is the only data where each factor was varied independently.

I also refuse to extrapolate. If the model was fitted between 230 and 260 C, I do not recommend 275 C because the equation says yield rises. I state the validated window, set alarm limits inside it, and require a new designed experiment before moving outside it. That discipline is what turns a regression exercise into a yield improvement that holds on the next shift.

Curated: · Written: · Reviewed: —

Difficulty: Hard
Q&A-36An oven logs one record per board with board_id, timestamp and zone temperature, expected 180 to 260 C. Walk me through the checks you would run for missing, duplicate and out-of-range records, and what you would do with each?

The 90-second answer

I would run three checks in order on every batch before the data reaches yield or SPC: completeness, uniqueness, then range. Order matters because a duplicate record that is also out of range should count once, as a duplicate, and a missing temperature should never reach the range check. Each check has a fixed disposition, so operators see the same behaviour every shift.

Assume one record per board, with board_id unique per board, a timestamp from the oven PLC, and zone_c in Celsius. Expected range is 180 to 260 C. I keep three outputs: accepted records, quarantined records with a reason code, and counts per reason per shift.

CheckRuleExample failureDisposition
Missingboard_id, ts or zone_c is null40 records in a 1,000 board batch have no zone_cQuarantine, exclude from profile average
DuplicateSame board_id appears twiceBoard B1042 appears at 10:02:11 and 10:02:12Keep first, quarantine second, count it
Out of rangezone_c below 180 or above 260Board B1043 reads 142 CQuarantine, exclude from profile average

Missing data is the simplest case. If zone_c is missing, that board has no oven exposure evidence. I would exclude it from the zone average and from any yield correlation, and I would chart the missing rate. A rate of 4 percent in the example above is high enough to investigate the logger. A rate of 0.1 percent may be a single dropped message. The board itself is not automatically scrap. It goes to the normal traceability review, and the missing record is the reason it is flagged.

Duplicates need one extra decision. I compare the two rows. If ts and zone_c are identical, or within 1 second and 1 C, it is almost certainly a retry from the PLC or the gateway. I keep the first record and drop the second. If the values differ materially, for example 232 C then 248 C 30 seconds later, it may be a re-measure or a board that passed twice. I keep both rows in the quarantine file, keep only the first in the accepted set, and flag the board for review. Dropping the second silently would hide a rework loop.

Python
# Python 3.11, pandas 2.x
import pandas as pd

def validate(df: pd.DataFrame):
    df = df.sort_values(["board_id", "ts"])
    missing = df[df[["board_id", "ts", "zone_c"]].isna().any(axis=1)].copy()
    missing["reason"] = "missing"
    rest = df.drop(missing.index)
    dup_mask = rest.duplicated("board_id", keep="first")
    duplicates = rest[dup_mask].copy()
    duplicates["reason"] = "duplicate"
    rest = rest[~dup_mask]
    oor_mask = ~rest["zone_c"].between(180, 260)
    out_of_range = rest[oor_mask].copy()
    out_of_range["reason"] = "out_of_range"
    accepted = rest[~oor_mask]
    quarantined = pd.concat([missing, duplicates, out_of_range])
    return accepted, quarantined

Out of range is where the disposition differs from missing. A reading of 142 C is a real measurement, so the sensor and the logger worked. The board may have entered early, the door may have opened, or the thermocouple may have drifted. I quarantine the record so it does not pull the zone average down, then I check the neighbouring boards. If B1042 and B1044 both read near 235 C, a single low reading points to that board or that sensor sample. If ten boards in a row read low, the oven itself is suspect and the line should be checked before more boards run.

A worked trace makes the counts auditable. From 1,000 incoming rows: 40 missing, 12 duplicates, 8 out of range. Accepted rows are 940. The duplicate count of 12, or 1.2 percent, is worth a look at the gateway retry settings. The out of range count of 8 is small, so I would list those eight board IDs for quality review rather than stopping the line. If out of range rose to 80 in the next batch, the same rule would trigger a process check, because the rate changed, not because the rule changed.

I would chart accepted, missing, duplicate and out of range counts per batch on the same page as the zone average. When a count moves, the average from that batch is treated as provisional until the cause is known. That keeps data cleaning from masking a process problem.

Curated: · Written: · Reviewed: —

Difficulty: Medium
Q&A-37Your line must close a servo press loop at 1 kHz with jitter under 50 microseconds or parts crack, and the guard interlock must trip in 20 ms: how would you design and test the real-time control?

The 90-second answer

I would split the problem in two. The press loop runs on a dedicated controller with a fixed 1 kHz period, no dynamic allocation, and a measured worst-case execution time. The guard interlock and safe torque off run on a separate safety channel, hardwired or on a certified safety PLC, so a fault in the motion code cannot delay a stop.

Latency is the time from sensor sample to actuator output. Jitter is how much that latency varies from cycle to cycle. For a press, average latency can look fine while a 300 microsecond jitter spike lands on the crack-sensitive part of the stroke. I design to the worst case, not the average, and I prove it with timestamps in the loop.

Latency and jitter budget

Assume one specific board for this example: an STM32H743, a Cortex-M7 variant running at 480 MHz. Other Cortex-M7 parts run at different clocks, so I would read the exact variant and clock tree from its reference manual before using any figure below. Assume a 1 kHz loop, period 1000 microseconds, with a direct encoder input and a fixed EtherCAT frame to the drive. These are hypothetical bench figures for this configuration, to be replaced by measurements on the real hardware:

StageTypicalWorst caseNotes
Encoder capture and timestamp8 us15 usHardware capture, not polled
Control calculation, PID plus feedforward60 us110 usFixed point or single precision, no branches on error paths
Fieldbus or drive command write40 us90 usPreallocated frame, DMA
Drive current loop response80 us150 usVendor specified, verified on bench
Total sample to torque188 us365 usLeaves 635 us margin in the period
Jitter, worst minus best over 10 million cycles42 usTarget under 50 us

If jitter exceeds the target, I do not tune the PID first. I look for preemption, cache misses, and bus retries. Those are the usual sources.

C
// Checked against C11, bare metal loop, no RTOS
// Board assumption: STM32H743 at 480 MHz core clock.
// DWT CYCCNT increments at the core clock on this part, so
// cycles per microsecond = 480. Verify in the reference manual
// for the exact variant and clock configuration in use.
#define CYCLES_PER_US 480

volatile uint32_t cycle_start;
volatile uint32_t jitter_max_us;

void control_isr(void) {
    uint32_t now = dwt_read();              // cycle counter
    uint32_t dt_us = (now - cycle_start) / CYCLES_PER_US;
    if (dt_us > jitter_max_us) jitter_max_us = dt_us;
    cycle_start = now;

    float pos = encoder_read();             // hardware timestamped
    float vel = (pos - prev_pos) * 1000.0f; // fixed dt, no division by measured dt
    float torque = pid_update(setpoint, pos, vel);
    drive_write(torque);                    // preallocated frame
    prev_pos = pos;
    watchdog_kick();                        // only if all stages completed
}

Fixed dt matters. Dividing by a measured dt that itself jitters hides the problem and makes the loop gain vary. The watchdog is kicked at the end, so a missed deadline stops the axis instead of running stale torque. If the clock configuration changes, CYCLES_PER_US must change with it, or every timing figure in the loop is wrong.

yes no Encoder hardware capture Control ISR at 1 kHz PID and feedforward Drive command write Watchdog kick Deadline missed? Safe torque off via safety channel

Design choices that decide determinism

Bare metal with a timer ISR beats a general purpose RTOS task here when the loop is single threaded. An RTOS helps when you have logging, HMI, and recipe handling on the same CPU, but then you need fixed priority scheduling, priority ceiling on shared resources, and no priority inversion on the bus mutex. A standard PLC scan period depends on program size and I/O count and is not a fixed 1 kHz guarantee, so I would not use a PLC alone for this press loop unless the vendor specifies a deterministic task with a period and jitter bound I can test against. A PLC remains appropriate for clamps, sequencing, and the safety channel.

Three rules I enforce. First, no malloc, no file I/O, no printf in the loop. Second, the highest priority interrupt is the control ISR, and every lower priority handler is bounded and audited. Third, communication uses a fixed schedule. EtherCAT distributed clocks or a time triggered frame keep bus delay predictable. A shared CAN bus with retries from other nodes does not.

How I test it before release

I measure, I do not trust the budget table. On the bench I toggle a GPIO at ISR entry and exit and capture both on a logic analyzer for 10 million cycles. I record a histogram of period, execution time, and sample to output delay. Acceptance is worst case jitter under 50 microseconds and zero missed deadlines in a 24 hour soak at full load and temperature.

Then I inject faults. I block the bus, stall a lower priority task, drop encoder pulses, and pull the guard. The motion loop must detect the missed deadline within one period and command safe torque off. The safety channel must trip the interlock in under 20 ms regardless of what the motion CPU is doing, and I verify that with the safety PLC logs, not with the motion code.

I also test the failure that hurts quality quietly. A slow drift in jitter from 20 to 80 microseconds will not trip a watchdog but will show up as increased crack rate and force variation. So I trend jitter_max and force at bottom dead centre per part. When jitter trends up, maintenance checks cabling, drive tuning, and bus load before quality drifts.

The trade-off to state in the interview: a faster loop is not automatically better. Raising the rate to 4 kHz cuts sample delay but leaves less margin for the bus and drive, and it amplifies encoder noise. I pick the slowest rate that meets the force and position error spec with margin, then spend the saved margin on determinism and diagnostics.

Curated: · Written: · Reviewed: —

Difficulty: Hard
Q&A-38Which of SPI, I2C, and UART has no clock line, and what does its receiver use instead to sample each bit?

The 90-second answer

UART. It is the only one of the three with no clock line. SPI and I2C both carry a separate clock, SCK for SPI and SCL for I2C, driven by the controller. UART sends TX and RX only, and the receiver stays in sync from the agreed baud rate and the start bit that opens every byte.

That is the one-step check on a scope. If you see a clock toggling only during a transfer, you are looking at SPI or I2C. If you see an idle-high line, a short low start bit, then data bits at a fixed rate with no clock, you are looking at UART.

BusClock lineSync methodTypical wires
SPIYes, SCKClock edges define samplingMOSI, MISO, SCK, CS
I2CYes, SCLClock edges define sampling, plus ACK bitSCL, SDA
UARTNoBaud rate plus start bit per byteTX, RX

How UART sync works

Both ends agree a baud rate in advance, for example 9600 or 115200 bits per second, and a frame format, usually 8 data bits, no parity, 1 stop bit, written 8N1. The line idles high. To send a byte, the transmitter pulls the line low for one bit time as the start bit, then sends the data bits least significant bit first, then returns the line high for the stop bit. The receiver detects the falling edge of the start bit, waits half a bit time, then samples each following bit at the centre of its bit period. Because both ends count the same bit time, no clock wire is needed for short frames.

The same mechanism explains the common UART fault. If one end is set to 9600 baud and the other to 115200 baud, the receiver samples at the wrong points and produces framing errors or garbled characters. The fix is to match baud, frame format and voltage level, 3.3 V logic against 3.3 V logic or 5 V against 5 V, and to confirm TX on one device lands on RX on the other.

Python
# Python 3, illustrative UART frame at 9600 baud, 8N1
# Bit time = 1 / 9600 = 104.17 microseconds
# Frame for one byte: start(0), D0..D7, stop(1)
baud = 9600
bit_time_us = 1_000_000 / baud  # 104.17 us
print(f"bit time: {bit_time_us:.2f} us")
Line idle high Start bit low for 1 bit time 8 data bits, LSB first Stop bit high for 1 bit time

Why the other two need a clock

SPI shifts one bit per clock edge, so the sensor knows exactly when MOSI and MISO change and when to sample them. I2C does the same on SCL, and the ninth clock pulse carries the ACK or NACK from the addressed device. Remove the clock from either and the receiver cannot tell a data change from a sampling edge. UART avoids that problem because the start bit re-synchronises the receiver at the start of every byte, so drift over one 10-bit frame stays well inside half a bit time at normal crystal tolerances.

Curated: · Written: · Reviewed: —

Difficulty: Easy
Q&A-39A transfer station must clamp 800 N, move 300 mm in 0.4 s, hold ±0.1 mm at the end, and run 2 million cycles a year in oil mist: how do you choose between pneumatic, stepper and servo, and size it?

The 90-second answer

I would not pick one actuator for the whole station. I would split the job by function: pneumatic for the clamp, servo for the transfer, and I would reject an open-loop stepper for this duty. The clamp needs sustained force at zero speed with tolerance for a dirty, oily environment. The transfer needs a controlled profile, repeatable stopping within ±0.1 mm, and proof that it actually reached position on every cycle. A stepper can move the load, but at 2 million cycles a year with no feedback, a missed step becomes a scrap part or a crash that the controller never sees.

State the assumptions first: 12 kg moving mass, 300 mm stroke, 0.4 s move time, 800 N clamp force at 0.6 MPa gauge, 16 h/day, oil mist and vibration, and a hard stop or gripper at the end of stroke. If the mass, cycle time or end position changes, the sizing changes with it.

Sizing the clamp, pneumatic

Force from a cylinder is pressure times piston area, then derated for friction and seal drag. For a 50 mm bore:

A = π × 0.05² / 4 = 1.96 × 10⁻³ m²

F = 0.6 × 10⁶ Pa × 1.96 × 10⁻³ m² = 1,178 N theoretical. Apply a 0.85 efficiency factor and you get about 1,000 N. That clears 800 N with roughly 25% margin, which matters because shop air sags when several valves fire together. A 40 mm bore gives about 640 N after derating and fails. Pneumatics hold force cheaply at rest, tolerate overload by stalling rather than burning out, and a rodless or guided cylinder shrugs off oil mist. The weaknesses are compressibility and end-of-stroke bounce. Air is a spring, so mid-stroke positioning is poor, speed depends on flow controls and supply pressure, and a leaking seal or a pressure drop shows up as a part that was clamped at 500 N and slipped during drilling. I would add a pressure switch on the clamp circuit and a clamp-confirm sensor, not just a valve output signal.

Sizing the transfer, servo

For a triangular velocity profile over 300 mm in 0.4 s, peak velocity is about 1.5 m/s and peak acceleration is about 7.5 m/s². With 12 kg moving mass, inertial force alone is 12 × 7.5 = 90 N. Add guide friction, cable drag and a safety factor, and design for roughly 150 to 200 N of continuous thrust during acceleration, with higher peak for a short period. That is well within a small ball-screw servo axis, but the point is not raw force. The servo gives me a commanded profile, encoder feedback on actual position, following-error alarms, and torque limiting. I can prove each cycle reached the window, and I can log the error trend before it becomes scrap.

A stepper sized for the same move would need torque that falls sharply as speed rises. Its holding torque at standstill looks attractive on a datasheet, but at 1.5 m/s on a screw lead the motor is operating where available torque is a fraction of the holding figure. Add a sticky guide or a heavier fixture and it stalls. Open loop, the controller counts pulses and assumes position. That assumption is the failure mode.

CriterionPneumaticStepper, open loopServo with encoder
Force at restStrong, cheap, stalls safelyHolding torque, but drops with speedStrong, controlled by current limit
PositioningEnd stops only, bounce at speedAssumed from pulse countMeasured, closed loop, ±0.1 mm achievable
Speed controlFlow controls, pressure dependentPulse rate, torque limited at high speedProfiled accel and velocity
Failure detectionNeeds added pressure and position sensorsNone for missed stepsFollowing error, overload, encoder faults
EnvironmentTolerates oil mist, simple sealsElectronics and connectors need protectionNeeds sealed motor and cable routing
Cost at this dutyLowest for clampLow hardware, high scrap riskHighest hardware, lowest undetected scrap

Failure modes I would design against

Pneumatic: seal wear and air leaks raise cycle time and drop clamp force. Detection is a pressure switch set below the minimum acceptable clamp pressure, plus a timed clamp-confirm check. A slow cylinder that still reaches the end sensor is a warning sign, so I would trend stroke time.

Stepper, if a customer insists on it for cost: missed steps under load, resonance at certain speeds, and no alarm. Mitigation is a closed-loop stepper or an encoder on the shaft, a torque margin of at least 2:1 at operating speed rather than at standstill, and a home sensor check each cycle. At that point the cost gap to a servo narrows and the performance gap remains.

Servo: poor tuning causes oscillation or overshoot at the gripper, and a contaminated encoder or loose coupling produces position errors that look like mechanical play. Detection is following-error limits in the drive, a first-article check of stopping accuracy with a dial indicator or laser, and periodic verification that commanded and actual position agree at the end of stroke. Inertia mismatch between motor and load also degrades tuning, so I would keep the load inertia within the drive manufacturer's recommended ratio and use the auto-tune with the real fixture attached.

Yes No Yes No, low speed and low load Define force, stroke, time, accuracy Force at rest only, end stops OK? Pneumatic, size bore with derating Controlled profile or mid-stroke position needed? Servo, size torque and inertia Stepper only with feedback and torque margin

The decision rule I would defend in the interview is simple: use air where force and simplicity matter and position is defined by a hard stop, use a servo where position must be proven every cycle, and treat an open-loop stepper as a positioning device only when a missed step is cheap and detectable by other means. In this station, a missed step is neither.

Curated: · Written: · Reviewed: —

Difficulty: Medium
Q&A-40A stamping press needs its guard opened several times per shift to clear jams. How would you choose between a fixed guard and an interlocked guard, and how would you test lockout/tagout for that task?

The 90-second answer

The frequency of access decides the guard. A fixed guard is right when nobody needs to open it during normal work. An interlocked movable guard is right when the operator must open it several times a shift, as with jam clearing on a press. The interlock stops the machine when the guard opens, but on a press with a flywheel the ram can keep moving after the stop command. So the interlock protects during running, and lockout/tagout protects during the jam clear itself. I would test both, and I would not accept the press back until a try-start proves no motion with the guard open and the locks on.

Choosing between the two guards

PointFixed guardInterlocked movable guard
AccessRemoved only with a tool, for tool change or major maintenanceOpened by hand for jams, loading or inspection
Protection while runningPhysical barrier always in placeBarrier plus a stop signal when opened
Main weaknessOperators defeat it or leave it off if access is routineNeeds correct wiring and, on a press, guard locking if run-down is long
Fit for this pressPoor for jam clearing, because the task needs entry every shiftBetter fit, provided entry for hands in the die still triggers LOTO

A fixed guard on a machine that needs routine entry creates the failure mode you do not want. The operator removes it to clear a jam, then runs without it. An interlocked guard removes that incentive. Opening it drops the cycle, and the press cannot restart until the guard is closed and a deliberate reset is pressed outside the guard area.

The mechanism matters here. A simple interlock sends a stop when the switch opens. It does not lock the guard shut. If the flywheel takes 30 seconds to coast down, the operator can open the guard, the stop is called, and the ram is still moving. That is why the procedure must separate two states. Guard open during a jam, machine stopped, no entry into the die area until LOTO is applied. Guard locking, which holds the guard shut until motion has stopped, is the upgrade if the run-down time is long enough that people are tempted to reach in early.

Testing lockout/tagout for the jam clear

I test the sequence on the actual press, with the operator and the maintenance technician who will use it.

Stop press and open interlocked guard Isolate electrical and pneumatic supplies Apply personal lock and tag to each isolator Dump air and wait for flywheel to stop Block the ram Try-start and try PLC reset Clear jam and remove locks in reverse order

Each energy source gets its own lock point. Electrical isolation at the main disconnect, pneumatic isolation at the lockable valve on the press, and a mechanical block under the ram. Stored energy is the part candidates miss. Air in the counterbalance cylinder and rotation in the flywheel do not disappear when the isolator opens. The test record should state the wait time observed on this machine, for example 45 seconds for the flywheel to reach zero speed, and the air gauge reading at 0 bar after dumping. I check both rather than trusting a generic instruction.

The try-start is the proof. With locks on, I attempt a cycle start, I attempt a reset from the PLC panel, and I close and reopen the guard. Nothing should move. If the press starts on any of those attempts, the isolation is incomplete and the machine stays out of service.

What I record before return to production

I run the press empty for a few cycles with the guard closed, then with parts, and I confirm the interlock stops the cycle on every opening. The machine file holds the risk assessment for the jam clear task, the guard choice and why, the press-specific LOTO sheet listing each isolator and the stored energy wait, and the signed try-start result. If die weight, speed or PLC logic changes later, stopping behaviour changes with it, so the assessment and the test get repeated.

Curated: · Written: · Reviewed: —

Difficulty: Hard
Q&A-41An operator picks small parts from a bin 65 cm away at shoulder height every 20 seconds. How would you explain the shoulder load and redesign the reach?

The 90-second answer

I would explain the load as a moment problem, then move the pick into the primary reach zone and prove the change with a before and after posture score. Shoulder torque rises with the horizontal distance from the shoulder joint to the hand, and it rises again when the arm is raised. A bin at 65 cm and shoulder height forces both conditions on every cycle, so the fix is to bring the bin closer, lower it, and tilt it toward the operator.

Assume a standing bench, light parts under 1 kg, and a pick every 20 seconds for most of the shift. The risk here is repetition under a sustained moment, not a single heavy lift. I would state that assumption, because a heavy lift would need a different calculation.

Why the current layout loads the shoulder

For a light part, the shoulder moment is roughly the weight of the arm plus the part multiplied by the horizontal distance from the shoulder to the centre of mass of the hand. At 65 cm reach the arm is near full extension, so that distance is large. Raising the hand to shoulder height also removes the support of the upper arm against the torso and puts the deltoid in a shortened, weaker position. Repeat that 180 times per hour and fatigue accumulates even though each pick feels light.

A simple worked estimate makes the point. Take arm plus part at about 4 kg, weight about 39 N. At 65 cm horizontal reach the moment is about 39 x 0.65 = 25 Nm. At 35 cm reach it is about 39 x 0.35 = 14 Nm. That is a 44 percent reduction from reach alone, before any change in height. The numbers are approximate, but the direction and size are what matter for the redesign decision.

Redesign and test

I would move the bin to 30 to 40 cm from the operator, below shoulder height, and tilt it so the operator looks down at the parts instead of reaching into a deep box. The bench height stays near elbow height so the forearm stays near horizontal. Parts used every cycle stay in that zone. Parts used once per shift can stay farther away.

I would film 20 cycles before and 20 cycles after, at the same takt, with the same operator. I would score the worst sustained posture with RULA, which rates posture, force and repetition from 1 to 7. I would also check cycle time and mis-picks, because a closer bin that causes dropped parts is not a win.

MeasureBeforeAfterTarget
Reach to bin65 cm35 cmFrequent picks under 40 cm
Bin heightShoulder heightElbow height, tiltedBelow shoulder
RULA, worst posture633 or below
Cycle time20 s20 sMust hold takt
Mis-picks per 100 cycles31Must not rise

RULA 6 means investigate and change soon. RULA 3 means the posture is acceptable for sustained work with monitoring. If RULA falls but cycle time rises past takt, I would look for a feeder or a smaller bin that keeps parts presented without a search.

Yes No Film 20 cycles, score RULA Move and tilt bin into primary zone Film 20 cycles at same takt RULA down and takt held? Lock bin position in standard work

Trade-off to name

Moving the bin closer crowds the bench. A tilted bin at 35 cm can block the fixture or the finished parts tray, and a small bin needs refilling more often. I would size the bin for at least an hour of parts and place the refill point behind the primary zone, so refilling does not become a new repetitive reach. I would also check a shorter operator, because a bin set for a tall operator can force trunk bending for a shorter one. An adjustable bench or a raised platform for the bin solves that without moving the bin back out.

The common failure is fixing height only. Raising or lowering the bench while the bin stays at 65 cm leaves the moment almost unchanged. Reach has to change first, height second.

Curated: · Written: · Reviewed: —

Difficulty: Medium
Q&A-42How do you use takt time and station cycle times to balance a line and remove the bottleneck?

The 90-second answer

Takt time is the pace the customer is buying at. Station cycle time is the pace each station can actually work at. A line is balanced when no station cycle time exceeds takt, and the bottleneck is simply the station with the longest cycle time. If that station is over takt, the whole line runs at its pace no matter how fast the other stations are.

Takt = available production time / customer demand in that time

Take a shift with 480 minutes gross, less 30 minutes for breaks and planned stops, so 450 minutes net. If the customer needs 900 units per shift:

450 x 60 / 900 = 30 seconds per unit

That 30 seconds is the maximum any station may take. Now time each station over a representative run, not a single best cycle:

StationWorkCycle time (s)vs takt (30 s)
1Load and clamp25OK
2Drill and tap32Bottleneck, 2 s over
3Deburr and inspect28OK
4Unload and pack24OK

Total work content is 109 seconds. Theoretical minimum stations = 109 / 30 = 3.63, so 4 stations is the right count. But the line will not make 900. Its real cycle is the slowest station, 32 seconds, so output is 450 x 60 / 32 = 843 units per shift. Stations 1, 3 and 4 will starve or build small queues waiting for station 2.

Removing the bottleneck

Move a 5 second element from station 2 to station 4, for example a post-drill inspection that does not need the drill fixture. Station 2 falls from 32 to 27 seconds. Station 4 rises from 24 to 29 seconds. Stations 1 and 3 are unchanged.

StationBefore (s)Transfer (s)After (s)vs takt (30 s)
125025OK
232-527OK
328028OK
424+529OK

Every station is now under 30 seconds, the line cycle drops to 29 seconds, and output rises to 450 x 60 / 29 = 931 units, which covers demand with a small margin. Balance efficiency is 109 / (4 x 29) = 94 percent, up from 109 / (4 x 32) = 85 percent.

If the work cannot be split, the alternatives are a parallel station at the bottleneck, overtime, or accepting a lower output. A parallel drill station halves its effective cycle to about 16 seconds per unit, but adds equipment and floor space, so rebalancing is tried first.

What breaks the calculation in practice

Averages hide variation. A station averaging 28 seconds with a standard deviation of 4 seconds will exceed 30 seconds often, and queues will grow between stations. I check the distribution, not just the mean, and leave headroom below takt where variation is high. I also recalculate takt when demand changes. If demand rises to 1,000 per shift, takt falls to 27 seconds and the rebalanced line at 29 seconds becomes the bottleneck again. Downtime matters the same way: if net time falls because of unplanned stops, takt tightens even if demand is flat. That is why I state the net time assumption explicitly and re-time after any tool, fixture or layout change, rather than trusting the original study.

Curated: · Written: · Reviewed: —

Difficulty: Medium
Q&A-43A line must ship 400 good housings per 7.5 hour shift, the CNC mill is the slowest station and 10% of its output loops back as rework: how do you use theory of constraints to find the true constraint and raise throughput?

The 90-second answer

I would not start by speeding up the slowest-looking machine. I would find the resource that limits good units out of the line, protect it from starvation and rework, and subordinate everything else to its pace. That is the constraint in theory of constraints terms, and it moves when you fix it.

Assume a 7.5 hour shift, 400 good housings required, so takt is 67.5 seconds per good unit. I measure each station the same way: cycle time, availability over the last four weeks, first pass yield, and any rework that returns to an earlier station. The headline cycle time alone misleads, because a fast station with poor yield or frequent stops can be the real limit.

StationCycle (s)AvailabilityFirst pass yieldGood units/hour
Cut and deburr220.940.99152
CNC mill400.880.9071 before rework load
Wash and inspect280.960.98121
Assembly and test350.930.9793

CNC looks like the constraint at 40 seconds, and on effective good output it still is. The catch is rework. About 10% of CNC output fails inspection and loops back to CNC for a second pass. That second pass consumes the same scarce minutes.

Work it through for one hour. CNC can attempt 3600 / 40 = 90 cycles. At 0.88 availability that is 79.2 attempts. At 0.90 first pass yield, 71.3 pass first time and 7.9 need rework. Rework takes the same 40 seconds, so it eats 5.3 minutes of the hour. Net good output from CNC is therefore about 63 per hour, not 71, and not 90. Over 7.5 hours that is roughly 473 good units before downstream losses, which leaves almost no margin against the 400 target once assembly scrap and a single 20 minute stop are included. The line is constrained, but the constraint is CNC plus its rework loop, not CNC cycle time in isolation.

How I would raise throughput

First, protect the drum. CNC sets the drum rate at about 63 good units per hour. I would schedule releases to CNC at that rate, not at the rate of the fastest upstream station. Releasing at 152 per hour from cut and deburr only builds WIP in front of CNC, hides defects longer, and makes the queue look like a capacity problem.

Second, put a time buffer in front of CNC, not inventory everywhere. A buffer of 45 minutes of good work, about 47 units at the drum rate, covers a typical upstream stop without starving CNC. I size it from the longest common upstream stoppage, not from a rule of thumb. If cut and deburr stops for 30 minutes twice a shift, a 20 unit buffer will starve CNC repeatedly.

Third, subordinate upstream stations. Cut and deburr should work to the buffer level: produce when the buffer is below target, stop when it is full. That sounds counterintuitive on a utilisation report, because cut and deburr will show idle time. That idle time is the point. Running it flat out adds no good output and adds handling damage and queue time.

Customer demand 400 per shift Drum: CNC at 63 good per hour Buffer before CNC 45 minutes Subordinate cut and deburr to buffer CNC mill Inspect and rework loop back to CNC Wash, assembly and test Good units out

Fourth, attack the rework loop before buying speed. Cutting rework from 10% to 4% at the same cycle time changes the arithmetic directly. Attempts stay at 79.2 per hour, first pass good rises to 76.0, rework load falls to 3.2 units or 2.1 minutes per hour, and net good output rises to about 73 per hour. That is a 16% gain with no new machine, and it also reduces downstream test load. I would Pareto the CNC failures by defect code and check tool wear, fixture location and the inspection gauge before touching feed rates, because a gauge that rejects good parts creates rework load that no cycle time cut can fix.

Only after that would I consider elevating CNC: a second spindle, overlapping load and unload, or moving wash and inspect offline if it blocks CNC. Each option gets compared on good units per hour at CNC, not on cycle time. Overlapping load that cuts cycle from 40 to 34 seconds but drops availability from 0.88 to 0.80 because of more faults gives 3600 / 34 x 0.80 x 0.90 = 76 before rework, which may still win, but only the effective figure tells you.

Failure modes I would watch

The constraint moves. Once rework falls, assembly at 93 good per hour is still clear, but if CNC rises above about 85 good per hour, test or a downstream station becomes the new limit and the buffer needs to move. I would remeasure weekly for the first month.

A second failure mode is a hidden constraint: inspection labour, a shared operator, or the rework bench. If the same operator must load CNC and run test, the constraint is the operator, not the mill. I check that by logging CNC idle time with cause codes. Starved, blocked, down, and waiting for operator are separate codes. If CNC is idle waiting for an operator 12% of the time, adding spindle speed does nothing.

A third is measuring OEE on CNC alone. OEE of 78% on CNC can hide the rework loop if rework cycles are counted as productive. I would report good units per scheduled hour at the constraint, buffer level at shift start and end, and rework hours per 100 good units. Those three numbers show whether throughput actually moved.

The decision I would defend in the room: fix rework and buffer discipline first, subordinate upstream, then spend capital only on the measured constraint. Speeding a non-constraint station, or speeding CNC while rework still loops back through it, spends money and leaves good output almost unchanged.

Curated: · Written: · Reviewed: —

Difficulty: Hard
Q&A-44You make 20,000 brackets a year in-house at 92% yield and a supplier quotes $6.80 each: how do you build the unit cost and decide make versus buy, including tooling?

The 90-second answer

I would cost a good part, not a started part, and I would put tooling and yield in the same equation as the supplier price. Unit cost to make is (material + labour + machine overhead per start) divided by yield, plus tooling amortisation and tool maintenance per good part. Unit cost to buy is the quoted price plus freight, incoming inspection, inventory carrying and the cost of supplier escapes. Then I compare the two at the actual annual volume and find the break-even volume, because make usually carries fixed cost and buy usually carries higher variable cost.

Take a hypothetical bracket at 20,000 good parts a year. In-house: material $1.90, direct labour $1.40 and machine overhead $0.70 per start, so $4.00 per start. At 92% first-pass yield that is $4.00 / 0.92 = $4.35 per good part. A $18,000 die amortised over 3 years at 20,000 a year adds $0.30 per good part, and $1,200 a year of die maintenance adds $0.06. Total make cost is about $4.71 per good part.

The supplier quotes $6.80. Add $0.25 freight, $0.10 incoming inspection and handling, and $0.15 for extra safety stock and carrying cost, and the landed buy cost is about $7.30. On those figures make wins by roughly $2.59 per part at 20,000 a year.

Break-even, not just a single volume

Fixed make cost per year here is $6,000 of tool amortisation plus $1,200 maintenance, or $7,200. Variable cost per good part is $4.35 to make and $7.30 to buy. Break-even volume is:

Python
fixed_make_per_year = 7200
var_make = 4.00 / 0.92   # per good part
var_buy = 6.80 + 0.25 + 0.10 + 0.15
breakeven = fixed_make_per_year / (var_buy - var_make)
print(round(breakeven))  # 2441

Below about 2,400 good parts a year, buy wins on cost alone. Above it, make wins, and the gap widens with volume. That is why I never quote a unit cost without stating the volume and the tool life behind it. If the die only lasts 150,000 hits and needs a $4,000 refurbishment, that refurbishment belongs in the amortisation, not in a later surprise.

ItemMakeBuy
Variable per good part$4.35$7.30
Tooling per good part at 20k/yr$0.36$0
Total at 20k/yr$4.71$7.30
Total at 2k/yr$7.95$7.30
Main riskYield fall, die wear, capacityPrice rise, MOQ, lead time, quality escape

Yield is the lever people underprice

Yield enters as a divisor, so a small fall hurts more than it looks. At 92% yield the $4.00 start cost becomes $4.35 per good part. At 80% it becomes $5.00. At 70% it becomes $5.71, and scrap also consumes machine time, so overhead per good part rises too if the bottleneck is saturated. I would check yield by operation, not as one plant average, because a 98% yield on a cheap operation and an 85% yield on the bottleneck have very different cost effects. I would also separate scrap, rework and downgrade. Rework that loops back through the bottleneck costs cycle time again, which a simple scrap percentage hides.

Annual good volume Variable cost per start Divide by yield by operation Add tooling amortisation and maintenance Make cost per good part Landed buy cost Compare at volume and break-even

What decides it beyond the spreadsheet

I would test three sensitivities before recommending make: yield down 10 points, volume down by half, and supplier price up 10% at renewal. If make only wins in the base case, it is fragile. I would also ask who owns the tooling, whether the supplier will hold a die for us, what the minimum order quantity does to cash and obsolescence, and how long a quality escape takes to detect. A supplier at $6.80 with a 12-week lead time and a 5% escape rate can cost more than the quote once sorting, line stops and expedited freight are counted. Conversely, making in-house ties up capital and engineering time for a part that may be redesigned next year, which is exactly the situation where buy, or buy with a licensed tool, is the right call even at a higher unit price.

Curated: · Written: · Reviewed: —

Difficulty: Medium
Q&A-45You have a month of scrap and rework records for a housing line with eight defect codes. How would you build a Pareto chart from them and use it to pick the first improvement project?

The 90-second answer

I would stratify the scrap and rework records by defect code, sort descending, and plot count against cumulative percentage. The first project is the smallest set of codes that accounts for most of the loss, but I would check that ranking against cost before committing. A high-count cosmetic defect can lose to a low-count defect that scraps a finished assembly or creates a field failure.

Assume one month on a housing line, 1,240 recorded defects, codes applied consistently at final inspection. Hypothetical figures for the worked example:

RankDefect codeCount% of totalCumulative %Rework min/unit
1Burrs at parting line41233.233.24
2Bore diameter out of tolerance29824.057.312
3Surface scratches18615.072.33
4Missing insert12410.082.38
5Porosity967.790.020
6Crack584.794.70 (scrap)
7Contamination383.197.76
8Other282.3100.05

Top four codes reach 82.3% of counts. That is the classic Pareto cut. The chart itself is bars for count in rank order and a line for cumulative percentage, with an 80% reference line. The shape matters more than hitting exactly 80%. If the top two already reach 75%, the project list is shorter.

Cost changes the order

Count alone misleads when scrap value differs. Multiply count by unit loss. Say burrs cost $0.40 in rework labour, bore rework $1.20, scratches $0.30, missing insert $0.80, porosity $2.00, and a crack scraps a $14 assembly. Cost Pareto becomes: crack $812, bore $358, burrs $165, porosity $192, missing insert $99, scratches $56. Crack jumps from rank 6 by count to rank 1 by cost. I would run both Paretos side by side and pick the first project from the cost Pareto, using the count Pareto to size the defect rate.

A short script makes the ranking reproducible and avoids spreadsheet sorting errors:

Python
import pandas as pd

df = pd.read_csv("scrap_rework.csv")  # columns: defect_code, count, cost_per_unit
total = df["count"].sum()
df = df.sort_values("count", ascending=False)
df["pct"] = df["count"] / total * 100
df["cum_pct"] = df["pct"].cumsum()
df["cost"] = df["count"] * df["cost_per_unit"]
print(df[["defect_code", "count", "pct", "cum_pct", "cost"]].round(1))

What breaks the analysis

Inconsistent coding is the usual failure. If one shift logs "burr" and another logs "flash" for the same condition, the bar splits and the true cause drops in rank. I would audit 50 recent records against photos before charting.

Rework loops also distort counts. A part reworked twice can generate two records for one unit. I would deduplicate by serial number and count first occurrence for the Pareto, then track repeat rework separately as a process signal.

Mixing machines, cavities, or shifts hides a localised cause. If all bore defects come from cavity 3, the Pareto still points at bore diameter, but the improvement project should be cavity-specific. I would stratify the top code by machine and shift before writing the project charter.

Finally, a Pareto of defect codes is not a Pareto of causes. Burrs may come from die wear, excessive clamp force, or both. The chart prioritises where to look. A fishbone or 5 Whys on the top code, plus a check of when the rate changed, turns the bar into a fixable cause. I would set the project target in the same units as the chart, for example burrs from 412 to under 150 per month within six weeks, and re-chart weekly to confirm the bar actually shrinks rather than shifting to the next code."

Curated: · Written: · Reviewed: —

Difficulty: Medium
Q&A-46What is containment in an 8D investigation, and why must it be completed before you start on root cause?

The 90-second answer

Containment is D3 in 8D. It is the interim action that protects the customer while root cause work is still running. In practice that means stop shipment on the affected lot, quarantine suspect stock, identify every shipped unit in the suspect window, and sort, rework or replace them. Root cause comes after because you cannot leave suspect product moving while you investigate.

That ordering is the rule candidates are expected to know. D0 is the emergency response, D1 sets up the team, D2 defines the problem, and D3 puts containment in place. Only then does D4 start on root cause. If containment is skipped, the escape grows during the investigation.

Containment is also a correction, not a corrective action. A correction fixes the units in hand, for example sorting 3,400 housings in the warehouse and finding 61 with a missing O-ring. A corrective action fixes the process that made them, for example removing an operator bypass on the O-ring presence sensor. CAPA records both, but closing on the sort alone would leave the line able to make the same defect tomorrow.

8D stepWhat it doesExample output
D0 Emergency responseStop the bleedStop-ship notice, customer notification
D1 TeamAssign ownershipQuality lead with authority to hold shipment
D2 Problem descriptionDefine the defect measurablyMissing O-ring, lots L-118 to L-121, 4 failures in 200 at customer
D3 Interim containmentProtect the customer nowQuarantine, 100% sort, replacement stock from verified lots
D4 Root causeFind why it was made and why it escapedFeeder jam plus sensor bypass and leak test in sample mode

Worked trace

Suppose 12,000 housings shipped in lots L-118 to L-121 and 3,400 remain in the warehouse. Containment covers all 12,000, not only the units the customer tested. The warehouse units are quarantined and sorted. The shipped units are listed by serial number for the customer to sort or return. No unit leaves quarantine until it passes the sort method, and the sort method itself is checked against known good and known bad samples. If the sort finds zero defects, the method is suspect before the customer report is doubted.

Customer reports escape D0 Stop shipment D3 Quarantine and sort suspect lots Customer sorts or returns shipped units D4 Root cause investigation D5 to D8 Permanent fix and effectiveness check

The effectiveness check belongs to closure, not to containment. I would require zero missing O-rings in the next 10,000 units and no sensor bypass events in the PLC log over 30 days before the CAPA closes. Containment bought time and protected the customer. The permanent fix and that check are what close the 8D.

Curated: · Written: · Reviewed: —

Difficulty: Easy
Q&A-47A critical supplier's connector lot arrives with 800 ppm field failures but passes your AQL 1.0 incoming sample: how do you redesign incoming inspection and run the SCAR without stopping the line?

The 90-second answer

I would not tighten the AQL and call it fixed. For a 5,000 lot at General Inspection Level II, ANSI/ASQ Z1.4 gives code letter L, so n=200. At AQL 1.0 that is Ac=5, Re=6. That plan accepts a 1% defective lot about 98% of the time and a 4% lot about 19% of the time. It was never designed to catch 800 ppm. I would keep the line running under containment, move that supplier and part to tightened inspection with release tied to process data, and open a SCAR that forces the supplier to prove process capability, not just sort the bad lot.

Assumptions I state first: the connector is not safety critical, the failure is detectable at incoming or at first article test, and we have traceability from lot to finished units. If any of those fail, containment changes.

Incoming inspection redesign

Risk tier the part by field impact, detectability downstream, and supplier history. For this part I would require supplier PPAP with Cpk at least 1.67 on critical dimensions and a process FMEA, a certificate of conformance tied to lot and raw test data rather than a generic statement, and our own incoming check focused on the failure mode, not a general cosmetic sample.

Detection arithmetic shows why sampling alone cannot carry 800 ppm. Probability of finding at least one defective in the sample is 1 minus (1 minus p) to the power n:

True defect rateSample nProbability of finding at least one defective
0.08% (800 ppm)20014.8%
0.5%20063.3%
1.0%20086.6%
0.08% (800 ppm)1,00055.1%

Even n=1,000 misses the lot almost half the time. So I would add a 100% automated electrical test at incoming if the test is under 2 seconds per unit, or a variables sample with a guard band if it is not. Dock to stock only after 10 consecutive lots under 50 ppm, no SCAR open, and Cpk sustained above 1.33 on the critical characteristic. One lot above 200 ppm or any field escape returns the supplier to tightened inspection and 100% screening at supplier cost.

No Yes Yes No No Yes Lot arrives with CoC and test data Data complete and lot traceable? Quarantine, notify supplier, no dock to stock Tier: critical, new, or prior escape? Tightened sample plus 100% automated test Normal sample, skip lot if qualified Pass and PPM within limit? Quarantine, SCAR, containment of stock and WIP Release, update supplier scorecard

SCAR and 8D discipline

I would issue the SCAR within 24 hours with a containment deadline of 48 hours. Containment covers our warehouse, WIP, finished goods, and units already shipped, identified by lot and date code. Sorting by the supplier is acceptable only with a defined method, a trained operator check, and a reinspection sample to prove the sort worked. A sort with no effectiveness check is how escapes repeat.

The 8D must separate containment from correction. Interim containment is sorting or 100% test. Permanent correction is a process change at the supplier, such as a fixture change, a poka yoke on insertion force, or a revised test limit, with before and after data. I would require evidence in three forms: root cause verified by a test that reproduces the failure, corrective action implemented on the process not just on paper, and effectiveness checked over the next 3 lots or 30 days, whichever gives more units. Closure needs a Cpk study on at least 30 pieces from the corrected process and a review of their FMEA and control plan changes.

Escalation is contractual. First SCAR: corrective action plan in 5 business days, 8D in 15. Repeat escape within 6 months: source inspection, reduced allocation, and a quality audit. Second repeat: dual sourcing or exit. I would track supplier PPM, on time delivery, SCAR closure time, and repeat rate on one scorecard reviewed monthly with purchasing and engineering, not by quality alone.

The failure mode I watch for is a supplier that passes our sample by shipping its best lots and hiding process drift. That is why I tie release to process data and Cpk trends, not to a single passing sample. If the supplier cannot provide raw test data per lot, I treat that as a process that is not in control, regardless of the sample result.

Curated: · Written: · Reviewed: —

Difficulty: Hard
Q&A-48Walk me through how you would run engineering change control and IQ, OQ and PQ validation before releasing a new production line?

The 90-second answer

I would not release the line on a successful first build. I would put the line under formal change control, then prove three separate things in order: the equipment is installed correctly (IQ), it operates correctly across its stated ranges (OQ), and the process repeatedly makes acceptable product under normal production conditions (PQ). IQ without OQ proves paperwork. OQ without PQ proves the machine can work on a good day. PQ is the release gate.

Assume a new consumer electronics assembly line at a contract manufacturer, qualified to ISO 9001 and the customer's quality agreement, not a medical device line under FDA process validation. The logic is the same, but the documentation depth and customer notification rules differ.

Change control first

Every change to drawings, BOM, firmware, tooling, process parameters, supplier, or work instructions gets an Engineering Change Request with a risk assessment before implementation. The ECR states the reason, affected part numbers and serial or lot range, whether old stock can be used or must be scrapped, and what validation is required. A like-for-like replacement of a worn conveyor belt may need only IQ. A change to adhesive, torque, reflow profile, or a critical supplier needs OQ and usually PQ. No change goes to production on a verbal approval.

PhaseQuestion it answersEvidence I fileExit criterion
IQIs it installed as specified?P&ID and layout vs as-built, utilities, calibration certs, software versions, safety checksAll critical items verified, deviations closed or risk accepted in writing
OQDoes it work across the operating range?Challenge runs at min/max speed, temperature, torque, worst-case product, alarm and interlock testsMeets spec at extremes, not only at nominal
PQDoes it make good product, repeatedly, with trained operators?3 consecutive production lots at nominal conditions, full inspection and functional test dataYield, Cpk and defect rate meet pre-set acceptance limits in all 3 lots

IQ, OQ, PQ in practice

IQ is a checklist executed by engineering and quality together. I verify model and serial numbers, electrical supply and grounding, air pressure, network and MES connections, guarding and e-stop function, and that every gauge and sensor is calibrated and traceable. Software is locked to a version. If the PLC program differs from the approved revision, IQ fails even if the line runs.

OQ is deliberate stress. For a dispensing and curing station I would run at low and high dispense volume, low and high cure temperature, maximum and minimum conveyor speed, and with the smallest and largest housing tolerance. I test what happens when a sensor is blocked, a door opens mid-cycle, and power drops for 10 seconds. Each run has a pre-written protocol and acceptance limit. I do not tune parameters during OQ to make a run pass and then claim the original range was validated.

PQ uses production operators, production materials, and the released work instruction. No engineering tuning between lots. A typical acceptance set for this line: 3 lots of 300 units, first-pass yield at least 98% per lot, no critical defects, and Cpk at least 1.33 on the 12.00 mm bore and the torque joint. If lot 2 fails, the count restarts after a documented investigation. Running 3 lots and averaging them to hide one bad lot is not validation.

Low risk Parameter or range change New process or critical change Engineering change proposed Risk assessment and ECR Validation required? IQ only IQ plus OQ IQ plus OQ plus PQ Quality and customer approval Release to production with effective date

Failure modes I watch for

The common one is a PQ that passes because engineering ran it. Operators, shift pattern, and material lots must match normal production, or the result does not transfer. The second is an OQ that only tests nominal conditions, so a seasonal temperature swing pushes cure out of spec in month three. The third is change control that tracks the drawing but not the PLC code or the test fixture program. I put software, fixture programs, and test limits under the same revision system as the drawing.

If PQ fails, I stop. I do not ship on a deviation to meet a launch date. The line stays in validation status, the failure is investigated under CAPA, and the affected lots are quarantined until disposition. That discipline is what an interviewer is really asking about.

Curated: · Written: · Reviewed: —

Difficulty: Medium
Q&A-49Walk me through how you would test ESD and cleanroom controls on an SMT line where boards fail intermittently and particle counts spike after shift change?

The 90-second answer

I would test ESD and cleanroom controls separately, then correlate both to the failures. ESD damage can be latent, so a board can pass ICT and fail later. Particle contamination shows up in solder and coating defects, but only if sampling is at board level during work. I would use ANSI/ESD S20.20 for the ESD programme, ANSI/ESD S1.1 for wrist straps, ANSI/ESD S3.1 for ionizer test method, and ISO 14644-1 for particle class. Limits that come from the site plan, not the standard, I would label as site limits.

For ESD, the chain is person, floor, and common ground. A wrist strap system is specified around 1 MΩ nominal under S1.1. Many site plans set the bench tester pass band at 0.75 to 1.25 MΩ. I would quote the site band and the S1.1 nominal, not present the band as an S20.20 requirement. Mats and worksurfaces are dissipative, surface resistance below 1×10⁹ Ω measured with a 4.5 kg probe, bonded to a common ground point. Footwear and floor are tested as a system, person plus shoes plus floor below 1×10⁸ Ω. Ionizers are tested by the S3.1 decay method. A common site acceptance criterion is decay from ±1000 V to ±100 V in under 35 s with offset within ±50 V, but I would confirm that criterion in the ionizer specification and site plan before using it as a pass limit.

For the room, ISO 14644-1 gives the same particle limit table for at-rest and in-operation states, but the state must be declared. ISO Class 7 allows 352,000 particles/m³ at ≥0.5 µm. Class 8 allows 3,520,000/m³. I would qualify in operation, with operators gowned and boards moving, because an empty room can pass while the process fails. Differential pressure of 5 to 20 Pa and 40 to 60% RH are typical site HVAC ranges for electronics, not ISO 14644-1 limits. I would treat them as site operating ranges and alarm on them, since low humidity raises charge generation.

ControlTest methodFrequencyAcceptance basis
Wrist strapBench tester, worn, cord flexedEach shift startS1.1 nominal 1 MΩ, site tester band often 0.75 to 1.25 MΩ
Mat and worksurfaceSurface resistance, 10 lb probeWeekly<1×10⁹ Ω, re-bond or replace if higher
Footwear and floorPerson, shoes, floor systemMonthly<1×10⁸ Ω, clean floor or replace footwear
IonizerS3.1 decay and offsetMonthly, after emitter cleaningSite spec, commonly <35 s decay and ±50 V offset
Particle countCounter at board levelContinuous or per shiftISO 14644-1 Class 7: ≤352,000/m³ at ≥0.5 µm in operation
Pressure and humidityCalibrated sensors, loggedContinuousSite HVAC range, commonly 5 to 20 Pa and 40 to 60% RH

Trade-offs I would state plainly

Continuous particle monitoring gives a time stamp for a shift-change spike, but a single counter at one bench misses a plume at another. Periodic manual sampling covers more locations, yet it can miss a 10 minute door-open event. I would use continuous monitoring at the highest exposure point, plus a manual traverse during loading for qualification. For wrist straps, a daily tester is cheap and catches opens, but it misses a strap that fails only when the operator reaches. Continuous wrist strap monitoring catches that, at higher cost and with more false alarms from dry skin. I would keep daily testing for all benches and add continuous monitoring only at the bench with repeated escapes. For charge control, dissipative materials and humidity control reduce generation, while an ionizer neutralises charge already present. An ionizer is not a substitute for grounding. If offset is high, the ionizer can charge a board, so I would clean emitters and retest before adding a second unit.

A control is not enough when the test passes in the wrong state. At-rest particle counts pass but in-operation counts fail, so the room is not controlled for production. Wrist strap tests pass at the bench but fail when flexed, so the cord is the fault. Humidity holds at 45% at the sensor but reads 36% at the bench in winter, so sensor placement is the fault. In each case I would fix placement or state first, not tighten the limit.

How I would run the investigation

I would pull failures by time, operator, and bench, then trace one shift.

TimeObservationLikely mechanism
06:00RH 38% at bench, strap passesLow humidity raises charge generation
06:20Particle count 410,000/m³ at ≥0.5 µmDoor held open during material move
07:10Ionizer offset +180 VContaminated emitter, net charge on board
09:40Two intermittent opens at ICTLatent ESD damage or particle contamination

Fix order: restore humidity alarm at the site lower limit, requalify particles in operation with the airlock in use, clean ionizer emitters and retest decay. Quarantine boards built since the last passing set of tests.

One bench Shift change Dry weather Intermittent ICT failures Pattern by bench, shift or time Test strap, mat, ground bond Check gowning, doors, particle count Check RH and ionizer offset Quarantine boards since last passing test Retest after fix, trend 5 shifts

I would close with five shifts of strap logs, surface resistance, ionizer decay, in-operation particle counts, and humidity, linked to ICT first-pass yield by bench. If yield recovers after humidity and ionizer fixes while particle counts stay high, I would keep the cleanroom action open, because coating defects may appear downstream.

Curated: · Written: · Reviewed: —

Difficulty: Hard
Q&A-50What do the five phases of DMAIC stand for, and what concrete output does each phase produce on a yield problem?

The 90-second answer

DMAIC stands for Define, Measure, Analyze, Improve, Control. It is a project structure for reducing defects or raising yield, not a set of statistical tools. Each phase ends with a deliverable that the next phase needs, and skipping a deliverable is where projects stall.

Take a concrete case I would use in an interview: a PCB assembly line at 92% first-pass yield, with bridging and insufficient solder as the top defects. Define writes the problem in measurable terms, for example raise first-pass yield from 92% to 98% on the SMT line within 8 weeks without adding headcount. Measure quantifies the baseline and proves the measurement system can see the defect. Analyze finds which input variables drive the defect. Improve tests a change on a small scale. Control locks the change into standard work and monitoring so yield does not drift back.

PhaseQuestion it answersConcrete outputTypical tools
DefineWhat problem, for whom, by when?Project charter, CTQ definition, scope in and outVoice of customer, SIPOC, Pareto of defect codes
MeasureHow bad is it now, and can we trust the data?Baseline yield and DPMO, validated measurement systemProcess map, Gage R&R, control chart, DPMO calculation
AnalyzeWhat causes the defect?Ranked root causes with data behind eachFishbone, 5 Whys, DOE, regression, hypothesis test
ImproveDoes the fix work and by how much?Tested change with before and after yieldDOE, pilot run, error proofing, capability study
ControlHow do we hold the gain?Updated control plan, reaction plan, training recordSPC chart, audits, standard work, PFMEA update

Measure, with real figures

DPMO makes yield comparable across products with different numbers of defect opportunities. The formula is defects divided by units times opportunities per unit, multiplied by 1,000,000.

Python
# Python 3, checked against the DPMO definition above
def dpmo(defects, units, opportunities_per_unit):
    return defects / (units * opportunities_per_unit) * 1_000_000

# Hypothetical worked example: 10,000 boards, 3 solder defect
# opportunities counted per board, 800 defects found at AOI
print(dpmo(800, 10_000, 3))  # 26666.7 DPMO

That example gives 26,667 DPMO. First-pass yield of 92% on the same line is a different number because it counts a board as failed if it has one or more defects, while DPMO counts each defect opportunity. I would report both and state which definition the target uses, because mixing them inflates or hides progress. Before trusting either number I would check the AOI program with a Gage R&R or an attribute agreement study, since a gauge that misses bridging half the time makes the baseline worthless.

Analyze and Improve in this case

The Pareto from Measure points at bridging on fine-pitch parts. Analyze then tests the suspected inputs, paste volume, stencil aperture, and reflow peak, in a small factorial DOE rather than changing one at a time. That separates the effect of paste volume from reflow peak and shows whether they interact. Improve runs the winning settings on a pilot lot, checks first-pass yield and capability on the affected joints, and only then rolls out. A change that lifts yield in the pilot but widens variation on the control chart is not an improvement yet.

Control

Control updates the control plan with the new settings, the sampling frequency, and a reaction plan that names who stops the line and what they check. The AOI defect rate goes on a p-chart with limits set from the improved process, not from the old one. I would also update the PFMEA so the failure mode carries the new detection control. Without that step the gain depends on the people who ran the pilot, and it fades when shifts change.

drift or new defect Define: charter and CTQ Measure: baseline and MSA Analyze: root cause with DOE Improve: pilot and verify Control: SPC and control plan

The loop back from Control to Define matters. A sustained shift on the p-chart is a new problem statement, not a reason to widen the limits until the chart looks calm.

Curated: · Written: · Reviewed: —

Difficulty: Easy
Q&A-51A servo axis overshoots 18% and oscillates after you raise the position gain to cut following error: how do you test stability, gain and step response before you release it to production?

The 90-second answer

I would not tune by ear. I lock the axis to a known load, run a small step with the loop in the mode production will use, and read three numbers from the logged trace: overshoot, settling time, and whether the response decays or grows. Then I repeat at low and high gain and at both ends of travel, because a loop that is stable at mid-stroke with no load can oscillate at full extension with a fixture attached.

Assume a servo axis, 1 kHz position loop, encoder feedback, and a 5 mm step commanded in position mode. I log commanded position, actual position, velocity, following error and drive current at the loop rate, not at the HMI refresh rate. A 100 ms HMI trace will hide a 12 Hz oscillation.

TestWhat I recordRelease criterion (example spec)What a fail tells me
5 mm step, production payloadOvershoot, 2% settling time, steady-state errorOvershoot under 10%, settle under 250 ms, error under 0.02 mmOvershoot over 20% with ringing points to gain too high or derivative action too low for the inertia
5 mm step, payload plus 20%Same, plus peak currentNo sustained oscillation, current under 85% of limitSaturation and integral windup, the axis overshoots because the integrator kept winding while the drive was current-limited
Gain sweep, 0.5x to 2.0x production gainOscillation frequency and amplitude at each gainAt least 6 dB gain margin and 45 degrees phase margin from the frequency response, or no limit cycle at 1.5x gainLimit cycle at low gain points to backlash or stiction, not to proportional gain
Reversal test, plus 5 mm then minus 5 mmLost motion on reversalLost motion under 0.03 mmBacklash or encoder coupling slip, which no gain change will fix

Reading the trace

A stable second-order response decays. If each peak is larger than the last, the loop is unstable regardless of how fast it first reaches target. If peaks decay but slowly, it is stable with poor damping. That distinction decides the fix. Raising proportional gain cuts following error in a ramp, roughly error equals velocity divided by velocity loop gain, but it also pushes the crossover frequency toward the first mechanical resonance. On a ball screw axis that resonance often sits between 20 and 60 Hz depending on screw length and mounting. Once crossover approaches it, phase drops fast and the axis rings at the resonance frequency, not at the step frequency.

I check the spectrum of the error signal after the step. A sharp peak at a fixed frequency across different step sizes is mechanical resonance or a structural mode. A peak that moves with gain is the loop itself. The first case needs a notch filter, lower bandwidth, or a stiffer mount. The second needs gain or phase lead changes.

Python
# Python 3.11, checked against a 1 kHz logged trace
import numpy as np

def step_metrics(t, y, target, step_start_idx):
    y0 = y[step_start_idx]
    amp = target - y0
    seg = y[step_start_idx:] - y0
    overshoot_pct = 100 * (seg.max() - amp) / amp if amp else 0.0
    band = 0.02 * amp
    settled = np.where(np.abs(seg - amp) > band)[0]
    settle_ms = 1000 * t[step_start_idx + settled[-1]] if len(settled) else 0.0
    # Count sign changes of detrended error to flag sustained ringing
    err = seg - amp
    crossings = int(np.sum(np.diff(np.sign(err)) != 0))
    return overshoot_pct, settle_ms, crossings

I run that on every step, not just the first. A trace that settles in 180 ms on the first cycle and 600 ms on the tenth, with rising current, usually means heating, a loosening coupling, or a drive derating. The loop did not change. The plant did.

No Yes No Yes Fix payload and travel limits Log at loop rate, run 5 mm step Peaks decay? Cut gain, check saturation and backlash Measure overshoot and settling Repeat at 0.5x, 1.5x gain and both travel ends Margins and repeatability pass? Release with logged limits in control plan

Failure modes I look for before release

Integral windup after a large move or a blocked axis. The symptom is a long overshoot only after saturation. The fix is anti-windup clamping and a velocity limit, tested by commanding a move into a hard stop in simulation or with the drive disabled, never by crashing the production axis.

Encoder quantization at low speed. With a coarse encoder the loop hunts around target, a limit cycle of one or two counts. Raising gain makes it worse. I check counts per millimetre and the size of the hunt band against the tolerance. If the hunt band is 0.04 mm on a plus or minus 0.05 mm tolerance, the loop cannot hold the part even if the average error is zero.

Gain scheduling errors. Many drives use different gains for coarse and fine positioning, or for different payloads. I test the exact payload range the cell will see, including an empty gripper and a full gripper, because inertia can change by a factor of two on a small axis.

I record the accepted gain, the measured overshoot and settling time, and the oscillation frequency if any, in the control plan with the payload and travel position stated. A gain value without those conditions is not a setting another shift can reproduce.

Curated: · Written: · Reviewed: —

Difficulty: Hard
Q&A-52A 4-20 mA pressure sensor sampled at 1 kHz shows ±0.8% noise from a nearby VFD. How would you choose between an analog RC filter before the ADC and a digital filter after it, and set the cutoff for a 10 Hz pressure signal?

The 90-second answer

I would use both, for different jobs. The analog RC filter sits before the ADC and stops high frequency noise from aliasing into the measurement band. The digital filter sits after the ADC and cleans up what remains, with a cutoff I can change in software. If I had to pick only one, I would keep the analog stage, because no digital filter can recover a signal that has already aliased.

Assume a 4-20 mA transmitter, 250 ohm shunt giving 1-5 V, 12-bit ADC sampling at 1 kHz, and a pump pressure that changes meaningfully at up to about 10 Hz. The VFD switching noise and 50 Hz hum sit well above 10 Hz. Sampling at 1 kHz gives a Nyquist frequency of 500 Hz, so noise below 500 Hz is recorded faithfully and noise above it folds back into the 0-500 Hz band. A 600 Hz component, for example, appears as 400 Hz after sampling. A digital filter set to 15 Hz would remove that folded component, but it would also remove any real 400 Hz content, and the folded noise is indistinguishable from signal once sampled.

The analog filter prevents that fold. A first order RC low pass has fc = 1/(2πRC). With R = 6.8 kΩ and C = 0.94 µF, fc is about 25 Hz. At 10 Hz the gain is 0.93, so the pressure signal passes with less than 1 dB loss. At 50 Hz the gain is 0.45, about -7 dB. At 1 kHz the gain is about 0.025, about -32 dB. That is enough to keep VFD noise from dominating the ADC, while the time constant of about 6 ms adds little lag to a 10 Hz signal.

The digital stage then handles the residual noise inside the band. A moving average or a 2nd order Butterworth at 15 Hz, applied to the 1 kHz samples, reduces the remaining ±0.8% fluctuation to a level suitable for control and logging. Its cost is group delay, roughly 20 to 30 ms for that cutoff, which matters if the same reading drives an alarm. I would keep the alarm threshold on a lightly filtered path and use the more heavily filtered path for the trend and the control loop.

ApproachStrengthWeaknessBest use here
Analog RC at 25 Hz before ADCPrevents aliasing, simple, no softwareFixed cutoff, component tolerance shifts fc, adds lagMandatory first stage at the input card
Digital filter at 15 Hz after ADCAdjustable, sharper rolloff, repeatableCannot undo aliasing, adds group delaySmoothing for control, logging and display
Digital filter alone, no analog stageFlexible, cheap to changeVFD noise above 500 Hz folds into band and looks like signalAcceptable only if the sensor and cable are already quiet
4-20 mA transmitter 250 ohm shunt RC anti-alias 25 Hz ADC 1 kHz Digital filter 15 Hz Control and historian
Python
import math
R, C = 6800, 0.94e-6
fc = 1 / (2 * math.pi * R * C)
print(f"fc = {fc:.1f} Hz")
for f in (10, 50, 1000):
    gain = 1 / math.sqrt(1 + (f / fc) ** 2)
    print(f, f"{gain:.3f}", f"{20*math.log10(gain):.1f} dB")

That gives fc = 24.9 Hz, gain 0.928 at 10 Hz, 0.446 at 50 Hz and 0.025 at 1 kHz. I would verify it on the bench by injecting 4, 12 and 20 mA from a loop calibrator, recording the standard deviation at each point, then applying a pressure step and timing how long the filtered output takes to reach 90% of the final value. If the step response is slower than the process allows, I raise fc and accept more residual noise, rather than lowering the digital cutoff and hiding a real change.

Curated: · Written: · Reviewed: —

Difficulty: Hard
Q&A-53A packaging axis must repeat to ±0.1 mm over 200 mm and restart after power loss without homing. How would you choose between incremental and absolute motor encoders and test the choice?

The 90-second answer

For that axis I would pick an absolute motor encoder, then prove it with a repeatability test at the load. An incremental encoder counts pulses from a reference index each time power returns, so the drive must home the axis before it knows where it is. An absolute encoder stores the shaft position in the encoder or drive, so after a power loss the drive reads the stored value and can resume without a homing move. That matters here because homing on a packaging axis can push product or require an operator to clear the cell.

Both types measure the motor shaft, not the load. The controller converts shaft angle to linear position through the screw lead. If the screw has backlash or the coupling flexes, neither encoder sees it. At ±0.1 mm over 200 mm that error is usually small enough, but I would still measure at the carriage rather than trust the encoder display.

Resolution check

Assume a 5 mm lead ball screw and a 1024 pulse per revolution encoder with quadrature decoding by 4.

ItemCalculationResult
Counts per revolution1024 x 44096 counts
Linear distance per count5 mm / 40960.0012 mm
Counts over 200 mm stroke200 / 5 x 4096163,840 counts

Resolution is about 80 times finer than the ±0.1 mm tolerance, so pulse count does not decide this choice. Accuracy of the encoder disc, mounting eccentricity and the mechanics decide it. A higher resolution encoder would not fix a loose coupling.

Comparison

FeatureIncrementalAbsolute
Position after power lossLost, homing requiredRetained, no homing move
HardwareEncoder plus index sensorEncoder with position memory, battery or energy harvesting for multiturn
Cost and wiringLower, simplerHigher, battery or capacitor maintenance on some models
RiskHoming move can cause a crash if the axis is not clearStored position can be wrong if the shaft was moved by hand while power was off

I would specify a multiturn absolute encoder with a battery-free backup where available, and write the restart procedure to check for manual movement before resuming automatic cycling.

Test I would run

Mount a dial indicator or laser scale on the carriage, zero it at a datum, then command the same target position 20 times from the same direction at production speed and load. Record the indicator reading each time. Then repeat from the opposite direction to expose backlash. Finally, stop the drive, remove power for 2 minutes, restore power and check that the displayed position matches the indicator without homing.

Example results, in micrometres from datum, for a passing axis:

RunFrom left (µm)From right (µm)
11238
21541
31036
41439
51340

Spread from one direction is 5 µm, well inside ±100 µm. The offset between directions is about 26 µm, which is the reversal error from backlash and servo following error. Total error stays inside ±50 µm, so the axis passes with margin. If the spread from one direction were large, I would check encoder mounting and cable noise. If only the direction offset were large, I would check the nut preload and coupling, because changing encoder type would not help.

I would reject the absolute encoder only if the power-off check failed or if the measured spread exceeded half the tolerance after the mechanics were checked. In that case the next step is a linear scale on the carriage, which measures the load directly, rather than a more expensive motor encoder.

Curated: · Written: · Reviewed: —

Difficulty: Medium
Q&A-54How do you test conveyor and material handling synchronization on an automated line before release?

The 90-second answer

Synchronization means every moving element shares one reference for position and one handshake for permission to move. On most automated lines that reference is a master encoder on the main conveyor shaft, and the permission is a PLC interlock: the upstream conveyor indexes only when the downstream station reports ready and a part-present sensor confirms the pocket is empty.

I test it in three passes. First, a dry run with no product at 25%, 50% and 100% of rated speed, checking that the pitch between parts stays constant. Second, a loaded run at full rate, checking for collisions, gaps and double feeds at the transfer point. Third, a fault run, where I block the downstream sensor and confirm the upstream drive stops instead of pushing parts into a jam.

How the sync works

A typical transfer looks like this:

Master encoder on conveyor shaft PLC high-speed counter Photoeye at transfer point PLC handshake logic Downstream ready signal Index upstream conveyor Release filler or gripper

The encoder gives position, not just speed. A VFD alone can hold 0.50 m/s, but belt slip or a load change will drift the actual part position away from the filler timing. With the encoder, the PLC counts pulses per part pitch and fires the filler at a fixed count, so a small speed change does not move the firing point.

The handshake is the second half. In Structured Text, the logic I expect to see is:

PASCAL
(* ST, checked on a 10 ms PLC scan *)
PartAtTransfer := Photoeye AND (EncoderCount MOD PulsesPerPitch < 20);
CanIndex := DownstreamReady AND NOT JamFault AND NOT PartAtTransfer;
IF CanIndex THEN
    IndexPulse := TRUE;
ELSE
    IndexPulse := FALSE;
END_IF;

If DownstreamReady drops, IndexPulse drops in the same scan. No part is released into a station that cannot accept it.

Worked trace at full rate

Assume a pitch of 200 mm and a conveyor speed of 0.50 m/s. That gives 2.5 parts per second, or 150 parts per minute. The filler cycle must therefore complete in under 400 ms.

Time (ms)Encoder countPhotoeyeDownstream readyPLC action
00OFFTRUEWait
120300ONTRUEPart detected at transfer
160400ONTRUEFire filler
320800OFFTRUEPocket clear, allow next index
4001000OFFFALSEHold, do not index
5201000OFFTRUEResume index

The hold at 400 ms is the test that matters. A line that only runs when everything is ready has not proven synchronization. It has to prove it stops cleanly when the downstream station is not ready, then resumes without a pitch error.

What I measure and what fails

I record pitch variation over 500 consecutive parts at full rate. On a well tuned line I expect pitch within plus or minus 2 mm of the 200 mm target, with no trend. A growing trend points to belt slip or encoder coupling slip. Random scatter points to photoeye bounce from vibration or a dirty lens, which shows up as occasional double triggers.

Two failure modes come up often. First, PLC scan lag. At 150 parts per minute, a 10 ms scan is 2.5% of the cycle, which is acceptable. At 600 parts per minute the same scan is 10% of the cycle and the handshake arrives late, so parts arrive before the filler is ready. That is when the design needs a hardware trigger or a motion controller input, not a faster PLC program. Second, accumulation pressure. If the upstream conveyor keeps running while downstream is blocked, parts compress at the transfer and the photoeye stays ON. The interlock above prevents that by tying the index to NOT PartAtTransfer.

I sign off only when the loaded run holds pitch for a full shift pattern, the blocked-sensor test stops the line without a jam, and the resume test shows the first part after restart lands within the same pitch tolerance. That covers speed, position and permission, which is what synchronization actually means on the floor.

Curated: · Written: · Reviewed: —

Difficulty: Medium
Q&A-55You must make 12,000 L/month of a heat-sensitive adhesive, demand varies plus or minus 40% week to week, and a batch reactor gives 92% yield in 6 h cycles while a continuous line promises 97% but needs 72 h to clear a grade change: how do you choose and size it?

The 90-second answer

I would not choose on yield alone. I would size both options against peak weekly demand, campaign length between grade changes, and the cost of one bad batch versus three days of off specification continuous output. On these figures, 12,000 L per month with plus or minus 40% weekly swings and a 72 h clear on a grade change, I would start with batch and move to continuous only if I could lock campaigns of at least 10 to 14 days and prove inline detection with automatic divert.

Assumptions I would state first: one grade dominates, shelf life is 90 days, the reactor is 500 L working volume, and the continuous line is rated at 25 L per hour at steady state. If shelf life were 14 days, the inventory argument changes.

Worked sizing, on a consistent basis

Batch: 6 h reaction plus 2 h charge, discharge and clean is an 8 h cycle. That is 3 batches per day, 1,500 L gross per day. At 92% yield that is 1,380 L good per day, or 41,400 L good in a 30 day month at full utilisation. I need 400 L good per day on average and 560 L good per day at peak, so one reactor runs at about 29% utilisation on average.

Continuous: 25 L per hour is 600 L per day gross. At 97% yield that is 582 L good per day, or 17,460 L good per month. That covers the 560 L peak by only 22 L per day, with no margin for downtime, cleaning or a slow startup.

To deliver exactly 12,000 L good per month, the feed required is:

OptionFeed neededYield lossGood output
Batch at 92%12,000 / 0.92 = 13,043 L1,043 L12,000 L
Continuous at 97%12,000 / 0.97 = 12,371 L371 L12,000 L
Difference672 L less feed672 L savedSame

A grade change on continuous clears 25 L/h for 72 h, which is 1,800 L of throughput lost or reprocessed. One changeover per month therefore wipes out the 672 L yield saving and leaves a net loss of 1,128 L. Break-even for one changeover per month is 1,800 / (1/0.92 - 1/0.97) = about 32,200 L good per month. At 60,000 L per month with one changeover, continuous saves about 3,354 L of feed against 1,800 L lost and wins on material alone.

Python
# checked against the figures above, Python 3.12
good = 12_000
batch_feed = good / 0.92
cont_feed = good / 0.97
saving = batch_feed - cont_feed
purge = 25 * 72
print(round(batch_feed), round(cont_feed), round(saving), purge)
# 13043 12371 672 1800

Failure modes that decide it

Batch fails visibly. A temperature excursion ruins one 500 L batch, the batch record shows it, and the next batch starts clean. The risk is a common cause across batches, such as a drifting temperature probe, which I would catch with an independent probe and a batch trend chart.

Continuous fails quietly. Fouling on a heat transfer surface raises the required jacket temperature slowly. The controller compensates, conversion drifts, and viscosity moves out of specification over a shift before a lab result returns. With a heat sensitive adhesive that drift can also narrow the margin on exotherm. I would require inline viscosity and temperature at two points, a tracer study to prove residence time behaviour, and automatic divert to waste when either signal leaves limits for more than one residence time. Without that detection, 97% is a steady state number that hides a long tail of off specification material.

Startup and shutdown are a second risk. Material at the start and end of a campaign after a 72 h clear rarely meets specification. I would measure that transition volume by tracer and assay, not assume it equals the purge volume.

FactorBatch, 500 LContinuous, 25 L/h
Good capacity per month41,400 L17,460 L
Utilisation at 12,000 L/month29%69%
Loss per grade change2 h clean, one batch at risk72 h clear, 1,800 L throughput
Lot traceabilityOne batch equals one lotResidence time smears lots over hours
Deviation containmentOne batch, 500 LUp to 72 h of output until detected
No Yes No Yes Weekly demand forecast Campaign length at least 10 days? Batch reactor Inline viscosity and temp with auto-divert proven? Continuous line Trend conversion and fouling factor

What I would do next

I would run a two week demand trace against batch scheduling to confirm one reactor holds peak weeks without overtime, then trial continuous for one full campaign including a grade change and measure actual transition scrap, fouling rate and divert frequency. If transition scrap exceeds 1,200 L or fouling forces a clean before 10 days, I stay with batch and use spare capacity for maintenance and a second grade. If the trial holds, I would keep batch for low volume grades and run continuous only for the dominant grade. That hybrid matches the process to the demand profile instead of forcing one mode to cover every week.

Curated: · Written: · Reviewed: —

Difficulty: Hard
Q&A-56Your pilot line bonds housings in a small oven at 80°C for 20 minutes, but production will load five times as many parts per batch: how do you scale the cure and prove the transfer before release?

The 90-second answer

Do not copy the 20 minutes. Copy the cure the part actually received in the pilot. In a small load the whole part reaches 80°C quickly and soaks for most of the 20 minutes. In a large load the surface reaches 80°C while the bond line is still cold, and the oven also recovers more slowly after loading. If production runs the same timer, the centre is under-cured even though the oven display looks correct. I would instrument the bond line, find the time the core reaches temperature plus the soak the pilot proved, and set production time from that, then prove it with peel or shear tests on parts from the coldest position in the load.

Assume the pilot load is 20 housings, production is 100, same oven, same adhesive, same 80°C setpoint. The mechanism is heat transfer into a loaded fixture, not adhesive chemistry changing.

Why the timer fails at scale

Heat reaches the bond line by conduction through the housing and fixture. A larger load adds thermal mass, blocks airflow between parts, and drops oven temperature when the door opens. The pilot trace and a production trace make the point. Figures below are a worked example from thermocouple trials, labelled as such.

LoadTime for bond line to reach 75°CSoak above 75°C in a 20 min cyclePeel result
20 parts, pilot4 min16 minPass, 8.2 N/mm
100 parts, production, same timer13 min7 minFail on 30% of parts, 4.1 N/mm
100 parts, extended cycle13 min16 min at 29 min totalPass, 8.0 N/mm

The adhesive needs roughly 15 minutes above 75°C in this example. The production load on the pilot timer gives it 7 minutes. Extending the cycle to 29 minutes restores the soak without raising setpoint, which would risk degrading the housing or the adhesive at the surface.

Python
# Python 3.11, worked example using the table above
setpoint_c = 80
threshold_c = 75
time_to_threshold_min = 13  # 100-part load
required_soak_min = 15
cycle_min = time_to_threshold_min + required_soak_min
print(f"Production cycle: {cycle_min} min at {setpoint_c} C setpoint")
# Production cycle: 28 min at 80 C setpoint

Add one minute of margin for door opening and load variation, so 29 minutes, and confirm the margin with trials at minimum and maximum load. That is the trade-off against the alternative of raising setpoint to 95°C to shorten the cycle. Higher setpoint cures the surface faster but narrows the window, risks yellowing or softening the housing, and makes the coldest part harder to predict. Time extension keeps the proven temperature and moves only the variable that scale changed.

How I would prove the transfer

No Yes Thermocouple at bond line, coldest position Run min and max production loads Set cycle from time to 75 C plus soak Peel test parts from coldest and hottest positions All positions pass with margin? Adjust load spacing or cycle, repeat Lock recipe and control plan

Place thermocouples on the bond line at the centre of the load and at the edge, because the centre is usually coldest. Run the smallest and largest loads you will use in production. Record the trace for each run, not just the oven display. Then test peel strength on parts pulled from the coldest position, since those parts decide release. If the coldest position passes and the hottest position shows no degradation, the window is real.

Lock the result in the control plan: load count and spacing, setpoint, cycle time, and a periodic thermocouple check after any change to fixture, housing material, or load pattern. Add a reaction rule for the first production weeks, such as peel testing the first and last batch of each shift and segregating parts if a batch fails. That catches a blocked airflow path or a fixture change before a full shift of under-cured parts ships.

The transfer risk here is not that the adhesive changed. It is that the part stopped receiving the cure the pilot gave it. Measure the cure at the bond line, set time from that measurement, and the scale-up holds.

Curated: · Written: · Reviewed: —

Difficulty: Medium
Q&A-57Walk me through how you would score severity, occurrence and detection in a PFMEA and use the risk priority number to decide which failure modes to act on first?

The 90-second answer

For each process step I list what can go wrong, what the customer or downstream step sees, and what causes it. Then I score three things from 1 to 10. Severity (S) rates how bad the effect is if it reaches the customer, with 10 reserved for a safety or regulatory failure with no warning. Occurrence (O) rates how likely the cause is, based on process history, not opinion. Detection (D) rates how likely the current controls catch the cause or the failure before shipment, with 1 meaning almost certain detection and 10 meaning no control exists. The classic risk priority number is RPN = S x O x D, so the range is 1 to 1,000. I sort by RPN to start the conversation, then I override the sort where severity is high, because a 9 or 10 cannot be traded away by a low occurrence score.

Worked scoring

Take a housing assembly with a torque-controlled fastener, an O-ring, and a printed label.

Failure modeSODRPNWhy those scores
Fastener under-torqued, loosens in service943108Field failure, possible injury. Torque tool with interlock, but audit sample only.
O-ring omitted, leak at customer853120Leak fails the product function. Manual fit, vision check at 95% proven.
Label misprinted, wrong revision38248Confusion and rework, no safety effect. Frequent on changeover, barcode scan catches most.

The O-ring ranks first on RPN, and the fastener is close behind. Both get actions before the label, even though the label occurs most often. That is the point of the multiplication. It stops a team from chasing only the frequent, visible defect.

Where RPN misleads

RPN has a known flaw that shows up in the same table. A mode scored 9 x 2 x 6 also gives 108, exactly the same as the under-torqued fastener at 9 x 4 x 3. The risks are not equal. The first has poor detection and could ship undetected, the second has a more likely cause but a better check. Equal RPNs hide that difference, and the scales are ordinal, so multiplying them treats a move from 2 to 4 as if it were the same size as a move from 8 to 10. A fixed cutoff such as act only above 100 or 125 makes it worse, because a severity 10 mode at 10 x 1 x 5 = 50 would fall below the cutoff.

That is why AIAG and VDA, in the 2019 FMEA Handbook, replaced the single RPN threshold with Action Priority. AP still uses S, O and D, but reads them through lookup tables to give High, Medium or Low. A high severity with moderate occurrence and weak detection lands in High even if the arithmetic product looks modest.

ApproachHow priority is setStrengthWeakness
Classic RPNS x O x D, sorted descending, often with a thresholdSimple, familiar, easy to trendEqual products hide different risks, ordinal maths, arbitrary cutoff
AIAG-VDA Action PriorityS, O, D entered in AP tablesKeeps severity dominant, no false precisionLess granular ranking inside one AP band, needs the handbook tables

In practice I report both. I keep RPN for trending a single mode over time after an action, and I use AP, with a severity gate, to decide what the team works on first. Any S of 9 or 10 gets an action regardless of the product.

Scoring discipline and failure modes

Occurrence should come from data where you have it. If a cause ran at 2,000 ppm before a poka-yoke and 50 ppm after, that supports a drop in O, and I record the evidence in the PFMEA so a later auditor can see it. Detection is scored on the control as it runs today, not the control you plan to add. A final visual inspection that catches 80% of a defect is not D = 2. Teams inflate detection to lower RPN, and they confuse a control that prevents the cause with one that detects the result. Prevention lowers O. Detection lowers D. Mixing them double counts the same fix.

After an action I rescore only the factor the action changes. A torque interlock that stops the tool cycling when torque is out of range lowers O, because the cause cannot produce a bad part. A 100% vision check lowers D. If neither the process nor the control changed, the score does not change, however much the team wants the RPN to fall before a customer audit.

Curated: · Written: · Reviewed: —

Difficulty: Medium
Q&A-58What does poka-yoke mean in assembly, and which type makes a mistake physically impossible?

The 90-second answer

Poka-yoke is error-proofing at the workstation. The goal is to stop a defect from being made, or to stop it at that station before the part moves on, instead of relying on the operator to remember a step or catch it at final inspection.

The type that makes a mistake physically impossible is the contact method. A warning method only signals that something is wrong. The operator can still complete the wrong assembly after the warning.

Contact versus warning

Take a connector that can be plugged in backwards. With a contact method, I would change the geometry so the reversed plug will not enter. A common design is an asymmetric housing with a keyway on one side and a chamfered corner, matched by a key on the plug. Rotated 180 degrees, the key hits the housing wall and insertion stops. The operator feels the block immediately and turns the plug around.

With a warning method, the same station might have a light or buzzer that sounds if the connector is reversed. That still leaves the part in the fixture and leaves the decision to the operator. Under time pressure, a warning is easy to ignore or bypass. A contact method removes the choice.

MethodHow it worksExampleLimit
ContactGeometry blocks the wrong actionKeyed connector housing, asymmetric nest for a bracketNeeds a part or fixture change
Fixed-valueCounts parts or features before releaseCount 12 pins present, count 2 latch clicksSensor needs cleaning and checks
Motion-stepChecks the sequence or stroke was completedPress must reach 8 mm stroke before retractingDoes not catch a wrong part with the same stroke
WarningSignals a problem but allows the cycle to finishTower lamp, buzzer, screen messageDepends on operator response

For a bought-in standard connector that cannot be redesigned, I would apply the contact principle to the fixture. The nest would only accept the cable in one orientation, with a locating pin that blocks the press cycle if the cable is reversed. The principle stays the same. The fixture, rather than the part, carries the key.

No Yes Operator presents plug Keyway allows entry? Plug cannot seat, operator turns it around Plug seats fully Part released to next station

How I would prove it works

I would run a deliberate error trial before release. Operators, including a new starter, attempt to fit the plug reversed and partially seated. The target is zero wrong assemblies completed. I would also check the force needed to force a reversed plug. If that force is low enough to damage the housing, the key is too weak and needs a stronger block.

The main failure mode is wear. After repeated use, a worn keyway can start to allow a forced fit. The control plan should include a periodic go and no-go gauge check on the socket, with a defined replacement limit. A second failure mode is bypassing. If a sensor or interlock causes frequent stops, operators may tape it or add a jumper. Logging every bypass in the PLC and reviewing the count per shift shows whether the design is causing the problem.

In short, contact poka-yoke prevents the error by design. Warning poka-yoke only reports it.

Curated: · Written: · Reviewed: —

Difficulty: Easy
Q&A-59At 60 parts/min with a 0.2 mm scratch and a 0.5 mm dent to catch, when would you keep manual visual inspection and when would you move to AOI, and how would you prove the choice?

The 90-second answer

I would start from the defect that must not escape, its size and contrast, and the time available per part. Manual visual inspection wins when volume is low, defects are varied or cosmetic, surfaces are reflective or textured, and the definition changes often. AOI wins when takt leaves about 1 second per part, the defect is repeatable and geometrically defined, and escape cost is high. At 60 parts/min a human cannot inspect a housing properly in line. I would either move inspection offline with several inspectors, which adds handling and fatigue risk, or install AOI and prove it with seeded defects and an attribute agreement study on a known good and known bad set.

What decides it in practice

Human vision is good at pattern recognition and poor at sustained vigilance. I would not assume a fixed fall-off time. I would measure detection rate by hour of shift in the trial, because lighting, part mix and break pattern change the result. A 0.2 mm scratch on brushed aluminium is a different problem from a 0.5 mm dent on matte ABS. The first needs controlled angle lighting and high resolution. The second a human will usually catch at low rate.

AOI is consistent but literal. It measures pixels, edges and colour thresholds. It will repeat the same decision 100,000 times, including the same mistake on a new defect type it was never programmed to see. It also generates false calls when surface finish, oil film or fixture variation moves the image outside the programmed window.

FactorManual visualAOI
Best defectVaried, cosmetic, low contrast, new typesDefined size, shape or colour, repeatable location
RateAbout 4 s per part in our trial method, rotate plus two lighting angles0.6 s per part in our trial setup, two views in parallel
ConsistencyOperator to operator variation, drift within a shiftStable if lighting, fixture and program are controlled
False callsMeasured in trial, not assumedMeasured in trial, often higher on reflective parts
ChangeoverRetrain and update work instructionNew program, lighting check and revalidation
EvidenceAttribute agreement study, kappaSame study plus image archive for every reject

Worked check at 60 parts/min

Assume a housing, 0.2 mm scratch and 0.5 mm dent as critical defects, 7.5 h shift, 27,000 parts. Using the same 4 s method from the table, a trained inspector covers 15 parts/min. That means four inspectors in parallel just to keep up, before breaks and cover for absence. The weak point is detection in the last hour of a shift, which the trial must quantify.

AOI at 0.6 s per part fits takt with margin. Capital is the easy comparison. The harder cost is escapes and false calls. If the trial shows a 1.5% false call rate, AOI sends 405 good parts per shift to recheck. At 30 s per recheck that is 3.4 h of labour, which often surprises people who budgeted only for the camera. Those rates are trial inputs for this example, not general claims.

Python
# Break-even check, figures are illustrative for one station
parts_per_shift = 27000
manual_inspectors = 4
manual_labour_cost = manual_inspectors * 7.5 * 22  # $22/h fully loaded
false_call_rate = 0.015
recheck_seconds = 30
recheck_cost = parts_per_shift * false_call_rate * recheck_seconds / 3600 * 22
print(manual_labour_cost, recheck_cost)  # 660.0  223.1

That arithmetic favours AOI on labour, but it ignores escape cost. If one escaped scratch causes a customer return at $40, then 10 escapes per shift cost $400 and erase the saving. The decision turns on measured escape rate, not on purchase price.

How I would prove either choice

I would build a seeded defect set before buying anything. Make or select 50 known good parts and 50 parts with each critical defect at the specification limit, not at an obvious size. Include borderline parts that a customer would accept. Run a blind attribute agreement study with three inspectors on two trials, and run the AOI program on the same set, twice, with parts re-fixtured between trials.

I would report detection rate per defect type, false call rate, and kappa for human inspectors. For this line I would set kappa of 0.75 as our internal acceptance criterion for a critical defect before release. That is a local gate we chose for this product, not a universal standard. If we miss it, the defect definition or lighting is not stable enough for manual inspection, regardless of operator effort. For AOI I would also check repeatability after a fixture change and after cleaning the lens, because those are the two shifts I see in production.

No Yes No Yes Define critical defect and limit Seeded good and bad set Detection and kappa pass our gate? Fix lighting, fixture or definition Run at takt for one shift Escape and false call within budget? Lock program or work instruction

Failure modes I would watch

Manual inspection fails silently. Inspectors adapt to a drifting process and start passing a defect that appears on every part, because expectation shifts. AOI fails loudly on false calls and silently on new defects. A scratch in a new location, or a colour change from a material lot, can pass for weeks if the program only checks programmed windows.

My default at this rate and defect size would be AOI for the defined scratch and dent, with a human audit sample of 20 parts per shift pulled from the AOI pass stream, plus image review of every AOI reject for the first month. That keeps the human on the judgement task, where they are strong, and removes them from the 1 second vigilance task, where they are not.

Curated: · Written: · Reviewed: —

Difficulty: Hard
Q&A-60You pack 2,000 housings per shift with a lot code only, and a component supplier recalls one lot. Walk me through how you would test if lot traceability is sufficient or you need unit serials, and prove the genealogy works?

The 90-second answer

I would start by sizing the recall that lot-only traceability forces on you, then test whether the genealogy actually supports that recall. Lot traceability is enough when one finished lot maps cleanly to one component lot and the customer accepts pulling the whole finished lot. Unit serialization earns its cost when lots are split, merged or reworked, or when the regulator or customer requires UDI at unit level.

Assume a medical housing line packing 2,000 units per shift, a printed lot code, and a component lot used across several shifts. I test three things: the lot genealogy is complete, quantities reconcile, and a mock recall returns exactly the affected units.

Lot versus unit serialization

ApproachWhat you recordRecall scope for one bad component lotMain cost
Lot onlyComponent lot scanned to finished lot at packEvery unit in every finished lot that consumed itLow. One label per carton, no per-unit print and verify
Unit serialComponent lot scanned to each serial, or to a WIP lot that is then split by serialOnly serials descended from that component lotHigher. Print, read-back and database insert per unit, plus reprint control

Worked example, labelled as hypothetical: component lot C-44 feeds finished lots F-10 (2,000 units) and F-11 (2,000 units) because the bin was not emptied between shifts. A lot-only recall pulls 4,000 units. If the true defect rate in C-44 is 0.2%, about 8 units are actually affected, so 3,992 good units are pulled, scrapped or retested. With unit serials linked through WIP, the same query returns the serials made while C-44 was loaded, which in this example is 1,150 units. That difference is the business case. It also shows why the test matters: if the WIP link is missing, serialization gives you a precise-looking list that is wrong.

How I test the genealogy

I run a scripted build with known lots and reconcile quantities at each step. I deliberately include the split that breaks lot systems in practice: one WIP lot split across two pack lots, and a small rework return.

StepScan or eventExpected recordCheck
LoadC-44 scanned to WIP W-7W-7 parent = C-44WIP cannot start without a component scan
SplitW-7 split to F-10 and F-11Both finished lots list W-7, then C-44Forward query from C-44 returns both lots
Pack2,000 units per lot, label read backLabel lot equals system lotScanner mismatch blocks the carton
Rework40 failed units returned to W-7Rework record links serials to W-7 and C-44Those 40 are not counted as new production
Mock recallQuery C-44F-10, F-11 and the 40 reworked unitsCount matches packed minus scrap

Quantity reconciliation is the check I trust most. Packed units plus scrap plus units still in WIP must equal units started, within the rework loop counted once. A gap means units were packed without a genealogy record.

Python
# Python 3.11, reconciliation check after a mock recall
def reconciles(started, packed, scrap, in_wip):
    return started == packed + scrap + in_wip

# Example from the test build above
assert reconciles(4040, 4000, 40, 0)  # 40 reworked units are in scrap count, not double counted

Failure modes I provoke on purpose

First, a missed scan. An operator loads a new component bin without scanning it. The system must either block pack or mark the finished lot as incomplete genealogy so it cannot ship until a supervisor records a disposition. Silent acceptance is a fail.

Second, a duplicate or swapped label. I reprint a carton label and scan it at the next station. The second scan must be rejected as already packed. I also swap two carton labels and confirm the read-back scanner catches the mismatch between label and carton record.

Third, the mock recall itself. I pick C-44 at random, run the query, and physically pull five units from the returned list to confirm their labels match. I time the query. If it needs a spreadsheet merge or returns lots instead of the units the customer asked for, lot traceability is not sufficient for that customer and I would recommend unit serialization for the next revision, with the genealogy test above as the release gate.

Curated: · Written: · Reviewed: —

Difficulty: Hard
Q&A-61A wall sensor holds 21°C and 45% RH, yet a 500 mm aluminium part grows 0.12 mm by midday and condensation forms on a 12°C fixture. How would you test the room controls to explain both?

The 90-second answer

I would test the room at the part and at the fixture, not at the wall sensor. The 0.12 mm growth and the condensation point to two different mechanisms. Growth is thermal expansion of the aluminium during the shift. Condensation is the dew point of the room air sitting close to the temperature of a chilled surface. A wall sensor at 21°C and 45% RH can be correct and still miss both.

For the part: aluminium expands about 23 x 10^-6 per °C. A 500 mm part that warms 10°C grows 500 x 23 x 10^-6 x 10 = 0.115 mm. That matches the 0.12 mm you see. The part does not need the room to be out of spec. It needs a heat source, direct sun, a warm machine or a cold part brought into a warm room and then warming up. If the part starts at 15°C from overnight storage and reaches 25°C by midday, the growth is real even with the thermostat steady.

For the fixture: at 21°C and 45% RH the dew point is about 8.7°C, so a 12°C fixture should stay dry. If condensation forms, either the local RH is higher than 45%, the fixture is colder than 12°C at the surface, or the room RH has risen. At 60% RH and 21°C the dew point is about 13.1°C. A 12°C surface then condenses. That is why RH excursions matter even when temperature looks fine.

How I would test it

I would place calibrated loggers, ±0.3°C and ±2% RH, at four points for 48 hours: the wall sensor location, the part storage and inspection bench, the machine work zone, and directly above the chilled fixture. I would log every 2 minutes through a full shift, with the machines running and doors opening normally. I would also put a surface probe on the fixture and a contact probe on a sample part so I can compare air temperature with part temperature.

PointAir temp rangeRH rangePart or surface temp
Wall sensor20.8 to 21.3°C44 to 46%Not applicable
Inspection bench21.0 to 21.6°C44 to 48%Part 15.2°C at 07:00, 24.8°C at 13:00
Machine zone22.1 to 23.2°C42 to 45%Part 23.0°C at midday
Chilled fixture21.0 to 21.4°C57 to 61% after door opensSurface 11.8°C

That pattern explains both symptoms. The bench air is in spec, but the part warms 9.6°C over the morning, which gives 500 x 23 x 10^-6 x 9.6 = 0.11 mm of growth. The fixture area runs humid because the door and wet material load the room faster than the dehumidifier removes moisture, and the local dew point rises above the fixture temperature.

I would then run two deliberate checks. First, a recovery test: open the dock door for 3 minutes and record how long RH stays above 55% and whether condensation appears. Second, a load test: run all machines for 2 hours and check whether the machine zone drifts above 22°C. A room that recovers in under 15 minutes and stays within 21 ±2°C at the bench under load is controlled. A room that needs 40 minutes to recover will produce the morning growth and the afternoon condensation every day.

Yes No Yes Log air, part and surface temps Calculate expansion from part temp change Calculate dew point from local RH Part growth explains 0.12 mm? Control part soak and storage temp Check machine heat and sensor placement Fixture below dew point? Cut RH peaks or raise fixture temp

What I would change

I would move the control sensor from the wall to the inspection bench, or add a second sensor there and control on the bench reading. I would set the control band tighter than the spec, for example 21 ±1°C and 45 ±3% RH, with alarms at ±2°C and ±5% RH so staff act before parts drift. I would store parts in the room overnight so they start near 21°C, and I would keep the chilled fixture at least 3°C above the worst-case dew point, or add local dehumidification near the door.

I would not release the room on the wall sensor alone. Release needs the 48-hour log showing the bench and machine zone inside spec under load, the part temperature trace showing less than 2°C change during measurement, and the recovery test showing no condensation on the fixture after a normal door opening.

Curated: · Written: · Reviewed: —

Difficulty: Medium
Q&A-62What is the standard flank wear criterion for end of tool life for carbide turning tools, and where is it measured?

The 90-second answer

For carbide turning tools, the standard end of tool life criterion in ISO 3685 is average flank wear VB = 0.3 mm. If wear is uneven along the edge, the limit is VBmax = 0.6 mm at any single point. Flank wear is the width of the worn land on the flank face below the cutting edge, measured parallel to the cutting direction. I would state that value first, then name the exception I apply on finishing work.

On finishing cuts I often stop at VB = 0.2 mm. Surface finish and size drift usually fail before 0.3 mm on a finishing pass, so using the general turning limit there would pass the tool life test and scrap the part. The criterion has to match the failure the part cannot tolerate.

OperationCriterion I useWhy
Rough turning, carbideVB avg 0.3 mm, VBmax 0.6 mmISO 3685 general limit, gradual wear
Finishing turning, carbideVB avg 0.2 mmFinish and diameter drift fail earlier
Drilling, carbideVB avg 0.3 mm on the marginSame flank wear principle, measured on the drill margin

How the measurement is taken

Direct measurement means removing or indexing the insert and measuring the flank land under a toolmaker microscope at 10x to 30x. The insert is cleaned first, because built-up material and coolant residue hide the wear land. I measure at three points along the engaged edge and average them for VB. The largest single reading is VBmax. That distinction matters. A tool can pass on average and still fail on VBmax if one corner has chipped or worn locally.

Yes No Yes No Stop at planned part count or signal limit Clean insert, measure VB at 3 points VB avg at or above limit? Change edge, log life in parts and minutes VBmax at or above 0.6 mm? Return to cut, recheck next interval

Worked check

Suppose three readings are 0.24 mm, 0.31 mm and 0.28 mm. The average is (0.24 + 0.31 + 0.28) / 3 = 0.277 mm. That is below 0.3 mm, so the average passes. VBmax is 0.31 mm, also below 0.6 mm. The edge stays in service for roughing, but I would flag it for finishing because it is already past my 0.2 mm finishing limit. One set of readings can therefore give two different decisions depending on the operation, which is exactly why the limit has to be tied to the cut.

Python
# Python 3.11, checked against ISO 3685 limits above
def tool_life_decision(readings_mm, finishing=False):
    vb_avg = sum(readings_mm) / len(readings_mm)
    vb_max = max(readings_mm)
    avg_limit = 0.2 if finishing else 0.3
    return vb_avg >= avg_limit or vb_max >= 0.6

print(tool_life_decision([0.24, 0.31, 0.28], finishing=False))  # False
print(tool_life_decision([0.24, 0.31, 0.28], finishing=True))   # True

What this criterion does not catch

Flank wear is gradual, so a periodic VB check works. Chipping, fracture and crater wear on the rake face are sudden. A tool can sit at VB 0.15 mm and then chip on an interrupted cut or a hard inclusion. That is why shops pair the VB limit with a change interval based on parts or minutes, and with an in-process backstop such as spindle power or cutting force. If power jumps sharply between VB checks, I stop and inspect rather than wait for the next scheduled measurement. The VB value defines planned end of life. It does not protect against abnormal failure between checks.

Curated: · Written: · Reviewed: —

Difficulty: Easy
Q&A-63A machined aluminium sealing face measures Ra 0.8 µm on a contact profilometer but leaks with an O-ring, while a rougher face passes: how would you investigate measurement, lay and waviness before changing the finish spec?

The 90-second answer

I would not tighten the Ra callout first. Ra 0.8 µm on a single contact trace can pass a part that leaks, because Ra averages height and hides the features that actually open a leak path: a deep isolated scratch, radial lay across the seal band, and long wavelength waviness that unloads the O-ring locally. I would remeasure both parts areally and in profile, in the lay direction and across it, then correlate those traces with the leak location before I touch the drawing.

Assume a face-sealed aluminium housing, 1.78 mm O-ring, 22% nominal squeeze, test at 200 mbar differential. Squeeze is about 0.39 mm, so a 3 µm roughness valley does not by itself explain a leak. The seal fails when contact pressure drops to near zero somewhere on the band, or when a groove connects inside to outside across that band. Roughness matters through those two mechanisms, not through Ra alone.

What to measure, and how the first measurement misled you

A contact profilometer reports a 2D profile. ISO 21920 (which replaced ISO 4287 for profile parameters) separates roughness from waviness with a cutoff filter. With a 0.8 mm cutoff and 4 mm evaluation length, features longer than 0.8 mm go into waviness, shorter features stay in roughness. If you set the cutoff too short, you filter out the waviness that is unloading the seal and report a clean Ra. If you trace parallel to the lay, you follow the groove bottom and miss its depth across the seal.

Stylus geometry matters too. A 2 µm tip radius cannot enter a narrow scratch root, so it bridges it and understates Rz. An optical areal instrument (ISO 25178, Sa, Sq, Sz, Sdr) sees the scratch in plan view, but steep slopes and reflective aluminium can drop data points, so I would cross-check a suspect scratch with a contact trace perpendicular to it.

Worked trace, hypothetical but typical values from one investigation:

PartLeak at 200 mbarRa (µm)Rz (µm)Wa (µm)Lay vs seal bandDeepest scratch (µm)
Pass<0.01 mbar·L/s0.794.10.6Circular, parallel to band2
Leak0.4 mbar·L/s0.8111.83.4Radial, across band14
Leak, remeasured parallel to lay0.4 mbar·L/s0.455.00.8Trace along groove3

Same Ra, completely different Rz, waviness and lay. The radial lay on the leaking part is a set of channels crossing the seal. The 14 µm scratch is a single channel that Ra dilutes across the whole evaluation length.

Yes No Leak on Ra 0.8 face Map leak location on seal band Trace across lay and along lay Check Rz, Wa, scratch depth Channel or waviness found? Fix lay, tool nose, fixture chatter Check porosity, embedded grit, squeeze Re-test leak and remeasure

Effect on function beyond sealing

Surface finish also changes friction and wear in a sliding bore, fatigue initiation at a shoulder, and coating adhesion. A rougher face can hold more lubricant and sometimes seal better at low pressure because the O-ring conforms into valleys, while a very smooth face can stick and then slip during pressure cycling. That is why chasing lower Ra can make a joint worse. For a static face seal, the functional spec is usually a maximum Rz or Sz, a waviness limit, and a lay requirement, with Ra kept as a process control proxy rather than the acceptance criterion.

What I would change on the drawing and in process

I would keep Ra 0.8 µm as a shop-floor check, add Rz ≤ 6 µm and Wa ≤ 1.5 µm on the seal band with a stated 0.8 mm cutoff, and require circular lay with no radial scratches deeper than 5 µm. I would add an areal Sa/Sz check on first article because a single profile can miss the scratch. In process, radial lay usually points to a facing cut with a worn insert or a part that shifted in the fixture, and waviness points to chatter or a long overhang. I would fix those, then prove it with a leak test on 30 consecutive parts and a capability study on Rz, not Ra, before releasing the change.

The failure mode to guard against is a supplier who meets Ra on every part, ships on time, and still leaks, because the drawing never asked for the parameters that control the seal.

Curated: · Written: · Reviewed: —

Difficulty: Hard
Q&A-64Walk me through how you would set up a CMM measurement strategy for a complex aluminium housing with datum features, tight bore position and a freeform surface, from datum alignment to reporting uncertainty?

The 90-second answer

Start from the drawing, not the machine. I would list every datum, every tolerance that controls function, and the order in which the part seats in assembly. For a typical aluminium housing, say 120 mm long with a 25.00 mm bore located to datum A within 0.05 mm and a freeform sealing face, that gives me three decisions: how I align the part, how densely I sample each feature, and how I prove the result is inside the tolerance with margin.

Alignment follows the drawing datum scheme, usually a 3-2-1 construction. Plane A from three or more points on the mounting face, line B from the primary bore or a dowel, then a clocking point or plane for rotation. I would not use a best-fit alignment for acceptance, because best fit can hide a datum shift that the assembly will see. Best fit is useful for diagnostics, not for pass or fail.

Then I qualify the probe on a certified sphere at the start of the program, check it again after a stylus change, and hold the lab at 20 °C with the part soaked for at least two hours. Aluminium expands at about 23 µm/m·°C, so a 120 mm part grows about 2.8 µm per °C. A 3 °C drift therefore adds about 8 µm, and measuring at 28 °C instead of 20 °C adds about 22 µm, which is nearly half of a 50 µm tolerance.

Sampling by feature type

FeatureMethodSamplingWhat it proves
Datum plane ATouch, 9 points in a 3 by 3 grid9Flatness and alignment stability
Bore, 25.00 mmTouch circle, 3 heights24 points, 8 per heightSize, cylindricity, position to A and B
Pattern of 4 holesTouch circles16 points per holeTrue position, pitch
Sealing faceScan200 to 400 points, 2 mm spacingProfile and waviness, not just three points
Freeform surfaceScan1 to 2 mm grid, filteredProfile to CAD, 0.10 mm band

Touch probing suits bores and holes because a circle fit from 16 to 24 points averages out probe noise and gives a stable axis. Scanning suits the sealing face and freeform surface because three touch points can miss a local dip that leaks. Scanning costs time, so I scan only where form matters and touch where a fitted axis matters.

Python
# Python 3.11, checked for the arithmetic below
import math

# Thermal growth: alpha = 23e-6 /degC for aluminium, L = 120 mm
L = 120.0
alpha = 23e-6
for dT in (3.0, 8.0):
    print(dT, round(L * alpha * dT * 1000, 1), "um")

# Uncertainty budget, standard uncertainties in um (hypothetical lab figures)
components = [0.8, 1.2, 1.5, 1.4, 1.0]
u_c = math.sqrt(sum(u * u for u in components))
print("u_c =", round(u_c, 2), "um, U(k=2) =", round(2 * u_c, 2), "um")

Output: 3.0 °C gives 8.3 µm, 8.0 °C gives 22.1 µm, u_c is 2.72 µm and U at k equals 2 is 5.44 µm. I use that script in the report appendix so the thermal and uncertainty numbers are reproducible, not typed by hand.

Soak part at 20 C, qualify probe Measure datum A plane Measure datum B bore Construct 3-2-1 alignment Measure bores and hole pattern Scan sealing and freeform faces Evaluate GD&T in datum order Report value plus uncertainty

Uncertainty, with real numbers

I build a small budget and compare it with the tolerance. Hypothetical but typical figures for a bridge CMM in a controlled lab:

SourceStandard uncertainty
Probe repeatability0.8 µm
Probe qualification and stylus lobing1.2 µm
Machine volumetric error over 120 mm1.5 µm
Temperature, ±0.5 °C residual1.4 µm
Fixture and part seating repeatability1.0 µm

Root sum square gives about 2.7 µm standard uncertainty, or roughly 5.4 µm expanded at k equals 2. Against a 50 µm position tolerance that is a ratio near 9 to 1, which I would accept for acceptance testing. If the expanded uncertainty exceeded one quarter of the tolerance, I would tighten sampling, shorten the stylus, or move the measurement closer to the datum features rather than argue about the part.

Failure modes I check before trusting a result

A stylus that has picked up swarf shows up as a sudden rise in sphere qualification error, often from under 1 µm to over 4 µm. A part measured straight off the machine at 28 °C will report a 120 mm aluminium dimension about 22 µm oversize relative to its 20 °C size, which looks like a process shift and is not. A fixture that clamps a thin wall can pull the datum plane by 10 to 20 µm, so I check seating repeatability by loading and unloading the part five times and remeasuring datum A. If the plane moves more than 3 µm, the fixture, not the CMM, is the problem.

For reporting, I give the measured value, the tolerance, and the expanded uncertainty in the same line, for example position 0.032 mm against 0.05 mm, U equals 0.005 mm at k equals 2. That lets engineering decide whether a borderline 0.048 mm result is a real risk or a measurement argument. I would also keep the raw point cloud for the freeform surface, because a single profile number cannot show where the deviation sits.

Curated: · Written: · Reviewed: —

Difficulty: Hard
Q&A-65A drawing calls out a Ø10 hole at position Ø0.2 to datums A|B|C, with A a planar face and B a Ø20 boss: how do you set up the datum reference frame and inspect it so a pass is defensible?

The 90-second answer

A datum feature is the physical surface or axis on the part. A datum is the theoretical plane or axis the drawing creates from it. The order after the pipe sets the priority, and the inspection has to reproduce that priority in the same order. For A|B|C with A a planar face, B a cylindrical boss and C a third feature, I would build the frame 3-2-1: A first, then B, then C. I would not use a best-fit alignment in the CMM, because best fit spreads error across all three and can pass a part that fails the drawing.

Assume the drawing is ASME Y14.5, the hole is Ø10.00 MMC with position Ø0.20 to A|B|C, and the boss B is the datum feature for a Ø20 axis. State those assumptions on the inspection record. If the standard is ISO GPS, the simulator and modifier rules differ, so I would confirm the callout standard before measuring.

How the frame constrains the part

Datum in orderDatum featureDegrees of freedom removedSimulator in inspection
A primaryPlanar face3: translation normal to plane, rotation about two in-plane axesThree-point plane, or surface plate in a functional gauge
B secondaryØ20 boss axis2: translation in plane, rotation about axes in planeCylindrical simulator at MMB if the boss has an MMC modifier, otherwise the actual mating envelope axis
C tertiaryThird plane or axis1: rotation about B axisPlane or axis simulator, clocking the part

That leaves zero degrees of freedom. The order matters because A locks orientation first. If B were primary, a wavy face A could tilt the whole frame and the hole could pass in the CMM while rocking on the mating part in assembly.

Seat datum feature A on simulator Constrain B axis to simulator Clock on datum feature C Measure hole axis and size Calculate position deviation Add bonus tolerance if MMC applies Compare total to drawing tolerance

Worked inspection trace

The hole is Ø10.00 MMC, position Ø0.20 at MMC to A|B|C. Bonus tolerance equals the departure of the actual mating size from MMC. A larger hole departs more from MMC, so it earns more position tolerance. A smaller hole earns none.

CaseHole size (mm)Bonus (mm)Allowed position (mm)Measured deviation (mm)Result
110.000.000.200.14Pass
210.150.150.350.28Pass, only with MMC bonus
310.150.150.350.41Fail
49.980.000.200.14Fail on size, position irrelevant

Case 2 is the trap. Judged at RFS, 0.28 exceeds 0.20 and the part is scrapped. Judged correctly at MMC, it passes with 0.07 mm margin. Case 4 shows the other trap: a hole below MMC violates the size limit even if its axis is perfect.

On a CMM I would measure A with enough points to capture form, not just three points, then construct the datum plane from the simulator contact points per the standard. For B I would measure the boss over its full height and use its actual mating envelope, not a least-squares axis, because a bent boss and a straight boss with the same least-squares axis behave differently on the mating bore. Then I measure the hole the same way, report size and position separately, and only then apply bonus.

Failure modes and checks

A common failure is datum feature selection. If A is a small, rough, or warped face, using it as primary makes every downstream measurement noisy. I would check form of A first. If its flatness consumes a large share of the position tolerance, I would raise it with engineering before building a gauge around it. A functional gauge with fixed pins at the true positions, sized to the MMC virtual condition, catches this in seconds on the line: hole Ø10.00 with position Ø0.20 gives a virtual condition of Ø9.80, so a Ø9.80 pin at true position must enter freely when the part is seated on A, B and C simulators. If the pin enters, size and position together are acceptable. If it does not, the CMM trace tells me whether it is size, position, or datum seating.

Second failure mode: measuring B before A, or letting the CMM auto-align. That reorders the frame and invalidates the result even if the numbers look clean. I lock the alignment order in the CMM program and print the datum order on the report.

Third: ignoring the datum feature simulator size. If B itself has a tolerance, its simulator is at its MMB, not its nominal Ø20. Using nominal shifts the frame by the boss departure and can hide a real hole error. I would verify the boss size and form before trusting any position result tied to B.

Curated: · Written: · Reviewed: —

Difficulty: Hard
Q&A-66If a defect is safety-critical, should you use statistical sampling or 100 percent inspection, and why?

The 90-second answer

If the defect is safety-critical, use 100 percent inspection. Do not rely on statistical sampling for it.

Sampling accepts a known risk that some defective units pass. That is reasonable for a cosmetic scratch or a minor dimensional deviation where a rare escape means rework. It is not reasonable when one escape can injure a user, break a regulation, or cause a field failure the customer cannot tolerate. For that class of defect, every unit must be checked, or the defect must be prevented by design so it cannot occur.

The rule I apply on the floor is this: severity decides first, volume decides second. High severity pushes to 100 percent. Volume then decides whether that 100 percent check is manual or automated, because manual checking of every unit at high volume usually breaks takt and cost.

SituationInspection choiceReason
Cosmetic defect, stable process, low severityStatistical samplingA rare escape is acceptable and cheap to fix
Safety-critical defect, non-destructive test available100 percent inspectionOne escape is not acceptable
Safety-critical defect, destructive test onlySampling plus preventionYou cannot destroy every shippable unit, so you control the process and sample to verify it
Low volume, safety-critical, manual test is fast100 percent manual inspectionEvery unit can be checked without breaking the rate
High volume, safety-critical, manual test is slow100 percent automated inspectionEvery unit is checked at takt

Worked example

A line makes 10,000 housings a month. A cosmetic scuff occurs at 2,000 ppm. Sampling 125 units per lot will catch most bad lots, and the few escapes cost a small rework charge. Sampling is the right call.

Change only the severity. The same line now has a crack at a load-bearing boss at 200 ppm. Sampling 125 units gives a high chance of missing the crack in any given lot, because 200 ppm means about 1 defective unit in 5,000. The lot can pass the sample and still ship a cracked housing. That is why the choice flips to 100 percent inspection, ideally automated crack detection, plus a process fix to drive the rate down. The volume did not change. The risk did.

Cosmetic case: 10,000 units x 2,000 ppm = about 20 defective units per month
Safety case:   10,000 units x 200 ppm   = about 2 defective units per month

Sampling can miss the safety case in most lots. 100 percent inspection checks all 10,000.

One limit to state in an interview: 100 percent manual visual inspection is not perfect. Detection falls with fatigue and speed, often to roughly 80 to 85 percent in sustained work. So for a safety-critical defect at high volume, I would not claim a manual screen is enough. I would specify an automated test, prove it with seeded defective parts, and keep sampling only for destructive checks that cannot be run on every unit.

Curated: · Written: · Reviewed: —

Difficulty: Medium
Q&A-67A bore process drifts 0.5 sigma over a shift with no point beyond 3 sigma: how do you choose and tune EWMA, CUSUM and Shewhart charts, and prove the choice on your data?

The 90-second answer

Shewhart charts test each point against 3 sigma. They are excellent for a 2 to 3 sigma jump and poor for a sustained 0.5 to 1 sigma drift, because no single point crosses the limit. EWMA and CUSUM accumulate evidence across points, so they detect that drift in roughly 10 to 40 samples instead of 40 to 160, at the same false alarm rate. I would keep a Shewhart chart for large shifts and run EWMA or CUSUM alongside it for small shifts, not replace one with the other.

Assume the process is in Phase I: mean and sigma estimated from a stable baseline, data approximately independent, and the measurement system already proven. If those fail, the ARL numbers below do not hold. Autocorrelation is the usual trap on a line. With lag-1 correlation of 0.3, an EWMA tuned for independence will false alarm far more often than its nominal ARL0 of 370.

How the three charts differ

For standardised values $z_i=(x_i-\mu_0)/\sigma_0$:

  • Shewhart: signal if $|z_i|>3$.
  • EWMA: $w_i=\lambda z_i+(1-\lambda)w_{i-1}$, $w_0=0$. Signal if $|w_i|>L\sqrt{\lambda/(2-\lambda),[1-(1-\lambda)^{2i}]}$.
  • One sided CUSUM: $S_i^+=\max(0,S_{i-1}^++z_i-k)$, $S_i^-=\min(0,S_{i-1}^-+z_i+k)$. Signal if $S_i^+>h$ or $S_i^-<-h$.

$\lambda$ in EWMA and $k$ in CUSUM are the reference shift you tune for, in sigma units divided by two for CUSUM. $L$ and $h$ set the false alarm rate.

Chart and tuningARL0ARL at 0.5 sigmaARL at 1 sigmaARL at 2 sigmaARL at 3 sigma
Shewhart, 3 sigma370161446.32.0
EWMA, lambda 0.2, L 2.863703810.54.12.6
EWMA, lambda 0.05, L 2.86370219.45.03.4
CUSUM, k 0.25, h 5465248.53.82.5
CUSUM, k 0.5, h 54653810.44.02.6

Values are for independent normal data, standard tables (Montgomery, Introduction to Statistical Quality Control). Read the table as a trade off. Small lambda or small k detects 0.5 sigma faster but reacts slower to a 3 sigma jump. That is why the combined chart matters. A 3 sigma jump that EWMA takes 3 samples to catch, Shewhart catches on the first.

Worked trace, hypothetical data

Baseline mean 10.00 mm, sigma 0.10 mm. Points 1 to 3 are in control, then the process shifts by about 1 sigma from point 9. EWMA lambda 0.2, CUSUM k 0.5, h 5.

izEWMA wCUSUM S+Shewhart
10.10.0200.0in
2-0.2-0.0240.0in
30.0-0.0190.0in
40.50.0850.0in
50.60.1880.1in
60.50.2500.1in
70.70.3400.3in
80.60.3920.4in
90.90.4940.8in
101.10.6151.4in
111.00.6921.9in
121.20.7942.6in
131.00.8353.1in
141.10.8883.7in
151.00.9104.2in
161.10.9484.8in
171.00.9585.3in

EWMA limit at large i is $2.86\sqrt{0.2/1.8}=0.95$, so it signals at i=17. CUSUM signals at i=17 when S+ passes 5. Shewhart never signals, because no point exceeds 3. In production I would also plot the estimated shift from CUSUM, $\hat{\delta}=k+S^+/n$ since the last zero, to tell the operator how far the process moved, not just that it moved.

Choosing and proving it on your data

Python
# Python 3.11, checked against the trace above
def ewma_cusum(z, lam=0.2, L=2.86, k=0.5, h=5.0):
    w, sp, sm = 0.0, 0.0, 0.0
    for i, zi in enumerate(z, 1):
        w = lam * zi + (1 - lam) * w
        sp = max(0.0, sp + zi - k)
        sm = min(0.0, sm + zi + k)
        lim = L * (lam / (2 - lam) * (1 - (1 - lam) ** (2 * i))) ** 0.5
        if abs(w) > lim or sp > h or sm < -h:
            return i, w, sp, sm
    return None, w, sp, sm

My selection steps on a real line:

  1. Estimate Phase I parameters from at least 100 to 200 points from a period you believe is stable, and check autocorrelation and normality. If lag-1 correlation exceeds about 0.2, either subgroup and average, model the correlation, or widen limits based on the effective sigma. Ignoring it is the most common cause of chart fatigue.
  2. Pick the smallest shift that matters economically. If a 0.5 sigma drift on a 10.00 mm bore, sigma 0.10 mm, pushes Cpk from 1.67 to 1.33 before anyone acts, tune for 0.5 sigma: EWMA lambda 0.05 to 0.1 or CUSUM k 0.25. If only a 1 sigma shift matters, lambda 0.2 or k 0.5 gives faster response to larger shifts with fewer false alarms.
  3. Backtest on historical data with known shifts. Inject a synthetic 0.5 sigma step into a stable run and measure detection delay. Also replay a known special cause week and confirm the combined chart signals on the first large point.
  4. Set the reaction plan before go live. A CUSUM signal without a defined check (tool wear, coolant temperature, fixture clamp) becomes a chart operators learn to ignore. The plan should state who stops, what gets measured, and what restarts the chart after adjustment, including resetting EWMA and CUSUM to zero after a confirmed fix.

Failure modes to name in the interview: Phase I sigma underestimated by 20% cuts ARL0 from 370 to roughly 100, so false alarms triple. Non normal data with heavy tails inflates Shewhart false alarms but affects EWMA and CUSUM less, which is a point in their favour. Rational subgrouping matters more than chart choice. Plotting individual parts when the shift happens within a subgroup dilutes the signal, while subgroup means of 4 to 5 parts sharpen it if the subgroup is taken over a short time window.

CUSUM and EWMA perform almost identically for a step shift. I pick CUSUM when I want the shift estimate and a clear restart point at the last zero of S+. I pick EWMA when I want a smooth trend for the operator and easy extension to multivariate or nonparametric versions. Either beats Shewhart alone for the drift case in the question, and neither should be deployed without the Shewhart overlay for large shifts.

Curated: · Written: · Reviewed: —

Difficulty: Hard
Q&A-68A vendor quotes $180,000 for a test automation cell that saves 1.2 operator shifts a day: how would you build the ROI and payback case, including maintenance and downtime?

The 90-second answer

I would not quote the vendor's payback. I would build the case from our baseline cost per good test, add every cost the cell creates, and only then divide. Payback is initial cash out divided by net annual cash benefit. ROI over a stated horizon is total net benefit divided by total cost over that horizon. If I cannot state volume, shift pattern, loaded labour rate, and downtime cost per hour, I have no business case.

Assumptions I state up front: the cell replaces manual functional test on one housing line, runs two shifts, and must meet the same escape rate as the manual station. I use loaded labour, not base wage, and I cost downtime at lost contribution per hour, not revenue.

Worked example, hypothetical figures for one line

Initial cost: equipment $180,000, integration and fixtures $35,000, validation and documentation $15,000. Total $230,000. I exclude sunk engineering already spent.

Annual gross savings: 1.5 FTE released at $68,000 loaded = $102,000. Reduced retest and scrap from earlier fault detection, $38,000 based on last 6 months of rework logs. Total $140,000.

Annual costs the cell adds: preventive maintenance, calibration and spares $14,000. Software licences and support $6,000. Unplanned downtime: vendor claims 99% availability, I budget 24 hours per year at $850 per hour lost contribution = $20,400. Planned maintenance downtime is already in the PM labour, so I do not double count it. Total added cost $40,400.

Net annual benefit = $140,000 - $40,400 = $99,600. Simple payback = $230,000 / $99,600 = 2.3 years. Five year ROI = (5 x $99,600 - $230,000) / ($230,000 + 5 x $40,400) = 62%. I show the denominator with operating costs included, because quoting ROI on capex alone flatters the project.

ItemYear 15 year total
Gross savings$140,000$700,000
Maintenance, licences, downtime-$40,400-$202,000
Net benefit$99,600$498,000
Initial cost-$230,000-$230,000
Cumulative cash-$130,400$268,000
Python
capex = 180_000 + 35_000 + 15_000
annual_saving = 1.5 * 68_000 + 38_000
annual_cost = 14_000 + 6_000 + 24 * 850
net = annual_saving - annual_cost
payback_years = capex / net
roi_5yr = (5 * net - capex) / (capex + 5 * annual_cost)
print(f"{payback_years:.1f} years, {roi_5yr:.0%} 5-year ROI")
# 2.3 years, 62% 5-year ROI

Sensitivity, because the inputs will move

ScenarioNet annualPayback
Base case above$99,6002.3 years
Volume down 30%, savings fall to $98,000, downtime cost falls to $14,000$70,0003.3 years
Downtime doubles to 48 h, maintenance up 50% to $21,000$72,6003.2 years
Only 1.0 FTE actually released, savings $106,000$65,6003.5 years

The last row is the one finance should challenge. Releasing 1.5 FTE on paper often means 1.0 FTE in practice if the operator still loads, unloads and clears jams. I would require the operations manager to name the posts and shifts that disappear, or I cut the labour saving.

Failure modes I check before signing

Test coverage: if the cell misses a fault the manual station caught, escapes and warranty cost erase the scrap saving. I require a fault insertion study on seeded defects and a parallel run of at least 500 parts before release.

Availability claim: 99% at the vendor's demo line, running one product, is not 99% on our line with changeovers. I ask for MTBF and MTTR from installed sites, spare parts lead times, and I price a critical spares kit into year 1. A 6 week lead time on a test head turns one failure into a line stop.

Changeover and product mix: if we run four variants, fixture change time eats the cycle time gain. I time a full changeover, including first article approval, and include it in effective capacity.

I would present payback as a range, 2.3 to 3.5 years, tied to named assumptions, and I would gate the purchase on the parallel run and the spares list. That gives finance a number they can audit and gives operations a cell that does not stop the line it was bought to speed up.

Curated: · Written: · Reviewed: —

Difficulty: Medium
Q&A-69An automated line generates 60 alarms in 3 minutes after a single feeder jam. How would you prioritize and suppress those alarms so the operator finds the root cause first, and what would you check to prove it worked?

The 90-second answer

I would treat the 60 alarms as one event with one root cause, not 60 separate problems. First I would sort what remains visible by consequence and time to act, then I would suppress the alarms that are only symptoms of a state the operator already knows about. The feeder jam stays at the top. Downstream no-part, low-level and station-ready alarms from that jam get suppressed until the jam clears. Then I would replay the same jam in simulation and count what the operator actually sees in the first 10 minutes. If that count is still above 10, or the operator cannot name the jammed station within a minute, the design has not worked.

Prioritize before suppressing

Prioritization answers which alarms deserve attention first. I use three levels tied to response time, following ISA 18.2 rationalization.

PriorityMeaning on this lineResponse targetExample
P1Safety risk or equipment damageUnder 2 minutesGuard open while press cycling
P2Line stops or scrap startsUnder 10 minutesFeeder jam at station 3
P3Degraded running, fix plannedThis shiftFeeder bin low

In a healthy shift most active alarms should be P3, roughly 80 percent, with P2 near 15 percent and P1 near 5 percent. If P1 and P2 dominate, the priorities are inflated and everything looks urgent, so nothing is. Each alarm also needs a documented operator action. If no action changes the outcome, it belongs in the event log, not the alarm list.

State-based suppression for the jam

Suppression answers which alarms are meaningless in the current state. When station 3 reports a jam, the PLC already knows the feeder is faulted and the line is held. Alarms that assume normal running, such as no part at station 4, station 5 cycle timeout, and downstream buffer empty, will fire as the line starves. Showing all of them buries the jam.

Python
# Simplified suppression logic, checked in the PLC or HMI alarm server
def visible(alarm, state):
    if alarm.station in state.faulted_stations:
        return alarm.priority in ("P1", "P2")
    if state.line_state == "held" and alarm.code in (
        "NO_PART", "CYCLE_TIMEOUT", "BUFFER_EMPTY"
    ):
        return False  # symptom of the held line, logged not alarmed
    if state.station_mode[alarm.station] == "manual":
        return alarm.priority == "P1"
    return True

Suppressed alarms are not deleted. They are logged with the suppressing state, so a later review can show why they did not appear. Suppression lifts automatically when the jam clears and the line returns to running, which avoids a suppressed alarm staying hidden after recovery.

Worked trace for the same jam, before and after:

TimeBefore: operator seesAfter: operator sees
0:00Feeder jam station 3 (P2)Feeder jam station 3 (P2), banner shows 1 P2
0:20No part station 4, no part station 5, buffer emptyThose three logged, not alarmed
1:0042 more station timeouts and level alarms3 additional P3 alarms only
3:0060 alarms, oldest P2 buried4 alarms total, jam still at top

How I prove it worked

I replay the jam three times in simulation with operators who did not design the screens. I record alarms presented in the first 10 minutes, time for the operator to identify station 3, and whether any suppressed alarm should have been visible. Targets: under 10 alarms in 10 minutes after the upset, root cause named within 60 seconds, and zero P1 alarms suppressed. I also check the opposite case. A genuine second fault at station 5 during the jam must still appear as P2, because suppression is tied to the held state, not to a blanket mute. If that second fault is hidden, the suppression rule is too broad and I narrow it to the specific downstream codes.

Curated: · Written: · Reviewed: —

Difficulty: Hard
Q&A-70In a SCADA system, which runs the control logic and safety interlocks, the PLC or the SCADA server?

The 90-second answer

The PLC runs the control logic and the safety interlocks. The SCADA server does not. SCADA stands for Supervisory Control and Data Acquisition, and the word supervisory is the point. It reads values from the PLC, displays them, raises alarms and records trends. The PLC keeps executing its ladder logic or structured text program even if the SCADA server, the HMI or the plant network goes down.

That split is why a SCADA failure and a PLC failure look different on the floor. Lose SCADA and the operator loses visibility while the machine continues its last valid cycle. Lose the PLC and the outputs freeze or go to their configured safe state, depending on how the program and the hardware were set up.

Sensors and actuators PLC: control logic and interlocks SCADA server: reads tags, alarms, trends HMI: operator display Historian: archive

What each side owns

ResponsibilityPLCSCADA server
---------
---------
---------
Scan cycle10 to 100 ms, deterministicPoll or subscribe, typically 500 ms to 2 s
Safety interlocksYes, in PLC logic and hardwired circuitsNo, display only
Control loopsYes, PID and sequencing in the PLCReads the result, writes setpoints through defined tags
AlarmsGenerates alarm conditions in logicPresents, acknowledges and logs them
Trend recordHolds live values onlyHistorian stores time stamped values

A concrete example helps. A PLC scans an oven thermocouple every 50 ms, runs the PID loop and trips the heater contactor at 280 degC. The SCADA server reads Oven.Zone2.Temp once per second over OPC UA, shows 242.6 degC on the HMI and stores the value in the historian. If the SCADA server stops, the PID loop still holds temperature. If the thermocouple wire breaks, the PLC sees a bad input, drives the output to its safe state and sets a fault bit that SCADA then displays.

Python
from opcua import Client

client = Client("opc.tcp://192.168.10.20:4840")
client.connect()
try:
    node = client.get_node("ns=2;s=Oven.Zone2.Temp")
    print(node.get_value())
finally:
    client.disconnect()

That snippet, checked against python-opcua 1.1, is a read only. It shows the direction of data flow. SCADA asks the PLC for the current tag value. The PLC never waits for SCADA before acting on that value.

The follow up an interviewer usually asks

If SCADA can write setpoints, why is that safe? Because the write goes to a PLC tag with limits enforced in the PLC itself. The HMI might allow 180 to 260 degC, and the PLC clamps any value outside that range before the PID loop sees it. A write path without PLC side limits would let a faulty HMI or a bad network message push the process outside its safe envelope.

So the one line answer is PLC for control and interlocks, SCADA for supervision and display. Everything else in the architecture follows from that separation.

Curated: · Written: · Reviewed: —

Difficulty: Easy
Q&A-71A 1480 rpm cooling pump shows 3.2 mm/s RMS overall but a rising 88 Hz peak: how do you decide if it is a bearing defect, set alert limits, and prove the call before the next outage?

The 90-second answer

Do not act on 3.2 mm/s RMS alone. On a 1480 rpm pump that is 24.7 Hz shaft speed, so an 88 Hz peak sits at 3.57x shaft speed. For a 6208 bearing that matches BPFO at 3.585x, or 88.4 Hz. That points to outer race damage, but I would not raise a work order until I confirm the peak tracks shaft speed, check its harmonics and sidebands, and rule out misalignment and looseness, which usually drive 1x and 2x at 24.7 and 49.3 Hz.

I would set two limits. An overall velocity alert at 2.8 mm/s RMS and alarm at 4.5 mm/s RMS for a medium pump in ISO 20816-3 Group 2, with the spectral BPFO band trended separately. The overall value tells me severity now. The BPFO trend tells me whether damage is progressing. If BPFO amplitude doubles in under 30 days, or overall crosses 4.5 mm/s, I plan the change at the next planned stop, not as an emergency unless temperature or load forces it.

Worked trace, hypothetical but realistic

Sensor is a stud mounted accelerometer on the bearing housing, radial direction, sampled at 12.8 kHz so Nyquist is 6.4 kHz, well above BPFI at 123.9 Hz and its harmonics. Route taken at steady load, 1480 plus or minus 15 rpm.

WeekOverall mm/s RMSBPFO 88 Hz mm/s1x 24.7 Hz mm/sBearing temp CReading
01.40.20.658Baseline, Zone A
21.70.50.659BPFO rising, overall still low
42.41.10.761Alert on BPFO trend
63.21.90.864Overall alert, BPFO doubled twice
74.62.60.968Alarm, schedule replacement

The pattern matters. 1x stays flat, so balance and alignment are not the driver. BPFO grows faster than overall, which is typical early. By week 6 the defect is no longer early. Waiting for overall to hit 7.1 mm/s, the Zone C/D boundary, would risk secondary damage to the shaft and seal.

How I confirm it

First, speed tracking. I take a spectrum at reduced speed if the drive allows it, or compare two loads. A bearing peak moves in proportion to rpm. A structural resonance stays at a fixed Hz. Second, harmonics. Outer race damage often shows BPFO plus 2x BPFO at 177 Hz. Third, envelope or demodulation for early detection. Raw velocity spectra can hide a small defect under 1x and 2x energy. Envelope analysis bandpass filters around a resonance, often 2 to 10 kHz, then looks for BPFO repetition. Kurtosis above 4 on the time waveform also supports impact damage, though it falls as damage becomes advanced and the signal turns more sinusoidal.

Python
# Python 3.11, bearing geometry for a 6208: bore 40 mm, OD 80 mm, width 18 mm
# Example values only, verify against the bearing maker's datasheet before use
rpm = 1480
shaft_hz = rpm / 60
n_balls, ball_d, pitch_d, contact_deg = 9, 12.7, 60.0, 0
import math
c = math.cos(math.radians(contact_deg))
bpfo = 0.5 * n_balls * shaft_hz * (1 - ball_d / pitch_d * c)
bpfi = 0.5 * n_balls * shaft_hz * (1 + ball_d / pitch_d * c)
print(f"shaft {shaft_hz:.1f} Hz, BPFO {bpfo:.1f} Hz, BPFI {bpfi:.1f} Hz")
# shaft 24.7 Hz, BPFO 88.4 Hz, BPFI 123.9 Hz

Where this goes wrong

TrapWhat you seeCheck
Magnet mounted sensor on a painted housingAttenuated high frequency, missed early BPFOStud mount on bare metal, same spot and orientation each route
Variable speed drive at 900 to 1500 rpmSmeared peaks, false trendRecord rpm with every reading, use order tracking or narrow speed bins
Sampling too low, for example 1 kHzAliasing, BPFI folds into low frequenciesSample at least 10x the highest frequency of interest, 12.8 kHz here
Loose bearing housingBroad harmonics at 1x, 2x, 3x plus BPFO lookalikeCheck phase across the bearing, torque of housing bolts, and 1x trend
New bearing with poor lubricationRising high frequency noise, no clear BPFOCheck grease condition and temperature before condemning the bearing

Decision rule I would defend

Alert on rate of change in the BPFO band, alarm on overall velocity plus temperature. If BPFO rises 100% in a month and overall passes 2.8 mm/s, I raise a planned work order and order the bearing. If overall passes 4.5 mm/s or temperature climbs more than 10 C above baseline in a week, I stop the pump at the next safe window. After replacement I rerun the same route at the same load and require BPFO below 0.3 mm/s and overall below 1.8 mm/s before closing the job. That closes the loop and proves the diagnosis was right.

Curated: · Written: · Reviewed: —

Difficulty: Hard
Q&A-72A chilled water pump draws 62 kW at 50 Hz and 180 m3/h. If you run it at 40 Hz on a VFD, what power do you expect, and what would you check before claiming that saving?

The 90-second answer

For a centrifugal pump in a closed chilled water loop, flow follows speed, head follows speed squared, and shaft power follows speed cubed. That is the affinity law. Dropping from 50 Hz to 40 Hz is a speed ratio of 0.8, so flow should fall to about 144 m3/h and power to about 32 kW from 62 kW. I would claim that saving only after checking that the loop is friction dominated, that no bypass or minimum flow device is wasting the reduction, and that the chiller and pump still operate inside their limits.

The arithmetic

Quantity50 Hz measured40 Hz predictedCalculation
Flow180 m3/h144 m3/h180 x 0.8
Head280 kPa179 kPa280 x 0.8 squared
Power62 kW31.7 kW62 x 0.8 cubed

Saving is 30.3 kW while running. At 6,000 hours per year and $0.12 per kWh, that is 181,800 kWh and about $21,800 per year. A $9,000 VFD installed would pay back in roughly five months on those figures. Those hours and price are assumptions for the example, so I would replace them with the site metered hours and tariff before funding.

Python
# Affinity law check, pump example
p1, f1 = 62.0, 50.0  # kW, Hz
f2 = 40.0
ratio = f2 / f1
p2 = p1 * ratio**3
q2 = 180 * ratio
print(f"Flow: {q2:.0f} m3/h, Power: {p2:.1f} kW, Saving: {p1-p2:.1f} kW")

When the cube law holds, and when it breaks

The law assumes the same pump, the same impeller, similar efficiency, and a system curve that passes through the origin. A closed chilled water loop with no static lift fits that well. Friction in pipes, coils and control valves dominates, so reducing speed reduces head in the same proportion and the operating point slides down the system curve.

It breaks when static head is a large share of total head, for example an open tower circuit lifting water to a height, or when a pressure independent valve or a bypass holds differential pressure up regardless of flow. It also breaks if the pump is throttled. If a control valve stays partly closed at 40 Hz, the valve absorbs the extra head and power falls far less than the cube prediction. The fix during the test is to open the main control valves, set the VFD to control header differential pressure, and log flow, head and power together.

Yes No Set VFD to 40 Hz Open control valves, control on differential pressure Log flow, head, power for one shift Flow near 144 and power near 32? Check minimum flow, cavitation and chiller limits Check bypass, static head, throttling, meter error Claim saving with measured hours

Checks before I claim the saving

I would verify four things on the test shift. First, minimum continuous flow for the pump and minimum evaporator flow for the chiller. At 144 m3/h the pump is at 80 percent of its 50 Hz flow, which is usually safe, but the chiller manufacturer limit decides. Second, cavitation margin. Lower speed lowers required NPSH, so cavitation is less likely, yet I would still listen for noise and check suction pressure if the suction line is long. Third, bypass position. A differential pressure bypass that opens at low flow will pass water straight back to the chiller and erase the saving while the meter still shows low pump power. Fourth, cooling performance. I would confirm chilled water supply temperature and coil valve response stay in range, because a pump saving that forces the chiller to run longer or warmer is not a saving.

I would also compare measured flow against the pump curve. If measured flow is 130 m3/h instead of 144 m3/h, the system has more static head or fouling than assumed, and I would recalculate from the measured point rather than quoting the cube law. If measured power is 45 kW, I would look for a partly closed valve, a bypass, or a motor and VFD loss that was not in the baseline. Reporting the measured range, for example 28 to 31 kW saved over a full shift at matched load, is more defensible than a single theoretical number.

Curated: · Written: · Reviewed: —

Difficulty: Medium
Q&A-73A staggered nesting layout lifts bracket strip utilization from 62% to 74% but rotates alternate parts 180 degrees: how would you test if that gain is real and safe to adopt?

The 90-second answer

I would not adopt the staggered layout on the utilization number alone. I would weigh a baseline run, then run the staggered layout under the same material and press settings and compare utilization, burr, bend angle by strip position, and press load. The 180 degree rotation is the risk to test, because alternate parts now bend against the grain in the opposite direction. If springback splits between the two orientations, the average angle can look fine while both groups sit near a limit.

Baseline first. Weigh coil in, good parts out and scrap out for 500 parts. Utilization is good part mass divided by input mass. That closes the loop on whether the claimed 62% to 74% matches the floor, and it separates skeleton scrap from defective parts.

Worked comparison, hypothetical figures

Bracket net mass 0.118 kg, 1.5 mm steel strip, density 7,850 kg/m3. Input per pitch is strip width times pitch times thickness times density.

LayoutStrip widthPitchInput per partUtilization
Straight, single row200 mm90 mm0.212 kg56%
Staggered, rotated 180 degrees190 mm78 mm0.174 kg68%

The stated 62% to 74% in the question would come from a different part size, but the test is the same. At 20,000 parts a month, the staggered layout in this example cuts coil use from about 4,240 kg to 3,480 kg. At $1.10 per kg for coil and $0.18 per kg recovered for clean scrap, net material cost per part falls from $0.197 to $0.164. That saving only counts if scrap stays clean and segregated. Mixed scrap can lose most of that recovery value.

How I would test it

Yes No Baseline: weigh 500 parts, straight layout Record utilization, burr, angle, load Run 500 parts, staggered layout, same coil lot Measure angle separately for each orientation Gain holds and both orientations pass? Run 2,000 parts and chart the critical dimension Revert or adjust bend compensation per orientation

Run three repeats of 500 parts per layout and randomize order across two coil lots, since thickness variation within tolerance moves burr height. Measure burr on 30 parts per run at the narrowest web, hole diameter, and bend angle split by orientation. Log peak press load and jams per 1,000 strokes. A layout that raises load close to the press limit or causes intermittent slug pulling is not safe, even with higher utilization.

Trade-offs and failure modes

Staggered nesting saves strip width and pitch, but it creates two populations in one strip. Grain direction relative to the bend differs by 180 degrees, so springback and edge cracking can differ by position. Checking only the pooled average hides that split. I would set the acceptance check on each orientation separately.

The second failure mode is the web between cuts. Below roughly 1.0 times material thickness, the web tears instead of shearing. Burr climbs, slugs pull up, and the die jams. That appears as spikes in scrap count rather than a steady rise, which is why jam count belongs in the trial data. If the staggered layout needs a web under that limit to hit 74%, the gain is bought with die wear and unplanned stops.

A process change can be tested the same way after nesting is locked. Reducing trim allowance or combining blank and pierce in a progressive die removes skeleton scrap, but it concentrates load and makes one worn punch scrap a full strip. I would change only one of those at a time, keep the nesting layout fixed, and require the same burr and dimension checks before release. If utilization rises and defective parts do not, the change is real. If scrap weight falls while rejects rise, the loss has moved rather than been removed.

Curated: · Written: · Reviewed: —

Difficulty: Hard
Q&A-74What is the purpose of a pilot production run in new product introduction before ramping to full volume?

The 90-second answer

A pilot production run proves that the production process can make the product to specification, using production tooling, materials, operators and measurement equipment, before volume ramp starts. The prototype already proved the design can work. The pilot proves the factory can repeat it.

That distinction decides the ramp. If the pilot uses hand-built parts or prototype tools, it tells you nothing about yield, cycle time or capability at volume. If it uses the real line, a failure there is cheap to fix and a pass gives you a baseline for staffing, material orders and delivery dates.

Where the pilot sits

StageMain question it answersTypical output
PrototypeCan the design meet the drawing and function?Approved design, first article results
Pilot runCan production make it repeatedly, at rate and at acceptable yield?Yield, cycle time, capability data, updated work instructions
Volume rampCan the line sustain that performance shift after shift?Stable output against demand, control plan in routine use

The pilot is usually a small batch, often tens to hundreds of parts depending on the product, built in one continuous run rather than cherry-picked good parts. Parts are inspected to the drawing, defects are recorded by type, and station times are measured. The results become the reference point for the ramp. A later drop in yield or a slower cycle is then visible as a change from the pilot baseline, not as an argument about what the process should do.

No Yes Prototype approved Pilot run on production line Inspect parts and record yield and cycle time Meets drawing at planned rate? Fix tooling, process or instructions Start volume ramp

What a pass looks like in practice

A pass is not a single good part. It is a run where critical dimensions are in specification, first pass yield matches the figure used in the business case, and every station cycles within the time available to meet demand. The bill of material, drawings and work instructions used in the pilot are the released versions, so the ramp does not introduce a different product.

Two common pilot failures are worth naming. One is building the pilot with the engineering team on the line, which hides training and instruction problems that appear when regular operators run it. The other is inspecting only at the end. A defect created at an early station and caught at final inspection still costs material and time at volume, so the pilot should record where defects arise, not only how many reach the end.

Once the pilot passes, ramp in steps and compare each step with the pilot yield and cycle time. If performance holds, increase volume. If it falls, stop and correct the process before adding more demand. That sequence is the whole point of the pilot: find the problems while the batch is small.

Curated: · Written: · Reviewed: —

Difficulty: Easy
Q&A-75Two products share a bottleneck, 6,000 good units are due by day 6 and 9,000 by day 10, B rework returns to the bottleneck and changeovers depend on sequence: how do you prove the plan and choose what to cut first?

The 90-second answer

I would test cumulative load at the bottleneck, by product and by due date, with rework counted as extra bottleneck starts. A plan that fits the 10-day total can still miss day 6, and moving rework off the bottleneck changes the answer more than cutting a changeover.

Hypothetical figures for the worked example: two 7.5 h shifts per day, OEE 85%, product A needs 5,400 good units at 40 s per start and 92% first-pass yield with scrap only, product B needs 3,600 good units at 55 s per start. For B, 85% pass first time, 10% rework once on the bottleneck and then pass, 5% scrap. Changeover A to B is 60 min, B to A is 120 min. Demand is 6,000 good units by end of day 6 (4,000 A and 2,000 B) and 9,000 by day 10.

Python
# Python 3.11, hypothetical figures above
gross_h_10d = 10 * 2 * 7.5
eff_min_10d = gross_h_10d * 0.85 * 60          # 7,650 min
eff_min_6d = 6 * 2 * 7.5 * 0.85 * 60           # 4,590 min

def run_min(good, cycle_s, good_per_start):
    starts = good / good_per_start
    return starts, starts * cycle_s / 60

# A: 92% pass, no rework. B: 85% + 10% rework pass = 95% good per initial start
a_starts, a_min = run_min(5400, 40, 0.92)      # 5,870 starts, 3,913 min
b_starts, b_min = run_min(3600, 55, 0.95)      # 3,789 initial starts
b_rework_min = 0.10 * b_starts * 55 / 60       # 347 min on bottleneck
b_min_total = b_min + b_rework_min             # 3,821 min
print(a_min + b_min_total)                     # 7,734 min vs 7,650 available
print(a_min + b_min)                           # 7,387 min if B rework moves offline

With rework on the bottleneck, total load is 7,734 min before any changeover, already 84 min over the 7,650 min available. Moving B rework to an offline bench drops bottleneck load to 7,387 min. Adding one A to B changeover gives 7,447 min, leaving 203 min margin over 10 days. That margin is about 3% and vanishes with a small OEE or yield drop.

CheckLoad (min)Available (min)Gap
10 days, rework on bottleneck, no changeover7,7347,650-84
10 days, rework offline, one A to B changeover7,4477,650+203
Day 6, rework offline, one changeover4,8874,590-297
Day 6, plus one extra shift before day 64,8874,972+85

Day 6 load is 2,899 min for 4,000 A plus 1,928 min for 2,000 B initial starts, plus the 60 min changeover. One extra 7.5 h shift at 85% OEE adds 382 min. Placed after day 6 it helps the 10-day total and does nothing for the day 6 commitment. The sequence also matters. Running B first then A costs 120 min for the return changeover and consumes the margin created by moving rework.

No Yes Split demand by product and due date Add rework starts to bottleneck load Check cumulative load at day 6 and day 10 Day 6 load fits? Move rework offline, add shift before day 6, or subcontract B Release A campaign first, then B

Choosing what to cut first

Cutting a changeover saves 60 min at most here, so it cannot close a 297 min day 6 gap. Moving rework offline saves 347 min of bottleneck time and is the first lever, provided the bench has the fixture, torque control and inspection to hold the same quality. Adding one shift before day 6 closes the remaining gap with only 85 min to spare, so I would also freeze the A campaign first and confirm material and tooling for that campaign before release. Subcontracting B removes 3,474 min of initial load and solves both dates, but it needs a qualified process and incoming inspection, and it should be priced against one extra shift plus the rework bench.

Failure modes that invalidate the arithmetic

Reported OEE often counts reworked units as output without counting the second pass as load, which inflates capacity exactly where the constraint sits. I would pull four weeks of starts, good units and rework starts by product and recompute OEE from those counts. The bottleneck also moves with mix. B at 55 s consumes 38% more bottleneck time per start than A, so a late shift toward B raises load even at constant unit volume. Finally, building A and B ahead on upstream stations does not create bottleneck capacity. It creates aged work in process in front of the constraint while the due date still fails.

Curated: · Written: · Reviewed: —

Difficulty: Hard
Q&A-76An internal audit finds three gauges past their calibration due date still in use on the shop floor. Walk me through how you would contain it, find the root cause, and prove the fix before the ISO 9001 surveillance audit?

The 90-second answer

I would separate three things the audit will test: containment of the gauges already used, correction of the records, and corrective action that stops the same miss happening again. Containment comes first because parts measured with an out-of-calibration gauge cannot be assumed good. I would quarantine the three gauges, identify every lot measured with them since the due date, and remeasure the critical features on a calibrated gauge. Only after that would I look for why the system let expired gauges stay in use.

Assumptions I would state up front: the gauges are for features with drawing tolerances, the calibration lab is accredited, and the due dates in the register are correct. If the register itself is wrong, the root cause sits in data entry rather than in the recall process.

Containment and correction

Clause 7.1.5 requires measuring equipment to be calibrated or verified at specified intervals, traceable to national or international standards where available, and safeguarded from damage and adjustment. Clause 8.7 requires nonconforming outputs to be identified and controlled. An expired gauge in use is both.

I would tag the gauges out of service, pull the inspection records for the period since expiry, and list the lots affected. For a worked example, suppose a 25 mm micrometer expired on 3 March and was found on 18 March. The shop used it on 42 lots. I would remeasure the bore diameter on a sample from each lot on the CMM, using the same datum scheme as the drawing, and disposition the lots from those results. Lots already shipped get a risk assessment and, if the remeasurement shows a borderline feature, a customer notification decision recorded with quality management. The correction is the remeasurement and disposition. It does not close the nonconformity.

Expired gauge found Tag out and quarantine List lots measured since due date Remeasure critical features on calibrated gauge Disposition lots and assess shipped product Root cause and corrective action Effectiveness check on next cycle

Root cause

I would trace the gauge through the system rather than blame the operator who picked it up. Three checks decide where it broke.

CheckQuestion it answersEvidence
RegisterWas the due date entered and flagged 30 days ahead?Calibration register extract and reminder log
Physical controlDoes the gauge carry a visible due date, and is there a quarantine point?Photo of gauge, location of quarantine cage
Use pointDoes the work instruction or traveller require a calibration check before use?Traveller and control plan for the operation

A common pattern in a 120-person site is that the register is correct, the reminder goes to a quality engineer who has left, and the gauge has no due date sticker because the sticker printer was out of stock. The cause is then an unowned reminder and a missing visual control, and the fix has to change both. Retraining the operator alone would not survive the next surveillance audit, because the auditor will ask what changed in the process.

Corrective action and effectiveness

The corrective action I would implement: assign the reminder to a role with a named deputy, add a 30-day and 7-day alert in the register, require a due date sticker before a gauge returns from the lab, and add a calibration check to the first-piece sign-off so the operator confirms the gauge is in date. I would also run a one-time sweep of every gauge on the floor against the register, because three expired gauges found by chance usually means the sweep has never been done.

Effectiveness is proved with data from the next cycle, not with a statement that the new process is in place. I would check at 30 and 90 days that no gauge was used past due, that the sweep found zero further expired gauges, and that the first-piece records show the calibration check completed. I would record the sample size and the result in the corrective action log under clause 10.2, with the containment decision, the root cause, the action taken, and the verification result on one page. That single record is what I would hand the surveillance auditor.

Two failure modes are worth naming. The first is closing the finding when the gauges are recalibrated. Recalibration is a correction. The auditor will reopen the finding at the next visit if the recall process is unchanged. The second is remeasuring only the parts still in stock and ignoring shipped lots. Clause 8.7 and the customer notification decision have to cover product that has left the site, and the record has to show that the decision was made even when the answer was that no notification was needed.

Curated: · Written: · Reviewed: —

Difficulty: Medium
Q&A-77Walk me through how you would build a production dashboard that separates leading process indicators from lagging quality results, and what you would do when they disagree?

The 90-second answer

I would put leading and lagging measures on the same time axis, grouped by lot and shift, but I would never average them into one score. Leading indicators are process variables I can act on before parts are made: solder paste volume, oven zone temperature, spindle load, tool age, ambient humidity, and first-piece measurements. Lagging results are what the customer or final test sees: first-pass yield, defect PPM, scrap, rework hours, and Cpk on the finished dimension. The dashboard exists to show whether a move in the first group predicts a move in the second, and how many parts sit in between.

That time gap is the design point. If I plot final yield by hour and SPI volume by hour on separate panels with different scales, a drift looks unrelated. If I align both to lot completion time and add a rolling mean, I can see the SPI drift at 09:40 and the bridging failures at final test at 11:20, with roughly 180 boards produced in between. Those 180 boards are the exposure I need to contain.

TypeMeasureSource and cadenceAlert ruleReaction
LeadingSPI paste volume, % of targetSPI per board, median by lotRolling 20-board mean beyond ±10% for 2 lotsStop, clean stencil, check paste height
LeadingReflow zone 3 peak, °COven thermocouple, 1 Hz, lot maxLot max outside 245-255 °C windowHold lot, check profile and conveyor speed
LeadingSpindle load on bore opCNC, per cycleMean load up 15% over 50 cyclesInspect tool, check chip evacuation
LeadingFirst-piece bore diameterCMM or bore gauge, per lot2 of 3 points beyond 1 sigma toward limitAdjust offset before continuing lot
LaggingFirst-pass yield at final testMES, per boardBelow 98% for a shift or p-chart signalContain lots since last good leading check
LaggingDefect PPM by codeMES, per shiftPareto top code doubles week on weekPareto review, do not chase minor codes
LaggingFinished bore CpkFinal inspection, per shiftCpk below 1.33Capability study, not just recent parts

How I build it

I start from the control plan and PFMEA, not from available data. For each critical characteristic I list the process parameter that should move first, the sensor that measures it, and the lagging characteristic it protects. That gives me a short list. A dashboard with 40 leading tiles teaches operators to ignore all of them.

Data comes from the MES for lot genealogy, the machine or oven logger for process values, and the test system for results. Every record needs board or part ID, lot, timestamp, and station. Without that join I cannot align a leading value to the parts it affected. I aggregate leading values by lot median or lot max, depending on the failure mode. Peak temperature matters as a max. Paste volume matters as a median, because one board outlier should not stop a line.

Control limits go on leading indicators. Specification limits go on lagging results. Mixing them up is a common error. A paste volume at 112% of target may still be inside the printer specification, but if the process mean has shifted from 100% to 112% over two lots, the control chart should signal before bridging appears.

Python
# Python 3.11, pandas. One row per board from MES + SPI + final test.
df = df.sort_values('timestamp')
df['spi_roll20'] = df['spi_volume_pct'].rolling(20, min_periods=20).median()
df['spi_alert'] = df['spi_roll20'].gt(110) | df['spi_roll20'].lt(90)
# Exposure: boards built after the first alert in a lot until final test clears them
exposure = df[df['spi_alert']].groupby('lot_id').size()

When they disagree

Leading bad, lagging still good: I treat it as an early warning, not proof of bad parts. I check the sensor first. A paste volume jump after a stencil clean often means the SPI calibration or aperture is wrong, not the boards. I run a first-piece check and compare SPI volume to a weighed deposit. If the sensor is right, I contain the lots built since the shift started, because final test has not yet sampled them.

Leading good, lagging bad: I distrust the leading set. Either the wrong parameter is on the dashboard, the sensor is downstream of the cause, or the defect comes from handling after the measured step. I stratify lagging defects by lot, operator, and time, then walk the process from the last measured point to final test. A classic case is humidity. The oven profile looks perfect, but boards sit in a humid staging area for 90 minutes before placement, and moisture sensitivity drives popcorning at reflow. The leading indicator existed, it just was not collected.

I review the pairing weekly. For each leading indicator I check correlation with the lagging defect at the correct lag, not at the same timestamp. If a parameter never predicts the defect, I remove it or move it to a diagnostic page. The main page keeps only pairs where an operator action exists and the action has a time limit. A tile without a reaction plan is decoration, and operators learn to ignore the whole board.

Curated: · Written: · Reviewed: —

Difficulty: Medium
Q&A-78Design engineering wants a 0.5 mm ABS wall for a 120 mm housing for weight, but molding trials short shot and warp. How would you resolve that manufacturability conflict with them?

The 90-second answer

I would bring trial data, not an opinion about the wall, and I would separate the weight requirement from the 0.5 mm solution design proposed for it. For the part in question, assume a housing about 120 mm across, a melt flow path of roughly 100 mm to the far corner, and a single gate. At 0.5 mm wall that gives a flow length to thickness ratio near 200. That is at or beyond the practical limit for standard ABS in that geometry, so the melt front can freeze before fill completes and the thin section cools unevenly and warps. That verdict depends on size and flow path. A small part with a 15 mm flow path can run much thinner.

Typical ABS wall guidance is about 1.5 to 3.5 mm for medium sized housings. Small parts, short flow paths, high flow grades and a heated mold can run thinner, sometimes near 0.8 to 1.2 mm, but that needs validation on the actual tool. It does not make 0.5 mm a safe default for a 120 mm housing.

Trial shows short shot and warp at 0.5 mm Agree function: weight, stiffness, seal, drop Mold flow plus trial on 0.5, 1.2 ribbed and 1.5 mm variants Compare fill, warp, weight, cycle time and cost Design updates CAD through ECO Re-trial, first article and control plan

What I would put on the table

I would mold three variants on the same tool where possible: the released 0.5 mm wall, a 1.5 mm wall, and a 1.2 mm wall with 2.0 mm ribs. I would record fill completeness, warp on a flatness gauge or CMM, part weight and cycle time. The figures below are a labelled hypothetical example of how I would present the result, not measured data from a specific program:

VariantFillWarpWeightOutcome
0.5 mm wallShort shot at far corners0.80 mm42 gFails seal and fit
1.5 mm wallFull fill0.15 mm58 gPasses, heavier
1.2 mm wall plus ribsFull fill0.20 mm49 gPasses, near weight target

That table gives design a choice based on function. Ribs recover stiffness more efficiently than a uniformly thick wall, so the ribbed variant keeps most of the weight saving while filling reliably. If design still needs lower weight, we cost a high flow ABS grade, a thinner wall with a shorter flow path or second gate, or a material change, before cutting steel.

How we close it

Design updates the CAD, I update the mold and process window, and we raise an engineering change order so drawing, BOM and inspection plan move together. I would add minimum wall and rib notes to the drawing and add fill and warp checks to first article inspection. The failure mode to avoid is a verbal agreement with no ECO. The line then builds the old geometry while the mold shop cuts the new one, and the two diverge. The ECO and the re-trial are what make the resolution stick.

Curated: · Written: · Reviewed: —

Difficulty: Medium
Q&A-79Your prototype housing is built by two engineers in 12 minutes with hand tools, and production must ship 400 per shift: how do you prove the fixtures, work instructions and operator training are ready to ramp?

The 90-second answer

I would not ramp on the basis that engineers can build it. I would run a gated pilot with production fixtures, production work instructions and production operators, and I would require evidence at each gate before volume increases. The prototype process hides three things that break at volume: tacit steps only the designers know, a fixture that works when one person loads it carefully, and training that records attendance rather than competence. The pilot has to expose all three.

Assume demand is 400 good housings per 450 minute shift. Takt is 450 x 60 / 400 = 67.5 seconds per good part. If first pass yield is 90 percent, the line must start 445 parts, so effective takt at the constraint is about 60 seconds. A 12 minute prototype build therefore needs roughly twelve 60 second stations, or parallel stations, before it can meet takt. That arithmetic decides the line layout before any fixture is cut.

Pilot structure

I would freeze the design and process definition for the pilot, then build the production fixture to a stated repeatability target, not to "make it fit". For a housing located on two dowels and clamped over a sealing face, I would specify location repeatability of 0.05 mm or better over 500 cycles, clamp force within 10 percent of nominal, and a wear limit with a go/no-go check at the fixture. The fixture gets a maintenance interval and a spare insert, because a fixture that drifts at cycle 2,000 will look fine in a 50 part trial.

The work instruction is written from the pilot, not from the prototype notes. Each step states the tool, torque or dispense volume, the visual standard for a good part, and the reaction if the check fails. Photos show the actual production fixture and the actual part orientation. A step that an engineer performs by feel, such as seating a gasket by thumb pressure, becomes a defined operation with a roller, a force range or a poka-yoke that prevents the next step if the gasket is absent.

Training is certified per station. An operator is not signed off for reading the instruction. They build parts unsupervised, then build a blind set containing known good and known defective parts. I would require, for example, 30 consecutive parts at the station with no escapes on seeded defects and cycle time at or below the station standard. The training record names the station, the instruction revision and the assessor.

GateEvidence requiredStop condition
Fixture readinessRepeatability study, clamp force check, wear limit definedRepeatability worse than 0.05 mm or clamp force out of range
Instruction readinessRevision controlled, photos match production parts, reaction steps presentAny step relies on operator judgement with no visual standard
Operator readinessBlind defect test passed, cycle time met for 30 partsAny seeded defect escapes or cycle time above standard
Pilot runThree lots at rate, first pass yield and capability trackedYield below target or a special cause on the control chart
RampControl plan live, reaction plan posted, spare fixture availableNo containment plan for a suspect lot

Worked pilot trace

Run three lots of 150 parts with the operators who will staff production, across two shifts. Record start count, good count, rework count and scrap by defect code. Suppose lot 1 gives 132 good from 150 starts, lot 2 gives 141, lot 3 gives 144. Yield is rising, which usually means learning, not a stable process. I would not average it away. I would stratify by operator and shift. If one operator accounts for 9 of 12 gasket defects, the cause is training or instruction clarity at that station, not the gasket supplier. If defects rise after 90 minutes, I would check fixture temperature, adhesive pot life and fatigue, in that order, because those are the mechanisms that change within a shift.

For a critical dimension, I would measure 30 parts per lot and calculate Cpk against the drawing tolerance. A Cpk below 1.33 at pilot, with the process centred, stops the ramp even if yield looks acceptable. Yield can be held up by 100 percent inspection that production will not sustain.

No Yes Freeze design and process definition Build production fixture to repeatability target Write work instruction from pilot build Certify operators per station with blind defects Run three lots at rate across shifts Yield and Cpk meet target? Contain, find cause, revise fixture or instruction Ramp with control plan and reaction plan live

Failure modes I would name in the interview

First, the engineer effect. The prototype was built by the people who designed it, so the pilot must exclude them from the build stations. If they are needed to answer questions, each question becomes a missing instruction step.

Second, fixture wear and thermal drift. A fixture checked cold at 08:00 can be 0.08 mm different at 14:00 on a large aluminium part. I would include a mid-shift fixture check in the pilot, not just a start-of-shift check.

Third, training decay. Operators certified on revision C will keep using revision C habits after revision D changes a torque value. The certification record must tie to the instruction revision, and the old revision must be removed from the station.

Fourth, ramp pressure. The common failure is releasing volume because the pilot lot shipped, while the control plan, spare parts and reaction plan are still drafts. I would treat a missing reaction plan as a failed gate, because the first suspect lot will otherwise be sorted by opinion rather than by a defined containment rule.

Curated: · Written: · Reviewed: —

Difficulty: Hard
Q&A-80Your automated fixture gives almost identical readings when it cycles the same housing without reloading, but readings shift when different operators load it. How do you explain repeatability versus reproducibility here, and what test would you run to confirm it?

The 90-second answer

The fixture is telling you two different things. Repeatability is variation when nothing changes between measurements. Same part, same loading, same cycle, run again. Reproducibility is variation when the conditions that should not matter do change, here who loads the part and how it seats. Your result, stable without reloading and shifting with the operator, points to seating, not sensor noise.

I would prove that with two short tests on the same housing, nominal 12.00 mm with a ±0.10 mm tolerance. First, leave the part clamped and cycle the measurement 20 times. Second, unload and reload the same part 20 times, alternating operators if possible, and measure each time. If the first set is tight and the second set spreads out, the sensor can repeat and the fixture cannot guarantee the same part position.

Worked trace

Hypothetical readings in mm, labelled as an example:

TestConditionMeanRangeStd dev
ANo reload, 20 cycles12.0020.0180.005
BReload each time, 20 cycles12.0110.0720.021

Test A range is 9% of the 0.20 mm tolerance band. Test B range is 36% of the band. A part sitting near 12.09 mm could read 12.07 mm in one loading and 12.11 mm in another, so the fixture would pass and fail the same physical part. That is a reproducibility problem even though repeatability looks excellent.

Python
# Python 3.11, simple check from the trace above
tolerance = 0.20  # mm, 12.10 - 11.90
range_a = 0.018
range_b = 0.072
print(f"A: {100 * range_a / tolerance:.0f}% of tolerance")
print(f"B: {100 * range_b / tolerance:.0f}% of tolerance")

What to check next

I would look for a second stable seating position. Common causes on an automated nest are a worn locating pin, a datum face with chips or burrs, clamp force that depends on operator hand pressure, and a part that can rock on a thin wall before the clamp closes. A seating sensor, a hard stop, or a clamp that closes to a fixed force rather than a fixed stroke often removes the second position.

I would also check whether one operator accounts for most of the shift. Plot the reload readings by operator. If one operator averages 12.03 mm and another 11.99 mm, the loading method differs. If all operators spread equally, the nest itself allows movement.

A useful follow-up is to rerun Test B after the fix with the same 20 reloads and compare ranges, not just pass counts. If the range drops from 0.072 mm to near 0.020 mm, seating is controlled. I would then keep a golden part check at shift start, because a fixture can pass a short study and drift as pins wear or contamination builds up during a shift.

Curated: · Written: · Reviewed: —

Difficulty: Medium
Q&A-81A 120 mm ABS housing is machined on a steel fixture and inspected at 20°C, but runs at 60°C in service: how would you test thermal expansion effects on the fixture, part and tolerance stack?

The 90-second answer

Start from the reference temperature on the drawing, usually 20°C, and calculate free expansion for part and fixture separately. Then test the constrained case, because a part that grows freely in a CMM may bind, bend or lose clamp load in the fixture. If the hot dimension or the hot clearance falls outside the tolerance stack, the design fails even if every part passes at 20°C.

Use ΔL = α × L × ΔT, with α in per °C. Typical values: aluminium 23×10⁻⁶, steel 12×10⁻⁶, ABS about 70×10⁻⁶. The mismatch matters more than either value alone.

Python
# Python 3, checked against the table below
alpha_abs, alpha_steel = 70e-6, 12e-6
L0, T_ref = 120.0, 20.0  # mm, degC
for T in (20, 40, 60):
    dT = T - T_ref
    print(T, round(L0*(1+alpha_abs*dT), 3), round(L0*(1+alpha_steel*dT), 3))

Worked trace: 120 mm ABS housing on a steel fixture

Temp (°C)ABS part (mm)Steel fixture (mm)Differential growth (mm)
20120.000120.0000.000
40120.168120.0290.139
60120.336120.0580.278

A ±0.05 mm tolerance at 20°C is consumed by a 9°C rise for ABS alone (120 × 70×10⁻⁶ × 9 = 0.076 mm). At 60°C the part is 0.336 mm over nominal. If a locating pin clearance was designed as 0.10 mm at 20°C, the differential growth of 0.278 mm at 60°C closes it and the housing binds or distorts when clamped. An aluminium housing on the same fixture would grow 0.110 mm at 60°C, so the differential is only 0.053 mm and the same clearance survives. Material choice changes the answer, which is why the test must use production material, not a steel dummy.

How I would run the test

  1. Condition samples and fixture at 20°C for at least 4 hours, measure the critical dimensions on a CMM with temperature compensation off, and record actual part temperature with a contact thermocouple, not room air temperature. A wall sensor reading 21°C does not prove the part is at 21°C after machining or handling.
  2. Soak at the service extremes, for example 5°C and 60°C, until thermocouples on the part core and fixture body agree within 1°C and stop changing. Measure free expansion first: part unclamped on a low friction support, measured at each soak.
  3. Repeat clamped in the production fixture with production clamp force. Measure the same features, plus clamp load with a load washer if the design relies on friction, and check for permanent set after returning to 20°C. A shift after the cycle points to yielding, creep in ABS, or fixture slip, not elastic expansion.
  4. Run three thermal cycles. Hysteresis between heating and cooling legs, or growth that keeps increasing cycle to cycle, is a failure even if the first cycle passes.
No Yes Measure at 20C reference Soak hot, free expansion Measure clamped in fixture Soak cold, repeat Return to 20C, check permanent set Hot stack within tolerance? Change material, clearance or datum scheme Set inspection temp and limits on control plan

What to change when it fails

Widen the hot clearance and recheck the cold case, because the same clearance that binds at 60°C may be loose at 5°C and allow vibration or poor location. Move datums to features that expand together, for example locate on the same material or use a floating locator that absorbs growth along the long axis. For ABS, also separate thermal growth from moisture growth by conditioning at fixed humidity, since ABS absorbs moisture and the dimension can move after the temperature stabilises.

On the control plan, state the inspection temperature explicitly and require parts to soak before final measurement. Without that, incoming inspection at a cold morning shift and final inspection after a warm afternoon shift will disagree by more than the tolerance, and neither shift is wrong. The gauge study then needs to be repeated at the inspection temperature, otherwise Gage R&R will absorb thermal drift as measurement variation and hide the real cause.

Curated: · Written: · Reviewed: —

Difficulty: Medium
Q&A-82For tapping steel where lubrication matters most, which coolant type would you choose: straight oil or a water-based emulsion?

The 90-second answer

Straight oil. Tapping is a low speed, high friction operation, so lubrication matters more than cooling. Straight oil forms a thicker film on the tap threads and the workpiece, which lowers friction, reduces galling and helps prevent a tap seizing in the hole. A water based emulsion cools better, but its lubricating film is thinner, so tool life in tapping is usually shorter.

The rule is simple: pick the fluid for the dominant problem in the cut. Friction dominated cuts, such as tapping, reaming and broaching steel, call for oil. Heat dominated cuts, such as high speed milling, call for a water based fluid.

FluidCoolingLubricationTypical choice
Straight oilLowHighTapping and reaming steel
Emulsion, 5 to 10 percent in waterHighMedium to lowHigh speed milling and turning
Semi-synthetic, 5 to 12 percent in waterHighMediumMixed milling and drilling
Synthetic, 3 to 5 percent in waterHighLowGrinding

How the choice shows up in the cut

With straight oil on a steel tap, chips shear cleanly and the tap backs out without tearing the thread flank. With a lean emulsion on the same tap, friction rises, the thread surface roughens and torque climbs until the tap breaks. That torque rise is the practical check. If tapping torque is high or threads look torn, the fluid is too lean for the operation, so I would move to straight oil or a higher concentration emulsion before changing speed or tap geometry.

The reverse also holds. Straight oil in high speed milling smokes, welds chips to the flute and overheats the tool, because it cannot remove heat. That is why the same machine can correctly run oil for tapping and emulsion for milling. The fluid follows the operation, not the machine.

Curated: · Written: · Reviewed: —

Difficulty: Easy
Q&A-83You are qualifying a carbide turning operation on 4140 steel where built-up edge and long ribbon chips are wrecking finish and jamming the conveyor: how do you test chip formation, evacuation and tool life to pick speeds, feeds and geometry?

The 90-second answer

I would not start by raising speed to chase tool life. On 4140 with carbide, long ribbon chips and built-up edge usually mean feed is too low for the chip-breaker to engage, or the edge is too sharp for the interrupted load, and the fix changes both finish and wear. I would run a short, controlled matrix on the actual bar, insert grade and coolant, and judge each condition on three things together: chip form and evacuation, flank wear rate, and surface finish. A condition that gives a good finish for 3 minutes and then packs the chip conveyor is not a production condition.

Assume a CNC lathe, coated carbide insert, 4140 prehardened to about 28 HRC, turning a 40 mm bar at 1.5 mm depth of cut, flood coolant, and a target of Ra 1.6 µm or better with no manual chip clearing. I would fix depth and coolant first, then vary cutting speed and feed, because feed is what sets chip thickness and therefore whether the breaker works.

TrialSpeed (m/min)Feed (mm/rev)Chip form observedVB after 10 min (mm)Ra (µm)Evacuation
A1800.10continuous ribbon, BUE visible0.183.2ribbon wraps chuck, operator stops twice
B1800.20segmented, breaks at breaker0.121.4clears to conveyor, no intervention
C2400.20segmented, finer0.211.1clears, but wear rate high
D2400.10continuous, thin ribbon0.242.8wraps, BUE returns

Trial B beats A on every measure despite the same speed. That is the interaction candidates miss: halving feed to improve finish can make the chip thinner than the breaker groove, so the chip does not curl and break, it slides, welds to the edge, and tears the surface on exit. Raising feed to 0.20 mm/rev gives the breaker something to work with.

How I would run the test so the result is defensible

Use one insert per trial, fresh edge, same bar batch. Run 10 minutes or until VB reaches 0.30 mm, whichever comes first, measuring VB on the flank with a toolmaker microscope at fixed intervals and photographing chips every 2 minutes. Record chip form against a simple classification: continuous ribbon, segmented, discontinuous, plus whether it is a tight curl, loose curl or needle. Weigh chips collected per minute and time any operator intervention. A chip that looks acceptable in a photo but needs a hook every 90 seconds fails evacuation.

I would also check the failure mode, not just the wear number. BUE shows as a welded lump on the edge and a sudden jump in Ra and in cutting force, often with a change in chip colour. Abrasive flank wear is gradual and steady. If VB jumps from 0.10 to 0.28 mm in 2 minutes, that is not normal wear, it is edge chipping or BUE pull-out, and extending the trial to get a Taylor point would be misleading.

Python
# Taylor tool life fit, V * T**n = C, from two valid wear-out trials
import math
v1, t1 = 180, 12.0  # m/min, minutes to VB = 0.30 mm
v2, t2 = 240, 5.0
n = math.log(v2 / v1) / math.log(t1 / t2)
C = v1 * t1**n
for v in (180, 200, 240):
    print(v, round((C / v) ** (1 / n), 1), "min")

That gives n about 0.33 and C about 407, predicting about 8.6 minutes at 200 m/min. I would only use that line inside the tested range and only for trials that ended in steady flank wear. Trial D above would be excluded from the fit because its life was ended by BUE and wrapping, not by VB reaching 0.30 mm in a steady way.

Evacuation is a system test, not a chip photo

Chip form at the tool is only half of it. I would run the chosen condition for a full 30 minute unattended stretch with the production conveyor, chip pan and coolant filtration in place, and count jams, wraps on the chuck or workpiece, and chips carried over the guard. Long chips also recut, which scores the finished surface and can chip the next edge. If evacuation fails, the options in order are: increase feed within the finish limit, change to a more aggressive breaker geometry, increase coolant pressure aimed at the chip root, or reduce depth so chip width falls. Reducing speed alone rarely fixes wrapping.

No Yes No, jump in VB or Ra Yes Jam or wrap Clear Run trial, collect chips Chip breaks at breaker? Raise feed or change breaker geometry VB rate steady and Ra in spec? Check BUE, edge chipping, grade 30 min unattended evacuation run Coolant aim, conveyor, depth Accept condition, set tool change at 70 percent of life

Setting the production limit

I would set the tool change at about 70 percent of the measured life to VB 0.30 mm, not at the limit, because in production bar hardness varies and a worn edge that is allowed to run to the limit will start producing scrap before the operator notices. I would also set a chip-based trigger: if the operator sees continuous ribbon for more than a minute, that is an early warning of BUE or a wrong insert in the turret, and the part should be checked for finish and diameter. Diameter matters here because flank wear pushes the tool away and the part grows oversize before Ra fails.

The trade-off to state plainly: the fastest condition in the table, trial C, gives the best finish but roughly half the life of trial B. If the bottleneck is the lathe and inserts are cheap relative to downtime, C may win on throughput. If the bottleneck is tool changes and inspection, B wins. The test gives the numbers to make that call, rather than picking the condition with the lowest Ra in a 2 minute trial.

Curated: · Written: · Reviewed: —

Difficulty: Hard
Q&A-84A 6-axis robot cell needs hand loading inside the fence: how would you assess the risks and choose between a locked interlocked gate and collaborative speed-and-separation mode?

The 90-second answer

I would start from the task and the limits of the cell, not from the robot brochure. Who enters, how often, what the robot does while they are there, and what happens on a stop, a restart and a fault. Then I would list hazards per task step, estimate risk for each, and apply controls in order: inherently safe design, guarding and safety functions, then information and procedures. For a hand-loading cell that usually means a hard fence with an interlocked gate and a safety-rated monitored stop, with the robot at full speed only when the gate is closed and locked. Collaborative speed and separation is only defensible if I can prove the separation distance is maintained for the whole cycle, including stopping time, and that the operator cannot be trapped or reach a pinch point.

How I would run the assessment

I would use ISO 12100 for the process and ISO 10218-1 and ISO 10218-2 for robot and integration requirements, with ISO 13849-1 to set the required performance level, PLr, for each safety function. In the US I would cross-check ANSI/RIA R15.06. The assessment is documented per task step, not per machine in general.

Task stepHazardWho is exposedInitial riskSafety function and PLr
Load parts, gate open, robot in load positionRobot moves unexpectedly, or resumes on gate closeOperator, hands in fixtureHigh: serious crush or impact, frequent exposureGate interlock with guard locking, Cat 3, PLd. Safety-rated monitored stop in load mode
Automatic cycle, gate closedOperator reaches through fence gap or opens gate mid-cycleOperatorHigh if gap allows reachFixed guarding to ISO 14120, interlock prevents opening until zero speed, PLd
Clear a jam inside cellStored energy, robot restart by second personMaintenance, operatorHighLockout/tagout point, trapped key or enabling device, restart only from outside cell, PLd
Teach and manual jogReduced speed still causes injury at close rangeIntegratorMediumThree-position enabling device, speed limit 250 mm/s in manual, PLd

Severity, frequency of exposure, probability of occurrence and possibility of avoidance drive the PLr. I do not average them away. A frequent hand-in-fixture task with a 6-axis arm moving at 1,500 mm/s cannot be argued down to a warning label.

Sizing the guard and the stop

For a light curtain or scanner I would calculate the safety distance with ISO 13855: S = K x T + C. Take a worked example, labelled as such: K = 2,000 mm/s for hand approach, total stopping time T = 0.35 s measured from demand to zero speed on the worst axis at maximum payload and speed, C = 850 mm for reach over or around the device depending on the device type. That gives S = 2,000 x 0.35 + 850 = 1,550 mm from the hazard to the detection field. If the cell cannot provide that distance, a scanner alone does not work and I need a fence, a slower mode, or a different layout. I would measure T with a stop-time analyser at commissioning and after any payload, speed or brake change, because a vendor figure at no load is not evidence.

For speed and separation in a collaborative mode, ISO/TS 15066 gives the separation formula using the same components: protective separation = human speed, taken as 1,600 mm/s in that document, times system response plus stopping time, plus intrusion and uncertainty allowances. At 250 mm/s robot speed the required separation shrinks, but it never becomes zero. If the operator must work within 300 mm of the arm path, separation monitoring will trip constantly or the robot will crawl, and the honest conclusion is that the task is not a collaborative task.

Define task, limits, users Identify hazards per step Estimate risk and PLr Apply design, guarding, safety functions Validate stop time, PL, fault injection Document, train, review on change

Failure modes I would test before sign-off

A muting sensor left in mute, a scanner blinded by reflective clothing or a forklift mast, a mode selector that can be left in manual, a gate switch defeated with a spare actuator, and automatic restart after a power dip. Each gets a fault injection test: open the gate at full speed, block the scanner field, simulate a single channel failure on the interlock, and confirm the robot reaches a safe stop and cannot restart until the gate is closed, locked and deliberately reset from outside. I would also test the worst case for stopping distance, maximum payload, maximum reach, and a worn brake, and record the values in the risk assessment file.

Residual risk is what remains after those controls, and I would state it plainly to the customer: for example, residual risk of injury during jam clearing if lockout is not applied, controlled by procedure and training, with the lockout point placed at the cell entrance. If the customer wants full speed with the gate open for loading, I would refuse that configuration and offer a load station outside the fence, a rotary table, or a shuttle that presents parts without entry. That trade-off, cycle time against exposure, is the decision the assessment exists to make visible.

Curated: · Written: · Reviewed: —

Difficulty: Hard
Q&A-85A pressure sensor on a 12-hour filling line drifts +0.08 bar as it warms from 22°C to 42°C: how would you test whether that is a temperature effect or ageing drift, and apply compensation?

The 90-second answer

I would hold the applied pressure constant and see whether the error follows temperature or follows elapsed time. Ageing drift keeps growing at constant temperature. A temperature effect grows while the sensor warms, then flattens when temperature flattens, and it reverses when the sensor cools. That difference decides the fix.

Take a 0 to 10 bar sensor controlling a filler at 6 bar, loop tolerance plus or minus 0.10 bar. I connect a reference gauge or a second calibrated transducer at the same tap, log both readings and sensor body temperature every 15 minutes for a 12 hour run, and keep the setpoint fixed. I do not change the process during the test, or I lose the comparison.

Worked trace

HourReference (bar)Sensor (bar)Error (bar)Body temp (°C)
06.006.000.0022
26.006.02+0.0231
46.006.05+0.0538
66.006.07+0.0741
86.006.08+0.0842
126.006.08+0.0842
12, cooled6.006.01+0.0123

Error stops rising after hour 6, exactly when temperature stops rising. After a 30 minute cool down with the same 6 bar applied, error falls back to +0.01 bar. That pattern is a temperature effect, not ageing. Ageing would have stayed near +0.08 bar after cooling.

The coefficient is simple arithmetic:

error change = 0.08 bar
temperature change = 42 - 22 = 20 °C
coefficient = 0.08 / 20 = 0.004 bar per °C

I would check that coefficient at a second pressure, say 3 bar and 9 bar, during a controlled warm up. If it is roughly the same in bar per degree at all three pressures, it behaves like a zero shift with temperature. If it scales with pressure, it is a span effect and needs a different correction. I would also repeat the warm up once. A coefficient that repeats within about 20% is usable. One that wanders is a sign of a loose connection, a leaking tap or a damaged sensor, and compensation would hide a real fault.

Applying compensation

Software compensation uses the measured body temperature:

Python
# Checked against Python 3.11, values from the trace above
def corrected(reading_bar, temp_c, ref_temp_c=22.0, coeff=0.004):
    return reading_bar - coeff * (temp_c - ref_temp_c)

for reading, temp in [(6.08, 42), (6.05, 38), (6.01, 23)]:
    print(temp, round(corrected(reading, temp), 3))

That returns 6.00, 6.00 and 6.01 bar. The correction works only because the temperature element sits on the sensor body. Using the room thermostat or a cabinet sensor 2 m away would lag the real temperature by several degrees and leave a residual error of 0.02 to 0.03 bar.

Two approaches, main trade-off

ApproachWhat it doesTrade-off
Software compensationSubtracts coeff × (T - 22) in the PLCCheap, no line change, but depends on a stable coefficient and a good temperature measurement
Temperature-compensated sensor or thermal isolationSensor is specified or mounted to reject the effectCosts more per sensor and may need a manifold change, but the loop does not depend on a correction staying valid

I would use software compensation when the corrected error stays inside plus or minus 0.03 bar on a repeat run and the coefficient is stable across pressures. I would move to a compensated sensor or isolation when the coefficient changes after a sensor swap, when the temperature sensor cannot be mounted on the body, or when the residual error still eats more than a third of the loop tolerance.

Yes No, keeps rising at constant temp Yes No Hold pressure constant, log error and temp Error follows temp and reverses on cooling? Fit bar per degree C, apply correction Treat as ageing drift, set recalibration interval Corrected error within limit on repeat run? Keep compensation, chart zero check hourly Replace sensor or isolate it thermally

For ageing drift, the decision is interval based. If error rose 0.08 bar in 12 hours at constant temperature, it would cross a 0.05 bar action limit in about 7 hours, so I would recalibrate or re-zero mid-shift rather than run the full 12 hours. In the temperature case above, no mid-shift recalibration is needed once compensation is validated, because the error is predictable and reversible. I would still log a zero check each shift, since a step change after maintenance points to a swapped sensor with a different coefficient, not to drift.

Curated: · Written: · Reviewed: —

Difficulty: Medium
Q&A-86Which probability distribution would you use to model the number of defective housings in a fixed-size sample, and what are its key assumptions?

The 90-second answer

For a fixed number of inspected units, I would start with the binomial distribution. Each housing is a Bernoulli trial: defective with probability p, good with probability 1-p. If n is fixed in advance, trials are independent, and p stays constant over the lot, the number of defectives X follows Binomial(n, p), with mean np and variance np(1-p).

That is the model behind attribute sampling, AQL plans, and first-pass yield estimates for a stable process. I would state those three assumptions up front, because in a plant they are the parts that usually break.

Worked example

Suppose final inspection samples n = 50 housings per lot and the historical defect rate is p = 0.02, or 2%. Expected defectives per sample are 50 x 0.02 = 1.0.

Python
from math import comb

n, p = 50, 0.02
for k in range(4):
    prob = comb(n, k) * p**k * (1 - p)**(n - k)
    print(k, round(prob, 3))
Defectives kP(X = k)Reading
00.364About 36% of samples pass clean
10.372Most common single outcome
20.186
30.061
2 or more0.264Roughly 1 lot in 4 triggers investigation

So a sample with 2 defectives is not, on its own, evidence the process changed. It happens about 19% of the time at the current p.

Choosing between the common distributions

Data typeDistributionWhen it fits
Count of defectives in a fixed sampleBinomial(n, p)n fixed, each unit pass or fail
Count of defects per unit or per opportunityPoisson(lambda)No fixed n, defects can occur multiple times per unit
Continuous measurement, e.g. bore diameterNormal(mu, sigma)Many small independent causes add up, roughly symmetric

Poisson is the limit of binomial when n is large and p is small, so np stays moderate. If I count scratches per housing with no fixed number of trials, Poisson is the better starting point. If I measure diameter in mm, neither count distribution applies and I would look at a normal model, after checking the histogram and stability.

Where binomial fails on the floor

The usual failure is p not being constant. A tool wears over a shift, one cavity in a multi-cavity mould runs hotter, or defects cluster after a material change. Then observed variance exceeds np(1-p). That overdispersion is the tell. I would plot defectives per sample in run order, compare observed variance with np(1-p), and run a chi-square goodness-of-fit check. If variance is well above the binomial prediction, I would not quote binomial probabilities to a customer. I would stratify by cavity, shift, or tool age, or move to a beta-binomial model that allows p to vary between lots.

Independence can fail the same way: a single bad setup affects a whole subgroup. The fix is the same, stratify first, model second, and never let a neat distribution hide a process that is not stable.

Curated: · Written: · Reviewed: —

Difficulty: Easy
Q&A-87You sampled 400 housings and found 12 leak failures, and the customer wants a 95% confidence interval for the true defect rate before you ship: walk me through how you calculate it and how many you would need to sample to halve the width?

The 90-second answer

Start by separating two quantities that get mixed on the floor. A defective rate is the proportion of units that fail, so it is binomial. A defect rate is defects per unit, where one unit can carry several defects, so it is Poisson. For a pass or fail leak test, use the binomial model. Report a Wilson score interval, not the textbook Wald interval, and state the sampling plan behind it. A confidence interval computed from a convenience sample taken from one shift does not describe the lot.

For $x$ failures in $n$ sampled units, $\hat p = x/n$. The Wald interval $\hat p \pm z\sqrt{\hat p(1-\hat p)/n}$ is what most spreadsheets produce. It breaks down exactly where manufacturing lives, at low $p$ and modest $n$, because it can go below zero and its actual coverage falls well under the nominal 95%. Wilson inverts the score test and stays inside $[0,1]$ with coverage close to nominal. Clopper-Pearson is exact but conservative, so it is wider than needed for a routine ship decision.

Worked example

You pull 400 housings at random across the lot and find 12 leak failures. $\hat p = 12/400 = 3.0%$, so estimated yield is 97.0%.

Method95% interval for true defect rateComment
Wald1.33% to 4.67%Symmetric, too narrow at low $p$
Wilson1.72% to 5.17%Use this for the ship decision
Clopper-Pearson1.56% to 5.20%Exact, slightly conservative

The yield interval is the mirror image: 94.83% to 98.28% by Wilson. Read it as a statement about the procedure. If you repeated this sampling and interval construction on many lots from the same process, about 95% of the intervals would contain the true rate. It is not a 95% probability that this one interval contains it, and it says nothing about a future lot if the process shifts.

Python
# Python 3.11, no third-party packages
import math

def wilson(x, n, z=1.96):
    p = x / n
    denom = 1 + z**2 / n
    centre = (p + z**2 / (2 * n)) / denom
    margin = z * math.sqrt(p * (1 - p) / n + z**2 / (4 * n**2)) / denom
    return centre - margin, centre + margin

lo, hi = wilson(12, 400)
print(f"{lo:.4f} to {hi:.4f}")  # 0.0172 to 0.0517

How large a sample, and what shrinks the interval

Width scales as $1/\sqrt{n}$, so halving the width needs roughly four times the sample. To pin a rate near 3% to within $\pm0.5$ percentage points at 95% confidence:

$$n \approx \frac{z^2 p(1-p)}{E^2} = \frac{3.8416 \times 0.03 \times 0.97}{0.005^2} \approx 4{,}472$$

That is the honest cost of a tight claim at low defect rates. Two cheaper levers exist. Stratify the sample across shifts, cavities and fixtures, because a sample clustered in one cavity estimates that cavity, not the process. And reduce $p$ itself. At $p = 1%$, the same $\pm0.5$ point margin needs only about 1,520 units, since $p(1-p)$ shrinks.

Where this fails in practice

Clustering is the failure mode I see most. If defects come in bursts from a worn seal, consecutive units are correlated and the effective sample size is far below the nominal $n$. The interval looks precise and is wrong. Check for it before quoting a number: plot failures in production order, compare the observed variance of subgroup proportions against binomial variance, and if subgroups over-disperse, sample across time and report the between-subgroup variation instead of pooling blindly.

The second failure is a non-random sample. Units pulled from the top of a tote, or only from the shift that runs the leak test correctly, bias $\hat p$ in a way no interval formula repairs. Random selection across the whole lot, with the sampling frame written into the record, is what makes the interval defensible to a customer or an auditor.

If each unit can carry multiple defects, switch models. Count total defects $c$ over $n$ units, estimate $\bar u = c/n$, and use a Poisson interval for $\bar u$, for example via the chi-square relationship. Reporting a binomial interval for a defects-per-unit count understates the rate whenever rework finds second defects on already failed units.

Curated: · Written: · Reviewed: —

Difficulty: Hard
Q&A-88Yield rose after you raised oven temperature, but a new operator started the same week. How would you test whether temperature or operator caused the gain?

The 90-second answer

I would compare yield in the four combinations of temperature and operator, rather than comparing before and after the change. Before and after mixes two changes at once, so it cannot separate them. The four-cell comparison can.

Assume low temperature is 180 C and high is 200 C, and the operators are the experienced operator and the new operator. If temperature is the cause, yield should rise at 200 C for both operators. If the operator is the cause, yield should be higher for the new operator at both temperatures, with little difference between temperatures. If both matter, both patterns appear.

Operator180 C yield200 C yieldParts per cell
Experienced91.2%91.5%800
New95.8%96.1%800

Hypothetical figures, labelled as such. In this pattern the new operator accounts for about 4.6 points and temperature for about 0.3 points. The pooled before and after comparison would have credited temperature, because the high temperature period happened to contain more of the new operator's work. That is confounding: a third variable moves with the suspected cause and also affects the outcome.

New operator starts Oven set to 200 C Yield

The arrow from operator to temperature is the problem. It creates a back-door path, so the simple correlation between temperature and yield includes the operator effect.

Two ways to get the four cells

The cheap way is to use records you already have. Pull yield by operator and temperature, as in the table, and check whether the temperature gap survives inside each operator group. This costs nothing and often settles the question. Its limit is that it only adjusts for variables you recorded. If the new operator also got easier boards, or a different shift, that hidden difference still sits inside the cells.

The stronger way is a short controlled run. Keep board type, shift and inspection method fixed, and run both operators at both temperatures in rotation, for example alternating blocks of 100 boards so a slow drift in material or ambient conditions does not line up with one temperature. Randomising the order of the blocks within each operator removes most of that drift. This costs production time and needs agreement from the shift lead, but it breaks the link between operator and temperature by design instead of by assumption.

Python
import pandas as pd

# records: one row per board with operator, temp_c, passed
records = pd.DataFrame({
    "operator": ["experienced", "experienced", "new", "new"] * 400,
    "temp_c": [180, 200, 180, 200] * 400,
    "passed": [1, 1, 1, 1] * 1600,
})
table = records.groupby(["operator", "temp_c"])["passed"].agg(["mean", "count"])
print(table)

Read the table by rows first. The within-operator difference between 200 C and 180 C is the temperature effect with operator held constant. The within-temperature difference between operators is the operator effect with temperature held constant. If the first difference is near zero for both operators, I would not keep the higher setpoint, since it costs energy and may shorten component life for no gain.

Two checks keep this honest. First, confirm the new operator did not receive a different mix of boards. Compare board type or customer code across the four cells. Second, confirm inspection did not change that week. If the pass criterion or the test fixture was adjusted at the same time, yield can rise on paper with no process change at all. Lock the inspection method during the comparison, or record any change and treat it as another confounder.

If the records already give a clean four-cell table with similar board mix, I would act on that and monitor. If the cells are empty or the board mix differs, I would run the rotated blocks before changing the control plan or the PFMEA.

Curated: · Written: · Reviewed: —

Difficulty: Medium
Q&A-89You have three shifts, two machines and four operators confounding a DOE on weld strength: how do you block and randomize it so the factor effects stay estimable?

The 90-second answer

Treat shift, machine and operator as nuisance variation first, and the process factors as the effects you want. Randomization alone makes the factor estimates unbiased, but if night shift runs 15 MPa weaker than day shift, that shift variance lands in the residual and can bury a 10 MPa factor effect. Blocking removes a known nuisance source from the error term. Randomize the run order inside each block, and never let a block line up with a factor level.

Take a concrete case: weld strength, two factors at two levels each, temperature (180 vs 200 C) and pressure (0.4 vs 0.6 MPa). That is a 2x2 factorial, four treatment combinations. You have three shifts, two machines and four operators, and you can run all four combinations in one shift. The clean design is a randomized complete block design with shift as the block.

Block (shift)Run order in blockMachineOperatorTempPressureStrength (MPa)
Day2M1Op A2000.4212
Day4M2Op B1800.6198
Day1M1Op B1800.4190
Day3M2Op A2000.6224
Night3M2Op C2000.6209
Night1M1Op D1800.4176
Night4M2Op D1800.6184
Night2M1Op C2000.4197

Each shift contains all four combinations once, so temperature and pressure are orthogonal to shift. The shift mean difference (Day about 206 MPa, Night about 192 MPa in this illustration) is estimated separately and removed from the residual. Machine and operator are balanced across the four combinations within each shift, and their assignment is randomized, so a machine or operator effect cannot masquerade as a temperature effect.

Degrees of freedom and standard error, worked out

With 12 runs, total degrees of freedom are 11. Unblocked, the model has an intercept (1 df) plus three treatment terms, temperature, pressure and their interaction (3 df), leaving 11 - 3 = 8 residual df. Blocked by shift, the model adds shift with 3 blocks, so 2 df, leaving 11 - 2 - 3 = 6 residual df. Blocking costs 2 df.

For a main effect defined as the difference between the mean at the high level and the mean at the low level, each level has 6 observations (3 replicates per cell, 2 cells per level). The variance of that difference is sigma squared divided by 6 plus sigma squared divided by 6, which is sigma squared divided by 3. So SE = sigma / sqrt(3) = sigma x sqrt(4/12).

Use labelled hypothetical values to see the trade. If the unblocked residual standard deviation is 11 MPa, SE = 11 / 1.732 = 6.35 MPa. If removing shift drops the residual standard deviation to 6 MPa, SE = 6 / 1.732 = 3.46 MPa. A real 10 MPa temperature effect is 1.6 SE unblocked and 2.9 SE blocked. That is the whole point of blocking. It pays when block variance is large relative to run to run noise, which shift, machine and operator differences usually are, even though it costs df.

Python
import random

random.seed(20261130)  # reproducible run order for the protocol
treatments = ["180/0.4", "180/0.6", "200/0.4", "200/0.6"]
for shift in ["Day", "Swing", "Night"]:
    order = treatments[:]
    random.shuffle(order)
    print(shift, order)

Record the seed and the realized order in the DOE sheet. An auditor can then reproduce the randomization, and you can check that no factor pattern slipped in by chance.

When the simple block does not fit

If one shift can only run two of the four combinations, a complete block is impossible. Use a balanced incomplete block design, or split the factorial into two half blocks so that each block contains one run from each pair of combinations that differ in the interaction. The rule to check is the same: every factor level appears equally often in every block, and the interaction is not aliased with block. If you cannot achieve that, say so in the protocol and add replicate blocks rather than pretending the design is clean.

Machine and operator need a decision before the first run. If both machines can run both factor levels, cross machine with the design as above and randomize which machine takes which run inside the block. If a machine is itself a factor of interest, for example you want to qualify M2 against M1, then machine becomes a treatment factor and the design grows. If an operator is assigned to one machine for the whole study, operator is nested inside machine, not crossed with it. You then randomize operators to runs within their machine and you cannot estimate a general operator effect separate from machine. Claiming otherwise is a common failure mode.

Yes No List nuisance sources: shift, machine, operator Can one block hold all treatment combinations? Randomized complete block: randomize order inside each block Balanced incomplete block or split factorial Balance machine and operator across combinations Check aliasing: no factor level concentrated in one block Run, record realized order, analyze with block term

Failure modes I check before trusting the result

Confounding by scheduling: all high temperature runs land on day shift because the oven is free then. The temperature effect and the shift effect become the same column, and no analysis can separate them. Drift inside a block: tool wear or warmup across the four runs in a shift creates a trend that randomization spreads across treatments on average but still inflates error. If warmup is real, add a warmup run that is discarded, or model run order as a covariate. Learning: an operator gets faster or more careful by the third block, which looks like a shift effect. Re-randomizing operator assignment each block limits that. Unrecorded changes: a maintenance visit between blocks changes the machine. Log it as a sub block or the block term will absorb a step change and hide it.

The analysis then includes block as a fixed effect, or as a random effect if you want to generalize to future shifts. Report the factor effects with the blocked standard errors, and report the block variance itself. A large shift variance is a finding, not just a nuisance, because it tells you the process is not yet stable across the hours you ship on.

Curated: · Written: · Reviewed: —

Difficulty: Hard
Q&A-90How do you trade off cycle time, quality and cost when optimizing a process, and what decides which one you prioritize?

The 90-second answer

I start from the constraint the business cannot miss, then optimize the other two against it. If the line must ship 400 good housings per shift, cycle time is fixed by takt and I cannot trade it for a cheaper tool that misses takt. If the customer contract sets a defect limit, quality is fixed and I cannot trade it for speed. Cost is then minimized inside those bounds. When none of the three is a hard bound, I compare options on cost per good unit at the required rate, because that single figure already contains cycle time, scrap and rework.

Cost per good unit = (labour + machine + material + rework cost per started part) / yield, evaluated at the cycle time the line will actually run. A change that cuts cycle time 20% but drops yield from 98% to 90% often loses on that figure, and the arithmetic shows it before anyone argues preferences.

Worked example, hypothetical figures

Assume a housing cell, 7.5 h shift, 450 s available per part at takt. Two settings for the same operation:

SettingCycle timeYieldCost per started partCost per good unitGood parts per shift
A, conservative420 s98%$4.10$4.1863
B, aggressive feed340 s90%$3.70$4.1171
C, aggressive plus extra inspection360 s96%$4.30$4.4872

Setting B wins on cost per good unit and on throughput, so it is the default choice if the defect limit allows 10% scrap after rework. Setting C looks attractive on quality alone, 96% yield, but the inspection cost pushes cost per good unit above both alternatives. If the customer limit were 5% defects, B would be rejected outright regardless of its cost, and the choice would be between A and C. That is the trade-off in practice: hard limits first, cost per good unit second.

Finding the frontier instead of guessing

For a parameter sweep, for example feed rate and spindle speed on a CNC operation, I record cycle time, yield and cost for each combination and keep only the non-dominated points. A point is dominated when another point is better or equal on all three measures and strictly better on at least one. The remaining points form the Pareto frontier, and the decision becomes picking a point on that frontier rather than debating three separate targets.

Python
# Python 3.11, hypothetical sweep results
runs = [
    {"feed": 0.10, "cycle_s": 420, "yield_": 0.98, "cost": 4.10},
    {"feed": 0.16, "cycle_s": 340, "yield_": 0.90, "cost": 3.70},
    {"feed": 0.13, "cycle_s": 360, "yield_": 0.96, "cost": 4.30},
    {"feed": 0.20, "cycle_s": 290, "yield_": 0.82, "cost": 3.40},
]
for r in runs:
    r["cost_per_good"] = r["cost"] / r["yield_"]

def dominated(r, others):
    return any(
        o is not r
        and o["cycle_s"] <= r["cycle_s"]
        and o["yield_"] >= r["yield_"]
        and o["cost_per_good"] <= r["cost_per_good"]
        and (o["cycle_s"] < r["cycle_s"] or o["yield_"] > r["yield_"] or o["cost_per_good"] < r["cost_per_good"])
        for o in others
    )

frontier = [r for r in runs if not dominated(r, runs)]
print(sorted(frontier, key=lambda r: r["cycle_s"]))

The frontier will normally show a knee, where a small cycle time gain starts costing a large yield loss. I would propose the knee point and show the two neighbours, so the reviewer sees what extra speed or quality would cost.

Define hard limits: takt, defect limit, budget Sweep parameters, record cycle, yield, cost Compute cost per good unit Keep Pareto frontier Pick knee point inside hard limits Confirm with capability and costed trial run

Failure modes I check before committing

Yield measured on 30 parts at the new feed rate is not a yield. I want enough parts to separate 90% from 96%, which means hundreds of parts or a capability study on the critical dimension, not a handful of good samples. Cycle time measured with a warm tool and a fresh insert also flatters the result. Tool wear over a full shift can move both cycle time and surface finish, so the trial should run a full shift with the tool change interval the production plan will use. Finally, rework that loops back through the bottleneck consumes capacity that the headline cycle time ignores. If rework returns to the same station, effective cycle time per good part is cycle time divided by first-pass yield, and that is the figure I put in the table.

When I present the recommendation, I state the hard limit that decided it, the cost per good unit at the chosen point, and the cost of the nearest alternative on the frontier. That lets the interviewer see the trade-off was quantified rather than asserted.

Curated: · Written: · Reviewed: —

Difficulty: Hard
Q&A-91Walk me through how you would sequence and interlock a four-station line so a fault at station 3 cannot release a bad part, and how you would test it before release?

The 90-second answer

I would separate the sequence into a PLC state machine and put every condition that can hurt someone or release a bad part into a hardwired safety chain, not just PLC logic. The PLC decides order. The safety chain decides permission. A part moves only when the station reports clamped, processed and inspected, and the next station reports ready. If station 3 faults, its part is locked in place, downstream stations do not advance, and the line cannot restart until the fault is cleared and the part is dispositioned.

Assume a four-station line: load and clamp, drill, inspect, unload. Takt is 12 s. Station times are 9 s, 10 s, 8 s and 7 s, so the drill at 10 s sets the pace and the other stations wait. That waiting is deliberate. It gives inspection time to reject without starving the drill, and it stops a fast upstream station from piling parts into a faulted downstream one.

Fail Fault Load and clamp Drill Inspect Unload Release next part Reject and lock Manual clear and disposition

Sequence and interlocks

Each station runs the same states: idle, ready, busy, done, fault. The master sequence only advances on a handshake: station N sets done, station N+1 sets ready, then the transfer or operator release is allowed. No station starts on a timer alone. Timers are watchdogs. If drill does not report done within 11 s, the PLC raises a timeout fault instead of assuming the hole was made.

InterlockSignalWhat it blocks
Clamp confirmedPressure switch plus clamp position, both true for 200 msDrill start and transfer out
Guard closed and lockedDual-channel guard switchAny motion inside the cell
Drill completeCycle complete plus spindle load within windowTransfer to inspection
Inspection validCamera or gauge reports pass or fail, not just image takenUnload to good bin
Reject path clearReject chute sensor clearNext part release
E-stop chain healthySafety relay or safety PLC inputAll actuators, Category 0 or 1 stop per risk assessment

Two sensors on clamp matter. A pressure switch alone can read true with a part missing if the cylinder bottoms out. Position alone can read true with low force on a thin wall. Requiring both, debounced for 200 ms, catches a missing part and a leaking seal. The same logic applies at inspection: a camera that returns no result is a fault, not a pass.

Structured text for the core permissive, checked in the PLC scan:

PASCAL
(* ST, IEC 61131-3. Drill permissive *)
Drill_Permissive := Clamp_Pressure_OK AND Clamp_Position_OK
    AND Guard_Locked AND Safety_Chain_OK
    AND Part_Present AND NOT Station3_Fault;

IF Drill_Permissive AND State = DRILL THEN
    Drill_Start := TRUE;
ELSE
    Drill_Start := FALSE;
END_IF;

IF Drill_Start AND NOT Drill_Complete WITHIN 11.0 THEN
    Fault_Timeout := TRUE;
END_IF;

Safety functions stay outside this code. Guard lock, E-stop and light curtain inputs go to a safety relay or safety PLC that drops power to drives and valves directly. The standard PLC reads the safety state for sequencing, but it cannot override it. That split is what an auditor will ask about first.

Failure modes I design for

A sensor that sticks true is the classic escape. I use normally closed contacts where possible, monitor for impossible combinations, and add a plausibility check: clamp pressure cannot rise before the cylinder is commanded. A pneumatic leak shows as pressure decay during drill. I set a decay limit, for example pressure must stay above 5.5 bar during the 10 s drill, and a drop below that aborts the cycle and flags the part for inspection rather than letting it move on.

Power loss mid-cycle is the second trap. On restart the PLC must not resume at drill with a part of unknown state. The sequence returns to a defined recovery state: actuators off, part state read from sensors, operator prompted to remove or re-inspect the part. I test this by pulling power at each state, not just at idle.

How I test before release

Factory acceptance runs dry cycles with no parts, then with dummy parts, then with real parts at rate. I inject faults deliberately: block the clamp sensor, open the guard during drill, force a camera no-result, simulate pressure decay, and trip the E-stop at full speed. Each injection must produce the same result: motion stops, the affected part is contained, downstream stations do not advance, and the HMI names the station and the failed interlock.

I log every transition with timestamps for 500 cycles and check three numbers: no part reaches unload without a valid inspection, no drill starts without both clamp signals, and restart after a fault requires an explicit operator reset plus disposition. If any cycle violates those, the line does not ship. That log, plus the fault injection results, becomes the evidence pack for the customer and for the safety validation.

Curated: · Written: · Reviewed: —

Difficulty: Hard
Q&A-92Your leak test takes 18 seconds with 10 seconds to load on a 30 second takt, and leaks run at 800 ppm: how do you decide between testing every unit and sampling, and what numbers settle it?

The 90-second answer

I compare the cost of testing every unit with the expected cost of the escapes that sampling would let through. Takt only tells me whether 100% testing fits in one station. The decision itself comes from defect rate and field cost.

Take a housing leak test that takes 18 seconds, with 10 seconds to load and unload, on a line with 30 seconds takt. In series the station needs 28 seconds, so it fits one station with 2 seconds to spare. That spare is thin. If the test ran 22 seconds, I would need two stations in parallel or a faster method, and the cost per unit would change.

For the 100% versus sampling choice I need two figures from the process. The first is the current leak rate, say 800 ppm from the last 5,000 units. The second is the cost of one field escape, say $60 for a return, replacement and freight. Without any test, expected escape cost is 20,000 units a year times 0.0008 times $60, which is $960 a year.

A 100% test at 28 seconds of labour at $36 an hour costs $0.28 per unit, or $5,600 a year at 20,000 units. The tester itself, at $40,000 over five years, adds another $8,000 a year. Total test cost is about $13,600 a year to prevent $960 of escapes at the current rate. On those numbers, 100% testing does not pay.

OptionAnnual test costExpected escapes a yearEscape cost a yearTotal a year
No test$016$960$960
Sample 200 per lot, AQL 1.0$90016 if rate stays at 800 ppm$960$1,860
100% leak test$13,600Near 0 if detection is proven$0$13,600

Sampling looks best here, but only because the defect rate is low and stable. Sampling does not reduce escapes at 800 ppm. It catches a shift. If the seal process drifts and the rate rises to 3%, a sample of 200 has a high chance of containing a failure and triggering tightened inspection or a stop. The expected escape cost at 3% without a gate is $36,000 a year, and the arithmetic flips.

Python
# Python 3.12, figures from the example above
volume = 20_000
field_cost = 60
for ppm in (800, 30_000):
    escapes = volume * ppm / 1_000_000
    print(ppm, round(escapes), round(escapes * field_cost))

That prints 16 escapes and $960 at 800 ppm, and 600 escapes and $36,000 at 30,000 ppm. I put both rows in the test plan. The first row justifies sampling today. The second row sets the trigger to revisit the decision if the process moves.

Proving the test before I rely on it

A test only earns its place if it detects the real fault. I seed 20 parts with a known leak path near the limit, run them blind, and count detections. If it catches 19 of 20, coverage is 95% for that fault size, not 100%. I also run 200 good parts and count false rejects. At 1% false rejects, 200 good units a year go to rework, which adds labour and gives operators a reason to bypass the station.

I chart the measured leak rate, not just pass or fail, and I log retests by serial number. A part that passes on the second attempt is still a first-pass failure. If retests are not logged, first-pass yield looks good while marginal parts ship.

The practical rule I use: keep 100% testing when the escape cost at the demonstrated defect rate exceeds the annual test cost, or when the defect is safety related and sampling is not accepted by the customer. Move to sampling when the rate is low, stable and charted, and the sample size will catch a shift within one lot. Re-run the arithmetic when volume, takt or field cost changes, because a test that did not pay at 20,000 units can pay at 100,000 units when the tester cost spreads over more parts.

Curated: · Written: · Reviewed: —

Difficulty: Hard
Q&A-93A housing line scraps 2,000 units, reworks 5,000 and has 78 field failures in a month: how would you calculate COPQ from those three buckets and decide which to fix first?

The 90-second answer

I would cost each bucket separately, then rank defect codes by dollars rather than by count. Scrap costs the material and conversion already spent on units that cannot be sold. Rework costs the extra labour, test and material needed to make a unit good. Field failures cost replacement, freight, handling and warranty admin for units that already shipped. I keep prevention and appraisal spend out of that total, because mixing them hides whether failure cost is falling.

With one month of data, the ranking can flip once I use cost. A cosmetic defect may occur most often, while a leak defect that causes scrap and field returns costs more. I would fix the highest cost code first, provided the fix is within the process capability we already have.

Worked example

Assume 100,000 units started, 98,000 shipped, variable cost $18 per unit, material $7 per started unit, loaded labour $38 per hour. The line scraps 2,000 units, reworks 5,000 units for an average of 6 minutes each plus $1.20 retest, and records 78 field failures. Each field failure costs $18 for the replacement, $14 for freight and handling, and $25 for warranty admin.

BucketCalculationCost
Scrap2,000 x $18$36,000
Rework5,000 x (6/60 x $38 + $1.20)$25,000
Field failures78 x ($18 + $14 + $25)$4,446
Total COPQ$65,446

That is $0.67 per shipped unit. If the selling price is $42, COPQ is 1.6% of sales. The arithmetic is simple, so the judgement sits in the inputs. I use variable cost for scrap, not full overhead, or scrap looks artificially large. I include freight and admin for field failures, because the replacement part alone understates the cost by more than half in this example.

Python
# Python 3.11, monthly COPQ from MES, payroll and warranty records
scrap_cost = 2000 * 18
rework_cost = 5000 * (6 / 60 * 38 + 1.20)
field_cost = 78 * (18 + 14 + 25)
total = scrap_cost + rework_cost + field_cost
print(total, total / 98000)  # 65446, 0.67 per shipped unit

Count versus cost ranking

Ranking methodWhat it showsRisk
By defect countWhich code operators record most oftenA frequent cosmetic code can beat a rarer leak code that scraps units and triggers returns
By COPQ dollarsWhich code costs the business mostNeeds consistent defect coding and a stated costing basis, or the ranking is not auditable

I would build the Pareto by cost per defect code, using the same three buckets for each code. If one code drives both scrap and field failures, its combined cost usually puts it first even when its count is second. That is the prioritisation decision I would defend to operations and finance.

Checks before I publish the number

I reconcile MES scrap and rework counts against warehouse material issues and warranty returns for the same month. If MES shows 2,000 scrapped units but material issue implies 2,400, operators are likely using a generic code or recording rework as scrap. I would fix the coding in the work instruction and reaction plan first. I also state the costing basis on the report, the period, and the denominator, shipped units, so the trend is comparable month to month. A falling COPQ per shipped unit with stable volume is the signal that the fix worked, not a single month in isolation.

Curated: · Written: · Reviewed: —

Difficulty: Medium
Q&A-94What does SDCA stand for in kaizen, and what is it used for after a PDCA improvement?

The 90-second answer

SDCA stands for Standardize, Do, Check, Act. It is the sustaining half of kaizen. PDCA proves an improvement works. SDCA then makes that proven method the standard, so the gain does not drift back when the kaizen team leaves or a different shift runs the line.

In practice that means updating standard work and the control plan to the new method, training every operator to it, checking compliance in the daily routine, and acting to restore the standard when a check shows drift. The next PDCA cycle then starts from the new, higher baseline.

CycleLettersJob
PDCAPlan, Do, Check, ActTest a change and prove it improves the process
SDCAStandardize, Do, Check, ActTurn the proven change into the controlled standard and hold it

What each letter does on the line

Standardize is the step people skip. The improved sequence, fixture setting, in-process check and reaction plan are written into the standard work sheet and control plan, with a document revision. A gain that lives only in the kaizen team's notes is not standardized.

Do means every shift, including relief operators, works to that revised standard. Training and sign-off cover the new method, not just the day shift that ran the trial.

Check means the supervisor audits the actual work against the standard and watches the process measure, for example defects per shift or cycle time, against the new centre line. A layered audit of a few checks per shift catches drift early, while the chart shows whether the process is still centred on the improved level.

Act means restoring the standard when drift appears. If an operator reverts to the old sequence, the supervisor retrains, fixes the cause if the standard is hard to follow, and records the correction. If the check shows the standard itself is wrong, that feeds a new PDCA.

Yes No PDCA proves a gain Standardize: update standard work and control plan Do: train all shifts Check: audit work and chart the measure Drift from standard? Act: restore standard and fix cause Hold new baseline for next PDCA

The failure mode SDCA prevents

Without it, the trial ends, the documents stay at the old revision, and operators quietly return to the familiar method. Cycle time and defects creep back over a few weeks, and because the control chart still uses the old centre line, the drift looks like normal variation. With SDCA, the chart centre line moves to the improved level, the audit checks the new sequence, and a return to the old method shows up as a special cause within a shift, not a customer complaint a month later.

Curated: · Written: · Reviewed: —

Difficulty: Easy
Q&A-95Walk me through how you would write and validate an SOP for a two-variant manual assembly with a 25 Nm torque joint and 20-minute adhesive cure at 45-second takt, so new operators on three shifts follow it without cross-variant or early-handling errors?

The 90-second answer

I would draft the SOP at the bench with the control plan and PFMEA open, then prove it with operators who did not write it. For this station the hard part is not the torque step. It is the interaction between 45-second takt, a 20-minute cure, and two variants that look alike. A document that lists steps correctly can still fail if it lets an operator handle a part at minute 3, fit the Variant B washer to Variant A, or re-torque after cure and break the bond.

I would state the assumptions on the SOP itself: demand, takt, cure temperature range, adhesive shelf life, and which failures are safety critical. Every critical step gets a photo of the correct state, the exact tool setting, and a check with a clear pass or fail limit. Non-critical steps get one line. If everything is marked critical, operators stop prioritising.

Sizing the cure constraint

Takt is 45 seconds. Cure is 20 minutes, or 1,200 seconds. Parts in cure at steady state equal cure time divided by takt:

1,200 / 45 = 26.7, so 27 parts minimum in cure.

I would provide a 32-position rack, allowing for a blocked position and a part waiting for inspection. The rack has two colour-coded rows, one per variant, with a timer per row and a tag showing cure start time. The next station is physically downstream of the rack, so a part cannot reach it without passing the rack. That layout does the work that a warning sentence cannot.

StepActionSpecificationCheck
1Scan traveller, select variant rowVariant matches travellerScanner beep; wrong variant blocks step 2
2Fit washer and start bolt by handVariant A washer is silver, B is blackVisual against photo standard
3Torque with preset wrench25 Nm, one pull, no re-torqueClick once, initial traveller
4Apply adhesive bead3 mm bead, full perimeterCompare to bead photo, no gaps
5Place on correct rack row, start timer20 min at 20 to 26 CTag with start time, timer running
6After cure, move to next stationTimer expired, tag removedDo not re-torque after cure

The sequence matters. Torque before bead, cure after bead, and no torque check after cure. A post-cure torque check feels like good practice and it shears a partially cured bond. If engineering needs proof of torque, we prove it at step 3 with a calibrated wrench and periodic audit on uncured parts, not on cured parts.

Validation before release

I would run three tests. First, a silent walkthrough: a new operator builds while a trainer watches and logs every question, hesitation, and reach outside the work envelope. Each one becomes a document change. Second, timed runs on all three shifts, two operators per shift, recording cycle time, errors, and near misses against the 45-second takt. Third, fault trials: wrong washer, short bead, expired adhesive, and a part presented at minute 5 of cure. The operator must catch each fault using only the SOP and the station aids.

Yes No No Yes Draft from control plan and PFMEA Silent walkthrough with new operator Question or hesitation? Revise photo, sequence or aid Timed runs on three shifts Fault trials including early handling All faults caught? Approve, train, audit at 30 days

Failure modes I design against

Cross-variant error. The two variants share a bolt and a wrench, so the SOP cannot rely on the operator reading a small print code. I would use different washer colours, a fixture nest that only accepts the correct washer stack, and a scanner check at step 1. The SOP shows both variants side by side at the point of difference, not on separate pages.

Early handling under takt pressure. At 45 seconds, an operator will pull a part from the rack early if the rack is full or the timer is unclear. The 32-position rack, per-row timer, and tag remove the judgement call. I would also state the reaction in the SOP: if a part is handled early, tag it red and quarantine it. Without that line, operators will quietly continue.

Language and units. One action per step, short sentences, and units matching the tool display. The wrench reads Nm, so the SOP reads Nm. I would have a bilingual operator back-check the translation and test it with the operators who will use it, because a correct translation can still use the wrong shop term.

Revision drift. One controlled copy at the station, revision code on every page, old copies removed at changeover. For the first month I would audit five builds per shift and compare defect, rework, and early-handling counts before and after release. If errors cluster at one step, I rewrite that step and retrain to the new version. Retraining the same wording rarely fixes a step that operators keep misreading.

Curated: · Written: · Reviewed: —

Difficulty: Hard
Q&A-96A new torque sequence changes a safety-critical joint on your line. How would you train and certify operators before they run it unsupervised, and what evidence would you keep?

The 90-second answer

Treat a changed process as a new process for the steps that changed, and certify against the revision that will run in production. I would freeze the work instruction, PFMEA and control plan at the new revision, train the trainers first, then delta-train operators on only the changed steps plus the safety and quality checks around them. No one runs unsupervised until they pass a written check, a timed practical observed against a job breakdown, and a supervised run that produces conforming parts. The training matrix records revision, trainer, date and expiry, so an auditor can trace any operator on the line to the exact instruction they were certified on.

Assumptions matter here. A torque sequence change on a safety-critical joint is high risk, so attendance is not certification. A cosmetic label change would not need the same gate. I tier the response by PFMEA severity and by whether the change alters a critical-to-quality or critical-to-safety characteristic.

How I would run it

First, update the artefacts before anyone is trained. The work instruction gets a revision number and a change mark on the altered steps. The PFMEA and control plan pick up any new failure mode, for example under-torque from a reversed sequence, and the reaction plan for a failed torque check. Training on a draft or on the old revision is the most common failure I see, and it invalidates every sign-off that follows.

Second, build a job breakdown for the changed steps: major steps, key points, and the reason for each key point. "Tighten in star pattern, 8 Nm, second pass" is a step. "Star pattern prevents flange distortion that opens a leak path" is the key point that stops an operator inventing a faster order. Trainers practise delivering it and are themselves certified, otherwise each shift learns a slightly different method.

Third, train in the cell, not in a classroom. Show, do, observe, correct. The operator then runs under supervision at production rate, because a method that works at half rate often fails on reach, tool reaction or part presentation at full takt.

Change approved and WI revised Train and certify trainers Delta train operators on changed steps Supervised run at production rate Written and practical certification Unsupervised run with enhanced inspection Re-certify on change, absence or escape

Certification evidence

GatePass criterionEvidence kept
---------
---------
---------
Written check100% on safety and CTQ items, at least 80% overallMarked paper or LMS record tied to WI revision
Practical observationEvery key point performed in order, no promptsSigned checklist per operator, per station
Supervised run25 consecutive parts, zero critical defects, first article passesFirst article report and run log with operator ID
Attribute agreement where relevantOperator matches reference calls on known good and known bad samplesAgreement study sheet, not just a pass on live parts

The 25-part run needs honest interpretation. Zero failures in 25 parts does not prove a low defect rate. The 95% upper bound is roughly 3 divided by n, so about 11%. That is fine as a competence check combined with the practical observation and enhanced inspection afterwards. It is not a process capability claim, and I would not present it as one to a customer. If the joint is safety-critical, I add a torque audit on the first shift and a layered process audit in the first week.

Failure modes and re-certification

Watch for four patterns. Operators certified on the old revision still working the station, which the matrix exposes if revision is a field rather than a date alone. Trainers who were never certified, which shows up as different methods across shifts. Sign-off without observation, where the checklist is signed in advance. And drift after certification, where a shortcut develops because the key point reason was never taught.

Re-certification triggers are written into the matrix: any further change to the step, return after 90 days away from the station, involvement in a defect escape, or a failed layered audit. Expiry is set by risk, typically 12 months for a safety-critical joint, and the system blocks rostering an expired operator to that station rather than relying on a supervisor to remember.

That gives the interviewer the mechanism: revision control first, trainer certification, observed practice at rate, and a matrix that makes the link between person, station and instruction revision auditable.

Curated: · Written: · Reviewed: —

Difficulty: Medium
Q&A-97A lot of 5,000 housings has a bore 0.02 mm over the upper limit, engineering test shows fit and leak performance are unaffected, and the customer contract requires written approval for use-as-is. Walk me through how you would get the MRB to approve use-as-is instead of rework or scrap?

The 90-second answer

I would contain the lot, raise an NCR, and ask the MRB to approve use-as-is on evidence rather than on a verbal assurance. Containment means tagging and segregating the 5,000 housings, blocking the lot in the system, and checking whether any units have already shipped or entered assemblies. The NCR then states the drawing requirement, the measured result, the quantity affected, and the containment status.

Use-as-is is the right disposition here only if engineering can show that fit, function and safety are unaffected, and the customer gives written approval because the contract requires it. Rework and scrap stay on the table as alternatives, and the MRB records why use-as-is was chosen. The NCR stays open until the customer approval and the lot release are filed.

The evidence package

For a bore that is 0.02 mm over the upper limit, I would put the actual measurements in the package. Suppose the drawing calls for 12.00 mm +0.05/-0.00 and inspection found a mean of 12.07 mm with a standard deviation of 0.008 mm on a sample of 100 units. That tells the MRB the whole lot is shifted, rather than a few outliers being mixed in. I would also attach the gauge calibration record, because a disposition based on a gauge past its due date will not survive an audit.

Engineering then needs to connect that shift to function. In this case the mating shaft is 11.96 mm, so clearance grows from 0.04 mm to 0.08 mm at the mean. If the bore is not a sealing surface, engineering can run a leak or pull test on 30 units drawn from the affected lot and compare the results with conforming units. Passing that test, with the results attached to the NCR, is what turns a claim into evidence.

DispositionWhat the MRB needs to approve itMain cost or risk
Use-as-isEngineering analysis or test showing no effect on fit, function or safety, plus written customer approvalLot carries a deviation record for its whole life, so traceability must link every unit to the NCR
ReworkA defined operation that returns the bore to the drawing, proof on a sample, and 100% reinspectionRework cost per unit, plus the risk that reaming changes surface finish or wall thickness
ScrapConfirmation that no units shipped and a cost comparison against reworkFull material and conversion cost of the lot

Why use-as-is wins in this case, and when it would not

Rework here would be a ream to 12.00 mm. At 6 minutes per unit plus 2 minutes of reinspection, at a loaded rate of $75 per hour, that is about $10 per unit, or $50,000 for 5,000 units, plus fixture setup. Scrap would write off $90,000 at $18 per unit. Use-as-is avoids both costs, which is why the MRB would prefer it, provided the test data support it.

The same request would fail if the bore were the sealing surface for an O-ring. A larger bore changes squeeze on the O-ring, and a diameter check alone would not prove leak performance. It would also fail if the customer approval were verbal. I would ask the customer to sign the NCR or a deviation request that references the NCR number, the lot code, and the test report. Without that signature, quality cannot release the lot, even if engineering is confident.

Nonconformance found Contain lot and check shipments Raise NCR with measurements and gauge record Engineering test on affected units MRB reviews use-as-is, rework and scrap Customer written approval Release lot linked to NCR

Failure modes to close out

The first is releasing the lot on the MRB signature alone and filing the customer approval later. The second is a test on units from a different lot, which proves nothing about this one. The third is forgetting downstream units. If 200 housings from this lot already went into assemblies, the MRB scope covers those assemblies too, and the customer approval needs to name them. I would check the genealogy record before the MRB meeting so that question is answered in the room.

The MRB decides the disposition. Root cause and corrective action run separately, so the process shift that pushed the bore to 12.07 mm gets fixed before the next lot arrives.

Curated: · Written: · Reviewed: —

Difficulty: Medium
Q&A-98For a medical device process validation, must the PQ protocol and its acceptance criteria be approved before the validation lots are run?

The 90-second answer

Yes. The PQ protocol and its acceptance criteria must be approved, with signatures and dates, before any validation lot is run. That rule comes from 21 CFR 820.75 for process validation and ISO 13485 clause 7.5.6 for production and service provision. The protocol states in advance what will be run, at what settings, how many units will be sampled, and what result passes. The summary report then judges the executed data against those pre-set criteria.

I assume the design outputs, drawings and BOM are frozen, and the equipment has completed IQ and OQ and is within calibration. If the design is still changing, the work is development rather than validation.

ItemApproved before executionCompleted after execution
PQ protocol, including parameter ranges, sampling plan and pass criteriaYesNo
IQ and OQ protocolsYesNo
IQ and OQ reportsNoYes
Raw PQ data, deviations and lot recordsNoYes
Validation summary report and release decisionNoYes

The practical effect is simple. A setpoint change, a new supplier lot or a software change during PQ is recorded as a deviation. Quality assesses whether the affected lot still counts, and repeats the run if the change could affect the result. Writing the pass criteria after seeing the data breaks that logic, because the criteria can no longer be shown to be independent of the outcome. Auditors check the signature dates against the lot start dates for exactly this reason.

IQ and OQ complete PQ protocol approved Validation lots executed as written Summary report against pre-set criteria Release for routine production

Revalidation triggers, such as changes to materials, equipment, software or suppliers, are listed in the validation plan before PQ starts. That list is what tells the team later whether a change needs a new validation or only a documented assessment.

Curated: · Written: · Reviewed: —

Difficulty: Easy
Q&A-99Your bottleneck press is down for a bearing change, 400 suspect housings are already packed, and the customer shipment leaves in two hours: how do you decide whether to restart, hold, or scrap?

The 90-second answer

I would not restart the line and ship on a promise. I would split the decision in two. First, contain the suspect product and stop any shipment that could contain it. Second, decide whether the line can restart on a segregated, verified stream while containment runs in parallel. A line-down costs money by the hour. A quality escape costs money, customer trust and, for a sealing or safety part, potentially a recall. The escape wins unless I can bound the suspect population, prove the defect is not present or is reliably detectable, and get quality sign-off in writing.

Assume the facts I would demand in the first five minutes: what failed, when it started, how many units were made since the last known-good check, where those units are now, and whether the failure mode is detectable downstream. If I cannot answer the first three, the shipment stays held and the line stays down or runs only into quarantine.

Worked example, figures labelled as hypothetical: the press makes 120 housings per minute, takt is 30 seconds, and the last good leak check was 400 units ago. The suspect lot is therefore 400 packed units plus 90 in the buffer. Downtime is costed at $4,000 per hour in lost contribution and overtime recovery. A field escape on a sealed housing is costed at $250 per unit for sorting, freight, rework and warranty handling, before any recall penalty. If the true defect rate in the suspect lot were 3%, expected escapes from shipping all 400 would be 12 units, or $3,000 in direct cost, plus the customer line-stop risk. That arithmetic alone does not justify shipping. It shows why a two-hour delay to bound the lot is cheaper than one customer escape on a safety or sealing characteristic.

QuestionIf yesIf no
Can suspect units be identified by lot, time or serial genealogy?Quarantine that population only, release the rest with evidenceHold everything back to the last verified good point
Is the defect detectable by a proven test at 100% inspection?Sort or retest under controlled conditions, with a validated gaugeDo not ship on sampling alone for a critical characteristic
Is the characteristic safety, regulatory or sealing critical?Quality and customer approval required before any releaseRisk-based disposition may be possible with documented rationale
Can the line restart without mixing good and suspect product?Restart into a segregated quarantine streamKeep the line down until segregation is proven

The containment sequence matters. I would freeze the lot in the system, physically tag and move it to a marked area, and block the shipment in the ERP so a forklift driver cannot load it by habit. I would pull the process history for the window: press tonnage, die temperature, leak test results, operator changes and any maintenance since the last good unit. Then I would sample to bound, not to hope. For a critical characteristic I would not accept an AQL sample as proof of zero defects. I would either 100% retest with a gauge whose capability I have just proven, or hold the lot for engineering disposition.

Restarting the press is a separate call. If the bearing change is complete and the first-off parts pass the full control plan, I can restart into quarantine and keep producing good product while the suspect lot is sorted. That recovers throughput without mixing populations. If the root cause is still unknown, restarting just makes more suspect product faster. In that case the line stays down and the crew works the failure, not the schedule.

Yes No Yes No Failure detected Freeze lot and block shipment Bound suspect population by genealogy Defect detectable by proven 100% test? Sort or retest under quality control Hold for engineering disposition First-off parts pass control plan? Restart into segregated stream Keep line down, fix root cause

I would close by telling the plant manager the three numbers that decide it: how many units are suspect, what it costs per hour to stay down, and what evidence would release the lot. If the evidence is a sample that cannot detect the defect, my answer is hold the shipment, even if the line restarts. That is the judgement the interviewer is testing: throughput is recoverable, an escape shipped knowingly is not.

Curated: · Written: · Reviewed: —

Difficulty: Hard
Q&A-100A $450,000 automated cell saves $2.20 per housing versus manual but adds $120,000 a year in fixed costs: how would you calculate its break-even volume and decide whether to buy it at 30,000 units a year?

The 90-second answer

I would calculate the volume where the saving per housing covers the extra fixed cost, then compare that volume with the 30,000 units a year we can actually sell. Automation replaces a variable labour cost with a fixed capital cost. If volume stays below break-even, every housing carries part of a cell that is not earning its keep.

Assumptions to state up front: five year life, no residual value, maintenance and spares included in the fixed cost, and the $2.20 saving only counts if labour hours are removed or redeployed to work we would otherwise have to hire for.

Break-even arithmetic

Fixed cost a year is $450,000 / 5 + $30,000 maintenance = $120,000. Saving is $2.20 a unit.

Break-even volume = $120,000 / $2.20 = 54,545 units a year.

Python
fixed_per_year = 450_000 / 5 + 30_000  # 120_000
saving_per_unit = 2.20
break_even = fixed_per_year / saving_per_unit  # 54_545
for volume in (30_000, 55_000, 90_000):
    net = volume * saving_per_unit - fixed_per_year
    print(volume, round(net))
Annual volumeSaving at $2.20/unitLess fixed $120,000Net per year
30,000$66,000$120,000-$54,000
55,000$121,000$120,000+$1,000
90,000$198,000$120,000+$78,000

At 30,000 units the cell loses $54,000 a year against manual before downtime is priced. The purchase only starts to pay above roughly 55,000 units a year, sustained for the five year life.

Why the headline saving often shrinks

OEE is the first check. The $2.20 assumes the cell runs at the rate used in the vendor quote. If upstream starvation or jam recovery drops effective output, the saving per good unit falls. At a saving of $1.80, break-even rises to 66,667 units. I would ask for a timed trial on our housing, including changeover and fault recovery, and measure good units per hour rather than cycles per hour.

Labour removal is the second check. Saving 1.2 shifts on paper does nothing if those operators remain on the line. Finance should confirm the roster change, or the avoided hire, before the saving enters the case.

Downtime cost is the third. A stoppage at the bottleneck costs contribution on lost good units, not just the maintenance call-out. That cost belongs in the fixed line or as a reduction in effective volume.

Decision at 30,000 units

I would not buy the full cell at a firm 30,000 units a year. I would stay manual, but design the manual station so automation stays possible: common datums, fixtures that a robot can load, and floor space and services for a future cell. I would set a trigger to revisit, for example firm demand above 60,000 units a year for two consecutive quarters. If demand later rises, the break-even maths can be rerun with measured OEE and confirmed labour savings, and the capital case will be defensible. If demand stays at 30,000, we avoid a stranded asset and keep the option open.

Curated: · Written: · Reviewed: —

Difficulty: Medium