Hi to all,
i have a question:
I am working with the "Permanent Magnet Synchronous Motor Field-Oriented Control" example and there is one thing which i dont understand.
The Park Transformation and the Inverse needs the angle scaled from 0 to 1.
So far so good.
The position calculation with halls is as followed.
Hall_offset (electrical offset) + offset ( depending on the hallvalue) + saturate[(countervalue/(2*speed)]
Looks quite confusing but i hope u know what i mean. The angle should be scaled from 0 to 1 for the Ti's Park and IPark.
The Hall_offset ist set to 0.57, which corresponds to 205,2°. The offset should be 0 -> 5/6 (0.83), which corresponds to 300°. The Last term is saturated to -1/6 to 1/6.
How should i get the full ranged angle? I have to say, it works. Not very well but it works. Ive got the DRV8312 Kit and the motor is spinning. But not higher than 1800RPM. I think it is because the position is not right calculated.
Actually i have a position range from 0.57 -> 1.4.
Could someone explain to me where the offset from the Halls is coming from? I dont get it because it is a odd number. I thought it should can be divided by 30°(1/360).
Thanks for your help!!
Kevin