In Development

Smart Factory QC Platform

From paper checklists to automated quality control

smart-factory-qc-platform
smart-factory-qc-platform

The Problem

📋

Paper-Based QC Processes

QC engineers relied on stacks of paper checklists for every equipment test cycle. Handwritten records were prone to errors, difficult to search, and frequently lost or damaged on the factory floor.

📊

No Centralized Result Tracking

Test results were scattered across individual notebooks and local files with no unified system. Tracking pass/fail trends or auditing historical results required manually digging through paper archives.

🔌

Manual Equipment Communication

Engineers manually read sensor values and toggled equipment states through vendor-specific tools. Each protocol required separate software, making end-to-end test automation impossible.

Before

Paper checklists filled out by hand for every test cycle

After

Digital BDD scenarios with structured data capture and searchable history

Before

Manual sensor reading and equipment control via vendor tools

After

Automated equipment communication via Modbus/MQTT with real-time verification

Approach

BDD-Driven Test Automation

We adopted Behavior-Driven Development (Gherkin syntax) as the foundation for test automation. Domain experts — not developers — define test procedures in plain language using Given/When/Then steps. Each scenario maps directly to real equipment actions through industrial protocols (Modbus TCP, MQTT), executing tests and collecting structured evidence automatically. This approach bridges the gap between domain knowledge and software automation, ensuring test coverage matches actual manufacturing requirements.

Define
Execute
Collect
Report

BDD Pipeline Flow

Key Features

bdd-scenario-editor-&-auto-generation
bdd-scenario-editor-&-auto-generation

BDD Scenario Editor & Auto-generation

Write test procedures in plain Gherkin language (Given/When/Then). Non-technical QC engineers can author and review test scenarios without coding. The system auto-generates step definitions that map to equipment control commands, reducing scenario setup time from hours to minutes.

equipment-communication-(modbus/mqtt)
equipment-communication-(modbus/mqtt)

Equipment Communication (Modbus/MQTT)

Unified communication layer connecting to PLCs and controllers via Modbus TCP and MQTT protocols. Read sensor values, write control registers, and subscribe to real-time equipment events through a single abstraction — no vendor-specific tools required.

real-time-test-execution
real-time-test-execution

Real-time Test Execution

Execute BDD scenarios against live equipment with real-time progress tracking. Each step shows live sensor readings, pass/fail verdicts, and captured evidence as the test runs. Engineers can monitor multiple test sessions simultaneously from a single control panel.

result-dashboard-&-reports
result-dashboard-&-reports

Result Dashboard & Reports

Comprehensive dashboard showing test pass rates, trend analysis, and equipment health across production lines. Auto-generates audit-ready PDF reports with full evidence trails including sensor readings, timestamps, and step-by-step test results.

Architecture

SPAREST APISQLWebSocketModbus TCPMQTTSubscribe
Browser
React SPA
FastAPI
PostgreSQL
Edge Agent
PLC / Controller
MQTT Broker
Client
Server
Database
Service
External

Results

95%
Paper Eliminated

Paper-based QC checklists replaced with digital workflows

80%
Report Time Saved

Reduction in test report compilation and review time

2x
Test Throughput

Equipment tests completed per shift with automation

100%
Digital Traceability

Every test step recorded with full evidence trail