Main Content

mdlxPart

Create Modelithics component

Since R2023a

    Description

    Use the mdlxPart object to create a Modelithics® component. After creating this object, you can add the mdlxPart object to a circuit object and compute the S-parameters of the circuit.

    Note

    This object requires a Modelithics SELECT+ Library™ license. For more information, see Modelithics SELECT+ Library for MATLAB.

    Creation

    Description

    pobj = mdlxPart(mdlxlib,pnumber,ptype,pvendor,substrate) creates a component object with the part number, part type, vendor name, and substrate available in the Modelithics library. The ptype and substrate arguments set the Type and Substrate properties, respectively.

    example

    pobj = mdlxPart(___,Name=Value) sets Properties of the Modelithics part object using one or more name-value arguments. For example, mdlxPart(mdlx,'600S','Capacitors','ATC','Rogers4350B4mil',Value=1.2e-12) creates a 600S capacitor from ATC mounted on the Rogers4350B4mil substrate with a capacitance value of 1.2e-12. Properties not specified retain their default values.

    Input Arguments

    expand all

    Modelithics library object, specified as a mdlxLibrary object.

    Component number of the Modelithics component, specified as a string or a character vector.

    Example: 600s

    Vendor name of the Modelithics component, specified as a string or character vector.

    Properties

    expand all

    This property is read-only.

    Type of passive component, returned as 'Capacitors', 'Inductors', or 'Resistors'.

    Example: Resistors

    Dependencies

    To set this property, specify input argument ptype as 'Capacitors', 'Inductors', or 'Resistors'.

    Value of the passive component, specified as a real scalar. You can specify the capacitance, inductance, and resistance values in farads, henries, or ohms, respectively.

    Example: 1e-12

    Name of the substrate, specified as a string scalar or character vector. Specify a substrate name from the substrates available in Modelithics SELECT+ Library.

    Simulation mode for the mdlxPart object, specified as one of these:

    • Full parasitic — Simulate with parasitics including substrates, pad, and internal

    • Ideal — Simulate as an ideal model

    • No pad stacks — Simulate without the pad interaction

    • Simplified parasitic — Simulate with internal parasitic only

    Pad length of the component, specified as a real scalar in meters.

    Note

    You can set this property only if your Modelithics SELECT+ Library component is pad scalable. To check for pad scalability, refer to the datasheet of the component or use the datasheet function to open the datasheet of the Modelithics component.

    Pad width of the component, specified as a real scalar in meters.

    Note

    You can set this property only if your Modelithics SELECT+ Library component is pad scalable. To check for pad scalability, refer to the datasheet of the component or use the datasheet function to open the datasheet of the Modelithics component.

    Pad gap in the component, specified as a real scalar in meters.

    Note

    You can set this property only if your Modelithics SELECT+ Library component is pad scalable. To check for pad scalability, refer to the datasheet of the component or use the datasheet function to open the datasheet of the Modelithics component.

    Orientation of the component in the printed circuit board (PCB), specified as either Horizontal or Vertical.

    Note

    You can set this property only if your Modelithics SELECT+ Library component is orientation selectable. To check for orientation selectable, refer to the datasheet of the component or use the datasheet function to open the datasheet of the Modelithics component.

    This property is read-only.

    Name of the component, returned as a string scalar. The name is a concatenation of the vendor name in pvendor and component number in pnumber.

    This property is read-only.

    Terminals of the component, returned as a cell array of strings.

    This property is read-only.

    Nodes of the parent circuit connected to the terminals of the component, returned as a vector of integers. To display the ParentNodes property, add the component to a circuit object.

    This property is read-only.

    Full path of the parent circuit that the component belongs to, returned as a string. To display the ParentPath property, add the component to a circuit object.

    Object Functions

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

    Examples

    collapse all

    Set up Modelithics SELECT+ Library™.

    mdlxSetup('C:\mdlx_library\SELECT')
    

    Create a new Modelithics library object related to the library you set up.

    mdlx = mdlxLibrary;
    

    Search the library for a component that you can mount on the Rogers4350B4mil substrate with the vendor name ATC.

    search(mdlx,'Rogers4350B4mil',Vendor='ATC')
    

    search-mdlx.png search-substrate.png

    The ATC 600S capacitor on a 4 mil Roger 4350B substrate fits the search criteria. Create a Modelithics component object that matches these characteristics.

    pobj = mdlxPart(mdlx,'600S','Capacitors','ATC','Rogers4350B4mil',Value=1.2e-12);
    

    Create a circuit named C_ATC_600S_Rogers4350B4mil.

    hckt = circuit('C_ATC_600S_Rogers4350B4mil')
    

    ckt-mdlx.png

    Add the Modelithics component to the circuit.

    add(hckt,[1 2],pobj);
    

    Set the ports of the circuit.

    setports(hckt, [1 0],[2 0]);
    

    Display the Modelithics component.

    disp(pobj)
    

    mdlxpart.png

    Calculate the S-parameters of the circuit.

    S = sparameters(hckt,freq);
    

    Plot the S-parameters characteristics.

    figure;
    rfplot(S)
    

    sparameters-mdlx.png

    Version History

    Introduced in R2023a