Opto Coupler 817 not switching off

crutschow

Joined Mar 14, 2008
38,540
I found this information.
That quiescent sensor current of 10mA when OFF would seem to present a problem.
You don't want the current to increase too much beyond that or the power dissipation will become unacceptable high, as the quiescent current already dissipates over 2W.
One way would be to add a comparator circuit to detect a small difference between the ON current and the OFF quiescent current to minimize the power.
 

crutschow

Joined Mar 14, 2008
38,540
Perhaps a better way would be to detect the voltage across the sensor.
That would energize the opto when the sensor is OFF, but that should minimize the power problem.
The signal inversion could be easily compensated by inverting the opto output circuit configuration.
 

Ian0

Joined Aug 7, 2020
13,158
Use a small transformer instead if the opto circuit. The leakage current might just match the magnetisation current of the transformer, especially if it's a rather cheap and nasty transformer,
 

Ian0

Joined Aug 7, 2020
13,158
It would seem that residual current is a very variable parameter between devices.
this one has only 600uA, which would be considerably easier to deal with.
 

Danko

Joined Nov 22, 2017
2,176
This configuration is not working. The sensor does not gets ON, the opto-coupler is constantly ON.
Breakdown voltage BZX84C15 is 15 V.
Try to connect two zeners 8.2 V in series.
ADDED:
If optocoupler still constantly ON, decrease resistor 33 k to 10 k.
BTW, nominal voltage of capacitor 100 μF should be at least 25 V.
 
Last edited:

Thread Starter

abuhafss

Joined Aug 17, 2010
318
Breakdown voltage BZX84C15 is 15 V.
Try to connect two zeners 8.2 V in series.
ADDED:
If optocoupler still constantly ON, decrease resistor 33 k to 10 k.
BTW, nominal voltage of capacitor 100 μF should be at least 25 V.
I added 8.2V zener in series, now the coupler is constantly off.
The voltage across 33k is 17.5V and on pin #1 of the coupler 1.12V.
Yes, the cap is 100µF/25V.

Replacing 33K with 10K resulted 11.9V across 10k and 0.6V on pin #1 of the coupler. Of course the coupler is off.
In both cases, the sensor does not gets ON.
 

sghioto

Joined Dec 31, 2017
8,634
I think the 37K resistor is too large. Connect this circuit as a test and measure the voltage across the 20K resistor when the sensor is ON and OFF.

1690550318213.png
 

BobTPH

Joined Jun 5, 2013
11,556
I don’t understand why the solution given in the datasheet is being ignored by everyone. Can someone please explain. Why not try various bleeder resistors, positioned as in the datasheet, not where the TS wants to put it?
 

Danko

Joined Nov 22, 2017
2,176
I added 8.2V zener in series, now the coupler is constantly off.
The voltage across 33k is 17.5V and on pin #1 of the coupler 1.12V.
Good. Then optocoupler is definitely ON. Not OFF.
What is load of optocoupler transistor?
It should be about 10 k in your case (because of small input current).
 
Last edited:
Top