Overview of Speed Control of A DC Motor Using Android
Overview of Speed Control of A DC Motor Using Android
ABSTRACT
The Android-is the most popular mobile platform, which is very useful in
creating much real time application which is useful in our day to day life.
The DC motors are widely used for variable speed drive system in industrial
receiver interfaced to Arduino which send data to the Bluetooth module and
COVER PAGE
TITLE PAGE
APPROVAL PAGE
DEDICATION
ACKNOWELDGEMENT
ABSTRACT
CHAPTER ONE
INTRODUCTION
CHAPTER TWO
LITERATURE REVIEW
CHAPTER THREE
METHODOLOGY
CHAPTER FOUR
4.6 TESTING
CHAPTER FIVE
5.1 CONCLUSION
5.2 RECOMMENDATION
5.3 REFERENCES
CHAPTER ONE
1.0 INTRODUCTION
application, with the help of Bluetooth technology. Smart phones have in-
application. So, according to the input signal, with the help of arduino,
MOSFET can be used to vary the voltage as well as the speed of the DC motor
using PWM technique. Direction of the DC motor can also be varied with the
The main aim of this work is to design a device that controls the speed of a DC
5. Programming is simpler.
1. Usage of Bluetooth module makes the usage only within a short range.
3. Intensity of light can also be controlled with the help of android app.
the DC motor in both clockwise and anticlockwise direction. For this DC motor is
received by the Bluetooth modem which then sends the commands to the
The various stages involved in the development of this project have been properly
put into five chapters to enhance comprehensive and concise reading. In this
discussed.
Chapter two is on literature review of the study. In this chapter, all the literature
Chapter three is on design methodology. In this chapter all the method involved
Chapter four is on testing analysis. All testing that result accurate functionality
was analyzed.
current electrical energy into mechanical energy. The most common types rely on
the forces produced by magnetic fields. Nearly all types of DC motors have some
DC motors were the first type widely used, since they could be powered from
can be controlled over a wide range, using either a variable supply voltage or by
changing the strength of current in its field windings. Small DC motors are used in
tools, toys, and appliances. The universal motor can operate on direct current but
is a lightweight motor used for portable power tools and appliances. Larger DC
motors are used in propulsion of electric vehicles, elevator and hoists, or in drives
for steel rolling mills. The advent of power electronics has made replacement of
Electromagnetic motors
aligned with the center of the coil. The direction and magnitude of the magnetic
field produced by the coil can be changed with the direction and magnitude of the
A simple DC motor has a stationary set of magnets in the stator and an armature
with one or more windings of insulated wire wrapped around a soft iron core that
concentrates the magnetic field. The windings usually have multiple turns around
the core, and in large motors there can be several parallel current paths. The ends
of the wire winding are connected to a commutator. The commutator allows each
armature coil to be energized in turn and connects the rotating coils with the
external power supply through brushes. The total amount of current sent to the
coil, the coil's size and what it's wrapped around dictate the strength of the
The sequence of turning a particular coil on or off dictates what direction the
in the stationary part of the motor (stator) to create a force on the armature
which causes it to rotate. In some DC motor designs the stator fields use
electromagnets to create their magnetic fields which allow greater control over
the motor.
At high power levels, DC motors are almost always cooled using forced air.
Different number of stator and armature fields as well as how they are connected
DC motor can be controlled by changing the voltage applied to the armature. The
systems which adjust the voltage by "chopping" the DC current into on and off
Since the series-wound DC motor develops its highest torque at low speed, it is
often used in traction applications such as electric locomotives, and trams. The DC
motor was the mainstay of electric traction drives on both electric and diesel-
electric locomotives, street-cars/trams and diesel electric drilling rigs for many
years. The introduction of DC motors and an electrical grid system to run
motors can operate directly from rechargeable batteries, providing the motive
power for the first electric vehicles and today's hybrid cars and electric cars as
well as driving a host of cordless tools. Today DC motors are still found in
applications as small as toys and disk drives, or in large sizes to operate steel
rolling mills and paper machines. Large DC motors with separately excited fields
were generally used with winder drives for mine hoists, for high torque as well as
smooth speed control using thyristor drives. These are now replaced with large
dynamo. This feature is used to slow down and recharge batteries on hybrid car
and electric cars or to return electricity back to the electric grid used on a street
car or electric powered train line when they slow down. This process is called
they also use their DC motors as generators to slow down but dissipate the
energy in resistor stacks. Newer designs are adding large battery packs to
the green arrow), and thus the output torque,is a function for rotor angle, leading
commutator consists of a split ring, so that the current reverses each half turn
( 180 degrees).
The brushed DC electric motor generates torque directly from DC power supplied
Advantages of a brushed DC motor include low initial cost, high reliability, and
simple control of motor speed. Disadvantages are high maintenance and low life-
span for high intensity uses. Maintenance involves regularly replacing the carbon
brushes and springs which carry the electric current, as well as cleaning or
Brushes are usually made of graphite or carbon, sometimes with added dispersed
copper to improve conductivity. In use, the soft brush material wears to fit the
diameter of the commutator, and continues to wear. A brush holder has a spring
more than an ampere or two, a flying lead will be molded into the brush and
connected to the motor terminals. Very small brushes may rely on sliding contact
with a metal brush holder to carry current into the brush, or may rely on a contact
spring pressing on the end of the brush. Very small short-lived motors, such as are
used in toys, may be made of a folded strip of metal that contacts the
commutator.
Brushless
Typical brushless DC motors use one or more permanent magnets in the rotor
and electromagnets on the motor housing for the stator. A motor controller
the motor to the spinning rotor. The motor controller can sense the rotor's
position via Hall effect sensors or similar devices and can precisely control the
timing, phase, etc., of the current in the rotor coils to optimize torque, conserve
power, regulate speed, and even apply some braking. Advantages of brushless
motors include long life span, little or no maintenance, and high efficiency.
Disadvantages include high initial cost, and more complicated motor speed
Uncommutated
Homopolar motor – A homopolar motor has a magnetic field along the axis of
rotation and an electric current that at some point is not parallel to the
magnetic field. The name homopolar refers to the absence of polarity change.
very low voltages. This has restricted the practical application of this type of
motor.
Ball bearing motor – A ball bearing motor is an unusual electric motor that
consists of two ball bearing-type bearings, with the inner races mounted on
outer races inside a metal tube, while the inner races are mounted on a
This method has the advantage that the tube will act as a flywheel. The
A PM motor does not have a field winding on the stator frame, instead relying on
PMs to provide the magnetic field against which the rotor field interacts to
produce torque. Compensating windings in series with the armature may be used
on large motors to improve commutation under load. Because this field is fixed, it
miniature motors to eliminate the power consumption of the field winding. Most
larger DC motors are of the "dynamo" type, which have stator windings.
Historically, PMs could not be made to retain high flux if they were disassembled;
field windings were more practical to obtain the needed amount of flux. However,
large PMs are costly, as well as dangerous and difficult to assemble; this favors
To minimize overall weight and size, miniature PM motors may use high energy
magnets made with neodymium or other strategic elements; most such are
with high-energy PMs are at least competitive with all optimally designed singly
fed synchronous and induction electric machines. Miniature motors resemble the
structure in the illustration, except that they have at least three rotor poles (to
ensure starting, regardless of rotor position) and their outer housing is a steel
tube that magnetically links the exteriors of the curved field magnets.
Wound stators
There are three types of electrical connections between the stator and rotor
A series DC motor connects the armature and field windings in series with a
common D.C. power source. The motor speed varies as a non-linear function of
load torque and armature current; current is common to both the stator and
rotor yielding current squared (I^2) behavior. A series motor has very high
starting torque and is commonly used for starting high inertia loads, such as
applications such as dragline excavators, where the digging tool moves rapidly
the series motor, the current is low, the counter-EMF produced by the field
winding is weak, and so the armature must turn faster to produce sufficient
Series motors called universal motors can be used on alternating current. Since
the armature voltage and the field direction reverse at the same time, torque
making them lighter than induction motors of the same rated mechanical output.
This is a valuable characteristic for hand-held power tools. Universal motors for
commercial utility are usually of small capacity, not more than about 1 kW
output. However, much larger universal motors were used for electric
Shunt connection
A shunt DC motor connects the armature and field windings in parallel or shunt
with a common D.C. power source. This type of motor has good speed regulation
even as the load varies, but does not have the starting torque of a series DC
Compound connection
A compound DC motor connects the armature and fields windings in a shunt and
field to aid the shunt field, which provides higher starting torque but less speed
regulation. Differential compound DC motors have good speed regulation and are
Direct current motor works on the principal, when a current carrying conductor is
reversed, the direction of rotation also reverses. When magnetic field and electric
field interact they produce a mechanical force, and based on that the working
The direction of rotation of a this motor is given by Fleming’s left hand rule, which
states that if the index finger, middle finger and thumb of your left hand are
extended mutually perpendicular to each other and if the index finger represents
the direction of magnetic field, middle finger indicates the direction of current,
then the thumb represents the direction in which force is experienced by the
supply electrical energy to the input port and derive mechanical energy from the
Here in a DC motor, the supply voltage E and current I is given to the electrical
port or the input port and we derive the mechanical output i.e. torque T and
The input and output port variables of the direct current motor are related by the
The direct current motor is represented by the circle in the center, on which is
mounted the brushes, where we connect the external terminals, from where
supply voltage is given. On the mechanical terminal we have a shaft coming out of
the Motor, and connected to the armature, and the armature-shaft is coupled to
resistance Ra in series. Now, let the input voltage E, is applied across the brushes.
Electric current which flows through the rotor armature via brushes, in presence
of the magnetic field, produces a torque T g. Due to this torque T g the dc motor
armature rotates. As the armature conductors are carrying currents and the
armature rotates inside the stator magnetic field, it also produces an emf E b in the
opposite to the supplied voltage and is known as the back Emf, as it counters the
forward voltage.
Where, P = no of poles
Z= No. of conductors
However, from the above equation we can see E b is proportional to speed ‘N’.
proportional to ω. So, when the speed of the motor is reduced by the application
of load, Eb decreases. Thus the voltage difference between supply voltage and
back emf increases that means E − Eb increases. Due to this increased voltage
difference, armature current will increase and therefore torque and hence speed
variable load.
0 so at starting Eb = 0.
Now since the armature winding electrical resistance Ra is small, this motor has a
very high starting current in the absence of back Emf. As a result we need to use a
starter for starting a DC Motor. Now as the motor continues to rotate, the back
Emf starts being generated and gradually the current decreases as the motor
picks up speed.
The Android operating system works based on Linux, it is designed primarily for
touchscreen mobile devices such as smart phones and tablet computers. One of the
most widely used mobile OS these days is Android. The android is software that
advanced for the users. The hardware that supports android software is based on
The android is an open source operating system means that it’s free and any one
can use it. The android has got millions of apps available that can help you manage
your life one or other way and it is available at low cost in the market at that
3.0 METHODOLOGY
Before carrying out any project, the block diagram must be drawn and fully
understood. Block diagram gives a pictorial understanding of any work. The block
Figure.1.Block Diagram
Arduino UNO
Bluetooth Module
DC motor
ARDUINO UNO
digital input/output pins (of which 6 can be used as PWM outputs), 6 analog
header and a reset button. The ATmega328 on the Uno comes preprogrammed
with a boot loader that allows you to upload new code to it without the use of
BLUETOOTH MODULE
work mode and automatic connection work mode. And there are three work
roles at the automatic connection work mode. When the module is at the
automatic connection work mode, it will follow the default way set lastly to
transmit the data automatically. When the module is at the order- response
work mode, user can send the AT command to the module to set the control
parameters and sent control order. The work mode of this Module can be
switched by controlling the module PIN (PIO11) input level. In this project
DC MOTOR
an electric motor. Electrical machines are used for the converting energy.
Motors take electrical energy and produce mechanical energy. Electric motor is
Signal from Android device will be sent through Bluetooth. This signal will be
communicated with arduino with the help of transmitter and receiver of both
the devices. This signal will be represented by a single letter which denotes the
speed and direction of the motor. There are three different direction of
rotation: clockwise, anti-clockwise and stopping of the motor and these will be
represented by different letters. This letter will vary the speed with reference to
the arduino code. For forward direction the transistor Q1 and Q4 will be ON
and for the reverse direction Q2 and Q3 will ON. Q1 and Q2 are PNP
transistors which becomes ON when low signal is sent and Q3 and Q4 are
NPN transistors which becomes ON when high signal. PWM pins 5 and 6 are
used to control the speed of the in both directions, they use the concept of
The android application in the mobile phone is developed with the help of
tool , the on Grad le is based. The system gives the developer the
Google services like Google Cloud Messaging within the IDE and apply it
directly to the app. Support for Pro Guard and automatic app signing The
source code of Android Studio is freely available.
from LM78XX series. Circuit diagram of 12v regulated power supply is shown
below:
Fig: 12V power supply circuit diagram
transformer) is used to covert 230V to 12V from mains. Here used a bridge
capacitor 1000uF,25V is used to reduce the ripple and get a smooth DC voltage.
This circuit is very easy to build. For good performance input voltage should be
greater than 12Volt in pin-1 of IC LM7812. Use a heat sink to IC LM7812 for
ii. Resistance check of the components bought with the help of ohmmeter
components.
iv. Testing the completed system to see if the design works and
Having procured all the materials, I processed into the arrangement of the
components into the Vero board but we could not laid the processor directly on
the bread board because the heat soldering iron emits while soldering, proper
soldering of the components then followed. The components were all soldered
All the components were soldered onto the Vero Board. Then after that, a case
was gotten where the entire circuit was mounted follow by other external
Having provided the casing and having finished the construction of the sections of
this system, the assembling into the casing followed. The sections were properly
laid out and assembled into the casing where the general coupling and linkages
Finally; the indicator was brought out to indicate when the system is powered.
Switch was brought out for powering the system and selecting of the speed of the
motor is done by the potentiometer, and was also brought out of the casing
4.4 PACKAGING
This is a very important aspect of the design work. It is the appearance given to the
final work. After soldering on the vero board, we do not leave the work like that; it
A portable wooden casing covered with leather was used in packaging the work.
The wooden case retain the heat generated by the bulls since wood is a poor
conductor of heat and electricity. The dimension and design of the box was
arrived at after considering various factors such as the width and length of the
vero board
The vero board and the transformer are held firmly by bolts and nuts.
The transformer was bolted directly to the bottom of the case. This was followed
by mounting of the power section of the circuit board. A gap was made between
one mounting and the successive ones. This is necessary to avoid over crowding.
The vero board is also mounted at the upper side of the case. The resistors,
transistors, and other components used were mounted on the vero board. All the
accessories were highly fixed to avoid slack that may result in the process of
operations
4.6 TESTING
Testing is one of the important stages in the development of any new product or
work, especially when the work to be tested is too complex. For the purpose of
i. Pre-implementation testing
ii. Post-implementation testing.
It is carried out on the components before they are soldered to the veroboard.
This is to ensure that each component is in good working condition before they
are finally soldered to the board. The components used in this design are grouped
into two.
Etc.
The discrete components are tested with a millimeter by switching the meter to
the required value and range corresponding to each discrete component to check
for continuity.
After implementing the circuit on a project board, the different sections of the
complete system were tested to ensure that they were in good operating
condition. The continuity test carried out is to ensure that the circuit or
components are properly linked together. This test was carried out before power
was supplied to the circuit. Finally, after troubleshooting has been done on the
whole circuit, power was supplied to the circuit. Visual troubleshooting was also
carried out at this stage to ensure that the components do not burn out.
operation regarding to the front and back movement and different speed were
also selected.
CHAPTER FIVE
5.1 CONCLUSION
Thus the speed and direction control of the DC motor is achieved with the
1. In future, apart from controlling the speed and direction of DC motors, the
5.3 REFERENCE
2 April-2016.