MDoEE · L10 · Monitoring System Design

Virtual laboratory · size the acquisition, tune deadband and alarms, plan the storage of a monitoring system · Conf. dr. ing. Florin-Ciprian Argatu
MDoEE-L10-N07-v1.0 ← MDoEE virtual laboratory

Your equipment

–

PointUnitChanges inSuggested periodMain use

Teaching equipment: the points, ranges and dynamics are illustrative, chosen to exercise the design rules of C10. Real designs take them from the equipment documentation.

Requirements given to you

What you will design

  • tab 2: the Modbus RTU polling budget of the panel;
  • tab 3: the sampling period and the deadband of the main slow point;
  • tab 4: hysteresis and on-delay of the overcurrent alarm on the load current;
  • tab 5: the data volume and the retention;
  • tab 6: your answers, checked, with CSV / JSON export.

The simulated hour in tabs 3 and 4 runs with Play / Pause / Reset; Speed changes how fast simulated time passes.

Modbus RTU polling budget (FC03, read holding registers)

One character = 11 bits (start, 8 data, parity, stop). Request 8 bytes; response 5 + 2·R bytes; silent interval t3.5 = 3.5 characters after each frame; the turnaround is the time the device needs to answer (assumed here, read it in the device manual). Retries are not included.

How to read the result

Time per device
t = (8 + 5 + 2R + 7) · 11 / baud + tturnaround
Minimum cycle
all devices read once: D · t. The polling period must be longer than this, with margin for retries.
Bus load
D · t / period. Above about 70–80 % there is no room for retries or for adding a device (design margin used in this laboratory).

Source: Modbus Organization, MODBUS over Serial Line V1.02 (RTU framing, t3.5); MDoEE C10, slide 18.

Main slow point · one simulated hour

Grey: the real signal (simulated every 0.5 s). Dots: what the edge device samples. Red: what is sent and stored. Shaded band: a short event of duration d.

Result up to the cursor

Rules from C10
  • Period: at least two samples inside the shortest event you must see.
  • Deadband: larger than the noise (peak to peak), smaller than the smallest change you must see.
  • Periodic refresh: silence must never be ambiguous.

Overcurrent alarm · one simulated hour

On-delay hides short excursions (switch-on transients). Hysteresis stops chattering when the current sits close to the limit; the chatter test switches the on-delay off to show its effect alone. Clean result with on-delay 0: 6 activations (2 periods close to the limit, 3 switch-on transients, 1 overload).

Blue: load current every 1 s. Red line: alarm limit; dashed: return limit (limit − hysteresis). Bars at the bottom: alarm active. The hour contains normal running close to the limit, three switch-on transients (motor start or inrush) and one real overload.

Alarm performance up to the cursor

Storage plan

Counts are in points (one value with one time stamp). Bytes per point depend on the database and its compression: measure them on your own system.

Formulas

raw points per day = V · 86 400
raw points kept = V · 86 400 · Rraw
aggregated points per day = V · 3 · 1 440 (mean, min, max per minute)
aggregated points kept = V · 3 · 1 440 · Ragg

Sources: MDoEE C10, slides 30–31; InfluxDB documentation (buckets with retention periods).

Individual sheet · MDoEE L10

Variant N = 7

T1 · Modbus polling budget

time per device ms · minimum cycle ms

T2 · Sampling period

period s

T3 · Deadband

deadband · messages in the hour

T4 · Alarm tuning

hysteresis A · on-delay s

T5 · Data volume

raw points per day · raw points kept · aggregated points kept

T6 · Stale detection

stale limit s

T7 · Justify your design (written, graded by the teacher)

In 6–10 lines: which point would you send by exception and which cyclically, which quality flags you store, and one test that proves your design works (C10, sections D and H).

Evidence: screenshots C1 (tab 2 with your variant), C2 (tab 3 with your period and deadband, cursor at the end of the hour), C3 (tab 4 with your alarm settings, cursor at the end of the hour).

Summary

  • Requirements carry numbers: latency, retention, detection time.
  • Modbus RTU: 11 bits per character; request 8 B, response 5 + 2R B, t3.5 after each frame, plus turnaround.
  • Period: at least two samples inside the shortest event to be seen.
  • Deadband: above the noise, below the smallest relevant change; add a periodic refresh.
  • Alarm: hysteresis above the noise near the limit; on-delay longer than a normal switch-on transient, shorter than the required latency.
  • Storage: count points per day; keep raw for a short time, mean/min/max for long.
  • Stale: no update for 3 sampling periods.

Variant rules (tab 6)

Equipmente = N mod 6 Modbusbaud = 9600 if N even, 19200 if N odd; R = 10 + 2·(N mod 8); D = 2 + (N mod 5); turnaround 20 ms Event durationd = 8 + 4·(N mod 6) s → largest period ≤ d/2 from 1, 2, 5, 10, 15, 30, 60 s Noise (slow point)a = 0.15 + 0.1·(N mod 4) (peak to peak) → smallest deadband option > a Alarmnoise near the limit h = 0.12 + 0.06·(N mod 3) A; switch-on transient ts = 3 + (N mod 4) s → smallest hysteresis option > h, smallest on-delay option > ts StorageV = 8 + 2·(N mod 5); Rraw = 14 + 7·(N mod 3) days; Ragg = 365 days Stalesecond slow point, period P = 10 + 5·(N mod 3) s → 3·P

Sources

[S1]Modbus Organization, MODBUS over Serial Line Specification and Implementation Guide V1.02 (RTU framing, character time, t3.5).
[S2]Node-RED documentation, core filter node (report by exception, deadband).
[S3]Grafana documentation, “Alert rule evaluation” (pending period, keep firing for).
[S4]InfluxData, InfluxDB v2 documentation (line protocol, schema design, buckets and retention).
[S5]HiveMQ, MQTT Essentials, Parts 7 and 9 (persistent sessions, last will).
[S6]MDoEE C10 Monitoring Software Design (2026), C09 and L09 (alarm design, deviation on-delay).

All signals, equipment and limits are generated for teaching; they are not plant data. The same variant N always produces the same signals.

AI disclosure: drafted with the help of Claude (Anthropic) and checked by the author.

© 2026 Florin-Ciprian Argatu · UPB · FIE · DMAECS · Licență CC BY-NC-ND 4.0 · MDoEE L10 v1.0 · 2026–2027