Skip to content

Preface

For twenty-eight years, Dibyendu De has listened to machines.

Not metaphorically. Literally. He has stood beside gas turbines in power stations, pressed his hand against the casings of centrifugal compressors in petrochemical complexes, felt the vibration patterns of cooling water pumps in steel mills, and translated those physical sensations into diagnostic understanding. More than 4,000 validated diagnostic cases across 50+ tier-one industrial clients — refineries, power plants, cement works, steel mills, mining operations, paper mills, and offshore platforms. A diagnostic accuracy rate of 98%.

These are not the credentials of a theoretical researcher. They are the credentials of a practitioner who has spent a career at the boundary between physics and industrial reality, developing an integrated understanding of how machines fail, why they fail, and what can be done to prevent failure permanently.

What emerged from that practice is not a collection of techniques. It is a complete diagnostic philosophy — a coherent theory of machine failure grounded in energy flow physics, organized through systematic causal taxonomies, and expressed through diagnostic frameworks that transform raw sensor data into engineering intelligence. This philosophy is what RAPID AI encodes into software.

Dibyendu De is a reliability engineering consultant and diagnostic specialist based in India, operating under the RGBWaves practice. His career spans nearly three decades of hands-on industrial diagnostic work, during which he developed several original frameworks that form the intellectual foundation of RAPID AI:

The Theory of Imperfections — a physics-based model that defines failure as the inability of imposed energy to flow freely through a system’s elements. This single principle unifies vibration analysis, thermal diagnostics, tribology, and structural dynamics into a coherent explanatory framework.

NEME (Notice-Engage-Mull-Exchange) — a bio-inspired diagnostic rhythm that mirrors how expert diagnosticians actually think, cycling between observation, hypothesis testing, systemic reasoning, and field validation.

IAR (Initiator-Accelerator-Retarder) — a dynamic failure classification that replaces the static “what failed?” question with the deeper “what dynamic produced this failure?” question, enabling strategic rather than reactive maintenance decisions.

PLS3D (Point-Line-Surface-3D) — a failure topology framework that measures the depth of diagnostic awareness, from isolated sensor alarms to complete system-level causal understanding.

FRETTLSM — an 88-factor causal taxonomy organized into eight categories (Force, Reactive, Environment, Time, Temperature, Lubrication, Surface, Material/Man) that provides systematic completeness in root cause analysis, ensuring no causal factor is overlooked.

Contradiction Driven Engineering (CDE) — a methodology for identifying and resolving design contradictions where two valid engineering requirements oppose each other, making failure inevitable regardless of maintenance quality.

These frameworks did not emerge from academic theory. They emerged from the pressure of field diagnosis — from the requirement to explain, in engineering terms, why a pump bearing fails every fourteen months despite correct maintenance, why a motor winding degrades in a pattern that contradicts the manufacturer’s life prediction, or why a gearbox that was perfectly aligned last month is now showing misalignment signatures.

Dibyendu De’s practice spans the full spectrum of rotating industrial machinery. His diagnostic cases cover centrifugal pumps, reciprocating compressors, gas and steam turbines, AC and DC motors, gearboxes, fans, blowers, conveyors, mills, agitators, and hydraulic power units. The industries served include petroleum refining, petrochemical processing, power generation (thermal, gas, and hydro), steel manufacturing, cement production, paper and pulp, mining and mineral processing, pharmaceutical manufacturing, and offshore oil and gas.

This breadth is not incidental. It is essential to the diagnostic philosophy. The Theory of Imperfections is not a pump theory or a motor theory. It is a universal theory of energy flow that applies identically across machine types. A misaligned coupling creates the same energy-flow disruption on a pump as on a compressor. Lubrication film breakdown follows the same physics in a gearbox bearing as in a turbine journal bearing. The universality of the framework is what makes it possible to encode in software — the same rules apply everywhere, parameterized by machine context.

The 50+ tier-one clients represent organizations that have invested in reliability engineering at the highest level. These are not plants that call a consultant when something breaks. These are plants that engage Dibyendu De to build their reliability programs, train their vibration analysts, and establish the diagnostic standards that will govern their maintenance decisions for decades. The depth of engagement — years of repeated visits, progressive case building, institutional knowledge transfer — is what produced the systematic frameworks that RAPID AI now encodes.

RAPID stands for Reliability, Availability, and Performance Improvement Design Innovation. The name captures the strategic intent: this is not a monitoring system. It is an innovation platform that uses diagnostic intelligence to drive reliability improvement from the design level upward. The sequence matters: first achieve Reliability (things work as intended), then Availability (things work when needed), then Performance (things work efficiently), then Improvement (things work better than designed), then Design Innovation (the next generation works right from the start).

Rick D (rdtect) is a Product & Solution Architect who conceptualises engineering thoughts into code. His background spans full-stack software development, system architecture, and applied AI — the skills required to transform domain expertise into production software.

Rick’s role in the RAPID AI project is to take Dibyendu De’s diagnostic philosophy and engineering frameworks and build them into a functioning software platform: a real-time diagnostic intelligence system with a FastAPI service layer, PostgreSQL database, SvelteKit dashboard, and a rule engine that evaluates 451+ physics-based diagnostic rules without ever calling eval().

The partnership between Dibyendu and Rick represents the collision of two complementary disciplines: deep domain expertise in reliability engineering and deep technical expertise in software architecture. Neither alone could build RAPID AI. Dibyendu’s frameworks provide the engineering intelligence. Rick’s architecture provides the computational embodiment.

Rick’s technical approach is characterized by several principles that shape the RAPID AI implementation:

  • Immutability — data flows through the pipeline without mutation. Each module receives input and produces output without modifying the original data. This ensures audit trail integrity and makes debugging deterministic.
  • Rules as data — the 451+ diagnostic rules are stored in JSON, YAML, and CSV files, parsed at import time, and evaluated by a safe recursive-descent parser. No eval() is ever called. This means rules can be audited, versioned, and extended without touching application code.
  • Many small files — the codebase is organized by feature and domain, with each module having its own types, rules, actions, and tests. This fractal organization makes the system navigable and each component independently testable.
  • Physics traceability — every API response includes the evidence chain that produced it. A dashboard alert does not just say “warning” — it says “warning because AFB07 matched with A/H > 1.3 and 2x peak at 1.5x baseline, indicating coupling misalignment.”

The production codebase lives at D:/projects/personal/rapidai/ and uses a monorepo structure with Bun workspaces, SvelteKit for the frontend, Drizzle ORM for database access, better-auth for authentication, and FastAPI for the diagnostic reasoning engine.

The hardest problem in building RAPID AI is not the software engineering. It is the translation of domain expertise into computational form without losing the physics that makes the expertise valuable.

Consider a single diagnostic rule: “If the bearing outer race defect frequency (BPFO) is present with sidebands at cage rotation frequency, and the envelope spectrum shows elevated energy in the 1-10 kHz band, and the directional vibration ratio (axial/horizontal) is less than 0.5, then the probable fault is outer race spalling with cage involvement, and the recommended action is to plan bearing replacement within the next available maintenance window.”

This rule encodes several layers of engineering knowledge:

  • Signal processing knowledge: What is a BPFO? How is it calculated from bearing geometry? What frequency resolution is needed to separate it from adjacent harmonics?
  • Fault mechanics knowledge: Why does outer race damage produce a characteristic frequency? Why does cage involvement create sidebands? What physical mechanism produces the high-frequency energy?
  • Diagnostic knowledge: Why does the directional ratio matter? (Because outer race defects in the load zone produce predominantly radial vibration, so a low axial/horizontal ratio confirms the load-zone hypothesis.)
  • Maintenance knowledge: Why “plan replacement” rather than “immediate shutdown”? (Because outer race defects in rolling element bearings typically progress slowly enough to allow planned intervention, unlike inner race or cage failures which can progress rapidly.)

Each of these knowledge layers must be preserved in the computational representation. If the rule is reduced to a simple threshold comparison — “if BPFO > 0.7 then fault” — the engineering intelligence is lost. The system becomes a threshold monitor with physics-sounding labels, not a physics-based diagnostic engine.

RAPID AI preserves these layers through three mechanisms:

  1. Structured rule representation: Each rule carries not just its trigger conditions but its physics_basis, confidence_level, severity_mapping, and recommended_action. The rule is not just a condition; it is a complete diagnostic argument.
  2. Evidence chain construction: Every rule evaluation produces an evidence record that traces the chain from raw measurement through feature extraction through rule match to diagnosis. The reliability engineer can inspect any link in the chain.
  3. Cross-reference to the IMS: Every rule maps to a row in the Integrated Master Schema (Chapter 7), which connects it to the failure mode, the equipment type, the FRETTLSM factors, the RCM consequence, and the maintenance action. No rule exists in isolation.

This translation challenge is why the partnership between Dibyendu (domain) and Rick (architecture) is essential. The domain expert knows what the rule should say. The architect knows how to represent it computationally without losing its meaning. The book documents both sides of that translation.

Industrial predictive maintenance is a $15 billion market growing at 25% annually. The technology landscape is crowded with solutions that promise AI-driven insight. Most deliver pattern-matching algorithms trained on historical data — statistical correlation without physical understanding. They can tell you that something looks anomalous. They cannot tell you why, and they cannot tell you what to do about it with engineering precision.

RAPID AI is different because it begins from different premises:

  1. Every recommendation must trace back to physics. Not correlation. Not statistical pattern. Physics — the actual mechanical, thermal, electrical, or tribological mechanism that explains why this machine is behaving this way.

  2. Rules are data, not code. The diagnostic intelligence lives in parseable rule tables, not in opaque model weights. Every rule carries a physics_basis field. Every recommendation traces back through a chain of evidence to specific measurements and physical principles.

  3. The goal is not prediction. The goal is prevention. Prediction tells you when something will break. Prevention tells you why it keeps breaking and how to make it stop. The difference is the difference between replacing a bearing on schedule and redesigning the shaft so the bearing never sees the load that destroys it.

This book documents the complete intellectual and technical architecture of RAPID AI. It is written for reliability engineers who want to understand the diagnostic philosophy, for software developers who will extend the platform, and for anyone who believes that industrial machines deserve better than black-box anomaly detection.

Before describing what RAPID AI does, it is worth stating clearly what it is not.

It is not a black-box anomaly detector. Systems that train neural networks on historical vibration data and output “anomaly probability: 87%” have their place, but they cannot explain their reasoning. When the reliability engineer asks “anomaly in what?” the system has no answer. RAPID AI answers that question with physics: “bearing outer race spalling initiated by lubrication contamination, classified as AFB03 with A/H ratio indicating isotropic vibration distribution consistent with film breakdown.”

It is not a replacement for human judgment. RAPID AI augments the reliability engineer’s diagnostic capability. It can monitor 500 assets simultaneously and surface the ones that need attention, with engineering justification for every alert. But the final decision to shut down a machine, to defer a replacement, or to approve a design change remains with the engineer. The system provides evidence chains. Humans make decisions.

It is not a statistical model. The 451+ rules in the RAPID AI engine are not learned from data. They are engineered from physics — from the Theory of Imperfections, from ISO standards, from decades of field diagnostic experience. This means the system works on its first deployment, without requiring a training period or historical failure data. It also means the system’s reasoning is fully transparent and auditable.

It is not a CMMS replacement. RAPID AI does not manage work orders, spare parts inventories, or labor scheduling. It integrates with existing CMMS systems by providing the diagnostic intelligence that drives maintenance decisions. The CMMS schedules the work. RAPID AI determines what work needs to be done and why.

It is not a data collection system. RAPID AI consumes data from existing plant historians (OSIsoft PI, Aveva, Honeywell), online monitoring systems (Bently Nevada, SKF, Emerson), and SCADA/DCS systems. It does not replace these systems. It adds an intelligence layer on top of them — transforming the data they collect into engineering understanding they cannot provide.

It is not a one-size-fits-all system. While the underlying physics is universal, RAPID AI is parameterized by machine context. A centrifugal pump has different diagnostic profiles, different weight distributions, and different failure modes than a gearbox or a gas turbine. The system profiles, rule libraries, and FRETTLSM factor templates are configured per equipment type. The rules are universal in principle but specific in application.

The scale of the RAPID AI knowledge base reflects the depth of the domain expertise it encodes:

MetricCountDescription
Physics-based fault rules119Module B rules across 12 component types
Guard/validation rules16Module A signal quality gates
Imperfection rules300Design, installation, operation, process flaw detection
Failure mode definitions320Across 8 equipment types in the seed library
FRETTLSM causal factors88Across 8 categories (F, R, E, T, T, L, S, M)
IMS rows100Ground truth diagnostic chains in the Integrated Master Schema
Maintenance actions15Structured catalog (ACT001-ACT015)
Contradiction types7Module G design contradiction patterns
RCM strategy tiers6From run-to-failure through redesign
Health stages5H1 (healthy) through H5 (critical)
AESF stability states5S0 (coherent) through S4 (critical transition)
Total rules in system451+Sum of all rule categories across all modules

These numbers will grow as RAPID AI is deployed across different industries and equipment types. The architecture is designed for extensibility: new rules, new equipment profiles, and new FRETTLSM factor templates can be added without modifying application code.

The Diagnostic Journey — From Silence to Speech

Section titled “The Diagnostic Journey — From Silence to Speech”

Machines are communicative, but they speak a language that must be learned.

A centrifugal pump running at 2,980 RPM on a rigid concrete foundation produces a characteristic vibration signature: a dominant 1x peak at the running speed, a smaller 2x peak from residual misalignment, and a noise floor that reflects the bearing condition, seal condition, and fluid dynamics. This signature is the machine’s voice. When the machine is healthy, the voice is quiet and predictable. When something begins to fail, the voice changes — subtly at first, then unmistakably.

The challenge is that these changes occur across multiple dimensions simultaneously. A bearing beginning to spall does not simply produce a single alarm. It creates a cascade of interrelated signals: the bearing defect frequency appears in the vibration spectrum, high-frequency energy increases as metal-to-metal contact begins, kurtosis rises as impact events become more impulsive, temperature drifts upward as friction increases, and the spectral entropy changes as energy disperses from organized forcing frequencies into broadband noise. No single measurement tells the story. The story emerges from the pattern.

This is why RAPID AI is not a threshold-monitoring system. A threshold catches a signal when it crosses a line. RAPID AI catches the pattern when the story begins to change — often weeks or months before any single measurement crosses any single threshold. The system reasons about the relationships between measurements, applying 451+ physics-based rules to construct a coherent narrative from disparate signals.

The journey from raw sensor data to engineering intelligence follows a deliberate path:

  1. Validate — Is the data trustworthy? (Module A: 16 guard rules)
  2. Detect — What fault patterns are present? (Module B: 119 physics rules)
  3. Trend — Is the condition getting worse? (Module B.2: 5 trend classes)
  4. Characterize — What is the nature of the instability? (Module B.3: entropy analysis)
  5. Fuse — What does the system-level evidence say? (Module C: SSI fusion)
  6. Stage — How advanced is the degradation? (Module D: health staging)
  7. Prescribe — What should be done? (Module E: maintenance actions)
  8. Predict — How much time remains? (Module F: Weibull RUL)
  9. Innovate — Can the failure be permanently eliminated? (Module G: contradiction detection)

Each step adds depth. Each module transforms the output of its predecessor. The pipeline moves from data to information to knowledge to intelligence — from Point to Line to Surface to 3D Volume in the PLS3D framework described in Chapter 2.

This book documents every layer of that journey, from the physics that makes it possible to the software that makes it practical.

The chapters follow a deliberate progression from problem to philosophy to architecture to implementation:

  • Chapter 1 establishes the industrial context — the $50B/year cost of failure and why four generations of maintenance strategy have not solved the problem.
  • Chapter 2 presents Dibyendu De’s diagnostic philosophy in full depth — the Theory of Imperfections and the five frameworks that operationalize it.
  • Chapter 3 describes the RAPID AI system architecture — the three intelligence layers, the 451+ rule system, and the pipeline that transforms raw sensor data into engineering intelligence.
  • Chapters 4-6 provide module-by-module technical reference for Signal Intelligence, Stability Intelligence, and Engineering Intelligence respectively.
  • Chapter 7 documents the Integrated Master Schema — the 100-row ground truth table that connects every diagnostic decision in the system.
  • Chapter 8 explores the FRETTLSM causal taxonomy and the 300 imperfection rules in engineering depth.
  • Chapter 9 covers the RCM decision framework — dynamic, sensor-driven reliability centered maintenance.
  • Chapter 10 details the software implementation — FastAPI services, database schema, rule engine, and technology stack.
  • Chapter 11 presents the product vision — what RAPID AI looks like as a deployed industrial intelligence platform.
  • Chapter 12 provides complete reference material — formulas, thresholds, glossary, and the confidence scoring standard.

Each chapter is designed to be self-contained enough to read independently, while cross-referencing related chapters for deeper context. The progression from conceptual to technical within each chapter allows both domain experts and software engineers to engage at their natural level of abstraction.

The RAPID AI project encompasses a substantial body of engineering knowledge. The domain content — developed through iterative sessions between Dibyendu De and AI assistants — originally comprised 200+ source files across 18 archives, subsequently consolidated into 191 structured files organized into 16 module-aligned folders. This consolidation preserved every piece of domain knowledge while revealing the architectural relationships between concepts.

The technical scope is equally ambitious: 15 platform modules spanning data ingestion through governance, 17 microservices in the target architecture, 34 database tables, 320 failure mode definitions, 300 imperfection rules, and 119 physics-based fault detection rules. The system is designed to serve the full spectrum of industrial reliability needs — from a single pump diagnostic to plant-wide reliability optimization.

This book does not attempt to reproduce every file verbatim. Instead, it synthesizes the essential concepts, frameworks, rules, and formulas into a coherent narrative that serves three purposes:

  1. For reliability engineers — understand the diagnostic philosophy well enough to trust the system’s recommendations and extend its rule library with site-specific knowledge.
  2. For software developers — understand the domain well enough to implement the system correctly, maintaining the physics traceability that distinguishes RAPID AI from statistical pattern-matching systems.
  3. For decision makers — understand the business case well enough to invest in the three-track strategy that moves an organization from reactive firefighting to design-led failure elimination.

The book is both a reference manual and a design document. It describes what RAPID AI is, how it works, and why it works that way. It does not describe how to operate the software — that is the subject of user documentation that accompanies the deployed system. It describes the engineering intelligence that the software embodies.


“We don’t predict failures — we prevent them, permanently.” — Dibyendu De


Domain Expert & Reliability Engineering Consultant: Dibyendu De (RGBWaves) — 28 years of diagnostic practice, 4,000+ validated cases Product & Solution Architect: Rick D (rdtect) — conceptualises engineering thoughts into code Version: 2.1.0 | March 2026


StandardRelevance to This Chapter
ISO 13374 — Condition monitoring and diagnostics of machinesThe Preface introduces the RAPID AI pipeline that directly implements the six processing levels (L1-L6) defined by ISO 13374, extending beyond with Modules F and G.
ISO 17359 — General guidelines for condition monitoringThe diagnostic philosophy described here — systematic observation, physics-based reasoning, structured maintenance response — aligns with ISO 17359’s guidelines for establishing condition monitoring programs.
ISO 55000/55001 — Asset managementRAPID AI’s three-track strategy (CBM, RCM, Design-Out) maps to ISO 55000’s lifecycle asset management principles, moving organizations from reactive to optimized asset stewardship.
MIMOSA OSA-CBM — Open System Architecture for CBMThe pipeline architecture (data acquisition through advisory generation) described in the Preface follows the OSA-CBM layered architecture for condition-based maintenance systems.
VersionDateAuthorChanges
2.1.02026-03-17Rick DAdded standards alignment, living doc metadata, changelog
2.0.02026-03-17Rick DEnriched with production codebase content
1.0.02026-03-17Rick DInitial chapter creation