Pages: 1 2 3 [4]   Go Down
Author Topic: my first big project - BMS - is it possible?  (Read 9870 times)
0 Members and 1 Guest are viewing this topic.
nr Bundaberg, Australia
Online Online
Tesla Member
***
Karma: 130
Posts: 8624
Scattered showers my arse -- Noah, 2348BC.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
it seems pretty straightforward to me;
Yes it is, just be mindful of the consequences if for whatever reason you open one relay before closing the another.

For example how will you know that relay 1 has actually closed before you open relay 2?

What if there's a mechanical failure in relay 1 and it sticks open, if you then open relay 2 it's goodnight nurse to half your circuit and with the resultant fire maybe the vehicle as well.

Do you trust your coding ability to that extent?

If you use a 4514 decoder chip it's not possible to have > 1 output active at a time which at least takes your code out of the equation, not mechanical failure though.

______
Rob

« Last Edit: October 24, 2011, 03:02:24 am by Graynomad » Logged

Rob Gray aka the GRAYnomad www.robgray.com

Belgium
Offline Offline
Newbie
*
Karma: 0
Posts: 26
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks for the advice.
I understand the concern, and it s certainly something Ill remember.
I could incorporate a check if voltage ==0 after opening the last and before closing the next relay.

For security reasons, i plan to test the system on a much smaller 20 cell nimh pack.

I have no idea what the 4514 decoder chip is/can do, but Ill look in to it.
Logged

Belgium
Offline Offline
Newbie
*
Karma: 0
Posts: 26
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I looked at the datasheet of the 4514 decoder chip  http://media.digikey.com/pdf/Data%20Sheets/Fairchild%20PDFs/CD4514BC_4515BC.pdf
but it's too technical for me.
is this chip to replace the MAX chip, or what?
can you explain a little?
Logged

nr Bundaberg, Australia
Online Online
Tesla Member
***
Karma: 130
Posts: 8624
Scattered showers my arse -- Noah, 2348BC.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

The chip will be a lot easier to use than the MAX chip and basically fool proof WRT only having a single output active.

You tie the  latch pin to 5v and apply four signals to the A, B, C, and D inputs. The binary pattern applied to this inputs determines the active output.

Couldn't be simpler, and 0 chance of two outputs being active at the same time.

The 4515 only has 16 outputs and the MAX has 20, if you need > 16 you can use 2 or more 4515s.

______
Rob
Logged

Rob Gray aka the GRAYnomad www.robgray.com

Belgium
Offline Offline
Newbie
*
Karma: 0
Posts: 26
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

ok, lets see if I got this right;

This chip turns 4 arduino outputs into 16 outputs on the chip, by combining different high/low inputs on the chip (4X4 combo's=16), right?

are these outputs strong enough to open/close small relays without an additional power source? I looked at the datasheet again, but there are just too many damn numbers smiley

Logged

nr Bundaberg, Australia
Online Online
Tesla Member
***
Karma: 130
Posts: 8624
Scattered showers my arse -- Noah, 2348BC.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
are these outputs strong enough to open/close small relays without an additional power source?
Unfortunately no, there may be a version that does but the best thing would be to use a driver chip like the 2803.

Quote
This chip turns 4 arduino outputs into 16 outputs on the chip, by combining different high/low inputs on the chip (4X4 combo's=16), right?
Correct, but the equation is 2^4 = 16 (2 to the power of 4).

______
Rob
Logged

Rob Gray aka the GRAYnomad www.robgray.com

Rome
Offline Offline
God Member
*****
Karma: 1
Posts: 993
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi gusy, anybody still tuned here? :-)

Could this work?


I'm in trouble finding MAX378 or similar unusual components, but I know where to buy two cheap HC4067 multiplexers:
http://www.robot-italy.com/product_info.php?products_id=1554

Would  my schematic prevent the MUXs from being connected to high voltage differentials if properly driven?
Logged

nr Bundaberg, Australia
Online Online
Tesla Member
***
Karma: 130
Posts: 8624
Scattered showers my arse -- Noah, 2348BC.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Is bottom battery is connected to GND?

If so then this won't work.

If the MUXes and Arduino are isolated from the batteries this sort of thing will work, but you aren't connecting to the negative of the lowest battery so you can't measure that one.

Also one of the MUXes needs to connect to GND, not another AN input.

______
Rob
Logged

Rob Gray aka the GRAYnomad www.robgray.com

Rome
Offline Offline
God Member
*****
Karma: 1
Posts: 993
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Is bottom battery is connected to GND?
Ignore it, just focus on the others, it's n example!I
Quote
Also one of the MUXes needs to connect to GND, not another AN input.

______
Rob
!
Why??
 The reason for which i want to use 2 muxes is to AVOID connecting to gnd! I want to measure voltage difference amongst two pins,not w.r.t. gnd,to avoid "measuring" 16*4=64V in my system!

nt
Logged

nr Bundaberg, Australia
Online Online
Tesla Member
***
Karma: 130
Posts: 8624
Scattered showers my arse -- Noah, 2348BC.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Imagine MUX1:4 and MUX2:1 are selected, you have 12 volts between A0 and A1.

If the two systems are isolated (different GNDs, separate power supplies) and you can ensure that the correct MUX selections are made I think it's OK.

In this scenario one of the MUX outputs would be connected to the Arduino GND.

______
Rob
« Last Edit: June 27, 2012, 10:37:10 am by Graynomad » Logged

Rob Gray aka the GRAYnomad www.robgray.com

0
Offline Offline
Newbie
*
Karma: 0
Posts: 17
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Yes!! it is possible to use the Max11068 connected to an Arduino to read any number of cells ( upto 120 ).
There is no problem except that the most negative part of the battery pack is connected to the maxim gnd. All the rest are floating and the 11068 mux handles this perfectly. I have a system for an ecar that uses this chip and uses 112 cells. Nearly 400 volts!!
No need for relays. The documentation for the 11068 and the eval board 11068eval kit explain most of what you need to do. How you connect to the Arduino via the SDA and SCL outputs on the lowest max11068 using Ic2 or SMB depends on how you want to handle the data stream and where you are displaying the data. . I will publish code when I have it thoroughly tested. If anyone in this forum has done this please let me know and we can compare notes.
Logged

Rome
Offline Offline
God Member
*****
Karma: 1
Posts: 993
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I also found:
Analog Device AD7280
The AD7280A contains all the functions required for general-purpose monitoring of stacked lithium ion batteries as used in hybrid electric vehicles, battery backup applications, and power tools. The part has multiplexed cell voltage and auxiliary ADC measurement channels for up to six cells of battery management.
1-6 cells, stackable, 5.09$

Texas Instruments BQ76PL536a
The bq76PL536A is a stackable three to six series cell lithium-ion battery pack protector and analog front end (AFE) that incorporates a precision analog-to-digital converter (ADC); independent cell voltage and temperature protection; cell balancing, and a precision 5-V regulator to power user circuitry.
3-6 cells, stackable, all chemistries, SPI comm, 4.30$
Logged

Australia
Offline Offline
God Member
*****
Karma: 11
Posts: 517
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Going back to the OPs first post, are you looking at building a battery management system that simply measures all the cell voltages
or a battery balancing system that both measures and then charge equalizes the cells.
The first one is fairly easy, the 2nd is a lot harder.
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 17
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I have set up 112 cewlls using the Max11068 eval boards. Not cheap since each board for 24 cells costs $100, but it can do everything you want including having an I2C out that can connect and be read in an Arduino. I did start this in testing and found that one of the boards ( I have 5 total ) failed and Maxim are working on the problem, it might be a real problem with the chip isolation design... don't know yet but will post when I do. In the meantime I am going with a simple system using a shunt IC for balancing during charging and a low voltage monitor chip when discharging and a relay for isolation. Only problem is relay power comes from the batteries so not good if the batteries are left off charge for any length of time. To get over this requires a latching system and with 112 cells it adds up quickly to more $$$.
Logged

nr Bundaberg, Australia
Online Online
Tesla Member
***
Karma: 130
Posts: 8624
Scattered showers my arse -- Noah, 2348BC.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
Only problem is relay power comes from the batteries so not good if the batteries are left off charge for any length of time.
Latching relay?

______
Rob
Logged

Rob Gray aka the GRAYnomad www.robgray.com

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