F
Fred Bloggs
Fred said:If he knows that it's always between 0 and 1V then he can get away with
a digital pot and using fixed current sources and Vin. The digital pot
might be loaded every time he goes to make a transition, and that's
about it:
View in a fixed-width font such as Courier.
.
.
. +----------------[R]-----------------------------+
. | |
. | |
. | |
. | | |
. | - I=W*CS <-> |
. | ||| +------------+ |
. | CS1|V| | | |
. | ||| -- | |
. | - | / | digi | |
. Vin>--[R]-+--|+\ | W | \ | pot | C |
. | >--+--|<|-+-|>|-+--->| / | +--||--+->Vout
. +-|-/ | A | | \ | | |
. | | | -- | |
. REF | B | | | |
. +--|>|-+-|<|-+ | +-|-\ |
. | | | >-+
. - | +-|+/
. ||| | |
. CS2|V| REF REF
. |||
. -
. |
.
.
.
.
. W*CS2 W*CS1
. Vout= - Vin SR(+)= ---- SR(-)= ---- 0< W < 1
. C C
In that case, if you notice that the A & B points voltages are V(W) +/- one
diode drop, then the current sources can even more be simplified and reduced
to a simple resistor.
I'll also fixe the current divider ratio to say about 50. Then I'll delete
the voltage reference and switch the input to the other opamp input.
Then we arrive at this simple schematics with Vin being directly a 0/5V
logic CMOS output.
+----------------[R]-----------------------------+
| 4.7M |
| ___ |
| .--|___|-+--+15V |
| | A | |
| | | | |
| .-. ---' |
| 100K| | |
| | | |
| '-' 1M |
GND--[R]-+--|+\ | W ___ C |
| >--+--|<|-+-|>|-+------+------|___|-+--||--+->Vout
Vin>-[R]--+-|-/ | A | | | |
| | | .-. | |
[R] | B | | | | |
| +--|>|-+-|<|-+ | |18K +-|-\ |
=== | '-' | >-+
GND .-. | +-|+/
100K| | | |
| | GND GND
'-' 4.7M
| ___
'--|___|-+-- -15V
A |
| |
---'
I think that gets you 5V out- it was 5 seconds max slew time and 1V
amplitude:
View in a fixed-width font such as Courier.
..
..
..
..
.. 0.33U
.. +15V +----+----------||-----+
.. | | | |
.. | --10K | |
.. [1.5M] | / | | |
.. +--[10K]---+-----|+\ | | \ | | |
.. | | | >+-|<|-+--|>|-->| / | | |
.. gnd | +-|-/ | W- | \ | | |
.. | | | --- +--------|-\ |
.. | | | | | | >-----+
.. | | 0.1u| +--------+----|+/ |
.. Vin>-[9.1K]-|---+-||--+ | | | |
.. | | | --- | | [1K]
.. CMOS | | | | / | | | |
.. IN | [1k] | W+ | \ | | +-----|>|-----+
.. | | +-|>|-+--|<|-->| / | | | |
.. | | | | \ | | | +-|<|-|<|---+
.. | | [1.5M] --10K | | | [1K]
.. | | | | | | +---------+ |
.. | | | +----+ | | |
.. | gnd 15V +---|<|-|<|-+ |
.. | | |
.. +------------------------[10K]------|-------------+-->Vout
.. | |
.. | [1K]
.. | |
.. +-------------+
.. |
.. gnd
..
..
..
..
..
..
..
..
..
..
..