V1.0Design Calculations4 min readSep 28, 2026

Flyback Transformer Parameter Calculation

Complete calculation chain from AP core selection to Lp / Np / turns ratio / winding currents / losses, with a fully worked 30W example

Select the core bobbin: see 'Derivation of the High-Frequency Transformer AP-Method Formula'

AP>= Ae*Aw = Pin*104/(2*Ku*Kf*fs*ΔB*J), unit is CM4

AP is the basis for core selection, Ae is the core cross-sectional area, Aw is the core window area,

01Pin is the power supply input power, generally 1.15*Pout (based on 85% efficiency)
02Ku is the share factor of the primary winding in the core window, generally Ku = 0.3;
Kf is the switching waveform factor; Kf = 1.0 for a square wave

fs is the power supply switching frequency, determined by the main control circuit; take the minimum operating frequency at full load

ΔB is the flux density change; for core materials commonly used in flyback supplies, ΔB = 0.2~0.25 J is the current density, generally J=300~350 A/cm²

Quick approximation of flyback transformer AP value at 80kHz: AP >= Pin/360, unit is CM4

For the 30W case:

AP >= 34/360=0.094 cm² From the core datasheet, EE1910B has Ae=0.52cm², Aw=0.44cm², AP=0.228 cm4

Calculate the primary winding inductance Lp, turns Np, and flux density change ΔB,

Primary winding inductance Lp calculation (based on the inductor energy storage formula + inductor voltage formula)

Lp = Vdc_min*Vdc_min*Dmax*Dmax / (2*Pin*fs) (this formula applies to critical mode and QR mode) Quick calculation: Lp=kf*16/Pin (mH), based on AC90V input critical mode, D=0.4; frequency factor kf=80/fs

Note: If the actual transformer Lp is smaller than the calculated value, it means the actual duty cycle at AC90V is below 0.4,

e.g. at D=0.3 the theoretical Lp would be only 56% of that at 0.4. A small duty cycle increases the RMS

currents of both primary and secondary, reducing power supply efficiency.

Primary winding turns Np calculation

Np = Vdc_min*Dmax / (Ae*fs*ΔB), ΔB is recommended to be 0.25 Quick calculation: Np=kf*25/Ae, based on AC90V input critical mode D=0.4, kf as before, Ae in cm2

Note: Once the core cross-section Ae, operating frequency fs and duty cycle Dmax are fixed, the primary turns Np depend only on ΔB.

If the actual primary turns are fewer than the theoretical value, ΔB increases and the transformer core loss grows.

For a given Lp and Dmax, the actual operating ΔB= Vdc_min*Dmax / (Ae*fs) can be computed.

For the 30W case at an 80kHz operating frequency:

Lp = 1*16/34 =0.47 mH; Np = 1*25/0.5= 50 Actual unit: Lp=420uH, Np=48, basically meeting the design requirements

Calculate the primary/secondary turns ratio Np_s and secondary turns Ns

Primary/secondary turns ratio calculation, based on transformer volt-second balance; the duty cycle is maximum at the lowest DC input voltage,

Np_s = Vdc_min*Dmax /(Vout*(1- Dmax)); clearly the ratio is inversely proportional to output voltage and independent of output power

Quick calculation: Np_s=85/Vout, valid when D=0.4

Np_s=104/Vout, valid when D=0.45 Ns = Np*Np_s

Calculate the auxiliary/secondary turns ratio Na_s and auxiliary turns Naux

According to the operating voltage VDD required by the control IC, Vaux is generally chosen as the middle of the VDD operating range,

Na_s = Vaux / Vout, Naux = Ns*Na_s

for example, the VDD supply voltage range of the JW1520AC controller is 8~28V

Vaux takes the middle value 18, Na_s = 18/8 = 2.25, Naux = 2.25*12 = 27

Calculate primary/secondary peak currents Ip_max, Is_max and RMS currents Ip_rms, Is_rms

Although the operating currents of the transformer windings are not physical parameters needed for making the transformer,

computing the theoretical winding currents is essential for checking the transformer current waveforms and calculating copper loss heating.

Ip_max = 2*Pin/(Vin_dc*D) (derived from the inductor voltage formula U=L*dI/dt, based on critical mode) Ip_rms = Ip_max*(D_pr/3)0.5, where D_pr is the triangular current waveform time/T on the primary side Is_max = Ip_max*Np_s Is_rms = Is_max*((D_sec)/3)0.5, where D_sec is the triangular current waveform time/T on the secondary side

Calculate the transformer losses

See 'Electromagnetic Loss Calculation for Power Inductors and Transformers'

Copper loss Pcu= Irms *Irms* Rdc * Fr; skin factor Fr is 1.1~1.5, see the referenced article Core loss Pcore= K*fsa*Bb*Ve, where fs is frequency, B is the flux density change, Ve is the core volume

K, a, b are constants; refer to the manufacturer datasheet. Reference values for the PC95 core:

K=1.5×10⁻⁶、a=1.25、b=2.55

f in kHz, Bac in mT, Ve in cm3, Pcore in mW

Quick estimate (B=0.25, f=80k): Pcore=468*Ve (mW) = 0.47*Ve (W) (B=0.20,f=80k)Pcore=267*Ve (mW ) = 0.27*Ve (W)

For the 30W (20V 1.5A) case:

Ip_rms=0.65A,Is_rms=5.7A,Rp=0.86R ,Rs=0.02R ,Ve=0.903 ,B=0.25 Copper loss = Ip_rms*Ip_rms*Rp*1.1 + Is_rms*Is_rms*Rs*1.3 =065*0.65*0.86*1.1+5.7*5.7*0.02*1.3=0.4+0.84=1.24W Core loss = K*fsa*Bb*Ve

= =0.42W

All Tech Articles
Request a quote