Stepper motor drivers

Preamble

From Stepper Motor power supplies, a deleted link-only answer contained some useful links,

 

The answer

This answer stated

I would recommend adhering to the specs of the motor for power supply.

Please see the following for driver:

  1. AMIS-30543 Stepper Motor Driver Carrier
  2. 3A UNIPOLAR STEPPER MOTOR DRIVER

Link content#1

Overview

This product is a carrier board or breakout board for ON Semiconductor’s AMIS-30543 Micro-Stepping Motor Driver; we therefore recommend careful reading of the AMIS-30543 datasheet (495k pdf) before using this product. This stepper motor driver lets you control one bipolar stepper motor at up to 3 A output current per coil (see the Power Dissipation Considerations section below for more information). Here are some of the board’s key features:

  • Standard step and direction control interface
  • SPI interface for configuring settings (e.g. step mode, current limit, sleep) and reading status registers
  • Speed and load angle output that can be used for stall detection or closed-loop control of the torque and speed based on the load angle
  • Eleven different step modes: full-step (uncompensated, compensated 1-phase, or compensated 2-phase), half-step (uncompensated or compensated), 1/4-step, 1/8-step, 1/16-step, 1/32-step, 1/64-step, and 1/128-step
  • SPI-programmable current control (from 132 mA to 3 A) enables your microcontroller to adjust the peak-current limit on the fly as more or less torque or speed is needed
  • Intelligent chopping control that automatically selects the correct current decay mode (fast decay or slow decay)
  • Low-EMI PWM with SPI-selectable voltage slopes
  • Compatible with 5 V and 3.3 V microcontrollers
  • Integrated 5V regulator that can be used to supply an external microcontroller
  • Integrated watchdog function
  • Open coil detection
  • Thermal warning indicates when the driver is close to the thermal shutdown temperature
  • Over-current status and shutdown (short-to-ground and shorted-load protection)
  • Reverse voltage protection

Note: This driver needs to be enabled and configured through its SPI interface on power up, so your microcontroller must be capable of acting as an SPI master (either with an SPI peripheral or software SPI).

 

0j6374.1200

Included hardware

This product ships with all surface-mount components—including the AMIS-30543 driver IC—installed as shown in the product picture. However, soldering is required for assembly of the included through-hole parts. The following through-hole parts are included:

The 0.1″ male header can be broken or cut into smaller pieces as desired and soldered into the smaller through-holes. These headers are compatible with solderless breadboards, 0.1″ female connectors, and our premium and pre-crimped jumper wires. The terminal blocks can be soldered into the larger holes to allow for convenient temporary connections of unterminated power and stepper motor wires. You can also solder your motor leads and other connections directly to the board for the most compact installation.

 

 

0j6379.1200
0j6377.1200

Using the driver

Pinout

0j6381.450

PIN Description
VMOT Reverse-protected 6 V to 30 V board power supply connection. Note: Available VDD current is reduced for input voltages under 8 V, and sleep mode is not available for input voltages under 9 V.
VBB This pin gives access to the motor power supply after the reverse-voltage protection MOSFET (see the board schematic below). It can be used to supply reverse-protected power to other components in the system. It is generally intended as an output, but it can also be used to supply board power.
GND Ground connection points for the motor power supply and control ground reference. The control source and the motor driver must share a common ground.
MOTXP Motor output: “positive” end of phase X coil.
MOTXN Motor output: “negative” end of phase X coil.
MOTYP Motor output: “positive” end of phase Y coil.
MOTYN Motor output: “negative” end of phase Y coil.
VDD (5V OUT) The board is powered by an internal 5V regulator, and this pin gives access to the regulated 5 V output. This can be used to supply the neighboring IOREF pin when using this board in 5V systems, and it can be used to power an external microcontroller. When VMOT is over 8 V, approximately 30 mA is available for external components; when VMOT is less than 8 V, the available current drops to less than 10 mA.
IOREF All of the board signal outputs (except SLA) are open-drain outputs that are pulled up to IOREF, so this pin should be supplied with the logic voltage of the controlling system (e.g. 3.3V for use in 3.3V systems). For convenience, it can be connected to the neighboring VDD pin when it is being used in a 5V system.
NXT Changes on this input move the motor current one step up or down in the translator table (even when the motor is disabled). The edge that triggers the step depends on the NXT-polarity configuration bit, which can be changed through the SPI interface (rising edge by default).
DIR Input that determines the direction of rotation. The direction can also be controlled through the SPI interface.
DO SPI data output. (This pin is also often referred to as “MISO”.)
DI SPI data input. (This pin is also often referred to as “MOSI”.)
CLK SPI clock input.
CS SPI chip select input. Logic transitions on this pin are required for SPI communication, even if this is the only device on the SPI bus.
CLR Chip reset input. A logic high on this input clears all internal registers, except in sleep mode.
ERR Error output. This pin drives low to indicate that an error condition has occurred. The specific error can be determined by using the SPI interface to check the error flags.
POR/WD Power-on reset/watch dog function output. This pin provides an active-low signal that can be used as a reset input for an external microcontroller.
SLA (filtered) SLA (speed and load angle) output after a low-pass filter. The result is an analog voltage between 0  V and 5 V that indicates the level of the back-EMF voltage of the motor. This signal can be used for stall detection or closed-loop control of the torque and speed based on the load angle. Note: Since the output of this pin ranges from 0 V to 5 V regardless of IOREF, extra precautions should be taken when connecting this pin to a 3.3V device (such as passing it through an appropriate voltage divider).

General minimal wiring diagram

Minimal wiring diagram for connecting a microcontroller to an AMIS-30543 stepper motor driver carrier.
Minimal wiring diagram for connecting a microcontroller to an AMIS-30543 stepper motor driver carrier.

While the AMIS-30543 allows control of a stepper motor through a simple step (NXT) and direction (DIR) interface, it first needs to be enabled and configured through its SPI interface. This means that the controlling microcontroller must be capable of acting as an SPI master (either with an SPI peripheral or software SPI), and it must be connected to the DI, CLK, and CS pins. While the DO and ERR pins are not required to use this driver, it is generally a good practice to use them to monitor for error conditions.

Minimal wiring diagram (5 V systems only)

Minimal wiring diagram for connecting a microcontroller with a logic voltage of 5 V to an AMIS-30543 stepper motor driver carrier.
Minimal wiring diagram for connecting a microcontroller with a logic voltage of 5 V to an AMIS-30543 stepper motor driver carrier.

The AMIS-30543 has an internal 5 V regulator that can be used to supply IOREF in cases where the board is being used in 5 V systems. This internal regulator can also be used to supply the external microcontroller’s logic voltage if the regulator can deliver the required current, in which case there would be a wire from the AMIS-30543 VDD to the microcontroller VDD in the above diagram, and the “logic power supply” box would not be present.

Arduino library and example code

Controlling an AMIS-30543 stepper motor driver carrier with an Arduino-compatible #3104 A-Star 32U4 Mini SV.
Controlling an AMIS-30543 stepper motor driver carrier with an Arduino-compatible #3104 A-Star 32U4 Mini SV.

If you are new to the AMIS-30543 or stepper motors in general, our AMIS-30543 Arduino library can help you get started. The library provides basic functions for configuring and operating the driver using an Arduinoor Arduino-compatible controller. It also provides access to many of the driver’s advanced features and includes example sketches that show you how to use them.

Power dissipation considerations

The AMIS-30543 driver IC has a maximum current rating of 3 A per coil, but the actual current you can deliver depends on how well you can keep the IC cool. The carrier’s printed circuit board is designed to draw heat out of the IC, but to supply more than approximately 1.8 A per coil continuously, a heat sink or other cooling method is required. However, it is possible to use the SPI-configurable current limit to selectively deliver higher currents than this for short durations without overheating the driver.

This product can get hot enough to burn you long before the chip overheats. Take care when handling this product and other components connected to it.

Please note that measuring the current draw at the power supply will generally not provide an accurate measure of the coil current. Since the input voltage to the driver can be significantly higher than the coil voltage, the measured current on the power supply can be quite a bit lower than the coil current (the driver and coil basically act like a switching step-down power supply). Also, if the supply voltage is very high compared to what the motor needs to achieve the set current, the duty cycle will be very low, which also leads to significant differences between average and RMS currents.

Schematic diagram

AMIS-30543 stepper motor driver carrier schematic diagram.
AMIS-30543 stepper motor driver carrier schematic diagram.

This diagram is also available as a downloadable pdf: AMIS-30543 stepper motor driver carrier schematic (231k pdf)

Link Content#2

3A UNIPOLAR STEPPER MOTOR DRIVER

  • Rajkumar Sharma
  • 53704

    Views

  • medium
  • Tested

m031_2-1024x804

 

This tiny Unipolar stepper motor driver has been designed around SLA7078MPR IC from Sanken. It is a unipolar stepper Motor driver that can handle current up to 3 Amps and has micro-stepping up to 1/16 steps. On-board Jumpers are available to set the Micro-stepping and Preset (Potentiometer) to set the current.

The SLA7078MPR series motor driver ICs features unipolar drivers. The clock-in type input interface allows simplified control logic, and options for built-in sense current detection and load circuit short or open protection (patent pending) provide lower loss, and lower thermal resistance.

The built-in excitation distribution circuit (sequencer) allows motor control using only the CLOCK signal for simple operations (rotate/stop), with motor speed control by frequency input into CLOCK pin. This eliminates logic signal lines required for conventional phase-input methods, and reduces demand on heavily-used CPUs.

Unipolar stepper board is a high efficient stepper driver for Unipolar stepper motor and it has been designed for various application like robotics, control routers, lathes, mills, PCB drillers and engravers.

This board has been designed to be used in two ways, Stand Alone and Microcontroller Interface or Auto Half Current.

STAND ALONE

Just to Rotate Motor normally bellow inputs required:

  • Pulse (Step Pulse In) Frequency
  • Direction
  • 5V DC
  • GND
  • SYNC and REF doesn’t Required for this operation.

MICROCONTROLLER INTERFACE OR AUTO HALF CURRENT

For Micro-Controller Interface or Auto Half Current (while Motor is in Hold-State):

Usually In Motion control and CNC application stepper motor driver required auto Half Current function specially while motor is not moving and it’s in hold-state. For this operation SYNC and Ref required input signal.

  • SYNC input is for chopping synchronous function to protect from abnormal noises that may occasionally occur during the Motor Hold-State. This function can be operated by setting SYNC pin at high level.
  • Ref/Sleep1 – To set the half current in Motor Hold State this pin required appropriate voltage input. Also this pin can be use to driver in to sleep mode by just applying High level to this pin.

Note : To set the half current read SLA7078MPR data sheet.

SPECIFICATIONS

  • 10 Pin Header connector for signal inputs, Step, Dir., 5V, Sync, V Ref./Sleep
  • Reference Voltage VS Output Current: 0.1V to 0.45V, 0-3Amps
  • Micro-stepping via on board jumper settings
  • Micro-stepping possible : Full Step, Half Step, 1/4th Step, 1/8 Step 1/16 Step
  • Onboard preset for current adjustment
  • Supply input and stepper connection via screw terminal connector
  • Inbuilt fault protections in ic for over temp and short circuit
  • Power supply 12-42 VDC @ 3 A
  • For Normal Operation, V Ref. should be less than 1.5V, Applying a voltage greater than 2.0V ( High level) to VREF pin disables the drive and puts the motor in free state (Coast)

SCHEMATIC

sch1

PARTS LIST

bom2-e1447235984966

CONNECTION

m078_a

m078_b

CONFIGURATION

micr-setp-setings

PHOTOS

m412_300-228x228-500x500

VIDEOS

Unipolar Stepper Motor Driver 3Amps

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s