Difference between revisions of "Gear Scale"
From Wiki
(Created page with "The gear scale parameter is used for converting between physical positions (in mm or degree) to motor steps. This article explains how to calculate the gear scale for robot an...") |
m |
||
Line 27: | Line 27: | ||
old Gear scale / displayed distance x actual distance = new Gear Scale | old Gear scale / displayed distance x actual distance = new Gear Scale | ||
</syntaxhighlight> | </syntaxhighlight> | ||
+ | [[Category:CPRog]] |
Revision as of 09:39, 8 October 2021
The gear scale parameter is used for converting between physical positions (in mm or degree) to motor steps. This article explains how to calculate the gear scale for robot and external joints.
Calculating from hardware specification
You will need the number of encoder ticks (usually 500 per full rotation) and the gear ratio from motor to joint or linear axis. The following equation will give you the result in ticks per degree.
Gear Ratio x Encoder Ticks x 4 : 360 = Gear Scale (in ticks per degree - for rotational axes)
Gear Ratio x Encoder Ticks x 4 = Gear Scale (in ticks per mm - for linear axes)
An example:
Gear Ratio: 48
Encoder Ticks: 500
48 x 500 x 4 : 360 = 266.667
Calculating from relative error
If you do not know the hardware specification you can try to measure the error of a gear scale value, then calculate the correct one from it using cross-multiplication.
- Use the gear scale of a similar axis (warning, if the value is too far off the axis might move faster than expected!)
- Jog the joint manually by a certain distance. Measure the actual distance (in degree or mm) and note the displayed distance.
- Calculate the new gear scale:
old Gear scale / displayed distance x actual distance = new Gear Scale