J
John Fields
Guest
On Thu, 8 Oct 2009 03:56:06 -0700 (PDT), Andy <andrewkgentile@gmail.com>
wrote:
In the case where Vout is referred to 0V (your case, I believe) and Vin
varies, then Vin must be added to Vout.
For example, more clearly annotating the circuit:
E1
|
[R1]
|
+--->E2
|
[R2]
|
E3
and solving:
(E1 - E3) * R2
E2 = ----------------
R1 + R2
for various values of E3 results in the following table with R1 set to
4, R2 set to 1, and E2 referred to E3
E1 E3 E2
VOLTS VOLTS VOLTS
------|--------|--------
5 0 1.0
5 1 0.8
5 2 0.6
5 3 0.4
5 4 0.2
5 5 0.0
That's nonsensical for your application, which I believe refers the
output of the divider to ground instead of to Vin.
Such being the case, we can redraw the circuit to include the ground
reference,:
E1>----+
|
[R1]
|
+------>E2
|
[R2]
|
E3>----+
GND>---------->0V
rewrite the equation in order to include the ground reference,:
(E1 - E3) * R2
E2 = ---------------- + E3
R1 + R2
and wind up with:
E1 E3 E2
VOLTS VOLTS VOLTS
------|--------|--------
5 0 1.0
5 1 1.8
5 2 2.6
5 3 3.4
5 4 4.2
5 5 5.0
Which is what you want, yes?
wrote:
Only when Vout is referred to Vin.JF,
I found a good document from TI explaining single ended op amp design,
so I will continue from there. I really do appreciate you effort,
but unfortunately there is some data being lost in translation here.
This is apparent by your equation defining a voltage divider. A
divider consisting of two resistors will create a center voltage of:
Vout = (E1-Vin)*R2/(R1+R2).
---
In the case where Vout is referred to 0V (your case, I believe) and Vin
varies, then Vin must be added to Vout.
For example, more clearly annotating the circuit:
E1
|
[R1]
|
+--->E2
|
[R2]
|
E3
and solving:
(E1 - E3) * R2
E2 = ----------------
R1 + R2
for various values of E3 results in the following table with R1 set to
4, R2 set to 1, and E2 referred to E3
E1 E3 E2
VOLTS VOLTS VOLTS
------|--------|--------
5 0 1.0
5 1 0.8
5 2 0.6
5 3 0.4
5 4 0.2
5 5 0.0
That's nonsensical for your application, which I believe refers the
output of the divider to ground instead of to Vin.
Such being the case, we can redraw the circuit to include the ground
reference,:
E1>----+
|
[R1]
|
+------>E2
|
[R2]
|
E3>----+
GND>---------->0V
rewrite the equation in order to include the ground reference,:
(E1 - E3) * R2
E2 = ---------------- + E3
R1 + R2
and wind up with:
E1 E3 E2
VOLTS VOLTS VOLTS
------|--------|--------
5 0 1.0
5 1 1.8
5 2 2.6
5 3 3.4
5 4 4.2
5 5 5.0
Which is what you want, yes?