SBAA577 March 2023 TMAG5170 , TMAG5273
For most general mechanical errors in mass production, after using statistical curve-fit calculation of full-scale data. The measurement error can be reduced in the R&D designing phase to ensure accuracy needed by the system. A second order curve-fit equation mostly reduces error and helps meet error requirements. Source data of equation should be raw angle data of X and Y axis, instead of using raw magnetic data of the X and Y axis. The raw arctangent angle should be calculated first because collision depth will be related to curve-fit angle if directly using raw X and Y magnetic data.
Setting a data threshold to set a calculation point. This helps by filtering noise generated by the moving robot. The magnet point trace after collision is shown on Figure 5-4.
The error caused by robot moving can be mainly attributed to the robots’ speed, moving direction, spring strength, and material of bumper surface. Due to the impact’s direction, since it is not toward the central portion of the bumper arc, this collision can cause a relatively large error between measuring angle and real collision angle when using the Hall sensor output data. As shown in Figure 5-5, an equation can help by compensating for the robot speed and direction raw angle data.