DSP – Operations on Signals Integration Integration of any signal means the summation of that signal under particular time domain to get a modified signal. Mathematically, this can be represented as − $$x(t)rightarrow y(t) = int_{-infty}^{t}x(t)dt$$ Here also, in most of the cases we can do mathematical integration and find the resulted signal but direct integration in quick succession is possible for signals which are depicted in rectangular format graphically. Like differentiation, here also, we will refer a table to get the result quickly. Original Signal Integrated Signal 1 impulse Impulse step Step Ramp Example Let us consider a signal $x(t) = u(t)-u(t-3)$. It is shown in Fig-1 below. Clearly, we can see that it is a step signal. Now we will integrate it. Referring to the table, we know that integration of step signal yields ramp signal. However, we will calculate it mathematically, $y(t) = int_{-infty}^{t}x(t)dt$ $= int_{-infty}^{t}[u(t)-u(t-3)]dt$ $= int_{-infty}^{t}u(t)dt-int_{-infty}^{t}u(t-3)dt$ $= r(t)-r(t-3)$ The same is plotted as shown in fig-2, Learning working make money
Category: digital Signal Processing
DSP – Classification of CT Signals Continuous time signals can be classified according to different conditions or operations performed on the signals. Even and Odd Signals Even Signal A signal is said to be even if it satisfies the following condition; $$x(-t) = x(t)$$ Time reversal of the signal does not imply any change on amplitude here. For example, consider the triangular wave shown below. The triangular signal is an even signal. Since, it is symmetrical about Y-axis. We can say it is mirror image about Y-axis. Consider another signal as shown in the figure below. We can see that the above signal is even as it is symmetrical about Y-axis. Odd Signal A signal is said to be odd, if it satisfies the following condition $$x(-t) = -x(t)$$ Here, both the time reversal and amplitude change takes place simultaneously. In the figure above, we can see a step signal x(t). To test whether it is an odd signal or not, first we do the time reversal i.e. x(-t) and the result is as shown in the figure. Then we reverse the amplitude of the resultant signal i.e. –x(-t) and we get the result as shown in figure. If we compare the first and the third waveform, we can see that they are same, i.e. x(t)= -x(-t), which satisfies our criteria. Therefore, the above signal is an Odd signal. Some important results related to even and odd signals are given below. Even × Even = Even Odd × Odd = Even Even × Odd = Odd Even ± Even = Even Odd ± Odd = Odd Even ± Odd = Neither even nor odd Representation of any signal into even or odd form Some signals cannot be directly classified into even or odd type. These are represented as a combination of both even and odd signal. $$x(t)rightarrow x_{e}(t)+x_{0}(t)$$ Where xe(t) represents the even signal and xo(t) represents the odd signal $$x_{e}(t)=frac{[x(t)+x(-t)]}{2}$$ And $$x_{0}(t)=frac{[x(t)-x(-t)]}{2}$$ Example Find the even and odd parts of the signal $x(n) = t+t^{2}+t^{3}$ Solution − From reversing x(n), we get $$x(-n) = -t+t^{2}-t^{3}$$ Now, according to formula, the even part $$x_{e}(t) = frac{x(t)+x(-t)}{2}$$ $$= frac{[(t+t^{2}+t^{3})+(-t+t^{2}-t^{3})]}{2}$$ $$= t^{2}$$ Similarly, according to formula the odd part is $$x_{0}(t)=frac{[x(t)-x(-t)]}{2}$$ $$= frac{[(t+t^{2}+t^{3})-(-t+t^{2}-t^{3})]}{2}$$ $$= t+t^{3}$$ Periodic and Non-Periodic Signals Periodic Signals Periodic signal repeats itself after certain interval of time. We can show this in equation form as − $$x(t) = x(t)pm nT$$ Where, n = an integer (1,2,3……) T = Fundamental time period (FTP) ≠ 0 and ≠∞ Fundamental time period (FTP) is the smallest positive and fixed value of time for which signal is periodic. A triangular signal is shown in the figure above of amplitude A. Here, the signal is repeating after every 1 sec. Therefore, we can say that the signal is periodic and its FTP is 1 sec. Non-Periodic Signal Simply, we can say, the signals, which are not periodic are non-periodic in nature. As obvious, these signals will not repeat themselves after any interval time. Non-periodic signals do not follow a certain format; therefore, no particular mathematical equation can describe them. Energy and Power Signals A signal is said to be an Energy signal, if and only if, the total energy contained is finite and nonzero (0<E<∞). Therefore, for any energy type signal, the total normalized signal is finite and non-zero. A sinusoidal AC current signal is a perfect example of Energy type signal because it is in positive half cycle in one case and then is negative in the next half cycle. Therefore, its average power becomes zero. A lossless capacitor is also a perfect example of Energy type signal because when it is connected to a source it charges up to its optimum level and when the source is removed, it dissipates that equal amount of energy through a load and makes its average power to zero. For any finite signal x(t) the energy can be symbolized as E and is written as; $$E = int_{-infty}^{+infty} x^{2}(t)dt$$ Spectral density of energy type signals gives the amount of energy distributed at various frequency levels. Power type Signals A signal is said to be power type signal, if and only if, normalized average power is finite and non-zero i.e. (0<p<∞). For power type signal, normalized average power is finite and non-zero. Almost all the periodic signals are power signals and their average power is finite and non-zero. In mathematical form, the power of a signal x(t) can be written as; $$P = lim_{T rightarrow infty}1/Tint_{-T/2}^{+T/2} x^{2}(t)dt$$ Difference between Energy and Power Signals The following table summarizes the differences of Energy and Power Signals. Power signal Energy Signal Practical periodic signals are power signals. Non-periodic signals are energy signals. Here, Normalized average power is finite and non-zero. Here, total normalized energy is finite and non-zero. Mathematically, $$P = lim_{T rightarrow infty}1/Tint_{-T/2}^{+T/2} x^{2}(t)dt$$ Mathematically, $$E = int_{-infty}^{+infty} x^{2}(t)dt$$ Existence of these signals is infinite over time. These signals exist for limited period of time. Energy of power signal is infinite over infinite time. Power of the energy signal is zero over infinite time. Solved Examples Example 1 − Find the Power of a signal $z(t) = 2cos(3Pi t+30^{o})+4sin(3Pi +30^{o})$ Solution − The above two signals are orthogonal to each other because their frequency terms are identical to each other also they have same phase difference. So, total power will be the summation of individual powers. Let $z(t) = x(t)+y(t)$ Where $x(t) = 2cos (3Pi t+30^{o})$ and $y(t) = 4sin(3Pi +30^{o})$ Power of $x(t) = frac{2^{2}}{2} = 2$ Power of $y(t) = frac{4^{2}}{2} = 8$ Therefore, $P(z) = p(x)+p(y) = 2+8 = 10$…Ans. Example 2 − Test whether the signal given $x(t) = t^{2}+jsin t$ is conjugate or not? Solution − Here, the real part being t2 is even and odd part (imaginary) being $sin t$ is odd. So the above signal is Conjugate signal. Example 3 − Verify whether $X(t)= sin omega t$ is an odd signal or an even signal. Solution − Given $X(t) = sin
Digital Signal Processing – Basic CT Signals To test a system, generally, standard or basic signals are used. These signals are the basic building blocks for many complex signals. Hence, they play a very important role in the study of signals and systems. Unit Impulse or Delta Function A signal, which satisfies the condition, $delta(t) = lim_{epsilon to infty} x(t)$ is known as unit impulse signal. This signal tends to infinity when t = 0 and tends to zero when t ≠ 0 such that the area under its curve is always equals to one. The delta function has zero amplitude everywhere excunit_impulse.jpgept at t = 0. Properties of Unit Impulse Signal δ(t) is an even signal. δ(t) is an example of neither energy nor power (NENP) signal. Area of unit impulse signal can be written as; $$A = int_{-infty}^{infty} delta (t)dt = int_{-infty}^{infty} lim_{epsilon to 0} x(t) dt = lim_{epsilon to 0} int_{-infty}^{infty} [x(t)dt] = 1$$ Weight or strength of the signal can be written as; $$y(t) = Adelta (t)$$ Area of the weighted impulse signal can be written as − $$y (t) = int_{-infty}^{infty} y (t)dt = int_{-infty}^{infty} Adelta (t) = A[int_{-infty}^{infty} delta (t)dt ] = A = 1 = Wigthedimpulse$$ Unit Step Signal A signal, which satisfies the following two conditions − $U(t) = 1(whenquad t geq 0 )and$ $U(t) = 0 (whenquad t < 0 )$ is known as a unit step signal. It has the property of showing discontinuity at t = 0. At the point of discontinuity, the signal value is given by the average of signal value. This signal has been taken just before and after the point of discontinuity (according to Gibb’s Phenomena). If we add a step signal to another step signal that is time scaled, then the result will be unity. It is a power type signal and the value of power is 0.5. The RMS (Root mean square) value is 0.707 and its average value is also 0.5 Ramp Signal Integration of step signal results in a Ramp signal. It is represented by r(t). Ramp signal also satisfies the condition $r(t) = int_{-infty}^{t} U(t)dt = tU(t)$. It is neither energy nor power (NENP) type signal. Parabolic Signal Integration of Ramp signal leads to parabolic signal. It is represented by p(t). Parabolic signal also satisfies he condition $p(t) = int_{-infty}^{t} r(t)dt = (t^{2}/2)U(t)$ . It is neither energy nor Power (NENP) type signal. Signum Function This function is represented as $$sgn(t) = begin{cases}1 & forquad t >0\-1 & forquad t<0end{cases}$$ It is a power type signal. Its power value and RMS (Root mean square) values, both are 1. Average value of signum function is zero. Sinc Function It is also a function of sine and is written as − $$SinC(t) = frac{SinPi t}{Pi T} = Sa(Pi t)$$ Properties of Sinc function It is an energy type signal. $Sinc(0) = lim_{t to 0}frac{sin Pi t}{Pi t} = 1$ $Sinc(infty) = lim_{t to infty}frac{sin Pi infty}{Pi infty} = 0$ (Range of sinπ∞ varies between -1 to +1 but anything divided by infinity is equal to zero) If $ sin c(t) = 0 => sin Pi t = 0$ $Rightarrow Pi t = nPi$ $Rightarrow t = n (n neq 0)$ Sinusoidal Signal A signal, which is continuous in nature is known as continuous signal. General format of a sinusoidal signal is $$x(t) = Asin (omega t + phi )$$ Here, A = amplitude of the signal ω = Angular frequency of the signal (Measured in radians) φ = Phase angle of the signal (Measured in radians) The tendency of this signal is to repeat itself after certain period of time, thus is called periodic signal. The time period of signal is given as; $$T = frac{2pi }{omega }$$ The diagrammatic view of sinusoidal signal is shown below. Rectangular Function A signal is said to be rectangular function type if it satisfies the following condition − $$pi(frac{t}{tau}) = begin{cases}1, & forquad tleq frac{tau}{2}\0, & Otherwiseend{cases}$$ Being symmetrical about Y-axis, this signal is termed as even signal. Triangular Pulse Signal Any signal, which satisfies the following condition, is known as triangular signal. $$Delta(frac{t}{tau}) = begin{cases}1-(frac{2|t|}{tau}) & for|t|<frac{tau}{2}\0 & for|t|>frac{tau}{2}end{cases}$$ This signal is symmetrical about Y-axis. Hence, it is also termed as even signal. Learning working make money