analyze - Analyze circuit object in frequency domain

Syntax

analyze(h,freq)
analyze(h,freq,zl,zs,zo,aperture)
analyze(h,freq,'condition1',value1,...,'conditionm',valuem)

Description

analyze(h,freq) calculates the following circuit data at the specified frequency values:

h is the handle of the circuit object to be analyzed. freq is a vector of frequencies, specified in hertz, at which to analyze the circuit. OIP3 is always ∞ for passive circuits.

analyze(h,freq,zl,zs,zo,aperture) calculates the circuit data at the specified frequency values. The arguments zl, zs, zo, and aperture are optional. zl, zs, and zo represent the circuit load, circuit source, and reference impedances of the S-parameters, respectively. The default value of all these arguments is 50 ohms.

The aperture argument determines the two frequency points that the analyze method uses to compute the group delay for each frequency in freq. aperture can be a positive scalar or a vector of the same length of as freq.

Group delay at each frequency point f is the negative slope of the phase angle of S21 with respect to f:

where:

The value of aperture affects the accuracy of the computed group delay. If aperture is too big, the slope estimate may be not accurate. If aperture is too small, the computer numerical error may affect the accuracy of the group delay result.

analyze(h,freq,'condition1',value1,...,'conditionm',valuem) calculates the circuit data at the specified frequency values and operating conditions for the object h. condition1,value1,..., conditionm,valuem are the condition/value pairs at which to analyze the object. This syntax is usually used for rfckt.amplifier, rfckt.mixer, and rfdata.data objects where the condition/value pairs are operating conditions from a .p2d or .s2d file.

When you analyze a network that contains several objects, RF Toolbox software does not issue an error or warning if the specified conditions cannot be applied to all objects. For some networks, because there is no error or warning, you can call the analyze method once to apply the same set of operating conditions to any objects where operating conditions are applicable. However, you may want to analyze a network that contains one or more of the following:

To analyze such a network, you should use the setop method to configure the operating conditions of each individual object before analyzing the network.

Analysis of Circuit Objects

For most circuit objects, the AnalyzedResult property is empty until the analyze method is applied to the circuit object. However, the following four circuit objects are the exception to this rule:

By default, the AnalyzedResult property of rfckt.datafile objects contains the S-parameter, noise figure, and group delay values that are calculated over the network parameter frequencies in the passive.s2p data file. OIP3 is ∞ by default because the data in passive.s2p is passive.

By default, the AnalyzedResult property of rfckt.passive objects contains the S-parameter, noise figure, and group delay values that are the result of analyzing the values stored in the passive.s2p file at the frequencies stored in this file. These frequency values are also stored in the NetworkData property. OIP3 is always ∞ for rfckt.passive objects because the data is passive.

By default, the AnalyzedResult property of rfckt.amplifier objects contains the S-parameter, noise figure, OIP3, and group delay values that result from analyzing the values stored in the default.amp file at the frequencies stored in this file. These frequency values are also stored in the NetworkData property.

By default, the AnalyzedResult property of rfckt.mixer objects contains the S-parameter, noise figure, OIP3, and group delay values that result from analyzing the values stored in the default.s2p file at the frequencies stored in this file. These frequency values are also stored in the NetworkData property.

For a detailed explanation of how the analyze method calculates the network parameters, noise figure values, and OIP3 values for a particular object, see the AnalyzedResult property on the reference page for that object.

References

http://www.microwaves101.com/encyclopedia/groupdelaymeasurements.cfm

See Also

calculate
extract
getz0
listformat
listparam
loglog
plot
plotyy
polar
semilogx
semilogy
smith
read
restore
write

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS