This was posted on 2026-04-03
Source Code: iamJohnnySam/AlignerSimulator: Semiconductor Aligner Sensor Simulator
Modern semiconductor equipment relies heavily on precision alignment. Before any lithography, inspection, or processing step can happen, the wafer must be perfectly centered and oriented.
One of the most important subsystems responsible for this is the wafer aligner.
To help students, engineers, and algorithm developers understand how aligners actually “see” a wafer, I built a Wafer Aligner Simulator that generates realistic line-sensor data for wafers from 100 mm to 450 mm as well as SEMI G74 tape frames.

This article explains how wafer alignment works and how this simulator can help you explore the physics and mathematics behind it.
A silicon wafer may look perfectly circular, but in reality it contains orientation features that indicate crystal direction and allow machines to orient the wafer consistently.
These include:
If a wafer is even slightly misaligned, the entire process chain can fail:
Alignment accuracy requirements are typically in the tens of microns.
Most aligners use a fixed optical edge sensor while the wafer rotates on a chuck.
Instead of “seeing” the wafer as an image, the sensor measures distance to the wafer edge along a single radial line.
As the wafer rotates, the sensor produces a waveform like this:
![]()
This waveform should contain everything needed to determine:
The geometry is simple but powerful:
Mathematically:
SensorReading = intersection(sensor_line, wafer_edge(angle))
If the wafer were perfect and centered, the sensor would output a constant value.
But real wafers are never perfect.
Real aligner signals contain many effects:
Understanding how these effects combine is critical for designing robust alignment algorithms.
Access to real aligner hardware is limited.
Students and junior engineers rarely get exposure to raw sensor data.
So I built a real-time simulator that recreates what an optical edge sensor would output.
The simulator models:
The application shows three synchronized views:
This lets users see geometry and signal simultaneously.
At each angle θ, the simulator computes the wafer radius:
r(θ) = BaseGeometry
+ Notch/Flats
+ Bow/Warp
+ Edge Chips
+ Center Offset
+ Noise
The final sensor waveform is generated by simulating ray intersection with the wafer edge.
This allows users to test alignment algorithms using physically realistic datasets.
One unique capability of the simulator is support for tape frame substrates.
Tape frames are not circular — they are a rounded square profile with multiple alignment notches.
This creates a very different sensor waveform and presents interesting algorithm challenges.

The simulator can export high-resolution CSV datasets:
SampleIndex, TimeMs, AngleDeg, SensorValueMm
This enables:
Students can go from visual understanding → real data → algorithm design.
This project is especially useful for:
Students can experiment with questions like:
This makes wafer alignment interactive and intuitive.
Potential improvements include:
Wafer alignment is one of the most fundamental — yet least visible — steps in semiconductor manufacturing.
By simulating the raw sensor data behind alignment, this project helps bridge the gap between theory, algorithms, and real equipment.
If you're teaching semiconductor engineering, developing aligner algorithms, or just curious how wafer alignment works, this simulator provides a powerful way to explore the system from first principles.
See other projects and posts in the same category as this post
![]() |
Building a Semiconductor Wafer Aligner Simulator | |
| editor, wow, tags | 2026-04-03 | Read More.... | |