Basic Switching

Discussion in 'General Electronics Chat' started by eckcotech, Feb 6, 2012.

  1. eckcotech

    Thread Starter New Member

    Jan 17, 2012
    28
    0
    Hey all,

    I am having trouble sorting through the thousands of transistor choices for making a simple switch. I will be driving the transistor with a PIC Micro controller.

    Transistor will be controlling a solenoid on/off at 12VDC 29W for full on state.

    Vs = 12VDC
    Chip Output = 0/5VDC 20ma(Max)

    [​IMG]

    Any advice on choosing the correct transistor for this application would be a great help. I just don't understand all the calculations involved.

    Better yet, a brief explanation of HOW to choose the correct transistor may serve me better.

    Thanks :)
    [​IMG]
     
  2. Audioguru

    New Member

    Dec 20, 2007
    9,411
    896
    Your 29W solenoid draws 29/12= 2.4A. Nearly all transistors saturate with a base current that is 1/10th the collector current. But your microcontroller does not have an output of 2.4A/10= 0.24A.
    You could use a darlington power transistor like a TIP120 that saturates with a base current that is 1/250th of its collector current (9.6mA for your circuit) but its saturation voltage loss is a max of about 1.9V.

    A Mosfet input current is nothing when it switches occasionally. Its saturation voltage loss is almost nothing.
     
  3. PaulEE

    Member

    Dec 23, 2011
    423
    32
    I second audio's MOSFET recommendation. IRF510 is a popular medium power MOSFET...and something RadioShack usually has, if you have access and are in a hurry.
     
  4. eckcotech

    Thread Starter New Member

    Jan 17, 2012
    28
    0
    I have some IRL530 Power MOSFETs sitting here but I cant seem to make them work as described.

    I have it hooked up like this......

    [​IMG]


    I'm trying to test it by adding/removing 5vdc from a power supply to the gate pin but it does not seem to switch.

    Any thoughts?
     
  5. eckcotech

    Thread Starter New Member

    Jan 17, 2012
    28
    0
    Not sure why, but a simple pull down resister on the Gate pin seems to have made this work correctly.
     
  6. Audioguru

    New Member

    Dec 20, 2007
    9,411
    896
    The gate of a Mosfet is an insulator that draws almost no current. It has a fairly high capacitance that charges to +5V when you connect it to +5V and the charge remains for a long time when you remove the +5V source. So it needs a pulldown resistor to discharge the capacitance.
    The output of a PIC actively goes high and low to charge and discharge the gate capacitance.
     
  7. crutschow

    Expert

    Mar 14, 2008
    13,014
    3,234
    That device requires 10V to fully turn on. It only partially turns on a gate voltage of 5V. The circuit needs a logic level type MOSFET such as the IRL520.
     
    Last edited: Feb 7, 2012
  8. eckcotech

    Thread Starter New Member

    Jan 17, 2012
    28
    0
    This is the one i'm using at the moment ...

    IRL530

    It says logic level but reading the datasheet it also says 10v :confused:
     
  9. crutschow

    Expert

    Mar 14, 2008
    13,014
    3,234
    You aren't reading the table headings. The data sheet shows a gate voltage of 5V for its rated "Drain-Source On-State Resistance". The 10V is the "ABSOLUTE MAXIMUM RATING". Don't confuse the two.
     
Loading...