Part 14 · Electronics and Computing
Telemetry and Remote Control
Read a reservoir level ten kilometres away, count the rain falling in the hills, see whether a breaker in an unmanned substation is open, and switch a pump or a circuit from the control room, over a pair of wires, a telephone line or radio. How to send readings and commands far away reliably, how to build a rain gauge and an outstation that report by themselves, how a master station polls them and raises alarms, and how to keep everything safe when the link fails.
- Difficulty
- ●●●●●
- Time
- A day to lay a pilot-wire pump control; a week to build a tipping-bucket gauge and pulse counter; a month or two for a radio outstation and master station
- Steps from zero
- 63 prerequisites →
This unlocks
—The full path from nothing — 63 steps before this one
- Fire
- Cordage and Rope
- Stone Tools
- Finding and Preparing Clay
- Finding and Identifying Ores
- Measurement from Scratch
- Writing and Numbers
- Hunting and Trapping
- Basic Woodworking
- Charcoal
- Pottery
- The Kiln
- Arithmetic and Fractions
- Hides and Leather
- Tiles and Clay Pipes
- Salt
- Lime
- Bricks
- Surveying and Levelling
- Fermentation
- Lye and Potash
- The Wheel and Axle
- Logic and Binary
- Glass
- Firebrick and Refractories
- Bellows
- Distillation
- The Lathe
- Gears
- Copper Smelting
- Iron (the Bloomery)
- Lead
- Laboratory Glassware
- Pumps
- The Waterwheel
- Blacksmithing
- The Blast Furnace and Cast Iron
- Pipes, Plumbing and Aqueducts
- The Battery
- The Thermometer
- Steel
- The Steam Engine
- Bellows to Air Compressors
- Copper Wire
- Electrolysis
- Hydrogen, Oxygen and Gases
- Machine Tools
- Petroleum and Refining
- The Electromagnet
- Ammonia
- Measuring Electricity
- The Induction Coil
- The Telegraph
- Thermostats and Automatic Control
- The Relay Computer
- Ice and Refrigeration
- The Telephone
- Liquid Air, Nitrogen and the Noble Gases
- Radio
- The Automatic Telephone Exchange
- Natural Gas and Helium
- Water and Gas Meters
- Instruments, Chart Recorders and Control Rooms
- Telemetry and Remote Control
Do them roughly in this order. See it on the tech tree →
Why it matters
A waterworks pumps into a reservoir on a hill eight kilometres away. If nobody knows the level, it runs dry or overflows. Before telemetry, someone walked up twice a day to read a gauge board; every substation needed a man living beside it to work the breakers; and flood warnings came when the river was already in the street.
Telemetry (measuring at a distance) sends readings from far-off places to one control room, and remote control sends commands back. Together, as a supervisory system, they let a few people run a whole water network, a grid of unmanned substations, a line of pumping stations or a chain of rain and river gauges that gives a valley hours of warning. It extends the control room of Instruments, Chart Recorders and Control Rooms across a district.
How it works
Every system has three parts:
- Outstations at the far ends: sensors, a box that turns their readings into signals, and something to switch pumps or breakers when told to.
- A link: a pair of wires, a rented telephone line, a radio channel, or a signal riding on a power line.
- A master station in the control room that collects, displays, records and alarms, and sends commands.
What travels. Four kinds of information:
| Kind | Examples | How it is sent |
|---|---|---|
| Analogue values | Level, pressure, flow, volts, amperes | A current, a pulse length, a tone frequency, or a number |
| States | Pump running, breaker open, door open | A contact open or closed |
| Counts | Rain tips, water meter pulses, kilowatt-hours | Pulses, totalled |
| Commands | Start pump, trip breaker, open valve | A coded message, checked before acting |
The golden rule. The link will fail: a wire cut by a plough, a lightning strike, a flat battery, a radio fade. So every outstation must keep its plant safe by itself when it hears nothing, and the master must notice the silence and say so. A reading that has stopped updating but still shows a normal number is the most dangerous thing on a control panel.
What you need
| Item | Use | See |
|---|---|---|
| Twisted pair cable, or an existing telephone line | Wire links | Copper Wire, The Telephone |
| Relays, stepping switches | Coding and switching without electronics | The Automatic Telephone Exchange, The Relay Computer |
| Microcontroller, modem chip or tone circuits | Electronic outstations | Microcontrollers, Networks and the Internet |
| VHF or UHF transceiver, 1–5 W, with Yagi aerials and mast | Radio links | Radio, Radar and Microwaves |
| 12 V battery, solar panel or mains charger | Outstation power | The Rechargeable Battery, Solar Cells |
| Surge arresters, earth rod, copper strap | Lightning protection | Power Lines and Distribution, Wiring and Electrical Safety |
| Steel cabinet with gasketed door, vent and drain | Housing | Sheet Metal and Rolling |
| Transmitters, float switches, reed switches | Sensors | Instruments, Chart Recorders and Control Rooms, Photocells and Sensors |
Method 1: Over a pair of wires
Where you can run or rent a pair of wires, start here. It is the most reliable link there is.
Pilot-wire pump control (no electronics)
The commonest job: keep a reservoir full from a pump at the works.
- At the reservoir, fit two float switches (Pipes, Plumbing and Aqueducts), one at the low level (start) and one at the high level (stop).
- Run one pair of wires (a pilot wire) back to the pump house. Wire the floats so that the pair is closed while the level is below high and opened at high. A relay at the pump house, energised by a small battery current through the pair, holds the pump starter on (Motor Starters, Contactors and Protection).
- Add a latching relay so the pump starts at low and runs until high, rather than chattering at one level.
- Fail-safe choice. With this wiring, a broken wire stops the pump, and the reservoir slowly empties. If running dry is worse than overflowing (an overflow is usually harmless), add a timer: if the pilot has been open for longer than the reservoir could take to drain to half, start the pump anyway and sound an alarm.
How far. At 24 V and a few tens of milliamperes, ordinary 0.5 mm² copper pair (about 72 ohms per kilometre of loop) works for 10 km or more. Bury it 60 cm deep in a sand bed, or carry it on the power poles below the conductors.
Sending a level over the wires
- Current. The 4–20 mA loop of Instruments, Chart Recorders and Control Rooms works far beyond the plant fence. With a 24 V supply, a transmitter needing 10 V and a 250 Ω receiver, about 450 Ω is left for the wire: 6 km of 0.5 mm² pair. Read it on a meter or a chart recorder.
- Pulse duration. A cam turned once every 15 seconds by a small clock motor closes a contact for a fraction of each turn set by the level: empty, 1.5 s; full, 13.5 s. At the works, a relay follows the pulses and a meter averages them. Because only on and off travel, a long, leaky or noisy line hardly matters. This was the standard way to telemeter over long lines for decades.
Over a telephone line
A rented telephone line passes only tones between about 300 and 3,400 Hz, not direct current (The Telephone). So the outstation sends tones:
- Frequency telemetry: a tone whose pitch follows the reading, for example 1,000 Hz at zero and 2,000 Hz at full scale. A frequency meter at the master reads it.
- Data by modem: two tones stand for 0 and 1. A common scheme sends 1,200 bits a second with 1,200 Hz for a 1 and 2,200 Hz for a 0 (Networks and the Internet). Now any reading can be sent as a number with a check on it.
- Dial-up alarms: on an alarm, an outstation can seize a line and dial the control room through an automatic exchange (The Automatic Telephone Exchange), then send a code or play a recorded message. Cheap, and needs no rented line.
Method 2: By radio
Where wires cannot go (rain gauges on hills, river gauges up the valley, scattered pumping stations), use radio.
- Band. VHF (about 150 MHz) or UHF (about 450 MHz) travel in straight lines and need a clear view between aerials. Lower frequencies bend round hills but need large aerials and suffer more interference. Agree a channel with whoever governs radio in your community, as for any Radio transmitter.
- Range. The distance to the radio horizon in kilometres is about 4.1 × (√h₁ + √h₂), with aerial heights in metres. Two 10 m masts: 4.1 × (3.2 + 3.2) = 26 km over flat ground. Hills, trees and buildings cut it.
- Clear the path. The beam is not a thin line but a fat cigar. At the midpoint of a 20 km link at 450 MHz, keep ground, trees and roofs at least 35 m below the straight line between aerials (less on shorter links).
- Aerials. A Yagi, a boom with a driven dipole, one reflector and several shorter directors, each element roughly half a wavelength (about 30 cm at 450 MHz), concentrates the signal towards the master and multiplies its strength several times. Point it carefully, and mount it with the elements vertical; the aerial at the other end of the link must be vertical too.
- Repeaters. A station on a hilltop that hears the outstations and re-sends to the master links valleys that cannot see each other (Radio Telescopes and Microwave Links).
- Power. 1–5 W of transmitter power is plenty on a clear path. The radio only transmits for a fraction of a second when it answers.
On a power company's own high-voltage lines, power line carrier sends tones of 30–500 kHz along the line itself, coupled on through high-voltage capacitors and kept out of the substation by tuned coils (line traps) (Power Lines and Distribution).
The remote terminal unit
The modern outstation is a remote terminal unit (RTU): a microcontroller with inputs, outputs and a link, in a weatherproof cabinet.
Inputs and outputs
- Analogue inputs: 4–20 mA from transmitters, read by a converter of at least 10 bits (Instruments, Chart Recorders and Control Rooms). A reading below 3.6 mA is flagged as a fault, not sent as zero.
- Status inputs: dry contacts from pump starters, breakers, door switches, float switches, each through an opto-isolator or relay so that a surge on the field wiring cannot reach the processor. For anything important, use two contacts, one closed when open and one closed when shut: if both or neither are closed, the device is stuck or the wiring is faulty.
- Pulse counters: rain gauges and water meters (Water and Gas Meters), counted in memory that survives a power cut.
- Command outputs: relays that start and stop pumps, open valves, trip and close breakers (Motor Starters, Contactors and Protection), each energised only for a short pulse (about 1 second), never left on.
- Local logic: what to do on its own, such as starting a pump at low level, and especially what to do when the master is silent.
The message
The master polls each outstation in turn. A typical message:
| Field | Size | Meaning |
|---|---|---|
| Address | 1 byte | Which outstation (1–247) |
| Function | 1 byte | "Send your readings", "operate output", and so on |
| Data | a few bytes | The readings, or which output and what to do |
| Check | 2 bytes | A number calculated from all the others (a cyclic redundancy check); if it does not match on arrival, the message is thrown away and asked for again |
At 1,200 bits a second (about 110 bytes a second), a 10-byte question and a 30-byte answer take about 0.4 seconds, plus the time for the radio to switch on. Thirty outstations are all read in about half a minute. To save time and radio power, let outstations also report by exception: when an alarm occurs they call in at once rather than waiting their turn.
Commands: select, check, operate
A command that arrives garbled could start the wrong pump or trip the wrong feeder. So every command is done in two steps:
- The master sends "select": outstation 4, output 2, close.
- The outstation checks it is a valid output, arms it, and replies with exactly what it understood.
- The master compares the reply and only then sends "execute", within a few seconds. If the execute does not arrive in time, the outstation disarms.
- The outstation reports the new state of the device itself, from the device's own contacts, not from the command.
Local–remote switch. Every outstation has a key switch that, in local, blocks every remote command. Anyone working on a pump or breaker turns it to local and keeps the key (Wiring and Electrical Safety).
Power, housing and lightning
- Power. An outstation and radio averaging 2 W use 48 watt-hours a day. With four hours of good sun, a 40 W solar panel covers it with margin; a 12 V, 40 Ah battery carries it through four or five days of cloud without being drained below half (Solar Cells, The Rechargeable Battery). Report battery voltage with the readings.
- Cabinet. Steel, gasketed, with a small screened vent and a drain hole so condensation does not collect. A small heater or a bag of drying agent in damp climates. Lock it.
- Lightning. The long cables and the aerial mast collect surges. Bring every cable in at one point, through surge arresters, to one earth bar bonded to an earth rod of less than about 10 ohms and to the mast (Power Lines and Distribution). Earth the aerial cable's shield where it enters. Most outstation failures are lightning damage to the input circuits.
Good versus bad outstation. A good one reads within 0.5 % of a test gauge, survives a mains cut without losing its counts, answers every poll, flags a cut sensor wire as a fault, and refuses a command with a bad check. A bad one freezes on its last reading, reboots in storms, or acts on the first half of a garbled message.
The tipping-bucket rain gauge
The rain gauge of Rain Gauges, Anemometers and Weather Stations must be read by hand. The tipping bucket reports itself.
- Funnel. A brass or galvanised steel cylinder with a sharp-edged rim exactly 200 mm across (area 314 cm²), with a funnel below and a wire screen against leaves (Sheet Metal and Rolling).
- Bucket. A two-sided seesaw of thin brass, about 8 × 4 cm, each side a small triangular trough, pivoted on a hardened steel axle in jewel or brass bearings so it tips freely (Bearings and Lubrication).
- Size. Each side should tip after 6.3 ml, which is 0.2 mm of rain on a 200 mm funnel (0.02 cm × 314 cm² = 6.3 cm³). Adjust with two stop screws under the ends: raising a stop makes that side tip sooner.
- Switch. A small magnet on the bucket passes a reed switch (two springy iron contacts sealed in a glass tube, Magnets) at each tip, giving a clean pulse. Or use a mercury switch on the bucket.
- Base. Set the gauge level on a concrete block, rim 30 cm above ground, away from trees and walls, with drain holes below.
Calibrate. Pour 628 ml of water slowly through the funnel from a burette or a can with a pinhole, over about half an hour: the counter should read 100 tips (20.0 mm). Adjust the stops until it does both sides alike.
Limits. In very heavy rain (above about 100 mm an hour) water flows in while the bucket is tipping and is lost; such gauges read 5–10 % low unless corrected. In frost, heat the funnel or switch to a weighing gauge.
For flood warning, pair rain gauges in the hills with a river level outstation downstream: a float in a stilling well (a pipe or shaft joined to the river by a small inlet, so waves do not stir it, Tides, Tide Gauges and Tide Tables), or a pressure transmitter on the river bed. Set two alarm levels: "warning", enough to clear the low ground, and "danger". Count back from past floods how many hours lie between heavy rain on the hill and the river rising in town: that is your warning time.
The master station
The master is where the system becomes useful.
- Simplest: a panel of meters, lamps and switches per outstation, with a recorder for each important level (Instruments, Chart Recorders and Control Rooms), fed by relays or a scanning The Computer.
- Electronic: a computer that polls the outstations, shows a mimic diagram with live values, keeps an alarm list in time order with the time each alarm came and was acknowledged, stores every reading for trends and reports, and logs every command with who gave it.
- Comms watch: an outstation that misses three polls in a row turns grey on the screen with a "communication failed" alarm, and its last values are marked as old. Never let a stale reading look live.
- Clocks. The master corrects outstation clocks daily (Standard Time and Timetables), so time-stamped events can be trusted.
Typical systems
| System | Outstation reads | Commands | Local fallback |
|---|---|---|---|
| Water supply | Reservoir level, inflow, outlet pressure, chlorine, door alarm | Start/stop pumps, open/close inlet valve | Floats start and stop pumps locally |
| Flood warning | Rain tips, river level, battery | None | Sirens or warning lamps sounded locally at "danger" |
| Substation | Breaker states, volts, amperes, transformer temperature, battery, protection trips | Trip and close breakers, raise/lower transformer taps | Protection relays trip faults by themselves |
| Sewage pumping | Wet-well level, pump running, pump fault | Start/stop, reset | Level controller runs pumps; high-level alarm |
How to tell it worked
- End-to-end check. For each analogue point, apply a known value at the sensor (a test pressure, a measured depth) and read it at the master. Within 1 % of scale.
- Status. Open and close every breaker, pump and door; each change appears at the master within one poll cycle, the right way round.
- Commands. Operate every output with the local–remote switch in remote, then confirm nothing happens with it in local.
- Pull the plug. Disconnect the link at each outstation. The master raises "communication failed" within a minute, and the outstation carries on safely by itself.
- Battery test. Switch off the charger or cover the solar panel for a day; the outstation keeps reporting and its battery reading falls as expected.
- Rain gauge: 628 ml gives 100 tips.
Note Troubleshooting. An outstation answers some polls but not others → weak radio path or aerial misaligned. Check signal strength, raise the aerial, clear trees, add a repeater. Readings jump about → noise on analogue cables. Use screened twisted pair, earthed at one end only (Interference, Screening and Earthing). Everything fails after storms → lightning entering through cables. Single entry point, arresters, one earth bar. Pump starts and stops rapidly → start and stop levels too close, or level reading noisy. Widen the band, add a minimum run time. Rain gauge reads low → bucket sticking, funnel blocked by leaves or insects, gauge not level. Breaker shows "between" → one of its two auxiliary contacts has failed or is wired wrong.
Dangers
Danger Machines that start from far away kill people standing beside them. A pump, a conveyor or a breaker operated from the control room gives no warning to the fitter at the outstation. Before anyone works on remotely controlled plant: turn the outstation to local, isolate and lock off the machine at its own switch, and tell the control room. On high-voltage switchgear, follow full permit-to-work rules (Power Lines and Distribution, Wiring and Electrical Safety).
Danger Telemetry is not protection. A substation must clear faults with its own protection relays and fuses; a boiler must have its own safety valve; a reservoir its own overflow; a sewage station its own high-level alarm and overflow route. Never rely on a reading sent over a link, or a command sent back, to prevent an accident.
- Masts and aerials. Falls from masts kill. Climb only with a harness, and never near power lines. A mast in an open field attracts lightning; earth it.
- Batteries in sealed cabinets give off hydrogen while charging (The Rechargeable Battery): vent the cabinet.
- Commands must be trusted. A radio link can be imitated by anyone with a transmitter. Use addresses and checks, log every command, and for anything dangerous add a secret code or key (Codes, Ciphers and Encryption).
What this unlocks
Telemetry lets a small community run spread-out services with few people: a water network from one works (Water Treatment for a Town, Dams and Reservoirs), a district of unmanned substations (Power Lines and Distribution), irrigation schemes (Irrigation), flood warnings, and weather networks that make forecasting possible (Reading the Weather, Rain Gauges, Anemometers and Weather Stations). The same ideas carry readings from Railway Signalling and Safety, from weather balloons, and from satellites, and they grow into the computer networks of Networks and the Internet and The Internet.
How it was first done
Telegraph engineers sent readings along their wires almost as soon as there were wires. French engineers are often said to have sent weather and snow-depth readings from instruments on Mont Blanc to Paris in 1874, though the story is poorly documented. From 1912 the Commonwealth Edison company in Chicago gathered the loads of its power stations over telephone lines, and the Panama Canal, opened in 1914, was run from control boards with remote indication of its lock gates, valves and water levels. In the 1920s and 1930s, makers built supervisory control for unmanned substations from relays and stepping switches, sending coded pulse trains over a single pair (The Automatic Telephone Exchange), and pulse-duration telemeters became the standard for long lines. Radio telemetry began with the radiosonde, first flown by Pavel Molchanov near Leningrad in 1930. Computers took over the master station in the 1960s, giving the name SCADA (supervisory control and data acquisition); microprocessor remote terminal units and simple message standards such as Modbus (1979) followed in the 1970s.
Source: content/entries/electronics/telemetry.md