PIC-STEP Stepper Motor Controller Board

Similar documents
DMX-K-DRV. Integrated Step Motor Driver + (Basic Controller) Manual

TCP/IP MODULE CA-ETHR-A INSTALLATION MANUAL

Micro-Step Driving for Stepper Motors: A Case Study

UIM2901-5A MACH3 breakout board

ARDUINO SEVERINO SERIAL SINGLE SIDED VERSION 3 S3v3 (REVISION 2) USER MANUAL

Troubleshooting and Diagnostics

Whale 3. User Manual and Installation Guide. DC Servo drive. Contents. 1. Safety, policy and warranty Safety notes Policy Warranty.

Data Sheet. Adaptive Design ltd. Arduino Dual L6470 Stepper Motor Shield V th November L6470 Stepper Motor Shield

ABB Drives. User s Manual HTL Encoder Interface FEN-31

Advanced Data Capture and Control Systems

MS830 / MS833 Barcode Reader v1.0 9-December-2014

Brushless DC Motor Controller Product Specification Assembly 025F0129

XS-3525/8S-3. Preliminary DataSheet Version 2.02

UniPi technical documentation REV 1.1

Application/Connection Examples

2-Port RS232/422/485 Combo Serial to USB2.0 Adapter (w/ Metal Case and Screw Lock Mechanism) Installation Guide

Microstep Driver Manual Version 6/13/2006

MANUAL FOR RX700 LR and NR

CAUTION! THE 7I29 USES VOLTAGE AND POWER LEVELS THAT REPRESENT A HAZARD TO LIFE AND LIMB.

BIT COMMANDER. Serial RS232 / RS485 to Ethernet Converter

PolyBot Board. User's Guide V1.11 9/20/08

When any of the following symbols appear, read the associated information carefully. Symbol Meaning Description

Three Axis TB6560 CNC Driver Users Manual

Programmable set for Ethernet Modbus/TCP in IP67 TI-BL67-PG-EN-2

SYSTEM 4C. C R H Electronics Design

AN : Using Wago CANOpen IO

GLOLAB Two Wire Stepper Motor Positioner

Ocean Controls RC Servo Motor Controller

with Electronic Assistant

KTA-223 Arduino Compatible Relay Controller

DK40 Datasheet & Hardware manual Version 2

STEPPER-MOTOR BOARD IN DETAIL

Configuring the Siemens TC35 modems for use with the MI2292

Four/Five Axis TB6560 CNC Driver Users Manual

INSTALLATION INSTRUCTIONS

USB / Data-Acquisition Module NOW LEAD-FREE

PCAN-MicroMod Evaluation Test and Development Environment for the PCAN-MicroMod. User Manual. Document version ( )

Work with Arduino Hardware

Analog Servo Drive 25A8

Mini Breakout-Board. CNC Interface for LPT Port. Installation Manual Version 4

- 35mA Standby, mA Speaking pre-defined phrases with up to 1925 total characters.

Bluetooth HC-06 with serial port module Easy guide

MDC Series

MC433 Stepper Motor Controller

Pololu DRV8835 Dual Motor Driver Shield for Arduino

RS232C < - > RS485 CONVERTER S MANUAL. Model: LD15U. Phone: / 97 / 98 (M)

M68EVB908QL4 Development Board for Motorola MC68HC908QL4

1-Port R422/485 Serial PCIe Card

HARDWARE MANUAL. BrightSign HD120, HD220, HD1020. BrightSign, LLC Lark Ave., Suite 200 Los Gatos, CA

Modification of an AOR AR-8600 receiver to tune it with a ACECO FC-3002 frequency finder

1. SAFETY INFORMATION

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

USB to RS-422/485 Serial Adapter

QUICK START GUIDE FOR DEMONSTRATION CIRCUIT BIT DIFFERENTIAL ADC WITH I2C LTC2485 DESCRIPTION

RS232 Board datasheet

DS9490R/DS9490B USB to 1-Wire/iButton Adapters

Table of Contents Getting Started... 3 The Motors... 4 The Control Board... 5 Setting up the Computer with Mach Starting up the Equipment...

Six-servo Robot Arm. DAGU Hi-Tech Electronic Co., LTD Six-servo Robot Arm

SYSTEM 45. C R H Electronics Design

HMI display Installation Guide

USBSPYDER08 Discovery Kit for Freescale MC9RS08KA, MC9S08QD and MC9S08QG Microcontrollers User s Manual

OPLC Installation Guide

User manual Compact Web PLC WP240 series IEC-line

EasyPIC4 User s Manual

RPLIDAR. Low Cost 360 degree 2D Laser Scanner (LIDAR) System Development Kit User Manual Rev.1

Sierra Dual 24 Volt Brushless DC Motor Controller Product Specification

RS - SPM. Serial parallel translator module

How to connect to a Class II router using a mobile-phone data cable specifically for Solwise & Safecom routers

Series LC6D/LC6C. To power supply PLC. LC6C dedicated teaching box P.971. Options P.973

Bluetooth UART/RS232 Module

PRODUCTIVITY THROUGH INNOVATION 600 CONTROL DIRECT DRIVE TECHNICAL/OPERATION MANUAL

Designing VM2 Application Boards

AC-115 Compact Networked Single Door Controller. Installation and User Manual

Electronic Rotary Table Divider V2.1 Construction

How to setup a serial Bluetooth adapter Master Guide

Universal Serial Bus (USB) to DH-485 Interface Converter

K128. USB PICmicro Programmer. DIY Electronics (HK) Ltd PO Box 88458, Sham Shui Po, Hong Kong. mailto:

WinLIN Setup and Operation:

Advanced LED Controller (LED Chaser)

Manual Serial PCI Cards

T0118 T2118 T3118. Instruction Manual

Servo Motors (SensorDAQ only) Evaluation copy. Vernier Digital Control Unit (DCU) LabQuest or LabPro power supply

L297 STEPPER MOTOR CONTROLLERS

ProCod. User Manual. Programming software for TWK - Encoders Series CRF and DAF CRF DE 08 / 10

MAX6683 Evaluation System/Evaluation Kit

Orbit PCI Mk 2 Network Card. User Manual. Part No Issue 4

GENERATOR START CONTROL MODULE - MINI (2 Wire to 3 Wire)

STIM202 Evaluation Kit

RGB for ZX Spectrum 128, +2, +2A, +3

In-System Programmer USER MANUAL RN-ISP-UM RN-WIFLYCR-UM

2 Port RS232/422/485 PCI Serial Adapter Card ESD Protection

INTELLIGENT CONTROL MODULE SA-2000-II HARDWARE MANUAL. Access Technologies International, Inc.

EDI Distributor Control Interface Wiring and Setup Instructions

BLWR23MDA Series. 24V, 15A Brushless Controller / Motor. User s Guide. 910 East Orangefair Lane, Anaheim, CA info@anaheimautomation.

Pmod peripheral modules are powered by the host via the interface s power and ground pins.

RS-232 Baud Rate Converter CE Model 232BRC Documentation Number 232BRC-3903 (pn5104-r003)

RN-XV-RD2 Evaluation Board

Model 201 Wiegand Touchpad Reader Installation Guide

RF Power Amplifier PA10W Owner s Manual SpinCore Technologies, Inc.

28 Volt Input - 40 Watt

Transcription:

J R KERR AUTOMATION ENGINEERING PIC-STEP Stepper Motor Controller Board The PIC-STEP board, based on the PIC-STEP stepper motor controller chip, is an integrated indexer and driver for bipolar stepper motors. It is compatible with the PIC-SERVO and PIC-I/O modules and provides the following capabilities: Integrated bipolar chopping driver - drives up to amps per phase at up to v. Full-step and half-step stepping modes. Profiled velocity and trapezoidal position modes with programmable velocity and acceleration. Step rates up to 0,000 steps per second - the board may also be used with external microstepping drivers. Limit switch inputs, e-stop input, thermal sensor input, as well as auxiliary input and output bits. RS serial interface allows up to NMC modules (PIC-STEP, PIC-SERVO or PIC-I/O) to be controlled from a single serial port. Connects to an RS port through commonly available adapters or using the Z- converter board. The " x " board can be stacked with other NMC controller boards. Test software provided including Window9/9 test example source code.. Quick Start What you will need: PIC-STEP Board Z- Converter Board (or equivalent) -phase stepper motor Motor power supply (. - vdc) External heat sink Logic power supply (. - vdc, 00 ma) 0 pin flat ribbon cable with standard IDC socket connectors at both ends Straight DB9 male / DB9 female cable to PC COM port PC compatible computer running Windows9/9 Test software - NMCTest.zip for Windows9/9 (download software from http://www.jrkerr.com) Interconnections and Jumpers: Basic interconnections and jumpers are shown in Figure for both a single module and for a multiple module configuration. Modules may be PIC-STEP, PIC-SERVO or PIC-I/O modules. On CAUTION The PIC-STEP board does not incorporate safeguards for fail-safe operation. As such, this board should not be used in any device which could cause injury, loss of life, or property damage. J.R. Kerr makes no warranties whatsoever regarding the performance, operation, or fitness of this board for any particular purpose.

the Z- converter, jumpers JP and JP are installed in the - position for use as a simple converter. Jumper JP is installed to distribute logic power to the controller boards over the communications cable. Logic power is supplied on connector JP. (If you are not using the Z- converter, please refer to the pin definitions for JP and JP in Section. for connecting logic power and RS signals from your RS COM port.) On the PIC-STEP board, jumpers JP and JP are installed to connect logic power supplied by the communications cable to the board's logic supply. Connector JP should be left unconnected. In the single module configuration, the three jumpers near the label JP (JP, JP and JP) should be installed as shown. In the multiple module configuration, these jumpers should only be installed on last module furthest from the PC host; on all other modules, these jumpers should be left uninstalled. The motor power supply should be connected to the two uppermost screw terminals, with. - vdc connected to the terminal towards the edge of the board and connected to the adjacent terminal as shown in Figure. The motor should be connected to the DB connector labeled P. Please refer to Section. for P pin definitions. Heat Sinking - Important! The heat sink tab of the L9 power amplifier chip must be screwed to an aluminum heat sink to prevent the amplifier from over heating. (The amplifier is thermally protected, but it will not function properly when it gets too hot.) The heat sink should be capable of dissipating w. If a simple aluminum plate or part of a metal case is used, it should have approximately sq.in. exposed to ambient air. Note that the heat sink tab is electrically connected to ground, and that a heat sink insulator should be used if you need to isolate the heat sink from ground. Loading and Running Software: Unzip (using PKUNZIP) NMCTEST.ZIP into a single directory. Before starting up the test code, make sure all of your jumpers and interconnections are as shown in Figure. Also make sure you have logic power supplied to the Z- converter. Run the program NMCTest.exe. You will be prompted for the COM port and baud rate you would like to use. Choose the appropriate COM port, and initially, use a baud rate of 900. The program will attempt to locate NMC (Networked Modular Control) modules (PIC-I/O, PIC- SERVO or PIC-STEP), connected to the selected COM port. If no modules are found, make sure that everything is connected correctly, that jumpers are set correctly, and that logic power is applied. Click on Reset Network to try again or with a different COM port. Once modules are found, the list box on the left side of the window will display the list of modules found. Module will be the last controller which is furthest from the host PC. Clicking on different modules in the list will display the status and controls for that particular module. Click on one of your PIC-STEP modules.

The PIC-STEP control panel will display all of the module s inputs and allow you to control the outputs. Operation of the PIC-STEP from this control panel is fairly straightforward, but you can click on the Help button for specific details of operation. To run your motor, select the Ignore Limits and Ignore E-stop options in the Motion Parameters panel, and then click on the Set Motion Parameters button. Next, turn on your motor power supply; you should see the Motor Power indicator light up in the Motor Status panel. Lastly, click on the Enable Amp button in the Motor Commands panel; the Amp Enabled indicator should light up, and the motor shaft should be locked into position. By default, the motor holding current is set to 0 out of, and the running current is set to 0 out of. A value of corresponds to a current limit of. amps per phase. Because the continuous current limit for the amplifier is only.0 amps per phase, the running and holding current limits should never be set higher than a value of except under special circumstances. For now, try setting the running current limit equal to the motor s rated current (for a rated current of.0 amp, you would use a value of 9) and setting the holding current limit to half that value. Finally, to make the motor actually move, set a motor speed of about 0, an acceleration of, select Velocity Mode, and then click on the GO button. The motor should accelerate to a speed of 00 steps per second (0 x steps per second if x speed mode is being used.) Clicking on the Stop button will cause the motor to decelerate to a stop. You can also try entering a position, in steps, selecting Position Mode, and then click on GO again. The motor should run to the commanded position and then stop. At this point, you should check to make sure that your motor and the amplifier chip are not getting too hot. If they are, lower the running and/or holding current limit values. Now that you are up and running, you should review the rest of this document, as well as reading the PIC-STEP chip data sheet for a complete description of its features and operation.

Single Module Configuration Z- Converter JP +9v JP PIC-STEP Module JP JP.-VDC DB9 Straight M/F to PC COM Port JP JP JP JP 0 wire ribbon cable JP JP JP JP Multiple Module Configuration PIC-STEP or other NMC module JP JP JP JP JP JP JP JP JP JP JP JP Z- Converter JP +9v JP JP JP DB9 Straight M/F to PC COM Port JP JP JP JP 0 wire ribbon cable JP JP JP JP CAUTION: Connecting communications cables incorrectly, or installing jumpers JP, JP and JP (on the PIC-STEP board) in the wrong location may damage the PIC-STEP or other NMC controller chip! Figure - Basic Interconnections.

. Connectors and Jumpers. Pinouts Motor Connector P (DB female) Pin Definition Phase A+ Phase B+ LED Drive (connects to +v through a 0 ohm resistor) Limit switch input (active HIGH) Limit switch input (active HIGH) E-Stop input (active HIGH) Thermistor input +v (output) 9 Phase A- 0 Phase B- LED Drive (connects to +v through a 0 ohm resistor) Limit Switch return () Limit Switch return () E-Stop return () Thermistor return () Power Connector P (Screw Terminals) Pin Definition Motor power input (. - vdc) - at upper edge of board Ground External Amplifier Connector P (0.00 -pin header) Pin Definition Step signal output (on left) Direction signal output Output Output Output Output Input (on right)

Network Connectors JP, JP (0 pin shrouded header - x, 0.00 spacing) Pin Definition RCV+ (Z- XMT+) RCV- (Z- XMT-) XMT+ (Z- RCV+) XMT- (Z- RCV-) ADDR_IN on JP, ADDR_OUT on JP Logic power (. - vdc) 9 Logic power (. - vdc) 0. Jumpers PIC-STEP Board Jumpers: Jumper Description JP Connects ADDR_IN to. Insert jumper for the last module on the network (or if only module is used) JP,JP Enables termination resistors on RX and TX. Insert these jumpers for the last module on the network (or if only module is used). JP,JP Logic power interconnection. Inserting JP connects logic power to network connector JP. Inserting JP connects logic power to JP. These are used to control the distribution of logic power over the network cables. Normally both of these jumpers are installed.. Board Dimensions Board dimensions:. x. Overall dimensions (LxWxH):. x. x.0 Mounting holes: 0. dia places (.0 x. ). Ordering Information Part Number Description KAE-TV-BDV PIC-STEP Stepper Motor Controller Board. PIC-STEP Board Description The PIC-STEP board is an integrated stepper motor driver and indexer compatible with PIC- SERVO and PIC-I/O controller modules. The board is designed so that up to modules can be connected directly to a single standard serial port (using an RS-RS converter if necessary).. PIC-STEP Controller Chip The heart of the PIC-STEP controller board is the PIC-STEP controller chip. It controls all of the communications, motion profiling functions and interfaces directly to the stepper amplifier. Please

refer to the PIC-STEP data sheet for details on the PIC-STEP command set and communications protocol.. On-board Amplifier The PIC-STEP board includes an integrated bi-polar chopping amplifier for driving -phase stepper motors in full-step or half-step modes. The amplifier will drive up to amps/phase from a supply voltage ranging from. to vdc. The amplifier may be over driven for short periods (less than seconds) with currents up to. amps per phase. The current limit can be set using the PIC-STEP controllers Set Parameters command. A running or holding current value of corresponds to the full. amps/phase. The running and holding currents should both be set to below a value of (corresponding to amps per phase) to insure save operation. Heat Sinking The PIC-STEP board is shipped without a heat sink attached to the power tab of the amplifier chip (L9) because the size of the heat sink required will vary considerably with the application. At full power, the heat sink should be able to dissipate at least w of heat. The maximum case temperature of the L9 should not exceed C. For very small motors drawing less than 00 ma, no heat sink is necessary. The L9 amplifier does have internal over temperature protection, but a heat sink is still required for normal operation for most applications. Amplifier Mode Control The PIC-STEP has several outputs connected to the L9 amplifier controller chip to specify its mode of operation: Signal Description AMP_EN Connects to the enable input of the L9. Setting this output HIGH or LOW (using the Stop Motor command) turns on or off the current to the motor. CUR_LIM This PWM output of the PIC-STEP connects to the Vref input of the L9 through a resistor network to control the running and holding current driving the motor. Use the Set Parameters command with running and holding current limit values of less than for safe operation. HSTEP OUTPUT of the PIC-STEP is connected to the half-step/full-step control pin of the L9. Setting this pin HIGH using the Set DECAY Outputs command will specify half-step mode. OUTPUT of the PIC-STEP is connected to fast/slow decay mode control for the L9. This output should always be set using the Set Outputs command to specify the slow decay mode. Fast decay mode should not be used. SETHOME OUTPUT of the PIC_STEP is connected to Reset pin of the L9, forcing the driver into state of its (or ) state step cycle. This bit should be set using the Set Outputs command for normal operation.

The HSTEP, DECAY, and SETHOME signals, as well as the STEP and DIRECTION signals appear on connector P for controlling the mode of an external stepper driver. An additional auxiliary output also appears on this connector. Please refer to the data sheet for the L9 stepper motor controller chip from SGS Thompson (www.st.com) to learn more about the various control modes.. Control Inputs The PIC-STEP board has several inputs for responding to external events: Signal Description LIMIT, These limit switch inputs can be used for homing or for LIMIT automatically stopping the PIC-STEP on over-travel. A mechanical switch or an open-collector NPN transistor can be placed between these inputs and ground. The limit switches can also be ignored using the Set Parameters command. E-STOP This input can be used as an emergency stop signal to stop the motion of the motor. E-Stop can be ignored using the Set Parameters command. THERM This input can be connected to a 0 KOhm Negative Temperature Coefficient thermistor mounted on the motor (the other thermistor lead connects to ground) to cause the PIC-STEP amplifier to shut down automatically when a temperature limit is exceeded. The actual temperature limit is programmable using the Set Parameters command. Because the thermistor lowers in resistance as the temperature increases, a lower thermal limit value will correspond to a higher temperature threshold. A thermal limit value of zero will disable the external thermal overload protection. HOME The HOME_SWITCH input of the PIC_STEP is connected to HOME output of the L9. This input goes HIGH whenever the amplifier is in state of its or state step cycle. This input can be used in conjunction with the limit switches for more accurate homing. AUXIN This undedicated input can be read through the PIC-STEP s serial interface The LIMIT, LIMIT, E_STOP and THERM inputs appear on connector P, and AUXIN appears on connector P. LIMIT, LIMIT, E_STOP, THERM and AUXIN all have.kohm pull-up resistors to +vdc.

. Contact Information Additional information may be found from these sources: J R Kerr Automation Engineering www.jrkerr.com Information about the PIC-SERVO and PIC-STEP motor controllers and related products including ordering information, product documentation and test software. Data sheets, application notes and test code may be downloaded from the page: http://www.jrkerr.com/docs.html. Technical support is provided via e-mail. Send your questions to techsupport@jrkerr.com. HdB Electronics www.hdbelectronics.com Distributor of the PIC-STEP and PIC-SERVO products as well as of other electronic components, accessories and tools. 9

9.0 PIC-STEP Board Schematic Diagram COM R R R R R R R RN.K ADDR_OUT ADDR_IN C0 pf X 0MHz C pf U MCLR OUT THERM TEMP_SENS OUT ADDR_OUT OUT LIMIT LIMIT OUT ADDR_IN OUT HOME HOME_SW IN LIMIT LIMIT IN ESTOP 9 OSC 0 OSC DIR RX STEP TX CUR_LIM XMT_EN PWR_SENSE AMP_EN PIC-STEP PWR_SENSE 0 9 AUXOUT SETHOME DECAY HSTEP AUXIN STOP ADDR_IN LIMIT LIMIT STOP THERM HOME AUXIN P STEP DIR HSTEP DECAY SETHOME AUXOUT AUXIN PWR_SENSE R 00K R 00K C 0uf P JP JP JP JP R 0 ohm /w JP R 0 ohm /w JP 9 0 JP 9 0 0 9 U A B Z Y NC NC LTC9 NC R RE DE D CUR_LIM R 0K C9 0.uf R0.K R9.k STEP DIR HSTEP SETHOME AMP_EN DECAY HOME R 0K U STEP_CLK CW/CCW 9 HALF/FULL 0 RESET 0 ENABLE CONTROL Vref HOME OSC C L9.nf External A B INH SENS C 9 D INH SENS SYNC U IN IN 0 IN IN EN_B L9 R R.K.K V+ OUT OUT EN_A CS_A R 0 ohm R 0 ohm C C R 0.0uf 0.0uf 0. ohm, w OUT OUT CS_B R 0. ohm, w D D D D D D D D R 0 R 0 D - D = UF00 P A A* 9 B B* 0 LIMIT LIMIT STOP THERM DB JP D9 N00 C 0uf U 0 Vin Vout C 0uf C 0.uf C 0.uf C C 0.uf 0.uf PIC-STEP Motor Control Board J.R. Kerr Automation Engineering www.jrkerr.com techsupport@jrkerr.com Drawing Number Version Sheet of