Register to reply

Ac voltage indicator using optocoupler

by hisham.i
Tags: indicator, optocoupler, voltage
Share this thread:
Dec28-13, 12:49 PM
P: 178

I want to design an AC voltage indicator. So i designed the circuit attached, but now i am trying to calculate the value of the resistor R1.

I have the following problem:

1- The voltage should be given at the terminals of the optocoupler.
2- The minimum current that should flow through the optocoupler in order to turn on the photo transistor.
3- How can i find these info. in the datasheet i tried to open the data sheet for PC-217 opto coupler but i wasn't able to find them.

Attached Thumbnails
AC voltage indicator.png  
Phys.Org News Partner Engineering news on
Tiny UAVs and hummingbirds are put to test
Britain to trial driverless cars from 2015
NIST corrosion lab tests suggest need for underground gas tank retrofits
Dec28-13, 03:34 PM
Sci Advisor
PF Gold
davenn's Avatar
P: 2,509
hi there hisham

just remember that the LED in the opto-coupler is pretty much a standard LED
your R1 will need to provide voltage dropping and current limiting to keep the current through the diode below maximum
most average LEDs are ~ 2V forward voltage and ~ 20 mA. So depending on what the max AC voltage you are applying will determine the value of R1 to keep a max of 2V drop across the LED and a max of 20mA through it

Dec28-13, 11:11 PM
P: 178
Hi davenn,

But drawing droping the voltage through the resistor from 354V to 2 V at the terminals for the optocoupler will result is a high resistance required (This is not a problem i can use many resistors in series), but if you take 20 mA current the power for the resistor to be selected will be very huge. So i don't think this is the case & that the minimum current that can be used in order to open the photo transistor is much less than 20 mA.

Dec29-13, 01:25 AM
P: 1,074
Ac voltage indicator using optocoupler

use a series capacitor for a high reactance without power dissipation. Google images show a few circuits. search for "AC line voltage indicator LED"
Dec29-13, 01:43 AM
P: 178
No i want to use the resistor & optocoupler configuration, but the value of 20 mA is not the minimum current that can be drawn through the optocoupler to open the photo transistor.

My question is what is the minimum current that can be drawn through the optocoupler to open the photo transistor (its a general question not nessary to this project).
Dec29-13, 06:04 AM
P: 1,074
You are better off using a capacitor and resistor to drop the voltage. Your sims will show how well that works. I'll let you play with the capacitor value. There is no good reason not to do it that way. The examples show an LED, but an optocoupler is essentially an LED driving a transistor. Just replace the LED with the optocoupler.

You need to read and understand the data sheet to determine the current transfer ratio for the part you are using. Is is different for every part number. And it varies with load current. This part is very different than a 4n25.

Register to reply

Related Discussions
LED voltage indicator for 3.7v lithium ion battery Electrical Engineering 13
MOSFET vs Optocoupler Electrical Engineering 10
High Voltage DC Power Indicator Electrical Engineering 1
Voltage Drop Across Indicator Lamp Introductory Physics Homework 1
Help on low voltage indicator circuit Electrical Engineering 6