Expand description
Static positioning accuracy and repeatability (study), judged along ISO 230-2 (a numerically controlled axis) and
ISO 9283 (the pose of a robot’s tool): the machine runs to a line of targets along each tool axis, approaching each
target several times from below and from above, and the tool’s real pose at rest is compared with the target.
What puts the tool off its target is what the simulation already has: backlash, gearbox twist, belt stretch under
the load it holds, guide and frame compliance, the encoder’s step, sensor noise, and friction where the axis comes to
rest. Two more effects move the axis’s real position against what its motor encoder reads (AxisErrors):
effects.thermal_growth, the screw or belt grown with its temperature, and effects.lead_error, a lead (pitch) error
table. Both are a map from the position the controller holds to the real one, applied to the tool pose the
simulation reports; they are not fed back into the dynamics (a change of lead of a few 1e-5 changes the inertia the
motor sees by as little), and the run’s axis signals do not carry them.
Structs§
- Axis
Errors - The map from the position an axis’s motor encoder holds to its real one, for one tool axis (see the module).
- Axis
Result - ISO 230-2 on one tool axis, in its unit: the targets and, per target, the mean deviation (real less target) and its standard deviation over the approaches from below (↑) and from above (↓).
- Settings
- How the test is run.
- Study
- What
studyfound, and the verdicts:positioning-accuracy, the largest A of the axes in metres againstratings.max_positioning_error_m, andpositioning-repeatability, their largest R againstratings.max_repeatability_m, each where the config has the rating. On a machine without an axis in m the axes are in rad and the ratings are the_radones (ratings.max_positioning_error_rad,ratings.max_repeatability_rad); a rad value is never held against a metre limit. - Tool
Result - ISO 9283 at the tool, over the axes in metres (all of them on a machine without one), from the attained poses of each target and direction: the largest pose accuracy AP (the distance of their barycentre from the target), the largest pose repeatability RP (l̄ + 3 S_l, l the distance from the barycentre) and the largest distance between the barycentres of the two directions (vAP, the multi-directional pose accuracy variation).
Constants§
- BELT_
EXPANSION_ PER_ K - Linear expansion of a toothed belt along its length, per K: [estimate] that of its steel tension cords, which carry its tension and fix its pitch (the polyurethane body is some thousand times less stiff); no belt maker’s datasheet found gives one (16 November 2026). A glass fibre cord would be about 5e-6, an aramid one about -2e-6.
- STEEL_
EXPANSION_ PER_ K - Linear expansion of steel (a ball screw), per K: 11.5e-6 for a hardened bearing steel (EN 1.3505 / 100Cr6, DIN EN ISO 683-17; ball screw makers give 11 to 12e-6).
Functions§
- axis_
errors - The axes of
[[accuracy.axes]]that grow or have a lead error, forsim(its axes and heated parts), with the effects that are off left out: none at all with both off, or with effects.load_encoder, whose scale reads the carriage itself (its own expansion is not modelled). Each entry hasaxis(a tool axis’s id) and may havedrive(“screw”, the default, or “belt”: which ofaccuracy.screw_expansion_per_kandaccuracy.belt_expansion_per_kit takes, elseSTEEL_EXPANSION_PER_KandBELT_EXPANSION_PER_K),fixed_end(0),rise_k(0),heated_part(the id of one of the machine’sthermal_parts) andlead_error(rows [position, error], positions rising). - iso_
230_ 2 - The ISO 230-2 figures from the deviations
up[j][i],down[j][i](target j, approach i). - study
- The test: for each tool axis with a stroke,
settings.pointstargets evenly over the middle 80 % of it (those the machine can reach, the other axes at the start pose), runsettings.repeatstimes forth and back as ISO 230-2’s linear cycle (each target approached from below on the way up, from above on the way down, with an overrun of 5 % of the stroke beyond the end targets), in one simulation from the start pose, so that the parts warm as they run.