AN2530 Freescale Semiconductor / Motorola, AN2530 Datasheet

no-image

AN2530

Manufacturer Part Number
AN2530
Description
Standard Space Vector Modulation with Dead-Time Correction TPU Function Set
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
Application Note
AN2530/D
Rev. 0, 5/2003
Standard Space Vector
Modulation with Dead-Time
Correction TPU Function Set
(svmStdDt)
By Milan Brejl, Ph.D.
Functional Overview
The Standard Space Vector Modulation with Dead-Time Correction TPU
function set (svmStdDt) extends the functionality of the Standard Space Vector
Modulation TPU function set (svmStd) by the dead-time correction technique.
Apart from this the functionality is the same in all aspects.
The dead-time correction technique requires knowledge of the instantaneous
direction of phase currents. In the case of positive phase current the top
channel high-time is equal to the calculated high-time and the bottom channel
has to control the dead-time. In the case of negative phase current the bottom
channel low-time is equal to the calculated high-time and the top channel has
to control the dead-time. See
Freescale Semiconductor, Inc.
For More Information On This Product,
In case of positive current:
In case of negative current:
Go to: www.freescale.com
Figure 1. Dead-Time Correction Technique
Figure
DT
DT
calculated
high-time
1.
DT
DT
top channel
bottom channel
top channel
bottom channel
© Motorola, Inc., 2003

Related parts for AN2530

AN2530 Summary of contents

Page 1

... Freescale Semiconductor, Inc. Application Note AN2530/D Rev. 0, 5/2003 Standard Space Vector Modulation with Dead-Time Correction TPU Function Set (svmStdDt) By Milan Brejl, Ph.D. Functional Overview The Standard Space Vector Modulation with Dead-Time Correction TPU function set (svmStdDt) extends the functionality of the Standard Space Vector Modulation TPU function set (svmStd) by the dead-time correction technique ...

Page 2

... Freescale Semiconductor, Inc. AN2530/D The function set consists of 5 TPU functions: • • • • • The svmStdDt_top and svmStdDt_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 ...

Page 3

... Table 3 show two examples of configuration. Table 2. Example of configuration Channel TPU function 0 svmStdDt_top Go to: www.freescale.com AN2530/D Function Set Configuration Table 3. One or more channels Assignable channels any 3 channels, within each phase a lower TPU channel than the same phase svmStdDt_bottom any 3 channels, within each phase a ...

Page 4

... Freescale Semiconductor, Inc. AN2530/D Table 4 TPU function svmStdDt_top svmStdDt_bottom svmStdDt_sync svmStdDt_res svmStdDt_fault Configuration Order The CPU configures the TPU as follows. 1. Disables the channels by clearing the two channel priority bits on each 2. Selects the channel functions on all used channels by writing the 3. Initializes function parameters. The parameters T, prescaler, DT, MPW, ...

Page 5

... HSR bits are cleared to indicate that initialization of the PWM channels has completed and – assign a priority to the svmStdDt_sync or svmStdDt_res channels to enable their initialization Go to: www.freescale.com AN2530/D Detailed Function Description and u have to be adjusted during run á â ...

Page 6

... Freescale Semiconductor, Inc. AN2530/D The TPU writes the parameter Sector, which indicates the current Stator Reference Voltage Vector position in sector The following figures show the input Stator Reference Voltage Vector components u cycle ratios: Figure 3. Standard Space Vector Modulation with Dead-Time Correction ...

Page 7

... Standard Space Vector Modulation with Dead-Time Correction TPU Function Set (svmStdDt) For More Information On This Product, `Ã1Ã Ã1Ã Ã32Ã Ã1Ã YÃ12Ã YÃ3Ã YÃ12Ã V. IV. III. VI. Go to: www.freescale.com AN2530/D Detailed Function Description `Ã32Ã Ã32Ã YÃ3Ã I. II. 7 ...

Page 8

... Freescale Semiconductor, Inc. AN2530/D Phase A: Positive current bottom channel Phase B and Phase C similarly with ht Host Interface Standard Space Vector Modulation with Dead-Time Correction TPU Function Set (svmStdDt) top channel center_tim e low - high center_tim e high - low center_tim ...

Page 9

... Host Service Bits (HSR Host Sequence Bits (HSQ) 0 Channel Interrupt Enable 0 Channel Interrupt Status Go to: www.freescale.com AN2530/D Detailed Function Description Options x – Not used Options svmStdDt_bottom function number (Assigned during assembly the DPTRAM code from library TPU functions) 00 – Channel Disabled 01 – ...

Page 10

... Freescale Semiconductor, Inc. AN2530/D Channel 10 Standard Space Vector Modulation with Dead-Time Correction TPU Function Set (svmStdDt) Table 7. svmStdDt_top and svmStdDt_bottom Parameter RAM Parameter ...

Page 11

... Parameters written by both TPU and CPU 1-bit Parameters written by TPU Go to: www.freescale.com AN2530/D Detailed Function Description LHtime_CB HLtime_CB min_ht max_ht DT MPW Description Stator Reference Voltage Vector components 0 ...

Page 12

... Freescale Semiconductor, Inc. AN2530/D Table 8. svmStdDt_top and svmStdDt_bottom parameter description Sector fault_pinstate Other parameters are just for TPU function inner use. Performance NOTE: Execution times do not include the time slot transition time (TST = IMB clocks) 12 Standard Space Vector Modulation with Dead-Time Correction TPU Function Set (svmStdDt) ...

Page 13

... Standard Space Vector Modulation with Dead-Time Correction TPU Function Set (svmStdDt) For More Information On This Product, LH_C5 LH_C5 HL HL LH_C5 LH_C5 HL HL LH_C5 LH_C5 HL HL LH_RLD HL HL LH_RLD to: www.freescale.com AN2530/D Detailed Function Description HL HL LH_C5 LH_C5 LH_C5 LH_C5 LH_C5 LH_C5 C1 ...

Page 14

... Freescale Semiconductor, Inc. AN2530/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 5. svmStdDt_top and svmStdDt_bottom state diagram Minimum Pulse Width The TPU cannot generate PWM signals with duty cycle ratios very close 100% ...

Page 15

... Figure 6. Effect of limitation center_time center_time Figure 7. Timing of the worst case Table 10). Each state is preceded by the Time Slot Transition Go to: www.freescale.com AN2530/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 16

... Freescale Semiconductor, Inc. AN2530/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 svmStdDt functions are designed so that no other svmStdDt state can request service at this time ...

Page 17

... 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 is 100 – DT IMB clock cycles. MPW (in IMB clock cycles) = 100 + – to: www.freescale.com AN2530/D Detailed Function Description H H TST TST ...

Page 18

... Freescale Semiconductor, Inc. AN2530/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 much more complicated. It requires some familiarity with the details of the TPU priority scheme ...

Page 19

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

Page 20

... Freescale Semiconductor, Inc. AN2530/D TPU function svmStdDt_sync generates an interrupt after each low to high transition. Channel Parameter move pw 20 Standard Space Vector Modulation with Dead-Time Correction TPU Function Set (svmStdDt) Table 11. svmStdDt_sync Control Bits Name 1 0 Host Service Bits (HSR Host Sequence Bits (HSQ) ...

Page 21

... center_time center_time T T Figure 11. svmStdDt_sync timing Go to: www.freescale.com AN2530/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 22

... Freescale Semiconductor, Inc. AN2530/D HSR = 10 HSR = 10 INIT INIT S1 S1 Figure 12. svmStdDt_sync state diagram Resolver Reference The svmStdDt_res TPU function uses information read from the svmStdDt Signal for Standard PWM functions, the actual PWM center times and the PWM periods. This Space Vector ...

Page 23

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

Page 24

... Freescale Semiconductor, Inc. AN2530/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. 24 Standard Space Vector Modulation with Dead-Time Correction TPU Function Set (svmStdDt) Table 16 ...

Page 25

... Standard Space Vector Modulation with Dead-Time Correction TPU Function Set (svmStdDt) For More Information On This Product, Table 18. svmStdDt_res State Statistics State Max IMB Clock Cycles center_time T Figure 14. svmStdDt_res timing S3 Go to: www.freescale.com AN2530/D Detailed Function Description RAM Accesses by TPU center_time T 25 ...

Page 26

... Freescale Semiconductor, Inc. AN2530/D Host Interface 3 2 TPU function svmStdDt_fault generates an interrupt when a high to low transition appears. Channel 26 Standard Space Vector Modulation with Dead-Time Correction TPU Function Set (svmStdDt) Written By CPU Written By TPU Table 19. svmStdDt_fault Control Bits Name 1 0 Channel Function Select ...

Page 27

... Parameters written by TPU Table 22. svmStdDt_fault State Statistics State Max IMB Clock Cycles INIT FAULT 44 NO_FAULT Figure 16. svmStdDt_fault timing FAULT Figure 17. svmStdDt_fault state diagram Go to: www.freescale.com AN2530/D Detailed Function Description Description State of fault pin: 0 ... low 1 ... high RAM Accesses by TPU FAULT ...

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 AN2530/D Rev. 0 5/2003 For More Information On This Product, ...

Related keywords