I need to develop an algorithm that will compare two signals (1 Reference Signal and other is measured signal values from sensor) and generate some metric(s) to describe changes between them. I am not good at signal processing and analysis so I would appreciate any help.
I have attached figures below to provide an idea about how my both signals looks like.
Some of the differences that I am expecting are:
1 -Amount of error between Reference signal and measured values signal.(I want to calculate value of overall error or difference occurred).
2- Changes that occurred in measured signal from reference signal like Amplitude change in some parts, phase changes, offset occurred, Difference in Peaks and troughs, rise and fall transitions.
(In short I want to have an overall idea about all the changes that happened in measured signal in comparison from reference signal). My signal is too complex and has lot of values so I remained unable to develop an approach for it from my side.
The algorithm needs to output some generic metrics which can be used to quantify changes in any or all of these parameters. Any guidance on what method(s) I could use to do this would be a great help.
For the case of finding errors I have think of RMSE is it a good idea to take this approach as the length of my signals are same. Given the data reference signal and sensor signal data of size 1x1626100 and 1 x 1626100 double.
Correlation function also came into my mind but according to my knowledge I can only find similarity between different signals using correlation function not the total error or overall changes that occurred in signal.
The signal is generated provides an information about changes in steering angle along with time.
Various measurements are taken over time at the same location and the final objective is to determine how the signals have changed over time (due to physical/Hardware changes).
We have taken different tests to find out how physical/Hardware changes affect my signal values and in every test speed, velocity or brakes condition of cars are different. I also needs to take into account these things for my algorithm.
The measurement system may indeed be moving at different speeds, and may have different acceleration profiles during the measurement. This needs to be accounted for in my algorithm.
I am performing this algorithm development in Matlab.