Skip to content

[BUG] Fix KV initialization #344

Closed
Closed
@runger1101001

Description

@runger1101001

like this
image
can someone check my math make sure im not crazy lol

Change the sqrt(2) to sqrt(3) and it should be ok.
But maybe put the sqrt(3) somewhere else. It doesn't make sense to have a strange kv with the same name.

Elwin — Yesterday at 10:39 PM
Because the id iq vd and vq are like phase-zero quantities. The kv is in phase-phase.

Elwin — Yesterday at 10:42 PM
I think you should change it here

if (_isset(KV_rating)) voltage_bemf = shaft_velocity/KV_rating/_RPM_TO_RADS;

Elwin — Yesterday at 10:47 PM
Is the code ment for motors with a trapezoidal back emf? Because if I recall correctly than it could be wrong what I just said. I only work with sinusoidal bemf motors.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions