SLYU067 December   2023 DRV5011 , DRV5012 , DRV5013 , DRV5013-Q1 , DRV5015 , DRV5015-Q1 , DRV5021 , DRV5021-Q1 , DRV5023 , DRV5023-Q1 , DRV5032 , DRV5033 , DRV5033-Q1 , DRV5053 , DRV5053-Q1 , DRV5055 , DRV5055-Q1 , DRV5056 , DRV5056-Q1 , DRV5057 , DRV5057-Q1 , TMAG3001 , TMAG5110 , TMAG5110-Q1 , TMAG5111 , TMAG5111-Q1 , TMAG5115 , TMAG5123 , TMAG5123-Q1 , TMAG5124 , TMAG5124-Q1 , TMAG5131-Q1 , TMAG5170 , TMAG5170-Q1 , TMAG5170D-Q1 , TMAG5173-Q1 , TMAG5231 , TMAG5253 , TMAG5273 , TMAG6180-Q1 , TMAG6181-Q1 , TMCS1107 , TMCS1108

 

  1.   1
  2.   Trademarks
  3.   Abstract
  4. 1Introduction and Features Overview
    1. 1.1 Simulating Magnetic Fields Tool Introduction
  5. 2Simulation Interface
    1. 2.1 Getting Started
    2. 2.2 Creating a New Design
    3. 2.3 Selecting a Sensor
    4. 2.4 Sensor Output Types
  6. 3Simulation Environment
  7. 4Simulation Inputs
    1. 4.1 Magnet Input Fields
      1. 4.1.1 Magnet Specifications
      2. 4.1.2 Magnet Geometry
      3. 4.1.3 Magnet Motion
      4. 4.1.4 Magnet Rotation
      5. 4.1.5 Hinge Magnet Motion
      6. 4.1.6 Linear Magnet Motion
      7. 4.1.7 Joystick Magnet Motion
    2. 4.2 Sensor Input Fields
      1. 4.2.1 Linear Sensor Format
      2. 4.2.2 Latch and Switch Format
      3. 4.2.3 Sensor Position
    3. 4.3 Simulation Settings
  8. 5Simulation Results
  9. 6Parametric Sweeps
  10. 7Comparing Designs
  11. 8Summary
  12. 9References
  13.   A Appendix
    1.     A.1 Sensor Placement
    2.     A.2 Magnet Materials
    3.     A.3 Rotation Tips

Rotation Tips

Rotation is implemented by rotating the desired magnet or sensor around the specific axis. For instance, if rotating around X, the magnet rotates within the YZ plane. Consider a small ring magnet with 6 poles.

GUID-20231116-SS0I-61DP-JGWM-3BJSMFQJBV1G-low.svg Figure 10-7 Ring Magnet Without Rotation

Examples of simple 90 degree rotations are shown in Figure 10-8 through Figure 10-10.

GUID-20231116-SS0I-GSWJ-8S1J-DXVRXJKQS7NW-low.svg Figure 10-8 Ring Magnet Rotated Around X
GUID-20231116-SS0I-QT6W-LGD1-T4WQ3C4X2MGL-low.svg Figure 10-9 Ring Magnet Rotated Around Y
GUID-20231116-SS0I-4HWW-JXM5-CMTHWF9SFCRD-low.svg Figure 10-10 Ring Magnet Rotated Around Z

The 3D rotation of any object follows the X to Y to Z order within TIMSS. There are many approaches to achieving the end orientation that can achieve the same result. In Figure 10-11 the magnet is rotated by:

  • X = 15 degrees
  • Y = 15 degrees
  • Z = 180 degrees
GUID-20231114-SS0I-6BQ8-CTPJ-FHVFVGNMLS10-low.svg Figure 10-11 Initial Rotation

Achieving the same final orientation is possible by using the following inputs:

  • X = -15 degrees
  • Y = -15 degrees
  • Z = 0 degrees
GUID-20231114-SS0I-7G4L-KNDB-NKXRLQTT7LPX-low.svg Figure 10-12 Matching Rotation

Using the live, updated version of the system in TIMSS is advisable for verifying the resulting orientations match expectation before starting the simulation. Formatting the rotation to another orientation is important to meet the constraints within TIMSS. For instance, Hinge rotation is constrained around the X-axis. Rotating the sensor 90 degrees around X to create motion that models a pendulum above the sensor can be necessary.

GUID-20231114-SS0I-CFWW-DJ2V-DMBPS4BKQPMS-low.svg Figure 10-13 Pendulum Motion With Hinge

The example in Figure 10-13 shows the starting position to the left of the magnet aligned directly with the sensor seated on the Y-axis. To model a full arc which can swing both positive and negative directions, calculate the starting coordinates using Equation 1.

Equation 1. Y   p o s i t i o n   =   m a g n e t   c e n t e r   r a d i u s   ×   cos f u l l   r o t a t i o n   a n g l e 2 Z   p o s i t i o n   =   - m a g n e t   c e n t e r   r a d i u s   ×   sin f u l l   r o t a t i o n   a n g l e 2

In the example of the magnet swinging ±20 degrees at a radius of 35 mm, the new calculated starting points are Y = 32.889 mm and Z = -11.971 mm. Finally, tilting the magnet at X by -20 degrees is necessary. The resulting starting alignment is shown in Figure 10-14.

GUID-20231114-SS0I-T188-NCDB-DDJXZCPPDNWM-low.svg Figure 10-14 Full Pendulum Sweep