WANG Yu-lin, JIANG Ping. Serial port communication between sensor and virtual instrument based on vibration signal[J]. 2016, 35(4): 18-21. DOI: 10.13873/J.1000-9787(2016)04-0018-04.
To realize serial communication between acceleration sensor and virtual instrument( VI)
Lab VIEW
and transmission medium is rolling bearing vibration signal. Write C language program to drive three-axis acceleration sensor to collect bearing vibration signal
then transmits vibration signal into micro controller unit( MCU)
afterwards
VI reads vibration signal in MCU via USB to serial line
and the signal is displayed on VI interface in real time in form of waveform. Acceleration sensor can collect bearing vibration signal
at the same time
value of vibration signal can be displayed in programming software
through a serial port communication program
the numerical wave 00—FF transformed by vibration signal is able to be displayed on VI front panel; by software analysis
it can be found that root-mean-square of bearing is 0. 030 782 3
through frequency domain processing
characteristic frequency 25 Hz and high-order harmonic component are isolated separately by power spectrum
consequently
serial port communication between sensor and VI is achieved.