Skip to content

How it works

How the AI learns normal operation and scores each unit, and how sound and vibration are captured.

Learned, not rule-based

A fault is not necessarily louder than normal; its sound pattern is different. The two spectrograms below show a normal unit and a faulty unit of the same product, on the same scale: a similar level, but a different pattern.

Spectrogram of a normal unit of product A over 3.5 seconds Spectrogram of a faulty unit of product A on the same scale: similar level, different pattern
  • No hand-picked features. No frequency bands, energy or level limits to choose.
  • No rules to configure. The model learns what normal sounds like and makes the decision.
  • Judged by pattern, not loudness. Timbre and structure, the way a trained listener hears it.

Model architecture

One acoustic foundation model reads every machine. Only the normal reference is built for each product.

Signal

Vibration or sound captured for each inspection cycle.

Acoustic foundation model

Cochl's in-house model, kept fixed. Turns each cycle into an acoustic representation.

Normal reference

Built per product from normal recordings only.

Anomaly score

Statistical distance from the normal reference, scaled 0 to 100.

Decision

The score is compared with the threshold at 50 and returned as Pass or Fail. In the console, a sensitivity setting from 1 to 10 (6 is the trained operating point) moves where that line falls, and shows the expected false-alarm rate for each setting.

  • One model, many machines. Motors, slide rails, gears, pumps and fans are scored with one model, for a mean AUROC of 99.6 across 16 datasets (see Performance).
  • No per-product design. No feature engineering per product. Building the normal reference is the setup.
  • Runs on site. Training and inference run on the industrial PC, with no cloud.

Training pipeline

Training and retraining use normal operation data only. Defect samples are optional.

WhenStageWhat happens
At installationData collection100 to 200 normal cycles (at least 100) are recorded during regular production.
Within an hourModel trainingThe baseline is trained on the industrial PC, typically in under an hour.
Same dayInspectionInspection runs through the same process, sends results to the PLC when one is connected, and keeps collecting normal data.
ScheduledContinuous updatesThe model is updated on a schedule or on demand with newly collected normal data.
  • Normal recordings: 100 to 200 per product, at least 100. One recording per physical unit where possible.
  • Defect recordings: not required to start. When available, they help calibrate the threshold.
  • Training runs: started manually from the console, or automatically every day at a set time.

Keeping the baseline current

When the line changes, the normal reference follows it through the same normal-data procedure.

ChangeExamplesWhat happens
Gradual driftTemperature, wear-in, small process variationDaily retraining on recent normal data absorbs slow change on its own.
Step changeMold or equipment change, part replacement, sensor re-attachmentNormal data is collected again and the model retrained by the same procedure. The retrained model is kept separate from the existing one.
New defect types—No retraining needed. A sound that differs from normal is judged Fail, whatever the defect type.
New products and variants—A new product or variant of a product type already supported gets its own normal data and training, by the same procedure. A product type without a pretrained model needs analysis development, quoted separately.

Sensing

Cochl supplies the sensors. Where and how a sensor is mounted decides how well a defect can be detected. The models named below are examples; equivalent parts may be supplied.

Example model: PCB 352C03

ItemDetail
TypeIEPE accelerometer, ceramic shear
Sensitivity10 mV/g
Range±500 g
Frequency0.5 Hz to 10 kHz (±5%)

Contact-mounted on the product or jig, so ambient noise has little effect.

Vibration sensor mounting

  • Magnetic, detachable. On exposed steel, or on a steel pad fixed to the product. Easy to move between candidate positions.
  • Jig, fixed. The sensor stays on the inspection jig and each unit passes through it, so the position never varies.

Either way, the sensor must be attached at the same position under the same conditions for every inspection.

Placement

The sensor position is chosen during the feasibility check by comparing candidate positions. Detection depends strongly on where the sensor sits; see Conditions that shape results.

Last updated

Need help? Contact support@cochl.ai

Mention Cochl Quality Inspection and what you were trying to do.

Powered by Cochl