Author Topic: DAC input in feedback of Opamp.  (Read 3393 times)

0 Members and 1 Guest are viewing this topic.

Offline Sam__Topic starter

  • Regular Contributor
  • *
  • Posts: 118
  • Country: gb
DAC input in feedback of Opamp.
« 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.



I was wondering what effect that has on the circuit and why it's useful?
 

Offline miceuz

  • Frequent Contributor
  • **
  • Posts: 387
  • Country: lt
    • chirp - a soil moisture meter / plant watering alarm
Re: DAC input in feedback of Opamp.
« Reply #1 on: January 17, 2014, 12:15:31 pm »
errr.... to center the output of an opamp to a different point set by dac?

Offline ThomasDK

  • Regular Contributor
  • *
  • Posts: 139
  • Country: dk
  • B.Eng. EE
Re: DAC input in feedback of Opamp.
« Reply #2 on: January 17, 2014, 04:15:46 pm »
errr.... to center the output of an opamp to a different point set by dac?

AKA adding an offset :)
 

Offline Sam__Topic starter

  • Regular Contributor
  • *
  • Posts: 118
  • Country: gb
Re: DAC input in feedback of Opamp.
« Reply #3 on: January 17, 2014, 04:17:46 pm »
So the output of the opamp has an adjustable offset due to the DAC input?
 

Offline Jay_Diddy_B

  • Super Contributor
  • ***
  • Posts: 2734
  • Country: ca
Re: DAC input in feedback of Opamp.
« Reply #4 on: January 17, 2014, 04:43:09 pm »
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
 

Offline Sam__Topic starter

  • Regular Contributor
  • *
  • Posts: 118
  • Country: gb
Re: DAC input in feedback of Opamp.
« Reply #5 on: January 17, 2014, 05:13:37 pm »
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!
 

Offline AlfBaz

  • Super Contributor
  • ***
  • Posts: 2184
  • Country: au
Re: DAC input in feedback of Opamp.
« Reply #6 on: January 17, 2014, 09:54:19 pm »
due to the DAC input?
Is it any clearer if you called it a DAC output?
 

Offline Sam__Topic starter

  • Regular Contributor
  • *
  • Posts: 118
  • Country: gb
Re: DAC input in feedback of Opamp.
« Reply #7 on: January 17, 2014, 10:01:05 pm »
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.
 

Offline cellularmitosis

  • Supporter
  • ****
  • Posts: 1111
  • Country: us
Re: DAC input in feedback of Opamp.
« Reply #8 on: January 18, 2014, 12:02:55 am »
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?
LTZs: KX FX MX CX PX Frank A9 QX
 

Offline Rudane

  • Regular Contributor
  • *
  • Posts: 80
  • Country: us
    • Electrical Engineering 101
Re: DAC input in feedback of Opamp.
« Reply #9 on: January 18, 2014, 01:41:15 am »
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.
Voltage appears across and current flows through.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf