Stepper motors. Resources and methods for learning about these subjects (list a few here, in preparation for your research):

Similar documents
Millman s theorem. Resources and methods for learning about these subjects (list a few here, in preparation for your research):

Millman s theorem. Resources and methods for learning about these subjects (list a few here, in preparation for your research):

Differential transistor amplifiers

JFET amplifiers. Resources and methods for learning about these subjects (list a few here, in preparation for your research):

JFET amplifiers. Resources and methods for learning about these subjects (list a few here, in preparation for your research):

Bipolar transistor biasing circuits

Rectifying diodes. Resources and methods for learning about these subjects (list a few here, in preparation for your research):

Rectifying diodes. Resources and methods for learning about these subjects (list a few here, in preparation for your research):

Bipolar transistor biasing circuits

Basic operational amplifiers

Thyristor application circuits

Conventional transistor overview and special transistors

Regulated power sources

Insulated gate field-effect transistors

Insulated gate field-effect transistors

Thyristors. Resources and methods for learning about these subjects (list a few here, in preparation for your research):

Thyristors. Resources and methods for learning about these subjects (list a few here, in preparation for your research):

Bipolar junction transistors in active mode

Basic AC-DC power supplies

Power conversion circuits

Junction field-effect transistors

AC generator theory. Resources and methods for learning about these subjects (list a few here, in preparation for your research):

Design Project: Sensitive audio detector

Transformer circuit calculations

Advanced electromagnetism and electromagnetic induction

Inverting and noninverting opamp voltage amplifier circuits

Elementary amplifier theory

Component modeling. Resources and methods for learning about these subjects (list a few here, in preparation for your research):

Resonance. Resources and methods for learning about these subjects (list a few here, in preparation for your research):

Half stepping techniques

R 2. Out R 3. Ctrl C 2

Experiment (1) Principles of Switching

AC metrology. Resources and methods for learning about these subjects (list a few here, in preparation for your research):

Switched capacitor circuitry

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

Stepper Motor Drive Circuit

Transformers. Department of Physics & Astronomy Texas Christian University, Fort Worth, TX. April 23, 2013

EE 3101 ELECTRONICS I LABORATORY EXPERIMENT 6 LAB MANUAL APPLICATIONS OF TRANSISTOR SWITCHES

EEE3410 Microcontroller Applications Department of Electrical Engineering Lecture 11 Motor Control

TRANSISTOR SWITCHING WITH A REACTIVE LOAD

Lecture 7: Digital Logic

DC Motor-Driver H-Bridge Circuit

Lab Exercise 9: Stepper and Servo Motors

Experiment 9 : Pulse Width Modulation

Step Motor Controller I. Introduction II. Step Motor Basics

Lab 8. Stepper Motor Controller

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

Pulse-Width-Modulation Motor Speed Control with a PIC (modified from lab text by Alciatore)

Characteristic Impedance

Module-1: Logic Families Characteristics and Types. Table of Content

Verification of competency for ELTR courses

MICROCONTROLLERS Stepper motor control with Sequential Logic Circuits

Page ENSC387 - Introduction to Electro-Mechanical Sensors and Actuators: Simon Fraser University Engineering Science

ENGINEERING TRIPOS PART II A ELECTRICAL AND INFORMATION ENGINEERING TEACHING LABORATORY EXPERIMENT 3B2-B DIGITAL INTEGRATED CIRCUITS

EDE1204 Bi-Polar Stepper Motor IC

Experiment # 2 The Voting Machine

HIGH-POWER, DUAL-BRIDGE ICs EASE STEPPER-MOTOR-DRIVE DESIGN

Electrical, Electronic and Communications Engineering Technology/Technician CIP Task Grid

USER S GUIDE POLOLU A4988 STEPPER MOTOR DRIVER CARRIER USING THE DRIVER POWER CONNECTIONS

Direct Current Waveforms

Performance-based assessments for AC circuit competencies

MOSFET as a Switch. MOSFET Characteristics Curves

Rotary Relay Replacement. for the ICOM 720A KA6BFB

Performance-based assessments for basic electricity competencies

Semiconductor 9/21/2015

Using Switches and Relays for Automatic or Manual Modes

Switches. Resources and methods for learning about these subjects (list a few here, in preparation for your research):

Switches. Resources and methods for learning about these subjects (list a few here, in preparation for your research):

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

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

Supply Voltage Supervisor TL77xx Series. Author: Eilhard Haseloff

USER MANUAL FOR THE SN74LS04 HEX INVERTER AND THE DM7407 HEX BUFFER FUNCTIONAL MODULE

EM-100 Controller. Installation Precautions. July 2016

University of California at Berkeley Donald A. Glaser Physics 111A Instrumentation Laboratory

Sensors and Sensing Motors, Encoders and Motor Control

BME 3512 Bioelectronics Reading Assignments and Homework Problems Spring 2015

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

Lecture 9 Transistors

Calhoon MEBA Engineering School. Study Guide for Proficiency Testing Industrial Electronics

Chapter 4 Combinational Logic Circuits

Laboratory 11. Pulse-Width-Modulation Motor Speed Control with a PIC

Highly Efficient Ultra-Compact Isolated DC-DC Converter with Fully Integrated Active Clamping H-Bridge and Synchronous Rectifier

Digital Integrated CircuitDesign

Experiment#6: Speaker Control

Administrative-Master Syllabus form approved June/2006 revised Page 1 of 1

UNIVERSITY OF BRITISH COLUMBIA

DUAL STEPPER MOTOR DRIVER

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

Microcontroller principles

Microcontroller principles

Lab 7 - Inductors and LR Circuits

Lab 12: Timing sequencer (Version 1.3)

Chapter 4 Combinational Logic Circuits

Digital Fundamentals. Lab 4 EX-OR Circuits & Combinational Circuit Design

NJM2671 NJM 2671E2 STEPPER MOTOR CONTROLLER / DRIVER

Use optocouplers for safe and reliable electrical systems

DISCONTINUED PRODUCT FOR REFERENCE ONLY. See A3967 or A3977 for new design. BiMOS II UNIPOLAR STEPPER-MOTOR TRANSLATOR/DRIVER FEATURES

Reading. Lecture 17: MOS transistors digital. Context. Digital techniques:

TD62081AP,TD62081AF,TD62082AP,TD62082AF TD62083AP,TD62083AF,TD62084AP,TD62084AF

ECET 211 Electric Machines & Controls Lecture 7 Relays. Lecture 7 Relays

Transcription:

Stepper motors This worksheet and all related files are licensed under the Creative Commons Attribution License, version 1.0. To view a copy of this license, visit http://creativecommons.org/licenses/by/1.0/, or send a letter to Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA. The terms and conditions of this license allow for free copying, distribution, and/or modification of all licensed works by the general public. Resources and methods for learning about these subjects (list a few here, in preparation for your research): 1

Question 1 In this circuit, a microcontroller controls the rotation of a special type of motor known as a stepper motor by sequentially activating one transistor at a time (thus, energizing one motor coil at a time). With each step in the sequence, the motor rotates a fixed number of degrees, typically 1.8 degrees per step: Out 0 Out 1 Out 2 Out 3 +V Microcontroller Gnd Stepper motor 5 V Each motor coil draws a relatively heavy current when energized, necessitating transistors to interpose between the microcontroller outputs and the motor coils. Identify what type of logical signal ( high or low ) from the output ports of the microcontroller is needed to energize each transistor. Also, show how the power losses and parts count may be reduced by replacing each bipolar junction transistor with a suitable MOSFET in the following diagram: 2

Out 0 Out 1 Out 2 Out 3 5 V +V Microcontroller Gnd file 02423 3

Answer 1 Each stepper motor coil becomes energized when the respective microcontroller output goes to a low (Ground potential) state. Out 0 Out 1 Out 2 Out 3 5 V +V Microcontroller Gnd Follow-up question: if the resistors had to be left in place, would the modified (MOSFET instead of BJT) circuit still function properly? Notes 1 The purpose of this long-winded question is not just to have students figure out how to replace a BJT with a MOSFET, but also to introduce them to the concept of the microcontroller, which is a device of increasing importance in modern electronic systems. No commutating diodes have been shown in this circuit, for simplicity s sake. If any students ask about this, commend them for noticing! 4

Question 2 Stepper motors are often used in low-power servomechanisms such as those found in small robots, computer printers, and other precision electro-mechanical machines. Explain why this type of electric motor is more popular than permanent-magnet DC motors or other motor types. Hint: the answer is closely related to the name of the motor itself ( stepper ). file 01526 Answer 2 Unlike other motor types, stepper motors move in discrete steps, lending themselves very well to digital modes of position control. Notes 2 Make sure students get a chance to feel the motion of a stepper motor in their own hands when you discuss stepper motors in class. If you don t happen to have any stepper motors available, they are easily obtained by salvaging parts from worn-out computer printers! 5

Question 3 Stepper motor coils typically draw a lot of current, requiring the use of power transistors to buffer the control circuitry to the motor. A typical stepper motor final drive circuit looks something like this (only one of the four output transistors is shown, for brevity): Stepper motor 5 V @ 2 A (from control circuit) (To other transistors) The diode is installed, of course, to prevent high-voltage surges from destroying the output transistor each time it turns off. However, this causes a different problem: with the free-wheeling diodes in place, the magnetic field formed in each coil takes longer to decay when its respective transistor turns off. This delay in time imposes a maximum rotational speed on the stepper motor, because the motor will not move to the next step until the magnetic field(s) from the previous step have dissipated. What modification may be made to this circuit to allow the transistors to switch faster, driving the stepper motor at a higher rotational speed? Explain in detail why your solution will work. file 01527 6

Answer 3 Stepper motor 5 V (from control circuit) (To other transistors) I won t explain exactly why this solution works, but I ll let Michael Faraday give you a mathematical hint: v = N dφ dt Follow-up question: what factors determine the resistance value of the new resistor shown in the diagram? Challenge question: determine how to calculate the magnitude of the voltage spike seen at the transistor s collector terminal given a certain resistance value, diode specifications, and full-load motor coil current. Notes 3 Ask your students to describe the rate-of-change of magnetic flux in each coil upon transistor turnoff, with no commutating diodes in place (assuming the transistor could withstand the transient voltages produced by the inductor). It should become clear to your students that the inclusion of diodes to prevent the high-voltage spikes literally creates the problem of magnetic field decay time. 7

Question 4 This shift register circuit drives the four coils of a unipolar stepper motor, one at a time, in a rotating pattern that moves at the pace of the clock. The drive transistor circuitry (Q 1, Q 2, and resistors R 2 through R 6 ) are shown only for one of the four coils. The other three shift register outputs have identical drive circuits connected to the respective motor coils: Vdd MR D 0 D 1 D 2 D 3 +V motor C 1 S 0 S 1 74HC194 DSL DSR R 4 Q 2 R 1 Clk Q 0 Q 1 Q 2 Q 3 Clock R 2 R 5 Q 1 R 6 Stepper motor R 3 Suppose this stepper motor circuit worked just fine for several years, then suddenly stopped working. Explain where you would take your first few measurements to isolate the problem, and why you would measure there. file 03905 Answer 4 My first step would be to check for the presence of adequate DC power to both the shift register IC and the motor (transistor drive circuitry). Then, I would use a voltmeter or logic probe to check for pulsing at any one of the shift register s Q outputs. That would tell me whether the problem was with the shift register or with the power circuitry. Notes 4 This is a good question to discuss with your students, as it helps them understand how to divide and conquer a malfunctioning system. 8

Question 5 Don t just sit there! Build something!! Learning to analyze digital circuits requires much study and practice. Typically, students practice by working through lots of sample problems and checking their answers against those provided by the textbook or the instructor. While this is good, there is a much better way. You will learn much more by actually building and analyzing real circuits, letting your test equipment provide the answers instead of a book or another person. For successful circuit-building exercises, follow these steps: 1. Draw the schematic diagram for the digital circuit to be analyzed. 2. Carefully build this circuit on a breadboard or other convenient medium. 3. Check the accuracy of the circuit s construction, following each wire to each connection point, and verifying these elements one-by-one on the diagram. 4. Analyze the circuit, determining all output logic states for given input conditions. 5. Carefully measure those logic states, to verify the accuracy of your analysis. 6. If there are any errors, carefully check your circuit s construction against the diagram, then carefully re-analyze the circuit and re-measure. Always be sure that the power supply voltage levels are within specification for the logic circuits you plan to use. If TTL, the power supply must be a 5-volt regulated supply, adjusted to a value as close to 5.0 volts DC as possible. One way you can save time and reduce the possibility of error is to begin with a very simple circuit and incrementally add components to increase its complexity after each analysis, rather than building a whole new circuit for each practice problem. Another time-saving technique is to re-use the same components in a variety of different circuit configurations. This way, you won t have to measure any component s value more than once. file 00805 Answer 5 Let the electrons themselves give you the answers to your own practice problems! 9

Notes 5 It has been my experience that students require much practice with circuit analysis to become proficient. To this end, instructors usually provide their students with lots of practice problems to work through, and provide answers for students to check their work against. While this approach makes students proficient in circuit theory, it fails to fully educate them. Students don t just need mathematical practice. They also need real, hands-on practice building circuits and using test equipment. So, I suggest the following alternative approach: students should build their own practice problems with real components, and try to predict the various logic states. This way, the digital theory comes alive, and students gain practical proficiency they wouldn t gain merely by solving Boolean equations or simplifying Karnaugh maps. Another reason for following this method of practice is to teach students scientific method: the process of testing a hypothesis (in this case, logic state predictions) by performing a real experiment. Students will also develop real troubleshooting skills as they occasionally make circuit construction errors. Spend a few moments of time with your class to review some of the rules for building circuits before they begin. Discuss these issues with your students in the same Socratic manner you would normally discuss the worksheet questions, rather than simply telling them what they should and should not do. I never cease to be amazed at how poorly students grasp instructions when presented in a typical lecture (instructor monologue) format! I highly recommend CMOS logic circuitry for at-home experiments, where students may not have access to a 5-volt regulated power supply. Modern CMOS circuitry is far more rugged with regard to static discharge than the first CMOS circuits, so fears of students harming these devices by not having a proper laboratory set up at home are largely unfounded. A note to those instructors who may complain about the wasted time required to have students build real circuits instead of just mathematically analyzing theoretical circuits: What is the purpose of students taking your course? If your students will be working with real circuits, then they should learn on real circuits whenever possible. If your goal is to educate theoretical physicists, then stick with abstract analysis, by all means! But most of us plan for our students to do something in the real world with the education we give them. The wasted time spent building real circuits will pay huge dividends when it comes time for them to apply their knowledge to practical problems. Furthermore, having students build their own practice problems teaches them how to perform primary research, thus empowering them to continue their electrical/electronics education autonomously. In most sciences, realistic experiments are much more difficult and expensive to set up than electrical circuits. Nuclear physics, biology, geology, and chemistry professors would just love to be able to have their students apply advanced mathematics to real experiments posing no safety hazard and costing less than a textbook. They can t, but you can. Exploit the convenience inherent to your science, and get those students of yours practicing their math on lots of real circuits! 10