Design and Implementation Buck-Boost Converter Using Arduino Mega 2560
Design and Implementation Buck-Boost Converter Using Arduino Mega 2560
Mega 2560
Abstract: Nowadays, the development of technology cannot be separated from energy demands. An increasing energy
requirement needed power electronic circuits to support systems that are producing a direct voltage or
commonly called Direct Current (DC). A problem obtained is to convert the desired voltage level according
to desired requirements. The development of power electronic circuits can be solving these problems by using
a DC-DC converter topology. In general, DC-DC converters have several topologies such as buck converter,
boost converter, buck-boost converter, and Cuk converter. In this research, an inverting buck-boost converter
topology is designed and implemented to increasing and decreasing voltage. The aim of this research is
converting the input DC voltage value to the constant output DC voltage value. A value of duty cycle
configuration is depending switch on and switch off from MOSFET, which generated from Arduino Mega
2560. The results of the average output voltage value from the mathematical condition is 12 Volt; after that,
from simulation condition is 12,05 Volt and then from implementation condition is 9,92 Volt. The results of
the average ripple output voltage from the mathematical condition are 0,4%, after that from the simulation is
0,79% and then from implementation condition is 0,56%. The results of the average ripple value current from
the mathematical condition are 6.54% and then from simulation condition is 6.94%. Finally, the buck-boost
converter system that has been designed from this research has obtained an average value of power efficiency
in the simulation conditions is 65.12% and then from implementation condition is 74,87%.
169
Giyantara, A., Christover, D. and Priyanto, Y.
Design and Implementation Buck-boost Converter using Arduino Mega 2560.
DOI: 10.5220/0009443301690176
In Proceedings of the 1st International Conference on Industrial Technology (ICONIT 2019), pages 169-176
ISBN: 978-989-758-434-3
Copyright
c 2020 by SCITEPRESS – Science and Technology Publications, Lda. All rights reserved
ICONIT 2019 - International Conference on Industrial Technology
source, it is better to use a microcontroller that has (Arif Muslih Jainudin et al., 2017) also studied DC-
many digital or analog pins such as Arduino DC converter, which concentrated in a buck
microcontrollers and also can be used to generate converter. The switching component used in this
PWM for switching components. Therefore, in this research is the MOSFET IRFZ44N type. Based on the
research, we applied the design and implementation measurement results, buck converter with feedback
of the buck-boost converter using ArduinoMega 2560 can constrain the output current on 1 Ampere.
as an alternative solution to maintaining a constant Meanwhile, when the output voltage feedback
output voltage with varying input voltage and can be working, the value of output voltage can be
applied to renewable energy sources. constrained on 14,4 Volt, and 13,5 Volt with the
average efficiency of buck converter without
feedback was 87,39%.
2 RELATED WORK Viswanatha (2017) studied circuit modeling,
design, simulation, and analysis of non-inverting
Padillah, Syahrial and Saodah (2014) applied the buck-boost converter. In this research, a voltage
control technique is employed to regulate the output
switching type DC voltage converter topology, which
could increase the boost output voltage. The voltage irrespective of the variations in input voltage
converter output voltage was controlled by the and load variations. To generate the PWM signals to
turn on and off the switches of the converter, the
magnitude adjusting of the signal duty cycle of pulse
width modulation (PWM), that generated by using the control circuit is employed, which consists of very
microcontroller of phase correct PWM mode. The simple basic logic gates to realize closed-loop control
with good regulations of load and line. This method
results of the converter output voltage were designed
for 48 Volt. The test used the variable resistance load can be replaced by the current control technique to
generate the pwm signals to regulate the output
by measuring the voltage and current at both the input
voltage. A non-inverting converter can be used in the
and output sides. The test performance was used to
determine the efficiency of the boost converter to photovoltaic system, which uses a conventional buck-
boost converter to charge the battery. Noninverting
change in the load and duty cycle.
Muthukrishnan (2014) also studied about boost converters will replace the conventional buck-boost
converter. In this research, about boost converter converters used in the battery charging alongside the
MPPT logic. (Farah Shabila Dinniyah, 2017) also
specialty is achieved 10 times that of input voltage,
and more than 10 times of input voltages is possible applied DC-DC converter. This research discusses
from the output side by using coupled inductor and designing a buck-boost converter for solar panels,
with a voltage input range of 10 to 50 Volt. The
parallel capacitor. The output voltage is high, and the
voltage stress across the active switch is minimized, regulation of output voltage is the main aim in
and output ripples also minimized. (Chin Wei Chang analyzing the success of the design created. The
design is simulated with Proteus 8.4 and yields a
et al., 2011) applied to prolong the service time of
batteries, a good power management strategy should voltage output with an efficiency of ninety to ninety-
have high conversion efficiency and also take nine
In summary, the previous studies used different
advantage of the full battery voltage range. There are
three types of regulators- linear regulations, switching features and methods for step down and step up
regulators, and switched-capacitor-based converters. output voltage desired; after that, these studies were
limited in simulation only, especially a buck-boost
The switching regulator is chosen in this research
because it can achieve the highest efficiency among converter. So in this research, we design and
implementation of buck-boost converter using
them
Arduino Mega2560 and which consists of the
Khalif Ahadi (2012) explaining about design buck
converter. Two units of a buck converter using P- specification with a voltage ripple and current ripple
desired.
Channel MOSFET (Metal Oxide Semiconductor
Field Effect Transistor) and N-type IGBT (Insulated
Gate Bipolar Transistor) as a switch are already
designed. Experimental results show each buck
converters are able to flow a current as high as 60
Ampere on the adjusted voltage of 12.6 volts, but this
output voltage is still fluctuating influenced by the
input voltage and load. The efficiencies also fluctuate,
but they'll reach above 60% under maximum load.
170
Design and Implementation Buck-boost Converter using Arduino Mega 2560
AVO
12
AVO 41% (2)
meter meter 17 12
Based on specification from table 1, the results of
the duty cycle maximum from the equation above is
Microcontroller 63%, and the duty cycle minimum is 41%.
171
ICONIT 2019 - International Conference on Industrial Technology
22
6 62,14 (5)
7
22
6731 4 10 60
7
27
172
Design and Implementation Buck-boost Converter using Arduino Mega 2560
voltage ripple value generated when the test is carried 4.3 Analysis of Ripple Voltage in
out. Simulation Condition
Table 2: Results of voltage ripple in mathematical Based on the information from table 4, the largest
condition. ripple value obtained when the system is given an
Voltage Voltage input voltage of 8 volts with a large duty cycle of
Deviation Accuracy
ripple ripple 60%. The situation is inversely proportional when the
(%) (%)
(V) (%) system is given an input voltage 12 volts with a 50%
7 0,060 0,504 0,496 49,60 duty cycle, which experiences the smallest voltage
8 0,058 0,480 0,520 52,00 ripple value. Analysis of the current ripple generated
9 0,055 0,456 0,544 54,40 in table 4 does not have results that exceed the
10 0,053 0,44 0,560 56,00 specified ripple limit of 1%. The results of the ripple
11 0,049 0,416 0,584 58,40 voltage analysis of the input voltage are in accordance
12 0,048 0,400 0,600 60,00
with the design specified in the information table 1.
13 0,046 0,384 0,616 61,60
14 0,044 0,368 0,632 63,20
Table 4: Results of voltage ripple in simulation condition.
15 0,042 0,352 0,648 64,80
16 0,041 0,344 0,656 65,60 Voltage Voltage
Deviation Accuracy
17 0,039 0,328 0,672 67,20 ripple ripple
(%) (%)
(V) (%)
4.2 Analysis of Current-Voltage in 7 0,110 0,93 0,07 7
8 0,120 0,98 0,02 2
Mathematical Condition
9 0,100 0,83 0,17 17
10 0,100 0,81 0,19 19
It can be seen from Table 3, the highest accuracy
11 0,100 0,84 0,16 16
value is when the system gave the lowest input 12 0,060 0,50 0,50 50
voltage value, or we can call it to boost condition. The 13 0,090 0,75 0,25 25
situation is inversely proportional when the system is 14 0,090 0,75 0,25 25
given the lowest voltage value or buck condition. The 15 0,080 0,67 0,33 33
difference value is a reduction of the current ripple 16 0,090 0,74 0,26 26
specification limit specified by the current ripple 17 0,110 0,93 0,07 7
value generated when the test is carried out. In table
information 3, a current ripple value of 9.08% is 4.4 Analysis of Current-Voltage in
generated when the system is given a maximum input Simulation Condition
voltage value of 17 volts and inversely proportional
when given a minimum voltage value of 7 volts. The results obtained from the information in table 5,
the highest accuracy value is at the lowest input
Table 3: Results of current ripple in mathematical voltage level 7 Volt with the highest duty cycle of
condition.
63%. The situation is inversely proportional when the
Current Current system is configured to the highest voltage 17 Volt
Deviation Accuracy
ripple ripple with the lowest duty cycle, 41%. Analysis of the
(%) (%)
(V) (%) current ripple value generated in the simulation does
7 0,012 3,61 6,39 63,89 not exceed the specifications specified in table 1. The
8 0,013 4,27 5,73 57,33 overall current ripple value produced in each input
9 0,014 4,89 5,11 51,14 voltage test is below 10% so that it matches the
10 0,015 5,56 4,44 44,44
system that has been designed.
11 0,015 6,08 3,92 39,21
12 0,016 6,67 3,33 33,33
Table 5: Results of current ripple in simulation condition.
13 0,017 7,21 2,79 27,89
14 0,017 7,71 2,29 22,94 Current Current
Deviation Accuracy
15 0,018 8,15 1,85 18,52 ripple ripple
(%) (%)
16 0,018 8,74 1,26 12,63 (V) (%)
17 0,019 9,08 0,92 9,20 7 0,012 3,13 6,87 68,70
8 0,013 3,23 6,77 67,70
9 0,014 7,14 2,86 28,60
10 0,015 3,70 6,30 63,00
173
ICONIT 2019 - International Conference on Industrial Technology
0.2
From the graph in figure 4, the value of output voltage
generated when the simulation condition gets a value 0
corresponding to output voltage value mathematical 7 8 9 10 11 12 13 14 15 16 17
Input Voltage (V)
condition. The results of output voltage when the
implementation produces the lowest value affected by Figure 5: Results of voltage ripple
the condition of component is not ideal when tested.
The highest output voltage value when the From the implementation condition, it can be
implementation condition is 10.23 Volt with a given inferred that the smaller value in input voltage given,
input voltage 16 Volt and a large duty cycle of 43%. the greater the ripple value of the resulting voltage.
When the simulation condition, the highest voltage Likewise, if the input voltage value is very large, the
value 12.33 Volt be produced with input voltage 10 ripple of value resulting voltage is getting smaller.
Volt, and the duty cycle is 55%. This is because the error value is obtained so that the
174
Design and Implementation Buck-boost Converter using Arduino Mega 2560
Efficiency (%)
50
4.8 Comparison of Ripple Current 40
Simulation
Condition
Implementation
Condition
The result of the graph in figure 6, the current ripple 30
175
ICONIT 2019 - International Conference on Industrial Technology
the implementation condition for input voltage value IEEE International Symposium on Power
7 Volt increases above a predetermined limit. Semiconductor Devices.
Based on the results obtained in this study, some Kazimierczuk, Marian. 2016. “Pulse width modulated DC-
recommendations were obtained, namely the addition DC power converters”. John Wiley&Sons, Ltd.
America.
of a controller to the response of the output voltage Khadiri, Karim El. Hassan Qjidaa. 2014. “Inverting buck-
generated and the use of bootstrap capacitors in the boost DC-DC converter design challenges”.
switching components used. International Journal of Embedded Systems and
Applications (IJESA).
Muthukrishnan. Dhanasekaran. 2014. “DC- DC boost
converter for solar power application”. Journal of
REFERENCES Theoretical and Applied Information Technology.
Padillah, Fitra. Syahrial. Siti Saodah. 2014. “Perancangan
Moore, R., Lopes, J., 1999. Paper templates. In dan realisasi konverter DC-DC tipe boost berbasis
TEMPLATE’06, 1st International Conference on mikrokontroler ATMega 8535”. Reka Elkomika
Template Production. SCITEPRESS. Journal.
Smith, J., 1998. The book, The publishing company. Rashid, Muhammad H. “Power Electronics Circuits,
London, 2nd edition. Devices, and Applications Handbooks”. Teknik
Ahadi, Khalif., 2012. “Rancang bangun buck converter 12 Elektro. Universitas Purdue. 2014.
volt 60 ampere menggunakan P-Channel MOSFET dan S, Savitha. Vibin C Thomas. 2014. “PSIM Simulation of a
IGBT tipe N”. Jurnal Ketenagalistrikan dan Energi buck-boost DC-DC Converter with wide conversion
Terbarukan. Pusat Penelitian dan Pengembangan range”. International Journal of Engineering Research
Teknologi Ketenagalistrikan, Energi Baru Terbarukan and Technology (IJERT)
dan Konservasi Energi. V, Viswanatha. Venkata Siva Reddy. 2017.
Biel, Domingo. Enric Fossas. Josep M. Olm. 2007. “Robust “Modeling,simulation and analisis of non-inverting
step-up DC/AC conversion with a full-bridge non- buck-boost converter using PSIM”. International
inverting buck-boost”. IEEE International Conference Conference on Circuits, Controls, Communications,
on Control Applications. and Computing (I4C).
Buesa, Jaime Gonzales. Maria L. Salvador. 2019. “An Zhang, Neng. Sam Batternally. Kai Chin Lim. 2017.
Arduino-based low cost device for the measurement of “Analysis of the non-inverting buck-boost converter
the respiration rates of fruits and vegetables”. Elsevier. with four-mode control method”. IEEE.
Instituto Agroalimentario de Aragon. Spain
Chang, Chin Wei. Chia Ling Wei. 2011. “Single-inductor
four-switch non-inverting buck-boost DC-DC
converter”. IEEE.
Choudhary, Dhananjay. Ammol Ratna Saxena., 2014. “DC-
DC buck converter for MPPT of PV system”.
International Journal of Emerging Technology and
Advanced Engineering (IJETAE).
Daniel, W. Hart. 1997 “Introduction to Power Electronics
Handbook”. Valparaiso University. Indiana
Dinniyah, Farah Shabilah. Wahidin Wahab. Muhammad
Alif 2017. “Simulation of buck-boost converter for
solar panels using PID controller”. International
Conference AREQ.
Forouzesh, Mojtaba. Yam P. Siwakoti. Saman A. Gorji.
2017. “Step-Up DC–DC Converters: A Comprehensive
Review of Voltage-Boosting Techniques, Topologies,
and Applications”. IEEE Transactions on Power
Electronics.
Jainudin, Arif Muslih. Agung Warsito. Trias Andromeda.
2017. “Konverter arus searah tipe buck dengan umpan
balik arus dan tegangan untuk pengisi akumulator”.
TRANSIENT.
Jinook, oh. 2016. “An open source automatic feeder for
animal experiments”. Elsevier. Cognitive Biology
Department, University of Vienna, Althanstrasse.
Austria
Jin, G. W.T Ng. 2014. “An integrated tri-mode non-
inverting buck-boost DC-DC converter with segmented
power devices and power transmission gate structure”.
176