Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Dual-Channel Sine-cosine generator

  1. Jun 27, 2009 #1
    Hello All,

    I am doing some random experiments where I want to generate a very fast rotating magnetic field using two out of phase sine waves (90 degrees separated). I wanted to ask you all here if you have ever seen any kits for a dual sine wave generator that allows the user to adjust the phase shift. I know that I could build something using Op-amps but I'm really looking for an off the shelf solution (a kit or something) that I can put together. If anyone is curious, the frequency range I'm aiming for is 1Hz to 1Mhz roughly. So far I found a nice DDS board on eBay that would do exactly what I want if it had two channels:


    but so far I haven't found anything else. Any tips would be crealy appreciated.

    Jason O
  2. jcsd
  3. Jun 27, 2009 #2


    User Avatar
    Science Advisor

    I don't know of any ready made units, but I can suggest one approach.

    If you get two 8 bit eproms and program them for 8 bit sinewaves out, but calculated to be 90 degrees out of phase with each other, you could produce the sinewaves from ladder networks or D to A converters. You would have to clock them together at 256 times the output frequency, so clocking at 10 MHz would give an output frequency of about 39 KHz.

    This frequency could be higher if you could accept a rougher sinewave by taking bigger steps than 1 degree.

    I have an Excel file that does this if you want to go that way. The graphs in Excel look like very acceptable sinewaves.

    If you used a large enough EPROM, you could program it to give smaller steps in phase by storing alternative sets of data.
    Last edited: Jun 28, 2009
  4. Jun 30, 2009 #3
    Hi vk6kro,

    That's an interesting approach, I have thought about that myself, but honestly, if I end up making something like that, I'd probably use DDS ICs controlled by a microcontroller. I know that Analog Devices makes some nice ones that would probably work fine. I was just hoping to find an off the shelf solution before looking into developing such a thing myself.

    Jason O
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook