The defect that fails a battery is the one you can't see.
On a cell line the dangerous defect is rare, faint and expensive to miss. Contamination, coating flaws and edge damage are safety-relevant, appear on a fraction of a percent of cells, and hide inside normal surface variation — so the inspection has to catch the anomaly it has barely seen without rejecting good cells it has seen millions of.
DomainIndustrial AI, surface inspection
PlatformsFaststream Vision
ScopeImaging to multi-lane verdict
Binding constraintCatch a rare anomaly without false-rejecting good cells
DisclosureRepresentative programme; customer not named
CONTEXT
Where this started.
A rechargeable-cell line runs many lanes at speed, and the defects that matter — surface contamination, coating voids, edge and tab damage — are both rare and safety-relevant. Missing one is unacceptable; over-rejecting cripples yield. The inspection sits exactly on that tension.
The defects that matter most are the ones there are fewest examples of, which defeats a straightforward supervised classifier. And the surface has legitimate variation — sheen, texture, print — that a naive model reads as a fault, so the false-reject rate climbs the moment sensitivity is raised.
So the system is built around anomaly detection trained on good cells, imaging tuned to make the subtle defects visible in the first place, and a per-lane decision that holds the same accuracy across every lane rather than an average that hides a failing one.
CHALLENGES
4 problems, named.
Stated before any of them had an answer.
01
The critical defects are rare
Contamination and coating voids appear on a fraction of a percent of cells, too few to train a classifier the usual way — yet they are the ones that must never pass.
02
Good cells vary
Sheen, texture and print vary legitimately from cell to cell; a model that has not learned that variation rejects good product as defective.
03
Multi-lane means multi-model discipline
Several lanes run in parallel with slightly different optics and lighting; one model naively shared across them drifts lane to lane.
04
False rejects are their own failure
An over-sensitive system destroys throughput and gets bypassed by operators, which is worse than a calibrated one that occasionally passes a borderline case for review.
ARCHITECTURE
How it was built.
You cannot train on a defect you have barely seen. Anomaly detection on good cells, plus imaging that reveals the flaw, is what catches the rare and safety-critical case.
CONTRIBUTION
What Faststream did.
The scope of the work, rather than a capability list.
Imaging design — lighting and optics tuned to make faint contamination and coating flaws visible before any model runs.
Anomaly detection — models trained on the abundant good cells so rare defects are caught as deviations, not by prior example.
Targeted classification — supervised models where defect examples do exist, layered onto the anomaly framing.
Per-lane calibration — holding the same accuracy across lanes with different optics rather than trusting one shared threshold.
Confidence routing — borderline cells sent to review instead of forced to a hard pass or fail.
Traceability and retraining — every verdict logged per cell, uncertain cases feeding the next model revision.
WHAT WAS HARD
The parts that consumed the schedule.
Rarely the subsystem that sounds difficult.
01
Training for the unseen
The defects that matter most are the ones with fewest examples; framing the problem as anomaly detection rather than classification is what makes them catchable.
02
Holding lanes together
Small per-lane differences in lighting and optics quietly shift a shared model; per-lane calibration is unglamorous and essential.
03
Setting the false-reject line
The threshold is set against the real cost of each error, not an accuracy target, because an over-rejecting line gets switched off.
04
Imaging before modelling
A defect with no contrast under the installed lighting cannot be learned; most of the accuracy is won in the imaging, before training begins.
OUTCOME
What resulted.
Rare defects caught
Safety-relevant contamination and coating flaws detected as anomalies despite few training examples.
False rejects controlled
Throughput protected by a threshold set on cost, with borderline cells reviewed rather than dumped.
Consistent across lanes
The same accuracy on every lane, not an average that hides a weak one.
Improves in place
A retraining loop that folds newly seen defects back in as the line runs.
Confidentiality
Customer projects are presented at property, capability, outcome and integration level. Customer names, internal architecture, confidential deliverables and commercial terms are not disclosed. Where a detail would identify a customer it is omitted rather than approximated. More is available under a non-disclosure agreement, within the limits the customer has agreed.
Because the defects that matter most on a cell line — contamination, coating voids, edge damage — are rare, sometimes a fraction of a percent of production. There are too few examples to train a reliable classifier, and they are exactly the cases that must never pass. Framing the problem as anomaly detection, trained on the plentiful good cells, lets the system flag deviations it has never seen a labelled example of.
02
How do you stop it rejecting good cells?
By tuning the imaging so real defects have contrast and legitimate variation does not look like a fault, by training on enough good-cell variation that sheen and texture are understood as normal, and by setting the decision threshold against the measured cost of each error rather than an accuracy score. Borderline cells are routed to review instead of being force-failed.
03
Why does a multi-lane line need special handling?
Because each lane has slightly different optics, lighting and alignment, and a single model applied blindly across them drifts — one lane over-rejects while another misses. Per-lane calibration keeps the accuracy consistent, and per-lane monitoring catches a single failing lane that a line-wide average would hide.