Wiki

This version is outdated by a newer approved version.DiffThis version (21 Nov 2014 14:27) was approved by Tim Harder.

This is an old revision of the document!


Production testing of the AD-FMDAQ2

The production testing is quite simple. Since each board has been completely characterized, and we know the layout is good, we can just look for gross errors. To do this, it's just a matter of writing a small script which will run the test script, which we normally put in /usr/local/bin/test_fmcdac2.sh:

#!/bin/bash
/usr/local/bin/osc -p /usr/local/lib/osc/profiles/AD-FMCDAQ2_test.ini
rc=$?
 
if [[ ${rc} -eq 0 ]] ; then
        /sbin/shutdown -h now
fi
 
/sbin/shutdown -h now

And then starting this up when booting:

--- ./.config/autostart/config_autostart_osc.desktop	2013-12-09 15:55:41.774730469 -0500
+++ ./.config/autostart/config_autostart_osc.desktop	1969-12-31 19:20:18.000000000 -0500
@@ -1,11 +1,11 @@
 
 [Desktop Entry]
 Type=Application
-Exec=/usr/local/bin/osc
+Exec=sudo /usr/local/bin/test_fmcdaq2.sh
 Hidden=false
 NoDisplay=false
 X-GNOME-Autostart-enabled=true

and then reboot…

Test parameters

The tests and test parameters are in in the ./iio-oscilloscope/profiles/AD-FMCDAQ2_test.ini file. This is broken down into the following sections:

Temperature

<source master/profiles/AD-FMCDAQ2_test.ini:/temp/-/^$/ shell iio-oscilloscope>

The ad7291.in_temp0_raw is the raw results from the AD7291 - which is 0.25°C. 80 refers to 80 steps of 0.25°C or 20°C, and 160 refers to 40°C. This allows the tests to be done in a normal lab setting.

Voltage

<source master/profiles/AD-FMCDAQ2_test.ini:/number/-2/^$/ shell iio-oscilloscope>

This section needs a quick peek at the schematics. Sheet 7 shows how the AD7291 is connected. 1% resistors connect various voltages, and things are divided down to ensure that the voltage levels don't exceed full scale.

Signals

<source master/profiles/AD-FMCDAQ2_test.ini:/channels/-5/^$/ shell iio-oscilloscope>

First the noise floor is checked when no input is supplied to make sure it is within a certain threshold. Then tones of approximately 97 Hz, 185 Hz, and 233 Hz are input against both channels and the fundamental frequency as well as the 2nd through 7th harmonics are checked to make sure they are within set bounds.

resources/eval/user-guides/ad-fmcdaq2-ebz/testing.1416575943.txt.gz · Last modified: 21 Nov 2014 14:19 by Tim Harder