Other Parts Discussed in Thread: C2000WARE
Hello,
I am working on a PFC application and I would like to understand if there is an easy way to check the error between the phase of my input sine wave and the SPLL output.
I am working in floating point and I have noticed that the phase detection is implemented using the cos output.
I had a look at https://e2e.ti.com/support/microcontrollers/c2000/f/171/t/488937
but this could not help me. Basically I would like to understand if there is any way to detect a phase jump between two subsequent ISR events.
I thought to check if the difference in the output theta is larger than a given threshold but to me this sounds too simple and I fear that I am missing something.
Any help on this would be really appreciated.
Thanks in advance,
Claudio