I have the current from a LEM transducer measured. The measurement is taken on the output of a transformer. The signal is a 50 Hz signal, measured at 100kHz. When the demand of the system is increased the current increases and therefore the amplitude of the sinusoidal gets bigger. I am looking for the maximum currents and the period over which this occurred.
Unfortunately the data is not the best quality. In some files the transducer connections appear to be bad as a signal sometimes will jump and cause a spike but the spike has many data points so using a median filter or similar is not helping me rid my system of the spikes.
I had initially applied a moving RMS filter to the signals (I have 50 different test files) and then taking the maximum of the signal to get the value and time where it occurred. However with the spikes it throws this out.
I thought about downsmapling the signal to reduce the resolution and hence the number of samples in the spikes and then doing a moving RMS but I would prefer to keep the resolution as per the original dataset.
Does anyone have any suggestions that I could try?