Download UM0492 User manual
Transcript
Library functions UM0492 Clarke Synopsis Curr_Components Clarke (Curr_Components Curr_Input) Description This function transforms stator currents ias and ibs (which are directed along axes each displaced by 120 degrees) into currents iα and iβ in a stationary (α β) reference frame; αβ axes are directed along paths orthogonal to each other. See Section 5.4.2 for the details. Input Stator currents ias and ibs (in q1.15 format) as members of the variable Curr_Input, which is a structure of type Curr_Components. Returns Stator currents iα and iβ (in q1.15 format) as members of a structure of type Curr_Components. Functions called mul_q15_q15_q31 Park Synopsis Curr_Components Park (Curr_Components Curr_Input, s16 Theta) Description The purpose of this function is to transform stator currents iα and iβ, which belong to a stationary (α β) reference frame, to a reference frame synchronous with the rotor and properly oriented, so as to obtain iqs and ids. See Section 5.4.2 for details. Input Stator currents iα and iβ (in q1.15 format) as members of the variable Curr_Input, which is a structure of type Curr_Components; rotor angle θ r el (65536 pulses per revolution). Returns Stator currents iqs and ids (in q1.15 format) as members of a structure of type Curr_Components. Functions called mul_q15_q15_q31, Trig_Functions Rev_Park Synopsis Volt_Components Rev_Park (Volt_Components Volt_Input) Description This function transforms stator voltage vq and vd, belonging to a rotating frame synchronous with the rotor, to a stationary reference frame, so as to obtain vα and vβ. See Section 5.4.2 for details. 72/121 Input Stator voltages vqs and vds (in q1.15 format) as members of the variable Volt_Input, which is a structure of type Volt_Components. Returns Stator voltages vα and vβ (in q1.15 format) as members of a structure of type Volt_Components. Functions called mul_q15_q15_q31