Choosing Components for the DRV8811 Stepper Driver
Avayan offers this great discussion of how to choose the passive components for the popular DRV8811 stepper driver, as well as some good insight into how the chip works. He writes:
The DRV8811 is clearly a bipolar stepper driver that makes our lives considerably easier. It is just so simple to drive a stepper with this powerful device, as well as similar internal indexer microstepping engines, who takes care of all the nuances of phase commutation and current control. Just supply your stepping rate in the form of a square wave with the desired frequency and a direction signal, and WALAS! Your motor moves!
Unfortunately, it is not as easy as it sounds. There are still a few components we need to add when it comes to properly polarizing the DRV8811 device. Other than the DRV8811 and the motor itself, we need a series of capacitors and resistors which will take the device from a semiconductor device to the ultimate stepper driver! Well, one of them, anyway…
Caps needed for the charge pump and the internal regulator are a piece of cake. The datasheet is more than clear than three ceramic caps of 0.22 uF value should go in between (1) CP1 and CP2, (2) VCP and VM and then (3) VGD to GND. The voltage? The CP1/CP2 and VCP/VM caps I would make 50V just to be safe. The VGD cap can be 16V as this is a 10V node.
But how about the components needed to properly configure the RC pins RCA and RCB? These are harder to allocate as now we need to understand what is going on with the current regulation engine! In fact, selecting these components is not a trivial endeavor. Make them too big and your switching frequency is too slow, with a high pitch squaling noise making your life miserable. Make them too small, and the switching losses increase, removing total power dissipation capability from the H Bridge’s power FETs. We need to match these values as close as possible to the optimal set of parameters in order to maximize out output. This task may seem daunting and annoying, but I assure you it is quite simple.
Adafruit has had paid day off for voting for our team for years, if you need help getting that going for your organization, let us know – we can share how and why we did this as well as the good results. Here are some resources for voting by mail, voting in person, and some NY resources for our NY based teams as well. If there are additional resources to add, please let us know – adafruit.com/vote
Stop breadboarding and soldering – start making immediately! Adafruit’s Circuit Playground is jam-packed with LEDs, sensors, buttons, alligator clip pads and more. Build projects with Circuit Playground in a few minutes with the drag-and-drop MakeCode programming site, learn computer science using the CS Discoveries class on code.org, jump into CircuitPython to learn Python and hardware together, TinyGO, or even use the Arduino IDE. Circuit Playground Express is the newest and best Circuit Playground board, with support for CircuitPython, MakeCode, and Arduino. It has a powerful processor, 10 NeoPixels, mini speaker, InfraRed receive and transmit, two buttons, a switch, 14 alligator clip pads, and lots of sensors: capacitive touch, IR proximity, temperature, light, motion and sound. A whole wide world of electronics and coding is waiting for you, and it fits in the palm of your hand.