Old BMS Hardware Thread

Threads relating to the BMS system begun by Peter Perkins

Moderators: GregsGarage, retepsnikrep

GregsGarage
Posts: 870
Joined: Tue Apr 01, 2008 5:27 pm
Location: Galashiels, Scottish Borders
Contact:

Re: Old BMS Hardware Thread

Postby GregsGarage » Wed Jan 11, 2012 12:02 am

On my last schematic I think I should swap pins 2 and 3 on the pic because pin3 is an analog input which might be useful if checking the state of the load resistor if it is being driven by a pwm signal.

Seperate question, do these optos look suitable, don't know what the difference is other than the price?
http://uk.farnell.com/vishay/tclt1000/optocoupler-smd-transistor-o-p/dp/8310688
http://uk.farnell.com/vishay-semiconductor/tclt1000/optocoupler-transistor-o-p/dp/1469548
Greg Fordyce

Daewoo Matiz
http://www.evalbum.com/4191

isaac_alaska1
Posts: 100
Joined: Sun Apr 03, 2011 7:41 pm

Re: Old BMS Hardware Thread

Postby isaac_alaska1 » Wed Jan 11, 2012 12:41 pm

i don't see any difference between those optos. the downside with both of them is the current transfer ratio (CTR) is really variable, 50-600%. so they could have extremely varying results, depending on which batch you got (like happened to me.)

these might be better:
http://uk.farnell.com/vishay/tclt1009/o ... dp/8310750

CTR is 200-400, like the ones on the board that peter sent. they worked good even with 360 ohm drive resistors, and should work even better with 180 ohm or so.

they're more expensive, but much tighter tolerances.


Also, the speed sensor is working extremely well now. There was an issue with the line that configures the settings for the pin that is being used for the VSS input. One of the bits was set that essentially turned the pin into an oscillator instead of an input. If anyone is having problems with the speed sensor input not working, this is likely the problem. i don't have the line in front of me right now but if anyone wants it i can get it and post the new change.

User avatar
retepsnikrep
Posts: 1387
Joined: Sat May 26, 2007 4:50 pm
Location: North Yorkshire England
Contact:

Re: Old BMS Hardware Thread

Postby retepsnikrep » Wed Jan 11, 2012 2:19 pm

Issac please post the osc bit change data that's very important.
Regards Peter

Two MK1 Honda Insight's. One running 20ah A123 Lithium pack. One 8ah BetterBattery Nimh pack.
One HCH1 Civic Hybrid running 60ah A123 Lithium pack.

isaac_alaska1
Posts: 100
Joined: Sun Apr 03, 2011 7:41 pm

Re: Old BMS Hardware Thread

Postby isaac_alaska1 » Thu Jan 12, 2012 3:06 am

posting the code changes in the software thread

GregsGarage
Posts: 870
Joined: Tue Apr 01, 2008 5:27 pm
Location: Galashiels, Scottish Borders
Contact:

updated slave schematic

Postby GregsGarage » Sat Jan 14, 2012 3:27 pm

I've not got much time for the next couple of weeks, but did this last night sitting in Newcastle while my daughter and her friends where at a concert. I've changed some pin assignments again and will breadboard it to check ICSP works when I get time.

EDIT: Just spotted Q1 is connected wrong way round. :roll:
Attachments
slave130112.pdf
single slave schematic in pdf format. 13 Jan 12
(10.67 KiB) Downloaded 1017 times
Greg Fordyce

Daewoo Matiz
http://www.evalbum.com/4191

isaac_alaska1
Posts: 100
Joined: Sun Apr 03, 2011 7:41 pm

Re: Old BMS Hardware Thread

Postby isaac_alaska1 » Sun Jan 22, 2012 11:06 pm

a few pics of what i've been working on:

on-screen display. changed it up a little bit. there is also a submenu where you can read maximum amps
Image


this is the lid of my battery box
Image


this is the lid, wired to the batteries and connected to the box
Image


this is looking down through the top of the lid, right behind the bms slave boards. there's lexan on top but it's so clear it's hard to see
Image


the fuse block i designed. it should work quite well. holds the nine fuses you can see, plus a main fuse. the main fuse will be either 250 or 400 amp, depending on how easily i can blow the 250 amp one
Image


the box, with all the battery leads, before i zip tied them together and put the lid on top
Image

User avatar
retepsnikrep
Posts: 1387
Joined: Sat May 26, 2007 4:50 pm
Location: North Yorkshire England
Contact:

Re: Old BMS Hardware Thread

Postby retepsnikrep » Mon Jan 23, 2012 6:33 am

Looks cool Issac! Hope it works!!
Regards Peter

Two MK1 Honda Insight's. One running 20ah A123 Lithium pack. One 8ah BetterBattery Nimh pack.
One HCH1 Civic Hybrid running 60ah A123 Lithium pack.

isaac_alaska1
Posts: 100
Joined: Sun Apr 03, 2011 7:41 pm

Re: Old BMS Hardware Thread

Postby isaac_alaska1 » Mon Jan 23, 2012 7:25 am

i am hoping the same thing! right now i am trying to figure out how to wire up an "insulation monitoring device" (sometimes known as a "bender" because of the company that makes them). we have two that are really simple to interface with, but sometimes give false signals, and then we have one that is much more complicated and requires a lot of external circuitry, but is supposed to be better. emailing the company to ask their advice haha.

GregsGarage
Posts: 870
Joined: Tue Apr 01, 2008 5:27 pm
Location: Galashiels, Scottish Borders
Contact:

Re: updated slave schematic

Postby GregsGarage » Mon Jan 30, 2012 2:30 pm

GregsGarage wrote:I've not got much time for the next couple of weeks, but did this last night sitting in Newcastle while my daughter and her friends where at a concert. I've changed some pin assignments again and will breadboard it to check ICSP works when I get time.

EDIT: Just spotted Q1 is connected wrong way round. :roll:


I've breadboarded the circuit to test the ICSP and it seems to work fine. I can read, write and verify the pic fine. I did do a couple of cheats. I used a 12f683 and also some leds in place of optos, but I am happy that the ICSP works as drawn. I am working on updating the schematic and have fixed Q1. Hopefully have a new schematic by the end of the week, time permiting.
Greg Fordyce

Daewoo Matiz
http://www.evalbum.com/4191

isaac_alaska1
Posts: 100
Joined: Sun Apr 03, 2011 7:41 pm

Re: Old BMS Hardware Thread

Postby isaac_alaska1 » Mon Feb 13, 2012 9:24 am

not done yet, but most of the hardware is finished for the BMS. now it's all software touch-ups and actually mounting the pieces where they belong, but as-is they have all the correct wires on them and come on when the machine comes on.

http://www.youtube.com/watch?v=p2KCN3Eu ... AAAAAAAAAA


Return to “BMS thread”

Who is online

Users browsing this forum: No registered users and 15 guests