Surge and Power Protection for Electronics: A Practical Guide
A board can pass every test on the bench and still fail in its first month at a site. In India, the most common reason is not bad firmware or a weak part. It is the power supply itself: surges, voltage swings, power cuts, generator changeovers and electrical noise from the motors and machines around the product.
This guide explains the power problems electronics face in Indian conditions, how good designs protect against each one, and what to check when you buy or design a product. It is written by the engineering team at EmTantra Technologies, Mangaluru, where we have designed electronics for industrial, lighting, agriculture and home products since 2015.
Why Power Protection Matters More in India
Mains power in India is nominally 230 V AC, 50 Hz. In practice, the supply at a factory, farm, shop or apartment can be very different from that:
- Voltage drops in the evening peak and rises late at night
- Frequent short power cuts, with inverter or DG set changeovers
- Lightning during the monsoon, especially on long overhead lines in rural areas
- Large motors, pumps, compressors and welding machines switching on the same supply
- Loose or broken neutral connections that push single-phase loads far above their rating
A product designed only for clean 230 V will work in the lab and fail at the site. A product designed for real conditions keeps working, and saves its maker the cost of field visits, returns and a damaged name.
The Power Problems Your Product Will Face
| Problem | What it is | Typical cause | What it can do |
|---|---|---|---|
| Surge or spike | A very short, high-voltage pulse | Lightning, switching of motors and capacitor banks | Burns input parts, damages ICs |
| Over-voltage | Supply stays high for seconds or hours | Loose neutral, light load at night | Overheats or destroys the power supply |
| Under-voltage and brownout | Supply sags but does not fail | Peak load, long lines, motor starting | Resets, relay chatter, corrupted memory |
| Power cut and changeover | Supply drops and returns, sometimes many times | Grid cuts, inverter or DG switching | Lost settings, motors restarting together |
| Electrical noise | Fast bursts riding on the supply or signal lines | Contactors, VFDs, welding, SMPS | Random resets, wrong readings, failed communication |
| Static discharge (ESD) | A sharp spark from a person or object | Touching buttons, connectors, displays | Damages ICs or causes lock-ups |
| Wiring mistakes | Wrong polarity or wrong terminal | Installation errors on DC and signal wiring | Instant damage if the board is not protected |
Each of these needs its own protection. One part does not cover them all.
Protection Layer by Layer
Good protection works in layers, from the point where power enters the board to the firmware that runs on it.
1. Input Fuse
The first part at the mains input is usually a fuse or a fusible resistor. It does not stop surges. Its job is to open safely if something inside fails, so a fault does not become a fire. It must be rated for the mains voltage and sized for the product's normal current and inrush.
2. Surge Protection: MOV and GDT
A metal oxide varistor (MOV) across the mains input clamps surges by conducting hard when the voltage rises above its rating. It is simple and effective, but it wears with every large surge, so it must be sized for the expected surge energy and protected by the fuse. Where surges are larger, for example on outdoor or long-line installations, a gas discharge tube (GDT) can be added to handle higher energy.
3. Wide-Input Power Supply and Over-Voltage Cut-Off
The power supply should be designed for the real supply range of the site, not just 230 V. A wide-input power supply keeps the board running through low and high voltage without stress. For products that must survive a broken neutral, an over-voltage cut-off can disconnect the load or the supply when the voltage goes too high, and reconnect it when the supply is safe again.
For example, our Compatible PCBA for classic water purifiers is built for a 150 to 280 V AC input, so it keeps working through the voltage swings common in homes and shops.
4. Inrush Limiting
When a power supply is switched on, its capacitors draw a large current for a moment. An NTC thermistor or a similar inrush limiter keeps this current in check, which protects the fuse, the switch or relay contacts and the input parts, especially when power returns again and again after short cuts.
5. EMI Filter
A filter with X and Y capacitors and a common-mode choke at the mains input keeps noise from the supply out of the product, and keeps the product's own switching noise out of the supply. It helps with random resets near motors and VFDs, and it is also a key part of passing EMC tests.
6. TVS Diodes on DC and Signal Lines
Surges and ESD do not only come through the mains. They also enter through sensor cables, RS485 lines, DMX lines, buttons and DC inputs. TVS diodes clamp these fast pulses close to the connector, before they reach the microcontroller or the communication chips. Long cables that run outdoors or through a factory need this most. See our guide to RS485 Modbus for Factory Automation for more on protecting field wiring.
7. Isolation
Where a board connects to high-voltage circuits or to long field cables, isolation stops a fault or surge on one side from reaching the other. Common methods are optocouplers, isolated communication interfaces and isolated DC-DC converters. Isolation also stops ground loops between equipment that sits on different earth points.
8. DC Input Protection
Products that run from a DC adapter, a battery or a vehicle supply need their own protection:
- Reverse polarity protection, with a diode or a MOSFET circuit, so a wrongly connected wire does not destroy the board
- A resettable fuse (PTC) to limit current during a short circuit
- A TVS diode to clamp spikes on the DC line
- Extra surge handling for vehicles, where starting and load changes cause large transients
9. PCB Layout
Protection parts only work if the layout lets them work. Good practice includes:
- Placing protection parts right at the connector, with short, wide paths to ground or the return
- Keeping proper creepage and clearance between mains and low-voltage areas, with slots in the board where needed
- Keeping sensitive circuits away from the mains input and switching parts
- A solid ground plane, so surge currents do not flow through the microcontroller's ground
Our posts on Designing a Reliable Power Supply for Embedded Products and PCB Design Basics go deeper into these points.
10. Firmware That Handles Bad Power
Hardware protection keeps the board alive. Firmware keeps the product behaving correctly:
- Brown-out detection resets the microcontroller cleanly when the voltage is too low, instead of letting it run wrongly
- A watchdog restarts the product if noise ever locks up the code
- Safe settings storage writes data in a way that survives a power cut in the middle of a save
- Known start-up state, so relays, motors and outputs come back in a safe, predictable way after a power cut
- Restart delays, so pumps, compressors and many loads do not all start at the same moment when power returns
Installation Matters Too
Even a well-protected board needs a sensible installation:
- Good earthing, checked and maintained
- A surge protection device (SPD) in the distribution board or control panel for sites with frequent lightning or large surges
- Separate routing for signal cables and power cables, with shielded cable where needed
- Correct wiring of phase, neutral and DC polarity, with clear terminal markings on the product
Board-level protection and panel-level protection work together. Neither replaces the other.
How Protection Is Tested
Labs use standard tests to check how a product handles power problems. The common ones include:
- Surge immunity (IEC 61000-4-5): simulates lightning and switching surges
- Electrical fast transients (IEC 61000-4-4): simulates bursts from contactors and relays
- ESD (IEC 61000-4-2): simulates static discharge from a person
- Voltage dips and interruptions (IEC 61000-4-11): simulates sags and short power cuts
Which tests and levels apply depends on the product and its market. During development, it also helps to run the product on a variable supply across its full input range and to power-cycle it many times, watching for resets, lost settings or wrong outputs. Read more in our guide to PCBA Testing and Quality Control.
A Checklist for Buyers and Designers
When you buy or design an electronic product for Indian sites, ask:
- What input voltage range is the product designed for?
- Is there a fuse and surge protection at the mains input?
- What happens if the neutral breaks and the voltage goes very high?
- Are long sensor, RS485 and DMX cables protected at the connector?
- Is the DC input protected against reverse polarity and short circuits?
- Does the product restart safely after a power cut, with settings intact?
- Do pumps and motors restart with a delay after power returns?
- Has the product been checked across its input range and through repeated power cycling?
If the answers are unclear, the product may work well at the bench and still struggle at the site.
How EmTantra Can Help
We design power and protection around the real site, from the first schematic:
- Power supply and protection design for mains, DC, battery and vehicle-powered products
- Field-wiring protection for RS485, DMX, sensors and long cable runs
- Firmware with brown-out handling, safe settings storage and safe restart behaviour
- Upgrades for existing products that fail in the field due to surges, noise or voltage swings
- Volume production of tested PCBAs, with your own brand marking if you want it
We take up custom designs for quantity requirements and are always open for new product development.
Is Bad Power Killing Your Product?
If your boards are failing at sites, resetting near motors, or losing settings after power cuts, we would be glad to look at the design with you and suggest practical fixes. And if you are starting a new product, it is far cheaper to build protection in from the start. See 5 Mistakes Startups Make With Their First Hardware Product for more on getting it right early.
Get in touch with our team, or WhatsApp and call us on 9108798051.
Engineering Ideas into Intelligent Products.