libximc  2.13.1
Data Fields
motor_settings_t Struct Reference

Physical characteristics and limitations of the motor. More...

Data Fields

unsigned int MotorType
 Motor Type flags.
unsigned int ReservedField
 Reserved.
unsigned int Poles
 Number of pole pairs for DC or BLDC motors or number of steps per rotation for stepper motor.
unsigned int Phases
 Number of phases for BLDC motors.
float NominalVoltage
 Nominal voltage on winding (B).
float NominalCurrent
 Maximum direct current in winding for DC and BLDC engines, nominal current in windings for stepper motor (A).
float NominalSpeed
 Not used.
float NominalTorque
 Nominal torque(mN m).
float NominalPower
 Nominal power(W).
float WindingResistance
 Resistance of windings for DC engine, each of two windings for stepper motor or each of there windings for BLDC engine(Ohm).
float WindingInductance
 Inductance of windings for DC engine, each of two windings for stepper motor or each of there windings for BLDC engine(mH).
float RotorInertia
 Rotor inertia(g cm2).
float StallTorque
 Torque hold position for a stepper motor or torque at a motionless rotor for other types of engines (mN m).
float DetentTorque
 Holding torque position with un-powered coils (mN m).
float TorqueConstant
 Torque constant, which determines the aspect ratio of maximum moment of force from the rotor current flowing in the coil (mN m / A).
float SpeedConstant
 Velocity constant, which determines the value or amplitude of the induced voltage on the motion of DC or BLDC motor (rpm / V) or stepper motor (steps/s / V).
float SpeedTorqueGradient
 Speed torque gradient (rpm / mN m).
float MechanicalTimeConstant
 Mechanical time constant (ms).
float MaxSpeed
 The maximum speed for stepper motors (steps/s) or DC and BLDC motors (rmp).
float MaxCurrent
 The maximum current in the winding (A).
float MaxCurrentTime
 Safe duration of overcurrent in the winding (ms).
float NoLoadCurrent
 The current consumption in idle mode (A).
float NoLoadSpeed
 Idle speed (rpm).

Detailed Description

Physical characteristics and limitations of the motor.

See Also
set_motor_settings
get_motor_settings
get_motor_settings, set_motor_settings

Field Documentation

float DetentTorque

Holding torque position with un-powered coils (mN m).

Data type: float.

float MaxCurrent

The maximum current in the winding (A).

Data type: float.

float MaxCurrentTime

Safe duration of overcurrent in the winding (ms).

Data type: float.

float MaxSpeed

The maximum speed for stepper motors (steps/s) or DC and BLDC motors (rmp).

Data type: float.

float MechanicalTimeConstant

Mechanical time constant (ms).

Data type: float.

unsigned int MotorType
float NoLoadCurrent

The current consumption in idle mode (A).

Used for DC and BLDC motors. Data type: float.

float NoLoadSpeed

Idle speed (rpm).

Used for DC and BLDC motors. Data type: float.

float NominalCurrent

Maximum direct current in winding for DC and BLDC engines, nominal current in windings for stepper motor (A).

Data type: float.

float NominalPower

Nominal power(W).

Used for DC and BLDC engine. Data type: float.

float NominalSpeed

Not used.

Nominal speed(rpm). Used for DC and BLDC engine. Data type: float.

float NominalTorque

Nominal torque(mN m).

Used for DC and BLDC engine. Data type: float.

float NominalVoltage

Nominal voltage on winding (B).

Data type: float

unsigned int Phases

Number of phases for BLDC motors.

unsigned int Poles

Number of pole pairs for DC or BLDC motors or number of steps per rotation for stepper motor.

float RotorInertia

Rotor inertia(g cm2).

Data type: float.

float SpeedConstant

Velocity constant, which determines the value or amplitude of the induced voltage on the motion of DC or BLDC motor (rpm / V) or stepper motor (steps/s / V).

Data type: float.

float SpeedTorqueGradient

Speed torque gradient (rpm / mN m).

Data type: float.

float StallTorque

Torque hold position for a stepper motor or torque at a motionless rotor for other types of engines (mN m).

Data type: float.

float TorqueConstant

Torque constant, which determines the aspect ratio of maximum moment of force from the rotor current flowing in the coil (mN m / A).

Used mainly for DC motors. Data type: float.

float WindingInductance

Inductance of windings for DC engine, each of two windings for stepper motor or each of there windings for BLDC engine(mH).

Data type: float.

float WindingResistance

Resistance of windings for DC engine, each of two windings for stepper motor or each of there windings for BLDC engine(Ohm).

Data type: float.