Master Thesis - Daniel Sanz Ausin
Master Thesis - Daniel Sanz Ausin
Sanz Ausín
Experimental
Investigation
Of
Loudspeaker
Power
Requirements
Master’s
thesis,
January
2015
Experimental
Investigation
Of
Loudspeaker
Power
Requirements
Author:
Daniel
Sanz
Ausín
Supervisors:
Michael
A.
E.
Andersen
Henrik
Schneider
DTU
Elektro
Technical
University
of
Denmark
2800
Kgs.
Lyngby
Denmark
[email protected]
Project
period:
25/08/2014-‐25/01/2015
ECTS:
30
Class:
Public
Edition:
1.
edition
Abstract
The components of a sound system, whether it is a small system for
an electronic device or a high power one, need to be designed to meet
certain power requirements. For this, manufacturers often design these
components using test-signals, which have an unchanging amplitude.
These are very different from real audio signals, because, in audio,
the amplitude is continuously changing over the time, and high power
peaks can be found, which have a small duration in comparison with
the continuous low power values.
This project follows the work done by a group of PhD students and
professors of the Technical University of Denmark, where the power
requirements of a loudspeaker were investigated when it is reproduc-
ing different audio files. For this, over 400 songs were used, and the
simulations were done with the mathematical linear model of the loud-
speaker, which will also be explained in this document. The results
of the simulations showed, as expected, that loudspeakers have a high
power consumption for short amounts of time, and a low continuous
power consumption. The goal of the investigation is to avoid over-
sizing and unnecessary costs when designing all the units of a sound
system, such as the power supply unit, the audio amplifier and the
loudspeaker driver.
The main goal of this project is to validate the functionality of the
mathematical model of the loudspeaker, to make sure that the simu-
lations on this model give the same results as measurements in a real
loudspeaker. For this, a circuit has been designed and built, which
allows to send an audio signal to a real loudspeaker system and mea-
sure the power consumption of the loudspeaker driver. Measurements
taken on this circuit have been compared to simulations using the lin-
ear and non-linear models, which are also explained in the document.
The results show, indeed, that the models simulate the behaviour of
the real loudspeaker with high precision, so the results from the sim-
ulations are absolutely valid. Moreover, the difference between the
measurements on the linear and the non-linear models is very small,
which confirms that the linear model is enough for the simulations,
which is more simple than the non-linear one.
The validity of the mathematical model has been confirmed making
measurements with various audio files belonging to different musical
styles. The power requirements give very similar results both for the
real loudspeaker and the simulation models.
Finally, a database of over 100 loudspeaker drivers of the same size
has been taken, and simulations have been done on each one of them:
all the loudspeakers must have the same sound pressure level response,
so a filter is applied to each one to make them all sound the same.
i
Then, simulations have been run and the power requirements have
been analysed. The results show how the range of power consumption
can be quite wide for the loudspeakers, even if they are similar and
are forced to have the same sound response. This explains why design
for the worst case needs to be done.
ii
Contents
1 Introduction 1
1.1 Thesis Objective . . . . . . . . . . . . . . . . . . . . . . . . . 1
1.2 Organisation of the Thesis . . . . . . . . . . . . . . . . . . . . 2
2 Loudspeaker Modelling 4
2.1 Loudspeaker Parts And Operation . . . . . . . . . . . . . . . . 4
2.2 Domains and Conversions . . . . . . . . . . . . . . . . . . . . 5
2.2.1 Electrical Domain . . . . . . . . . . . . . . . . . . . . . 5
2.2.2 Mechanical Domain . . . . . . . . . . . . . . . . . . . . 5
2.2.3 Acoustical Domain . . . . . . . . . . . . . . . . . . . . 6
2.3 Electro-Mechanical Conversion and Final Linear Model . . . . 7
2.4 Non-Liniarities . . . . . . . . . . . . . . . . . . . . . . . . . . 9
2.5 Final Non-Linear Model . . . . . . . . . . . . . . . . . . . . . 11
iii
5 Power Window Sweep 35
5.1 Power Window Sweep Algorithm . . . . . . . . . . . . . . . . 35
5.2 Comparing Results & Conclusions . . . . . . . . . . . . . . . . 37
8 Conclusion 57
9 Future Work 59
Appendices c
A Matlab Files c
B Other Files e
iv
List of Figures
2.1 Loudspeaker Driver. Source:[5] . . . . . . . . . . . . . . . . . . 4
2.2 Electrical model of the voice coil. Source:[3] . . . . . . . . . . 5
2.3 Mechanical model of the loudspeaker. Source:[3] . . . . . . . . 6
2.4 Electro-Mechanical equivalent circuit of the loudspeaker. Source:[3] 7
2.5 Linear model of the loudspeaker in Simulink . . . . . . . . . . 8
2.6 Linear model of the loudspeaker used in LTspice . . . . . . . . 9
2.7 force factor (Bl) vs diaphragm displacement (x). Source:[3] . . 10
2.8 voice coil inductance (Le) vs diaphragm displacement (x). Source:[3] 10
2.9 mechanical suspension compliance (Cm) vs diaphragm dis-
placement (x). Source:[3] . . . . . . . . . . . . . . . . . . . . . 11
2.10 Non-linear model of the loudspeaker in Simulink . . . . . . . . 12
3.1 Typical waveform of an audio file, showing high peak power
and low rms values. Source:[7] . . . . . . . . . . . . . . . . . . 14
3.2 Correctly and incorrectly sampled signals. Source:[8] . . . . . 14
3.3 Aliasing: frequencies being mirrored due to wrong sampling.
Source:[8] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
3.4 Typical frequency response of a first order low-pass filter . . . 16
3.5 Block diagram of the whole power measurement circuit . . . . 17
3.6 Current measurement resistor in series with the loudspeaker . 17
3.7 Picture of the power measurement circuit . . . . . . . . . . . . 18
3.8 Sallen-Key configuration for a 2nd order low-pass filter . . . . 20
3.9 Frequency response of the 8th order low-pass filter, using the
Sallen-Key configuration . . . . . . . . . . . . . . . . . . . . . 21
3.10 FFT of the unfiltered signal in the output of the DAC . . . . . 22
3.11 FFT of the low-pass filtered signal in the output of the DAC . 22
3.12 FFT of the unfiltered signal in the output of the instrumenta-
tion amplifier (current channel) . . . . . . . . . . . . . . . . . 23
3.13 FFT of the low-pass filtered signal in the output of the instru-
mentation amplifier (current channel) . . . . . . . . . . . . . . 23
3.14 Gain of the audio amplifier over the frequency, depending on
the connected load . . . . . . . . . . . . . . . . . . . . . . . . 26
3.15 Matlab figure showing the constant gain of the amplifier for a
high level signal: Resistive Load = Red , Loudspeaker Load
= Blue. (for more precision, only the peaks of the sinusoidal
waveforms are shown) . . . . . . . . . . . . . . . . . . . . . . 27
3.16 Matlab figure showing the constant gain of the amplifier for a
lower level signal: Resistive Load = Red , Loudspeaker Load
= Blue. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
4.1 Band-pass filter used for the audio file on Simulink . . . . . . 29
v
4.2 Comparison of the voltage between the real measurements
(green) and the simulation on the linear model (blue) and
non-linear model (red) for low level sound pressure level. The
red line cannot be seen because it is exactly the same as the
blue one. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
4.3 Comparison of the current between the real measurements
(green) and the simulation on the linear model (blue) and
non-linear model (red) for low level sound pressure level . . . . 32
4.4 Comparison of the voltage between the real measurements
(green) and the simulation on the linear model (blue) and non-
linear model (red) for high level sound pressure level. The red
line cannot be seen because it is exactly the same as the blue
one. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
4.5 Comparison of the current between the real measurements
(green) and the simulation on the linear model (blue) and
non-linear model (red) for high level sound pressure level . . . 33
4.6 Comparison of the power curves of the real measurements
(green) and the simulation on the linear model (blue) and
non-linear model (red) . . . . . . . . . . . . . . . . . . . . . . 34
5.1 Window sweep over the power curve of the loudspeaker with
different window sizes. Source:[1] . . . . . . . . . . . . . . . . 36
5.2 Maximum rms values as a function of the window size. Source:[1] 37
5.3 Power window sweep algorithm applied to high level measure-
ments. Real measurement (green), simulation on the linear
model (blue) and non-linear model (red). . . . . . . . . . . . . 38
5.4 Power window sweep algorithm applied to low level measure-
ments. Real measurement (green), simulation on the linear
model (blue) and non-linear model (red). . . . . . . . . . . . . 38
5.5 Difference between the real measurements and each one of the
simulation model for high level (difference with linear model
= green, difference with non-linear model = red) . . . . . . . . 40
5.6 Difference between the real measurements and each one of the
simulation model for low level (difference with linear model =
green, difference with non-linear model = red) . . . . . . . . . 40
6.1 Frequency response of the two filters that compose the K-filter.
Source:[1] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
6.2 Short period of song no. 1 showing the comparison of the
power consumption (for high level). Real measurement (green),
simulation on the linear model (blue) and non-linear model (red). 44
vi
6.3 Short period of song no. 4 showing the comparison of the
power consumption (for high level). Real measurement (green),
simulation on the linear model (blue) and non-linear model (red). 45
6.4 Song Number 1: Max RMS Power VS Window Size HIGH
LEVEL (Real Measurement = green , Simulation on Linear
Model = blue , Simulation on Non-Linear Model = red) . . . . 45
6.5 Song Number 4: Max RMS Power VS Window Size HIGH
LEVEL (Real Measurement = green , Simulation on Linear
Model = blue , Simulation on Non-Linear Model = red) . . . . 46
6.6 Power window sweep comparison for all the songs on high level.
Curves correspond to real measurements on the circuit (1-red,
2-blue, 3-green, 4-yellow, 5-magenta, 6-black). . . . . . . . . . 47
6.7 Power window sweep comparison for all the songs on low level.
Curves correspond to real measurements on the circuit (1-red,
2-blue, 3-green, 4-yellow, 5-magenta, 6-black). . . . . . . . . . 48
7.1 Bode diagram showing the SPL of each loudspeaker over the
frequency, theoretically measured at 1m distance with a 2.83V
input voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
7.2 Bode diagram of the target SPL transfer function . . . . . . . 51
7.3 Bode diagram of the filter designed for each loudspeaker . . . 51
7.4 Simulink model used, where the linear model is combined with
the filter of each loudspeaker . . . . . . . . . . . . . . . . . . . 52
7.5 Power consumption of each loudspeaker for the same SPL.
Only a short period of the audio curve is shown . . . . . . . . 53
7.6 Result of power window sweep algorithm applied to 128 loud-
speakers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
7.7 histfit function used to display the distribution of the peak
apparent power values . . . . . . . . . . . . . . . . . . . . . . 55
7.8 histfit function used to display the distribution of the rms
apparent power values . . . . . . . . . . . . . . . . . . . . . . 55
7.9 Ratio of the peak apparent power to the rms apparent power
for the 128 loudspeakers . . . . . . . . . . . . . . . . . . . . . 56
List of Tables
1 Data from the measurement of the loudspeaker system when
playing an audio file . . . . . . . . . . . . . . . . . . . . . . . 30
2 Peak and rms power values and their ratio, the crest factor,
for each song . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
vii
1 Introduction
Nowadays loudspeakers can be found everywhere, from small electronic de-
vices such as MP3 players and mobile phones, to professional level sound
systems. The range of power requirements of these loudspeakers can also be
very extensive, and the components of the system, such as the power supply,
the cables, the amplifier, the filters and the loudspeakers need to be designed
to meet these power specifications. Before the design of all these parts, it is
important to perform investigation of different loudspeakers and configura-
tions when they are playing audio files, to get knowledge about the power
requirements.
The project presented here follows the work done by a group of PhD stu-
dents and professors of the Technical University of Denmark: Requirements
Specification for Amplifiers and Power Supplies in Active Loudspeakers [1].
Here, a mathematical model for the loudspeaker is described, which can
be used to simulate the behaviour of the loudspeaker in order to perform
measurements. This paper also introduces a method to get the power re-
quirements of the loudspeaker more clearly, when playing an audio file.
For this project, a circuit to measure the power of a real loudspeaker has
been designed and built in order to check that the model of the loudspeaker
introduced in the previous paragraph gives similar results to the real loud-
speaker. After that, different measurements have been performed and the
results of the real loudspeaker and the models have been compared.
1
explained, and the mathematical model of the loudspeaker is used to make
simulations. The main goal of this project is to compare results of measure-
ments in mathematical models with real measurements, to check that the
models are valid. Two models are used: the linear one and the non-linear
one, which is more complex. It will be analysed if the linear model is valid to
simulate the behaviour of the real loudspeaker or if, instead, the non-linear
model is needed.
Finally, an statistical analysis of power requirements of multiple similar
loudspeakers is performed, in order to know what is the power consumption
range of all of them. The goal of this is to be able to design the power
supply unit and the rest of the parts of the sound system so that they meet
the power requirements of all the loudspeakers, so design for the worst case
needs to be done. The design of these components is not part of this project,
but would be a future step.
2
Chapter 7 is a little bit different than the rest. Here, a database of more
than 100 similar loudspeakers is taken and a target sound pressure level
response is designed, to make all of them sound equally loud. For this, one
filter is designed for each one of them, that will make all the loudspeakers have
the same sound response. Finally, the same measurements (only simulations)
and comparisons as in Chapters 5 and 6 are applied to all the loudspeakers,
and their power requirements are compared.
At the end, the final conclusions of the project are stated, and the future
work that follows is explained.
The appendices explain the files that are related to this project. However,
these files are not needed for the understanding of this document.
3
2 Loudspeaker Modelling
2.1 Loudspeaker Parts And Operation
[2] The loudspeaker is an electroacoustic transducer than converts an electri-
cal signal to an acoustic signal. The main parts of the dynamic loudspeaker
are the voice coil, the pole piece, the magnet, the diaphragm or cone, the
spider, the dust cap, the outer suspension, the top plate and the basket.
• Electrical domain
• Mechanical domain
• Acoustical domain
Each one of these domains and the conversion between them is explained
in the next section.
4
2.2 Domains and Conversions
2.2.1 Electrical Domain
[2] The analogous electrical circuit of the loudspeaker is formed with the
impedance of the voice coil, which is modelled as a resistor Re in series with
an inductor Le . u(t) is the input voltage signal, which introduces a current
in the voice coil, i(t). Blv(t) is the force induced to the mechanical domain
in the voice coil, which makes the diaphragm move with a velocity v(t). Bl
is the force factor where B is the magnetic flux density in the air gap and l
is the effective length of the voice coil.
The parameters mentioned before, as well as some others, are called
Thiele-Small Parameters, and are usually found in the data sheets of the
loudspeakers. These electro-mechanical parameters define the performance
of a loudspeaker driver.
Applying Kirchoff ’s voltage law to the previous circuit, the transfer func-
tion of the electrical circuit is shown in equation (2.1).
5
factor. Bli(t) is the force induced from the electrical domain into the me-
chanical domain, which causes the diaphragm to move with a velocity v(t)
due to the input current i(t). Finally, ZA is the representation of the acoustic
impedance in the mechanical domain. When the loudspeaker is not mounted
in any kind of box (free air configuration), the term ZA can be neglected.
When representing the mechanical domain in an analogous electrical cir-
cuit, Rm acts as a resistor, Mm as an inductor and cm as a capacitor. The
force applied by the current running through the voice coil is represented as a
voltage source, and the velocity it generates in the diaphragm is represented
as current flowing through the circuit. This way, the analogous electrical
circuit can be represented as in figure 2.3.
6
ρ
p(r) = sUd (s) (2.3)
2πr
Ud (s) is the displaced air volume, and is calculated as Ud (s) = ud (s)SD ,
where ud (s) is the velocity of the diaphragm calculated in the mechanical
domain, and SD is the effective surface area of the loudspeaker driver, usually
provided in the data sheet. ρ is the density of air.
The previous equation would give as a result the acoustic pressure in a
pressure unit, such as Pa. However, when working with sound, the pressure
level is often expressed in dB, due to the fact that this is more ’realistic’, in
the sense that it adjusts better to the human hearing. The sound pressure
level in dB (SPL) is calculated as shown in equation (2.4).
p(r)
SP L(dB) = 20log (2.4)
p0
where p0 is the reference sound pressure level. Usually p0 = 20µP a is
taken, as this value corresponds to the human hearing threshold (lowest
pressure value that a human can hear).
The force factor (Bl) is the parameter for the conversion of energy from
the electrical domain to the mechanical domain: the current flowing through
the voice coil induces a velocity in the diaphragm in the mechanical domain.
Equations (2.1) and (2.2) can also be written in the Laplace domain as
represented in equations (2.5) and (2.6).
7
u(s) = (Re + Le s) i(t) + Blv(t) (2.5)
1
Bli(s) = Rm + Mm s + v(t) (2.6)
Cm s
In this project, all the simulations have been done using the software
Matlab. To integrate the previous model in Matlab, the third party software
Simulink has been used inside Matlab. Following equations (2.5) and (2.6),
the Simulink linear model of the loudspeaker used for this project is shown
in figure 2.5.
(Bl)2
Rel = (2.8)
Rm
8
Mm
Cel = (2.10)
(Bl)2
2.4 Non-Liniarities
[2] The previously described linear model of the loudspeaker is valid for small
sound pressure levels, where the diaphragm displacement is short. However,
when the sound level is higher and the displacement of the diaphragm is
longer, non-linearities appear in the model: several loudspeaker parameters
are dependent on the displacement, so their value will change with the po-
sition of the diaphragm. The most important non-linear parameters are the
force factor Bl, the electrical inductance Le and the mechanical compliance
Cm .
In the case of Bl, when the diaphragm moves long distances (some mm) in
and out from its center position, the l parameter (effective length of the voice
coil) changes, so Bl changes depending on the position x(t) of the diaphragm.
In the case of Le , the inductance value changes with the position of the voice
coil as it moves in and out. Finally the mechanical compliance values change
when the voice coil is driven far away from its center position.
Figures 2.7 to 2.9 show the non-linearities of this parameters that depend
on the displacement.
9
Figure 2.7: force factor (Bl) vs diaphragm displacement (x). Source:[3]
10
Figure 2.9: mechanical suspension compliance (Cm) vs diaphragm displace-
ment (x). Source:[3]
11
Figure 2.10: Non-linear model of the loudspeaker in Simulink
12
3 Loudspeaker Power Measurement Circuit
3.1 Audio Power, RMS and Peak Power
[7] Audio power is the electrical power transferred from the audio amplifier
to the loudspeaker. Although it is usually measured in Watts, when dealing
with AC signals, that unit corresponds to the active power. In this project
the apparent power is measured, so the unit used is VAR. The electrical power
delivered to the loudspeaker determines the sound pressure level generated
by this one.
The power of a loudspeaker can be calculated if the voltage in the termi-
nals of the loudspeaker and the current passing through it are known. The
average power of an audio signal played in a loudspeaker can be calculated
as in equation (3.1).
1 T
Z
Pavg = v(t)i(t) dt (3.1)
T 0
In this project, both the measurements and the simulations have been
done using discrete signals, with a sampling frequency of 44.1kHz, which
is the typical sampling frequency used in audio. In most cases, instead of
calculating the average power in the way shown above, the instantaneous
power has been calculated, which corresponds to the apparent power of each
sample, as in equation (3.2).
Pi = Vi Ii (3.2)
With the power values of each sample, the rms Power and the Peak
Power can be calculated. For n values {P1 , P2 , ..., Pn }, these parameters are
calculated as in equations (3.3) and (3.4).
v
u n
u1 X
Prms = t P2 (3.3)
n i=1 i
13
that audio signals typically have a very high crest factor, which is calculated
as the ratio of the peak power of the audio signal to the rms value of it.
Figure 3.1: Typical waveform of an audio file, showing high peak power and
low rms values. Source:[7]
fs ≥ 2fmax (3.5)
Figure 3.2 shows the different resulting waveforms depending on whether
the sampling theorem has been accomplished or not.
14
The sampling theorem is also applied to audio signals: the human hearing
frequency range goes from 20Hz to 20kHz, which is the bandwidth of the
audio signals. The sampling frequency must be, then, over 40kHz. This is
why audio signals are often sampled at 44.1kHz or above.
[9] Aliasing is the effect that causes a signal to become indistinguish-
able when it is sampled without the sampling theorem being accomplished.
Aliasing can also happen if the sampling theorem is accomplished: sampling
generates low-frequency aliases, but their amplitude levels are very low, so
they do not mean a problem. But if the signal has frequency components
higher than fs /2 (sampling theorem not accomplished), these frequencies will
be mirrored back into the bandwidth of the sampling frequency. In this case,
there is wrong information about the measured signal.
15
Figure 3.4: Typical frequency response of a first order low-pass filter
in this project: the first one, when the signal is converted from digital to
the analog domain, to send it to the amplifier and then to the loudspeaker.
In this first step, there is no problem with aliasing, as the signal’s original
bandwidth remains unaffected. However, images higher than the original
bandwidth will appear due to sampling. The second stage of sampling is
when the current and voltage signals of the loudspeaker are sent back to the
computer. These two signals have the mirrored frequency components due
to the first stage of sampling, and if no filter is used, these components will
be mirrored in the original signal’s frequency bandwidth (audio frequency
range), affecting it wrongly.
16
The signal flow of this circuit is shown in figure 3.5. Figure 3.6 shows how
a small resistor is placed in series with the loudspeaker (which in this case is
simplified as an 8Ω resistor) to measure the current. The voltage measured
in the terminals of this resisistor is proportional to the current through it
(Ohm’s Law ). Finally, figure 3.7 shows a picture of the measurement circuit,
showing its most important parts.
17
Figure 3.7: Picture of the power measurement circuit
18
3.3.3 The 10mΩ Current Measurement Resistor
A 10mΩ current measuring resistor, placed in series with the loudspeaker, has
been used to measure the current going through it. This is done measuring
the voltage at the terminals of the resistor, which is directly proportional to
the current.
19
To avoid this, two low-pass filters are used: one at the input of the am-
plifier and one (per channel) at the output of the instrumentation amplifier.
These two filters use the Sallen-Key topology for low pass filters [10]. The
software Filter Wizard, provided by Analog Devices [11] was also used as an
initial help for the design. Figure 3.8 shows the typical Sallen-Key configu-
ration 2nd order low-pass filter.
The main parameters of this filter are the cut-off frequency fc and the
quality factor Q. They are calculated as explained in equations (3.6) and
(3.7).
1
fc = √ (3.6)
2π R1 R2 C1 C2
√
R1 R2 C1 C2
Q= (3.7)
C2 (R1 + R2 )
For this project, the components chosen are:
• R1 = 7.5kΩ
• R1 = 130kΩ
• C1 = 680pF
• C2 = 56pF
20
The operational amplifier chosen for the impementation of the filters is the
MC33079. It is a low noise quad operational amplifier with a high bandwidth,
up to 15M Hz, which makes it ideal for this application.
In the input of the amplifier, a 4th order filter is needed: to reach a 4th
order filter with the Sallen-Key topology, two stages as the one shown before
are needed, connected in series. For this, two channels of the MC33079 quad
operational amplifier were used. At the output of each one of the channels
of the instrumentation amplifier, another 4th order low-pass filter is needed,
so all the four channels of the operational amplifier are used (two per output
of the instrumentation amplifier).
As a result, the images due to the sampling frequency are reduced with a
8th order low-pass filter (two 4th order in series), and the images due to the
switching frequency of the amplifier are reduced with a 4th order filter. The
resulting frequency response of an 8th order filter is shown in figure 3.9.
Figure 3.9: Frequency response of the 8th order low-pass filter, using the
Sallen-Key configuration
21
are images near the two frequencies mentioned before due to aliasing. The
measurements confirmed that aliasing is happening (before the filters), as it
can be seen in the next figures, even if the amplitude of the mirrored signals
is very small.
The figure 3.10 shows the FFT of the output signal from the DAC. This
signal has low voltage because it is passed through the amplifier yet. In the
figure, images at the right side of 44.1kHz can be seen, which are a mirror
of the frequencies in the left, but with a decreased amplitude.
Figure 3.10: FFT of the unfiltered signal in the output of the DAC
After the 4th order low-pass filter applied at the output of the DAC, it can
be seen in figure 3.11 how the frequencies around 44.1kHz have disappeared.
This is very important because, even if the images have a small amplitude,
they could produce sampling when the signal is amplified and sent back to
the computer via the ADC, sampled at 44.1kHz.
Figure 3.11: FFT of the low-pass filtered signal in the output of the DAC
22
The same explanation is applied for the 400kHz switching frequency of
the audio amplifier: figure 3.12 shows the images around 400kHz. The signal
corresponds to the output signal of the instrumentation amplifier channel
measuring the current through the loudspeaker.
Figure 3.12: FFT of the unfiltered signal in the output of the instrumentation
amplifier (current channel)
After the filter, it can be seen again in figure 3.13 how no images appear
around 400kHz so aliasing is avoided when the signal is sent to the ADC.
Figure 3.13: FFT of the low-pass filtered signal in the output of the instru-
mentation amplifier (current channel)
After seeing the previous images, the importance of the first filter is ob-
vious. However, it is not clear if the second filter is absolutely necessary due
to the fact that the images around 400kHz have a very small amplitude, and
after the filter there is still some very small amplitude noise which cannot be
eliminated by the filter.
23
3.5 ADC & Software: Matlab & National Instruments
USB-6356
The main system used in this project to send, receive and store audio signals
to and from the power measurement system is composed by the USB-6356
data acquisition toolbox, by National Instruments, and the software Matlab.
3.5.1 Matlab
Matlab is a numerical computing environment and high level programming
language. It is developed by Mathworks. It allows plotting of functions and
data, implementation of algorithms, creation of user interfaces, and interfac-
ing with other programs and software devices.
In this project Matlab is used with the previously mentioned data ac-
quisition device called USB-6356. Matlab includes some functions that let
it communicate with devices of National Instruments. A review of these
functions is done in the next section.
The other use of Matlab in this project is the realisation of simulations
using the loudspeaker model explained in the second chapter of this docu-
ment. For the simulations, the software Simulink is used, which is one of the
Matlab’s 3rd party software tools. Simulink is a data flow graphical program-
ming language tool. It includes a graphical block diagraming tool, which is
used here to implement the different loudspeaker models.
3.5.2 NI USB-6356
The USB-6356 by National Instruments is the data acquisition device used
at this project. It can be used for several purposes, but in this project it
is mainly used as an Digital-to-Analog and Analog-to-Digital Converter and
data storing element, always in communication with Matlab. Some of the
most important parameters of the device are:
24
The next few lines show some basic functions to use the National Instru-
ments devices on Matlab. In this simple example, a sinusoidal signal is sent
to the firs output of the device and is then sent back and stored in Matlab
via the first input.
%Output signal. The conversion starts and runs for the specified
%time
s.queueOutputData(signal');
%Get data from device input and store it in a Matlab variable
data = s.startForeground;
25
measurements have been done: first an 8Ω purely resistive load is connected
in the output of the amplifier. Secondly the loudspeaker is connected, and,
lastly, no load is connected. The results are shown in the next figure 3.14.
Figure 3.14: Gain of the audio amplifier over the frequency, depending on
the connected load
The figure shows that the gain of the amplifier is almost constant for an
purely resistive 8Ω load in the audio frequency range (20Hz to 20kHz). How-
ever, when the loudspeaker is connected, the results show a small resonance
peak around 60Hz. Around 500Hz the gain is the same as in the resistive
load, but at 1kHz it begins to fall, and finally raises exponentially when
passed 10kHz. The results without a load show a higher gain in general, but
this case is not so important for this project.
Although the amplifier is not linear, only the range from around 200Hz to
2kHz is important for this project, because this is more or less the frequencies
that a woofer loudspeaker will reproduce. In the mentioned range, the gain
is almost linear, even if it drops when it passes 1kHz. This means that in
the simulations the amplifier can be modelled using only a linear gain block
of 25.7dB.
To check this, measurements have been done in the power measurement
circuit: first a frequency-swept sinusoidal signal, from 20Hz to 4kHz is sent
to the loudspeaker and the output voltage of the amplifier is stored. Then
the same is done with a 8Ω resistor load, instead of the amplifier. This is
done for both a high level voltage signal and a lower level voltage signal. The
results of the comparison between the output voltage of each measurement
show that they are very similar and that the gain is very constant in the
26
(a) Low frequency range (around 250Hz)
Figure 3.15: Matlab figure showing the constant gain of the amplifier for a
high level signal: Resistive Load = Red , Loudspeaker Load = Blue. (for
more precision, only the peaks of the sinusoidal waveforms are shown)
interesting frequency range. All of this confirms that, in the simulations, the
amplifier can be modelled simply with a gain block. The difference errors in
both cases are under 1%.
27
(a) Low frequency range (around 250Hz)
Figure 3.16: Matlab figure showing the constant gain of the amplifier for a
lower level signal: Resistive Load = Red , Loudspeaker Load = Blue.
28
4 Loudspeaker System Measurements, Sim-
ulations & Comparison
After the power measurement circuit has been built and tested, measure-
ments are taken sending audio signals to the loudspeaker and measuring the
power consumption of the driver. The results of these measurements are then
compared to results of simulations using the linear and non-linear model of
the loudspeaker.
Figure 4.1: Band-pass filter used for the audio file on Simulink
29
4.2 Power Measurements at two Sound Pressure Lev-
els
After the audio file has been filtered, the measurements are done. For all the
measurements (real and simulations) two sound pressure levels are used: the
low level corresponds to background listening level, where the listener can
easily have a normal conversation while listening to the background music,
for example. The high level corresponds to when the listener wants to focus
only on the music and wants to listen to it at a considerable volume, but not
enough to be painful. The voltage sent to the amplifier in the lower level
measurements is 10 times smaller (in linear scale) than the one in the higher
level measurements. The gain of the audio amplifier is set at the maximum
for all the simulations.
Table 1: Data from the measurement of the loudspeaker system when playing
an audio file
30
voltage are very similar to those of the real measurements, in both low and
high sound pressure levels. The comparison between the results and the
precision of them is discussed in the next section.
Figure 4.2: Comparison of the voltage between the real measurements (green)
and the simulation on the linear model (blue) and non-linear model (red) for
low level sound pressure level. The red line cannot be seen because it is
exactly the same as the blue one.
31
Figure 4.3: Comparison of the current between the real measurements (green)
and the simulation on the linear model (blue) and non-linear model (red) for
low level sound pressure level
Figure 4.4: Comparison of the voltage between the real measurements (green)
and the simulation on the linear model (blue) and non-linear model (red) for
high level sound pressure level. The red line cannot be seen because it is
exactly the same as the blue one.
32
Figure 4.5: Comparison of the current between the real measurements (green)
and the simulation on the linear model (blue) and non-linear model (red) for
high level sound pressure level
As it can be seen in the figures, the results from the different types of
measurements are very satisfactory: the curves are very similar, both the
voltage and the current. They both follow the same waveform, although
they have slightly different values when peaks are reached. In general, the
current measurements seem to be less precise: this makes sense, because more
components have been used to measure the current through the loudspeaker
than those to the voltage. All the components used in the measurements
have small tolerances. However, all these tolerances have to be summed up:
this means that it is possible that the small differences appreciated in the
figures are introduced by the lack of precision of the components, rather than
by the linear and non-linear models.
If the voltage and current waveforms are multiplied sample by sample,
the apparent power can be displayed and compared. Figure 4.6 shows the
apparent power curve compared for the 3 methods of measurement. It can
be appreciated how the differences between the real and simulated measure-
ments increase. This can be seen most clearly in the peak values, where the
peaks of the real measurement can sometimes be slightly higher than those
of the simulations. This errors appear because, already in the voltage and
current curves, there were some tiny errors, so when these two curves are
multiplied, the errors raise with a power of two.
It is difficult to explain exactly why these small errors appear mostly on
33
Figure 4.6: Comparison of the power curves of the real measurements (green)
and the simulation on the linear model (blue) and non-linear model (red)
the peaks. They could also appear due to a lack of precision of the Thiele-
Small parameters, because their values can change when they are heated up
due to high power. The best example of this is the change of the resistance
value, Re , which has not been included in the model. However, it can be seen
clearly how the three curves follow the same waveform continuously, which
ensures that both the linear and the non-linear model have a high precision
and can simulate the behaviour of a real loudspeaker with high fidelity.
Even if some conclusions can be taken when comparing the apparent
power curves, an algorithm is introduced in the next section, which is more
suitable for comparing the different power curves and taking conclusions
about loudspeaker power requirements.
34
5 Power Window Sweep
In chapter 4 some measurements have been done on the power measurement
circuit and then compared to results of simulations with the linear and non-
linear model of the loudspeaker. For this, the resulting current and voltage
curves have been compared directly, and then multiplied to compare the
power curve. Even if this can give some useful information about the power,
it is difficult to see the differences between the three methods of measure-
ment, so an algorithm must be implemented so as to show the differences
of the power requirement measurement more clearly in the three cases. The
algorithm will show to be very useful to see how, when the loudspeaker is
playing an audio file, commonly the power peaks are very high in comparison
with the rms value of the power.
What it is explained in the next section is included in the content of a
Convention Paper for the Audio Engineering Society (AES) called ’Require-
ments Specification for Amplifiers and Power Supplies in Active Loudspeak-
ers’ [1], written by a group of professors and PhD students of the Technical
University of Denmark.
35
(a) Small window size (b) Larger window size
Figure 5.1: Window sweep over the power curve of the loudspeaker with
different window sizes. Source:[1]
on the sample N . The maximum value of all the rms values taken will be
stored as the maximum rms value for a window size n.
The final goal of this algorithm is to get the maximum rms value for
several different window sizes and compare them: first, a window size of only
one sample is taken. In this particular case, the rms value of the window
will be the exactly the value of the sample. The maximum value will also be
the highest power peak.
The window size is then increased and, thus, the rms values of the win-
dows will begin to be lower and lower. The last case is when the window size
is equal to the length of the audio file, and there will be only one window,
whose value is the rms value of the song.
The importance of the algorithm resides in comparing the maximum rms
values of different window sizes and plotting them in the same graph. This
will show something similar to what is shown in figure 5.2, where the max-
imum rms power is high for short window sizes, but goes down very fast
as the window size is increased. From a particular window size and on, the
36
maximum values will be almost the same.
Figure 5.2: Maximum rms values as a function of the window size. Source:[1]
37
Figure 5.3: Power window sweep algorithm applied to high level measure-
ments. Real measurement (green), simulation on the linear model (blue) and
non-linear model (red).
Figure 5.4: Power window sweep algorithm applied to low level measure-
ments. Real measurement (green), simulation on the linear model (blue) and
non-linear model (red).
38
The figures show satisfactory results, that confirm that the linear and
non-linear models of the loudspeaker are trustable models for the behaviour
of the real loudspeaker driver. Both figures show how the curve corresponding
to the non-linear model has higher peak values than the linear model. This
is due to the fact that non-linearities affect most on the highest power peaks,
when the position of the piston of the loudspeaker moves a considerable
distance from its center position, and this makes some of the Thiele-Small
parameters of the loudspeaker change. For larger window sizes, the curves
of the two models are very similar.
Both for low and high sound pressure levels it can be seen how the power
curve of the real measurements is very similar to the simulations for short
window sizes (It should be closer to the one of the non-linear model than
to the one of the linear model, but maybe this difference is due to errors of
precision of the components in the circuit). As the window size increases, the
real measurement shows to have higher maximum rms power values than the
simulations, but this difference is very small. This can be seen most clearly
when the window size is 102 samples. Finally, for very long window sizes,
real measurements and simulations give very similar results. All of this can
be seen more clearly in figures 5.5 and 5.6, where the difference of the power
curve of the real measurement and each simulation is directly compared. It
can be appreciated how the difference remains very low for both cases, again,
confirming the fidelity of both models.
39
Figure 5.5: Difference between the real measurements and each one of the
simulation model for high level (difference with linear model = green, differ-
ence with non-linear model = red)
Figure 5.6: Difference between the real measurements and each one of the
simulation model for low level (difference with linear model = green, differ-
ence with non-linear model = red)
40
6 Loudness Normalisation & Measurements
with Different Songs
In the previous section it was demonstrated how the linear and non-linear
models can be used to simulate the behaviour of the loudspeaker driver.
However, all the measurements before have been done using the same audio
file. The aim of this project is not to compare the power requirements of
different musical styles, but it is still important to check that the model
is working for different audio files, belonging to various musical styles and
with changing waveform characteristics. This is why the same simulations
as before have been run with six audio files of different musical styles.
However, the audio files cannot be directly compared due to the fact that
the music pieces belong to different styles: they are from different times and
recorded in different ways. This means that the loudness perceived when we
listen to them is not the same, and thus, they need to be loudness normalised.
41
Figure 6.1: Frequency response of the two filters that compose the K-filter.
Source:[1]
for Loudness Units Full Scale: despite having a different name, it is identical
to LKFS, but it is used in different standards. Finally, LU stands for Loud-
ness Unit and is a relative loudness measurement unit (the other two were
absolute measures).
The audio file, measured in LKFS, is split into 400ms blocks with an
overlapping of 75%. Gating filters are used to remove audio content that
should not be taken into account, such as quiet parts or very loud exceptional
noises. Two threshold values are used for this, an absolute one and a relative
one. In this project the absolute value used is −70dB and the relative one is
−10dB (compared to the average loudness of the song).
Finally, this algorithm gives a value of the perceived loudness in dB for
the audio file analysed. In order for two or more audio files to be loudness
normalised, this loudness value in dB needs to be the same for all of them, so
the lowest one is taken as a reference, and a ’reduction gain’ is be applied to
all the others to make them match the reference loudness value (if the refer-
ence value taken is higher than the one corresponding to the audio file with
the lowest loudness, when applying a gain, saturation would be introduced,
because the highest peak of the lowest one would be over 0dB).
In this project the algorithm explained above has been implemented us-
ing the loudness itu function in Matlab. This function follows the ITU-R
BS.1770-2 specification.
42
applied and the power requirements of the loudspeaker driver reproducing
the six songs has been analysed. Simulations have been compared to real
measurents.
6.2.2 Measurements
The steps followed to perform the measurements in the circuit and the sim-
ulations of the loudspeaker playing these audio files are the same as the ones
explained in section 4.2. In this case, the voltage and current values of each
sample taken from the real simulations, the linear and the non-linear models
of the loudspeaker have been directly multiplied, and the comparison of the
apparent power consumption of the loudspeaker for two of the songs is shown
in figures 6.2 and 6.3. The reason for showing only the results of songs 1 and
4 is because they are the most ’extreme’ cases, with the highest and lowest
peak values. The measurements have been done again in 2 different sound
pressure levels, but the results shown here correspond only to the high level.
Even if they belong to very different musical styles, it can be clearly
appreciated how the waveforms of the real measurements and the simulations
43
still match almost perfectly. Again, some small differences can be found in the
highest peaks, but the models behave almost exactly as the real loudspeaker.
Figure 6.2: Short period of song no. 1 showing the comparison of the power
consumption (for high level). Real measurement (green), simulation on the
linear model (blue) and non-linear model (red).
44
Figure 6.3: Short period of song no. 4 showing the comparison of the power
consumption (for high level). Real measurement (green), simulation on the
linear model (blue) and non-linear model (red).
Figure 6.4: Song Number 1: Max RMS Power VS Window Size HIGH
LEVEL (Real Measurement = green , Simulation on Linear Model = blue ,
Simulation on Non-Linear Model = red)
It can be seen how the curves of the real measurements and the simula-
45
Figure 6.5: Song Number 4: Max RMS Power VS Window Size HIGH
LEVEL (Real Measurement = green , Simulation on Linear Model = blue ,
Simulation on Non-Linear Model = red)
tions match again, as expected. In this case, the real measurement shows
higher power consumption than the simulations, but with a very small differ-
ence. Comparing the results of the two simulation models, the non-linear one
shows higher peaks due to the displacement of the loudspeaker diaphragm.
Finally, figures 6.6 and 6.7 show the comparison of the algorithm applied
to all the songs, each one for one sound pressure level. The range of power
consumption is very different for each one of the songs. This can be due
to two reasons: first one, as loudness normalisation has been applied to all
the songs, it is possible that the maximum peaks of some of them have been
reduced. However, in this case, the rms values of all the songs should be
quite similar because they all have the same theoretical loudness, but this
is not true due to the second reason: only a small part of the audio file has
been considered (4 seconds), and it is unknown if this part corresponds to a
high or low level part of each song (a low level part could be the introduction
of the song, while a high level part would be the chorus, for example).
In order to display the data of each song more clearly, table2 shows the
rms power, peak power, and the ratio of the peak to the rms, which is the
crest factor, for each one of the songs. In this case, 30 seconds of the whole
audio piece are analysed, and not only 4 seconds, to give a much better idea
of these parameters in longer time. The large variation of the crest factor is
46
due to the different musical styles.
Figure 6.6: Power window sweep comparison for all the songs on high level.
Curves correspond to real measurements on the circuit (1-red, 2-blue, 3-green,
4-yellow, 5-magenta, 6-black).
47
Figure 6.7: Power window sweep comparison for all the songs on low level.
Curves correspond to real measurements on the circuit (1-red, 2-blue, 3-green,
4-yellow, 5-magenta, 6-black).
Table 2: Peak and rms power values and their ratio, the crest factor, for each
song
48
7 Statistical Analysis of Loudspeaker Power
Requirements
This section describes a work done in this project that differs a little bit
from the rest of the sections. For the statistical analysis of loudspeaker
power requirements, 128 loudspeakers with similar characteristics have been
taken, and their power consumption is compared.
This is done defining a target sound pressure level that every loudspeaker
should have. Then, the power consumption of each one of them is anal-
ysed. This gives an idea on the range of power consumption values of similar
loudspeakers, and their efficiency compared with the rest.
• Bl : force factor (T ∗ m)
All these parameters are loaded on Matlab in order to define one trans-
fer function for each loudspeaker: the input to this transfer function is the
voltage applied to the loudspeaker, and the output is the sound pressure
level. So, this transfer function defines the behaviour and efficiency of the
loudspeaker driver: it determines what the sound pressure level is going to
be for a certain input voltage signal depending on its frequency and ampli-
tude. This can be much easier understood looking at figure 7.1, where the
sound pressure level of each loudspeaker is displayed for the audio frequency
spectrum in a bode diagram, from 20Hz up to 20kHz. The SPL is measured
theoretically at 1m from the loudspeaker, for a 2.83Vrms input.
Looking at figure 7.1 it can be seen how the frequency response and the
efficiency of each loudspeaker can change several dBs in comparison to others.
49
Figure 7.1: Bode diagram showing the SPL of each loudspeaker over the
frequency, theoretically measured at 1m distance with a 2.83V input voltage
This is why a ’target SPL curve’ response has been implemented, and a filter
has been designed for each loudspeaker in order to achieve this same ’target
SPL’ for all of them. This is explained in detail in the next section.
50
Figure 7.2: Bode diagram of the target SPL transfer function
Figure 7.3: Bode diagram of the filter designed for each loudspeaker
51
been amplified and cut to 10 seconds This audio piece has been simulated
in each loudspeaker using their linear model. To get all the loudspeakers
to have the same theoretical sound pressure level, the filter designed in the
section before has been applied to the audio signal before sending it to the
loudspeaker. Figure 7.4 shows the Simulink file, where the filter is placed
just before the loudspeaker. Each loudspeaker has its own numerator and
denominator coefficients for the filter, calculated as explained in the previous
section.
Figure 7.4: Simulink model used, where the linear model is combined with
the filter of each loudspeaker
As it can be seen on figure 7.4, the current is extracted from each sim-
ulation. This current is then multiplied with the input voltage to the loud-
speaker in order to compare the apparent power of each loudspeaker: figure
7.5 shows a short period of the power curve of all the loudspeakers. It can
be appreciated how the power consumption of each one of them has very
different values, even if the sound pressure level will be the same thanks to
the filter.
In figure 7.5 it can be difficult to distinguish the different ranges of power
consumption for each loudspeaker. This is why the power window sweep
algorithm explained in Chapter 5 has been also applied to each one of these
curves of power. In this case, only 5 seconds of the audio power curve have
been analysed in the algorithm, and the number of different window sizes
taken is 500, in order for the simulation not to take too long (the algorithm
needs to be applied once for each loudspeaker, with a total of 128 times).
Figure 7.6 shows the result of the algorithm applied to all the loudspeak-
ers. It can be seen how from 104 samples window and on, the maximum rms
power remains constant. The figure shows how there is a quite wide range
of power consumption for all the loudspeakers: In the one with the highest
52
Figure 7.5: Power consumption of each loudspeaker for the same SPL. Only
a short period of the audio curve is shown
consumption, the peak power (that corresponds to the maximum rms for a
window size of one sample) goes over 12 VAR, while in others it is around
only 2 VAR. To compare the results with higher precessions, other functions
of Matlab have been used in the next section.
53
Figure 7.6: Result of power window sweep algorithm applied to 128 loud-
speakers
54
Figure 7.7: histfit function used to display the distribution of the peak ap-
parent power values
Figure 7.8: histfit function used to display the distribution of the rms ap-
parent power values
It can be seen how, even if they have different power consumption ranges, the
ratios remain constant: all of them are between 16.5 and 18.5. This confirms
that the power consumption is proportional to the input audio file for all the
loudspeakers, whatever the power consumption is.
55
Figure 7.9: Ratio of the peak apparent power to the rms apparent power for
the 128 loudspeakers
56
8 Conclusion
The main objective of this thesis was to make measurements on a real loud-
speaker and compare the results obtained with those of simulations using
the linear and non-linear models of the loudspeaker, to investigate about
their power requirements. Different measurements have been done: first, the
power measurement circuit was built and tested, and measurements taken on
this circuit were compared to simulations, using the same audio file. After
that, six different audio files, belonging to various musical styles, were used
to perform the same comparisons. Finally, a database of over a hundred
loudspeakers was used to create models for each one of them and compare
their power requirements using simulations.
The first part of the project shows clearly how the linear and non-linear
models of the loudspeaker behave in a very similar way to the real loudspeaker
that is being modelled. The results achieved playing the same audio file
are very satisfactory, as it can be seen how the power curves belonging to
measurements on the real circuit, the linear model and the non-linear model
follow each other very closely, with some small differences when peaks are
reached. These small errors could also be due to the precision errors of the
components used in the circuit. The power window sweep algorithm has also
been applied to these measurements, and it can be clearly appreciated how
audio files usually have very short peaks, which are much larger than the rms
power of the whole audio piece (high crest factor ).
The comparison between the two simulation models shows how similar
they are: the only difference between the curves of power obtained with the
two models is that the non-linear model is slightly more precise when high
power peaks are reached, due to the fact that it takes into account how some
of the Thiele-Small parameters change when the diaphragm of the driver
has a high displacement. However, these are minor errors, and it has to
be taken into account that the non-linear coefficients need to be included
in this model, which are usually not provided in the loudspeaker datasheets
(they need to be obtained experimentally using the Klippel analyser or a
similar tool). This is why the linear model is clearly enough to simulate the
behaviour of the loudspeaker, and there is no need for a non-linear model,
unless very high precision is needed.
The results obtained from the measurements using six songs from different
musical styles show that the linear and non-linear models of the loudspeaker
behave almost exactly as the real loudspeaker, it does not matter what audio
file used is. Even if loudness normalisation has been applied to all the files to
make them sound equally loud, it can be seen how the crest factor is always
very high, although it changes for the different musical styles.
57
Finally, the statistical analysis of loudspeaker power requirements shows
that the range of power consumption for the same sound pressure level re-
sponse can be very wide, even if the loudspeakers have similar characteristics,
because they have different efficiencies. This means that, when designing a
power supply for a certain kind of loudspeaker, it has to be taken into ac-
count that the power consumption may vary widely, so the worst case needs
to be taken into account, which would be the loudspeaker with the highest
power consumption, or the lowest efficiency.
58
9 Future Work
In this project an extensive investigation of loudspeaker power requirements
has been performed and important conclusions have been extracted. How-
ever, this does not mean that it is finished here: there is a great amount of
work that can be done following this project, from measurements of power
requirements on different loudspeakers and different configurations, to the
design of power supplies, amplifiers and loudspeakers that take into account
all the results of this work.
First of all, all the measurements and simulations in this project have been
done for woofer loudspeakers. The linear and non-linear models are only valid
for the low-frequency range. However, it would be very interesting to do a
similar investigation for tweeter loudspeaker drivers, using models that are
valid for the high frequency range. This way, the power requirements for the
entire audio spectrum would be known.
The measurements have been done using the free air configuration, where
the loudspeaker does not have any enclosure. Although this gives important
information, the power requirements might change when the loudspeaker is
inside an enclosure, such as in the closed box or ported box configurations. In
these cases it is important to take into account the acoustical domain of the
loudspeaker when creating its model. It would be interesting to investigate
and compare the power requirements of loudspeakers in these configurations,
and check that the models are also valid for them.
The final goal after so much investigation would be to design loudspeaker
systems with power supplies, amplifiers and loudspeaker drivers that take into
account the results obtained. Right now, loudspeaker system manufacturers
test their equipment using test-signals such as sinusoidal waveforms, so they
design for constant power consumption. But these signals are very different to
real audio signals, as in audio, typically, power requirements are very different
over time, because the crest factor is very high. This means that loudspeaker
systems that require a high maximum power but a low continuous power
should be designed, which would reduce the cost.
59
References
[1] Henrik Schneider, Lasse C. Jensen, Lars P. Petersen, Arnold Knott,
Michael A. E. Andersen, Requirements Specification for Amplifiers and
Power Supplies in Active Loudspeakers. Audio Engineering Society Con-
vention Paper. http://www.aes.org/e-lib/browse.cfm?elib=17536
[6] Rosalfonso Bortoni, Sidnei Noceti Filho, Rui Seara, Comparative Analy-
sis of Moving-Coil Loudspeakers Driven by Voltage and Current Sources.
Audio Engineering Society: Convention Paper 5910. http://www.aes.
org/e-lib/browse.cfm?elib=12454
a
[12] Ebay Guides, Woofer vs. Subwoofer: Is There Re-
ally a Difference? http://www.ebay.com/gds/
Woofer-vs-Subwoofer-Is-There-Really-a-Difference-/
10000000177630901/g.html
b
Appendices
A Matlab Files
In this appendix, the Matlab files related to each section of this document
are listed. These files are not necessary to understand this document, but
the list is provided in case the reader wants to see the work done with more
detail, or use some of the Matlab functions used during this project. The
name of each file starts with the section it belongs to, inside each chapter.
• Chapter 2 - Loudspeaker Modelling
– section3 Loudspeaker Linear Model.slx : linear model of
the loudspeaker in Simulink
– section5 Loudspeaker Non Linear Model.slx : non-linear
model of the loudspeaker in Simulink
• Chapter 3 - Loudspeaker Power Measurement Circuit
– section5 Sin Output NIdevice.m : simple example of the func-
tions of the NI USB-6356 data acquisition device.
– section6 Sinusoidals Loudspeaker Load.m : sinusoidal wave-
forms on the loudspeaker to check the linearity of the audio am-
plifier.
– section6 Sinusoidals Resistive Load.m : sinusoidal wave-
forms on a resistive load to check the linearity of the audio ampli-
fier.
– section6 Comparison.m : comparison of the linearity on the
resistive load and the loudspeaker.
• Chapter 4 - Loudspeaker System Measurements, Simulations
& Comparison
– section1 Applying filter to song.m : filter applied to the au-
dio file to make it suitable for a woofer loudspeaker.
– section2 Measurements Circuit 2 Levels.m : measurements
of current and voltage of the loudspeaker circuit playing the fil-
tered audio file.
– section3 Simulations Comparison.m : same measurements
on the linear and non-linear models using Simulink, and compar-
ison of results.
c
• Chapter 5 - Power Window Sweep
d
B Other Files
In this appendix, other files related to some chapters of this document can
be found.
e
www.elektro.dtu.dk
Department
of
Electrical
Engineering
Technical
University
of
Denmark
Ørsteds
Plads
Building
348
DK-‐2800
Kgs.
Lyngby
Denmark
Tel:
(+45)
45
25
38
00
Fax:
(+45)
45
93
16
34
Email:
[email protected]