Phidgets 1063 Скачать руководство пользователя страница 13

13

1063_0_Product_Manual - October 27, 2010 2:54 PM

Introduction to Stepper Motors

Stepper motors are broadly available motors commonly used for positioning.  

DC Motors are controlled by simply applying power which sends them blindly 

spinning.  Steppers Motors are controlled in a series of discrete steps, allowing 

them to be sent to a very precise position.  By repeating the set of steps 

over and over, the motor can be made to rotate while your system tracks the 

position.
Some steppers will require hundreds of steps to do a full rotation, while others, 

like the air core motor, can do a full rotation with only 4 steps.
The vast majority of steppers are built using two coils of wire, whose magnetism 

pulls or repels a rotating magnet attached to an exposed shaft.  Depending on 

how these two coils are available to wire up, we get 4, 5, 6 or 8 wire stepper motors.  

How does the 1063 control Stepper Motors?

The 1063 can be used to control 4, 6, or 8 wire bipolar stepper motors.
The PhidgetStepper Bipolar is most effective when used with stepper motors designed to be driven with a chopper 

drive stepper controller.  These motors are often large, with a rectangular industrial appearance.  The specifications 

of these motors are often confusing and may seem contradictory.  The relationship between maximum motor 

voltage, coil resistance, maximum current, and power supply voltage is not intuitive.  Under most circumstances, the 

1063 controls these parameters automatically.
The 1063 PhidgetStepper is different from many familiar stepper controllers.  Many stepper controllers rely on 

the resistance of the coils of wire inside the stepper motor to control the amount of current.  In fact, the 1062 

PhidgetStepper uses this simpler (and cheaper) method.  The 1063 uses high speed electronics and the magnetic 

field within the motor coils to control the current, effectively reducing the voltage to what is required for your motor.
The PhidgetStepper Bipolar can be used with smaller steppers that are designed to limit current through their own 

coil resistance.  Special attention must be paid to the CurrentLimit property set in software.  
The PhidgetStepper Bipolar uses constant current control to control the power flowing through the motor coils.  

The constant current is implemented by allowing the current in the coil to ramp up until it reaches a setpoint, then 

turning off the coil, allowing the current to recirculate and gradually reduce.  The coils being rapidly turned on/off 

produces a slightly audible whine.  
At low speeds, less than 1024 1/16th steps per second, the 1063 uses a microstepping scheme to allow precise 

control of the current to each coil, and therefore the position of the stepper.  It’s important to note that many 

steppers are not designed to be microstepped precisely, and will not accurately produce the expected angle.
At higher speeds, the 1063 switches to a full stepping mode.  The 1063 will automatically switch back to 

microstepping when approaching the target position.

How to connect your Stepper to the 1063

Introduction

Bipolar Steppers motors are available in 4, 6 or 8 wire configurations.  Driving a motor in the Bipolar Configuration 

produces maximum torque.  The word Bipolar means that the controlling electronics have to be able to produce a 

current flow in either direction in each coil, to produce magnetic fields in opposite directions.

Technical Section

Содержание 1063

Страница 1: ...Product Manual 1063 PhidgetStepper Bipolar 1 Motor ...

Страница 2: ...Phidgets 1063 Product Manual For Board Revision 0 Phidgets Inc 2009 ...

Страница 3: ...nux 8 If you are using Windows Mobile CE 5 0 or 6 0 9 Programming a Phidget 9 Architecture 9 Libraries 9 Programming Hints 9 Networking Phidgets 10 Documentation 10 Programming Manual 10 Getting Started Guides 10 API Guides 10 Code Samples 10 API for the PhidgetStepper Bipolar 1 Motor 10 Functions 12 Events 13 Technical Section 13 Introduction to Stepper Motors 13 How does the 1063 control Stepper...

Страница 4: ...trol your motor 16 Continuous Rotation 17 Disabling the PhidgetStepperBipolar 17 Starting the motor 17 High Precision Applications 17 Synchronization of multiple motors 18 Digital Inputs 18 Using the Digital Inputs 20 Functional Block Diagram 20 Digital Input Hardware Filter 20 Digital Input Sampling Characteristics 21 Device Specifications 21 Product History 21 Support ...

Страница 5: ...torque Includes 4 digital inputs which can be used to convey the state of push buttons limit switches relays logic levels etc Programming Environment Operating Systems Windows 2000 XP Vista 7 Windows CE Linux and Mac OS X Programming Languages APIs VB6 VB NET C NET C Flash 9 Flex Java LabVIEW Python Max MSP and Cocoa Examples Many example applications for all the operating systems and development ...

Страница 6: ...lar stepper motor A length of wire When using a power supply with a barrel connector make sure that your power supply has center positive polarity You should have received A PhidgetStepperBipolar 1 Motor Controller Board A USB Cable Connecting all the pieces Testing Using Windows 2000 XP Vista Downloading the Phidgets drivers Make sure that you have the current version of the Phidget library insta...

Страница 7: ...the Velocity Limit Use the Acceleration slider to increase or decrease the 5 acceleration Use the Current Limit slider to modify the current going through 6 the motor and affect torque When the motor has reached the position target a tick mark will 7 appear in the Stopped box Move the Current Position slider to change the position the device 8 is currently at To test the Digital input connect a wi...

Страница 8: ...ave to be run as root or udev hotplug must be configured to give permissions when the Phidget is plugged in If you are using Windows Mobile CE 5 0 or 6 0 Go to www phidgets com Drivers Download x86 ARMV4I or MIPSII depending on the platform you are using Mini itx and ICOP systems will be x86 and most mobile devices including XScale based systems will run the ARMV4I The CE libraries are distributed...

Страница 9: ... VBA Delphi and Labview The ActionScript 3 0 Library relies on a communication link with a PhidgetWebService see below ActionScript 3 0 is used in Flex and Flash 9 Programming Hints Every Phidget has a unique serial number this allows you to sort out which device is which at runtime Unlike USB devices which model themselves as a COM port you don t have to worry about where in the USB bus you plug ...

Страница 10: ...samples written for your device Find the language you want to use and click on the magnifying glass besides Code Sample You will get a list of all the devices for which we wrote code samples in that language API for the PhidgetStepper Bipolar 1 Motor We document API Calls specific to this product in this section Functions common to all Phidgets and functions not applicable to this device are not c...

Страница 11: ... the maximum speed that the 1063 can drive your motor at double VelocityMin int MotorIndex get VelocityMin is the minimum VelocityLimit the PhidgetStepper can accept In the case of the 1063 this will always return 0 Functionally it is the minimum speed that the 1063 can drive your motor at For very low speeds you can increment position inside a slow software based timing loop Note that if Velocity...

Страница 12: ...ducing the current limit is often useful when the motor just has to hold a position Please review the section of the manual on determining an appropriate current limit CurrentLimit should be set explicitly before beginning to use the motor double CurrentMax int MotorIndex get Constant CurrentMax is the largest CurrentLimit value the PhidgetStepper can accept In the case of the 1063 this will alway...

Страница 13: ...f the coils of wire inside the stepper motor to control the amount of current In fact the 1062 PhidgetStepper uses this simpler and cheaper method The 1063 uses high speed electronics and the magnetic field within the motor coils to control the current effectively reducing the voltage to what is required for your motor The PhidgetStepper Bipolar can be used with smaller steppers that are designed ...

Страница 14: ...ipolar motor there is two wires one for each coil which are the center taps for each coil You will need to isolate which are the center tap wires and the corresponding wires for their coil These center taps are left unconnected to operate as a bipolar Let s assume our six wire stepper motor wires are colored as follows red green black white brown and yellow We measure the resistance between all wi...

Страница 15: ...t to C 3 Choose one wire from the remaining pair 2 possibilities and connect to the wire from Step 3 not connected to 4 C The remaining wire from this pair is connected to D After trying each permutation engage the motor from software and try to rotate it Do not connect the pairs to 5 anything as if you were using a 6 wire stepper in bipolar mode If you attempt to use this algorithm build a table ...

Страница 16: ... Step position is controlled in a graduating scale dependant upon the speed of the motor Up to 1016 1 16th steps second shaft angle is affected in 1 16th step increments 1024 1 16th steps second and higher shaft angle is affected in full step increments The position property always contains a count of 1 16th steps Maximum velocity is controlled in 1 16th steps second up to 32768 1 16th steps secon...

Страница 17: ...n some holding torque while consuming less power Starting the motor When the steppers are first engaged from software the stepper motor likely will not be at the same state as the default output state of the controller This will cause the stepper to snap to the position asserted by the controller potentially moving by 2 full steps High Precision Applications Stepper motor precision is limited by t...

Страница 18: ...ltage Required to sw itch is dependent on VG USER APPLICATION VS1 Q1 INPUT GROUND Phidget Digital Input 100nF 15K 15K 5V 5V NPUT GROUND Phidget Digital Input x1 Monitoring the position ofa Relay K 1 Isolating a Digital Input w ith an Optocoupler Detail of Digital Input USER APPLICATION Relay contact causes Digital Input to report TRUE Current through LED causes Digital Input to rep Using an FSR as...

Страница 19: ...ith an NPN Transistor Collector Emitter Current 270uA causes Digital Input to report TRUE Collector Emitter Current 67uA guarantees Digital Input to report FALSE Drain Source Current 270uA causes Digital Input to report TRUE Drain Source Current 67uA guarantees Digital Input to report TRUE USER APPLICATION USER APPLICATION 10K R1 VS1 1K R1 VS1 U1 OptoCoupler INPUT GROUND Phidget Digital Input INPU...

Страница 20: ...the digital input is guaranteed to be reported as true in software This makes the digital input much more sensitive to reporting TRUE state and makes it useful to watch for short events Any Digital Input True events of less than 1 5ms are never reported FSR USER APPLICATION FSR Resistance rising above 75k Ohms causes Digital Input This design can be used w ith any variable resistance sensor Q1 Col...

Страница 21: ...000 1 16th steps second2 Acceleration Limit 1 020 000 1 16th steps second2 Maximum Top End Torque 1 000 oz in 2 5 amps Digital Input Update Rate 125 samples second Digital Input Pull Up Resistance 15K ohms Digital Input Recommended Wire Size 16 26 AWG Minimum Power Supply Voltage 9V Maximum Power Supply Voltage 30V Max Current Per Coil 2 5A USB Power Current Specification 100mA Product History Dat...

Отзывы: