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

Parametric Sweeps

Parametric sweeps allow the user to run a series of simulations and to accumulate the resulting data across all variations. This function can be particularly useful when assessing the effect of system tolerances on device performance.

Parametric sweeps are available from the simulation environment during either the input or output stages by clicking the icon on the left side of the screen (Figure 6-1).

Parameters selected in this mode override those set in the main simulation page. All unmodified input parameters remain as entered.

GUID-20231114-SS0I-4BDV-0FPN-8CLRRCLZMBLJ-low.svg Figure 6-1 Parametric Sweeps

There are two selectable sweep options available through the toggle icon at the top of the page within parametric mode, Individual Sweep and Combinational Sweep (Figure 6-2).

GUID-20231114-SS0I-QZDF-X73J-WCC9HXNNJR3P-low.svg Figure 6-2 Sweep Type Select
  • Individual Sweep: Simulates each added parameter individually and allows up to 250 parameterized simulation points. Any number of variables can be added as long as the final number of simulations remains below this limit.
  • Combinational Sweep: This mode combines all selected sweep parameters in a nested fashion. This mode attempts all permutations of each sweep parameter to include in the output report. In this mode, a maximum of 125 simulation points are available using up to 3 variables.

The first parameter can be added from the + Add New Parameter button in the center of the screen (Figure 6-3). After this entry is created the button moves to the top right.

GUID-20231114-SS0I-DRNB-TFCJ-JQ11SCXDSCCT-low.svg Figure 6-3 Adding New Parameters

Selecting which sensor (or sensors) the sweeps apply to is possible if multiple sensors exist in the simulation space.

Simulation outputs appear in the format shown in Figure 6-4.

GUID-20231114-SS0I-T8Z2-M8W5-XXC2G8TTFBDS-low.svg Figure 6-4 Parametric Sweep Outputs
  1. Input and Output Select: Editing the parameters by selecting the Sweep Input title is possible. The tool automatically moves to the sweep output tab once the simulation is complete.
  2. Sensor Select: Selecting which sensor is displayed when multiple sensors exist in the simulation is possible. Only one sensor is shown at a time since large sets of data exist in parametric sweeps.
  3. Plot Download: Selecting the icon to the left of the title plot allows the specific data shown in the plot to be downloaded. Data is included for all tab selections in the plot. This selection downloads only the data from the plot. Please use the export options shown in Section 3 for a comprehensive collection of data from all plots and specific simulation settings.
  4. Magnetic Field Input Plot: Selecting Bx, By, Bz, or Magnitude switches between the various plots of magnetic flux density available for the selected sensor.
  5. Plot Legend: Double click on the legend entry to hide all other plots to isolate specific combinations. Single click on the legend entry to hide specific combinations. The various traces are notated based on the parameter values in the order that the parameters were defined.
  6. Device Output Plots: Scroll with the bar on the right to navigate to any additional plots. The output related plots are appended below the magnetic field plots if a device is added to the simulation.