December 18, 2004

Inverted Pendulum


This is a project from a math and physics course my first semester in college. We were asked to model a second-order system. My group chose to model an inverted pendulum on a cart. After deriving and validating the equations of motion, we decided to implement a control system to keep the pendulum balanced.


After the class was over, I spent a weekend building a real version out of Legos to test our control system. It turned out that the 'best' parameters were not as good as the model predicted, but it did predict failure regions accurately.

This video shows working system. The pendulum itself has very little friction, both in the joint, and on the track. I used a potentiometer to sense angle, and I calculated angular velocity by having the pendulum back-drive a motor.

The control system was created in Simulink. The control circuit involved op-amps in negative feedback. The computer controlled the circuit using the very annoying Simulink Real-Time target and a flaky PCMCIA data acquisition card from Measurement Computing.

December 13, 2004

Window Walker

The final project for the Design Nature class was a walker that had to climb up a window using bellows, suctions cups, and one motor. I worked with Mark Cavolowsky, Jeff Dezso and Hossam Banaja to create one of only 3 walkers in our grade that succesfully climbed vertically.

For some reason, Mark and I decided not to use any gears in our design (we were the only team to do this). Instead, I came up with a crazy crankshaft/linkage contraption to transform the motor's rotation into the linear motion required to drive the system. What made it more complicated is that the motion of the bellows needed to be 90 degrees out of phase with the expanding/contracting motion of the device.

Video of the walker working for the first time. You can see Mark and Jeff's reflections in this window.