您好,欢迎访问三七文档
当前位置:首页 > 商业/管理/HR > 公司方案 > 基于AVR单片机的SPWM控制技术
第24卷第9期2007年9月MECHANICAL&ELECTRICALENGINEERINGMAGAZINEVo.l24No.9Sep.2007:2007-03-29:(1981-),,,基于AVR单片机的SPWM控制技术傅胜阳,陈辉明,王正仕(,310027):叙述了单相全桥电压型逆变器SPWM调制的原理,分析了单极性倍频调制的优点和采用的理由在介绍了AVR单片机AT90PWM2的基础上,描述了用AT90PWM2实现单极性倍频SPWM调制的方法,制作了实际的逆变器样机,并应用于1kW汽油发电机组中,工作性能稳定最后给出了实验波形,实验结果表明,输出电压波形光滑对称性好失真度低:逆变器;正弦脉宽调制;规则采样;单片机;谐波畸变率:TM46:A:1001-4551(2007)09-0026-04SPWMcontrolbasedonAVRsinglechipmicyocoFUSheng-yang,CHENHu-iming,WANGZheng-shi(CollegeofElectricalEngineering,ZhejiangUniversity,Hangzhou310027,China)Abstract:TheprincipleofSPWMmodulationinsingle-phasefullbridgevoltagemodeinverterwasrepresented.Theadvantageofsinglepolarfreqnency-doublingmodulationandthereasonofadoptionwereanalyzed.ThemethodforrelizingSPWMwithsinglepolarfreqnency-doublingwasdescribled,basedonAVR8-bitSCMAT90PWM2.Theprototypeofinverterwasmade,whichwasappliedingasolinegenerationsetwith1kW.Theinverterhasstablefunction.Finallytheexperimentalresultswereillustrated.Theresultsshowthismethodcanachievegoodoutputwaveform,theoutputvoltagewaveformissmooth,symmetricalgood,andscaledistortionislow.Keywords:inverter;sinepulsewidthmodulation(SPWM);singlechipmicyoco(SCM);totalharmonicdistortion(THD)0前言UPS,SPWMSPWM,,,,SCMDSP[1,2]AVRATMEL81MIPS/MHz,20MHz///PWM,,[3]AVRAT90PWM2SPWM1SPWM调制原理,1,:[4],,,2Uc1Uc2UgUgUc1Q1Q2;UgUc2Q3Q42,,1SPWM2/1,,SPWM,[5]22规则采样法/,SPWM,,[6],,,,3,,AB3,:ur=msinXrt,,m(0m[1),XrTc1:1+msinXrtDR/2=2Tc/2:R=Tc2(1+msinXrtD)(1):R=Tc2(1-msinXrtD)(2)3实验系统的软\硬件设计3.1AT90PWM2AT90PWM2AVR,,4:(1)8RISC,1MIPS/perMHz,16MHz(2)4k(ISP)flash,boot,512SRAM,512EEPROM(3)112PWM(PowerStageControllers)(4)11110/(ADC),110/(DAC),2(5)29(6)UARTSPIIIC453.2,5AT90PWM22(PSC0PSC2)SP-WM,4IGBTPSC0Q1Q4;PSC2Q2Q3PSC0PD0#27#9,:AVRSPWMPB7,PSC2PB0PB13.3PSCAT90PWM2212PSC0PSC2,4(FourRampmodeTwoRampmodeOneRampmodeandCenterAlignedmode)2,PSC0PSC2PSC,6PSCCounterOCRnRB,,PSCCounterOCRnSBOCRnSA,PSCnPSCOUTn0PSCOUTn1(n=02)PSCPSCOCRnRB:f=fPSC2@OCRnRBPSCCounter,,16MHz,OCRnRB8k,:OCRnRB=10003.4OCRnRB,OCRnSBOCRnSA,(1)(2)SPWMOCRnSBOCRnSATc/2OCRnRB=1000,160,m0.9(1)(2),,,,OCRnSBOCRnSA,PSCCounter,SPWMPSC,OCRnSBOCRnSA,,64实验波形1,1kW6230V,50Hz,8k,160,350VAT90PWM2PSC0PSCOUT00PSCOUT01SPWM,7PSC2,180bPWM8k,,,,SPWMLC,8,7SPWM8(下转第32页)#28#243结束语UCC2818APFC0.5~0.70.99,THD10%,,PFC,(Reference):[1]ZHANGZhong-quan,TANGYu-peng,HUAWe.iResearchonhigh-powersingle-phaseactivepowerfactorcorrectionmaincircuit[J].TelecomPowerTechnologias,2004,21(3):22-25.[2]AXELSONJ.ParallelPortComplete,LakeviewResearch[M].MadisonUSA,1999.[3]JOVANOVIEMM,JANGY.Anovelactive5nuhberforhigh-powerboastconverters[J].REETransonPowerE-lectronic,2000,15(2):278-284.[4]QIAOC,SMEDLEYKM.Atopologysurveyofsinglestagepowerfactorcorrectionwithaboosttypeinputcurrentshaper[J].IEEETransonPowerElectronics,2001(16):360-368.[5]RUANXin-bo,LIBin.Zero-voltageandzero-current-switcffingPWMhybridful-lbridgethree-levelconverter[J].ProceedingsoftheCsee,2002,23(4):9-14.[6],.BoostPFC[J].:,2002,28(4):488-490.[:](上接第28页),1.2mH,6.8LF,,,,THD25结束语AT90PWM2PWM,,SPWM,,,,(Reference):[1].[M].:,2006.[2]DENGH,ORUGANTIR,SRINIVASAND.DigitalControlofSingle-phaseUPSInverterswithModifiedPWMTechnique[C].Proceedingsof200435thAnnuaIEEEPowerElectron-icsSpecialistsConferenceAachen,Germany:IEEE,2004:1365-1371.[3],,.AVR-GCCAVRC[M].:,2004.[4].[M].:,2004.[5]ZHANGK,KANGY,XIONGJ,eta.lDirectRepetitiveControlofSPWMInverterforUPSPurpose[C].IEEETrans.PowerElectron,2003:781-792.[6],,,.SPWM[J].,2005,25(1):32-37.[:]2008黄金版面先订先得!欢迎垂询接洽!为进一步推动本刊广告业务的快速发展,本刊特制定2008年广告优惠政策:广告客户享受更大幅度的优惠价格,广告客户发表论文减免版面费,并可安排加急刊出,为广告客户免费提供平面设计服务,免费赠送样刊电话:0571-8723952587041360网址:机电工程杂志社#32#24
本文标题:基于AVR单片机的SPWM控制技术
链接地址:https://www.777doc.com/doc-4611585 .html