+ Reply to Thread
Page 1 of 2
1 2 Last
Results 1 to 15 of 17

Thread: pic and mosfet interface

  1. #1
    h.d
    h.d is offline
    h.d Bad
    Join Date
    Oct 2007
    Posts
    42

    Default pic and mosfet interface

    hi all
    i want to control dc-motor by pic using pwm
    the pwm signal will trigger the mosfet gate
    the mosfet which i will use the Vgsth=()2Vmin.-4Vmax.)
    my question is :can i connect the mosfet gate directly to the pic output without using mosfet driver?
    from the datasheet the mosfet is saturated at Vgs=10V
    so i think i should apply voltage to Vgs between 5-7V.
    and i want to know if that mosfet is good to drive motor which current is 6A?

    i attached the mosfet data sheet and the circuit diagram.
    Attached Images
    Attached Files


  2. #2
    audioguru Excellent audioguru Excellent audioguru Excellent audioguru Excellent audioguru Excellent audioguru Excellent audioguru Excellent audioguru Excellent audioguru Excellent audioguru Excellent
    Join Date
    Mar 2004
    Location
    Canada, of course!
    Posts
    19,864

    Default

    That Mosfet has a 500V rating that you don't need and its on-resistance is very high. It has a loss of up to 3V at 6A.
    Why nort use a lower-voltage Mosfet that has a much lower on-resistance and much lower voltage loss?

    Why limit its gate voltage? Use 10V if it saturates well with 10V. Select a "logic-level" Mosfet if you have only 5V axailable to feed its gate.
    Uncle $crooge

  3. #3
    dknguyen Excellent dknguyen Excellent dknguyen Excellent dknguyen Excellent dknguyen Excellent dknguyen Excellent dknguyen Excellent dknguyen Excellent dknguyen Excellent
    Join Date
    May 2006
    Location
    Alberta, Canada
    Posts
    6,028

    Default

    Only if all of the following are true:
    1. the PIC's HI voltage is enough to trigger, the MOSFET gate (pass the gate threshold voltage, and it is highly preferable to go even higher than that and have it push the MOSFET into saturation)
    2. the MOSFET's source is referenced to the same ground as the PIC
    3. you are switching the transistor slowly

    1. If the PIC's 5V output isn't enough to pass the gate threshold voltage...well it won't turn on. Either choose a different transistor with a lower gate threshold voltage, or use a gate driver that allows a 5V signal to drive the gate at 10V (or whatever voltage is needed to turn the gate on).

    2. MOSFET's connected on the high side (closer to +V than the load) have this problem. YOu need a floating gate driver or a boostrap capacitor gate driver or some other complicated method.

    3. So if you are switching it fast, you need a gate driver since the PIC can't provide enough current to charge up the gate capacitance fast enough. And sometimes the source of the MOSFET is floating, so the 5V from a PIC so that if you apply it to the gate, will not produce a gate-source voltage difference that is higher than the gate threshold voltage (preferably one that will push the MOSFET into saturation).

    1 and 3 may be problems for youru circuit depending on what you want. 2 is a yes for your circuit already.
    Last edited by dknguyen; 8th December 2007 at 08:59 PM.

  4. #4
    audioguru Excellent audioguru Excellent audioguru Excellent audioguru Excellent audioguru Excellent audioguru Excellent audioguru Excellent audioguru Excellent audioguru Excellent audioguru Excellent
    Join Date
    Mar 2004
    Location
    Canada, of course!
    Posts
    19,864

    Default

    Quote Originally Posted by dknguyen
    1. the PIC's HI voltage is enough to trigger, the MOSFET gate (pass the gate threshold voltage ...)
    Forget about the threshold voltage because then the Mosfet is barely conducting with a drain current of only 0.25mA. This Mosfet fully turns on with a gate voltage of 10V.

    He shows a Mosfet Driver that might have an output of 10V.
    Uncle $crooge

  5. #5
    eblc1388 Excellent eblc1388 Excellent eblc1388 Excellent eblc1388 Excellent eblc1388 Excellent
    Join Date
    Jan 2005
    Location
    UK
    Posts
    2,226

    Default

    Audio you have a very valid point here.

    Many people fall into the trap of assuming the MOSFET threshold voltage to be the operating VGS voltage. In fact it is the voltage that the MOSFET starts conducting.

    One should really look at the data graphs in the datasheet that gives the corresponding VGS at the wanted load current and make sure the VGS to the MOSFET gate is higher than this value.

    So if the motor max current is 6A, obtain from the graph the correct VGS voltage that gives 6A load current.
    L.Chung

  6. #6
    audioguru Excellent audioguru Excellent audioguru Excellent audioguru Excellent audioguru Excellent audioguru Excellent audioguru Excellent audioguru Excellent audioguru Excellent audioguru Excellent
    Join Date
    Mar 2004
    Location
    Canada, of course!
    Posts
    19,864

    Default

    Hi L.Chung,
    The graph shows typical Mosfets. The one you use might be minimum.
    You might even find an entire production lot of minimum spec's.
    I always design circuits so that all parts work, not just some parts.
    Uncle $crooge

  7. #7
    dknguyen Excellent dknguyen Excellent dknguyen Excellent dknguyen Excellent dknguyen Excellent dknguyen Excellent dknguyen Excellent dknguyen Excellent dknguyen Excellent
    Join Date
    May 2006
    Location
    Alberta, Canada
    Posts
    6,028

    Default

    Quote Originally Posted by audioguru
    "1. the PIC's HI voltage is enough to trigger, the MOSFET gate (pass the gate threshold voltage ...) "

    Forget about the threshold voltage because then the Mosfet is barely conducting with a drain current of only 0.25mA. This Mosfet fully turns on with a gate voltage of 10V.

    He shows a Mosfet Driver that might have an output of 10V.[/
    "..." = "and it is highly preferable to go even higher than that and have it push the MOSFET into saturation"

    ???
    Last edited by dknguyen; 9th December 2007 at 02:18 AM.

  8. #8
    audioguru Excellent audioguru Excellent audioguru Excellent audioguru Excellent audioguru Excellent audioguru Excellent audioguru Excellent audioguru Excellent audioguru Excellent audioguru Excellent
    Join Date
    Mar 2004
    Location
    Canada, of course!
    Posts
    19,864

    Default

    Quote Originally Posted by dknguyen
    ???
    When talking about turning on a high current switching Mosfet, the threshold voltage should not be mentioned.
    The threshold voltage is when it is turning off.
    Uncle $crooge

  9. #9
    Roff Excellent Roff Excellent Roff Excellent Roff Excellent Roff Excellent Roff Excellent Roff Excellent Roff Excellent Roff Excellent Roff Excellent
    Join Date
    May 2003
    Location
    Idaho, USA
    Posts
    6,723

    Default

    One important parameter he left out is (according to his posts on another forum) this motor requires 180V (DC, I hope ). This somewhat limits the choice of MOSFETs, but there are still plenty to choose from. I think it does severely limit, or possibly exclude, logic level MOSFETs as a choice. We (or I, at least) missed the PWM aspect of the design.
    Last edited by Roff; 9th December 2007 at 05:59 AM.
    Ron


  10. #10
    h.d
    h.d is offline
    h.d Bad
    Join Date
    Oct 2007
    Posts
    42

    Talking

    Quote Originally Posted by Roff
    One important parameter he left out is (according to his posts on another forum) this motor requires 180V (DC, I hope ). This somewhat limits the choice of MOSFETs, but there are still plenty to choose from. I think it does severely limit, or possibly exclude, logic level MOSFETs as a choice. We (or I, at least) missed the PWM aspect of the design.
    sure, 180V dc
    i choice that MOSFET because its available, about the logic level MOSFET
    if you can send to me the type no. of it.
    and thanks for your note
    and the design is for PWM control for the DC-MOTOR
    Last edited by h.d; 9th December 2007 at 04:26 PM.

  11. #11
    Roff Excellent Roff Excellent Roff Excellent Roff Excellent Roff Excellent Roff Excellent Roff Excellent Roff Excellent Roff Excellent Roff Excellent
    Join Date
    May 2003
    Location
    Idaho, USA
    Posts
    6,723

    Default

    Quote Originally Posted by h.d
    sure, 180V dc
    i choice that MOSFET because its available, about the logic level MOSFET
    if you can send to me the type no. of it.
    and thanks for your note
    and the design is for PWM control for the DC-MOTOR
    Fairchild has a few 200 volt MOSFETs with Rds(on) guaranteed at 5 volts Vgs. 200V may not have a comfortable margin in a 180V application. That's up to you.
    The lowest Rds(on) I found was FQP34N20L. Rds(on) is 0.08 ohms max.
    The Fairchild MOSFETs can be found by going here.
    Here is that same table after filtering for N-channel 200V parts. I couldn't find any logic level MOSFETs with breakdown voltage higher that 200V
    Ron


  12. #12
    h.d
    h.d is offline
    h.d Bad
    Join Date
    Oct 2007
    Posts
    42

    Default

    Quote Originally Posted by Roff
    Fairchild has a few 200 volt MOSFETs with Rds(on) guaranteed at 5 volts Vgs. 200V may not have a comfortable margin in a 180V application. That's up to you.
    The lowest Rds(on) I found was FQP34N20L. Rds(on) is 0.08 ohms max.
    The Fairchild MOSFETs can be found by going here.
    Here is that same table after filtering for N-channel 200V parts. I couldn't find any logic level MOSFETs with breakdown voltage higher that 200V
    thanks for your time ...

  13. #13
    felis Newbie
    Join Date
    May 2006
    Location
    Colorado
    Posts
    189

    Default

    Don't drive your MOSFET directly from the PIC pin - if MOSFET decides to die it will take the poor micro (and possibly PCB - see attachment) with it. I'm speaking from experience.
    Attached Images

  14. #14
    JohnWondersWhy Newbie
    Join Date
    Dec 2007
    Location
    North Carolina
    Posts
    11

    Default

    Quote Originally Posted by felis
    Don't drive your MOSFET directly from the PIC pin - if MOSFET decides to die it will take the poor micro (and possibly PCB - see attachment) with it. I'm speaking from experience.
    I agree. I've gotten so frustrated with this and ground loops that I always use optical isolation just to avoid the entire situation.

    At International Recitifier's site they have a good application note on gate drives . . . .

    "Gate Drive Characteristics and Requirements for HEXFET® power MOSFETs an-937"

  15. #15
    h.d
    h.d is offline
    h.d Bad
    Join Date
    Oct 2007
    Posts
    42

    Default

    Quote Originally Posted by JohnWondersWhy
    I agree. I've gotten so frustrated with this and ground loops that I always use optical isolation just to avoid the entire situation.

    At International Recitifier's site they have a good application note on gate drives . . . .

    "Gate Drive Characteristics and Requirements for HEXFET® power MOSFETs an-937"
    can you put the link?

+ Reply to Thread
Page 1 of 2
1 2 Last

Similar Threads

  1. PIC pin to MOSFET gate problem
    By Futterama in forum Electronic Projects Design/Ideas/Reviews
    Replies: 7
    Latest: 8th November 2007, 05:31 PM
  2. Can someone look at the specs on this MOSFET for me?
    By Andy1845c in forum General Electronics Chat
    Replies: 13
    Latest: 18th September 2007, 10:47 PM
  3. LED MOSFET suggestions?
    By rackley in forum General Electronics Chat
    Replies: 1
    Latest: 13th September 2007, 12:50 AM
  4. MOSFET query
    By vuchris in forum Electronic Projects Design/Ideas/Reviews
    Replies: 7
    Latest: 6th September 2007, 05:00 PM

Tags for this Thread