华中科技大学硕士学位论文同步发电机励磁控制系统研究与开发姓名:陈发智申请学位级别:硕士专业:控制理论与控制工程指导教师:徐金榜20090501ITMS320F2812DSPPIDPSSTMS320F2812C++Saber10%DSPTMS320F2812IIAbstractExcitationsystemisanimportantpartinsynchronousgenerator.Itcandirectlyaffecttheoperatingperformanceofthegenerator,andthereforehasanimportantimpactonthesafeandstableoperationoftheelectricpowersystem.Withthedevelopmentofmodernelectricpowersystem,higherrequirementshavebeenputforwardtotheexcitationcontrolsystemforsynchronousgenerator.Now,theexcitationcontrolsystemforsynchronousgeneratorhastransformedfromanalogtypetodigitaltype.Theapplicationofhigh-performancedigitalsignalprocessors(DSP),suchasTMS320F2812,hasgreatlyimprovedtheperformanceoftheexcitationcontrolsystemforsynchronousgenerator.Thisthesisfirstgivesabriefintroductionoftheexcitationcontrolsystemforsynchronousgeneratoronitsbasicconcepts,classification,andcurrentresearchstatus;studiesavariationofcontrolmethods,suchasPIDexcitation,powersystemstabilizer(PSS)control,andlinearoptimizingexcitationcontrol,etc;andgivesanalysisandcomparisonoftheirapplicationstatusinrealsystem.ThenthisthesisdesignsthehardwarecircuitfortheexcitationcontrolsystembasedonTMS320F2812,andgivesdetailedanalysisonanalogsamplingmodule,binaryinputandoutputmodule,zero-crossingdetectionmodule,communicationmodule,storagemoduleanddisplayinterfacemodule.Onthesoftwareaspect,thisthesisdiscussesthedesignmethodandstructureforexcitationcontrolsystem,emphasizesonthedetectionofaccurrent,realizationofthree-phasesynchronoussignalandsingle-phaseintelligentsynchronoussignaltriggering,andprogramdesignofLCDcontrolandupper-PCmonitor’sC++programming.Inthelastpart,thisthesisbuildsasimulationplatformfortheexcitationsysteminSaber,setsthecorrespondingsimulationenvironment,andthengetstheexperimentalwaveformsrespectivelyintheconditionofnon-loadstarting,tenpercentsetpointstep,abruptchangeofload,andparallelrunning.Besides,thisthesisverifiestheaccordanceofcontrolparametersandalgorithmschanges’impactinsimulationwiththeoreticalanalysis.Keywords:synchronousgeneratorexcitationcontrolDSPTMS320F2812□_____□“√”111.1“TMS2812”2[1-4]1)——2)3)4)1.23[1-2]1)2)100-200Hz400-500Hz3)41.31.3.1600MW[2]1.3.25[5-9][10-12]1)PIDPSS2)3)4)1.4“TMS2812”1)PIDPSS2)TMS320F281263)C++4)Saber10%TMS320F281272PIDPSSPIDPSS2.1PID2.1.1PIDPIDr(t)e(t)y(t)u(t)+-+++2.1PIDPIDPID[13]0()()()[()]tpiddutKetKedKetdtτττ==++∫(2.1)u(t)e(t)tτ8KpKiKdDSPPID()()ppKetKek=00()[()(1)]2tkiiihKedKeieiτττ==≅+-∑∫()(1)[()][]dddekekKetKdth--≅t=k*hhkk=012…'2iihKK='ddKKh=PID''0()()[()(1)][()(1)]kpidiukKekKeieiKekek==++-+--∑(2.2)()(1)[()(1)]sumksumkekek=-++-(2.3)''()()()[()(1)]pidukKekKsumkKekek=++--(2.4)u(k)u(k)9''()[()(1)]()[()2(1)(2)]pidukKekekKekKekekekΔ=--++--+-(2.5)PID3[1]1)2)PIDPID2.1.2PID[1]KpKpKpKpKpKiKiKdKdKp10PID[1,4]1)PIDPIDPIDPDPID2)PID3)PID4)PIDPIDPIDPID(PSS)[14-15]11[2][2]IEEEStd421.5-2005(PSS1A)[16-18]2.2PSSPSS1AT6KST5A1A2T1~T4-PSS12“”PSS[19]12IEEEStd421.5-2005(PSS2B)2.3PSSPSS2BVSI1VSI2TW1~TW4T6T7T8T9MN54T1~T4T10T11--KS1~KS3PSSKS31KS2T7/2HH(2.6)1()2mePPtHω∂Δ=Δ-Δ∂(2.6)HmPΔePΔωΔ1()2mePPtHωΔ=Δ-Δ∂∫(2.7)2mePtHPtωΔ∂=Δ+Δ∂∫∫(2.8)[18]13()()()()()222aeePsPsPsGssHsHsHsωΔΔΔ⎡⎤=-++Δ⎢⎥⎣⎦(2.9)89(1)()(1)NMsTGssT⎡⎤+=⎢⎥+⎣⎦PSS2B2.31)[21-23][23](1)(2)(3)2)[24]143)2.4PID+PSS90%PSS[25-26][25]PID+PSSPID+PSS2.5PIDPSSPID+PSS153[27-30][31-35]3.1DSP80C196KCTITMS320DSPTITMS320F2812TMS320F281232CPUI/O150MHzTMS320F28121632C/C++TMS320F28121612ADC12.5MSPSTMS320F2812——PWMCaptureQEPTMS320F2812SPISCIeCAN[36-37]TMS320F2812TIC28xCC28xC163.11)17DSPADC2)3)4)RS-232RS-485CAN5)RAMEEPROM6)3.2.1[4]1)2)TMS320F2812ADC0~3VPTCT100V5A18-2.7V~+2.7V1.65VADCADCADCRCRADCCADC3.23.2.224VDSPI/O3.3VTLP521-424V5V74HC143.3VDSP3.3DSP3.3V74HC245[38]3.4193.2.3TL084DSPCaptureUabIaDSPCapture3.53.63.2.41)RS-232RS-485DCSTMS320F2812SCIRS-232RS-485SCIASCIBRS-232RS-485MORNSUN5VDC/DCB0505LS_1W6N137RS-232MAX232RS-485MAX485203.7RS-2323.8RS-4852)CANTMS2812eCANCANMORNSUN5VDC/DCB0505LS_1W6N137CANPCA82C2503.9CAN3.2.51)RAMTMS320F2812ISSI128k×16RAMIS61LV12816RAM3.3VDSP3.10213.10RAM2)EEPROMPIDEEPROMAtmelEEPROMAT93C66ATMS320F2812SPI3.113.11EEPROM3.2.6SED1335320×240STC89C516RD+SED1335P0SED1335RDWRRDWRSED1335A0CSP2.0P2.73.12223.123.3.1PID3.1323DSPPIDDSP3.13243.3.2PTPTPTCTADCADC422521.65V3.14ADC3.14253.3.3PIDPID3.3.4120°60°0.55msTMS320F281260°IOIO1)TMS320F2812CaptureTMS320F2812CaptureCAP4~CAP6α3.15263.153.163.17PIE3.163.17272)260°3α43.183.21283PIEPIE34260°33.183.19329PIE443.2023.214303.3.5V/F1)2)3)4)V/F5)PTPT6)1.17)130%3.3.61)31(1)SYSTEMSET(2)SCROLL(3)OVLAY(4)CSRFORM(5)DISPON/OFF(1)(2)(3)(4)PID(5)DSPDSP3.22323.222)C++BuilderBorlandC/C++(1)33WindowsCOMCreateFileHANDLEhCom[39]2048DCBdcbCOMMTIMEOUTStimeouthCom3.23343.23(2)Window——Timer11616DSP1635DSPC++BuilderWindowshCom(3)3.4364[40-42]SaberSynopsys——SaberSketchSaberSimulatorCosmosScopeSaber4.10.015Ω15.7uH0.2Ω12.5mH314.15926535rad/s50Hz6ACBACB60°120°10°4.14.1374.2PIDPID0~11PID380V1)PIDPIDKP=0.6KI=0.5KD=0.4UabIf4.24.34.2Uab384.3IfUabUab4.44.4UabPID(1)KP0.7KIKD4.54.6394.5KP4.6KP(2)KI0.6KPKD4.7404.7KI(3)KD0.7KPKI4.84.8KDKPKIKD2)PIDPIDPIDPIDKP=0.6KI=0.5KD=0.4PID412804.94.9PIDPI