analysis of frequency response of rf system -凯发k8网页登录
this example uses a few techniques to calculate the steady-state frequency response for a filter-based rf system built from rf blockset™ circuit envelope library blocks. the first technique performs static analysis (harmonic balance) on a circuit comprising of inductors and capacitors. the second technique does time domain simulation using a similar circuit built with the filter library block. the third technique facilitates small-signal analysis to obtain the frequency response of a filtering system that exhibits nonlinearity at a given operation point. this example helps you validate a circuit envelope model using a static analysis in the frequency domain, a time domain simulation, and small signal analysis in cases where the system exhibits non-linearity.
frequency domain analysis
model = 'simrfv2_ac_analysis';
open_system(model);
the system consists of:
a continuous wave source and a series resistor to model a voltage source with internal source impedance.
inductor and capacitor blocks configured to model a third-order chebyshev filter with a center frequency of 2.4 ghz.
an outport block configured as a voltage sensor to measure the voltage across a load resistor.
a configuration block, which sets up the circuit envelope simulation environment. as the system is linear, the harmonic balance analysis is done with a single simulation frequency and corresponds to an ac analysis.
type
open_system('simrfv2_ac_analysis')
at the command window prompt.double-click the block labeled 'specify frequency values' to provide a vector of frequencies.
double-click the block labeled 'calculate frequency response' to execute a script,
simrfv2_ac_analysis_callback
, that analyzes the model at the specified frequencies and plots the response.
simrfv2_ac_analysis_callback([model '/subsystem'], 'openfcn');
to configure a model with circuit envelope library blocks for harmonic balance:
in the model configuration parameters dialog box, set the stop time parameter to zero.
use a continuous wave block to drive the system.
set the carrier frequencies parameter in the continuous wave, outport blocks, and the fundamental tones parameter in the configuration block to the same vector of frequencies.
close the open model
bdclose(model)
time domain simulation
model = 'simrfv2_ac_analysis_tf';
open_system(model)
the system consists of:
a random source generator that outputs a continuous random signal.
a chebyshev filter constructed using the filter library block and designed with a center frequency of 2.4 ghz and a bandwidth of 480 mhz.
discrete transfer function estimator block to view the frequency domain output of a time domain simulation.
spectrum analyzer to view the output.
view the filter designed parameters used in the filter block mask.
view the implemented filter under the filter block mask.
open_system([model '/filter'],'force')
simulate the transfer system model.
sim(model) pause(5)
compare the outputs of the first and second model.
bdclose(model)
small signal analysis
model = 'simrfv2_ac_analysis_ss';
open_system(model)
the system consists of:
a random source generator that outputs a continuous random signal that is subsequently attenuated to ensure small signal input.
a constant source added to the random source to determine the non-linear operation point. both signals are centered at 2.4 ghz.
an rf system comprising two elements; a saw filter constructed using the s-parameter library block with a center frequency of 2.45 ghz and a bandwidth of 112 mhz and an amplifier with 20db of available power gain and non-linearity described by a 3rd-order intercept point of 30dbm.
discrete transfer function estimator block to view the frequency domain output of a time domain simulation measured over the 2.4 ghz carrier.
spectrum analyzer to view the output and compare it to saved output data.
since the transient signal is small while the operation point is determined based on carrier-constant large signals, it is possible to use the transient small-signal approximation. in this approximation, non-linear interaction between transient signals is ignored, however the non-linear interaction between carrier-constant signals and its effect on the small signals is captured accurately. the small signal analysis is enabled in the advanced tab of the configuration block mask.
using small signal analysis, a subset of the full set of carriers used for steady state solution can be chosen for transient simulation. in this example, only the 2.4 ghz is of interest for transient analysis. reducing the number of simulated carriers, accelerates the simulation. in this case, the small signal simulation is more than 15 times faster than a full non-linear circuit-envelope based simulation. comparing the small-signal simulation results with those of a full circuit envelope simulation loaded from a file, it is evident that the results are practically identical.
sim(model)
decreasing the operation point power in the constant block from 0.5 watt down to zero, the system becomes effectively linear. a comparison between the curves illustrates the effect of the non-linearity on the transfer function. these effects include a decrease in overall amplitude due to compression and a widening of the filter profile at the lower-frequency side. the widening can be explained as the result of the cubic term in the amplifier polynomial response folding the original rf frequency of 2.4 ghz back onto itself, but with a frequency response that is flipped around its central frequency since 2.4 ghz is reached by reflection from -2.4 ghz. since the saw filter is centered at 2.45ghz, the flipped frequency response is centered at 2.35ghz. summing the linear and cube terms effects yields a widened profile.
bdclose(model)
references
ludwig, reinhold and pavel bretchko, rf circuit design: theory and applications. prentice-hall, 2000.
mass a. stephen, nonlinear microwave and rf circuits. artech house, 2003.