Go Back   Home > Forums > >
Home Forums Rules Articles diyAudio Store Blogs Gallery Wiki Register Donations FAQ Calendar Search Today's Posts Mark Forums Read

Solid State Talk all about solid state amplification.

Op-amp selectable gain +/- 1.0
Op-amp selectable gain +/- 1.0
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 26th May 2010, 03:52 AM   #1
pixpop is offline pixpop  United States
diyAudio Member
 
pixpop's Avatar
 
Join Date: Jan 2005
Location: Los Angeles
Op-amp selectable gain +/- 1.0
Default Op-amp selectable gain +/- 1.0

I'm trying to find an op amp circuit I saw long ago. It had an analog input and a digital one. The output was the input times either +1.0 or -1.0, depending on the state of the digital input. From memory, there was only a single op-amp in it, but it's been many years now, and I could be wrong about that.

Anyone have any clues? Searching my usual places has yielded nothing. I may have seen it in my TAOE, but that's gone missing and I can't consult it at the moment.
  Reply With Quote
Old 26th May 2010, 04:32 AM   #2
reactivepower is offline reactivepower  Canada
diyAudio Member
 
Join Date: Jul 2007
if you want the output to be buffered, the easiest way would be two inverting op-amp buffers (-1 gain), and a spdt relay to select one of the two outputs. You usually get better performance from an inverting buffer, so it is likely that performance is as good or better than the output of a non-inverting buffer. This uses two opamps and a relay though.
  Reply With Quote
Old 26th May 2010, 04:57 AM   #3
abraxalito is offline abraxalito  United Kingdom
diyAudio Member
 
abraxalito's Avatar
 
Join Date: Sep 2007
Location: Hangzhou - Marco Polo's 'most beautiful city'. 700yrs is a long time though...
Send a message via Yahoo to abraxalito
Click the image to open in full size.

Connect inputs 1 and 2 together. Set R1 = Rf. Make R2 = 0 and Rg open. The circuit has an overall gain of +1. Make R2 open and Rg a short, then you'll have a gain of -1 overall. A single SPDT CMOS switch will perform that trick.
__________________
'The total potential here must be nothing less than astronomical.'
'Nothing less. The number 10 raised almost literally to the power of infinity.'
  Reply With Quote
Old 26th May 2010, 05:55 AM   #4
pixpop is offline pixpop  United States
diyAudio Member
 
pixpop's Avatar
 
Join Date: Jan 2005
Location: Los Angeles
Op-amp selectable gain +/- 1.0
That's pretty cool, and looks something like what I remember. But I think it was somehow more clever, didn't use any switches or relays as far as I can remember. But this would do in a pinch.
  Reply With Quote
Old 26th May 2010, 06:04 AM   #5
abraxalito is offline abraxalito  United Kingdom
diyAudio Member
 
abraxalito's Avatar
 
Join Date: Sep 2007
Location: Hangzhou - Marco Polo's 'most beautiful city'. 700yrs is a long time though...
Send a message via Yahoo to abraxalito
Have a look at Bob Cordell's design for a THD analyser on Cordell Audio: Home Page. In the state variable filter he uses a circuit very similar to this with a JFET in place of Rg. This gives continuously variable gain from inverting, through zero to non-inverting.
__________________
'The total potential here must be nothing less than astronomical.'
'Nothing less. The number 10 raised almost literally to the power of infinity.'
  Reply With Quote
Old 26th May 2010, 11:29 AM   #6
Conrad Hoffman is offline Conrad Hoffman  United States
diyAudio Member
 
Join Date: Mar 2007
Location: Canandaigua, NY USA
I remember the same circuit and can never find it when I need it. I also remember that you still need a switch of some sort to ground or unground the non-inverting input. An FET or analog switch- I like the DG series. IMO, as long as one has an analog switch, it's still better to use a dual switch and fully switch the input rather than leaving one side connected as the trick did. Walt Jung's op amp book shows the better and more obvious way to do it.

CH
__________________
I may be barking up the wrong tree, but at least I'm barking!
  Reply With Quote
Old 26th May 2010, 05:22 PM   #7
pixpop is offline pixpop  United States
diyAudio Member
 
pixpop's Avatar
 
Join Date: Jan 2005
Location: Los Angeles
Op-amp selectable gain +/- 1.0
Yes, apparently it does have a switch. The circuit I remember is indeed in H&H, figure 4.14. Looks like 4.14b would work with a MOSFET as the switch.

Thanks for the responses.
  Reply With Quote
Old 26th May 2010, 05:41 PM   #8
AndrewT is offline AndrewT  Scotland
diyAudio Member
 
Join Date: Jul 2004
Location: Scottish Borders
H&H fig4.14 is almost identical to E.A. Parr - How to use opamps. fig2.27
The difference is the addition of an extra resistor between +IN and the switch tapping/5k1. He also uses 4k7 instead of 5k1. Yes, the extra resistor reduces the output offset.
__________________
regards Andrew T.
  Reply With Quote

Reply


Op-amp selectable gain +/- 1.0Hide 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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
2x Gain pure op-amp headphone amp idea Dxvideo Headphone Systems 31 6th August 2017 06:09 PM
Unity Gain op amp circuit? jetbat Solid State 3 5th May 2009 01:29 AM
op amp gain, woofer compensation? Joules Solid State 6 5th January 2007 06:23 PM
op-amp theory: relation between gain and distortion? Dominique Solid State 12 4th April 2006 01:03 AM
Op amp gain in db formula calico Solid State 3 15th June 2003 03:51 PM


New To Site? Need Help?

All times are GMT. The time now is 01:21 PM.


Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 15.79%
vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Copyright ©1999-2017 diyAudio
Wiki