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

Prototyping and Bench Testing

While simulation can be helpful for the preliminary design and assessing feasibility, prototyping and bench testing is necessary for verifying actual performance. Simulation sometime does not account for all parameters and therefore can not exactly match real world test cases. Bench tests reveal some of the possible discrepancies from designed simulations, thereby exposing subtle neglected influences in the preliminary design phase and as well as offsets that can occur in the manufacturing and assembly process.

For assessing the hardware design, TMAG5273 measurements and joystick movement were captured simultaneously with the setup shown in . In this setup, the phone camera captures a video of the trigger moving while a computer screen captures measurements output in the TMAG5273EVM GUI. Both video files are then synced through an audible impulse. In the phone-captured video, a pointer is attached to the joystick shaft to help visualize joystick angle compared against a protractor centered at the hinge origin. To simplify assessment, movement was restricted by a 3d printed slot to allow only one joystick hinge to rotate at a time.

GUID-20230501-SS0I-0TKN-TDFC-KQXTXLJG4ZRX-low.svg Figure 2-16 Thumbstick Hardware Test

From the Figure 2-16 setup the measurements in Figure 2-17 were collected.

GUID-20230516-SS0I-PMVJ-GFH3-QK5T4WCZV2HX-low.svg Figure 2-17 Final Hardware Test Data

For assessing the software processing algorithm, a separate test setup was used. A 3D printer was outfitted with a special attachment to control the movement of the joystick as shown in Figure 2-18 and custom g-code was generated to direct the 3D printer how to move. From this test setup, the Figure 2-19 data in was collected.

GUID-20230515-SS0I-BV3K-WHPV-TZJZFJMKB4MQ-low.svg Figure 2-18 Software Test Setup
GUID-20230516-SS0I-ZQSB-GSZW-RMCNFHVPQVR8-low.svg Figure 2-19 Final Software Data

The data presented in this section correspond to the final sets acquired after various iterations of debugging the test setup and adjusting for some assembly flaws. The prior collected data revealed potential issues that were not fully accounted for in the preliminary design calculations.