主要内容

add

Add search parameters to rfPartSelector object

Since R2026a

    Description

    add(rfse,'SelectedSearchParameters',Name=Value) adds search parameters to select RF components from a third-party database using one or more name-value arguments.

    Note

    Install the third-party component database containing Analog Devices™ amplifiers with the installRFParts() command.

    example

    add(rfse,'DisplayColumns',displayFields) adds the display columns specified in displayFields to the part parameter table.

    add(rfse,'DisplayColumns','all') resets the part selection table to display all the columns in it.

    Examples

    collapse all

    Install the third-party component database.

    installRFParts()
    

    First, create an rfPartSelector object to specify the type of component you want to select.

    rfps = rfPartSelector(Type='amplifier',Vendor='ADI')
    

    Display all the available amplifier components from the database.

    show(rfps,'all')
    

    The installed database contains 174 amplifiers. Add filters to select amplifiers that operate with gain between 12 dB and 20 dB, noise figure between 4 dB and 10 dB, OP1 between 20 dBm and 30 dBm, and OIP3 between 20 dBm to 30 dBm.

    add(rfps,"SelectedSearchParameters","GainRange",[12 20], "NoiseFigureRange",[4 10],"OP1dBRange",[20 30],"OIP3Range",[20 30])
    

    Display the selected amplifiers.

    show(rfps,'selected')
    

    The part parameter table contains 14 columns. Retain only the columns that are relevant to your search criteria. For this example, remove five parameters.

    remove(rfps,"DisplayColumns","OPSAT (dBm)","Voltage (V)", "Current (mA)", "Operating Temp (degC)","Package Type")
    

    Display the selected amplifiers with the updated part parameter table.

    show(rfps,'selected')
    

    Use the rfPart function to create amplifiers objects. For this example, create an amplifier object for the first amplifier in the table.

    amp = rfPart(rfps,1)
    

    Compute the S-parameters of the selected amplifier and plots its characteristics.

    spar = sparameters(amp,linspace(4e9,20e9,101));
    rfplot(spar);
    

    Input Arguments

    collapse all

    RF part selector, specified as an rfPartSelector object.

    Name of column to display, specified as one or more of the following:

    • Part Number

    • RF Primary Function

    • Min Freq (MHz)

    • Max Freq (MHz)

    • Gain (dB)

    • Noise Figure (dB)

    • OP1dB (dBm)

    • OIP3 (dBm)

    • OPSAT (dBm)

    • Voltage (V)

    • Current (mA)

    • Operating Temp (degC)

    • Package Type

    Name-Value Arguments

    collapse all

    Specify optional pairs of arguments as Name1=Value1,...,NameN=ValueN, where Name is the argument name and Value is the corresponding value. Name-value arguments must appear after other arguments, but the order of the pairs does not matter.

    Example: add(rfse,'SelectedSearchParameters',Frequency=2000,RFPrimaryFunction='VGA')

    Part number of a third-party component, specified as a string. The value you specify in PartNumber must match with a part number in the installed database. To display the part numbers of all parts in the installed third-party database, use the show function.

    Example: PartNumber='ADL5240AMP'

    Component application, specified as a character vector. The value you specify in RFPrimaryFunction must match with a application in the installed database. To display the component applications of all parts in the installed third-party database, see the show function.

    Example: RFPrimaryFunction='VGA'

    Component frequency, specified as a nonnegative integer in Hz.

    Example: Freqeuncy=500

    Minimum frequency range of operation, specified as a two-element vector of a nonegative integers in Hz.

    Example: MinFrequencyRange=[5000 10000]

    Maximum frequency range of operation, specified as a two-element vector of a nonegative integers in Hz.

    Example: MaxFrequencyRange=[5000 10000]

    Component gain range, specified as a two-element vector of a nonnegative integer in dB.

    Example: GainRange=[10 20]

    Noise figure range of the selected components, specified as a two-element vector of a nonnegative integers in dB.

    Example: NoiseFigureRange=[2 4.6]

    First-order intercept range of the selected components, specified as a two-element vector of a nonnegative integers in dBm.

    Example: OP1dBRange=[10 19]

    Third-order intercept range of the selected components, specified as a two-element vector of a nonnegative integers in dBm.

    Example: OIP3Range=[10 19]

    Output saturation range of the selected components, specified as a two-element vector of a nonnegative integers in dBm.

    Example: OPSATRange=[10 19]

    Operating voltage range of the selected components, specified as a two-element vector of a nonnegative integers in V.

    Example: VoltageRange=[0.4 5.2]

    Operating voltage range of the selected components, specified as a two-element vector of a nonnegative integers in mA.

    Example: CurrentRange=[0.2 1.9]

    Operating temperature range of the selected components, specified as a two-element vector of a nonnegative integers in C.

    Example: OperatingTempRange=[10 32]

    Package type of the selected components, specified as a character vector. The value you specify in Package must match with a package type in the installed database. To display the package of all parts in the installed third-party database, see the show function.

    Example: Package='8-Lead-LFCSP

    Version History

    Introduced in R2026a