Professional Documents
Culture Documents
Achmad Rizal
BioSPIN
Definitions Definition
• Typical System
1
Biomedical signal classification Biomedical signal classification
On the basis of
– signal characteristics
technical point of view
– signal source
from where and how the signal is originated and
measured
– biomedical application
cardiology, neurophysiology, monitoring, diagnosis,…
2
Problems in biomedical signal
Biomedical application domains processing
• Accessibility
• Information gathering
– Patient safety, preference for noninvasiveness
– measurement of phenomena to understand the system
• Diagnosis – Indirect measurements (variables of interest
– detection of malfunction, pathology, or abnormality
are not accessible)
• Monitoring • Variance
– to obtain continuous or periodic information about the – Inter-individual, intra-individual
system • Inter-relationships and interactions among
• Therapy and control physiological system
– modify the behaviour of the system and ensure the result – Subsystem of interest may not be isolated
• Evaluation
– objective analysis: proof of performance, quality control,
• Acquisition interference
effect of treatment – Instrumentation and procedures modify the
system or its state
ARL - EL4703 - Instrumentasi Biomedis 13 ARL - EL4703 - Instrumentasi Biomedis 14
Quantization error
3
Aliasing in time domain
Sampling theorem and aliasing
• Sampling (Shannon) theorem: a
continuous signal can be completely
recovered from its samples if, and only if,
the sampling rate is greater than twice the
highest frequency of the signal (Nyqvist
frequency).
4
The four stages of biosignal Principal signal processing
processing levels
• Acquisition
– Signal detection: linearity, amplitude and phase distortions correction
– Signal conditioning: prefiltering, normalization
– Analog-to-digital conversion
– Data storage
• Processing
– Filtering: noise reduction, restoration
– Transformation: DFT, WT, STFT, SVD, PCA
– Matching filter: extraction of characteristic waves from signal
– Parameters (features) extraction
– Data compression
– Classification
– Modeling: mathematical, physiopathological
• Interpretation
– Association of classes of parameters with physiopathologic state of patient
ARL - EL4703 - Instrumentasi Biomedis 25 ARL - EL4703 - Instrumentasi Biomedis 26
5
Cross-Correlation
• Cross correlation
Z-transform
• Z-Transform plays the same role as the Laplace
Transform for CT signals.
∞
jω
X(z ) = ∑ x[n]z −n
x[n ]←⎯→ X(z )
Z
z = re
n=−∞
6
Z transform Z transform
Z transform expample Application of z transform
• x(-3) = 2, x(-2) = -5, x(-1) = 3, x(0) = 0, x(1) = 4, x(2) = 2, x(3) = -4,
x(n)
x(4) = -2 4
3
2 2
q(t ) = p (t ) * h(t )
-2 3 4
-3 -1 0 1 2
-2
-5
-4
Q( z ) = P( z ).H ( z )
Q( z )
X ( z) = 2z 3 − 5z 2 + 3z1 + 4z −1 + 2z −2 − 4z −3 − 2z −4 H ( z) = transfer function
ARL - EL4703 - Instrumentasi Biomedis 37
P( z )
ARL - EL4703 - Instrumentasi Biomedis 38
Filtering Filtering
Filtering = removing unwanted frequency Filtering equation
component (noise) from the signal • Let x(n) denote current input value
• Linear Filter : LPF, HPF, BPF, BSF (ECG+noise)
• FFT Filter : use FFT to remove signal Æ - x(n-1) is previous input value, x(n-k)
IFFT kthprevoius input
• Non Linear Filter • Let y(n) be the current filtered output value
• Adaptive filter - y(n-1) is previous output value, y(n-k)
kthprevoius output
ARL - EL4703 - Instrumentasi Biomedis 39 ARL - EL4703 - Instrumentasi Biomedis 40
Filtering Filtering
Filtering operation carried out by this If we arrange the equation, we’ll get
example : Y(z)(1 - 2z-1+z-2)=X(z)(0.6 – 2z-1 + 3z-2)
y[n] = 2y[n-1]-y[n-2]+ 0.6x[n]-2x[n-1]
+3x[n-2] Y ( z ) 0.6 − 2 z −1 + 3 z −2
H ( z) = =
If we applied Z tranform, we get : X ( z) 1 − 2 z −1 + z −2
Y(z)=2Y(z)z-1-Y(z)z-2+0.6X(z)-2X(z)z-1
+3X(z)z-2
7
Filtering Filtering
• General Equation : • FIR Æ finite impulse response
b0 + b1 z -1 + b 2 z -2 + L + b M z -M b0 + b1 z -1 + b 2 z -2 + L + b M z -M
H(z) = H(z) =
a 0 + a1 z -1 + a 2 z -2 + L + a N z -N a 0 + a1 z -1 + a 2 z -2 + L + a N z -N
M
For FIR a0 = 1, a1...an = 0 .....
Y(z)
∑b r z -r • The transfer function become
r= 0
H(z) = =
X(z) N
H(z) = b0 + b1 z -1 + b 2 z -2 + L + b M z -M
∑a k z -k
k = 0
ARL - EL4703 - Instrumentasi Biomedis 43 ARL - EL4703 - Instrumentasi Biomedis 44
b0 + b1 z -1 + b 2 z -2 + L + b M z -M
H(z) =
a 0 + a1 z -1 + a 2 z -2 + L + a N z -N
• For IIR b0, a0, a1...an ≠ 0 .....
8
ARL - EL4703 - Instrumentasi Biomedis 49