An automatic control system is closed loop when its process measurement feeds back into subsequent control decisions. It does not become open loop merely because a valve sticks or the process fails to reach a target. Those are performance or fault conditions that the signal-chain test must distinguish from a missing feedback path.
Trace the signal before testing the process
Write the chain as physical variable → sensor → decoded engineering value → control rule → output → actuator → physical variable. Record a separate path for actuator position, flow or pressure if those checks are fitted. A write acknowledgement proves communication with a device, not physical movement or water delivery.
NI's closed-loop control overview describes feedback from the process variable. Use that definition when separating a wiring or decoding fault from an actuator fault and from insufficient process capacity.
| Stage | Fault to test for | Evidence to retain |
|---|---|---|
| Sensor input | Wrong channel, poor contact or stale value | Channel identity, raw value, location, timestamp and reference comparison |
| Conversion | Wrong scale, signedness or analog span | Raw-to-engineering conversion with independently checked values |
| Control rule | Wrong units, direction, hysteresis or permissive state | Approved rule version and decision/event log |
| Output and actuator | Command accepted but no physical response | Command time plus position, flow or other independent indication |
| Process feedback | Delayed or unrepresentative response | Time-aligned process trend with operating conditions |
This article concerns fault isolation across that chain. It is not a fertigation recipe, an offline scheduling policy or a method for selecting soil installation depth.
Prove conversion without using the crop as a signal generator
For an RS485 channel, identify the protocol, device address, register, data type, scale and any status fields from the delivered model's documentation. The Modbus application specification defines protocol data structures, but mapping them to an application is device-specific. Modbus does not guarantee that every sensor supplies freshness or health registers.
The current NBL-S-THR product page describes soil moisture and temperature channels, not EC, pH or NPK. It documents an example conversion of raw moisture value 272 to 27.2% by dividing by ten. Confirm the delivered version before using its register map or analog scaling.
Figure 1. Soil moisture and temperature probe with a dimensional drawing and output labels. The pictured label lists RS485 and 0–2 V, so the output version must be checked rather than inferred from a generic model name.
For a hypothetical linear 4–20 mA input mapped to 0–100% VWC, the conversion is VWC (%) = (I − 4 mA) / 16 mA × 100. At 12 mA it gives 50% VWC. Mapping the same input incorrectly as 0–20 mA gives 60%, a ten-percentage-point scaling error. Test such conversions using approved isolated test equipment and procedures; do not inject current into an unknown active output.
Digital and analog paths can both be used correctly. Neither removes probe-placement bias or calibration error. An error-free communication frame can carry an old, mis-scaled or physically unrepresentative value.
Keep uncertainty and actuator behavior in different units
A moisture error expressed in percentage points of VWC is not directly additive to a valve deadband expressed as percent travel. The conversion requires a process model relating position, flow and local soil response. Hysteresis in a control rule is also not the same thing as mechanical deadband.
An uncertainty budget needs a stated measurement model. NIST TN 1297 discusses combining standard uncertainties and relevant covariances. A manufacturer's accuracy limit is not automatically a standard deviation, and a deterministic lag is not a random uncertainty term.
| Quantity | Suitable unit | How to investigate |
|---|---|---|
| Moisture indication error | VWC percentage points | Compare with an appropriate reference under defined soil conditions |
| Rule hysteresis | VWC percentage points | Inspect the approved on/off logic |
| Valve deadband | Percent travel or command signal | Actuator response test with suitable safeguards |
| Effective delivery tail | Seconds or minutes | Observe delivery after the stop command |
| Logger interval | Seconds or minutes | Compare recorded timestamps with controller execution events |
A bounded stop-command example, not a soil-response forecast
Assume a hypothetical sensor error bounded by ±2 VWC percentage points, an on threshold of 28% and an off threshold of 32%. These are calculation inputs, not NiuBoL sensor specifications or recommended irrigation limits. At an indicated 28%, the possible true value is 26–30%; at an indicated 32%, it is 30–34%.
Now assume the stop command is issued at an indicated 32.0%, local true moisture then rises at a constant 0.10 VWC percentage points/min, and effective delivery ends exactly 135 seconds later. The 135 seconds is an assumed combined delivery tail; do not obtain it simply by adding a valve-stroke time to a pipe travel time. Downstream storage, pressure and infiltration can behave differently.
- Tail duration: 135 s ÷ 60 = 2.25 min.
- Additional rise: 0.10 percentage points/min × 2.25 min = 0.225 VWC percentage points.
- Under only these assumptions, the true value at the end of the tail lies in 30.225–34.225% VWC, approximately 30.23–34.23%.
This excludes threshold-crossing delays before the command, additional infiltration afterward and changing spatial moisture. It does not predict a return time or authorize waiting for natural drying after over-application. If the allowed limit is approached, follow the project's approved protective response rather than this example.
A logger that records only at the command time and five minutes later may miss the entire assumed 2.25-minute tail. That does not mean the controller itself operates every five minutes. Capture event and process data fast enough for the behavior being tested, with independently checked timestamps.
Distinguish extra monitoring channels from the control variable
A soil pH channel is a separate measurement, not a moisture signal or a valve-position report. Likewise, nutrient-related reference values must not be inserted into a moisture threshold rule simply because they share an RS485 bus.
Figure 2. Three-electrode soil NPK probe with a dimensional drawing. Its channels are distinct from the moisture feedback used in this example.
The linked NPK product is described for field reference and trend monitoring, not as a replacement for laboratory nutrient analysis. Keep channel names, units and decision permissions separate in the controller configuration.
Questions during acceptance testing
Q1. If the reading never reaches the target, is the system open loop?
Not necessarily. Feedback may be operating while the actuator is stuck, capacity is insufficient, a permissive is active or the measurement is biased. Inspect each stage rather than changing the loop's definition.
Q2. Does a successful register read validate the measurement?
No. Verify channel identity, scale, units, freshness and physical representativeness separately. Diagnostics exist only if the device implements them.
Q3. Can a fixed five-minute readback prove successful control?
No. Choose acquisition and acceptance criteria from the process dynamics and permitted risk. The duration of the test, protective limits and invalid-data behavior require project approval.
Summary and an actionable test pack
A useful signal-chain test identifies where physical behavior stops matching the recorded command and feedback. Check conversion first, retain independent evidence of actuation, and judge performance separately from feedback topology.
Send the sensor and controller models, delivered output version, register map or analog span, wiring diagram, rule configuration, actuator details, timestamped command/response logs and approved failure behavior through Contact NiuBoL. These allow a targeted integration review without guessing crop limits or hardware timing.










