Author Topic: AD9833 Amplitude change  (Read 1191 times)

0 Members and 1 Guest are viewing this topic.

Offline TheDice_againTopic starter

  • Newbie
  • Posts: 2
  • Country: de
AD9833 Amplitude change
« on: March 22, 2022, 07:15:53 pm »
Hello I would like to be able to change the amplitude of the AD9833 output signal. The board is controlled by an Arduino micro. I've read a lot that it shouldn't work with a normal poti? Are there still other options?
 

Online Kleinstein

  • Super Contributor
  • ***
  • Posts: 14210
  • Country: de
Re: AD9833 Amplitude change
« Reply #1 on: March 22, 2022, 10:01:11 pm »
For not too high a frequency one can still use a more normal pot with not too high a resistance (e.g. 1 K) . The problem is that parasitic capacitance will also effect the amplitude for the higher frequency part.

There are variable gain amplifier chips and programmable gain amplifiers. Some multiplying DACs can be used as variable gain attenuator for the lower frequency range.

Many other DDS chips have the option to change the DAC reference voltage for a fine adjust of the amplitude.
Coarse amplitude steps can be build with relays and CMOS switches.
 

Offline TheDice_againTopic starter

  • Newbie
  • Posts: 2
  • Country: de
Re: AD9833 Amplitude change
« Reply #2 on: March 23, 2022, 07:47:22 am »
which boards are these? are they as easy to program as the AD9833?
Ijust need to change the amplitude of a 50Hz signal.
 

Online Kleinstein

  • Super Contributor
  • ***
  • Posts: 14210
  • Country: de
Re: AD9833 Amplitude change
« Reply #3 on: March 23, 2022, 07:59:22 am »
For a lower output frequencey (e.g. up to 100 kHz) a normal potentiometers is OK and also digital potentiometers work (keep in mind the signal has to stay inside the supply range).

The variable gain amplifiers come as integrated circuits and are not common to use with hooby systems like the Arduino - so no such boards. Many of the variable gain amplifers are controlled with a votlage or current.

Variable attenuators / amplifiers for the RF range come as rather expensive modules, so not suitable here.
 

Online MarkF

  • Super Contributor
  • ***
  • Posts: 2550
  • Country: us
Re: AD9833 Amplitude change
« Reply #4 on: March 23, 2022, 01:29:27 pm »
The AD9834 DDS is an example that has an external reference voltage to control the output amplitude.  (See attached app note CD0156.)

The programming for the AD9833 and AD9834 is the same. 
I built a DDS Function Gen based on the AD9834 and used a MCP4802 to control the amplitude and DC offset. 
$Re: Looking for <$50 function generator.  The external voltage reference is 0V - 1.2V.


Edit:  I don't know if those AD9834 boards bring out the ext. ref. voltage for the user to set.
« Last Edit: March 23, 2022, 01:32:09 pm by MarkF »
 

Offline Terry Bites

  • Super Contributor
  • ***
  • Posts: 2393
  • Country: gb
  • Recovering Electrical Engineer
Re: AD9833 Amplitude change
« Reply #5 on: March 23, 2022, 03:43:41 pm »
https://www.eevblog.com/forum/projects/ceramic-potentiometer-maximum-frequency/

A pot will do unless the flatness of your response is super critical.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf