SLIA096 January   2022 DRV5021 , DRV5021-Q1 , DRV5023 , DRV5023-Q1 , DRV5032 , DRV5033 , DRV5033-Q1 , TMAG5123 , TMAG5123-Q1 , TMAG5124 , TMAG5124-Q1 , TMAG5231 , TMAG5328

 

  1.   Trademarks
  2. 1Introduction
  3. 2Design Process
    1. 2.1 Mechanical Implementation
    2. 2.2 Magnetic Implementation
    3. 2.3 Magnet Sensor Placement
    4. 2.4 Prototyping and Bench Testing
    5. 2.5 Layout
    6. 2.6 Bench Testing
    7. 2.7 Bench Results
    8. 2.8 Error Sources
      1. 2.8.1 Offsets
      2. 2.8.2 Roll, Yaw, and Pitch
      3. 2.8.3 Magnet Variation
      4. 2.8.4 Device Variation and Temperature Drift
      5. 2.8.5 External Fields
      6. 2.8.6 Nearby Material Influence
      7. 2.8.7 Bench Setup Error
  4. 3Summary

Summary

This application report covered the process for designing a rocker switch with Hall-effect sensors. This process started with covering the basic implementation of the rocker and progressed through selecting a device based upon calculations performed in the Magnetic Sensing Proximity Tool. After the preliminary theoretical design process, prototyping and bench measurement were covered. From the bench measurement section, this report stressed that there are other sources of error besides device variation. Basic error analysis for each possible source was then presented.