Mosfet 1a



In this tutorial, we will learn about the working of a MOSFET as a Switch. In the MOSFET tutorial, we have seen the basics of a MOSFET, its types, structure and a few applications of MOSFET as well.

20 V, 2 A P-channel Trench MOSFET 2. Pinning information Table 2. Ordering information Table 3. Ordering information 4. Marking Table 4. Marking codes 1. = placeholder for manufacturing site code 5. Limiting values Table 5. Limiting values Pin Symbol Description Simplified outline Graphic symbol 1 G gate 2S source 3 D drain 12 3.

  1. P-Channel 1 A MOSFET are available at Mouser Electronics. Mouser offers inventory, pricing, & datasheets for P-Channel 1 A MOSFET.
  2. MOSFET was partly driven by the limitations of bipolar power junction transistors (BJTs) which, until recently, was the device of choice in power electronics applications. Although it is not possible to define absolutely the operating boundaries of a power device, we will loosely refer to the power device as any device that can switch at least 1A.
  3. Then connect the Source pin of the MOSFET to the VCC and the Drain pin to the positive lead of the motor. Usually, you have common Ground between devices. But in this case, we need the Arduino to be able to put -5V on the Gate terminal of the P-Channel MOSFET. Connecting the Arduino 5V pin to the VCC (and the Source) will achieve this since now.

One of the important applications of MOSFET in the field of Power Electronics is that it can be configured as a simple analogue switch. With the help of such analogue switches, digital systems can control the flow of signals in analogue circuits.

Before going into the details of how a MOSFET acts as a switch, let me take you through a recap of the basics of a MOSFET, its operation regions, internal structure etc. For more information on MOSFETs, read the MOSFET Tutorial.

Introduction to MOSFET

A MOSFET or Metal Oxide Semiconductor Field Effect Transistor, unlike a Bipolar Junction Transistor (BJT) is a Unipolar Device in the sense that it uses only the majority carriers in the conduction.

Mosfet

It is a type of field effect transistor with an insulated gate from the channel (hence, sometimes called as Insulated Gate FET or IGFET) and the voltage at the gate terminal determines the conductivity.

Speaking of terminals, a MOSFET is typically a 3-terminal device, which are Gate (G), Source (S) and Drain (D) (even though there is a 4th terminal called Substrate or Body, it is usually not used in either input or output connection).

MOSFET Symbol

MOSFET can be classified into Enhancement type MOSFET and Depletion type MOSFET. Each of these types are further divided into N-channel MOSFET and P-channel MOSFET.

The symbols for each of these types of MOSFETs are shown in the image below.

The main difference between Enhancement Mode MOSFET and Depletion Mode MOSFET is that in depletion mode, the channel is already formed i.e., it acts as a Normally Closed (NC) switch and in case of enhancement mode, the channel is not formed initially i.e., a Normally Open (NO) switch.

MOSFET Structure

The structure of a MOSFET varies based on the application i.e., MOSFETs in IC technology are fairly lateral, while the structure of Power MOSFETs is more of a vertical channel. Irrespective of the application, a MOSFET has basically three terminals namely Gate, Drain and Source.

If we consider an N-channel MOSFET, both the Source and Drain are made up of n-type, which sit in a P-type substrate.

Working of a MOSFET

Let us now try to understand how an n-Channel Enhancement Mode MOSFET works. In order to carry a drain current, there should be a channel between the drain and source regions of the MOSFET.

A channel is created when the voltage between gate and source terminals VGS is greater than the threshold voltage VTH.

When VGS > VTH, the device is said to be in triode (or constant resistance) region or saturation region depending on the voltage across drain and source terminals VDS.

For any VGS, if VDS < VGS – VTH, then the device is in triode region (also known as constant resistance or linear region). If VDS > VGS – VTH, then the device enters into saturation region.

When VGS < VTH, then the device is in off state. The gate current in either regions of operation is very less (almost equal to zero). Hence, MOSFET is known as Voltage Driven Device.

MOSFET Characteristics Curve

The image below shows the characteristic curve of MOSFET in three regions of operation. It depicts the Drain Current ID versus the Drain to Source Voltage VDS for a given Gate to Source Voltage VGS.

MOSFET Regions of Operation

Based on the above-mentioned working of a MOSFET, it can be concluded that a MOSFET has three regions of operation. They are:

  • Cut-off Region
  • Linear (or Triode) Region
  • Saturation Region

A MOSFET operates in cut-off region when VGS < VTH. In this region, the MOSFET is in OFF state as there is no channel induced between drain and source.

For the channel to be induced and MOSFET to operate in either linear or saturation region, VGS > VTH.

The Gate – Drain bias voltage VGD will determine whether the MOSFET is in linear or saturation region. In both these regions, the MOSFET is in ON state but the difference is in linear region, the channel is continuous and the drain current is proportional to the resistance of the channel.

Coming to saturation region, as VDS > VGS – VTH, the channel pinches off i.e., it broadens resulting in a constant Drain Current.

Switching in Electronics

Semiconductor switching in electronic circuit is one of the important aspects. A semiconductor device like a BJT or a MOSFET are generally operated as switches i.e., they are either in ON state or in OFF state.

Ideal Switch Characteristics

For a semiconductor device, like a MOSFET, to act as an ideal switch, it must have the following features:

  • During ON state, there should not be any limit on the amount of current it can carry.
  • In OFF state, there should not be any limit on the blocking voltage.
  • When the device is in ON state, there should be zero voltage drop.
  • OFF state resistance should be infinite.
  • Operating speed of the device has no limits.

Practical Switch Characteristics

But the World isn’t ideal and it is applicable even to our semiconductor switches. In a practical situation, a semiconductor device like a MOSFET has the following characteristics.

  • During ON state, the power handling capabilities are limited i.e., limited conduction current. The blocking voltage during OFF state is also limited.
  • Finite turn on and turn off times, which limit the switching speed. Maximum operating frequency is also limited.
  • When the device is ON, there will be a finite on state resistance resulting in a forward voltage drop. There will also be a finite off state resistance which results in a reverse leakage current.
  • A practical switch experiences power loses during on state, off state and also during the transition state (on to off or off to on).

Working of a MOSFET as a Switch

If you understood the working of the MOSFET and its regions of operation, you would have probably guessed how a MOSFET works as a switch. We will understand the operation of a MOSFET as a switch by considering a simple example circuit.

This is a simple circuit, where an N-Channel Enhancement mode MOSFET will turn ON or OFF a light. In order to operate a MOSFET as a switch, it must be operated in cut-off and linear (or triode) region.

Assume the device is initially OFF. The voltage across Gate and Source i.e., VGS is made appropriately positive (technically speaking, VGS > VTH), the MOSFET enters linear region and the switch is ON. This makes the Light to turn ON.

If the input Gate voltage is 0V (or technically < VTH), the MOSFET enters cut-off state and turns off. This in turn will make the light to turn OFF.

Example of MOSFET as a Switch

Consider a situation where you want to digitally control a 12W LED (12V @ 1A) using a Microcontroller. When you press a button connected to the microcontroller, the LED should turn ON. When you press the same button once again, the LED should turn OFF.

It is obvious that you cannot directly control the LED with the help of the microcontroller. You need a device that bridges the gap between the microcontroller and the LED.

This device should take in a control signal from the microcontroller (usually the voltage of this signal is in the working voltage range of the microcontroller, 5V for example) and supply power to the LED, which in this case is from a 12V supply.

The device which I am going to use is a MOSFET. The setup of the above-mentioned scenario is shown in the following circuit.

When a Logic 1 (assuming a 5V Microcontroller, Logic 1 is 5V and Logic 0 is 0V) is supplied to the gate of the MOSFET, it turns ON and allows drain current to flow. As a result, the LED is turned ON.

Similarly, when a Logic 0 is given to the gate of the MOSFET, it turns OFF and in turn switches OFF the LED.

Thus, you can digitally control a high-power device with the combination of Microcontroller and MOSFET.

Important Note

An important factor to consider is the power dissipation of the MOSFET. Consider a MOSFET with a Drain to Source Resistance of 0.1Ω. In the above case i.e., a 12W LED driven by a 12V supply will lead to a drain current of 1A.

Hence the power dissipated by the MOSFET is P = I2 * R = 1 * 0.1 = 0.1W.

This seems to be a low value but if you drive a motor using the same MOSFET, the situation is slightly different. The starting current (also called as in-rush current) of a motor will be very high.

So, even with RDS of 0.1Ω, the power dissipated during the start-up of a motor will still be significantly high, which may lead to thermal overload. Hence, RDS will be a key parameter to select a MOSFET for your application.

Also, when driving a motor, the back emf is an important factor that has to be considered while designing the circuit.

One of the main advantages of driving a motor with MOSFET is that an Input PWM signal can be used to smoothly control the speed of the motor.

Conclusion

A complete beginner’s tutorial on MOSFET as a Switch. You learned some important basics of MOSFET (its internal structure and regions of operations), ideal vs. practical Semiconductor switch, working of a MOSFET as a Switch, and couple of example circuits.

Related Posts:

Connecting a P-Channel MOSFET to an Arduino can be a little trickier than an N-Channel MOSFET, but if you understand how it works, then it's not very complicated.

The main thing to understand about P-Channel MOSFETs is that they activate when the voltage on the Gate terminal is lower than the Source. It means that the Source of the MOSFET must be connected to the 5V output of the Arduino. Then the Arduino output pin LOW can be lower than the Source.

Symbols for P-Channel MOSFETs:

To simplify things, I am giving all the examples for the more common Enhancement-Type ('Normally OFF') MOSFETs - these are not conducting electricity when the voltage between the Gate and the Source (Vgs) is zero. The alternative Depletion-Type ('Normally ON') MOSFETs are a logical inversion of that. You can apply all the same examples and rules for a Depletion-Type MOSFET. Just the ON/OFF status is reversed.

In this article, I am going to explain all the necessary connections (and related dangers) to create the following diagram. And how to then control the power of the motor with an Arduino output pin.

Required Components

Disclosure: Bear in mind that some of the links in this post are affiliate links and if you go through them to make a purchase I will earn a commission. Keep in mind that I link these companies and their products because of their quality and not because of the commission I receive from your purchases. The decision is yours, and whether or not you decide to buy something is completely up to you.

Video Tutorial

A step-by-step guide about using a P-Channel MOSFET with an Arduino to switch a 12V motor ON and OFF.

P-Channel MOSFET on the 12V (VCC) Side of the Load

Let's say you want to turn ON and OFF a 12V DC motor using an Arduino and a P-Channel MOSFET.

The most intuitive way to archive this goal is to wire the MOSFET on the VCC side of the load (the motor in this case).

You need to have two power sources - one for the Arduino, and a separate 12V power source for the motor.
You cannot connect the Arduino's barrel jack to the 12V! This will create a common ground between your Arduino and the 12V power supply. And it would fry the Arduino when you are creating the common VCC needed for this circuit. (With an N-Channel MOSFET you don't have this problem since you want to have a common ground between the power source and the Arduino)

1. First, you need to create a Common VCC by connecting the positive output of the 12V power source to the Arduino 5V pin. DO NOT CONNECT THE GROUNDS!

2. Then connect the Source pin of the MOSFET to the VCC and the Drain pin to the positive lead of the motor.

Usually, you have common Ground between devices. But in this case, we need the Arduino to be able to put -5V on the Gate terminal of the P-Channel MOSFET. Connecting the Arduino 5V pin to the VCC (and the Source) will achieve this since now the Arduino output HIGH will be 0V on the Gate, and output low will be -5V on the Gate.

3. Connect the negative lead of the motor to the negative output of the 12V power supply.

4. With inductive loads (devices that have coils in them) like a motor, you need to add a flyback diode. It's a diode that is connected across the load in a reverse direction of the normal current flow. During motor operation, it doesn't do anything. But when the MOSFET switches OFF, the coil inside the motor will continue pushing electrons forward and will create a voltage spike. This can damage your MOSFET. The flyback diode allows the excess induced current to flow back and circulate inside the motor until all the energy is dissipated.

5. Add a 10k resistor between the Gate terminal and the VCC. It will ensure that the MOSFET is OFF while the Arduino pin is not initialized as OUTPUT yet, and is not actively driving the Gate (during startup, for example).

6. Finally, connect the Arduino digital output pin to the Gate via a 100-ohm resistor.

Mosfet 1a

The 100-ohm resistor is necessary since the MOSFET will have a small internal capacitance. When you switch the digital output pin, it will start to charge/discharge, and it will create a current spike that can damage the Arduino Arduino pin, especially if you plan to do high-frequency switching.

P-Channel MOSFET on the Ground Side of the Load

I'll give this alternative connection diagram for educational purposes. Maybe it helps to understand the P-Channel MOSFET better.

You can also connect a P-Channel MOSFET below the load on the negative side of the power source. But here we don't have a common Ground nor a common VCC with the 12V power supply. Arduino 5V and GND pins are floating somewhere between the + and - outputs of the 12V power supply because there are no direct connections to them.

Since the MOSFET is activated or deactivated based on the voltage between the Gate and the Source, we need to make sure that the Arduino 5V pin is on the same level as the Source. So we need to connect the Source directly to the Arduino 5V pin.

It's the same case here that you cannot connect the grounds of the power supply and the Arduino! If you do that, you will apply more than five volts to the 5V pin (through the motor).

Arduino Code to Control the MOSFET

To drive a P-Channel MOSFET, you have to define one of the Arduino pins as OUTPUT and set it to HIGH to turn it OFF and set it to LOW to turn it ON.

HIGH state is OFF because the Source pin of the MOSFET is connected to the 5V output of the Arduino. It means that Vgs (voltage between the Gate and the Source) is 0V, and an Enhancement-Type MOSFET is turned OFF in this circumstance.

Mosfet 15v

The following code will turn a motor ON and OFF every five seconds:

Mosfet 100v

If you are controlling a motor or a lamp that can handle a PWM signal, then you can also use analog write command. For example, this will drive a motor at half the power or dim a LED light to 50 percent: