Need DDS module, 2nd round

Mar 02, 2013 144 Replies

Hi Folks,



Long story short, none of the DDS modules I've found so far has the ability to be sweeped or FM-modulated. This one has a signal input terminal block "SIN" but I received a response from the manufacturer that it connects to nowhere, it has no function:



formatting link



What I need in my case is DC-100Hz of sweep or FM bandwidth. Operating frequency under 10kHz and sweep range up to 2kHz. Of course I can whip up an analog solution but it won't be as precise and most of all not really programmable.



Is there anything better? Cost is not a big issue but should be somewhat small and a display would be nice.


Regards, Joerg http://www.analogconsultants.com/

If by 'operating frequency under 10kHz' you mean the output frequency doesn't exceed 10kHz a fast microcontroller and a DAC (codec) should be more than sufficient. It doesn't sound like its rocket science to me...

Failure does not prove something is impossible, failure simply indicates you are not using the right tools... nico@nctdevpuntnl (punt=.) --------------------------------------------------------------

But it is to me, I am an analog guy who knows barely enough C and assembler to be dangerous. Plus there ain't much time, I need some module that I can simply plop in and connect. The one in the link would be ideal if the modulator input weren't be dead.

Regards, Joerg http://www.analogconsultants.com/

Have you by any chance looked at National Instruments for signal generators, or for similar instruments or vendors?

I suppose you're looking for something stand-alone, though, not something that needs an umbilicus to a computer in order to function.

My liberal friends think I'm a conservative kook. My conservative friends think I'm a liberal kook. Why am I not happy that they have found common ground? Tim Wescott, Communications, Control, Circuits & Software http://www.wescottdesign.com

I guess they thought they could re-program the DDS fast enough / on the fly to get a glitch-free output. How much time do you have?

Failure does not prove something is impossible, failure simply indicates you are not using the right tools... nico@nctdevpuntnl (punt=.) --------------------------------------------------------------

g
p

hat

DDS outputs are intrinsicly glitch-free - what you change is the number added to the phase accumulator on each step, and the stair-case approximation to the sine wave remains continuous, though the cycle - you are just changing the spacing of the treads..

Joerg should be able to sweep his sine wave pretty smoothly by incrementing/decrementing the last digit of his frequency-setting number frequently. Whether he can do it frequently enough is another question. He might have to program a PAL to do it for him.

Bill Sloman, Sydney

Use a laptop ?>:-} ...Jim Thompson

| James E.Thompson | mens | | Analog Innovations | et | | Analog/Mixed-Signal ASIC's and Discrete Systems | manus | | Phoenix, Arizona 85048 Skype: Contacts Only | | | Voice:(480)460-2350 Fax: Available upon request | Brass Rat | | E-mail Icon at http://www.analog-innovations.com | 1962 | I love to cook with wine. Sometimes I even put it in the food.

g
p

hat

it should be possible, I just looked at the code it is just a single file (arduino Sketch) and a library for the lcd. The SPI to the DDS is bit banged a 16MHz should be able to do that quite fast

The schematic shows JP4 connected to ADC0 ac coupled with 4.7u cap and

2x10k

so everything needed is there I think, all that is need is a timer interrupt to read the adc and update the DDS

-Lasse

-Lasse

This will do it, but it's overkill, roughly 100x your probable budget.

formatting link

If you wanted to roll your own, it would take a small FPGA and a DAC.

John Larkin Highland Technology Inc www.highlandtechnology.com jlarkin at highlandtechnology dot com Precision electronic instrumentation Picosecond-resolution Digital Delay and Pulse generators Custom timing and laser controllers Photonics and fiberoptic TTL data links VME analog, thermocouple, LVDT, synchro, tachometer Multichannel arbitrary waveform generators

That depends on whether the DDS is reset or not when the frequency setting is updated. There has to be a reason the designers at iteadstudio didn't implement the modulation. If it where simple they would have implemented it.

Failure does not prove something is impossible, failure simply indicates you are not using the right tools... nico@nctdevpuntnl (punt=.) --------------------------------------------------------------

As I said, about 100Hz is the max sweep cycle frequency. So a few kHz update rate should do. Normally that isn't a problem with a DDS chip.

Regards, Joerg http://www.analogconsultants.com/

If necessary I could do it that way. But I am not really a good programmer. Ideall would be a module that has FM modulation or sweep. It doesn't have to be DDS, just stable and not too large. Ripping it out of a function generator is ok as well, as long as it's not much more than two cigarette packs or so in size.

Regards, Joerg http://www.analogconsultants.com/

Actually, there will be a netbook involved and I'll probably program the SCADA stuff on that myself. I believe they don't make the Samsung NC-10 anymore, but it'll be something like that.

Regards, Joerg http://www.analogconsultants.com/

Haven't found anything useful for this application.

Yup. Something that can be plopped into my RF board and control two frequencies (so two of those modules are needed). SPI or RS232, power supply, output, modulation input.

Regards, Joerg http://www.analogconsultants.com/

Yep, that sure would be overkill :-)

That's what I want to avoid, I've got enough on my plate as it is. If I really can't find a module I'll buy function generators and hack them apart on arrival, prying their main boards out. That would make my circuit board the size of a large family pizza, but man's gotta do what man's gotta do.

Regards, Joerg http://www.analogconsultants.com/

r

ing

hip

t

ewhat

y

ld

if you don't need external input it is even easier, if I had the HW I'd give it a try

do you really need the display and the controls or could you do with few preprogrammed waveforms/sweeps/frequencies on an easy to get dev-board with a few buttons added?

-Lasse

-Lasse

ng

ip

what

d

use the a sound card, possible external usb?

-Lasse

I need the input because it'll be used in a loop. It will actually become a glorified dipmeter. The phase response at the input of an LC lowpass filter will be measured and then this becomes the error signal in a PID loop. The PID loops adjusts the frequency of the DDS (or whatever other sine wave generator) so the phase remains constant even when the lowpass components change their values.

A display would be nice but I could also roach on a frequency counter. The output has to be sine wave, can't easily filter that because the thing has to work in frequency ranges I won't know up front. Being able to set the base frequency locally would be very helpful.

Regards, Joerg http://www.analogconsultants.com/

Theoretically, yes. But since this whole thing will sit inside a PID loop I'd then have to process the error signal (a phase information measured in my box) in the PC. Meaning lots of code writing and that's what I am trying to avoid as much as possible.

Regards, Joerg http://www.analogconsultants.com/

:

at 10kHz almost any mcu with a dac would do

-Lasse

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required