Main Content

rfdivider

Create three-port Wilkinson power divider element for circuit object

Since R2023a

    Description

    Use the new rfdivider object to create a three-port Wilkinson power divider element. You can add this object to your circuit object to create an RF circuit.

    Creation

    Description

    rfpd = rfdivider creates a three-port Wilkinson power divider element with default property values.

    rfpd = rfdivider(Name=Value) sets Properties of the power divider element using one or more name-value arguments. For example, rfpd = rfdivider(Impedance=75) sets the impedance of the Wilkinson power divider element to 75 ohms. Properties not specified retain their default values.

    example

    Properties

    expand all

    Name of the Wilkinson power divider element, specified as a string scalar or character vector.

    Example: 'Divider_Wilk'

    Data Types: char | string

    Reference impedance of the Wilkinson power divider element, specified as a positive scalar.

    Example: 75

    Data Types: double

    This property is read-only.

    Number of input and output ports, returned as a positive scalar.

    Data Types: double

    This property is read-only.

    Terminals of the three-port Wilkinson power divider element, returned as a cell array of strings.

    Data Types: string

    Object Functions

    sparametersCalculate S-parameters for RF data, network, circuit, and matching network objects
    circuitCircuit object
    cloneCreate copy of existing circuit element or circuit object

    Examples

    collapse all

    Create a default three-port Wilkinson power divider element.

    pd = rfdivider(Name='rfdivider1');

    Clone the three-port Wilkinson power divider element.

    pd2 = clone(pd);
    pd2.Name='rfdivider2';

    Create an amplifier element of gain 12 dB.

    amp = amplifier(Name='amplifier1',Gain=12);

    Clone the amplifier element.

    amp2 = clone(amp);
    amp2.Name = 'amplifier2';

    Create a circuit object.

    ckt = circuit;

    Add the divider named rfdivider1 to the circuit object.

    add(ckt,[1 2 3],pd);

    Add the amplifier named amplifer1 to the circuit object.

    add(ckt,[2 4],amp);

    Add the amplifier named amplifer2 to the circuit object.

    add(ckt,[3 5],amp2);

    Add the divider named rfdivider2 to the circuit object.

    add(ckt,[6 4 5],pd2);

    Use the setports function to set ports of the circuit object.

    setports(ckt,[1 0],[6 0],{'in','out'});

    Display the circuit object.

    disp(ckt)
      circuit: Circuit element
    
        ElementNames: {'rfdivider1'  'amplifier1'  'amplifier2'  'rfdivider2'}
            Elements: [1x4 rf.internal.circuit.Element]
               Nodes: [0 1 2 3 4 5 6]
                Name: 'unnamed'
    

    Plot the S-parameters of the circuit for frequencies between 0.51–11 GHz.

    freq = linspace(0.51e9,2e9,11);
    sparam = sparameters(ckt,freq);
    rfplot(sparam)

    Figure contains an axes object. The axes object with xlabel Frequency (GHz), ylabel Magnitude (dB) contains 4 objects of type line. These objects represent dB(S_{11}), dB(S_{21}), dB(S_{12}), dB(S_{22}).

    Version History

    Introduced in R2023a