DRAFT ====== Upgrading a lead-chemistry house bank to LiFePO4 ====== The pre-made LiFePO4 batteries (LFP hereafter) you seen on Amazon and elsewhere are designed and marketed as //drop-in replacements//: pull your lead battery and "drop in" the LFP. This approach works in many cases because the size, shape, voltage range, and charging requirements are in the same ballpark as traditional lead batteries. It's not a perfect scenario, but will meet the needs of the average user. People with special requirements or an interest in technical details can do the reading/testing required for an optimal setup. There are [[electrical:12v:drop-in_lifepo4#drop-in_lithium_benefits|benefits, challenges, and differences]] to be aware of //before// breaking out the credit card. ===== Can I just drop in the LFP and go? ===== Maybe. Probably. Here is a cheat sheet to the main issues: - what the LiFePO4 battery needs((either manufacturer specs or a deeper understanding of the chemistry)) * moderate //charging voltage//((≤14.4v. LFP will charge to 100% SoC at voltages as low as 13.6v)) * relatively low //float voltages//((≤13.4v)), or [[electrical:solar:status#setups_with_no_float|no float at all]] * moderate //charge & discharge currents//(([[electrical:12v:battery_capacity|≤0.5C]])) * charging only above freezing 32F/0C - what your existing charging system provides (or can be configured to provide). * alternator voltage and rating if a [[electrical:12v:alternator|combiner]] or [[electrical:12v:b2b|DC-DC]] is present * [[electrical:solar:charge_controller|solar charging]] (profiles, configurability, output rating, protections if any) * [[electrical:converter|shore power charging]] (voltage, output rating, stages if any) If the existing system cannot be configured to meet LFP's needs within [[electrical:12v:alternator_details#current|the alternator's comfort zone]] then you are looking at replacing some components. For more specific guidance please share details about your setup, use case, budget, and priorities. Note: **undercharging lithium is not an issue** unless you are running out of power. This is a radical change from lead-battery charging. ===== solar charging ===== Here we need to be careful about charging voltages. Solar charging does not usually have enough current for that to be a problem. ==== Will I need a special LFP solar charge controller? ==== Probably not, assuming your existing [[electrical:solar:charge_controller|controller]] has a profile that meet's the LFP's stated needs, or has [[electrical:solar:charge_controller_setpoints|configurable setpoints]] that you can adjust to meet needs. ==== What do I use for Boost, Float, etc? ==== Use a lithium profile or take your battery manufacturer's specs and [[electrical:12v:drop-in_lifepo4#charging|apply them thusly]] Note: advanced or geeky folks may want to take [[electrical:12v:drop-in_lifepo4#an_approach_to_greater_longevity|a different approach]]. ===== alternator charging ===== Charging LFP by alternator is understood by few but confidently((and often hysterically)) discussed by many. [[https://www.youtube.com/watch?v=VY2b71zoyvg|Battle Born summarizes the subject]] like this: >> ...can I use the alternator to charge the batteries? The answer is yes, you can. Under most circumstances you don't even need to modify your system Alternator charging of aux battery banks is a balancing act //regardless of battery chemistry//. We want enough current that we get adequate charging in the time allotted without drawing so much current that we [[electrical:12v:alternator#effect_on_alternator|stress the alternator]] or battery bank itself. This balancing act is more critical when the alternator is relatively small,((output rating, not physical size)) is the sole charging source, or when driving time is limited. When solar is present or drive times longer we can charge at a more leisurely pace. ==== excess current ==== Excess charging current is rarely a problem with solar, but //can// be an issue with charging from the alternator. Discharge and charge current is expressed in [[electrical:12v:battery_capacity|C]]. A 100Ah LFP is 100A at 1C, 50A at 0.5C, etc. Common current specs: * 0.2C - the rate at which battery manufacturers rate cycle life -- this might be telling us something.. * 0.4C - rate that appears to balance charging speed and cell longevity * 0.5C - often given as the max recommended charge rate * 1.0C - typical limit enforced by BMS From the battery's point of view, alternator charging rates should be ≤0.5C, with 0.2C((for [[opinion:frater_secessus:lifepo4_charging_voltage|high charging voltages]])) to 0.4C((moderate charging voltages like 13.8v / 3.45Vpc)) arguably a sweet spot. So ≤80A for a 200Ah bank. From the alternator's point of view, current should be no greater than [[electrical:12v:alternator_details#current|the alternator can comfortably provide]] under expected charging conditions. As the Battle Born quote above suggests, for average LFP banks and average cargo van alternators these criteria will often be met with no reconfiguration. If the criteria cannot be met then we will need [[electrical:12v:b2b|DC-DC charging]] or some other approach to manipulate voltage and/or current.((diode-based isolator, dedicated second alternator, etc)) ==== disabling alternator charging ==== There are cases where you may want to [[electrical:12v:alternator#disabling_alternator_charging|disable charging from the alternator]]. For example: * temps are below freezing * ambient temps are high and the vehicle is not moving (stuck in traffic) * battery hits your charging targets * combined solar + alternator charging exceeds your current preferences ==== Can I still use my existing isolator for alternator charging? ==== [[electrical:12v:directcharginglfp|Probably]], all other things being equal (wiring, bank capacity, etc). === but won't my alternator spew lava? === {{ https://img.mousetrap.net/misc/09FC7C23-021B-47A4-8C48-98225DB8638A.jpg?125}} You've been watching [[electrical:12v:drop-in_lifepo4#but_that_victron_video|that Victron video]] again, haven't you? If you are reading this section your alternator is already charging the AGM bank without going all glowy and smelly. All other things being equal, a similar-sized Li bank will typically [[electrical:12v:directcharginglfp#actual_reports|make similar demands on the alternator]]. As with all projects, it is important to [[electrical:12v:directcharginglfp#assessing_your_own_setup_for_direct_alternator_charging|pay attention and take reasonable precautions]]. === but what if I want a ginormous lithium bank? === If you have a 100Ah of lead that has been pulling 25A and you are planning on 300Ah of LFP you can ballpark the new current acceptance will be 3 x 25A = **75A**. Actual examples [[electrical:12v:directcharginglfp#analysis_of_van-relevant_installs|here]]. But **you might not need that much LFP capacity**. Since lithium is not damaged by [[electrical:12v:psoc|partial state of charge]] and can be taken to lower states of charge, **it only takes ~62% Lithium Ah to replace lead's Ah**. So unless your daily power requirements will increase **you can actually get by with less lithium Ah than Lead and still get the same usable capacity**. * 100Ah lead (50Ah usable) = 63Ah of LFP * 150Ah of lead (75Ah usable) = 93Ah of LFP * 200Ah lead (50Ah usable) = 126Ah of LFP * 220Ah lead (50Ah usable) = 136Ah of LFP * 300Ah lead (50Ah usable) = 186Ah of LFP An anecdote from secessus: > I replaced 220Ah of FLA GC with [[https://mouse.mousetrap.net/boondocking/lithium.html|100Ah of LFP]] and have the same functionality. Bank demand on the alternator //dropped// from 42A to 30A, largely a function of smaller bank capacity. ==== Can I still use my existing DC-DC charger for alternator charging? ==== Yes, unless it has some weird hardcoded [[electrical:solar:charge_controller_setpoints|setpoints]] that are incompatible with the LFP bank. Or is rated higher than the charging current your LFP should receive. === surely a DC-DC will keep my alternator from spewing lava === If it was already handling a similar-size AGM bank then it will probably be fine. Caveat: charging LFP with DC-DC //can// be somewhat harder on the alternator than charging AGM with DC-DC. AGM current acceptance tapers in Absorption which means the DC-DC will not be demanding full powah from the alternator. Depending on the setup Lithium can make the "full pull" until the bank is near full charge. In practice this might only make a real difference with long drives and heavily discharged batteries. An esoteric caveat: it's conceivable there are edge cases where a vandweller has an oversized DC-DC charger (60A?) that has not destroyed a small alternator (90A?) yet because the small lead bank (100Ah?) has only been pulling a fraction of the alternator's capabilities. Shoehorning in a 300Ah LFP bank would max the 60A charger and place serious demands on the undersized alternator. ===== shore power charging ===== Shore power charging is relatively rare for vandwellers and has many factors feeding into it. IF **other forms of shore power charging are available** or **shore power charging will last at least overnight** the [[electrical:converter|shore power charger]] can be a simple, inexpensive, single-stage charger set to a relatively low voltage (13.5v - 13.6v?) This will allow near full charge and load support without overcharging. Lower set voltages like 13.2v - 13.4v will support the battery from depletion but won't charge completely. If there is solar present that will also contribute. If **shore power charging is the only source of charging** or if **time on the charger is limited** then a more aggressive, expensive, higher-capacity multistage charger may be warranted. If the van will **be on shore power for an extended period** (days, weeks, months) then a small single-stage converter charger set to quite low voltage (13.2v?) would hold the battery at middling states of charge. It only needs to be a bit bigger than the expected loads so gradual charging can occur. ===== what about low temp cutoff? ===== Some chargers do use temperature sensing to cut off lithium charging near the freezing point. Some only do this in the preconfigured Lithium profiles (Renogy, on supported models). Note that having a temp probe left over from lead battery charging does not mean low-temp cutoff is supported in the controller. With lead banks temp sensing is used to adjust charging voltage to battery temperature((higher voltage when cold, lower voltage when hot)) and are not intended to turn off charging in freezing weather.((lead batts actually thrive on charging in freezing temps since higher SoC means it takes deep cold to freeze them solid)) Read your controller docs to see if the temp probe can be used to sense freezing temps with Li banks. In addition, some batteries have a low temperature charging disconnect built into the BMS, or internal [[opinion:frater_secessus:self-heated_lifepo4|heating to skirt the issue]]. The owner can also [[https://diysolarforum.com/threads/lifepo4-heating-pad-for-cold-temperatures.5/page-26|add external warming]]. ==== Wait, LFP can be damaged by charging in cold weather? ==== Yes, discharging too but that happens at much lower temperatures than the 32F we use as a hard limit for charging LFP cells. If you will be using the batteries in ≤freezing temperatures((it's actually the cell temps that matter, not the ambient temps)) you will need one or more of these protections: * a BMS that shuts off charging in freezing temps * chargers that shut off charging in frezing temps((remember the alternator charging!)) * a way to warm the battery or otherwise prevent it from getting too cold [Note from secessus: there is [[https://diysolarforum.com/threads/why-you-cannot-charge-lifepo4-below-0-degrees-celsius.2912/post-199774|some evidence]] that LiFePO4 fares better when cell temps are held to warmer temps than just above freezing. For this reason I warm my bank to 50F.]