Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Filtering ECG signal

Status
Not open for further replies.

Plugmen

Newbie level 2
Joined
Apr 6, 2016
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
16
Hello!

I have a problem with filtering ECG signal. I have only values of X (time) and Y (voltage) in excel file. Nothing more like signal equation. How can i filter this signal? I have to do it in python but my knowledge of signals is very bad. I will be very grateful for some tips. Thank you!
 

SunnySkyguy

Advanced Member level 5
Joined
Sep 26, 2007
Messages
6,978
Helped
1,709
Reputation
3,416
Reaction score
1,697
Trophy points
1,413
Location
Richmond Hill, ON, Canada
Activity points
51,514
What kind of filter do you need?
LPF uses rolling average of more than adjacent cell.
Weighting adjacent cells gives a different filter response.

Audacity has better filters for WAV files. (free)
Parametric , LPF, HPF, notch, arbitrary, spectral analysis

In communication systems theory, we learn that the best filter is one that matches the signal content for passband in both amplitude and phase and matches the noise spectrum for band reject.
DO you understand what I mean or know how to do this?

THis gives the best SNR.
But in digital channels we must also consider inter-symbol interference for low phase error or jitter.

Are you using active guarding method or feeding the common mode signal back to a central 3rd electrode and twisting the wires to reject CM noise?
Or just twin leads with an IA? ( bad practise)
 
Last edited:

andre_teprom

Super Moderator
Staff member
Joined
Nov 7, 2006
Messages
9,298
Helped
1,160
Reputation
2,339
Reaction score
1,150
Trophy points
1,403
Location
Brazil
Activity points
54,146
You first have to determine what are the artifacts that are polluting your signal, and then specify the filter requirements. In Excel you could use the VBA to do that, but as Tony mentioned you'll need an external tool to synthesize the equations.
 

Plugmen

Newbie level 2
Joined
Apr 6, 2016
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
16
I think that i should use LPF and HPF. Problem is that i have to filter this signal in python because it is my task in project.
 

SunnySkyguy

Advanced Member level 5
Joined
Sep 26, 2007
Messages
6,978
Helped
1,709
Reputation
3,416
Reaction score
1,697
Trophy points
1,413
Location
Richmond Hill, ON, Canada
Activity points
51,514
If you record the signal as a WAV file in a PC with DC response but offset nulled in the audio amp. you can record with Audacity and do all your processing here. with GUI filters ( graphic equalizer etc) then hear it, shift the spectrum up an octave, measure spectrum etc.

or.... Analyze a short quiet WAVE file and insert your data in Notepad and import ECG signal and view it, play it, filter it or spectrum analyze it.
 
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top