FIELD ENGINEERING | EDGE AI | INDUSTRIAL KNOWLEDGE SYSTEMS
An industrial AI assistant should not answer a maintenance question simply because it has seen similar equipment before. It must first establish which machine is being serviced, which documentation applies, whether that documentation is current, and whether the answer is supported by verifiable evidence.
This guide presents an engineering architecture for retrieval-augmented generation (RAG) in industrial AI terminals. It covers exact part-number matching, hybrid keyword and vector retrieval, document revision control, source-level citations, offline operation, access control, safe abstention and edge deployment.
CENTRAL ENGINEERING PRINCIPLE
Retrieve the correct document before asking the model to generate an answer.
A fluent answer sourced from the wrong equipment revision is still an incorrect answer.
Consider an illustrative factory maintenance scenario. A production line stops after a servo-system replacement. A technician asks an AI terminal to locate the appropriate troubleshooting procedure.
The local knowledge base contains multiple servo amplifier manuals, motor compatibility tables, archived machine-builder instructions and service bulletins. Several documents describe similar symptoms, but they do not all apply to the installed equipment.
A conventional semantic search may retrieve a paragraph describing a similar alarm in a different product family. A language model may then transform that passage into a convincing explanation.
The problem is not necessarily weak language generation. The retrieval system has failed to establish equipment identity and document applicability.
Uncontrolled workflow:
Maintenance question → similar passage → plausible answer.
Engineering-controlled workflow:
Maintenance question → confirmed equipment identity → approved document revision → applicable passage → evidence-backed answer.
The objective is not merely to make an AI assistant sound knowledgeable. It is to make the complete knowledge path inspectable.
A production RAG system should separate document preparation, equipment identification, retrieval, answer generation and equipment control. These functions have different failure modes and should not share unrestricted access.
Import approved manuals, service bulletins, troubleshooting procedures, parts catalogs and equipment records. Preserve manufacturer information, document revisions and source integrity.
Determine the equipment model, applicable revision, site scope and user permissions before searching the knowledge base.
Combine exact keyword matching with semantic retrieval to locate passages that are both relevant and applicable.
Preserve the original document identity, page reference, section heading and applicability metadata for every passage used in an answer.
Generate an explanation from admissible evidence. Where the evidence is missing, incomplete or contradictory, the system should state the limitation.
Present the answer with source links, relevant cautions and a clear insufficient-evidence state. The technician must be able to inspect the original source.
Architecture boundary: The retrieval system supplies evidence. It does not grant a language model authority to execute machine commands. Physical control must remain in separately authorized and safety-governed systems.
Industrial documentation contains information that ordinary text extraction can handle poorly: alarm tables, terminal diagrams, wiring references, model suffixes, revision notes and procedural warnings.
Extracting only running text can separate a warning from the procedure it belongs to or associate an alarm code with the wrong table row.
Do not split every manual into arbitrary fixed-length fragments without considering its structure.
Keep an alarm-table row intact. Retain the heading that establishes model applicability. Associate safety notices with the related procedure. Preserve figure numbers and the images needed to interpret a wiring or terminal diagram.
Overlapping text windows can help maintain context, but overlap cannot repair a damaged table or reconstruct a missing figure. Critical information extracted from scanned manuals requires quality checks.
Vector search is useful for natural-language similarity. For example, a technician may describe a symptom as "the drive trips when the axis slows down," while the manual uses different wording.
However, semantic similarity does not replace exact matching of a part number, alarm identifier, connector name or firmware revision.
Keyword search is valuable for exact identifiers, model suffixes and specialized terminology. A local implementation might use SQLite FTS5 with BM25 ranking or another suitable full-text engine.
A vector index can retrieve conceptually related passages when the user's wording differs from the source text. The embedding model must be validated for the target language and industrial vocabulary.
The critical design decision is to filter for equipment compatibility and document authorization before ranking candidate passages.
Reciprocal Rank Fusion, or RRF, is one option for combining lexical and vector result lists. Its ranking parameters should be tuned using representative industrial questions rather than copied blindly from a generic benchmark.
Important: If the exact machine or firmware revision is unknown, the system should ask for it when that information affects applicability. It should not silently substitute the nearest-looking model.
An industrial knowledge base changes over time. Service bulletins are updated, machine configurations evolve and component substitutions may invalidate older instructions.
A database that simply accumulates documents will eventually contain conflicting procedures.
Draft: Imported but unavailable for production answers.
Validated: Source, extraction quality and equipment applicability have been checked.
Approved: Eligible for retrieval within the defined equipment and user scope.
Superseded: Retained for historical use but excluded from current answers by default.
Revoked: Blocked from ordinary retrieval pending explicit review.
Approval and revocation must be enforced by the retrieval service. The language model should not decide independently whether to use a superseded document.
An offline fleet needs a controlled knowledge-package update process. A release package should include a manifest, source checksums, document status changes, index version and model compatibility information.
Stage and validate the new knowledge package before switching the active index. If the update fails or power is interrupted, the terminal should retain its last approved package rather than serve a partially updated corpus.
A citation is useful only when it resolves to a real passage in the approved source material. The technician should be able to open the referenced manual, inspect the relevant page and verify the statement.
A maintenance answer should contain three elements: the substantive response, its supporting evidence and the conditions under which that evidence applies.
ILLUSTRATIVE ANSWER
Question: Which troubleshooting instructions apply to this installed servo amplifier?
Response: The complete equipment model has not yet been confirmed. The knowledge base contains documentation for several related models. Please confirm the full model number and applicable firmware revision before a procedure is selected.
This example illustrates uncertainty handling. It is not an actual manufacturer instruction or equipment diagnosis.
Abstention is not a product defect. For industrial maintenance, a clear request for missing information may be safer and more useful than a confident answer derived from the wrong manual.
Retrieved documents are data, not privileged instructions. A PDF, OCR result or imported service note may contain text that attempts to redirect the AI assistant.
The retrieval system should not allow source content to override application policy, access controls or tool permissions.
Document intake: Validate provenance, integrity and approval status.
Retrieval: Apply document-level permissions and equipment compatibility constraints.
Generation: Treat retrieved passages as evidence, not as instructions with system authority.
Tool execution: Enforce separate authorization and parameter validation.
Physical control: Keep safety-related operations behind deterministic controls and qualified operating procedures.
An assistant may explain approved maintenance information, but it should not bypass machine interlocks or execute safety-critical operations merely because a retrieved document describes them.
Hardware requirements depend on the selected workload. A terminal that searches and displays approved passages has different requirements from one that also runs embedding generation, reranking and a local language model.
The device stores an approved document collection and supports local keyword or vector retrieval. It presents source passages without generating a free-form answer.
This is appropriate when the primary objective is precise access to technical documents.
The terminal runs local retrieval, an embedding model, optional reranking and a local language-generation model.
This requires additional memory, storage, processing capacity and sustained-load validation.
An RK3576-class platform can be evaluated for this application, but a stated NPU TOPS figure does not establish compatibility with any particular embedding model, reranker or language model. Model format, supported operators, quantization, memory consumption and thermal performance all require verification.
Fallback principle: Keep approved local document search available even if the optional generative model becomes unavailable. The technician should still be able to retrieve the original source.
The following is an illustrative workflow for a local industrial AI assistant.
Voice interaction can be added to this workflow. A technician may ask a question hands-free, but speech recognition is only an input method. The answer must still come from authorized technical evidence.
A useful industrial RAG benchmark must test source selection independently from answer fluency. Otherwise, a convincing explanation may conceal that the wrong document was retrieved.
Exact-model query: Confirm that retrieval selects only compatible documents.
Similar-suffix query: Verify that models differing by one suffix are not treated as interchangeable.
Unknown-revision query: Verify that the terminal requests clarification when revision affects applicability.
Superseded-document query: Confirm that approved current material is preferred and historical material is clearly labeled.
Unanswerable query: Verify that the system does not invent a procedure.
Unauthorized-document query: Confirm that access restrictions are enforced before retrieval.
Network-outage query: Verify that the defined local search capability remains available.
Interrupted-update query: Verify that the last validated knowledge package remains usable.
Malicious-document query: Verify that instructions embedded in retrieved content do not override application policy.
Numerical targets should be defined from the actual equipment risks, document quality and deployment requirements. A generic benchmark does not replace application-specific qualification.
A production release must identify more than the application version. The same user question can produce different results after a document, index or ranking-model update.
Maintain a tested compatibility record covering:
This release record makes field failures reproducible and helps engineering teams identify whether a regression came from source content, search configuration, generation behavior or device software.
Search approved manuals, service bulletins and troubleshooting references by exact machine and component identity.
Display contextual technical help linked to the active machine, controller revision and permitted operating state.
Give technicians access to local knowledge when connectivity is intermittent or unavailable.
Combine controlled local knowledge retrieval with voice, touch and visual interfaces while keeping device actions separately authorized.
Moving from a desktop RAG prototype to an industrial terminal requires evaluation of the complete system: storage, local search, model execution, source display, networking, security, recovery and thermal design.
LcdChip provides an independent website entry point for evaluating embedded AI terminal hardware. The TIoT-3576EV is an RK3576-based platform with AI acceleration, display capability, networking and industrial interfaces.
The platform may be considered for industrial knowledge applications, but compatibility with a specific offline RAG stack must be established through model deployment, indexing, memory and sustained-performance testing.
Share the application scenario, document collection size, required languages, equipment identification method, offline functions, preferred model runtime, display requirements and production schedule.
Explore TIoT-3576EV AI Terminal Board
Offline RAG complements an AI agent architecture, but the two address different engineering problems.
RAG determines which approved knowledge supports an answer. Agent orchestration determines which tools may be invoked and how authorized tasks are executed.
For the action and permission architecture, see AI Agent Smart Terminal Architecture .
For local/cloud routing and offline voice interaction, see Cloud vs On-Device Voice AI .
An industrial RAG terminal earns trust by proving where its answers came from, which equipment they apply to and which uncertainty remains.
Exact retrieval, document revision discipline, verifiable citations, controlled updates and reliable abstention matter more than fluent unsupported explanations.
Technical article by LcdChip - Industrial AI and Embedded Knowledge Systems.

