rfelement
Generic RF element object
Description
Creation
Properties
Name
—名字来识别射频element
'RFelement'
(default) |character vector
Name given to identify rf element, specified as a character vector. All names must be valid MATLAB®可变名称。
Example:'Name','rfel'
Example:rfel.Name = 'rfel'
获得
—Available power gain
0
(default) |scalar
Available power gain, specified as a scalar in dB.
Example:“获得”,10
Example:rfel.Gain = 10
nf
—噪声图
0
(default) |real finite nonnegative scalar
噪声图, specified as a real finite nonnegative scalar dB.
Example:'nf',-10
Example:rfel.NF = -10
OIP2
—Second -order output-referred intercept point
inf
(default) |real scalar
Second -order output-referred intercept point, specified as a real scalar in dBm.
Example:'OIP2',8
Example:放大器。OIP2= 8
OIP3
—第三阶输出引用截距点
inf
(default) |real scalar
第三阶输出引用截距点, specified as a real scalar in dBm.
Example:'oip3',10
Example:放大器.OIP3 = 10
Zin
—Input impedance
50
(default) |积极的实际部分有限标量
输入阻抗,在欧姆中指定为正真实部分有限标量。您也可以使用具有积极实际部分的复杂值。
Example:'Zin',40
Example:rfel.zin = 40
Zout
—Output impedance
50
(default) |积极的实际部分有限标量
Output impedance, specified as a scalar in Ohms. You can also use a complex value with a positive real part.
Example:'Zout',40
Example:rfel.zout = 40
NumPorts
—Number of ports
2
(default) |scalar integer
端口数,指定为标量整数。此属性仅阅读。
'Terminals'
—Names of port terminals
{'p1+' 'p2+' 'p1-' 'p2-'}
(default) |cell vector
Names of port terminals, specified as a cell vector. This property is read-only.
Object Functions
clone |
创建现有电路元件或电路对象的副本 |
Examples
RF Element
创建一个rfelement对象,增益为10 dB,噪声图为3 dB,而OIP3(输出三阶截距)为2 dbm。
r = rfelement(“获得”,10,'nf',3,'oip3',2)
r = rfelement: RF element Name: 'RFelement' Gain: 10 NF: 3 OIP2: Inf OIP3: 2 Zin: 50 Zout: 50 NumPorts: 2 Terminals: {'p1+' 'p2+' 'p1-' 'p2-'}
RF Element Circuit
Create an rf element with a gain of 4 dB. Create another rf element with an output third-order intercept(OIP3) of 13 dBm.
rfel1 = rfelement(“获得”,4); rfel2 = rfelement('oip3',13);
使用上述RF元素构建2端口电路。
c = circuit([rfel1 rfel2])
c = circuit: Circuit element ElementNames: {'RFelement' 'RFelement_1'} Elements: [1x2 rfelement] Nodes: [0 1 2 3] Name: 'unnamed' NumPorts: 2 Terminals: {'p1+' 'p2+' 'p1-' 'p2-'}
RF预算分析of Series of RF Elements
Create an amplifier with a gain of 4 dB.
a = amplifier(“获得”,4);
使用13 dBm的OIP3创建一个调制器。
m = modulator('oip3',13);
Create an nport usingpassive.s2p
.
n = nport('passive.s2p');
Create an rf element with a gain of 10 dB.
r = rfelement(“获得”,10);
以2.1 GHz的输入频率,-30 dBM的可用输入功率和10 MHz的带宽计算一系列RF元件的RF预算。
b = rfbudget([a m r n],2.1e9,-30,10e6)
b = rfbudget with properties: Elements: [1x4 rf.internal.rfbudget.Element] InputFrequency: 2.1 GHz AvailableInputPower: -30 dBm SignalBandwidth: 10 MHz Solver: Friis AutoUpdate: true Analysis Results OutputFrequency: (GHz) [ 2.1 3.1 3.1 3.1] OutputPower: (dBm) [ -26 -26 -16 -20.6] TransducerGain: (dB) [ 4 4 14 9.4] NF: (dB) [ 0 0 0 0.1392] IIP2: (dBm) [] OIP2: (dBm) [] IIP3: (dBm) [ Inf 9 9 9] OIP3: (dBm) [ Inf 13 23 18.4] SNR: (dB) [73.98 73.98 73.98 73.84]
输入show
command at the command window to display the analysis in theRF预算分析仪应用程序。
show(b)
Version History
Open Example
You have a modified version of this example. Do you want to open this example with your edits?
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
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:.
您还可以从以下列表中选择一个网站:
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
- AméricaLatina(Español)
- Canada(English)
- United States(English)
欧洲
- Belgium(English)
- 丹麦(English)
- Deutschland(德意志)
- España(Español)
- Finland(English)
- 法国(Français)
- 爱尔兰(English)
- Italia(Italiano)
- Luxembourg(English)
- Netherlands(English)
- 挪威(English)
- Österreich(德意志)
- Portugal(English)
- Sweden(English)
- Switzerland
- United Kingdom(English)