Home
Prox / RFID
Verichips
Ladder Logic
[interfacing] †
Tube Joints
Key Code From Photo
SolveSpace (3d CAD)
SketchFlat (2d CAD)
Photographs
Miscellany
Resume / Consulting
Contact Me

LDmicro Forum - Isolated input options

(you are viewing a thread; or go back to list of threads)

Isolated input options (by digeo)
I want to use an opto isolated input on a project I am busy with. Just want to hear your opions on different configs. I want to use a LED for visual confirmation. I have attached a screenshot of what I am planning.

Any suggestions?
Sat Apr 21 2012, 14:08:55, download attachment io screenshot.gif
(no subject) (by Dat Tran)
You can use digital isolator to simplify your design.
Here are one you need, you can get it for free as sample part on TI.com
http://www.ti.com/product/iso7240m
Sat Apr 21 2012, 16:08:19
(no subject) (by digeo)
Just to expand a bit more on what I am doing. The input should be able to handle voltage ranging from 12V to 24V. That is why I use the zener diodes. First one to drop 5V and second to regulate voltage into opto-coupler.
Sat Apr 21 2012, 17:50:53
(no subject) (by Jorge Jacome)
If you are using the same reference for the 12V. or 24 V. supply
of the input ; why do you need the opto-isolator ?

Also you can use the LED on the right-hand side of the opto isolator,It will give you a further indication that the opto is O.K. as well; but be aware of the maximun current allow to go through the optotransistor.

If you use signals only at 12 V or 24V. the input circuitry of the opto isolator may be more simple.

Jorge
Sun Apr 22 2012, 02:42:50
(no subject) (by Jonathan Westhues)
The top circuit seems a bit suspect. If you apply a large enough input voltage for the Zener diode D2 to conduct, then the impedance driving the LEDs will be low; so the current through the LEDs will get very sensitive to the Zener voltage and to the LEDs' forward drops, and thus be poorly-controlled.

If you want to use a Zener to make the current through the LEDs vary less with the applied input voltage, then a resistor should be placed both between the input and the Zener, and between the Zener and the LEDs.

But that's probably not really necessary, except maybe to make the visible LED brightness more constant with applied input voltage. It's okay for the opto-isolator LED current to vary, as long as we stay below its maximum rated current, which is generally high (since that's limited by thermal effects, and the voltage drop is small, so the power V*I is small).

D1 probably isn't necessary, unless you're trying to guarantee that the opto-isolator stays off even for an input voltage above 0 V but below ~8 V (where that ~8 V is the Zener drop plus the LED drops). R2 and D2 would dissipate a little more power without D1, but it would seem easier to choose those components with appropriate power rating than to add an additional component.

The bottom circuit also seems suspect. The only thing that limits the current through the opto-isolator LED is Ib*hFE, and the current gain hFE for the transistor Q1 isn't well-controlled, and is in any case pretty big. At Vin = 24 V, for example, we're effectively applying a voltage (24 V)*(2.7k/(2.7k + 10k)) = 5.1 V through a Thevenin equivalent resistance of (2.7k || 10k) = 2.1k. The transistor drops Vbe ~ 0.7 V, for base current Ib = (5.1 V - 0.7 V)/2.1k ~ 2.1 mA.

In the datasheet for the MMBTA06, we see a rated minimum hFE of 100 around Ic = 100 mA; in that case, we'd expect Ic ~ 100*(2.1 mA) = 210 mA, which is much greater than the TLP283's rated absolute max LED steady-state current of 50 mA.

Either of these circuits may appear to work, but they're pretty bad; you may see unexpected variations in behavior over the production spread, or reliability problems. I would suggest starting with something like

http://cq.cx/interface.pl#4
Mon Apr 23 2012, 08:43:29
(no subject) (by digeo)
Yes I see now. The second option is totally wrong. Think that was late night idea.
Mon Apr 23 2012, 10:45:13
(no subject) (by Jonathan Westhues)
That circuit looks good. The capacitor is probably there to make ESD damage less likely. I can think of a few different reasons for the additional resistor in parallel with opto's LED, the most likely being that it's the best cheap way to increase the input voltage turn-on threshold.
Sun Apr 29 2012, 16:52:53
Post a reply to this comment:
Your Name:
Your Email:
Subject:
(no HTML tags; use plain text, and hit Enter for a line break)
Attached file (if you want, 5 MB max):