" 30M+ Google Gemini tokens went into researching, analyzing, and understanding all 233 SIH problem statements to make them easier to explore and solve. "
From what to build to how to build it — our platform helps you understand, plan, and solve SIH 2026 problem statements with complete insights into requirements, solution approaches, technology stacks, architecture, AI/ML, and implementation roadmaps.
Search for your problem statement, and start building your solution.
| Description: | • Title SkyGuard AI: Intelligent Real-Time Anomaly Detection System for Temperature, Pressure, and Humidity Sensors in Automatic Weather Stations • Background Automatic Weather Stations (AWS) are critical components of modern meteorological observation networks. These stations continuously monitor atmospheric parameters and provide real-time data for weather forecasting, climate monitoring, disaster management, aviation, agriculture, and scientific research.However, AWS observations often contain anomalies caused by sensor malfunction,communication failures, calibration drift, power fluctuations, harsh environmental conditions, and data corruption.Erroneous observations can significantly impact weather forecasting accuracy and decision-making systems. Traditional threshold-based quality control methods are often insufficient for identifying complex or hidden anomalies in meteorological data streams. • Problem Statement Develop an AI/ML-based intelligent anomaly detection system capable of automatically identifying abnormal, inconsistent, or faulty observations from Automatic Weather Stations in real time using only the following parameters: • Temperature (°C) • Atmospheric Pressure (hPa) • Relative Humidity (%) The system should distinguish between genuine meteorological events and sensor/data anomalies while minimizing false alarms and enabling scalable deployment across large weather observation networks. • Objectives • Detect anomalies in real-time AWS data streams. • Identify sensor faults, spikes, frozen values, and communication errors. • Learn normal temporal and seasonal patterns of temperature, pressure, and humidity. • Perform multivariate consistency analysis among atmospheric parameters. • Provide confidence scores and explainable AI-based reasoning for detected anomalies. • Predict possible sensor degradation and maintenance requirements. • Optionally suggest corrected/imputed values for anomalous observations. • Expected Inputs Participants may use historical AWS datasets, simulated anomalies, or streaming sensor data containing the following meteorological parameters: Parameter- Unit Temperature - °C Atmospheric Pressure - hPa Relative Humidity - % • Expected Outputs • Real-time anomaly alerts • Severity and confidence scores • Root-cause classification • Visualization dashboard • Sensor health status • Corrected data estimation (optional) • Suggested Technologies • Explainable AI (SHAP/LIME) (Preferable) • Edge AI for low-power deployment on ESP32 • Evaluation Criteria (To be evaluated in anomaly injected data) Criteria - Weightage Innovation & Novelty - 25% Detection Accuracy - 20% Real-Time Capability - 15% Explainability - 10% Scalability - 10% Practical Deployability - 10% Visualization/UI - 5% Energy Efficiency - 5% • Example Use Case An AWS suddenly reports a temperature of 55°C with extremely high humidity and abnormal pressure variation while neighboring stations show normal conditions. The AI system should analyze temporal and spatial consistency, identify the reading as a probable sensor anomaly, generate an alert, and suggest corrective action. • Grand Challenge Can AI build a self-aware and self-healing weather observation network capable of delivering trustworthy atmospheric data under all environmental conditions? • Output: Fully executable code with example usage and a document explaining various use cases |
| Organization: | Ministry of Earth Sciences (MoES) |
| Department: | India Meteorological Department |
| Category: | Software |
| Theme: | Disaster Managementtd> |
| Youtube Link: | Not provided |
| Dataset Link: | Not provided |
| Contact info: | Not provided |
SkyGuard AI is an edge-cloud hybrid intelligent anomaly detection, explainability, and data imputation framework engineered specifically for the India Meteorological Department's (IMD) Automatic Weather Station (AWS) network [INFERENCE]. Designed to process streaming meteorological observations constrained strictly to Air Temperature (°C), Atmospheric Pressure (hPa), and Relative Humidity (%) [PS], the system deploys a two-tier architecture: an ultra-low-power TinyML Autoencoder running directly on ESP32 microcontroller edge nodes for sub-second localized detection [PS], paired with a cloud-based multivariate spatial-temporal ensemble (XGBoost + Isolation Forest + Spatial Kriging) [INFERENCE]. SkyGuard AI eliminates false alarms by cross-referencing temporal rate-of-change with neighbor-station consistency—distinguishing genuine extreme meteorological events (e.g., severe convective storms or sudden microbursts) from hardware faults, sensor freeze, calibration drift, and transmission corruption [PS]. Built-in SHAP (SHapley Additive exPlanations) provides human-interpretable physical reasoning and confidence scoring for every alert, while an automated imputation module restores missing or corrupted data streams [PS].
| Field | Value | Confidence Tag |
|---|---|---|
| Problem Statement ID | SIH26073 | [PS] |
| Title | AI/ML-Based Intelligent Anomaly Detection for Automatic Weather Stations (AWS) | [PS] |
| Organization | Ministry of Earth Sciences (MoES) | [PS] |
| Department | India Meteorological Department (IMD) | [PS] |
| Category | Software | [PS] |
| Theme | Disaster Management | [PS] |
| Submission Deadline | 30 September 2026 | [PS] |
| Ideas Counter | 0/500 | [PS] |
| Primary Evaluation Focus | Anomaly Injected Data Evaluation (Innovation 25%, Accuracy 20%, Real-Time 15%, Explainability 10%, Scalability 10%, Deployability 10%, UI 5%, Energy 5%) | [PS] |
Fundamental System Objective: To deliver a self-aware, edge-cloud weather observation pipeline that automatically filters hardware and transmission anomalies from 3-parameter AWS streams in real-time, provides SHAP-backed physical explanations, and predicts sensor maintenance while preserving true meteorological disaster signals [PS].
The explicit problem statement provided by MoES/IMD contains specific operational requirements, inputs, outputs, and constraints [PS]. Below is the atomic deconstruction into explicit and derived requirements.
Requirement (a) - Input Parameter Constraint: The anomaly detection system MUST operate using strictly three atmospheric parameters: Air Temperature (°C), Atmospheric Pressure (hPa), and Relative Humidity (%) [PS].
Requirement (b) - Real-Time Anomaly Alerting: Detect abnormal, inconsistent, or faulty observations in real-time streaming data [PS].
Requirement (c) - Meteorological Event vs. Anomaly Differentiation: Distinguish genuine meteorological phenomena (e.g., heatwaves, cold fronts, pressure drops ahead of storms) from sensor or data anomalies [PS].
Requirement (d) - Specific Anomaly Taxonomy Identification: Identify sensor faults, spikes, frozen values, calibration drift, power fluctuations, and communication errors [PS].
Requirement (e) - Pattern & Correlation Learning: Learn normal temporal, seasonal, and multivariate patterns among temperature, pressure, and humidity [PS].
Requirement (f) - Explainable AI (XAI) & Confidence Scoring: Provide confidence scores and explainable AI-based reasoning for detected anomalies [PS].
Requirement (g) - Predictive Maintenance & Health Status: Predict possible sensor degradation and output sensor health status [PS].
Requirement (h) - Corrected Data Imputation (Optional): Suggest corrected or imputed values for anomalous observations [PS].
Requirement (i) - Edge AI on ESP32: Support low-power deployment on ESP32 hardware [PS].
Requirement (j) - Deliverables: Fully executable code with example usage and a comprehensive document [PS].
| Stakeholder | Goal | Current Pain | System Need |
|---|---|---|---|
| IMD Duty Forecasters & Duty Officers | Access reliable, trustworthy real-time surface observation data for weather forecasting and warning generation [RESEARCHED]. | Erroneous readings (e.g., erroneous $55^\circ\text{C}$ spikes) trigger false heatwave warnings or corrupt numerical weather prediction (NWP) models [PS]. | Automatic filtering of corrupted observations with transparent confidence scores and explainable rationale [PS]. |
| IMD Surface Instruments Division (Pune & Field Engineers) | Maintain 700+ AWS stations across remote Indian terrains in optimal operating condition [RESEARCHED]. | Reactive maintenance; unaware of sensor degradation or calibration drift until complete blackout or public error occurs [RESEARCHED]. | Predictive maintenance dashboard indicating sensor health scores, early drift detection, and specific sensor component fault classification [PS]. |
| Disaster Management Authorities (NDMA / SDMAs) | Receive prompt, zero-false-alarm warnings for severe local weather events (microbursts, cloudbursts, severe depressions) [KNOWN]. | High false alarm rates erode trust in automated alerts; missing true extreme weather due to overly aggressive threshold filters [INFERENCE]. | Spatial-temporal validation that preserves genuine extreme weather alerts while discarding local sensor failures [PS]. |
| AWS Data Logger / Edge Firmware Engineers | Process and validate sensor data locally at high sampling frequencies while consuming minimal solar battery power [RESEARCHED]. | Cloud transmission bandwidth is limited (GPRS/INSAT satellite); corrupt data wastes transmission energy and satellite bandwidth [RESEARCHED]. | Ultra-lightweight C++ TinyML model executing on ESP32 that flags and flags/compresses corrupt packets before satellite/GPRS transmission [PS]. |
| System Feature / Component | Explicit PS Requirement / Derived Need | Justification & Architectural Trace |
|---|---|---|
| 3-Parameter Temporal Feature Extraction | Requirement (a), (e) [PS] | Generates rolling statistics (mean, std, rate of change, dew-point proxy) exclusively from $T$, $P$, and $RH$ [INFERENCE]. |
| ESP32 C++ TinyML Autoencoder | Requirement (b), (i) [PS] | Provides on-device, low-latency (<20ms) anomaly scoring using $<50\text{KB}$ memory, satisfying edge energy constraints [RESEARCHED]. |
| Multivariate Spatial-Temporal Ensemble Engine | Requirement (b), (c), (d), (e) [PS] | Combines local temporal models with regional spatial checks (neighboring stations) to differentiate true weather from sensor faults [INFERENCE]. |
| SHAP / LIME Explanation Module | Requirement (f) [PS] | Computes feature attribution scores for flagged anomalies, outputting human-readable sentences explaining the decision logic [PS]. |
| Spatio-Temporal Data Imputation Unit | Requirement (h) [PS] | Reconstructs true atmospheric values for flagged samples using spatial inverse distance weighting/Kriging and temporal LSTM [INFERENCE]. |
| Predictive Sensor Health Index | Requirement (g) [PS] | Aggregates daily drift metrics, signal noise, and error rates into a 0–100% sensor health trajectory for field maintenance [INFERENCE]. |
| IMD MetNet Interactive Dashboard | Requirement (b), (f), (g), (j) [PS] | Displays real-time map views, station network topology, live anomaly feeds, SHAP plots, and maintenance tickets [PS]. |
Connectivity Realities:
Power & Hardware Limitations:
Sensor Degradation & Harsh Environmental Factors:
Strict Input Constraint (No Auxiliary Sensors):
| Data Type | Purpose | Ideal Real-World Source | Hackathon Substitute | Access Method | Availability | Privacy | Confidence |
|---|---|---|---|---|---|---|---|
| Historical AWS Time Series ($T, P, RH$) | Training baseline temporal autoencoders and seasonal diurnal distributions. | IMD Pune Central Receiving Earth Station Archive [RESEARCHED]. | NOAA Integrated Surface Database (ISD) / ECMWF ERA5 Reanalysis filtered for Indian coordinates [RESEARCHED]. | Web Download / Open Data API / Synthetic Generator [RESEARCHED]. | Publicly available (NOAA/ERA5) [RESEARCHED]. | Public Domain / Non-PII [KNOWN]. | [RESEARCHED] |
| Anomalous Weather Sensor Samples | Evaluating detection accuracy, false alarm rate, and root-cause classification. | IMD Maintenance Logbooks & Calibrated Fault Injector Records [NEEDS VALIDATION]. | Synthetic Anomaly Injection Pipeline (injecting spikes, freezes, drift, noise, and simulated microbursts into real weather streams) [INFERENCE]. | Python Generation Script (inject_anomalies.py) [INFERENCE]. |
Self-generated / Fully available [INFERENCE]. | Synthetic / Non-PII [KNOWN]. | [INFERENCE] |
| AWS Station Metadata | Spatial correlation and geographic distance calculations. | IMD MetNet Station Registry (Latitude, Longitude, Altitude) [RESEARCHED]. | Geospatial CSV matrix of representative Indian AWS locations (e.g., Delhi NCR grid, Mumbai coastal grid) [INFERENCE]. | Local CSV / GeoJSON File [INFERENCE]. | Publicly documented IMD station coordinates [RESEARCHED]. | Non-PII [KNOWN]. | [RESEARCHED] |
| WMO Operational QC Bounds | Deterministic upper/lower threshold validation rules. | WMO-No. 8 (Guide to Instruments and Methods of Observation) [RESEARCHED]. | Digitized WMO QC Rule Matrix for Tropical/Subtropical climates [RESEARCHED]. | Hardcoded JSON Configuration File [INFERENCE]. | Public International Standard [RESEARCHED]. | Non-PII [KNOWN]. | [RESEARCHED] |
+-----------------------------------------------------------------------------------+
| EXISTING SOLUTIONS MATRIX |
+------------------------------------+----------------------------------------------+
| WMO-No. 8 Rule-Based QC | Fixed thresholds; misses complex drift and |
| (Traditional Method) | multivariate physical anomalies. |
+------------------------------------+----------------------------------------------+
| Centralized Cloud ML (Autoencoders)| Detects complex patterns; fails offline, no |
| | edge capability, high bandwidth cost. |
+------------------------------------+----------------------------------------------+
| Basic PyOD / Outlier Toolkits | Statistical isolation; lacks explainability |
| | and physical weather domain rules. |
+------------------------------------+----------------------------------------------+
| SKYGUARD AI (PROPOSED SOLUTION) | Hierarchical Edge-Cloud + SHAP XAI + |
| | Spatial Consistency + Auto Imputation. |
+------------------------------------+----------------------------------------------+
WMO-No. 8 Standard Rule-Based Quality Control (Traditional IMD System):
Generic Unsupervised ML (PyOD Isolation Forest / One-Class SVM):
Academic LSTM-Autoencoders for Weather QC:
Selected Approach: Approach C (Hierarchical Edge-Cloud Hybrid Architecture) [INFERENCE].
+-----------------------------------------------------------------------------------+
| HIERARCHICAL ARCHITECTURE SELECTION |
+-----------------------------------------------------------------------------------+
| [ESP32 Edge Node] ---> Local 1D-CNN Autoencoder (TFLite Micro) |
| |---> Sub-20ms Spike/Freeze Filter |
| v |
| [MQTT / GPRS Stream] |
| v |
| [Cloud Backend] ---> Spatial-Temporal XGBoost / PyOD Ensemble |
| |---> Cross-Station Kriging Verification |
| |---> SHAP Feature Attribution Engine |
| |---> Auto-Imputation & Health Tracking |
+-----------------------------------------------------------------------------------+
===================================================================================
SKYGUARD AI ARCHITECTURE
===================================================================================
[ PERCEPTION & EDGE LAYER (ESP32-S3 AWS Node) ]
+-----------------------+ +-----------------------+ +-----------------------+
| Temperature Sensor | | Pressure Sensor | | Humidity Sensor |
| (RTD / PT100) | | (Piezoresistive) | | (Capacitive) |
+-----------+-----------+ +-----------+-----------+ +-----------+-----------+
| | |
+-------------------+-------+---------------------------+
| (Analog / I2C / SPI Readings @ 1Hz)
v
+-------------------------------------------------------------------------------+
| ESP32 C++ FIRMWARE (FreeRTOS Task Stack) |
| - WMO Physical Range Filter (Hard Bounds) |
| - Feature Normalizer & Sliding Window Buffer (Size: 12 samples = 12 mins) |
| - TFLite Micro INT8 1D-CNN Autoencoder (Inference Latency < 18ms) |
| - Local SPIFFS/SD Card Storage Buffer (Offline Fallback) |
+---------------------------------------+---------------------------------------+
|
| (MQTT over GPRS / Cellular / Satellite)
v
[ INGESTION & MESSAGING LAYER ]
+-------------------------------------------------------------------------------+
| EMQX / Eclipse Mosquitto MQTT Broker (TLS 1.3 Encryption, Port 8883) |
+---------------------------------------+---------------------------------------+
|
v
[ PROCESSING & AI CORE LAYER (Cloud / Central Server) ]
+-------------------------------------------------------------------------------+
| FastAPI Asynchronous Gateway & Payload Validator |
+---------------------------------------+---------------------------------------+
|
+--------------------+--------------------+
| |
v v
+------------------------------------+ +-------------------------------------+
| MULTIVARIATE TEMPORAL MODEL | | SPATIAL CONSISTENCY CHECKER |
| - PyOD XGBoost / Isolation Forest | | - Spatial Inverse Distance Weighting|
| - Psychrometric Residual Check | | - Neighbor AWS Correlation Matrix |
+------------------+-----------------+ +------------------+------------------+
| |
+--------------------+--------------------+
|
v
+-------------------------------------------------------------------------------+
| DECISION & CLASSIFICATION MATRIX |
| - Root-Cause Classification (Spike, Freeze, Drift, Fault, Weather Event) |
| - Confidence Score Generation (0 - 100%) |
+---------------------------------------+---------------------------------------+
|
+--------------------+--------------------+
| |
v v
+------------------------------------+ +-------------------------------------+
| EXPLAINABILITY ENGINE (SHAP/LIME) | | DATA IMPUTATION ENGINE |
| - TreeSHAP Feature Attribution | | - Temporal Bi-LSTM / Spatial KNN |
| - Natural Language Explanation Gen| | - Reconstructed Clean Stream |
+------------------------------------+ +-------------------------------------+
|
v
[ DATA ARCHITECTURE & STORAGE LAYER ]
+-------------------------------------------------------------------------------+
| TimescaleDB (PostgreSQL) - Time Series Observations, Anomalies, Imputations |
| Redis Cache - Real-Time Station Status, Active Alerts, SHAP Caches |
+---------------------------------------+---------------------------------------+
|
v
[ PRESENTATION & ALERTING LAYER ]
+-------------------------------------------------------------------------------+
| Next.js 14 Dashboard (Leaflet GIS Map, SHAP Force Plots, Sensor Health) |
| Notification Hub (WebSockets / Telegram API / Email Alerts for Engineers) |
+===============================================================================+
imd/aws/{station_id}/telemetry over TLS-encrypted MQTT [INFERENCE].| Layer | Selected Technology | Why Chosen | Alternative Considered | Why Alternative Rejected |
|---|---|---|---|---|
| Edge Hardware | ESP32-S3 DevKit (Dual-Core 240MHz, 512KB SRAM, 8MB PSRAM) [RESEARCHED] | Low cost (~₹500), built-in Wi-Fi/Bluetooth, native TFLite Micro support, hardware vector instructions [RESEARCHED]. | Raspberry Pi Zero 2W | Higher power consumption (~1.5W vs <0.2W), slower boot time, requires full Linux OS maintenance [RESEARCHED]. |
| Edge Runtime | C++ PlatformIO with TensorFlow Lite Micro [RESEARCHED] | Minimal memory footprint (<100KB Flash/RAM), deterministic execution, zero OS overhead [RESEARCHED]. | MicroPython | High memory overhead, non-deterministic garbage collection delays, slow ML inference execution [RESEARCHED]. |
| Messaging Protocol | MQTT over TLS (EMQX Broker) [RESEARCHED] | Ultra-lightweight header overhead (2 bytes), publish-subscribe model, built-in Keep-Alive for unstable GPRS links [RESEARCHED]. | HTTP/REST APIs | High HTTP header overhead (hundreds of bytes per request), requires expensive TCP handshake per message [RESEARCHED]. |
| Cloud Backend | Python 3.11 + FastAPI + Uvicorn [RESEARCHED] | Asynchronous IO performance, native Python ML library integration (PyOD, SHAP, Scikit-Learn), automatic OpenAPI docs [RESEARCHED]. | Java Spring Boot | Heavy memory footprint, complex integration with Python-native SHAP and PyTorch ML libraries [RESEARCHED]. |
| Time Series DB | TimescaleDB (PostgreSQL Extension) [RESEARCHED] | Full SQL support, automatic hypertable partitioning for time-series, superior query speed for temporal aggregates [RESEARCHED]. | InfluxDB | Non-SQL query language (Flux/InfluxQL), weaker relational joining capabilities with station metadata tables [RESEARCHED]. |
| Cache & Queue | Redis + Celery [RESEARCHED] | Ultra-fast in-memory lookup for live station status, WebSocket Pub/Sub, async job processing for SHAP calculations [RESEARCHED]. | RabbitMQ | Higher operational complexity for simple key-value state caching and WebSocket distribution [RESEARCHED]. |
| ML Engine Core | PyOD + XGBoost + PyTorch [RESEARCHED] | PyOD provides standardized anomaly detection pipelines; XGBoost provides high speed and native TreeSHAP support [RESEARCHED]. | Pure Scikit-Learn | Lacks specialized time-series anomaly detection abstractions and optimized ensemble wrappers [RESEARCHED]. |
| Explainability | SHAP (SHapley Additive exPlanations) [RESEARCHED] | Mathematically rigorous game-theoretic feature attribution; TreeSHAP allows fast exact attribution [RESEARCHED]. | LIME | Local surrogate linear approximations are non-deterministic and computationally slower for tabular trees [RESEARCHED]. |
| Frontend Framework | Next.js 14 (React) + Tailwind CSS + Leaflet.js [RESEARCHED] | Server-side rendering, responsive UI, rich interactive GIS mapping libraries, seamless WebSocket integration [RESEARCHED]. | Angular | Steep learning curve, heavier client bundle size for simple real-time mapping dashboards [RESEARCHED]. |
+-----------------------------------------------------------------------------------+
| AI / ML COMPONENT DESIGN & TAXONOMY |
+-----------------------------------------------------------------------------------+
| Component 1: TinyML Autoencoder | Inputs: 12-sample buffer (T, P, RH) |
| (ESP32 Edge Node) | Output: Reconstruction MSE Score |
| | Function: Rapid local spike/freeze filter |
+----------------------------------+------------------------------------------------+
| Component 2: Multivariate | Inputs: T, P, RH + Temporal Encodings |
| XGBoost Ensemble (Cloud) | Output: Anomaly Probability & Anomaly Class |
| | Function: Multi-class root cause classification|
+----------------------------------+------------------------------------------------+
| Component 3: TreeSHAP Engine | Inputs: Model Tree + Feature Vector |
| (Cloud XAI) | Output: Feature Shapley Values |
| | Function: Human-understandable physical reason |
+----------------------------------+------------------------------------------------+
| Component 4: Kriging & Bi-LSTM | Inputs: Surrounding AWS feeds + Past History |
| Imputer (Cloud) | Output: Estimated True T, P, RH Values |
| | Function: Self-healing stream reconstruction |
+----------------------------------+------------------------------------------------+
model_data.h) [RESEARCHED].Normal, Sensor_Spike, Sensor_Freeze, Calibration_Drift, Power_Communication_Noise, Extreme_Weather_Event [INFERENCE].AI models MUST NOT be used for absolute physical bound enforcement [INFERENCE]. Deterministic, hardcoded rule filters must run prior to any ML inference:
-- PostgreSQL / TimescaleDB Schema Definition
-- 1. Station Master Metadata Table
CREATE TABLE aws_stations (
station_id VARCHAR(32) PRIMARY KEY,
station_name VARCHAR(128) NOT NULL,
latitude DOUBLE PRECISION NOT NULL,
longitude DOUBLE PRECISION NOT NULL,
elevation_meters REAL NOT NULL,
state VARCHAR(64) NOT NULL,
agro_zone VARCHAR(64) NOT NULL,
installation_date DATE NOT NULL,
status VARCHAR(16) DEFAULT 'ACTIVE'
);
-- 2. Raw Sensor Telemetry (TimescaleDB Hypertable)
CREATE TABLE sensor_telemetry (
timestamp TIMESTAMPTZ NOT NULL,
station_id VARCHAR(32) REFERENCES aws_stations(station_id),
temperature_c REAL NOT NULL,
pressure_hpa REAL NOT NULL,
humidity_pct REAL NOT NULL,
battery_volts REAL,
edge_anomaly_flag BOOLEAN DEFAULT FALSE,
edge_mse_score REAL,
PRIMARY KEY (timestamp, station_id)
);
SELECT create_hypertable('sensor_telemetry', 'timestamp');
-- 3. Detected Anomalies & XAI Log Table
CREATE TABLE detected_anomalies (
anomaly_id BIGSERIAL PRIMARY KEY,
timestamp TIMESTAMPTZ NOT NULL,
station_id VARCHAR(32) REFERENCES aws_stations(station_id),
anomaly_type VARCHAR(32) NOT NULL, -- Spike, Freeze, Drift, Weather_Event, Malfunction
severity_level VARCHAR(16) NOT NULL, -- LOW, MEDIUM, HIGH, CRITICAL
confidence_score REAL NOT NULL, -- 0.00 to 1.00
shap_explanation JSONB NOT NULL, -- Feature attributions
natural_language_reason TEXT NOT NULL,
is_genuine_weather BOOLEAN DEFAULT FALSE,
verified_by_operator BOOLEAN DEFAULT FALSE
);
-- 4. Imputed Data Stream Table
CREATE TABLE imputed_observations (
timestamp TIMESTAMPTZ NOT NULL,
station_id VARCHAR(32) REFERENCES aws_stations(station_id),
imputed_temperature_c REAL,
imputed_pressure_hpa REAL,
imputed_humidity_pct REAL,
imputation_method VARCHAR(32), -- KRIGING_SPATIAL, TEMPORAL_BILSTM
PRIMARY KEY (timestamp, station_id)
);
SELECT create_hypertable('imputed_observations', 'timestamp');
-- 5. Sensor Health & Maintenance Tracking Table
CREATE TABLE sensor_health_status (
station_id VARCHAR(32) PRIMARY KEY REFERENCES aws_stations(station_id),
overall_health_score REAL DEFAULT 100.0, -- 0 to 100%
temp_sensor_health REAL DEFAULT 100.0,
pressure_sensor_health REAL DEFAULT 100.0,
humidity_sensor_health REAL DEFAULT 100.0,
estimated_drift_rate REAL DEFAULT 0.0,
last_maintenance_date DATE,
recommended_action TEXT,
updated_at TIMESTAMPTZ NOT NULL
);
+-----------------------------------------------------------------------------------+
| ESP32 EDGE OFFLINE SYNC STATE MACHINE |
+-----------------------------------------------------------------------------------+
| [Sensors Read] ---> Store in 12-sample Ring Buffer |
| | |
| v |
| [Run TFLite] ---> Flag Anomaly? |
| | |
| +------------+------------+ |
| | | |
| (Network Available) (Network Offline) |
| | | |
| v v |
| Send MQTT Stream Append to SPIFFS / SD Log |
| | |
| v |
| Check Network Link Loop |
| | |
| v (Link Restored) |
| Burst Sync with Backoff Delay |
+-----------------------------------------------------------------------------------+
OFFLINE_LOGGING mode. Upon reconnection, it executes an exponential backoff burst transmission protocol to push stored logs without overloading the cloud broker [INFERENCE].+-----------------------------------------------------------------------------------+
| HACKATHON MVP BUILD SCOPE |
+-----------------------------------------------------------------------------------+
| IN SCOPE (MUST BUILD FOR HACKATHON) |
| * Fully functional Python FastAPI Cloud Backend with PyOD & XGBoost Core |
| * Interactive Next.js Dashboard with Leaflet GIS Map & Station Health Views |
| * ESP32 C++ Firmware with TFLite Micro INT8 Autoencoder (Live Hardware Demo) |
| * Live Synthetic Anomaly Injection Pipeline (Spikes, Freezes, Drift, Storms) |
| * SHAP Explanation Visualizer (Force Plots & Natural Language Text) |
| * Spatial Kriging Imputation for corrupted parameter streams |
| |
| OUT OF SCOPE / DESCRIBED ONLY (PRODUCTION) |
| * Hardware-in-the-loop environmental chamber physical sensor testing |
| * INSAT-3D Direct Satellite Ground Earth Station Demodulator hardware integration |
| * Pan-India 700+ station physical field deployment |
+-----------------------------------------------------------------------------------+
To deliver a compelling live evaluation demo without needing a live satellite feed or physical weather chamber, the team will run an end-to-end simulation environment [INFERENCE]:
+-----------------------------------------------------------------------------------+
| LIVE DEMO SIMULATION ARCHITECTURE |
+-----------------------------------------------------------------------------------+
| [ESP32 Hardware Node] ---> Physical BME280/DHT22 Sensor (Ambient T, P, RH) |
| + Flame/Heat Gun ---> Live Temperature Spike ($55^\circ\text{C}$) |
| | |
| [Synthetic Grid Generator] ---> Streams 10 Simulated AWS Stations via MQTT |
| + Trigger Button ---> Inject Microburst Storm Pattern across 3 stations |
| | |
| v |
| [FastAPI Backend] ---> Processes Streams, Computes SHAP, Runs Kriging |
| | |
| v |
| [Next.js UI Dashboard] ---> Real-time Alert Pop-up + SHAP Plot + Clean Imputation|
+-----------------------------------------------------------------------------------+
Hardware Demonstration (Edge Layer):
Network Grid Simulation (Cloud & Spatial Layer):
Assuming a project start date in early 2026, the implementation plan is structured into 6 distinct 4-week sprints leading up to final deployment before September 30, 2026 [PS].
+-----------------------------------------------------------------------------------+
| IMPLEMENTATION ROADMAP (UNTIL SEP 2026) |
+-----------------------------------------------------------------------------------+
| Phase 1: Data Pipeline & Baseline Models (Weeks 1 - 4) |
| Phase 2: Edge TinyML Optimization & ESP32 Firmware (Weeks 5 - 8) |
| Phase 3: Cloud Backend, Spatial Engine & SHAP (Weeks 9 - 12) |
| Phase 4: Data Imputation & Predictive Maintenance (Weeks 13 - 16) |
| Phase 5: Next.js Dashboard & GIS Visualization (Weeks 17 - 20) |
| Phase 6: System Integration, Testing & Final Documentation (Weeks 21 - 24) |
+-----------------------------------------------------------------------------------+
Phase 1: Data Pipeline & Baseline Models (Weeks 1 – 4)
inject_anomalies.py) [INFERENCE].Phase 2: Edge TinyML & Firmware Development (Weeks 5 – 8)
Phase 3: Cloud Backend & XAI Integration (Weeks 9 – 12)
Phase 4: Data Imputation & Health Index (Weeks 13 – 16)
Phase 5: Next.js Dashboard & UI Refinement (Weeks 17 – 20)
Phase 6: Hardening, Simulation & Submission (Weeks 21 – 24 / Final Push before 30 Sept 2026)
| Test Category | Test Objective | Target Benchmark / Metric | Validation Method |
|---|---|---|---|
| Edge Performance Test | Validate on-device TFLite Micro model execution speed and SRAM footprint on ESP32-S3 [RESEARCHED]. | Latency $< 20\text{ms}$; RAM usage $< 50\text{KB}$; Zero MCU crashes during 48-hour burn-in [RESEARCHED]. | PlatformIO profiling & ESP32 internal memory heap logging over Serial [RESEARCHED]. |
| Anomaly Detection Accuracy | Evaluate precision and recall across injected anomaly classes [PS]. | Precision $> 0.95$; Recall $> 0.92$; F1-Score $> 0.93$ on test benchmark dataset [INFERENCE]. | Automated test suite evaluating injected fault ground-truth CSV [INFERENCE]. |
| False Positive Rate (FPR) | Ensure true extreme weather events do not trigger false sensor fault alerts [PS]. | False Alarm Rate $< 2.0%$ during simulated severe storm transitions [INFERENCE]. | Run microburst/squall storm data streams through system and verify suppression [INFERENCE]. |
| SHAP Explanation Latency | Measure cloud processing overhead for generating SHAP explanations [PS]. | SHAP attribution generation time $< 100\text{ms}$ per flagged event [INFERENCE]. | Python time.perf_counter() benchmark on Celery task queue [INFERENCE]. |
| Data Imputation Error | Measure accuracy of reconstructed missing/anomalous parameters [PS]. | Temperature RMSE $< 0.8^\circ\text{C}$; Pressure RMSE $< 1.2\text{ hPa}$; Humidity RMSE $< 3.5%$ [INFERENCE]. | Compare imputed values against masked hold-out ground-truth weather streams [INFERENCE]. |
| Offline Resilience Test | Verify zero data loss during cellular connectivity outages [INFERENCE]. | $100%$ message recovery after simulated 2-hour network disconnect [INFERENCE]. | Disconnect ESP32 Wi-Fi/cellular link, log 120 samples to SPIFFS, reconnect and verify MQTT burst [INFERENCE]. |
| Risk | Likelihood | Impact | Severity | Mitigation Strategy |
|---|---|---|---|---|
| Spatial Sparsity in Remote Areas | High | Medium | High | In remote desert or mountain regions where nearest AWS node is $>100\text{km}$ away, Spatial Kriging fails; system falls back on temporal single-station physical consistency checks [INFERENCE]. |
| ESP32 Memory Overflow | Medium | High | High | TFLite Micro model exceeding 512KB SRAM; mitigate by applying INT8 quantization and reducing 1D-CNN filter counts [RESEARCHED]. |
| SHAP Computation Bottlenecks | Medium | Medium | Medium | KernelSHAP is computationally expensive; mitigate by using TreeSHAP optimized C-extensions or pre-computed lookup background datasets [RESEARCHED]. |
| Over-fitting to Microclimates | Medium | High | High | A model trained on inland plains data misinterprets coastal sea-breeze humidity surges; mitigate by training regional model weights per agro-climatic zone [INFERENCE]. |
| Unstable Power Supply at AWS Node | High | High | High | Low battery voltage causing erratic sensor output; mitigate by incorporating analog battery voltage ($V_{\text{batt}}$) into hardware diagnostic rule layer [INFERENCE]. |
+-----------------------------------------------------------------------------------+
| ESTIMATED PRODUCTION INFRASTRUCTURE COSTS |
+-----------------------------------------------------------------------------------+
| Item / Component | Estimated Cost (INR) / Year |
+---------------------------------------+-------------------------------------------+
| ESP32-S3 Edge Nodes (1,000 units) | ₹6,00,000 (One-time Hardware) [RESEARCHED]|
| Cloud Server Infrastructure | ₹3,60,000 / year [INFERENCE] |
| Cellular GPRS M2M SIM Connectivity | ₹6,00,000 / year (₹50/month/SIM) [INFER.] |
| Managed TimescaleDB Storage | ₹2,40,000 / year [INFERENCE] |
+---------------------------------------+-------------------------------------------+
| Total Estimated Year-1 Operational | ~₹18,00,000 (~₹1,800 per station/year) |
+---------------------------------------+-------------------------------------------+
+-----------------------------------------------------------------------------------+
| KEY SYSTEM DIFFERENTIATORS |
+-----------------------------------------------------------------------------------+
| Feature | Generic Submissions | SKYGUARD AI |
+------------------------------+------------------------+---------------------------+
| Strict 3-Parameter Limit | Fails (requires wind) | Fully Compliant (T, P, RH)|
| Edge AI Support | Cloud-Only | Native ESP32 TFLite C++ |
| Weather vs. Fault Resolution | False Storm Alarms | Spatial Kriging Suppress |
| Explainability | Black-box ML | Exact SHAP Feature Attrib |
| Data Recovery | Flag & Discard | Self-Healing Auto Imputer |
+------------------------------+------------------------+---------------------------+
0.87), SkyGuard AI outputs SHAP force plots and clear text explanations (e.g., "Pressure drop of 9 hPa violates single-station temporal continuity but matches 3 adjacent nodes") [PS].Deploy SkyGuard AI, a 3-Tier Hierarchical Anomaly Detection System combining Edge TinyML (ESP32), Cloud Spatial-Temporal XGBoost Ensembles, TreeSHAP Explainability, and Spatial Kriging Data Imputation [INFERENCE]. This architecture directly solves IMD's dual challenge of filtering corrupt sensor data while safeguarding genuine severe weather alerts [PS].
Access to realistic historical weather time-series data from Indian climatic zones to pre-train baseline Autoencoder and XGBoost models [INFERENCE].
Spatial correlation failure in sparsely populated rural/mountain regions where neighboring AWS stations are separated by $>100\text{km}$ [INFERENCE].
Quantizing the 1D-CNN Autoencoder model to fit within the ESP32's $<50\text{KB}$ available SRAM footprint while maintaining sub-20ms inference speed [RESEARCHED].
inject_anomalies.py) to simulate spikes, freezes, drift, and microbursts [INFERENCE].92/100 (Highly feasible for a 4–6 student team using open-source Python ML libraries, standard C++ ESP32 tools, and React/Next.js frameworks) [INFERENCE].
High [PS] / [RESEARCHED] (All requirements mapped directly to verified technical components and open-source frameworks).
Title: Network of Automatic Weather Stations: Pseudo Random Burst Sequence Type
URL: https://mausamjournal.imd.gov.in/index.php/MAUSAM/article/view/412
Source Type: Academic Journal (IMD Official Publication)
Supported Claim: Documents IMD AWS network transmission intervals, parameters ($T, P, RH$, rain, wind), satellite PRBS transmission modes, and earth station receiving facilities at Pune and Delhi.
Reliability Assessment: High (Official Ministry of Earth Sciences / IMD Publication).
Title: Guide to Instruments and Methods of Observation (WMO-No. 8)
URL: https://community.wmo.int/site/knowledge-hub/programmes-and-initiatives/instruments-and-methods-of-observation-programme-imop/guide-instruments-and-methods-of-observation-wmo-no-8
Source Type: International Standards Document (World Meteorological Organization)
Supported Claim: Establishes international quality control guidelines, physical range bounds, step checks, persistence tests, and inter-sensor consistency rules for AWS nodes.
Reliability Assessment: High (Official World Meteorological Organization Standard).
Title: Quality Control (QC) and Quality Assurance (QA) Procedures for Meteorological Data from Automatic Weather Stations
URL: https://www.researchgate.net/publication/389652366_Quality_Control_QC_and_Quality_Assurance_QA_Procedures_for_Meteorological_Data_from_Automatic_Weather_Stations
Source Type: Academic Research Publication
Supported Claim: Validates WMO QA/QC protocols (range, step, internal consistency, persistence checks) applied to IMD AWS networks.
Reliability Assessment: High (Peer-reviewed meteorological research).
Title: Edge AI Anomaly Detection Part 4 - Machine Learning on ESP32 via Arduino
URL: https://www.digikey.ca/en/maker/projects/edge-ai-anomaly-detection-part-4-machine-learning-on-esp32-via-arduino/afacfc3dbaf24c6c94a55c4afae1afb2
Source Type: Engineering Documentation
Supported Claim: Demonstrates practical implementation and deployment of Autoencoder anomaly detection models on ESP32 microcontrollers using C++ and TensorFlow Lite Micro.
Reliability Assessment: High (Verified technical implementation guide).
Title: PyOD Ecosystem: Open-Source Anomaly Detection
URL: https://pyod.dev/
Source Type: Open Source Technical Documentation
Supported Claim: Validates PyOD library algorithms, time-series anomaly detection capabilities, and ensemble mechanisms.
Reliability Assessment: High (Official open-source library documentation).
What we think about this platform, and how it can help people solve SIH problems.
" 30M+ Google Gemini tokens went into researching, analyzing, and understanding all 233 SIH problem statements to make them easier to explore and solve. "
" The platform makes SIH problem statements much easier to understand. Having everything from the problem details to the procedure in one place. "
" Oh, you got ads? Well, we need to make money too! But, you can use our platform to help you win SIH and take home the prize money. "
Get in touch if you need help bringing your ideas to life, or simply have an interesting idea you'd like to talk through. I'm always open to a conversation and exploring new possibilities together.