bias stability

General discussions on the Gluon-project that don't fit elsewhere. If required, I will create more subforums.

Moderator: lukasz

bias stability

Postby pizza » Mon May 17, 2010 12:38 pm

Hi tom, have you tried allan variance for estimation of non tuned noise/measurement covariances?
pizza
 
Posts: 39
Joined: Wed Jan 27, 2010 2:33 am

Re: bias stability

Postby Tom » Sat May 22, 2010 2:48 pm

This is something completely new for me.
Wikipedia: http://en.wikipedia.org/wiki/Allan_variance

A google search on "allan variance gyro" returns a lot of links, most interesting ones: http://www.xbow.com/support/Support_pdf ... rement.pdf
and
http://docs.google.com/viewer?a=v&q=cac ... YPfEUiNJRg

As I understand it is a way to model the noise and bias instability of a gyro, and not a way to compensate for it?
User avatar
Tom
Site Admin
 
Posts: 1016
Joined: Fri Nov 13, 2009 6:27 pm
Location: Belgium

Re: bias stability

Postby pizza » Wed May 26, 2010 8:10 am

i have read a few papers on how people use allan variance analysis on inertial sensors to identify the noise sources namely bias instability, ARW, RRW, quantization noise, flicker noise and ramp..then these parameters are plugged into calibration model to correct the sensor data, reducing/eliminating effects from drift and improving accuracy. ARW and RRW coefficients are used to compute the Q and R covariance matrices for Kalman filter in their implementation.

well im not sure how well it works, still trying out.
i realised the less number of bins used, the less significant those allan variances are(error increases), so i use as many bins as i can for each averaging period.

ran the av tests on sparkfun 5dof(idg500,adxl335) ..the idg500 gives really unstable data(i don't know why) while the ADXL335 gives very smooth, consistent AV curve.

tom, what has happened to your quad project from the old website? just curious why you've decided to make a jet instead
pizza
 
Posts: 39
Joined: Wed Jan 27, 2010 2:33 am

Re: bias stability

Postby pizza » Thu May 27, 2010 1:57 am

Hi all,

if it interests you, attached are my allan variance results ran at 100Hz for 24 hours each(total 86400*100samples), on IDG500 of sparkfun's 5DOF(gyrox, gyroy), STmicron's LY530alh gyroscope(gyroz), and Freescale's MMA3761L accelerometer(accx, accy, accz).

apparently the results are rather similar except for gyro X and gyro Y. Can anyone teach me how to identify the problem on the hardware?

thanks & best regards,
pizza
Attachments
av day 2.JPG
av day 2.JPG (83.23 KiB) Viewed 7878 times
av day1.JPG
av day1.JPG (72.29 KiB) Viewed 7878 times
pizza
 
Posts: 39
Joined: Wed Jan 27, 2010 2:33 am

Re: bias stability

Postby Tom » Thu May 27, 2010 8:39 am

Hi Pizza!

It seems logical that the accelerometer is the most stable one.
Taking into account the algorithmic scale, the IDG-500 seems to have a big variance indeed. I never measured the variance over a day, but it can drift quite a lot. It is weird that the STmicro one seems so much better, while I always heared it was worse.

I could do some shorter measurements on the sensor if that would be usefull for you. What exactly is tau/s ?

PS: quadrocopter is ready and is undergoing tests this week :-)
User avatar
Tom
Site Admin
 
Posts: 1016
Joined: Fri Nov 13, 2009 6:27 pm
Location: Belgium

Re: bias stability

Postby pizza » Sun May 30, 2010 12:01 pm

Hi Tom,

the taus that I use are
float taus[12]= {0.1, 1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024}; //note: unit = seconds
as these are equal intervals on the allanvariance log-log graph.
Tau is the averaging time used on the bias.

A 24 hr sample will have 86400*100 samples on a 100Hz sampling rate.
If tau = 1s, the samples are divided into 86400bins(i.e no. bins = total no. samples/samples in each tau). The samples in each bin are averaged. Then the allan variance is calculated. this is repeated for every tau. for tau=2s, there will be 43200bin etc. the less number of bins will cause higher error rate i.e ε(%)=100/√(2(bins-1)). A 2.4 hr sample will have less number of bins etc.
pizza
 
Posts: 39
Joined: Wed Jan 27, 2010 2:33 am


Return to General

Who is online

Users browsing this forum: No registered users and 34 guests

cron