Giter VIP home page Giter VIP logo

tcn-lstm's Introduction

Fault Diagnosis with Time-Domain Vibration Data

This repository aims to diagnose types of faults based on time-domain vibration data using neural networks. It covers experiments conducted with Temporal Convolution Network-LSTM models.

Experimental Setup

  • 4 DC Motors
    • Normal | Misalignment | Unbalance | Damaged Bearing
  • 26.5kHz Sampling Rate
  • Data Collection: 102400 samples every 5 seconds

Dependencies

Version of libraries may not make a problem except tensorflow.

  • tensorflow == 2.9.0
  • scikit-learn == 1.0.2
  • numpy == 1.21.6
  • scipy == 1.9.1
  • matplotlib == 3.5.2

Temporal Convolution Network-LSTM

The TCN implementation is based on @philipperemy's work (https://github.com/philipperemy/keras-tcn).

The TCN-LSTM architecture is created by myself.

TCN Framework

  • input shape: (, 800)
  • Train data: 13639
  • Validation data: 3410
  • Test data: 1895

Train Data Structure

  • data(data_path)
    • label 1
      • data1.csv
      • data2.csv
      • ...
    • label 2
    • label 3
    • label 4

Experimental results

Even if the accuracy for sampling points is not 100%, with a total of over 100,000 data points available for real-time diagnosis, the final fault diagnosis is determined based on the majority of predictions obtained during real-time diagnosis. In the experimental environment, as mentioned earlier, the test results confirmed successful fault type diagnosis.

+) 240808

  • Apply Normalization with MinMaxScaler()
  • It needs one normal status vibration data as csv

TCN-LSTM

  • Test datasets = 1895
  • ROC AUC = 0.995
  • F1 Score = 0.96328125
  • Accuracy = 96.328 %


TCN Confusion matrix

tcn-lstm's People

Contributors

melli0505 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

tcn-lstm's Issues

model data

Hello, I am interested in your model, but I do not have any relevant datasets. I would like to ask if there are any links to your code testing data?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.