Adding a Q3D Solution Setup in IC Mode (Beta)

The Q3D solution setup mirrors the capabilities of a simulation run using Q3D Extractor. Complete these steps to add a Q3D solution setup to a project in IC mode.

Note:

The Q3D solution setup is a beta feature in IC Mode only. Beta features must be activated prior to use. Refer to Activating the Q3D Solution Setup Beta Feature for instructions.

  1. Open the Q3D Solution Setup window by doing one of the following:
    • From the Project Manager window, expand the Project Tree > [Active Design Folder] (e.g., Example ProjectExample Design). Then right-click Analysis and select Add Q3D Solution Setup.

      Project Manager > Project Tree > Active Design Folder > Add Q3D Solution Setup

    • From HFSS 3D Layout, select Solution SetupAdd Q3D Solution Setup.

      HFSS 3D Layout > Solution Setup > Add Q3D Solution Setup

  1. From the Q3D Solution Setup window, make selections from the visible tabs (i.e., by default, General, DC RL, and Advanced tabs are visible. CG and AC RL tabs appear depending on selections made in the General tab). Default values shown.

    Q3D Solution Setup Window

  2. From the General tab, set the following:

    • Name – type a name in the field or accept the default.

    • Enabled – check the box to activate the setup.

    • Solution Frequency – enter a value in the adjacent field to specify the simulation frequency and select a unit of measurement from the corresponding drop-down menu.

    • DC Resistance/Inductance – checked by default; the solution setup will always solve and generate mesh for DC resistance and inductance.

    • AC Resistance/Inductance – check the box to solve and generate mesh for AC resistance and inductance; activates the AC RL tab.

    • Capacitance/Conductance – check the box to solve and generate mesh for DC capacitance and conductance; activates the CG tab.

    • Save fields – check the box to save the current settings as the new default settings.

    • HPC and Analysis Options – click to open the HPC and Analysis Options window. Refer to Setting HPC and Analysis Options.

  1. Click the DC RL tab.

    Q3D Solution Setup Window > DC RL Tab

  2. From the DC RL tab, set the following DC resistance/inductance options:

    • Maximum Number of Passes – enter a value in the adjacent field to specify the maximum number of mesh refinement cycles to perform. This value is a stopping criterion for the adaptive solution; the simulation continues until the maximum number of passes complete or convergence criteria are reached.

      Important:

      The size of the finite element mesh — and the amount of memory required to generate a solution — increases with each adaptive refinement of the mesh. Setting the maximum number of passes too high can result in Electronics Desktop requesting more memory than available or taking excessive time to compute solutions.

    • Minimum Number of Passes – enter a value in the adjacent field to specify the minimum number of mesh refinement cycles. Simulation continues until after this number of passes complete.

      Minimum Converged Passes – enter a value in the adjacent field to specify the minimum number of passes that must meet convergence criteria before the simulation stops.

    • Percent Error – enter a value in the adjacent field to specify an appropriate solution accuracy. Larger values produce solutions faster, but with less accurate results.

    • Percent Refinement Per Pass – enter a value in the adjacent field to specify how many tetrahedra are added at each iteration of the adaptive refinement process. The tetrahedra with the highest error are refined (e.g., entering 10 causes the mesh to increase approximately 10% each pass. If the mesh consisted of 1000 elements, the tetrahedra are refined such that 100 new elements are added to the mesh). The default percentage works well for most applications.

      Note:

      A growth rate lower than the maximum occurs when there are not enough high error elements to warrant adaption. This reduces memory usage without sacrificing accuracy.

    • Accuracy Level – select an inductance adaptive solution accuracy from the drop-down menu. The solver will give accurate results at the Normal setting for most applications. The High, Higher, and Highest options offer greater accuracy at the expense of speed and memory.

  3. If visible, click the CG tab.

    Q3D Solution Setup Window > CG Tab

  4. From the CG tab, set the following DC capacitance/conductance options:

    • Automatically increase accuracy – check the box to automatically increase accuracy, then select an Accuracy Level from the drop-down menu. The solver will give accurate results at the Normal setting for most applications. The High, Higher, and Highest options offer greater accuracy at the expense of speed and memory.

    • Select either of the following:

      • Iterative Solver – check the box to activate the Iterative Solver, which is generally the fastest option. However, the Iterative Solver uses FMM compression, which may lead to slow convergence of GMRES iterations for poorly conditioned matrices.

      • Direct Solver – check the box to activate the Direct Solver, which has a higher setup time and uses more memory than the Iterative Solver. During setup, the Direct Solver performs an LU factorization of the FMM-compressed MoM system of equation. From the solution phase, each right hand side is solved using forward(L) and backward(U) substitutions. The Direct Solver converges quickly for poorly conditioned matrices and should only be used in cases requiring longer solution times (i.e., cases with extreme geometries and cases with more than 500 nets). After selection, enter a Compression Tolerance value. By default, the tolerance is 1e-6 for Normal or High accuracy, 1e-7 for Higher accuracy, and ie-8 for Highest accuracy. Setting a larger tolerance requires less setup time and memory, while setting a tighter tolerance requires more setup time and memory but leads to rapid convergence and faster solution time.

    • Maximum Number of Passes – enter a value in the adjacent field to specify the maximum number of mesh refinement cycles to perform. This value is a stopping criterion for the adaptive solution; the simulation continues until the maximum number of passes complete or convergence criteria are reached.

      Important:

      The size of the finite element mesh — and the amount of memory required to generate a solution — increases with each adaptive refinement of the mesh. Setting the maximum number of passes too high can result in Electronics Desktop requesting more memory than available or taking excessive time to compute solutions.

    • Minimum Number of Passes – enter a value in the adjacent field to specify the minimum number of mesh refinement cycles. Simulation continues until after this number of passes complete.

      Minimum Converged Passes – enter a value in the adjacent field to specify the minimum number of passes that must meet convergence criteria before the simulation stops.

    • Percent Error – enter a value in the adjacent field to specify an appropriate solution accuracy. Larger values produce solutions faster, but with less accurate results.

    • Percent Refinement Per Pass – enter a value in the adjacent field to specify how many tetrahedra are added at each iteration of the adaptive refinement process. The tetrahedra with the highest error are refined (e.g., entering 10 causes the mesh to increase approximately 10% each pass. If the mesh consisted of 1000 elements, the tetrahedra are refined such that 100 new elements are added to the mesh). The default percentage works well for most applications.

      Note:

      A growth rate lower than the maximum occurs when there are not enough high error elements to warrant adaption. This reduces memory usage without sacrificing accuracy.

  5. If visible, click the AC RL tab.

    Q3D Solution Setup Window > AC RL Tab

  6. From the AC RL tab, set the following AC resistance/inductance options:

    • Maximum Number of Passes – enter a value in the adjacent field to specify the maximum number of mesh refinement cycles to perform. This value is a stopping criterion for the adaptive solution; the simulation continues until the maximum number of passes complete or convergence criteria are reached.

      Important:

      The size of the finite element mesh — and the amount of memory required to generate a solution — increases with each adaptive refinement of the mesh. Setting the maximum number of passes too high can result in Electronics Desktop requesting more memory than available or taking excessive time to compute solutions.

    • Minimum Number of Passes – enter a value in the adjacent field to specify the minimum number of mesh refinement cycles. Simulation continues until after this number of passes complete.

      Minimum Converged Passes – enter a value in the adjacent field to specify the minimum number of passes that must meet convergence criteria before the simulation stops.

    • Percent Error – enter a value in the adjacent field to specify an appropriate solution accuracy. Larger values produce solutions faster, but with less accurate results.

    • Percent Refinement Per Pass – enter a value in the adjacent field to specify how many tetrahedra are added at each iteration of the adaptive refinement process. The tetrahedra with the highest error are refined (e.g., entering 10 causes the mesh to increase approximately 10% each pass. If the mesh consisted of 1000 elements, the tetrahedra are refined such that 100 new elements are added to the mesh). The default percentage works well for most applications.

      Note:

      A growth rate lower than the maximum occurs when there are not enough high error elements to warrant adaption. This reduces memory usage without sacrificing accuracy.

  7. Click the Advanced tab.

    Q3D Solution Setup Window > Advanced Tab

  8. From the Advanced tab, set the following:
    • Remove voids with an area smaller than – check the box to remove voids from the simulated primitives. Enter a tolerance value in the field. Voids smaller than the tolerance value will be removed.

    • Remove Floating/Inactive Signal Net Geometry – check the box to remove floating or inactive signal net geometry from the simulation.

    • Model Resolution – select either of the following:

      • Auto – the mesher calculates Model Resolution length based on each object's effective thickness. One mesh operation can be assigned to many objects, and each will be simplified based on its own dimensions.

      • Length – the mesher uses the specified Model Resolution length and unit of measurement.

  9. Click OK to add the Q3D solution setup to the active design and simultaneously open the Edit Frequency Sweep window.
    Note:

    For Q3D solution setups, the frequency sweep is only used to generate S parameters.

    Edit Frequency Sweep Window

  1. From the Edit Frequency Sweep window, click OK to accept the sweep with its default values or specify the following:

    Note:

    The available tabs and options change with the selected sweep type.

  1. Click Preview to view a preview of the sweep, as currently defined.

    Preview Window

  2. If the design includes dielectric layers exhibiting little variance in conductance (G) or capacitance (C) across frequency, check the Use adaptive solution for all sweep frequencies box to improve the speed and accuracy of the simulation.

  3. If Interpolating is selected from the Sweep Type drop-down menu, the Interpolation tab appears. Click the Interpolation tab.

    Edit Frequency Sweep Window

  4. From the Interpolation tab, specify the following:

    • Max Solutions – the maximum number of solutions that will be solved for the frequency range. The default is 250.

    • Error Tolerance – the maximum relative difference allowed between two successive interpolation solutions. The default is 0.5 percent.

  5. Click Advanced Options to open the Interpolating Sweep Advanced Options window.

    Interpolating Sweep Adanced Options Window

  6. From the Interpolating Sweep Advanced Options window, specify the following:

    • Minimum Solutions – the minimum number of converged solutions that will be solved for the frequency range (e.g., if this value is three, then once the sweep reaches convergence it simulates at two extra frequencies, resembling the minimum number of converged adaptive passes in a regular simulation). Setting a minimum number of solutions can eliminate non-physical S-parameter spikes. The default value is 0.

    • Minimum Number of Sub Ranges – the sub range number acts as an initial condition on the sweep to force initial even breakup of the null range into subranges. The end points and middle of each subrange will be solved, controlling the points at which the interpolating sweep is broken up and preventing redundant effort caused by neighboring interpolating sweeps solving the same point (e.g., 1 GHz-4 GHz and 4 GHz-9 GHz sweeps do not both solve the 4 GHz datapoint). The default value is 1.

  1. Click OK to close the Interpolating Sweep Advanced Options window.

  2. Click OK to close the Edit Frequency Sweep window and add any sweeps.

  3. If any technology definition files were imported during the initial setup of the design, complete these steps to apply a technology definition before simulation.

    Note:

    If technology definition files were not imported during the initial setup of the design, users can add one or more files at any time before simulation. If a technology definition was applied during setup, the definition's name should already appear in the Layout ribbon adjacent to the Technology drop-down menu. Users will not need to complete these steps. Refer to Adding a Technology Definition File to a Design.

    1. If a technology definition is available, navigate to the Layout ribbon and select Apply Technology from the Technology drop-down menu.

      Technology > Apply Technology

    1. Once the Apply Technology window opens, select an appropriate technology definition file from the list and click OK.

      Apply Technology Window

      Once the technology definition is applied to the design, the definition's name appears adjacent to the Technology drop-down menu.

      Technology File Applied

  4. From the Project Manager window, right-click the Q3D solution setup (e.g., Q3D1) and select Analyze to run the simulation. Refer to Running Simulations.

    Project Manager Window > Project Tree > Active Design Folder > Analysis > Q3D1 > Analyze

    Electronics Desktop will begin simulation and generate an appropriate mesh. View, pause, or stop the simulation from the Progress window.

    Progress Window

    The Message Manager window will display pertinent information as the simulation progresses.

    Message Manager Window

  5. Once the simulation is complete, navigate to the Project Manager window and right-click Results to view the available Report options. Then select a report to open the Report window. Refer to Creating Reports.

    Project Manager Window > Project Tree > Active Design Folder > Results > Create Standard Report

  6. There are several report options unique to Q3D solution setups. Refer to the following:

    Sweep Solution

    1. From the Solution drop-down menu, select Sweep.

    2. From the Matrix drop-down menu, select one of the following:

      • Original – populates the Category and Quantity list with C, G ACL and ACR matrices pertinent to the Q3D simulation.

        Report Window

      • Reduced – populates the Category list with parameters (e.g., S Parameter).

        Report Window

    Last Adaptive Solution

    From the Solution drop-down menu, select Last Adaptive to populate the Category and Quantity list with matrices pertinent to the Q3D simulation (i.e., C, G, DCL, DCR, ACL, and ACR).

    Report Window

    Adaptive Pass Solution

    1. From the Solution drop-down menu, select Adaptive Pass to populate the Category and Quantity list with matrices pertinent to the Q3D simulation (i.e., C, G, DCL, DCR, ACL, and ACR).

      Report Window

    2. Navigate to the Families tab and select either all passes or an individual pass (if multiple sweeps are available) to view.

      Report Window

  7. Navigate to the Project Manager window and right-click Field Overlays to view the available plot types. Several plot types are unique to Q3D solution setups (i.e., NF Fields, DC R/L Fields, AC R/L Fields, CG Fields, and DC R/L Thin Conductor Fields). Refer to Field Quantities.

    Project Manager Window > Project Tree > Active Design Folder > Field Overlays

  8. Select a plot type to open the Create Field Plot window.

    Create Field Plot Window

  9. Make changes to the default settings, as appropriate. Then click Done to create the field plot. Refer to Plotting Field Overlays.

  10. Navigate to the Project Manager window. Then right-click Field Overlays and select Plot Mesh to open the Create Mesh Plot window.

    Project Manager Window > Project Tree > Active Design Folder > Plot Mesh

  11. Select a Q3D solution from the Solution drop-down menu to populate the Field Type drop-down menu with options unique to Q3D solution setups (i.e., DC R/L Fields, AC R/L Fields, CG Fields, and DC R/L Thin Conductor Fields). Refer to Create Mesh Plot.

    Create Mesh Plot Window

Changing Net Settings

Complete these steps to view all of the nets recognized by Q3D during simulation, and modify as appropriate.

  1. From the Project Manager window, expand Analysis. Then right-click the Q3D solution setup (e.g., Q3D1) and select Q3D Net Settings to open the Q3D Net Settings window.

    Project Manager Window > Project Tree > Active Design Folder > Analysis >Q3D1 > Q3D Net Settings

  2. From the Q3D Net Settings window, right-click net groups that do not have terminal assignments and select Combine, Dissolve, Assign Regular, Assign Floating, or Assign Ground to add terminals.

    Q3D Net Settings Window

  3. Click OK to close the Q3D Net Settings window.

Editing Sources

Complete these steps to view and edit all of the design's sources.

  1. From the Project Manager window, expand Analysis. Then right-click the Q3D solution setup (e.g., Q3D1) and select Q3D Edit Sources to open the Edit Sources window.

    Project Manager Window > Project Tree > Active Design Folder > Analysis >Q3D1 > Q3D Edit Sources

  2. From the Edit Sources window, use the DC RL, AC RL, and CG tabs to edit the values and units of measurement for the design's ports. The available columns vary depending on source type. This feature allows greater flexibility in studying a larger set of excitation variations.

    Edit Sources Window

  3. Click OK to close the Q3D Net Settings window.

Viewing RLGC Matrix Data

To view computed matrix data from a Q3D solution setup, navigate to the Project Manager window. Then right-click the Q3D solution setup (e.g., Q3D1) and select RLGC Matrix Data to open the Solution window. Refer to Viewing Matrix Data.

Project Manager Window > Project Tree > Active Design Folder > Analysis > Q3D1 > RLGC Matrix Data

Exporting RLGC Data

Complete these steps to export RLGC matrix data or lumped RLGC data (i.e., Equivalent Circuit Export) from an analyzed solution.

  1. From the Project Manager window, expand Analysis. Then right-click the Q3D solution setup (e.g., Q3D1) and select Profile to open the Solutions window.

    Project Manager Window > Project Tree > Active Design Folder > Analysis >Q3D1 > Profile

  2. From the Solutions window, navigate to the RLGC Matrix Data tab.

    Solutions Window

  3. Select the Export subtab.

    Solutions Window

  4. To export RLGC data in one of several file formats, or to export lumped RLGC data as an equivalent circuit file, complete steps in the following subsections.

Exporting RLGC Data in Several Formats

  1. To export RLGC data, select a format from the Export drop-down menu.

    Solutions Window

    Note:

    Select RLGC For Genequiv to export a file with RLGC data ready for use by GenEquiv. The user can use a DOS command window to call GenEquiv and create a state space model.

    After making a selection from the drop-down menu, the Export Matrix window opens.

    Export Matrix Window

  2. Enter a File name or accept the default name.

  3. Select a file type from the Save as type drop-down menu (i.e., Matlab (*.m), Ansys EM Legacy Format Files (*.lvl), Comma Separated Value (*.csv), or Data Table(spreadsheet) (*.txt)).

  4. From the Problem Type, Frequency Selection, and Matrix Type areas, choose the RLGC data to export.

  5. Click Save to export the data and close the Export Matrix window.

Exporting Lumped RLGC Data in an Equivalent Circuit File Format

  1. To export lumped RLGC data, click Equivalent Circuit Export to open the Export Circuit window.

    Export Circuit Window

  2. From the Circuit Export area, specify the following:

    • Solution – use the drop-down menu to select the solution from which to export data (e.g., Q3D1 : Last Adaptive).

    • Variation – click ... to select a variation, if any are available.

    • File Name – enter a file path and name for the circuit file to be exported (e.g., C:\ansysdev\test\test_data.cir) or click ... to open an explorer window, then navigate to an appropriate directory, enter a File name, and click Open.
      Important:

      Circuit data can be exported in any of the following formats:

      • Simplorer Netlist Files (*.sml)
      • HSPICE Circuit (*.sp)
      • IBIS Package Model (*.pkg)
      • Maxwell Spice Circuit (*.spc)
      • PSpice Circuit (*.lib)
      • Spectre Circuit (*.ckt)
      • Ansoft Designer Netlist (*.cir)
      • Berkeley Spice Circuit (*.bsp)
      • Cadence DML (*.dml)
      • IBIS ICM (*.icm)

      To export circuit data as an IBIS Package Model, use all lowercase names to facilitate portability between operating systems. The length should not be more than 20 characters.

      To export circuit data in IBIS ICM format, use all lowercase names to facilitate portability between operating systems. The extension should be no more than three characters in length. There is no length restriction on the base file name; however, only lowercase letters, digits 0 through 9, underscore and hyphen are valid characters.

    • Model Name – enter a name for the model within the circuit file (e.g., test_data). Upper and lowercase letters, digits 0 through 9, and underscore are valid characters. Spaces are not accepted. Invalid characters will be replaced with underscores.

  3. From the Equivalent Circuit Settings area, specify the following:

    • Select Freq – select a frequency from the drop-down menu (e.g., 0.1 GHz). For interpolating sweeps, click Edit Freq to open the Edit Sweep window, then enter Start and End values.

    • Matrix – from the drop-down menu, select the Original solved matrix or a reduced matrices, if any are available.
    • Select Matrix Type – check the check boxes adjacent to one or more matrix types for export (i.e., Capacitance, Conductance, DC Resistance, DC Inductance, AC Resistance, AC Inductance, and/or Add DC and AC Resistance).
    • Note:

      Checking the DC Resistance or DC Inductance boxes deactivates the boxes beside AC Resistance or AC Inductance, and vice versa. Check the Add DC and AC Resistance box if you want to create a circuit with a total resistance computed from AC and DC values.

    • IBIS Export – by default, names are created in the form _NAME_src. Checking the Extract pin names from source names box will alter naming behavior so they are created as simply NAME.
    • Number of Cells – enter the number of cells (i.e., sections) to be used while exporting the circuit. Finer discretization (i.e., a larger number of sections) gives a closer approximation to the underlying Partial Differential Equations. However, this also leads to increased simulation time. See the technical notes for Equivalent Circuits.
    • Coupling Limits – click to open the Coupling Limits window.

      Coupling Limits Window

      Select a Coupling Type, if appropriate (i.e., By Value or By Fraction of Self Term) and enter limit values in the Conductance, Capacitance, Resistance, and Inductance fields. RLCG values smaller than those specified will be ignored during export. Click OK to return to the Export Circuit window.

    • Include Chip Package Protocol – check the box to activate Chip Package Protocol, then click Edit to open the Edit Chip Package Protocol window and specify header information for SPICE formats.

      Edit Chip Package Protocol Window

      Chip Package Protocol (CPP) is a set of statements specifying the location, net information, and SPICE node name for each package pin (i.e., the landing pad of flip-chip bumps or the chip landing pad of bonding-wires). The CPP is embedded within a SPICE-compatible file header as comments and is primarily used to help automate the co-simulation of IC (i.e., die) and package or package/board (e.g., utilizing CPP to import the package or package and PCB model into the full chip dynamic voltage drop analysis, and the global IO-SSO analysis. Package/PCB simulation tool can utilize the CPP to import the chip model in the system level analysis). To utilize CPP, specify the following from the Edit Chip Package Protocolwindow:

      • Package Type – select a Package Type from the drop-down menu (i.e., wirebond dieup, wirebond diedown, flipchip dieup, and flipchip diedown.
      • Coordinate System – from the drop-down menu, select Global or a custom coordinate system, if any are available.
      • Length Units – Select a unit of measurement from the drop-down menu (i.e., um, mm, or mil).
      • From the Set Pins Attributes area, specify the following to select pins:
        • Select pins by – select a sort attribute from the drop-down menu to sort pins by Component Name, Pin Name (i.e., number), Pin Type (i.e., signal or power ground), Net Name, or Port Type (i.e., DIE, PCB, VRM, or Other). Then enter a regular expression in the field and click Select to select the applicable pins.
        • Select All – click to select all pins in the design.
        • Check the Component Name, Pin Type, and Port Type boxes to modify the information for selected pin(s). Enter the Component Name in the field and/or select a Pin Type/Port Type from the drop-down menus.
        • Click Set to apply changes.

  4. Click OK to close the Edit Chip Package Protocol window.

  5. Click Preview to open the Circuit Model Preview window.

    Circuit Model Preview Window

  1. Click Close.

  2. Click Export Circuit to complete the export. Once the export is finished, a message appears.

    Pop-Up Notification

  3. Click OK to close the message.

  4. Click Close to exit the Export Circuit window.

Activating the Q3D Solution Setup Beta Feature

Complete these steps to enable the Q3D solution setup beta feature, then activate IC mode.

  1. From the Tools menu, select OptionsGeneral Options to open the Options window

    Tools > Options > General Options...

  1. Expand General > Desktop Configuration and click Beta Options to open the Beta Options window

    Beta Options Window

  1. Scroll down and check the Q3D in HFSS 3D Layout IC Mode box.

    Q3D in HFSS 3D Layout IC Mode Beta Option

  1. Click OK to close the Beta Options window.

  2. Click OK to close the Options window and open an Ansys Electronics Desktop prompt to restart the software. Users may be asked to save their work.

    Ansys Electronics Desktop Window

  3. Click Yes to restart immediately.

  1. After restarting the software, the Q3D solution setup is available from the locations described in the previous section.

The procedure is complete.

Related Topics:

Setting HPC and Analysis Options

Adding a Frequency Sweep

Running Simulations

Creating Reports

Plotting Field Overlays

Viewing Matrix Data

Adding a Solution Setup in IC Mode

Adding an HFSS Solution Setup in IC Mode

Adding an HFSS PI Solution Setup in IC Mode

Adding a RaptorX Solution Setup in IC Mode

Adding a Technology Definition File to a Design

Layout Editor (IC Mode)

Solution Setup in HFSS 3D Layout

Running Simulations

Adding a Frequency Sweep