Embedded Systems Lab Lab 7 Stepper Motor Application

Similar documents
EXPERIMENT 6: Advanced I/O Programming

Design and Development of an Innovative Advertisement Display with Flipping Mechanism

Experiment#6: Speaker Control

combine regular DC-motors with a gear-box and an encoder/potentiometer to form a position control loop can only assume a limited range of angular

Assembly Language. Topic 14 Motion Control. Stepper and Servo Motors

Microcontroller Based Electric Expansion Valve Controller for Air Conditioning System

Appendix 1. Basic Electronics. The PIC Hardware. Using Transistors (Basic Electronics)

MICROCONTROLLERS Stepper motor control with Sequential Logic Circuits

Sensors and Sensing Motors, Encoders and Motor Control

I. INTRODUCTION MAIN BLOCKS OF ROBOT

Page 1. Relays. Poles and Throws. Relay Types. Common embedded system problem CS/ECE 6780/5780. Al Davis. Terminology used for switches

School of Engineering Mechatronics Engineering Department. Experim. ment no. 1

Laboratory Exercise 1 Microcontroller Board with Driver Board

Real Time Embedded Systems. Lecture 1 January 17, 2012

Mechatronics Engineering and Automation Faculty of Engineering, Ain Shams University MCT-151, Spring 2015 Lab-4: Electric Actuators

Sensors and Sensing Motors, Encoders and Motor Control

Motors and Servos Part 2: DC Motors

EEE3410 Microcontroller Applications Department of Electrical Engineering Lecture 11 Motor Control

Designing of a Shooting System Using Ultrasonic Radar Sensor

Stepper Motors & Look Up Table

Stepper Motor Board. User Manual. 1.0, Oct 2013

Step Motor Controller I. Introduction II. Step Motor Basics

Half stepping techniques

Lab Exercise 9: Stepper and Servo Motors

Stepper Motors in C. Unipolar (5 lead) stepper motorr. $1.95 from 100 steps per rotation. 24V / 160mA / 600 gm cm holding 160mA

DC-Motor Driver circuits

o What happens if S1 and S2 or S3 and S4 are closed simultaneously? o Perform Motor Control, H-Bridges LAB 2 H-Bridges with SPST Switches

Basic NC and CNC. Dr. J. Ramkumar Professor, Department of Mechanical Engineering Micro machining Lab, I.I.T. Kanpur

LS7362 BRUSHLESS DC MOTOR COMMUTATOR / CONTROLLER

THE UNIVERSITY OF BRITISH COLUMBIA. Department of Electrical and Computer Engineering. EECE 365: Applied Electronics and Electromechanics

Chapter 8. Chapter 9. Chapter 6. Chapter 10. Chapter 11. Chapter 7

PART 2 - ACTUATORS. 6.0 Stepper Motors. 6.1 Principle of Operation

Speed Rate Corrected Antenna Azimuth Axis Positioning System

ies-2309 Integrated Easy Servo

L E C T U R E R, E L E C T R I C A L A N D M I C R O E L E C T R O N I C E N G I N E E R I N G

Product Information. Bipolar Switch Hall-Effect IC Basics. Introduction

The Mechatronics Sorter Team Members John Valdez Hugo Ramirez Peter Verbiest Quyen Chu

THE IMPORTANCE OF PLANNING AND DRAWING IN DESIGN

ULN2001A-ULN2002A ULN2003A-ULN2004A

For more information on these functions and others please refer to the PRONET-E User s Manual.

Artificial Intelligence Three Dimensional Solar Tracker

IJRET: International Journal of Research in Engineering and Technology eissn: pissn: MAGICUS CLOCK

AEIJST May Vol 5 - Issue 05 ISSN

Automatic Railway Gate Control & Track Switching

Wireless Inductive Power Transfer

Application Information

New Approach on Development a Dual Axis Solar Tracking Prototype

OPENCOCKPITS IOCard USBSTEPPER INSTALLATION AND USER S MANUAL

Administrative Notes. DC Motors; Torque and Gearing; Encoders; Motor Control. Today. Early DC Motors. Friday 1pm: Communications lecture

Lock Cracker S. Lust, E. Skjel, R. LeBlanc, C. Kim

Figure 1.1 Mechatronic system components (p. 3)

MicroToys Guide: Motors N. Pinckney April 2005

Design with Microprocessors Year III Computer Science 1-st Semester

ARDUINO BASED DC MOTOR SPEED CONTROL

ServoStep technology

Lab 8. Stepper Motor Controller

PreLab 6 PWM Design for H-bridge Driver (due Oct 23)

Integrated Easy Servo

ME430 Mechatronics. Lab 2: Transistors, H Bridges, and Motors. Name. Name. The lab team has demonstrated:

Product Information. Latching Switch Hall-Effect IC Basics. Introduction

Position and Velocity Sensors

LINE MAZE SOLVING ROBOT

Solar Mobius Final Report. Team 1821 Members: Advisor. Sponsor

Part (A) Driving LEDs and DC Motors by Sourcing and Sinking Current from a Logic Gate Sourcing Current Sinking Current

EMI DUE AND ALCOHOL DETECTION BASED AUTOMATIC VEHICLE LOCKING SYSTEM

The Temperature Controlled Window Matt Aldeman and Chase Brill ME 224 June 2003

Stepper Motors and Control Part I - Unipolar Stepper Motor and Control (c) 1999 by Rustle Laidman, All Rights Reserved

Direct Current Waveforms

IMPROVEMENT OF EFFICIENCY FOR SOLAR PHOTOVOLTAIC CELL APPLICATION

Embedded systems. Exercise session 2. Important Circuit Components Circuit Design

Lab no. 4 Bipolar Transistor (NPN and PNP)

Exercise 1: Tri-State Buffer Output Control

Exercise 2: Source and Sink Current

ME 461 Laboratory #5 Characterization and Control of PMDC Motors

Multi-Transistor Configurations

M.Kaliamoorthy and I.Gerald PSNACET/EEE CHAPTER 2 STEPPER MOTORS

Hobby Servo Tutorial. Introduction. Sparkfun:

Boozer Cruiser. EEL Electrical Engineering Design 2 Final Design Report. April 23, The Mobile Bartending Robot.

LAB PROJECT 2. Lab Exercise

EDE1204 Bi-Polar Stepper Motor IC

Basic of PCD Series Pulse Control LSIs

Controlling Stepper Motors Using the Power I/O Wildcard

Sistemi per il controllo motori

Embedded systems. Exercise session 3. Important Circuit Components Circuit Design

Simulation Of Radar With Ultrasonic Sensors

Three-Phase Induction Motors. By Sintayehu Challa ECEg332:-Electrical Machine I

L297 L297A STEPPER MOTOR CONTROLLERS

EDL Project Report Abstract: The Device could broadly be divided into two main parts:

Laboratory Seven Stepper Motor and Feedback Control

Home Map Projects Construction Soldering Study Components 555 Symbols FAQ Links

HIGH CURRENT PWM BIPOLAR STEPPER MOTOR CONTROL AND DRIVE

HBS Series Hybrid Servos

*X036/12/01* X036/12/01 TECHNOLOGICAL STUDIES HIGHER NATIONAL QUALIFICATIONS 2013 TUESDAY, 21 MAY 1.00 PM 4.00 PM

Haptic Feedback Technology

BASIC-Tiger Application Note No. 059 Rev Motor control with H bridges. Gunther Zielosko. 1. Introduction

A NOVEL METHOD OF RATIO CONTROL WITHOUT USING FLOWMETERS

MOSFET as a Switch. MOSFET Characteristics Curves

Wednesday 7 June 2017 Afternoon Time allowed: 1 hour 30 minutes

Introduction to Relays. ECE/CS 5780/6780: Embedded System Design. Various Relay Configurations. Types of Relays. Drawing of an EM Relay

Microcontroller interfacing

Transcription:

Islamic University of Gaza College of Engineering puter Department Embedded Systems Lab Stepper Motor Application Prepared By: Eng.Ola M. Abd El-Latif Apr. /2010 :D 0

Objective Tools Theory To realize how stepper motors function To get familiar with controlling stepper motors via microcontrollers Proteus, MPLAB Software A stepper motor is a brushless, synchronous electric motor that can divide a full rotation into a large number of steps, for example, 200 steps. Thus the motor can be turned to a precise angle. Stepper motors operate differently from normal DC motors, which simply spin when voltage is applied to their terminals. Stepper motors, on the other hand, effectively have multiple "toothed" electromagnets arranged around a central metal gear. To make the motor shaft turn, first one electromagnet is given power, which makes the gear's teeth magnetically attracted to the electromagnet's teeth. When the gear's teeth are thus aligned to the first electromagnet, they are slightly offset from the next electromagnet. So when the next electromagnet is turned on and the first is turned off, the gear rotates slightly to align with the next one, and from there the process is repeated. Each of those slight rotations is called a "step." In that way, the motor can be turned a precise angle. There are two basic arrangements for the electromagnetic coils: bipolar and unipolar. In a unipolar stepper motor, there are four separate electromagnets. To turn the motor, first coil "1" is given current, then it's turned off and coils 2 is given current, and then coil 3, then 4, and then 1 again in a repeating pattern. Current is only sent through the coils in one direction; thus the name unipolar. However, in our lab we will study unipolar stepper motor only. A unipolar stepper motor will have 5 or 6 wires coming out of it. Four of those wires are each connected to one end of one coil. The extra wire (or 2) is called "common." To operate the motor, the "common" wire(s) is (are) connected to the supply voltage, and the other four wires are connected to ground. 1

The following figure shows the block diagram for the unipolar stepper motor and a simplified clarifying figure of its internal connection. A B C D A B C D One suggested way to drive the stepper motor is to connect the two commons to ground and then send a series of signals to A, B, C, D with a suitable delay between each. The following table shows how this series would look like. One Coil Excitation Two Coils Excitation A B C D A B C D 1 0 0 0 1 1 0 0 0 1 0 0 0 1 1 0 0 0 1 0 0 0 1 1 0 0 0 1 1 0 0 1 It is clear that the stepper will respond to this series of signal by rotating in some direction; if we reverse the signals order, the motor will rotate in the opposite direction. The difference between the one coil excitation and the two coil excitation is that the second will cause the motor to rotate with a greater torque. 2

ULN2003 IC The ULN2003 is a high voltage, high current Darlington arrays containing seven open collector Darlington pairs with common emitters. ULN2003 has one pin for ground and need no VCC connection. If any one of the inputs (1-7) is logic high, the corresponding output will be logic low; if the input is logic low the corresponding output will be high impedance. 3

Lab Exercises Part 1 Connect the circuit shown in the Figure below on Proteus ISIS program. Write an assembly program for the PIC such that when S1 is pressed the motor will rotate right and when S2 is pressed the motor will rotate left, and when neither of them is pressed the motor stopped. Load the(.hex) file to PIC18f4550 microcontroller. Simulate the circuit using Proteus ISIS program. Part 2 Write a basic program that do the same thing as part1. 4