Symptom
The site appears and disappears from the SCADA many times a day; the modem uptime resets; the modem log shows repeated attach and detach events; the drops cluster at certain hours or track the signal; the VPN tunnel to the site rebuilds repeatedly.
The short answer
Frequent Reconnects
A cellular data session is maintained by the modem and the carrier together, and it drops when either side lets go: the signal fades below what the modem can hold, the site sits between two towers and hands off repeatedly, the carrier tears down a session that has carried no traffic for its idle timeout, a network address translation entry expires because nothing kept it alive, the modem firmware has a fault that resets the session, the modem power supply sags and resets the radio, or the antenna connection is intermittent. The modem log records each drop with a reason code, the signal quality trend shows fades and handoffs, and the fixes are a better antenna or a directional one to lock onto one tower, a keepalive on the tunnel or the polling that keeps the session and the translation entry alive, a modem firmware update, a stable supply with hold-up, and a watchdog that restarts a modem that has stopped without letting it flap.
Key points
- The modem log has a reason for every drop; read it before changing anything.
- Trend the signal quality: fades and tower changes explain the drops that follow them.
- Sessions and translation entries expire when idle; a keepalive shorter than the timeout keeps them.
- A site between two towers hands off constantly; a directional antenna locks it to one.
- A watchdog that resets the modem too eagerly causes the flapping it was meant to cure.
Possible causes and what to check
| Possible cause | What to check |
|---|---|
| Weak or fluctuating signal | The signal quality trend from the modem shows fades to the threshold before each drop; the site is at the cell edge or in a poor location. Antenna, mast, band. |
| Handoffs between towers | The serving cell identifier changes repeatedly in the log; the site is between towers. A directional antenna aimed at one tower; a band or cell lock where supported. |
| Carrier idle timeout | Drops at a regular interval after the last traffic; the session torn down when idle. A keepalive at an interval shorter than the timeout. |
| Network address translation timeout | The tunnel or the polls stop being answered after a quiet period although the modem shows connected; the translation entry expired. A keepalive on the tunnel. |
| Modem firmware fault | Drops with an internal reason code or a modem reset; a known issue in the firmware release. Update the firmware. |
| Power supply sag or brownout | Drops coincide with a pump start or a generator transfer; the modem supply voltage dips. A supply with hold-up or a small UPS for the modem. |
| Intermittent antenna connection | Signal jumps with vibration or temperature; a loose connector or a cracked coax. Reseat, replace, weatherproof. |
| Watchdog too aggressive | The modem or the controller resets the modem after a short period without traffic, and the reset causes the outage. Lengthen the watchdog; use a ping test with retries. |
| Carrier maintenance or congestion | Drops at night during maintenance windows or at peak hours in a congested cell; the carrier confirms. Wait, or a different carrier or band. |
| Tunnel rekey or dead peer detection mismatch | The tunnel drops on a schedule matching a rekey lifetime; the settings on the two ends differ. Align them. |
Read the log
| Log shows | Meaning | Fix |
|---|---|---|
| Detach with a signal-related reason, signal low before it | Fade | Antenna, mast, band |
| Serving cell changes, then a drop | Handoff | Directional antenna; cell or band lock |
| Session ended by the network after a quiet period | Idle timeout | Keepalive |
| Modem connected, no traffic answered until reconnect | Translation entry expired | Tunnel keepalive |
| Modem reset with no external reason | Firmware or power | Firmware update; supply check |
| Watchdog reset entries | The watchdog did it | Lengthen; verify with a ping test |
| Drops at fixed times daily | Carrier maintenance, or a scheduled task on the utility side | Carrier; the schedule |
Procedure
- 1
Collect
The modem event log, the signal quality history, the tunnel log at the concentrator, and the SCADA communication alarm history for the site, aligned by time.
- 2
Pattern
Regular interval, tied to signal, tied to a tower change, tied to site events, or random.
- 3
Settings
The keepalive intervals on the tunnel and the polling; the watchdog period; the rekey lifetimes and the dead peer detection on both tunnel ends; the modem firmware version.
- 4
Site
The antenna, its connection, and its location; the modem supply through a pump start; the signal reading and the serving cell.
- 5
Change one thing
The keepalive, the antenna, the firmware, or the watchdog, and watch the log for a day.
Keepalives and watchdogs
A cellular session with no traffic looks abandoned to the carrier and to any address translation in the path, and it is torn down after a timeout that the utility does not control and that may be a few minutes. The tunnel and the polling keep traffic flowing: a dead peer detection or a keepalive on the tunnel at an interval shorter than the shortest timeout, and polling that reaches the site regularly. A watchdog in the modem or the controller that resets the modem when a ping fails is a safety net for a modem that has hung, and it is set with retries and a long enough period that a normal fade does not trigger it; a watchdog that resets on the first missed ping is the cause of half the reconnects it is blamed for.
Frequently asked questions
- The modem shows connected all day but the SCADA says the site drops. Why?
- The radio session is up and the data path is not: the translation entry or the tunnel has expired while the modem still reports attached. A keepalive on the tunnel, and a check that the polling is actually reaching the site, resolves it.
- How often should the keepalive run?
- Shorter than the shortest timeout in the path, which is often a few minutes; every minute or two is common. It costs a few bytes each time, which adds up on a metered plan, so it is set as long as the timeouts allow.
- Would a second carrier help?
- For a site at the edge of one carrier coverage and inside another, yes, and a dual-module modem can fail over between them. For a site with a handoff problem, a directional antenna is cheaper and usually enough.
- The reconnects started after a modem firmware update.
- A firmware release with a session bug, or a changed default such as a keepalive or a band setting that the update reset. Compare the configuration with the record, and check the vendor notes for the release; roll back if the vendor confirms the issue.
Related topics
- Weak Cellular SignalA modem at the edge of coverage: the signal readings that matter, an antenna inside a metal enclosure or vault, the wrong band, a damaged antenna or lossy coax, a tower or carrier change, and fixes from a mast antenna to a directional one or a new medium.
- VPN Tunnel DropsThe modem is up and the tunnel keeps dropping: a changing cellular address, keepalive longer than the carrier timeout, mismatched rekey lifetimes, an oversized MTU, a modem reconnecting under the tunnel, a full concentrator, or a clock or certificate fault.
- Cellular Modem Will Not RegisterA modem that never attaches to the network: a module not activated, provisioned, or suspended; unsupported bands or a network shutdown; no antenna or coverage; a wrong access point name; or a reset modem. Reading the registration state and asking the carrier.
- Loss of Control VoltageControl voltage that drops out for a moment and comes back, resetting controllers and dropping contactors: utility sags when a large load starts, a transfer switch operation, a loose neutral, or an overloaded control transformer. Catching it with a recorder.
- Lost CommunicationsWhat should happen when SCADA loses a device, a site, or everything, how the pattern tells which, the diagnostic order from the server outward through network, firewall, medium, and site, and the design that makes a lost link an alarm rather than an incident.
- VPN DesignHow a VPN fits remote access for a control system: it terminates in the DMZ and lands on a jump host, never the control network; site-to-site tunnels carry telemetry; user tunnels require multi-factor and individual accounts; the concentrator is patched fast.
Direct contact
Have a controls question?
Reach Eric Sullivan directly about anything on this site, a controls or automation topic, or one of his personal projects.