stepper motor control ab

51
Stepper Motor Controller 1746 HSTP1 J.Arumugam C & I Lab

Upload: harish-sharma

Post on 23-Oct-2015

25 views

Category:

Documents


0 download

DESCRIPTION

abc

TRANSCRIPT

Page 1: Stepper Motor Control AB

Stepper Motor Controller1746 – HSTP11746 – HSTP1

J.ArumugamC & I Lab

Page 2: Stepper Motor Control AB

Stepper Motor

• An electromagnetic actuator. It is anincremental drive (digital) actuator and isdriven in fixed angular steps.

– This mean that a digital signal is used todrive the motor and every time it receives adigital pulse it rotates a specific number ofdegrees in rotation.

J.arumugam PC - 100 2

Page 3: Stepper Motor Control AB

Stepper basic

Phase 4

Rotor

Stator

J.arumugam PC - 100 3

Phase 1 Phase 3

Phase 2

Page 4: Stepper Motor Control AB

Single-Coil Excitation - Each successive coil is ene rgized in turn

offoffoffona.1

Coil 1Coil 2Coil 3Coil 4Step

J.arumugam PC - 100 4

onoffoffoffa.4

offonoffoffa.3

offoffonoffa.2

Page 5: Stepper Motor Control AB

Two-Coil Excitation - Each successive pair of adjace nt coils is energized in turn

offoffononb.1

Coil 1Coil 2Coil 3Coil 4Step

J.arumugam PC - 100 5

onoffoffonb.4

ononoffoffb.3

offononoffb.2

Page 6: Stepper Motor Control AB

Interleaving the two sequences will cause the motor to half-step

Step Coil 4 Coil 3 Coil 2 Coil 1

a.1 on off off off

b.1 on on off off

a.2 off on off off

J.arumugam PC - 100 6

b.2 off on on off

a.3 off off on off

b.3 off off on on

a.4 off off off on

b.4 on off off on

Page 7: Stepper Motor Control AB

Stepper vs. DC Motor

J.arumugam PC - 100 7

Page 8: Stepper Motor Control AB

Stepper motor vs. servo motor

J.arumugam PC - 100 8

Page 9: Stepper Motor Control AB

Types of Stepper motor

• Permanent Magnet (PM)– Rotor is magnetized with alternating North

and South poles situated in a straight lineparallel to the rotor shaft.

• Variable Reluctance (VR)

J.arumugam PC - 100 9

• Variable Reluctance (VR)– Consists of a soft IRON multi-toothed ROTOR

and a wound SATATOR.

• Hybrid– Combines the best features of the PM and VR

Page 10: Stepper Motor Control AB

Permanent Magnet (PM)

J.arumugam PC - 100 10

Page 11: Stepper Motor Control AB

Permanent Magnet (PM)

J.arumugam PC - 100 11

Page 12: Stepper Motor Control AB

Variable Reluctance (VR)

J.arumugam PC - 100 12

Page 13: Stepper Motor Control AB

Variable Reluctance (VR)

J.arumugam PC - 100 13

Page 14: Stepper Motor Control AB

Hybrid

J.arumugam PC - 100 14

Page 15: Stepper Motor Control AB

Advantages of Stepper Motors

�Position error is noncumulative. A highaccuracy of motion is possible, even underopen-loop control.

�Large savings in sensor (measurementsystem) and controller costs are possiblesystem) and controller costs are possiblewhen the open-loop mode is used.

�Because of the incremental nature ofcommand and motion, stepper motors areeasily adaptable to digital controlapplications.

J.arumugam PC - 100 15

Page 16: Stepper Motor Control AB

Advantages of Stepper Motors

�No serious stability problems exist, evenunder open-loop control.

�Torque capacity and power requirementscan be optimized and the response can becontrolled by electronic switching.controlled by electronic switching.

�Brushless construction has obviousadvantages.

J.arumugam PC - 100 16

Page 17: Stepper Motor Control AB

Disadvantages of Stepper Motors

�They have low torque capacity (typically lessthan 2,000 oz-in) compared to DC motors.

�They have limited speed (limited by torquecapacity and by pulse-missing problems dueto faulty switching systems and drive circuits).to faulty switching systems and drive circuits).

�They have high vibration levels due tostepwise motion.

�Large errors and oscillations can result whena pulse is missed under open-loop control.

J.arumugam PC - 100 17

Page 18: Stepper Motor Control AB

Hybrid Step Modes

The hybrid stepper motor combines features ofboth the variable reluctance stepper and thepermanent magnet stepper to produce asmaller step angle.

• Full Step

• Half Step

• Micro Step

J.arumugam PC - 100 18

Page 19: Stepper Motor Control AB

Full Step

• Standard hybrid stepping motors have 200 rotorteeth, or 200 full steps per revolution of themotor shaft.

• Dividing the 200 steps into the 360º of rotationequals a 1.8º full step angle.equals a 1.8º full step angle.

• Normally, full step mode is achieved byenergizing both windings while reversing thecurrent alternately. Essentially one digital pulsefrom the driver is equivalent to one step.

J.arumugam PC - 100 19

Page 20: Stepper Motor Control AB

Half Step

• Half step simply means that the step motor isrotating at 400 steps per revolution.

• In this mode, one winding is energized and thentwo windings are energized alternately, causingthe rotor to rotate at half the distance, or 0.9º.the rotor to rotate at half the distance, or 0.9º.

• Although it provides approximately 30% lesstorque, half-step mode produces a smoothermotion than full-step mode.

J.arumugam PC - 100 20

Page 21: Stepper Motor Control AB

Micro Step• Micro stepping is a relatively new stepper motor

technology that controls the current in the motorwinding to a degree that further subdivides thenumber of positions between poles.

• Micro stepping drives are capable of dividing afull step (1.8º) into 256 micro steps, resulting infull step (1.8º) into 256 micro steps, resulting in51,200 steps per revolution (.007º/step).

• Micro stepping is typically used in applicationsthat require accurate positioning and smoothermotion over a wide range of speeds.

J.arumugam PC - 100 21

Page 22: Stepper Motor Control AB

Stepper Motor Controller Module + Stepper Motor Controller

J.arumugam PC - 100 22

Page 23: Stepper Motor Control AB

Stepper Connection Diagram

J.arumugam PC - 100 23

Page 24: Stepper Motor Control AB

Translator / Driver

• The stepper motor driver receives low-level signals from the indexer or controlsystem and converts them into electrical(step) pulses to run the motor.(step) pulses to run the motor.

• To drive a controllable amount of currentthrough the windings, and enabling asshort current rise and fall times as possiblefor good high speed performance

J.arumugam PC - 100 24

Page 25: Stepper Motor Control AB

Translator / Driver

CW or Pulse

CCW or Direction

J.arumugam PC - 100 25

Bi-Clock signal

Pulse / Direction signal

Page 26: Stepper Motor Control AB

AB – PLC Stepper module

PLC scan IOModule

IOModule

Stepper loopUpdate time

J.arumugam PC - 100 26

PLC Processor

Cycle Module Module

Stepper Module IO

Update time

Page 27: Stepper Motor Control AB

AB – PLC Stepper module

PLC scanCycle

Stepper loopUpdate time

250ms

J.arumugam PC - 100 27

PLC Processor Stepper Module s IO

Absolute Position Maximum: +/- 8388607 PulsesVelocity : 1 to 250000 Pulses /Second

Acceleration / Deceleration rates 1 to 2000 pulses /ms/s

Page 28: Stepper Motor Control AB

1746 – HSTP1 Stepper module overview

J.arumugam PC - 100 28

Page 29: Stepper Motor Control AB

1746 – HSTP1 Stepper module overview

J.arumugam PC - 100 29

Page 30: Stepper Motor Control AB

Our lab connection diagram

654321

1234

CN1CN2

AB-PLC

Red

Red white

GreenGreen white

CW +

CW -

CCW +CCW -

Stepping

NC

J.arumugam PC - 100 30

24 VoltDC

1AB-PLCSteppermodule

Steppermotor

SteppingDriver

+ -

PS466-01A (Stepper)6V / 1.2A

2-Ph, 1.8 deg / Step

IMS 200 - 220

Page 31: Stepper Motor Control AB

IMS200 Driver

System GND

J.arumugam PC - 100 31

System GND

7.Sl No. Label

Page 32: Stepper Motor Control AB

1. Power Supply input & Motor Lead Connector (CN1)

Connect motor leads to these terminals as follows :

J.arumugam PC - 100 32

Page 33: Stepper Motor Control AB

JP1,JP2 & CN2,

J.arumugam PC - 100 33

Page 34: Stepper Motor Control AB

JP3, JP4 & JP5

J.arumugam PC - 100 34

Page 35: Stepper Motor Control AB

Stepper module Operating modes

• Configuration mode– The module does not operate until it has been

configured at least once.

• Command mode

J.arumugam PC - 100 35

– SLC processor can issue commands and activatedifferent operation or moves.

• Diagnostic mode– This mode allows you to test your program and wiring

by connecting the loop back wires at the translator.

Page 36: Stepper Motor Control AB

Before - Configuration mode

�Determine which inputs are used.�Determine the active level of inputs used.�Set whether just the encoder marker or a

proximity limit switch and encoder markercombination is used for homing.

�Determine if a quadrature encoder will be used.�Select whether the Module output is a pulse train

with direction command or a CW pulse train andCCW pulse train.

�Select between configuration mode andcommand mode.

J.arumugam PC - 100 36

Page 37: Stepper Motor Control AB

Words - for Configuration mode

J.arumugam PC - 100 37

Page 38: Stepper Motor Control AB

Configuration - Word 0

Any one or both bitMust be set

J.arumugam PC - 100 38

Bit 4 or 4 & 5Must be set

Bit 8 & 9 Both settingAre Not valid

Page 39: Stepper Motor Control AB

Configuration - Word 0 cont…

J.arumugam PC - 100 39

Page 40: Stepper Motor Control AB

Configuration - Word 0 cont…

J.arumugam PC - 100 40

Page 41: Stepper Motor Control AB

Configuration - Word 1

J.arumugam PC - 100 41

Page 42: Stepper Motor Control AB

Configuration - Word 2 and 3

J.arumugam PC - 100 42

Page 43: Stepper Motor Control AB

Command mode• Absolute Moves• Relative Moves• Hold Moves• Resume Moves

J.arumugam PC - 100 43

• Immediate Stop Operation• Homing Operation• Jogging Moves• Preset Operation• Reset Error

Page 44: Stepper Motor Control AB

Programming Command Mode - (Word 0)

J.arumugam PC - 100 44

Page 45: Stepper Motor Control AB

Output command Bits for Word 0

J.arumugam PC - 100 45

Page 46: Stepper Motor Control AB

Output command Bits for Word 0 cont…

J.arumugam PC - 100 46

Page 47: Stepper Motor Control AB

Programming Command Mode - (Word 1 to 7)

J.arumugam PC - 100 47

Page 48: Stepper Motor Control AB

Example files

J.arumugam PC - 100 48

Page 49: Stepper Motor Control AB

J.arumugam PC - 100 49

Page 50: Stepper Motor Control AB

J.arumugam PC - 100 50

Page 51: Stepper Motor Control AB

J.arumugam PC - 100 51