236200412Vol.23No.6JournalofLiaoningTechnicalUniversityDec.20042004-03-237400271960-,1008-0562(2004)06-0793-03MATLAB010062SIMULINKMATLABSVPWMTMS240F2407DSPTMS320F2407TIDSPMATLABTM301.2AMethodofspacevectorPWMbasedonMATLABZHANGRun-heCUILi-li(CollegeofInformationEngineeringInner,MongoliaPolytechnicUniversityHuhehot,Huhehot010062,China)AbstractSpacevectorpulsewidthmodulatewhichisanewwayofmodulation.Ithassuperioritywithsinepulsewidthwhichbringthemagneticfieldroundnessandreducethepulseofvoltage.TheprincipleofspacevectorPWMofthree-phaseACmotoranditisimplementationareintroduced.InthispaperThesimulationbySimulinkinMATLABisdiscussedandthemodelofPMSMisbuild.WiththemodelofPMSMandarithmeticofSVPWMthewaveofthetheoryisobtained.SoftwareofthespacevectorPWMisworkedoutandcorrelatedexperimentresultsareachievedwhichisbasedonanDSPmotorcontrollerTMS320LF2407intheend.TMS320LF2407isagoodwaywhichhaslow-price,high-performanceofcorewithDSPandsoon.Itreducestheveinsofsystem,andimprovestheprecisionofthecontrol.KeywordsSVPWMMATLABDSPPWMPWM(SPWM)(SVPWM)SPWMSVPWM[1]1VaVbVc6IGBTa'ab'bc'cabc1'a'b'c01Fig.1structureofthreephasesinverterwithloadABCN23794],,[cbaabVbcVcaVaVbVcVαβsVαsVβ(1)812SVPWMoutU⎥⎥⎥⎦⎤⎢⎢⎢⎣⎡⎥⎥⎥⎥⎦⎤⎢⎢⎢⎢⎣⎡−=⎥⎦⎤⎢⎣⎡cbassVVVVV232302121132βα1ToutU0U60UoutU2=+++000032)32)(2321()(TOUjTUTdcydcxoutUejθTs2(2))πsin(3outθ−3=dcxUTUT3θsin3outdcxUTUT=4))πcos(3(out0θ−6−=dcUTUTT5outU0TxysTTT+≤00T≥SVPWMxTyT0TSVPWMVoutαβUalfaUbetaPWMTVout(6)Uout6UalfaUbetaUout(),αβ,,xyzVref101x=0x=Vref201y=0y=Vref301z=0z=⎪⎪⎪⎩⎪⎪⎪⎨⎧×+−=×+−==2323alfabetaref3alfabetaref2beta1UUVUUVUVref624Nxyz=+×+×N21NTab.1relationofNandsectorN123456XYZxTyTX=Ubeta3(21betaalfaVVY+=)3(21betaalfaUUZ+−=xTyT2xTyTxyTTT+/()xxxyTTTT=+/()yyxyTTTT=+2Tab.2relationofsectorandTimeTxZYZ−X−XY−TyYX−XZY−Z−1cmT2cmT3cmT2Fig.2modulatewaveoffan6MATLAB795()/4/2/2axybaxcbyTTTTTTTTTT=−−=+=+7(3)1cmT2cmT3cmT3Tab.3relationofswitch-timeandsectorSector1cmTTbTaTaTcTcTb2cmTTaTcTbTbTaTc3cmTTcTbTcTaTbTaSVPWMsimulinkMATLAB3,4/s4Fig.4filtervoltageofoutputTMS320F240733ns32kFlash544RAMEVAEVB2331PWM16-500ns/42IO/ms5Fig.5resultofexperimentCANSCISPIPWMSVPWM/PWMTMS320F2407SVPWM[7]5MATLABSVPWMMATLABSVPWM[1],.[M].:,2003.[2],.[J].,2001,(5)75-79.[3].DSP[J].,2002,(5):51-55.[4].PWM[J].,2002,(7):7-9..[5],.MATLAB[J].,2001,(4):32-35.[6],.DSP-TIDSP[M].,2003.[7],.TMS320LF240xDSPC[M].:,2003.3Fig.3simulinkfigure/V/V00.20.40.60.80.010.020.040.050.03