Stepper motor I/O. Application Note DK9222-0410-0014 Motion Control. A General information on stepper motors



Similar documents
Brake module AX5021. Documentation. Please read this document carefully before installing and commissioning the brake module!

Micro-Step Driving for Stepper Motors: A Case Study

Motor Fundamentals. DC Motor

Drive circuit basics + V. τ e. Industrial Circuits Application Note. Winding resistance and inductance

Torque motors. direct drive technology

Speed Control Methods of Various Types of Speed Control Motors. Kazuya SHIRAHATA

8 Speed control of Induction Machines

INSTRUMENTATION AND CONTROL TUTORIAL 2 ELECTRIC ACTUATORS

WIND TURBINE TECHNOLOGY

Series: IDAM Servo Drive E Digital Motor Drive - DMD

Chen. Vibration Motor. Application note

2. A conductor of length 2m moves at 4m/s at 30 to a uniform magnetic field of 0.1T. Which one of the following gives the e.m.f. generated?

DIRECT CURRENT GENERATORS

Introduction to Linear Actuators: Precision Linear Motion Accomplished Easily and Economically

Motors and Generators

Power Supplies. 1.0 Power Supply Basics. Module

CNC Machine Control Unit

Standard diagnostic and configuration interface for Beckhoff Industrial PCs

Current Loop Tuning Procedure. Servo Drive Current Loop Tuning Procedure (intended for Analog input PWM output servo drives) General Procedure AN-015

Unit 33 Three-Phase Motors

1. The diagram below represents magnetic lines of force within a region of space.

Synchronous motor. Type. Non-excited motors

Application Information Fully Integrated Hall Effect Motor Driver for Brushless DC Vibration Motor Applications

Siemens AG 2011 SINAMICS V60. The perfect solution for basic servo applications. Brochure May 2011 SINAMICS. Answers for industry.

Objectives. Capacitors 262 CHAPTER 5 ENERGY

Technical Guide No High Performance Drives -- speed and torque regulation

Mathematical Modeling and Dynamic Simulation of a Class of Drive Systems with Permanent Magnet Synchronous Motors

TwinCAT NC Configuration

OPERATING MANUAL. Table of contents. 2 Phase Stepping Motor Driver 2M542. Rev. A. Introduction page 2. Specifications page 2 Timing chart page 3

Lab 8: DC generators: shunt, series, and compounded.

Contactless Encoder RI360P0-QR24M0-INCRX2-H1181

Application Information

Inductance. Motors. Generators

DC Motor control Reversing

Principles of Adjustable Frequency Drives

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

10 tips for servos and steppers a simple guide

Application and Design of the ebooster from BorgWarner

Edmund Li. Where is defined as the mutual inductance between and and has the SI units of Henries (H).

Table 1 Comparison of DC, Uni-Polar and Bi-polar Stepper Motors

A1000 Cheat Sheet (Open Loop Vector)

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

Hello and welcome to this training module for the STM32L4 Liquid Crystal Display (LCD) controller. This controller can be used in a wide range of

Development of the Induction Motor for Machine Tool Spindles and Servo Amplifier SANMOTION S

Application Note, Rev.1.0, September 2008 TLE8366. Application Information. Automotive Power

Line Reactors and AC Drives

Alternative Linear Motion Systems. Iron Core Linear Motors

Modeling and Simulation of a Novel Switched Reluctance Motor Drive System with Power Factor Improvement

FREQUENCY CONTROLLED AC MOTOR DRIVE

maxon sensor maxon sensor

*ADVANCED ELECTRIC GENERATOR & CONTROL FOR HIGH SPEED MICRO/MINI TURBINE BASED POWER SYSTEMS

How To Control A Motor Control On An Hvac Platform

INDUCTION REGULATOR. Objective:

SECTION 4 ELECTRIC MOTORS UNIT 17: TYPES OF ELECTRIC MOTORS

AN235 Application note

STEPPER MOTOR SPEED AND POSITION CONTROL

Motor-CAD Software for Thermal Analysis of Electrical Motors - Links to Electromagnetic and Drive Simulation Models

Technical data. General specifications. Signal voltage V DC Signal duration. 1 s Input 2. Signal voltage. 1 s Analog output.

IP40 or IP64 (EN 60529) Protection class housing. IP50 (IP65 optional) (EN 60529) Minimum length of mountig

AND8008/D. Solid State Control Solutions for Three Phase 1 HP Motor APPLICATION NOTE

Direct Current Motors

Subminiature Load Cell Model 8417

C Standard AC Motors

Simulation of Electric Drives using the Machines Library and the SmartElectricDrives Library

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

Technical Description. Transistor D.C. Chopper Controller Type GS 24 S

Vehicle Design Summit Electric Hub Motor (V2) Eric Conner Harvey Tang Matthew Peddie

Precision Miniature Load Cell. Models 8431, 8432 with Overload Protection

Mounting instructions. Acceleration Transducer B12. B 26.B12.10 en

Equipment: Power Supply, DAI, Synchronous motor (8241), Electrodynamometer (8960), Tachometer, Timing belt.

Equipment: Power Supply, DAI, Wound rotor induction motor (8231), Electrodynamometer (8960), timing belt.

Active Vibration Isolation of an Unbalanced Machine Spindle

A Practical Guide to Free Energy Devices

Motors. 13/16 Siemens PM

Preview of Period 16: Motors and Generators

REPORT ON CANDIDATES WORK IN THE CARIBBEAN ADVANCED PROFICIENCY EXAMINATION MAY/JUNE 2008 ELECTRICAL AND ELECTRONIC TECHNOLOGY (TRINIDAD AND TOBAGO)

DHANALAKSHMI COLLEGE OF ENGINEERING DEPARTMENT OF ELECTRICAL AND ELECTRONICS ENGINEERING EE ELECTRICAL MACHINES II UNIT-I SYNCHRONOUS GENERATOR

Miniature High-Torque, DC Servomotors and DC Gearmotors

What Is Regeneration?

Brush DC Motor Basics. by Simon Pata Business Unit Manager, Brushless DC

Relationship between large subject matter areas

UNIT II Robots Drive Systems and End Effectors Part-A Questions

DC GENERATOR THEORY. LIST the three conditions necessary to induce a voltage into a conductor.

KINETIC ENERGY RECOVERY SYSTEM BY MEANS OF FLYWHEEL ENERGY STORAGE

Three-phase monitoring relay CM-PFE

Electronic timer CT-AHD.12 OFF-delayed with 1 c/o (SPDT) contact

EFC Frequency converters

How to Turn an AC Induction Motor Into a DC Motor (A Matter of Perspective) Steve Bowling Application Segments Engineer Microchip Technology, Inc.

HPF Hollow Shaft Unit Type

Reyrolle Protection Devices. 7PG17 - XR Intertripping, Interposing, Supervision and Special Purpose Relays. Answers for energy

PowerFlex Dynamic Braking Resistor Calculator

Mounting Instructions. Torque Transducer. A en

AN3327 Application note

A Practical Guide to Free Energy Devices

AMZ-FX Guitar effects. (2007) Mosfet Body Diodes. Accessed 22/12/09.

Programmable Single-/Dual-/Triple- Tone Gong SAE 800

TLI4946. Datasheet TLI4946K, TLI4946-2K, TLI4946-2L. Sense and Control. May 2009

Data Sheet. Electro-mechanical counters Hengstler 800 series

Servo Info and Centering

Transcription:

Stepper motor Keywords Stepper motor Fieldbus Microstepping Encoder Phase current Travel distance control Speed interface KL2531 KL2541 Part A of this Application Example provides general information on stepper motors (design, areas of application, control, etc.), while part B describes the functionality of the KL2531 and KL2541 stepper motor terminals from Beckhoff and provides application examples for simple travel distance control at a PLC and for a speed interface via NC. A General information on stepper motors Stepper motors are special versions of the synchronous machine, in which the rotor is a permanent magnet, while the stator consists of a coil package. In contrast to synchronous motors, stepper motors have a large number of pole pairs. Motor operation requires a control unit, which energises the individual motor windings based on a certain pulse sequence. A stepper motor has a tendency to mechanical oscillation. Above its load limit it loses dynamic characteristics and may lose individual steps. Under high load the shaft may even stop. Safe positioning is therefore only guaranteed within the performance limits. If the motor is operated within its load limits, positioning without feedback of the rotor position can be achieved by linking individual steps. This operating mode (open loop control) and the durability of the stepper motor enable it to be used as a positioning drive in price-sensitive applications. 1. Basic function principles of a stepper motor Like most electric motors, a stepper motor consists of a stator (fixed external winding) and a rotor (rotating shaft with magnets). The rotation of the motor shaft (rotor) is generated by rapid energising the electromagnetic field of the stator, causing the shaft to turn by the step angle a. In a minimum control configuration, the stepper motor is moved from pole to pole, or from step to step. A full turn of the motor shaft is therefore made up of individual steps. Energising of the motor windings results in a magnetic field in the motor from north to south (or south to north if the power supply has negative polarity and the winding is arranged accordingly). The movable stator with its permanent magnets aligns itself according to the direction of the external magnetic field of the stator. BeckhofF New Automation Technology 1

Basic stepper motor types Stepper motors come in numerous varieties, which tend to be based on three basic types: 1 Variable reluctance (stepper) motor (VR) 2 Permanent magnet stepper motor, claw-poled PM motor, Tin-Can-Motor (PM) 3 Hybrid stepper motor (HY) 1) VR 2) PM 3) HY D A B S N C C N S N S S N B A D N S Stator Winding Rotor Fig. 1 Basic stepper motor types: reluctance stepper motor, permanent magnet stepper motor, and hybrid stepper motor Variable Reluctance stepper motor (Fig. 1, left) The rotor consists of a magnetically soft material with different tooth pitch compared with the pole pitch of the stator. When a phase element is excited the rotor assumes a position in which the magnetic resistance (reluctance) for the excited magnetic circuit is at a minimum. Movement of the rotor causes a torque that returns the rotor to its original position. The stator requires at least two phase windings in order to achieve a change in the direction of rotation. Due to the different tooth pitch of the pole and the rotor, the direction of the rotating field is opposite to the direction of rotation of the rotor. In de-energised state the motor has no holding torque. Permanent magnet stepper motor/claw-pole stepper motor (Fig. 1, centre) A permanent magnet stepper motor consists of a stator with individually controllable windings and a rotor with a permanent magnet. The rotor may be configured as a cylindrical ferrite rod with multi-pole magnetisation along its circumference. The permanent-magnetic rotor always aligns itself with the right polarity relative to the stator winding. Permanent magnet stepper motors have a holding torque to which a non-energised motor can be subjected without causing a continuous rotation. BeckhofF New Automation Technology 2

Hybrid stepper motor (Fig. 1, right) Combination of VR (small step angles) and PM (high torque, holding torque). The rotor consists of a permanent magnet arranged in axial direction and positioned between two magnetically soft toothed discs. The toothed discs are offset by half a tooth pitch. Due to the arrangement of the permanent magnets in the rotor one of the toothed discs forms the north pole, the other the south pole of the rotor. The rotor teeth align themselves with the stator teeth, depending on which stator phase is current-carrying. 1.1 Special features Resonance Irregular operation in certain speed ranges, usually in combination without coupled load, indicates that the stepper motor runs at its resonance frequency. The motor may even stop. A distinction can be made between resonances in the lower frequency range up to approx. 250 Hz and resonances in the medium to upper frequency range: Medium to high-frequency resonances are mainly caused by electrical parameters such as inductance of the motor winding and capacitances in the supply lines. Due to the high frequency they have no significant effect on the torque and can be controlled relatively easily through appropriate timing. The resonances in the lower frequency range are mainly caused by mechanical parameters of the motor. In addition to irregular movement they also lead to significant loss of torque, which not only interferes with the application but may even obstruct it through loss of step. BeckhofF New Automation Technology

Step sequence Step sequence Rotor length Rotor length Step sequence Step sequence Motor can no longer follow Fig. 2 Rotor length Rotor position as a function of step sequence Rotor length In principle, the stepper motor represents an oscillatory system (comparable to a mass/spring system), consisting of the moving rotor with a moment of inertia and a magnetic field that creates a restoring force that acts on the rotor. Moving and releasing the rotor creates a damped oscillation. Each current pulse leads to a transient phenomenon of the rotor position (Fig. 2, top left). With increasing frequency the transient phenomenon is superimposed by the subsequent pulse, resulting in smoothing of the speed curve (Fig. 2, top right and bottom left). If the control frequency matches the resonance frequency the oscillation is amplified, so that in the worst case the rotor can no longer follow the steps and starts oscillating between two positions (Fig. 2, bottom right). Heat generation Stepper motors also draw their rated current when at a standstill, although in this case they cannot convert it into movement. This inevitably results in heating of the motor, and the motor temperature may be 100 C warmer than ambient, depending on the configuration. Many manufacturers recommended temperature monitoring. BeckhofF New Automation Technology 4

1.2 Advantages of stepper motors compared with other motors In contrast to other motors stepper motors have a high holding torque even at low speed, and even on standstill. Another advantage is the simple control of stepper motors: Alternate energising of the individual coils causes the motor to move step by step. The fixed number of steps per revolution always enables the current position to be determined if the steps are counted and the motor is operated within its performance limits. No encoder is required for simple positioning tasks within the performance limits. Stepper motors are therefore ideally suited as cost-effective solutions for simple positioning tasks. 1.3 Areas of application for the different stepper motor types 1 PM: Technologically relatively simple solution for low-powered drives with low or medium requirements in terms of dynamics Suitable for automotive and building automation (HVAC) applications 2 VR: Less significant can be produce economically only achieves low efficiency no holding torque stronger tendency to mechanical vibrations than polarised stepper motors 3 HY: Best motor from an energy perspective with best performance parameters above 100 cnm torque no improvement of the mass/performance ratio small performance classes dominate in peripheral data processing devices (printers/scanners, etc.) higher performance classes typical for high-quality positioning tasks (robotics) Typical versions are stepper motors with the following parameters: Reluctance stepper motor Claw-pole stepper motor Hybrid stepper motor Step angle in 1.8...30 6...45 0.36...15 Holding torque M H in cnm 1.0...50 0.5...60 3...1000 Fig. 3 2. Basic control principles Since it is not sufficient to apply a constant supply voltage to the stepper motor in order to generate a rotation of the shaft, the individual coils have to be energised alternately. To this end control electronics are required for setting the speed and direction. In addition, the control electronics must support the three different step patterns that are used for influencing the indexing position of the shaft. BeckhofF New Automation Technology

2.1 Full step and half step Full step Two adjacent windings are energised at any one time, so the rotor aligns itself centrally between the pole axes. In this way a high torque can be achieved. Half step Between two full step positions only one winding is energised, so that the step angle is halved at the expense of a smaller, non uniform torque. Step sequence Direction Control 1 Control 1 Control 2 Control 2 Control 3 Control 1 Control 4 Control 4 l 1 l 1 l 2 l 2 Intermediate steps for half step mode Fig. 4 Full step mode Half step mode Differences in the control modes for stepper motors (left: full step, right: half step) 2.2 Microstep Both in full step mode and in half step mode complete windings are energised based on a certain pulse pattern. The motor rotates suddenly by a fixed angle. In microstepping mode the control electronics generate a PWM with very fine resolution, so that the windings are supplied with a constant current flow in SinCos shape. In this mode the motor torque is directly related to the current intensity. BeckhofF New Automation Technology

B Stepper motor terminals KL2531 and KL2541 from Beckhoff The KL2531 and KL2541 stepper motor terminals integrate a compact solution for stepper motors up to 200 W within a very small space, which can be used for direct control of unipolar and bipolar stepper motors. No additional output stage is required, since the terminals include output stages for two motor coils. Through full integration into the fieldbus, the terminals can be adapted to the application and the motor via the fieldbus configuration tool with a few parameters. 3. Basic principles of the terminal structure and function Both terminals provide two controlled SinCos currents. 25 khz current control enables smooth current output without resonance. Highly dynamic, low-inductance motors run just as well as stepper motors with small rotor mass. The current resolution is 64 steps per period (64-fold microstepping). They differ in terms of performance class. KL2531 lower performance range small size: 12 mm wide, PWM for two motor coils and two digital inputs (24 V DC) up to 24 V DC supply voltage peak current 1.5 A per phase direct connection of different stepper motors straightforward adaptation to the motor and the application KL2541 higher performance class (small servo drives) width: 24 mm torque up to 5 Nm (depending on the motor) up to 50 V DC supply voltage peak current 5 A per phase integrated incremental encoder interface (24 V DC) high mechanical output (up to 200 W range) direct connection of different stepper motors straightforward adaptation to the motor and the application Note that for typical applications the rated output of the motor power supply can be dimensioned such that the load current is 50% of the current of a stepper motor phase. This means that a KL2541 that operates a stepper motor with a maximum coil current of 5 A in a typical application can generally be operated with a 48 V/2.5 A power supply unit. BeckhofF New Automation Technology

3.1 Block diagram K-bus Interface Optocoupler Controller Driver circuit Output stage Motor connections through K-bus through K-bus KL2541 24 V DC 50 V DC KL2531 24 V DC Power supplies of the individual segments 3.2 Stepper motor configuration For VR stepper motors no change in the polarity of the current is required for a change in direction of the torque. Stepper motors with permanent magnets require current linkage with two polarities, which means they can be controlled unipolar or bipolar. In bipolar mode higher efficiency can be achieved, although in unipolar mode the connection is simpler. unipolar bipolar M M Fig. 6 Stepper motors operating modes: unipolar and bipolar Unipolar: Each stator coil features a centre tap with a fixed connection to the supply voltage. The current flows through the phase windings in only one direction, since each phase is wound in parallel with two wires. The current direction of the stator coil depends on which coil end is connected to earth. This configuration results in savings in the control electronics (see Fig. 4, left). Bipolar: In bipolar mode each phase windings of the motor is supplied via a full bridge and can therefore carry current in both directions. Therefore the polarity of the whole coil is reversed in all instances, and not just one half. If the stepper motor phases are wound with two parallel wires, the two branches of a coil have to be connected in parallel (see Fig. 4, right) BeckhofF New Automation Technology

Note: For further information regarding connection of the motors to the terminals see Documentation -> Installation and Wiring -> Connection Examples. Download link at the end of the document 3.3 Complementary products The KL9750 buffer capacitor terminal with can be used with particularly ripple current-resistant 500 µf capacitors to complement the stepper motor terminal. It stabilises the power supply, absorbs back EMF and offers overvoltage protection for highly dynamic drives. If the back EMF exceeds the capacity of the capacitors, an external ballast resistor prevents overvoltage. 4. Application examples The terminals contain only one data interface, which uses the register DataOUT either for position or speed specification, depending on the operating mode. The following application examples illustrate the functionality of the travel distance control (position specification) and speed interface (speed specification) modes. 4.1 Travel distance control (with simple PLC) For positioning taken over from a PLC, travel distance control is the optimum solution. In this mode, a 16 bit position value and various parameters such as speed and acceleration are specified for the terminal. Once enabled, the terminal automatically travels to the target position. Travel distance control mode can be used to realise simple positioning tasks from a conventional PLC (without NC). Travel/ positioning commands can be written via the controller directly into the registers of the memory within the terminal. The stepper motor terminal enables simple referencing (homing). In referencing mode the digital inputs are used for limit switch feedback. The following travel commands are available in travel distance control mode: - manual - simple travel command - multiple travel command - auto-start function - auto-stop function - fast-stop function - referencing/homing (via the digital inputs) - self-adjustment BeckhofF New Automation Technology 9

4.2 Speed interface (operation in conjunction with NC) Direct speed mode is the optimum solution for applications where positioning is handled by the NC. The stepper motor terminal is operated in a closed control loop, while the NC operates as a speed set value generator. The terminal follows these set values and returns the current position value as feedback to the NC. The used ramps and controller parameters (P, I) are configured in the NC. In direct speed mode all functions and travel commands from the standard TwinCAT CNC library are available. The most common commands are listed below (the list is not exhaustive): Move absolute Move relative Read Position Referencing/homing to limit switch or 0-track (C-signal) of the encoder MC Reset Stepper motor terminal, 24 V DC, 1.5 A www.beckhoff.com/kl2531 Stepper motor terminal, 50 V DC, 5 A, with incremental encoder www.beckhoff.com/kl2541 The modular fieldbus system for automation www.beckhoff.com/busterminal Stepper motor terminal documentation http://download.beckhoff.com/download/document/bustermi/bustermi/kl2531_kl2541en.chm This publication contains statements about the suitability of our products for certain areas of application. These statements are based on typical features of our products. The examples shown in this publication are for demonstration purposes only. The information provided herein should not be regarded as specific operation characteristics. It is incumbent on the customer to check and decide whether a product is suit-able for use in a particular application. We do not give any warranty that the source code which is made available with this publication is complete or accurate. This publication may be changed at any time with-out prior notice. No liability is assumed for errors and/or omissions. Our products are described in detail in our data sheets and documentations. Product-specific warnings and cautions must be observed. For the latest version of our data sheets and documentations please visit our website (www.beckhoff.com). Beckhoff Automation GmbH, April 2010 The reproduction, distribution and utilisation of this document as well as the communication of its contents to others without express authorisation is prohibited. Offenders will be held liable for the payment of damages. All rights reserved in the event of the grant of a patent, utility model or design. BeckhofF New Automation Technology 10