J
John Larkin
Jim said:[snip]
View in a fixed-width font such as Courier..
.
.
. +5V +5v
. FIGURE 3. -+- -+-
. ========== | |
. \ |
. R22 / |
. 10k \ .'
. R21 | |< Q21
. 1.5k 1/2 +--------| 2n3906
. + >----/\/\/----. MOCD217 | |\
. | OPTO | \
. .--. .---|---------/--. +------>
. | | | --- |/ | |
. --' '-- | \ / ---> | | /
. 4v p-p | -+- |>. | \ R23
. | | | | / 3,9k
. '---|----------|-' |
. - >-------------' | |
. '-----------+
. |
. /
. \ R33
. / 1k0
. |
. ===
. GND
.
.At first glance I thought that might work, but I think the negative
feedback will add Miller thru the opto NPN and keep it slow....Jim Thompson
I don't have the MOCD217, but SPICE simulation on the MOC223 shows tr/tf
as about equal at 550ns. It easily handles 100KHz and he can back that
input drive off to 0.5mA or so, 2mA is way too much, and there is very
little danger of exceeding 100% CTR at that drive level. Yep, so NFB
does make the transitions slower.
Inspired by Fred's use of simulation, I plugged an MOC207 into LTspice
and found it surprisingly faithful in modelling my original Fig. 2
circuit.
So inspired, I explored some more.
Attractive as John's totem-pole idea was, I couldn't adjust things to
jerk the opto output transistors 'off.' Maybe I missed something, but
once they're saturated, they're stubborn.
True. But you do get a nice r-r logic swing, pretty fast, at very low
power consumption, from a simple circuit. For speed, use a pin diode
and a TIA.
OK, why not use the push-pull phototransistors into a tia? Somewhere,
somehow, there may be a use for that. Or even p-p pin diodes?
How about this?
FIGURE 4.
========== +5v
-+-
R41 |
2.7k |
+ >----/\/\/----. MOC207 +
| OPTO |
.--. .---|---------/--.
| | | --- |/ |
--' '-- | \ / ---> | |
4v p-p | -+- |>. |
| | | |
'---|----------|-'
- >-------------' |
| comparator
+------------- +
| out------->
| thr------ -
R
|
|
L
|
|
gnd
Which is sort of like something I may do one day soon, in real life.
John