Tool/software: Code Composer Studio
Hello All,
I am a bit confused about calculating the period or the frequency of a signal from debug Graphics of CCS. For example below is the signal of rotor position:
Now, my calculation as follows:
One period of the signal above takes 50 samples to complete. Since the sampling period 0.1mS (10kHz), The period of one cycle is
50 x 0.1 = 5mS. This is the period of the signal above and it makes 200Hz.
Am I right up to here? If yes, here is the messy part:
Since this signal indicates the rotor position, it means electrical speed 200Hz, my pmsm motor has 8 poles. So mechanical speed is 200/8/2=50Hz.
50Hz equals to 3000RPM (In one second, rotates 50 times, In a minute it rotates 3000RPM). But my reference speed is adjusted to 400RPM as seen in figure below:
What do you think?
Any response will be appriciated. Thanks in advance.

