My Work

Unmanned Aircraft (UAV)    >> Go there


Mechanical Design      >> Go there

Electro-Mechanical    >> Go there

Project Videos

Mechanical Head Tracker

...for immersive video flight.

Mechanical Head Tracker: First Prototype (2008)
This was a cost-effective method of controlling video camera pan/tilt aboard model aircraft.  It doesn't suffer from gyroscopic drift or require that you face magnetic north, and it costs 90% less than the competition.

The video shows the first working prototype.  Pictured above is a more comfortable and smaller strap-on version developed shortly thereafter.  The kinematics of each is designed around the mechanics of the head and neck.  Special consideration was taken to minimize coupling between the pan (side-to-side) and tilt (up-and-down) movements.  This video from the cockpit shows the head tracker in action, starting at about 1min, 25 sec.

Electro-mechanical Design

All content is limited to elements not subject to patent or nondisclosure agreements.

Spindle Speed Regulator (PID Control)

After gumming up my end mills in aluminum and melting plastics on the milling machine a couple times, I decided I had better get some eyes on my spindle speed before I ruined any more parts or chipped any more cutters.  At the time, I set my spindle speed by listening to the motor and taking my best guess at how fast it was turning.

What I needed was a tach with a digital read-out, like the ones on the big machines.  Well, I couldn't find just what I wanted at a reasonable price, so I decided to cheat and make my own using a microcontroller - besides, this would be a fun little project.  I found a good hall-effect sensor to pick up the rotation of a shaft and off I went.  Pretty soon I had a digit read-out of my spindle speed and a lot less trouble cutting aluminum and polycarbonate.

That's about the time I started getting lazy...  Why should I have to fine tune the spindle speed and make adjustments myself, right?  I wanted a tach with cruise control.  Besides, this would be a fun little project to get my mind off of helicopters at work.  And it was!  I got to learn about PID control and how to implement the algorithm on a microcontroller.  Then my wife got to go nuts while I timed oscillations and struggled to tune the controller; just imagine a low-pitched siren blaring in your garage for a couple evenings in the row.

Well, I eventually got it to work!  I coupled it to a beefy triac to control mains power going to the motor, and added a lookup table to the code to linearize the output.  The push button cycles through a menu so you can see the gain values and target RPM.  And while the motor is running, you get a digital read-out of the spindle speed.

Motor Controllers

I first became interested in motor control when I set out to build a 3-axis CNC machine for $100.  Most stepper motor controllers on the market were going for $30 or more, and I needed three.  I just wanted three little motors to turn - really, how hard could that be?

Well, not as easy as I had hoped.  After figuring out how to use logic gates to produce a step sequence that could be fed to the motor through a power stage, I excitedly connected the 12V supply.  The motor buzzed, power transistors smoked, and a week of studying and wiring fizzled out in a few seconds.  After another week of troubleshooting and soldering, I was back on track with new transistors.  I flipped the switch on just for a second this time, just to see if anything got hot.  It seemed ok, so I went ahead with my testing and sure enough, the motor turned! ...until I turned up the speed or put any load on the shaft while in motion.  Excited, but a little frustrated I called my dad, an electrical engineer among other things.  What do you mean I can't switch an inductive load like that?  What's a linear current limiter?

After an electronics lesson over the phone, all the reasons I would need to place yet another order to Digikey were clear to me.  Dang.  I found a good explanation of constant current supplies and limiters in The Art of Electronics (Horowitz and Hill) and off I went.  Round three went much better.  I was finally able to get adequate speed and torque out of my salvaged stepper motors.  With some tweaking I ended up with the hand-wired board pictured above.

From that beginning, I was able to build my first CNC mill.  Soon after its completion, I was hired by Airframe Manufacturers in Sandy, Utah to develop another high-current motor controller and CNC machine for drilling and trimming wing panels.  I was able to cut and drill circuit boards for this and other motor controllers using the machine powered by my original, hand-wired controllers.  As for the cost savings, I spent an extra $15-20 on tuition for lessons learned, but was able to build the machine for under $120.

See more on CNC machines and Mechanical Design.

See more on Unmanned Aircraft.