Author Topic: function generator  (Read 7578 times)

0 Members and 1 Guest are viewing this topic.

Offline dorin.iordacheTopic starter

  • Newbie
  • Posts: 5
function generator
« on: January 23, 2015, 08:44:25 pm »
Hi guys! I am looking to build my first function generator based on xr2206 or icl8038 . The problem is that the amplitude of the generated signal varies a lot from square to sine and so on. Therefore i am wondering if any of you guys have a good working project documentation for a function generator with an amplitude of the output around 10V pk-pk and to generate from 1 Hz to a few hundred kHz or even few Mhz. Thanks guys!
 

Offline dannyf

  • Super Contributor
  • ***
  • Posts: 8221
  • Country: 00
Re: function generator
« Reply #1 on: January 23, 2015, 08:58:08 pm »
Quote
from 1 Hz to a few hundred kHz or even few Mhz.

Set a realistic goal and you are half way to success.
================================
https://dannyelectronics.wordpress.com/
 

Offline dorin.iordacheTopic starter

  • Newbie
  • Posts: 5
Re: function generator
« Reply #2 on: January 23, 2015, 09:12:56 pm »
I said that because I want to be open to various range of schematics. Anyway I found this circuit diagram http://electronics-diy.com/function-generator-xr2206.php . Now i was thinking about using some operational amplifiers on the triangle/sine output stage in order to amplify the signal and get the desired output amplitude. I should use an op amp with a large slew rate value and that can cope with the high frequency. A gain of 3-4 should do the job therefore 1+ (Rf/R1) should give me the desired gain. Am i on the right track ? Any suggestions or maybe already designed circuit diagrams?
« Last Edit: January 23, 2015, 09:37:39 pm by dorin.iordache »
 

Offline bance

  • Contributor
  • Posts: 32
  • Country: gb
Re: function generator
« Reply #3 on: January 24, 2015, 08:54:16 am »
You could try Dick Cappels version.....

http://www.cappels.org/dproj/functsweep/functionswp.html
 

Offline dorin.iordacheTopic starter

  • Newbie
  • Posts: 5
Re: function generator
« Reply #4 on: January 25, 2015, 12:20:43 pm »
I've decided to build the project found here http://mdiy.pl/generator-funkcyjny-400khz-na-icl8038/?lang=en . It has all i need and from what i can see it works good enough. Also it has all the PCB files so I won't have to do those by myself. As a frequency counter i haven't decided it if i should go for the Attiny2313 or PIC16F84. I already have a pickit2 so i might go for the pic in the end. I will start the building process sometimes next week when my parts will arive. Also my oscilloscope should arrive by then too so I will be able to measure the performance of the function generator.
 

Offline Rerouter

  • Super Contributor
  • ***
  • Posts: 4700
  • Country: au
  • Question Everything... Except This Statement
Re: function generator
« Reply #5 on: January 26, 2015, 02:19:56 am »
both should work well, as they both have enough timer hardware to do a nice reciprocal count up to a few Khz, from then on you can switch to fixed time base counting,

 
 

Offline mrkev

  • Regular Contributor
  • *
  • Posts: 225
  • Country: cz
Re: function generator
« Reply #6 on: January 26, 2015, 02:37:19 am »
Just btw, were those chips discontinued? I had planned project to rebuild my old generator with xr2206 but I never did it because I couldn't find any suplier that would sold those chips anymore.
 


Offline Simon

  • Global Moderator
  • *****
  • Posts: 18022
  • Country: gb
  • Did that just blow up? No? might work after all !!
    • Simon's Electronics
Re: function generator
« Reply #8 on: January 26, 2015, 01:05:54 pm »
Just btw, were those chips discontinued? I had planned project to rebuild my old generator with xr2206 but I never did it because I couldn't find any suplier that would sold those chips anymore.

http://www.ebay.co.uk/itm/SparkyLabs-ICL3086-function-generator-IC-sqaure-sine-triangle-smultaneously-/171480639372?pt=UK_BOI_Electrical_Components_Supplies_ET&hash=item27ed0ae78c

Not made by the original manufacturer but they are easy to make these days and someone took the trouble to make an equivalent.
 

Offline rdl

  • Super Contributor
  • ***
  • Posts: 3667
  • Country: us
Re: function generator
« Reply #9 on: January 26, 2015, 03:03:24 pm »
What is different about an ICL3086 compared to the XR2206 and ICL/MAX8038? Google seems to think you're about the only place in the world to get an ICL3086.
 

Offline dorin.iordacheTopic starter

  • Newbie
  • Posts: 5
Re: function generator
« Reply #10 on: January 26, 2015, 07:19:50 pm »
well...I got the ICL8038 from ebay for £2.48. I bought the PIC16F84 and the Attiny2313 to give them a try.Even if i'm not gonna use one of them in the frequency counter i can always use it for something else.
 

Offline mrkev

  • Regular Contributor
  • *
  • Posts: 225
  • Country: cz
Re: function generator
« Reply #11 on: January 27, 2015, 02:46:30 am »
Just btw, were those chips discontinued? I had planned project to rebuild my old generator with xr2206 but I never did it because I couldn't find any suplier that would sold those chips anymore.

http://www.ebay.co.uk/itm/SparkyLabs-ICL3086-function-generator-IC-sqaure-sine-triangle-smultaneously-/171480639372?pt=UK_BOI_Electrical_Components_Supplies_ET&hash=item27ed0ae78c

Not made by the original manufacturer but they are easy to make these days and someone took the trouble to make an equivalent.

Yes, I've seen a lot of those, but I'm never confident using chips like that in designs. You never know if you'll be able to get more when you need replacement, f.e. two years later...  Those XR2206 were great, often used by amateurs in sound effects (because you could easily generate variety of waveforms).

Do you have at least some datasheet, I couldn't find anything... Or are they just with identical pinout and ratings? Chips like that are often made by some lo-end manufacturer, so are they even reliable?
 

Offline rdl

  • Super Contributor
  • ***
  • Posts: 3667
  • Country: us
Re: function generator
« Reply #12 on: January 27, 2015, 11:52:37 am »
The thing is, the chip I was questioning is the ICL3086. That number, 3086, does not resemble any of the others and I did not find much info about it using Google, other than it's sold by Sparky Labs.


edit: and yes, I meant MAX038, I was thinking it used the same number as the ICL8038. I always thought the Maxim version was just an improvement of the old ICL chip, but I've never used either so I'm probably wrong.
« Last Edit: January 27, 2015, 04:18:50 pm by rdl »
 

Offline Rerouter

  • Super Contributor
  • ***
  • Posts: 4700
  • Country: au
  • Question Everything... Except This Statement
Re: function generator
« Reply #13 on: January 28, 2015, 06:36:47 am »
as your already using a micro, you could always just use a AD9850 module, that will get you from 0.02Hz to a few 10's of Mhz, with sine and square, all you have to do it amplify it to 10V peak to peak with an op amp
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf