# Inport

Convert Simulink input signal to SimRF signal

Utilities

## Description

The Inport block imports Simulink® signals into the SimRF™ circuit envelope simulation environment. For an introduction to RF simulation, see the example, Simulate High Frequency Components.

Complex-valued input signals Ik(t) + j · Qk(t) are the modulations at the frequencies {fk} specified in the Carrier frequencies parameter of the block.

The Source type parameter specifies the Simulink signal as either current, or voltage, or power source.

## Dialog Box and Parameters

Source type

Specify a current, voltage, or power source. If the input signal is a vector containing more than one signal, the block assigns the kth input signal to the kth carrier.

Choose how the block interprets the Simulink signal:

• `Ideal voltage` — The block outputs Simulink signals as voltage signals v(t) in the SimRF environment. When you choose this option, the following figure illustrates the internal configuration of the block.

• `Ideal current` — The block outputs Simulink signals as current signals i(t) in the SimRF environment. When you choose this option, the following figure illustrates the internal configuration of the block.

• `Power` — The block interprets the Simulink signals, Pv(t), as available power and internally uses a voltage source, and series impedance as shown in the following figure.

The voltage v(t) is a scaling of the Simulink signal vSL(t):

$v\left(t\right)=2\sqrt{\text{Re}\left({Z}_{s}\right)}{v}_{SL}\left(t\right)$

In the preceding equation, Zs is the value of the Source impedance (ohms) parameter.

The generator delivers a real power to a load Zl:

${P}_{load}={|v\left(t\right)|}^{2}\frac{\mathrm{Re}\left({Z}_{s}\right)}{|{Z}_{s}+{Z}_{l}|{\text{​}}^{2}}$

When Zl = Zs*, this generator delivers the available power |vSL(t)|2.

Source impedance (ohms)

When Input is set to `Power`, specify a source impedance for available power match. When you use multiple Inport blocks as power sources at the same node in a given circuit, each block modifies the load for other components connected to that shared node, so the maximum available power is not achieved. By default, the series impedance is 50.

Carrier frequencies

Enter a vector of carrier frequencies whose elements are combinations of fundamental tones and corresponding harmonics in the Configuration block. Specify the units from the corresponding drop-down list. The default value of this parameter is `0` `Hz`.

Ground and hide negative terminals

Select this option to internally ground and hide the negative terminals. Clear this to expose the negative terminals. By exposing these terminals, you can connect them to other parts of your model.

By default, this option is selected.

## Examples

The example Two-Tone Envelope Analysis Using Real Signals shows how to use Inport and Outport blocks to position an RF system as part of a larger workflow.