Home > Back-end >  Algorithm: after ADC waveform as shown in figure, how to analysis the waveform, according to the req
Algorithm: after ADC waveform as shown in figure, how to analysis the waveform, according to the req

Time:10-21

This is the value of the ADC sampling after painted waveform figure

(note: some of the waveform may be only a half cycle waveform cycle long wave), short cycle of the waveform, waveform, is the whole cycle per second (60 k sampling points)

Need to compute:
Each waveform cycle of sampling points (waveform cycle long, calculate half cycle of sampling points, cycle short wave form, calculate the whole cycle waveform),

I am now handling:
1 after each system stable, gathering 1000-2000 sampling points in advance, and calculate the gross, then calculate the average as the starting point for calculation of each waveform (average),
Average value - 2 sample point=new sampling point value (is negative),
3 for new sample point values, the requirements of the calculation,

Algorithm implementation that can meet the requirements?

There are other method? Ask for advice,
  • Related