Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Arbitary Function Generator project

Status
Not open for further replies.

fobyellow

Junior Member level 3
Joined
Sep 30, 2004
Messages
26
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Activity points
191
function generator project

After reading the service manual of Agilent33250 AFG, i decide to build one my own.
Any one intresting?
 

analog devices function generator project

Actually, the AD9852 from analog devices is a really nice DDS to use. Very few connections (using SPI programming). You can generate perfect sinewaves, square waves, triangle waves with variable pulse width from 0 to 120MHz fairly easily. You can generate FM, FSK, PSK, ASK, and a couple others I think. With the aid of a microcontroller and some 32 bit tuning words, you can have 1 hertz resolution!
if you choose to take a look at the data sheet, there is AD's formula to get the tuning word for the freq of interest. But, to be able to cram this into a 32 bit microcontroller, you have to reduce this formula.

Their formula is:
FTW = freq x 2(48th) / 300MHz
-or-
FTW = freq x 0XFFFF,FFFF,FFFF / 300 Meg

A way to get the FTW is to use ratio.
example, if 0xffff,ffff,ffff is equal to 300Meg, then '____' is equal to 1. Then, simple mutiply the '____' by the user input.
Simple high school math.

Now, because the DDS wants 48 bits, you have to write to the upper most significant and leave the lower 16 blank. it's not going to be 'exactly' right on the money, but it'll be dang close. I'm talking .01 of a hertz in most cases.

I've actually put one of these together with a MPC92432 to get an awesome 1hz resolution generator up to about 1.4 GHz (I've pushed this chip to well over 1.5GHz). Both chips are serial controlled. Something I've also done is split the path to an pre-amp to a freq doubler from Mini circuits and I'm good to over 3 GHz.
One thing you have to do, however, is on the lower freq coming from the MPC part, you'll have to filter off the harmonic becuase that output is not anything you can 'match' to. You can do this with a couple swithed paths, each path going to a Low pass filter from minicircuits. You'll need to plan this filter scheme well.

If you decide to take on the challenge, I'll be glad to help, as I've already done it and have it sitting in my radio shack at home... I use it all the time.
 

dds function generator project

yes , the tektronix AFG320 is built using a DDS chip, but most of the DDS chip have only 10-bit waveform DAC, difficult to get low THD&S/N
also it's not easy to generate a FM signal using DDS chip.
if built with LUT + 16bit-DAC ,it would be very nice!
 

fm generator using ad9852

The 9852 can do FM (a triagle fm though) it's also 12 bit. My setup works pretty dang good. Analog devices has a bunch of measurements listed on their datasheet regarding noise, etc...
I've got a lot of code already written that can guide you in the right direction... IF you decide to take it on.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top