1-Axis Stepper Motor Controller Wing

Purchase the 1-Axis Stepper Motor Controller Wing in the Gadget Factory Store.








Applications

  • Position Control Systems
  • Robotics
  • Plotters and Scanners

Revisions

Version 1.0: It was a very small sized board without the silkscreened table showing current settings. Because of smaller copper area, it had to be derated to 1.5A instead of 2.5A. We have a few of these boards around (PCBs only) if any one is interested.

Version 1.2: First successfully tested working prototype, it was green in colour.

Version 1.5: Production version, updated the silkscreen markings and was made in blue as all GadgetFactory power boards are.

Version 2.0: While v1.5 are intended to be used with Cocoons for development purposes, version 2.0 adds mounting holes to it so that they can be used independently as well. There are no design changes to this board.

Specifications

  • Integrated Stepper motor driver with dual H-bridge and built-in translator with microstepping support
  • ±2.5 A, 35 V output rating
  • Full, Half, Quarter and Eighth (with DRV8811) or Sixteenth (with A3979) step modes
  • 3.0 to 5.5 V logic supply voltage range
  • Slow, Fast or Mixed current decay modes
  • Home output
  • Synchronous rectification for low power dissipation
  • Internal UVLO and thermal shutdown circuitry
  • Crossover-current protection
  • Easy step/dir interface to host controller

Pinouts

PinNameDirectionFunction
1/SLEEPOutputActive low input to put device into low-power mode when not in use
2/ENABLEOutputActive low input to allow power output
3STEPOutputA rising edge on this input advances the motor by one step (see MS2:MS1)
4/RESETOutputActive low input, resets internal counters and disables output
6,5MS2:MS1OutputMicrostep selection, can select full, half, quarter or eighth/sixteenth of a step
7DIRECTIONOutputSets direction of the motor
8HOMEInputOutput indicates initial state of the internal translator, indicating one electrical rotation

The Prototype and BOM

PCB Manufacturing Info: PCB is 1.6x3 inch, double sided PTH, glass epoxy 2 oz/sqft laminate, with ident and components on the top side. Minimum track width is 8 mils. Minimum track spacing is 10 mils. Minimum hole size is 0.5 mm.

Bill of Materials

C1, C8, C9, C10, C11, C130.1uf/50V, 0603
C20.1uf/50V, 1206
C347uF/50V, Al-electrolytic
C4, C5, C120.22uF/50V, 0603
C6, C7680pF/50V, 0603
R1, R256K, 0603
R3, R40.2E/2W, 2512
R53.3K, 0603
R6, R72.2K, 0603
U1A3979SLP or DRV8811PWP
VR110K, Bourns 3386 type
J12-way Phoenix connector for Motor power
J24-way Phoenix connector for Motor windings
JP1Jumper

Using 1-Axis Stepper Motor Controller Wing

This Wing uses a 8-bit segment on a Butterfly Cocoon, like the S3E FPGA Cocoon.

The board has ample copper area for heat dissipation from the tiny A3979 (or DRV8811) with thermal vias on the underside of the chip to transfer heat from the exposed thermal pad.

  1. Use JP1 to select logic IO voltage between 5V or 3.3V that depends on the host device or the Cocoon.
  2. Microstep selection inputs can be set from your host i.e. the S3E FPGA pins to appropriate value.
  3. The logic inputs nRESET, nENABLE, nSLEEP, MS1, MS2 do not have any built-in pullup/pulldown resistors. They must be externally set to their active values.
  4. Phoenix connectors (terminal blocks) are used for easy integration of power sources and stepper motors.
  5. Variable resistor VR1 is used to set the current limit by setting the voltage that can be measured on the pad adjacent to the potentiometer. Resistor R7 ensures that the reference voltage stays within safe limits. The equation for current limit is:
V(ref) = 8 x I(trip) x R(sense)
R(sense) used on the board is 0.2E, therefore the reference voltage to set for desired current limit is:
V(ref) = 1.6 x I(trip)
A small table for reference voltage values for some values of current limit is printed on the silkscreen. Start with the lowest possible value and increase it gradually till you get adequate torque output from the motor.

Operational Limits and Precautions

  1. The maximum value of motor voltage recommended is 30V, and maximum recommended current limit is 2.25A, that is lower than documented limits. The 2.2K resistor R7 can be replaced with 5.1K one to ensure that the reference voltage never goes above 3.3V, to make maximum allowable current as 2.1A
  2. Do not move the stepper motor shaft when power is off as it can generate high voltage transients that may exceed 35V limit of the motor controller IC, leading to damage.
  3. Do not set too high a current limit for a given load at required speed as this may lead to overheating of the controller IC. Current draw is directly proportional to the load and required torque. Torque is inversely proportional to the speed at given current limit. Refer to your motor data for optimal settings.
  4. Always start at low speeds and gradually accelerate to desired speed, as torque output of the motor is high at lower speeds that can be used to overcome load inertia and get it into motion.

FPGA support

While this controller Wing can be operated by discrete IO signals from the FPGA or a microcontroller, a special peripheral core for the FPGA is being developed that will take care of applying timed pulses to the controller and also manage acceleration, deceleration and direction control through simple register interface. Please check the Stepper Controller Peripheral core project page.

Resources

Pictures

Board LayoutBoard Assembly
  • Click image for PDF.

<< MIDIAudioWing | wings list | MicroSDWing >>

  

Share |