Go Back   Home > Forums > Design & Build > Equipment & Tools
Home Forums Rules Articles Store Gallery Blogs Register Donations FAQ Calendar Search Today's Posts Mark Forums Read

Equipment & Tools From test equipment to hand tools

Please consider donating to help us continue to serve you.

Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving
Reply
 
Thread Tools Search this Thread
Old 27th October 2009, 01:40 AM   #1
diyAudio Member
 
Rob11966's Avatar
 
Join Date: Jun 2007
Location: Australia
Default DIY 8038 Function Generator Problem

Hi Folks,

I am normally found around the tube amp forums but have recently brached into the dreaded solid state to build a function generator.

I built this around the 8038 chip as described on this site -

8038 Audio Generator Project

The generator is up and running and does everything that it is supposed to do except that the signal (Sine, square and Triangle) is quite ...fat. On my analogue CRO, the trace is about 4mm thick and looks as if the CRO is out of focus (similar but not quite as bad with my digital scope). The CRO is not the problem as I have borrowed an off-the-shelf frunction generator which displays a very precise and clear line.

I can't imagine that this output would be considered acceptable. I have fiddled with all the trimpots with no improvements. Is there anyone out there with any ideas or potential solutions? I have attached the schematic and built exactly as per the description on the website.

Thanks in advance,

Rob
Attached Files
File Type: pdf th_audio_gen_schem_1.pdf (28.1 KB, 224 views)
File Type: pdf th_audio_gen_schem_2.pdf (16.3 KB, 88 views)
  Reply With Quote
Old 27th October 2009, 02:53 AM   #2
Account disabled at member's request
 
MJL21193's Avatar
 
Join Date: Mar 2007
Could it be oscillating? Do you have supply decoupling / bypass caps close to the opamps? Not shown in your schematic.

Also, your link to the project doesn't work for me.
  Reply With Quote
Old 27th October 2009, 03:45 AM   #3
diyAudio Member
 
Rob11966's Avatar
 
Join Date: Jun 2007
Location: Australia
Hi John,

Thanks for the reply. The layout of the components is per the printed circuit board on the link. It looks like a pretty well thought out design. I am not sure what is wrong with the link, it works on my computer but I have included the URL without the http: (so you can view the link directly) - maybe this may help

//mypeoplepc.com/members/scottnoanh/birthofasynth/id32.html

I gues it could be oscillating but I to be honest I am not sure how to tell. When I look closely at the trace it looks like it is made up of lots of individual lines. In other words the thickness of the line seems to be a result of lots of sine (square or triangle) waves all slightly out of sync by a few microseconds.

Rob
  Reply With Quote
Old 27th October 2009, 04:29 AM   #4
diyAudio Moderator
 
ikoflexer's Avatar
 
Join Date: May 2008
Location: Toronto
Check pins 2, 3, and 9 of the 8083, see if you have a clean trace there. If so, then at least that you get a clean function out of the IC. If not clean, then you need to check the operating parameters of the 8083, power supply, etc.

There's a test circuit for the 8083 in the datasheet, see attachment. If I were you I'd breadboard it and power it with two batteries. Then I'd change one thing at a time and continue to measure it, until you make one change that gets that thick trace again.
Attached Images
File Type: png icl8083test.png (17.5 KB, 284 views)
  Reply With Quote
Old 27th October 2009, 04:31 AM   #5
diyAudio Member
 
Join Date: Apr 2003
Location: Portland,Oregon
Blog Entries: 3
Send a message via AIM to DigitalJunkie
Are there bypass near/on the pins of the output buffer op-amps?
  Reply With Quote
Old 27th October 2009, 04:42 AM   #6
diyAudio Member
 
Join Date: Mar 2007
Location: Canandaigua, NY USA
Has to be oscillating. As said above, check that you have bypass caps near each chip. Also check your wire/trace routing to be sure you haven't created a positive feedback path to an opamp input by daisy chaining grounds. Reminds me of my first sig gen, a SWTP kit from back in the '70s. The main difference was that it used the dreaded LM318 for an output amp- without good bypassing those were absolutely guaranteed to oscillate!
__________________
I used to be an audiophool like you but then I took an arrow to the knee.
  Reply With Quote
Old 27th October 2009, 04:43 AM   #7
diyAudio Member
 
Rob11966's Avatar
 
Join Date: Jun 2007
Location: Australia
Quote:
Originally Posted by DigitalJunkie View Post
Are there bypass near/on the pins of the output buffer op-amps?
Sorry, DigitalJunkie, I don't think I understand the question. The layout is extactly as per the PCB board on the website.

Hi Ikoflexor,

Good advice with respect to the output of the pins. Makes sense. At least then I can narrow it down to the power supply or rest of the circuit. It's not the IC - I have 2 8038's and have swapped them over without any change. Thanks also for the test cicuit - I will try and get one of those breadboards this afternoon.

Cheers,

Rob
  Reply With Quote
Old 27th October 2009, 04:48 AM   #8
diyAudio Member
 
Rob11966's Avatar
 
Join Date: Jun 2007
Location: Australia
Quote:
Originally Posted by Conrad Hoffman View Post
Has to be oscillating. As said above, check that you have bypass caps near each chip. Also check your wire/trace routing to be sure you haven't created a positive feedback path to an opamp input by daisy chaining grounds. Reminds me of my first sig gen, a SWTP kit from back in the '70s. The main difference was that it used the dreaded LM318 for an output amp- without good bypassing those were absolutely guaranteed to oscillate!
Howdy Conrad,

Now I am sitting bolt upright and taking note. I grounded the whole thing with a daisychain loop - a great description. I hesitate to ask the question but - is this bad? It certainly makes for a neat layout.

I would never do this with a valve amp (big copper earth bus always) but I figured that it wouldn't matter with IC's.

If you think this might be a problem, let me know!! More importantly how should it be grounded? Star?

Cheers,

Rob
  Reply With Quote
Old 27th October 2009, 05:01 AM   #9
diyAudio Moderator
 
ikoflexer's Avatar
 
Join Date: May 2008
Location: Toronto
Always star ground. You may want to power it with batteries to eliminate the psu from the picture, while testing.
  Reply With Quote
Old 27th October 2009, 12:20 PM   #10
diyAudio Member
 
Rob11966's Avatar
 
Join Date: Jun 2007
Location: Australia
OK,

Here is a quick update before my wife kills me if I don't get up to bed.

The 8038 has the dirty trace on the pins so I am presuming my problem may be in the power supply.

The only unusual thing that I can see is that there is a 1KHz ripple on both 'in' pins on the VR IC3 and IC4 (PDF 2) but the ripple is only present on the 'out' pin of IC4. I have changed the elecrolytic cap (C9) associated with IC4 - no change. Also changed C6 - no change.

Is this ripple normal or is it abnormal and if so could it account for the 8038 distortion? Could a leaky C8 cause this?

Thanks again,

Rob
  Reply With Quote

Reply


Hide this!Advertise here!

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Looking for an used function generator Eva Swap Meet 0 21st February 2008 07:56 AM
function generator d1camero Tubes / Valves 2 27th January 2008 07:26 AM
Software function generator & SMD problem eeka chu Digital Source 1 3rd June 2004 09:40 PM
Have you seen my new function generator jwb Pass Labs 1 28th August 2002 07:06 AM


New To Site? Need Help?

All times are GMT. The time now is 06:49 PM.

Page generated in 0.12996 seconds (79.31% PHP - 20.69% MySQL) with 11 queries

Copyright ©1999-2012 diyAudio