Design and Development of Vibration Analyzer Using the TM4C1233H6PM MCU Using 3-Axis Mems Accelerometer ADXL325

DOI : 10.17577/IJERTCONV6IS13219

Download Full-Text PDF Cite this Publication

Text Only Version

Design and Development of Vibration Analyzer Using the TM4C1233H6PM MCU Using 3-Axis Mems Accelerometer ADXL325

Ranjitha R

Dept. of TCE,

SIT, Tumkur, karnatak, India

Viswanath K

Dept. of TCE,

SIT, Tumkur, karnatak, India

Ishwar padasalagi

Sai Tektronix, R R Nagar Bangalore, Karnataka, India

Abstract In this Paper, a hardware is to be designed & fabricated which can detect vibration using Accelerometer ADXL325, which measures acceleration force in 3 directions x, y, z and measured acceleration force gives analog output which is input to the analog pins of Microcontroller TM4C1233H6PM through op-amp acting as voltage follower. The value of the processed vibration is transmitted to Personal computer using a high speed USB stack using Microcontroller. The results are graphically displayed in Vibration Analyzer PC Software, which is built using Virtual Studio.

Keywords Vibration; TM4C1233H6PM MCU; ADXL325 Accelerometer; Voltage Follower.


    Mechanical Vibration is a Waving motion of bodies from its rest point, where it occurs due to the presence of restraint. Vibrations are all over: Vocal-cords and eardrums of Human being, Residual imbalance of vehicles, Musical instruments, Turbines, pumps of rotating machinery and so on. Excessive Vibration can have detrimental effects like Noise, loosening of fasteners, Tool chatter and so on. In simple way, it is transferability from Potential energy to Kinetic energy and vice regal in alternating fashion. In Presence of mechanism for dissipating energy, oscillation diminishes gradually. In general Inertia, Elasticity and Energy dissipation are the three majorly Essential component of Vibratory motion [1].

    Industrial applications such as Motor Pumps, Conveyor belts, Compressor machines, Mechanical engines, Electric Fans, High Rollers and Turbines have rotational elements at particular frequency which Spawn vibration. The performance or quality of machines indicated by amplitude of Vibration [2]. If there is increase in amplitude, it direct result in the failing rotational elements.

  2. FAULTS IN ROTATARY MACHINES Several Faults in Rotating machinery are: Rolling element

    bearings, Electrical related problems, Resonance, Flow- related problems, Mechanical looseness, Rotor rubs, Worn rollers, Parallel Misalignment, Angular Misalignment

    ,Machine out of Balance, Shafts Bent, Gear mesh disturbances, Disturbances of Blade Pass, Disturbances of Vane pass, Cavitation and Recirculation Critical Speeds of Machines[3]. To detect these faults, design hardware for 12

    channel accelerometer with sampling rate of 48KS per Second Per channel.



    The main objective is to design hardware for Vibration Analyser which Analyse vibration caused by moving mechanical parts.Using a Tiva C Series ARM Cortex-M4 as CPU with Two 12-bit ADC module. This is required to support four tri-axial analog accelerometer as shown in Fig.1. Vibration analyser is a device which is used to analyse vibration caused by moving mechanical parts. Using a Tiva C Series ARM Cortex-M4 as CPU with Two 12-bit ADC module. The device totally supports four tri-axial (total 12 channels) analog accelerometers and has got a sampling rate of 48 KS per second per channel. The user interface is software that runs on a PC that plots the vibration of each channel.

    1. SENSOR: ADXL325

      The ADXL325 is the Variable Capacitive MEMS accelerometer which is used to measure physical parameter such as acceleration of ±5g i.e. (5*9 m/s2=±49m/s2) is the value which is the measurement range of Accelerometer. This measures frequency down to 0Hz (static or DC acceleration)[4].

      Fig. 1. MEMS Vibration Analyzer Version 1.0

      • Employing CX, CY and CZ Capacitor at the output of XOUT,YOUT and ZOUT pins clients selects the specific bandwidth of the accelerometer with a limit of 0.5Hz to 1600Hz for X and Y axes and a limit of 0.5Hz to 550Hz for the Z axis[5][6] .

      • Features:

      • 3-axis ( X,Y and Z) analysis Accelerometer

      • 16-lead frame chip scale package of dimension 4 mm

        × 4 mm × 1.45 mm

      • Average deep power of 350A

      • Exclusive operation supply between 1.8 V to 3.6 V

      • Shock durability of 10,000 g

      • Distinctive temperature stability

      • Regulation of Bandwidth with an individual capacitor per axis

      • Restriction of Hazardous Substances Directive lead- free compliant

    2. ADA 4000 Quad Opamp:

      The ADA4000 are JFET input Quad ideal Op-amp highlighting precision having lesser input bias current, Broad Bandwidth, Rapid slew rate, High input impedance and quick settling time. It is an ideal Quad Op-amp for active analog-to- digital inputs and buffering digital-to-analog converter outputs. The input common-mode voltage contains the positive power supply, which makes the part a desirable choice for eminent-side signal conditioning. ADA4000 Quad Op-amp incorporates the applications like amplification of automatic test equipment, integrator Circuits, Utility Functions such as power supply Control, Monitoring Function, Buffering and so on[7].

    3. TM4C1233H6PM Microcontroller

      The High operation and extreme integration Tiva C Series (ARM Cortex-M4) microcontroller which is located for cost-apperceptive applications necessitating significant processing of the control system and connectivity capabilities[8].


      • Processor core is ARM Cortex-M4F

      • Executional operation is of 80-MHz

      • Single-cycle Flash memory of 256 KB

      • single-cycle SRAM of 32 KB

      • USB 2.0 Device

    Two 12-bit ADC modules, which divided 12 input channels with Maximal sample rate of one million samples per second [9].

    Mcu Usb Features: It is a Bidirectional data pin, where it acts as both Input and Output with USB2.0 full speed. It has 4KB dedicated endpoint memory. For efficient transfer uses Micro Direct Memory Access Controller (DMA).

    Mcu Adc Features: The peripheral where the conversion of a continuous analog voltage to a discrete digital number with two identical converter modules which divided 12 input channels with 12 bit Precision ADC of Maximal sample rate of one million samples per second.


    An accelerometer Resolution is usually given for systems that integrate an analog to digital converter. Resolution will as usually be described as bits which can then be relate to calculate the resolution in acceleration units [10]. ±5g i.e. (5*9 m/s2=±49m/s2) is the value which is the measurement range of Accelerometer. Concede an accelerometer system has 12-bit resolution; this means

    For 3.3 V, 212=4096 counts

    3.3 V 4096 counts

    1.65V 2048 counts

    Calibration Factor (CF) = = =1241.21 For Example: 3000counts

    = 2.4v

    Ref.voltage:1.65 2.4- 1.65=0.766 v

    Given Sensitivity = 174mv/g

    = = 4.4g

    =4.4*9.8m/s2= 43.19m/s2


    The instrument panel shown in Fig.2 can be fastened under experiment. In Fig.2 each of the elementary unit of the instrumentation system can clearly be distinguished (see in Fig 2).

    Fig. 2. Instrumentation System


    Keils µVision IDE is a set of Software tools which stipulate a Powerful, adaptable and easily understandable environment for industriaized embedded apps. It include the components need to design, debug and assemble of C source files and compound simulation for microcontrollers TM4C1233H6PM and relative peripherals. The RTX RTOS Kernel assistance to do complex and time-censorious software. The Flow Chart of Firmware code of MEMS Vibration Analyzer is shown in Fig.3. Flash Magic is a tool

    which is used to program hex code in EEPROM of microcontroller and it is a freeware tool which supports the micro-controller of Philips and NXP. Users can burn a hex code into those controllers which support ISP (in system programming) feature. To check whether the microcontroller supports ISP or not,the user must look at its datasheet[11].

    Fig. 3. Flow Chart of the Firmware Code of MEMSVibration Analyzer


    The results are graphically displayed in Vibration Analyzer PC Software, which is built using Virtual Studio presented in Fig.4-9. In Fig.4-6 the change in vibration in terms of acceleration been shown, which is received from the accelerometers X-Y-Z axes respectively. The graphs in Fig.7-9 show the Vibration acceleration Spectrum for each axis (X, Y AND Z)[12][13].

    Fig. 4. Change in vibration acceleration of the X-axis

    Fig. 5. Change in vibration acceleration of the Y-axis

    Fig. 6. Change in vibration acceleration of the Z-axis

    Fig. 7. Spectrum graph of the vibration acceleration on the X-axis

    Fig. 8. Spectrum graph of the vibration acceleration on the Y-axis

    Fig. 9. Spectrum graph of the vibration acceleration on the Z-axis


The Spectrum analyzer of vibration accelerations using the Microcontroller TM4C1233H6PM using 3-axis accelerometer ADXL325 has been developed. The System allows us to perform vibration signal analysis in the time and frequency domains and can operate in real-time mode. The user interface is software that runs on a PC that plots the vibration of each channel and graph visualization of the data has been developed. The project can be improved further in many ways. The accuracy of the proposed project can be improved by using wireless vibration sensor. Also the fault detection technique can be improved to accurate analysis of the machines in industry. Further, the obtained mechanical vibration can be verified by the engineers/Technicians. This may give the accurate accuracy.


The Authors would like to thank Sai Tektronix, R R Nagar, Bangalore, Karnataka, India for providing the facilities during the Internship in the company.


  1. Saleem Ansari and Rauf Baig, A PC-Based Vibration Analyzer for Condition Monitoring of Process Machinery", Ieee Transactions On Instrumentation And Measurement, vol. 47, no. 2, april 1998.

  2. Giovanni Betta, Consolatina Liguori, Alfredo Paolillo and Antonio Pietrosanto , IMP-based FFT-Analyzer for the Fault Diagnosis of Rotating Machine Based on Vibration Analysis, IEEE Instrumentation and Measurement Technology Conference Budapest, Hungary, May 21- 23, pp. 13-18, 2001.

  3. Luis Miguel Contreras-Medina, Rene de Jesus Romero-Troncoso FPGA-Based Multiple- Channel Vibration Analyzer for Industrial Applications in Induction Motor Failure Detection Ieee Transactions On Instrumentation And Measurement, vol.59, no. 1, january 2010, pp. 271-152.

  4. L.A. Rocha, E. Cretu', G. de Graaf and R.F. Wol_enbuttel Mechanical Spectrum Analyzer in Silicon using Micromachined Accelerometers with Time-Varying Electrostatic Feedback, IMTC 2003, lnstmmentation and Measurement Technology Conference Vail, CO, USA. pp. 20-22 May 2003.

  5. Marek IwaniecKostyantyn Kolesnyk, Andriy Holovatyy, Vasyl Teslyuk, Mykhaylo Lobur, Marta Mashevska Development of Vibration Spectrum Analyzer Using the Raspberry Pi Microcomputer and 3-Axis Digital MEMS Accelerometer ADXL345 978-1-5386-4001- Vol. 2, 2003, pp.12-16.

  6. E. P. Carden, P. Fanning, Vibration Based Condition Monitoring A Review. J on Structural Health Monitoring, vol. 3, issue 4, 2004, pp.355-377.

  7. P. Bilski, and W. Winiecki, Virtual spectrum analyzer based on data acquisition card," IEEE Transactions on Instrumentation and Measurement , vol.51, no.1, Feb 2002, pp.82-87.

  8. He Qing, Du Dongmei Double-channel Vibration Analyzer Based on C8051F, Proceed-ings of the 27th Chinese Control Conference July 16- 18, 2008.

  9. P. Bilski, and W. Winiecki,A Low-Cost Real-Time Virtual Spectrum Analyzer," Proceedings of the IEEE Conference on Instrumentation and Measurement Technology, vol.3, 16-19 May 2005, pp.2216-2221.

  10. Khurram Shahzad, Bengt Oelmann An FPGA-based high-performance wireless vibration analyzer, 978-1-4799-1647-4/13/

  11. Jose de Jesus Rangel-Magdaleno FPGA-Based Vibration Analyzer for Continuous CNC Machinery Monitoring With Fused FFT-DWT, Signal Processing Ieee Transactions on Instrumentation and Measurement, vol. 59, no. 12, december 2010, pp. 15-18.

  12. S. Ansari and S. K. Ayazuddin, Fault detection in process machinery by vibration analysis,Pakistan Institute of Nuclear Science and Tech.Rep. PINSTECH-107, P.O. Nilore, Islamabad, Dec. 1984.

  13. R. Bouche, Understanding accelerometers, Electron. Eng., vol. 26, no. 4, p. 90, 1967.

  14. Ranjitha R, Viswanath.K,, Ishwar padasalagi, Design and development of vibration analyzer using the tm4c1233ppm mcu using 3-axis mems accelerometer ADXL325, NCRTES-2018,3rd March 2018, pp.44-48.

  15. Ranjitha R, Viswanath.K, Ishwar padasalagi, Design and development of vibration analyzer using the tm4c1233ppm mcu using 3-axis mems accelerometer ADXL325, International Research Journal of Engineering and Technology, Vol-5, Feb2018, pp.1429-1432.

Leave a Reply