Author Topic: Simple amplifier for AD9850 DDS?  (Read 37071 times)

0 Members and 1 Guest are viewing this topic.

Offline miceuzTopic starter

  • Frequent Contributor
  • **
  • Posts: 387
  • Country: lt
    • chirp - a soil moisture meter / plant watering alarm
Simple amplifier for AD9850 DDS?
« on: November 02, 2013, 05:52:47 pm »
Hi all,

I've got a cheap AD9850 module off ebay, of course it's crap - some bits are appearently stuck in it as it has "jumps" in frequency while increasing it's register value. Nevertheless, it does output a sine wave.

I want to make a simple amplifier for it, but the module being crap, I don't want to invest into a proper job, just to have something "more than nothing".

What could be the most simple amplifier I could build? Discrete transistors? Opamp?

I want the output to be 10V peak-to-peak and frequency range of 10Hz to 20MHz. Today I just hooked up a pair of NPN transistors (BC549, just the first one from the junk box) the first one as a common collector buffer and second one as common emitter amplifier. I notice significant decrese in amplitude of amplified signal at 1MHz. How could I improve it by choosing proper transistors or an opamp? What transistor characteristic to look into? Is this frequency range achievable with one amplifier circuit or should I have separate amplifiers for separate frequency ranges and there is no simple way around it?  :-BROKE

Offline minime72706

  • Frequent Contributor
  • **
  • Posts: 267
  • Country: us
Re: Simple amplifier for AD9850 DDS?
« Reply #1 on: November 02, 2013, 05:56:47 pm »
You'll need an opamp with a rather high GBW, maybe 100MHz? They also make transistors, basic jellybean ones even, that are meant for RF applications.
I have more incomplete projects than I have digits and toes.
 

Offline Bored@Work

  • Super Contributor
  • ***
  • Posts: 3932
  • Country: 00
Re: Simple amplifier for AD9850 DDS?
« Reply #2 on: November 02, 2013, 06:07:41 pm »
Video OpAmp. E.g. AD818, NE592 or MAX452  (no, I didn't check if they can deliver your Vpp).
I delete PMs unread. If you have something to say, say it in public.
For all else: Profile->[Modify Profile]Buddies/Ignore List->Edit Ignore List
 

Offline c4757p

  • Super Contributor
  • ***
  • Posts: 7799
  • Country: us
  • adieu
Re: Simple amplifier for AD9850 DDS?
« Reply #3 on: November 02, 2013, 06:14:27 pm »
I'll put in a vote for the LM7171. It fits all of your requirements, is pretty low-maintenance, low cost, and has enough GBW to share ;D Gobs of output current, too, you may be able to use it directly as the output without a buffer (though a simple class-AB amplifier made of a PN2222 and PN2907 and a couple diodes and resistors is cheap and will lighten its load a bit and keep it cool - this ain't no low-power op amp...).

Edit - the GBW isn't as high as I thought it was - 200 MHz (I thought 300). Barely enough if you want a gain of 10. Hopefully you don't need that much gain, though, and I did look into the AD9850 and noticed it's sine only, so at least you don't have to bother with harmonics. You could always chain two.

It shouldn't be hard to do this with transistors at that bandwidth - I don't know what the output voltage is (it's not quickly visible in the datasheet), but I'll assume a gain of about 10 is required. Up to 20 MHz sine wave gives you a GBW of 200 MHz, which even a PN2222 can manage (though it's not nearly as easy as an audio amplifier). If you have higher-frequency content (i.e. anything but a sine wave) you'll need a better transistor, like BFS17W. The problem with this is that you are going to have DC offset on your output, which you probably don't want, and if you go to the trouble to eliminate it, you're basically implementing your own op amp. Might as well buy one.
« Last Edit: November 02, 2013, 06:28:43 pm by c4757p »
No longer active here - try the IRC channel if you just can't be without me :)
 

Offline minime72706

  • Frequent Contributor
  • **
  • Posts: 267
  • Country: us
Re: Simple amplifier for AD9850 DDS?
« Reply #4 on: November 02, 2013, 06:47:59 pm »
I don't think those basic BJT transistors are fast enough. 'BF' series?
I'm not terribly knowledgeable about RF transistors, but I came across the BF199, which is 1.2GHz.
I have more incomplete projects than I have digits and toes.
 

Offline miceuzTopic starter

  • Frequent Contributor
  • **
  • Posts: 387
  • Country: lt
    • chirp - a soil moisture meter / plant watering alarm
Re: Simple amplifier for AD9850 DDS?
« Reply #5 on: November 02, 2013, 10:46:41 pm »
thanks guys, I'll try some of the options and report back how it goes.

Offline rastro

  • Frequent Contributor
  • **
  • Posts: 388
  • Country: 00
Re: Simple amplifier for AD9850 DDS?
« Reply #6 on: November 02, 2013, 11:53:03 pm »
You can get a little more amplitude out of the ebay 9850 DDS modules by changing the resistor that controls R_SET (not to be confused with Reset). 

There are a few applications notes that provide some insight. 
http://www.datasheetarchive.com/dl/Datasheet-03/DSA0038818.pdf
http://www.analog.com/static/imported-files/application_notes/AN-423.pdf

More specifically for there are 2 basic styles of 9850 DDS modules on eBay.  The most prevalent one has a large 125Mhz Xtal and no jumpers.  On these modules R6 is usually a 392 (3.9K ohm).  I've replaced this with a 222 (2.2K ohm) on 2 modules to increase the amplitude across the 30Mhz range with no ill effects.  The chip probably does run a little hotter.  I was also terminating into 50-ohm so I needed the extra juice.  Also I think the lowest you want to go on R6 is 1.8K ohm.  It's been a while since I did this so I don't remember the exact increase but it was noticeable over the typical unterminated 1.2 V Pk-Pk on the default boards.

This is no way intended to get you close to 10V amplitude but it may help if your amplifier is gain limited and would benefit by a larger input.


 

Offline JackOfVA

  • Supporter
  • ****
  • Posts: 350
  • Country: us
Re: Simple amplifier for AD9850 DDS?
« Reply #7 on: November 03, 2013, 12:10:54 am »
When you say 10V PP, is that into a coaxial cable or a capacitive load?  If so, you will likely need to  back terminate the op-amp with 50 ohms (or 75 ohms or whatever coax impedance you use) series resistor as most op amps are not happy operating into a capacitive load. The safe fix is a series R.

The result will be to cut your PP voltage in half since the back termination resistor and the load resistor will be in series and equal.

If you don't need back termination - e.g., operating into a  resistive load with little (a few pF) shunt capacitance -  then your design becomes easier.


 

Offline rastro

  • Frequent Contributor
  • **
  • Posts: 388
  • Country: 00
Re: Simple amplifier for AD9850 DDS?
« Reply #8 on: November 03, 2013, 12:17:40 am »
Here is a link to someone working on a similar project.  This is also where I originally got the R_SET modification.

http://www.vk5tm.com/homebrew/dds/dds.php

 

Offline dannyf

  • Super Contributor
  • ***
  • Posts: 8221
  • Country: 00
Re: Simple amplifier for AD9850 DDS?
« Reply #9 on: November 03, 2013, 12:33:18 am »
Quote
I want the output to be 10V peak-to-peak and frequency range of 10Hz to 20MHz.

You will need agc. A simple way to do it is to use a VGA/PGA, like AD603.

Of course, you can play with the Rset pin.
================================
https://dannyelectronics.wordpress.com/
 

Offline KJDS

  • Super Contributor
  • ***
  • Posts: 2442
  • Country: gb
    • my website holding page
Re: Simple amplifier for AD9850 DDS?
« Reply #10 on: November 03, 2013, 11:12:18 am »
I like the BFS17 for gain at those frequencies.

Offline dannyf

  • Super Contributor
  • ***
  • Posts: 8221
  • Country: 00
Re: Simple amplifier for AD9850 DDS?
« Reply #11 on: November 03, 2013, 11:51:00 am »
A discrete solution may be to use a dual gate mosfet (BF998 for example) and utilize its negative gain on the 2nd gate for agc.
================================
https://dannyelectronics.wordpress.com/
 

Offline miceuzTopic starter

  • Frequent Contributor
  • **
  • Posts: 387
  • Country: lt
    • chirp - a soil moisture meter / plant watering alarm
Re: Simple amplifier for AD9850 DDS?
« Reply #12 on: November 04, 2013, 10:29:17 am »
Hm, this idea of variable gain amplifier is totally new to me.

So in general, to account for gain-bandwidth product limitations you integrate or peak-detect your amplified signal and adjust gain according to that?

This looks a bit too complicated for what I expected to do away with, but nevertheless, interesting and maybe worth investing time just to learn something new  :-+

Any example circuits for double-gate mosfet solution?

Offline KJDS

  • Super Contributor
  • ***
  • Posts: 2442
  • Country: gb
    • my website holding page
Re: Simple amplifier for AD9850 DDS?
« Reply #13 on: November 04, 2013, 11:28:55 am »
I wouldn't bother with anything too complex.

use a simple common emitter stage to give you some gain, but add some inductance in series with the resistor on the collector so you get more gain at high frequency. Feed that into a common collector stage to give you some output drive

Offline G0HZU

  • Super Contributor
  • ***
  • Posts: 3523
  • Country: gb
Re: Simple amplifier for AD9850 DDS?
« Reply #14 on: November 04, 2013, 10:36:53 pm »
To cover 10Hz to 20MHz with decent linearity up to maybe 10 volts pkpk I would be looking at using a current feedback (CFBK) op amp.

The high speed and high performance versions of these are often very expensive but a reasonably priced contender is an AD844AN and I can remember using these up to a couple of MHz in high performance IF circuits designed to drive a DSP back end. This was about 20 years ago but I think this device is still available.

Looking at the datasheet the AD844 device will work reasonably well up to 20MHz. It can be run from a +/- 15V supply.

The linearity of this device is excellent up to about 1MHz but it won't be so good up at 10MHz or 20MHz and it won't be very linear at 10Vpkpk at any frequency. But I guess it depends on what linearity you can accept.

You also have to read the datasheet for the AD844 device very carefully in order to get it to work as intended. It isn't the same as a regular voltage feedback op amplifier. eg you have to choose the feedback resistors to suit your bandwidth requirements as well as for setting the gain.

Analog Devices supply SPICE models of the various versions of the AD844 if you want to download the model to try out a basic simulation.
 
You can probably find an AD844 fairly cheaply. eg sub $10 on ebay. However, if the performance isn't quite good enough then you will have to buy a more expensive part or consider an alternative technology for the amplifier. Note that I think you would have to use a couple of them in series to get the amount of (flat?) gain you need across 10Hz to 20MHz.

« Last Edit: November 04, 2013, 10:41:20 pm by G0HZU »
 

Offline dannyf

  • Super Contributor
  • ***
  • Posts: 8221
  • Country: 00
Re: Simple amplifier for AD9850 DDS?
« Reply #15 on: November 05, 2013, 02:11:31 am »
Don't have an agc circuit handy for the BF998. But the gist is to buffer the output from the bf998 and then rectify it before feeding it to the 2nd gate - fairly typical for this type of circuit.

As for gain blocks, you can look into mmics - they don't have perfectly flat gains like opamp but with an agc in the feedback loop, it doesn't matter.
================================
https://dannyelectronics.wordpress.com/
 

Offline jwm

  • Regular Contributor
  • *
  • Posts: 64
  • Country: us
    • NaN
Re: Simple amplifier for AD9850 DDS?
« Reply #16 on: November 05, 2013, 05:18:58 am »
Hi, I too am building a similar ad9850 circuit but am ganging up two modules to have more flexibility (such as quadrature). I am looking into an op-amp line driver and to my eye http://www.ti.com/product/lmh6672 looks like it would be a good fit to give them both strong 50ohm driving outputs through the whole range. Am I missing something?

It says 3db loss at 90mhz, so does that mean that the signal will be 70% it's amplitude at 90mhz? Since I am generating sine waves with no higher harmonics that will be cut off, does that mean there will be no distortion only the amplitude change at higher frequencies?

Just want a sanity check on what I am planning.

When it comes to AGC, I was thinking of taking the idea from this http://www.analog.com/static/imported-files/application_notes/AN-423.pdf and driving the gate of the fet from a PWM pin of my controlling uC which knows the frequency generated so can adjust the amplitude accordingly.

    John
John Meacham - http://notanumber.net/
 

Offline G0HZU

  • Super Contributor
  • ***
  • Posts: 3523
  • Country: gb
Re: Simple amplifier for AD9850 DDS?
« Reply #17 on: November 05, 2013, 08:19:39 pm »
I think the LMH667x series are voltage feedback amplifiers and so you have to be careful because the gain will collapse at high frequencies if you try for a reasonable voltage gain from the device.

eg if you want a voltage gain of 10 then you could be looking at 6dB of gain droop by 20MHz!

That's why I suggested a current feedback op amplifier because they tend to have better high frequency performance at high gain settings :)

However, you also have to decide what distortion specs you want your amplifier to meet across its range. The AD9850 DDS produces very low harmonics down at AF frequencies so it would be a shame to throw this purity away in a low spec amplifier.

So I guess it depends if you ever wanted to use the system to produce 'very' low distortion waveforms at a few kHz. eg something to drive a signal generator MOD input at 1V pkpk or for testing a basic audio amplifier.

If you aren't bothered about maintaining very low distortion then maybe a simple design using a few BJTs will suffice. eg something along the lines of the circuit suggested by KJDS. It will certainly be the cheapest :)


« Last Edit: November 05, 2013, 08:21:43 pm by G0HZU »
 

Offline dannyf

  • Super Contributor
  • ***
  • Posts: 8221
  • Country: 00
Re: Simple amplifier for AD9850 DDS?
« Reply #18 on: November 05, 2013, 08:37:17 pm »
My favorite is ad815: wideband, high current capabilities and no problem driving into a 50ohm load.

and dirt cheap.
================================
https://dannyelectronics.wordpress.com/
 

Offline Hydrawerk

  • Super Contributor
  • ***
  • Posts: 2662
  • Country: 00
Re: Simple amplifier for AD9850 DDS?
« Reply #19 on: November 06, 2014, 06:10:08 pm »
Hi all,
I've got a cheap AD9850 module off ebay, of course it's crap - some bits are appearently stuck in it as it has "jumps" in frequency while increasing it's register value.
I am experiencing the same problem, but maybe there is some problem with my c code in ATmega32.
I will try to do some more investigation.
Amazing machines. https://www.youtube.com/user/denha (It is not me...)
 

Offline Hydrawerk

  • Super Contributor
  • ***
  • Posts: 2662
  • Country: 00
Re: Simple amplifier for AD9850 DDS?
« Reply #20 on: March 19, 2015, 09:51:51 pm »
What exactly does the D2 pin do? It must be set to zero when doing serial communication.
What does the D2 do when in parallel communication?
Amazing machines. https://www.youtube.com/user/denha (It is not me...)
 

Offline Hydrawerk

  • Super Contributor
  • ***
  • Posts: 2662
  • Country: 00
Re: Simple amplifier for AD9850 DDS?
« Reply #21 on: March 19, 2015, 10:04:23 pm »
I am using ATmega32 + LCD to control my AD9850 by parallel communication.
It works fine but often I have problems with D2 pin. Sometimes unwanted voltage 2.5V appears and spoils the communication. The unwanted voltage comes from AD9850, not from ATmega32. Has anyone experienced this? Is my AD9850 faulty? Yes, I tried changing the ATmega32. When I remove the AD9850, the unwanted voltage never appears at the ATmega32's pin. Should I try a HCF4010B buffer?
Amazing machines. https://www.youtube.com/user/denha (It is not me...)
 

Offline Marco

  • Super Contributor
  • ***
  • Posts: 7545
  • Country: nl
Re: Simple amplifier for AD9850 DDS?
« Reply #22 on: March 19, 2015, 10:07:27 pm »
As long as he's driving a high'ish impedance load what's wrong with a common emitter amplifier with an emitter follower for output?
 

Offline poorchava

  • Super Contributor
  • ***
  • Posts: 1673
  • Country: pl
  • Troll Cave Electronics!
Re: Simple amplifier for AD9850 DDS?
« Reply #23 on: March 19, 2015, 10:24:54 pm »
LM7171 is nice, I have used it in an Intersil-chip-based DDS. Worked nicely, although I couldn't get it to operate linearily with reasonable noise and distortion over 10-15MHz (G=10).
I love the smell of FR4 in the morning!
 

Offline Hydrawerk

  • Super Contributor
  • ***
  • Posts: 2662
  • Country: 00
Re: Simple amplifier for AD9850 DDS?
« Reply #24 on: March 20, 2015, 12:08:13 am »
Any ideas on D2 pin?
Amazing machines. https://www.youtube.com/user/denha (It is not me...)
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf