BE Project Template Dec 18
BE Project Template Dec 18
Submitted by,
Ajit Kumar (BETA011)
Dhira Negi (BETA048)
Pradnya Kadam (BETA057)
Guided by,
Bhairavi N. Savant
BACHELOR OF ENGINEERING in
2018 – 19
Department of E&TC Engg.
Advancing Humanity through Technology
Alandi (D), Pune – 412105, INDIA (Accredited by NBA, ISO 9001:2008 Certified)
CERTIFICATE
The said work is completed by putting the required number of hours as per pre-
scribed curriculum during the academic year 2018 – 19. The report is submitted in
partial fulfillment of the requirements for seventh semester of the Degree of Bachelor
of Engineering in Electronics & Telecommunication Engg. of Savitribai Phule Pune
University
External Examiner
Abstract
This report presents the conceptual design for controlling the position and speed of a
DC motor. This is achieved by implementing the PID control theory. We are trying
to build a control system platform where engineering students and professionals can
experiment and do research of their control theory applications. Our motivation for
this design is the SRV02 Rotary Servo plant from QUANSER. We are implementing
this concept using NI myRIO-1900 controller from National Instruments and the
software that is interfaced with this controller is LabVIEW 2014. The speed and
position of the DC motor are analysed using this LabVIEW software, and the results
are verified.
iii
Acknowledgment
We would like to thank every single person who helped us throughout the journey
of our project. Starting with respected Head Of ETC Department Mr Sandip S.
Lokhande who always tried to encourage and motivate us to gain practical knowl-
edge. We would also acknowledge the efforts put by our Project guide Mr Aniket D.
Gundecha for helping us in every sense throughout the process of completion of the
project and would also not forget to mention our project coordinator Mr Prashant
K. Aher for guiding us right from starting of our project. Special thanks to Mr
Shailesh Shinde for providing your valuable time for solving any technical and also
non-technical issues we encountered in the process. We really appreciate the efforts
put by each one of you. We have gained a lot of theoretical and moreover practical
knowledge in this journey. This project will always be in our heart. We also appre-
ciate the valuable inputs given by our senior friends regarding the issues we came
across.
On a final note, we would like to present the following report of our completed
project.
Vedant Joshi
iv
Contents
Abstract iii
Acknowledgement iv
1 Introduction 1
1.1 Concept . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Appendices 3
A Laplace Transform 4
B Partial Fractions 6
C Matrix Algebra 7
v
List of Figures
vi
List of Tables
vii
Chapter 1
Introduction
1.1 Concept
This report presents the concept and design for controlling the position and speed
of DC motor with the help of LabVIEW software interfaced with NI myRIO-1900
controller and by implementing PID control theory. The DC motor is a permanent
magnet DC motor. The motor also has an built in QUAD encoder attached having
2000 PPR(Pulses Per Revolution) of resolution. We have used DC motor replacing
servo motor or stepper motor for high accuracy and speed. We achieve the position
control of the motor by matching the encoder values and the desired angle in degrees.
We have designed a Virtual Interface (VI) in the LabVIEW software which converts
the encoder values to angle in degrees and then compares to the desired angle set via
a gauge and then verifies it. The speed is measured by analyzing the rate at which
encoder produces pulses and then converting this rate of change to speed in RPM
unit. We control the speed of the motor using PID controller designed in the VI of
the LabVIEW software.
This project is further used in various control engineering applications and also for
research purposes [1].
1
Figure 1.1: Quanser SRV02 Base Unit
The SRV02 Servo Base Unit from QUANSER is a servo-mechanism system. This
module can be used to research and study various control problems such as inverted
pendulum, flexible link, 2DOF system, Ball and Beam mechanism, etc. This is the
fundamental unit for Quanser’s Rotary Control experiments. Rotary Servo Base
Unit covers three main labs: Modelling, Position Control, and Speed Control,[2].
The SRV02 has 3 sensors for this; potentiometer, encoder and tachometer to measure
position and speed of the motor.
2
Appendices
3
Appendix A
Laplace Transform
The Laplace transform method is an operational method that can be used for solv-
ing linear differential equations. Laplace transforms can be used to convert many
common functions, such as sinusoidal functions, damped sinusoidal functions, expo-
nential functions, into algebraic functions of a complex variable s. Operations such
as differentiation and integration can be replaced by algebraic operations in the com-
plex plane. Thus, a linear differential equation can be transformed into an algebraic
equation in a complex variable s. If the algebraic equation in s is solved for the
dependent variable, then the solution of differential equation (the inverse Laplace
transform of the dependent variable) may be found.
An advantage of the Laplace transform method is that, when the differential equation
is solved, both the transient component and steady-state component of the solution
can be obtained simultaneously.
4
Laplace Transform Pairs
1
δ(t) 1 (step) 1
s
1 t2 1
(ramp) t (parabola)
s2 2 s3
n! 1
tn e−at
sn+1 s+a
1 n!
t e−at tn e−at
(s + a)2 (s + a)n+1
ω s
sin ωt cos ωt
s2 + ω2 s2 + ω2
ω s
e−at sin ωt e−at cos ωt
(s + a)2 + ω 2 (s + a)2 + ω 2
1 1 1 s
e−at − e−bt b e−bt − a e−at
b−a (s + a) (s + b) b−a (s + a) (s + b)
1 1
1 − e−at
a s (s + a)
5
Appendix B
Partial Fractions
6
Appendix C
Matrix Algebra