Saved

Press the star next to a tool's name to save it.

All my tools

Capacitive Transformerless Power Supply Calculator

This capacitive transformerless power supply calculator finds the maximum load current, output voltage and series resistor power of a zener capacitor dropper.

Restored your last values ·

V
Hz
V
V
µF
Ω
mA

Enter the mains RMS voltage and frequency, the zener voltage, the forward drop of the second diode, the dropper capacitor in microfarads and the series resistor in ohms. Add a load current if you want to know whether the supply can deliver it.

Everything is worked out in your browser. Nothing you type is sent anywhere.

–

–

Fill in the mains voltage, frequency, zener voltage, diode drop, C1 and R1, then press Calculate.

See full result

This capacitive transformerless power supply calculator works out how much DC current a capacitor-dropper supply can give, the output voltage and the power in the series resistor. It follows the half-wave design with a zener clamp that Microchip describes in its application note AN954.

How to use the capacitive transformerless power supply calculator

  1. Enter the mains RMS voltage and frequency.
  2. Enter the zener voltage and the diode drop.
  3. Enter the capacitor C1 in microfarads and the resistor R1 in ohms.
  4. Add a load current if you want a check, then press Calculate.

Read this safety warning first

A transformerless supply has no transformer to isolate it from the mains. Microchip's note warns that an electrocution hazard exists when experimenting with such circuits, because nothing separates the circuit from the wall power [1]. It also lists the lack of isolation from the line voltage as a drawback [1]. We repeat the warning here. Treat every part of the circuit, including the output, as live, and use this tool for study only.

How the circuit works

In the circuit of the application note, a capacitor C1 and a resistor R1 are in series with the mains. A zener diode D1 sits across a rectifier made with a second diode D2, and a smoothing capacitor C2 holds the output [1]. The capacitor drops the mains voltage because its reactance limits the current. The zener then clamps the voltage that reaches the load.

Capacitor reactance

The current is limited by the reactance of C1, which is X_C1 = 1 ÷ (2π f C1) [1]. At 59.5 hertz with a 0.38 microfarad capacitor, the reactance is 7,039.1 ohms, our arithmetic from that equation. A larger capacitor or a higher frequency lowers the reactance and lets more current flow, which is why the capacitor value is the main design choice.

Maximum DC load current

The application note gives a voltage V_HFRMS = (√2 × V_RMS − V_Z) ÷ 2 and the input current as that voltage divided by (X_C1 + R1) [1]. Combined, the maximum DC current is (√2 × V_RMS − V_Z) ÷ (2 × (1 ÷ (2π f C1) + R1)). The load must draw no more than this current.

Output voltage

The output voltage is the zener voltage minus the forward drop of the second diode, V_OUT = V_Z − V_D [1]. With a 5.1 volt zener and a 0.6 volt drop, the output is 4.5 volts. The zener sets the output only while the load takes less than the available current; above that the output sags.

A worked example

Take 110 volts at 59.5 hertz, a 5.1 volt zener, a 0.6 volt drop, C1 = 0.38 microfarads and R1 = 517 ohms. The reactance is 7,039.1 ohms, the numerator is 155.563 − 5.1 = 150.463 volts, and the denominator is 2 × (7,039.14 + 517) = 15,112.3 ohms, so the current is 9.956 milliamperes at 4.5 volts. The application note's own first example prints a slightly different current, as the next section explains.

Microchip's own examples

The note's first example uses the same inputs but prints a minimum current of 10.4 milliamperes, which does not follow from its own equation, and the tool gives 9.96 milliamperes [1]. Its second example, 120 volts, a 5 volt zener, 60.1 hertz, 0.56 microfarads and 423 ohms, gives 15.99 milliamperes in the tool and 16.0 in the note, which agree [1].

Power in the series resistor

The full-wave current through R1 is I = V_RMS × 2π f C1, and its power is I² × R1 [1]. For the worked example, that is 15.63 milliamperes and 0.126 watts. The note advises ratings of at least twice the maximum power [1], so the tool shows 0.253 watts for that case. It also calls for a safety-rated capacitor for C1, an X2 class part rated 250 volts for a 120 volt supply [1].

Checking your load

Enter a load current to see whether the supply can deliver it. If the load wants more than the maximum current, the output voltage sags. The note's observations are that a 500 ohm load gives about 4.1 volts and a 270 ohm load fails [1]. The tool tells you when your load is above the limit, but it does not predict how far the voltage falls.

What the tool does not cover

The model is the half-wave zener design, not a general capacitor-dropper tool. It does not apply tolerances on its own, and the note works its examples at worst-case values, so enter the minimum and maximum part values yourself. The note does not deal with surge protection, capacitor failure or inrush beyond R1 limiting it, and Microchip states that its text does not give everything needed to meet UL requirements [1].

Choosing the inputs

The frequency, the mains voltage and the capacitance are the three numbers that matter most. The reactance of the same capacitor is lower at 60 hertz than at 50 hertz, in the ratio of 5 to 6, which is our own arithmetic from the reactance formula. The application note works its examples at worst-case values [1], so a careful study uses the lowest expected mains voltage and frequency and the lowest capacitance after tolerance, and then repeats the calculation with the highest values to see how wide the spread is.

Reading the results

The reactance line shows how strongly the capacitor limits the current. The load current line is the figure to compare with your load, and the output voltage line holds only while the load stays below that limit. The resistor line gives the current through R1 and the power, with the doubled figure for the rating. If you add a load current, the check line says whether the supply is enough. If the peak mains voltage does not exceed the zener voltage, the tool reports that the values are outside its range.

Common mistakes

  • Treating it as safe to touch. There is no isolation, so the whole circuit can be at mains potential.
  • Entering the capacitor in the wrong unit. C1 goes in microfarads.
  • Ignoring tolerance. Enter the worst-case part values.
  • Choosing a small resistor rating. Use at least twice the calculated power.

What next

Use this often? Add Capacitive T to your Home screen.

Frequently asked questions

What is a capacitive transformerless power supply calculator?

A tool that finds the load current, output voltage and resistor power of a capacitor dropper supply from the mains voltage, frequency, zener voltage and the values of C1 and R1.

Is a transformerless power supply safe?

No. It has no isolation from the mains, so any part of the circuit, including the output, can be at line voltage.

What formula gives the maximum current?

Current = (√2 × V_RMS − V_Z) ÷ (2 × (1 ÷ (2π f C1) + R1)), as in Microchip's application note AN954.

Why does the tool give 9.96 mA instead of the 10.4 mA in the note?

The note's first example prints 10.4 mA, but its own equation gives 9.96 mA for those inputs, and the tool follows the equation.

What power rating should R1 have?

At least twice the calculated dissipation, as the application note advises.

What went wrong?

We only receive the reason you pick, never what you typed into the tool.

Thanks for your feedback.

More Physics & Science Tools