Lesson 16: Communications Systems, EM Spectrum, and Signals
Total Page:16
File Type:pdf, Size:1020Kb
Lesson 16: Communications Systems, EM Spectrum, and Signals Objectives: (a) Describe the four components of a communications system and the impact on security of using free space as a communication medium. (b) Identify communication applications for various bands of the electromagnetic spectrum ranging from extremely low frequency (ELF) to extremely high frequency (EHF). (c) Explain the basic properties of a sinusoidal electromagnetic signal (period, frequency, wavelength, phase, and amplitude) and describe their mathematical relationship. (d) Define and calculate bandwidth of transmitted signals. (e) Plot simple (sinusoidal) electromagnetic signals in the time and frequency domains; interpret time- and frequency-domain plots to determine the associated signals. Connection to Cyber Security This chapter marks the beginning of the third part of EC312. In Part I: The Host, we examined how data are stored and accessed in memory at the machine level and examined the resulting threats against a specific computer, focusing on the buffer overflow attack. In Part II: Networks, we concentrated on understanding how the Controller Area Network ( CAN) works and how networks are just as important and vulnerable as the individual host computers that reside on them. In Part III: Wireless, we will gain an appreciation for communicating in an environment without physical connections to every computer, router, etc. in the network, leading up to how wireless communication systems can be hacked. 1. Communication Systems The purpose of a communications system is to transmit information over a distance. This “information” could be audio (such as speech or music), video, sensor data (temperature, pressure), or other data (e.g., text, stock prices, photos, etc.). “Over a distance” may mean from here to the other side of the world via a satellite, or from one computer to another in a network, or from your computer’s CPU to its RAM. Any communications system consists of the following basic components, which are shown in the following figure. There are four main components: • Transmitter – converts information into an electronic form suitable for the channel • Channel – the physical medium through which an electronic signal travels o e.g., wire, fiber-optic cable, free space (i.e., air), water (sonar) • Receiver – converts the received signal back to a usable form • Noise – undesired, random corrupting energy The information is passed to the transmitter which in turn transmits it into the communication channel. The receiver produces a “recovered” information signal, which may not be the same signal that was transmitted. This is because a significant, though undesired, occurrence in all communication systems is noise, which is random energy that enters the system and interferes with (corrupts) the transmitted message. If the noise is strong enough, the information signal may not get through at all. You’ve all heard what noise sounds like, for example on a telephone (we sometimes refer to it as static). If the static is very powerful you will only hear a small portion (or none) of the words that are spoken to you. This relationship between the useful signal and corrupting noise that impacts it will be formalized in lesson 19. Noise can be divided into two broad categories: • External noise is noise introduced into the transmission channel from outside sources. Examples include: o Industrial noise arising from man-made electrical sources (e.g., motors, generators, switches) o Atmospheric noise due to naturally occurring disturbances in earth’s atmosphere (e.g., lightning) o Extraterrestrial noise due to solar and cosmic activity. • Internal noise is noise introduced by the electronics inside the receiver itself. Examples include: o Thermal noise o Semiconductor noise For the third block of this course, we will focus on communications systems in which our channel or medium is free space. Free space can refer to a perfect vacuum (as you might recall from physics), or to the atmosphere (as opposed to transmission through a wire or other material). Signals that propagate in free space are often referred to as “wireless” or “over-the-air” signals, and all signals in free space are part of the electromagnetic spectrum. With wireless routers and satellites part of almost every network, especially in military applications, understanding the electromagnetic spectrum is critical to cyber security. 2. Data Flow Communications systems range from the very simple to the complex. And with complexity comes cost. Systems which have a requirement to both transmit and receive may have a transceiver which is capable of both. In designing a communications system, it is important to consider the data flow required between devices so that they include the correct components, but are not unnecessarily complex. Communication between two devices will be in one of three modes: simplex, half duplex, or full duplex. 2.1 Simplex Signals transmitted in one direction. Only one of two devices on a link can transmit. Examples of simplex devices are keyboards and televisions. Remember that a keyboard is an example of an input device. It cannot accept any outputs. Similarly, your television (before smart TV!) does not transmit any information back to the cable company. The simplex mode can used the entire capacity of a communications channel to send data in one direction. 2.2 Half Duplex Both stations may transmit, but not at the same time. Military Radios are an example of duplex devices. Half duplex mode works in cases where there is no need for communication at the same time and the entire capacity of the channel can be used in one direction at a time. 2.3 Full Duplex In full duplex mode, both stations can transmit and receive simultaneously. One common example of full duplex communication is the telephones network. Both users can talk and listen at the same time however the capacity of the channel but must be divided in the two directions. 3. Electromagnetic Spectrum The electromagnetic spectrum is the range of all possible frequencies of electromagnetic waves. The spectrum is broken into regions/ranges and classified by frequency and/or wavelength. The frequency (f ) of an electromagnetic wave is a measure of how rapidly it oscillates. Frequency is measured in Hertz (1 Hz = 1 cycle/sec). The period (T) of an electromagnetic wave is the length of time required to complete one cycle. The period is measured in seconds, and is the reciprocal of the frequency in Hz (T = 1/f). Wavelength (λ) is the physical distance between the peaks of one cycle of a transmitted wave as it moves through the medium, and is measured in meters (m). The following plots show an EM wave’s voltage as a function of time (left plot), and as a function of distance (right plot). For electromagnetic waves traveling in air (or vacuum), we will assume that they travel at the speed of light (c) which is roughly 3 x 108 m/s. The wavelength is inversely proportional to the frequency, and is related to the speed of light by: = Practice Problem 17.1 What is the wavelength of an FM radio station whose broadcast frequency is 101.1 MHz? Solution: Practice Problem 17.2 What is the frequency of a signal whose wavelength is 8 cm? Solution: 3.1 Frequency Bands The specific bands of frequencies in the EM spectrum is shown in the following figure. In this course, we are concerned with communications in the frequency ranges from ELF to EHF. To transmit signals effectively, the characteristics of the transmission medium and the EM wave behavior in the frequency bands are considered and matched. For example, a communication system transmitting to a submarine will have water as the transmission medium. Lower frequency, longer wave length waves from VLF band do not attenuate as quickly in water as higher frequency bands, so the transmission frequency will be selected from the VLF band. You should be familiar with the frequency ranges for communications from ELF to EHF. • Extremely low frequency (ELF) 30 Hz to 300 Hz. Power line frequencies and low end of human audio. • Voice frequency (VF) 300 Hz to 3000 Hz. Typical range associated with human voice. • Human hearing 20 Hz to 20 kHz. (You may try a demo at https://www.youtube.com/watch?v=qNf9nzvnd1k) • Very low frequency (VLF) 3 kHz to 30 kHz. Used for communications with submerged submarines. • Low frequency (LF) 30 kHz to 300 kHz. Long range radio navigation. • Medium frequency (MF) 300 kHz to 3000 kHz. AM radio and long range communication. • High frequency (HF) 3 MHz to 30 MHz. Known as “short wave”, used by two-way radio. • Very high frequency (VHF) 30 MHz to 300 MHz. Radio communications and FM radio. • Ultra high frequency (UHF) 300 MHz to 3000 MHz. TV, military and cell phones. • Super high frequency (SHF) 3 GHz to 30 GHz. Microwave. Satellite communications and radar. • Extremely high frequency (EHF) 30 GHz to 300 GHz. Satellite communications. 3.2 Bandwidth The range of frequencies contained in a signal is its bandwidth. Bandwidth is the amount of the frequency spectrum occupied by a signal regardless of where it is in the spectrum. It is the difference between the upper and lower frequency limits of the signal. If a signal occupies the range of frequencies between approximately 300 Hz and 3000 Hz. The following figure demonstrates that for that signal, it’s bandwidth would be 2700 Hz. 3.3 Federal Communications Commission (FCC) The electromagnetic spectrum is crowded; everyone wants some bandwidth. The FCC was established by the Communications Act of 1934 to regulate interstate and foreign communication. The FCC: • Allocates bands of frequencies for specific uses • Sets limitations on broadcast power • Monitors broadcasts to detect unlicensed operations and technical violations • Auctions spectrum usage The FCC controls which portions of the EM spectrum are used for various purposes (e.g.