Sand → Silicon / Module

🤖 AI × Semiconductors

A modern fab produces terabytes of sensor data per day; a fleet of power converters produces billions of telemetry points. No human can watch it all — machine learning can. This module shows where AI genuinely earns its keep: keeping power electronics alive, spotting wafer defects, catching anomalies before they become scrap, and drawing smarter test limits. Every concept has a demo you can drive.

AI · 01 FOUNDATION

Why Fabs & Converters Love ML 📡

Same loop everywhere: sense → learn → predict → act. What changes is the data and the cost of a mistake.

The problem is scale, not intelligence

One EUV scanner logs thousands of sensor channels. One wafer sort run produces a map of tens of thousands of dies with hundreds of parametric measurements each. An EV inverter reports currents, voltages and temperatures every millisecond for 15 years. The patterns that predict failure are in there — but they're needles in petabyte haystacks.

Three flavours of ML you'll meet here

  1. Supervised learning — learn from labelled examples: “this wafer map = etch problem”, “this die = fail”. Used for defect classification and yield prediction.
  2. Unsupervised / anomaly detection — learn what normal looks like, flag anything else. No labels needed; perfect for equipment monitoring where failures are rare.
  3. Reinforcement learning & optimization — learn by trying: tune a converter control loop or a litho recipe against a reward. The newest and most experimental.
SupervisedUnsupervisedAnomaly detectionReinforcement learningDigital twinEdge AI
💡 A beautiful loop
AI needs chips to run — and chips increasingly need AI to be made. TSMC, Samsung and Intel all credit ML with measurable yield-ramp acceleration, and those better chips then train better models. The snake eats its tail, productively.
📡 SENSE volts · vibration · images · test data 🧠 LEARN train on history, find structure 🔮 PREDICT fault in 3 weeks · this die will fail 🦾 ACT schedule repair · tune recipe · rebin the ML loop same loop for a fab tool, a converter fleet, or a test floor
Sense → learn → predict → act: every application in this module is this loop wearing different clothes.
AI · 02 POWER ELECTRONICS

AI for Power Electronics ⚡🤖

Converters fail slowly, then suddenly. ML hears the "slowly" part.

🩺

Predictive maintenance

Electrolytic capacitors dry out, solder joints fatigue, fans wear. Their electrical signatures drift for weeks before failure — models flag the drift and schedule repair before the blackout.

Anomaly detection
🌡️

Thermal & lifetime models

Junction temperature is what kills devices, but you can't measure it directly. Neural nets infer it from currents and case sensors — a live digital twin of device stress.

Regression
🎛️

Smarter control loops

PID gains are tuned once for the worst case. RL and neural controllers adapt to load, temperature and aging — squeezing out faster response and lower losses across all conditions.

Reinforcement learning
☀️

MPPT & forecasting

Solar MPPT under partial shading is a multi-peak search problem — ML search beats classic hill-climbing. Grid operators forecast solar/wind with ML to schedule converters and storage.

Optimization
🔍

Fault classification

An inverter's current waveform distorts differently for a shorted device vs a failing sensor vs a motor fault. Classifiers name the fault from the waveform — no teardown needed.

Supervised
🔋

Battery management

State-of-charge and state-of-health are hidden states estimated from voltage/current/temperature history — ML models now outperform classical filters, extending pack life.

Time series

🩺 Demo · Converter Health Monitor

Live telemetry from a (simulated) DC-DC converter. The model learns the normal band, then flags anomalies. Inject faults and tune the model's sensitivity — feel the false-alarm vs missed-fault trade-off that every ML engineer lives with.

✔ detected faults 0 ✘ missed faults 0 ⚠ false alarms 0
What you're learning
Lower σ catches every fault but cries wolf; higher σ stays quiet but misses the early, subtle drift. Real deployments tune this on historical data — and the cost of a missed fault (a stranded EV, a downed server rack) usually justifies a few false alarms.
output ripple sensor learned normal band
streaming telemetry · red dots = model alerts
AI · 03 FAB VISION

Reading Wafer Maps Like a Radiologist 🔬

A wafer map's failure pattern is a fingerprint of the process step that caused it. CNNs read fingerprints very well.

Spatial signatures = root causes

When dies fail randomly, that's baseline defect density. But when they fail in a ring, a scratch-line, a center blob or an edge crescent, the geometry itself names the culprit: an etch-chamber uniformity problem looks nothing like a CMP scratch or a coating issue. Engineers used to eyeball thousands of maps; CNN classifiers now do it in milliseconds per wafer and route each signature to the right equipment team automatically.

Beyond wafer sort: optical inspection

The same idea runs upstream: inline inspection tools photograph wafers between steps and ML models sort millions of candidate defects into killers vs cosmetic nuisances (deep learning cut nuisance rates dramatically vs rule-based filters), deciding in real time which wafers need review.

  1. Collect — bin maps from wafer sort, images from inspection tools.
  2. Featurize — radial/angular fail densities, clusters, line fits (or let a CNN learn them).
  3. Classify — ring / scratch / center / edge / random, with confidence.
  4. Route — auto-create a ticket for the matching process module. Yield ramp accelerates.
Wafer map ADCCNNSpatial signatureKiller vs nuisanceRoot-cause routing

🧬 Demo · Wafer-Map Pattern Classifier

Generate a failure pattern, then let the classifier name it and point at the guilty process step.

A toy version of what runs on every production line — the real ones are CNNs trained on millions of labelled maps.
AI · 04 TEST & YIELD

Smarter Test Limits, Higher Yield

Every test limit is a bet: too tight and you throw away good chips (overkill), too loose and bad chips escape to customers.

⚖️ Demo · The Test-Limits Dilemma

Each dot is a die measured on two parameters. Green = truly good, red = truly bad (you only know this after expensive system-level test). Drag the spec limits — then let ML draw the boundary instead.

shipped good — overkill (good binned out) — escapes (bad shipped!) — effective yield —
Rectangular limits waste the corners; a learned boundary hugs the true good region.

Where ML earns money on the test floor

Overkill recovery — parameters interact: a die slightly high on leakage but strong on speed may be perfectly good, yet a rectangular spec box kills it. Models trained on full test + field data learn the true pass region and recover percent-level yield. Adaptive test — if the first 20 measurements already predict "pass with 99.99% confidence", skip the remaining 200. Test time (and tester cost) drops by double digits. Escape prevention — outlier detection (like DPAT: dynamic part average testing) flags dies that pass all limits but sit far from their wafer-mates' distribution — classic latent-failure suspects, critical in automotive.

Yield prediction & virtual metrology

Feed inline sensor data from every process step into a model and you can predict a wafer's final yield days before wafer sort — catching drifting tools mid-lot instead of post-mortem. "Virtual metrology" goes further: the model estimates film thickness or CD from equipment signals, replacing some physical measurements entirely.

Overkill / EscapesAdaptive testDPAT outliersVirtual metrologyYield predictionDPPM
💡 The economics
Test can be 25–40% of chip cost. On a line producing millions of units, recovering 1% overkill or cutting 20% of test time is worth tens of millions of dollars per year — which is why test-floor ML was one of the first fab AI applications to pay for itself.
Reference

Problem → Technique Cheat Sheet 🧭

When you meet a problem in the wild, start here.

“This equipment fails without warning”
Anomaly detection on sensor streams (autoencoders, isolation forests) + remaining-useful-life regression. → predictive maintenance.
“Humans review thousands of defect images”
CNN image classification with active learning — the model asks humans only about the images it's unsure of.
“Which process step killed this wafer?”
Wafer-map spatial-pattern classification + correlation of yield vs tool history (feature attribution).
“Test takes too long / costs too much”
Adaptive test: predict remaining outcomes from early measurements; skip or reorder tests per die.
“Good chips are being thrown away”
Learned pass/fail boundaries on multivariate test data instead of independent rectangular limits.
“Bad chips reach customers”
Outlier screening (DPAT/NNR) — flag statistical strangers even when they pass every limit.
“My control loop is tuned for the worst case”
Reinforcement learning or neural controllers that adapt gains to load, temperature and aging in real time.
“We measure everything, twice, slowly”
Virtual metrology — infer the measurement from equipment sensors; physically measure only samples.
🧭 Keep exploring
Revisit the Wafer Test and Yield stages with these tools in mind — or jump to Power Electronics to see the hardware these models keep alive.