International Journal of Computer Science & Information Technology (IJCSIT) Vol 10, No 2, April 2018
PWM BASED ANDROID CONTROLLED
WHEELCHAIR
Tarun Debnath1, AFM Zainul Abadin2 and Md. Anwar Hossain3
Department of Information and Communication Engineering, Pabna University of
Science and Technology, Pabna, Bangladesh
ABSTRACT
Most of the physically disable individual satisfies their movement through motorized wheelchair. The
scenario is unusual for the disables of developing countries because of their economic conditions.
Moreover traditional powered wheelchair is not comfortable to all segments of the disable society because
of their complexity. Several researchers have used sophisticated technologies to operate wheelchair such
as voice controlled, head gesture controlled, remote controlled wheelchair for providing better flexibility.
For being sophisticated technology Android is being used in mobile, TV or in smart watches.An app with
mitigating required controlling facilities is implemented here that may provide a flexible movement of the
certain disable community. This paper focuses on the system of PWM based Android Controlled
Wheelchair.
KEYWORDS
Wheelchair, Microcontroller, Android phone, Bluetooth, Assistive Technologies and PWM.
1. INTRODUCTION
“World report on disability” and “World Health Organization (WHO)” say approximately 70
million people in the world are disabled [1].These large numbers of people depend entirely or
partly on different types of assistive technologies. The type of disability is not the same. So the
need for assistive technology will be different. Although the manual wheelchair is the most
common assistive technology for disabled person, which is used to improve the user's social
participation and personal mobility but the manual wheelchair is hard for running long-term
[2].Most wheelchair user claims that wheelchair is the main factor limiting their social
community participation [3].So the improvement of manual wheelchair to a motorized one may
reduce this limiting factor. If a sophisticated control technology is applied in motorized
wheelchairs, then the freedom of the disabled and the quality of life can be ensured. Generally
disabled people use joystick controllers to run motorized wheelchairs. A severely disabled person
may experience many problems using joystick controllers, because they may require smooth or
remote control[4]. Therefore, a PWM-based Android-controlled smart wheelchair can be a welldeveloped technology for those who have lost their dynamic power due to significant amount of
paralysis, accident or due to old age. Moreover, it is possible to replace the traditional joystick
controller by a PWM based Android controller for better flexibility.
Usually Android-based wheelchair is a device where DC motors and Android mobile applications
are used to control the wheelchair speed. The Wheelchair movement includes left, right, stop,
forward and reverse functionality [5].Where an Android operating wheelchair can give a specific
speed towards the forward, a PWM-based Android-controlled wheelchair can provide different
DOI:10.5121/ijcsit.2018.10205
57
International Journal of Computer Science & Information Technology (IJCSIT) Vol 10, No 2, April 2018
speeds for forward directions. The wheelchair operation involves two customized DC gear motor
of 180 RPM and separate motor driver module for each. A PIC16F877A microcontroller is
working as the processor or brain of the wheelchair. Data sharing between the Android device
and the control box is done through Bluetooth serial communication [6].HC-05 is being used for
reception of Bluetooth data and we programmed PIC microcontroller by embedded C
programming language.
2. HARDWARE INTERFACE METHODOLOGY
In terms of speed control, you can use a current limited resistor in series with DC motors, but this
mode of motion control leads to a lot of energy loss and produces plenty of heat. Using
microcontroller or by designing some specific system a practical implementation can be done to
solve this problem. The most common implementation technique at present is Pulse-Width
Modulation (PWM) [7] [8]. This technique offers energy efficiency, flexibility, control accuracy
and good dynamic responses of DC motor control. Following Figure1illustrates PWM scenario by
frequency and amplitude. Where the speed is controlled by duty cycle and the motor only runs for
“ON Time”.
Figure 1. Principle of Pulse Width Modulation (PWM)
Our research is based on a PWM controlled wheelchair. PWM stands for Pulse Width Modulation
technique. This technique can also be called as Pulse Duration Modulation (PDM). PWM is the
technique of getting analog results in digital means. A square wave generates through the process
by switching the voltage between 5v and 0v. The mathematical representation of the duty cycle is
given belowDuty cycle =
+
=
× 100%
× 100%
Where,
= Time period when the signal is high.
= Time period when the signal is low.
=
+
This technique is used for permissible power. Another factor is PWM frequency. It determines
how fast switching between high and low states. Some application uses this technique, where is
necessary to reduce power by balancing torque or intensity. Here we used this technique for
controlling the speed of our motor. Instead of fixed speed movement speed variation is done.
Here a full cycle means 100% PWM, where on time or 5 volt continues for full cycle. This on
time can also be termed as duty cycle. Similarly half duty cycle means 50% PWM. To get
variation in analog value we need to change the duty cycle [9]. Thus we accomplish the motor
control.
58
International Journal of Computerr S
Science & Information Technology (IJCSIT) Vol 10, Noo 2, April 2018
F
Figure
2.Block diagram of the system.
The above block diagram showss system architecture at a glance. An android app thr
hrough android
device is connected to HC-05 Bluetooth
B
module and the app transmits data stream
m to Bluetooth
module. The process uses Blueto
tooth communication. We choose this communication
ion protocol for
secure communication, low pow
wer consumption and android availability. The nextt block
b
follows
a PIC16F877A microcontroller.
r. Receiving the data from Bluetooth module and tr
translate those
data by switching are microcon
ontroller’s responsibility. So it is the brain of the sy
system. HC-05
Bluetooth shield and PIC microc
rocontroller require a power of Vcc that comes from
m main power
supply by a buck converter. Sinc
nce the 7805 and 7812 linear IC produces a lot of hea
eat, in this case
a buck converter will conserve
ve more energy. Another important processing sect
ction is PWM
system that includes an AVR
R (Automatic Voltage Regulator)and Motor drivers
ers. The AVR
provides required voltage to the MOSFET of two separate motor drivers through
gh timer. Later
sections will describe the whole
le circuit. Here, PIC switches the regulator in differen
ent position for
the generation of PWM and then
en the corresponding motor will start to run at the ddefined speed.
The only power supply of the whhole system is battery. These motors drive power fro
rom the battery
which is of 2pcs 12v and 30A/h.
h.
3. TRANSMITTING UNIT ARCHITECTURE
Figure 3.Flow
3
chart of Android Mobile Application.
Only the Android mobile applic
lication works as a transmitting and control device.
e. The Android
application uses the Android mo
obile phone to take full control of the wheelchair. Th
The application
59
International Journal of Computer Science & Information Technology (IJCSIT) Vol 10, No 2, April 2018
software is designed to be considered suitable for all versions of Android. For example,
Marshmallow, Kit Kat, Lollipop, Jelly Bean are different versions of Android. This mobile
application is designed in such a way that it can be run in any Android version. In the
transmission unit architecture, data is created by a flow chart and algorithm. The mobile
application controls an error handling process for raw data transmission. If there is a problem
connecting to the Android Bluetooth module, then the app will try it again as per user’s wish. If a
successful connection is established, the application will automatically be sent to the control
screen. Here the user will have two choice of SOS dial or main operation layout.
Figure 4. Android application layout.
A user can use “Go Back” option for SOS dial layout. SOS stands for Save Our Soul, which
generally implies instant contact at any emergency. In SOS dial layout he/she will find 3 buttons
for emergency dial. Here in controlling layout, for speed selection in forward he/she can choose
either button shown on right side. If necessary user can go left or right by using “Left Turn” of
“Right Turn” button. All the buttons shown in the layout are tap and hold type. This express, one
button will send a particular data as long as the user hold the area of the button on the screen. As
well as that button will send a different data when the user pull out his hand from that area. This
type of button has been chosen for smooth controlling mechanism and safety issue. In addition
user has an option to blow horn if required. So the app provides a horn blowing option. Here
different codes are assigned for different option. For example, FS, MF, MS & LO are assigned for
Faster speed, Medium fast, Medium slow and Slower speed respectively.
4. RECEIVING UNIT ARCHITECTURE
Table 1.Data represents corresponding functionality
Raw Data
System Function
FS
MF
MS
LO
L
R
H
Move at Faster Speed
Move at Medium Fast Speed
Move at Medium Slow Speed
Move at Lowest Speed
Turn Left
Turn Right
Horn
Left Motor
Rotation
CW
CW
CW
CW
CW
CCW
------
Right Motor
Rotation
CW
CW
CW
CW
CCW
CW
------
PWM
100%
80%
60%
40%
40%
40%
-----
.
Receiving unit architecture from the table can be interpreted. Columns three and four respectively
explain the direction of the rotation of the left and right motor. In addition, the corresponding
60
International Journal of Computer Science & Information Technology (IJCSIT) Vol 10, No 2, April 2018
PWM duties cycle has been shown. Here are some raw data which are predefined to Android by
coding. This information is adopted by the HC-05 Bluetooth Shield at the next processing stage.
Later, USART was established through a HR-05 and PIC 16F8777A.Bluetooth shield to PIC
microcontroller uses simplex communication protocol mode. At the next level, PIC understands
the microcontroller code and creates related ports for the corresponding PWM generation. These
PWM signal has been created by designing a corresponding circuit using NE-555 timer IC. PIC's
CCP module programming is another way to create PWM signals but we designed an electronics
circuit to avoid system risk and system's break down.
Figure 5.Receiving system unit.
From above circuit you can understand the pin defined for the left motor and right motor. The left
motor uses pin number 33 to 36 and the right motor uses pin number 37 to 40. Another pin is
allocated to switching a horn.
Figure 6.Single motor driver circuit diagram.
61
International Journal of Computerr S
Science & Information Technology (IJCSIT) Vol 10, Noo 2, April 2018
Figure 7.PWM
7
based android controlled wheelchair.
At the next level, motor driv
river circuits are followed, which are controlledd by the PIC
microcontroller activating the associated
as
pins. Here a 555 timer IC creates and co
controls PWM
signals. High current rated MOS
OSFET is driving the required current for the motor
tor. [10] In the
driver circuit a protection diodee is used with each motor in reverse biased. This is aalso called fly
back or spike suppressor diode.. When
W
current goes through an inductive component
nt like motor, a
voltage spike is created. A very
ry large negative spike is generated. The fly back dio
diode ensures a
safe path to discharge the negativ
tive voltage signal. As it controls reverse current flow
w in the circuit
and thus protect the electronics component
co
of the system.
5. RESULT AND DISCUSSIO
ION
After completing the research, we
w developed a PWM based android controlled whee
eelchair model.
Transmitting and receiving unit
its are working properly. To understand the perform
ormance of the
chair we can compare the system
tem with an android controlled wheelchair which is not based on
PWM [11]. We did the test too summarize the performance analysis. For this reas
eason, we have
tested our system on severall surfaces
s
and as a result of the data analysis, th
the following
performance curve is summarized
zed.
Figure 8.Performance analysis and
a comparison between android controller and PWM bas
ased android
controller.
The value of observation is com
omparing two systems based on KPI. The KPI (Keyy Performance
Indicator) indicates all parameter
ters should be above or equal to 8 out of 10. Severall disable
d
people
62
International Journal of Computer Science & Information Technology (IJCSIT) Vol 10, No 2, April 2018
has tested the model of our wheelchair. After experimental session they were given a choice form
to provide performance value. Finally the performance analysis curve is generated based on
climbing up slope, maximum speed, and minimum speed and for smooth controlling. Our
wheelchair shows a greater performance and each value is larger than the KPI. To move on a
down slope, the system shows a performance value which is below the KPI. We have used
manual break system to solve this issue. As a result the performance of moving on a slope to
downward becomes more smooth and comfortable. As a result, a PWM based android controlled
wheelchair can be more comfortable than an Android-controlled wheelchair [12]. Contrary to cost
analysis, the total cost of the system is approximately 440 USD, which is more economic than
any motorized wheelchair.
6. CONCLUSIONS
The disability cannot be explained in some words. This scenario becomes more pathetic for the
disables of a developing country, because of their poverty. In some cases, they cannot even think
of buying a powered motor driven wheelchair. To reduce these all sufferings we have worked on
the entitled research. Our main goal was to design a new control technology and develop a new
cost-saving motorized wheelchair for the disabled. Through this paper we have explained, the
whole control technology and the system mechanism from top to bottom. All mechanisms have
been explained clearly from transmitting unit to receiving unit. In summarize, transmitting unit
produces controlling data by algorithm. Receiving section generates PWM to run the motor.
PWM-based wheelchairs provide more flexibility than an Android-controlled wheelchair. To
improve the quality, we've used stainless steel materials, solid rear tire and DC customized gear
motors. In addition, the mobile-based wireless controller system provides remote control
facilities. The future speed-based or accelerometer sensor-based wheelchair design can be
redesigned, because such a sensor is a common part of Android mobile. This feature can improve
the quality of the system without any cost.
ACKNOWLEDGEMENTS
The authors thank everyone for supporting in the entitled research.
REFERENCES
[1]
Rajesh Kannan Megalingam, Ramesh Nammily Nair &Sai Manoj Prakhya, (2011) “Automated Voice
based Home Navigation System for the Elderly and the Physically Challenged”, Feb.
13~16,ICACT2011, pp603-608.
[2]
L.H.V. Van der Woude, A.J. Dallmeijer, T.W.J. Janssen & D. Veeger, (2001) “Alternative modes of
manual wheelchair ambulation: An overview”, American Journal of Physical Medicine and
Rehabilitation, Vol. 80, pp765-777.
[3]
E.S. Chaves, M.L. Boninger, R. Cooper, S.G. Fitzgerald, D.B. Gray& R.A. Cooper, (2004)
“Assessing the influence of wheelchair technology on perception of participation in spinal cord
injury”,Archives of Physical Medicine Rehabilitation, Vol. 85, pp1854-1858.
[4]
S.P. Levine, D.A. Bell, L.A. Jaros, R.C. Simpson, Y. Koren& J. Borenstein, (1999) “The NavChair
assistive wheelchair navigation system”, IEEE Transactions on Rehabilitation Engineering, Vol. 7,
No. 4, pp443-451.
[5]
K. A. A. Aziz, M. H. Mustafa, N. M. Z. Hashim, N. R. M. Nuri, A. F. Kadmin& A. Salleh, (2015)
“Smart Android Wheelchair Controller Design”, International Journal for Advance Research in
Engineering and Technology, Vol. 3, No. 5.
63
International Journal of Computer Science & Information Technology (IJCSIT) Vol 10, No 2, April 2018
[6]
Jaya Bharathi, Chintalapatil & SrinivasaRao T.Y.S, (2012) “Remote computer access through
Android mobiles”, IJCSI International Journal of Computer Science, Vol. 9, No. 5, pp363-369.
[7]
A.K. Dewangan, N. Chakraborty, S. Shukla&V. Yadu, (2012) “PWM Based Automatic Closed Loop
Speed Control of DC Motor”,International Journal of Engineering Trends and Technology, Vol.
31,No. 2, pp110-112.
[8]
S.D. Barman, A. Hussain& T. Ahmed, (2012) Speed Control of DC Motor Using PWM Technique:
Pulse Width Modulated DC Motor Control, LAP Lambert Academic Publishing.
[9]
Khan MasoomRaza, Mohd. Kamil&Pushpendra Kumar, (2016) “Speed control of Dc Motor by using
PWM”, IJARCCE International journal of Advanced Research in Computer and Communication
Engineering, Vol. 5, No. 4.
[10] N. Bagyalakshmi& R. Abinaya, (2016) “Speed and Direction Control of DC Motor Without using
Microcontroller”, International Journal of Advanced Research in Electrical, Electronics and
Instrumentation Engineering, Vol. 5, No. 1.
[11] TarunDebnath, AFM ZainulAbadin& Md. Anwar Hossain, (2018) “Android Controlled Smart
Wheelchair for Disabilities”, Global Journal of Computer Science and Technology, Vol. 18, No.1.
[12] Deepak Kumar Lodhi, Prakshi Vats, AddalaVarun, Pashant Solanki, Ritakshi Gupta, Monoj Kumar
Pandey & RajatButola (2016) “Smart Electronic Wheelchair Using Arduino and Bluetooth Module”,
international Journal of Computer Science and Mobile Computing, Vol. 5, No. 5, pp 433-438.
64