DIN-Rail Power Supply with Battery Backup: DC-UPS for Uninterrupted Operation

Here’s the failure that looks like a mystery until you understand it. A PLC-controlled machine inexplicably resets in the middle of operation. No fault code, no warning — just a reset, lost position, and an interrupted process. The maintenance team checks everything: the PLC is fine, the wiring is fine, the power supply tests fine. The machine works perfectly during troubleshooting. The resets happen randomly, maybe once a week, maybe once a month. They’re maddening to diagnose because by the time anyone investigates, everything looks normal.

The culprit is usually a brief AC mains interruption — a voltage sag, a momentary outage, a switching transient on the facility power — lasting milliseconds to a few seconds. It’s too brief for anyone to notice the lights flicker, but it’s long enough that the power supply’s output drops, the PLC loses power, and it resets. These brief interruptions happen in industrial facilities constantly: when large motors start, when the utility switches, during storms, when other equipment cycles. Most equipment rides through them, but sensitive control systems reset.

The solution is a DC-UPS — a battery backup module on the 24V DC side that keeps the control system powered through these interruptions. When the AC mains drops, the DC-UPS seamlessly supplies power from its battery, so the PLC never sees an interruption. For brief sags, it provides ride-through; for extended outages, it provides time for a controlled shutdown. This guide covers DC-UPS architecture, how it works, ride-through versus controlled shutdown, battery types, sizing the backup time, and how to specify DC-UPS for uninterrupted industrial operation.

What is a DC-UPS for DIN-rail systems?

A DC-UPS (DC Uninterruptible Power Supply) is a battery backup system that operates on the DC side of a DIN-rail power supply, providing uninterrupted 24V DC power during AC mains interruptions. It consists of a DC-UPS module (which manages battery charging and switchover) and a battery (storing energy for backup). During normal operation, the main power supply powers the load and the DC-UPS charges the battery; when AC mains fails, the DC-UPS seamlessly supplies power from the battery, keeping the control system running without interruption.

DC-UPS vs AC-UPS

The distinction:

  • AC-UPS: provides backup AC power (battery + inverter), placed before the power supply
  • DC-UPS: provides backup DC power (battery on the DC side), placed after the power supply

DC-UPS advantages for industrial control:

  • More efficient (no DC-AC-DC conversion)
  • Simpler (no inverter)
  • DIN-rail mountable
  • Directly backs up the 24V control bus

For DIN-rail control systems, DC-UPS is the natural choice — it backs up the 24V DC directly.

DC-UPS components

A DC-UPS system has:

  • DC-UPS module: manages battery charging, monitors mains, switches to battery on failure
  • Battery: stores backup energy (lead-acid, LiFePO4, or supercapacitor)
  • Main power supply: the DIN-rail supply that normally powers the load and charges the battery

Where DC-UPS is used

DC-UPS protects control systems that can’t tolerate interruption:

  • PLC-controlled machines (prevent resets)
  • Process control (maintain control through dips)
  • Data logging (prevent data loss)
  • Critical monitoring (no blind spots)
  • Controlled shutdown systems (graceful shutdown on extended outage)

How does a DC-UPS work?

A DC-UPS works by continuously monitoring the DC bus voltage from the main power supply. During normal operation, the main supply powers the load while the DC-UPS module charges and maintains the battery. When the AC mains fails and the main supply’s output drops, the DC-UPS detects the voltage drop and instantly switches to supply power from the battery — fast enough that the load (PLC, controls) never sees an interruption. When mains returns, the DC-UPS switches back to the main supply and recharges the battery.

Normal operation mode

When AC mains is present:

  • Main power supply powers the load (24V)
  • DC-UPS module charges the battery
  • DC-UPS monitors the bus voltage
  • Battery is maintained at full charge

Backup mode (mains failure)

When AC mains fails:

  • Main supply output drops
  • DC-UPS detects the voltage drop instantly
  • DC-UPS switches to battery power
  • Battery supplies the load through the DC-UPS module
  • Load continues without interruption

The switchover is fast (milliseconds or faster) — fast enough that the load doesn’t reset.

Recovery mode (mains returns)

When AC mains returns:

  • Main supply output recovers
  • DC-UPS switches back to main supply
  • DC-UPS recharges the battery
  • System returns to normal operation

The seamless switchover

The key to DC-UPS is seamless switchover:

  • Detection must be fast (before load loses power)
  • Switchover must be instant (no gap)
  • The battery and capacitors bridge the transition

Quality DC-UPS modules switch over fast enough that even sensitive PLCs don’t see an interruption.

Decoupling and protection

The DC-UPS module also:

  • Decouples the battery from the load during normal operation
  • Protects the battery from over-discharge
  • Manages battery charging (correct profile for battery type)
  • Provides status signaling (battery state, mains status)

What’s the difference between ride-through and controlled shutdown?

Ride-through and controlled shutdown are two DC-UPS use cases. Ride-through provides power through brief interruptions (milliseconds to seconds) so the system continues operating without interruption — the goal is uninterrupted operation. Controlled shutdown provides power for a longer period (seconds to minutes) after an extended outage, giving the system time to save data and shut down gracefully — the goal is preventing data loss and damage from abrupt shutdown. The required backup time and battery size differ significantly between these use cases.

Ride-through use case

Ride-through handles brief interruptions:

  • Voltage sags (milliseconds)
  • Brief outages (seconds)
  • Switching transients
  • Goal: continue operating, no interruption

Required backup time: seconds (enough to ride through brief events) Battery size: small (brief backup)

For ride-through, the system keeps running and the brief interruption is invisible.

Controlled shutdown use case

Controlled shutdown handles extended outages:

  • Extended power failure (minutes+)
  • Goal: graceful shutdown, save data, prevent damage

Required backup time: enough to complete shutdown (seconds to minutes) Battery size: larger (sustained backup)

For controlled shutdown, the system uses the backup time to save state and shut down gracefully, preventing data corruption and damage from abrupt power loss.

Combined use case

Many systems use both:

  • Ride-through for brief interruptions (keep running)
  • Controlled shutdown for extended outages (graceful shutdown if power doesn’t return)

The DC-UPS provides ride-through first; if the outage extends beyond the ride-through capacity, it triggers controlled shutdown before the battery depletes.

Sizing implications

The use case determines sizing:

Match the battery size to the required backup time for your use case.

How do I size DC-UPS battery backup time?

Size DC-UPS battery backup time by determining your use case (ride-through, controlled shutdown, or extended operation), calculating the load current, and selecting a battery capacity that provides the required backup time at that load. Backup time = battery capacity (Ah) × battery voltage × usable fraction ÷ load power. For ride-through, seconds suffice; for controlled shutdown, calculate the shutdown duration; for extended operation, calculate the full outage ride time needed.

The backup time formula

Backup time depends on battery energy and load:

Backup time (hours) = (Battery capacity in Ah × Battery voltage × usable fraction) ÷ Load power in watts

For example:

  • Battery: 7Ah at 24V = 168 Wh
  • Usable fraction: 0.7 (don’t fully discharge)
  • Usable energy: 168 × 0.7 = 118 Wh
  • Load: 50W
  • Backup time: 118 ÷ 50 = 2.4 hours

Sizing for ride-through

For ride-through (brief interruptions):

  • Required backup: seconds (e.g., 5-30 seconds)
  • Small battery or supercapacitor suffices
  • Goal: bridge brief sags and outages

For a 50W load needing 30 seconds ride-through:

  • Energy needed: 50W × (30/3600) hours = 0.42 Wh
  • Small battery or supercapacitor handles this easily

Sizing for controlled shutdown

For controlled shutdown:

  • Required backup: shutdown duration (e.g., 1-5 minutes)
  • Calculate time to save data and shut down
  • Size battery for that duration plus margin

For a 50W load needing 5 minutes shutdown:

  • Energy needed: 50W × (5/60) hours = 4.2 Wh
  • Plus margin: ~6 Wh
  • Small-to-medium battery handles this

Sizing for extended operation

For extended operation through longer outages:

  • Required backup: minutes to hours
  • Larger battery needed
  • Calculate full outage ride time

For a 50W load needing 2 hours:

  • Energy needed: 50W × 2 hours = 100 Wh usable
  • With 0.7 usable fraction: 143 Wh battery (e.g., 7Ah at 24V)

Accounting for battery derating

Battery capacity derates with:

  • Age (capacity declines over years)
  • Temperature (cold reduces capacity)
  • Discharge rate (high rate reduces usable capacity)

Size with margin (e.g., 1.5×) to account for derating over battery life.

What battery types are used in DC-UPS systems?

DC-UPS systems use three main battery technologies: lead-acid (VRLA/SLA — proven, low cost, but heavy with limited cycle life and temperature sensitivity), lithium iron phosphate (LiFePO4 — longer life, lighter, better temperature performance, higher cost), and supercapacitors (very long life, fast charge, wide temperature range, but limited energy for short backup only). The choice depends on backup time needed, temperature environment, cycle life requirements, and budget.

Lead-acid (VRLA/SLA) batteries

The traditional choice:

  • Low cost
  • Proven technology
  • Good for longer backup times
  • Drawbacks: heavy, limited cycle life (200-500 cycles), temperature-sensitive, 3-5 year life

Lead-acid suits cost-sensitive applications with moderate cycle requirements and controlled temperature.

Lithium iron phosphate (LiFePO4) batteries

The premium choice:

  • Longer cycle life (2,000-5,000 cycles)
  • Lighter weight
  • Better temperature performance
  • Longer service life (8-10+ years)
  • Higher cost

LiFePO4 suits applications needing long life, frequent cycling, wide temperature, or weight savings.

Supercapacitors

For short backup:

  • Very long life (millions of cycles)
  • Fast charge/discharge
  • Wide temperature range (-40°C to +65°C)
  • Maintenance-free
  • Drawback: limited energy (short backup only — seconds)

Supercapacitors suit ride-through applications (brief backup) where long life and wide temperature matter more than extended backup.

Battery type comparison

Choosing the battery type

Select based on:

  • Backup duration: seconds → supercapacitor; minutes-hours → lead-acid or LiFePO4
  • Temperature: wide range → LiFePO4 or supercapacitor
  • Cycle life: frequent cycling → LiFePO4 or supercapacitor
  • Budget: cost-sensitive → lead-acid; performance → LiFePO4

For most industrial ride-through and short shutdown applications, the choice is between lead-acid (cost) and LiFePO4 (performance/life).

How do I install a DC-UPS system?

Install a DC-UPS system by mounting the main power supply, DC-UPS module, and battery, connecting the main supply output to the DC-UPS module input, connecting the battery to the DC-UPS module battery terminals, connecting the DC-UPS module output to the load, and wiring status signals to monitoring. Proper installation ensures seamless switchover and battery management. Battery placement should consider temperature (affects battery life) and accessibility (for replacement).

Installation steps

  1. Mount components — Main supply and DC-UPS module on DIN rail; battery in suitable location
  2. Wire main supply — Main supply output to DC-UPS module input
  3. Wire battery — Battery to DC-UPS module battery terminals (correct polarity)
  4. Wire load — DC-UPS module output to the load
  5. Connect monitoring — Status signals (battery state, mains status) to PLC/alarm
  6. Verify operation — Test switchover by interrupting mains

Battery placement considerations

Battery location affects performance:

  • Temperature: batteries last longer in moderate temperature; avoid hot locations
  • Accessibility: batteries need periodic replacement; ensure access
  • Ventilation: lead-acid may need ventilation (gassing)
  • Safety: secure mounting, proper protection

Monitoring and maintenance

DC-UPS monitoring:

  • Battery state of charge
  • Battery health (capacity degradation)
  • Mains status
  • Backup activation events

Maintenance:

  • Periodic battery testing
  • Battery replacement at end of life (3-5 years lead-acid, 8-10 years LiFePO4)
  • Verify switchover periodically

Testing the DC-UPS

Verify the DC-UPS works:

  • Interrupt AC mains
  • Confirm load continues without interruption
  • Confirm switchover is seamless
  • Verify battery backup time
  • Confirm recovery when mains returns

DC-UPS vs redundancy — which do I need?

DC-UPS and redundancy address different failure modes, and the choice depends on which failure you need to protect against. DC-UPS protects against AC mains failure (power outages, sags, interruptions) by providing battery backup. Redundancy (N+1) protects against power supply hardware failure by using parallel supplies. If your risk is power outages, use DC-UPS. If your risk is supply hardware failure, use redundancy. If both risks matter, use both together.

When to use DC-UPS

Use DC-UPS when the risk is AC mains issues:

  • Frequent brief interruptions (causing resets)
  • Power outages requiring ride-through or shutdown
  • Unstable utility power
  • Need to prevent data loss on outage

When to use redundancy

Use redundancy when the risk is supply failure:

  • Power supply hardware failure
  • Need to hot-swap failed supplies
  • Critical systems where supply reliability matters

When to use both

Use both for comprehensive protection:

  • Critical systems where both mains failure AND supply failure must be protected
  • Redundant supplies (N+1) handle supply failure
  • DC-UPS handles mains failure
  • Together: protection against both failure modes

The decision framework

Match the protection to your actual failure risks.

Common DC-UPS mistakes

Five mistakes in DC-UPS specification and installation:

Mistake 1 — Confusing DC-UPS with redundancy

Engineer installs DC-UPS expecting protection against power supply failure. But DC-UPS protects against mains failure, not supply hardware failure.

Fix: For supply failure protection, use redundancy. For mains failure, use DC-UPS. Understand which failure mode you’re protecting against.

Mistake 2 — Undersizing battery for use case

Engineer sizes battery for ride-through but actually needs controlled shutdown time. The battery depletes before shutdown completes, causing data loss.

Fix: Determine the use case first, then size the battery for the required backup time plus margin.

Mistake 3 — Ignoring battery temperature effects

Engineer installs lead-acid battery in a hot panel. The heat dramatically shortens battery life, causing premature failure.

Fix: Consider battery temperature. Use LiFePO4 for hot environments, or locate the battery in a cooler position.

Mistake 4 — No battery monitoring or replacement plan

Battery installed and forgotten. Years later, the degraded battery can’t provide backup when needed.

Fix: Monitor battery health, plan replacement at end of life (3-5 years lead-acid, 8-10 years LiFePO4), test periodically.

Mistake 5 — Wrong battery charging profile

Engineer uses a DC-UPS module with the wrong charging profile for the battery type. Improper charging shortens battery life or causes safety issues.

Fix: Match the DC-UPS module’s charging profile to the battery type. Quality modules support specific battery chemistries.

FAQs

What is a DC-UPS?

A DC-UPS (DC Uninterruptible Power Supply) provides battery backup on the DC side of a DIN-rail power supply, keeping 24V control systems running during AC mains interruptions. It consists of a DC-UPS module and battery. When mains fails, it seamlessly switches to battery power so the load never sees an interruption.

Why does my PLC reset randomly?

Often due to brief AC mains interruptions (sags, momentary outages, switching transients) too brief to notice but long enough to drop the power supply output and reset the PLC. A DC-UPS provides ride-through power during these interruptions, preventing resets.

What’s the difference between DC-UPS and AC-UPS?

DC-UPS provides backup on the DC side (after the power supply), more efficient and simpler for DIN-rail control systems. AC-UPS provides backup AC power (before the supply) with an inverter. For 24V control systems, DC-UPS is the natural choice.

How long can a DC-UPS power my system?

Depends on battery capacity and load. For ride-through, seconds suffice (small battery). For controlled shutdown, minutes (medium battery). For extended operation, hours (large battery). Calculate: backup time = usable battery energy ÷ load power.

What’s the difference between ride-through and controlled shutdown?

Ride-through powers the system through brief interruptions (seconds) so it keeps operating. Controlled shutdown provides longer backup (minutes) to save data and shut down gracefully on extended outages. They need different battery sizes.

What battery type is best for DC-UPS?

Depends on needs. Lead-acid is low-cost for moderate requirements. LiFePO4 offers longer life, wider temperature, and lighter weight at higher cost. Supercapacitors suit brief ride-through with very long life and wide temperature. Match to your backup time, temperature, and budget.

Do I need a DC-UPS or redundancy?

DC-UPS protects against AC mains failure; redundancy protects against power supply hardware failure. If your risk is power outages, use DC-UPS. If supply failure, use redundancy. For both risks, use both.

How often do I replace DC-UPS batteries?

Lead-acid: every 3-5 years. LiFePO4: every 8-10+ years. Supercapacitors: rarely (very long life). Replacement interval depends on battery type, temperature, and cycling. Monitor battery health and replace at end of life.

Can a DC-UPS prevent data loss?

Yes, that’s a key use case. For systems that log data or maintain state, a DC-UPS provides backup time to save data and shut down gracefully on power failure, preventing the data corruption that abrupt power loss causes.

Does temperature affect DC-UPS batteries?

Significantly. Heat shortens battery life (especially lead-acid); cold reduces capacity. For hot environments, LiFePO4 or supercapacitors perform better than lead-acid. Consider battery temperature in placement and selection.

How does the DC-UPS switchover work without interruption?

The DC-UPS continuously monitors the DC bus and switches to battery instantly when mains fails — fast enough (milliseconds or faster) that the load doesn’t lose power. Capacitors bridge the brief switchover, ensuring seamless transition.

Can I add a DC-UPS to an existing system?

Yes, in most cases. A DC-UPS module and battery can be added to an existing 24V DIN-rail system. Insert the DC-UPS module between the main supply and the load, add the battery, and connect monitoring. Verify the main supply can power the load plus charge the battery.

Related guides

References and further reading

  1. IEC 62368-1 — Audio/Video, Information and Communication Technology Equipment Safety.
  2. IEC 62040 — Uninterruptible Power Systems (UPS) standards.
  3. UL 508A — Standard for Industrial Control Panels.
  4. IEC 61131 — Programmable Controllers.
  5. IEC 62619 — Safety requirements for secondary lithium cells and batteries (industrial).
  6. IEEE 1184 — Guide for Batteries for Uninterruptible Power Supply Systems.
  7. NEC Article 409 — Industrial Control Panels.

4 Responses

Leave a Reply

Your email address will not be published. Required fields are marked *

Hey, I’m Eric Chen.

I’ve spent 15+ years building LED drivers, toroidal transformers, and DIN-rail power supplies in our Ningbo factory — for OEMs, sign makers, and contractors across 30+ countries. This blog is where I share what I’d tell any new buyer before they place their first order.

2026 Full Catalog

Table of Contents

Request a Quote

Fixie tote bag enthnic keytar. Neutra vinyl American Apparel kale chips tofu art party. cardigan raw