The closed loop: levers, signal and plant state
HomePrecisionThe closed loop: levers, signal and plant state
Precision · Closed loop

The closed loop: levers, signal and plant state

Run a grow room as one self-correcting system. This beginner's guide covers the controls you pull, how to read what the plants are actually doing, and how to feed that back without the room chasing its own tail.

Precision9 diagramsPeer-reviewed · 9 sources~17 min read
Start here

What this is (and why a grow room is a loop)

A grow room is a loop, not a panel of independent dials you set and forget. You change a control, the room and plants respond, sensors measure that response, you work out what it means, and that tells you what to change next. Around and around, every minute of every day.

A closed loop means the output feeds back to the input: what the plant tells you decides your next move, and then you watch what that move actually did. This guide teaches the whole circle as one thing, with three jobs sitting on it: getting the action right (cause), getting the measurement honest (perception), and getting the meaning out (cognition).

You never move just one thing. Every control pushes on four linked balances at once: heat, water vapour, CO2 and the salt in the root zone. The finished version of this loop is a room that senses its own state, knows what its actions will do, and corrects its own drift before that drift becomes damage.

The closed loop, six steps1Actpull a lever2Room respondscoupled cascade3Sensemeasure + noise4Filtersignal vs noise5Inferestimate plantstate6Prescribeaction +setpoint -> backto actThe last arrow, Prescribe back to Act, is the one that closes the loop.
Figure 1. Read it as a circle. The room works like a nervous system: muscles (the levers), nerves (the sensors) and a mind (the inference that decides what it all means).
What 'closed' buys you

A mature loop tells you whole-room health and whether to act in under five seconds, and it stays quiet when nothing needs you. Silence is a feature, not a fault.

Plain-language dictionary

Key terms, defined once

This field is loaded with jargon, so here is every term you need before the real content. Most are everyday ideas with intimidating names. Don't memorise them. Each one comes back in context.

Lever (actuator)A control you can move: light brightness, cooling setpoint, irrigation, CO2 dosing. Around eleven main lever families run a room.
Signal vs noiseSignal is what the plant and room are truly doing. Noise is sensor jitter, biological scatter and one-off spikes that mean nothing. Every reading is signal + noise added together.
Setpoint vs targetA setpoint is the literal number a machine chases (e.g. cool to 24°C). A target is the outcome you actually want (e.g. keep the plant transpiring healthily). They are not the same thing.
VPD (vapour pressure deficit)How ‘thirsty’ the air is. It drives how fast plants lose water. Measured in kilopascals (kPa).
EC, VWC, drybackEC (electrical conductivity) = how salty the feed or root zone is. VWC = how wet the growing medium is. Dryback = how much the medium dries between waterings.
Plant stateThe plant's actual condition (stressed, steering generative, on-track), inferred from many signals together rather than read off one gauge.
Setpoint, target band and the real readingyou steer to a band, not a single numbersetpointtarget bandAct on the signal only when the reading leaves the band, not on every wiggle around the setpoint.
Diagram. You steer to a target band around a setpoint, and act only when the reading leaves the band, not on every wiggle.
A daily water-content cycleSaturate to field capacity, hold it, allow a controlled dryback, repeat. The size of the dryback is the steering lever.working bandtoo dry0255075100offP3 minonP1FCP2offwater content %
Diagram. Water content, EC and dryback are the levers and signals the loop reads and acts on each day.
Core content: the action half

The levers: every control moves four things at once

The room is one coupled system, not a set of independent knobs. Turn up the light and you have not just added light: you have added heat, made the plants drink and sweat faster (raising humidity), increased CO2 demand, and sped up how fast the root zone dries and concentrates salt[4]. Light is at once a heat source, a transpiration driver, a CO2-demand creator and an HVAC load[5].

Everything you can do sorts into four balances you are always disturbing: energy (heat), moisture (water vapour), carbon (CO2) and salt (root-zone EC), with around eleven primary lever families acting across them[5]. The right question before any change is not ‘what does this lever do?’ but ‘which balance am I disturbing, and can the rest of the room absorb it?’

One lever, four balances1Raise light / PPFDone move2Energyleaf temp up, ACruntime up3Moisturetranspirationup, RH up,dehumid load up4CarbonCO2 demand up5Salt / root zonefaster dryback,substrate EC up6Verdictcapacityexceeded? =failure modeA single lever fans out into all four balances at once.
Figure 2. One move, four consequences. Lowering the cooling setpoint is the same story: it changes humidity, VPD, dryback rate and condensation risk together[8].
How long a coupled disturbance takes to settleSalt in the root zone settles far slower than air balances. It builds over cycles.0701402102808 minEnergy (heat)18 minMoisture (RH)6 minCarbon (CO2)240 minSalt (root zone)
Figure 3. The four balances respond on very different timescales, which is why a single lever change can look fine for hours and still be quietly loading the slowest balance[3].
The four balances and the levers that move each. Every classic failure is a coupling failure, not a broken part.
BalanceWhat adds to itWhat removes itThe lever you reach for
Energy (heat)Lights, equipment, sun loadAC, ventilationLight level, cooling setpoint, airflow
Moisture (vapour)Transpiration, irrigationDehumidifier, exhaustDehumid setpoint, VPD target, shot size
Carbon (CO2)DosingPlant uptake, exhaustCO2 setpoint, exhaust timing
Salt (root zone)Feed EC, drybackPlant uptake, runoffShot size/frequency, dryback target, feed EC, runoff %
Classic failures are coordination failures

Cooling that creates humidity, dehumidification that overheats the room, CO2 fighting the exhaust: nothing broke. The levers were just set as if they were independent. The fix is order of operations: set biological demand first (stage, light, CO2), then size climate capacity to match, then set the root-zone strategy to that.

Core content: sensing and meaning

Reading the signal, then reading the plant

You have to see the room's response without being fooled, then turn it into meaning. Every measurement is signal plus noise, and in practice around 70% of raw alerts are noise that must be rejected before they ever reach a decision[2].

Reading plant state is the leap from ‘VWC fell 12% overnight’ (a number) to ‘the plant is steering generative as intended, no action needed’ or ‘reduce dryback 3% tonight or expect tip burn in about 48 hours’ (a decision). The goal is to infer the plant, not just display the room.

Three signal habits, in order, get you there:

  • Sample at the right speed for the biology: fast enough to catch a 30-minute irrigation response, slow enough not to log useless jitter.
  • Filter out scatter with rolling or median averages before you look.
  • Judge with control limits, lines drawn from the process's own history, conventionally the mean and roughly ±3 standard deviations (sigma)[1].
Signal vs noise on one readingThe smooth trend is the story; the jitter around it is noise to be filtered out.015304559t0t1t2t3t4t5t6t7reading
Figure 4. A raw sensor reading wobbles every sample. The trend is what the room is doing; the jitter is not. Acting on the jitter is acting on events that never happened.
Control chart: when a wiggle earns a responseEleven points jitter harmlessly; the twelfth crosses the limit and is flagged 'special cause'.022456890flagvalue
Figure 5. Inside the band = the room being a room, do nothing. A point past the limit, or a non-random run, is a special cause to investigate. Distinguishing common-cause from special-cause variation is the whole basis of statistical process control[1].

Then aggregate, don't trust one reading: believe n-of-12, not n-of-1. A clean, classified signal is the only acceptable input to inference. Inference then fuses several cleaned signals into named conditions, each with a confidence level and an evidence chain, judged against a learned envelope rather than a fixed line. 1.4 kPa VPD is fine in late flower but punishing in early veg.

The four-zone calm dashboardZone 1 carries ~90% of the value; the raw graph wall is demoted to the basement.Zone 1: plant truthZone 2: watchlistZone 3: advisoryZone 4: raw graphs024
Figure 6. A calm dashboard leads with one green plant-truth headline (‘Flower Day 24, on-track, no action needed’). Yellow is drifting precursors, orange is the only interrupt, and the raw graphs sit last.
Core content: putting it together

Closing the loop: one problem, traced all the way round

The three jobs become one machine here. Watch a single ordinary problem, slow salt creep in the root zone, travel the whole loop.

  1. 1
    Cause sets the conditions
    A long dryback plus a flat feed concentrates salt a little more each cycle. The slowest balance is loading.
  2. 2
    Perception refuses to overreact
    It ignores any single EC spike, but flags a sustained four-day rising run past the control limit as a true signal.
  3. 3
    Cognition gives it meaning
    It fuses that run with feed and dryback data into a named precursor, 'salt accumulation, tip-burn precursor', with confidence and evidence.
  4. 4
    Prescribe and act
    It pulls the dryback lever back, closing the loop about four days before tip burn would appear, and the salt balance starts recovering.
Salt creep through the whole loop1Causedryback long,feed flat, saltconcentrates2Perceptionsingle spikeignored, 4-dayrun past limit =signal3Cognitionfuse EC + feed +dryback ->tip-burnprecursor4Prescribe -> actease dryback,loop back,correct the sameleverThe same dryback lever that caused it is the lever the loop pulls to fix it.
Figure 7. Closed-loop correction catches root-zone salt accumulation roughly four days before visible tip burn would show[9], because the EC the roots feel rises as the medium dries, well before leaves react[8].
No single job catches it alone
  • A lever-only grower never measures it.
  • A signal-only grower sees a number move but not what it means.
  • A dashboard-only grower, without the causal map, prescribes the wrong lever.
  • Only the whole loop has the emergent property of self-correction: sensing its own mistakes and undoing them.

Bridge metrics let the three jobs talk to each other. Dryback %, VPD and VPD-hours, pore-water EC and recovery slope are each computed once on a consistent definition and read by every part. Always prescribe with a number and show your work: name the action, the setpoint, the deadline and the expected outcome, expandable to the full evidence on demand. Never be a black box.

Five failures, one fusion. A flatlined, drifting or noisy probe is itself a detectable special-cause signal[6].
FailureCause / coupling at faultSignal discipline that catches itInference & prescription
Silent salt creepLong dryback + flat feed4-day run past EC limitTip-burn precursor → ease dryback
Irrigation didn't landClog / pump / line faultExpected VWC step absentFailed shot → re-fire, alert
Stealth morning stressVPD spike at lights-onVPD-hours over envelopeMorning stress → ramp climate gently
Dehumidifier dying slowlyFalling removal capacityRH drift trend, not spikeCapacity fade → service before failure
The blind sensorFlatlined / noisy probeVariance collapse or jitter = special causeBad probe → quarantine, don't trust
Do this first

How to build the loop, step by step

You build the loop one rung at a time, and you do not earn the next rung until the previous one is genuinely running. Almost none of this needs new capital. Most of it is discipline.

  1. 1
    Arc I: get your actions coupling-aware
    Before any change, name which of the four balances it moves and in which direction. Treat every failure as a capacity or coordination problem, not one bad lever.
  2. 2
    Arc II: get your signals honest
    Stop watching live numbers (they invite over-reaction). Set a sampling cadence per channel, put a rolling average on every decision chart, and compute control limits from your own history.
  3. 3
    Arc III: get your decisions inferred
    Judge against an envelope per cultivar/stage/photoperiod. Fuse before you flag, because no signal stands alone. Make every advisory prescribe a number and show its evidence, and go quiet by default.
  4. 4
    Close the loop last, and gently
    Gate the first automated write-back to a low-risk, reversible move, for example a 3-point dryback nudge behind a confirm. Keep expensive or irreversible actions human-approved.
Discipline before capital

The most valuable upgrades on this list cost nothing but habit: a sampling cadence, a rolling average and a control limit are free. Buy hardware only once the discipline is in place to use it.

What goes wrong

Pitfalls: oscillation and chasing noise

Two failure modes ruin a loop: chasing noise and oscillation. Feed a controller noise, meaning single spikes, jitter and ghost trends, and it acts on events that never happened, actively destabilising the room. A loop fed noise doesn't help, it amplifies. Oscillation comes from reacting too fast, too hard, or to readings still inside normal variation, so the room swings back and forth instead of settling[1].

Noise-driven oscillation vs calm correctionChasing every jitter makes the setpoint swing wildly; one disciplined correction would hold it flat.020406080setpoint
Figure 8. Reacting to each wiggle drives the room into a swing it can never settle out of. A filtered loop makes one decisive correction only when the signal truly crosses a limit.
The one-sentence test before reacting

Has the reading moved beyond its learned envelope (meaning), for longer than one reading with sensors in agreement (signal), and do you know which lever answers it without disturbing another balance (cause)? If it fails any of the three, it's noise. Do nothing.

  • Aliasing: sampling too slowly invents phantom trends, and over-sampling logs jitter you can't act on and tempts you to tamper. Match cadence to the biology[7].
  • The Stage-2 trap: reacting to live numbers is more stressful than flying blind. It's a wall of noise to panic at.
  • Walk the loop, not the wiggle: smooth enough to act calmly, but never so smooth you go blind to a real fast event. Keep raw data one click away.
What to actually expect

Realistic expectations

The end state is quieter, not flashier

A working loop means you look at the dashboard less, are surprised less, and harvest more consistently. Silence is the product: a blank screen means nothing needs you. The advisory-first stage, where the loop tells you what to do but you still pull the lever, is a stable, valuable place to stop indefinitely. Full autonomy is opt-in, gated, and never obligatory.

The five-rung maturity ladder11 Blindgut & eyeball22 Loggeddata, no method,react to spikes33 Filteredsampling +filter + limits(Perception lit)44 Inferredfuse to plantstate, prescribe(Cognition lit)55 Loopedgatedwrite-back,predictive(Cause closesback)Rising capability. You don't earn a rung until the one below it genuinely runs.
Figure 9. The single highest-return move is getting from rung 2 to rung 3: stop reacting to live numbers, start reacting to filtered trends past control limits. It costs nothing but habit and is the precondition for everything above it.
  • You don't have to automate to win. Intelligence reaches the screen long before autonomous actuation, and stopping there is a fine, stable outcome.
  • Numbers are starting points, not gospel. Reference setpoints are commercial-cultivation starting points to calibrate against your own facility's history. The method is universal; the setpoints are yours.
  • Prove it small. Pick one room and one failure pattern, run it in shadow-mode for one cycle, and prove the lead time on a single advisory before you scale.

Get your actions coupling-aware, your signals honest, and your decisions inferred. Then, and only then, consider closing the loop. To go deeper on the perception half, read the signal and noise paper. For the cognition half and how it reaches you, read the plant-state dashboard guide.

Related papers

References

  1. Mohammed MA. Statistical Process Control. Cambridge University Press (Elements of Improving Quality and Safety in Healthcare); 2024. https://doi.org/10.1017/9781009326834
  2. International Society of Automation. ANSI/ISA-18.2-2016, Management of Alarm Systems for the Process Industries. ISA; 2016. (non-peer-reviewed source) https://www.isa.org/standards-and-publications/isa-standards/isa-18-series-of-standards
  3. Moon T, Ahn TI, Son JE. Forecasting Root-Zone Electrical Conductivity of Nutrient Solutions in Closed-Loop Soilless Cultures via a Recurrent Neural Network Using Environmental and Cultivation Information. Frontiers in Plant Science. 2018;9:859. https://doi.org/10.3389/fpls.2018.00859
  4. Huber BM, Louws FJ, Hernandez R. Impact of Different Daily Light Integrals and Carbon Dioxide Concentrations on the Growth, Morphology, and Production Efficiency of Tomato Seedlings. Frontiers in Plant Science. 2021;12:615853. https://doi.org/10.3389/fpls.2021.615853
  5. Runkle E, Kim WS. Interactions of light, CO2, and temperature on photosynthesis. Michigan State University Extension, Floriculture & Greenhouse Crop Production; 2017. (non-peer-reviewed source) https://www.canr.msu.edu/resources/interactions-light-co2-and-temperature
  6. Szerement J, Woszczyk A, Szyplowska A, Kafarski M, Lewandowski A, Wilczek A, Skierucha W. A Seven-Rod Dielectric Sensor for Determination of Soil Moisture in Well-Defined Sample Volumes. Sensors (Basel). 2019;19(7):1646. https://doi.org/10.3390/s19071646
  7. Advancements in dielectric soil moisture sensor calibration: A comprehensive review of methods and techniques. Computers and Electronics in Agriculture. 2024;218:108663. https://doi.org/10.1016/j.compag.2024.108663
  8. Choi KY, et al. Changes in electrical conductivity and moisture content of substrate and their subsequent effects on transpiration rate, water use efficiency, and plant growth in the soilless culture of paprika (Capsicum annuum L.). Horticulture, Environment, and Biotechnology. 2015;56(2):209-217. https://doi.org/10.1007/s13580-015-0154-6
  9. Saure MC. Calcium localization and tipburn development in lettuce leaves during early enlargement. Journal of the American Society for Horticultural Science. 2001 / related work on localized calcium deficiency and tipburn. https://pubmed.ncbi.nlm.nih.gov/11543566/

Citations marked in-text as [n] map to this list. Peer-reviewed sources except where noted. Cannabis tissue culture is strongly genotype-dependent, verify dilutions, hormone doses and local regulations against the primary sources before relying on them.