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

DS Pilot · DS Studio · Learning Hub

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#

Stages combining read-only PLC logs, sequence models, and unsupervised AI
StageInputCore ProcessingShop-Floor Output
Stage 1 · I/O PairingArchived PLC ON/OFF logsCycle conservation filter, gap/chatter removal, unit durationPer-actuator baseline & excess delay
Stage 2 · Sequence LinkagePaired actuation timelineAction-reaction causal pairing & pallet handoff tracingDirect handoff vs buffered transfer separation
Stage 3 · Three-Zone SplitRestored station sequenceActive clamped assembly / next-part prep / arrival waitDe-mixed intra-cycle delay features
Stage 4 · Unsupervised AIZone-level feature matrixIsolation Forest anomaly scoring & chronic wear screeningJam 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#

Root-cause separation enabled by sequence-guided features
Delay ClassCycle ZoneMaintenance Interpretation
Active Assembly JamClamp-up to pallet releaseDirect inspection of station actuator, clamp, or sensor
Part Feeder DelayPost-release pre-pick zonePrioritize feeder, loader, or material supply checks
External Transfer WaitPre-pick complete to next arrivalUpstream/downstream starvation or blockage—not local fault
Chronic Actuator WearShort unit motion inside parallel pathEarly 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.

opens in a new tab