Electronics > Metrology

Allan deviation algorithm

(1/2) > >>

RandallMcRee:

I'm interested in programming a Teensy4.1 to output the Allan deviation of the voltage that is being monitored.

Is it feasible?

If so, does anyone have code for it?

Thanks,
Randall

Kosmic:

--- Quote from: RandallMcRee on February 28, 2024, 10:45:59 pm ---
I'm interested in programming a Teensy4.1 to output the Allan deviation of the voltage that is being monitored.

Is it feasible?

If so, does anyone have code for it?

Thanks,
Randall

--- End quote ---

I usually search in github to get some ideas.

Exemple: https://github.com/topics/allan-variance

This one look easily portable to a Teensy https://github.com/SMAC-Group/avar

Edit: Ha just noticed they don't use STL libraries. You might want to chose another one.

jfet:
The math is well documented at NIST time and frequency section.  Bill Wrilley wrote a book , its on his web site http://www.stable32.com/ that documents time measurements.  That is were Allan deviation came from David Allan at NIST.  http://www.allanstime.com/

Kosmic:
The original article from Mr Allan

Allan, David W. 1966. “Statistics of Atomic Frequency Standards.” Proceedings of the IEEE 54 (2): 221–30. https://tf.nist.gov/general/pdf/7.pdf

cncjerry:
I think Tom Van Bak did a version of the code as well.  I have the code, can't remember if I converted it to Visual Basic or did that app in C.  Ping me if you get stuck.

Navigation

[0] Message Index

[#] Next page

There was an error while thanking
Thanking...
Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod