EEVblog Electronics Community Forum
Electronics => Beginners => Topic started by: Sam__ on January 17, 2014, 12:05:40 pm
-
I just had a very stressful pre job interview question which was to analyse a circuit. I came across something I'd never seen before (exactly what you want to happen right?).
There was a DAC input where there is usually a ground on a non-inverting amp.
Here's the diagram.
(http://i.imgur.com/ncsOyx6.png)
I was wondering what effect that has on the circuit and why it's useful?
-
errr.... to center the output of an opamp to a different point set by dac?
-
errr.... to center the output of an opamp to a different point set by dac?
AKA adding an offset :)
-
So the output of the opamp has an adjustable offset due to the DAC input?
-
Sam,
Think of it this way:
If pin 3 the positive input was grounded. You are left with the inverting amplifier configuration. From DAC3 to the op-amp output the gain is:
Vout / DAC3 = -1 x R40/R43
So this can be used for setting an offset.
Look up 'superposition theorem'.
Jay_Diddy_B
-
Sam,
Think of it this way:
If pin 3 the positive input was grounded. You are left with the inverting amplifier configuration. From DAC3 to the op-amp output the gain is:
Vout / DAC3 = -1 x R40/R43
So this can be used for setting an offset.
Look up 'superposition theorem'.
Jay_Diddy_B
Thanks a lot. I'll get reading!
-
due to the DAC input?
Is it any clearer if you called it a DAC output?
-
due to the DAC input?
Is it any clearer if you called it a DAC output?
output from the DAC... input to that part of the circuit from the DAC. all the same really. But I do understand what's going on now. Thanks a lot guys.
-
it took my brain a moment to reason out why this creates an offset, rather than actually changing the gain.
a naive conclusion would be that the DAC changes the gain, because the voltage divider created by the resistors is simply creating an input voltage, and the DAC can push that voltage around.
however, a second glance reveals that the voltage divider is not creating a fixed voltage, it follows the AC signal. since the DAC just offsets by a fixed amount, and does not follow the AC signal, it cannot be modifying the gain, only creating an offset.
do I have that right?
-
The input to the inverting input will experience the gain -100k/100k which is -1. So, the DAC voltage gets inverted and adds a constant value to the output signal. The non-inverting input will experience the gain 100/100 + 1 or 2. So the output will be 2*Vin+ - DAC.