Interlocking Automatic Top-Off Controls With Automatic Water-Change Cycles

To interlock an automatic top-off (ATO) system with an automatic water-change (AWC) cycle, cut power to the ATO 30–60 seconds before the AWC drain begins, keep the ATO disabled throughout drain and refill, and hold it locked out for 5–15 minutes after refill completes. Without this lockout, the ATO reads the AWC drain as evaporation, pumps fresh top-off water into the tank while old water is still leaving, and causes an overflow when the AWC refill pump returns the full scheduled volume.

Why Uninterlocked ATO and AWC Systems Conflict

An uninterlocked ATO and AWC fight over the same waterline sensor because neither controller knows why the water level changed. Even a small overlap wastes treated water, shifts dGH/dKH stability, and defeats high-water overflow protection.

  • False-low top-off during drain: As soon as the AWC drops the water level 0.1–0.25 in (2.5–6 mm) below the ATO optical sensor or float switch, an active ATO turns on. If the AWC drains 8 gal (30.3 L) while the ATO adds 2 gal (7.6 L), the AWC refill pump still returns 8 gal (30.3 L) afterward, leaving the tank 2 gal (7.6 L) overfilled.
  • Refill-level mismatch and parameter drift: If the AWC refills 0.25 in (6 mm) short of the ATO sensor, the ATO immediately tops off the deficit with unmineralized RO/DI water instead of matched AWC water. If the AWC refills 0.25 in (6 mm) above the ATO sensor, the ATO triggers an overfill alarm.
  • Post-refill wave and drain-back oscillation: Shutting off a refill pump creates surface ripples and allows water in vertical plumbing to drain back into a sump or display tank for 1–5 minutes. Re-arming the ATO before the waterline settles causes false dry-run or high-water trips.
  • Sequential vs. simultaneous exchange: Sequential drain-then-refill cycles require a full power lockout on the ATO for the entire cycle. Simultaneous dual-head peristaltic AWC systems (draining and refilling at identical flow rates) keep the waterline constant and do not require a drain lockout, but they still require a shared high-water emergency float switch wired to cut power to both the ATO and AWC refill heads if the drain line clogs.

Sensor Placement and Vertical Clearance Geometry

Stacking sensors from the tank rim downward—or from the top of the sump return chamber—prevents any single sensor failure from overflowing the tank or running equipment dry. Keep a minimum 0.5 in (13 mm) vertical buffer between the emergency high-limit switch and the tank rim (or sump top edge).

  1. Emergency High-High Cutoff (0.5–0.75 in / 13–19 mm below rim): A mechanical float switch or secondary optical sensor wired in series to cut power to both the ATO pump and the AWC refill pump.
  2. Normal Operating Waterline (1.0–1.5 in / 25–38 mm below rim on rimmed tanks; 1.5–2.0 in / 38–51 mm on rimless tanks): Mount the primary ATO sensor here. If the AWC uses a level sensor to stop refilling rather than a fixed volume/time, share this exact height or set the AWC refill stop 0.1 in (2.5 mm) lower so the ATO handles final micro-leveling.
  3. AWC Low-Level Drain Stop (2.5–5.0 in / 64–127 mm below normal waterline): Set by your target water-change percentage and tank footprint, or placed inside a sump return chamber above the return pump intake.
  4. Heater and Filter Intake Clearance (≥1.0–2.0 in / 25–51 mm below the AWC drain stop): Keep submersible heaters mounted horizontally near the bottom—2–3 in (5–8 cm) above the substrate—and keep canister or hang-on-back intakes submerged below the lowest drain mark, or interlock heaters and filters off during the AWC window.

To calculate how far the water level drops during a drain—and how much volume 0.5 in (13 mm) of rim headroom holds—use the tank footprint formula:

Volume per Inch (gal/in) = (Tank Length in × Tank Width in) ÷ 231

Water Level Drop (in) = Target Drain Volume (gal) ÷ Volume per Inch (gal/in)

Standard US Tank Dimensions (L × W × H) Volume per Inch 20% AWC Volume 20% Level Drop 0.5 in (13 mm) Headroom
10G 20 × 10 × 12 in (51 × 25 × 30 cm) 0.87 gal/in (3.3 L/in) 2.0 gal (7.6 L) 2.30 in (5.8 cm) 0.43 gal (1.6 L)
20L 30 × 12 × 12 in (76 × 30 × 30 cm) 1.56 gal/in (5.9 L/in) 4.0 gal (15.1 L) 2.56 in (6.5 cm) 0.78 gal (3.0 L)
40B 36 × 18 × 16 in (91 × 46 × 41 cm) 2.81 gal/in (10.6 L/in) 8.0 gal (30.3 L) 2.85 in (7.2 cm) 1.41 gal (5.3 L)
55G 48 × 13 × 21 in (122 × 33 × 53 cm) 2.70 gal/in (10.2 L/in) 11.0 gal (41.6 L) 4.07 in (10.3 cm) 1.35 gal (5.1 L)
75G 48 × 18 × 21 in (122 × 46 × 53 cm) 3.74 gal/in (14.2 L/in) 15.0 gal (56.8 L) 4.01 in (10.2 cm) 1.87 gal (7.1 L)
125G 72 × 18 × 22 in (183 × 46 × 56 cm) 5.61 gal/in (21.2 L/in) 25.0 gal (94.6 L) 4.46 in (11.3 cm) 2.81 gal (10.6 L)

Step-by-Step Interlock Sequence and Timing

Run every sequential AWC cycle as a five-stage state machine with hard runtime limits on both pumps so a stuck sensor never drains the tank or floods the floor.

  1. Pre-Drain Lockout (30–60 seconds): Cut power to the ATO controller (and to heaters or return/HOB pumps if the drain drops below their intakes). Wait 30–60 seconds for surface waves and overflow pipes to finish draining down.
  2. Drain Phase (calibrated runtime + 20% max timeout): Run the drain pump until the low-level drain sensor trips or the calibrated timer expires. Enforce a hard cutoff at 1.20× the normal drain duration.
  3. Mid-Cycle Settle (30–60 seconds): Pause between drain and refill so the drain line clears and any residual back-siphon stops before the refill pump starts.
  4. Refill Phase (sensor stop + 15–20% max timeout): Pump fresh water until the normal operating level sensor trips, backed up by the emergency high-high float switch and a hard runtime timeout.
  5. Post-Refill Lockout (5–15 minutes): Restore power to circulation/return pumps and heaters first, then keep the ATO locked out for 5–15 minutes while water levels, temperature probes, and sump baffles equalize.

Calculate exact pump runtimes and hard safety timeouts from measured flow at your actual head height (not the pump's empty-box rating):

Pump Runtime (min) = Target Volume (gal) ÷ (Measured Pump Flow GPH ÷ 60)

Hard Timeout Limit (min) = Pump Runtime (min) × 1.20

For example, on a 40B tank performing a 20% water change (8.0 gal / 30.3 L) using a pump delivering 60 GPH (227 LPH) at tank height, 8.0 ÷ (60 ÷ 60) = 8.0 minutes of normal runtime, with a hard cutoff timeout at 9.6 minutes (9 min 36 sec).

Two Reliable Ways to Wire the Interlock

Hardware-level interlocks fail safely during power outages, whereas timer-only interlocks require strict clock synchronization and an independent mechanical float backup.

Option A: Hardware Relay Interlock (Fail-Safe)

Wire the ATO controller's power supply through the normally closed (NC) contacts of a 12V DC or 120V AC relay whose coil is energized whenever the AWC drain/refill power bus or AWC controller active-output is on. When the AWC runs, the relay opens and physically disconnects power from the ATO—no clock drift or Wi-Fi drop can defeat it. Add a 5–15 minute off-delay timer relay on the coil if your AWC controller does not output a post-refill hold signal.

Option B: Smart Power Strip or Aquarium Controller Schedule

Assign the ATO to a dedicated controllable outlet programmed to turn OFF 2 minutes before the AWC schedule starts and turn ON 10–15 minutes after the AWC maximum timeout ends. Because independent smart plugs can drift out of sync after a power outage, always wire a mechanical high-water float switch directly in line with the ATO pump power cord as a physical last line of defense.

Mandatory Siphon Prevention on Both Systems

A stopped pump will still gravity-drain or back-siphon if the discharge tubing sits underwater. Terminate both the ATO and AWC refill lines 1–2 in (25–51 mm) above the emergency high-water mark with a clear air gap, or drill a 1/8 in (3 mm) siphon-break hole angled downward inside the reservoir just above the pump's outlet fitting. Keep the AWC drain line discharged above the floor drain or utility sink rim so dirty tank water cannot siphon back into the display.

Freshwater Water-Chemistry and Reservoir Rules

ATO and AWC systems serve opposite chemical functions in a freshwater aquarium, so they should draw from separate reservoirs unless you intentionally run a remineralized top-off strategy for specific softwater setups.

  • ATO Reservoir (Evaporation Replacement): Fill with pure RO/DI or 0–10 ppm TDS water. Only pure water evaporates; minerals (dGH, dKH, and dissolved solids) stay behind. Topping off with tap water or remineralized water gradually drives hardness and TDS upward between water changes.
  • AWC Refill Reservoir (Water Replacement): Fill with dechlorinated tap water or remineralized RO/DI water matched to the tank's target dGH, dKH, and pH. For sensitive livestock (such as ornamental shrimp) or single changes exceeding 25%, heat or temper the AWC reservoir to within ±2°F (±1°C) of tank temperature (68–82°F / 20–28°C depending on species).
  • ATO Reservoir Sizing for Flood Safety: Typical freshwater tanks evaporate 0.5–1.5% of total volume per day uncovered, or 0.25–0.5% per day with a tight-fitting lid. Size your ATO reservoir to hold 7–14 days of evaporation—and ideally less than your tank's remaining rim headroom (0.5 in / 13 mm capacity in the table above) if you want a physical guarantee against flooding even if every sensor fails.

Common Interlock Pitfalls and Troubleshooting

Most ATO–AWC failures come from uncalibrated pump head loss, fouled optical sensors, or unshared level references rather than controller electronics.

Symptom Root Cause Concrete Fix
ATO runs during AWC drain Timer mismatch or missing interlock relay Wire ATO power through an NC relay tied to AWC active state, or widen smart-outlet lockout window by 5 min before and 15 min after AWC.
Waterline creeps higher every week AWC refill sensor sits above ATO sensor, or refill pump overruns Share a single normal-level sensor for both systems, or set the AWC refill stop 0.1 in (2.5 mm) below the ATO sensor.
Tank gradually loses water over days AWC drain pump flows faster than refill pump under time-only control Measure actual GPH at tank head height for both pumps and calibrate runtimes separately, or stop refill on a level sensor instead of a timer.
Heater cracks or trips thermal shutoff AWC drain drops waterline below heater glass Mount heaters horizontally 2–3 in (5–8 cm) above the substrate, or power heaters through an NC relay interlocked with the AWC drain.
Optical sensor fails to stop pump Biofilm, algae, or snails coating the prism Wipe optical prisms every 2–4 weeks during maintenance and pair every optical sensor with a mechanical float high-limit backup.
Reservoir empties slowly with pumps off Submerged outlet tube creating a forward or reverse gravity siphon Raise ATO and AWC refill tube outlets 1–2 in (25–51 mm) above max waterline, or drill a 1/8 in (3 mm) siphon-break hole above the reservoir waterline.