Omega Vehicle Security DAQ-16 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 = 2, N3 = 25

N1 = 65535, N2 = 65535, N3 = 65535

t = 100 x 109 * [(2)*(2)*(25)]

t = 100 x 109 * [(65535)*(65535)*(65535)]

t = 100 x 109 * 100

t = 100 x 109 * [2.815 x 1014 ]

t = 10 us

t = 28.146 x 106 sec

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

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

f = 10 x 106 / 100

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

f = 100 Khz

f = 10 x 106 / [2.815 x 1014 ]

 

f = 35.529 nHz

tadd = 100 x 109 * [2 * 2]

tadd = 100 x 109 * [65535 * 65535]

tadd = 100 x 109 * 4

tadd = 100 x 109 * [4.295 x 109 ]

tadd = 400 ns

tadd = 429.5 sec

2.5.2External Clock

The external clock input to the DAQ-16 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

10 usec min

Figure 2-7. Sampling Rate External Clock Pulses

DAQ-16 Users Manual

19

Image 19
Contents 15,1*,1 WARRANTY/DISCLAIMER For immediate technical or application assistance Servicing North AmericaServicing Europe Page Standards to which Conformity is Declared Manufacturers NameManufacturers Address Application of Council DirectiveTable of Contents List of Figures and Tables Introduction InstallationDAQ-16 Specifications Maximum Input Voltage Amplifier Range Analog to Digital ConverterJumper J7 Configuration Volt range Unipolar Bipolar Binary 2s complement Voltage Binary ’s Complement Digital to Analog Converters Gain = Digital Input/OutputChannel Bipolar UnipolarI/O Base Address Selection Base AddressClock Selection Internal Clock External Clock Start of Conversion Trigger Selection10. Jumpers J8 and J9 Configuration Direct Memory AccessExternal Interrupt InterruptsExternal Connections Page Control Word Register Register DescriptionCHSL2 CHSL1 CHSL0 4 DAC1 Register Multi-Function Timer RegisterStart of Conversion Register 3 DAC0 RegisterProgramming the 8254 Counter/Timer Counter 1 Clock rate register high word Version January 28