Skip to content

Commit 7846703

Browse files
Merge pull request #17 from simplefoc/master
Merge changes from master to dev
2 parents b33be79 + 0bf0f4f commit 7846703

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

docs/simplefoc_library/digging_deeper/theory/FOC_routine.md

+11-3
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,18 @@ Sinusoidal modulation is based on two transformation equations.
5050
<img src="../extras/Images/foc_modulation.png" >
5151

5252
Inverse Park transformation:<br>
53-
<img src="../extras/Images/inverse_park.png" style="margin-left:50px;margin-top:10px;margin-bottom:10px;width:150px"><br>
53+
54+
$$U_{\alpha} = U_q sin(\theta)$$
55+
56+
$$U_{\beta} = U_q cos(\theta)$$
57+
5458
Inverse Clarke transformation:<br>
55-
<img src="../extras/Images/inverse_clarke.png" style="margin-left:50px;margin-top:10px;margin-bottom:10px;width:180px">
5659

60+
$$u_a = U_{\alpha}$$
61+
62+
$$u_b = \frac{-U_{\alpha} + \sqrt{3}U_{\beta}}{2}$$
63+
64+
$$u_c = \frac{-U_{\alpha} - \sqrt{3}U_{\beta}}{2}$$
5765

5866
Here is the code of implementation of the Sinusoidal PWM in the <span class="simple">Simple<span class="foc">FOC</span>library</span>:
5967
```cpp
@@ -229,4 +237,4 @@ But every motor is a bit different and you can check these values empirically on
229237

230238
## Further read
231239

232-
For more info about the initialization procedure, real-time execution and the implementation details please visit [FOC implementation docs](foc_implementation).
240+
For more info about the initialization procedure, real-time execution and the implementation details please visit [FOC implementation docs](foc_implementation).

0 commit comments

Comments
 (0)