Exercise II: Adaptive Noise Can-Celing Applied To Fetal Electrocardiogra - Phy
Exercise II: Adaptive Noise Can-Celing Applied To Fetal Electrocardiogra - Phy
Exercise II: Adaptive Noise Can-Celing Applied To Fetal Electrocardiogra - Phy
c
E XERCISE II FOR SC 3011 TN : A CADEMIC Y EAR 16/17
Matlab
c
Exercise II: Adaptive Noise Can-
celing Applied to Fetal Electrocardiogra-
phy
Michel Verhaegen, Laurens Bliek and Tijmen van Oldenrijk
Copyrighted material.
c 2015 by Michel Verhaegen
Contents
iii
iv Contents
Copyrighted material.
c 2015 by Michel Verhaegen
Chapter 1
You can open that example app in Matlab and play around with it by typing
adaptiveNoiseCancellationExampleApp in the command window1 . The
example app is not required for this exercise. We will use the theory from Chap-
ter 7 of the reader in this application.
In adaptive noise canceling, a measured signal consists of two signals: an
unknown signal of interest and an interference signal. The goal is to remove the
interference signal from the measured signal by using a reference signal that is
highly correlated with the interference signal. The example considered here is an
application of adaptive filters to fetal electrocardiography, in which a maternal
heartbeat signal is adaptively removed from a fetal heartbeat sensor signal.
The measured maternal electrocardiogram signal (MECG) is obtained from
the chest of the mother. The goal of the adaptive noise canceller in this task is
to adaptively remove the maternal heartbeat signal from the fetal electrocardio-
gram signal.
The measured fetal electrocardiogram signal (FECG) from the abdomen of the
mother is usually dominated by the maternal heartbeat signal that propagates
from the chest cavity to the abdomen. This propagation path can be described
by a linear FIR filter. The maternal heartbeat signal is much stronger and also
has a different frequency than the fetal heartbeat. We wish to use the theory of
Wiener filters to recover the underlying fetal heartbeat signal.
1
May require Matlab version 2016 or higher, and the DSP system toolbox.
1
2 Chapter 1 The problem of Active Noise Cancellation
Copyrighted material.
c 2015 by Michel Verhaegen
Chapter 2
2.2 Exercise
For recovering the fetal ECG from the two measured ECG signals, the following
Parts need to be solved.
1. Formulate the problem as a Minimum Variance FIR Wiener Problem, using
the symbols x, w, d, d and e as in Figure 7.1 in the reader. No numerical
values are required, but please specify the meanings of all the symbols and
their relation to the two measured signals FECG and MECG. Also explain
how to finally recover the fetal heartbeat signal when the Wiener problem
has been solved. Make sure that both x and d do not require the unknown
underlying fetal heartbeat signal that is to be recovered. 2 points
2. Determine the Wiener-Hopf equation for this problem, and explain how
the different terms in the equation relate to the two measured ECG signals.
1 point
3. If only the measured signals are given, the auto- and cross-correlations
used in the Wiener-Hopf equation need to be approximated. This can be
done using the following formulae:
N N
1 X 1 X
rx ( ) = x(n)x(n ), rdx ( ) = d(n)x(n ). (2.1)
N N
n= +1 n= +1
3
c
4 Chapter 2 Active Noise Control: the Matlab
exercise
1 point (2) The used code and your choice of q (plus motivation).
7. Which of the two methods gives the results that you think are closest to the
1 point underlying fetal heartbeat? Please motivate your answer.
3 points 8. Solve exercise 5.2 from the reader.
3 points 9. Solve exercise 6.8 from the reader.
2.3 Reporting
The report of this Matlab
c
exercise should consist of the requested answers
to the above 4 Parts also nicely ordered in 8 corresponding parts, together with
your answers to exercises 5.2 and 6.8 from the reader. The Matlab
c
scripts
c
should be included as text in your reports as well as your Matlab plots.
This report containing the names of the members of your group and their
student number should be dated and handed in following the Course Schedule
(see Blackboard).
Copyrighted material.
c 2015 by Michel Verhaegen