Main Content

pcbElement

Create RF Toolbox circuit element

Description

Use thepcbElementobject to create an RF Toolbox™ circuit element.

Creation

Description

example

circuit_element = pcbElement(rfpcbobject)creates a PCB element object from a PCB component. You can use this element in an RF Toolbox circuit.

circuit_element = pcbElement(rfpcbobject,Name=Value)sets properties using one or more name-value arguments.

Input Arguments

expand all

PCB component object, specified as an RF PCB object. For a complete list of the PCB components, seePCB Components Catalog.

Properties

expand all

Compute S-parameters of the PCB element using the behavioral model, specified as a logical true or false. When you specify true, the object calculates the S-parameters using the behavioral model. When you specify false, the object calculates the S-parameters using the full-wave solver. For components and shapes that support the behavioral model, seeBehavioral Modelsandsparameters.

Data Types:logical

Examples

collapse all

Create a circuit using default properties.

ckt = circuit;

Create two interdigital capacitors, one using default properties and one with three fingers.

c1 = interdigitalCapacitor;c2 = interdigitalCapacitor('NumFingers',3);

View bothc1andc2.

show(c1)

figure; show(c2)

Convertc2to a PCB element with theBehavioralproperty set to false.

p = pcbElement(c2,'Behavioral',false);

Add both capacitors to the circuit object.

add(ckt,[1 2 0 0],c1)% default pcbElement created automaticallyadd(ckt,[2 3 0 0],p) setports(ckt,[1 0],[3 0])

Calculate the S-parameters.

S = sparameters(ckt,8e9)
S = sparameters: S-parameters object NumPorts: 2 Frequencies: 8.0000e+09 Parameters: [2×2 double] Impedance: 50 rfparam(obj,i,j) returns S-parameter Sij

References

[1] Pozar, David M.Microwave Engineering. 4th ed. Hoboken, NJ: Wiley, 2012.

Version History

Introduced in R2021b

See Also