Analysis of accelerometer values using Matlab
조회 수: 15 (최근 30일)
이전 댓글 표시
I have zero experience using Matlab however will be using it more to pursue a college project.
I am looking to enter accelerometer values in attempt to discover filters. Since I have little experience and I would need to alter my program to meet the requirements, my question is to anyone who may have experimented in similar areas - what would be the best format to output the values for analysis ?
댓글 수: 2
James Tursa
2016년 2월 26일
We will need a bit more detail. What are the requirements? What analyses will you be doing? Will you be integrating the accelerometer values to get velocity and position? What device is producing the accelerometer values? Is it at rest or moving? Etc.
채택된 답변
Star Strider
2016년 2월 26일
Assuming you have 3-axis accelerometers sampled at 20 Hz, I would save them to an Excel file or .csv file. Those are relatively easy to read.
Then after you read your files into your MATLAB workspace, do a fft to determine approximately where your signal frequencies stop and the noise begins. Design your bandpass filters to eliminate d-c offset and low-frequency noise on the low end, and high-frequency noise on the high end. (My filter design procedure is here: How to design a lowpass filter for ocean wave data in Matlab?) Then with your relatively ‘clean’ data, you can then perform whatever analyses you want on them.
댓글 수: 4
larissa montenegro
2016년 3월 29일
Hello. I have a question regarding this info. I am working as well with a 3-axis accelerometer with the aim to determinate tremor parameters amplitude and frequency. my sample frequency is 50 HZ.
My data is in csv format. The accelerometer give me 3 column values x,y,z. I already export the three variables (x,y,z) in matlab but I don't know how to work them. For example. You suggested to apply fft to the signal. That means for each variable separately?
Thank you for your time. Cheers
Star Strider
2016년 3월 29일
The fft function will do the transform on all of them together if you want it to (and I would). The signals and the noise should be easily separable, unless you have broadband ‘impulse’ noise, in which instance you will have to also use a Savitzky-Golay filter. Design your filters with the information the fft provides.
Yours is actually a new Question. Please post it as such if you need further information.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Get Started with Signal Processing Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!