01-22-2007 09:10 PM
Hi Rolf,
Can you please elaborate on what you mean by real sample frequency? Are you talking about the effective sampling rate for each channel on the module? Also, will you be using the serial communication with only the FieldPoint driver, or are you planning on interfacing with other communication protocols such as ModBus and/or CAN?
01-22-2007 10:51 PM - edited 01-22-2007 10:51 PM
Update Rate
The update rate of the [c]FP-AI-112 is determined by the filter
settings and the number of input ranges in use. Higher filter
settings and fewer input ranges yield faster update rates. Use the
following formula to determine the approximate update period:
(number of channels with 50 Hz filter) × 0.061 s +
(number of input ranges with 50 Hz filter) × 0.12 s +
(number of channels with 60 Hz filter) × 0.051 s +
(number of input ranges with 60 Hz filter) × 0.10 s +
(number of channels with 500 Hz filter) × 0.007 s +
(number of input ranges with 500 Hz filter) × 0.012 s + 0.16 s
= Update Period
Message Edited by hemmerling on 01-22-2007 10:55 PM
01-23-2007 02:34 AM
01-24-2007 05:15 PM
Hi Rolf,
I have looked into this some more, and have found that the AI-112 will be unable to meet your sampling requirements of 10Hz. The best that it can do appears to be approximately 13Hz.
As for the AI-118, it is possible to achieve the sampling rates you are looking for. The all channel update rate according to the manual is 3.45kHz with a 10Hz filter and 10.42kHz without a filter. To determine the effective sampling rate, a few other things need to be taken into consideration. The effective sampling rate needs to consider the all channel update rate, the communication time, as well as the software loop rate. In most cases, the communication rate is negligible compared to the all channel update rate of the hardware, and not factored when calculating the effective sampling rate. If you are interested in factoring that in, you can assume that all 8 channels need to transfer 16 bits of data. Use your baud rate, divide by the amount of data being transferred over. The protocol beneath the FP Read is Optumux, so you can try to find the overhead added. If you do not want to do that, you can assume that it is in the micro-second range. To find a precise effective sampling rate, you must add the software loop rate, communication time, and the all channel update rate.
Please let me know if you have any further questions.
01-25-2007 03:19 PM
01-27-2007 04:29 PM
Rolf,
I apologize for the mistake I made. I
meant to say 3Hz, not 13Hz. The fastest sample rate is 0.27s, or 3.7 Hz.
1.) That is correct, you should be able to achieve 10.42kHz without filtering
when using the AI-118. You will not be able to get this with the
AI-112. They are two different modules that were designed with two
different specifications. We have different modules with different
specifications to meet the needs of a wide range of applications.
2.) I cannot provide you a typical value for the number of samples you
can transfer per second via the RS-232 line because again, this is code
dependent. R&D does not provide a typical value for this as code may
vary greatly from one application to the next. The amount of data you can
transfer is highly dependent upon the loop rate of your code. I would
recommend asking the providers of this "offered solution" for these
benchmarks. They would be better able to provide you with these numbers
as they have the loop rate information.
Please let me know if there is anything else I can do for you. Best of
luck on your application, and have a wonderful weekend!!!
01-27-2007 11:39 PM