Project

# Title Team Members TA Documents Sponsor
42 Low-Latency Analog Differential Equation Solver
Jiachang Wang
Tianyue Jia
Yanzi Li
Yishan Sheng
Aili Wang
# Problem
Ordinary Differential Equations (ODEs) are widely used to describe dynamic systems in the real world, such as mechanical vibration systems, electrical circuits, and thermal processes. These systems evolve continuously over time, and their dynamic behaviors are commonly modeled using differential equations. For example, a typical mass–spring–damper system can be described as $mx+cx+kx=F(t)$ where $x(t)$ represents the displacement of the system, $m$ is the mass, $c$ is the damping coefficient, $k$ is the spring stiffness, and $F(t)$ represents the external force applied to the system. Traditionally, such differential equations are solved numerically using digital computers. Numerical methods such as Euler’s method or Runge–Kutta methods discretize the equation and compute the solution iteratively. However, these approaches require repeated calculations and may introduce computational latency. In applications that require real-time response, such as dynamic system modeling, control system analysis, and rapid prototyping, digital methods may suffer from inefficiency or delay. In contrast, analog circuits can implement differential equations directly using continuous-time signal processing. By representing system variables as voltage signals and constructing differentiator, scaling, and summation circuits with operational amplifiers, the mathematical relationships of differential equations can be implemented directly at the circuit level. For example, the proposed system can simulate the real-time response of dynamic systems such as mechanical vibration models or RLC circuit responses. In this approach, system variables such as displacement or current can be observed directly on an oscilloscope as time-varying signals. This provides a low-latency solution for dynamic system analysis, control system education, and rapid engineering prototyping.

# Solution Overview
This project aims to design and implement an analog differential equation solver using operational amplifier circuits. The system directly implements the mathematical relationships of a differential equation through analog signal processing, enabling continuous-time computation of dynamic system responses. In the proposed system, variables in the differential equation are represented as voltage signals. For instance, the system state $x(t)$ is represented by a voltage signal, while its time derivative $dx/dt$ is generated using an operational amplifier differentiator circuit. At the same time, weighted amplification and summation circuits are used to construct the algebraic terms on the right-hand side of the differential equation, such as coefficient multiplications and signal combinations. The entire circuit forms a feedback structure that ensures the signals within the system satisfy the constructed differential equation. When an input signal $u(t)$ is applied as an external excitation, the circuit generates the corresponding system response in real time. The resulting waveform can then be observed on an oscilloscope. Compared with conventional digital methods, this analog approach performs computation continuously without discretization or iterative numerical algorithms. As a result, the system can achieve low-latency computation and demonstrate the feasibility of using analog electronics for real-time dynamic system modeling.

# Solution Components
The system consists of several subsystems, each responsible for implementing a specific function required for solving the differential equation.

## Subsystem I: Differentiation Module
- **Hardware I.a – Differentiator Circuit**: This module implements an operational amplifier differentiator circuit that computes the time derivative of an input signal. The circuit uses a capacitor–resistor network together with an op-amp to produce an output voltage proportional to the derivative of the input voltage. This module provides the fundamental operation required for representing derivative terms in the differential equation.
- **Hardware I.b – Summation and Scaling Circuit**: This module uses operational amplifier summing amplifiers and resistor networks to implement weighted combinations of signals. By adjusting resistor values, the circuit can scale signals to represent coefficients in the differential equation. The circuit performs operations such as coefficient multiplication and signal addition, for example implementing expressions such as $ax$ or $ax+bu(t)$.

## Subsystem II: Input Signal Module
- **Hardware II.a – Signal Generation**: This subsystem provides the external input signal $u(t)$ to the system. A function generator will be used to produce different types of excitation signals, such as step signals, sinusoidal signals, or square waves. These signals simulate external inputs to the dynamic system modeled by the differential equation.

## Subsystem III: Output Observation Module
- **Hardware III.a – Oscilloscope Visualization**: The output voltage of the circuit represents the solution of the differential equation, corresponding to the system response over time. This signal will be connected to an oscilloscope, allowing real-time observation of system behavior such as oscillations, damping, or steady-state responses.

## Subsystem IV: Power Supply Module
- **Hardware IV.a – Dual Power Supply**: Operational amplifiers require both positive and negative supply voltages to process signals that vary around zero. Therefore, the system will use a dual DC power supply providing approximately ±12 V to power the analog circuits.

# Criterion for Success
The project will be considered successful if the following criteria are satisfied:
- **Accurate Differentiation**: The differentiator circuit must correctly compute the time derivative of the input signal and operate stably within the expected frequency range.
- **Correct Equation Implementation**: The summation and scaling circuits must correctly implement the coefficients and mathematical structure of the target differential equation.
- **Real-Time System Response**: When an excitation signal is applied, the system should produce a continuous output signal representing the system response in real time.
- **Consistency with Theoretical Behavior**: The waveform displayed on the oscilloscope should match the expected theoretical behavior of the modeled differential equation, such as exponential decay, oscillatory motion, or steady-state response, within reasonable tolerance.

A Wearable Device Outputting Scene Text For Blind People

Hangtao Jin, Youchuan Liu, Xiaomeng Yang, Changyu Zhu

A Wearable Device Outputting Scene Text For Blind People

Featured Project

# Revised

We discussed it with our mentor Prof. Gaoang Wang, and got a solution to solve the problem

## TEAM MEMBERS (NETID)

Xiaomeng Yang (xy20), Youchuan Liu (yl38), Changyu Zhu (changyu4), Hangtao Jin (hangtao2)

## INSTRUCTOR

Prof. Gaoang Wang

## LINK

This idea was pitched on Web Board by Xiaomeng Yang.

https://courses.grainger.illinois.edu/ece445zjui/pace/view-topic.asp?id=64684

## PROBLEM DESCRIPTION

Nowadays, there are about 12 million visually disabled people in China. However, it is hard for us to see blind people in the street. One reason is that when the blind people are going to the location they are not familiar with, it is difficult for blind people to figure out where they are. When blind people travel, they are usually equipped with navigation equipment, but the accuracy of navigation equipment is not enough, and it is difficult for blind people to find the accurate position of the destination when they arrive near the destination. Therefore, we'd like to make a device that can figure out the scene text information around the destination for blind people to reach the direct place.

## SOLUTION OVERVIEW

We'd like to make a device with a micro camera and an earphone. By clicking a button, the camera will take a picture and send it to a remote server to process through a communication subsystem. After that, text messages will be extracted and recognized from the pictures using neural network, and be transferred to voice messages by Google text-to-speech API. The speech messages will then be sent back through the earphones to the users. The device can be attached to glasses that blind people wear.

The blind use the navigation equipment, which can tell them the location and direction of their destination, but the blind still need the detail direction of the destination. And our wearable device can help solve this problem. The camera is fixed to the head, just like our eyes. So when the blind person turns his head, the camera can capture the text of the scene in different directions. Our scenario is to identify the name of the store on the side of the street. These store signs are generally not tall, about two stories high. Blind people can look up and down to let the camera capture the whole store. Therefore, no matter where the store name is, it can be recognized.

For example, if a blind person aims to go to a book store, the navigation app will tell him that he arrives the store and it is on his right when he are near the destination. However, there are several stores on his right. Then the blind person can face to the right and take a photo of that direction, and figure out whether the store is there. If not, he can turn his head a little bit and take another photo of the new direction.

![figure1](https://courses.grainger.illinois.edu/ece445zjui/pace/getfile/18612)

![figure2](https://courses.grainger.illinois.edu/ece445zjui/pace/getfile/18614)

## SOLUTION COMPONENTS

### Interactive Subsystem

The interactive subsystem interacts with the blind and the environment.

- 3-D printed frame that can be attached to the glasses through a snap-fit structure, which could holds all the accessories in place

- Micro camera that can take pictures

- Earphone that can output the speech

### Communication Subsystem

The communication subsystem is used to connect the interactive subsystem with the software processing subsystem.

- Raspberry Pi(RPI) can get the images taken by the camera and send them to the remote server through WiFi module. After processing in the remote server, RPI can receive the speech information(.mp3 file).

### Software Processing Subsystem

The software processing subsystem processes the images and output speech, which including two subparts, text recognition part and text-to-speech part.

- A OCR recognition neural network which is able to extract and recognize the Chinese text from the environmental images transported by the communication system.

- Google text-to-speech API is used to transfer the text we get to speech.

## CRITERION FOR SUCCESS

- Use neural network to recognize the Chinese scene text successfully.

- Use Google text-to-speech API to transfer the recognized text to speech.

- The device can transport the environment pictures or video to server and receive the speech information correctly.

- Blind people could use the speech information locate their position.