Professional Documents
Culture Documents
Faculty of Biosciences and Medical Engineering Final Examination Semester I Session 2016/2017
Faculty of Biosciences and Medical Engineering Final Examination Semester I Session 2016/2017
SECTION 01
TIME 3 HOURS
[25 marks]
b)
Chapter 2
[4 marks]
c) In your opinion, determine the reason why a low-pass filtering is performed before
c)
analog to digital conversion.
Chapter 6 pg2
[3 marks]
d) Describe in detail the processes involve in signal acquisition.
d) Explain the Shannon-Nyquist sampling theorem and determine on how to set the best
sampling rate in signal acquisition,
chapter 4 pg 47 [3 marks]
chapter 3 pg 38
e) Figure 1.1 shows the frequency ranges of Electrocardiography (ECG) measurements.
Explain in detail why the ranges are determined as in the figure.
[3 marks]
£Q
V
X_v
i
<1>
Figure Q1
f) Differentiate between Fourier series (FS), Fourier transform (FT), Discrete Time
Fourier Transform (DTFT) and Discrete Fourier Transform (DFT).
h[n)
* 2
x\n[ 2'
-»—♦— — 1—
'III
-I 0 1 2 1 4 •I
I)
---- !“•--------
0 J 2 3 4 5
Figure Q2
[5 marks]
[5 marks]
c) Find the z-transform of the following equations, draw the pole-zero plot and the ROC:
[3 marks]
ii. x[n] = n ( i) nu[n - 2]
[3 marks]
iii. x[n] = (^)”cos(n6J0)u[n]
[3 marks]
i. X[z] = ,\z\>-
[3 marks]
[3 marks]
5
SKBB4023 / SMBE4023
Appendix A
%] 1 All z
u[n] , , _i r | z\ > 1
—w[—n — 1] i
i-* -i 1*1 < 1
5{n —m] z -m All 2 except 0 or oc
I
ontz[n] 1 \z\ > H
—anu[—n — 1] I
1—02“ 1 Nf < M
&Z~X
n a nu[n] (1- a s - 1)2 \z\ > \a\
az~x
~ n a nu[~n — 1] Xl-at-l)* \z\ < |a|
\a n Q < n < N — 1,
1~aNS~N \z\ > 0
1—&z~l
10 otherwise
cm{(jQn)u[n\ l-cm(uta)z~l
1—2 cos(ii/o)&—1-f-2“ 2 N > i
r n cos(won)u[n] 1—rcos(i*jo>«-1
1—£»*■eos(wo)i ~ ^+f*®s \z\ > r
Q1. Figure 1 illustrates an electrocardiogram (ECG) signal. Answer the following question
based on the diagram. [25 marks]
a) Explain, how can the Heart Rate Variability (HRV) be calculated using an
ECG signal? [2 marks]
i) Mean [2 marks]
iv) Assuming the age of Subject A is in the 30s, based on your calculated SDNN
in iii), what can you conclude? Use Appendix A to assist in your reasoning.
[2 marks]
7
SKBB4023 / SMBE4023
c) You are request to design a dedicated system to filter the ECG signal using Matlab, as
it is suspected to have 1.2 kHz noise interference from environment. The sampling
frequency of the of your equipment for ECG signal is 2kHz. You are advise to use 4th
order Butterworth low pass filter for your design. [5marks]
d) Propose an algorithm to detect QRS and define each process. (Draw flow of the
algorithm and label properly each of the blocks. [ 10 marks]
8
SKBB4023 / SMBE4023
15-20: Low
60s 27
15j: Very low
9
SKBB4023 / SMBE4023
You have been assigned to analyze the collected EMG signal for a patient from Hospital
Sultanal Aminah. [25 marks]
ii) Since the equipment also need to process the EMG signal in real time,
design your method to process EMG in real time. [8 marks]
Onset Detection
2(c) The purpose of rectifying the signal is to ensure the signal does Very good example of onset detection algorithm,
not average to zero, due to the raw EMG signal having positive and which can be used to explain the
negative components. Two types of rectification are used: full-wave problem, was presented in 1979 by Cavanagh and
and half-wave rectification.[19] Full-wave rectification adds the Komi [3]. Simple method with set
EMG signal below the baseline to the signal above the baseline to threshold value required to trigger the EMG and
make a conditioned signal that is all positive. If the baseline is zero, force state was called Comparator.
this is equivalent to taking the absolute value of the signal.[20][21] After certain value of signal was exceeded the
This is the preferred method of rectification because it conserves all algorithm raised notice that onset has
of the signal energy for analysis. Half-wave rectification discards already began. As default this value for EMG signal
the portion of the EMG signal that is below the baseline. In doing was set to 30 mV because it was
so, the average of the data is no longer zero therefore it can be used considered to be the bottom border of voltage range
in statistical analyses. of electrical units produced by
human muscles [1]. Threshold for force produced by
muscle was set to 20 N. This value
was most probably determined empirically basing on
the observations. Authors have not
provided reader with the explanation of how this
value was set. It is reasonable to think
of it as a minimal force which cannot be caused by
inadequacy or deficiency of
measuring device. It would indicate the beginning of
muscle activity. Two onset
detections- concluded from EMG and force values
were later compared by authors in
order to calculate electro-mechanical delay (EMD)
10
SKBB4023 / SMBE4023
As a biomedical engineer, you have been assigned to design tools to process EEG
signal.
alpha
theta
Time (s)
delta
gamma
Time (s)
beta
Time (s)
a) Firstly, you have to identify the frequency types of EEG signal as shown in figure
Q3(a) to Q3(e). [5 marks]
ii) Based on your answer for Question 3b(i), what do you think would
happen to the wave activity if you performed mental math?
[2 marks]
iv) Identify which type of brain wave is most prevalent in table Q3.
______________________________ ____________ [4 marks]
Conditions Brain waves
1 eyes are closed and the patient is
relaxed
2 sleep stages three and four
3 patient is alert
4 sleeping adults
Table Q3: Condition for EEG signal
c) Identify 2 types of artifacts for the given EEG signal in figure Q3(f). Design an
algorithm to tackle the problems. [ 10 marks]