Contains Field Weakening Control (FWC) functions implementation.
|
FWC_Handle | FWC_init (void *pMemory, const size_t numBytes) |
| Initializes the Field Weakening Control (FWC) module. More...
|
|
void | FWC_setParams (FWC_Handle handle, const float32_t Kp, const float32_t Ki, const float32_t angleMin_rad, const float32_t angleMax_rad) |
| Sets the Field Weakening Control (FWC) module parmaeters. More...
|
|
static void | FWC_disable (FWC_Handle handle) |
| Disables the FWC function. More...
|
|
static void | FWC_enable (FWC_Handle handle) |
| Enables the FWC function. More...
|
|
static float32_t * | FWC_getCurrentAngle_rad_addr (FWC_Handle handle) |
| Gets the stator current phase angle memory address. More...
|
|
static float32_t | FWC_getCurrentAngle_rad (FWC_Handle handle) |
| Gets the stator current phase angle value (angleCurrent_rad) More...
|
|
static bool | FWC_getFlagEnable (FWC_Handle handle) |
| Gets the enable controller flag value from the FWC. More...
|
|
static void | FWC_setCurrentAngle_rad (FWC_Handle handle, const float32_t angleCurrent_rad) |
| Sets the stator current phase angle value. More...
|
|
static void | FWC_setFlagEnable (FWC_Handle handle, const bool flagEnable) |
| Sets the enable flag. More...
|
|
static void | FWC_setKi (FWC_Handle handle, const float32_t Ki) |
| Sets the integral gain (Ki) value. More...
|
|
static void | FWC_setKp (FWC_Handle handle, const float32_t Kp) |
| Sets the proportional gain (Kp) value. More...
|
|
static void | FWC_setGains (FWC_Handle handle, const float32_t Kp, const float32_t Ki) |
| Sets the gain values. More...
|
|
static void | FWC_setAngleMinMax (FWC_Handle handle, const float32_t angleMin_rad, const float32_t angleMax_rad) |
| Sets the minimum and maximum output values of FWC. More...
|
|
static void | FWC_setAngleMax (FWC_Handle handle, const float32_t angleMax_rad) |
| Sets the maximum output values of FWC. More...
|
|
static void | FWC_setAngleMin (FWC_Handle handle, const float32_t angleMin_rad) |
| Sets the minimum output values of FWC. More...
|
|
static void | FWC_resetController (FWC_Handle handle) |
|
static void | FWC_setUi (FWC_Handle handle, const float32_t Ui) |
| Sets the integrator start value (Ui) More...
|
|
static void | FWC_computeCurrentAngle (FWC_Handle handle, const float32_t Vs_V, const float32_t VsRef_V) |
| Runs the Field Weakening Control (FWC) More...
|
|