Sunday, November 19, 2017

New sensor board in the making

I'm trying to be far more careful now about how I build up and qualify my boards. I got 6 boards made from Osh Park and fully stuffed one of them yesterday. Today, I'm doing a step by step qualification to make sure everything works well.

I attached a Fio V3 to the board with a temporary header and rubber bands (someone should make Cleco fasteners for 0.1 inch headers!!) and used a Sparkfun TMP102 breakout board I had lying around as a generic I2C device to test the pressure sensor slots (so I don't risk my actual, expensive pressure sensors).

First, I learned that unless I de-populated the pullup resistors and decoupling cap on the TMP102 breakout, the bus did not work properly. I suspect it was the pullups that were overwhelming the bus, given that my board already has pullups.

With that fixed, I was able to verify that each of the pressure sensor slots were interrogated correctly by my bus scanner and that the TMP102 showed up where I expected it to.

Here is a picture of my test setup, followed by a picture of the signals as digital and analog traces on the scope. You can see how each of my 4 I2C buses is lit up in sequence by my bus scanner program.




Turbulence at the top of my mast

I installed a little tuft to estimate the amount of turbulence at the top of my mast:


As you can see, it is in view of my video camera. The result of a test run on the freeway is here (and note also impact with a tree branch ... happily no harm done).


Here are some things I noticed:

1. The piece of copper wire holding the tuft in place is a little bit wiggly, which could be exaggerating the movement of the tuft.

2. That said, even when there were few road bumps and the wire was staying put, the tuft was wiggling around quite a bit.

3. It seems difficult to estimate the frequency of the oscillations but I'm going to suspect it's just broad spectrum noise.

4. If this is any indication of what things look like on a crowded runway, I'll have to do some serious digital filtering to basically reject everything except the bandwidth of interest, which is probably no faster than 0.5 Hz or so.

With that in mind, then, the following is my plan of attack:

1. Build up and qualify a reliable new probe.

2. Test it with the 60 mW XBee modules, pushing the sampling rate as high as I possibly can while still getting reliable comms.

3. Thus oversampled, now add a simple lowpass filter on the display.

4. Give myself a TODO item to learn about Kalman filters and implement a more proper filtering strategy later.

Sunday, November 12, 2017

Furl the staysails!

I made a mast to fit on my 2006 Toyota Prius to permit further testing. The mast is an 8 foot section of aluminum tubing; at that height, if there is any turbulence, then it is likely to also occur at takeoff and landing and should probably be digitally filtered. In any case, it's a cheap way to do tests.

The mast is made of an 8-foot length of 1" square 1/16" wall aluminum tubing. At the bottom, it is riveted to a large T-strap hinge which is attached to a piece of plywood which is in turn held onto the car's roof rack bar with a pair of U-bolts. I have some ropes with carbiner hooks attached to the four jacking points under the bumpers, and from these and the roof rack I have 4 stays made of paracord. The lines come off and the mast folds down for transport. I don't deploy it unless I know I'm on a stretch of road where I'll have clearance.

Here it is, stowed and deployed:




I drove the rig around today on a 45mph road and on the freeway, with a camera attached, to determine how it held up. Stability seemed good. I'm generally not worried about excessive vibrations.

Here is the 45mph run:



And, after gaining some confidence, this is the run on the freeway:



For a subsequent test, I'd like to make a dead-simple wind vane and stick it up in view of the camera to get a baseline for how turbulent the flow is up there and how that is affected by vehicles ahead of me on the freeway.