- Posts: 3410
- Thank you received: 994
Forum Header
I do not find "base period" or "motor steps per rev" in my .ini File
5 years 4 months ago #212667
by BigJohnT
Replied by BigJohnT on topic I do not find "base period" or "motor steps per rev" in my .ini File
The following user(s) said Thank You: Roman Simon
Please Log in or Create an account to join the conversation.
- BeagleBrainz
- New Member
-
Less
More
- Thank you received: 0
5 years 4 months ago #212669
by BeagleBrainz
Replied by BeagleBrainz on topic I do not find "base period" or "motor steps per rev" in my .ini File
When checking an axis be sure to take up any backlash before hand.
Please Log in or Create an account to join the conversation.
5 years 4 months ago #212671
by andypugh
Replied by andypugh on topic I do not find "base period" or "motor steps per rev" in my .ini File
I think that the point is that you need a base thread frequency high enough to handle the maximum required step rate, but there isn't that much to be gained from having it much higher, and the disadvantage is that there is quite a waste of CPU time.
So Stepconf uses 100,000 if 100,000 is short enough to reach the required axis speeds.
If you were to increase the axis speeds in stepconf then I think that you would eventually see the base period reduce.
That said, there is _something_ to be said for a shorter than necessary base period. Consider the case where you are stepping every base thread period at 100,000ns, ie 10kHz. The next speed down without dithering is 5khz, ie stepping every second period. This is partly why Mesa and Pico cards can appear smoother, they have a base clock in the MHz range, and so can make fractional changes.. 10kHz - 10.001kHz...10.002kHz etc.
So Stepconf uses 100,000 if 100,000 is short enough to reach the required axis speeds.
If you were to increase the axis speeds in stepconf then I think that you would eventually see the base period reduce.
That said, there is _something_ to be said for a shorter than necessary base period. Consider the case where you are stepping every base thread period at 100,000ns, ie 10kHz. The next speed down without dithering is 5khz, ie stepping every second period. This is partly why Mesa and Pico cards can appear smoother, they have a base clock in the MHz range, and so can make fractional changes.. 10kHz - 10.001kHz...10.002kHz etc.
The following user(s) said Thank You: Roman Simon
Please Log in or Create an account to join the conversation.
- Roman Simon
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 17
- Thank you received: 1
5 years 4 months ago #212676
by Roman Simon
Replied by Roman Simon on topic I do not find "base period" or "motor steps per rev" in my .ini File
thank you for testing tips and andy for explanation, this make sense
I will also test 100.000 (the calculated value from stepconf)
I will also test 100.000 (the calculated value from stepconf)
Please Log in or Create an account to join the conversation.
Time to create page: 0.045 seconds