Invalid-Reading Lockouts for Automated EC25 and pH Control
Configure out-of-range bounds, flatline watchdogs, step-change rate limits, and temperature-probe checks to immediately freeze dosing on implausible EC25 or pH signals. Every validity gate must latch all nutrient and pH-adjuster relays off until the signal stabilizes or an operator clears the fault, because a single unguarded dosing run driven by a disconnected, fouled, or thermally corrupted probe can push a home reservoir past crop tolerance within minutes.
Boundary conditions that shift lockout thresholds:
- Operating vs. drain-back reservoir volume: Probes mounted above the minimum operating level can be exposed to air during pump-off drain-back cycles or high evapotranspiration, causing sudden
0.00 mS/cmEC25 drops or erratic high-impedance pH swings. - Mixing lag and injection geometry: Tighter step-change limits require longer post-dose mixing windows in low-turnover reservoirs; injecting Part A, Part B, or pH adjuster immediately upstream of the sensor creates transient spikes that mimic sensor faults.
- Source-water baseline: Systems fed by hard municipal or well water require a higher minimum EC25 floor than reverse-osmosis (RO) setups so baseline water never triggers a false low-EC lockout.
- ATC signal handling: Automated temperature compensation (ATC) already adjusts EC25 (
mS/cm) to77°F (25°C)and corrects the pH Nernst slope; never manually re-compensate an ATC meter reading, and instead validate the temperature probe itself so a failed thermistor cannot corrupt EC25 or pH math.
For controller architecture, relay sizing, and dosing sequencing, see the parent dosing automation reference.
Validity Lockout Specifications and Thresholds
The table below defines the four primary signal-validity gates plus two hydraulic/volume interlocks for home hydroponic reservoirs up to 45 m² (~485 ft²) setups. Verify exact open-circuit, short-circuit, and ADC rail limits on your sensor transmitter and controller datasheets.
| Lockout Gate | Typical Home Hydroponic Bounds | Trigger Condition | Controller Action | System / Datasheet Verification |
|---|---|---|---|---|
| EC25 Out-of-Range | 0.10–4.50 mS/cm (RO baseline floor: 0.05 mS/cm) |
Reading falls below floor (dry probe / open circuit) or exceeds ceiling (shorted electrodes / concentrated plume) | Freeze all Part A/B and pH dosing; latch EC fault alarm | Verify transmitter 0 mS/cm noise floor and maximum calibrated span on probe datasheet |
| pH Out-of-Range | 3.50–8.50 pH (operating target: 5.5–6.5 pH) |
Reading exits bounds (broken glass bulb, exhausted reference junction, or open BNC/cable) | Freeze all pH-up/down and nutrient dosing; latch pH fault alarm | Confirm controller input impedance (>= 10^12 ohm typical) and rail behavior when probe is unplugged |
| Temperature-Probe Plausibility | 40–105°F (4.4–40.6°C) (safe crop range: 65–72°F / 18–22°C) |
Open thermistor (-40°F / -40°C rail), shorted thermistor (>150°F / 65°C rail), or thermal slew > 2.0°F/min (1.1°C/min) |
Freeze EC25 and pH dosing immediately; disable ATC-dependent auto-dosing | Check NTC/RTD curve (10k or PT1000) and open/short fault codes in controller manual |
| Step-Change Rate Limit | EC25: <= 0.30 mS/cm per sample interval; pH: <= 0.40 pH per sample interval |
Single-interval jump exceeds max physical change from one dosing pulse or water top-off | Ignore reading for control; freeze dosing after 2–3 consecutive out-of-rate samples |
Measure real mixing turnover time; widen sample interval or increase post-dose blanking if plumes occur |
| Flatline / Stuck-Value Watchdog | EC25 delta >= 0.02 mS/cm or pH delta >= 0.02 pH across N consecutive dosing cycles |
Active dosing runs for N cycles (or X min total pump-on time) with zero directional change |
Latch Sensor Frozen / Empty Bottle / Pump Failure lockout; stop all pumps |
Verify sensor ADC resolution (0.01 mS/cm, 0.01 pH) and confirm deadband is larger than signal jitter |
| Circulation & Level Interlock | Recirculation flow ON; operating level above probe tip |
Circulation pump off, flow switch open, or low-level float tripped | Suppress all dosing and suspend flatline counters while flow is off | Confirm probe submergence depth against operating volume vs. drain-back volume |
Deriving Site-Specific Rate Limits and Watchdog Timers
Generic factory defaults often false-trip in small reservoirs or fail to catch stuck probes in large ones. Derive step-change ceilings and watchdog windows directly from your operating reservoir volume, recirculation rate, and dosing pump output.
1. Mixing Turnover Time
Measure or verify the recirculation pump flow rate at actual total dynamic head (never use zero-head pump ratings):
Turnover Time (min) = (Operating Reservoir Volume (gal) / Recirculation Flow (gal/h)) * 60
Metric check:
Turnover Time (min) = (Operating Reservoir Volume (L) / Recirculation Flow (L/h)) * 60
Set the post-dose blanking (stabilization) window to at least 2 to 3 full reservoir turnovers before evaluating the next EC25 or pH sample for dosing or flatline checks.
2. Maximum Physical Step Change per Dose
Compute the expected change from a single maximum dosing pulse so the step-change limit sits cleanly above normal operation:
Max Expected EC25 Step (mS/cm) = (Dose Volume (mL) / Operating Volume (L)) * Concentrate EC25 Factor (mS/cm per mL/L)
- Illustrative assumption example: Suppose a system has a
25 gal (94.6 L)operating reservoir, a150 gal/h (568 L/h)net recirculation flow at operating head, and a dosing pump delivering15 mLper pulse of a nutrient concentrate that adds0.15 mS/cmper1 mL/Lwhen Part A and Part B are diluted separately.Turnover Time = (25 gal / 150 gal/h) * 60 = 10 min-> set post-dose stabilization wait to20–30 min(or2–3turnovers).Dose Concentration = 15 mL / 94.6 L = 0.159 mL/LExpected EC25 Step = 0.159 mL/L * 0.15 mS/cm per mL/L = 0.024 mS/cm- Setting the EC25 step-change lockout ceiling at
0.25–0.30 mS/cmper sample interval gives roughly a10xmargin above normal single-pulse response while catching a probe lifted into air (-1.5+ mS/cmdrop) or dipped into undiluted concentrate.
- Always dilute Part A and Part B concentrates separately into the reservoir with a time offset between pumps. Firing Part A and Part B simultaneously or upstream of the sensor creates localized precipitation and transient conductivity spikes that trigger false step-change lockouts.
3. Flatline Watchdog Window
Set the flatline watchdog to trip before cumulative dosing shifts the reservoir beyond safe crop limits if the probe is actually stuck:
Max Safe Unconfirmed Dose Time (min) = (Allowable Reservoir Shift / Expected Shift per Min of Pumping) * 0.5
Using a 0.5 safety factor ensures the controller locks out halfway to an over-concentration or pH-crash event if the sensor is frozen by biofilm, a clogged reference junction, or a disconnected cable holding a static voltage.
Step-by-Step Controller Configuration
- Confirm sensor hardware and ATC mode: Verify on the probe and transmitter datasheets whether EC25 (
mS/cm) and pH use internal ATC from a shared thermistor. Never enable manual temperature-offset compensation on top of an already ATC-corrected signal. - Program hard out-of-range bounds: Enter the EC25 floor above zero (
0.05–0.10 mS/cm) and ceiling (4.00–4.50 mS/cm), and set pH bounds (3.50–8.50 pH) outside your5.5–6.5 pHcontrol band. - Enable temperature-probe plausibility checks: Set temperature bounds (
40–105°F/4.4–40.6°C) and a thermal slew limit (2.0°F/min/1.1°C/min). Map any temperature fault to freeze both EC25 and pH dosing, because solution temperature>=75°F (24°C)also lowers dissolved oxygen ceiling and raises Pythium root-rot risk. - Set step-change rate limits and blanking delays: Enter the per-interval delta limits (
0.30 mS/cmEC25,0.40 pH) and configure a post-dose mixing delay equal to2–3reservoir turnovers. Require2–3consecutive out-of-rate readings before latching if your setup experiences minor electrical switching noise. - Configure flatline and no-response watchdogs: Set a maximum consecutive dose count (for example,
3cycles) or cumulative pump-on time without a measurable>= 0.02 mS/cmor>= 0.02 pHshift in the expected direction. - Bind all lockouts to a latching fail-safe state: Configure every validity fault to de-energize dosing relays (normally open contacts) and require either manual operator acknowledgment or a sustained valid-signal recovery timer (
5–10 mincontinuous in-range, non-flatlined readings) before auto-dosing can resume.
Commissioning and Verification Checks
Run these four tests with dosing pump power disconnected (or tubing routed into a graduated catch cup) before placing the system in automated service:
- Open-circuit / dry-probe check: Lift the EC25 and pH probes out of the reservoir (or unplug the BNC/sensor leads). Confirm the controller drops below the
0.05–0.10 mS/cmfloor or drifts outside3.50–8.50 pH, trips the out-of-range lockout within one sample cycle, and keeps dosing relays de-energized after re-submerging until cleared. - Temperature-probe fault check: Unplug the thermistor or bridge its terminals with a resistor outside the
40–105°F (4.4–40.6°C)window. Confirm both EC25 and pH dosing freeze immediately, even if EC25 and pH readings appear normal. - Step-change rate check: Transfer the pH probe rapidly from the
5.5–6.5 pHreservoir directly into a4.01 pHcalibration buffer (a~1.5–2.5 pHinstantaneous step). Confirm the step-change gate blocks dosing even though4.01 pHis inside the hard3.50–8.50 pHout-of-range bounds. - Flatline watchdog check: Place the EC25 or pH probe in a static cup of
1.41 mS/cmor7.01 pHcalibration solution while the controller calls for a correction dose (with pump output diverted to a catch cup). Confirm the flatline watchdog locks out dosing after the configuredNcycles or cumulative pump-on limit.
Real Failure Modes and Diagnostics
- Probe exposed during drain-back or low water: If the operating reservoir level drops below the probe tips when irrigation pumps run or during pump-off drain-back, EC25 snaps to
0.00 mS/cmand pH floats erratically. Fix by mounting probes in a flooded bypass manifold or below the minimum operating waterline, and tie a low-level float switch to the circulation interlock. - Electrical ground loops from submerged AC equipment: Stray voltage from failing submerged heaters or AC circulation pumps injects
50/60 Hznoise into high-impedance pH glass electrodes, causing instant1.0–3.0 pHjumps that trip step-change lockouts. Isolate probes electrically, add a titanium grounding probe bonded to equipment ground, or separate sensor sampling from heater relay switching. - Failed temperature thermistor corrupting ATC: A waterlogged or broken thermistor that sticks at
77°F (25°C)or rails to-40°F (-40°C)silently skews EC25 (~2% per °C/~1.1% per °F) and pH slope calculations. Thermal slew and range bounds catch open/short failures immediately; periodic comparison against a calibrated reference thermometer catches slow drift. - Biofilm or clogged pH reference junction: Biological fouling slows electrode response so readings freeze during dosing, allowing an unguarded controller to dump an entire bottle of pH adjuster or concentrate. The flatline watchdog stops dosing after
Nunresponsive cycles and signals that probe cleaning or replacement is required. - Concentrate plume hitting the sensor: Injecting Part A, Part B, or pH-down directly upstream of the measurement chamber causes brief high-EC25 or low-pH spikes that trigger false step-change lockouts. Relocate injection ports downstream of the sensor tap and enforce separate Part A and Part B dosing intervals.