Skip to main content
ANICO.1
Associate III
December 30, 2021
Question

Voltage unit clarification

  • December 30, 2021
  • 2 replies
  • 1043 views

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

This topic has been closed for replies.

2 replies

Laurent Ca...
Senior III
December 31, 2021

Dear @ANICO.1​ 

Could you give the reference of the second document?

Anyway, I will clarify this point and update the documentation.

Best regards.

ANICO.1
ANICO.1Author
Associate III
December 31, 2021

I haven't any reference on this second document. It is a ST slide presentation titled = "MC Parameters calculation". It is marked ST Confidential, so tell me if it is ok to share it here (fully or a screenshot of the part of interest).

Best regards,

Antoine