Engee documentation

AWGN Channel

Page in progress.

Adds white Gaussian noise to the input signal.

blockType: AWGN

Path in the library:

/Communication Systems/Channels/AWGN Channel

Description

The AWGN Channel block adds white Gaussian noise to the input signal. It inherits the sampling period from the input signal.

Ports

Output

# Outdescription missing

Details

Description missing

Data types

Description missing

Complex numbers support

Description missing

Input

# Indescription missing

Details

Description missing

Data types

Description missing

Complex numbers support

Description missing

# Vardescription missing

Details

Description missing

Data types

Description missing

Complex numbers support

Description missing

Parameters

Main

# Initial seeddescription missing
Real number

Details

description missing

Default value

67

Program usage name

seed

Tunable

No

Evaluatable

Yes

# Modedescription missing
Signal to noise ratio (Eb/No) | Signal to noise ratio (Es/No) | Signal to noise ratio (SNR) | Variance

Details

description missing

Values

Signal to noise ratio (Eb/No) | Signal to noise ratio (Es/No) | Signal to noise ratio (SNR) | Variance

Default value

Signal to noise ratio (SNR)

Program usage name

noiseMode

Tunable

No

Evaluatable

No

# Eb/No (dB)description missing

Details

description missing

Default value

10

Program usage name

EbNodB

Tunable

No

Evaluatable

Yes

# Es/No (dB)description missing

Details

description missing

Default value

10

Program usage name

EsNodB

Tunable

No

Evaluatable

Yes

# SNR (dB)description missing

Details

description missing

Default value

10

Program usage name

SNR

Tunable

No

Evaluatable

Yes

# Noise variance sourcedescription missing
Parameter | Input port

Details

description missing

Values

Parameter | Input port

Default value

Parameter

Program usage name

NoiseVarianceSource

Tunable

No

Evaluatable

No

# Noise variancedescription missing

Details

description missing

Default value

1

Program usage name

NoiseVariance

Tunable

No

Evaluatable

Yes

# Number of bits per symboldescription missing

Details

description missing

Default value

1

Program usage name

bitsPerSym

Tunable

No

Evaluatable

Yes

# Input signal power, referenced to 1 ohm (watts)description missing

Details

description missing

Default value

1

Program usage name

SignalPower

Tunable

No

Evaluatable

Yes

# Samples per symboldescription missing

Details

description missing

Default value

1

Program usage name

SamplesPerSymbol

Tunable

No

Evaluatable

Yes

Algorithms

Relationship between Eb/No, Es/No and SNR modes

For uncoded complex input signals, block AWGN Channel links , and according to these equations:

,

in dB,

where

  • - signal energy in J

  • - bit energy in J;

  • - noise power spectral density in W/Hz;

  • - parameter value Samples per symbol;

  • - signal symbol period in seconds

  • - inherited block calculation time in seconds;

  • - number of information bits per input symbol, value of the parameters Number of bits per symbol.

For valid input signals, the AWGN Channel block links and according to this equation:

.

  • All power values assume a nominal impedance of 1 ohm.

  • The equation for the real case differs from the corresponding equation for the complex case by a factor of 2. Specifically, the facility uses a noise power spectral density of W/Hz for real input signals versus W/Hz for complex signals.

Specifying noise variance directly or indirectly

To directly specify the variance of the noise generated by AWGN Channel, set the parameters Mode to Variance. When you set the parameters Noise variance source to :

  • Parameter - The variance is specified as a positive scalar or vector using the parameters Noise variance.

  • Input port - variance is set as a positive scalar or vector using the Var input port. The sampling frequency of the input variance must be equal to the frequency of the input signal.

When you specify the variance as:

  • scalar, all channels of the signal are uncorrelated but have the same variance;

  • a vector whose length is equal to the number of channels in the input signal, each element representing the variance of the corresponding channel of the signal.

If you apply complex input signals to the AWGN Channel block, it adds a zero-mean complex Gaussian noise with a calculated or specified variance. The variance for each quadrature component of the complex noise is half of the calculated or specified value.

To set the variance indirectly, i.e., to have the unit calculate the variance, set the parameters to Mode:

  • Signal to noise ratio (Eb/No), at which the block calculates the deviation from the set parameters:

    • Eb/No (dB), the ratio of bit energy to noise power spectral density;

    • Number of bits per symbol;

    • Input signal power, referenced to 1 ohm (watts), the actual power of symbols at the block input;

    • Samples per symbol.

  • Signal to noise ratio (Es/No), at which the block calculates the deviation from the set parameters:

    • Es/No (dB), the ratio of bit energy to noise power spectral density;

    • Input signal power, referenced to 1 ohm (watts), actual power of symbols at the block input;

    • Samples per symbol.

  • Signal to noise ratio (SNR), at which the block calculates the deviation from the set parameters:

    • SNR (dB), the ratio of signal power to noise power;

    • Input signal power, referenced to 1 ohm (watts), actual power of samples at the block input;

Changing the symbol period in the block AWGN Channel affects the variance of the noise added per count, which also causes a change in the final error rate.

Select a symbol period equal to the period of the model symbol. The value depends on what makes up the symbol and what oversampling is applied to it. For example, a symbol may have 3 bits and be oversampled by 4.

Literature

  1. Proakis, John G. Digital Communications. 4th Ed. McGraw-Hill, 2001.