Greenhouse Environmental Controllers & Automation
Configure environmental controllers to operate greenhouse and indoor growing-space climate equipment in coordinated, predictable, and verifiable sequences. A single integrated controller—or a coordinated master logic with hardware interlocks—must govern heating, ventilation/exhaust, humidification, dehumidification, and air circulation through non-overlapping deadbands, minimum switching delays, and defined fail-safe states.
Boundary conditions that change the control architecture:
- Space scale (<= 485 ft² / 45 m²): Hobby greenhouses and indoor edible-crop rooms rely on single-phase plug-in or dedicated branch-circuit equipment rather than multi-zone commercial building management systems. Thermal mass is low, so air temperature swings rapidly when solar gain or outside wind shifts; control loops must respond within minutes without short-cycling equipment.
- Electrical circuit budget: On a standard 120 V / 15 A continuous circuit, total simultaneous continuous load (heaters + exhaust fans + circulation fans + dehumidifiers) must not exceed 1,440 W (80% of 1,800 W nominal). Controller output ratings must match the specific load type (resistive vs. inductive motor) on the equipment nameplate.
- Envelope and airflow coupling: Controller staging depends on the physical heat loss, ventilation capacity, and target vapor pressure deficit (VPD) of the structure; see Greenhouse Climate & Envelope for envelope U-value heating loads, face-velocity exhaust sizing, and humidity targets.
Controller I/O Requirements & Equipment Compatibility
Every controlled device requires an electrical or signal match between the controller output stage and the equipment's input circuit, plus a sensor input capable of resolving temperature and humidity changes at the crop canopy.
Sensor Input Specifications
- Temperature: NTC thermistor, RTD, or digital sensor probe with a practical working range of 14–122°F (-10–50°C) and accuracy within ±0.9°F (±0.5°C) or better.
- Relative Humidity (RH): Capacitive polymer sensor covering 10–99% RH, ideally accurate to ±2–3% RH across the 40–85% RH growing band, with conformal coating or hydrophobic filter membrane to resist condensation drift.
- Placement: Mount sensors inside a white, ventilated radiation shield (naturally aspirated or small-fan aspirated) at crop canopy height, out of direct sunlight, away from glazing walls, and outside the direct discharge plume of heaters, exhaust fans, or misting nozzles.
- Discrete / Dry-Contact Inputs: Used for motorized louver end-switches (confirming an intake damper is open before starting an exhaust fan), door-open switches, or reservoir/condensate high-level float switches.
Output Types & Load Compatibility
| Output Type | Best-Matched Equipment | Electrical / Control Constraints | Datasheet Check Required |
|---|---|---|---|
| Mechanical Relay (SPST / SPDT) | Electric space heaters, solenoid valves, single-speed fans, dehumidifiers | Rated separately for resistive (heater) vs. inductive/motor (FLA/LRA) loads; arcing wears contacts under rapid cycling | Verify inductive (HP or FLA) rating, not just resistive amperage |
| Solid-State Relay (SSR) / Triac | Rapidly pulsing resistive heaters, speed-controllable PSC fans (triac) | Generates heat at high current; requires minimum holding current; cannot switch incompatible motor types | Confirm motor datasheet allows phase-cut dimming; verify heatsink rating |
| 0–10 V DC or PWM Analog | EC exhaust/circulation fans, modulating dampers, dimmable board-style LED drivers | Low-voltage control signal only; equipment still requires continuous line power | Confirm sink vs. source 0–10 V polarity and minimum start voltage (often 1–2 V) |
| External Contactor / Pilot Relay | High-draw heaters or multi-fan stages exceeding onboard relay limits | Controller switches low-current coil; contactor switches load within the 1,440 W (120 V / 15 A) branch limit | Match coil voltage (e.g., 24 V AC/DC or 120 V AC) to controller output |
Deadbands, Hysteresis, Time Delays & Conflict Prevention
Independent standalone thermostats and humidistats frequently fight each other because their tolerances overlap. A coordinated controller eliminates simultaneous heating and cooling by enforcing hysteresis, inter-stage deadbands, minimum run/off timers, and hard interlocks.
Plain-Text Control Formulas
- Single-stage hysteresis (differential):
Hysteresis = |Turn-ON threshold - Turn-OFF threshold|Illustrative example: Heater turns ON at 58.0°F (14.4°C) and OFF at 62.0°F (16.7°C) -> 4.0°F (2.2°C) hysteresis. - Inter-stage deadband (heating-to-cooling gap):
Deadband = Cooling/Exhaust ON threshold - Heating OFF thresholdKeepDeadband >= 4.0–6.0°F (2.2–3.3°C)so thermal overshoot from a heater's residual element heat never trips the exhaust fan. - Dew-point condensation check: Keep night minimum air temperature at least 3.0–5.0°F (1.7–2.8°C) above canopy dew point, or trigger a brief humidity-purge cycle before condensation forms on leaves.
Multi-Device Priorities, Interlocks & Anti-Conflict Rules
| Priority | Control Function | Typical Timing / Delay Rule | Required Interlock / Anti-Conflict Rule |
|---|---|---|---|
| 1 (Highest) | High-temp emergency exhaust & low-temp freeze protection | Immediate override (0–15 s confirm delay) | Overrides humidity/VPD holds; forces intake louvers open before exhaust reaches full speed |
| 2 | Primary heating & primary cooling/exhaust staging | Min ON: 2–3 min; Min OFF: 2–3 min | Heating locked out whenever exhaust fan or motorized vent is open beyond minimum purge crack |
| 3 | Dehumidification (compressor or heat-plus-vent purge) | Compressor min OFF: 3–5 min (mandatory) | Compressor dehumidifier locked out during active exhaust ventilation (prevents pulling humid outdoor air through the coil) |
| 4 | Humidification / evaporative cooling / misting | Short pulse cycles (5–30 s ON, 2–5 min soak) | Locked out when exhaust fan is at high stage or when RH is within 3–5% RH of high-RH limit |
| 5 (Lowest) | Horizontal air circulation (HAF) | Continuous or timed duty cycle | Runs independently of heating/cooling deadbands to prevent thermal stratification and boundary-layer moisture |
Note on motorized intakes: If an exhaust fan pulls against a motorized intake louver, configure a 15–30 s pre-open delay (or wire an end-switch interlock) so the fan does not start against a closed damper and stall or trip overcurrent protection.
Day/Night Profiles, Scheduled Changes & Manual Overrides
Plant transpiration and heating loads change sharply between photoperiod and dark period.
- Day vs. Night Operating Profiles (Illustrative Edible-Crop Baseline):
- Day profile: Target 68–75°F (20.0–23.9°C), exhaust staging starting around 78–80°F (25.6–26.7°C), target 55–70% RH (verify crop-specific VPD targets).
- Night profile: Setback heating to 58–62°F (14.4–16.7°C) to conserve energy while keeping 4.0–6.0°F (2.2–3.3°C) deadband below any night exhaust threshold.
- Scheduled Mode Transitions:
- Trigger day/night switching via an internal astronomical clock, fixed schedule, or light sensor with a 10–15 min light-filter delay (prevents passing clouds or flashlights from toggling profiles).
- Use a morning transition / humidity purge (15–30 min before full day heating) if overnight RH climbs above 80–85% RH, venting moist air in controlled pulses before solar gain spikes leaf temperature.
- Manual Override Modes:
- Provide Timed Override (auto-reverts to Auto after 30–60 min) for routine watering, pruning, or harvest.
- Reserve Latching (Permanent) Override for equipment repair only, paired with an unmistakable front-panel indicator or active alert so a heater or exhaust fan is never left forced ON/OFF overnight.
Alarms, Sensor-Failure Behavior & Restart Logic
Alarm Thresholds
Configure non-latching or latching alerts (audible, relay dry-contact, or logged notification) for four conditions:
- High-Temperature Alarm: Set 5–10°F (2.8–5.6°C) above the highest cooling/exhaust stage (e.g., 90–95°F / 32.2–35.0°C).
- Low-Temperature / Frost Alarm: Set 5°F (2.8°C) below the night heating setpoint, or at a hard floor of 38–40°F (3.3–4.4°C) for frost-sensitive crops.
- Humidity Alarm: High RH (e.g., > 85% RH sustained for > 30 min) indicating condensation/fungal risk; low RH (e.g., < 30% RH) indicating desiccation stress.
- Sensor-Failure / Timeout Alarm: Triggers immediately on open-circuit, short-circuit, out-of-range reading (e.g.,
< -40°F / -40°Cor> 185°F / 85°C), or a frozen digital reading that shows zero change over a defined watchdog window.
Sensor-Disconnection Behavior (Fail-Safe States)
Never allow a controller to hold its last valid output state indefinitely when a sensor disconnects:
- Heating channel: Default to OFF on sensor loss to prevent runaway overheating—unless a separate, independent mechanical backup thermostat is wired in series as a hard low-temperature freeze guard.
- Exhaust / ventilation channel: Default to OFF in freezing outdoor climates (to prevent freezing the crop) or low continuous/timed purge in mild/hot climates; select the seasonal fail-safe mode explicitly during commissioning.
- Humidification / misting channel: Default to OFF on RH sensor loss to prevent saturating the space.
Power-Restoration Restart Behavior
After a utility outage, controllers must execute a deterministic recovery sequence:
- Non-volatile retention: Setpoints, deadbands, day/night schedules, and historical logs must survive power loss in flash/EEPROM without battery-only dependency (or with a verified RTC backup cell for clock retention).
- Boot stabilization delay: Wait 10–30 s after power returns for sensors to stabilize before evaluating control logic.
- Staggered load restart: Sequence high-inrush loads (dehumidifier compressor, exhaust fan, electric heater) at 5–15 s intervals rather than energizing all relays simultaneously, preventing nuisance trips on a 120 V / 15 A branch circuit.
- Fresh state evaluation: Re-evaluate live sensor readings and enforce minimum compressor OFF timers from
t = 0at power-on rather than resuming mid-cycle countdowns.
Environmental Data Logging
Data logging turns climate troubleshooting from guesswork into measurable diagnostics:
- Minimum logged parameters: Timestamp, air temperature (
°F/°C), RH (%), calculated dew point or VPD, output state per channel (ON/OFF or%modulation), alarm triggers, and power-loss/restart events. - Logging interval: 1–5 min intervals capture heater short-cycling, louver lag, and sunrise condensation spikes; 15–60 min intervals miss rapid cycling.
- Retention & storage: Keep at least 7–30 days of local non-volatile storage (onboard flash or SD card) so data is preserved even if local network connectivity drops.
Commissioning & Verification Steps
Execute these checks before leaving any newly configured or modified controller unattended:
- Circuit & Nameplate Budget Check: Sum the continuous wattage of all loads that can run simultaneously under your interlock rules (e.g., circulation fans + largest heater stage + controller draw) and confirm total draw is <= 1,440 W on a 120 V / 15 A continuous circuit. Confirm every controlled device's FLA/LRA and wattage fall within the controller relay's rated capacity.
- Reference Instrument Comparison: Place a calibrated independent reference thermometer/hygrometer inside or directly beside the controller's aspirated radiation shield. Allow 15–20 min for thermal equilibrium, then compare readings.
- If temperature differs by <= 1.0°F (0.6°C) and RH by <= 3% RH, record the baseline.
- If offset is within the controller's linear trim range, apply a single-point offset and re-check at a second temperature/RH point. If drift exceeds datasheet spec, replace the sensor.
- Manual I/O Step Test: Using Manual Override, command each output ON and OFF one at a time. Verify that the intended heater, exhaust fan, intake louver, dehumidifier, or misting valve physically actuates in the right direction and that status LEDs/logs match physical state.
- Deadband, Interlock & Delay Walk Test: Temporarily adjust setpoints (or gently warm/cool the probe) to force a heating-to-cooling crossover. Confirm:
- Heating turns OFF at its target + hysteresis.
- Neither heating nor cooling runs inside the 4–6°F (2.2–3.3°C) deadband.
- Exhaust fan waits for intake louver pre-open delay before ramping.
- Compressor dehumidifier respects its 3–5 min minimum OFF timer after shutdown.
- Sensor-Disconnect & Power-Cycle Test: Unplug the primary temperature/RH probe and verify the sensor-fault alarm triggers and outputs move to their configured fail-safe states. Reconnect the probe, cut power to the controller for 30 s, restore power, and confirm setpoints/clock remain intact and loads restart in staggered sequence.
Commissioning Verification Summary
| Check | Target Pass Condition | Action if Failed |
|---|---|---|
| Circuit & Relay Load | Simultaneous interlocked load <= 1,440 W (120 V / 15 A); within relay FLA/LRA | Add external contactor or split loads across separate branch circuits |
| Reference Comparison | Temp within ±1.0°F (±0.6°C); RH within ±3% RH after 15–20 min | Apply linear offset if within spec; relocate shield or replace drifted probe |
| Deadband & Interlocks | Zero simultaneous heat + exhaust; >= 4°F (2.2°C) gap; louver opens before fan | Widen deadband; enable software/hardware interlock and pre-open delay |
| Sensor-Disconnect | Alarm activates; heater/mister go OFF (safe state) | Reconfigure fail-safe output map; do not use "hold last value" |
| Power Restoration | Setpoints retained; loads stagger-start after 10–30 s boot delay | Enable staggered restart; replace backup cell or controller if memory drops |
Real Failure Modes & Diagnostics
- Simultaneous Heating and Exhausting: Caused by an inter-stage deadband narrower than heater element thermal overshoot or by two uncoordinated standalone thermostats. Fix by enforcing a >= 4–6°F (2.2–3.3°C) deadband and locking out heating whenever exhaust/vents are open.
- Short-Cycling & Welded Relay Contacts: Caused by 0–1°F (0–0.6°C) hysteresis, missing minimum OFF timers, or driving an inductive motor/compressor directly through a resistive-rated relay. Fix by widening hysteresis to 3–4°F (1.7–2.2°C), setting 3–5 min minimum OFF delays, and adding an appropriately rated external contactor for high-inrush loads.
- False Canopy Readings from Probe Placement: An unshielded probe in direct sun can read 15–25°F (8–14°C) above true air temperature, triggering premature exhaust while canopy leaves remain cool, or triggering false low-RH readings. Fix by enclosing the probe in a ventilated white radiation shield at canopy level.
- Silent Sensor Freeze / Stuck Override: A failed digital sensor bus or forgotten permanent manual override leaves the controller holding a stale reading (e.g., 68°F / 20.0°C) while actual space temperature drops toward freezing or spikes above 95°F (35.0°C). Fix by enabling sensor-timeout watchdogs, defaulting manual overrides to timed auto-revert, and configuring an independent high/low backup alarm.
- Breaker Trip on Power Return: All fans, heaters, and compressors energizing at the exact moment utility power returns combine their locked-rotor inrush currents and trip the branch breaker. Fix by configuring a 10–30 s boot delay plus 5–15 s staggered staging between outputs.
Guides in this section (15)
- Commissioning Checks for Controller Inputs and OutputsStructured pre-operation commissioning verifies every sensor channel assignment, relay actuation, interlock lockout, and polarity before crops depend on automated control.
- Day and Night Operating Profiles and Scheduled TransitionsSeparating daytime and nighttime climate setpoints with controlled transition ramps prevents sudden relative humidity spikes and surface condensation at dusk and dawn.
- Deadbands, Hysteresis, and Minimum Switching IntervalsSetting distinct deadbands, hysteresis differentials, and minimum off-cycle delays prevents rapid equipment short-cycling while keeping greenhouse temperature and humidity within target bands.
- Environmental Data Logging Intervals and Trend VerificationLogging temperature, humidity, VPD, and equipment run-time states at consistent intervals reveals overnight minima, short-cycling patterns, and gradual sensor drift across crop cycles.
- Configuring High-Temperature, Low-Temperature, and Frost AlarmsSetting buffered high-heat and low-temperature alarm thresholds with short nuisance delays provides early warning before cooling failure or frost reaches crop-damaging levels.
- Configuring Humidity Threshold and Sensor-Failure AlarmsCombining upper and lower humidity alarm bands with open-circuit, short-circuit, and flatline sensor-fault alerts ensures persistent condensation risk or probe failure never goes unnoticed.
- Coordinating Climate Profiles with Supplemental Lighting SchedulesAligning controller day-night switching and pre-lights-off dehumidification with the independent lighting schedule absorbs fixture heat gain and avoids dark-period condensation.
- Manual Override Modes and Safe Return to AutomationTime-bounded manual overrides allow safe venting or fan shutdown during maintenance while automatically returning outputs to scheduled climate control once the timer expires.
- Multi-Device Control Priorities and Equipment InterlocksExplicit priority hierarchies and hardware or software interlocks prevent heating, exhaust ventilation, evaporative cooling, and dehumidification from fighting each other under shifting loads.
- Controller Restart Behavior Following Power RestorationNon-volatile setpoint memory, clock retention, compressor lockout timers, and staggered output startup sequences protect motors and circuits when utility power returns after an outage.
- Seasonal Control-Profile Adjustments Without RewiringUpdating seasonal setpoint bands, deadband widths, and active interlock modes adapts an already-commissioned controller from winter frost retention to peak summer venting without altering physical channel mappings.
- Defined Failsafe Behavior After Sensor DisconnectionPre-defined sensor-loss defaults lock out continuous heating and switch critical exhaust or circulation stages to safe bounded states when a probe disconnects or reports out-of-range values.
- Controller Sensor Input and Equipment Output CompatibilityReliable automation requires matching each controller's sensor signal type and relay or proportional output rating to the continuous and startup surge loads of connected heaters, fans, and dehumidifiers.
- Verifying Controller Readings Against Reference InstrumentsComparing controller temperature and humidity probes side by side against calibrated reference instruments exposes sensor drift and lets you apply accurate software offsets.
- Staged Output Sequencing for Heating and Exhaust StepsSequencing primary and secondary heating or ventilation stages with separated trigger thresholds matches output capacity to partial loads and reduces temperature overshoot.