S-Parameters

Model S-parameter network

  • Library:
  • RF Blockset / Circuit Envelope / Elements

  • S-Parameters block

Description

The S-parameters block models a network defined by S-parameters in the RF Blockset™ circuit envelope simulation environment. The device can have up to 32 ports. For an introduction to RF simulation, see the example, Simulate High Frequency Components.

The block models S-parameter data in the RF Blockset environment by fitting a rational function to the specified data. For more information about rational fitting of S-parameters, see the RF Toolbox™ rationalfit function.

Note

If you specify more than eight ports, the block does not simulate noise.

Parameters

expand all

Main

Data source for S-parameters behavior, specified as one of the following:

  • Data file — Name of a Touchstone file with the extension.s2p. The block ignores noise and nonlinearity data in imported files.

  • Network-parameters — Provide Network parameter data such as S-parameters, Y-parameters, and Z-parameters with corresponding Frequency and Reference impedance (ohms) for the s-parameters.

  • Rational model — Provide values for Residues, Poles, and Direct feedthrough parameters which correspond to the equation for a rational model

    F(s)=(k=1nCksAk+D),s=j2πf

    .In this rational model equation, each Ck is the residue of the pole Ak. If Ck is complex, a corresponding complex conjugate pole and residue must also be enumerated. This object has the properties C, A, and D. You can use these properties to specify the Residues, Poles, and Direct feedthrough parameters.

Name of network parameter data file, specified as a character vector.

Dependencies

To enable this parameter, select Data file in Data source tab.

Network parameter type, specified as S-parameters, Y-parameters, or Z-parameters.

Dependencies

To enable this parameter, select Network-parameters in Data source tab.

Network parameter values specified as a multidimensional array. The third dimension of the S-parameter array must be the same length as the vector of frequencies specified by the Frequency parameter. The default values are different for S-parameters, Y-parameters, and Z-parameters respectively.

Dependencies

To enable this parameter, select Network-parameters in Data source tab.

Frequency of network parameters, specified as a scalar or a vector in Hz.

Dependencies

To enable this parameter, select Network-parameters in Data source.

Reference impedance of network parameters, specified as a scalar.

Dependencies

To enable this parameter, select Network-parameters in Data source tab.

Residues in order of rational model, specified as a vector.

Dependencies

To enable this parameter, select Rational model in Data source tab.

Poles in order of rational model, specified as a vector.

Dependencies

To enable this parameter, select Rational model in Data source tab.

Direct feedthrough, specified as an array vector.

Dependencies

To enable this parameter, select Rational model in Data source tab. .

Choose this parameter to generate thermal noise waves [1]. Clear this parameter to stop simulating noise. For more information see, Generate Thermal Noise.

Note

This parameter is disabled when you specify more than eight ports.

Select this parameter to ground and hide the negative terminals. Clear this parameter to expose the negative terminals. By exposing these terminals, you can connect them to other parts of your model.

By default, this option is selected.

Modeling

Model S-parameters, specified as:

  • Time-domain (rationalfit) technique creates an analytical rational model that approximates the whole range of the data. When modeling using Time domain, the Plot in Visualization tab plots the data defined in Data Source and the values in the rationalfit function.

  • Frequency-domain computes the baseband impulse response for each carrier frequency independently. This technique is based on convolution. There is an option to specify the duration of the impulse response. For more information, see Compare Time and Frequency Domain Simulation Options for S-parameters.

  • For the Amplifier and S-parameters blocks, the default value is Time domain (rationalfit). For the Transmission Line block, the default value is Frequency domain.

Dependencies

To set this parameter, first select Data file or Network-parameters in Data source. This selection activates the Visualization Tab which contains Source of frequency data

Rationalfit fitting options, specified as Fit individually, Share poles by column, or Share all poles.

Rational fitting results shows values of Number of independent fits, Number of required poles, and Relative error achieved (dB).

Dependencies

To set this parameter, select Time domain (rationalfit) in Modeling options.

Relative error acceptable for the rational fit, specified as a scalar.

Dependencies

To set this parameter, select Time domain (rationalfit) in Modeling options.

Select this parameter to automatically calculate impulse response. Clear this parameter to manually specify the impulse response duration using Impulse response duration.

Dependencies

To set this parameter, select Frequency domain in Modeling options.

Impulse response duration, specified as a scalar.

Dependencies

To set this parameter, first select Frequency domain in Modeling options. Then, clear Automatically estimate impulse response duration.

Select this parameter to ignore the s-parameter phase and delay the impulse response by half its length. This parameter is applicable only for S-parameter data modeled in time domain. You can use this to shape spectral content with filter effects by specifying only magnitude.

Note

This parameter introduces an artificial delay to the system.

Visualization

Frequency data source, specified as:

When Source of frequency data is Extracted from data source, the Data source must be set to Data file. Verify that the specified Data file contains frequency data.

When Source of frequency data is User-specified, specify a vector of frequencies in the Frequency data parameter. Also, specify units from the corresponding drop-down list.

Frequency data range, specified as a vector

Type of data plot that you want to produce with your data specified as one of the following:

  • X-Y plane — Generate a Cartesian plot of your data versus frequency. To create linear, semilog, or log-log plots, set the Y-axis scale and X-axis scale accordingly.

  • Polar plane — Generate a polar plot of your data. The block plots only the range of data corresponding to the specified frequencies.

  • Z smith chart, Y smith chart, and ZY smith chart — Generate a Smith® chart. The block plots only the range of data corresponding to the specified frequencies.

Type of S-Parameters to plot, specified as SNN, where N is the number of ports in the s-parameters block.

Type of S-Parameters to plot, specified as SNN, where N is the number of ports in the s-parameters block.

Plot format, specified as Magnitude (decibels), Angle(degrees), Real, or Imaginary.

Plot format, specified as Magnitude (decibels), Angle(degrees), Real, or Imaginary.

Y-axis scale, specified as Linear or Logarithmic.

X-axis scale, specified as Linear or Logarithmic.

Plot specified data using plot button.

More About

expand all

References

[1] Wedge, Scott & Rutledge, David. " Wave Techniques for Noise Modeling and Measurement" IEEE Transactions on Microwave Theory and Techniques. Vol. 40, Number 11, pp. 2004–2012, Nov. 1992.

Introduced in R2010b