Control systems
Measuring error and driving physical behavior predictably despite noise, delay, saturation, and imperfect mechanics.
Projects
- 5-inch carbon-fiber FPV droneA 5-inch carbon-fiber quadcopter I designed and built. I sized its propulsion and power from thrust, weight, and current calculations, configured and tuned Betaflight (PID loops, flight modes, GPS features, return-to-home), and evaluated GPS accuracy, RF link quality, and flight performance under GNSS jamming and IMU/GNSS integration constraints.
- easyPIDA hardware-agnostic Arduino PID controller library with independent instances, timing controls, anti-windup, derivative filtering, state introspection, and an optional relay autotuner.
- Brainiacs autonomous race carA WRO Future Engineers vehicle dividing Jetson Nano perception from Arduino Mega real-time control, with OpenCV traffic-sign logic, PID steering, an MPU6050 IMU, and TCS34725 color sensing.
- PID light trackerAn Arduino project from fall 2024 that uses light sensing and two servo axes to follow a light source with PID control.
- Rotor-fault detection and recovery for a quadrotorA reproducible study of rotor-fault tolerance for a 5-inch quadrotor: estimate how well each rotor still works, detect and isolate a loss within tens of milliseconds, and recover, including from the complete loss of one rotor. Validated offline on PX4 software-in-the-loop flights; the test on the real vehicle is prepared, not done.
- ESP32 barn-door star trackerA 3D-printed barn-door tracker for photographing the Orion Nebula with a DSLR. The ESP32 firmware times every microstep from the exact geometry of the mechanism, a Python model predicts the longest sharp exposure for each lens, and a planner picks the night. Designed, compiled and tested in software; not yet built.
- Teach it: a drone-control bootcampA seven-evening course that takes engineering students from PID on an RC circuit to a quadrotor that survives losing a rotor, taught with my easyPID library and my rotor-fault study. Every session has notes, an auto-checked notebook, a lab, a quiz and slides. It is ready for a first cohort and has not been taught yet.
Writing
- Engineering a five-inch FPV drone from first principlesBuilding a five-inch FPV drone is an exercise in coupled constraints: every part you choose changes what the others have to do.
- Designing a PID library for real embedded controlThe PID equation is short. A controller that behaves predictably on an Arduino needs much more than three gains.
- Building an autonomous race car in twenty daysA small autonomous vehicle forced perception, control, power, mechanics, and team decisions into one unforgiving loop.
- What a two-axis light tracker teaches about PID controlA small Arduino robot turns control theory into something visible: error, overshoot, noise, saturation, and settling all happen in front of you.
- A first mechatronic loop without a pumpAn early Arduino project that hit targets with gravity-fed water bursts, and taught that the plant changes after every action.
- What losing a rotor teaches about estimationA quadrotor that loses a rotor has a fraction of a second to notice. Noticing turns out to be an estimation problem, and most of it is about what you assume the healthy machine is.
- A barn-door tracker that does the mathsThe barn-door tracker’s famous tangent error is pure geometry, so the firmware can remove it exactly instead of the mechanics approximating it.
- Teaching drone control from an RC circuit upA drone is a stack of feedback loops. The course builds that stack one loop at a time, starting where mistakes are cheap.