TIDUC07 March   2022

 

  1.   Description
  2.   Resources
  3.   Features
  4.   Applications
  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 Support Resources
    5. 4.5 Trademarks

TMAG5170 On-Axis

The on-axis alignment is the ideal case for measuring the angle of a magnetic field but requires additional area about the motor. Either the motor must be dual shaft or the end of the shaft is not available to drive the load. This results in the least compact solution size when implemented with any given motor. The impact of mechanical error is minimized in this orientation; however, which results in best uncalibrated results.

The mounting plate was configured to match the simulation results shown in Sensor Location.

Note:

Mechanical errors detailed in Calibration Methods are all present to some degree in each test case and the captured data reflects the result of these conditions after amplitude and offset corrections were applied.

The manual assembly and manufacturing tolerances of the entire setup resulted with mechanical errors which must be addressed. These alignment flaws demonstrated in the test results are crucial for the purpose of demonstrating the significance of alignment errors and how the calibration process can correct even large scale angle error. Strictly controlled manufacturing practices results with a reduced error from what is depicted for each case.

GUID-20220208-SS0I-VVL7-NXF1-RNKGGL6TZLJM-low.png Figure 3-10 On-Axis Configuration

On-Axis Mechanical Angle Error shows the resulting pre-calibrated error captured for this alignment.

Figure 3-11 On-Axis Mechanical Angle Error

Of all the alignment cases, on-axis is the most forgiving of mechanical alignment errors. Overall the field vector remains nearly parallel to the face of the magnet and therefore magnitude and phase shifts at the input are not as significant as is seen with the other alignment cases.

Table 3-2 On-Axis Harmonic Correction Factors
HARMONIC αi βi
1 0.42 –0.73
2 –0.35 0.07
3 –0.01 0.06
4 –0.02 0.01

On-Axis Calibrated Angle Error shows the resulting error for both a direct arctangent calculation and for the CORDIC output after applying the harmonic data.

Figure 3-12 On-Axis Calibrated Angle Error

It is worth noting here that the 0.25° resolution of the TMAG5170 CORDIC output does limit the measurement accuracy. To achieve the highest accuracy, directly calculate the arctangent result from the X and Y component outputs of the device. The benefit of the CORDIC output of TMAG5170 is that it reduces the burden for the microprocessor and can reduce overall measurement latency.