Main Content

matchingnetwork

Create matching network for 1-port network and generate circuit object

描述

Use thematchingnetwork对象为1端口网络创建匹配的网络电路,该网络将给定源的阻抗与指定中心频率下给定负载的阻抗相匹配。这matchingnetworkobject stores the generated network as a电路object in theCircuit财产。功能exportCircuitscould be also used to export the selected circuit(s) generated.

您可以使用匹配网络设计er应用程序设计,可视化和比较单端口负载的匹配网络。有关更多信息,请参阅匹配网络设计er

Creation

描述

example

matchnet = matchingnetwork创建具有默认属性值的匹配网络对象。

example

matchnet = matchingnetwork(Name,Value)sets properties using one or more name-value pairs. For example,matchnet = matchingnetwork('SourceImpedance','60')creates a matching network with a source impedance of 60 ohms.

Properties

展开全部

Source impedance as seen at the terminals looking from the network into the source, specified as one of the following:

  • 欧姆中的恒定复杂标量

  • sparametersobject

  • yparametersobject

  • zparametersobject

  • File name of aTouchstone文件

  • One-port circuit object

  • Antenna Toolbox™ antenna object

  • Function handle to a function that computes an impedance list from a frequency list

例子:“源消耗”,60

例子:matchnet.SourceImpedance = 60

例子:'SourceImpedance','default.s1p'

数据类型:双倍的|char|string|function_handle

负载阻抗如从匹配网络看向负载的终端所示,指定为以下一个:

  • 欧姆中的恒定复杂标量

  • sparametersobject

  • yparametersobject

  • zparametersobject

  • File name of aTouchstone文件

  • One-port circuit object

  • 天线工具箱天线对象

  • Function handle to a function that computes an impedance list from a frequency list

例子:'LoadImpedance',60

例子:matchnet.LoadImpedance = 60

数据类型:双倍的|char|string|function_handle

Frequency to calculate the impedance match between the source and the load, specified as a real positive scalar in hertz

例子:“中心频率”,1E9

例子:matchnet.CenterFrequency = 1e9

数据类型:双倍的

所需的带宽(换能器增益> =在此带宽上以上为中心的3 dBCenterFrequency), specified as a real positive scalar in hertz.

例子:'BandWidth',100e6

例子:matchnet.bandwidth = 100E6

数据类型:双倍的

Desired loaded quality factor, specified as a real positive scalar. SettingLoadedQ更新带宽。如果指定CenterFrequency,LoadedQis recalculated fromCenterFrequencyand带宽

例子:'LoadedQ',2

例子:matchnet.LoadedQ = 2

数据类型:双倍的

Note

这addition of a third element introduces an added degree of freedom allowing you to control theLoadedQ财产。因此,Bandwidthand theLoadedQ有两个组件时被隐藏。有关更多信息,请参阅[1]

匹配网络设计的组件数量或拓扑类型,指定为2or3for the number of components and'Pi','球座', or,'L'for the type of topology.

例子:'Components','Pi'

例子:matchnet.Components = 'Pi'

数据类型:双倍的|char|string

An array of circuit objects containing possible matching network designs for the given set of parameters.

Note

This is a read-only property.

对象功能

addEvaluationParameter Adds performance goal for sort, pass, or fail matching network design
电路描述 描述每个创建匹配网络的拓扑和性能的表
getEvaluationParameters Table of evaluation parameters currently used to rank and pass or fail matching network designs
clearEvaluationParameter 删除一个或多个性能目标
exportCircuits Select and export generated matching networks as circuit objects from an existing matching network object
RFPLOT Plot input reflection coefficient and transducer gain of matching network
smithplot 史密斯图上的绘图测量数据
sparameters Calculate S-parameters for RF data, network, circuit, and matching network objects

例子

全部收缩

Create a default matching network using the object,matchingnetwork

matchnet = matchingnetwork
matchnet = matchingnetwork with properties: SourceImpedance: 50 Ohms LoadImpedance: 50 Ohms CenterFrequency: 1 GHz Components: 2 Circuit: [1x2 circuit]

Create a matching network with source impedance, 100 ohms, load impedance, 75 ohms, center frequency, 2 GHz, desired loaded quality factor, 5, and the number of components, 3.

mnobj = matchingnetwork('SourceImpedance',100,'LoadImpedance',。。。75,“中心频率”,2e9,'LoadedQ',5,'Components',3)
mnobj =与属性的匹配网络:源消感:100欧姆载荷:75欧姆中心频率:2 GHz带宽:400 MHz组件:3 LoadEdq:5 courivetedQ:5电路:[1x8电路]

显示匹配的网络词列表rcuits generated and their corresponding performance

[Circuit_list,performance] =电路描述(MNOBJ)
电路_list=8×7 tablecircuitName component1Type component1Value component2Type component2Value component3Type component3Value ___________ ______________ _______________ ______________ _______________ ______________ _______________ Circuit 1 "auto_2" "Shunt C" 3.9789e-12 "Series L" 2.1389e-10 "Shunt L" 1.3876e-09 Circuit 2 "auto_7" "Seriesc“ 1.8501E-13”并素C” 2.8519E-14“系列L” 2.9842E-08电路3“ auto_3”“ auto_3”“ shunt l” 1.5915E-09“系列C” 2.9607e-11E-111'E 4.5637E- 4.5637E---12电路4“ auto_6”“系列L” 3.4228E-08“并弦L” 2.2205E-07“系列C” 2.1221E-13电路5“ auto_1”“ auto_1”“ shunt c” 3.9789e-12”系列L'2.8468e-2.8468e--09“对管C” 4.5637E-12电路6“ auto_5”“ auto_5”系列l“ 3.4228e-08” shunt c“ 3.7957e-13”系列L“ 2.9842e-08 Circuit 7” auto_4“ auto_4” auto_4“09“系列C” 2.2245E-12“对并弦L” 1.3876E-09电路8“ auto_8”“ series C” 1.8501E-13“ shunt l” 1.6684E-08“系列C” 2.1221E-13
performance=8×4桌电路Name evaluationPassed testsFailed performanceScore ___________ ________________ ____________ ________________ Circuit 1 "auto_2" {["Yes"]} {0×0 double} {[ 1.9447]} Circuit 2 "auto_7" {["Yes"]} {0×0 double} {[ 1.9447]} Circuit 3 "auto_3" {["Yes"]} {0×0 double} {[ 1.9443]} Circuit 4 "auto_6" {["Yes"]} {0×0 double} {[ 1.9443]} Circuit 5 "auto_1" {["No" ]} {[ 1]} {[-0.1254]} Circuit 6 "auto_5" {["No" ]} {[ 1]} {[-0.1254]} Circuit 7 "auto_4" {["No" ]} {[ 1]} {[-0.6947]} Circuit 8 "auto_8" {["No" ]} {[ 1]} {[-0.6947]}

Plot the frequency response of the best circuit (Circuit #1) between 0.5 GHz and 2.5 GHz.

frequencies = linspace(0.5e9,2.4e9); CircuitIndex = 1;% Best circuit is sorted to the topRFPLOT(mnobj,frequencies,CircuitIndex)

Plot impedance transformation for the best matching network generated (Circuit#1). For more information, seesmithplot

smithplot(mnobj)

To export a selected matching network circuit, for example, Circuit #5:

CircuitIndex = 5; mn_circuit = mnobj.Circuit(CircuitIndex)
mn_circuit = circuit: Circuit element ElementNames: {'C' 'L' 'C_1'} Elements: [1×3 rf.internal.circuit.RLC] Nodes: [1 2 3] Name: 'unnamed' NumPorts: 2 Terminals: {'p1+' 'p2+' 'p1-' 'p2-'}

或者,使用导出电路(M,CircuitIndex)。

Show the default evaluation parameters used by the matching network.

ep = getEvaluationParameters(mnobj)
EP =1×6桌Parameter Comparison Goal Band Weight Source _________ __________ ______ ____________ ______ _____________ {'Gt'} {'>'} {[-3]} {1×2 double} {[1]} {'Automatic'}

Add a new evaluation parameter and plot the frequency response of Circuit #1.

mnobj = mnobj.addevaluation参数('gammain','>',-2,[0.5E9 1.5E9],1)
mnobj =与属性的匹配网络:源消感:100欧姆载荷:75欧姆中心频率:2 GHz带宽:400 MHz组件:3 LoadEdq:5 courivetedQ:5电路:[1x8电路]
RFPLOT(MNOBJ,频率,1)

创建偶极天线并创建天线的S-参数。此示例需要天线工具箱。

d = dipole('Length', 0.103,'宽度',0.0022); freq = linspace(0.5e9,2.5e9,1001); sd = sparameters(d, freq);

或者,从垫子文件加载S-参数

% load('sparams_dipole.mat')

创建一个匹配网络的参数。

n = matchingnetwork('LoadImpedance',sd,'Components',3,。。。'LoadedQ',7,“中心频率”,2e9);

获取网络的评估参数。

t = getEvaluationParameters(n)
t=1×6桌Parameter Comparison Goal Band Weight Source _________ __________ ______ _________________________ ______ _____________ {'Gt'} {'>'} {[-3]} {[1.8571e+09 2.1429e+09]} {[1]} {'Automatic'}

Plot the reflection coefficient and transducer gain of the matching network circuit 1 , at a frequency range of 1 GHz to 2.5 GHz.

RFPLOT(n, (1e9:0.001e9:2.5e9),1);

Figure Circuit 1 contains an axes object. The axes object with title Performance for Circuit 1 ('auto_6') (Passed) contains 3 objects of type line, rectangle. These objects represent Circuit 1: |gammain|, dB, Circuit 1: |Gt|, dB.

Add a new evaluation parameter to compare the transducer gain to have a cut-off of less than -10 dB. Use a frequency range of 0.5 GHz to 1.5 GHz. Plot the comparisons.

n = addEvaluation参数(n,'gt','<',-10,[0.5E9 1.5E9],1);t = getEvaluationParameters(n)
t=2×6 tableParameter Comparison Goal Band Weight Source _________ __________ _______ _________________________ ______ __________________ {'Gt'} {'>'} {[ -3]} {[1.8571e+09 2.1429e+09]} {[1]} {'Automatic' }{'gt'} {'<'} {[-10]} {[500000000 1.5000E+09]} {[1]} {'用户指定'}
RFPLOT(n, (1e9:0.001e9:2.5e9),1);

Figure Circuit 1 contains an axes object. The axes object with title Performance for Circuit 1 ('auto_8') (Passed) contains 4 objects of type line, rectangle. These objects represent Circuit 1: |gammain|, dB, Circuit 1: |Gt|, dB.

Clear evaluation parameters.

n = clearevaluation参数(n,1);t = getEvaluationParameters(n)
t=1×6桌Parameter Comparison Goal Band Weight Source _________ __________ _______ ________________________ ______ __________________ {'Gt'} {'<'} {[-10]} {[500000000 1.5000e+09]} {[1]} {'User-specified'}

此示例显示了如何使用100欧姆的参考阻抗计算自动生成电路2的新创建的匹配网络的S-参数。

n = matchingnetwork('LoadImpedance',100,'Components',3);freq = linspace(n.centerfrequency-n.bandwidth/2,n.centerfquency+n.bandwidth/2);refz0 = 100;ckt_no = 2;s = sparameters(n,freq,refz0,ckt_no)
S = Sparameters:S-Parameters对象NUMPORTS:2频率:[100x1 double]参数:[2x2x100 double]阻抗:100 rfparam(obj,i,j)返回s-parameter sij

References

[1] Ludwig, Reinhold, and Gene Bogdanov.RF Circuit Design: Theory and Applications。Prentice-Hall, 2009.

[2] Bowick, Chris, et al.RF Circuit Design。第二版,2008年。

Version History

Introduced in R2019a