SlideShare a Scribd company logo
1 of 3
Download to read offline
International Journal of Trend in Scientific Research and Development (IJTSRD)
Volume 3 Issue 5, August 2019 Available Online: www.ijtsrd.com e-ISSN: 2456 – 6470
@ IJTSRD | Unique Paper ID – IJTSRD27898 | Volume – 3 | Issue – 5 | July - August 2019 Page 2398
PC Based DC Motor Speed Control using PID for Laboratory
Kyaw Zin Latt, Than Htike Aung, Zaw Min Min Htun
Department of Electronic Engineering Mandalay, Technological University, Mandalay, Myanmar
How to cite this paper: Kyaw Zin Latt |
Than Htike Aung | Zaw Min Min Htun "PC
Based DC Motor Speed Control using PID
for Laboratory"
Published in
International
Journal of Trend in
Scientific Research
and Development
(ijtsrd), ISSN: 2456-
6470, Volume-3 |
Issue-5, August 2019, pp.2398-2400,
https://doi.org/10.31142/ijtsrd27898
Copyright © 2019 by author(s) and
International Journal ofTrend inScientific
Research and Development Journal. This
is an Open Access article distributed
under the terms of
the Creative
Commons Attribution
License (CC BY 4.0)
(http://creativecommons.org/licenses/by
/4.0)
ABSTRACT
In this paper, PC based DC motor speed control using PID (proportional,
Integral, derivative) control algorithm for laboratory. Arduino Uno
microcontroller and L298N hybrid motor driver module are used to drive the
dc motor. PID algorithm is uploaded to arduino and proportional gain (kp),
Integral gain (ki), and derivative gain ( kd) can be set and tuned via windows
form application in computer. This application is developed by using c#
programming. The desired speed and PID gains are set by computer anddrive
the DC motor. The speed of the motor can retrieve by using encoder which is
included in DC motor. By using this work, student can learn how to controlthe
speed of DC motor using PID controller and how to tune the gains.
KEYWORDS: PID, C#, arduino uno, L298n, windows form application
I. INTRODUCTION
Nowadays, DC motors have been widely used in industry even though its
maintenance costs are higher than the induction motor. A DC motor is any of a
class of rotary electrical machines that converts directcurrent electricalenergy
into mechanical energy. The most commontypes relyontheforces produced by
magnetic fields. Nearly all types of DC motors have some internal mechanism,
either electromechanical or electronics, to periodically change the direction of
current flow in part of the motor.
[1] The speed of the DC motor is controlled by using pulse
width modulation (PWM), a technique of rapidly pulsingthe
power on off. Arduino microcontroller is used to receive the
data, revolution per minutes, proportionalgain,integralgain
and derivative gain, from computer. Proportional-Integral
Derivative (PID) controllershavebeenwidely usedforspeed
and position control of DC motor [3]. The objective of this
paper is to show that by employing the PID gains tuning
system from graphical user interface (GUI) to get the
optimization can be achieved [5]. The students can tune the
PID gains from GUI. This GUI was developed by C# windows
form application [4].
II. Operation Principle
A. Operation Principle
The overall block diagram is shown in Figure 1. The main
objective of this work is to control DC motor using PID
control algorithm and tune the PID gains from computer for
laboratory. This training board consists of four components,
computer, arduino, L298N hybrid motor driver and namiki
DC motor. To control the speed of DC motor, student can
start the motor by using computer and monitor the speed of
motor from C# windows form application. And then,
students can tune the PID gains from this form and test the
response of speed of the DC motor. PID control algorithm is
written in arduino Uno microcontroller and drive the DC
motor by using L298N motor driver. From Graphical User
Interface in computer set the gains and revolution per
minute shown in Figure 2.
Figure1. Overall design of PC based DC speed control
Figure2. Experiment for DC motor speed control
III. PROPORTIONAL-INTEGRAL-DERIVATIVE
CONTROLLER
A. Proportional response
The proportional component depends only onthedifference
between the set point and the process variable. This
difference is referred to as the Error term. The proportional
gain determines the ratio of output response to the error
IJTSRD27898
International Journal of Trend in Scientific Research and Development (IJTSRD) @ www.ijtsrd.com eISSN: 2456-6470
@ IJTSRD | Unique Paper ID – IJTSRD27898 | Volume – 3 | Issue – 5 | July - August 2019 Page 2399
signal. For instance, if the error term has a magnitude of 10,
a proportional gain of 5 would produce a proportional
response of 50. In general, increasing the proportional gain
will increase the speed of the control system response.
However, if the proportional gain is too large, the process
variable will begin to oscillate. In contrast, a small gain
results in a small output response to a large input error.
𝑃𝑜𝑢𝑡 = 𝑘𝑝 𝑒(𝑡)
B. Integral Response
The integral component sums the error term over time. The
result is that even a small error term will cause the integral
component to increase slowly. The integral response will
continually increase over time unless the erroris zero,sothe
effect is to drive the Steady-State error to zero. Steady-State
error is the final difference betweentheprocess variable and
set point. A phenomenon called integral windup results
when integral action saturates a controller without the
controller driving the error signal toward zero.
𝐼𝑜𝑢𝑡 = 𝑒(𝑡)𝑑𝑡
C. Derivative Response
The derivative component causes the output to decrease if
the process variable is increasing rapidly. The derivative
response is proportional to the rate of change of the process
variable. Increasing the derivative time parameterwill cause
the control system to react more strongly to changes in the
error term and will increase the speed of the overall control
system response. Most practical control systems use very
small derivative time, because the derivative response is
highly sensitive to noise in the process variable signal. If the
sensor feedback signal is noisy or if the control loop rate is
too slow, the derivative response can make the control
system unstable. The concept of PID controller isdepicted in
Figure 3.
𝐷𝑜𝑢𝑡 = 𝑘𝑑
𝑑𝑒(𝑡)
𝑑𝑡
Figure3. PID controller
IV. HARDWARE AND SOFTWARE COMPONENTS
A. Arduino Uno
Arduino is a microcontroller and open-sourceplatformused
for building electronics projects. Arduino consists of both a
physical programmable circuit boardanda pieceofsoftware
component, or IDE (Integrated Development Environment)
that runs on your computer, used to write and upload
computer code to the physical board. The Arduino platform
has become quite popular with people just starting out with
electronics, and for good reason. Unlike most previous
programmable circuit boards, the Arduino does not need a
separate piece of hardware (called a programmer) in order
to load new code onto the board you can simply use a USB
cable. Additionally, the ArduinoIDEusesa simplifiedversion
of C++, making it easier to learn to program. Finally,Arduino
provides a standard formfactorthatbreaksout thefunctions
of the micro-controller into a more accessible package.
Figure6. Arduino Uno microcontroller
B. L298N Dual H-Bridge Motor Driver
This dual bidirectional motor driver, Figure 4, is based on
the very popular L298 Dual H-Bridge Motor Driver
Integrated Circuit. The circuit will allow to easily and
independently control two motors of up to 2A each in both
directions. It is ideal for robotic applications and well suited
for connection to a microcontroller requiringjust acoupleof
control lines per motor. It can also be interfaced with simple
manual switches, TTL logic gates, relays, etc. This board
equipped with power LED indicators, on-board +5V
regulator and protection diodes.
Figure4. L298N hybrid motor driver
C. Namiki precision motor
The 12V Namiki DC gear-motor shown in Fig. 5 is a powerful
motor to drive the position control system. It comeswith the
photoelectric encoder output and planetary gear ratio
reduced by 80:1 gear. It can provide 120 rpm with the rated
voltage of 12VDC [3]. To read the count values from the
encoder, the user would check the condition of channel A
and B rotation applying by experiment. For the rotor shaft
count per revolution values, it is very important to multiply
the gear ratio by count values. The specificationofthemotor
is shown in Table 1.
International Journal of Trend in Scientific Research and Development (IJTSRD) @ www.ijtsrd.com eISSN: 2456-6470
@ IJTSRD | Unique Paper ID – IJTSRD27898 | Volume – 3 | Issue – 5 | July - August 2019 Page 2400
Figure5. Namiki DC motor with encoder
Table1. Specification of namiki motor
Brand: Namiki Coreless Motor (Japan)
Model: 22CL-3501PG
Operating
Voltage:
12VDC
Rated power: 15W
Stall torque: 16.5kg*cm
Continuous
torque:
5kg*cm
Diameter: 22mm
Shaft length: 19mm (with 90 degree double-cut)
Length: 65mm (includes encoder gear box)
Stall current: 1.8A
Reduction
ratio:
80:1(metal planetary reduction
gear)
Output speed: 120 RPM@12VDC
D. C# programming Language
C# is a hybrid of C and C++, it is a Microsoft programming
language developed tocompletewithSun’s javalanguage. C#
programming language, windows form applications, web
applications and network application can be developed. In
this work, windows form application was developed. C # is
an object-oriented programming language used with web
service on the .Net platform and designed for development
of web application.
C# boasts type-safety, interoperability, garbage collection,
simplified type declarations, versioning and scalability
support, and other features that make developing solutions
faster and easier, especially for COM+ and Web services.
Microsoft critics have pointed to the similarities betweenC#
and Java.
V. RESULTS
Experiment for PC based DC motorspeed controlis shownin
Figure 6. Desired revolution per minutes and respectivePID
gains send to microcontroller and drive the motor. The
actual revolution per minutes of DC motor can be calculated
by using encoder pulses. This RPM is sent from
microcontroller to PC via universal serial bus cable and
display in GUI. Figure 6 shows the comparison of desired
rpm and actual rpm graph. According to this figure, the
speed of the DC motor with encoder can be control via
computer by employing the gains of PID.
Figure6. GUI for PC based DC motor speed control
using PID
VI. CONCLUSION
PC based DC motor speed control using PID control
algorithm was designed and implemented for laboratory.
Student can control the speed of DC encoder motor andtune
and the PID gains, kp, ki, kd from C# the windows form
application. And then, the output RPM of DC motor can be
monitored from PC. So, this work is effectiveand efficientfor
the students. Teacher also can explain the PID algorithm
using this training board.
ACKNOWLEDGMENT
I would like to express my gratitude to all the teachers from
the department of Electronic Engineering, Mandalay
Technological University for their suggestions.
VII. REFERENCES
[1] Liu Jiang-yi1, a, Sun Shu-ying2, “Design and
Implementation of Servo Motor Speed Control
SystemBased on STM32”, Applied Mechanics and
Materials Vols. 427-429 (2013) pp 999-1002,2013
[2] Dinesh Bista,“ Understanding and Design of an
Arduino-based PID Controller”, Virginia
Commonwealth University, 2016
[3] https://www.aliexpress.com/item/32813911637.html
[4] https://docs.microsoft.com/en-
us/dotnet/csharp/programming-guide/
[5] Myo Maung Maung*, Maung Maung Latt**, Chaw Myat
Nwe**,” DC Motor Angular Position Control using PID
Controller with Friction Compensation”, International
Journal of Scientific and ResearchPublications,Volume
8, Issue 11, 149 ISSN 2250-3153, November 2018

More Related Content

What's hot

CT design aspects - Nageswar-6
CT design aspects - Nageswar-6CT design aspects - Nageswar-6
CT design aspects - Nageswar-6Nageswar Rao
 
Power control and power flow analysis
Power control and power flow analysisPower control and power flow analysis
Power control and power flow analysisjawaharramaya
 
Electrostatic fields and field stress control
Electrostatic fields and field stress controlElectrostatic fields and field stress control
Electrostatic fields and field stress controlvhasmukh96
 
Training at sail bokaro
Training at sail bokaroTraining at sail bokaro
Training at sail bokaroGAURAV VERMA
 
Voltage sag
Voltage sagVoltage sag
Voltage sagAJAL A J
 
Wattmeter Presentation
Wattmeter PresentationWattmeter Presentation
Wattmeter Presentationfarhan memon
 
Receiving end circle diagram
Receiving end circle diagram Receiving end circle diagram
Receiving end circle diagram GPERI
 
Conductor material and ferranti effect
Conductor material and ferranti effectConductor material and ferranti effect
Conductor material and ferranti effectAbhishekLalkiya
 
V/F control of Induction Motor - Variable voltage and Variable frequency
V/F control of Induction Motor - Variable voltage and Variable frequencyV/F control of Induction Motor - Variable voltage and Variable frequency
V/F control of Induction Motor - Variable voltage and Variable frequencyCitharthan Durairaj
 
BREAKDOWN IN LIQUIDS_NDS
BREAKDOWN IN LIQUIDS_NDSBREAKDOWN IN LIQUIDS_NDS
BREAKDOWN IN LIQUIDS_NDSNiraj Solanki
 
High voltage transmission
High voltage transmissionHigh voltage transmission
High voltage transmissionSHIVLAL MOHAL
 
unit-iii- Sphere Gap.ppt
unit-iii- Sphere Gap.pptunit-iii- Sphere Gap.ppt
unit-iii- Sphere Gap.pptVijayHiremath26
 

What's hot (20)

Chapter 02- Breakdown in Gases (part-2)
Chapter 02- Breakdown in Gases (part-2)Chapter 02- Breakdown in Gases (part-2)
Chapter 02- Breakdown in Gases (part-2)
 
Third harmonic pwm
Third harmonic pwmThird harmonic pwm
Third harmonic pwm
 
Electric welding
Electric weldingElectric welding
Electric welding
 
CT design aspects - Nageswar-6
CT design aspects - Nageswar-6CT design aspects - Nageswar-6
CT design aspects - Nageswar-6
 
Power Scenario in India
Power Scenario in IndiaPower Scenario in India
Power Scenario in India
 
Power control and power flow analysis
Power control and power flow analysisPower control and power flow analysis
Power control and power flow analysis
 
Mod5part1
Mod5part1Mod5part1
Mod5part1
 
Fuel cell
Fuel cellFuel cell
Fuel cell
 
Electrostatic fields and field stress control
Electrostatic fields and field stress controlElectrostatic fields and field stress control
Electrostatic fields and field stress control
 
Reactive power compensation
Reactive power compensationReactive power compensation
Reactive power compensation
 
Training at sail bokaro
Training at sail bokaroTraining at sail bokaro
Training at sail bokaro
 
Voltage sag
Voltage sagVoltage sag
Voltage sag
 
Wattmeter Presentation
Wattmeter PresentationWattmeter Presentation
Wattmeter Presentation
 
Receiving end circle diagram
Receiving end circle diagram Receiving end circle diagram
Receiving end circle diagram
 
MTDC SYSTEMS
MTDC SYSTEMSMTDC SYSTEMS
MTDC SYSTEMS
 
Conductor material and ferranti effect
Conductor material and ferranti effectConductor material and ferranti effect
Conductor material and ferranti effect
 
V/F control of Induction Motor - Variable voltage and Variable frequency
V/F control of Induction Motor - Variable voltage and Variable frequencyV/F control of Induction Motor - Variable voltage and Variable frequency
V/F control of Induction Motor - Variable voltage and Variable frequency
 
BREAKDOWN IN LIQUIDS_NDS
BREAKDOWN IN LIQUIDS_NDSBREAKDOWN IN LIQUIDS_NDS
BREAKDOWN IN LIQUIDS_NDS
 
High voltage transmission
High voltage transmissionHigh voltage transmission
High voltage transmission
 
unit-iii- Sphere Gap.ppt
unit-iii- Sphere Gap.pptunit-iii- Sphere Gap.ppt
unit-iii- Sphere Gap.ppt
 

Similar to PC-Based DC Motor Speed Control using PID

IRJET - IoT based Speed Control of DC Motor using PWM Technique
IRJET -  	  IoT based Speed Control of DC Motor using PWM TechniqueIRJET -  	  IoT based Speed Control of DC Motor using PWM Technique
IRJET - IoT based Speed Control of DC Motor using PWM TechniqueIRJET Journal
 
Camera Movement Control using PID Controller in LabVIEW
Camera Movement Control using PID Controller in LabVIEWCamera Movement Control using PID Controller in LabVIEW
Camera Movement Control using PID Controller in LabVIEWijtsrd
 
IRJET- Closed Loop Speed Control of DC Motor by using PI Controller
IRJET-  	  Closed Loop Speed Control of DC Motor by using PI ControllerIRJET-  	  Closed Loop Speed Control of DC Motor by using PI Controller
IRJET- Closed Loop Speed Control of DC Motor by using PI ControllerIRJET Journal
 
Dc motor speed control with feedback monitor based on c# application
Dc motor speed control with feedback monitor based on c# applicationDc motor speed control with feedback monitor based on c# application
Dc motor speed control with feedback monitor based on c# applicationeSAT Publishing House
 
Dc motor speed control with feedback monitor based on c# application
Dc motor speed control with feedback monitor based on c# applicationDc motor speed control with feedback monitor based on c# application
Dc motor speed control with feedback monitor based on c# applicationeSAT Journals
 
A Review on Smart Generator Control using Android Application
A Review on Smart Generator Control using Android ApplicationA Review on Smart Generator Control using Android Application
A Review on Smart Generator Control using Android ApplicationIRJET Journal
 
IRJET - Hybrid Model of Smart Energy Consumption Monitoring System
IRJET - Hybrid Model of Smart Energy Consumption Monitoring SystemIRJET - Hybrid Model of Smart Energy Consumption Monitoring System
IRJET - Hybrid Model of Smart Energy Consumption Monitoring SystemIRJET Journal
 
Simulation DC Motor Speed Control System by using PID Controller
Simulation DC Motor Speed Control System by using PID ControllerSimulation DC Motor Speed Control System by using PID Controller
Simulation DC Motor Speed Control System by using PID Controllerijtsrd
 
IRJET- Smart Battery Management
IRJET- Smart Battery ManagementIRJET- Smart Battery Management
IRJET- Smart Battery ManagementIRJET Journal
 
IRJET- AC Motor Fault Analyser by Characteristic Analysis
IRJET-  	  AC Motor Fault Analyser by Characteristic AnalysisIRJET-  	  AC Motor Fault Analyser by Characteristic Analysis
IRJET- AC Motor Fault Analyser by Characteristic AnalysisIRJET Journal
 
IRJET- Induction Motor Condition Monitoring and Controlling based on IoT
IRJET- Induction Motor Condition Monitoring and Controlling based on IoTIRJET- Induction Motor Condition Monitoring and Controlling based on IoT
IRJET- Induction Motor Condition Monitoring and Controlling based on IoTIRJET Journal
 
IRJET- Automatic Vehicle Speed Controller System in Restricted Areas
IRJET- Automatic Vehicle Speed Controller System in Restricted AreasIRJET- Automatic Vehicle Speed Controller System in Restricted Areas
IRJET- Automatic Vehicle Speed Controller System in Restricted AreasIRJET Journal
 
Bottle Filling Application using Arduino
Bottle Filling Application using ArduinoBottle Filling Application using Arduino
Bottle Filling Application using ArduinoParth Patel
 
IOT BASED ELECTRICAL MOTOR CONTROL AND MONITORING
IOT BASED ELECTRICAL MOTOR CONTROL AND MONITORINGIOT BASED ELECTRICAL MOTOR CONTROL AND MONITORING
IOT BASED ELECTRICAL MOTOR CONTROL AND MONITORINGIRJET Journal
 
IRJET- Design and Fabrication of Steering System using Servo Motors
IRJET- Design and Fabrication of Steering System using Servo MotorsIRJET- Design and Fabrication of Steering System using Servo Motors
IRJET- Design and Fabrication of Steering System using Servo MotorsIRJET Journal
 
CNC Drilling Machine for Printed Circuit Board
CNC Drilling Machine for Printed Circuit BoardCNC Drilling Machine for Printed Circuit Board
CNC Drilling Machine for Printed Circuit Boardijtsrd
 
Design-and-Implementation-of-an-Improved-Automatic-DC-Motor-Speed-Control-Sys...
Design-and-Implementation-of-an-Improved-Automatic-DC-Motor-Speed-Control-Sys...Design-and-Implementation-of-an-Improved-Automatic-DC-Motor-Speed-Control-Sys...
Design-and-Implementation-of-an-Improved-Automatic-DC-Motor-Speed-Control-Sys...PUBLISHERJOURNAL
 
Speed control of single phase induction motor by android bluetooth
Speed control of single phase induction motor by android bluetoothSpeed control of single phase induction motor by android bluetooth
Speed control of single phase induction motor by android bluetoothIRJET Journal
 
IRJET - Mobile Application Base Voice Command Wireless CNC Writing Machine
IRJET - Mobile Application Base Voice Command Wireless CNC Writing MachineIRJET - Mobile Application Base Voice Command Wireless CNC Writing Machine
IRJET - Mobile Application Base Voice Command Wireless CNC Writing MachineIRJET Journal
 

Similar to PC-Based DC Motor Speed Control using PID (20)

IRJET - IoT based Speed Control of DC Motor using PWM Technique
IRJET -  	  IoT based Speed Control of DC Motor using PWM TechniqueIRJET -  	  IoT based Speed Control of DC Motor using PWM Technique
IRJET - IoT based Speed Control of DC Motor using PWM Technique
 
Camera Movement Control using PID Controller in LabVIEW
Camera Movement Control using PID Controller in LabVIEWCamera Movement Control using PID Controller in LabVIEW
Camera Movement Control using PID Controller in LabVIEW
 
IRJET- Closed Loop Speed Control of DC Motor by using PI Controller
IRJET-  	  Closed Loop Speed Control of DC Motor by using PI ControllerIRJET-  	  Closed Loop Speed Control of DC Motor by using PI Controller
IRJET- Closed Loop Speed Control of DC Motor by using PI Controller
 
Dc motor speed control with feedback monitor based on c# application
Dc motor speed control with feedback monitor based on c# applicationDc motor speed control with feedback monitor based on c# application
Dc motor speed control with feedback monitor based on c# application
 
Dc motor speed control with feedback monitor based on c# application
Dc motor speed control with feedback monitor based on c# applicationDc motor speed control with feedback monitor based on c# application
Dc motor speed control with feedback monitor based on c# application
 
A Review on Smart Generator Control using Android Application
A Review on Smart Generator Control using Android ApplicationA Review on Smart Generator Control using Android Application
A Review on Smart Generator Control using Android Application
 
IRJET - Hybrid Model of Smart Energy Consumption Monitoring System
IRJET - Hybrid Model of Smart Energy Consumption Monitoring SystemIRJET - Hybrid Model of Smart Energy Consumption Monitoring System
IRJET - Hybrid Model of Smart Energy Consumption Monitoring System
 
Simulation DC Motor Speed Control System by using PID Controller
Simulation DC Motor Speed Control System by using PID ControllerSimulation DC Motor Speed Control System by using PID Controller
Simulation DC Motor Speed Control System by using PID Controller
 
IRJET- Smart Battery Management
IRJET- Smart Battery ManagementIRJET- Smart Battery Management
IRJET- Smart Battery Management
 
IRJET- AC Motor Fault Analyser by Characteristic Analysis
IRJET-  	  AC Motor Fault Analyser by Characteristic AnalysisIRJET-  	  AC Motor Fault Analyser by Characteristic Analysis
IRJET- AC Motor Fault Analyser by Characteristic Analysis
 
IRJET- Induction Motor Condition Monitoring and Controlling based on IoT
IRJET- Induction Motor Condition Monitoring and Controlling based on IoTIRJET- Induction Motor Condition Monitoring and Controlling based on IoT
IRJET- Induction Motor Condition Monitoring and Controlling based on IoT
 
IRJET- Automatic Vehicle Speed Controller System in Restricted Areas
IRJET- Automatic Vehicle Speed Controller System in Restricted AreasIRJET- Automatic Vehicle Speed Controller System in Restricted Areas
IRJET- Automatic Vehicle Speed Controller System in Restricted Areas
 
Bottle Filling Application using Arduino
Bottle Filling Application using ArduinoBottle Filling Application using Arduino
Bottle Filling Application using Arduino
 
IOT BASED ELECTRICAL MOTOR CONTROL AND MONITORING
IOT BASED ELECTRICAL MOTOR CONTROL AND MONITORINGIOT BASED ELECTRICAL MOTOR CONTROL AND MONITORING
IOT BASED ELECTRICAL MOTOR CONTROL AND MONITORING
 
IRJET- Design and Fabrication of Steering System using Servo Motors
IRJET- Design and Fabrication of Steering System using Servo MotorsIRJET- Design and Fabrication of Steering System using Servo Motors
IRJET- Design and Fabrication of Steering System using Servo Motors
 
CNC Drilling Machine for Printed Circuit Board
CNC Drilling Machine for Printed Circuit BoardCNC Drilling Machine for Printed Circuit Board
CNC Drilling Machine for Printed Circuit Board
 
SMART LATHE MACHINE
SMART LATHE MACHINESMART LATHE MACHINE
SMART LATHE MACHINE
 
Design-and-Implementation-of-an-Improved-Automatic-DC-Motor-Speed-Control-Sys...
Design-and-Implementation-of-an-Improved-Automatic-DC-Motor-Speed-Control-Sys...Design-and-Implementation-of-an-Improved-Automatic-DC-Motor-Speed-Control-Sys...
Design-and-Implementation-of-an-Improved-Automatic-DC-Motor-Speed-Control-Sys...
 
Speed control of single phase induction motor by android bluetooth
Speed control of single phase induction motor by android bluetoothSpeed control of single phase induction motor by android bluetooth
Speed control of single phase induction motor by android bluetooth
 
IRJET - Mobile Application Base Voice Command Wireless CNC Writing Machine
IRJET - Mobile Application Base Voice Command Wireless CNC Writing MachineIRJET - Mobile Application Base Voice Command Wireless CNC Writing Machine
IRJET - Mobile Application Base Voice Command Wireless CNC Writing Machine
 

More from ijtsrd

‘Six Sigma Technique’ A Journey Through its Implementation
‘Six Sigma Technique’ A Journey Through its Implementation‘Six Sigma Technique’ A Journey Through its Implementation
‘Six Sigma Technique’ A Journey Through its Implementationijtsrd
 
Edge Computing in Space Enhancing Data Processing and Communication for Space...
Edge Computing in Space Enhancing Data Processing and Communication for Space...Edge Computing in Space Enhancing Data Processing and Communication for Space...
Edge Computing in Space Enhancing Data Processing and Communication for Space...ijtsrd
 
Dynamics of Communal Politics in 21st Century India Challenges and Prospects
Dynamics of Communal Politics in 21st Century India Challenges and ProspectsDynamics of Communal Politics in 21st Century India Challenges and Prospects
Dynamics of Communal Politics in 21st Century India Challenges and Prospectsijtsrd
 
Assess Perspective and Knowledge of Healthcare Providers Towards Elehealth in...
Assess Perspective and Knowledge of Healthcare Providers Towards Elehealth in...Assess Perspective and Knowledge of Healthcare Providers Towards Elehealth in...
Assess Perspective and Knowledge of Healthcare Providers Towards Elehealth in...ijtsrd
 
The Impact of Digital Media on the Decentralization of Power and the Erosion ...
The Impact of Digital Media on the Decentralization of Power and the Erosion ...The Impact of Digital Media on the Decentralization of Power and the Erosion ...
The Impact of Digital Media on the Decentralization of Power and the Erosion ...ijtsrd
 
Online Voices, Offline Impact Ambedkars Ideals and Socio Political Inclusion ...
Online Voices, Offline Impact Ambedkars Ideals and Socio Political Inclusion ...Online Voices, Offline Impact Ambedkars Ideals and Socio Political Inclusion ...
Online Voices, Offline Impact Ambedkars Ideals and Socio Political Inclusion ...ijtsrd
 
Problems and Challenges of Agro Entreprenurship A Study
Problems and Challenges of Agro Entreprenurship A StudyProblems and Challenges of Agro Entreprenurship A Study
Problems and Challenges of Agro Entreprenurship A Studyijtsrd
 
Comparative Analysis of Total Corporate Disclosure of Selected IT Companies o...
Comparative Analysis of Total Corporate Disclosure of Selected IT Companies o...Comparative Analysis of Total Corporate Disclosure of Selected IT Companies o...
Comparative Analysis of Total Corporate Disclosure of Selected IT Companies o...ijtsrd
 
The Impact of Educational Background and Professional Training on Human Right...
The Impact of Educational Background and Professional Training on Human Right...The Impact of Educational Background and Professional Training on Human Right...
The Impact of Educational Background and Professional Training on Human Right...ijtsrd
 
A Study on the Effective Teaching Learning Process in English Curriculum at t...
A Study on the Effective Teaching Learning Process in English Curriculum at t...A Study on the Effective Teaching Learning Process in English Curriculum at t...
A Study on the Effective Teaching Learning Process in English Curriculum at t...ijtsrd
 
The Role of Mentoring and Its Influence on the Effectiveness of the Teaching ...
The Role of Mentoring and Its Influence on the Effectiveness of the Teaching ...The Role of Mentoring and Its Influence on the Effectiveness of the Teaching ...
The Role of Mentoring and Its Influence on the Effectiveness of the Teaching ...ijtsrd
 
Design Simulation and Hardware Construction of an Arduino Microcontroller Bas...
Design Simulation and Hardware Construction of an Arduino Microcontroller Bas...Design Simulation and Hardware Construction of an Arduino Microcontroller Bas...
Design Simulation and Hardware Construction of an Arduino Microcontroller Bas...ijtsrd
 
Sustainable Energy by Paul A. Adekunte | Matthew N. O. Sadiku | Janet O. Sadiku
Sustainable Energy by Paul A. Adekunte | Matthew N. O. Sadiku | Janet O. SadikuSustainable Energy by Paul A. Adekunte | Matthew N. O. Sadiku | Janet O. Sadiku
Sustainable Energy by Paul A. Adekunte | Matthew N. O. Sadiku | Janet O. Sadikuijtsrd
 
Concepts for Sudan Survey Act Implementations Executive Regulations and Stand...
Concepts for Sudan Survey Act Implementations Executive Regulations and Stand...Concepts for Sudan Survey Act Implementations Executive Regulations and Stand...
Concepts for Sudan Survey Act Implementations Executive Regulations and Stand...ijtsrd
 
Towards the Implementation of the Sudan Interpolated Geoid Model Khartoum Sta...
Towards the Implementation of the Sudan Interpolated Geoid Model Khartoum Sta...Towards the Implementation of the Sudan Interpolated Geoid Model Khartoum Sta...
Towards the Implementation of the Sudan Interpolated Geoid Model Khartoum Sta...ijtsrd
 
Activating Geospatial Information for Sudans Sustainable Investment Map
Activating Geospatial Information for Sudans Sustainable Investment MapActivating Geospatial Information for Sudans Sustainable Investment Map
Activating Geospatial Information for Sudans Sustainable Investment Mapijtsrd
 
Educational Unity Embracing Diversity for a Stronger Society
Educational Unity Embracing Diversity for a Stronger SocietyEducational Unity Embracing Diversity for a Stronger Society
Educational Unity Embracing Diversity for a Stronger Societyijtsrd
 
Integration of Indian Indigenous Knowledge System in Management Prospects and...
Integration of Indian Indigenous Knowledge System in Management Prospects and...Integration of Indian Indigenous Knowledge System in Management Prospects and...
Integration of Indian Indigenous Knowledge System in Management Prospects and...ijtsrd
 
DeepMask Transforming Face Mask Identification for Better Pandemic Control in...
DeepMask Transforming Face Mask Identification for Better Pandemic Control in...DeepMask Transforming Face Mask Identification for Better Pandemic Control in...
DeepMask Transforming Face Mask Identification for Better Pandemic Control in...ijtsrd
 
Streamlining Data Collection eCRF Design and Machine Learning
Streamlining Data Collection eCRF Design and Machine LearningStreamlining Data Collection eCRF Design and Machine Learning
Streamlining Data Collection eCRF Design and Machine Learningijtsrd
 

More from ijtsrd (20)

‘Six Sigma Technique’ A Journey Through its Implementation
‘Six Sigma Technique’ A Journey Through its Implementation‘Six Sigma Technique’ A Journey Through its Implementation
‘Six Sigma Technique’ A Journey Through its Implementation
 
Edge Computing in Space Enhancing Data Processing and Communication for Space...
Edge Computing in Space Enhancing Data Processing and Communication for Space...Edge Computing in Space Enhancing Data Processing and Communication for Space...
Edge Computing in Space Enhancing Data Processing and Communication for Space...
 
Dynamics of Communal Politics in 21st Century India Challenges and Prospects
Dynamics of Communal Politics in 21st Century India Challenges and ProspectsDynamics of Communal Politics in 21st Century India Challenges and Prospects
Dynamics of Communal Politics in 21st Century India Challenges and Prospects
 
Assess Perspective and Knowledge of Healthcare Providers Towards Elehealth in...
Assess Perspective and Knowledge of Healthcare Providers Towards Elehealth in...Assess Perspective and Knowledge of Healthcare Providers Towards Elehealth in...
Assess Perspective and Knowledge of Healthcare Providers Towards Elehealth in...
 
The Impact of Digital Media on the Decentralization of Power and the Erosion ...
The Impact of Digital Media on the Decentralization of Power and the Erosion ...The Impact of Digital Media on the Decentralization of Power and the Erosion ...
The Impact of Digital Media on the Decentralization of Power and the Erosion ...
 
Online Voices, Offline Impact Ambedkars Ideals and Socio Political Inclusion ...
Online Voices, Offline Impact Ambedkars Ideals and Socio Political Inclusion ...Online Voices, Offline Impact Ambedkars Ideals and Socio Political Inclusion ...
Online Voices, Offline Impact Ambedkars Ideals and Socio Political Inclusion ...
 
Problems and Challenges of Agro Entreprenurship A Study
Problems and Challenges of Agro Entreprenurship A StudyProblems and Challenges of Agro Entreprenurship A Study
Problems and Challenges of Agro Entreprenurship A Study
 
Comparative Analysis of Total Corporate Disclosure of Selected IT Companies o...
Comparative Analysis of Total Corporate Disclosure of Selected IT Companies o...Comparative Analysis of Total Corporate Disclosure of Selected IT Companies o...
Comparative Analysis of Total Corporate Disclosure of Selected IT Companies o...
 
The Impact of Educational Background and Professional Training on Human Right...
The Impact of Educational Background and Professional Training on Human Right...The Impact of Educational Background and Professional Training on Human Right...
The Impact of Educational Background and Professional Training on Human Right...
 
A Study on the Effective Teaching Learning Process in English Curriculum at t...
A Study on the Effective Teaching Learning Process in English Curriculum at t...A Study on the Effective Teaching Learning Process in English Curriculum at t...
A Study on the Effective Teaching Learning Process in English Curriculum at t...
 
The Role of Mentoring and Its Influence on the Effectiveness of the Teaching ...
The Role of Mentoring and Its Influence on the Effectiveness of the Teaching ...The Role of Mentoring and Its Influence on the Effectiveness of the Teaching ...
The Role of Mentoring and Its Influence on the Effectiveness of the Teaching ...
 
Design Simulation and Hardware Construction of an Arduino Microcontroller Bas...
Design Simulation and Hardware Construction of an Arduino Microcontroller Bas...Design Simulation and Hardware Construction of an Arduino Microcontroller Bas...
Design Simulation and Hardware Construction of an Arduino Microcontroller Bas...
 
Sustainable Energy by Paul A. Adekunte | Matthew N. O. Sadiku | Janet O. Sadiku
Sustainable Energy by Paul A. Adekunte | Matthew N. O. Sadiku | Janet O. SadikuSustainable Energy by Paul A. Adekunte | Matthew N. O. Sadiku | Janet O. Sadiku
Sustainable Energy by Paul A. Adekunte | Matthew N. O. Sadiku | Janet O. Sadiku
 
Concepts for Sudan Survey Act Implementations Executive Regulations and Stand...
Concepts for Sudan Survey Act Implementations Executive Regulations and Stand...Concepts for Sudan Survey Act Implementations Executive Regulations and Stand...
Concepts for Sudan Survey Act Implementations Executive Regulations and Stand...
 
Towards the Implementation of the Sudan Interpolated Geoid Model Khartoum Sta...
Towards the Implementation of the Sudan Interpolated Geoid Model Khartoum Sta...Towards the Implementation of the Sudan Interpolated Geoid Model Khartoum Sta...
Towards the Implementation of the Sudan Interpolated Geoid Model Khartoum Sta...
 
Activating Geospatial Information for Sudans Sustainable Investment Map
Activating Geospatial Information for Sudans Sustainable Investment MapActivating Geospatial Information for Sudans Sustainable Investment Map
Activating Geospatial Information for Sudans Sustainable Investment Map
 
Educational Unity Embracing Diversity for a Stronger Society
Educational Unity Embracing Diversity for a Stronger SocietyEducational Unity Embracing Diversity for a Stronger Society
Educational Unity Embracing Diversity for a Stronger Society
 
Integration of Indian Indigenous Knowledge System in Management Prospects and...
Integration of Indian Indigenous Knowledge System in Management Prospects and...Integration of Indian Indigenous Knowledge System in Management Prospects and...
Integration of Indian Indigenous Knowledge System in Management Prospects and...
 
DeepMask Transforming Face Mask Identification for Better Pandemic Control in...
DeepMask Transforming Face Mask Identification for Better Pandemic Control in...DeepMask Transforming Face Mask Identification for Better Pandemic Control in...
DeepMask Transforming Face Mask Identification for Better Pandemic Control in...
 
Streamlining Data Collection eCRF Design and Machine Learning
Streamlining Data Collection eCRF Design and Machine LearningStreamlining Data Collection eCRF Design and Machine Learning
Streamlining Data Collection eCRF Design and Machine Learning
 

Recently uploaded

MICROBIOLOGY biochemical test detailed.pptx
MICROBIOLOGY biochemical test detailed.pptxMICROBIOLOGY biochemical test detailed.pptx
MICROBIOLOGY biochemical test detailed.pptxabhijeetpadhi001
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPCeline George
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxEyham Joco
 
Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...jaredbarbolino94
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
Blooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docxBlooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docxUnboundStockton
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfSumit Tiwari
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxRaymartEstabillo3
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfMr Bounab Samir
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementmkooblal
 

Recently uploaded (20)

MICROBIOLOGY biochemical test detailed.pptx
MICROBIOLOGY biochemical test detailed.pptxMICROBIOLOGY biochemical test detailed.pptx
MICROBIOLOGY biochemical test detailed.pptx
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERP
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptx
 
Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
Blooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docxBlooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docx
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
 
OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of management
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 

PC-Based DC Motor Speed Control using PID

  • 1. International Journal of Trend in Scientific Research and Development (IJTSRD) Volume 3 Issue 5, August 2019 Available Online: www.ijtsrd.com e-ISSN: 2456 – 6470 @ IJTSRD | Unique Paper ID – IJTSRD27898 | Volume – 3 | Issue – 5 | July - August 2019 Page 2398 PC Based DC Motor Speed Control using PID for Laboratory Kyaw Zin Latt, Than Htike Aung, Zaw Min Min Htun Department of Electronic Engineering Mandalay, Technological University, Mandalay, Myanmar How to cite this paper: Kyaw Zin Latt | Than Htike Aung | Zaw Min Min Htun "PC Based DC Motor Speed Control using PID for Laboratory" Published in International Journal of Trend in Scientific Research and Development (ijtsrd), ISSN: 2456- 6470, Volume-3 | Issue-5, August 2019, pp.2398-2400, https://doi.org/10.31142/ijtsrd27898 Copyright © 2019 by author(s) and International Journal ofTrend inScientific Research and Development Journal. This is an Open Access article distributed under the terms of the Creative Commons Attribution License (CC BY 4.0) (http://creativecommons.org/licenses/by /4.0) ABSTRACT In this paper, PC based DC motor speed control using PID (proportional, Integral, derivative) control algorithm for laboratory. Arduino Uno microcontroller and L298N hybrid motor driver module are used to drive the dc motor. PID algorithm is uploaded to arduino and proportional gain (kp), Integral gain (ki), and derivative gain ( kd) can be set and tuned via windows form application in computer. This application is developed by using c# programming. The desired speed and PID gains are set by computer anddrive the DC motor. The speed of the motor can retrieve by using encoder which is included in DC motor. By using this work, student can learn how to controlthe speed of DC motor using PID controller and how to tune the gains. KEYWORDS: PID, C#, arduino uno, L298n, windows form application I. INTRODUCTION Nowadays, DC motors have been widely used in industry even though its maintenance costs are higher than the induction motor. A DC motor is any of a class of rotary electrical machines that converts directcurrent electricalenergy into mechanical energy. The most commontypes relyontheforces produced by magnetic fields. Nearly all types of DC motors have some internal mechanism, either electromechanical or electronics, to periodically change the direction of current flow in part of the motor. [1] The speed of the DC motor is controlled by using pulse width modulation (PWM), a technique of rapidly pulsingthe power on off. Arduino microcontroller is used to receive the data, revolution per minutes, proportionalgain,integralgain and derivative gain, from computer. Proportional-Integral Derivative (PID) controllershavebeenwidely usedforspeed and position control of DC motor [3]. The objective of this paper is to show that by employing the PID gains tuning system from graphical user interface (GUI) to get the optimization can be achieved [5]. The students can tune the PID gains from GUI. This GUI was developed by C# windows form application [4]. II. Operation Principle A. Operation Principle The overall block diagram is shown in Figure 1. The main objective of this work is to control DC motor using PID control algorithm and tune the PID gains from computer for laboratory. This training board consists of four components, computer, arduino, L298N hybrid motor driver and namiki DC motor. To control the speed of DC motor, student can start the motor by using computer and monitor the speed of motor from C# windows form application. And then, students can tune the PID gains from this form and test the response of speed of the DC motor. PID control algorithm is written in arduino Uno microcontroller and drive the DC motor by using L298N motor driver. From Graphical User Interface in computer set the gains and revolution per minute shown in Figure 2. Figure1. Overall design of PC based DC speed control Figure2. Experiment for DC motor speed control III. PROPORTIONAL-INTEGRAL-DERIVATIVE CONTROLLER A. Proportional response The proportional component depends only onthedifference between the set point and the process variable. This difference is referred to as the Error term. The proportional gain determines the ratio of output response to the error IJTSRD27898
  • 2. International Journal of Trend in Scientific Research and Development (IJTSRD) @ www.ijtsrd.com eISSN: 2456-6470 @ IJTSRD | Unique Paper ID – IJTSRD27898 | Volume – 3 | Issue – 5 | July - August 2019 Page 2399 signal. For instance, if the error term has a magnitude of 10, a proportional gain of 5 would produce a proportional response of 50. In general, increasing the proportional gain will increase the speed of the control system response. However, if the proportional gain is too large, the process variable will begin to oscillate. In contrast, a small gain results in a small output response to a large input error. 𝑃𝑜𝑢𝑡 = 𝑘𝑝 𝑒(𝑡) B. Integral Response The integral component sums the error term over time. The result is that even a small error term will cause the integral component to increase slowly. The integral response will continually increase over time unless the erroris zero,sothe effect is to drive the Steady-State error to zero. Steady-State error is the final difference betweentheprocess variable and set point. A phenomenon called integral windup results when integral action saturates a controller without the controller driving the error signal toward zero. 𝐼𝑜𝑢𝑡 = 𝑒(𝑡)𝑑𝑡 C. Derivative Response The derivative component causes the output to decrease if the process variable is increasing rapidly. The derivative response is proportional to the rate of change of the process variable. Increasing the derivative time parameterwill cause the control system to react more strongly to changes in the error term and will increase the speed of the overall control system response. Most practical control systems use very small derivative time, because the derivative response is highly sensitive to noise in the process variable signal. If the sensor feedback signal is noisy or if the control loop rate is too slow, the derivative response can make the control system unstable. The concept of PID controller isdepicted in Figure 3. 𝐷𝑜𝑢𝑡 = 𝑘𝑑 𝑑𝑒(𝑡) 𝑑𝑡 Figure3. PID controller IV. HARDWARE AND SOFTWARE COMPONENTS A. Arduino Uno Arduino is a microcontroller and open-sourceplatformused for building electronics projects. Arduino consists of both a physical programmable circuit boardanda pieceofsoftware component, or IDE (Integrated Development Environment) that runs on your computer, used to write and upload computer code to the physical board. The Arduino platform has become quite popular with people just starting out with electronics, and for good reason. Unlike most previous programmable circuit boards, the Arduino does not need a separate piece of hardware (called a programmer) in order to load new code onto the board you can simply use a USB cable. Additionally, the ArduinoIDEusesa simplifiedversion of C++, making it easier to learn to program. Finally,Arduino provides a standard formfactorthatbreaksout thefunctions of the micro-controller into a more accessible package. Figure6. Arduino Uno microcontroller B. L298N Dual H-Bridge Motor Driver This dual bidirectional motor driver, Figure 4, is based on the very popular L298 Dual H-Bridge Motor Driver Integrated Circuit. The circuit will allow to easily and independently control two motors of up to 2A each in both directions. It is ideal for robotic applications and well suited for connection to a microcontroller requiringjust acoupleof control lines per motor. It can also be interfaced with simple manual switches, TTL logic gates, relays, etc. This board equipped with power LED indicators, on-board +5V regulator and protection diodes. Figure4. L298N hybrid motor driver C. Namiki precision motor The 12V Namiki DC gear-motor shown in Fig. 5 is a powerful motor to drive the position control system. It comeswith the photoelectric encoder output and planetary gear ratio reduced by 80:1 gear. It can provide 120 rpm with the rated voltage of 12VDC [3]. To read the count values from the encoder, the user would check the condition of channel A and B rotation applying by experiment. For the rotor shaft count per revolution values, it is very important to multiply the gear ratio by count values. The specificationofthemotor is shown in Table 1.
  • 3. International Journal of Trend in Scientific Research and Development (IJTSRD) @ www.ijtsrd.com eISSN: 2456-6470 @ IJTSRD | Unique Paper ID – IJTSRD27898 | Volume – 3 | Issue – 5 | July - August 2019 Page 2400 Figure5. Namiki DC motor with encoder Table1. Specification of namiki motor Brand: Namiki Coreless Motor (Japan) Model: 22CL-3501PG Operating Voltage: 12VDC Rated power: 15W Stall torque: 16.5kg*cm Continuous torque: 5kg*cm Diameter: 22mm Shaft length: 19mm (with 90 degree double-cut) Length: 65mm (includes encoder gear box) Stall current: 1.8A Reduction ratio: 80:1(metal planetary reduction gear) Output speed: 120 RPM@12VDC D. C# programming Language C# is a hybrid of C and C++, it is a Microsoft programming language developed tocompletewithSun’s javalanguage. C# programming language, windows form applications, web applications and network application can be developed. In this work, windows form application was developed. C # is an object-oriented programming language used with web service on the .Net platform and designed for development of web application. C# boasts type-safety, interoperability, garbage collection, simplified type declarations, versioning and scalability support, and other features that make developing solutions faster and easier, especially for COM+ and Web services. Microsoft critics have pointed to the similarities betweenC# and Java. V. RESULTS Experiment for PC based DC motorspeed controlis shownin Figure 6. Desired revolution per minutes and respectivePID gains send to microcontroller and drive the motor. The actual revolution per minutes of DC motor can be calculated by using encoder pulses. This RPM is sent from microcontroller to PC via universal serial bus cable and display in GUI. Figure 6 shows the comparison of desired rpm and actual rpm graph. According to this figure, the speed of the DC motor with encoder can be control via computer by employing the gains of PID. Figure6. GUI for PC based DC motor speed control using PID VI. CONCLUSION PC based DC motor speed control using PID control algorithm was designed and implemented for laboratory. Student can control the speed of DC encoder motor andtune and the PID gains, kp, ki, kd from C# the windows form application. And then, the output RPM of DC motor can be monitored from PC. So, this work is effectiveand efficientfor the students. Teacher also can explain the PID algorithm using this training board. ACKNOWLEDGMENT I would like to express my gratitude to all the teachers from the department of Electronic Engineering, Mandalay Technological University for their suggestions. VII. REFERENCES [1] Liu Jiang-yi1, a, Sun Shu-ying2, “Design and Implementation of Servo Motor Speed Control SystemBased on STM32”, Applied Mechanics and Materials Vols. 427-429 (2013) pp 999-1002,2013 [2] Dinesh Bista,“ Understanding and Design of an Arduino-based PID Controller”, Virginia Commonwealth University, 2016 [3] https://www.aliexpress.com/item/32813911637.html [4] https://docs.microsoft.com/en- us/dotnet/csharp/programming-guide/ [5] Myo Maung Maung*, Maung Maung Latt**, Chaw Myat Nwe**,” DC Motor Angular Position Control using PID Controller with Friction Compensation”, International Journal of Scientific and ResearchPublications,Volume 8, Issue 11, 149 ISSN 2250-3153, November 2018