Hi, can anybody tell me how to use IRF530N mosfet for control a 12v dc motor? and what is the improtance of using PWM signal for that? and how to give PWM signal ? can anyone guide me, ? it is very important .. please ... thank you
You have to buy a FET driver for that one or use a transistor circuit to do the same thing.
PWM you get from analogWrite
the relevance - it's a way to vary speed
if you're happy just turning it on full speed then you don't need PWM.
moek0000:
Hi, can anybody tell me how to use IRF530N mosfet for control a 12v dc motor? and what is the improtance of using PWM signal for that? and how to give PWM signal ? can anyone guide me, ? it is very important .. please ... thank you
Don't even try, its not logic level, it won't work from an Arduino pin.
Choose a suitable MOSFET rated for the load and with logic-level gate drive. You
haven't said what the load is so we can't help you choose without more info.
If you want bidirectional motor control you need an H-bridge, not a MOSFET.
MarkT:
Don't even try, its not logic level, it won't work from an Arduino pin.Choose a suitable MOSFET rated for the load and with logic-level gate drive. You
haven't said what the load is so we can't help you choose without more info.If you want bidirectional motor control you need an H-bridge, not a MOSFET.
It's OK to run a motor with IRF530N.
If you read the IRF530N datasheet, you'll see the VGS will effect on the current output.
IRF530N can load 10A when VGS is upper then 5V
ReferenceUsing MOSFETS with TTL levels
NO!!!!!!, the datasheet gives Rds(on) for 10V only, it is NOT logic level.
The typical plateau voltage is given in the graph as about 4.4V, and since the
spread in plateau voltages is at least +/-1.0V this means some devices will have
plateau at 5.4V or higher.
The way MOSFETs work is this:
The gate charges up until the plateau is reached when significant drain
current starts to flow and the channel builds up, causing the plateau in
gate voltage against charge. Eventually the channel is fully formed and
the gate voltage starts rising again.
This plateau is thus the mid-point of switching - Vgs needs to be significantly
above the plateau voltage to carry rated current(*). Ideally at least 50% higher
than the worst-case plateau voltage.
(*) because when switching the gate voltage needs to pass rapidly through this
region, not asymptotically approach it, otherwise the switching time is greatly
stretched and large switching losses will happen. For symmetric switching it
is a good idea to use gate drive voltage about twice the plateau voltage, which is
why plateaus for 10V MOSFETs tend to be about 4 to 6V. For a logic-level
device the plateau voltage will be about 2 to 3V and threshold 0.5 to 1.0V.
Furthermore using a 100V 0.09 ohm MOSFET for low voltage high current is
dumb. Something like a 20V or 30V device with Rds(on) = 0.01 ohm would be
more appropriate.
Don't forget about to use a diode
Any time you are powering a device with a coil, such as a relay, solenoid, or motor, you need diode, and don’t leave home without it. What happens is when you stop powering the coil, a reverse voltage, up to several hundred volts, spikes back. This only lasts a few microseconds, but it is enough to kill our MOSFET. So this diode (only allows current to pass one way) is normally facing the wrong direction and does nothing. But when that voltage spikes comes flowing the opposite direction, the diode allows it to flow back to the coil and not the transistor. We will need a diode fast enough to react to the kickback, and strong enough to take the load. A rectifier diode like the 1N4001 or SB560 should do the job. If you are looking for extra protection you could use an optoisolator between the Arduino and the transistor. An optoisolator optically isolates both sides (high and low power) of the circuit so the high-voltage can not possibly come back to the microcontroller.