DC-DC Boost Converter Design Report
DC-DC Boost Converter Design Report
Signed
………………….………………….
Date
………………….………………….
Faculty Dean
Signed
………………….………………….
Date
………………….………………….
First of all, we would like to thank my supervisor Mr. Nguyen Duy Cuong . Despite of his
busy schedules, he always accompanies with us to finish this project. He had planned for our meeting
once a week for asking any questions that we have faced in the process of doing research. He has much
knowledge about this subject. He had provided us basic knoweldge about electrical sciences, control
methods. He also helped me very much to accomplish this thesis, directed me how to write some
difficult parts. Simply, I could not look forward to a better and more enthusiastic supervisor. Besides our
supervisor, we would like to thank other teachers for supporting me to finish this project.
Abstracts
In today's modern engineering field, manufacturing power converters with high voltage quality and
compact size for electrical devices is extremely necessary. The process of converting a DC voltage into
another DC voltage is called the DC - DC conversion process with popular converter circuits such as
buck converter, boost converter, flyback converter... learned in the power electronics. Putting knowledge
into practice is no longer strange to students studying at universities, especially technical
schools. In this senior design II, we have chosen the topic: "DC - DC boost converter circuit design".
CONTENT
CHAPTER 1 INTRODUCTION..................................................... 6
1.1 Motivation..................................................................................... 6
1.2 Literature Review........................................................................ 6
1.3 Contribution................................................................................. 6
1.4 Organization................................................................................. 7
CHAPTER 2 BACKGROUND....................................................... 8
2.1 DC Motor ..................................................................................... 8
2.1.1 Structures .................................................................................. 8
2.1.2 Operation of principle.............................................................. 9
2.1.3. Equivalent circuit.............................................................. .... 10
2.2 H-Bridge............................................................................... ...... 11
2.2.1 Structures................................................................................. 11
2.2.2 Operation of principle............................................................ 11
2.2.3. Equivalent circuit................................................................... 12
2.3 Pulse Width Modulation(PWM)............................................... 12
2.4 PID controller..............................................................................13
2.4.1 Introduction..............................................................................13
2.4.2 PID Control..............................................................................14
2.4.3 The effect of PID......................................................................15
CHAPTER 3 SYSTEM AND CONTROL DESIGN....................16
3.1 System components.....................................................................16
3.1.1 Arduino.....................................................................................16
3.1.2 L298N .......................................................................................21
3.1.3 Power supply...........................................................................24
3.1.4 Encoder.....................................................................................24
3.1.5 Encoder Integrated Geared Servo Motor .............................27
3.2 Circuit Explanation....................................................................28
3.2.1 The problem of controlling the speed of the DC motor using PID equalization and
encoder feedback ........................................28
3.2.2 The single-pin configuration is INPUT_PULLUP ..............28
3.2.3 Algorithm to the code.…….....................................................28
CONCLUSION……..........................................................................30
REFERENCE……............................................................................31
LIST OF ACRONYMS
L
c o
V d
(a)
L o
d c
-
(b)
(c)
Fig. 1. Basic DC-DC converter topologies (a) Buck (b) Boost (c) Buck-boost
The buck converter has an output voltage lower than the input voltage.
It gives a continuous output current and lesser output voltage ripple requiring
low value of capacitance. However, the input current is discontinuous (pulsed)
in this topology, which requires the input filter. The boost converter provides
an output voltage greater than the input voltage. The 3 input current is
continuous, which eliminates the need of input filter. However, the output
current is discontinuous (pulsed) in this topology and therefore, requires high
value capacitance to reduce the output voltage ripple. The buck-boost
converter gives an output voltage, which can be lower, equal or higher than the
input voltage. The input current and output current both are discontinuous.
The polarity of output voltage is opposite of the input voltage. These three
basic topologies of DC-DC converters have simple configurations involving
only one semiconductor switch, one diode, one inductor and one filter
capacitor.
7
[Type here]
Scope of research
•Research based on knowledge learned in the power electronics
module
•Learn more knowledge on the internet from teachers and friends
This project orients students to make power electronic circuits to help
students master knowledge and know how to apply it in practice. Get familiar
with designing and making real circuits.
The design of the boost converter circuit is not too complicated, but the
problem of control to achieve high variable efficiency and ensure stability has
always been the goal of research works.
CHAPTER 2
OVERVIEW OF DC-DC BOOST CONVERTER CIRCUIT
2.1 Structure and principle diagram
8
[Type here]
Power for the booster circuit can come from any suitable DC source, such
as lion batteries, solar cells, rectifiers and DC generators.
2.3 Application
Make desulfate circuits to maintain batteries and power devices that
require high voltages of several tens of volts but the power supply has low
voltages of 1.5V or 3.7V. Increase voltage in pulse sources such as TVs and
LEDs.
2.4 PID CONTROLLER
2.4.1 Introduction
’
Figure 2.12 PID controller
Where
P (Proportional) is a scaling adjustment method, which helps to
create a signal that adjusts proportionally to the input deviation
according to the sampling time.
I (Integral) is the integral of the deviation over sampling time.
Integral control is a tuning method for generating correction signals
such that the deviation decreases to zero. This tells us whether the
total error is instantaneous over time or accumulated error in the
past. The smaller the time, the stronger the integral adjustment
effect, which corresponds to the smaller the deviation.
D (Derivative) is the differential of deviation. Differential control
generates a tuned signal so that it is proportional to the rate of
change in input bias. The larger the time, the stronger the differential
adjustment range, which corresponds to the faster the regulator
responds to input changes.
2.4.2 PID Control
The PID control scheme is named after its three calibration stages, the sum
of which is made up of control variables (MVs). We have
Inside
11
[Type here]
CHAPTER 3
SYSTEM AND CONTROL DESIGN
3.1 SYSTEM COMPONENTS
12
[Type here]
13
[Type here]
Structure
Microcontroller ATmega328P
Operating Voltage 5V
Input Voltage
(recommended) 7-12V
Input Voltage (limit) 6-20V
Digital and/or Pins 14 (of which 6 provide PWM output)
PWM Digital I/O Pins 6
Analog Input Pins 6
DC Current per I/O Pin 20 mA
DC Current for 3.3V Pin 50 mA
32 KB (ATmega328P) of which 0.5 KB
Flash Memory used by bootloader
BLEMISH 2 KB (ATmega328P)
EEPROM 1 KB (ATmega328P)
Clock Speed 16 MHz
LED_BUILTIN 13
Length 68.6 mm
Width 53.4 mm
Weight 25 g
14
[Type here]
Power USB
Arduino board can be powered by using the USB cable
from your computer. All you need to do is connect the USB
cable to the USB connection (1).
Voltage Regulator
The function of the voltage regulator is to control the
voltage given to the Arduino board and stabilize the DC
voltages used by the processor and other elements.
Crystal Oscillator
The crystal oscillator helps Arduino in dealing with time
issues. How does Arduino calculate time? The answer is, by
using the crystal oscillator. The number printed on top of the
Arduino crystal is
16.000H9H. It tells us that the frequency is 16,000,000
Hertz or 16 MHz.
Arduino Reset
You can reset your Arduino board, i.e., start your program
from the beginning. You can reset the UNO board in two ways.
First, by using the reset button (17) on the board. Second, you
can connect an external reset button to the Arduino pin labelled
RESET (5).
Analog pins
The Arduino UNO board has five analog input pins A0
through A5. These pins can read the signal from an analog
sensor like the humidity sensor or temperature sensor and
15
[Type here]
Main microcontroller
Each Arduino board has its own microcontroller (11). You
can assume it as the brain of your board. The main IC
(integrated circuit) on the Arduino is slightly different from
board to board. The microcontrollers are usually of the
ATMEL Company. You must know what IC your board has
before loading up a new program from the Arduino IDE. This
information is available on the top of the IC. For more details
about the IC construction and functions, you can refer to the
data sheet.
ICSP pin
Mostly, ICSP (12) is an AVR, a tiny programming header
for the Arduino consisting of MOSI, MISO, SCK, RESET,
VCC, and GND. It is often referred to as an SPI (Serial
Peripheral Interface), which could be considered as an
"expansion" of the output. Actually, you are slaving the output
device to the master of the SPI bus.
TX and RX LEDs
On your board, you will find two labels TX (transmit) and
RX (receive). They appear in two places on the Arduino UNO
board. First, at the digital pins 0 and 1, to indicate the pins
responsible for serial communication. Second, the TX and RX
led (13). The TX led flashes with different speed while sending
the serial data. The speed of flashing depends on the baud rate
used by the board. RX flashes during the receiving process.
16
[Type here]
Digital and/or
The Arduino UNO board has 14 digital I/O pins (15) (of
which 6 provide PWM (Pulse Width Modulation) output.
These pins can be configured to work as input digital pins to
read logic values (0 or 1) or as digital output pins to drive
different modules like LEDs, relays, etc.
The pins labeled “~” can be used to generate PWM.
AREF
AREF stands for Analog Reference. It is sometimes, used
to set an external reference voltage (between 0 and 5 Volts) as
the upper limit for the analog input pins.
3.1.2 L298N
17
[Type here]
18
[Type here]
19
[Type here]
- High 2.3V~Vss
• Max power 25W (Temperature 75o C)
• Working temperature -25C~+130C
• Dimension 60mm*54mm
• Driver weight ~48g
3.1.3 Power supply
The robot is powered by a honeycomb source as the main electrical
power source for the motor.
– Absolute
– Incremental
There are also various electromechanical technologies such as
– Magnetic
– Optical
– Inductive
– Capacitive
– Laser
[Link] Structure
The main structural encoders include
The circular optical disc has a small free spin around the axis On the
perforated disk (groove), when this disk rotates and shines led lights on the
surface of the disc, an interruption occurs. The grooves on the disk divide the
360o circle into equal angles. And a disk can have multiple sequences of
grooves from the center of the circle.
Photosensor
Light source.
[Link] Operating principle
When the disk rotates around the axis, there are grooves on the disk for the
optical signal to shine through (Led). Where there is a groove, the light can
penetrate, where there is no groove the light cannot penetrate. With the yes/no
signals, it is noted whether the LED lights are shining through or not.
The number of Encoder pulses is conventionally the number of times light
shines through the slot. For example, on a disk with only 100 slots, for every 1
revolution, the encoder counts 100 signals. This is the principle of operation of
the basic encoder, but for many other types, of course, the spinning disk will
have more holes and the reception signal will also be different.
21
[Type here]
Specifications
• Power cord 12 - 24V White, Red
• Phase A Black wire
• Phase B Orange wire
• 5V VCC Encoder Gold wire
• Encoder GND Blue
• Shaft diameter 6mm
• Power supply 12 – 24V
• 120 RPM idle speed
• Encoder 400 pulses / rings
• Weight 180 g
23
[Type here]
24
[Type here]
Short program
25
[Type here]
CONCLUSION
26
[Type here]
REFERENCE
Here are some websites you can refer to to find out information about
robotic arms
1. Robotics Online Website specializing in industrial robots, providing a
lot of information about robot arms https //www .[Link]/blog-
[Link]/The-Basics-of-Robotic-Arms/25
2. RobotShop A retail robot product website, providing a wide range of
information about robots, including robotic arms https
//[Link]/en/[Link]
3. RobotWorx Website that provides industrial robot arms and repair
support services for different types of robotic arms https
//[Link]/en/[Link] .[Link]/applications/robot-
arms
4. Robotiq Website of a company that manufactures robots and robotic
accessories, providing a lot of information about robotic arms https
//[Link]/topic/ robotic-arms
5. Universal Robots Website of a company that manufactures industrial
robotic arms, providing full information about its products as well as solutions
using robotic arms https //[Link]-robots .com/products/ur5-robots/
Hopefully these sites will help you find the information you need about
robotic arms.
27