SLYU064A June   2023  – December 2023 TMAG3001 , TMAG5170 , TMAG5170-Q1 , TMAG5170D-Q1 , TMAG5173-Q1 , TMAG5253 , TMAG5273

 

  1.   1
  2.   Abstract
  3.   Trademarks
  4. 1Introduction
  5. 2Joystick Design
    1. 2.1 Establishing Form Factor
      1. 2.1.1 Choosing Mechanical Implementation
      2. 2.1.2 Choosing Magnetic Implementation
    2. 2.2 Magnet Sensor Placement
    3. 2.3 Design Calculations
    4. 2.4 Post Processing
    5. 2.5 Prototyping and Bench Testing
    6. 2.6 Error Sources
      1. 2.6.1 Mechanical Hysteresis
      2. 2.6.2 Nearby Material Influence
      3. 2.6.3 Fulcrum Slippage
      4. 2.6.4 Offset
  6. 3Lever Design
    1. 3.1 Establishing a Form Factor
      1. 3.1.1 Choosing Mechanical Implementation
    2. 3.2 Magnet Sensor Placement
    3. 3.3 Design Calculations
    4. 3.4 Prototyping and Bench Testing
    5. 3.5 Error Sources
  7. 4Summary
  8. 5References
  9. 6Revision History

Error Sources

There are several possible sources of error, many of which correspond to fabrication and assembly. In the process of evaluating on the bench such error sources are easier to identify, thereby making bench testing a good and necessary practice to embrace before proceeding to mass production. The following list shows all possible error sources identified for this particular design including the ones accounted for in the preliminary design:

  • Fabrication Limitation and mechanical tolerance
  • Operating outside of the linear region
  • Device offsets
  • Roll, Yaw, and Pitch
  • Magnet Variation
  • Device Variation and Temperature Drift
  • External Fields
  • Nearby Material Influence
  • Bench Setup Error
  • Supply Tolerance
  • Measurement precision

The most notable errors for the 2-magnet-2-sensor thumbstick prototyped in this application note resulted in data curve that exhibited hysteresis. One significant error source was the mechanical hysteresis stemming from material selection and fabrication tolerance, while the other was the magnetic properties of the nearby materials. These errors were quite significant when not accounted for and do affect the post processing calibration and calculation results. Prior to addressing the mechanical hysteresis, the hardware data in Figure 2-20 exhibited noticeable hysteresis and resulted in the large error observed in Figure 2-21. Other notable errors include offset and fulcrum slippage.

GUID-20230516-SS0I-HGQT-JFQC-BJZTP8ZKQMBF-low.svgFigure 2-20 Preliminary Hardware Test Error Before Debug and Adjustment
GUID-20230516-SS0I-JD3N-RGKV-3DRZV1MKQKRZ-low.svgFigure 2-21 Preliminary Software Test Error Before Debug and Adjustment