Engagement · Manufacturing
A governed plant data platform for machine and quality data at a discrete manufacturer
A discrete manufacturer gathers machine signals and inspection results in one governed platform while keeping the plant network closed to inbound connections.
The situation
A discrete manufacturer machines and assembles metal components in three plants. The floor has CNC machining centers, presses and assembly stations bought from several builders over several decades, and they are controlled by PLCs from more than one vendor. Every plant runs its own SCADA system and historian. Two of the plants track orders and operations in a manufacturing execution system, while the third still works from paper travelers. Quality data comes from coordinate measuring machines, gauges and an SPC package, and the ERP holds production orders, routings and costs.
Each of these systems is good at the question it was bought for, but none of them can answer what engineers ask most often, such as which machine conditions came before a batch of out-of-tolerance parts, why the same part runs slower in one plant than another, or what micro-stops cost over a week. At present an engineer answers those questions by exporting from the historian, the measuring machine software and the MES and combining the files in a spreadsheet. The manufacturer wants that join built once and maintained properly, and it wants this done without weakening the separation between the plant and office networks.
What was going wrong
The same signal under different names
Spindle load carries one tag name on a machine from one builder and a different name, unit and scaling on the machine next to it, because each plant's historian was configured by a different integrator. As a result, a query written for one line usually fails on the next.
Machine data without production context
The historian records that a spindle drew a certain current at a certain second, but it has no record of the order, part number or operation that was running at the time. Without that link, the signal cannot be connected to a scrapped part or a customer complaint.
Quality results kept in inspection software
Measurement reports are saved as files on the computer next to each coordinate measuring machine, and characteristics are identified by whatever labels the programmer chose. Tracing a dimension back to the machine and tool that cut it therefore turns into a manual investigation each time.
Ad hoc connections into the plant network
Engineers who needed data have set up remote desktop sessions, shared folders and a database link that runs from the office network into a historian. Each of these is a route into the control environment that the security team never designed or reviewed.
Our approach
In orderStart from three questions
We would sit down with plant, quality and maintenance leaders and agree the first questions the platform has to answer, for example how to trace a dimensional defect back to the machine conditions behind it. Those questions decide which lines, signals and quality characteristics go into the first release, which keeps the project from collecting every available tag.
Design the boundary with controls engineers
Together with the people responsible for the control systems, we draw the data flows against the plant's network zones. Collection takes place in an edge layer inside the plant, and data leaves through a connection in a demilitarized zone that only opens outward. None of what we build needs inbound access to a controller or writes anything to one.
Agree a common model
Working with engineers from each plant, we define an asset hierarchy that runs from site down to machine, along with a standard set of signal names and units and a model of machine states. Every plant's tags are then mapped to this model in a maintained table that the people who know the equipment review.
Add context at ingestion
Machine data is matched by machine and time to MES operation records and ERP production orders, so each measurement arrives with its order, part and operation attached. Inspection results are parsed and keyed to part, characteristic and serial or lot number. Where context is missing, as in the plant that uses paper travelers, the gap is marked and left unfilled.
Prove one line, then extend
A single machining line in one plant is taken all the way from raw tag to an answered question, with data quality tests and access controls in place. After that, further lines and plants are brought in through mapping work, and the pipeline built for the first line is reused without changes.
The design
The parts and what each one doesEdge collection
Gateways in each plant read from PLCs and historians over OPC UA and vendor protocols and publish to a local MQTT broker. They buffer to disk, so if the uplink drops the data arrives late but is not lost.
Outbound-only transfer
A broker bridge in the plant's demilitarized zone forwards data to the central platform over a connection that the plant side opens. The firewall rules do not allow any session to be started toward the control network.
Lakehouse storage
Raw time series, inspection files and event data are kept in object storage in an open table format, with cleaned and contextualized layers built on top. Keeping the raw data means a mapping error can be corrected and the history rebuilt.
Context and mapping services
This layer holds the asset hierarchy, the tag mapping table and the joins to MES, ERP and quality records. All of it is versioned, which lets anyone trace a figure back to the mapping that produced it.
Catalog and access control
A data catalog lists every dataset with its owner, definition, quality tests and classification. Access is granted by role, and any data shared with suppliers or customers goes through a separate view that has been reviewed.
Serving layer
Engineers get SQL access, Power BI, Looker and similar tools receive feeds, and curated tables cover process capability, machine states and traceability by serial or lot.
Safeguards
What keeps a bad day smallRead-only toward the plant
The platform reads tags and does not write setpoints or commands. If someone later proposes sending a value back to a machine, that becomes a separate project owned by the controls engineers and run under their change process.
Production runs without the platform
The edge gateways listen passively and are sized so their polling does not load the controllers. Should a gateway, the uplink or the central platform fail, the machines, SCADA and the MES keep running as before.
Releases in maintenance windows
Anything installed inside the plant network goes in during planned downtime, with a rollback that has been tested beforehand and one of the plant's own engineers on site.
Data quality tests on every load
Each load runs checks for stuck values, gaps, clock drift between sources and tags that have no mapping. When a dataset fails, it is flagged both in the catalog and in the reports that draw on it.
Timeline
Weeks 1 to 2
We agree the first questions, choose the pilot line, review network zones and data flows with the controls and security teams, and list the ad hoc connections already in place.
Weeks 3 to 5
The edge gateway and outbound transfer are installed during a maintenance window, the common model and tag mapping are drafted for the pilot line, and raw data starts to land.
Weeks 6 to 9
We build the context joins to MES, ERP and inspection data, add data quality tests, catalog entries and access roles, and produce the first traceability and machine state tables.
Weeks 10 to 12
Engineers answer the first questions from the platform itself. We hand over the runbooks, close the old ad hoc connections and document the mapping method so further lines can follow it.
What it changes
What the build is designed to changeWhen a quality engineer investigates an out-of-tolerance dimension, they can pull the machine, tool, program and process conditions for the affected serial numbers from one place and set them beside the same data for good parts. A manufacturing engineer can compare an operation across plants, because cycle, state and signal names now carry the same meaning in each of them, and the spreadsheet exports no longer have to serve as the integration layer.
Security and plant management gain a boundary that fits on one page, showing where data is collected, the single route by which it leaves and the fact that there is no route in, and the informal connections are taken out. The first line serves as the test case, and the measures below set out what is checked before the platform is extended to the next line.
How success is measured
- Time needed to assemble machine and quality data for a single defect investigation
- Share of pilot line signals that are mapped to the common model and pass quality tests
- Share of machine data records that carry order, part and operation context
- Number of inbound connections into the plant network, where the target is zero
- Effort to bring on an additional line, measured in mapping work rather than new code
What generalizes
Context is worth more than volume
An archive of every tag at high frequency answers few questions by itself, whereas a smaller set of signals linked to order, part and operation answers most of them. For that reason the join to production records deserves more design effort than the collection does.
Naming is a governance decision
A shared model of signals and states only holds if someone owns it and the plants agree to map to it. Keeping the mapping as reviewed data outside the pipeline code means plant engineers can maintain it themselves, and adding a new machine becomes a configuration task.
The network boundary shapes the design
Deciding early that data only flows outward and that nothing writes back removes whole categories of risk, and it settles a good many arguments before they start. The consequence is that buffering, time synchronization and monitoring have to be solved at the edge, so that is where most of the engineering effort ends up.
Related
If you have a similar problem, a two-week review is the usual place to start.
Tell us what you are trying to do and where it is stuck. A principal reads every message and replies within one working day.
