Pages: [1] 2 3   Go Down
Author Topic: Stepper motor power supply  (Read 3759 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 31
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi, I am pretty new to these particular devices and I'm looking for a power supply for my NEMA17 Stepper Motor.  Any recommendations are appreciated.

Thanks
« Last Edit: October 12, 2013, 11:55:48 am by Alias_33 » Logged

Johannesburg. UTC+2
Online Online
Faraday Member
**
Karma: 99
Posts: 4403
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I'm looking for a power supply for my NEMA17 Stepper Motor.

My understanding is that the NEMA numbers relate to the physical dimensions of steppers, and don't indicate the electrical characteristics. So you would need to give more details.....
Logged

Roy from ITCrowd: Have you tried turning it off and on again?
I'm on LinkedIn: http://www.linkedin.com/in/jimbrownza

Offline Offline
Newbie
*
Karma: 0
Posts: 31
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Here are the electrical specifications for my particular stepper motor:

Phase: 2
Current / Phase: 1.7 amps
Rated voltage: 2.55V
Phase resistance: 1.5 ohm
Phase inductance: 2.8 mH

I am pretty new to all of this.
Logged

Johannesburg. UTC+2
Online Online
Faraday Member
**
Karma: 99
Posts: 4403
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Well there you go: for a power supply you need to go for one that exceeds the volts and amps listed there.

Have a look at this example from the tutorial.
Logged

Roy from ITCrowd: Have you tried turning it off and on again?
I'm on LinkedIn: http://www.linkedin.com/in/jimbrownza

Offline Offline
Full Member
***
Karma: 2
Posts: 136
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

use a 5 volt PSU and keep the PWM below 60
Logged

UK
Offline Offline
Tesla Member
***
Karma: 125
Posts: 7225
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Are you driving the stepper motor with a stepper driver? For example the Pololu A4988 http://www.pololu.com/catalog/product/1182 which I have allows you to set the maximum current and then supply the motor with a much higher voltage to get it to move faster. The A4988 needs forced cooling for currents in excess of 1amp and the max is 2amps so I'm not sure if it is suitable for your motor. I presume other driver boards have similar features.

...R
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 31
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Yes I have a stepper motor driver.  This is the one I will be using; http://www.oddwires.com/l298n-dual-h-bridge-dc-stepper-motor-controller-module-for-arduino/.  So I have an arduino mega and I want to know if I plug a 5V external power supply into the jack on the arduino board itself (not the usb) can I then run the stepper motor using my driver board connected to the 5V pin on the arduino board.  Or would I have to wire the external 5V power supply directly to the motor driver board and then to the motor?
Logged

Johannesburg. UTC+2
Online Online
Faraday Member
**
Karma: 99
Posts: 4403
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Here are the electrical specifications for my particular stepper motor:
Rated voltage: 2.55V

Quote from: shooter
 link=topic=192983.msg1426369#msg1426369 date=1381604381
use a 5 volt PSU and keep the PWM below 60


That would only be for a dc motor wouldn't it, not  a stepper? (And even then, it would still supply 5v in the on phases, only giving 2.5 on average, to control speed.) I think this stepper needs a 2.5v supply.

Then there's a bit of a problem: the driver board says it needs a drive voltage of 5v and up. In fact it contradicts itself: in the bulleted features in the description it says 5v; in the note at the bottom it says 7.

In any event, the answer to this question....

Quote
Or would I have to wire the external 5V power supply directly to the motor driver board and then to the motor?

..... is Yes, even if 5v was the required voltage.

But with the motor being rated for 2.5 I think you'll need a 2.5v supply.
Logged

Roy from ITCrowd: Have you tried turning it off and on again?
I'm on LinkedIn: http://www.linkedin.com/in/jimbrownza

Oregon, USA
Offline Offline
Edison Member
*
Karma: 68
Posts: 2264
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

You can use PWM to control the current through a stepper motor -- that is exactly what the newer motor driver chips like the A4988 do. Boards based on those chips are far more convenient to use than the L298-based drivers because of this feature.

I would strongly recommend ditching the L298 board, in favor of a newer board, because with 2.55 volt motors, you will need large, heat dissipating resistors to drop that portion of the power supply voltage that the motor coils do not. Look up L/R stepper motor control to learn more.

The newer motor drivers are far easier to use, offer current control and automatic step or microstep generation with only two inputs (Step and Dir) as opposed to four inputs and full step only for the L298 board. I have used Pololu's drivers and they work very well. The DRV8825 can handle 1.5 amps/coil with no extra cooling or heat sink and up to 2.2 amps/coil with cooling. It should work well for your application. http://www.pololu.com/catalog/product/2133

Your power supply has to easily supply enough current for both coils at the same time, so about 4 amps minimum.
Logged

"It seems to run on some form of electricity"

Johannesburg. UTC+2
Online Online
Faraday Member
**
Karma: 99
Posts: 4403
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Ah ok, thanks for that.

But am I right in saying that with PWM, the problem of the peak voltage being too high (5v vs 2.5) would be an issue, since the voltage is still 5 in the on-times?

As it happens anyway, that 298 based board can't drive a 2.5v motor it seems, since it has a minimum of 5v (or 7 as it also says, which I suppose allows for the 2v minimum loss in a 298).
Logged

Roy from ITCrowd: Have you tried turning it off and on again?
I'm on LinkedIn: http://www.linkedin.com/in/jimbrownza

Offline Offline
Newbie
*
Karma: 0
Posts: 31
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Look, I'm really just trying to get it working for learning purposes.  I am brand new to the arduino stuff as I have said and I am trying to experiment with different things just to gain some general knowledge about these electronics.  I am not interested in getting a different driver board as I do not have any immediate projects in mind for the motor.  I have also read a little bit about the stepper motors in general.  People run up to 10 times the rated voltage (~25V) to increase the speed of the stepper motor.  There are even torque charts provided by manufacturers that map the torque of the motors vs voltage up to voltages roughly 10 times that of the rated voltage.  That makes sense considering the board I have, the L298N, provides a driving voltage of 5-35V with a maximum amperage of 2amps.   I do appreciate the help and from everyone but that being said I am now more confused by the previous comments.
Logged

Johannesburg. UTC+2
Online Online
Faraday Member
**
Karma: 99
Posts: 4403
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I can't comment on it running at 25v, or even at 5.

If you do run it at 5, definitely don't take that 5v from the Arduino pin, take it from an external source.

There is an inherent voltage drop of almost 2v in a 298: so it could be that if you put 5 in, you'll only get just over 3 out anyway and perhaps the 2.5v motor will be happy with that.

On that page you linked to, if you didn't see it already, I noticed there's an Arduino sketch in the Product Documents tab.
Logged

Roy from ITCrowd: Have you tried turning it off and on again?
I'm on LinkedIn: http://www.linkedin.com/in/jimbrownza

Offline Offline
Newbie
*
Karma: 0
Posts: 31
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Yeah I would definitely not try to power it using the 5V pin on the arduino.  I know for sure that it will not provide the amps needed for the motor.  To JimboZA: have you used these sorts of stepper motors before?  If so maybe you can suggest an external power supply that I can connect to my L298N driver board.  I really do think they are capable of being run at the higher voltages (at least from what I have read) just as long as the amps do not exceed what the motor is rated for which in my case is 1.7 amps.  Feel free to correct me if I'm wrong.  I'm just trying to learn here.
Logged

Johannesburg. UTC+2
Online Online
Faraday Member
**
Karma: 99
Posts: 4403
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

My experience with steppers is very limited, so rather take the other guys' advice on that voltage thing!

Logged

Roy from ITCrowd: Have you tried turning it off and on again?
I'm on LinkedIn: http://www.linkedin.com/in/jimbrownza

Oregon, USA
Offline Offline
Edison Member
*
Karma: 68
Posts: 2264
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

You cannot exceed EITHER the rated winding current or the rated winding voltage in a steady state situation. The motor will overheat.

If you want to use a higher voltage power supply and the L298, then you must put a suitable resistor in series with each winding. You also need a motor power supply that is capable of delivering more than the total current required by the two windings.

The low-voltage high-current steppers that are commonly available were not designed to be used by motor drivers like the L298. They were designed to be used by chopper motor drivers that use a current sense resistor to set the chopper PWM rate.

If you just want to learn, it is a lot easier to work with 5V or 12V steppers!
« Last Edit: October 13, 2013, 12:57:02 am by jremington » Logged

"It seems to run on some form of electricity"

Pages: [1] 2 3   Go Up
Jump to: