Skip to content

About

Real-time 2JZ-GTE engine monitoring with live sensor ingestion, ML-based turbo failure prediction, and a responsive dashboard. Enables early detection of engine faults via continuous data analysis for enhanced reliability and performance tuning.

Topics

Resources

Security policy

Stars

4 stars

Watchers

2 watching

Forks

Latest commit

 

History

199 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📈 2JZ-GTE Predictive Monitoring System

License: GPL v3 Build Docker Python Coverage Version

An advanced, real-time telemetry and machine learning platform engineered for the Toyota 2JZ-GTE engine. This system transforms raw sensor data into actionable insights, predicting potential failures before they occur.


🧭 Project Vision

The 2JZ-GTE is a legendary engine, often pushed to extreme limits. This project bridges the gap between conventional tuning and intelligent monitoring.

By leveraging a dual-engine ML approach, the system detects subtle anomalies in sensor data—such as irregular boost gradients or thermal expansion patterns—that traditional threshold-based systems often miss.

Core Objectives

  • Predictive Maintenance: Shift from reactive fixes to proactive prevention
  • High-Fidelity Telemetry: Sub-50ms latency for real-time decision-making
  • Safety Buffer: Early detection of lean conditions and turbo instability

🏗 System Architecture

High-Level Component Map

graph TD
    subgraph "Data Source Layer"
        OBD[OBD-II Interface]
        CAN[CAN Bus Adapter]
        SIM[Engine Simulator]
    end

    subgraph "Processing Core (Backend)"
        Ingest[Sensor Ingestion Engine]
        FE[Feature Engineering]
        Inf[Inference Orchestrator]
        SKL[scikit-learn: Anomaly Detection]
        TF[TensorFlow: Deep Prediction]
    end

    subgraph "Presentation Layer (Frontend)"
        WS[WebSocket Server]
        Dash[Responsive Dashboard]
        Charts[Chart.js Visualization]
    end

    OBD --> Ingest
    CAN --> Ingest
    SIM --> Ingest
    Ingest --> FE
    FE --> Inf
    Inf --> SKL
    Inf --> TF
    SKL --> WS
    TF --> WS
    WS --> Dash
    Dash --> Charts
Loading

🛠 Developer Deep Dive

Mechanism of Prediction

  • Boost Gradient → Rate of pressure increase
  • AFR Delta → Deviation from target lambda

Key Components

  • Feature Engineering

    • Located in backend/processing/
    • Derived metrics:
      • Thermal rate of change
      • Oil pressure vs RPM correlation
  • Dual Inference Pipeline

    • scikit-learn → anomaly detection
    • TensorFlow → LSTM/GRU time-series prediction

📁 Directory Structure

├── backend/
├── frontend/
├── model/
├── integrations/
├── data/
├── tests/
└── docker-compose.yml

🚀 Installation & Usage

Quickstart (Docker)

git clone https://github.com/HimalayPandit/2JZ-GTE-Predictive-Monitoring-System.git
cd 2JZ-GTE-Predictive-Monitoring-System
docker-compose up --build

Open: http://localhost:3000


🚦 Decision Logic & Alerts

flowchart TD
    Data[New Data Packet] --> Check{Within Safe Thresholds?}
    Check -- Yes --> ML[Analyze Patterns]
    Check -- No --> Critical[CRITICAL ALERT]

    ML --> Trend{Trend Stable?}
    Trend -- Yes --> Log[Log Data]
    Trend -- No --> Warning[Predictive Failure Warning]

    Warning --> Notify[Dashboard Notification]
Loading

⚖️ License & Disclaimer

Licensed under GPL-3.0

This software is for monitoring and educational purposes only. Use at your own risk.


👤 Maintainer

Himalay Pandit
https://github.com/HimalayPandit

About

Real-time 2JZ-GTE engine monitoring with live sensor ingestion, ML-based turbo failure prediction, and a responsive dashboard. Enables early detection of engine faults via continuous data analysis for enhanced reliability and performance tuning.

Topics

Resources

Security policy

Stars

4 stars

Watchers

2 watching

Forks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages