

Dc usv
A small DC UPS, designed to keep small appliances like consumer network equipment running during power outages
- Size
- 140 × 100 mm
- Copper layers
- 4
- Thickness
- 1.66 mm
- Parts
- 351
- Nets
- 244
- Pads
- 1,184
- Tracks, vias
- 2,597, 808
- Pours
- 67
- Routed
- Yes
- KiCad
- KiCad 7 (file 20221018)
- Created
- 19 Sep 2022
- Updated
- 9 May 2024
Overview
Dc usv is an open-source printed circuit board by TobleMiner, from the TobleMiner/DC-UPS repository on GitHub, published under the CERN-OHL-P-2.0 licence. It is a 4-layer board of 140 × 100 mm with 351 parts on 244 nets, routed with 2,597 tracks and 808 vias.
It is built around the 74HC595, AO4407A and MMBT3904, with the AON7544, P6SMB18CA and 1N4148WS among its other parts. Its parts include 134 resistors, 105 capacitors, 37 transistors, 21 diodes and 9 ICs. It belongs with the power boards of this library.
Main components
1274HC595
SOP-16-40℃~+85℃ 1 100ns@5V,50pF 10MHz 2V~6V 74HC 8 Serial-to-Serial or Parallel Tri-State SOP-16 Shift Registers ROHSGRShift RegistersAO4407A
SOP-8-55℃~+150℃ 1 P-Channel 1.8V 14A 2.05nF 20nC@4.5V、40nC@10V 3.1W 300pF 30V 330pF 9.5mΩ@10V、14.7mΩ@4.5V SOP-8 MOSFETs ROHSUMWMOSFETsMMBT3904
SOT-23-55℃~+150℃ 1 NPN 100 100nA 200mA 200mW 300MHz 300mV 40V 6V NPN SOT-23 Bipolar (BJT) ROHSJiangsu Changjing Electronics Technology (CJ)Bipolar (BJT)AON7544
DFN-8(3x3)-55℃~+150℃ 1 N-channel 2.2V 22.5nC@10V 23W 30A 30V 373pF 5mΩ@10V 62pF 951pF DFN-8(3x3) MOSFETs ROHSAlpha & Omega SemiconductorMOSFETsP6SMB18CA
DO-214AA(SMB)-55℃~+175℃ 15.3V 17.1V 24.2A 25.5V 5uA 600W@10/1000us Bidirectional TVS DO-214AA(SMB) ESD and Surge Protection (TVS/ESD) ROHSLeiditechESD And Surge Protection (TVS/ESD)1N4148WS
SOD-3231.25V@150mA 100V 150mA 1uA@75V 200mW 2A 4ns Independent SOD-323 Switching Diodes ROHSJiangsu Changjing Electronics Technology (CJ)Switching DiodesAO3401A
SOT-231 P-Channel 14nC@10V 30V 47mΩ@10V、60mΩ@4.5V、85mΩ@2.5V 4A 55pF 645pF 80pF 900mV SOT-23 MOSFETs ROHSAlpha & Omega SemiconductorMOSFETsCSD17308Q3
VSON-CLIP-8(3.3x3.3)-55℃~+150℃ -8V、10V 1 N-channel 1.8V 12.5mΩ@3V 28W 3.9nC@4.5V 30V 35pF 365pF 50A 700pF N-Channel VSON-CLIP-8(3.3x3.3) MOSFETs ROHSTexas InstrumentsMOSFETsMMBT5401
SOT-23-55℃~+150℃ 1 PNP 100MHz 100nA 150V 300 300mW 500mV 5V 600mA PNP SOT-23 Bipolar (BJT) ROHSJiangsu Changjing Electronics Technology (CJ)Bipolar (BJT)P6SMB6.8CA
SMB10.5V 1mA 5.8V 57.1A 6.45V 600W@10/1000us Bidirectional IEC 61000-4-2、IEC 61000-4-4 TVS SMB ESD and Surge Protection (TVS/ESD) ROHSUMWESD And Surge Protection (TVS/ESD)AO3400A
SOT-23-55℃~+150℃ 1 N-channel 1.45V 1.4W 30V 48mΩ@2.5V 5.7A 50pF 630pF 75pF 7nC@10V N-Channel SOT-23 MOSFETs ROHSAlpha & Omega SemiconductorMOSFETsB5819W
SOD-123-55℃~+125℃ 1.5A 1mA@40V 25A 40V 600mV@1A Standalone SOD-123 Schottky Diodes ROHSMDDSchottky Diodes
README
README.mdDC uninterruptible power supply
This repository contains the design files for a DC uninterruptible power supply well suited to run network appliances like small switches, home routes and WLAN access points.
I would not recommend ordering RevC yet as it is still untested.
I would not recommend ordering RevB yet as there are still some issues with the current design.
See Rev B issues below.

Features
- 3 DC outputs
- Selectable output voltage (9V/12V/12.5V/15V)
- USB-C power output (5V only, 3A)
- Builtin, easy to replace batteries (2x Li-Ion 18650)
- Builtin Prometheus-exporter with comprehensive metrics
- Open Source firmware (ESP32-based, esp-idf framework)
- Easy software updates via back USB port
Construction
The mechanical construction of the DC UPS is based on 4 assemblies:
- Hammond Manufacturing 1455L1201BK aluminum case
- Main PCB
- Aluminum core PCB front panel
- Aluminum core PCB rear panel
The three PCBs have been optimized for manufacturing through JLCPCB.
The main PCB is also designed to be suitable for assembly through JLCPCB.
The relevant fabrication files are located in fab.
For final assembly it is recommended to countersink the screw holes in front and rear panel. This will allow the screws included with the case to sit flush.
Main PCB assembly
When using the JLCPCB assembly service only a very limited number of components needs to be assembled by hand:
- Battery holder B1
- OLED display U17
Thermals
For better thermal management I would highly recommend to install a thick, generously sized thermal pad below U4 and L2 contacting the bottom case if using the UPS DC outputs beyond 40W output power.
Firmware
The DC UPS is running Open Source firmware. Firmware source can be found on GitHub here: https://github.com/TobleMiner/dc-ups-firmware
Why?
For a long time I was running the core of my home network (a cable modem,
router and switch) off a normal line-interactive AC UPS.
This was never ideal for a number of reasons. First of all the UPS was
using sealed lead acid batterys. The UPS did not seem to treat those too
kindly and ended up degrading them beyond the point of useful capacity
within 2 - 5 years, depending on quality of the battery.
Also I noticed that the UPS was always getting somewhat warm, suggesting
high idle power consumption. In this particular setup the core network
components only use about 12W. The AC UPS alone already used 10W while
idle. Quite the waste of power.
Another worrying factor was overall system reliability. With the AC UPS
there were three seperate wall warts in use, each powering a single
device. Powering all network compoenents with DC directly this is down
to just one wall wart at the power input of the UPS itself.
Additionally I was never quite happy with the monitoring options offered
by the AC UPS. While it was equipped with a USB port for monitoring the
available metrics were minimal. The DC UPS offers an Ethernet port and
hosts a Prometheus exporter offering all kinds of metrics relating to
power input and output, temperatures, battery health and battery
management internals.
Finally the DC UPS is a lot smaller than available AC UPS options. The
following picture shows a comparison between the AC UPS I have been using
before and the DC UPS:

Rev B issues
Rev B is still more of a prototype than I'd like. This is the list of currently know issues:
- DCDC U4 startup is too slow on power failure, remove Q13
- R47 and R48 are too high resistance for effective testing
Parts
351| Qty | Value | Footprint | References |
|---|---|---|---|
| 33 | 100kR | Resistor_SMD:R_0402_1005Metric | R15, R26, R27, R101, R102, R104, R105, R106, R107, R108, R109, R110, R111, R112, R116, R131 +17 |
| 33 | 100nF | Capacitor_SMD:C_0402_1005Metric | C1, C2, C3, C4, C5, C13, C16, C24, C25, C26, C30, C42, C45, C47, C48, C101 +17 |
| 30 | 10k | Resistor_SMD:R_0402_1005Metric | R14, R20, R51, R53, R103, R113, R114, R115, R118, R119, R121, R126, R127, R128, R129, R132 +14 |
| 15 | 100nF HV | Capacitor_SMD:C_0603_1608Metric | C7, C8, C9, C10, C11, C14, C34, C41, C43, C44, C46, C54, C72, C85, C87 |
| 14 | 22uF | Capacitor_SMD:C_0805_2012Metric | C28, C29, C31, C38, C39, C40, C52, C55, C56, C57, C70, C74, C75, C94 |
| 11 | 1uF | Capacitor_SMD:C_0402_1005Metric | C12, C17, C18, C27, C60, C62, C63, C64, C83, C97, C98 |
| 11 | 2N7002 | Package_TO_SOT_SMD:SOT-23 | Q11, Q13, Q14, Q15, Q16, Q20, Q22, Q26, Q31, Q34, Q37 |
| 10 | 5.1k | Resistor_SMD:R_0402_1005Metric | R8, R9, R12, R18, R22, R97, R98, R120, R124, R125 |
| 8 | 100R | Resistor_SMD:R_0402_1005Metric | R2, R3, R69, R99, R100, R122, R123, R130 |
| 8 | 1R | Resistor_SMD:R_0402_1005Metric | R37, R38, R44, R45, R80, R82, R89, R91 |
| 8 | AO4407A | Package_SO:SOIC-8_3.9x4.9mm_P1.27mm | Q8, Q10, Q19, Q21, Q23, Q32, Q35, Q38 |
| 7 | 10uF | Capacitor_SMD:C_0805_2012Metric | C20, C21, C22, C23, C35, C36, C37 |
| 7 | MMBT3904 | Package_TO_SOT_SMD:SOT-23 | Q12, Q18, Q28, Q29, Q30, Q33, Q36 |
| 6 | 10mR | Resistor_SMD:R_0805_2012Metric | R19, R25, R42, R43, R81, R90 |
| 4 | 220uF | Capacitor_SMD:CP_Elec_6.3x7.7 | C49, C50, C80, C84 |
| 4 | 50R | Resistor_SMD:R_0402_1005Metric | R66, R68, R70, R71 |
| 4 | AON7544 | Package_DFN_FET:DFN-8-FET_3x3mm_P0.65mm | Q1, Q3, Q4, Q5 |
| 4 | INA219AxD | Package_SO:SOIC-8_3.9x4.9mm_P1.27mm | U5, U6, U14, U15 |
| 4 | P6SMB18CA | Diode_SMD:D_SMB | D6, D9, D10, D11 |
| 4 | RED | LED_Indicator:LED_Indicator_RED_MHK1373CRBDT | D8, D12, D13, D14 |
| 3 | 100R 0805 | Resistor_SMD:R_0805_2012Metric | R4, R5, R11 |
| 3 | 100kR | Resistor_SMD:R_1206_3216Metric | R75, R85, R96 |
| 3 | 10MR | Resistor_SMD:R_0402_1005Metric | R6, R10, R13 |
| 3 | 1N4148WS | Diode_SMD:D_SOD-323 | D1, D2, D3 |
| 3 | 1nF 500V | Capacitor_SMD:C_1206_3216Metric | C69, C82, C89 |
| 3 | 2.2uF | Capacitor_SMD:C_0603_1608Metric | C6, C53, C103 |
| 3 | 22nF | Capacitor_SMD:C_0402_1005Metric | C95, C104, C105 |
| 3 | 5A | Fuse:Fuse_1206_3216Metric | F2, F3, F4 |
| 3 | LM75B | Package_SO:MSOP-8_3x3mm_P0.65mm | U2, U7, U13 |
| 3 | Output 2.0mm | Connector_BarrelJack_LCSC:BarrelJack_2.0mm_DC-044B | J1, J2, J3 |
| 2 | 1.5kR | Resistor_SMD:R_0402_1005Metric | R64, R79 |
| 2 | 100pF | Capacitor_SMD:C_0402_1005Metric | C15, C67 |
| 2 | 10R | Resistor_SMD:R_0402_1005Metric | R23, R24 |
| 2 | 12kR | Resistor_SMD:R_0402_1005Metric | R67, R78 |
| 2 | 18kR | Resistor_SMD:R_0402_1005Metric | R17, R21 |
| 2 | 18pF | Capacitor_SMD:C_0402_1005Metric | C58, C76 |
| 2 | 20pF | Capacitor_SMD:C_0402_1005Metric | C90, C91 |
| 2 | 330R | Resistor_SMD:R_0402_1005Metric | R72, R73 |
| 2 | 50R | Resistor_SMD:R_2512_6332Metric | R47, R48 |
| 2 | 56kR | Resistor_SMD:R_0402_1005Metric | R30, R92 |
| 2 | AO3401A | Package_TO_SOT_SMD:SOT-23 | Q2, Q25 |
| 2 | CSD17308Q3 | Package_DFN_FET:DFN-8-FET_3x3mm_P0.65mm | Q6, Q7 |
| 2 | GRN | LED_SMD:LED_0603_1608Metric | D19, D20 |
| 2 | MMBT5401 | Package_TO_SOT_SMD:SOT-23 | Q9, Q24 |
| 2 | MountingHole | ToolingHole:ToolingHole_JLCSMT | H1, H2 |
| 2 | P6SMB6.8CA | Diode_SMD:D_SMB | D7, D16 |
| 2 | RED | LED_SMD:LED_0603_1608Metric | D18, D22 |
| 2 | USB_C_Receptacle_USB2.0 | Connector_USB:USB_C_Receptacle_Palconn_UTC16-G | J6, J9 |
| 2 | YEL | LED_SMD:LED_0603_1608Metric | D17, D21 |
| 1 | 10A | Fuse:Fuse_1206_3216Metric | F1 |
| 1 | 10R | Resistor_SMD:R_1206_3216Metric | R88 |
| 1 | 10uF LV | Capacitor_SMD:C_0402_1005Metric | C100 |
| 1 | 12MHz (DNP) | Crystal:Crystal_SMD_3225-4Pin_3.2x2.5mm | Y1 |
| 1 | 1455L1201BK | Case:1455L1201BK | CASE1 |
| 1 | 150k | Resistor_SMD:R_0402_1005Metric | R28 |
| 1 | 15kR | Resistor_SMD:R_0402_1005Metric | R40 |
| 1 | 180kR | Resistor_SMD:R_0603_1608Metric | R34 |
| 1 | 18650 | battery-holder-keystone:SMD-1048-dual-18650 | B1 |
| 1 | 1mR | Resistor_SMD:R_1206_3216Metric | R1 |
| 1 | 1uH | Inductor_SMD:L_Bourns_SRP7028A_7.3x6.6mm | L2 |
| 1 | 2.2uH | Inductor_SMD:L_Taiyo-Yuden_MD-4040 | L1 |
| 1 | 220kR | Resistor_SMD:R_0402_1005Metric | R36 |
| 1 | 22kR | Resistor_SMD:R_0402_1005Metric | R55 |
| 1 | 300R | Resistor_SMD:R_1206_3216Metric | R7 |
| 1 | 390kR | Resistor_SMD:R_0603_1608Metric | R117 |
| 1 | 39kR | Resistor_SMD:R_0402_1005Metric | R16 |
| 1 | 4.7uF | Capacitor_SMD:C_0402_1005Metric | C32 |
| 1 | 4.7uF HV | Capacitor_SMD:C_0603_1608Metric | C102 |
| 1 | 4.7uH | Inductor_SMD:L_1008_2520Metric | L3 |
| 1 | 4.7uH | Inductor_SMD:L_Bourns_SRP7028A_7.3x6.6mm | L4 |
| 1 | 470pF | Resistor_SMD:R_0402_1005Metric | C61 |
| 1 | 47kR | Resistor_SMD:R_0603_1608Metric | R32 |
| 1 | 47nF HV | Capacitor_SMD:C_0603_1608Metric | C19 |
| 1 | 680pF | Capacitor_SMD:C_0603_1608Metric | C33 |
| 1 | 74HC595 | Package_SO:SOIC-16_3.9x9.9mm_P1.27mm | U11 |
| 1 | 750kR | Resistor_SMD:R_0603_1608Metric | R39 |
| 1 | AO3400A | Package_TO_SOT_SMD:SOT-23 | Q17 |
| 1 | B5819W | Diode_SMD:D_SOD-123 | D15 |
| 1 | BAV70 | Package_TO_SOT_SMD:SOT-23 | D4 |
| 1 | BQ24715 | Package_DFN_QFN:QFN-20-1EP_3.5x3.5mm_P0.5mm_EP2x2mm_ThermalVias | U3 |
The 324 most common of 351 parts.
Questions
How big is the Dc usv PCB?
It measures 140 × 100 mm and has 4 copper layers, 1.66 mm thick.
What parts does the Dc usv use?
351 parts, built around the 74HC595, AO4407A, MMBT3904 and AON7544. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.
Where can I download the Dc usv KiCad files?
From the TobleMiner/DC-UPS repository on GitHub, at the commit this page was made from: the board is dc-usv.kicad_pcb and its schematic backpanel/backpanel.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Can I use the Dc usv design in my own project?
Its repository publishes it under the CERN-OHL-P-2.0 licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).
Similar boards
- 4 layers82.5 × 65.5 mm

- 2 layers121 × 75.5 mm

Jlctest
cjheath/jlcbasic
JLC Basic parts library for Kicad fetched and converted from EasyEDA
46 parts5 - 4 layers194 × 40 mm

- 4 layers103 × 36 mm

- 2 layers166 × 70 mm

Prototype
SteveCooling/MidiKeys
Will be a complete board with decoders for multiplexed sampling of analog sources and up to 61-key keybeds
75 parts8MIT - 2 layers305 × 100.3 mm

- 2 layers267 × 300 mm

Output.Panel R0.5.1 300x300 2layer step1 Modified
rusefi/hw_microRusEfi
microRusEfi board for rusEfi ECU
2,371 parts98 - 4 layers88 × 30 mm
