DSP2812(20067):(19792),,,DSP2812,(,430070):DSP2812,C,:;;;:TM862:A:100125531(2006)0720023204DesignofMagneticBearingControllerBasedonDSP2812XIAHui,QUANShu2hai(SchoolofAutomation,WuhanUniversityofScienceandTechnology,Wuhan430070,China)Abstract:ThecomposingofhardwareofthemagneticbearingcontrolleronthebasisDSP2812andthedesignofperipheralcircuitswereexpatiated.Multi2modecontrollingmeanswasadoptedandthecorrespondingsoftwarewaswrittenusingC.Experimentresultsshowthatthesystemhasthewellcontrollingeffect.Keywords:magneticbearing;digitalsignalprocessor(DSP);controller;multi2mode0,,,,,,DSP(TMS320F2812)/,1(1):,,,,1,22.12.1.1(DSP)1DSPTMS320F2812,TI200332bitDSP150MHz,128KBFlash,18KBRAM,1612bitADC,ANCIC/C++TMS320F28121612bitADC,ADC,,32(20067)DSP2812,,DSP,,,2.1.2D/AD/AMaximMAX526,412bit,-5V,+12V,8bit2(8LSB,4MSB),DACDACMAX5263s1LSB,/,CPU,,2MAX526TMS320F2812,3MAX526,,DSPCPLD,,MAX5265VMAX63503DA2MAX52628122.1.3CPLD,,,,,CPLD,,PCB,PCCPLD,CPLD,AlteraCPLDMAX7128,,LCDD/AUSB,D/A2.1.42,USBDSPUSBPhilipsPDIUSBD12USB1.1,,SIEFIFO,,2Mb/s,DMA,USB,DSPUSB,GoodLink,LEDPDIUSBD123,:016Byte,;116Byte,;264Byte(128Byte),2.22.2.1:(DSP,,,)ADDA342DSP2812(20067)3,DSP,,,,,,,AD(),,DA,,AD,,,DA0,PID,,,2.2.2(Multi2ModeControl),PID,,,,,BB(Bang2Bang)2PID2PD2HoldC,A,,IFCTHENA:C={Ci1,Ci2,,Cim};A={A1,A2,,Am};i=1,2,,m={1,2,,n}U={U1,U2,,Un},fU,f:U,f()=U;,,,,4,4(5)5enen-1;en=en-en-1;13,e,enen0;24,e,enen0;t1t3,enen-10enen0;,enen-10enen0,(1)Bang2BangBang2Bang,,,,|e|(52(20067)DSP2812),(UmaxUmin),,(2)PDenen0,,524,,,PD,,(3)PIDenen0,,513,,PID(4)Holde=0,,U(n)=U(n-1),,,ee,,,,,,,3,PID,676PID7PID7.02ms,36ms;5.2ms,23.4msPID,,4TIDSPTMS320F2812(CPLD),,12bitDAC,,,,,,DSP[1]TexasInstrumentsIncorporated.TMS320C28XDSPCPU()[M].,.:,2004.[2],.[J].(),2003(1):4649.:200620122062