Expt.4 To Generate ECG Signal Using LabVIEW
Expt.4 To Generate ECG Signal Using LabVIEW
EXPERIMENT NO.4
AIM: To generate simulated ECG signal using LabVIEW.
I.
II.
III.
With Noise
Without Noise
Adjust its parameters
OF
AMPLITUDE
AND
DURATION
OF
IMPORTANT
P-wave=0.25mV;
R-wave=1.6mV;
Q-wave=25% of R wave;
T-wave=0.1% of Q wave to 0.5V
10
Department of AE&IE
1. The PR and PQ interval measured from the beginning of P wave consecutive of R and Q
wave respectively. It marks the time that an impulse take to reach ventricles.
2. QRS interval represents the time in which heart impulse travels through inter-ventricular
system.
3. QT interval is period of 1 complete ventricular contraction.
4. P wave represents repolarization of both ventricles.
5. P waves occur due to depolarization of atrial.
6. QRS complex is a result of atrial repolarization and ventricular depolarization
simultaneously.
7. T-wave is due to ventricular repolarization.
BLOCK DIAGRAM:
Block diagram(input)
10
Department of AE&IE
6. Drag and drop simulated ECG block in the block diagram window. This option opens
parameters panels for simulated ECG signal.
7. Adjust parameters like:
a. Heart rate in bpm.
b. PQRS wave action duration
c. QRST duration
8. Deselect add noise option.
9. To view graph, right select on data in the simulated ECG block and select create, to create
a graph indication. This creates a graph in front panel of VI.
10. To put the simulated ECG in infinite loop, right click on block diagram window. Select
programming in LAB VIEW box tool menu.
11. Select structure option & in structures select while loop.
12. Right click to create a control for while loop.
13. Double click on simulated ECG block on block diagram window. This opens the
parameters panel for simulated ECG signal.
14. Select add noise option to add noise to ECG signal.
15. Run the program to view the ECG signal in front panel graph indicator.
RESULT:
The desired simulated ECG signal has been produced using LabVIEW for both with and without
noise.
10