Hi,
I would like to run a PMSM with 48 poles at 2500 RPM, which is 1kHz electrical frequency. Due to mechanical reasons and for the need of high precision, we are considering an 18 bit absolute encoder, which has a maximum repetition rate of 4kHz and a fixed latency of 250us plus communication latency.
I have three questions:
1. What would be the optimum ISR, CTRL and SPEED ticks/frequency for operating the motor at 1kHz electrical frequency?
2. Is 4kHz position update rate enough to operate at 1kHz electrical frequency?
3. Is there a way in InstaSPIN to compensate for the encoder latency?
I would really appreciate your comments.
Thanks,
Tamil