Page 1 of 1

AIO/DIO module sample rate

Posted: 05 Nov 2020, 14:23
by Elon Sha
1. What is the sample rate of the input channel of the AIO module?
2. What is the sample rate of the input channel of the DIO module?
3. What is the sample rate of the input channel of the DIO module while using counters?
4. Can the data be synchronized to the process image at the same speed as the sample rate?
5. Does the AIO module share the same clock for several channels?
6. The RevPi Compact has digitals IOs with a sample rate of 125us. Can the data be synchronized to the process image at the same speed?
7. What is the cycle time of DIO/AIO/Gateway/Con module on PiBridge?
8. If I expend one AIO module on the left of RevPi Core3 and two AIO module on the right of RevPi Core3, what is the cycle time of PiBridge?
With RevPi Core and AIO module, can I collect 2000 samples per second? Can RevPi Compact do it?

Re: AIO/DIO module sample rate

Posted: 10 Nov 2020, 01:41
by Elon Sha
Dear KUNBUS team,

This is one of our customers' demand. He wants to use RevPi Core and AIO module to collect 2000 samples from accelerometer per second. He wants some setails about the AIO module, so he can know whether the AIO module fast enough to meet his demand.

I am looking forward to your reply.

Re: AIO/DIO module sample rate

Posted: 10 Nov 2020, 15:56
by dirk
Hi Elon Sha, to sum it up your central requirement is to get a sampling rate of 2000 Hz. The AIO module has a maximum sampling rate of 125 Hz and the RevPi Compact unfortunately does not have this detail in the data sheet. So I'll ask for this information. Meanwhile have a look at the downloads for the data sheets we have, here: https://revolution.kunbus.de/tutorials/downloads/

Re: AIO/DIO module sample rate

Posted: 11 Nov 2020, 03:22
by Elon Sha
Thank you for your help. I hope the RevPi Compact to be able to sample at 2000Hz. Looking forward to your reply.

Re: AIO/DIO module sample rate

Posted: 11 Nov 2020, 10:42
by dirk
Hi Elon, the fastest possible way to read analog on the RevPi Compact:
Without piControl, the cycle time for reading a single input is reduced to 125 milliseconds and the raw value is available in full 21-bit resolution. From this raw data you can calculate the desired values for yourself. You can find out how to do this here.
So you need 1/20000 Hz = 0,05 ms sample rate and the RevPi Compact may do 1/125 Hz = 8ms. So it is no possible.