I got an Arty board about two months ago and I'd like to use the power supply monitor feature. My main question is: "what's the appropriate sampling rate"
Never used a 7 series FPGA before so I started reading through the XADC user guide[UG480] and the Driving the Xilinx Analog-to-Digital Converter[XAPP795] note. From what I understand (correct me if I'm wrong):
Both inputs must be set to unipolar
The XADC should be operated in simultaneous sampling mode to sample both voltage and current at the same time
No auto-calibration in this mode. Calibration is done once at power-on
The sampling rate should be low enough to cover the settling time of the analog input
Looking at the respective circuit
and assuming 12-bit accuracy, the settling time for the voltage sensing inputs [XAPP795,pp.2-8], [UG480,pp.79-80] is roughly
which implies sampling rates < 600 samples/sec if I don't want any gain errors. That's fine, but the problem is
the XADC cannot be used for other, faster inputs
we can't directly drive the XADC with the 100MHz board clock anymore, because the maximum ADCCLK divisor of 255 implies a minimum ~15Ksps/sec rate (not that big of an issue, plenty of PLLs in the chip - just worth mentioning)
The few options I see are:
Forget about mixing monitoring and higher rate signals in the same design
Lower the bit accuracy and use averaging
Live with the error at higher rates and use averaging
Am I missing something here, do I have this whole thing completely wrong?
Has anyone successfully used the monitor inputs in the Arty? (couldn't find anything online)
Question
lvoudour
Hello,
I got an Arty board about two months ago and I'd like to use the power supply monitor feature. My main question is:
"what's the appropriate sampling rate"
Never used a 7 series FPGA before so I started reading through the XADC user guide [UG480] and the Driving the Xilinx Analog-to-Digital Converter [XAPP795] note. From what I understand (correct me if I'm wrong):
Looking at the respective circuit
and assuming 12-bit accuracy, the settling time for the voltage sensing inputs [XAPP795,pp.2-8], [UG480,pp.79-80] is roughly
tset = 9.01 * (8.33K + 8.25K + 1K + 1K) * 10nF ~= 1.67ms
which implies sampling rates < 600 samples/sec if I don't want any gain errors. That's fine, but the problem is
The few options I see are:
Am I missing something here, do I have this whole thing completely wrong?
Has anyone successfully used the monitor inputs in the Arty? (couldn't find anything online)
Thanks,
Lymperis
Link to comment
Share on other sites
8 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.