+ All Categories
Home > Documents > Simple control system for a Stepper and DC motor using a tachometer and the HC11

Simple control system for a Stepper and DC motor using a tachometer and the HC11

Date post: 06-Feb-2016
Category:
Upload: avedis
View: 83 times
Download: 0 times
Share this document with a friend
Description:
Simple control system for a Stepper and DC motor using a tachometer and the HC11. Damian Marks Rekha Vemuri Instructor: Dr. Wu. Presentation Outline. Objective Background Methodology Assembly language program Discussion Conclusion. Objective. - PowerPoint PPT Presentation
Popular Tags:
24
Damian Marks Rekha Vemuri Instructor: Dr. Wu Simple control system for a Stepper and DC motor using a tachometer and the HC11
Transcript
Page 1: Simple control system for a Stepper and DC motor using a tachometer and the HC11

Damian Marks

Rekha Vemuri

Instructor: Dr. Wu

Simple control system for a Stepper and DC motor using a

tachometer and the HC11

Page 2: Simple control system for a Stepper and DC motor using a tachometer and the HC11

Presentation Outline

Objective Background Methodology Assembly language program Discussion Conclusion

Page 3: Simple control system for a Stepper and DC motor using a tachometer and the HC11

Objective

The objective of the project is to control and measure the speed of a motor

Page 4: Simple control system for a Stepper and DC motor using a tachometer and the HC11

Background

This project effectively utilizes both software and hardware.

– DC Motor– Stepper motor– Counter– SKAMP light sensor– HC11 Evaluation Board

(EVB)

Page 5: Simple control system for a Stepper and DC motor using a tachometer and the HC11

Hardware Description

DC motor– Runs on Direct Current– Speed can be controlled by changing the voltage

Page 6: Simple control system for a Stepper and DC motor using a tachometer and the HC11

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: Simple control system for a Stepper and DC motor using a tachometer and the HC11

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: Simple control system for a Stepper and DC motor using a tachometer and the HC11

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: Simple control system for a Stepper and DC motor using a tachometer and the HC11

Hardware Description

Stepper Motor Applications– Film advance

Page 10: Simple control system for a Stepper and DC motor using a tachometer and the HC11

Hardware Description

Stepper Motor Applications– Conveyor

Page 11: Simple control system for a Stepper and DC motor using a tachometer and the HC11

Hardware Description

Stepper Motor Applications– Labeling Machine

Page 12: Simple control system for a Stepper and DC motor using a tachometer and the HC11

Hardware Description

Stepper Motor Applications– Window Blind Gluing

Page 13: Simple control system for a Stepper and DC motor using a tachometer and the HC11

Hardware Description

Stepper Motor Applications– Tube Cutter

Page 14: Simple control system for a Stepper and DC motor using a tachometer and the HC11

Hardware Description

Counter

PE0 PE1 PE2 PE3 PE4 PE5 PE6 PE7

Q0 Q1 Q2 Q3

Counter

Port E

Page 15: Simple control system for a Stepper and DC motor using a tachometer and the HC11

Hardware Description

Skan-A-Matic SKAMP light sensor

Page 16: Simple control system for a Stepper and DC motor using a tachometer and the HC11

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: Simple control system for a Stepper and DC motor using a tachometer and the HC11

Software

Assembly Language Programming Modules– Real-time interrupt– Delay Loop– Counting Sub-routine– Stepper Routine– Hexadecimal to ASCII character conversion sub-

routine

Page 18: Simple control system for a Stepper and DC motor using a tachometer and the HC11

Real-time Flow Chart

Page 19: Simple control system for a Stepper and DC motor using a tachometer and the HC11

Delay Sub-routine

Page 20: Simple control system for a Stepper and DC motor using a tachometer and the HC11

Rotate Sub- Routine Flow chart

Page 21: Simple control system for a Stepper and DC motor using a tachometer and the HC11

Counter Sub-Routine Flowchart

Page 22: Simple control system for a Stepper and DC motor using a tachometer and the HC11

Problems Faced

Limited Memory on EVB Board Limited Ports on EVB Board Real-time Interrupts

Page 23: Simple control system for a Stepper and DC motor using a tachometer and the HC11

Conclusions

Page 24: Simple control system for a Stepper and DC motor using a tachometer and the HC11

Questions?


Recommended