Stepper motor Speed

More
16 Dec 2024 12:51 #316748 by csurimilan
Stepper motor Speed was created by csurimilan
Hello,

I have a question about the speed. Im using LCNC and its working good, but i want to ask someone who has more knowledge about the speed settings. Im using a Nema23 (200step/rev) with 1/32 microstepps. Motor driver is a DM556. Leadscrew pitch is 5mm. Board is a EC500 with remora software.
My Scale factor should be 1280, if im not wong.
Im trying to speed up my machine but its not that fast how i thought it will be. until 1800mm/min (70inch/min) working good but if i want to speed up to 1900mm/s or 2000mm/s (above 1800mm/s) i got an error. "Joint must be unhomed, jogged into limits,rehomed". i didnt reached any limit and if i go with a lower speed, im not getting any error.
i would be thankful if someone could light me up.

 

 
Attachments:

Please Log in or Create an account to join the conversation.

More
16 Dec 2024 17:31 #316782 by andypugh
Replied by andypugh on topic Stepper motor Speed
What you are seeing is probably a limit to the speed with which steps can be generated. Once the system hits the maximum step-rate the system will realise that the machine is out of position and trigger a following-error.

What is your step length and step space? Add them together, and divide into one second. That's the maximum number of steps per second that the system can generate. You are probably hitting either this limit, or the limit of the base-thread speed, as the system can generate at most one step per base period. (If you don't see a "reset" function in your HAL then it is one step every two base thread cycles.

If the driver can handle it you can try reducing step length, or the base thread period. But you might find that the only answer is to change the microstep ratio.
The following user(s) said Thank You: csurimilan

Please Log in or Create an account to join the conversation.

More
16 Dec 2024 18:18 #316783 by csurimilan
Replied by csurimilan on topic Stepper motor Speed

File Attachment:

File Name: hal.txt
File Size:3 KB

File Attachment:

File Name: ini.txt
File Size:3 KB


the MAX_ACCELERATION and MAX_VELOCITY is different on my machine right now. (this is before experimenting)
Attachments:

Please Log in or Create an account to join the conversation.

More
16 Dec 2024 23:08 #316818 by andypugh
Replied by andypugh on topic Stepper motor Speed
I haven't been able to find what sets the step length and step space for Remora.
At a scale of 1280 steps/mm and a speed of 1800 mm/min you need a step rate of 38kHz. Most stepper drivers are fine with 100kHz (5000ns step and space) and many can go much faster.

I do see a PRU_base_freq setting that defaults to 40kHz. If that is the limit you are hitting then you should be able to manage 1875 mm/min.
If you can do 1870 but not 1880 then that is probably it.
The following user(s) said Thank You: csurimilan

Please Log in or Create an account to join the conversation.

More
18 Dec 2024 09:05 #316912 by csurimilan
Replied by csurimilan on topic Stepper motor Speed
Thank you :)

Please Log in or Create an account to join the conversation.

More
20 Jan 2025 13:38 #319459 by Muftijaja
Replied by Muftijaja on topic Stepper motor Speed
Hi, could you solve your feed problem? If not, let me tell you that 1/32 step is much too high for a stepper motor without closed loop. Even if closed loop, more than 2000 steps are senseless because of losing holding and turning torque at higher speeds. High steprates can be useful in 3d printers, where light weight loads are moved. In a CNC machine do not use those steprates. The theoretical precision of more microsteps is not realistically reachable with steppers, while they fall back into full step. Servo motors are another story...

Please Log in or Create an account to join the conversation.

Time to create page: 0.148 seconds
Powered by Kunena Forum