Hearing Aid System Using Matlab
Hearing Aid System Using Matlab
Hearing Aid System Using Matlab
MATLAB
Rahil Arora 17BEC0817 E-mail: [email protected]
Abstract: Traditional analog hearing aids look like a belong to the hearing aid associated with the hearing aid
simple radio. They can be adjusted for volume, bass and support, customer dissatisfaction with equipment is not
treble. But hearing loss is not just a loss of technical meet expectations and costs new digital versions of hearing
volume. Rather hear deficiency can increase sensitivity and aids Hearing protection is typically measured when moving
reduce tolerance to certain sounds while decreasing the auditory threshold relative to normal ears for some with
sensitivity to other. For example, digital technology can hearing loss. However, only a part use hearing aids. This is
make the difference between speech noise and background due to a number of factors that belong to the hearing aid
noise, allowing one while filtering the other. About 10% of associated with the hearing aid support, customers'
the world's population suffers from some type of hearing dissatisfaction with equipment is not meet expectations and
loss, but only a small percentage of this statistic uses a costs new digital versions of hearing aids . Hearing
hearing aid. Stigma associated with the wearing of a protection is usually measured when moving
hearing aid, customer dissatisfaction with the performance the auditory threshold compared to normal ears
of that device and The costs associated with a high-
performance solution are all causes of low market Classification of Hearing Loss
penetration. Through the With digital signal processing, the Hearing level
digital hearing aid now offers what the analog hearing aid
can not offer. It proposes the possibility of improving the Normal hearing- -10 dB – 26 dB
signal-to-noise ratio, the flexible treatment of the gain, the
reduction of return, etc. In this article the simulation of a mild hearing loss 27 dB - 40 dB
simple digital hearing aid has been developed using
MATLAB programming language. Setting up this
configurable digital hearing aid (DHA) The system Moderate hearing 40 dB - 70 dB
includes the noise reduction filter, the frequency shaping loss
function and the amplitude compression function. This
digital hearing system is designed to adapt to patients with severe hearing loss 70 dB - 90 dB
mild or moderate hearing loss since different gains can be
defined to map different levels of hearing loss. profound hearing 90dB
greater than loss
Keywords: Hearing aid, Gaussian Noise, Signal Table 1: Different degree of Hearing Loss
Processing, Fourier transform, Signal to Noise Ratio.
Basically, all hearing aids used analog technology for
I. Introduction sound processing. Improvements have been made using the
development of digital technology sound processing for the
Hearing aids are one of the most important problems for effectiveness of hearing aids. Nowadays, digital hearing
humans. They are a small electronic instrument that makes aids are small, which means can be hidden inside the ear
the sound louder and makes speech easier to hear and and have almost perfect sound reproduction. Research on
understand. The hearing aid is designed to capture sound digital hearing aids has been growth and now a small
waves with a tiny microphone, turn the weaker sounds into programmable computer are able to amplify millions of
louder sounds and send them to the ear by a small speaker. different sounds signals had been built into the devices,
With the microchips available today, hearing aids have improve the hearing ability of the hearing impaired
become smaller and their quality has improved people. The first digital hearing aids were launched in the
considerably. About 10% of the world's population bears mid-80s, but these early models were slightly not very
bears some with hearing loss. However, only part practical. Ten years later, the digital audience the helpers
use hearing aids. This is due to a number of factors that
were really successful, with small digital devices placed Noise Reducing Filter
inside or discreetly behind the ear. Today, digital Major anxiety for the hearing impaired is the ability of a
technology is really part of everyday. Most households hearing aid to differentiate speech signal in a noisy
have a variety of digital products, such as phones, video environment. Therefore, eliminate noise, a reduction filter
recorders and personal computers. Hearing aids were also function is used in this design. To suppress the noise in the
benefited from the emergence of digital technology. signal, The wavelet filtering function is used.
Among the advantages of digital signal processing
this allows hands-free use. Ugly automatically adjust the b. Frequency Shaper
volume and height on it's own. It makes thousands of
adjustments per second which causes a reduction of the A major complaint of hearing aid users is that the hearing
background noise, better listening in noisy situations, his aid amplifies all signals rather than the significant signal
quality and multiple settings of the program [4]. The user that they wish to hear. More hearing impaired has difficulty
can switch between the varieties of programs for different hearing loud frequency signal. Therefore, the formatting
listening situations. frequency is designed to correct hearing loss to some
frequencies. It applies a high gain for higher frequencies
and vice versa. The typical transfer function of the
II. Methodology frequency amplifier is shown in Figure 2.
Below is a block diagram for the MATLAB c. Amplitude Compression
implementation of Digital Hearing Aid System. The input
speech signal takes the form of human voice. The input Basically, the amplitude compression function is the task of
speech signal will pass through several functions i.e noise controlling the overall gain of a speech amplification
addition, noise reduction filter, frequency shaper and system. The amplitude compression will be ensure that the
amplitude compression before producing an adjusted output amplified signal does not exceed saturation power. The
speech signal which is audible to the hearing impaired saturation power is where the sound signal begins to
person. become uncomfortable.
a. Noise summation
• Microphone
• Amplifier
• Speaker (Receiver)
• Power supply (batteries)
Figure 3: GUI of digital Hearing Aids Whatever style or size, all hearing aids consist of these four
parts.
In this simulation, a sample of hearing impaired patients is
obtained from "Jabatan Audiologi dan Sains Pertuturan,
Microphones and receivers are converters, that is, they
Fakulti condemns Kesihatan Bersekutu, Universiti
convert energy from one form to another. The microphone
Kebangsaan Malaysia ". This patient suffers from moderate
collects acoustic energy (sound) and converts it into an
hearing loss characterized by:
electrical signal. The receiver collects electrical signals
- Hearing threshold at 40 dB. from the amplifier and converts them to acoustic energy
(sound).
- Threshold of pain at 90 dB.
Between the microphone and the receiver, the amplifier
- You have difficulty hearing high frequencies increases the amplitude of the signal transmitted by the
microphone before transmitting it to the receiver that sends
A. Equations and Formulae Used for FFT:
it to the inner ear.
The resulting sequence is interpreted as follows:
X[k]=∑𝑁−1
𝑛=0 𝑥[𝑛]𝑒
−𝑗2𝜋𝑛/𝑁
Y=s+10^(-Eb_N0_dB/20)*n;
IV. Working
Early devices, such as trumpets and horns, were passive osition',P4,...
amplification cones designed to collect sound energy and 'PlotAsTwoSidedSpectrum',false);
direct it to the ear canal. Modern devices are computerized
SpectroGraph.SpectrumType =
electroacoustic systems that transform environmental sound
into audible sound, according to audiometric and cognitive 'Spectrogram';
rules. Modern devices also use sophisticated digital signal
processing to improve speech intelligibility and user while numplays>0
comfort. This signal processing includes feedback
management, extended dynamic range compression,
directivity, lowering of frequency, and noise reduction. data=step(mic);
step(audplyer, double(data));%Play
V. MATLAB code: the Output Signal
%step(scope,data);
%Measure Screen Size of the device step(SpectroGraph,data);
%Calculate position values of figure numplays = numplays-1;
windows end
scrsz = get(0,'ScreenSize');
%P1 = [50 300 scrsz(3)/2 scrsz(4)/2]; release(mic);
%P2 = [50 80 scrsz(3)/3 scrsz(4)/3]; release(audplyer);
%P3 = [620 500 scrsz(3)/3 scrsz(4)/3]; release(scope);
P4 = [620 80 scrsz(3)/2 scrsz(4)/2]; release(SpectroGraph);
SamplesPerFrame=1024;
Fs=44100;
T=10;%Specify Algorithm run time in VI. Results
seconds here Figure 4 below is the original speech signal which is plot
numplays = (T*Fs)/SamplesPerFrame; on time versus amplitude axis.
mic=dsp.AudioRecorder();
mic.SamplesPerFrame=SamplesPerFrame;
mic.DeviceName='Microphone (Realtek
High Definition Audio)';
mic.NumChannels=1;
mic.SampleRate=Fs;
mic.OutputDataType='double';
mic.BufferSizeSource='Property';
mic.QueueDuration=2;
mic.BufferSize=128;
audplyer =
dsp.AudioPlayer('SampleRate',Fs);
Figure 4: Original speech signal
scope =
dsp.TimeScope('SampleRate',Fs,'TimeSpan Then adaptive white Gaussian noise is added to the original
',0.1,... wave signal. The purpose of this addition just to simulate
'Position',P1,'YLimits',[-1 1]); noises in the real situation. Figure 5 shows the signal after
noise addition.
scope.ShowGrid = 1;
scope.ShowLegend = 1;
SpectroGraph =
dsp.SpectrumAnalyzer('SampleRate',Fs,'P
Figure 7: Spectrogram of Original and Adjusted Signal
VII. Conclusion
New digital aids offer more capacity to tune the sound
without altering the quality and helps the listener. In this
digital hearing aid implementation of the system using
MATLAB, its the treatment is digitized. Thus, it is possible
to refine the sound signal, for example by reducing noise
and improvement of speech signals. In addition, using
digital technology, amplification can be done only at
frequencies that the user must amplify. This will eliminate
the problem with conventional amplifier that amplified the
entire signal, including noise. In digital hearing aids in
general, when the signals are converted into digital signals.
This is the digitization makes it possible to specify analyze
& filter the signals. The signals can be processed in one or
more frequency channels. At the end, the digital signal is
again converted to its analog form. The benefits of using
digital aids could
Improve the quality of life by improving the sound quality,
Greater comfort of listening, better communication in noisy
environment, better speech intelligibility group
conversations and more flexibility in case of Progressive
hearing less.
VIII. References
[3] http://www.hearingresearch.org/ross.html
[5] https://en.wikipedia.org/wiki/Hearing_aid