3.2.2 Test Hardware Configuration
1. Connect Newport rotation stage to the Newport motion controller
2. Mount 3D printed magnet holder to the Newport rotation stage
3. Insert magnet into recess in magnet holder
4. Connect TIDA-060040 to the 3D printed mounting plate
5. Connect TIDA-060040 to the TI-SCB (TI sensor control board)
6. Connect TI-SCB to PC via USB cable
3.2.3 Test Software Configuration and Initial Data Capture
1. Launch
a. Verify connectivity to TMAG5170A1 sensor
i.
for steps to debug the connection to the sensor control
board
b. Configure TMAG5170A1
i.
Set TMAG5170A1 to the ±100 mT input range for all axes
• The channel sensitivity can be set lower as long as the inputs do not reach saturation, but should
match between the two axes used for angle calculations.
ii. Set TMAG5170A1 to
Active Measure Mode
iii. Set
Averaging
at 32x and conversion pattern to XYZZYX
• The
Newport Rotation Stage
has a maximum speed limitation of 20 seconds/rev.
iv. Set GUI to collect data continuously for a period greater of 1 or more full revolutions
• Capture peak data for X, Y, and Z channels
2. Using captured data it is possible to perform first-order calibration of the system.
a. Based on X, Y, and Z channel outputs, select inputs to require the least sensitivity gain correction.
i.
is capable of an 11-bit gain correction with a multiplication factor ranging from 0 to 2.
ii. Scale up a channel where possible, or to use the minimum attenuation needed to achieve equally
matched amplitude from two sinusoidal input channels.
b. Analyzing peak-to-peak output levels, it is also possible to calculate and offset correction to remove and
DC bias resulting from signal chain errors or external conditions.
c. Apply the sensitivity gain and offset corrections and verify results over one full rotation. The measured
amplitude for each axis should be identical. It is also possible to now disable any axis which is not
required for angle calculations.
3. The system should now have device related errors removed and inputs which are matched for angle
calculation. Errors related to mechanical alignment may still be present, capture rotation data to remove
these errors. This process is detailed in the
section.
Hardware, Software, Testing Requirements, and Test Results
20
Absolute Angle Encoder Reference Design With Hall-Effect Sensors for
Precise Motor Position Control
Copyright © 2022 Texas Instruments Incorporated