Pages: [1] 2 3 4   Go Down
Author Topic: BTN7970 Motor Driver  (Read 4207 times)
0 Members and 1 Guest are viewing this topic.
Florida
Offline Offline
God Member
*****
Karma: 2
Posts: 559
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello,

 I would like to build a dual motor driver based off of the BTN7970. I looked at the data sheet, and it gives a schematic on how to make a dual motor driver, however, I hardly understand it. Does anybody know what parts I need (besides 2 BTN7970's) to make an Arduino compatible motor driver? Also, any good books that would teach me how to read a schematic?


Thanks!

http://www.infineon.com/dgdl/BTN7970_DS_11.pdf?folderId=db3a3043156fd5730116144c5d101c30&fileId=db3a304316f66ee80117642373746a89&sId=db3a30443ff79439014017f2d616338c
« Last Edit: August 07, 2013, 07:36:08 am by Drew Davis » Logged

United Kingdom
Offline Offline
Tesla Member
***
Karma: 224
Posts: 6613
Hofstadter's Law: It always takes longer than you expect, even when you take into account Hofstadter's Law.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

In view of your lack of knowledge, and because you have to be careful with layout when building high-current motor drivers, it might be better for you to buy ready-made motor driver boards based on that chip. I found a few on ebay, such as http://www.ebay.co.uk/itm/BTS7970B-BTN7970B-power-motor-driver-Controller-module-70A-A2630-78M05-5V-25V-/300921027008?pt=Intercoms_Access_Controls&hash=item46104a79c0.
Logged

Formal verification of safety-critical software, software development, and electronic design and prototyping. See http://www.eschertech.com. Please do not ask for unpaid help via PM, use the forum.

Florida
Offline Offline
God Member
*****
Karma: 2
Posts: 559
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I found some good pre-built ones two. But I figured the best way for me to learn was by experience. To be honest I would rather have to re-buy parts because I failed at a design then to buy a motor driver that is working and gain no experience. Do you know of any resources that show you how to read a schematic? I don't mind buying a few books if you know of any that would help! I really would like to build this project my self so any info would be awesome smiley


Thanks!
Logged

Florida
Offline Offline
God Member
*****
Karma: 2
Posts: 559
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I'm muddling my way through the data sheet, and I have a question will one BTN7970 per motor be able to control the direction? Or do I need two for each motor?


Thanks!
Logged

United Kingdom
Offline Offline
Tesla Member
***
Karma: 224
Posts: 6613
Hofstadter's Law: It always takes longer than you expect, even when you take into account Hofstadter's Law.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

That chip is a half bridge, so you need 2 for each motor.
Logged

Formal verification of safety-critical software, software development, and electronic design and prototyping. See http://www.eschertech.com. Please do not ask for unpaid help via PM, use the forum.

Florida
Offline Offline
God Member
*****
Karma: 2
Posts: 559
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I got the parts in I need but the Pin spacing on the chip is much smaller then what would fit into a breadboard… something I did not expect! Does anybody know how to overcome this? I have wanted to make a PCB board through one of those online places for a long time, but for this project it would take to long for me to learn how to make a PCB design on eagle. Do they sell standard breakout boards? Any Ideas would be awesome!



Thanks!
Logged

United Kingdom
Offline Offline
Tesla Member
***
Karma: 224
Posts: 6613
Hofstadter's Law: It always takes longer than you expect, even when you take into account Hofstadter's Law.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Well, you did say you wanted to learn! I don't know of any breakout boards for that chip, also good layout and short wiring is important for high-current switching ICs. So you can either download Eagle and design your own pcb, or buy a ready made BTN7970-based module via eBay, Or perhaps both - start with the eBay module, and later on design your own pcb, perhaps with the microcontroller integrated so you don't need an Arduino.
Logged

Formal verification of safety-critical software, software development, and electronic design and prototyping. See http://www.eschertech.com. Please do not ask for unpaid help via PM, use the forum.

Florida
Offline Offline
God Member
*****
Karma: 2
Posts: 559
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Well as it appears that their is no easy way I will take your suggestion, and buy one from eBay while working on my own PCB design.

Thanks for the help!
Logged

Florida
Offline Offline
God Member
*****
Karma: 2
Posts: 559
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I started working on the design but I have looked all over and can't find a library that has a  BTN7970 driver in it. I also could not find anything that has the same pinout (TO263). Any ideas?



Thanks!
Logged

United Kingdom
Offline Offline
Tesla Member
***
Karma: 224
Posts: 6613
Hofstadter's Law: It always takes longer than you expect, even when you take into account Hofstadter's Law.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

It should be straightforward to drive a bridge made from two BTS7970s from an Arduino. Connect the IN pin of each BTS7970 to an Arduino output pin with PWM capability (two separate pins) and a 10K resistor to ground. Connect the two INH pins to Vcc if you want the bridge to be active all the time; alternatively, connect it to a digital output pin (one pin can drive both INH inputs) and a 10K resistor to ground.

To drive the motor in one direction, digitalWrite LOW to the first IN pin, analogWrite to the second IN pin, and set the INH pin high. To brake the motor, digitalWrite LOW to both pins. To run the motor in the other direction, write LOW to the second IN pin and PWM the first. To let the motor coast, write LOW to the INH pins.

Optionally, connect a current sense resistor between each IS pin and ground, and feed it to an Arduino analog input via an R-C filter.
Logged

Formal verification of safety-critical software, software development, and electronic design and prototyping. See http://www.eschertech.com. Please do not ask for unpaid help via PM, use the forum.

Florida
Offline Offline
God Member
*****
Karma: 2
Posts: 559
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thank you for the info, but  I have gotten through the data sheet and I understand how to hook it up. I'm trying to make a PCB on eagle but according to the youtube videos i'm watching I should make the schematic on eagle first. The problem is I can't find anything to represent the BTS7970.  Should I start with the PCB instead?


Thank you so much for helping me! Your info has always been very accurate and I would trust your opinion over the youtube videos…
Logged

United Kingdom
Offline Offline
Tesla Member
***
Karma: 224
Posts: 6613
Hofstadter's Law: It always takes longer than you expect, even when you take into account Hofstadter's Law.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

OK, I thought you meant an Arduino library, but you meant an Eagle library. If it's the pad outline for the SMD version you want, try searching for "to263-7 eagle library".
Logged

Formal verification of safety-critical software, software development, and electronic design and prototyping. See http://www.eschertech.com. Please do not ask for unpaid help via PM, use the forum.

Florida
Offline Offline
God Member
*****
Karma: 2
Posts: 559
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I have been looking all day but I'm unable to find a library that has the driver or the TO263-7 package . Is there any way to make the schematic/PCB without it?


Thanks!
Logged

United Kingdom
Offline Offline
Tesla Member
***
Karma: 224
Posts: 6613
Hofstadter's Law: It always takes longer than you expect, even when you take into account Hofstadter's Law.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

You didn't try hard enough then - I just found one at http://sparkle.tribbeck.com/eaglesearch/packinfo.php?id=4328.
Logged

Formal verification of safety-critical software, software development, and electronic design and prototyping. See http://www.eschertech.com. Please do not ask for unpaid help via PM, use the forum.

Florida
Offline Offline
God Member
*****
Karma: 2
Posts: 559
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thank you so much! I have stared working on my design.
Logged

Pages: [1] 2 3 4   Go Up
Jump to: