Hello,
I was playing a bit with the Compensation Desginer GUI tool just to experiment with it.
I extracted some PLANT frequency response from a power converter with SFRA, and wanted to use it with the Compensation Designer. Then, i realized that the data showed by the tool does not really match at all with the data stored in the .csv file. Here an example:
There, we can clearly see that the phase crosses the -180 degree at a frequency of around 3 KHz.
However, when I open the file and inspect the values, this is what i see:
I highlighted the points of interest. But, as you can see, in the file, around the frequency of 3 KHz the phase is still around -120 degrees. And the actual jump from -180 to +180 degrees happens at around 5.25 kHz. Therefore, the shape shown in the compensation designer looks nothing like what the .csv is storing.
Also, I noticed that when I change the "Control ISR freq", the shape of the plant response also changes, but that should not change it because the file contains pairs of Frequency/Phase or Frequency/Gain. So the actual plotting should be independent of what value I put in the Control ISR Freq. I think that value should only change the parameters for the calculated controller (kp and ki).
Am I missing something here, or doing anything wrong?
Thanks beforehand.