π Lecture 18 β Frequency Shift Keying (FSK), Phase Shift Keying (PSK), and Quadrature Amplitude Modulation (QAM)
π Overview: This lecture explores digital-to-analog conversion techniques beyond ASK, focusing on Frequency Shift Keying (FSK), Phase Shift Keying (PSK), and Quadrature Amplitude Modulation (QAM). These methods offer improved noise immunity and bandwidth efficiency, with QAM combining ASK and PSK to achieve higher bit rates, making them crucial for modern data communication systems.
ποΈ Topics Covered
This lecture covers Frequency Shift Keying (FSK), including its effect on noise and bandwidth requirements; Phase Shift Keying (PSK), including 2PSK, 4PSK, 8PSK, noise immunity, and bandwidth; and Quadrature Amplitude Modulation (QAM), including its variations (4 QAM, 8 QAM, 16 QAM), time domain plots, and bandwidth comparison, along with a bit-baud comparison example.
π Lecture Summary
Frequency Shift Keying (FSK)
In FSK, the frequency of the carrier signal is varied to represent binary 1 or 0. The frequency during each bit duration is constant and depends on the bit value, while both peak amplitude and phase remain constant. This makes FSK more robust than ASK.
π Definition β FSK: A modulation technique where the frequency of the carrier signal is changed to represent binary data (1 or 0). π Formula: BW = (fc1 β fc0) + Nbaud β The bandwidth for FSK equals the frequency shift between the two carrier frequencies plus the baud rate.
Effect of Noise on FSK
FSK avoids most of the noise problems associated with ASK because the receiving device is looking for specific frequency changes over a given number of periods, allowing it to ignore voltage spikes. The limiting factors of FSK are the physical capabilities of the carrier.
BW of FSK
Although FSK shifts between two carrier frequencies, it is easier to analyze as two co-existing frequencies. The bandwidth required for FSK is equal to the baud rate of the signal plus the frequency shift. The frequency shift is the difference between the two carrier frequencies.
π Formula: BW = (fc1 β fc0) + Nbaud β The total bandwidth equals the difference between the two carrier frequencies plus the baud rate.
π Example 5.11: Find the minimum bandwidth for an FSK signal transmitted at 2000 bps. The transmission is half-duplex, and carriers must be separated by 3000 Hz.
- For FSK, if fc1 and fc2 are the carrier frequencies, then: BW = Baud Rate + (fc1 β fc0)
- Baud rate is the same as bit rate for FSK.
- BW = 2000 + (fc1 β fc0) = 2000 + 3000 = 5000 Hz.
Phase Shift Keying (PSK)
In PSK, the phase of the carrier is varied to represent binary 1 or 0, while both peak amplitude and frequency remain constant. For example, a phase of 0 degrees can represent binary 0, and a phase of 180 degrees can represent binary 1. The phase during each bit duration is constant.
2PSK
2PSK, or Binary PSK, uses two different phases (0 and 180 degrees) to represent one bit per signal element. A constellation diagram or phase state diagram shows the relationship of phase to bit value by illustrating only the phases.
Effect of Noise on PSK
PSK is not susceptible to the noise degradation that affects ASK, nor to the bandwidth limitations of FSK. Smaller variations in signal can be detected reliably by the receiver.
4PSK
Based on the above facts, instead of utilizing only two variations of a signal (each representing one bit), we can use four variations and let each phase shift represent two bits. This increases the bit rate without increasing the baud rate.
BW for PSK
The minimum bandwidth required for PSK transmission is the same as ASK. However, the maximum bit rate in PSK is much greater than that of ASK. While the maximum baud rate of ASK and PSK are the same for a given bandwidth, the PSK bit rate using the same bandwidth can be two or more times greater.
8PSK
8PSK uses eight different phase shifts, allowing each signal element to represent three bits, further increasing the bit rate.
QAM
Quadrature Amplitude Modulation (QAM) overcomes the limitations of PSK, which is limited by the ability of equipment to distinguish small differences in phase. QAM alters two characteristics of the sine wave. Since bandwidth limitations make combining FSK with other changes practically useless, QAM combines ASK and PSK. With βxβ variations in phase and βyβ variations in amplitude, a total of x * y variations are possible, corresponding to the number of bits per variation.
π Definition β QAM: A modulation technique that combines Amplitude Shift Keying (ASK) and Phase Shift Keying (PSK) to increase the number of bits per signal element.
Variation of QAM
Variations of QAM are numerous. Any measurable number of changes in amplitude can be combined with any measurable number of changes in phase.
4 QAM & 8 QAM
In both 4 QAM and 8 QAM, the number of amplitude shifts is more than the number of phase shifts. However, because amplitude changes are susceptible to noise, the number of phase shifts used by QAM is always larger than the number of amplitude shifts.
Time domain plot of 8 QAM & Three possible variations of 16 QAM
These are illustrated in the lecture figures, showing the combined amplitude and phase variations for each modulation scheme. 16 QAM can have various configurations of amplitude and phase shifts.
Bandwidth for QAM
The bandwidth required for QAM is the same as in the case of ASK and PSK. QAM has the same advantages as PSK over ASK.
Bit Baud Comparison
Consult book section 5.3 for a detailed bit-baud comparison.
π Example 5.11: A constellation diagram consists of eight equally spaced points on a circle. If the bit rate is 4800 bps, what is the Baud Rate?
- The constellation indicates 8 PSK with the points 45 degrees apart.
- Baud Rate = Bit rate / Number of bits per baud = 4800 / 3 = 1600 baud.
β Key Takeaways
FSK uses frequency variations to represent bits, providing better noise immunity than ASK but requiring bandwidth equal to the baud rate plus the frequency shift between carriers. PSK modulates the phase and offers identical bandwidth to ASK but with a much higher bit rate for a given bandwidth, supporting 2, 4, or 8 phase variations to encode 1, 2, or 3 bits per baud respectively. QAM combines both amplitude and phase variations to maximize bit rate while using the same bandwidth as ASK and PSK, though it uses more phase shifts than amplitude shifts to mitigate noise susceptibility. The baud rate for PSK and QAM is found by dividing the bit rate by the number of bits per signal element. The 'Bit Baud Comparison' in Section 5.3 provides a critical framework for understanding these trade-offs.
π§ Quick Revision Questions
- What is the main advantage of FSK over ASK in terms of noise immunity?
- Write the formula for calculating the bandwidth of an FSK signal.
- How many bits are represented per signal element in 4PSK and 8PSK?
- What two modulation techniques does QAM combine, and why is this combination chosen over combining FSK with another technique?
- If a QAM constellation has 16 points and a bit rate of 6400 bps, what is the baud rate?
π Lecture 19 β Conversions
π Overview: This lecture covers analog-to-analog conversion, which is the representation of analog information by an analog signal. It explains the three main methods of analog-to-analog conversionβAmplitude Modulation (AM), Frequency Modulation (FM), and Phase Modulation (PM)βincluding their mechanisms, bandwidth requirements, and band allocations. Understanding these concepts is crucial for grasping how radio, television, and other analog communication systems operate.
ποΈ Topics Covered
The lecture begins with an introduction to analog-to-analog conversion and its real-world example (radio). It then delves into the three primary methods: Amplitude Modulation (AM), where the carrier's amplitude is varied; Frequency Modulation (FM), where the carrier's frequency is varied; and Phase Modulation (PM), where the carrier's phase is varied. For each method, the lecture explains the mechanism, bandwidth requirements, and band allocation, supported by examples. A summary of key digital-to-analog conversion methods is also provided.
π Lecture Summary
Analog To Analog Conversion
Analog-to-analog conversion is the process of representing analog information by an analog signal. The most common example is radio broadcasting.
π Definition β Analog-to-Analog Conversion: The representation of analog information by an analog signal. For example, radio uses this to transmit audio signals over the air.
Analog To Analog Conversion Methods
There are three main methods for analog-to-analog conversion:
- Amplitude Modulation (AM)
- Frequency Modulation (FM)
- Phase Modulation (PM)
Amplitude Modulation (AM)
In Amplitude Modulation, the amplitude of the carrier signal is changed according to the amplitude of the modulating signal. The frequency and phase of the carrier remain the same.
π Definition β Amplitude Modulation (AM): A conversion method where the amplitude of the carrier signal varies with the amplitude of the modulating signal, while frequency and phase remain constant.
AM Bandwidth The bandwidth of an AM signal (modulated signal) is equal to 2 times the bandwidth of the modulating signal.
π Formula: Bandwidth of AM signal = 2 * Bandwidth of modulating signal
For AM audio, the significant spectrum is 5 KHz. This means an AM station requires a 10 KHz bandwidth.
AM Band Allocation The lecture shows a diagram of AM band allocation, spanning from 530 KHz to 1700 KHz.
Example 5.18 We have an audio signal with a BW of 4 KHz. What is the BW needed, if we modulate the signal using AM?
Solution:
- An AM signal requires twice the bandwidth of the original signal.
BW = 2 * 4 KHz = 8 KHz
Frequency Modulation (FM)
In Frequency Modulation, the frequency of the carrier signal is changed according to the amplitude of the modulating signal. The amplitude and phase of the carrier signal remain constant.
π Definition β Frequency Modulation (FM): A conversion method where the frequency of the carrier signal varies with the amplitude of the modulating signal, while amplitude and phase remain constant.
FM Bandwidth The bandwidth of an FM signal (modulated signal) is equal to 10 times the bandwidth of the modulating signal.
π Formula: Bandwidth of FM signal = 10 * Bandwidth of modulating signal
For FM audio, the significant spectrum is 15 KHz. This means a minimum bandwidth of 150 KHz is required.
FM Band Allocation The lecture shows a diagram of FM band allocation, spanning from 88 MHz to 108 MHz.
Example 5.19 We have an Audio signal with a BW of 4 MHz. What is the BW needed if we modulate the signal using FM?
Solution:
BW = 10 * 4 MHz = 40 MHz
Phase Modulation (PM)
In Phase Modulation, the phase of the carrier signal is changed according to the amplitude of the modulating signal. The amplitude and frequency of the carrier signal remain constant. This method has simpler hardware requirements.
π Definition β Phase Modulation (PM): A conversion method where the phase of the carrier signal varies with the amplitude of the modulating signal, while amplitude and frequency remain constant.
Summary
The lecture concludes with a summary of key digital-to-analog conversion methods mentioned for context: Frequency Shift Keying (FSK) , Phase Shift Keying (PSK) , and Quadrature Amplitude Modulation (QAM) .
β Key Takeaways
The most critical concepts from this lecture are the three main methods of analog-to-analog conversion: AM, FM, and PM. For the exam, you must understand that AM varies the carrier's amplitude while keeping frequency and phase constant, requiring a bandwidth of 2 times the modulating signal's bandwidth. FM varies the carrier's frequency while keeping amplitude and phase constant, requiring a bandwidth of 10 times the modulating signal's bandwidth. PM varies the phase of the carrier. You should be able to apply the bandwidth formulas (AM: 2x, FM: 10x) to calculate required bandwidth in different scenarios, as shown in the examples.
π§ Quick Revision Questions
- What is the difference between AM and FM in terms of which property of the carrier signal is varied?
- If an audio signal has a bandwidth of 5 KHz, what is the minimum bandwidth required for an AM station?
- What is the formula for calculating the bandwidth of an FM signal?
- What is the main advantage of Phase Modulation (PM) over AM and FM?
- In AM, what happens to the frequency and phase of the carrier signal when the modulating signal is applied?
π Lecture 20 β Introduction to Interfaces and Digital Data Transmission
π Overview: This lecture introduces the physical layer of the OSI model, focusing on how encoded data is relayed from one device to another. It explains the fundamental choice between sending data one bit at a time (serial) or in groups (parallel), and then details the two main types of serial transmission: asynchronous and synchronous.
ποΈ Topics Covered
The lecture begins with questions about how we transmit dataβone bit at a time or in groupsβand introduces the physical layer interface defined by mechanical, electrical, and functional specifications. It then covers Parallel Transmission, where bits are grouped and sent simultaneously over multiple channels, and Serial Transmission, where bits follow one another over a single channel. The two types of serial transmissionβAsynchronous Transmission (with start and stop bits) and Synchronous Transmission (with an unbroken string of bits)βare explained with their respective advantages and disadvantages.
π Lecture Summary
Introduction
The lecture starts by asking two fundamental questions: βDo we send one bit at a time or do we group bits in larger groups?β and βHow do we relay encoded data from the generating device to the next device?β The answer is that this is handled by the physical layer of the OSI model. The interface between devices is defined by several popular standards that specify mechanical, electrical, and functional specifications.
π‘ Why this matters: The physical layer is the foundation of all data communicationβwithout these specifications, devices from different manufacturers could not connect or understand each other.
Digital Data Transmission
Binary data consisting of 1s and 0s may be organized into groups of βnβ bits each. By grouping, we can send data βnβ bits at a time instead of one bit at a time.
Parallel Transmission
In Parallel Transmission, bits are sent simultaneously, each on a separate wire or channel. This requires multiple channels (one for each bit in the group).
π‘ Why this matters: Parallel transmission is very fast but expensive because it requires many physical lines.
- π Formula: N/A
- π Example: If you send an 8-bit byte in parallel, you need 8 separate wires to transmit all 8 bits at the same instant.
Serial Transmission
In Serial Transmission, one bit follows another, so we only need one channel instead of βnβ. However, conversion devices are required at the interface to convert between parallel (inside the device) and serial (on the wire) formats.
- ΒΎ Advantage β COST: Serial transmission is much cheaper because it uses fewer physical wires or channels.
Types of Serial Transmission
There are two types of Serial Transmission:
Asynchronous Transmission
Asynchronous Transmission is so named because the timing of the signal is unimportant. Instead, information is received and translated by agreed upon patterns.
-
Start and Stop Bits: Each byte or character is framed by a start bit and a stop bit, allowing the receiver to know where each byte begins and ends.
-
ΒΎ Advantages: βCheap βEffective
-
ΒΎ Disadvantages: βSlow
Synchronous Transmission
Synchronous Transmission transmits data as an unbroken string of 1βs and 0βs, and the receiver separates that string into the bytes or characters it needs to reconstruct the information. There are no start/stop bits between each byte; instead, the sender and receiver are synchronized by a shared clock or by encoding the clock signal in the data.
- ΒΎ Advantage β Speed: Synchronous transmission is much faster than asynchronous because there is no overhead from start and stop bits.
Summary
The lecture concludes with a summary listing: Introduction to Interfaces, Digital Data Transmission, Parallel Transmission, Serial Transmission, Asynchronous Transmission, and Synchronous Transmission.
β Key Takeaways
The most critical concept is the fundamental trade-off between parallel (fast but expensive) and serial (slow but cheap) transmission. For serial transmission, a student must understand the key difference between asynchronous (uses start/stop bits per character, cheap but slow) and synchronous (stream of bits with no per-character overhead, fast but requires precise timing). The physical layer interface is defined by mechanical, electrical, and functional specifications that allow devices to interoperate. Remember that serial transmission requires conversion devices at the interface because internal device data paths are typically parallel. Finally, cost and speed are the primary factors when choosing a transmission method.
π§ Quick Revision Questions
- What are the three types of specifications that define the interface between a generating device and the next device at the physical layer?
- What is the main advantage of parallel transmission? What is its main disadvantage?
- In serial transmission, why are conversion devices required at the interface?
- How does a receiver in asynchronous transmission know where a byte begins and ends?
- Why is synchronous transmission faster than asynchronous transmission?
π Lecture 21 β DTE-DCE Interface
π Overview: This lecture explains the DTE-DCE interface, the standard that governs how data terminal equipment (DTE) and data circuit-terminating equipment (DCE) communicate at the physical layer. It covers the EIA-232 standard in detail, including its mechanical, electrical, and functional specifications, and introduces the concept of a null modem for direct DTE-to-DTE connections.
ποΈ Topics Covered
The lecture begins by defining DTE and DCE as the four basic functional units involved in data communication. It then introduces the EIA-232 interface standard, breaking it down into its mechanical specifications (25-wire cable and DB-25 connectors), electrical specifications (NRZ-L encoding, voltage ranges for data and control signals, bit rate limits), and functional specifications (pin assignments). The lecture also describes the step-by-step process of establishing a DTE-DCE connection and explains the concept and implementation of a null modem for direct DTE-to-DTE communication.
π Lecture Summary
DTE-DCE Interface
Communication involves four basic units: a DTE (Data Terminal Equipment) and a DCE (Data Circuit-terminating Equipment) on one end, and a DTE and DCE on the other end. The DTE is any device that is a source or destination of digital data, such as a computer or terminal. The DCE is any device that transmits or receives a signal through the network, such as a modem. The DTE generates data and passes it to the DCE, which converts it to a format appropriate for the transmission medium. At the receiving end, the process is reversed. The two DTEs do not need to be coordinated with each other, but each DTE must be coordinated with its DCE, and the two DCEs must be coordinated so that data translation occurs without loss of integrity.
π‘ Why this matters: Understanding the distinction between DTE and DCE is fundamental to grasping how devices connect and communicate over physical media.
Standards
Many standards define the connection between a DTE and a DCE. The two main organizations are the Electronic Industries Organization (EIA) and the ITU-T. Each standard provides a model for the mechanical, electrical, and functional characteristics of the connection.
EIA 232 Interface
The EIA 232 standard, originally issued in 1962 as RS-232, defines the mechanical, electrical, and functional characteristics of the interface between a DTE and a DCE. It defines the type of connectors, the specific cable and plugs, and the functionality of each pin.
Mechanical Specifications
The EIA 232 standard defines the interface as a 25-wire cable with a male and a female DB-25 pin connector attached to either end. The cable length may not exceed 15 meters (50 feet). A DB-25 connector is a plug with 25 pins or receptacles, each attached to a single wire with a specific function. The male connector has pins, and the female connector has metal tubes or sheaths.
Electrical Specifications (Sending data)
EIA 232 states that data must be transmitted as binary 1βs and 0βs using NRZ-L encoding, with 0 defined as a positive voltage and 1 defined as a negative voltage. It defines two distinct voltage ranges: one for positive voltages (between +3 and +15 volts) and one for negative voltages (between -3 and -15 volts). The receiver accepts any voltage that falls within these ranges as valid signals.
π Definition β NRZ-L (Non-Return-to-Zero Level): An encoding scheme where a positive voltage represents a binary 0 and a negative voltage represents a binary 1, with the signal level constant for the duration of the bit.
Electrical Specifications (Control & Timing)
Only 4 of the 25 wires are used for data functions; the remaining 21 are reserved for control, timing, grounding, and testing. For control signals, a positive voltage (at least +3V) means ON, and a negative voltage (less than -3V) means OFF. This is conceptually the reverse of the specification for data transmission.
Electrical Specifications (Bit Rate)
EIA 232 allows for a maximum bit rate of 20 Kbps, although in practice it is often exceeded.
Functional Specifications
Two different implementations of the EIA 232 connector are available: DB-25 and DB-9. The DB-25 connector defines the function of each of the 25 pins. For example, pin 2 is for transmitting data, pin 3 is for receiving data, and pin 9 and 10 are for future use. Each function has a mirror or answering function for traffic in the opposite direction to allow for full-duplex operation. Most pins in the DB-25 implementation are not necessary for a single asynchronous connection, leading to the simpler 9-pin version (DB-9).
Functioning Steps
The process of communication involves five steps:
- Step 1: Preparation: Activating the two grounding circuits (pin 1 for shield, pin 7 for ground).
- Step 2: Readiness: The sending DTE activates pin 20 (Data Terminal Ready) and its DCE activates pin 6 (Data Set Ready). The same sequence is performed by the remote computer.
- Step 3: Setup: The sending DTE activates pin 4 (Request to Send). The sending DCE transmits a carrier signal. The receiving modem detects the carrier and activates pin 8 (Received Line Signal Detector). The sending DCE then activates pin 5 (Clear to Send).
- Step 4: Data Transfer: The initiating computer transfers its data stream to its modem over circuit 2 (Transmitted Data), accompanied by a timing pulse on circuit 24. The modem converts the digital data to an analog signal and sends it. The receiving modem converts the signal back to digital and passes it to its DTE via circuit 3 (Received Data) and a timing pulse on circuit 17.
- Step 5: Clearing: Both computers deactivate their request-to-send circuits. The modems turn off their carrier signals, their received line signal detectors, and their clear-to-send circuits.
NULL MODEM
A null modem is a solution for connecting two DTEs (e.g., two workstations) directly without DCEs, modems, or analog lines. It provides a DTE-DTE interface, unlike a standard EIA 232 DTE-DCE cable which has a female connector at the DTE end and a male connector at the DCE end. A null modem has female connectors at both ends to connect to the EIA 232 DTE ports (which are male). Using a standard DTE-DCE cable to connect two DTEs directly would be problematic because the transmit circuit (pin 2) from one DTE would connect to the transmit circuit (pin 2) of the other DTE, causing collision noise. A null modem "crosses" the connections, for example, connecting the transmit pin of one DTE to the receive pin of the other.
β Key Takeaways
The DTE-DCE interface is the physical layer standard for connecting data terminals to communication equipment like modems. The EIA-232 (RS-232) standard is a classic example, defining mechanical connectors (DB-25), electrical signaling (NRZ-L with Β±3-15V ranges for data and distinct ON/OFF logic for control), and functional pin assignments (e.g., pins 2 and 3 for TX/RX). A null modem is a special cable that allows two DTEs to communicate directly by crossing specific signal lines, effectively eliminating the need for two DCEs. Understanding these interface concepts is essential for troubleshooting and designing physical layer connections.
π§ Quick Revision Questions
- What are the four functional units involved in DTE-DCE communication?
- What is the maximum recommended cable length for an EIA-232 connection?
- What voltage range defines a binary '0' in EIA-232 data transmission, and what is the encoding scheme used?
- Explain the purpose of pins 4 (RTS) and 5 (CTS) in the EIA-232 interface functioning steps.
- Why is a null modem cable necessary when connecting two DTEs directly, and what is its key wiring difference compared to a standard DTE-DCE cable?
π Lecture 22 β Other Interface Standards
π Overview: This lecture covers additional EIA and ITU-T interface standards designed to overcome the speed and distance limitations of EIA-232, including EIA-449, EIA-530, and X.21. It then introduces modems as a key type of DCE, explaining their function, transmission rate limitations, and how different modulation techniques (ASK, FSK, PSK, QAM) affect modem speed over telephone lines.
ποΈ Topics Covered
The lecture begins by discussing the limitations of EIA-232 and introduces EIA-449, its mechanical and functional specifications, and its use of RS-423 (unbalanced) and RS-422 (balanced) electrical specifications. It then covers EIA-530, which uses a DB-25 connector for better industry acceptance, and X.21, a standard for digital telephony. The second half of the lecture introduces modems, explains the modulator and demodulator functions, transmission rate limitations including bandwidth of telephone lines, and the impact of different modulation techniques (ASK, FSK, PSK, QAM) on modem speed in half-duplex and full-duplex modes.
π Lecture Summary
Other Interface Standards
Both data rate and cable length are restricted by EIA-232: data rate to 20 Kbps and cable length to 50 feet. To meet the needs of users requiring more speed or distance, the EIA and ITU-T introduced additional standards: EIA-449, EIA-530, and X.21.
EIA-449
The mechanical specifications of EIA-449 define a combination of two connectors: one with 37 pins (DB-37) and one with 9 pins (DB-9), for a combined 46 pins. The functional specifications of EIA-449 give the DB-37 pins properties similar to those of the DB-25. The major functional difference between 25 and 37 pin connectors is that all functions relating to the secondary channel have been removed from DB-37. Because the secondary channel is seldom used, EIA-449 separates those functions out and puts them in the second, 9-pin connector (DB-9). In this way, a second channel is available to systems that need it.
EIA-449 (PINS)
To maintain compatibility with EIA-232, EIA-449 defines two categories of pins to be used in exchanging data, control, and timing information: Category 1 pins and Category 2 pins. Category 1 includes those pins whose functions are compatible with EIA-232. Category 2 pins are those that have no equivalent in EIA-232 or have been redefined. The DB-9 connector here is different from the one previously discussed.
Electrical Specifications RS-423, RS-422
EIA-449 uses two standards to define its electrical specifications: RS-423 (Unbalanced Mode) and RS-422 (Balanced Mode).
RS-423 Unbalanced Mode:
- Unbalanced circuit specification
- Unbalanced means it defines only one line for propagating a signal
- All signals use a common return or a ground to complete the circuit
- In unbalanced mode, EIA-449 calls for the use of only the first pin of each pair of category 1 pins and all category 2 pins
RS-422 Balanced Mode:
- Balanced circuit specification
- Defines two lines for the propagation of each signal
- Signal again uses a common return
- EIA utilizes all pairs of pins in category 1 but does not use the category 2 pins
- The ratio of data rate to distance is much higher than EIA-232
- In balanced mode, two lines carry the same signal which are not identical to each other
- Signal on one line is the complement of the other
π Balanced Mode: A transmission mode where two lines carry the same signal, with one being the complement of the other, allowing for noise cancellation.
Canceling of Noise in the Balanced Mode: When plotted, the complement of the signal looks like the mirror image of the signal. This allows noise to be canceled at the receiver.
π‘ Why this matters: Balanced mode (RS-422) provides much higher data rates and longer distances than unbalanced mode (RS-423) because noise is effectively canceled, making it more reliable for high-speed communication.
EIA-530
EIA-449 provides much better functionality than EIA-232. However, it requires a DB-37 connector that industry has been reluctant to use because of the widespread use of DB-25. To encourage acceptance of EIA-449, EIA developed a version of EIA-449 that uses DB-25 pins. Pin functions of EIA-530 are essentially those of EIA-449 Category 1 pins plus three pins from category 2. EIA-530 does not support a secondary circuit.
X.21
X.21 eliminates most of the control pins of EIA standards. Control signals are encoded as control characters and sent within the data line. This provides more control information for digital telephony. X.21 is designed for digital communication between devices over a network, rather than just between DTE and DCE. It uses a DB-15 connector and works with balanced circuits at 64 Kbps.
MODEMS
MODEM is the most familiar type of a DCE (Data Circuit-terminating Equipment). We require a modem to connect to the internet. MODEM is a composite word for Modulator and Demodulator. A modulator converts a digital signal into an analog signal using ASK, FSK, PSK, or QAM. A demodulator converts an analog signal into a digital signal. While a demodulator resembles an analog-to-digital converter, it is not in fact a converter of any kind; it does not sample the signal to create a digital signal; it just reverses the process of modulation (performs demodulation).
A DTE creates a digital signal and relays it to the Modem via an interface. The modem modulates the signal. This modulated signal is received by the demodulation function of the second modem. The demodulator takes this ASK, FSK, PSK, or QAM signal and decodes it into whatever format its computer can accept. It then relays the digital signal to the computer via an interface. Each DCE must be compatible with both its own DTE and the other DCE.
Transmission Rate
Modems are often described as high speed or low speed to indicate how many bits per second a specific device is capable of transmitting or receiving.
Limitations on the transmission rate of the Modem:
- Bandwidth: Data rate of a link depends upon the type of encoding used and the bandwidth of the medium. The medium bandwidth is related to the inherent limitation of the physical property of the medium. Every line has a range of frequencies it can pass. If the frequency of a signal is too low, it cannot overcome the capacitance of the line. If the frequency is too high, it can be impeded by the inductance of the line. So every line has an upper limit and a lower limit on frequencies of the signals. This limited range is called bandwidth.
Telephone Line Bandwidth
Traditional telephone lines can carry frequencies between 300 Hz and 3300 Hz, giving them a bandwidth of 3000 Hz. All of this range is used for transmitting voice where a great deal of interference and distortion can be accepted without any loss of intelligibility. Data signals require a high degree of accuracy, so edges of the range are not used for data communication. The effective bandwidth of a telephone line used for data transmission is 2400 Hz, covering a range from 600 Hz to 3000 Hz.
Modem Speed
Each type of analog conversion manipulates the signal differently:
- ASK manipulates Amplitude
- FSK manipulates Frequency
- PSK manipulates Phase
- QAM manipulates both Phase and Amplitude
Modem Speed - ASK (Half Duplex): Assuming the entire link is used by one signal (Simplex or Half Duplex), the maximum baud rate for ASK modulation is equal to the entire bandwidth of the transmission medium.
- Because the effective BW of a telephone line is 2400 Hz, the maximum baud rate is also 2400.
- Baud rate and bit rate are equal for ASK, so maximum bit rate is also 2400 bps.
Modem Speed - ASK (Full Duplex): For full duplex transmission, only half of the total bandwidth can be used in either direction. Therefore, the maximum speed for ASK in full duplex mode is 1200 bps. Noise problems make it impractical for use in modems.
π Formula: ASK Max Bit Rate (HDX) = Baud Rate = Bandwidth (2400 bps for telephone line) π Formula: ASK Max Bit Rate (FDX) = 1/2 Γ Bandwidth (1200 bps for telephone line)
Modem Speed - FSK: The bandwidth required for FSK is equal to the baud rate of the signal plus the frequency shift. So the maximum baud rate becomes equal to the bandwidth of the transmission medium minus the frequency shift.
- Maximum baud rate = 2400 β frequency shift
- Bit rate is also 2400 β frequency shift
- In full duplex mode, it is equal to 1200 β frequency shift
π Formula: FSK Max Baud Rate (HDX) = Bandwidth β Frequency Shift π Formula: FSK Max Baud Rate (FDX) = (Bandwidth/2) β Frequency Shift
Modem Speed - PSK & QAM: The minimum bandwidth for PSK or QAM is the same as for ASK, but the bit rate can be greater depending upon the number of bits that can be represented by each signal unit.
Modem Speed - PSK & QAM on two-wire Twisted pair Telephone line:
| Modulation Technique | Bit Rate (Half Duplex) | Bit Rate (Full Duplex) |
|---|---|---|
| 2-PSK | 2400 bps | 1200 bps |
| 4-PSK, 4-QAM | 4800 bps | 2400 bps |
| 8-PSK, 8-QAM | 7200 bps | 3600 bps |
| 16-QAM | 9600 bps | 4800 bps |
| 32-QAM | 12000 bps | 6000 bps |
β Key Takeaways
The key takeaways from this lecture are that EIA-449, EIA-530, and X.21 were developed to overcome EIA-232's limitations in speed and distance, with EIA-449 using a DB-37/DB-9 connector combination and supporting both unbalanced (RS-423) and balanced (RS-422) electrical modes for noise cancellation. EIA-530 was created for industry acceptance by using the familiar DB-25 connector, while X.21 eliminated most control pins by encoding control signals as characters for digital telephony at 64 Kbps. Modems function as DCEs by modulating digital signals into analog (ASK, FSK, PSK, QAM) and demodulating them back, with their transmission rate limited by telephone line bandwidth (effective 2400 Hz). Finally, while ASK and FSK have bit rates equal to their baud rates (max 2400 bps HDX), PSK and QAM achieve higher bit rates (up to 12000 bps HDX with 32-QAM) because each signal unit can represent multiple bits, with full duplex rates being half of the half-duplex rates.
π§ Quick Revision Questions
- What are the two categories of pins defined by EIA-449, and how does the DB-9 connector relate to the secondary channel?
- In balanced mode (RS-422), how does the use of two lines carrying complementary signals lead to noise cancellation?
- What was the primary motivation for developing EIA-530, and how does its pin configuration differ from EIA-449?
- Why is the effective bandwidth of a telephone line for data communication only 2400 Hz, despite a total bandwidth of 3000 Hz?
- Using the table provided, what is the maximum bit rate for 16-QAM in full duplex mode over a telephone line, and why is it lower than the half-duplex rate?