AN2528 Freescale Semiconductor / Motorola, AN2528 Datasheet

no-image

AN2528

Manufacturer Part Number
AN2528
Description
Standard Space Vector Modulation TPU Function Set
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
Application Note
AN2528/D
Rev. 0, 5/2003
Standard Space Vector
Modulation TPU Function Set
(svmStd)
By Milan Brejl, Ph.D.
Functional Overview
Phase A - top
Phase A - top
Phase A - bottom
Phase A - bottom
Phase B - top
Phase B - top
Phase B - bottom
Phase B - bottom
Phase C - top
Phase C - top
Phase C - bottom
Phase C - bottom
Synchronization signal
Synchronization signal
Resolver reference signal
Resolver reference signal
Fault (input signal)
Fault (input signal)
Figure 1. Signals generated by svmStd TPU function set
Standard Space Vector Modulation (svmStd) is a technique that is used to
implement a straightforward method of switching motor windings in
applications such as AC induction motor control and PMSM motor control. The
function set consists of 5 TPU functions:
The svmStd_top and svmStd_bottom TPU functions work together to generate
a 6-channel 3-phase center-aligned PWM signal with dead-time between the
top and bottom channels. The Synchronization Signal for the svmStd function
Freescale Semiconductor, Inc.
For More Information On This Product,
Standard Space Vector Modulation – Top (svmStd_top)
Standard Space Vector Modulation – Bottom (svmStd_bottom)
Synchronization Signal for Standard Space Vector Modulation
(svmStd_sync)
Resolver Reference Signal for Standard Space Vector Modulation
(svmStd_res)
Fault Input for Standard Space Vector Modulation (svmStd_fault)
Go to: www.freescale.com
PW M period
PW M period
Change of
Change of
FAU LT !
FAU LT !
INITIALIZATIO N
INITIALIZATIO N
New
New
1.6 m s
1.6 m s
© Motorola, Inc., 2003

Related parts for AN2528

AN2528 Summary of contents

Page 1

... Freescale Semiconductor, Inc. Application Note AN2528/D Rev. 0, 5/2003 Standard Space Vector Modulation TPU Function Set (svmStd) By Milan Brejl, Ph.D. Functional Overview Standard Space Vector Modulation (svmStd technique that is used to implement a straightforward method of switching motor windings in applications such as AC induction motor control and PMSM motor control. The function set consists of 5 TPU functions: • ...

Page 2

... Freescale Semiconductor, Inc. AN2528/D can be used to generate one or more adjustable signals for a wide range of uses, that are synchronized to the PWM, and track changes in the PWM period. The Resolver Reference Signal for the svmStd function can be used to generate one or more 50% duty-cycle adjustable signals that are also synchronized to the PWM ...

Page 3

... Go to: www.freescale.com AN2528/D Function Set Configuration Priority high high high high high ...

Page 4

... Freescale Semiconductor, Inc. AN2528/D 3. Initializes function parameters. The parameters T, prescaler, DT, MPW, 4. Issues an HSR (Host Service Request) type %10 to one of the 5. Enables servicing by assigning high, middle or low priority to the channel NOTE: A CPU routine that configures the TPU can be generated automatically using the MPC500_Quick_Start Graphical Configuration Tool. ...

Page 5

... `Ã1Ã Ã1Ã Ã32Ã YÃ12Ã YÃ3Ã V. IV. III. Go to: www.freescale.com AN2528/D Detailed Function Description alpha alpha alpha beta beta beta 180 180 180 180 240 240 240 240 300 300 300 300 ...

Page 6

... Freescale Semiconductor, Inc. AN2528/D Sector I., IV.: Sector II., V.: Sector III., VI.: Phase A: Phase B and Phase C similarly with ht 6 Standard Space Vector Modulation TPU Function Set (svmStd ...

Page 7

... Channel Function Select 1 0 Channel Priority 1 0 Host Service Bits (HSR) Go to: www.freescale.com AN2528/D Detailed Function Description Written by both CPU and TPU Not Used Options svmStd_top function number (Assigned during assembly the DPTRAM code from library TPU functions) 00 – Channel Disabled 01 – ...

Page 8

... Freescale Semiconductor, Inc. AN2528/D TPU function svmStd_bottom generates an interrupt when the current values of Ualfa, Ubeta , T and prescaler have been read by the TPU, and indicates to the CPU that it can write new variables. The CPU program can either wait for this interrupt to occur, or poll the LD_OK bit to check it has cleared. The interrupt is generated at each reload by one of the bottom channels ...

Page 9

... Parameter Format Parameters written by CPU 16-bit fractional 16-bit unsigned integer 16-bit unsigned integer Go to: www.freescale.com AN2528/D Detailed Function Description htB HLtime_BT bottom_chan_B UA3 SQRT3 sync_presc_addr LHtime_BB HLtime_BB T_copy dec T prescaler htC HLtime_CT bottom_chan_C prsc_copy LHtime_CB ...

Page 10

... Freescale Semiconductor, Inc. AN2528/D Table 8. svmStd_top and svmStd_bottom parameter description DT MPW SQRT3 sync_presc_addr LD_OK Sector fault_pinstate Other parameters are just for TPU function inner use. Performance 10 Standard Space Vector Modulation TPU Function Set (svmStd) Parameter Format 16-bit unsigned integer 16-bit unsigned integer ...

Page 11

... LH_C5 LH_C5 HL HL LH_C5 LH_C5 HL HL LH_C5 LH_C5 LH_RLD LH_RLD to: www.freescale.com AN2528/D Detailed Function Description RAM Accesses by TPU LH_C5 LH_C5 LH_C5 LH_C5 LH_C5 LH_C5 C1 C1 ...

Page 12

... Freescale Semiconductor, Inc. AN2528/D - top - top Phase A Phase A - bottom - bottom - top - top Phase B Phase B - bottom - bottom - top - top Phase C Phase C flag0 = 1 flag0 = 1 flag0 = 1 - bottom - bottom INIT INIT flag0 = 1 flag0 = 1 HSR = 10 HSR = 10 Figure 4. svmStd_top and svmStd_bottom state diagram Minimum Pulse Width The TPU cannot generate PWM signals with duty cycle ratios very close 100% ...

Page 13

... Figure 5. Effect of limitation center_time center_time Figure 6. Timing of the worst case Table 10). Each state is preceded by the Time Slot Transition Go to: www.freescale.com AN2528/D Detailed Function Description Phase A Phase A Phase A Phase B Phase B Phase B Phase C Phase C Phase C 240 240 ...

Page 14

... Freescale Semiconductor, Inc. AN2528/D 10 IMB clock cycles. The service starts immediately after the top channel high to low transition, which occurs at a period of DT before the bottom channel low to high transition (see IMB clock cycles – DT. The svmStd functions are designed so that no other svmStd state can request service at this time ...

Page 15

... Calculate MPW based on case one or case two. – In case one the MPW is (according to TST + H + TST + M + TST+4 + LH_C5 + TST + L + TST – DT that – DT IMB clock cycles. MPW (in IMB clock cycles – to: www.freescale.com AN2528/D Detailed Function Description H H TST TST ...

Page 16

... Freescale Semiconductor, Inc. AN2528/D • When there are no channels of middle or low priority, simply leave out all the and the following TST or TST+4 from the formulas. When the recommended configuration rules are not adhered to, the timing of the worst case is considerably more complicated. It requires some familiarity with the details of the TPU priority scheme ...

Page 17

... Written By CPU Written By TPU Table 11. svmStd_sync Control Bits Name 1 0 Channel Function Select 1 0 Channel Priority Go to: www.freescale.com AN2528/D Detailed Function Description center_time center_time T T Written by both CPU and TPU Not Used Options svmStd_sync function number (Assigned during assembly the DPTRAM code from library TPU functions) 00 – ...

Page 18

... Freescale Semiconductor, Inc. AN2528/D TPU function svmStd_sync generates an interrupt after each low to high transition. Channel Parameter move pw 18 Standard Space Vector Modulation TPU Function Set (svmStd) Table 11. svmStd_sync Control Bits Name 1 0 Host Service Bits (HSR Host Sequence Bits (HSQ) ...

Page 19

... center_time center_time T T Figure 10. svmStd_sync timing Go to: www.freescale.com AN2528/D Detailed Function Description Description The number of PWM periods per synchronization pulse – use in case of synchronized prescalers change The number of PWM periods per synchronization pulse – use in case of asynchronized prescalers change ...

Page 20

... Freescale Semiconductor, Inc. AN2528/D HSR = 10 HSR = 10 INIT INIT S1 S1 Resolver Reference The svmStd_res TPU function uses information read from the svmStd PWM Signal for Standard functions, the actual PWM center times and the PWM periods. This allows a Space Vector signal to be generated, which tracks the changes of the PWM period and is Modulation always synchronized with the PWM ...

Page 21

... Host Service Bits (HSR Host Sequence Bits (HSQ) 0 Channel Interrupt Enable 0 Channel Interrupt Status Go to: www.freescale.com AN2528/D Detailed Function Description Written by both CPU and TPU Not Used Options svmStd_res function number (Assigned during assembly the DPTRAM code from library TPU functions) 00 – ...

Page 22

... Freescale Semiconductor, Inc. AN2528/D Channel Parameter move presc_addr prescaler Other parameters are just for TPU function inner use. Performance There is one limitation. The absolute value of parameter move has to be less than a quarter of the PWM period T. 22 Standard Space Vector Modulation TPU Function Set (svmStd) Table 16 ...

Page 23

... Standard Space Vector Modulation TPU Function Set (svmStd) For More Information On This Product, Table 18. svmStd_res State Statistics State Max IMB Clock Cycles INIT center_time T Figure 13. svmStd_res timing S3 Figure 14. svmStd_res state diagram Go to: www.freescale.com AN2528/D Detailed Function Description RAM Accesses by TPU center_time T 23 ...

Page 24

... Freescale Semiconductor, Inc. AN2528/D The function returns the actual pinstate as a value of 0 (low (high) in the parameter fault_pinstate. The parameter is placed on the Phase A – top channel to keep the fault channel parameter space free. Host Interface 3 2 TPU function svmStd_fault generates an interrupt when a high to low transition appears ...

Page 25

... Table 21. svmStd_fault parameter description Parameter Format Table 22Parameters written by TPU Table 23. svmStd_fault State Statistics State Max IMB Clock Cycles INIT FAULT 44 NO_FAULT Go to: www.freescale.com AN2528/D Detailed Function Description Description State of fault pin: 0 ... low 1 ... high RAM Accesses by TPU ...

Page 26

... Freescale Semiconductor, Inc. AN2528/D HSR = 10 INIT 26 Standard Space Vector Modulation TPU Function Set (svmStd) Figure 15. svmStd_fault timing FAULT Figure 16. svmStd_fault state diagram For More Information On This Product, Go to: www.freescale.com FAULT NO_FAULT NO_FAULT MOTOROLA ...

Page 27

... Freescale Semiconductor, Inc. MOTOROLA Standard Space Vector Modulation TPU Function Set (svmStd) For More Information On This Product, Go to: www.freescale.com AN2528/D Detailed Function Description 27 ...

Page 28

... MOTOROLA and the Stylized M Logo are registered in the US Patent and Trademark Office. All other product or service names are the property of their respective owners. Motorola, Inc Equal Opportunity/Affirmative Action Employer. © Motorola Inc. 2003 AN2528/D Rev. 0 5/2003 For More Information On This Product, ...

Related keywords