Professional Documents
Culture Documents
MEMS Digital Microphone and Arduino Compatible Microcontroller: An Embedded System For Noise Monitoring
MEMS Digital Microphone and Arduino Compatible Microcontroller: An Embedded System For Noise Monitoring
net/publication/353342144
CITATION READS
1 625
3 authors:
Paulo Mareze
Universidade Federal de Santa Maria
74 PUBLICATIONS 144 CITATIONS
SEE PROFILE
Some of the authors of this publication are also working on these related projects:
TEORIA DE FILTRAGEM ÓTIMA APLICADA A REDUÇÃO DE RUÍDO EM SINAIS DE ÁUDIO View project
All content following this page was uploaded by William D'Andrea Fonseca on 05 October 2021.
ABSTRACT
Noise assessment and monitoring are essential parts of an acoustician’s work. They help to better
understand the environment and propose better solutions for noise control and urban noise management.
Traditionally, equipment used to carry out these tasks is standardized and often times is considered
expensive for the early career professional. This study has developed a high-quality (and cost-effective)
prototype for an embedded noise monitoring device based upon a digital I2S MEMS microphone and
an Arduino compatible microcontroller named Teensy. Its small size and low power consumption are
also advantages designed for the project. The system captures and processes sound in real-time and
computes A and C frequency-weighted equivalent sound levels, along with time-weighted instant levels
(with a logging interval of 125 ms). Part of the software handles the audio environment, while the
biquadratic IIR filters present in the Cortex Microcontroller library are responsible for the frequency-
and time-weightings — using floating-point for enhanced precision. The prototype performance
was compared against a Class 1 Sound Level Meter (SLM), rendering very similar results to tested
situations, proving a powerful and reliable tool. Improvements to the system and further testing will
be conducted to refine its functioning and characterization. Ultimately, the prototype demonstrated
promising performance, achieving LAeq values within a ±0.5 dB margin over the Class 1 SLM and
confirming its potential as a cost-effective solution for noise monitoring and assessment.
Keywords: Arduino, CMSIS, Inter IC-Sound, I2S, Teensy, Sound Level Meter, MEMS microphone, noise
monitoring.
The objective of this work is to create an embedded system focusing on sound pressure level (SPL)
and equivalent continuous sound level (Leq ) measurements. That is, the designed software is written as
firmware into the hardware, creating a prototype dedicated for this sole purpose. In consequence, the
direct application is sound/noise monitoring, i.e. measuring, processing, and storing levels according
to sound level meter (SLM) standards. To achieve this goal, instrumentation, programming, and digital
signal processing (DSP) develop essential roles. Several branches of acoustical engineering are put
to work together as a unity. The hardware includes a microphone, a processing unit, a storage device,
and a power source. Therefore, the DSP must be meticulously programmed to fulfill time-weighting,
frequency-weighting, and fractional octave filtering.
Microelectromechanical (MEMS) microphones have inspired a new way of thinking in using sound
recording devices. Its relatively low-cost, low-power consumption, and tiny size have enabled designs
from single prototypes to massive applications in the cellphone industry, for instance. Arduino is a
microcontroller unit (MCU). As such, its development boards and kits have brought up an easy way to
program hardware and produce virtually any type of electronic device. The combination of these two
can render unlimited options when dealing with sound, from toys to professional projects. Considering
the aforementioned, this study used the Teensy board — an Arduino compatible but with much more
muscle and add-ins — to build an SLM. Applications range from home monitoring through sound
security systems to urban mapping.
This section addresses the principles of the pressure-related quantities tested within this study,
as well as a brief description of the employed hardware and basic knowledge on the programming
approach used. The authors also encourage further reading, such as Pierce [1] and Jacobsen & Juhl [2],
to get a better understanding of sound.
in which p0 =20 µPa is the reference pressure (at 1 kHz), prms is the root mean square (rms) pressure,
T is the measuring period of time (or time-window in s), p(t) the instantaneous value of the sound
pressure (in Pa), and t is time (in s). Considering discrete values, N is the total number of measurements
taken and pn is the n-th pressure value. The symbol ⟨·⟩t designates the average over time, in this case
of a squared signal. SPL is the most well-known parameter when dealing with acoustics and part of the
acoustician’s daily life. This happens because sound pressure is the easiest quantity to access within
the topic (with a microphone, for instance). The physical meaning of any SPL is related to the acoustic
energy for a given time frame. Moreover, a decibel scale compacts the range of values and a reference
(ca. threshold of hearing @ 1 kHz) sets the 0 dB (SPL). Figure 1 (a) depicts the calculus in a visual
way. The reader may access a Matlab example code by clicking on the icon or searching for the
attached files in this pdf.
time for T
domain
Time domain
where N is the total number of discrete measurements, SPLn is the n-th discrete sound pressure
level taken, and wn is the fraction of total time the SPLn is present. Usually, Leq is frequency C– or
A–weighted. In such cases, it is denoted as LCeq and LAeq , respectively (see Section 4.2).
If time-averaging is not involved, SPL and Leq are quite similar. The main difference would then
be that SPL has a short time average, while Leq is evaluated for longer periods, as noticeable in
Figure 1 (b).
2.3. Sound Level Meter (SLM)
The SLM is the most well-known device used to evaluate sound
in an objective way, analogous to the voltmeter for an electrician.
Its functionalities encompass SPL and Leq measurements for
different time- and frequency-weighting. Moreover, its results may
be delivered as global values or in fractional octave bands (over
frequency), see Section 4.3. The main international documents
that regulate the SLM are the standards IEC 61672:2013 –
Parts 1, 2, and 3 [5, 6]. Its accuracy, precision, and frequency
range of operation are defined and categorized as Class 1 and
Class 2, with the latter the least precise.
Usually, Class 1 SLM is costly due to the instrumentation and
hardware included. Well-known models (from this class) are from
the manufacturer Brüel & Kjær, for example, models Type 2240, Figure 2: SLM B&K Type 2240,
2270, and 2245 (from older to newer) [7], see Figure 2. Type 2270-S, and Type 2245 [7].
1
Granularity is the scale or level of detail present in a set of data.
GND
VDD
GND
VDD
Figure1. Typical Analog
Figure MEMSAnalog
1. Typical Microphone
MEMSBlock Diagram
Microphone Block Diagram
Figure3. Typical
FigureI2S3.MEMS
Typical I2SMEMSMicrophone
Microphone Block Diagram
Block Diagram
(a) Analog MEMS microphone blockdiagram.
diagram 2
(a)MEMS
(a) Analog Analog MEMS microphone
microphone block block diagram. (b)(b)
I2S IMEMS
S MEMS
(b) MEMS microphone
I2Smicrophone
microphone blockdiagram.
block
block diagram. diagram
A lid
A lid is then is thenover
bonded bonded over theto
the laminate laminate
enclosetothe
enclose the
ICS-52000 ICS-52000
CLK CLK FILTER FILTER
AMPLIFIER AMPLIFIER PDM PDM ADC ADC SCK SCK
ADC ADC
MODULATOR MODULATOR
DATA DATA TDM TDM
SERIAL SD
SERIAL SD
MEMS MEMS
TRANSDUCERTRANSDUCER PORT PORT
WS WS
POWER POWER
CHANNEL CHANNEL POWER POWER
HARDWARE HARDWARE
MANAGEMENT SELECT
MANAGEMENT SELECT MANAGEMENTMANAGEMENT
CONTROL CONTROL WSO WSO
(c)
(c)PDM microphone
PDM MEMS
(c) PDM block
microphone
MEMS diagram
microphone
block diagram.
block diagram. (d)TDM
(d) TDM MEMS
(d) TDM microphone
microphone
MEMS microphone block
block diagram. diagram
block diagram.
Figure 3: Block diagrams for different types of MEMS microphones: analog, I2 S, PDM, and TDM [17].
Teensy MCUs come with a built-in and open-source library for audio processing (Teensy Audio
Library). As described on its website, the Teensy Audio Library is “a toolkit for building streaming
audio projects, featuring Polyphonic Playback, Recording, Synthesis, Analysis, Effects, Filtering, Mixing,
Multiple Simultaneous Inputs & Outputs, and Flexible Internal Signal Routing” [15]. All audio signals
circulating on Teensy have a 16-bit resolution, 44.1 kHz of sampling frequency, and stream while
Arduino sketches are running.
Table 1: Hardware comparison between the prototype used and other Teensy and Arduino boards.
Name Processor CPU Speed Storage Memory Direct memory access (DMA)
The audio library is object-oriented. Therefore, objects are used to execute audio functions, such as
input receiving, signal filtering, and output streaming. Audio programs can be created using the Audio
System Design Tool [15], a graphic interface that allows users to generate a signal chain and export
it as an Arduino code. The design tool also offers a brief description and documentation of all audio
objects. Additionally, it is possible to program Teensy to run as a USB audio device, allowing the user
to send and receive audio data to and from a computer, which is useful for testing and prototyping.
An example is illustrated in Figure 4, where a signal from the computer is fed into Teensy via USB,
processed by an Infinite Impulse Response (IIR) filter, and sent back to the computer (the reader may
access an Arduino example code by clicking on the icon or searching for the attached files in
this pdf) .
As an open-source library, it is possible to write and develop new audio objects that integrate
seamlessly with the others. The objects are written in C++ language. Guidelines on how to write a new
one can be found on Teensy’s website [15].
3. PROTOTYPE
This section describes the prototype developed for sound monitoring. It is comprised of a Teensy
microcontroller, a digital I2 S MEMS microphone, an SD card module, a portable battery, and a simple
on/off switch. First, the technical specifications of the components and their interconnections are
characterized. Ultimately, the functionalities of the audio objects programmed for sound pressure level
calculations are explained.
3.1. Components
The prototype uses a digital I2 S MEMS microphone to capture sound. A Sipeed MSM261S4030H0
evaluation board was chosen due to its availability, low cost, and ease of connectivity with Teensy 4.0.
Its frequency response and picture can be found in Figures 5 (a) and (b), respectively, while its main
specifications are detailed in Table 2. Readers may listen to a recording example via the following
file (voice speech, acoustic guitar, and environmental noise).
Table 2: MEMS microphone Sipeed MSM261S4030H0 technical specifications [18].
Parameter Limits / Data Unit Condition
Min. Nom. Max.
Directivity Omnidirectional — —
Sensitivity -27 -26 -25 dB dBFS @ 1 kHz 1 Pa
Operation voltage 1.6 – 3.6 V —
Frequency range 100 – 10k Hz —
Signal-to-noise ratio — 57 — dB 20 kHz bandwidth, A-weighted
Total Harmonic Distortion — — 1 % 100 dB SPL @1 kHz, S = nom., Rload >2k
Acoustic Overload Point — 124 — dB SPL 10% THD @1 kHz, S = nom., Rload >2k
Maximum SPL 140 dB SPL —
A simple SD card Arduino module is used to store the measurements taken, per Figure 5 (d). The
module has seven pins, two of which are for power (GND, +3.3 V, and +5 V), two for control (CS and
SCK), and two for data transfer (MOSI and MISO). Teensy 4.0 controls both the microphone and SD
card module via serial connections. A 4400 mAh capacity USB mobile battery is used to power the
system, see Figure 5 (e).
10
10
0 0
-10 -10
-20 -20
100 100 200 200 500 5001k 1k 2k 2k 5k 5k
10k 10k
Frequency
Frequency (Hz) (Hz)
2
(a) MSM261S4030H0
(a) MSM261S4030H0
(a) MSM261S4030H0 I2S digital
II2 SS digital
digital MEMS
MEMS microphone
MEMS microphone (b) MSM261S4030H0
microphone (b) MSM261S4030H0I2S digital
(b) MSM261S4030H0 I2SMEMS I2microphone
digital SMEMS microphone
digital MEMS
frequency response.
frequency response. next to a 25
next mm
to adiameter
25 mm coin.
diameter coin.
frequency response. microphone next to a 25 mm diameter coin.
1.8 cm
3.1 cm
1.8 cm
3.1 cm
3.6 cm
3.6 cm 5.1 5.1
cmcm
(c) Teensy 4.0(c)dimensions.
Teensy 4.0 dimensions. (d)(d)
SD SDcard module
card module dimensions.
dimensions.
(c) Teensy 4.0 dimensions. (d) SD card module dimensions.
(e) pro
(e) H’Maston H'Maston
(e)
10000 promAh
10000
H'Maston mAh
proand and
10000 mAh and
Advansat (f) Components assembledassembled
(f)(f)Components
Components inside the prototype
assembled inside thecase.
inside prototype case.
the prototype
Advansat 4400 mAh
Advansat 4400power
mAh banks.
power banks.
4400 mAh power banks. case.
All data inside the objects are evaluated using floating-point precision (32 bits), ensuring adequate
math steps. Filtering is accomplished by Infinite Impulse Response filters (IIR) implemented using built-
in functions from the Cortex Microcontroller Software Interface Standard DSP library for Cortex-M
processors (CMSIS [19]) and coefficients previously calculated in Matlab. The objects are placed
inside an Arduino sketch and can be used in parallel, which makes the system extremely versatile and
easy to use.
4. ALGORITHM VALIDATION
This section describes the tests conducted to validate the sound level meter algorithms. In all tests,
an appropriate digital signal was applied to Teensy through a USB connection, and sound pressure
levels were retrieved via serial communication (Serial.println()) for further plotting and analysis.
The process is the gray-box method, i.e. activation and response, as observed in the signal chain in
Figure 6 (a).
The procedure and acceptance limits described in IEC 61672:2013 (Parts 1 and 2) were used to
evaluate the time- and frequency-weighting filters [5, 6]. Moreover, ANSI/ASA S1.11-2014 (Part 1),
IEC 61260:1-2014, and IEC 61260:2-2016 standardized methods were used to evaluate one- and
one-third octave band-pass filters [20, 21], as seen in Figure 6 (b).
Computer Teensy 4.0
USB output PCM USB input
audio
60
0 2 4 6 8 10 12 14 16 18 20
Time [s]
Figure 7: Decay curves for time-weighing filters and rates Slow and Fast).
Normalized level
-20
-10
-40
-20
-60 -30
Teensy
Class 1 Mask
-80 -40
101 102 103 104 101 102 103 104
Frequency [Hz] Frequency [Hz]
Figure 8: Frequency response of the Frequency-weighting filters and Class 1 acceptance limits.
-5 -5 -5 -5
Filter response
Filter response
-15 -15 -15 -15 Class 0 mask
Class 0 mask
Class 1 mask
Class 1 mask
Class 2 mask
Class 2 mask
-20 -20 -20 -20
102 102 103 103 104 104
562 562 750 750 1000 1000 1334 1334 1778 1778
Frequency [Hz] [Hz] Frequency [Hz] [Hz]
Frequency
Frequency
(b) Class
(b) 1Class
validation of 1/1 octave
1 validation filter filter
of 1/1 octave
(a) All 1/1 octave
(a) All filters
1/1 octave plotted
filters together.
plotted together.
(a) All 1/1 octave filters plotted together. (b) Class 1 validation
with mid-band
with ofof1/1
frequency
mid-band octave
of 1 kHz.filter with
1 kHz.
frequency
mid-band frequency of 1 kHz.
1/1 1/1
octave
octave
filter
filter
validation:
validation:
fm =fm15.5
= 15.5
Hz Hz 1/1 1/1
octave
octave
filter
filter
validation:
validation:
fm =fm31.5
= 31.5
Hz Hz
0 0 0 0
Normalized level [dB ref. 1]
Normalized level [dB ref. 1]
-5 -5 -5 -5
FilterFilter
response
response FilterFilter
response
response
-15 -15 ClassClass
0 mask0 mask -15 -15 ClassClass
0 mask0 mask
ClassClass
1 mask1 mask ClassClass
1 mask1 mask
ClassClass
2 mask2 mask ClassClass
2 mask2 mask
-20 -20 -20 -20
9 9 12 12 16 16 21 21 28 28 18 18 24 24 32 32 42 42 56 56
Frequency
Frequency
[Hz][Hz] Frequency
Frequency
[Hz][Hz]
(c) (c)
Class
Class
1 validation
1 validation
of 1/1
of 1/1
octave
octave
filter
filter (d) (d)
Class
Class
1 validation
1 validation
of 1/1
of 1/1
octave
octave
filter
filter
(c) Class 1with
validation
with
mid-band of
mid-band 1/1 octave
frequency
frequency
of 15.5filter
Hz.Hz.with
of 15.5 (d) Class
with 1mid-band
with validation
mid-band of 1/1
frequency
frequency octave
of 31.5
of 31.5 filter with
Hz.Hz.
mid-band frequency of 15.5 Hz. mid-band frequency of 31.5 Hz.
1/1 1/1
octave
octave
filter
filter
validation:
validation:
fm =fm62.5
= 62.5
Hz Hz 1/1 1/1
octave
octave
filter
filter
validation:
validation:
fm =fm125
= 125
Hz Hz
0 0 0 0
Normalized level [dB ref. 1]
Normalized level [dB ref. 1]
-5 -5 -5 -5
FilterFilter
response
response FilterFilter
response
response
-15 -15 ClassClass
0 mask0 mask -15 -15 ClassClass
0 mask0 mask
ClassClass
1 mask1 mask ClassClass
1 mask1 mask
ClassClass
2 mask2 mask ClassClass
2 mask2 mask
-20 -20 -20 -20
35 35 47 47 63 63 83 83 111 111 70 70 94 94 125 125 167 167 222 222
Frequency
Frequency
[Hz][Hz] Frequency
Frequency
[Hz][Hz]
(e) (e)
Class
Class
1 validation
1 validation
of 1/1
of 1/1
octave
octave
filter
filter (f) (f)
Class
Class
1 validation
1 validation
of 1/1
of 1/1
octave
octave
filter
filter
(e) Class 1with
validation
with
mid-band of
mid-band 1/1 octave
frequency
frequency
of 62.5filter
Hz.Hz.with
of 62.5 (f) Class
with1mid-band
validation
with mid-band of 1/1
frequency
frequency octave
of 125
of 125 filter with
Hz.Hz.
mid-band frequency of 62.5 Hz. mid-band frequency of 125 Hz.
Figure 9: Frequency response of the Sipeed microphone, pictures of the prototype components, and the fully
assembled prototype [1/2].
Filter response
Filter response Filter response
Filter response
-15 -15 Class 0 mask
Class 0 mask -15 -15 Class 0 mask
Class 0 mask
Class 1 mask
Class 1 mask Class 1 mask
Class 1 mask
Class 2 mask
Class 2 mask Class 2 mask
Class 2 mask
-20 -20 -20 -20
141 141 187 187 250 250 333 333 445 445 281 281 375 375 500 500 667 667 889 889
Frequency
Frequency
[Hz] [Hz] Frequency
Frequency
[Hz] [Hz]
(g) Class
(g) 1Class
validation
1 validation
of 1/1 of
octave
1/1 octave
filter filter (h) Class
(h) 1Class
validation
1 validation
of 1/1 of
octave
1/1 octave
filter filter
(g) Class 1 with
validation
mid-bandof 1/1frequency
with mid-band octave
frequency filter
of 250of
Hz. with
250 Hz. (h) Class 1 validation
with mid-band
with mid-band
frequencyofof1/1
frequency octave
500of 500 Hz.filter with
Hz.
mid-band frequency of 250 Hz. mid-band frequency of 500 Hz.
1/1 octave filter validation: f = 2 kHz 1/1 octave filter validation: fm = 4 kHz
1/1 octave filter validation: fm = 2 kHzm 1/1 octave filter validation: fm = 4 kHz
0 0
Normalized level [dB ref. 1]
Filter response
Filter response Filter response Filter response
-15 -15 Class 0 maskClass 0 mask -15 -15 Class 0 mask Class 0 mask
Class 1 maskClass 1 mask Class 1 mask Class 1 mask
Class 2 maskClass 2 mask Class 2 mask Class 2 mask
-20 -20 -20 -20
1125 11251500 15002000 2000
2667 2667
3557 3557 2249 2249
3000 3000
4000 4000
5334 5334
7113 7113
FrequencyFrequency
[Hz] [Hz] Frequency [Hz]
Frequency [Hz]
(i) Class(i)1 Class 1 validation
validation of 1/1filter
of 1/1 octave octave filter (j) Class 1ofvalidation
(j) Class 1 validation 1/1 octaveoffilter
1/1 octave filter
(i) Class 1with
validation
mid-band of 1/1frequency
frequency
with mid-band octave filter
of 2 kHz.of with
2 kHz. (j) Class
with 1 validation
mid-band
withfrequency 4of 1/1 octave
mid-bandoffrequency
kHz. of 4 kHz.filter with
mid-band frequency of 2 kHz. mid-band frequency of 4 kHz.
1/1 octave
1/1 octave
filter validation:
filter validation:
fm = 8 kHz
fm = 8 kHz 1/1 octave
1/1 octave
filter validation:
filter validation:
fm = 16fm
kHz
= 16 kHz
0 0 0 0
Normalized level [dB ref. 1]
-5 -5 -5 -5
Filter response
Filter response Filter response
Filter response
-15 -15 Class 0 mask
Class 0 mask -15 -15 Class 0 mask
Class 0 mask
Class 1 mask
Class 1 mask Class 1 mask
Class 1 mask
Class 2 mask
Class 2 mask Class 2 mask
Class 2 mask
-20 -20 -20 -20
4499 4499 5999 5999 8000 8000 10668 1066814226 14226 8997 8997 11998 1199816000 1600021336 2133628452 28452
Frequency
Frequency
[Hz] [Hz] Frequency
Frequency
[Hz] [Hz]
(k) Class
(k) 1Class
validation
1 validation
of 1/1 of
octave
1/1 octave
filter filter (l) Class
(l) 1Class
validation
1 validation
of 1/1 of
octave
1/1 octave
filter filter
(k) Class 1 validation
with mid-band offrequency
with mid-band1/1frequency
octave filter
of 8 kHz. with
of 8 kHz. (l) Class 1 validation
with mid-band
with mid-band
frequencyofof1/1
frequency octave
16 kHz.
of 16 kHz.filter with
mid-band frequency of 8 kHz. mid-band frequency of 16 kHz.
Figure 9: Frequency response of the Sipeed microphone, pictures of the prototype components, and the fully
assembled prototype [2/2].
Frequency
Frequency
response
response
for 1/3 for
octave
1/3 octave
band-pass
band-pass
filters filters 1/3 octave
1/3 octave
filter validation:
filter validation:
fm = 1 kHz
fm = 1 kHz
0 0 0 0
Normalized Level [dB ref. 1]
-5 -5 -5 -5
Filter response
Filter response
-15 -15 -15 -15 Class 0 mask
Class 0 mask
Class 1 mask
Class 1 mask
Class 2 mask
Class 2 mask
-20 -20 -20 -20
102 102 103 103 104 104 794 794 1000 1000 1259 1259
Frequency
Frequency
[Hz] [Hz] Frequency
Frequency
[Hz] [Hz]
(b) Class
(b) 1Class
validation
1 validation
of 1/3 of
octave
1/3 octave
filter filter
(a) All (a)
1/3Alloctave
(a)
1/3All
octave
1/3 octave
filtersplotted
filters filters
plottedplotted
together.
together.
together. (b) Class 1 validation
with mid-band
with mid-band ofof1/3
frequency
frequency octave
of 1 kHz.filter with
1 kHz.
mid-band frequency of 1 kHz.
Figure 10: Frequency responses and validations according to ANSI/IEC masks for 1/3-octave band-pass filters
[1/5].
FilterFilter
response
response FilterFilter
response
response
-15 -15 ClassClass
0 mask0 mask -15 -15 ClassClass
0 mask0 mask
ClassClass
1 mask1 mask ClassClass
1 mask1 mask
ClassClass
2 mask2 mask ClassClass
2 mask2 mask
-20 -20 -20 -20
12 12 16 16 20 20 16 16 20 20 25 25
Frequency
Frequency
[Hz][Hz] Frequency
Frequency
[Hz][Hz]
(c) (c)
Class
Class
1 validation
1 validation
of 1/3
of 1/3
octave
octave
filter
filter (d) (d)
Class
Class
1 validation
1 validation
of 1/3
of 1/3
octave
octave
filter
filter
(c) Class 1with
validation
with
mid-band of
mid-band 1/3 octave
frequency
frequency
of 15.5filter
Hz.Hz.with
of 15.5 (d) Class
with1mid-band
validation
with mid-band of 1/3
frequency
frequency octave
of 20 Hz.Hz.filter with
of 20
mid-band frequency of 15.5 Hz. mid-band frequency of 20 Hz.
1/3 1/3
octave
octave
filter
filter
validation:
validation:
fm =fm25= Hz
25 Hz 1/3 1/3
octave
octave
filter
filter
validation:
validation:
fm =fm31.5
= 31.5
Hz Hz
0 0 0 0
Normalized level [dB ref. 1]
Normalized level [dB ref. 1]
FilterFilter
response
response FilterFilter
response
response
-15 -15 ClassClass
0 mask0 mask -15 -15 ClassClass
0 mask0 mask
ClassClass
1 mask1 mask ClassClass
1 mask1 mask
ClassClass
2 mask2 mask ClassClass
2 mask2 mask
-20 -20 -20 -20
20 20 25 25 31 31 25 25 32 32 40 40
Frequency
Frequency
[Hz][Hz] Frequency
Frequency
[Hz][Hz]
(e) (e)
Class
Class
1 validation
1 validation
of 1/3
of 1/3
octave
octave
filter
filter (f) (f)
Class
Class
1 validation
1 validation
of 1/3
of 1/3
octave
octave
filter
filter
(e) Class 1 with
validation
with
mid-bandoffrequency
mid-band 1/3 octave
frequency of filter
of 25 Hz.Hz.with
25 (f) Class
with 1mid-band
withvalidation
mid-band of 1/3
frequency
frequency octave
of 31.5
of 31.5 filter with
Hz.Hz.
mid-band frequency of 25 Hz. mid-band frequency of 31.5 Hz.
1/3 1/3
octave
octave
filter
filter
validation:
validation:
fm =fm40= Hz
40 Hz 1/3 1/3
octave
octave
filter
filter
validation:
validation:
fm =fm50= Hz
50 Hz
0 0 0 0
Normalized level [dB ref. 1]
Normalized level [dB ref. 1]
-5 -5 -5 -5
FilterFilter
response
response FilterFilter
response
response
-15 -15 ClassClass
0 mask0 mask -15 -15 ClassClass
0 mask0 mask
ClassClass
1 mask1 mask ClassClass
1 mask1 mask
ClassClass
2 mask2 mask ClassClass
2 mask2 mask
-20 -20 -20 -20
32 32 40 40 50 50 40 40 50 50 63 63
Frequency
Frequency
[Hz][Hz] Frequency
Frequency
[Hz][Hz]
(g) (g)
Class
Class
1 validation
1 validation
of 1/3
of 1/3
octave
octave
filter
filter (h) (h)
Class
Class
1 validation
1 validation
of 1/3
of 1/3
octave
octave
filter
filter
(g) Class 1 with
validation
with
mid-bandoffrequency
mid-band 1/3 octave
frequency of filter
of 40 Hz.Hz.with
40 (h) Class
with1mid-band
validation
with mid-band of 1/3
frequency
frequency octave
of 50 Hz.Hz.filter with
of 50
mid-band frequency of 40 Hz. mid-band frequency of 50 Hz.
1/3 1/3
octave
octave
filter
filter
validation:
validation:
fm =fm62.5
= 62.5
Hz Hz 1/3 1/3
octave
octave
filter
filter
validation:
validation:
fm =fm80= Hz
80 Hz
0 0 0 0
Normalized level [dB ref. 1]
Normalized level [dB ref. 1]
-5 -5 -5 -5
FilterFilter
response
response FilterFilter
response
response
-15 -15 ClassClass
0 mask0 mask -15 -15 ClassClass
0 mask0 mask
ClassClass
1 mask1 mask ClassClass
1 mask1 mask
ClassClass
2 mask2 mask ClassClass
2 mask2 mask
-20 -20 -20 -20
50 50 63 63 79 79 64 64 80 80 101 101
Frequency
Frequency
[Hz][Hz] Frequency
Frequency
[Hz][Hz]
(i) Class
(i) Class
1 validation
1 validation
of 1/3
of 1/3
octave
octave
filter
filter (j) Class
(j) Class
1 validation
1 validation
of 1/3
of 1/3
octave
octave
filter
filter
(i) Class 1 with
validation
with
mid-bandof
mid-band 1/3 octave
frequency
frequency filter
of 62.5 Hz.Hz.with
of 62.5 (j) Class 1mid-band
with validation
with mid-band of 1/3
frequency of octave
frequency 80 Hz.Hz.filter with
of 80
mid-band frequency of 62.5 Hz. mid-band frequency of 80 Hz.
Figure 10: Frequency responses and validations according to ANSI/IEC masks for 1/3-octave band-pass filters
[2/5].
FilterFilter
response
response FilterFilter
response
response
-15 -15 ClassClass
0 mask0 mask -15 -15 ClassClass
0 mask0 mask
ClassClass
1 mask1 mask ClassClass
1 mask1 mask
ClassClass
2 mask2 mask ClassClass
2 mask2 mask
-20 -20 -20 -20
79 79 100 100 126 126 99 99 125 125 157 157
Frequency
Frequency
[Hz][Hz] Frequency
Frequency
[Hz][Hz]
(k) (k)
Class
Class
1 validation
1 validation
of 1/3
of 1/3
octave
octave
filter
filter (l) Class
(l) Class
1 validation
1 validation
of 1/3
of 1/3
octave
octave
filter
filter
(k) Class 1with
validation
with
mid-bandof
mid-band 1/3 octave
frequency
frequency
of 100filter
Hz.Hz.with
of 100 (l) Class
with1mid-band
validation
with mid-band of 1/3
frequency
frequency octave
of 125
of 125 filter with
Hz.Hz.
mid-band frequency of 100 Hz. mid-band frequency of 125 Hz.
1/3 1/3
octave
octave
filter
filter
validation:
validation:
fm =fm155
= 155
Hz Hz 1/3 1/3
octave
octave
filter
filter
validation:
validation:
fm =fm200
= 200
Hz Hz
0 0 0 0
Normalized level [dB ref. 1]
Normalized level [dB ref. 1]
FilterFilter
response
response FilterFilter
response
response
-15 -15 ClassClass
0 mask0 mask -15 -15 ClassClass
0 mask0 mask
ClassClass
1 mask1 mask ClassClass
1 mask1 mask
ClassClass
2 mask2 mask ClassClass
2 mask2 mask
-20 -20 -20 -20
123 123 155 155 195 195 159 159 200 200 252 252
Frequency
Frequency
[Hz][Hz] Frequency
Frequency
[Hz][Hz]
(m)(m)
Class
Class
1 validation
1 validation
of 1/3
of 1/3
octave
octave
filter
filter (n) (n)
Class
Class
1 validation
1 validation
of 1/3
of 1/3
octave
octave
filter
filter
(m) Class 1with
validation
with
mid-band of
mid-band 1/3 octave
frequency
frequency
of 155 filter
Hz.Hz.with
of 155 (n) Class
with 1mid-band
withvalidation
mid-band of 1/3
frequency
frequency octave
of 200
of Hz.Hz.filter with
200
mid-band frequency of 155 Hz. mid-band frequency of 200 Hz.
1/3 1/3
octave
octave
filter
filter
validation:
validation:
fm =fm250
= 250
Hz Hz 1/3 1/3
octave
octave
filter
filter
validation:
validation:
fm =fm315
= 315
Hz Hz
0 0 0 0
Normalized level [dB ref. 1]
Normalized level [dB ref. 1]
-5 -5 -5 -5
FilterFilter
response
response FilterFilter
response
response
-15 -15 ClassClass
0 mask0 mask -15 -15 ClassClass
0 mask0 mask
ClassClass
1 mask1 mask ClassClass
1 mask1 mask
ClassClass
2 mask2 mask ClassClass
2 mask2 mask
-20 -20 -20 -20
199 199 250 250 315 315 250 250 315 315 397 397
Frequency
Frequency
[Hz][Hz] Frequency
Frequency
[Hz][Hz]
(o) (o)
Class
Class
1 validation
1 validation
of 1/3
of 1/3
octave
octave
filter
filter (p) (p)
Class
Class
1 validation
1 validation
of 1/3
of 1/3
octave
octave
filter
filter
(o) Class 1with
validation
with
mid-bandof
mid-band 1/3 octave
frequency
frequency
of 250filter
Hz.Hz.with
of 250 (p) Class
with 1mid-band
withvalidation
mid-band of 1/3
frequency
frequency octave
of 315
of Hz.Hz.filter with
315
mid-band frequency of 250 Hz. mid-band frequency of 315 Hz.
1/3 1/3
octave
octave
filter
filter
validation:
validation:
fm =fm400
= 400
Hz Hz 1/3 1/3
octave
octave
filter
filter
validation:
validation:
fm =fm500
= 500
Hz Hz
0 0 0 0
Normalized level [dB ref. 1]
Normalized level [dB ref. 1]
-5 -5 -5 -5
FilterFilter
response
response FilterFilter
response
response
-15 -15 ClassClass
0 mask0 mask -15 -15 ClassClass
0 mask0 mask
ClassClass
1 mask1 mask ClassClass
1 mask1 mask
ClassClass
2 mask2 mask ClassClass
2 mask2 mask
-20 -20 -20 -20
318 318 400 400 504 504 397 397 500 500 629 629
Frequency
Frequency
[Hz][Hz] Frequency
Frequency
[Hz][Hz]
(q) (q)
Class
Class
1 validation
1 validation
of 1/3
of 1/3
octave
octave
filter
filter (r) (r)
Class
Class
1 validation
1 validation
of 1/3
of 1/3
octave
octave
filter
filter
(q) Class 1with
validation
with
mid-bandof
mid-band 1/3 octave
frequency
frequency
of 400filter
Hz.Hz.with
of 400 (r) Class
with1mid-band
validation
with mid-band of 1/3
frequency
frequency octave
of 500
of 500 filter with
Hz.Hz.
mid-band frequency of 400 Hz. mid-band frequency of 500 Hz.
Figure 10: Frequency responses and validations according to ANSI/IEC masks for 1/3-octave band-pass filters
[3/5].
FilterFilter
response
response FilterFilter
response
response
-15 -15 ClassClass
0 mask0 mask -15 -15 ClassClass
0 mask0 mask
ClassClass
1 mask1 mask ClassClass
1 mask1 mask
ClassClass
2 mask2 mask ClassClass
2 mask2 mask
-20 -20 -20 -20
500 500 630 630 793 793 635 635 800 800 10071007
Frequency
Frequency
[Hz][Hz] Frequency
Frequency
[Hz][Hz]
(s) (s)
Class
Class
1 validation
1 validation
of 1/3
of 1/3
octave
octave
filter
filter (t) Class
(t) Class
1 validation
1 validation
of 1/3
of 1/3
octave
octave
filter
filter
(s) Class 1 with
validation
with
mid-bandof
mid-band 1/3 octave
frequency
frequency
of 630filter
Hz.Hz.with
of 630 (t) Class
with1mid-band
validation
with mid-band of 1/3
frequency
frequency octave
of 800
of 800 filter with
Hz.Hz.
mid-band frequency of 630 Hz. mid-band frequency of 800 Hz.
1/3 1/3
octave
octave
filter
filter
validation:
validation:
fm =fm1.25
= 1.25
kHzkHz 1/3 1/3
octave
octave
filter
filter
validation:
validation:
fm =fm1.6
= 1.6
kHzkHz
0 0 0 0
Normalized level [dB ref. 1]
Normalized level [dB ref. 1]
FilterFilter
response
response FilterFilter
response
response
-15 -15 ClassClass
0 mask0 mask -15 -15 ClassClass
0 mask0 mask
ClassClass
1 mask1 mask ClassClass
1 mask1 mask
ClassClass
2 mask2 mask ClassClass
2 mask2 mask
-20 -20 -20 -20
993 993 12501250 15741574 12711271 16001600 20142014
Frequency
Frequency
[Hz][Hz] Frequency
Frequency
[Hz][Hz]
(u) (u)
Class
Class
1 validation
1 validation
of 1/3
of 1/3
octave
octave
filter
filter (v) (v)
Class
Class
1 validation
1 validation
of 1/3
of 1/3
octave
octave
filter
filter
(u) Class 1with
validation
with
mid-band of frequency
mid-band 1/3 octave
frequency of 1.25 filter
of 1.25
kHz. with
kHz. (v) Class
with 1mid-band
with validation
mid-band of 1/3
frequency
frequency octave
of 1.6
of 1.6
kHz. filter with
kHz.
mid-band frequency of 1.25 kHz. mid-band frequency of 1.6 kHz.
1/3 1/3
octave
octave
filter
filter
validation:
validation:
fm =fm2 =kHz
2 kHz 1/3 1/3
octave
octave
filter
filter
validation:
validation:
fm =fm2.5
= 2.5
kHzkHz
0 0 0 0
Normalized level [dB ref. 1]
Normalized level [dB ref. 1]
-5 -5 -5 -5
FilterFilter
response
response FilterFilter
response
response
-15 -15 ClassClass
0 mask0 mask -15 -15 ClassClass
0 mask0 mask
ClassClass
1 mask1 mask ClassClass
1 mask1 mask
ClassClass
2 mask2 mask ClassClass
2 mask2 mask
-20 -20 -20 -20
15891589 20002000 25182518 19861986 25002500 31473147
Frequency
Frequency
[Hz][Hz] Frequency
Frequency
[Hz][Hz]
(w)(w)
Class
Class
1 validation
1 validation
of 1/3
of 1/3
octave
octave
filter
filter (x) (x)
Class
Class
1 validation
1 validation
of 1/3
of 1/3
octave
octave
filter
filter
(w) Class 1 with
validation
with
mid-bandof
mid-band 1/3 octave
frequency
frequency 2filter
of 2ofkHz.kHz. with (x) Class
with 1mid-band
with validation
mid-band of 1/3
frequency
frequency octave
of 2.5
of 2.5
kHz. filter with
kHz.
mid-band frequency of 2 kHz. mid-band frequency of 2.5 kHz.
1/3 1/3
octave
octave
filter
filter
validation:
validation:
fm =fm3.15
= 3.15
kHzkHz 1/3 1/3
octave
octave
filter
filter
validation:
validation:
fm =fm4 =kHz
4 kHz
0 0 0 0
Normalized level [dB ref. 1]
Normalized level [dB ref. 1]
-5 -5 -5 -5
FilterFilter
response
response FilterFilter
response
response
-15 -15 ClassClass
0 mask0 mask -15 -15 ClassClass
0 mask0 mask
ClassClass
1 mask1 mask ClassClass
1 mask1 mask
ClassClass
2 mask2 mask ClassClass
2 mask2 mask
-20 -20 -20 -20
25022502 31503150 39663966 31773177 40004000 50365036
Frequency
Frequency
[Hz][Hz] Frequency
Frequency
[Hz][Hz]
(y) (y)
Class
Class
1 validation
1 validation
of 1/3
of 1/3
octave
octave
filter
filter (z) (z)
Class
Class
1 validation
1 validation
of 1/3
of 1/3
octave
octave
filter
filter
(y) Class 1with
validation
with
mid-band of frequency
mid-band 1/3 octave
frequency of 3.15 filter
of 3.15
kHz. with
kHz. (z) Class
with1mid-band
validation
with mid-band of 1/3
frequency of 4octave
frequency 4 kHz.filter with
ofkHz.
mid-band frequency of 3.15 kHz. mid-band frequency of 4 kHz.
Figure 10: Frequency responses and validations according to ANSI/IEC masks for 1/3-octave band-pass filters
[4/5].
FilterFilter
response
response FilterFilter
response
response
-15 -15 ClassClass
0 mask0 mask -15 -15 ClassClass
0 mask0 mask
ClassClass
1 mask1 mask ClassClass
1 mask1 mask
ClassClass
2 mask2 mask ClassClass
2 mask2 mask
-20 -20 -20 -20
39723972 50005000 62956295 50445044 63506350 79947994
Frequency
Frequency
[Hz][Hz] Frequency
Frequency
[Hz][Hz]
(aa)(aa)
Class
Class
1 validation
1 validation
of 1/3
of 1/3
octave
octave
filter
filter (bb)(bb)
Class
Class
1 validation
1 validation
of 1/3
of 1/3
octave
octave
filter
filter
(aa) Class 1with
validation
with
mid-bandof
mid-band 1/3 octave
frequency
frequency 5filter
of 5ofkHz.kHz. with (ab) Class
with 1 mid-band
with validation
mid-band of of
frequency 1/36.35
frequency ofoctave
6.35
kHz. filter with
kHz.
mid-band frequency of 5 kHz. mid-band frequency of 6.35 kHz.
1/3 1/3
octave
octave
filter
filter
validation:
validation:
fm =fm8 =kHz
8 kHz 1/3 1/3
octave
octave
filter
filter
validation:
validation:
fm =fm10= kHz
10 kHz
0 0 0 0
Normalized level [dB ref. 1]
Normalized level [dB ref. 1]
FilterFilter
response
response FilterFilter
response
response
-15 -15 ClassClass
0 mask0 mask -15 -15 ClassClass
0 mask0 mask
ClassClass
1 mask1 mask ClassClass
1 mask1 mask
ClassClass
2 mask2 mask ClassClass
2 mask2 mask
-20 -20 -20 -20
63556355 80008000 10071
10071 79437943 10000
10000 12589
12589
Frequency
Frequency
[Hz][Hz] Frequency
Frequency
[Hz][Hz]
(cc)(cc)
Class
Class
1 validation
1 validation
of 1/3
of 1/3
octave
octave
filter
filter (dd)(dd)
Class
Class
1 validation
1 validation
of 1/3
of 1/3
octave
octave
filter
filter
(ac) Class 1with
validation
with
mid-bandof
mid-band 1/3 octave
frequency
frequency 8filter
of 8ofkHz.kHz. with (ad) Class
with 1 validation
with
mid-band
mid-band of 1/3
frequency
frequency ofoctave
of 10 10 kHz.filter with
kHz.
mid-band frequency of 8 kHz. mid-band frequency of 10 kHz.
1/3 1/3
octave
octave
filter
filter
validation:
validation:
fm =fm12.5
= 12.5
kHzkHz 1/3 1/3
octave
octave
filter
filter
validation:
validation:
fm =fm16= kHz
16 kHz
0 0 0 0
Normalized level [dB ref. 1]
Normalized level [dB ref. 1]
-5 -5 -5 -5
FilterFilter
response
response FilterFilter
response
response
-15 -15 ClassClass
0 mask0 mask -15 -15 ClassClass
0 mask0 mask
ClassClass
1 mask1 mask ClassClass
1 mask1 mask
ClassClass
2 mask2 mask ClassClass
2 mask2 mask
-20 -20 -20 -20
99299929 12500
12500 15737
15737 12709
12709 16000
16000 20143
20143
Frequency
Frequency
[Hz][Hz] Frequency
Frequency
[Hz][Hz]
(ee)(ee)
Class
Class
1 validation
1 validation
of 1/3
of 1/3
octave
octave
filter
filter (ff)(ff)
Class
Class
1 validation
1 validation
of 1/3
of 1/3
octave
octave
filter
filter
(ae) Class 1with
validation
with
mid-band offrequency
mid-band 1/3 octave
frequency of 12.5 filter
of 12.5 kHz.with
kHz. (af) Class
with 1 validation
with
mid-band
mid-band of 1/3
frequency
frequency octave
of 16
of 16 kHz.filter with
kHz.
mid-band frequency of 12.5 kHz. mid-band frequency of 16 kHz.
1/3 octave filter validation: fm = 20 kHz
0
Normalized level [dB ref. 1]
-5
-10
Filter response
-15 Class 0 mask
Class 1 mask
Class 2 mask
-20
15887 20000 25179
Frequency [Hz]
(gg) Class 1 validation of 1/3 octave filter
(ag) Class 1 validation of with
1/3 octave
mid-bandfilter withofmid-band
frequency 20 kHz. frequency of 20 kHz.
Figure 10: Frequency responses and validations according to ANSI/IEC masks for 1/3-octave band-pass filters
[5/5].
-0.5 -0.5
-1.0 -1.0
-1.5 -1.5
-2.0 -2.0
1 kHz
-2.5 -2.5 Class 1 mask
Class 2 mask
-3.0 -3.0
16 20 25 32 40 50 63 80 850 875 900 925 950 975 1000 1025 1050 1075 1100 1125 1150
Frequency [Hz] Frequency [Hz]
(ah) 1/3-octave bands: {15 – 63} Hz. (ai) 1/3-octave band: 1 kHz.
Figure 11: 1/3 Octave bands test with 30 runs: mean and confidence intervals (shaded area) for 99.73%.
5. PERFORMANCE TESTS
This section describes the tests conducted to evaluate prototype performance. Initially, the system’s
power consumption was measured and used to calculate the battery capacity necessary for one week of
continuous operation. As a second step, the CPU consumption by the program was estimated using a
built-in function from Teensy Audio Library. To follow, a comparison was carried out against the B&K
Class 1 SLM Type 2240, evaluating SPL and Leq , considering acoustic testing. Finally, the prototype
was assembled and used for noise monitoring over long periods (30 minutes, 1 hour, and 8 hours). Four
distinct soundscapes were considered. From the field tested cases the device proved to be stable and
reliable.
5.1. Power and CPU consumption
A USB digital power meter with a precision of 0.01 V and 0.01 A (USB digital tester J7-C) was
used to verify the power consumption of the system. All measurements were held with the prototype
connected to a computer with five minutes duration and five different configurations. Teensy was set to
run at 600 MHz and 150 MHz, and an estimation of the CPU consumption was calculated using the
Audio Library built-in function AudioProcessorUsageMax(). The results in Table 3 show that Teensy
maintains around the same consumption for all configurations.
With a clock speed of 150 MHz, it is possible to reduce the current consumption to 40 mA while
still running the firmware. This setup was considered in order to estimate the battery capacity required
to power the system during an entire week. The formula C = xT was used, where C is the battery
capacity (mAh), x the current drawn (mA), and T the intended period in hours. Considering that a
week has around 168 hours and including a 20% margin, the device draws 40 mA and the battery
capacity should be at least 8000 mAh.
Table 3: Power consumption and CPU load of the system for five configurations.
Configuration @ 600 MHz Voltage (V) Current (mA) Load resistance (Ω) Power (W) CPU (%)
Configuration @ 150 MHz Voltage (V) Current (mA) Load resistance (Ω) Power (W) CPU (%)
4
2
2
0 0
-2 -2
-4 -4
Error Error1 Limits
Class Class 1 Class
Limits2 Limits
Class 2 ±0.5
Limits
dB ±0.5 dB
-6 -6
SD SD
cardcard Display
Display 100 100
200 200
400 400
1000 1000
2500 2500
6350 6350
12500 12500
FrequencyFrequency
[Hz] [Hz]
(a) Illustration
(b)error
(b) Mean Mean error between
between the prototype
the prototype and Typeand Type 2240
2240
(a) Illustration ofof the
(a) Illustrationthe
oftest
testbench
the test used used
bench
bench for comparison
used for tests. tests.
forcomparison
comparison (b) for
Measurement
flat for
noise noiseerror
flatfiltered in 1/3 between
octave
filtered thebands.
and
in 1/3bands.
octave prototype
tests. Type 2240 for flat noise filtered in 1/3 octave bands.
3
Since the Type 2240 has a frequency range from 8 Hz to 16 kHz, a low-pass filter with a cut-off frequency of 16 kHz
was applied to the prototype algorithm prior to the SPL calculations in order to guarantee a fair comparison. The free-field
microphone correction was also removed from both systems.
4
Peak is different from the maximum sound level. For peak, neither time-weighting nor RMS averaging occurred. It is
the true peak of the sound pressure.
doi: 10.3397/IN-2021-2557. Page 17 of 22
Mean LAeq for flat noise filtered in 1/3 octave bands L
Aeq
for flat noise filtered in 1/1 octave bands
96 Mean LAeq for flat noise filtered in 1/3 octave bands 96 LAeq for flat noise filtered in 1/1 octave bands
96 96
94 94
LAeq [dB ref. 20 µPa]
µPa]
94 94
LAeq [dB ref. 20 µPa]
ref.2020µPa]
92 92
92 92
90 90 90
[dBref.
90
LLAeq [dB
88 88 88
88
Aeq
86 86 LAeq LAeq
86
86 LAeq LAeq
LAeq LAeq Class
Class11limits
limits Class
Class 22 limits
limits LAeq LAeq Class
Class 1 limits ClassClass
1 limits 2 limits
2 limits
prototype
prototype 2240
2240 prototype
prototype 22402240
84 84 84
84
100100 200200 400
400 1000
1000 2500
2500 6350
6350 12500
12500 125
125 250
250 500
500 1000 2000
1000 2000 40004000 80008000
Frequency
Frequency[Hz]
[Hz] Frequency
Frequency [Hz]
[Hz]
(c)(c) Mean (d)
(d)LL values
valuesmeasured
measuredbyby
thethe
prototype andand
prototype Type 2240
Type 2240
(c) Mean
Mean LLAeq
LAeq valuesmeasured
values measuredby bythe
theprototype
prototype and
Aeq values measured by the prototype and
and Type 2240
2240 Aeq
Aeqvalues measured by the prototype and Type
(d) LAeq
for
forflat
flatnoise
noisefiltered in in
1/11/1
octave bands.
for
for flat
flat noisefiltered
noise filteredinin1/3
1/3octave
octavebands
bands (3
Type 2250 for flat noise filtered in 1/3 octave bands (3 (3 runs).
2250 for flat noisefiltered
filtered inoctave bands.
1/1 octave bands.
runs).
µPa]
94.5 94.6
100
SPL [dB ref. 20 µPa]
ref.2020µPa]
94.5 94.6
100 90 88.5 88.6
88.3 88.4
90.4 90.5 90 82.5 82.6
88.5 88.6
90.4 90.5
88.3 88.4
80
80 76.5 76.6
82.5 82.6
70
70
70.4 70.6
SPL[dB
64.6 64.7
64.6 64.7
60 60 60
60
59.5 59.7
59.5 59.7
SPL
50
50
40 40 40
40
LAeq
LAeq LAFmax
L AFmax
LLCpeak
Cpeak
11 22 3 3 4 4 5 5 6 6 7 7
Measurement
Measurement number
number
(e)(e)
SPL values
SPL valuesmeasured
measuredby
bythe
theprototype
prototype and
and Type 2240
2240
(e) SPL values
forfor
flatflat measured
noise
noise filtered by the
filteredbetween
between prototype
100
100 Hz and
Hz and 16 and Type
16 kHz. (f)(f)(f)LLAeq
LAeq values
valuesmeasured
measuredbyby
thethe
prototype andand
prototype Type
Aeqvalues measured by the prototype and Type
2240
Type 2240
for a acity
for citysoundscape
soundscaperecording (+6(+6
recording dBdB
every run).
every run).
2240 for flat noise filtered between 100 Hz and 16 kHz. 2240 for a city soundscape recording (+6 dB every
run).
LAFmax values for a city soundscape recording LCpeak values for a city soundscape recording
110 LAFmax values for a city soundscape recording 130 LCpeak values for a city soundscape recording
110 Prototype Type 2240 130 Prototype Type 2240
100 Prototype Type 2240 98.4 98.3 Prototype Type 2240 123.1123.4
SPL [dB ref. 20 µPa]
µPa]
µPa]
90
2020
117.5
86.9 86.9 116.5
81.0 81.0
80 111.6
ref.
110.7
70 72.3 72.6 72.7 73.0
75.0 75.0
110 105.8
70 104.9
SPL[dB
105.8
102.3102.1 102.4102.2 104.9
102.1101.9
60 100
102.1101.9 102.3102.1 102.4102.2
60
SPL
100
50
50
40 40 90
90
1 1 2 2 33 44 55 66 77 11 22 3 3 4 4 5 5 6 6 7 7
Measurement
Measurementnumber number Measurement
Measurement number
number
(g) L values measured by the prototype and Type 2240 (h) L values measured by the prototype and Type 2240
(g) L(g) LAFmax values measured by the prototype and Type 2240
AFmax
AFmax values measured by the prototype and Type (h)(h)LLCpeak
Cpeakvalues
Cpeak values measured by the prototype and Type 2240
measured by the prototype and Type
forfor
a city soundscape recording (+6 dB every run). fora acity
citysoundscape
soundscape recording
(+6(+6
dBdB every run).
2240 for aa city
city soundscape recording (+6 dB every
soundscape recording (+6 dB every 2240forfor recording
a city soundscape recordingevery run).
(+6 dB every
run). run).
Food court A-weighted noise levels Food court Z-weighted noise levels
Food court A-weighted noise levels Food court Z-weighted noise levels
90 90
90 90
SPL [dB ref. 20 µPa]
µPa]
SPL [dB ref. 20 µPa]
ref.2020µPa]
80 80
80 80
70 70 70
[dBref.
70
SPL[dB
60 60 60
60
SPL
50 50 76.176.1
dB dB 74.7
74.7dBdB 74.7 dB
74.7 dB 50
50 78.778.7
dB dB 77.5 dB
77.5 dB 77.5 dB 77.5 dB
LAFL LAeq,10min
L LAFmax
L ==93.7
93.7dB
dB LLAeq == 75.3
75.3 dB
dB LZF
LZF LZeq,10min L LZFmax
LZeq,10min = 93.8
= 93.8 dB dB LZeqL= = 78.1
78.1
Zeq dB dB
AF Aeq,10min AFmax Aeq ZFmax
40 40 40
40
0 0 5 5 1010 1515 20
20 25
25 29.7
29.7 00 55 1010 15 15 20 20 25 25 29.7 29.7
Time
Time[min]
[min] Time
Time [min]
[min]
(a) Foodcourt
courtA-weighted
A-weightednoise
noise levels
levels (b) Food
Foodcourt Z-weighted noise levels
(a) Food(a) Food
court A-weighted
between12:20
12:20pm
noise
pmand
and12:50
levels
12:50 pm.
pm.
between (b) Food(b)court
between
court Z-weighted
Z-weighted noise
noise levels between
levels
between between12:20
12:20pmpm
andand
12:50 pm.pm.
12:50
12:20 pm and 12:50 pm. 12:20 pm and 12:50 pm.
Food court C-weighted noise levels Food court noise levels comparison
Food court C-weighted noise levels Food court noise levels comparison
80 78.1 dB 77.9 dB 100 95.7 dB
90 80
75.3 dB
75.3 dB
78.1 dB 77.9 dB 100 93.7 dB 93.8 dB
95.7 dB
93.7 dB 93.8 dB
90
SPL [dB ref. 20 µPa]
µPa]
90
SPL [dB ref. 20 µPa]
ref.2020µPa]
90
80 60
80 60
80
80
70 70
[dBref.
40
40 70 70
SPL[dB
60 60
60 60
SPL
20
20
50 50 78.578.5
dB dB 77.2
77.2dBdB 77.2 dB
77.2 dB
LCFL
CF
LCeq,10min
LCeq,10min LCFmax
LCFmax
==93.7
93.7dB
dB LLCeq == 77.9
Ceq
77.9 dB
dB 50 50
40 40 00
0 0 5 5 1010 1515 20
20 25
25 29.7
29.7 LAeq L LZeq L LCeq
LAeq LAFmax
LAFmax LZFmax
LZFmax LCFmax
LCFmax
Zeq Ceq
Time
Time[min]
[min]
(c) Foodcourt
courtC-weighted
C-weightednoise
noise levels
levels
(c) Food(c) Food
court C-weighted
between12:20
12:20pm
pmand
noise
and12:50
levels
12:50 pm.
pm.
between (d)(d)
Food
(d)Foodcourt
Foodcourt frequency-weighted
courtfrequecy-weighted noise
frequecy-weighted levels
levels
noise comparison.
comparison.
levels comparison.
between
12:20 pm and 12:50 pm.
Figure 13: Sound pressure levels and Leq for four different noise monitoring scenarios [1/3].
µPa]
80 80
SPL [dB ref. 20 µPa]
ref.2020µPa]
80 80
70 70 70
70
[dBref.
60 60 60
60
SPL[dB
50 50 50
SPL
50
55.9 dB
55.9 dB 55.255.2
dB dB 54.9 dBdB
54.9 56.6 dBdB
56.6 56.0
56.0dB
dB 58.8 dB
58.8 dB 66.6
66.6 dB dB 64.464.4
dB dB 64.3 64.3
dB dB 69.0 dB
69.0 dB 64.4 dB64.4 dB 65.7 dB 65.7 dB
40 40 LAFL LAeq,10min
L LAFmax
L ==79.3
79.3dB
dB LLAeq == 55.8
55.8 dB
dB 40
40 LZF
LZF LZeq,10min L LZFmax
LZeq,10min = 89.9
= 89.9 dB dB LZeqL= = 66.0
66.0
Zeq dB dB
AF Aeq,10min AFmax Aeq ZFmax
Facade C-weighted noise levels (morning) Facade noise levels comparison (morning)
Facade C-weighted noise levels (morning) Facade noise levels comparison (morning)
90 66.0 dB 64.9 dB 89.9 dB
90 66.0 dB 64.9 dB 90 89.9 dB 89.3 dB
89.3 dB
SPL [dB ref. 20 µPa]
µPa]
60 55.8 dB 90
80
SPL [dB ref. 20 µPa]
ref.2020µPa]
60 55.8 dB
80 79.3 dB
80 79.3 dB
80
70 70
40
70 70
[dBref.
40
60 60
SPL[dB 20
60 60
50 50 20
SPL
50 50
65.6 dB
65.6 dB 62.762.7
dB dB 63.0 dBdB
63.0 68.1 dBdB
68.1 63.0
63.0dB
dB 64.9 dB
64.9 dB
40 40 LCFL LCeq,10min
L LCFmax
L ==89.2
89.2dB
dB LLCeq == 64.9
64.9 dB
dB
CF Ceq,10min CFmax Ceq
00 40 40
0 0 1010 2020 3030 40
40 50
50 60
60 LAeq L LZeq L LCeq
LAeq LAFmax
LAFmax LZFmax
LZFmax LCFmax
LCFmax
Zeq Ceq
Time
Time[min]
[min]
(g)(g)Facade
FacadeC-weighted
(g) Facade C-weighted C-weightednoise
noise noiselevels
levels levels
between 9:00 am (h)
(h)Facade
Facade
(h) Facade frequecy-weighted
frequecy-weighted
frequency-weighted noise levels
noise levels
noise levels
between9:00
between 9:00am
amand
and10:00
10:00 am.
am. comparison
comparison forfor
thethe
morning period.
morning period.
and 10:00 am. comparison for the morning period.
Facade A-weighted noise levels (evening) Facade Z-weighted noise levels (evening)
Facade A-weighted noise levels (evening) Facade Z-weighted noise levels (evening)
80 80
80 80
SPL [dB ref. 20 µPa]
µPa]
SPL [dB ref. 20 µPa]
ref.2020µPa]
70 70
70 70
60 60 60
60
[dBref.
50 50 50
SPL[dB
50
SPL
40 40 57.3 dB 58.458.4
dB dB 55.7 dBdB 55.3 dBdB 55.5
40
40
57.3 dB 55.7 55.3 55.5dB
dB 55.7 dB
55.7 dB 62.4 dB 62.4 dB
LAFL LAeq,10min
L LAFmax
L ==73.7
73.7dB
dB LLAeq == 56.5
56.5 dB
dB LZF
LZF LZeq,10min L LZFmax
LZeq,10min = 81.3
= 81.3 dB dB LZeqL= = 64.5
64.5 dB dB
30 30 AF Aeq,10min AFmax Aeq 30
30 ZFmax Zeq
Facade C-weighted noise levels (evening) Facade noise levels comparison (evening)
Facade C-weighted noise levels (evening) Facade noise levels comparison
90 (evening)
80 64.5 dB 63.7 dB 90 81.3 dB
80 64.5 dB 63.7 dB
80 81.3 dB
79.5 dB
60
SPL [dB ref. 20 µPa]
µPa]
56.5 dB 79.5 dB
60 80
SPL [dB ref. 20 µPa]
ref.2020µPa]
56.5 dB 73.7 dB
70 73.7 dB
70
70
70
60 60 40
40
[dBref.
60 60
50 50
SPL[dB
20 50 50
20
SPL
40 40 61.5 dB
40 40
61.5 dB
LCFL LCeq,10min
LCeq,10min LCFmax
L ==79.0
79.0dB
dB LLCeq == 63.7
63.7 dB
dB
30 30 CF CFmax Ceq
00
0 0 1010 2020 3030 40
40 50
50 60
60 LAeq L LZeq L LCeq
LAeq LAFmax
LAFmax LZFmax
LZFmax LCFmax
LCFmax
Zeq Ceq
Time
Time[min]
[min]
(k)(k)Facade
FacadeC-weighted
(k) Facade C-weighted C-weightednoise
noise noiselevels
levels levels
between 6:00 pm (l) Facade(l)frequency-weighted
(l)Facade
Facadefrequecy-weighted
frequecy-weighted noise
noise levels
noise levels
levels comparison
between6:00
between 6:00pm
pmand
and7:00
7:00pm.
pm. comparison
comparison forfor
thethe
evening period.
evening period.
and 7:00 pm. for the evening period.
Figure 13: Sound pressure levels and Leq for four different noise monitoring scenarios [2/3].
µPa]
80 80
SPL [dB ref. 20 µPa]
ref.2020µPa]
70 70
70 70
[dBref.
60 60 60
60
SPL[dB
50 50 50
50
SPL
51.4 dB
51.4 dB 49.9 49.9
dB dB 49.549.5
dB dB 45.4 dBdB
45.4 45.4 dBdB
45.4 45.8
45.8dB
dB 46.3
46.3 dB
dB 46.3 dB
46.3 dB 59.1
59.1 dBdB 57.857.8
dB dB 57.657.6
dB dB 55.6 55.6
dB dB 55.5 dB 55.8 dB
55.5 dB 55.8 dB 55.8 dB55.8 dB
55.8 dB 55.8 dB
40 40 40
40
LAFL LAeq,60min
L LAFmax
L ==83.0
83.0dB
dB LLAeq == 50.2
50.2 dB
dB LZF
LZF LZeq,60min L LZFmax
LZeq,60min = 86.5
= 86.5 dB dB LZeqL= = 58.2
58.2
Zeq dB dB
AF Aeq,60min AFmax Aeq ZFmax
0 0 120
120 240
240 360
360 474
474 00 120
120 240240 360360 474 474
Time
Time[min]
[min] Time
Time [min]
[min]
(m)
(m) BedroomA-weighted
Bedroom A-weightednoise
noise levels
levels (n)
(n)Bedroom
BedroomZ-weighted noise
Z-weighted levels
noise levels between
(m) Bedroom A-weighted
between10:25
10:25pm
noise
pmand
and6:18
levels
6:18 am.
am.
between (n) Bedroom Z-weighted
between
noise levels
between between10:25 pmpm
10:25 andand
6:18 am.am.
6:18
10:25 pm and 6:18 am. 10:25 pm and 6:18 am.
µPa]
50.2 dB 53.7 dB
80 83.0 dB
SPL [dB ref. 20 µPa]
ref.2020µPa]
50 50.2 dB
80
50 80
70
70 40
40 70
70
[dBref.
60 60 30
30
60 60
50 50 SPL[dB
SPL
20
20
54.5 dB 54.0 54.0
dB dB 53.553.5
dB dB 51.9 dBdB 51.8 dBdB 52.1
52.1dB 52.4
52.4 dB 52.4 dB 50 50
40 40 54.5 dB 51.9 51.8 dB dB 52.4 dB
10
10
LCFL LCeq,60min
L LCFmax
L ==86.5
86.5dB
dB LLCeq == 53.7
53.7 dB
dB
CF Ceq,60min CFmax Ceq 40 40
00
0 0 120
120 240
240 360
360 474
474 LAeq L LZeq L LCeq
LAeq LAFmax
LAFmax LZFmax
LZFmax LCFmax
LCFmax
Zeq Ceq
Time
Time[min]
[min]
(o)(o)Bedroom
(o) Bedroom BedroomC-weighted
C-weightednoise
C-weighted noisenoise levels
levels
levels between (p)Bedroom
Bedroom frequency-weighted noise levels
(p)
(p) Bedroomfrequecy-weighted noise
frequecy-weighted levels
noise comparison.
levels comparison.
between10:25
between 10:25pm
pmand
and6:18
6:18 am.
am.
10:25 pm and 6:18 am. comparison.
Figure 13: Sound pressure levels and Leq for four different noise monitoring scenarios [3/3].
6. CONCLUSION
This study presented a small embedded system based on a MEMS digital microphone and
Teensy microcontroller for applications in noise monitoring (or general SPL measurement).
Procedural/electrical testing revealed that the system fulfills Class 1 SLM weighting and filtering
IEC standards.
Acoustic test bench measurements with a calibrated Class 1 SLM led to spectral and overall
correction filter coefficients which achieved approximately the same SPL and Leq values as the Class 1
(although limited in frequency up to 12.5 kHz, in this case within Class 2 frequency range). After
the filtering, relative levels ranged ±0.5 dB, in general, which are exceptional results, given the
relatively small budget of the prototype. Finally, field measurements revealed adequate performance
with low power and CPU consumption, enabling long-term measurements (depending on the mobile
supply device). Further testing will be carried out in the laboratory when it is possible to return to
in-person activities. Moreover, support files for this project can be accessed via the GitHub repository
https://github.com/eac-ufsm/internoise2021-MEMS .
ACKNOWLEDGMENT
The authors want to thank all the support from the Acoustical Engineering Program at the Federal
University of Santa Maria (UFSM, Brazil), as well as its scholarship programs FIPE and FIEX, which
assisted this project. In special, the first author wants to acknowledge the Internoise 2021 for the grants
for students of Latin America and for electing this project as a winner. Thanks to Denison Oliveira and
Fernando Diaz from HBK/Brüel & Kjær for the support concerning the Type 2240. Finally, a special
thanks also to Joseph Lacey for the text proofreading.
[1] A. D. Pierce. Acoustics – An Introduction to Its Physical Principles and Applications. Springer
International Publishing, 2019. ISBN 978-3030112134. doi: 10.1007/978-3-030-11214-1.
[2] F. Jacobsen and P. M. Juhl. Fundamentals of General Linear Acoustics. Wiley, 2013.
[3] G. Müller and M. Möser. Handbook of Engineering Acoustics. Springer-Verlag Berlin Heidelberg,
Berlin, 2013. ISBN 978-3540240525. doi: 10.1007/978-3-540-69460-1.
[4] D. A. Bies, C. Hansen, and C. Howard. Engineering noise control. CRC press, 2017.
[5] IEC. Electroacoustics – Sound level meters – Part 1: Specifications. Standard IEC 61672-1:2013,
International Electrotechnical Commission, 2013. International standard.
[6] IEC. Electroacoustics – Sound level meters – Part 2: Pattern evaluation tests. Standard IEC 61672-
2:2013, International Electrotechnical Commission, 2013. International standard.
[7] HBK – Brüel & Kjær. Instrumentation: Sound Level Meter, 2021. URL https://www.bksv.com.
[8] S. Santini and A. Vitaletti. Wireless Sensor Networks for Environmental Noise Monitoring. In 6th
GI/ITG KuVS Fachgespraech Drahtlose Sensornetze, pages 98–101, Aachen, Germany, Jul. 2007.
[9] J. Farrés. Barcelona noise monitoring network. In EuroNoise 2015, Maastricht, NL, May 2015.
[10] E. Vidaña-Vila, J. Navarro, C. Borda-Fortuny, D. Stowell, and R. M. Alsina-Pagès. Low-cost distributed
acoustic sensor network for real-time urban sound monitoring. Electronics, 9(12):1–25, 2020. ISSN
2079-9292. doi: 10.3390/electronics9122119.
[11] P. Malcovati and A. Baschirotto. The evolution of integrated interfaces for MEMS microphones.
Micromachines, 9(7):1–20, n. 323, 2018. ISSN 2072-666X. doi: 10.3390/mi9070323.
[12] P. von Pflug and D. Krischker. Aspects of the use of MEMS microphones in phased array systems. In
Proceedings of Internoise 2017, Hong Kong, China, Aug. 2017. URL http://bit.ly/int2017-mems-array.
[13] Philips Semiconductors. I2S Bus Specification (Revised), 1996. Application note.
[14] Knowles. Sisonic design guide, 2017. Application Note (AN24).
[15] PJRC – P. J. Stoffregen. Teensy 4.0 Development Board, Teensy Audio Library, Audio System Design
Tool, & Creating New Audio Objects, 2021. URL https://www.pjrc.com.
[16] A. Z. Leão and W. D’A. Fonseca. Study of the system identification technique implemented in
Arduino Due and Teensy 3.6 microcontrollers (original: Estudo da técnica de identificação de sistemas
implementada em microcontroladores Arduino Due e Teensy 3.6). Acústica & Vibrações, 32(49):5–14,
2017. ISSN 1983-442X. URL http://bit.ly/teensy-av-2017.
[17] J. Lewis. Analog and Digital MEMS Microphone Design Considerations, 2013. Analog Devices,
Technical Article (MS-2472).
[18] MEMSensing Microsystems. MSM261S4030H0 – I2 S digital output mems mic. with multi modes
(datasheet), v 1.7, 2018.
[19] Cortex Microcontroller Software Interface Standard. CMSIS DSP Software Library, 2021.
[20] IEC. Electroacoustics – Octave-band and fractional-octave-band filters – Part 1: Specifications.
Standard IEC 61260-1:2014, International Electrotechnical Commission, 2014. International standard.
[21] IEC. Electroacoustics – Octave-band and fractional-octave-band filters – Part 2: Pattern-evaluation tests.
Standard IEC 61260-1:2016, International Electrotechnical Commission, 2016. International standard.
BibTeX file .