main content

model s-凯发k8网页登录

model s-parameter network

  • s-parameters block

libraries:
rf blockset / circuit envelope / elements

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 65 ports. for an introduction to rf simulation, see the example, .

note

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

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™ function.

note

during the fitting procedure, the block sets the tendstozero and qlimit properties of the rational object to false and inf, respectively.

s-parameters block mask icons are dynamic and indicate the current state of the applied noise parameter. this table shows you how the icons on this block vary based on the state of the simulate noise parameter on the block.

simulate noise: onsimulate noise: off

s-parameters block icon with simulate noise is set to on.

s-parameters block icon with simulate noise is set to off.

to model rf complex baseband s-parameters in simulink, use the idealized baseband block.

parameters

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.

select this parameter to use a network parameter object as the data source to model the s-parameters.

once you select this parameter, in the text box that opens, specify one of these:

  • network parameter object.

  • matlab® base workspace variable or a simulink® model workspace variable. the block evaluates if the specified variable is a network parameter object.

sparameters('default.s2p') is the default network parameter object when you select this parameter.

the network parameter objects that you can specify include:

dependencies

to enable this parameter, set data source to network-parameters.

network parameter type, specified as s-parameters, y-parameters, or z-parameters.

dependencies

to enable this parameter, set data source to network-parameters.

network parameter values specified as a multidimensional array or a scalar. when you specify network parameters as a multi-dimensional array, the third dimension of the s-parameter array must be of the same length as the frequencies vector specified in the frequency (db) parameter.

dependencies

to enable this parameter, set data source to network-parameters.

frequency of network parameters, specified as a scalar or a vector in hz.

dependencies

to enable this parameter, set data source to network-parameters.

reference impedance of network parameters, specified as a scalar.

dependencies

to enable this parameter, set data source to network-parameters.

select this parameter to use a rational object as the data source to model s-parameter.

once you select this parameter, in the text box that opens, specify one of these:

  • rational object.

  • matlab base workspace variable or a simulink model workspace variable. the block evaluates if the specified variable is a rational object."

rational('default.s2p') is the default rational object when you select this parameter.

the rational objects that you can specify include:

dependencies

to enable this parameter, set data source to rational model.

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

dependencies

to enable this parameter, set data source to rational model.

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

dependencies

to enable this parameter, set data source to rational model.

direct feedthrough, specified as an array vector.

dependencies

to enable this parameter, set data source to rational model.

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 cleared 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.

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 rational function.

  • frequency domaincomputes 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 .

  • for the , antenna, and s-parameters blocks, the default value is time domain (rationalfit). for the transmission line block, the default value is frequency domain.

dependencies

to enable this parameter, set data source to either data file or network-parameters.

rational fit 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.

maximum number of poles to control over the fitting procedure, specified as a positive scalar. you can specify up to 99 poles.

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 to delay the impulse response by half its length. you can use this parameter to shape spectral content with filter effects by specifying only magnitude.

this parameter uses the magnitude of the original data to obtain the impulse response of the block. this impulse response is centered about the time sequence and adds an inherent delay of half the duration of the impulse response. in the frequency domain, this translates to a linear monotonic decrease in phase throughout the given spectrum.

note

  • this parameter is applicable only for s-parameter data modeled in the frequency domain and introduces an artificial delay to the system.

  • adding a time delay (or frequency phase variation) to the system can result in unexpected behaviors. for example, in an unmatched system, delayed signals are bounced back and added to the original signals.

dependencies

to enable this parameter, set modeling options to frequency domain.

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 or a scalar in hz, khz, mhz, or ghz. specify frequency data as a scalar when you want to visualize a singe frequency s-parameter data.

dependencies

to enable this parameter, set source of frequency data to user-specified.

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

references

[1] wedge, scott, and david rutledge. “wave techniques for noise modeling and measurement.” ieee transactions on microwave theory and techniques 40, no. 11 (november 1992): 2004–12. https://doi.org/10.1109/22.168757.

version history

introduced in r2010b

see also

| |

网站地图