stuartpittaway / diyBMSv4Leaf

diy BMS version 4 for Nissan Leaf cells
Other
20 stars 3 forks source link

A updated version (still alpha) is being made by Allan Lind. How to intergrade/link the information? #2

Open robouden opened 3 years ago

robouden commented 3 years ago

https://github.com/allanlind/diyBMSv4Leaf/releases/tag/v2.00-alpha

allanlind commented 3 years ago

Hi Stuart, I am new to Github, and I hope my revised Leaf version of BMS can be useful. Let me know if you would like me to change anything. Regards, Allan

kchiem commented 3 years ago

I got this error on JLCPCB:

"Failed processing the CPL file."

stuartpittaway commented 3 years ago

Thanks for letting me know about this version.

Did you also update the schematic to include the recent change in resistors? Swapped to a larger part and fewer of them to ensure the wattage is kept in the safe zone

allanlind commented 3 years ago

Stuart, I used your version 4.40 that you release less than 2 weeks ago. It has the same identical parts. I increased the spacing and put copper under the resistors where possible and some slits to try to decouple the heat from the other parts of the board. Take a look at the PNG files to see the layout.

Ah wait, I see you changed to 9 resistors, I still have the 16 resistors. I'll update my design. Are you able to see my work? Allan

stuartpittaway commented 3 years ago

Two weeks is a long time in diyBMS :-)

The original resistors were not high wattage, so were swapped out with 9 3/4W resistors.

Heres the latest picture of the 4.40 boards https://github.com/stuartpittaway/diyBMSv4/blob/master/ModuleV440/ModuleV440.png

Additionally, JLCPCB didn't have stock of the original resistors!

allanlind commented 3 years ago

Stuart, I updated the resistors. Please feel free to look at my updated version here: https://github.com/allanlind/diyBMSv4Leaf/tree/diyBMSv4Leaf-ver2

allanlind commented 3 years ago

Stuart, I got the new Leaf module boards back and will test them as the rest of the parts arrive. In the meantime I have a question for you regarding integration of diyBMS with Inverters. I have a Trinabess Power Box which has RS485 and I am wondering if it might be possible to get the diyBMS to work with it. Perhaps I can sniff the RS485 packets and figure out how to do things like set the charging current. Have you included any code in the controller for this by any chance? Allan

stuartpittaway commented 3 years ago

Hi Allan, Apart from testing that the RS485 works, I've not added in any additional code to talk to external devices (yet). That is the plan though.

First item will be the new current shunt I've built (Modbus over RS485).

stuartpittaway commented 3 years ago

@allanlind how is the updated LEAF board design? A number of people have been asking about it.

allanlind commented 3 years ago

Hi Stuart, I have a bunch finished but have not been able to test as yet. The holdup is with the Banggood displays. Three units finally arrived but were banged up good! Now they are saying they are out of stock again. So I will have to accept a refund and look elsewhere. Additionally I am still trying to source a suitable Leaf battery pack. I should have something working soon. I suspect the design is good though.

Allan

allanlind commented 2 years ago

The attachments won’t go through.

From: Allan Lind Sent: Saturday, 13 November 2021 7:50 pm To: stuartpittaway/diyBMSv4Leaf @.***> Subject: RE: [stuartpittaway/diyBMSv4Leaf] A updated version (still alpha) is being made by Allan Lind. How to intergrade/link the information? (#2)

Stuart, I have finally finished my 7 module Leaf board. I will send the design off to JLCPCB soon to be manufactured.

In the meantime, I am experimenting with CANBUS. I have the controller connected to the Trinabess Powerbox. Could you put the controller into debug mode so we can sniff the CANBUS packets?

Thanks, Allan

From: Stuart Pittaway @.**@.>> Sent: Tuesday, 8 June 2021 3:06 am To: stuartpittaway/diyBMSv4Leaf @.**@.>> Cc: Allan Lind @.**@.>>; Mention @.**@.>> Subject: Re: [stuartpittaway/diyBMSv4Leaf] A updated version (still alpha) is being made by Allan Lind. How to intergrade/link the information? (#2)

@allanlindhttps://github.com/allanlind how is the updated LEAF board design? A number of people have been asking about it.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/stuartpittaway/diyBMSv4Leaf/issues/2#issuecomment-856015403, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABNZKP676IKVMPXXMNB3EDLTRTN5VANCNFSM4YXLFYZA.

stuartpittaway commented 2 years ago

Hi, the CANBUS doesn't really have a debug mode, but can be switched on by enabling the victron integration.

At the moment it is sending data out in victron BMS format.

allanlind commented 2 years ago

How can I can send you photos?

From: Stuart Pittaway @.> Sent: Saturday, 13 November 2021 8:12 pm To: stuartpittaway/diyBMSv4Leaf @.> Cc: Allan Lind @.>; Mention @.> Subject: Re: [stuartpittaway/diyBMSv4Leaf] A updated version (still alpha) is being made by Allan Lind. How to intergrade/link the information? (#2)

Hi, the CANBUS doesn't really have a debug mode, but can be switched on by enabling the victron integration.

At the moment it is sending data out in victron BMS format.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/stuartpittaway/diyBMSv4Leaf/issues/2#issuecomment-967796276, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABNZKPYM246B5XIWK3XTN23ULYFTRANCNFSM4YXLFYZA. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

stuartpittaway commented 2 years ago

You can attach photos to GitHub issues

allanlind commented 2 years ago

thanks, I created a new issue for the CANBUS connection please take a look

allanlind commented 2 years ago

New 7 in 1 Leaf module.

Front-Design

Front-Design_zoomed2

N1c084 commented 2 years ago

hi allanlind Nice , did you post the files somewhere (gerber, schematic bom pcl....) ? thanks

allanlind commented 2 years ago

N1c084, I have uploaded 3.02 ver BOM, POS and GERBER files for this huge 7 module board. You have everything you need to get these manufactured at JLPCB. I had 20 boards made already. There was a small mistake which required drilling out a via on each board which I fixed in this 3.02 version. The only problem is going to be getting all the components. You may have to substitute for slightly different spec passives. Now the ATMEL CPUs are a real problem as JLCPCB never have them in stock. I had to manually solder 280 CPUs with an improvised cut down stencil and a rework station. It took a few days of work to do that, and not something to look forward to. You may have to look at getting board assembly done somewhere other than JLPCB.
As for the Schematic I will try to add the PDF file, but I first need to figure out why it's not displaying correctly.

N1c084 commented 2 years ago

Thanks you. i will look later. Do ou mount the PCB directly on terminals of cells or to you first mount the connexion bar witch can support more current flow? Becareful, Mosfet and regulator are reversed 180° on PCB Regards

allanlind commented 2 years ago

The design includes high current path so no need to use bus bars. The board goes directly onto the modules. I’ll double check the pos file for correct rotation.

N1c084 commented 2 years ago

Ok , please, how much current can pass trough the PCB? I try to load pos file on Jl pcb and all 3 pin mosfet and regulator are @180degree on final check screen.thanks

Le lun. 21 mars 2022 à 01:20, GammaKiwi @.***> a écrit :

The design includes high current path so no need to use bus bars. The board goes directly onto the modules. I’ll double check the pos file for correct rotation.

— Reply to this email directly, view it on GitHub https://github.com/stuartpittaway/diyBMSv4Leaf/issues/2#issuecomment-1073382658, or unsubscribe https://github.com/notifications/unsubscribe-auth/AYDJ6M5LHWUOXXNHEMWCYWDVA66GFANCNFSM4YXLFYZA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you commented.Message ID: @.***>

allanlind commented 2 years ago

OK I’ll update the pos file tomorrow. The pcb tracks are likely good for 40A. I have 8 of these boards in parallel and have run 180A total without overheating which works out to 22A per board. But if you want to run very high current you can always put the original Leaf bus bars on as well.

allanlind commented 2 years ago

I double checked the pos file and it is actually correct. Here is the response from JLCPCB:

"having trouble with pos file. In kicad all components are oriented correctly in 3D view but when I check your layout preview the transistors and voltage references are rotated 180 deg"

Wick 09:50 Actually, sometimes not all files can be detected/recognized correctly by our system ,so you can ignore it and proceed. Our engineer will check your file and if any issues, they will get you informed. Our engineer will correct it and you could check the DFM they make later.

N1c084 commented 2 years ago

ok thanks this is a JLPCB bug You have 8 board in //, how do you drive the coupling of string (contactor for each string) and security (open only the fail string and never closed a string with too diffèrent voltage /SOC from other)? one controler board per string?

N1c084 commented 2 years ago

and do you know if this board design is compatible with gen 4? i neeed to look if space between terminals are the same before put an order

allanlind commented 2 years ago

Not sure what you mean by Gen 4. My design is for 24kwh Gen 1 or Gen 2 modules only. You cannot use 30 and 40kWh modules as these are different and the positive and negative terminals are arranged differently. I have used 8 Chint 2 pole DZ158-125 MCBs to isolate each bank. These MCB are rated for 415VAC or 110VDC per pole and can break up to 125A DC.

allanlind commented 2 years ago

Detail showing how the modules are wired to the MCBs. mcb-photo

This photo shows the bas bars where all 8 banks come together. You can also see a 160A per pole Circuit Breaker which allows me to isolate the two 5kW Victron inverters which are in parallel. busbars Breaking capacity on this circuit breaker is 40,000A.

N1c084 commented 2 years ago

thanks , nice. But if a cell fail by going undervoltage or become hot, you can not isolate this string automatically , it can be better to add such security feature by driving a relay on each string?

allanlind commented 2 years ago

Not sure how one would do that.

N1c084 commented 2 years ago

Not sure how one would do that.

@stuartpittaway , any idea to drive one relay per string with voltage control between string before closed and also ability to isolate 1 faulty string and stay other alive? Thanks