10 Ocak 2012 Salı

Videos of tuning process

Here is a video of parts of the tuning process.


More RCTP tuning goodness

After the unfortunate propeller-meeting-flesh-incident i have decided that the RCTP needs to be tuned without touching it.

 Adding a gimbal around it's center of gravity let me tune pitch and roll individually.
All data are in and the RCTP should now be stable on all axes.
Pitch response
AND NO BLOOD!!!


I'm singing in the lair..

I was asked if it would be possible to make a device that react to singing. Initially I thought "sure, but it will require a powerfull computer, some signal processing software and complicated algorithms etc".
Somehow I couldn't shake the thought that there may be a simple way to do it.
A while ago i made a decoder for some DominoEX radio communication signals. It was a small microcontroller that took an audio signal from a radio receiver and decomposed it into its frequency components, analyzed these and turned them into data. The frequency range of this signal coincidentally corresponds to that of the human voice.

I thought that there may be a way to use part of this system to look for tones of singing. This was the idea.


I made this quick'n dirty prototype using a AVR microcontroller...
...and then surpriced everybody by singing loudly. The graph show the score*100. I think with some tweaking  it will be possible to make a simple micro controller device that detects singing.

Pitch and roll tuning end in pain...

After the initial success i went on to tuning the PID controllers for pitch and yaw. After 20 fairly sucessfull minutes i accidently hit the throttle while holding on to the elastic ribbon and WHACK ... the rotor cut deeply into two of my fingers sending blood everywhere.
Bad times. Experiment now suspended until i have all my digits back...

Moments of robot tuning

After completeing the RCTP hardware the flight controller needed to be adjusted for stability. I am using a simple PID controller for now.
Starting with YAW I suspended the RCTP from an elastic ribbon so that it was able to yaw freely.
Throttle and YAW tuning parameters was supplied from the RC-controller via wirerless. Measurement data was received via. cable.

I chose some conservative initial settings for the PID controller (Blue: Integral=0, Green: Proportional=30, Yellow: Derivative=35-ish). And commanded (via the RC controller) a yaw angle of 0.
When starting the rotor the system was oscillating around the YAW axis as suspected. Increasing the D-term (again via. a slider on the RC controller) cancelled the oscillation. A push on the RCTP confirmed that the regulation loop worked.

After some testing it was confirmed that the YAW angle of the RCTP was not zero (zero angle is currently the compass angle in which the flight contrroller is power up). Increasing the I-term fixed that problem.
Yaw is now stable regardless of the rotor speed.

3 Ocak 2012 Salı

RCTP roll cage and progress


After a stupid accident I decided to protect the propeller of the Reaction Control Test Platform.
Using 1mm. carbon rods I made a cage that surrounds the propeller. The cage only add 4,9 gram to the structure but is still very strong should easily keep stuff out of the blades.
Total weight now 295,4 gram.
After completing a preliminary firmware for the device I have now flown it a couple of times.
As expected it has a tendency to wobble. This is caused by the gyroscopic force of the propeller. I have designed the firmware so that i can offset the angle between the IMU  thrust vectoring vanes. This should allow me to compensate for these forces.
Right now the flight controller is loaded with a conservative set of control parameters but still seems fairly stable. Over the next couple of days i will be optimizing the system and have more flight testing.

Firmware

Hardware

Geiger counter from recycled stuff


When fiddling around with smoke alarms containing radioactive isotopes I got interested in measuring radioactivity in general. A friend gave me a FZH76V Geiger-Müller tube that require 500V exitation voltage. Most discarded LCD monitor has a high voltage driver for the backlight VFD tubes. Normally these drivers run on 12V and produces a couple of kV but when run on 5V they easily provide the around 500V that a typical GM tube require.
The above circuit can be connected directly to a micro controller and the pulses it generates can easily be picked up on a normal I/O pin.
I have only tested the circuit with the FZH76V tube but i'm sure that it can be adapted to other devices. I know from experience that the exitation voltage need to be within 10% of the specified value for the device for things to work well.