Multiplexing (FDM, TDM, WDM) Tutorial šŸŽÆ

beginner
13 min

Multiplexing (FDM, TDM, WDM) Tutorial šŸŽÆ

Welcome to our comprehensive guide on Multiplexing! This lesson is designed to help you understand Multiplexing techniques - Frequency Division Multiplexing (FDM), Time Division Multiplexing (TDM), and Wavelength Division Multiplexing (WDM) - in a friendly and easy-to-follow manner. šŸ“

What is Multiplexing? šŸ’”

Multiplexing is a method used to share a single communication channel among multiple users or devices by combining multiple signals into one for transmission and separating them again at the receiving end. This allows for efficient utilization of the channel's bandwidth.

Frequency Division Multiplexing (FDM) šŸ’”

Introduction to FDM

FDM is a technique that allows multiple signals to be transmitted simultaneously over a single communication channel by assigning different frequency bands to each signal.

FDM Example

Let's consider a simple example. Imagine a radio station broadcasting multiple programs (signals) simultaneously on different frequencies. Each program is assigned a specific frequency band, allowing listeners to tune into their preferred program without interference from others.

markdown
# FDM Example - Radio Station frequency_channel1 = 88.1 MHz signal1 = Music Program 1 frequency_channel2 = 88.5 MHz signal2 = News Program frequency_channel3 = 89.1 MHz signal3 = Talk Show # Transmission transmit(frequency_channel1, signal1) transmit(frequency_channel2, signal2) transmit(frequency_channel3, signal3) # Reception receive(frequency_channel1) # Listen to Music Program 1 receive(frequency_channel2) # Listen to News Program receive(frequency_channel3) # Listen to Talk Show

šŸ“ Note: In a real-world scenario, FDM is used in various communication systems such as FM radio, satellite communications, and digital subscriber line (DSL) technology.

Time Division Multiplexing (TDM) šŸ’”

Introduction to TDM

TDM is a technique that allows multiple signals to be transmitted sequentially over a single communication channel by dividing the time into equal slots and allocating each signal a specific time slot.

TDM Example

Consider a phone line connecting four different users. Each user is given a specific time slot, allowing them to transmit their data while the others are idle.

markdown
# TDM Example - Four-user Phone Line time_slots = 8 user1_slot = [0, 2, 4, 6] user2_slot = [1, 3, 5, 7] user3_slot = [0, 4] user4_slot = [1, 3, 5] # Transmission transmit(user1_slot[current_time_slot], user1_data) transmit(user2_slot[current_time_slot], user2_data) transmit(user3_slot[current_time_slot], user3_data) transmit(user4_slot[current_time_slot], user4_data) # Reception receive_data(user1_slot[current_time_slot]) receive_data(user2_slot[current_time_slot]) receive_data(user3_slot[current_time_slot]) receive_data(user4_slot[current_time_slot])

šŸ“ Note: TDM is widely used in digital communication systems like Integrated Services Digital Network (ISDN) and Synchronous Optical Network (SONET).

Wavelength Division Multiplexing (WDM) šŸ’”

Introduction to WDM

WDM is a technique that allows multiple signals to be transmitted simultaneously over a single optical fiber by assigning different wavelengths (colors) to each signal.

WDM Example

Let's consider a fiber-optic cable carrying multiple signals, each with a different color (wavelength). Each signal travels through the cable without interference, thanks to the different wavelengths.

markdown
# WDM Example - Multi-color Fiber-optic Cable wavelength_red = 1550 nm signal_red = Internet Data wavelength_green = 1560 nm signal_green = Television Signal wavelength_blue = 1570 nm signal_blue = Voice Call # Transmission transmit(wavelength_red, signal_red) transmit(wavelength_green, signal_green) transmit(wavelength_blue, signal_blue) # Reception receive_data(wavelength_red) receive_data(wavelength_green) receive_data(wavelength_blue)

šŸ“ Note: WDM is extensively used in modern fiber-optic communication networks for high-capacity data transmission.

Quiz šŸ’”

Quick Quiz
Question 1 of 1

What is Multiplexing, and why is it important?

Quick Quiz
Question 1 of 1

What is the difference between FDM, TDM, and WDM?