diff --git a/docs/simplefoc_library/digging_deeper/theory/FOC_routine.md b/docs/simplefoc_library/digging_deeper/theory/FOC_routine.md index 475f79f..dbbd23a 100644 --- a/docs/simplefoc_library/digging_deeper/theory/FOC_routine.md +++ b/docs/simplefoc_library/digging_deeper/theory/FOC_routine.md @@ -50,10 +50,18 @@ Sinusoidal modulation is based on two transformation equations. Inverse Park transformation:
-
+ +$$U_{\alpha} = U_q sin(\theta)$$ + +$$U_{\beta} = U_q cos(\theta)$$ + Inverse Clarke transformation:
- +$$u_a = U_{\alpha}$$ + +$$u_b = \frac{-U_{\alpha} + \sqrt{3}U_{\beta}}{2}$$ + +$$u_c = \frac{-U_{\alpha} - \sqrt{3}U_{\beta}}{2}$$ Here is the code of implementation of the Sinusoidal PWM in the SimpleFOClibrary: ```cpp @@ -229,4 +237,4 @@ But every motor is a bit different and you can check these values empirically on ## Further read -For more info about the initialization procedure, real-time execution and the implementation details please visit [FOC implementation docs](foc_implementation). \ No newline at end of file +For more info about the initialization procedure, real-time execution and the implementation details please visit [FOC implementation docs](foc_implementation).