Introduction to signals and systems

Similar documents
Lecture 3 Complex Exponential Signals

Signals A Preliminary Discussion EE442 Analog & Digital Communication Systems Lecture 2

Basic Signals and Systems

Digital Video and Audio Processing. Winter term 2002/ 2003 Computer-based exercises

CSC475 Music Information Retrieval

Laboratory Assignment 4. Fourier Sound Synthesis

THE SINUSOIDAL WAVEFORM

Sinusoids and Phasors (Chapter 9 - Lecture #1) Dr. Shahrel A. Suandi Room 2.20, PPKEE

Lecture 2: SIGNALS. 1 st semester By: Elham Sunbu

DSP First. Laboratory Exercise #2. Introduction to Complex Exponentials

Circuit Analysis-II. Circuit Analysis-II Lecture # 2 Wednesday 28 th Mar, 18

Digital Signal Processing Lecture 1 - Introduction

Real Analog Chapter 10: Steady-state Sinusoidal Analysis

Alternating voltages and currents

Frequency Division Multiplexing Spring 2011 Lecture #14. Sinusoids and LTI Systems. Periodic Sequences. x[n] = x[n + N]

Signals Arthur Holly Compton

10. Introduction and Chapter Objectives

The period is the time required for one complete oscillation of the function.

Department of Electronic Engineering NED University of Engineering & Technology. LABORATORY WORKBOOK For the Course SIGNALS & SYSTEMS (TC-202)

Phasor. Phasor Diagram of a Sinusoidal Waveform

EE42: Running Checklist of Electronics Terms Dick White

CHAPTER 9. Sinusoidal Steady-State Analysis

Physics 132 Quiz # 23

Here are some of Matlab s complex number operators: conj Complex conjugate abs Magnitude. Angle (or phase) in radians

Signal Processing First Lab 02: Introduction to Complex Exponentials Direction Finding. x(t) = A cos(ωt + φ) = Re{Ae jφ e jωt }

2.1 BASIC CONCEPTS Basic Operations on Signals Time Shifting. Figure 2.2 Time shifting of a signal. Time Reversal.

1 ONE- and TWO-DIMENSIONAL HARMONIC OSCIL- LATIONS

1 Introduction and Overview

Complex Numbers in Electronics

Signals and Systems EE235. Leo Lam

Spectrum Analysis: The FFT Display

ECE 201: Introduction to Signal Analysis

ECE 201: Introduction to Signal Analysis. Dr. B.-P. Paris Dept. Electrical and Comp. Engineering George Mason University

Sinusoids. Lecture #2 Chapter 2. BME 310 Biomedical Computing - J.Schesser

ECE 201: Introduction to Signal Analysis

SAMPLING THEORY. Representing continuous signals with discrete numbers

Lecture 7 Frequency Modulation

Chapter 1. Electronics and Semiconductors

Bakiss Hiyana binti Abu Bakar JKE, POLISAS BHAB

1/14. Signal. Surasak Sanguanpong Last updated: 11 July Signal 1/14

Signal Processing First Lab 02: Introduction to Complex Exponentials Multipath. x(t) = A cos(ωt + φ) = Re{Ae jφ e jωt }

Midterm 1. Total. Name of Student on Your Left: Name of Student on Your Right: EE 20N: Structure and Interpretation of Signals and Systems

G(f ) = g(t) dt. e i2πft. = cos(2πf t) + i sin(2πf t)

Analog-Digital Interface

CHAPTER 14 ALTERNATING VOLTAGES AND CURRENTS

Topic 2. Signal Processing Review. (Some slides are adapted from Bryan Pardo s course slides on Machine Perception of Music)

AC phase. Resources and methods for learning about these subjects (list a few here, in preparation for your research):

Laboratory Assignment 2 Signal Sampling, Manipulation, and Playback

Modulation. Digital Data Transmission. COMP476 Networked Computer Systems. Analog and Digital Signals. Analog and Digital Examples.

DFT: Discrete Fourier Transform & Linear Signal Processing

6.1 - Introduction to Periodic Functions

Chapter 6: Periodic Functions

Laboratory Assignment 5 Amplitude Modulation

Notes on Experiment #1

Fall Music 320A Homework #2 Sinusoids, Complex Sinusoids 145 points Theory and Lab Problems Due Thursday 10/11/2018 before class

POLYTECHNIC UNIVERSITY Electrical Engineering Department. EE SOPHOMORE LABORATORY Experiment 5 RC Circuits Frequency Response

Data Communication. Chapter 3 Data Transmission

5.1 Graphing Sine and Cosine Functions.notebook. Chapter 5: Trigonometric Functions and Graphs

Massachusetts Institute of Technology Dept. of Electrical Engineering and Computer Science Fall Semester, Introduction to EECS 2

Signals. Periodic vs. Aperiodic. Signals

Lecture: Complex Exponentials

Spectrum. Additive Synthesis. Additive Synthesis Caveat. Music 270a: Modulation

THE CITADEL THE MILITARY COLLEGE OF SOUTH CAROLINA. Department of Electrical and Computer Engineering. ELEC 423 Digital Signal Processing

MASSACHUSETTS INSTITUTE OF TECHNOLOGY /6.071 Introduction to Electronics, Signals and Measurement Spring 2006

Sinusoids and Sinusoidal Correlation

6.02 Fall 2012 Lecture #12

1. page xviii, line 23:... conventional. Part of the reason for this...

DSP First Lab 03: AM and FM Sinusoidal Signals. We have spent a lot of time learning about the properties of sinusoidal waveforms of the form: k=1

Dr. Cahit Karakuş ANALOG SİNYALLER

Terminology (1) Chapter 3. Terminology (3) Terminology (2) Transmitter Receiver Medium. Data Transmission. Direct link. Point-to-point.

Principles of Communications ECS 332

SIGNALS AND SYSTEMS: 3C1 LABORATORY 1. 1 Dr. David Corrigan Electronic and Electrical Engineering Dept.

Fourier Signal Analysis

Signal Characteristics

GEORGIA INSTITUTE OF TECHNOLOGY. SCHOOL of ELECTRICAL and COMPUTER ENGINEERING

Frequency-Domain Sharing and Fourier Series

Digital Image Processing COSC 6380/4393

Notes on Fourier transforms

Chapter 2. Fourier Series & Fourier Transform. Updated:2/11/15

ECEn 487 Digital Signal Processing Laboratory. Lab 3 FFT-based Spectrum Analyzer

Continuous time and Discrete time Signals and Systems

George Mason University Signals and Systems I Spring 2016

PROBLEM SET 6. Note: This version is preliminary in that it does not yet have instructions for uploading the MATLAB problems.

Sonoma State University Department of Engineering Science Spring 2017

Applications of Linear Algebra in Signal Sampling and Modeling

Sound is the human ear s perceived effect of pressure changes in the ambient air. Sound can be modeled as a function of time.

Introduction. Chapter Time-Varying Signals

Lab 3 FFT based Spectrum Analyzer

Algebra and Trig. I. The graph of

DSP First Lab 08: Frequency Response: Bandpass and Nulling Filters

Linear Time-Invariant Systems

Physics 364, Fall 2014, reading due your answers to by 11pm on Sunday

System analysis and signal processing

EE 422G - Signals and Systems Laboratory

Mel Spectrum Analysis of Speech Recognition using Single Microphone

1 Introduction and Overview

ELECTROMAGNETIC INDUCTION AND ALTERNATING CURRENT (Assignment)

MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.

Signal Processing. Introduction

ENGR 210 Lab 12: Sampling and Aliasing

Transcription:

CHAPTER Introduction to signals and systems Welcome to Introduction to Signals and Systems. This text will focus on the properties of signals and systems, and the relationship between the inputs and outputs of physical systems. We will develop tools and techniques to help us analyze, design, and simulate signals and systems.. Signals and systems A signal is a pattern of variation of a physical quantity: a definition which covers a wide territory. You are processing signals as you read this text. A lecturer creates a signal as he or she talks and your ear processes these signals. Signals are all around us. Examples include acoustical, electrical, and mechanical signals. Signals may depend on one or more independent variables. As the name implies, one-dimensional signals depend on one independent variable. An example is the location of a particle moving in a rectilinear motion, in which case the independent variable is time, t. Twodimensional signals depend on two independent variables. An example is a picture that varies spatially, in which case the independent variables are the spatial coordinates, x and y. Many of the signals and systems that you have routinely dealt with have interesting properties that this text will explore. A system processes signals. For example, a compact disc (CD) player is a system that reads a digital signal from a CD and transforms it into an electrical signal. The electrical signal goes to the speaker, which is another system that transforms electrical signals into acoustical signals. Many signals contain information. Other signals are used only to transport energy. For example, the signal from a wall socket is boring in terms of information content, but very useful for carrying energy.

2 Introduction to signals and systems Signals can be categorized as analog, discrete or digital. They are summarized as follows: Analog signals: signals that vary continuously in amplitude and time. The independent variable is not necessarily time, it could also be a spatial coordinate. Discrete-time signals: signals that have continuous amplitude but only exist at discrete times. These signals are represented as sequences of numbers. Digital signals: signals that have discrete amplitude and time. These signals are represented by sequences of numbers with finite precision. They are used when processing information by computer. We will often be interested in converting signals from one type to another. For example, in a chemistry laboratory, a continuous-time transducer measures the analog value of a physical quantity. We will often use a continuousto-discrete (analog-to-digital) converter to capture the signal into a computer for processing. Systems can be categorized as linear or nonlinear. Systems are said to be linear when scaling and superposition hold. For linear systems, if the input to the system is scaled by some constant a, the output of the system will be scaled by the same amount. Thus, if the input to the system is doubled, so will be the output of the system. Linear systems also obey the superposition principle. Thus, for a linear system, the response of the system to a combination of N inputs is simply the sum of the responses to each input considered individually. Systems can also be classified as time-variant or time-invariant. When the parameters of a system remain constant during operation, the system is said to be time-invariant. When the parameters can vary as a function of time, the system is said to be time-variant. For time-invariant systems, the system responds the same yesterday, today, and tomorrow. Although time-varying systems without nonlinearity are still considered linear, such systems are considerably more difficult to analyze and design. In this text, we will primarily be interested in linear and time-invariant systems, or LTI systems for short. They are very useful for signal processing and system modeling. While most physical signals and systems are not LTI, surprisingly many can be approximated as LTI over a specified time domain of interest. Nonlinear systems have some very interesting and surprising

3. Signals and systems properties but are usually much more difficult to handle mathematically, and there are limited methods available for solving nonlinear systems. A familiar example of signals and systems is the recording and playback of audio signals such as music and voice. Over the years there have been major changes in the technology used resulting in dramatic improvements in quality. Milestones in audio technology include: Phonograph: invented by Thomas Edison in 877. Gramophone: developed by Emile Berliner in 887 (7 revolution per minute or rpm). 78 rpm record: 93s. AM (amplitude modulation) radio: 92s 33 /3 LP (long-playing) record: introduced by CBS in 948 (held about 2 minutes on each side). 45 EP (extended-playing) record: introduced by RCA in 948 (more portable, held 5 6 minutes on each side). Stereo: 956. Stereo FM (frequency modulation): 96s. CD (compact disc): developed by Sony and Philips in 982 (holds about 7 minutes). The information density has improved over time. On a conventional LP record, each track is about micrometers wide. On a CD, the tracks are.6 micrometers wide, so tracks are packed 6 times more densely. On a CD, the information is stored by a series of pits burned with a powerful laser. The information is read by measuring the reflection from another laser to determine where the pits are located. The locations encode a series of binary numbers, so a CD is really just a physical encoding of a long sequence of s and s. Signals may be represented as a graph with time on the horizontal axis and amplitude of the signals on the vertical axis. An oscilloscope is a system that converts an electrical signal into an optical signal showing such a graph, allowing us to examine how the signal varies as a function of time. A spectrum analyzer is a system that converts an electrical signal into an optical signal showing a graph of what frequencies are in the input, called the spectrum of a signal. We will have much more to say about the spectrum of a signal. Knowing the frequency content of a signal allows us to characterize the signal.

4 Introduction to signals and systems Fig... A 2 Hz sine wave, x(t) = cos[2π(2t)]. Amplitude 2Hz sinusoid.5.5.2.4.6.8..2.4.6.8.2 Time (s) Fig..2. The spectrum of a 2 Hz sine wave..5 Magnitude spectrum of 2Hz sinusoid Magnitude.5 2 6 4 8 22 26 3 34 38 42 46 5 Frequency (Hz).2 Examples of signals Let us now consider some simple examples of signals. Sinusoidal signals will prove to be one of the most useful signals we will encounter. Mathematically, a sinusoidal signal may be represent as x(t) = A cos(2π ft+ φ), (.) where A denotes the amplitude or magnitude of the signal, f its corresponding frequency, and φ its phase. Figure. shows a sine wave whose amplitude is and phase is, and which has a frequency of 2 Hz (.2 khz). Figure.2 shows the spectrum of the same sine wave. The spectrum of a signal consists of a graph that shows what frequencies are present in the signal as well as the magnitudes of the frequency components. Thus, as expected, the spectrum of a 2 Hz sine wave (Figure.2) shows a single peak centered at 2 Hz with amplitude. Figure.3 shows a periodic square wave at 2 Hz, and Figure.4 shows its spectrum. The square wave alternates between and with a period of.5 s. The spectrum consists of spikes at 2 Hz, 6 Hz, Hz, 4 Hz, etc. The largest peak is at the fundamental frequency f of 2 Hz. The next peaks are at the third harmonic 3 f, fifth harmonic

5.2 Examples of signals Fig..3. A 2 Hz square wave. Amplitude.5.5 2Hz square wave.2.4.6.8..2.4.6.8.2 Time (s) Fig..4. The spectrum of a 2 Hz square wave..5 Magnitude spectrum of 2Hz square wave Magnitude.5 2 6 4 8 22 26 3 34 38 42 46 5 Frequency (Hz) Fig..5. A 2 Hz triangle wave. Amplitude 2Hz triangle wave.5.5.2.4.6.8..2.4.6.8.2 Time (s) 5 f, seventh harmonic 7 f, and so forth. The amplitudes drop off for higher harmonics. Later we will show how these amplitudes and frequencies can be determined analytically using Fourier series and numerically using the M AT L A B command fft. Figure.5 shows a triangle wave at 2 Hz and Figure.6 shows its spectrum. Note that the spectrum also contains the odd harmonics, but the amplitudes drop off quickly compared to the amplitudes of the square wave of Figure.4. The previous examples suggest that we could construct any signal by summing sinusoids of different amplitudes and frequencies. This underlying principle forms the basis of Fourier series. The spectrum shows the am-

6 Introduction to signals and systems Fig..6. The spectrum of a 2 Hz triangle wave..5 Magnitude spectrum of 2Hz triangle wave Magnitude.5 2 6 4 8 22 26 3 34 38 42 46 5 Frequency (Hz) Fig..7. A graph of digitized signal..4 Beethoven's Fifth.4 Beethoven's Fifth (Short Segment) Amplitude.2.2 Amplitude.2.2.4 2 4 6 8 2 Time (s).4 2.9 2.2 2.2 2.22 Time (s) plitude of the coefficients of the Fourier series. We will be interested in both synthesizing signals from sums of other signals (for example sinusoids) and analyzing signals by determining the amplitudes of the frequencies within the signal. As a more elaborate example, Figure.7 shows a digital representation of a two-channel audio signal sampled at 44 khz (CD quality). Clearly, the eye is not trained to interpret the signal, even when zooming in on a short segment. Transforming the signal into an acoustical signal, however, makes it clearly recognizable as the beginning of Beethoven s Fifth Symphony. The above examples serve to remind us that there are many different ways to represent a signal. We can identify a signal by plotting its variation with time, analyzing its spectrum, or listening to how the signal changes as a function of time. These approaches can all be used to characterize the same signal. Depending on the application, one approach may be more useful than the others. Another example of a system that uses signals is the telephone. Dialing a touch-tone telephone generates a series of tones. These tones are the superposition or sum of a pair of sine waves, as shown in Table.. You could build your own dialer by producing these tones with another system such as your computer. Similarly, you could determine which phone number

7.3 Mathematical foundations Table.. Touch-tone telephone tones Frequencies 29 Hz 336 Hz 477 Hz 697 Hz 2 3 77 Hz 4 5 6 852 Hz 7 8 9 94 Hz * # was dialed by looking at the spectrum of the tones and observing what frequencies are present. Having seen various examples of signals and systems, we are now ready to lay the mathematical foundations to understand them in detail..3 Mathematical foundations sinq Im e jq q cosq Fig..8. Complex exponential plotted on a complex plane. Re Euler s formula (or identity) was introduced in calculus. It states that a complex exponential can be expressed as the sum of a cosine function and a sine function: e jθ = cos θ + j sin θ, (.2) where j =. 2 Euler s identity can be easily proved by expanding e x in Taylor series and replacing x by jθ. Figure.8 shows Eq. (.2) plotted as a vector on the complex plane, where the horizontal axis corresponds to the real axis, and the vertical axis corresponds to the imaginary axis. Observe that the length or magnitude of the vector is and the angle is θ, where θ is measured in radians, and is positive in the counterclockwise sense from the horizontal or real axis. Similarly, we can show that e jθ = cos θ j sin θ. (.3) Therefore, in terms of complex exponentials, cosine and sine can be expressed as cos θ = 2 (ejθ + e jθ ) and sin θ = 2j (ejθ e jθ ). (.4) Because complex arithmetic will be used extensively throughout the text, the reader is encouraged to review Appendix A for a detailed discussion. 2 Engineers often use j to represent complex unity. The variable i is reserved to denote the current of electrical systems.

8 Introduction to signals and systems Fig..9. Graphical representation of (a) cosine and (b) sine on a complex plane. Im Im 2sinq e jq e jq q q 2cosq Re q q Re e jq (a) (b) e jq Im w (rad/s) A / 2 q q A / 2 w A / 2 cosq Re A cosq Fig... Graphical representation of sinusoid on a complex plane. These sums are represented graphically in Figure.9. Recall that the complex conjugate of a complex number a + jb is simply a jb, where a and b are real constants. Thus, e jθ and e jθ are complex conjugates, because their real parts are identical and their imaginary parts are the negative of one another. In terms of complex exponentials, we can now write a simple sine wave as follows: x(t) = A cos(ωt + φ) = A [ e j(ωt+φ) + e j(ωt+φ)], (.5) 2 where A and φ are real constants. The units of ω are radians per second. This is shown graphically in Figure., where both vectors are now functions of time, t. Note that as t increases, the upper vector rotates counterclockwise at a rate determined by the angular frequency ω and the lower vector rotates clockwise at an angular frequency of ω. Thus, we define a vector with a negative frequency ( ω) as one that rotates in the clockwise direction. There are many different ways of representing a sinusoid. Another representation utilizes complex exponentials and the definition of the real part of a complex number as follows: x(t) = A cos(ωt + φ) = Re { Ae j(ωt+φ)}, (.6) where A and φ are real constants, and Re{ }indicates the real part of an expression. Using Euler s identity, we have: Ae j(ωt+φ) = A cos(ωt + φ) + ja sin(ωt + φ). (.7) By inspection, note that x(t) of Eq. (.5) is simply the real part of Eq. (.7).

9.4 Phasors Finally, using Eq. (.6), we can also represent a sinusoid as: x(t) = Re{Ae jφ e jωt }=Re{Xe jωt }. (.8) This is called the phasor notation. The phasor X = Ae jφ contains the amplitude (A) and phase (φ) information of the sinusoid, corresponding to the length or magnitude and angle of the vector in the complex plane. We have introduced various ways of representing signals. They will be used extensively throughout the text, and the reader should become very familiar with these different representations and how they are related..4 Phasors Im w = 2p f (rad/s) A q Re A cos(wt + q) Fig... The real part of a rotating phasor. We have seen that sine waves appear to be important building blocks. Thus, we expect that we can construct more elaborate signals as the sums of sine waves of various frequencies, amplitudes, and phases. We can write any sine wave as x(t) = A cos (ωt + θ). (.9) This can also be represented with a phasor as follows: x(t) = Re{Ae jθ e jωt }, (.) which can be viewed as a vector on the complex plane, as shown in Figure.. The vector rotates at a rate (called the angular frequency) of ω in units of radians per second. The real part of the vector corresponds to the value of the sinusoid of Eq. (.8) at time t. The wave is periodic with a period T between repetitions, where the period is given by T = 2π/ω. We often wish to refer to the rate at which the wave repeats. Let us define this rate as f = ω/(2π) = /T, where f is called the frequency, measured in units of hertz (Hz) or cycles/second. Therefore, in terms of frequency, we often rewrite Eq. (.9) as x(t) = A cos (2π ft+ θ). (.) Also observe that the peaks occur at times t = 2πn θ, n =, ±, ±2,... (.2) 2π f Signals generally represent physical quantities and should be dimensioned appropriately. For example, the x-axis may be in dimensions of seconds,

Introduction to signals and systems minutes, or feet. The y-axis may be in volts, meters, degrees Celsius, etc. For example, a facetious set of dimensions for calibrating speedometers is furlongs/fortnight. In this text we will typically use the SI (Système International) metric units. In analyzing signals, we often will be interested in adding multiple sine waves of the same frequency. Consider two signals x (t) and x 2 (t) ofthe same angular frequency, ω: x (t) = A cos(ωt + θ ) x 2 (t) = A 2 cos(ωt + θ 2 ), (.3) whose sum is given by x(t) = x (t) + x 2 (t) = A cos(ωt + θ). (.4) Not surprisingly, the amplitude (A) and phase (θ) of the new signal x(t) are related to the amplitudes and phases of x (t) and x 2 (t), and they can be obtained through simple algebraic manipulations. Let us first expand x (t) and x 2 (t) using the trigonometric identity for the cosine of the sum of two angles, x (t) = A cos(ωt) cos θ A sin(ωt) sin θ x 2 (t) = A 2 cos(ωt) cos θ 2 A 2 sin(ωt) sin θ 2. Summing the coefficients of the cosine and sine terms, we get x(t) = A cos θ + A 2 cos θ }{{} 2 cos(ωt) A c A sin θ + A 2 sin θ }{{} 2 sin(ωt), A s which can be rewritten as (.5) (.6) x(t) = A c cos(ωt) A s sin(ωt) = A cos θ cos(ωt) A sin θ sin(ωt) (.7) = A cos(ωt + θ). By matching the coefficients of cos(ωt) and sin(ωt), we note immediately that A cos θ = A c A sin θ = A s, (.8)