Setting pH-Controller Target and Deadband for Solenoid Cycling
Set a freshwater planted-tank pH controller to a target pH that produces 25–30 ppm dissolved CO2—typically 1.0 pH unit below your tank water's degassed baseline—with a ±0.05 to ±0.10 pH deadband (a 0.10–0.20 pH total switching window). Pair the controller with a solenoid timer that turns CO2 ON 1–2 hours before lights on and OFF 1 hour before lights off, and set the needle valve slightly above the tank's steady-state consumption rate so the controller cycles smoothly every 15–45 minutes instead of chattering every few seconds.
Target pH Setpoint by KH and Degassed Baseline
Your target pH setpoint depends on carbonate hardness (dKH) in inert-substrate tanks, or on a 1.0 pH-unit drop from a degassed water sample when active aquasoil, driftwood, or phosphate buffers are present.
In water buffered solely by carbonate and bicarbonate, dissolved CO2 concentration follows the standard relationship:
CO2 (ppm) = 3 * dKH * 10^(7 - pH)
Because every 0.30 pH drop roughly doubles dissolved CO2, a small error in target pH produces a large swing in CO2 concentration.
| Carbonate Hardness (dKH) | Target pH for ~25–30 ppm CO2 | Calculated CO2 at Target (ppm) | Degassed Baseline Method Equivalent |
|---|---|---|---|
| 1–2 dKH | 6.2–6.4 | 24–30 ppm | Baseline pH minus 1.0 |
| 3 dKH | 6.5 | 28.5 ppm | Baseline pH minus 1.0 |
| 4 dKH | 6.6–6.7 | 24–30 ppm | Baseline pH minus 1.0 |
| 6 dKH | 6.8 | 28.5 ppm | Baseline pH minus 1.0 |
| 8 dKH | 6.9 | 30.2 ppm | Baseline pH minus 1.0 |
| 10 dKH | 7.0 | 30.0 ppm | Baseline pH minus 1.0 |
Using the Degassed Baseline Method (Active Aquasoil and Tannin-Rich Tanks)
Active aquasoils, peat, driftwood tannins, and phosphate-based pH buffers lower pH independently of CO2, which makes the dKH-to-pH chart read artificially high for CO2. To find the true target setpoint in these tanks:
- Scoop 1 cup (240 mL) of tank water into a shallow bowl and aerate it vigorously with an airstone for 2–4 hours (or let it sit overnight with surface agitation) to drive off dissolved CO2.
- Measure the pH of that degassed sample with your calibrated pH probe.
- Subtract 1.0 pH unit from the degassed reading to get your starting controller target (roughly 30 ppm CO2).
- Verify the tank's actual CO2 level after 2–3 hours of injection using a 4 dKH drop checker filled with bromothymol blue indicator; adjust the controller setpoint by 0.05 pH increments until the drop checker holds a steady lime green (~25–30 ppm).
Deadband (Hysteresis) Settings and Solenoid Cycling Math
Use a ±0.05 pH deadband (0.10 pH total window) for high-tech tanks with tight stability needs, or ±0.10 pH (0.20 pH total window) to minimize solenoid wear and relay clicks.
A pH controller switches the solenoid using two thresholds around your target setpoint:
- Solenoid ON threshold:
Target pH + Deadband(orTarget pH + Full Hysteresison single-sided controllers) - Solenoid OFF threshold:
Target pH - Deadband(orTarget pHon single-sided controllers)
Check your controller's manual to confirm whether the hysteresis setting is symmetric (±0.05 around the setpoint = 0.10 total span) or one-sided (0.10 above the setpoint before turning on).
| Deadband Setting | Total pH Window | CO2 Swing Around 30 ppm Target | Typical Solenoid Cycle Behavior |
|---|---|---|---|
| ±0.02 pH | 0.04 pH | 28.7–31.4 ppm | Rapid chattering (1–5 min cycles); high valve wear |
| ±0.05 pH | 0.10 pH | 26.8–33.8 ppm | Balanced stability; 15–30 min cycles when needle valve is tuned |
| ±0.10 pH | 0.20 pH | 23.9–37.9 ppm | Quietest operation; 30–60 min cycles; safe for most planted tanks |
| ±0.15 pH+ | 0.30 pH+ | 21.3–42.4 ppm | Wide CO2 swings; increases algae pressure and livestock stress |
Example at 4 dKH (Target pH 6.60)
- With a ±0.05 pH symmetric deadband: the solenoid opens at pH 6.65 (~26.8 ppm) and closes at pH 6.55 (~33.8 ppm).
- With a ±0.10 pH symmetric deadband: the solenoid opens at pH 6.70 (~23.9 ppm) and closes at pH 6.50 (~37.9 ppm).
Coordinating Bubble Rate, Photoperiod Timer, and Circulation
A pH controller is a safety ceiling and fine-trimmer, not a replacement for needle-valve tuning, photoperiod scheduling, or 6–10×/hr tank circulation.
If the needle valve is opened far too wide, the solenoid will overshoot the target pH before the probe registers the change, causing sharp CO2 spikes. Tune the mechanical components together using these baseline parameters:
- Set starting bubble rate (BPS) by tank volume:
- 10 gal (38 L):
0.5–1 BPS - 20 gal (76 L):
1–1.5 BPS - 75 gal (284 L):
3–5 BPS - Increase slowly by
0.25–0.5 BPSper day only until the controller can reach the target pH within 45–60 minutes of turning on. A properly tuned needle valve delivers roughly 10–20% more CO2 than the tank's steady-state demand so the solenoid cycles calmly rather than snapping on and off every minute.
- 10 gal (38 L):
- Keep a photoperiod timer in series with the controller:
- Plug the solenoid into a dedicated timer (or use the controller's built-in timer) set to ON 1–2 hours before lights on and OFF 1 hour before lights off.
- Running a pH controller 24/7 without a timer wastes CO2 overnight as plants switch to respiration, and risks dangerous nighttime CO2 buildup if the probe drifts or dries out.
- Match filter flow and lighting to high-tech CO2 demand:
- High-tech CO2 planted tanks require 6–10×/hr rated filter GPH (empty-box rating) to sweep dissolved CO2 past the pH probe and across plant leaves without dead zones.
- Maintain high-light PAR at the substrate (50–100+ PAR for 6–8 hr/day); lower PAR (15–30 PAR or 30–50 PAR) reduces plant CO2 uptake and slows down natural pH recovery between cycles.
Probe Placement, Calibration, and Maintenance
Mount the pH probe in steady, bubble-free flow away from the CO2 diffuser and calibrate it monthly with fresh pH 7.01 and pH 4.01 buffer solutions.
Probe placement and sensor health directly control how accurately the solenoid cycles:
- Placement: Position the probe tip 4–6 in (10–15 cm) below the waterline in an area of steady filter return flow, on the opposite side of the tank from the CO2 diffuser or reactor outlet. Never place the probe directly above a rising stream of microbubbles; raw CO2 bubbles hitting the glass bulb cause false low-pH readings and premature solenoid shutoffs.
- Electrical isolation: Route the low-voltage pH probe cable at least 6 in (15 cm) away from high-voltage AC power cords, heater cables, and LED ballast drivers to prevent electromagnetic interference from making the display jitter by
0.05–0.20pH. - Two-point calibration: Calibrate every 30–45 days using fresh pH 7.01 and pH 4.01 single-use calibration packets at room temperature (68–77°F / 20–25°C). Rinse the probe in distilled or RO water and blot gently with a lint-free tissue between buffers—never wipe the glass bulb dry or touch it with bare fingers.
- Probe lifespan: Standard gel-filled aquarium pH probes last 12–18 months before internal electrolyte depletion causes slow response times or reading drift. Keep the bulb submerged continuously; a probe that dries out permanently loses accuracy.
Troubleshooting Solenoid Cycling Pitfalls
Most erratic solenoid cycling stems from microbubbles hitting the probe, an oversized bubble rate, or a deadband narrower than ±0.05 pH.
| Symptom | Root Cause | Fix |
|---|---|---|
| Solenoid clicks ON/OFF every 10–60 seconds | Deadband too tight (±0.01–0.02 pH), or raw CO2 bubbles hitting the probe |
Widen deadband to ±0.05–0.10 pH; move probe opposite the diffuser |
| pH keeps dropping 0.15–0.30 units after solenoid closes | Needle valve BPS set far too high, or low filter circulation causing delayed probe response | Reduce needle valve to just above steady-state demand; verify 6–10×/hr circulation |
| Solenoid stays ON continuously for hours without reaching target | Bubble rate too low, CO2 cylinder empty, or excessive surface splashing gassing off CO2 | Check cylinder pressure and bubble counter; aim filter outflow just below the surface for a gentle ripple instead of splashing |
| Drop checker stays blue/dark green even though controller reads target pH | Probe out of calibration, probe drying out, or active aquasoil/tannins skewing pH | Recalibrate with pH 7.01 and 4.01 buffers; re-establish target using the degassed baseline method minus 1.0 pH |
| Display jumps erratically by ±0.10+ pH when lights or heaters switch | Electromagnetic interference on the probe cable or stray voltage | Separate probe wire from AC cords; replace worn probes older than 18 months |
Related guides
- Timing CO2 Solenoid Cycles with Ramping Sunrise and Sunset LEDs
- CO2 Solenoid Timing for a Split-Photoperiod (Siesta) Light Schedule
- Keeping Separate CO2 and Light Timers Synchronized
- Solenoid Lead and Shutoff Offsets for Diffusers, Inline Atomizers, and Reactors
- Continuous 24/7 Low-Rate CO2 Tuning Risks and Adjustments
- Coordinating Overnight Aeration Timing with CO2 Solenoid Off-Hours