/Implementation-of-Narrow-and-Wide-Band-Channels-Using-and-OFDM-System

In this repository, we delve into the implementation of narrowband and wideband channels. In the narrowband channel section, we implement the narrowband channel and by examining various modulations, we aim to reduce the error probability based on SNR. In another section, by designing an OFDM system, we are seeking to implement a wideband channel.

Primary LanguageHTML

Implementation-of-Narrow-and-Wide-Band-Channels-Using-and-OFDM-System

In this repository, we delve into the implementation of narrowband and wideband channels. In the narrowband channel section, we implement the narrowband channel and by examining various modulations, we aim to reduce the error probability based on SNR. In another section, by designing an OFDM system, we are seeking to implement a wideband channel.

The purpose of performing this exercise is to become familiar with the effects of a channel on the received signal (fade effect) at the receiver and its impact on the system's error probability. To this end, various solutions used to mitigate these effects are examined in different parts of the project.

In the first part of the exercise, a narrowband channel is considered, where the effect of fading is noticeable at the system's output. Initially, we investigate the error probability in the normal state, and then various solutions to mitigate the fading effect in this channel are examined. These include Pulse Position Modulation, channel information estimation at the receiver and transmitter, time diversity, and trellis coding. In each subsection of this part, we analytically derive and simulate the error probability graph, and then compare it with other sections.

In the second part of the exercise, a wideband channel is taken into account, and we intend to utilize Orthogonal Frequency Division Multiplexing (OFDM) for data transmission and reception. First, we determine the required parameters of the OFDM system, and then we attempt to eliminate the channel effects by using methods such as Waterfilling, equalization, and space-time diversity. Additionally, we aim to investigate the impact of Clipping on the error probability of the OFDM system in the end.

Part 1: Narrow-Band Channel

We consider a wireless system. Let's assume that the channel is narrowband, and after sampling, the received signal at time instant "m" is given by the following equation:

$y[m]=h[m]x[m]+ω[m]$

$h[m \sim CN(0,1)$

$ω[m] \sim CN(0,N_0)$

1- Utilizing BPSK Modulation for Data Transmission

image

image

2- Using Pulse Position Modulation for Data Transmission

image

image

3- Using BPSK modulation for data transmission in the presence of available CSI

image

image

image

image

4- Using QPSK Modulation for Data Transmission

image

image

image

image

5- Using Diversity in Time for Data Transmission

image

image

image

image

6- Using Diversity in Location for Data Transmission

image

image

Part 2: Wide-Band Channel

1- Number of channel taps (L) and length of cyclic prefix (CP)

2- The number of subcarriers ($n_c$) in each OFDM block.

3- The number of OFDM blocks for transmitting the entire message

4- Block Diagram of the System in Transmitter and Receiver

image

5- Simulating System Question 4 and plotting error probability and channel capacity versus $SNR=P_max/(n_c N_0)$

image

image

6- Utilizing diversity method at the receiver location to compensate for fading in the receiver

image

7- Utilizing ZF and MMSE Equalizers at the Receiver to Compensate for Fading in the Receiver

image

8- The impact of the Clipping effect on the error probability curve

image

Comparing:

image