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

Rotation

Rotation is a useful function whenever motors are involved. Magnets mounted to a spinning motor shaft may be used to track absolute angle or track incremental step-wise rotation. Incremental rotation relies on counting state transitions to track the motor position, and therefore does not offer the same resolution from angle measurements. Incremental rotary position is appropriate when speed, direction, and revolutions are being measured. Angle measurements are important when precise position control is required.

More information about these functions can be found in Reducing Quadrature Error for Incremental Rotatry Encoding Using 2D Hall-effect Sensors and TIDA-060040

Figure 2-14 Rotation Function Selection

During a rotation simulation, the magnet will rotate about the Z-axis. The only required input is "Arc Length" in the Magnet Motion section. Typically this will be 360 for a full rotation, but may be set higher or lower to generate data for any region of interest.

"Z Angle" can be adjusted to define the rotation starting angle. Normally, "X Position" and "Y Position" should be set to 0. Any offset for either of these values produces run-out, which is when the axis of rotation is not aligned to the center of the object. Similarly, adding tilt to the magnet alignment in "X Angle" or "Y Angle" simulates wobble, which occurs when the magnet is not orthogonal to the rotating axis.

Figure 2-15 Rotation Motion Using a Diametric Cylinder Magnet

Depending on the mechanical constraints and how the magnet is to be observed, sensors can be placed on the axis of rotation (On-Axis), coplanar to the magnet center (In-Plane), or anywhere else a strong enough field may be measured in the axes of interest (Off-Axis).

GUID-20210311-CA0I-VGS6-ZMHK-BXHWHP06PK50-low.png Figure 2-16 Sensor-Magnet Alignments

The user prompt for rotation simulation appears as in #GUID-0EC4F4E0-A925-4165-B8E6-7E9A7779F47C.

Figure 2-17 Rotation Function User Inputs