Set \(i_d\) reference current

void uz_SetPoint_set_id_ref(uz_SetPoint_t *self, float id_ref_Ampere)

Updates the manual reference id-current.

Parameters:
  • self – pointer to uz_SetPoint_t instance

  • id_ref_Ampere – new value for manual id-reference current

Example

Listing 117 Example function call. Init of instance via init-function.
1int main(void) {
2  float id_ref_Ampere = 2.5f;
3  uz_SetPoint_set_id_ref(SP_instance, id_ref_Ampere);
4}

Description

Sets a new value for the manual \(I_{d,manual}\) input current. This value will be added on top of the \(I_{d,MTPA}\) current. In FW operation, this value will be ignored.