Get Kp#

float uz_CurrentControl_get_Kp_id(uz_CurrentControl_t *self)#

Function to get the Kp-value of the id-PI-Controller during runtime.

Parameters:
  • self – uz_CurrentControl_t instance

float uz_CurrentControl_get_Kp_iq(uz_CurrentControl_t *self)#

Function to get the Kp-value of the iq-PI-Controller during runtime.

Parameters:
  • self – uz_CurrentControl_t instance

Example#

Listing 85 Example function call to receive the Kp parameters. CurrentControl-Instance via init-function#
1int main(void) {
2   float Kp_id = uz_CurrentControl_set_Kp_id(CC_instance);
3   float Kp_iq = uz_CurrentControl_set_Kp_iq(CC_instance);
4}

Description#

Reads out the current value for Kp for each pi controller.