I am trying to run the PMSM Sensorless code according to the how to guide with the Piccolo F28069. In level 1A I am not able to get the same waveforms fro Ta,Tb, and Tc. Instead I am getting something that looks like a sine wave with noise. As a result of this, all my graphs for all sevel levels are also distorted.
Any ideas as to why this is happening?
NEW: So I have figured out that there is something wrong with my ipark macro block in level 1A, here are the waveforms for ipark1.Sine and ipark1.Cosine (they should be sinusoidal waveforms but they have some kind of disturbance. Is this an error in the fundamental math library?)
(I have attached a picture of what our waveforms look like)
Ta:
Tb: