微波EDA網(wǎng)-關于我們 微波EDA網(wǎng)-出版的圖書專著 微波EDA網(wǎng)培訓課程列表 射頻工程師養(yǎng)成培訓學習教程
  • 1
  • 2
  • 3
  • 4

Exporting Equivalent Circuit Data

You can export S-parameter data from a Driven Terminal solution to PSpice, HSPICE, Spectre or Maxwell Spice format. Importing the new data file to PSpice, HSPICE, Spectre or Maxwell Spice will enable you to include wave effects in the circuit simulations. You can also export a W-Element model for a port.

Note

You must have a frequency sweep solution and five or more frequency points to successfully export an equivalent circuit data file. See the Choosing Frequencies for Full-Wave SPICE topic of the online help for suggestions about the frequency range of the sweep.

The GUI lets you export full-wave Spice for a model that contains differential pairs, but it will silently export the data in its original single-ended form. The full-wave Spice model is a "broadband" equivalent circuit (that is, its S-parameters match those of the HFSS solution across the whole frequency sweep range.)

Certain discrete sweeps permit Full-Wave SPICE exports. It is allowed if the discrete data is evenly spaced, includes DC, and has at least 500 frequency points.

1. In the project tree, right-click the solution setup of interest, and then click Matrix Data on the shortcut menu.

The Solution Data window appears. The Matrix Data tab is selected.

2. Click Equivalent Circuit Export.

The Equivalent Circuit Export Options dialog box appears.

3. Type the name or browse to the directory in which you want to store the data.

[spacer]

4. Click one of the following formats in the Format list:

[spacer]

PSpice (*.lib)

Nexxim State Spalce (.sss)

Simplorer (.sml)

Star HSpice (*.sp)

Spectre (*.cir)


Your format selection affects the options available under Full Wave Spice Export. When Simplorer format is requested, both *.sml and *.png are created. The latter contains the image in GIF format.

5. If the Full-Wave Spice Export checkbox is enabled, you can select it. Checking the box enables the text field for the file name, and depending on the format selection, other options may be enabled.

• Desired Fitting Error (percent)

• Maximum Order

HFSS supports Full Wave Spice Export from a driven modal design as long as all ports have exactly one mode each. However, HFSS does not support definition of differential pairs in a driven modal design.

6. Optionally, select Use Common Ground to combine the negative reference nodes for all of the ports into a single reference node.

7. Optionally, select Enforce Passivity. Selecting this enforces passivity in the output file. Passive devices can only dissipate or temporarily store energy, but never generate it. (You can also check passivity from the Matrix Data tab using the Check Passivity button.)

This option is useful in cases where the transient simulation fails due to passivity violations in the circuit model. This circuit model is based on fitting a rational function to the S-parameter data computed by the field solver. Small errors in the data fitting can result in non-passive behavior. Selecting the Enforce Passivity option will take more CPU time, but ensures that the resulting model will be passive.

The passivity check tests whether the S-parameter data from HFSS is passive or not. For more information see Passivity.

8. Optionally, select Lumped Element Export (Low Bandwidth) if you want to save the data as a low-frequency circuit model using simple lumped elements (resistors, capacitors, inductors, and dependent current sources). The low-bandwidth model is only going to be accurate in a limited frequency range around the adaptive solution frequency

This option is not enabled for Spectre export.

9. Optionally, select Partial Fraction Expansion for Matlab if you want to specify a file that expands the partial fractions for use in Matlab. The partial fractions involved describe the frequency response of the low-bandwidth model from the previous step.

10. You can also select Combine Sweeps to select and combine available sweeps into a single output file.

By option you can Export W-Element Data.

11. Click OK.

The S-matrices are written to the data file that you specified in the equivalent circuit data format.

Related Topics

Exporting W-Element Data