Frequency Resolution And Lookup Memory - National Instruments DAQArb 5411 User Manual

High-speed arbitrary waveform generator
Hide thumbs Also See for DAQArb 5411:
Table of Contents

Advertisement

Chapter 4
Arb Operation

Frequency Resolution and Lookup Memory

Note:
Note:
DAQArb 5411 User Manual
For DDS-based waveform generation, you must first load one cycle of
the desired waveform into the lookup memory. The size of the DDS
lookup memory is 16,384 samples. Each sample is 16 bits wide.
One cycle of the waveform buffer loaded into the memory should be exactly
equal to the size of the DDS lookup memory.
F
= update clock for the accumulator
c
Set the DAQArb 5411 at F
F
= desired frequency of the output signal
a
N = accumulator size in bits
Set the DAQArb 5411 at N = 32.
FCW = frequency control word to be loaded into the accumulator
to generate F
This is calculated using the formula:
N
FCW = (2
The frequency resolution is then given by:
frequency resolution = F
For example, if you need to generate a frequency of 10 MHz, then the
32
FCW is (2
* 10E6)/40E6, which equals 1,073,741,824. If you need to
generate a frequency of 1 Hz, then the FCW is (2
equals 107.
On the DAQArb 5411, the maximum frequency of a sine wave you can
generate reliably is limited to 16 MHz. Other waveforms like square or
triangular waves are limited to 1 MHz.
You can also synthesize arbitrary waveforms using DDS. Generating
arbitrary waveforms this way will be very limited; you are restricted to
a single buffer, and this buffer should be exactly equal to the size of the
lookup memory.
To update every next sample of an arbitrary waveform in lookup
memory at the maximum clock rate of 40 MHz, write an FCW value of
(N-L)
2
, where N is the size of the accumulator and L is the number of
address bits of lookup memory (L = 14 bits for the AT-5411 and the
PCI-5411). Thus, the FCW value for the DAQArb 5411 equals 262,144.
= 40 MHz.
c
.
a
* F
) / F
a
c
N
/ 2
= (40 x 10
c
4-10
6
32
) / 2
= 9.31322 mHz
32
* 1)/40E6, which
© National Instruments Corporation

Advertisement

Table of Contents
loading

Table of Contents