03.08.2013 Views

Embedded Software and Motor Control Libraries for PXR40xx

Embedded Software and Motor Control Libraries for PXR40xx

Embedded Software and Motor Control Libraries for PXR40xx

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Equation GMCLIB_DecouplingPMSM_Eq4<br />

where u_dq is the voltage vector calculated by the controllers (with the already<br />

compensated back EMF component), u_dq_comp is the feed-<strong>for</strong>ward compensating<br />

voltage vector described in GMCLIB_DecouplingPMSM_Eq3, <strong>and</strong> u_dq_dec is the<br />

resulting decoupled voltage vector to be applied on the motor terminals. Substituting<br />

GMCLIB_DecouplingPMSM_Eq3 into GMCLIB_DecouplingPMSM_Eq4, <strong>and</strong><br />

normalizing GMCLIB_DecouplingPMSM_Eq4, results in the following set of equations:<br />

Equation GMCLIB_DecouplingPMSM_Eq5<br />

where subscript f denotes the fractional representation of the respective quantity, <strong>and</strong> U<br />

max, I max, Ω max are the maximal values (scale values) <strong>for</strong> the voltage, current <strong>and</strong> angular<br />

velocity respectively.<br />

Real quantities are converted to the fractional range [-1, 1) using the following equations:<br />

Equation GMCLIB_DecouplingPMSM_Eq6<br />

Further, rearranging GMCLIB_DecouplingPMSM_Eq5 results in:<br />

Equation GMCLIB_DecouplingPMSM_Eq7<br />

<strong>Embedded</strong> <strong>Software</strong> <strong>and</strong> <strong>Motor</strong> <strong>Control</strong> <strong>Libraries</strong> <strong>for</strong> <strong>PXR40xx</strong>, Rev. 1.0<br />

Chapter 4 API References<br />

Freescale Semiconductor, Inc. 469

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!