Engee documentation

Demodulator (CE)

The RF demodulator model.

blockType: SubSystem

Path in the library:

/RF/Circuit Envelope/Elements/Demodulator (CE)

Description

Block Demodulator (CE) It is an RF demodulator.

Ports

Conserving

# In+ — RF input signal
electricity

Details

A positive electrical port connected to the RF input signal.

Program usage name

In+

# In− — RF input signal
electricity

Details

A negative electrical port connected to the RF input signal.

Program usage name

In−

# Out+ — The output signal
electricity

Details

A positive electrical port connected to the output signal.

Program usage name

Out+

# Out− — The output signal
electricity

Details

The negative electrical port connected to the output signal.

Program usage name

Out−

Parameters

IR Filter

# Passband frequency, Hz — bandwidth frequency for low-pass filters

Details

The bandwidth frequency for low-pass filters, set as a scalar in Hz.

Dependencies

To use this parameter, set for the parameter Design method meaning Butterworth or Chebyshev and for the parameter Filter type meaning Lowpass.

Default value

1.0e9

Program usage name

passFreq_lp_ir

Tunable

No

Evaluatable

Yes

# Passband frequency, Hz — bandwidth frequency for high-pass filters

Details

The bandwidth frequency for high-pass filters, set as a scalar in Hz.

Dependencies

To use this parameter, set for the parameter Design method meaning Butterworth or Chebyshev and for the parameter Filter type meaning Highpass.

Default value

2.0e9

Program usage name

passFreq_hp_ir

Tunable

No

Evaluatable

Yes

# Passband frequencies, Hz — bandwidth frequencies for bandpass filters

Details

The bandwidth frequencies for bandpass filters, specified as a vector of a pair of numbers in Hz. This option is not available for notch filters.

Dependencies

To use this parameter, set for the parameter Design method meaning Butterworth or Chebyshev and for the parameter Filter type meaning Bandpass.

Default value

[2.0e9, 3.0e9]

Program usage name

passFreq_bp_ir

Tunable

No

Evaluatable

Yes

# Stopband frequencies, Hz — delay band frequencies for bandpass filters

Details

The delay band frequencies for bandpass filters, specified as a vector of a pair of numbers in Hz This option is not available for bandpass filters.

Dependencies

To use this parameter, set for the parameter Design method meaning Butterworth or Chebyshev and for the parameter Filter type meaning Bandstop.

Default value

[2.1e9, 2.9e9]

Program usage name

stopFreq_bs_ir

Tunable

No

Evaluatable

Yes

# Design method — type of simulation
Butterworth | Chebyshev

Details

The type of simulation. The block models Butterworth filter or Chebyshev filter of the type specified in the parameter Filter type, and the model specified in the parameter Implementation.

Dependencies

To use this option, check the box Add Image Reject filter.

Values

Butterworth | Chebyshev

Default value

Butterworth

Program usage name

filterDesign_ir

Tunable

No

Evaluatable

Yes

# Filter type — filter type
Lowpass | Highpass | Bandpass | Bandstop

Details

The type of filter. The block simulates a low-pass filter, an upper-pass filter, a bandpass filter, or a notch filter, the type of which is specified in the parameter Design method.

Dependencies

To use this option, check the box Add Image Reject filter.

Values

Lowpass | Highpass | Bandpass | Bandstop

Default value

Highpass

Program usage name

filterType_ir

Tunable

No

Evaluatable

Yes

# Implementation — realization
LC Tee | LC Pi

Details

An implementation defined by one of the following values:

  • LC Tee — simulation of an analog filter with an LC Tee-type structure with concentrated parameters, if for the parameter Design method the value is set Butterworth or Chebyshev.

  • LC Pi — simulation of an analog filter with an LC structure of type Pi with concentrated parameters, if for the parameter Design method the value is set Butterworth or Chebyshev.

Values

LC Tee | LC Pi

Default value

LC Tee

Program usage name

implementation_ir

Tunable

No

Evaluatable

Yes

# Filter order — filter order

Details

The filter order, set as a scalar. If for the parameter Filter type the value is set Lowpass or Highpass, then the filter order is determined by the number of concentrated memory elements. If for the parameter Filter type the value is set Bandpass or Bandstop, the number of concentrated memory elements is twice the filter order.

For Chebyshev filters of even order, the resistance ratio is to implement the Tee network and to implement the Pi network:



where  — ripple in the bandwidth in dB.

Dependencies

To use this parameter, set for the parameter Design method meaning Butterworth or Chebyshev.

Default value

3

Program usage name

filterOrder_ir

Tunable

No

Evaluatable

Yes

# Passband attenuation, dB — bandwidth attenuation

Details

Bandwidth attenuation, specified as a scalar in dB. For bandpass filters, this value is applied equally to both edges of the bandwidth.

Dependencies

To use this parameter, set for the parameter Design method meaning Butterworth or Chebyshev and for the parameter Filter type meaning Lowpass, Highpass or Bandpass.

Default value

3.010299956639812

Program usage name

passAttenuation_ir

Tunable

No

Evaluatable

Yes

# Stopband attenuation, dB — attenuation in the delay band

Details

The attenuation in the delay band, set as a scalar in dB. For notch filters, this value is applied equally to both edges of the delay band.

Dependencies

To use this parameter, set for the parameter Design method meaning Butterworth or Chebyshev and for the parameter Filter type meaning Bandstop.

Default value

40.0

Program usage name

stopAttenuation_ir

Tunable

No

Evaluatable

Yes

# Source impedance, Ohm — input impedance of the source

Details

The input impedance of the source, set as a scalar in ohms.

Dependencies

To use this parameter, set for the parameter Design method meaning Butterworth or Chebyshev.

Default value

50.0

Program usage name

sourceImp_ir

Tunable

No

Evaluatable

Yes

# Load impedance, Ohm — load output impedance

Details

The output impedance of the load, set as a scalar in ohms.

Dependencies

To use this parameter, set for the parameter Design method meaning Butterworth or Chebyshev.

Default value

50.0

Program usage name

loadImp_ir

Tunable

No

Evaluatable

Yes

CS Filter

# Passband frequency, Hz — bandwidth frequency for low-pass filters

Details

The bandwidth frequency for low-pass filters, set as a scalar in Hz.

Dependencies

To use this parameter, set for the parameter Design method meaning Butterworth or Chebyshev and for the parameter Filter type meaning Lowpass.

Default value

1.0e9

Program usage name

passFreq_lp_cs

Tunable

No

Evaluatable

Yes

# Passband frequency, Hz — bandwidth frequency for high-pass filters

Details

The bandwidth frequency for high-pass filters, set as a scalar in Hz.

Dependencies

To use this parameter, set for the parameter Design method meaning Butterworth or Chebyshev and for the parameter Filter type meaning Highpass.

Default value

2.0e9

Program usage name

passFreq_hp_cs

Tunable

No

Evaluatable

Yes

# Passband frequencies, Hz — bandwidth frequencies for bandpass filters

Details

The bandwidth frequencies for bandpass filters, specified as a vector of a pair of numbers in Hz. This option is not available for notch filters.

Dependencies

To use this parameter, set for the parameter Design method meaning Butterworth or Chebyshev and for the parameter Filter type meaning Bandpass.

Default value

[2.0e9, 3.0e9]

Program usage name

passFreq_bp_cs

Tunable

No

Evaluatable

Yes

# Stopband frequencies, Hz — delay band frequencies for bandpass filters

Details

The delay band frequencies for bandpass filters, specified as a vector of a pair of numbers in Hz This option is not available for bandpass filters.

Dependencies

To use this parameter, set for the parameter Design method meaning Butterworth or Chebyshev and for the parameter Filter type meaning Bandstop.

Default value

[2.1e9, 2.9e9]

Program usage name

stopFreq_bs_cs

Tunable

No

Evaluatable

Yes

# Design method — type of simulation
Butterworth | Chebyshev

Details

The type of simulation. The block models Butterworth filter or Chebyshev filter of the type specified in the parameter Filter type, and the model specified in the parameter Implementation.

Dependencies

To use this option, check the box Add Channel Select filter.

Values

Butterworth | Chebyshev

Default value

Butterworth

Program usage name

filterDesign_cs

Tunable

No

Evaluatable

Yes

# Filter type — filter type
Lowpass | Highpass | Bandpass | Bandstop

Details

The type of filter. The block simulates a low-pass filter, an upper-pass filter, a bandpass filter, or a notch filter, the type of which is specified in the parameter Design method.

Dependencies

To use this option, check the box Add Channel Select filter.

Values

Lowpass | Highpass | Bandpass | Bandstop

Default value

Lowpass

Program usage name

filterType_cs

Tunable

No

Evaluatable

Yes

# Implementation — realization
LC Tee | LC Pi

Details

An implementation defined by one of the following values:

  • LC Tee — simulation of an analog filter with an LC Tee-type structure with concentrated parameters, if for the parameter Design method the value is set Butterworth or Chebyshev.

  • LC Pi — simulation of an analog filter with an LC structure of type Pi with concentrated parameters, if for the parameter Design method the value is set Butterworth or Chebyshev.

Values

LC Tee | LC Pi

Default value

LC Tee

Program usage name

implementation_cs

Tunable

No

Evaluatable

Yes

# Filter order — filter order

Details

The filter order, set as a scalar. If for the parameter Filter type the value is set Lowpass or Highpass, then the filter order is determined by the number of concentrated memory elements. If for the parameter Filter type the value is set Bandpass or Bandstop, the number of concentrated memory elements is twice the filter order.

For Chebyshev filters of even order, the resistance ratio is to implement the Tee network and to implement the Pi network:



where  — ripple in the bandwidth in dB.

Dependencies

To use this parameter, set for the parameter Design method meaning Butterworth or Chebyshev.

Default value

3

Program usage name

filterOrder_cs

Tunable

No

Evaluatable

Yes

# Passband attenuation, dB — bandwidth attenuation

Details

Bandwidth attenuation, specified as a scalar in dB. For bandpass filters, this value is applied equally to both edges of the bandwidth.

Dependencies

To use this parameter, set for the parameter Design method meaning Butterworth or Chebyshev and for the parameter Filter type meaning Lowpass, Highpass or Bandpass.

Default value

3.010299956639812

Program usage name

passAttenuation_cs

Tunable

No

Evaluatable

Yes

# Stopband attenuation, dB — attenuation in the delay band

Details

The attenuation in the delay band, set as a scalar in dB. For notch filters, this value is applied equally to both edges of the delay band.

Dependencies

To use this parameter, set for the parameter Design method meaning Butterworth or Chebyshev and for the parameter Filter type meaning Bandstop.

Default value

40.0

Program usage name

stopAttenuation_cs

Tunable

No

Evaluatable

Yes

# Source impedance, Ohm — input impedance of the source

Details

The input impedance of the source, set as a scalar in ohms.

Dependencies

To use this parameter, set for the parameter Design method meaning Butterworth or Chebyshev.

Default value

50.0

Program usage name

sourceImp_cs

Tunable

No

Evaluatable

Yes

# Load impedance, Ohm — load output impedance

Details

The output impedance of the load, set as a scalar in ohms.

Dependencies

To use this parameter, set for the parameter Design method meaning Butterworth or Chebyshev.

Default value

50.0

Program usage name

loadImp_cs

Tunable

No

Evaluatable

Yes

Main

# Source of conversion gain — parameter of the conversion gain source
Available power gain

Details

The parameter of the conversion gain source, set as Available power gain — relates the ratio of the output power of one sideband to the input power. This calculation assumes a consistent load and a terminal load of the source.

Values

Available power gain

Default value

Available power gain

Program usage name

source_gain_mixer

Tunable

No

Evaluatable

Yes

# Available power gain, dB — The ratio of the output power to the input power

Details

The ratio of the output power to the input power, given as a scalar in dB.

Dependencies

To use this parameter, set for the parameter Source of conversion gain meaning Available power gain.

Default value

0.0

Program usage name

power_gain_in_db_mixer

Tunable

No

Evaluatable

Yes

# Local oscillator frequency, Hz — The frequency of the heterodyne

Details

The frequency of the heterodyne, set as a scalar in Hz.

Default value

0.0

Program usage name

LO_freq

Tunable

No

Evaluatable

Yes

# Input impedance, Ohm — input impedance of the demodulator

Details

The input impedance of the demodulator, set as a scalar in ohms.

Default value

50.0

Program usage name

in_imp_mixer

Tunable

No

Evaluatable

Yes

# Output impedance, Ohm — output impedance of the demodulator

Details

The output impedance of the demodulator, set as a scalar in ohms.

Default value

50.0

Program usage name

out_imp_mixer

Tunable

No

Evaluatable

Yes

Filters

# Add Image Reject filter — image rejection filter parameters

Details

Check this box to add a tab. IR Filter with the parameters of the image rejection filter (Image Reject, IR). Uncheck this box to delete the tab.

Default value

false (switched off)

Program usage name

enable_ir

Tunable

No

Evaluatable

Yes

# Add Channel Select filter — channel selection filter parameters

Details

Check this box to add a tab. CS Filter with the parameters of the channel selection filter (Channel Select, CS). Uncheck this box to delete the tab.

Default value

false (switched off)

Program usage name

enable_cs

Tunable

No

Evaluatable

Yes

Impairments

# LO to In isolation, dB — the ratio of the amplitude of the voltage of the heterodyne to the leakage voltage at the input port

Details

The ratio of the amplitude of the voltage of the heterodyne to the leakage voltage at the input port (RF), given as a scalar in dB.

Default value

Inf

Program usage name

lo_to_out_iso

Tunable

No

Evaluatable

Yes

Literature

  1. Razavi, Behzad. RF Microelectronics. Upper Saddle River, NJ: Prentice Hall, 2011.

  2. Grob, Siegfried, and Lindner, Jurgen. «Polynomial Model Derivation of Nonlinear Amplifiers.» Department of Information Technology, University of Ulm, Germany.