Frequency Multipliers

Inheritance diagram of hermespy.simulation.rf.blocks.x4.X4

Radio-Frequency (RF) frequency multipliers are non-linear components that generate output signals at integer multiples of the input signal frequency. They are commonly used in communication and radar systems to achieve higher frequencies from lower-frequency sources. In the process, they may introduce harmonic distortion, phase noise, and conversion loss.

This module provides various numerical models of RF frequency multipliers.

class X4(seed=None)[source]

Bases: RFBlock

A radio-frequency block that multiplies the input signal’s frequency by 4.

Parameters:

seed (int | None) – Seed with which to initialize the block’s random state.

realize(bandwidth, oversampling_factor, carrier_frequency)[source]

Return the current state of the radio-frequency block.

Parameters:
  • bandwidth (float) – Bandwith of the proecessed signals in Hz.

  • oversampling_factor (int) – Oversampling factor of the modeling.

  • carrier_frequency (float) – Target carrier frequency of the modeled radio front-end in Hz.

Return type:

RFBlockRealization

Returns:

Current state of the radio-frequency block.

property i: RFBlockPort[X4][source]

Input port of the X4 block.

property num_input_ports: int[source]

Number of physical ports feeding into this radio-frequency block.

If the returned number is negative, the block can accept an arbitrary number of input ports.

property num_output_ports: int[source]

Number of physical ports emerging from this radio-frequency block.

property o: RFBlockPort[X4][source]

Output port of the X4 block.