Impulse Train vs Sampling Function

In summary: The impulse train (or dirac train) is a particular type of square wave that is particularly suited for sampling because it has a very small duty cycle and its height (the height of the waves) is always finite. This makes it an ideal approximation to the true impulse train, and the delta function has been used as the sampling function for many years." "Delta functions for sampling make the math look nice -- easier to look at, easier to remember. When you sample in real life, you model the hardware that performs the sampling with (at least) a rectangle function."
  • #1
HasuChObe
31
0
How come these two functions are used interchangebly? A sampling function is supposed to be a square wave with a very small duty cycle, but at least the height is still finite. A delta function has infinite height and zero width. It seems like both square wave and dirac train are used as sampling functions interchangebly.

In my signals book, an 'impulse train' or dirac train is used to sample a function. In lab, a rectangle wave with a very small duty cycle (so that it resembles an impulse train) is used to sample a function. The rectangle wave makes sense to me because the height of the rectangle waves is finite. The infinite height dirac train is what confuses me. Explain?

What is delta(t)*h(t)?
 
Engineering news on Phys.org
  • #2
My understanding is that delta(t) is formed from a rect() function that has its height continually increased and its width decreased (by reducing this period). This could explain how the infinite height comes about, as T approaches infinity itself.

delta(t)*h(t) = h(tau) where tau is the variable used in the convolution integral
 
  • #3
JamesGoh said:
My understanding is that delta(t) is formed from a rect() function that has its height continually increased and its width decreased (by reducing this period). This could explain how the infinite height comes about, as T approaches infinity itself.

delta(t)*h(t) = h(tau) where tau is the variable used in the convolution integral

I think they squished a gaussian function to make the delta function, but you are right. It has zero width and infinite height.

Btw, I meant delta(t) x h(t) (multiplication, not convolution). Sry for the confusion.
 
  • #4
delta(t)xh(t) = h(0) if you consider the mathematical properties of a dirac function
 
  • #5
JamesGoh said:
delta(t)xh(t) = h(0) if you consider the mathematical properties of a dirac function

I thought it was the integral of delta(t)xh(t) = h(0).
 
  • #6
The heaviside step function ([itex]u(t)[/itex]) is 1 for t>0 and 0 elsewhere.

The dirac delta function, by definition is the derivative of the heaviside unit step function.
[itex]\delta(t) = \frac{d}{dt}u(t) [/itex].

Hence,[itex]\delta(t)[/itex] is undefined at t=0 (since [itex]u(t)[/itex] changes instantaneously at t=0), and zero everywhere else (since [itex]u(t)[/itex] does not have any other rate of change).

Why its useful is that:
[itex]\int_{-\infty}^{\infty}\delta(t) dt = 1[/itex]
which is easy to prove from the definition above and the fundamental theorem of calculus.

It also has the property that any function multiplied by it, is only non-zero where the dirac delta is non-zero. Hence it samples.

[itex]f(t)\delta(t-\gamma)=f(\gamma)d(t-\gamma)[/itex]

We say that this dirac delta is weighted by [itex]f(\gamma)[/itex] at [itex]t=\gamma[/itex].

So if we wish to sample a function, f(t) in intervals of T.
[itex]f(t) \overbrace{\sum_{k=0}^{\infty}\delta(t-kT)}^{Impulse Train} = \sum_{k=0}^{\infty}f(kT)\delta(t-kT)[/itex]

In answer to your question, the sampling function you are referring to is an approximation to this ideal sampling function. In the limit as the height of the square wave tends to infinity and the width of each square goes to zero we recover this ideal.
 
  • #7
HasuChObe said:
I thought it was the integral of delta(t)xh(t) = h(0).

Sorry my bad. Eidos definition is correct.
 
  • #8
So, the square wave is just an approximation of impulse train , right?
What other waveforms can be used as a good approximation? and why square wave is so holy that it has been used for such a long time?

and if we use another waveform type , say sine wave for samling, then what problems/ differences we might see?

thanks
 
  • #9
dkumar said:
So, the square wave is just an approximation of impulse train , right?

Don't you mean an impulse is an approximation of a square wave ?

dkumar said:
why square wave is so holy that it has been used for such a long time?

A "square" in a square wave has uniform area and height (typically an area of 1), which makes it easy to apply to create more complex waveforms. To create say a triangular waveform you just simply multiply a ramp function by a "square" to create the triangle


dkumar said:
and if we use another waveform type , say sine wave for samling, then what problems/ differences we might see?

Impulse trains are ideal for sampling, because you have a stronger chance of reproducing the original wave, when one considers at the sifting property of delta functions.

Does this make sense ?
 
  • #10
dkumar said:
So, the square wave is just an approximation of impulse train , right?
What other waveforms can be used as a good approximation? and why square wave is so holy that it has been used for such a long time?

and if we use another waveform type , say sine wave for samling, then what problems/ differences we might see?

thanks

Delta functions for sampling make the math look nice -- easier to look at, easier to remember. When you sample in real life, you model the hardware that performs the sampling with (at least) a rectangle function.

Check out <http://en.wikipedia.org/wiki/Sampling_(signal_processing)>, in particular:

"The conventional, practical digital-to-analog converter (DAC) does not output a sequence of dirac impulses (such that, if ideally low-pass filtered, result in the original signal before sampling) but instead output a sequence of piecewise constant values or rectangular pulses. This means that there is an inherent effect of the zero-order hold on the effective frequency response of the DAC resulting in a mild roll-off of gain at the higher frequencies (a 3.9224 dB loss at the Nyquist frequency). This zero-order hold effect is a consequence of the hold action of the DAC and is not due to the sample and hold that might precede a conventional ADC as is often misunderstood. The DAC can also suffer errors from jitter, noise, slewing, and non-linear mapping of input value to output voltage.

Jitter, noise, and quantization are often analyzed by modeling them as random errors added to the sample values. Integration and zero-order hold effects can be analyzed as a form of low-pass filtering. The non-linearities of either ADC or DAC are analyzed by replacing the ideal linear function mapping with a proposed nonlinear function"
 
Last edited by a moderator:
  • #11
The reason that the dirac delta is a sampling function is a matter of the definition. There are two ways to define it:

infinite height, zero width

or, you create the dirac sampling function by defining it as the limit

width epsilon, height 1/epsilon as epsilon --> 0

then, when integrated it simply gives 1 so when you multiply the dirac defined this way by something and integrate you simply get the value of that function only where the delta exists (a single point).
 

What is an impulse train?

An impulse train is a series of discrete impulses that are evenly spaced in time. It is often used as a mathematical model for signals that are composed of a series of discrete events, such as a train of pulses in a communication system.

What is a sampling function?

A sampling function is a mathematical function that describes the process of converting a continuous signal into a series of discrete samples. It is often used in digital signal processing and data acquisition systems.

What is the difference between an impulse train and a sampling function?

The main difference between an impulse train and a sampling function is that an impulse train is a specific type of signal, while a sampling function is a mathematical function that describes a process. An impulse train is a series of discrete impulses, while a sampling function describes the process of converting a continuous signal into discrete samples.

How are impulse trains and sampling functions used in signal processing?

Impulse trains and sampling functions are used in signal processing to represent and analyze discrete signals. Impulse trains can be used to model discrete events in a signal, while sampling functions are used to convert continuous signals into a discrete form for processing and analysis.

What are some practical applications of impulse trains and sampling functions?

Impulse trains and sampling functions have many practical applications in various fields, such as communication systems, digital signal processing, and data acquisition. They are used to analyze and process discrete signals, and are essential in the design and development of digital systems and technologies.

Similar threads

  • Electrical Engineering
Replies
4
Views
829
Replies
7
Views
3K
Replies
18
Views
2K
  • Electrical Engineering
Replies
7
Views
3K
Replies
1
Views
608
  • Classical Physics
Replies
12
Views
791
  • Electrical Engineering
Replies
2
Views
5K
  • Electrical Engineering
Replies
2
Views
4K
Replies
2
Views
1K
Back
Top