Ac voltage indicator using optocoupler

  • Thread starter Thread starter hisham.i
  • Start date Start date
  • Tags Tags
    Ac Voltage
Click For Summary
The discussion focuses on designing an AC voltage indicator using an optocoupler, specifically addressing the calculation of resistor R1. Key points include the need to limit current through the optocoupler's LED to prevent exceeding its maximum ratings, with a typical forward voltage of around 2V and a desired current of 20mA. However, concerns are raised about the high resistance required for large AC voltages and the associated power dissipation in the resistor. Participants suggest using a capacitor in conjunction with a resistor to manage voltage drop without significant power loss. Understanding the optocoupler's datasheet is emphasized to determine the minimum current needed to activate the photo transistor, as this varies by model.
hisham.i
Messages
176
Reaction score
2
Hello,

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.

Thanks
 

Attachments

  • AC voltage indicator.png
    AC voltage indicator.png
    27.2 KB · Views: 941
Engineering news on Phys.org
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

cheers
Dave
 
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.
 
use a series capacitor for a high reactance without power dissipation. Google images show a few circuits. search for "AC line voltage indicator LED"
 
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).
 
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 http://www.avagotech.com/pages/en/o...gton_transistor_output_optocoupler/hcpl-073a/ is very different than a 4n25.
 
Thread 'I thought it was only Amazon that sold unsafe junk'
I grabbed an under cabinet LED light today at a big box store. Nothing special. 18 inches in length and made to plug several lights together. Here is a pic of the power cord: The drawing on the box led me to believe that it would accept a standard IEC cord which surprised me. But it's a variation of it. I didn't try it, but I would assume you could plug a standard IEC cord into this and have a double male cord AKA suicide cord. And to boot, it's likely going to reverse the hot and...

Similar threads

Replies
4
Views
3K
  • · Replies 2 ·
Replies
2
Views
4K
Replies
8
Views
4K
  • · Replies 15 ·
Replies
15
Views
3K
  • · Replies 10 ·
Replies
10
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
68
Views
7K
Replies
1
Views
4K
Replies
2
Views
2K
  • · Replies 22 ·
Replies
22
Views
9K