|
|||||||
| Home | Forums | Rules | Articles | Store | Gallery | Blogs | Register | Donations | FAQ | Calendar | Search | Today's Posts | Mark Forums Read | Search |
| Analog Line Level Preamplifiers , Passive Pre-amps, Crossovers, 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 |
![]() |
|
|
Thread Tools | Search this Thread |
|
|
#1 |
|
diyAudio Member
Join Date: Aug 2008
|
Hey!
I am trying to make a MCU controlled version of something similar to this Lightspeed Attenuator a new passive preamp I have a DAC hooked up that outputs approx. 0 to +5V and is controlled by an MCU. I am currently using a MCP6002 rail to rail op amp as a non-inverting buffer for the DAC to the first LDR. This seems to work ok but I need an inverting rail to rail buffer that goes from +5V to 0 for the second LDR. I have some difficulties with getting the inverting circuit to have a similar taper to the non-inverting with the MCP6002. Anybody having good suggestions for a circuit? Hope someone can help! |
|
|
|
#2 |
|
diyAudio Member
Join Date: Feb 2009
|
The easiest way to achieve what you wish is to connect a unity gain inverting opamp input to the output of the non inverting opamp.
For unity gain, make Rf equal Rin. |
|
|
|
#3 | |
|
diyAudio Member
Join Date: Aug 2008
|
Quote:
|
|
|
|
|
#4 |
|
diyAudio Member
Join Date: Apr 2003
Location: Eastern Pennsylvania
|
It may be that you need to subtract your DAC's ouptut impedance from the value of Rin for the inverting buffer circuit. For example, if Rf = 10k, and your DAC's Zout = 1k, then the value of Rin should be 9k.
__________________
Ken Last edited by Ken Newton; 15th September 2012 at 02:06 PM. |
|
|
|
#5 | |
|
diyAudio Member
Join Date: Aug 2008
|
Quote:
I want to run differentiable 0-5V. I am using a rail to rail op amp with 0-5V supply. I goes fine with the non-inverting coupling but the other has an amplification of -1 if Rf=Rin which mean that 5V in makes -5V out (?). But the lowest voltage I got is 0V. The application has to be able to run from a 9V battery as well+protection diode so I have like 8.3V max. all in all. So +-5V for supply on the op amp is not possible. Hmm..any good ideas? |
|
|
|
|
#6 |
|
diyAudio Member
Join Date: Aug 2008
|
I think I found a solution. As mentioned earlier I'm sinking one of the LDRs and sourcing the other (using two non-inverting buffers). I have to test the circuit a little more en details but it seem to behave.
|
|
|
|
#7 |
|
diyAudio Member
Join Date: Jan 2003
Location: mississauga ontario canada
|
Itsme's circuit need to have the + input at +2.5V
Then it will work for your 0-5 into 5-0
__________________
Doug We are all learning...we can all help |
|
|
|
#8 |
|
diyAudio Member
Join Date: Aug 2008
|
|
|
|
|
#9 | |
|
diyAudio Member
Join Date: May 2012
|
Quote:
how do you find dac output impedance if not quoted in datasheet? datasheet only gives output load resistance min 3 kohm (tda1549) thanks Glen |
|
|
|
|
#10 |
|
diyAudio Member
Join Date: Aug 2008
|
Glen: I actually have unity gain (ennough) without considering the DAC output impedance, so I haven't really paid attention to that. I can't see it in the datasheet either.
|
|
![]() |
| Thread Tools | Search this Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Wanted: Op-amp with single supply, 32V or more, and rail-rail capability | akis | Power Supplies | 3 | 13th November 2010 01:53 PM |
| comining rail to rail and rail to ground decoupling? | jazz | Power Supplies | 2 | 30th March 2010 01:13 AM |
| Suggested AWG for 6.3V tube heaters rail and 250V B+ rail | eranrund | Parts | 0 | 3rd November 2008 07:30 PM |
| Filter Cap Directly from Rail to Rail, excluding Center Tap | Workhorse | Power Supplies | 8 | 29th August 2007 12:33 PM |
| New To Site? | Need Help? |