Power and Energy of a Signal

Embed Size (px)

Citation preview

  • 7/25/2019 Power and Energy of a Signal

    1/5

    (9votes, average: 3.89out of 5)

    Calculating the energy and power of a signal was discussed in one of

    the previous posts. I have received numerous queries on this topic. I

    intend to elaborate on this topic a little more here.

    In signal processing, a signal is viewed as a function of time. The termsizeof a signal is used to represent strength of the signal. It is

    crucial to know the size of a signal used in a certain application. For

    example, we may be interested to know the amount of electricity

    needed to power a LCD monitor as opposed to a CRT monitor. Both

    of these applications are different and have different tolerances. Thus

    the amount of electricity driving these devices will also be different.

    A given signals size can be measured in many ways.Given a

    mathematical function (or a signal equivalently), it seems that the

    area under the curve, described by the mathematical function, is a

    Mathuranathan December 20, 2013 Latest Articles, Signal Processing,Tips & Tricks, Tutorials 5 Comments

    1

    http://www.gaussianwaves.com/simulation-of-digital-communication-systems-using-matlab-ebook/http://www.gaussianwaves.com/author/Mathuranathan/http://www.gaussianwaves.com/author/Mathuranathan/http://www.gaussianwaves.com/author/Mathuranathan/http://www.gaussianwaves.com/category/latest-articles/http://www.gaussianwaves.com/simulation-of-digital-communication-systems-using-matlab-ebook/http://www.gaussianwaves.com/category/estimation-theory/http://www.gaussianwaves.com/category/random-process/http://www.gaussianwaves.com/category/channel-modelling/http://www.gaussianwaves.com/category/signal-processing/http://www.gaussianwaves.com/http://www.gaussianwaves.com/http://www.gaussianwaves.com/http://www.gaussianwaves.com/http://www.gaussianwaves.com/index/http://answers.gaussianwaves.com/http://www.gaussianwaves.com/video-lectures-2/http://www.gaussianwaves.com/buy-books/http://www.gaussianwaves.com/http://www.gaussianwaves.com/index/http://answers.gaussianwaves.com/http://www.gaussianwaves.com/video-lectures-2/http://www.gaussianwaves.com/buy-books/http://www.gaussianwaves.com/2010/01/calculating-power-and-energy-content-of-a-signal-in-matlab-2/http://www.gaussianwaves.com/simulation-of-digital-communication-systems-using-matlab-ebook/http://www.gaussianwaves.com/simulation-of-digital-communication-systems-using-matlab-ebook/http://www.gaussianwaves.com/feedback/http://www.gaussianwaves.com/simulation-of-digital-communication-systems-using-matlab-ebook/http://www.gaussianwaves.com/category/tutorials/http://www.gaussianwaves.com/category/tips-tricks/http://www.gaussianwaves.com/category/signal-processing/http://www.gaussianwaves.com/category/latest-articles/http://www.gaussianwaves.com/author/Mathuranathan/http://www.gaussianwaves.com/2010/01/calculating-power-and-energy-content-of-a-signal-in-matlab-2/http://www.gaussianwaves.com/category/tips-tricks/http://www.gaussianwaves.com/category/book-reviews/http://www.gaussianwaves.com/category/pulse-shaping/http://www.gaussianwaves.com/category/ofdm/http://www.gaussianwaves.com/category/spread-spectrum/http://www.gaussianwaves.com/category/channel-coding/http://www.gaussianwaves.com/category/random-process/http://www.gaussianwaves.com/category/estimation-theory/http://www.gaussianwaves.com/category/matlab-codes/http://www.gaussianwaves.com/category/digital-modulations/http://www.gaussianwaves.com/category/signal-processing/http://www.gaussianwaves.com/category/channel-modelling/http://www.gaussianwaves.com/http://www.gaussianwaves.com/feedback/http://www.gaussianwaves.com/buy-books/http://www.gaussianwaves.com/video-lectures-2/http://answers.gaussianwaves.com/http://www.gaussianwaves.com/index/http://www.gaussianwaves.com/
  • 7/25/2019 Power and Energy of a Signal

    2/5

    good measure of describing the size of a signal. A signal can have

    both positive and negative values. This may render areas that are

    negative. Due to this effect, it is possible that the computed values

    cancel each other totally or partially, rendering incorrect result. Thus

    the metric function of area under the curve is not suitable for

    defining the size of a signal. Now, we are left with two options :either 1) computation of the area under the absolute value of the

    function or 2) computation of the area under the square of the

    function. The second choice is favored due to its mathematical

    tractability and its similarity to Euclidean Norm which is used in

    signal detection techniques (Note: Euclidean norm otherwise called

    L2 norm or 2-norm is often considered in signal detection

    techniques on the assumption that it provides a reasonable measure

    of distance between two points on signal space. It is computed as

    Euclidean distance in detection theory).

    Going by the second choice of viewing the size as the computation

    of the area under the square of the function, the energy of a

    continuous-time complex signal is defined as

    If the signal x(t) is real, the modulus operator in the above equation

    does not matter.

    This is called Energy in signal processing terms. This is also a

    measure of signal strength. This definition can be applied to any

    signal (or a vector) irrespective of whether it possesses actual energy

    (a basic quantitative property as described by physics) or not. If the

    signal is associated with some physical energy, then the above

    definition gives the energy content in the signal. If the signal is an

    electrical signal, then the above definition gives the total energy of the

    signal (in Joules) dissipated over a 1 Ohm resistor.

    To know the actual energy of the signal , one has to know the value

    of load the signal is driving and also the nature the electrical signal

    [1]

    ( )

    =

    E

    | ( ) |

    2

    E

    Z

    Gaussian

    + 362

    Follo

    Simulation of Digital

    Communication Syste ms

    Using Matlab [eBook]

    Second Edition -

    72 votes

    How to plot FFT using Matlab

    FFT of basic signals : Sine

    and Cosine waves

    - 26 votes

    Simulation and Analysis of

    White Noise in Matlab

    http://www.gaussianwaves.com/2013/11/simulation-and-analysis-of-white-noise-in-matlab/http://www.gaussianwaves.com/2014/07/how-to-plot-fft-using-matlab-fft-of-basic-signals-sine-and-cosine-waves/http://www.gaussianwaves.com/simulation-of-digital-communication-systems-using-matlab-ebook/https://plus.google.com/+Gaussianwaves?prsrc=5https://www.facebook.com/GaussianWaves/https://www.facebook.com/GaussianWaves/https://www.facebook.com/GaussianWaves/https://www.facebook.com/people/%D9%85%D9%87%D9%86%D8%AF-%D9%85%D8%AD%D9%85%D8%AF/100004431525415https://www.facebook.com/piyush.khadgi2.8https://www.facebook.com/mourad.mzabi.31http://answers.gaussianwaves.com/
  • 7/25/2019 Power and Energy of a Signal

    3/5

    (voltage or current). For a voltage signal, the above equation has to be

    scaled by a factor of .

    For current signal, it has to be scaled by .

    Here, is the impedance driven by the signal , is the signal

    energy (signal processing term) and is the Energy of the signal

    (physical quantity) driving the load

    In the discrete domain, the energy of the signal is given by

    The energy is finite only if the above sum converges to a finite value.

    This implies that the signal is squarely-summable. Such a signal is

    called finite energy signal.

    What if the given signal does not decay with respect to time (as in a

    continuous sine wave repeating its cycle infinitely) ? The energy will

    be infinite and such a signal is not squarely-summable in other

    words. We need another measurable quantity to circumvent thisproblem.This leads us to the notion of Power

    Power is defined as the amount of energy consumed per unit time.

    This quantity is useful if the energy of the signal goes to infinity or the

    signal is not-squarely-summable. For non-squarely-summable

    signals, the power calculated by taking the snapshot of the signal over

    a specific interval of time as follows

    1 / Z

    E= =

    E

    Z

    1

    Z

    | ( )

    |

    2

    Z

    E=

    Z=

    Z E

    |

    (

    ) |

    2

    Z ( ) E

    E

    Z

    =E

    =

    | ( ) |

    2

    - 21 votes

    Top books on basics of

    Communication Systems

    - 13 votes

    MIMO Diversity and Spatial

    Multiplexing - 11votes

    QPSK modulation and

    Demodulation -

    10 votes

    FFT and Spectral Leakage

    - 9 votes

    How to interpret FFT results

    obtaining magnitude and

    phase information

    How to Interpret FFT results

    complex DFT, frequency bins

    and FFTShift

    Lauched : New Q&A forum for

    discussions

    Significance of RMS (Root

    Mean Square) value

    Invitation to Submit your work

    for publication at

    gaussianwaves.com

    Physical Telepresence: Say

    goodbye to Skype, Facetime:This is the future of

    communication.

    How to generate AWGN noise

    in Matlab/Octave (without

    using in-built awgn function)

    Hardware Implementation of

    Gold code gener ator

    Constructing the AutoCorrelation Matrix in Matlab

    Constructing a rectangular

    constellation for M-QAM using

    http://www.gaussianwaves.com/2014/11/constructing-a-rectangular-constellation-for-m-qam-using-karnaugh-map-walks/http://www.gaussianwaves.com/2015/05/auto-correlation-matrix-in-matlab/http://www.gaussianwaves.com/2015/06/hardware-implementation-of-gold-codes/http://www.gaussianwaves.com/2015/06/how-to-generate-awgn-noise-in-matlaboctave-without-using-in-built-awgn-function/http://www.gaussianwaves.com/2015/07/physical-telepresence/http://www.gaussianwaves.com/2015/07/invitation-to-submit-your-work-for-publication-at-gaussianwaves-com/http://www.gaussianwaves.com/2015/07/significance-of-rms-root-mean-square-value/http://www.gaussianwaves.com/2015/09/10316/http://www.gaussianwaves.com/2015/11/interpreting-fft-results-complex-dft-frequency-bins-and-fftshift/http://www.gaussianwaves.com/2015/11/interpreting-fft-results-obtaining-magnitude-and-phase-information/http://www.gaussianwaves.com/2011/01/fft-and-spectral-leakage-2/http://www.gaussianwaves.com/2010/10/qpsk-modulation-and-demodulation-2/http://www.gaussianwaves.com/2014/08/mimo-diversity-and-spatial-multiplexing/http://www.gaussianwaves.com/2013/04/top-books-on-basics-of-communication-systems/
  • 7/25/2019 Power and Energy of a Signal

    4/5

    1) Take a snapshot of the signal over some finite time duration

    2) Compute the energy of the signal

    3) Divide the energy by number of samples taken for computation

    4) Extend the limit of number of samples to infinity . This

    gives the total power of the signal.

    In discrete domain, the total power of the signal is given by

    Following equations are different forms of the same computation

    found in many text books. The only difference is the number of

    samples taken for computation. The denominator changes according

    to the number of samples taken for computation.

    A signal can be classified based on its power or energy content.

    Signals having finite energy are energy signals. Power signals have

    finite and non-zero power.

    A finite energy signal will have zero TOTAL power. Lets investigate

    this statement in detail. When the energy is finite, the total power will

    be zero. Check out the denominator in the equation for calculating

    the total power. When the limit , the energy dilutes to zero

    over the infinite duration and hence the total power becomes zero.

    Signals whose total power is finite and non-zero. The energy of the

    power signal will be infinite. Example: Periodic sequences like

    sinusoid. A sinusoidal signal has finite, non-zero power but infinite

    E

    N

    N

    =

    P

    l i m

    N

    1

    2 N+ 1

    =

    N

    = + N

    |

    ( ) |

    2

    =P

    l i m

    N

    1

    2 N

    = N 1

    =

    N

    |

    (

    ) |

    2

    =P

    l i m

    N

    1

    N

    = N 1

    = 0

    | ( ) |

    2

    =P

    l i m

    N

    1

    + 1N

    1

    N

    0

    = N

    1

    =

    N

    0

    | ( ) |

    2

    N

    Karnaugh Map walks

    Capacity of a MIMO system

    over Fading Channels

    Ergodic Capacity of a SISO

    system over a Rayleigh Fading

    channel Simulation in

    Matlab

    Capacity of a SISO system over

    a fading channel

    Characterizing a MIMO

    channel Channel State

    Information (CSI) and

    Condition number

    MIMO Diversity and Spatial

    Multiplexing

    Introduction to Multiple

    Antenna Systems

    Chirp Signal Frequency

    Sweeping FFT and power

    spectral density

    Generating Basic Signals

    Gaussian Pulse and Power

    Spectral Density using FFT

    Generating Basic signals

    Rectangular Pulse and Power

    Spectral Density using FFT

    Generating Basic signals

    Square Wave and Power

    Spectral Density using FFT

    sakshama ghoslya - Hello Sir,

    > Your final expression for

    transmi...

    Mathuranathan - Thanks for

    spotting that. Will correct the

    http://www.gaussianwaves.com/2014/07/sampling-a-signal-in-matlab/comment-page-1/#comment-29007http://www.gaussianwaves.com/2011/07/simulation-of-ofdm-system-in-matlab-ber-vs-ebn0-for-ofdm-in-awgn-channel/comment-page-2/#comment-29030http://www.gaussianwaves.com/2014/07/generating-basic-signals-square-wave-and-power-spectral-density-using-fft/http://www.gaussianwaves.com/2014/07/generating-basic-signals-rectangule-pulse-and-power-spectral-density-using-fft/http://www.gaussianwaves.com/2014/07/generating-basic-signals-gaussian-pulse-and-power-spectral-density-using-fft/http://www.gaussianwaves.com/2014/07/chirp-signal-frequency-sweeping-fft-and-power-spectral-density/http://www.gaussianwaves.com/2014/08/introduction-to-multiple-antenna-systems/http://www.gaussianwaves.com/2014/08/mimo-diversity-and-spatial-multiplexing/http://www.gaussianwaves.com/2014/08/characterizing-a-mimo-channel/http://www.gaussianwaves.com/2014/09/capacity-of-a-siso-system-over-a-fading-channel/http://www.gaussianwaves.com/2014/09/ergodic-capacity-of-a-siso-system-over-a-rayleigh-fading-channel-simulation-in-matlab/http://www.gaussianwaves.com/2014/11/capacity-of-a-mimo-system-over-fading-channels/http://www.gaussianwaves.com/2014/11/constructing-a-rectangular-constellation-for-m-qam-using-karnaugh-map-walks/
  • 7/25/2019 Power and Energy of a Signal

    5/5

    energy.

    A signal cannot be both an energy signal and a power signal.

    Signals can also be a cat on the wall neither an energy signal nor a

    power signal. Consider a signal of increasing amplitude defined by

    For such a signal, both the energy and power will be infinite. Thus, it

    cannot be classified either as an energy signal or as a power signal.

    Calculation of power and verifying it through Matlab is discussed

    here.

    For details on RMS value of a signal (another measure for the

    strength of the signal) click here

    [1] Sanjay Lall,Norm and Vector spaces,Information Systems

    Laboratory,Stanford University

    ( ) =

    mistake...

    PTM - I think there is a little

    mistake in code comments...

    Mathuranathan - Thanks for

    your comment...

    Mathuranathan - Thanks foryour comment....

    Hao Yi - the two sources of

    spectral leakage have confused

    ...

    Mathuranathan - Thanks for

    pointing it out...

    Mathuranathan - I was

    plotting the NON-normalized

    magnitude spectr...

    Yamuna - Hi Sir, In the above

    example when I gave the ...

    JAYAPRAKASH P - Hi, i am

    doing my m tech final year

    http://www.gaussianwaves.com/2013/07/channel-modeling-an-introduction/comment-page-1/#comment-28914http://www.gaussianwaves.com/2014/07/how-to-plot-fft-using-matlab-fft-of-basic-signals-sine-and-cosine-waves/comment-page-1/#comment-28950http://www.gaussianwaves.com/2014/07/how-to-plot-fft-using-matlab-fft-of-basic-signals-sine-and-cosine-waves/comment-page-1/#comment-28952http://www.gaussianwaves.com/2014/07/how-to-plot-fft-using-matlab-fft-of-basic-signals-sine-and-cosine-waves/comment-page-1/#comment-28954http://www.gaussianwaves.com/2011/01/fft-and-spectral-leakage-2/comment-page-1/#comment-28996http://www.gaussianwaves.com/2011/01/fft-and-spectral-leakage-2/comment-page-1/#comment-29004http://www.gaussianwaves.com/2011/01/fft-and-spectral-leakage-2/comment-page-1/#comment-29005http://www.gaussianwaves.com/2014/07/sampling-a-signal-in-matlab/comment-page-1/#comment-29006http://www.gaussianwaves.com/2014/07/sampling-a-signal-in-matlab/comment-page-1/#comment-29007http://www.amazon.jp/exec/obidos/ASIN/013280803X/gausswb-20http://www.amazon.jp/exec/obidos/ASIN/0966017633/gausswb-20http://lall.stanford.edu/svn/engr207c_2010_to_2011_autumn/data/norms_2008_10_07_01.pdfhttp://www.gaussianwaves.com/2013/12/power-and-energy-of-a-signal/%20http://www.gaussianwaves.com/2015/07/significance-of-rms-root-mean-square-valuehttp://www.gaussianwaves.com/2013/12/computation-of-power-of-a-signal-in-matlab-simulation-and-verification