Best way to control the speed of a 12v DC motor?

2,875 views
Skip to first unread message

Marc Dehoux

unread,
Aug 26, 2014, 2:01:49 AM8/26/14
to heatsy...@googlegroups.com
Hello!

I am building a small turntable for use as a weld positioner for MIG and TIG welding. I have some motors scavenged from a Inifiniti G35 front seat that I am hoping to use. They have only two wires to drive them, and depending on which way I flip the wires I get CW or CCW.

What I am unsure of, is what method to control the speed. I am not an electronics guy, so I don't know if this is a job for a rheostat, potentiometer, or using something like an Arduino for PWM. I have seem some pretty cheap/inexpensive DC motor controllers on eBay, but I'm not sure if those are what I need.

I guess my other question is, does the voltage control the speed? If I ran it at 9v, will it run slower with less torque? Or do I need to keep it at 12v and vary the amperage? These seem like pretty torquey motors, seeing as they need to move a seated adult fore and aft.

Many thanks for any help.

Mike Bushroe

unread,
Aug 26, 2014, 6:29:05 AM8/26/14
to heatsy...@googlegroups.com
Marc,

  Sounds like you are already on the right track! A few questions to help refine the answer (which many others can give you as well) and then I will make some generic suggestions. But first lets get to your questions! Or skip to the end for the suggestions!

1) What to control the motors with. See below!
2) Rheostat or potentiometer. These are doable. Rather old school, not very efficient or easy to use, and will get very hot. But if everything else sounds too confusing, yes heavy duty rheostat that goes from 0 to 5-10 ohms and can dissipate at least 75 watts.
3) Using Something like an Arduino. You KNOW that with this group, that will be the first think we will suggest! :)  Yes, an Arduino could do that with some bells and whistles added. Se below for suggestions.

4) A normal load, whether it is a light or a motor or a toaster will try to draw the current in proportion to voltage. So really controling one is controlling the other. Yes, at 9V the motors will turn slower and with less torque. But if you use a PWM controller that is fast enough to make the motor turn smoothly, it will seem as if the motor was being driven by 9 V instead of 12V. If you have to have the full torque, then you have to slow down the PWM until the mtor jerks forward with full torque and speed for the fast bits and then suddenly comes nearly to a stop with no torque during the PWM off cycles if you want slower than full speed. But I am sure you don't want jerky motion, so that means living with the 'apparent' lower voltage in.

The first and most important, do you require the motor spin at 'exactly' 2 rpm? Do you want a dial with detents or digital keypad and display to get precise speeds? Or do you want a continuously variable input to adjust to what ever speed 'feels right' at the moment? Such as maybe having a foot switch like the one for the TIG?

Do you want to run in either direction at the flip of a switch? Do you want to go forwards and backwards during a single weld by slowing down so much it starts going in the other direction?

A) Real simple, one direction only, steal the speed controller from a battery powered drill/driver! I am guessing that the 18V lithium drill drivers are strong enough to handle you set motors as long as you are not sitting in them :) . And if the lithium ion drill/drivers are too well made to get a working motor driver out of, the cheap harbor fright motors usually have a very simple trigger pull pot to small heat sink packed electronics and then to one wire of the motor. Jut cut it of and stick it between the battery and one wire of your turn table.

B) An Arduino to run a PWM signal through a MOSFET "H" bridge motor driver would give you forward and reverse at the flip of a switch, or as a continuous of a knob with forwards full speed at one end, backwards full speed at the other, and zero somewhere in the middle. It can also tell you what power level you are putting out. If you want to pay extra for optical encoders it can tell you the precise speed. You can even use a coarse speed adjust knob on the box and a fine adjust on the foot pedal speed control!

C) Almost as old school is using a 555 timer. You only need one PWM signal, and you can probably live with yanking over a big double pole, double throw switch to change direction. So just a lowly 555 timer, and potentiometer knob on the box or in a foot switch, and a single MOSFET or IGBT to pulse the power and you would be set. No programing, just experimenting with capacitor and resistor values to get the range of speeds you want. But NO bells or whistles!  



D) If you really do need an exact, precise, digital speed, you are going to need optical encoders to measure speeds that slow. Assuming once again a case of 2.0 rpm is desired, that is 30 seconds between ticks of a tachometer. But an optical encoder disk with a mere 250 lines gives 1000 transitions per revolution, or about 33 pulses per second, and much higher resolution disks are available so that you can get very precise, smooth, constant rotation at 2 rpm if that was what you wanted. This would almost certainly need the arduino to convert the pules timing intervals into a speed and then change the PWM to adjust to fit. And the optical encoders are a bit pricey unless you can get a left over on from a FRC robotics team. And they have to be VERY well taken care of or they scratch or warp or move out of focus.


Ok,questions hopefully better understood, and suggestions ranging from cannibalize a HF drill/driver to working with an Arduino person to make a disco version of a potters wheel!


Hope this helps!

Mike

Marc Dehoux

unread,
Aug 26, 2014, 11:07:39 AM8/26/14
to heatsy...@googlegroups.com
Mike, thank you so much for the info! While I really need something that "just turns" having some kind of digital readout, to make it more repeatable would be nice. Really though, I think my only requirements to replicate a commercial units would be 1) Rotates from 0-full speed (usually only a few rpm)  2) reverse direction (not during welding). It seems the use of drill internals is quite a good idea; I'lll have to check the Goodwill near my shop to see if they have anything. I have an old PC power supply I was thinking of using, since it was the easiest way I know of to get mains power to 12Vdc.

If I remember correctly, the Nissan SR20 used an optical sensor wheel for the Cam Angle Sensor, and it had 360 slits around the encoding wheel; this might be far easier to get ahold of in working/usable condition if I decide to go that route, as a friend own a Nissan/Datsun shop.

Thank you again!

John Berkheimer

unread,
Sep 27, 2014, 10:36:00 AM9/27/14
to heatsy...@googlegroups.com
Did you find a solution. In the past what I have seen is a DC motor speed control that worked off a foot petal. We used for hydraulic cylinders.  My first choice would be a big stepper motor. 

John   


On Monday, August 25, 2014 11:01:49 PM UTC-7, Marc Dehoux wrote:

Jasper Nance

unread,
Sep 27, 2014, 11:21:12 AM9/27/14
to heatsy...@googlegroups.com
Why not use a treadmill motor and speed controller? They can go very slow and also have lots of umphba, especially if you gear them down. Or you could use a different motor with lower speed behavior.

A replacement treadmill speed controller can be had for $40ish dollars. They usually control the speed with a voltage between 0 and 12V (a trimpot works)
Reply all
Reply to author
Forward
0 new messages