Interrupted movement on X-Axis

More
26 Feb 2022 19:05 - 09 Mar 2022 19:08 #235859 by Hammerbot
Interrupted movement on X-Axis was created by Hammerbot
I recently got my XYYZ gantry router up and running. RPI4, 4gb w/ 7i76e

It has been working, mostly, with small issues that I have been working through with the help of this board. Thanks.

I tried to do a larger piece and a new problem developed. It is just a MDF board where I am cutting the profile, nothing too taxing.
Movement on the X-axis is interrupted while running. It briefly just stops moving in only the x-axis occasionally, causing issues.
It is noticeable when it happens and leaves a step in the machining like when it is cutting a curve.

This seems to happen only after the program is running for a few minutes, like it is warming up. 
The motors are warm, not hot to the touch. The problem repeats even when just running through the program, with the cutter raised above the stock.

Not sure where to look for the root of the issue. This feels like it is losing communication or something.
The g-code doesn't show any sort of stop or pause in the location it occurs, which is sort of random.
I've checked for mechanical issues and can't see anything obvious.

Any help would be appreciated.

Thanks, Tim
Last edit: 09 Mar 2022 19:08 by Hammerbot.

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

More
26 Feb 2022 20:17 - 26 Feb 2022 20:17 #235870 by PCW
Replied by PCW on topic Interrupted movement on X-Axis
If just one axis is stalling I would thinks it mechanical or
electrical issues. Marginal timing is a common cause of step
loss. As a first step you might try increasing the step times 50%
Last edit: 26 Feb 2022 20:17 by PCW.
The following user(s) said Thank You: Hammerbot

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

More
26 Feb 2022 21:14 #235874 by Hammerbot
Replied by Hammerbot on topic Interrupted movement on X-Axis
Thanks, PCW.

By "increasing the step times" do you mean more micro-steps? or more time between steps (decreasing micro stepping)?

I have a feeling that this may be current related. I am going to try bumping up the current to something closer to the limit for a test.

I tore the mechanicals apart and verified there wasn't anything rubbing/catching. Also checked and re-tightened all X-Axis electrical connections. Nothing obvious.

Thanks again, Tim

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

More
26 Feb 2022 21:21 #235876 by PCW
Replied by PCW on topic Interrupted movement on X-Axis
I mean increasing the step pulse length.
(by editing the ini file)
The following user(s) said Thank You: Hammerbot

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

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
26 Feb 2022 22:39 #235885 by tommylight
Replied by tommylight on topic Interrupted movement on X-Axis
Also, if there is a separate power supply for that axis, check the power LED on that supply while that is happening.
The following user(s) said Thank You: Hammerbot

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

More
09 Mar 2022 13:39 #236750 by Hammerbot
Replied by Hammerbot on topic Interrupted movement on X-Axis
I think I found the root of my issues - Lack of power.

Confirm for me the following:
4 bipolar steppers with a rating of 5A will need (4 motors x 5 A/Phase x 2 Phase/motor) 40A supply. 

Do we de rate this to 2/3 of the value per the Gecko document ?

I had been running with a single 48v, 20A supply. 

Either way, dropping the amps allowed through the stepper drives to the motors improved performance and minimized/eliminated stalling. Bumping up the amps allowed through the driver made the stalling way worse (starved). The low amp torque is ok for cutting wood, but I need more power to get back to a more optimal amount of current for these motors.

Thanks for the help.  Tim 
Attachments:
The following user(s) said Thank You: tommylight

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

More
09 Mar 2022 18:02 #236770 by rodw
Replied by rodw on topic Interrupted movement on X-Axis
You would not  allow for 2 phases. I make it 4 x 5 = 20 amps /1.4 = 14.3 amps required. You have heaps of power and 48v its a good voltage.
I would follow PCW's advice.
 
The following user(s) said Thank You: Hammerbot

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

More
10 Mar 2022 02:42 #236808 by Hammerbot
Replied by Hammerbot on topic Interrupted movement on X-Axis
I went back and actually measured the current out of the Power Supply when it was running. Nowhere near maxing out the PS. more like maybe 1 amp total on all 4 motors when running above the stock. Not power limited...

This was with the stepper timing at and above what PCW suggested. That was at:
StepLen 5000, StepSpace 5000, DirHold 10000 and DirSetup 5000.

It is still missing/stalling/ messed up even at 20k, 20k, 20k, 20k.

I had worked to reduce latency and ended up with the histogram attached. This was overnight with 8 gears running. Except for a couple outliers, I figured it was good. Using 1,000,000 SERVO_PERIOD (set lower I was getting "error finishing read" issues)

Any other ideas you can point me to?

Attached are .hal and .ini as well.

Thanks again.
 
Attachments:

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

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
10 Mar 2022 02:45 #236809 by tommylight
Replied by tommylight on topic Interrupted movement on X-Axis
Set the drives to 3A and test again.
The following user(s) said Thank You: Hammerbot

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

  • ALittleOffTheRails
  • ALittleOffTheRails's Avatar
  • Visitor
  • Visitor
10 Mar 2022 03:04 #236810 by ALittleOffTheRails
Replied by ALittleOffTheRails on topic Interrupted movement on X-Axis
You might wan to read this, www.geckodrive.com/support/step-motor-basics.html, some really good info.

How have you wired the power to the steppers, one set of wires per driver from the PSU or some other method.

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

Time to create page: 0.072 seconds
Powered by Kunena Forum