The University of Surrey

EE2.LabB: S4 Loudspeaker Frequency Response



Teams: Two groups with 1-2 members
Software: Audacity and Matlab
Timetable: One week

Aims of the Experiment

Equipment

Overview

The experiment measures the acoustic efficiency of a loudspeaker mounted in a box using an instrumentation microphone for various frequencies within the audio range. The acoustic efficiency is based on the ratio of acoustical power to the electrical power. Thus, one set of measurements determines the level of sound pressure produced for a given drive voltage; another set of measurements records the electrical current. In addition, we explore a number of different ways of making these measurements: using sinusoidal, swept sine (chirp) and white noise signals.

In part A, you use spot measurements with pure tones to record some manual data points at individual frequencies. Part B uses various test signals to examine a wider range of frequencies in a single measurement. Part C looks at the use of multiple measurements as a means of improving the accuracy of the estimated frequency response. Part D repeats the tests on another loudspeaker enclosure for comparison, which reveals the effect of different loudspeaker enclosures on the performance of the unit. Of the four parts, A and B are essential, C is strongly recommended and the last one D is optional.

Preparation

Hardware setup

Fig 1: Loudspeaker measurement configurations for acoustic (config. 1) and electrical (config. 2) frequency response functions.

Measurement configurations

A. Making spot measurements of the frequency response

Microphone measurements (config. 1):

  1. Set the 'scope display to give the amplitude and frequency (or period) of the sinusoidal voltage signals, the loudspeaker drive and the microphone signal (using the BNC output from the front of the microphone pre-amplifier).
  2. Record the actual frequency, the magnitudes of the two signals, and relative phase between them (or equivalently the time difference) at the following points: 50Hz, 100Hz, 150Hz, 200Hz, 250Hz, 300Hz, 400Hz, 500Hz, 600Hz, 700Hz, 800Hz, 900Hz, 1kHz, 2kHz.

Current measurements (config. 2):

  1. Set the 'scope display to give the amplitude and frequency (or period) of the sinusoidal voltage signals, the loudspeaker drive and the voltage across the 0.5Ω series resistance, which is designed to provide a measure of the current in the loudspeaker drive coil. Use a common point for the ground.
  2. Record the actual frequency, the magnitudes of the two signals, and relative phase between them (or equivalently the time difference) at the following points: 50Hz, 100Hz, 200Hz, 400Hz, 600Hz, 800Hz, 1kHz.
  3. Investigate the response in the lower part of this frequency range to find a point where there is a dramatic change in the magnitude and phase of the current. Record the details of this point.

B. Measuring several frequencies together

  1. Put the 'scope and function generator away to one side, connect the audio output from one Mac workstation to the aux input of the audio amplifier, and connect V1 and V2 to the stereo audio input for the other workstation.
  2. Using Audacity software and the sinusoid test signal below, make a 2-channel measurement for both of the configurations in figure 1 with a sampling rate of 16kHz. Having captured the responses with your recorded waveforms most likely with some surrounding silence, select just the section of interest and save is as a separate stereo WAV file.
  3. Repeat the measurements for the chirp signal which sweeps from 100Hz up to 5kHz.
  4. Repeat the measurements for the white noise signal.
  5. Calculate the frequency response functions (FRFs) and plot the results, for which you can use and modify the Matlab script, calc_frf.m, which displays similar graphs to those in figure 2.

Test signals:
sinusoidSinusoid chirpChirp white noiseNoise

C. Improving the measurement accuracy

  1. Select the test signal that gave you the most consistent (i.e., least variable) results across the required frequency range.
  2. Make a total of eight FRF good quality recordings with your chosen test signal.
  3. By finding a way to combine the results of these measurements in your calculation of the frequency response, show the results with 2 files combined.
  4. Repeat this procedure for 4 files.
  5. Finally, repeat this procedure for all 8 files.
  6. Compare the quality of the results and, in particular, comment on the variance of the results as the number of files is increased.

Fig 2: Results for one set of loudspeaker measurements using a chirp signal, acoustic and electrical FRFs (upper) and acoustic efficiency (lower).

Measured FRF (chirp)

D. Comparing results for different boxes

Some example results are given in figure 2 for one of the loudspeaker boxes. Repeat your best frequency response measurements for the other two loudspeaker enclosures, if time permits, and compare the plots of your results. In particular, comment on the relationship between the low-frequency resonance and the volume of the box.



Dept.
[ Home ]

© 2004-9, written and maintained by Philip Jackson, last updated on 11 February 2009.


School