You are on page 1of 4

Copyright Motahhir All Rights Reserved

Workshop: MPPT implementation in Proteus: The optimization of the PV


energy using a Costless and effective Embedded System
Data’s Guide of “Development of a low-cost PV system using an improved INC
algorithm and a PV panel Proteus model” research paper
Saad Motahhir
Email: saad.motahhir@usmba.ac.ma

I. Download data from: https://github.com/motahhir/MPPT-in-Proteus or


http://dx.doi.org/10.17632/t3wv4rnsp2.3
II. Please, refer to this presentation to get an overview about this system:
https://docs.google.com/presentation/d/1Rv2FTT7UPFuc02aGWCUa9euvrHht0YHf/edit#slid
e=id.p1
Note: Please, use google chrome to read this presentation.
III. Proteus PV panel model simulation
1. Please, open \Proteus\Proteus_PV_Panel_Model.
2. Please, go to graph menu and click on simulate graph as follows:

IV. Proteus PV panel model subcircuit

Please, open Proteus\Proteus_PV_Panel_Model_Subcircuit to check that.

V. MPPT implementation in Proteus


Copyright Motahhir All Rights Reserved

1. Add Arduino into Proteus:


• Unzip Arduino Library for Proteus.rar file, you will find two files in it.
• These two files are named as ArduinoTEP.LIB and ArduinoTEP.IDX.
• Copy these two files and place them in the libraries folder of your Proteus software.
• Now, restart your Proteus software and in components section search for ArduinoTEP
as shown in below figure:

2. Get the .hex file of the compiled Arduino code:


• To begin, create a new folder that will act as Hex file repository.
• Click on desktop icon to open and access the Arduino IDE.
• Within the Menu selection Click On File > Preferences.
• Scroll down to access the provided link between the “More preferences can be edited
directly in the file”; “edit only when Arduino is not running” messages.

• This will provide access to the Preferences file document within a text editor.

• Enter the line for the build path as the third line of the preferences file using the edit
function. Click save when complete. The Arduino should be restarted to register any
changes.

• Now, you will get the .hex of the compiled Arduino code in the suitable folder.
3. Compile the MPPT Arduino code
• Please, open the “Arduino Code” folder and choose either the code of INC or P&O
algorithm.
• Compile the Arduino code.
Copyright Motahhir All Rights Reserved

• Check that the .hex is generated in the folder of Hex file repository created in the
previous step.
4. Simulate the MPPT controller in Proteus under stable irradiance
• Please, open Proteus\Proteus_MPPT_stable irradiance
• Load the .hex file in the Arduino Uno.
• Click on play to simulate the PV system or go to graph menu and click on simulate graph
to generate Ppv(t) curve.

5. Simulate the MPPT controller in Proteus under variable irradiance


• Please, open Proteus\Proteus_MPPT_Irradiance Variation
• Load the .hex file in the Arduino Uno.
• Click on play to simulate the PV system or go to graph menu and click on simulate graph
to generate Ppv(t) curve.

6. As presented in Fig. 4 of [1] paper, the conventional Incremental Conductance (INC) method
contains several division computations which require a stronger microcontroller including large
memory, high clock frequency, and floating-point computation, and this reduces the opportunity
to use a low-cost development board as Arduino UNO which is based on ATMEGA328P
because it does not contain a hardware divider, but it provides a one-chip 2 cycle multiplier
as shown in the figure below. Therefore, to design a costless and effective MPPT embedded
software, try to modify the incremental conductance algorithm structure in the aim to replace all
mathematical divisions and by mathematical multiplication. As a result, the complication of the
algorithm operation can be reduced and consequently, minimize the real-time processing with
faster response. This, makes the utilization of low-cost microcontrollers possible. Now try to
implement the modified INC algorithm and compare the result obtained with the result of
the conventional INC.
Copyright Motahhir All Rights Reserved

7. Try to use FreeRTOS to meet real-time constraints of the solar system.

8. Please, refer to the reference [1] to understand this application. Then, you have to redevelop
the embedded software of this system according to automotive (ISO26262, Autosar …) and
avionic (DO-178C) methodologies by following the V cycle. To do that, please refer to this paper
[2].

Cite this work as:

S. Motahhir, A. Chalh, A. El Ghzizal, and A. Derouich, “Development of a Low-cost PV System using an


improved INC algorithm and a PV panel Proteus model,” J. Clean. Prod., Sep. 2018.

References:

[1] S. Motahhir, A. Chalh, A. El Ghzizal, and A. Derouich, “Development of a Low-cost PV System


using an improved INC algorithm and a PV panel Proteus model,” J. Clean. Prod., Sep. 2018.
[2] S. Motahhir, A. El Ghzizal, S. Sebti, and A. Derouich, “MIL and SIL and PIL tests for MPPT
algorithm,” Cogent Eng., vol. 4, no. 1, Sep. 2017.

You might also like