Engee documentation

Outport

Converts the RF signal into a complex output signal.

blockType: SubSystem

Path in the library:

/RF/Circuit Envelope/Utilities/Outport

Description

Block Outport converts carrier modulation signals in the modeling environment to the library envelope RF Blockset into signals for use in other libraries.

The unit receives complex current and voltage envelope signals or real bandwidth signals. Complex baseband signals consist of common-mode ( ) and quadrature ( ) components based on each set center frequency . Parameter Sensor type determines which signal is being measured by the unit, and the parameter Output sets the format of the output signal.

Ports

Output

# BB — The output signal
scalar | vector

Details

The output signal.

The type of the output signal is set in the parameter Output.

Data types

Float64

Complex numbers support

Yes

Conserving

# + — The input signal
electricity

Details

The electrical port corresponding to the positive terminal of the RF circuit.

Program usage name

AcausalPort_c6b7728b-5ac4-463d-9199-77ddbf0a7071

# - — The input signal
electricity

Details

The electrical port corresponding to the negative terminal of the RF circuit.

Program usage name

AcausalPort_03f46bbc-ac86-4db1-8a8d-9097008f3cd1

Parameters

Main group

# Sensor type — the type of signal measured by the sensor
Ideal voltage | Ideal current | Power

Details

The type of signal measured by the sensor is indicated as:

  • Ideal voltage — the unit outputs input signals in the form of voltage signals at the specified carrier frequency Carrier frequencies, Hz in the format specified by the parameter Output. This is the recommended option for measuring the signal without adding load impedance and changing the matching conditions.

  • Ideal current — the block outputs input signals in the form of current signals at the specified carrier frequency Carrier frequencies, Hz in the format specified by the parameter Output.

  • Power — the unit outputs voltage signal modulations at the specified carrier frequency Carrier frequencies, Hz and scales them relative to the specified internal load resistance. This is the recommended option for interpreting the signal generated in the environment. RF Blockset for 50 ohms or other reference impedance. When this option is used, the unit automatically inserts the load resistance into the circuit.

    where — parameter value Load impedance (Ohm).

Values

Ideal voltage | Ideal current | Power

Default value

Ideal voltage

Program usage name

sensor_type

Tunable

No

Evaluatable

Yes

# Load impedance (Ohm) — RF circuit load resistance

Details

The load resistance of the RF circuit used to measure signal power is given as a vector of positive integers in ohms. If for the parameter Sensor type If the value Power is specified, the unit automatically inserts the load resistance into the circuit. When multiple blocks are used Outport As power sources in a single node of this circuit, the resulting load is a parallel combination of the specified load resistances.

Dependencies

To use this parameter, set for the parameter Sensor type the Power value.

Default value

50

Program usage name

load_impedance

Tunable

No

Evaluatable

Yes

# Output — output signal format
Complex Baseband

Details

The format of the output signals.

At the moment, only the Complex Baseband option is implemented — the block outputs a vector of complex signals to the output port. , where The th element of the vector is -I am the frequency set by the parameter Carrier frequencies, Hz.

Values

Complex Baseband

Default value

Complex Baseband

Program usage name

output_type

Tunable

No

Evaluatable

Yes

# Carrier frequencies, Hz — carrier frequencies

Details

Carrier frequencies specified as a vector of positive integers in Hz. In the parameter Carrier frequencies, Hz The elements are a combination of the fundamental tone and the corresponding harmonics in the block Configuration.

Default value

0

Program usage name

carrier_freq

Tunable

No

Evaluatable

Yes

# Automatically compute output step size — determine the optimal time step to resolve the highest of the listed carrier frequencies

Details

Determine the optimal time step to resolve the highest carrier frequency indicated as on or off. Select this option to allow the RF Blockset to determine the optimal time step for resolving the highest carrier frequency. Deselect the parameter to enter a value for the step size.

Default value

true (switched on)

Program usage name

auto_compute_step_size

Tunable

No

Evaluatable

Yes

# Step size, s — time step

Details

The time step is set as a positive integer in C. The step size must be small enough to allow the fastest carrier signal. The size helps to avoid under-sampling of the output signal in the bandwidth and the effects of spectrum overlap.

Set the time step value to -1 to inherit the time step specified in the block. Configuration.

Default value

1.0e-6

Program usage name

step_size

Tunable

No

Evaluatable

Yes

# Interpolation Filter Half Polyphase Length — Filter half-phase length

Details

The length of the filter half-phase, set as a non-negative integer. Set the half-phase length to a value greater than zero to reduce unwanted spectral images at the real bandwidth output. If this parameter is set to 0, the block will not filter.

Dependencies

To enable this option, set Output on the `Real Passband'.

Default value

12

Program usage name

intep_filer_length

Tunable

No

Evaluatable

Yes

# Ground and hide negative terminal — RF circuit grounding terminals

Details

The grounding of the RF circuit terminals, indicated as on or off. Select this option to ground and hide the negative terminals. Uncheck this option to open the negative terminals. By opening these terminals, you can connect them to other parts of the model.

This option is selected by default.

Default value

false (switched off)

Program usage name

ground_negative_terminal

Tunable

No

Evaluatable

Yes

More detailed

Modeling of a multiband envelope

Details

Using the block Inport You can specify complex envelopes of input signals and import them as RF signals to simulate multiband signals.

Block Configuration Automatically detects the fundamental tones specified in the input ports and suggests the appropriate harmonic order to reflect the system’s non-linearity. You can also manually specify the harmonic order for each fundamental tone during modeling.

You can specify any number of carrier frequencies. It is recommended to choose between the simulation bandwidth (inversely proportional to the simulation time step) and the total number of simulation frequencies.

The illustration shows a simulation of an envelope with multiple carriers. In this illustration, the complex envelope of the modulated input signals consists of carriers, the envelope of the circuit consists of harmonic tones, and the complex envelope around the selected carrier consists of the envelope of the signal.

inport 3 en

The formula for the time step

Details

The formula for the selected time step is as follows:

where

  • – the highest of the specified carrier frequencies;

  • – the time step specified in the block Configuration.