Multimedia Room, Polivalente II, 2nd floor Campus de Tafira, Las Palmas 20th January, 2012
www.idetic.eu
20th January
IDeTIC Seminar
ANT
RX OL TX
Control PS
19 subrack 3U form board (100x160mm) with connector DIN41612 Rear: digital signals Front: analog signals Power Supply: 220Vac and 12V DC
20th January
IDeTIC Seminar
INTRODUCTION
1.
DDS Theory
DDS THEORY
EXAMPLE: AD9954
2.
Example: AD9954
a. Datasheet
SUMMARY
3.
4.
Summary
20th January
IDeTIC Seminar
INTRODUCTION
DDS is a method of producing an analog waveform,usually a sine wave, by generating a time-varying signal in digital form converted into analog signals using a DAC NCO (Numeric Controlled Oscillator) also called Advantages Capable of generating a variety of waveforms (sine, triangle, square) Preferred form of signal generation nowadays Fast switching capability (freq. hopping systems (phase-continuous)) High precision sub Hz (mHz) and sub degree phase tuning Digital circuitry Small size (single chip) fraction of analog synthesizer size Fewer components per system - low cost Small low-powered devices portability Easy implementation (no Barkhaussen criterion, PLL (LPF design)) Fewer assembly operations / reduced product reject rates
DDS THEORY
EXAMPLE: AD9954
SUMMARY
20th January
IDeTIC Seminar
INTRODUCTION
DDS THEORY
Digital Circuits
Frequency Word Sine N Accum W Lookup R D-to-A 14 to 10 to to Fr 24 ulator 16bits 48bits Table 14bits Conv. Ref clk Low Pass Filter
fout=
EXAMPLE: AD9954
fclkFr 2N
Sine Wave
SUMMARY
1/fout
1/fout
1/fout
1/fout
1/fclk
1/fclk
1/fclk
20th January
IDeTIC Seminar
INTRODUCTION
DDS THEORY
0 pi 2pi
EXAMPLE: AD9954
SUMMARY
The phase accumulator is actually a modulo-M counter. Increments its stored number each time it receives a clock pulse. Magnitude determined by word (M). This word forms the phase step size between reference-clock updates; it sets how many points to skip around the phase wheel. The larger the jump size, the faster the phase accumulator overflows and completes its equivalent of a sine-wave cycle. The number of discrete phase points contained in the wheel is determined by the resolution of the phase accumulator (n), which determines the tuning resolution of the DDS. IDeTIC Seminar
7
20th January
INTRODUCTION
DDS THEORY
EXAMPLE: AD9954
SUMMARY
20th January
Sampling theory (sinc(x)) Nyquist: Fundamental signal <= Fclk/2 (1/3 better) Filter required to eliminate unwanted products Lets increase the fundamental signal frequency
IDeTIC Seminar
INTRODUCTION
DDS THEORY
EXAMPLE: AD9954
SUMMARY
Sampling theory (sinc(x)) Nyquist: Fundamental signal <= Fclk/2 (1/3 better) Filter required to eliminate unwanted products
20th January
IDeTIC Seminar
Super-Nyquist Operation
INTRODUCTION
DDS THEORY
EXAMPLE: AD9954
SUMMARY
SNR, SFDR and power reduction SAW filter (narrowband) Change Fs to center sinc envelope peak
20th January
IDeTIC Seminar
10
INTRODUCTION
History
Earlier designs 1970s for audio signal applications from sampled values of sine wave in ROM later driving DAC Modern approaches much improved and mostly derivative of the classical approach Practical use in Comms System by 1990s 1980s Highest freq. - < 10 MHz limitation of DAC tech. Current DDS systems 1GHz (new 2.7GHz)
DDS THEORY
EXAMPLE: AD9954
SUMMARY
DDS vs PLL
DDS generates lower frequency than PLL DDS frequency can be controlled in very fine increments. The frequency of a DDS synthesizer can be changed much faster than that of the PLL. DDS occupies a single chip, and PLL several Easy oscillator design in DDS, complex in PLL
20th January
IDeTIC Seminar
11
INTRODUCTION
DDS THEORY
EXAMPLE: AD9954
SUMMARY
Square-, triangular-, and sinusoidal outputs from a DDS Also Sweep, Chirp, RAM profiles, Amplitud control
FSK
12
20th January
IDeTIC Seminar
INTRODUCTION
DDS THEORY
EXAMPLE: AD9954
FSK
13
IDeTIC Seminar
Spurs !!!
INTRODUCTION
DDS THEORY
EXAMPLE: AD9954
SUMMARY
20th January
Spurs !!!
INTRODUCTION
DDS THEORY
EXAMPLE: AD9954
SUMMARY
20th January
Spurs sources
INTRODUCTION
DDS THEORY
EXAMPLE: AD9954
SUMMARY
IDeTIC Seminar
16
INTRODUCTION
DDS THEORY
EXAMPLE: AD9954
SUMMARY
IDeTIC Seminar
17
INTRODUCTION
DDS THEORY
- The limiter stage converts the sine wave to a square wave, and the AM spurs are thus converted to PM (phase modulation) spurs. - The quality of the reference clock imposes limits on DDS performance in ways that are often recognizable (those DDS spurs that maintain their relationship to the carrier as you change the output frequency).
EXAMPLE: AD9954
SUMMARY
20th January
IDeTIC Seminar
18
Spurs sources: Phase truncation - Consider a 32-bit phase accumulator - If we maintain all 32 bits throughout, the DDS core would occupy a large die area and dissipate significant power. - Truncating the value from the phase accumulator (passing only the accumulator's most significant bits to the angle-to-amplitude mapper) reduces area and power - The phase-truncation spur mechanism models as a noise source summed
INTRODUCTION
DDS THEORY
EXAMPLE: AD9954
SUMMARY
Example: 20bits accum to 8 bits As the value in the discarded section accumulates, it eventually overflows into the truncated phase word (effect is phase-modulation spurs)
20th January
IDeTIC Seminar
19
INTRODUCTION
DDS THEORY
EXAMPLE: AD9954
SUMMARY
Example: -6.02x14=-84dBc Note: if no bits in the discarded portion are set to logic one, then no phase-truncation spurs occur
20th January
IDeTIC Seminar
20
INTRODUCTION
DDS THEORY
- SNR calculation describes an ideal DAC. Real DACs also have nonlinearities due to process mismatches and imperfect bit-weight scaling. - Harmonic alias because the DAC is a time-sampled system. Well-defined relationship
EXAMPLE: AD9954
SUMMARY
20th January
IDeTIC Seminar
21
INTRODUCTION
DDS THEORY
EXAMPLE: AD9954
SUMMARY
20th January
IDeTIC Seminar
22
Practical Application of Direct Digital Synthesis (DDS) DDS THEORY SpurKiller Technology: The Results on a DDS Output Spur
INDEX
INTRODUCTION
BEFORE
DDS THEORY
AFTER
EXAMPLE: AD9954
SUMMARY
IDeTIC Seminar
23
SpurKiller Technology
INTRODUCTION
DDS THEORY
Use an auxiliary DDS channel to add in a signal at the same frequency and amplitude as the spur, but 180 out of phase with the highest spur Its all in the Digital Domain!
DDS Channel for spur reduction
EXAMPLE: AD9954
Frequency Accumulator
FTW
Phase Offset
32
14
COS(X)
DAC
SUMMARY
16
10
Register
Register
Register
The frequencies at which spurs appear are simple functions of the sampling rate and the programmed output frequency. Spurs are therefore predictable. In addition, the relative phase of each spur does not change.
20th January
IDeTIC Seminar
24
INTRODUCTION
DDS THEORY
EXAMPLE: AD9954
SUMMARY
Typical output phase noise plot for the AD9834. Output frequency is 2 MHz and M clock is 50 MHz.
20th January
IDeTIC Seminar
25
INTRODUCTION
DDS THEORY
EXAMPLE: AD9954
SUMMARY
20th January
IDeTIC Seminar
26
INTRODUCTION
DDS THEORY
EXAMPLE: AD9954
Loop Filter
VCO
Fref
RF
SUMMARY
FRF N Fref
20th January
IDeTIC Seminar
27
INTRODUCTION
DDS THEORY
EXAMPLE: AD9954
Loop Filter
VCO
Fref
DDS
RF
SUMMARY
FRF NM
20th January
Fref 2n
28
IDeTIC Seminar
INTRODUCTION
DDS THEORY
EXAMPLE: AD9954
Loop Filter
VCO
Fref
RF
SUMMARY
DDS
M
FRF 2n
20th January
Fref M
29
IDeTIC Seminar
INTRODUCTION
DDS THEORY
EXAMPLE: AD9954
Loop Filter
VCO
Fref
RF
SUMMARY
N Fclk DDS
F FRF N Fref M clk 2n
20th January
IDeTIC Seminar
30
DDS Tools
INTRODUCTION
DDS THEORY
EXAMPLE: AD9954
SUMMARY
ADISim DDS
20th January
IDeTIC Seminar
31
INTRODUCTION
DDS THEORY
EXAMPLE: AD9954
SUMMARY
400 MSPS internal clock speed Integrated 14-bit DAC Programmable phase/amplitude dithering 32-bit frequency tuning accuracy 14-bit phase tuning accuracy Excellent dynamic performance >80 dB narrowband SFDR
Phase noise better than 120 dBc/Hz Serial I/O control Ultrahigh speed analog comparator Automatic linear & nonlinear freq sweeping 4 frequency/phase offset profiles 1.8 V power supply
20th January
IDeTIC Seminar
32
INTRODUCTION
DDS THEORY
EXAMPLE: AD9954
SUMMARY
400 MSPS internal clock speed Integrated 14-bit DAC Programmable phase/amplitude dithering 32-bit frequency tuning accuracy 14-bit phase tuning accuracy Excellent dynamic performance >80 dB narrowband SFDR
Phase noise better than 120 dBc/Hz Serial I/O control Ultrahigh speed analog comparator Automatic linear & nonlinear freq sweeping 4 frequency/phase offset profiles 1.8 V power supply
AD9954 datasheet
20th January
INTRODUCTION
DDS THEORY
EXAMPLE: AD9954
SUMMARY
20th January
IDeTIC Seminar
34
INTRODUCTION
DDS THEORY
EXAMPLE: AD9954
SUMMARY
20th January
IDeTIC Seminar
35
INTRODUCTION
DDS THEORY
EXAMPLE: AD9954
SUMMARY
20th January
IDeTIC Seminar
36
INTRODUCTION
DDS THEORY
EXAMPLE: AD9954
SUMMARY
20th January
IDeTIC Seminar
37
INTRODUCTION
DDS THEORY
EXAMPLE: AD9954
SUMMARY
20th January
IDeTIC Seminar
38
INTRODUCTION
DDS THEORY
EXAMPLE: AD9954
82-109 MHz DDS 122.7 MHz Controller CARDS12 AGC
SUMMARY
Problem: 112MHz (F.I.1) & 10.7MHz (F.I.2) spurs Solution: Narrow filtering
20th January
IDeTIC Seminar
39
INTRODUCTION
DDS THEORY
EXAMPLE: AD9954
SUMMARY
20th January
IDeTIC Seminar
40
INTRODUCTION
DDS THEORY
EXAMPLE: AD9954
SUMMARY
20th January
IDeTIC Seminar
41
INTRODUCTION
DDS THEORY
EXAMPLE: AD9954
- It moves F.I. (12KHz) inside soundcard bandwidth (96KHz) to avoid spurs - Changes DDS oscillator freq.
SUMMARY
20th January
IDeTIC Seminar
42
Remember:
INTRODUCTION
DDS THEORY
EXAMPLE: AD9954
DDS can be used to obtain a variety of precision waveforms Compared to other frequency generating techniques, a DDS has many advantages. DDS has well known error characteristics Spurious frequency components in the output signal (bad) Bandwidth of the output signal (bad) Output spectrum purity/quality depends largely on reference clock quality
SUMMARY
Future Trends
Higher clock speeds (digital technology also DAC conversion speed) Lower spur levels
20th January
IDeTIC Seminar
43
Seminar in
Practical Application of Direct Digital Synthesis (DDS) Thanks for your attention!! Any question?
En espa, plis!!
Multimedia Room, Polivalente II, 2nd floor Campus de Tafira, Las Palmas 20th January, 2012
www.idetic.eu
Seminar in
Practical Application of Direct Digital Synthesis (DDS) Thanks for your attention!! Any question?
En espa, plis!!
Multimedia Room, Polivalente II, 2nd floor Campus de Tafira, Las Palmas 20th January, 2012
www.idetic.eu