Storing Cookies (See : http://ec.europa.eu/ipg/basics/legal/cookies/index_en.htm ) help us to bring you our services at overunity.com . If you use this website and our services you declare yourself okay with using cookies .More Infos here:
https://overunity.com/5553/privacy-policy/
If you do not agree with storing cookies, please LEAVE this website now. From the 25th of May 2018, every existing user has to accept the GDPR agreement at first login. If a user is unwilling to accept the GDPR, he should email us and request to erase his account. Many thanks for your understanding

User Menu

Custom Search

Author Topic: DDS based function generators  (Read 23347 times)

MeggerMan

  • TPU-Elite
  • Sr. Member
  • *******
  • Posts: 497
Re: DDS based function generators
« Reply #15 on: October 15, 2007, 05:12:22 PM »
Mark,
I look forward to seeing the pictures of it, although I will be interested to see how you drive the REF_CLK.
20-30MHz xtal is one way.

Jason,
All my bits have arrived, including a low jitter 125MHz 3.3V SAW oscillator, made by Epson Toyocom (I think) as well as an etch tank for making PCBs.
I have all the bits now to make my own AD9959 function generator, just need to put it all together.
With regards to the AD9959 chip and the SAW oscillator, seeing as these parts are fairly exepensive and difficult(impossible) to remove once soldered in I will be mounting these on surf boards that will sit on a main board. The surf board will contain the standard de-coupling caps and any parts that are needed by default.
These surf boards will make conections to the main board via small "whisker" wires to keep down stray capacitance and held in place by two small nylon bolts.

Regards
Rob

Jdo300

  • TPU-Elite
  • Hero Member
  • *******
  • Posts: 682
    • The Magnetic 90 degree rule Theory
Re: DDS based function generators
« Reply #16 on: October 15, 2007, 09:12:38 PM »
Hey Rob,

Sounds great! I'll be very glad to see how the output waveforms look, especially at high frequencies.

By the way, I'm stuck on the last couple of parts for my control circuit. Here's are links to the posts I made below. They concern the voltage detection circuit and the HV biasing circuit:

http://www.physicsforums.com/showthread.php?t=191440
http://www.physicsforums.com/showthread.php?t=191045

God Bless,
Jason O

MeggerMan

  • TPU-Elite
  • Sr. Member
  • *******
  • Posts: 497
Re: DDS based function generators
« Reply #17 on: October 17, 2007, 12:22:23 PM »
Hi Jason,
I read it, interesting stuff on the RMS to DC chip, not a cheap device either.
So these devices output an average voltage over a given time span.
So I guess your uC needs to be able to match the time spans to measure the voltage.  If you fix the load with a carbon resistor you should ba able accurately calculate the power.
You need to be careful not to get bogged down with a circuit that does everything - I think measuring output can be added later.
The main thing is working out the codes you need to send to the AD9959 to get it to operate.
I still need to do some more work on the assembler program to complete method for talking to the AD9959.
One option I may try is sending some preset codes to it using the output from the simulator on the Analog website.

Regards
Rob

Jdo300

  • TPU-Elite
  • Hero Member
  • *******
  • Posts: 682
    • The Magnetic 90 degree rule Theory
Re: DDS based function generators
« Reply #18 on: October 17, 2007, 07:00:20 PM »
Hi Rob,

You're right about that. Thankfully, I did figure out how to do both the HV throttling circuit and the voltage measurement circuit. The only reason that I'm even bothering with this is to give the controller the capability to run autonomously to self-regulate the coil; particularly in the event that we can't directly control it while the coil is running. Plus, the measurement capability will help us to do other experiments like frequency and bias sweeps to help tune the coils and automatically find the sweet spots.

But I can say that the design I ended up with the the voltage measurement circuit is greatly simplified now. I'm not concerned about measuring the current and the power but only the voltage. (plus we can calculate the current and power knowing the load on the coil anyway). The simple idea is to just go with a resistor divider with a cap in parallel to help smooth out some of the hash (and short out any RE that might work into the circuit). Then I'll just use an ADC to sample the voltage and send it to the microcontroller.

As for the biasing circuit, I'm keeping that simple too. I decided to go with the Op-amp that I mentioned in the post. After talking to the tech support people at Linear, they confirmed that the op-amp I spaced out would work fine to directly throttle the HV supply IC. Now I'm going to be working on drawing the circuit schematics to tie everything together.

Finally starting to see the light at the end of the tunnel :).

God Bless,
Jason O

MeggerMan

  • TPU-Elite
  • Sr. Member
  • *******
  • Posts: 497
Re: DDS based function generators
« Reply #19 on: October 29, 2007, 11:38:51 PM »
Work on the case for the DDS 20 is progressing slowly.

Several pics showing the progress so far, as this is the first attempt  I have found problems that will be fixed in the next case. Progress through evolution.

Top view, LCD window not cut out yet.
(http://i100.photobucket.com/albums/m25/kingrs/DDS20cased1.jpg)

End view shows where I had to cut into the casing to allow the shield to fit up against the front panel.
(http://i100.photobucket.com/albums/m25/kingrs/DDS20cased2.jpg)

Regards
Rob

MeggerMan

  • TPU-Elite
  • Sr. Member
  • *******
  • Posts: 497
Re: DDS based function generators
« Reply #20 on: November 12, 2007, 11:47:32 PM »
Photo showing DC socket in place.
Also have the LED on/off rocker switch in now, just the BNC sockets to go.

(http://i100.photobucket.com/albums/m25/kingrs/DDS20_case_DC_socket.jpg)

Bruce_TPU

  • TPU-Elite
  • Hero Member
  • *******
  • Posts: 1437
Re: DDS based function generators
« Reply #21 on: November 13, 2007, 12:53:26 AM »
Hi Rob,

I could not help but to comment on the expert craftsmanship of your controller and case!  ;D

I am eager to see it hooked to a coil soon.  I know that you will contribute greatly in our quest to see this device work in overunity mode.  Great progress and thank you for sharing! 


Warm regards,
Bruce




MeggerMan

  • TPU-Elite
  • Sr. Member
  • *******
  • Posts: 497
Re: DDS based function generators
« Reply #22 on: November 13, 2007, 02:16:11 PM »
Hi Bruce,
It's not brilliant,some of the holes were out by about 1mm, I cut the window for the LCD larger than needed because I took a chunk out when the router was slowing down and decided to cut I nice curve into the side. Should have held it firm until the router had stopped.  (mental note: get workshop assistant).
The rocker switch is very large for the case size and I will mount the next one on the side next to the DC socket.
I scratched the anodized case a few times during drilling - swarf under the workpiece. I got around this after the event by covering it with pvc tape.
The good news is the 3mm foam stuck on the inside pushes the LCD module onto the board and clears up the missing segment problem.

@Ward,
Its taken a few hours to make this one, but it is a prototype and I am getting some special milling drills for cutting the larger holes in the case.
The routing of the LCD window took about 10 minutes, so I am pleased with that. The next one will be a bit neater.
BNC sockets;
1. Square wave
2. Sine wave
3. Programmable pulse width square wave

I have not built the circuit for the last output yet, but this will be to drive the DS1023-100 chip using a PIC to give a pulse from 3ns to about 255ns(I think) in 1ns steps.

Also I will be doing some artwork to print onto tech sheet via laser printer and glue to the case to provide legends for the controls.
I have 4 cases to drill/mill and mark up for you.
I will be leaving the black trim off because it fouls the screws, but more important it is too close the sine wave amplitude control.

Regards
Rob King