background image

STSW-BFA001V1

Firmware architecture

14

The STEVAL-IDP005V1 offers applications and examples as detailed below. All projects allow data monitoring through serial 
terminal with board connected to PC.

Can work also with the 

STEVAL-IDP004V1 and a 

dedicated GUI

Summary of Contents for STEVAL-BFA001V1B

Page 1: ...Getting started Guide STEVAL BFA001V1B Predictive maintenance kit with sensors and IO Link capability System Research and Applications July 2018 ...

Page 2: ...Contents 2 Setup and programming STEVAL BFA001V1B Kit Overview Data Monitoring Logging How to enable Predictive Maintenance ...

Page 3: ...STEVAL BFA001V1B Kit Overview 3 ...

Page 4: ...er board for ST LINK V2 1 3 0 050 10 pin flat cable 4 4 pole cable mount connector plug with male contacts 5 M12 female connector with 2m cable 4 Designed for Condition Monitoring CM Predictive Maintenance PdM The STEVAL BFA001V1B is based on 3D digital accelerometer environmental and acoustic MEMS sensors What is inside 1 2 3 4 5 ...

Page 5: ... Pressure LPS22HB Relative Humidity and temperature sensors HTS221 Digital Microphone sensor MP34DT05 A IO Link PHY Device L6362A EEPROM M95M01 DF for data Storage Step down switching regulator and LDO regulator L6984 and LDK220 M12 industrial connector SWD connector for debugging and programming capability Reset button Expansion connector with GPIO ADC I2C bus The STEVAL BFA001V1B kit is designed...

Page 6: ... easy portability across different MCU families Middleware including algorithms for advanced time and frequency domain signal processing for vibration analysis Programmable FFT size 256 512 1024 2048 points Programmable FFT overlapping Programmable acquisition time window FFT averaging during acquisition time Programmable windowing Flat Top Hanning Hamming Speed RMS moving average acceleration max...

Page 7: ...Setup and Programming 7 ...

Page 8: ...n flat cable 4 pole male connector 1 2 3 4 5 Generic power supply range 18 32V Any STM32 nucleo 64 to program debug and interface with PC USB cable Type A to Mini B STEVAL IDP004V1 Master board and generic RS 485 422 USB adapter required only to use the GUI Laptop Unpack the STEVAL BFA001V1B Setup Hardware prerequisities ...

Page 9: ... V2 1 firmware upgrade Common freely Serial line terminal i e TeraTerm ST IDP005V1 GUI setup included in STSW BFA001V1 Utilities folder Microsoft net version 4 5 or higher this is only to run the GUI RS 485 USB adapter driver this only to use STEVAL IDP005V1 connected to IO Link master capable multi port board ...

Page 10: ...nd connect the other end to a power supply 18 32V If available use the STEVAL IDP004V1 to supply the STEVAL IDP005V1 through the M12 cable The STEVAL IDP005V1 can be powered in two ways STEVAL IDP005V1 STEVAL IDP004V1 Supply voltage 18 32 V Supply voltage 9 32 V STEVAL IDP005V1 ...

Page 11: ...V1 1 2 STEVAL UKI001V1 and ST LINK V2 1 overview 11 STM32 NUCLEO 64 comes with ST LINK V2 1 Make sure that SB12 is open STEVAL UKI001V1 top view has two SWD sockets 20 pin 100 mils 10 pin 50mils STEVAL UKI001V1 bottom view 1 2 3 4 ...

Page 12: ...CNx ref Programming steps a Connect the application board to the ST LINK V2 1 via the 10 pin flat cable plugged on J2 on the STEVAL UKI001V1 then power on it b Connect the ST LINK V2 1 with a PC via an USB cable plugged on CN1 c The ST LINK V2 1 will be recognized as a removable storage d To download the firmware simply copy the bin file on it bin 1 2 3 4 ...

Page 13: ...Data Monitoring Logging 13 ...

Page 14: ...hitecture 14 The STEVAL IDP005V1 offers applications and examples as detailed below All projects allow data monitoring through serial terminal with board connected to PC Can work also with the STEVAL IDP004V1 and a dedicated GUI ...

Page 15: ...Data Monitoring 15 STEVAL IDP005V1 sensor and analysis data can be displayed on PC in two ways or Terminal emulator TeraTerm or others freely available GUI to be used through the STEVAL IDP004V1 multiport Master board ...

Page 16: ...the STEVAL UKI001V1 on the STM32 NUCLEO then connect to the STEVAL IDP005V1 CN15 closed CN14 2 3 position Push the Reset button on the STEVAL UKI001V1 or STEVAL IDP005V1 Terminal emulator settings Name COM Port name Baud Rate 230400 Data 8 Parity None Stop Bit One Flow Control None Press Y to start monitoring Insert the new parameters or press ENTER ...

Page 17: ...12 1024 2048 ovl fft overlapping in 5 95 Tacq acquisition time in ms 0 5 60000 Tau time constant for RMS in ms 25 50 100 150 250 500 1000 1500 2000 Subrng 8 16 32 64 number of spectral subrange Wind 0 Hanning 1 Hamming 2 Flat Top Tdtype 0 Speed RMS 1 Acc RMS 2 Acc RMS and Speed RMS STEVAL IDP005V1 allows data monitoring using the service UART The CM application allows data plot and vibration param...

Page 18: ...L IDP005V1 Data Monitoring Data Details 1 3 18 RMS for Acc and or speed Accelerometer FFT P T rH data Accelerometer Spectral frequency subrange and related amplitude Frequency and time domain vibration data ...

Page 19: ...a Monitoring Data Details 2 3 19 FFT Averaging number it is fuction of overlapping and acquisition time Frequency and max amplitude in subrange on 3 Accelerometer axis Acc peak on 3 axis Max amplitude at related frequency ...

Page 20: ...DP005V1 Data Monitoring Data Details 3 3 20 The displayed data can be saved and plotted on external program i e Excel Such as the FFT spectral analysis plot on xls format One axis accelerometer FFT Save log and ...

Page 21: ...ation based on Master Board STEVAL IDP004V1 STEVAL IDP005V1 Axel spectrum Speed RMS Axel Peak P T H parameters Adapter RS 485 USB Optional USB STSW IO LINK Firmware package Download the condition monitoring_iol firmware from the STSW BFA001V1 Demonstration folder ...

Page 22: ...e GUI is included in the STSW BFA001V1 utilities folder Once installed please follow 1 Select the right COM 2 Select the port more nodes can be connected 3 Click on connect and wait for connection Install the GUI from setup included in STSW BFA001V1 Utilities folder ...

Page 23: ...STEVAL IDP005V1 GUI Vibration Analysis 23 Time domain parameters Frequency domain parameters Plot related to nodes 2 and 3 in this example ...

Page 24: ...STEVAL IDP005V1 GUI Environmental Monitoring 24 Pressure Relative Humidity Temperature Nodes 2 and 3 in this example ...

Page 25: ...VAL IDP005V1 GUI Save data log 25 1 Check the box Enable Saving To File Sensor X Measures 2 Click the related square blue button 3 Select the folder path where store the file and choose the file name 1 2 3 ...

Page 26: ...How to enable Predictive Maintenance 26 ...

Page 27: ...r allows programmable vibration thresholds and give in output motor status details coming from time and frequency vibration analysis The motor status are Good Warning Alarm Fix STEVAL IDP005V1 very close to equipment It is recommended not use cantilever board fixing Supply voltage 18 32 V PC connection through service UART General motor status 27 Frequency domain Time domain ...

Page 28: ... in precompiling phase on MotionSP_Threshold h file Spectral band can be subdivided in 8 16 32 or 64 subrange Threshold values for Warning Threshold values for Alarm Open the PredMaint_SVR project from STSW BFA001V1 Projects Demonstrations Predictive_Maintenance folder to change thresholds and recompile firmware it is necessary install one of the supported IDEs ...

Page 29: ...on FW Terminal Emulator Data Output 29 General Motor Status in Time and in Frequency domain Status on spectral band for each axes in 8 subranges Time domain Motor Status details for each axes PC Data output displayed are detailed below ...

Page 30: ...Thank you ...

Reviews: