Pulse width modulation

Hi, I am working on a prototype that involves fast switching on and off of a 12 v device that does not involve a motor or reducing the voltage to slow and speed the device up.
I would like to know if you can use a mosfet power switch to receive pulse width modulation that turns the device on and off at a fast rate without reducing or increasing the voltage.
I would like my 12 v device to turn on and off at 1000 times per minute constantly.
Or is their another way to achieve this fast switching using a mosfet on its own with code ?

Welcome! Yes it will work and no that is not fast switching for a MOSFET. That works out to just less than 17Hz. The typical Arduino will have a default PWM of about 500Hz (cycles per second). If you can use a higher frequency it should smooth down the operation.

1 Like

curious about what your project is?

I think you need to do a pwm 101.
The voltage will not basically change, just switched on and off, the AVERAGE of the output will be a lower overall voltage.
So if on for 50% and off for 50%, the average will be 50% of the supply. The whole reason for pwm in mostly motor drives as it gives the load a repetitive set of pulses at 100% and thus maintaining torque.

The PWM is a way to digitally code an analog quantity between 0 and 100%.

you may find this

and this

helpful

a typical PWM generated by an Arduino will not have any gap when at 100%.

do you want this or do you want a single pulse 1000/min? if so, what is the max pulse duration?

image

What are you controlling. What is the maximum on and off times, is 100% OK for each? With PWM the on and off added make 100% which can be on or off. Know what the load is makes it much easier to give you a valid answer.

Thanks for the replies- much appreciated
The device that I am controlling operates on 12 v and draws 8 amps - when I switch it on and off with a manual momentary switch the amp draw drops back to 4 amps . I can manually switch on and off at about
120 times per minute by manually switching.

The average of slow, manual PWM.

so you want something that repeatedly generates a 250 mses ON pulse followed by a 250 msec OFF pulse?

I am sorry I cannot help as you will not give us the needed information. Good Luck!

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.