Project Report
Project Report
PHASE I REPORT
Submitted by
AARTHI S K
710721415001
MASTERS OF ENGINEERING IN
JULY- 2023
ANNA UNIVERSITY, CHENNAI 600 025
BONAFIDE CERTIFICATE
This is to certify that the work in the project report entitled “HIGH EFFICIENT
out the project work under my supervision. Certified further that to the best of my
knowledge the work reported herein does not form part of any other thesis or dissertation
on the basis of which a degree or award was conferred on an earlier occasion on this or
------------------------ ------------------------
Engineering, Engineering,
_ _
INTERNAL EXAMINER EXTERNAL EXAMINER
ACKNOWLEDGEMENT
Research in engineering is a sort of challenging expedition. There are periods of calm
Institute of Technology whom with their encouragement has inspired the students, to
I record my indebtedness to the principal, Dr. S.U. Prabha M.E., Ph.D., for
Electrical and Electronics Engineering, for his remarkable guidance and support to
I also extend my thanks to other faculty members and my friends for being
parents for their support and encouragement in making this endeavor a success.
சுருக்கவுரை
செய்யப்படுகின்றன.
ABSTRACT
This project presents a comprehensive study on the design and analysis of a
(PV), direct current (DC), and fuel cell applications. The primary objective of
this project is to develop a converter that can efficiently convert a 12V input
Integral (PI) control and Fuzzy control, to regulate the operation of the Metal-
TABLE OF CONTENTS
CHAPTER NO TITLE NO PAGE NO
ABSTRACT
LIST OF FIGURES
LIST OF ABBREVATIONS
LIST OF SYMBOLS
1. INTRODUCTION
1.1 INTRODUCTION TO PROJECT
1.2 MOTIVATION TO THE PROJECT
1.3 OBJECTIVES
1.4 SCOPE
1.5 OVERVIEW OF SEPIC CONVERTER
1.6 MODIFIED SEPIC CONVERTER DESIGN
1.7 ADVANTAGES AND APPLICATIONS
1.8 SUMMARY
2. LITERATURE REVIEW
2.1 SUMMARY
3. SYSTEM ANALYSIS
3.1 METHODOLOGY
3.2 WORKING OF MODIFIED SEPIC CONVETER
3.3 SUMMARY
4. SYSTEM EQUATION
4.1 EQUATIONS
4.2 FUZZYLOGIC CONTROLLER SECIFICATION
4.3 FUZZY METHOD USED
5. PI CONTROLLER
5.1 MODES OF PI CONTROLLER
5.2 SPECIFICATION
5.2.1 IRF540N MOSFET
5.2.2 DIODE 1N4007
5.2.3 INDUCTOR
5.2.4 CAPACITOR
5.2.5 ARDUINO (ATMEGA 328P)
5.2.6 LIQUID CRYSTAL DISPLAY (LCD)
5.2.7 WORKING OF LCD
5.2.8 POWER SUPPLY
6. EVALUATING PARAMETER
6.1 OVERSHOOT
6.2 SETTLING TIME
6.3 STEADY STATE ERROR
7. SOFTWARE DESCRIPTION
7.1 INTRODUCTION
7.2 DEVELOPMENT ENVIRONMENT
7.3 MANIPULATING MATRICES
7.4 PROGRAMMING WITH MATLAB
7.5 MATLAB MATRIX LABORATORY
7.6 THE MATLAB SYSTEM
8. DEVELOPMENT ENVIRONMENT
8.1 INTRODUCTION
8.2 STARTING MATLAB
8.3 QUITTING MATLAB
8.4 MATLAB DESKTOP
8.5 RUNNING EXTERNAL PROGRAMS
8.6 LAUNCH PAD
8.7 HELP BROWSER
8.8 HELP NAVIGATION
8.9 CONTENTS LAB
8.10 SEARCH TAB
8.11 DISPLAY PANE
8.12 BROWSE TO OTHER PAGE
8.13 CURRENT DIRECTORY BROWSER
8.14 SEARCH PATH
8.15 WORKSPACE BROWSER
8.16 ARRAY EDITOR
8.17 EDITOR / DEBUGGER
8.18 ARDUINO IDE
8.18.1 ARDUINO DEVELOPMENT
ENVIRONMENT
8.18.2 WORKING SKETCHES
8.18.3 UPLOADING
8.18.4 LIBRARIES
8.18.5 PROGRAMMING
8.18.6 AUTOMATIC (SOFTWARE) RESET
9. RESULTS AND DISCUSSION
9.1 PV-PI CONTOLLER
9.2 FUEL CELL PI CONTROLLER
9.3 DC-PI CONTROLLER
9.4 PV- FUZZY CONTROLLER
9.5 FUEL CELL-FUZZY CONTOLLER
9.6 DC-FUZZY CONTOLLER
9.7 DISCUSSION
11. REFERENCE
LIST OF FIGURES
FIGURE NO TITLE PAGE NO
3.1 BLOCK DIAGRAM OF THE EXISTING
SYSTEM
3.2 WORKING OF MODIFIED SEPIC CONVERTER
LIST OF EQUATIONS
EQUATION NO TITLE PAGE NO
4.1 Voltage conversion ratio in
boost mode (ignoring C1,
L2, and D0)
LIST OF TABLES
TABLE NO TITLE PAGE NO
LIST OF ABBREVATIONS
SEPIC - Single-Ended Primary Inductor Converter
MPPT - Maximum Power Point Tracking
PV - Photo Voltaic
PI - Proportional Integral
MOSFET - Metal-Oxide-Semiconductor Field-Effect Transistor
DC - Direct Current
EMI - Electromagnetic Interference
MATLAB - Matrix Laboratory
EV - Electric Vehicle
LIST OF SYMBOLS
Vin - Input voltage
INTRODUCTION
1.3 OBJECTIVIES:
1.4 SCOPE:
The scope of this project encompasses the design and analysis of a modified
SEPIC converter for voltage regulation in PV, DC, and fuel cell applications. The
focus is on converting a 12V input voltage to a regulated 24V output voltage. The
project explores the implementation of PI control and Fuzzy control as two distinct
control strategies for regulating the MOSFETs in the modified SEPIC converter.
However, other control strategies are not considered within the scope of this
project.
The modified SEPIC converter design takes into account factors such as
efficiency, stability, and voltage regulation. It may involve careful selection of
components, including capacitors, inductors, and switches, to ensure optimal
performance. The design process also considers the voltage and current ratings of
the components to handle the desired power levels. Moreover, attention is given to
minimizing losses, such as switching losses and conduction losses, to maximize the
converter's efficiency.
1.7 ADVANTAGES AND APPLICATIONS:
The SEPIC converter offers several advantages that make it suitable for
a wide range of applications:
1. Flexibility: The SEPIC converter can step up or step down the input
voltage, providing flexibility in voltage conversion. This versatility makes it
suitable for applications where a regulated output voltage different from the
input voltage is required.
4. High Efficiency: With careful design and component selection, the SEPIC
converter can achieve high conversion efficiencies, leading to improved
energy utilization and reduced power losses.
1.8 SUMMARY
In this segment, a brief overview of the project was given, as well as an
explanation of the need for charge controllers. The goal that the proposed
scheme was to achieve was discussed.
CHAPTER 2
LITERATURE REVIEW
Battery charging technology has been developed over the past several
years and storage of electrical energy has become a necessity, there is vast
demand for compact and portable battery charger for various applications.
The lithium ion batteries are finding considerable usage in both primary and
secondary applications. The objective of this work is to design a low cost,
versatile, efficient and compact solar powered lithium ion battery charger.
The proposed battery charger circuit has features like over voltage, over
charge, short circuit, reverse polarity protection for extended battery life and
uses constant current and constant voltage methods of charging. P&O MPPT
algorithm is used to extract maximum power from the solar panel. And buck
converter is designed and built to function as a MPPT charge controller.[7]
2.1 SUMMARY
In this chapter the detailed survey of the existing system discussed in this
literature. This literature survey and concluding discussion will be helpful for
selecting appropriate method.
CHAPTER 3
SYSTEM ANALYSIS
3.1 METHODOLOGY:
BLOCK DIAGRAM
The methodology of the project involves the following steps. First, conduct
a literature review to gather information on the SEPIC converter, its operation, and
control strategies. Next, set up a simulation environment using appropriate
software and develop accurate models for the PV system, DC system, and fuel cell
system integrated with the modified SEPIC converter.
When focusing on the boost converter concept, the circuit utilizes diode D1
and capacitor C2 while ignoring components C1, L2, and diode D0. In this
configuration, the input voltage is applied to the inductor L1 and switch, and the
energy stored in L1 is transferred to the output through diode D1 during the
switch-off period. The output voltage is boosted by the voltage conversion ratio
determined by the duty cycle of the switch.
On the other hand, when operating in the SEPIC concept, capacitor C1,
inductor L2, and diode D0 come into play while disregarding diode D1 and
capacitor C2. In this mode, the input voltage is applied to the inductor L1 and
switch. During the switch-on period, energy is stored in L1, and the switch is
turned off, allowing the energy to transfer to the output through capacitor C1 and
diode D0. The voltage conversion ratio is controlled by adjusting the duty cycle of
the switch and the energy transfer between the inductors L1 and L2.
3.3 SUMMARY
SYSTEM EQUATION
4.1 EQUATIONS:
4.1 Voltage conversion ratio in boost mode (ignoring C1, L2, and D0):
Vout = (1 + D) * Vin
where Vout is the output voltage, Vin is the input voltage, and D is the duty cycle
of the switch.
Vout = (1 + D) * Vin / (1 - D)
where Vout is the output voltage, Vin is the input voltage, and D is the duty cycle
of the switch.
where Δt is the switching period and L1 is the inductance of the first inductor.
These equations provide insights into the voltage conversion ratio and the
output voltage ripple of the modified SEPIC converter in different operating
modes. By manipulating the duty cycle and other parameters, the performance of
the converter can be optimized for various applications.
Based on the provided fuzzy logic rule set for the modified SEPIC converter, here
are the detailed specifications:
1. Type: The fuzzy logic system is based on the Mamdani type, which is a
commonly used type for fuzzy systems.
3. Inputs:
- Input1: Named 'error' with a range of [-1, 1]. It has 7 membership functions
(MFs):
- Input2: Named 'error_change' with a range of [-2, 2]. It also has 7 membership
functions:
4. Output:
5. Rules:
The rule set provided specifies 49 rules with various combinations of inputs and
outputs, with each rule having a weight of 1.
These specifications provide the necessary details to understand and implement the
fuzzy logic rule set for the modified SEPIC converter.
CHAPTER 5
PI CONTROLLER
Based on the given values of kp = 0.36 and ki = 432, I can provide you with the
equations and response for the PI controller in three different modes: Mode 1,
Mode 2, and Mode 3. However, please note that the specific equations and
response characteristics may vary depending on the implementation and control
strategy of your modified SEPIC converter. The equations and response described
here are based on a typical PI controller.
In this mode, the integral term of the PI controller is not considered, and the
control action is solely based on the proportional gain (kp). The control signal (u)
can be calculated using the following equation:
u = kp * error
The response of the system in Mode 1 will depend on the plant dynamics and the
specific characteristics of your modified SEPIC converter.
In this mode, both the proportional and integral terms of the PI controller are
utilized. The control signal (u) is calculated as the sum of the proportional and
integral contributions:
u = kp * error + ki * (integral of error over time)
The response of the system in Mode 2 will typically exhibit improved steady-state
accuracy compared to Mode 1. The integral term helps to eliminate steady-state
error by continuously correcting for any accumulated error over time.
In this mode, only the integral term of the PI controller is active, and the
proportional gain (kp) is set to zero. The control signal (u) is determined solely by
the integral action:
This mode can be useful for systems with high static error or when the proportional
action is not required. However, it is important to note that using integral control
alone may result in slower response and potential instability if not properly tuned.
The response of the system in Mode 3 will focus primarily on eliminating steady-
state error, but the control action may be slower compared to the combined
proportional-integral control in Mode 2.
5.2 SPECIFICATIONS:-
Drain-Source Voltage (Vds): 100V The maximum voltage that can be applied
between the drain and source terminals of the MOSFET.
Continuous Drain Current (Id): 33A The maximum continuous current that the
MOSFET can handle when properly heatsinked.
Pulsed Drain Current (Idm): 110A The maximum current that the MOSFET can
handle for short-duration pulses.
Gate-Source Voltage (Vgs): ±20V The voltage range that can be applied between
the gate and source terminals of the MOSFET.
Gate Threshold Voltage (Vgs(th)): 2V to 4V The gate-source voltage at which
the MOSFET starts conducting.
Total Gate Charge (Qg): 68nC The total amount of charge required to fully drive
the MOSFET from off to on state.
Input Capacitance (Ciss): 1500pF The total capacitance between the gate and
source terminals.
Output Capacitance (Coss): 560pF The capacitance between the drain and source
terminals.
Reverse Transfer Capacitance (Crss): 60pF The capacitance between the drain
and gate terminals.
Drain-Source On-State Resistance (Rds(on)): 0.077 Ohms The resistance
between the drain and source terminals when the MOSFET is fully turned on.
Diode Forward Voltage (Vf): 1.7V The forward voltage drop across the internal
diode when conducting in the forward direction.
Diode Continuous Current (If): 33A The maximum continuous current that the
internal diode can handle.
Resistance (Ron): 0.1 Ohms
This parameter represents the on-resistance of the MOSFET when it is conducting.
It acts as a resistance (Ron) in both directions.
Internal Diode Resistance (Rd): 0.01 Ohms
This parameter represents the resistance of the internal diode when it is conducting
in the reverse direction.
Forward Voltage (Vf): 0 Volts
The forward voltage (Vf) of the internal diode is specified as 0 Volts, indicating
that the diode has negligible voltage drop when conducting in the forward
direction.
Snubber Circuit:
Resistance (Rs): 1e5 Ohms
The snubber resistance (Rs) is specified as 1e5 Ohms, or 100,000 Ohms.
The purpose of the snubber circuit is to reduce voltage spikes and ringing caused
by the switching action of the MOSFET.
The 1N4007 is a commonly used rectifier diode. Here are the detailed
specifications for the 1N4007 diode:
This is the maximum average current that can flow through the diode in the
forward direction.
This is the maximum current that the diode can handle in a short-duration
forward surge (typically a few milliseconds).
This is the typical voltage drop across the diode when it is conducting current in
the forward direction.
This is the maximum leakage current that can flow through the diode when it is
reverse biased at the maximum rated voltage.
This is the time it takes for the diode to switch from the forward conduction state
to the blocking state when the polarity of the voltage is reversed.
7. Operating temperature range (TJ): -65°C to +175°C
This is the range of temperatures within which the diode can operate safely.
1. Package Type:
The 1N4007 diode is typically available in a standard axial-lead package.
This package has two leads or terminals, with one lead connected to the
anode (positive terminal) and the other lead connected to the cathode
(negative terminal) of the diode.
5. Applications:
The 1N4007 diode is widely used in various applications, including
rectification of alternating current (AC) to direct current (DC) in power
supplies, voltage clamping and protection circuits, polarity protection, and
general-purpose rectification tasks. It is commonly used in hobbyist projects,
electronic circuits, and low-frequency power applications.
6. Alternatives:
The 1N4007 is part of a family of diodes known as the 1N400x series. The
series includes different members, such as 1N4001, 1N4002, 1N4003, and
so on, with varying voltage and current ratings. The higher the number in the
series, the higher the maximum voltage and current ratings of the diode. So,
if you require a diode with lower voltage or current ratings, you can choose a
member from the 1N400x series accordingly.
5.2.3. INDUCTOR:
1. Inductance (L):
The inductance value specifies the amount of inductance provided by the
inductor, which in this case is 100mH. Inductance is a measure of an
inductor's ability to store energy in a magnetic field when current flows
through it.
2. Tolerance:
The tolerance indicates the acceptable variation in the inductance value. For
example, a ±10% tolerance means that the actual inductance can be within
10% higher or lower than the nominal value of 100µH. Tolerances can vary
depending on the specific manufacturer and component quality.
3. DC Current Rating:
The DC current rating specifies the maximum continuous direct current
(DC) that the inductor can handle without exceeding its temperature limits or
affecting its performance. It's important to ensure that the operating current
in your circuit stays below this rating to avoid overheating or saturation of
the inductor.
4. Saturation Current:
Saturation current refers to the maximum current at which the inductor starts
to exhibit significant non-linear behavior, typically leading to a decrease in
inductance. It's important to avoid operating the inductor at or above this
current value to maintain its desired characteristics.
These specifications can vary depending on the specific manufacturer, type of core
material (e.g., ferrite, iron powder), and construction technique used for the
inductor. It's always advisable to consult the datasheet or specifications provided
by the manufacturer for detailed and accurate information about a particular 100µH
core inductor.
5.2.4. CAPACITOR:
1. Capacitance (C):
The capacitance value is 100µF, which represents the amount of electric
charge the capacitor can store per unit voltage. Higher capacitance values
indicate a larger storage capacity for charge.
3. Tolerance:
The tolerance indicates the acceptable variation in the capacitance value. For
example, a ±20% tolerance means that the actual capacitance can be within
20% higher or lower than the nominal value of 100µF. Tolerances can vary
depending on the specific manufacturer and component quality.
5. Leakage Current:
Leakage current refers to the small amount of current that can flow through a
capacitor even when it is fully charged. It is generally specified at the rated
voltage and temperature conditions. Lower leakage current values indicate
better insulation properties of the capacitor.
6. Ripple Current:
Ripple current is the maximum alternating current that a capacitor can
handle continuously without overheating. It is particularly important in
applications where the capacitor is subjected to AC or pulsating DC
currents, such as power supply filtering. Exceeding the specified ripple
current can lead to increased internal heating and shortened capacitor
lifespan.
The Atmel AVR® core combines a rich instruction set with 32 general
purpose working registers. All the 32 registers are directly connected to the
Arithmetic Logic Unit (ALU), allowing two independent registers to be accessed
in a single instruction executed in one clock cycle. The resulting architecture is
more code efficient while achieving throughputs up to ten times faster than
conventional CISC microcontrollers.
This allows very fast start-up combined with low power consumption. In
Extended Standby mode, both the main oscillator and the asynchronous timer
continue to run. Atmel offers the QTouch® library for embedding capacitive touch
buttons, sliders and wheels functionality into AVR microcontrollers. The patented
charge-transfer signal acquisition offers robust sensing and includes fully
debounced reporting of touch keys and includes Adjacent Key Suppression®
(AKS™) technology for unambiguous detection of key events.
The easy-to-use Q Touch Suite toolchain allows you to explore, develop and
debug your own touch applications. The device is manufactured using Atmel’s
high density non-volatile memory technology. The On-chip ISP Flash allows the
program memory to be reprogrammed In-System through an SPI serial interface,
by a conventional non-volatile memory programmer, or by an On-chip Boot
program running on the AVR core.
I/O Pins: 23
USART: Yes
Even though it's 5 V capable, newer parts can run to 1.8 V. This wide range is very
rare.
Q Touch capability
VCC
GND
Ground.
Port B is an 8-bit bi-directional I/O port with internal pull-up resistors (selected for
each bit). The Port B output buffers have symmetrical drive characteristics with
both high sink and source capability. As inputs, Port B pins that are externally
pulled low will source current if the pull-up
resistors are activated. The Port B pins are tri-stated when a reset condition
becomes active, even if the clock is not running.
Depending on the clock selection fuse settings, PB6 can be used as input to the
inverting Oscillator amplifier and input to the internal clock operating circuit.
Depending on the clock selection fuse settings, PB7 can be used as output from the
inverting Oscillator amplifier.
Port C is a 7-bit bi-directional I/O port with internal pull-up resistors (selected for
each bit). The PC [5:0] output buffers have symmetrical drive characteristics with
both high sink and source capability. As inputs, Port C pins that are externally
pulled low will source current if the pull-up resistors are activated. The Port C pins
are tri-stated when a reset condition becomes active, even if the clock is not
running.
PC6/RESET
If the RSTDISBL Fuse is programmed, PC6 is used as an I/O pin. Note that the
electrical characteristics of PC6 differ from those of the other pins of Port C.
The various special features of Port ‘C’ are elaborated in the Alternate Functions of
Port C section.
Port D is an 8-bit bi-directional I/O port with internal pull-up resistors (selected for
each bit). The Port D output buffers have symmetrical drive characteristics with
both high sink and source capability. As inputs Port D pins that are externally
pulled low will source current if the pull-up resistors are activated.
AVCC
AVCC is the supply voltage pin for the A/D Converter, PC [3:0], and PE [3:2]. It
should be externally connected to VCC, even if the ADC is not used. If the ADC is
used, it should be connected to VCC through a low-pass filter. Note that PC [6:4]
use digital supply voltage, VCC.
We will learn about the different components on the Arduino board. We will study
the Arduino UNO board because it is the most popular board in the Arduino board
family. In addition, it is the best board to get started with electronics and coding.
Some boards look a bit different from the one given below figure 3.2.2, but most
Arduinos have majority of these components in common.
Arduino board can be powered by using the USB cable from computer. All we
need to do is connect the USB cable to the USB connection (1).
Power (Barrel Jack)
Arduino boards can be powered directly from the AC mains power supply by
connecting it to the Barrel Jack.
Voltage Regulator
The function of the voltage regulator is to control the voltage given to the Arduino
board and stabilize the DC voltages used by the processor and other elements.
Crystal Oscillator
The crystal oscillator helps Arduino in dealing with time issues. How does Arduino
calculate time? The answer is, by using the crystal oscillator. The number printed
on top of the Arduino crystal is 16.000H9H. It tells us that the frequency is
16,000,000 Hertz or 16 MHz.
Arduino Reset
We can reset wer Arduino board, i.e., start wer program from the beginning. We
can reset the UNO board in two ways. First, by using the reset button (17) on the
board. Second, we can connect an external reset button to the Arduino pin labelled
RESET (5).
GND (8) (Ground) − There are several GND pins on the Arduino, any of which
can be used to ground wer circuit.
Vin (9) − This pin also can be used to power the Arduino board from an external
power source, like AC mains power supply.
Analog pins
The Arduino UNO board has five analog input pins A0 through A5. These pins can
read the signal from an analog sensor like the humidity sensor or temperature
sensor and convert it into a digital value that can be read by the microprocessor.
The ground terminal of the power supply must be isolated properly so that
voltage is induced in it. The module should be isolated properly so that stray
voltages are not induced, which could cause a flicking display. LCD is lightweight
with only a few, millimetres thickness since the LCD consumes less power, they
are compatible with low power electronic circuits, and can be powered for long
durations. LCD does not generate light and so light is needed to read the display.
By using backlighting, reading is possible in the dark. LCDs have long life and a
wide operating temperature range. Before LCD is used for displaying proper
initialization should be done. LCD is used to display the blood group and blood
glucose level.
Read/Write
R/W input allows the user to write information to the LCD or read
information from it. R/W=1 when reading; R/W=0 when writing.
Enable
The enable pin is used by the LCD to latch information presented on its data
pins. When data is supplied to data pins, a high to low pulse must be applied to this
pin in order for the LCD to latch in the data present at the data pins.
D0 - D7
The 8-bit data pins, D0 – D7, are used to send information to the LCD or
read contents of the LCD’S internal registers. There are also instruction codes that
can be sent to the LCD to clear the display or force the cursor to the home position
or blink the cursor. RS=0 is used to check the busy flag bit to see if the LCD is
ready to receive information. The busy flag is D7 and can be read when R/W=1
and RS=0, as follows: if R/W=1, RS=0.when D7=1, the LCD is busy taking care of
internal operation and will not accept any new information, when D7=0, the LCD
is ready to receive new information.
PIN DESCRIPTION FOR LCD
The table 5.1 illustrate the pin descriptions of LCD.
4 RS Register select
RS=0…Instruction register
RS=1…Data register
5 R/W Read/Write
R/W=1…Read
R/W=0…Write
6 EN Enable
TRANSFORMER:
This document presents the solution for a 12V 1A flyback converter based
on the Infineon OPTIREG™ TLE8386-2EL controller and IPD50N08S4-13
OptiMOS™-T2. The user is guided through the component selections, the circuit
design and, finally, an overview of the experimental results are presented. The
TLE8386-2EL is part of the Automotive OPTIREG™ family and it implements a
low-side-sense current mode controller with built in protection features. The device
is AECQ-100 qualified.
The operation and theory behind a Center tapped transformer is very similar
to a normal secondary transformer. A primary voltage will be induced in the
primary coil (I1 and I3) and due to magnetic induction the voltage will be
transferred to the secondary coil.
If we combine this zero potential wire (T2) with either T1 or T2, we will get
a voltage of 12V AC. If this wire is ignored and voltage across T1 and T2 is
considered then we will get a voltage of 24V AC. This feature is very useful for the
function of a full wave rectifier.
Let us consider the voltage given by the first half of the secondary coil as Va
and the voltage across the second half of the secondary coil as Vb as shown
RECTIFER CIRCUIT:
These ripples will be the highest for a single-phase half wave rectifier and
will reduce further for a single-phase full wave rectifier. The ripples will be
minimum for 3-phase rectifier circuits. Such supply is not useful for driving
complex electronic circuits.
For most supply purposes constant dc voltage is required than the pulsating
output of the rectifier. For most applications the supply from a rectifier will make
the operation of the circuit poor. If the rectifier output is smoothened and steady
and then passed on as the supply voltage, then the overall operation of the circuit
becomes better.
Thus, the output of the rectifier has to be passed though a filter circuit to
filter the ac components. The filter is a device that allows passing the dc
component of the load and blocks the ac component of the rectifier output. Thus
the output of the filter circuit will be a steady dc voltage.
From the circuit, for zero frequency dc voltage, the choke resistance Ri in
series with the load resistance RL forms a voltage divider circuit, and thus the dc
voltage across the load is Vdc = RL/(Ri + RL) Vdc is the output from a full wave
rectifier. In this case, the value of Ri is negligibly small when compared to RL.
So, the series inductor filter is mostly used in cases of high load current or
small load resistance. A simple series inductor filter may not be properly used. It is
always better to use a shunt capacitor (C) with series inductor (L) to form an LC
Filter. Shunt Capacitor Filter As the name suggests, a capacitor is used as the filter
and this high value capacitor is shunted or placed across the load impedance.
This capacitor, when placed across a rectifier gets charged and stores the
charged energy during the conduction period. When the rectifier is not conducting,
this energy charged by the capacitor is delivered back to the load. Through this
energy storage and delivery process, the time duration during which the current
flows through the load resistor gets increased and the ripples are decreased by a
great amount. Thus for the ripple component with a frequency of ‘f’ megahertz, the
capacitor ‘C’ will offer a very low impedance.
The value of this impedance can be written as: Shunt Capacitor Impedance =
1/2 fC Thus the dc components of the input signal along with the few residual
ripple components, is only allowed to go through the load resistance RLoad.
The high amount of ripple components of current gets bypassed through the
capacitor C. Now let us look at the working of Half-wave rectifier and Full-wave
rectifier with Capacitor filters, their output filtered waveform, ripple factor, merits
and demerits in detail.
Voltage Detection Sensor Module is a simple and very useful module that
uses a potential divider to reduce any input voltage by a factor of 5. This allows us
to use the Analog input pin of a microcontroller to monitor voltages higher than it
capable of sensing. For example, with a 0V - 5V Analog input range, you are able
to measure a voltage up to 25V. This module also includes convenient screw
terminals for easy and secure connections of a wire.
The internal circuit diagram of the Voltage Sensor Module is given below.
The voltage circuit consists of a voltage divider circuit of two resistors in which R1
is 30K and R2 is 7.5K.
EVALUATING PARAMETERS
6.1 Overshoot
Settling time refers to the time required for the response of a system to reach
and remain within a certain range (usually a small percentage) of the desired or
reference value. It indicates how quickly the system stabilizes and attains a steady
state. Settling time is usually measured from the time the system response first
crosses the reference value until it remains within the specified range.
The settling time is influenced by factors such as system dynamics,
damping, and control parameters. It is important to keep the settling time as short
as possible to achieve a fast and stable response.
The steady-state error depends on various factors, including the system type,
controller design, disturbances, and system dynamics. It is often used to assess the
accuracy and performance of a control system. Ideally, the steady-state error
should be minimized to achieve precise control.
CHAPTER 7
SOFTWARE DESCRIPTION
7.1 Introduction
It describes the basic and commands and components of the MATLAB
system.
7.5 MATLAB-Matrix-laboratory
• Algorithm development
1. Development Environment:
4.Handle Graphics:
CHAPTER 8
DEVELOPMENT ENVIRONMENT
8.1 Introduction
To end user MATLAB session, select Exit MATLAB from the File
menu in the desktop, or type quit in the Command Window. To execute specified
functions each time MATLAB quits, such as saving the workspace, us can create
and run a finish the m script.
29 User can change the way user desktop looks by opening, closing,
moving, and resizing the tools in it. Us can also move tools outside of the desktop
or return them back inside the desktop (docking). All the desktop tools provide
common features such as context menus and keyboard shortcuts.
Use the Help browser to search and view documentation for all user
Math Works products. The Help browser is a Web browser integrated into the
MATLAB desktop that displays HTML documents.
To open the Help browser, click the help button in the toolbar, or type
help browser in the Command Window. The Help browser consists of two panes,
the Help Navigator, which user use to find information, and the display pane,
where to view the information.
View the titles and tables of contents of documentation for user products.
8.10 Search tab
Look for a specific phrase in the documentation. To get help for a specific
function, set the Search type to Function Name.
Use the arrows at the tops and bottoms of the pages, or use the back and
forward buttons in the toolbar. Other features available in the display pane are:
copying information, evaluating a selection, and viewing Web pages.
MATLAB file operations use the current directory and the search path as
reference points. Any file us want to run must either be in the current directory or
on the search path.
To delete variables from the workspace, select the variable and select
Delete from the Edit menu. Alternatively, use the clear function. The workspace is
not maintained after us end the MATLAB session.
This saves the workspace to a binary file called a MAT-file, which has
a .mat extension. There are options for saving to different formats. To read in a
MAT-file, select Import Data from the File menu, or use the load function.
8.17 Editor/Debugger
If user uses another editor, user can still use the MATLAB
Editor/Debugger for debugging, or user can use debugging functions, such as
desktop, which sets a breakpoint. If user just needs to view the contents of an M-
file, user can display it in the Command Window by using the type function.
Software written using Arduino are called sketches. These sketches are
written in the text editor. Sketches are saved with the file extension .ino. It has
features for cutting/pasting and for searching/replacing text. The message area
gives feedback while saving and exporting and also displays errors.
NB: Versions of the IDE prior to 1.0 saved sketches with the extension pde It is
possible to open these files with version 1.0, you will be prompted to save the
sketch with the .ino extension on save.
The first time you run the Arduino software, it will automatically create a
directory for your sketchbook. You can view or change the location of the
sketchbook location from with the Preferences dialog.
'''Beginning with version 1.0, files are saved with a .ino file extension.
Previous versions use the .pde extension. You may still open .pde named files in
version 1.0 and later, the software will automatically rename the extension to .ino.
Allows you to manage sketches with more than one file (each of which
appears in its own tab). These can be normal Arduino code files (no extension), C
files (.c extension), C++ files (.cpp), or header files (.h).
8.18.3 Uploading
Before uploading your sketch, you need to select the correct items from
the Tools Board and Tools Serial Portmenus. The boards are described below. On
the Mac, the serial port is probably something like /dev/tty.usbmodem241(for an
Uno or Mega2560 or Leonardo) or /dev/tty.usbserial-1B1 (for a Duemilanove or
earlier USB board), or/dev/tty.USA19QW1b1P1.1 (for a serial board connected
with a Keyspan USB-to-Serial adapter).
Once you've selected the correct serial port and board, press the upload
button in the toolbar or select the Upload item from the File menu. Current
Arduino boards will reset automatically and begin the upload.
With older boards (pre-Diecimila) that lack auto-reset, you'll need to press
the reset button on the board just before starting the upload. On most boards, you'll
see the RX and TX LEDs blink as the sketch is uploaded. The Arduino
environment will display a message when the upload is complete, or show an error.
When you upload a sketch, you're using the Arduino bootloader, a small
program that has been loaded on to the microcontroller on your board. It allows
you to upload code without using any additional hardware.
The bootloader is active for a few seconds when the board resets; then it
starts whichever sketch was most recently uploaded to the microcontroller. The
bootloader will blink the on-board (pin 13) LED when it starts (i.e. when the board
resets).
8.18.4 Libraries
Libraries provide extra functionality for use in sketches, e.g. working with
hardware or manipulating data. To use a library in a sketch, select it from
the Sketch Import Library menu.
Because libraries are uploaded to the board with your sketch, they increase
the amount of space it takes up. If a sketch no longer needs a library, simply delete
it from the top of your code.
There is a list of libraries in the reference. Some libraries are included with
the Arduino software. Others can be downloaded from a variety of sources.
Starting with version 1.0.5 of the IDE, you do can import a library from a zip file
and use it in an open sketch. See these instructions for installing a third-party
library.
8.18.5 Programming
You can also bypass the bootloader and program the microcontroller through
the ICSP (In-Circuit Serial Programming) header; see these instructions for details.
The ATmega16U2 (or 8U2 in the rev1 and rev2 boards) firmware source
code is available . The ATmega16U2/8U2 is loaded with a DFU bootloader, which
can be activated by:
• On Rev1 boards: connecting the solder jumper on the back of the board (near
the map of Italy) and then resetting the 8U2.
• On Rev2 or later boards: there is a resistor that pulling the 8U2/16U2 HWB
line to ground, making it easier to put into DFU mode.
You can then use Atmel's FLIP software (Windows) or the DFU programmer (Mac
OS X and Linux) to load a new firmware. Or you can use the ISP header with an
external programmer (overwriting the DFU bootloader). See this user-contributed
tutorial for more information.
Rather than requiring a physical press of the reset button before an upload,
the Arduino Uno is designed in a way that allows it to be reset by software running
on a connected computer.
The Arduino software uses this capability to allow you to upload code by
simply pressing the upload button in the Arduino environment. This means that the
bootloader can have a shorter timeout, as the lowering of DTR can be well-
coordinated with the start of the upload.
This setup has other implications. When the Uno is connected to either a
computer running Mac OS X or Linux, it resets each time a connection is made to
it from software (via USB).
For the following half-second or so, the bootloader is running on the Uno.
While it is programmed to ignore malformed data (i.e. anything besides an upload
of new code), it will intercept the first few bytes of data sent to the board after a
connection is opened.
The Uno contains a trace that can be cut to disable the auto-reset. The pads
on either side of the trace can be soldered together to re-enable it. It's labeled
"RESET-EN". You may also be able to disable the auto-reset by connecting a 110
ohm resistor from 5V to the reset line; see this forum thread for details.
CHAPTER 9
RESULTS AND DISCUSSION
Settling Time: The settling time obtained in the simulation is 16.43 ms. Settling
time refers to the time required for the response of the system to reach and remain
within a certain range of the desired value. In this case, the system takes 16.43 ms
to stabilize and settle within the desired range.
Settling Time: The settling time obtained in the simulation is 15.157 ms. Settling
time refers to the time required for the response of the system to reach and remain
within a certain range of the desired value. In this case, the system takes 15.157 ms
to stabilize and settle within the desired range.
These parameters provide insights into the performance of the DC-PI controller in
your simulation. The high overshoot of 25.94% suggests that the system response
significantly exceeds the desired value before settling down. The settling time of
15.157 ms indicates that the system takes a moderate amount of time to stabilize.
Additionally, the steady-state error of 0.14 volts suggests a small but persistent
deviation between the desired and actual values in the steady state.
9.4 PV-FUZZY CONTROLLER:
Settling Time: The settling time obtained in the simulation is 19.870 ms. Settling
time refers to the time required for the response of the system to reach and remain
within a certain range of the desired value. In this case, the system takes 19.870 ms
to stabilize and settle within the desired range.
Settling Time: Since the steady-state error (SSE) is greater than 1, it suggests that
the system does not reach a steady state within a specified range. Therefore, there
is no settling time provided in the simulation results.
Steady-State Error: The steady-state error obtained in the simulation is 2.7 volts.
Steady-state error represents the deviation between the desired value and the final
value attained by the system once it has stabilized. In this case, the system exhibits
a steady-state error of 2.7 volts.
Based on these results, the Fuel Cell-Fuzzy controller shows a relatively high
overshoot of 4.737%, indicating significant overshooting behavior. Additionally,
the steady-state error of 2.7 volts implies that there is a considerable deviation
between the desired and actual values in the steady state.
Settling Time: Since the steady-state error (SSE) is greater than 1, it suggests that
the system does not reach a steady state within a specified range. However, an
average settling time of 20 ms is provided in the simulation results. The average
settling time represents the time taken for the system response to stabilize within a
certain range around the desired value.
Steady-State Error: The steady-state error obtained in the simulation is 2.6 volts.
Steady-state error represents the deviation between the desired value and the final
value attained by the system once it has stabilized. In this case, the system exhibits
a steady-state error of 2.6 volts.
Based on these results, the DC-Fuzzy controller shows a relatively high overshoot
of 4.737%, indicating significant overshooting behavior. Additionally, the steady-
state error of 2.6 volts suggests a considerable deviation between the desired and
actual values in the steady state.
TABULAR COLUMN:
The table illustrate the Overshoot, Settling time, Steady State Error of different
type of controllers mentioned in the tabulation.
The table illustrate the Input and Output Voltage of the Hardware.
9.8 DISCUSSION:
Overshoot: The Fuel Cell with PI Controller has the highest overshoot of 25.94%,
indicating significant oscillations and deviation from the desired value. The
Modified Sepic Converter with PV-PI Controller has the lowest overshoot of
0.505%, suggesting better tracking of the desired value.
Settling Time: Among the controllers with provided data, the Modified Sepic
Converter with PV-PI Controller has the longest settling time of 19.870 ms. The
Fuel Cell with PI Controller has a settling time of 15.157 ms. It is important to note
that settling time is not provided for the DC Source with Fuzzy Controller and the
Modified Sepic Converter with PV-Fuzzy Controller.
Based on the available data, the Fuel Cell with PI Controller exhibits a high
overshoot but has a relatively low steady-state error. The Modified Sepic
Converter with PV-PI Controller shows better performance with low overshoot and
steady-state error, although it has a longer settling time. The performance of the
DC Source with Fuzzy Controller and the Modified Sepic Converter with PV-
Fuzzy Controller is not fully assessed due to missing settling time and overshoot
information.
Finally among all the types its discussed and concluded that the Modified
Sepic Converter with PV-PI controller and PV-Fuzzy controller outperforms the
Fuel Cell and DC source in terms of overshoot, settling time, and steady-state
error.
CHAPTER 10
CONCLUSION AND FUTURE WORK
10.1 CONCLUSION
In conclusion, this project focused on the design and analysis of a modified
SEPIC converter for PV, DC, and fuel cell applications. The objective was
to convert a 12V input voltage to a regulated 24V output voltage while
evaluating the performance of two control strategies: PI control and Fuzzy
control.
Through simulations and analysis, it was found that both the PI control and
Fuzzy control strategies effectively regulated the MOSFETs in the modified
SEPIC converter.
The PI controller provided accurate and stable control, while the Fuzzy
control system demonstrated its ability to handle complex control scenarios.
Comparative analysis of the control strategies revealed their respective
strengths and weaknesses.
The PI controller offered precise control and stable operation, while the
Fuzzy control system showcased adaptability and robustness in handling
uncertainties. The choice of the control strategy depended on specific
requirements and trade-offs in terms of performance objectives.