SensorlessFOCMotorControlLibrary  1.0
Data Fields
COMMAND Struct Reference

Define command structure. More...

#include <foc.h>

Data Fields

MOTOR_STATE motorState
 
_iq IqRef
 
_iq IdRef
 
_iq speedRef
 
FOC_OUTER_LOOP outerLoop
 
FOC_DIRECTION directionReversal
 
FOC_DISCL disCL
 

Detailed Description

Define command structure.

Field Documentation

§ motorState

MOTOR_STATE COMMAND::motorState

State of the motor. MOTOR_STATE

Referenced by FOC_CONTROL_run(), FOC_paramsUpdateProcess(), and FOC_setFault().

§ IqRef

_iq COMMAND::IqRef

Iq PI controller reference used in closed loop for the outer current loop

Referenced by FOC_paramsUpdateProcess(), and FOC_run().

§ IdRef

_iq COMMAND::IdRef

Id PI controller reference used in closed loop for the outer current loop

Referenced by FOC_paramsUpdateProcess(), and FOC_run().

§ speedRef

_iq COMMAND::speedRef

Speed PI controller reference used in closed loop for the outer speed loop

Referenced by FOC_paramsUpdateProcess(), and FOC_run().

§ outerLoop

FOC_OUTER_LOOP COMMAND::outerLoop

Outer loop for foc. FOC_OUTER_LOOP

Referenced by FOC_run(), and FOC_setPara().

§ directionReversal

FOC_DIRECTION COMMAND::directionReversal

Selection of direction of the motor

Referenced by FOC_CONTROL_run(), FOC_loop(), FOC_run(), and FOC_setPara().

§ disCL

FOC_DISCL COMMAND::disCL

Selection of enabling closed loop

Referenced by FOC_CONTROL_run(), and FOC_paramsUpdateProcess().


The documentation for this struct was generated from the following file:
© Copyright 1995-2023, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale