+ All Categories
Home > Documents > Simulink® Based design and implementation of a solar power ...

Simulink® Based design and implementation of a solar power ...

Date post: 01-Jan-2017
Category:
Upload: trankhuong
View: 232 times
Download: 0 times
Share this document with a friend
59
SIMULINK R BASED DESIGN AND IMPLEMENTATION OF A SOLAR POWER BASED MOBILE CHARGER Manoj Kumar Mukka, B. Tech. Thesis Prepared for the Degree of Master of Science UNIVERSITY OF NORTH TEXAS May 2016 APPROVED: Saraju P. Mohanty, Major Professor Elias Kougianos, Co-Major Professor Bill Buckles, Committee Member Barrett Bryant, Chair of the Department of Computer Science and Engineering Costas Tsatsoulis, Dean of the College of Engineering Costas Tsatsoulis, Dean of the Robert B. Toulouse School of Graduate Studies
Transcript
Page 1: Simulink® Based design and implementation of a solar power ...

SIMULINK R©BASED DESIGN AND IMPLEMENTATION OF A SOLAR POWER

BASED MOBILE CHARGER

Manoj Kumar Mukka, B. Tech.

Thesis Prepared for the Degree of

Master of Science

UNIVERSITY OF NORTH TEXAS

May 2016

APPROVED:

Saraju P. Mohanty, Major ProfessorElias Kougianos, Co-Major ProfessorBill Buckles, Committee MemberBarrett Bryant, Chair of the Department of

Computer Science and EngineeringCostas Tsatsoulis,

Dean of the College of EngineeringCostas Tsatsoulis, Dean of the Robert B. Toulouse

School of Graduate Studies

Page 2: Simulink® Based design and implementation of a solar power ...

Mukka, Manoj Kumar. Simulink® Based design and implementation of a solar

power based mobile charger. Master of Science (Computer Engineering), May 2016, 49

pp., 4 tables, 30 illustrations, references, 45 titles.

Electrical energy is used at approximately the rate of 15 Terawatts world-wide.

Generating this much energy has become a primary concern for all nations. There are

many ways of generating energy among which the most commonly used are non-renewable

and will become extinct much sooner than expected. Among the available sources, solar

energy is being considered as the most abundant and has received high attention. The

mobile phone has become one of the basic needs of modern life, with almost every human

being having one. Individually a mobile phone consumes little power but collectively this

becomes very large. This consideration motivated the research undertaken in this master’s

thesis. The objective of this thesis is to design a model for solar power based charging

circuits for mobile phone using Simulink®. This thesis explains a design procedure of

solar power based mobile charger circuit using Simulink® which includes the models for

the photovoltaic array, maximum power point tracker, pulse width modulator, DC-DC

converter and a battery. The first part of the thesis concentrates on electron level behavior

of a solar cell, its structure and its electrical model. The second part is to design an array

of solar cells to generate the desired output. Finally, the third part is to design a DC-DC

converter which can stabilize and provide the required input to the battery with the help

of the maximum power point tracker and pulse width modulation. The obtained DC-DC

converter is adjustable to meet the requirements of the battery. This design is aimed at

charging a lithium ion battery with nominal voltage of 3.7 V, which can be taken as

baseline to charge different types of batteries with different nominal voltages.

Page 3: Simulink® Based design and implementation of a solar power ...

Copyright 2016

by

Manoj Kumar Mukka

ii

Page 4: Simulink® Based design and implementation of a solar power ...

ACKNOWLEDGMENTS

My first words of gratitude go to my major professor, Dr. Saraju P. Mohanty for

giving me inspiration, motivation, continuous help and flexibility to complete my research.

I am deeply indebted for his kindness. I would like to express my sincere thanks to my

co-major professor, Dr. Elias Kougianos for endorsing my skills and providing assistance

on Simulink R© . I would also like to acknowledge Dr. Bill Buckles, my committee member,

for accepting to examine this research. I will be always grateful to my family for their

support and love. I would also like to thank the Nanosystem Design Laboratory(NSDL)

members: Shital Joshi, Prasanth Yanambaka, Gunasekhar, Umar Albalawi, Nagaraju Mukka

and Prabha Sundarvadivel for their kind support during my research. Last but important, I

would like to thank the University of North Texas and the Department of Computer Science

and Engineering for making my research possible by providing the required resources.

iii

Page 5: Simulink® Based design and implementation of a solar power ...

TABLE OF CONTENTS

Page

ACKNOWLEDGMENTS iii

LIST OF TABLES vii

LIST OF FIGURES viii

CHAPTER 1 Introduction 1

1.1. Motivation 1

1.2. Electrical Energy 1

1.3. Electrical Energy Consumption Statistics 2

1.4. Energy Generation 2

1.4.1. Renewable and non-Renewable Energy Sources 3

1.4.2. Thermal Energy 4

1.4.3. Hydro Energy 4

1.4.4. Nuclear Energy 4

1.4.5. Wind Energy 4

1.4.6. Solar Energy 5

1.5. Scope of Solar Energy 5

1.6. Organization of this Thesis 5

CHAPTER 2 Literature Survey 7

2.1. Invention of Solar Cell 7

2.2. Semiconductors 7

2.3. P-N Junction Diode 8

2.4. Modeling of the Solar Cell 9

2.5. SIMULINK R©Based Modeling of Circuits and Systems 9

iv

Page 6: Simulink® Based design and implementation of a solar power ...

2.6. Contributions of this Thesis 12

CHAPTER 3 The Solar or Photovoltaic Cell 13

3.1. Solar cell or photovoltaic cell 13

3.2. Evolution of Solar Cells 14

3.2.1. First Generation 14

3.2.2. Second Generation 14

3.2.3. Third Generation 15

3.3. Electrical Model of the Solar Cell 16

3.3.1. Single diode model a the solar cell 16

3.3.2. Dual Diode model of the solar cell 17

3.4. Arrays and Modules 18

3.4.1. Photovoltaic Modules 18

3.4.2. Solar Cell Arrays 18

CHAPTER 4 SIMULINK R© Implementation of solar moblie chrager 20

4.1. Simulink R© 20

4.2. Block diagram of PV charging of a battery 20

4.2.1. Photovoltaic cell 21

4.3. Simulation of a solar cell in Simulink R© 22

4.4. Components of Solar Cell Charger 22

4.4.1. Solar cell 22

4.4.2. Irradiance 24

4.4.3. Signal Builder 25

4.4.4. S-PS and PS-S converter 25

4.4.5. Current and Voltage Sensors 26

4.4.6. Solver Configuration 27

4.4.7. Scope 28

4.5. Simulation Results 29

v

Page 7: Simulink® Based design and implementation of a solar power ...

4.5.1. Variation according to Irradiance 29

4.6. Variations according to the number of solar cells used 29

4.7. Controlled Voltage Source 32

4.7.1. MPPT: Maximum Power Point Tracker 34

4.8. DC-DC Converter 35

4.8.1. Pulse Width Modulation Generator (DC-DC) 37

4.8.2. Insulated Gate Bipolar Transistor (IGBT) 38

4.8.3. Calculation of Inductance and Capacitance 39

4.8.3.1. Inductance 39

4.8.3.2. Capacitance 39

4.9. Lithium Ion Battery 40

CHAPTER 5 Conclusions and Directions for Future Research 43

5.1. Summary and Conclusions 43

5.2. Future Directions of Research 44

BIBLIOGRAPHY 45

vi

Page 8: Simulink® Based design and implementation of a solar power ...

LIST OF TABLES

Page

Table 1.1. World Power Consumption [7]. 2

Table 4.1. Variation as a function of Irradiance. 30

Table 4.2. Variation according to the number of solar cells. 32

Table 4.3. Battery Block Properties 41

vii

Page 9: Simulink® Based design and implementation of a solar power ...

LIST OF FIGURES

Page

Figure 1.1. World power consumption trend over the last 10 years [7]. 3

Figure 2.1. Diode biasing. 9

Figure 2.2. Illustrative I − V characteristics of a diode for forward and reverse bias

conditions. 10

Figure 2.3. I − V characteristics of a diode for forward conditions generated using

Simulink R© . 11

Figure 3.1. Photovoltaic cell structure. 13

Figure 3.2. Single diode model for solar cell. 17

Figure 3.3. Dual diode model of a solar cell. 18

Figure 3.4. Array of solar cells. 19

Figure 4.1. Block diagram of solar charger. 21

Figure 4.2. Schematic diagram of solar mobile charger. 23

Figure 4.3. Schematic diagram of PV module. 24

Figure 4.4. Solar cell library component. 25

Figure 4.5. Irradiance block component. 25

Figure 4.6. S-PS converter 26

Figure 4.7. PS-S converter. 26

Figure 4.8. Current Sensor. 27

Figure 4.9. Voltage Sensor. 28

Figure 4.10. Solver Configuration. 28

Figure 4.11. Scope component. 29

Figure 4.12. Voltage vs. irradiance. 30

Figure 4.13. Current vs, irradiance. 31

Figure 4.14. Power vs. irradiance. 31

viii

Page 10: Simulink® Based design and implementation of a solar power ...

Figure 4.15. Voltage vs number of cells. 32

Figure 4.16. Current vs number of cells. 33

Figure 4.17. Power vs number of cells 33

Figure 4.18. Perturbation and observation algorithm. 36

Figure 4.19. MPPT circuit. 37

Figure 4.20. DC-DC converter. 37

Figure 4.21. Insulated gate bipolar transistor (IGBT). 38

Figure 4.22. Battery Charging Behavior. 42

ix

Page 11: Simulink® Based design and implementation of a solar power ...

CHAPTER 1

INTRODUCTION

1.1. Motivation

Energy is a burning issue in the present world, since all non-renewable sources are

going to become extinct due to our overuse. Hence we should depend on renewable energies

among which solar energy is the most plentiful source. There is research indicating that if

we could store solar energy for a day all over world it will be enough to give electricity for a

year but it is very difficult to store the generated energy. In this project a Simulink R©model

for a solar charger for a mobile phone is designed. The mobile phone has become a necessary

component in our present life. If we can charge the mobile battery with solar energy then

we can save substantial energy [35]. In this research Simulink R©based modeling is explored

for the design and simulation of a solar charger [39].

An important component to be used in this model is the photovoltaic cell which

converts solar energy into electrical energy at the atomic level. When light falls on these

cells they absorb photons from the light and release electrons. If these electrons are collected

they form an electric current flow which can be used as electricity [33]. Hence they are also

known as solar cells. These cells are made of semiconductor materials like silicon. A silicon

wafer with positive charge on one side and negative on the other side can be said to act as

a diode electrically. When photons strike the wafer, electrons are emitted and if we create

a closed circuit between the positive and negative sides of the wafer [34] then the electrons

flow from negative to positive creating an electric current. This current can be filtered and

amplified to produce enough power to charge a mobile device.

1.2. Electrical Energy

Electrical energy is the most essential form of energy we use in present society. Electric

energy can be described as energy stored in charged particles moving in an electric field. It

is easy to transmit and when electrons move in a conductor they produce electric current.

Hence when electrons are forced to move in a conductor they produce electricity [11]. We

1

Page 12: Simulink® Based design and implementation of a solar power ...

use different forms of energy to do this. Generally electric energy is produced by converting

other forms of energy (coal, nuclear, solar, wind, hydroelectric etc.).

1.3. Electrical Energy Consumption Statistics

In the past ten years energy consumption has increased substantially. Table 1.1 shows

a summary of the electricity consumption for the past ten years. From figure 1.1 we observe

that power consumption has increased by 30% in ten years [7]. If this increase is continuous,

it will be very difficult to generate the energy required to serve every one. Every second in

our life is being attached to electrical energy; electricity is a basic need which is not always

available for 40% of world population [13]. Hence energy conservation is very important.

Year China USA Japan India Russia Canada Germany Brazil France Total

2013 4600 3819 923 857 856 559 525 509 464 13615

2012 4276 3820 939 870 809 547 531 493 459 13235

2011 4052 3883 955 856 774 547 537 481 445 13005

2010 3893 3626 1016 851 712 544 533 472 458 12564

2009 3725 3223 951 808 659 512 491 448 415 11653

2008 3907 2989 980 843 612 541 528 461 408 11692

2007 3922 2817 1027 821 579 543 533 448 393 11489

2006 3818 2446 1000 798 542 525 523 446 371 10855

2005 3811 2126 993 760 539 538 472 451 358 10419

2004 3716 1859 977 739 537 532 449 446 348 9959

2003 3662 1605 950 721 530 525 437 417 339 9533

Table 1.1. World Power Consumption [7].

1.4. Energy Generation

Electrical energy is generated by forcing a charged particle moving in an electric

field. Generally electrical energy is produced by rotating turbines using various methods.

According to the above data it is clear that huge amounts of energy are consumed hence

huge amounts of energy should be generated from available but limited resources. Since it

2

Page 13: Simulink® Based design and implementation of a solar power ...

0

2000

4000

6000

8000

10000

12000

14000

16000

2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013

Po

we

r in

TW

h

Year

Power Consumption

Figure 1.1. World power consumption trend over the last 10 years [7].

has become a most essential commodity, with the increase in technology the demand for

electric energy has increased rapidly. Hence generation of energy has become a very difficult

task [9]. There are many types of energy generation, as described below.

1.4.1. Renewable and non-Renewable Energy Sources

Renewable energy sources are the sources which do not become extinct as they are

used. They are unlimited in availability and renew themselves. Hydropower, solar power and

wind power come into this category. Using renewable energy sources should be encouraged.

They create less pollution, and are sustainable for long times. Non-renewable energy sources

are the sources which do not renew themselves after being used [12]. They are limited in

availability. Coal, petroleum, natural gas, and nuclear energy come into the category of non-

renewable energy sources. They become extinct as they are being used and they produce

huge amounts of pollution. Hence usage of non-renewable sources should be reduced. Using

renewable sources should be encouraged. Following is a brief overview how electricity is

generated.

3

Page 14: Simulink® Based design and implementation of a solar power ...

1.4.2. Thermal Energy

In thermal power plants the thermal energy is used to generate electric energy by

boiling water into steam and using the steam to rotate turbines which produce electricity

by the principle of electromagnetic induction [43]. Generally coal, petroleum or natural

gas are used to produce heat. About 60% of electric energy is generated by using thermal

power plants [7]. Since fossil fuels are burnt to produce heat they produce a vast amount of

pollution.

1.4.3. Hydro Energy

The energy from falling water or running water is used to rotate turbines which

produce electricity by the principle of electromagnetic induction. Many dams are constructed

across the rivers to increase the pressure of the water. It contributes about 10% of world

energy generation [12]. It is difficult to build dams, hence hydro power plants are limited.

China is the largest hydro power utilizer [38].

1.4.4. Nuclear Energy

Energy is produced by the process of nuclear fission. Nuclear fission is the process

in which uranium atoms are split in smaller particles and produce large amounts of energy

which is used to boil water and generate steam. The steam is used to rotate turbines [37].

The rotation of turbines ultimately produces electric energy. France is the world’s largest

nuclear energy utilizer. 70% of electricity in France is produced by using nuclear energy

[7]. Nuclear energy plants cannot be shut down easily, and may cause huge environmental

damage if it they effected by earthquakes or other natural or manmade disasters.

1.4.5. Wind Energy

The kinetic energy from moving air is used to rotate wind turbines and is converted

into electric energy by using the principle of electromagnetic induction. Depending upon

the application, the size of turbine is determined. For a battery charger a small turbine is

used. For domestic purposes larger turbines are used and for the electric grid they are very

4

Page 15: Simulink® Based design and implementation of a solar power ...

large. They need large space to construct and hence their use is limited. About 1.1% of the

world’s energy is generated from wind power [45].

1.4.6. Solar Energy

Solar energy is the most abundant source of energy. It can be used in two ways to

generate energy. It can be used to boil water and rotate turbines. Solar energy can also be

used to generate electricity by using the photovoltaic effect. For this an electronic component

called the photovoltaic cell [44] is needed which absorbs photons from the sunlight and breaks

electron pairs which make charged particle move. They can be converted into DC electrical

energy by using this effect. Photovoltaic cells are made from semiconductor materials. Solar

energy is available everywhere and but photovoltaic cells are very inefficient. Constructing

solar plants requires huge amount of investment hence solar energy power plants are limited.

About 4% of the world’s electricity is generated from solar energy.

1.5. Scope of Solar Energy

Solar energy is the most abundant source of energy; it is an inexhaustible energy

source which is also environmentally friendly. Since 2010 solar energy use has been encour-

aged. After a few decades we will be out of all the non-renewable sources which makes us to

depend on solar energy [19] more and more as time goes by. By 2050 solar energy will be the

leading energy source. Hence solar power plants should be encouraged. The only obstacle

for this is the efficiency of solar power plants. They need a very large initial investment, but

it is not recurring.

1.6. Organization of this Thesis

The thesis is about solar cells and modeling a solar mobile charger.

The chapters in this thesis report are as follows:

Chapter 2 gives an overview of the history of solar energy and solar cells, which includes the

invention of solar cells, and their price reduction. It also summarizes previous research on

the photovoltaic cells using Simulink R© .

Chapter 3 details the structure and function of solar cells starting from the base element

5

Page 16: Simulink® Based design and implementation of a solar power ...

semiconductor to an array of solar cells. It also describes the solar cell using different

electrical and mathematical models.

Chapter 4, focuses on the Simulink R© implementation of the solar mobile charger, which starts

with the analysis the solar cell block in the Simscape R© library. A solar cell module is then

designed, followed by the design of the maximum power point tracker which increases the

efficiency. The design procedure for a DC-DC converter and its behavior are also provided.

In the final step the Lithium Ion battery is described and is considered as a mobile phone

battery.

Chapter 5 contains the conclusions drawn from the thesis and directions for future study.

6

Page 17: Simulink® Based design and implementation of a solar power ...

CHAPTER 2

LITERATURE SURVEY

2.1. Invention of Solar Cell

Solar energy was first commercially used by Sir Frank Shuman in 1897 to generate

energy by converting water into steam to run a steam engine by using dark colored pipes and

mirrors. This is all mechanical energy generation. Before this happened, in 1839 the photo-

voltaic effect was demonstrated by Sir Alexandre-Edmond Becquerel. The first solar cell was

built by Aleksandr Stoletov in 1888 based on the photoelectric effect proposed by Heinrich

Hertz [18]. In 1905 Albert Einstein presented a paper on carrier excitation due to light for

which he received the Nobel Prize in Physics in 1921. Later in 1946 Russell Ohl patented

the junction semiconductor solar cell. In 1954 the first photovoltaic cell was demonstrated

publicly at Bell Laboratories by Daryl Chapin, Calvin Souther Fuller and Gerald Pearson.

In the early 1960’s solar cells where used in space applications only since they were costly.

Later, due to the invention of integrated circuits, the cost reduced substantially [14].

2.2. Semiconductors

A semiconductor is a material that has special properties, with its electrical conduc-

tivity value between that of an insulator and that of a conductor. This is of huge importance

in modern electronics. The IV A group elements silicon and germanium are the generally

used materials to construct semiconductor devices, since they have four valence electrons

in their outermost shell which gives them the ability to lose or gain an equal number of

electrons at the same time. Mostly silicon is used in semiconductor devices, because it is the

most abundant material on earth [31]. Silicon material can act as insulator, conductor and

semiconductor by selective doping. Group III or V elements are doped into silicon to obtain

a semiconductor. In this process impurities are added to silicon to change its conductivity

and are called extrinsic semiconductors. There are two types of extrinsic semiconductors:

An n-type semiconductor is formed by doping an intrinsic semiconductor with group

V elements which have five valence electrons, hence there will be an excess or free electron.

7

Page 18: Simulink® Based design and implementation of a solar power ...

On the other hand, the p-type semiconductor is formed by doping an intrinsic semiconductor

with group III elements which have three valence electrons, hence it will be ready to accept

an electron resulting in holes as the majority carrier [6]. By thermal variations the electrons

acts as minority carriers while a hole indicates the absence of an electron. In p-type semi-

conductors the Fermi level is below the Fermi level in intrinsic semiconductor. Hence the

Fermi level is closer to the valence band compared to the conduction band. Generally Boron

which is a group III element is doped into silicon to get p-type semiconductors.

2.3. P-N Junction Diode

When n-type impurities which have donor impurities are added to silicon they form

an n-type semiconductor with electrons as the majority carriers. When p-type impurities

which have acceptor impurities are added to silicon they form a p-type semiconductor with

holes (positive charge) as majority charge carriers. When this two types of semiconductor

are joined, they form a P-N junction diode [33]. The impurities in n-type which are electrons

recombine with p-type impurities which are holes and form a depletion layer which stops

further recombination.

The diode can be operated in two regions: forward bias or reverse bias as shown in

figure 2.1. In forward bias the p-type semiconductor is connected to the positive terminal and

the n-type is connected to the negative terminal of the battery. At a certain voltage called

threshold voltage, thediode acts as a conductor as seen from the I −V characteristics in the

graph. For reverse bias the p-type semiconductor is connected to the negative terminal and

the n-type is connected to the positive terminal of the battery. The electrons from n-type

and holes from p-type are pulled by the battery since they are connected to opposite charge

which increases the depletion region [6] and the diode acts as an insulator up to a certain

voltage. After that voltage, due to overheat it may cause thermal damage. The illustration

of I − V characteristics of a diode covering both its forward and reverse bias modes are

depicted in figure 2.2. The I − V characteristic of a diode generated from a Simulink R©

simulation is shown in figure 2.3.

8

Page 19: Simulink® Based design and implementation of a solar power ...

Figure 2.1. Diode biasing.

2.4. Modeling of the Solar Cell

In 1981 V.Cordes and K. P. Maass published a paper which discussed photovoltaic

power [10] and proposed to use solar energy for telecommunication systems. Iin 1988 the

conference on solar cells [26] named by “Photovoltaic Specialists Conference, 1988” con-

tained a large body of research on solar cells and the photovoltaic effect. In 2000 at the

Eighth International IEEE conference on Power Electronics and Variable speed Drivers [27],

a Simulink R©model of a PV cell has been published which gives a detailed view of the cell.

In 2002 a theoretical analysis of PV systems is provided in “IEEE Transactions on Energy

Conversation 2002” which gives a number of related papers [30].

2.5. SIMULINK R©Based Modeling of Circuits and Systems

Circuits and systems in general can be modeled at various levels of abstraction [33].

The abstractions allow a divide-and-conquer mechanism to handle large and complex circuit

and system design and simulation. The modeling is also possible in a behavioral fashion as

9

Page 20: Simulink® Based design and implementation of a solar power ...

I

V

Forward Bias

Reverse Bias

Leakage current

Avalanche

Current

Breakdown

Voltage, Vz

Vth

Threshold

Voltage

Figure 2.2. Illustrative I − V characteristics of a diode for forward and

reverse bias conditions.

well as structural fashion. Behavioral simulation and modeling is faster, but does not capture

any structural details and hence synthesizing circuits or systems out of behavioral models

is a very difficult task. On the other hand, structural modeling captures the structure of

the circuits and systems and hence can be taken to a level at which they can be built as an

actual entity. However, it can be difficult to obtain a flat description of a circuit and system

without following some sort of hierarchical mechanism.

SIMULINK R©has been explored for nanoelectronic circuit modeling in [25, 24]. In

this work, it is advocated that Simulink R©or Simscape R©based modeling can allow high speed

simulation of circuits and systems. It can be performed using very minimal computational

resources as compared to the case of a SPICE. SIMULINK R©models do not require any

fab data; rather they rely on first principle models published in the physics/semiconductor

10

Page 21: Simulink® Based design and implementation of a solar power ...

-0.1 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8-1

0

1

2

3

4

5

6

7

8x 10

7 Characteristic of semiconductor diode

Voltage v, V

Cur

rent

i, m

A

Figure 2.3. I−V characteristics of a diode for forward conditions generated

using Simulink R© .

literature. A specific case study of a graphene based nanoelectronic system, a 45nm based

LC-VCO has been presented.

In 2001 Geoffrey Walker proposed a Maximum Power Point Tracking (MPPT) con-

verter topology using MATLAB R©pv models [17]. Based on this research Francisco modeled

a photovoltaic module using MATLAB R© [16]. Later an article which proposed a Simulink R©

model of solar photovoltaic cells in the “International journal of Renewable Energy Research”

gave a complete model of a solar cell using Simulink R© . Based on that research an article

was published in the “International Journal of Engineering Sciences and Research Tech-

nology” which gave a model of solar photovoltaic arrays for battery charging applications

using Simulink R© [35]. This article is a good example model of a solar mobile charger using

11

Page 22: Simulink® Based design and implementation of a solar power ...

Simulink R© .

2.6. Contributions of this Thesis

The overall objective of this thesis is to design a Simscape R©based Simulink R©model of

a solar mobile phone charger. In the part stage of this research the structure of a solar cell is

being studied. Then the behavior of a solar cell is simulated in Simulink R© . In the third part

a MPPT is designed using Simulink R© , followed by the design of a DC-DC converter which

completes the whole design. The novel contributions of this thesis include the following:

• This thesis is a unique idea to reduce the usage of non-renewable energy sources

by using solar energy to charge mobile devices which are being used by billions of

people.

• An adjustable design for charging different types of portable devices is presented.

The design can charge any device by just varying the values of components.

• A study of a maximum power point tracker using Simulink R© , which can increase

the efficiency of a system, was performed.

• A study on the behavior and working principles of Lithium ion batteries is presented.

12

Page 23: Simulink® Based design and implementation of a solar power ...

CHAPTER 3

THE SOLAR OR PHOTOVOLTAIC CELL

3.1. Solar cell or photovoltaic cell

The photovoltaic cell (PV), which is also called a solar cell, is an electronic circuit

which converts solar energy to electric energy [33, 8]. It uses a photo diode as the component

which absorbs the photons from the solar energy and releases recombined electron-hole pairs

and forms a free electron which is attracted towards the cathode and the free hole is attracted

towards the anode to create a photo current [40]. For this n-type and p-type semiconductors

are connected as shown in figure 3.1.

- + -+

+

+-

-

Negative Electrode

Solar radiation

n-type Semiconductor

p-type Semiconductor

Positive Electrode

electric current

Figure 3.1. Photovoltaic cell structure.

A layer of anti-reflective material coating is applied at the top get more intensity from

the solar energy. When the semiconductor absorbs the photon, it increases the energy of

the electron in the valance band and it transitions into the conduction band [28]. For this

reaction to occur, the incident photon energy should be higher than the band gap energy.

These conducting electrons will produce a current through the semiconductor material which

moves along the conductors to the load. As shown in the figure the red arrows are the solar

13

Page 24: Simulink® Based design and implementation of a solar power ...

rays, among which there are reflecting rays, rays which miss the solar cell and rays which

penetrate through the anti-reflecting layer and break the electron-hole combination.

3.2. Evolution of Solar Cells

3.2.1. First Generation

In the first generation, solar cells were manufactured using silicon or germanium which

are group IV elements. Boron (group III) and Phosphorous(group V) are used as dopants to

develop p-type and n-type materials respectively. This generation solar cells were also called

crystalline silicon based solar cells. Bulk silicon is categorized according to crystal size and

crystal alignment which forms wafers [33]. The first generation solar cells are very poor in

efficiency, which is around 15-20%. They are highly costly due to their manufacturing cost,

yet they have been used a lot for roof tops.

3.2.2. Second Generation

Second generation solar cells, which are also known as thin film solar cells, are man-

ufactured by developing a thin film on a conducting substrate. Some examples are:

(1) Amorphous Silicon Cells : To manufacture amorphous silicon cells requires lower

temperatures than the first generation. The base is a metal on which n-layer, in-

trinsic and p-layer are constructed. Doping is done by introducing hydrogen on to

silicon which allows it to form p-type and n-type with boron and phosphorous. By

using a thin layer the solar cells are affected by the Staebler-Wronski effect which is

a reduction in efficiency due to the increase in recombination current. Recombina-

tion increases due to the increased density of hydrogenated amorphous silicon due

to light. This effect is reduced by using multiple thin layers.

(2) Polycrystalline silicon on low cost substrate: The polycrystalline silicon is achieved

by using chemical decomposition of silane on to silicon wafers. In these cells anti

reflection layers are used which increase the time light travels within the cell and

by texturing the surface which changes the flat surface to anti reflecting surface.

14

Page 25: Simulink® Based design and implementation of a solar power ...

(3) Copper Indium Diselenide (CIS) Cells : Copper Indium Diselenide is a composition

of copper, gallium, indium and selenium. This material can absorb light more

efficiently than any other material. It can absorb up to 99% of light within one µm

inside the material. These cells are not widely used because they are not stable or

efficient.

(4) Cadmium Telluride Cells : Cadmium Telluride cells are manufactured at the lowest

cost compared to the conventional solar cells. Cadmium telluride is the base element

in these cells. These cells can give energy payback in a short period of time. They are

mainly used to generate energy by converting water into steam and use it to rotate

a turbine. They are been discontinued because of their effect on the environment

when they are recycled.

3.2.3. Third Generation

The second generation cells have instability, are sensitive to atmosphere elements

like oxygen and water, which necessitated the invention of third generation cells. Third

generation cells are even lower cost, have thinner films and need lower temperature for faster

manufacturing. There is a large variation in material, material composition, architecture,

synthesis, combination, layer stacking and substrate they are build on. They are flexible,

or rigid with high efficiency and huge potential. Organic photovoltaics are used in this

generation, which are scalable, and they do not have toxic materials. There are several

technologies in this generation. One of them is Quantum Dot(QD) solar cells. In Quantum

Dot cells the quantum dot material has a diameter in nanometers. The smaller size makes its

carriers to exhibit quantum confinement. This property gave quantum dots an opportunity

to replace bulky semiconductors. To manufacture the Quantum Dot solar cells the principle

of centrifugal force is used. Generally when a photon hits a solar cell surface an electron-hole

pair is excited, but in the case of quantum dot solar cells several pairs are excited producing

more energy with the same amount of input, which ultimately increases the efficiency of the

solar cell. Very active research is going on the solar cells to increase the efficiency by not

only changing the chemical properties but also the structure of the cell. Smart solar cells

15

Page 26: Simulink® Based design and implementation of a solar power ...

are being invented which follow the direction of sun to absorb more irradiance.

3.3. Electrical Model of the Solar Cell

3.3.1. Single diode model a the solar cell

Photovoltaic cells can be represented by an electrical model by connecting a current

source in parallel to a diode as shown in figure 3.2. Since no circuit is ideal a shunt resistor

and a series resistor are connected to show the short circuit loss and device loss. The working

of a solar cell can be explained by using this model. The current equation of a solar cell

using this electrical model is given by:

(1) I = IPH − ID − IR1

For an ideal solar cell the equation can be written as follows:

(2) I = IPH − ID

The above can be written as follows which uses first principle models for the diode current:

(3) I = IPH − Io

(e

qvkt − 1

).

Since no device is ideal we have a shunt resistance in addition to the ideal relations. In the

process the following expression is obtained:

(4) I = IPH − Io

(exp

q(V +RsI)

nkt− 1

)−(V +RsI

Rsh

).

In the above equation Io is the diode saturation current, T is the cell temperature

in degrees Kelvin, k is the Boltzmann constant, q is the elementary charge, V is the cell

voltage that is either produced or applied, n is the diode ideality factor, and Rs and Rsh

represent the series and shunt resistances, respectively. Rs represents the series resistance

which accounts for the resistance in the current path through the semiconductor, metal,

contacts and current collecting bus. Rsh represents the loss caused due to current leakage

through the parallel resistive path.

16

Page 27: Simulink® Based design and implementation of a solar power ...

AC Current Source

DiodeRsh

Rs Vout+

Vout-

Figure 3.2. Single diode model for solar cell.

3.3.2. Dual Diode model of the solar cell

In the dual diode model of a solar cell we connect two diodes in parallel to the current

source. This model has been produced to optimize the short circuit current in the single

diode model. By connecting the second diode we have increased the ideality factor which

indicates the junction recombination. This is an important aspect in solar cell operation.

The circuit in figure 3.3 shows the dual diode model for a solar cell.

The output current I for the dual diode model is given by the following expression:

(5) I = IPH − Is

(exp

q(V +RsI)

Nkt− 1

)− Is2

(exp

q(V +RsI)

N2kt− 1

)−(V +RsI

Rsh

).

In the above expression, Is and Is2 are the diode saturation currents, Vt is the thermal

voltage, N and N2 are the ideality factors (diode emission coefficients) and IPH is the solar-

generated current. The ideality factor varies for amorphous cells, and typically has a value

in the range of 1 to 2. By using the second diode the ideality factor is almost near to 2.

17

Page 28: Simulink® Based design and implementation of a solar power ...

AC Current Source

Diode1

Vout+

Vout-

Diode2Rsh

Rs

Figure 3.3. Dual diode model of a solar cell.

3.4. Arrays and Modules

3.4.1. Photovoltaic Modules

PV modules are electrically connected solar cells which give more output than single

cells. Typically a module has 36 solar cells which are connected in series. After they are

interconnected the module is sandwiched with a strong material such as glass or tough

plastic. The solar cells are thin and easily breakable so they will be covered with hard light

transparent glass or plastic depending upon the application [4]. It will be protected by glass

on the top and a backing sheet at the bottom. All these layers are sandwiched and protected

by an aluminum frame. The main objective is to increase its utility and provide strength

both physically and chemically. Physical damages are damages due to external forces, and

chemical damage is reaction with the atmosphere mostly with water and water vapor which

will short circuit the internal connections.

3.4.2. Solar Cell Arrays

As shown in figure 3.4 the solar modules are combined together to make a solar array

which is designed according to the application. The required output voltage is measured and

18

Page 29: Simulink® Based design and implementation of a solar power ...

accordingly the number of modules is selected. Then they are connected in series or parallel

and again given additional protection by glass and aluminum frame. When these solar cells

are connected in series or parallel there will be a problem of reverse current due to shaded

solar cells. This may lead to bursting of the whole array so bypass diodes are connected

which will stop the reverse current and do not cause any loss.

Photovoltaic Cell

Photovoltaic Module

Photovoltaic Array

Figure 3.4. Array of solar cells.

19

Page 30: Simulink® Based design and implementation of a solar power ...

CHAPTER 4

SIMULINK R© IMPLEMENTATION OF SOLAR MOBLIE CHRAGER

4.1. Simulink R©

To implement this project Simulink R© is being used. Simulink R© is very advanced tool

which has many predefined electronic components and model libraries. It is a highly user

friendly tool. Simulink R© is part of Mathworks development [1]. Simulink R©has a graphical

editor which allows for graphical programming, it has block libraries which can be modified

according to requirements, and solvers for dynamic system modeling and simulation. It

can also incorporate MATLAB R©algorithms into models which can be used to simulate the

blocks. Simulink R©provides hierarchical subsystems since it has predefined libraries. We

can view simulation results and debug them. We can also use Simulink R©model to test real

time embedded system and obtain real time results. It can easily manage storing large

amounts of data which are interrelated [25]. The most important library used in this project

is Simscape R© , which has all the electronic devices which are readily available for use [5].

4.2. Block diagram of PV charging of a battery

The block diagram in figure 4.1 shows a brief outline of the project system. The

photovoltaic cell is the starting block which absorbs the photon from the solar light, and

emits electrons which are used to generate the electricity. A maximum power point tracker

is used to draw the maximum power from the photovoltaic cell. It uses a perturb and

observe algorithm to get the maximum power. The module voltage is perturbed by a small

increment and the resulting change in power is observed. This is repeated many times to

get the maximum power operating point. The DC/DC converter provides voltage matching

between the generated voltage and the load voltage: it will step up or step down the voltage

according to the requirement and will regulate the voltage across the PV array. Then the

generated energy is stored in the battery. A shunt resistance is used to draw away the extra

current when the battery is full; hence it is connected in parallel to the system. At the end

the stored energy can be used to draw the required load current.

20

Page 31: Simulink® Based design and implementation of a solar power ...

DC-DCConverter

ControlledVoltage

MPPT

PV Module Battery

Irradiance

Figure 4.1. Block diagram of solar charger.

4.2.1. Photovoltaic cell

The photovoltaic cell, which is also called a solar cell, is an electronic device which

converts solar energy to electric energy. It uses a photo diode as the component which absorbs

the photons from the solar energy and releases recombined electron-hole pairs and forms a

free electron which is attracted towards the cathode and a free hole which is attracted towards

the anode [23]. A layer of anti-reflective material coating is given at the top to obtain more

intensity from the solar energy. When the semiconductor absorbs the photon, it increases

the energy of the electron in the valance band forcing it into the conduction band. For

this reaction the incident photon energy should be higher than the band gap energy. These

conducting electrons will produce a current through the semiconductor material. To use the

photo current a load is connected across the cathode and anode which gives the cell a current

path [22].

21

Page 32: Simulink® Based design and implementation of a solar power ...

4.3. Simulation of a solar cell in Simulink R©

To design a solar mobile charger, it is needed to know the working of the solar cell or

photovoltaic cell which is the important component in the whole project. To understand the

behavior of the solar cell, a solar cell component which is already available in the Simscape R©

library of Simulink R© is simulated with various inputs. The circuit in figure 4.2 shows the

simulation setup. By varying the irradiance and number of solar cells, the output voltage

and current is being recorded [25]. Various components for this simulation are used and their

function is explained in the following sections.

4.4. Components of Solar Cell Charger

4.4.1. Solar cell

This is the basic block which represents a photovoltaic cell. This block is available

in the simelectronics building blocks which are accessible in the simscape library as shown

in figure 4.4. This block represents a circuit with a parallel combination of a current source,

two exponential diodes, a resistor (Rsh) and a series resistor (Rs).

This is a dual diode model of a solar cell. Here the block is constructed by considering

or replacing the process of photovoltaic effect by using a current source and a diode in parallel

which is the same as the photovoltaic effect, and the input is controlled by the irradiance

which replaces the solar energy. The output current is calculated by using the following

expression:

(6) I = IPH − Is

(exp

q(V +RsI)

NVt− 1

)− Is2

(exp

q(V +RsI)

N2Vt− 1

)(V +RsI

Rsh

).

Diode saturation currents are being shown as Is and Is2, Vt is the thermal voltage, N

and N2 are the quality factors (diode emission coefficients) and IPH is the solar-generated

current. The quality factor varies for amorphous cells, and typically has a value in the range

of 1 to 2. The physical signal input Ir is the irradiance (light intensity) in Wm2 falling on the

cell. The solar-generated current IPH is given by Ir

(Iph0Ir0

). The value of Iph0 is calculated

by the current generated for irradiance Ir0.

22

Page 33: Simulink® Based design and implementation of a solar power ...

Figure 4.2. Schematic diagram of solar mobile charger.

23

Page 34: Simulink® Based design and implementation of a solar power ...

Voltage Sensor

-+

V

SolverConfiguration1

f(x)=0

Solar Cell9

-+Ir

Solar Cell8

-+Ir

Solar Cell7

-+Ir

Solar Cell6

-+Ir

Solar Cell5

-+Ir

Solar Cell4

-+Ir

Solar Cell3

-+Ir

Solar Cell2

-+Ir

Solar Cell1

-+Ir

Simulink-PSConverter1

S PS

Resistor

-+

Product

PS-SimulinkConverter1

SPS

PS-SimulinkConverter

SPS

IRRADIANCE1

1000

Gnd

Current Sensor

-+

I

Abs2

|u|

Abs1

|u|

Figure 4.3. Schematic diagram of PV module.

4.4.2. Irradiance

The input for a solar cell is radiation from sun. The light intensity will determine the

output of the device. Here the flux of unit radiant energy is given by using a constant value

supplied from the block irradiance available in the Simulink R©sources as shown in figure 4.5

and gives a Simulink R©signal. The variation of output current and voltage according to the

variation of irradiance is noted by varying the value of irradiance.

24

Page 35: Simulink® Based design and implementation of a solar power ...

⁻ Figure 4.4. Solar cell library component.

Irradiance

Figure 4.5. Irradiance block component.

4.4.3. Signal Builder

The input to the solar cell will be varying since the solar radiation will be varying. To

simulate this variability, a signal builder is used. The signal builder can be used for different

signal manipulations. It can generate many predefined basic signals like step, pulse, triangle,

sinusoidal etc. with variable frequency and amplitude. It can also generate many signals at

a time.

4.4.4. S-PS and PS-S converter

While we analyze a physical circuits, the inputs are Simulink R©signals. These Simulink R©

signals are to be converted into signals which can be understood by the electronic devices or

circuits. This function is done by using the S-PS converter which generates a physical signal

from the given unitless Simulink R©signal. The unit of output can be varied by the user. If

no unit is given by the user the default value is 1 and the unit is selected by the destination

25

Page 36: Simulink® Based design and implementation of a solar power ...

block. The S-PS block is available in the Simscape R© library [3] as shown in figure 4.6. We

can also enable filters and derivatives in this converter. By enabling the filters we can modify

it as a low-pass filter which provides derivatives of different orders.

S-PS

Figure 4.6. S-PS converter

In Simulink R©any signal can be measured or displayed by using the scope block which

only takes Simulink R©signals as input. So the physical signal obtained from a physical network

diagram is to be converted into a Simulink R©signal in order to connect it to another Simulink R©

block or scope. To do this conversion we use the PS-S converter which is available in the

Simscape R© library. It converts the physical signal into a Simulink R©signal. The output is

unitless, but if any changes in units are needed it can be done by using conversion parameters.

For example if the input is in Volts and the needed output in mVolts then the converter will

multiply the value with 103. The PS-S block is shown in figure 4.7.

PS-S

Figure 4.7. PS-S converter.

4.4.5. Current and Voltage Sensors

In this project the characteristics of a solar cell are measured in terms of voltage and

current. To obtain the values of voltage and current we need sensors. Simscape R©has a block

26

Page 37: Simulink® Based design and implementation of a solar power ...

called current sensor which generates a physical signal proportional to the current measured

in the electrical branch. Since it is a block generated by MATLAB R© it will act as an ideal

sensor. It has three ports: the positive port which is to be connected to a positive electrical

conserving port, the negative which is connected to a negative electrical conservative port

and the output port connected to any scope trough a PS-S converter. The current sensor is

shown in figure 4.8, and is available in the Simscape R© library.

A

Figure 4.8. Current Sensor.

Similarly Simscape R©has the block called voltage sensor which generates a physical

signal proportional to the voltage measured between two points of an electrical circuit.

Since it is a block generated by MATLAB R© it will act as an ideal sensor. It has three

ports: the positive port which is to be connected to a positive electrical conserving port,

the negative port which is connected to a negative electrical conserving port and the output

port connected to any scope trough a PS-S converter. The current sensor is shown in figure

4.9, and is available in the Simscape R© library.

4.4.6. Solver Configuration

In Simulink R© if we have used a Simscape R©block, then we need to add solver settings

for the circuit to provide information for the simulation settings. When we include the solver

configuration block in our circuit, it will provide specifications and solver parameters needed

for the Simulink R©model simulation. Even though there are many Simscape R©blocks, one

solver configuration can take care of all the components. The solver configuration block is

shown in figure 4.10, And is available in the Simscape R© library [2]. In the solver configuration

we have different options: if we check the box showing start simulation from steady state,

27

Page 38: Simulink® Based design and implementation of a solar power ...

V

Figure 4.9. Voltage Sensor.

then the solver will find a steady state in the inputs of the system.

f(x)=0

Figure 4.10. Solver Configuration.

4.4.7. Scope

To analyze any circuit we need a plot or display of internal signals. In Simulink R©

to display or plot outputs we have many blocks in MATLAB R©which can display plots,

images, figures, graphics, vectors, attributes, scatter plots, eye diagrams and many others.

A Simulink R©scope is used which can plot graphs for one or more inputs. The scope can take

inputs which are continuous or discrete with any data type like real, fixed-point, complex and

enumerated which can be understood by Simulink R© . It can display one or multidimensional

inputs, and can also accept scalar inputs. The scope has the highest flexibility in simulations,

it can be stopped at any time, and it has options to step forward and step backward for

28

Page 39: Simulink® Based design and implementation of a solar power ...

better simulation understanding. It has flexibility to use the same Y -axis for all the inputs

or different axes for different inputs but have common time range. There is an option called

autoscale which will adjust the axis according to simulations. We can see the simulation

outputs at any time, which will change by simulation time. There are options to select to

open the scope as the simulation is done or can be done manually. We can specify the sample

time which is the block update time for the scope. If it left in the default value -1 then the

sample time is inherited from the simulations. It also has option to label the plot. The scope

block is shown in figure 4.11, and is available in the Simulink R© library under “sinks”.

Scope

Figure 4.11. Scope component.

4.5. Simulation Results

4.5.1. Variation according to Irradiance

For different values of the irradiance the values of the voltage and current across the

solar cell are observed. The increase in the value of irradiance indicates an increase in the

intensity of the solar energy. As the irradiance value increases the current and voltage values

increase. This can be clearly shown in the table 4.1.

The voltage across the solar cell increases with irradiance which shows that as the

intensity of solar energy increase the voltage generated by the solar cell will increase as shown

in figure 4.12. The current flow and the power along the solar cell increase with irradiance

as shown in figures 4.13 and 4.14.

4.6. Variations according to the number of solar cells used

In this part the number of solar cells is increased by connecting them in series and in

parallel. It is observed that as the number of cells increases the voltage across the array of

29

Page 40: Simulink® Based design and implementation of a solar power ...

Current Voltage Power Irradiance

0.06 0.6 0.036 1000

0.0627 0.627 0.0393 2000

0.0642 0.645 0.0412 3000

0.0653 0.653 0.0427 4000

0.0662 0.662 0.0438 5000

0.0669 0.669 0.0451 6000

0.0675 0.675 0.0456 7000

0.068 0.68 0.0462 8000

0.0685 0.685 0.0469 9000

0.0689 0.689 0.0474 10000

Table 4.1. Variation as a function of Irradiance.

0.59

0.6

0.61

0.62

0.63

0.64

0.65

0.66

0.67

0.68

0.69

0.7

0 2000 4000 6000 8000 10000 12000

Volt

age

Irradiance

Voltage vs Irradiance

Figure 4.12. Voltage vs. irradiance.

cells also increases. This is because as the number of cells increases in an array the number

of photons absorbed increases. As the energy consumed increases, the current generated will

also increase. We have simulated the circuit at every stage by increasing two cells at a time.

30

Page 41: Simulink® Based design and implementation of a solar power ...

0.059

0.06

0.061

0.062

0.063

0.064

0.065

0.066

0.067

0.068

0.069

0.07

0 2000 4000 6000 8000 10000 12000

Cu

rren

t

Irradiance

Current vs Irradiance

Figure 4.13. Current vs, irradiance.

0

0.005

0.01

0.015

0.02

0.025

0.03

0.035

0.04

0.045

0.05

0 2000 4000 6000 8000 10000 12000

Pow

er

Irradiance

Power vs Irradiance

Figure 4.14. Power vs. irradiance.

We have done this until output reaches to 5 volts, as can be seen in table 4.2.

Figures 4.15 and 4.16 show that the voltage across the array and the current flow

along the array are increasing as the number of cells increase. Power versus number of cells

31

Page 42: Simulink® Based design and implementation of a solar power ...

Current Voltage Power Number of Solar cells Irrandiance

0.0662 0.662 0.0438 1 5000

0.115 1.198 0.144 2 5000

0.1199 2.447 0.2874 4 5000

0.1798 3.594 0.646 6 5000

0.2395 4.7898 1.147 8 5000

0.298 5.984 1.795 10 5000

Table 4.2. Variation according to the number of solar cells.

is presented in figure 4.17.

0

1

2

3

4

5

6

7

0 2 4 6 8 10 12

Volt

age

Number of cells

Voltage vs Number of cells

Figure 4.15. Voltage vs number of cells.

4.7. Controlled Voltage Source

The output of a solar array is a Simulink R©signal which cannot be used for further

analysis, so we need to convert it into a voltage signal with positive and negative termi-

nals. This is accomplished through the use of a controlled voltage source which converts

a Simulink R©signal into a voltage source which can be considered as an equivalent voltage

32

Page 43: Simulink® Based design and implementation of a solar power ...

0

0.05

0.1

0.15

0.2

0.25

0.3

0.35

0 2 4 6 8 10 12

Curr

ent

Number of cells

Current vs Number of cells

Figure 4.16. Current vs number of cells.

0

0.2

0.4

0.6

0.8

1

1.2

1.4

1.6

1.8

2

0 2 4 6 8 10 12

Pow

er

Number of cells

Power vs Number of cells

Figure 4.17. Power vs number of cells

source. This component is available in the electrical sources block which is part of the power

systems domain, available in the Simscape R© library.

The controlled voltage source block can be configured into an AC or DC voltage

33

Page 44: Simulink® Based design and implementation of a solar power ...

source. The initial amplitude can also be varied according to the application. Some cases we

may need the initial voltage to be high and that is possible by using this block. The initial

phase and frequency can also be varied according to the requirements.

In this project it has been used for DC voltage so we have no use for initial voltage,

frequency and phase. The output of the controlled voltage source is a voltage signal which

is further optimized to a certain voltage level required for charging the battery.

4.7.1. MPPT: Maximum Power Point Tracker

The maximum power point tracker is an electronic converter which creates a barrier

between the solar panel and the battery. Why is the MPPT needed? Why can’t we just

produce the same power required for a battery? The source for the solar cell module is solar

energy from the sun which is not constant and varies by time. So there should be some

means to optimize the match between the solar cell module and battery.

A solar photovoltaic array has one point on its current vs. voltage characteristic at

which we get the maximum power output. This is known as the maximum power point or

MPP [15]. Systems which are not designed to operate at the maximum power point are

wasting a significant amount of energy available. In order to control the voltage and hence

current, we need a controller (DC-DC converter) for better control over output voltage.

The converter switch is controlled with an MPPT algorithm. Few of the popular MPPT

algorithms are described in the following.

(1) Incremental conductance: This algorithm compares the incremental conductance to

the instantaneous conductance in a PV system. The algorithm increases or decreases

the voltage until the maximum power point (MPP) taking previous reading as the

reference.

(2) Fractional open-circuit voltage: This algorithm is based on the principle that the

maximum power point voltage is always a constant fraction of the open circuit

voltage.

Perturbation and observation: This algorithm perturbs the operating voltage to en-

34

Page 45: Simulink® Based design and implementation of a solar power ...

sure maximum power. P and O algorithms have simple structure and few parameters to

be measured. Periodically perturbing is the operation in which voltage is incremented and

decremented and comparing the present output power with the previous output power. The

perturbation direction will remain the same if the power is increasing, and will be reversed

if the power is decreasing. The algorithm works when instantaneous PV array voltage and

current are used, as long as the sampling occurs only once in each switching cycle. The

process is repeated periodically until the MPP is reached. The system then oscillates about

the MPP. The oscillation can be minimized by reducing the perturbation step size. However,

a smaller perturbation size slows down the MPPT. To overcome the problem of this slow

response in reaching the MPP, a new algorithm has been developed so that MPP can be

reached faster compared to that of conventional P and O. The algorithm flow is presented

in figure 4.18. The algorithm is based on algorithms proposed in [15, 36].

By using this principle we have constructed an MPPT circuit by using memory block

for delay and transistor switches for switching. The output of this circuit will be given to

PWM which generates a PWM signal used by the DC-DC converter to generate a stable

input to battery. The circuit is shown in figure 4.19.

4.8. DC-DC Converter

The output of a controlled voltage source can be less than or more than what is

required for the battery to get charged. So we need a construction that can stabilize the input

given to the battery. This is done by using a DC-DC converter that steps up or steps down the

input voltage according to the requirement. This is a similar concept to a transformer. We

have used a Buck-Boost converter which, as the name implies, performs step-down (Buck)

and step-up (Boost). The basic principle behind the buck-boost converter is switching a

transistor and using an inductor which accumulates energy [32]. The Simulink R©model of a

DC-DC converter is shown in figure 4.20.

There are two stages in this specific converter:

(1) When the transistor is in the ON state the voltage supply is directly fed into the

inductor since it has shortest path to ground through the transistor. Hence energy

35

Page 46: Simulink® Based design and implementation of a solar power ...

Start

Read V(k), I(k)

P(k)=V(k)*I(k)

ΔP=P(k)-P(k-1)ΔV=V(k)-V(k-1)

ΔP>0

ΔV>0

D(k)=D(k-1)+ΔD

D(k)=D(k-1)-ΔD

Return

ΔV<0

Figure 4.18. Perturbation and observation algorithm.

is accumulated in the inductor (L). The capacitor will supply the energy to the

output load which is the battery.

(2) When the transistor is in OFF state the inductor has no path through the transistor.

Hence the input voltage is directly fed into the capacitor and battery.

36

Page 47: Simulink® Based design and implementation of a solar power ...

Figure 4.19. MPPT circuit.

Figure 4.20. DC-DC converter.

4.8.1. Pulse Width Modulation Generator (DC-DC)

This PWM generator block generates a pulse width modulated signal with the help

of a two stage topology. The generated signal is used to control the IGBT switch of different

37

Page 48: Simulink® Based design and implementation of a solar power ...

level phase bridges which can be used in voltage level conversion. This block is available

in SimPowerSystems which is a sub-library under Simscape R© . The pulse width modulated

signal is a signal whose duty cycle is varied according to the reference signal.

The working principle of this generator is as follows: The pulse width modulated sig-

nal is generated by using the given input reference signal and a sawtooth signal. The output

pulse signal is generated by comparing the input reference signal and sawtooth signal[1].

The frequency of the sawtooth signal can be varied according to the requirements by the

user. The input reference signal will decide the duty cycle of the output signal. The input

for this block is given by the output of the MPPT. The output of PWM will decide when

the IGBT is to be ON and OFF. This ultimately serves as a DC-DC converter.

4.8.2. Insulated Gate Bipolar Transistor (IGBT)

The “insulated gate bipolar transistor” (IGBT) is a Simulink R©block (shown in figure

4.21) which is available in SimPowerSystems, a sub-library of Simscape R© . The IGBT is a

semiconductor device which acts as a switch. The IGBT is controlled by the gate voltage.

The equivalent electrical model for the IGBT is a series connection of a switch, a resistor,

an inductor and a voltage source [41].

E

G

C

Figure 4.21. Insulated gate bipolar transistor (IGBT).

The IGBT will act as a switch when the collector to emitter voltage is positive and

has a value greater than Vf . It will act as an ON switch when the gate voltage is greater

than zero (g > 0) and it will act as OFF switch when the gate input is zero (g = 0) [42].

38

Page 49: Simulink® Based design and implementation of a solar power ...

4.8.3. Calculation of Inductance and Capacitance

4.8.3.1. Inductance

To achieve the desired output voltage and current, the inductor and capacitor values

should be chosen well. If the value of the inductor is high then it will result in ripple current

hence it can give maximum output current[21], If the value of the inductor is small then its

size is small which makes it more reliable. To find the value of the inductance the following

equation can be used:

(7) L =Vin(Vout − Vin)

∆ILfsVout

In equation 7 the terms are as follows: Vin= Input voltage to converter, Vout= Expected

output voltage, fs= converter’s minimum switching frequency, and ∆IL= estimated inductor

ripple current. The inductor ripple current can be calculated by using expression 8:

(8) ∆IL = (0.2 to 0.4) Iout(max)

(VoutVin

)By using the input voltage, output voltage and output current we can decide the value of

inductance which will provide more accurate output.

4.8.3.2. Capacitance

To calculate the capacitance value we need to calculate the duty cycle of the circuit

which is done by using equation 9. The value of capacitor is to be low to reduce the ripple

on the output voltage [20]. It is better to use ceramic capacitors which have X5R material

as dielectric [20]:

(9) D = 1 −Vin(min) ∗ η

Vout.

In the above expression, η is efficiency of the converter which is typically 80%. After we

calculate the duty cycle D, we can calculate the value of capacitance by using equation 10

which decides the output ripple voltage.

(10) C =

(Iout(max)D

fs∆Vout

).

39

Page 50: Simulink® Based design and implementation of a solar power ...

In the above expression, Iout(max) is the maximum output current, D is the duty cycle given

by equation 9, and ∆Vout is the desired output voltage ripple. This can be calculated by

using equation 11.

(11) ∆Vout = Rs

(Iout(max)

1 −D

)+

∆IL2,

where Rs is the equivalent series resistance of the capacitor.

4.9. Lithium Ion Battery

Lithium ion batteries are rechargeable batteries which are primarily used in mobile

phones. In Li-Ion Batteries the Lithium ions move from the positive electrode (cathode) to

the negative electrode (anode) when it is charging and from the negative electrode (anode)

to the positive electrode (cathode) when it is discharging [29]. Lithium Ion batteries are

often used in portable devices because of the following:

(1) They weigh less having higher energy density.

(2) They occupy smaller volume and provide high voltage.

(3) They are faster in recharging compared to other batteries.

(4) They have minimal memory effect (reduction of charging capacity due to continuous

recharging at the same point).

The disadvantage of using Lithium Ion Batteries is they are costly due to the relative scarcity

of lithium.

Figure 4.22 shows the battery charging behavior, The red color line shows the SOC

which is state of charge. The state of charge shows the percentage of battery being charged

and is linear with time. In other words, the battery is being charged from 0% to 100%

linearly with time. The black line shows the voltage input to the battery, which is more

than the nominal voltage of the battery (4.2 V). Hence the battery is being charged until it

reaches 100%. The blue line is the current provided by the battery.

40

Page 51: Simulink® Based design and implementation of a solar power ...

Battery Characteristics Specific Values

Batery Type Lithium Ion

Nominal Voltage 3.7 V

Nominal Capacity 1.2 Ah

Initial SOC 0%

Preset Model ON

Maximum Capacity 1.26 Ah

Fully Charged Voltage 4.2

Nominal Discharge Current 0.52174

Internal Resistance 0.030833 ohms

Table 4.3. Battery Block Properties

41

Page 52: Simulink® Based design and implementation of a solar power ...

0 5 10 15 20 25 30 35 40 45 50-120

-100

-80

-60

-40

-20

0

20

40

60

Time offset: 0 Figure 4.22. Battery Charging Behavior.

42

Page 53: Simulink® Based design and implementation of a solar power ...

CHAPTER 5

CONCLUSIONS AND DIRECTIONS FOR FUTURE RESEARCH

5.1. Summary and Conclusions

Energy is a burning issue in the present world. All non-renewable energy sources

are going to be extinct due to our overuse. Hence we should depend on renewable energies

among which solar energy is the most abundant. There is research indicating that if we

could store solar energy for a day all over world it will be enough to give electricity for a

year but it is very difficult to store the generated energy. In this project a Simulink R©model

for a solar charger for a mobile phone is designed. The mobile phone has become a necessary

component in our present life. If we can charge the mobile battery with solar energy then

we can save a lot of energy [35]. Simulink R© is used to design and simulate a virtual solar

charger [39].

In this thesis we have designed a Simulink R©model for mobile chargers which works on

solar energy by using the photovoltaic effect. The design provides a framework about how to

use Simulink R© , the properties of solar cell, a buck boost converter, a maximum power point

tracker and a lithium ion battery to build a complete system. The model uses the Simscape R©

library for most of its components. The model demonstrates the properties of solar cells, and

facilitates the design required for modeling a mobile charger using solar energy. A Lithium

ion battery is used to show the charging properties.

We have modeled a solar PV array which consists of ten solar cells, then passed

through a DC-DC converter which is a buck-boost converter, then connected to the lithium

ion battery. The buck-boost converter will maintain the voltage higher than the nominal

voltage of battery which is 4.2 V. The output parameters such as current and voltage are

measured along each block starting from the solar array, MPPT, and DC-DC converter. The

charging behavior is observed by a graph which has input voltage, state of charge (SOC)

(which gives the percentage of battery being charged) and current flow. This Simulink R©

model can be further used for preliminary tests and can form a base for making prototype

43

Page 54: Simulink® Based design and implementation of a solar power ...

hardware.

5.2. Future Directions of Research

In future directions of this research, a hardware prototype for the proposed Simulink R©

model can be constructed as a next step to this research. The real time application of any

electronic device makes the research more profitable. Solar mobile chargers are available

in the market right now but are not highly efficient. We would like to implement them

with good efficiency which will reduce usage of other non-renewable energy sources and will

increase the usage of solar energy.

44

Page 55: Simulink® Based design and implementation of a solar power ...

BIBLIOGRAPHY

[1] MathWorks-Matlab, http://www.mathworks.com/.

[2] Simulink Simscape Manual, http://www.manualslib.com/.

[3] Abdul Rahman, M.A,Mizukawa, M , Modeling and design of mechatronics system

with SysML, Simscape and Simulink, Advanced Intelligent Mechatronics (AIM),2013

IEEE/ASME International Conference (2013), 1767–1773.

[4] Luigi Abenante, Francesco De Lia, and Salvatore Castello ENEA, MODELING OF

ARRAY PERFORMANCE DEGRADATION INCLUDING SINGLE-MODULE FAIL-

URE, Photovoltaic Specialists Conference, 2005. Conference Record of the Thirty-first

IEEE, 2005.

[5] Ebubechukwu Agu, Saraju P. Mohanty, Elias Kougianos, and Mahesh Gautam, Sim-

scape Design Flow for Memristor Based Programmable Oscillators, Proceedings of the

23rd ACM Great Lakes Symposium on VLSI (GLSVLSI) (2014), 223–224.

[6] A.P.Godse and U.A.Bakshi, Electronic Devices And Circuits 1, Technical Publications,

2009.

[7] Vipin Arora, Laura Singer, and Linda Doman, International Energy Outlook2014, US

Energy Information Administration (2014).

[8] Richard H. Bube, Photoelectronic Properties of Semiconductors, Cambridge University

Press, Cambridge, 1992.

[9] JIANG CHANG and SHU-YUN JIA, Modeling and application of wind-solar energy

hybrid power generation system based on multi-agent technology, Machine Learning and

Cybernetics, 2009 International Conference Volume:3 (2009).

[10] V. Cordes and K.P. Maass, Photovoltaic Power Supplies for Telecommunication Systems

in Remote Areas, Telecommunications Energy Conference, 1981. INTELEC 1981. Third

International (1981), 173–179.

[11] Halliday David, Resnick Robert, and Walker Jearl, Fundamentals of Physics, Extended,

A Student’s Companion, 5th ed., Wiley, 1996.

45

Page 56: Simulink® Based design and implementation of a solar power ...

[12] Omar Ellabban, Haitham Abu-Rub, and Frede Blaabjerg, Renewable energy resources:

Current status, future prospects and their enabling technology, Renewable and Sustain-

able Energy Reviews Vol.39 (2014), 748–764.

[13] Enerdata Information Services, Global Energy Statistical Yearbook 2015, 2014, https:

//yearbook.enerdata.net/.

[14] David Feldman, Galen Barbose, Robert Margolis, Ted James, and Samantha Weaver,

Photovoltaic System Pricing Trends, Historical, Recent, and Near-Term Projections

(2014).

[15] Williams K. Francis, Prof. Shanifa Beevi S, and Prof. Johnson Mathew, MAT-

LAB/Simulink PV Module Modelof P&O And DC Link CDC MPPT Algorithmswith

Labview Real Time Monitoring And Control Over P&O Technique, International Jour-

nal of Advanced Research in Electrical, Electronics and Instrumentation Engineering

Vol.3 (2014).

[16] Francisco M. Gonzlez-Longatt, Model of Photovoltaic Module in Matlab, 2DO CON-

GRESO IBEROAMERICANO DE ESTUDIANTES DE INGENIERA ELCTRICA,

ELECTRNICA YCOMPUTACIN (2005), 1–5.

[17] Geoffrey Walker, Evaluating MPPT converter topologies using a Matlab PV Model,

Journal of electrical and electronics engineering (2001).

[18] Peter Gevorkian, Sustainable Energy Systems Engineering: The Complete Green Build-

ing Design Resource, McGraw Hill Professional, 2007.

[19] A Haque and Zaheeruddin, Research on Solar Photovoltaic (PV) energy conversion

system: An overview, Computational Intelligence and Information Technology, 2013.

CIIT 2013 (2013), 605–611, IET.

[20] George M. Harayda, Akira Omi, and Axel Yamamoto, Improve Your Designs with

Large Capacitance Value Multi-Layer Ceramic Chip ( MLCC ) Capacitors, Panasonic

Electronic Components, July 2003.

[21] Brigitte Hauke, Basic Calculation of a Boost Converter’s Power Stage, Tech. report,

Texas Instruments, November 2014, Low Power DC/DC Application-SLVA372C.

46

Page 57: Simulink® Based design and implementation of a solar power ...

[22] C. Honsberg and S. Bowden, Photovoltaics: Photovoltaic devices, vol. 1, University of

New South Wales Photovoltaics Centre, 1999.

[23] Christiana Honsberg and Stuart Bowden, PV Education, Arizona State University, 2012,

http://pveducation.org/.

[24] S. Joshi, S. P. Mohanty, and E. Kougianos, Unconventional EDA for Mixed-Signal

Circuits: A Graphene FET based LC-VCO Case Study, Frontiers in Analog CAD (FAC):

International Workshop on Design Automation for Analog and Mixed-Signal Circuits,

ACM/IEEE International Conference on Computer-Aided Design (ICCAD), 2015.

[25] Shital Joshi, Elias Kougianos, and Saraju P. Mohanty, Simscape based Ultra-Fast De-

sign Exploration of Graphene-Nanoelectronic Systems, Proceedings of the 14th IEEE

Computer Society Annual Symposium on VLSI (ISVLSI) (2015), 292–296.

[26] Kerschen, K.A. and Basore, P.A., A performance model for nonuniformity illuminated

front-gridded concentrator cells, Photovoltaic Specialists Conference, 1988., Conference

Record of the Twentieth IEEE 2 (1988), 1129–1137.

[27] Lloyd, S.H and Smith, G.A. and Infield, D.G., Design and construction of a modular

electronic photovoltaic simulator, Power Electronics and Variable Speed Drives, 2000.

Eighth International Conference (2000), 120–123.

[28] H. Lund, R. Nilsen, O. Salomatova, D. Skre, and E. Riisem, Solarcells, 2008, http:

//org.ntnu.no/solarcells/.

[29] Suman K. Mandal, Rabi N. Mahapatra, Praveen S. Bhojwani, and Saraju P. Mohanty,

IntellBatt: Toward A Smarter Battery, IEEE Computer Vol.43 (March 2010), no. No.3,

67–71.

[30] Masoum, M.A.S and Dehbonei, H. and Fuchs, E.F, Theoretical and experimental anal-

yses of photovoltaic systems with voltageand current-based maximum power-point track-

ing, Energy Conversion, IEEE Transactions 17 (2002), 514–522.

[31] Jacob Millman and Christos C. Halkias, Electronic Devices and Circuits, McGrawHill

Electrical and Electronic Engineering Series, 1967.

47

Page 58: Simulink® Based design and implementation of a solar power ...

[32] Mousumi Mishra and Apurba Abhijeeta, Design of Buck-Boost Converter Using Multi-

sim Software, International Journal of Engineering Research & Technology 3 (2014).

[33] Saraju P. Mohanty, Nanoelectronic Mixed-Signal System Design, McGraw-Hill Educa-

tion, 2015, ISBN: 978-0071825719 and 0071825711.

[34] Jenny Nelson, The Physics of Solar Cells, Imperial College Press, 2003, ISBN 1-86094-

340-3 and 1-86094-3498-7.

[35] P.Sathya and G.Aarthi, Modelling and Simulation of Solar Photovoltaic array for Bat-

tery charging Application using Matlab-Simulink., International Journal of Engineering

Sciences & Research Technology (2013).

[36] Lijun Qin and Xiao Lu, Matlab/Simulink-Based Research on Maximum Power Point

Tracking of Photovoltaic Generation, Physics Procedia 24, Part A (2012), 10 – 18,

International Conference on Applied Physics and Industrial Engineering 2012.

[37] Mikko Raatikainen, T Mannisto, T Tommila, and J. Valkonen, Challenges of require-

ments engineering A case study in nuclear energy domain, Requirements Engineering

Conference (RE), 2011 19th IEEE International (2011), 253–258.

[38] M.V. Rakic and Z.M. Markovic, Short term operation and power exchange planning of

hydro-thermal power systems, Power Systems, IEEE Transactions 9 (1994), 359–365,

IEEE Power & Energy Society.

[39] Tarak Salmi, Mounir Bouzguenda, Adel Gastli, and Ahmed Masmoudi, MAT-

LAB/Simulink Based Modelling of Solar Photovoltaic Cell, International Journal of

Renewable Energy Research Vo.2 (2012).

[40] Jeyraj Selvaraj and Nasrudin Abd Rahim, Multilevel Inverter For Grid-Connected PV

System Employing Digital PI Controller, IEEE Transactions on Industrial Electronics

(2003).

[41] Kuang Sheng, Barry W. Williams, and Stephen J. Finney, A Review of IGBT Models,

IEEE Transactions on Power Electronics, Vol.15 (2000), no. 6.

[42] Vinod Kumar Khanna, Insulated Gate Bipolar Transistor IGBT Theory and Design,

IEEE Press,Wiley-Interscience, JAN 2005, ISBN: 9780471722915.

48

Page 59: Simulink® Based design and implementation of a solar power ...

[43] B Zaporowski, Modelling and simulation of energy conversion in combined gas-steam

power plant integrated with coal gasification, Energy Conversion Engineering Conference,

1996. IECEC 96., Proceedings of the 31st Intersociety 3 (1996), 2056–2061, IEEE.

[44] W Zghal, G Kantchev, and H. Kchaou, Determination of the exploitable solar energy for

electricity generation using the photovoltaic systems, Renewable Energies and Vehicular

Technology (REVET) (2012), 26–28, IEEE.

[45] Ying Zuo and Hongyan Liu, Evaluation on comprehensive benefit of wind power genera-

tion and utilization of wind energy, Software Engineering and Service Science (ICSESS),

IEEE, June 2012, pp. 635–638.

49


Recommended