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

Magnet Sensor Placement

As discussed in Section 2, it is important to position the magnet in such a way to utilize as much of the linear input range of the sensor without saturating the inputs. Sweeping the magnet position near a 3D Hall-effect sensor will produce a behavior similar to what is shown in Example Lever Input Field. It is typical that a component of the field vector will have a somewhat triangular or S shape, while the other two components will have a bell shape. The magnitude of each vector component will depend on alignment.

GUID-20230512-SS0I-GQXT-JMDC-BJ7B2WZCXMGZ-low.svg Figure 3-5 Example Lever Input Field

To maximize the input range for a control such as the turn indicator stalk, the mid-point position for the magnet must be centered above the magnet. For this case, where the magnet location is not placed on the rotating fulcrum of the control, it becomes necessary to use a single multi-axis sensing device similar to what was presented in Section 2, using one of the configurations presented in Figure 3-1

A first reason for this requirement can be observed in Example Lever Input Field. As the lever pivots to either +15 or -15 degrees relative to the idle position, we see the challenge that aliasing can create when observing Bz. Even if using the By component, there are positions above +/- 10 degrees from center where the input field can be mapped to a second location.

Additionally, if only observing a single axis, the lever pull for flash-to-pass will increase the distance between the magnet and sensor. If only using a single axis of sensitivity, this motion can also become ambiguous and can be confused with a left or right turn setting.