AIO/DIO module sample rate

Topics about the Hardware of Revolution Pi
Post Reply
Elon Sha
Posts: 18
Joined: 17 Aug 2020, 11:40
Answers: 0

AIO/DIO module sample rate

Post 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?
Elon Sha
Posts: 18
Joined: 17 Aug 2020, 11:40
Answers: 0

Re: AIO/DIO module sample rate

Post 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.
User avatar
dirk
KUNBUS
Posts: 1926
Joined: 15 Dec 2016, 13:19
Answers: 4

Re: AIO/DIO module sample rate

Post 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/
Elon Sha
Posts: 18
Joined: 17 Aug 2020, 11:40
Answers: 0

Re: AIO/DIO module sample rate

Post 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.
User avatar
dirk
KUNBUS
Posts: 1926
Joined: 15 Dec 2016, 13:19
Answers: 4

Re: AIO/DIO module sample rate

Post 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.
Post Reply