Impulse Train vs Sampling Function

Click For Summary

Discussion Overview

The discussion revolves around the interchangeability of impulse trains and sampling functions, specifically focusing on the differences between delta functions and rectangular waveforms. Participants explore the theoretical underpinnings and practical implications of these functions in signal processing, including their mathematical properties and applications in sampling.

Discussion Character

  • Technical explanation
  • Conceptual clarification
  • Debate/contested

Main Points Raised

  • Some participants question why impulse trains (delta functions) and sampling functions (rectangular waves) are used interchangeably despite their differences in height and width.
  • One participant suggests that the delta function can be derived from a rectangular function by increasing its height and decreasing its width, leading to infinite height as the width approaches zero.
  • Another participant clarifies that the multiplication of delta(t) and h(t) results in h(0), referencing the properties of the delta function.
  • There is a discussion about the mathematical definition of the delta function, including its relationship with the Heaviside step function and its sampling properties.
  • Some participants propose that the square wave serves as an approximation of the impulse train and inquire about other potential waveforms that could be used for sampling.
  • Concerns are raised about the implications of using different waveforms, such as sine waves, for sampling and the potential issues that may arise compared to using impulse trains.
  • One participant notes that the practical digital-to-analog converters (DACs) do not output ideal delta impulses but rather rectangular pulses, which affects the frequency response and introduces various errors.
  • There is a mention of two definitions of the delta function: one as having infinite height and zero width, and another as a limit of a rectangular function as its width approaches zero.

Areas of Agreement / Disagreement

Participants express differing views on the definitions and properties of delta functions and sampling functions. There is no consensus on the best approach to sampling or the implications of using different waveforms.

Contextual Notes

Some participants highlight the limitations of approximating impulse trains with rectangular waves, including the effects of height and width on sampling accuracy. The discussion also touches on the mathematical intricacies involved in defining and using delta functions in practical applications.

HasuChObe
Messages
31
Reaction score
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
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
 
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.
 
delta(t)xh(t) = h(0) if you consider the mathematical properties of a dirac function
 
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).
 
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.
 
HasuChObe said:
I thought it was the integral of delta(t)xh(t) = h(0).

Sorry my bad. Eidos definition is correct.
 
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
 
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).
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
2K
Replies
7
Views
4K
  • · Replies 7 ·
Replies
7
Views
4K
Replies
18
Views
3K
  • · Replies 2 ·
Replies
2
Views
7K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 0 ·
Replies
0
Views
2K