JAJU837 March   2022

 

  1.   概要
  2.   Resources
  3.   特長
  4.   アプリケーション
  5.   5
  6. 1System Description
  7. 2System Overview
    1. 2.1 Block Diagram
    2. 2.2 Highlighted Products
      1. 2.2.1 TMAG5170
      2. 2.2.2 DRV5055A4
    3. 2.3 Design Considerations
      1. 2.3.1 Magnet Selection
      2. 2.3.2 Magnet Shape
      3. 2.3.3 Magnet Rotation Speed
      4. 2.3.4 Sensor Location
      5. 2.3.5 Expected Performance
      6. 2.3.6 Layout for Sensor Location
      7. 2.3.7 45° Alignment
  8. 3Hardware, Software, Testing Requirements, and Test Results
    1. 3.1 Hardware Requirements
    2. 3.2 Test Setup
      1. 3.2.1 Test Equipment
      2. 3.2.2 Test Hardware Configuration
      3. 3.2.3 Test Software Configuration and Initial Data Capture
    3. 3.3 Test Results
      1. 3.3.1 Calibration Methods
      2. 3.3.2 TMAG5170 On-Axis
      3. 3.3.3 TMAG5170 In-Plane
      4. 3.3.4 TMAG5170 Off-Axis
      5. 3.3.5 TMAG5170 45° Alignment
      6. 3.3.6 DRV5055 Off Axis Result
  9. 4Design and Documentation Support
    1. 4.1 Design Files
      1. 4.1.1 Schematics
      2. 4.1.2 BOM
    2. 4.2 Tools and Software
    3. 4.3 Documentation Support
    4. 4.4 サポート・リソース
    5. 4.5 Trademarks

Calibration Methods

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:

  • Motor Shaft tilt – results in an orthogonality error between TIDA-060040 and the rotating magnet. This produces a fixed shift to the expected field alignment.
  • Motor Shaft offset – results with the sensor in a different location and orientation than targeted. Depending on the offset direction this can influence either peak input amplitude to or phase alignment of the inputs.
  • Magnet tilt – results when the magnet is not installed orthogonally to the shaft rotation axis. The magnet appears to wobble during rotation and produces a changing field orientation.
  • Magnet and Shaft Eccentricity – results from either the axis of rotation not aligning to the center of the shaft or the magnet not having its center aligned to the axis of rotation. This produces a lateral change of position during rotation which impacts the B-field magnitude.
  • Soldering and assembly alignment errors – Errors resulting from package alignment during solder-reflow to tolerances when mounting the TIDA-060040 PCB may result in various orientation and position errors that may similarly impact the phase and magnitude of the inputs
  • Near field behavior – At close proximity to many magnet types, the magnetic field may produce a non-ideal input for the sensor. The target input field is a purely sinusoidal waveform. The observed field when a sensor is placed very close to a magnet will typically take on some degree of distortion which is dependent on the magnet geometry.

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.

Figure 3-5 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.

Figure 3-6 Multi-Point Linearization

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:

Equation 10. C o r r e c t i o n   F a c t o r =   i = 1 n α i sin i * θ + β i cos i * θ

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.

Figure 3-7 First Harmonic Approximation
Figure 3-8 Second Harmonic Approximation
Figure 3-9 Third Harmonic Approximation

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.