| Electronic Components Datasheet Search |
|
AN2388 Datasheet(PDF) 48 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN2388 Datasheet(HTML) 48 Page - STMicroelectronics |
|
48 / 54 page ![]() Software design AN2388 48/54 again expressed in PU quantities, so they may be implemented in 1.15 format by the DSP software library provided with the entire code. Inside the SVPWM module it is necessary to estimate the 3 reference voltages to discriminate the right place (Sector) where to place the proper space vector. This is done using the Calc_Ref routine,: ************************************************************************************ **************************Reference Voltages calculation* * Vref1 = Vbeta * * Vref2 = (Vbeta+Sqrt(3)*Valfa)/2* * Vref3 = (-Vbeta-Sqrt(3)*Valfa)/2* ************************************************************************************ *********************** void Calc_Ref(void) { qVref1 = qVbeta; mul_q15_q15_q31(qSqrtd2,qValfa,&qVref2_tmp1); mul_q15_q15_q31(q0dot5,qVbeta,&qVref2_tmp2); qVref2_1=(short)(qVref2_tmp1>>16); qVref2_2=(short)(qVref2_tmp2>>16); qVref2=(qVref2_1-qVref2_2); mul_q15_q15_q31(qSqrtd2,qValfa,&qVref3_tmp1); mul_q15_q15_q31(q0dot5,qVbeta,&qVref3_tmp2); qVref3_1=(short)(qVref3_tmp1>>16); qVref3_2=(short)(qVref3_tmp2>>16); qVref3 = (-qVref3_1-qVref3_2); ************************************************************************************ **************************End Routine * ************************************************************************************ ************************* The conversions of the inputs necessary for the SVPWM module, to the required numerical format: f x Vdc V inverse Vdc V V V Vdc V n n DCbus n n 15 . 1 3408 0 _ * 2 1 _ _ 23 . 1 325 400 _ ⎯→ ⎯ = = = = = |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |