Instructables

Can I limit the voltage to a motor using PWM?

Hi, I am trying to build a robot with a dual motors controlled by a l298 chip and PWM. I have some really nice 9.6V NiMh battery packs that I would like to use. The problem is that the motors need 3-5v. Could I just use PWM to control the voltage of the motors by working out what duty cycle would give me the correct voltage and then supplying that to the motors? Would I need a capacitor to smooth out the voltage and reduce noise?

Thanks, David.

iceng9 months ago
PWM applied to a DC motor will lower the speed ( just like lower voltage )
However the motor torque is almost as high as the full power machine !

Take care not to overheat the motor because the slower self cooling fans
are much less effective and the RMS energy pulsing the motor causes
even more heating.

The way I really enjoy using PWM is to Smoothly crawl a full train into and
out of a station. No jerking like with a variac TR unit..

A
rickharris9 months ago
No The essential idea of PWM is that the full voltage is applied - It is just switched on and off very fast to give a lower average over time. this makes the motor run slower BUT gives almost full torque.

You might be able to use a voltage regulator depending on the current requirements of the motors.

Far better look for more compatible motors or a different power supply.
Yes, but the inductance of the motor could be used to iimit the current, if the drive frequency is high enough.

Mmmm - Yes - room for a lot if's and buts in there - more likely to see the motor emitting it's magic electrical smoke!

Might not happen depends, on how much the OP values the motors.
Why are builders so reluctant to spend a small amount of time on paper design and then buy the appropriate equipment.

Most designers and engineers I know spend days and weeks jiggling ideas around on paper before they get close to making anything at all. But when they do make something it usually works.
Hunch: many makers come across the parts from 'other' means, scavenging, etc...and have to make do with what they have. Yes, built to order is better but prohibitively expensive in many cases.
I guess so - I like things to work - Sometime I Fit things round what I have but when it gets important I buy in what I need.

Unfortunately I bought a Mazda sports car last month and part of the deal with my SWMBO was I would clear the garage. Sad face

Lot of things went to the tip or to other hoarders!
MX-5 or RX-8? I've got an 06 mx-5 convertible and I love it. best early-midlife-crisis decision I've ever made!
David97 (author)  rickharris9 months ago
What about making a inductor and using a capacitor to smooth the voltage?
David97 (author)  David979 months ago
The motor driver board has the diodes to cope with the emf
Give it a shot - Steve and I will be interested in the outcome. :-) Sometimes you have to try.
Congratulations.You independently reinvented the switchmode PSU !

That's what I was sayingt to Rick, you can PWM fast enough to use the inductance of the motor to limit the voltage and current.
Pro

Get More Out of Instructables

Already have an Account?

close

PDF Downloads
As a Pro member, you will gain access to download any Instructable in the PDF format. You also have the ability to customize your PDF download.

Upgrade to Pro today!