Hardware Radio Frequency Chain Modeling

Isolation model (to be implemented): Kiayani et al.1

class RfChain(tx_power=None, phase_offset=None, amplitude_imbalance=None)

Bases: hermespy.core.factory.Serializable

Implements an RF chain model.

Only PA is modelled.

yaml_tag: Optional[str] = 'RfChain'

YAML serialization tag.

property amplitude_imbalance: float
Return type

float

property phase_offset: float
Return type

float

classmethod to_yaml(representer, node)

Serialize an RfChain object to YAML.

Parameters
  • representer (SafeRepresenter) – A handle to a representer used to generate valid YAML code. The representer gets passed down the serialization tree to each node.

  • node (RfChain) – The RfChain instance to be serialized.

Returns

The serialized YAML node. None if the object state is default.

Return type

Node

transmit(input_signal)

Returns the distorted version of signal in “input_signal”.

According to transmission impairments.

Return type

Signal

add_iq_imbalance(input_signal)

Adds Phase offset and amplitude error to input signal.

Notation taken from https://en.wikipedia.org/wiki/IQ_imbalance.

Parameters

input_signal (np.ndarray) – Signal to be deteriorated as a matrix in shape #no_antennas x #no_samples. #no_antennas depends if on receiver or transmitter side.

Returns

Deteriorated signal with the same shape as input_signal.

Return type

np.ndarray

receive(input_signal)

Returns the distorted version of signal in “input_signal”.

According to reception impairments.

Return type

Signal

property power_amplifier: hermespy.simulation.rf_chain.power_amplifier.PowerAmplifier

Access the PowerAmplifier of the rf chain.

Return type

PowerAmplifier

Returns

A handle to the PowerAmplifier.

1

Adnan Kiayani, Muhammad Zeeshan Waheed, Lauri Anttila, Mahmoud Abdelaziz, Dani Korpi, Ville Syrjälä, Marko Kosunen, Kari Stadius, Jussi Ryynänen, and Mikko Valkama. Adaptive nonlinear rf cancellation for improved isolation in simultaneous transmit–receive systems. IEEE Transactions on Microwave Theory and Techniques, 66(5):2299–2312, 2018. doi:10.1109/TMTT.2017.2786729.