vaayaa Inclusive Education

Robotics, IoT and Industrial Automation Engineering Case Studies

Technical5 Case StudiesUpdated Sep 2026

Automation work rarely fails in one place. A controller misreads a sensor, a gateway drops packets, a model drifts after a supplier changes a label, and suddenly the floor is acting on bad information. The five cases below come from sites running conveyors, filling lines, cold storage, and warehouse robot fleets. Each one starts with a concrete problem and works through evidence, constraints, and records before anyone changes a setting. Pay attention to the order of questions as well as the answers. All figures are internal to the operations described.

1

Case Study 1

Filler drift after a gateway firmware release

Harrow Creek Beverage Works, a regional bottler with two filling lines and one palletizing cell, all reporting through a shared edge gateway.

The situation

Two days after a gateway firmware release, the night shift noticed that the fill-level trend on the first filling line looked jagged. The release had gone to all three cells during a scheduled window, and the vendor notes mentioned a change to how timestamps were buffered before upload. By the next shift, the historian showed telemetry arriving up to forty seconds late. The closed loop was correcting fill volumes against readings that were already stale. Volumes stayed inside the plus or minus 0.5 percent band for most of the shift, but the margin was thin. Two palletizing faults were logged when sensor events arrived out of sequence.

The challenge

The release notes described a cosmetic change, and the change window had passed without anyone checking clock behavior on the older line controllers. Rolling back would reopen a security patch that had been applied in the same package. Stopping the line meant losing a full run of product and a customer delivery window. The plant manager, Dariusz, wanted service restored before the next shift without a second unplanned stop. The maintenance lead, Ines, wanted to know whether the drift had been present before the release.

Analysis

The first step was separating the real change from the apparent one. Ines pulled the gateway configuration diff and the historian's raw arrival times, then compared them with the controller's scan timestamps. The pattern matched a buffer that held samples for a fixed interval before stamping them with the upload time rather than the sample time. The mismatch was easy to miss: the closed loop was tuned for a sample interval of two hundred milliseconds, and nobody had documented the assumption that stamps and samples were the same event. The maintenance log added a second thread: the older controller's clock had not been synchronized in over a month.

Quality tolerances set the real deadline. A fill volume outside the band triggers a sample check and, if repeated, a hold on the lot, so the team needed to know how much headroom remained. The historian showed the loop had been pushing fill setpoints slightly high to compensate for lagged feedback, which kept volumes legal while building a margin problem for the following shift. Operating data from the two untouched lines served as a control: they ran the old firmware and showed no lag. That comparison narrowed the cause to the release and ruled out the product, the supplier, and the operators. It also gave them a baseline.

Gateway release and recovery sequence
  1. Release windowGateway firmware pushed to all three cells during scheduled hours.
  2. Next shiftHistorian shows arrival delays up to forty seconds on line one.
  3. Evidence reviewBuffer timing matched by comparing config diff and raw timestamps.
  4. Rollback and patch splitLine one pinned to prior build; security patch shipped separately.
  5. Gate addedReplay test now blocks builds that raise arrival latency.

Actions taken

  1. Pin the first line's gateway to the prior build while keeping the security patch through a separate update. Confirm arrival times in the historian before accepting the change.
  2. Synchronize the older controller clocks to the gateway and log each sync in the maintenance system, so drift appears as a work order first.
  3. Add a staged release gate that replays a recorded telemetry window against the new firmware and rejects builds that shift arrival latency beyond an agreed limit.
  4. Add an alarm on sample age at the historian, set well below the closed-loop interval, and route it to the shift lead's screen with a required acknowledgment.

Results

The first line returned to normal timing within the same shift, and the pinned gateway ran for the rest of the release cycle without a lag event. Fill volumes stayed in band for the remainder of the week, and the two palletizing faults did not recur after the sample ordering was corrected. The replacement build was accepted three weeks later, only after it passed a replayed telemetry window that stayed under the agreed latency limit. The older controllers were synchronized and now appear in the maintenance schedule with a monthly check. No product was held.

Questions for discussion

  • Which measurements from the historian would have shown the buffer change before the first shift complaint, and how would you have set the alarm threshold?
  • When a release is needed for a security fix, how would you decide whether a temporary rollback is safer than keeping the new behavior under watch?
  • What would it take to make maintenance records and firmware changes visible to the same person on the floor?
2

Case Study 2

Conflicting excursion counts across two cold storage reports

Larkspur Cold Storage, a regional operator of temperature-controlled warehouses that tracks product condition with wireless loggers.

The situation

Two reports covering the same cold rooms gave different numbers of temperature excursions for the prior month. The quality team counted 41 events above the six-degree limit for chilled dairy, while the operations dashboard showed 27. Both teams had built their figures from the same logger fleet of 1,840 devices, but each pulled from a different table. The quality report used a nightly export. The dashboard read a streaming feed that passed through a gateway and a mapping table linking logger serial numbers to room identifiers. Nobody could say which number the customer audit would accept.

The challenge

The customer audit was due before the next scheduled report, and a wrong count could mean either an unnecessary product recall or a missed one. The operations manager, Mateus, wanted a single number he could defend in front of the account team. The data engineer, Priya, found that the export and the feed had different handling for loggers reporting in local time, and that the mapping table had not been updated after a sensor replacement moved three loggers. Neither team had a check that would have flagged the gap.

Analysis

Priya started by tracing each figure back to its source rows instead of comparing totals. The export stored timestamps in the logger's local time with no offset, while the feed used coordinated universal time, so every event near a daylight change was shifted by an hour. Design constraints in the original logger firmware explained the mismatch, though the documentation said nothing about it. The maintenance log showed three loggers had been swapped during a sensor replacement, and the mapping table still pointed their serial numbers at the old rooms. Those three rooms accounted for most of the difference between the two counts.

Teams grounded in Robotics, IoT and Industrial Automation Engineering usually treat a tolerance as a rule about the data, not only about the product. Here the excursion threshold was clear, but the tolerance on timing was not written anywhere, so a one-hour error could move an event across a day boundary and change the report. The team set a tolerance of two minutes between the logger clock and the gateway clock, and a completeness tolerance of 98 percent of expected readings per room per day. Gateway records showed the feed had been missing about 3 percent of readings during a gateway restart, which the dashboard hid by repeating the last value.

Whether to trust the rebuilt excursion count
Does the rebuilt count match raw logger readings?
YesPublish with method noteAttach the timezone standard, mapping version, and coverage rate used to build the figure.
NoReconcile sources firstTrace each mismatched row to its timestamp standard and logger mapping before release.
Coverage rate and method note accompany every excursion count.

Actions taken

  1. Rebuild the excursion count from raw logger readings using one timezone standard, and keep the old export as a labeled reference for comparison.
  2. Update the mapping table through the maintenance change process, so every logger replacement creates a dated record linking serial number, room, and sensor.
  3. Add a completeness check that flags any room with fewer than 98 percent of expected readings per day, and show gaps on the dashboard instead of repeating the last value.
  4. Add a clock tolerance test between each logger and the gateway, and hold the daily report when any device exceeds two minutes of offset until someone reviews it.

Results

The rebuilt count came to 39 excursions, which sat between the two original figures and was traced fully to the three swapped loggers and the timezone offset. The customer audit accepted the reconciled figure with a written note on method. The completeness check flagged one room in its first week, where a gateway had dropped readings for most of a morning, and the gap was reported instead of hidden. The mapping change process has since been used for two further sensor swaps without a mismatch. Reports now carry a line showing the coverage rate.

Questions for discussion

  • Which single tolerance would you have written first for this pipeline, and what evidence would you need before setting its limit?
  • How should a team decide whether a report with known gaps can still be used for a customer audit, and who should sign off on that choice?
  • What would a lineage record need to contain so that a reviewer could reproduce a figure without asking the original author?
3

Case Study 3

Suspicious remote logins at a pump station gateway

Fenwick Hollow Water District, a municipal utility whose pump stations and treatment controls sit on a segmented control network.

The situation

A maintenance contractor's laptop was used to log into a pump station gateway outside the scheduled window. The gateway's monitoring tool flagged a session that lasted eleven minutes, and then a second outbound connection from the same gateway to an address outside the district's approved list. The on-call engineer, Tobias, saw the alert during a routine shift review. The station ran four pumps with a set of level and pressure sensors, and the control logic had been stable for many months. Nobody had approved remote access that night, and the contractor's account had been dormant for weeks.

The challenge

Pumps had to keep running to hold pressure in the district, so taking the gateway offline without thought could cause a service interruption. Evidence in the gateway could be overwritten by routine log rotation within hours. The security lead, Amara, needed to decide whether the session was an error by the contractor or a compromise, and the operations supervisor, Gideon, needed to know whether the pumps could be safely isolated. Neither had a written procedure for a remote session on a control network.

Analysis

Scoping started with the constraints of the control network. The gateway sat in a segment that was meant to allow only outbound telemetry to the historian, so an inbound session was already a design violation. Operating data from the firewall and the historian showed the session had authenticated with a valid token, which narrowed the question from how access happened to which credential was used and from where. The maintenance records showed the contractor's laptop had last been serviced before the token was issued, and the station's firmware had a known weakness in its session timeout that was listed in the maintenance backlog but never scheduled.

The tolerance that mattered most was the pressure band the district had committed to for downstream customers, which left little room for a pump to be isolated without a planned transfer. Containment therefore had to work on the network side first. The sensors and pumps had a local control fallback, but the team could not verify its setpoints until an engineer stood at the station, so any step that changed controller state was treated as a field action. Two months of session records gave a baseline for normal sessions: all were short, scheduled, and originated from two known addresses. Anything else counted as a finding.

Incident response loop for control network
Response loop
1Scope
2Preserve
3Contain
4Document
  1. Scope Map affected gateways, sessions, and pumps against approved network paths.
  2. Preserve Export logs and memory to write-once storage before any rotation or restart.
  3. Contain Disable the credential and close inbound sessions while pumps keep running.
  4. Document Record each authorized step with approver, time, and evidence hash.

Actions taken

  1. Preserve evidence first by exporting the gateway memory and session logs to write-once storage before any service restart or log rotation runs.
  2. Contain by disabling the contractor account and closing inbound sessions at the segment boundary, while leaving the pumps running under their local fallback control.
  3. Isolate the outbound address at the district firewall and record the change under the incident ticket, with the authorizing supervisor's name and the time of each step.
  4. Restrict any field action on controllers to a two-person procedure with a written checklist, and schedule the firmware session timeout fix that was deferred in the backlog.

Results

The session was confirmed as a misused credential rather than an outside intrusion, after the gateway logs and the contractor's own device images were compared. The contractor had reused a token on a personal device during a support call. The pumps stayed in service throughout, and the pressure band was held without a planned transfer. The firmware timeout fix was scheduled into the next planned maintenance window. The district's incident record now lists each step, the authorizer, and the evidence hash used to confirm the copy was intact.

Questions for discussion

  • What evidence would you have needed to separate a misused credential from a compromised gateway before any containment step?
  • Which containment steps on a control network can be taken without a field visit, and which ones should always wait for one?
  • How should an incident record show who authorized each action when the on-call engineer and the supervisor are not the same person?
4

Case Study 4

Where fleet telemetry processing should live as volume grows

Corvane Logistics, an operator of three automated fulfillment buildings running a fleet of 1,140 mobile robots.

The situation

The fleet was sending telemetry from every robot at a fixed interval, and the central platform was starting to show strain during peak shifts. Robots reported position, battery state, and motor temperature several times per second. During the busiest period of the quarter, dashboard refresh lagged by more than two seconds and the cloud bill rose faster than shipments. Robots near the charging bays sometimes lost connectivity for brief periods, which meant some zone reservation decisions were being made on data that was already old. The platform team had to choose how much processing should stay near the floor.

The challenge

Three options were on the table: keep the current central design and add capacity, move most logic to edge servers in each building, or split the work into an edge layer that handles safety-relevant decisions and a cloud layer for analytics. Each option had a different cost curve, a different failure mode, and a different security surface. The security lead, Hana, wanted fewer places where robot commands could be issued. The finance partner, Tomasz, wanted spending that grew with shipments rather than ahead of them.

Analysis

Design constraints came first. Robot commands for zone reservations had to resolve within a fixed window, and the platform's own service objective for dashboard freshness was far looser. Mixing those two requirements on the same path was the root of the strain. Queue logs from the busiest weeks showed that the central queue backed up at the same time shipment volume peaked, and that roughly a third of queue time was spent on telemetry that no decision used. Quality tolerances for the robots were written in the safety case, not the platform backlog, which is why the team could not simply trade latency for cost on the command path.

Maintenance records changed the picture on the hardware side. The charging bays near the connectivity dead spots had the highest battery replacement counts, and access point logs showed handoff failures clustering in the same lanes. Those records made the case for a small local controller in each lane, not for more central capacity. Edge servers cost more per building and add patching work, but they keep the command path inside the tolerance the safety case sets, even when the network drops. Cost modeling assumed shipments would grow at a steady rate, so the team kept a separate line showing spend if they did not.

Placement options weighed by cost and resilience
Local resilience
Edge-heavy hybridSafety decisions stay in each lane; cloud receives summaries only, at modest recurring cost.
Redundant cloud and edgeMaximum resilience, but duplicate platforms and patching push recurring cost upward.
Single central regionCheapest to run, but command latency and network loss hit the floor directly.
Full cloud streamingExpensive telemetry volume with no local fallback when connectivity drops.
Recurring operating cost

Actions taken

  1. Move zone reservation and stop decisions into a local controller in each lane, with the command path tested against the safety case latency budget.
  2. Reduce telemetry at the source by sending robots' state changes instead of fixed-interval samples, and keep full-rate data only for the forty most recent minutes.
  3. Put the cloud layer behind a separate queue with its own capacity limit, so analytics backlog can never delay a command or a safety-relevant event.
  4. Set a patching and certificate rotation schedule for lane controllers, and add their health to the maintenance system so failures appear beside battery and sensor work orders.

Results

The team moved zone reservation into lane controllers in the first building, and the other two followed after the first quarter of operation. Dashboard freshness improved, and peak-shift queue time fell by about half. Recurring cloud spend grew more slowly than shipments, which matched the finance model. During a planned network outage of roughly ten minutes, robots in the pilot lanes kept their reservations and the floor kept moving, where the old design had stalled the same lanes. The security review also approved the design because fewer systems could issue commands.

Questions for discussion

  • Which measurements would you collect before deciding how much telemetry is worth keeping at full rate?
  • How would you test whether a lane controller's failure modes are acceptable to the safety case before the hardware is installed?
  • When cost and resilience pull in opposite directions, who should own the tradeoff, and how should that decision be recorded?
5

Case Study 5

Evaluating a vision inspection model before line rollout

Pelham Ridge Closures, a contract manufacturer of sealed food containers with four filling lines and a central quality laboratory.

The situation

A vendor proposed a camera-based inspection model to replace two manual inspection stations on the container lines. The pitch was that the model would catch seal defects and label misalignment at line speed, and that one inspector could oversee what three had covered. The pilot on a single lane had run for a short period in mixed lighting, and the vendor's summary reported a high overall detection rate. The quality manager, Yusuf, noticed that the summary did not break results down by shift, by container color, or by label stock, and that the rejects had not been reviewed against a known-good sample.

The challenge

The lines ran close to their rated speed, and a false reject stopped the lane for a manual check that cost about four minutes of output. The plant had a written tolerance for seal escapes that was far stricter than the tolerance for cosmetic label issues, and the model had not been trained with that split. Maintenance had logged camera lens cleaning and lighting replacements on the night shift, so the training images did not cover those conditions. The production director, Ingrid, had to decide whether to pilot further.

Analysis

A single headline number had to give way to metrics that matched the tolerances. Seal escapes needed a near-zero allowance and their own detection rate, measured against a labeled sample drawn across every shift and color. Cosmetic label issues could carry a looser band, but the false reject rate had to be reported separately, because each false reject cost a manual check and lane time. Pilot records showed detection looked strong on the day shift and weak on the night shift, where lighting differed and the lens had been cleaned more often. Maintenance records explained the gap better than accuracy did.

Human oversight had to be designed as a sampling plan, not a general instruction to watch the screen. Inspectors would review every reject from the first two weeks, then a fixed random share of accepts and rejects each shift, with the share raised automatically when the disagreement rate passed an agreed threshold. The model would run in shadow mode beside the manual stations until the metrics held for a full production cycle across all shifts. A single lane could then switch over with a one-step return to manual inspection at the station, and the switch was logged as a change to the quality record rather than a software setting.

Pilot scores against the evaluation criteria
Seal escape detection6/10
Met limit on day shift; night shift results fell below written tolerance.
False reject control4/10
Night shift lighting drove rejects above the stop-and-check budget.
Shift consistency3/10
Results diverged across shifts; no lane-level breakdown existed in the vendor summary.
Reject traceability7/10
Every reject logged with image, lane, and reviewer decision after rollout.
Maintenance burden5/10
Lens cleaning and lighting checks added a fixed weekly task per lane.

Scores set by the review team in this scenario, 10 = highest priority.

Actions taken

  1. Build a labeled evaluation set that includes every shift, container color, and label stock, and freeze it before any further model tuning begins.
  2. Report seal escape rate, cosmetic miss rate, and false reject rate separately for each shift and lane, with the tolerance written beside each figure.
  3. Run the model in shadow mode for a full production cycle, with inspectors reviewing every reject and a fixed random sample of accepts on each shift.
  4. Set a rollback rule that returns a lane to manual inspection if the escape rate or the night shift false reject rate exceeds its written limit for one shift.

Results

Shadow mode ran for the full production cycle on two lanes and flagged a lighting problem on the night shift that the vendor summary had hidden. The model's seal escape detection met the written limit on every shift after the camera housings were cleaned on a fixed schedule. The false reject rate on the night shift stayed above target, so the team kept manual inspection there and put a lighting fixture on the design review list. Inspectors now review a fixed share of accepts each shift, and the disagreement rate is charted beside the maintenance schedule. Full rollout was approved for the day shift only.

Questions for discussion

  • Which of these metrics would you have been willing to accept as the single go or no-go number, and what would it have hidden?
  • How would you decide how large the random review sample should be for a shift that produces few rejects?
  • What would change your view on rollout if the night shift were the only shift that needed a different camera setup?

Learning Resources

Technical CASE STUDIES

China, India, United States, Indonesia, Pakistan, Nigeria, Brazil, Bangladesh, Russia, Japan, Mexico, Philippines, Vietnam, Egypt, Turkey, Germany, United Kingdom, France, Italy, Canada, South Korea, Australia, Spain.

Hourly Active: 37,008 Learners