damian marks rekha vemuri instructor: dr. wu simple control system for a stepper and dc motor using...
TRANSCRIPT
![Page 1: Damian Marks Rekha Vemuri Instructor: Dr. Wu Simple control system for a Stepper and DC motor using a tachometer and the HC11](https://reader036.vdocuments.us/reader036/viewer/2022062421/56649d8b5503460f94a7164c/html5/thumbnails/1.jpg)
Damian Marks
Rekha Vemuri
Instructor: Dr. Wu
Simple control system for a Stepper and DC motor using a
tachometer and the HC11
![Page 2: Damian Marks Rekha Vemuri Instructor: Dr. Wu Simple control system for a Stepper and DC motor using a tachometer and the HC11](https://reader036.vdocuments.us/reader036/viewer/2022062421/56649d8b5503460f94a7164c/html5/thumbnails/2.jpg)
Presentation Outline
Objective Background Methodology Assembly language program Discussion Conclusion
![Page 3: Damian Marks Rekha Vemuri Instructor: Dr. Wu Simple control system for a Stepper and DC motor using a tachometer and the HC11](https://reader036.vdocuments.us/reader036/viewer/2022062421/56649d8b5503460f94a7164c/html5/thumbnails/3.jpg)
Objective
The objective of the project is to control and measure the speed of a motor
![Page 4: Damian Marks Rekha Vemuri Instructor: Dr. Wu Simple control system for a Stepper and DC motor using a tachometer and the HC11](https://reader036.vdocuments.us/reader036/viewer/2022062421/56649d8b5503460f94a7164c/html5/thumbnails/4.jpg)
Background
This project effectively utilizes both software and hardware.
– DC Motor– Stepper motor– Counter– SKAMP light sensor– HC11 Evaluation Board
(EVB)
![Page 5: Damian Marks Rekha Vemuri Instructor: Dr. Wu Simple control system for a Stepper and DC motor using a tachometer and the HC11](https://reader036.vdocuments.us/reader036/viewer/2022062421/56649d8b5503460f94a7164c/html5/thumbnails/5.jpg)
Hardware Description
DC motor– Runs on Direct Current– Speed can be controlled by changing the voltage
![Page 6: Damian Marks Rekha Vemuri Instructor: Dr. Wu Simple control system for a Stepper and DC motor using a tachometer and the HC11](https://reader036.vdocuments.us/reader036/viewer/2022062421/56649d8b5503460f94a7164c/html5/thumbnails/6.jpg)
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.
![Page 7: Damian Marks Rekha Vemuri Instructor: Dr. Wu Simple control system for a Stepper and DC motor using a tachometer and the HC11](https://reader036.vdocuments.us/reader036/viewer/2022062421/56649d8b5503460f94a7164c/html5/thumbnails/7.jpg)
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.
![Page 8: Damian Marks Rekha Vemuri Instructor: Dr. Wu Simple control system for a Stepper and DC motor using a tachometer and the HC11](https://reader036.vdocuments.us/reader036/viewer/2022062421/56649d8b5503460f94a7164c/html5/thumbnails/8.jpg)
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.
![Page 9: Damian Marks Rekha Vemuri Instructor: Dr. Wu Simple control system for a Stepper and DC motor using a tachometer and the HC11](https://reader036.vdocuments.us/reader036/viewer/2022062421/56649d8b5503460f94a7164c/html5/thumbnails/9.jpg)
Hardware Description
Stepper Motor Applications– Film advance
![Page 10: Damian Marks Rekha Vemuri Instructor: Dr. Wu Simple control system for a Stepper and DC motor using a tachometer and the HC11](https://reader036.vdocuments.us/reader036/viewer/2022062421/56649d8b5503460f94a7164c/html5/thumbnails/10.jpg)
Hardware Description
Stepper Motor Applications– Conveyor
![Page 11: Damian Marks Rekha Vemuri Instructor: Dr. Wu Simple control system for a Stepper and DC motor using a tachometer and the HC11](https://reader036.vdocuments.us/reader036/viewer/2022062421/56649d8b5503460f94a7164c/html5/thumbnails/11.jpg)
Hardware Description
Stepper Motor Applications– Labeling Machine
![Page 12: Damian Marks Rekha Vemuri Instructor: Dr. Wu Simple control system for a Stepper and DC motor using a tachometer and the HC11](https://reader036.vdocuments.us/reader036/viewer/2022062421/56649d8b5503460f94a7164c/html5/thumbnails/12.jpg)
Hardware Description
Stepper Motor Applications– Window Blind Gluing
![Page 13: Damian Marks Rekha Vemuri Instructor: Dr. Wu Simple control system for a Stepper and DC motor using a tachometer and the HC11](https://reader036.vdocuments.us/reader036/viewer/2022062421/56649d8b5503460f94a7164c/html5/thumbnails/13.jpg)
Hardware Description
Stepper Motor Applications– Tube Cutter
![Page 14: Damian Marks Rekha Vemuri Instructor: Dr. Wu Simple control system for a Stepper and DC motor using a tachometer and the HC11](https://reader036.vdocuments.us/reader036/viewer/2022062421/56649d8b5503460f94a7164c/html5/thumbnails/14.jpg)
Hardware Description
Counter
PE0 PE1 PE2 PE3 PE4 PE5 PE6 PE7
Q0 Q1 Q2 Q3
Counter
Port E
![Page 15: Damian Marks Rekha Vemuri Instructor: Dr. Wu Simple control system for a Stepper and DC motor using a tachometer and the HC11](https://reader036.vdocuments.us/reader036/viewer/2022062421/56649d8b5503460f94a7164c/html5/thumbnails/15.jpg)
Hardware Description
Skan-A-Matic SKAMP light sensor
![Page 16: Damian Marks Rekha Vemuri Instructor: Dr. Wu Simple control system for a Stepper and DC motor using a tachometer and the HC11](https://reader036.vdocuments.us/reader036/viewer/2022062421/56649d8b5503460f94a7164c/html5/thumbnails/16.jpg)
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.
![Page 17: Damian Marks Rekha Vemuri Instructor: Dr. Wu Simple control system for a Stepper and DC motor using a tachometer and the HC11](https://reader036.vdocuments.us/reader036/viewer/2022062421/56649d8b5503460f94a7164c/html5/thumbnails/17.jpg)
Software
Assembly Language Programming Modules– Real-time interrupt– Delay Loop– Counting Sub-routine– Stepper Routine– Hexadecimal to ASCII character conversion sub-
routine
![Page 18: Damian Marks Rekha Vemuri Instructor: Dr. Wu Simple control system for a Stepper and DC motor using a tachometer and the HC11](https://reader036.vdocuments.us/reader036/viewer/2022062421/56649d8b5503460f94a7164c/html5/thumbnails/18.jpg)
Real-time Flow Chart
![Page 19: Damian Marks Rekha Vemuri Instructor: Dr. Wu Simple control system for a Stepper and DC motor using a tachometer and the HC11](https://reader036.vdocuments.us/reader036/viewer/2022062421/56649d8b5503460f94a7164c/html5/thumbnails/19.jpg)
Delay Sub-routine
![Page 20: Damian Marks Rekha Vemuri Instructor: Dr. Wu Simple control system for a Stepper and DC motor using a tachometer and the HC11](https://reader036.vdocuments.us/reader036/viewer/2022062421/56649d8b5503460f94a7164c/html5/thumbnails/20.jpg)
Rotate Sub- Routine Flow chart
![Page 21: Damian Marks Rekha Vemuri Instructor: Dr. Wu Simple control system for a Stepper and DC motor using a tachometer and the HC11](https://reader036.vdocuments.us/reader036/viewer/2022062421/56649d8b5503460f94a7164c/html5/thumbnails/21.jpg)
Counter Sub-Routine Flowchart
![Page 22: Damian Marks Rekha Vemuri Instructor: Dr. Wu Simple control system for a Stepper and DC motor using a tachometer and the HC11](https://reader036.vdocuments.us/reader036/viewer/2022062421/56649d8b5503460f94a7164c/html5/thumbnails/22.jpg)
Problems Faced
Limited Memory on EVB Board Limited Ports on EVB Board Real-time Interrupts
![Page 23: Damian Marks Rekha Vemuri Instructor: Dr. Wu Simple control system for a Stepper and DC motor using a tachometer and the HC11](https://reader036.vdocuments.us/reader036/viewer/2022062421/56649d8b5503460f94a7164c/html5/thumbnails/23.jpg)
Conclusions
![Page 24: Damian Marks Rekha Vemuri Instructor: Dr. Wu Simple control system for a Stepper and DC motor using a tachometer and the HC11](https://reader036.vdocuments.us/reader036/viewer/2022062421/56649d8b5503460f94a7164c/html5/thumbnails/24.jpg)
Questions?