So in this article I want to finish talking about motor drivers. I want to try to keep this short, so next time I will talk about driver modules you can buy from some of the vendors I have mentioned in previous articles.
Driver Chips
Some of you might be wondering why I am not building my own h-bridge for driving motors. I could build my circuit from transistors or MOSFETs, but I like the ease of use and the extra features that you find with a driver chip. Anyway I started looking at the chips I know about.
I could go with the TC4427A. It is really a MOSFET driver IC, but because I am using small motors I can get away with using this chip. For each motor I will need 2 of these chips to drive it. The TC4427A is only a half bridge chip, and you need a full bridge to control motor direction along with speed. So this solution would need 4 chips and a few resistors – not bad.
How about a Freescale MC33887 or the similar MC33926. These chips have many features including overvoltage and overcurrent protection, fault status output, and chip disable inputs. They sound great with the only issue being they only come in surface mount packages. This is not a problem for me, but for others following along who want to build this same board it could be an issue. Still I like these drivers and might make an adapter board later.
So for the same reason above the ST Microelectronics VNH2SP30 and 3SP30 just don’t factor into the picture. They can handle higher currents than the MC33887, but the surface mount package is even more difficult to deal with. In a later article I will talk about some options you have.
I decided to look at Allegro Micro Systems. They have a few drivers that would work well for the small DC motors I plan to use. Some of their chips I would look at are the A3950, A3959, and the A3968. Again we run into the problem of surface mount technology. The only chip, from my list, that comes in a DIP form is the A3959. It is a good chip with more than enough drive current for small motors. Since the IC is only a single full bridge I would need 2 of them. They come in a DIP 24 pin package, so that would take up a little extra room, but still this looks like a good option.
One of the old standby chips still in use is the L293D and the alternate part SN754410. They provide 2 complete full h-bridges for controlling 2 small DC motors. They cannot handle as much current as the other chips I have mentioned so far. You need to be careful and check your motors data sheet for its maximum stall and continuous current ratings. Verify that the L293D can handle that amount of current. Other than that, you need a hex inverter chip to properly drive the inputs to the L293D. So it is still a 2 chip solution, but they are small chips – 16 pins and 14 pins.
The last driver I am going to talk about is the L298. The L298 is functionally similar to the L293. The main differences are the L298 can handle higher currents, a larger 15 pin Multiwatt package, and you need to add the external diodes. The L293D has the protection diodes built-in. Like the L293D, we need a hex inverter logic chip to drive the inputs. You could forget the logic chip, but then instead of 4 pins you need 6 pins from your micro to control the chip.
Next time
Well this one got away from me. I had planned this to be a short post, but as write these articles I find there is so much information needed to explain what I am talking about. Next time I plan to discuss motor driver modules you can buy, and maybe talk about which way to go – chip or module? Until then check out some of the web sites from here.
Related Articles
- Brain Design (astram8179.wordpress.com)
- Project Ideas (astram8179.wordpress.com)
- New Brain Design (astram8179.wordpress.com)