Projects
Course and independent projects in embedded control, power systems, and digital hardware. Source files, slides, and reports are linked where available.
Real-time frequency stability controller using a hybrid MCU+FPGA architecture for microgrids
UNR coursework (Power System Stability and Control)
Real-time frequency estimation and supervisory control for low-inertia microgrids, with estimation on an FPGA and control on a DSP running concurrently.
- Five-stage VHDL pipeline on an Altera Cyclone V FPGA: LTC2308 12-bit ADC acquisition, DC-offset removal, FIR low-pass filtering, zero-crossing frequency estimation, and RoCoF calculation.
- Droop-based PI supervisory control and under-frequency load shedding on a TI TMS320F28335 at a fixed 1 ms period, fed over a 1 MHz SPI link.
- End-to-end latency of 9.3 ms versus 17 ms for a serialized single-processor baseline; frequency nadir improved from −0.571 Hz to −0.247 Hz, with recovery to ±0.05 Hz in 4.95 s after a +0.20 pu step load.
Graph neural network-based distribution system state estimation
UNR coursework (Computer Solutions for Power System State Estimation)
A real-time state estimation framework for distribution systems that uses IEEE 1547 smart inverters as sensors where conventional measurements are sparse.
- Simulated inverter-based measurement scenarios on the IEEE 33-bus system in MATPOWER to train a GNN that estimates bus voltage magnitudes.
- Mean absolute error of 0.027 on the IEEE 33-bus system and 0.099 on the IEEE 14-bus system, benchmarked against conventional WLS estimation.
Comparative study on Kalman filtering for electric vehicle powertrain parameters
UNR coursework (Random Signals and Estimation Theory), team of three
Sensorless estimation of rotor speed and electromagnetic torque for PMSM and open-end winding induction motor drives.
- Unified nonlinear state-space model for PMSM and OEWIM-DI drives, discretized with fourth-order Runge–Kutta.
- Implemented and compared EKF and UKF observers under EV-like operating conditions.
Fingerprint identification system using an R307 sensor and STM32 microcontroller
UNR coursework (Microprocessor Applications), team of two
A fingerprint enrollment and identification system built by interfacing an R307 optical fingerprint sensor with an STM32F767ZI microcontroller, controlled through a menu-driven serial terminal interface.
- Interfaced the R307 sensor over UART4 at 57,600 baud using its packet-based command and acknowledgement protocol (header, address, packet identifier, length, instruction, parameters, and checksum), and verified the link through the sensor's password handshake.
- Built a menu-driven interface on a PuTTY terminal over USART3 at 115,200 baud to view stored fingerprints, verify or enroll a finger, batch-enroll six fingers per user (thumb, index, and middle of both hands), delete one record, or clear the database.
- Kept a 150-entry metadata database on the microcontroller that maps each sensor page ID to a user name and finger code, kept in sync with the sensor's template memory on enrollment, deletion, and clearing.
- On verification, displayed the matched user, finger, and confidence score and lit the green LED; on no match, lit the red LED and offered to enroll the new fingerprint.
STM32-based brushless DC motor speed control and analysis
UNR coursework (Microprocessor Applications), team of two
Speed control and measurement of an A2212/13T 1000 KV brushless DC motor with an STM32F767ZI microcontroller, an electronic speed controller, and an OPB715Z reflective proximity sensor.
- Generated a 50 Hz PWM control signal on Timer 3 with a 1–2 ms pulse width to drive the motor through the ESC, and implemented open-loop speed ramping from minimum to maximum speed.
- Built a PuTTY serial interface over USART3 at 115,200 baud showing the measured average speed, pulse width, duty cycle, and the maximum speed expected at the supply voltage.
- Measured speed with the proximity sensor on Timer 1 input capture (rising edge, interrupt-driven), timing one tape-marked propeller blade per revolution; an input filter removed glitches from noisy sensor output.
- Characterized pulse width against speed in MATLAB, from about 1,660 rpm at 1.1 ms to about 7,250 rpm at 1.95 ms, showing a nearly linear relationship.
- Triggered an LED 30° before the marked blade reached the sensor at 10% of maximum speed, lit for 10% of each revolution, then ramped the speed until the blinking was no longer visible.
Generic Null Convention Logic (NCL) MAC unit
TAMUK coursework (Advanced Digital Design)
A dual-rail unsigned multiply-accumulate unit designed and verified in VHDL using the asynchronous NCL paradigm.