[off topic] opamp question - diyAudio
Go Back   Home > Forums > Source & Line > Analogue Source

Analogue Source Turntables, Tonearms, Cartridges, Phono Stages, Tuners, Tape Recorders, etc.

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 12th August 2002, 07:51 PM   #1
diyAudio Member
 
Join Date: Jul 2002
Location: BE
Send a message via AIM to McBain Send a message via Yahoo to McBain
Default [off topic] opamp question

sorry for this off topic question, but i dunno where to ask (lemme know if u know better forums)

i'm making a funtion generator (which will be used also to test audio equipment, so mebbe still on topic . It is based on the MAX038 IC. The design is almost ready, but i have some problems with the output stage.


a proposal of the output stage to accompany this text is at http://mcbain.studentenweb.org/schema.jpg

The MAX delivers 0...2Vpp (sine, square triangle). This is the in input.
I want 2 outputs
1) a high voltage ac with dc offset
2) a low voltage "pure" ac output

for (1) i feed te innput signal thru a pot (to change amplitide ) in an opamp summer. The other source for the summer is a dc voltage. Dc is not amplified, ac is 12 times amplified. So i should arrive at a voltage of 0 ... 24 Vpp adjustable by the amplitude pot added with an independant adjustable (?) dc offset of -15 ... +15. This signal is fed thrue a unity gain buffer with large output current (to be able to drive 50 ohm bnc cables)

for (2) i just need the input signal, feeded thru an unity gain buffer. I guess 2Vpp is enough for audio testing (or isn't it ? )

i have problems combining the 2 circuits. The DC offset cant arrive at the MAX output pin (i thing the IC wont like that) and the dc offset cant arrive either at the the low ac output, so i added an extra 2 buffers.

i really dont know if this will work or if there are other methods (i dont want to use a switch, and a C to block DC wont pass the 1 Hz ... 20 Mhz range). I'd like your opinion. And please dont noobize me here, i just wanna learn something.

another last thing, is 2Vpp enoug for audio testin ? otherwise i would add an extra opamp to amplify the signal (to example 4 V pp). If i do so, can i replace the opamp buffer with a non inverting amplifyer or do i put the extra amplifier behind the buffer ?

best regards,
McBain
__________________
McBain
  Reply With Quote
Old 12th August 2002, 08:01 PM   #2
diyAudio Member
 
jan.didden's Avatar
 
Join Date: May 2002
Location: Great City of Turnhout, Belgium
Blog Entries: 7
Default waveform generator

McBain (Ed?),

Don't use a summer. Feed the AC to the neg input, DC to pos input, scale/gain appropriately etc. Should do the trick.

Jan Didden


PS "Lemme, dunno, mebbe"? What kind of dictionary do you have in Belgium?
  Reply With Quote
Old 12th August 2002, 08:16 PM   #3
tiroth is offline tiroth  United States
diyAudio Member
 
Join Date: Dec 2001
Location: Pittsburgh, PA, USA
Neat IC. Square wave isn't very..mmm...square...at 20MHz. Looks like a nice easy function generator, but with minimum 0.75% distortion will have limitations for audio testing.
  Reply With Quote
Old 12th August 2002, 08:23 PM   #4
diyAudio Member
 
jan.didden's Avatar
 
Join Date: May 2002
Location: Great City of Turnhout, Belgium
Blog Entries: 7
Default waveform gen

Ed,

Just reread your post, I asume you want the two outputs separately available, isn't it?

Jan Didden
  Reply With Quote
Old 12th August 2002, 08:26 PM   #5
diyAudio Member
 
Join Date: Jul 2002
Location: BE
Send a message via AIM to McBain Send a message via Yahoo to McBain
Default neat ic

neat ic indead

and no, at 20 Mhz the square isnt very square anymore

but take a look at the commercial function generators, the cost a couple of $100's and only get to a couple of Mhz's (seems the MAX038 does very good up to 10 Mhz and above)

if you guys are interrested, i'll set up a webpage about it, with pcb's, when the project is finished

the gen will feature
* waveform: tri, square, sine
* freq 1 Hz ... 20 Mhz
- range (3 decades for the moment)
- course
- fine
* duty cycle adjustment (with this it is possible to get a more pure sine waveform) with defeat switch
* output 1: 0...24vpp adjustable+ -12...12 adjustable dc offset
* output 2: 0...2 vpp adjustable only ac
* ttl output

this on a board of about 10 * 8 cm (4 * 3.5 inch)

cost: $20 for the max, a quad opamp IC, a couple of high speed opamps, 2 unity gain buffers, some pots, switches and R's and C's

so nowhere near the cost of the commercial (mostly less good) function generators

best regards,
Ares Lagae
__________________
McBain
  Reply With Quote
Old 12th August 2002, 08:27 PM   #6
diyAudio Member
 
Join Date: Jul 2002
Location: BE
Send a message via AIM to McBain Send a message via Yahoo to McBain
janneman, indead
but wont the inverting amp instead of the summer solve the dc offset problem on the max output pin and the other (low ac) output ?
__________________
McBain
  Reply With Quote
Old 12th August 2002, 09:49 PM   #7
diyAudio Member
 
Join Date: Jul 2002
Location: BE
Send a message via AIM to McBain Send a message via Yahoo to McBain
will this solve the problem:

http://mcbain.studentenweb.org/schema2.jpg

or do i need to add an extre buffer between the connection to the buffer for the low ac output and before the differential opamp ?
__________________
McBain
  Reply With Quote
Old 12th August 2002, 10:27 PM   #8
tiroth is offline tiroth  United States
diyAudio Member
 
Join Date: Dec 2001
Location: Pittsburgh, PA, USA
Your post caught my eye b/c I just recently "discovered" the '038 and was considering whipping up a generator. One thing that might be considered is driving a comparator for the square wave output. Done properly, you might get near 40MHz of clean square wave output.
  Reply With Quote
Old 13th August 2002, 06:01 AM   #9
diyAudio Member
 
jan.didden's Avatar
 
Join Date: May 2002
Location: Great City of Turnhout, Belgium
Blog Entries: 7
Default waveform gen

Quote:
Originally posted by McBain
will this solve the problem:

http://mcbain.studentenweb.org/schema2.jpg

or do i need to add an extre buffer between the connection to the buffer for the low ac output and before the differential opamp ?
Well, that depends on the value of the amplitude pot wrt the input resistor of the diffamp. Because of the input resistance, the ampl pot may not be perfectly linear. On the other hand, if you plan to use output level metering that is of no importance. On the gripping hand, if you have an opamp buffer to spare put one after the ampl pot.

My Heathkit waveform generator has a switch on the ampl pot with which you can defeat the offsett (just groung the DC input to the diff amp). I found that very usefull. There is only one output so you don't have to switch cables all the time, you can leave the DC pot as it is and quickly test with or without offset. It also makes the circuit a bit more simple. I strongly recommend you do something similar.


Jan Didden

"Things should be made as simple as possible, but not simpler"
ALbert Einstein
  Reply With Quote
Old 13th August 2002, 11:48 AM   #10
diyAudio Member
 
Join Date: Feb 2002
Location: Belgium
Easiest thing to square up the output is by putting a FF in series, but this will halve the output frequency. This if it is important for you....
  Reply With Quote

Reply


Hide this!Advertise here!
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
Good Speakers in India (off topic question) ebirbal Multi-Way 2 14th September 2010 11:06 AM
A Simple opamp question? Dxvideo Chip Amps 29 3rd April 2009 01:42 PM
opamp package converter question rtate Digital Line Level 4 13th January 2009 10:53 PM
Adcom GFP-565 OpAmp question KT Solid State 2 10th July 2007 08:02 AM
SuperNewbie plus out topic question...(that's me) Mikka Solid State 2 25th February 2003 10:20 AM


New To Site? Need Help?

All times are GMT. The time now is 03:41 PM.


vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2014 DragonByte Technologies Ltd.
Copyright 1999-2014 diyAudio

Content Relevant URLs by vBSEO 3.3.2