Hardware a servis

Surge protection (SPD) and earthing for ASIC miners: what manufacturers and standards require

Author: Updated 9 min read

Surge protection (SPD) and earthing for ASIC miners – PC Praha

Surge protection (SPD, surge arrester) protects a miner from voltage spikes coming from the grid and from lightning; earthing carries fault current from the machine's metal casing safely to earth. For its hydro miners, Bitmain explicitly requires an external surge arrester to IEC/EN 61643-11 and a disconnector for all three phases. Protecting a whole distribution board costs a few thousand koruna – a fraction of the price of a single machine.

Summary

  • Every ASIC miner belongs in an earthed socket – the protective conductor (PE) is bonded to the machine's metal casing.
  • The Antminer S21 XP Hyd manual requires an external SPD to IEC/EN 61643-11 and an L1–L3 disconnector; for the air-cooled S21 the manual does not require an SPD, although Bitmain generally recommends lightning protection.
  • Surge arresters are divided into T1, T2 and T3 by their place in the installation: main distribution board, sub-distribution board, socket.
  • Miner power supplies have a small leakage current (APW12 below 1.5 mA). Under IEC 60364-5-53 the total should stay below 30% of the RCD's rated tripping current – on a 30 mA RCD that means no more than 6 APW12 power supplies.
  • Manufacturers generally do not cover surge and lightning damage under warranty (MicroBT says so explicitly).
Explanation:

Simply put: surge protection is like a relief valve on a water pipe

Think of the plumbing in a house. Most of the time water flows at normal pressure, but every now and then there is a surge – say, when the waterworks switches pumps. A relief valve lets that surge out before the boiler bursts. Surge protection does the same with electricity: when the mains voltage jumps for a split second (lightning nearby, switching in the distribution grid), it diverts the excess to earth and lets through to the miner only what it can handle.

Earthing is the other half. It is the "drain pipe": if something fails inside the machine and the metal casing becomes live, earthing carries the current away and the circuit breaker trips. Without it, the shock would go through you.

  • Always plug a miner into a socket with an earth pin. No unearthed extension leads or two-core cables.
  • For Bitmain hydro miners, the manual makes a surge arrester mandatory. Without one you are breaching the manufacturer's conditions.
  • Manufacturers usually won't repair lightning and surge damage under warranty. Protection is therefore cheaper than repairing a power supply or a board.
  • An RCD has its limits. Connect too many machines to a single 30 mA RCD and it may trip even without a fault.

Example as of 5 December 2026: a combined T1+T2 surge arrester for a three-phase distribution board costs roughly 2,100–5,700 Kč in Czech shops. An Antminer S21 XP costs 85,399 Kč from us, so protection comes to 2–7% of the price of a single machine – and it protects every machine on that board. Leave installation in the distribution board to a qualified electrician.

You will find details with figures and tables in the technical explanation.

What miner manufacturers say

Requirements differ by model and cooling type. We have summarised them from the original manuals and support pages:

Document Earthing Surge protection Other requirements
Bitmain Antminer S21 XP Hyd – User Guide V4.0.12 earthed socket close to the machine, easily accessible external SPD to IEC/EN 61643-11 upstream of the power supply or outside the end system (separate distribution board or part of the building's electrical installation) disconnector that switches off L1, L2 and L3 simultaneously; disconnect during thunderstorms; 380–415 V, max. 12 A
Bitmain Antminer S21 (air-cooled) – User Guide V1.2.5 earthed socket the manual does not require an SPD disconnection by switching off the PDU
Bitmain Precautions for Use (support) "the machine must be properly grounded" "install lightning protection, otherwise all equipment may be damaged" –
Bitmain APW12 – power supply manual the power supply's earth terminal must be earthed (safety and EMI) – leakage current < 1.5 mA at 220 V 50 Hz
MicroBT (Whatsminer) – support the earth conductor is connected to the entire surface of the machine; poor earthing leads to instability and power supply damage recommends earthed plugs and surge protectors –

None of these documents specifies a required earth resistance in ohms or a type of RCD. Neither Bitmain's nor MicroBT's hydro manuals address protective equipotential bonding of the water circuit and dry cooler – there, the general rules of the Czech standards (ČSN 33 2000-4-41 and 33 2000-5-54) apply, and the designer or electrical inspector decides.

Types of surge arresters: T1, T2, T3

The IEC/EN 61643-11 standard divides surge arresters into three classes. In the Czech Republic the older B, C, D designations are still in use.

Type Protects against Typical parameters Where it is installed
T1 (class I, formerly B) part of the lightning current at the building's entry point; required with an external lightning conductor Iimp 12.5–25 kA per pole (10/350 µs waveform), limits voltage to roughly ≤ 4 kV main distribution board
T2 (class II, formerly C) switching and induced overvoltages In 20 kA, Imax 40 kA (8/20 µs), ≤ 2.5 kV sub-distribution board
T3 (class III, formerly D) fine protection at the appliance In 1.5–3 kA, ≤ 1.5 kV socket or directly at the equipment

Practical rules from the OEZ handbook: a T3 device should be at least 5 m of cable downstream of the T2, and if the equipment is more than 10 m from the last stage, protection is repeated. T1 and T2 arresters are protected by a fuse, not a circuit breaker. In a TN-C-S system the 3+0 connection may only be used if the conductor from the PEN split to the arrester is shorter than 0.5 m; otherwise 3+1 or 4+0 is chosen; downstream of an RCD, 3+1 is used. Combined T1+T2 arresters in a single module take care of coordinating the first two stages.

When an SPD is mandatory in the Czech Republic

Overvoltage protection is governed by ČSN 33 2000-4-443 ed. 3 (in force since 1 December 2016; the previous edition expired on 14 December 2018), and the selection and installation of surge arresters by ČSN 33 2000-5-534. Under clause 443.4, protection is mandatory where an overvoltage would endanger human life, public services or cultural heritage, commercial or industrial activity, or a large number of people. In other cases a risk assessment decides – and if none is carried out, protection is installed. The exception is individual dwellings where the whole installation costs less than five times the price of the arrester. Mining run as a business therefore comes close to mandatory protection; the specific assessment, however, belongs to the electrical inspection.

Earthing and RCDs: how many power supplies per RCD

Miner switch-mode power supplies have capacitors to earth in their mains filter, so a small leakage current flows continuously through the protective conductor. IEC 60364-5-53 (clause 531.2.3.2) recommends that the total leakage current in normal operation be less than 0.3 × IΔn. For a standard 30 mA RCD that is less than 9 mA. Our calculation based on the manufacturer's figure:

RCD IΔn Limit 0.3 × IΔn APW12 power supplies (max. 1.5 mA)
30 mA 9 mA no more than 6
100 mA 30 mA no more than 20
300 mA 90 mA no more than 60

The 1.5 mA figure is the maximum from the APW12 manual; other power supplies (e.g. in the S21 series) may have a different value that the manufacturer may not state. Where an RCD is mandatory (socket circuits up to 32 A for ordinary users), machines are therefore split across several circuits. Miner manufacturers do not specify the RCD type (A, F, B) – the designer chooses it according to the power supplies and the network. Distributing machines across phases and circuits is covered in the article PDUs for ASIC miners.

What protection costs: our calculation

Prices of three-pole surge arresters according to the zbozi.cz price comparison site as of 5 December 2026 (the listings do not state whether prices include VAT; 3+1 variants are more expensive):

Surge arrester Type Price from Share of S21 XP price (85,399 Kč) Share of S21 XP Hyd 473 TH price (173,499 Kč)
Eaton SPBT12-280/3 T1+T2 2,082 Kč 2.4% 1.2%
OEZ SVBC-12,5-3-MZ T1+T2 3,245 Kč 3.8% 1.9%
Hakel HLSA25-275/3+0 T1+T2 5,711 Kč 6.7% 3.3%
Eaton SPCT2-280/3 T2 1,222 Kč 1.4% 0.7%
OEZ SVC-350-3-MZ T2 3,219 Kč 3.8% 1.9%

On top of the arrester price you need to add a fuse switch-disconnector, the electrician's labour and an inspection. One surge arrester in a distribution board protects every machine downstream of it, so with more machines the cost per machine falls.

Warranty and surge damage

In the operating manual for its hydro miners (ch. 11.2), MicroBT excludes from warranty damage caused by abnormal voltage and current (surges, instability, low or high voltage) as well as force majeure, including lightning. According to service rules quoted by the independent repair shop D-Central, Bitmain classes overvoltage, undervoltage, leakage and lightning as paid repairs; you will not find this exclusion on Bitmain's public warranty page. In a surge, the input stage of the power supply (varistor, fuse) usually fails first, followed by the control board and the input circuits of the hashboards – see power supply (PSU, APW) and ASIC miner faults.

Steps for home and farm installations

  1. Check that the socket or PDU has a working protective conductor (measured during the inspection).
  2. A T1+T2 surge arrester in the main distribution board (T1 is essential with a lightning conductor), a T2 in the sub-distribution board next to the machines.
  3. For three-phase hydro miners, a disconnector for all three phases and a three-phase supply as described in three-phase power.
  4. Calculate the leakage currents for each RCD (table above) and split the machines accordingly.
  5. For the hydro circuit and dry cooler, have the protective equipotential bonding of metal parts assessed.
  6. Confirm the result with an inspection of the electrical installation.

What next

Sources

Data verified as of 5 December 2026. This article is not a guide to working on electrical installations – work in a distribution board may only be carried out by a person with electrical qualifications.

Frequently asked questions

Does an ASIC miner need surge protection?
For Bitmain hydro miners the manual requires it (an external surge arrester to IEC/EN 61643-11). For air-cooled machines the manual does not require it, but Bitmain generally recommends lightning protection, and manufacturers usually do not cover surge damage under warranty.
Is the surge protection in an extension lead enough?
That is only the fine T3 stage. Protection against lightning and large surges comes from T1 and T2 surge arresters in the distribution board. A large miner also should not be plugged into an ordinary extension lead because of the current it draws.
Why does my RCD keep tripping when I run many miners?
Miner power supplies have a small leakage current into the protective conductor. The total should be below 30% of the RCD's rated tripping current – below 9 mA for a 30 mA RCD, i.e. no more than about 6 APW12 power supplies. The machines then need to be split across several circuits.
How much does a surge arrester for a distribution board cost?
According to the zbozi.cz price comparison site as of 5 December 2026, a three-pole combined T1+T2 surge arrester costs roughly 2,100–5,700 Kč and a T2 surge arrester from 1,200 Kč. Add the electrician's labour and an inspection.
Does a miner have to be earthed?
Yes. All major manufacturers require a socket with a protective conductor; it is bonded to the metal casing and, in the event of a fault, carries the current to earth.

This text was prepared with the help of AI. Facts, figures and procedures were checked by Yegor.

More articles in Mining wiki