Design and Implementation of A Microcontroller Based Elevator Control Systems
Design and Implementation of A Microcontroller Based Elevator Control Systems
net/publication/285591712
CITATIONS READS
15 13,753
5 authors, including:
SEE PROFILE
All content following this page was uploaded by Muhibul Haque Bhuyan on 04 December 2015.
1
Muhibul Haque Bhuyan*, 2Md. Maidul Haque, 2M. Abdur Rauf
and 2Md. Mazharul Islam Khan
1
Department of Electrical and Electronic Engineering
Daffodil International University, Shukrabad, Dhaka, Bangladesh
2
Department of Electrical and Computer Engineering
Presidency University, Banani, Dhaka, Bangladesh
E-mail: [email protected], [email protected]
Abstract
In this paper, we have designed and implemented a prototype elevator and its control systems using a very
low cost microcontroller (PIC16F84) based circuit. Thus the conventional analog control circuit has been
replaced. The elevator is operated by using DC motors and gears along with timing belt. Forward and
reverse direction of motion of the DC motor is obtained by using a MOSFET bridge. An assembly language
program has to be developed for the microcontroller for implementing different logic operations, such as,
floor selection, sensor signal detection, alarm signal transmission and reception etc. Different mechanical
parts, such as, cabin, doors, gears, guide, timing belt etc. have also been designed for the prototype system.
Before implementation of the system, we have simulated the microcontroller based control circuit using
‘Proteus’ software. It was found that the simulation results are satisfactory and practical systems work very
well. We also expect that this will save our valuable foreign currency if we go for practical implementation.
*
Corresponding Author: Muhibul Haque Bhuyan,
E-mail: [email protected]
ISBN: 978-984-33-2140-4 Page 504
capture/compare/pulse width modulation (CCP)
channels. One microcontroller circuit produces the
required signals for controlling the levels and
another microcontroller produces the control
signals for the car. For each floor, one board is
needed and for car control each level requires one
such board.
3. SOFTWARE DEVELOPMENT
The program is developed for the microcontroller
using the MPLAB software in assembly language
and then debugged and edited as required. Finally
the hex codes are generated to be loaded into the
microcontroller by the TOP2049 Universal
Programmer using the TOPWIN software [8]. Fig. 3 Flow chart of the program for level board
MPLAB is an Integrated Development
Environment (IDE) tool for this task. The
architecture and flow chart of the developed
program are shown in Figs. 2-4. The clock
frequency used for this program is set at 4 MHz.
The program is written in assembly language. A
typical assembly language program consists of
assembler directives, sub-routines (if needed) and
the main program code.
Assembler directives are a collection of commands
that tell the assembler such things as the type of
microcontroller being used, its clock speed, etc.
They also allow names to be used for memory
locations, ports and registers for making the
program more readable [8].
In Figs. 3-4, we have shown two flow charts [9],
one for the level board microcontroller’s and the
other for the car board microcontroller’s. The flow Fig. 4 Flow chart of the program for car board
charts are self explanatory.
Page 505
4. SYSTEM DESCRIPTION Then we have to design the mechanical parts of the
system. Of them, the door control panel is shown in
At first, we develop the motor control circuit as Fig. 8. This is a wooden frame where different
shown in Fig. 5. This circuit uses opto-couplers and switch boards and LEDs are connected. The
relays to control the DC motor’s operation. The photograph of the complete system is shown in Fig.
circuit is designed in such a way so that the motor 9. It is a 3-storied prototype elevator model.
can be driven in forward or reverse direction.
5. CONCLUSIONS
Fig. 6 Sensor circuit diagram
In this work, we have designed and implemented a
prototype elevator and its control systems using a
very low cost microcontroller based circuit. Thus
the conventional analog control circuit has been
replaced. The elevator is operated by using DC
motors and gears along with timing belt. Forward
and reverse direction of motion of the DC motor is
obtained by using a MOSFET bridge. An assembly
language program has been developed for the
microcontroller for implementing different logic
operations. Different mechanical parts have also
been designed for the prototype system. Before
implementation of the system, we have simulated
the control circuit. It was found that the simulation
results are satisfactory and practical systems work
very well. We also expect that this will save our
valuable foreign currency if we go for practical
implementation. As future scopes, the main
controller can be re-designed in such a way so that
Fig. 6 Complete hardware circuit without
a three phase induction motor can be operated
microcontroller circuit
through a speed control circuit.
Page 506
REFERENCES Society, Dhaka, Bangladesh, 2-3 June 2010,
pp. 139-142.
1. http://en.wikipedia.org/wiki/Elevator. 5. Md. Lutfor Rahman and Muhibul Haque
2. Mahbubul Hoq, Yasmeen Mawla, Mohammod Bhuyan, “Linearization of Voltage-Controlled
A. S. Haque and Saleh M. Jahangir, “Design Oscillator by Microcontroller Based PLL
and Development of a Microcontroller Based Frequency Synthesizer,” Proceedings of the
Traffic Light Control System,” Proceedings of Conference on Engineering Research,
BES Conference, Dhaka, Bangladesh, April Innovation and Education (CERIE) held at
2003, pp. 122-126. Shahjalal University of Science and
3. Muhibul Haque Bhuyan, Md. Anayet Rabby, Technology, Sylhet, Bangladesh, 11-13
Md. Anwar Parvez and Md. Mostayanul Gofur, January 2011, accepted in this conference.
“Microcontroller Based Display System 6. Thomas E. Kissel, “Industrial Electronics –
Design using LED Array,” Proceedings of the Applications for Programmable Controllers,
Conference on Engineering Research, Instrumentation and Process Control, and
Innovation and Education (CERIE) held at Electrical Machines and Motor Controls,”
Shahjalal University of Science and Prentice-Hall of India Pvt. Ltd., 3rd Edition,
Technology, Sylhet, Bangladesh, 11-13 India, 2005.
January 2010, pp. 417-420. 7. Charles A. Schuler and William L. McNamee,
4. Muhibul Haque Bhuyan, Md. Anayet Rabby “Industrial Electronics and Robotics,”
and Md. Mostayanul Gofur Tarik, McGraw-Hill Book Co. International Edition,
“Microcontroller based Automatic Traffic Singapore, 1986.
Light Control System Design,” Proceedings of 8. Microchip Technology, Inc., USA, 2001,
the National Conference on Electronics and PIC16F877A Data Sheet,
Telecommunications for Digital Bangladesh www.microchip.com
organized by the Bangladesh Electronics 9. D. V. Hall, “Microprocessors and Interfacing:
Programming and Hardware,” McGraw-Hill
International, 1997.
Page 507