You are on page 1of 4

MEASUREMENT OF IMPULSE RESPONSES USING

ALTERNATIVE METHODS
DSP Lab Course WS 2013/2014
Authors:
Mudit Arya(mrmuditarya@gmail.com),
Anupama Edakkattillam(anu.black@gmail.com)
Supervisor: Christian Hofmann
Introduction
Measurement of impulse responses is a common task in audio signal processing. Usual
applications include measurement of speakers and measurement of room impulse responses.
Here two common measurement techniques are reviewed:

Exponentially swept sines
Maximum length sequences(MLS)

The SineSweep technique overcomes such limitations. It is based on the following idea: by using
exponential time growing frequency sweep, it is possible to simultaneously deconvolve the linear
impulse response of the system and to selectively separate each impulse response corresponding
to the harmonic distortion orders considered. The harmonic distortions appear prior to the linear
impulse response. Therefore, the linear impulse response measured is assured exempt from any
non-linearity and, at the same time, the measurement of the harmonic distortion at various orders
can be performed.
MLS uses pseudo-random white noise and the swept sine uses time varying frequency signals.
These methods are based on the assumption of perfect linearity and time-invariance of the
system, and give problems when these assumptions are not met. In particular MLS is quite
delicate; it does not tolerate very well nonlinearity or time-variance, and requires that the
excitation signal is tightly synchronized with the digital sampler employed for recording the
system’s response.

Algorithm
SweptSine: First constructing a measurement signal x(n) for which a signal x-1(n) can be easily
determined that is inverse to x(n) in the sense that the convolution,

k=0 And the exponential sine sweep. MLS Technique: This method is based upon the excitation of the acoustical space by a periodic pseudo-random signal having almost the same stochastic properties as a pure white noise. x-1(n-k) = C . Implementation A complete MATLAB program was developed in both Sweptsine and MLS technique.( L−1) sin ( .w2) (See Figure 2). w1 −1) w2 w1 2( w 2−w 1) log ⁡( ) w2 π . δ(n-no) yields a scaled and time-shifted unit impulse. n x(n) = log ⁡(w 2 /w 1) w 1. h(n-no) = ∑ y (k ) . L−1 C . The results from the programs have been analyzed and saved. . Then the convolution of the measured signal y(n) and the inverse signal x-1(n) will give the scaled and time-shifted impulse response. x-1(n-k). With this technique the impulse response is obtained by circular cross-correlation between the measured output and the determined input (See Figure 1). with no = L-1.(e L−1 −1)) log ⁡( w 2/ w 1) with an instantaneous frequency increasing exponentially from w1 at n=0 up to w2 at n=L-1. The scaling factor can be found to be.L−1 ∑ x( n) k=0 . The number of samples of one period of an m order MLS signal is: L= 2m – 1. ( −n w 2 (L−1) ) w1 which approximates the convolution eq. And programs were run and modified when needed. The inverse signal can be obtained by time reversal and amplitude scaling according to -1 x (n) = x(L-1-n) . L( C= The approximation is in the sense that the convolution of x(n) and x-1(n) results in a unit impulse band-limited to the range(w1.

Figure 1 MLS generated signal. convolution output and estimated impulse response One can see from the above figure that the estimated impulse response is approximately same as the impulse response under test. provided impulse response.Evaluation Results Here are our experimental results from the developed program code. .

provided impulse response. Italy. 2009 [2] A. "Impulse response measurement techniques and their applicability in the real world". “Simultaneous measurement of impulse response and distortion with a swept-sine technique”. Zölzer. T.Figure 2 Sweptsine input. convolution output and estimated impulse response. Literature [1] M. Proceedings of the 12th International Conference on Digital Audio Effects (DAFx09). and U. Farina. One can see from the above figure that the estimated output response is approximately same as the impulse response under test. Corbach.Como.Holters. Dipartimento di Ingegneria Industriale. Università di Parma .