DAQ›DAQ
#20442
50Hz and raw stream
I have noticed some subtilities when using 50Hz data, that, I think, it is worth to remind even if already known.
In fig 1 I have compared two signals (Sc_OB_tyErr and Gx_OB_ty) that are supposed to be equal (except a sign and an offset) in the 50Hz stream (black curve) and in the raw stream (purple curve). So we can notice a delay between Gx and Sc in the raw data but, above all, we can see an additional dephasing introduced by the decimation process of Sc signal (Gx is naturally at 50Hz) down to few hundreds of mHz. This has some consequences when doing TF for fitting purpose.
For example, in fig 2, I have compared a TF using Sc (black curve) and Gx (red curve) signals in the raw stream: they are equal as expected. In fig 3 instead, I did the same for the 50Hz stream : I let you imagin what could happen if you try to fit the red curve instead of the black to compute an optimized control filter....
So, as a general rule, it is recommended, for data processing purpose, to use data that have followed the same pre-processing (decimation, others ...). In other words, mixing Gx and Sc data could be quite misleading without a carrefull handling.