JAJU837 March 2022
After removing signal chain errors from the calculation, there are still several possible mechanical sources that may impact the quality of the input magnetic field used to calculate angle:
All of the preceding errors combine to create non-linearity in the angle measurement. While these factors are not predictable, they may combine to create a substantial error which, if unaccounted for, results with poor system control. Given these factors it is necessary to implement a final calibration to resolve the resulting error for the highest precision control.
Multi-point linearization is one useful approach and may be used to quickly adapt to system-to-system variations. Consider the hypothetical error in Cyclical Angle Error.
In this example, a multi-point linearization captures the absolute error at any number of discrete points. The controller then assumes a linear estimation of error between those points. As the number of points increases, the accuracy of the estimation approaches the real error. When an approximation of the error for any given angle is determined, it may then be directly subtracted from the measured angle.
As the number of samples increases, the resulting peak error is continually reduced. Depending on the required system accuracy, 8 points to 64 points can often provide adequate accuracy. In a more advanced approach, it is possible to match the error profile to a set of equations which are a combination of harmonics of the rotation frequency. By performing complex analysis, it is possible to generate a series of coefficients, αi and βi, that may be used as shown in Equation 10:
Here, the total error is a combination of the scalar factors for each harmonic of the measured angle. Using this approach can produce superior results to the multi-point linearization method and does not require storing as much data in memory.
For all of the test results, the data was captured at 0.25° intervals and analyzed for harmonic reduction.
To achieve consistent results in a real manufacturing environment, some degree of calibration for each system is likely necessary as each unit would exhibit slight variations in the various mechanical tolerances.