Skip to main content

NET & GATE : Communications (EC) Study Material


Home / Engineering & Other Exams / Communications (EC) Study Material ...

 

NET & GATE: Communications (EC) Study Material


What is an error in a communication system?

In wireless communication, we sometimes receive the wrong bit, i.e., the transmitter sends binary '1', but we're receiving binary '0' on the receiver side. That is called a bit of error. Now, we'll tell you why this error occurs. We are all aware of signal attenuation and additive noise in wireless communication. You also know that we use a threshold level at the receiver to detect '0' or '1'. Anyhow if the signal is much affected by attenuation or noise, then we receive binary '0' instead of '1' and vice versa.

We commonly use the term 'bit error rate' to measure bit error. Bit error rate tells us how many bits are affected among the total number of bits transmitted.


What are the possible remedies to reduce the bit error rate?

Channel Coding



Question

There is a digital communication system that sends a symbol or block of N bits. We expect the error probability in decoding to be 0.0001. But there is N number of bits in a symbol or block. And here, the occurrence of a mistake of any bit is independent of others. If we came to know at least one bit in the block/symbol has been decoded wrongly. Then what probability will the received symbol/block be erroneous?


Answer

Error probability of a bit = 0.0001

So, the probability of being decoded correctly= is 1-0.0001

As there are several bits, so correct probably = (1-0.0001)(1-0.0001)(1-0.0001)...Up To N Times

=(1-0.0001)^N

Erroneous Probability = 1 - correct probability

=1 -  (1-0.0001)^N

 


Maximum Likelihood Decoding or ML Decoding

The decision boundary between two adjacent signal points will be their arithmetic mean.


Question

The S symbol is randomly selected from the S1, S2, S3, and S4 and communicated through a digital communication system. S1=-3, S2=-1, S3=+1, and S4=+2 are given. Y = S + W is the received symbol on the receiver side. W stands for "zero mean unit variance." When the transmitted symbol S = Si, the conditional probability of symbol error for maximum likelihood (ML) decoding is P. P is a Gaussian Random Variable independent of S. The index i with the highest conditional symbol error probability Pi is -----


Answer

As an ML detector is used, the decision boundary between two adjacent signal points will be their arithmetic mean.

For S1= -3, the probability of error, P1,  

As the ML decoder first receives the symbol -3 and then -1, so -2 becomes the decision boundary, as shown in the figure below.



If the signal value lies between -∞ to -2, it is decoded correctly as -3. Otherwise, an error occurs. 

Now, the probability of error, P1 = (1 - yellow-colored area)


For S2, probability of error is P2 (say)


So, P2 = (1 - yellow-colored area)


For S3, probability of error is P3 (say)


P3=(1-yellow-colored area)


For S4, probability of error is P4 (say)


P4 = (1 - yellow-colored area)

In the concussion of the above four graphs, the probability of correctness is less for S3 among the four symbols. So, the possibility of error for S3 is more significant, or P3 is more considerable.


Probability & Information

When the probability of an event is less, then information about that event will be more. 

I(x) is inversely proportional to p(x)

When probability = 1, the information will be zero, and vice versa.

.We commonly use the term 'entropy' in information theory. Entropy denotes the average number of bits required per symbol to transfer information.

For example:

The probability of receiving bit '1' is 0.5 & probability of receiving bit '0' is 0.5 on the receiver side. Then the entropy H(x) is going to be    -0.5*log(0.5) -0.5*log(0.5) = 1 bit/symbol


Electronic Devices

pn junction diodes are used as electronic switches. Diodes only allow unidirectional current flow. When the voltage across the diode goes up to a certain amount (typically 0.7 V), it becomes on (in case of forward bias). On the other hand, reverse bias always remains 'off.' But in the case of the zener diode, if you continuously increase the reverse voltage, then the current flows accordingly. But after a specific reverse voltage, current flow rises sharply in reverse bias mode. This phenomenon is called 'avalanche breakdown.' If you try to increase the reverse voltage further, the voltage doesn't increase; only the current flow increases.

What is bias voltage?
The bias voltage is required for an electrical gadget to turn on and work.
An electronic device couldn't turn on and function without a bias voltage.

Networks, Signal, & Systems

 Superposition Theorem

In the superposition theorem, we calculate the individual response of each independent source on an element or branch. Then we sum up the voltage and current.


Thevenin's Theorem 

In Thevenin's theorem, we basically find the Vth and Rth. Procedure for thevenin's theorem

1. Firstly, we open the circuit, the load 

2. Then we find Vth across the load from the circuit

3. Then, we open the circuit's current source and short-circuit the voltage sources. Remember this step is only applicable to independent sources.

4. Then, we find Rth from the circuit.


RL circuit with source:

i(t) = [ i(0+) - i(∞)]*exp(-Rt/L) + i(∞)

v(t) = [ v(0+) - v(∞)]*exp(-t/RC) + v(∞)

The main functions of the inductor and capacitor in a circuit are to prevent the sudden change of current and voltage, respectively.

Question:

In the above circuit, when the switch is transformed from an off to an on state, the voltage across the capacitor will be the same, but the current direction of the capacitor will be reversed.  

A similar rule is applicable for inductors also. When the switch is transformed from an off to an on state, the voltage across the inductor will be exact, but the current direction will be reversed. 

Question:

Find the rate of rise of voltage across the  capacitor at t = 0+

People are good at skipping over material they already know!

View Related Topics to







Contact Us

Name

Email *

Message *

Popular Posts

BER vs SNR for M-ary QAM, M-ary PSK, QPSK, BPSK, ...

📘 Overview of BER and SNR 🧮 Online Simulator for BER calculation of m-ary QAM and m-ary PSK 🧮 MATLAB Code for BER calculation of M-ary QAM, M-ary PSK, QPSK, BPSK, ... 📚 Further Reading 📂 View Other Topics on M-ary QAM, M-ary PSK, QPSK ... 🧮 Online Simulator for Constellation Diagram of m-ary QAM 🧮 Online Simulator for Constellation Diagram of m-ary PSK 🧮 MATLAB Code for BER calculation of ASK, FSK, and PSK 🧮 MATLAB Code for BER calculation of Alamouti Scheme 🧮 Different approaches to calculate BER vs SNR What is Bit Error Rate (BER)? The abbreviation BER stands for Bit Error Rate, which indicates how many corrupted bits are received (after the demodulation process) compared to the total number of bits sent in a communication process. BER = (number of bits received in error) / (total number of tran...

Constellation Diagrams of ASK, PSK, and FSK

📘 Overview of Energy per Bit (Eb / N0) 🧮 Online Simulator for constellation diagrams of ASK, FSK, and PSK 🧮 Theory behind Constellation Diagrams of ASK, FSK, and PSK 🧮 MATLAB Codes for Constellation Diagrams of ASK, FSK, and PSK 📚 Further Reading 📂 Other Topics on Constellation Diagrams of ASK, PSK, and FSK ... 🧮 Simulator for constellation diagrams of m-ary PSK 🧮 Simulator for constellation diagrams of m-ary QAM BASK (Binary ASK) Modulation: Transmits one of two signals: 0 or -√Eb, where Eb​ is the energy per bit. These signals represent binary 0 and 1.    BFSK (Binary FSK) Modulation: Transmits one of two signals: +√Eb​ ( On the y-axis, the phase shift of 90 degrees with respect to the x-axis, which is also termed phase offset ) or √Eb (on x-axis), where Eb​ is the energy per bit. These signals represent binary 0 and 1.  BPSK (Binary PSK) Modulation: Transmits one of two signals...

Power Spectral Density Calculation Using FFT in MATLAB

📘 Overview 🧮 Steps to calculate the PSD of a signal 🧮 MATLAB Codes 📚 Further Reading Power spectral density (PSD) tells us how the power of a signal is distributed across different frequency components, whereas Fourier Magnitude gives you the amplitude (or strength) of each frequency component in the signal. Steps to calculate the PSD of a signal Firstly, calculate the first Fourier transform (FFT) of a signal Then, calculate the Fourier magnitude of the signal The power spectrum is the square of the Fourier magnitude To calculate power spectrum density (PSD), divide the power spectrum by the total number of samples and the frequency resolution. {Frequency resolution = (sampling frequency / total number of samples)} Sampling frequency (fs): The rate at which the continuous-time signal is sampled (in Hz). ...

Calculation of SNR from FFT bins in MATLAB

📘 Overview 🧮 MATLAB Code for Estimation of SNR from FFT bins of a Noisy Signal 🧮 MATLAB Code for Estimation of Signal-to-Noise Ratio from Power Spectral Density Using FFT and Kaiser Window Periodogram from real signal data 📚 Further Reading   Here, you can find the SNR of a received signal from periodogram / FFT bins using the Kaiser operator. The beta (β) parameter characterizes the Kaiser window, which controls the trade-off between the main lobe width and the side lobe level in the frequency domain. For that you should know the sampling rate of the signal.  The Kaiser window is a type of window function commonly used in signal processing, particularly for designing finite impulse response (FIR) filters and performing spectral analysis. It is a general-purpose window that allows for control over the trade-off between the main lobe width (frequency resolution) and side lobe levels (suppression of spectral leakage). The Kaiser window is defined...

OFDM Symbols and Subcarriers Explained

This article explains how OFDM (Orthogonal Frequency Division Multiplexing) symbols and subcarriers work. It covers modulation, mapping symbols to subcarriers, subcarrier frequency spacing, IFFT synthesis, cyclic prefix, and transmission. Step 1: Modulation First, modulate the input bitstream. For example, with 16-QAM , each group of 4 bits maps to one QAM symbol. Suppose we generate a sequence of QAM symbols: s0, s1, s2, s3, s4, s5, …, s63 Step 2: Mapping Symbols to Subcarriers Assume N sub = 8 subcarriers. Each OFDM symbol in the frequency domain contains 8 QAM symbols (one per subcarrier): Mapping (example) OFDM symbol 1 → s0, s1, s2, s3, s4, s5, s6, s7 OFDM symbol 2 → s8, s9, s10, s11, s12, s13, s14, s15 … OFDM sym...

MATLAB code for BER vs SNR for M-QAM, M-PSK, QPSk, BPSK, ...

🧮 MATLAB Code for BPSK, M-ary PSK, and M-ary QAM Together 🧮 MATLAB Code for M-ary QAM 🧮 MATLAB Code for M-ary PSK 📚 Further Reading MATLAB Script for BER vs. SNR for M-QAM, M-PSK, QPSK, BPSK % Written by Salim Wireless clc; clear; close all; num_symbols = 1e5; snr_db = -20:2:20; psk_orders = [2, 4, 8, 16, 32]; qam_orders = [4, 16, 64, 256]; ber_psk_results = zeros(length(psk_orders), length(snr_db)); ber_qam_results = zeros(length(qam_orders), length(snr_db)); for i = 1:length(psk_orders) psk_order = psk_orders(i); for j = 1:length(snr_db) data_symbols = randi([0, psk_order-1], 1, num_symbols); modulated_signal = pskmod(data_symbols, psk_order, pi/psk_order); received_signal = awgn(modulated_signal, snr_db(j), 'measured'); demodulated_symbols = pskdemod(received_signal, psk_order, pi/psk_order); ber_psk_results(i, j) = sum(data_symbols ~= demodulated_symbols) / num_symbols; end end for i...

Online Channel Impulse Response Simulator

  Fundamental Theory of Channel Impulse Response The fundamental theory behind the channel impulse response in wireless communication often involves complex exponential components such as: \( h(t) = \sum_{i=1}^{L} a_i \cdot \delta(t - \tau_i) \cdot e^{j\theta_i} \) Where: \( a_i \) is the amplitude of the \( i^{th} \) path \( \tau_i \) is the delay of the \( i^{th} \) path \( \theta_i \) is the phase shift (often due to Doppler effect, reflection, etc.) \( e^{j\theta_i} \) introduces a phase rotation (complex exponential) The convolution \( x(t) * h(t) \) gives the received signal So, instead of representing the channel with only real-valued amplitudes, each path can be more accurately modeled using a complex gain : \( h[n] = a_i \cdot e^{j\theta_i} \) 1. Simple Channel Impulse Response Simulator  (Here you can input only a unit impulse signal) Input Signal (Unit Impu...

Coherence Bandwidth and Coherence Time

🧮 Coherence Bandwidth 🧮 Coherence Time 🧮 MATLAB Code s 📚 Further Reading Coherence Bandwidth Coherence bandwidth is a concept in wireless communication and signal processing that relates to the frequency range over which a wireless channel remains approximately constant in terms of its characteristics. Coherence bandwidth is inversely related to the delay spread time (e.g., RMS delay spread). The coherence bandwidth is related to the delay spread of the channel, which is a measure of the time it takes for signals to traverse the channel due to multipath. The two are related by the following approximation: Coherence Bandwidth ≈ 1/(delay spread time) Or, Coherence Bandwidth ≈ 1/(root-mean-square delay spread time) (Coherence bandwidth in Hertz) For instance, if the root-mean-square delay spread is 500 ns (i.e., {1/(2*10^6)} seconds), the coherence bandwidth is approximately 2 MHz (1 / 500e-9) in ...