MATLAB Scripts for Acceleration Data Processing and Analysis from SmartRock Sensor
Description
This dataset contains four MATLAB scripts designed for the processing, analysis, and visualisation of acceleration data obtained from Smart Rock sensors. These scripts facilitate importing raw data from Excel files, processing it to extract meaningful insights such as frequency spectra, signal peaks, and orientation information. Below is a brief overview of each script: Retreive_raw_data.m: The main script responsible for importing raw acceleration and quaternion data from user-selected Excel files. It initiates the data processing pipeline by calling functions to import, visualise, and analyse the data. The script plots the acceleration data along the X, Y, and Z axes and manages quaternion data for further processing, such as conversion to rotation matrices. importfile.m: A supporting function specifically designed to import acceleration data from the specified Excel worksheet. It extracts time series data along with acceleration values on three axes (X, Y, Z) and prepares the data for visualisation and analysis in the main script. frequenzspektrum.m: This function calculates the frequency spectrum of a given signal using Fast Fourier Transform (FFT). It returns the amplitude and phase spectra, enabling frequency-domain analysis of acceleration signals. This script is often called during the analysis phase for detailed signal processing. Composite acceleration and signal smooth.m: This script processes the imported acceleration data by resampling it to equal time intervals, applying low-pass and high-pass filters, detecting peaks in the signal, and performing Fourier Transform to analyse the frequency spectrum. It provides a more detailed analysis of the composite acceleration derived from the X, Y, and Z components.
Files
Steps to reproduce
Use Case: These scripts are ideal for researchers and engineers working with sensor data from devices like SmartRocks or other acceleration and orientation monitoring systems. The provided functions enable efficient data import, pre-processing, filtering, and analysis of sensor readings, aiding in applications like structural health monitoring, environmental sensing, and geophysical studies. How to Use: 1. Run Retreive_raw_data.m to import data and initiate the analysis. 2. importfile.m is called internally to handle acceleration data import. 3. For frequency-domain analysis, frequenzspektrum.m can be used on the processed signal data. 4. Use Composite acceleration and signal smooth.m for detailed processing and signal smoothing.
Institutions
Categories
Funding
Engineering and Physical Sciences Research Council
EP/W000334/1 & EP/W000369/1
Deutsche Forschungsgemeinschaft
No. OE 514/1-2