Cycle separation and delay root-cause diagnosis with PLC logs and sequence-guided unsupervised AI
Modifying live PLC code on a running assembly line risks downtime and control faults, while raw cycle-time anomaly detectors flag alarms without naming the cause. This technical whitepaper outlines DualSoft's read-only diagnostic methodology—combining PLC signal logs, automatic sequence decoding, and unsupervised AI—to separate active assembly jams from feeder or transfer waits and expose hidden chronic wear.
On this page
Why raw PLC logs and cycle-only AI miss root causes#
Overall Equipment Effectiveness (OEE) summarizes daily output, yet maintenance engineers need to know which actuator slowed down and why. On pallet-circulating inline assembly lines, two mixing effects obscure raw signals: adjacent stations process different products at the same timestamp, and a single station cycle overlaps active assembly on the current product with pre-picking for the next pallet. Feeding raw cycle duration alone into an anomaly model raises generic alerts without distinguishing an internal jam from an upstream or downstream wait.
Universal System Decoder: three causal principles#
DualSoft's decoding layer extracts true cause-and-effect pairs from binary transition logs without domain guesswork. First, cycle conservation filters out polling noise, stuck signals, and chatter by checking whether every activation is matched by a valid reset within its harmonic cycle. Second, action-reaction pairing matches each output command with its completion feedback sensor and stable physical travel time, separating correlated neighbors from physical actuation. Third, cut-free grouping clusters connected causal transitions into intact process modules while preserving multi-speed subunits.
Four-stage non-invasive diagnostic workflow#
Without editing a single line of production PLC logic, archived on-off signal logs pass through four sequential stages: input-output pairing with noise filtering, sequence linkage across pallet handoffs, three-zone cycle separation dividing active clamped assembly from next-part preparation and arrival waiting, and multivariate unsupervised AI scoring with Isolation Forest. Separating zone-level features lets maintenance teams separate assembly jams, part-feeder delays, and external conveyor waits while detecting gradual actuator degradation hidden inside longer parallel motions.
Verification scope and plant acceptance boundary#
All collection remains strictly read-only so existing controller scans and safety interlocks stay untouched. Quantitative fault rates, false-alarm reductions, and wear lead times depend on each line's sampling period, sensor coverage, and log continuity; actual site baselines and deployment acceptance are verified separately per project using customer-approved logs.
Four-Stage Non-Invasive Diagnostic Pipeline#
| Stage | Input | Core Processing | Shop-Floor Output |
|---|---|---|---|
| Stage 1 · I/O Pairing | Archived PLC ON/OFF logs | Cycle conservation filter, gap/chatter removal, unit duration | Per-actuator baseline & excess delay |
| Stage 2 · Sequence Linkage | Paired actuation timeline | Action-reaction causal pairing & pallet handoff tracing | Direct handoff vs buffered transfer separation |
| Stage 3 · Three-Zone Split | Restored station sequence | Active clamped assembly / next-part prep / arrival wait | De-mixed intra-cycle delay features |
| Stage 4 · Unsupervised AI | Zone-level feature matrix | Isolation Forest anomaly scoring & chronic wear screening | Jam vs feeder wait vs external wait & wear alerts |
Note: quantitative alert reductions and wear lead times depend on each line’s log continuity and sampling period and are verified per project.
Delay Root-Cause Classification Criteria#
| Delay Class | Cycle Zone | Maintenance Interpretation |
|---|---|---|
| Active Assembly Jam | Clamp-up to pallet release | Direct inspection of station actuator, clamp, or sensor |
| Part Feeder Delay | Post-release pre-pick zone | Prioritize feeder, loader, or material supply checks |
| External Transfer Wait | Pre-pick complete to next arrival | Upstream/downstream starvation or blockage—not local fault |
| Chronic Actuator Wear | Short unit motion inside parallel path | Early slowdown detection before overall cycle time drifts |
Related Technical Notes#
Open field diagnostics curriculum map Read DS2 control & GRAFCET architecture
Verified by: DualSoft Engineering — Joint Korea University MOT & DualSoft methodology note
Scope and deliverables are agreed together before any customer data is handled.
