Unit 2.2: Periodic, Energy and Power Signals#

We continue with our survey of Signals and Classification of Signals by looking at Periodic and Nonperiodic Signals and Energy and Power Signals.

This section is based on Section 1.2 of [Hsu, 2020].

Follow along at cpjobling.github.io/eg-150-textbook/signals_and_systems/signals/pep_signals

QR Code

Periodic and Nonperiodic Signals#

Periodic signals#

A continuous-time signal x(t) is said to be periodic with period T if there is a positive nonzero value of T for which

x(t+T)=x(t)allt

An example of such a signal is given in Fig. 17.

An example of a periodic signal.

Fig. 17 An example of a periodic signal.#

We can use the periodicity to synthesize a periodic signal such as that shown in Fig. 17.

Let’s first define the signal over one period. We will use MATLAB and the symbolic math toolbox for this example:

Let one period of the periodic signal be defined by

x(t)={t0t10otherwise

We can use the Heaviside function (unit step) (MATLAB function heaviside: see The Unit Step Function) to sythesise this signal.

Define a t as a symbolic variable t

syms t

Define the period T of the periodic signal (you might want to play with this value)

T = 1; % period of periodic signal

Now define the signal using the Heaviside function to limit the range of the signal.

x(t) = t * (heaviside(t) - heaviside(t-T));

Now plot one period of the signal x(t)

fplot(x(t)),ylim([0 1.2]),grid,title('A Single period of x(t)'),xlabel('t')
../../_images/8dd847ec823be702f6a7d6ff881e8ce3839a4902741d1a9036cf2104c12afa42.png

One period earlier:

x(t+T)
signal1 = x(t + T)
signal1=(t+1)(heaviside(t+1)heaviside(t))
fplot(signal1),ylim([0 1.2]),grid,title('A Single period of x(t+T)')
../../_images/61f6e65dcdad166342be74dafa334506052a293e3280e8700fb10c814681ae6e.png

Two periods later:

x(t2T)
signal2 = x(t-2*T)
signal2=(heaviside(t2)heaviside(t3))(t2)
fplot(signal2),ylim([0 1.2]),grid,title('A Single period of x(t)')
../../_images/51b3b85a655578f04c0567d0b65b5af37eb8543b05a274a9e352986a71f7ea8e.png

It follows that

x(t+mT)=x(t)

for all t and any integer m.

Now we use a loop and the definition of periodic function to repeat this signal multiple times

periodic_signal = 0;
for m = 5:-1:-5
    periodic_signal = periodic_signal + x(t + m*T);
end
periodic_signal
periodicsignal=(t+1)(heaviside(t+1)heaviside(t))+(heaviside(t1)heaviside(t2))(t1)(heaviside(t+1)heaviside(t+2))(t+2)+(heaviside(t2)heaviside(t3))(t2)(heaviside(t+2)heaviside(t+3))(t+3)+(heaviside(t3)heaviside(t4))(t3)(heaviside(t+3)heaviside(t+4))(t+4)+(heaviside(t4)heaviside(t5))(t4)(heaviside(t+4)heaviside(t+5))(t+5)+(heaviside(t5)heaviside(t6))(t5)t(heaviside(t1)heaviside(t))

Now we plot the result

fplot(periodic_signal,'g-',"LineWidth",2),...
    grid,ylabel('x(t)'),xlabel('t'),title('T = 1')
xlim([-3.00 3.00])
ylim([0 1.2])
../../_images/5fc97e1a96fdc78f8e39508746883483ef1b0332ba82a21e96cdb3ba2117143f.png

Fundamental period#

The fundamental period T0 of x(t) is the smallest value of T for which x(t+mT)=x(t) holds.

For the previous example this was T0=1.

DC signals#

Note that the definition of the fundamental period does not hold for a constant signal x(t) (known as a DC signal).

For a constant signal x(t)=c the fundamental period is undefined since x(t) is periodic for any choice of T (and so there is no smallest postive value). See Fig. 18.

A DC signal

Fig. 18 A DC signal#

Note

Note that the sum of two continuous time signals may not be periodic (Example Example 2.1: Sum of two periodic signals)

Nonperiodic signals#

Any continuous-time signal which is not periodic is called a nonperiodic (or aperiodic) signal. For example see Fig. 19

A nonperiodic signal

Fig. 19 A nonperiodic signal#

Energy and Power Signals#

Consider v(t) to be the voltage across a resistor R producing a current i(t). (Fig. 20)

A simple resistor circuit.

Fig. 20 A simple resistor circuit.#

The instantaneous power p(t) per ohm is defined as

p(t)=v(t)i(t)R=i(t)2

Total energy E and average power P on a per-ohm basis are

E=i(t)2dtjoules
P=limT1TT/2T/2i(t)2dtwatts

Normalised energy content of a signal#

For an arbitrary continuous-time signal x(t), the normalised energy content E of x(t) is defined as

E=|x(t)|2dtJ

Normalised average power of a signal#

The normalised average power P of x(t) is defined as

P=limT1TT/2T/2|x(t)|2dtW

Energy and power signals#

Based on the previous definitions, the following classes of signals can be defined:

  • x(t) is said to be an energy signal if and only if 0<E<, and so P=0.

  • x(t) is said to be an power signal if and only if 0<P<, thus implying that E=.

  • Signals that satisfy neither property are referred to as neither energy signals nor power signals.

Note that a periodic signal is a power signal if its energy content per period is finite, and then the average power of this signal need only be calulated over a period (ex:1.18).

Other Measures of Signal Size#

There are other measures of signal size that are used:

Mean value#

Mx=limT1TT/2T/2x(t)dt

For periodic signals with fundamental period T0

Mx=1T0T0/2T0/2x(t)dt

The mean value is also known as the dc value.

Observations

  • the mean value corresponds to the arithmetic average

  • the signal x(t)Mx has zero mean

Measures of spread#

Root-mean square (RMS)#

RMSx=P

E.g. the power of x(t)=Asin(ωt+θ) is A2/2 hence its RMS value is A/2.

Peak value#

|x|peak=maxt|x(t)|

Crest factor (CF)#

CFx=|x|peakRMSx1

Peak-to-average power ratio (PAPR)#

PAPRx=|x|peak2P

Observations

  • CF and PAPR measure the dispersion of a signal about its average power.

  • To express CF or PAPR we often use decibels (dB). To obtain a measure of the quantity y in dB use 20log10(y).

Exercises 2#

Example 2.1: Sum of two periodic signals#

Let x1(t) and x2(t) be periodic signals with fundamental periods T1 and T2 respectively. Under which conditions is the sum x(t)=x1(t)+x2(t) periodic, and what is the fundamental period of x(t) if it is periodic?

For the answer, refer to the lecture recording or see solved problem 1.14 in [Hsu, 2020].

Exercise 2.2: Periodic signals#

MATLAB Example

We will solve this example by hand and then give the solution in the MATLAB lab.

Determine whether or not each of the following signals is periodic. If a signal is periodic, determine its fundamental period.

a). x(t)=cos(t+π4);

b). x(t)=sin2π3t;

c). x(t)=cosπ3t+sinπ4t;

d). x(t)=cost+sin2t;

e). x(t)=sin2t;

f). x(t)=ej[(π/2)t1];

For the answers, refer to the lecture recording or see solved problem 1.16 in [Hsu, 2020].

Exercise 2.3: Integral properties of periodic signals#

Show that if x(t+T)=x(t), then

αβx(t)dt=α+Tβ+Tx(t)dt
0Tx(t)dt=aa+Tx(t)dt

for any real α, β and a.

For the answer, refer to the lecture recording or see solved problem 1.17 in [Hsu, 2020].

Exercise 2.4: Power in a periodic signal#

Show that if x(t) is periodic with fundamental period T0, then the normalized average power P of x(t) defined by

P=limT1TT/2T/2|x(t)|2dt

is the same as the average power x(t) over any interval of length T0, that is,

P=1T00T0|x(t)|2dt

For the answer, refer to the lecture recording or see solved problem 1.18 in [Hsu, 2020].

Exercise 2.5: Power and energy signals#

MATLAB Example

We will solve this example by hand and then give the solution in the MATLAB lab.

Determine whether the following signals are energy signals, power signals, or neither.

a). x(t)=eatu0(t), a>0;

b). x(t)=Acos(ω0t+θ)

c). x(t)=tu0(t)

Note u0(t) is the unit step (or Heaviside) function formally introduced in the next lecture. For the answer, refer to the lecture recording or see solved problem 1.20 in [Hsu, 2020].

Exercise 2.6: Power in domestic mains electricty#

Domestic mains power in the UK is delivered as a sinusoidal signal x(t)=Acos(ω0t+θ) with frequency of 50Hz and RMS value of 240V.

Calculate the fundamental period T0, fundamental angular frequency ω0, average power P, peak voltage A=xpeak, crest factor (CF) and peak-to-average power ratio (PAPR) of the power signal provided to the home.

Express CF and PAPR in dB.

Summary#

In this lecture we completed our look at signals and the classification of signals.

In particular we have looked at

Unit 2.2: Take aways#

  • A signal is periodic, with period T is x(t+T)=x(t)allt

  • Signal energy for a signal x(t):

Ex=|x(t)|2dtJ
  • Signal power for a signal x(t):

Px=limT1TT/2T/2|x(t)|2dtW
  • x(t) is said to be an energy signal if and only if 0<E<, and so P=0.

  • x(t) is said to be an power signal if and only if 0<P<, thus implying that E=.

  • Signals that satisfy neither property are referred to as neither energy signals nor power signals.

  • Signal mean (average or DC value):

Mx=limT1TT/2T/2x(t)dt.ForaperiodicsignalMx=1T0T0/2T0/2x(t)dt
  • Root mean square (RMS): Px;

  • Peak value: |x|peak=maxt|x(t)|;

  • Crest factor:

CFx=|x|peakRMSx1
  • Peak-to-average power ratio (PAPR):

PAPRx=|x|peak2P
  • Value of y in decibel (dB) is 20log10y.

Next Time#

Unit 2.3: Elementary Signals

References#

[Hsu20] (1,2,3,4,5,6)

Hwei P. Hsu. Schaums outlines signals and systems. McGraw-Hill, New York, NY, 2020. ISBN 9780071634724. Available as an eBook. URL: https://www.accessengineeringlibrary.com/content/book/9781260454246.