Hello All,
I use the Cortex M4 MCU.
I collect 2 datas respective to voltage and current. (1000 arrary length)
They are two sine wave datas, and I woulid like to know how much phase they are.
Does anyone know how to calculate the phase between two periodic datas?
Best Regards,
Fan
HiMy name is Stephen and I work at Arm.This forum is really intended for questions related to the use of Arm DS rather than algorithms. You might get a more knowledgeable response from one of the other forums. You don't say whether you want to do this calculation off-line or in real-time on the Cortex-M4, but you might find the following links useful:Book: Digital Signal Processing using Arm Cortex-M based Microcontrollers: Theory and Practice www.arm.com/.../dsptextbookuk.mathworks.com/.../439172-how-to-determine-the-phase-difference-phase-shift-between-two-signalsdsp.stackexchange.com/.../best-method-to-extract-phase-shift-between-2-sinosoids-from-data-providedHope this helpsStephen