SlideShare a Scribd company logo
1 of 3
Download to read offline
Microcontroller Based Real Time Sequential
Starting System
Isheanesu Chitsvare, B.Tech (Hons) Electronic Engineering
Harare Institute of Technology
May 2014
ichitsvare@gmail.com
Abstract - The microcontroller based sequential
starter was developed in this project. It is a project
that controls the start and stop times of AC motors
using real time clock. The project consist of DS1307
real time clock, a computer and LCD all interfaced to
PIC18F452 microcontroller. The project also uses a
USB to RS232 convertor to cater laptops that do not
have RS232 ports. A windows user application was
developed on Microsoft Visual Studio software using
C# programming language. This application enabled
the user to enter different start and stop times of the
AC loads. The windows application communicates
with the microcontroller through standard PC serial
port. The microcontroller receives input t from the
computer and executes the sequence of start-up and
shutdown time. During execution the microcontroller
compares the entered time from the computer with
that of the DS1307 running real time clock. If the any
of the entered times matches the time on the real time
clock the microcontroller executes as per set
instruction. The DS1307 was interfaced to the
microcontroller using the I2C communication
protocol. The microcontroller program was developed
using MikroC for PIC IDE. This project was designed
to control the start and stop time of three AC motors.
Single phase AC motors were used for demonstrations
and were interfaced to the microcontroller using solid
state relays. The results of this project came out as per
expectations implying that the motors were turned on
and off using the entered time from the computer.
Index terms: C#, microcontroller, real time clock
I. INTRODUCTION
Due to great reliance on technology, automation
has become of greater need in manufacturing industries.
Automation has taken the lead in production industries. In
today’s competitive industry marketplace, the companies
face growing demands to improve production time,
process efficiencies and meet corporate financial
objectives. Given the increasing age of many industrial
systems and the dynamic industrial manufacturing
market, intelligent and low-cost industrial automation
systems are required to improve the productivity and
efficiency of such systems (Gungor and Hancke, 2009).
Manufacturing has been evolving over the years as
different needs and technologies arise. The customer of
the twenty-first century, demands products and services
that are fast, right, cheap and easy (Dangayach and
Deshmukh, 2001). The changes in manufacturing systems
and industrial structure brought about by the development
of new, computer-based flexible technologies (Taymaz,
1990).
Automation plays an increasingly important
role in the global economy and in daily experience.
Engineers strive to combine automated devices with
mathematical and organizational tools to create complex
systems for a rapidly expanding range of applications and
human activities. Some advantages are repeatability,
tighter quality control, and waste reduction, integration
with business systems, increased productivity and
reduction of labour. Some disadvantages are high initial
costs and increased dependence on maintenance.
A major benefit of industrial automation
technology is the latest fieldbus developments. The most
popular protocols are Device Net, Provirus and Asia and
the emerging Industrial Ethernet. Implementation of
industrial automation provides capital expenditure
savings associated with cable elimination (multiple
devices share wire-pairs and communicate over the bus
network) and other savings are also available through
speedier commissioning. A major advantage of industrial
automation and process control is the increased emphasis
on flexibility and convertibility in the manufacturing
process. Manufacturers are increasingly demanding the
ability to easily switch from manufacturing a wide range
of products without having to completely rebuild the
production lines.
In Zimbabwe, automation is now expanding
into small and medium enterprises. Mostly in industries
automation is appreciated through PLCs, but the
production processes in these small/light industries do not
require huge expensive control units. But require simple,
cheap automation through use of microcontrollers and
computers. Most devices are now computer operated and
the user can input commands to control other devices.
Due to this lack of automation much human error is seen.
This project incorporates real time operation and serial
interface were the operator inputs start time and stop time
of the electrical machines via the computer.
II. SYSTEM DESCRIPTION
This project was aimed at designing and building a
Microcontroller based real time sequential starting system
to control AC loads. An operator will be able to input turn
on and turn off times of Ac motors using a computer. The
AC motors were connected to the microcontroller via
solid state relays. This system therefore gives the operator
the flexibility of controlling the sequence of turn on and
turn off times using a computer without physically
switching machines one by one which can be a tedious
task for a big plant. A windows interface application was
written in C# and can be installed on any computer which
can run visual studio programs. This interface
communicates with the serial ports of the computer. This
will then involve serial communication of the computer
and the microcontroller unit. The system also uses a USB
to RS232 converter. This converter uses the USB port to
communicate with a virtual serial communication port
created by the software which runs the converter.
Through this converter, data will be sent serially to the
microcontroller, which then configures the motors
according to the sequence set. The program loaded on the
microcontroller will determine which pin to send a high
or low signal to and thus turn on or off the desired motor.
The system is also able to correct the real time to match
the time on the computer. After configuring the sequence,
the microcontroller will perform the sequences and wait
for the user to set another sequence. Also during the
execution the sequence can altered. The prototype was
designed to control the sequence of three AC motors.
III. SYSTEM IMPLEMENTATION
i. The Windows Application.
The windows application was designed to run on any
windows operated computer. The application operates in
different modes: the normal mode and the time
modification mode. The application uses commands to
enter into different modes: s to set the sequence and q to
modify the time. The application was designed to operate
on a specific COM port with set parameters such as baud
rate, stop bits etc...
Hardware and software implementation.
Both the microcontroller and the windows application
were set to use the same communication parameters. The
microcontroller receives and interprets the serial data
from the windows application. The microcontroller is
interfaced with a real time clock which provides the
running time used for comparison with the entered
start/stop time. The system used MAX232 to translate the
voltage levels of the serial communication protocol. The
AC motors were interfaced to the microcontroller through
zero crossing solid state relays
IV. SYSTEM OPERATION
The user uses the windows application to configure the
starting and stopping sequences of three motors.
Figure 1: Windows application interface
To start the operation the user must first of all connect to
the serial port using the connect/disconnect button shon in
Figure 1. The same button is used to disconnect. On
connection the application prints connected in the
message box also for disconnection prints otherwise. The
windows application sends data to the microcontroller
circuit using USB/RS232 adapter to cater for computers
that do not have RS232 serial ports. The microcontroller
receives the serial data and performs the executions.
During execution the microcntroller monitors and
compares the time from the real time clock with the
entered start/stop time for each motor. For sequence
setting, the system prompts the user to enter start and stop
times for motor 1 to motor 3. The entered time is then
converted to binary coded decimal so that the time can be
compared with that of the DS1307. An additional feature
added to the operation of the system is the ability to
modify time so that it can sync with the computers time.
V. CONCLUSION
The aim and objectives of this project was met. The
windows application and the microcontroller circuit
functioned as to expectations. For future use the system
need to be upgraded so that it can operate on a wide
variety of COM ports. There will also be need to monitor
and control voltage and current levels of the motors and
also to alarm start and stop failure of the motors.
REFERENCES
BOOKS
Mazidi, M., Mazidi, J., and McKinlay R (2006), The 8051
Microcontroller and Embedded Systems Using Assembly
and C. 2nd
edition. London: Prentice Hall.
Ibrahim, D (2008), Advanced PIC Microcontroller
Projects in C from USB to RTOS Elsevier Ltd
JOURNALS
Gungor and Hancke, 2009. Industrial Wireless Sensor
Networks: Challenges, Design Principles, and Technical
Approaches
Aakvaag, N. Mathiesen, M. Thonet, G ‘Timing and power
issues in wireless sensor networks—An industrial test
case,’ pp. 419–426.
Dangayach and Deshmukh, 2001 ‘Advanced
manufacturing technology implementation Evidence from
small and medium enterprises (SMEs)'.
Meha, S. haziri, B. Gashi, L. Fejzullan ‘Controlling DC
Motor Speed Using PWM from C# WINDOWS
APPLICATION’.
Tiponut, V et al (2007) C# and .NET Framework for uC
Communication Protocol Implementation
Adewale, A. Isaac, S. Awelewa, A. Ike, D (2013). Design
and Development of a Microcontroller Based Automatic
Switch for Home Appliances
THESES
Jarwal, N. RTC Based automated farm, Submitted for the
Degree of Bachelor of Technology in the division of
Electronic Engineering and Telecommunication, MIT
College of Engineering Pune.
Amala, A and Raghunath ‘Real Time Clock’. Submitted
for the award of Degree of Bachelor of Technology in
Electrical and Electronic Engineering, Jawaharlal Nehru
Technological University.
Noor, A. ‘Real Time Clock Display using Programmaing
Language Approach’. Submitted in partial fulfilment of
requirements for the Bachelor Degree in Electronic
Engineering, Kolej Universiti Teknikal Kebangsaan,
Malaysia

More Related Content

What's hot

Unit 1(part-1)Introduction of mechatronics
Unit 1(part-1)Introduction of mechatronicsUnit 1(part-1)Introduction of mechatronics
Unit 1(part-1)Introduction of mechatronicsswathi1998
 
IRJET- Automation in Substation using Programmable Logic Controller (PLC)
IRJET- Automation in Substation using Programmable Logic Controller (PLC)IRJET- Automation in Substation using Programmable Logic Controller (PLC)
IRJET- Automation in Substation using Programmable Logic Controller (PLC)IRJET Journal
 
Design of Mechatronics System
Design of Mechatronics SystemDesign of Mechatronics System
Design of Mechatronics SystemVeerakumar S
 
Lec 01(introduction) Mechatronic systems
Lec 01(introduction) Mechatronic systems Lec 01(introduction) Mechatronic systems
Lec 01(introduction) Mechatronic systems Mohamed Atef
 
IRJET- Multiple Load Controller for Industry using ARM Cortex
IRJET-  	  Multiple Load Controller for Industry using ARM CortexIRJET-  	  Multiple Load Controller for Industry using ARM Cortex
IRJET- Multiple Load Controller for Industry using ARM CortexIRJET Journal
 
Introduction of Programmable Logic Controller to Electric Overhead Travelling...
Introduction of Programmable Logic Controller to Electric Overhead Travelling...Introduction of Programmable Logic Controller to Electric Overhead Travelling...
Introduction of Programmable Logic Controller to Electric Overhead Travelling...paperpublications3
 
Lecture 10.cont,11 (plc)
Lecture 10.cont,11 (plc)Lecture 10.cont,11 (plc)
Lecture 10.cont,11 (plc)Mohamed Atef
 
Introduction of mechatronics
Introduction of mechatronicsIntroduction of mechatronics
Introduction of mechatronicsahmed saqer
 
ME8791-Mechatronics introduction,systems and emerging areas
ME8791-Mechatronics introduction,systems and emerging areasME8791-Mechatronics introduction,systems and emerging areas
ME8791-Mechatronics introduction,systems and emerging areasBalamanikandasuthanK
 

What's hot (19)

Unit 1(part-1)Introduction of mechatronics
Unit 1(part-1)Introduction of mechatronicsUnit 1(part-1)Introduction of mechatronics
Unit 1(part-1)Introduction of mechatronics
 
Introduction to Mechatronics
 Introduction to Mechatronics Introduction to Mechatronics
Introduction to Mechatronics
 
IRJET- Automation in Substation using Programmable Logic Controller (PLC)
IRJET- Automation in Substation using Programmable Logic Controller (PLC)IRJET- Automation in Substation using Programmable Logic Controller (PLC)
IRJET- Automation in Substation using Programmable Logic Controller (PLC)
 
Design of mechatronics systems
Design of mechatronics systemsDesign of mechatronics systems
Design of mechatronics systems
 
Design of Mechatronics System
Design of Mechatronics SystemDesign of Mechatronics System
Design of Mechatronics System
 
7. control
7. control7. control
7. control
 
mechatronics report
mechatronics reportmechatronics report
mechatronics report
 
Lec 01(introduction) Mechatronic systems
Lec 01(introduction) Mechatronic systems Lec 01(introduction) Mechatronic systems
Lec 01(introduction) Mechatronic systems
 
Smart Monitoring System of DC to DC Converter for Photovoltaic Application
Smart Monitoring System of DC to DC Converter for Photovoltaic ApplicationSmart Monitoring System of DC to DC Converter for Photovoltaic Application
Smart Monitoring System of DC to DC Converter for Photovoltaic Application
 
IRJET- Multiple Load Controller for Industry using ARM Cortex
IRJET-  	  Multiple Load Controller for Industry using ARM CortexIRJET-  	  Multiple Load Controller for Industry using ARM Cortex
IRJET- Multiple Load Controller for Industry using ARM Cortex
 
Introduction of Programmable Logic Controller to Electric Overhead Travelling...
Introduction of Programmable Logic Controller to Electric Overhead Travelling...Introduction of Programmable Logic Controller to Electric Overhead Travelling...
Introduction of Programmable Logic Controller to Electric Overhead Travelling...
 
Plc & Scada report 3
Plc & Scada report 3Plc & Scada report 3
Plc & Scada report 3
 
College 2 18-2014
College 2 18-2014College 2 18-2014
College 2 18-2014
 
Lecture 10.cont,11 (plc)
Lecture 10.cont,11 (plc)Lecture 10.cont,11 (plc)
Lecture 10.cont,11 (plc)
 
1.me8791 mechatronics
1.me8791 mechatronics1.me8791 mechatronics
1.me8791 mechatronics
 
Introduction of mechatronics
Introduction of mechatronicsIntroduction of mechatronics
Introduction of mechatronics
 
Lecture 1 Introduction to mechatronics
Lecture 1 Introduction  to mechatronics Lecture 1 Introduction  to mechatronics
Lecture 1 Introduction to mechatronics
 
ME8791-Mechatronics introduction,systems and emerging areas
ME8791-Mechatronics introduction,systems and emerging areasME8791-Mechatronics introduction,systems and emerging areas
ME8791-Mechatronics introduction,systems and emerging areas
 
Presentation1
Presentation1Presentation1
Presentation1
 

Viewers also liked

What is global warming trabajo
What is global warming trabajoWhat is global warming trabajo
What is global warming trabajodavid masache
 
online 16 hour TELE and Online
online 16 hour TELE and Onlineonline 16 hour TELE and Online
online 16 hour TELE and OnlineNicolette Scaletta
 
What is global warming trabajo
What is global warming trabajoWhat is global warming trabajo
What is global warming trabajodavid masache
 
Strategies for Commercial Software Developers Using Open Source Code in Propr...
Strategies for Commercial Software Developers Using Open Source Code in Propr...Strategies for Commercial Software Developers Using Open Source Code in Propr...
Strategies for Commercial Software Developers Using Open Source Code in Propr...Mary Lou Wakimura
 
Introduction to Ubuntu core, Ubuntu for IoT
Introduction to Ubuntu core, Ubuntu for IoTIntroduction to Ubuntu core, Ubuntu for IoT
Introduction to Ubuntu core, Ubuntu for IoTCanonical
 
E marketing Paris presentation - January 29 - 2013
E marketing Paris presentation - January 29 - 2013 E marketing Paris presentation - January 29 - 2013
E marketing Paris presentation - January 29 - 2013 Brightcove
 
Notre catalogue 2012-2013
Notre catalogue   2012-2013Notre catalogue   2012-2013
Notre catalogue 2012-2013Julien Voyez
 
Conférence Social Media Social Club Septembre 2009 présentation Lagardère Int...
Conférence Social Media Social Club Septembre 2009 présentation Lagardère Int...Conférence Social Media Social Club Septembre 2009 présentation Lagardère Int...
Conférence Social Media Social Club Septembre 2009 présentation Lagardère Int...Alban Martin
 
Document sur l'Auto provisioning, contacts, presence et streaming sur asterisk
Document sur l'Auto provisioning, contacts, presence et streaming sur asteriskDocument sur l'Auto provisioning, contacts, presence et streaming sur asterisk
Document sur l'Auto provisioning, contacts, presence et streaming sur asteriskEmeric Kamleu Noumi
 
Diplôme Universitaire de Technologie
Diplôme Universitaire de TechnologieDiplôme Universitaire de Technologie
Diplôme Universitaire de TechnologieFreddy Crozilhac
 

Viewers also liked (20)

Viajes
ViajesViajes
Viajes
 
What is global warming trabajo
What is global warming trabajoWhat is global warming trabajo
What is global warming trabajo
 
Militar
MilitarMilitar
Militar
 
online 16 hour TELE and Online
online 16 hour TELE and Onlineonline 16 hour TELE and Online
online 16 hour TELE and Online
 
What is global warming trabajo
What is global warming trabajoWhat is global warming trabajo
What is global warming trabajo
 
CK Resume 11-5-2016
CK Resume 11-5-2016CK Resume 11-5-2016
CK Resume 11-5-2016
 
Tecnologia bluetooth
Tecnologia bluetoothTecnologia bluetooth
Tecnologia bluetooth
 
PortfolioYesser
PortfolioYesserPortfolioYesser
PortfolioYesser
 
Artilleria del campo
Artilleria del campoArtilleria del campo
Artilleria del campo
 
armamento de la infanteria
armamento de la infanteriaarmamento de la infanteria
armamento de la infanteria
 
Las 7 maravillas del mundo
Las 7 maravillas del mundoLas 7 maravillas del mundo
Las 7 maravillas del mundo
 
Strategies for Commercial Software Developers Using Open Source Code in Propr...
Strategies for Commercial Software Developers Using Open Source Code in Propr...Strategies for Commercial Software Developers Using Open Source Code in Propr...
Strategies for Commercial Software Developers Using Open Source Code in Propr...
 
The hippie movement
The hippie movementThe hippie movement
The hippie movement
 
Introduction to Ubuntu core, Ubuntu for IoT
Introduction to Ubuntu core, Ubuntu for IoTIntroduction to Ubuntu core, Ubuntu for IoT
Introduction to Ubuntu core, Ubuntu for IoT
 
E marketing Paris presentation - January 29 - 2013
E marketing Paris presentation - January 29 - 2013 E marketing Paris presentation - January 29 - 2013
E marketing Paris presentation - January 29 - 2013
 
Notre catalogue 2012-2013
Notre catalogue   2012-2013Notre catalogue   2012-2013
Notre catalogue 2012-2013
 
Conférence Social Media Social Club Septembre 2009 présentation Lagardère Int...
Conférence Social Media Social Club Septembre 2009 présentation Lagardère Int...Conférence Social Media Social Club Septembre 2009 présentation Lagardère Int...
Conférence Social Media Social Club Septembre 2009 présentation Lagardère Int...
 
Document sur l'Auto provisioning, contacts, presence et streaming sur asterisk
Document sur l'Auto provisioning, contacts, presence et streaming sur asteriskDocument sur l'Auto provisioning, contacts, presence et streaming sur asterisk
Document sur l'Auto provisioning, contacts, presence et streaming sur asterisk
 
Chelo pptt
Chelo ppttChelo pptt
Chelo pptt
 
Diplôme Universitaire de Technologie
Diplôme Universitaire de TechnologieDiplôme Universitaire de Technologie
Diplôme Universitaire de Technologie
 

Similar to Journal ishe

Industrial automation using gsm (full paper)
Industrial automation using gsm (full paper)Industrial automation using gsm (full paper)
Industrial automation using gsm (full paper)Mahira Banu
 
Graduation Project Documentation.PDF
Graduation Project Documentation.PDFGraduation Project Documentation.PDF
Graduation Project Documentation.PDFMostafa Elhoushi
 
Cellular Based Automated Industrial Control and Monitoring System
Cellular Based Automated Industrial Control and Monitoring SystemCellular Based Automated Industrial Control and Monitoring System
Cellular Based Automated Industrial Control and Monitoring Systemaciijournal
 
An industrial automation satyaaaa
An industrial automation  satyaaaaAn industrial automation  satyaaaa
An industrial automation satyaaaasatyarout9090
 
Cellular Based Automated Industrial Control and Monitoring System
Cellular Based Automated Industrial Control and Monitoring SystemCellular Based Automated Industrial Control and Monitoring System
Cellular Based Automated Industrial Control and Monitoring Systemaciijournal
 
IRJET - IoT-based Monitoring of Induction Motor Performance
IRJET - IoT-based Monitoring of Induction Motor PerformanceIRJET - IoT-based Monitoring of Induction Motor Performance
IRJET - IoT-based Monitoring of Induction Motor PerformanceIRJET Journal
 
Speed Synchronization of Multiple Bldcmotors In Textile &Paper Mills Using Mi...
Speed Synchronization of Multiple Bldcmotors In Textile &Paper Mills Using Mi...Speed Synchronization of Multiple Bldcmotors In Textile &Paper Mills Using Mi...
Speed Synchronization of Multiple Bldcmotors In Textile &Paper Mills Using Mi...IJERA Editor
 
IPE 441_ Machine Tools and Machining _ Lecture 17 - 20.pdf
IPE 441_ Machine Tools and Machining _ Lecture 17 - 20.pdfIPE 441_ Machine Tools and Machining _ Lecture 17 - 20.pdf
IPE 441_ Machine Tools and Machining _ Lecture 17 - 20.pdf201725MDSAZIDALAMPAT
 
Automatic Irrigation System Project Report
Automatic Irrigation System Project ReportAutomatic Irrigation System Project Report
Automatic Irrigation System Project ReportEr Gupta
 
Simulation and Implementation of PLC Based for Detecting Burned Potato Chips ...
Simulation and Implementation of PLC Based for Detecting Burned Potato Chips ...Simulation and Implementation of PLC Based for Detecting Burned Potato Chips ...
Simulation and Implementation of PLC Based for Detecting Burned Potato Chips ...ijtsrd
 
Feasible Interfacing and Programming of Industrial Control Technology Unit wi...
Feasible Interfacing and Programming of Industrial Control Technology Unit wi...Feasible Interfacing and Programming of Industrial Control Technology Unit wi...
Feasible Interfacing and Programming of Industrial Control Technology Unit wi...theijes
 
Presentation on minor[1]-1.pptx
Presentation on minor[1]-1.pptxPresentation on minor[1]-1.pptx
Presentation on minor[1]-1.pptxMukulRawat37
 
Arm Based Real Time Monitoring and Controlling of Industrial Parameters Using...
Arm Based Real Time Monitoring and Controlling of Industrial Parameters Using...Arm Based Real Time Monitoring and Controlling of Industrial Parameters Using...
Arm Based Real Time Monitoring and Controlling of Industrial Parameters Using...IJTET Journal
 
IRJET- Smart Power Optimization with IoT
IRJET-  	  Smart Power Optimization with IoTIRJET-  	  Smart Power Optimization with IoT
IRJET- Smart Power Optimization with IoTIRJET Journal
 
4 realtime wether station for monitoring and control of agricultre
4 realtime wether station for monitoring and control of agricultre4 realtime wether station for monitoring and control of agricultre
4 realtime wether station for monitoring and control of agricultreBhushan Deore
 
IRJET- A Sequential Control for Full Size Converter Wind Turbine Generating S...
IRJET- A Sequential Control for Full Size Converter Wind Turbine Generating S...IRJET- A Sequential Control for Full Size Converter Wind Turbine Generating S...
IRJET- A Sequential Control for Full Size Converter Wind Turbine Generating S...IRJET Journal
 
IRJET- Project Didactic of a Mini CNC Milling Machine
IRJET- Project Didactic of a Mini CNC Milling MachineIRJET- Project Didactic of a Mini CNC Milling Machine
IRJET- Project Didactic of a Mini CNC Milling MachineIRJET Journal
 

Similar to Journal ishe (20)

Industrial automation using gsm (full paper)
Industrial automation using gsm (full paper)Industrial automation using gsm (full paper)
Industrial automation using gsm (full paper)
 
[IJET-V2I3P18] Authors: Mr. B. N. Patil , Mr. Sandesh Sonar , Mr. Pavankumar ...
[IJET-V2I3P18] Authors: Mr. B. N. Patil , Mr. Sandesh Sonar , Mr. Pavankumar ...[IJET-V2I3P18] Authors: Mr. B. N. Patil , Mr. Sandesh Sonar , Mr. Pavankumar ...
[IJET-V2I3P18] Authors: Mr. B. N. Patil , Mr. Sandesh Sonar , Mr. Pavankumar ...
 
Graduation Project Documentation.PDF
Graduation Project Documentation.PDFGraduation Project Documentation.PDF
Graduation Project Documentation.PDF
 
E1103024045
E1103024045E1103024045
E1103024045
 
Cellular Based Automated Industrial Control and Monitoring System
Cellular Based Automated Industrial Control and Monitoring SystemCellular Based Automated Industrial Control and Monitoring System
Cellular Based Automated Industrial Control and Monitoring System
 
An industrial automation satyaaaa
An industrial automation  satyaaaaAn industrial automation  satyaaaa
An industrial automation satyaaaa
 
Cellular Based Automated Industrial Control and Monitoring System
Cellular Based Automated Industrial Control and Monitoring SystemCellular Based Automated Industrial Control and Monitoring System
Cellular Based Automated Industrial Control and Monitoring System
 
IRJET - IoT-based Monitoring of Induction Motor Performance
IRJET - IoT-based Monitoring of Induction Motor PerformanceIRJET - IoT-based Monitoring of Induction Motor Performance
IRJET - IoT-based Monitoring of Induction Motor Performance
 
Speed Synchronization of Multiple Bldcmotors In Textile &Paper Mills Using Mi...
Speed Synchronization of Multiple Bldcmotors In Textile &Paper Mills Using Mi...Speed Synchronization of Multiple Bldcmotors In Textile &Paper Mills Using Mi...
Speed Synchronization of Multiple Bldcmotors In Textile &Paper Mills Using Mi...
 
IPE 441_ Machine Tools and Machining _ Lecture 17 - 20.pdf
IPE 441_ Machine Tools and Machining _ Lecture 17 - 20.pdfIPE 441_ Machine Tools and Machining _ Lecture 17 - 20.pdf
IPE 441_ Machine Tools and Machining _ Lecture 17 - 20.pdf
 
Automatic Irrigation System Project Report
Automatic Irrigation System Project ReportAutomatic Irrigation System Project Report
Automatic Irrigation System Project Report
 
Simulation and Implementation of PLC Based for Detecting Burned Potato Chips ...
Simulation and Implementation of PLC Based for Detecting Burned Potato Chips ...Simulation and Implementation of PLC Based for Detecting Burned Potato Chips ...
Simulation and Implementation of PLC Based for Detecting Burned Potato Chips ...
 
Feasible Interfacing and Programming of Industrial Control Technology Unit wi...
Feasible Interfacing and Programming of Industrial Control Technology Unit wi...Feasible Interfacing and Programming of Industrial Control Technology Unit wi...
Feasible Interfacing and Programming of Industrial Control Technology Unit wi...
 
UNIT 1.pptx
UNIT 1.pptxUNIT 1.pptx
UNIT 1.pptx
 
Presentation on minor[1]-1.pptx
Presentation on minor[1]-1.pptxPresentation on minor[1]-1.pptx
Presentation on minor[1]-1.pptx
 
Arm Based Real Time Monitoring and Controlling of Industrial Parameters Using...
Arm Based Real Time Monitoring and Controlling of Industrial Parameters Using...Arm Based Real Time Monitoring and Controlling of Industrial Parameters Using...
Arm Based Real Time Monitoring and Controlling of Industrial Parameters Using...
 
IRJET- Smart Power Optimization with IoT
IRJET-  	  Smart Power Optimization with IoTIRJET-  	  Smart Power Optimization with IoT
IRJET- Smart Power Optimization with IoT
 
4 realtime wether station for monitoring and control of agricultre
4 realtime wether station for monitoring and control of agricultre4 realtime wether station for monitoring and control of agricultre
4 realtime wether station for monitoring and control of agricultre
 
IRJET- A Sequential Control for Full Size Converter Wind Turbine Generating S...
IRJET- A Sequential Control for Full Size Converter Wind Turbine Generating S...IRJET- A Sequential Control for Full Size Converter Wind Turbine Generating S...
IRJET- A Sequential Control for Full Size Converter Wind Turbine Generating S...
 
IRJET- Project Didactic of a Mini CNC Milling Machine
IRJET- Project Didactic of a Mini CNC Milling MachineIRJET- Project Didactic of a Mini CNC Milling Machine
IRJET- Project Didactic of a Mini CNC Milling Machine
 

Journal ishe

  • 1. Microcontroller Based Real Time Sequential Starting System Isheanesu Chitsvare, B.Tech (Hons) Electronic Engineering Harare Institute of Technology May 2014 ichitsvare@gmail.com Abstract - The microcontroller based sequential starter was developed in this project. It is a project that controls the start and stop times of AC motors using real time clock. The project consist of DS1307 real time clock, a computer and LCD all interfaced to PIC18F452 microcontroller. The project also uses a USB to RS232 convertor to cater laptops that do not have RS232 ports. A windows user application was developed on Microsoft Visual Studio software using C# programming language. This application enabled the user to enter different start and stop times of the AC loads. The windows application communicates with the microcontroller through standard PC serial port. The microcontroller receives input t from the computer and executes the sequence of start-up and shutdown time. During execution the microcontroller compares the entered time from the computer with that of the DS1307 running real time clock. If the any of the entered times matches the time on the real time clock the microcontroller executes as per set instruction. The DS1307 was interfaced to the microcontroller using the I2C communication protocol. The microcontroller program was developed using MikroC for PIC IDE. This project was designed to control the start and stop time of three AC motors. Single phase AC motors were used for demonstrations and were interfaced to the microcontroller using solid state relays. The results of this project came out as per expectations implying that the motors were turned on and off using the entered time from the computer. Index terms: C#, microcontroller, real time clock I. INTRODUCTION Due to great reliance on technology, automation has become of greater need in manufacturing industries. Automation has taken the lead in production industries. In today’s competitive industry marketplace, the companies face growing demands to improve production time, process efficiencies and meet corporate financial objectives. Given the increasing age of many industrial systems and the dynamic industrial manufacturing market, intelligent and low-cost industrial automation systems are required to improve the productivity and efficiency of such systems (Gungor and Hancke, 2009). Manufacturing has been evolving over the years as different needs and technologies arise. The customer of the twenty-first century, demands products and services that are fast, right, cheap and easy (Dangayach and Deshmukh, 2001). The changes in manufacturing systems and industrial structure brought about by the development of new, computer-based flexible technologies (Taymaz, 1990). Automation plays an increasingly important role in the global economy and in daily experience. Engineers strive to combine automated devices with mathematical and organizational tools to create complex systems for a rapidly expanding range of applications and human activities. Some advantages are repeatability, tighter quality control, and waste reduction, integration with business systems, increased productivity and reduction of labour. Some disadvantages are high initial costs and increased dependence on maintenance. A major benefit of industrial automation technology is the latest fieldbus developments. The most popular protocols are Device Net, Provirus and Asia and the emerging Industrial Ethernet. Implementation of industrial automation provides capital expenditure savings associated with cable elimination (multiple devices share wire-pairs and communicate over the bus network) and other savings are also available through speedier commissioning. A major advantage of industrial automation and process control is the increased emphasis on flexibility and convertibility in the manufacturing process. Manufacturers are increasingly demanding the ability to easily switch from manufacturing a wide range of products without having to completely rebuild the production lines. In Zimbabwe, automation is now expanding into small and medium enterprises. Mostly in industries automation is appreciated through PLCs, but the production processes in these small/light industries do not require huge expensive control units. But require simple, cheap automation through use of microcontrollers and computers. Most devices are now computer operated and the user can input commands to control other devices.
  • 2. Due to this lack of automation much human error is seen. This project incorporates real time operation and serial interface were the operator inputs start time and stop time of the electrical machines via the computer. II. SYSTEM DESCRIPTION This project was aimed at designing and building a Microcontroller based real time sequential starting system to control AC loads. An operator will be able to input turn on and turn off times of Ac motors using a computer. The AC motors were connected to the microcontroller via solid state relays. This system therefore gives the operator the flexibility of controlling the sequence of turn on and turn off times using a computer without physically switching machines one by one which can be a tedious task for a big plant. A windows interface application was written in C# and can be installed on any computer which can run visual studio programs. This interface communicates with the serial ports of the computer. This will then involve serial communication of the computer and the microcontroller unit. The system also uses a USB to RS232 converter. This converter uses the USB port to communicate with a virtual serial communication port created by the software which runs the converter. Through this converter, data will be sent serially to the microcontroller, which then configures the motors according to the sequence set. The program loaded on the microcontroller will determine which pin to send a high or low signal to and thus turn on or off the desired motor. The system is also able to correct the real time to match the time on the computer. After configuring the sequence, the microcontroller will perform the sequences and wait for the user to set another sequence. Also during the execution the sequence can altered. The prototype was designed to control the sequence of three AC motors. III. SYSTEM IMPLEMENTATION i. The Windows Application. The windows application was designed to run on any windows operated computer. The application operates in different modes: the normal mode and the time modification mode. The application uses commands to enter into different modes: s to set the sequence and q to modify the time. The application was designed to operate on a specific COM port with set parameters such as baud rate, stop bits etc... Hardware and software implementation. Both the microcontroller and the windows application were set to use the same communication parameters. The microcontroller receives and interprets the serial data from the windows application. The microcontroller is interfaced with a real time clock which provides the running time used for comparison with the entered start/stop time. The system used MAX232 to translate the voltage levels of the serial communication protocol. The AC motors were interfaced to the microcontroller through zero crossing solid state relays IV. SYSTEM OPERATION The user uses the windows application to configure the starting and stopping sequences of three motors. Figure 1: Windows application interface To start the operation the user must first of all connect to the serial port using the connect/disconnect button shon in Figure 1. The same button is used to disconnect. On connection the application prints connected in the message box also for disconnection prints otherwise. The windows application sends data to the microcontroller circuit using USB/RS232 adapter to cater for computers that do not have RS232 serial ports. The microcontroller receives the serial data and performs the executions. During execution the microcntroller monitors and compares the time from the real time clock with the entered start/stop time for each motor. For sequence setting, the system prompts the user to enter start and stop times for motor 1 to motor 3. The entered time is then converted to binary coded decimal so that the time can be compared with that of the DS1307. An additional feature added to the operation of the system is the ability to modify time so that it can sync with the computers time.
  • 3. V. CONCLUSION The aim and objectives of this project was met. The windows application and the microcontroller circuit functioned as to expectations. For future use the system need to be upgraded so that it can operate on a wide variety of COM ports. There will also be need to monitor and control voltage and current levels of the motors and also to alarm start and stop failure of the motors. REFERENCES BOOKS Mazidi, M., Mazidi, J., and McKinlay R (2006), The 8051 Microcontroller and Embedded Systems Using Assembly and C. 2nd edition. London: Prentice Hall. Ibrahim, D (2008), Advanced PIC Microcontroller Projects in C from USB to RTOS Elsevier Ltd JOURNALS Gungor and Hancke, 2009. Industrial Wireless Sensor Networks: Challenges, Design Principles, and Technical Approaches Aakvaag, N. Mathiesen, M. Thonet, G ‘Timing and power issues in wireless sensor networks—An industrial test case,’ pp. 419–426. Dangayach and Deshmukh, 2001 ‘Advanced manufacturing technology implementation Evidence from small and medium enterprises (SMEs)'. Meha, S. haziri, B. Gashi, L. Fejzullan ‘Controlling DC Motor Speed Using PWM from C# WINDOWS APPLICATION’. Tiponut, V et al (2007) C# and .NET Framework for uC Communication Protocol Implementation Adewale, A. Isaac, S. Awelewa, A. Ike, D (2013). Design and Development of a Microcontroller Based Automatic Switch for Home Appliances THESES Jarwal, N. RTC Based automated farm, Submitted for the Degree of Bachelor of Technology in the division of Electronic Engineering and Telecommunication, MIT College of Engineering Pune. Amala, A and Raghunath ‘Real Time Clock’. Submitted for the award of Degree of Bachelor of Technology in Electrical and Electronic Engineering, Jawaharlal Nehru Technological University. Noor, A. ‘Real Time Clock Display using Programmaing Language Approach’. Submitted in partial fulfilment of requirements for the Bachelor Degree in Electronic Engineering, Kolej Universiti Teknikal Kebangsaan, Malaysia