Question
Voltage unit clarification
Dear MCSDK team,
Could you clarify SDK conversion from Volts to s16v.
- In UM2392 document it says that 1s16v = VMAX / 32768 -> s16v = V * 32768 / VMAX
- In MC Parameters Calculations document / Current Controllers slide, it says that
- Gains in V / A are converted to s16v / s16a by dividing by k
- k is defined like this : k = VBusDC * RShunt * Aop / Vddmicro.
- so k = s16A / s16V -> s16V = s16a / k
- with s16a = 65536 * RShunt * Aop / Vddmicro -> s16v = 65536 / VBusDC
Thank you for your help.
Best Regards
Antoine