STEVAL ESC001V1 Motor Pilot Graph
I am trying to plot reference speed and measured speed on graph in Motor Pilot. But in graph why measured speed is coming before reference speed? I tried it at different speeds but response coming is same.

I am trying to plot reference speed and measured speed on graph in Motor Pilot. But in graph why measured speed is coming before reference speed? I tried it at different speeds but response coming is same.

Hi
The plot you are looking at is the register plot. It is not a real time plot. The information is collected by a pooling mechanism. Depending on the number of registers you plot, the Pilot will split the reading command into several accesses, that are at least 1 ms spaced, the atomicity is then absolutely not guarantee. On top of that, the MC Pilot draws lines between the various sampled, then at the end you can end up with such kind of artefact.
If you need to do graphical analysis, only the high frequency plot can be a root of trust. It is based on an asynchronous protocol and guarantee that all the data collected come from the same PWM cycle.
But, be assured that the system is always causal, and the answer never physically comes before the command ;) !
Regards
Cedric
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.