bitsim
Model, simulate, estimate and control robots in C++
Loading...
Searching...
No Matches
bitsim::actuators::BLDCMotorParameters Struct Reference

The parameters of a brushless DC motor. R and L are measured between two terminals, which is what a datasheet gives. The defaults are a small motor of the size used in robot joints. More...

#include <bldc_motor.h>

Public Member Functions

real_t Kt () const noexcept
 The torque constant [N m/A], equal to Ke in SI units.

Public Attributes

real_t R {0.6}
 resistance between two terminals [Ohm]
real_t L {0.4e-3}
 inductance between two terminals [H]
real_t Ke {0.05}
 back-EMF constant [V s/rad]; Kt = Ke in SI units
real_t J {2.0e-5}
 inertia of the rotor [kg m^2]
real_t b {1.0e-5}
 viscous friction [N m s/rad]
int pole_pairs {7}
 electrical turns per mechanical turn
real_t V_supply {24.0}
 supply voltage [V]

Detailed Description

The parameters of a brushless DC motor. R and L are measured between two terminals, which is what a datasheet gives. The defaults are a small motor of the size used in robot joints.

Member Function Documentation

◆ Kt()

real_t bitsim::actuators::BLDCMotorParameters::Kt ( ) const
inlinenoexcept

The torque constant [N m/A], equal to Ke in SI units.

Member Data Documentation

◆ b

real_t bitsim::actuators::BLDCMotorParameters::b {1.0e-5}

viscous friction [N m s/rad]

◆ J

real_t bitsim::actuators::BLDCMotorParameters::J {2.0e-5}

inertia of the rotor [kg m^2]

◆ Ke

real_t bitsim::actuators::BLDCMotorParameters::Ke {0.05}

back-EMF constant [V s/rad]; Kt = Ke in SI units

◆ L

real_t bitsim::actuators::BLDCMotorParameters::L {0.4e-3}

inductance between two terminals [H]

◆ pole_pairs

int bitsim::actuators::BLDCMotorParameters::pole_pairs {7}

electrical turns per mechanical turn

◆ R

real_t bitsim::actuators::BLDCMotorParameters::R {0.6}

resistance between two terminals [Ohm]

◆ V_supply

real_t bitsim::actuators::BLDCMotorParameters::V_supply {24.0}

supply voltage [V]


The documentation for this struct was generated from the following file: