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:
Serializable
Implements an RF chain model.
Only PA is modelled.
- yaml_tag: Optional[str] = 'RfChain'
YAML serialization tag.
- property amplitude_imbalance: float
I/Q amplitude imbalance.
- Raises
ValueError – If the imbalance is less than -1 or more than one.
- Return type
float
- property phase_offset: float
I/Q phase offset.
Returns: Phase offset in radians.
- 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
- 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
- property power_amplifier: PowerAmplifier
Access the PowerAmplifier of the rf chain.
- Return type
- Returns
A handle to the PowerAmplifier.
- property phase_noise: PhaseNoise
Phase Noise model configuration.
Returns: Handle to the pase noise model.
- Return type
- 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.