93
How Radios Work

3 third lecture __lucid_1_مقدمة عامة وسهلة جداً عن الإتصالات اللاسلكية_نبدأ بها أول حاجة إن شاء الله

Embed Size (px)

Citation preview

Page 1: 3 third lecture __lucid_1_مقدمة عامة وسهلة جداً عن الإتصالات اللاسلكية_نبدأ بها أول حاجة إن شاء الله

How Radios Work

Page 2: 3 third lecture __lucid_1_مقدمة عامة وسهلة جداً عن الإتصالات اللاسلكية_نبدأ بها أول حاجة إن شاء الله

Radio Waves

Radio waves carry music, conversations, pictures, and data invisibly through the air over millions of miles.

Radios can transmit and/or receive radio waves.

Page 3: 3 third lecture __lucid_1_مقدمة عامة وسهلة جداً عن الإتصالات اللاسلكية_نبدأ بها أول حاجة إن شاء الله

They’re Everywhere

Some examples: AM/FM Radios Cell Phones GPS Receivers Wi-Fi

Some other examples: Cordless Phones Garage Door Openers Radio-Controlled Toys Television Broadcasts Ham Radio Etc.

All wireless technologies use radio waves to communicate.

Page 4: 3 third lecture __lucid_1_مقدمة عامة وسهلة جداً عن الإتصالات اللاسلكية_نبدأ بها أول حاجة إن شاء الله

Some Other (not-so-obvious) Examples

Radar (police, air traffic control, military applications) Microwave ovens Navigation systems Airplanes (contain dozen different radio systems) Baby monitors

Page 5: 3 third lecture __lucid_1_مقدمة عامة وسهلة جداً عن الإتصالات اللاسلكية_نبدأ بها أول حاجة إن شاء الله

Simple, Cheap Radio

Take a fresh 9V battery and a coin Find AM radio and tune to an area of dial where there

is static Hold battery near antenna Quickly tap two terminals of battery using coin Radio crackles due to connection/disconnection by

coin. Battery/coin combo is a

radio transmitter!

Page 6: 3 third lecture __lucid_1_مقدمة عامة وسهلة جداً عن الإتصالات اللاسلكية_نبدأ بها أول حاجة إن شاء الله

Simple, Cheap Radio (Cont’d)

Battery/coin radio transmits static. Transmits only over short distance.

Could use static to tap Morse code messages and communicate over several inches.

May not be practical but is a simple example of a functional radio transmitter.

Why does it work? We’ll go over this next.

Page 7: 3 third lecture __lucid_1_مقدمة عامة وسهلة جداً عن الإتصالات اللاسلكية_نبدأ بها أول حاجة إن شاء الله

How Simple Transmitters Work

Battery: connect to ends (terminals) of a battery with a piece of wire. Result: battery sends electricity (stream of electrons) thru the wire. There is voltage in the wire.

When start electrons moving (create current in wire), a magnetic field is created around the wire.

Magnetic field is strong enough to affect a compass.

Page 8: 3 third lecture __lucid_1_مقدمة عامة وسهلة جداً عن الإتصالات اللاسلكية_نبدأ بها أول حاجة إن شاء الله

Simple Transmitter (Cont’d)

Page 9: 3 third lecture __lucid_1_مقدمة عامة وسهلة جداً عن الإتصالات اللاسلكية_نبدأ بها أول حاجة إن شاء الله

Result of Simple Transmitter Extend the experiment: take another wire, place it

parallel to the battery wire but a few centimeters away from it.

Connect a sensitive voltmeter to this new wire. Voltmeter will give a measure amount of electricity in new wire.

When you connect/disconnect the battery wire, you will read a small voltage and current in the second wire.

Page 10: 3 third lecture __lucid_1_مقدمة عامة وسهلة جداً عن الإتصالات اللاسلكية_نبدأ بها أول حاجة إن شاء الله

Simple Transmitter (Cont’d)

Observation: by changing the magnetic field in one wire, we can cause an change in the electric field in the second wire.

Specifically, Battery creates electron flow in one wire Moving electrons create magnetic field around one wire Magnetic field stretches out to second wire Electrons flow in second wire whenever magnetic field in

first wire changes.

Electrons flow in second wire only when you connect/disconnect battery.

Page 11: 3 third lecture __lucid_1_مقدمة عامة وسهلة جداً عن الإتصالات اللاسلكية_نبدأ بها أول حاجة إن شاء الله

Simple Transmitter (Cont’d)

We see then that a message can be converted to Morse code and then tapped using first wire (connect/disconnect).

This first wire is a simple transmitter.The second wire is a receiver.

Page 12: 3 third lecture __lucid_1_مقدمة عامة وسهلة جداً عن الإتصالات اللاسلكية_نبدأ بها أول حاجة إن شاء الله

Simple Receiver

Voltage changes in second wire can be used to determine Morse code taps.

Morse code message is then decoded to get the message from the first wire.

Result: communication of message occurs “wirelessly” (over a couple of centimeters) from the first wire to the second wire.

Page 13: 3 third lecture __lucid_1_مقدمة عامة وسهلة جداً عن الإتصالات اللاسلكية_نبدأ بها أول حاجة إن شاء الله

Creating Simple Transmitters

When we change current in first wire in time, a current is induced in second wire.

To create any radio transmitter, create a rapidly changing electric current in a wire.

This can be done by connecting/disconnecting a battery. When connected, voltage in wire is 9V. When disconnected voltage in wire is 0V. Result: square wave signal (very similar to UWB signals)

Time (s)

9V

0V

Page 14: 3 third lecture __lucid_1_مقدمة عامة وسهلة جداً عن الإتصالات اللاسلكية_نبدأ بها أول حاجة إن شاء الله

Sine Wave: Better than Square Wave !!

A better alternative to square wave is a continuously varying electric current in a wire.

Simplest and smoothest continuously varying wave is a sine wave:

A simple radio transmitter created by running a sine wave thru a wire.

Page 15: 3 third lecture __lucid_1_مقدمة عامة وسهلة جداً عن الإتصالات اللاسلكية_نبدأ بها أول حاجة إن شاء الله

Sine Waves

By sending sine wave electric current to antenna, you can transmit sine wave into space.

All radios today, however, transmit continuous sine waves to transmit information (audio, video, data).

Why sine waves?To allow many different people/devices

to use radio waves at the same time.

Page 16: 3 third lecture __lucid_1_مقدمة عامة وسهلة جداً عن الإتصالات اللاسلكية_نبدأ بها أول حاجة إن شاء الله

Sine Waves: Frequency

One cycle of a sine wave is:

Sine wave canbe written as sin(2pt/T)

When one cycle of a sine wave lasts T seconds, wesay that the sine wave as frequency 1/T Hertz (Hz).

1 Hz = 1 cycle/second.

Page 17: 3 third lecture __lucid_1_مقدمة عامة وسهلة جداً عن الإتصالات اللاسلكية_نبدأ بها أول حاجة إن شاء الله

More on Sine Waves

If there was a way to see radio waves, we would find there are literally thousands of different radio waves (sine waves) traveling thru the air (TV broadcasts, cell phone conversations, AM/FM broadcasts, etc.)

Each different radio signal uses a different sine wave frequency.

Use of different frequencies help separate different radio signals.

Page 18: 3 third lecture __lucid_1_مقدمة عامة وسهلة جداً عن الإتصالات اللاسلكية_نبدأ بها أول حاجة إن شاء الله

More on Frequency

When you listen to AM broadcast, your radio is tuning into sine waves oscillating at a frequency around 1,000,000 cycles per second.

For example, 880 on the AM dial corresponds to listening to a radio (sine) wave that has frequency 880,000 Hz = 880 KHz.

FM signals operate in range of 10,000,000 Hz. So, 90.9 on FM dial corresponds to 90,900,000 Hz = 90.9 MHz.

Page 19: 3 third lecture __lucid_1_مقدمة عامة وسهلة جداً عن الإتصالات اللاسلكية_نبدأ بها أول حاجة إن شاء الله

Kilo, Mega, Giga, etc.

1 Hz

1000 Hz = 1 KHz (kilohertz)

1,000,000 Hz = 1 MHz (megahertz)

1,000,000,000 Hz = 1 GHz (gigahertz)

Page 20: 3 third lecture __lucid_1_مقدمة عامة وسهلة جداً عن الإتصالات اللاسلكية_نبدأ بها أول حاجة إن شاء الله

The Spectrum of a Signal

Page 21: 3 third lecture __lucid_1_مقدمة عامة وسهلة جداً عن الإتصالات اللاسلكية_نبدأ بها أول حاجة إن شاء الله
Page 22: 3 third lecture __lucid_1_مقدمة عامة وسهلة جداً عن الإتصالات اللاسلكية_نبدأ بها أول حاجة إن شاء الله

More on Radio Basics Any radio setup has two parts: Transmitter and Receiver

Transmitter takes some form of message (someone’s

voice, pictures for TV set, etc.) encodes it into a sine wave and transmits it with radio waves.

Combination of encoded message on a radio wave is commonly referred to as a signal.

Receiver receives radio waves and decodes messages from the sine waves.

Both transmitter and receiver use antennas to radiate and capture radio waves.

Page 23: 3 third lecture __lucid_1_مقدمة عامة وسهلة جداً عن الإتصالات اللاسلكية_نبدأ بها أول حاجة إن شاء الله

Transmitter Description

Information(voice message)

Combine

SineWave

Radio Transmitter

Antenna

Radio Waves

Transmitter generates its own sine wave using oscillators.

Page 24: 3 third lecture __lucid_1_مقدمة عامة وسهلة جداً عن الإتصالات اللاسلكية_نبدأ بها أول حاجة إن شاء الله

Receiver Description

Separate

Sine Wave

Radio Transmitter

Antenna

Information(voice message)

Page 25: 3 third lecture __lucid_1_مقدمة عامة وسهلة جداً عن الإتصالات اللاسلكية_نبدأ بها أول حاجة إن شاء الله

Modulation If you have a sine wave and a transmitter that is

transmitting the sine wave into space using an antenna (more antennas later), you have a radio station.

Problem with plain old sine wave: does not contain information.

Sine wave has to be modulated in some way so that it contains information, e.g., voice message.

Page 26: 3 third lecture __lucid_1_مقدمة عامة وسهلة جداً عن الإتصالات اللاسلكية_نبدأ بها أول حاجة إن شاء الله

3 Basic Modulation Methods

Pulse Modulation (PM): turn sine wave on and off. Easy way to send Morse code.

Page 27: 3 third lecture __lucid_1_مقدمة عامة وسهلة جداً عن الإتصالات اللاسلكية_نبدأ بها أول حاجة إن شاء الله

3 Basic Modulation Methods (Cont’d)

Amplitude Modulation (AM): Amplitude (peak-to-peak voltage) of sine wave is changed so as to contain information.

AM radio stations and picture part of TV signals use amplitude modulation to encode information signal.

Page 28: 3 third lecture __lucid_1_مقدمة عامة وسهلة جداً عن الإتصالات اللاسلكية_نبدأ بها أول حاجة إن شاء الله

Example of AM

carrier = sine wave with a given frequency

Page 29: 3 third lecture __lucid_1_مقدمة عامة وسهلة جداً عن الإتصالات اللاسلكية_نبدأ بها أول حاجة إن شاء الله

3 Basic Modulation Methods (Cont’d)

Frequency Modulation (FM): Radio transmitter changes frequency of sine wave according to information signal.

Frequency modulation is most popular. Used by FM radio stations, sound part of TV signal, cellular phones, cordless phones, etc.

Page 30: 3 third lecture __lucid_1_مقدمة عامة وسهلة جداً عن الإتصالات اللاسلكية_نبدأ بها أول حاجة إن شاء الله

Frequency of Signal after Modulation

Radio wave transmitted after modulating sine wave with information signal is not just a sine wave with frequency f.

For example, in FM, the frequency varies around this frequency f. For example, it may increase up to f+Df and be as small as f-Df.

After modulating information signal, the radio wave has some range of frequency, called the frequency band, e.g., 2Df.

The bandwidth, width of frequency band, depends on the information signal (voice, data bit rate, etc.)

Page 31: 3 third lecture __lucid_1_مقدمة عامة وسهلة جداً عن الإتصالات اللاسلكية_نبدأ بها أول حاجة إن شاء الله

Summary of Modulation

By modulating a sine wave at a transmitter, information can be encoded into the radio wave.

The resulting radio wave occupies a band of frequency, centered on the frequency of the sine wave.

Receiver needs to demodulate the radio wave to extract the information signal.

Page 32: 3 third lecture __lucid_1_مقدمة عامة وسهلة جداً عن الإتصالات اللاسلكية_نبدأ بها أول حاجة إن شاء الله

AM Modulation Example Car radio is tuned to radio station, say 880 AM.

Transmitter’s sine wave is transmitting at 880,000 Hz (sine wave repeats 880,000 times per second).

DJ’s voice is modulated onto sine wave, i.e., amplitude of sine wave is varied as DJ’s voice varies.

A power amplifier magnifies power of modulated sin wave, e.g., to 50,000 Watts for a large AM station.

Antenna then sends radio waves into space. High power amplification helps waves travel large distances.

Page 33: 3 third lecture __lucid_1_مقدمة عامة وسهلة جداً عن الإتصالات اللاسلكية_نبدأ بها أول حاجة إن شاء الله

How do we receive AM signals?

Unless you sit right next to the transmitter, you need an antenna to pick out the radio waves from the air.

An AM antenna is just a wire or a metal stick that increases the amount of metal the transmitter’s waves interact with.

Radio receiver also needs a tuner. Antenna will receive thousands of sine waves; tuner separates out the radio wave that the listener desires, e.g., the radio wave transmitted at 880 KHz.

Page 34: 3 third lecture __lucid_1_مقدمة عامة وسهلة جداً عن الإتصالات اللاسلكية_نبدأ بها أول حاجة إن شاء الله

AM Reception (Cont’d)

Tuners operate using a principle called resonance. That is, tuners resonate at and amplify one particular frequency and ignore all other frequencies in the air.

After tuning in, radio receiver has to extract the DJ’s voice signal from the sine waves.

This is done using a demodulator (aka detector).

Page 35: 3 third lecture __lucid_1_مقدمة عامة وسهلة جداً عن الإتصالات اللاسلكية_نبدأ بها أول حاجة إن شاء الله

AM Reception (Cont’d)

One type of a AM detector is something called an envelope detector. Simply, it determines the magnitude (amplitude) of the sine wave.

An amplify magnifies this amplitude signal and then the receiver sends the output to the car radio speakers.

What we hear is the DJ’s voice.

Page 36: 3 third lecture __lucid_1_مقدمة عامة وسهلة جداً عن الإتصالات اللاسلكية_نبدأ بها أول حاجة إن شاء الله

What about FM?

FM reception is very similar.

Difference: FM detector output changes in the sine wave frequency as opposed to amplitude.

Specifically, FM detector converts changes in sine wave frequency into sound.

Antenna, tuner, amplifier are largely the same in FM as in AM.

Page 37: 3 third lecture __lucid_1_مقدمة عامة وسهلة جداً عن الإتصالات اللاسلكية_نبدأ بها أول حاجة إن شاء الله

What about antennas?

Almost every radio you see (cell phones, car radio, etc.) has an antenna.

Antennas come in all shapes and sizes. Shapes and sizes depend on the frequency the antenna is trying to receive.

Ranges from long stiff wire (as in car radios) to large satellite dishes (as used by NASA).

For satellites that are millions of miles away NASA uses antenna dishes that 200 feet wide.

Page 38: 3 third lecture __lucid_1_مقدمة عامة وسهلة جداً عن الإتصالات اللاسلكية_نبدأ بها أول حاجة إن شاء الله

More on Antennas

Often radio stations use extremely tall antenna towers to transmit their signals.

Antenna at radio transmitter: launch radio signals into space.

Antenna at radio receiver: pick up as

much of the transmitter’s power as

possible and feed it to the tuner.

Page 39: 3 third lecture __lucid_1_مقدمة عامة وسهلة جداً عن الإتصالات اللاسلكية_نبدأ بها أول حاجة إن شاء الله

Antennas (Cont’d)

Size of optimum radio antenna is related to frequency of the signal antenna is trying to transmit and/or receive.

Reason for this: speed of light and the distance electrons can travel as a result.

Speed of light is 186,000 miles/sec (300,000 meters/sec).

Page 40: 3 third lecture __lucid_1_مقدمة عامة وسهلة جداً عن الإتصالات اللاسلكية_نبدأ بها أول حاجة إن شاء الله

Determining Antenna Size

Say you are building an antenna tower for radio station 680 AM.

It is transmitting sine wave with frequency of 680,000 Hz.

In one cycle of sine wave, transmitter is going to move electrons in the antenna in one direction, switch and pull them back, switch push them out, and switch and pull them back.

That is electrons change direction four times during one cycle of the sine wave.

time

Page 41: 3 third lecture __lucid_1_مقدمة عامة وسهلة جداً عن الإتصالات اللاسلكية_نبدأ بها أول حاجة إن شاء الله

Antenna Size (Cont’d) When operating at 680,000 Hz, each cycle

completes in 1/680,000 = 0.00000147 seconds.

One quarter of the cycle is 0.0000003675 seconds.

At the speed of light, electrons can travel 0.0684 miles (361 feet) in 0.0000003675 seconds.

Cell phones operate using 900,000,000 Hz; this means that it needs antennas that are about 3 inches high.

Page 42: 3 third lecture __lucid_1_مقدمة عامة وسهلة جداً عن الإتصالات اللاسلكية_نبدأ بها أول حاجة إن شاء الله

Antenna Size (Cont’d)

Question: why aren’t car radio antennas 300 feet high?

It would be impractical for one. If you made car radio antenna higher, reception

would be better.

AM radio stations transmit at high powers to compensate for the suboptimal receive antenna heights.

Page 43: 3 third lecture __lucid_1_مقدمة عامة وسهلة جداً عن الإتصالات اللاسلكية_نبدأ بها أول حاجة إن شاء الله

Some Questions

Why do radio waves transmit away from antenna into space at speed of light?

How can radio waves transmit millions of miles? Doesn’t antenna only create magnetic field in its

vicinity? How can the magnetic field variation be registered

millions of miles away?

Page 44: 3 third lecture __lucid_1_مقدمة عامة وسهلة جداً عن الإتصالات اللاسلكية_نبدأ بها أول حاجة إن شاء الله

Answer When current enters antenna, it creates a magnetic

field around the antenna. This magnetic field creates an electric field (voltage and current) in another wire placed close to the antenna.

In space, magnetic field created by antenna induces electric field in space.

This electric field induces another magnetic field in space, which induces another electric field, …

These electric and magnetic fields (electromagnetic fields) induce each other in space at the speed of light in a direction away from the antenna.

Page 45: 3 third lecture __lucid_1_مقدمة عامة وسهلة جداً عن الإتصالات اللاسلكية_نبدأ بها أول حاجة إن شاء الله

What is Radio Spectrum?

Page 46: 3 third lecture __lucid_1_مقدمة عامة وسهلة جداً عن الإتصالات اللاسلكية_نبدأ بها أول حاجة إن شاء الله

Radio Frequencies

A radio wave is an electromagnetic wave propagated by an antenna.

Radio waves have different frequencies and by tuning a radio receiver to a specific frequency, you can pick up a specific signal.

Page 47: 3 third lecture __lucid_1_مقدمة عامة وسهلة جداً عن الإتصالات اللاسلكية_نبدأ بها أول حاجة إن شاء الله

Radio Frequencies (Cont’d)

Frequency Band 10 kHz to 30 kHz Very Low Frequency (VLF) 30 kHz to 300 kHz Low Frequency (LF)

300 kHz to 3 MHz Medium Frequency (MF)3 MHz to 30 MHz High Frequency (HF)30 MHz to 328.6 MHz Very High Frequency (VHF)328.6 MHz to 2.9 GHz Ultra High Frequency (UHF)2.9 GHz to 30 GHz Super High Frequency (SHF)30 GHz and above Extremely High Frequency (EHF)

Page 48: 3 third lecture __lucid_1_مقدمة عامة وسهلة جداً عن الإتصالات اللاسلكية_نبدأ بها أول حاجة إن شاء الله

FCC and Frequency Bands

In the U.S., the Federal Communications Commission (FCC) who is able to use which frequencies for which purposes.

It issues licenses to stations for specific frequencies.

For example, AM radio stations must use frequencies in 535 KHz to 1.7 MHz band.

FM radio stations transmit in band of frequencies from 88 MHz to 108 MHz.

Page 49: 3 third lecture __lucid_1_مقدمة عامة وسهلة جداً عن الإتصالات اللاسلكية_نبدأ بها أول حاجة إن شاء الله

Spectrum Licenses for Cellular

Cellular telephony has been a growing and profitable tech industry.

Service providers are keen to get licenses for this use.

For this reason, cellular licenses are obtained for 10’s to 100’s of millions of dollars.

Page 50: 3 third lecture __lucid_1_مقدمة عامة وسهلة جداً عن الإتصالات اللاسلكية_نبدأ بها أول حاجة إن شاء الله

Common Frequency Bands

There are hundreds of frequency bands for different wireless technologies.

Some examples: Cell phones: 824 to 849 MHz Global Positioning System: 1227 to 1575 MHz Garage Door Openers: Around 40 MHz Baby Monitors: 49 MHz MIR Space Station: 145 to 437 MHz Deep Space Communications: 2290 to 2300 MHz

Page 51: 3 third lecture __lucid_1_مقدمة عامة وسهلة جداً عن الإتصالات اللاسلكية_نبدأ بها أول حاجة إن شاء الله

Another Important Frequency Band

Human voice also has its own frequency band.

Voice’s frequency band is from 0 Hz to 4000 Hz.

Page 52: 3 third lecture __lucid_1_مقدمة عامة وسهلة جداً عن الإتصالات اللاسلكية_نبدأ بها أول حاجة إن شاء الله

Why is AM radio at a lower band than FM radio?

Mostly, due to history. AM was invented before FM. Transmitting at higher frequencies means that

electronic equipment has to be faster. Fast enough to oscillate and detect highly-changing

signals. When AM radio invented electronic capabilities were

fairly limited (compared to nowadays). Hence lower frequencies were allocated. Later when FM radio was developed, it was

assigned unused frequencies at a higher band.

Page 53: 3 third lecture __lucid_1_مقدمة عامة وسهلة جداً عن الإتصالات اللاسلكية_نبدأ بها أول حاجة إن شاء الله

Duplexing

In some wireless systems, a radio unit will have capabilities to both transmit and receive (unlike a car radio but like a cell phone) at the same time. These radios are called full-duplex.

In other systems, a radio unit can either transmit or receive at a given time. These radios care called half-duplex.

Page 54: 3 third lecture __lucid_1_مقدمة عامة وسهلة جداً عن الإتصالات اللاسلكية_نبدأ بها أول حاجة إن شاء الله

Duplexing (Cont’d)

Both CB radios and walkie-talkies are half-duplex devices.

Two people communicating on a CB radio use same frequency, so one person can talk at a time, otherwise the signals would overlap and interfere with each.

More on interference later. In full-duplex systems, both radios can transmit and

receive at the same time. For example, they use different frequencies to transmit and receive.

Page 55: 3 third lecture __lucid_1_مقدمة عامة وسهلة جداً عن الإتصالات اللاسلكية_نبدأ بها أول حاجة إن شاء الله

Duplexing (Cont’d)

CB Radio: Half-Duplex

Cellular: Full-Duplex

Page 56: 3 third lecture __lucid_1_مقدمة عامة وسهلة جداً عن الإتصالات اللاسلكية_نبدأ بها أول حاجة إن شاء الله

Beyond the Basics: Analog vs Digital

Page 57: 3 third lecture __lucid_1_مقدمة عامة وسهلة جداً عن الإتصالات اللاسلكية_نبدأ بها أول حاجة إن شاء الله

Analog versus Digital

AM and FM is analog technology.

Most new wireless systems are

based on digital technology.

What’s the difference?

Page 58: 3 third lecture __lucid_1_مقدمة عامة وسهلة جداً عن الإتصالات اللاسلكية_نبدأ بها أول حاجة إن شاء الله

Analog versus Digital (Cont’d)

Analog signals take on a continuous range of values. Digital signals are quantized to take on one of a set

of possible values.

Quantization

Page 59: 3 third lecture __lucid_1_مقدمة عامة وسهلة جداً عن الإتصالات اللاسلكية_نبدأ بها أول حاجة إن شاء الله

Quantization

One way to convert an analog signal to digital is quantization.

We assume an analog signal takes on a continuous range of values from xmin to xmax (0 to 1 in previous slide).

The digital signal is only allowed to take on values {y1,y2,…yN}, (e.g., {0, 0.1, 0.2, 0.3,…0.9, 1.0}.

A quantizer takes the analog signal over an interval and determines which of the possible values {y1,y2,…yN} best represents the analog signal in this range.

Page 60: 3 third lecture __lucid_1_مقدمة عامة وسهلة جداً عن الإتصالات اللاسلكية_نبدأ بها أول حاجة إن شاء الله

More on Digital Signals

More specifically, digital signals used in communications systems today are binary signals.

Binary signals can only take on one of two values: 0 or 1, commonly known as bits.

To understand bits, we first look at digits.

A digit is a single place that can hold numerical values in the range of 0 to 9.

Page 61: 3 third lecture __lucid_1_مقدمة عامة وسهلة جداً عن الإتصالات اللاسلكية_نبدأ بها أول حاجة إن شاء الله

Digits Digits are normally combined together to make

larger numbers.

For example, 6,957 has four digits. 7 is hold the 1s place, 5 is holding the 10s, 9 is holding the 100’s place, and 6 is holding the 1000’s place.

Each digit is placeholder for the next higher power of ten.

Each place can have 10 different values; this implies that digits use a base-10 number system.

Page 62: 3 third lecture __lucid_1_مقدمة عامة وسهلة جداً عن الإتصالات اللاسلكية_نبدأ بها أول حاجة إن شاء الله

Bits

Bits use a base-2 (binary) number system.

Reason computers and communication systems use binary number system is that electronic components are cheap.

Bit stands for Binary digIT. A binary digit is a sequence of 0’s and 1’s that represent numbers.

Page 63: 3 third lecture __lucid_1_مقدمة عامة وسهلة جداً عن الإتصالات اللاسلكية_نبدأ بها أول حاجة إن شاء الله

More on Bits

0 = 0 1 = 1 2 = 10 3 = 11 4 = 100 5 = 101 6 = 110 7 = 111 8 = 1000 9 = 1001 10 = 1010

11 = 1011 12 = 1100 13 = 1101 14 = 1110 15 = 1111 16 = 10000 17 = 10001 18 = 10010 19 = 10011 20 = 10100

There are simple rules that have been developed toconvert a digit to a bit.

Page 64: 3 third lecture __lucid_1_مقدمة عامة وسهلة جداً عن الإتصالات اللاسلكية_نبدأ بها أول حاجة إن شاء الله

Bytes

Bits are rarely seen alone in computers. They are typically grouped together into 8 bit

collections, called bytes. With 8 bits in a byte, a byte can represent values

ranging from 0 to 255:

0 = 00000000 1 = 00000001 2 = 00000010 ... 254 = 11111110 255 = 11111111

Page 65: 3 third lecture __lucid_1_مقدمة عامة وسهلة جداً عن الإتصالات اللاسلكية_نبدأ بها أول حاجة إن شاء الله

How is a Quantized Digital Signal converted into Bits?

After quantization, a digital signal takes on one of a discrete set of values {y1,y2,….yN}.

Each possible discrete value can be represented in binary format.

Whenever the digital signal takes on particular value yi, the value yi is converted to binary format, i.e., a sequence of 0’s and 1’s.

Result is a binary (digital) signal.

Page 66: 3 third lecture __lucid_1_مقدمة عامة وسهلة جداً عن الإتصالات اللاسلكية_نبدأ بها أول حاجة إن شاء الله

How do we transmit binary signals using radio waves?

Binary signals are converted to radio signals using sine waves.

There are several techniques (modulation) schemes.

We described the most basic one, called binary phase shift keying (BPSK).

Page 67: 3 third lecture __lucid_1_مقدمة عامة وسهلة جداً عن الإتصالات اللاسلكية_نبدأ بها أول حاجة إن شاء الله

BPSK

Rule for transmitting binary signals using BPSK is pretty simple.

When the radio wants to transmit a 1, it just sends the normal sine wave.

When the radio wants to transmit a 1, it multiplies the sine wave by -1 and sends that.

Page 68: 3 third lecture __lucid_1_مقدمة عامة وسهلة جداً عن الإتصالات اللاسلكية_نبدأ بها أول حاجة إن شاء الله

An Example of BPSK Modulation

Analog toDigital

Converter

1 10 -1 X

Voice(analog signal)

0

1

-1

1

Sine wave

Antenna

RadioWaves

Page 69: 3 third lecture __lucid_1_مقدمة عامة وسهلة جداً عن الإتصالات اللاسلكية_نبدأ بها أول حاجة إن شاء الله

Beyond Basics:Radio Propagation

Page 70: 3 third lecture __lucid_1_مقدمة عامة وسهلة جداً عن الإتصالات اللاسلكية_نبدأ بها أول حاجة إن شاء الله

Radio Channel There is another very important player in the

wireless game: the physical environment over which radio waves travel.

Radio waves can take many different paths to get from transmitter to receiver.

Transmitter

Receiver

Page 71: 3 third lecture __lucid_1_مقدمة عامة وسهلة جداً عن الإتصالات اللاسلكية_نبدأ بها أول حاجة إن شاء الله

Radio Channel

Essentially, the radio waves interact with the physical environment along each of these paths.

There are typically (unless you are in free-space) many paths from the transmitter to the receiver.

Each path is called a multipath.

Page 72: 3 third lecture __lucid_1_مقدمة عامة وسهلة جداً عن الإتصالات اللاسلكية_نبدأ بها أول حاجة إن شاء الله

Multipaths

The lengths of multipaths are different. As a result, sine waves along one path reach the

receiver at different times than the same signal along a different path.

Multipath 2

Multipath 1TransmitterReceiver

Page 73: 3 third lecture __lucid_1_مقدمة عامة وسهلة جداً عن الإتصالات اللاسلكية_نبدأ بها أول حاجة إن شاء الله

Worst Case Example of 2 Multipaths

Received radio wave along multipath 1

Received radio wave along multipath 2

The antenna combines (sums) these two multipaths.In the example above, the output of the antenna will be:

+ =

No Signal !!

Page 74: 3 third lecture __lucid_1_مقدمة عامة وسهلة جداً عن الإتصالات اللاسلكية_نبدأ بها أول حاجة إن شاء الله

Another aspect of multipaths Whenever a radio wave bounces off or passes

through a physical obstruction, the amplitude of the sine wave changes.

Also amplitude of sine wave shrinks the further the radio wave travels, regardless of whether there are obstructions or not.

Originally transmittedradio wave

Reflection

A

-A

Received radio wave, a < 1

aA

-aA

Page 75: 3 third lecture __lucid_1_مقدمة عامة وسهلة جداً عن الإتصالات اللاسلكية_نبدأ بها أول حاجة إن شاء الله

Impact of Multipaths

When all the radio waves on the multiple paths reach the receiver’s antenna, they combine together.

Some multipaths cancel each other out, some add up together constructively, some partially cancel each other, etc.

A

-A

Radio Channel:Impact of Physical

Environment

Transmitted radio wave

Overall combinedreceived signal at receive antenna

Signalfades inand outand isdistorted

Page 76: 3 third lecture __lucid_1_مقدمة عامة وسهلة جداً عن الإتصالات اللاسلكية_نبدأ بها أول حاجة إن شاء الله

Fading

Fading, which is both signal attenuation and distortion, is a major challenge in wireless communications.

We have all experienced it, e.g., fading of radio station in a car radio.

Fading varies in frequency: assuming physical conditions are fixed, if a signal transmitted at one frequency fades, it may not if transmitted at a different frequency.

Page 77: 3 third lecture __lucid_1_مقدمة عامة وسهلة جداً عن الإتصالات اللاسلكية_نبدأ بها أول حاجة إن شاء الله

Problem with Distortion

Distortion not only impacts the strength of the received signal but also changes the “shape” of the received signal.

In this digital communications, this can be especially detrimental because bits can be inverted at the receiver due to multipath. Example is shown in next slide.

Page 78: 3 third lecture __lucid_1_مقدمة عامة وسهلة جداً عن الإتصالات اللاسلكية_نبدأ بها أول حاجة إن شاء الله

Fading (Cont’d)

This type of distortion occurs anytime there is long

time spread in the multipaths.

1 0 0

TransmittedSignal

Signal along Multipath 1

Signal along Multipath 2

1 1 0

Overall ReceivedSignal

Page 79: 3 third lecture __lucid_1_مقدمة عامة وسهلة جداً عن الإتصالات اللاسلكية_نبدأ بها أول حاجة إن شاء الله

Fading Challenges

Time spread of multipaths = delay due to echoes.

These “echoes” are particularly problematic in urban areas, due to reflections from buildings.

Also problematic in hilly, mountainous areas, like Susquehanna County.

Designers of radio systems have spent a lot of time and effort trying to overcome this fading challenge.

Page 80: 3 third lecture __lucid_1_مقدمة عامة وسهلة جداً عن الإتصالات اللاسلكية_نبدأ بها أول حاجة إن شاء الله

One Solution: Multiple Antennas

One way to overcome fading problem is to design receivers with multiple, say 2, antennas.

Both antennas can receive the desired radio wave.

TransmitterReceiver

Page 81: 3 third lecture __lucid_1_مقدمة عامة وسهلة جداً عن الإتصالات اللاسلكية_نبدأ بها أول حاجة إن شاء الله

Multiple Antennas (Cont’d) If receive antennas are adequately separated, then

paths followed by radio waves to the first antenna are different from paths followed by radio waves to the second antenna.

Result: fading of received signal on first antenna is different from fading of received signal on second antenna. Chances are if one antenna experiences a deep fade, the other does not.

Receiver can adaptively choose the “stronger” antenna to determine the received radio wave at any given time.

Page 82: 3 third lecture __lucid_1_مقدمة عامة وسهلة جداً عن الإتصالات اللاسلكية_نبدأ بها أول حاجة إن شاء الله

Multiple Antennas on Cell Towers

Cellular base station tower (antenna tower that cell phones “talk” to) use multiple antenna to improve the quality of voice signal received from cell phone users.

Page 83: 3 third lecture __lucid_1_مقدمة عامة وسهلة جداً عن الإتصالات اللاسلكية_نبدأ بها أول حاجة إن شاء الله

Another Solution: Adaptive Antenna Array

Of all the multipath, if there is a line-of-sight (LOS) path between the transmitter and receiver, it is the strongest.

If we can design antennas receive patter, we would like to make it in the direction of the strongest multipath.

This is what adaptive antenna array do.

Page 84: 3 third lecture __lucid_1_مقدمة عامة وسهلة جداً عن الإتصالات اللاسلكية_نبدأ بها أول حاجة إن شاء الله

Adaptive Antenna Array (Cont’d)

Adaptive antenna array is a group of receive antennas that work together to form a desirable radiation pattern.

For example, if the LOS path is in a particular direction, the antennas work together to pick out as many radio waves in that direction as possible.

In doing so, the antennas ignore radio waves in non-significant directions. These waves do not contribute to the overall fading.

Page 85: 3 third lecture __lucid_1_مقدمة عامة وسهلة جداً عن الإتصالات اللاسلكية_نبدأ بها أول حاجة إن شاء الله

Cellular Tower Example

Assume that a cellular base station tower is receiving signal from four cell phone users. The tower can use its antennas to form the following radiation power (bird’s eye view).

CellularBase Station

User 1

User 2

User 3

User 4

No signalsreceived from this direction

No signalsreceived from this direction

No signalsreceived from this direction

Page 86: 3 third lecture __lucid_1_مقدمة عامة وسهلة جداً عن الإتصالات اللاسلكية_نبدأ بها أول حاجة إن شاء الله

Other Fading Countermeasures

Both previous schemes are antenna techniques to counter fading.

Designers have developed other methods, e.g., coding.

One simple coding method: repetition. Repetition: transmit the same signal a few times.

Chances are one of the copies will be received without deep fades.

Page 87: 3 third lecture __lucid_1_مقدمة عامة وسهلة جداً عن الإتصالات اللاسلكية_نبدأ بها أول حاجة إن شاء الله

Beyond Basics:Interference

Page 88: 3 third lecture __lucid_1_مقدمة عامة وسهلة جداً عن الإتصالات اللاسلكية_نبدأ بها أول حاجة إن شاء الله

Limited Radio Spectrum

Assume one transmitter is sending a signal using a sine wave of frequency f1.

Ideally, we would like there to be only one transmitter sending a signal at this frequency.

Problem with this: since there is only limited frequency (see radio spectrum), only a limited number of transmitters can send radio waves at a given time.

Because of limited radio spectrum, it becomes necessary to reuse frequencies.

Page 89: 3 third lecture __lucid_1_مقدمة عامة وسهلة جداً عن الإتصالات اللاسلكية_نبدأ بها أول حاجة إن شاء الله

Frequency Reuse

Regulators (FCC) and system designers allow multiple transmitters to use the same frequency to transmit radio waves.

Problem with this: receive antenna may receive signals from the wrong (undesirable) transmitter.

Worse yet, the two sets of radio waves from the two transmitters may combine together at receiver to produce interference, an undecipherable received signal, e.g., loud static on a car radio.

Page 90: 3 third lecture __lucid_1_مقدمة عامة وسهلة جداً عن الإتصالات اللاسلكية_نبدأ بها أول حاجة إن شاء الله

Methods to Reduce Multiple Access Interference

This multiple access interference is typically avoided by making sure that transmitters that use the same frequency are separated by large distances.

Large distance ensures that interference power is small (recall: amplitude of radiated sine wave shrinks with distance).

Transmitter

Transmitter

Receiver

Receiver

Both transmitters use same frequency

DesiredSignal

Interference

DesiredSignal

Interference

Page 91: 3 third lecture __lucid_1_مقدمة عامة وسهلة جداً عن الإتصالات اللاسلكية_نبدأ بها أول حاجة إن شاء الله

Reuse Distance

If the frequency reuse distance is large, then interference power is low compared to desired signal power.

If desired signal power is much higher than the interference power, then, chances are, the receiver will be able to determine the (desired) transmitted signal correctly.

Page 92: 3 third lecture __lucid_1_مقدمة عامة وسهلة جداً عن الإتصالات اللاسلكية_نبدأ بها أول حاجة إن شاء الله

Frequency Reuse

This concept of frequency reuse is used in cellular systems (explained in more detail) next time.

Frequency reuse also used in broadcast TV. In NYC, ABC, CBS, and NBC use channels 7,2, and

4, respectively. Channel number corresponds to specific frequency band assigned to the broadcaster in NYC.

In Philadelphia, these channels are not used at all. These frequencies are not reused over a large region surrounding NYC. This is to ensure that broadcasters do not interfere.

Page 93: 3 third lecture __lucid_1_مقدمة عامة وسهلة جداً عن الإتصالات اللاسلكية_نبدأ بها أول حاجة إن شاء الله

Other Interference Avoidance Techniques

Because of limited spectrum, interference is unavoidable in wireless systems. Reuse distance is one way to reduce the interference.

Engineers have developed (and continue to develop) other interference avoidance techniques: Receiver structures Antenna methods Etc.