Expert Tech Pilot builds measurement capture, traceability, and QMS integration software for plants that need records an auditor and an engineer can both use. Quality software has an unusual requirement: it has to be useful during production and defensible years later. Those are different tests. A screen that is quick for an operator may still produce a record that cannot answer an auditor's question about which instrument, method revision, or limit set was in effect. The data model has to serve both.
Where manual quality records fail
Manual measurement is not automatically bad. A skilled inspector with a calibrated instrument can produce a better result than a poorly integrated sensor. The failure is usually in the transcription and the context, not the measurement itself.
- Transcription error. A reading copied from a display to a form, then to a spreadsheet, then to an ERP. Each step is an opportunity to lose a digit or a decimal place.
- Lost identity. The value is recorded, but the sample, batch, or serial is written separately or omitted. The measurement exists and cannot be traced.
- Undocumented method. The result does not record which procedure, limit set, or instrument setting produced it. Two values that look comparable may not be.
- Late discovery. A failing result is found when the report is assembled, after the batch has moved or shipped.
- Unauditable corrections. A value is overwritten in a spreadsheet with no record of the original, the reason, or the person who changed it.
Sample and production identity
The measurement record needs to know what was measured and where it came from. In a manufacturing quality system, that usually means four separate identifiers:
| Identifier | Answers | Example form |
|---|---|---|
| Production order | What work was being performed? | Work order or job number |
| Batch / lot | Which traceable quantity does this belong to? | Batch code assigned at mixing or forming |
| Sample | Which measurement instance is this? | Sequential sample number within the batch |
| Serial / unit | Which individual piece, if the product is serialized? | Serial or unit identifier |
A sample is not a batch. Averaging three samples and storing only the average destroys the replicate information that SPC and investigation need. Store the individual measurements and the derived average separately, with the rule that produced it.
Instrument integration
The integration method determines how much trust the value deserves. A direct digital read from an instrument is not the same as an operator typing a displayed value, and neither is the same as a value derived from a formula on other measurements.
| Method | Strength | Record implication |
|---|---|---|
| Direct instrument interface | No transcription; status can be read | Store the raw response, unit, and instrument status |
| DAQ analog input | Works with sensors that have no digital interface | Store scaling, range, and quality; document the uncertainty |
| Manual entry with validation | Necessary for some tests and observations | Record that it was manual, who entered it, and the allowed range |
| Calculated result | Combines several measurements into a property | Store inputs, formula revision, and the calculated value |
| Image analysis | Measures features that are hard to gauge manually | Store calibration, segmentation settings, and the original image reference |
Do not silently convert a manual entry into the same record shape as an instrument reading. The provenance is part of the quality data. An auditor may accept both, but not if the system claims they were captured the same way.
Limits, targets, and tolerance logic
A specification is more than a minimum and a maximum. It has a target, a tolerance type, a unit, a revision, and a scope. Common forms include:
- Two-sided absolute limits: 4.50% to 5.50% moisture.
- Target plus/minus tolerance: 50.00 mm ± 0.10 mm, which resolves to 49.90–50.10 mm.
- One-sided limits: density not less than 2.50 g/cm³, with no upper bound.
- Percent-of-reading limits: a result within ±2% of the nominal value, where the absolute tolerance changes with the reading.
Store the resolved lower and upper limits with the result, not only a reference to a specification table that may change later. The record should show what limit was applied at the time of the test. Keep the specification revision as well, so a later review can reconstruct the decision.
Compare the unrounded value to the limit, then round for display according to the method. A measured 5.496% displayed as 5.50% against a 5.50% maximum is not a pass if the underlying value is above the limit. The rounding rule belongs to the method, not to the display code.
Worked measurement examples
These calculations are illustrative. They show how a measurement is derived and where a record can lose meaning; they are not customer measurements.
A sample with a wet mass of 120 g and a dry mass of 114 g has 6 g of water.
wet basis: ((120 − 114) / 120) × 100 = 5.00% dry basis: ((120 − 114) / 114) × 100 = 5.26%
The two numbers describe the same sample with different denominators. Wet-basis moisture is the common convention for many manufacturing specifications; dry-basis is common in other industries and in some laboratory methods. A record that stores "5.0% moisture" without the basis is ambiguous.
For a sample weighed in air and suspended in a liquid, the apparent density can be calculated from the buoyancy difference. With a dry mass of 42.35 g, a suspended mass of 25.90 g, and water at 0.9970 g/cm³:
ρ = m_dry / (m_dry − m_suspended) × ρ_liquid ρ = 42.35 / (42.35 − 25.90) × 0.9970 ρ = 42.35 / 16.45 × 0.9970 ρ = 2.567 g/cm³ (rounded to 3 decimal places)
The result is an apparent density that includes open porosity accessible to the liquid. It is not the same as a geometric density from envelope volume or a true skeletal density. The method must state which quantity is being reported, because the values are not interchangeable.
A geometric density is simpler: mass divided by envelope volume. A 42.35 g part with an envelope volume of 18.60 cm³ is 2.277 g/cm³. The difference from the displacement result is not an error; it is a different measurement.
A green dimension of 50.00 mm that measures 42.50 mm after firing:
shrinkage = ((50.00 − 42.50) / 50.00) × 100 = 15.0%
Shrinkage can be expressed relative to the green dimension or the fired dimension. The first is conventional; the second produces a larger number for the same change. Store the basis with the result and use the same basis for every comparison.
A transmitter ranged 0–400 °F over 4–20 mA reads 12.8 mA:
T_F = ((12.8 − 4) / 16) × 400 = 220 °F T_C = (220 − 32) × 5 / 9 = 104.4 °C
A 0.1% span error is 0.4 °F. The display may show 220.0 °F, but the measurement is not known to a tenth of a degree. Record the instrument range and the calibration so a later reader can judge the precision.
A pH example and the 4–20 mA scaling arithmetic are covered on the LabVIEW development page. The same principles apply here: state the assumptions, keep the unit, and separate resolution from accuracy.
Talk it through
Still recording manufacturing measurements manually?
Bring the traveler, the spreadsheet, or one test station’s results. You will speak directly with the architect who would design the measurement record, from instrument capture to the quality system. The first conversation is free and carries no obligation.
Discuss Quality AutomationUncertainty, resolution, and guard bands
Resolution is the smallest change a system displays. Accuracy is how close the value is to the true quantity. Repeatability is how close repeated measurements are to each other. These are different properties, and a quality decision needs the one that matches the risk.
Specification: 4.50–5.50% moisture. Measured: 5.47%. Expanded measurement uncertainty: ±0.15%.
upper guard limit = 5.50 − 0.15 = 5.35% measured 5.47% is above the guard limit but below the specification limit
Whether that is a pass, a fail, or a review depends on the documented decision rule. The important thing is that the rule is written down and applied consistently. Treating 5.47% as an unambiguous pass ignores the uncertainty; treating it as a failure ignores the specification.
Do not add uncertainty to every display. Use it where the decision is close to a limit or where the method requires it. A tolerance that is 50 times the measurement uncertainty does not need the same treatment as one that is twice the uncertainty.
Calibration records and instrument state
A measurement is only as good as the instrument's calibration state at the time of the test. The quality record should be able to answer whether the instrument was in calibration, when it was last checked, and what the check result was.
- Calibration interval. The due date is not the same as the last calibration date. Store both and evaluate the due date against the measurement time.
- As-found and as-left. A calibration that finds the instrument out of tolerance may require an impact assessment on measurements taken since the previous calibration.
- Reference standards. Record the standard used and its traceability. A check against an uncalibrated weight is not evidence.
- Daily verification. A daily check is a verification, not a recalibration. Label it correctly and record the result, including a failed or skipped check.
- Out-of-service state. The application should prevent a test on an instrument that is out of calibration or out of service, or require an explicit, logged override.
SQL storage, corrections, and audit
Store results in a structure that separates the measurement header, the individual measurements, and the evaluation. A single wide table with dozens of nullable columns is common and becomes difficult to query as the test mix grows.
CREATE TABLE dbo.QualityTest (
TestId uniqueidentifier NOT NULL PRIMARY KEY,
WorkOrderId nvarchar(32) NOT NULL,
BatchId nvarchar(32) NULL,
SampleId nvarchar(32) NOT NULL,
MethodId nvarchar(32) NOT NULL,
EquipmentId nvarchar(32) NOT NULL,
CalibrationId nvarchar(64) NULL,
TestedAtUtc datetime2(3) NOT NULL,
ResultStatus tinyint NOT NULL, -- 1 pass, 2 fail, 3 invalid
EnteredBy nvarchar(64) NOT NULL,
SourceType tinyint NOT NULL -- instrument, manual, calculated
);
CREATE TABLE dbo.QualityMeasurement (
MeasurementId uniqueidentifier NOT NULL PRIMARY KEY,
TestId uniqueidentifier NOT NULL REFERENCES dbo.QualityTest(TestId),
Name nvarchar(64) NOT NULL,
NumericValue decimal(18,6) NULL,
Unit nvarchar(16) NOT NULL,
LowerLimit decimal(18,6) NULL,
UpperLimit decimal(18,6) NULL,
LimitBasis nvarchar(16) NULL
);
Illustrative schema. Real quality systems add method revision, specification revision, instrument status, and an audit table.
Corrections should be superseding records, not in-place updates. Store the original value, the corrected value, the reason, the person, and the time. The same rule applies to a result that is invalidated: mark it invalid and create a new record rather than deleting the evidence.
SPC, Cp, and Cpk — with the caveat
Statistical process control is a method for distinguishing common-cause variation from special-cause variation. It is not a synonym for a specification check. A process can be entirely within specification and still be unstable, and a stable process can be incapable.
Capability indices compare the specification width to the process spread:
Specification 4.50–5.50% moisture. Estimated process standard deviation 0.12%. Process mean 5.08%.
Cp = (USL − LSL) / (6σ) = (5.50 − 4.50) / (6 × 0.12) = 1.00 / 0.72 = 1.39
Cpk = min(USL − mean, mean − LSL) / (3σ) = min(5.50 − 5.08, 5.08 − 4.50) / (3 × 0.12) = min(0.42, 0.58) / 0.36 = 1.17
Cp describes the spread relative to the specification width. Cpk also accounts for how far the mean is from the nearer limit. The lower Cpk shows that the process is off-center, even though the overall spread is unchanged.
Two cautions. The standard deviation must come from a stable process and a defined sampling plan; a sigma calculated from a process that is drifting or from mixed product families produces a confident-looking number with no meaning. And capability indices are not a substitute for control charts, which show when the process changed.
If the quality system requires annual capability studies, the data model still has to support the daily decisions. A capability report once a year does not help an operator facing a result at 5.49%.
Traceability, reporting, and integration
Traceability is the ability to follow a product or batch forward and backward through the production process. The quality record contributes the measurements; the production record contributes the material, equipment, and sequence. The two have to join on identifiers that are stored, not inferred.
- Forward trace. From a raw lot to the batches and units that used it.
- Backward trace. From a finished unit to the lots, equipment, and measurements that produced it.
- Quality disposition. Which results were pass, fail, rework, or concession, and who approved the decision.
- Change history. Which specification, method, or limit revision applied at the time.
Reporting should separate operational views from the immutable record. An operator needs a fast pass/fail screen; a quality engineer needs trends and exceptions; an auditor needs the original record and its corrections. One table can serve all three if the status and audit columns are designed, but a report that overwrites the record to make the screen fast is a liability.
Integration with the ERP usually sends a disposition or a summary, not every measurement. The quality system remains the owner of the result; the ERP owns the order and inventory. Integration with the MES or SCADA adds process context — equipment state, batch start and end, process conditions — to the quality record.
Quality systems differ in what they expose. A QMS may accept inspection results through an API or a file import, and a LIMS may hold laboratory results that never reach the production record. The integration work is to get the measurement into the system that owns the quality decision and to attach the laboratory result to the same lot or batch. Which system is authoritative for a given field is confirmed during discovery, and no platform certification is implied.
Verified quality-automation experience
The Zircoa work includes LabVIEW applications for press-mix batch qualification, green density, large-crucible dimensional inspection, sintered density with LIMS integration, and vision-based bead inspection. These applications connect moisture analyzers, scales, micrometers, Keyence lasers, and imaging equipment; apply product-specific acceptance criteria; store results in SQL; and support SPC review.
The Zircoa case study documents the applications and the data chain. It does not report quantified scrap reduction, throughput, or ROI, and neither does this page.
This page describes software and data engineering for quality measurement. It is not a metrology laboratory, a calibration service, or a certification body. Measurement uncertainty, method validation, and calibration traceability remain the responsibility of the plant's quality function and its accredited providers.