Math formulas

Useful for linear PSU and audio

Most of these calculation will prove less accurate when simulated or protyped on the work bench.

Easy to use online Ohm's Law Calculator

Easy to use online E series of preferred numbers


Calculate output noise from LDO with gain

Output noise is typically proportional to the gain so we calculate from unity-gain configuration. From datasheet find these parameters:

Gain Factor = (5.1V / 1.2V) = 4.25
Noise at new gain = 40μV×(sqrt((5.1V / 1.2V))) ≈ 82.4 μV
Edit this calculation in DuckDuckGo online calculator


Calculate the reservoir capacitance

        C=I*t / ΔV     where:

3 amp load, 50Hz mains and 0.5 volt of ripple then
C = 3A*0.01s / 0.5V = 60,000µF
Edit this calculation in DuckDuckGo online calculator

It might be more useful to input required current and capacitor value and see what ripple voltage comes out from this.
V_PSRR = 3I * 0.01t / (33000μF / 1000000))
Edit this calculation in DuckDuckGo online calculator


Calculate the ripple suppression in LDO

        Vout = VRin / (10^(PSRR/20))

If datasheet say 53dB and ripple voltage is 0.1V then
Ripple Voltage = 0.1 / (10 ^ (53 / 20)) ≈ 0.000224V
Edit this calculation in DuckDuckGo online calculator

We can change this formula to also include the reservoir cap
µVT_PSRR = (((0.5I * 0.01t) / (20000μF / 1000000)) / (10^(53dB/20))) * 1000000 ≈ 600µV
Edit this calculation in DuckDuckGo online calculator


Calculate transformer secondary voltage from nominal voltage

These examples uses 6.3V nominal voltage.

Vdc = (2*6.3)/3.14159265359 = 4.01 V
Edit this calculation in DuckDuckGo online calculator

Vrms = 6.3*(sqrt(2)) ≈ 8.91 V
Edit this calculation in DuckDuckGo online calculator

Ripple faktor = Vr = Vpeak/Vdc = 6.3 / 4 = 1.575 V
Edit this calculation in DuckDuckGo online calculator


Transformer Series Resistance

Re = Rp / (Tr)² where

15 / ((240/5) ^ 2) = 0.0065Ω
Edit this calculation in DuckDuckGo online calculator

Total series resistance of the transformer = Secondary resistance + above calculation Source: https://sound-au.com/power-supplies.htm


Convert voltage to dBV

dBV = 20*log((1Vref*1000000000)/12.78nV) ≈ 157.9dBV
One can change the value of Vref to PSU output voltage to get dB with reference to actual implementation. This is not the same as dBV though.
Edit this calculation in Google online calculator
Simplified voltage to dBV could look like this where all numbers are in V.
20*log(1/0.00000001278) ≈ 157.9dBV
Edit this calculation in DuckDuckGo online calculator


Edit this calculation in DuckDuckGo online calculator


Comments

Your comment are welcome

Name:


Email: optional, will be hidden


Comment:    



Please do not make support question private as it brake with what this site is trying to do which is to share information to many with multiple contributors
All spam is reported adding to your international IP blocking quota.