Contradiction between documentation and source code regarding Kv rating unit

On page Units in the library | Arduino-FOC, the doc states that the unit for motor Kv ratings is RAD/s/V or radians per second per Volt

In the code (constructor for BLDCMotor, Arduino-FOC/src/BLDCMotor.cpp at fb0be07488ed26db7cbc16dff0ef43c30bda818c · simplefoc/Arduino-FOC · GitHub), it says that the unit is rpm/V. Which is not the same (about a factor 10 difference if I get it right).

Which is correct? Should the documentation or the code be adjusted?

2 Likes

Hey!

Yeah, youre right. The real units are rpm/V.

The docs need to be updated! :slight_smile:

Prepared a pull request: Updated unit for KV rating to match code by jwxde · Pull Request #39 · simplefoc/simplefoc.github.io · GitHub

2 Likes