Download presentation
Presentation is loading. Please wait.
Published byIrene Fitzgerald Modified over 9 years ago
1
Damian Marks Rekha Vemuri Instructor: Dr. Wu Simple control system for a Stepper and DC motor using a tachometer and the HC11
2
Presentation Outline Objective Background Methodology Assembly language program Discussion Conclusion
3
Objective The objective of the project is to control and measure the speed of a motor
4
Background This project effectively utilizes both software and hardware. – DC Motor – Stepper motor – Counter – SKAMP light sensor – HC11 Evaluation Board (EVB)
5
Hardware Description DC motor – Runs on Direct Current – Speed can be controlled by changing the voltage
6
Hardware Description (cont) DC Motor – The motor converts electrical energy to mechanical work as the output shaft turns – DC motors consist of one set of coils, called an armature, inside another set of coils or a set of permanent magnets, called the stator. – Applying a voltage to the coils produces a torque in the armature, resulting in motion.
7
Hardware Description Stepper Motor – Converts electrical pulses into discrete mechanical rotational movements. – Has no brushes, or contacts – Stepper motor receives a rectangular pulse train and responds by rotating its shaft.
8
Hardware Description Stepper Motor – Pulse train is controlled by means of a Microcontroller. – Requires no feed back loop and sensors in controlling a stepper motor.
9
Hardware Description Stepper Motor Applications – Film advance
10
Hardware Description Stepper Motor Applications – Conveyor
11
Hardware Description Stepper Motor Applications – Labeling Machine
12
Hardware Description Stepper Motor Applications – Window Blind Gluing
13
Hardware Description Stepper Motor Applications – Tube Cutter
14
Hardware Description Counter PE0 PE1 PE2 PE3 PE4 PE5 PE6 PE7 Q0Q1Q2Q3 Counter Port E
15
Hardware Description Skan-A-Matic SKAMP light sensor
16
Software Buffallo – HC11 Monitor Program AS11.exe – Compiler1 Assembly – Programming Language THR 68HC11 Sim V3.06 Hyper Terminal – The serial communication program used to interface the HC11 with the PC.
17
Software Assembly Language Programming Modules – Real-time interrupt – Delay Loop – Counting Sub-routine – Stepper Routine – Hexadecimal to ASCII character conversion sub- routine
18
Real-time Flow Chart
19
Delay Sub- routine
20
Rotate Sub- Routine Flow chart
21
Counter Sub- Routine Flowchart
22
Problems Faced Limited Memory on EVB Board Limited Ports on EVB Board Real-time Interrupts
23
Conclusions
24
Questions?
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.