Software library for ISO vibrations calculation
HAVRÁNEK, Z. DOSEDĚL, M. BENEŠ, P. KLUSÁČEK, S.
Software library for successful implementation and setup of a measurement vibrodiagnostics chain has been created in LabVIEW and MATLAB Simulink environments – model based design approach. All parts of the measurement chain, containing band pass filtering (10 Hz – 1 kHz), acceleration signal integration and RMS value calculation, were implemented in Simulink based on the template created in LabVIEW. Complete algorithm has been optimized for small frequencies and small signals (in the order of mV) measurement. Frequency spectrum calculation, using FFT algorithm with the resolution of 1 Hz, was also implemented as an additional function. C code for target ARM-based architecture has been generated using embedded coder built inside Simulink. Measurement chain was generated for two sampling frequencies – as it is required by the final firmware structure. FFT algorithm was also generated and final code was slightly corrected and optimized with the emphasis on the target code size. The result was implemented into the processor, tested as a whole and its functionality was compared with the original MATLAB Simulink schematics results.
model based design, ISO vibrations, embedded coder, Simulink, vibrodiagnostics
Vysoké učení technické v Brně, CEITEC VUT Laboratoř pokročilých senzorů, B1.04 Purkyňova 656/123 612 00 Brno