Engee documentation

Time Varying Gain

Time-varying gain (TVG) control.

time varying gain

Description

The Time Varying Gain unit applies time-varying gain to the input signals to compensate for the loss of range in each range gating. Time Varying Gain (TVG) is sometimes referred to as Automatic Gain Control (AGC).

Ports

Input

X - input signal

The Time Varying Gain block supports both real and complex scalar, vector or matrix input signals. If the Time Varying Gain input signal is real and the gain is complex, the output signal will be complex.

Data types: Float16, Float32, Float64, Int8, Int16, Int32, Int64, UInt8, UInt16, UInt32, UInt64.

Support for complex numbers: Yes

L - loss, dB

Losses specified as a column vector. The length of the vector must be equal to the number of rows in the input signal X.

The process equalises the power levels across all samples to match the given reference range. The gain is applied to each column in X independently. The number of rows in X cannot exceed the length of the loss vector specified in the Range losses (dB) parameters.

Data types: Float16, Float32, Float64, Int8, Int16, Int32, Int64, UInt8, UInt16, UInt32, UInt64.

Support for complex numbers: No

Output

Out - compensated signal

Compensated signal.

Data types: Float64.

Parameters

Source of range losses - source of range losses
Property (By default) | Input port

Specify the source of range losses as Property or Input Port

  • Property - range loss is defined by the Range loss (dB) parameters.

  • Input port - range loss is specified using the L input port.

Range loss (dB) - range loss
0.0 (By default)

Set range loss as a vector - elements correspond to samples in the input signal. Units are in dB.

Reference range loss (dB) - reference range loss
`0.0 (By default)

Reference range loss in dB; scalar value.