model rf filter -凯发k8网页登录
model rf filter
libraries:
rf blockset /
circuit envelope /
elements
description
the filter block models rf filters of three designs:
butterworth: butterworth filters have a magnitude response that is maximally flat in the passband and monotonic overall. this smoothness comes at the price of decreased roll-off steepness.
chebyshev: chebyshev type i filters have ripples of equal magnitude in the passband and monotonic in the stopband.
inverse chebyshev: chebyshev type ii filters have ripples of equal magnitude in the stopband and monotonic in the passband.
ideal: ideal filters perfectly allow frequencies in the passband and completely reject frequencies in the stopband.
to filter rf complex baseband signals in simulink, use the idealized baseband block.
parameters
main
design method — simulation type
butterworth
(default) | chebyshev
| inverse chebyshev
| ideal
simulation type, specified as one of the following:
ideal
simulates an ideal filter of the type specified in filter type and the model specified in implementation.
butterworth
simulates a butterworth filter of the type specified in filter type and the model specified in implementation.
chebyshev
simulates a chebyshev filter of the type specified in filter type and the model specified in implementation.
inverse chebyshev
simulates a inverse chebyshev filter of the type specified in filter type and the
transfer function
model specified in implementation.
filter type — filter type
lowpass
(default) | highpass
| bandpass
| bandstop
filter type, specified as one of the following:
lowpass
: simulates a lowpass filter type of the design specified in design method.highpass
: simulates a highpass filter type of the design specified in design method.bandpass
: simulates a bandpass filter type of the design specified in design method.bandstop
: simulates a bandstop filter type of the design specified in design method.
implementation — implementation
lc tee
| lc pi
| transfer function
| constant per carrier
| frequency domain
implementation, specified as one of the following:
lc tee
: model an analog filter with an lc lumped tee structure when the design method is butterworth or chebyshev.lc pi
: model an analog filter with an lc lumped pi structure when the design method is butterworth or chebyshev.transfer function
: model an analog filter using two-port s-parameters when the design method is butterworth or chebyshev.constant per carrier
: model a filter with either full transmission or full reflection set as constant throughout the entire envelope band around each carrier.the design method is specified as ideal.frequency domain
: model a filter using convolution with an impulse response. the design method is specified as ideal. the impulse response is computed independently for each carrier frequency to capture the ideal filtering response. when a transition between full transmission and full reflection of the ideal filter occurs within the envelope band around a carrier, the frequency-domain implementation captures this transition correctly up to a frequency resolution specified in impulse response duration.
by default, the implementation is
constant per carrier
for an ideal filter
and lc tee
for butterworth or chebyshev.
note
due to causality, a delay of half the impulse response duration is included for both reflected and transmitted signals. this delay will impair the filter performance when the source and load resistances differ from the values specified as filter parameters.
passband edge frequency — passband edge frequency
1 ghz
(default) | scalar
passband edge frequency, specified as a scalar in hz, khz, mhz, or ghz.
dependencies
to enable this parameter, set design method
to ideal
.
implement using filter order — implement using filter order
off
(default) | on
select this parameter to implement the filter order manually.
dependencies
to enable this parameter, set design method
to butterworth
or
chebyshev
.
filter order — filter order
3
(default) | scalar
filter order, specified as a scalar. this order is the number of
lumped storage elements in lowpass
or
highpass
. in bandpass
or
bandstop
, the number of lumped storage elements
are twice the value.
note
for even order chebyshev filters, the resistance ratio for tee network implementation and for pi network implementation.
where:
rp is the passband ripple in db.
dependencies
to enable this parameter, select implement using filter order.
passband frequency — passband frequency for lowpass and highpass filters
scalar
passband frequency for lowpass and highpass filters, specified as a
scalar in hz, khz, mhz, or ghz. the default value is 1
ghz
for lowpass
filters and
2 ghz
for highpass
filters.
dependencies
to enable this parameter, set design method
to butterworth
or
chebyshev
and filter
type to lowpass
or
highpass
.
passband frequencies — passband frequencies for bandpass filters
[2 3] ghz
(default) | 2-tuple vector
passband frequencies for bandpass filters, specified as a 2-tuple vector in hz, khz, mhz, or ghz. this option is not available for bandstop filters.
dependencies
to enable this parameter, set design method
to butterworth
or
chebyshev
and filter
type to bandpass
.
passband attenuation (db) — passband attenuation
10*log10(2)
(default) | scalar
passband attenuation, specified as a scalar db. for bandpass filters, this value is applied equally to both edges of the passband.
dependencies
to enable this parameter, set design method
to butterworth
or
chebyshev
.
stopband frequencies — stopband frequencies for bandstop filters
[2.1 2.9] ghz
(default) | 2-tuple vector
stopband frequencies for bandstop filters, specified as a 2-tuple vector in hz, khz, mhz, or ghz. this option is not available for bandpass filters.
dependencies
to enable this parameter, set design method
to butterworth
or
chebyshev
and filter
type to bandstop
.
stopband attenuation (db) — stopband attenuation
40
(default) | scalar
stopband attenuation, specified as a scalar db. for bandstop filters, this value is applied equally to both edges of the stopband.
dependencies
to enable this parameter, set design method
to butterworth
or
chebyshev
and filter
type to bandstop
.
source impedance (ohm) — input source resistance
50
(default) | scalar
input source resistance, specified as a scalar in ohms.
dependencies
to enable this parameter, set design method
to butterworth
or
chebyshev
.
load impedance (ohm) — output load resistance
50
(default) | scalar
output load resistance, specified as a scalar in ohms.
dependencies
to enable this parameter, set design method
to butterworth
or
chebyshev
.
ground and hide negative terminals — ground rf circuit terminals
on
(default) | off
select to internally ground and hide the negative terminals. clear to expose the negative terminals. when the terminals are exposed, you can connect them to other parts of your model.
export — save filter design to a file
button (default)
use this button to save filter design to a file. valid file types are
.mat
and .txt
.
visualization
parameter 1 — type of plots on y-axis
voltage transfer
(default) | phase delay
| group delay
type of plots, specified as voltage
transfer
, phase delay
, or
group delay
.
parameter 2 — type of plots
none
(default) | voltage transfer
| phase delay
| group delay
type of plots, specified as none
,
voltage transfer
, phase
delay
, or group
delay
.
format 1 — scaling of y-axis
magnitude
(decibels)
(default) | magnitude (linear)
| angle (degrees)
| real
| imaginary
scaling of y-axis, specified as,
magnitude(decibels)
,magnitude(linear)
orangle(degrees)
,real
, orimaginary
forvoltage transfer
parameters.magnitude(decibels)
ormagnitude(linear)
forphase delay
orgroup delay
parameters.
format 2 — scaling of y-axis
magnitude
(decibels)
(default) | magnitude (linear)
| angle (degrees)
| real
| imaginary
scaling of y-axis, specified as,
magnitude(decibels)
,magnitude(linear)
orangle(degrees)
,real
, orimaginary
forvoltage transfer
parameters.magnitude(decibels)
ormagnitude(linear)
forphase delay
orgroup delay
parameters.
frequency points — frequency points to plot on x-axis
logspace(0,10,101) hz
(default) | vector
frequency points to plot on x-axis, specified as a vector with each element units in hz, khz, mhz, or ghz.
x-axis scale — x-axis scale
linear
(default) | logarithmic
x-axis scale, specified as linear
or
logarithmic
.
y-axis scale — y-axis scale
linear
(default) | logarithmic
y-axis scale, specified as linear
or
logarithmic
.
more about
frequency responses
filter type | frequency response |
---|---|
lowpass | |
highpass | |
bandpass | |
bandstop |
parameters to define filter and design tips
this table shows all the parameters required to design each filter correctly:
additional design tips
some additional design tips:
references
[1] kendall su, analog filters, second edition.
[2] louis weinberg, network analysis and synthesis, huntington, new york: robert e. krieger publishing company, 1975.
[3] larry d. paarmann, design and analysis of analog filters, a signal processing perspective with matlab® examples, kluwer academic publishers, 2001.
[4] michael g. ellis, sr., electronic filter analysis and synthesis, norwood, ma: artech house, 1994.
[5] anatol i. zverev, handbook of filter synthesis, hoboken, nj: john wiley & sons, 2005.
version history
introduced in r2016b
see also
| |
matlab 命令
您点击的链接对应于以下 matlab 命令:
请在 matlab 命令行窗口中直接输入以执行命令。web 浏览器不支持 matlab 命令。
select a web site
choose a web site to get translated content where available and see local events and offers. based on your location, we recommend that you select: .
you can also select a web site from the following list:
how to get best site performance
select the china site (in chinese or english) for best site performance. other mathworks country sites are not optimized for visits from your location.
americas
- (español)
- (english)
- (english)
europe
- (english)
- (english)
- (deutsch)
- (español)
- (english)
- (français)
- (english)
- (italiano)
- (english)
- (english)
- (english)
- (deutsch)
- (english)
- (english)
- switzerland
- (english)
asia pacific
- (english)
- (english)
- (english)
- 中国
- (日本語)
- (한국어)