Research Article | Open Access
Abhijit V. Padgavhankar, Sharad W. Mohod, "Experimental Learning of Digital Power Controller for Photovoltaic Module Using Proteus VSM", Journal of Solar Energy, vol. 2014, Article ID 736273, 8 pages, 2014. https://doi.org/10.1155/2014/736273
Experimental Learning of Digital Power Controller for Photovoltaic Module Using Proteus VSM
The electric power supplied by photovoltaic module depends on light intensity and temperature. It is necessary to control the operating point to draw the maximum power of photovoltaic module. This paper presents the design and implementation of digital power converters using Proteus software. Its aim is to enhance student’s learning for virtual system modeling and to simulate in software for PIC microcontroller along with the hardware design. The buck and boost converters are designed to interface with the renewable energy source that is PV module. PIC microcontroller is used as a digital controller, which senses the PV electric signal for maximum power using sensors and output voltage of the dc-dc converter and according to that switching pulse is generated for the switching of MOSFET. The implementation of proposed system is based on learning platform of Proteus virtual system modeling (VSM) and the experimental results are presented.
The growing market for renewable energy technologies has resulted in a rapid growth in the need for power electronics. Due to the global concern about climate changes and sustainable electrical power supply, renewable energy is increasingly becoming more popular all over the world.
With the virtual system modeling (VSM) facility, it can transform the product design cycle, in terms of reduced time and cost. There are various tools that are available like NI LabView, MATLAB/SIMULINK, Multisim, Orcad, and so forth. In looking to understand the best solution for gaining the engineering knowledge practically, it is necessary to have knowledge of simulation. Laboratories can be expensive and time-consuming and difficult to understand . The purpose is to use electronics simulation tool such as Proteus VSM for engineering education program. In many applications, dc-dc converters are used to produce a regulated voltage or current [2, 3]. In many applications solar PV modules were developed for power satellites in space program, battery chargers, and distributed power systems. In high power applications parallel connected converters are used to provide power [4–6].
The interfacing of PV modules with buck converter and boost converter was developed . In closed loop, the feedback signal to the microcontroller is designed to maintain the output voltage level constant . In many dc-dc converter circuits, the power device selections are very important. The parameters greatly affect the maximum switching frequency of the converter and how much is the current; the converter can be designed for these purposes .
Proteus VSM, developed by Labcenter Electronics Ltd., was founded in 1988. The Proteus Design Suite is wholly unique in offering the ability to cosimulate both high and low level microcontroller code in the context of a mixed-mode SPICE circuit simulation. Proteus’s VSM has microcontroller programming tool, environment, with its many software features and hardware options. Many researchers and engineers use Proteus for testing and rapid prototyping in the product development process. In institutions of higher education, Proteus can be useful for the electronics engineering students to understand complex theories and connect these to practical problems. Proteus VSM is now chosen as the tool for the course projects due to its ability to provide hands-on experiences for students, which is particularly important for electronics engineering technology programs. This paper investigates the learning of software for utilization and implementation of digital controller for maintaining the maximum power due to variation in environmental conditions for photovoltaic modules.
Proteus VSM is already unique in its capability to run near real-time simulations of complete microcontroller systems; its real power comes from its ability to perform these simulations in single step mode. Proteus VSM is equipped with comprehensive diagnostic or trace messaging. This allows you to specify which components or processor peripherals are of interest at any given time and receive detailed textual reporting of all activity and system interaction. This is invaluable as a debugging aid, allowing you to locate and fix problems in both software and hardware much faster than you could when working on a physical prototype. Proteus VSM also provides extensive debugging facilities including breakpoints, single stepping, and variable display for both assembly code and high level language source. Proteus VSM is uniquely suited to teach students about the design and operation of embedded systems solutions. Full virtual debugging interface is available in software, obviating the need for expensive hardware and facilitating freedom and flexibility to design and develop microcontroller solutions without the need for a physical prototype to the students.
The paper is organized as follows. Section 2 gives operating configuration. Section 3 presents Proteus based implementation. Section 4 presents simulation and experimental results, and Section 5 presents conclusion.
2. Operating Configuration
The proposed design configuration for photovoltaic module is mainly consisting of (i) buck converter and (ii) boost converter and digital controller PIC16F628A microcontroller. The schematic blocks of the proposed system with dc-dc converter with microcontroller are developed using Proteus VSM platform. The real-time microcontroller is implemented by using MikroC and MPLAB programming. The block diagram of proposed system is shown in Figure 1. Power stage input which is the output of PV module is sensed by using voltage and current sensor which sent to the digital controller; the output voltage of power stage is applied to digital controller through feedback circuit as an error voltage by comparing with set point voltage. According to this voltage digital controller produces pulse skipping pulses (PSM) to switch the MOSFET.
In the proposed scheme PIC16F628A microcontroller takes the decision to generate the switching pulses to turn ON and OFF the switches. MikroC or MPLAB programming software tool can be used to build source code and, after compiling, the hex file can be generated. Generated hex file is very easy to burn in microcontroller memory using Proteus VSM. A wide range of microcontrollers is available in the software, where as in this paper PIC16F628A microcontroller is used in Proteus platform for switching the converters.
The solar PV module () is connected to the dc-dc converter to maintain the generated dc voltage constant which is connected to dc grid or the battery or dc load. The output voltage () is sensed and sent to the digital controller through feedback circuit. Feedback circuit contains the comparator which compares the and set point voltage. Also PV module output and current which are the inputs to power stage are sensed by using voltage and current sensors, respectively, to monitor the maximum power point. Generated error voltage by comparator is applied to the PIC microcontroller. The PIC16F628A has onboard voltage reference, , and comparators. In the proposed application, the set point is at 2.5 V. According to set voltage, pulse skipping modulation is provided to the gate of MOSFET to turn ON and OFF.
2.1. Solar Cell Module
A solar PV module consists of a number of solar cells in series and the equivalent circuit of the physical model of the solar cell is given in Figure 2.
The solar cells are made from semiconductors cells and are usually arranged in modules. There are different types of solar cells available in the market and are under development as sensitized nand-crystalline cells for high efficiency and low cost. The datasheet parameters of physical PV module are shown in Table 1.
The solar cell describes the inverse relationship between current and voltage and the equations that describe a solar cell are as follows: where is the electron charge ( C); is the Boltzmann constant (); is the light intensity input; is the ambient temperature input; is the voltage across the entire solar module; and is the current flowing out of the positive terminal of the solar module.
The photovoltaic module provides power to the load which often operates away from the maximum operating point of module. The characteristics curves for solar cell simulated module are as shown in Figure 3.
2.2. DC-DC Boost Converter Configuration
The boost converter configuration by assuming continuous conduction mode of operation is shown in Figure 4.
The equations are considered when the main switch is ON and are shown in
The following parameters are necessary for the power stage: (i) input voltage range and and (ii) nominal output voltage and maximum output current . The first step to calculate the switch current is to determine the duty cycle, for the minimum input voltage. The minimum input voltage is used because this leads to the maximum switch current. Consider the following: where is the efficiency of the converter.
The efficiency is added to the duty cycle calculation, because the converter has to deliver also the energy dissipated. Consider the following: where is the switching frequency and is the selected inductor value. Consider To reduce losses, Schottky diode is used. Consider the following:
Table 2 shows the designed value of components for boost converter as per above equations.
2.3. DC-DC Buck Converter Configuration
The state equations corresponding to the converter in continuous conduction mode are used by applying Kirchhoff’s voltage law on the loop containing the inductor and Kirchhoff’s current law on the node with the capacitor branch connected to it. When the ideal switch is ON, the dynamics of the inductor current and the capacitor voltage are given in (13) and (14).
The buck converter configuration with ideal switching devices is considered as shown in Figure 5. Consider the following: and when the switch is OFF they are presented by The critical inductor is calculated in (10). Consider the following: The critical capacitor is calculated assuming change in voltage as in (11). Consider the following
Table 3 shows the designed value of components for buck converter as per above equations.
2.4. Pulse Skip Modulation (PSM) and Pulse Width Modulation (PWM)
One of the simplest modulation techniques used for controlling a dc-dc converter is pulse skipping modulation (PSM), which is also known as pulsed frequency modulation (PFM). In a PSM system, the modulator generates a train of pulses to turn the converter power switch ON and OFF. The pulses have a fixed pulse width and period. As long as the dc-dc converter output is below the desired target, the PSM pulse continues to run the converter switch. This operation will result in decreasing pulse density as the converter output reaches its target, or as the output loading decreases. When the converter output falls below the target, or as the output loading increases, the PSM pulse density will increase. Similarly the PWM is used to maintain the constant output voltage by varying the ON and OFF period of the pulse.
3. Proteus Based Implementation
Proteus VSM includes a number of virtual instruments like an oscilloscope, logic analyzer, function generator, pattern generator, counter timer, virtual terminal, and simple voltmeters and ammeters. In addition, it provides dedicated master/slave/monitor mode protocols.
Proteus provides detailed measurements on graphs and performs other analysis types such as frequency, distortion, noise, or sweep analyses of analogue circuits. It is capable of supporting schematic capture for both simulation and PCB design. The proposed designed prototype is implemented for buck and boost converter. The PIC microcontroller block diagram is shown in Figure 6.
The controller tends to maximise the output power from photovoltaic module by adjusting the duty cycle so that the solar cell module will always be at its maximum power at all times. Digital controller automatically increases or decreases the voltage applied to the pulse generator (PWM) in order to change the duty cycle of the converter according to the PV module output voltage. The maximum power point loop is used to set the corresponding to the input; the voltage regulator loop is used to regulate the solar output voltage according to reference, which is set as maximum operating point and control scheme is shown in Figure 7.
This firmware modulator generates the PSM pulses on the RB7 pin (port B, bit7), to drive the gate of MOSFET switch of converter. When the dc-dc converter output is below the desired value, the firmware continuously sends out PSM pulses to increase the converter output. Once the dc-dc converter output exceeds the target, the controller will skip the PSM pulses until the output voltage, or current, falls below the threshold and the control cycle repeats.
The program is simulated in Proteus VSM and it has ability of interaction between software running on a microcontroller and analog or digital signal connected to it. It simulates the execution of object code (machine code), like a real chip. The programming logic using PIC is written with the help of flowchart. PIC performs the modulator function in firmware. To get the maximum power point, many methods have been proposed. The program is developed using the flow chart and is shown in Figure 8.
Timer0 of the microcontroller is used to generate a time base for the firmware modulator. Timer0 is enabled and the TMR0 register is loaded with a reload value. When Timer0 overflows, an interrupt occurs. In the interrupt routine, TMR0 is again loaded with the reload value. The reload value determines the time base of the PSM signal. In this program, the TMR0 reload value is chosen to produce a time base of 50 microseconds when the microcontroller runs from a 16 MHz crystal. The comparator has several configurations, which allow the comparators to compare external voltage to the voltage. To select this configuration, the comparator control register CMCON must be set. In it only C2 comparator of the PIC is used to compare the feedback voltage on the AN1 pin to the internal voltage reference . If the dc-dc converter output is lower than the desired value, then the feedback voltage presented on AN1 is lower than . The voltage control algorithm performed in firmware becomes very simple; if the voltage on AN1 pin is lower than , then produce PSM output pulse; else voltage on AN1 pin is higher than ; then skip PSM output pulse shown in Figure 9 where the duty cycle of PWM pulse varies approximately in between 5% and 30% and 30% and 95% as shown in Figure 10.
The actual implemented hardware is shown in Figure 11 and its PWM output pulses on DSO are shown in Figures 12 and 13. Thus simulated result of digital power controller is exactly matched with actual hardware results.
4. Proteus Simulation and Experimental Results
The dc-dc converter with PIC16F628A is designed for compatible load to achieve maximum power from photovoltaic modules. The buck converter results are shown in Table 4.
Table 4 shows the input voltage , output voltage , and output current , when considering load of 3 Ω. From the table, it is clear that change in , output voltage maintain constant which approximately 1.5 V and is 0.39 A which are shown in Figure 14 by green and red colour, respectively.
Table 5 shows the boost converter result, in which input voltage changes to down from high value; the output voltage is maintained constant at approximately 24 V with output current 0.63 A. The response of digital controller for boost converter is shown in Figure 15.
Here the design of buck converter is for obtaining the output voltage step down of 1.2 V, and output current is 0.39 A where the input voltage varies from 5 V to 100 V and boost converter is for obtaining the output voltage step up of 24 V, and output current is 0.63 A where the input voltage varies from 17.6 V to 6 V. From responses of buck and boost converter it is verified. Simulated and actual hardware results are approximately matched with each other. Therefore using PIC16F628A microcontroller these dc-dc converters work efficiently for photovoltaic module.
The effectiveness of student learning becomes more easy and effective using Proteus software in the laboratory without implementing the physical prototype of a design. The role of digital power controller in the renewable energy system is important to maintain the output voltage and current to a required suitable level. The purpose of proposed scheme is for maximum power operating point to adjust the photovoltaic operating voltage close to maximum under changing atmospheric condition. To realize the prototype experience without implementing it, using Proteus VSM is easy for implementation and execution. The desired logic according to flowchart can be programmed using MPLAB or MikroC compiler and generate hex code file and burning in PIC16F628A microcontroller in Proteus VSM is simple process. PIC microcontroller is used as a digital controller for dc-dc converter where investigation for photovoltaic module application using Proteus VSM software and result are satisfactorily executed and verified with physical prototype.
Conflict of Interests
The authors declare that there is no conflict of interests regarding the publication of this paper.
- W. Zhan, J. R. Porter, and J. A. Morgan, “Experiential learning of digital communication using labVIEW,” IEEE Transactions on Education, vol. 57, no. 1, pp. 34–41, 2014.
- D. Hamza, M. Pahlevaninezhad, and P. K. Jain, “Implementation of a novel digital active EMI technique in a DSP-based DC-DC digital controller used in electric vehicle,” IEEE Transactions on Power Electronics, vol. 28, no. 7, pp. 3126–3137, 2013.
- C. Buccella, C. Cecati, and H. Latafat, “Digital control of power converters—a survey,” IEEE Transactions on Industrial Informatics, vol. 8, no. 3, pp. 437–447, 2012.
- A. El Khateb, N. A. Rahim, and J. Selvaraj, “Optimized PID controller for both single phase inverter and MPPT SEPIC DC/DC converter of PV module,” in Proceeding of the IEEE International Electric Machines and Drives Conference (IEMDC '11), pp. 1036–1041, Niagara Falls, Canda, May 2011.
- K. R. Skup, P. Grudzinski, P. Orleanski, and W. Nowosielski, “A digital controller for satellite medium power DC-DC converters,” in Proceedings of the 18th International Conference on Methods and Models in Automation and Robotics (MMAR '13), pp. 566–571, 2013.
- J. Seo, J. Jang, and J. Park, “Stand-alone operation with a centralized controller for multiple PV module converters,” in Proceedings of the IEEE 10th International Conference on Power Electronics and Drive Systems (PEDS '13), pp. 1335–1337, Kitakyushu, Japan, April 2013.
- M. Veerachary, “Digital controller design for low source current ripple fifth-order boost converter,” IEEE Transactions on Industrial Electronics, vol. 61, no. 1, pp. 270–280, 2014.
- J. A. Abu Qahouq and V. Arikatla, “Online closed-loop autotunning digital controller for switching power converters,” IEEE Transactions on Industrial Electronics, vol. 60, no. 1, pp. 287–301, 2014.
- R. Priewasser, M. Agostinelli, C. Unterrieder, S. Marsili, and M. Huemer, “Modeling, control, and implementation of DC-DC converters for variable frequency operation,” IEEE Transactions on Power Electronics, vol. 29, no. 1, pp. 287–301, 2014.
Copyright © 2014 Abhijit V. Padgavhankar and Sharad W. Mohod. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.