北京理工大学珠海学院2010届本科生毕业论文I风光互补发电系统摘要进入二十一世纪,人类面临着实现经济和社会可持续发展的重大挑战,而能源问题日益严重,一方面是常规能源的匮乏,另一方面石油等常规能源的开发带来一系列的问题,如环境污染、温室效应等。人类需要解决能源问题,实现可持续发展,只能依靠科技进步,大规模开发利用可再生能源和新能源。而太阳能和风能被看做是最具有代表性的新能源和可再生能源,作为这两种能源的高级利用太阳能发电和风力发电技术受到世界各国的高度重视。由于风力发电和太阳能发电系统均受到外部条件的影响,光靠独立的风力或太阳能发电系统经常会难以保证系统供电的连续性和稳定性,因此,在采用风光互补的混合发电系统来进行相互补充,实现连续、稳定地供电。风光互补发电以其独特优势成为新能源研究的热点之一。本文针对风光互补发电系统设计了一套小型模拟装置,包括太阳能电池模拟,用直流电机对风机的模拟和交错并联Buck-Boost蓄电池充电主电路,并对交错并联Buck-Boost电路和交错并联Cuk斩波电路进行了研究、仿真,以及进行了模拟风机装置的调试。系统控制全部采用Freescale公司的56F8013DSP控制实现,给出了各部分流程图。对于软硬件的关键问题还给出了相应解决方案。关键词:风光互补Buck–Boost电路DSP北京理工大学珠海学院2010届本科生毕业论文IIWind&SolarHybridGeneratingSystemABSTRACTEnteringthe21stcentury,humanbeingsarefacingtorealizethesustainabledevelopmentofeconomyandsociety,andenergyproblembecomesmoreandmoreserious,ontheonehand,conventionalenergyisseriousshortontheotherhand,thedevelopmentofoilandotherconventionalenergybringsaseriesofproblems,suchastheenvironmentalpollution,thegreenhouseeffectandsoon.Onlybyrelyingontheprogressofscienceandtechnologyandthelarge-scaleexploitationandutilizationofrenewableenergyandnewenergycanhumansolvetheproblemofenergy,andrealizethesustainabledevelopment.Andsolarandwindpowerareconsideredthemostrepresentativeofnewandrenewableenergy,Thepowertechnologyofsolarenergyandwindattrackworld’sattention.Becauseofwindpowerandsolarpowersystemunderexternalconditions,andonlybyindependentwindorsolarpowersystemsoftenhardtoensurethecontinuityandconsistencyofpowersystemtherefore,usinghybridpowersystemofcomplementaryscenerytocomplementeachother,realizethecontinuous,stablepowersupply.Wind-lightcomplementarywithitsuniqueadvantagesbecomeoneofnewenergyresearchhotspots.Aimingatwind-lightcomplementarythisarticledesignasmalldevice,includingsolarcellsindcmotor,thesimulationandinterlacingoffanparallelBuck-hee,andmaincircuitbatteriestoBuckstaggeredshuntcircuitandinterlacingparallelhee-Cukchopperwerestudied,andthesimulation,thesimulatedfanunitcommissioning.ControlsystemadoptFreescalecompany56F8013DSPcontrolchart,eachpart.Thekeyquestionforsoftwareandhardwaretothecorrespondingsolutions.Keyword:WindandPVhybridBuck–BoostCircuitDSP北京理工大学珠海学院2010届本科生毕业论文III目录摘要......................................................IABSTRACT.................................................II1绪论.....................................................11.1能源问题................................................11.2风能太阳能的概况........................................11.3风光发电的发展概况......................................11.4本文的主要内容..........................................32风光互补发电系统总体方案的设计...........................42.1风光互补发电系统的组成及总体框图..........................42.2模拟太阳能电池框图......................................52.3模拟风力发电机组的组成及框图...........................63风光互补发电系统的硬件设计...............................73.1风光互补系统硬件的总体设计.............................73.2风光互补系统主电路.....................................83.3风光互补系统的电源模块.................................93.3.115V电压产生电路.......................................93.3.2±5V电压产生电路.......................................93.3.35V电压产生电路.......................................103.4检测模块...............................................113.4.1电压检测电路.........................................11北京理工大学珠海学院2010届本科生毕业论文IV3.4.2电流检测电路.........................................113.5驱动模块...............................................124风光互补发电系统的软件设计..............................144.1软件实现功能...........................................144.1.1模拟太阳能电池输出装置软件主要实现功能.................144.1.2直流电机电枢电流控制软件主要实现功能...................144.1.3蓄电池充电电路软件主要实现功能.........................144.2软件设计工具...........................................144.2.1软件开发环境CodeWarrior概述..........................154.2.2PE(ProcessorExpert)概述...............................154.3程序实现方法及流程图....................................154.3.1模拟太阳能电池输出流程图..............................154.3.2模拟风机流程图.......................................174.3.3蓄电池充电电路流程图..................................184.4程序关键部分的实现......................................204.4.1使用DSP芯片实现PWM移相..............................204.4.2单极性移相PWM控制的实现..............................214.4.3双极性移相PWM控制的实现.............................214.4.4DSP定标和标幺化.....................................214.4.4.1定标...............................................214.4.4.2标么化.............................................225系统仿真与调试..........................................23北京理工大学珠海学院2010届本科生毕业论文V5.1仿真工具简介...........................................235.2交错互补buck-boost斩波电路.............................235.2仿真模型...............................................235.2.1仿真结果.............................................235.2.3结果分析.............................................275.3模拟风机系统调试.......................................275.3.1调试设备.............................................285.3.2跟踪风机I-n曲线实验..................................285.3.3模拟太阳能电池输出曲线................................316结论....................................................33参考文献.................................................34附录...................................................35谢辞....