Professional Documents
Culture Documents
Dissertation Report
On
Submitted by
Vikram Sadashiv Rathod
Master of Technology
(2016 - 2017)
A
DISSERTATION REPORT
ON
Submitted by
Vikram Sadashiv Rathod
Master of Technology
(Electrical Power Systems)
(2016 - 2017)
CERTIFICATE
Place: Karad.
Date:
Principal
Government College of Engineering,
Karad.
DECLARATION
I hereby declare that I have formed, completed and written the dissertation entitled
submitted for the basis of the award of any Degree or Diploma or other similar title for any
Place: Karad
Date:
External Examiner:
Place: Karad
Date:
INDEX
List of Symbols I
List of Abbreviations II
List of Tables V
1 INTRODUCTION 1
2 LITERATURE SURVEY 4
2.1 Necessity 11
2.2 Theme 12
2.3 Objectives 12
2.4 Organization of Report 12
3 CONVERTER TOPOLOGIES 13
3.1 Power Electronics 13
3.2 Switches 13
3.2.1 Power MOSFETs 13
3.3 Basic of DC-DC Converter 15
3.3.1 Principle of Chopper Circuit 15
3.4 Switching Methods for DC-DC Converter 16
3.4.1 Hard Switching Topologies 17
4 SOFT SWITCHING OPERATION OF PROPOSED CONVERTER 23
4.1 Soft Switching Topologies 23
4.2 Types of Soft Switching Techniques 23
4.2.1 Zero Voltage Switching (ZVS) 23
4.2.2 Zero Current Switching (ZCS) 24
4.3 Proposed ZVT-ZCT-PWM Boost Converter 25
4.4 Operating modes of the converter 26
5 PERFORMANCE ANALYSIS 34
5.1 Analysis of Proposed Converter 34
5.2 Simulation of Proposed Boost Converter 35
5.3 Simulation Results 37
5.4 Hardware Implementation 40
5.4.1 Block Diagram of Hardware Prototype 40
5.4.2 Hardware Layout of ZVT-ZCT-PWM Boost Converter 41
5.4.3 Power Supply 41
5.4.4 Microcontroller (PIC 16F877A) 42
5.4.5 Isolation Circuit (Opto-coupler) 45
5.4.6 Liquid Crystal Display (LCD) RG1602A 46
5.4.7 Power MOSFET 47
5.5 Design parameter of boost converter 49
5.6 Hardware Results and discussion 52
5 CONCLUSION AND FUTURE SCOPE 53
6.1 Conclusion 53
6.2 Future Scope 53
References
Acknowledgement
Appendix
List of Symbols
Symbol Illustration
Ton Turn on time
Toff Threshold Voltage
DF Freewheeling Diode
F Operating Frequency
T Chopping Period
L Inductor
C Capacitor
R Resistance
S Switch
Vin Input Voltage
Vout Output Voltage
Lr Resonance Inductor
fsw Switching Frequency
LF Main Inductor
Vo output voltage
CF output filter capacitor
Ls Snubber inductor
Cs Snubber capacitor
Cr parasitic capacitor
I
List of Abbreviations
Abbreviations Illustration
AC Alternating Current
DC Direct Current
ZVS Zero Voltage Switching
ZCS Zero Current Switching
ZVZCS Zero Voltage Zero Current Switching
DGA Dissolved Gas Analysis
PWM Pulse Width Modulation
ZCT Zero Current Transition
ZVT Zero Voltage Transition
IGBT Insulated Gate Bipolar Transistor
Metal Oxide Semiconductor Field Effect
MOSFET
Transistor
BJT Bipolar Junction Transistor
GTO Gate Turn Off Thyristor
SEPIC Single Ended Primary Inductor Converter
PV Photo Voltaic
PSM Phase Shift Modulation
LED Light Emitting Diode
Programmable and Erasable Read Only
PEROM
Memory
II
List of Figures
4.4(a) Mode 1 26
4.5(b) Mode 2 27
4.6(c) Mode 3 27
4.7(d) Mode 4 28
4.8(e) Mode 5 28
III
4.9(f) Mode 6 29
4.10(g) Mode 7 30
4.11(h) Mode 8 31
4.12(i) Mode 9 31
4.13(j) Mode 10 32
4.14(k) Mode 11 32
5.5 Output Current Vs Time across main switch with snubber circuit 37
5.10 5 V DC Supply 41
5.11 12 V DC Supply 42
IV
V
List of Tables
V
Implementation of ZVT-ZCT-PWM Boost Converter
CHAPTER 1
INTRODUCTION
The modernization of industries and growing green power technologies raises the
demand of power electronic interfaces rapidly with the objective of improved efficiency,
compact size, and reduction in system cost with better power quality of supply.
Power electronics is the field of electrical engineering related to the use of
semiconductor devices to convert power from the form available from a source to that
required by a load. The load may be AC or DC, single-phase or three-phase, and may or
may not need isolation from the power source. The power source can be a DC source or
an AC source (single-phase or three-phase with line frequency of 50 or 60 Hz), an
electric battery, a solar panel, an electric generator or a commercial power supply. A
power converter takes the power provided by the source and converts it to the form
required by the load.
A power electronic system consists of one or more power electronic converters. A
power electronic converter is made up of power semiconductor devices controlled by
integrated circuits. The switching characteristics of power semiconductor devices permit
a power electronic converter to shape the input power of one form of power to the other.
The static power converters perform this operation very efficiently. The power electronic
converters are classified into five types. The power electronic converter can be AC-DC
converter, a DC-DC converter, a DC-AC inverter, diode rectifiers or an AC-AC
converter depending on the application [28].
Modem AC-DC power supplies utilize power factor correction in order to
minimize the harmonics in the input current drawn from the utility. The Boost topology
is the most popular topology for power factor correction today but it has some
disadvantages like very high EMI due to reverse recovery of the boost diode and high
switching losses caused by hard switching of the boost switch. Many variations of the
original boost topology have been suggested to overcome these problems. The Zero
Voltage Transition Boost converter is one such solution. In such a converter an auxiliary
resonant circuit is employed which is activated only when the boost switch is turning on
or off. This auxi1iary circuit allows the boost switch to turn on and off under zero
voltage conditions thus reducing the switching losses. However the auxiliary circuit
might be very complex and conduction losses in it might offset the expected rise in
reduction in size and weight, it required to operate converter at high switching frequency.
dc-dc boost converter are used in regenerative braking of DC motors, Low power boost
converters are used in portable device applications, switching regulator circuit in highly
efficient white LED drives etc. However, high-frequency operation results in increased
switching losses, higher electromagnetic interference (EMI), and lower converter
efficiency. Especially, at high frequencies and high power levels, it is necessary to use
soft-switching techniques to reduce switching losses [1]–[22].
CHAPTER 2
LITERATURE SURVEY
high current, and therefore are not suitable for high power applications. Novel ZCT
schemes proposed in this paper enable all main switches and auxiliary switches to be
turned on and off under zero current conditions. The zero-current switching at both turn
on and turn-off not only reduces switching losses significantly, but also eliminates the
necessity of passive snubbers due to the much reduced switch stress. The cost of the
auxiliary switches can be reduced compared to the existing ZCT schemes due to their
zero-current turn-of .The proposed technology is well suited for dc-de and three-phase
converters with IGBTs, MCTY and GTOs. Theoretical analysis, computer simulation
and experimental results are presented to explain the proposed schemes.
J. G. Cho, J. W. Baek, G. H. Rim, and I. Kang presented Novel zero-voltage-
transition (ZVT) pulse-width modulation (PWM) multiphase converters are presented.
To construct a ZVT multiphase converter in a conventional way, it is necessary to add
the auxiliary circuits with as many numbers of phases. In the proposed converter, only
one auxiliary circuit provides the zero-voltage switching (ZVS) for main switches and
diodes of all phases. So, the new converters are cost effective and attractive for high-
performance and high power-density conversion applications. Operation, features, and
characteristics of the two-phase buck converter are illustrated and verified on a 4-kW
100-kHz insulated gate bipolar transistor (IGBT)-based (a MOSFET for the auxiliary
switch) experimental circuit.
C. J. Tseng and C. L. Chen proposed an active snubber cell is proposed to
contrive zero voltage- transition (ZVT) pulse width-modulated (ZVT-PWM)
converters. Except for the auxiliary switch, all active and passive semiconductor
devices in a ZVT-PWM converter operate at zero-voltage-switching (ZVS) turn on and
turn off. The auxiliary switch operates at ZVS turn off and near zero-current-switching
(ZCS) turn on. An analytical study on a boost ZVT-PWM converter with the proposed
active snubber cell is presented in detail. A 750-W 80-kHz prototype of the boost ZVT-
PWM converter has been built in the laboratory to experimentally verify the analysis.
Six basic ZVT-PWM converters can be easily created by attaching the proposed active
snubber cells to conventional PWM converters. A detailed design procedure of the
proposed active snubber cell is also presented in this paper.
V. Grigore and J. Kyyra proposed An auxiliary circuit (consisting of one
active switch and some reactive components) is added to the original Buck converter.
The auxiliary circuit is inactive during the ON and OFF intervals of the main switch in
the normal Buck converter. However, the transitions between the two states are
controlled by the auxiliary circuit. Prior to turn-on, the voltage across the active switch
in the Buck converter is forced to zero. Thus, the turn-on losses of the active switch are
practically eliminated. At turn-off the auxiliary circuit behaves like a non-dissipative
passive snubber, reducing the turn-off losses to a great extent. Zero-Voltage-Transition
switching technique almost eliminates switching losses. The active switch operates
under ZVT conditions, the passive switch (diode) has a controlled reverse recovery, and
the switch in the auxiliary circuit operates under Zero- Current-Switching (ZCS)
conditions.
K. M. Smith and K. M. Smedley presents general topological and electrical
properties common to all lossless passive soft-switching converters with defined
characteristics and proposes a synthesis procedure for the creation of new converters.
The synthesis procedure uses the properties to determine all possible locations for the
resonant inductors and capacitors added to achieve soft switching. Then a set of circuit
cells is used to recover the energy stored in these resonant elements. This paper also
explains the operation of the circuit cells and the many new passive lossless soft-
switching converters. A family of soft-switching boost converters is given as an
example of the synthesis procedure. Experimental waveforms are shown for a new soft-
switching Cuk converter.
C. M. de O. Stein and H. L. Hey introduces a true zero-current and zero-
voltage transition (ZCZVT) commutation cell for dc–dc pulse width modulation
(PWM) converters operating with an input voltage less than half the output voltage. It
provides zero-current switching (ZCS) and zero-voltage switching (ZVS)
simultaneously, at both turn on and turn off of the main switch and ZVS for the main
diode. The proposed soft-switching technique is suitable for both minority and majority
carrier semiconductor devices and can be implemented in several dc–dc PWM
converters. The ZCZVT commutation cell is placed out of the power path, and,
therefore, there are no voltage stresses on power semiconductor devices. The
commutation cell consists of a few auxiliary devices, rated at low power, and it is only
activated during the main switch commutations. The ZCZVT commutation cell, applied
to a boost converter, has been analyzed theoretically and verified experimentally. A 1-
kW boost converter operating at 40 kHz with an efficiency of 97.9% demonstrates the
feasibility of the proposed commutation cell.
the main switch during the resonance period of the auxiliary cell. The auxiliary cell
consists of a resonant inductor, a resonant capacitor, an auxiliary switch and an
auxiliary diode in parallel with the main switch and the zero-current- switching (ZCS)
ranges of the main and the auxiliary switch of the proposed converters are entirely
achieved by operating the auxiliary cell. In addition, the resonant inductor of the
proposed ZCT cell helps soft turn-on of the main switch. The theoretical analysis and
the operation principle of the new ZCT technique are described in detail using a boost
converter as an example. To verify the validity of the proposed ZCT technique, the
simulation and the experiment were performed on the non-isolated and the isolated
converter, respectively. Here, the nonisolated converter is a boost converter having 100
kHz switching frequency, 1 kW rating power, and the isolated converter is a full-bridge
(FB) converter having 50 kHz switching frequency, 1 kW rating power.
D. Y. Lee, M. K. Lee, D. S. Hyun, and I. Choy presents novel zero-current-
transition (ZCT) PWM dc/dc converters without additional current stress and
conduction loss on the main switch during the resonance period of the auxiliary cell.
The auxiliary cell consists of a resonant inductor, a resonant capacitor, an auxiliary
switch and an auxiliary diode in parallel with the main switch and the zero-current-
switching (ZCS) ranges of the main and the auxiliary switch of the proposed converters
are entirely achieved by operating the auxiliary cell. In addition, the resonant inductor
of the proposed ZCT cell helps soft turn-on of the main switch. The theoretical analysis
and the operation principle of the new ZCT technique are described in detail using a
boost converter as an example. To verify the validity of the proposed ZCT technique,
the simulation and the experiment were performed on the nonisolated and the isolated
converter, respectively. Here, the nonisolated converter is a boost converter having 100
kHz switching frequency, 1 kW rating power, and the isolated converter is a full-bridge
(FB) converter having 50 kHz switching frequency, 1 kW rating power.
H. Bodur and A. F. Bakan proposed a new active snubber cell is proposed to
contrive a new family of pulse width modulated (PWM) converters. This snubber cell
provides zero voltage transition (ZVT) turn on and zero current transition (ZCT) turn
off together for the main switch of a converter. Also, the snubber cell is implemented
by using only one quasi resonant circuit without an important increase in the cost and
complexity of the converter. New ZVT–ZCT–PWM converter equipped with the
proposed snubber cell provides most the desirable features of both ZVT and ZCT
efficiency of the new converter has reached a value of 98.3%mat nominal output
power.
W. Li, Y. Zhao, Y. Deng, and X. He proposed A novel interleaved high step-
up converter with voltage multiplier cell is proposed in this paper to avoid the
extremely narrow turn- OFF period and to reduce the current ripple, which flows
through the power devices compared with the conventional interleaved boost converter
in high step-up applications. Interleaved structure is employed in the input side to
distribute the input current, and the voltage multiplier cell is adopted in the output side
to achieve a high step-up gain. The voltage multiplier cell is composed of the secondary
windings of the coupled inductors, a series capacitor, and two diodes. Furthermore, the
switch voltage stress is reduced due to the transformer function of the coupled
inductors, which makes low-voltage-rated MOSFETs available to reduce the
conduction losses. Moreover, zero-current-switching turn- ON soft switching
performance is realized to reduce the switching losses. In addition, the output diode
turn- OFF current falling rate is controlled by the leakage inductance of the coupled
inductors, which alleviates the diode reverse recovery problem. Additional active
device is not required in the proposed converter, which makes the presented circuit easy
to design and control. Finally, a 1-kW 40- V-input 380-V-output prototype operating at
100 kHz switching frequency is built and tested to verify the effectiveness of the
presented converter.
Y. Zhao, W. Li, Y. Deng, and X. He A novel isolated zero-voltage-transition
(ZVT) boost converter with coupled inductors is proposed in this paper to satisfy the
high power, high step-up, and isolated requirements. In the proposed converter, the
input-parallel configuration is adopted to share the large input current and to reduce the
conduction losses, while the output-series structure is employed to double the output
voltage gain. Consequently, a transformer with a low turns ratio can be applied, which
makes the transformer design and optimize easily. Moreover, the active clamp circuits
are employed to reduce the switch voltage stress and to recycle the energy stored in the
leakage inductance. The ZVT is achieved during the whole switching transition for all
the active switches, so the switching losses can be reduced greatly. Furthermore, the
diode reverse-recovery problem is partly solved due to the leakage inductance. In
addition, the magnetic integration technology is applied to improve the efficiency and
to reduce the magnetic component size. Finally, a 48-V input 380-V output 1-kW
2.1 Necessity
Boost converter is one of the most important and widely used devices of modern
power applications. Till now Boost Converters with snubber circuits are used where
switching losses are dissipated in external resistors leading to higher switching losses
and low overall efficiency. Modern Boost converters use IGBT switches which have
the following properties such as high current and voltage rating, fast switching, low
power gate drive. These properties lead to following disadvantages such as at high
blocking voltage the switching frequency is reduced to low values and due to high
switching speed, the rate of change of current and voltages become high. Boost
converter with auxiliary resonant circuit can overcome these problems by either forcing
current (ZCS) or voltage (ZVS) or both of them to zero. By adopting this topology the
total efficiency of the system is improved. As boost converters are widely used these
days therefore large amount of power is saved from wastages.
2.2 Theme
2.3 Objectives
CHAPTER 3
CONVERTER TOPOLOGIES
3.1 Power Electronics
Power electronics is the field of electrical engineering related to the use of semiconductor
devices to convert power from the form available from a source to that required by a
load. The load may be AC or DC, single-phase or three-phase, and may or may not need
isolation from the power source. The power source can be a DC source or an AC source
(single-phase or three-phase with line frequency of 50 or 60 Hz), an electric battery, a
solar panel, an electric generator or a commercial power supply. A power converter takes
the power provided by the source and converts it to the form required by the load. The
power converter can be an AC-DC converter, a DC-DC converter, a DC-AC inverter or
an AC-AC converter depending on the application.
3.2. Switches
An important part of any power electronic converter is its semiconductor device. The
semiconductor devices that are typically used in switch-mode power converter are
diodes, MOSFETs (Metal Oxide Semiconductor Field Effect Transistors) and IGBTs
(Insulated Gate Bipolar Transistors). Diodes can be considered to be uncontrolled
switches as they are on and conduct current when they are forward-biased and are off
when they are reverse-biased. Current cannot be interrupted in a diode and some external
action must be taken to the diode in order to divert current away from it and make it
reverse biased. MOSFETs and IGBTs are controllable switches as they can be turned on
and off by feeding a signal to their gate then removing it. The basic characteristics of
each device are discussed in further detail below.
the voltage across the gate-source capacitance Vgs is greater than Vth and the field that
keeps the drain-source channel open exists. A MOSFET has an intrinsic parallel body
diode and can conduct reverse current even when the switch is off. The MOSFET has
three main regions of operation: triode, saturation, and cut-off. Since controllable
semiconductor devices in almost all power electronics applications function as switches
that are either fully on or fully off, a MOSFET in a power converter operates either in the
triode region (fully on) or in the cut-off region (fully off). When the power MOSFET is
in the on-state, however, it is not an ideal switch; it acts as if there is a resistor, Rds(on)
(drain to source on-state resistance), between its drain and source terminals. This Rds(on)
resistance contributes to energy loss when current flows through the device; the technical
term for this energy loss is conduction loss. Compared to other power semiconductor
devices such as the IGBT, the MOSFET’s main advantage is its high switching speed.
MOSFETs can be turned on and off very quickly and are the fastest semiconductor
devices in terms of switching because they are majority carrier devices and their
operation is based on the generation and removal of an electric field,. They are the
devices of choice in low power applications as their fast switching characteristics allows
them to be implemented in converters that operate with high switching frequencies
(>100kHz) to reduce the size of their magnetic elements (inductors, transformers). They
are not suitable for higher power applications due to their Rds(on) and the conduction
losses created by this parameter.
Where,
T = Turn on time
T = Turn off time
V = Supply Voltage
2. Soft switching
Converters which are based on traditional switching are known as hard switching
converter. During Turn ON period the voltage across the switch tends to increase and the
current tends to decrease, which results in some switching losses. Similarly during turn
OFF period the voltage tends to increase and the current tends to decrease across the
switch. Again it leads to some switching losses.
There are many circuit configurations of these traditional hard switching
configurations. They are discussed below.
A. Buck Converter
B. Boost Converter
C. Buck – Boost Converter
D. Cuk Converter
E. SEPIC Converter
F. Full Bridge Converter
A. Buck Converter:
In Step down converter or Buck converter, the average output voltage Vo is less
than the input voltage Vs. when the switch in turned ON, the voltage across the load is
Vs. the current flows through the circuit as shown in the figure 3.5. When the switch is
turned OFF, the current direction is same as before, but the voltage across the load is
zero. The power flows from source to load; hence the output voltage is less than the
source voltage, which can be determined by the duty cycle of the GATE pulse to the
switch.
The load current is smoothening by the inductor and the capacitor makes the
output voltage ripple free. Hence a constant output voltage is obtained. Inductor voltage
and current waveforms for a buck converter are as shown in figure 3.6 below.
Fig. 3.6- Steady-state inductor voltage and current waveform, buck converter
B. Boost Converter:
Fig. 3.8- Steady-state inductor voltage and current waveform, boost converter
In Buck-Boost converter the output voltage can be either greater than or less than
the input voltage depending upon the duty cycle. When the switch is turned ON, the
inductor starts storing energy, and when the switch is made OFF, the stored energy is
supplied to the capacitor and load. So the output voltage can be varied by the duty cycle
of the GATE pulse of the switch. The steady state inductor current and voltage waveform
is shown in figure 3.10 below,
D. Cuk Converter:
E. SEPIC Converter:
CHAPTER 4
SOFT SWITCHING OPERATION OF PROPOSED CONVERTER
A power converter can be operated with high switching frequencies only if the
problems of switching losses can be overcome; this can be done using "soft-switching"
techniques. This term "soft-switching" refers to various techniques that make the
switching transitions more gradual than just simply turning a switch on or off (which is
referred to as "hard-switching" in the power electronics literature) and that force either
the voltage or current to be zero while the switching transition is being made. Switching
losses are reduced as there is no overlap of switch voltage and switch current during a
switching transition as one of the two is zero during this time. Soft-switching techniques
are either zero-voltage switching (ZVS) techniques or zero-current switching (ZCS)
techniques.
Soft switching techniques can reduce the switching losses and Electromagnetic
interference by putting some stress on the devices. When either current or voltage is zero
during the turn ON or turn OFF period, then the product of the voltage and current
becomes zero, which leads to zero power loss. Hence the switching loss can be
eliminated and the device can operate at high switching frequency. Size and weight of
the device is reduced as the heat sink is not required.
ZVS is used during turn ON of the device. Initially the main switch is OFF and
the auxiliary switch is ON. So the current through the main switch is zero but the voltage
is not zero. During the turn ON, voltage is made zero and current is given some time
delay so that the current will begin to rise after the voltage is zero.
The soft switching phenomenon known as zero- current switching (ZCS) & zero-
voltage switching (ZVS) can lead to reduce switching loss. When the turn-on & turn-off
transitions of a semiconductor switching device coincides with the zero crossing of
applied waveforms. In converters containing MOSFETs & diodes, zero-voltage
switching mitigates the switching loss otherwise caused by diode recovered charge &
semiconductor output capacitance. Zero current switching can mitigates the switching
loss caused by current tailing in IGBTs & by stray inductances. Zero-current switching
can also be used for communication of SCRs. In the majority of applications, where
diode recovered charge & semiconductor output capacitances are the dominant sources
of PWM switching loss, zero voltage switching is preferred [5]. These types are ZVS and
ZCS for full wave topology.
During one switching cycle, the following assumptions are made in order to
simplify the steady-state analysis of the circuit shown in Fig. 4.3. Input and output
voltages and input current are constant, and the reverse recovery time of DF is taken into
account. In the equations, semiconductor devices and resonant circuits are assumed ideal
for simplification.
Mode 1: At the beginning of this mode, the main transistor T1 and auxiliary transistor
T2 are in the off state. The main diode DF is in the ON state and let the beginning of
mode 1 be the OFF state of the conventional boost converter. Let the input current flows
through the main diode. So in the beginning, IT1=0; ILS= IT2 =0; IDF =Ii ; and IDF =V0.
simultaneously. The rate of rise of the T2 current is limited by the snubber inductance Ls
that connected in series with the auxiliary switch. So the turn ON of the auxiliary switch
provided with ZCS. At the end of this mode, the snubber capacitance voltage VCs
charged to VCs1 .IT2 reaches Ii and IDF falls to zero. When IDF reaches –Irr, DF is turned
OFF and this stage finished. So in mode 1, T2 turns ON with zero voltage switching and
DF turned OFF with nearly zero voltage switching and zero current switching.
Mode 2: At the beginning of this mode, IT1=0; ILs= IT2=Ii+ Irr; IDF=0;VCr=V0. The main
diode DF and main transistor T1 are in the OFF state. The auxiliary transistor T2 is in the
ON state and that conduct the sum of the input current Ii and reverse recovery current of
DF.
The mode begins with a resonance between the parasitic capacitor Cr, snubber
capacitance Cs and the snubber inductance Ls. This mode finishes with the parasitic
capacitance voltage VCr becomes zero. Thus the energy stored in the parasitic capacitor
Cr will be completely transferred to the resonance circuit. At the end of this mode, diode
D1 turns ON with nearly zero voltage switching. At the end of this mode VCs=VCs2.
Mode 3: Just after the diode D1 turned ON, i.e. at the beginning of this mode, IT1=0; ILs=
IT2= ILS2, IDF=0 , VCr=0 and VCs=VCS2.
In this mode, the resonance between the snubber inductance LS and the snubber
capacitance Cs continuous. Here the diode D1 is turned ON and that will conduct the
excess of the snubber inductance current from the input current. This interval is called
the ZVT duration of the main transistor. At the end of this mode, a control signal is
applied to the gate of the main transistor T1. The diode D1 is kept turned ON in order to
provide ZVT turn ON of T1 .This mode ends with the snubber inductance current falls to
input current and the diode D1 turned OFF under ZCS.
Mode 4: This mode begins when the diode D1 is turned OFF. At the beginning of this
mode , IT1=0; ILs= IT2= ILS3=Ii, IDF=0, VCr=0 and VCs=VCS3.
In this mode, the main transistor continuous to conduct the input current Ii and in this
case, the snubber circuit is not active. This mode can be stated as the ON state of the
conventional boost converter. The ON state duration can be controlled by the PWM
control.
Mode 7:At the beginning of this mode IT1= Ii, ILs= IT2=0, IDF=0, VCs=VCS6,and VCr=0.
Mode 8: At the beginning of this mode, IT1= 0, ILs= IT2= Ii, IDF=0, VCs=VCS7 and
VCr=0. This mode begins when T1 current falls to zero so that D1 turns ON with ZCS.
T1 can be turned OFF after the turn ON of D1 so that T1 can be turned OFF under ZCS
and ZVS. The resonance between Ls and Cs continuous in this mode also. This mode
ends by the turn OFF of D1.
the end of this mode, the control signal from the auxiliary transistor T2 is removed. So
that, T2 is turned OFF under ZCS.
Mode 10: At the beginning of this mode, IT1= 0, ILs= IT2= ILS9=0, IDF=0, VCs=VCS9=
VCS0 and VCr= VCS8
This mode can be stated as the OFF state of the conventional boost converter. During this
mode, the main diode DF continuous to conduct the input current Ii, and the snubber
circuit is not active. The duration of this mode can be controlled by the PWM control.
This is the end of one switching cycle. After this another switching cycle starts.
CHAPTER 5
PERFORMANCE ANALYSIS
Fig. 5.1 Circuit Diagram of Boost Converter with Auxiliary Resonant Circuit
The above proposed boost converter with auxiliary resonant circuit is simulated in
MATLAB-SIMULINK. The values of the circuit parameters are given below:
The proposed Boost Converter has two switches namely main switch and auxiliary
switch. The main switch has a duty ratio of 0.61 while that of auxiliary switch is 0.21. The
main switch duty ratio determines the average output voltage. The function of auxiliary
switch is to enable the main switch to operate soft switching. First the auxiliary switch is
turned ON then the main switch in turned ON after some time delay. The resonant loop of the
resonant inductor (LS) and resonant capacitor (Cs) is completed by the turning ON of the
auxiliary switch. By the help of resonance the auxiliary switch is made to operate at ZCS. As
the snubber capacitor is discharged the current of the resonant loop flows through the anti-
parallel diode of the main switch. By turning ON the main switch the ZVS is assured. As the
resonant capacitor is fully discharged the auxiliary switch is turned OFF.
The PWM signal of the main switch is given some delay compared to auxiliary
switch. The phase difference is obtained by delaying the carrier waveform. The main switch
is turned ON while the auxiliary switch is still in the ON state.
Fig. 5.4: Output Voltage Vs Time across main switch while Snubber Ciruit
disconnected
Fig. 5.5: Output Current Vs Time across main switch with Snubber Circuit
Result shown in Fig. 5.4 & 5.5, output voltage and current waveform of main switch
while Snubber circuit not connected to circuit and with connection. It shows the reduction in
losses from main switch.
Fig. 5.6: Output Voltage with input 150 V while Snubber Circuit Disconnect
=
1−
= 214.28
Fig. 5.7: Output Voltage with input 150 V with Snubber Circuit
= ( )
1−
= 244
Aim of this work is to boost the output voltage by using ZVT-ZCT- technique. The
proposed system includes a snubber circuit, which is used to suppress voltage and current
stress from main switch. The hardware system consists of two MOSFET switches. A 12 V
and 5 V power supply circuit are used to supply power to mosfet SWITCHES AND
Microcontroller circuit. The Microcontroller (16F877A) circuit is used to supply pulse to
MOSFET switches. A bridge rectifier circuit used to convert AC to DC voltage for proposed
boost converter system.
AC
Power Supply
Supply
Microcontroller
PIC
AC Opto-coupler
Supply 4N25
Four Boost DC
Bridge Converter Output
Rectifier
Supply voltage (230V AC) is rectified and stepped down to 5V. Programming is done in the
microcontroller to trigger the MOSFET with proper firing angle or time period. Isolator i.e.
here photo-optocoupler is used to protect the MOSFET those are used in the converter circuit.
Bridge rectifier circuit used to convert AC input supply to DC. The DC output is used as
input for proposed boost converter.
5.4.3. Power Supply
Power supply is required to provide power to driver circuit of converter. And also the
microcontroller requires basically 5-V DC supply. This supply is generated from a step-down
transformer connected to the main AC supply, which is rectified by using rectifier. The
output of rectifier is filtered using capacitor.
For getting +5 volts supply, the + 12 volts supply from power supply output is taken. And it
is given to 7805. The minimum input to 7805 is +7 Vdc and Maximum input is + 35 vdc.
And we are giving + 12 Vdc as input to the 7805. Therefore the output of the 7805 is constant
regulated +5 Vdc.
7812 is constant regulator giving 12 V supply required for gating drive circuit.
Various microcontrollers offer different kinds of memories. EEPROM, EPROM, FLASH etc.
are some of the memories of which FLASH is the most recently developed. Technology that
is used in pic16F877A is flash technology, so that data is retained even when the power is
switched off. Easy Programming and Erasing are other features of PIC 16F877A.
MPLAB IDE
MPLAB IDE is a Windows-based Integrated Development Environment for the
Microchip Technology Incorporated PIC microcontroller (MCU) and dsPIC digital signal
controller (DSC) families. In the MPLAB IDE, we can:
i) Create source code using the built-in editor.
ii) Assemble, compile and link source code using various language tools. An
assembler, linker and librarian come with MPLAB IDE. C compilers are available
from Microchip and other third party vendors.
iii) Debug the executable logic by watching program flow with a simulator, such as
MPLAB SIM, or in real time with an emulator, such as MPLAB IDE. Third party
emulators that work with MPLAB IDE are also available.
iv) Make timing measurements.
v) View variables in Watch windows.
Pulse-Width-Modulation (PWM) in Microcontroller:
The Pulse-Width-Modulation (PWM) in microcontroller is used to control duty cycle of
gate pulse of MOSFET. PWM is an entirely different approach to controlling the gate pulse
of MOSFET. Power is supplied to the MOSFET in square wave of constant voltage but
varying pulse-width or duty cycle. Duty cycle refers to the percentage of one cycle during
which duty cycle of a continuous train of pulses. Since the frequency is held constant while
the on-off time is varied, the duty cycle of PWM is determined by the pulse width. Thus the
power increases duty cycle in PWM.
The 4N137 family is an industry standard single channel phototransistor coupler. This
family includes the 4N25, 4N26, 4N27, 4N28. Each opto-coupler consists of gallium arsenide
infrared LED and a silicon NPN phototransistor. It is mostly applicable in AC mains
detection, Reed relay driving, Switch mode power supply feedback, Telephone ring
detection, Logic ground isolation, Logic coupling with high frequency noise rejection. It has
specialization such as Isolation test voltage 5000 VRMS, Interfaces with common logic
families, Input-output coupling capacitance < 0.5 pF.
When any variations in input side voltages, it can produce changes in the LED
current, which changes the current through the phototransistor. Thus a signal voltage is
coupled from the input circuit to the output circuit. The circuit arrangement with internal
structure for the opto-coupler is as shown in figure 4.15. The big advantage of an opto-
coupler is the electrical isolation between the input and output circuits.
5.4.6 Liquid Crystal Display (LCD) RG1602A:
Liquid crystal displays (LCDs) have materials, which combine the properties of both
liquids and crystals. Rather than having a melting point, they have a temperature range within
which the molecules are almost as mobile as they would be in a liquid, but are grouped
together in an ordered form similar to a crystal. An LCD consists of two glass panels, with
the liquid crystal material sand witched in between them. The inner surface of the glass plates
are coated with transparent electrodes which define the character, symbols or patterns to be
displayed polymeric layers are present in between the electrodes and the liquid crystal, which
makes the liquid crystal molecules to maintain a defined orientation angle. One each
polarizes are pasted outside the two glass panels. These polarizes would rotate the light rays
passing through them to a definite angle, in a particular direction. When the LCD is in the off
state, light rays are rotated by the two polarizes and the liquid crystal, such that the light rays
come out of the LCD without any orientation, and hence the LCD appears transparent.
When sufficient voltage is applied to the electrodes, the liquid crystal molecules would
be aligned in a specific direction. The light rays passing through the LCD would be rotated
by the polarizes, which would result in activating / highlighting the desired characters. The
LCD’s are lightweight with only a few millimeters thickness. Since the LCD’s consume less
power, they are compatible with low power electronic circuits, and can be powered for long
durations.
Crystalonics dot–matrix (alphanumeric) liquid crystal displays are available in TN, STN
types, with or without backlight. The use of C-MOS LCD controller and driver ICs result in
low power consumption. These modules can be interfaced with a 4-bit or 8-bit
microprocessor /Micro controller.
The built-in controller IC has the following features:
Correspond to high speed MPU interface (2MHz).
80 x 8 bit display RAM (80 Characters max).
9,920-bit character generator ROM for a total of 240 character fonts. 208 character
fonts (5 x 8 dots) 32 character fonts (5 x 10 dots).
64 x 8 bit character generator RAM 8 character generator RAM 8 character fonts (5 x
8 dots) 4 characters fonts (5 x 10 dots).
Programmable duty cycles.
MOSFET can be a pnp or npn device. There is a silicon-oxide (SiO) dielectric layer
between the gate metal and the n+ and p junction. The principal advantage of MOS gate is
that voltage, instead of current, is applied to the gate with respect to the source to fully or
partially block the device by creating space charge around the tiny gate areas. When the gate
is given a sufficiently positive voltage with respect to the emitter, the effect of its electric
field pulls electrons from the n layer into the p layer. This opens a channel closest to the gate,
which in turn allows the current to flow from the drain (collector) to the source (emitter).
MOSFET is heavily doped on the drain side to create an n+ buffer below the n- drift
layer. This buffer prevents the depletion layer from reaching the metal, evens out the voltage
stress across the n- layer, and also reduces the forward voltage drop during conduction.
Provision of the buffer layer also makes it an asymmetrical device with rather low reverse
voltage capability. MOSFETs require low gate energy, and have very fast switching speed
and low switching losses. Unfortunately MOSFETs have high forward on-state resistance,
and hence high on-state losses, which makes them unsuitable for power devices, but they are
excellent as gate amplifying devices. MOSFETs have similar forward current-voltage
characteristics, as that for a transistor; however, the base current is replaced by the gate
voltage.
Such advantages and comparisons are considered for selection of Power MOSFET as switch
for single phase AC to DC bidirectional converter. In this dissertation work the power
MOSFET IRF840B is used. Following are the features of IRF840B.
For designing boost converter considered system having required output voltage 36 V. The
DC-DC Switching Boost Converter will take a 12 Volt DC voltage supply with 10%
tolerance and deliver 40 Volts to the load. The maximum current delivered to the load will be
1 A.
Power Output
= 40
Load Resistance
Assuming to be 1 A.
40
= = = 40 Ω
1
Duty Cycle
12
Duty Cycle = 1 − =1− = 0.7
40
Ripple Current
= 10
= 100
D=
0.7 =
100
= 70
= 30
∆ = −
= 1.1
= 6.8
∆ = 0.2
Calculating value of L
∆ =
12
0.2 = ∗ 0.7 ∗ 100
= 4.2
Calculating value of C
∗ ∗
∆ =
= 0.1 ∗ 40
=4
= 40 + 4 = 44
= 40 − 4 = 36
∆ = 44 − 36 = 8
∗ ∗
∆ =
1 ∗ 0.7 ∗ 100 ∗ 10
8=
= 8.75
Snubber Circuit
40
= = 0.2439
164
( ) = 0.31
213.2
0.31 = [ ]
1
= 1340
30 = [1.73 ]
30 = [1.73 ∗ 10 ]
= 17 = 20
10 35.6
12 40
15 62.2
25 82.9
30 96.1
10 12.8
12 15.38
15 19.23
20 25.64
25 32..1
30 38.46
These are the input voltage with corresponding output voltage of designed converter system.
The DSO result of output voltage with having input to the circuit is 10V.
CHAPTER 5
6.1 Conclusion
In this thesis, a new soft-switching boost converter using a snubber cell circuit
has been discussed which uses an auxiliary switch with resonant circuit. The soft
switching under the zero-voltage and zero current condition is performed by main and
auxiliary switch using a resonant capacitor and inductor, as does the auxiliary switch.
This thesis has proposed a new ZVT–ZCT- PWM boost converter circuit. Switching
losses, stresses and noise due to circuit parasitic are inherent in the PWM technique, and
these limitations have restricted the PWM converters from operating at higher
frequencies for size, weight reduction and for performance improvement. To minimize
these problems resonant technique were developed. Typically, a resonant converter
incorporates a certain type of resonant network into a PWM topology to shape the switch
voltage/current waveform so that the power switches are commutated with ZVT and
ZCT.
A new snubber circuit proposed for conventional boost converter in order to
reduce losses from switch and to obtain increase in efficiency. The boost converter
operations are analyzed with simulation and hardware prototype. The operation of circuit
is analysed by using MATLAB. Where the losses across switch are minimized by using
snubber circuit and efficiency of converter increased.
References
13. H. Bodur and A. F. Bakan, “A new ZVT-PWM DC-DC converter,” IEEE Trans.
Power Electron., vol. 17, no. 1, pp. 40–47, Jan. 2002.
14. H. Yu, B. M. Song, and J. S. Lai, “Design of a novel ZVT soft-switching
chopper,” IEEE Trans. Power Electron., vol. 17, no. 1, pp. 101–108, Jan. 2002.
15. D. Y. Lee, M. K. Lee, D. S. Hyun, and I. Choy, “New zero-current transition
PWM DC/DC converters without current stress,” IEEE Trans. Power Electron.,
vol. 18, no. 1, pp. 95–104, Jan. 2003.
16. H. Bodur and A. F. Bakan, “A new ZVT-ZCT-PWM DC-DC converter,” IEEE
Trans. Power Electron., vol. 19, no. 3, pp. 676–684, May 2004.
17. A. F. Bakan, H. Bodur, and I. Aksoy, “A novel ZVT-ZCT PWM DC-DC
converter,” in Proc. 11th Eur. Conf. Power Electron. Appl., Sep. 2005, pp. 1–8.
18. C. M. Wang, “Novel zero-voltage-transition PWM DC-DC converters,” IEEE
Trans. Ind. Electron., vol. 53, no. 1, pp. 254–262, Feb. 2006.
19. W. Huang and G. Moschopoulos, “A new family of zero-voltage-transition PWM
converters with dual active auxiliary circuits,” IEEE Trans. Power Electron., vol.
21, no. 2, pp. 370–379, Mar. 2006.
20. P. Das and G. Moschopoulos, “A comparative study of zero-currenttransition
PWM converters,” IEEE Trans. Ind. Electron., vol. 54, no. 3, pp. 1319–1328, Jun.
2007.
21. H. Wannian, G. Xing, S. Bassan, and G. Moschopoulos, “Novel dual auxiliary
circuits for ZVT-PWM converters,” Can. J. Electr. Comput. Eng., vol. 33, pp.
153–160, Summer-Fall 2008.
22. I. Aksoy, H. Bodur, and A. F. Bakan, “A new ZVT-ZCT-PWM DC–DC
converter,” IEEE Trans. Power Electron., vol. 25, no. 8, pp. 2093–2105, Aug.
2010.
23. E. Adib and H. Farzanehfard, “Family of zero-voltage transition pulse width
modulation converters with low auxiliary switch voltage stress,” IET Power
Electron., vol. 4, pp. 447–453, Apr. 2011.
24. W. Li, Y. Zhao, Y. Deng, and X. He, “Interleaved converter with voltage
multiplier cell for high step-up and high-efficiency conversion,” IEEE Trans.
Power Electron., vol. 25, no. 9, pp. 2397–2408, Sep. 2010.
25. Y. Zhao, W. Li, Y. Deng, and X. He, “Analysis, design, and experimentation of
an isolated ZVT boost converter with coupled inductors,” IEEE Trans. Power
Electron., vol. 26, no. 2, pp. 541–550, Feb. 2011.
Department of Electrical Engineering, Government College of Engineering, Karad
Implementation of ZVT-ZCT-PWM Boost Converter
26. W. Li,W. Li, and X. He, “Zero-voltage transition interleaved high step-up
converter with built-in transformer,” IET Power Electron., vol. 4, pp. 523–531,
May 2011.
27. W. Li, Y. Zhao, J. Wu, and X. He, “Interleaved high step-up converter with
winding-cross-coupled inductors and voltage multiplier cells,” IEEE Trans.
Power Electron., vol. 27, no. 1, pp. 133–143, Jan. 2012.
28. Deodatta Shingare, “Industrial and Power Electronics”, Electrotech Publication,
2006
We are very thankful to our teachers Prof. V.B.Waghmare, Prof. S.K.Patil and
Prof. S. H. Pawar for providing solid background for our studies and research thereafter.
They have great sources of inspiration to us and we thank them from the bottom of our
hearts.
At last but not least, we would like to thank the staff of Electrical engineering
department for constant support and providing place to work during project period. We
would also like to extend our gratitude to our friends who are with us during thick and
thin.
Vikram S. Rathod
M.Tech II (Electrical Power System)
Implementation of ZVT-ZCT-PWM Boost Converter
APPENDIX
Microcontroller Programming:
#include<pic.h>
#include"pic_lcd4.h"
#include"pic_adc.h"
#include<stdlib.h>
#include<math.h>
void interrupt Receiver()
{
}
unsigned char count=0,Vset,Vout,Verr,Vin;
float Vfzy=0;
void main()
{
ADCON1=0x00;
TRISD=0x00;
TRISC=0x00;
TRISA=0xFF;
TRISB=0xFF;
Lcd_Init();
Lcd_Display(0x80,"Vin= ",16);
Lcd_Display(0xC0," Vout= ",16);
PR2 = 0b11110001 ;
T2CON = 0b00000101 ;
CCPR1L = PR2/2 ;
CCP1CON = 0b00001100 ;
CCPR2L = PR2/2 ;
CCP2CON = 0b00001100 ;
while(1)
{
Vin= Adc8_Cha(0);
Vout=Adc8_Cha(1);
Lcd_Decimal(0x85,Vin,3);
Lcd_Decimal(0xc5,Vout,3);
else if(Vout>Vset)
{
Verr=Vout-12;
if(Verr>10 && Vfzy>5) Vfzy-=5.0;
else if(Verr>7 && Vfzy>2) Vfzy-=2.0;
else if(Verr>5 && Vfzy>1) Vfzy-=1.0;
else if(Verr>3 && Vfzy>1) Vfzy-=0.5;
else if(Verr>1 && Vfzy>1) Vfzy-=0.2;
}
CCPR1L=(unsigned char)Vfzy;
}
}
Adc8_Cha(unsigned char);
Adc10_Cha(unsigned char);
unsigned int adc_hbit,adc_lbit;
unsigned int adc_temp,adc_temp0,adc_val1;
unsigned char adc_val,adc_del,adc_j;
Adc8_Cha(unsigned char val)
{
ADFM=0;
adc_del=25;
if(val==0)
{
adc_temp0=0;
for(adc_j=0;adc_j<10;adc_j++)
{
ADCON0=0x00;
ADON=1;
while(adc_del--);
ADCON0 =0x05;
while(ADCON0!=0X01);
adc_temp=ADRESH;
adc_temp0=adc_temp0+adc_temp;
}
}
else if(val==1)
{
adc_temp0=0;
for(adc_j=0;adc_j<10;adc_j++)
{
ADCON0=0x08;
ADON=1;
while(adc_del--);
ADCON0 =0x0d;
while(ADCON0!=0X09);
adc_temp=ADRESH;
adc_temp0=adc_temp0+adc_temp;
}
}
else if(val==2)
{
adc_temp0=0;
for(adc_j=0;adc_j<10;adc_j++)
{
ADCON0=0x10;
ADON=1;
while(adc_del--);
ADCON0 =0x15;
while(ADCON0!=0x11);
adc_temp=ADRESH;
adc_temp0=adc_temp0+adc_temp;
}
}
else if(val==3)
{
adc_temp0=0;
for(adc_j=0;adc_j<10;adc_j++)
{
ADCON0=0x18;
ADON=1;
while(adc_del--);
ADCON0 =0x1d;
while(ADCON0!=0x19);
adc_temp=ADRESH;
adc_temp0=adc_temp0+adc_temp;
}
}
else if(val==4)
{
adc_temp0=0;
for(adc_j=0;adc_j<10;adc_j++)
{
ADCON0=0x20;
ADON=1;
while(adc_del--);
ADCON0 =0x25;
while(ADCON0!=0x21);
adc_temp=ADRESH;
adc_temp0=adc_temp0+adc_temp;
}
}
else if(val==5)
{
adc_temp0=0;
for(adc_j=0;adc_j<10;adc_j++)
{
ADCON0=0x28;
ADON=1;
while(adc_del--);
ADCON0 =0x2d;
while(ADCON0!=0x29);
adc_temp=ADRESH;
adc_temp0=adc_temp0+adc_temp;
}
}
else if(val==6)
{
adc_temp0=0;
for(adc_j=0;adc_j<10;adc_j++)
{
ADCON0=0x30;
ADON=1;
while(adc_del--);
ADCON0 =0x35;
while(ADCON0!=0x31);
adc_temp=ADRESH;
adc_temp0=adc_temp0+adc_temp;
}
}
else if(val==7)
{
adc_temp0=0;
for(adc_j=0;adc_j<10;adc_j++)
{
ADCON0=0x38;
ADON=1;
while(adc_del--);
ADCON0 =0x3d;
while(ADCON0!=0x39);
adc_temp=ADRESH;
adc_temp0=adc_temp0+adc_temp;
}
}
adc_val=adc_temp0/10;
return adc_val;
}
Adc10_Cha(unsigned char val)
{
ADFM=1;
adc_del=25;
if(val==0)
{
adc_temp0=0;
for(adc_j=0;adc_j<10;adc_j++)
{
ADCON0=0x00;
ADON=1;
while(adc_del--);
ADCON0 =0x05;
while(ADCON0!=0X01);
adc_hbit=ADRESH;
adc_lbit=ADRESL;
adc_temp = adc_lbit + (256*adc_hbit);
adc_temp0=adc_temp0+adc_temp;
}
}
else if(val==1)
{
adc_temp0=0;
for(adc_j=0;adc_j<10;adc_j++)
{
ADCON0=0x08;
ADON=1;
while(adc_del--);
ADCON0 =0x0d;
while(ADCON0!=0X09);
adc_hbit=ADRESH;
adc_lbit=ADRESL;
adc_temp = adc_lbit + (256*adc_hbit);
adc_temp0=adc_temp0+adc_temp;
}
}
else if(val==2)
{
adc_temp0=0;
for(adc_j=0;adc_j<10;adc_j++)
{
ADCON0=0x10;
ADON=1;
while(adc_del--);
ADCON0 =0x15;
while(ADCON0!=0x11);
adc_hbit=ADRESH;
adc_lbit=ADRESL;
adc_temp = adc_lbit + (256*adc_hbit);
adc_temp0=adc_temp0+adc_temp;
}
}
else if(val==3)
{
adc_temp0=0;
for(adc_j=0;adc_j<10;adc_j++)
{
ADCON0=0x18;
ADON=1;
while(adc_del--);
ADCON0 =0x1d;
while(ADCON0!=0x19);
adc_hbit=ADRESH;
adc_lbit=ADRESL;
adc_temp = adc_lbit + (256*adc_hbit);
adc_temp0=adc_temp0+adc_temp;
}
}
else if(val==4)
{
adc_temp0=0;
for(adc_j=0;adc_j<10;adc_j++)
{
ADCON0=0x20;
ADON=1;
while(adc_del--);
ADCON0 =0x25;
while(ADCON0!=0x21);
adc_hbit=ADRESH;
adc_lbit=ADRESL;
adc_temp = adc_lbit + (256*adc_hbit);
adc_temp0=adc_temp0+adc_temp;
}
}
else if(val==5)
{
adc_temp0=0;
for(adc_j=0;adc_j<10;adc_j++)
{
ADCON0=0x28;
ADON=1;
while(adc_del--);
ADCON0 =0x2d;
while(ADCON0!=0x29);
adc_hbit=ADRESH;
adc_lbit=ADRESL;
adc_temp = adc_lbit + (256*adc_hbit);
adc_temp0=adc_temp0+adc_temp;
}
}
else if(val==6)
{
adc_temp0=0;
for(adc_j=0;adc_j<10;adc_j++)
{
ADCON0=0x30;
ADON=1;
while(adc_del--);
ADCON0 =0x35;
while(ADCON0!=0x31);
adc_hbit=ADRESH;
adc_lbit=ADRESL;
adc_temp = adc_lbit + (256*adc_hbit);
adc_temp0=adc_temp0+adc_temp;
}
}
else if(val==7)
{
adc_temp0=0;
for(adc_j=0;adc_j<10;adc_j++)
{
ADCON0=0x38;
ADON=1;
while(adc_del--);
ADCON0 =0x3d;
while(ADCON0!=0x39);
adc_hbit=ADRESH;
adc_lbit=ADRESL;
adc_temp = adc_lbit + (256*adc_hbit);
adc_temp0=adc_temp0+adc_temp;
}
}
adc_val1=adc_temp0/10;
return adc_val1;
}
#define First_Line 0x80
#define Second_Line 0xc0
#define Curser_On 0x0f
#define Curser_Off 0x0c
#define Clear_Display 0x01
#define Data_Port PORTD
#define Lcd_rs RC4
#define Lcd_en RC5
void Lcd8_Init();
void Lcd8_Command(unsigned char);
void Lcd8_Write(unsigned char,unsigned char);
void Lcd8_Display(unsigned char,const unsigned char*,unsigned
int);
void Lcd8_Decimal2(unsigned char,unsigned char);
void Lcd8_Decimal3(unsigned char,unsigned int);
void Lcd8_Decimal3c(unsigned char,unsigned int);
void Lcd8_Decimal4(unsigned char,unsigned int);
void Lcd8_Decimal5(unsigned char,unsigned long int);
void Delay(unsigned int);
void Lcd8_Init()
{
Lcd8_Command(0x38); //to select function set
Lcd8_Command(0x06); //entry mode set
Lcd8_Command(0x0c); //display on
Lcd8_Command(0x01); //clear display
}
void Lcd8_Command(unsigned char com)
{
Data_Port=com;
Lcd_en=1;
Lcd_rs=0;
Delay(200);
Lcd_en=0;
Delay(200);
}
void Lcd8_Write(unsigned char com,unsigned char lr)
{
Lcd8_Command(com);
Data_Port=lr; // Data
Lcd_en=Lcd_rs=1;
Delay(200);
Lcd_en=0;
Delay(200);
}
void Lcd8_Display(unsigned char com,const unsigned char
*word,unsigned int n)
{
unsigned char Lcd_i;
for(Lcd_i=0;Lcd_i<n;Lcd_i++)
{
Lcd8_Write(com+Lcd_i,word[Lcd_i]);
}
}
void Lcd8_Decimal2(unsigned char com,unsigned char val)
{
unsigned int Lcd_hr,Lcd_t,Lcd_o;
Lcd_hr=val%100;
Lcd_t=Lcd_hr/10;
Lcd_o=Lcd_hr%10;
Lcd8_Write(com,Lcd_t+0x30);
Lcd8_Write(com+1,Lcd_o+0x30);
}
void Lcd8_Decimal3(unsigned char com,unsigned int val)
{
unsigned int Lcd_h,Lcd_hr,Lcd_t,Lcd_o;
Lcd_h=val/100;
Lcd_hr=val%100;
Lcd_t=Lcd_hr/10;
Lcd_o=Lcd_hr%10;
Lcd8_Write(com,Lcd_h+0x30);
Lcd8_Write(com+1,Lcd_t+0x30);
Lcd8_Write(com+2,Lcd_o+0x30);
}
void Lcd8_Decimal3c(unsigned char com,unsigned int val)
{
unsigned int Lcd_h,Lcd_hr,Lcd_t,Lcd_o;
Lcd_h=val/100;
Lcd_hr=val%100;
Lcd_t=Lcd_hr/10;
Lcd_o=Lcd_hr%10;
Lcd8_Write(com,Lcd_h+0x30);
Lcd8_Write(com+1,'.');
Lcd8_Write(com+2,Lcd_h+0x30);
Lcd8_Write(com+3,Lcd_o+0x30);
}
{
while(del--);
}
PUBLICATIONS
A. Conference Papers:
1. Pradnya R. Jadhav, Vikram S. Rathod “A comparative Study of DC-DC Step Up
Converter ”, presented in International Conference on “Electrical, Computer and
Communication Technology (ICECCT) ”, at SVS college of Engineering,
Coimbatore on 17th March 2017.