+ Reply to Thread
Results 1 to 11 of 11

Thread: Test optocouplers

  1. #1
    Gregory Bad
    Join Date
    Nov 2003
    Location
    Australia
    Posts
    227

    Angry Test optocouplers

    Could you explain how to test a optocouplers.
    Greg


  2. #2
    Papabravo Excellent Papabravo Excellent Papabravo Excellent Papabravo Excellent Papabravo Excellent Papabravo Excellent Papabravo Excellent
    Join Date
    Mar 2006
    Location
    Michigan, USA (GMT-5)
    Posts
    2,892

    Default

    1. Connect a voltage source through a current limiting series resistor to the input.
    2. Connect a pullup resistor to Vcc
    3. See the output go low

    What could be simpler?
    We never have time to do it right; but we always have time to do it over.

  3. #3
    tians Newbie
    Join Date
    Nov 2007
    Posts
    5

    Default

    I'll tell you my method

    1. Find the input if you barely don't know which one is input.
    2. Use avometer as ohmmeter to check which one is short for each pins.
    3. Ohmmeter is work as current source so when you find short one then it is the pair of input pin.
    4. Power up the input with series resistor.
    5. Measure the output which one is short so you now know how the current flow.
    6. When you power off input that output pins become open.

    Your optocoupler is work.

  4. #4
    Dean Huster Excellent Dean Huster Excellent Dean Huster Excellent Dean Huster Excellent Dean Huster Excellent
    Join Date
    Feb 2003
    Location
    Harviell MO USA
    Posts
    956

    Default

    It's really fascinating to put them on a semiconductor curve tracer. The emitting device goes to the base input circuitry and the output transistor to the usual emitter/collector circuitry.

    Dean
    Dean Huster, Electronics Curmudgeon
    Contributing Editor emeritus, "Q & A", of the former "Poptronics" magazine (formerly "Popular Electronics" and "Electronics Now" magazines).

    R.I.P.

  5. #5
    quant Newbie
    Join Date
    Oct 2009
    Posts
    41

    Default

    Quote Originally Posted by tians View Post
    I'll tell you my method

    1. Find the input if you barely don't know which one is input.
    2. Use avometer as ohmmeter to check which one is short for each pins.
    3. Ohmmeter is work as current source so when you find short one then it is the pair of input pin.
    4. Power up the input with series resistor.
    5. Measure the output which one is short so you now know how the current flow.
    6. When you power off input that output pins become open.

    Your optocoupler is work.
    Hi,

    I need to test a PC817 but I don't quite understand the above procedure, can some EE please explain it so a noob like me could also understand it?

    thanks

    Attached Images

  6. #6
    quant Newbie
    Join Date
    Oct 2009
    Posts
    41

    Default

    disregard...
    Last edited by quant; 27th October 2009 at 06:59 PM.

  7. #7
    chinmoy1955 Newbie
    Join Date
    Feb 2009
    Posts
    1

    Default

    Dear Quaint and Greg,
    I am surprised and sorry to see the posts in answer to your query regarding testing of optocouplers. None of the answers are clear or complete, in fact they are more confusing for a beginner! I will try to explain a simple procedure in simple English. The optocoupler (PC-817) has four pins, pins 1-2 are internally connected to an LED and pins 3-4 are connected to a NPN transistor. Take an analog multimeter, set it to the RX1 or RX10 ohms range and connect the black lead to the anode of the LED (pin 1) and red lead to the cathode (pin2) of the LED. The meter should register a low ohms reading, the exact value of the reading is not important, it should be low reading. Now just reverse the meter leads, there should be no reading on the meter, or it should show an open cicuit. Now for testing the transistor side, connect the black probe of the multimeter to the collector (pin 4) and red probe to the emitter (pin 3) keeping the meter range switch in the RX10 range. There should be no reading, or maybe a very slight movement of the pointer. Reverse the meter probes, and again there should be no reading. Reverse the probes once again. Connect a DC power source, say a 3V battery, in series with a 470 Ohm resistor, to pins 1 and 2 (positive to pin 1). The meter should immediately show a reading indicating a current flow through the transistor. On removal of the battery, the current should stop. Thats all there is to testing an optocoupler. Any deviation from the above readings indicates a faulty optocoupler.

  8. #8
    quant Newbie
    Join Date
    Oct 2009
    Posts
    41

    Default

    chinmoy,

    Thank you for taking the time to explain the above procedure which can help a lot of other beginners in the future too.

    cheers

  9. #9
    mneary Excellent mneary Excellent mneary Excellent mneary Excellent mneary Excellent mneary Excellent mneary Excellent mneary Excellent mneary Excellent
    Join Date
    Feb 2007
    Location
    California USA
    Posts
    3,814

    Default

    Take an analog multimeter, set it to the RX1 or RX10 ohms range and connect the black lead to the anode of the LED (pin 1) and red lead to the cathode (pin2) of the LED. The meter should register a low ohms reading, the exact value of the reading is not important, it should be low reading. Now just reverse the meter leads, there should be no reading on the meter, or it should show an open cicuit.
    I have several analog meters and their polarity is not consistent. The important thing is that it reads low (half scale is OK) in one direction and open in the other direction.

    All of my digital meters use the red lead for +, which is the opposite of the way indicated above. Use the "diode test" range if it has one. On most digital meters you should have a reading between 1200 (some meters 1.200) and 1999 (1.999) in the "forward" direction.
    de KI6RWX

  10. #10
    MrAl Excellent MrAl Excellent MrAl Excellent MrAl Excellent MrAl Excellent MrAl Excellent MrAl Excellent MrAl Excellent
    Join Date
    Sep 2008
    Location
    NJ
    Posts
    1,286

    Default

    Hi there,


    Im not sure if anyone mentioned speed yet so i'll do that now...


    I like to test my opto's for speed too. The reason for doing this is because
    some opto's can be used for higher speed data transmission and some cant
    because they are too slow.
    The way i do it is quite simple too...
    I connect an LED series resistor to the LED and connect that to a frequency
    generator that puts out a square wave. I then use a collector resistor to
    some voltage like +5v and look at the output with a scope (emitter grounded)
    while also looking at the input square wave. I compare the input rise to
    the output delay and rise time too, and this tells me how far i can go up in
    speed (frequency can be around 100Hz to start with). If the frequency is
    raised too far, the opto can no longer produce an output as it gets more
    narrow as frequency goes up.
    I then start by connecting some base resistors to the base of the output
    transistor if it has that pin available. Connecting a base resistor often
    allows the opto to respond to higher frequencies than would be possible
    without it. 100k is a typical value, so starting there would be a good idea.
    We might want to go as high as 1Meg, and as low as 1k, but for each resistor
    we repeat the test with the generator and scope. At the end of these tests
    we get a very good idea what speed we can use the opto with.
    Some of the very cheap ones wont make it up to 9600 baud for example,
    but they usually will do lower rates like 2400 or so.

    Another thing to think about is the LED series resistor value. Going too low
    will cause the opto to die faster than with a higher value, but will sometimes
    make the whole thing faster. That means the data sheet has to be checked
    for the best current to run the LED at. Choosing a current on the high end
    means less life for the opto (will start failing sooner) and choosing too low
    a current will mean it wont operate quite as nice as we would like, so a
    typical value is somewhere in between. Sometimes 2ma is enough.
    The LEDs brightness diminishes over time (ages) much faster with higher current,
    so that's always something to keep in mind.

    What this all means is that it works out pretty well if we decide beforehand what
    current we want to run the LED at in the final application(s), and do all the
    testing at that current level. This will provide us with the information about
    how fast we can switch the opto and how long it should live in the application.
    I like to shoot for five years or longer and at least 9600 baud.

    Some people dont have scopes and some dont care to get one either, so a
    substitute might be a frequency counter. A freq counter with pulse width
    detection would be best as that would allow the measurement of the input
    pulse width vs the output pulse width so we can know what frequency we
    start loosing the full pulse width at.
    Some of the frequency counters have a 'percent duty cycle' readout, which
    would tell us how wide the pulse is too. With a perfect square wave input
    and the meter reading 50 percent, that would mean the whole pulse is
    getting to the output, but if it reads 40 percent or 60 percent, that means
    we are starting to loose pulse width (either for the HIGH or LOW parts of the
    pulse, respectively).
    Last edited by MrAl; 21st November 2009 at 01:47 PM.

  11. #11
    indulis Newbie
    Join Date
    Jul 2006
    Location
    Just outside of "Beantown"
    Posts
    139

    Default

    Then there is the "CTR" (Current Transfer Ratio). You need to have a certain current flowing in the input (diode) to have a current (Iin*CTR=Iout) in the output. CTR can be < 1 or it can be >>1.

+ Reply to Thread

Similar Threads

  1. Substituting a 16x2 LCD display for 16x1 LCD display?
    By Dawny in forum Electronic Projects Design/Ideas/Reviews
    Replies: 19
    Latest: 11th October 2008, 08:58 AM
  2. Good Electronic Supply's Sites, Everyone Come On In! :P
    By Electric Rain in forum General Electronics Chat
    Replies: 44
    Latest: 27th August 2007, 11:06 PM
  3. faulty digital components testing,checking
    By walters in forum General Electronics Chat
    Replies: 5
    Latest: 22nd August 2005, 07:10 PM
  4. Building a test set.
    By Freezerburn in forum Electronic Projects Design/Ideas/Reviews
    Replies: 2
    Latest: 3rd May 2005, 01:15 PM
  5. ya
    By mari_69 in forum Micro Controllers
    Replies: 4
    Latest: 7th June 2004, 01:29 PM

Tags for this Thread