so if my understanding is correct, looking at the sim, your circuit requires the optoisolator to pass only 700 uA ? (i got this figure by inserting a 1 ohm resistor after the optoisolator and measuring the current flow through it during sim... is that right?)
and if i only need 700 uA (call it 1mA), then, with a CTR between 20 and 300, the diode needs to be driven with between 5ma at the high end and 0.33mA at the low end.
assuming a 5mA drive current the resistor before the optoisolator would need to be 43 K (assuming a 1.4v forward voltage for LED from datasheet, and a 220v source voltage)
that would mean the resistor would have to dissipate circa 1 watt (220v@5mA) which is quite a lot.....
if on the other hand i assumed 0.33mA (too little?) then the resistor would need to be 660K and be rated for 0.07 watts. rather better.
does that sound right? im not very sure of myself here
what should i use as an average voltage for european mains.. is 220v ok?
and if i only need 700 uA (call it 1mA), then, with a CTR between 20 and 300, the diode needs to be driven with between 5ma at the high end and 0.33mA at the low end.
assuming a 5mA drive current the resistor before the optoisolator would need to be 43 K (assuming a 1.4v forward voltage for LED from datasheet, and a 220v source voltage)
that would mean the resistor would have to dissipate circa 1 watt (220v@5mA) which is quite a lot.....
if on the other hand i assumed 0.33mA (too little?) then the resistor would need to be 660K and be rated for 0.07 watts. rather better.
does that sound right? im not very sure of myself here
what should i use as an average voltage for european mains.. is 220v ok?