Cumulative Dose Limits and Overdose Lockout Thresholds
Cap both single-shot runtime (mL per event) and rolling 24-hour cumulative volume (mL per 24 h) independently for every dosing channel—Part A, Part B, and pH adjuster—and enforce a mandatory mixing deadtime between shots. A single-shot cap bounds the chemical shift of any one command, while a rolling 24-hour cumulative cap stops slow, repeated overdosing caused by probe drift, reservoir leaks, or stuck-open control loops within Dosing Automation.
Boundary conditions that shift these limits:
- Operating reservoir volume (
V_op): Base all dose caps on the active operating volume while circulation pumps are running, excluding pump-off drain-back capacity. Smaller operating volumes experience larger EC25 (mS/cm) and pH swings per mL of concentrate. - Actual pump delivery rate (
Q_pump): Peristaltic pump output varies with tubing age, squeeze-tube ID, and check-valve cracking pressure. Always derive runtime limits from a measured mL/s calibration, not nominal nameplate ratings. - Concentrate strength and source water alkalinity: Higher-concentration stock solutions (for example, 1:200 vs. 1:100) require tighter mL caps. High-alkalinity source water with continuous fresh-water top-off consumes more pH-down per 24 hours than a closed batch.
- Crop transpiration stage: Peak-canopy fruiting crops transpire substantially more water and nutrients per day than seedlings, shifting the normal 24-hour baseline demand.
Lockout Layer Specifications
Each dosing channel requires four independent software/firmware limits plus a physical or hardware-level runtime backstop.
| Lockout Parameter | Sizing Basis | Failure Mode Caught | What to Verify on Hardware/Datasheet |
|---|---|---|---|
Single-Shot Volume Cap (V_shot_max) |
Small fraction of a target correction in V_op (typically bounding a single pulse to <= 0.05–0.10 mS/cm EC25 or <= 0.1–0.2 pH units) |
Sensor spike, transient electrical noise, or single-command software glitch | Minimum reliable on-time of the pump and controller relay resolution (s) |
Max Single-Shot Runtime (t_shot_max) |
t_shot_max = V_shot_max / Q_pump |
Controller hang or missed stop command | Hardware watchdog or relay timer limit independent of main PID loop |
Inter-Dose Mixing Deadtime (t_mix) |
Time for at least 1–2 full reservoir turnovers past the sensor manifold | Re-dosing before concentrate fully mixes into V_op |
Circulation pump flow rate at actual head and sensor manifold lag |
Rolling 24-Hour Cumulative Cap (V_24h_max) |
1.25–1.50 x measured normal daily channel demand (V_daily_base) |
Probe calibration drift, disconnected probe, or reservoir leak with auto-top-off | Whether the 24-hour accumulator uses a true sliding window and persists across power loss |
Consecutive-Dose Fault Limit (N_max) |
Maximum back-to-back shots allowed without measurable EC25 or pH movement (typically 3–5 shots) | Split tubing, empty stock bottle, air-locked line, or fouled probe | Controller support for rate-of-change / no-response fault latching |
Plain-Text Sizing Equations
Calculate runtime and cumulative caps from measured system values in SI units (convert US gal to L using L = gal x 3.78541):
t_shot_max (s) = V_shot_max (mL) / Q_pump (mL/s)
V_24h_max (mL) = V_daily_base (mL/day) x Safety_Factor (1.25 to 1.50)
t_mix (min) >= (V_op (L) / Q_circ (L/min)) x 2
Illustrative Sizing Example (50 gal / 189.3 L Reservoir)
Illustrative assumptions (verify against your own stock bottle label, pump calibration, and reservoir drawdown):
- Operating reservoir volume:
V_op = 50 US gal (189.3 L) - Circulation pump turnover:
10 gal/min (37.9 L/min)-> 1 turnover =5.0 min - Measured peristaltic pump flow:
Q_pump = 60 mL/min (1.0 mL/s)per channel - Stock concentrate ratio: 1:100 Part A + 1:100 Part B (dosed separately), where
10 mLof Part A +10 mLof Part B in189.3 Lraises EC25 by roughly0.05 mS/cm - Measured baseline daily nutrient demand:
V_daily_base = 120 mL/dayper A/B channel
Derived Lockout Settings per A/B Channel:
- Single-Shot Volume Cap (
V_shot_max):10 mL(bounds one event to ~0.05 mS/cmtotal when paired with the matching channel). - Max Single-Shot Runtime (
t_shot_max):10 mL / 1.0 mL/s = 10 s. - Mixing Deadtime (
t_mix):5.0 min x 2 = 10 minminimum wait before the next command on that channel; stagger Part B at least2–5 minafter Part A so concentrates never meet undiluted. - Rolling 24-Hour Cumulative Cap (
V_24h_max):120 mL/day x 1.35 = 162 mLper 24-hour rolling window. - Consecutive-Dose Fault Limit (
N_max):4consecutive shots (40 mL) without at least a0.05 mS/cmEC25 rise triggers a hard lockout.
Configuration Steps
- Measure true operating volume (
V_op): Run all circulation and irrigation pumps until return lines stabilize, then measure the water depth and cross-sectional area of the sump/reservoir. Do not include the empty headspace reserved for pump-off drain-back. - Calibrate every pump channel (
Q_pump): Place each dosing line's discharge end at its actual injection elevation (with check valves installed) and pump water into a graduated cylinder for30 sor60 s. Divide measured mL by seconds to getQ_pump (mL/s). - Separate and stagger Part A and Part B: Assign distinct channels, injection points, and timers to Part A and Part B. Never permit simultaneous dosing; require full mixing dispersion between Part A and Part B pulses to prevent localized salt precipitation.
- Log 3–7 days of baseline consumption (
V_daily_base): Before enabling tight automatic lockouts, record normal daily mL consumption for each channel across stable solution temperatures (65–72°F/18–22°C) and normal pH (5.5–6.5). SetV_24h_maxto1.25–1.50 xthat observed daily demand. - Enable latching lockout behavior: Configure both
t_shot_maxviolations andV_24h_maxtrips to latch off (disable all dosing relays and raise an alert) until manually inspected and cleared. Do not use auto-resetting timers on cumulative overdose faults.
Verification Checks
- Graduated-cylinder catch test: Divert the dosing outlet into a graduated cylinder and trigger a manual or simulated demand. Verify that the controller cuts power at
t_shot_maxand that delivered volume matchesV_shot_maxwithin±5%. - 24-hour accumulator trip test: Temporarily lower
V_24h_max(for example, to2 x V_shot_max), trigger consecutive pulses aftert_mixexpires, and confirm the channel locks out immediately upon reaching the threshold and stays locked until manually cleared. - Power-loss persistence test: Accumulate partial 24-hour dose volume, cycle power to the controller, and verify whether the rolling 24-hour total is retained in non-volatile memory. If it resets to zero on reboot, add an external hardware timer or reduce
V_24h_maxto account for brownout risk. - ATC and probe sanity check: Confirm the EC25 meter/controller uses automatic temperature compensation (do not apply manual temperature offsets on top of an ATC reading) and verify pH/EC25 buffer calibration before relying on automated lockouts.
Real Failure Modes
- Reservoir leak with auto-top-off (ATO): A slow fitting leak causes fresh water to dilute the reservoir continuously. EC25 drops, and the controller doses Part A and Part B repeatedly to hold setpoint. Without a rolling 24-hour cap, the system dumps excessive nutrients into a shrinking or leaking loop.
- Probe dry-out or biofouling: If an inline EC25 probe traps an air bubble or a pH probe coats with biofilm, readings lag or stick artificially low/high. Single-shot caps limit each pulse, while the consecutive-dose fault counter (
N_max) andV_24h_maxhalt dosing before pH crashes below5.5or EC25 spikes into root-burn territory. - Concentrate precipitation from simultaneous dosing: Triggering Part A and Part B at the same time—or without adequate
t_mix—creates high localized concentration in the sump, precipitating insoluble calcium sulfate or calcium phosphate and throwing off the N-P-K/Ca balance even though total mL stayed within budget. - Rolling-window reset on power brownout: Controllers that store the 24-hour dose total only in volatile RAM reset to
0 mLafter a brief power flicker, allowing another full 24-hour dose allowance immediately after reboot. - Worn squeeze tube or failed check valve: A fatigued peristaltic tube delivers far less than
Q_pump, or a leaking check valve allows stock concentrate to siphon into the reservoir (or reservoir water to back-siphon into the stock bottle), decoupling controller runtime logs from actual chemical mass added.