586,745 active members*
6,170 visitors online*
Register for free
Login
Page 1 of 2 12
Results 1 to 20 of 31
  1. #1
    Join Date
    Jun 2006
    Posts
    36

    mosfet basics

    As a newbie I am still trying to understand schematics and mosfets.You can find endless technical info on the web but I just want to know how do I hook up an N channel enhancement mode mosfet? From the schematic I uploaded is this right?
    I need two power sources.One fairly small (power source 1) to supply voltage to control the gate with it's positive going to the gate and it's negative going to the source and to the negative of power source 2.
    Then power source 2's positve go's to the drain.
    Then take the positive from the drain and go to the positive of whatever I want to drive like a motor ect. and the negative from the source and go the negative of the motor.
    Attached Thumbnails Attached Thumbnails mosfet.jpg  

  2. #2
    Join Date
    Dec 2003
    Posts
    24223
    The two voltage sources are shown for explanation purposes, in practice the voltage sources can be one common one where whatever is driving the gate shares the same supply with the drain load side, or an example of separate supplies would be where the gate is driven by a 5v TTL circuit and the drain load fed from a 24v DC supply, the commons of both supplies connected together.
    In your circuit, the drain load would be inserted where the black arrow is shown.
    Al.
    CNC, Mechatronics Integration and Custom Machine Design

    “Logic will get you from A to B. Imagination will take you everywhere.”
    Albert E.

  3. #3
    Join Date
    Jun 2003
    Posts
    3312
    Assuming your wanting to use the mosfet as a switch. A voltage potential greater than the source by the amount defined for the particular mosfet (P/N) for the switched current. To derive the minimum look at the "transfer characteristics". For example, IRL540, source at 0V, and you want to switch 5A. Curves show that 4.5V at the drain as a minimum (depending on temperature), but for reliability a higher value should be used. If the same part has the source at 40V, then to turn it on it would have to 44.5V at the gate minimum. Realistically off the shelf mosfet drivers would use a voltage difference maybe 8 to 12V at the gate. For the mosfet to be off, the gate should be less than 2V of the same value of the source. In the middle of that region the mosfet becomes a linear device.
    Phil, Still too many interests, too many projects, and not enough time!!!!!!!!
    Vist my websites - http://pminmo.com & http://millpcbs.com

  4. #4
    Join Date
    Jun 2006
    Posts
    36
    For the TTL setup, like this?
    Attached Thumbnails Attached Thumbnails MOSFET1.jpg  

  5. #5
    Join Date
    Jun 2003
    Posts
    3312
    No
    Phil, Still too many interests, too many projects, and not enough time!!!!!!!!
    Vist my websites - http://pminmo.com & http://millpcbs.com

  6. #6
    Join Date
    Dec 2003
    Posts
    24223
    Quote Originally Posted by Lston View Post
    For the TTL setup, like this?
    If you go back to my first post, I mentioned that the load is inserted where the arrow is, IOW substitute the arrow with your motor or load.
    The load is in series between drain and power.
    Do a search here for 2N7000 for examples of the connection.
    Al.
    CNC, Mechatronics Integration and Custom Machine Design

    “Logic will get you from A to B. Imagination will take you everywhere.”
    Albert E.

  7. #7
    Join Date
    Jun 2006
    Posts
    36
    If the positive from the 24V goes to the negative of the motor and the negative of the motor goes to the drain,Where does the negative of the 24V go?The positive of the 5V?

  8. #8
    Join Date
    Mar 2007
    Posts
    207

    In Other Words

    Think of the MOSFET as a switch to ground (when the source is grounded).

    The Source is connected to ground.

    The Drain is the Load side of the switch.

    When the MOSFET is turned on, it conducts positive voltage from the Drain to the Source / ground.

    The gate-to-source voltage controls whether and how much the switch is turned on.

    Zero Volts between gate and source and the switch is open (off). 5-10 volts and the Drain-to-source switch is closed (low resistance).

    Between zero and 5 volts the MOSFET acts as a variable resistor of sorts. The higher the voltage the lower the resistance.

    John

  9. #9
    Join Date
    Dec 2005
    Posts
    3319
    Another way to look at it.

    Let's say you only have 1 @ 12v batter to work with. You need want the fet to switch the 12V to a light or some other current using device.

    A logic level fet (IE: IRLZ44) can be enhanced with 5v so all you'd need to do would be to come up with a decent source of 5v (a simple regulator IC would do as not much current is needed) and a storage capacitor. Feed that voltage to a gate driver (totem pole or fet driver) and 5v will swith the 12 as needed.

    Let's say you have a regular fet (IRFZ44) these are enhanceable with 5 to nearly 18 volts. At 5 volts, however, they are NOT as fully enhanced as they are at 10 or better yet, 12 or 15-18vdc.

    The IRFZ44 will turn on quite effectively at 12 volts - recall, we only have a 12v battery for EVERYTHING. IT will do so even better if you boost the gate voltage to 15-18 volts with a charge pump of some kind.

    DO NOT exceed 20Vdc Vgs with regular fets and do NOT exceed Vgs of 10vdc with logic levels.

    Folks may take exception to this method but we used it QUITE effectively in our R/C car speed controllers and it worked great. Especially when you are/were pulling at/near peak possible current thru the fet(s)...

  10. #10
    Join Date
    Jun 2006
    Posts
    36
    Thanks John3,you explained that very well but I believe I have the theory of the operation down I just don't understand the wiring for a 5V TTL controlling a larger source like 24V going to a motor.Could you draw a sketch,not a schematic, that is what I can't figure out, anything just a rough MS paint drawing?

  11. #11
    Join Date
    Dec 2003
    Posts
    24223
    CNC, Mechatronics Integration and Custom Machine Design

    “Logic will get you from A to B. Imagination will take you everywhere.”
    Albert E.

  12. #12
    Join Date
    Mar 2007
    Posts
    207
    Quote Originally Posted by Lston View Post
    Thanks John3,you explained that very well but I believe I have the theory of the operation down I just don't understand the wiring for a 5V TTL controlling a larger source like 24V going to a motor.Could you draw a sketch,not a schematic, that is what I can't figure out, anything just a rough MS paint drawing?
    Lston,

    With all due respects and not to be a smartass... if you had "the theory of operation down" you would "understand the wiring for a 5V TTL controlling a larger source" voltage.

    Maybe this will help?

    Even though they are tied common at the source, you should think of the gate-source control circuit as being independent of the Drain-source output switch circuit.

    This is pretty crude, but think of the MOSFET as a SPST-NO relay with one coil wire and one switch wire tied together at the ground (source) connection.

    To control the MOSFET Switch (relay) you apply positive voltage to the gate (coil) to energize it. The reference side of this control voltage is ground or the source (other coil wire).

    The Drain-Source (relay contacts) circuit acts as a switch of positive voltage/current to ground.

    The voltage/current switched at the Drain-source (contacts) can be and is usually independent of the voltage that is used to control the MOSFET gate (relay coil). The drain-source circuit can switch lower or higher voltages than the gate drive voltage, and it can control currents from the micro-amp range to hundreds of amps depending on which MOSFET is used and the operating conditions.

    This is a very simplistic view of the MOSFET as a switch/relay. At zero gate-to-source voltage the MOSFET is OFF (open circuit). At 5 / 10 /20 volts between the gate and source (depending on the particular model) the MOSFET is ON (Low Resistance) and is conducting current from the drain into the source.

    Unlike a relay there is no exact point where the MOSFET turns from OFF to ON. In the middle range between full off and full on, it operates as a linear analog device with Drain-to-Source resistance dropping for increasing Gate-to-source control voltage. The analog voltage range/points are determined by many factors, construction/layout of the chip, doping of the materials, temperature, drain current... etc. This characteristic is know as the Transconductance of the FET.


    So, think of using a MOSFET as a relay with a common coil and contact lead.

    Does this make it as clear as mud?

    John

  13. #13
    Join Date
    Jun 2006
    Posts
    36
    Sorry I asked, maybe cnczone could start a beginners forum.
    Could someone else who hasn't allready posted just post a simple drawing please.

  14. #14
    Join Date
    Oct 2005
    Posts
    1237
    Quote Originally Posted by John3 View Post

    So, think of using a MOSFET as a relay with a common coil and contact lead.

    Does this make it as clear as mud?

    John
    Yes! Thanks. You give an excellent word picture. I also liked the linear analog explaination at mid on. This helps exlain where the problems in high powered UHU servo controlers arise.

  15. #15
    Join Date
    Mar 2007
    Posts
    207
    Quote Originally Posted by Lston View Post
    Sorry I asked, maybe cnczone could start a beginners forum.
    Could someone else who hasn't allready posted just post a simple drawing please.
    Lston,

    I don't see what in my post made you mad ???? ...And I'm sorry that it confused you.

    The relay example that I gave you was *EXACTLY* the circuit that was used in my son's 4th grade science project for the chapter on Electricity and Magnetism, no joke.

    John

  16. #16
    Join Date
    Jul 2005
    Posts
    668
    Quote Originally Posted by Lston View Post
    Sorry I asked, maybe cnczone could start a beginners forum.
    Could someone else who hasn't allready posted just post a simple drawing please.
    FET's are just electronic switches. There is no way you'll learn the theory of operation in a forum. There are just too many variables and nuances between the different devices.

    The one concept that a beginner needs to have drilled in is to switch FETs "hard and fast". The linear region is a FET killer.
    Steve
    DO SOMETHING, EVEN IF IT'S WRONG!

  17. #17
    Join Date
    Jun 2007
    Posts
    8
    I'm currently working on a stepper controller of my own, and although I've got it working with full and half steps, I would like to do some microstepping.

    So, my question is: Do the fully 'on' and 'off' gate voltages vary depending on your Source-Drain voltage? That's what it looks like when I read about it on the net. Is it the Source-Drain voltage + an amount? I see that the TTL mosfet referenced earlier is from 0 to 5 volts, is that relative to the source-drain voltage?

    I'm pretty new to all of this, so any help is great. If it can't be calculated easily, the mosfets I'm using atm are IRF620, I'm driving 2V 4.7A steppers, although I plan to drive them at 10V if I can wrap my head around current limiting.

    I would just go with linistepper, but my motors are on high side as far as Amps go.
    I would also like to make this stepper controller as flexible as I can, and drive different motors with ease.

  18. #18
    Join Date
    Dec 2005
    Posts
    3319
    Re-read this directiive and learn to understand it; "...The one concept that a beginner needs to have drilled in is to switch FETs "hard and fast"...."

    A typical conventional fets can tolerate about 18Vdc Vgs. Hitting the gate with a TTL chip that only puts out 10 volts is NOT "fast and hard" when you're dealing with conventional fets. This is why they created fet driver ic's. You can trigger them with 5vdc but they'll switch the buss voltage that you generate separately and do so "fast and hard".

    Logic level fets (IE: IRLZ44's) can be enhanced with 5v but, the "hard and fast" method hits them with Vgs of 10Vdc.

    Anything less than 18v for a conventional fet or 10v for a logic level can put it in the linear range and fets don't switch particularly quick and tend to heat up as a result.

    We used the above figures to drive fets in R/C car speed controllers for years. We also did likewise on R/C car battery chargers that were powered by 12 volt car batteries.

    Even though conventional fets SHOULD be well enhanced at Vgs of 12vdc, they got hot. They ran stone cold when we switched to logic levels and drove them with the 12v battery regulated to 10 volts fpr the control circuit. We ran the entire control circuit at 10v from the 12v battery (LM2940t10 regulator) and the fets worked like a champ.

    In our day, they did not have fet drivers that were affordable so we drove them with totem poles. Today, you'd be a fool to not use a fet driver as they are cheap and readily available and they interface well with CMOS and/or TTL level devices

  19. #19
    Join Date
    Mar 2007
    Posts
    207

    What he said....

    Quote Originally Posted by Scienthsine View Post
    So, my question is: Do the fully 'on' and 'off' gate voltages vary depending on your Source-Drain voltage? That's what it looks like when I read about it on the net. Is it the Source-Drain voltage + an amount? I see that the TTL mosfet referenced earlier is from 0 to 5 volts, is that relative to the source-drain voltage?
    In this thread, what NC Cams said addresses your question.

    To elaborate, with all fets there is a range of gate drive voltages. The higher the gate-to-source, the harder the device is turned on, until you get the the voltage where the gate insulation ruptures (a low voltage in the range of 15 - 30 volts, consult MFG's data sheet for max gate source voltage) I'd stay 5 to 10 volts below this absolute max allowed Vgs.

    This gate-to-source control voltage only relates to the Drain/source power circuit in that the more power (voltage and current) you've got in the Drain source circuit, the harder you want to turn on the device in general.

    John

  20. #20
    Join Date
    Jun 2007
    Posts
    8
    Ok, well I was going to be using the fets in the linear range to try to do microstepping, is this the wrong approach?

    Also, atm my full/half step driver has optotransistors triggered by a microcontroller, that switches 24v to the gate of my mosfets... a darlington kinda setup since my micro can only output 3.3v anyway... but I'm unsure how I can do microstepping with it setup like that.

Page 1 of 2 12

Similar Threads

  1. Mosfet Driver
    By tivoidethuong in forum CNC Machine Related Electronics
    Replies: 57
    Last Post: 01-19-2009, 04:20 AM
  2. MOSFET substitution
    By emtffkev in forum CNC Machine Related Electronics
    Replies: 9
    Last Post: 09-22-2008, 11:36 AM
  3. Experiance with the HIP4082 mosfet driver?
    By AbSat in forum CNC Machine Related Electronics
    Replies: 0
    Last Post: 07-02-2007, 12:17 AM
  4. 7 Amp X 5 Mosfet Array
    By scratch_6057 in forum Open Source Controller Boards
    Replies: 1
    Last Post: 01-28-2007, 03:24 AM
  5. MOSFET swaping
    By runnoahrun in forum CNC Machine Related Electronics
    Replies: 4
    Last Post: 01-21-2005, 12:41 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •