filtering data by removing a specified frequency (noise)

Hi, I have Pressure-crank angle degree data for an Internal Combustion Engine, before combustion starts, the curve is realistic and smooth, after the combustion starts, a pressure wave, of known frequency, travelling through the combustion chamber resulting in disturbing the original pressure increase curve, how can I remove this known frequency from my data ? I tried with fft, butter, and filter but I couldn't done, any kind of help will be greatly appreciated, thanks in advance,

댓글 수: 2

Some screenshots would help. Like, what does your data look like normally, and with the pressure wave rippling though it? And what do the spectra look like for those two cases?
Mamdouh
Mamdouh 2014년 2월 7일
편집: Mamdouh 2014년 2월 7일
thanks a lot for your concern and reply, I attached my case, the horizontal axis is the crank angle degrees (theta), while the vertical is the pressure in (bar), the engine rotates with 5000 revolutions per min., the disturbance frequency is 252 kHz, starts with the ignition, causing the saw teeth shape, and I wanna remove it, the regular shape is almost similar but without this oscillation,

댓글을 달려면 로그인하십시오.

 채택된 답변

Image Analyst
Image Analyst 2014년 2월 7일
편집: Image Analyst 2014년 2월 28일

1 개 추천

Take the Fourier Transform. Look for the spike at that frequency (252 kHz) and set it to zero. Then inverse transform.
Or, alternatively, you could try a Savitkzy-Golay filter (sgolayfilt in the Signal Processing Toolbox) for a one-liner solution. The SG filter is a sliding polynomial filter - it replaces the element at the center of the sliding window by the polynomial fit, at that location, of the data inside the window. (Demo available upon request.)

댓글 수: 6

thanks again, Image Analyst, really, I appreciate your fast and informative replies, regards
Could you explain how to set the spike at a particular frequency to zero?
You need to find out what indexes of your signal encompass the spike, then do this:
yourSignal(index1:index2) = 0;
Hello Image analyst , Its really useful topic for me . Can you give demo of how to use Savitkzy-Golay filter for this particular case and also how to determine disturbance frequency. Thank you in advance.
No, but I can attach some pre-existing demos I've made using the function.
Thank you so much for your reply.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 MATLAB에 대해 자세히 알아보기

질문:

2014년 2월 6일

댓글:

2017년 1월 11일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by