Simple Control System for a Stepper and DC
Transcript of Simple Control System for a Stepper and DC
-
8/13/2019 Simple Control System for a Stepper and DC
1/24
Damian MarksRekha Vemuri
Instructor: Dr. Wu
Simple control system for aStepper and DC motor using atachometer and the HC11
-
8/13/2019 Simple Control System for a Stepper and DC
2/24
Presentation Outline
Objective
BackgroundMethodology
Assembly language program
DiscussionConclusion
-
8/13/2019 Simple Control System for a Stepper and DC
3/24
Objective
The objective of the project is to control and
measure the speed of a motor
-
8/13/2019 Simple Control System for a Stepper and DC
4/24
Background
This project effectivelyutilizes both software andhardware. DC Motor Stepper motor Counter
SKAMP light sensor HC11 Evaluation Board
(EVB)
-
8/13/2019 Simple Control System for a Stepper and DC
5/24
Hardware Description
DC motor
Runs on Direct Current Speed can be controlled by changing the voltage
-
8/13/2019 Simple Control System for a Stepper and DC
6/24
Hardware Description (cont)
DC Motor
The motor converts electrical energy to mechanicalwork as the output shaft turns DC motors consist of one set of coils, called an
armature, inside another set of coils or a set ofpermanent magnets, called the stator.
Applying a voltage to the coils produces a torque inthe armature, resulting in motion.
-
8/13/2019 Simple Control System for a Stepper and DC
7/24
Hardware Description
Stepper Motor
Converts electrical pulses into discrete mechanicalrotational movements.
Has no brushes, or contacts Stepper motor receives a rectangular pulse train
and responds by rotating its shaft.
-
8/13/2019 Simple Control System for a Stepper and DC
8/24
Hardware Description
Stepper Motor
Pulse train is controlled bymeans of a Microcontroller. Requires no feed back loop and
sensors in controlling a steppermotor.
-
8/13/2019 Simple Control System for a Stepper and DC
9/24
Hardware Description
Stepper Motor Applications
Film advance
-
8/13/2019 Simple Control System for a Stepper and DC
10/24
Hardware Description
Stepper Motor Applications
Conveyor
-
8/13/2019 Simple Control System for a Stepper and DC
11/24
Hardware Description
Stepper Motor Applications
Labeling Machine
-
8/13/2019 Simple Control System for a Stepper and DC
12/24
Hardware Description
Stepper Motor
Applications Window Blind Gluing
-
8/13/2019 Simple Control System for a Stepper and DC
13/24
Hardware Description
Stepper Motor Applications Tube Cutter
-
8/13/2019 Simple Control System for a Stepper and DC
14/24
Hardware Description
Counter
PE0 PE1 PE2 PE3 PE4 PE5 PE6 PE7
Q0 Q1 Q2 Q3
Counter
Port E
-
8/13/2019 Simple Control System for a Stepper and DC
15/24
Hardware Description
Skan-A-Matic SKAMP light sensor
-
8/13/2019 Simple Control System for a Stepper and DC
16/24
Software
Buffallo HC11 Monitor Program
AS11.exe Compiler1 Assembly Programming LanguageTHR 68HC11 Sim V3.06
Hyper Terminal
The serial communicationprogram used to interface the HC11 with thePC.
-
8/13/2019 Simple Control System for a Stepper and DC
17/24
Software
Assembly Language Programming Modules
Real-time interrupt Delay Loop Counting Sub-routine Stepper Routine
Hexadecimal to ASCII character conversion sub-routine
-
8/13/2019 Simple Control System for a Stepper and DC
18/24
Real-timeFlow Chart
-
8/13/2019 Simple Control System for a Stepper and DC
19/24
Delay Sub-routine
-
8/13/2019 Simple Control System for a Stepper and DC
20/24
Rotate Sub-Routine Flowchart
-
8/13/2019 Simple Control System for a Stepper and DC
21/24
Counter Sub-RoutineFlowchart
-
8/13/2019 Simple Control System for a Stepper and DC
22/24
Problems Faced
Limited Memory on EVB Board
Limited Ports on EVB BoardReal-time Interrupts
-
8/13/2019 Simple Control System for a Stepper and DC
23/24
Conclusions
-
8/13/2019 Simple Control System for a Stepper and DC
24/24
Questions?