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

Similar documents
MICROCONTROLLERS Stepper motor control with Sequential Logic Circuits

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

EEE3410 Microcontroller Applications Department of Electrical Engineering Lecture 11 Motor Control

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

Step vs. Servo Selecting the Best

Laboratory Exercise 1 Microcontroller Board with Driver Board

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

Lab Exercise 9: Stepper and Servo Motors

2.017 DESIGN OF ELECTROMECHANICAL ROBOTIC SYSTEMS Fall 2009 Lab 4: Motor Control. October 5, 2009 Dr. Harrison H. Chin

DC motor control using arduino

:for... A G!,Jide to Stepp~s~ Se~o~, ~,6d ~er Electrical M~chines

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

ServoStep technology

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

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

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

CHAPTER TWO LITERATURE REVIEW

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

Computer Numeric Control

Motion Control Glossary

PMSM Control Using a Three-Phase, Six-Step 120 Modulation Inverter

AN Industrial Stepper Motor Driver. Application Note Abstract. Introduction. Stepper Motor Control Method

Upgrading from Stepper to Servo

Sensors and Sensing Motors, Encoders and Motor Control

30-80V, 8.2A Peak, No Tuning, Nulls loss of Synchronization

Electronic Speed Controls and RC Motors

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

EXPERIMENT 6: Advanced I/O Programming

Stepper motor basics

Stepper Motors WE CREATE MOTION

Modelling and Control of Hybrid Stepper Motor

Modeling Position Tracking System with Stepper Motor

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

Motion-Control System of Bench-Top CT Scanner

Simulation of Stepper Motor using Quasi Square Wave Input

Job Sheet 2 Servo Control

Sensors and Sensing Motors, Encoders and Motor Control

Type of loads Active load torque: - Passive load torque :-

Embedded Systems Lab Lab 7 Stepper Motor Application

Real Time Embedded Systems. Lecture 1 January 17, 2012

Controlling Stepper Motors Using the Power I/O Wildcard

UNIVERSITY OF JORDAN Mechatronics Engineering Department Measurements & Control Lab Experiment no.1 DC Servo Motor

Motor-CAD Brushless PM motor Combined electromagnetic and thermal model (February 2015)

The Fundamental Characteristics of Novel Switched Reluctance Motor with Segment Core Embedded in Aluminum Rotor Block

Stepping motor controlling apparatus

Module 7. Electrical Machine Drives. Version 2 EE IIT, Kharagpur 1

ACTUATORS AND SENSORS. Joint actuating system. Servomotors. Sensors

BRUSHLESS DC MOTOR FAMILY

Datasheet of the Easy Servo Drive ES-D VAC or VDC, 8.2A Peak, Close-loop, No Tuning. Version

Datasheet of the MEZ Stepper Servo Drive MEZ 2D VDC, 8.2A Peak, Closed-loop, No Tuning. Version

CL86T. 24~80VDC, 8.2A Peak, Closed-loop, No Tuning. Descriptions. Closed-loop. Stepper. Applications. Datasheet of the Closed-loop Stepper CL86T

CIS009-2, Mechatronics Signals & Motors

Feedback Devices. By John Mazurkiewicz. Baldor Electric

Understanding RC Servos and DC Motors

Half stepping techniques

Stepping Motor. Applications. Structure and operation. Code names. Mobile equipment Digital cameras, Mobile equipments, PDA, etc.

ES86 Series Closed-loop Stepper Drive + Motor System (Drive+ Motor/Encoder)

EE 410/510: Electromechanical Systems Chapter 5

ES86 Series Closed-loop Stepper Drive + Motor System (ES-D808 Drive+ Motor/Encoder)

SPECIAL MACHINES CONTENTS CONTENTS. Learning Objectives. Stepper motor

The ZSH stepper motor convinces with its robust housing with high-strength cable gland. The motor is waterproof up to 10 m with the IP68 option.

Simulation of Solar Powered PMBLDC Motor Drive

ES86 Series Closed-loop Stepper Drive + Motor System (Drive+ Motor/Encoder)

A COMPARISON STUDY OF THE COMMUTATION METHODS FOR THE THREE-PHASE PERMANENT MAGNET BRUSHLESS DC MOTOR

Integrated Easy Servo

3. What is the difference between Switched Reluctance motor and variable reluctance stepper motor?(may12)

Motor control using FPGA

Robot Actuators. Motors and Control. Stepper Motor Basics. Increased Resolution. Stepper motors. DC motors AC motors. Physics review: Nature is lazy.

Implementation of Brushless DC motor speed control on STM32F407 Cortex M4

Lab 8. Stepper Motor Controller

Actuators. EECS461, Lecture 5, updated September 16,

Exercise 2-2. Antenna Driving System EXERCISE OBJECTIVE DISCUSSION OUTLINE DISCUSSION

Electromagnetic and thermal model for Brushless PM motors

AC Drive Technology. An Overview for the Converting Industry. Siemens Industry, Inc All rights reserved.

CHAPTER 4 CONTROL ALGORITHM FOR PROPOSED H-BRIDGE MULTILEVEL INVERTER

Control of Electric Machine Drive Systems

Operation of Separately Excited Switched Reluctance Generator

Open Loop Speed Control of Brushless DC Motor

SPEED CONTROL OF SENSORLESS BLDC MOTOR WITH FIELD ORIENTED CONTROL

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

Ch 5 Hardware Components for Automation

Position and Velocity Sensors

ies-2309 Integrated Easy Servo

STEPPER MOTOR DRIVE FOR COMPUTER NUMERICAL CONTROL MACHINES

CHAPTER 2 STATE SPACE MODEL OF BLDC MOTOR

Datasheet of the Easy Servo Drive ES-D VDC, 8.0A Peak, Closed-loop, No Tuning

Application Note: The electronic control of ALXION ST STK torque motors for direct drive of automated axis

PMSM TECHNOLOGY IN HIGH PERFORMANCE VARIABLE SPEED APPLICATIONS

MSK4310 Demonstration

Glossary. Glossary Engineering Reference. 35

BALDOR ELECTRIC COMPANY SERVO CONTROL FACTS A HANDBOOK EXPLAINING THE BASICS OF MOTION

CMSC838. Tangible Interactive Assistant Professor Computer Science. Week 11 Lecture 20 April 9, 2015 Motors

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

Actuator Precision Characterization

Reliance. Precision Limited. Precise Motorised Linear Actuators

Performance Optimization Using Slotless Motors and PWM Drives

PFC CUK CONVERTER FOR BLDC MOTOR DRIVES

International Journal of Advance Engineering and Research Development. Wireless Control of Dc Motor Using RF Communication

A Subsidiary of Regal-Beloit Corporation. AC Inverter Terminology

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

Transcription:

Embedded Control Applications II MP10-1 Embedded Control Applications II MP10-2 week lecture topics 10 Embedded Control Applications II - Servo-motor control - Stepper motor control - The control of a DC servo motor is another common task in robotics / mechatronics; DC servo-motors combine regular DC-motors with a gear-box and an encoder/potentiometer to form a position control loop - Being position controlled, the drive shaft of a servomotor can only assume a limited range of angular positions (typically ±90 or less) - The set-point is a Pulse Width Modulated (PWM) signal with a period of commonly around 20 ms and duty cycles of 2% to 10% (~0.5 ms to ~2.5 ms) Embedded Control Applications II MP10-3 Embedded Control Applications II MP10-4 Encoder / Potentiometer - Servo-motors have 3 wires: V supp, V GND and signal Power amplifier - Only the signal line interfaces to the microcontroller the current carrying supply lines need to be connected to a sufficiently powerful supply; typical supply voltages range between 6 V and 30 V red 10% duty cycle 6 V DC black Gear-box DC motor 20 ms yellow

Embedded Control Applications II MP10-5 A small DC servo-motor is to be driven using an edge aligned PWM signal on P7.3 (period: 20 ms). The duty cycle is to be controlled by the analogue voltage applied to ADC channel 4, which is also logged on a terminal connected to ASC port S0 (57600 bps) 5V P5.4 10 V PORT 5 0V S P7.3 Embedded Control Applications II MP10-6 - This is essentially the program developed in lecture MP9; the period of the PWM signal has to be adjusted to 20 ms and the duty cycle needs limited to the range from 3 % (0.6 ms) to 10 % (2 ms) - To produce the required 20 ms signal (50 Hz) the PWM module needs to be set up with a pre-scale factor of 1/64; a 12-bit resolution is to be expected (mode: 0), i. e. 20 10-3 /4096 4.88 10-6 s 5 µs PORT 7 PORT 3 RxD Embedded Control Applications II MP10-8 - The terminal logs the current position as a percentage of the range of admissible pulse widths 0V TxD Embedded Control Applications II MP10-7 - Running the modified program on the C167 confirms a 20 ms period with pulses ranging from 0.6 ms (setting: 0 %) to 2 ms (setting: 100 %)

Embedded Control Applications II MP10-9 [1] - A stepper motor is an electromechanical device which converts electrical pulses into discrete mechanical movements - The shaft or spindle of a stepper motor rotates in discrete step increments when electrical command pulses are applied to it in the proper sequence - This sequence is directly related to the direction of rotation of the motor shaft; the speed of the rotation is directly related to the frequency of the applied pulse sequence Embedded Control Applications II MP10-11 Stepper motors have the following characteristics: - Stepper motors are brushless and thus very reliable; their life span usually only depends on their bearings - They allow for accurate open-loop control; the position can be tracked simply by counting pulses - They allow for very low speed synchronous operation with loads that are directly coupled to the shaft - Improper control may cause resonance phenomena - Difficult to operate at extremely high speeds Embedded Control Applications II MP10-10 Stepper motors have the following characteristics: - The rotation angle of the motor is predictably related to the input pulse pattern - The motor has full torque at stand-still (if the windings are energized) - Precise positioning and repeatability of movement; good stepper motors have an accuracy of 3 5 % of a step this error is non-cumulative from step to step - Excellent response to starting, stopping, reversing Embedded Control Applications II MP10-12 Three different kinds of stepper motors exist: - Variable-reluctance (VR) stepper motors consist of a soft iron multi-toothed rotor and a wound stator - Energizing the stator windings with DC currents causes the poles to be magnetized - Rotation occurs when the rotor teeth are attracted to the energized stator poles

Embedded Control Applications II MP10-13 Three different kinds of stepper motors exist: - Permanent-Magnet (PM) stepper motors ( tin can ) are low cost and low resolution type motors typical step angles range from 7.5 to 15 - The rotor no longer has teeth (cf. VR motor), but is magnetized with alternating north and south poles - The increased magnetic flux intensity gives the PM motor an improved torque characteristic Embedded Control Applications II MP10-15 - The stator windings need to be energized in such a way as to generate a rotating magnetic field; the rotor follows this field due to magnetic attraction - Two-phase example: Energizing the windings using a B-A-B-A-B- pattern leads to clockwise rotation - The rotational speed depends on the frequency of the alternating sequence Embedded Control Applications II MP10-14 Three different kinds of stepper motors exist: - Hybrid (HB) stepper motors combine the best features of PM and VR type stepper motors; step angles vary from 3.6 to 0.9 (100 400 steps per revolution) - The rotor is teethed with an axially magnetized concentric magnet around the shaft - The teeth on the rotor help guiding the magnetic flux; this leads to increased performance Embedded Control Applications II MP10-16 - The torque of a stepper motor depends on the step rate as well as the intensity of the magnetic flux in the windings which, in turn, is proportional to the drive current - A stepper motor usually has 2 phases; more complicated designs with 3 and even 5 phases exist - A pole can be defined as one of the regions where the magnetic flux density is concentrated; there are poles on both the rotor as well as on the stator - Increasing the number of poles on rotor and/or stator leads to smaller basic stepping angles (full step)

Embedded Control Applications II MP10-17 - Example: Unipolar 2-phase stepper motor with one pair of poles per phase and one pair of rotor poles - The flux can be reversed by switching the supply from phase A/B to phase A/B Embedded Control Applications II MP10-19 - The most common stepping modes are wave drive, full step drive and half step drive - In a wave drive system only one phase is energized at any given time; sequence: A B A B leads to steps from 8 2 4 6 (see MP10-18) - In a full step drive system two phases are energized at any time; sequence: AB AB AB AB leads to steps from 1 3 5 7 (see MP10-18) - A half step drive system combines the above two modes; sequence: AB B AB A AB B AB A (1 2 3 4 5 6 7 8) Embedded Control Applications II MP10-18 - Example: Bipolar 2-phase stepper motor with one pair of poles per phase and one pair of rotor poles - The flux can be reversed by swapping the + and - terminals of the supply - 8 full step positions are possible (basic step angle: 45 ) Embedded Control Applications II MP10-20 - The advantage of full step drive over wave drive is that, at any given time, a full step system uses 50% of the available windings whereas the equivalent wave drive system only uses 25% - Furthermore, unipolar stepper motors only use 50% of each winding to build up the magnetic flux; bipolar stepper motors on the other hand use the full winding and therefore produce more torque - Microstepping systems continuously vary the current amplitude in the windings to break up a basic step into many smaller discrete steps

Embedded Control Applications II MP10-21 - The stiffness of a stepper motor can be increased by increasing its holding torque (T H ); moving the drive shaft away from an equilibrium position (rotor and stator poles are aligned) leads to an opposing torque which increases until T H is reached - Beyond the holding torque, the rotor position becomes unstable and it moves until it is aligned with the next stator pole Embedded Control Applications II MP10-23 - The time-domain response of a single step is subject to load conditions and the maximum required acceleration - Driving the motor at frequencies near the natural frequency of the rotor can lead to resonance; this resonance manifests itself in a sudden loss or drop in torque at certain speeds which can lead to loss of synchronism Embedded Control Applications II MP10-22 - The torque vs. speed characteristic of a stepper motor indicates its pull-in curve (defines a region at which the motor can be started/stopped without loss of synchronism) - as well as its pull-out curve (limits the slew region, i. e. the region within which the motor can be operated without loss of synchronism) Embedded Control Applications II MP10-24 - The driver of a stepper motor can be implemented using a microcontroller; the controller needs to produce the required pulse sequence and interface to an array of inverters or power MOSFETs - This would only be done for educational purposes; in the real world a stepper motor driver chip would be used (cost: a few dollars ) - This reduces the task to the provision of a pulse sequence, the frequency of which defines the rotational speed, and a directional signal (fw. / rev.)

Embedded Control Applications II MP10-25 - A typical design of a stepper motor driver is shown below; note that the transistors of the power amplifier often have to be implemented externally Embedded Control Applications II MP10-26 Further reading: [1] Douglas W. Jones, Control of Stepping Motors A Tutorial, http://www.cs.uiowa.edu/~jones/step/, accessed: January 2005 [2] [3] ELF/DWARF, Free Standards Group Reference Specifications, www.linuxbase.org/spec/refspecs/, accessed: January 2005 The GCC Project, Free Software Foundation, gcc.gnu.org/, accessed: January 2005