X-CUBE-SPN11 for X-NUCLEO-IHM11M1
|
MC_PI_Controller
Compute the PI output for the Current Reference. More...
Functions | |
int16_t | MC_PI_Controller (SIXSTEP_PI_PARAM_InitTypeDef_t *, int16_t) |
Detailed Description
Compute the PI output for the Current Reference.
- Parameters
-
PI_PARAM PI parameters structure speed_fdb motor_speed_value
- Return values
-
int16_t Currente reference
Function Documentation
int16_t MC_PI_Controller | ( | SIXSTEP_PI_PARAM_InitTypeDef_t * | PI_PARAM, |
int16_t | speed_fdb | ||
) |
Definition at line 768 of file 6Step_Lib.c.
References SIXSTEP_Base_InitTypeDef::Integral_Term_sum, KI_DIV, SIXSTEP_PI_PARAM_InitTypeDef_t::Ki_Gain, KP_DIV, SIXSTEP_PI_PARAM_InitTypeDef_t::Kp_Gain, SIXSTEP_PI_PARAM_InitTypeDef_t::Lower_Limit_Output, SIXSTEP_PI_PARAM_InitTypeDef_t::Reference, and SIXSTEP_PI_PARAM_InitTypeDef_t::Upper_Limit_Output.
Referenced by MC_Task_Speed().
Generated by 1.8.11