Jim said:
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.
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.
Fred's idea of reducing LED current is a good one; I'd originally set
the LED current a bit high for CTR and aging allowance, but I was too
conservative. Lower LED current is better.
Here's a faster two-transistor version that minimizes the voltage
swing across the opto's output transistor, and thus manages to pass
1MHz according to the simulator:
FIGURE 4.
========== +5v
-+-
R41 |
2.7k |
+ >----/\/\/----. MOC207 +---------.
| OPTO | |
.--. .---|---------/--. |
| | | --- |/ | |
--' '-- | \ / ---> | | \ R45
4v p-p | -+- |>. | / 4.7k
| | | | \
'---|----------|-' | --. .--
- >-------------' | | | |
| | '--'
R42 | | tf=90nS, tr=125nS
4.7k |<' Q41 +------------------->
+5>--/\/\--+------| 2n3906 |
| |\ /
| | |/ Q42
R43 \ +------| 2n2369
2.2k / | |>.
\ \ |
| R44 / |
| 560 \ |
=== | |
GND | |
=== ===
GND GND
It uses more parts, so we're straying from the initial charter of
simple, low-power, and medium-fast.
Common-base transistor Q41 is pretty close to a TIA, so we're
pushing the limits of easy improvement for this opto. In the interest
of speed I've left out any anti-smoke resistors. Besides the speed
advantage, this version uses half the LED current and the opto sees
less voltage, so it's even safer than its predecessors.
Best to all,
James Arthur