,,MeasurethevibrationofmotorbasedontheaccelerationsensorAbstractTheelectricmotorisonesortofthemostimportantelectricequipmentsinmodemmanufacturingFromlargeindustrialmotorstosmallappliances,electricmotorsareeverywhere.Itsfailurewouldproduceasignificantimpactonthemotor,therefore,weneedtomonitortheoperatingstatusofthemotor.Inthispaper,inordertomonitorthemotorrunning,sizeofthemotorvibrationismeasuredbytheaccelerationsensor,andusesthemicrocontrollertocollectthemotoraccelerationsignalandtransferittothecomputer.Theaccelerationfrequency-domainsignalisintegratedintothespeedsignalinthecomputer,andthenthespeedsignaliscomparedwiththemotorvibrationcriteria,toprovidethebasisforthemaintenanceofmotor.Wecandeterminethetimingofrepair.Keywords:Accelerationsensor,VibrationMeasurement,SignalProcessing,FailureAnalysis1.........................................................................11.1...........................................................................11.2..................................................................11.2.1..................................................................21.2.2..................................................................32.........................................................62.1..................................................................62.1.1MMA8452......................................................72.1.2NXPARMLPC1114....................................................82.1.3..................................................................82.2..............................................................92.2.1TTL485........................................................92.2.2RS-485RS-232.................................................102.2.3RS-232USB........................................................103...............................................................123.1...................................................................123.1.1.............................................................133.1.2.................................................................184................................................................204.1...........................................204.2...............................................................214.3.................................................................24..............................................................................27..............................................................................28.........................................................................29A........................................................................30B....................................................................38C....................................................................4611.1,,1.2[1]11004000Hz233000rpm[2]1.2.110Hz10Hz1kHz1kHz[3]tdtvtadttatvtdtv(1.2-1)tdtadttvtd2(1.2-2)d(t)v(t)a(t)ftDtdM2cos22cos22cos22sin2ftVftfDftfDtdtvMMM(1.2-3)ftAftDfftfVtvtaMMM2cos2cos22cos22(1.2-4)MMAfV21(1.2-5)MMMAfVfD22121(1.2-6)MMMAVDISO-23721.2.2AGMA1-11-110Hz10Hz--1KHz1KHz[4][4]1KHz1.1-2umISO10816315160H315H140DD14011390C71C57B45B3729A22A1-25.00-25.41.27-5.00.76-5.02.[4]VDI2056BS4675,1-31-3ISO2372ISO3945(MM/s)I0.280.28AAAA0.450.450.710.711.121.121.81.8B2.82.8CB4.54.5CBB7.17.1DC11.211.2DC1818D28284545D711I15KWII15KW-75KWIIIIV2ABCDABCDRMS2PCPC2-12-1PCPCPC2.1I2CInterIntegratedCircuit[5]2-2PC2-22.1.1MMA8452MMA8452QMMA8452Q12I2CMMA8452Q1.95V3.6V(ODR)1.56Hz800Hz99g/Hz128I2CInterIntegratedCircuit4.7k2.25MHz623-1-23/[6]I2CXYZI2C2.1.2NXPARMLPC1114ARMAcornRISCMachineARM32163235%32LPC1100L50MHzLPC1100LARM4500LPC1100L10mALPC1114ARMCortex-M050MHz32Kflash8KRAMI2CUART,SPI,ADC,42I/OLPC11141516I2CSCLSDAMMA8452LPC11144647UARTRXDTXD,SP34851RO4(DI)SP34853.3VRS-4852.1.3LPC11143.3VRS-48512V12V12V3.3VLPC111412VCS514115V5VCAT62193.3V12V3.3VCS5141112V3.3V3.3V12V3.3V2.2lpc1114UARTTTLTransistorTransistorLogic2.4V10.4V0TTL2-32-32.2.1TTL485RS4852V6V0-6V-2V1RS-485ABRS4852-4.RS-485DIRS-485AB485ABRS-485TTLRORXDLPC1114TTL485232USB2-44852.2.2RS-485RS-232PCRS232RS232/RS485PCRS232RS4852-52-54852322.2.3RS-232USBRS232USBRS-232USB/RS232USB33.11.2.lpc1114PC3.XYZ4.PC5.LPC1114UART3-13.1.1MMA8452PCMMA8452YNUARTXYZ3-23-2MMA84521282MMA84526X88Y88Z883-33-3PCI2CI2C_ReadNByteNfor6RAMX88X816X8440412XYZ53-45nx=0;ny=0;nz=0;6nx=(aucReg[1]*0x100+aucReg[2]);ny=(aucReg[3]*0x100+aucReg[4]);nz=(aucReg[5]*0x100+aucReg[6])412nx/=0x10;ny/=0x10;nz/=0x10;YNNY5iX+=nx;iY+=ny;iZ+=nz;nx=(iX/5);ny=(iY/5);nz=(iZ/5);MMA8452Gg=9.8m/s23-5X,Y,ZX,Y,ZnX,nY,nZiX,iY,iZsX=iX-nx;sY=iY-ny;sZ=iZ-nz;iX=0;iY=0;iZ=0;ucI=5;//5while(ucI){if((MMA845x_RegRead(STATUS_00_REG)&0x08))//{sX=0;sY=0;sZ=0;ucI--;for(ucJ=0;ucJ7;ucJ++){aucReg[ucJ]=MMA845x_RegRead(ucJ);X,Y,Z}sX=(aucReg[1]*0x100+aucReg[2]);sY=(aucReg[3]*0x100+aucReg[4]);sZ=(aucReg[5]*0x100+aucReg[6]);sX/=0x10;sY/=0x10;sZ/=0x10;iX+=sX;iY+=sY;iZ+=sZ;}}//while(ucI)//sX=(iX/5)-nx;sY=(iY/5)-ny;sZ=(iZ/5)-nz;3.1.2FIFOUARTFIFOFIFOFIFOUARTBUSYBUSYFIFOUART3-6:1.61.7RXD/TXD;FIFO;;FIFOFIFOFIFONY4[7]4.100taerror:tatataerrorM