SBAU419 November   2022 TMAG5170


  1.   Abstract
  2.   Trademarks
  3. 1Introduction
    1. 1.1 Simulating Magnetic Fields
  4. 2Supported Functions
    1. 2.1 Hinge
    2. 2.2 Linear Displacement
    3. 2.3 Joystick
    4. 2.4 Rotation
    5. 2.5 Static Position
  5. 3Supported Magnets
    1. 3.1 Built-In Library of Materials
    2. 3.2 Magnet Shapes
      1. 3.2.1 Bar
      2. 3.2.2 Strip
      3. 3.2.3 Diametric Cylinder
      4. 3.2.4 Axial Cylinder
      5. 3.2.5 Diametric Ring
      6. 3.2.6 Axial Ring
      7. 3.2.7 Multi-Pole Ring (Radial)
      8. 3.2.8 Multi-pole Ring (Axial)
      9. 3.2.9 Sphere
  6. 4Device Emulation
    1. 4.1 Device Types
      1. 4.1.1 Analog Linear
      2. 4.1.2 Digital Linear
      3. 4.1.3 Switch
      4. 4.1.4 Latch
  7. 5Simulation Outputs
  8. 6Additional Resources
  9. 7References


When designing any end product, it is not uncommon for engineers of multiple disciplines to work together to create the final design. Often a mechanical engineer might set aside an area where electronic components can reside and provide area constraints that must fit the PCB within. Simulation tools exist to assist electrical engineers with layout and circuit design to optimize performance for most devices. However, this is not typically the case for magnetic position sensors. The challenge for these devices is that SPICE modelers cannot determine the input magnetic field provided the shape, material, and position of the magnet. However, this information is critical to understand when defining sensor placement and when selecting the magnet to use in the final product. Without these details, the total design cycle time can be lengthened by repeated prototype and verification test builds.

The purpose and function of the Magnetic Sensing Enhanced Proximity Tool is to provide an easy access simulation platform which is able to quickly provide simulated magnetic field and device output data. Guess work in prototype builds can be greatly reduced by modeling the complete electro-mechanical response. This is accomplished using the open-source python library MagPyLib.