servo setup timing

More
10 Jun 2024 00:35 #302727 by ihavenofish
servo setup timing was created by ihavenofish
So I have a machine that works fine, but the servos i have (ihsv57) have such a huge setup timing allowance (20000 from memory) that the top speed is being restricted to 12m/m instead of the desired 20m/m.

Is this going to be a function of my cheap steppers, or is this a function of the mesa card/linuxcnc? Or is there some setting if not done right that will tweak this.

The current math is:
10mm pitch screw, 4000 pulses per turn, at 12m/m = 80khz. the motors claim to take up to 250khz pulses.

Hmmmm

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

More
10 Jun 2024 01:11 #302729 by tommylight
Replied by tommylight on topic servo setup timing
10mm pitch would imply ballscrews, so spinning those at 1200RPM is not healthy at all for them, depending on diameter and length, they start whipping much, much earlier. Might want to look into rotating nut setup.
The timings are set in the ini file, so edit the ini file for each joint/axis to a lower value for step time and step space, leave the dir timings at 2000 as they do not hinder performance. You can test lower values till you notice skipped steps or change in motor noise, then double that value.

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

More
10 Jun 2024 01:37 #302730 by ihavenofish
Replied by ihavenofish on topic servo setup timing
The screws are rated to 5000rpm. A screw not capable of 1200rpm would need to be extremely long for the diam.

Anyhow.
Step time/space is 20000 as I said. Lower than that it misses steps out.
The question is is this a mesa, linuxcnc or a servo drive limitation.

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

More
10 Jun 2024 01:46 #302731 by tommylight
Replied by tommylight on topic servo setup timing

Step time/space is 20000 as I said. Lower than that it misses steps out.
The question is is this a mesa, linuxcnc or a servo drive limitation.

Drives, definitely and undoubtedly.
Strange...
Both LinuxCNC and Mesa can do much, much shorter pulses.
I have cheap drives doing 3000 without issues, ever, in several machines with 7i92.
I have a 7i96 (not S) doing 600ns with very good drives.
I have several machines with parallel port doing 4000ns
So no, not a limitation of LinuxCNC nor Mesa.

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

More
10 Jun 2024 01:48 #302732 by tommylight
Replied by tommylight on topic servo setup timing
Cr@p, almost forgot:
Very nice key caps :)
And try inverting the step output, on some drives it makes quite the difference.

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

More
10 Jun 2024 01:57 #302733 by ihavenofish
Replied by ihavenofish on topic servo setup timing
Hehe thanks

So, it should not be software, and it should definitely not be the mesa

But I'm also nowhere near the max specs of the drive either. Hmmmm. Under my DDCS control they ran are 18000rpm although its possible they skipped the odd step and i didn't notice. I never really used the machine under that control other than to mill 2 parts.

Mostly the question is for future thinking. when I get some delta drives that needs 500khz or more to feed them it will work.

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

More
10 Jun 2024 01:58 #302734 by ihavenofish
Replied by ihavenofish on topic servo setup timing
what do you mean by inverting? flopping the differential leads?

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

More
10 Jun 2024 02:08 #302735 by tommylight
Replied by tommylight on topic servo setup timing
You have them wired differential?
Yes, swapping the STEP leads should work, but it can also be done in PncConf.
You might also want to try wiring the drives single ended and do a test, some drives work faster with greater voltage swing.

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

More
10 Jun 2024 02:10 #302736 by ihavenofish
Replied by ihavenofish on topic servo setup timing
Well I'm not messing with a working machine right now. But I will note these for later.

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

More
10 Jun 2024 04:06 #302738 by PCW
Replied by PCW on topic servo setup timing
If the drives has optocoupler inputs. Its often a drive strength issue
which can be improved by wiring driving them single ended.
(as tommylight suggested)

If you just lose steps on reversals you might make the setup and
hold times longer.

Also as tommylight suggested you may have the step polarity reversed
which can cause direction setup time violations, so lose steps on reversals

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

Time to create page: 0.155 seconds
Powered by Kunena Forum