Projects Links

Click on the "Links"  to go to Project and About Pages Click for Projects Links                                 About the Vess...

Wednesday, September 15, 2021

Test Setup for a DIY LiFePO4 Battery and BMS System

 6AH LiFePO4 DIY Battery System for Testing and Developing

Here is an idea inspired from Andy at the Off-Grid Garage.   Andy has a wonderful YouTube channel covering all things solar with emphasis on testing and the the understanding concepts.   Check him out at https://off-grid-garage.com.

I recommend that anyone interested in building a reasonably sized DIY LiFePO4 battery (100AH or more) that they build a simple test/development battery using 4 small 6AH LiFePO4 cells and a decent BMS.   Ideally, one would want to use the BMS intend for use in the big DIY battery build.   This a great way to test and understand the BMS operations and limitations.  These small cells cost only a few dollars.  Simply connect the 4 cells in a 4S series configuration.  Connect the 5 BMS balance wires and the BMS negative input to the battery's overall negative terminal.  Plug the BMS balance connector into the BMS and the battery system is operational.

The image below shows  4 cells (type  32700 6AH LiFePO4) purchased from Ebay ($24) connect to make a 4S 12V battery system.  In this case, the cells were simply clamped together between 2 scrap pieces of HDPE(or any good insulator) with 1” wide tinned copper braid(or any good conductor) for making the 4S battery cell connections.  The flat wire braid worked well at making good battery cell connections and it was easy to insert a bolt in the braid for a wire terminal connection.  

Here are a few links:

eBay LiFePO4 cells: 

This particular BMS is highly recommended by the solar DIY community.  The image of the BMS shown below has the options:  4S 120A Lifepo4 With UART and RS485.  To use the RS485 com port with a computer requires the optional purchase of the the $7 RS485 communication module for USB connection.    This simple setup is great for developing simple computer programs for interfacing with the BMS.  The last image below shows the output of a simple python program running on a raspberry pi 2B+ connected to the BMS via a USB to RS485 bridge and plotting the 2 hours and 48 hours performance.  

The RS485 interface is a nice option for those folks interested in developing custom monitoring features, but most individuals may not want or need these features.  The Bluetooth interface and the available Xiaoxiang BMS iPhone or Android app works very well and is all that most will need.   There is also a free MacOS version of the BMS Bluetooth app available in the Mac App store: "SmartBMS Utility".



The JBD SP04S020 120A 12V LiFePO4 BMS
with Bluetooth UART and RS485 com boards
XiaoxiangiBMS iPhone App 











A 6AH LiFePO4 4S 12V battery System










BMS data display via a Python program operating
on a raspberry pi computer.





Saturday, July 10, 2021

Electrical Power System w/ Solar, Inverter, and Alternator Charging

System Schematic Overview 

  • For a recent overview see: Other Uses for Solar Activity 
    • Talk I gave at local Amateur Radio Society meeting on building an off-grid electrical system

 



Note shown in the above schematic are the inline ANL type fuses at each battery, at the Inverter/Charger, and at the MPPT solar input and DC output.  The 0-1-2-3-A switch is located in the engine well near the battery storage.  The switch is always set to provide starter power from the start battery, but allows for an emergency operation to use the house battery for starting.  A 0-1 switch controls the power to the starter  and is located by the companionway for easy access from the cockpit or cabin interior.

System Batteries

  • House Battery
    • LiFePO4  560AH Capacity Prismatic Cells [See info LiFePO4 Battery description and build]
      • BMS shutdown protection settings
        • Cell Voltage: Over 3.65V, Under 2.80V
        • Battery Voltage:  Over 14.6V, Under 11.2V
        • Battery Current Charge/Discharge: Over 130A for 10s
        • Cell Temperature Charge/Discharge: Over 55 degrees C
        • Cell Temp. Charge: Under 1 degree C
        • Cell Temp. Discharge: Under -10 degrees C
  • Start Battery
    • EverStart Lead Acid Marine Starting Battery
      • Group Size 24MS (12 Volt/625 MCA)
        • Used for engine staring and for safe Alternator charging with LiFePO4 battery combination 
 

Solar Charging



The solar charging system is configured with a MPPT charge controller which can provide a maximum of 40A of battery charging current with a maximum solar input voltage of 100V.  For a 12V battery system, the 40A max current limits the solar power input to approximately 550W.   Connecting multiple solar panels in series up to the maximum 100V, allows for the maximum power point performance efficiency, lower resistive power lower losses in the solar panel connector wires, and an easier and lower cost installation.  This 40A MPPT is ideal for operating with 3 solar panels of 175W connected in series.   The current solar panel setup allows for a total of 3 flexible solar panels mounted on the Bimini top canvas, but currently only two 175W flexible solar panels are utilized. The two panels are connected in series providing 350W maximum power with 48V into the MPPT charge controller.  

Since it is easy to mount and remove the flexible panels on the Bimini top, while on shore power the panels are removed and safely store below the v-berth cushions. 

The charge controller is configurable using the device's LCD panel menu or via a Bluetooth interface module using the manufacture's smart phone app.  The current solar charging configuration is for the LiFePO4 house battery using the following setting:
- Boost: 14.45V  
- Boost Return: 13.30V
- Over V warning:  16V
- Under V warning: 12V
- Under V recover:  12.2V
- Low V disconnect 11.0V
- Low V reconnect 12.6V

For solar charging, the Boost Voltage is set to 14.45V with the Boost Return Voltage is set to 13.30V.  This is to maximize solar charging during daylight hours keeping the battery capacity between 96% and 80%.  

Components
  • Solar Charge Controller
    • Renogy Rover Li 40 MPPT with Bluetooth BT-1
      • 100V Vmax solar input
      • 40A DC output
      • 550W Maximum Power for 12V battery system 
  • Solar Panels
    • Renogy 175W Flexible Monocrystalline Solar Panel
      • 175W, VOC 23.9V,
      • 3 Panels in Series
        • Total VOC of 71.7V (less than MPPT Vmax as required) 
        • Total Pmax of 525W (less than MPPT Pmax as required) 

Shore Power Charging and AC Power Inverter

With the added battery capacity of the LiFePO4 house bank, a 2000W inverter charger was installed.  All AC outlets, but two, are powered through the inverter.  These outlets include the microwave, but not the separate GFCI outlets for the water heater nor the GFCI outlet tied into the A/C and heater unit.   The model installed is a Renogy PCL1-20111S 2000 Watt 12V DC to 120V AC Pure Sine Wave Inverter Charger.  This inverter charger is equipped with a 30A transfer relay switch that automatically switches between Inverter and Standby mode depending on availability of AC shore power.  If shore power is present, the transfer relay bypasses up to 30A of the incoming AC power through the inverter to power the AC loads on the inverter’s output.   When the shore power is disconnected, the inverter powers the loads through the battery bank.  The automatic power transfer occurs without any power interruption.

This inverter charger is fully configurable and can provide a charging current settable from 5-65A.  This unit has been configured using the custom setting (menu P-05 set to "b-0") for a Lithium battery type configuration (menu P-94 set to "ALb") with the following charging parameters:  Charging Current (P-11) of 45A, Boost Charge Voltage (P-26) of 13.4V (90% capacity), and a Charge Return Voltage (P-27) of 13.10V (60% capacity).

There is some discussion regarding the use of a float voltage stage for LiFePO4 batteries.  For most solar operations, a float voltage is not needed.  Most all of the LiFePO4 battery manufacturer's preconfigured and recommended charging settings do not utilize a float operation.   But for a mobile operations, one may want the battery to be in a high state of charge, ready for full and immediate operation, and therefore using a float voltage like 13.4V (3.35V per cell) would keep the battery at approximately 90% capacity.   While some may question the value of operating with a float voltage stage, well reputable LiFePO4 battery manufactures, like Battle Born,  note that it is fine to float their batteries at voltages up to 13.6V.   At present, the inverter charger is set not to float charge.  

Renogy Inverter/Charger Menu Settings for Custom LiFePO4 charging
  • Set to Battery Type to Custom Type /User Mode [Set P-05 to b-0]
  • Choose Li battery type [Set P-94 to ALb]
  • Set Max Charge Voltage [Set P-26 to 13.40V]
  • Set Charge Return Voltage [Set P-27 to 13.10V]
Components
    • Inverter/Charger
      • Renogy PCL1-20111S 2000 Watt 12V DC to 120V AC Pure Sine Wave Inverter Charger
        • Automatic Transfer Switch between AC Shore Power and AC Inverter Power
        • Charging Current range 5-65A
        • Configurable Charging Profiles

    Alternator Charging

    The current engine alternator is an AMPTECH S120Si which is internally regulated and rated at 120A output.  Because the BMS can abruptly disconnect the battery during charging,  an alternator should not be directly connected to a BMS controlled battery without additional protections.  There are many solutions to protect the alternator.  A safe, simple, and affordable solution is to use a tradition battery (FLA or AGM) for a START battery with the alternator connected directly to the START battery for charging.  A battery combiner, such as an automatic charging relay (ACR) or DC to DC charger, can then safely combine the START and HOUSE banks for alternator charging.  If during charging, the BMS disconnects the HOUSE bank, the alternator which is always connected directly to the START battery, is protected from the sudden disconnect of the HOUSE battery.

    A DC to DC charger was considered, but this option would either limit the alternator charging current to 60A or less, or require multiple DC to DC chargers operating in Parallel.  It was realized that an existing Blue Sea SI-ACR, which was utilized for previous combining FLA batteries, could easily be modified for safely combining the lead acid START battery with the LiFePO4 HOUSE battery.  An issue with the stock Blue Sea SI-ACR is that the default sense voltage for combining batteries is below normal LiFePO4 operating voltage.  Resulting in the stock ACR always combining the batteries even without any charging voltage.  The solution is to control the ACR's ground connection with a remote switch.   This was confirmed by contacting Blue Sea support, who noted that the ACR's relay is spring loaded such that with the ground disconnected, the relay would automatically disconnect the combined battery.  

    First, a simple manual push/pull switch was installed to control the ACR ground.  Pull the switch out, and the ACR combines the batteries after a built-in ACR delay of 60s.   Push the switch back in, and the ACR disconnects the batteries.  While a simple switch works, it requires manual control.   To automate the switching, a smart switching device was made using an Arduino to senses the ignition power to control a relay which connects/disconnects the ACR to ground.  This Smart Switch operates with a configurable time delay to allow for additional delay beyond the ACR default.  In addition,  2 temperature probes were added to the Smart Switch.  One probe monitors the HOUSE battery temperature and if this temperature drops below 32 degrees F (freezing) then the ACR is disabled.  The second temperature probe is for monitoring the alternator temperature and if this temperature goes above 200 degrees F, the ACR is disabled.   In both cases, the ACR can automatically resume operation when the temperatures return to within the specified ranges.  A mini USB port allows for connecting a computer to change any of program parameters such as delay time or temperature limits. An LCD display on the Smart Switch indicates the operating status and displays the alternator and LiFePO4 battery temperatures.

    Images for the Arduino Smart Switch:  The first photo show the Smart Switch operating under normal conditions.  This photo also shows a connection to a computer by the Arduino's mini USB port.  The USB connection allows for changing the Smart Switch parameters such as the delay time or min/max operating temperatures.    Under normal operations, the Smart Switch does not require a USB connection.



    Arduino Smart Switch with control relay ON           Arduino Smart Switch with control relay OFF
































    ARDUINO CODE

    /* 
     *  Smart SI-ACR controller
     *  
     * This code follows the Makerguide.com example for the DS18B20 1-Wire digital temperature sensor 
     * with 16x2 I2C LCD and Arduino example code. More info:  https://www.makerguides.com/ds18b20-arduino-tutorial/
     * 
     */
     
    // Include the required Arduino libraries
    #include <onewire.h>
    #include <dallastemperature.h>
    #include <liquidcrystal_i2c.h>
    
    // Define input/output pins
    #define ONE_WIRE_BUS 2    // readout pin for temp probes
    #define RELAY 7           // output pin for the relay control
    
    // Create a new instance of the oneWire class to communicate with any OneWire device:
    OneWire oneWire(ONE_WIRE_BUS);
    // Pass the oneWire reference to DallasTemperature library:
    DallasTemperature sensors(&oneWire);
    
    LiquidCrystal_I2C lcd(0x27, 16, 2);
    
    // Degree symbol:
    byte Degree[] = {
      B00111,
      B00101,
      B00111,
      B00000,
      B00000,
      B00000,
      B00000,
      B00000
    };
    
    bool isOn = true;
    
    void setup() {
      // Start up the library:
      sensors.begin();
      // Start the LCD and turn on the backlight:
      lcd.init();
      lcd.backlight();
      // Create a custom character:
      lcd.createChar(0, Degree);
    
      digitalWrite(RELAY, LOW); 
      pinMode(RELAY, OUTPUT);
      lcd.setCursor(0,0);
      lcd.print("ALT BAT CHARGING");
      lcd.setCursor(3,1);
      lcd.print("Delay Start");
      delay(30000);  // initial delay of 30 seconds
    }
    
    void loop() {
      // Send the command for all devices on the bus to perform a temperature conversion:
      sensors.requestTemperatures();
      
      // Fetch the temperature in degrees Fahrenheit for two devices
      int i = 0;
      float AlternatorTemp = sensors.getTempFByIndex(i++); // the index 0 refers to the first device
      float BatteryTemp = sensors.getTempFByIndex(i++);
      
      // Print the temperature on the LCD;
      lcd.setCursor(0,0);
      lcd.print("ALT LiFe CHG:");
      lcd.setCursor(13,0);
      if(isOn)
        lcd.print(" ON");
      else
        lcd.print("OFF");
      lcd.setCursor(0,1);
      lcd.print("       "); // clear the line
      lcd.setCursor(0,1);
      lcd.print("A:");
      lcd.print((int) AlternatorTemp);
      lcd.write(0); // print the custom character
      lcd.print("F  ");
      lcd.setCursor(8,1);
      lcd.print("       ");
      lcd.setCursor(8,1);
      lcd.print("B:");
      lcd.print((int)BatteryTemp);
      lcd.write(0);
      lcd.print("F");
      if(BatteryTemp < 32 || AlternatorTemp > 200 ) {
        isOn=false;
        digitalWrite(RELAY,LOW);
      }
      else {
        isOn = true;
        digitalWrite(RELAY,HIGH);
      }
      
      // Wait 1 second between updates
      delay(1000);
    }







    Monday, June 7, 2021

    Reupholstering Cabin Cushions and Making Curtains

    Reupholstering  Cabin Cushions & Making Cabin Curtains


    After many years of service, it was time to update the cabin upholstery aboard Johanna Rose. The project included recovering the settee cushions and making new curtains, which made a surprisingly large difference in the appearance of the cabin.

    For the project, I purchased a NewTech 607Z sewing machine. The NewTech 607Z is a Ultrafeed LSZ-style walking-foot sewing machine from GoldStar Tool. It is essentially a much less expensive alternative to the Sailrite Ultrafeed LSZ and cost roughly one-quarter as much. For an occasional DIY marine upholstery project, it proved quite capable of handling the heavier fabrics and multiple layers involved.

    I purchased the upholstery fabric and sewing notions from Sailrite and relied heavily on Sailrite's excellent how-to videos for the construction techniques. Their videos walked me through the process of measuring, cutting, sewing, and assembling the cushion covers and were particularly helpful for someone tackling marine upholstery work for the first time.

    The existing cushion foam was reused where possible, with new covers made to fit the original cushions. I also used the project as an opportunity to make new cabin curtains from coordinating fabric.

    This was a very manageable DIY project with the right sewing machine and a little patience. The combination of new cushion covers and curtains gave the cabin a fresh, updated appearance without the expense of having the upholstery professionally made.

     

    The original cabin cushions before beginning the upholstery project.
      Shown were several cloth samples considered for the project.


    NewTech 607Z sewing machine with Monster wheel option.

    New upholstery fabric selected for the cabin settee cushions.
     
    One of the newly covered cushions completed and ready to go back aboard.

    The underside of a newly covered cushions completed and ready to go back aboard.





    The finished cabin—the new cushion covers provide a simple but substantial update to the interior of Johanna Rose.



    The port-side settee with the newly upholstered cushions set up in pull-out berth mode.





    Reupholstering the vee-berth cushions.  The old cushions were in poor shape.



    The newly finished vee-berth cushion a substantial update to the interior of Johanna Rose.


    Making cabin Curtains


    Starboard side port lights prior to adding curtains. 
    The new curtains above starboard settee.
     


    Opened curtains above starboard settee. 


     














     

    New curtains in the head.







    Friday, June 4, 2021

    Replacing the Head Stay


    Why I Replaced It

    This project started when I found small pieces of what appeared to be a Delrin bushing on the foredeck of Johanna Rose. After some investigation, I discovered that one of the Delrin liners in the Schaefer roller-furling system was deteriorating.

    I contacted Schaefer Marine about obtaining a replacement liner. I didn't know exactly which furler model was installed on the boat, but with their help and a few measurements, I identified it as the older Schaefer System 2000.

    The System 1100 and System 2000 use the same foil extrusion, so one way to distinguish between them is by measuring the furling drum. The 1100 drum measures approximately 3.125 inches across the top, while the System 2000 drum measures approximately 3.49 inches.

    To replace the Delrin liner, the entire headstay and furling assembly had to come down so that the foil cap could be removed.

    Mistake #1 — Planning to Reuse the Existing Headstay

    My original plan was to disassemble the existing Sta-Lok terminal, remove the foil cap, replace the deteriorated liner, and then reinstall everything using a new Sta-Lok wedge and former.

    After getting into the project, however, I reconsidered that approach. I didn't know the age of the existing headstay wire, and since the entire assembly was already down, this seemed like the ideal time to replace the wire rather than reinstall an old and potentially aging headstay.

    I therefore cut off the old Sta-Lok terminal and pulled the old wire out of the furling foil.

    And that led directly to...

    Mistake #2 — Pulling Out the Old Wire

    I later learned that the normal procedure when replacing the wire inside a furling foil is to use the old headstay as a messenger for the new one. The end of the new wire is securely joined to the old wire, and as the old stay is pulled out, it draws the new stay through the foil behind it.

    There's a good reason for doing this. Many furling systems have inserts at the joints between foil sections with only a small central opening for the headstay wire. Once the old wire has been removed, feeding a new 5/16-inch wire through all of those openings can be extremely difficult or impossible.

    At this point, I thought I might have created a much larger project for myself. The apparent solution was to drill out all of the foil rivets, separate the foil sections, install the new wire through the inserts one section at a time, and then rivet the entire assembly back together.

    Fortunately, before doing that, I called Schaefer Marine to order replacement rivets.

    That phone call saved me a lot of work.

    The Schaefer representative explained that the System 2000 uses foil inserts with a radial U-shaped groove rather than a small hole through the center. This makes it possible to install a new stay even after the old wire has been completely removed.

    The procedure was simple: feed the new wire through the foil until it reaches an insert, then rotate the foil slightly until the wire finds the opening of the U-shaped groove. Once aligned, the wire slides through to the next section.

    I followed Schaefer's instructions, and they worked perfectly. The new 5/16-inch headstay wire fed through the entire foil assembly without having to drill out a single rivet or disassemble the foil sections.

    What initially looked like a potentially major mistake turned out to be a relatively easy problem to solve—and I was very happy to avoid taking the entire furler apart.

    Parts Purchased for the Headstay Replacement

    • 51 ft of 5/16-inch 1×19 T316 stainless-steel wire
      • KOS WIR-SSW-1X19-10F
    • 5/8-inch threaded turnbuckle with toggle for 5/16-inch wire
      • Sta-Lok STAUB23588
    • 5/16-inch swageless terminal
      • Sta-Lok STA21108
    • 5/8-inch clevis pins
      • Sta-Lok STA05710PKT2
    • 1/2-inch clevis pins
      • Sta-Lok STA05708PKT2

    In the end, what began as a project to replace a deteriorating Delrin liner became a complete headstay replacement. With the furler already removed and the age of the existing stay unknown, replacing the wire and terminal hardware provided some additional peace of mind and avoided having to take everything apart again later.

    The biggest lesson from the project: if you're replacing the headstay wire in a roller-furling foil, don't pull the old wire out until you know how the foil is constructed. Whenever possible, use the old stay as a messenger for the new one.



    Schaefer System 2000 roller-furling Delrin liner replacement.


     

    Schaefer System 2000 roller-furling assembly removed from Johanna Rose for replacement of the deteriorating Delrin liner and headstay.

    The  roller-furling stem-head assembly.
























    Thursday, June 3, 2021

    Adding new LiFePo4 to the House Battery

     Building a 560AH LiFePO4 House Battery for Under $1k

     



    The above left photo shows the new LiFePO4 battery compared to one of the two 105AH Deep Cycle batteries that was previous used for the HOUSE battery system.   The photo to the right shows the LiFePO4 battery installed under the aft port quarter berth, utilizing the same exact space where the previous 2 FLA deep cycle HOUSE batteries were located.   The FLA 12V START battery is shown in the lower side of photo on the right.  The Alternator charging cable is connected directly to the lead acid START battery.  

    In summary, the new HOUSE battery occupies the same location as the previous HOUSE batteries, weighs less (95 lbs vs 125 lbs), but has 5 TIMES the capacity.  In other words, this LiFePO4 battery is equivalent in capacity to over TEN (10) 105AH Deep Cycle batteries but with much much better performance and expected longevity. 


    Main Component List
    • Battery cells purchased from Alibaba.com
      • Lishen LFP 280AH cells 
        • $75 * 8 + $250shipping 
    • BMS purchased from LLT Power Electronics 
      • JBD-SP04S020 120A BMS 4S w/ low&high Temp w/ bluetooth
        • $60
    • Odds and Ends
      • $40

    Battery Cells

    Purchase & Delivery: A total of eight (8) 280AH Prismatic LiFePO4 (Lishen Model LF280) were purchased from Shenzhen Jidian Technology Co., Ltd. on Alibaba.com.  The shipment took nearly 60 days to arrive via the slow boat from China.  While this delay is rather excessive, the order was placed just before the Chinese New Year Holiday.  This, along with COVID-19 impacts, likely added to the delay.  The battery cells arrived without any buss bars and mounting hardware. These items did eventually arrived in a separate shipment.

    The battery cells arrived in two separate shipping boxes (see photo below).  Each cell was wrapped well and arrived with no visible damage or imperfections.  The voltages for all cells were within a few mV of 3.260V indicating that they were shipped at or near 50% charge capacity as recommended by the manufacturer's specifications.  






    BMS

    Based on reviews and recommendations the original plan was to purchase a JBD-SP04S020 4S 120A LiFePO4 BMS with Bluetooth from Overkill Solar.   This BMS has two temperature probs for controlling the MIN/MAX operating values and Bluetooth operation with available iOS app.  Temperature monitoring is important as the LiFePO4 cells should NOT be charged at temps below freezing as doing so would damage the cells.   Unfortunately, Overkill Solar was out of stock and all attempts to contact Overkill Solar failed.   Fortunately, on the diysolarforms.com forum,  a link to the manufacture's website was provided and so the BMS was ordered directly from lithiumbatterypcb.com.  While buying directly from the manufacture does not provide the same service and value of dealing with a local company in the USA especially in regards to warrantee related issues.  Given the lack of response from Overkill Solar and the fact that buying direct was half the price,  buying the BMS directly an easy choice that worked out fine.  asked on the positive experience, a second identical BMS but with the additional RS-485 communication module (i.e., both the Bluetooth UART and RS485 communications).



    Testing, Charging, and Top Balancing

    First, cells were combined in pairs in parallel (positive to positive, negative to negative) then the 4 two-cell units were combined in series (positive to negative and negative to positive) to obtain a  2P4S configuration.  The advantage of  parallelizing first is that the 8 cells are configured to one battery requiring only one BMS.  The alternative 4S2P would be making two individual 12V batteries requiring two BMS units and then connecting these two 12V batteries in parallel (like commonly done for 12V FLA batteries).  

    8 3.2V cells configured in 2P4S for a 12V system

    Since the BMS controls the whole battery charging/discharging based on any one cell performance, it is important to balance the cell capacities to achieve optimal performance.  Cell balancing can only be done with the cells nearly full (top balancing) or nearly empty (bottom balancing).  This is because the cell voltage is nearly independent for most of the cell capacity except for the top or bottom capacities.  See discharge curve below.   Connecting a cell with 60% capacity at 3.30V with a cell at 95% capacity at 3.30V would not equalize and balance out since both cell voltages are nearly identical.  




    A simple method was used to top balance the cells by first connecting the BMS to the 2P4S cells and verifying BMS/battery operation and settings, then configuring the BMS maximum cell voltage to 3.650V and then charging the whole battery with 14.6V bench charger.   With the BMS max cell voltage set, the cells will receive charge until anyone of the 4S cells exceeds the 3.650V setting.  At that point, the BMS stops the charging for the whole battery system.

    Since the cells were shipped with about 50% capacity (as suggested in the specifications), this initial charge took over a day to complete (560AH * 50% / 10A = 28H).   At this point the battery was mostly charged but without capacity balanced cells.  To top balance the cells, the BMS disconnected and the cells disconnected and reconfigured putting all cells in parallel. The cells were then charged with bench charger set to 3.65V (see photos below).   As the battery cells approach 3.650V, the supplied current drops to 0A resulting in a top balanced battery system.


        Initial BMS charging of cells                              Top balancing all cells in parallel




    Build

    Since the buss bars that came with the cells were late in arrival, it was decided to construct new beefier buss bars from sold copper stock.  For the nuts &bolts hardware, 1 inch long M6 bolts were used rather than M6 studs, along with lock washers, and M6 nuts for mounting to the battery terminals.    The contact area of the buss bars  and the cell battery terminals were first cleaned using 1,000 grit paper followed by an alcohol wipe, then a small amount of NOALUX (an anti-oxidant and anti-seizing compound for aluminum to coper conductor connections) was applied to the contact surfaces, and then secured with the M6 bolts via M6 nuts and lock washers.  Lock washers are important as they maintain an optimal tightness securing a good electrical connection.

    A battery box was constructed by first compressing the 2P4S configuration lengthwise.  End plates, made from 1/2" plywood, were connected with 7 threaded 1/4-20 rods.  Between the end plates, the rods were cover with clear vinyl hose to provide chafe protection for the individual cells.  The rods were connected with tee-nuts on one end plate and acorn nuts with washers on the other end plate.  Two rods were located just below the battery cells, two on each side lengthwise, and one rod centrally located just above the cells.  A bottom plywood base was added and screwed into the plywood end plates. A 1"x2" board was added lengthwise to the top edge. Side panels were made from 1/8" thick FRP wall panel and mounted with screws. A separating sheet of FRP was placed inside and above the battery cells to which the BMS was mounted onto.  A 90° copper buss bar brings the battery positive up to a side mounted terminal.  An ANL fuse mount for the negative voltage terminal were located along the top inside edge. A FRP panel was screwed on the top providing a closed battery box.  And a 1" x 2" oval hole in the corner of a side plate provides battery cable access to the internal battery cells.  External battery cables are connected to the negative ANL fuse post and to the positive terminal post.  See photo of completed battery box at the top of this post.



        Battery cells under compression with buss bars.       BMS mounted on a FRP panel.


    BMS Bluetooth iOS App

    The Xiaoxiang BMS app is available for both Apple iOS and Google Android devices.  The iOS version will connect and read BMS parameters via Bluetooth.  In order to change parameter values, requires the in-app purchase for the "Pro Version" of the app for $6.99.   Get the Pro Version!  









    Operations

    BMS Configurations

    Below are are screen shots from the BMS app showing the current setting which I have been configured for the BMS.  The first page contains general information.  While there are 8 battery cells in a 2P4S configuration,  there are only 4 "effective" cells in series and so the BMS monitors cells pairs.  The capacity configuration parameters are used for estimating the state of charge (i.e. battery capacity).  This  settings basically tell the BMS the max battery capacity and some capacity voltage dependence.  Over a few cycles, the BMS will learn and update how capacities are calculated.  The second page allows for additional functional configurations.  The BMS has a built in limited balancer.  This balancer will not efficiently perform a top balance, but can help maintain a battery which is slightly out of balance.  Do a good job at top balancing, and the BMS balancer is likely not to be needed.  The 30mV delta is a recommended setting.  In this battery, the cell voltage deltas have been found to be 4mV or less for capacities below 98%.    


    The most important BMS parameters are the Protections Settings.  The third page (photo below) shows cell over & under voltage values.  These are the two most important parameters of the BMS monitoring.  The corresponding battery over/under values should just be 4 times the cell values (i.e. 4*3.650V = 14.6V).  As required for LiFePO4 cell protection, the charge temperature must be above freezing (0°C).   The NTC1 and NTC2 checkbox tells the BMS that there are two temperature probs.