shaggy tun
Posts: 1
Joined: Wed Feb 08, 2023 2:45 pm

stepper 1000rpm

Wed Feb 08, 2023 2:51 pm

I am stuck in my project. I need to run a stepper motor at 1000 RPM, but I can't seem to find what's wrong. I am using a NEMA 23 with a DM542, and I have tried many Python codes but still haven't found the right way.

User avatar
joan
Posts: 16172
Joined: Thu Jul 05, 2012 5:09 pm
Location: UK

Re: stepper 1000rpm

Wed Feb 08, 2023 3:08 pm

Some details.

Code.
Photos and details of wiring.
What RPM are you managing?

User avatar
B.Goode
Posts: 14738
Joined: Mon Sep 01, 2014 4:03 pm
Location: UK

Re: stepper 1000rpm

Wed Feb 08, 2023 3:09 pm

shaggy tun wrote:
Wed Feb 08, 2023 2:51 pm
I am stuck in my project. I need to run a stepper motor at 1000 RPM, but I can't seem to find what's wrong. I am using a NEMA 23 with a DM542, and I have tried many Python codes but still haven't found the right way.


So apart from not knowing what model of RPi board you are using, what Operating System it is running, how the motors/controller are connected, and what 'many Python codes' you have tried and how they have failed.... Apart from that, helping you should be straightforward!

Can you control the motors, but not reliably or fast enough?

Or do you have difficulty making any use of the motors?



If you were the helper and someone approached you for advice about this issue, what would you need to know to give them guidance?

{Edit: to acknowledge some of the questions being covered while I was typing... }

memjr
Posts: 2783
Joined: Fri Aug 21, 2020 5:59 pm

Re: stepper 1000rpm

Wed Feb 08, 2023 5:31 pm

B.Goode wrote:
Wed Feb 08, 2023 3:09 pm
shaggy tun wrote:
Wed Feb 08, 2023 2:51 pm
I am stuck in my project. I need to run a stepper motor at 1000 RPM, but I can't seem to find what's wrong. I am using a NEMA 23 with a DM542, and I have tried many Python codes but still haven't found the right way.


So apart from not knowing what model of RPi board you are using, what Operating System it is running, how the motors/controller are connected, and what 'many Python codes' you have tried and how they have failed.... Apart from that, helping you should be straightforward!

Can you control the motors, but not reliably or fast enough?

Or do you have difficulty making any use of the motors?



If you were the helper and someone approached you for advice about this issue, what would you need to know to give them guidance?

{Edit: to acknowledge some of the questions being covered while I was typing... }
I see your crystal ball must be in the shop again. Mine is too. We must have purchased them from the same bad manufacturing batch. Have you received any recall notices? I have not.

ghp
Posts: 3137
Joined: Wed Jun 12, 2013 12:41 pm
Location: Stuttgart Germany

Re: stepper 1000rpm

Wed Feb 08, 2023 6:46 pm

Found some datasheet for things like "ACT DM542 Schrittmotortreiber für NEMA 23".
Pulse frequency is 0~100KHz

Running a stepper at 1000rpm is 16.6 rotation per second. With no microstepping and usual 200 step per revolution this are 3.320 pulses per second. This is fast but should be achieved with a python program. Jitter is to be expected as linux is no realtime timing machine.
but I can't seem to find what's wrong
What is wrong ? Too fast, too slow, no rotations at all or magic smoke ? How did you connect the servo driver to the RPi ?

pidd
Posts: 4526
Joined: Fri May 29, 2020 8:29 pm
Location: Wirral, UK

Re: stepper 1000rpm

Thu Feb 09, 2023 7:33 am

You need to ramp the speed up to allow for inertia otherwise various problems can occur.

NEMA steppers aren't rated for 1000rpm continuous, they will overheat and I doubt the bearings are designed for that level of work. They should be fine for intermittent use.

Return to “Python”