+ Reply to Thread
Results 1 to 15 of 15

Thread: OptoCoupler's NPN output to drive my gate driver circuit...

  1. #1
    5ky
    5ky is offline
    5ky Newbie
    Join Date
    Jul 2009
    Location
    Overland Park, KS
    Posts
    14

    Default OptoCoupler's NPN output to drive my gate driver circuit...

    Hi. I have a PWM that i'd like to isolate from the business end of the dc motor. i bought some cheap 4n25 optocouplers for starts and I can't figure out how to get them to work for my situation.

    I don't know how to explain this well so let me give you a scenario.

    Lets say my optocoupler has a PNP photo-transistor on the output side. To drive my gate driver circuit, I would connect the collector pin to Vcc and the emitter pin to the gate driver input to source current. Correct?

    Well the problem I have is that my optocoupler has an npn phototransistor on the output side and npn transistors sink current, right? Meaning I can't use it to pulse current to my gate driver because the load has to go between the collector and Vcc?

    I'm not sure if that made any sense but here's a graphical representation of what I mean:

    I know I could buy the pnp version to solve my problem but it there any way I could make this work for what I have?

    bare in mind I'm really new to electronics so it could just be that I have no idea what I'm talking about, so go easy on me

    Thanks



  2. #2
    ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent
    Join Date
    Jan 2007
    Location
    Hampshire. England.
    Posts
    10,756
    Blog Entries
    12

    Default

    hi,
    Look at the image for a typical connection.
    Attached Images
    Last edited by ericgibbs; 14th July 2009 at 08:43 AM.
    Eric " Good enough is Perfect "
    I will NOT answer PM's requesting technical help, please use the Forum
    PIC tutorials: Nigel's www.winpicprog.co.uk/ Bill's: www.blueroomelectronics.com/

  3. #3
    5ky
    5ky is offline
    5ky Newbie
    Join Date
    Jul 2009
    Location
    Overland Park, KS
    Posts
    14

    Default

    Quote Originally Posted by ericgibbs View Post
    hi,
    Look at the image for a typical connection.
    so I can connect the "pulse out" to my gate driver? I'm guess this basically inverts my PWM signal then, right?

    I tried hooking i up like this and it didn't work

    something tells me it can't sink enough current to drive my 2n2222 and 2n2907 transistors for my gate drive. i guess i just need to order a better optocoupler or better yet one that's made to directly drive a gate?

  4. #4
    MrAl Excellent MrAl Excellent MrAl Excellent MrAl Excellent MrAl Excellent MrAl Excellent MrAl Excellent MrAl Excellent
    Join Date
    Sep 2008
    Location
    NJ
    Posts
    1,267

    Default

    Hi,

    Eric, that opto coupler works a little better with some base resistance to ground.
    Just thought i would mention that...

    5ky, what speed are you after here? 20kHz, higher?
    Last edited by MrAl; 14th July 2009 at 09:04 AM.

  5. #5
    5ky
    5ky is offline
    5ky Newbie
    Join Date
    Jul 2009
    Location
    Overland Park, KS
    Posts
    14

    Default

    Quote Originally Posted by MrAl View Post
    Hi,

    Eric, that opto coupler works a little better with some base resistance to ground.
    Just thought i would mention that...

    5ky, what speed are you after here? 20kHz, higher?
    I really don't have a set frequency I'm after to be honest--I'm just building random projects for fun and to learn from. right now, to make this easier to work with, I'm running below 1 kHz if I did my math right.

  6. #6
    ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent
    Join Date
    Jan 2007
    Location
    Hampshire. England.
    Posts
    10,756
    Blog Entries
    12

    Default

    Quote Originally Posted by 5ky View Post
    I really don't have a set frequency I'm after to be honest--I'm just building random projects for fun and to learn from. right now, to make this easier to work with, I'm running below 1 kHz if I did my math right.
    hi,
    If you need a pullup, add a PNP transistor across the 10K, with a 1K series resistor to the base.OK.?

    EDIT:

    Look at this image.
    Attached Images
    Last edited by ericgibbs; 14th July 2009 at 09:19 AM.
    Eric " Good enough is Perfect "
    I will NOT answer PM's requesting technical help, please use the Forum
    PIC tutorials: Nigel's www.winpicprog.co.uk/ Bill's: www.blueroomelectronics.com/

  7. #7
    MrAl Excellent MrAl Excellent MrAl Excellent MrAl Excellent MrAl Excellent MrAl Excellent MrAl Excellent MrAl Excellent
    Join Date
    Sep 2008
    Location
    NJ
    Posts
    1,267

    Default

    Hi again,

    Eric, i meant a base resistor to ground.

  8. #8
    5ky
    5ky is offline
    5ky Newbie
    Join Date
    Jul 2009
    Location
    Overland Park, KS
    Posts
    14

    Default

    Quote Originally Posted by ericgibbs View Post
    hi,
    If you need a pullup, add a PNP transistor across the 10K, with a 1K series resistor to the base.OK.?

    EDIT:

    Look at this image.
    i'll give that a shot, thanks =)

  9. #9
    ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent
    Join Date
    Jan 2007
    Location
    Hampshire. England.
    Posts
    10,756
    Blog Entries
    12

    Default

    Quote Originally Posted by MrAl View Post
    Hi again,

    Eric, i meant a base resistor to ground.
    Thanks Al. I dont normally use any base resistors in opto's.
    Eric " Good enough is Perfect "
    I will NOT answer PM's requesting technical help, please use the Forum
    PIC tutorials: Nigel's www.winpicprog.co.uk/ Bill's: www.blueroomelectronics.com/

  10. #10
    ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent
    Join Date
    Jan 2007
    Location
    Hampshire. England.
    Posts
    10,756
    Blog Entries
    12

    Default

    hi Sky,

    Found this opto application data, help answer your query.
    Attached Files
    Eric " Good enough is Perfect "
    I will NOT answer PM's requesting technical help, please use the Forum
    PIC tutorials: Nigel's www.winpicprog.co.uk/ Bill's: www.blueroomelectronics.com/

  11. #11
    OutToLunch Good OutToLunch Good OutToLunch Good
    Join Date
    Jun 2006
    Location
    North Carolina, USA
    Posts
    355

    Default

    you need to swap the bipolars in the gate drive circuit. You need the PNP up top and the NPN down low. With the way they are connected, neither will ever turn on.

  12. #12
    dougy83 Good dougy83 Good dougy83 Good
    Join Date
    May 2008
    Location
    Brisbane, Australia
    Posts
    756

    Default

    5ky,

    This is more along the lines of what you originally posted: just an opto + transistor buffer to drive the gate, providing current amplification for both charge & discharge. The resistor pulls down the voltage on the bases when the opto is inactive.
    Attached Images

  13. #13
    MrAl Excellent MrAl Excellent MrAl Excellent MrAl Excellent MrAl Excellent MrAl Excellent MrAl Excellent MrAl Excellent
    Join Date
    Sep 2008
    Location
    NJ
    Posts
    1,267

    Default

    Hi,

    Oh i see now he wants to drive a mosfet...that is a different story.
    To drive the mosfet properly you need a faster rise signal than an
    opto can provide, unless the mosfet can tolerate a bit of extra heating.

    The typical way this is done is to drive a logic gate with the opto, such
    as a schmitt trigger inverter, then use the output to drive the mosfet
    driver.
    Another even better way is to get a dedicated mosfet driver chip. These
    not only can provide the proper high current gate drive, but can drive
    the gate high and low with fast rise and fall times...both a very good idea.
    Many mosfet driver IC's already have a schmitt trigger built in too.

  14. #14
    5ky
    5ky is offline
    5ky Newbie
    Join Date
    Jul 2009
    Location
    Overland Park, KS
    Posts
    14

    Default

    Quote Originally Posted by MrAl View Post
    Another even better way is to get a dedicated mosfet driver chip.
    This then, would be the cream of the crop then for what I'm wanting, yea? Optical gate driver.

    http://www.fairchildsemi.com/ds/FO/FOD3120.pdf

  15. #15
    MrAl Excellent MrAl Excellent MrAl Excellent MrAl Excellent MrAl Excellent MrAl Excellent MrAl Excellent MrAl Excellent
    Join Date
    Sep 2008
    Location
    NJ
    Posts
    1,267

    Default

    Hi,

    Yes that should do it. A little pricey, but that would do it.
    Looks like it requires a 15v supply voltage though.
    Last edited by MrAl; 15th July 2009 at 07:56 AM.

+ Reply to Thread

Similar Threads

  1. mosfet gate drive circuit
    By Chippie in forum Electronic Projects Design/Ideas/Reviews
    Replies: 15
    Latest: 14th July 2009, 12:35 AM
  2. Piezoelectric Transducer Driver Circuit With Adjustable Output Level
    By romosco in forum Electronic Projects Design/Ideas/Reviews
    Replies: 6
    Latest: 17th May 2009, 08:55 PM
  3. how to use transistor logic instead of op-amp in my gate drive circuit?
    By krishna1331 in forum Electronic Projects Design/Ideas/Reviews
    Replies: 10
    Latest: 30th September 2008, 08:48 PM
  4. Mosfet gate drive
    By wael_sal in forum Electronic Projects Design/Ideas/Reviews
    Replies: 1
    Latest: 2nd November 2006, 09:59 PM
  5. IGBT gate drive
    By Styx in forum Electronic Projects Design/Ideas/Reviews
    Replies: 9
    Latest: 1st May 2004, 05:13 PM

Tags for this Thread