Docsity

Random Signal & Noise, Lecture notes of Applied Mathematics

Toggle sidebar
bg1
Principles of Communication Prof. V. Venkata Rao
Indian Institute of Technology Madras
3.1
CHAPTER 3
Random Signals and Noise
3.1 Introduction
The concept of 'random variable' is adequate to deal with unpredictable
voltages; that is, it enables us to come up with the probabilistic description of the
numerical value of a random quantity, which we treat for convenience to be a
voltage quantity. In the real world, the voltages vary not only in amplitude but
also exhibit variations with respect to the time parameter. In other words, we
have to develop mathematical tools for the probabilistic characterization of
random signals. The resulting theory, which extends the mathematical model of
probability so as to incorporate the time parameter, is generally called the theory
of Random or Stochastic Processes.
Before we get started with the mathematical development of a random
process, let us consider a few practical examples of random processes and try to
justify the assertion that the concept of random process is an extension of the
concept of a random variable.
Let the variable
X
denote the temperature of a certain city, say, at 9 A.M.
In general, the value of
X
would be different on different days. In fact, the
temperature readings at 9 A.M. on two different days could be significantly
different, depending on the geographical location of the city and the time
separation between the days of observation (In a place like Delhi, on a cold
winter morning, temperature could be as low as 40 F
D whereas at the height of
the summer, it could have crossed 100D F even by 9 A.M.!).
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37
pf38
pf39
pf3a
pf3b
pf3c
pf3d
pf3e
pf3f
pf40
pf41
pf42
pf43
pf44
pf45
pf46
pf47
pf48
pf49
pf4a
pf4b
pf4c
pf4d
pf4e
pf4f
pf50
pf51
pf52

Partial preview of the text

Download Random Signal & Noise and more Lecture notes Applied Mathematics in PDF only on Docsity!

CHAPTER 3

Random Signals and Noise

3.1 Introduction

The concept of 'random variable' is adequate to deal with unpredictable voltages; that is, it enables us to come up with the probabilistic description of the numerical value of a random quantity, which we treat for convenience to be a voltage quantity. In the real world, the voltages vary not only in amplitude but also exhibit variations with respect to the time parameter. In other words, we have to develop mathematical tools for the probabilistic characterization of random signals. The resulting theory, which extends the mathematical model of probability so as to incorporate the time parameter, is generally called the theory of Random or Stochastic Processes.

Before we get started with the mathematical development of a random process, let us consider a few practical examples of random processes and try to justify the assertion that the concept of random process is an extension of the concept of a random variable.

Let the variable X denote the temperature of a certain city, say, at 9 A.M. In general, the value of X would be different on different days. In fact, the temperature readings at 9 A.M. on two different days could be significantly different, depending on the geographical location of the city and the time separation between the days of observation (In a place like Delhi, on a cold winter morning, temperature could be as low as 40 D^ F whereas at the height of

the summer, it could have crossed 100 D^ F even by 9 A.M.!).

To get the complete statistics of X , we need to record values of X over

many days, which might enable us to estimate fX ( x ).

But the temperature is also a function of time. At 12 P.M., for example, the temperature may have an entirely different distribution. Thus the random variable

X is a function of time and it would be more appropriate to denote it by X ( ) t. At

least, theoretically, the PDF of X ( t 1 ) could be very much different from that of

X ( t 2 ) for t 1 ≠ t 2 , though in practice, they may be very much similar if t 1 and t 2

are fairly closely spaced.

As a second example, think of a situation where we have a very large number of speakers, each one of them uttering the same text into their individual microphones of identical construction. The waveforms recorded from different microphones would be different and the output of any given microphone would vary with time. Here again, the random variables obtained from sampling this collection of waveforms would depend on the sampling instants.

As a third example, imagine a large collection of resistors, each having the same value of resistance and of identical composition and construction. Assume that all these resistors are at room temperature. It is well known that thermal voltage (usually referred to as thermal noise) develops across the terminals of such a resistor. If we make a simultaneous display of these noise voltages on a set of oscilloscopes, we find amplitude as well as time variations in these signals. In the communications context, these thermal voltages are a source of interference. Precisely how they limit our capacity to enjoy, say, listening to music in an AM receiver, is our concern. The theory of random processes enables one to come up with a quantitative answer to this kind of problem.

Fig 3.1: A simple random process

The probability system composed of a sample space, an ensemble (collection) of time functions and a probability measure is called a Random

Process (RP) and is denoted X ( t ). Strictly speaking, a random process is a

function of two variables, namely s ∈ S and t ∈ ( āˆ’ āˆž ,āˆž ). As such, a better

notation would be X ( s , t ). For convenience, we use the simplified notation X ( t )

to denote a random process. The individual waveforms of X ( ) t are called

sample functions and the probability measure is such that it assigns a probability to any meaningful event associated with these sample functions.

Given a random process X ( t ), we can identify the following quantities:

X ( ) t : The random process

x j ( ) t : The sample function associated with the sample point sj

X ( t i ): The random variable obtained by observing the process at t = ti

x j ( t i ): A real number, giving the value of x j ( t ) at t = ti.

We shall now present a few examples of random processes.

Example 3.

Consider the experiment of tossing a fair coin. The random process X ( t )

is defined as follows: X ( ) t = sin( π t ), if head shows up and X ( ) t = 2 t , if the

toss results in a tail. Sketch the sample functions. We wish to find the expression for the PDF of the random variables obtained from sampling the process at (a) t = 0 and (b) t = 1.

There are only two sample functions for the process. Let us denote them

by x 1 ( ) t and x 2 ( ) t where x 1 ( t ) = sin( π t )and x 2 ( t ) = 2 t which are shown in

Fig. 3.2.

Fig. 3.2: The ensemble for the coin tossing experiment

As heads and tails are equally likely, we have P āŽ”āŽ£ x 1 ( ) t āŽ¤āŽ¦ = P āŽ”āŽ£ x 2 ( ) t āŽ¤āŽ¦ = 21.

Let X 0 denote the random variable X ( t ) | t = 0 and X 1 correspond to X ( ) t | t = 1.

Then, we have fX 0 ( x ) = Ī“ ( x )and f X 1 ( x ) = 21 āŽ”āŽ£ Ī“ ( x ) + Ī“ ( x āˆ’ 2 )āŽ¤āŽ¦. Ā

and (ii) the sample functions could be mathematically described. In quite a few situations involving a random process, the above features may not be present.

Consider the situation where we have at our disposal N identical resistors, N being a very large number (of the order of a million!).

Let the experiment be 'picking a resistor at random' and the sample functions be the thermal noise voltage waveforms across these resistors. Then, typical sample functions might look like the ones shown in Fig. 3.4.

Assuming that the probability of any resistor being picked up is (^) N^1 , we find

that this probability becomes smaller and smaller as N becomes larger and larger. Also, it would be an extremely difficult task to write a mathematical expression to describe the time variation of any given voltage waveform. However, as we shall see later on in this chapter, statistical characterization of such noise processes is still possible which is adequate for our purposes.

Fig. 3.4: The ensemble for the experiment 'picking a resistor at random'

One fine point deserves a special mention; that is, the waveforms (sample functions) in the ensemble are not random. They are deterministic. Randomness

in this situation is associated not with the waveforms but with the uncertainty as to which waveform will occur on a given trial.

3.3 Stationarity

By definition, a random process X ( t ) implies the existence of an infinite

number of random variables, one for every time instant in the range,

āˆ’ āˆž < t < āˆž. Let the process X ( t ) be observed at n time instants,

t 1 (^) , t 2 , ..........., t (^) n. We then have the corresponding random variables

X ( t 1 ) , X ( t 2 ) , ..........., X ( t n ). We define their Joint distribution function by

FX t (^) ( 1 (^) ) , ..........., X t ( (^) n ) ( x 1 (^) , x (^) 2 , ..........., xn (^) ) = P (^) { X t ( 1 (^) ) ≤ x 1 , ........ X t ( (^) n )≤ xn }. Using a

vector notation is quite often convenient and we denote the joint distribution by

F X t (^) ( ) (^) ( x ) where the n-component random vector X (^) ( t ) =( X t ( 1 (^) ) , ..........., X t ( (^) n ))

and the dummy vector x = ( x 1 , x 2 , ..........., xn ). The joint PDF of X ( ) t , f X t ( ) ( x ),

is given by

( ) (^ )^1 2 ........ ( ) (^ )

n n

f (^) X t x = āˆ‚ x āˆ‚ x^ āˆ‚ āˆ‚ x F X t x

We say a random process X ( t ) is specified if and only if a rule is given or

implied for determining FX t ( ) ( x ) or fX t ( ) ( x ) for any finite set of observation

instants ( t 1 , t 2 , ..........., tn ).

In application, we encounter three methods of specification. The first (and simplest) is to state the rule directly. For this to be possible, the joint density function must depend in a known way on the time instants. For the second method, a time function involving one or more parameters is given. For example,

X ( ) t = A cos ( ω c t + Θ ) where A and ω c are constants and Θ is a random

variable with a known PDF. The third method of specifying a random process is

The above step can easily be generalized to the case of a random vector with n-components.

Stationary random processes constitute an important subset of the general class of random processes. We shall define stationarity here. Let the

process X ( ) t be observed at time instants t 1 , t 2 , .........., t n and X ( ) t be the

corresponding random vector.

Def. 3.1: A random process X ( t ) is said to be strictly stationary or Stationary in

a Strict Sense (SSS) if the joint PDF f X t ( ) ( x ) is invariant to a translation of the

time origin; that is, X ( ) t is SSS, only if

fX t ( + T ) ( x ) = f X t ( ) ( x ) (3.1)

where ( t + T ) = ( t 1 + T , t 2 + T , .........., tn + T ). Ā

For X ( ) t to be SSS, Eq. 3.1 should be valid for every finite set of time

instants (^) { t (^) j }, j = 1, 2, .........., n , and for every time shift T and dummy vector

x. If X ( ) t is not stationary, then it is called a nonstationary process.

One implication of stationarity is that the probability of the set of sample functions of this process which passes through the windows of Fig. 3.6(a) is equal to the probability of the set of sample functions which passes through the corresponding time shifted windows of Fig. 3.6(b). Note, however, that it is not necessary that these two sets consist of the same sample functions.

Fig. 3.6: (a) Original set of Windows (b) The translated set

Example 3. We cite below an example of a nonstationary process (It is easier to do this than give a nontrivial example of a stationary process). Let

X ( ) t = sin 2( π F t )

where F is a random variable with the PDF

F f f f^ Hz otherwise

(Note that this specification of X ( t ) corresponds to the second method

mentioned earlier on in this section). We now show that X ( t )is nonstationary.

X ( ) t consists of an infinite number of sample functions. Each sample

function is a sine wave of unit amplitude and a particular frequency f. Over the ensemble, the random variable F takes all possible values in the range

( 100, 200^ Hz^ ). Three members of this ensemble, (with^ f^ =^ 100, 150 and^200

Hz) are plotted in Fig. 3.7.

Thus the density function of the random variable X ( t 1 )for t 1 = 1 m sec is

identically zero for negative arguments whereas the density function of the RV

X ( t 2 )for t 2 = āˆ’ 1 m sec is non-zero only for negative arguments (Of course, the

PDF of X ( 0 ) is an impulse). For a process that is SSS, the one-dimensional

PDF is independent of the observation instant, which is evidently not the case for

this example. Hence X ( ) t is nonstationary. Ā

3. 4 Ensemble Averages

We had mentioned earlier that a random process is completely specified,

if f X t ( ) ( x ) is known. Seldom is it possible to have this information and we may

have to be content with a partial description of the process based on certain averages. When these averages are derived from the ensemble, they are called ensemble averages. Usually, the mean function and the autocorrelation function, (or the auto-covariance function) of the process provide a useful description of the processes. At times, we require the cross-correlation between two different processes. (This situation is analogous to the random variable case, wherein we had mentioned that even if the PDF of the variable is not available, certain averages such as mean value, variance etc., do provide adequate or useful information). Def. 3.2: The Mean Function

The mean function of a process X ( t )is

mX ( ) t E X t ( ) X t ( ) x fx t ( ) ( x ) d x

āˆž āˆ’ āˆž

= āŽ”āŽ£ āŽ¤āŽ¦ = = ∫ (^) Ā (3.2)

For example, if X (^) i and X (^) j are the random variables obtained by sampling

the process at t = ti and t = tj respectively, then

X i x fx i ( x ) d x mX ( ti )

āˆž āˆ’ āˆž

= (^) ∫ =

X (^) j x fx (^) j ( x (^) ) d x m (^) X ( tj )

āˆž āˆ’ āˆž

= (^) ∫ =

In general, mX ( ) t is a function of time.

Def. 3.3: The Autocorrelation Function

The autocorrelation function of a random process X ( t ) is a function of

two variables t (^) k and t (^) i , and is given by

R X ( tk , ti ) = E āŽ”āŽ£ X t ( k ) X t ( i )āŽ¤āŽ¦ Ā (3.3)

Denoting the joint PDF of the random variables X ( tk ) and X ( ti ) by fX k , Xi ( x , y )

we may rewrite Eq. 3.3 as

R X ( tk , ti ) x y fX k , Xi ( x , y d x d y )

āˆž āˆž āˆ’ āˆž āˆ’ āˆž

= (^) ∫ ∫

We also use ACF to denote the Auto Correlation Function. Def. 3.4: The Auto-covariance Function

Let C X ( t k , t i )denote the auto covariance function of X ( t ). It is given by

CX (^) ( tk , ti (^) ) = E āŽ”āŽ£(^ X (^) ( tk (^) ) āˆ’ m (^) X ( tk (^) )) ( X (^) ( t (^) i ) āˆ’ mX (^) ( ti ))āŽ¤āŽ¦ (3.4a)

It is not too difficult to show that

C X ( tk , ti ) = R X ( tk , ti ) āˆ’ m X ( tk ) mX ( ti ) Ā (3.4b)

In general, the autocorrelation and the auto-covariance would be a function of both the arguments tk and ti. If the process has a zero mean value (that is,

m X ( ) t = 0 for all t ), then C X ( tk , ti ) = R X ( tk , ti ).

For a stationary process, the ensemble averages defined above take a simpler form. In particular, we find that mean function of the process is a constant. That is,

m X ( ) t = mX (3.5a)

m X being a constant. In such a case, we can simply mention the mean value of

the process. Also, for a stationary process, we find that the autocorrelation and

3.4.1 Properties of ACF

The autocorrelation function of a WSS process satisfies certain properties, which we shall presently establish. ACF is a very useful tool and a thorough understanding of its behavior is quite essential for a further study of the random processes of interest to us. For convenience of notation, we define the ACF of a

wide-sense stationary process X ( t )as

R X ( )Ļ„ = E āŽ”āŽ£ X t ( + Ļ„) X t ( )āŽ¤āŽ¦ (3.7)

Note that Ļ„ is the difference between the two time instants at which the process is being sampled.

P1) The mean-square value of the process is R X ( Ļ„ ) Ļ„ = 0.

This follows from Eq. 3.7 because,

R X ( 0 ) = E āŽ”āŽ£^ X^2 ( ) t āŽ¤āŽ¦

As R X ( 0 )is a constant, we infer that for a WSS process, mean and mean-

square values are independent of time. P2) The ACF is an even function of Ļ„ ; that is,

R X ( āˆ’ Ļ„ ) = RX ( )Ļ„

This is because E āŽ”āŽ£ X t ( + Ļ„ ) X t ( ) āŽ¤āŽ¦ = E āŽ”āŽ£ X t ( ) X t ( + Ļ„)āŽ¤āŽ¦. That is,

R X āŽ”āŽ£ (^ t + Ļ„) āˆ’ t āŽ¤āŽ¦^ = R X āŽ”āŽ£ t^ āˆ’ ( t + Ļ„)āŽ¤āŽ¦

which is the desired result. P3) ACF is maximum at the origin.

Consider the quantity, E { āŽ”āŽ£ X t ( ) ± X t ( + Ļ„)āŽ¤āŽ¦^2 }

Being the expectation of a squared quantity, it is nonnegative. Expanding the squared quantity and making use of the linearity property of the expectation, we have

R X ( 0 ) ± RX ( )Ļ„ ≄ 0

which implies RX ( 0 ) ≄ RX ( )Ļ„.

P4) If the sample functions of the process X ( t ) are periodic with period T 0 , then

the ACF is also periodic with the same period. This property can be established as follows.

Consider E āŽ”āŽ£ X t ( + Ļ„) X t ( )āŽ¤āŽ¦ for Ļ„ ≄ T 0. As each sample function

repeats with period T 0 , the product repeats and so does the expectation of this product.

The physical significance of R X ( Ļ„ ) is that it provides a means of

describing the inter-dependence of two random variables obtained by

observing the process X ( t ) at two time instants Ļ„ seconds apart. In fact if

X ( ) t is a zero mean process, then for any Ļ„ = Ļ„ 1 ,^ X ((^01 ))

X

R
R

Ļ„ (^) is the

correlation coefficient of the two random variables spaced Ļ„ 1 seconds apart.

It is therefore apparent that the more rapidly X ( t ) changes with time, the

more rapidly R X ( )Ļ„ decreases from its maximum value RX ( 0 ) as Ļ„

increases (Fig. 3.8). This decrease may be characterized by a de-

correlation time Ļ„ 0 , such that for Ļ„ ≄ Ļ„ 0 , RX ( Ļ„ ) remains below some

prescribed value, say R 100^ X (^0 ). We shall now take up a few examples to

compute some of the ensemble averages of interest to us.

Fig. 3.8: ACF of a slowly and rapidly fluctuating random process

Hence R X ( 2, 4 ) = 16 [ 2 + 6 + 12 + 20 + 30 + 42 ]

Exercise 3.

Let a random process X ( t ) consist of 6 equally likely sample

functions, given by xi ( ) t = i t , i = 1, 2, ......, 6. Let X and Y be the

random variables obtained by sampling process at t = 1 and t = 2

respectively. Find

a) E X [ ]and E Y [ ]

b) f X Y , ( x , y )

c) RX ( 1, 2)

Example 3.

Let X ( ) t = A cos ( ω c t + Θ ),

where A and ω c are constants and Θ is a random variable with the PDF,

f otherwise

Θ

āŽ§āŽŖ (^) ≤ Īø < Ļ€ Īø = āŽØ Ļ€ āŽŖāŽ©

Let us compute a) m X ( ) t and b) R X ( t 1 , t 2 ).

Exercise 3.

A random process X ( t ) consists of 5 sample functions, each

occurring with probability 51. Four of these sample functions are given below.

x 1 ( ) t = cos 2( Ļ€ t ) āˆ’ sin 2( Ļ€ t )

x 2 ( ) t = sin 2( Ļ€ t ) āˆ’ cos 2( Ļ€ t )

x 3 ( ) t = āˆ’ 2 cos t

x 4 ( ) t = āˆ’ 2 sin t

a) Find the fifth sample function x 5 ( t ) of the process X ( t ) such that the

process X t ( ) is

i) zero mean ii) RX (^) ( t 1 (^) , t (^) 2 ) = R (^) X ( t 1 (^) āˆ’ t 2 )

b) Let V be the random variable X t ( ) t = 0 and W be the random

variable X t ( ) t = π 4. Show that, though the process is WSS,

fV ( v ) ≠ fW ( v ).