Mosfet Won't Turn Off

Discussion in 'General Electronics Chat' started by bumba000, Oct 16, 2015.

  1. bumba000

    Thread Starter Member

    Oct 7, 2015
    72
    2
    I have been over several threads in several forums including this forum. I can not seem to get the mosfet to turn off. What I have here is really quite simple, but then again maybe I am too. Please forgive my ignorance...

    This is my mosfet; www.irf.com/product-info/datasheets/data/irlr6225pbf.pdf

    This is what I've done with it
    [​IMG]

    Thank you, John
     
  2. dl324

    Distinguished Member

    Mar 30, 2015
    3,250
    626
    You have source and drain reversed. Body diode always forward biased.

    Put in a current limit resistor or something will burn up.
     
  3. bumba000

    Thread Starter Member

    Oct 7, 2015
    72
    2
    wow. what an idiot. it works now! thank you.
     
  4. dl324

    Distinguished Member

    Mar 30, 2015
    3,250
    626
    Don't be so hard on yourself. If you think about it, the terminal names don't make sense. Neither do the supply names. In a CMOS inverter, VDD is connected to the source of the PMOS device and VSS is connected to the source of the NMOS; so both supplies are actually source supplies...
     
    bumba000 likes this.
  5. bumba000

    Thread Starter Member

    Oct 7, 2015
    72
    2
    Now it's correct but I need a resistor inline with the gate because my arduino gate trigger won't stop putting out 0.020v. If I use a pull down resistor it stops the led from lightly glowing, but then it doesn't work at all when I press my PWM button. So I've added the 10k inline resistor, but now I don't get enough power to the gate to get all the power I need from source to drain.

    What else can I do?

    [​IMG]
     
  6. dl324

    Distinguished Member

    Mar 30, 2015
    3,250
    626
    The transistor should be off with 0.02V on the gate.

    What is your PWM frequency? Might be a problem with the gate cap.
     
  7. bumba000

    Thread Starter Member

    Oct 7, 2015
    72
    2
  8. dl324

    Distinguished Member

    Mar 30, 2015
    3,250
    626
    Try putting the 10K resistor between the gate and source. Connect your PWM signal directly to the gate.

    Can you slow the PWM frequency to 10Hz? You'll be able to see the LED blink and gate cap shouldn't be an issue.

    Have you inserted a current limit resistor for the LED?
     
  9. bumba000

    Thread Starter Member

    Oct 7, 2015
    72
    2
    I have tried the resistor from gate to source. It doesn't stop the LED from glowing when not pressing the button. The one thing I know for sure is that yes I can turn the PWM down but the super high PWM frequency is half the key to this whole project. The LED is only there for now so that I can see that I've wired the mosfet correctly. No current limit resistor. A current limit resistor would be on which side of the LED? I'm okay with 50/50's so I'll bite, on the negative side? :)

    Thank you so much for holding my hand through this. I'm sure you have much better things you could be doing right now.

    Thanks, John
     
  10. dl324

    Distinguished Member

    Mar 30, 2015
    3,250
    626
    Since you don't have an oscilloscope to look at the signals on the MOSFET, decreasing the frequency would let you confirm visually that the transistor is switching.

    Since you're using a power MOSFET, I assume you plan to switch a large current. I don't know what the drive capability of the Arduino is; you might need a buffer that can sink/source enough current to switch the MOSFET at your target frequency.
     
  11. bumba000

    Thread Starter Member

    Oct 7, 2015
    72
    2
    I have an oscilloscope, but it's sound card based. I made if from a DIY oscilloscope project I found online. Super simple but can only measure so high... I've turned the frequency down to 350hZ but the LED doesn't blink. It's just on when pressing the button. Yes, I plan to drive an inductor from an 18650 battery. What kind of buffer. Aluminum Polymer cap?
     
  12. GopherT

    AAC Fanatic!

    Nov 23, 2012
    6,067
    3,838
    What is the source of your PWM? Is it an arduino or signal generator? Did you connect the negative cable of the signal generator (or arduino) to the negative terminal of your battery?

    10k ohms is too high of resistance when running 100kHz to gate.
    Try 10 ohms.

    image.jpg
     
  13. GopherT

    AAC Fanatic!

    Nov 23, 2012
    6,067
    3,838
    @bumba000

    Which LED are you using?
    What current is it rated?
    What is the forward voltage?

    Is your battery fully charged?
    What voltage is it at?
     
  14. bumba000

    Thread Starter Member

    Oct 7, 2015
    72
    2
    Not sure about the LED type, I pulled it out of some old charger. Battery's at about 4.17 now. Full would be 4.2, dead is 3.7.
    Seems to be working with an LED. LED is off when not pressing PWM button. Press PWM button and the LED comes on and I see 4.2V across the circuit (at A & C of LED). Remove the LED and there's always 4.2, pressing the PWM button makes the voltage go down. What the heck?!

    What is that you did with the 1hZ. I don't know what that symbol is. I don't think I have one of those... =0)


    [​IMG]
     
  15. GopherT

    AAC Fanatic!

    Nov 23, 2012
    6,067
    3,838
    That is a 1Hz Pwm (your arduino)
     
  16. bumba000

    Thread Starter Member

    Oct 7, 2015
    72
    2
    That's what I though. Thank you. I'm back to 100kHZ. Didn't want to get too far away and lose me code.
     
  17. GopherT

    AAC Fanatic!

    Nov 23, 2012
    6,067
    3,838

    Connecting the mosfet backwards like this may have fried it.
     
  18. Aleph(0)

    Member

    Mar 14, 2015
    350
    326
    I sorry if out of line but I say you doing things hard way! Good used scope cost less than only 500 dollars so why you having instrument barren lab? The further you go the more you need real test instruments! Just saying:)
     
    GopherT likes this.
  19. bumba000

    Thread Starter Member

    Oct 7, 2015
    72
    2
    I had six mosfets. I now have four mosfets. Having that pic there is gonna get confusing.

    I don't have a "lab" and I don't have $500 for an oscilloscope.

    [​IMG]
     
  20. GopherT

    AAC Fanatic!

    Nov 23, 2012
    6,067
    3,838
    True, true!

    I have an $89 scope (100Mz) hitachi. Anything to get you started my friend.
     
    Aleph(0) likes this.
Loading...