//******************************************** // // Parameters from User Input // //******************************************** //-------------- DC Input ----------------- Vin = 400 // operating input voltage Vin_rated = 400 // rated input voltage Vin_min = 390 // minimum input voltage Vin_max = 410 // maximum input voltage //-------------- Output Load ----------------- Vo = 420 // operating output voltage Vo_rated = 420 // rated output voltage Vo_min = 300 // minimum output voltage Vo_max = 420 // maximum output voltage Po_rated = 3300 // rated output power Io_rated=Po_rated/Vo_rated K_load = 1 // load percentage with respect to the rated load Q_rated = 0.4 // Q factor at the rated condition //-------------- Operating Conditions ----------------- f_res = 200000 // resonant frequency K_ind = 4 // parallel-to-series inductance ratio K_rel_freq = 0.8 // relative frequency factor for open-loop operation //******************************************** // // Parameters from Calculation // //******************************************** fsw = f_res*K_rel_freq // switching frequency fsw //-------------- Transformer and Load ----------------- a_sp = (Vo_max+Vo_min)/(2*Vin_rated); // Ns/Np ratio a_sp2 = a_sp*a_sp; Ro_rated = Vo_rated*Vo_rated/Po_rated; // rated load resistance Ro_rated_pri = Ro_rated/a_sp2; // Ro_rated referred to the primary side Ro = Ro_rated/K_load; // load resistance at the operating conditions //-------------- Resonant Circuit ----------------- // Minimum gain and maximum gain required G_dc_min = Vo_min/(a_sp*Vin_max) // minimum gain G_dc_max = Vo_max/(a_sp*Vin_min) // maximum gain // resonant inductance Ls = (Q_rated*Ro_rated_pri)/(2*pi*f_res); // resonant capacitance Cs = 1/(2*pi*f_res*Q_rated*Ro_rated_pri); // transformer magnetizing inductance Lm = K_ind*Ls; // Q value at the operating conditions // Q = Zo / R; Zo = sqrt(Ls/Cs) Q = sqrt(Ls/Cs)/(Ro/a_sp2);