Skip to the content
PCBKitNew board
2 layers110.5 × 90.8 mmTeslaSMPS, the printed circuit board in 3D

DIY: High Voltage Range Switching Mode Power Supply for Embedded and Solar systems

Size
110.5 × 90.8 mm
Copper layers
2
Thickness
1.6 mm
Parts
112
Nets
53
Pads
219
Tracks, vias
532, 46
Pours
20
Routed
Yes
KiCad
KiCad 8.0 (file 20240108)
Created
8 Jun 2024
Updated
1 Jul 2026

Overview

TeslaSMPS is an open-source printed circuit board by devfabiosilva, from the devfabiosilva/TeslaSMPS repository on GitHub, published under the Unlicense licence. It is a 2-layer board of 110.5 × 90.8 mm with 112 parts on 53 nets, routed with 532 tracks and 46 vias.

It is built around the LTV-817, FR103 and FR107, with the 2SK1317-E and UF5404 among its other parts. Its parts include 37 resistors, 22 diodes, 19 capacitors, 3 connectors and 2 ICs. It belongs with the power and home automation and IoT boards of this library.

Main components

5

README

README.md

TeslaSMPS

DIY: High Voltage Range Switching Mode Power Supply for Embedded / Solar and industrial systems

2026 KiCad Design Contest

Sponsored by PCB Way. See details here

Old handmade version 2015

Brief description

This is a DIY WVR-SMPS (Wide Voltage Range Switching Mode Power Supply) or simply Tesla SMPS is a wide range and high voltage input for low power embedded systems. This device allows input voltage as low as 100 VAC and as high as 820 VAC in wide frequency range (45 − 450 Hz) or even in DC voltage as low as 142 VDC and as high as 1,160 VDC using only 3 transistors

State of the art

Basic Block diagram

PCB Version

You can find PCB version in:

Specifications

Input Voltage:

AC 100 ~ 820 Volts (45 - 450 Hz)

DC 142 ~ 1,160 Volts

Output Voltage:

DC 25.8 Volts (Insulated)

Input Power

AC: 46 Va

DC: 34.3 W

Eficiency

0.78 @ 180 VDC / 127 VAC

0.70 @ 500 VDC / 350 VAC

0.65 @ 1,160 VDC / 820 VAC

THD

0.75

Insulation

3,600 Volts

Inrush current

42.6 Ampères @ 1,160 Volts

(I^2)s Value

0.38 A^2-seconds

Primary coil value

1.1 mH

Primary coil peak current

933 mA

Features

  • Supply for low power Embedded or Solar Systems (max. power 20W)
  • Safe high insulation for output voltage (max. 3,600V)
  • Limited inrush current 42.6 A @ 1,160 Volts DC (0.38 A^2.s)
  • High frequency range in AC operation (45 − 450Hz)
  • AC/DC operation
  • Static short circuit/overload protection
  • Under voltage protection
  • Low cost components (only 3 active elements!)
  • Startup circuit
  • Limited ID (current drain) monitor
  • Secondary side grounded for security

BEFORE YOU BEGIN:

Remember: SAFETY FIRST

:skull::skull::skull: DANGER :skull::skull::skull:

This power supply works with very high voltage input. Care MUST be taken to avoid any personal injuries or death

  • When power on high voltage, keep clear from input voltage cable.

  • For input voltages above 300 Vac/Vdc negative output MUST be grounded with 10 Ohms impedance or less

  • Keep in mind that this circuit stores high voltage even when power cord is off. If you want to repair or clear this SMPS wait at least 1 minute after remove power supply cord. Check test points TP1 (Cathode) and TP2 (Anode) pins with Voltimeter in scale 1,000 Vdc after touch or repair this circuit.

  • This device has security circuit for under voltage, short circuit and overload. When one of these events occurs, this SMPS will stop working and we need to disconnect power cord, remove the problem and then wait 30 seconds to turn on power cord again. NOTICE: NEVER touch or open this circuit if one of these events occurs EVEN if you disconnected this device from power cord.

Building the transformer using recycled materials

You will need to rewind the transformer following these steps

Step 1

  • Find an old ATX power PCB

Step 2

  • Disassemble the transformer core

You can use a EI or EE type ferrite core

reference 1

reference 2

Step 3

  • Take the spool out of the core

Step 4

  • Rewind the transformer spool

  • Rewinding turns:

  • A - 4 turns (Secondary coil) (5 x 0.1 mm diameter *)

  • B - 30 turns (Primary coil) (3 x 0.05 mm diameter *)

  • C - 5 turns (Positive feedback coil) (0.1 mm diameter)

  • D - 4 turns (Control circuit supply) (0.1 mm diameter)

* Primary and secondary coil skin effect. Just interlace 3 x 0.05 mm copper wires and rewind the primary transformer spool and 5 x 0.1 mm copper wires in secondary coil

See example below:

4 x 0.1mm interlaced wire

LAYERS AND INSULATORS

INSULATION (WARNING !!!)

It is EXTREMELY IMPORTANT to insulate high voltage from secundary side. To do this you will need 6 layers of insulating tape to insulate 3.6 kV. Thus:

Transformer spool cross section example:

Primary coil winding

Control circuit supply and control circuit supply

Finishing insulation

Creating the core gap:

Flyback topology needs a core gap due to high peek flux to avoid saturation of the ferrite coil

So we need to create one approx. 120um core gap using a non magnetic material. E.g.: a piece of paper

Take a A4 paper

Cut a piece of paper

Fix the piece of paper in transforme core

Close the transformer core

Finally your transformer is ready to work in your Tesla SMPS

Contact

Feel free to contact me at fabioegel@gmail.com

Sponsors

This project is sponsored by PCBWay

References

Parts

112
QtyValueFootprintReferences
81N4007Diode_SMD:D_SMA_HandsolderingD15, D16, D17, D18, D19, D20, D21, D22
8FR103Diode_SMD:D_SMA_HandsolderingD3, D5, D7, D8, D9, D10, D11, D12
46R8/3WResistor_THT:R_Axial_DIN0516_L15.5mm_D5.0mm_P7.62mm_VerticalR32, R33, R36, R37
4CP_Radial_D16.0mm_P7.50mmCapacitor_THT:CP_Radial_D16.0mm_P7.50mmC3, C15, C16, C17
3100k/2WResistor_THT:R_Axial_DIN0516_L15.5mm_D5.0mm_P7.62mm_VerticalR29, R30, R31
218kResistor_SMD:R_0402_1005MetricR4, R24
2220uF/35VCapacitor_THT:CP_Radial_D8.0mm_P3.50mmC1, C9
22N2222Package_TO_SOT_THT:TO-92T2, T3
22k2Resistor_SMD:R_0402_1005MetricR3, R6
239kResistor_SMD:R_0402_1005MetricR5, R14
23M3Resistor_THT:R_Axial_DIN0411_L9.9mm_D3.6mm_P7.62mm_VerticalR34, R35
23k3Resistor_SMD:R_0402_1005MetricR15, R25
2FR107Diode_SMD:D_SMA_HandsolderingD4, D6
2FuseFuse:Fuse_Bourns_MF-RHT1000F1, F2
2LTV-817Package_DIP:DIP-4_W7.62mm_LongPadsU1, U2
2NCCapacitor_THT:C_Disc_D3.4mm_W2.1mm_P2.50mmC4, C8
10 Vfmodules:1pinTP1
10.22uF/25VCapacitor_THT:CP_Radial_D4.0mm_P2.00mmC14
11,160 Voltsfmodules:1pinTP2
1100R/1WResistor_THT:R_Axial_DIN0414_L11.9mm_D4.5mm_P5.08mm_VerticalR1
1100nFCapacitor_THT:C_Disc_D3.4mm_W2.1mm_P2.50mmC13
112V/0.4WDiode_SMD:D_SOD-323FD13
112kResistor_SMD:R_0402_1005MetricR27
1150R/5WResistor_THT:R_Axial_DIN0617_L17.0mm_D6.0mm_P7.62mm_VerticalR11
1150kResistor_SMD:R_0402_1005MetricR28
1180kResistor_SMD:R_0402_1005MetricR17
11R/1WResistor_THT:R_Axial_DIN0414_L11.9mm_D4.5mm_P5.08mm_VerticalR9
11R5/3WResistor_THT:R_Axial_DIN0614_L14.3mm_D5.7mm_P5.08mm_VerticalR16
11kResistor_SMD:R_2010_5025Metric_Pad1.40x2.65mm_HandSolderR22
11mHInductor_THT:L_Toroid_Vertical_L13.0mm_W6.5mm_P5.60mmL1
11n5/2kVCapacitor_THT:C_Disc_D10.0mm_W2.5mm_P5.00mmC10
11nF/1kVCapacitor_THT:C_Disc_D10.0mm_W2.5mm_P5.00mmC5
122RResistor_SMD:R_0402_1005MetricR21
122uF/25VCapacitor_THT:CP_Radial_D5.0mm_P2.50mmC12
127kResistor_SMD:R_0402_1005MetricR19
127nF/400VCapacitor_THT:C_Disc_D7.5mm_W4.4mm_P5.00mmC6
12N5262Package_TO_SOT_THT:TO-92D14
12SK1317fmodules:F_TO-3P-3_VerticalT1
12k2/(1/2W)Resistor_THT:R_Axial_DIN0309_L9.0mm_D3.2mm_P2.54mm_VerticalR13
12n2/2kVCapacitor_THT:C_Disc_D10.0mm_W2.5mm_P5.00mmC18
1330RResistor_SMD:R_0402_1005MetricR23
1390RResistor_SMD:R_0402_1005MetricR12
14k7Resistor_SMD:R_0805_2012MetricR8
14k7/2WResistor_THT:R_Axial_DIN0617_L17.0mm_D6.0mm_P5.08mm_VerticalR10
14n7/250VCapacitor_THT:C_Disc_D10.0mm_W2.5mm_P5.00mmC2
14n7/2kVCapacitor_THT:C_Disc_D10.0mm_W2.5mm_P5.00mmC19
14u7/35VCapacitor_THT:CP_Radial_D5.0mm_P2.50mmC7
16.8kResistor_SMD:R_0402_1005MetricR26
16k8Resistor_SMD:R_0805_2012MetricR2
1820pFCapacitor_THT:C_Disc_D3.4mm_W2.1mm_P2.50mmC11
182k/3WResistor_THT:R_Axial_DIN0516_L15.5mm_D5.0mm_P7.62mm_VerticalR18
18k2Resistor_SMD:R_0402_1005MetricR20
1F_CHOKEfmodules:F_CHOKEFL1
1LOGOfmodules:teslaG***
1LOGOfmodules:F_CAUTION_BG***
1LOGOfmodules:F_DANGERG***
1Line1fmodules:F_PINP1
1Line2fmodules:F_PINP2
1NCResistor_SMD:R_0402_1005MetricR7
1OUTPUT: 25.8 VDC/20 WConnector:FanPinHeader_1x03_P2.54mm_VerticalJ1
1POWERLED_THT:LED_D5.0mmD2
1TL431LPPackage_TO_SOT_THT:TO-92_InlineREF1
1Transformermodules:F_TRTr1
1UF5404Diode_THT:D_DO-201AD_P5.08mm_Vertical_AnodeUpD1

The 97 most common of 112 parts.

Questions

How big is the TeslaSMPS PCB?

It measures 110.5 × 90.8 mm and has 2 copper layers, 1.6 mm thick.

What parts does the TeslaSMPS use?

112 parts, built around the LTV-817, FR103, FR107 and 2SK1317-E. 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 TeslaSMPS KiCad files?

From the devfabiosilva/TeslaSMPS repository on GitHub, at the commit this page was made from: the board is 03-smd-project/tesla_smps.kicad_pcb and its schematic 03-smd-project/tesla_smps.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the TeslaSMPS design in my own project?

Its repository publishes it under the Unlicense 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

  • 2 layersPower driver, the printed circuit board in 3D

    Power driver

    MakerMylo/Embroiderino

    Forked from an old gitlab repo to hold on to forever.

    24 parts1GPL-3.0
  • 2 layers130 × 115 mmTp4potencia, the printed circuit board in 3D

    Tp4potencia

    enriquewph/potenciatp4

    Fuente Conmutada 50W 24V 2.4A de la cátedra Electrónica de Potencia - Grupo 3 - 5R2

    88 parts
  • 2 layers130 × 180 mmNotebook, the printed circuit board in 3D

    Notebook

    Sirawit7205/stm32-notebook

    An STM32 dev board that is also a notebook cover.

    236 parts17
  • 4 layers70 × 45 mmEmanresu G431, the printed circuit board in 3D

    Emanresu G431

    EmanresuEmanreztuneb/SimpleFOC_G431_Motordriver

    A motordriver based in STM's G431 Drone ESC.

    112 parts3
  • 2 layers98.8 × 85.2 mmHub, the printed circuit board in 3D

    Hub

    maxime-leblan/Projet-VigiZone-E3-2026-ESIEE-Paris

    VigiZone est un système de prévention anti-collision entre engins et piétons dans le BTP. Réalisé dans le cadre de notre projet de fin d'année en 1ère année du cycle ingénieur à ESIEE Paris.

    34 parts2BSD-2-Clause
  • 4 layers89.8 × 41.5 mmBldcDriver, the printed circuit board in 3D

    BldcDriver

    dwanpo/balancer

    211 parts1
  • 2 layers99.7 × 48.8 mmAC DC Wandler, the printed circuit board in 3D

    AC DC Wandler

    MoElashmawi/Flyback-AC-DC-Converter

    Flyback AC-DC Converter (230V AC to 12V DC) — Full SMPS design using VIPer22A PWM Controller. Schematic, PCB layout & 3D render in KiCad.

    34 parts1MIT
  • 4 layers100 × 175 mmKiCad PDM, the printed circuit board in 3D

    KiCad PDM

    NonthapatC/RapidAmentePDM

    329 parts1