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

Simulation Environment

Selecting the Create Design tool displays the simulation environment (Figure 3-1).

GUID-20231114-SS0I-S5DR-5JMS-4QZMPNS393H3-low.svg Figure 3-1 Simulation Environment

A 3D model of the system is displayed and updated as user entry fields are changed. The Create Design page contains several key interface selections.

  1. Simulation Name: Selecting the pencil icon allows users to change the name of the simulation. This is the name displayed on the home screen tile under My Designs.
  2. Save: Selecting this overwrites any existing configuration settings for the design. Any changes made to an existing design without selecting Save are lost when exiting the simulation environment.
  3. Import and Export Menu: This menu includes options to externally save simulation information contained in the tool (Figure 3-2).
    GUID-20231114-SS0I-0MN4-V8V0-B8NXXNCSFVBX-low.svg Figure 3-2 Import and Export Menu
    1. Save As: This selection allows users to create a new saved design in My Designs after being prompted for a new design name.
    2. Export Input Parameters to JSON: This creates a local file which can be imported by any user.
    3. Export Report to CSV: This exports all data and settings into a single .csv file after running a simulation. This file is formatted for use with pivot tables and similar data processing tools after running a simulation. This is particularly powerful when analyzing data from parameterized sweeps.
    4. Export Report to PDF: This generates a PDF report showing the simulation setup, input plots, output plots, and tabulated simulation data.
    5. Import Input Parameters from JSON: This loads simulation local files exported with the Export Input Parameters to JSON function.
  4. Simulation Mode: These tabs allow the user to change between three simulation modes.
    1. Design: This is the standard design format.
    2. Parametric Sweep: Parametric sweep allows for user input fields to be stepped through either ranges or discrete values to compare the impact of system tolerances on end behavior. This is discussed in detail in Section 6.
    3. Compare Designs: This runs a comparison between two simulations side by side after multiple designs of the same type have been saved. This is discussed in detail in Section 7.
  5. 3D Render: The 3D model of the system can be adjusted freely to observe the motion of the magnet relative to the sensors. The tool does not prevent collisions and the user is responsible for placing the devices appropriately. The following list of functions help users navigate in the tool.
    1. Click and Drag: This changes the camera perspective.
    2. Scroll Wheel: This zooms in or out from the design center of focus.
    3. Shift + Click and Drag: This pans the camera and adjusts the center of focus.
  6. Cartesian Coordinates: The axes are colored following this convention.

    X = red

    Y = green

    Z = blue

    Selected on this marker quickly auto-aligns the view to the direction of the specific axis selected.

  7. Simulation Input Fields: These menu feature allows users to customize the simulation settings. The various fields are explained in Section 4.2.

    For help understanding magnet and sensor rotation within the simulation environment please refer to Section A.3.

  8. Simulate: Selecting this button runs the simulation and generates field data and output results.