Difference between revisions of "Stepper Motor Controller Support"

Line 79: Line 79:
 
==Quick Links to our Stepper Motor Products:==
 
==Quick Links to our Stepper Motor Products:==
 
'''Stepper Motors:'''
 
'''Stepper Motors:'''
* Sanyo Pancake Stepper Motor (TE-113-000)
+
* [https://www.superdroidrobots.com/shop/item.aspx/1539/ Sanyo Pancake Stepper Motor (TE-113-000)]
* Stepper Motor Unipolar Bipolar 200 Steps Per Rev 42״8mm 4V 1.2 A Per Phase (TD-114-000)
+
* [https://www.superdroidrobots.com/shop/item.aspx/1540/ Stepper Motor Unipolar Bipolar 200 Steps Per Rev 42״8mm 4V 1.2 A Per Phase (TD-114-000)]
* Stepper Motor Bipolar 200 Steps Rev 28״5mm 4.5V 0.67 A Phase (TD-115-000)
+
* [https://www.superdroidrobots.com/shop/item.aspx/1541/ Stepper Motor Bipolar 200 Steps Rev 28״5mm 4.5V 0.67 A Phase (TD-115-000)]
* Stepper Motor Bipolar 200 Steps Rev 35ײ8mm 10V 0.5 A Phase (TD-116-000)
+
* [https://www.superdroidrobots.com/shop/item.aspx/1542/ Stepper Motor Bipolar 200 Steps Rev 35ײ8mm 10V 0.5 A Phase (TD-116-000)]
* Stepper Motor Bipolar 200 Steps Rev 35׳6mm 2.7V 1 A Phase (TD-117-000)
+
* [https://www.superdroidrobots.com/shop/item.aspx/1543/ Stepper Motor Bipolar 200 Steps Rev 35׳6mm 2.7V 1 A Phase (TD-117-000)]
 
'''Stepper Motor Controllers:'''
 
'''Stepper Motor Controllers:'''
* DRV8825 Stepper Motor Driver Carrier, High Current (TE-187-000)
+
* [https://www.superdroidrobots.com/shop/item.aspx/1544/ DRV8825 Stepper Motor Driver Carrier, High Current (TE-187-000)]
* A4988 Stepper Motor Driver Carrier (TE-188-000)
+
* [https://www.superdroidrobots.com/shop/item.aspx/1545/ A4988 Stepper Motor Driver Carrier (TE-188-000)]
* A4988 Stepper Motor Driver Carrier with Voltage Regulators (TE-189-000)
+
* [https://www.superdroidrobots.com/shop/item.aspx/1546/ A4988 Stepper Motor Driver Carrier with Voltage Regulators (TE-189-000)]

Revision as of 20:46, 2 September 2020

https://www.superdroidrobots.com/shop/custom.aspx/stepper-motor-and-controller-support/72/

Summary

Unlike standard DC motors that you apply a voltage and it will move continuously in a single direction, stepper motors have two sets of inputs that allow it to pulse in specific increments in order to control the exact position of the motor without the need for feedback sensors such as hall-effect or optical encoders.

Stepper motors are able to accomplish this thanks to multiple 'toothed' electromagnets arranged around a gear shaped piece of iron. When the attached stepper motor driver activates one set of windings and drops the other, the motor will turn to align to the activated set. Each one of these movements is called a 'step', hence the name 'stepper motor.' To hold the motor in place, both sets of windings are activated. To move in the opposite direction the order of the sets of windings are reversed.

This means that a stepper motor will require a specific stepper motor driver for it to operate correctly. Picture

Frequently asked questions:

I want to control a 3.9 V, 600 mA bipolar stepper motor like this, but your A4988 stepper motor driver carrier has a minimum operating voltage of 8 V. Can I use this driver without damaging the stepper motor?

Yes. To avoid damaging your stepper motor, you want to avoid exceeding the rated current, which is 600 mA in this instance. The A4988 stepper motor drivers let you limit the maximum current, so as long as you set the limit below the rated current, you will be within spec for your motor, even if the voltage exceeds the rated voltage. The voltage rating is just the voltage at which each coil draws the rated current, so the coils of your stepper motor will draw 600 mA at 3.9 V. By using a higher voltage along with active current limiting, the current is able to ramp up faster, which lets you achieve higher step rates than you could using the rated voltage.

How do I connect my stepper motor to the A4983 or A4988 stepper motor driver carrier?

The answer to this question depends on the type of stepper motor you have. When working with stepper motors, you will typically encounter two types: unipolar stepper motors and bipolar stepper motors. Unipolar motors have two windings per phase, allowing the magnetic field to be reversed without having to reverse the direction of current in a coil, which makes unipolar motors easier to control than bipolar stepper motors. The drawback is that only half of the phase is carrying current at any given time, which decreases the torque you can get out of the stepper motor. However, if you have the appropriate control circuitry, you can increase the stepper motor torque by using the unipolar stepper motor as a bipolar stepper motor (note: this is only possible with 6- or 8-lead unipolar stepper motors, not with 5-lead unipolar stepper motors). Unipolar stepper motors typically have five, six, or eight leads.

Bipolar steppers have a single coil per phase and require more complicated control circuitry (typically an H-bridge for each phase). The A4983 and A4988 have the circuitry necessary to control a bipolar stepper motor. Bipolar stepper motors typically have four leads, two for each coil.

Picture

The diagram above shows a standard bipolar stepper motor. To control this with the A4983 or A4988, connect stepper lead A to board output 1A, stepper lead C to board output 1B, stepper lead B to board output 2A, and stepper lead D to board output 2B. See the A4983/A4988 datasheet for more information.

If you have a six-lead unipolar stepper motor as shown in the diagram below:

Picture

you can connect it to the A4983 or A4988 as a bipolar stepper motor by making the bipolar connections described in the section above and leaving stepper leads A and B disconnected. These leads are center taps to the two coils and are not used for bipolar operation.

If you have an eight-lead unipolar stepper motor as shown in the diagram below:

Pcture

you have several connection options. An eight-lead unipolar stepper motor has two coils per phase, and it gives you access to all of the coil leads (in a six-lead unipolar motor, lead A is internally connected to C and lead B is internally connected to D). When operating this as a bipolar stepper, you have the option of using the two coils for each phase in parallel or in series. When using them in parallel, you decrease coil inductance, which can lead to increased performance if you have the ability to deliver more current. However, since the A4983 and A4988 actively limit the output current per phase, you will only get half the phase current flowing through each of the two parallel coils. When using them in series, it's like having a single coil per phase (like in four-lead bipolar steppers or six-lead unipolar steppers used as bipolar steppers). We recommend you use a series connection.

To connect the phase coils in parallel, connect stepper leads A and C to board output 1A, stepper leads A and C to board output 1B, stepper leads B and D to board output 2A, and stepper leads B and D to board output 2B.

To connect the phase coils in series, connect stepper lead A to C and stepper lead B to D. Stepper leads A, C, B, and D should be connected to the stepper motor driver as normal for a bipolar stepper motor (see the bipolar stepper connections above).

Picture

I want to control a 3.9 V, 600 mA bipolar stepper motor like this, but your DRV8825 stepper motor driver carrier has a minimum operating voltage of 8.2 V. Can I use this driver without damaging the stepper motor?

Yes. To avoid damaging your stepper motor, you want to avoid exceeding the rated current, which is 600 mA in this instance. The DRV8825 stepper motor drivers let you limit the maximum current, so as long as you set the limit below the rated current, you will be within spec for your motor, even if the voltage exceeds the rated voltage. The voltage rating is just the voltage at which each coil draws the rated current, so the coils of your stepper motor will draw 600 mA at 3.9 V. By using a higher voltage along with active current limiting, the current is able to ramp up faster, which lets you achieve higher step rates than you could using the rated voltage.

My DRV8825 stepper motor driver is overheating but my power supply shows it's drawing significantly less than 1.5 A per coil. What gives?

Measuring the current draw at the power supply does not necessarily 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: RMS current is what is relevant for power dissipation in the chip but many power supplies won't show that. You should base your assessment of the coil current on the set current limit or by measuring the actual coil currents.

Please note that while the DRV8825 driver IC is rated for up to 2.5 A per coil, the 0.5 W current sense resistors are only rated for 2.2 A, and the chip by itself will overheat at lower currents. We have found that it generally requires a heat sink to deliver more than approximately 1.5 A per coil, but this number depends on factors such as ambient temperature and air flow. For example, sealing three DRV8825 driver carriers in close proximity in a small box will cause them to overheat at lower currents than a unit by itself in open air.

How do I connect my stepper motor to the DRV8824 or DRV8825 stepper motor driver carrier?

The answer to this question depends on the type of stepper motor you have. When working with stepper motors, you will typically encounter two types: unipolar stepper motors and bipolar stepper motors. Unipolar motors have two windings per phase, allowing the magnetic field to be reversed without having to reverse the direction of current in a coil, which makes unipolar motors easier to control than bipolar stepper motors. The drawback is that only half of the phase is carrying current at any given time, which decreases the torque you can get out of the stepper motor. However, if you have the appropriate control circuitry, you can increase the stepper motor torque by using the unipolar stepper motor as a bipolar stepper motor (note: this is only possible with 6- or 8-lead unipolar stepper motors, not with 5-lead unipolar stepper motors). Unipolar stepper motors typically have five, six, or eight leads.

Bipolar steppers have a single coil per phase and require more complicated control circuitry (typically an H-bridge for each phase). The DRV8824/DRV8825 has the circuitry necessary to control a bipolar stepper motor. Bipolar stepper motors typically have four leads, two for each coil.

Picture

The above diagram shows a standard bipolar stepper motor. To control this with the DRV8824/DRV8825, connect stepper lead A to board output A1, stepper lead C to board output A2, stepper lead B to board output B1, and stepper lead D to board output B2. See the DRV8824 or DRV8825 datasheet for more information.

If you have a six-lead unipolar stepper motor as shown in the diagram below:

Picture

you can connect it to the DRV8824/DRV8825 as a bipolar stepper motor by making the bipolar connections described in the section above and leaving stepper leads A and B disconnected. These leads are center taps to the two coils and are not used for bipolar operation.

If you have an eight-lead unipolar stepper motor as shown in the diagram below:

Picture

you have several connection options. An eight-lead unipolar stepper motor has two coils per phase, and it gives you access to all of the coil leads (in a six-lead unipolar motor, lead A is internally connected to C and lead B is internally connected to D). When operating this as a bipolar stepper, you have the option of using the two coils for each phase in parallel or in series. When using them in parallel, you decrease coil inductance, which can lead to increased performance if you have the ability to deliver more current. However, since the DRV8824/DRV8825 actively limits the output current per phase, you will only get half the phase current flowing through each of the two parallel coils. When using them in series, it's like having a single coil per phase (like in four-lead bipolar steppers or six-lead unipolar steppers used as bipolar steppers). We recommend you use a series connection.

To connect the phase coils in parallel, connect stepper leads A and C to board output A1, stepper leads A and C to board output A2, stepper leads B and D to board output B1, and stepper leads B and D to board output B2.

To connect the phase coils in series, connect stepper lead A to C1 and stepper lead B to D. Stepper leads A, C, B, and D should be connected to the stepper motor driver as normal for a bipolar stepper motor (see the bipolar stepper connections above).

My A4988 stepper motor driver is overheating but my power supply shows it's drawing significantly less than 1 A per coil. What gives?

Measuring the current draw at the power supply does not necessarily 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: RMS current is what is relevant for power dissipation in the chip but many power supplies won't show that. You should base your assessment of the coil current on the set current limit or by measuring the actual coil currents.

Please note that while the A4988 driver IC is capable of supplying 2 A per coil, the chip by itself will overheat at lower currents. The carrier board PCB helps draw heat away from the IC, but we have found that it generally requires a heat sink to deliver more than approximately 1 A per coil (the Black Edition A4988 carrier has a four-layer PCB that lets it deliver up to around 1.2 A per coil without a heat sink), but this number depends on factors such as ambient temperature and air flow. For example, sealing three A4988 driver carriers in close proximity in a small box will cause them to overheat at lower currents than a unit by itself in open air.

Quick Links to our Stepper Motor Products:

Stepper Motors:

Stepper Motor Controllers: