At 06:35 AM 11/2/05 +0100, Rob Jansen wrote:
> > For that kind of drive I'd go for a MOSFET myself. They are resistance
> > devices. You might be able to drive them from the I/O pin. If you use a
> > logic level FET and drive them at 5V you certainly will be able to.
>
>And do not forget to add a diode accross the FET, some MOSFETs have a
>diode built in but it may be too small, depending on your load.
>Solenoids and things like motors have huge coils - keep this in mind
>when designing.
Good thing to check although I've not seen a power FET whose integral body
diode wasn't rated for a much current as the FET itself. More important
make sure the coil is properly suppressed either with a diode or some other
circuit.
>Check your mosfet of choice for Rds and Vgs. Rds is the resistance of
>the FET when fully open (saturated) under specific conditions.
>Vgs is the voltage you need to open the channel (this is a bit simple
>but will do to get an idea).
>
>So a MOSFET with Vgs = 20V will not do for a 3.3V lpc21xx controller,
>you may want to go for a different part.
Have you ever seen a MOSFET rated for a threshold that high? If you are
taking about logic level FETs I have seen VGS max of +/- 20V fairly
commonly on logic level FETs. I think the highest threshold I've seen for
VGS was about 5V.
>Nice parts are the IRF540
>(http://www.irf.com/product-info/datasheets/data/irf540.pdf), Vgs =
>2-4V, Rds = 0.077 ohm.
>Id (continuous drain current) is 28 Amps (at Vgs = 10V, so it will be
>less when driven by the lpc21xx directly).
Well maybe, That 4V is the maximum for the threshold voltage so to
guarantee turn on you need to drive above that voltage. preferably at 10V
or more. It will work at 5V although with higher RDS. It might work at 3V
but you'd be right at the turn-on knee so you would be taking a chance.
>For smaller currents check out the IRF7403 (it's an SMD package ...) Vgs
>= 1V, Rds = 0.022 ohm, Id = 8.5A.
>It's big enough for most of my applications and I tend to use this one
>instead of a standard NPN transistor when driving small loads (up to a 2
>amps).
Now that's a logic level FET.
> > Unfortunately those are connected to the same side of the
> > coil and you can end up trying to drive a lot of current to no effect.
>
>except from the nice smoke effects that is :-)
That's what over-current circuits are for :) You can't expect the end
users not to make an occasional mistake hooking up a coil and of course
they do short from time to time. Now if they hook up the power leads to
the motor controller backwards that's another story entirely ;)
Robert
" 'Freedom' has no meaning of itself. There are always restrictions, be
they legal, genetic, or physical. If you don't believe me, try to chew a
radio signal. " -- Kelvin Throop, III
http://www.aeolusdevelopment.com/