NeonUPS

NeonUPS

Open Source Universal Modular Power Management System — build your own intelligent DC power center like Lego blocks.
开源通用模块化电源管理系统 — 像搭乐高一样构建你的智能直流供电中心。
🔋 36V DC Bus 🔄 Hot-Swap Modules 🧠 CAN Communication 🌐 IoT & Remote Control 🔓 Fully Open Source
neon9809/NeonUPS on GitHub

Background & Problem

背景与问题

DC power in our daily life is extremely fragmented. Every device comes with its own adapter, leading to bloated power strips, tangled cables, wasted energy, and no way to achieve centralized management or battery-backed uptime. When upgrading devices, the entire power supply chain is often discarded. The rise of smart homes magnifies this pain — curtain motors, sensors, and lights each drag independent power bricks, making wiring, maintenance and emergency power a constant headache.

当前,生活中的直流供电极度碎片化。每个设备配一个专属适配器,导致排插臃肿、线束杂乱、能耗浪费,且无法实现集中管理和停电续航。设备迭代时,电源部分往往只能整体淘汰。智能家居的普及更放大了这一痛点——窗帘电机、传感器、灯具各自拖着独立电源,布线、维护和应急供电都成了难题。

Core Philosophy

核心理念

We envision a highly modular, open-source intelligent power management system. It’s a power building-block platform: a basic host frame with expandable slots accepts standardized functional modules — input, output, battery, IoT control, etc. Users assemble their own power center like Lego, tailored to their needs, with intelligent network management.

Two fundamental principles:

  • Sustainability through Open Source: Communication protocols and specifications are fully open. Anyone can manufacture compatible modules, preventing iterative device waste.
  • On-demand Modularity: Every function is an independent hot-swap module. Need more power? Parallel host frames. Need more features? Add modules. Never obsolete.

我们想构建一套高度模块化、开源的智能电源管理系统。它像一个供电积木平台:以可拓展的主机框架为基础,自由配置标准化的功能模块——输入、输出、电池、物联网控制等。用户根据自己的需求,像搭乐高一样组合出专属的电源中心,并可通过网络进行智能管理。

最核心的两条原则:

  • 基于可持续理念的开源:通信协议、规范文档全部开放,任何人都能制造兼容模块,避免设备迭代浪费。
  • 按需的模块化:所有功能都是独立的热插拔模块,功率不够并联主机,功能不够增加模块,永不过时。

Typical Scenarios

典型场景

🏠 Home Energy Center

🏠 家庭能源中心

A shoebox-sized host powers your fiber modem, router, NAS, smart speakers, DC lighting, curtains, robot vacuum, and security gear — all from one place, intelligently distributing energy from grid, solar, and battery. Seamless battery backup during outages keeps the network alive.

一个鞋盒大小的主机,同时给光猫、路由器、NAS、智能音箱、直流照明系统、窗帘、扫地机器人、安防设备集中供电,统一管理分配来自市电网、光伏、电池的多路能源。停电时内置电池无缝续电,保证网络不断。

🔧 Maker Workbench

🔧 创客工作台

Say goodbye to messy bench supplies. Insert different modules for multiple adjustable voltages, USB fast charging, and battery storage — all outputs programmable.

告别杂乱的实验电源。通过插入不同模块,快速获得多路可调电压、USB快充和电池储能,所有输出均可编程控制。

🌍 Remote Device Hosting

🌍 异地设备托管

Monitor and control every power channel for equipment in a remote hometown or server room via smartphone. Remotely reboot or switch power on anomaly.

放在老家或机房的小型设备,通过手机远程监控每路供电状态,异常时远程断电或切换供电。

4.1 Physical & Electrical Architecture

4.1 物理电气架构

36V DC Bus & Topology

The internal bus runs at 36V DC, below the 60V safety extra-low voltage limit, balancing efficiency and safety. Host frames serve as nodes; they connect in star or multi-frame parallel via high-current DC ports. Need more power? Add frames — scalable like server power supplies.

Connector Specification

Power In/Out: 5.5mm DC jacks, with distinct male/female or color coding to prevent reverse insertion. 8A continuous per port; dual ports reserved for high-power modules.

Communication Bus: RJ45 (8P8C) carrying CAN signals — locking tab removed for tool-free quick release. One twisted pair used for CAN_H/CAN_L; remaining pins for presence detection, address coding, and future use. ⚠️ Physically resembles Ethernet but is dedicated CAN; never plug into standard network equipment.

Module-Frame Interface: Each slot provides both power and CAN contacts, hot-swap ready. Critical modules feature a software locking mechanism: removal must be requested and approved via software before the physical lock releases.

Module Form Factors

Local Modules: Direct-insert into host frame slots — AC-DC inputs, MPPT solar, multi-voltage outputs, USB PD, batteries, communication.

Remote Modules: Standard 86-panel form factor, installed in walls and connected via 36V DC bus behind the wall. Example: a Type-C PD panel at bedside replaces bulky adapters.

Safety Hardware

Multi-level protection: per-module overcurrent/overtemp/short-circuit; inter-frame link modules monitor current with hardware limits. The CO₂ emergency module uses a slow-release valve (not explosive burst) triggered by heat + smoke detection. A supercapacitor backup ensures valve operation even after main power loss.

Ecosystem Bridges

ATX / Server PSU Converter Modules: Repurpose the massive existing inventory of ATX and server power supplies into 36V bus sources, drastically lowering cost and leveraging familiar hardware.

总线电压与拓扑

系统采用36V DC作为内部总线电压,低于60V安全特低电压上限,兼顾传输效率与使用安全。总线以主机框架为节点,支持星型或多框架并联。框架之间通过专用的大电流DC接口互联,功率不够就加框架,像服务器电源一样堆叠扩容。

连接器规范

电源进出:采用5.5mm DC接口,输入口与输出口在物理形态或颜色上明确区分(输入公头、输出母座),防止热插拔误接。单口持续承载上限8A,大功率模块预留双口并联设计。

通讯总线:采用RJ45(8P8C)物理接口承载CAN总线,削除锁止塑料舌以实现无工具快拔。内部仅使用一对双绞线作为CAN_H/CAN_L差分信号,其余引脚分配给模块在位检测、地址编码及预留功能。⚠️ 此接口形似以太网,但在本系统中专用于CAN通讯,严禁接入标准网络设备。

模块-框架接口:每个插槽同时提供电源触点和CAN信号触点,支持热插拔。关键供电模块配备软件锁止机构——物理拔出前需通过软件端“申请移除”,经确认后释放锁定,防止误操作中断业务。

模块形态

本地模块:直接插入主机框架的标准槽位,包括输入模块(AC-DC、光伏MPPT)、输出模块(多路可调电压、USB PD)、电池模块、通信模块等。

Remote模块:标准86面板形态,安装于墙壁终端,通过墙内36V直流母线与主机框架相连。例如Type-C PD面板直接嵌入床头或沙发旁,既为设备快充,又省去传统电源适配器。

安全硬件

系统在电气层面内置多级硬件保护:每个模块自带过流、过温、短路保护;串接模块(多框架互联时使用)实时监测线路承载电流并设有硬件电流上限;二氧化碳应急模块采用缓慢释放机制,通过微型电磁阀与压力调节器控制气瓶。模块内置超级电容备用电源,确保主电源切断后仍能完成阀门开启。

生态桥接

ATX / 服务器电源转换模块:将存量巨大的ATX和服务器可插拔电源模块接入36V总线,拉低系统供电成本,为创客提供高性价比动力源。

4.2 Communication Architecture

4.2 通讯架构

CAN Bus Protocol

CAN bus is the core communication backbone, leveraging native multi-master, non-destructive arbitration and real-time performance. The CAN controller is built into the host frame; modules only need a CAN transceiver and minimal logic, drastically lowering development cost for third parties. The frame handles bus arbitration, address assignment, heartbeat, and policy execution.

Addressing & Multi-Frame Interconnection

Modules receive a CAN ID automatically via hardware address pins on insertion — no pre-configuration. Multiple host frames coexist on the same CAN bus; CAN natively supports multiple controllers. Frames collaborate through application-layer redundancy: hot-standby, load sharing, or fully distributed control.

Distributed Watchdog System

Watchdog functionality is no longer fixed to the frame. It’s a tiered service configurable by the user:

  • Hardware Level (module self-protection): Built-in overcurrent/overtemp trip, zero external dependency.
  • Link Level (frame direct): Frame sends periodic heartbeat to modules on its slots; timeout triggers a safe preset action.
  • Service Level (programmable remote watchdog): User-defined policies delivered from a server via communication modules — adjustable timeout, retries, and actions (restart, shutdown, source switch). Ideal for remote hosting.
  • Redundant Cross-Feeding: Multiple communication modules (4G, Wi‑Fi, Ethernet, LoRa) independently feed watchdogs. Multiple sources "watch each other"; catastrophic action requires consensus, preventing false triggers.

Full Module Observability

All modules report real-time parameters over CAN: voltage, current, power, per-cell internal resistance & temperature for batteries, inter-frame link current, and more.

Network Redundancy

Communication modules bridge CAN to IP networks. Plug in several types simultaneously for automatic failover — keeping critical infrastructure always reachable.

CAN 总线协议

系统采用CAN 总线作为模块与框架之间的核心通讯协议,利用其原生多主、非破坏性仲裁和实时性优势。CAN控制器内置于主机框架,模块侧仅需配备CAN收发器和极简逻辑电路,大幅降低第三方模块的开发门槛和物料成本。框架负责总线仲裁、模块地址分配、心跳管理和策略执行。

模块编址与多框架互联

每个模块插入时由框架通过硬件地址引脚自动分配CAN ID,无需出厂预配置。多个主机框架可挂接在同一条CAN总线上并行工作,CAN协议原生支持多控制器共存。多框架之间可通过应用层协议实现热备、负载分担或完全分布式的冗余协作。

分布式看门狗体系

看门狗功能不再局限于框架本地,而是设计为可分级的服务,用户可根据场景按需配置:

  • 硬件级(模块自保):每个模块出厂内置纯硬件过流/过温保护,不依赖任何外部信号,作为最终安全兜底。
  • 链路级(框架直连):框架对插槽上的模块发送周期性心跳帧,模块超时未收到则执行预设安全动作。
  • 服务级(可编程远程看门狗):用户通过通信模块,由服务器下发自定义看门狗策略——设定超时时长、重试次数和触发动作。适用于异地设备托管等远程运维场景。
  • 冗余交叉喂狗:系统可同时部署多个通信模块(蜂窝网、Wi‑Fi、以太网、LoRa),每个模块独立维护看门狗心跳。多条网络路径互为备份,极端场景下配置多个看门狗源相互监督,需多方同时判定失效才执行最终动作,防止单一误判导致误断电。

全模块可观测

所有模块通过CAN总线实时上报工作参数:电压、电流、功率,电池每节电芯内阻与温度,串接模块承载电流等。

网络接入与冗余

通信模块负责将CAN总线数据桥接至外部网络,支持远程管理。系统鼓励同时插入多个不同类型的通信模块互为备份,一个网络中断时自动切换,保障关键基础设施的持续受控。

Founding Team Recruitment

创始团队招募

We're looking for passionate volunteers to shape the open‑source power standard of the future. This is a purely pro‑bono, community‑driven effort. If our vision resonates, join us.

我们正在寻找有热情的志愿者,共同塑造未来的开源电源标准。这是一项纯公益、社区驱动的事业。如果这个愿景与您共鸣,请加入我们。

⚡ Power Electronics 🔌 Electrical Design 📡 Communication Protocols 🏠 Smart Home Experience 🛠 Embedded Systems 📐 Mechanical / Enclosure

Send your resume / portfolio, or just share your ideas and critique. Contributors who bring significant insights may be invited to the founding team.

请将简历/作品集,或任何想法与建议发送给我们。提出重要意见的贡献者将被邀请加入创始团队。

(Email address will be decoded on hover/click — spam protection enabled)
(悬停或点击时显示真实邮箱 — 已启用防垃圾邮件保护)