Controlling ground for unknown specs on many automotive relays / coils?
eagletalontim
Posts: 1,399
I would like to be able to control basically any standard 12V automotive relay using the prop, but before I put more pads on my circuit board, I would like to know I have the design correct. I have chosen this NPN transistor : http://www.digikey.com/product-detail/en/PN2222ATF/PN2222ATFCT-ND/3504402 The NPN will simply supply the "ground" connection for any 12V automotive relay that is connected to it. From what I have read, putting a 220 ohm resistor between the prop pin and the base of the NPN will be sufficient enough to drive the base with enough current to prevent any heat. I am still learning the DC current gain spec and am trying to understand how to use it to calculate resistor values. Could someone maybe pitch in and help me understand this better? Is the 220 ohm resistor sufficient enough to drive the transistor for what I am needing with the output of the prop pin? Also, I have no way of ensuring a fly-back diode would be used on the relay or solenoid so I don't have a way to protect the transistor. Maybe I need to use something other than a transistor?
Comments
@Jon - nice part
The trouble is that the OP asked that it drive "basically any standard 12V automotive relay" and normally an NPN like the 2N2222 along with a diode would do. Did you say you used 10K in the base of that? How would that drive it into guaranteed saturation? You would need at least a 1K or less.
MOSFET drivers are far superior relay drivers in almost every way.
STD50NH02L-1
RFD14N05L
IRF3708L
SiHLU014
These MOSFETs all come in small TO-151 or TO-262 packages. Not much bigger than the TO-92 package of the PN2222. Yet are capable of driving mush more current.
Read this to mean they hardly get warm.
Take a look at all the parts I list at:
N-Chanel MOSFETS
Duane J
A fly-back diode is connected across the inductive load, a relay in this case. The Cathode, banded end, is connected to the positive side of the relay and the Anode to the Collector of an NPN transistor or Drain of an N-Channel MOSFET driver.
Duane J
As for MOSFETs I have been using fairly rugged dual devices in a single 8-pin pack for about the same price as the tiny SOT-23 devices (which are still good).
About the "fly-back" or or freewheeling diode, I suppose it's a term we use for any diode that's used to "catch" the energy from a collapsing EM field. A fly-back diode across a relay's coil will slow down release times as current continues to flow which is why the other approach is to let the induced voltage rise and be clamped as is the case when using MOSFETs and their body diode which acts like a Zener. So the body diode is across the "collector-emitter" if you like (drain-source) and performs the same action except the induced voltage is clamped rather than completely "shorted'. Well, that's my simple explanation anyway.
A conventional diode is simple to use, especially for relays which don't need to be switched rapidly as in automotive applications. Agreed. As with a zener & diode clamping circuit across the coil. Yes, but using the zener that's across the drain-source in some MOSFETs is generally bad practice unless extensive testing is done to prove the reliability.
There are some MOSFETs that are designed to do this, but the spec sheet clearly states this capability. Normal MOSFETs should not be used for this.
And bipolar transistors which usually don't have a zener can be damaged when run in avalanch mode. Just don't do it.
Duane J
I would say don't put much stock in the Rds(on) v Vgs graph, since this is a graph of a "typical" device - there are
no guarantees (on-voltages vary a lot in FETs from part to part and batch to batch). Go always by the Vgs value
quoted in the Rds(on) spec, and use the maximum Rds(on) quoted, this is what is guaranteed for all devices
across all temperatures and allows for aging...
And as for Vthr, you pretty much ignore this in a switching application, so long as its positive!
Oh, yes, if you want a more capable bipolar switching transistor than the ancient 2222, look at the
specs of the ZTX851, far better at high current and much much lower Vsat.
While I agree with what you are saying my main point is "please ignore that Vthr" as many interpret this as a switching threshold and ignore all other parameters of which Rds(on) is "one" of those that you should check and never assume the 25'C readings are what to expect. Smoking is bad for your health and for electronics too.
I also agree with the superior BJT parts too but it seems almost everybody is stuck either on ancient transistors or the very latest MOSFET and these super BJTs we have now and that industry is using get left out. You mightn't be able to increase the Prop's Voh but you can increase the drive current!
This is just tech banter in general, go with the MOSFETs that Jon came up with.
BTW, HUGE is a relative amount, I order in full reel quantities even just for my proto/preproduction stock, and that is not HUGE when it comes to production!
Just a short question?
Are you making a PC board?
If so use that SI2312CD in the SOT-23 package that Jonny suggested.
There are other dual MOSFETs in surface mount packages.
See the ones I have tested here:
N-Channel MOSFETs.
BTW, those that have a graph are parts I personally tested. Vgs vs Rdson is very usefull.
or
Experimenting and using a "Plug Board"?
If so use one of the ones I suggested in message 10. They are in the TO-251 or TO-262 packages.
These are nice because the leads are easily plugged into breadboards.
Duane J