Tuesday, 20 May 2014

Low voltage drop transistor for Arduino


I am using a MQ135 gas sensor in my project. It takes a max of 200ma and I have connected the Arduino to a battery so I can disable it when needed to save battery. I am using a transistor for that but noticed I get a voltage drop of around 0.7V so I only have 4V left at the sensor, which is not enough. Is there any transistor / FET available with a very low voltage drop so I can power and control my sensor without any problems?



Answer



A PNP BJT will always have a voltage drop due to how the junctions in it work. So you don't want to use a BJT. A P-Channel MOSFET would be a better choice, but you need to select carefully. You also need to drive it right.


The answer Oka points to in the comments above gives you a good option for the circuit to use (https://electronics.stackexchange.com/a/75680/4245), but you need to know how a MOSFET works to know how to select the right one.


Instead of acting like a simple switch, the MOSFET acts kind of like a variable resistor. As you vary the gate voltage (with relation to the source voltage - +5V in your case) around the threshold voltage it varies the resistance of the channel between the source and the drain. As you rise above the threshold voltage it enters the saturation region where the resistance is pretty much at its lowest and no increase in the gate voltage difference has much effect on the resistance.



This resistance is called the on resistance, and often referred to as \$R_{DSON}\$.


So there are two important factors you need to look for:



  1. The threshold voltage \$V_{GS}\$ is considerably lower than the maximum voltage difference you can achieve between gate and source. In the circuit shown in the link above, and with a 5V supply, that would be \$-5V + 0.7 = -4.3V\$ (the 0.7 is the voltage drop of the NPN driving transistor). So you need a threshold voltage considerably below -4.3V (P-Channel voltages, as the are measured with respect to the positive supply (where the source is connected) are all negative values).

  2. The on resistance at a gate voltage in the saturation region must be small enough that you won't drop too much voltage at your peak current. Most datasheets and websites quote the on resistance at a specific gate voltage, so you need to make sure that "test" voltage is below your maximum voltage.


So for your system you have a peak current of 200mA (0.2A), and you don't want to drop much voltage - say 0.1V, so your minimum (worst case) voltage for the sensor would be 4.9V. We can calculate the maximum on resistance that you can tolerate:


$$ R = \frac{V}{I} = \frac{0.1}{0.2} = 0.5\Omega $$


So the maximum on resistance you could tolerate would be 500mΩ - preferably less.


No comments:

Post a Comment

arduino - Can I use TI's cc2541 BLE as micro controller to perform operations/ processing instead of ATmega328P AU to save cost?

I am using arduino pro mini (which contains Atmega328p AU ) along with cc2541(HM-10) to process and transfer data over BLE to smartphone. I...