Project

# Title Team Members TA Documents Sponsor
9 Dieagnosis
Josh Hartman
Megan Zeng
The Minh Pham
Yushi Zhou design_document1.pdf
proposal2.pdf
# Automated Optical Wafer Inspection System

Team Members:

- Megan Zeng (meganlz2)
- Josh Hartman (joshh3)

# Problem

In ECE 444, wafers are inspected under a microscope after fabrication steps to make sure the process was completed correctly. Since a wafer can contain dozens of dies and hundreds of devices, it is not practical to inspect every device after every fabrication step. Instead, only a small number of locations are usually inspected, and the rest of the wafer is assumed to be similar.

This can make it difficult to determine why a device fails after fabrication. For example, a problem with photoresist removal, etching, or deposition may affect a region of the wafer without being noticed during manual inspection. If the problem is only discovered during electrical testing, it can be difficult to determine which fabrication step caused it.

An automated inspection system could scan a much larger portion of the wafer after each fabrication step and identify regions that differ from the expected surface condition. This would provide additional information about where a fabrication problem may have occurred without requiring manual inspection of the entire wafer.

# Solution

We propose an automated optical wafer inspection system that uses a laser and photodiode to measure the optical response of different locations on a wafer. A low-power laser will illuminate the wafer, and a photodiode will measure reflected or scattered light from the surface. The measured signal will be compared against a baseline from an "ideal" wafer. Differences in the measured signal can indicate changes in the surface caused by fabrication anomalies.

The wafer will be mounted on an X-Y stage that moves it through a grid of measurement locations. The laser and photodiode will remain fixed while the wafer moves underneath them. A microcontroller will control the stage, collect measurements from the photodiode, and record the measurement location. The measurements will then be sent to a computer, where they will be compared against the baseline and displayed on a map of the wafer.

The system will be enclosed to reduce the effects of ambient light and keep the optical components in fixed positions. One intended application is inspecting a wafer after photoresist removal to identify regions where resist may remain before the wafer proceeds to a thermal processing step. Removing PR before a furnace step is important because PR can both severely contaminate the furnace and ruin sections of the wafer. Other surface anomalies may also be detectable depending on the optical response of the wafer at different stages of fabrication.

# Solution Components

## Subsystem 1: Optical Sensing

The optical sensing subsystem will illuminate the wafer and measure the reflected or scattered light. A low-power laser will be used so that the system can provide a consistent optical measurement at a small, localized point. Lenses may be used to control the size and focus of the laser spot on the wafer, depending on the results of initial testing.

The subsystem will contain:

- Laser: 650nm 5mW laser, specific part will be chosen based on cost and availability
- Photodiode: Vishay BPW34
- Transimpedance amplifier: Texas Instruments OPA380
- Filtering: RC low-pass filter
- Optical components: Lens and mounts for the laser and photodiode

The photodiode will produce a current based on the amount of incident light. The transimpedance amplifier will convert this current into a voltage that can be measured by the microcontroller. Filtering will be used to reduce noise in the measurement.

The exact optical geometry and lens configuration will be selected during development based on the measured signal strength and repeatability.

## Subsystem 2: Wafer Motion and Positioning

The motion subsystem will move the wafer through a predefined scan pattern and allow each optical measurement to be associated with a location on the wafer.

The subsystem will contain:

- Stepper motors: NEMA 17 stepper motors
- Motor drivers: Texas Instruments DRV8825
- Position sensors: Mechanical limit switches
- Stage: Custom X-Y motorized stage
- Wafer holder: Custom holder for a 4-inch wafer

The stage will be brought to a known origin using the limit switches before a scan begins. The microcontroller will then move the wafer to each measurement location based on the number of commanded motor steps. The system will pause briefly after each movement before taking a measurement so that vibrations from the motor do not significantly affect the optical measurement.

## Subsystem 3: Data Acquisition and Control

The data acquisition and control subsystem will control the scan, collect the photodiode measurements, and communicate with the computer.

The subsystem will contain:

- Microcontroller: STM32G474RET3
- ADC: Integrated in the MCU
- Motor control: Digital step/direction outputs for the DRV8825 drivers
- Limit switch inputs: Inputs for bringing stage to origin
- Communication: USB or UART connection to a host computer
- Custom PCB: Contains the microcontroller, optical sensing circuitry, motor interfaces, and power regulation

The microcontroller will control the motors and take one or more photodiode measurements at each scan location. Each measurement will be stored along with the corresponding X-Y position and then transmitted to the host computer.

## Subsystem 4: Data Processing and Wafer Mapping

The data processing subsystem will process the collected measurements and produce a map of the wafer.

The subsystem will contain:

- Host computer
- Python data processing software
- Python-based wafer mapping and visualization

A baseline scan will be used to determine the expected optical response for an ideal wafer condition. Measurements with a significant difference from the baseline will be marked as anomalies. The software will associate these measurements with their positions on the wafer and display the results as a two-dimensional map.

## Subsystem 5: Enclosure

The subsystem will hold the wafer, stage, laser, and photodiode in fixed positions while limiting ambient light reaching the photodiode.

The subsystem will contain:

- Enclosure: Custom machined housing
- Mounts: Mounts for the laser and photodiode. Possibly integrated into the enclosure

The enclosure will provide an environment for optical measurements and reduce noise caused by ambient lighting.

# Criterion For Success

1. Wafer positioning: The system will automatically move a 4-inch wafer through a predefined scan grid and return to a known home position.

2. Measurement repeatability: Consecutive measurements taken at the same wafer location under identical conditions will not have large swings (within 10% of each other).

3. Optical anomaly detection: The system will distinguish between two wafer surface conditions with a measurable difference in optical response.

4. Spatial mapping: The system will record the X-Y location of every optical measurement and generate a two-dimensional map covering the scanned region of the wafer.

5. Ambient-light rejection: With the enclosure installed, changes in ambient lighting will cause insignificant change (less than 5%) in the photodiode measurement.

Interactive Desktop Companion Robot for Stress Relief

Jiajun Gao, Yu-Chen Shih, Zichao Wang

Interactive Desktop Companion Robot for Stress Relief

Featured Project

# Team

- Jiajun Gao (jiajung3)

- Yuchen Shih (ycshih2)

- Zichao Wang (zichao3)

# Problem

Students and office workers often spend extended periods working at desks, leading to mental fatigue, stress, and reduced focus. While mobile applications, videos, or music can provide temporary relief, they often require users to shift attention away from their primary tasks and lack a sense of physical presence. Static desk toys also fail to maintain long-term engagement because they do not adapt to user behavior or provide meaningful interaction.

There is a need for an interactive, physically present system that can provide short, low-effort interactions to help users relax without becoming a major distraction. Such a system should be compact, safe for desk use, and capable of responding naturally to user input.

# Solution

We propose an interactive desktop companion robot designed to reduce stress and boredom through voice interaction, expressive feedback, and simple physical motion. The robot has a compact, box-shaped form factor suitable for desk environments and can move using a tracked or differential-drive base. An ESP32-based controller coordinates audio processing, networking, control logic, and hardware interfaces.

The robot supports voice wake-up, natural language conversation using a cloud-based language model, and speech synthesis for verbal responses. Visual expressions are displayed using a small screen or LED indicators to reflect internal states such as listening, thinking, or speaking. Spoken commands can also trigger physical actions, such as rotating, moving closer, or changing expressions. By combining audio, visual, and physical interaction, the system creates an engaging yet lightweight companion that fits naturally into a desk workflow.

# Solution Components

## Subsystem 1: Voice Interaction and Audio Processing

This subsystem enables natural voice-based interaction between the user and the robot. It performs wake-word detection locally and streams audio data to a remote server for speech recognition and response generation. The subsystem also handles audio playback and interruption control.

Audio data is captured using a digital microphone, encoded, and transmitted over a network connection. Responses from the server are received as audio streams and played through an onboard speaker. Local wake-word detection ensures responsiveness and reduces unnecessary network usage.

Components:

• ESP32-S3 microcontroller with PSRAM

• ESP32-S3 integrated Wi-Fi module

• I2S digital microphone (INMP441 or equivalent)

• I2S audio amplifier (MAX98357A)

• 4Ω or 8Ω speaker

## Subsystem 2: Visual Expression and User Feedback

This subsystem provides visual feedback that represents the robot’s internal state and interaction context. Visual cues improve usability and convey personality.

Different states such as idle, listening, processing, speaking, and error are represented using animations or color patterns.

Components:

• SPI LCD display (ST7789 or equivalent) or

• RGB LEDs (WS2812B or equivalent)

## Subsystem 3: Motion and Actuation

This subsystem enables controlled movement on a desk surface. The robot performs simple motions such as forward movement, rotation, and stopping based on voice commands and sensor feedback.

Motor control runs in a dedicated task to prevent interference with audio and networking functions.

Components:

• Two DC gear motors

• Dual H-bridge motor driver (TB6612FNG or equivalent)

• Optional wheel encoders

## Subsystem 4: Power Management and Safety

This subsystem manages power distribution and ensures safe operation. The robot is battery-powered to allow untethered use on a desk. Hardware and software protections limit speed, current, and movement range.

Components:

• Lithium battery with protection circuit

• Battery charging module

• Voltage regulators (5V and 3.3V)

• Physical power switch

## Subsystem 5: Subsystem 5: Safety Sensing (Desk-Edge Detection + Obstacle Avoidance)

This subsystem prevents the robot from falling off the desk and reduces collisions with nearby objects. It continuously monitors both the surface below the robot and the space in front of the robot. When a desk edge (cliff) or obstacle is detected, this subsystem overrides motion commands and triggers an immediate safe response.

Desk-edge detection (cliff detection):

Two downward-facing distance sensors are mounted near the front-left and front-right corners. They measure the distance from the robot to the desk surface. If either sensor detects a sudden increase in distance beyond a calibrated baseline, the robot immediately stops and performs a short reverse maneuver to move away from the edge.

Obstacle avoidance:

A forward-facing distance sensor detects objects in front of the robot. If an obstacle is within a predefined safety distance, the robot stops. If the obstacle remains, the robot can optionally rotate in place to search for a clear direction before continuing motion.

Control priority:

Safety sensing has the highest priority in the motion stack:

Desk-edge detection (highest priority)

Obstacle avoidance

User/voice motion commands (lowest priority)

Components:

2 × Time-of-Flight distance sensors for downward cliff detection (VL53L0X or equivalent, I2C)

1 × Time-of-Flight distance sensor for forward obstacle detection (VL53L0X or equivalent, I2C)

# Criterion For Success

The success of this project will be evaluated using the following high-level criteria:

1. The robot connects to a Wi-Fi network and establishes a server connection within 10 seconds of power-on.

2. The system detects a wake word and enters interaction mode within 2 second in a quiet environment.

3. The average end-to-end voice interaction latency is less than 5 seconds under normal network conditions.

4. At least five predefined voice commands trigger the correct robot actions with at least 90% accuracy during testing.

5. Visual feedback correctly reflects the system state in all operational modes.

6. The robot operates continuously for at least 30 minutes on battery power during active use.

7. When Wi-Fi is unavailable, the system enters a safe degraded mode without crashing or unsafe motion.

8. During a 10-minute continuous motion demonstration on a desk, the robot does not fall off the desk.

9. In an obstacle test, the robot is commanded to move forward toward a stationary obstacle (for example, a box or book) from multiple start distances for 20 trials. The robot must stop (or stop and turn) before making contact in at least 18/20 trials.

Project Videos