ECE 271 Microcomputer Architecture and Applications University of Maine. Lab 3: Stepper Motor Control Instructor: Prof. Yifeng Zhu Spring 2017

Similar documents
Memorial University of Newfoundland Faculty of Engineering and Applied Science

Wheeled Locomotion. Geared Drive Vs. Direct Drive. Driving DC motors. Stepper motors. Open-loop and Closed-loop Control

EGG 101L INTRODUCTION TO ENGINEERING EXPERIENCE

Lab # 4 Parallel Circuits

Hollow shaft hybrid stepper

DR8010 tm. Hardware Reference Manual. Document Revision B4 May 15, 2018

Lab 6: Wind Turbine Generators

1. What are some everyday examples (that are NOT listed above) in which you use torque to complete a task?

DMX-A2-DRV Integrated Advanced Step Motor Driver

Exercise 2: Series-Opposing DC Sources

Instruction of connection and programming of the VECTOR controller

SERIE 59S. Rear clamp. Frontal clamp INCREMENTAL HOLLOW SHAFT ENCODER FOR INDUSTRIAL APPLICATIONS SIN/COS

Compact And High-Performance Of 2-Phase Stepper Motor Driver. RUN current

USER'S MANUAL MODEL DPD60001 MICROSTEP DRIVER PACK

The Fleming s Left Hand Rule shows what happens when electrons in a current enter a magnetic field.

G203V / G213V MANUAL STEP MOTOR DRIVE

Experimental Validation of the Designed Topology

Pre-lab Questions: Please review chapters 19 and 20 of your textbook

IDS INDUSTRIAL DISPENSER INSTRUCTIONS ISO SAFETY INSTRUCTIONS

Pre-lab Questions: Please review chapters 19 and 20 of your textbook

Cabrillo College Physics 10L. LAB 7 Circuits. Read Hewitt Chapter 23

The smart actuator is a complete drive system with electronic, able to detect position and / or can be interfaced via a communication bus.

Hello and welcome to training on general purpose motor drivers in the 3 to 15 volt range. I m Paul Dieffenderfer & I will be your host for this

INTERMEDIATE PROGRAMMING LESSON

2-Phase Stepping Motor Driver

Lab 9 AC & Stepper Motors

G213V STEP MOTOR DRIVE REV 7: March 25, 2011

Chapter 04 how to control stepper motor using Python

DTC P0717 Input Speed Sensor Circuit No Signal

How to Order BS B. Nil. Bracket (End bracket, Center bracket) Nil

SERIES PR90H PROGRAMMABLE INCREMENTAL HOLLOW SHAFT ENCODER FOR INDUSTRIAL APPLICATIONS REFERENCE PR90H - C C - C. External diameter 58 mm

LED Flasher. R1 R2 100 F + C1 100 F +

2: A, B 3: A, B, Z 4: A, A _, B, B _ 6: A, A _, B, B _, Z, Z _

4 AXIS MICRO STEPPER MOTOR DRIVER DATASHEET DIP SW CONFIG. TABLE OFF OFF = FULL STEP ON OFF = 1/2 STEP

QMOT STEPPER MOTORS MOTORS

MD2U Series 2-Phase Unipolar Stepper Motor Driver

SMART ROBOT USING RASPBERRY PI AND NODEMCU

Fall 1997 EE361: MIDTERM EXAM 2. This exam is open book and closed notes. Be sure to show all work clearly.

STH/Q SET UP INSTRUCTIONS

EXPERIMENT 4 OHM S LAW, RESISTORS IN SERIES AND PARALLEL

MANTECH ELECTRONICS. Stepper Motors. Basics on Stepper Motors I. STEPPER MOTOR SYSTEMS OVERVIEW 2. STEPPING MOTORS

Flying Electron Inc. Bipolar Stepper Motor Driver Datasheet

Technical Workshop: Electrical December 3, 2016

TR514H-D DC 5 Phase Micro Stepping Motor Driver User's Manual

Small engine EFI conversion kits Hall Effect Sensor technical spec. Hall Effect Sensor. Technical Spec ECOTRONS LLC COPY RIGHTS ECOTRONS

DEFENDER USER MANUAL

QUESTION BANK SPECIAL ELECTRICAL MACHINES

EGG 101L INTRODUCTION TO ENGINEERING EXPERIENCE

9. Define: Pull out torque of stepper motor?

Hybrid Stepper Motors

ENGR1202 Computer Engineering Assignment Robotics and Control Fall Assignment 2 Motor Control/Power Lab Exercise

MOTORS. Part 2: The Stepping Motor July 8, 2015 ELEC This lab must be handed in at the end of the lab period

A Practical Exercise Name: Section:

Motor Types. Motor and Controls Introduction to Motors & Controls

ROBOTICS BUILDING BLOCKS

Material: Weight: Shaft Loads: Enclosure Rating: Cable: Cable Glands:

LIGHT ACTIVATED SWITCH

Product Manual L293D BREAKOUT Updated on 24 June 2017

Instruction Manual. Selectable Microstep 2-ph Stepping Motor Driver RD-021M8 RORZE CORPORATION

Type 2REX-A. Oil & Gas / Heavy Industry

M545D. Stepper Motor Driver Specification. Overview. Applications

SSI Technologies Application Note PS-AN7 MediaGauge (Model MG-MD) Digital Pressure Gauge Product Overview

Hi-Z USB Wireless. Introduction/Welcome

Q181W Wheel Controller

SJSU ENGR 10 Wind Turbine Power Measurement Procedure

User s Manual. For DM542T. Full Digital Stepper Drive

ZETA advanced microstep drive. Microstepping systems - the next generation... Automation. Quicker settling following a speed change

C H A P T E R ➂. Installation. Installation Precautions. Environmental Considerations. Wiring Considerations

Draft Carts. Chapter 3. Department Buyer User Guide 09/17 Chapter 3 - Page 1. Copyright University of Pittsburgh. All rights reserved.

CC COURSE 1 ETOOLS - T

BLDC SPEED CONTROL INSTRUCTION MANUAL Line voltage Brushless DC control

USER GUIDE WARFET. Last update on JUNE 20, 2016

Getting Started with the Digilent Electronics Explorer Board

Micron School of Materials Science and Engineering. Problem Set 10 Solutions

Features Block Diagram Specifications Typical Wiring Diagram Connection and Adjustment Locations...3 4

CN0124 STEP MOTOR DRIVE

COMBINATION METER BE 45 PARTS LOCATION

Experiment 3: Ohm s Law; Electric Power. Don t take circuits apart until the instructor says you don't need to double-check anything.

ECSE-2100 Fields and Waves I Spring Project 1 Beakman s Motor

CSci 127: Introduction to Computer Science

User s Manual. For DM860T. Fully Digital Stepper Drive. Version 1.0 Designed by StepperOnline All Rights Reserved

QMOT QSH5718 MANUAL. QSH mm 2.8A, 0.55Nm mm 2.8A, 1.01Nm mm 2.8A, 1.26Nm mm 2.8A, 1.

8051 MICRO-CONTROLLER BASED ROBOTIC CAR

CMPT Wire Tri-Colour LED and Magnetic Contact Switch

QMOT Motor QSH4218 Manual 42mm QMOT motor family

DTC 14 Ignition Signal Circuit

HSI Stepper Motor Theory

Hall Effect Sensor. Technical Spec ECOTRONS LLC COPY RIGHTS ECOTRONS ALL RIGHTS RESERVED

Closed Loop Stepper Systems

Ø 68 mm to ø 115 mm. Material: Weight: Shaft Loads: Enclosure Rating: Connection Options. Cable: Cable Glands:

Diesel Technology: Fundamentals/Service/Repair By Andrew Norman, John A. Corinchock READ ONLINE

ENGINE CONTROL (5VZ-FE)

EG DYNAMIC user manual

Operating Manual For Stepper Driver

Motions and Forces Propeller

Ø 68 mm to ø 115 mm. Material: Weight: Bearing Life: Shaft Loads: Operating Temp.: Storage Temp.: Shock: Vibration: Bump: Humidity: Enclosure Rating:

Design and Implementation of Fuel Metering Unit for an Aero Engine

2-PHASE STEPPING MOTOR DRIVER FE Z5 DISPENSE

) and the rotor position (f r

Momentum, Energy and Collisions

Transcription:

ECE 271 Microcomputer rchitecture and pplications University of Maine Lab 3: Stepper Motor Control Instructor: Prof. Yifeng Zhu Spring 2017 Goals 1. Understand the limitation of GPIO output current 2. Learn to use Darlington transistor arrays to perform high-current driving with extremely low input current 3. Understand the usage of full stepping and half stepping to control the speed and position of a stepper motor 4. Gain experience of generating pulse waveforms to control a stepper motor Pre-Lab ssignment 1. Read the textbook Chapter 16 Stepper Motor 2. Watch video tutorial: How the Stepper motors are made and how they operate (Credit goes to pcbheaven) a. Part 1 (5 minutes): http://www.youtube.com/watch?v=mhdz3c6klrg b. Part 2 (8 minutes): http://www.youtube.com/watch?v=t-3vnladibc 3. nswer the pre-lab questions Lab Requirements 1. asic requirement: Turn the stepper motor exactly 360 degrees clockwise by using halfstepping and full-stepping 2. Something cool. The following provide some examples. a. Use the keypad to set a specific degree to which the motor should rotate. b. The motor should smartly choose either clockwise or counter-clockwise to make a minimum amount of rotation. c. Display the degree and turning direction of the motor in real time. d. Perform micro-stepping to rotate the motor smoothly 1

ECE 271 Microcomputer rchitecture and pplications University of Maine Stepper Motors The motor has a ULN2003 Darlington rray. Motor model 28YJ-48 Number of phases 2 Rated voltage 5V DC Geared reduction ratio 1/64 DC resistance per phase 50Ω±7%(25 ) Pull in torque >300gf.cm / 5VDC 100pp image from forum.arduino.cc The gear ratio is: 31 32 26 22 11 10 9 9 = 63.68395 Full-stepping Internal motor: 32 steps per revolution Great reduction ratio: 1/63.68395, approximately 1/64 So it takes 32 64 = 2048 steps per revolution for the output shaft Half-stepping Internal motor: 64 steps per revolution Great reduction ratio: 1/63.68395 1/64 So it takes 64 64 = 4096 steps per revolution for the output shaft 2

ECE 271 Microcomputer rchitecture and pplications University of Maine Lab 3: Stepper Motor Control Name: Pre-Lab Question Interfacing the stepper motor requires four pins. We select the following four pins to control the stepper motor: P 2, P 3, P 6, and P 7. The textbook provides a connection diagram for stepper motor Mabuchi #PF35T, which is very similar to the diagram below. P 2 P 6 P 3 P 7 IN 1 IN 2 IN 3 IN 4 ULN2803 IN 1 OUT 1 IN 2 OUT 2 IN 3 OUT 3 IN 4 OUT 4 IN 5 OUT 5 IN 6 OUT 6 IN 7 OUT 7 1 2 3 4 5 6 lue Red Yellow Orange Red Pink 28YJ-48 Stepper Motor IN 8 OUT 8 COM D C +5V VCC Refer to Figure 16-10 and 16-12 of textbook to complete the following two diagrams. Full stepping sequence Half stepping sequence 1 2 3 4 1 2 3 4 5 6 7 8 P 2 P 2 P 3 P 3 P 6 P 6 P 7 P 7 3

ECE 271 Microcomputer rchitecture and pplications University of Maine You must write your answer in Readme.md file and submit it to the gitlab server. 1. How to change the rotation speed of a stepper motor? 2. How to reverse the rotation direction? 4

ECE 271 Microcomputer rchitecture and pplications University of Maine Warning: Motor Overheating The motor constantly draws electrical currents. The motor will be overheated if you leave the power on for an extended period. Make sure to disconnect the power (Vcc) to the Darlington array if you are not debugging/testing it. Lab Demo Requirements 1. Rotate your stepper motor exactly 360 degrees either clockwise or counterclockwise. 2. What is the highest update frequency of the full-stepping control signals while the motor does not drop any steps? Use an oscilloscope to find out your update frequency. 3. What is the highest update frequency of the half-stepping control signals while the motor does not drop any steps? Use an oscilloscope to find out your update frequency. 4. Is the highest update frequency of the half-stepping higher than full-stepping? Why? Post-lab ssignments 1. The Darlington array has only 500-m rated collector current. If you need a larger current, what option you can have to replace the Darlington array. 2. The full-stepping control sequence rotates a stepper motor a full step for each input pulse. The half-stepping rotates the motor 1/2 step for each input pulse. Is it possible to rotate the motor 1/4 or 1/8 step for each input pulse? (Hints: microstepping) 5