Go Down

Topic: Advise for circuit, and pcb layout (Read 15961 times) previous topic - next topic

Jak24

Jan 28, 2014, 08:56 pm Last Edit: Jan 28, 2014, 08:58 pm by Jak24 Reason: 1
Hi!

So I am designing a pcb for my robot, and I would greatly appreciate some constructive criticism.
I have attached the eagle schematic and board file.
I use 2 arduino's because I have 2 I2C devices and their address cant be changed for some reason... :P
and I am using BTN7971B For my motor controller as I will be controlling 4 fairly high power motors
I have attached the circuit which I based the design on for the motor controller, and also I am using a  lm2576 for 5v regulation for which
I have also attached the original circuit.
, basically If you wold have any advise/ tips on the layout/circuit please advise.
It's not finished, things like the pin outs to my sensor, the outline for the pcb are missing but most of the main circuitry is there.
One thing I am sure I will need to change is all the small capacitors being replaced for a larger one, any suggestions on a
suitable value for those capacitors would be great.
So any advise or suggestions would be much appreciated

Thanks

wes000000

I will try and take a look later and post hopefully at least a few helpful things.

I am not a professional and am only in school now for electrical engineering so take any advice with a grain of salt, but I will definitely take a look.
"I have not failed. I've just found 10,000 ways that won't work." - Thomas A. Edison

SirNickity

If you want more eyes, post images, not data files.  Not everyone uses the same software as you...  Try to keep the image width less than 1000 pix please.

MarkT

Definitely - not only that, but not everyone has the same version as you...  convert
.sch and .brd to .png please.
[ I will NOT respond to personal messages, I WILL delete them, use the forum please ]

wes000000

Quote

not everyone has the same version as you


Maybe that was the issue because when I opened the schematic drawing everything was arranged oddly and and there were electrical connections and junctions in weird places. It looks good though from what I have seen so far. I may not have have too much to add unfortunately.

I am curious though: if you used transistor with the base hooked up to a digital pin (maybe two) could you then disconnect one I2C device from the I2C bus, send your command, then reconnect it, disconnect the other and similarly send to the second device? That way you could control multiple devices with same ID from one Arduino.
"I have not failed. I've just found 10,000 ways that won't work." - Thomas A. Edison

Jak24

Sorry guys, I have attached the images,

I am curious though: if you used transistor with the base hooked up to a digital pin (maybe two) could you then disconnect one I2C device from the I2C bus, send your command, then reconnect it, disconnect the other and similarly send to the second device? That way you could control multiple devices with same ID from one Arduino.

I guess that would be an option, but I need sensor data instantaneously from both devices I can't really afford to wait a couple of ms between readings.

CrossRoads

9500+ wide? Get real -  resize down to ~1000.
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

graynomad

And the schematic isn't there at all for me.

_______
Rob
Rob Gray aka the GRAYnomad www.robgray.com

Jak24

Sorry, my bad I just taught larger would be better for viewing, again my mistake
new one attached.

graynomad

I'll have a good look, meanwhile, how hot will these chips get, I see no thermal planes and they are very close together.

______
Rob

Rob Gray aka the GRAYnomad www.robgray.com

Jak24

Well I don't think that heat will be an issue(hopefully)
because They are rated to handle 44A and my motor technically only have a
stall current of 10A and a no load current of 600mA so I don't think it will be an issue.
However If you think it's necessary, I can add it in.

graynomad

Ok, when I see a huge driver chip like that I assume large currents.

Quote
However If you think it's necessary, I can add it in.

Look at the on resistance, x that by 600mA to get the watts generated, x that by the C/W value that should be in the data sheet. That will tell you how many degrees above ambient the chip will run. Add that value to the expected ambient temp and if the result is over the max junction temp you will have  problem.

Clear :)

Now the schematics I really don't understand. You seem to have GND from each pair going to a header (and from there I assume a motor). How do two GND lines control a motor?

The drawing has lines all over the place including through components, and as far as I can tell the pin names don't match those in the data sheet. For examples you have pin 2 as "EF", in the data sheet it's "IN". There is no EF on the chip unless we're looking at different data sheets. Can you post a link to the one you are using?

And the mess of resistors between the optos and the driver is indecipherable.

The purpose of a schematic is to make a design clear, this one does not do that I'm afraid.

______
Rob
Rob Gray aka the GRAYnomad www.robgray.com

CrossRoads

How does 12V get into the board? I don't see a connector for that.
This board will mount on top of a Mega? You can't supply motor power from the Mega - the Mega input connector is not rated for that much current, and neither is the header. Add one specifically for the board, and pass 12V to the Mega if you want just 1 power connector.
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

MarkT

Those devices have a worst case Ron of 0.5 ohms (full temperature range), 0.2ohms
(typical for a cool device).

At their rated current of 5A they will be dissipating about ~ 10W each or so, so large
metal heatsink is mandatory.  Up to about 1.3A they will survive without one I estimate.

Where did the 44A figure come from?
[ I will NOT respond to personal messages, I WILL delete them, use the forum please ]

Jak24

#14
Jan 29, 2014, 08:41 pm Last Edit: Jan 29, 2014, 08:43 pm by Jak24 Reason: 1
Hi!

Ok, when I see a huge driver chip like that I assume large currents.

Quote
However If you think it's necessary, I can add it in.

Look at the on resistance, x that by 600mA to get the watts generated, x that by the C/W value that should be in the data sheet. That will tell you how many degrees above ambient the chip will run. Add that value to the expected ambient temp and if the result is over the max junction temp you will have  problem.

Clear :)

Now the schematics I really don't understand. You seem to have GND from each pair going to a header (and from there I assume a motor). How do two GND lines control a motor?

The drawing has lines all over the place including through components, and as far as I can tell the pin names don't match those in the data sheet. For examples you have pin 2 as "EF", in the data sheet it's "IN". There is no EF on the chip unless we're looking at different data sheets. Can you post a link to the one you are using?

And the mess of resistors between the optos and the driver is indecipherable.

The purpose of a schematic is to make a design clear, this one does not do that I'm afraid.

______
Rob


Yes that is a different chip but it's the same package, (I can't find a library for the BTN7971b)
I attached the pdf in my first post, but here is the link :
http://goo.gl/vOsZpO
Sorry for my schematic, this is only my 3 rd pcb, I am still learning alot.
I will try and fix that In the morning,
Otherwise if you have any suggestions on the layout/circuit
or If you recommend I change any values of capacitors or resistors, please advise!

How does 12V get into the board? I don't see a connector for that.
This board will mount on top of a Mega? You can't supply motor power from the Mega - the Mega input connector is not rated for that much current, and neither is the header. Add one specifically for the board, and pass 12V to the Mega if you want just 1 power connector.

Yes I still need to add a connector for my battery, i know.
The mega will be mounted on the board, I am planing on powering the mega from the 12->5v converter and use that to give the motor IC's 5V power.

Those devices have a worst case Ron of 0.5 ohms (full temperature range), 0.2ohms
(typical for a cool device).

At their rated current of 5A they will be dissipating about ~ 10W each or so, so large
metal heatsink is mandatory.  Up to about 1.3A they will survive without one I estimate.

Where did the 44A figure come from?

datasheet: http://goo.gl/vOsZpO
HS/LS Continuous Drain Current: Max: 44A

Go Up