Number of Pages: 102

File Size: 1119 KB

File Type: MS Word & PDF

Chapters: 1 - 5

5,000.00

ABSTRACT
A microcontroller-Based Versatile Stepper Motor System/Trainer
has been designed and implemented in this project. The
developed prototype was built with readily available components
including the AT89C51 Microcontroller which runs the control
software and provides a flexible interface to the stepper motor
drive. The control system is capable of driving the stepper motor
clockwise or counterclockwise in full steps or in half steps
according to the need of the stepper motor driven application.
The angular displacement for the stepper motor shaft is 50 per
full-step and 2.50 per half-step but this varies according to the
design of each stepper motor. This prototype can be used to
demonstrate the features of a stepper motor that recommends it
for use in incremental motion control where precision and
positioning accuracy are of paramount importance. Examples of
such applications include its use in conveyor belts in
pharmaceutical industries, bottling companies, printers, and
many others. If used as a trainer kit in our tertiary institutions,
there is no doubt that it will enhance the know-how of the
students and by extension improve their capacity to help
automate our local industries
vii
TABLE OF CONTENTS
Page
Title Page i
Certification Page ii
Approval Page iii
Dedication Page iv
Acknowledgement Page v
Abstract vi
Table of Contents vii
List of Figures xii
List of Tables xiii
CHAPTER ONE: INTRODUCTION
1.1 Background of the study ……………………………………1
1.2 objective of the project ……………………………………..2
1.3 justification of the project ………………………………….2
1.4 scope of project ………………………………………………….3
1.5 Block diagram overview of the project………………4
1.6 Project Report Organization……………………………….4
viii
CHAPTER TWO : LITERATURE REVIEW
2.1 Review of Related Past Work….…………………………6
2.2 Electronic Motors…………..…………………………………..7
2.2.1 DC motors………………………………………………………..8
2.2.2 AC Motors…………………………………………………………11
2.2.3 Stepping Motor………………………………………………..14
2.3 Application of stepper motors…………………………….15
2.3.1 Four Phase Stepper Motor Circuit ………………….17
2.3.2 Servo vs Stepper………………………………………………24
2.4 Motor Process Technology………………………………….26
CHAPTER THREE : METHODOLOGY AND ANALYSIS
3.1. Methodology………………………………………………….……28
3.1.1 Structured Analysis……….…………………………….……28
3.1.2 Top down approach……………………………………….….30
3.1.3 Bottom up approach…………………………………….……32
3.1.4 choice design approach…………………………………..33
3.2 Information Gathering……………………………………..34
3.3. data analysis……………………………………………………..35
ix
3.4. limitation of existing systems………………………….37
3.5. overview of the envisaged system………………….38
CHAPTER FOUR : SYSTEM DESIGN
4.1. System Specification………………………………………..40
4.2. Hardware Subsystem………………………………….……44
4.2.1. Input Interface………..………………………………..….47
4.2.2 Control system……………..………………………………..48
4.2.3. Output Interface ……………..………………………..….50
4.3 Software Subsystem………………………………….……….55
4.3.1 Control Algorithm……………………………………….…….76
CHAPTER FIVE : SYSTEM IMPLEMENTATION
5.1. Hardware Implementation……….………………………….59
5.1.1. Input Interface ……………………………………..…………59
5.1.2. The Control System………………………..………………..60
5.1.3. The Output Interface Implementation……………..60
5.2. The Software Implementation……………………………..61
x
5.3. System Testing…………………………………………….….…..61
5.3.1. The Test Plan………………………………………………………61
5.3.2. Hardware Subsystem Testing…….……… ……….….62
5.3.3. Software Subsystem Testing……………………..…….64
5.4. System Integration…………………………………………..…..64
5.5. Performance Evaluation……………………………….……….65
5.6. Packaging of The System……………………………….….….65
5.7. Bill of Components……………………………………….………..66
5.8. Unit Cost of Commercialized…………………………….…..67
5.9. User Guide………………………………………………………….…..67
CHAPTER SIX : SUMMARY AND CONCLUSION
6.1 Summary of Achievements…………………………………..….68
6.2. Problems Encountered and Solution………………….…. 68
6.3. Suggestions for further Improvements………………… 69
6.4. Recommendations………………………………………….…….. 70
6.5. Contribution to Knowledge………………………………………71
6.6. Conclusion……………………………………………………………… 71
xi
REFFERENCES…………………………………………………………………..72
APPENDICES
APPENDIX A SYSTEM COMPONENTS LIST………….……….75
APPENDIX B COMPONENT COST ANALYSIS TABLE ……76
APPENDIX C CIRCUIT DIAGRAM ……………….…………………77
APPENDIX D CIRCUIT COMPONENT LAYOUT……………….78
APPENDIX E CIRCUIT WIRING SCHEDULE…………………..79
APPENDIX F SYSTEM FLOW CHART……………………………….84
APPENDIX G SYSTEM SOURCE CODE……………………………..85
APPENDIX H SYSTEM USER’S GUIDE……………………………..89
APPENDIX I EXPERIMENTS……………………………………………….90
xii
LIST OF FIGURES
Fig 1.1 Block Diagram of Project……………………………….. 4
Fig 2.1 DC Motor Drive Train……………………………………… 10
Fig 2.2 AC Motor Labeling Machine………………………….… 12
Fig 2.3 Stepper Motor Device Controls.………………….……16
Fig 2.4 Schematic of Four Phase Stepper Motor Circuit………17
Fig 2.5 Four Phase Stepper Motor Using Bjt Transistors…….19
Fig 2.6 Four Phase Stepper Motor Using MOSFET Transistor…20
Fig 2.7 Four Phase Stepper Motor Using PNP Transistors…..21
Fig 2.8 Multipole Motor………………………………………………….22
Fig 2.9 Electrical Equivalent of a Four Phase Stepper Motor…23
Fig 3.1 Power System Circuit Diagram……………..………….29
Fig 3.2 Block Diagram of Envisaged System…………….….39
Fig 4.1 Stepper motor Step Rate Graph……………………….41
Fig 4.2 Full Step Stepper motor degree rate graph…….42
Fig 4.3 half Step Stepper motor degree rate graph…….43
Fig 4.4 ASM chart design………….……………………………………45
Fig 4.5 Complete Stepper Motor Rotation .……………………54
Fig 4.6 Stepper Motor on Active Poles…………………………..55
xiii
LIST OF TABLES
Table 2.1 Stepper Motor Application…………………….………..15
Table 2.2 Servo and Stepper Comparison…………….………25
Table 3.1 Full Step Pattern……………………………………………..35
Table 3.2 Half Step Pattern……………………………………….…….36
Table 4.1 Stepper Motor Specification…………………….……..40
Table 4.2 State Transition Table…………………………………….46
Table 4.3 Full Step Signal Pulse………………………………………49
Table 4.3 Half Step Signal Pulse…………………………………….49
Table 4.5 LCD Pin out ……………………………………..…………….52
Table 5.1 Input Interface Module Testing…………..…………62
Table 5.2 Output Interface Module Testing..……….…………63
Table 5.3 Control System Interface Module Testing………63
Table 5.4 Software Subsystem Testing…………………………..64
Table 5.5 Component Cost Analysis…………………………………66
1
CHAPTER ONE
INTRODUCTION
1.1 Background of the Study
Microcontroller based stepper motor control is an electronic
device which transfers control to an attached object and drives
it towards a particular direction in stipulated steps as specified
by the microcontroller, depending on control input signals from
the controller, the stepper motor can be caused to exhibit
various effects through specified mode of operation. It is
applied in electromechanical devices were precise or specific
angular movement is being addressed.
The project aim is to witness the application of stepper motor
on devices attached to it, there by experimenting the
movement with the help yielded by this motor. With the aid of
control input buttons, specific directive signals are being set up
to activate the stepper motor which now transfer control to
objects/device attached.
The experiments portrayed by this project are achieved using
the control software found in the microcontroller.
2
1.2 Objective of the Project
The Objectives of this project are as follows,
 To design and implement a stepper motor controller
by programming the microcontroller with sequence
of actions to carry out as at when due
 To design and implement a stepper motor drive or
power circuit
 To design and develop stepper motor base
experiments to serve as laboratory work for students
of tertiary institution
 To interface the stepper motor controller to the
stepper motor drive using opto isolators to protect
digital circuits from power circuits
 To test the system by performing all the designed
experiments with it.
1.3 Justification of Project
The conventional motor (AC/DC) spin continuously, with the AC
motor having two parts which are the outside stationary stator
and an insider rotor while the stepper motor moves one step at
a time, if we command a stepper motor to move some specific
number of steps, it rotates incrementally that many number of
steps and stops. Because of this basic nature of a stepper
motor, it is widely used in low cost open loop position control
system. Open loop control means no feedback information on
3
about the position is needed. This eliminates the need for
expensive sensing and feedback devices such as optical
encoders. In this project, the position is known simply by
keeping track of the number of input step pulses. This fact
simply entail that the aim of this project was actualized.
1.4 Scope of the Project
This project covers the theoretical and analytic concept behind
motors, its origin and advancements made in the technology.
The design of an electronic circuit that will help achieve the
desired objective will be shown in details.
Also discussed are the various components that will be
implemented in the circuit, the pin layout, the wiring
schematics and the complete schematics and packaging of the
project.
Moreover, the desired objectives were compared with the
actual outcome based on a set of test data, to determine how
satisfactory the project is, cost analysis shall also be taken into
consideration by looking at how much it takes to develop one
system. From this cost evaluation, one can then simulate cost
of mass producing the system. The problem encountered
during the development of the project and the steps taken to
overcome them shall be listed.
4
1.5 Block Diagram Overview of the Project
Figure 1.1 represented the sequence followed in developing the
project.
Fig 1.1 Block Diagram of the Project
1.6 Project Report Organisation
This project report is organized into chapters and sections.
There are six chapters in all. Chapter one introduces the
project topics, and talks about the background, desired
objectives and justification of the project amongst other things.
Introduction
Design Implementation, testing and integration
Summary and conclusion
Literature review
System design
System analysis
5
An overview of the previous works done in the use of
conventional motors and a full details about the use of stepper
motor with respect to various experiments are the subject of
chapter two. Chapter three gives an in-depth analysis of the
system and gives details on all the components used in
designing and building this project.
Chapter four covers the design specification,
hardware/software tradeoffs, the various interface including
output interface, input interface, control interface and power
supply.
Chapter five is all about the implementation of the design
generated in chapter four. It includes detailed pin layouts of
components and wiring schematics as well as the control
software implementation system packaging, testing and
integration, performance evaluation and cost analysis are also
treated in this chapter.
Finally, chapter six covers problem encountered during design
and implementation, the steps taken to overcome them,
summary of the project, and also suggestions for improvement
on the project.

DOWNLOAD THE FULL WORK

DISCLAIMER: All project works, files and documents posted on this website, UniProjectTopics.com are the property/copyright of their respective owners. They are for research reference/guidance purposes only and some of the works may be crowd-sourced. Please don’t submit someone’s work as your own to avoid plagiarism and its consequences. Use it as a reference/citation/guidance purpose only and not copy the work word for word (verbatim). The paper should be used as a guide or framework for your own paper. The contents of this paper should be able to help you in generating new ideas and thoughts for your own study. UniProjectTopics.com is a repository of research works where works are uploaded for research guidance. Our aim of providing this work is to help you eradicate the stress of going from one school library to another in search of research materials. This is a legal service because all tertiary institutions permit their students to read previous works, projects, books, articles, journals or papers while developing their own works. This is where the need for literature review comes in. “What a good artist understands is that nothing comes from nowhere. All creative work builds on what came before. Nothing is completely original.” - Austin Kleon. The paid subscription on UniProjectTopics.com is a means by which the website is maintained to support Open Education. If you see your work posted here by any means, and you want it to be removed/credited, please contact us with the web address link to the work. We will reply to and honour every request. Please notice it may take up to 24 – 48 hours to process your request.

WeCreativez WhatsApp Support
Administrator (Online)
I am online and ready to help you via WhatsApp chat. Let me know if you need my assistance.