BTP Report
BTP Report
Bachelor of Technology
By,
Anurag Gupta
120070029
Guide: Professor Mukul C. Chandorkar
𝑉𝑖𝑛 ∗ 𝐷 ∗ 𝑇 − 𝑉𝑜𝑢𝑡 ∗ (1 − 𝐷) ∗ 𝑇 = 0
𝑇: 𝑇𝑖𝑚𝑒 𝑝𝑒𝑟𝑖𝑜𝑑 𝑜𝑓 𝑠𝑤𝑖𝑡𝑐ℎ𝑖𝑛𝑔 𝑝𝑢𝑙𝑠𝑒
𝑉𝑜𝑢𝑡 𝐷
⇒ =
𝑉𝑖𝑛 1−𝐷
Figure 3: Primary voltage, primary current, secondary current and output voltage waveform for
PWM switching of flyback converter
To derive voltage gain expression, we can apply average voltage criteria on the primary side
of transformer (T1) to get
𝑁1
𝑉𝑖𝑛 ∗ 𝐷 ∗ 𝑇 − 𝑉𝑜𝑢𝑡 ∗ ∗ (1 − 𝐷) ∗ 𝑇 = 0
𝑁2
𝑉𝑜𝑢𝑡 𝑁2 𝐷
⇒ = ∗
𝑉𝑖𝑛 𝑁1 1 − 𝐷
2.1 Rating
Input: 85-265 VAC, 3.15 A.
Output: 15 V, 1 A.
During ON state, current flows from D to S. BP/M is used to decouple internal power supply
and to decide global limiting value of current from drain to source by appropriate choice of
capacitor between BP/M and S. An internal current limit state machine adaptively adjusts the
local current limit for different loads. EN/UV pin decides the state of switch based on feedback
from the output voltage. It can also be used to detect under-voltage on the input side and
shut down the MOSFET.
Figure 9: Variation in drain current limit for moderately heavy load (Source: Power Integrations)
Figure 10: Variation in drain current limit for very light load (Source: Power Integrations)
2.6 Schematic
Eagle 7.3 was used to design schematic (Fig. 8) for designed flyback converter.
Overall schematic can be understood by understanding its subparts as illustrated in Figure 12:
Full bridge rectifier followed by pi filter - Figure 14. Subpart corresponding to Figure 12
represents a full bridge rectifier followed by pi filter to generate unregulated DC supply. F1, a
fuse of rating 3.15 𝐴, breaks supply to circuit in the event of a fault. LED1 is meant to indicate
on/off state of input. IN4007, with rating of 700 V RMS voltage, was chosen for AC rectification
keeping in mind the maximum voltage across diodes.
Remaining subpart of the schematic represents a DC-DC flyback converter topology as shown
in Figure 14. Additional circuitry like 3.6 MΩ resistance facilitates under voltage protection;
additional bias winding on transformer provides overvoltage protection in the event of open
feedback loop faults; indicator LED indicates the state of output.
2.9 Application
Flyback converter, in this section, was designed for the purpose of driving IGBT gate from
output of module capacitor voltage in Modular Multilevel Converter (MMC). A MMC is a
power electronic device which can generate as many level of output voltage as the number
of modules in one leg. Functional diagram of a three phase MMC is illustrated in Figure 24.
Figure 24: Three phase Modular Multilevel Converter (Source: Modular Multilevel Converter,
Modulation and Control, Sreejith M.R.)
Figure 26: Full bridge cell of a MMC (Source: Modular Multilevel Converter, Modulation and Control,
Sreejith M.R.)
The problem with abovementioned technique for controlling gate drives is unstable voltage
imbalance across module output due to negative resistance characteristics of flyback
converter. Say, a small voltage imbalance of Δ𝑉 takes place across module 1 and module 2 of
limb 1. This creates a voltage 𝑉 + Δ𝑉 and 𝑉 − Δ𝑉 at the output of module 1 and module 2
respectively. Because of this small perturbation, more current will be drawn by flyback
converter from module 1 (negative resistance characteristics of flyback converter) and lesser
current will be drawn from module 2. This leads to further deterioration of voltage difference.
One way to circumnavigate the problem is by producing unregulated output in the range of
30-40 V from flyback converter followed by a linear regulator such as 7815. Section 2.9.2
discusses two possible types of modification in the existing flyback converter for
accommodating this feature.
The only drawback of this technique is increase in the number of components leading to high
cost of setup.
A second technique is proposed herein which eliminates the need of a P-MOSFET, a major
contributor to the total cost of previous setup. BP/M pin of TNY279 IC which provides the
utility of overvoltage protection is exploited here. When the required output of 35 V is
achieved, BP/M is shorted to pin S by use of an external N-MOSFET, thereby, shutting down
the IC. From then on, an external logic based on output voltage feedback, roughly regulates
the output in the range of 30 – 40 V. Although total number of components for the setup
remains the same, total cost reduces significantly because of replacement of P-MOSFET with
N-MOSFET which is lot cheaper. Figure 28 illustrates the schematic of second idea.
Figure 28: Modification version 2 of flyback converter feedback control
2.9.3 Challenges
Although design modifications in previous subsection eliminates the problem of instability, it
is inefficient due to use of linear regulator for high power application. Therefore, steps are
being undertaken to utilize a modified version of sorting algorithm for control.
3 Flyback converter for powering Nixie tubes
3.1 Nixie tubes
A nixie tube, or cold cathode display, is an electronic device for displaying numerals or other
information using glow discharge. It operates on 180 𝑉, 0.001 – 0.002 𝐴 input power source.
Here, in this section, we will design various dc-dc converter for powering nixie tube and
discuss their advantages and disadvantages.
3.2 Rating
𝑉𝑖𝑛 : 180 𝑉
𝐼𝑖𝑛 : 2 𝑚𝐴
Let us consider 10 % current ripple in magnetizing inductance. From this we can obtain that
value of inductance reflected on secondary side of transformer,
𝑉𝑜𝑢𝑡 + 1 10
∗ (1 − 𝐷) ∗ 𝑇 = ∗ 0.008
𝐿 100
⇒ 𝐿 = 1.13 𝐻
1.13 H of inductance will make the size of converter bulky, hence, we cannot proceed with
our design in CCM.
Figure 30: Voltage and current waveform for flyback converter in CCM
𝑉𝑝
∗ 𝐷 ∗ 𝑇 = 𝐼𝑝𝑝𝑒𝑎𝑘
𝐿𝑝
𝐷 = 0.15625
Note that obtained value of duty cycle is applicable for full load condition only. Therefore, a
closed loop control is mandatory for variable load. Figure 31 represents typical waveforms for
DCM operation at steady state. Similarly, capacitance values can be obtained by satisfying the
specification of 1% ripple in voltage.
Figure 31: Voltage and current waveform for flyback converter in DCM
3.3.3 Transformer design
Now that basic parameters for the design have been derived, we can focus on the design of
transformer. One of the popular method in literature for the design of high frequency
transformer is area product approach. We will use the same procedure for our design. We
know that
𝑑𝜙 Δ𝐵 ∗ 𝐴𝑐
𝑉1 = 𝑁1 ∗ ≈ 𝑁1 ∗
𝑑𝑡 𝐷∗𝑇
𝐷∗𝑇
⇒ 𝑁1 = 𝑉1𝑚𝑎𝑥 ∗
ΔB ∗ Ac
Δ𝐵: 𝐶ℎ𝑎𝑛𝑔𝑒 𝑖𝑛 𝑓𝑙𝑢𝑥 𝑑𝑒𝑛𝑠𝑖𝑡𝑦 (0.3 𝑇 𝑓𝑜𝑟 ℎ𝑖𝑔ℎ 𝑓𝑟𝑒𝑞𝑢𝑒𝑛𝑐𝑦 𝑐𝑜𝑟𝑒)
Similarly,
𝐷1 ∗ 𝑇
𝑁2 = 𝑉2𝑚𝑎𝑥 ∗
Δ𝐵 ∗ 𝐴𝑐
𝐷1 ∗ 𝑇
𝑁3 = 𝑉3𝑚𝑎𝑥 ∗
Δ𝐵 ∗ 𝐴𝑐
𝐷1 : 𝐹𝑟𝑎𝑐𝑡𝑖𝑜𝑛 𝑜𝑓 𝑎 𝑐𝑦𝑐𝑙𝑒 𝑓𝑜𝑟 𝑤ℎ𝑖𝑐ℎ 𝑜𝑢𝑡𝑝𝑢𝑡 𝑑𝑖𝑜𝑑𝑒 𝑖𝑠 𝑖𝑛 𝑐𝑜𝑛𝑑𝑢𝑐𝑡𝑖𝑛𝑔 𝑚𝑜𝑑𝑒
In order to get a successful design, our windings should fit in the given window area.
𝐼1 𝐼2 𝐼3
𝑖. 𝑒. 𝐾𝑤 ∗ 𝐴𝑤 = 𝑁1 ∗ 𝑎1 + 𝑁2 ∗ 𝑎2 + 𝑁3 ∗ 𝑎3 = 𝑁1 ∗ + 𝑁2 ∗ + 𝑁3 ∗
𝐽 𝐽 𝐽
𝐾𝑤 : 𝑝𝑎𝑐𝑘𝑖𝑛𝑔 𝑓𝑎𝑐𝑡𝑜𝑟 (0.4 𝑓𝑜𝑟 𝑡𝑟𝑎𝑛𝑠𝑓𝑜𝑟𝑚𝑒𝑟 𝑑𝑒𝑠𝑖𝑔𝑛)
𝐼1 : 𝑅. 𝑀. 𝑆. 𝑣𝑎𝑙𝑢𝑒 𝑜𝑓 𝑝𝑟𝑖𝑚𝑎𝑟𝑦 𝑐𝑢𝑟𝑟𝑒𝑛𝑡
𝐼2 : 𝑅. 𝑀. 𝑆. 𝑣𝑎𝑙𝑢𝑒 𝑜𝑓 𝑠𝑒𝑐𝑜𝑛𝑑𝑎𝑟𝑦 𝑐𝑢𝑟𝑟𝑒𝑛𝑡
𝐼3 : 𝑅. 𝑀. 𝑆. 𝑣𝑎𝑙𝑢𝑒 𝑜𝑓 𝑡𝑒𝑟𝑡𝑖𝑎𝑟𝑦 𝑐𝑢𝑟𝑟𝑒𝑛𝑡
𝐽: 𝐶𝑢𝑟𝑟𝑒𝑛𝑡 𝑑𝑒𝑛𝑠𝑖𝑡𝑦 (3 𝐴⁄𝑚𝑚2 )
𝐴𝑤 : 𝑊𝑖𝑛𝑑𝑜𝑤 𝑎𝑟𝑒𝑎 𝑜𝑓 𝑐𝑜𝑟𝑒
Substituting value of N1, N2 and N3 from previous equation, we get
1 4∗𝐷 4 ∗ (1 − 𝐷)
𝐾𝑤 ∗ 𝐴𝑝 ∗ 𝐽 ∗ Δ𝐵 ∗ 𝑓𝑠 = (𝑃𝑜2 + 𝑃𝑜3 ) ( ∗ √ +√ )
𝜂 3 3
𝜂: 𝑒𝑓𝑓𝑖𝑐𝑖𝑒𝑛𝑐𝑦 𝑜𝑓 𝑐𝑜𝑛𝑣𝑒𝑟𝑡𝑒𝑟 (≈ 90 %)
𝐼𝑟𝑚𝑠 4∗𝐷
=√ 𝑓𝑜𝑟 𝐷𝐶𝑀 𝑜𝑝𝑒𝑟𝑎𝑡𝑖𝑜𝑛
𝐼𝑎𝑣𝑔 3
On substituting values in equation above, we get 𝐴𝑝 = 538 𝑚𝑚4 . Standard table for
magnetic characteristics of ferrite core recommends use of EE20/10/5 core with 𝐴𝑝 =
1490 𝑚𝑚4 , 𝐴𝑤 = 47.8 𝑚𝑚2 , 𝐴𝑐 = 31 𝑚𝑚2. Now, we need to calculate R.M.S. values for
current waveforms.
𝐷𝑇 2
1 𝑉𝑖𝑛
𝐼1 = √∫ ( ∗ 𝑡) = 0.117 𝐴
𝑇 0 𝐿𝑝
𝑁1
𝐼2 = ∗ 𝐼 = 0.207 𝐴
𝑁2 1
𝑁1
𝐼3 = ∗ 𝐼 = 6.24
𝑁3 1
Using R.M.S. value obtained in previous step, we can re-verify that our winding fits in the
window area.
𝐼1 𝐼2 𝐼3
𝑖. 𝑒. 𝑁1 ∗ + 𝑁2 ∗ + 𝑁3 ∗ ≤ 𝐾𝑤 ∗ 𝐴𝑤 = 0.4 ∗ 47.8 = 19.12
𝐽 𝐽 𝐽
𝐷∗𝑇 320 ∗ 0.16525 ∗ 10−5
𝑁1 = 𝑉1𝑚𝑎𝑥 ∗ = ≈ 57
ΔB ∗ Ac 0.3 ∗ 31 ∗ 10−6
181
𝑁2 = ∗ 57 ≈ 32
320
6
𝑁3 = ∗ 32 ≈ 1
181
0.117 0.207 6.24
∴ 57 ∗ + 32 ∗ +1∗ = 10.927
3 3 3
As 10.927 < 19.12, winding will comfortably fit into available window area. We now need
to find air gap required to achieve required inductance using
𝐴𝑐
𝑙𝑔 = 𝜇0 ∗ 𝑁 2 ∗
𝐿𝑝
⇒ 𝑙𝑔 = 0.12 𝑚𝑚
Figure 35: Input current waveform for DCM operation at steady state
3.4.1 Design
Based on the design principle followed in Section 3.3.2.2, we can apply law of energy
conservation to obtain,
𝐷
𝑉𝑝 ∗ 𝑉𝑝 ∗ ∗ 𝐷 = 181 ∗ 0.002
2 ∗ 𝐿𝑝
⇒ 𝐷2 = 𝐿𝑝 ∗ 2896
To obtain 𝐿𝑝 , use the maximum input current limitation. Let’s keep 𝐼𝑝𝑝𝑒𝑎𝑘 = 0.3 𝐴 to be on
safer side i.e. to avoid current overshoot to exceed 0.5 A during transient. More on this will
be discussed in results section. Therefore,
𝑉𝑝
∗ 𝐷 ∗ 𝑇 = 0.3
𝐿𝑝
⇒ 𝐷 = 6000 ∗ 𝐿𝑝
1 4∗𝐷 4 ∗ (1 − 𝐷)
𝐾𝑤 ∗ 𝐴𝑝 ∗ 𝐽 ∗ Δ𝐵 ∗ 𝑓𝑠 = 𝑃𝑜2 ∗ ( ∗ √ +√ )
𝜂 3 3
0.623
⇒ 𝐴𝑝 = = 17.3 𝑚𝑚4
36000
Standard table for magnetic characteristics of ferrite core recommends use of EE20/10/5 core
with 𝐴𝑝 = 1490 𝑚𝑚4 , 𝐴𝑤 = 47.8 𝑚𝑚2 , 𝐴𝑐 = 31 𝑚𝑚2. Now, we need to calculate R.M.S.
values for current waveforms.
𝐷𝑇 2
1 𝑉𝑖𝑛
𝐼1 = √∫ ( ∗ 𝑡) = 0.21 𝐴
𝑇 0 𝐿𝑝
𝑁1
𝐼2 = ∗ 𝐼 = 5.81 𝑚𝐴
𝑁2 1
Using R.M.S. value obtained in previous step, we can re-verify that our winding fits in the
window area.
𝐼1 𝐼2 𝐼3
𝑖. 𝑒. 𝑁1 ∗ + 𝑁2 ∗ + 𝑁3 ∗ ≤ 𝐾𝑤 ∗ 𝐴𝑤 = 0.4 ∗ 47.8 = 19.12
𝐽 𝐽 𝐽
𝐷∗𝑇 5 ∗ 0.483 ∗ 10−5
𝑁1 = 𝑉1𝑚𝑎𝑥 ∗ = ≈3
ΔB ∗ Ac 0.3 ∗ 31 ∗ 10−6
181
𝑁2 = ∗ 3 ≈ 109
5
0.21 0.00581
∴3∗ + 109 ∗ = .421
3 3
As 0.421 < 19.12, winding will comfortably fit into available window area. We now need to
calculated air gap required to achieve given inductance using
𝐴𝑐
𝑙𝑔 = 𝜇0 ∗ 𝑁 2 ∗
𝐿𝑝
⇒ 𝑙𝑔 = 4.35 ∗ 10−3 𝑚𝑚
The last step is to find standard wire gauge for each winding and then the design process is
complete.
𝐼1
𝑎1 = = 0.07 𝑚𝑚2 ∴ 𝑆𝑊𝐺 = 30
3
𝐼2
𝑎2 = = 0.00194 𝑚𝑚2 ∴ 𝑆𝑊𝐺 = 45
3
3.4.3 Results
Flyback converter designed was simulated for full load in Simulink. Figure 36 depicts the
Simulink model for the designed flyback converter. 5 V input was fed from a dc source and a
closed loop control was implemented using PI controller block parameters 𝐾𝑝 and 𝐾𝐼 set to
.0001 and 0.1 respectively after successive trial and error method. Output error was given to
a PWM generator block for generating switching pulses for MOSFET. Small value of 𝐾𝑝 was
chosen to avoid large input current overshoot as output capacitor is uncharged at start. Plot
of output voltage and input current are shown in Figure 38 and Figure 40 respectively. With
chosen parameter values for PID block, input current is always less than maximum current
rating of USB port. Recapitulate that initial current is due to uncharged output capacitor which
causes secondary current even in the ON state of switch.
Figure 36: Simulink model of the closed-loop flyback converter
Figure 37: Output voltage waveform of the open loop flyback converter
3.5 Conclusion
For dc-dc converter with low output power requirement, as was in our case of Nixie tube
power supply, design in continuous conduction mode leads to high inductance value
requirement. Hence, it is advisable to design them in discontinuous conduction mode so as
to reduce inductance and make the hardware compact and economical. Further, DCM
operation results in lower input current requirement allowing use of thin wire for inductor
winding. Small input current also leads to increased efficiency of converter.
4 Reference
[1] https://www.power.com/sites/default/files/product-docs/tny274-280.pdf
[2] Modular Multilevel Converter: Modulation and control, Sreejith M.R.
[3] Pre-charging of Module Capacitors of MMC When the Module Switches are Driven by a
Source Derived from the Module Capacitor, Shamkant D. Joshi, M.C. Chandorkar, A. Shukla
[4] First course on Power Electronics and Drives, Ned Mohan