Skip to content

Commit 268deac

Browse files
author
askuric
committed
KV rating added 10%
1 parent f0d03a1 commit 268deac

File tree

2 files changed

+30
-6
lines changed

2 files changed

+30
-6
lines changed

docs/simplefoc_library/code/motors/bldc_motors.md

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,22 @@ BLDCMotor motor = BLDCMotor(11, 10.5, 120);
3030
```
3131

3232
<blockquote class="info"><p class="heading">Pole pair number </p>
33-
If you are not sure what your <code class="highlighter-rouge">pole_paris</code> number is. The library provides an example code to estimate your <code class="highlighter-rouge">pole_paris</code> number in the examples <code class="highlighter-rouge">find_pole_pairs_number.ino</code>.
33+
If you are not sure what your <code class="highlighter-rouge">pole_paris</code> number is. The library provides an example code to estimate your <code class="highlighter-rouge">pole_paris</code> number in the examples <code class="highlighter-rouge">examples/utils/calibration/find_pole_pairs_number.ino</code>.
3434
</blockquote>
3535

36-
<blockquote class="info"><p class="heading">KV rating </p>
37-
If you are not sure what your motor's <code class="highlighter-rouge">KV</code> is. You can easily find it as the velocity of your motor when controlled in the voltage torque control with a setpoint of 1 volt - <code class="highlighter-rouge">velocity_at_one_volt</code> . The KV rating units are rpm per Volt, and as the <span class="simple">Simple<span class="foc">FOC</span>library</span> works with rad/s rather than rpm. You once when you get the velocity reached with 1 volt setpoint, you can multiply it with \(30/\pi\) - <code class="highlighter-rouge">KV = velocity_at_one_volt * 30/pi</code>
36+
<blockquote class="warning" markdown="1">
37+
<p class="heading">RULE OF THUMB: KV value </p>
38+
We suggest to set the `KV` value provided to the library to 10-20% higher than the one given in the datasheet, or the one determined experimentally.
39+
</blockquote>
40+
41+
<blockquote class="info" markdown="1">
42+
<p class="heading">Finding KV rating value </p>
43+
If you are not sure what your motor's <code class="highlighter-rouge">KV</code> is. You can easily find it as the velocity of your motor when controlled in the voltage torque control with a setpoint of 1 volt - <code class="highlighter-rouge">velocity_at_one_volt</code> . The KV rating units are rpm per Volt, and as the <span class="simple">Simple<span class="foc">FOC</span>library</span> works with rad/s rather than rpm. You once when you get the velocity reached with 1 volt setpoint, you can multiply it with $$30/\pi$$
44+
45+
```cpp
46+
KV = velocity_at_one_volt * 30/pi
47+
```
48+
You can also use the provided libray examples `examples/utils/calibration/find_KV_rating.ino`.
3849
</blockquote>
3950

4051

docs/simplefoc_library/code/motors/stepper_motors.md

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,24 @@ StepperMotor motor = StepperMotor(50, 1.5, 20.6);
3030
```
3131
<blockquote class="info"><p class="heading">Pole pair number </p>
3232
Most of the stepper motors are 200 step per rotation motors making them 50 pole pair motors. In practice you can know the <code class="highlighter-rouge">pole_paris</code> number by dividing the number of steps per rotation by <code class="highlighter-rouge">4</code>.<br><br>
33-
If you are not sure what your <code class="highlighter-rouge">pole_paris</code> number is. The library provides you an example code to estimate your <code class="highlighter-rouge">pole_paris</code> number in the examples <code class="highlighter-rouge">find_pole_pairs_number.ino</code>.
33+
If you are not sure what your <code class="highlighter-rouge">pole_paris</code> number is. The library provides you an example code to estimate your <code class="highlighter-rouge">pole_paris</code> number in the examples <code class="highlighter-rouge">examples/utils/calibration/find_pole_pairs_number.ino</code>.
3434
</blockquote>
3535

36-
<blockquote class="info"><p class="heading">KV rating </p>
37-
If you are not sure what your motor's <code class="highlighter-rouge">KV</code> is. You can easily find it as the velocity of your motor when controlled in the voltage torque control with a setpoint of 1 volt - <code class="highlighter-rouge">velocity_at_one_volt</code> . The KV rating units are rpm per Volt, and as the <span class="simple">Simple<span class="foc">FOC</span>library</span> works with rad/s rather than rpm. You once when you get the velocity reached with 1 volt setpoint, you can multiply it with \(30/\pi\) - <code class="highlighter-rouge">KV = velocity_at_one_volt * 30/pi</code>
36+
<blockquote class="warning" markdown="1">
37+
<p class="heading">RULE OF THUMB: KV value </p>
38+
We suggest to set the `KV` value provided to the library to 10-20% higher than the one given in the datasheet, or the one determined experimentally.
39+
</blockquote>
40+
41+
<blockquote class="info" markdown="1">
42+
<p class="heading">Finding KV rating value </p>
43+
If you are not sure what your motor's <code class="highlighter-rouge">KV</code> is. You can easily find it as the velocity of your motor when controlled in the voltage torque control with a setpoint of 1 volt - <code class="highlighter-rouge">velocity_at_one_volt</code> . The KV rating units are rpm per Volt, and as the <span class="simple">Simple<span class="foc">FOC</span>library</span> works with rad/s rather than rpm. You once when you get the velocity reached with 1 volt setpoint, you can multiply it with $$30/\pi$$
44+
45+
```cpp
46+
KV = velocity_at_one_volt * 30/pi
47+
```
48+
You can also use the provided libray examples `examples/utils/calibration/find_KV_rating.ino`.
49+
<br>
50+
3851
</blockquote>
3952

4053
### Motor phase reistance and KV rating

0 commit comments

Comments
 (0)