Omega Engineering DAQ-12 user manual Sampling Rate External Clock Pulses

Page 19

When configured for a 48-bit divider, the first sampling period will be slightly longer than the others because the first clock period is required to load the initial value of the multi-function timer. The following equation calculates the additional time of the first period:

tadd = 100ns * [N1 * N2]

To minimize the amount of additional time required for the first sample, select clock dividers such that N1 and N2 are as small as possible and N3 is as large as possible. Using the equations above, the minimum and maximum data sampling rates and the amount of additional time required for the first sample can be calculated.

Maximum sampling rate:

Minimum sampling rate:

N1 = 2, N2 = 5, N3 = 5

N1 = 65535, N2 = 65535, N3 = 65535

t = 100 x 10−9 * [(2)*(5)*(5)]

t = 100 x 10−9 * [(65535)*(65535)*(65535)]

t = 100 x 10−9 * 50

t = 100 x 10−9 * [2.815 x 1014 ]

t = 5 us

t = 28.146 x 106 sec

 

t = 325 days, 18 hours, 23 minutes, 29 sec

f = 10 x 106 / [(2)*(5)*(5)]

 

f = 10 x 106 / 50

f = 10 x 106 / [(65535)*(65535)*(65535 )]

f = 200 Khz

f = 10 x 106 / [2.815 x 1014 ]

 

f = 35.529 nHz

tadd = 100 x 10−9 * [2 * 5]

tadd = 100 x 10−9 * [65535 * 65535]

tadd = 100 x 10−9 * 10

tadd = 100 x 10−9 * [4.295 x 109 ]

tadd = 1 us

tadd = 429.5 sec

2.5.2External Clock

The external clock input to the DAQ-12 is a TTL level (0 - 5 volt) signal. This input may be used to control the sampling rate directly, or it may be fed through a pre-divider (the multi-function timer) with the timer output controlling the A/D sampling rate. When used to control the sampling rate directly, the frequency of the external clock input may be varied from DC to 100 KHz as long as the width of the low and high portions of the clock are a minimum of 1 us each. The A/D conversion cycle will begin on each rising edge of the external clock input. (See Figure 2-7).

1 usec min

1 usec min

5 usec min

Figure 2-7. Sampling Rate External Clock Pulses

DAQ-12 Users Manual

19

Image 19
Contents 15,1*,1 WARRANTY/DISCLAIMER Standards to which Conformity is Declared Manufacturers NameManufacturer’s Address Application of Council DirectiveFor immediate technical or application assistance Servicing North AmericaServicing Europe Page Table of Contents Introduction List of Figures and Tables Installation DAQ-12 Specifications Analog to Digital Converter Jumper J1 ConfigurationDisable Pre-Scaler Enable Pre-Scaler Factory default Recommended Input Ranges and Gain Settings Code Voltage Unipolar Bipolar Code Digital to Analog ConvertersGain = Channel BipolarBase Address Digital Input/OutputClock Selection Internal Clock External Clock Start of Conversion Trigger Selection10. Jumpers J8 and J9 Configuration Dack Direct Memory AccessExternal Interrupt InterruptsExternal Connections Page Control Word Register Register DescriptionINT2 INT1 INT0 Description 3 A/D Converter Data Register Start of Conversion RegisterClock Rate Register low word Multi-Function Timer Register4 D/A Converter 0 Register 5 D/A Converter 1 RegisterProgramming the 8254 Counter/Timer Counter 1 Clock rate register high word Version January 28