<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://openinverter.org/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Clanger9</id>
	<title>openinverter.org wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://openinverter.org/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Clanger9"/>
	<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/Special:Contributions/Clanger9"/>
	<updated>2026-04-29T00:08:19Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=State_of_Charge_meter_using_a_Teensy_4.0&amp;diff=1683</id>
		<title>State of Charge meter using a Teensy 4.0</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=State_of_Charge_meter_using_a_Teensy_4.0&amp;diff=1683"/>
		<updated>2021-08-11T13:11:56Z</updated>

		<summary type="html">&lt;p&gt;Clanger9: /* Wiring */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Prototype CAN SoC display.jpg|alt=Prototype CAN SoC display|thumb|Prototype CAN SoC display]]&lt;br /&gt;
This is a CAN bus state-of-charge meter based on a Teensy 4.0. Teensy&#039;s aren&#039;t the cheapest boards (an STM32 is a tenth of the price), but they are tiny, have on-board CAN and are very easy to develop for.&lt;br /&gt;
&lt;br /&gt;
It displays a state-of-charge or voltage value according the integer number sent over CAN bus to the configured address(es)&lt;br /&gt;
&lt;br /&gt;
SoC values between 0 and 1000 will be displayed as &amp;quot;  0.0&amp;quot; to &amp;quot;100 &amp;quot;. The display flashes &amp;quot;  0.0&amp;quot; when it reaches zero. Anything else (or no data) will be displayed as &amp;quot;----&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Voltage values between 1 and 999 will be displayed as &amp;quot;  1V&amp;quot; to &amp;quot;999V &amp;quot;. Anything else (or no data) will be displayed as &amp;quot;---V&amp;quot;&lt;br /&gt;
&lt;br /&gt;
A touch sensor allows you to toggle the display between SoC and voltage.&lt;br /&gt;
&lt;br /&gt;
It includes automatic night time dimming. &lt;br /&gt;
&lt;br /&gt;
== Component list ==&lt;br /&gt;
&lt;br /&gt;
* Teensy 4.0 board&lt;br /&gt;
* SN65HVD230-based CAN transceiver&lt;br /&gt;
* 3461BS-1 4 digit common anode 7 segment display &lt;br /&gt;
* 8x 220R resistors&lt;br /&gt;
* Photocell&lt;br /&gt;
* 10k resistor&lt;br /&gt;
* 47uF capacitor&lt;br /&gt;
* TTP223 Capacitive Touch Switch&lt;br /&gt;
&lt;br /&gt;
== Wiring ==&lt;br /&gt;
[[File:Screenshot 2021-08-10 at 20.27.30.png|alt=Teensy 4.0 connections|thumb|Teensy 4.0 connections]]&lt;br /&gt;
Follow the Teensy 4.0 connection schematic&lt;br /&gt;
&lt;br /&gt;
# Connect the CAN transceiver to Teensy 3.3V, GND, CRX2 and CTX2&lt;br /&gt;
# Connect the LED D1, D2, D3 and D4 digit pins to Teensy 5, 4, 3, 2&lt;br /&gt;
# Connect the LED a, b, c, d, e, f, g and DP segments to Teensy 16, 17, 18, 19, 20, 21, 22, 23 via 220R resistors&lt;br /&gt;
# Connect the Photocell to Teensy 3.3V and A0. Connect A0 to GND via a 10k resistor and 47uF capacitor in parallel.&lt;br /&gt;
# Connect the Touch Switch to Teensy 3.3V, GND and 15&lt;br /&gt;
You&#039;ll need suitable 12V -&amp;gt; 5V power supply for automotive use. For development, it&#039;ll work fine off 5V USB.&lt;br /&gt;
&lt;br /&gt;
== Code ==&lt;br /&gt;
Fire up [https://www.pjrc.com/teensy/teensyduino.html Teensyduino].&lt;br /&gt;
&lt;br /&gt;
Install the [https://github.com/tonton81/FlexCAN_T4 FlexCAN_T4] library&lt;br /&gt;
&lt;br /&gt;
Paste in the following code:&lt;br /&gt;
 // CAN bus state-of-charge meter for Teensy 4.x and 4-digit 7-segment display&lt;br /&gt;
 // Includes automatic LED brightness control&lt;br /&gt;
 //&lt;br /&gt;
 // Usage: send integer number over CAN bus to configured address&lt;br /&gt;
 // SoC values between 0 and 1000 will be displayed as &amp;quot;  0.0&amp;quot; to &amp;quot;100 &amp;quot;&lt;br /&gt;
 // The display flashes &amp;quot;  0.0&amp;quot; when it reaches zero&lt;br /&gt;
 // Anything else (or no data) will be displayed as &amp;quot;----&amp;quot;&lt;br /&gt;
 // Voltage values between 1 and 999 will be displayed as &amp;quot;  1V&amp;quot; to &amp;quot;999V &amp;quot;&lt;br /&gt;
 // Anything else (or no data) will be displayed as &amp;quot;---V&amp;quot;&lt;br /&gt;
 // Touch selection to toggle display between SoC and  voltage&lt;br /&gt;
 //&lt;br /&gt;
 // electric_dart 2021&lt;br /&gt;
 &lt;br /&gt;
 // define display&lt;br /&gt;
 // values below are for 3461BS-1 4 digit common anode 7 segment display &lt;br /&gt;
 const int ledDigits = 4; // 4 digits&lt;br /&gt;
 const int ledSegments = 7; // 7 segments &lt;br /&gt;
 const int pinSegment[ledSegments] = {16, 17, 18, 19, 20, 21, 22}; // pins for a,b,c,d,e,f,g segments&lt;br /&gt;
 const int pinDecimalPoint = 23; // pin for decimal point&lt;br /&gt;
 const int pinDigit[ledDigits] = {5, 4, 3, 2}; // common digit pins, left to right&lt;br /&gt;
 const boolean ledIsCommonAnode = 1; // 1=common anode 0=common cathode&lt;br /&gt;
 const int ledRefreshHz = 100; // minimum 50Hz to avoid flicker&lt;br /&gt;
 const int ledFlashHz = 2; // for flashing display&lt;br /&gt;
 &lt;br /&gt;
 // define display characters&lt;br /&gt;
 const int zero[ledSegments] = {HIGH, HIGH, HIGH, HIGH, HIGH, HIGH, LOW};&lt;br /&gt;
 const int one[ledSegments] = {LOW, HIGH, HIGH, LOW, LOW, LOW, LOW};&lt;br /&gt;
 const int two[ledSegments] = {HIGH, HIGH, LOW, HIGH, HIGH, LOW, HIGH};&lt;br /&gt;
 const int three[ledSegments] = {HIGH, HIGH, HIGH, HIGH, LOW, LOW, HIGH};&lt;br /&gt;
 const int four[ledSegments] = {LOW, HIGH, HIGH, LOW, LOW, HIGH, HIGH};&lt;br /&gt;
 const int five[ledSegments] = {HIGH, LOW, HIGH, HIGH, LOW, HIGH, HIGH};&lt;br /&gt;
 const int six[ledSegments] = {HIGH, LOW, HIGH, HIGH, HIGH, HIGH, HIGH};&lt;br /&gt;
 const int seven[ledSegments] = {HIGH, HIGH, HIGH, LOW, LOW, LOW, LOW};&lt;br /&gt;
 const int eight[ledSegments] = {HIGH, HIGH, HIGH, HIGH, HIGH, HIGH, HIGH};&lt;br /&gt;
 const int nine[ledSegments] = {HIGH, HIGH, HIGH, LOW, LOW, HIGH, HIGH};&lt;br /&gt;
 const int blank[ledSegments] = {LOW, LOW, LOW, LOW, LOW, LOW, LOW};&lt;br /&gt;
 const int dash[ledSegments] = {LOW, LOW, LOW, LOW, LOW, LOW, HIGH};&lt;br /&gt;
 const int volt[ledSegments] = {LOW, LOW, HIGH, HIGH, HIGH, LOW, LOW};&lt;br /&gt;
 // add additional characters here if required&lt;br /&gt;
 const int* character[13] = {zero, one, two, three, four, five, six, seven, eight, nine, blank, dash, volt};&lt;br /&gt;
 &lt;br /&gt;
 // photocell parameters&lt;br /&gt;
 int pinPhotocell = 14; // photocell pin&lt;br /&gt;
 int photocellDark = 500; // adjust dark level for your photocell&lt;br /&gt;
 int photocellLight = 1000; // adjust light level for your photocell&lt;br /&gt;
 &lt;br /&gt;
 // touch parameters&lt;br /&gt;
 int pinOnboardLED = 13;&lt;br /&gt;
 int pinTouch = 15;&lt;br /&gt;
 int touchCurrentState;&lt;br /&gt;
 int touchLastState;&lt;br /&gt;
 &lt;br /&gt;
 // CAN bus setup&lt;br /&gt;
 const long canIDsoc = 0x350; // set this to match your SoC CAN bus ID&lt;br /&gt;
 const long canIDvoltage = 0x522; // set this to match your voltage CAN bus ID&lt;br /&gt;
 const long canSpeed = 500000; // set this to match your CAN bus speed&lt;br /&gt;
 const long canTimeout = 10; // seconds to wait without data before showing error&lt;br /&gt;
 #include &amp;lt;FlexCAN_T4.h&amp;gt;&lt;br /&gt;
 FlexCAN_T4&amp;lt;CAN2, RX_SIZE_256, TX_SIZE_16&amp;gt; Can0; // Using CAN2 on pins 0 &amp;amp; 1&lt;br /&gt;
 &lt;br /&gt;
 // internal variables&lt;br /&gt;
 int ledRefreshMilliseconds = 1000 / (ledDigits * ledRefreshHz); // milliseconds&lt;br /&gt;
 int ledOnMicroseconds; // microseconds&lt;br /&gt;
 unsigned long nowMilliseconds;&lt;br /&gt;
 unsigned long nowMicroseconds;&lt;br /&gt;
 unsigned long nextRefreshMilliseconds = 0;&lt;br /&gt;
 unsigned long nextBlankMicroseconds = 0;&lt;br /&gt;
 unsigned long nextTimeoutMilliseconds = 0;&lt;br /&gt;
 unsigned long nextFlashMilliseconds = 0;&lt;br /&gt;
 boolean ledFlashState = 1;&lt;br /&gt;
 int digitSelect = 0;&lt;br /&gt;
 int readingSoC = -1;&lt;br /&gt;
 int readingVoltage = -1;&lt;br /&gt;
 int photocellReading;&lt;br /&gt;
 int ledBrightness; // score 1 to 10&lt;br /&gt;
 int displayMode = 0; // 0=SoC, 1=Voltage&lt;br /&gt;
 &lt;br /&gt;
 void clearDisplay()&lt;br /&gt;
 {&lt;br /&gt;
   for (int i = 0; i &amp;lt; ledDigits; ++i)&lt;br /&gt;
   {&lt;br /&gt;
     digitalWrite(pinDigit[i], HIGH ^ ledIsCommonAnode);&lt;br /&gt;
   }&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 void writeDisplayDigit(int digit, int value, boolean decimal)&lt;br /&gt;
 // digit: numbered left-to-right, beginning at zero&lt;br /&gt;
 // value: the character to display from character[] array&lt;br /&gt;
 // decimal: set this to 1 to switch the decimal point on&lt;br /&gt;
 {&lt;br /&gt;
   for (int i = 0; i &amp;lt; ledSegments; ++i)&lt;br /&gt;
   {&lt;br /&gt;
     digitalWrite(pinSegment[i], character[value][i] ^ ledIsCommonAnode);&lt;br /&gt;
   }&lt;br /&gt;
   digitalWrite(pinDecimalPoint, decimal ^ ledIsCommonAnode);&lt;br /&gt;
   digitalWrite(pinDigit[digit], LOW ^ ledIsCommonAnode);&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 void writeDisplaySoC(int digit, int value) // customise this section according to what you want to display&lt;br /&gt;
 {&lt;br /&gt;
   if (value == 1000) { // display &amp;quot;100 &amp;quot; if the input value is 1000&lt;br /&gt;
     switch (digit) {&lt;br /&gt;
       case 0:&lt;br /&gt;
         writeDisplayDigit(0, 1, 0);&lt;br /&gt;
         break;&lt;br /&gt;
       case 1:&lt;br /&gt;
         writeDisplayDigit(1, 0, 0);&lt;br /&gt;
         break;&lt;br /&gt;
       case 2:&lt;br /&gt;
         writeDisplayDigit(2, 0, 0);&lt;br /&gt;
         break;&lt;br /&gt;
     }&lt;br /&gt;
   }&lt;br /&gt;
   else if (value &amp;gt;= 100 and value &amp;lt; 1000) { // display &amp;quot; 99 &amp;quot; to &amp;quot; 10 &amp;quot; for input values from 999 to 100&lt;br /&gt;
     switch (digit) {&lt;br /&gt;
       case 1:&lt;br /&gt;
         writeDisplayDigit(1, value / 100, 0);&lt;br /&gt;
         break;&lt;br /&gt;
       case 2:&lt;br /&gt;
         writeDisplayDigit(2, (value / 10) % 10, 0);&lt;br /&gt;
         break;&lt;br /&gt;
     }&lt;br /&gt;
   }&lt;br /&gt;
   else if (value &amp;gt;= 1 and value &amp;lt; 100) { // display &amp;quot;  9.9&amp;quot; to &amp;quot;  0.1&amp;quot; for input values from 99 to 1&lt;br /&gt;
     switch (digit) {&lt;br /&gt;
       case 2:&lt;br /&gt;
         writeDisplayDigit(2, value / 10, 1);&lt;br /&gt;
         break;&lt;br /&gt;
       case 3:&lt;br /&gt;
         writeDisplayDigit(3, value % 10, 0);&lt;br /&gt;
         break;&lt;br /&gt;
     }&lt;br /&gt;
   }&lt;br /&gt;
   else if (value == 0) { // display flashing &amp;quot;  0.0&amp;quot; for input value 0&lt;br /&gt;
     if (nowMilliseconds &amp;gt; nextFlashMilliseconds) {&lt;br /&gt;
       nextFlashMilliseconds = nowMilliseconds + ( 1000 / ledFlashHz );&lt;br /&gt;
       ledFlashState = ledFlashState ^ 1;&lt;br /&gt;
     }&lt;br /&gt;
     if (ledFlashState == 1) { &lt;br /&gt;
       switch (digit) {&lt;br /&gt;
         case 2:&lt;br /&gt;
           writeDisplayDigit(2, 0, 1);&lt;br /&gt;
           break;&lt;br /&gt;
         case 3:&lt;br /&gt;
           writeDisplayDigit(3, 0, 0);&lt;br /&gt;
           break;&lt;br /&gt;
       }&lt;br /&gt;
     }&lt;br /&gt;
     else {&lt;br /&gt;
       switch (digit) {&lt;br /&gt;
         case 2:&lt;br /&gt;
           writeDisplayDigit(2, 10, 1);&lt;br /&gt;
           break;&lt;br /&gt;
         case 3:&lt;br /&gt;
           writeDisplayDigit(3, 10, 0);&lt;br /&gt;
           break;&lt;br /&gt;
       }&lt;br /&gt;
     }&lt;br /&gt;
   }&lt;br /&gt;
   else { // display &amp;quot;----&amp;quot; for anything else&lt;br /&gt;
     writeDisplayDigit(digit, 11, 0);&lt;br /&gt;
   }&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 void writeDisplayVoltage(int digit, int value) // customise this section according to what you want to display&lt;br /&gt;
 {&lt;br /&gt;
   if (value &amp;gt;= 100 and value &amp;lt; 1000) { // display &amp;quot;100V&amp;quot; to &amp;quot;999V&amp;quot; for input values 100 to 999&lt;br /&gt;
     switch (digit) {&lt;br /&gt;
       case 0:&lt;br /&gt;
         writeDisplayDigit(0, (value / 100) % 10, 0);&lt;br /&gt;
         break;&lt;br /&gt;
       case 1:&lt;br /&gt;
         writeDisplayDigit(1, (value / 10) % 10, 0);&lt;br /&gt;
         break;&lt;br /&gt;
       case 2:&lt;br /&gt;
         writeDisplayDigit(2, value  % 10 , 0);&lt;br /&gt;
         break;&lt;br /&gt;
       case 3:&lt;br /&gt;
         writeDisplayDigit(3, 12, 0);&lt;br /&gt;
         break;        &lt;br /&gt;
     }&lt;br /&gt;
   }&lt;br /&gt;
   else if (value &amp;gt;= 10 and value &amp;lt; 100) { // display &amp;quot; 10V&amp;quot; to &amp;quot; 99V &amp;quot; for input values from 10 to 99&lt;br /&gt;
     switch (digit) {&lt;br /&gt;
       case 1:&lt;br /&gt;
         writeDisplayDigit(1, value / 10, 0);&lt;br /&gt;
         break;&lt;br /&gt;
       case 2:&lt;br /&gt;
         writeDisplayDigit(2, value % 10, 0);&lt;br /&gt;
         break;&lt;br /&gt;
       case 3:&lt;br /&gt;
         writeDisplayDigit(3, 12, 0);&lt;br /&gt;
         break;        &lt;br /&gt;
     }&lt;br /&gt;
   }&lt;br /&gt;
   else if (value &amp;gt;= 1 and value &amp;lt; 10) { // display &amp;quot;  1V&amp;quot; to &amp;quot;  9V &amp;quot; for input values from 1 to 9&lt;br /&gt;
     switch (digit) {&lt;br /&gt;
       case 2:&lt;br /&gt;
         writeDisplayDigit(2, value % 10, 0);&lt;br /&gt;
         break;&lt;br /&gt;
       case 3:&lt;br /&gt;
         writeDisplayDigit(3, 12, 0);&lt;br /&gt;
         break;        &lt;br /&gt;
     }&lt;br /&gt;
   }&lt;br /&gt;
   else { // display &amp;quot;---V&amp;quot; for anything else&lt;br /&gt;
     switch (digit) {&lt;br /&gt;
       case 0:&lt;br /&gt;
         writeDisplayDigit(0, 11, 0);&lt;br /&gt;
         break;&lt;br /&gt;
       case 1:&lt;br /&gt;
         writeDisplayDigit(1, 11, 0);&lt;br /&gt;
         break;&lt;br /&gt;
       case 2:&lt;br /&gt;
         writeDisplayDigit(2, 11, 0);&lt;br /&gt;
         break;&lt;br /&gt;
       case 3:&lt;br /&gt;
         writeDisplayDigit(3, 12, 0);&lt;br /&gt;
         break;   &lt;br /&gt;
     }     &lt;br /&gt;
   }&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 void setup() {&lt;br /&gt;
   Serial.begin(9600); //initialise serial communications at 9600 bps&lt;br /&gt;
 &lt;br /&gt;
   // Initialise CAN bus&lt;br /&gt;
   delay(1000); // allow CAN hardware to stabilise&lt;br /&gt;
   Can0.begin();&lt;br /&gt;
   Can0.setBaudRate(canSpeed);&lt;br /&gt;
   Can0.setMaxMB(16);&lt;br /&gt;
   Can0.enableFIFO();&lt;br /&gt;
   Can0.enableFIFOInterrupt();&lt;br /&gt;
   Can0.onReceive(canDataReceived);&lt;br /&gt;
   Can0.mailboxStatus();&lt;br /&gt;
 &lt;br /&gt;
   // Initialise LED display&lt;br /&gt;
 &lt;br /&gt;
   // segement pins&lt;br /&gt;
   for (int i = 0; i &amp;lt; ledSegments; ++i)&lt;br /&gt;
   {&lt;br /&gt;
     pinMode(pinSegment[i], OUTPUT);&lt;br /&gt;
   }&lt;br /&gt;
 &lt;br /&gt;
   // decimal point pin&lt;br /&gt;
   pinMode(pinDecimalPoint, OUTPUT);&lt;br /&gt;
 &lt;br /&gt;
   // digit pins&lt;br /&gt;
   for (int i = 0; i &amp;lt; ledDigits; ++i)&lt;br /&gt;
   {&lt;br /&gt;
     pinMode(pinDigit[i], OUTPUT);&lt;br /&gt;
   }&lt;br /&gt;
   clearDisplay();&lt;br /&gt;
 &lt;br /&gt;
   pinMode(pinOnboardLED, OUTPUT);&lt;br /&gt;
   pinMode(pinPhotocell, INPUT);&lt;br /&gt;
   pinMode(pinTouch, INPUT);&lt;br /&gt;
   touchCurrentState = digitalRead(pinTouch);&lt;br /&gt;
   &lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 void canDataReceived(const CAN_message_t &amp;amp;msg) {&lt;br /&gt;
 //  Serial.print(&amp;quot;MB &amp;quot;); Serial.print(msg.mb);&lt;br /&gt;
 //  Serial.print(&amp;quot;  OVERRUN: &amp;quot;); Serial.print(msg.flags.overrun);&lt;br /&gt;
 //  Serial.print(&amp;quot;  LEN: &amp;quot;); Serial.print(msg.len);&lt;br /&gt;
 //  Serial.print(&amp;quot; EXT: &amp;quot;); Serial.print(msg.flags.extended);&lt;br /&gt;
 //  Serial.print(&amp;quot; TS: &amp;quot;); Serial.print(msg.timestamp);&lt;br /&gt;
 //  Serial.print(&amp;quot; ID: &amp;quot;); Serial.print(msg.id, HEX);&lt;br /&gt;
 //  Serial.print(&amp;quot; Buffer: &amp;quot;);&lt;br /&gt;
 //  for ( uint8_t i = 0; i &amp;lt; msg.len; i++ ) {&lt;br /&gt;
 //    Serial.print(msg.buf[i], HEX); Serial.print(&amp;quot; &amp;quot;);&lt;br /&gt;
 //  } Serial.println();&lt;br /&gt;
 &lt;br /&gt;
   switch (displayMode) { // according to display mode&lt;br /&gt;
     case 1:&lt;br /&gt;
       if (msg.id == canIDvoltage) {&lt;br /&gt;
       // Matching voltage CAN bus frame arrived!&lt;br /&gt;
         //readingVoltage = (msg.buf[2] &amp;lt;&amp;lt; 24) | (msg.buf[3] &amp;lt;&amp;lt; 16) | (msg.buf[4] &amp;lt;&amp;lt; 8) | (msg.buf[5]);   // now piece it together&lt;br /&gt;
         readingVoltage = (msg.buf[6] &amp;lt;&amp;lt; 8) | (msg.buf[7]);   // now piece it together&lt;br /&gt;
         nextTimeoutMilliseconds = nowMilliseconds + (canTimeout * 1000); // set next timeout&lt;br /&gt;
       }&lt;br /&gt;
       break;  &lt;br /&gt;
     default:&lt;br /&gt;
       if (msg.id == canIDsoc) {&lt;br /&gt;
       // Matching SoC CAN bus frame arrived!&lt;br /&gt;
         readingSoC = (msg.buf[6] &amp;lt;&amp;lt; 8) | (msg.buf[7]);   // now piece it together&lt;br /&gt;
         nextTimeoutMilliseconds = nowMilliseconds + (canTimeout * 1000); // set next timeout&lt;br /&gt;
       }&lt;br /&gt;
       break;&lt;br /&gt;
   }&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 void loop() {&lt;br /&gt;
 &lt;br /&gt;
   // add extra code here&lt;br /&gt;
 &lt;br /&gt;
   // pot input for testing without CAN bus&lt;br /&gt;
   //reading = analogRead(pin_pot);&lt;br /&gt;
   //reading = map(reading, 10, 1023, 0, 1000);&lt;br /&gt;
 &lt;br /&gt;
   touchLastState = touchCurrentState;&lt;br /&gt;
   touchCurrentState = digitalRead(pinTouch);&lt;br /&gt;
   if(touchLastState == LOW &amp;amp;&amp;amp; touchCurrentState == HIGH) {&lt;br /&gt;
     // toggle display&lt;br /&gt;
     displayMode = !displayMode;&lt;br /&gt;
     // control LED arccoding to the toggled state&lt;br /&gt;
     digitalWrite(pinOnboardLED, displayMode); &lt;br /&gt;
   }&lt;br /&gt;
   //&lt;br /&gt;
   //&lt;br /&gt;
 &lt;br /&gt;
   Can0.events();&lt;br /&gt;
 &lt;br /&gt;
   // take a timestamp&lt;br /&gt;
   nowMilliseconds = millis();&lt;br /&gt;
   nowMicroseconds = micros();&lt;br /&gt;
 &lt;br /&gt;
   // calculate required LED brightness score (1-10) and set time to remain on (in microseconds) as a proportion of the refresh interval&lt;br /&gt;
   photocellReading = analogRead(pinPhotocell);&lt;br /&gt;
   photocellReading = constrain(photocellReading, photocellDark, photocellLight);&lt;br /&gt;
   ledBrightness = map(photocellReading, photocellDark, photocellLight, 1, 10);&lt;br /&gt;
   ledOnMicroseconds = ledBrightness * ledRefreshMilliseconds * 100; // microseconds&lt;br /&gt;
 &lt;br /&gt;
   // timeout if no data received&lt;br /&gt;
   if (nowMilliseconds &amp;gt; nextTimeoutMilliseconds) {&lt;br /&gt;
     readingSoC = -1; // display &amp;quot;----&amp;quot;&lt;br /&gt;
     readingVoltage = -1; // display &amp;quot;----&amp;quot;&lt;br /&gt;
   }&lt;br /&gt;
 &lt;br /&gt;
   // is it time to refresh display?&lt;br /&gt;
   if (nowMilliseconds &amp;gt; nextRefreshMilliseconds) {&lt;br /&gt;
     nextRefreshMilliseconds = nowMilliseconds + ledRefreshMilliseconds; // set the time in milliseconds for the next refresh&lt;br /&gt;
     nextBlankMicroseconds = nowMicroseconds + ledOnMicroseconds; // set the time in microseconds for LEDs to remain on (for dimming)&lt;br /&gt;
     // multiplexed display, so enable one digit at at time&lt;br /&gt;
     switch (displayMode) { // according to display mode&lt;br /&gt;
       case 1:&lt;br /&gt;
         writeDisplayVoltage(digitSelect, readingVoltage);       &lt;br /&gt;
         break;  &lt;br /&gt;
       default:&lt;br /&gt;
         writeDisplaySoC(digitSelect, readingSoC); &lt;br /&gt;
         break;&lt;br /&gt;
     }&lt;br /&gt;
     ++digitSelect; // we&#039;ll do the next digit on the next pass&lt;br /&gt;
     if (digitSelect &amp;gt; ledDigits - 1 ) { // all digits done? &lt;br /&gt;
       digitSelect = 0;  // wrap around to first digit again.&lt;br /&gt;
     }&lt;br /&gt;
   }&lt;br /&gt;
 &lt;br /&gt;
   // is it time to switch the LEDs off?&lt;br /&gt;
   if (nowMicroseconds &amp;gt; nextBlankMicroseconds ) {&lt;br /&gt;
     clearDisplay();&lt;br /&gt;
   }&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
== Try it out! ==&lt;br /&gt;
Compile and upload the code to your Teensy board. The code isn&#039;t very complicated, so I set mine to run at 150MHz.&lt;br /&gt;
&lt;br /&gt;
If you send CAN data to the specified node ID, the display should spring into life. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;YouTube&amp;gt;&amp;lt;/nowiki&amp;gt;https://youtu.be/s-Gadj3Rnxw&amp;lt;nowiki&amp;gt;&amp;lt;/youtube&amp;gt;&lt;/div&gt;</summary>
		<author><name>Clanger9</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=State_of_Charge_meter_using_a_Teensy_4.0&amp;diff=1682</id>
		<title>State of Charge meter using a Teensy 4.0</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=State_of_Charge_meter_using_a_Teensy_4.0&amp;diff=1682"/>
		<updated>2021-08-11T13:10:51Z</updated>

		<summary type="html">&lt;p&gt;Clanger9: /* Wiring */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Prototype CAN SoC display.jpg|alt=Prototype CAN SoC display|thumb|Prototype CAN SoC display]]&lt;br /&gt;
This is a CAN bus state-of-charge meter based on a Teensy 4.0. Teensy&#039;s aren&#039;t the cheapest boards (an STM32 is a tenth of the price), but they are tiny, have on-board CAN and are very easy to develop for.&lt;br /&gt;
&lt;br /&gt;
It displays a state-of-charge or voltage value according the integer number sent over CAN bus to the configured address(es)&lt;br /&gt;
&lt;br /&gt;
SoC values between 0 and 1000 will be displayed as &amp;quot;  0.0&amp;quot; to &amp;quot;100 &amp;quot;. The display flashes &amp;quot;  0.0&amp;quot; when it reaches zero. Anything else (or no data) will be displayed as &amp;quot;----&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Voltage values between 1 and 999 will be displayed as &amp;quot;  1V&amp;quot; to &amp;quot;999V &amp;quot;. Anything else (or no data) will be displayed as &amp;quot;---V&amp;quot;&lt;br /&gt;
&lt;br /&gt;
A touch sensor allows you to toggle the display between SoC and voltage.&lt;br /&gt;
&lt;br /&gt;
It includes automatic night time dimming. &lt;br /&gt;
&lt;br /&gt;
== Component list ==&lt;br /&gt;
&lt;br /&gt;
* Teensy 4.0 board&lt;br /&gt;
* SN65HVD230-based CAN transceiver&lt;br /&gt;
* 3461BS-1 4 digit common anode 7 segment display &lt;br /&gt;
* 8x 220R resistors&lt;br /&gt;
* Photocell&lt;br /&gt;
* 10k resistor&lt;br /&gt;
* 47uF capacitor&lt;br /&gt;
* TTP223 Capacitive Touch Switch&lt;br /&gt;
&lt;br /&gt;
== Wiring ==&lt;br /&gt;
[[File:Screenshot 2021-08-10 at 20.27.30.png|alt=Teensy 4.0 connections|thumb|Teensy 4.0 connections]]&lt;br /&gt;
Follow the Teensy 4.0 connection schematic&lt;br /&gt;
&lt;br /&gt;
# Connect the CAN transceiver to Teensy 3.3V, GND, CRX2 and CTX2&lt;br /&gt;
# Connect the LED D1, D2, D3 and D4 digit pins to Teensy 5, 4, 3, 2&lt;br /&gt;
# Connect the LED a, b, c, d, e, f, g and DP segments to Teensy 16, 17, 18, 19, 20, 21, 22, 23 via 220R resistors&lt;br /&gt;
# Connect the Photocell to Teensy 3.3V and A0. Connect A0 to GND via a 10k resistor and 47uF capacitor in parallel.&lt;br /&gt;
# Connect the Touch Switch to Teensy 3.3V, GND and 15&lt;br /&gt;
You&#039;ll need suitable 12V -&amp;gt; 3.3V power supply for automotive use. For development, it&#039;ll work fine off 5V USB.&lt;br /&gt;
&lt;br /&gt;
== Code ==&lt;br /&gt;
Fire up [https://www.pjrc.com/teensy/teensyduino.html Teensyduino].&lt;br /&gt;
&lt;br /&gt;
Install the [https://github.com/tonton81/FlexCAN_T4 FlexCAN_T4] library&lt;br /&gt;
&lt;br /&gt;
Paste in the following code:&lt;br /&gt;
 // CAN bus state-of-charge meter for Teensy 4.x and 4-digit 7-segment display&lt;br /&gt;
 // Includes automatic LED brightness control&lt;br /&gt;
 //&lt;br /&gt;
 // Usage: send integer number over CAN bus to configured address&lt;br /&gt;
 // SoC values between 0 and 1000 will be displayed as &amp;quot;  0.0&amp;quot; to &amp;quot;100 &amp;quot;&lt;br /&gt;
 // The display flashes &amp;quot;  0.0&amp;quot; when it reaches zero&lt;br /&gt;
 // Anything else (or no data) will be displayed as &amp;quot;----&amp;quot;&lt;br /&gt;
 // Voltage values between 1 and 999 will be displayed as &amp;quot;  1V&amp;quot; to &amp;quot;999V &amp;quot;&lt;br /&gt;
 // Anything else (or no data) will be displayed as &amp;quot;---V&amp;quot;&lt;br /&gt;
 // Touch selection to toggle display between SoC and  voltage&lt;br /&gt;
 //&lt;br /&gt;
 // electric_dart 2021&lt;br /&gt;
 &lt;br /&gt;
 // define display&lt;br /&gt;
 // values below are for 3461BS-1 4 digit common anode 7 segment display &lt;br /&gt;
 const int ledDigits = 4; // 4 digits&lt;br /&gt;
 const int ledSegments = 7; // 7 segments &lt;br /&gt;
 const int pinSegment[ledSegments] = {16, 17, 18, 19, 20, 21, 22}; // pins for a,b,c,d,e,f,g segments&lt;br /&gt;
 const int pinDecimalPoint = 23; // pin for decimal point&lt;br /&gt;
 const int pinDigit[ledDigits] = {5, 4, 3, 2}; // common digit pins, left to right&lt;br /&gt;
 const boolean ledIsCommonAnode = 1; // 1=common anode 0=common cathode&lt;br /&gt;
 const int ledRefreshHz = 100; // minimum 50Hz to avoid flicker&lt;br /&gt;
 const int ledFlashHz = 2; // for flashing display&lt;br /&gt;
 &lt;br /&gt;
 // define display characters&lt;br /&gt;
 const int zero[ledSegments] = {HIGH, HIGH, HIGH, HIGH, HIGH, HIGH, LOW};&lt;br /&gt;
 const int one[ledSegments] = {LOW, HIGH, HIGH, LOW, LOW, LOW, LOW};&lt;br /&gt;
 const int two[ledSegments] = {HIGH, HIGH, LOW, HIGH, HIGH, LOW, HIGH};&lt;br /&gt;
 const int three[ledSegments] = {HIGH, HIGH, HIGH, HIGH, LOW, LOW, HIGH};&lt;br /&gt;
 const int four[ledSegments] = {LOW, HIGH, HIGH, LOW, LOW, HIGH, HIGH};&lt;br /&gt;
 const int five[ledSegments] = {HIGH, LOW, HIGH, HIGH, LOW, HIGH, HIGH};&lt;br /&gt;
 const int six[ledSegments] = {HIGH, LOW, HIGH, HIGH, HIGH, HIGH, HIGH};&lt;br /&gt;
 const int seven[ledSegments] = {HIGH, HIGH, HIGH, LOW, LOW, LOW, LOW};&lt;br /&gt;
 const int eight[ledSegments] = {HIGH, HIGH, HIGH, HIGH, HIGH, HIGH, HIGH};&lt;br /&gt;
 const int nine[ledSegments] = {HIGH, HIGH, HIGH, LOW, LOW, HIGH, HIGH};&lt;br /&gt;
 const int blank[ledSegments] = {LOW, LOW, LOW, LOW, LOW, LOW, LOW};&lt;br /&gt;
 const int dash[ledSegments] = {LOW, LOW, LOW, LOW, LOW, LOW, HIGH};&lt;br /&gt;
 const int volt[ledSegments] = {LOW, LOW, HIGH, HIGH, HIGH, LOW, LOW};&lt;br /&gt;
 // add additional characters here if required&lt;br /&gt;
 const int* character[13] = {zero, one, two, three, four, five, six, seven, eight, nine, blank, dash, volt};&lt;br /&gt;
 &lt;br /&gt;
 // photocell parameters&lt;br /&gt;
 int pinPhotocell = 14; // photocell pin&lt;br /&gt;
 int photocellDark = 500; // adjust dark level for your photocell&lt;br /&gt;
 int photocellLight = 1000; // adjust light level for your photocell&lt;br /&gt;
 &lt;br /&gt;
 // touch parameters&lt;br /&gt;
 int pinOnboardLED = 13;&lt;br /&gt;
 int pinTouch = 15;&lt;br /&gt;
 int touchCurrentState;&lt;br /&gt;
 int touchLastState;&lt;br /&gt;
 &lt;br /&gt;
 // CAN bus setup&lt;br /&gt;
 const long canIDsoc = 0x350; // set this to match your SoC CAN bus ID&lt;br /&gt;
 const long canIDvoltage = 0x522; // set this to match your voltage CAN bus ID&lt;br /&gt;
 const long canSpeed = 500000; // set this to match your CAN bus speed&lt;br /&gt;
 const long canTimeout = 10; // seconds to wait without data before showing error&lt;br /&gt;
 #include &amp;lt;FlexCAN_T4.h&amp;gt;&lt;br /&gt;
 FlexCAN_T4&amp;lt;CAN2, RX_SIZE_256, TX_SIZE_16&amp;gt; Can0; // Using CAN2 on pins 0 &amp;amp; 1&lt;br /&gt;
 &lt;br /&gt;
 // internal variables&lt;br /&gt;
 int ledRefreshMilliseconds = 1000 / (ledDigits * ledRefreshHz); // milliseconds&lt;br /&gt;
 int ledOnMicroseconds; // microseconds&lt;br /&gt;
 unsigned long nowMilliseconds;&lt;br /&gt;
 unsigned long nowMicroseconds;&lt;br /&gt;
 unsigned long nextRefreshMilliseconds = 0;&lt;br /&gt;
 unsigned long nextBlankMicroseconds = 0;&lt;br /&gt;
 unsigned long nextTimeoutMilliseconds = 0;&lt;br /&gt;
 unsigned long nextFlashMilliseconds = 0;&lt;br /&gt;
 boolean ledFlashState = 1;&lt;br /&gt;
 int digitSelect = 0;&lt;br /&gt;
 int readingSoC = -1;&lt;br /&gt;
 int readingVoltage = -1;&lt;br /&gt;
 int photocellReading;&lt;br /&gt;
 int ledBrightness; // score 1 to 10&lt;br /&gt;
 int displayMode = 0; // 0=SoC, 1=Voltage&lt;br /&gt;
 &lt;br /&gt;
 void clearDisplay()&lt;br /&gt;
 {&lt;br /&gt;
   for (int i = 0; i &amp;lt; ledDigits; ++i)&lt;br /&gt;
   {&lt;br /&gt;
     digitalWrite(pinDigit[i], HIGH ^ ledIsCommonAnode);&lt;br /&gt;
   }&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 void writeDisplayDigit(int digit, int value, boolean decimal)&lt;br /&gt;
 // digit: numbered left-to-right, beginning at zero&lt;br /&gt;
 // value: the character to display from character[] array&lt;br /&gt;
 // decimal: set this to 1 to switch the decimal point on&lt;br /&gt;
 {&lt;br /&gt;
   for (int i = 0; i &amp;lt; ledSegments; ++i)&lt;br /&gt;
   {&lt;br /&gt;
     digitalWrite(pinSegment[i], character[value][i] ^ ledIsCommonAnode);&lt;br /&gt;
   }&lt;br /&gt;
   digitalWrite(pinDecimalPoint, decimal ^ ledIsCommonAnode);&lt;br /&gt;
   digitalWrite(pinDigit[digit], LOW ^ ledIsCommonAnode);&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 void writeDisplaySoC(int digit, int value) // customise this section according to what you want to display&lt;br /&gt;
 {&lt;br /&gt;
   if (value == 1000) { // display &amp;quot;100 &amp;quot; if the input value is 1000&lt;br /&gt;
     switch (digit) {&lt;br /&gt;
       case 0:&lt;br /&gt;
         writeDisplayDigit(0, 1, 0);&lt;br /&gt;
         break;&lt;br /&gt;
       case 1:&lt;br /&gt;
         writeDisplayDigit(1, 0, 0);&lt;br /&gt;
         break;&lt;br /&gt;
       case 2:&lt;br /&gt;
         writeDisplayDigit(2, 0, 0);&lt;br /&gt;
         break;&lt;br /&gt;
     }&lt;br /&gt;
   }&lt;br /&gt;
   else if (value &amp;gt;= 100 and value &amp;lt; 1000) { // display &amp;quot; 99 &amp;quot; to &amp;quot; 10 &amp;quot; for input values from 999 to 100&lt;br /&gt;
     switch (digit) {&lt;br /&gt;
       case 1:&lt;br /&gt;
         writeDisplayDigit(1, value / 100, 0);&lt;br /&gt;
         break;&lt;br /&gt;
       case 2:&lt;br /&gt;
         writeDisplayDigit(2, (value / 10) % 10, 0);&lt;br /&gt;
         break;&lt;br /&gt;
     }&lt;br /&gt;
   }&lt;br /&gt;
   else if (value &amp;gt;= 1 and value &amp;lt; 100) { // display &amp;quot;  9.9&amp;quot; to &amp;quot;  0.1&amp;quot; for input values from 99 to 1&lt;br /&gt;
     switch (digit) {&lt;br /&gt;
       case 2:&lt;br /&gt;
         writeDisplayDigit(2, value / 10, 1);&lt;br /&gt;
         break;&lt;br /&gt;
       case 3:&lt;br /&gt;
         writeDisplayDigit(3, value % 10, 0);&lt;br /&gt;
         break;&lt;br /&gt;
     }&lt;br /&gt;
   }&lt;br /&gt;
   else if (value == 0) { // display flashing &amp;quot;  0.0&amp;quot; for input value 0&lt;br /&gt;
     if (nowMilliseconds &amp;gt; nextFlashMilliseconds) {&lt;br /&gt;
       nextFlashMilliseconds = nowMilliseconds + ( 1000 / ledFlashHz );&lt;br /&gt;
       ledFlashState = ledFlashState ^ 1;&lt;br /&gt;
     }&lt;br /&gt;
     if (ledFlashState == 1) { &lt;br /&gt;
       switch (digit) {&lt;br /&gt;
         case 2:&lt;br /&gt;
           writeDisplayDigit(2, 0, 1);&lt;br /&gt;
           break;&lt;br /&gt;
         case 3:&lt;br /&gt;
           writeDisplayDigit(3, 0, 0);&lt;br /&gt;
           break;&lt;br /&gt;
       }&lt;br /&gt;
     }&lt;br /&gt;
     else {&lt;br /&gt;
       switch (digit) {&lt;br /&gt;
         case 2:&lt;br /&gt;
           writeDisplayDigit(2, 10, 1);&lt;br /&gt;
           break;&lt;br /&gt;
         case 3:&lt;br /&gt;
           writeDisplayDigit(3, 10, 0);&lt;br /&gt;
           break;&lt;br /&gt;
       }&lt;br /&gt;
     }&lt;br /&gt;
   }&lt;br /&gt;
   else { // display &amp;quot;----&amp;quot; for anything else&lt;br /&gt;
     writeDisplayDigit(digit, 11, 0);&lt;br /&gt;
   }&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 void writeDisplayVoltage(int digit, int value) // customise this section according to what you want to display&lt;br /&gt;
 {&lt;br /&gt;
   if (value &amp;gt;= 100 and value &amp;lt; 1000) { // display &amp;quot;100V&amp;quot; to &amp;quot;999V&amp;quot; for input values 100 to 999&lt;br /&gt;
     switch (digit) {&lt;br /&gt;
       case 0:&lt;br /&gt;
         writeDisplayDigit(0, (value / 100) % 10, 0);&lt;br /&gt;
         break;&lt;br /&gt;
       case 1:&lt;br /&gt;
         writeDisplayDigit(1, (value / 10) % 10, 0);&lt;br /&gt;
         break;&lt;br /&gt;
       case 2:&lt;br /&gt;
         writeDisplayDigit(2, value  % 10 , 0);&lt;br /&gt;
         break;&lt;br /&gt;
       case 3:&lt;br /&gt;
         writeDisplayDigit(3, 12, 0);&lt;br /&gt;
         break;        &lt;br /&gt;
     }&lt;br /&gt;
   }&lt;br /&gt;
   else if (value &amp;gt;= 10 and value &amp;lt; 100) { // display &amp;quot; 10V&amp;quot; to &amp;quot; 99V &amp;quot; for input values from 10 to 99&lt;br /&gt;
     switch (digit) {&lt;br /&gt;
       case 1:&lt;br /&gt;
         writeDisplayDigit(1, value / 10, 0);&lt;br /&gt;
         break;&lt;br /&gt;
       case 2:&lt;br /&gt;
         writeDisplayDigit(2, value % 10, 0);&lt;br /&gt;
         break;&lt;br /&gt;
       case 3:&lt;br /&gt;
         writeDisplayDigit(3, 12, 0);&lt;br /&gt;
         break;        &lt;br /&gt;
     }&lt;br /&gt;
   }&lt;br /&gt;
   else if (value &amp;gt;= 1 and value &amp;lt; 10) { // display &amp;quot;  1V&amp;quot; to &amp;quot;  9V &amp;quot; for input values from 1 to 9&lt;br /&gt;
     switch (digit) {&lt;br /&gt;
       case 2:&lt;br /&gt;
         writeDisplayDigit(2, value % 10, 0);&lt;br /&gt;
         break;&lt;br /&gt;
       case 3:&lt;br /&gt;
         writeDisplayDigit(3, 12, 0);&lt;br /&gt;
         break;        &lt;br /&gt;
     }&lt;br /&gt;
   }&lt;br /&gt;
   else { // display &amp;quot;---V&amp;quot; for anything else&lt;br /&gt;
     switch (digit) {&lt;br /&gt;
       case 0:&lt;br /&gt;
         writeDisplayDigit(0, 11, 0);&lt;br /&gt;
         break;&lt;br /&gt;
       case 1:&lt;br /&gt;
         writeDisplayDigit(1, 11, 0);&lt;br /&gt;
         break;&lt;br /&gt;
       case 2:&lt;br /&gt;
         writeDisplayDigit(2, 11, 0);&lt;br /&gt;
         break;&lt;br /&gt;
       case 3:&lt;br /&gt;
         writeDisplayDigit(3, 12, 0);&lt;br /&gt;
         break;   &lt;br /&gt;
     }     &lt;br /&gt;
   }&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 void setup() {&lt;br /&gt;
   Serial.begin(9600); //initialise serial communications at 9600 bps&lt;br /&gt;
 &lt;br /&gt;
   // Initialise CAN bus&lt;br /&gt;
   delay(1000); // allow CAN hardware to stabilise&lt;br /&gt;
   Can0.begin();&lt;br /&gt;
   Can0.setBaudRate(canSpeed);&lt;br /&gt;
   Can0.setMaxMB(16);&lt;br /&gt;
   Can0.enableFIFO();&lt;br /&gt;
   Can0.enableFIFOInterrupt();&lt;br /&gt;
   Can0.onReceive(canDataReceived);&lt;br /&gt;
   Can0.mailboxStatus();&lt;br /&gt;
 &lt;br /&gt;
   // Initialise LED display&lt;br /&gt;
 &lt;br /&gt;
   // segement pins&lt;br /&gt;
   for (int i = 0; i &amp;lt; ledSegments; ++i)&lt;br /&gt;
   {&lt;br /&gt;
     pinMode(pinSegment[i], OUTPUT);&lt;br /&gt;
   }&lt;br /&gt;
 &lt;br /&gt;
   // decimal point pin&lt;br /&gt;
   pinMode(pinDecimalPoint, OUTPUT);&lt;br /&gt;
 &lt;br /&gt;
   // digit pins&lt;br /&gt;
   for (int i = 0; i &amp;lt; ledDigits; ++i)&lt;br /&gt;
   {&lt;br /&gt;
     pinMode(pinDigit[i], OUTPUT);&lt;br /&gt;
   }&lt;br /&gt;
   clearDisplay();&lt;br /&gt;
 &lt;br /&gt;
   pinMode(pinOnboardLED, OUTPUT);&lt;br /&gt;
   pinMode(pinPhotocell, INPUT);&lt;br /&gt;
   pinMode(pinTouch, INPUT);&lt;br /&gt;
   touchCurrentState = digitalRead(pinTouch);&lt;br /&gt;
   &lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 void canDataReceived(const CAN_message_t &amp;amp;msg) {&lt;br /&gt;
 //  Serial.print(&amp;quot;MB &amp;quot;); Serial.print(msg.mb);&lt;br /&gt;
 //  Serial.print(&amp;quot;  OVERRUN: &amp;quot;); Serial.print(msg.flags.overrun);&lt;br /&gt;
 //  Serial.print(&amp;quot;  LEN: &amp;quot;); Serial.print(msg.len);&lt;br /&gt;
 //  Serial.print(&amp;quot; EXT: &amp;quot;); Serial.print(msg.flags.extended);&lt;br /&gt;
 //  Serial.print(&amp;quot; TS: &amp;quot;); Serial.print(msg.timestamp);&lt;br /&gt;
 //  Serial.print(&amp;quot; ID: &amp;quot;); Serial.print(msg.id, HEX);&lt;br /&gt;
 //  Serial.print(&amp;quot; Buffer: &amp;quot;);&lt;br /&gt;
 //  for ( uint8_t i = 0; i &amp;lt; msg.len; i++ ) {&lt;br /&gt;
 //    Serial.print(msg.buf[i], HEX); Serial.print(&amp;quot; &amp;quot;);&lt;br /&gt;
 //  } Serial.println();&lt;br /&gt;
 &lt;br /&gt;
   switch (displayMode) { // according to display mode&lt;br /&gt;
     case 1:&lt;br /&gt;
       if (msg.id == canIDvoltage) {&lt;br /&gt;
       // Matching voltage CAN bus frame arrived!&lt;br /&gt;
         //readingVoltage = (msg.buf[2] &amp;lt;&amp;lt; 24) | (msg.buf[3] &amp;lt;&amp;lt; 16) | (msg.buf[4] &amp;lt;&amp;lt; 8) | (msg.buf[5]);   // now piece it together&lt;br /&gt;
         readingVoltage = (msg.buf[6] &amp;lt;&amp;lt; 8) | (msg.buf[7]);   // now piece it together&lt;br /&gt;
         nextTimeoutMilliseconds = nowMilliseconds + (canTimeout * 1000); // set next timeout&lt;br /&gt;
       }&lt;br /&gt;
       break;  &lt;br /&gt;
     default:&lt;br /&gt;
       if (msg.id == canIDsoc) {&lt;br /&gt;
       // Matching SoC CAN bus frame arrived!&lt;br /&gt;
         readingSoC = (msg.buf[6] &amp;lt;&amp;lt; 8) | (msg.buf[7]);   // now piece it together&lt;br /&gt;
         nextTimeoutMilliseconds = nowMilliseconds + (canTimeout * 1000); // set next timeout&lt;br /&gt;
       }&lt;br /&gt;
       break;&lt;br /&gt;
   }&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 void loop() {&lt;br /&gt;
 &lt;br /&gt;
   // add extra code here&lt;br /&gt;
 &lt;br /&gt;
   // pot input for testing without CAN bus&lt;br /&gt;
   //reading = analogRead(pin_pot);&lt;br /&gt;
   //reading = map(reading, 10, 1023, 0, 1000);&lt;br /&gt;
 &lt;br /&gt;
   touchLastState = touchCurrentState;&lt;br /&gt;
   touchCurrentState = digitalRead(pinTouch);&lt;br /&gt;
   if(touchLastState == LOW &amp;amp;&amp;amp; touchCurrentState == HIGH) {&lt;br /&gt;
     // toggle display&lt;br /&gt;
     displayMode = !displayMode;&lt;br /&gt;
     // control LED arccoding to the toggled state&lt;br /&gt;
     digitalWrite(pinOnboardLED, displayMode); &lt;br /&gt;
   }&lt;br /&gt;
   //&lt;br /&gt;
   //&lt;br /&gt;
 &lt;br /&gt;
   Can0.events();&lt;br /&gt;
 &lt;br /&gt;
   // take a timestamp&lt;br /&gt;
   nowMilliseconds = millis();&lt;br /&gt;
   nowMicroseconds = micros();&lt;br /&gt;
 &lt;br /&gt;
   // calculate required LED brightness score (1-10) and set time to remain on (in microseconds) as a proportion of the refresh interval&lt;br /&gt;
   photocellReading = analogRead(pinPhotocell);&lt;br /&gt;
   photocellReading = constrain(photocellReading, photocellDark, photocellLight);&lt;br /&gt;
   ledBrightness = map(photocellReading, photocellDark, photocellLight, 1, 10);&lt;br /&gt;
   ledOnMicroseconds = ledBrightness * ledRefreshMilliseconds * 100; // microseconds&lt;br /&gt;
 &lt;br /&gt;
   // timeout if no data received&lt;br /&gt;
   if (nowMilliseconds &amp;gt; nextTimeoutMilliseconds) {&lt;br /&gt;
     readingSoC = -1; // display &amp;quot;----&amp;quot;&lt;br /&gt;
     readingVoltage = -1; // display &amp;quot;----&amp;quot;&lt;br /&gt;
   }&lt;br /&gt;
 &lt;br /&gt;
   // is it time to refresh display?&lt;br /&gt;
   if (nowMilliseconds &amp;gt; nextRefreshMilliseconds) {&lt;br /&gt;
     nextRefreshMilliseconds = nowMilliseconds + ledRefreshMilliseconds; // set the time in milliseconds for the next refresh&lt;br /&gt;
     nextBlankMicroseconds = nowMicroseconds + ledOnMicroseconds; // set the time in microseconds for LEDs to remain on (for dimming)&lt;br /&gt;
     // multiplexed display, so enable one digit at at time&lt;br /&gt;
     switch (displayMode) { // according to display mode&lt;br /&gt;
       case 1:&lt;br /&gt;
         writeDisplayVoltage(digitSelect, readingVoltage);       &lt;br /&gt;
         break;  &lt;br /&gt;
       default:&lt;br /&gt;
         writeDisplaySoC(digitSelect, readingSoC); &lt;br /&gt;
         break;&lt;br /&gt;
     }&lt;br /&gt;
     ++digitSelect; // we&#039;ll do the next digit on the next pass&lt;br /&gt;
     if (digitSelect &amp;gt; ledDigits - 1 ) { // all digits done? &lt;br /&gt;
       digitSelect = 0;  // wrap around to first digit again.&lt;br /&gt;
     }&lt;br /&gt;
   }&lt;br /&gt;
 &lt;br /&gt;
   // is it time to switch the LEDs off?&lt;br /&gt;
   if (nowMicroseconds &amp;gt; nextBlankMicroseconds ) {&lt;br /&gt;
     clearDisplay();&lt;br /&gt;
   }&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
== Try it out! ==&lt;br /&gt;
Compile and upload the code to your Teensy board. The code isn&#039;t very complicated, so I set mine to run at 150MHz.&lt;br /&gt;
&lt;br /&gt;
If you send CAN data to the specified node ID, the display should spring into life. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;YouTube&amp;gt;&amp;lt;/nowiki&amp;gt;https://youtu.be/s-Gadj3Rnxw&amp;lt;nowiki&amp;gt;&amp;lt;/youtube&amp;gt;&lt;/div&gt;</summary>
		<author><name>Clanger9</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=State_of_Charge_meter_using_a_Teensy_4.0&amp;diff=1681</id>
		<title>State of Charge meter using a Teensy 4.0</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=State_of_Charge_meter_using_a_Teensy_4.0&amp;diff=1681"/>
		<updated>2021-08-10T20:01:12Z</updated>

		<summary type="html">&lt;p&gt;Clanger9: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Prototype CAN SoC display.jpg|alt=Prototype CAN SoC display|thumb|Prototype CAN SoC display]]&lt;br /&gt;
This is a CAN bus state-of-charge meter based on a Teensy 4.0. Teensy&#039;s aren&#039;t the cheapest boards (an STM32 is a tenth of the price), but they are tiny, have on-board CAN and are very easy to develop for.&lt;br /&gt;
&lt;br /&gt;
It displays a state-of-charge or voltage value according the integer number sent over CAN bus to the configured address(es)&lt;br /&gt;
&lt;br /&gt;
SoC values between 0 and 1000 will be displayed as &amp;quot;  0.0&amp;quot; to &amp;quot;100 &amp;quot;. The display flashes &amp;quot;  0.0&amp;quot; when it reaches zero. Anything else (or no data) will be displayed as &amp;quot;----&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Voltage values between 1 and 999 will be displayed as &amp;quot;  1V&amp;quot; to &amp;quot;999V &amp;quot;. Anything else (or no data) will be displayed as &amp;quot;---V&amp;quot;&lt;br /&gt;
&lt;br /&gt;
A touch sensor allows you to toggle the display between SoC and voltage.&lt;br /&gt;
&lt;br /&gt;
It includes automatic night time dimming. &lt;br /&gt;
&lt;br /&gt;
== Component list ==&lt;br /&gt;
&lt;br /&gt;
* Teensy 4.0 board&lt;br /&gt;
* SN65HVD230-based CAN transceiver&lt;br /&gt;
* 3461BS-1 4 digit common anode 7 segment display &lt;br /&gt;
* 8x 220R resistors&lt;br /&gt;
* Photocell&lt;br /&gt;
* 10k resistor&lt;br /&gt;
* 47uF capacitor&lt;br /&gt;
* TTP223 Capacitive Touch Switch&lt;br /&gt;
&lt;br /&gt;
== Wiring ==&lt;br /&gt;
[[File:Screenshot 2021-08-10 at 20.27.30.png|alt=Teensy 4.0 connections|thumb|Teensy 4.0 connections]]&lt;br /&gt;
Follow the Teensy 4.0 connection schematic&lt;br /&gt;
&lt;br /&gt;
# Connect the CAN transceiver to Teensy 3.3V, GND, CRX2 and CTX2&lt;br /&gt;
# Connect the LED D1, D2, D3 and D4 digit pins to Teensy 5, 4, 3, 2&lt;br /&gt;
# Connect the LED a, b, c, d, e, f, g and DP segments to Teensy 16, 17, 18, 19, 20, 21, 22, 23 via 220R resistors&lt;br /&gt;
# Connect the Photocell to Teensy 3.3V and A0. Connect A0 to GND via a 10k resistor and 47uF capacitor in parallel.&lt;br /&gt;
# Connect the Touch Switch to Teensy 3.3V, GND and 15&lt;br /&gt;
&lt;br /&gt;
== Code ==&lt;br /&gt;
Fire up [https://www.pjrc.com/teensy/teensyduino.html Teensyduino].&lt;br /&gt;
&lt;br /&gt;
Install the [https://github.com/tonton81/FlexCAN_T4 FlexCAN_T4] library&lt;br /&gt;
&lt;br /&gt;
Paste in the following code:&lt;br /&gt;
 // CAN bus state-of-charge meter for Teensy 4.x and 4-digit 7-segment display&lt;br /&gt;
 // Includes automatic LED brightness control&lt;br /&gt;
 //&lt;br /&gt;
 // Usage: send integer number over CAN bus to configured address&lt;br /&gt;
 // SoC values between 0 and 1000 will be displayed as &amp;quot;  0.0&amp;quot; to &amp;quot;100 &amp;quot;&lt;br /&gt;
 // The display flashes &amp;quot;  0.0&amp;quot; when it reaches zero&lt;br /&gt;
 // Anything else (or no data) will be displayed as &amp;quot;----&amp;quot;&lt;br /&gt;
 // Voltage values between 1 and 999 will be displayed as &amp;quot;  1V&amp;quot; to &amp;quot;999V &amp;quot;&lt;br /&gt;
 // Anything else (or no data) will be displayed as &amp;quot;---V&amp;quot;&lt;br /&gt;
 // Touch selection to toggle display between SoC and  voltage&lt;br /&gt;
 //&lt;br /&gt;
 // electric_dart 2021&lt;br /&gt;
 &lt;br /&gt;
 // define display&lt;br /&gt;
 // values below are for 3461BS-1 4 digit common anode 7 segment display &lt;br /&gt;
 const int ledDigits = 4; // 4 digits&lt;br /&gt;
 const int ledSegments = 7; // 7 segments &lt;br /&gt;
 const int pinSegment[ledSegments] = {16, 17, 18, 19, 20, 21, 22}; // pins for a,b,c,d,e,f,g segments&lt;br /&gt;
 const int pinDecimalPoint = 23; // pin for decimal point&lt;br /&gt;
 const int pinDigit[ledDigits] = {5, 4, 3, 2}; // common digit pins, left to right&lt;br /&gt;
 const boolean ledIsCommonAnode = 1; // 1=common anode 0=common cathode&lt;br /&gt;
 const int ledRefreshHz = 100; // minimum 50Hz to avoid flicker&lt;br /&gt;
 const int ledFlashHz = 2; // for flashing display&lt;br /&gt;
 &lt;br /&gt;
 // define display characters&lt;br /&gt;
 const int zero[ledSegments] = {HIGH, HIGH, HIGH, HIGH, HIGH, HIGH, LOW};&lt;br /&gt;
 const int one[ledSegments] = {LOW, HIGH, HIGH, LOW, LOW, LOW, LOW};&lt;br /&gt;
 const int two[ledSegments] = {HIGH, HIGH, LOW, HIGH, HIGH, LOW, HIGH};&lt;br /&gt;
 const int three[ledSegments] = {HIGH, HIGH, HIGH, HIGH, LOW, LOW, HIGH};&lt;br /&gt;
 const int four[ledSegments] = {LOW, HIGH, HIGH, LOW, LOW, HIGH, HIGH};&lt;br /&gt;
 const int five[ledSegments] = {HIGH, LOW, HIGH, HIGH, LOW, HIGH, HIGH};&lt;br /&gt;
 const int six[ledSegments] = {HIGH, LOW, HIGH, HIGH, HIGH, HIGH, HIGH};&lt;br /&gt;
 const int seven[ledSegments] = {HIGH, HIGH, HIGH, LOW, LOW, LOW, LOW};&lt;br /&gt;
 const int eight[ledSegments] = {HIGH, HIGH, HIGH, HIGH, HIGH, HIGH, HIGH};&lt;br /&gt;
 const int nine[ledSegments] = {HIGH, HIGH, HIGH, LOW, LOW, HIGH, HIGH};&lt;br /&gt;
 const int blank[ledSegments] = {LOW, LOW, LOW, LOW, LOW, LOW, LOW};&lt;br /&gt;
 const int dash[ledSegments] = {LOW, LOW, LOW, LOW, LOW, LOW, HIGH};&lt;br /&gt;
 const int volt[ledSegments] = {LOW, LOW, HIGH, HIGH, HIGH, LOW, LOW};&lt;br /&gt;
 // add additional characters here if required&lt;br /&gt;
 const int* character[13] = {zero, one, two, three, four, five, six, seven, eight, nine, blank, dash, volt};&lt;br /&gt;
 &lt;br /&gt;
 // photocell parameters&lt;br /&gt;
 int pinPhotocell = 14; // photocell pin&lt;br /&gt;
 int photocellDark = 500; // adjust dark level for your photocell&lt;br /&gt;
 int photocellLight = 1000; // adjust light level for your photocell&lt;br /&gt;
 &lt;br /&gt;
 // touch parameters&lt;br /&gt;
 int pinOnboardLED = 13;&lt;br /&gt;
 int pinTouch = 15;&lt;br /&gt;
 int touchCurrentState;&lt;br /&gt;
 int touchLastState;&lt;br /&gt;
 &lt;br /&gt;
 // CAN bus setup&lt;br /&gt;
 const long canIDsoc = 0x350; // set this to match your SoC CAN bus ID&lt;br /&gt;
 const long canIDvoltage = 0x522; // set this to match your voltage CAN bus ID&lt;br /&gt;
 const long canSpeed = 500000; // set this to match your CAN bus speed&lt;br /&gt;
 const long canTimeout = 10; // seconds to wait without data before showing error&lt;br /&gt;
 #include &amp;lt;FlexCAN_T4.h&amp;gt;&lt;br /&gt;
 FlexCAN_T4&amp;lt;CAN2, RX_SIZE_256, TX_SIZE_16&amp;gt; Can0; // Using CAN2 on pins 0 &amp;amp; 1&lt;br /&gt;
 &lt;br /&gt;
 // internal variables&lt;br /&gt;
 int ledRefreshMilliseconds = 1000 / (ledDigits * ledRefreshHz); // milliseconds&lt;br /&gt;
 int ledOnMicroseconds; // microseconds&lt;br /&gt;
 unsigned long nowMilliseconds;&lt;br /&gt;
 unsigned long nowMicroseconds;&lt;br /&gt;
 unsigned long nextRefreshMilliseconds = 0;&lt;br /&gt;
 unsigned long nextBlankMicroseconds = 0;&lt;br /&gt;
 unsigned long nextTimeoutMilliseconds = 0;&lt;br /&gt;
 unsigned long nextFlashMilliseconds = 0;&lt;br /&gt;
 boolean ledFlashState = 1;&lt;br /&gt;
 int digitSelect = 0;&lt;br /&gt;
 int readingSoC = -1;&lt;br /&gt;
 int readingVoltage = -1;&lt;br /&gt;
 int photocellReading;&lt;br /&gt;
 int ledBrightness; // score 1 to 10&lt;br /&gt;
 int displayMode = 0; // 0=SoC, 1=Voltage&lt;br /&gt;
 &lt;br /&gt;
 void clearDisplay()&lt;br /&gt;
 {&lt;br /&gt;
   for (int i = 0; i &amp;lt; ledDigits; ++i)&lt;br /&gt;
   {&lt;br /&gt;
     digitalWrite(pinDigit[i], HIGH ^ ledIsCommonAnode);&lt;br /&gt;
   }&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 void writeDisplayDigit(int digit, int value, boolean decimal)&lt;br /&gt;
 // digit: numbered left-to-right, beginning at zero&lt;br /&gt;
 // value: the character to display from character[] array&lt;br /&gt;
 // decimal: set this to 1 to switch the decimal point on&lt;br /&gt;
 {&lt;br /&gt;
   for (int i = 0; i &amp;lt; ledSegments; ++i)&lt;br /&gt;
   {&lt;br /&gt;
     digitalWrite(pinSegment[i], character[value][i] ^ ledIsCommonAnode);&lt;br /&gt;
   }&lt;br /&gt;
   digitalWrite(pinDecimalPoint, decimal ^ ledIsCommonAnode);&lt;br /&gt;
   digitalWrite(pinDigit[digit], LOW ^ ledIsCommonAnode);&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 void writeDisplaySoC(int digit, int value) // customise this section according to what you want to display&lt;br /&gt;
 {&lt;br /&gt;
   if (value == 1000) { // display &amp;quot;100 &amp;quot; if the input value is 1000&lt;br /&gt;
     switch (digit) {&lt;br /&gt;
       case 0:&lt;br /&gt;
         writeDisplayDigit(0, 1, 0);&lt;br /&gt;
         break;&lt;br /&gt;
       case 1:&lt;br /&gt;
         writeDisplayDigit(1, 0, 0);&lt;br /&gt;
         break;&lt;br /&gt;
       case 2:&lt;br /&gt;
         writeDisplayDigit(2, 0, 0);&lt;br /&gt;
         break;&lt;br /&gt;
     }&lt;br /&gt;
   }&lt;br /&gt;
   else if (value &amp;gt;= 100 and value &amp;lt; 1000) { // display &amp;quot; 99 &amp;quot; to &amp;quot; 10 &amp;quot; for input values from 999 to 100&lt;br /&gt;
     switch (digit) {&lt;br /&gt;
       case 1:&lt;br /&gt;
         writeDisplayDigit(1, value / 100, 0);&lt;br /&gt;
         break;&lt;br /&gt;
       case 2:&lt;br /&gt;
         writeDisplayDigit(2, (value / 10) % 10, 0);&lt;br /&gt;
         break;&lt;br /&gt;
     }&lt;br /&gt;
   }&lt;br /&gt;
   else if (value &amp;gt;= 1 and value &amp;lt; 100) { // display &amp;quot;  9.9&amp;quot; to &amp;quot;  0.1&amp;quot; for input values from 99 to 1&lt;br /&gt;
     switch (digit) {&lt;br /&gt;
       case 2:&lt;br /&gt;
         writeDisplayDigit(2, value / 10, 1);&lt;br /&gt;
         break;&lt;br /&gt;
       case 3:&lt;br /&gt;
         writeDisplayDigit(3, value % 10, 0);&lt;br /&gt;
         break;&lt;br /&gt;
     }&lt;br /&gt;
   }&lt;br /&gt;
   else if (value == 0) { // display flashing &amp;quot;  0.0&amp;quot; for input value 0&lt;br /&gt;
     if (nowMilliseconds &amp;gt; nextFlashMilliseconds) {&lt;br /&gt;
       nextFlashMilliseconds = nowMilliseconds + ( 1000 / ledFlashHz );&lt;br /&gt;
       ledFlashState = ledFlashState ^ 1;&lt;br /&gt;
     }&lt;br /&gt;
     if (ledFlashState == 1) { &lt;br /&gt;
       switch (digit) {&lt;br /&gt;
         case 2:&lt;br /&gt;
           writeDisplayDigit(2, 0, 1);&lt;br /&gt;
           break;&lt;br /&gt;
         case 3:&lt;br /&gt;
           writeDisplayDigit(3, 0, 0);&lt;br /&gt;
           break;&lt;br /&gt;
       }&lt;br /&gt;
     }&lt;br /&gt;
     else {&lt;br /&gt;
       switch (digit) {&lt;br /&gt;
         case 2:&lt;br /&gt;
           writeDisplayDigit(2, 10, 1);&lt;br /&gt;
           break;&lt;br /&gt;
         case 3:&lt;br /&gt;
           writeDisplayDigit(3, 10, 0);&lt;br /&gt;
           break;&lt;br /&gt;
       }&lt;br /&gt;
     }&lt;br /&gt;
   }&lt;br /&gt;
   else { // display &amp;quot;----&amp;quot; for anything else&lt;br /&gt;
     writeDisplayDigit(digit, 11, 0);&lt;br /&gt;
   }&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 void writeDisplayVoltage(int digit, int value) // customise this section according to what you want to display&lt;br /&gt;
 {&lt;br /&gt;
   if (value &amp;gt;= 100 and value &amp;lt; 1000) { // display &amp;quot;100V&amp;quot; to &amp;quot;999V&amp;quot; for input values 100 to 999&lt;br /&gt;
     switch (digit) {&lt;br /&gt;
       case 0:&lt;br /&gt;
         writeDisplayDigit(0, (value / 100) % 10, 0);&lt;br /&gt;
         break;&lt;br /&gt;
       case 1:&lt;br /&gt;
         writeDisplayDigit(1, (value / 10) % 10, 0);&lt;br /&gt;
         break;&lt;br /&gt;
       case 2:&lt;br /&gt;
         writeDisplayDigit(2, value  % 10 , 0);&lt;br /&gt;
         break;&lt;br /&gt;
       case 3:&lt;br /&gt;
         writeDisplayDigit(3, 12, 0);&lt;br /&gt;
         break;        &lt;br /&gt;
     }&lt;br /&gt;
   }&lt;br /&gt;
   else if (value &amp;gt;= 10 and value &amp;lt; 100) { // display &amp;quot; 10V&amp;quot; to &amp;quot; 99V &amp;quot; for input values from 10 to 99&lt;br /&gt;
     switch (digit) {&lt;br /&gt;
       case 1:&lt;br /&gt;
         writeDisplayDigit(1, value / 10, 0);&lt;br /&gt;
         break;&lt;br /&gt;
       case 2:&lt;br /&gt;
         writeDisplayDigit(2, value % 10, 0);&lt;br /&gt;
         break;&lt;br /&gt;
       case 3:&lt;br /&gt;
         writeDisplayDigit(3, 12, 0);&lt;br /&gt;
         break;        &lt;br /&gt;
     }&lt;br /&gt;
   }&lt;br /&gt;
   else if (value &amp;gt;= 1 and value &amp;lt; 10) { // display &amp;quot;  1V&amp;quot; to &amp;quot;  9V &amp;quot; for input values from 1 to 9&lt;br /&gt;
     switch (digit) {&lt;br /&gt;
       case 2:&lt;br /&gt;
         writeDisplayDigit(2, value % 10, 0);&lt;br /&gt;
         break;&lt;br /&gt;
       case 3:&lt;br /&gt;
         writeDisplayDigit(3, 12, 0);&lt;br /&gt;
         break;        &lt;br /&gt;
     }&lt;br /&gt;
   }&lt;br /&gt;
   else { // display &amp;quot;---V&amp;quot; for anything else&lt;br /&gt;
     switch (digit) {&lt;br /&gt;
       case 0:&lt;br /&gt;
         writeDisplayDigit(0, 11, 0);&lt;br /&gt;
         break;&lt;br /&gt;
       case 1:&lt;br /&gt;
         writeDisplayDigit(1, 11, 0);&lt;br /&gt;
         break;&lt;br /&gt;
       case 2:&lt;br /&gt;
         writeDisplayDigit(2, 11, 0);&lt;br /&gt;
         break;&lt;br /&gt;
       case 3:&lt;br /&gt;
         writeDisplayDigit(3, 12, 0);&lt;br /&gt;
         break;   &lt;br /&gt;
     }     &lt;br /&gt;
   }&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 void setup() {&lt;br /&gt;
   Serial.begin(9600); //initialise serial communications at 9600 bps&lt;br /&gt;
 &lt;br /&gt;
   // Initialise CAN bus&lt;br /&gt;
   delay(1000); // allow CAN hardware to stabilise&lt;br /&gt;
   Can0.begin();&lt;br /&gt;
   Can0.setBaudRate(canSpeed);&lt;br /&gt;
   Can0.setMaxMB(16);&lt;br /&gt;
   Can0.enableFIFO();&lt;br /&gt;
   Can0.enableFIFOInterrupt();&lt;br /&gt;
   Can0.onReceive(canDataReceived);&lt;br /&gt;
   Can0.mailboxStatus();&lt;br /&gt;
 &lt;br /&gt;
   // Initialise LED display&lt;br /&gt;
 &lt;br /&gt;
   // segement pins&lt;br /&gt;
   for (int i = 0; i &amp;lt; ledSegments; ++i)&lt;br /&gt;
   {&lt;br /&gt;
     pinMode(pinSegment[i], OUTPUT);&lt;br /&gt;
   }&lt;br /&gt;
 &lt;br /&gt;
   // decimal point pin&lt;br /&gt;
   pinMode(pinDecimalPoint, OUTPUT);&lt;br /&gt;
 &lt;br /&gt;
   // digit pins&lt;br /&gt;
   for (int i = 0; i &amp;lt; ledDigits; ++i)&lt;br /&gt;
   {&lt;br /&gt;
     pinMode(pinDigit[i], OUTPUT);&lt;br /&gt;
   }&lt;br /&gt;
   clearDisplay();&lt;br /&gt;
 &lt;br /&gt;
   pinMode(pinOnboardLED, OUTPUT);&lt;br /&gt;
   pinMode(pinPhotocell, INPUT);&lt;br /&gt;
   pinMode(pinTouch, INPUT);&lt;br /&gt;
   touchCurrentState = digitalRead(pinTouch);&lt;br /&gt;
   &lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 void canDataReceived(const CAN_message_t &amp;amp;msg) {&lt;br /&gt;
 //  Serial.print(&amp;quot;MB &amp;quot;); Serial.print(msg.mb);&lt;br /&gt;
 //  Serial.print(&amp;quot;  OVERRUN: &amp;quot;); Serial.print(msg.flags.overrun);&lt;br /&gt;
 //  Serial.print(&amp;quot;  LEN: &amp;quot;); Serial.print(msg.len);&lt;br /&gt;
 //  Serial.print(&amp;quot; EXT: &amp;quot;); Serial.print(msg.flags.extended);&lt;br /&gt;
 //  Serial.print(&amp;quot; TS: &amp;quot;); Serial.print(msg.timestamp);&lt;br /&gt;
 //  Serial.print(&amp;quot; ID: &amp;quot;); Serial.print(msg.id, HEX);&lt;br /&gt;
 //  Serial.print(&amp;quot; Buffer: &amp;quot;);&lt;br /&gt;
 //  for ( uint8_t i = 0; i &amp;lt; msg.len; i++ ) {&lt;br /&gt;
 //    Serial.print(msg.buf[i], HEX); Serial.print(&amp;quot; &amp;quot;);&lt;br /&gt;
 //  } Serial.println();&lt;br /&gt;
 &lt;br /&gt;
   switch (displayMode) { // according to display mode&lt;br /&gt;
     case 1:&lt;br /&gt;
       if (msg.id == canIDvoltage) {&lt;br /&gt;
       // Matching voltage CAN bus frame arrived!&lt;br /&gt;
         //readingVoltage = (msg.buf[2] &amp;lt;&amp;lt; 24) | (msg.buf[3] &amp;lt;&amp;lt; 16) | (msg.buf[4] &amp;lt;&amp;lt; 8) | (msg.buf[5]);   // now piece it together&lt;br /&gt;
         readingVoltage = (msg.buf[6] &amp;lt;&amp;lt; 8) | (msg.buf[7]);   // now piece it together&lt;br /&gt;
         nextTimeoutMilliseconds = nowMilliseconds + (canTimeout * 1000); // set next timeout&lt;br /&gt;
       }&lt;br /&gt;
       break;  &lt;br /&gt;
     default:&lt;br /&gt;
       if (msg.id == canIDsoc) {&lt;br /&gt;
       // Matching SoC CAN bus frame arrived!&lt;br /&gt;
         readingSoC = (msg.buf[6] &amp;lt;&amp;lt; 8) | (msg.buf[7]);   // now piece it together&lt;br /&gt;
         nextTimeoutMilliseconds = nowMilliseconds + (canTimeout * 1000); // set next timeout&lt;br /&gt;
       }&lt;br /&gt;
       break;&lt;br /&gt;
   }&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 void loop() {&lt;br /&gt;
 &lt;br /&gt;
   // add extra code here&lt;br /&gt;
 &lt;br /&gt;
   // pot input for testing without CAN bus&lt;br /&gt;
   //reading = analogRead(pin_pot);&lt;br /&gt;
   //reading = map(reading, 10, 1023, 0, 1000);&lt;br /&gt;
 &lt;br /&gt;
   touchLastState = touchCurrentState;&lt;br /&gt;
   touchCurrentState = digitalRead(pinTouch);&lt;br /&gt;
   if(touchLastState == LOW &amp;amp;&amp;amp; touchCurrentState == HIGH) {&lt;br /&gt;
     // toggle display&lt;br /&gt;
     displayMode = !displayMode;&lt;br /&gt;
     // control LED arccoding to the toggled state&lt;br /&gt;
     digitalWrite(pinOnboardLED, displayMode); &lt;br /&gt;
   }&lt;br /&gt;
   //&lt;br /&gt;
   //&lt;br /&gt;
 &lt;br /&gt;
   Can0.events();&lt;br /&gt;
 &lt;br /&gt;
   // take a timestamp&lt;br /&gt;
   nowMilliseconds = millis();&lt;br /&gt;
   nowMicroseconds = micros();&lt;br /&gt;
 &lt;br /&gt;
   // calculate required LED brightness score (1-10) and set time to remain on (in microseconds) as a proportion of the refresh interval&lt;br /&gt;
   photocellReading = analogRead(pinPhotocell);&lt;br /&gt;
   photocellReading = constrain(photocellReading, photocellDark, photocellLight);&lt;br /&gt;
   ledBrightness = map(photocellReading, photocellDark, photocellLight, 1, 10);&lt;br /&gt;
   ledOnMicroseconds = ledBrightness * ledRefreshMilliseconds * 100; // microseconds&lt;br /&gt;
 &lt;br /&gt;
   // timeout if no data received&lt;br /&gt;
   if (nowMilliseconds &amp;gt; nextTimeoutMilliseconds) {&lt;br /&gt;
     readingSoC = -1; // display &amp;quot;----&amp;quot;&lt;br /&gt;
     readingVoltage = -1; // display &amp;quot;----&amp;quot;&lt;br /&gt;
   }&lt;br /&gt;
 &lt;br /&gt;
   // is it time to refresh display?&lt;br /&gt;
   if (nowMilliseconds &amp;gt; nextRefreshMilliseconds) {&lt;br /&gt;
     nextRefreshMilliseconds = nowMilliseconds + ledRefreshMilliseconds; // set the time in milliseconds for the next refresh&lt;br /&gt;
     nextBlankMicroseconds = nowMicroseconds + ledOnMicroseconds; // set the time in microseconds for LEDs to remain on (for dimming)&lt;br /&gt;
     // multiplexed display, so enable one digit at at time&lt;br /&gt;
     switch (displayMode) { // according to display mode&lt;br /&gt;
       case 1:&lt;br /&gt;
         writeDisplayVoltage(digitSelect, readingVoltage);       &lt;br /&gt;
         break;  &lt;br /&gt;
       default:&lt;br /&gt;
         writeDisplaySoC(digitSelect, readingSoC); &lt;br /&gt;
         break;&lt;br /&gt;
     }&lt;br /&gt;
     ++digitSelect; // we&#039;ll do the next digit on the next pass&lt;br /&gt;
     if (digitSelect &amp;gt; ledDigits - 1 ) { // all digits done? &lt;br /&gt;
       digitSelect = 0;  // wrap around to first digit again.&lt;br /&gt;
     }&lt;br /&gt;
   }&lt;br /&gt;
 &lt;br /&gt;
   // is it time to switch the LEDs off?&lt;br /&gt;
   if (nowMicroseconds &amp;gt; nextBlankMicroseconds ) {&lt;br /&gt;
     clearDisplay();&lt;br /&gt;
   }&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
== Try it out! ==&lt;br /&gt;
Compile and upload the code to your Teensy board. The code isn&#039;t very complicated, so I set mine to run at 150MHz.&lt;br /&gt;
&lt;br /&gt;
If you send CAN data to the specified node ID, the display should spring into life. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;YouTube&amp;gt;&amp;lt;/nowiki&amp;gt;https://youtu.be/s-Gadj3Rnxw&amp;lt;nowiki&amp;gt;&amp;lt;/youtube&amp;gt;&lt;/div&gt;</summary>
		<author><name>Clanger9</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=State_of_Charge_meter_using_a_Teensy_4.0&amp;diff=1680</id>
		<title>State of Charge meter using a Teensy 4.0</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=State_of_Charge_meter_using_a_Teensy_4.0&amp;diff=1680"/>
		<updated>2021-08-10T19:57:42Z</updated>

		<summary type="html">&lt;p&gt;Clanger9: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Prototype CAN SoC display.jpg|alt=Prototype CAN SoC display|thumb|Prototype CAN SoC display]]&lt;br /&gt;
This is a CAN bus state-of-charge meter based on a Teensy 4.0. Teensy&#039;s aren&#039;t the cheapest boards (an STM32 is a tenth of the price), but they are tiny, have on-board CAN and are very easy to develop for.&lt;br /&gt;
&lt;br /&gt;
It displays a state-of-charge or voltage value according the integer number sent over CAN bus to the configured address(es)&lt;br /&gt;
&lt;br /&gt;
SoC values between 0 and 1000 will be displayed as &amp;quot;  0.0&amp;quot; to &amp;quot;100 &amp;quot;. The display flashes &amp;quot;  0.0&amp;quot; when it reaches zero. Anything else (or no data) will be displayed as &amp;quot;----&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Voltage values between 1 and 999 will be displayed as &amp;quot;  1V&amp;quot; to &amp;quot;999V &amp;quot;. Anything else (or no data) will be displayed as &amp;quot;---V&amp;quot;&lt;br /&gt;
&lt;br /&gt;
A touch sensor allows you to toggle the display between SoC and voltage.&lt;br /&gt;
&lt;br /&gt;
It includes automatic night time dimming. &lt;br /&gt;
&lt;br /&gt;
== Component list ==&lt;br /&gt;
&lt;br /&gt;
* Teensy 4.0 board&lt;br /&gt;
* SN65HVD230-based CAN transceiver&lt;br /&gt;
* 3461BS-1 4 digit common anode 7 segment display &lt;br /&gt;
* 8x 220R resistors&lt;br /&gt;
* Photocell&lt;br /&gt;
* 10k resistor&lt;br /&gt;
* 47uF capacitor&lt;br /&gt;
* TTP223 Capacitive Touch Switch&lt;br /&gt;
&lt;br /&gt;
== Wiring ==&lt;br /&gt;
[[File:Screenshot 2021-08-10 at 20.27.30.png|alt=Teensy 4.0 connections|thumb|Teensy 4.0 connections]]&lt;br /&gt;
Follow the Teensy 4.0 connection schematic&lt;br /&gt;
&lt;br /&gt;
# Connect the CAN transceiver to Teensy 3.3V, GND, CRX2 and CTX2&lt;br /&gt;
# Connect the LED D1, D2, D3 and D4 digit pins to Teensy 5, 4, 3, 2&lt;br /&gt;
# Connect the LED a, b, c, d, e, f, g and DP segments to Teensy 16, 17, 18, 19, 20, 21, 22, 23 via 220R resistors&lt;br /&gt;
# Connect the Photocell to Teensy 3.3V and A0. Connect A0 to GND via a 10k resistor and 47uF capacitor in parallel.&lt;br /&gt;
# Connect the Touch Switch to Teensy 3.3V, GND and 15&lt;br /&gt;
&lt;br /&gt;
== Code ==&lt;br /&gt;
Fire up [https://www.pjrc.com/teensy/teensyduino.html Teensyduino] and paste in the following code:&lt;br /&gt;
 // CAN bus state-of-charge meter for Teensy 4.x and 4-digit 7-segment display&lt;br /&gt;
 // Includes automatic LED brightness control&lt;br /&gt;
 //&lt;br /&gt;
 // Usage: send integer number over CAN bus to configured address&lt;br /&gt;
 // SoC values between 0 and 1000 will be displayed as &amp;quot;  0.0&amp;quot; to &amp;quot;100 &amp;quot;&lt;br /&gt;
 // The display flashes &amp;quot;  0.0&amp;quot; when it reaches zero&lt;br /&gt;
 // Anything else (or no data) will be displayed as &amp;quot;----&amp;quot;&lt;br /&gt;
 // Voltage values between 1 and 999 will be displayed as &amp;quot;  1V&amp;quot; to &amp;quot;999V &amp;quot;&lt;br /&gt;
 // Anything else (or no data) will be displayed as &amp;quot;---V&amp;quot;&lt;br /&gt;
 // Touch selection to toggle display between SoC and  voltage&lt;br /&gt;
 //&lt;br /&gt;
 // electric_dart 2021&lt;br /&gt;
 &lt;br /&gt;
 // define display&lt;br /&gt;
 // values below are for 3461BS-1 4 digit common anode 7 segment display &lt;br /&gt;
 const int ledDigits = 4; // 4 digits&lt;br /&gt;
 const int ledSegments = 7; // 7 segments &lt;br /&gt;
 const int pinSegment[ledSegments] = {16, 17, 18, 19, 20, 21, 22}; // pins for a,b,c,d,e,f,g segments&lt;br /&gt;
 const int pinDecimalPoint = 23; // pin for decimal point&lt;br /&gt;
 const int pinDigit[ledDigits] = {5, 4, 3, 2}; // common digit pins, left to right&lt;br /&gt;
 const boolean ledIsCommonAnode = 1; // 1=common anode 0=common cathode&lt;br /&gt;
 const int ledRefreshHz = 100; // minimum 50Hz to avoid flicker&lt;br /&gt;
 const int ledFlashHz = 2; // for flashing display&lt;br /&gt;
 &lt;br /&gt;
 // define display characters&lt;br /&gt;
 const int zero[ledSegments] = {HIGH, HIGH, HIGH, HIGH, HIGH, HIGH, LOW};&lt;br /&gt;
 const int one[ledSegments] = {LOW, HIGH, HIGH, LOW, LOW, LOW, LOW};&lt;br /&gt;
 const int two[ledSegments] = {HIGH, HIGH, LOW, HIGH, HIGH, LOW, HIGH};&lt;br /&gt;
 const int three[ledSegments] = {HIGH, HIGH, HIGH, HIGH, LOW, LOW, HIGH};&lt;br /&gt;
 const int four[ledSegments] = {LOW, HIGH, HIGH, LOW, LOW, HIGH, HIGH};&lt;br /&gt;
 const int five[ledSegments] = {HIGH, LOW, HIGH, HIGH, LOW, HIGH, HIGH};&lt;br /&gt;
 const int six[ledSegments] = {HIGH, LOW, HIGH, HIGH, HIGH, HIGH, HIGH};&lt;br /&gt;
 const int seven[ledSegments] = {HIGH, HIGH, HIGH, LOW, LOW, LOW, LOW};&lt;br /&gt;
 const int eight[ledSegments] = {HIGH, HIGH, HIGH, HIGH, HIGH, HIGH, HIGH};&lt;br /&gt;
 const int nine[ledSegments] = {HIGH, HIGH, HIGH, LOW, LOW, HIGH, HIGH};&lt;br /&gt;
 const int blank[ledSegments] = {LOW, LOW, LOW, LOW, LOW, LOW, LOW};&lt;br /&gt;
 const int dash[ledSegments] = {LOW, LOW, LOW, LOW, LOW, LOW, HIGH};&lt;br /&gt;
 const int volt[ledSegments] = {LOW, LOW, HIGH, HIGH, HIGH, LOW, LOW};&lt;br /&gt;
 // add additional characters here if required&lt;br /&gt;
 const int* character[13] = {zero, one, two, three, four, five, six, seven, eight, nine, blank, dash, volt};&lt;br /&gt;
 &lt;br /&gt;
 // photocell parameters&lt;br /&gt;
 int pinPhotocell = 14; // photocell pin&lt;br /&gt;
 int photocellDark = 500; // adjust dark level for your photocell&lt;br /&gt;
 int photocellLight = 1000; // adjust light level for your photocell&lt;br /&gt;
 &lt;br /&gt;
 // touch parameters&lt;br /&gt;
 int pinOnboardLED = 13;&lt;br /&gt;
 int pinTouch = 15;&lt;br /&gt;
 int touchCurrentState;&lt;br /&gt;
 int touchLastState;&lt;br /&gt;
 &lt;br /&gt;
 // CAN bus setup&lt;br /&gt;
 const long canIDsoc = 0x350; // set this to match your SoC CAN bus ID&lt;br /&gt;
 const long canIDvoltage = 0x522; // set this to match your voltage CAN bus ID&lt;br /&gt;
 const long canSpeed = 500000; // set this to match your CAN bus speed&lt;br /&gt;
 const long canTimeout = 10; // seconds to wait without data before showing error&lt;br /&gt;
 #include &amp;lt;FlexCAN_T4.h&amp;gt;&lt;br /&gt;
 FlexCAN_T4&amp;lt;CAN2, RX_SIZE_256, TX_SIZE_16&amp;gt; Can0; // Using CAN2 on pins 0 &amp;amp; 1&lt;br /&gt;
 &lt;br /&gt;
 // internal variables&lt;br /&gt;
 int ledRefreshMilliseconds = 1000 / (ledDigits * ledRefreshHz); // milliseconds&lt;br /&gt;
 int ledOnMicroseconds; // microseconds&lt;br /&gt;
 unsigned long nowMilliseconds;&lt;br /&gt;
 unsigned long nowMicroseconds;&lt;br /&gt;
 unsigned long nextRefreshMilliseconds = 0;&lt;br /&gt;
 unsigned long nextBlankMicroseconds = 0;&lt;br /&gt;
 unsigned long nextTimeoutMilliseconds = 0;&lt;br /&gt;
 unsigned long nextFlashMilliseconds = 0;&lt;br /&gt;
 boolean ledFlashState = 1;&lt;br /&gt;
 int digitSelect = 0;&lt;br /&gt;
 int readingSoC = -1;&lt;br /&gt;
 int readingVoltage = -1;&lt;br /&gt;
 int photocellReading;&lt;br /&gt;
 int ledBrightness; // score 1 to 10&lt;br /&gt;
 int displayMode = 0; // 0=SoC, 1=Voltage&lt;br /&gt;
 &lt;br /&gt;
 void clearDisplay()&lt;br /&gt;
 {&lt;br /&gt;
   for (int i = 0; i &amp;lt; ledDigits; ++i)&lt;br /&gt;
   {&lt;br /&gt;
     digitalWrite(pinDigit[i], HIGH ^ ledIsCommonAnode);&lt;br /&gt;
   }&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 void writeDisplayDigit(int digit, int value, boolean decimal)&lt;br /&gt;
 // digit: numbered left-to-right, beginning at zero&lt;br /&gt;
 // value: the character to display from character[] array&lt;br /&gt;
 // decimal: set this to 1 to switch the decimal point on&lt;br /&gt;
 {&lt;br /&gt;
   for (int i = 0; i &amp;lt; ledSegments; ++i)&lt;br /&gt;
   {&lt;br /&gt;
     digitalWrite(pinSegment[i], character[value][i] ^ ledIsCommonAnode);&lt;br /&gt;
   }&lt;br /&gt;
   digitalWrite(pinDecimalPoint, decimal ^ ledIsCommonAnode);&lt;br /&gt;
   digitalWrite(pinDigit[digit], LOW ^ ledIsCommonAnode);&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 void writeDisplaySoC(int digit, int value) // customise this section according to what you want to display&lt;br /&gt;
 {&lt;br /&gt;
   if (value == 1000) { // display &amp;quot;100 &amp;quot; if the input value is 1000&lt;br /&gt;
     switch (digit) {&lt;br /&gt;
       case 0:&lt;br /&gt;
         writeDisplayDigit(0, 1, 0);&lt;br /&gt;
         break;&lt;br /&gt;
       case 1:&lt;br /&gt;
         writeDisplayDigit(1, 0, 0);&lt;br /&gt;
         break;&lt;br /&gt;
       case 2:&lt;br /&gt;
         writeDisplayDigit(2, 0, 0);&lt;br /&gt;
         break;&lt;br /&gt;
     }&lt;br /&gt;
   }&lt;br /&gt;
   else if (value &amp;gt;= 100 and value &amp;lt; 1000) { // display &amp;quot; 99 &amp;quot; to &amp;quot; 10 &amp;quot; for input values from 999 to 100&lt;br /&gt;
     switch (digit) {&lt;br /&gt;
       case 1:&lt;br /&gt;
         writeDisplayDigit(1, value / 100, 0);&lt;br /&gt;
         break;&lt;br /&gt;
       case 2:&lt;br /&gt;
         writeDisplayDigit(2, (value / 10) % 10, 0);&lt;br /&gt;
         break;&lt;br /&gt;
     }&lt;br /&gt;
   }&lt;br /&gt;
   else if (value &amp;gt;= 1 and value &amp;lt; 100) { // display &amp;quot;  9.9&amp;quot; to &amp;quot;  0.1&amp;quot; for input values from 99 to 1&lt;br /&gt;
     switch (digit) {&lt;br /&gt;
       case 2:&lt;br /&gt;
         writeDisplayDigit(2, value / 10, 1);&lt;br /&gt;
         break;&lt;br /&gt;
       case 3:&lt;br /&gt;
         writeDisplayDigit(3, value % 10, 0);&lt;br /&gt;
         break;&lt;br /&gt;
     }&lt;br /&gt;
   }&lt;br /&gt;
   else if (value == 0) { // display flashing &amp;quot;  0.0&amp;quot; for input value 0&lt;br /&gt;
     if (nowMilliseconds &amp;gt; nextFlashMilliseconds) {&lt;br /&gt;
       nextFlashMilliseconds = nowMilliseconds + ( 1000 / ledFlashHz );&lt;br /&gt;
       ledFlashState = ledFlashState ^ 1;&lt;br /&gt;
     }&lt;br /&gt;
     if (ledFlashState == 1) { &lt;br /&gt;
       switch (digit) {&lt;br /&gt;
         case 2:&lt;br /&gt;
           writeDisplayDigit(2, 0, 1);&lt;br /&gt;
           break;&lt;br /&gt;
         case 3:&lt;br /&gt;
           writeDisplayDigit(3, 0, 0);&lt;br /&gt;
           break;&lt;br /&gt;
       }&lt;br /&gt;
     }&lt;br /&gt;
     else {&lt;br /&gt;
       switch (digit) {&lt;br /&gt;
         case 2:&lt;br /&gt;
           writeDisplayDigit(2, 10, 1);&lt;br /&gt;
           break;&lt;br /&gt;
         case 3:&lt;br /&gt;
           writeDisplayDigit(3, 10, 0);&lt;br /&gt;
           break;&lt;br /&gt;
       }&lt;br /&gt;
     }&lt;br /&gt;
   }&lt;br /&gt;
   else { // display &amp;quot;----&amp;quot; for anything else&lt;br /&gt;
     writeDisplayDigit(digit, 11, 0);&lt;br /&gt;
   }&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 void writeDisplayVoltage(int digit, int value) // customise this section according to what you want to display&lt;br /&gt;
 {&lt;br /&gt;
   if (value &amp;gt;= 100 and value &amp;lt; 1000) { // display &amp;quot;100V&amp;quot; to &amp;quot;999V&amp;quot; for input values 100 to 999&lt;br /&gt;
     switch (digit) {&lt;br /&gt;
       case 0:&lt;br /&gt;
         writeDisplayDigit(0, (value / 100) % 10, 0);&lt;br /&gt;
         break;&lt;br /&gt;
       case 1:&lt;br /&gt;
         writeDisplayDigit(1, (value / 10) % 10, 0);&lt;br /&gt;
         break;&lt;br /&gt;
       case 2:&lt;br /&gt;
         writeDisplayDigit(2, value  % 10 , 0);&lt;br /&gt;
         break;&lt;br /&gt;
       case 3:&lt;br /&gt;
         writeDisplayDigit(3, 12, 0);&lt;br /&gt;
         break;        &lt;br /&gt;
     }&lt;br /&gt;
   }&lt;br /&gt;
   else if (value &amp;gt;= 10 and value &amp;lt; 100) { // display &amp;quot; 10V&amp;quot; to &amp;quot; 99V &amp;quot; for input values from 10 to 99&lt;br /&gt;
     switch (digit) {&lt;br /&gt;
       case 1:&lt;br /&gt;
         writeDisplayDigit(1, value / 10, 0);&lt;br /&gt;
         break;&lt;br /&gt;
       case 2:&lt;br /&gt;
         writeDisplayDigit(2, value % 10, 0);&lt;br /&gt;
         break;&lt;br /&gt;
       case 3:&lt;br /&gt;
         writeDisplayDigit(3, 12, 0);&lt;br /&gt;
         break;        &lt;br /&gt;
     }&lt;br /&gt;
   }&lt;br /&gt;
   else if (value &amp;gt;= 1 and value &amp;lt; 10) { // display &amp;quot;  1V&amp;quot; to &amp;quot;  9V &amp;quot; for input values from 1 to 9&lt;br /&gt;
     switch (digit) {&lt;br /&gt;
       case 2:&lt;br /&gt;
         writeDisplayDigit(2, value % 10, 0);&lt;br /&gt;
         break;&lt;br /&gt;
       case 3:&lt;br /&gt;
         writeDisplayDigit(3, 12, 0);&lt;br /&gt;
         break;        &lt;br /&gt;
     }&lt;br /&gt;
   }&lt;br /&gt;
   else { // display &amp;quot;---V&amp;quot; for anything else&lt;br /&gt;
     switch (digit) {&lt;br /&gt;
       case 0:&lt;br /&gt;
         writeDisplayDigit(0, 11, 0);&lt;br /&gt;
         break;&lt;br /&gt;
       case 1:&lt;br /&gt;
         writeDisplayDigit(1, 11, 0);&lt;br /&gt;
         break;&lt;br /&gt;
       case 2:&lt;br /&gt;
         writeDisplayDigit(2, 11, 0);&lt;br /&gt;
         break;&lt;br /&gt;
       case 3:&lt;br /&gt;
         writeDisplayDigit(3, 12, 0);&lt;br /&gt;
         break;   &lt;br /&gt;
     }     &lt;br /&gt;
   }&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 void setup() {&lt;br /&gt;
   Serial.begin(9600); //initialise serial communications at 9600 bps&lt;br /&gt;
 &lt;br /&gt;
   // Initialise CAN bus&lt;br /&gt;
   delay(1000); // allow CAN hardware to stabilise&lt;br /&gt;
   Can0.begin();&lt;br /&gt;
   Can0.setBaudRate(canSpeed);&lt;br /&gt;
   Can0.setMaxMB(16);&lt;br /&gt;
   Can0.enableFIFO();&lt;br /&gt;
   Can0.enableFIFOInterrupt();&lt;br /&gt;
   Can0.onReceive(canDataReceived);&lt;br /&gt;
   Can0.mailboxStatus();&lt;br /&gt;
 &lt;br /&gt;
   // Initialise LED display&lt;br /&gt;
 &lt;br /&gt;
   // segement pins&lt;br /&gt;
   for (int i = 0; i &amp;lt; ledSegments; ++i)&lt;br /&gt;
   {&lt;br /&gt;
     pinMode(pinSegment[i], OUTPUT);&lt;br /&gt;
   }&lt;br /&gt;
 &lt;br /&gt;
   // decimal point pin&lt;br /&gt;
   pinMode(pinDecimalPoint, OUTPUT);&lt;br /&gt;
 &lt;br /&gt;
   // digit pins&lt;br /&gt;
   for (int i = 0; i &amp;lt; ledDigits; ++i)&lt;br /&gt;
   {&lt;br /&gt;
     pinMode(pinDigit[i], OUTPUT);&lt;br /&gt;
   }&lt;br /&gt;
   clearDisplay();&lt;br /&gt;
 &lt;br /&gt;
   pinMode(pinOnboardLED, OUTPUT);&lt;br /&gt;
   pinMode(pinPhotocell, INPUT);&lt;br /&gt;
   pinMode(pinTouch, INPUT);&lt;br /&gt;
   touchCurrentState = digitalRead(pinTouch);&lt;br /&gt;
   &lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 void canDataReceived(const CAN_message_t &amp;amp;msg) {&lt;br /&gt;
 //  Serial.print(&amp;quot;MB &amp;quot;); Serial.print(msg.mb);&lt;br /&gt;
 //  Serial.print(&amp;quot;  OVERRUN: &amp;quot;); Serial.print(msg.flags.overrun);&lt;br /&gt;
 //  Serial.print(&amp;quot;  LEN: &amp;quot;); Serial.print(msg.len);&lt;br /&gt;
 //  Serial.print(&amp;quot; EXT: &amp;quot;); Serial.print(msg.flags.extended);&lt;br /&gt;
 //  Serial.print(&amp;quot; TS: &amp;quot;); Serial.print(msg.timestamp);&lt;br /&gt;
 //  Serial.print(&amp;quot; ID: &amp;quot;); Serial.print(msg.id, HEX);&lt;br /&gt;
 //  Serial.print(&amp;quot; Buffer: &amp;quot;);&lt;br /&gt;
 //  for ( uint8_t i = 0; i &amp;lt; msg.len; i++ ) {&lt;br /&gt;
 //    Serial.print(msg.buf[i], HEX); Serial.print(&amp;quot; &amp;quot;);&lt;br /&gt;
 //  } Serial.println();&lt;br /&gt;
 &lt;br /&gt;
   switch (displayMode) { // according to display mode&lt;br /&gt;
     case 1:&lt;br /&gt;
       if (msg.id == canIDvoltage) {&lt;br /&gt;
       // Matching voltage CAN bus frame arrived!&lt;br /&gt;
         //readingVoltage = (msg.buf[2] &amp;lt;&amp;lt; 24) | (msg.buf[3] &amp;lt;&amp;lt; 16) | (msg.buf[4] &amp;lt;&amp;lt; 8) | (msg.buf[5]);   // now piece it together&lt;br /&gt;
         readingVoltage = (msg.buf[6] &amp;lt;&amp;lt; 8) | (msg.buf[7]);   // now piece it together&lt;br /&gt;
         nextTimeoutMilliseconds = nowMilliseconds + (canTimeout * 1000); // set next timeout&lt;br /&gt;
       }&lt;br /&gt;
       break;  &lt;br /&gt;
     default:&lt;br /&gt;
       if (msg.id == canIDsoc) {&lt;br /&gt;
       // Matching SoC CAN bus frame arrived!&lt;br /&gt;
         readingSoC = (msg.buf[6] &amp;lt;&amp;lt; 8) | (msg.buf[7]);   // now piece it together&lt;br /&gt;
         nextTimeoutMilliseconds = nowMilliseconds + (canTimeout * 1000); // set next timeout&lt;br /&gt;
       }&lt;br /&gt;
       break;&lt;br /&gt;
   }&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 void loop() {&lt;br /&gt;
 &lt;br /&gt;
   // add extra code here&lt;br /&gt;
 &lt;br /&gt;
   // pot input for testing without CAN bus&lt;br /&gt;
   //reading = analogRead(pin_pot);&lt;br /&gt;
   //reading = map(reading, 10, 1023, 0, 1000);&lt;br /&gt;
 &lt;br /&gt;
   touchLastState = touchCurrentState;&lt;br /&gt;
   touchCurrentState = digitalRead(pinTouch);&lt;br /&gt;
   if(touchLastState == LOW &amp;amp;&amp;amp; touchCurrentState == HIGH) {&lt;br /&gt;
     // toggle display&lt;br /&gt;
     displayMode = !displayMode;&lt;br /&gt;
     // control LED arccoding to the toggled state&lt;br /&gt;
     digitalWrite(pinOnboardLED, displayMode); &lt;br /&gt;
   }&lt;br /&gt;
   //&lt;br /&gt;
   //&lt;br /&gt;
 &lt;br /&gt;
   Can0.events();&lt;br /&gt;
 &lt;br /&gt;
   // take a timestamp&lt;br /&gt;
   nowMilliseconds = millis();&lt;br /&gt;
   nowMicroseconds = micros();&lt;br /&gt;
 &lt;br /&gt;
   // calculate required LED brightness score (1-10) and set time to remain on (in microseconds) as a proportion of the refresh interval&lt;br /&gt;
   photocellReading = analogRead(pinPhotocell);&lt;br /&gt;
   photocellReading = constrain(photocellReading, photocellDark, photocellLight);&lt;br /&gt;
   ledBrightness = map(photocellReading, photocellDark, photocellLight, 1, 10);&lt;br /&gt;
   ledOnMicroseconds = ledBrightness * ledRefreshMilliseconds * 100; // microseconds&lt;br /&gt;
 &lt;br /&gt;
   // timeout if no data received&lt;br /&gt;
   if (nowMilliseconds &amp;gt; nextTimeoutMilliseconds) {&lt;br /&gt;
     readingSoC = -1; // display &amp;quot;----&amp;quot;&lt;br /&gt;
     readingVoltage = -1; // display &amp;quot;----&amp;quot;&lt;br /&gt;
   }&lt;br /&gt;
 &lt;br /&gt;
   // is it time to refresh display?&lt;br /&gt;
   if (nowMilliseconds &amp;gt; nextRefreshMilliseconds) {&lt;br /&gt;
     nextRefreshMilliseconds = nowMilliseconds + ledRefreshMilliseconds; // set the time in milliseconds for the next refresh&lt;br /&gt;
     nextBlankMicroseconds = nowMicroseconds + ledOnMicroseconds; // set the time in microseconds for LEDs to remain on (for dimming)&lt;br /&gt;
     // multiplexed display, so enable one digit at at time&lt;br /&gt;
     switch (displayMode) { // according to display mode&lt;br /&gt;
       case 1:&lt;br /&gt;
         writeDisplayVoltage(digitSelect, readingVoltage);       &lt;br /&gt;
         break;  &lt;br /&gt;
       default:&lt;br /&gt;
         writeDisplaySoC(digitSelect, readingSoC); &lt;br /&gt;
         break;&lt;br /&gt;
     }&lt;br /&gt;
     ++digitSelect; // we&#039;ll do the next digit on the next pass&lt;br /&gt;
     if (digitSelect &amp;gt; ledDigits - 1 ) { // all digits done? &lt;br /&gt;
       digitSelect = 0;  // wrap around to first digit again.&lt;br /&gt;
     }&lt;br /&gt;
   }&lt;br /&gt;
 &lt;br /&gt;
   // is it time to switch the LEDs off?&lt;br /&gt;
   if (nowMicroseconds &amp;gt; nextBlankMicroseconds ) {&lt;br /&gt;
     clearDisplay();&lt;br /&gt;
   }&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
== Try it out! ==&lt;br /&gt;
Compile and upload the code to your Teensy board. The code isn&#039;t very complicated, so I set mine to run at 150MHz.&lt;br /&gt;
&lt;br /&gt;
If you send CAN data to the specified node ID, the display should spring into life. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;YouTube&amp;gt;&amp;lt;/nowiki&amp;gt;https://youtu.be/s-Gadj3Rnxw&amp;lt;nowiki&amp;gt;&amp;lt;/youtube&amp;gt;&lt;/div&gt;</summary>
		<author><name>Clanger9</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=State_of_Charge_meter_using_a_Teensy_4.0&amp;diff=1679</id>
		<title>State of Charge meter using a Teensy 4.0</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=State_of_Charge_meter_using_a_Teensy_4.0&amp;diff=1679"/>
		<updated>2021-08-10T19:49:34Z</updated>

		<summary type="html">&lt;p&gt;Clanger9: Created page with &amp;quot;Prototype CAN SoC display This is a CAN bus state-of-charge meter based on a Teensy 4.0. Teensy&amp;#039;s ar...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Prototype CAN SoC display.jpg|alt=Prototype CAN SoC display|thumb|Prototype CAN SoC display]]&lt;br /&gt;
This is a CAN bus state-of-charge meter based on a Teensy 4.0. Teensy&#039;s aren&#039;t the cheapest boards (an STM32 is a tenth of the price), but they are tiny, have on-board CAN and are very easy to develop for.&lt;br /&gt;
&lt;br /&gt;
It displays a state-of-charge or voltage value according the integer number sent over CAN bus to the configured address(es)&lt;br /&gt;
&lt;br /&gt;
SoC values between 0 and 1000 will be displayed as &amp;quot;  0.0&amp;quot; to &amp;quot;100 &amp;quot;. The display flashes &amp;quot;  0.0&amp;quot; when it reaches zero. Anything else (or no data) will be displayed as &amp;quot;----&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Voltage values between 1 and 999 will be displayed as &amp;quot;  1V&amp;quot; to &amp;quot;999V &amp;quot;. Anything else (or no data) will be displayed as &amp;quot;---V&amp;quot;&lt;br /&gt;
&lt;br /&gt;
A touch sensor allows you to toggle the display between SoC and voltage.&lt;br /&gt;
&lt;br /&gt;
It includes automatic night time dimming. &lt;br /&gt;
&lt;br /&gt;
== Component list ==&lt;br /&gt;
&lt;br /&gt;
* Teensy 4.0 board&lt;br /&gt;
* SN65HVD230-based CAN transceiver&lt;br /&gt;
* 3461BS-1 4 digit common anode 7 segment display &lt;br /&gt;
* 8x 220R resistors&lt;br /&gt;
* Photocell&lt;br /&gt;
* 10k resistor&lt;br /&gt;
* 47uF capacitor&lt;br /&gt;
* TTP223 Capacitive Touch Switch&lt;br /&gt;
&lt;br /&gt;
== Wiring ==&lt;br /&gt;
[[File:Screenshot 2021-08-10 at 20.27.30.png|alt=Teensy 4.0 connections|thumb|Teensy 4.0 connections]]&lt;br /&gt;
Follow the Teensy 4.0 connection schematic&lt;br /&gt;
&lt;br /&gt;
# Connect the CAN transceiver to Teensy 3.3V, GND, CRX2 and CTX2&lt;br /&gt;
# Connect the LED D1, D2, D3 and D4 digit pins to Teensy 5, 4, 3, 2&lt;br /&gt;
# Connect the LED a, b, c, d, e, f, g and DP segments to Teensy 16, 17, 18, 19, 20, 21, 22, 23 via 220R resistors&lt;br /&gt;
# Connect the Photocell to Teensy 3.3V and A0. Connect A0 to GND via a 10k resistor and 47uF capacitor in parallel.&lt;br /&gt;
# Connect the Touch Switch to Teensy 3.3V, GND and 15&lt;br /&gt;
&lt;br /&gt;
== Code ==&lt;br /&gt;
Fire up [https://www.pjrc.com/teensy/teensyduino.html Teensyduino] and paste in the following code:&lt;br /&gt;
 // CAN bus state-of-charge meter for Teensy 4.x and 4-digit 7-segment display&lt;br /&gt;
 // Includes automatic LED brightness control&lt;br /&gt;
 //&lt;br /&gt;
 // Usage: send integer number over CAN bus to configured address&lt;br /&gt;
 // SoC values between 0 and 1000 will be displayed as &amp;quot;  0.0&amp;quot; to &amp;quot;100 &amp;quot;&lt;br /&gt;
 // The display flashes &amp;quot;  0.0&amp;quot; when it reaches zero&lt;br /&gt;
 // Anything else (or no data) will be displayed as &amp;quot;----&amp;quot;&lt;br /&gt;
 // Voltage values between 1 and 999 will be displayed as &amp;quot;  1V&amp;quot; to &amp;quot;999V &amp;quot;&lt;br /&gt;
 // Anything else (or no data) will be displayed as &amp;quot;---V&amp;quot;&lt;br /&gt;
 // Touch selection to toggle display between SoC and  voltage&lt;br /&gt;
 //&lt;br /&gt;
 // electric_dart 2021&lt;br /&gt;
 &lt;br /&gt;
 // define display&lt;br /&gt;
 // values below are for 3461BS-1 4 digit common anode 7 segment display &lt;br /&gt;
 const int ledDigits = 4; // 4 digits&lt;br /&gt;
 const int ledSegments = 7; // 7 segments &lt;br /&gt;
 const int pinSegment[ledSegments] = {16, 17, 18, 19, 20, 21, 22}; // pins for a,b,c,d,e,f,g segments&lt;br /&gt;
 const int pinDecimalPoint = 23; // pin for decimal point&lt;br /&gt;
 const int pinDigit[ledDigits] = {5, 4, 3, 2}; // common digit pins, left to right&lt;br /&gt;
 const boolean ledIsCommonAnode = 1; // 1=common anode 0=common cathode&lt;br /&gt;
 const int ledRefreshHz = 100; // minimum 50Hz to avoid flicker&lt;br /&gt;
 const int ledFlashHz = 2; // for flashing display&lt;br /&gt;
 &lt;br /&gt;
 // define display characters&lt;br /&gt;
 const int zero[ledSegments] = {HIGH, HIGH, HIGH, HIGH, HIGH, HIGH, LOW};&lt;br /&gt;
 const int one[ledSegments] = {LOW, HIGH, HIGH, LOW, LOW, LOW, LOW};&lt;br /&gt;
 const int two[ledSegments] = {HIGH, HIGH, LOW, HIGH, HIGH, LOW, HIGH};&lt;br /&gt;
 const int three[ledSegments] = {HIGH, HIGH, HIGH, HIGH, LOW, LOW, HIGH};&lt;br /&gt;
 const int four[ledSegments] = {LOW, HIGH, HIGH, LOW, LOW, HIGH, HIGH};&lt;br /&gt;
 const int five[ledSegments] = {HIGH, LOW, HIGH, HIGH, LOW, HIGH, HIGH};&lt;br /&gt;
 const int six[ledSegments] = {HIGH, LOW, HIGH, HIGH, HIGH, HIGH, HIGH};&lt;br /&gt;
 const int seven[ledSegments] = {HIGH, HIGH, HIGH, LOW, LOW, LOW, LOW};&lt;br /&gt;
 const int eight[ledSegments] = {HIGH, HIGH, HIGH, HIGH, HIGH, HIGH, HIGH};&lt;br /&gt;
 const int nine[ledSegments] = {HIGH, HIGH, HIGH, LOW, LOW, HIGH, HIGH};&lt;br /&gt;
 const int blank[ledSegments] = {LOW, LOW, LOW, LOW, LOW, LOW, LOW};&lt;br /&gt;
 const int dash[ledSegments] = {LOW, LOW, LOW, LOW, LOW, LOW, HIGH};&lt;br /&gt;
 const int volt[ledSegments] = {LOW, LOW, HIGH, HIGH, HIGH, LOW, LOW};&lt;br /&gt;
 // add additional characters here if required&lt;br /&gt;
 const int* character[13] = {zero, one, two, three, four, five, six, seven, eight, nine, blank, dash, volt};&lt;br /&gt;
 &lt;br /&gt;
 // photocell parameters&lt;br /&gt;
 int pinPhotocell = 14; // photocell pin&lt;br /&gt;
 int photocellDark = 500; // adjust dark level for your photocell&lt;br /&gt;
 int photocellLight = 1000; // adjust light level for your photocell&lt;br /&gt;
 &lt;br /&gt;
 // touch parameters&lt;br /&gt;
 int pinOnboardLED = 13;&lt;br /&gt;
 int pinTouch = 15;&lt;br /&gt;
 int touchCurrentState;&lt;br /&gt;
 int touchLastState;&lt;br /&gt;
 &lt;br /&gt;
 // CAN bus setup&lt;br /&gt;
 const long canIDsoc = 0x350; // set this to match your SoC CAN bus ID&lt;br /&gt;
 const long canIDvoltage = 0x522; // set this to match your voltage CAN bus ID&lt;br /&gt;
 const long canSpeed = 500000; // set this to match your CAN bus speed&lt;br /&gt;
 const long canTimeout = 10; // seconds to wait without data before showing error&lt;br /&gt;
 #include &amp;lt;FlexCAN_T4.h&amp;gt;&lt;br /&gt;
 FlexCAN_T4&amp;lt;CAN2, RX_SIZE_256, TX_SIZE_16&amp;gt; Can0; // Using CAN2 on pins 0 &amp;amp; 1&lt;br /&gt;
 &lt;br /&gt;
 // internal variables&lt;br /&gt;
 int ledRefreshMilliseconds = 1000 / (ledDigits * ledRefreshHz); // milliseconds&lt;br /&gt;
 int ledOnMicroseconds; // microseconds&lt;br /&gt;
 unsigned long nowMilliseconds;&lt;br /&gt;
 unsigned long nowMicroseconds;&lt;br /&gt;
 unsigned long nextRefreshMilliseconds = 0;&lt;br /&gt;
 unsigned long nextBlankMicroseconds = 0;&lt;br /&gt;
 unsigned long nextTimeoutMilliseconds = 0;&lt;br /&gt;
 unsigned long nextFlashMilliseconds = 0;&lt;br /&gt;
 boolean ledFlashState = 1;&lt;br /&gt;
 int digitSelect = 0;&lt;br /&gt;
 int readingSoC = -1;&lt;br /&gt;
 int readingVoltage = -1;&lt;br /&gt;
 int photocellReading;&lt;br /&gt;
 int ledBrightness; // score 1 to 10&lt;br /&gt;
 int displayMode = 0; // 0=SoC, 1=Voltage&lt;br /&gt;
 &lt;br /&gt;
 void clearDisplay()&lt;br /&gt;
 {&lt;br /&gt;
   for (int i = 0; i &amp;lt; ledDigits; ++i)&lt;br /&gt;
   {&lt;br /&gt;
     digitalWrite(pinDigit[i], HIGH ^ ledIsCommonAnode);&lt;br /&gt;
   }&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 void writeDisplayDigit(int digit, int value, boolean decimal)&lt;br /&gt;
 // digit: numbered left-to-right, beginning at zero&lt;br /&gt;
 // value: the character to display from character[] array&lt;br /&gt;
 // decimal: set this to 1 to switch the decimal point on&lt;br /&gt;
 {&lt;br /&gt;
   for (int i = 0; i &amp;lt; ledSegments; ++i)&lt;br /&gt;
   {&lt;br /&gt;
     digitalWrite(pinSegment[i], character[value][i] ^ ledIsCommonAnode);&lt;br /&gt;
   }&lt;br /&gt;
   digitalWrite(pinDecimalPoint, decimal ^ ledIsCommonAnode);&lt;br /&gt;
   digitalWrite(pinDigit[digit], LOW ^ ledIsCommonAnode);&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 void writeDisplaySoC(int digit, int value) // customise this section according to what you want to display&lt;br /&gt;
 {&lt;br /&gt;
   if (value == 1000) { // display &amp;quot;100 &amp;quot; if the input value is 1000&lt;br /&gt;
     switch (digit) {&lt;br /&gt;
       case 0:&lt;br /&gt;
         writeDisplayDigit(0, 1, 0);&lt;br /&gt;
         break;&lt;br /&gt;
       case 1:&lt;br /&gt;
         writeDisplayDigit(1, 0, 0);&lt;br /&gt;
         break;&lt;br /&gt;
       case 2:&lt;br /&gt;
         writeDisplayDigit(2, 0, 0);&lt;br /&gt;
         break;&lt;br /&gt;
     }&lt;br /&gt;
   }&lt;br /&gt;
   else if (value &amp;gt;= 100 and value &amp;lt; 1000) { // display &amp;quot; 99 &amp;quot; to &amp;quot; 10 &amp;quot; for input values from 999 to 100&lt;br /&gt;
     switch (digit) {&lt;br /&gt;
       case 1:&lt;br /&gt;
         writeDisplayDigit(1, value / 100, 0);&lt;br /&gt;
         break;&lt;br /&gt;
       case 2:&lt;br /&gt;
         writeDisplayDigit(2, (value / 10) % 10, 0);&lt;br /&gt;
         break;&lt;br /&gt;
     }&lt;br /&gt;
   }&lt;br /&gt;
   else if (value &amp;gt;= 1 and value &amp;lt; 100) { // display &amp;quot;  9.9&amp;quot; to &amp;quot;  0.1&amp;quot; for input values from 99 to 1&lt;br /&gt;
     switch (digit) {&lt;br /&gt;
       case 2:&lt;br /&gt;
         writeDisplayDigit(2, value / 10, 1);&lt;br /&gt;
         break;&lt;br /&gt;
       case 3:&lt;br /&gt;
         writeDisplayDigit(3, value % 10, 0);&lt;br /&gt;
         break;&lt;br /&gt;
     }&lt;br /&gt;
   }&lt;br /&gt;
   else if (value == 0) { // display flashing &amp;quot;  0.0&amp;quot; for input value 0&lt;br /&gt;
     if (nowMilliseconds &amp;gt; nextFlashMilliseconds) {&lt;br /&gt;
       nextFlashMilliseconds = nowMilliseconds + ( 1000 / ledFlashHz );&lt;br /&gt;
       ledFlashState = ledFlashState ^ 1;&lt;br /&gt;
     }&lt;br /&gt;
     if (ledFlashState == 1) { &lt;br /&gt;
       switch (digit) {&lt;br /&gt;
         case 2:&lt;br /&gt;
           writeDisplayDigit(2, 0, 1);&lt;br /&gt;
           break;&lt;br /&gt;
         case 3:&lt;br /&gt;
           writeDisplayDigit(3, 0, 0);&lt;br /&gt;
           break;&lt;br /&gt;
       }&lt;br /&gt;
     }&lt;br /&gt;
     else {&lt;br /&gt;
       switch (digit) {&lt;br /&gt;
         case 2:&lt;br /&gt;
           writeDisplayDigit(2, 10, 1);&lt;br /&gt;
           break;&lt;br /&gt;
         case 3:&lt;br /&gt;
           writeDisplayDigit(3, 10, 0);&lt;br /&gt;
           break;&lt;br /&gt;
       }&lt;br /&gt;
     }&lt;br /&gt;
   }&lt;br /&gt;
   else { // display &amp;quot;----&amp;quot; for anything else&lt;br /&gt;
     writeDisplayDigit(digit, 11, 0);&lt;br /&gt;
   }&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 void writeDisplayVoltage(int digit, int value) // customise this section according to what you want to display&lt;br /&gt;
 {&lt;br /&gt;
   if (value &amp;gt;= 100 and value &amp;lt; 1000) { // display &amp;quot;100V&amp;quot; to &amp;quot;999V&amp;quot; for input values 100 to 999&lt;br /&gt;
     switch (digit) {&lt;br /&gt;
       case 0:&lt;br /&gt;
         writeDisplayDigit(0, (value / 100) % 10, 0);&lt;br /&gt;
         break;&lt;br /&gt;
       case 1:&lt;br /&gt;
         writeDisplayDigit(1, (value / 10) % 10, 0);&lt;br /&gt;
         break;&lt;br /&gt;
       case 2:&lt;br /&gt;
         writeDisplayDigit(2, value  % 10 , 0);&lt;br /&gt;
         break;&lt;br /&gt;
       case 3:&lt;br /&gt;
         writeDisplayDigit(3, 12, 0);&lt;br /&gt;
         break;        &lt;br /&gt;
     }&lt;br /&gt;
   }&lt;br /&gt;
   else if (value &amp;gt;= 10 and value &amp;lt; 100) { // display &amp;quot; 10V&amp;quot; to &amp;quot; 99V &amp;quot; for input values from 10 to 99&lt;br /&gt;
     switch (digit) {&lt;br /&gt;
       case 1:&lt;br /&gt;
         writeDisplayDigit(1, value / 10, 0);&lt;br /&gt;
         break;&lt;br /&gt;
       case 2:&lt;br /&gt;
         writeDisplayDigit(2, value % 10, 0);&lt;br /&gt;
         break;&lt;br /&gt;
       case 3:&lt;br /&gt;
         writeDisplayDigit(3, 12, 0);&lt;br /&gt;
         break;        &lt;br /&gt;
     }&lt;br /&gt;
   }&lt;br /&gt;
   else if (value &amp;gt;= 1 and value &amp;lt; 10) { // display &amp;quot;  1V&amp;quot; to &amp;quot;  9V &amp;quot; for input values from 1 to 9&lt;br /&gt;
     switch (digit) {&lt;br /&gt;
       case 2:&lt;br /&gt;
         writeDisplayDigit(2, value % 10, 0);&lt;br /&gt;
         break;&lt;br /&gt;
       case 3:&lt;br /&gt;
         writeDisplayDigit(3, 12, 0);&lt;br /&gt;
         break;        &lt;br /&gt;
     }&lt;br /&gt;
   }&lt;br /&gt;
   else { // display &amp;quot;---V&amp;quot; for anything else&lt;br /&gt;
     switch (digit) {&lt;br /&gt;
       case 0:&lt;br /&gt;
         writeDisplayDigit(0, 11, 0);&lt;br /&gt;
         break;&lt;br /&gt;
       case 1:&lt;br /&gt;
         writeDisplayDigit(1, 11, 0);&lt;br /&gt;
         break;&lt;br /&gt;
       case 2:&lt;br /&gt;
         writeDisplayDigit(2, 11, 0);&lt;br /&gt;
         break;&lt;br /&gt;
       case 3:&lt;br /&gt;
         writeDisplayDigit(3, 12, 0);&lt;br /&gt;
         break;   &lt;br /&gt;
     }     &lt;br /&gt;
   }&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 void setup() {&lt;br /&gt;
   Serial.begin(9600); //initialise serial communications at 9600 bps&lt;br /&gt;
 &lt;br /&gt;
   // Initialise CAN bus&lt;br /&gt;
   delay(1000); // allow CAN hardware to stabilise&lt;br /&gt;
   Can0.begin();&lt;br /&gt;
   Can0.setBaudRate(canSpeed);&lt;br /&gt;
   Can0.setMaxMB(16);&lt;br /&gt;
   Can0.enableFIFO();&lt;br /&gt;
   Can0.enableFIFOInterrupt();&lt;br /&gt;
   Can0.onReceive(canDataReceived);&lt;br /&gt;
   Can0.mailboxStatus();&lt;br /&gt;
 &lt;br /&gt;
   // Initialise LED display&lt;br /&gt;
 &lt;br /&gt;
   // segement pins&lt;br /&gt;
   for (int i = 0; i &amp;lt; ledSegments; ++i)&lt;br /&gt;
   {&lt;br /&gt;
     pinMode(pinSegment[i], OUTPUT);&lt;br /&gt;
   }&lt;br /&gt;
 &lt;br /&gt;
   // decimal point pin&lt;br /&gt;
   pinMode(pinDecimalPoint, OUTPUT);&lt;br /&gt;
 &lt;br /&gt;
   // digit pins&lt;br /&gt;
   for (int i = 0; i &amp;lt; ledDigits; ++i)&lt;br /&gt;
   {&lt;br /&gt;
     pinMode(pinDigit[i], OUTPUT);&lt;br /&gt;
   }&lt;br /&gt;
   clearDisplay();&lt;br /&gt;
 &lt;br /&gt;
   pinMode(pinOnboardLED, OUTPUT);&lt;br /&gt;
   pinMode(pinPhotocell, INPUT);&lt;br /&gt;
   pinMode(pinTouch, INPUT);&lt;br /&gt;
   touchCurrentState = digitalRead(pinTouch);&lt;br /&gt;
   &lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 void canDataReceived(const CAN_message_t &amp;amp;msg) {&lt;br /&gt;
 //  Serial.print(&amp;quot;MB &amp;quot;); Serial.print(msg.mb);&lt;br /&gt;
 //  Serial.print(&amp;quot;  OVERRUN: &amp;quot;); Serial.print(msg.flags.overrun);&lt;br /&gt;
 //  Serial.print(&amp;quot;  LEN: &amp;quot;); Serial.print(msg.len);&lt;br /&gt;
 //  Serial.print(&amp;quot; EXT: &amp;quot;); Serial.print(msg.flags.extended);&lt;br /&gt;
 //  Serial.print(&amp;quot; TS: &amp;quot;); Serial.print(msg.timestamp);&lt;br /&gt;
 //  Serial.print(&amp;quot; ID: &amp;quot;); Serial.print(msg.id, HEX);&lt;br /&gt;
 //  Serial.print(&amp;quot; Buffer: &amp;quot;);&lt;br /&gt;
 //  for ( uint8_t i = 0; i &amp;lt; msg.len; i++ ) {&lt;br /&gt;
 //    Serial.print(msg.buf[i], HEX); Serial.print(&amp;quot; &amp;quot;);&lt;br /&gt;
 //  } Serial.println();&lt;br /&gt;
 &lt;br /&gt;
   switch (displayMode) { // according to display mode&lt;br /&gt;
     case 1:&lt;br /&gt;
       if (msg.id == canIDvoltage) {&lt;br /&gt;
       // Matching voltage CAN bus frame arrived!&lt;br /&gt;
         //readingVoltage = (msg.buf[2] &amp;lt;&amp;lt; 24) | (msg.buf[3] &amp;lt;&amp;lt; 16) | (msg.buf[4] &amp;lt;&amp;lt; 8) | (msg.buf[5]);   // now piece it together&lt;br /&gt;
         readingVoltage = (msg.buf[6] &amp;lt;&amp;lt; 8) | (msg.buf[7]);   // now piece it together&lt;br /&gt;
         nextTimeoutMilliseconds = nowMilliseconds + (canTimeout * 1000); // set next timeout&lt;br /&gt;
       }&lt;br /&gt;
       break;  &lt;br /&gt;
     default:&lt;br /&gt;
       if (msg.id == canIDsoc) {&lt;br /&gt;
       // Matching SoC CAN bus frame arrived!&lt;br /&gt;
         readingSoC = (msg.buf[6] &amp;lt;&amp;lt; 8) | (msg.buf[7]);   // now piece it together&lt;br /&gt;
         nextTimeoutMilliseconds = nowMilliseconds + (canTimeout * 1000); // set next timeout&lt;br /&gt;
       }&lt;br /&gt;
       break;&lt;br /&gt;
   }&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 void loop() {&lt;br /&gt;
 &lt;br /&gt;
   // add extra code here&lt;br /&gt;
 &lt;br /&gt;
   // pot input for testing without CAN bus&lt;br /&gt;
   //reading = analogRead(pin_pot);&lt;br /&gt;
   //reading = map(reading, 10, 1023, 0, 1000);&lt;br /&gt;
 &lt;br /&gt;
   touchLastState = touchCurrentState;&lt;br /&gt;
   touchCurrentState = digitalRead(pinTouch);&lt;br /&gt;
   if(touchLastState == LOW &amp;amp;&amp;amp; touchCurrentState == HIGH) {&lt;br /&gt;
     // toggle display&lt;br /&gt;
     displayMode = !displayMode;&lt;br /&gt;
     // control LED arccoding to the toggled state&lt;br /&gt;
     digitalWrite(pinOnboardLED, displayMode); &lt;br /&gt;
   }&lt;br /&gt;
   //&lt;br /&gt;
   //&lt;br /&gt;
 &lt;br /&gt;
   Can0.events();&lt;br /&gt;
 &lt;br /&gt;
   // take a timestamp&lt;br /&gt;
   nowMilliseconds = millis();&lt;br /&gt;
   nowMicroseconds = micros();&lt;br /&gt;
 &lt;br /&gt;
   // calculate required LED brightness score (1-10) and set time to remain on (in microseconds) as a proportion of the refresh interval&lt;br /&gt;
   photocellReading = analogRead(pinPhotocell);&lt;br /&gt;
   photocellReading = constrain(photocellReading, photocellDark, photocellLight);&lt;br /&gt;
   ledBrightness = map(photocellReading, photocellDark, photocellLight, 1, 10);&lt;br /&gt;
   ledOnMicroseconds = ledBrightness * ledRefreshMilliseconds * 100; // microseconds&lt;br /&gt;
 &lt;br /&gt;
   // timeout if no data received&lt;br /&gt;
   if (nowMilliseconds &amp;gt; nextTimeoutMilliseconds) {&lt;br /&gt;
     readingSoC = -1; // display &amp;quot;----&amp;quot;&lt;br /&gt;
     readingVoltage = -1; // display &amp;quot;----&amp;quot;&lt;br /&gt;
   }&lt;br /&gt;
 &lt;br /&gt;
   // is it time to refresh display?&lt;br /&gt;
   if (nowMilliseconds &amp;gt; nextRefreshMilliseconds) {&lt;br /&gt;
     nextRefreshMilliseconds = nowMilliseconds + ledRefreshMilliseconds; // set the time in milliseconds for the next refresh&lt;br /&gt;
     nextBlankMicroseconds = nowMicroseconds + ledOnMicroseconds; // set the time in microseconds for LEDs to remain on (for dimming)&lt;br /&gt;
     // multiplexed display, so enable one digit at at time&lt;br /&gt;
     switch (displayMode) { // according to display mode&lt;br /&gt;
       case 1:&lt;br /&gt;
         writeDisplayVoltage(digitSelect, readingVoltage);       &lt;br /&gt;
         break;  &lt;br /&gt;
       default:&lt;br /&gt;
         writeDisplaySoC(digitSelect, readingSoC); &lt;br /&gt;
         break;&lt;br /&gt;
     }&lt;br /&gt;
     ++digitSelect; // we&#039;ll do the next digit on the next pass&lt;br /&gt;
     if (digitSelect &amp;gt; ledDigits - 1 ) { // all digits done? &lt;br /&gt;
       digitSelect = 0;  // wrap around to first digit again.&lt;br /&gt;
     }&lt;br /&gt;
   }&lt;br /&gt;
 &lt;br /&gt;
   // is it time to switch the LEDs off?&lt;br /&gt;
   if (nowMicroseconds &amp;gt; nextBlankMicroseconds ) {&lt;br /&gt;
     clearDisplay();&lt;br /&gt;
   }&lt;br /&gt;
 }&lt;/div&gt;</summary>
		<author><name>Clanger9</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=File:Prototype_CAN_SoC_display.jpg&amp;diff=1678</id>
		<title>File:Prototype CAN SoC display.jpg</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=File:Prototype_CAN_SoC_display.jpg&amp;diff=1678"/>
		<updated>2021-08-10T19:41:29Z</updated>

		<summary type="html">&lt;p&gt;Clanger9: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Prototype CAN SoC display&lt;/div&gt;</summary>
		<author><name>Clanger9</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=File:Screenshot_2021-08-10_at_20.27.30.png&amp;diff=1677</id>
		<title>File:Screenshot 2021-08-10 at 20.27.30.png</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=File:Screenshot_2021-08-10_at_20.27.30.png&amp;diff=1677"/>
		<updated>2021-08-10T19:29:57Z</updated>

		<summary type="html">&lt;p&gt;Clanger9: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Teensy 4.0 connections&lt;/div&gt;</summary>
		<author><name>Clanger9</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=File:Teensy_4.0_connections.png&amp;diff=1676</id>
		<title>File:Teensy 4.0 connections.png</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=File:Teensy_4.0_connections.png&amp;diff=1676"/>
		<updated>2021-08-10T19:25:26Z</updated>

		<summary type="html">&lt;p&gt;Clanger9: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Teensy 4.0 connections&lt;/div&gt;</summary>
		<author><name>Clanger9</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Getting_started_with_CAN_bus&amp;diff=1675</id>
		<title>Getting started with CAN bus</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Getting_started_with_CAN_bus&amp;diff=1675"/>
		<updated>2021-08-10T19:05:47Z</updated>

		<summary type="html">&lt;p&gt;Clanger9: /* I want to build a CAN bus device... */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page will help get you started with CAN bus.&lt;br /&gt;
&lt;br /&gt;
Some people will tell you CAN is hard or complicated. They&#039;re wrong. The hardware you need isn&#039;t expensive and you don&#039;t need to be a programming whiz. Even Damien can do it.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;youtube&amp;gt;https://youtu.be/K4HwHQOluSg&amp;lt;/youtube&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There are a few routes you can take, depending on what you want to do:&lt;br /&gt;
&lt;br /&gt;
== I want to receive or send simple CAN bus messages... ==&lt;br /&gt;
If you already know which CAN bus messages you want to send or receive, one of the cheapest ways to do this is with an [[Getting started with CAN bus and an Arduino Uno|Arduino Uno and a suitable CAN bus shield]]. &lt;br /&gt;
&lt;br /&gt;
== I want to analyse CAN bus traffic and possibly do some serious hacking... ==&lt;br /&gt;
If you want to analyse CAN bus messages on an existing vehicle, you&#039;ll need the help of some software. You can use the free [https://www.savvycan.com SavvyCAN software] together with a [[CAN bus with Arduino Due|suitably configured Arduino Due]] or [[Getting CAN working on a Teensy 3.6|Teensy]]. Alternatively, you can buy a [http://store.evtv.me/proddetail.php?prod=ArduinoDueCANBUS pre-configured Due-based kit from EVTV].     &lt;br /&gt;
&lt;br /&gt;
&amp;lt;youtube&amp;gt;https://www.youtube.com/watch?v=MsrXs-tJKaY&amp;lt;/youtube&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== I want to build a CAN bus device... ==&lt;br /&gt;
Once you&#039;ve got your CAN messages sorted, you can build a dedicated device to send or receive those messages. For example, you could build a custom battery gauge. Or add a touch screen controller. Anything is possible! If you want, you can just use the Arduino hardware described above. Alternatively, something small and reasonably robust like a [https://www.pjrc.com/teensy/techspecs.html Teensy 3.x] might be a better choice for a permanent solution. &lt;br /&gt;
&lt;br /&gt;
Here&#039;s a quick-start guide to [[getting CAN working on a Teensy 3.6]].&lt;br /&gt;
&lt;br /&gt;
Here&#039;s a simple CAN bus [[State of Charge meter using a Teensy 4.0]].&lt;/div&gt;</summary>
		<author><name>Clanger9</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=CAN_bus_with_Arduino_Due&amp;diff=1383</id>
		<title>CAN bus with Arduino Due</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=CAN_bus_with_Arduino_Due&amp;diff=1383"/>
		<updated>2021-02-11T20:59:00Z</updated>

		<summary type="html">&lt;p&gt;Clanger9: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;You can analyse CAN bus traffic using an Arduino Due. &lt;br /&gt;
&lt;br /&gt;
You will need the following:&lt;br /&gt;
* An Arduino Due board&lt;br /&gt;
* Two SN65HVD230-based CAN transceivers&lt;br /&gt;
* An SPI Micro SD storage module (optional)&lt;br /&gt;
Here are the steps:&lt;br /&gt;
&lt;br /&gt;
== Configure your Arduino IDE ==&lt;br /&gt;
Download and install the [https://www.arduino.cc/en/Main/Software Arduino IDE] on your computer&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Tools -&amp;gt; Board -&amp;gt; Boards Manager&#039;&#039;. Type &amp;quot;due&amp;quot; in the search box and install &amp;quot;Arduino SAM Boards (32-bits ARM Cortex-M3)&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Connect your computer to the &amp;quot;native&amp;quot; USB port on the Arduino Due board with a USB cable. The Due has two USB ports and they&#039;re used for different purposes.&lt;br /&gt;
&lt;br /&gt;
Make sure your Arduino board is selected with &#039;&#039;Tools -&amp;gt; Board: &amp;quot;Arduino Due (Native USB port)&amp;quot;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;File -&amp;gt; Examples -&amp;gt; 01.Basics -&amp;gt; Blink&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Sketch -&amp;gt; Upload&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Push the reset button on your Due. You should now see a blinking light. Congratulations! You&#039;ve successfully compiled and loaded your first program and your IDE is working.&lt;br /&gt;
== Get CAN transceivers working ==&lt;br /&gt;
The Due has two on-board CAN interfaces. However, the board lacks the necessary CAN transceivers to make then useful. You will need to add the transceivers yourself. You can find suitable 3.3V SN65HVD230-based CAN transceivers easily on eBay. They are very cheap. Unfortunately, not all of them work.&lt;br /&gt;
[[File:SN65HVD230 CAN bus transceiver faulty.jpg|thumb|This SN65HVD230 transceiver did not work]]&lt;br /&gt;
Initially, I tried tiny ones that look like this. They were all faulty.&lt;br /&gt;
[[File:SN65HVD230 CAN bus transceiver working.jpg|thumb|This SN65HVD230 transceiver worked]]&lt;br /&gt;
I tried some bigger ones with screw terminals. These all worked perfectly.&lt;br /&gt;
&lt;br /&gt;
Connect your transceivers to the Due board&lt;br /&gt;
&lt;br /&gt;
The CAN0 interface is on the pins marked CANRX and CANTX&lt;br /&gt;
&lt;br /&gt;
The CAN1 interface is on the pins marked DAC0 (RX) and 53 (TX)&lt;br /&gt;
[[File:Due CAN loopback test.jpg|alt=Due CAN loopback test|thumb|Due CAN loopback test]]&lt;br /&gt;
Connect the CAN bus on the two transceivers together (CANL to CANL, CANH to CANH)&lt;br /&gt;
&lt;br /&gt;
Connect your computer to the the &amp;quot;native&amp;quot; USB port on the Arduino Due board with a USB cable and make sure &#039;&#039;Tools -&amp;gt; Board: &amp;quot;Arduino Due (Native USB port)&amp;quot;&#039;&#039; is selected. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Tools -&amp;gt; Manage Libraries...&#039;&#039; Type &amp;quot;due_can&amp;quot; in the search box and install &amp;quot;due_can&amp;quot; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;File -&amp;gt; Examples -&amp;gt; due_can -&amp;gt; CAN_ExtendedPingPong&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Sketch -&amp;gt; Upload&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Tools -&amp;gt; Serial Monitor&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
If your CAN transceivers are working properly, you should be rewarded with incrementing numbers in  the serial monitor window.&lt;br /&gt;
&lt;br /&gt;
== Install GV-RET ==&lt;br /&gt;
Once you&#039;ve confirmed that your CAN transceivers are working, you can move on to installing the [https://github.com/collin80/GVRET Generalized Electric Vehicle Reverse Engineering Tool (GV-RET)]. This software will allow your Due CAN transceivers to talk to SavvyCAN.&lt;br /&gt;
&lt;br /&gt;
You need to install a number of libraries (in addition to the due_can library installed in the last section). These are all linked to on the GV-RET website, but a couple of them may not work properly if you install them via that method. I recommend you install the following via the Arduino IDE Library Manager with &#039;&#039;Tools -&amp;gt; Manage Libraries...&#039;&#039; :  &lt;br /&gt;
* SdFat&lt;br /&gt;
* DueFlashStorage&lt;br /&gt;
Now install the remaining libraries manually. In each case, the installation procedure is:&lt;br /&gt;
# Download the .zip file&lt;br /&gt;
# Rename the file to remove &amp;quot;-master&amp;quot; or any other postfixes. This is important!&lt;br /&gt;
# Install the library with &#039;&#039;Sketch -&amp;gt; Include Library -&amp;gt; Add .ZIP Library...&#039;&#039; and select the file.&lt;br /&gt;
You need all of these:&lt;br /&gt;
* [https://github.com/collin80/due_can due_can]&lt;br /&gt;
* [https://github.com/collin80/can_common can_common]&lt;br /&gt;
* [https://github.com/macchina/mcp2515 MCP2515]&lt;br /&gt;
* [https://github.com/collin80/due_wire due_wire]&lt;br /&gt;
* [https://github.com/collin80/Wire_EEPROM Wire_EEPROM]&lt;br /&gt;
Once the libraries are all installed, you can install GV-RET. Go to the [https://github.com/collin80/GVRET GitHub webpage], and click on Code -&amp;gt; Download .ZIP.&lt;br /&gt;
&lt;br /&gt;
Expand the .zip file and put the folder in your Arduino sketchbook location. Open the GV-RET project and install it as follows:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;File -&amp;gt; Open -&amp;gt; GVRET.ino&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Sketch -&amp;gt; Upload&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Tools -&amp;gt; Serial Monitor&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
If it doesn&#039;t compile and complains about missing libraries or headers, check the folder names in the Library folder. Remove any &amp;quot;-master&amp;quot; suffixes from the folder names. The folder names should match the library names listed above.&lt;br /&gt;
&lt;br /&gt;
If everything worked, you should be rewarded with the following messages in the serial console:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;Resetting to factory defaults&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;Using stored values for digital toggling system&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;Running on CANDue hardware&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;11977 - ERROR: Could not initialize SDCard! No file logging will be possible!&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;Build number: 343&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;Done with init&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Congratulations! Your Due is now a powerful CAN sniffer and injection tool. You can connect the CAN-H and CAN-L terminals of a CAN bus transceiver to the CAN bus in your vehicle. &lt;br /&gt;
&lt;br /&gt;
== Add logging to SD card (optional) ==&lt;br /&gt;
You may have noticed the error message about the SD card. If you have an SPI SD card storage module, your Due will log CAN traffic to this for later analysis. This is ideal if you don&#039;t want to have to drive around with a laptop on the passenger seat...&lt;br /&gt;
&lt;br /&gt;
The SD card module needs to be connected to the SPI header (in the middle of the Due board), plus one additional wire to data line 10.&lt;br /&gt;
[[File:Due SPI pins.png|alt=Due SPI pins|thumb|Due SPI pins]]&lt;br /&gt;
Here are the connections:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+SD module wiring&lt;br /&gt;
!Pin on Due&lt;br /&gt;
!Pin on SD module&lt;br /&gt;
|-&lt;br /&gt;
|SPI MISO&lt;br /&gt;
|MISO&lt;br /&gt;
|-&lt;br /&gt;
|SPI SCK&lt;br /&gt;
|SCK&lt;br /&gt;
|-&lt;br /&gt;
|SPI VCC&lt;br /&gt;
|VCC&lt;br /&gt;
|-&lt;br /&gt;
|SPI MOSI&lt;br /&gt;
|MOSI&lt;br /&gt;
|-&lt;br /&gt;
|SPI GND&lt;br /&gt;
|GND&lt;br /&gt;
|-&lt;br /&gt;
|10&lt;br /&gt;
|CS&lt;br /&gt;
|}&lt;br /&gt;
The SD module can be a bit finicky. The GV-RET software defaults to running the SPI bus at 50MHz, but this didn&#039;t work for me. So you will need to do a bit of tweaking to fix this.&lt;br /&gt;
&lt;br /&gt;
First of all, check your SD card is working with File -&amp;gt; Examples -&amp;gt; SdFat -&amp;gt; QuickStart. Connect your Due to the &#039;&#039;&#039;Programming USB Port&#039;&#039;&#039; (not the Native USB Port) and upload the program. In the serial console, it will ask for the CS pin. Enter &#039;10&#039;. You should see a little report in the serial console that shows it is working.&lt;br /&gt;
&lt;br /&gt;
It may say you need to reformat your SD card. To do this, go to File -&amp;gt; Examples -&amp;gt; SdFat -&amp;gt; SdFormatter. Edit the source code to set the CS pin to 10 and limit SD clock speed to 4MHz:&lt;br /&gt;
 const uint8_t chipSelect = 10;&lt;br /&gt;
&lt;br /&gt;
 #define SPI_SPEED SD_SCK_MHZ(4)&lt;br /&gt;
Upload the program and follow the instructions to format your SD card.&lt;br /&gt;
&lt;br /&gt;
Now go to your GVRET code. Add this line after the line &#039;SdFat sd;&#039; :&lt;br /&gt;
 #define SPI_SPEED SD_SCK_MHZ(4)&lt;br /&gt;
Find the line &#039;if (!sd.begin(SysSettings.SDCardSelPin, SPI_FULL_SPEED)) {&#039; and change it to:&lt;br /&gt;
 if (!sd.begin(SysSettings.SDCardSelPin, SPI_SPEED)) {&lt;br /&gt;
[[File:Due CAN bus logger with SD card storage.jpg|alt=Due CAN bus logger with SD card storage|thumb|Due CAN bus logger with SD card storage]]&lt;br /&gt;
That should be enough to get it working. Upload the sketch (this time using the &#039;&#039;&#039;Native USB Port&#039;&#039;&#039;) and you should be rewarded with:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;Resetting to factory defaults&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;Using stored values for digital toggling system&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;Running on CANDue hardware&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;Build number: 343&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;Done with init&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
At least the error message is gone. So far I haven&#039;t managed to get it to log anything to the SD card. It may be the GV-RET configuration needs to be tweaked...&lt;br /&gt;
&lt;br /&gt;
== Get started with SavvyCAN ==&lt;br /&gt;
&lt;br /&gt;
SavvyCAN is a free, open source tool for analysing CAN traffic. Download and install it on your computer.&lt;br /&gt;
It can be a bit intimidating, so here&#039;s a 30 minute tutorial to help you find your feet:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;youtube&amp;gt;kdA5Gdf3FAk&amp;lt;/youtube&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you&#039;re too impatient to sit through a tutorial, just dive straight in and connect to your Due. Go back to the Arduino IDE and note down the name of your Due&#039;s USB connection. On my Mac, it&#039;s &amp;quot;/dev/cu.usbmodem2441&amp;quot;. You&#039;re now finished with the Arduino IDE, so quit it just in case it interferes with the next step...&lt;br /&gt;
&lt;br /&gt;
In SavvyCAN:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Connection -&amp;gt; Open Connection Window&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Add New Device Connection&#039;&#039; and select the USB connection you noted earlier&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Create New Connection&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Check &amp;quot;Enable Bus&amp;quot; and set the Speed to match your CAN bus. 500000 is a good guess. You can always change it later.&lt;br /&gt;
&lt;br /&gt;
After a few seconds, you should see &amp;quot;Connected&amp;quot; in the Status field. If it doesn&#039;t connect, try pushing the reset button on your Due or click &amp;quot;Reset Selected Device&amp;quot; in SavvyCAN. &lt;br /&gt;
&lt;br /&gt;
Now on to the fun part...&lt;br /&gt;
== Start hacking ==&lt;br /&gt;
Feel free to add SavvyCAN examples here.&lt;br /&gt;
&lt;br /&gt;
I will add something on my Ampera BMS (once I figure out an easy way to connect to the CAN bus...)&lt;/div&gt;</summary>
		<author><name>Clanger9</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=CAN_bus_with_Arduino_Due&amp;diff=1370</id>
		<title>CAN bus with Arduino Due</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=CAN_bus_with_Arduino_Due&amp;diff=1370"/>
		<updated>2021-02-11T08:01:04Z</updated>

		<summary type="html">&lt;p&gt;Clanger9: Add further guidance on missing libraries&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;You can analyse CAN bus traffic using an Arduino Due. &lt;br /&gt;
&lt;br /&gt;
You will need the following:&lt;br /&gt;
* An Arduino Due board&lt;br /&gt;
* Two SN65HVD230-based CAN transceivers&lt;br /&gt;
* An SPI Micro SD storage module (optional)&lt;br /&gt;
Here are the steps:&lt;br /&gt;
&lt;br /&gt;
== Configure your Arduino IDE ==&lt;br /&gt;
Download and install the [https://www.arduino.cc/en/Main/Software Arduino IDE] on your computer&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Tools -&amp;gt; Board -&amp;gt; Boards Manager&#039;&#039;. Type &amp;quot;due&amp;quot; in the search box and install &amp;quot;Arduino SAM Boards (32-bits ARM Cortex-M3)&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Connect your computer to the &amp;quot;native&amp;quot; USB port on the Arduino Due board with a USB cable. The Due has two USB ports and they&#039;re used for different purposes.&lt;br /&gt;
&lt;br /&gt;
Make sure your Arduino board is selected with &#039;&#039;Tools -&amp;gt; Board: &amp;quot;Arduino Due (Native USB port)&amp;quot;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;File -&amp;gt; Examples -&amp;gt; 01.Basics -&amp;gt; Blink&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Sketch -&amp;gt; Upload&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Push the reset button on your Due. You should now see a blinking light. Congratulations! You&#039;ve successfully compiled and loaded your first program and your IDE is working.&lt;br /&gt;
== Get CAN transceivers working ==&lt;br /&gt;
The Due has two on-board CAN interfaces. However, the board lacks the necessary CAN transceivers to make then useful. You will need to add the transceivers yourself. You can find suitable 3.3V SN65HVD230-based CAN transceivers easily on eBay. They are very cheap. Unfortunately, not all of them work.&lt;br /&gt;
[[File:SN65HVD230 CAN bus transceiver faulty.jpg|thumb|This SN65HVD230 transceiver did not work]]&lt;br /&gt;
Initially, I tried tiny ones that look like this. They were all faulty.&lt;br /&gt;
[[File:SN65HVD230 CAN bus transceiver working.jpg|thumb|This SN65HVD230 transceiver worked]]&lt;br /&gt;
I tried some bigger ones with screw terminals. These all worked perfectly.&lt;br /&gt;
&lt;br /&gt;
Connect your transceivers to the Due board&lt;br /&gt;
&lt;br /&gt;
The CAN0 interface is on the pins marked CANRX and CANTX&lt;br /&gt;
&lt;br /&gt;
The CAN1 interface is on the pins marked DAC0 (RX) and 53 (TX)&lt;br /&gt;
[[File:Due CAN loopback test.jpg|alt=Due CAN loopback test|thumb|Due CAN loopback test]]&lt;br /&gt;
Connect the CAN bus on the two transceivers together (CANL to CANL, CANH to CANH)&lt;br /&gt;
&lt;br /&gt;
Connect your computer to the the &amp;quot;native&amp;quot; USB port on the Arduino Due board with a USB cable and make sure &#039;&#039;Tools -&amp;gt; Board: &amp;quot;Arduino Due (Native USB port)&amp;quot;&#039;&#039; is selected. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Tools -&amp;gt; Manage Libraries...&#039;&#039; Type &amp;quot;due_can&amp;quot; in the search box and install &amp;quot;due_can&amp;quot; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;File -&amp;gt; Examples -&amp;gt; due_can -&amp;gt; CAN_ExtendedPingPong&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Sketch -&amp;gt; Upload&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Tools -&amp;gt; Serial Monitor&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
If your CAN transceivers are working properly, you should be rewarded with incrementing numbers in  the serial monitor window.&lt;br /&gt;
&lt;br /&gt;
== Install GV-RET ==&lt;br /&gt;
Once you&#039;ve confirmed that your CAN transceivers are working, you can move on to installing the [https://github.com/collin80/GVRET Generalized Electric Vehicle Reverse Engineering Tool (GV-RET)]. This software will allow your Due CAN transceivers to talk to SavvyCAN.&lt;br /&gt;
&lt;br /&gt;
You need to install a number of libraries (in addition to the due_can library installed in the last section). These are all linked to on the GV-RET website, but a couple of them may not work properly if you install them via that method. I recommend you install the following via the Arduino IDE Library Manager with &#039;&#039;Tools -&amp;gt; Manage Libraries...&#039;&#039; :  &lt;br /&gt;
* SdFat&lt;br /&gt;
* DueFlashStorage&lt;br /&gt;
Now install the remaining libraries manually. In each case, the installation procedure is:&lt;br /&gt;
# Download the .zip file&lt;br /&gt;
# Rename the file to remove &amp;quot;-master&amp;quot; or any other postfixes. This is important!&lt;br /&gt;
# Install the library with &#039;&#039;Sketch -&amp;gt; Include Library -&amp;gt; Add .ZIP Library...&#039;&#039; and select the file.&lt;br /&gt;
You need all of these:&lt;br /&gt;
* [https://github.com/collin80/due_can due_can]&lt;br /&gt;
* [https://github.com/collin80/can_common can_common]&lt;br /&gt;
* [https://github.com/macchina/mcp2515 MCP2515]&lt;br /&gt;
* [https://github.com/collin80/due_wire due_wire]&lt;br /&gt;
* [https://github.com/collin80/Wire_EEPROM Wire_EEPROM]&lt;br /&gt;
Once the libraries are all installed, you can install GV-RET. Go to the [https://github.com/collin80/GVRET GitHub webpage], and click on Code -&amp;gt; Download .ZIP.&lt;br /&gt;
&lt;br /&gt;
Expand the .zip file and put the folder in your Arduino sketchbook location. Open the GV-RET project and install it as follows:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;File -&amp;gt; Open -&amp;gt; GVRET.ino&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Sketch -&amp;gt; Upload&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Tools -&amp;gt; Serial Monitor&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
If it doesn&#039;t compile and complains about missing libraries or headers, check the folder names in the Library folder. Remove any &amp;quot;-master&amp;quot; suffix from the folder names.&lt;br /&gt;
&lt;br /&gt;
If everything worked, you should be rewarded with the following messages in the serial console:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;Resetting to factory defaults&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;Using stored values for digital toggling system&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;Running on CANDue hardware&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;11977 - ERROR: Could not initialize SDCard! No file logging will be possible!&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;Build number: 343&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;Done with init&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Congratulations! Your Due is now a powerful CAN sniffer and injection tool. You can connect the CAN-H and CAN-L terminals of a CAN bus transceiver to the CAN bus in your vehicle. &lt;br /&gt;
&lt;br /&gt;
== Add logging to SD card (optional) ==&lt;br /&gt;
You may have noticed the error message about the SD card. If you have an SPI SD card storage module, your Due will log CAN traffic to this for later analysis. This is ideal if you don&#039;t want to have to drive around with a laptop on the passenger seat...&lt;br /&gt;
&lt;br /&gt;
The SD card module needs to be connected to the SPI header (in the middle of the Due board), plus one additional wire to data line 10.&lt;br /&gt;
[[File:Due SPI pins.png|alt=Due SPI pins|thumb|Due SPI pins]]&lt;br /&gt;
Here are the connections:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+SD module wiring&lt;br /&gt;
!Pin on Due&lt;br /&gt;
!Pin on SD module&lt;br /&gt;
|-&lt;br /&gt;
|SPI MISO&lt;br /&gt;
|MISO&lt;br /&gt;
|-&lt;br /&gt;
|SPI SCK&lt;br /&gt;
|SCK&lt;br /&gt;
|-&lt;br /&gt;
|SPI VCC&lt;br /&gt;
|VCC&lt;br /&gt;
|-&lt;br /&gt;
|SPI MOSI&lt;br /&gt;
|MOSI&lt;br /&gt;
|-&lt;br /&gt;
|SPI GND&lt;br /&gt;
|GND&lt;br /&gt;
|-&lt;br /&gt;
|10&lt;br /&gt;
|CS&lt;br /&gt;
|}&lt;br /&gt;
The SD module can be a bit finicky. The GV-RET software defaults to running the SPI bus at 50MHz, but this didn&#039;t work for me. So you will need to do a bit of tweaking to fix this.&lt;br /&gt;
&lt;br /&gt;
First of all, check your SD card is working with File -&amp;gt; Examples -&amp;gt; SdFat -&amp;gt; QuickStart. Connect your Due to the &#039;&#039;&#039;Programming USB Port&#039;&#039;&#039; (not the Native USB Port) and upload the program. In the serial console, it will ask for the CS pin. Enter &#039;10&#039;. You should see a little report in the serial console that shows it is working.&lt;br /&gt;
&lt;br /&gt;
It may say you need to reformat your SD card. To do this, go to File -&amp;gt; Examples -&amp;gt; SdFat -&amp;gt; SdFormatter. Edit the source code to set the CS pin to 10 and limit SD clock speed to 4MHz:&lt;br /&gt;
 const uint8_t chipSelect = 10;&lt;br /&gt;
&lt;br /&gt;
 #define SPI_SPEED SD_SCK_MHZ(4)&lt;br /&gt;
Upload the program and follow the instructions to format your SD card.&lt;br /&gt;
&lt;br /&gt;
Now go to your GVRET code. Add this line after the line &#039;SdFat sd;&#039; :&lt;br /&gt;
 #define SPI_SPEED SD_SCK_MHZ(4)&lt;br /&gt;
Find the line &#039;if (!sd.begin(SysSettings.SDCardSelPin, SPI_FULL_SPEED)) {&#039; and change it to:&lt;br /&gt;
 if (!sd.begin(SysSettings.SDCardSelPin, SPI_SPEED)) {&lt;br /&gt;
[[File:Due CAN bus logger with SD card storage.jpg|alt=Due CAN bus logger with SD card storage|thumb|Due CAN bus logger with SD card storage]]&lt;br /&gt;
That should be enough to get it working. Upload the sketch (this time using the &#039;&#039;&#039;Native USB Port&#039;&#039;&#039;) and you should be rewarded with:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;Resetting to factory defaults&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;Using stored values for digital toggling system&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;Running on CANDue hardware&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;Build number: 343&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;Done with init&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
At least the error message is gone. So far I haven&#039;t managed to get it to log anything to the SD card. It may be the GV-RET configuration needs to be tweaked...&lt;br /&gt;
&lt;br /&gt;
== Get started with SavvyCAN ==&lt;br /&gt;
&lt;br /&gt;
SavvyCAN is a free, open source tool for analysing CAN traffic. Download and install it on your computer.&lt;br /&gt;
It can be a bit intimidating, so here&#039;s a 30 minute tutorial to help you find your feet:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;youtube&amp;gt;kdA5Gdf3FAk&amp;lt;/youtube&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you&#039;re too impatient to sit through a tutorial, just dive straight in and connect to your Due. Go back to the Arduino IDE and note down the name of your Due&#039;s USB connection. On my Mac, it&#039;s &amp;quot;/dev/cu.usbmodem2441&amp;quot;. You&#039;re now finished with the Arduino IDE, so quit it just in case it interferes with the next step...&lt;br /&gt;
&lt;br /&gt;
In SavvyCAN:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Connection -&amp;gt; Open Connection Window&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Add New Device Connection&#039;&#039; and select the USB connection you noted earlier&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Create New Connection&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Check &amp;quot;Enable Bus&amp;quot; and set the Speed to match your CAN bus. 500000 is a good guess. You can always change it later.&lt;br /&gt;
&lt;br /&gt;
After a few seconds, you should see &amp;quot;Connected&amp;quot; in the Status field. If it doesn&#039;t connect, try pushing the reset button on your Due or click &amp;quot;Reset Selected Device&amp;quot; in SavvyCAN. &lt;br /&gt;
&lt;br /&gt;
Now on to the fun part...&lt;br /&gt;
== Start hacking ==&lt;br /&gt;
Feel free to add SavvyCAN examples here.&lt;br /&gt;
&lt;br /&gt;
I will add something on my Ampera BMS (once I figure out an easy way to connect to the CAN bus...)&lt;/div&gt;</summary>
		<author><name>Clanger9</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Batteries&amp;diff=1343</id>
		<title>Batteries</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Batteries&amp;diff=1343"/>
		<updated>2021-02-10T17:18:49Z</updated>

		<summary type="html">&lt;p&gt;Clanger9: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
There are a wide variety of battery chemistries available for use as the main traction battery of an EV. To use each chemistry safely, and to ensure an adequate service life from the battery pack it is important to understand the requirements for the chemistry you are using. Failure to do so may lead to premature or catastrophic failure of the pack.&lt;br /&gt;
&lt;br /&gt;
Good pack design will allow for a nominal amount of abuse. People make mistakes and the pack should allow a margin for safety - and for longevity!&lt;br /&gt;
&lt;br /&gt;
== Battery pack specification ==&lt;br /&gt;
When deciding on your battery pack, here are some basic parameters to consider:&lt;br /&gt;
&lt;br /&gt;
=== Capacity (kWh) ===&lt;br /&gt;
&#039;&#039;&#039;How far do you want to go?&#039;&#039;&#039; A standard  car conversion will need a kWh for each 3, maybe 4 miles of range (very approximately). For a middleweight motorcycle, a kWh should give around 9 miles. Your mileage may vary, &#039;&#039;as they say.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Voltage (V) ===&lt;br /&gt;
&#039;&#039;&#039;How fast do you want to go?&#039;&#039;&#039; The pack voltage defines the maximum speed your motor can spin. Motors are usually specified with &amp;quot;KV&amp;quot; - or RPM-per-volt. Check the KV of your motor and how fast it needs to spin to get your desired top speed. e.g. if you need 3,000 RPM from a 25 KV motor then your pack voltage needs to be  3,000 / 25 = 120 V. The exact number of cells in series you need depends on the cell design, but 3.8 V for Li-ion and 3.2 V for LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; is a reasonable guess.&lt;br /&gt;
&lt;br /&gt;
=== Maximum current (A) ===&lt;br /&gt;
&#039;&#039;&#039;How quickly do you want to accelerate?&#039;&#039;&#039; Your motor&#039;s maximum power will be specified in kW. To estimate your maximum current draw, divide the peak power by the battery voltage. e.g. a 30 kW motor with a 120 V battery pack will pull 30,000 / 120 = 250 A. The higher the current rating of the cells, the heavier they will be for a given capacity. Ideally, you want &amp;quot;enough&amp;quot; current capacity for full throttle acceleration, but no more. You can put cells in parallel to double the current rating of your pack (which of course will half the voltage). Running cells in parallel is easy, but don&#039;t attempt to parallel battery packs unless you really know what you are doing. It&#039;s [https://www.orionbms.com/manuals/pdf/parallel_strings.pdf complicated]. &lt;br /&gt;
&lt;br /&gt;
=== Mass (kg) ===&lt;br /&gt;
&#039;&#039;&#039;Can your vehicle carry the weight?&#039;&#039;&#039; You&#039;ll need to keep the kerb weight within the original design limits. For a car, your pack could be a few hundred kg. For a motorcycle, likely less than 100 kg. This is a huge variable - and each new generation of battery tech seems to be a little lighter. For older EV or hybrid batteries, you can reckon on approximately 10 kg/kWh. Nissan Leaf batteries are relatively light (7.5 kg/kWh). With the latest technology (e.g. Kokam pouch cells or 18650s), you can get this down to 5-6 kg/kWh.&lt;br /&gt;
&lt;br /&gt;
=== Volume (L) ===&lt;br /&gt;
&#039;&#039;&#039;Will it fit?&#039;&#039;&#039; Batteries are bulky. They are getting smaller, but finding enough space might be your biggest challenge. You could be looking at over 5 L/kWh for older EV or hybrid batteries. Current state-of-the-art is the Tesla Model 3, which gets this down to 2.5 L/kWh by using 2170 cylindrical cells.&lt;br /&gt;
&lt;br /&gt;
There is much, much more to battery design than this (e.g. maximum charge rate, terminations, cooling, clamping), but the above should help work out which options will or won&#039;t work for your project...&lt;br /&gt;
&lt;br /&gt;
== Cell chemistry ==&lt;br /&gt;
&lt;br /&gt;
=== Lithium Iron Phosphate (LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt;) ===&lt;br /&gt;
Lithium Iron Phosphate (also known as LFP, or LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt;) batteries offer a good compromise between safety, energy density and ease of use for DIY conversions. They are available in a number of formats, commonly pouch cells, prismatic cells and cylindrical cells.&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; pouch cells ====&lt;br /&gt;
The majority of this content is drawn from this thread: [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761&amp;amp;start=900 https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761] discussing the use of the A123 20Ah pouch cell. However, many of the general points apply equally to other similar pouch cells.&lt;br /&gt;
&lt;br /&gt;
===== General build requirements =====&lt;br /&gt;
Pouch cells are vulnerable to damage from debris, and must be held in compression (see the datasheet for your battery, but 10-12 psi is recommended for the A123 pouch cells as a guide). A rigid container capable of preventing damage and providing compression is therefore required. Be aware the cells expand and contract in use, so allowance for this must be included in the structure of the case.&lt;br /&gt;
&lt;br /&gt;
The pouch cells should be separated to prevent abrasion between cells, and also to avoid the development of hot spots. Prebuilt modules from A123 systems had thin foam sheets or heatsinks between each cell. Be sure to avoid any debris that could rub on the pouch surface, particularly if using recycled cells.&lt;br /&gt;
&lt;br /&gt;
Mylar, &#039;[https://www.americanmicroinc.com/fish-paper/ Fish paper]&#039; or a [https://www.rogerscorp.com/elastomeric-material-solutions/poron-industrial-polyurethanes compliant foam] may be appropriate materials to serve this purpose. This material should not be flammable. If the material is heat insulating, it is important to address thermal management.&lt;br /&gt;
&lt;br /&gt;
===== Compression =====&lt;br /&gt;
Compression is required to prevent premature failure of the cell. Without compression electrolyte will become unevenly distributed, causing current gradients in the cell and uneven heating. Local temperatures can become high enough to form gas formation leading to cells &#039;puffing up&#039; even when the pack is otherwise held within temperature and voltage constraints. This will be exacerbated in packs with otherwise poor thermal management. Compression forces gas generated to the margins of the cell, outside of the cell stack, minimising its effect cell performance. Gas in the middle cells will create a dead space which does not store or release energy.&lt;br /&gt;
&lt;br /&gt;
There is ~1% expansion through a discharge cycle. As the cell ages, the nominal cell thickness can grow by 3-5%. For A123 cells the ideal pressure is between 4 and 18psi with the ideal pressure being ~12psi. Maintaining 12psi can increase the life by 500 cycles over that of 4 or 18psi&lt;br /&gt;
&lt;br /&gt;
There is some suggestion that in uses where 1C is never exceeded compression &#039;&#039;may&#039;&#039; not be required.&lt;br /&gt;
&lt;br /&gt;
Highly rigid endplates with a mechanism to allow for a limited degree of expansion (e.g. steel bands) are considered an effective solution to this challenge.&lt;br /&gt;
&lt;br /&gt;
It should be noted that compression is a challenge specific to pouch cells. Cylindrical cells are designed to maintain their own compression within the cell&#039;s electrode stack by their design.&lt;br /&gt;
&lt;br /&gt;
This thread provides more information and experimentation relating to pack compression: &amp;lt;nowiki&amp;gt;https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=52244&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Pouch Cell Pack Design Examples =====&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;placeholder*&lt;br /&gt;
&lt;br /&gt;
===== Notes regarding recycled pouch cells =====&lt;br /&gt;
Pouch cells are somewhat fragile, and breaching the insulation is not difficult, especially in a cells removed from existing packs and repurposed. If the pouch has had their poly-layers compromised you may see a number of faults:&lt;br /&gt;
* Black spots around the perimeter of the cell indicate electrolyte leakage&lt;br /&gt;
* Voltage on the outside of the bag. Note that microvoltage between the pouch and the electrode is normal (and due to a capacitive effect).&lt;br /&gt;
While the majority of these cells should no longer be in the market, a significant number of faulty cells made it back into the &#039;greymarket&#039; in around 2013. These cells had misaligned tabs which can also lead to isolation failures between the tab and the pack. These cells should be avoided, particularly in high demand applications.&lt;br /&gt;
&lt;br /&gt;
===== Situations likely to cause pouch cell failure =====&lt;br /&gt;
&#039;&#039;Taken directly from [https://endless-sphere.com/forums/memberlist.php?mode=viewprofile&amp;amp;u=33107 wb9k]&#039;s post on endless sphere in the [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761 A123 thread]&#039;&#039;&lt;br /&gt;
# &#039;&#039;&#039;Overcharge&#039;&#039;&#039;. Any extended time above 3.8 Volts will generate enough heat and electrochemical activity to puff a cell, especially one that is improperly compressed.&lt;br /&gt;
# &#039;&#039;&#039;Overdischarge followed by charge&#039;&#039;&#039;. Any A123 cell that has been pulled low enough to come to rest at &amp;lt;300 mV should be immediately scrapped. The published number for that is 500 mV, but the real figure is closer to 300, so that&#039;s a &amp;quot;safety buffer&amp;quot; if you will. Below this Voltage, the Cu electrodes start to dissolve into the electrolyte. When charge is applied, the Cu forms dendrites that puncture the separator layer, forming an internal short in the cell. This can puff a cell in a hurry---the more charge current on tap, the worse it&#039;s prone to be.&lt;br /&gt;
# &#039;&#039;&#039;Driving a cell negative&#039;&#039;&#039;. I&#039;ve neglected to mention this before, but it is a possibility. I don&#039;t know much about the specific mechanism at this time.&lt;br /&gt;
# &#039;&#039;&#039;Malfunctioning or misinformed electronics&#039;&#039;&#039;. This is the most common cause of all of the above in my experience. At this stage of the game, it is critical for YOU to understand how your BMS functions on at least a cursory level. Choose your BMS very carefully and periodically verify that it is operating properly. They&#039;re not all created equal. Make sure V sense lines are securely connected and free of corrosion. Just because your BMS says there was never a problem doesn&#039;t necessarily make it so. Avoid harnesses or ribbon cables between multiple modules if possible--they are problematic wherever they are used in any mobile electronics.&lt;br /&gt;
# &#039;&#039;&#039;Exposure to or generation of sufficient heat&#039;&#039;&#039;. I don&#039;t know exactly at what temperature gas formation begins in the electrolyte, but we spec a max storage temp of 80 (or 85?) degrees C and I suspect this is the reason. The hotter, the puffier--to a point. This is why soldering tabs poses a real hazard to cell health. If you feel you must solder, sink or blow the heat away from the body of the cell. Use a big iron that can make sufficient local heat quickly, before the whole mass of the cell gets hot. You might even get the cell warm enough to melt separator if not careful.&lt;br /&gt;
# &#039;&#039;&#039;No compression, not enough compression, improperly distributed compression&#039;&#039;&#039;. This is a pack/module design issue. Apply 10, maybe 15 psi to your cell stack end to end and then band snugly and evenly. Use hard endplates of some sort--never wrap cells directly or allow their shape to become distorted. Protect all areas of the pouch from impact damage. This obviously does not apply to cylindrical cells.&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; prismatic cells ====&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;placeholder*&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; cylindrical cells ====&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;placeholder*&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; cell ageing ====&lt;br /&gt;
&#039;&#039;Derived (barely paraphrased) from [https://endless-sphere.com/forums/memberlist.php?mode=viewprofile&amp;amp;u=33107 wb9k]&#039;s post on endless sphere in the [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761 A123 thread]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Capacity loss is caused by the lithium that was available for storage becoming permanently plated on the cathode. Being unable to move within the cell it is no longer available to store energy. The impact of this plating is greater than the amount of lithium &#039;lost&#039; to plating because not only is the lithium no longer available, it is also preventing access to that part of the cathode meaning Li that can still move has to take a longer path to reach the cathode. Lithium plating is one cause of increased cell resistance (there are others), a sign of worsening cell health.&lt;br /&gt;
&lt;br /&gt;
There is no linear relationship between actual capacity loss and impedance rise. However some cell defects will also increase impedance.&lt;br /&gt;
&lt;br /&gt;
Increasing cell resistance may cause a number of symptoms which may be confused with [https://earthshipbiotecture.com/a-lithium-ion-battery-primer/ High Self Discharge.]&lt;br /&gt;
# Elevated Peukert Losses. As more energy per amount of current through the cell is lost as heat, the cells useable capacity decreases. So the apparent capacity loss is higher than the actual capacity loss of cycleable lithium. When used in low current applications (e.g. solar energy storage) the actual and apparent decrease in capacity will be small. In high current draw applications (like EV traction packs), the Peukert loss increases proportionally, so the apparent capacity loss increases much faster than the actual capacity loss.&lt;br /&gt;
# Greater voltage excursion under the same load. Due to increased cell resistancethe voltage will sag further under the same load than a cell in optimal condition. The inverse is also true, the voltage will be higher for the same amount of charging current applied. The cell will then rebound to a voltage further from the loaded and charging voltages. This, obviously, can look like high self discharge but is a different phenomenon.&lt;br /&gt;
# Absolute maximum current decrease.&lt;br /&gt;
Elevated impedance causes a more complex constellation of symptoms, some of which may be easy to confuse with High Self Discharge (HSD). Ohm&#039;s law (E=I/R) holds the key to understanding here.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1) Elevated Peukert losses.&#039;&#039;&#039; Because more energy per unit of current through the cell is lost as heat, less of the cell&#039;s capacity is actually USABLE. Thus, apparent capacity loss can be significantly greater than actual capacity loss caused by the loss of cycleable Li alone. In low current applications, the two numbers will be close together. In high current applications, Peukert losses increase in proportion, so apparent loss of capacity breaks further and further away from actual capacity loss as current increases.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2) Greater voltage excursion under the same load.&#039;&#039;&#039; Elevated resistance across the cell means that voltage will sag more under the same load than it did when the cell was healthier. Conversely, voltage will rise higher with the same amount of applied charge current than it did when it was healthier. At the same time, rebound/settling voltages will be further away from loaded/charging voltages. In other words, the cell will rebound to a voltage further away from loaded voltage, all else being equal. Similarly, voltage will settle farther from the charge voltage with the same charge applied. This can give the illusion of elevated self-discharge, but the phenomenon is actually not the same thing. Again, the greater the charge and load currents, the greater the effect becomes.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3) Absolute max current decreases.&#039;&#039;&#039; Because the cell&#039;s series resistance is elevated, the maximum possible current through the cell is decreased.&lt;br /&gt;
&lt;br /&gt;
Just to confuse things further, there can be many factors that lead to impedance rise. Some are related to Li plating, others are not.&lt;br /&gt;
&lt;br /&gt;
=== Lithium-ion ===&lt;br /&gt;
Lithium-ion (Li-ion) batteries have a greater energy density than Lithium Iron Phosphate batteries, but have more challenging needs to use safely. The ideal operating range of Li-ion batteries is between +15 and +45°C. The upper limit of temperature is particularly important as Li-ion batteries experience thermal runaway - an unstoppable chain reaction that can occur in milliseconds releasing the stored energy in the cell. This can produce temperatures of 400°C and a fire that is extremely difficult to put out. Thermal runaway can start as low as 60°C and becomes much more likely at 100°C&lt;br /&gt;
&lt;br /&gt;
Risk factors for thermal runaway:&lt;br /&gt;
* Short Circuits - either internally or externally&lt;br /&gt;
* Overcharging&lt;br /&gt;
* Excessive current draw or when charging&lt;br /&gt;
&lt;br /&gt;
==== Li-ion pouch cells ====&lt;br /&gt;
[https://kokam.com/cell Kokam] produce high-performance Li-ion pouch cells. These combine relative ease of use and pack construction with performance close to cylindrical cells. &lt;br /&gt;
&lt;br /&gt;
==== Li-ion 18650 and other cylindrical cells ====&lt;br /&gt;
Cylindrical cells are favoured by Tesla, and are probably the main reason why their cars achieve such excellent performance. They are light, compact, powerful and expensive. Unfortunately, cylindrical cells are  difficult (and potentially dangerous) to use in DIY conversions. There are two good reasons for this: thermal management and cell configuration.&lt;br /&gt;
&lt;br /&gt;
As stated above, Li-ion cells are prone to thermal runaway. So you need perfect battery and thermal management to ensure that no cell ever exceeds the critical voltage or temperature. If this happens, a cell can short-circuit internally, releasing a lot of energy - potentially explosively. Furthermore, the individual cells are small, so need to be arranged in parallel. In the case of the Tesla Model S 85kW pack, there are 74 cells in parallel. Imagine if one of those cells fails and becomes short circuited internally. You now have 73 very high power cells all feeding in to that short circuit...&lt;br /&gt;
&lt;br /&gt;
In fact, you don&#039;t have to imagine: you can watch this famous video instead (courtesy of Rich Rebuilds).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;youtube&amp;gt;WdDi1haA71Q&amp;lt;/youtube&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== OEM modules ==&lt;br /&gt;
Using an OEM module means a lot of the difficulties and safety issues associated with battery design are taken care of e.g. cooling, clamping, etc.&lt;br /&gt;
&lt;br /&gt;
Here is a handy list of OEM modules:&lt;br /&gt;
{| class=&amp;quot;wikitable sortable mw-collapsible&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!Manufacturer&lt;br /&gt;
!Model&lt;br /&gt;
!Capacity (kWh)&lt;br /&gt;
!Weight (kg)&lt;br /&gt;
!w (mm)&lt;br /&gt;
!d (mm)&lt;br /&gt;
!h (mm)&lt;br /&gt;
!Gravity (kg/kWh)&lt;br /&gt;
!Volume (L/kWh)&lt;br /&gt;
!Voltage (V)&lt;br /&gt;
!Current (cont A)&lt;br /&gt;
!Current (peak A)&lt;br /&gt;
!Cell arrangement&lt;br /&gt;
!Cell type&lt;br /&gt;
!Chemistry&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model S 85kWh&lt;br /&gt;
|5.3&lt;br /&gt;
|26&lt;br /&gt;
|690&lt;br /&gt;
|315&lt;br /&gt;
|80&lt;br /&gt;
|4.9&lt;br /&gt;
|3.3&lt;br /&gt;
|22.8&lt;br /&gt;
|500&lt;br /&gt;
|750&lt;br /&gt;
|74p6s&lt;br /&gt;
|18650&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model S 100kWh&lt;br /&gt;
|6.4&lt;br /&gt;
|28&lt;br /&gt;
|680&lt;br /&gt;
|315&lt;br /&gt;
|80&lt;br /&gt;
|4.4&lt;br /&gt;
|2.7&lt;br /&gt;
|22.8&lt;br /&gt;
|&lt;br /&gt;
|870&lt;br /&gt;
|86p6s&lt;br /&gt;
|18650&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model 3 LR (inner)&lt;br /&gt;
|19.2&lt;br /&gt;
|98.9&lt;br /&gt;
|1854&lt;br /&gt;
|292&lt;br /&gt;
|90&lt;br /&gt;
|5.2&lt;br /&gt;
|2.5&lt;br /&gt;
|91.1&lt;br /&gt;
|&lt;br /&gt;
|971&lt;br /&gt;
|46p25s&lt;br /&gt;
|2170&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model 3 LR (outer)&lt;br /&gt;
|17.7&lt;br /&gt;
|86.6&lt;br /&gt;
|1715&lt;br /&gt;
|292&lt;br /&gt;
|90&lt;br /&gt;
|4.9&lt;br /&gt;
|2.5&lt;br /&gt;
|83.9&lt;br /&gt;
|&lt;br /&gt;
|971&lt;br /&gt;
|46p23s&lt;br /&gt;
|2170&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model 3 SR (inner)&lt;br /&gt;
|13.0&lt;br /&gt;
|&lt;br /&gt;
|1854&lt;br /&gt;
|292&lt;br /&gt;
|90&lt;br /&gt;
|&lt;br /&gt;
|3.7&lt;br /&gt;
|91.1&lt;br /&gt;
|&lt;br /&gt;
|603&lt;br /&gt;
|31p25s&lt;br /&gt;
|2170&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model 3 SR (outer)&lt;br /&gt;
|12.0&lt;br /&gt;
|&lt;br /&gt;
|1715&lt;br /&gt;
|292&lt;br /&gt;
|90&lt;br /&gt;
|&lt;br /&gt;
|3.8&lt;br /&gt;
|83.9&lt;br /&gt;
|&lt;br /&gt;
|603&lt;br /&gt;
|31p23s&lt;br /&gt;
|2170&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Calb&lt;br /&gt;
|4S3P&lt;br /&gt;
|2.19&lt;br /&gt;
|12&lt;br /&gt;
|355&lt;br /&gt;
|151&lt;br /&gt;
|108&lt;br /&gt;
|5.5&lt;br /&gt;
|2.6&lt;br /&gt;
|14.6&lt;br /&gt;
|&lt;br /&gt;
|900&lt;br /&gt;
|3p4s&lt;br /&gt;
|Pouch&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Calb&lt;br /&gt;
|6S2P&lt;br /&gt;
|2.19&lt;br /&gt;
|12&lt;br /&gt;
|355&lt;br /&gt;
|151&lt;br /&gt;
|108&lt;br /&gt;
|5.5&lt;br /&gt;
|2.6&lt;br /&gt;
|22.2&lt;br /&gt;
|&lt;br /&gt;
|600&lt;br /&gt;
|2p6s&lt;br /&gt;
|Pouch&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Chevrolet&lt;br /&gt;
|Volt 2012&lt;br /&gt;
|4&lt;br /&gt;
|38&lt;br /&gt;
|470&lt;br /&gt;
|180&lt;br /&gt;
|280&lt;br /&gt;
|9.5&lt;br /&gt;
|5.9&lt;br /&gt;
|88.8&lt;br /&gt;
|&lt;br /&gt;
|676&lt;br /&gt;
|3p24s&lt;br /&gt;
|Pouch&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|BMW&lt;br /&gt;
|i3 60Ah&lt;br /&gt;
|2&lt;br /&gt;
|13&lt;br /&gt;
|368&lt;br /&gt;
|178&lt;br /&gt;
|102&lt;br /&gt;
|6.5&lt;br /&gt;
|3.3&lt;br /&gt;
|28.8&lt;br /&gt;
|210&lt;br /&gt;
|350&lt;br /&gt;
|2p8s&lt;br /&gt;
|Prismatic&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|BMW&lt;br /&gt;
|i3 94Ah&lt;br /&gt;
|4.15&lt;br /&gt;
|28&lt;br /&gt;
|410&lt;br /&gt;
|310&lt;br /&gt;
|150&lt;br /&gt;
|6.7&lt;br /&gt;
|4.6&lt;br /&gt;
|45.6&lt;br /&gt;
|&lt;br /&gt;
|409&lt;br /&gt;
|12s&lt;br /&gt;
|Prismatic&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|BMW&lt;br /&gt;
|i3 120Ah&lt;br /&gt;
|5.3&lt;br /&gt;
|28&lt;br /&gt;
|410&lt;br /&gt;
|310&lt;br /&gt;
|150&lt;br /&gt;
|5.3&lt;br /&gt;
|3.6&lt;br /&gt;
|45.6&lt;br /&gt;
|&lt;br /&gt;
|360&lt;br /&gt;
|12s&lt;br /&gt;
|Prismatic&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Jaguar&lt;br /&gt;
|iPace&lt;br /&gt;
|2.5&lt;br /&gt;
|12&lt;br /&gt;
|340&lt;br /&gt;
|155&lt;br /&gt;
|112&lt;br /&gt;
|4.8&lt;br /&gt;
|2.4&lt;br /&gt;
|10.8&lt;br /&gt;
|720&lt;br /&gt;
|1200&lt;br /&gt;
|4p3s&lt;br /&gt;
|Pouch&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|LG&lt;br /&gt;
|4P3S&lt;br /&gt;
|2.6&lt;br /&gt;
|12.8&lt;br /&gt;
|357&lt;br /&gt;
|151&lt;br /&gt;
|110&lt;br /&gt;
|4.9&lt;br /&gt;
|2.3&lt;br /&gt;
|11&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|4p3s&lt;br /&gt;
|Pouch&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Mitsubishi&lt;br /&gt;
|Outlander&lt;br /&gt;
|2.4&lt;br /&gt;
|26&lt;br /&gt;
|646&lt;br /&gt;
|184&lt;br /&gt;
|130&lt;br /&gt;
|10.8&lt;br /&gt;
|6.4&lt;br /&gt;
|60&lt;br /&gt;
|&lt;br /&gt;
|240&lt;br /&gt;
|16s&lt;br /&gt;
|&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Nissan&lt;br /&gt;
|Leaf 24kWh&lt;br /&gt;
|0.5&lt;br /&gt;
|3.65&lt;br /&gt;
|300&lt;br /&gt;
|222&lt;br /&gt;
|34&lt;br /&gt;
|7.3&lt;br /&gt;
|4.5&lt;br /&gt;
|7.2&lt;br /&gt;
|130&lt;br /&gt;
|228&lt;br /&gt;
|2p2s&lt;br /&gt;
|Pouch&lt;br /&gt;
|Li-ion LMO&lt;br /&gt;
|-&lt;br /&gt;
|Nissan&lt;br /&gt;
|Leaf 30kWh&lt;br /&gt;
|1.25&lt;br /&gt;
|&lt;br /&gt;
|300&lt;br /&gt;
|222&lt;br /&gt;
|34&lt;br /&gt;
|&lt;br /&gt;
|3.6&lt;br /&gt;
|14.4&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|2p4s&lt;br /&gt;
|Pouch&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Nissan&lt;br /&gt;
|Leaf 40kWh&lt;br /&gt;
|1.6&lt;br /&gt;
|8.7&lt;br /&gt;
|300&lt;br /&gt;
|222&lt;br /&gt;
|68&lt;br /&gt;
|5.4&lt;br /&gt;
|2.8&lt;br /&gt;
|14.4&lt;br /&gt;
|&lt;br /&gt;
|314&lt;br /&gt;
|2p4s&lt;br /&gt;
|Pouch&lt;br /&gt;
|Li-ion NMC&lt;br /&gt;
|-&lt;br /&gt;
|Nissan&lt;br /&gt;
|Leaf 62kWh&lt;br /&gt;
|2.58&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|14.4&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|3p4s&lt;br /&gt;
|&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Volvo&lt;br /&gt;
|XC90 T8&lt;br /&gt;
|2.01&lt;br /&gt;
|12.1&lt;br /&gt;
|300&lt;br /&gt;
|180&lt;br /&gt;
|150&lt;br /&gt;
|6.0&lt;br /&gt;
|4.0&lt;br /&gt;
|59.2&lt;br /&gt;
|170&lt;br /&gt;
|340&lt;br /&gt;
|16s&lt;br /&gt;
|&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|VW&lt;br /&gt;
|[[VW Hybrid Battery Packs|Passet GTE]]&lt;br /&gt;
|&lt;br /&gt;
|23.4&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|24s&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|VW&lt;br /&gt;
|[[VW Hybrid Battery Packs|Golf GTE]]&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Clanger9</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Batteries&amp;diff=1342</id>
		<title>Batteries</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Batteries&amp;diff=1342"/>
		<updated>2021-02-10T17:17:57Z</updated>

		<summary type="html">&lt;p&gt;Clanger9: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
There are a wide variety of battery chemistries available for use as the main traction battery of an EV. To use each chemistry safely, and to ensure an adequate service life from the battery pack it is important to understand the requirements for the chemistry you are using. Failure to do so may lead to premature or catastrophic failure of the pack.&lt;br /&gt;
&lt;br /&gt;
Good pack design will allow for a nominal amount of abuse. People make mistakes and the pack should allow a margin for safety - and for longevity!&lt;br /&gt;
&lt;br /&gt;
== Battery pack specification ==&lt;br /&gt;
When deciding on your battery pack, here are some basic parameters to consider:&lt;br /&gt;
&lt;br /&gt;
=== Capacity (kWh) ===&lt;br /&gt;
&#039;&#039;&#039;How far do you want to go?&#039;&#039;&#039; A standard  car conversion will need a kWh for each 3, maybe 4 miles of range (very approximately). For a middleweight motorcycle, a kWh should give around 9 miles. Your mileage may vary, &#039;&#039;as they say.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Voltage (V) ===&lt;br /&gt;
&#039;&#039;&#039;How fast do you want to go?&#039;&#039;&#039; The pack voltage defines the maximum speed your motor can spin. Motors are usually specified with &amp;quot;KV&amp;quot; - or RPM-per-volt. Check the KV of your motor and how fast it needs to spin to get your desired top speed. e.g. if you need 3,000 RPM from a 25 KV motor then your pack voltage needs to be  3,000 / 25 = 120 V. The exact number of cells in series you need depends on the cell design, but 3.8 V for Li-ion and 3.2 V for LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; is a reasonable guess.&lt;br /&gt;
&lt;br /&gt;
=== Maximum current (A) ===&lt;br /&gt;
&#039;&#039;&#039;How quickly do you want to accelerate?&#039;&#039;&#039; Your motor&#039;s maximum power will be specified in kW. To estimate your maximum current draw, divide the peak power by the battery voltage. e.g. a 30 kW motor with a 120 V battery pack will pull 30,000 / 120 = 250 A. The higher the current rating of the cells, the heavier they will be for a given capacity. Ideally, you want &amp;quot;enough&amp;quot; current capacity for full throttle acceleration, but no more. You can put cells in parallel to double the current rating of your pack (which of course will half the voltage). Running cells in parallel is easy, but don&#039;t attempt to parallel battery packs unless you really know what you are doing. It&#039;s [https://www.orionbms.com/manuals/pdf/parallel_strings.pdf complicated]. &lt;br /&gt;
&lt;br /&gt;
=== Mass (kg) ===&lt;br /&gt;
&#039;&#039;&#039;Can your vehicle carry the weight?&#039;&#039;&#039; You&#039;ll need to keep the kerb weight within the original design limits. For a car, this could be a few hundred kg. For a motorcycle, likely less than 100 kg. This is a huge variable - and each new generation of battery tech seems to be a little lighter. For older EV or hybrid batteries, you can reckon on approximately 10 kg/kWh. Nissan Leaf batteries are relatively light (7.5 kg/kWh). With the latest technology (e.g. Kokam pouch cells or 18650s), you can get this down to 5-6 kg/kWh.&lt;br /&gt;
&lt;br /&gt;
=== Volume (L) ===&lt;br /&gt;
&#039;&#039;&#039;Will it fit?&#039;&#039;&#039; Batteries are bulky. They are getting smaller, but finding enough space might be your biggest challenge. You could be looking at over 5 L/kWh for older EV or hybrid batteries. Current state-of-the-art is the Tesla Model 3, which gets this down to 2.5 L/kWh by using 2170 cylindrical cells.&lt;br /&gt;
&lt;br /&gt;
There is much, much more to battery design than this (e.g. maximum charge rate, terminations, cooling, clamping), but the above should help work out which options will or won&#039;t work for your project...&lt;br /&gt;
&lt;br /&gt;
== Cell chemistry ==&lt;br /&gt;
&lt;br /&gt;
=== Lithium Iron Phosphate (LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt;) ===&lt;br /&gt;
Lithium Iron Phosphate (also known as LFP, or LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt;) batteries offer a good compromise between safety, energy density and ease of use for DIY conversions. They are available in a number of formats, commonly pouch cells, prismatic cells and cylindrical cells.&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; pouch cells ====&lt;br /&gt;
The majority of this content is drawn from this thread: [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761&amp;amp;start=900 https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761] discussing the use of the A123 20Ah pouch cell. However, many of the general points apply equally to other similar pouch cells.&lt;br /&gt;
&lt;br /&gt;
===== General build requirements =====&lt;br /&gt;
Pouch cells are vulnerable to damage from debris, and must be held in compression (see the datasheet for your battery, but 10-12 psi is recommended for the A123 pouch cells as a guide). A rigid container capable of preventing damage and providing compression is therefore required. Be aware the cells expand and contract in use, so allowance for this must be included in the structure of the case.&lt;br /&gt;
&lt;br /&gt;
The pouch cells should be separated to prevent abrasion between cells, and also to avoid the development of hot spots. Prebuilt modules from A123 systems had thin foam sheets or heatsinks between each cell. Be sure to avoid any debris that could rub on the pouch surface, particularly if using recycled cells.&lt;br /&gt;
&lt;br /&gt;
Mylar, &#039;[https://www.americanmicroinc.com/fish-paper/ Fish paper]&#039; or a [https://www.rogerscorp.com/elastomeric-material-solutions/poron-industrial-polyurethanes compliant foam] may be appropriate materials to serve this purpose. This material should not be flammable. If the material is heat insulating, it is important to address thermal management.&lt;br /&gt;
&lt;br /&gt;
===== Compression =====&lt;br /&gt;
Compression is required to prevent premature failure of the cell. Without compression electrolyte will become unevenly distributed, causing current gradients in the cell and uneven heating. Local temperatures can become high enough to form gas formation leading to cells &#039;puffing up&#039; even when the pack is otherwise held within temperature and voltage constraints. This will be exacerbated in packs with otherwise poor thermal management. Compression forces gas generated to the margins of the cell, outside of the cell stack, minimising its effect cell performance. Gas in the middle cells will create a dead space which does not store or release energy.&lt;br /&gt;
&lt;br /&gt;
There is ~1% expansion through a discharge cycle. As the cell ages, the nominal cell thickness can grow by 3-5%. For A123 cells the ideal pressure is between 4 and 18psi with the ideal pressure being ~12psi. Maintaining 12psi can increase the life by 500 cycles over that of 4 or 18psi&lt;br /&gt;
&lt;br /&gt;
There is some suggestion that in uses where 1C is never exceeded compression &#039;&#039;may&#039;&#039; not be required.&lt;br /&gt;
&lt;br /&gt;
Highly rigid endplates with a mechanism to allow for a limited degree of expansion (e.g. steel bands) are considered an effective solution to this challenge.&lt;br /&gt;
&lt;br /&gt;
It should be noted that compression is a challenge specific to pouch cells. Cylindrical cells are designed to maintain their own compression within the cell&#039;s electrode stack by their design.&lt;br /&gt;
&lt;br /&gt;
This thread provides more information and experimentation relating to pack compression: &amp;lt;nowiki&amp;gt;https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=52244&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Pouch Cell Pack Design Examples =====&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;placeholder*&lt;br /&gt;
&lt;br /&gt;
===== Notes regarding recycled pouch cells =====&lt;br /&gt;
Pouch cells are somewhat fragile, and breaching the insulation is not difficult, especially in a cells removed from existing packs and repurposed. If the pouch has had their poly-layers compromised you may see a number of faults:&lt;br /&gt;
* Black spots around the perimeter of the cell indicate electrolyte leakage&lt;br /&gt;
* Voltage on the outside of the bag. Note that microvoltage between the pouch and the electrode is normal (and due to a capacitive effect).&lt;br /&gt;
While the majority of these cells should no longer be in the market, a significant number of faulty cells made it back into the &#039;greymarket&#039; in around 2013. These cells had misaligned tabs which can also lead to isolation failures between the tab and the pack. These cells should be avoided, particularly in high demand applications.&lt;br /&gt;
&lt;br /&gt;
===== Situations likely to cause pouch cell failure =====&lt;br /&gt;
&#039;&#039;Taken directly from [https://endless-sphere.com/forums/memberlist.php?mode=viewprofile&amp;amp;u=33107 wb9k]&#039;s post on endless sphere in the [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761 A123 thread]&#039;&#039;&lt;br /&gt;
# &#039;&#039;&#039;Overcharge&#039;&#039;&#039;. Any extended time above 3.8 Volts will generate enough heat and electrochemical activity to puff a cell, especially one that is improperly compressed.&lt;br /&gt;
# &#039;&#039;&#039;Overdischarge followed by charge&#039;&#039;&#039;. Any A123 cell that has been pulled low enough to come to rest at &amp;lt;300 mV should be immediately scrapped. The published number for that is 500 mV, but the real figure is closer to 300, so that&#039;s a &amp;quot;safety buffer&amp;quot; if you will. Below this Voltage, the Cu electrodes start to dissolve into the electrolyte. When charge is applied, the Cu forms dendrites that puncture the separator layer, forming an internal short in the cell. This can puff a cell in a hurry---the more charge current on tap, the worse it&#039;s prone to be.&lt;br /&gt;
# &#039;&#039;&#039;Driving a cell negative&#039;&#039;&#039;. I&#039;ve neglected to mention this before, but it is a possibility. I don&#039;t know much about the specific mechanism at this time.&lt;br /&gt;
# &#039;&#039;&#039;Malfunctioning or misinformed electronics&#039;&#039;&#039;. This is the most common cause of all of the above in my experience. At this stage of the game, it is critical for YOU to understand how your BMS functions on at least a cursory level. Choose your BMS very carefully and periodically verify that it is operating properly. They&#039;re not all created equal. Make sure V sense lines are securely connected and free of corrosion. Just because your BMS says there was never a problem doesn&#039;t necessarily make it so. Avoid harnesses or ribbon cables between multiple modules if possible--they are problematic wherever they are used in any mobile electronics.&lt;br /&gt;
# &#039;&#039;&#039;Exposure to or generation of sufficient heat&#039;&#039;&#039;. I don&#039;t know exactly at what temperature gas formation begins in the electrolyte, but we spec a max storage temp of 80 (or 85?) degrees C and I suspect this is the reason. The hotter, the puffier--to a point. This is why soldering tabs poses a real hazard to cell health. If you feel you must solder, sink or blow the heat away from the body of the cell. Use a big iron that can make sufficient local heat quickly, before the whole mass of the cell gets hot. You might even get the cell warm enough to melt separator if not careful.&lt;br /&gt;
# &#039;&#039;&#039;No compression, not enough compression, improperly distributed compression&#039;&#039;&#039;. This is a pack/module design issue. Apply 10, maybe 15 psi to your cell stack end to end and then band snugly and evenly. Use hard endplates of some sort--never wrap cells directly or allow their shape to become distorted. Protect all areas of the pouch from impact damage. This obviously does not apply to cylindrical cells.&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; prismatic cells ====&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;placeholder*&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; cylindrical cells ====&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;placeholder*&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; cell ageing ====&lt;br /&gt;
&#039;&#039;Derived (barely paraphrased) from [https://endless-sphere.com/forums/memberlist.php?mode=viewprofile&amp;amp;u=33107 wb9k]&#039;s post on endless sphere in the [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761 A123 thread]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Capacity loss is caused by the lithium that was available for storage becoming permanently plated on the cathode. Being unable to move within the cell it is no longer available to store energy. The impact of this plating is greater than the amount of lithium &#039;lost&#039; to plating because not only is the lithium no longer available, it is also preventing access to that part of the cathode meaning Li that can still move has to take a longer path to reach the cathode. Lithium plating is one cause of increased cell resistance (there are others), a sign of worsening cell health.&lt;br /&gt;
&lt;br /&gt;
There is no linear relationship between actual capacity loss and impedance rise. However some cell defects will also increase impedance.&lt;br /&gt;
&lt;br /&gt;
Increasing cell resistance may cause a number of symptoms which may be confused with [https://earthshipbiotecture.com/a-lithium-ion-battery-primer/ High Self Discharge.]&lt;br /&gt;
# Elevated Peukert Losses. As more energy per amount of current through the cell is lost as heat, the cells useable capacity decreases. So the apparent capacity loss is higher than the actual capacity loss of cycleable lithium. When used in low current applications (e.g. solar energy storage) the actual and apparent decrease in capacity will be small. In high current draw applications (like EV traction packs), the Peukert loss increases proportionally, so the apparent capacity loss increases much faster than the actual capacity loss.&lt;br /&gt;
# Greater voltage excursion under the same load. Due to increased cell resistancethe voltage will sag further under the same load than a cell in optimal condition. The inverse is also true, the voltage will be higher for the same amount of charging current applied. The cell will then rebound to a voltage further from the loaded and charging voltages. This, obviously, can look like high self discharge but is a different phenomenon.&lt;br /&gt;
# Absolute maximum current decrease.&lt;br /&gt;
Elevated impedance causes a more complex constellation of symptoms, some of which may be easy to confuse with High Self Discharge (HSD). Ohm&#039;s law (E=I/R) holds the key to understanding here.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1) Elevated Peukert losses.&#039;&#039;&#039; Because more energy per unit of current through the cell is lost as heat, less of the cell&#039;s capacity is actually USABLE. Thus, apparent capacity loss can be significantly greater than actual capacity loss caused by the loss of cycleable Li alone. In low current applications, the two numbers will be close together. In high current applications, Peukert losses increase in proportion, so apparent loss of capacity breaks further and further away from actual capacity loss as current increases.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2) Greater voltage excursion under the same load.&#039;&#039;&#039; Elevated resistance across the cell means that voltage will sag more under the same load than it did when the cell was healthier. Conversely, voltage will rise higher with the same amount of applied charge current than it did when it was healthier. At the same time, rebound/settling voltages will be further away from loaded/charging voltages. In other words, the cell will rebound to a voltage further away from loaded voltage, all else being equal. Similarly, voltage will settle farther from the charge voltage with the same charge applied. This can give the illusion of elevated self-discharge, but the phenomenon is actually not the same thing. Again, the greater the charge and load currents, the greater the effect becomes.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3) Absolute max current decreases.&#039;&#039;&#039; Because the cell&#039;s series resistance is elevated, the maximum possible current through the cell is decreased.&lt;br /&gt;
&lt;br /&gt;
Just to confuse things further, there can be many factors that lead to impedance rise. Some are related to Li plating, others are not.&lt;br /&gt;
&lt;br /&gt;
=== Lithium-ion ===&lt;br /&gt;
Lithium-ion (Li-ion) batteries have a greater energy density than Lithium Iron Phosphate batteries, but have more challenging needs to use safely. The ideal operating range of Li-ion batteries is between +15 and +45°C. The upper limit of temperature is particularly important as Li-ion batteries experience thermal runaway - an unstoppable chain reaction that can occur in milliseconds releasing the stored energy in the cell. This can produce temperatures of 400°C and a fire that is extremely difficult to put out. Thermal runaway can start as low as 60°C and becomes much more likely at 100°C&lt;br /&gt;
&lt;br /&gt;
Risk factors for thermal runaway:&lt;br /&gt;
* Short Circuits - either internally or externally&lt;br /&gt;
* Overcharging&lt;br /&gt;
* Excessive current draw or when charging&lt;br /&gt;
&lt;br /&gt;
==== Li-ion pouch cells ====&lt;br /&gt;
[https://kokam.com/cell Kokam] produce high-performance Li-ion pouch cells. These combine relative ease of use and pack construction with performance close to cylindrical cells. &lt;br /&gt;
&lt;br /&gt;
==== Li-ion 18650 and other cylindrical cells ====&lt;br /&gt;
Cylindrical cells are favoured by Tesla, and are probably the main reason why their cars achieve such excellent performance. They are light, compact, powerful and expensive. Unfortunately, cylindrical cells are  difficult (and potentially dangerous) to use in DIY conversions. There are two good reasons for this: thermal management and cell configuration.&lt;br /&gt;
&lt;br /&gt;
As stated above, Li-ion cells are prone to thermal runaway. So you need perfect battery and thermal management to ensure that no cell ever exceeds the critical voltage or temperature. If this happens, a cell can short-circuit internally, releasing a lot of energy - potentially explosively. Furthermore, the individual cells are small, so need to be arranged in parallel. In the case of the Tesla Model S 85kW pack, there are 74 cells in parallel. Imagine if one of those cells fails and becomes short circuited internally. You now have 73 very high power cells all feeding in to that short circuit...&lt;br /&gt;
&lt;br /&gt;
In fact, you don&#039;t have to imagine: you can watch this famous video instead (courtesy of Rich Rebuilds).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;youtube&amp;gt;WdDi1haA71Q&amp;lt;/youtube&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== OEM modules ==&lt;br /&gt;
Using an OEM module means a lot of the difficulties and safety issues associated with battery design are taken care of e.g. cooling, clamping, etc.&lt;br /&gt;
&lt;br /&gt;
Here is a handy list of OEM modules:&lt;br /&gt;
{| class=&amp;quot;wikitable sortable mw-collapsible&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!Manufacturer&lt;br /&gt;
!Model&lt;br /&gt;
!Capacity (kWh)&lt;br /&gt;
!Weight (kg)&lt;br /&gt;
!w (mm)&lt;br /&gt;
!d (mm)&lt;br /&gt;
!h (mm)&lt;br /&gt;
!Gravity (kg/kWh)&lt;br /&gt;
!Volume (L/kWh)&lt;br /&gt;
!Voltage (V)&lt;br /&gt;
!Current (cont A)&lt;br /&gt;
!Current (peak A)&lt;br /&gt;
!Cell arrangement&lt;br /&gt;
!Cell type&lt;br /&gt;
!Chemistry&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model S 85kWh&lt;br /&gt;
|5.3&lt;br /&gt;
|26&lt;br /&gt;
|690&lt;br /&gt;
|315&lt;br /&gt;
|80&lt;br /&gt;
|4.9&lt;br /&gt;
|3.3&lt;br /&gt;
|22.8&lt;br /&gt;
|500&lt;br /&gt;
|750&lt;br /&gt;
|74p6s&lt;br /&gt;
|18650&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model S 100kWh&lt;br /&gt;
|6.4&lt;br /&gt;
|28&lt;br /&gt;
|680&lt;br /&gt;
|315&lt;br /&gt;
|80&lt;br /&gt;
|4.4&lt;br /&gt;
|2.7&lt;br /&gt;
|22.8&lt;br /&gt;
|&lt;br /&gt;
|870&lt;br /&gt;
|86p6s&lt;br /&gt;
|18650&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model 3 LR (inner)&lt;br /&gt;
|19.2&lt;br /&gt;
|98.9&lt;br /&gt;
|1854&lt;br /&gt;
|292&lt;br /&gt;
|90&lt;br /&gt;
|5.2&lt;br /&gt;
|2.5&lt;br /&gt;
|91.1&lt;br /&gt;
|&lt;br /&gt;
|971&lt;br /&gt;
|46p25s&lt;br /&gt;
|2170&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model 3 LR (outer)&lt;br /&gt;
|17.7&lt;br /&gt;
|86.6&lt;br /&gt;
|1715&lt;br /&gt;
|292&lt;br /&gt;
|90&lt;br /&gt;
|4.9&lt;br /&gt;
|2.5&lt;br /&gt;
|83.9&lt;br /&gt;
|&lt;br /&gt;
|971&lt;br /&gt;
|46p23s&lt;br /&gt;
|2170&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model 3 SR (inner)&lt;br /&gt;
|13.0&lt;br /&gt;
|&lt;br /&gt;
|1854&lt;br /&gt;
|292&lt;br /&gt;
|90&lt;br /&gt;
|&lt;br /&gt;
|3.7&lt;br /&gt;
|91.1&lt;br /&gt;
|&lt;br /&gt;
|603&lt;br /&gt;
|31p25s&lt;br /&gt;
|2170&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model 3 SR (outer)&lt;br /&gt;
|12.0&lt;br /&gt;
|&lt;br /&gt;
|1715&lt;br /&gt;
|292&lt;br /&gt;
|90&lt;br /&gt;
|&lt;br /&gt;
|3.8&lt;br /&gt;
|83.9&lt;br /&gt;
|&lt;br /&gt;
|603&lt;br /&gt;
|31p23s&lt;br /&gt;
|2170&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Calb&lt;br /&gt;
|4S3P&lt;br /&gt;
|2.19&lt;br /&gt;
|12&lt;br /&gt;
|355&lt;br /&gt;
|151&lt;br /&gt;
|108&lt;br /&gt;
|5.5&lt;br /&gt;
|2.6&lt;br /&gt;
|14.6&lt;br /&gt;
|&lt;br /&gt;
|900&lt;br /&gt;
|3p4s&lt;br /&gt;
|Pouch&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Calb&lt;br /&gt;
|6S2P&lt;br /&gt;
|2.19&lt;br /&gt;
|12&lt;br /&gt;
|355&lt;br /&gt;
|151&lt;br /&gt;
|108&lt;br /&gt;
|5.5&lt;br /&gt;
|2.6&lt;br /&gt;
|22.2&lt;br /&gt;
|&lt;br /&gt;
|600&lt;br /&gt;
|2p6s&lt;br /&gt;
|Pouch&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Chevrolet&lt;br /&gt;
|Volt 2012&lt;br /&gt;
|4&lt;br /&gt;
|38&lt;br /&gt;
|470&lt;br /&gt;
|180&lt;br /&gt;
|280&lt;br /&gt;
|9.5&lt;br /&gt;
|5.9&lt;br /&gt;
|88.8&lt;br /&gt;
|&lt;br /&gt;
|676&lt;br /&gt;
|3p24s&lt;br /&gt;
|Pouch&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|BMW&lt;br /&gt;
|i3 60Ah&lt;br /&gt;
|2&lt;br /&gt;
|13&lt;br /&gt;
|368&lt;br /&gt;
|178&lt;br /&gt;
|102&lt;br /&gt;
|6.5&lt;br /&gt;
|3.3&lt;br /&gt;
|28.8&lt;br /&gt;
|210&lt;br /&gt;
|350&lt;br /&gt;
|2p8s&lt;br /&gt;
|Prismatic&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|BMW&lt;br /&gt;
|i3 94Ah&lt;br /&gt;
|4.15&lt;br /&gt;
|28&lt;br /&gt;
|410&lt;br /&gt;
|310&lt;br /&gt;
|150&lt;br /&gt;
|6.7&lt;br /&gt;
|4.6&lt;br /&gt;
|45.6&lt;br /&gt;
|&lt;br /&gt;
|409&lt;br /&gt;
|12s&lt;br /&gt;
|Prismatic&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|BMW&lt;br /&gt;
|i3 120Ah&lt;br /&gt;
|5.3&lt;br /&gt;
|28&lt;br /&gt;
|410&lt;br /&gt;
|310&lt;br /&gt;
|150&lt;br /&gt;
|5.3&lt;br /&gt;
|3.6&lt;br /&gt;
|45.6&lt;br /&gt;
|&lt;br /&gt;
|360&lt;br /&gt;
|12s&lt;br /&gt;
|Prismatic&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Jaguar&lt;br /&gt;
|iPace&lt;br /&gt;
|2.5&lt;br /&gt;
|12&lt;br /&gt;
|340&lt;br /&gt;
|155&lt;br /&gt;
|112&lt;br /&gt;
|4.8&lt;br /&gt;
|2.4&lt;br /&gt;
|10.8&lt;br /&gt;
|720&lt;br /&gt;
|1200&lt;br /&gt;
|4p3s&lt;br /&gt;
|Pouch&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|LG&lt;br /&gt;
|4P3S&lt;br /&gt;
|2.6&lt;br /&gt;
|12.8&lt;br /&gt;
|357&lt;br /&gt;
|151&lt;br /&gt;
|110&lt;br /&gt;
|4.9&lt;br /&gt;
|2.3&lt;br /&gt;
|11&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|4p3s&lt;br /&gt;
|Pouch&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Mitsubishi&lt;br /&gt;
|Outlander&lt;br /&gt;
|2.4&lt;br /&gt;
|26&lt;br /&gt;
|646&lt;br /&gt;
|184&lt;br /&gt;
|130&lt;br /&gt;
|10.8&lt;br /&gt;
|6.4&lt;br /&gt;
|60&lt;br /&gt;
|&lt;br /&gt;
|240&lt;br /&gt;
|16s&lt;br /&gt;
|&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Nissan&lt;br /&gt;
|Leaf 24kWh&lt;br /&gt;
|0.5&lt;br /&gt;
|3.65&lt;br /&gt;
|300&lt;br /&gt;
|222&lt;br /&gt;
|34&lt;br /&gt;
|7.3&lt;br /&gt;
|4.5&lt;br /&gt;
|7.2&lt;br /&gt;
|130&lt;br /&gt;
|228&lt;br /&gt;
|2p2s&lt;br /&gt;
|Pouch&lt;br /&gt;
|Li-ion LMO&lt;br /&gt;
|-&lt;br /&gt;
|Nissan&lt;br /&gt;
|Leaf 30kWh&lt;br /&gt;
|1.25&lt;br /&gt;
|&lt;br /&gt;
|300&lt;br /&gt;
|222&lt;br /&gt;
|34&lt;br /&gt;
|&lt;br /&gt;
|3.6&lt;br /&gt;
|14.4&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|2p4s&lt;br /&gt;
|Pouch&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Nissan&lt;br /&gt;
|Leaf 40kWh&lt;br /&gt;
|1.6&lt;br /&gt;
|8.7&lt;br /&gt;
|300&lt;br /&gt;
|222&lt;br /&gt;
|68&lt;br /&gt;
|5.4&lt;br /&gt;
|2.8&lt;br /&gt;
|14.4&lt;br /&gt;
|&lt;br /&gt;
|314&lt;br /&gt;
|2p4s&lt;br /&gt;
|Pouch&lt;br /&gt;
|Li-ion NMC&lt;br /&gt;
|-&lt;br /&gt;
|Nissan&lt;br /&gt;
|Leaf 62kWh&lt;br /&gt;
|2.58&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|14.4&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|3p4s&lt;br /&gt;
|&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Volvo&lt;br /&gt;
|XC90 T8&lt;br /&gt;
|2.01&lt;br /&gt;
|12.1&lt;br /&gt;
|300&lt;br /&gt;
|180&lt;br /&gt;
|150&lt;br /&gt;
|6.0&lt;br /&gt;
|4.0&lt;br /&gt;
|59.2&lt;br /&gt;
|170&lt;br /&gt;
|340&lt;br /&gt;
|16s&lt;br /&gt;
|&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|VW&lt;br /&gt;
|[[VW Hybrid Battery Packs|Passet GTE]]&lt;br /&gt;
|&lt;br /&gt;
|23.4&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|24s&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|VW&lt;br /&gt;
|[[VW Hybrid Battery Packs|Golf GTE]]&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Clanger9</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Batteries&amp;diff=1341</id>
		<title>Batteries</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Batteries&amp;diff=1341"/>
		<updated>2021-02-10T17:17:26Z</updated>

		<summary type="html">&lt;p&gt;Clanger9: /* Maximum current (A) */ Add link to Orion BMS guide for parallel packs&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
There are a wide variety of battery chemistries available for use as the main traction battery of an EV. To use each chemistry safely, and to ensure an adequate service life from the battery pack it is important to understand the requirements for the chemistry you are using. Failure to do so may lead to premature or catastrophic failure of the pack.&lt;br /&gt;
&lt;br /&gt;
Good pack design will allow for a nominal amount of abuse. People make mistakes and the pack should allow a margin for safety - and for longevity!&lt;br /&gt;
&lt;br /&gt;
== Battery pack specification ==&lt;br /&gt;
When deciding on your battery pack, here are some basic parameters to consider:&lt;br /&gt;
&lt;br /&gt;
=== Capacity (kWh) ===&lt;br /&gt;
&#039;&#039;&#039;How far do you want to go?&#039;&#039;&#039; A standard  car conversion will need a kWh for each 3, maybe 4 miles of range (very approximately). For a middleweight motorcycle, a kWh should give around 9 miles. Your mileage may vary, &#039;&#039;as they say.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Voltage (V) ===&lt;br /&gt;
&#039;&#039;&#039;How fast do you want to go?&#039;&#039;&#039; The pack voltage defines the maximum speed your motor can spin. Motors are usually specified with &amp;quot;KV&amp;quot; - or RPM-per-volt. Check the KV of your motor and how fast it needs to spin to get your desired top speed. e.g. if you need 3,000 RPM from a 25 KV motor then your pack voltage needs to be  3,000 / 25 = 120 V. The exact number of cells in series you need depends on the cell design, but 3.8 V for Li-ion and 3.2 V for LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; is a reasonable guess.&lt;br /&gt;
&lt;br /&gt;
=== Maximum current (A) ===&lt;br /&gt;
&#039;&#039;&#039;How quickly do you want to accelerate?&#039;&#039;&#039; Your motor&#039;s maximum power will be specified in kW. To estimate your maximum current draw, divide the peak power by the battery voltage. e.g. a 30 kW motor with a 120 V battery pack will pull 30,000 / 120 = 250 A. The higher the current rating of the cells, the heavier they will be for a given capacity. Ideally, you want &amp;quot;enough&amp;quot; current capacity for full throttle acceleration, but no more. You can put cells in parallel to double the current rating of your pack (which of course will half the voltage). Running cells in parallel is easy, but don&#039;t attempt to parallel battery packs, unless you really know what you are doing. It&#039;s [https://www.orionbms.com/manuals/pdf/parallel_strings.pdf complicated]. &lt;br /&gt;
&lt;br /&gt;
=== Mass (kg) ===&lt;br /&gt;
&#039;&#039;&#039;Can your vehicle carry the weight?&#039;&#039;&#039; You&#039;ll need to keep the kerb weight within the original design limits. For a car, this could be a few hundred kg. For a motorcycle, likely less than 100 kg. This is a huge variable - and each new generation of battery tech seems to be a little lighter. For older EV or hybrid batteries, you can reckon on approximately 10 kg/kWh. Nissan Leaf batteries are relatively light (7.5 kg/kWh). With the latest technology (e.g. Kokam pouch cells or 18650s), you can get this down to 5-6 kg/kWh.&lt;br /&gt;
&lt;br /&gt;
=== Volume (L) ===&lt;br /&gt;
&#039;&#039;&#039;Will it fit?&#039;&#039;&#039; Batteries are bulky. They are getting smaller, but finding enough space might be your biggest challenge. You could be looking at over 5 L/kWh for older EV or hybrid batteries. Current state-of-the-art is the Tesla Model 3, which gets this down to 2.5 L/kWh by using 2170 cylindrical cells.&lt;br /&gt;
&lt;br /&gt;
There is much, much more to battery design than this (e.g. maximum charge rate, terminations, cooling, clamping), but the above should help work out which options will or won&#039;t work for your project...&lt;br /&gt;
&lt;br /&gt;
== Cell chemistry ==&lt;br /&gt;
&lt;br /&gt;
=== Lithium Iron Phosphate (LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt;) ===&lt;br /&gt;
Lithium Iron Phosphate (also known as LFP, or LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt;) batteries offer a good compromise between safety, energy density and ease of use for DIY conversions. They are available in a number of formats, commonly pouch cells, prismatic cells and cylindrical cells.&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; pouch cells ====&lt;br /&gt;
The majority of this content is drawn from this thread: [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761&amp;amp;start=900 https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761] discussing the use of the A123 20Ah pouch cell. However, many of the general points apply equally to other similar pouch cells.&lt;br /&gt;
&lt;br /&gt;
===== General build requirements =====&lt;br /&gt;
Pouch cells are vulnerable to damage from debris, and must be held in compression (see the datasheet for your battery, but 10-12 psi is recommended for the A123 pouch cells as a guide). A rigid container capable of preventing damage and providing compression is therefore required. Be aware the cells expand and contract in use, so allowance for this must be included in the structure of the case.&lt;br /&gt;
&lt;br /&gt;
The pouch cells should be separated to prevent abrasion between cells, and also to avoid the development of hot spots. Prebuilt modules from A123 systems had thin foam sheets or heatsinks between each cell. Be sure to avoid any debris that could rub on the pouch surface, particularly if using recycled cells.&lt;br /&gt;
&lt;br /&gt;
Mylar, &#039;[https://www.americanmicroinc.com/fish-paper/ Fish paper]&#039; or a [https://www.rogerscorp.com/elastomeric-material-solutions/poron-industrial-polyurethanes compliant foam] may be appropriate materials to serve this purpose. This material should not be flammable. If the material is heat insulating, it is important to address thermal management.&lt;br /&gt;
&lt;br /&gt;
===== Compression =====&lt;br /&gt;
Compression is required to prevent premature failure of the cell. Without compression electrolyte will become unevenly distributed, causing current gradients in the cell and uneven heating. Local temperatures can become high enough to form gas formation leading to cells &#039;puffing up&#039; even when the pack is otherwise held within temperature and voltage constraints. This will be exacerbated in packs with otherwise poor thermal management. Compression forces gas generated to the margins of the cell, outside of the cell stack, minimising its effect cell performance. Gas in the middle cells will create a dead space which does not store or release energy.&lt;br /&gt;
&lt;br /&gt;
There is ~1% expansion through a discharge cycle. As the cell ages, the nominal cell thickness can grow by 3-5%. For A123 cells the ideal pressure is between 4 and 18psi with the ideal pressure being ~12psi. Maintaining 12psi can increase the life by 500 cycles over that of 4 or 18psi&lt;br /&gt;
&lt;br /&gt;
There is some suggestion that in uses where 1C is never exceeded compression &#039;&#039;may&#039;&#039; not be required.&lt;br /&gt;
&lt;br /&gt;
Highly rigid endplates with a mechanism to allow for a limited degree of expansion (e.g. steel bands) are considered an effective solution to this challenge.&lt;br /&gt;
&lt;br /&gt;
It should be noted that compression is a challenge specific to pouch cells. Cylindrical cells are designed to maintain their own compression within the cell&#039;s electrode stack by their design.&lt;br /&gt;
&lt;br /&gt;
This thread provides more information and experimentation relating to pack compression: &amp;lt;nowiki&amp;gt;https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=52244&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Pouch Cell Pack Design Examples =====&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;placeholder*&lt;br /&gt;
&lt;br /&gt;
===== Notes regarding recycled pouch cells =====&lt;br /&gt;
Pouch cells are somewhat fragile, and breaching the insulation is not difficult, especially in a cells removed from existing packs and repurposed. If the pouch has had their poly-layers compromised you may see a number of faults:&lt;br /&gt;
* Black spots around the perimeter of the cell indicate electrolyte leakage&lt;br /&gt;
* Voltage on the outside of the bag. Note that microvoltage between the pouch and the electrode is normal (and due to a capacitive effect).&lt;br /&gt;
While the majority of these cells should no longer be in the market, a significant number of faulty cells made it back into the &#039;greymarket&#039; in around 2013. These cells had misaligned tabs which can also lead to isolation failures between the tab and the pack. These cells should be avoided, particularly in high demand applications.&lt;br /&gt;
&lt;br /&gt;
===== Situations likely to cause pouch cell failure =====&lt;br /&gt;
&#039;&#039;Taken directly from [https://endless-sphere.com/forums/memberlist.php?mode=viewprofile&amp;amp;u=33107 wb9k]&#039;s post on endless sphere in the [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761 A123 thread]&#039;&#039;&lt;br /&gt;
# &#039;&#039;&#039;Overcharge&#039;&#039;&#039;. Any extended time above 3.8 Volts will generate enough heat and electrochemical activity to puff a cell, especially one that is improperly compressed.&lt;br /&gt;
# &#039;&#039;&#039;Overdischarge followed by charge&#039;&#039;&#039;. Any A123 cell that has been pulled low enough to come to rest at &amp;lt;300 mV should be immediately scrapped. The published number for that is 500 mV, but the real figure is closer to 300, so that&#039;s a &amp;quot;safety buffer&amp;quot; if you will. Below this Voltage, the Cu electrodes start to dissolve into the electrolyte. When charge is applied, the Cu forms dendrites that puncture the separator layer, forming an internal short in the cell. This can puff a cell in a hurry---the more charge current on tap, the worse it&#039;s prone to be.&lt;br /&gt;
# &#039;&#039;&#039;Driving a cell negative&#039;&#039;&#039;. I&#039;ve neglected to mention this before, but it is a possibility. I don&#039;t know much about the specific mechanism at this time.&lt;br /&gt;
# &#039;&#039;&#039;Malfunctioning or misinformed electronics&#039;&#039;&#039;. This is the most common cause of all of the above in my experience. At this stage of the game, it is critical for YOU to understand how your BMS functions on at least a cursory level. Choose your BMS very carefully and periodically verify that it is operating properly. They&#039;re not all created equal. Make sure V sense lines are securely connected and free of corrosion. Just because your BMS says there was never a problem doesn&#039;t necessarily make it so. Avoid harnesses or ribbon cables between multiple modules if possible--they are problematic wherever they are used in any mobile electronics.&lt;br /&gt;
# &#039;&#039;&#039;Exposure to or generation of sufficient heat&#039;&#039;&#039;. I don&#039;t know exactly at what temperature gas formation begins in the electrolyte, but we spec a max storage temp of 80 (or 85?) degrees C and I suspect this is the reason. The hotter, the puffier--to a point. This is why soldering tabs poses a real hazard to cell health. If you feel you must solder, sink or blow the heat away from the body of the cell. Use a big iron that can make sufficient local heat quickly, before the whole mass of the cell gets hot. You might even get the cell warm enough to melt separator if not careful.&lt;br /&gt;
# &#039;&#039;&#039;No compression, not enough compression, improperly distributed compression&#039;&#039;&#039;. This is a pack/module design issue. Apply 10, maybe 15 psi to your cell stack end to end and then band snugly and evenly. Use hard endplates of some sort--never wrap cells directly or allow their shape to become distorted. Protect all areas of the pouch from impact damage. This obviously does not apply to cylindrical cells.&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; prismatic cells ====&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;placeholder*&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; cylindrical cells ====&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;placeholder*&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; cell ageing ====&lt;br /&gt;
&#039;&#039;Derived (barely paraphrased) from [https://endless-sphere.com/forums/memberlist.php?mode=viewprofile&amp;amp;u=33107 wb9k]&#039;s post on endless sphere in the [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761 A123 thread]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Capacity loss is caused by the lithium that was available for storage becoming permanently plated on the cathode. Being unable to move within the cell it is no longer available to store energy. The impact of this plating is greater than the amount of lithium &#039;lost&#039; to plating because not only is the lithium no longer available, it is also preventing access to that part of the cathode meaning Li that can still move has to take a longer path to reach the cathode. Lithium plating is one cause of increased cell resistance (there are others), a sign of worsening cell health.&lt;br /&gt;
&lt;br /&gt;
There is no linear relationship between actual capacity loss and impedance rise. However some cell defects will also increase impedance.&lt;br /&gt;
&lt;br /&gt;
Increasing cell resistance may cause a number of symptoms which may be confused with [https://earthshipbiotecture.com/a-lithium-ion-battery-primer/ High Self Discharge.]&lt;br /&gt;
# Elevated Peukert Losses. As more energy per amount of current through the cell is lost as heat, the cells useable capacity decreases. So the apparent capacity loss is higher than the actual capacity loss of cycleable lithium. When used in low current applications (e.g. solar energy storage) the actual and apparent decrease in capacity will be small. In high current draw applications (like EV traction packs), the Peukert loss increases proportionally, so the apparent capacity loss increases much faster than the actual capacity loss.&lt;br /&gt;
# Greater voltage excursion under the same load. Due to increased cell resistancethe voltage will sag further under the same load than a cell in optimal condition. The inverse is also true, the voltage will be higher for the same amount of charging current applied. The cell will then rebound to a voltage further from the loaded and charging voltages. This, obviously, can look like high self discharge but is a different phenomenon.&lt;br /&gt;
# Absolute maximum current decrease.&lt;br /&gt;
Elevated impedance causes a more complex constellation of symptoms, some of which may be easy to confuse with High Self Discharge (HSD). Ohm&#039;s law (E=I/R) holds the key to understanding here.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1) Elevated Peukert losses.&#039;&#039;&#039; Because more energy per unit of current through the cell is lost as heat, less of the cell&#039;s capacity is actually USABLE. Thus, apparent capacity loss can be significantly greater than actual capacity loss caused by the loss of cycleable Li alone. In low current applications, the two numbers will be close together. In high current applications, Peukert losses increase in proportion, so apparent loss of capacity breaks further and further away from actual capacity loss as current increases.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2) Greater voltage excursion under the same load.&#039;&#039;&#039; Elevated resistance across the cell means that voltage will sag more under the same load than it did when the cell was healthier. Conversely, voltage will rise higher with the same amount of applied charge current than it did when it was healthier. At the same time, rebound/settling voltages will be further away from loaded/charging voltages. In other words, the cell will rebound to a voltage further away from loaded voltage, all else being equal. Similarly, voltage will settle farther from the charge voltage with the same charge applied. This can give the illusion of elevated self-discharge, but the phenomenon is actually not the same thing. Again, the greater the charge and load currents, the greater the effect becomes.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3) Absolute max current decreases.&#039;&#039;&#039; Because the cell&#039;s series resistance is elevated, the maximum possible current through the cell is decreased.&lt;br /&gt;
&lt;br /&gt;
Just to confuse things further, there can be many factors that lead to impedance rise. Some are related to Li plating, others are not.&lt;br /&gt;
&lt;br /&gt;
=== Lithium-ion ===&lt;br /&gt;
Lithium-ion (Li-ion) batteries have a greater energy density than Lithium Iron Phosphate batteries, but have more challenging needs to use safely. The ideal operating range of Li-ion batteries is between +15 and +45°C. The upper limit of temperature is particularly important as Li-ion batteries experience thermal runaway - an unstoppable chain reaction that can occur in milliseconds releasing the stored energy in the cell. This can produce temperatures of 400°C and a fire that is extremely difficult to put out. Thermal runaway can start as low as 60°C and becomes much more likely at 100°C&lt;br /&gt;
&lt;br /&gt;
Risk factors for thermal runaway:&lt;br /&gt;
* Short Circuits - either internally or externally&lt;br /&gt;
* Overcharging&lt;br /&gt;
* Excessive current draw or when charging&lt;br /&gt;
&lt;br /&gt;
==== Li-ion pouch cells ====&lt;br /&gt;
[https://kokam.com/cell Kokam] produce high-performance Li-ion pouch cells. These combine relative ease of use and pack construction with performance close to cylindrical cells. &lt;br /&gt;
&lt;br /&gt;
==== Li-ion 18650 and other cylindrical cells ====&lt;br /&gt;
Cylindrical cells are favoured by Tesla, and are probably the main reason why their cars achieve such excellent performance. They are light, compact, powerful and expensive. Unfortunately, cylindrical cells are  difficult (and potentially dangerous) to use in DIY conversions. There are two good reasons for this: thermal management and cell configuration.&lt;br /&gt;
&lt;br /&gt;
As stated above, Li-ion cells are prone to thermal runaway. So you need perfect battery and thermal management to ensure that no cell ever exceeds the critical voltage or temperature. If this happens, a cell can short-circuit internally, releasing a lot of energy - potentially explosively. Furthermore, the individual cells are small, so need to be arranged in parallel. In the case of the Tesla Model S 85kW pack, there are 74 cells in parallel. Imagine if one of those cells fails and becomes short circuited internally. You now have 73 very high power cells all feeding in to that short circuit...&lt;br /&gt;
&lt;br /&gt;
In fact, you don&#039;t have to imagine: you can watch this famous video instead (courtesy of Rich Rebuilds).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;youtube&amp;gt;WdDi1haA71Q&amp;lt;/youtube&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== OEM modules ==&lt;br /&gt;
Using an OEM module means a lot of the difficulties and safety issues associated with battery design are taken care of e.g. cooling, clamping, etc.&lt;br /&gt;
&lt;br /&gt;
Here is a handy list of OEM modules:&lt;br /&gt;
{| class=&amp;quot;wikitable sortable mw-collapsible&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!Manufacturer&lt;br /&gt;
!Model&lt;br /&gt;
!Capacity (kWh)&lt;br /&gt;
!Weight (kg)&lt;br /&gt;
!w (mm)&lt;br /&gt;
!d (mm)&lt;br /&gt;
!h (mm)&lt;br /&gt;
!Gravity (kg/kWh)&lt;br /&gt;
!Volume (L/kWh)&lt;br /&gt;
!Voltage (V)&lt;br /&gt;
!Current (cont A)&lt;br /&gt;
!Current (peak A)&lt;br /&gt;
!Cell arrangement&lt;br /&gt;
!Cell type&lt;br /&gt;
!Chemistry&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model S 85kWh&lt;br /&gt;
|5.3&lt;br /&gt;
|26&lt;br /&gt;
|690&lt;br /&gt;
|315&lt;br /&gt;
|80&lt;br /&gt;
|4.9&lt;br /&gt;
|3.3&lt;br /&gt;
|22.8&lt;br /&gt;
|500&lt;br /&gt;
|750&lt;br /&gt;
|74p6s&lt;br /&gt;
|18650&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model S 100kWh&lt;br /&gt;
|6.4&lt;br /&gt;
|28&lt;br /&gt;
|680&lt;br /&gt;
|315&lt;br /&gt;
|80&lt;br /&gt;
|4.4&lt;br /&gt;
|2.7&lt;br /&gt;
|22.8&lt;br /&gt;
|&lt;br /&gt;
|870&lt;br /&gt;
|86p6s&lt;br /&gt;
|18650&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model 3 LR (inner)&lt;br /&gt;
|19.2&lt;br /&gt;
|98.9&lt;br /&gt;
|1854&lt;br /&gt;
|292&lt;br /&gt;
|90&lt;br /&gt;
|5.2&lt;br /&gt;
|2.5&lt;br /&gt;
|91.1&lt;br /&gt;
|&lt;br /&gt;
|971&lt;br /&gt;
|46p25s&lt;br /&gt;
|2170&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model 3 LR (outer)&lt;br /&gt;
|17.7&lt;br /&gt;
|86.6&lt;br /&gt;
|1715&lt;br /&gt;
|292&lt;br /&gt;
|90&lt;br /&gt;
|4.9&lt;br /&gt;
|2.5&lt;br /&gt;
|83.9&lt;br /&gt;
|&lt;br /&gt;
|971&lt;br /&gt;
|46p23s&lt;br /&gt;
|2170&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model 3 SR (inner)&lt;br /&gt;
|13.0&lt;br /&gt;
|&lt;br /&gt;
|1854&lt;br /&gt;
|292&lt;br /&gt;
|90&lt;br /&gt;
|&lt;br /&gt;
|3.7&lt;br /&gt;
|91.1&lt;br /&gt;
|&lt;br /&gt;
|603&lt;br /&gt;
|31p25s&lt;br /&gt;
|2170&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model 3 SR (outer)&lt;br /&gt;
|12.0&lt;br /&gt;
|&lt;br /&gt;
|1715&lt;br /&gt;
|292&lt;br /&gt;
|90&lt;br /&gt;
|&lt;br /&gt;
|3.8&lt;br /&gt;
|83.9&lt;br /&gt;
|&lt;br /&gt;
|603&lt;br /&gt;
|31p23s&lt;br /&gt;
|2170&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Calb&lt;br /&gt;
|4S3P&lt;br /&gt;
|2.19&lt;br /&gt;
|12&lt;br /&gt;
|355&lt;br /&gt;
|151&lt;br /&gt;
|108&lt;br /&gt;
|5.5&lt;br /&gt;
|2.6&lt;br /&gt;
|14.6&lt;br /&gt;
|&lt;br /&gt;
|900&lt;br /&gt;
|3p4s&lt;br /&gt;
|Pouch&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Calb&lt;br /&gt;
|6S2P&lt;br /&gt;
|2.19&lt;br /&gt;
|12&lt;br /&gt;
|355&lt;br /&gt;
|151&lt;br /&gt;
|108&lt;br /&gt;
|5.5&lt;br /&gt;
|2.6&lt;br /&gt;
|22.2&lt;br /&gt;
|&lt;br /&gt;
|600&lt;br /&gt;
|2p6s&lt;br /&gt;
|Pouch&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Chevrolet&lt;br /&gt;
|Volt 2012&lt;br /&gt;
|4&lt;br /&gt;
|38&lt;br /&gt;
|470&lt;br /&gt;
|180&lt;br /&gt;
|280&lt;br /&gt;
|9.5&lt;br /&gt;
|5.9&lt;br /&gt;
|88.8&lt;br /&gt;
|&lt;br /&gt;
|676&lt;br /&gt;
|3p24s&lt;br /&gt;
|Pouch&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|BMW&lt;br /&gt;
|i3 60Ah&lt;br /&gt;
|2&lt;br /&gt;
|13&lt;br /&gt;
|368&lt;br /&gt;
|178&lt;br /&gt;
|102&lt;br /&gt;
|6.5&lt;br /&gt;
|3.3&lt;br /&gt;
|28.8&lt;br /&gt;
|210&lt;br /&gt;
|350&lt;br /&gt;
|2p8s&lt;br /&gt;
|Prismatic&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|BMW&lt;br /&gt;
|i3 94Ah&lt;br /&gt;
|4.15&lt;br /&gt;
|28&lt;br /&gt;
|410&lt;br /&gt;
|310&lt;br /&gt;
|150&lt;br /&gt;
|6.7&lt;br /&gt;
|4.6&lt;br /&gt;
|45.6&lt;br /&gt;
|&lt;br /&gt;
|409&lt;br /&gt;
|12s&lt;br /&gt;
|Prismatic&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|BMW&lt;br /&gt;
|i3 120Ah&lt;br /&gt;
|5.3&lt;br /&gt;
|28&lt;br /&gt;
|410&lt;br /&gt;
|310&lt;br /&gt;
|150&lt;br /&gt;
|5.3&lt;br /&gt;
|3.6&lt;br /&gt;
|45.6&lt;br /&gt;
|&lt;br /&gt;
|360&lt;br /&gt;
|12s&lt;br /&gt;
|Prismatic&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Jaguar&lt;br /&gt;
|iPace&lt;br /&gt;
|2.5&lt;br /&gt;
|12&lt;br /&gt;
|340&lt;br /&gt;
|155&lt;br /&gt;
|112&lt;br /&gt;
|4.8&lt;br /&gt;
|2.4&lt;br /&gt;
|10.8&lt;br /&gt;
|720&lt;br /&gt;
|1200&lt;br /&gt;
|4p3s&lt;br /&gt;
|Pouch&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|LG&lt;br /&gt;
|4P3S&lt;br /&gt;
|2.6&lt;br /&gt;
|12.8&lt;br /&gt;
|357&lt;br /&gt;
|151&lt;br /&gt;
|110&lt;br /&gt;
|4.9&lt;br /&gt;
|2.3&lt;br /&gt;
|11&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|4p3s&lt;br /&gt;
|Pouch&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Mitsubishi&lt;br /&gt;
|Outlander&lt;br /&gt;
|2.4&lt;br /&gt;
|26&lt;br /&gt;
|646&lt;br /&gt;
|184&lt;br /&gt;
|130&lt;br /&gt;
|10.8&lt;br /&gt;
|6.4&lt;br /&gt;
|60&lt;br /&gt;
|&lt;br /&gt;
|240&lt;br /&gt;
|16s&lt;br /&gt;
|&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Nissan&lt;br /&gt;
|Leaf 24kWh&lt;br /&gt;
|0.5&lt;br /&gt;
|3.65&lt;br /&gt;
|300&lt;br /&gt;
|222&lt;br /&gt;
|34&lt;br /&gt;
|7.3&lt;br /&gt;
|4.5&lt;br /&gt;
|7.2&lt;br /&gt;
|130&lt;br /&gt;
|228&lt;br /&gt;
|2p2s&lt;br /&gt;
|Pouch&lt;br /&gt;
|Li-ion LMO&lt;br /&gt;
|-&lt;br /&gt;
|Nissan&lt;br /&gt;
|Leaf 30kWh&lt;br /&gt;
|1.25&lt;br /&gt;
|&lt;br /&gt;
|300&lt;br /&gt;
|222&lt;br /&gt;
|34&lt;br /&gt;
|&lt;br /&gt;
|3.6&lt;br /&gt;
|14.4&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|2p4s&lt;br /&gt;
|Pouch&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Nissan&lt;br /&gt;
|Leaf 40kWh&lt;br /&gt;
|1.6&lt;br /&gt;
|8.7&lt;br /&gt;
|300&lt;br /&gt;
|222&lt;br /&gt;
|68&lt;br /&gt;
|5.4&lt;br /&gt;
|2.8&lt;br /&gt;
|14.4&lt;br /&gt;
|&lt;br /&gt;
|314&lt;br /&gt;
|2p4s&lt;br /&gt;
|Pouch&lt;br /&gt;
|Li-ion NMC&lt;br /&gt;
|-&lt;br /&gt;
|Nissan&lt;br /&gt;
|Leaf 62kWh&lt;br /&gt;
|2.58&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|14.4&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|3p4s&lt;br /&gt;
|&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Volvo&lt;br /&gt;
|XC90 T8&lt;br /&gt;
|2.01&lt;br /&gt;
|12.1&lt;br /&gt;
|300&lt;br /&gt;
|180&lt;br /&gt;
|150&lt;br /&gt;
|6.0&lt;br /&gt;
|4.0&lt;br /&gt;
|59.2&lt;br /&gt;
|170&lt;br /&gt;
|340&lt;br /&gt;
|16s&lt;br /&gt;
|&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|VW&lt;br /&gt;
|[[VW Hybrid Battery Packs|Passet GTE]]&lt;br /&gt;
|&lt;br /&gt;
|23.4&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|24s&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|VW&lt;br /&gt;
|[[VW Hybrid Battery Packs|Golf GTE]]&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Clanger9</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Batteries&amp;diff=1302</id>
		<title>Batteries</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Batteries&amp;diff=1302"/>
		<updated>2021-01-19T21:39:58Z</updated>

		<summary type="html">&lt;p&gt;Clanger9: /* OEM modules */ Correct Chevy Volt specs&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
There are a wide variety of battery chemistries available for use as the main traction battery of an EV. To use each chemistry safely, and to ensure an adequate service life from the battery pack it is important to understand the requirements for the chemistry you are using. Failure to do so may lead to premature or catastrophic failure of the pack.&lt;br /&gt;
&lt;br /&gt;
Good pack design will allow for a nominal amount of abuse. People make mistakes and the pack should allow a margin for safety - and for longevity!&lt;br /&gt;
&lt;br /&gt;
== Battery pack specification ==&lt;br /&gt;
When deciding on your battery pack, here are some basic parameters to consider:&lt;br /&gt;
&lt;br /&gt;
=== Capacity (kWh) ===&lt;br /&gt;
&#039;&#039;&#039;How far do you want to go?&#039;&#039;&#039; A standard  car conversion will need a kWh for each 3, maybe 4 miles of range (very approximately). For a middleweight motorcycle, a kWh should give around 9 miles. Your mileage may vary, &#039;&#039;as they say.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Voltage (V) ===&lt;br /&gt;
&#039;&#039;&#039;How fast do you want to go?&#039;&#039;&#039; The pack voltage defines the maximum speed your motor can spin. Motors are usually specified with &amp;quot;KV&amp;quot; - or RPM-per-volt. Check the KV of your motor and how fast it needs to spin to get your desired top speed. e.g. if you need 3,000 RPM from a 25 KV motor then your pack voltage needs to be  3,000 / 25 = 120 V. The exact number of cells in series you need depends on the cell design, but 3.8 V for Li-ion and 3.2 V for LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; is a reasonable guess.&lt;br /&gt;
&lt;br /&gt;
=== Maximum current (A) ===&lt;br /&gt;
&#039;&#039;&#039;How quickly do you want to accelerate?&#039;&#039;&#039; Your motor&#039;s maximum power will be specified in kW. To estimate your maximum current draw, divide the peak power by the battery voltage. e.g. a 30 kW motor with a 120 V battery pack will pull 30,000 / 120 = 250 A. The higher the current rating of the cells, the heavier they will be for a given capacity. Ideally, you want &amp;quot;enough&amp;quot; current capacity for full throttle acceleration, but no more. You can put cells in parallel to double the current rating of your pack (which of course will half the voltage). &lt;br /&gt;
&lt;br /&gt;
=== Mass (kg) ===&lt;br /&gt;
&#039;&#039;&#039;Can your vehicle carry the weight?&#039;&#039;&#039; You&#039;ll need to keep the kerb weight within the original design limits. For a car, this could be a few hundred kg. For a motorcycle, likely less than 100 kg. This is a huge variable - and each new generation of battery tech seems to be a little lighter. For older EV or hybrid batteries, you can reckon on approximately 10 kg/kWh. Nissan Leaf batteries are relatively light (7.5 kg/kWh). With the latest technology (e.g. Kokam pouch cells or 18650s), you can get this down to 5-6 kg/kWh.&lt;br /&gt;
&lt;br /&gt;
=== Volume (L) ===&lt;br /&gt;
&#039;&#039;&#039;Will it fit?&#039;&#039;&#039; Batteries are bulky. They are getting smaller, but finding enough space might be your biggest challenge. You could be looking at over 5 L/kWh for older EV or hybrid batteries. Current state-of-the-art is the Tesla Model 3, which gets this down to 2.5 L/kWh by using 2170 cylindrical cells.&lt;br /&gt;
&lt;br /&gt;
There is much, much more to battery design than this (e.g. maximum charge rate, terminations, cooling, clamping), but the above should help work out which options will or won&#039;t work for your project...&lt;br /&gt;
&lt;br /&gt;
== Cell chemistry ==&lt;br /&gt;
&lt;br /&gt;
=== Lithium Iron Phosphate (LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt;) ===&lt;br /&gt;
Lithium Iron Phosphate (also known as LFP, or LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt;) batteries offer a good compromise between safety, energy density and ease of use for DIY conversions. They are available in a number of formats, commonly pouch cells, prismatic cells and cylindrical cells.&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; pouch cells ====&lt;br /&gt;
The majority of this content is drawn from this thread: [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761&amp;amp;start=900 https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761] discussing the use of the A123 20Ah pouch cell. However, many of the general points apply equally to other similar pouch cells.&lt;br /&gt;
&lt;br /&gt;
===== General build requirements =====&lt;br /&gt;
Pouch cells are vulnerable to damage from debris, and must be held in compression (see the datasheet for your battery, but 10-12 psi is recommended for the A123 pouch cells as a guide). A rigid container capable of preventing damage and providing compression is therefore required. Be aware the cells expand and contract in use, so allowance for this must be included in the structure of the case.&lt;br /&gt;
&lt;br /&gt;
The pouch cells should be separated to prevent abrasion between cells, and also to avoid the development of hot spots. Prebuilt modules from A123 systems had thin foam sheets or heatsinks between each cell. Be sure to avoid any debris that could rub on the pouch surface, particularly if using recycled cells.&lt;br /&gt;
&lt;br /&gt;
Mylar, &#039;[https://www.americanmicroinc.com/fish-paper/ Fish paper]&#039; or a [https://www.rogerscorp.com/elastomeric-material-solutions/poron-industrial-polyurethanes compliant foam] may be appropriate materials to serve this purpose. This material should not be flammable. If the material is heat insulating, it is important to address thermal management.&lt;br /&gt;
&lt;br /&gt;
===== Compression =====&lt;br /&gt;
Compression is required to prevent premature failure of the cell. Without compression electrolyte will become unevenly distributed, causing current gradients in the cell and uneven heating. Local temperatures can become high enough to form gas formation leading to cells &#039;puffing up&#039; even when the pack is otherwise held within temperature and voltage constraints. This will be exacerbated in packs with otherwise poor thermal management. Compression forces gas generated to the margins of the cell, outside of the cell stack, minimising its effect cell performance. Gas in the middle cells will create a dead space which does not store or release energy.&lt;br /&gt;
&lt;br /&gt;
There is ~1% expansion through a discharge cycle. As the cell ages, the nominal cell thickness can grow by 3-5%. For A123 cells the ideal pressure is between 4 and 18psi with the ideal pressure being ~12psi. Maintaining 12psi can increase the life by 500 cycles over that of 4 or 18psi&lt;br /&gt;
&lt;br /&gt;
There is some suggestion that in uses where 1C is never exceeded compression &#039;&#039;may&#039;&#039; not be required.&lt;br /&gt;
&lt;br /&gt;
Highly rigid endplates with a mechanism to allow for a limited degree of expansion (e.g. steel bands) are considered an effective solution to this challenge.&lt;br /&gt;
&lt;br /&gt;
It should be noted that compression is a challenge specific to pouch cells. Cylindrical cells are designed to maintain their own compression within the cell&#039;s electrode stack by their design.&lt;br /&gt;
&lt;br /&gt;
This thread provides more information and experimentation relating to pack compression: &amp;lt;nowiki&amp;gt;https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=52244&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Pouch Cell Pack Design Examples =====&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;placeholder*&lt;br /&gt;
&lt;br /&gt;
===== Notes regarding recycled pouch cells =====&lt;br /&gt;
Pouch cells are somewhat fragile, and breaching the insulation is not difficult, especially in a cells removed from existing packs and repurposed. If the pouch has had their poly-layers compromised you may see a number of faults:&lt;br /&gt;
* Black spots around the perimeter of the cell indicate electrolyte leakage&lt;br /&gt;
* Voltage on the outside of the bag. Note that microvoltage between the pouch and the electrode is normal (and due to a capacitive effect).&lt;br /&gt;
While the majority of these cells should no longer be in the market, a significant number of faulty cells made it back into the &#039;greymarket&#039; in around 2013. These cells had misaligned tabs which can also lead to isolation failures between the tab and the pack. These cells should be avoided, particularly in high demand applications.&lt;br /&gt;
&lt;br /&gt;
===== Situations likely to cause pouch cell failure =====&lt;br /&gt;
&#039;&#039;Taken directly from [https://endless-sphere.com/forums/memberlist.php?mode=viewprofile&amp;amp;u=33107 wb9k]&#039;s post on endless sphere in the [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761 A123 thread]&#039;&#039;&lt;br /&gt;
# &#039;&#039;&#039;Overcharge&#039;&#039;&#039;. Any extended time above 3.8 Volts will generate enough heat and electrochemical activity to puff a cell, especially one that is improperly compressed.&lt;br /&gt;
# &#039;&#039;&#039;Overdischarge followed by charge&#039;&#039;&#039;. Any A123 cell that has been pulled low enough to come to rest at &amp;lt;300 mV should be immediately scrapped. The published number for that is 500 mV, but the real figure is closer to 300, so that&#039;s a &amp;quot;safety buffer&amp;quot; if you will. Below this Voltage, the Cu electrodes start to dissolve into the electrolyte. When charge is applied, the Cu forms dendrites that puncture the separator layer, forming an internal short in the cell. This can puff a cell in a hurry---the more charge current on tap, the worse it&#039;s prone to be.&lt;br /&gt;
# &#039;&#039;&#039;Driving a cell negative&#039;&#039;&#039;. I&#039;ve neglected to mention this before, but it is a possibility. I don&#039;t know much about the specific mechanism at this time.&lt;br /&gt;
# &#039;&#039;&#039;Malfunctioning or misinformed electronics&#039;&#039;&#039;. This is the most common cause of all of the above in my experience. At this stage of the game, it is critical for YOU to understand how your BMS functions on at least a cursory level. Choose your BMS very carefully and periodically verify that it is operating properly. They&#039;re not all created equal. Make sure V sense lines are securely connected and free of corrosion. Just because your BMS says there was never a problem doesn&#039;t necessarily make it so. Avoid harnesses or ribbon cables between multiple modules if possible--they are problematic wherever they are used in any mobile electronics.&lt;br /&gt;
# &#039;&#039;&#039;Exposure to or generation of sufficient heat&#039;&#039;&#039;. I don&#039;t know exactly at what temperature gas formation begins in the electrolyte, but we spec a max storage temp of 80 (or 85?) degrees C and I suspect this is the reason. The hotter, the puffier--to a point. This is why soldering tabs poses a real hazard to cell health. If you feel you must solder, sink or blow the heat away from the body of the cell. Use a big iron that can make sufficient local heat quickly, before the whole mass of the cell gets hot. You might even get the cell warm enough to melt separator if not careful.&lt;br /&gt;
# &#039;&#039;&#039;No compression, not enough compression, improperly distributed compression&#039;&#039;&#039;. This is a pack/module design issue. Apply 10, maybe 15 psi to your cell stack end to end and then band snugly and evenly. Use hard endplates of some sort--never wrap cells directly or allow their shape to become distorted. Protect all areas of the pouch from impact damage. This obviously does not apply to cylindrical cells.&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; prismatic cells ====&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;placeholder*&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; cylindrical cells ====&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;placeholder*&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; cell ageing ====&lt;br /&gt;
&#039;&#039;Derived (barely paraphrased) from [https://endless-sphere.com/forums/memberlist.php?mode=viewprofile&amp;amp;u=33107 wb9k]&#039;s post on endless sphere in the [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761 A123 thread]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Capacity loss is caused by the lithium that was available for storage becoming permanently plated on the cathode. Being unable to move within the cell it is no longer available to store energy. The impact of this plating is greater than the amount of lithium &#039;lost&#039; to plating because not only is the lithium no longer available, it is also preventing access to that part of the cathode meaning Li that can still move has to take a longer path to reach the cathode. Lithium plating is one cause of increased cell resistance (there are others), a sign of worsening cell health.&lt;br /&gt;
&lt;br /&gt;
There is no linear relationship between actual capacity loss and impedance rise. However some cell defects will also increase impedance.&lt;br /&gt;
&lt;br /&gt;
Increasing cell resistance may cause a number of symptoms which may be confused with [https://earthshipbiotecture.com/a-lithium-ion-battery-primer/ High Self Discharge.]&lt;br /&gt;
# Elevated Peukert Losses. As more energy per amount of current through the cell is lost as heat, the cells useable capacity decreases. So the apparent capacity loss is higher than the actual capacity loss of cycleable lithium. When used in low current applications (e.g. solar energy storage) the actual and apparent decrease in capacity will be small. In high current draw applications (like EV traction packs), the Peukert loss increases proportionally, so the apparent capacity loss increases much faster than the actual capacity loss.&lt;br /&gt;
# Greater voltage excursion under the same load. Due to increased cell resistancethe voltage will sag further under the same load than a cell in optimal condition. The inverse is also true, the voltage will be higher for the same amount of charging current applied. The cell will then rebound to a voltage further from the loaded and charging voltages. This, obviously, can look like high self discharge but is a different phenomenon.&lt;br /&gt;
# Absolute maximum current decrease.&lt;br /&gt;
Elevated impedance causes a more complex constellation of symptoms, some of which may be easy to confuse with High Self Discharge (HSD). Ohm&#039;s law (E=I/R) holds the key to understanding here.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1) Elevated Peukert losses.&#039;&#039;&#039; Because more energy per unit of current through the cell is lost as heat, less of the cell&#039;s capacity is actually USABLE. Thus, apparent capacity loss can be significantly greater than actual capacity loss caused by the loss of cycleable Li alone. In low current applications, the two numbers will be close together. In high current applications, Peukert losses increase in proportion, so apparent loss of capacity breaks further and further away from actual capacity loss as current increases.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2) Greater voltage excursion under the same load.&#039;&#039;&#039; Elevated resistance across the cell means that voltage will sag more under the same load than it did when the cell was healthier. Conversely, voltage will rise higher with the same amount of applied charge current than it did when it was healthier. At the same time, rebound/settling voltages will be further away from loaded/charging voltages. In other words, the cell will rebound to a voltage further away from loaded voltage, all else being equal. Similarly, voltage will settle farther from the charge voltage with the same charge applied. This can give the illusion of elevated self-discharge, but the phenomenon is actually not the same thing. Again, the greater the charge and load currents, the greater the effect becomes.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3) Absolute max current decreases.&#039;&#039;&#039; Because the cell&#039;s series resistance is elevated, the maximum possible current through the cell is decreased.&lt;br /&gt;
&lt;br /&gt;
Just to confuse things further, there can be many factors that lead to impedance rise. Some are related to Li plating, others are not.&lt;br /&gt;
&lt;br /&gt;
=== Lithium-ion ===&lt;br /&gt;
Lithium-ion (Li-ion) batteries have a greater energy density than Lithium Iron Phosphate batteries, but have more challenging needs to use safely. The ideal operating range of Li-ion batteries is between +15 and +45°C. The upper limit of temperature is particularly important as Li-ion batteries experience thermal runaway - an unstoppable chain reaction that can occur in milliseconds releasing the stored energy in the cell. This can produce temperatures of 400°C and a fire that is extremely difficult to put out. Thermal runaway can start as low as 60°C and becomes much more likely at 100°C&lt;br /&gt;
&lt;br /&gt;
Risk factors for thermal runaway:&lt;br /&gt;
* Short Circuits - either internally or externally&lt;br /&gt;
* Overcharging&lt;br /&gt;
* Excessive current draw or when charging&lt;br /&gt;
&lt;br /&gt;
==== Li-ion pouch cells ====&lt;br /&gt;
[https://kokam.com/cell Kokam] produce high-performance Li-ion pouch cells. These combine relative ease of use and pack construction with performance close to cylindrical cells. &lt;br /&gt;
&lt;br /&gt;
==== Li-ion 18650 and other cylindrical cells ====&lt;br /&gt;
Cylindrical cells are favoured by Tesla, and are probably the main reason why their cars achieve such excellent performance. They are light, compact, powerful and expensive. Unfortunately, cylindrical cells are  difficult (and potentially dangerous) to use in DIY conversions. There are two good reasons for this: thermal management and cell configuration.&lt;br /&gt;
&lt;br /&gt;
As stated above, Li-ion cells are prone to thermal runaway. So you need perfect battery and thermal management to ensure that no cell ever exceeds the critical voltage or temperature. If this happens, a cell can short-circuit internally, releasing a lot of energy - potentially explosively. Furthermore, the individual cells are small, so need to be arranged in parallel. In the case of the Tesla Model S 85kW pack, there are 74 cells in parallel. Imagine if one of those cells fails and becomes short circuited internally. You now have 73 very high power cells all feeding in to that short circuit...&lt;br /&gt;
&lt;br /&gt;
In fact, you don&#039;t have to imagine: you can watch this famous video instead (courtesy of Rich Rebuilds).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;youtube&amp;gt;WdDi1haA71Q&amp;lt;/youtube&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== OEM modules ==&lt;br /&gt;
Using an OEM module means a lot of the difficulties and safety issues associated with battery design are taken care of e.g. cooling, clamping, etc.&lt;br /&gt;
&lt;br /&gt;
Here is a handy list of OEM modules:&lt;br /&gt;
{| class=&amp;quot;wikitable sortable mw-collapsible&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!Manufacturer&lt;br /&gt;
!Model&lt;br /&gt;
!Capacity (kWh)&lt;br /&gt;
!Weight (kg)&lt;br /&gt;
!w (mm)&lt;br /&gt;
!d (mm)&lt;br /&gt;
!h (mm)&lt;br /&gt;
!Gravity (kg/kWh)&lt;br /&gt;
!Volume (L/kWh)&lt;br /&gt;
!Voltage (V)&lt;br /&gt;
!Current (cont A)&lt;br /&gt;
!Current (peak A)&lt;br /&gt;
!Cell arrangement&lt;br /&gt;
!Cell type&lt;br /&gt;
!Chemistry&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model S 85kWh&lt;br /&gt;
|5.3&lt;br /&gt;
|26&lt;br /&gt;
|690&lt;br /&gt;
|315&lt;br /&gt;
|80&lt;br /&gt;
|4.9&lt;br /&gt;
|3.3&lt;br /&gt;
|22.8&lt;br /&gt;
|500&lt;br /&gt;
|750&lt;br /&gt;
|74p6s&lt;br /&gt;
|18650&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model S 100kWh&lt;br /&gt;
|6.4&lt;br /&gt;
|28&lt;br /&gt;
|680&lt;br /&gt;
|315&lt;br /&gt;
|80&lt;br /&gt;
|4.4&lt;br /&gt;
|2.7&lt;br /&gt;
|22.8&lt;br /&gt;
|&lt;br /&gt;
|870&lt;br /&gt;
|86p6s&lt;br /&gt;
|18650&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model 3 LR (inner)&lt;br /&gt;
|19.2&lt;br /&gt;
|98.9&lt;br /&gt;
|1854&lt;br /&gt;
|292&lt;br /&gt;
|90&lt;br /&gt;
|5.2&lt;br /&gt;
|2.5&lt;br /&gt;
|91.1&lt;br /&gt;
|&lt;br /&gt;
|971&lt;br /&gt;
|46p25s&lt;br /&gt;
|2170&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model 3 LR (outer)&lt;br /&gt;
|17.7&lt;br /&gt;
|86.6&lt;br /&gt;
|1715&lt;br /&gt;
|292&lt;br /&gt;
|90&lt;br /&gt;
|4.9&lt;br /&gt;
|2.5&lt;br /&gt;
|83.9&lt;br /&gt;
|&lt;br /&gt;
|971&lt;br /&gt;
|46p23s&lt;br /&gt;
|2170&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model 3 SR (inner)&lt;br /&gt;
|13.0&lt;br /&gt;
|&lt;br /&gt;
|1854&lt;br /&gt;
|292&lt;br /&gt;
|90&lt;br /&gt;
|&lt;br /&gt;
|3.7&lt;br /&gt;
|91.1&lt;br /&gt;
|&lt;br /&gt;
|603&lt;br /&gt;
|31p25s&lt;br /&gt;
|2170&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model 3 SR (outer)&lt;br /&gt;
|12.0&lt;br /&gt;
|&lt;br /&gt;
|1715&lt;br /&gt;
|292&lt;br /&gt;
|90&lt;br /&gt;
|&lt;br /&gt;
|3.8&lt;br /&gt;
|83.9&lt;br /&gt;
|&lt;br /&gt;
|603&lt;br /&gt;
|31p23s&lt;br /&gt;
|2170&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Calb&lt;br /&gt;
|4S3P&lt;br /&gt;
|2.19&lt;br /&gt;
|12&lt;br /&gt;
|355&lt;br /&gt;
|151&lt;br /&gt;
|108&lt;br /&gt;
|5.5&lt;br /&gt;
|2.6&lt;br /&gt;
|14.6&lt;br /&gt;
|&lt;br /&gt;
|900&lt;br /&gt;
|3p4s&lt;br /&gt;
|Pouch&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Calb&lt;br /&gt;
|6S2P&lt;br /&gt;
|2.19&lt;br /&gt;
|12&lt;br /&gt;
|355&lt;br /&gt;
|151&lt;br /&gt;
|108&lt;br /&gt;
|5.5&lt;br /&gt;
|2.6&lt;br /&gt;
|22.2&lt;br /&gt;
|&lt;br /&gt;
|600&lt;br /&gt;
|2p6s&lt;br /&gt;
|Pouch&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Chevrolet&lt;br /&gt;
|Volt 2012&lt;br /&gt;
|4&lt;br /&gt;
|38&lt;br /&gt;
|470&lt;br /&gt;
|180&lt;br /&gt;
|280&lt;br /&gt;
|9.5&lt;br /&gt;
|5.9&lt;br /&gt;
|88.8&lt;br /&gt;
|&lt;br /&gt;
|676&lt;br /&gt;
|3p24s&lt;br /&gt;
|Pouch&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|BMW&lt;br /&gt;
|i3 60Ah&lt;br /&gt;
|2&lt;br /&gt;
|13&lt;br /&gt;
|368&lt;br /&gt;
|178&lt;br /&gt;
|102&lt;br /&gt;
|6.5&lt;br /&gt;
|3.3&lt;br /&gt;
|28.8&lt;br /&gt;
|210&lt;br /&gt;
|350&lt;br /&gt;
|2p8s&lt;br /&gt;
|Prismatic&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|BMW&lt;br /&gt;
|i3 94Ah&lt;br /&gt;
|4.15&lt;br /&gt;
|28&lt;br /&gt;
|410&lt;br /&gt;
|310&lt;br /&gt;
|150&lt;br /&gt;
|6.7&lt;br /&gt;
|4.6&lt;br /&gt;
|45.6&lt;br /&gt;
|&lt;br /&gt;
|409&lt;br /&gt;
|12s&lt;br /&gt;
|Prismatic&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|BMW&lt;br /&gt;
|i3 120Ah&lt;br /&gt;
|5.3&lt;br /&gt;
|28&lt;br /&gt;
|410&lt;br /&gt;
|310&lt;br /&gt;
|150&lt;br /&gt;
|5.3&lt;br /&gt;
|3.6&lt;br /&gt;
|45.6&lt;br /&gt;
|&lt;br /&gt;
|360&lt;br /&gt;
|12s&lt;br /&gt;
|Prismatic&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Jaguar&lt;br /&gt;
|iPace&lt;br /&gt;
|2.5&lt;br /&gt;
|12&lt;br /&gt;
|340&lt;br /&gt;
|155&lt;br /&gt;
|112&lt;br /&gt;
|4.8&lt;br /&gt;
|2.4&lt;br /&gt;
|10.8&lt;br /&gt;
|720&lt;br /&gt;
|1200&lt;br /&gt;
|4p3s&lt;br /&gt;
|Pouch&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|LG&lt;br /&gt;
|4P3S&lt;br /&gt;
|2.6&lt;br /&gt;
|12.8&lt;br /&gt;
|357&lt;br /&gt;
|151&lt;br /&gt;
|110&lt;br /&gt;
|4.9&lt;br /&gt;
|2.3&lt;br /&gt;
|11&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|4p3s&lt;br /&gt;
|Pouch&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Mitsubishi&lt;br /&gt;
|Outlander&lt;br /&gt;
|2.4&lt;br /&gt;
|26&lt;br /&gt;
|646&lt;br /&gt;
|184&lt;br /&gt;
|130&lt;br /&gt;
|10.8&lt;br /&gt;
|6.4&lt;br /&gt;
|60&lt;br /&gt;
|&lt;br /&gt;
|240&lt;br /&gt;
|16s&lt;br /&gt;
|&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Nissan&lt;br /&gt;
|Leaf 24kWh&lt;br /&gt;
|0.5&lt;br /&gt;
|3.65&lt;br /&gt;
|300&lt;br /&gt;
|222&lt;br /&gt;
|34&lt;br /&gt;
|7.3&lt;br /&gt;
|4.5&lt;br /&gt;
|7.2&lt;br /&gt;
|130&lt;br /&gt;
|228&lt;br /&gt;
|2p2s&lt;br /&gt;
|Pouch&lt;br /&gt;
|Li-ion LMO&lt;br /&gt;
|-&lt;br /&gt;
|Nissan&lt;br /&gt;
|Leaf 30kWh&lt;br /&gt;
|1.25&lt;br /&gt;
|&lt;br /&gt;
|300&lt;br /&gt;
|222&lt;br /&gt;
|34&lt;br /&gt;
|&lt;br /&gt;
|3.6&lt;br /&gt;
|14.4&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|2p4s&lt;br /&gt;
|Pouch&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Nissan&lt;br /&gt;
|Leaf 40kWh&lt;br /&gt;
|1.6&lt;br /&gt;
|8.7&lt;br /&gt;
|300&lt;br /&gt;
|222&lt;br /&gt;
|68&lt;br /&gt;
|5.4&lt;br /&gt;
|2.8&lt;br /&gt;
|14.4&lt;br /&gt;
|&lt;br /&gt;
|314&lt;br /&gt;
|2p4s&lt;br /&gt;
|Pouch&lt;br /&gt;
|Li-ion NMC&lt;br /&gt;
|-&lt;br /&gt;
|Nissan&lt;br /&gt;
|Leaf 62kWh&lt;br /&gt;
|2.58&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|14.4&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|3p4s&lt;br /&gt;
|&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Volvo&lt;br /&gt;
|XC90 T8&lt;br /&gt;
|2.01&lt;br /&gt;
|12.1&lt;br /&gt;
|300&lt;br /&gt;
|180&lt;br /&gt;
|150&lt;br /&gt;
|6.0&lt;br /&gt;
|4.0&lt;br /&gt;
|59.2&lt;br /&gt;
|170&lt;br /&gt;
|340&lt;br /&gt;
|16s&lt;br /&gt;
|&lt;br /&gt;
|Li-ion&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Clanger9</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Batteries&amp;diff=1210</id>
		<title>Batteries</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Batteries&amp;diff=1210"/>
		<updated>2020-12-31T09:59:24Z</updated>

		<summary type="html">&lt;p&gt;Clanger9: /* OEM modules */ Add Calb &amp;amp; LG modules&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
There are a wide variety of battery chemistries available for use as the main traction battery of an EV. To use each chemistry safely, and to ensure an adequate service life from the battery pack it is important to understand the requirements for the chemistry you are using. Failure to do so may lead to premature or catastrophic failure of the pack.&lt;br /&gt;
&lt;br /&gt;
Good pack design will allow for a nominal amount of abuse. People make mistakes and the pack should allow a margin for safety - and for longevity!&lt;br /&gt;
&lt;br /&gt;
== Battery pack specification ==&lt;br /&gt;
When deciding on your battery pack, here are some basic parameters to consider:&lt;br /&gt;
&lt;br /&gt;
=== Capacity (kWh) ===&lt;br /&gt;
&#039;&#039;&#039;How far do you want to go?&#039;&#039;&#039; A standard  car conversion will need a kWh for each 3, maybe 4 miles of range (very approximately). For a middleweight motorcycle, a kWh should give around 9 miles. Your mileage may vary, &#039;&#039;as they say.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Voltage (V) ===&lt;br /&gt;
&#039;&#039;&#039;How fast do you want to go?&#039;&#039;&#039; The pack voltage defines the maximum speed your motor can spin. Motors are usually specified with &amp;quot;KV&amp;quot; - or RPM-per-volt. Check the KV of your motor and how fast it needs to spin to get your desired top speed. e.g. if you need 3,000 RPM from a 25 KV motor then your pack voltage needs to be  3,000 / 25 = 120 V. The exact number of cells in series you need depends on the cell design, but 3.8 V for Li-ion and 3.2 V for LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; is a reasonable guess.&lt;br /&gt;
&lt;br /&gt;
=== Maximum current (A) ===&lt;br /&gt;
&#039;&#039;&#039;How quickly do you want to accelerate?&#039;&#039;&#039; Your motor&#039;s maximum power will be specified in kW. To estimate your maximum current draw, divide the peak power by the battery voltage. e.g. a 30 kW motor with a 120 V battery pack will pull 30,000 / 120 = 250 A. The higher the current rating of the cells, the heavier they will be for a given capacity. Ideally, you want &amp;quot;enough&amp;quot; current capacity for full throttle acceleration, but no more. You can put cells in parallel to double the current rating of your pack (which of course will half the voltage). &lt;br /&gt;
&lt;br /&gt;
=== Mass (kg) ===&lt;br /&gt;
&#039;&#039;&#039;Can your vehicle carry the weight?&#039;&#039;&#039; You&#039;ll need to keep the kerb weight within the original design limits. For a car, this could be a few hundred kg. For a motorcycle, likely less than 100 kg. This is a huge variable - and each new generation of battery tech seems to be a little lighter. For older EV or hybrid batteries, you can reckon on approximately 10 kg/kWh. Nissan Leaf batteries are relatively light (7.5 kg/kWh). With the latest technology (e.g. Kokam pouch cells or 18650s), you can get this down to 5-6 kg/kWh.&lt;br /&gt;
&lt;br /&gt;
=== Volume (L) ===&lt;br /&gt;
&#039;&#039;&#039;Will it fit?&#039;&#039;&#039; Batteries are bulky. They are getting smaller, but finding enough space might be your biggest challenge. You could be looking at over 5 L/kWh for older EV or hybrid batteries. Current state-of-the-art is the Tesla Model 3, which gets this down to 2.5 L/kWh by using 2170 cylindrical cells.&lt;br /&gt;
&lt;br /&gt;
There is much, much more to battery design than this (e.g. maximum charge rate, terminations, cooling, clamping), but the above should help work out which options will or won&#039;t work for your project...&lt;br /&gt;
&lt;br /&gt;
== Cell chemistry ==&lt;br /&gt;
&lt;br /&gt;
=== Lithium Iron Phosphate (LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt;) ===&lt;br /&gt;
Lithium Iron Phosphate (also known as LFP, or LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt;) batteries offer a good compromise between safety, energy density and ease of use for DIY conversions. They are available in a number of formats, commonly pouch cells, prismatic cells and cylindrical cells.&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; pouch cells ====&lt;br /&gt;
The majority of this content is drawn from this thread: [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761&amp;amp;start=900 https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761] discussing the use of the A123 20Ah pouch cell. However, many of the general points apply equally to other similar pouch cells.&lt;br /&gt;
&lt;br /&gt;
===== General build requirements =====&lt;br /&gt;
Pouch cells are vulnerable to damage from debris, and must be held in compression (see the datasheet for your battery, but 10-12 psi is recommended for the A123 pouch cells as a guide). A rigid container capable of preventing damage and providing compression is therefore required. Be aware the cells expand and contract in use, so allowance for this must be included in the structure of the case.&lt;br /&gt;
&lt;br /&gt;
The pouch cells should be separated to prevent abrasion between cells, and also to avoid the development of hot spots. Prebuilt modules from A123 systems had thin foam sheets or heatsinks between each cell. Be sure to avoid any debris that could rub on the pouch surface, particularly if using recycled cells.&lt;br /&gt;
&lt;br /&gt;
Mylar, &#039;[https://www.americanmicroinc.com/fish-paper/ Fish paper]&#039; or a [https://www.rogerscorp.com/elastomeric-material-solutions/poron-industrial-polyurethanes compliant foam] may be appropriate materials to serve this purpose. This material should not be flammable. If the material is heat insulating, it is important to address thermal management.&lt;br /&gt;
&lt;br /&gt;
===== Compression =====&lt;br /&gt;
Compression is required to prevent premature failure of the cell. Without compression electrolyte will become unevenly distributed, causing current gradients in the cell and uneven heating. Local temperatures can become high enough to form gas formation leading to cells &#039;puffing up&#039; even when the pack is otherwise held within temperature and voltage constraints. This will be exacerbated in packs with otherwise poor thermal management. Compression forces gas generated to the margins of the cell, outside of the cell stack, minimising its effect cell performance. Gas in the middle cells will create a dead space which does not store or release energy.&lt;br /&gt;
&lt;br /&gt;
There is ~1% expansion through a discharge cycle. As the cell ages, the nominal cell thickness can grow by 3-5%. For A123 cells the ideal pressure is between 4 and 18psi with the ideal pressure being ~12psi. Maintaining 12psi can increase the life by 500 cycles over that of 4 or 18psi&lt;br /&gt;
&lt;br /&gt;
There is some suggestion that in uses where 1C is never exceeded compression &#039;&#039;may&#039;&#039; not be required.&lt;br /&gt;
&lt;br /&gt;
Highly rigid endplates with a mechanism to allow for a limited degree of expansion (e.g. steel bands) are considered an effective solution to this challenge.&lt;br /&gt;
&lt;br /&gt;
It should be noted that compression is a challenge specific to pouch cells. Cylindrical cells are designed to maintain their own compression within the cell&#039;s electrode stack by their design.&lt;br /&gt;
&lt;br /&gt;
This thread provides more information and experimentation relating to pack compression: &amp;lt;nowiki&amp;gt;https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=52244&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Pouch Cell Pack Design Examples =====&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;placeholder*&lt;br /&gt;
&lt;br /&gt;
===== Notes regarding recycled pouch cells =====&lt;br /&gt;
Pouch cells are somewhat fragile, and breaching the insulation is not difficult, especially in a cells removed from existing packs and repurposed. If the pouch has had their poly-layers compromised you may see a number of faults:&lt;br /&gt;
* Black spots around the perimeter of the cell indicate electrolyte leakage&lt;br /&gt;
* Voltage on the outside of the bag. Note that microvoltage between the pouch and the electrode is normal (and due to a capacitive effect).&lt;br /&gt;
While the majority of these cells should no longer be in the market, a significant number of faulty cells made it back into the &#039;greymarket&#039; in around 2013. These cells had misaligned tabs which can also lead to isolation failures between the tab and the pack. These cells should be avoided, particularly in high demand applications.&lt;br /&gt;
&lt;br /&gt;
===== Situations likely to cause pouch cell failure =====&lt;br /&gt;
&#039;&#039;Taken directly from [https://endless-sphere.com/forums/memberlist.php?mode=viewprofile&amp;amp;u=33107 wb9k]&#039;s post on endless sphere in the [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761 A123 thread]&#039;&#039;&lt;br /&gt;
# &#039;&#039;&#039;Overcharge&#039;&#039;&#039;. Any extended time above 3.8 Volts will generate enough heat and electrochemical activity to puff a cell, especially one that is improperly compressed.&lt;br /&gt;
# &#039;&#039;&#039;Overdischarge followed by charge&#039;&#039;&#039;. Any A123 cell that has been pulled low enough to come to rest at &amp;lt;300 mV should be immediately scrapped. The published number for that is 500 mV, but the real figure is closer to 300, so that&#039;s a &amp;quot;safety buffer&amp;quot; if you will. Below this Voltage, the Cu electrodes start to dissolve into the electrolyte. When charge is applied, the Cu forms dendrites that puncture the separator layer, forming an internal short in the cell. This can puff a cell in a hurry---the more charge current on tap, the worse it&#039;s prone to be.&lt;br /&gt;
# &#039;&#039;&#039;Driving a cell negative&#039;&#039;&#039;. I&#039;ve neglected to mention this before, but it is a possibility. I don&#039;t know much about the specific mechanism at this time.&lt;br /&gt;
# &#039;&#039;&#039;Malfunctioning or misinformed electronics&#039;&#039;&#039;. This is the most common cause of all of the above in my experience. At this stage of the game, it is critical for YOU to understand how your BMS functions on at least a cursory level. Choose your BMS very carefully and periodically verify that it is operating properly. They&#039;re not all created equal. Make sure V sense lines are securely connected and free of corrosion. Just because your BMS says there was never a problem doesn&#039;t necessarily make it so. Avoid harnesses or ribbon cables between multiple modules if possible--they are problematic wherever they are used in any mobile electronics.&lt;br /&gt;
# &#039;&#039;&#039;Exposure to or generation of sufficient heat&#039;&#039;&#039;. I don&#039;t know exactly at what temperature gas formation begins in the electrolyte, but we spec a max storage temp of 80 (or 85?) degrees C and I suspect this is the reason. The hotter, the puffier--to a point. This is why soldering tabs poses a real hazard to cell health. If you feel you must solder, sink or blow the heat away from the body of the cell. Use a big iron that can make sufficient local heat quickly, before the whole mass of the cell gets hot. You might even get the cell warm enough to melt separator if not careful.&lt;br /&gt;
# &#039;&#039;&#039;No compression, not enough compression, improperly distributed compression&#039;&#039;&#039;. This is a pack/module design issue. Apply 10, maybe 15 psi to your cell stack end to end and then band snugly and evenly. Use hard endplates of some sort--never wrap cells directly or allow their shape to become distorted. Protect all areas of the pouch from impact damage. This obviously does not apply to cylindrical cells.&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; prismatic cells ====&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;placeholder*&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; cylindrical cells ====&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;placeholder*&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; cell ageing ====&lt;br /&gt;
&#039;&#039;Derived (barely paraphrased) from [https://endless-sphere.com/forums/memberlist.php?mode=viewprofile&amp;amp;u=33107 wb9k]&#039;s post on endless sphere in the [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761 A123 thread]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Capacity loss is caused by the lithium that was available for storage becoming permanently plated on the cathode. Being unable to move within the cell it is no longer available to store energy. The impact of this plating is greater than the amount of lithium &#039;lost&#039; to plating because not only is the lithium no longer available, it is also preventing access to that part of the cathode meaning Li that can still move has to take a longer path to reach the cathode. Lithium plating is one cause of increased cell resistance (there are others), a sign of worsening cell health.&lt;br /&gt;
&lt;br /&gt;
There is no linear relationship between actual capacity loss and impedance rise. However some cell defects will also increase impedance.&lt;br /&gt;
&lt;br /&gt;
Increasing cell resistance may cause a number of symptoms which may be confused with [https://earthshipbiotecture.com/a-lithium-ion-battery-primer/ High Self Discharge.]&lt;br /&gt;
# Elevated Peukert Losses. As more energy per amount of current through the cell is lost as heat, the cells useable capacity decreases. So the apparent capacity loss is higher than the actual capacity loss of cycleable lithium. When used in low current applications (e.g. solar energy storage) the actual and apparent decrease in capacity will be small. In high current draw applications (like EV traction packs), the Peukert loss increases proportionally, so the apparent capacity loss increases much faster than the actual capacity loss.&lt;br /&gt;
# Greater voltage excursion under the same load. Due to increased cell resistancethe voltage will sag further under the same load than a cell in optimal condition. The inverse is also true, the voltage will be higher for the same amount of charging current applied. The cell will then rebound to a voltage further from the loaded and charging voltages. This, obviously, can look like high self discharge but is a different phenomenon.&lt;br /&gt;
# Absolute maximum current decrease.&lt;br /&gt;
Elevated impedance causes a more complex constellation of symptoms, some of which may be easy to confuse with High Self Discharge (HSD). Ohm&#039;s law (E=I/R) holds the key to understanding here.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1) Elevated Peukert losses.&#039;&#039;&#039; Because more energy per unit of current through the cell is lost as heat, less of the cell&#039;s capacity is actually USABLE. Thus, apparent capacity loss can be significantly greater than actual capacity loss caused by the loss of cycleable Li alone. In low current applications, the two numbers will be close together. In high current applications, Peukert losses increase in proportion, so apparent loss of capacity breaks further and further away from actual capacity loss as current increases.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2) Greater voltage excursion under the same load.&#039;&#039;&#039; Elevated resistance across the cell means that voltage will sag more under the same load than it did when the cell was healthier. Conversely, voltage will rise higher with the same amount of applied charge current than it did when it was healthier. At the same time, rebound/settling voltages will be further away from loaded/charging voltages. In other words, the cell will rebound to a voltage further away from loaded voltage, all else being equal. Similarly, voltage will settle farther from the charge voltage with the same charge applied. This can give the illusion of elevated self-discharge, but the phenomenon is actually not the same thing. Again, the greater the charge and load currents, the greater the effect becomes.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3) Absolute max current decreases.&#039;&#039;&#039; Because the cell&#039;s series resistance is elevated, the maximum possible current through the cell is decreased.&lt;br /&gt;
&lt;br /&gt;
Just to confuse things further, there can be many factors that lead to impedance rise. Some are related to Li plating, others are not.&lt;br /&gt;
&lt;br /&gt;
=== Lithium-ion ===&lt;br /&gt;
Lithium-ion (Li-ion) batteries have a greater energy density than Lithium Iron Phosphate batteries, but have more challenging needs to use safely. The ideal operating range of Li-ion batteries is between +15 and +45°C. The upper limit of temperature is particularly important as Li-ion batteries experience thermal runaway - an unstoppable chain reaction that can occur in milliseconds releasing the stored energy in the cell. This can produce temperatures of 400°C and a fire that is extremely difficult to put out. Thermal runaway can start as low as 60°C and becomes much more likely at 100°C&lt;br /&gt;
&lt;br /&gt;
Risk factors for thermal runaway:&lt;br /&gt;
* Short Circuits - either internally or externally&lt;br /&gt;
* Overcharging&lt;br /&gt;
* Excessive current draw or when charging&lt;br /&gt;
&lt;br /&gt;
==== Li-ion pouch cells ====&lt;br /&gt;
[https://kokam.com/cell Kokam] produce high-performance Li-ion pouch cells. These combine relative ease of use and pack construction with performance close to cylindrical cells. &lt;br /&gt;
&lt;br /&gt;
==== Li-ion 18650 and other cylindrical cells ====&lt;br /&gt;
Cylindrical cells are favoured by Tesla, and are probably the main reason why their cars achieve such excellent performance. They are light, compact, powerful and expensive. Unfortunately, cylindrical cells are  difficult (and potentially dangerous) to use in DIY conversions. There are two good reasons for this: thermal management and cell configuration.&lt;br /&gt;
&lt;br /&gt;
As stated above, Li-ion cells are prone to thermal runaway. So you need perfect battery and thermal management to ensure that no cell ever exceeds the critical voltage or temperature. If this happens, a cell can short-circuit internally, releasing a lot of energy - potentially explosively. Furthermore, the individual cells are small, so need to be arranged in parallel. In the case of the Tesla Model S 85kW pack, there are 74 cells in parallel. Imagine if one of those cells fails and becomes short circuited internally. You now have 73 very high power cells all feeding in to that short circuit...&lt;br /&gt;
&lt;br /&gt;
In fact, you don&#039;t have to imagine: you can watch this famous video instead (courtesy of Rich Rebuilds).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;youtube&amp;gt;WdDi1haA71Q&amp;lt;/youtube&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== OEM modules ==&lt;br /&gt;
Using an OEM module means a lot of the difficulties and safety issues associated with battery design are taken care of e.g. cooling, clamping, etc.&lt;br /&gt;
&lt;br /&gt;
Here is a handy list of OEM modules:&lt;br /&gt;
{| class=&amp;quot;wikitable sortable mw-collapsible&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!Manufacturer&lt;br /&gt;
!Model&lt;br /&gt;
!Capacity (kWh)&lt;br /&gt;
!Weight (kg)&lt;br /&gt;
!w (mm)&lt;br /&gt;
!d (mm)&lt;br /&gt;
!h (mm)&lt;br /&gt;
!Gravity (kg/kWh)&lt;br /&gt;
!Volume (L/kWh)&lt;br /&gt;
!Voltage (V)&lt;br /&gt;
!Current (cont A)&lt;br /&gt;
!Current (peak A)&lt;br /&gt;
!Cell arrangement&lt;br /&gt;
!Cell type&lt;br /&gt;
!Chemistry&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model S 85kWh&lt;br /&gt;
|5.3&lt;br /&gt;
|26&lt;br /&gt;
|690&lt;br /&gt;
|315&lt;br /&gt;
|80&lt;br /&gt;
|4.9&lt;br /&gt;
|3.3&lt;br /&gt;
|22.8&lt;br /&gt;
|500&lt;br /&gt;
|750&lt;br /&gt;
|74p6s&lt;br /&gt;
|18650&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model S 100kWh&lt;br /&gt;
|6.4&lt;br /&gt;
|28&lt;br /&gt;
|680&lt;br /&gt;
|315&lt;br /&gt;
|80&lt;br /&gt;
|4.4&lt;br /&gt;
|2.7&lt;br /&gt;
|22.8&lt;br /&gt;
|&lt;br /&gt;
|870&lt;br /&gt;
|86p6s&lt;br /&gt;
|18650&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model 3 LR (inner)&lt;br /&gt;
|19.2&lt;br /&gt;
|98.9&lt;br /&gt;
|1854&lt;br /&gt;
|292&lt;br /&gt;
|90&lt;br /&gt;
|5.2&lt;br /&gt;
|2.5&lt;br /&gt;
|91.1&lt;br /&gt;
|&lt;br /&gt;
|971&lt;br /&gt;
|46p25s&lt;br /&gt;
|2170&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model 3 LR (outer)&lt;br /&gt;
|17.7&lt;br /&gt;
|86.6&lt;br /&gt;
|1715&lt;br /&gt;
|292&lt;br /&gt;
|90&lt;br /&gt;
|4.9&lt;br /&gt;
|2.5&lt;br /&gt;
|83.9&lt;br /&gt;
|&lt;br /&gt;
|971&lt;br /&gt;
|46p23s&lt;br /&gt;
|2170&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model 3 SR (inner)&lt;br /&gt;
|13.0&lt;br /&gt;
|&lt;br /&gt;
|1854&lt;br /&gt;
|292&lt;br /&gt;
|90&lt;br /&gt;
|&lt;br /&gt;
|3.7&lt;br /&gt;
|91.1&lt;br /&gt;
|&lt;br /&gt;
|603&lt;br /&gt;
|31p25s&lt;br /&gt;
|2170&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model 3 SR (outer)&lt;br /&gt;
|12.0&lt;br /&gt;
|&lt;br /&gt;
|1715&lt;br /&gt;
|292&lt;br /&gt;
|90&lt;br /&gt;
|&lt;br /&gt;
|3.8&lt;br /&gt;
|83.9&lt;br /&gt;
|&lt;br /&gt;
|603&lt;br /&gt;
|31p23s&lt;br /&gt;
|2170&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Calb&lt;br /&gt;
|4S3P&lt;br /&gt;
|2.19&lt;br /&gt;
|12&lt;br /&gt;
|355&lt;br /&gt;
|151&lt;br /&gt;
|108&lt;br /&gt;
|5.5&lt;br /&gt;
|2.6&lt;br /&gt;
|14.6&lt;br /&gt;
|&lt;br /&gt;
|900&lt;br /&gt;
|3p4s&lt;br /&gt;
|Pouch&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Calb&lt;br /&gt;
|6S2P&lt;br /&gt;
|2.19&lt;br /&gt;
|12&lt;br /&gt;
|355&lt;br /&gt;
|151&lt;br /&gt;
|108&lt;br /&gt;
|5.5&lt;br /&gt;
|2.6&lt;br /&gt;
|22.2&lt;br /&gt;
|&lt;br /&gt;
|600&lt;br /&gt;
|2p6s&lt;br /&gt;
|Pouch&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Chevrolet&lt;br /&gt;
|Volt 2012&lt;br /&gt;
|4&lt;br /&gt;
|38&lt;br /&gt;
|470&lt;br /&gt;
|180&lt;br /&gt;
|280&lt;br /&gt;
|9.5&lt;br /&gt;
|5.9&lt;br /&gt;
|88&lt;br /&gt;
|140&lt;br /&gt;
|210&lt;br /&gt;
|24s&lt;br /&gt;
|Pouch&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|BMW&lt;br /&gt;
|i3 60Ah&lt;br /&gt;
|2&lt;br /&gt;
|13&lt;br /&gt;
|368&lt;br /&gt;
|178&lt;br /&gt;
|102&lt;br /&gt;
|6.5&lt;br /&gt;
|3.3&lt;br /&gt;
|28.8&lt;br /&gt;
|210&lt;br /&gt;
|350&lt;br /&gt;
|2p8s&lt;br /&gt;
|Prismatic&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|BMW&lt;br /&gt;
|i3 94Ah&lt;br /&gt;
|4.15&lt;br /&gt;
|28&lt;br /&gt;
|410&lt;br /&gt;
|310&lt;br /&gt;
|150&lt;br /&gt;
|6.7&lt;br /&gt;
|4.6&lt;br /&gt;
|45.6&lt;br /&gt;
|&lt;br /&gt;
|409&lt;br /&gt;
|12s&lt;br /&gt;
|Prismatic&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|BMW&lt;br /&gt;
|i3 120Ah&lt;br /&gt;
|5.3&lt;br /&gt;
|28&lt;br /&gt;
|410&lt;br /&gt;
|310&lt;br /&gt;
|150&lt;br /&gt;
|5.3&lt;br /&gt;
|3.6&lt;br /&gt;
|45.6&lt;br /&gt;
|&lt;br /&gt;
|360&lt;br /&gt;
|12s&lt;br /&gt;
|Prismatic&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Jaguar&lt;br /&gt;
|iPace&lt;br /&gt;
|2.5&lt;br /&gt;
|12&lt;br /&gt;
|340&lt;br /&gt;
|155&lt;br /&gt;
|112&lt;br /&gt;
|4.8&lt;br /&gt;
|2.4&lt;br /&gt;
|10.8&lt;br /&gt;
|720&lt;br /&gt;
|1200&lt;br /&gt;
|4p3s&lt;br /&gt;
|Pouch&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|LG&lt;br /&gt;
|4P3S&lt;br /&gt;
|2.6&lt;br /&gt;
|12.8&lt;br /&gt;
|357&lt;br /&gt;
|151&lt;br /&gt;
|110&lt;br /&gt;
|4.9&lt;br /&gt;
|2.3&lt;br /&gt;
|11&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|4p3s&lt;br /&gt;
|Pouch&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Mitsubishi&lt;br /&gt;
|Outlander&lt;br /&gt;
|2.4&lt;br /&gt;
|26&lt;br /&gt;
|646&lt;br /&gt;
|184&lt;br /&gt;
|130&lt;br /&gt;
|10.8&lt;br /&gt;
|6.4&lt;br /&gt;
|60&lt;br /&gt;
|&lt;br /&gt;
|240&lt;br /&gt;
|16s&lt;br /&gt;
|&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Nissan&lt;br /&gt;
|Leaf 24kWh&lt;br /&gt;
|0.5&lt;br /&gt;
|3.65&lt;br /&gt;
|300&lt;br /&gt;
|222&lt;br /&gt;
|34&lt;br /&gt;
|7.3&lt;br /&gt;
|4.5&lt;br /&gt;
|7.2&lt;br /&gt;
|130&lt;br /&gt;
|228&lt;br /&gt;
|2p2s&lt;br /&gt;
|Pouch&lt;br /&gt;
|Li-ion LMO&lt;br /&gt;
|-&lt;br /&gt;
|Nissan&lt;br /&gt;
|Leaf 30kWh&lt;br /&gt;
|1.25&lt;br /&gt;
|&lt;br /&gt;
|300&lt;br /&gt;
|222&lt;br /&gt;
|34&lt;br /&gt;
|&lt;br /&gt;
|3.6&lt;br /&gt;
|14.4&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|2p4s&lt;br /&gt;
|Pouch&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Nissan&lt;br /&gt;
|Leaf 40kWh&lt;br /&gt;
|1.6&lt;br /&gt;
|8.7&lt;br /&gt;
|300&lt;br /&gt;
|222&lt;br /&gt;
|68&lt;br /&gt;
|5.4&lt;br /&gt;
|2.8&lt;br /&gt;
|14.4&lt;br /&gt;
|&lt;br /&gt;
|314&lt;br /&gt;
|2p4s&lt;br /&gt;
|Pouch&lt;br /&gt;
|Li-ion NMC&lt;br /&gt;
|-&lt;br /&gt;
|Nissan&lt;br /&gt;
|Leaf 62kWh&lt;br /&gt;
|2.58&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|14.4&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|3p4s&lt;br /&gt;
|&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Volvo&lt;br /&gt;
|XC90 T8&lt;br /&gt;
|2.01&lt;br /&gt;
|12.1&lt;br /&gt;
|300&lt;br /&gt;
|180&lt;br /&gt;
|150&lt;br /&gt;
|6.0&lt;br /&gt;
|4.0&lt;br /&gt;
|59.2&lt;br /&gt;
|170&lt;br /&gt;
|340&lt;br /&gt;
|16s&lt;br /&gt;
|&lt;br /&gt;
|Li-ion&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Clanger9</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Batteries&amp;diff=1186</id>
		<title>Batteries</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Batteries&amp;diff=1186"/>
		<updated>2020-12-07T16:59:11Z</updated>

		<summary type="html">&lt;p&gt;Clanger9: /* OEM modules */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
There are a wide variety of battery chemistries available for use as the main traction battery of an EV. To use each chemistry safely, and to ensure an adequate service life from the battery pack it is important to understand the requirements for the chemistry you are using. Failure to do so may lead to premature or catastrophic failure of the pack.&lt;br /&gt;
&lt;br /&gt;
Good pack design will allow for a nominal amount of abuse. People make mistakes and the pack should allow a margin for safety - and for longevity!&lt;br /&gt;
&lt;br /&gt;
== Battery pack specification ==&lt;br /&gt;
When deciding on your battery pack, here are some basic parameters to consider:&lt;br /&gt;
&lt;br /&gt;
=== Capacity (kWh) ===&lt;br /&gt;
&#039;&#039;&#039;How far do you want to go?&#039;&#039;&#039; A standard  car conversion will need a kWh for each 3, maybe 4 miles of range (very approximately). For a middleweight motorcycle, a kWh should give around 9 miles. Your mileage may vary, &#039;&#039;as they say.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Voltage (V) ===&lt;br /&gt;
&#039;&#039;&#039;How fast do you want to go?&#039;&#039;&#039; The pack voltage defines the maximum speed your motor can spin. Motors are usually specified with &amp;quot;KV&amp;quot; - or RPM-per-volt. Check the KV of your motor and how fast it needs to spin to get your desired top speed. e.g. if you need 3,000 RPM from a 25 KV motor then your pack voltage needs to be  3,000 / 25 = 120 V. The exact number of cells in series you need depends on the cell design, but 3.8 V for Li-ion and 3.2 V for LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; is a reasonable guess.&lt;br /&gt;
&lt;br /&gt;
=== Maximum current (A) ===&lt;br /&gt;
&#039;&#039;&#039;How quickly do you want to accelerate?&#039;&#039;&#039; Your motor&#039;s maximum power will be specified in kW. To estimate your maximum current draw, divide the peak power by the battery voltage. e.g. a 30 kW motor with a 120 V battery pack will pull 30,000 / 120 = 250 A. The higher the current rating of the cells, the heavier they will be for a given capacity. Ideally, you want &amp;quot;enough&amp;quot; current capacity for full throttle acceleration, but no more. You can put cells in parallel to double the current rating of your pack (which of course will half the voltage). &lt;br /&gt;
&lt;br /&gt;
=== Mass (kg) ===&lt;br /&gt;
&#039;&#039;&#039;Can your vehicle carry the weight?&#039;&#039;&#039; You&#039;ll need to keep the kerb weight within the original design limits. For a car, this could be a few hundred kg. For a motorcycle, likely less than 100 kg. This is a huge variable - and each new generation of battery tech seems to be a little lighter. For older EV or hybrid batteries, you can reckon on approximately 10 kg/kWh. Nissan Leaf batteries are relatively light (7.5 kg/kWh). With the latest technology (e.g. Kokam pouch cells or 18650s), you can get this down to 5-6 kg/kWh.&lt;br /&gt;
&lt;br /&gt;
=== Volume (L) ===&lt;br /&gt;
&#039;&#039;&#039;Will it fit?&#039;&#039;&#039; Batteries are bulky. They are getting smaller, but finding enough space might be your biggest challenge. You could be looking at over 5 L/kWh for older EV or hybrid batteries. Current state-of-the-art is the Tesla Model 3, which gets this down to 2.5 L/kWh by using 2170 cylindrical cells.&lt;br /&gt;
&lt;br /&gt;
There is much, much more to battery design than this (e.g. maximum charge rate, terminations, cooling, clamping), but the above should help work out which options will or won&#039;t work for your project...&lt;br /&gt;
&lt;br /&gt;
== Cell chemistry ==&lt;br /&gt;
&lt;br /&gt;
=== Lithium Iron Phosphate (LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt;) ===&lt;br /&gt;
Lithium Iron Phosphate (also known as LFP, or LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt;) batteries offer a good compromise between safety, energy density and ease of use for DIY conversions. They are available in a number of formats, commonly pouch cells, prismatic cells and cylindrical cells.&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; pouch cells ====&lt;br /&gt;
The majority of this content is drawn from this thread: [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761&amp;amp;start=900 https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761] discussing the use of the A123 20Ah pouch cell. However, many of the general points apply equally to other similar pouch cells.&lt;br /&gt;
&lt;br /&gt;
===== General build requirements =====&lt;br /&gt;
Pouch cells are vulnerable to damage from debris, and must be held in compression (see the datasheet for your battery, but 10-12 psi is recommended for the A123 pouch cells as a guide). A rigid container capable of preventing damage and providing compression is therefore required. Be aware the cells expand and contract in use, so allowance for this must be included in the structure of the case.&lt;br /&gt;
&lt;br /&gt;
The pouch cells should be separated to prevent abrasion between cells, and also to avoid the development of hot spots. Prebuilt modules from A123 systems had thin foam sheets or heatsinks between each cell. Be sure to avoid any debris that could rub on the pouch surface, particularly if using recycled cells.&lt;br /&gt;
&lt;br /&gt;
Mylar, &#039;[https://www.americanmicroinc.com/fish-paper/ Fish paper]&#039; or a [https://www.rogerscorp.com/elastomeric-material-solutions/poron-industrial-polyurethanes compliant foam] may be appropriate materials to serve this purpose. This material should not be flammable. If the material is heat insulating, it is important to address thermal management.&lt;br /&gt;
&lt;br /&gt;
===== Compression =====&lt;br /&gt;
Compression is required to prevent premature failure of the cell. Without compression electrolyte will become unevenly distributed, causing current gradients in the cell and uneven heating. Local temperatures can become high enough to form gas formation leading to cells &#039;puffing up&#039; even when the pack is otherwise held within temperature and voltage constraints. This will be exacerbated in packs with otherwise poor thermal management. Compression forces gas generated to the margins of the cell, outside of the cell stack, minimising its effect cell performance. Gas in the middle cells will create a dead space which does not store or release energy.&lt;br /&gt;
&lt;br /&gt;
There is ~1% expansion through a discharge cycle. As the cell ages, the nominal cell thickness can grow by 3-5%. For A123 cells the ideal pressure is between 4 and 18psi with the ideal pressure being ~12psi. Maintaining 12psi can increase the life by 500 cycles over that of 4 or 18psi&lt;br /&gt;
&lt;br /&gt;
There is some suggestion that in uses where 1C is never exceeded compression &#039;&#039;may&#039;&#039; not be required.&lt;br /&gt;
&lt;br /&gt;
Highly rigid endplates with a mechanism to allow for a limited degree of expansion (e.g. steel bands) are considered an effective solution to this challenge.&lt;br /&gt;
&lt;br /&gt;
It should be noted that compression is a challenge specific to pouch cells. Cylindrical cells are designed to maintain their own compression within the cell&#039;s electrode stack by their design.&lt;br /&gt;
&lt;br /&gt;
This thread provides more information and experimentation relating to pack compression: &amp;lt;nowiki&amp;gt;https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=52244&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Pouch Cell Pack Design Examples =====&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;placeholder*&lt;br /&gt;
&lt;br /&gt;
===== Notes regarding recycled pouch cells =====&lt;br /&gt;
Pouch cells are somewhat fragile, and breaching the insulation is not difficult, especially in a cells removed from existing packs and repurposed. If the pouch has had their poly-layers compromised you may see a number of faults:&lt;br /&gt;
* Black spots around the perimeter of the cell indicate electrolyte leakage&lt;br /&gt;
* Voltage on the outside of the bag. Note that microvoltage between the pouch and the electrode is normal (and due to a capacitive effect).&lt;br /&gt;
While the majority of these cells should no longer be in the market, a significant number of faulty cells made it back into the &#039;greymarket&#039; in around 2013. These cells had misaligned tabs which can also lead to isolation failures between the tab and the pack. These cells should be avoided, particularly in high demand applications.&lt;br /&gt;
&lt;br /&gt;
===== Situations likely to cause pouch cell failure =====&lt;br /&gt;
&#039;&#039;Taken directly from [https://endless-sphere.com/forums/memberlist.php?mode=viewprofile&amp;amp;u=33107 wb9k]&#039;s post on endless sphere in the [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761 A123 thread]&#039;&#039;&lt;br /&gt;
# &#039;&#039;&#039;Overcharge&#039;&#039;&#039;. Any extended time above 3.8 Volts will generate enough heat and electrochemical activity to puff a cell, especially one that is improperly compressed.&lt;br /&gt;
# &#039;&#039;&#039;Overdischarge followed by charge&#039;&#039;&#039;. Any A123 cell that has been pulled low enough to come to rest at &amp;lt;300 mV should be immediately scrapped. The published number for that is 500 mV, but the real figure is closer to 300, so that&#039;s a &amp;quot;safety buffer&amp;quot; if you will. Below this Voltage, the Cu electrodes start to dissolve into the electrolyte. When charge is applied, the Cu forms dendrites that puncture the separator layer, forming an internal short in the cell. This can puff a cell in a hurry---the more charge current on tap, the worse it&#039;s prone to be.&lt;br /&gt;
# &#039;&#039;&#039;Driving a cell negative&#039;&#039;&#039;. I&#039;ve neglected to mention this before, but it is a possibility. I don&#039;t know much about the specific mechanism at this time.&lt;br /&gt;
# &#039;&#039;&#039;Malfunctioning or misinformed electronics&#039;&#039;&#039;. This is the most common cause of all of the above in my experience. At this stage of the game, it is critical for YOU to understand how your BMS functions on at least a cursory level. Choose your BMS very carefully and periodically verify that it is operating properly. They&#039;re not all created equal. Make sure V sense lines are securely connected and free of corrosion. Just because your BMS says there was never a problem doesn&#039;t necessarily make it so. Avoid harnesses or ribbon cables between multiple modules if possible--they are problematic wherever they are used in any mobile electronics.&lt;br /&gt;
# &#039;&#039;&#039;Exposure to or generation of sufficient heat&#039;&#039;&#039;. I don&#039;t know exactly at what temperature gas formation begins in the electrolyte, but we spec a max storage temp of 80 (or 85?) degrees C and I suspect this is the reason. The hotter, the puffier--to a point. This is why soldering tabs poses a real hazard to cell health. If you feel you must solder, sink or blow the heat away from the body of the cell. Use a big iron that can make sufficient local heat quickly, before the whole mass of the cell gets hot. You might even get the cell warm enough to melt separator if not careful.&lt;br /&gt;
# &#039;&#039;&#039;No compression, not enough compression, improperly distributed compression&#039;&#039;&#039;. This is a pack/module design issue. Apply 10, maybe 15 psi to your cell stack end to end and then band snugly and evenly. Use hard endplates of some sort--never wrap cells directly or allow their shape to become distorted. Protect all areas of the pouch from impact damage. This obviously does not apply to cylindrical cells.&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; prismatic cells ====&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;placeholder*&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; cylindrical cells ====&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;placeholder*&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; cell ageing ====&lt;br /&gt;
&#039;&#039;Derived (barely paraphrased) from [https://endless-sphere.com/forums/memberlist.php?mode=viewprofile&amp;amp;u=33107 wb9k]&#039;s post on endless sphere in the [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761 A123 thread]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Capacity loss is caused by the lithium that was available for storage becoming permanently plated on the cathode. Being unable to move within the cell it is no longer available to store energy. The impact of this plating is greater than the amount of lithium &#039;lost&#039; to plating because not only is the lithium no longer available, it is also preventing access to that part of the cathode meaning Li that can still move has to take a longer path to reach the cathode. Lithium plating is one cause of increased cell resistance (there are others), a sign of worsening cell health.&lt;br /&gt;
&lt;br /&gt;
There is no linear relationship between actual capacity loss and impedance rise. However some cell defects will also increase impedance.&lt;br /&gt;
&lt;br /&gt;
Increasing cell resistance may cause a number of symptoms which may be confused with [https://earthshipbiotecture.com/a-lithium-ion-battery-primer/ High Self Discharge.]&lt;br /&gt;
# Elevated Peukert Losses. As more energy per amount of current through the cell is lost as heat, the cells useable capacity decreases. So the apparent capacity loss is higher than the actual capacity loss of cycleable lithium. When used in low current applications (e.g. solar energy storage) the actual and apparent decrease in capacity will be small. In high current draw applications (like EV traction packs), the Peukert loss increases proportionally, so the apparent capacity loss increases much faster than the actual capacity loss.&lt;br /&gt;
# Greater voltage excursion under the same load. Due to increased cell resistancethe voltage will sag further under the same load than a cell in optimal condition. The inverse is also true, the voltage will be higher for the same amount of charging current applied. The cell will then rebound to a voltage further from the loaded and charging voltages. This, obviously, can look like high self discharge but is a different phenomenon.&lt;br /&gt;
# Absolute maximum current decrease.&lt;br /&gt;
Elevated impedance causes a more complex constellation of symptoms, some of which may be easy to confuse with High Self Discharge (HSD). Ohm&#039;s law (E=I/R) holds the key to understanding here.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1) Elevated Peukert losses.&#039;&#039;&#039; Because more energy per unit of current through the cell is lost as heat, less of the cell&#039;s capacity is actually USABLE. Thus, apparent capacity loss can be significantly greater than actual capacity loss caused by the loss of cycleable Li alone. In low current applications, the two numbers will be close together. In high current applications, Peukert losses increase in proportion, so apparent loss of capacity breaks further and further away from actual capacity loss as current increases.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2) Greater voltage excursion under the same load.&#039;&#039;&#039; Elevated resistance across the cell means that voltage will sag more under the same load than it did when the cell was healthier. Conversely, voltage will rise higher with the same amount of applied charge current than it did when it was healthier. At the same time, rebound/settling voltages will be further away from loaded/charging voltages. In other words, the cell will rebound to a voltage further away from loaded voltage, all else being equal. Similarly, voltage will settle farther from the charge voltage with the same charge applied. This can give the illusion of elevated self-discharge, but the phenomenon is actually not the same thing. Again, the greater the charge and load currents, the greater the effect becomes.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3) Absolute max current decreases.&#039;&#039;&#039; Because the cell&#039;s series resistance is elevated, the maximum possible current through the cell is decreased.&lt;br /&gt;
&lt;br /&gt;
Just to confuse things further, there can be many factors that lead to impedance rise. Some are related to Li plating, others are not.&lt;br /&gt;
&lt;br /&gt;
=== Lithium-ion ===&lt;br /&gt;
Lithium-ion (Li-ion) batteries have a greater energy density than Lithium Iron Phosphate batteries, but have more challenging needs to use safely. The ideal operating range of Li-ion batteries is between +15 and +45°C. The upper limit of temperature is particularly important as Li-ion batteries experience thermal runaway - an unstoppable chain reaction that can occur in milliseconds releasing the stored energy in the cell. This can produce temperatures of 400°C and a fire that is extremely difficult to put out. Thermal runaway can start as low as 60°C and becomes much more likely at 100°C&lt;br /&gt;
&lt;br /&gt;
Risk factors for thermal runaway:&lt;br /&gt;
* Short Circuits - either internally or externally&lt;br /&gt;
* Overcharging&lt;br /&gt;
* Excessive current draw or when charging&lt;br /&gt;
&lt;br /&gt;
==== Li-ion pouch cells ====&lt;br /&gt;
[https://kokam.com/cell Kokam] produce high-performance Li-ion pouch cells. These combine relative ease of use and pack construction with performance close to cylindrical cells. &lt;br /&gt;
&lt;br /&gt;
==== Li-ion 18650 and other cylindrical cells ====&lt;br /&gt;
Cylindrical cells are favoured by Tesla, and are probably the main reason why their cars achieve such excellent performance. They are light, compact, powerful and expensive. Unfortunately, cylindrical cells are  difficult (and potentially dangerous) to use in DIY conversions. There are two good reasons for this: thermal management and cell configuration.&lt;br /&gt;
&lt;br /&gt;
As stated above, Li-ion cells are prone to thermal runaway. So you need perfect battery and thermal management to ensure that no cell ever exceeds the critical voltage or temperature. If this happens, a cell can short-circuit internally, releasing a lot of energy - potentially explosively. Furthermore, the individual cells are small, so need to be arranged in parallel. In the case of the Tesla Model S 85kW pack, there are 74 cells in parallel. Imagine if one of those cells fails and becomes short circuited internally. You now have 73 very high power cells all feeding in to that short circuit...&lt;br /&gt;
&lt;br /&gt;
In fact, you don&#039;t have to imagine: you can watch this famous video instead (courtesy of Rich Rebuilds).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;youtube&amp;gt;WdDi1haA71Q&amp;lt;/youtube&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== OEM modules ==&lt;br /&gt;
Using an OEM module means a lot of the difficulties and safety issues associated with battery design are taken care of e.g. cooling, clamping, etc.&lt;br /&gt;
&lt;br /&gt;
Here is a handy list of OEM modules:&lt;br /&gt;
{| class=&amp;quot;wikitable sortable mw-collapsible&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!Manufacturer&lt;br /&gt;
!Model&lt;br /&gt;
!Capacity (kWh)&lt;br /&gt;
!Weight (kg)&lt;br /&gt;
!w (mm)&lt;br /&gt;
!d (mm)&lt;br /&gt;
!h (mm)&lt;br /&gt;
!Gravity (kg/kWh)&lt;br /&gt;
!Volume (L/kWh)&lt;br /&gt;
!Voltage (V)&lt;br /&gt;
!Current (cont A)&lt;br /&gt;
!Current (peak A)&lt;br /&gt;
!Cell arrangement&lt;br /&gt;
!Cell type&lt;br /&gt;
!Chemistry&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model S 85kWh&lt;br /&gt;
|5.3&lt;br /&gt;
|26&lt;br /&gt;
|690&lt;br /&gt;
|315&lt;br /&gt;
|80&lt;br /&gt;
|4.9&lt;br /&gt;
|3.3&lt;br /&gt;
|22.8&lt;br /&gt;
|500&lt;br /&gt;
|750&lt;br /&gt;
|74p6s&lt;br /&gt;
|18650&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model S 100kWh&lt;br /&gt;
|6.4&lt;br /&gt;
|28&lt;br /&gt;
|680&lt;br /&gt;
|315&lt;br /&gt;
|80&lt;br /&gt;
|4.4&lt;br /&gt;
|2.7&lt;br /&gt;
|22.8&lt;br /&gt;
|&lt;br /&gt;
|870&lt;br /&gt;
|86p6s&lt;br /&gt;
|18650&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model 3 LR (inner)&lt;br /&gt;
|19.2&lt;br /&gt;
|98.9&lt;br /&gt;
|1854&lt;br /&gt;
|292&lt;br /&gt;
|90&lt;br /&gt;
|5.2&lt;br /&gt;
|2.5&lt;br /&gt;
|91.1&lt;br /&gt;
|&lt;br /&gt;
|971&lt;br /&gt;
|46p25s&lt;br /&gt;
|2170&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model 3 LR (outer)&lt;br /&gt;
|17.7&lt;br /&gt;
|86.6&lt;br /&gt;
|1715&lt;br /&gt;
|292&lt;br /&gt;
|90&lt;br /&gt;
|4.9&lt;br /&gt;
|2.5&lt;br /&gt;
|83.9&lt;br /&gt;
|&lt;br /&gt;
|971&lt;br /&gt;
|46p23s&lt;br /&gt;
|2170&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model 3 SR (inner)&lt;br /&gt;
|13.0&lt;br /&gt;
|&lt;br /&gt;
|1854&lt;br /&gt;
|292&lt;br /&gt;
|90&lt;br /&gt;
|&lt;br /&gt;
|3.7&lt;br /&gt;
|91.1&lt;br /&gt;
|&lt;br /&gt;
|603&lt;br /&gt;
|31p25s&lt;br /&gt;
|2170&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model 3 SR (outer)&lt;br /&gt;
|12.0&lt;br /&gt;
|&lt;br /&gt;
|1715&lt;br /&gt;
|292&lt;br /&gt;
|90&lt;br /&gt;
|&lt;br /&gt;
|3.8&lt;br /&gt;
|83.9&lt;br /&gt;
|&lt;br /&gt;
|603&lt;br /&gt;
|31p23s&lt;br /&gt;
|2170&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Chevrolet&lt;br /&gt;
|Volt 2012&lt;br /&gt;
|4&lt;br /&gt;
|38&lt;br /&gt;
|470&lt;br /&gt;
|180&lt;br /&gt;
|280&lt;br /&gt;
|9.5&lt;br /&gt;
|5.9&lt;br /&gt;
|88&lt;br /&gt;
|140&lt;br /&gt;
|210&lt;br /&gt;
|24s&lt;br /&gt;
|Pouch&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|BMW&lt;br /&gt;
|i3 60Ah&lt;br /&gt;
|2&lt;br /&gt;
|13&lt;br /&gt;
|368&lt;br /&gt;
|178&lt;br /&gt;
|102&lt;br /&gt;
|6.5&lt;br /&gt;
|3.3&lt;br /&gt;
|28.8&lt;br /&gt;
|210&lt;br /&gt;
|350&lt;br /&gt;
|2p8s&lt;br /&gt;
|Prismatic&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|BMW&lt;br /&gt;
|i3 94Ah&lt;br /&gt;
|4.15&lt;br /&gt;
|28&lt;br /&gt;
|410&lt;br /&gt;
|310&lt;br /&gt;
|150&lt;br /&gt;
|6.7&lt;br /&gt;
|4.6&lt;br /&gt;
|45.6&lt;br /&gt;
|&lt;br /&gt;
|409&lt;br /&gt;
|12s&lt;br /&gt;
|Prismatic&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|BMW&lt;br /&gt;
|i3 120Ah&lt;br /&gt;
|5.3&lt;br /&gt;
|28&lt;br /&gt;
|410&lt;br /&gt;
|310&lt;br /&gt;
|150&lt;br /&gt;
|5.3&lt;br /&gt;
|3.6&lt;br /&gt;
|45.6&lt;br /&gt;
|&lt;br /&gt;
|360&lt;br /&gt;
|12s&lt;br /&gt;
|Prismatic&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Jaguar&lt;br /&gt;
|iPace&lt;br /&gt;
|2.5&lt;br /&gt;
|12&lt;br /&gt;
|340&lt;br /&gt;
|155&lt;br /&gt;
|112&lt;br /&gt;
|4.8&lt;br /&gt;
|2.4&lt;br /&gt;
|10.8&lt;br /&gt;
|720&lt;br /&gt;
|1200&lt;br /&gt;
|4p3s&lt;br /&gt;
|Pouch&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Mitsubishi&lt;br /&gt;
|Outlander&lt;br /&gt;
|2.4&lt;br /&gt;
|26&lt;br /&gt;
|646&lt;br /&gt;
|184&lt;br /&gt;
|130&lt;br /&gt;
|10.8&lt;br /&gt;
|6.4&lt;br /&gt;
|60&lt;br /&gt;
|&lt;br /&gt;
|240&lt;br /&gt;
|16s&lt;br /&gt;
|&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Nissan&lt;br /&gt;
|Leaf 24kWh&lt;br /&gt;
|0.5&lt;br /&gt;
|3.65&lt;br /&gt;
|300&lt;br /&gt;
|222&lt;br /&gt;
|34&lt;br /&gt;
|7.3&lt;br /&gt;
|4.5&lt;br /&gt;
|7.2&lt;br /&gt;
|130&lt;br /&gt;
|228&lt;br /&gt;
|2p2s&lt;br /&gt;
|Pouch&lt;br /&gt;
|Li-ion LMO&lt;br /&gt;
|-&lt;br /&gt;
|Nissan&lt;br /&gt;
|Leaf 30kWh&lt;br /&gt;
|1.25&lt;br /&gt;
|&lt;br /&gt;
|300&lt;br /&gt;
|222&lt;br /&gt;
|34&lt;br /&gt;
|&lt;br /&gt;
|3.6&lt;br /&gt;
|14.4&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|2p4s&lt;br /&gt;
|Pouch&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Nissan&lt;br /&gt;
|Leaf 40kWh&lt;br /&gt;
|1.6&lt;br /&gt;
|8.7&lt;br /&gt;
|300&lt;br /&gt;
|222&lt;br /&gt;
|68&lt;br /&gt;
|5.4&lt;br /&gt;
|2.8&lt;br /&gt;
|14.4&lt;br /&gt;
|&lt;br /&gt;
|314&lt;br /&gt;
|2p4s&lt;br /&gt;
|Pouch&lt;br /&gt;
|Li-ion NMC&lt;br /&gt;
|-&lt;br /&gt;
|Nissan&lt;br /&gt;
|Leaf 62kWh&lt;br /&gt;
|2.58&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|14.4&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|3p4s&lt;br /&gt;
|&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Volvo&lt;br /&gt;
|XC90 T8&lt;br /&gt;
|2.01&lt;br /&gt;
|12.1&lt;br /&gt;
|300&lt;br /&gt;
|180&lt;br /&gt;
|150&lt;br /&gt;
|6.0&lt;br /&gt;
|4.0&lt;br /&gt;
|59.2&lt;br /&gt;
|170&lt;br /&gt;
|340&lt;br /&gt;
|16s&lt;br /&gt;
|&lt;br /&gt;
|Li-ion&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Clanger9</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Batteries&amp;diff=1185</id>
		<title>Batteries</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Batteries&amp;diff=1185"/>
		<updated>2020-12-07T08:45:19Z</updated>

		<summary type="html">&lt;p&gt;Clanger9: /* Capacity (kWh) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
There are a wide variety of battery chemistries available for use as the main traction battery of an EV. To use each chemistry safely, and to ensure an adequate service life from the battery pack it is important to understand the requirements for the chemistry you are using. Failure to do so may lead to premature or catastrophic failure of the pack.&lt;br /&gt;
&lt;br /&gt;
Good pack design will allow for a nominal amount of abuse. People make mistakes and the pack should allow a margin for safety - and for longevity!&lt;br /&gt;
&lt;br /&gt;
== Battery pack specification ==&lt;br /&gt;
When deciding on your battery pack, here are some basic parameters to consider:&lt;br /&gt;
&lt;br /&gt;
=== Capacity (kWh) ===&lt;br /&gt;
&#039;&#039;&#039;How far do you want to go?&#039;&#039;&#039; A standard  car conversion will need a kWh for each 3, maybe 4 miles of range (very approximately). For a middleweight motorcycle, a kWh should give around 9 miles. Your mileage may vary, &#039;&#039;as they say.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Voltage (V) ===&lt;br /&gt;
&#039;&#039;&#039;How fast do you want to go?&#039;&#039;&#039; The pack voltage defines the maximum speed your motor can spin. Motors are usually specified with &amp;quot;KV&amp;quot; - or RPM-per-volt. Check the KV of your motor and how fast it needs to spin to get your desired top speed. e.g. if you need 3,000 RPM from a 25 KV motor then your pack voltage needs to be  3,000 / 25 = 120 V. The exact number of cells in series you need depends on the cell design, but 3.8 V for Li-ion and 3.2 V for LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; is a reasonable guess.&lt;br /&gt;
&lt;br /&gt;
=== Maximum current (A) ===&lt;br /&gt;
&#039;&#039;&#039;How quickly do you want to accelerate?&#039;&#039;&#039; Your motor&#039;s maximum power will be specified in kW. To estimate your maximum current draw, divide the peak power by the battery voltage. e.g. a 30 kW motor with a 120 V battery pack will pull 30,000 / 120 = 250 A. The higher the current rating of the cells, the heavier they will be for a given capacity. Ideally, you want &amp;quot;enough&amp;quot; current capacity for full throttle acceleration, but no more. You can put cells in parallel to double the current rating of your pack (which of course will half the voltage). &lt;br /&gt;
&lt;br /&gt;
=== Mass (kg) ===&lt;br /&gt;
&#039;&#039;&#039;Can your vehicle carry the weight?&#039;&#039;&#039; You&#039;ll need to keep the kerb weight within the original design limits. For a car, this could be a few hundred kg. For a motorcycle, likely less than 100 kg. This is a huge variable - and each new generation of battery tech seems to be a little lighter. For older EV or hybrid batteries, you can reckon on approximately 10 kg/kWh. Nissan Leaf batteries are relatively light (7.5 kg/kWh). With the latest technology (e.g. Kokam pouch cells or 18650s), you can get this down to 5-6 kg/kWh.&lt;br /&gt;
&lt;br /&gt;
=== Volume (L) ===&lt;br /&gt;
&#039;&#039;&#039;Will it fit?&#039;&#039;&#039; Batteries are bulky. They are getting smaller, but finding enough space might be your biggest challenge. You could be looking at over 5 L/kWh for older EV or hybrid batteries. Current state-of-the-art is the Tesla Model 3, which gets this down to 2.5 L/kWh by using 2170 cylindrical cells.&lt;br /&gt;
&lt;br /&gt;
There is much, much more to battery design than this (e.g. maximum charge rate, terminations, cooling, clamping), but the above should help work out which options will or won&#039;t work for your project...&lt;br /&gt;
&lt;br /&gt;
== Cell chemistry ==&lt;br /&gt;
&lt;br /&gt;
=== Lithium Iron Phosphate (LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt;) ===&lt;br /&gt;
Lithium Iron Phosphate (also known as LFP, or LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt;) batteries offer a good compromise between safety, energy density and ease of use for DIY conversions. They are available in a number of formats, commonly pouch cells, prismatic cells and cylindrical cells.&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; pouch cells ====&lt;br /&gt;
The majority of this content is drawn from this thread: [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761&amp;amp;start=900 https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761] discussing the use of the A123 20Ah pouch cell. However, many of the general points apply equally to other similar pouch cells.&lt;br /&gt;
&lt;br /&gt;
===== General build requirements =====&lt;br /&gt;
Pouch cells are vulnerable to damage from debris, and must be held in compression (see the datasheet for your battery, but 10-12 psi is recommended for the A123 pouch cells as a guide). A rigid container capable of preventing damage and providing compression is therefore required. Be aware the cells expand and contract in use, so allowance for this must be included in the structure of the case.&lt;br /&gt;
&lt;br /&gt;
The pouch cells should be separated to prevent abrasion between cells, and also to avoid the development of hot spots. Prebuilt modules from A123 systems had thin foam sheets or heatsinks between each cell. Be sure to avoid any debris that could rub on the pouch surface, particularly if using recycled cells.&lt;br /&gt;
&lt;br /&gt;
Mylar, &#039;[https://www.americanmicroinc.com/fish-paper/ Fish paper]&#039; or a [https://www.rogerscorp.com/elastomeric-material-solutions/poron-industrial-polyurethanes compliant foam] may be appropriate materials to serve this purpose. This material should not be flammable. If the material is heat insulating, it is important to address thermal management.&lt;br /&gt;
&lt;br /&gt;
===== Compression =====&lt;br /&gt;
Compression is required to prevent premature failure of the cell. Without compression electrolyte will become unevenly distributed, causing current gradients in the cell and uneven heating. Local temperatures can become high enough to form gas formation leading to cells &#039;puffing up&#039; even when the pack is otherwise held within temperature and voltage constraints. This will be exacerbated in packs with otherwise poor thermal management. Compression forces gas generated to the margins of the cell, outside of the cell stack, minimising its effect cell performance. Gas in the middle cells will create a dead space which does not store or release energy.&lt;br /&gt;
&lt;br /&gt;
There is ~1% expansion through a discharge cycle. As the cell ages, the nominal cell thickness can grow by 3-5%. For A123 cells the ideal pressure is between 4 and 18psi with the ideal pressure being ~12psi. Maintaining 12psi can increase the life by 500 cycles over that of 4 or 18psi&lt;br /&gt;
&lt;br /&gt;
There is some suggestion that in uses where 1C is never exceeded compression &#039;&#039;may&#039;&#039; not be required.&lt;br /&gt;
&lt;br /&gt;
Highly rigid endplates with a mechanism to allow for a limited degree of expansion (e.g. steel bands) are considered an effective solution to this challenge.&lt;br /&gt;
&lt;br /&gt;
It should be noted that compression is a challenge specific to pouch cells. Cylindrical cells are designed to maintain their own compression within the cell&#039;s electrode stack by their design.&lt;br /&gt;
&lt;br /&gt;
This thread provides more information and experimentation relating to pack compression: &amp;lt;nowiki&amp;gt;https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=52244&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Pouch Cell Pack Design Examples =====&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;placeholder*&lt;br /&gt;
&lt;br /&gt;
===== Notes regarding recycled pouch cells =====&lt;br /&gt;
Pouch cells are somewhat fragile, and breaching the insulation is not difficult, especially in a cells removed from existing packs and repurposed. If the pouch has had their poly-layers compromised you may see a number of faults:&lt;br /&gt;
* Black spots around the perimeter of the cell indicate electrolyte leakage&lt;br /&gt;
* Voltage on the outside of the bag. Note that microvoltage between the pouch and the electrode is normal (and due to a capacitive effect).&lt;br /&gt;
While the majority of these cells should no longer be in the market, a significant number of faulty cells made it back into the &#039;greymarket&#039; in around 2013. These cells had misaligned tabs which can also lead to isolation failures between the tab and the pack. These cells should be avoided, particularly in high demand applications.&lt;br /&gt;
&lt;br /&gt;
===== Situations likely to cause pouch cell failure =====&lt;br /&gt;
&#039;&#039;Taken directly from [https://endless-sphere.com/forums/memberlist.php?mode=viewprofile&amp;amp;u=33107 wb9k]&#039;s post on endless sphere in the [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761 A123 thread]&#039;&#039;&lt;br /&gt;
# &#039;&#039;&#039;Overcharge&#039;&#039;&#039;. Any extended time above 3.8 Volts will generate enough heat and electrochemical activity to puff a cell, especially one that is improperly compressed.&lt;br /&gt;
# &#039;&#039;&#039;Overdischarge followed by charge&#039;&#039;&#039;. Any A123 cell that has been pulled low enough to come to rest at &amp;lt;300 mV should be immediately scrapped. The published number for that is 500 mV, but the real figure is closer to 300, so that&#039;s a &amp;quot;safety buffer&amp;quot; if you will. Below this Voltage, the Cu electrodes start to dissolve into the electrolyte. When charge is applied, the Cu forms dendrites that puncture the separator layer, forming an internal short in the cell. This can puff a cell in a hurry---the more charge current on tap, the worse it&#039;s prone to be.&lt;br /&gt;
# &#039;&#039;&#039;Driving a cell negative&#039;&#039;&#039;. I&#039;ve neglected to mention this before, but it is a possibility. I don&#039;t know much about the specific mechanism at this time.&lt;br /&gt;
# &#039;&#039;&#039;Malfunctioning or misinformed electronics&#039;&#039;&#039;. This is the most common cause of all of the above in my experience. At this stage of the game, it is critical for YOU to understand how your BMS functions on at least a cursory level. Choose your BMS very carefully and periodically verify that it is operating properly. They&#039;re not all created equal. Make sure V sense lines are securely connected and free of corrosion. Just because your BMS says there was never a problem doesn&#039;t necessarily make it so. Avoid harnesses or ribbon cables between multiple modules if possible--they are problematic wherever they are used in any mobile electronics.&lt;br /&gt;
# &#039;&#039;&#039;Exposure to or generation of sufficient heat&#039;&#039;&#039;. I don&#039;t know exactly at what temperature gas formation begins in the electrolyte, but we spec a max storage temp of 80 (or 85?) degrees C and I suspect this is the reason. The hotter, the puffier--to a point. This is why soldering tabs poses a real hazard to cell health. If you feel you must solder, sink or blow the heat away from the body of the cell. Use a big iron that can make sufficient local heat quickly, before the whole mass of the cell gets hot. You might even get the cell warm enough to melt separator if not careful.&lt;br /&gt;
# &#039;&#039;&#039;No compression, not enough compression, improperly distributed compression&#039;&#039;&#039;. This is a pack/module design issue. Apply 10, maybe 15 psi to your cell stack end to end and then band snugly and evenly. Use hard endplates of some sort--never wrap cells directly or allow their shape to become distorted. Protect all areas of the pouch from impact damage. This obviously does not apply to cylindrical cells.&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; prismatic cells ====&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;placeholder*&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; cylindrical cells ====&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;placeholder*&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; cell ageing ====&lt;br /&gt;
&#039;&#039;Derived (barely paraphrased) from [https://endless-sphere.com/forums/memberlist.php?mode=viewprofile&amp;amp;u=33107 wb9k]&#039;s post on endless sphere in the [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761 A123 thread]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Capacity loss is caused by the lithium that was available for storage becoming permanently plated on the cathode. Being unable to move within the cell it is no longer available to store energy. The impact of this plating is greater than the amount of lithium &#039;lost&#039; to plating because not only is the lithium no longer available, it is also preventing access to that part of the cathode meaning Li that can still move has to take a longer path to reach the cathode. Lithium plating is one cause of increased cell resistance (there are others), a sign of worsening cell health.&lt;br /&gt;
&lt;br /&gt;
There is no linear relationship between actual capacity loss and impedance rise. However some cell defects will also increase impedance.&lt;br /&gt;
&lt;br /&gt;
Increasing cell resistance may cause a number of symptoms which may be confused with [https://earthshipbiotecture.com/a-lithium-ion-battery-primer/ High Self Discharge.]&lt;br /&gt;
# Elevated Peukert Losses. As more energy per amount of current through the cell is lost as heat, the cells useable capacity decreases. So the apparent capacity loss is higher than the actual capacity loss of cycleable lithium. When used in low current applications (e.g. solar energy storage) the actual and apparent decrease in capacity will be small. In high current draw applications (like EV traction packs), the Peukert loss increases proportionally, so the apparent capacity loss increases much faster than the actual capacity loss.&lt;br /&gt;
# Greater voltage excursion under the same load. Due to increased cell resistancethe voltage will sag further under the same load than a cell in optimal condition. The inverse is also true, the voltage will be higher for the same amount of charging current applied. The cell will then rebound to a voltage further from the loaded and charging voltages. This, obviously, can look like high self discharge but is a different phenomenon.&lt;br /&gt;
# Absolute maximum current decrease.&lt;br /&gt;
Elevated impedance causes a more complex constellation of symptoms, some of which may be easy to confuse with High Self Discharge (HSD). Ohm&#039;s law (E=I/R) holds the key to understanding here.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1) Elevated Peukert losses.&#039;&#039;&#039; Because more energy per unit of current through the cell is lost as heat, less of the cell&#039;s capacity is actually USABLE. Thus, apparent capacity loss can be significantly greater than actual capacity loss caused by the loss of cycleable Li alone. In low current applications, the two numbers will be close together. In high current applications, Peukert losses increase in proportion, so apparent loss of capacity breaks further and further away from actual capacity loss as current increases.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2) Greater voltage excursion under the same load.&#039;&#039;&#039; Elevated resistance across the cell means that voltage will sag more under the same load than it did when the cell was healthier. Conversely, voltage will rise higher with the same amount of applied charge current than it did when it was healthier. At the same time, rebound/settling voltages will be further away from loaded/charging voltages. In other words, the cell will rebound to a voltage further away from loaded voltage, all else being equal. Similarly, voltage will settle farther from the charge voltage with the same charge applied. This can give the illusion of elevated self-discharge, but the phenomenon is actually not the same thing. Again, the greater the charge and load currents, the greater the effect becomes.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3) Absolute max current decreases.&#039;&#039;&#039; Because the cell&#039;s series resistance is elevated, the maximum possible current through the cell is decreased.&lt;br /&gt;
&lt;br /&gt;
Just to confuse things further, there can be many factors that lead to impedance rise. Some are related to Li plating, others are not.&lt;br /&gt;
&lt;br /&gt;
=== Lithium-ion ===&lt;br /&gt;
Lithium-ion (Li-ion) batteries have a greater energy density than Lithium Iron Phosphate batteries, but have more challenging needs to use safely. The ideal operating range of Li-ion batteries is between +15 and +45°C. The upper limit of temperature is particularly important as Li-ion batteries experience thermal runaway - an unstoppable chain reaction that can occur in milliseconds releasing the stored energy in the cell. This can produce temperatures of 400°C and a fire that is extremely difficult to put out. Thermal runaway can start as low as 60°C and becomes much more likely at 100°C&lt;br /&gt;
&lt;br /&gt;
Risk factors for thermal runaway:&lt;br /&gt;
* Short Circuits - either internally or externally&lt;br /&gt;
* Overcharging&lt;br /&gt;
* Excessive current draw or when charging&lt;br /&gt;
&lt;br /&gt;
==== Li-ion pouch cells ====&lt;br /&gt;
[https://kokam.com/cell Kokam] produce high-performance Li-ion pouch cells. These combine relative ease of use and pack construction with performance close to cylindrical cells. &lt;br /&gt;
&lt;br /&gt;
==== Li-ion 18650 and other cylindrical cells ====&lt;br /&gt;
Cylindrical cells are favoured by Tesla, and are probably the main reason why their cars achieve such excellent performance. They are light, compact, powerful and expensive. Unfortunately, cylindrical cells are  difficult (and potentially dangerous) to use in DIY conversions. There are two good reasons for this: thermal management and cell configuration.&lt;br /&gt;
&lt;br /&gt;
As stated above, Li-ion cells are prone to thermal runaway. So you need perfect battery and thermal management to ensure that no cell ever exceeds the critical voltage or temperature. If this happens, a cell can short-circuit internally, releasing a lot of energy - potentially explosively. Furthermore, the individual cells are small, so need to be arranged in parallel. In the case of the Tesla Model S 85kW pack, there are 74 cells in parallel. Imagine if one of those cells fails and becomes short circuited internally. You now have 73 very high power cells all feeding in to that short circuit...&lt;br /&gt;
&lt;br /&gt;
In fact, you don&#039;t have to imagine: you can watch this famous video instead (courtesy of Rich Rebuilds).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;youtube&amp;gt;WdDi1haA71Q&amp;lt;/youtube&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== OEM modules ==&lt;br /&gt;
Using an OEM module means a lot of the difficulties and safety issues associated with battery design are taken care of e.g. cooling, clamping, etc.&lt;br /&gt;
&lt;br /&gt;
Here is a handy list of OEM modules:&lt;br /&gt;
{| class=&amp;quot;wikitable sortable mw-collapsible&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!Manufacturer&lt;br /&gt;
!Model&lt;br /&gt;
!Capacity (kWh)&lt;br /&gt;
!Weight (kg)&lt;br /&gt;
!w (mm)&lt;br /&gt;
!d (mm)&lt;br /&gt;
!h (mm)&lt;br /&gt;
!Gravity (kg/kWh)&lt;br /&gt;
!Volume (L/kWh)&lt;br /&gt;
!Voltage (V)&lt;br /&gt;
!Current (cont A)&lt;br /&gt;
!Current (peak A)&lt;br /&gt;
!Cell arrangement&lt;br /&gt;
!Cell type&lt;br /&gt;
!Chemistry&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model S 85kWh&lt;br /&gt;
|5.3&lt;br /&gt;
|26&lt;br /&gt;
|690&lt;br /&gt;
|315&lt;br /&gt;
|80&lt;br /&gt;
|4.9&lt;br /&gt;
|3.3&lt;br /&gt;
|22.8&lt;br /&gt;
|500&lt;br /&gt;
|750&lt;br /&gt;
|74p6s&lt;br /&gt;
|18650&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model S 100kWh&lt;br /&gt;
|6.4&lt;br /&gt;
|28&lt;br /&gt;
|680&lt;br /&gt;
|315&lt;br /&gt;
|80&lt;br /&gt;
|4.4&lt;br /&gt;
|2.7&lt;br /&gt;
|22.8&lt;br /&gt;
|&lt;br /&gt;
|870&lt;br /&gt;
|86p6s&lt;br /&gt;
|18650&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model 3 LR (inner)&lt;br /&gt;
|19.2&lt;br /&gt;
|98.9&lt;br /&gt;
|1854&lt;br /&gt;
|292&lt;br /&gt;
|90&lt;br /&gt;
|5.2&lt;br /&gt;
|2.5&lt;br /&gt;
|91.1&lt;br /&gt;
|&lt;br /&gt;
|971&lt;br /&gt;
|46p25s&lt;br /&gt;
|2170&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model 3 LR (outer)&lt;br /&gt;
|17.7&lt;br /&gt;
|86.6&lt;br /&gt;
|1715&lt;br /&gt;
|292&lt;br /&gt;
|90&lt;br /&gt;
|4.9&lt;br /&gt;
|2.5&lt;br /&gt;
|83.9&lt;br /&gt;
|&lt;br /&gt;
|971&lt;br /&gt;
|46p23s&lt;br /&gt;
|2170&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model 3 SR (inner)&lt;br /&gt;
|13.0&lt;br /&gt;
|&lt;br /&gt;
|1854&lt;br /&gt;
|292&lt;br /&gt;
|90&lt;br /&gt;
|&lt;br /&gt;
|3.7&lt;br /&gt;
|91.1&lt;br /&gt;
|&lt;br /&gt;
|603&lt;br /&gt;
|31p25s&lt;br /&gt;
|2170&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model 3 SR (outer)&lt;br /&gt;
|12.0&lt;br /&gt;
|&lt;br /&gt;
|1715&lt;br /&gt;
|292&lt;br /&gt;
|90&lt;br /&gt;
|&lt;br /&gt;
|3.8&lt;br /&gt;
|83.9&lt;br /&gt;
|&lt;br /&gt;
|603&lt;br /&gt;
|31p23s&lt;br /&gt;
|2170&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Chevrolet&lt;br /&gt;
|Volt 2012&lt;br /&gt;
|4&lt;br /&gt;
|38&lt;br /&gt;
|470&lt;br /&gt;
|180&lt;br /&gt;
|280&lt;br /&gt;
|9.5&lt;br /&gt;
|5.9&lt;br /&gt;
|88&lt;br /&gt;
|140&lt;br /&gt;
|210&lt;br /&gt;
|24s&lt;br /&gt;
|Pouch&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|BMW&lt;br /&gt;
|i3 60Ah&lt;br /&gt;
|2&lt;br /&gt;
|13&lt;br /&gt;
|368&lt;br /&gt;
|178&lt;br /&gt;
|102&lt;br /&gt;
|6.5&lt;br /&gt;
|3.3&lt;br /&gt;
|28.8&lt;br /&gt;
|210&lt;br /&gt;
|350&lt;br /&gt;
|2p8s&lt;br /&gt;
|Prismatic&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|BMW&lt;br /&gt;
|i3 94Ah&lt;br /&gt;
|4.15&lt;br /&gt;
|28&lt;br /&gt;
|410&lt;br /&gt;
|310&lt;br /&gt;
|150&lt;br /&gt;
|6.7&lt;br /&gt;
|4.6&lt;br /&gt;
|45.6&lt;br /&gt;
|&lt;br /&gt;
|409&lt;br /&gt;
|12s&lt;br /&gt;
|Prismatic&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|BMW&lt;br /&gt;
|i3 120Ah&lt;br /&gt;
|5.3&lt;br /&gt;
|28&lt;br /&gt;
|410&lt;br /&gt;
|310&lt;br /&gt;
|150&lt;br /&gt;
|5.3&lt;br /&gt;
|3.6&lt;br /&gt;
|45.6&lt;br /&gt;
|&lt;br /&gt;
|360&lt;br /&gt;
|12s&lt;br /&gt;
|Prismatic&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Jaguar&lt;br /&gt;
|iPace&lt;br /&gt;
|2.5&lt;br /&gt;
|12&lt;br /&gt;
|340&lt;br /&gt;
|155&lt;br /&gt;
|112&lt;br /&gt;
|4.8&lt;br /&gt;
|2.4&lt;br /&gt;
|10.8&lt;br /&gt;
|720&lt;br /&gt;
|1200&lt;br /&gt;
|4p3s&lt;br /&gt;
|Pouch&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Mitsubishi&lt;br /&gt;
|Outlander&lt;br /&gt;
|2.4&lt;br /&gt;
|26&lt;br /&gt;
|646&lt;br /&gt;
|184&lt;br /&gt;
|130&lt;br /&gt;
|10.8&lt;br /&gt;
|6.4&lt;br /&gt;
|60&lt;br /&gt;
|&lt;br /&gt;
|240&lt;br /&gt;
|16s&lt;br /&gt;
|&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Nissan&lt;br /&gt;
|Leaf 24kWh&lt;br /&gt;
|0.5&lt;br /&gt;
|3.65&lt;br /&gt;
|300&lt;br /&gt;
|222&lt;br /&gt;
|34&lt;br /&gt;
|7.3&lt;br /&gt;
|4.5&lt;br /&gt;
|7.4&lt;br /&gt;
|130&lt;br /&gt;
|228&lt;br /&gt;
|2p2s&lt;br /&gt;
|Pouch&lt;br /&gt;
|Li-ion LMO&lt;br /&gt;
|-&lt;br /&gt;
|Nissan&lt;br /&gt;
|Leaf 40kWh&lt;br /&gt;
|1.6&lt;br /&gt;
|8.7&lt;br /&gt;
|300&lt;br /&gt;
|222&lt;br /&gt;
|68&lt;br /&gt;
|5.4&lt;br /&gt;
|2.8&lt;br /&gt;
|14.6&lt;br /&gt;
|&lt;br /&gt;
|314&lt;br /&gt;
|2p4s&lt;br /&gt;
|Pouch&lt;br /&gt;
|Li-ion NMC&lt;br /&gt;
|-&lt;br /&gt;
|Volvo&lt;br /&gt;
|XC90 T8&lt;br /&gt;
|2.01&lt;br /&gt;
|12.1&lt;br /&gt;
|300&lt;br /&gt;
|180&lt;br /&gt;
|150&lt;br /&gt;
|6.0&lt;br /&gt;
|4.0&lt;br /&gt;
|59.2&lt;br /&gt;
|170&lt;br /&gt;
|340&lt;br /&gt;
|16s&lt;br /&gt;
|&lt;br /&gt;
|Li-ion&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Clanger9</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Batteries&amp;diff=1184</id>
		<title>Batteries</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Batteries&amp;diff=1184"/>
		<updated>2020-12-06T18:35:38Z</updated>

		<summary type="html">&lt;p&gt;Clanger9: /* OEM modules */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
There are a wide variety of battery chemistries available for use as the main traction battery of an EV. To use each chemistry safely, and to ensure an adequate service life from the battery pack it is important to understand the requirements for the chemistry you are using. Failure to do so may lead to premature or catastrophic failure of the pack.&lt;br /&gt;
&lt;br /&gt;
Good pack design will allow for a nominal amount of abuse. People make mistakes and the pack should allow a margin for safety - and for longevity!&lt;br /&gt;
&lt;br /&gt;
== Battery pack specification ==&lt;br /&gt;
When deciding on your battery pack, here are some basic parameters to consider:&lt;br /&gt;
&lt;br /&gt;
=== Capacity (kWh) ===&lt;br /&gt;
&#039;&#039;&#039;How far do you want to go?&#039;&#039;&#039; A standard  car conversion will need a kWh for each 3 miles of range (very approximately). For a middleweight motorcycle, a kWh should give around 9 miles. Your mileage may vary, &#039;&#039;as they say.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Voltage (V) ===&lt;br /&gt;
&#039;&#039;&#039;How fast do you want to go?&#039;&#039;&#039; The pack voltage defines the maximum speed your motor can spin. Motors are usually specified with &amp;quot;KV&amp;quot; - or RPM-per-volt. Check the KV of your motor and how fast it needs to spin to get your desired top speed. e.g. if you need 3,000 RPM from a 25 KV motor then your pack voltage needs to be  3,000 / 25 = 120 V. The exact number of cells in series you need depends on the cell design, but 3.8 V for Li-ion and 3.2 V for LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; is a reasonable guess.&lt;br /&gt;
&lt;br /&gt;
=== Maximum current (A) ===&lt;br /&gt;
&#039;&#039;&#039;How quickly do you want to accelerate?&#039;&#039;&#039; Your motor&#039;s maximum power will be specified in kW. To estimate your maximum current draw, divide the peak power by the battery voltage. e.g. a 30 kW motor with a 120 V battery pack will pull 30,000 / 120 = 250 A. The higher the current rating of the cells, the heavier they will be for a given capacity. Ideally, you want &amp;quot;enough&amp;quot; current capacity for full throttle acceleration, but no more. You can put cells in parallel to double the current rating of your pack (which of course will half the voltage). &lt;br /&gt;
&lt;br /&gt;
=== Mass (kg) ===&lt;br /&gt;
&#039;&#039;&#039;Can your vehicle carry the weight?&#039;&#039;&#039; You&#039;ll need to keep the kerb weight within the original design limits. For a car, this could be a few hundred kg. For a motorcycle, likely less than 100 kg. This is a huge variable - and each new generation of battery tech seems to be a little lighter. For older EV or hybrid batteries, you can reckon on approximately 10 kg/kWh. Nissan Leaf batteries are relatively light (7.5 kg/kWh). With the latest technology (e.g. Kokam pouch cells or 18650s), you can get this down to 5-6 kg/kWh.&lt;br /&gt;
&lt;br /&gt;
=== Volume (L) ===&lt;br /&gt;
&#039;&#039;&#039;Will it fit?&#039;&#039;&#039; Batteries are bulky. They are getting smaller, but finding enough space might be your biggest challenge. You could be looking at over 5 L/kWh for older EV or hybrid batteries. Current state-of-the-art is the Tesla Model 3, which gets this down to 2.5 L/kWh by using 2170 cylindrical cells.&lt;br /&gt;
&lt;br /&gt;
There is much, much more to battery design than this (e.g. maximum charge rate, terminations, cooling, clamping), but the above should help work out which options will or won&#039;t work for your project...&lt;br /&gt;
&lt;br /&gt;
== Cell chemistry ==&lt;br /&gt;
&lt;br /&gt;
=== Lithium Iron Phosphate (LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt;) ===&lt;br /&gt;
Lithium Iron Phosphate (also known as LFP, or LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt;) batteries offer a good compromise between safety, energy density and ease of use for DIY conversions. They are available in a number of formats, commonly pouch cells, prismatic cells and cylindrical cells.&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; pouch cells ====&lt;br /&gt;
The majority of this content is drawn from this thread: [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761&amp;amp;start=900 https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761] discussing the use of the A123 20Ah pouch cell. However, many of the general points apply equally to other similar pouch cells.&lt;br /&gt;
&lt;br /&gt;
===== General build requirements =====&lt;br /&gt;
Pouch cells are vulnerable to damage from debris, and must be held in compression (see the datasheet for your battery, but 10-12 psi is recommended for the A123 pouch cells as a guide). A rigid container capable of preventing damage and providing compression is therefore required. Be aware the cells expand and contract in use, so allowance for this must be included in the structure of the case.&lt;br /&gt;
&lt;br /&gt;
The pouch cells should be separated to prevent abrasion between cells, and also to avoid the development of hot spots. Prebuilt modules from A123 systems had thin foam sheets or heatsinks between each cell. Be sure to avoid any debris that could rub on the pouch surface, particularly if using recycled cells.&lt;br /&gt;
&lt;br /&gt;
Mylar, &#039;[https://www.americanmicroinc.com/fish-paper/ Fish paper]&#039; or a [https://www.rogerscorp.com/elastomeric-material-solutions/poron-industrial-polyurethanes compliant foam] may be appropriate materials to serve this purpose. This material should not be flammable. If the material is heat insulating, it is important to address thermal management.&lt;br /&gt;
&lt;br /&gt;
===== Compression =====&lt;br /&gt;
Compression is required to prevent premature failure of the cell. Without compression electrolyte will become unevenly distributed, causing current gradients in the cell and uneven heating. Local temperatures can become high enough to form gas formation leading to cells &#039;puffing up&#039; even when the pack is otherwise held within temperature and voltage constraints. This will be exacerbated in packs with otherwise poor thermal management. Compression forces gas generated to the margins of the cell, outside of the cell stack, minimising its effect cell performance. Gas in the middle cells will create a dead space which does not store or release energy.&lt;br /&gt;
&lt;br /&gt;
There is ~1% expansion through a discharge cycle. As the cell ages, the nominal cell thickness can grow by 3-5%. For A123 cells the ideal pressure is between 4 and 18psi with the ideal pressure being ~12psi. Maintaining 12psi can increase the life by 500 cycles over that of 4 or 18psi&lt;br /&gt;
&lt;br /&gt;
There is some suggestion that in uses where 1C is never exceeded compression &#039;&#039;may&#039;&#039; not be required.&lt;br /&gt;
&lt;br /&gt;
Highly rigid endplates with a mechanism to allow for a limited degree of expansion (e.g. steel bands) are considered an effective solution to this challenge.&lt;br /&gt;
&lt;br /&gt;
It should be noted that compression is a challenge specific to pouch cells. Cylindrical cells are designed to maintain their own compression within the cell&#039;s electrode stack by their design.&lt;br /&gt;
&lt;br /&gt;
This thread provides more information and experimentation relating to pack compression: &amp;lt;nowiki&amp;gt;https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=52244&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Pouch Cell Pack Design Examples =====&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;placeholder*&lt;br /&gt;
&lt;br /&gt;
===== Notes regarding recycled pouch cells =====&lt;br /&gt;
Pouch cells are somewhat fragile, and breaching the insulation is not difficult, especially in a cells removed from existing packs and repurposed. If the pouch has had their poly-layers compromised you may see a number of faults:&lt;br /&gt;
* Black spots around the perimeter of the cell indicate electrolyte leakage&lt;br /&gt;
* Voltage on the outside of the bag. Note that microvoltage between the pouch and the electrode is normal (and due to a capacitive effect).&lt;br /&gt;
While the majority of these cells should no longer be in the market, a significant number of faulty cells made it back into the &#039;greymarket&#039; in around 2013. These cells had misaligned tabs which can also lead to isolation failures between the tab and the pack. These cells should be avoided, particularly in high demand applications.&lt;br /&gt;
&lt;br /&gt;
===== Situations likely to cause pouch cell failure =====&lt;br /&gt;
&#039;&#039;Taken directly from [https://endless-sphere.com/forums/memberlist.php?mode=viewprofile&amp;amp;u=33107 wb9k]&#039;s post on endless sphere in the [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761 A123 thread]&#039;&#039;&lt;br /&gt;
# &#039;&#039;&#039;Overcharge&#039;&#039;&#039;. Any extended time above 3.8 Volts will generate enough heat and electrochemical activity to puff a cell, especially one that is improperly compressed.&lt;br /&gt;
# &#039;&#039;&#039;Overdischarge followed by charge&#039;&#039;&#039;. Any A123 cell that has been pulled low enough to come to rest at &amp;lt;300 mV should be immediately scrapped. The published number for that is 500 mV, but the real figure is closer to 300, so that&#039;s a &amp;quot;safety buffer&amp;quot; if you will. Below this Voltage, the Cu electrodes start to dissolve into the electrolyte. When charge is applied, the Cu forms dendrites that puncture the separator layer, forming an internal short in the cell. This can puff a cell in a hurry---the more charge current on tap, the worse it&#039;s prone to be.&lt;br /&gt;
# &#039;&#039;&#039;Driving a cell negative&#039;&#039;&#039;. I&#039;ve neglected to mention this before, but it is a possibility. I don&#039;t know much about the specific mechanism at this time.&lt;br /&gt;
# &#039;&#039;&#039;Malfunctioning or misinformed electronics&#039;&#039;&#039;. This is the most common cause of all of the above in my experience. At this stage of the game, it is critical for YOU to understand how your BMS functions on at least a cursory level. Choose your BMS very carefully and periodically verify that it is operating properly. They&#039;re not all created equal. Make sure V sense lines are securely connected and free of corrosion. Just because your BMS says there was never a problem doesn&#039;t necessarily make it so. Avoid harnesses or ribbon cables between multiple modules if possible--they are problematic wherever they are used in any mobile electronics.&lt;br /&gt;
# &#039;&#039;&#039;Exposure to or generation of sufficient heat&#039;&#039;&#039;. I don&#039;t know exactly at what temperature gas formation begins in the electrolyte, but we spec a max storage temp of 80 (or 85?) degrees C and I suspect this is the reason. The hotter, the puffier--to a point. This is why soldering tabs poses a real hazard to cell health. If you feel you must solder, sink or blow the heat away from the body of the cell. Use a big iron that can make sufficient local heat quickly, before the whole mass of the cell gets hot. You might even get the cell warm enough to melt separator if not careful.&lt;br /&gt;
# &#039;&#039;&#039;No compression, not enough compression, improperly distributed compression&#039;&#039;&#039;. This is a pack/module design issue. Apply 10, maybe 15 psi to your cell stack end to end and then band snugly and evenly. Use hard endplates of some sort--never wrap cells directly or allow their shape to become distorted. Protect all areas of the pouch from impact damage. This obviously does not apply to cylindrical cells.&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; prismatic cells ====&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;placeholder*&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; cylindrical cells ====&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;placeholder*&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; cell ageing ====&lt;br /&gt;
&#039;&#039;Derived (barely paraphrased) from [https://endless-sphere.com/forums/memberlist.php?mode=viewprofile&amp;amp;u=33107 wb9k]&#039;s post on endless sphere in the [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761 A123 thread]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Capacity loss is caused by the lithium that was available for storage becoming permanently plated on the cathode. Being unable to move within the cell it is no longer available to store energy. The impact of this plating is greater than the amount of lithium &#039;lost&#039; to plating because not only is the lithium no longer available, it is also preventing access to that part of the cathode meaning Li that can still move has to take a longer path to reach the cathode. Lithium plating is one cause of increased cell resistance (there are others), a sign of worsening cell health.&lt;br /&gt;
&lt;br /&gt;
There is no linear relationship between actual capacity loss and impedance rise. However some cell defects will also increase impedance.&lt;br /&gt;
&lt;br /&gt;
Increasing cell resistance may cause a number of symptoms which may be confused with [https://earthshipbiotecture.com/a-lithium-ion-battery-primer/ High Self Discharge.]&lt;br /&gt;
# Elevated Peukert Losses. As more energy per amount of current through the cell is lost as heat, the cells useable capacity decreases. So the apparent capacity loss is higher than the actual capacity loss of cycleable lithium. When used in low current applications (e.g. solar energy storage) the actual and apparent decrease in capacity will be small. In high current draw applications (like EV traction packs), the Peukert loss increases proportionally, so the apparent capacity loss increases much faster than the actual capacity loss.&lt;br /&gt;
# Greater voltage excursion under the same load. Due to increased cell resistancethe voltage will sag further under the same load than a cell in optimal condition. The inverse is also true, the voltage will be higher for the same amount of charging current applied. The cell will then rebound to a voltage further from the loaded and charging voltages. This, obviously, can look like high self discharge but is a different phenomenon.&lt;br /&gt;
# Absolute maximum current decrease.&lt;br /&gt;
Elevated impedance causes a more complex constellation of symptoms, some of which may be easy to confuse with High Self Discharge (HSD). Ohm&#039;s law (E=I/R) holds the key to understanding here.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1) Elevated Peukert losses.&#039;&#039;&#039; Because more energy per unit of current through the cell is lost as heat, less of the cell&#039;s capacity is actually USABLE. Thus, apparent capacity loss can be significantly greater than actual capacity loss caused by the loss of cycleable Li alone. In low current applications, the two numbers will be close together. In high current applications, Peukert losses increase in proportion, so apparent loss of capacity breaks further and further away from actual capacity loss as current increases.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2) Greater voltage excursion under the same load.&#039;&#039;&#039; Elevated resistance across the cell means that voltage will sag more under the same load than it did when the cell was healthier. Conversely, voltage will rise higher with the same amount of applied charge current than it did when it was healthier. At the same time, rebound/settling voltages will be further away from loaded/charging voltages. In other words, the cell will rebound to a voltage further away from loaded voltage, all else being equal. Similarly, voltage will settle farther from the charge voltage with the same charge applied. This can give the illusion of elevated self-discharge, but the phenomenon is actually not the same thing. Again, the greater the charge and load currents, the greater the effect becomes.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3) Absolute max current decreases.&#039;&#039;&#039; Because the cell&#039;s series resistance is elevated, the maximum possible current through the cell is decreased.&lt;br /&gt;
&lt;br /&gt;
Just to confuse things further, there can be many factors that lead to impedance rise. Some are related to Li plating, others are not.&lt;br /&gt;
&lt;br /&gt;
=== Lithium-ion ===&lt;br /&gt;
Lithium-ion (Li-ion) batteries have a greater energy density than Lithium Iron Phosphate batteries, but have more challenging needs to use safely. The ideal operating range of Li-ion batteries is between +15 and +45°C. The upper limit of temperature is particularly important as Li-ion batteries experience thermal runaway - an unstoppable chain reaction that can occur in milliseconds releasing the stored energy in the cell. This can produce temperatures of 400°C and a fire that is extremely difficult to put out. Thermal runaway can start as low as 60°C and becomes much more likely at 100°C&lt;br /&gt;
&lt;br /&gt;
Risk factors for thermal runaway:&lt;br /&gt;
* Short Circuits - either internally or externally&lt;br /&gt;
* Overcharging&lt;br /&gt;
* Excessive current draw or when charging&lt;br /&gt;
&lt;br /&gt;
==== Li-ion pouch cells ====&lt;br /&gt;
[https://kokam.com/cell Kokam] produce high-performance Li-ion pouch cells. These combine relative ease of use and pack construction with performance close to cylindrical cells. &lt;br /&gt;
&lt;br /&gt;
==== Li-ion 18650 and other cylindrical cells ====&lt;br /&gt;
Cylindrical cells are favoured by Tesla, and are probably the main reason why their cars achieve such excellent performance. They are light, compact, powerful and expensive. Unfortunately, cylindrical cells are  difficult (and potentially dangerous) to use in DIY conversions. There are two good reasons for this: thermal management and cell configuration.&lt;br /&gt;
&lt;br /&gt;
As stated above, Li-ion cells are prone to thermal runaway. So you need perfect battery and thermal management to ensure that no cell ever exceeds the critical voltage or temperature. If this happens, a cell can short-circuit internally, releasing a lot of energy - potentially explosively. Furthermore, the individual cells are small, so need to be arranged in parallel. In the case of the Tesla Model S 85kW pack, there are 74 cells in parallel. Imagine if one of those cells fails and becomes short circuited internally. You now have 73 very high power cells all feeding in to that short circuit...&lt;br /&gt;
&lt;br /&gt;
In fact, you don&#039;t have to imagine: you can watch this famous video instead (courtesy of Rich Rebuilds).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;youtube&amp;gt;WdDi1haA71Q&amp;lt;/youtube&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== OEM modules ==&lt;br /&gt;
Using an OEM module means a lot of the difficulties and safety issues associated with battery design are taken care of e.g. cooling, clamping, etc.&lt;br /&gt;
&lt;br /&gt;
Here is a handy list of OEM modules:&lt;br /&gt;
{| class=&amp;quot;wikitable sortable mw-collapsible&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!Manufacturer&lt;br /&gt;
!Model&lt;br /&gt;
!Capacity (kWh)&lt;br /&gt;
!Weight (kg)&lt;br /&gt;
!w (mm)&lt;br /&gt;
!d (mm)&lt;br /&gt;
!h (mm)&lt;br /&gt;
!Gravity (kg/kWh)&lt;br /&gt;
!Volume (L/kWh)&lt;br /&gt;
!Voltage (V)&lt;br /&gt;
!Current (cont A)&lt;br /&gt;
!Current (peak A)&lt;br /&gt;
!Cell arrangement&lt;br /&gt;
!Cell type&lt;br /&gt;
!Chemistry&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model S 85kWh&lt;br /&gt;
|5.3&lt;br /&gt;
|26&lt;br /&gt;
|690&lt;br /&gt;
|315&lt;br /&gt;
|80&lt;br /&gt;
|4.9&lt;br /&gt;
|3.3&lt;br /&gt;
|22.8&lt;br /&gt;
|500&lt;br /&gt;
|750&lt;br /&gt;
|74p6s&lt;br /&gt;
|18650&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model S 100kWh&lt;br /&gt;
|6.4&lt;br /&gt;
|28&lt;br /&gt;
|680&lt;br /&gt;
|315&lt;br /&gt;
|80&lt;br /&gt;
|4.4&lt;br /&gt;
|2.7&lt;br /&gt;
|22.8&lt;br /&gt;
|&lt;br /&gt;
|870&lt;br /&gt;
|86p6s&lt;br /&gt;
|18650&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model 3 LR (inner)&lt;br /&gt;
|19.2&lt;br /&gt;
|98.9&lt;br /&gt;
|1854&lt;br /&gt;
|292&lt;br /&gt;
|90&lt;br /&gt;
|5.2&lt;br /&gt;
|2.5&lt;br /&gt;
|91.1&lt;br /&gt;
|&lt;br /&gt;
|971&lt;br /&gt;
|46p25s&lt;br /&gt;
|2170&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model 3 LR (outer)&lt;br /&gt;
|17.7&lt;br /&gt;
|86.6&lt;br /&gt;
|1715&lt;br /&gt;
|292&lt;br /&gt;
|90&lt;br /&gt;
|4.9&lt;br /&gt;
|2.5&lt;br /&gt;
|83.9&lt;br /&gt;
|&lt;br /&gt;
|971&lt;br /&gt;
|46p23s&lt;br /&gt;
|2170&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model 3 SR (inner)&lt;br /&gt;
|13.0&lt;br /&gt;
|&lt;br /&gt;
|1854&lt;br /&gt;
|292&lt;br /&gt;
|90&lt;br /&gt;
|&lt;br /&gt;
|3.7&lt;br /&gt;
|91.1&lt;br /&gt;
|&lt;br /&gt;
|603&lt;br /&gt;
|31p25s&lt;br /&gt;
|2170&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model 3 SR (outer)&lt;br /&gt;
|12.0&lt;br /&gt;
|&lt;br /&gt;
|1715&lt;br /&gt;
|292&lt;br /&gt;
|90&lt;br /&gt;
|&lt;br /&gt;
|3.8&lt;br /&gt;
|83.9&lt;br /&gt;
|&lt;br /&gt;
|603&lt;br /&gt;
|31p23s&lt;br /&gt;
|2170&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Chevrolet&lt;br /&gt;
|Volt 2012&lt;br /&gt;
|4&lt;br /&gt;
|38&lt;br /&gt;
|470&lt;br /&gt;
|180&lt;br /&gt;
|280&lt;br /&gt;
|9.5&lt;br /&gt;
|5.9&lt;br /&gt;
|88&lt;br /&gt;
|140&lt;br /&gt;
|210&lt;br /&gt;
|24s&lt;br /&gt;
|Pouch&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|BMW&lt;br /&gt;
|i3 60Ah&lt;br /&gt;
|2&lt;br /&gt;
|13&lt;br /&gt;
|368&lt;br /&gt;
|178&lt;br /&gt;
|102&lt;br /&gt;
|6.5&lt;br /&gt;
|3.3&lt;br /&gt;
|28.8&lt;br /&gt;
|210&lt;br /&gt;
|350&lt;br /&gt;
|2p8s&lt;br /&gt;
|Prismatic&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|BMW&lt;br /&gt;
|i3 94Ah&lt;br /&gt;
|4.15&lt;br /&gt;
|28&lt;br /&gt;
|410&lt;br /&gt;
|310&lt;br /&gt;
|150&lt;br /&gt;
|6.7&lt;br /&gt;
|4.6&lt;br /&gt;
|45.6&lt;br /&gt;
|&lt;br /&gt;
|409&lt;br /&gt;
|12s&lt;br /&gt;
|Prismatic&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|BMW&lt;br /&gt;
|i3 120Ah&lt;br /&gt;
|5.3&lt;br /&gt;
|28&lt;br /&gt;
|410&lt;br /&gt;
|310&lt;br /&gt;
|150&lt;br /&gt;
|5.3&lt;br /&gt;
|3.6&lt;br /&gt;
|45.6&lt;br /&gt;
|&lt;br /&gt;
|360&lt;br /&gt;
|12s&lt;br /&gt;
|Prismatic&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Jaguar&lt;br /&gt;
|iPace&lt;br /&gt;
|2.5&lt;br /&gt;
|12&lt;br /&gt;
|340&lt;br /&gt;
|155&lt;br /&gt;
|112&lt;br /&gt;
|4.8&lt;br /&gt;
|2.4&lt;br /&gt;
|10.8&lt;br /&gt;
|720&lt;br /&gt;
|1200&lt;br /&gt;
|4p3s&lt;br /&gt;
|Pouch&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Mitsubishi&lt;br /&gt;
|Outlander&lt;br /&gt;
|2.4&lt;br /&gt;
|26&lt;br /&gt;
|646&lt;br /&gt;
|184&lt;br /&gt;
|130&lt;br /&gt;
|10.8&lt;br /&gt;
|6.4&lt;br /&gt;
|60&lt;br /&gt;
|&lt;br /&gt;
|240&lt;br /&gt;
|16s&lt;br /&gt;
|&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Nissan&lt;br /&gt;
|Leaf 24kWh&lt;br /&gt;
|0.5&lt;br /&gt;
|3.65&lt;br /&gt;
|300&lt;br /&gt;
|222&lt;br /&gt;
|34&lt;br /&gt;
|7.3&lt;br /&gt;
|4.5&lt;br /&gt;
|7.4&lt;br /&gt;
|130&lt;br /&gt;
|228&lt;br /&gt;
|2p2s&lt;br /&gt;
|Pouch&lt;br /&gt;
|Li-ion LMO&lt;br /&gt;
|-&lt;br /&gt;
|Nissan&lt;br /&gt;
|Leaf 40kWh&lt;br /&gt;
|1.6&lt;br /&gt;
|8.7&lt;br /&gt;
|300&lt;br /&gt;
|222&lt;br /&gt;
|68&lt;br /&gt;
|5.4&lt;br /&gt;
|2.8&lt;br /&gt;
|14.6&lt;br /&gt;
|&lt;br /&gt;
|314&lt;br /&gt;
|2p4s&lt;br /&gt;
|Pouch&lt;br /&gt;
|Li-ion NMC&lt;br /&gt;
|-&lt;br /&gt;
|Volvo&lt;br /&gt;
|XC90 T8&lt;br /&gt;
|2.01&lt;br /&gt;
|12.1&lt;br /&gt;
|300&lt;br /&gt;
|180&lt;br /&gt;
|150&lt;br /&gt;
|6.0&lt;br /&gt;
|4.0&lt;br /&gt;
|59.2&lt;br /&gt;
|170&lt;br /&gt;
|340&lt;br /&gt;
|16s&lt;br /&gt;
|&lt;br /&gt;
|Li-ion&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Clanger9</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Batteries&amp;diff=1183</id>
		<title>Batteries</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Batteries&amp;diff=1183"/>
		<updated>2020-12-06T18:33:26Z</updated>

		<summary type="html">&lt;p&gt;Clanger9: /* OEM modules */ Correct iPace entry&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
There are a wide variety of battery chemistries available for use as the main traction battery of an EV. To use each chemistry safely, and to ensure an adequate service life from the battery pack it is important to understand the requirements for the chemistry you are using. Failure to do so may lead to premature or catastrophic failure of the pack.&lt;br /&gt;
&lt;br /&gt;
Good pack design will allow for a nominal amount of abuse. People make mistakes and the pack should allow a margin for safety - and for longevity!&lt;br /&gt;
&lt;br /&gt;
== Battery pack specification ==&lt;br /&gt;
When deciding on your battery pack, here are some basic parameters to consider:&lt;br /&gt;
&lt;br /&gt;
=== Capacity (kWh) ===&lt;br /&gt;
&#039;&#039;&#039;How far do you want to go?&#039;&#039;&#039; A standard  car conversion will need a kWh for each 3 miles of range (very approximately). For a middleweight motorcycle, a kWh should give around 9 miles. Your mileage may vary, &#039;&#039;as they say.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Voltage (V) ===&lt;br /&gt;
&#039;&#039;&#039;How fast do you want to go?&#039;&#039;&#039; The pack voltage defines the maximum speed your motor can spin. Motors are usually specified with &amp;quot;KV&amp;quot; - or RPM-per-volt. Check the KV of your motor and how fast it needs to spin to get your desired top speed. e.g. if you need 3,000 RPM from a 25 KV motor then your pack voltage needs to be  3,000 / 25 = 120 V. The exact number of cells in series you need depends on the cell design, but 3.8 V for Li-ion and 3.2 V for LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; is a reasonable guess.&lt;br /&gt;
&lt;br /&gt;
=== Maximum current (A) ===&lt;br /&gt;
&#039;&#039;&#039;How quickly do you want to accelerate?&#039;&#039;&#039; Your motor&#039;s maximum power will be specified in kW. To estimate your maximum current draw, divide the peak power by the battery voltage. e.g. a 30 kW motor with a 120 V battery pack will pull 30,000 / 120 = 250 A. The higher the current rating of the cells, the heavier they will be for a given capacity. Ideally, you want &amp;quot;enough&amp;quot; current capacity for full throttle acceleration, but no more. You can put cells in parallel to double the current rating of your pack (which of course will half the voltage). &lt;br /&gt;
&lt;br /&gt;
=== Mass (kg) ===&lt;br /&gt;
&#039;&#039;&#039;Can your vehicle carry the weight?&#039;&#039;&#039; You&#039;ll need to keep the kerb weight within the original design limits. For a car, this could be a few hundred kg. For a motorcycle, likely less than 100 kg. This is a huge variable - and each new generation of battery tech seems to be a little lighter. For older EV or hybrid batteries, you can reckon on approximately 10 kg/kWh. Nissan Leaf batteries are relatively light (7.5 kg/kWh). With the latest technology (e.g. Kokam pouch cells or 18650s), you can get this down to 5-6 kg/kWh.&lt;br /&gt;
&lt;br /&gt;
=== Volume (L) ===&lt;br /&gt;
&#039;&#039;&#039;Will it fit?&#039;&#039;&#039; Batteries are bulky. They are getting smaller, but finding enough space might be your biggest challenge. You could be looking at over 5 L/kWh for older EV or hybrid batteries. Current state-of-the-art is the Tesla Model 3, which gets this down to 2.5 L/kWh by using 2170 cylindrical cells.&lt;br /&gt;
&lt;br /&gt;
There is much, much more to battery design than this (e.g. maximum charge rate, terminations, cooling, clamping), but the above should help work out which options will or won&#039;t work for your project...&lt;br /&gt;
&lt;br /&gt;
== Cell chemistry ==&lt;br /&gt;
&lt;br /&gt;
=== Lithium Iron Phosphate (LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt;) ===&lt;br /&gt;
Lithium Iron Phosphate (also known as LFP, or LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt;) batteries offer a good compromise between safety, energy density and ease of use for DIY conversions. They are available in a number of formats, commonly pouch cells, prismatic cells and cylindrical cells.&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; pouch cells ====&lt;br /&gt;
The majority of this content is drawn from this thread: [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761&amp;amp;start=900 https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761] discussing the use of the A123 20Ah pouch cell. However, many of the general points apply equally to other similar pouch cells.&lt;br /&gt;
&lt;br /&gt;
===== General build requirements =====&lt;br /&gt;
Pouch cells are vulnerable to damage from debris, and must be held in compression (see the datasheet for your battery, but 10-12 psi is recommended for the A123 pouch cells as a guide). A rigid container capable of preventing damage and providing compression is therefore required. Be aware the cells expand and contract in use, so allowance for this must be included in the structure of the case.&lt;br /&gt;
&lt;br /&gt;
The pouch cells should be separated to prevent abrasion between cells, and also to avoid the development of hot spots. Prebuilt modules from A123 systems had thin foam sheets or heatsinks between each cell. Be sure to avoid any debris that could rub on the pouch surface, particularly if using recycled cells.&lt;br /&gt;
&lt;br /&gt;
Mylar, &#039;[https://www.americanmicroinc.com/fish-paper/ Fish paper]&#039; or a [https://www.rogerscorp.com/elastomeric-material-solutions/poron-industrial-polyurethanes compliant foam] may be appropriate materials to serve this purpose. This material should not be flammable. If the material is heat insulating, it is important to address thermal management.&lt;br /&gt;
&lt;br /&gt;
===== Compression =====&lt;br /&gt;
Compression is required to prevent premature failure of the cell. Without compression electrolyte will become unevenly distributed, causing current gradients in the cell and uneven heating. Local temperatures can become high enough to form gas formation leading to cells &#039;puffing up&#039; even when the pack is otherwise held within temperature and voltage constraints. This will be exacerbated in packs with otherwise poor thermal management. Compression forces gas generated to the margins of the cell, outside of the cell stack, minimising its effect cell performance. Gas in the middle cells will create a dead space which does not store or release energy.&lt;br /&gt;
&lt;br /&gt;
There is ~1% expansion through a discharge cycle. As the cell ages, the nominal cell thickness can grow by 3-5%. For A123 cells the ideal pressure is between 4 and 18psi with the ideal pressure being ~12psi. Maintaining 12psi can increase the life by 500 cycles over that of 4 or 18psi&lt;br /&gt;
&lt;br /&gt;
There is some suggestion that in uses where 1C is never exceeded compression &#039;&#039;may&#039;&#039; not be required.&lt;br /&gt;
&lt;br /&gt;
Highly rigid endplates with a mechanism to allow for a limited degree of expansion (e.g. steel bands) are considered an effective solution to this challenge.&lt;br /&gt;
&lt;br /&gt;
It should be noted that compression is a challenge specific to pouch cells. Cylindrical cells are designed to maintain their own compression within the cell&#039;s electrode stack by their design.&lt;br /&gt;
&lt;br /&gt;
This thread provides more information and experimentation relating to pack compression: &amp;lt;nowiki&amp;gt;https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=52244&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Pouch Cell Pack Design Examples =====&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;placeholder*&lt;br /&gt;
&lt;br /&gt;
===== Notes regarding recycled pouch cells =====&lt;br /&gt;
Pouch cells are somewhat fragile, and breaching the insulation is not difficult, especially in a cells removed from existing packs and repurposed. If the pouch has had their poly-layers compromised you may see a number of faults:&lt;br /&gt;
* Black spots around the perimeter of the cell indicate electrolyte leakage&lt;br /&gt;
* Voltage on the outside of the bag. Note that microvoltage between the pouch and the electrode is normal (and due to a capacitive effect).&lt;br /&gt;
While the majority of these cells should no longer be in the market, a significant number of faulty cells made it back into the &#039;greymarket&#039; in around 2013. These cells had misaligned tabs which can also lead to isolation failures between the tab and the pack. These cells should be avoided, particularly in high demand applications.&lt;br /&gt;
&lt;br /&gt;
===== Situations likely to cause pouch cell failure =====&lt;br /&gt;
&#039;&#039;Taken directly from [https://endless-sphere.com/forums/memberlist.php?mode=viewprofile&amp;amp;u=33107 wb9k]&#039;s post on endless sphere in the [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761 A123 thread]&#039;&#039;&lt;br /&gt;
# &#039;&#039;&#039;Overcharge&#039;&#039;&#039;. Any extended time above 3.8 Volts will generate enough heat and electrochemical activity to puff a cell, especially one that is improperly compressed.&lt;br /&gt;
# &#039;&#039;&#039;Overdischarge followed by charge&#039;&#039;&#039;. Any A123 cell that has been pulled low enough to come to rest at &amp;lt;300 mV should be immediately scrapped. The published number for that is 500 mV, but the real figure is closer to 300, so that&#039;s a &amp;quot;safety buffer&amp;quot; if you will. Below this Voltage, the Cu electrodes start to dissolve into the electrolyte. When charge is applied, the Cu forms dendrites that puncture the separator layer, forming an internal short in the cell. This can puff a cell in a hurry---the more charge current on tap, the worse it&#039;s prone to be.&lt;br /&gt;
# &#039;&#039;&#039;Driving a cell negative&#039;&#039;&#039;. I&#039;ve neglected to mention this before, but it is a possibility. I don&#039;t know much about the specific mechanism at this time.&lt;br /&gt;
# &#039;&#039;&#039;Malfunctioning or misinformed electronics&#039;&#039;&#039;. This is the most common cause of all of the above in my experience. At this stage of the game, it is critical for YOU to understand how your BMS functions on at least a cursory level. Choose your BMS very carefully and periodically verify that it is operating properly. They&#039;re not all created equal. Make sure V sense lines are securely connected and free of corrosion. Just because your BMS says there was never a problem doesn&#039;t necessarily make it so. Avoid harnesses or ribbon cables between multiple modules if possible--they are problematic wherever they are used in any mobile electronics.&lt;br /&gt;
# &#039;&#039;&#039;Exposure to or generation of sufficient heat&#039;&#039;&#039;. I don&#039;t know exactly at what temperature gas formation begins in the electrolyte, but we spec a max storage temp of 80 (or 85?) degrees C and I suspect this is the reason. The hotter, the puffier--to a point. This is why soldering tabs poses a real hazard to cell health. If you feel you must solder, sink or blow the heat away from the body of the cell. Use a big iron that can make sufficient local heat quickly, before the whole mass of the cell gets hot. You might even get the cell warm enough to melt separator if not careful.&lt;br /&gt;
# &#039;&#039;&#039;No compression, not enough compression, improperly distributed compression&#039;&#039;&#039;. This is a pack/module design issue. Apply 10, maybe 15 psi to your cell stack end to end and then band snugly and evenly. Use hard endplates of some sort--never wrap cells directly or allow their shape to become distorted. Protect all areas of the pouch from impact damage. This obviously does not apply to cylindrical cells.&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; prismatic cells ====&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;placeholder*&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; cylindrical cells ====&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;placeholder*&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; cell ageing ====&lt;br /&gt;
&#039;&#039;Derived (barely paraphrased) from [https://endless-sphere.com/forums/memberlist.php?mode=viewprofile&amp;amp;u=33107 wb9k]&#039;s post on endless sphere in the [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761 A123 thread]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Capacity loss is caused by the lithium that was available for storage becoming permanently plated on the cathode. Being unable to move within the cell it is no longer available to store energy. The impact of this plating is greater than the amount of lithium &#039;lost&#039; to plating because not only is the lithium no longer available, it is also preventing access to that part of the cathode meaning Li that can still move has to take a longer path to reach the cathode. Lithium plating is one cause of increased cell resistance (there are others), a sign of worsening cell health.&lt;br /&gt;
&lt;br /&gt;
There is no linear relationship between actual capacity loss and impedance rise. However some cell defects will also increase impedance.&lt;br /&gt;
&lt;br /&gt;
Increasing cell resistance may cause a number of symptoms which may be confused with [https://earthshipbiotecture.com/a-lithium-ion-battery-primer/ High Self Discharge.]&lt;br /&gt;
# Elevated Peukert Losses. As more energy per amount of current through the cell is lost as heat, the cells useable capacity decreases. So the apparent capacity loss is higher than the actual capacity loss of cycleable lithium. When used in low current applications (e.g. solar energy storage) the actual and apparent decrease in capacity will be small. In high current draw applications (like EV traction packs), the Peukert loss increases proportionally, so the apparent capacity loss increases much faster than the actual capacity loss.&lt;br /&gt;
# Greater voltage excursion under the same load. Due to increased cell resistancethe voltage will sag further under the same load than a cell in optimal condition. The inverse is also true, the voltage will be higher for the same amount of charging current applied. The cell will then rebound to a voltage further from the loaded and charging voltages. This, obviously, can look like high self discharge but is a different phenomenon.&lt;br /&gt;
# Absolute maximum current decrease.&lt;br /&gt;
Elevated impedance causes a more complex constellation of symptoms, some of which may be easy to confuse with High Self Discharge (HSD). Ohm&#039;s law (E=I/R) holds the key to understanding here.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1) Elevated Peukert losses.&#039;&#039;&#039; Because more energy per unit of current through the cell is lost as heat, less of the cell&#039;s capacity is actually USABLE. Thus, apparent capacity loss can be significantly greater than actual capacity loss caused by the loss of cycleable Li alone. In low current applications, the two numbers will be close together. In high current applications, Peukert losses increase in proportion, so apparent loss of capacity breaks further and further away from actual capacity loss as current increases.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2) Greater voltage excursion under the same load.&#039;&#039;&#039; Elevated resistance across the cell means that voltage will sag more under the same load than it did when the cell was healthier. Conversely, voltage will rise higher with the same amount of applied charge current than it did when it was healthier. At the same time, rebound/settling voltages will be further away from loaded/charging voltages. In other words, the cell will rebound to a voltage further away from loaded voltage, all else being equal. Similarly, voltage will settle farther from the charge voltage with the same charge applied. This can give the illusion of elevated self-discharge, but the phenomenon is actually not the same thing. Again, the greater the charge and load currents, the greater the effect becomes.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3) Absolute max current decreases.&#039;&#039;&#039; Because the cell&#039;s series resistance is elevated, the maximum possible current through the cell is decreased.&lt;br /&gt;
&lt;br /&gt;
Just to confuse things further, there can be many factors that lead to impedance rise. Some are related to Li plating, others are not.&lt;br /&gt;
&lt;br /&gt;
=== Lithium-ion ===&lt;br /&gt;
Lithium-ion (Li-ion) batteries have a greater energy density than Lithium Iron Phosphate batteries, but have more challenging needs to use safely. The ideal operating range of Li-ion batteries is between +15 and +45°C. The upper limit of temperature is particularly important as Li-ion batteries experience thermal runaway - an unstoppable chain reaction that can occur in milliseconds releasing the stored energy in the cell. This can produce temperatures of 400°C and a fire that is extremely difficult to put out. Thermal runaway can start as low as 60°C and becomes much more likely at 100°C&lt;br /&gt;
&lt;br /&gt;
Risk factors for thermal runaway:&lt;br /&gt;
* Short Circuits - either internally or externally&lt;br /&gt;
* Overcharging&lt;br /&gt;
* Excessive current draw or when charging&lt;br /&gt;
&lt;br /&gt;
==== Li-ion pouch cells ====&lt;br /&gt;
[https://kokam.com/cell Kokam] produce high-performance Li-ion pouch cells. These combine relative ease of use and pack construction with performance close to cylindrical cells. &lt;br /&gt;
&lt;br /&gt;
==== Li-ion 18650 and other cylindrical cells ====&lt;br /&gt;
Cylindrical cells are favoured by Tesla, and are probably the main reason why their cars achieve such excellent performance. They are light, compact, powerful and expensive. Unfortunately, cylindrical cells are  difficult (and potentially dangerous) to use in DIY conversions. There are two good reasons for this: thermal management and cell configuration.&lt;br /&gt;
&lt;br /&gt;
As stated above, Li-ion cells are prone to thermal runaway. So you need perfect battery and thermal management to ensure that no cell ever exceeds the critical voltage or temperature. If this happens, a cell can short-circuit internally, releasing a lot of energy - potentially explosively. Furthermore, the individual cells are small, so need to be arranged in parallel. In the case of the Tesla Model S 85kW pack, there are 74 cells in parallel. Imagine if one of those cells fails and becomes short circuited internally. You now have 73 very high power cells all feeding in to that short circuit...&lt;br /&gt;
&lt;br /&gt;
In fact, you don&#039;t have to imagine: you can watch this famous video instead (courtesy of Rich Rebuilds).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;youtube&amp;gt;WdDi1haA71Q&amp;lt;/youtube&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== OEM modules ==&lt;br /&gt;
Using an OEM module means a lot of the difficulties and safety issues associated with battery design are taken care of e.g. cooling, clamping, etc.&lt;br /&gt;
&lt;br /&gt;
Here is a handy list of OEM modules:&lt;br /&gt;
{| class=&amp;quot;wikitable sortable mw-collapsible&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!Manufacturer&lt;br /&gt;
!Model&lt;br /&gt;
!Capacity (kWh)&lt;br /&gt;
!Weight (kg)&lt;br /&gt;
!w (mm)&lt;br /&gt;
!d (mm)&lt;br /&gt;
!h (mm)&lt;br /&gt;
!Gravity (kg/kWh)&lt;br /&gt;
!Volume (L/kWh)&lt;br /&gt;
!Voltage (V)&lt;br /&gt;
!Current (cont A)&lt;br /&gt;
!Current (peak A)&lt;br /&gt;
!Cell arrangement&lt;br /&gt;
!Cell type&lt;br /&gt;
!Chemistry&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model S 85kWh&lt;br /&gt;
|5.3&lt;br /&gt;
|26&lt;br /&gt;
|690&lt;br /&gt;
|315&lt;br /&gt;
|80&lt;br /&gt;
|4.9&lt;br /&gt;
|3.3&lt;br /&gt;
|22.8&lt;br /&gt;
|500&lt;br /&gt;
|750&lt;br /&gt;
|74p6s&lt;br /&gt;
|18650&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model S 100kWh&lt;br /&gt;
|6.4&lt;br /&gt;
|28&lt;br /&gt;
|680&lt;br /&gt;
|315&lt;br /&gt;
|80&lt;br /&gt;
|4.4&lt;br /&gt;
|2.7&lt;br /&gt;
|22.8&lt;br /&gt;
|&lt;br /&gt;
|870&lt;br /&gt;
|86p6s&lt;br /&gt;
|18650&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model 3 LR (inner)&lt;br /&gt;
|19.2&lt;br /&gt;
|98.9&lt;br /&gt;
|1854&lt;br /&gt;
|292&lt;br /&gt;
|90&lt;br /&gt;
|5.2&lt;br /&gt;
|2.5&lt;br /&gt;
|91.1&lt;br /&gt;
|&lt;br /&gt;
|971&lt;br /&gt;
|46p25s&lt;br /&gt;
|2170&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model 3 LR (outer)&lt;br /&gt;
|17.7&lt;br /&gt;
|86.6&lt;br /&gt;
|1715&lt;br /&gt;
|292&lt;br /&gt;
|90&lt;br /&gt;
|4.9&lt;br /&gt;
|2.5&lt;br /&gt;
|83.9&lt;br /&gt;
|&lt;br /&gt;
|971&lt;br /&gt;
|46p23s&lt;br /&gt;
|2170&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model 3 SR (inner)&lt;br /&gt;
|13.0&lt;br /&gt;
|&lt;br /&gt;
|1854&lt;br /&gt;
|292&lt;br /&gt;
|90&lt;br /&gt;
|&lt;br /&gt;
|3.7&lt;br /&gt;
|91.1&lt;br /&gt;
|&lt;br /&gt;
|603&lt;br /&gt;
|31p25s&lt;br /&gt;
|2170&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model 3 SR (outer)&lt;br /&gt;
|12.0&lt;br /&gt;
|&lt;br /&gt;
|1715&lt;br /&gt;
|292&lt;br /&gt;
|90&lt;br /&gt;
|&lt;br /&gt;
|3.8&lt;br /&gt;
|83.9&lt;br /&gt;
|&lt;br /&gt;
|603&lt;br /&gt;
|31p23s&lt;br /&gt;
|2170&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Chevrolet&lt;br /&gt;
|Volt 2012&lt;br /&gt;
|4&lt;br /&gt;
|38&lt;br /&gt;
|470&lt;br /&gt;
|180&lt;br /&gt;
|280&lt;br /&gt;
|9.5&lt;br /&gt;
|5.9&lt;br /&gt;
|88&lt;br /&gt;
|140&lt;br /&gt;
|210&lt;br /&gt;
|24s&lt;br /&gt;
|Pouch&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|BMW&lt;br /&gt;
|i3 60Ah&lt;br /&gt;
|2&lt;br /&gt;
|13&lt;br /&gt;
|368&lt;br /&gt;
|178&lt;br /&gt;
|102&lt;br /&gt;
|6.5&lt;br /&gt;
|3.3&lt;br /&gt;
|28.8&lt;br /&gt;
|210&lt;br /&gt;
|350&lt;br /&gt;
|8s2p&lt;br /&gt;
|Prismatic&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|BMW&lt;br /&gt;
|i3 94Ah&lt;br /&gt;
|4.15&lt;br /&gt;
|28&lt;br /&gt;
|410&lt;br /&gt;
|310&lt;br /&gt;
|150&lt;br /&gt;
|6.7&lt;br /&gt;
|4.6&lt;br /&gt;
|45.6&lt;br /&gt;
|&lt;br /&gt;
|409&lt;br /&gt;
|12s&lt;br /&gt;
|Prismatic&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|BMW&lt;br /&gt;
|i3 120Ah&lt;br /&gt;
|5.3&lt;br /&gt;
|28&lt;br /&gt;
|410&lt;br /&gt;
|310&lt;br /&gt;
|150&lt;br /&gt;
|5.3&lt;br /&gt;
|3.6&lt;br /&gt;
|45.6&lt;br /&gt;
|&lt;br /&gt;
|360&lt;br /&gt;
|12s&lt;br /&gt;
|Prismatic&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Jaguar&lt;br /&gt;
|iPace&lt;br /&gt;
|2.5&lt;br /&gt;
|12&lt;br /&gt;
|340&lt;br /&gt;
|155&lt;br /&gt;
|112&lt;br /&gt;
|4.8&lt;br /&gt;
|2.4&lt;br /&gt;
|10.8&lt;br /&gt;
|720&lt;br /&gt;
|1200&lt;br /&gt;
|3s4p&lt;br /&gt;
|Pouch&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Mitsubishi&lt;br /&gt;
|Outlander&lt;br /&gt;
|2.4&lt;br /&gt;
|26&lt;br /&gt;
|646&lt;br /&gt;
|184&lt;br /&gt;
|130&lt;br /&gt;
|10.8&lt;br /&gt;
|6.4&lt;br /&gt;
|60&lt;br /&gt;
|&lt;br /&gt;
|240&lt;br /&gt;
|16s&lt;br /&gt;
|&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Nissan&lt;br /&gt;
|Leaf 24kWh&lt;br /&gt;
|0.5&lt;br /&gt;
|3.65&lt;br /&gt;
|300&lt;br /&gt;
|222&lt;br /&gt;
|34&lt;br /&gt;
|7.3&lt;br /&gt;
|4.5&lt;br /&gt;
|7.4&lt;br /&gt;
|130&lt;br /&gt;
|228&lt;br /&gt;
|2s2p&lt;br /&gt;
|Pouch&lt;br /&gt;
|Li-ion LMO&lt;br /&gt;
|-&lt;br /&gt;
|Nissan&lt;br /&gt;
|Leaf 40kWh&lt;br /&gt;
|1.6&lt;br /&gt;
|8.7&lt;br /&gt;
|300&lt;br /&gt;
|222&lt;br /&gt;
|68&lt;br /&gt;
|5.4&lt;br /&gt;
|2.8&lt;br /&gt;
|14.6&lt;br /&gt;
|&lt;br /&gt;
|314&lt;br /&gt;
|4s2p&lt;br /&gt;
|Pouch&lt;br /&gt;
|Li-ion NMC&lt;br /&gt;
|-&lt;br /&gt;
|Volvo&lt;br /&gt;
|XC90 T8&lt;br /&gt;
|2.01&lt;br /&gt;
|12.1&lt;br /&gt;
|300&lt;br /&gt;
|180&lt;br /&gt;
|150&lt;br /&gt;
|6.0&lt;br /&gt;
|4.0&lt;br /&gt;
|59.2&lt;br /&gt;
|170&lt;br /&gt;
|340&lt;br /&gt;
|16s&lt;br /&gt;
|&lt;br /&gt;
|Li-ion&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Clanger9</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Batteries&amp;diff=1182</id>
		<title>Batteries</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Batteries&amp;diff=1182"/>
		<updated>2020-12-06T17:52:51Z</updated>

		<summary type="html">&lt;p&gt;Clanger9: /* OEM modules */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
There are a wide variety of battery chemistries available for use as the main traction battery of an EV. To use each chemistry safely, and to ensure an adequate service life from the battery pack it is important to understand the requirements for the chemistry you are using. Failure to do so may lead to premature or catastrophic failure of the pack.&lt;br /&gt;
&lt;br /&gt;
Good pack design will allow for a nominal amount of abuse. People make mistakes and the pack should allow a margin for safety - and for longevity!&lt;br /&gt;
&lt;br /&gt;
== Battery pack specification ==&lt;br /&gt;
When deciding on your battery pack, here are some basic parameters to consider:&lt;br /&gt;
&lt;br /&gt;
=== Capacity (kWh) ===&lt;br /&gt;
&#039;&#039;&#039;How far do you want to go?&#039;&#039;&#039; A standard  car conversion will need a kWh for each 3 miles of range (very approximately). For a middleweight motorcycle, a kWh should give around 9 miles. Your mileage may vary, &#039;&#039;as they say.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Voltage (V) ===&lt;br /&gt;
&#039;&#039;&#039;How fast do you want to go?&#039;&#039;&#039; The pack voltage defines the maximum speed your motor can spin. Motors are usually specified with &amp;quot;KV&amp;quot; - or RPM-per-volt. Check the KV of your motor and how fast it needs to spin to get your desired top speed. e.g. if you need 3,000 RPM from a 25 KV motor then your pack voltage needs to be  3,000 / 25 = 120 V. The exact number of cells in series you need depends on the cell design, but 3.8 V for Li-ion and 3.2 V for LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; is a reasonable guess.&lt;br /&gt;
&lt;br /&gt;
=== Maximum current (A) ===&lt;br /&gt;
&#039;&#039;&#039;How quickly do you want to accelerate?&#039;&#039;&#039; Your motor&#039;s maximum power will be specified in kW. To estimate your maximum current draw, divide the peak power by the battery voltage. e.g. a 30 kW motor with a 120 V battery pack will pull 30,000 / 120 = 250 A. The higher the current rating of the cells, the heavier they will be for a given capacity. Ideally, you want &amp;quot;enough&amp;quot; current capacity for full throttle acceleration, but no more. You can put cells in parallel to double the current rating of your pack (which of course will half the voltage). &lt;br /&gt;
&lt;br /&gt;
=== Mass (kg) ===&lt;br /&gt;
&#039;&#039;&#039;Can your vehicle carry the weight?&#039;&#039;&#039; You&#039;ll need to keep the kerb weight within the original design limits. For a car, this could be a few hundred kg. For a motorcycle, likely less than 100 kg. This is a huge variable - and each new generation of battery tech seems to be a little lighter. For older EV or hybrid batteries, you can reckon on approximately 10 kg/kWh. Nissan Leaf batteries are relatively light (7.5 kg/kWh). With the latest technology (e.g. Kokam pouch cells or 18650s), you can get this down to 5-6 kg/kWh.&lt;br /&gt;
&lt;br /&gt;
=== Volume (L) ===&lt;br /&gt;
&#039;&#039;&#039;Will it fit?&#039;&#039;&#039; Batteries are bulky. They are getting smaller, but finding enough space might be your biggest challenge. You could be looking at over 5 L/kWh for older EV or hybrid batteries. Current state-of-the-art is the Tesla Model 3, which gets this down to 2.5 L/kWh by using 2170 cylindrical cells.&lt;br /&gt;
&lt;br /&gt;
There is much, much more to battery design than this (e.g. maximum charge rate, terminations, cooling, clamping), but the above should help work out which options will or won&#039;t work for your project...&lt;br /&gt;
&lt;br /&gt;
== Cell chemistry ==&lt;br /&gt;
&lt;br /&gt;
=== Lithium Iron Phosphate (LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt;) ===&lt;br /&gt;
Lithium Iron Phosphate (also known as LFP, or LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt;) batteries offer a good compromise between safety, energy density and ease of use for DIY conversions. They are available in a number of formats, commonly pouch cells, prismatic cells and cylindrical cells.&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; pouch cells ====&lt;br /&gt;
The majority of this content is drawn from this thread: [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761&amp;amp;start=900 https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761] discussing the use of the A123 20Ah pouch cell. However, many of the general points apply equally to other similar pouch cells.&lt;br /&gt;
&lt;br /&gt;
===== General build requirements =====&lt;br /&gt;
Pouch cells are vulnerable to damage from debris, and must be held in compression (see the datasheet for your battery, but 10-12 psi is recommended for the A123 pouch cells as a guide). A rigid container capable of preventing damage and providing compression is therefore required. Be aware the cells expand and contract in use, so allowance for this must be included in the structure of the case.&lt;br /&gt;
&lt;br /&gt;
The pouch cells should be separated to prevent abrasion between cells, and also to avoid the development of hot spots. Prebuilt modules from A123 systems had thin foam sheets or heatsinks between each cell. Be sure to avoid any debris that could rub on the pouch surface, particularly if using recycled cells.&lt;br /&gt;
&lt;br /&gt;
Mylar, &#039;[https://www.americanmicroinc.com/fish-paper/ Fish paper]&#039; or a [https://www.rogerscorp.com/elastomeric-material-solutions/poron-industrial-polyurethanes compliant foam] may be appropriate materials to serve this purpose. This material should not be flammable. If the material is heat insulating, it is important to address thermal management.&lt;br /&gt;
&lt;br /&gt;
===== Compression =====&lt;br /&gt;
Compression is required to prevent premature failure of the cell. Without compression electrolyte will become unevenly distributed, causing current gradients in the cell and uneven heating. Local temperatures can become high enough to form gas formation leading to cells &#039;puffing up&#039; even when the pack is otherwise held within temperature and voltage constraints. This will be exacerbated in packs with otherwise poor thermal management. Compression forces gas generated to the margins of the cell, outside of the cell stack, minimising its effect cell performance. Gas in the middle cells will create a dead space which does not store or release energy.&lt;br /&gt;
&lt;br /&gt;
There is ~1% expansion through a discharge cycle. As the cell ages, the nominal cell thickness can grow by 3-5%. For A123 cells the ideal pressure is between 4 and 18psi with the ideal pressure being ~12psi. Maintaining 12psi can increase the life by 500 cycles over that of 4 or 18psi&lt;br /&gt;
&lt;br /&gt;
There is some suggestion that in uses where 1C is never exceeded compression &#039;&#039;may&#039;&#039; not be required.&lt;br /&gt;
&lt;br /&gt;
Highly rigid endplates with a mechanism to allow for a limited degree of expansion (e.g. steel bands) are considered an effective solution to this challenge.&lt;br /&gt;
&lt;br /&gt;
It should be noted that compression is a challenge specific to pouch cells. Cylindrical cells are designed to maintain their own compression within the cell&#039;s electrode stack by their design.&lt;br /&gt;
&lt;br /&gt;
This thread provides more information and experimentation relating to pack compression: &amp;lt;nowiki&amp;gt;https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=52244&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Pouch Cell Pack Design Examples =====&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;placeholder*&lt;br /&gt;
&lt;br /&gt;
===== Notes regarding recycled pouch cells =====&lt;br /&gt;
Pouch cells are somewhat fragile, and breaching the insulation is not difficult, especially in a cells removed from existing packs and repurposed. If the pouch has had their poly-layers compromised you may see a number of faults:&lt;br /&gt;
* Black spots around the perimeter of the cell indicate electrolyte leakage&lt;br /&gt;
* Voltage on the outside of the bag. Note that microvoltage between the pouch and the electrode is normal (and due to a capacitive effect).&lt;br /&gt;
While the majority of these cells should no longer be in the market, a significant number of faulty cells made it back into the &#039;greymarket&#039; in around 2013. These cells had misaligned tabs which can also lead to isolation failures between the tab and the pack. These cells should be avoided, particularly in high demand applications.&lt;br /&gt;
&lt;br /&gt;
===== Situations likely to cause pouch cell failure =====&lt;br /&gt;
&#039;&#039;Taken directly from [https://endless-sphere.com/forums/memberlist.php?mode=viewprofile&amp;amp;u=33107 wb9k]&#039;s post on endless sphere in the [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761 A123 thread]&#039;&#039;&lt;br /&gt;
# &#039;&#039;&#039;Overcharge&#039;&#039;&#039;. Any extended time above 3.8 Volts will generate enough heat and electrochemical activity to puff a cell, especially one that is improperly compressed.&lt;br /&gt;
# &#039;&#039;&#039;Overdischarge followed by charge&#039;&#039;&#039;. Any A123 cell that has been pulled low enough to come to rest at &amp;lt;300 mV should be immediately scrapped. The published number for that is 500 mV, but the real figure is closer to 300, so that&#039;s a &amp;quot;safety buffer&amp;quot; if you will. Below this Voltage, the Cu electrodes start to dissolve into the electrolyte. When charge is applied, the Cu forms dendrites that puncture the separator layer, forming an internal short in the cell. This can puff a cell in a hurry---the more charge current on tap, the worse it&#039;s prone to be.&lt;br /&gt;
# &#039;&#039;&#039;Driving a cell negative&#039;&#039;&#039;. I&#039;ve neglected to mention this before, but it is a possibility. I don&#039;t know much about the specific mechanism at this time.&lt;br /&gt;
# &#039;&#039;&#039;Malfunctioning or misinformed electronics&#039;&#039;&#039;. This is the most common cause of all of the above in my experience. At this stage of the game, it is critical for YOU to understand how your BMS functions on at least a cursory level. Choose your BMS very carefully and periodically verify that it is operating properly. They&#039;re not all created equal. Make sure V sense lines are securely connected and free of corrosion. Just because your BMS says there was never a problem doesn&#039;t necessarily make it so. Avoid harnesses or ribbon cables between multiple modules if possible--they are problematic wherever they are used in any mobile electronics.&lt;br /&gt;
# &#039;&#039;&#039;Exposure to or generation of sufficient heat&#039;&#039;&#039;. I don&#039;t know exactly at what temperature gas formation begins in the electrolyte, but we spec a max storage temp of 80 (or 85?) degrees C and I suspect this is the reason. The hotter, the puffier--to a point. This is why soldering tabs poses a real hazard to cell health. If you feel you must solder, sink or blow the heat away from the body of the cell. Use a big iron that can make sufficient local heat quickly, before the whole mass of the cell gets hot. You might even get the cell warm enough to melt separator if not careful.&lt;br /&gt;
# &#039;&#039;&#039;No compression, not enough compression, improperly distributed compression&#039;&#039;&#039;. This is a pack/module design issue. Apply 10, maybe 15 psi to your cell stack end to end and then band snugly and evenly. Use hard endplates of some sort--never wrap cells directly or allow their shape to become distorted. Protect all areas of the pouch from impact damage. This obviously does not apply to cylindrical cells.&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; prismatic cells ====&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;placeholder*&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; cylindrical cells ====&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;placeholder*&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; cell ageing ====&lt;br /&gt;
&#039;&#039;Derived (barely paraphrased) from [https://endless-sphere.com/forums/memberlist.php?mode=viewprofile&amp;amp;u=33107 wb9k]&#039;s post on endless sphere in the [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761 A123 thread]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Capacity loss is caused by the lithium that was available for storage becoming permanently plated on the cathode. Being unable to move within the cell it is no longer available to store energy. The impact of this plating is greater than the amount of lithium &#039;lost&#039; to plating because not only is the lithium no longer available, it is also preventing access to that part of the cathode meaning Li that can still move has to take a longer path to reach the cathode. Lithium plating is one cause of increased cell resistance (there are others), a sign of worsening cell health.&lt;br /&gt;
&lt;br /&gt;
There is no linear relationship between actual capacity loss and impedance rise. However some cell defects will also increase impedance.&lt;br /&gt;
&lt;br /&gt;
Increasing cell resistance may cause a number of symptoms which may be confused with [https://earthshipbiotecture.com/a-lithium-ion-battery-primer/ High Self Discharge.]&lt;br /&gt;
# Elevated Peukert Losses. As more energy per amount of current through the cell is lost as heat, the cells useable capacity decreases. So the apparent capacity loss is higher than the actual capacity loss of cycleable lithium. When used in low current applications (e.g. solar energy storage) the actual and apparent decrease in capacity will be small. In high current draw applications (like EV traction packs), the Peukert loss increases proportionally, so the apparent capacity loss increases much faster than the actual capacity loss.&lt;br /&gt;
# Greater voltage excursion under the same load. Due to increased cell resistancethe voltage will sag further under the same load than a cell in optimal condition. The inverse is also true, the voltage will be higher for the same amount of charging current applied. The cell will then rebound to a voltage further from the loaded and charging voltages. This, obviously, can look like high self discharge but is a different phenomenon.&lt;br /&gt;
# Absolute maximum current decrease.&lt;br /&gt;
Elevated impedance causes a more complex constellation of symptoms, some of which may be easy to confuse with High Self Discharge (HSD). Ohm&#039;s law (E=I/R) holds the key to understanding here.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1) Elevated Peukert losses.&#039;&#039;&#039; Because more energy per unit of current through the cell is lost as heat, less of the cell&#039;s capacity is actually USABLE. Thus, apparent capacity loss can be significantly greater than actual capacity loss caused by the loss of cycleable Li alone. In low current applications, the two numbers will be close together. In high current applications, Peukert losses increase in proportion, so apparent loss of capacity breaks further and further away from actual capacity loss as current increases.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2) Greater voltage excursion under the same load.&#039;&#039;&#039; Elevated resistance across the cell means that voltage will sag more under the same load than it did when the cell was healthier. Conversely, voltage will rise higher with the same amount of applied charge current than it did when it was healthier. At the same time, rebound/settling voltages will be further away from loaded/charging voltages. In other words, the cell will rebound to a voltage further away from loaded voltage, all else being equal. Similarly, voltage will settle farther from the charge voltage with the same charge applied. This can give the illusion of elevated self-discharge, but the phenomenon is actually not the same thing. Again, the greater the charge and load currents, the greater the effect becomes.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3) Absolute max current decreases.&#039;&#039;&#039; Because the cell&#039;s series resistance is elevated, the maximum possible current through the cell is decreased.&lt;br /&gt;
&lt;br /&gt;
Just to confuse things further, there can be many factors that lead to impedance rise. Some are related to Li plating, others are not.&lt;br /&gt;
&lt;br /&gt;
=== Lithium-ion ===&lt;br /&gt;
Lithium-ion (Li-ion) batteries have a greater energy density than Lithium Iron Phosphate batteries, but have more challenging needs to use safely. The ideal operating range of Li-ion batteries is between +15 and +45°C. The upper limit of temperature is particularly important as Li-ion batteries experience thermal runaway - an unstoppable chain reaction that can occur in milliseconds releasing the stored energy in the cell. This can produce temperatures of 400°C and a fire that is extremely difficult to put out. Thermal runaway can start as low as 60°C and becomes much more likely at 100°C&lt;br /&gt;
&lt;br /&gt;
Risk factors for thermal runaway:&lt;br /&gt;
* Short Circuits - either internally or externally&lt;br /&gt;
* Overcharging&lt;br /&gt;
* Excessive current draw or when charging&lt;br /&gt;
&lt;br /&gt;
==== Li-ion pouch cells ====&lt;br /&gt;
[https://kokam.com/cell Kokam] produce high-performance Li-ion pouch cells. These combine relative ease of use and pack construction with performance close to cylindrical cells. &lt;br /&gt;
&lt;br /&gt;
==== Li-ion 18650 and other cylindrical cells ====&lt;br /&gt;
Cylindrical cells are favoured by Tesla, and are probably the main reason why their cars achieve such excellent performance. They are light, compact, powerful and expensive. Unfortunately, cylindrical cells are  difficult (and potentially dangerous) to use in DIY conversions. There are two good reasons for this: thermal management and cell configuration.&lt;br /&gt;
&lt;br /&gt;
As stated above, Li-ion cells are prone to thermal runaway. So you need perfect battery and thermal management to ensure that no cell ever exceeds the critical voltage or temperature. If this happens, a cell can short-circuit internally, releasing a lot of energy - potentially explosively. Furthermore, the individual cells are small, so need to be arranged in parallel. In the case of the Tesla Model S 85kW pack, there are 74 cells in parallel. Imagine if one of those cells fails and becomes short circuited internally. You now have 73 very high power cells all feeding in to that short circuit...&lt;br /&gt;
&lt;br /&gt;
In fact, you don&#039;t have to imagine: you can watch this famous video instead (courtesy of Rich Rebuilds).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;youtube&amp;gt;WdDi1haA71Q&amp;lt;/youtube&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== OEM modules ==&lt;br /&gt;
Using an OEM module means a lot of the difficulties and safety issues associated with battery design are taken care of e.g. cooling, clamping, etc.&lt;br /&gt;
&lt;br /&gt;
Here is a handy list of OEM modules:&lt;br /&gt;
{| class=&amp;quot;wikitable sortable mw-collapsible&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!Manufacturer&lt;br /&gt;
!Model&lt;br /&gt;
!Capacity (kWh)&lt;br /&gt;
!Weight (kg)&lt;br /&gt;
!w (mm)&lt;br /&gt;
!d (mm)&lt;br /&gt;
!h (mm)&lt;br /&gt;
!Gravity (kg/kWh)&lt;br /&gt;
!Volume (L/kWh)&lt;br /&gt;
!Voltage (V)&lt;br /&gt;
!Current (cont A)&lt;br /&gt;
!Current (peak A)&lt;br /&gt;
!Cell arrangement&lt;br /&gt;
!Cell type&lt;br /&gt;
!Chemistry&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model S 85kWh&lt;br /&gt;
|5.3&lt;br /&gt;
|26&lt;br /&gt;
|690&lt;br /&gt;
|315&lt;br /&gt;
|80&lt;br /&gt;
|4.9&lt;br /&gt;
|3.3&lt;br /&gt;
|22.8&lt;br /&gt;
|500&lt;br /&gt;
|750&lt;br /&gt;
|74p6s&lt;br /&gt;
|18650&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model S 100kWh&lt;br /&gt;
|6.4&lt;br /&gt;
|28&lt;br /&gt;
|680&lt;br /&gt;
|315&lt;br /&gt;
|80&lt;br /&gt;
|4.4&lt;br /&gt;
|2.7&lt;br /&gt;
|22.8&lt;br /&gt;
|&lt;br /&gt;
|870&lt;br /&gt;
|86p6s&lt;br /&gt;
|18650&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model 3 LR (inner)&lt;br /&gt;
|19.2&lt;br /&gt;
|98.9&lt;br /&gt;
|1854&lt;br /&gt;
|292&lt;br /&gt;
|90&lt;br /&gt;
|5.2&lt;br /&gt;
|2.5&lt;br /&gt;
|91.1&lt;br /&gt;
|&lt;br /&gt;
|971&lt;br /&gt;
|46p25s&lt;br /&gt;
|2170&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model 3 LR (outer)&lt;br /&gt;
|17.7&lt;br /&gt;
|86.6&lt;br /&gt;
|1715&lt;br /&gt;
|292&lt;br /&gt;
|90&lt;br /&gt;
|4.9&lt;br /&gt;
|2.5&lt;br /&gt;
|83.9&lt;br /&gt;
|&lt;br /&gt;
|971&lt;br /&gt;
|46p23s&lt;br /&gt;
|2170&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model 3 SR (inner)&lt;br /&gt;
|13.0&lt;br /&gt;
|&lt;br /&gt;
|1854&lt;br /&gt;
|292&lt;br /&gt;
|90&lt;br /&gt;
|&lt;br /&gt;
|3.7&lt;br /&gt;
|91.1&lt;br /&gt;
|&lt;br /&gt;
|603&lt;br /&gt;
|31p25s&lt;br /&gt;
|2170&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model 3 SR (outer)&lt;br /&gt;
|12.0&lt;br /&gt;
|&lt;br /&gt;
|1715&lt;br /&gt;
|292&lt;br /&gt;
|90&lt;br /&gt;
|&lt;br /&gt;
|3.8&lt;br /&gt;
|83.9&lt;br /&gt;
|&lt;br /&gt;
|603&lt;br /&gt;
|31p23s&lt;br /&gt;
|2170&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Chevrolet&lt;br /&gt;
|Volt 2012&lt;br /&gt;
|4&lt;br /&gt;
|38&lt;br /&gt;
|470&lt;br /&gt;
|180&lt;br /&gt;
|280&lt;br /&gt;
|9.5&lt;br /&gt;
|5.9&lt;br /&gt;
|88&lt;br /&gt;
|140&lt;br /&gt;
|210&lt;br /&gt;
|24s&lt;br /&gt;
|Pouch&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|BMW&lt;br /&gt;
|i3 60Ah&lt;br /&gt;
|2&lt;br /&gt;
|13&lt;br /&gt;
|368&lt;br /&gt;
|178&lt;br /&gt;
|102&lt;br /&gt;
|6.5&lt;br /&gt;
|3.3&lt;br /&gt;
|28.8&lt;br /&gt;
|210&lt;br /&gt;
|350&lt;br /&gt;
|8s2p&lt;br /&gt;
|Prismatic&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|BMW&lt;br /&gt;
|i3 94Ah&lt;br /&gt;
|4.15&lt;br /&gt;
|28&lt;br /&gt;
|410&lt;br /&gt;
|310&lt;br /&gt;
|150&lt;br /&gt;
|6.7&lt;br /&gt;
|4.6&lt;br /&gt;
|45.6&lt;br /&gt;
|&lt;br /&gt;
|409&lt;br /&gt;
|12s&lt;br /&gt;
|Prismatic&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|BMW&lt;br /&gt;
|i3 120Ah&lt;br /&gt;
|5.3&lt;br /&gt;
|28&lt;br /&gt;
|410&lt;br /&gt;
|310&lt;br /&gt;
|150&lt;br /&gt;
|5.3&lt;br /&gt;
|3.6&lt;br /&gt;
|45.6&lt;br /&gt;
|&lt;br /&gt;
|360&lt;br /&gt;
|12s&lt;br /&gt;
|Prismatic&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Jaguar&lt;br /&gt;
|iPace&lt;br /&gt;
|2.5&lt;br /&gt;
|12&lt;br /&gt;
|340&lt;br /&gt;
|155&lt;br /&gt;
|112&lt;br /&gt;
|4.8&lt;br /&gt;
|2.4&lt;br /&gt;
|43.1&lt;br /&gt;
|720&lt;br /&gt;
|1200&lt;br /&gt;
|12s4p&lt;br /&gt;
|Pouch&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Mitsubishi&lt;br /&gt;
|Outlander&lt;br /&gt;
|2.4&lt;br /&gt;
|26&lt;br /&gt;
|646&lt;br /&gt;
|184&lt;br /&gt;
|130&lt;br /&gt;
|10.8&lt;br /&gt;
|6.4&lt;br /&gt;
|60&lt;br /&gt;
|&lt;br /&gt;
|240&lt;br /&gt;
|16s&lt;br /&gt;
|&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Nissan&lt;br /&gt;
|Leaf 24kWh&lt;br /&gt;
|0.5&lt;br /&gt;
|3.65&lt;br /&gt;
|300&lt;br /&gt;
|222&lt;br /&gt;
|34&lt;br /&gt;
|7.3&lt;br /&gt;
|4.5&lt;br /&gt;
|7.4&lt;br /&gt;
|130&lt;br /&gt;
|228&lt;br /&gt;
|2s2p&lt;br /&gt;
|Pouch&lt;br /&gt;
|Li-ion LMO&lt;br /&gt;
|-&lt;br /&gt;
|Nissan&lt;br /&gt;
|Leaf 40kWh&lt;br /&gt;
|1.6&lt;br /&gt;
|8.7&lt;br /&gt;
|300&lt;br /&gt;
|222&lt;br /&gt;
|68&lt;br /&gt;
|5.4&lt;br /&gt;
|2.8&lt;br /&gt;
|14.6&lt;br /&gt;
|&lt;br /&gt;
|314&lt;br /&gt;
|4s2p&lt;br /&gt;
|Pouch&lt;br /&gt;
|Li-ion NMC&lt;br /&gt;
|-&lt;br /&gt;
|Volvo&lt;br /&gt;
|XC90 T8&lt;br /&gt;
|2.01&lt;br /&gt;
|12.1&lt;br /&gt;
|300&lt;br /&gt;
|180&lt;br /&gt;
|150&lt;br /&gt;
|6.0&lt;br /&gt;
|4.0&lt;br /&gt;
|59.2&lt;br /&gt;
|170&lt;br /&gt;
|340&lt;br /&gt;
|16s&lt;br /&gt;
|&lt;br /&gt;
|Li-ion&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Clanger9</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Batteries&amp;diff=1181</id>
		<title>Batteries</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Batteries&amp;diff=1181"/>
		<updated>2020-12-06T17:51:51Z</updated>

		<summary type="html">&lt;p&gt;Clanger9: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
There are a wide variety of battery chemistries available for use as the main traction battery of an EV. To use each chemistry safely, and to ensure an adequate service life from the battery pack it is important to understand the requirements for the chemistry you are using. Failure to do so may lead to premature or catastrophic failure of the pack.&lt;br /&gt;
&lt;br /&gt;
Good pack design will allow for a nominal amount of abuse. People make mistakes and the pack should allow a margin for safety - and for longevity!&lt;br /&gt;
&lt;br /&gt;
== Battery pack specification ==&lt;br /&gt;
When deciding on your battery pack, here are some basic parameters to consider:&lt;br /&gt;
&lt;br /&gt;
=== Capacity (kWh) ===&lt;br /&gt;
&#039;&#039;&#039;How far do you want to go?&#039;&#039;&#039; A standard  car conversion will need a kWh for each 3 miles of range (very approximately). For a middleweight motorcycle, a kWh should give around 9 miles. Your mileage may vary, &#039;&#039;as they say.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Voltage (V) ===&lt;br /&gt;
&#039;&#039;&#039;How fast do you want to go?&#039;&#039;&#039; The pack voltage defines the maximum speed your motor can spin. Motors are usually specified with &amp;quot;KV&amp;quot; - or RPM-per-volt. Check the KV of your motor and how fast it needs to spin to get your desired top speed. e.g. if you need 3,000 RPM from a 25 KV motor then your pack voltage needs to be  3,000 / 25 = 120 V. The exact number of cells in series you need depends on the cell design, but 3.8 V for Li-ion and 3.2 V for LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; is a reasonable guess.&lt;br /&gt;
&lt;br /&gt;
=== Maximum current (A) ===&lt;br /&gt;
&#039;&#039;&#039;How quickly do you want to accelerate?&#039;&#039;&#039; Your motor&#039;s maximum power will be specified in kW. To estimate your maximum current draw, divide the peak power by the battery voltage. e.g. a 30 kW motor with a 120 V battery pack will pull 30,000 / 120 = 250 A. The higher the current rating of the cells, the heavier they will be for a given capacity. Ideally, you want &amp;quot;enough&amp;quot; current capacity for full throttle acceleration, but no more. You can put cells in parallel to double the current rating of your pack (which of course will half the voltage). &lt;br /&gt;
&lt;br /&gt;
=== Mass (kg) ===&lt;br /&gt;
&#039;&#039;&#039;Can your vehicle carry the weight?&#039;&#039;&#039; You&#039;ll need to keep the kerb weight within the original design limits. For a car, this could be a few hundred kg. For a motorcycle, likely less than 100 kg. This is a huge variable - and each new generation of battery tech seems to be a little lighter. For older EV or hybrid batteries, you can reckon on approximately 10 kg/kWh. Nissan Leaf batteries are relatively light (7.5 kg/kWh). With the latest technology (e.g. Kokam pouch cells or 18650s), you can get this down to 5-6 kg/kWh.&lt;br /&gt;
&lt;br /&gt;
=== Volume (L) ===&lt;br /&gt;
&#039;&#039;&#039;Will it fit?&#039;&#039;&#039; Batteries are bulky. They are getting smaller, but finding enough space might be your biggest challenge. You could be looking at over 5 L/kWh for older EV or hybrid batteries. Current state-of-the-art is the Tesla Model 3, which gets this down to 2.5 L/kWh by using 2170 cylindrical cells.&lt;br /&gt;
&lt;br /&gt;
There is much, much more to battery design than this (e.g. maximum charge rate, terminations, cooling, clamping), but the above should help work out which options will or won&#039;t work for your project...&lt;br /&gt;
&lt;br /&gt;
== Cell chemistry ==&lt;br /&gt;
&lt;br /&gt;
=== Lithium Iron Phosphate (LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt;) ===&lt;br /&gt;
Lithium Iron Phosphate (also known as LFP, or LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt;) batteries offer a good compromise between safety, energy density and ease of use for DIY conversions. They are available in a number of formats, commonly pouch cells, prismatic cells and cylindrical cells.&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; pouch cells ====&lt;br /&gt;
The majority of this content is drawn from this thread: [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761&amp;amp;start=900 https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761] discussing the use of the A123 20Ah pouch cell. However, many of the general points apply equally to other similar pouch cells.&lt;br /&gt;
&lt;br /&gt;
===== General build requirements =====&lt;br /&gt;
Pouch cells are vulnerable to damage from debris, and must be held in compression (see the datasheet for your battery, but 10-12 psi is recommended for the A123 pouch cells as a guide). A rigid container capable of preventing damage and providing compression is therefore required. Be aware the cells expand and contract in use, so allowance for this must be included in the structure of the case.&lt;br /&gt;
&lt;br /&gt;
The pouch cells should be separated to prevent abrasion between cells, and also to avoid the development of hot spots. Prebuilt modules from A123 systems had thin foam sheets or heatsinks between each cell. Be sure to avoid any debris that could rub on the pouch surface, particularly if using recycled cells.&lt;br /&gt;
&lt;br /&gt;
Mylar, &#039;[https://www.americanmicroinc.com/fish-paper/ Fish paper]&#039; or a [https://www.rogerscorp.com/elastomeric-material-solutions/poron-industrial-polyurethanes compliant foam] may be appropriate materials to serve this purpose. This material should not be flammable. If the material is heat insulating, it is important to address thermal management.&lt;br /&gt;
&lt;br /&gt;
===== Compression =====&lt;br /&gt;
Compression is required to prevent premature failure of the cell. Without compression electrolyte will become unevenly distributed, causing current gradients in the cell and uneven heating. Local temperatures can become high enough to form gas formation leading to cells &#039;puffing up&#039; even when the pack is otherwise held within temperature and voltage constraints. This will be exacerbated in packs with otherwise poor thermal management. Compression forces gas generated to the margins of the cell, outside of the cell stack, minimising its effect cell performance. Gas in the middle cells will create a dead space which does not store or release energy.&lt;br /&gt;
&lt;br /&gt;
There is ~1% expansion through a discharge cycle. As the cell ages, the nominal cell thickness can grow by 3-5%. For A123 cells the ideal pressure is between 4 and 18psi with the ideal pressure being ~12psi. Maintaining 12psi can increase the life by 500 cycles over that of 4 or 18psi&lt;br /&gt;
&lt;br /&gt;
There is some suggestion that in uses where 1C is never exceeded compression &#039;&#039;may&#039;&#039; not be required.&lt;br /&gt;
&lt;br /&gt;
Highly rigid endplates with a mechanism to allow for a limited degree of expansion (e.g. steel bands) are considered an effective solution to this challenge.&lt;br /&gt;
&lt;br /&gt;
It should be noted that compression is a challenge specific to pouch cells. Cylindrical cells are designed to maintain their own compression within the cell&#039;s electrode stack by their design.&lt;br /&gt;
&lt;br /&gt;
This thread provides more information and experimentation relating to pack compression: &amp;lt;nowiki&amp;gt;https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=52244&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Pouch Cell Pack Design Examples =====&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;placeholder*&lt;br /&gt;
&lt;br /&gt;
===== Notes regarding recycled pouch cells =====&lt;br /&gt;
Pouch cells are somewhat fragile, and breaching the insulation is not difficult, especially in a cells removed from existing packs and repurposed. If the pouch has had their poly-layers compromised you may see a number of faults:&lt;br /&gt;
* Black spots around the perimeter of the cell indicate electrolyte leakage&lt;br /&gt;
* Voltage on the outside of the bag. Note that microvoltage between the pouch and the electrode is normal (and due to a capacitive effect).&lt;br /&gt;
While the majority of these cells should no longer be in the market, a significant number of faulty cells made it back into the &#039;greymarket&#039; in around 2013. These cells had misaligned tabs which can also lead to isolation failures between the tab and the pack. These cells should be avoided, particularly in high demand applications.&lt;br /&gt;
&lt;br /&gt;
===== Situations likely to cause pouch cell failure =====&lt;br /&gt;
&#039;&#039;Taken directly from [https://endless-sphere.com/forums/memberlist.php?mode=viewprofile&amp;amp;u=33107 wb9k]&#039;s post on endless sphere in the [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761 A123 thread]&#039;&#039;&lt;br /&gt;
# &#039;&#039;&#039;Overcharge&#039;&#039;&#039;. Any extended time above 3.8 Volts will generate enough heat and electrochemical activity to puff a cell, especially one that is improperly compressed.&lt;br /&gt;
# &#039;&#039;&#039;Overdischarge followed by charge&#039;&#039;&#039;. Any A123 cell that has been pulled low enough to come to rest at &amp;lt;300 mV should be immediately scrapped. The published number for that is 500 mV, but the real figure is closer to 300, so that&#039;s a &amp;quot;safety buffer&amp;quot; if you will. Below this Voltage, the Cu electrodes start to dissolve into the electrolyte. When charge is applied, the Cu forms dendrites that puncture the separator layer, forming an internal short in the cell. This can puff a cell in a hurry---the more charge current on tap, the worse it&#039;s prone to be.&lt;br /&gt;
# &#039;&#039;&#039;Driving a cell negative&#039;&#039;&#039;. I&#039;ve neglected to mention this before, but it is a possibility. I don&#039;t know much about the specific mechanism at this time.&lt;br /&gt;
# &#039;&#039;&#039;Malfunctioning or misinformed electronics&#039;&#039;&#039;. This is the most common cause of all of the above in my experience. At this stage of the game, it is critical for YOU to understand how your BMS functions on at least a cursory level. Choose your BMS very carefully and periodically verify that it is operating properly. They&#039;re not all created equal. Make sure V sense lines are securely connected and free of corrosion. Just because your BMS says there was never a problem doesn&#039;t necessarily make it so. Avoid harnesses or ribbon cables between multiple modules if possible--they are problematic wherever they are used in any mobile electronics.&lt;br /&gt;
# &#039;&#039;&#039;Exposure to or generation of sufficient heat&#039;&#039;&#039;. I don&#039;t know exactly at what temperature gas formation begins in the electrolyte, but we spec a max storage temp of 80 (or 85?) degrees C and I suspect this is the reason. The hotter, the puffier--to a point. This is why soldering tabs poses a real hazard to cell health. If you feel you must solder, sink or blow the heat away from the body of the cell. Use a big iron that can make sufficient local heat quickly, before the whole mass of the cell gets hot. You might even get the cell warm enough to melt separator if not careful.&lt;br /&gt;
# &#039;&#039;&#039;No compression, not enough compression, improperly distributed compression&#039;&#039;&#039;. This is a pack/module design issue. Apply 10, maybe 15 psi to your cell stack end to end and then band snugly and evenly. Use hard endplates of some sort--never wrap cells directly or allow their shape to become distorted. Protect all areas of the pouch from impact damage. This obviously does not apply to cylindrical cells.&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; prismatic cells ====&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;placeholder*&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; cylindrical cells ====&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;placeholder*&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; cell ageing ====&lt;br /&gt;
&#039;&#039;Derived (barely paraphrased) from [https://endless-sphere.com/forums/memberlist.php?mode=viewprofile&amp;amp;u=33107 wb9k]&#039;s post on endless sphere in the [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761 A123 thread]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Capacity loss is caused by the lithium that was available for storage becoming permanently plated on the cathode. Being unable to move within the cell it is no longer available to store energy. The impact of this plating is greater than the amount of lithium &#039;lost&#039; to plating because not only is the lithium no longer available, it is also preventing access to that part of the cathode meaning Li that can still move has to take a longer path to reach the cathode. Lithium plating is one cause of increased cell resistance (there are others), a sign of worsening cell health.&lt;br /&gt;
&lt;br /&gt;
There is no linear relationship between actual capacity loss and impedance rise. However some cell defects will also increase impedance.&lt;br /&gt;
&lt;br /&gt;
Increasing cell resistance may cause a number of symptoms which may be confused with [https://earthshipbiotecture.com/a-lithium-ion-battery-primer/ High Self Discharge.]&lt;br /&gt;
# Elevated Peukert Losses. As more energy per amount of current through the cell is lost as heat, the cells useable capacity decreases. So the apparent capacity loss is higher than the actual capacity loss of cycleable lithium. When used in low current applications (e.g. solar energy storage) the actual and apparent decrease in capacity will be small. In high current draw applications (like EV traction packs), the Peukert loss increases proportionally, so the apparent capacity loss increases much faster than the actual capacity loss.&lt;br /&gt;
# Greater voltage excursion under the same load. Due to increased cell resistancethe voltage will sag further under the same load than a cell in optimal condition. The inverse is also true, the voltage will be higher for the same amount of charging current applied. The cell will then rebound to a voltage further from the loaded and charging voltages. This, obviously, can look like high self discharge but is a different phenomenon.&lt;br /&gt;
# Absolute maximum current decrease.&lt;br /&gt;
Elevated impedance causes a more complex constellation of symptoms, some of which may be easy to confuse with High Self Discharge (HSD). Ohm&#039;s law (E=I/R) holds the key to understanding here.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1) Elevated Peukert losses.&#039;&#039;&#039; Because more energy per unit of current through the cell is lost as heat, less of the cell&#039;s capacity is actually USABLE. Thus, apparent capacity loss can be significantly greater than actual capacity loss caused by the loss of cycleable Li alone. In low current applications, the two numbers will be close together. In high current applications, Peukert losses increase in proportion, so apparent loss of capacity breaks further and further away from actual capacity loss as current increases.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2) Greater voltage excursion under the same load.&#039;&#039;&#039; Elevated resistance across the cell means that voltage will sag more under the same load than it did when the cell was healthier. Conversely, voltage will rise higher with the same amount of applied charge current than it did when it was healthier. At the same time, rebound/settling voltages will be further away from loaded/charging voltages. In other words, the cell will rebound to a voltage further away from loaded voltage, all else being equal. Similarly, voltage will settle farther from the charge voltage with the same charge applied. This can give the illusion of elevated self-discharge, but the phenomenon is actually not the same thing. Again, the greater the charge and load currents, the greater the effect becomes.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3) Absolute max current decreases.&#039;&#039;&#039; Because the cell&#039;s series resistance is elevated, the maximum possible current through the cell is decreased.&lt;br /&gt;
&lt;br /&gt;
Just to confuse things further, there can be many factors that lead to impedance rise. Some are related to Li plating, others are not.&lt;br /&gt;
&lt;br /&gt;
=== Lithium-ion ===&lt;br /&gt;
Lithium-ion (Li-ion) batteries have a greater energy density than Lithium Iron Phosphate batteries, but have more challenging needs to use safely. The ideal operating range of Li-ion batteries is between +15 and +45°C. The upper limit of temperature is particularly important as Li-ion batteries experience thermal runaway - an unstoppable chain reaction that can occur in milliseconds releasing the stored energy in the cell. This can produce temperatures of 400°C and a fire that is extremely difficult to put out. Thermal runaway can start as low as 60°C and becomes much more likely at 100°C&lt;br /&gt;
&lt;br /&gt;
Risk factors for thermal runaway:&lt;br /&gt;
* Short Circuits - either internally or externally&lt;br /&gt;
* Overcharging&lt;br /&gt;
* Excessive current draw or when charging&lt;br /&gt;
&lt;br /&gt;
==== Li-ion pouch cells ====&lt;br /&gt;
[https://kokam.com/cell Kokam] produce high-performance Li-ion pouch cells. These combine relative ease of use and pack construction with performance close to cylindrical cells. &lt;br /&gt;
&lt;br /&gt;
==== Li-ion 18650 and other cylindrical cells ====&lt;br /&gt;
Cylindrical cells are favoured by Tesla, and are probably the main reason why their cars achieve such excellent performance. They are light, compact, powerful and expensive. Unfortunately, cylindrical cells are  difficult (and potentially dangerous) to use in DIY conversions. There are two good reasons for this: thermal management and cell configuration.&lt;br /&gt;
&lt;br /&gt;
As stated above, Li-ion cells are prone to thermal runaway. So you need perfect battery and thermal management to ensure that no cell ever exceeds the critical voltage or temperature. If this happens, a cell can short-circuit internally, releasing a lot of energy - potentially explosively. Furthermore, the individual cells are small, so need to be arranged in parallel. In the case of the Tesla Model S 85kW pack, there are 74 cells in parallel. Imagine if one of those cells fails and becomes short circuited internally. You now have 73 very high power cells all feeding in to that short circuit...&lt;br /&gt;
&lt;br /&gt;
In fact, you don&#039;t have to imagine: you can watch this famous video instead (courtesy of Rich Rebuilds).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;youtube&amp;gt;WdDi1haA71Q&amp;lt;/youtube&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== OEM modules ==&lt;br /&gt;
Using an OEM module means a lot of the difficulties and safety issues associated with battery design are taken care of e.g. cooling, clamping, etc.&lt;br /&gt;
&lt;br /&gt;
Here is a handy list of OEM modules:&lt;br /&gt;
{| class=&amp;quot;wikitable sortable mw-collapsible&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!Manufacturer&lt;br /&gt;
!Model&lt;br /&gt;
!Capacity (kWh)&lt;br /&gt;
!Weight (kg)&lt;br /&gt;
!w (mm)&lt;br /&gt;
!d (mm)&lt;br /&gt;
!h (mm)&lt;br /&gt;
!Gravity (kg/kWh)&lt;br /&gt;
!Volume (L/kWh)&lt;br /&gt;
!Voltage (V)&lt;br /&gt;
!Current (cont A)&lt;br /&gt;
!Current (peak A)&lt;br /&gt;
!Cell arrangement&lt;br /&gt;
!Cell type&lt;br /&gt;
!Chemistry&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model S 85kWh&lt;br /&gt;
|5.3&lt;br /&gt;
|26&lt;br /&gt;
|690&lt;br /&gt;
|315&lt;br /&gt;
|80&lt;br /&gt;
|4.9&lt;br /&gt;
|3.3&lt;br /&gt;
|22.8&lt;br /&gt;
|500&lt;br /&gt;
|750&lt;br /&gt;
|74p6s&lt;br /&gt;
|18650&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model S 100kWh&lt;br /&gt;
|6.4&lt;br /&gt;
|28&lt;br /&gt;
|680&lt;br /&gt;
|315&lt;br /&gt;
|80&lt;br /&gt;
|4.4&lt;br /&gt;
|2.7&lt;br /&gt;
|22.8&lt;br /&gt;
|&lt;br /&gt;
|870&lt;br /&gt;
|86p6s&lt;br /&gt;
|18650&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model 3 LR (inner)&lt;br /&gt;
|19.2&lt;br /&gt;
|98.9&lt;br /&gt;
|1854&lt;br /&gt;
|292&lt;br /&gt;
|90&lt;br /&gt;
|5.2&lt;br /&gt;
|2.5&lt;br /&gt;
|91.1&lt;br /&gt;
|&lt;br /&gt;
|971&lt;br /&gt;
|46p25s&lt;br /&gt;
|2170&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model 3 LR (outer)&lt;br /&gt;
|17.7&lt;br /&gt;
|86.6&lt;br /&gt;
|1715&lt;br /&gt;
|292&lt;br /&gt;
|90&lt;br /&gt;
|4.9&lt;br /&gt;
|2.5&lt;br /&gt;
|83.9&lt;br /&gt;
|&lt;br /&gt;
|971&lt;br /&gt;
|46p23s&lt;br /&gt;
|2170&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model 3 SR (inner)&lt;br /&gt;
|13.0&lt;br /&gt;
|&lt;br /&gt;
|1854&lt;br /&gt;
|292&lt;br /&gt;
|90&lt;br /&gt;
|&lt;br /&gt;
|3.7&lt;br /&gt;
|91.1&lt;br /&gt;
|&lt;br /&gt;
|603&lt;br /&gt;
|31p25s&lt;br /&gt;
|2170&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model 3 SR (outer)&lt;br /&gt;
|12.0&lt;br /&gt;
|&lt;br /&gt;
|1715&lt;br /&gt;
|292&lt;br /&gt;
|90&lt;br /&gt;
|&lt;br /&gt;
|3.8&lt;br /&gt;
|83.9&lt;br /&gt;
|&lt;br /&gt;
|603&lt;br /&gt;
|31p23s&lt;br /&gt;
|2170&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Chevrolet&lt;br /&gt;
|Volt 2012&lt;br /&gt;
|4&lt;br /&gt;
|38&lt;br /&gt;
|470&lt;br /&gt;
|180&lt;br /&gt;
|280&lt;br /&gt;
|9.5&lt;br /&gt;
|5.9&lt;br /&gt;
|88&lt;br /&gt;
|140&lt;br /&gt;
|210&lt;br /&gt;
|24s&lt;br /&gt;
|Pouch&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|BMW&lt;br /&gt;
|i3 60Ah&lt;br /&gt;
|2&lt;br /&gt;
|13&lt;br /&gt;
|368&lt;br /&gt;
|178&lt;br /&gt;
|102&lt;br /&gt;
|6.5&lt;br /&gt;
|3.3&lt;br /&gt;
|28.8&lt;br /&gt;
|210&lt;br /&gt;
|350&lt;br /&gt;
|8s2p&lt;br /&gt;
|Prismatic&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|BMW&lt;br /&gt;
|i3 94Ah&lt;br /&gt;
|4.15&lt;br /&gt;
|28&lt;br /&gt;
|410&lt;br /&gt;
|310&lt;br /&gt;
|150&lt;br /&gt;
|6.7&lt;br /&gt;
|4.6&lt;br /&gt;
|45.6&lt;br /&gt;
|&lt;br /&gt;
|409&lt;br /&gt;
|12s&lt;br /&gt;
|Prismatic&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|BMW&lt;br /&gt;
|i3 120Ah&lt;br /&gt;
|5.3&lt;br /&gt;
|28&lt;br /&gt;
|410&lt;br /&gt;
|310&lt;br /&gt;
|150&lt;br /&gt;
|5.3&lt;br /&gt;
|3.6&lt;br /&gt;
|45.6&lt;br /&gt;
|&lt;br /&gt;
|360&lt;br /&gt;
|12s&lt;br /&gt;
|Prismatic&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Jaguar&lt;br /&gt;
|iPace&lt;br /&gt;
|2.5&lt;br /&gt;
|12&lt;br /&gt;
|340&lt;br /&gt;
|115&lt;br /&gt;
|112&lt;br /&gt;
|4.8&lt;br /&gt;
|1.8&lt;br /&gt;
|43.1&lt;br /&gt;
|720&lt;br /&gt;
|1200&lt;br /&gt;
|12s4p&lt;br /&gt;
|Pouch&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Mitsubishi&lt;br /&gt;
|Outlander&lt;br /&gt;
|2.4&lt;br /&gt;
|26&lt;br /&gt;
|646&lt;br /&gt;
|184&lt;br /&gt;
|130&lt;br /&gt;
|10.8&lt;br /&gt;
|6.4&lt;br /&gt;
|60&lt;br /&gt;
|&lt;br /&gt;
|240&lt;br /&gt;
|16s&lt;br /&gt;
|&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Nissan&lt;br /&gt;
|Leaf 24kWh&lt;br /&gt;
|0.5&lt;br /&gt;
|3.65&lt;br /&gt;
|300&lt;br /&gt;
|222&lt;br /&gt;
|34&lt;br /&gt;
|7.3&lt;br /&gt;
|4.5&lt;br /&gt;
|7.4&lt;br /&gt;
|130&lt;br /&gt;
|228&lt;br /&gt;
|2s2p&lt;br /&gt;
|Pouch&lt;br /&gt;
|Li-ion LMO&lt;br /&gt;
|-&lt;br /&gt;
|Nissan&lt;br /&gt;
|Leaf 40kWh&lt;br /&gt;
|1.6&lt;br /&gt;
|8.7&lt;br /&gt;
|300&lt;br /&gt;
|222&lt;br /&gt;
|68&lt;br /&gt;
|5.4&lt;br /&gt;
|2.8&lt;br /&gt;
|14.6&lt;br /&gt;
|&lt;br /&gt;
|314&lt;br /&gt;
|4s2p&lt;br /&gt;
|Pouch&lt;br /&gt;
|Li-ion NMC&lt;br /&gt;
|-&lt;br /&gt;
|Volvo&lt;br /&gt;
|XC90 T8&lt;br /&gt;
|2.01&lt;br /&gt;
|12.1&lt;br /&gt;
|300&lt;br /&gt;
|180&lt;br /&gt;
|150&lt;br /&gt;
|6.0&lt;br /&gt;
|4.0&lt;br /&gt;
|59.2&lt;br /&gt;
|170&lt;br /&gt;
|340&lt;br /&gt;
|16s&lt;br /&gt;
|&lt;br /&gt;
|Li-ion&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Clanger9</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Batteries&amp;diff=1180</id>
		<title>Batteries</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Batteries&amp;diff=1180"/>
		<updated>2020-12-06T16:49:48Z</updated>

		<summary type="html">&lt;p&gt;Clanger9: /* OEM modules */ Add iPace&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
There are a wide variety of battery chemistries available for use as the main traction battery of an EV. To use each chemistry safely, and to ensure an adequate service life from the battery pack it is important to understand the requirements for the chemistry you are using. Failure to do so may lead to premature or catastrophic failure of the pack.&lt;br /&gt;
&lt;br /&gt;
Good pack design will allow for a nominal amount of abuse. People make mistakes and the pack should allow a margin for safety - and for longevity!&lt;br /&gt;
&lt;br /&gt;
== Battery pack specification ==&lt;br /&gt;
When deciding on your battery pack, here are some basic parameters to consider:&lt;br /&gt;
&lt;br /&gt;
=== Capacity (kWh) ===&lt;br /&gt;
&#039;&#039;&#039;How far do you want to go?&#039;&#039;&#039; A standard  car conversion will need a kWh for each 3 miles of range (very approximately). For a middleweight motorcycle, a kWh should give around 9 miles. Your mileage may vary, &#039;&#039;as they say.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Voltage (V) ===&lt;br /&gt;
&#039;&#039;&#039;How fast do you want to go?&#039;&#039;&#039; The pack voltage defines the maximum speed your motor can spin. Motors are usually specified with &amp;quot;KV&amp;quot; - or RPM-per-volt. Check the KV of your motor and how fast it needs to spin to get your desired top speed. e.g. if you need 3,000 RPM from a 25 KV motor then your pack voltage needs to be  3,000 / 25 = 120 V. The exact number of cells in series you need depends on the cell design, but 3.8 V for Li-ion and 3.2 V for LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; is a reasonable guess.&lt;br /&gt;
&lt;br /&gt;
=== Maximum current (A) ===&lt;br /&gt;
&#039;&#039;&#039;How quickly do you want to accelerate?&#039;&#039;&#039; Your motor&#039;s maximum power will be specified in kW. To estimate your maximum current draw, divide the peak power by the battery voltage. e.g. a 30 kW motor with a 120 V battery pack will pull 30,000 / 120 = 250 A. The higher the current rating of the cells, the heavier they will be for a given capacity. Ideally, you want &amp;quot;enough&amp;quot; current capacity for full throttle acceleration, but no more. You can put cells in parallel to double the current rating of your pack (which of course will half the voltage). &lt;br /&gt;
&lt;br /&gt;
=== Mass (kg) ===&lt;br /&gt;
&#039;&#039;&#039;Can your vehicle carry the weight?&#039;&#039;&#039; You&#039;ll need to keep the kerb weight within the original design limits. For a car, this could be a few hundred kg. For a motorcycle, likely less than 100 kg. This is a huge variable - and each new generation of battery tech seems to be a little lighter. For older EV or hybrid batteries, you can reckon on approximately 10 kg/kWh. Nissan Leaf batteries are relatively light (7.5 kg/kWh). With the latest technology (e.g. Kokam pouch cells or 18650s), you can get this down to 5-6 kg/kWh.&lt;br /&gt;
&lt;br /&gt;
=== Volume (L) ===&lt;br /&gt;
&#039;&#039;&#039;Will it fit?&#039;&#039;&#039; Batteries are bulky. They are getting smaller, but finding enough space might be your biggest challenge. You could be looking at over 5 L/kWh for older EV or hybrid batteries. Current state-of-the-art is the Tesla Model 3, which gets this down to 2.5 L/kWh by using 2170 cylindrical cells.&lt;br /&gt;
&lt;br /&gt;
There is much, much more to battery design than this (e.g. maximum charge rate, terminations, cooling, clamping), but the above should help work out which options will or won&#039;t work for your project...&lt;br /&gt;
&lt;br /&gt;
== Cell chemistry ==&lt;br /&gt;
&lt;br /&gt;
=== Lithium Iron Phosphate (LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt;) ===&lt;br /&gt;
Lithium Iron Phosphate (also known as LFP, or LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt;) batteries offer a good compromise between safety, energy density and ease of use for DIY conversions. They are available in a number of formats, commonly pouch cells, prismatic cells and cylindrical cells.&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; pouch cells ====&lt;br /&gt;
The majority of this content is drawn from this thread: [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761&amp;amp;start=900 https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761] discussing the use of the A123 20Ah pouch cell. However, many of the general points apply equally to other similar pouch cells.&lt;br /&gt;
&lt;br /&gt;
===== General build requirements =====&lt;br /&gt;
Pouch cells are vulnerable to damage from debris, and must be held in compression (see the datasheet for your battery, but 10-12 psi is recommended for the A123 pouch cells as a guide). A rigid container capable of preventing damage and providing compression is therefore required. Be aware the cells expand and contract in use, so allowance for this must be included in the structure of the case.&lt;br /&gt;
&lt;br /&gt;
The pouch cells should be separated to prevent abrasion between cells, and also to avoid the development of hot spots. Prebuilt modules from A123 systems had thin foam sheets or heatsinks between each cell. Be sure to avoid any debris that could rub on the pouch surface, particularly if using recycled cells.&lt;br /&gt;
&lt;br /&gt;
Mylar, &#039;[https://www.americanmicroinc.com/fish-paper/ Fish paper]&#039; or a [https://www.rogerscorp.com/elastomeric-material-solutions/poron-industrial-polyurethanes compliant foam] may be appropriate materials to serve this purpose. This material should not be flammable. If the material is heat insulating, it is important to address thermal management.&lt;br /&gt;
&lt;br /&gt;
===== Compression =====&lt;br /&gt;
Compression is required to prevent premature failure of the cell. Without compression electrolyte will become unevenly distributed, causing current gradients in the cell and uneven heating. Local temperatures can become high enough to form gas formation leading to cells &#039;puffing up&#039; even when the pack is otherwise held within temperature and voltage constraints. This will be exacerbated in packs with otherwise poor thermal management. Compression forces gas generated to the margins of the cell, outside of the cell stack, minimising its effect cell performance. Gas in the middle cells will create a dead space which does not store or release energy.&lt;br /&gt;
&lt;br /&gt;
There is ~1% expansion through a discharge cycle. As the cell ages, the nominal cell thickness can grow by 3-5%. For A123 cells the ideal pressure is between 4 and 18psi with the ideal pressure being ~12psi. Maintaining 12psi can increase the life by 500 cycles over that of 4 or 18psi&lt;br /&gt;
&lt;br /&gt;
There is some suggestion that in uses where 1C is never exceeded compression &#039;&#039;may&#039;&#039; not be required.&lt;br /&gt;
&lt;br /&gt;
Highly rigid endplates with a mechanism to allow for a limited degree of expansion (e.g. steel bands) are considered an effective solution to this challenge.&lt;br /&gt;
&lt;br /&gt;
It should be noted that compression is a challenge specific to pouch cells. Cylindrical cells are designed to maintain their own compression within the cell&#039;s electrode stack by their design.&lt;br /&gt;
&lt;br /&gt;
This thread provides more information and experimentation relating to pack compression: &amp;lt;nowiki&amp;gt;https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=52244&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Pouch Cell Pack Design Examples =====&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;placeholder*&lt;br /&gt;
&lt;br /&gt;
===== Notes regarding recycled pouch cells =====&lt;br /&gt;
Pouch cells are somewhat fragile, and breaching the insulation is not difficult, especially in a cells removed from existing packs and repurposed. If the pouch has had their poly-layers compromised you may see a number of faults:&lt;br /&gt;
* Black spots around the perimeter of the cell indicate electrolyte leakage&lt;br /&gt;
* Voltage on the outside of the bag. Note that microvoltage between the pouch and the electrode is normal (and due to a capacitive effect).&lt;br /&gt;
While the majority of these cells should no longer be in the market, a significant number of faulty cells made it back into the &#039;greymarket&#039; in around 2013. These cells had misaligned tabs which can also lead to isolation failures between the tab and the pack. These cells should be avoided, particularly in high demand applications.&lt;br /&gt;
&lt;br /&gt;
===== Situations likely to cause pouch cell failure =====&lt;br /&gt;
&#039;&#039;Taken directly from [https://endless-sphere.com/forums/memberlist.php?mode=viewprofile&amp;amp;u=33107 wb9k]&#039;s post on endless sphere in the [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761 A123 thread]&#039;&#039;&lt;br /&gt;
# &#039;&#039;&#039;Overcharge&#039;&#039;&#039;. Any extended time above 3.8 Volts will generate enough heat and electrochemical activity to puff a cell, especially one that is improperly compressed.&lt;br /&gt;
# &#039;&#039;&#039;Overdischarge followed by charge&#039;&#039;&#039;. Any A123 cell that has been pulled low enough to come to rest at &amp;lt;300 mV should be immediately scrapped. The published number for that is 500 mV, but the real figure is closer to 300, so that&#039;s a &amp;quot;safety buffer&amp;quot; if you will. Below this Voltage, the Cu electrodes start to dissolve into the electrolyte. When charge is applied, the Cu forms dendrites that puncture the separator layer, forming an internal short in the cell. This can puff a cell in a hurry---the more charge current on tap, the worse it&#039;s prone to be.&lt;br /&gt;
# &#039;&#039;&#039;Driving a cell negative&#039;&#039;&#039;. I&#039;ve neglected to mention this before, but it is a possibility. I don&#039;t know much about the specific mechanism at this time.&lt;br /&gt;
# &#039;&#039;&#039;Malfunctioning or misinformed electronics&#039;&#039;&#039;. This is the most common cause of all of the above in my experience. At this stage of the game, it is critical for YOU to understand how your BMS functions on at least a cursory level. Choose your BMS very carefully and periodically verify that it is operating properly. They&#039;re not all created equal. Make sure V sense lines are securely connected and free of corrosion. Just because your BMS says there was never a problem doesn&#039;t necessarily make it so. Avoid harnesses or ribbon cables between multiple modules if possible--they are problematic wherever they are used in any mobile electronics.&lt;br /&gt;
# &#039;&#039;&#039;Exposure to or generation of sufficient heat&#039;&#039;&#039;. I don&#039;t know exactly at what temperature gas formation begins in the electrolyte, but we spec a max storage temp of 80 (or 85?) degrees C and I suspect this is the reason. The hotter, the puffier--to a point. This is why soldering tabs poses a real hazard to cell health. If you feel you must solder, sink or blow the heat away from the body of the cell. Use a big iron that can make sufficient local heat quickly, before the whole mass of the cell gets hot. You might even get the cell warm enough to melt separator if not careful.&lt;br /&gt;
# &#039;&#039;&#039;No compression, not enough compression, improperly distributed compression&#039;&#039;&#039;. This is a pack/module design issue. Apply 10, maybe 15 psi to your cell stack end to end and then band snugly and evenly. Use hard endplates of some sort--never wrap cells directly or allow their shape to become distorted. Protect all areas of the pouch from impact damage. This obviously does not apply to cylindrical cells.&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; prismatic cells ====&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;placeholder*&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; cylindrical cells ====&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;placeholder*&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; cell ageing ====&lt;br /&gt;
&#039;&#039;Derived (barely paraphrased) from [https://endless-sphere.com/forums/memberlist.php?mode=viewprofile&amp;amp;u=33107 wb9k]&#039;s post on endless sphere in the [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761 A123 thread]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Capacity loss is caused by the lithium that was available for storage becoming permanently plated on the cathode. Being unable to move within the cell it is no longer available to store energy. The impact of this plating is greater than the amount of lithium &#039;lost&#039; to plating because not only is the lithium no longer available, it is also preventing access to that part of the cathode meaning Li that can still move has to take a longer path to reach the cathode. Lithium plating is one cause of increased cell resistance (there are others), a sign of worsening cell health.&lt;br /&gt;
&lt;br /&gt;
There is no linear relationship between actual capacity loss and impedance rise. However some cell defects will also increase impedance.&lt;br /&gt;
&lt;br /&gt;
Increasing cell resistance may cause a number of symptoms which may be confused with [https://earthshipbiotecture.com/a-lithium-ion-battery-primer/ High Self Discharge.]&lt;br /&gt;
# Elevated Peukert Losses. As more energy per amount of current through the cell is lost as heat, the cells useable capacity decreases. So the apparent capacity loss is higher than the actual capacity loss of cycleable lithium. When used in low current applications (e.g. solar energy storage) the actual and apparent decrease in capacity will be small. In high current draw applications (like EV traction packs), the Peukert loss increases proportionally, so the apparent capacity loss increases much faster than the actual capacity loss.&lt;br /&gt;
# Greater voltage excursion under the same load. Due to increased cell resistancethe voltage will sag further under the same load than a cell in optimal condition. The inverse is also true, the voltage will be higher for the same amount of charging current applied. The cell will then rebound to a voltage further from the loaded and charging voltages. This, obviously, can look like high self discharge but is a different phenomenon.&lt;br /&gt;
# Absolute maximum current decrease.&lt;br /&gt;
Elevated impedance causes a more complex constellation of symptoms, some of which may be easy to confuse with High Self Discharge (HSD). Ohm&#039;s law (E=I/R) holds the key to understanding here.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1) Elevated Peukert losses.&#039;&#039;&#039; Because more energy per unit of current through the cell is lost as heat, less of the cell&#039;s capacity is actually USABLE. Thus, apparent capacity loss can be significantly greater than actual capacity loss caused by the loss of cycleable Li alone. In low current applications, the two numbers will be close together. In high current applications, Peukert losses increase in proportion, so apparent loss of capacity breaks further and further away from actual capacity loss as current increases.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2) Greater voltage excursion under the same load.&#039;&#039;&#039; Elevated resistance across the cell means that voltage will sag more under the same load than it did when the cell was healthier. Conversely, voltage will rise higher with the same amount of applied charge current than it did when it was healthier. At the same time, rebound/settling voltages will be further away from loaded/charging voltages. In other words, the cell will rebound to a voltage further away from loaded voltage, all else being equal. Similarly, voltage will settle farther from the charge voltage with the same charge applied. This can give the illusion of elevated self-discharge, but the phenomenon is actually not the same thing. Again, the greater the charge and load currents, the greater the effect becomes.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3) Absolute max current decreases.&#039;&#039;&#039; Because the cell&#039;s series resistance is elevated, the maximum possible current through the cell is decreased.&lt;br /&gt;
&lt;br /&gt;
Just to confuse things further, there can be many factors that lead to impedance rise. Some are related to Li plating, others are not.&lt;br /&gt;
&lt;br /&gt;
=== Lithium-ion ===&lt;br /&gt;
Lithium-ion (Li-ion) batteries have a greater energy density than Lithium Iron Phosphate batteries, but have more challenging needs to use safely. The ideal operating range of Li-ion batteries is between +15 and +45°C. The upper limit of temperature is particularly important as Li-ion batteries experience thermal runaway - an unstoppable chain reaction that can occur in milliseconds releasing the stored energy in the cell. This can produce temperatures of 400°C and a fire that is extremely difficult to put out. Thermal runaway can start as low as 60°C and becomes much more likely at 100°C&lt;br /&gt;
&lt;br /&gt;
Risk factors for thermal runaway:&lt;br /&gt;
* Short Circuits - either internally or externally&lt;br /&gt;
* Overcharging&lt;br /&gt;
* Excessive current draw or when charging&lt;br /&gt;
&lt;br /&gt;
==== Li-ion pouch cells ====&lt;br /&gt;
[https://kokam.com/cell Kokam] produce high-performance Li-ion pouch cells. These combine relative ease of use and pack construction with performance close to cylindrical cells. &lt;br /&gt;
&lt;br /&gt;
==== Li-ion 18650 and other cylindrical cells ====&lt;br /&gt;
Cylindrical cells are favoured by Tesla, and are probably the main reason why their cars achieve such excellent performance. They are light, compact, powerful and expensive. Unfortunately, cylindrical cells are  difficult (and potentially dangerous) to use in DIY conversions. There are two good reasons for this: thermal management and cell configuration.&lt;br /&gt;
&lt;br /&gt;
As stated above, Li-ion cells are prone to thermal runaway. So you need perfect battery and thermal management to ensure that no cell ever exceeds the critical voltage or temperature. If this happens, a cell can short-circuit internally, releasing a lot of energy - potentially explosively. Furthermore, the individual cells are small, so need to be arranged in parallel. In the case of the Tesla Model S 85kW pack, there are 74 cells in parallel. Imagine if one of those cells fails and becomes short circuited internally. You now have 73 very high power cells all feeding in to that short circuit...&lt;br /&gt;
&lt;br /&gt;
In fact, you don&#039;t have to imagine: you can watch this famous video instead (courtesy of Rich Rebuilds).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;youtube&amp;gt;WdDi1haA71Q&amp;lt;/youtube&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== OEM modules ==&lt;br /&gt;
Using an OEM module means a lot of the difficulties and safety issues associated with battery design are taken care of e.g. cooling, clamping, etc.&lt;br /&gt;
&lt;br /&gt;
Here is a handy list of OEM modules:&lt;br /&gt;
{| class=&amp;quot;wikitable sortable mw-collapsible&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!Manufacturer&lt;br /&gt;
!Model&lt;br /&gt;
!Capacity (kWh)&lt;br /&gt;
!Weight (kg)&lt;br /&gt;
!w (mm)&lt;br /&gt;
!d (mm)&lt;br /&gt;
!h (mm)&lt;br /&gt;
!Gravity (kg/kWh)&lt;br /&gt;
!Volume (L/kWh)&lt;br /&gt;
!Voltage (V)&lt;br /&gt;
!Current (cont A)&lt;br /&gt;
!Current (peak A)&lt;br /&gt;
!Cell arrangement&lt;br /&gt;
!Cell type&lt;br /&gt;
!Chemistry&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model S 85kWh&lt;br /&gt;
|5.3&lt;br /&gt;
|26&lt;br /&gt;
|690&lt;br /&gt;
|315&lt;br /&gt;
|80&lt;br /&gt;
|4.9&lt;br /&gt;
|3.3&lt;br /&gt;
|22.8&lt;br /&gt;
|500&lt;br /&gt;
|750&lt;br /&gt;
|74p6s&lt;br /&gt;
|18650&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model S 100kWh&lt;br /&gt;
|6.4&lt;br /&gt;
|28&lt;br /&gt;
|680&lt;br /&gt;
|315&lt;br /&gt;
|80&lt;br /&gt;
|4.4&lt;br /&gt;
|2.7&lt;br /&gt;
|22.8&lt;br /&gt;
|&lt;br /&gt;
|870&lt;br /&gt;
|86p6s&lt;br /&gt;
|18650&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model 3 LR (inner)&lt;br /&gt;
|19.2&lt;br /&gt;
|98.9&lt;br /&gt;
|1854&lt;br /&gt;
|292&lt;br /&gt;
|90&lt;br /&gt;
|5.2&lt;br /&gt;
|2.5&lt;br /&gt;
|91.1&lt;br /&gt;
|&lt;br /&gt;
|971&lt;br /&gt;
|46p25s&lt;br /&gt;
|2170&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model 3 LR (outer)&lt;br /&gt;
|17.7&lt;br /&gt;
|86.6&lt;br /&gt;
|1715&lt;br /&gt;
|292&lt;br /&gt;
|90&lt;br /&gt;
|4.9&lt;br /&gt;
|2.5&lt;br /&gt;
|83.9&lt;br /&gt;
|&lt;br /&gt;
|971&lt;br /&gt;
|46p23s&lt;br /&gt;
|2170&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model 3 SR (inner)&lt;br /&gt;
|13.0&lt;br /&gt;
|&lt;br /&gt;
|1854&lt;br /&gt;
|292&lt;br /&gt;
|90&lt;br /&gt;
|&lt;br /&gt;
|3.7&lt;br /&gt;
|91.1&lt;br /&gt;
|&lt;br /&gt;
|603&lt;br /&gt;
|31p25s&lt;br /&gt;
|2170&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model 3 SR (outer)&lt;br /&gt;
|12.0&lt;br /&gt;
|&lt;br /&gt;
|1715&lt;br /&gt;
|292&lt;br /&gt;
|90&lt;br /&gt;
|&lt;br /&gt;
|3.8&lt;br /&gt;
|83.9&lt;br /&gt;
|&lt;br /&gt;
|603&lt;br /&gt;
|31p23s&lt;br /&gt;
|2170&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Chevrolet&lt;br /&gt;
|Volt 2012&lt;br /&gt;
|4&lt;br /&gt;
|38&lt;br /&gt;
|470&lt;br /&gt;
|180&lt;br /&gt;
|280&lt;br /&gt;
|9.5&lt;br /&gt;
|5.9&lt;br /&gt;
|88&lt;br /&gt;
|140&lt;br /&gt;
|210&lt;br /&gt;
|24s&lt;br /&gt;
|Pouch&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|BMW&lt;br /&gt;
|i3 60Ah&lt;br /&gt;
|2&lt;br /&gt;
|13&lt;br /&gt;
|368&lt;br /&gt;
|178&lt;br /&gt;
|102&lt;br /&gt;
|6.5&lt;br /&gt;
|3.3&lt;br /&gt;
|28.8&lt;br /&gt;
|210&lt;br /&gt;
|350&lt;br /&gt;
|8s2p&lt;br /&gt;
|Prismatic&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|BMW&lt;br /&gt;
|i3 94Ah&lt;br /&gt;
|4.15&lt;br /&gt;
|28&lt;br /&gt;
|410&lt;br /&gt;
|310&lt;br /&gt;
|150&lt;br /&gt;
|6.7&lt;br /&gt;
|4.6&lt;br /&gt;
|45.6&lt;br /&gt;
|&lt;br /&gt;
|409&lt;br /&gt;
|12s&lt;br /&gt;
|Prismatic&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|BMW&lt;br /&gt;
|i3 120Ah&lt;br /&gt;
|5.3&lt;br /&gt;
|28&lt;br /&gt;
|410&lt;br /&gt;
|310&lt;br /&gt;
|150&lt;br /&gt;
|5.3&lt;br /&gt;
|3.6&lt;br /&gt;
|45.6&lt;br /&gt;
|&lt;br /&gt;
|360&lt;br /&gt;
|12s&lt;br /&gt;
|Prismatic&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Jaguar&lt;br /&gt;
|iPace&lt;br /&gt;
|2.5&lt;br /&gt;
|12&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|4.8&lt;br /&gt;
|&lt;br /&gt;
|43.1&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|12s4p&lt;br /&gt;
|Pouch&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Mitsubishi&lt;br /&gt;
|Outlander&lt;br /&gt;
|2.4&lt;br /&gt;
|26&lt;br /&gt;
|646&lt;br /&gt;
|184&lt;br /&gt;
|130&lt;br /&gt;
|10.8&lt;br /&gt;
|6.4&lt;br /&gt;
|60&lt;br /&gt;
|&lt;br /&gt;
|240&lt;br /&gt;
|16s&lt;br /&gt;
|&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Nissan&lt;br /&gt;
|Leaf 24kWh&lt;br /&gt;
|0.5&lt;br /&gt;
|3.65&lt;br /&gt;
|300&lt;br /&gt;
|222&lt;br /&gt;
|34&lt;br /&gt;
|7.3&lt;br /&gt;
|4.5&lt;br /&gt;
|7.4&lt;br /&gt;
|130&lt;br /&gt;
|228&lt;br /&gt;
|2s2p&lt;br /&gt;
|Pouch&lt;br /&gt;
|Li-ion LMO&lt;br /&gt;
|-&lt;br /&gt;
|Nissan&lt;br /&gt;
|Leaf 40kWh&lt;br /&gt;
|1.6&lt;br /&gt;
|8.7&lt;br /&gt;
|300&lt;br /&gt;
|222&lt;br /&gt;
|68&lt;br /&gt;
|5.4&lt;br /&gt;
|2.8&lt;br /&gt;
|14.6&lt;br /&gt;
|&lt;br /&gt;
|314&lt;br /&gt;
|4s2p&lt;br /&gt;
|Pouch&lt;br /&gt;
|Li-ion NMC&lt;br /&gt;
|-&lt;br /&gt;
|Volvo&lt;br /&gt;
|XC90 T8&lt;br /&gt;
|2.01&lt;br /&gt;
|12.1&lt;br /&gt;
|300&lt;br /&gt;
|180&lt;br /&gt;
|150&lt;br /&gt;
|6.0&lt;br /&gt;
|4.0&lt;br /&gt;
|59.2&lt;br /&gt;
|170&lt;br /&gt;
|340&lt;br /&gt;
|16s&lt;br /&gt;
|&lt;br /&gt;
|Li-ion&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Clanger9</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Batteries&amp;diff=1179</id>
		<title>Batteries</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Batteries&amp;diff=1179"/>
		<updated>2020-12-05T22:15:47Z</updated>

		<summary type="html">&lt;p&gt;Clanger9: /* Volume (L) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
There are a wide variety of battery chemistries available for use as the main traction battery of an EV. To use each chemistry safely, and to ensure an adequate service life from the battery pack it is important to understand the requirements for the chemistry you are using. Failure to do so may lead to premature or catastrophic failure of the pack.&lt;br /&gt;
&lt;br /&gt;
Good pack design will allow for a nominal amount of abuse. People make mistakes and the pack should allow a margin for safety - and for longevity!&lt;br /&gt;
&lt;br /&gt;
== Battery pack specification ==&lt;br /&gt;
When deciding on your battery pack, here are some basic parameters to consider:&lt;br /&gt;
&lt;br /&gt;
=== Capacity (kWh) ===&lt;br /&gt;
&#039;&#039;&#039;How far do you want to go?&#039;&#039;&#039; A standard  car conversion will need a kWh for each 3 miles of range (very approximately). For a middleweight motorcycle, a kWh should give around 9 miles. Your mileage may vary, &#039;&#039;as they say.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Voltage (V) ===&lt;br /&gt;
&#039;&#039;&#039;How fast do you want to go?&#039;&#039;&#039; The pack voltage defines the maximum speed your motor can spin. Motors are usually specified with &amp;quot;KV&amp;quot; - or RPM-per-volt. Check the KV of your motor and how fast it needs to spin to get your desired top speed. e.g. if you need 3,000 RPM from a 25 KV motor then your pack voltage needs to be  3,000 / 25 = 120 V. The exact number of cells in series you need depends on the cell design, but 3.8 V for Li-ion and 3.2 V for LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; is a reasonable guess.&lt;br /&gt;
&lt;br /&gt;
=== Maximum current (A) ===&lt;br /&gt;
&#039;&#039;&#039;How quickly do you want to accelerate?&#039;&#039;&#039; Your motor&#039;s maximum power will be specified in kW. To estimate your maximum current draw, divide the peak power by the battery voltage. e.g. a 30 kW motor with a 120 V battery pack will pull 30,000 / 120 = 250 A. The higher the current rating of the cells, the heavier they will be for a given capacity. Ideally, you want &amp;quot;enough&amp;quot; current capacity for full throttle acceleration, but no more. You can put cells in parallel to double the current rating of your pack (which of course will half the voltage). &lt;br /&gt;
&lt;br /&gt;
=== Mass (kg) ===&lt;br /&gt;
&#039;&#039;&#039;Can your vehicle carry the weight?&#039;&#039;&#039; You&#039;ll need to keep the kerb weight within the original design limits. For a car, this could be a few hundred kg. For a motorcycle, likely less than 100 kg. This is a huge variable - and each new generation of battery tech seems to be a little lighter. For older EV or hybrid batteries, you can reckon on approximately 10 kg/kWh. Nissan Leaf batteries are relatively light (7.5 kg/kWh). With the latest technology (e.g. Kokam pouch cells or 18650s), you can get this down to 5-6 kg/kWh.&lt;br /&gt;
&lt;br /&gt;
=== Volume (L) ===&lt;br /&gt;
&#039;&#039;&#039;Will it fit?&#039;&#039;&#039; Batteries are bulky. They are getting smaller, but finding enough space might be your biggest challenge. You could be looking at over 5 L/kWh for older EV or hybrid batteries. Current state-of-the-art is the Tesla Model 3, which gets this down to 2.5 L/kWh by using 2170 cylindrical cells.&lt;br /&gt;
&lt;br /&gt;
There is much, much more to battery design than this (e.g. maximum charge rate, terminations, cooling, clamping), but the above should help work out which options will or won&#039;t work for your project...&lt;br /&gt;
&lt;br /&gt;
== Cell chemistry ==&lt;br /&gt;
&lt;br /&gt;
=== Lithium Iron Phosphate (LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt;) ===&lt;br /&gt;
Lithium Iron Phosphate (also known as LFP, or LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt;) batteries offer a good compromise between safety, energy density and ease of use for DIY conversions. They are available in a number of formats, commonly pouch cells, prismatic cells and cylindrical cells.&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; pouch cells ====&lt;br /&gt;
The majority of this content is drawn from this thread: [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761&amp;amp;start=900 https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761] discussing the use of the A123 20Ah pouch cell. However, many of the general points apply equally to other similar pouch cells.&lt;br /&gt;
&lt;br /&gt;
===== General build requirements =====&lt;br /&gt;
Pouch cells are vulnerable to damage from debris, and must be held in compression (see the datasheet for your battery, but 10-12 psi is recommended for the A123 pouch cells as a guide). A rigid container capable of preventing damage and providing compression is therefore required. Be aware the cells expand and contract in use, so allowance for this must be included in the structure of the case.&lt;br /&gt;
&lt;br /&gt;
The pouch cells should be separated to prevent abrasion between cells, and also to avoid the development of hot spots. Prebuilt modules from A123 systems had thin foam sheets or heatsinks between each cell. Be sure to avoid any debris that could rub on the pouch surface, particularly if using recycled cells.&lt;br /&gt;
&lt;br /&gt;
Mylar, &#039;[https://www.americanmicroinc.com/fish-paper/ Fish paper]&#039; or a [https://www.rogerscorp.com/elastomeric-material-solutions/poron-industrial-polyurethanes compliant foam] may be appropriate materials to serve this purpose. This material should not be flammable. If the material is heat insulating, it is important to address thermal management.&lt;br /&gt;
&lt;br /&gt;
===== Compression =====&lt;br /&gt;
Compression is required to prevent premature failure of the cell. Without compression electrolyte will become unevenly distributed, causing current gradients in the cell and uneven heating. Local temperatures can become high enough to form gas formation leading to cells &#039;puffing up&#039; even when the pack is otherwise held within temperature and voltage constraints. This will be exacerbated in packs with otherwise poor thermal management. Compression forces gas generated to the margins of the cell, outside of the cell stack, minimising its effect cell performance. Gas in the middle cells will create a dead space which does not store or release energy.&lt;br /&gt;
&lt;br /&gt;
There is ~1% expansion through a discharge cycle. As the cell ages, the nominal cell thickness can grow by 3-5%. For A123 cells the ideal pressure is between 4 and 18psi with the ideal pressure being ~12psi. Maintaining 12psi can increase the life by 500 cycles over that of 4 or 18psi&lt;br /&gt;
&lt;br /&gt;
There is some suggestion that in uses where 1C is never exceeded compression &#039;&#039;may&#039;&#039; not be required.&lt;br /&gt;
&lt;br /&gt;
Highly rigid endplates with a mechanism to allow for a limited degree of expansion (e.g. steel bands) are considered an effective solution to this challenge.&lt;br /&gt;
&lt;br /&gt;
It should be noted that compression is a challenge specific to pouch cells. Cylindrical cells are designed to maintain their own compression within the cell&#039;s electrode stack by their design.&lt;br /&gt;
&lt;br /&gt;
This thread provides more information and experimentation relating to pack compression: &amp;lt;nowiki&amp;gt;https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=52244&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Pouch Cell Pack Design Examples =====&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;placeholder*&lt;br /&gt;
&lt;br /&gt;
===== Notes regarding recycled pouch cells =====&lt;br /&gt;
Pouch cells are somewhat fragile, and breaching the insulation is not difficult, especially in a cells removed from existing packs and repurposed. If the pouch has had their poly-layers compromised you may see a number of faults:&lt;br /&gt;
* Black spots around the perimeter of the cell indicate electrolyte leakage&lt;br /&gt;
* Voltage on the outside of the bag. Note that microvoltage between the pouch and the electrode is normal (and due to a capacitive effect).&lt;br /&gt;
While the majority of these cells should no longer be in the market, a significant number of faulty cells made it back into the &#039;greymarket&#039; in around 2013. These cells had misaligned tabs which can also lead to isolation failures between the tab and the pack. These cells should be avoided, particularly in high demand applications.&lt;br /&gt;
&lt;br /&gt;
===== Situations likely to cause pouch cell failure =====&lt;br /&gt;
&#039;&#039;Taken directly from [https://endless-sphere.com/forums/memberlist.php?mode=viewprofile&amp;amp;u=33107 wb9k]&#039;s post on endless sphere in the [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761 A123 thread]&#039;&#039;&lt;br /&gt;
# &#039;&#039;&#039;Overcharge&#039;&#039;&#039;. Any extended time above 3.8 Volts will generate enough heat and electrochemical activity to puff a cell, especially one that is improperly compressed.&lt;br /&gt;
# &#039;&#039;&#039;Overdischarge followed by charge&#039;&#039;&#039;. Any A123 cell that has been pulled low enough to come to rest at &amp;lt;300 mV should be immediately scrapped. The published number for that is 500 mV, but the real figure is closer to 300, so that&#039;s a &amp;quot;safety buffer&amp;quot; if you will. Below this Voltage, the Cu electrodes start to dissolve into the electrolyte. When charge is applied, the Cu forms dendrites that puncture the separator layer, forming an internal short in the cell. This can puff a cell in a hurry---the more charge current on tap, the worse it&#039;s prone to be.&lt;br /&gt;
# &#039;&#039;&#039;Driving a cell negative&#039;&#039;&#039;. I&#039;ve neglected to mention this before, but it is a possibility. I don&#039;t know much about the specific mechanism at this time.&lt;br /&gt;
# &#039;&#039;&#039;Malfunctioning or misinformed electronics&#039;&#039;&#039;. This is the most common cause of all of the above in my experience. At this stage of the game, it is critical for YOU to understand how your BMS functions on at least a cursory level. Choose your BMS very carefully and periodically verify that it is operating properly. They&#039;re not all created equal. Make sure V sense lines are securely connected and free of corrosion. Just because your BMS says there was never a problem doesn&#039;t necessarily make it so. Avoid harnesses or ribbon cables between multiple modules if possible--they are problematic wherever they are used in any mobile electronics.&lt;br /&gt;
# &#039;&#039;&#039;Exposure to or generation of sufficient heat&#039;&#039;&#039;. I don&#039;t know exactly at what temperature gas formation begins in the electrolyte, but we spec a max storage temp of 80 (or 85?) degrees C and I suspect this is the reason. The hotter, the puffier--to a point. This is why soldering tabs poses a real hazard to cell health. If you feel you must solder, sink or blow the heat away from the body of the cell. Use a big iron that can make sufficient local heat quickly, before the whole mass of the cell gets hot. You might even get the cell warm enough to melt separator if not careful.&lt;br /&gt;
# &#039;&#039;&#039;No compression, not enough compression, improperly distributed compression&#039;&#039;&#039;. This is a pack/module design issue. Apply 10, maybe 15 psi to your cell stack end to end and then band snugly and evenly. Use hard endplates of some sort--never wrap cells directly or allow their shape to become distorted. Protect all areas of the pouch from impact damage. This obviously does not apply to cylindrical cells.&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; prismatic cells ====&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;placeholder*&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; cylindrical cells ====&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;placeholder*&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; cell ageing ====&lt;br /&gt;
&#039;&#039;Derived (barely paraphrased) from [https://endless-sphere.com/forums/memberlist.php?mode=viewprofile&amp;amp;u=33107 wb9k]&#039;s post on endless sphere in the [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761 A123 thread]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Capacity loss is caused by the lithium that was available for storage becoming permanently plated on the cathode. Being unable to move within the cell it is no longer available to store energy. The impact of this plating is greater than the amount of lithium &#039;lost&#039; to plating because not only is the lithium no longer available, it is also preventing access to that part of the cathode meaning Li that can still move has to take a longer path to reach the cathode. Lithium plating is one cause of increased cell resistance (there are others), a sign of worsening cell health.&lt;br /&gt;
&lt;br /&gt;
There is no linear relationship between actual capacity loss and impedance rise. However some cell defects will also increase impedance.&lt;br /&gt;
&lt;br /&gt;
Increasing cell resistance may cause a number of symptoms which may be confused with [https://earthshipbiotecture.com/a-lithium-ion-battery-primer/ High Self Discharge.]&lt;br /&gt;
# Elevated Peukert Losses. As more energy per amount of current through the cell is lost as heat, the cells useable capacity decreases. So the apparent capacity loss is higher than the actual capacity loss of cycleable lithium. When used in low current applications (e.g. solar energy storage) the actual and apparent decrease in capacity will be small. In high current draw applications (like EV traction packs), the Peukert loss increases proportionally, so the apparent capacity loss increases much faster than the actual capacity loss.&lt;br /&gt;
# Greater voltage excursion under the same load. Due to increased cell resistancethe voltage will sag further under the same load than a cell in optimal condition. The inverse is also true, the voltage will be higher for the same amount of charging current applied. The cell will then rebound to a voltage further from the loaded and charging voltages. This, obviously, can look like high self discharge but is a different phenomenon.&lt;br /&gt;
# Absolute maximum current decrease.&lt;br /&gt;
Elevated impedance causes a more complex constellation of symptoms, some of which may be easy to confuse with High Self Discharge (HSD). Ohm&#039;s law (E=I/R) holds the key to understanding here.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1) Elevated Peukert losses.&#039;&#039;&#039; Because more energy per unit of current through the cell is lost as heat, less of the cell&#039;s capacity is actually USABLE. Thus, apparent capacity loss can be significantly greater than actual capacity loss caused by the loss of cycleable Li alone. In low current applications, the two numbers will be close together. In high current applications, Peukert losses increase in proportion, so apparent loss of capacity breaks further and further away from actual capacity loss as current increases.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2) Greater voltage excursion under the same load.&#039;&#039;&#039; Elevated resistance across the cell means that voltage will sag more under the same load than it did when the cell was healthier. Conversely, voltage will rise higher with the same amount of applied charge current than it did when it was healthier. At the same time, rebound/settling voltages will be further away from loaded/charging voltages. In other words, the cell will rebound to a voltage further away from loaded voltage, all else being equal. Similarly, voltage will settle farther from the charge voltage with the same charge applied. This can give the illusion of elevated self-discharge, but the phenomenon is actually not the same thing. Again, the greater the charge and load currents, the greater the effect becomes.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3) Absolute max current decreases.&#039;&#039;&#039; Because the cell&#039;s series resistance is elevated, the maximum possible current through the cell is decreased.&lt;br /&gt;
&lt;br /&gt;
Just to confuse things further, there can be many factors that lead to impedance rise. Some are related to Li plating, others are not.&lt;br /&gt;
&lt;br /&gt;
=== Lithium-ion ===&lt;br /&gt;
Lithium-ion (Li-ion) batteries have a greater energy density than Lithium Iron Phosphate batteries, but have more challenging needs to use safely. The ideal operating range of Li-ion batteries is between +15 and +45°C. The upper limit of temperature is particularly important as Li-ion batteries experience thermal runaway - an unstoppable chain reaction that can occur in milliseconds releasing the stored energy in the cell. This can produce temperatures of 400°C and a fire that is extremely difficult to put out. Thermal runaway can start as low as 60°C and becomes much more likely at 100°C&lt;br /&gt;
&lt;br /&gt;
Risk factors for thermal runaway:&lt;br /&gt;
* Short Circuits - either internally or externally&lt;br /&gt;
* Overcharging&lt;br /&gt;
* Excessive current draw or when charging&lt;br /&gt;
&lt;br /&gt;
==== Li-ion pouch cells ====&lt;br /&gt;
[https://kokam.com/cell Kokam] produce high-performance Li-ion pouch cells. These combine relative ease of use and pack construction with performance close to cylindrical cells. &lt;br /&gt;
&lt;br /&gt;
==== Li-ion 18650 and other cylindrical cells ====&lt;br /&gt;
Cylindrical cells are favoured by Tesla, and are probably the main reason why their cars achieve such excellent performance. They are light, compact, powerful and expensive. Unfortunately, cylindrical cells are  difficult (and potentially dangerous) to use in DIY conversions. There are two good reasons for this: thermal management and cell configuration.&lt;br /&gt;
&lt;br /&gt;
As stated above, Li-ion cells are prone to thermal runaway. So you need perfect battery and thermal management to ensure that no cell ever exceeds the critical voltage or temperature. If this happens, a cell can short-circuit internally, releasing a lot of energy - potentially explosively. Furthermore, the individual cells are small, so need to be arranged in parallel. In the case of the Tesla Model S 85kW pack, there are 74 cells in parallel. Imagine if one of those cells fails and becomes short circuited internally. You now have 73 very high power cells all feeding in to that short circuit...&lt;br /&gt;
&lt;br /&gt;
In fact, you don&#039;t have to imagine: you can watch this famous video instead (courtesy of Rich Rebuilds).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;youtube&amp;gt;WdDi1haA71Q&amp;lt;/youtube&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== OEM modules ==&lt;br /&gt;
Using an OEM module means a lot of the difficulties and safety issues associated with battery design are taken care of e.g. cooling, clamping, etc.&lt;br /&gt;
&lt;br /&gt;
Here is a handy list of OEM modules:&lt;br /&gt;
{| class=&amp;quot;wikitable sortable mw-collapsible&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!Manufacturer&lt;br /&gt;
!Model&lt;br /&gt;
!Capacity (kWh)&lt;br /&gt;
!Weight (kg)&lt;br /&gt;
!w (mm)&lt;br /&gt;
!d (mm)&lt;br /&gt;
!h (mm)&lt;br /&gt;
!Gravity (kg/kWh)&lt;br /&gt;
!Volume (L/kWh)&lt;br /&gt;
!Voltage (V)&lt;br /&gt;
!Current (cont A)&lt;br /&gt;
!Current (peak A)&lt;br /&gt;
!Cell arrangement&lt;br /&gt;
!Cell type&lt;br /&gt;
!Chemistry&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model S 85kWh&lt;br /&gt;
|5.3&lt;br /&gt;
|26&lt;br /&gt;
|690&lt;br /&gt;
|315&lt;br /&gt;
|80&lt;br /&gt;
|4.9&lt;br /&gt;
|3.3&lt;br /&gt;
|22.8&lt;br /&gt;
|500&lt;br /&gt;
|750&lt;br /&gt;
|74p6s&lt;br /&gt;
|18650&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model S 100kWh&lt;br /&gt;
|6.4&lt;br /&gt;
|28&lt;br /&gt;
|680&lt;br /&gt;
|315&lt;br /&gt;
|80&lt;br /&gt;
|4.4&lt;br /&gt;
|2.7&lt;br /&gt;
|22.8&lt;br /&gt;
|&lt;br /&gt;
|870&lt;br /&gt;
|86p6s&lt;br /&gt;
|18650&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model 3 LR (inner)&lt;br /&gt;
|19.2&lt;br /&gt;
|98.9&lt;br /&gt;
|1854&lt;br /&gt;
|292&lt;br /&gt;
|90&lt;br /&gt;
|5.2&lt;br /&gt;
|2.5&lt;br /&gt;
|91.1&lt;br /&gt;
|&lt;br /&gt;
|971&lt;br /&gt;
|46p25s&lt;br /&gt;
|2170&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model 3 LR (outer)&lt;br /&gt;
|17.7&lt;br /&gt;
|86.6&lt;br /&gt;
|1715&lt;br /&gt;
|292&lt;br /&gt;
|90&lt;br /&gt;
|4.9&lt;br /&gt;
|2.5&lt;br /&gt;
|83.9&lt;br /&gt;
|&lt;br /&gt;
|971&lt;br /&gt;
|46p23s&lt;br /&gt;
|2170&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model 3 SR (inner)&lt;br /&gt;
|13.0&lt;br /&gt;
|&lt;br /&gt;
|1854&lt;br /&gt;
|292&lt;br /&gt;
|90&lt;br /&gt;
|&lt;br /&gt;
|3.7&lt;br /&gt;
|91.1&lt;br /&gt;
|&lt;br /&gt;
|603&lt;br /&gt;
|31p25s&lt;br /&gt;
|2170&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model 3 SR (outer)&lt;br /&gt;
|12.0&lt;br /&gt;
|&lt;br /&gt;
|1715&lt;br /&gt;
|292&lt;br /&gt;
|90&lt;br /&gt;
|&lt;br /&gt;
|3.8&lt;br /&gt;
|83.9&lt;br /&gt;
|&lt;br /&gt;
|603&lt;br /&gt;
|31p23s&lt;br /&gt;
|2170&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Chevrolet&lt;br /&gt;
|Volt 2012&lt;br /&gt;
|4&lt;br /&gt;
|38&lt;br /&gt;
|470&lt;br /&gt;
|180&lt;br /&gt;
|280&lt;br /&gt;
|9.5&lt;br /&gt;
|5.9&lt;br /&gt;
|88&lt;br /&gt;
|140&lt;br /&gt;
|210&lt;br /&gt;
|24s&lt;br /&gt;
|Pouch&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|BMW&lt;br /&gt;
|i3 60Ah&lt;br /&gt;
|2&lt;br /&gt;
|13&lt;br /&gt;
|368&lt;br /&gt;
|178&lt;br /&gt;
|102&lt;br /&gt;
|6.5&lt;br /&gt;
|3.3&lt;br /&gt;
|28.8&lt;br /&gt;
|210&lt;br /&gt;
|350&lt;br /&gt;
|8s2p&lt;br /&gt;
|Prismatic&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|BMW&lt;br /&gt;
|i3 94Ah&lt;br /&gt;
|4.15&lt;br /&gt;
|28&lt;br /&gt;
|410&lt;br /&gt;
|310&lt;br /&gt;
|150&lt;br /&gt;
|6.7&lt;br /&gt;
|4.6&lt;br /&gt;
|45.6&lt;br /&gt;
|&lt;br /&gt;
|409&lt;br /&gt;
|12s&lt;br /&gt;
|Prismatic&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|BMW&lt;br /&gt;
|i3 120Ah&lt;br /&gt;
|5.3&lt;br /&gt;
|28&lt;br /&gt;
|410&lt;br /&gt;
|310&lt;br /&gt;
|150&lt;br /&gt;
|5.3&lt;br /&gt;
|3.6&lt;br /&gt;
|45.6&lt;br /&gt;
|&lt;br /&gt;
|360&lt;br /&gt;
|12s&lt;br /&gt;
|Prismatic&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Mitsubishi&lt;br /&gt;
|Outlander&lt;br /&gt;
|2.4&lt;br /&gt;
|26&lt;br /&gt;
|646&lt;br /&gt;
|184&lt;br /&gt;
|130&lt;br /&gt;
|10.8&lt;br /&gt;
|6.4&lt;br /&gt;
|60&lt;br /&gt;
|&lt;br /&gt;
|240&lt;br /&gt;
|16s&lt;br /&gt;
|&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Nissan&lt;br /&gt;
|Leaf 24kWh&lt;br /&gt;
|0.5&lt;br /&gt;
|3.65&lt;br /&gt;
|300&lt;br /&gt;
|222&lt;br /&gt;
|34&lt;br /&gt;
|7.3&lt;br /&gt;
|4.5&lt;br /&gt;
|7.4&lt;br /&gt;
|130&lt;br /&gt;
|228&lt;br /&gt;
|2s2p&lt;br /&gt;
|Pouch&lt;br /&gt;
|Li-ion LMO&lt;br /&gt;
|-&lt;br /&gt;
|Nissan&lt;br /&gt;
|Leaf 40kWh&lt;br /&gt;
|1.6&lt;br /&gt;
|8.7&lt;br /&gt;
|300&lt;br /&gt;
|222&lt;br /&gt;
|68&lt;br /&gt;
|5.4&lt;br /&gt;
|2.8&lt;br /&gt;
|14.6&lt;br /&gt;
|&lt;br /&gt;
|314&lt;br /&gt;
|4s2p&lt;br /&gt;
|Pouch&lt;br /&gt;
|Li-ion NMC&lt;br /&gt;
|-&lt;br /&gt;
|Volvo&lt;br /&gt;
|XC90 T8&lt;br /&gt;
|2.01&lt;br /&gt;
|12.1&lt;br /&gt;
|300&lt;br /&gt;
|180&lt;br /&gt;
|150&lt;br /&gt;
|6.0&lt;br /&gt;
|4.0&lt;br /&gt;
|59.2&lt;br /&gt;
|170&lt;br /&gt;
|340&lt;br /&gt;
|16s&lt;br /&gt;
|&lt;br /&gt;
|Li-ion&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Clanger9</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Batteries&amp;diff=1178</id>
		<title>Batteries</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Batteries&amp;diff=1178"/>
		<updated>2020-12-05T22:13:50Z</updated>

		<summary type="html">&lt;p&gt;Clanger9: /* OEM modules */ Add Tesla Model 3&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
There are a wide variety of battery chemistries available for use as the main traction battery of an EV. To use each chemistry safely, and to ensure an adequate service life from the battery pack it is important to understand the requirements for the chemistry you are using. Failure to do so may lead to premature or catastrophic failure of the pack.&lt;br /&gt;
&lt;br /&gt;
Good pack design will allow for a nominal amount of abuse. People make mistakes and the pack should allow a margin for safety - and for longevity!&lt;br /&gt;
&lt;br /&gt;
== Battery pack specification ==&lt;br /&gt;
When deciding on your battery pack, here are some basic parameters to consider:&lt;br /&gt;
&lt;br /&gt;
=== Capacity (kWh) ===&lt;br /&gt;
&#039;&#039;&#039;How far do you want to go?&#039;&#039;&#039; A standard  car conversion will need a kWh for each 3 miles of range (very approximately). For a middleweight motorcycle, a kWh should give around 9 miles. Your mileage may vary, &#039;&#039;as they say.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Voltage (V) ===&lt;br /&gt;
&#039;&#039;&#039;How fast do you want to go?&#039;&#039;&#039; The pack voltage defines the maximum speed your motor can spin. Motors are usually specified with &amp;quot;KV&amp;quot; - or RPM-per-volt. Check the KV of your motor and how fast it needs to spin to get your desired top speed. e.g. if you need 3,000 RPM from a 25 KV motor then your pack voltage needs to be  3,000 / 25 = 120 V. The exact number of cells in series you need depends on the cell design, but 3.8 V for Li-ion and 3.2 V for LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; is a reasonable guess.&lt;br /&gt;
&lt;br /&gt;
=== Maximum current (A) ===&lt;br /&gt;
&#039;&#039;&#039;How quickly do you want to accelerate?&#039;&#039;&#039; Your motor&#039;s maximum power will be specified in kW. To estimate your maximum current draw, divide the peak power by the battery voltage. e.g. a 30 kW motor with a 120 V battery pack will pull 30,000 / 120 = 250 A. The higher the current rating of the cells, the heavier they will be for a given capacity. Ideally, you want &amp;quot;enough&amp;quot; current capacity for full throttle acceleration, but no more. You can put cells in parallel to double the current rating of your pack (which of course will half the voltage). &lt;br /&gt;
&lt;br /&gt;
=== Mass (kg) ===&lt;br /&gt;
&#039;&#039;&#039;Can your vehicle carry the weight?&#039;&#039;&#039; You&#039;ll need to keep the kerb weight within the original design limits. For a car, this could be a few hundred kg. For a motorcycle, likely less than 100 kg. This is a huge variable - and each new generation of battery tech seems to be a little lighter. For older EV or hybrid batteries, you can reckon on approximately 10 kg/kWh. Nissan Leaf batteries are relatively light (7.5 kg/kWh). With the latest technology (e.g. Kokam pouch cells or 18650s), you can get this down to 5-6 kg/kWh.&lt;br /&gt;
&lt;br /&gt;
=== Volume (L) ===&lt;br /&gt;
&#039;&#039;&#039;Will it fit?&#039;&#039;&#039; Batteries are bulky. They are getting smaller, but finding enough space might be your biggest challenge. You could be looking at over 5 L/kWh for older EV or hybrid batteries. For the latest technology (e.g. Kokam pouch cells or 18650s), you can get this down to 3 L/kWh.&lt;br /&gt;
&lt;br /&gt;
There is much, much more to battery design than this (e.g. maximum charge rate, terminations, cooling, clamping), but the above should help work out which options will or won&#039;t work for your project...&lt;br /&gt;
&lt;br /&gt;
== Cell chemistry ==&lt;br /&gt;
&lt;br /&gt;
=== Lithium Iron Phosphate (LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt;) ===&lt;br /&gt;
Lithium Iron Phosphate (also known as LFP, or LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt;) batteries offer a good compromise between safety, energy density and ease of use for DIY conversions. They are available in a number of formats, commonly pouch cells, prismatic cells and cylindrical cells.&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; pouch cells ====&lt;br /&gt;
The majority of this content is drawn from this thread: [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761&amp;amp;start=900 https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761] discussing the use of the A123 20Ah pouch cell. However, many of the general points apply equally to other similar pouch cells.&lt;br /&gt;
&lt;br /&gt;
===== General build requirements =====&lt;br /&gt;
Pouch cells are vulnerable to damage from debris, and must be held in compression (see the datasheet for your battery, but 10-12 psi is recommended for the A123 pouch cells as a guide). A rigid container capable of preventing damage and providing compression is therefore required. Be aware the cells expand and contract in use, so allowance for this must be included in the structure of the case.&lt;br /&gt;
&lt;br /&gt;
The pouch cells should be separated to prevent abrasion between cells, and also to avoid the development of hot spots. Prebuilt modules from A123 systems had thin foam sheets or heatsinks between each cell. Be sure to avoid any debris that could rub on the pouch surface, particularly if using recycled cells.&lt;br /&gt;
&lt;br /&gt;
Mylar, &#039;[https://www.americanmicroinc.com/fish-paper/ Fish paper]&#039; or a [https://www.rogerscorp.com/elastomeric-material-solutions/poron-industrial-polyurethanes compliant foam] may be appropriate materials to serve this purpose. This material should not be flammable. If the material is heat insulating, it is important to address thermal management.&lt;br /&gt;
&lt;br /&gt;
===== Compression =====&lt;br /&gt;
Compression is required to prevent premature failure of the cell. Without compression electrolyte will become unevenly distributed, causing current gradients in the cell and uneven heating. Local temperatures can become high enough to form gas formation leading to cells &#039;puffing up&#039; even when the pack is otherwise held within temperature and voltage constraints. This will be exacerbated in packs with otherwise poor thermal management. Compression forces gas generated to the margins of the cell, outside of the cell stack, minimising its effect cell performance. Gas in the middle cells will create a dead space which does not store or release energy.&lt;br /&gt;
&lt;br /&gt;
There is ~1% expansion through a discharge cycle. As the cell ages, the nominal cell thickness can grow by 3-5%. For A123 cells the ideal pressure is between 4 and 18psi with the ideal pressure being ~12psi. Maintaining 12psi can increase the life by 500 cycles over that of 4 or 18psi&lt;br /&gt;
&lt;br /&gt;
There is some suggestion that in uses where 1C is never exceeded compression &#039;&#039;may&#039;&#039; not be required.&lt;br /&gt;
&lt;br /&gt;
Highly rigid endplates with a mechanism to allow for a limited degree of expansion (e.g. steel bands) are considered an effective solution to this challenge.&lt;br /&gt;
&lt;br /&gt;
It should be noted that compression is a challenge specific to pouch cells. Cylindrical cells are designed to maintain their own compression within the cell&#039;s electrode stack by their design.&lt;br /&gt;
&lt;br /&gt;
This thread provides more information and experimentation relating to pack compression: &amp;lt;nowiki&amp;gt;https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=52244&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Pouch Cell Pack Design Examples =====&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;placeholder*&lt;br /&gt;
&lt;br /&gt;
===== Notes regarding recycled pouch cells =====&lt;br /&gt;
Pouch cells are somewhat fragile, and breaching the insulation is not difficult, especially in a cells removed from existing packs and repurposed. If the pouch has had their poly-layers compromised you may see a number of faults:&lt;br /&gt;
* Black spots around the perimeter of the cell indicate electrolyte leakage&lt;br /&gt;
* Voltage on the outside of the bag. Note that microvoltage between the pouch and the electrode is normal (and due to a capacitive effect).&lt;br /&gt;
While the majority of these cells should no longer be in the market, a significant number of faulty cells made it back into the &#039;greymarket&#039; in around 2013. These cells had misaligned tabs which can also lead to isolation failures between the tab and the pack. These cells should be avoided, particularly in high demand applications.&lt;br /&gt;
&lt;br /&gt;
===== Situations likely to cause pouch cell failure =====&lt;br /&gt;
&#039;&#039;Taken directly from [https://endless-sphere.com/forums/memberlist.php?mode=viewprofile&amp;amp;u=33107 wb9k]&#039;s post on endless sphere in the [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761 A123 thread]&#039;&#039;&lt;br /&gt;
# &#039;&#039;&#039;Overcharge&#039;&#039;&#039;. Any extended time above 3.8 Volts will generate enough heat and electrochemical activity to puff a cell, especially one that is improperly compressed.&lt;br /&gt;
# &#039;&#039;&#039;Overdischarge followed by charge&#039;&#039;&#039;. Any A123 cell that has been pulled low enough to come to rest at &amp;lt;300 mV should be immediately scrapped. The published number for that is 500 mV, but the real figure is closer to 300, so that&#039;s a &amp;quot;safety buffer&amp;quot; if you will. Below this Voltage, the Cu electrodes start to dissolve into the electrolyte. When charge is applied, the Cu forms dendrites that puncture the separator layer, forming an internal short in the cell. This can puff a cell in a hurry---the more charge current on tap, the worse it&#039;s prone to be.&lt;br /&gt;
# &#039;&#039;&#039;Driving a cell negative&#039;&#039;&#039;. I&#039;ve neglected to mention this before, but it is a possibility. I don&#039;t know much about the specific mechanism at this time.&lt;br /&gt;
# &#039;&#039;&#039;Malfunctioning or misinformed electronics&#039;&#039;&#039;. This is the most common cause of all of the above in my experience. At this stage of the game, it is critical for YOU to understand how your BMS functions on at least a cursory level. Choose your BMS very carefully and periodically verify that it is operating properly. They&#039;re not all created equal. Make sure V sense lines are securely connected and free of corrosion. Just because your BMS says there was never a problem doesn&#039;t necessarily make it so. Avoid harnesses or ribbon cables between multiple modules if possible--they are problematic wherever they are used in any mobile electronics.&lt;br /&gt;
# &#039;&#039;&#039;Exposure to or generation of sufficient heat&#039;&#039;&#039;. I don&#039;t know exactly at what temperature gas formation begins in the electrolyte, but we spec a max storage temp of 80 (or 85?) degrees C and I suspect this is the reason. The hotter, the puffier--to a point. This is why soldering tabs poses a real hazard to cell health. If you feel you must solder, sink or blow the heat away from the body of the cell. Use a big iron that can make sufficient local heat quickly, before the whole mass of the cell gets hot. You might even get the cell warm enough to melt separator if not careful.&lt;br /&gt;
# &#039;&#039;&#039;No compression, not enough compression, improperly distributed compression&#039;&#039;&#039;. This is a pack/module design issue. Apply 10, maybe 15 psi to your cell stack end to end and then band snugly and evenly. Use hard endplates of some sort--never wrap cells directly or allow their shape to become distorted. Protect all areas of the pouch from impact damage. This obviously does not apply to cylindrical cells.&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; prismatic cells ====&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;placeholder*&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; cylindrical cells ====&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;placeholder*&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; cell ageing ====&lt;br /&gt;
&#039;&#039;Derived (barely paraphrased) from [https://endless-sphere.com/forums/memberlist.php?mode=viewprofile&amp;amp;u=33107 wb9k]&#039;s post on endless sphere in the [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761 A123 thread]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Capacity loss is caused by the lithium that was available for storage becoming permanently plated on the cathode. Being unable to move within the cell it is no longer available to store energy. The impact of this plating is greater than the amount of lithium &#039;lost&#039; to plating because not only is the lithium no longer available, it is also preventing access to that part of the cathode meaning Li that can still move has to take a longer path to reach the cathode. Lithium plating is one cause of increased cell resistance (there are others), a sign of worsening cell health.&lt;br /&gt;
&lt;br /&gt;
There is no linear relationship between actual capacity loss and impedance rise. However some cell defects will also increase impedance.&lt;br /&gt;
&lt;br /&gt;
Increasing cell resistance may cause a number of symptoms which may be confused with [https://earthshipbiotecture.com/a-lithium-ion-battery-primer/ High Self Discharge.]&lt;br /&gt;
# Elevated Peukert Losses. As more energy per amount of current through the cell is lost as heat, the cells useable capacity decreases. So the apparent capacity loss is higher than the actual capacity loss of cycleable lithium. When used in low current applications (e.g. solar energy storage) the actual and apparent decrease in capacity will be small. In high current draw applications (like EV traction packs), the Peukert loss increases proportionally, so the apparent capacity loss increases much faster than the actual capacity loss.&lt;br /&gt;
# Greater voltage excursion under the same load. Due to increased cell resistancethe voltage will sag further under the same load than a cell in optimal condition. The inverse is also true, the voltage will be higher for the same amount of charging current applied. The cell will then rebound to a voltage further from the loaded and charging voltages. This, obviously, can look like high self discharge but is a different phenomenon.&lt;br /&gt;
# Absolute maximum current decrease.&lt;br /&gt;
Elevated impedance causes a more complex constellation of symptoms, some of which may be easy to confuse with High Self Discharge (HSD). Ohm&#039;s law (E=I/R) holds the key to understanding here.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1) Elevated Peukert losses.&#039;&#039;&#039; Because more energy per unit of current through the cell is lost as heat, less of the cell&#039;s capacity is actually USABLE. Thus, apparent capacity loss can be significantly greater than actual capacity loss caused by the loss of cycleable Li alone. In low current applications, the two numbers will be close together. In high current applications, Peukert losses increase in proportion, so apparent loss of capacity breaks further and further away from actual capacity loss as current increases.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2) Greater voltage excursion under the same load.&#039;&#039;&#039; Elevated resistance across the cell means that voltage will sag more under the same load than it did when the cell was healthier. Conversely, voltage will rise higher with the same amount of applied charge current than it did when it was healthier. At the same time, rebound/settling voltages will be further away from loaded/charging voltages. In other words, the cell will rebound to a voltage further away from loaded voltage, all else being equal. Similarly, voltage will settle farther from the charge voltage with the same charge applied. This can give the illusion of elevated self-discharge, but the phenomenon is actually not the same thing. Again, the greater the charge and load currents, the greater the effect becomes.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3) Absolute max current decreases.&#039;&#039;&#039; Because the cell&#039;s series resistance is elevated, the maximum possible current through the cell is decreased.&lt;br /&gt;
&lt;br /&gt;
Just to confuse things further, there can be many factors that lead to impedance rise. Some are related to Li plating, others are not.&lt;br /&gt;
&lt;br /&gt;
=== Lithium-ion ===&lt;br /&gt;
Lithium-ion (Li-ion) batteries have a greater energy density than Lithium Iron Phosphate batteries, but have more challenging needs to use safely. The ideal operating range of Li-ion batteries is between +15 and +45°C. The upper limit of temperature is particularly important as Li-ion batteries experience thermal runaway - an unstoppable chain reaction that can occur in milliseconds releasing the stored energy in the cell. This can produce temperatures of 400°C and a fire that is extremely difficult to put out. Thermal runaway can start as low as 60°C and becomes much more likely at 100°C&lt;br /&gt;
&lt;br /&gt;
Risk factors for thermal runaway:&lt;br /&gt;
* Short Circuits - either internally or externally&lt;br /&gt;
* Overcharging&lt;br /&gt;
* Excessive current draw or when charging&lt;br /&gt;
&lt;br /&gt;
==== Li-ion pouch cells ====&lt;br /&gt;
[https://kokam.com/cell Kokam] produce high-performance Li-ion pouch cells. These combine relative ease of use and pack construction with performance close to cylindrical cells. &lt;br /&gt;
&lt;br /&gt;
==== Li-ion 18650 and other cylindrical cells ====&lt;br /&gt;
Cylindrical cells are favoured by Tesla, and are probably the main reason why their cars achieve such excellent performance. They are light, compact, powerful and expensive. Unfortunately, cylindrical cells are  difficult (and potentially dangerous) to use in DIY conversions. There are two good reasons for this: thermal management and cell configuration.&lt;br /&gt;
&lt;br /&gt;
As stated above, Li-ion cells are prone to thermal runaway. So you need perfect battery and thermal management to ensure that no cell ever exceeds the critical voltage or temperature. If this happens, a cell can short-circuit internally, releasing a lot of energy - potentially explosively. Furthermore, the individual cells are small, so need to be arranged in parallel. In the case of the Tesla Model S 85kW pack, there are 74 cells in parallel. Imagine if one of those cells fails and becomes short circuited internally. You now have 73 very high power cells all feeding in to that short circuit...&lt;br /&gt;
&lt;br /&gt;
In fact, you don&#039;t have to imagine: you can watch this famous video instead (courtesy of Rich Rebuilds).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;youtube&amp;gt;WdDi1haA71Q&amp;lt;/youtube&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== OEM modules ==&lt;br /&gt;
Using an OEM module means a lot of the difficulties and safety issues associated with battery design are taken care of e.g. cooling, clamping, etc.&lt;br /&gt;
&lt;br /&gt;
Here is a handy list of OEM modules:&lt;br /&gt;
{| class=&amp;quot;wikitable sortable mw-collapsible&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!Manufacturer&lt;br /&gt;
!Model&lt;br /&gt;
!Capacity (kWh)&lt;br /&gt;
!Weight (kg)&lt;br /&gt;
!w (mm)&lt;br /&gt;
!d (mm)&lt;br /&gt;
!h (mm)&lt;br /&gt;
!Gravity (kg/kWh)&lt;br /&gt;
!Volume (L/kWh)&lt;br /&gt;
!Voltage (V)&lt;br /&gt;
!Current (cont A)&lt;br /&gt;
!Current (peak A)&lt;br /&gt;
!Cell arrangement&lt;br /&gt;
!Cell type&lt;br /&gt;
!Chemistry&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model S 85kWh&lt;br /&gt;
|5.3&lt;br /&gt;
|26&lt;br /&gt;
|690&lt;br /&gt;
|315&lt;br /&gt;
|80&lt;br /&gt;
|4.9&lt;br /&gt;
|3.3&lt;br /&gt;
|22.8&lt;br /&gt;
|500&lt;br /&gt;
|750&lt;br /&gt;
|74p6s&lt;br /&gt;
|18650&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model S 100kWh&lt;br /&gt;
|6.4&lt;br /&gt;
|28&lt;br /&gt;
|680&lt;br /&gt;
|315&lt;br /&gt;
|80&lt;br /&gt;
|4.4&lt;br /&gt;
|2.7&lt;br /&gt;
|22.8&lt;br /&gt;
|&lt;br /&gt;
|870&lt;br /&gt;
|86p6s&lt;br /&gt;
|18650&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model 3 LR (inner)&lt;br /&gt;
|19.2&lt;br /&gt;
|98.9&lt;br /&gt;
|1854&lt;br /&gt;
|292&lt;br /&gt;
|90&lt;br /&gt;
|5.2&lt;br /&gt;
|2.5&lt;br /&gt;
|91.1&lt;br /&gt;
|&lt;br /&gt;
|971&lt;br /&gt;
|46p25s&lt;br /&gt;
|2170&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model 3 LR (outer)&lt;br /&gt;
|17.7&lt;br /&gt;
|86.6&lt;br /&gt;
|1715&lt;br /&gt;
|292&lt;br /&gt;
|90&lt;br /&gt;
|4.9&lt;br /&gt;
|2.5&lt;br /&gt;
|83.9&lt;br /&gt;
|&lt;br /&gt;
|971&lt;br /&gt;
|46p23s&lt;br /&gt;
|2170&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model 3 SR (inner)&lt;br /&gt;
|13.0&lt;br /&gt;
|&lt;br /&gt;
|1854&lt;br /&gt;
|292&lt;br /&gt;
|90&lt;br /&gt;
|&lt;br /&gt;
|3.7&lt;br /&gt;
|91.1&lt;br /&gt;
|&lt;br /&gt;
|603&lt;br /&gt;
|31p25s&lt;br /&gt;
|2170&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model 3 SR (outer)&lt;br /&gt;
|12.0&lt;br /&gt;
|&lt;br /&gt;
|1715&lt;br /&gt;
|292&lt;br /&gt;
|90&lt;br /&gt;
|&lt;br /&gt;
|3.8&lt;br /&gt;
|83.9&lt;br /&gt;
|&lt;br /&gt;
|603&lt;br /&gt;
|31p23s&lt;br /&gt;
|2170&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Chevrolet&lt;br /&gt;
|Volt 2012&lt;br /&gt;
|4&lt;br /&gt;
|38&lt;br /&gt;
|470&lt;br /&gt;
|180&lt;br /&gt;
|280&lt;br /&gt;
|9.5&lt;br /&gt;
|5.9&lt;br /&gt;
|88&lt;br /&gt;
|140&lt;br /&gt;
|210&lt;br /&gt;
|24s&lt;br /&gt;
|Pouch&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|BMW&lt;br /&gt;
|i3 60Ah&lt;br /&gt;
|2&lt;br /&gt;
|13&lt;br /&gt;
|368&lt;br /&gt;
|178&lt;br /&gt;
|102&lt;br /&gt;
|6.5&lt;br /&gt;
|3.3&lt;br /&gt;
|28.8&lt;br /&gt;
|210&lt;br /&gt;
|350&lt;br /&gt;
|8s2p&lt;br /&gt;
|Prismatic&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|BMW&lt;br /&gt;
|i3 94Ah&lt;br /&gt;
|4.15&lt;br /&gt;
|28&lt;br /&gt;
|410&lt;br /&gt;
|310&lt;br /&gt;
|150&lt;br /&gt;
|6.7&lt;br /&gt;
|4.6&lt;br /&gt;
|45.6&lt;br /&gt;
|&lt;br /&gt;
|409&lt;br /&gt;
|12s&lt;br /&gt;
|Prismatic&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|BMW&lt;br /&gt;
|i3 120Ah&lt;br /&gt;
|5.3&lt;br /&gt;
|28&lt;br /&gt;
|410&lt;br /&gt;
|310&lt;br /&gt;
|150&lt;br /&gt;
|5.3&lt;br /&gt;
|3.6&lt;br /&gt;
|45.6&lt;br /&gt;
|&lt;br /&gt;
|360&lt;br /&gt;
|12s&lt;br /&gt;
|Prismatic&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Mitsubishi&lt;br /&gt;
|Outlander&lt;br /&gt;
|2.4&lt;br /&gt;
|26&lt;br /&gt;
|646&lt;br /&gt;
|184&lt;br /&gt;
|130&lt;br /&gt;
|10.8&lt;br /&gt;
|6.4&lt;br /&gt;
|60&lt;br /&gt;
|&lt;br /&gt;
|240&lt;br /&gt;
|16s&lt;br /&gt;
|&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Nissan&lt;br /&gt;
|Leaf 24kWh&lt;br /&gt;
|0.5&lt;br /&gt;
|3.65&lt;br /&gt;
|300&lt;br /&gt;
|222&lt;br /&gt;
|34&lt;br /&gt;
|7.3&lt;br /&gt;
|4.5&lt;br /&gt;
|7.4&lt;br /&gt;
|130&lt;br /&gt;
|228&lt;br /&gt;
|2s2p&lt;br /&gt;
|Pouch&lt;br /&gt;
|Li-ion LMO&lt;br /&gt;
|-&lt;br /&gt;
|Nissan&lt;br /&gt;
|Leaf 40kWh&lt;br /&gt;
|1.6&lt;br /&gt;
|8.7&lt;br /&gt;
|300&lt;br /&gt;
|222&lt;br /&gt;
|68&lt;br /&gt;
|5.4&lt;br /&gt;
|2.8&lt;br /&gt;
|14.6&lt;br /&gt;
|&lt;br /&gt;
|314&lt;br /&gt;
|4s2p&lt;br /&gt;
|Pouch&lt;br /&gt;
|Li-ion NMC&lt;br /&gt;
|-&lt;br /&gt;
|Volvo&lt;br /&gt;
|XC90 T8&lt;br /&gt;
|2.01&lt;br /&gt;
|12.1&lt;br /&gt;
|300&lt;br /&gt;
|180&lt;br /&gt;
|150&lt;br /&gt;
|6.0&lt;br /&gt;
|4.0&lt;br /&gt;
|59.2&lt;br /&gt;
|170&lt;br /&gt;
|340&lt;br /&gt;
|16s&lt;br /&gt;
|&lt;br /&gt;
|Li-ion&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Clanger9</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Batteries&amp;diff=1177</id>
		<title>Batteries</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Batteries&amp;diff=1177"/>
		<updated>2020-12-05T21:41:55Z</updated>

		<summary type="html">&lt;p&gt;Clanger9: /* OEM modules */ Add Leaf battery current&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
There are a wide variety of battery chemistries available for use as the main traction battery of an EV. To use each chemistry safely, and to ensure an adequate service life from the battery pack it is important to understand the requirements for the chemistry you are using. Failure to do so may lead to premature or catastrophic failure of the pack.&lt;br /&gt;
&lt;br /&gt;
Good pack design will allow for a nominal amount of abuse. People make mistakes and the pack should allow a margin for safety - and for longevity!&lt;br /&gt;
&lt;br /&gt;
== Battery pack specification ==&lt;br /&gt;
When deciding on your battery pack, here are some basic parameters to consider:&lt;br /&gt;
&lt;br /&gt;
=== Capacity (kWh) ===&lt;br /&gt;
&#039;&#039;&#039;How far do you want to go?&#039;&#039;&#039; A standard  car conversion will need a kWh for each 3 miles of range (very approximately). For a middleweight motorcycle, a kWh should give around 9 miles. Your mileage may vary, &#039;&#039;as they say.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Voltage (V) ===&lt;br /&gt;
&#039;&#039;&#039;How fast do you want to go?&#039;&#039;&#039; The pack voltage defines the maximum speed your motor can spin. Motors are usually specified with &amp;quot;KV&amp;quot; - or RPM-per-volt. Check the KV of your motor and how fast it needs to spin to get your desired top speed. e.g. if you need 3,000 RPM from a 25 KV motor then your pack voltage needs to be  3,000 / 25 = 120 V. The exact number of cells in series you need depends on the cell design, but 3.8 V for Li-ion and 3.2 V for LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; is a reasonable guess.&lt;br /&gt;
&lt;br /&gt;
=== Maximum current (A) ===&lt;br /&gt;
&#039;&#039;&#039;How quickly do you want to accelerate?&#039;&#039;&#039; Your motor&#039;s maximum power will be specified in kW. To estimate your maximum current draw, divide the peak power by the battery voltage. e.g. a 30 kW motor with a 120 V battery pack will pull 30,000 / 120 = 250 A. The higher the current rating of the cells, the heavier they will be for a given capacity. Ideally, you want &amp;quot;enough&amp;quot; current capacity for full throttle acceleration, but no more. You can put cells in parallel to double the current rating of your pack (which of course will half the voltage). &lt;br /&gt;
&lt;br /&gt;
=== Mass (kg) ===&lt;br /&gt;
&#039;&#039;&#039;Can your vehicle carry the weight?&#039;&#039;&#039; You&#039;ll need to keep the kerb weight within the original design limits. For a car, this could be a few hundred kg. For a motorcycle, likely less than 100 kg. This is a huge variable - and each new generation of battery tech seems to be a little lighter. For older EV or hybrid batteries, you can reckon on approximately 10 kg/kWh. Nissan Leaf batteries are relatively light (7.5 kg/kWh). With the latest technology (e.g. Kokam pouch cells or 18650s), you can get this down to 5-6 kg/kWh.&lt;br /&gt;
&lt;br /&gt;
=== Volume (L) ===&lt;br /&gt;
&#039;&#039;&#039;Will it fit?&#039;&#039;&#039; Batteries are bulky. They are getting smaller, but finding enough space might be your biggest challenge. You could be looking at over 5 L/kWh for older EV or hybrid batteries. For the latest technology (e.g. Kokam pouch cells or 18650s), you can get this down to 3 L/kWh.&lt;br /&gt;
&lt;br /&gt;
There is much, much more to battery design than this (e.g. maximum charge rate, terminations, cooling, clamping), but the above should help work out which options will or won&#039;t work for your project...&lt;br /&gt;
&lt;br /&gt;
== Cell chemistry ==&lt;br /&gt;
&lt;br /&gt;
=== Lithium Iron Phosphate (LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt;) ===&lt;br /&gt;
Lithium Iron Phosphate (also known as LFP, or LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt;) batteries offer a good compromise between safety, energy density and ease of use for DIY conversions. They are available in a number of formats, commonly pouch cells, prismatic cells and cylindrical cells.&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; pouch cells ====&lt;br /&gt;
The majority of this content is drawn from this thread: [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761&amp;amp;start=900 https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761] discussing the use of the A123 20Ah pouch cell. However, many of the general points apply equally to other similar pouch cells.&lt;br /&gt;
&lt;br /&gt;
===== General build requirements =====&lt;br /&gt;
Pouch cells are vulnerable to damage from debris, and must be held in compression (see the datasheet for your battery, but 10-12 psi is recommended for the A123 pouch cells as a guide). A rigid container capable of preventing damage and providing compression is therefore required. Be aware the cells expand and contract in use, so allowance for this must be included in the structure of the case.&lt;br /&gt;
&lt;br /&gt;
The pouch cells should be separated to prevent abrasion between cells, and also to avoid the development of hot spots. Prebuilt modules from A123 systems had thin foam sheets or heatsinks between each cell. Be sure to avoid any debris that could rub on the pouch surface, particularly if using recycled cells.&lt;br /&gt;
&lt;br /&gt;
Mylar, &#039;[https://www.americanmicroinc.com/fish-paper/ Fish paper]&#039; or a [https://www.rogerscorp.com/elastomeric-material-solutions/poron-industrial-polyurethanes compliant foam] may be appropriate materials to serve this purpose. This material should not be flammable. If the material is heat insulating, it is important to address thermal management.&lt;br /&gt;
&lt;br /&gt;
===== Compression =====&lt;br /&gt;
Compression is required to prevent premature failure of the cell. Without compression electrolyte will become unevenly distributed, causing current gradients in the cell and uneven heating. Local temperatures can become high enough to form gas formation leading to cells &#039;puffing up&#039; even when the pack is otherwise held within temperature and voltage constraints. This will be exacerbated in packs with otherwise poor thermal management. Compression forces gas generated to the margins of the cell, outside of the cell stack, minimising its effect cell performance. Gas in the middle cells will create a dead space which does not store or release energy.&lt;br /&gt;
&lt;br /&gt;
There is ~1% expansion through a discharge cycle. As the cell ages, the nominal cell thickness can grow by 3-5%. For A123 cells the ideal pressure is between 4 and 18psi with the ideal pressure being ~12psi. Maintaining 12psi can increase the life by 500 cycles over that of 4 or 18psi&lt;br /&gt;
&lt;br /&gt;
There is some suggestion that in uses where 1C is never exceeded compression &#039;&#039;may&#039;&#039; not be required.&lt;br /&gt;
&lt;br /&gt;
Highly rigid endplates with a mechanism to allow for a limited degree of expansion (e.g. steel bands) are considered an effective solution to this challenge.&lt;br /&gt;
&lt;br /&gt;
It should be noted that compression is a challenge specific to pouch cells. Cylindrical cells are designed to maintain their own compression within the cell&#039;s electrode stack by their design.&lt;br /&gt;
&lt;br /&gt;
This thread provides more information and experimentation relating to pack compression: &amp;lt;nowiki&amp;gt;https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=52244&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Pouch Cell Pack Design Examples =====&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;placeholder*&lt;br /&gt;
&lt;br /&gt;
===== Notes regarding recycled pouch cells =====&lt;br /&gt;
Pouch cells are somewhat fragile, and breaching the insulation is not difficult, especially in a cells removed from existing packs and repurposed. If the pouch has had their poly-layers compromised you may see a number of faults:&lt;br /&gt;
* Black spots around the perimeter of the cell indicate electrolyte leakage&lt;br /&gt;
* Voltage on the outside of the bag. Note that microvoltage between the pouch and the electrode is normal (and due to a capacitive effect).&lt;br /&gt;
While the majority of these cells should no longer be in the market, a significant number of faulty cells made it back into the &#039;greymarket&#039; in around 2013. These cells had misaligned tabs which can also lead to isolation failures between the tab and the pack. These cells should be avoided, particularly in high demand applications.&lt;br /&gt;
&lt;br /&gt;
===== Situations likely to cause pouch cell failure =====&lt;br /&gt;
&#039;&#039;Taken directly from [https://endless-sphere.com/forums/memberlist.php?mode=viewprofile&amp;amp;u=33107 wb9k]&#039;s post on endless sphere in the [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761 A123 thread]&#039;&#039;&lt;br /&gt;
# &#039;&#039;&#039;Overcharge&#039;&#039;&#039;. Any extended time above 3.8 Volts will generate enough heat and electrochemical activity to puff a cell, especially one that is improperly compressed.&lt;br /&gt;
# &#039;&#039;&#039;Overdischarge followed by charge&#039;&#039;&#039;. Any A123 cell that has been pulled low enough to come to rest at &amp;lt;300 mV should be immediately scrapped. The published number for that is 500 mV, but the real figure is closer to 300, so that&#039;s a &amp;quot;safety buffer&amp;quot; if you will. Below this Voltage, the Cu electrodes start to dissolve into the electrolyte. When charge is applied, the Cu forms dendrites that puncture the separator layer, forming an internal short in the cell. This can puff a cell in a hurry---the more charge current on tap, the worse it&#039;s prone to be.&lt;br /&gt;
# &#039;&#039;&#039;Driving a cell negative&#039;&#039;&#039;. I&#039;ve neglected to mention this before, but it is a possibility. I don&#039;t know much about the specific mechanism at this time.&lt;br /&gt;
# &#039;&#039;&#039;Malfunctioning or misinformed electronics&#039;&#039;&#039;. This is the most common cause of all of the above in my experience. At this stage of the game, it is critical for YOU to understand how your BMS functions on at least a cursory level. Choose your BMS very carefully and periodically verify that it is operating properly. They&#039;re not all created equal. Make sure V sense lines are securely connected and free of corrosion. Just because your BMS says there was never a problem doesn&#039;t necessarily make it so. Avoid harnesses or ribbon cables between multiple modules if possible--they are problematic wherever they are used in any mobile electronics.&lt;br /&gt;
# &#039;&#039;&#039;Exposure to or generation of sufficient heat&#039;&#039;&#039;. I don&#039;t know exactly at what temperature gas formation begins in the electrolyte, but we spec a max storage temp of 80 (or 85?) degrees C and I suspect this is the reason. The hotter, the puffier--to a point. This is why soldering tabs poses a real hazard to cell health. If you feel you must solder, sink or blow the heat away from the body of the cell. Use a big iron that can make sufficient local heat quickly, before the whole mass of the cell gets hot. You might even get the cell warm enough to melt separator if not careful.&lt;br /&gt;
# &#039;&#039;&#039;No compression, not enough compression, improperly distributed compression&#039;&#039;&#039;. This is a pack/module design issue. Apply 10, maybe 15 psi to your cell stack end to end and then band snugly and evenly. Use hard endplates of some sort--never wrap cells directly or allow their shape to become distorted. Protect all areas of the pouch from impact damage. This obviously does not apply to cylindrical cells.&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; prismatic cells ====&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;placeholder*&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; cylindrical cells ====&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;placeholder*&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; cell ageing ====&lt;br /&gt;
&#039;&#039;Derived (barely paraphrased) from [https://endless-sphere.com/forums/memberlist.php?mode=viewprofile&amp;amp;u=33107 wb9k]&#039;s post on endless sphere in the [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761 A123 thread]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Capacity loss is caused by the lithium that was available for storage becoming permanently plated on the cathode. Being unable to move within the cell it is no longer available to store energy. The impact of this plating is greater than the amount of lithium &#039;lost&#039; to plating because not only is the lithium no longer available, it is also preventing access to that part of the cathode meaning Li that can still move has to take a longer path to reach the cathode. Lithium plating is one cause of increased cell resistance (there are others), a sign of worsening cell health.&lt;br /&gt;
&lt;br /&gt;
There is no linear relationship between actual capacity loss and impedance rise. However some cell defects will also increase impedance.&lt;br /&gt;
&lt;br /&gt;
Increasing cell resistance may cause a number of symptoms which may be confused with [https://earthshipbiotecture.com/a-lithium-ion-battery-primer/ High Self Discharge.]&lt;br /&gt;
# Elevated Peukert Losses. As more energy per amount of current through the cell is lost as heat, the cells useable capacity decreases. So the apparent capacity loss is higher than the actual capacity loss of cycleable lithium. When used in low current applications (e.g. solar energy storage) the actual and apparent decrease in capacity will be small. In high current draw applications (like EV traction packs), the Peukert loss increases proportionally, so the apparent capacity loss increases much faster than the actual capacity loss.&lt;br /&gt;
# Greater voltage excursion under the same load. Due to increased cell resistancethe voltage will sag further under the same load than a cell in optimal condition. The inverse is also true, the voltage will be higher for the same amount of charging current applied. The cell will then rebound to a voltage further from the loaded and charging voltages. This, obviously, can look like high self discharge but is a different phenomenon.&lt;br /&gt;
# Absolute maximum current decrease.&lt;br /&gt;
Elevated impedance causes a more complex constellation of symptoms, some of which may be easy to confuse with High Self Discharge (HSD). Ohm&#039;s law (E=I/R) holds the key to understanding here.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1) Elevated Peukert losses.&#039;&#039;&#039; Because more energy per unit of current through the cell is lost as heat, less of the cell&#039;s capacity is actually USABLE. Thus, apparent capacity loss can be significantly greater than actual capacity loss caused by the loss of cycleable Li alone. In low current applications, the two numbers will be close together. In high current applications, Peukert losses increase in proportion, so apparent loss of capacity breaks further and further away from actual capacity loss as current increases.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2) Greater voltage excursion under the same load.&#039;&#039;&#039; Elevated resistance across the cell means that voltage will sag more under the same load than it did when the cell was healthier. Conversely, voltage will rise higher with the same amount of applied charge current than it did when it was healthier. At the same time, rebound/settling voltages will be further away from loaded/charging voltages. In other words, the cell will rebound to a voltage further away from loaded voltage, all else being equal. Similarly, voltage will settle farther from the charge voltage with the same charge applied. This can give the illusion of elevated self-discharge, but the phenomenon is actually not the same thing. Again, the greater the charge and load currents, the greater the effect becomes.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3) Absolute max current decreases.&#039;&#039;&#039; Because the cell&#039;s series resistance is elevated, the maximum possible current through the cell is decreased.&lt;br /&gt;
&lt;br /&gt;
Just to confuse things further, there can be many factors that lead to impedance rise. Some are related to Li plating, others are not.&lt;br /&gt;
&lt;br /&gt;
=== Lithium-ion ===&lt;br /&gt;
Lithium-ion (Li-ion) batteries have a greater energy density than Lithium Iron Phosphate batteries, but have more challenging needs to use safely. The ideal operating range of Li-ion batteries is between +15 and +45°C. The upper limit of temperature is particularly important as Li-ion batteries experience thermal runaway - an unstoppable chain reaction that can occur in milliseconds releasing the stored energy in the cell. This can produce temperatures of 400°C and a fire that is extremely difficult to put out. Thermal runaway can start as low as 60°C and becomes much more likely at 100°C&lt;br /&gt;
&lt;br /&gt;
Risk factors for thermal runaway:&lt;br /&gt;
* Short Circuits - either internally or externally&lt;br /&gt;
* Overcharging&lt;br /&gt;
* Excessive current draw or when charging&lt;br /&gt;
&lt;br /&gt;
==== Li-ion pouch cells ====&lt;br /&gt;
[https://kokam.com/cell Kokam] produce high-performance Li-ion pouch cells. These combine relative ease of use and pack construction with performance close to cylindrical cells. &lt;br /&gt;
&lt;br /&gt;
==== Li-ion 18650 and other cylindrical cells ====&lt;br /&gt;
Cylindrical cells are favoured by Tesla, and are probably the main reason why their cars achieve such excellent performance. They are light, compact, powerful and expensive. Unfortunately, cylindrical cells are  difficult (and potentially dangerous) to use in DIY conversions. There are two good reasons for this: thermal management and cell configuration.&lt;br /&gt;
&lt;br /&gt;
As stated above, Li-ion cells are prone to thermal runaway. So you need perfect battery and thermal management to ensure that no cell ever exceeds the critical voltage or temperature. If this happens, a cell can short-circuit internally, releasing a lot of energy - potentially explosively. Furthermore, the individual cells are small, so need to be arranged in parallel. In the case of the Tesla Model S 85kW pack, there are 74 cells in parallel. Imagine if one of those cells fails and becomes short circuited internally. You now have 73 very high power cells all feeding in to that short circuit...&lt;br /&gt;
&lt;br /&gt;
In fact, you don&#039;t have to imagine: you can watch this famous video instead (courtesy of Rich Rebuilds).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;youtube&amp;gt;WdDi1haA71Q&amp;lt;/youtube&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== OEM modules ==&lt;br /&gt;
Using an OEM module means a lot of the difficulties and safety issues associated with battery design are taken care of e.g. cooling, clamping, etc.&lt;br /&gt;
&lt;br /&gt;
Here is a handy list of OEM modules:&lt;br /&gt;
{| class=&amp;quot;wikitable sortable mw-collapsible&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!Manufacturer&lt;br /&gt;
!Model&lt;br /&gt;
!Capacity (kWh)&lt;br /&gt;
!Weight (kg)&lt;br /&gt;
!w (mm)&lt;br /&gt;
!d (mm)&lt;br /&gt;
!h (mm)&lt;br /&gt;
!Gravity (kg/kWh)&lt;br /&gt;
!Volume (L/kWh)&lt;br /&gt;
!Voltage (V)&lt;br /&gt;
!Current (cont A)&lt;br /&gt;
!Current (peak A)&lt;br /&gt;
!Cell arrangement&lt;br /&gt;
!Cell type&lt;br /&gt;
!Chemistry&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model S 85kWh&lt;br /&gt;
|5.3&lt;br /&gt;
|26&lt;br /&gt;
|690&lt;br /&gt;
|315&lt;br /&gt;
|80&lt;br /&gt;
|4.9&lt;br /&gt;
|3.3&lt;br /&gt;
|22.8&lt;br /&gt;
|500&lt;br /&gt;
|750&lt;br /&gt;
|74p6s&lt;br /&gt;
|18650&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model S 100kWh&lt;br /&gt;
|6.4&lt;br /&gt;
|28&lt;br /&gt;
|680&lt;br /&gt;
|315&lt;br /&gt;
|80&lt;br /&gt;
|4.4&lt;br /&gt;
|2.7&lt;br /&gt;
|22.8&lt;br /&gt;
|&lt;br /&gt;
|870&lt;br /&gt;
|86p6s&lt;br /&gt;
|18650&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Chevrolet&lt;br /&gt;
|Volt 2012&lt;br /&gt;
|4&lt;br /&gt;
|38&lt;br /&gt;
|470&lt;br /&gt;
|180&lt;br /&gt;
|280&lt;br /&gt;
|9.5&lt;br /&gt;
|5.9&lt;br /&gt;
|88&lt;br /&gt;
|140&lt;br /&gt;
|210&lt;br /&gt;
|24s&lt;br /&gt;
|Pouch&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|BMW&lt;br /&gt;
|i3 60Ah&lt;br /&gt;
|2&lt;br /&gt;
|13&lt;br /&gt;
|368&lt;br /&gt;
|178&lt;br /&gt;
|102&lt;br /&gt;
|6.5&lt;br /&gt;
|3.3&lt;br /&gt;
|28.8&lt;br /&gt;
|210&lt;br /&gt;
|350&lt;br /&gt;
|8s2p&lt;br /&gt;
|Prismatic&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|BMW&lt;br /&gt;
|i3 94Ah&lt;br /&gt;
|4.15&lt;br /&gt;
|28&lt;br /&gt;
|410&lt;br /&gt;
|310&lt;br /&gt;
|150&lt;br /&gt;
|6.7&lt;br /&gt;
|4.6&lt;br /&gt;
|45.6&lt;br /&gt;
|&lt;br /&gt;
|409&lt;br /&gt;
|12s&lt;br /&gt;
|Prismatic&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|BMW&lt;br /&gt;
|i3 120Ah&lt;br /&gt;
|5.3&lt;br /&gt;
|28&lt;br /&gt;
|410&lt;br /&gt;
|310&lt;br /&gt;
|150&lt;br /&gt;
|5.3&lt;br /&gt;
|3.6&lt;br /&gt;
|45.6&lt;br /&gt;
|&lt;br /&gt;
|360&lt;br /&gt;
|12s&lt;br /&gt;
|Prismatic&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Mitsubishi&lt;br /&gt;
|Outlander&lt;br /&gt;
|2.4&lt;br /&gt;
|26&lt;br /&gt;
|646&lt;br /&gt;
|184&lt;br /&gt;
|130&lt;br /&gt;
|10.8&lt;br /&gt;
|6.4&lt;br /&gt;
|60&lt;br /&gt;
|&lt;br /&gt;
|240&lt;br /&gt;
|16s&lt;br /&gt;
|&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Nissan&lt;br /&gt;
|Leaf 24kWh&lt;br /&gt;
|0.5&lt;br /&gt;
|3.65&lt;br /&gt;
|300&lt;br /&gt;
|222&lt;br /&gt;
|34&lt;br /&gt;
|7.3&lt;br /&gt;
|4.5&lt;br /&gt;
|7.4&lt;br /&gt;
|130&lt;br /&gt;
|228&lt;br /&gt;
|2s2p&lt;br /&gt;
|Pouch&lt;br /&gt;
|Li-ion LMO&lt;br /&gt;
|-&lt;br /&gt;
|Nissan&lt;br /&gt;
|Leaf 40kWh&lt;br /&gt;
|1.6&lt;br /&gt;
|8.7&lt;br /&gt;
|300&lt;br /&gt;
|222&lt;br /&gt;
|68&lt;br /&gt;
|5.4&lt;br /&gt;
|2.8&lt;br /&gt;
|14.6&lt;br /&gt;
|&lt;br /&gt;
|314&lt;br /&gt;
|4s2p&lt;br /&gt;
|Pouch&lt;br /&gt;
|Li-ion NMC&lt;br /&gt;
|-&lt;br /&gt;
|Volvo&lt;br /&gt;
|XC90 T8&lt;br /&gt;
|2.01&lt;br /&gt;
|12.1&lt;br /&gt;
|300&lt;br /&gt;
|180&lt;br /&gt;
|150&lt;br /&gt;
|6.0&lt;br /&gt;
|4.0&lt;br /&gt;
|59.2&lt;br /&gt;
|170&lt;br /&gt;
|340&lt;br /&gt;
|16s&lt;br /&gt;
|&lt;br /&gt;
|Li-ion&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Clanger9</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Batteries&amp;diff=1176</id>
		<title>Batteries</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Batteries&amp;diff=1176"/>
		<updated>2020-12-01T09:08:19Z</updated>

		<summary type="html">&lt;p&gt;Clanger9: /* Battery pack specification */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
There are a wide variety of battery chemistries available for use as the main traction battery of an EV. To use each chemistry safely, and to ensure an adequate service life from the battery pack it is important to understand the requirements for the chemistry you are using. Failure to do so may lead to premature or catastrophic failure of the pack.&lt;br /&gt;
&lt;br /&gt;
Good pack design will allow for a nominal amount of abuse. People make mistakes and the pack should allow a margin for safety - and for longevity!&lt;br /&gt;
&lt;br /&gt;
== Battery pack specification ==&lt;br /&gt;
When deciding on your battery pack, here are some basic parameters to consider:&lt;br /&gt;
&lt;br /&gt;
=== Capacity (kWh) ===&lt;br /&gt;
&#039;&#039;&#039;How far do you want to go?&#039;&#039;&#039; A standard  car conversion will need a kWh for each 3 miles of range (very approximately). For a middleweight motorcycle, a kWh should give around 9 miles. Your mileage may vary, &#039;&#039;as they say.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Voltage (V) ===&lt;br /&gt;
&#039;&#039;&#039;How fast do you want to go?&#039;&#039;&#039; The pack voltage defines the maximum speed your motor can spin. Motors are usually specified with &amp;quot;KV&amp;quot; - or RPM-per-volt. Check the KV of your motor and how fast it needs to spin to get your desired top speed. e.g. if you need 3,000 RPM from a 25 KV motor then your pack voltage needs to be  3,000 / 25 = 120 V. The exact number of cells in series you need depends on the cell design, but 3.8 V for Li-ion and 3.2 V for LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; is a reasonable guess.&lt;br /&gt;
&lt;br /&gt;
=== Maximum current (A) ===&lt;br /&gt;
&#039;&#039;&#039;How quickly do you want to accelerate?&#039;&#039;&#039; Your motor&#039;s maximum power will be specified in kW. To estimate your maximum current draw, divide the peak power by the battery voltage. e.g. a 30 kW motor with a 120 V battery pack will pull 30,000 / 120 = 250 A. The higher the current rating of the cells, the heavier they will be for a given capacity. Ideally, you want &amp;quot;enough&amp;quot; current capacity for full throttle acceleration, but no more. You can put cells in parallel to double the current rating of your pack (which of course will half the voltage). &lt;br /&gt;
&lt;br /&gt;
=== Mass (kg) ===&lt;br /&gt;
&#039;&#039;&#039;Can your vehicle carry the weight?&#039;&#039;&#039; You&#039;ll need to keep the kerb weight within the original design limits. For a car, this could be a few hundred kg. For a motorcycle, likely less than 100 kg. This is a huge variable - and each new generation of battery tech seems to be a little lighter. For older EV or hybrid batteries, you can reckon on approximately 10 kg/kWh. Nissan Leaf batteries are relatively light (7.5 kg/kWh). With the latest technology (e.g. Kokam pouch cells or 18650s), you can get this down to 5-6 kg/kWh.&lt;br /&gt;
&lt;br /&gt;
=== Volume (L) ===&lt;br /&gt;
&#039;&#039;&#039;Will it fit?&#039;&#039;&#039; Batteries are bulky. They are getting smaller, but finding enough space might be your biggest challenge. You could be looking at over 5 L/kWh for older EV or hybrid batteries. For the latest technology (e.g. Kokam pouch cells or 18650s), you can get this down to 3 L/kWh.&lt;br /&gt;
&lt;br /&gt;
There is much, much more to battery design than this (e.g. maximum charge rate, terminations, cooling, clamping), but the above should help work out which options will or won&#039;t work for your project...&lt;br /&gt;
&lt;br /&gt;
== Cell chemistry ==&lt;br /&gt;
&lt;br /&gt;
=== Lithium Iron Phosphate (LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt;) ===&lt;br /&gt;
Lithium Iron Phosphate (also known as LFP, or LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt;) batteries offer a good compromise between safety, energy density and ease of use for DIY conversions. They are available in a number of formats, commonly pouch cells, prismatic cells and cylindrical cells.&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; pouch cells ====&lt;br /&gt;
The majority of this content is drawn from this thread: [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761&amp;amp;start=900 https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761] discussing the use of the A123 20Ah pouch cell. However, many of the general points apply equally to other similar pouch cells.&lt;br /&gt;
&lt;br /&gt;
===== General build requirements =====&lt;br /&gt;
Pouch cells are vulnerable to damage from debris, and must be held in compression (see the datasheet for your battery, but 10-12 psi is recommended for the A123 pouch cells as a guide). A rigid container capable of preventing damage and providing compression is therefore required. Be aware the cells expand and contract in use, so allowance for this must be included in the structure of the case.&lt;br /&gt;
&lt;br /&gt;
The pouch cells should be separated to prevent abrasion between cells, and also to avoid the development of hot spots. Prebuilt modules from A123 systems had thin foam sheets or heatsinks between each cell. Be sure to avoid any debris that could rub on the pouch surface, particularly if using recycled cells.&lt;br /&gt;
&lt;br /&gt;
Mylar, &#039;[https://www.americanmicroinc.com/fish-paper/ Fish paper]&#039; or a [https://www.rogerscorp.com/elastomeric-material-solutions/poron-industrial-polyurethanes compliant foam] may be appropriate materials to serve this purpose. This material should not be flammable. If the material is heat insulating, it is important to address thermal management.&lt;br /&gt;
&lt;br /&gt;
===== Compression =====&lt;br /&gt;
Compression is required to prevent premature failure of the cell. Without compression electrolyte will become unevenly distributed, causing current gradients in the cell and uneven heating. Local temperatures can become high enough to form gas formation leading to cells &#039;puffing up&#039; even when the pack is otherwise held within temperature and voltage constraints. This will be exacerbated in packs with otherwise poor thermal management. Compression forces gas generated to the margins of the cell, outside of the cell stack, minimising its effect cell performance. Gas in the middle cells will create a dead space which does not store or release energy.&lt;br /&gt;
&lt;br /&gt;
There is ~1% expansion through a discharge cycle. As the cell ages, the nominal cell thickness can grow by 3-5%. For A123 cells the ideal pressure is between 4 and 18psi with the ideal pressure being ~12psi. Maintaining 12psi can increase the life by 500 cycles over that of 4 or 18psi&lt;br /&gt;
&lt;br /&gt;
There is some suggestion that in uses where 1C is never exceeded compression &#039;&#039;may&#039;&#039; not be required.&lt;br /&gt;
&lt;br /&gt;
Highly rigid endplates with a mechanism to allow for a limited degree of expansion (e.g. steel bands) are considered an effective solution to this challenge.&lt;br /&gt;
&lt;br /&gt;
It should be noted that compression is a challenge specific to pouch cells. Cylindrical cells are designed to maintain their own compression within the cell&#039;s electrode stack by their design.&lt;br /&gt;
&lt;br /&gt;
This thread provides more information and experimentation relating to pack compression: &amp;lt;nowiki&amp;gt;https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=52244&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Pouch Cell Pack Design Examples =====&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;placeholder*&lt;br /&gt;
&lt;br /&gt;
===== Notes regarding recycled pouch cells =====&lt;br /&gt;
Pouch cells are somewhat fragile, and breaching the insulation is not difficult, especially in a cells removed from existing packs and repurposed. If the pouch has had their poly-layers compromised you may see a number of faults:&lt;br /&gt;
* Black spots around the perimeter of the cell indicate electrolyte leakage&lt;br /&gt;
* Voltage on the outside of the bag. Note that microvoltage between the pouch and the electrode is normal (and due to a capacitive effect).&lt;br /&gt;
While the majority of these cells should no longer be in the market, a significant number of faulty cells made it back into the &#039;greymarket&#039; in around 2013. These cells had misaligned tabs which can also lead to isolation failures between the tab and the pack. These cells should be avoided, particularly in high demand applications.&lt;br /&gt;
&lt;br /&gt;
===== Situations likely to cause pouch cell failure =====&lt;br /&gt;
&#039;&#039;Taken directly from [https://endless-sphere.com/forums/memberlist.php?mode=viewprofile&amp;amp;u=33107 wb9k]&#039;s post on endless sphere in the [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761 A123 thread]&#039;&#039;&lt;br /&gt;
# &#039;&#039;&#039;Overcharge&#039;&#039;&#039;. Any extended time above 3.8 Volts will generate enough heat and electrochemical activity to puff a cell, especially one that is improperly compressed.&lt;br /&gt;
# &#039;&#039;&#039;Overdischarge followed by charge&#039;&#039;&#039;. Any A123 cell that has been pulled low enough to come to rest at &amp;lt;300 mV should be immediately scrapped. The published number for that is 500 mV, but the real figure is closer to 300, so that&#039;s a &amp;quot;safety buffer&amp;quot; if you will. Below this Voltage, the Cu electrodes start to dissolve into the electrolyte. When charge is applied, the Cu forms dendrites that puncture the separator layer, forming an internal short in the cell. This can puff a cell in a hurry---the more charge current on tap, the worse it&#039;s prone to be.&lt;br /&gt;
# &#039;&#039;&#039;Driving a cell negative&#039;&#039;&#039;. I&#039;ve neglected to mention this before, but it is a possibility. I don&#039;t know much about the specific mechanism at this time.&lt;br /&gt;
# &#039;&#039;&#039;Malfunctioning or misinformed electronics&#039;&#039;&#039;. This is the most common cause of all of the above in my experience. At this stage of the game, it is critical for YOU to understand how your BMS functions on at least a cursory level. Choose your BMS very carefully and periodically verify that it is operating properly. They&#039;re not all created equal. Make sure V sense lines are securely connected and free of corrosion. Just because your BMS says there was never a problem doesn&#039;t necessarily make it so. Avoid harnesses or ribbon cables between multiple modules if possible--they are problematic wherever they are used in any mobile electronics.&lt;br /&gt;
# &#039;&#039;&#039;Exposure to or generation of sufficient heat&#039;&#039;&#039;. I don&#039;t know exactly at what temperature gas formation begins in the electrolyte, but we spec a max storage temp of 80 (or 85?) degrees C and I suspect this is the reason. The hotter, the puffier--to a point. This is why soldering tabs poses a real hazard to cell health. If you feel you must solder, sink or blow the heat away from the body of the cell. Use a big iron that can make sufficient local heat quickly, before the whole mass of the cell gets hot. You might even get the cell warm enough to melt separator if not careful.&lt;br /&gt;
# &#039;&#039;&#039;No compression, not enough compression, improperly distributed compression&#039;&#039;&#039;. This is a pack/module design issue. Apply 10, maybe 15 psi to your cell stack end to end and then band snugly and evenly. Use hard endplates of some sort--never wrap cells directly or allow their shape to become distorted. Protect all areas of the pouch from impact damage. This obviously does not apply to cylindrical cells.&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; prismatic cells ====&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;placeholder*&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; cylindrical cells ====&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;placeholder*&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; cell ageing ====&lt;br /&gt;
&#039;&#039;Derived (barely paraphrased) from [https://endless-sphere.com/forums/memberlist.php?mode=viewprofile&amp;amp;u=33107 wb9k]&#039;s post on endless sphere in the [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761 A123 thread]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Capacity loss is caused by the lithium that was available for storage becoming permanently plated on the cathode. Being unable to move within the cell it is no longer available to store energy. The impact of this plating is greater than the amount of lithium &#039;lost&#039; to plating because not only is the lithium no longer available, it is also preventing access to that part of the cathode meaning Li that can still move has to take a longer path to reach the cathode. Lithium plating is one cause of increased cell resistance (there are others), a sign of worsening cell health.&lt;br /&gt;
&lt;br /&gt;
There is no linear relationship between actual capacity loss and impedance rise. However some cell defects will also increase impedance.&lt;br /&gt;
&lt;br /&gt;
Increasing cell resistance may cause a number of symptoms which may be confused with [https://earthshipbiotecture.com/a-lithium-ion-battery-primer/ High Self Discharge.]&lt;br /&gt;
# Elevated Peukert Losses. As more energy per amount of current through the cell is lost as heat, the cells useable capacity decreases. So the apparent capacity loss is higher than the actual capacity loss of cycleable lithium. When used in low current applications (e.g. solar energy storage) the actual and apparent decrease in capacity will be small. In high current draw applications (like EV traction packs), the Peukert loss increases proportionally, so the apparent capacity loss increases much faster than the actual capacity loss.&lt;br /&gt;
# Greater voltage excursion under the same load. Due to increased cell resistancethe voltage will sag further under the same load than a cell in optimal condition. The inverse is also true, the voltage will be higher for the same amount of charging current applied. The cell will then rebound to a voltage further from the loaded and charging voltages. This, obviously, can look like high self discharge but is a different phenomenon.&lt;br /&gt;
# Absolute maximum current decrease.&lt;br /&gt;
Elevated impedance causes a more complex constellation of symptoms, some of which may be easy to confuse with High Self Discharge (HSD). Ohm&#039;s law (E=I/R) holds the key to understanding here.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1) Elevated Peukert losses.&#039;&#039;&#039; Because more energy per unit of current through the cell is lost as heat, less of the cell&#039;s capacity is actually USABLE. Thus, apparent capacity loss can be significantly greater than actual capacity loss caused by the loss of cycleable Li alone. In low current applications, the two numbers will be close together. In high current applications, Peukert losses increase in proportion, so apparent loss of capacity breaks further and further away from actual capacity loss as current increases.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2) Greater voltage excursion under the same load.&#039;&#039;&#039; Elevated resistance across the cell means that voltage will sag more under the same load than it did when the cell was healthier. Conversely, voltage will rise higher with the same amount of applied charge current than it did when it was healthier. At the same time, rebound/settling voltages will be further away from loaded/charging voltages. In other words, the cell will rebound to a voltage further away from loaded voltage, all else being equal. Similarly, voltage will settle farther from the charge voltage with the same charge applied. This can give the illusion of elevated self-discharge, but the phenomenon is actually not the same thing. Again, the greater the charge and load currents, the greater the effect becomes.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3) Absolute max current decreases.&#039;&#039;&#039; Because the cell&#039;s series resistance is elevated, the maximum possible current through the cell is decreased.&lt;br /&gt;
&lt;br /&gt;
Just to confuse things further, there can be many factors that lead to impedance rise. Some are related to Li plating, others are not.&lt;br /&gt;
&lt;br /&gt;
=== Lithium-ion ===&lt;br /&gt;
Lithium-ion (Li-ion) batteries have a greater energy density than Lithium Iron Phosphate batteries, but have more challenging needs to use safely. The ideal operating range of Li-ion batteries is between +15 and +45°C. The upper limit of temperature is particularly important as Li-ion batteries experience thermal runaway - an unstoppable chain reaction that can occur in milliseconds releasing the stored energy in the cell. This can produce temperatures of 400°C and a fire that is extremely difficult to put out. Thermal runaway can start as low as 60°C and becomes much more likely at 100°C&lt;br /&gt;
&lt;br /&gt;
Risk factors for thermal runaway:&lt;br /&gt;
* Short Circuits - either internally or externally&lt;br /&gt;
* Overcharging&lt;br /&gt;
* Excessive current draw or when charging&lt;br /&gt;
&lt;br /&gt;
==== Li-ion pouch cells ====&lt;br /&gt;
[https://kokam.com/cell Kokam] produce high-performance Li-ion pouch cells. These combine relative ease of use and pack construction with performance close to cylindrical cells. &lt;br /&gt;
&lt;br /&gt;
==== Li-ion 18650 and other cylindrical cells ====&lt;br /&gt;
Cylindrical cells are favoured by Tesla, and are probably the main reason why their cars achieve such excellent performance. They are light, compact, powerful and expensive. Unfortunately, cylindrical cells are  difficult (and potentially dangerous) to use in DIY conversions. There are two good reasons for this: thermal management and cell configuration.&lt;br /&gt;
&lt;br /&gt;
As stated above, Li-ion cells are prone to thermal runaway. So you need perfect battery and thermal management to ensure that no cell ever exceeds the critical voltage or temperature. If this happens, a cell can short-circuit internally, releasing a lot of energy - potentially explosively. Furthermore, the individual cells are small, so need to be arranged in parallel. In the case of the Tesla Model S 85kW pack, there are 74 cells in parallel. Imagine if one of those cells fails and becomes short circuited internally. You now have 73 very high power cells all feeding in to that short circuit...&lt;br /&gt;
&lt;br /&gt;
In fact, you don&#039;t have to imagine: you can watch this famous video instead (courtesy of Rich Rebuilds).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;youtube&amp;gt;WdDi1haA71Q&amp;lt;/youtube&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== OEM modules ==&lt;br /&gt;
Using an OEM module means a lot of the difficulties and safety issues associated with battery design are taken care of e.g. cooling, clamping, etc.&lt;br /&gt;
&lt;br /&gt;
Here is a handy list of OEM modules:&lt;br /&gt;
{| class=&amp;quot;wikitable sortable mw-collapsible&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!Manufacturer&lt;br /&gt;
!Type&lt;br /&gt;
!Capacity (kWh)&lt;br /&gt;
!Weight (kg)&lt;br /&gt;
!w (mm)&lt;br /&gt;
!d (mm)&lt;br /&gt;
!h (mm)&lt;br /&gt;
!Gravity (kg/kWh)&lt;br /&gt;
!Volume (L/kWh)&lt;br /&gt;
!Voltage (V)&lt;br /&gt;
!Current (cont A)&lt;br /&gt;
!Current (peak A)&lt;br /&gt;
!Cell arrangement&lt;br /&gt;
!Cell type&lt;br /&gt;
!Chemistry&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model S 85kWh&lt;br /&gt;
|5.3&lt;br /&gt;
|26&lt;br /&gt;
|690&lt;br /&gt;
|315&lt;br /&gt;
|80&lt;br /&gt;
|4.9&lt;br /&gt;
|3.3&lt;br /&gt;
|22.8&lt;br /&gt;
|500&lt;br /&gt;
|750&lt;br /&gt;
|74p6s&lt;br /&gt;
|18650&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model S 100kWh&lt;br /&gt;
|6.4&lt;br /&gt;
|28&lt;br /&gt;
|680&lt;br /&gt;
|315&lt;br /&gt;
|80&lt;br /&gt;
|4.4&lt;br /&gt;
|2.7&lt;br /&gt;
|22.8&lt;br /&gt;
|&lt;br /&gt;
|870&lt;br /&gt;
|86p6s&lt;br /&gt;
|18650&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Chevrolet&lt;br /&gt;
|Volt 2012&lt;br /&gt;
|4&lt;br /&gt;
|38&lt;br /&gt;
|470&lt;br /&gt;
|180&lt;br /&gt;
|280&lt;br /&gt;
|9.5&lt;br /&gt;
|5.9&lt;br /&gt;
|88&lt;br /&gt;
|140&lt;br /&gt;
|210&lt;br /&gt;
|24s&lt;br /&gt;
|Pouch&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|BMW&lt;br /&gt;
|i3 60Ah&lt;br /&gt;
|2&lt;br /&gt;
|13&lt;br /&gt;
|368&lt;br /&gt;
|178&lt;br /&gt;
|102&lt;br /&gt;
|6.5&lt;br /&gt;
|3.3&lt;br /&gt;
|28.8&lt;br /&gt;
|210&lt;br /&gt;
|350&lt;br /&gt;
|8s2p&lt;br /&gt;
|Prismatic&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|BMW&lt;br /&gt;
|i3 94Ah&lt;br /&gt;
|4.15&lt;br /&gt;
|28&lt;br /&gt;
|410&lt;br /&gt;
|310&lt;br /&gt;
|150&lt;br /&gt;
|6.7&lt;br /&gt;
|4.6&lt;br /&gt;
|45.6&lt;br /&gt;
|&lt;br /&gt;
|409&lt;br /&gt;
|12s&lt;br /&gt;
|Prismatic&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|BMW&lt;br /&gt;
|i3 120Ah&lt;br /&gt;
|5.3&lt;br /&gt;
|28&lt;br /&gt;
|410&lt;br /&gt;
|310&lt;br /&gt;
|150&lt;br /&gt;
|5.3&lt;br /&gt;
|3.6&lt;br /&gt;
|45.6&lt;br /&gt;
|&lt;br /&gt;
|360&lt;br /&gt;
|12s&lt;br /&gt;
|Prismatic&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Mitsubishi&lt;br /&gt;
|Outlander&lt;br /&gt;
|2.4&lt;br /&gt;
|26&lt;br /&gt;
|646&lt;br /&gt;
|184&lt;br /&gt;
|130&lt;br /&gt;
|10.8&lt;br /&gt;
|6.4&lt;br /&gt;
|60&lt;br /&gt;
|&lt;br /&gt;
|240&lt;br /&gt;
|16s&lt;br /&gt;
|&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Nissan&lt;br /&gt;
|Leaf 24kWh&lt;br /&gt;
|0.5&lt;br /&gt;
|3.65&lt;br /&gt;
|300&lt;br /&gt;
|222&lt;br /&gt;
|34&lt;br /&gt;
|7.3&lt;br /&gt;
|4.5&lt;br /&gt;
|7.4&lt;br /&gt;
|130&lt;br /&gt;
|&lt;br /&gt;
|2s2p&lt;br /&gt;
|Pouch&lt;br /&gt;
|Li-ion LMO&lt;br /&gt;
|-&lt;br /&gt;
|Nissan&lt;br /&gt;
|Leaf 40kWh&lt;br /&gt;
|1.6&lt;br /&gt;
|8.7&lt;br /&gt;
|300&lt;br /&gt;
|222&lt;br /&gt;
|68&lt;br /&gt;
|5.4&lt;br /&gt;
|2.8&lt;br /&gt;
|14.6&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|4s2p&lt;br /&gt;
|Pouch&lt;br /&gt;
|Li-ion NMC&lt;br /&gt;
|-&lt;br /&gt;
|Volvo&lt;br /&gt;
|XC90 T8&lt;br /&gt;
|2.01&lt;br /&gt;
|12.1&lt;br /&gt;
|300&lt;br /&gt;
|180&lt;br /&gt;
|150&lt;br /&gt;
|6.0&lt;br /&gt;
|4.0&lt;br /&gt;
|59.2&lt;br /&gt;
|170&lt;br /&gt;
|340&lt;br /&gt;
|16s&lt;br /&gt;
|&lt;br /&gt;
|Li-ion&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Clanger9</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Batteries&amp;diff=1175</id>
		<title>Batteries</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Batteries&amp;diff=1175"/>
		<updated>2020-11-30T22:52:47Z</updated>

		<summary type="html">&lt;p&gt;Clanger9: /* OEM modules */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
There are a wide variety of battery chemistries available for use as the main traction battery of an EV. To use each chemistry safely, and to ensure an adequate service life from the battery pack it is important to understand the requirements for the chemistry you are using. Failure to do so may lead to premature or catastrophic failure of the pack.&lt;br /&gt;
&lt;br /&gt;
Good pack design will allow for a nominal amount of abuse. People make mistakes and the pack should allow a margin for safety - and for longevity!&lt;br /&gt;
&lt;br /&gt;
== Battery pack specification ==&lt;br /&gt;
When deciding on your battery pack, here are some basic parameters to consider:&lt;br /&gt;
&lt;br /&gt;
=== Capacity (kWh) ===&lt;br /&gt;
&#039;&#039;&#039;How far do you want to go?&#039;&#039;&#039; A standard  car conversion will need a kWh for each 3 miles of range (very approximately). For a middleweight motorcycle, a kWh should give around 9 miles. &#039;&#039;Your mileage may vary&#039;&#039;, as they say.&lt;br /&gt;
&lt;br /&gt;
=== Voltage (V) ===&lt;br /&gt;
&#039;&#039;&#039;How fast do you want to go?&#039;&#039;&#039; The pack voltage defines the maximum speed your motor can spin. Motors are usually specified with &amp;quot;KV&amp;quot; - or RPM-per-volt. Check the KV of your motor and how fast it needs to spin to get your desired top speed. e.g. if you need 3,000 RPM from a 25 KV motor then your pack voltage needs to be  3,000 / 25 = 120 V. The exact number of cells in series you need depends on the cell design, but 3.8 V for Li-ion and 3.2 V for LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; is a reasonable guess.&lt;br /&gt;
&lt;br /&gt;
=== Maximum current (A) ===&lt;br /&gt;
&#039;&#039;&#039;How quickly do you want to accelerate?&#039;&#039;&#039; Your motor&#039;s maximum power will be specified in kW. To estimate your maximum current draw, divide the peak power by the battery voltage. e.g. a 30 kW motor with a 120 V battery pack will pull 30,000 / 120 = 250 A. The higher the current rating of the cells, the heavier they will be for a given capacity. Ideally, you want &amp;quot;enough&amp;quot; current capacity for full throttle acceleration, but no more. You can put cells in parallel to double the current rating of your pack (which of course will half the voltage). &lt;br /&gt;
&lt;br /&gt;
=== Mass (kg) ===&lt;br /&gt;
&#039;&#039;&#039;Can your vehicle carry the weight?&#039;&#039;&#039; You&#039;ll need to keep the kerb weight within the original design limits. For a car, this could be a few hundred kg. For a motorcycle, likely less than 100 kg. This is a huge variable - and each new generation of battery tech seems to be a little lighter. For older EV or hybrid batteries, you can reckon on approximately 10 kg/kWh. Nissan Leaf batteries are relatively light (7.5 kg/kWh). With the latest technology (e.g. Kokam pouch cells or 18650s), you can get this down to 5-6 kg/kWh.&lt;br /&gt;
&lt;br /&gt;
=== Volume (L) ===&lt;br /&gt;
&#039;&#039;&#039;Will it fit?&#039;&#039;&#039; Batteries are bulky. They are getting smaller, but finding enough space might be your biggest challenge. You could be looking at over 5 L/kWh for older EV or hybrid batteries. For the latest technology (e.g. Kokam pouch cells or 18650s), you can get this down to 3 L/kWh.&lt;br /&gt;
&lt;br /&gt;
There is much, much more to battery design than this (e.g. maximum charge rate, terminations, cooling, clamping), but the above should help work out which options will or won&#039;t work for your project...&lt;br /&gt;
&lt;br /&gt;
== Cell chemistry ==&lt;br /&gt;
&lt;br /&gt;
=== Lithium Iron Phosphate (LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt;) ===&lt;br /&gt;
Lithium Iron Phosphate (also known as LFP, or LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt;) batteries offer a good compromise between safety, energy density and ease of use for DIY conversions. They are available in a number of formats, commonly pouch cells, prismatic cells and cylindrical cells.&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; pouch cells ====&lt;br /&gt;
The majority of this content is drawn from this thread: [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761&amp;amp;start=900 https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761] discussing the use of the A123 20Ah pouch cell. However, many of the general points apply equally to other similar pouch cells.&lt;br /&gt;
&lt;br /&gt;
===== General build requirements =====&lt;br /&gt;
Pouch cells are vulnerable to damage from debris, and must be held in compression (see the datasheet for your battery, but 10-12 psi is recommended for the A123 pouch cells as a guide). A rigid container capable of preventing damage and providing compression is therefore required. Be aware the cells expand and contract in use, so allowance for this must be included in the structure of the case.&lt;br /&gt;
&lt;br /&gt;
The pouch cells should be separated to prevent abrasion between cells, and also to avoid the development of hot spots. Prebuilt modules from A123 systems had thin foam sheets or heatsinks between each cell. Be sure to avoid any debris that could rub on the pouch surface, particularly if using recycled cells.&lt;br /&gt;
&lt;br /&gt;
Mylar, &#039;[https://www.americanmicroinc.com/fish-paper/ Fish paper]&#039; or a [https://www.rogerscorp.com/elastomeric-material-solutions/poron-industrial-polyurethanes compliant foam] may be appropriate materials to serve this purpose. This material should not be flammable. If the material is heat insulating, it is important to address thermal management.&lt;br /&gt;
&lt;br /&gt;
===== Compression =====&lt;br /&gt;
Compression is required to prevent premature failure of the cell. Without compression electrolyte will become unevenly distributed, causing current gradients in the cell and uneven heating. Local temperatures can become high enough to form gas formation leading to cells &#039;puffing up&#039; even when the pack is otherwise held within temperature and voltage constraints. This will be exacerbated in packs with otherwise poor thermal management. Compression forces gas generated to the margins of the cell, outside of the cell stack, minimising its effect cell performance. Gas in the middle cells will create a dead space which does not store or release energy.&lt;br /&gt;
&lt;br /&gt;
There is ~1% expansion through a discharge cycle. As the cell ages, the nominal cell thickness can grow by 3-5%. For A123 cells the ideal pressure is between 4 and 18psi with the ideal pressure being ~12psi. Maintaining 12psi can increase the life by 500 cycles over that of 4 or 18psi&lt;br /&gt;
&lt;br /&gt;
There is some suggestion that in uses where 1C is never exceeded compression &#039;&#039;may&#039;&#039; not be required.&lt;br /&gt;
&lt;br /&gt;
Highly rigid endplates with a mechanism to allow for a limited degree of expansion (e.g. steel bands) are considered an effective solution to this challenge.&lt;br /&gt;
&lt;br /&gt;
It should be noted that compression is a challenge specific to pouch cells. Cylindrical cells are designed to maintain their own compression within the cell&#039;s electrode stack by their design.&lt;br /&gt;
&lt;br /&gt;
This thread provides more information and experimentation relating to pack compression: &amp;lt;nowiki&amp;gt;https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=52244&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Pouch Cell Pack Design Examples =====&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;placeholder*&lt;br /&gt;
&lt;br /&gt;
===== Notes regarding recycled pouch cells =====&lt;br /&gt;
Pouch cells are somewhat fragile, and breaching the insulation is not difficult, especially in a cells removed from existing packs and repurposed. If the pouch has had their poly-layers compromised you may see a number of faults:&lt;br /&gt;
* Black spots around the perimeter of the cell indicate electrolyte leakage&lt;br /&gt;
* Voltage on the outside of the bag. Note that microvoltage between the pouch and the electrode is normal (and due to a capacitive effect).&lt;br /&gt;
While the majority of these cells should no longer be in the market, a significant number of faulty cells made it back into the &#039;greymarket&#039; in around 2013. These cells had misaligned tabs which can also lead to isolation failures between the tab and the pack. These cells should be avoided, particularly in high demand applications.&lt;br /&gt;
&lt;br /&gt;
===== Situations likely to cause pouch cell failure =====&lt;br /&gt;
&#039;&#039;Taken directly from [https://endless-sphere.com/forums/memberlist.php?mode=viewprofile&amp;amp;u=33107 wb9k]&#039;s post on endless sphere in the [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761 A123 thread]&#039;&#039;&lt;br /&gt;
# &#039;&#039;&#039;Overcharge&#039;&#039;&#039;. Any extended time above 3.8 Volts will generate enough heat and electrochemical activity to puff a cell, especially one that is improperly compressed.&lt;br /&gt;
# &#039;&#039;&#039;Overdischarge followed by charge&#039;&#039;&#039;. Any A123 cell that has been pulled low enough to come to rest at &amp;lt;300 mV should be immediately scrapped. The published number for that is 500 mV, but the real figure is closer to 300, so that&#039;s a &amp;quot;safety buffer&amp;quot; if you will. Below this Voltage, the Cu electrodes start to dissolve into the electrolyte. When charge is applied, the Cu forms dendrites that puncture the separator layer, forming an internal short in the cell. This can puff a cell in a hurry---the more charge current on tap, the worse it&#039;s prone to be.&lt;br /&gt;
# &#039;&#039;&#039;Driving a cell negative&#039;&#039;&#039;. I&#039;ve neglected to mention this before, but it is a possibility. I don&#039;t know much about the specific mechanism at this time.&lt;br /&gt;
# &#039;&#039;&#039;Malfunctioning or misinformed electronics&#039;&#039;&#039;. This is the most common cause of all of the above in my experience. At this stage of the game, it is critical for YOU to understand how your BMS functions on at least a cursory level. Choose your BMS very carefully and periodically verify that it is operating properly. They&#039;re not all created equal. Make sure V sense lines are securely connected and free of corrosion. Just because your BMS says there was never a problem doesn&#039;t necessarily make it so. Avoid harnesses or ribbon cables between multiple modules if possible--they are problematic wherever they are used in any mobile electronics.&lt;br /&gt;
# &#039;&#039;&#039;Exposure to or generation of sufficient heat&#039;&#039;&#039;. I don&#039;t know exactly at what temperature gas formation begins in the electrolyte, but we spec a max storage temp of 80 (or 85?) degrees C and I suspect this is the reason. The hotter, the puffier--to a point. This is why soldering tabs poses a real hazard to cell health. If you feel you must solder, sink or blow the heat away from the body of the cell. Use a big iron that can make sufficient local heat quickly, before the whole mass of the cell gets hot. You might even get the cell warm enough to melt separator if not careful.&lt;br /&gt;
# &#039;&#039;&#039;No compression, not enough compression, improperly distributed compression&#039;&#039;&#039;. This is a pack/module design issue. Apply 10, maybe 15 psi to your cell stack end to end and then band snugly and evenly. Use hard endplates of some sort--never wrap cells directly or allow their shape to become distorted. Protect all areas of the pouch from impact damage. This obviously does not apply to cylindrical cells.&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; prismatic cells ====&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;placeholder*&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; cylindrical cells ====&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;placeholder*&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; cell ageing ====&lt;br /&gt;
&#039;&#039;Derived (barely paraphrased) from [https://endless-sphere.com/forums/memberlist.php?mode=viewprofile&amp;amp;u=33107 wb9k]&#039;s post on endless sphere in the [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761 A123 thread]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Capacity loss is caused by the lithium that was available for storage becoming permanently plated on the cathode. Being unable to move within the cell it is no longer available to store energy. The impact of this plating is greater than the amount of lithium &#039;lost&#039; to plating because not only is the lithium no longer available, it is also preventing access to that part of the cathode meaning Li that can still move has to take a longer path to reach the cathode. Lithium plating is one cause of increased cell resistance (there are others), a sign of worsening cell health.&lt;br /&gt;
&lt;br /&gt;
There is no linear relationship between actual capacity loss and impedance rise. However some cell defects will also increase impedance.&lt;br /&gt;
&lt;br /&gt;
Increasing cell resistance may cause a number of symptoms which may be confused with [https://earthshipbiotecture.com/a-lithium-ion-battery-primer/ High Self Discharge.]&lt;br /&gt;
# Elevated Peukert Losses. As more energy per amount of current through the cell is lost as heat, the cells useable capacity decreases. So the apparent capacity loss is higher than the actual capacity loss of cycleable lithium. When used in low current applications (e.g. solar energy storage) the actual and apparent decrease in capacity will be small. In high current draw applications (like EV traction packs), the Peukert loss increases proportionally, so the apparent capacity loss increases much faster than the actual capacity loss.&lt;br /&gt;
# Greater voltage excursion under the same load. Due to increased cell resistancethe voltage will sag further under the same load than a cell in optimal condition. The inverse is also true, the voltage will be higher for the same amount of charging current applied. The cell will then rebound to a voltage further from the loaded and charging voltages. This, obviously, can look like high self discharge but is a different phenomenon.&lt;br /&gt;
# Absolute maximum current decrease.&lt;br /&gt;
Elevated impedance causes a more complex constellation of symptoms, some of which may be easy to confuse with High Self Discharge (HSD). Ohm&#039;s law (E=I/R) holds the key to understanding here.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1) Elevated Peukert losses.&#039;&#039;&#039; Because more energy per unit of current through the cell is lost as heat, less of the cell&#039;s capacity is actually USABLE. Thus, apparent capacity loss can be significantly greater than actual capacity loss caused by the loss of cycleable Li alone. In low current applications, the two numbers will be close together. In high current applications, Peukert losses increase in proportion, so apparent loss of capacity breaks further and further away from actual capacity loss as current increases.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2) Greater voltage excursion under the same load.&#039;&#039;&#039; Elevated resistance across the cell means that voltage will sag more under the same load than it did when the cell was healthier. Conversely, voltage will rise higher with the same amount of applied charge current than it did when it was healthier. At the same time, rebound/settling voltages will be further away from loaded/charging voltages. In other words, the cell will rebound to a voltage further away from loaded voltage, all else being equal. Similarly, voltage will settle farther from the charge voltage with the same charge applied. This can give the illusion of elevated self-discharge, but the phenomenon is actually not the same thing. Again, the greater the charge and load currents, the greater the effect becomes.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3) Absolute max current decreases.&#039;&#039;&#039; Because the cell&#039;s series resistance is elevated, the maximum possible current through the cell is decreased.&lt;br /&gt;
&lt;br /&gt;
Just to confuse things further, there can be many factors that lead to impedance rise. Some are related to Li plating, others are not.&lt;br /&gt;
&lt;br /&gt;
=== Lithium-ion ===&lt;br /&gt;
Lithium-ion (Li-ion) batteries have a greater energy density than Lithium Iron Phosphate batteries, but have more challenging needs to use safely. The ideal operating range of Li-ion batteries is between +15 and +45°C. The upper limit of temperature is particularly important as Li-ion batteries experience thermal runaway - an unstoppable chain reaction that can occur in milliseconds releasing the stored energy in the cell. This can produce temperatures of 400°C and a fire that is extremely difficult to put out. Thermal runaway can start as low as 60°C and becomes much more likely at 100°C&lt;br /&gt;
&lt;br /&gt;
Risk factors for thermal runaway:&lt;br /&gt;
* Short Circuits - either internally or externally&lt;br /&gt;
* Overcharging&lt;br /&gt;
* Excessive current draw or when charging&lt;br /&gt;
&lt;br /&gt;
==== Li-ion pouch cells ====&lt;br /&gt;
[https://kokam.com/cell Kokam] produce high-performance Li-ion pouch cells. These combine relative ease of use and pack construction with performance close to cylindrical cells. &lt;br /&gt;
&lt;br /&gt;
==== Li-ion 18650 and other cylindrical cells ====&lt;br /&gt;
Cylindrical cells are favoured by Tesla, and are probably the main reason why their cars achieve such excellent performance. They are light, compact, powerful and expensive. Unfortunately, cylindrical cells are  difficult (and potentially dangerous) to use in DIY conversions. There are two good reasons for this: thermal management and cell configuration.&lt;br /&gt;
&lt;br /&gt;
As stated above, Li-ion cells are prone to thermal runaway. So you need perfect battery and thermal management to ensure that no cell ever exceeds the critical voltage or temperature. If this happens, a cell can short-circuit internally, releasing a lot of energy - potentially explosively. Furthermore, the individual cells are small, so need to be arranged in parallel. In the case of the Tesla Model S 85kW pack, there are 74 cells in parallel. Imagine if one of those cells fails and becomes short circuited internally. You now have 73 very high power cells all feeding in to that short circuit...&lt;br /&gt;
&lt;br /&gt;
In fact, you don&#039;t have to imagine: you can watch this famous video instead (courtesy of Rich Rebuilds).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;youtube&amp;gt;WdDi1haA71Q&amp;lt;/youtube&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== OEM modules ==&lt;br /&gt;
Using an OEM module means a lot of the difficulties and safety issues associated with battery design are taken care of e.g. cooling, clamping, etc.&lt;br /&gt;
&lt;br /&gt;
Here is a handy list of OEM modules:&lt;br /&gt;
{| class=&amp;quot;wikitable sortable mw-collapsible&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!Manufacturer&lt;br /&gt;
!Type&lt;br /&gt;
!Capacity (kWh)&lt;br /&gt;
!Weight (kg)&lt;br /&gt;
!w (mm)&lt;br /&gt;
!d (mm)&lt;br /&gt;
!h (mm)&lt;br /&gt;
!Gravity (kg/kWh)&lt;br /&gt;
!Volume (L/kWh)&lt;br /&gt;
!Voltage (V)&lt;br /&gt;
!Current (cont A)&lt;br /&gt;
!Current (peak A)&lt;br /&gt;
!Cell arrangement&lt;br /&gt;
!Cell type&lt;br /&gt;
!Chemistry&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model S 85kWh&lt;br /&gt;
|5.3&lt;br /&gt;
|26&lt;br /&gt;
|690&lt;br /&gt;
|315&lt;br /&gt;
|80&lt;br /&gt;
|4.9&lt;br /&gt;
|3.3&lt;br /&gt;
|22.8&lt;br /&gt;
|500&lt;br /&gt;
|750&lt;br /&gt;
|74p6s&lt;br /&gt;
|18650&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model S 100kWh&lt;br /&gt;
|6.4&lt;br /&gt;
|28&lt;br /&gt;
|680&lt;br /&gt;
|315&lt;br /&gt;
|80&lt;br /&gt;
|4.4&lt;br /&gt;
|2.7&lt;br /&gt;
|22.8&lt;br /&gt;
|&lt;br /&gt;
|870&lt;br /&gt;
|86p6s&lt;br /&gt;
|18650&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Chevrolet&lt;br /&gt;
|Volt 2012&lt;br /&gt;
|4&lt;br /&gt;
|38&lt;br /&gt;
|470&lt;br /&gt;
|180&lt;br /&gt;
|280&lt;br /&gt;
|9.5&lt;br /&gt;
|5.9&lt;br /&gt;
|88&lt;br /&gt;
|140&lt;br /&gt;
|210&lt;br /&gt;
|24s&lt;br /&gt;
|Pouch&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|BMW&lt;br /&gt;
|i3 60Ah&lt;br /&gt;
|2&lt;br /&gt;
|13&lt;br /&gt;
|368&lt;br /&gt;
|178&lt;br /&gt;
|102&lt;br /&gt;
|6.5&lt;br /&gt;
|3.3&lt;br /&gt;
|28.8&lt;br /&gt;
|210&lt;br /&gt;
|350&lt;br /&gt;
|8s2p&lt;br /&gt;
|Prismatic&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|BMW&lt;br /&gt;
|i3 94Ah&lt;br /&gt;
|4.15&lt;br /&gt;
|28&lt;br /&gt;
|410&lt;br /&gt;
|310&lt;br /&gt;
|150&lt;br /&gt;
|6.7&lt;br /&gt;
|4.6&lt;br /&gt;
|45.6&lt;br /&gt;
|&lt;br /&gt;
|409&lt;br /&gt;
|12s&lt;br /&gt;
|Prismatic&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|BMW&lt;br /&gt;
|i3 120Ah&lt;br /&gt;
|5.3&lt;br /&gt;
|28&lt;br /&gt;
|410&lt;br /&gt;
|310&lt;br /&gt;
|150&lt;br /&gt;
|5.3&lt;br /&gt;
|3.6&lt;br /&gt;
|45.6&lt;br /&gt;
|&lt;br /&gt;
|360&lt;br /&gt;
|12s&lt;br /&gt;
|Prismatic&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Mitsubishi&lt;br /&gt;
|Outlander&lt;br /&gt;
|2.4&lt;br /&gt;
|26&lt;br /&gt;
|646&lt;br /&gt;
|184&lt;br /&gt;
|130&lt;br /&gt;
|10.8&lt;br /&gt;
|6.4&lt;br /&gt;
|60&lt;br /&gt;
|&lt;br /&gt;
|240&lt;br /&gt;
|16s&lt;br /&gt;
|&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Nissan&lt;br /&gt;
|Leaf 24kWh&lt;br /&gt;
|0.5&lt;br /&gt;
|3.65&lt;br /&gt;
|300&lt;br /&gt;
|222&lt;br /&gt;
|34&lt;br /&gt;
|7.3&lt;br /&gt;
|4.5&lt;br /&gt;
|7.4&lt;br /&gt;
|130&lt;br /&gt;
|&lt;br /&gt;
|2s2p&lt;br /&gt;
|Pouch&lt;br /&gt;
|Li-ion LMO&lt;br /&gt;
|-&lt;br /&gt;
|Nissan&lt;br /&gt;
|Leaf 40kWh&lt;br /&gt;
|1.6&lt;br /&gt;
|8.7&lt;br /&gt;
|300&lt;br /&gt;
|222&lt;br /&gt;
|68&lt;br /&gt;
|5.4&lt;br /&gt;
|2.8&lt;br /&gt;
|14.6&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|4s2p&lt;br /&gt;
|Pouch&lt;br /&gt;
|Li-ion NMC&lt;br /&gt;
|-&lt;br /&gt;
|Volvo&lt;br /&gt;
|XC90 T8&lt;br /&gt;
|2.01&lt;br /&gt;
|12.1&lt;br /&gt;
|300&lt;br /&gt;
|180&lt;br /&gt;
|150&lt;br /&gt;
|6.0&lt;br /&gt;
|4.0&lt;br /&gt;
|59.2&lt;br /&gt;
|170&lt;br /&gt;
|340&lt;br /&gt;
|16s&lt;br /&gt;
|&lt;br /&gt;
|Li-ion&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Clanger9</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Batteries&amp;diff=1174</id>
		<title>Batteries</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Batteries&amp;diff=1174"/>
		<updated>2020-11-30T22:40:35Z</updated>

		<summary type="html">&lt;p&gt;Clanger9: /* OEM modules */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
There are a wide variety of battery chemistries available for use as the main traction battery of an EV. To use each chemistry safely, and to ensure an adequate service life from the battery pack it is important to understand the requirements for the chemistry you are using. Failure to do so may lead to premature or catastrophic failure of the pack.&lt;br /&gt;
&lt;br /&gt;
Good pack design will allow for a nominal amount of abuse. People make mistakes and the pack should allow a margin for safety - and for longevity!&lt;br /&gt;
&lt;br /&gt;
== Battery pack specification ==&lt;br /&gt;
When deciding on your battery pack, here are some basic parameters to consider:&lt;br /&gt;
&lt;br /&gt;
=== Capacity (kWh) ===&lt;br /&gt;
&#039;&#039;&#039;How far do you want to go?&#039;&#039;&#039; A standard  car conversion will need a kWh for each 3 miles of range (very approximately). For a middleweight motorcycle, a kWh should give around 9 miles. &#039;&#039;Your mileage may vary&#039;&#039;, as they say.&lt;br /&gt;
&lt;br /&gt;
=== Voltage (V) ===&lt;br /&gt;
&#039;&#039;&#039;How fast do you want to go?&#039;&#039;&#039; The pack voltage defines the maximum speed your motor can spin. Motors are usually specified with &amp;quot;KV&amp;quot; - or RPM-per-volt. Check the KV of your motor and how fast it needs to spin to get your desired top speed. e.g. if you need 3,000 RPM from a 25 KV motor then your pack voltage needs to be  3,000 / 25 = 120 V. The exact number of cells in series you need depends on the cell design, but 3.8 V for Li-ion and 3.2 V for LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; is a reasonable guess.&lt;br /&gt;
&lt;br /&gt;
=== Maximum current (A) ===&lt;br /&gt;
&#039;&#039;&#039;How quickly do you want to accelerate?&#039;&#039;&#039; Your motor&#039;s maximum power will be specified in kW. To estimate your maximum current draw, divide the peak power by the battery voltage. e.g. a 30 kW motor with a 120 V battery pack will pull 30,000 / 120 = 250 A. The higher the current rating of the cells, the heavier they will be for a given capacity. Ideally, you want &amp;quot;enough&amp;quot; current capacity for full throttle acceleration, but no more. You can put cells in parallel to double the current rating of your pack (which of course will half the voltage). &lt;br /&gt;
&lt;br /&gt;
=== Mass (kg) ===&lt;br /&gt;
&#039;&#039;&#039;Can your vehicle carry the weight?&#039;&#039;&#039; You&#039;ll need to keep the kerb weight within the original design limits. For a car, this could be a few hundred kg. For a motorcycle, likely less than 100 kg. This is a huge variable - and each new generation of battery tech seems to be a little lighter. For older EV or hybrid batteries, you can reckon on approximately 10 kg/kWh. Nissan Leaf batteries are relatively light (7.5 kg/kWh). With the latest technology (e.g. Kokam pouch cells or 18650s), you can get this down to 5-6 kg/kWh.&lt;br /&gt;
&lt;br /&gt;
=== Volume (L) ===&lt;br /&gt;
&#039;&#039;&#039;Will it fit?&#039;&#039;&#039; Batteries are bulky. They are getting smaller, but finding enough space might be your biggest challenge. You could be looking at over 5 L/kWh for older EV or hybrid batteries. For the latest technology (e.g. Kokam pouch cells or 18650s), you can get this down to 3 L/kWh.&lt;br /&gt;
&lt;br /&gt;
There is much, much more to battery design than this (e.g. maximum charge rate, terminations, cooling, clamping), but the above should help work out which options will or won&#039;t work for your project...&lt;br /&gt;
&lt;br /&gt;
== Cell chemistry ==&lt;br /&gt;
&lt;br /&gt;
=== Lithium Iron Phosphate (LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt;) ===&lt;br /&gt;
Lithium Iron Phosphate (also known as LFP, or LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt;) batteries offer a good compromise between safety, energy density and ease of use for DIY conversions. They are available in a number of formats, commonly pouch cells, prismatic cells and cylindrical cells.&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; pouch cells ====&lt;br /&gt;
The majority of this content is drawn from this thread: [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761&amp;amp;start=900 https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761] discussing the use of the A123 20Ah pouch cell. However, many of the general points apply equally to other similar pouch cells.&lt;br /&gt;
&lt;br /&gt;
===== General build requirements =====&lt;br /&gt;
Pouch cells are vulnerable to damage from debris, and must be held in compression (see the datasheet for your battery, but 10-12 psi is recommended for the A123 pouch cells as a guide). A rigid container capable of preventing damage and providing compression is therefore required. Be aware the cells expand and contract in use, so allowance for this must be included in the structure of the case.&lt;br /&gt;
&lt;br /&gt;
The pouch cells should be separated to prevent abrasion between cells, and also to avoid the development of hot spots. Prebuilt modules from A123 systems had thin foam sheets or heatsinks between each cell. Be sure to avoid any debris that could rub on the pouch surface, particularly if using recycled cells.&lt;br /&gt;
&lt;br /&gt;
Mylar, &#039;[https://www.americanmicroinc.com/fish-paper/ Fish paper]&#039; or a [https://www.rogerscorp.com/elastomeric-material-solutions/poron-industrial-polyurethanes compliant foam] may be appropriate materials to serve this purpose. This material should not be flammable. If the material is heat insulating, it is important to address thermal management.&lt;br /&gt;
&lt;br /&gt;
===== Compression =====&lt;br /&gt;
Compression is required to prevent premature failure of the cell. Without compression electrolyte will become unevenly distributed, causing current gradients in the cell and uneven heating. Local temperatures can become high enough to form gas formation leading to cells &#039;puffing up&#039; even when the pack is otherwise held within temperature and voltage constraints. This will be exacerbated in packs with otherwise poor thermal management. Compression forces gas generated to the margins of the cell, outside of the cell stack, minimising its effect cell performance. Gas in the middle cells will create a dead space which does not store or release energy.&lt;br /&gt;
&lt;br /&gt;
There is ~1% expansion through a discharge cycle. As the cell ages, the nominal cell thickness can grow by 3-5%. For A123 cells the ideal pressure is between 4 and 18psi with the ideal pressure being ~12psi. Maintaining 12psi can increase the life by 500 cycles over that of 4 or 18psi&lt;br /&gt;
&lt;br /&gt;
There is some suggestion that in uses where 1C is never exceeded compression &#039;&#039;may&#039;&#039; not be required.&lt;br /&gt;
&lt;br /&gt;
Highly rigid endplates with a mechanism to allow for a limited degree of expansion (e.g. steel bands) are considered an effective solution to this challenge.&lt;br /&gt;
&lt;br /&gt;
It should be noted that compression is a challenge specific to pouch cells. Cylindrical cells are designed to maintain their own compression within the cell&#039;s electrode stack by their design.&lt;br /&gt;
&lt;br /&gt;
This thread provides more information and experimentation relating to pack compression: &amp;lt;nowiki&amp;gt;https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=52244&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Pouch Cell Pack Design Examples =====&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;placeholder*&lt;br /&gt;
&lt;br /&gt;
===== Notes regarding recycled pouch cells =====&lt;br /&gt;
Pouch cells are somewhat fragile, and breaching the insulation is not difficult, especially in a cells removed from existing packs and repurposed. If the pouch has had their poly-layers compromised you may see a number of faults:&lt;br /&gt;
* Black spots around the perimeter of the cell indicate electrolyte leakage&lt;br /&gt;
* Voltage on the outside of the bag. Note that microvoltage between the pouch and the electrode is normal (and due to a capacitive effect).&lt;br /&gt;
While the majority of these cells should no longer be in the market, a significant number of faulty cells made it back into the &#039;greymarket&#039; in around 2013. These cells had misaligned tabs which can also lead to isolation failures between the tab and the pack. These cells should be avoided, particularly in high demand applications.&lt;br /&gt;
&lt;br /&gt;
===== Situations likely to cause pouch cell failure =====&lt;br /&gt;
&#039;&#039;Taken directly from [https://endless-sphere.com/forums/memberlist.php?mode=viewprofile&amp;amp;u=33107 wb9k]&#039;s post on endless sphere in the [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761 A123 thread]&#039;&#039;&lt;br /&gt;
# &#039;&#039;&#039;Overcharge&#039;&#039;&#039;. Any extended time above 3.8 Volts will generate enough heat and electrochemical activity to puff a cell, especially one that is improperly compressed.&lt;br /&gt;
# &#039;&#039;&#039;Overdischarge followed by charge&#039;&#039;&#039;. Any A123 cell that has been pulled low enough to come to rest at &amp;lt;300 mV should be immediately scrapped. The published number for that is 500 mV, but the real figure is closer to 300, so that&#039;s a &amp;quot;safety buffer&amp;quot; if you will. Below this Voltage, the Cu electrodes start to dissolve into the electrolyte. When charge is applied, the Cu forms dendrites that puncture the separator layer, forming an internal short in the cell. This can puff a cell in a hurry---the more charge current on tap, the worse it&#039;s prone to be.&lt;br /&gt;
# &#039;&#039;&#039;Driving a cell negative&#039;&#039;&#039;. I&#039;ve neglected to mention this before, but it is a possibility. I don&#039;t know much about the specific mechanism at this time.&lt;br /&gt;
# &#039;&#039;&#039;Malfunctioning or misinformed electronics&#039;&#039;&#039;. This is the most common cause of all of the above in my experience. At this stage of the game, it is critical for YOU to understand how your BMS functions on at least a cursory level. Choose your BMS very carefully and periodically verify that it is operating properly. They&#039;re not all created equal. Make sure V sense lines are securely connected and free of corrosion. Just because your BMS says there was never a problem doesn&#039;t necessarily make it so. Avoid harnesses or ribbon cables between multiple modules if possible--they are problematic wherever they are used in any mobile electronics.&lt;br /&gt;
# &#039;&#039;&#039;Exposure to or generation of sufficient heat&#039;&#039;&#039;. I don&#039;t know exactly at what temperature gas formation begins in the electrolyte, but we spec a max storage temp of 80 (or 85?) degrees C and I suspect this is the reason. The hotter, the puffier--to a point. This is why soldering tabs poses a real hazard to cell health. If you feel you must solder, sink or blow the heat away from the body of the cell. Use a big iron that can make sufficient local heat quickly, before the whole mass of the cell gets hot. You might even get the cell warm enough to melt separator if not careful.&lt;br /&gt;
# &#039;&#039;&#039;No compression, not enough compression, improperly distributed compression&#039;&#039;&#039;. This is a pack/module design issue. Apply 10, maybe 15 psi to your cell stack end to end and then band snugly and evenly. Use hard endplates of some sort--never wrap cells directly or allow their shape to become distorted. Protect all areas of the pouch from impact damage. This obviously does not apply to cylindrical cells.&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; prismatic cells ====&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;placeholder*&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; cylindrical cells ====&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;placeholder*&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; cell ageing ====&lt;br /&gt;
&#039;&#039;Derived (barely paraphrased) from [https://endless-sphere.com/forums/memberlist.php?mode=viewprofile&amp;amp;u=33107 wb9k]&#039;s post on endless sphere in the [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761 A123 thread]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Capacity loss is caused by the lithium that was available for storage becoming permanently plated on the cathode. Being unable to move within the cell it is no longer available to store energy. The impact of this plating is greater than the amount of lithium &#039;lost&#039; to plating because not only is the lithium no longer available, it is also preventing access to that part of the cathode meaning Li that can still move has to take a longer path to reach the cathode. Lithium plating is one cause of increased cell resistance (there are others), a sign of worsening cell health.&lt;br /&gt;
&lt;br /&gt;
There is no linear relationship between actual capacity loss and impedance rise. However some cell defects will also increase impedance.&lt;br /&gt;
&lt;br /&gt;
Increasing cell resistance may cause a number of symptoms which may be confused with [https://earthshipbiotecture.com/a-lithium-ion-battery-primer/ High Self Discharge.]&lt;br /&gt;
# Elevated Peukert Losses. As more energy per amount of current through the cell is lost as heat, the cells useable capacity decreases. So the apparent capacity loss is higher than the actual capacity loss of cycleable lithium. When used in low current applications (e.g. solar energy storage) the actual and apparent decrease in capacity will be small. In high current draw applications (like EV traction packs), the Peukert loss increases proportionally, so the apparent capacity loss increases much faster than the actual capacity loss.&lt;br /&gt;
# Greater voltage excursion under the same load. Due to increased cell resistancethe voltage will sag further under the same load than a cell in optimal condition. The inverse is also true, the voltage will be higher for the same amount of charging current applied. The cell will then rebound to a voltage further from the loaded and charging voltages. This, obviously, can look like high self discharge but is a different phenomenon.&lt;br /&gt;
# Absolute maximum current decrease.&lt;br /&gt;
Elevated impedance causes a more complex constellation of symptoms, some of which may be easy to confuse with High Self Discharge (HSD). Ohm&#039;s law (E=I/R) holds the key to understanding here.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1) Elevated Peukert losses.&#039;&#039;&#039; Because more energy per unit of current through the cell is lost as heat, less of the cell&#039;s capacity is actually USABLE. Thus, apparent capacity loss can be significantly greater than actual capacity loss caused by the loss of cycleable Li alone. In low current applications, the two numbers will be close together. In high current applications, Peukert losses increase in proportion, so apparent loss of capacity breaks further and further away from actual capacity loss as current increases.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2) Greater voltage excursion under the same load.&#039;&#039;&#039; Elevated resistance across the cell means that voltage will sag more under the same load than it did when the cell was healthier. Conversely, voltage will rise higher with the same amount of applied charge current than it did when it was healthier. At the same time, rebound/settling voltages will be further away from loaded/charging voltages. In other words, the cell will rebound to a voltage further away from loaded voltage, all else being equal. Similarly, voltage will settle farther from the charge voltage with the same charge applied. This can give the illusion of elevated self-discharge, but the phenomenon is actually not the same thing. Again, the greater the charge and load currents, the greater the effect becomes.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3) Absolute max current decreases.&#039;&#039;&#039; Because the cell&#039;s series resistance is elevated, the maximum possible current through the cell is decreased.&lt;br /&gt;
&lt;br /&gt;
Just to confuse things further, there can be many factors that lead to impedance rise. Some are related to Li plating, others are not.&lt;br /&gt;
&lt;br /&gt;
=== Lithium-ion ===&lt;br /&gt;
Lithium-ion (Li-ion) batteries have a greater energy density than Lithium Iron Phosphate batteries, but have more challenging needs to use safely. The ideal operating range of Li-ion batteries is between +15 and +45°C. The upper limit of temperature is particularly important as Li-ion batteries experience thermal runaway - an unstoppable chain reaction that can occur in milliseconds releasing the stored energy in the cell. This can produce temperatures of 400°C and a fire that is extremely difficult to put out. Thermal runaway can start as low as 60°C and becomes much more likely at 100°C&lt;br /&gt;
&lt;br /&gt;
Risk factors for thermal runaway:&lt;br /&gt;
* Short Circuits - either internally or externally&lt;br /&gt;
* Overcharging&lt;br /&gt;
* Excessive current draw or when charging&lt;br /&gt;
&lt;br /&gt;
==== Li-ion pouch cells ====&lt;br /&gt;
[https://kokam.com/cell Kokam] produce high-performance Li-ion pouch cells. These combine relative ease of use and pack construction with performance close to cylindrical cells. &lt;br /&gt;
&lt;br /&gt;
==== Li-ion 18650 and other cylindrical cells ====&lt;br /&gt;
Cylindrical cells are favoured by Tesla, and are probably the main reason why their cars achieve such excellent performance. They are light, compact, powerful and expensive. Unfortunately, cylindrical cells are  difficult (and potentially dangerous) to use in DIY conversions. There are two good reasons for this: thermal management and cell configuration.&lt;br /&gt;
&lt;br /&gt;
As stated above, Li-ion cells are prone to thermal runaway. So you need perfect battery and thermal management to ensure that no cell ever exceeds the critical voltage or temperature. If this happens, a cell can short-circuit internally, releasing a lot of energy - potentially explosively. Furthermore, the individual cells are small, so need to be arranged in parallel. In the case of the Tesla Model S 85kW pack, there are 74 cells in parallel. Imagine if one of those cells fails and becomes short circuited internally. You now have 73 very high power cells all feeding in to that short circuit...&lt;br /&gt;
&lt;br /&gt;
In fact, you don&#039;t have to imagine: you can watch this famous video instead (courtesy of Rich Rebuilds).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;youtube&amp;gt;WdDi1haA71Q&amp;lt;/youtube&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== OEM modules ==&lt;br /&gt;
Using an OEM module means a lot of the difficulties and safety issues associated with battery design are taken care of e.g. cooling, clamping, etc.&lt;br /&gt;
&lt;br /&gt;
Here is a handy list of OEM modules:&lt;br /&gt;
{| class=&amp;quot;wikitable sortable mw-collapsible&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!Manufacturer&lt;br /&gt;
!Type&lt;br /&gt;
!Capacity (kWh)&lt;br /&gt;
!Weight (kg)&lt;br /&gt;
!w (mm)&lt;br /&gt;
!d (mm)&lt;br /&gt;
!h (mm)&lt;br /&gt;
!Gravity (kg/kWh)&lt;br /&gt;
!Volume (L/kWh)&lt;br /&gt;
!Voltage (V)&lt;br /&gt;
!Current (cont A)&lt;br /&gt;
!Current (peak A)&lt;br /&gt;
!Cell arrangement&lt;br /&gt;
!Cell type&lt;br /&gt;
!Chemistry&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model S 85kWh&lt;br /&gt;
|5.3&lt;br /&gt;
|26&lt;br /&gt;
|690&lt;br /&gt;
|315&lt;br /&gt;
|80&lt;br /&gt;
|4.9&lt;br /&gt;
|3.3&lt;br /&gt;
|22.8&lt;br /&gt;
|500&lt;br /&gt;
|750&lt;br /&gt;
|74p6s&lt;br /&gt;
|18650&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model S 100kWh&lt;br /&gt;
|6.4&lt;br /&gt;
|28&lt;br /&gt;
|680&lt;br /&gt;
|315&lt;br /&gt;
|80&lt;br /&gt;
|4.4&lt;br /&gt;
|2.7&lt;br /&gt;
|22.8&lt;br /&gt;
|&lt;br /&gt;
|870&lt;br /&gt;
|86p6s&lt;br /&gt;
|18650&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Chevrolet&lt;br /&gt;
|Volt 2012&lt;br /&gt;
|4&lt;br /&gt;
|38&lt;br /&gt;
|470&lt;br /&gt;
|180&lt;br /&gt;
|280&lt;br /&gt;
|9.5&lt;br /&gt;
|5.9&lt;br /&gt;
|88&lt;br /&gt;
|140&lt;br /&gt;
|210&lt;br /&gt;
|24s&lt;br /&gt;
|Pouch&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|BMW&lt;br /&gt;
|i3 60Ah&lt;br /&gt;
|2&lt;br /&gt;
|13&lt;br /&gt;
|368&lt;br /&gt;
|178&lt;br /&gt;
|102&lt;br /&gt;
|6.5&lt;br /&gt;
|3.3&lt;br /&gt;
|28.8&lt;br /&gt;
|210&lt;br /&gt;
|350&lt;br /&gt;
|8s2p&lt;br /&gt;
|Prismatic&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|BMW&lt;br /&gt;
|i3 94Ah&lt;br /&gt;
|4.15&lt;br /&gt;
|28&lt;br /&gt;
|410&lt;br /&gt;
|310&lt;br /&gt;
|150&lt;br /&gt;
|6.7&lt;br /&gt;
|4.6&lt;br /&gt;
|45.6&lt;br /&gt;
|&lt;br /&gt;
|409&lt;br /&gt;
|12s&lt;br /&gt;
|Prismatic&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|BMW&lt;br /&gt;
|i3 120Ah&lt;br /&gt;
|5.3&lt;br /&gt;
|28&lt;br /&gt;
|410&lt;br /&gt;
|310&lt;br /&gt;
|150&lt;br /&gt;
|5.3&lt;br /&gt;
|3.6&lt;br /&gt;
|45.6&lt;br /&gt;
|&lt;br /&gt;
|360&lt;br /&gt;
|12s&lt;br /&gt;
|Prismatic&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Mitsubishi&lt;br /&gt;
|Outlander&lt;br /&gt;
|2.4&lt;br /&gt;
|26&lt;br /&gt;
|646&lt;br /&gt;
|184&lt;br /&gt;
|130&lt;br /&gt;
|10.8&lt;br /&gt;
|6.4&lt;br /&gt;
|60&lt;br /&gt;
|&lt;br /&gt;
|240&lt;br /&gt;
|16s&lt;br /&gt;
|&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Nissan&lt;br /&gt;
|Leaf 24kWh&lt;br /&gt;
|0.5&lt;br /&gt;
|3.65&lt;br /&gt;
|300&lt;br /&gt;
|222&lt;br /&gt;
|34&lt;br /&gt;
|7.3&lt;br /&gt;
|4.5&lt;br /&gt;
|7.4&lt;br /&gt;
|130&lt;br /&gt;
|&lt;br /&gt;
|2s2p&lt;br /&gt;
|&lt;br /&gt;
|Li-ion LMO&lt;br /&gt;
|-&lt;br /&gt;
|Nissan&lt;br /&gt;
|Leaf 40kWh&lt;br /&gt;
|1.6&lt;br /&gt;
|8.7&lt;br /&gt;
|300&lt;br /&gt;
|222&lt;br /&gt;
|68&lt;br /&gt;
|5.4&lt;br /&gt;
|2.8&lt;br /&gt;
|14.6&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|4s2p&lt;br /&gt;
|&lt;br /&gt;
|Li-ion NMC&lt;br /&gt;
|-&lt;br /&gt;
|Volvo&lt;br /&gt;
|XC90 T8&lt;br /&gt;
|2.01&lt;br /&gt;
|12.1&lt;br /&gt;
|300&lt;br /&gt;
|180&lt;br /&gt;
|150&lt;br /&gt;
|6.0&lt;br /&gt;
|4.0&lt;br /&gt;
|59.2&lt;br /&gt;
|170&lt;br /&gt;
|340&lt;br /&gt;
|16s&lt;br /&gt;
|&lt;br /&gt;
|Li-ion&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Clanger9</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Batteries&amp;diff=1173</id>
		<title>Batteries</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Batteries&amp;diff=1173"/>
		<updated>2020-11-30T22:03:31Z</updated>

		<summary type="html">&lt;p&gt;Clanger9: /* Capacity (kWh) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
There are a wide variety of battery chemistries available for use as the main traction battery of an EV. To use each chemistry safely, and to ensure an adequate service life from the battery pack it is important to understand the requirements for the chemistry you are using. Failure to do so may lead to premature or catastrophic failure of the pack.&lt;br /&gt;
&lt;br /&gt;
Good pack design will allow for a nominal amount of abuse. People make mistakes and the pack should allow a margin for safety - and for longevity!&lt;br /&gt;
&lt;br /&gt;
== Battery pack specification ==&lt;br /&gt;
When deciding on your battery pack, here are some basic parameters to consider:&lt;br /&gt;
&lt;br /&gt;
=== Capacity (kWh) ===&lt;br /&gt;
&#039;&#039;&#039;How far do you want to go?&#039;&#039;&#039; A standard  car conversion will need a kWh for each 3 miles of range (very approximately). For a middleweight motorcycle, a kWh should give around 9 miles. &#039;&#039;Your mileage may vary&#039;&#039;, as they say.&lt;br /&gt;
&lt;br /&gt;
=== Voltage (V) ===&lt;br /&gt;
&#039;&#039;&#039;How fast do you want to go?&#039;&#039;&#039; The pack voltage defines the maximum speed your motor can spin. Motors are usually specified with &amp;quot;KV&amp;quot; - or RPM-per-volt. Check the KV of your motor and how fast it needs to spin to get your desired top speed. e.g. if you need 3,000 RPM from a 25 KV motor then your pack voltage needs to be  3,000 / 25 = 120 V. The exact number of cells in series you need depends on the cell design, but 3.8 V for Li-ion and 3.2 V for LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; is a reasonable guess.&lt;br /&gt;
&lt;br /&gt;
=== Maximum current (A) ===&lt;br /&gt;
&#039;&#039;&#039;How quickly do you want to accelerate?&#039;&#039;&#039; Your motor&#039;s maximum power will be specified in kW. To estimate your maximum current draw, divide the peak power by the battery voltage. e.g. a 30 kW motor with a 120 V battery pack will pull 30,000 / 120 = 250 A. The higher the current rating of the cells, the heavier they will be for a given capacity. Ideally, you want &amp;quot;enough&amp;quot; current capacity for full throttle acceleration, but no more. You can put cells in parallel to double the current rating of your pack (which of course will half the voltage). &lt;br /&gt;
&lt;br /&gt;
=== Mass (kg) ===&lt;br /&gt;
&#039;&#039;&#039;Can your vehicle carry the weight?&#039;&#039;&#039; You&#039;ll need to keep the kerb weight within the original design limits. For a car, this could be a few hundred kg. For a motorcycle, likely less than 100 kg. This is a huge variable - and each new generation of battery tech seems to be a little lighter. For older EV or hybrid batteries, you can reckon on approximately 10 kg/kWh. Nissan Leaf batteries are relatively light (7.5 kg/kWh). With the latest technology (e.g. Kokam pouch cells or 18650s), you can get this down to 5-6 kg/kWh.&lt;br /&gt;
&lt;br /&gt;
=== Volume (L) ===&lt;br /&gt;
&#039;&#039;&#039;Will it fit?&#039;&#039;&#039; Batteries are bulky. They are getting smaller, but finding enough space might be your biggest challenge. You could be looking at over 5 L/kWh for older EV or hybrid batteries. For the latest technology (e.g. Kokam pouch cells or 18650s), you can get this down to 3 L/kWh.&lt;br /&gt;
&lt;br /&gt;
There is much, much more to battery design than this (e.g. maximum charge rate, terminations, cooling, clamping), but the above should help work out which options will or won&#039;t work for your project...&lt;br /&gt;
&lt;br /&gt;
== Cell chemistry ==&lt;br /&gt;
&lt;br /&gt;
=== Lithium Iron Phosphate (LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt;) ===&lt;br /&gt;
Lithium Iron Phosphate (also known as LFP, or LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt;) batteries offer a good compromise between safety, energy density and ease of use for DIY conversions. They are available in a number of formats, commonly pouch cells, prismatic cells and cylindrical cells.&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; pouch cells ====&lt;br /&gt;
The majority of this content is drawn from this thread: [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761&amp;amp;start=900 https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761] discussing the use of the A123 20Ah pouch cell. However, many of the general points apply equally to other similar pouch cells.&lt;br /&gt;
&lt;br /&gt;
===== General build requirements =====&lt;br /&gt;
Pouch cells are vulnerable to damage from debris, and must be held in compression (see the datasheet for your battery, but 10-12 psi is recommended for the A123 pouch cells as a guide). A rigid container capable of preventing damage and providing compression is therefore required. Be aware the cells expand and contract in use, so allowance for this must be included in the structure of the case.&lt;br /&gt;
&lt;br /&gt;
The pouch cells should be separated to prevent abrasion between cells, and also to avoid the development of hot spots. Prebuilt modules from A123 systems had thin foam sheets or heatsinks between each cell. Be sure to avoid any debris that could rub on the pouch surface, particularly if using recycled cells.&lt;br /&gt;
&lt;br /&gt;
Mylar, &#039;[https://www.americanmicroinc.com/fish-paper/ Fish paper]&#039; or a [https://www.rogerscorp.com/elastomeric-material-solutions/poron-industrial-polyurethanes compliant foam] may be appropriate materials to serve this purpose. This material should not be flammable. If the material is heat insulating, it is important to address thermal management.&lt;br /&gt;
&lt;br /&gt;
===== Compression =====&lt;br /&gt;
Compression is required to prevent premature failure of the cell. Without compression electrolyte will become unevenly distributed, causing current gradients in the cell and uneven heating. Local temperatures can become high enough to form gas formation leading to cells &#039;puffing up&#039; even when the pack is otherwise held within temperature and voltage constraints. This will be exacerbated in packs with otherwise poor thermal management. Compression forces gas generated to the margins of the cell, outside of the cell stack, minimising its effect cell performance. Gas in the middle cells will create a dead space which does not store or release energy.&lt;br /&gt;
&lt;br /&gt;
There is ~1% expansion through a discharge cycle. As the cell ages, the nominal cell thickness can grow by 3-5%. For A123 cells the ideal pressure is between 4 and 18psi with the ideal pressure being ~12psi. Maintaining 12psi can increase the life by 500 cycles over that of 4 or 18psi&lt;br /&gt;
&lt;br /&gt;
There is some suggestion that in uses where 1C is never exceeded compression &#039;&#039;may&#039;&#039; not be required.&lt;br /&gt;
&lt;br /&gt;
Highly rigid endplates with a mechanism to allow for a limited degree of expansion (e.g. steel bands) are considered an effective solution to this challenge.&lt;br /&gt;
&lt;br /&gt;
It should be noted that compression is a challenge specific to pouch cells. Cylindrical cells are designed to maintain their own compression within the cell&#039;s electrode stack by their design.&lt;br /&gt;
&lt;br /&gt;
This thread provides more information and experimentation relating to pack compression: &amp;lt;nowiki&amp;gt;https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=52244&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Pouch Cell Pack Design Examples =====&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;placeholder*&lt;br /&gt;
&lt;br /&gt;
===== Notes regarding recycled pouch cells =====&lt;br /&gt;
Pouch cells are somewhat fragile, and breaching the insulation is not difficult, especially in a cells removed from existing packs and repurposed. If the pouch has had their poly-layers compromised you may see a number of faults:&lt;br /&gt;
* Black spots around the perimeter of the cell indicate electrolyte leakage&lt;br /&gt;
* Voltage on the outside of the bag. Note that microvoltage between the pouch and the electrode is normal (and due to a capacitive effect).&lt;br /&gt;
While the majority of these cells should no longer be in the market, a significant number of faulty cells made it back into the &#039;greymarket&#039; in around 2013. These cells had misaligned tabs which can also lead to isolation failures between the tab and the pack. These cells should be avoided, particularly in high demand applications.&lt;br /&gt;
&lt;br /&gt;
===== Situations likely to cause pouch cell failure =====&lt;br /&gt;
&#039;&#039;Taken directly from [https://endless-sphere.com/forums/memberlist.php?mode=viewprofile&amp;amp;u=33107 wb9k]&#039;s post on endless sphere in the [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761 A123 thread]&#039;&#039;&lt;br /&gt;
# &#039;&#039;&#039;Overcharge&#039;&#039;&#039;. Any extended time above 3.8 Volts will generate enough heat and electrochemical activity to puff a cell, especially one that is improperly compressed.&lt;br /&gt;
# &#039;&#039;&#039;Overdischarge followed by charge&#039;&#039;&#039;. Any A123 cell that has been pulled low enough to come to rest at &amp;lt;300 mV should be immediately scrapped. The published number for that is 500 mV, but the real figure is closer to 300, so that&#039;s a &amp;quot;safety buffer&amp;quot; if you will. Below this Voltage, the Cu electrodes start to dissolve into the electrolyte. When charge is applied, the Cu forms dendrites that puncture the separator layer, forming an internal short in the cell. This can puff a cell in a hurry---the more charge current on tap, the worse it&#039;s prone to be.&lt;br /&gt;
# &#039;&#039;&#039;Driving a cell negative&#039;&#039;&#039;. I&#039;ve neglected to mention this before, but it is a possibility. I don&#039;t know much about the specific mechanism at this time.&lt;br /&gt;
# &#039;&#039;&#039;Malfunctioning or misinformed electronics&#039;&#039;&#039;. This is the most common cause of all of the above in my experience. At this stage of the game, it is critical for YOU to understand how your BMS functions on at least a cursory level. Choose your BMS very carefully and periodically verify that it is operating properly. They&#039;re not all created equal. Make sure V sense lines are securely connected and free of corrosion. Just because your BMS says there was never a problem doesn&#039;t necessarily make it so. Avoid harnesses or ribbon cables between multiple modules if possible--they are problematic wherever they are used in any mobile electronics.&lt;br /&gt;
# &#039;&#039;&#039;Exposure to or generation of sufficient heat&#039;&#039;&#039;. I don&#039;t know exactly at what temperature gas formation begins in the electrolyte, but we spec a max storage temp of 80 (or 85?) degrees C and I suspect this is the reason. The hotter, the puffier--to a point. This is why soldering tabs poses a real hazard to cell health. If you feel you must solder, sink or blow the heat away from the body of the cell. Use a big iron that can make sufficient local heat quickly, before the whole mass of the cell gets hot. You might even get the cell warm enough to melt separator if not careful.&lt;br /&gt;
# &#039;&#039;&#039;No compression, not enough compression, improperly distributed compression&#039;&#039;&#039;. This is a pack/module design issue. Apply 10, maybe 15 psi to your cell stack end to end and then band snugly and evenly. Use hard endplates of some sort--never wrap cells directly or allow their shape to become distorted. Protect all areas of the pouch from impact damage. This obviously does not apply to cylindrical cells.&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; prismatic cells ====&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;placeholder*&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; cylindrical cells ====&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;placeholder*&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; cell ageing ====&lt;br /&gt;
&#039;&#039;Derived (barely paraphrased) from [https://endless-sphere.com/forums/memberlist.php?mode=viewprofile&amp;amp;u=33107 wb9k]&#039;s post on endless sphere in the [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761 A123 thread]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Capacity loss is caused by the lithium that was available for storage becoming permanently plated on the cathode. Being unable to move within the cell it is no longer available to store energy. The impact of this plating is greater than the amount of lithium &#039;lost&#039; to plating because not only is the lithium no longer available, it is also preventing access to that part of the cathode meaning Li that can still move has to take a longer path to reach the cathode. Lithium plating is one cause of increased cell resistance (there are others), a sign of worsening cell health.&lt;br /&gt;
&lt;br /&gt;
There is no linear relationship between actual capacity loss and impedance rise. However some cell defects will also increase impedance.&lt;br /&gt;
&lt;br /&gt;
Increasing cell resistance may cause a number of symptoms which may be confused with [https://earthshipbiotecture.com/a-lithium-ion-battery-primer/ High Self Discharge.]&lt;br /&gt;
# Elevated Peukert Losses. As more energy per amount of current through the cell is lost as heat, the cells useable capacity decreases. So the apparent capacity loss is higher than the actual capacity loss of cycleable lithium. When used in low current applications (e.g. solar energy storage) the actual and apparent decrease in capacity will be small. In high current draw applications (like EV traction packs), the Peukert loss increases proportionally, so the apparent capacity loss increases much faster than the actual capacity loss.&lt;br /&gt;
# Greater voltage excursion under the same load. Due to increased cell resistancethe voltage will sag further under the same load than a cell in optimal condition. The inverse is also true, the voltage will be higher for the same amount of charging current applied. The cell will then rebound to a voltage further from the loaded and charging voltages. This, obviously, can look like high self discharge but is a different phenomenon.&lt;br /&gt;
# Absolute maximum current decrease.&lt;br /&gt;
Elevated impedance causes a more complex constellation of symptoms, some of which may be easy to confuse with High Self Discharge (HSD). Ohm&#039;s law (E=I/R) holds the key to understanding here.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1) Elevated Peukert losses.&#039;&#039;&#039; Because more energy per unit of current through the cell is lost as heat, less of the cell&#039;s capacity is actually USABLE. Thus, apparent capacity loss can be significantly greater than actual capacity loss caused by the loss of cycleable Li alone. In low current applications, the two numbers will be close together. In high current applications, Peukert losses increase in proportion, so apparent loss of capacity breaks further and further away from actual capacity loss as current increases.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2) Greater voltage excursion under the same load.&#039;&#039;&#039; Elevated resistance across the cell means that voltage will sag more under the same load than it did when the cell was healthier. Conversely, voltage will rise higher with the same amount of applied charge current than it did when it was healthier. At the same time, rebound/settling voltages will be further away from loaded/charging voltages. In other words, the cell will rebound to a voltage further away from loaded voltage, all else being equal. Similarly, voltage will settle farther from the charge voltage with the same charge applied. This can give the illusion of elevated self-discharge, but the phenomenon is actually not the same thing. Again, the greater the charge and load currents, the greater the effect becomes.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3) Absolute max current decreases.&#039;&#039;&#039; Because the cell&#039;s series resistance is elevated, the maximum possible current through the cell is decreased.&lt;br /&gt;
&lt;br /&gt;
Just to confuse things further, there can be many factors that lead to impedance rise. Some are related to Li plating, others are not.&lt;br /&gt;
&lt;br /&gt;
=== Lithium-ion ===&lt;br /&gt;
Lithium-ion (Li-ion) batteries have a greater energy density than Lithium Iron Phosphate batteries, but have more challenging needs to use safely. The ideal operating range of Li-ion batteries is between +15 and +45°C. The upper limit of temperature is particularly important as Li-ion batteries experience thermal runaway - an unstoppable chain reaction that can occur in milliseconds releasing the stored energy in the cell. This can produce temperatures of 400°C and a fire that is extremely difficult to put out. Thermal runaway can start as low as 60°C and becomes much more likely at 100°C&lt;br /&gt;
&lt;br /&gt;
Risk factors for thermal runaway:&lt;br /&gt;
* Short Circuits - either internally or externally&lt;br /&gt;
* Overcharging&lt;br /&gt;
* Excessive current draw or when charging&lt;br /&gt;
&lt;br /&gt;
==== Li-ion pouch cells ====&lt;br /&gt;
[https://kokam.com/cell Kokam] produce high-performance Li-ion pouch cells. These combine relative ease of use and pack construction with performance close to cylindrical cells. &lt;br /&gt;
&lt;br /&gt;
==== Li-ion 18650 and other cylindrical cells ====&lt;br /&gt;
Cylindrical cells are favoured by Tesla, and are probably the main reason why their cars achieve such excellent performance. They are light, compact, powerful and expensive. Unfortunately, cylindrical cells are  difficult (and potentially dangerous) to use in DIY conversions. There are two good reasons for this: thermal management and cell configuration.&lt;br /&gt;
&lt;br /&gt;
As stated above, Li-ion cells are prone to thermal runaway. So you need perfect battery and thermal management to ensure that no cell ever exceeds the critical voltage or temperature. If this happens, a cell can short-circuit internally, releasing a lot of energy - potentially explosively. Furthermore, the individual cells are small, so need to be arranged in parallel. In the case of the Tesla Model S 85kW pack, there are 74 cells in parallel. Imagine if one of those cells fails and becomes short circuited internally. You now have 73 very high power cells all feeding in to that short circuit...&lt;br /&gt;
&lt;br /&gt;
In fact, you don&#039;t have to imagine: you can watch this famous video instead (courtesy of Rich Rebuilds).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;youtube&amp;gt;WdDi1haA71Q&amp;lt;/youtube&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== OEM modules ==&lt;br /&gt;
Using an OEM module means a lot of the difficulties and safety issues associated with battery design are taken care of e.g. cooling, clamping, etc.&lt;br /&gt;
&lt;br /&gt;
Here is a handy list of OEM modules:&lt;br /&gt;
{| class=&amp;quot;wikitable sortable mw-collapsible&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!Manufacturer&lt;br /&gt;
!Type&lt;br /&gt;
!Capacity (kWh)&lt;br /&gt;
!Weight (kg)&lt;br /&gt;
!w (mm)&lt;br /&gt;
!d (mm)&lt;br /&gt;
!h (mm)&lt;br /&gt;
!Gravity (kg/kWh)&lt;br /&gt;
!Volume (L/kWh)&lt;br /&gt;
!Voltage (V)&lt;br /&gt;
!Current (cont A)&lt;br /&gt;
!Current (peak A)&lt;br /&gt;
!Cell arrangement&lt;br /&gt;
!Cell type&lt;br /&gt;
!Chemistry&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model S 85kWh&lt;br /&gt;
|5.3&lt;br /&gt;
|26&lt;br /&gt;
|690&lt;br /&gt;
|315&lt;br /&gt;
|80&lt;br /&gt;
|4.9&lt;br /&gt;
|3.3&lt;br /&gt;
|22.8&lt;br /&gt;
|500&lt;br /&gt;
|750&lt;br /&gt;
|74p6s&lt;br /&gt;
|18650&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model S 100kWh&lt;br /&gt;
|6.4&lt;br /&gt;
|28&lt;br /&gt;
|680&lt;br /&gt;
|315&lt;br /&gt;
|80&lt;br /&gt;
|4.4&lt;br /&gt;
|2.7&lt;br /&gt;
|22.8&lt;br /&gt;
|&lt;br /&gt;
|870&lt;br /&gt;
|86p6s&lt;br /&gt;
|18650&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Chevrolet&lt;br /&gt;
|Volt 2012&lt;br /&gt;
|4&lt;br /&gt;
|38&lt;br /&gt;
|470&lt;br /&gt;
|180&lt;br /&gt;
|280&lt;br /&gt;
|9.5&lt;br /&gt;
|5.9&lt;br /&gt;
|88&lt;br /&gt;
|140&lt;br /&gt;
|210&lt;br /&gt;
|24s&lt;br /&gt;
|Pouch&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|BMW&lt;br /&gt;
|i3 60Ah&lt;br /&gt;
|2&lt;br /&gt;
|13&lt;br /&gt;
|368&lt;br /&gt;
|178&lt;br /&gt;
|102&lt;br /&gt;
|6.5&lt;br /&gt;
|3.3&lt;br /&gt;
|28.8&lt;br /&gt;
|210&lt;br /&gt;
|350&lt;br /&gt;
|8s2p&lt;br /&gt;
|Prismatic&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|BMW&lt;br /&gt;
|i3 94Ah&lt;br /&gt;
|4.15&lt;br /&gt;
|28&lt;br /&gt;
|410&lt;br /&gt;
|310&lt;br /&gt;
|150&lt;br /&gt;
|6.7&lt;br /&gt;
|4.6&lt;br /&gt;
|45.6&lt;br /&gt;
|&lt;br /&gt;
|409&lt;br /&gt;
|12s&lt;br /&gt;
|Prismatic&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|BMW&lt;br /&gt;
|i3 120Ah&lt;br /&gt;
|5.3&lt;br /&gt;
|28&lt;br /&gt;
|410&lt;br /&gt;
|310&lt;br /&gt;
|150&lt;br /&gt;
|5.3&lt;br /&gt;
|3.6&lt;br /&gt;
|45.6&lt;br /&gt;
|&lt;br /&gt;
|360&lt;br /&gt;
|12s&lt;br /&gt;
|Prismatic&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Mitsubishi&lt;br /&gt;
|Outlander&lt;br /&gt;
|2.4&lt;br /&gt;
|26&lt;br /&gt;
|646&lt;br /&gt;
|184&lt;br /&gt;
|130&lt;br /&gt;
|10.8&lt;br /&gt;
|6.4&lt;br /&gt;
|60&lt;br /&gt;
|&lt;br /&gt;
|240&lt;br /&gt;
|16s&lt;br /&gt;
|&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Nissan&lt;br /&gt;
|Leaf 24kWh&lt;br /&gt;
|0.5&lt;br /&gt;
|3.65&lt;br /&gt;
|300&lt;br /&gt;
|222&lt;br /&gt;
|34&lt;br /&gt;
|7.3&lt;br /&gt;
|4.5&lt;br /&gt;
|7.4&lt;br /&gt;
|130&lt;br /&gt;
|&lt;br /&gt;
|2s2p&lt;br /&gt;
|&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Nissan&lt;br /&gt;
|Leaf 40kWh&lt;br /&gt;
|1.6&lt;br /&gt;
|8.7&lt;br /&gt;
|300&lt;br /&gt;
|222&lt;br /&gt;
|68&lt;br /&gt;
|5.4&lt;br /&gt;
|2.8&lt;br /&gt;
|14.6&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|4s2p&lt;br /&gt;
|&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Volvo&lt;br /&gt;
|XC90 T8&lt;br /&gt;
|2.01&lt;br /&gt;
|12.1&lt;br /&gt;
|300&lt;br /&gt;
|180&lt;br /&gt;
|150&lt;br /&gt;
|6.0&lt;br /&gt;
|4.0&lt;br /&gt;
|59.2&lt;br /&gt;
|170&lt;br /&gt;
|340&lt;br /&gt;
|16s&lt;br /&gt;
|&lt;br /&gt;
|Li-ion&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Clanger9</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Batteries&amp;diff=1172</id>
		<title>Batteries</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Batteries&amp;diff=1172"/>
		<updated>2020-11-30T22:02:42Z</updated>

		<summary type="html">&lt;p&gt;Clanger9: /* Capacity (kWh) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
There are a wide variety of battery chemistries available for use as the main traction battery of an EV. To use each chemistry safely, and to ensure an adequate service life from the battery pack it is important to understand the requirements for the chemistry you are using. Failure to do so may lead to premature or catastrophic failure of the pack.&lt;br /&gt;
&lt;br /&gt;
Good pack design will allow for a nominal amount of abuse. People make mistakes and the pack should allow a margin for safety - and for longevity!&lt;br /&gt;
&lt;br /&gt;
== Battery pack specification ==&lt;br /&gt;
When deciding on your battery pack, here are some basic parameters to consider:&lt;br /&gt;
&lt;br /&gt;
=== Capacity (kWh) ===&lt;br /&gt;
&#039;&#039;&#039;How far do you want to go?&#039;&#039;&#039; A standard  car conversion will need a kWh for approximately each 3 miles of range. For a middleweight motorcycle, a kWh should give around 9 miles. &#039;&#039;Your mileage may vary&#039;&#039;, as they say.&lt;br /&gt;
&lt;br /&gt;
=== Voltage (V) ===&lt;br /&gt;
&#039;&#039;&#039;How fast do you want to go?&#039;&#039;&#039; The pack voltage defines the maximum speed your motor can spin. Motors are usually specified with &amp;quot;KV&amp;quot; - or RPM-per-volt. Check the KV of your motor and how fast it needs to spin to get your desired top speed. e.g. if you need 3,000 RPM from a 25 KV motor then your pack voltage needs to be  3,000 / 25 = 120 V. The exact number of cells in series you need depends on the cell design, but 3.8 V for Li-ion and 3.2 V for LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; is a reasonable guess.&lt;br /&gt;
&lt;br /&gt;
=== Maximum current (A) ===&lt;br /&gt;
&#039;&#039;&#039;How quickly do you want to accelerate?&#039;&#039;&#039; Your motor&#039;s maximum power will be specified in kW. To estimate your maximum current draw, divide the peak power by the battery voltage. e.g. a 30 kW motor with a 120 V battery pack will pull 30,000 / 120 = 250 A. The higher the current rating of the cells, the heavier they will be for a given capacity. Ideally, you want &amp;quot;enough&amp;quot; current capacity for full throttle acceleration, but no more. You can put cells in parallel to double the current rating of your pack (which of course will half the voltage). &lt;br /&gt;
&lt;br /&gt;
=== Mass (kg) ===&lt;br /&gt;
&#039;&#039;&#039;Can your vehicle carry the weight?&#039;&#039;&#039; You&#039;ll need to keep the kerb weight within the original design limits. For a car, this could be a few hundred kg. For a motorcycle, likely less than 100 kg. This is a huge variable - and each new generation of battery tech seems to be a little lighter. For older EV or hybrid batteries, you can reckon on approximately 10 kg/kWh. Nissan Leaf batteries are relatively light (7.5 kg/kWh). With the latest technology (e.g. Kokam pouch cells or 18650s), you can get this down to 5-6 kg/kWh.&lt;br /&gt;
&lt;br /&gt;
=== Volume (L) ===&lt;br /&gt;
&#039;&#039;&#039;Will it fit?&#039;&#039;&#039; Batteries are bulky. They are getting smaller, but finding enough space might be your biggest challenge. You could be looking at over 5 L/kWh for older EV or hybrid batteries. For the latest technology (e.g. Kokam pouch cells or 18650s), you can get this down to 3 L/kWh.&lt;br /&gt;
&lt;br /&gt;
There is much, much more to battery design than this (e.g. maximum charge rate, terminations, cooling, clamping), but the above should help work out which options will or won&#039;t work for your project...&lt;br /&gt;
&lt;br /&gt;
== Cell chemistry ==&lt;br /&gt;
&lt;br /&gt;
=== Lithium Iron Phosphate (LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt;) ===&lt;br /&gt;
Lithium Iron Phosphate (also known as LFP, or LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt;) batteries offer a good compromise between safety, energy density and ease of use for DIY conversions. They are available in a number of formats, commonly pouch cells, prismatic cells and cylindrical cells.&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; pouch cells ====&lt;br /&gt;
The majority of this content is drawn from this thread: [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761&amp;amp;start=900 https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761] discussing the use of the A123 20Ah pouch cell. However, many of the general points apply equally to other similar pouch cells.&lt;br /&gt;
&lt;br /&gt;
===== General build requirements =====&lt;br /&gt;
Pouch cells are vulnerable to damage from debris, and must be held in compression (see the datasheet for your battery, but 10-12 psi is recommended for the A123 pouch cells as a guide). A rigid container capable of preventing damage and providing compression is therefore required. Be aware the cells expand and contract in use, so allowance for this must be included in the structure of the case.&lt;br /&gt;
&lt;br /&gt;
The pouch cells should be separated to prevent abrasion between cells, and also to avoid the development of hot spots. Prebuilt modules from A123 systems had thin foam sheets or heatsinks between each cell. Be sure to avoid any debris that could rub on the pouch surface, particularly if using recycled cells.&lt;br /&gt;
&lt;br /&gt;
Mylar, &#039;[https://www.americanmicroinc.com/fish-paper/ Fish paper]&#039; or a [https://www.rogerscorp.com/elastomeric-material-solutions/poron-industrial-polyurethanes compliant foam] may be appropriate materials to serve this purpose. This material should not be flammable. If the material is heat insulating, it is important to address thermal management.&lt;br /&gt;
&lt;br /&gt;
===== Compression =====&lt;br /&gt;
Compression is required to prevent premature failure of the cell. Without compression electrolyte will become unevenly distributed, causing current gradients in the cell and uneven heating. Local temperatures can become high enough to form gas formation leading to cells &#039;puffing up&#039; even when the pack is otherwise held within temperature and voltage constraints. This will be exacerbated in packs with otherwise poor thermal management. Compression forces gas generated to the margins of the cell, outside of the cell stack, minimising its effect cell performance. Gas in the middle cells will create a dead space which does not store or release energy.&lt;br /&gt;
&lt;br /&gt;
There is ~1% expansion through a discharge cycle. As the cell ages, the nominal cell thickness can grow by 3-5%. For A123 cells the ideal pressure is between 4 and 18psi with the ideal pressure being ~12psi. Maintaining 12psi can increase the life by 500 cycles over that of 4 or 18psi&lt;br /&gt;
&lt;br /&gt;
There is some suggestion that in uses where 1C is never exceeded compression &#039;&#039;may&#039;&#039; not be required.&lt;br /&gt;
&lt;br /&gt;
Highly rigid endplates with a mechanism to allow for a limited degree of expansion (e.g. steel bands) are considered an effective solution to this challenge.&lt;br /&gt;
&lt;br /&gt;
It should be noted that compression is a challenge specific to pouch cells. Cylindrical cells are designed to maintain their own compression within the cell&#039;s electrode stack by their design.&lt;br /&gt;
&lt;br /&gt;
This thread provides more information and experimentation relating to pack compression: &amp;lt;nowiki&amp;gt;https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=52244&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Pouch Cell Pack Design Examples =====&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;placeholder*&lt;br /&gt;
&lt;br /&gt;
===== Notes regarding recycled pouch cells =====&lt;br /&gt;
Pouch cells are somewhat fragile, and breaching the insulation is not difficult, especially in a cells removed from existing packs and repurposed. If the pouch has had their poly-layers compromised you may see a number of faults:&lt;br /&gt;
* Black spots around the perimeter of the cell indicate electrolyte leakage&lt;br /&gt;
* Voltage on the outside of the bag. Note that microvoltage between the pouch and the electrode is normal (and due to a capacitive effect).&lt;br /&gt;
While the majority of these cells should no longer be in the market, a significant number of faulty cells made it back into the &#039;greymarket&#039; in around 2013. These cells had misaligned tabs which can also lead to isolation failures between the tab and the pack. These cells should be avoided, particularly in high demand applications.&lt;br /&gt;
&lt;br /&gt;
===== Situations likely to cause pouch cell failure =====&lt;br /&gt;
&#039;&#039;Taken directly from [https://endless-sphere.com/forums/memberlist.php?mode=viewprofile&amp;amp;u=33107 wb9k]&#039;s post on endless sphere in the [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761 A123 thread]&#039;&#039;&lt;br /&gt;
# &#039;&#039;&#039;Overcharge&#039;&#039;&#039;. Any extended time above 3.8 Volts will generate enough heat and electrochemical activity to puff a cell, especially one that is improperly compressed.&lt;br /&gt;
# &#039;&#039;&#039;Overdischarge followed by charge&#039;&#039;&#039;. Any A123 cell that has been pulled low enough to come to rest at &amp;lt;300 mV should be immediately scrapped. The published number for that is 500 mV, but the real figure is closer to 300, so that&#039;s a &amp;quot;safety buffer&amp;quot; if you will. Below this Voltage, the Cu electrodes start to dissolve into the electrolyte. When charge is applied, the Cu forms dendrites that puncture the separator layer, forming an internal short in the cell. This can puff a cell in a hurry---the more charge current on tap, the worse it&#039;s prone to be.&lt;br /&gt;
# &#039;&#039;&#039;Driving a cell negative&#039;&#039;&#039;. I&#039;ve neglected to mention this before, but it is a possibility. I don&#039;t know much about the specific mechanism at this time.&lt;br /&gt;
# &#039;&#039;&#039;Malfunctioning or misinformed electronics&#039;&#039;&#039;. This is the most common cause of all of the above in my experience. At this stage of the game, it is critical for YOU to understand how your BMS functions on at least a cursory level. Choose your BMS very carefully and periodically verify that it is operating properly. They&#039;re not all created equal. Make sure V sense lines are securely connected and free of corrosion. Just because your BMS says there was never a problem doesn&#039;t necessarily make it so. Avoid harnesses or ribbon cables between multiple modules if possible--they are problematic wherever they are used in any mobile electronics.&lt;br /&gt;
# &#039;&#039;&#039;Exposure to or generation of sufficient heat&#039;&#039;&#039;. I don&#039;t know exactly at what temperature gas formation begins in the electrolyte, but we spec a max storage temp of 80 (or 85?) degrees C and I suspect this is the reason. The hotter, the puffier--to a point. This is why soldering tabs poses a real hazard to cell health. If you feel you must solder, sink or blow the heat away from the body of the cell. Use a big iron that can make sufficient local heat quickly, before the whole mass of the cell gets hot. You might even get the cell warm enough to melt separator if not careful.&lt;br /&gt;
# &#039;&#039;&#039;No compression, not enough compression, improperly distributed compression&#039;&#039;&#039;. This is a pack/module design issue. Apply 10, maybe 15 psi to your cell stack end to end and then band snugly and evenly. Use hard endplates of some sort--never wrap cells directly or allow their shape to become distorted. Protect all areas of the pouch from impact damage. This obviously does not apply to cylindrical cells.&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; prismatic cells ====&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;placeholder*&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; cylindrical cells ====&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;placeholder*&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; cell ageing ====&lt;br /&gt;
&#039;&#039;Derived (barely paraphrased) from [https://endless-sphere.com/forums/memberlist.php?mode=viewprofile&amp;amp;u=33107 wb9k]&#039;s post on endless sphere in the [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761 A123 thread]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Capacity loss is caused by the lithium that was available for storage becoming permanently plated on the cathode. Being unable to move within the cell it is no longer available to store energy. The impact of this plating is greater than the amount of lithium &#039;lost&#039; to plating because not only is the lithium no longer available, it is also preventing access to that part of the cathode meaning Li that can still move has to take a longer path to reach the cathode. Lithium plating is one cause of increased cell resistance (there are others), a sign of worsening cell health.&lt;br /&gt;
&lt;br /&gt;
There is no linear relationship between actual capacity loss and impedance rise. However some cell defects will also increase impedance.&lt;br /&gt;
&lt;br /&gt;
Increasing cell resistance may cause a number of symptoms which may be confused with [https://earthshipbiotecture.com/a-lithium-ion-battery-primer/ High Self Discharge.]&lt;br /&gt;
# Elevated Peukert Losses. As more energy per amount of current through the cell is lost as heat, the cells useable capacity decreases. So the apparent capacity loss is higher than the actual capacity loss of cycleable lithium. When used in low current applications (e.g. solar energy storage) the actual and apparent decrease in capacity will be small. In high current draw applications (like EV traction packs), the Peukert loss increases proportionally, so the apparent capacity loss increases much faster than the actual capacity loss.&lt;br /&gt;
# Greater voltage excursion under the same load. Due to increased cell resistancethe voltage will sag further under the same load than a cell in optimal condition. The inverse is also true, the voltage will be higher for the same amount of charging current applied. The cell will then rebound to a voltage further from the loaded and charging voltages. This, obviously, can look like high self discharge but is a different phenomenon.&lt;br /&gt;
# Absolute maximum current decrease.&lt;br /&gt;
Elevated impedance causes a more complex constellation of symptoms, some of which may be easy to confuse with High Self Discharge (HSD). Ohm&#039;s law (E=I/R) holds the key to understanding here.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1) Elevated Peukert losses.&#039;&#039;&#039; Because more energy per unit of current through the cell is lost as heat, less of the cell&#039;s capacity is actually USABLE. Thus, apparent capacity loss can be significantly greater than actual capacity loss caused by the loss of cycleable Li alone. In low current applications, the two numbers will be close together. In high current applications, Peukert losses increase in proportion, so apparent loss of capacity breaks further and further away from actual capacity loss as current increases.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2) Greater voltage excursion under the same load.&#039;&#039;&#039; Elevated resistance across the cell means that voltage will sag more under the same load than it did when the cell was healthier. Conversely, voltage will rise higher with the same amount of applied charge current than it did when it was healthier. At the same time, rebound/settling voltages will be further away from loaded/charging voltages. In other words, the cell will rebound to a voltage further away from loaded voltage, all else being equal. Similarly, voltage will settle farther from the charge voltage with the same charge applied. This can give the illusion of elevated self-discharge, but the phenomenon is actually not the same thing. Again, the greater the charge and load currents, the greater the effect becomes.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3) Absolute max current decreases.&#039;&#039;&#039; Because the cell&#039;s series resistance is elevated, the maximum possible current through the cell is decreased.&lt;br /&gt;
&lt;br /&gt;
Just to confuse things further, there can be many factors that lead to impedance rise. Some are related to Li plating, others are not.&lt;br /&gt;
&lt;br /&gt;
=== Lithium-ion ===&lt;br /&gt;
Lithium-ion (Li-ion) batteries have a greater energy density than Lithium Iron Phosphate batteries, but have more challenging needs to use safely. The ideal operating range of Li-ion batteries is between +15 and +45°C. The upper limit of temperature is particularly important as Li-ion batteries experience thermal runaway - an unstoppable chain reaction that can occur in milliseconds releasing the stored energy in the cell. This can produce temperatures of 400°C and a fire that is extremely difficult to put out. Thermal runaway can start as low as 60°C and becomes much more likely at 100°C&lt;br /&gt;
&lt;br /&gt;
Risk factors for thermal runaway:&lt;br /&gt;
* Short Circuits - either internally or externally&lt;br /&gt;
* Overcharging&lt;br /&gt;
* Excessive current draw or when charging&lt;br /&gt;
&lt;br /&gt;
==== Li-ion pouch cells ====&lt;br /&gt;
[https://kokam.com/cell Kokam] produce high-performance Li-ion pouch cells. These combine relative ease of use and pack construction with performance close to cylindrical cells. &lt;br /&gt;
&lt;br /&gt;
==== Li-ion 18650 and other cylindrical cells ====&lt;br /&gt;
Cylindrical cells are favoured by Tesla, and are probably the main reason why their cars achieve such excellent performance. They are light, compact, powerful and expensive. Unfortunately, cylindrical cells are  difficult (and potentially dangerous) to use in DIY conversions. There are two good reasons for this: thermal management and cell configuration.&lt;br /&gt;
&lt;br /&gt;
As stated above, Li-ion cells are prone to thermal runaway. So you need perfect battery and thermal management to ensure that no cell ever exceeds the critical voltage or temperature. If this happens, a cell can short-circuit internally, releasing a lot of energy - potentially explosively. Furthermore, the individual cells are small, so need to be arranged in parallel. In the case of the Tesla Model S 85kW pack, there are 74 cells in parallel. Imagine if one of those cells fails and becomes short circuited internally. You now have 73 very high power cells all feeding in to that short circuit...&lt;br /&gt;
&lt;br /&gt;
In fact, you don&#039;t have to imagine: you can watch this famous video instead (courtesy of Rich Rebuilds).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;youtube&amp;gt;WdDi1haA71Q&amp;lt;/youtube&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== OEM modules ==&lt;br /&gt;
Using an OEM module means a lot of the difficulties and safety issues associated with battery design are taken care of e.g. cooling, clamping, etc.&lt;br /&gt;
&lt;br /&gt;
Here is a handy list of OEM modules:&lt;br /&gt;
{| class=&amp;quot;wikitable sortable mw-collapsible&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!Manufacturer&lt;br /&gt;
!Type&lt;br /&gt;
!Capacity (kWh)&lt;br /&gt;
!Weight (kg)&lt;br /&gt;
!w (mm)&lt;br /&gt;
!d (mm)&lt;br /&gt;
!h (mm)&lt;br /&gt;
!Gravity (kg/kWh)&lt;br /&gt;
!Volume (L/kWh)&lt;br /&gt;
!Voltage (V)&lt;br /&gt;
!Current (cont A)&lt;br /&gt;
!Current (peak A)&lt;br /&gt;
!Cell arrangement&lt;br /&gt;
!Cell type&lt;br /&gt;
!Chemistry&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model S 85kWh&lt;br /&gt;
|5.3&lt;br /&gt;
|26&lt;br /&gt;
|690&lt;br /&gt;
|315&lt;br /&gt;
|80&lt;br /&gt;
|4.9&lt;br /&gt;
|3.3&lt;br /&gt;
|22.8&lt;br /&gt;
|500&lt;br /&gt;
|750&lt;br /&gt;
|74p6s&lt;br /&gt;
|18650&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model S 100kWh&lt;br /&gt;
|6.4&lt;br /&gt;
|28&lt;br /&gt;
|680&lt;br /&gt;
|315&lt;br /&gt;
|80&lt;br /&gt;
|4.4&lt;br /&gt;
|2.7&lt;br /&gt;
|22.8&lt;br /&gt;
|&lt;br /&gt;
|870&lt;br /&gt;
|86p6s&lt;br /&gt;
|18650&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Chevrolet&lt;br /&gt;
|Volt 2012&lt;br /&gt;
|4&lt;br /&gt;
|38&lt;br /&gt;
|470&lt;br /&gt;
|180&lt;br /&gt;
|280&lt;br /&gt;
|9.5&lt;br /&gt;
|5.9&lt;br /&gt;
|88&lt;br /&gt;
|140&lt;br /&gt;
|210&lt;br /&gt;
|24s&lt;br /&gt;
|Pouch&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|BMW&lt;br /&gt;
|i3 60Ah&lt;br /&gt;
|2&lt;br /&gt;
|13&lt;br /&gt;
|368&lt;br /&gt;
|178&lt;br /&gt;
|102&lt;br /&gt;
|6.5&lt;br /&gt;
|3.3&lt;br /&gt;
|28.8&lt;br /&gt;
|210&lt;br /&gt;
|350&lt;br /&gt;
|8s2p&lt;br /&gt;
|Prismatic&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|BMW&lt;br /&gt;
|i3 94Ah&lt;br /&gt;
|4.15&lt;br /&gt;
|28&lt;br /&gt;
|410&lt;br /&gt;
|310&lt;br /&gt;
|150&lt;br /&gt;
|6.7&lt;br /&gt;
|4.6&lt;br /&gt;
|45.6&lt;br /&gt;
|&lt;br /&gt;
|409&lt;br /&gt;
|12s&lt;br /&gt;
|Prismatic&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|BMW&lt;br /&gt;
|i3 120Ah&lt;br /&gt;
|5.3&lt;br /&gt;
|28&lt;br /&gt;
|410&lt;br /&gt;
|310&lt;br /&gt;
|150&lt;br /&gt;
|5.3&lt;br /&gt;
|3.6&lt;br /&gt;
|45.6&lt;br /&gt;
|&lt;br /&gt;
|360&lt;br /&gt;
|12s&lt;br /&gt;
|Prismatic&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Mitsubishi&lt;br /&gt;
|Outlander&lt;br /&gt;
|2.4&lt;br /&gt;
|26&lt;br /&gt;
|646&lt;br /&gt;
|184&lt;br /&gt;
|130&lt;br /&gt;
|10.8&lt;br /&gt;
|6.4&lt;br /&gt;
|60&lt;br /&gt;
|&lt;br /&gt;
|240&lt;br /&gt;
|16s&lt;br /&gt;
|&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Nissan&lt;br /&gt;
|Leaf 24kWh&lt;br /&gt;
|0.5&lt;br /&gt;
|3.65&lt;br /&gt;
|300&lt;br /&gt;
|222&lt;br /&gt;
|34&lt;br /&gt;
|7.3&lt;br /&gt;
|4.5&lt;br /&gt;
|7.4&lt;br /&gt;
|130&lt;br /&gt;
|&lt;br /&gt;
|2s2p&lt;br /&gt;
|&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Nissan&lt;br /&gt;
|Leaf 40kWh&lt;br /&gt;
|1.6&lt;br /&gt;
|8.7&lt;br /&gt;
|300&lt;br /&gt;
|222&lt;br /&gt;
|68&lt;br /&gt;
|5.4&lt;br /&gt;
|2.8&lt;br /&gt;
|14.6&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|4s2p&lt;br /&gt;
|&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Volvo&lt;br /&gt;
|XC90 T8&lt;br /&gt;
|2.01&lt;br /&gt;
|12.1&lt;br /&gt;
|300&lt;br /&gt;
|180&lt;br /&gt;
|150&lt;br /&gt;
|6.0&lt;br /&gt;
|4.0&lt;br /&gt;
|59.2&lt;br /&gt;
|170&lt;br /&gt;
|340&lt;br /&gt;
|16s&lt;br /&gt;
|&lt;br /&gt;
|Li-ion&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Clanger9</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Batteries&amp;diff=1171</id>
		<title>Batteries</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Batteries&amp;diff=1171"/>
		<updated>2020-11-30T21:54:00Z</updated>

		<summary type="html">&lt;p&gt;Clanger9: /* Volume (L) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
There are a wide variety of battery chemistries available for use as the main traction battery of an EV. To use each chemistry safely, and to ensure an adequate service life from the battery pack it is important to understand the requirements for the chemistry you are using. Failure to do so may lead to premature or catastrophic failure of the pack.&lt;br /&gt;
&lt;br /&gt;
Good pack design will allow for a nominal amount of abuse. People make mistakes and the pack should allow a margin for safety - and for longevity!&lt;br /&gt;
&lt;br /&gt;
== Battery pack specification ==&lt;br /&gt;
When deciding on your battery pack, here are some basic parameters to consider:&lt;br /&gt;
&lt;br /&gt;
=== Capacity (kWh) ===&lt;br /&gt;
&#039;&#039;&#039;How far do you want to go?&#039;&#039;&#039; A standard  car conversion will need around 1kWh for 3 miles of range. For a middleweight motorcycle, 1kWh should give around 9 miles. &#039;&#039;Your mileage may vary&#039;&#039;, as they say.&lt;br /&gt;
&lt;br /&gt;
=== Voltage (V) ===&lt;br /&gt;
&#039;&#039;&#039;How fast do you want to go?&#039;&#039;&#039; The pack voltage defines the maximum speed your motor can spin. Motors are usually specified with &amp;quot;KV&amp;quot; - or RPM-per-volt. Check the KV of your motor and how fast it needs to spin to get your desired top speed. e.g. if you need 3,000 RPM from a 25 KV motor then your pack voltage needs to be  3,000 / 25 = 120 V. The exact number of cells in series you need depends on the cell design, but 3.8 V for Li-ion and 3.2 V for LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; is a reasonable guess.&lt;br /&gt;
&lt;br /&gt;
=== Maximum current (A) ===&lt;br /&gt;
&#039;&#039;&#039;How quickly do you want to accelerate?&#039;&#039;&#039; Your motor&#039;s maximum power will be specified in kW. To estimate your maximum current draw, divide the peak power by the battery voltage. e.g. a 30 kW motor with a 120 V battery pack will pull 30,000 / 120 = 250 A. The higher the current rating of the cells, the heavier they will be for a given capacity. Ideally, you want &amp;quot;enough&amp;quot; current capacity for full throttle acceleration, but no more. You can put cells in parallel to double the current rating of your pack (which of course will half the voltage). &lt;br /&gt;
&lt;br /&gt;
=== Mass (kg) ===&lt;br /&gt;
&#039;&#039;&#039;Can your vehicle carry the weight?&#039;&#039;&#039; You&#039;ll need to keep the kerb weight within the original design limits. For a car, this could be a few hundred kg. For a motorcycle, likely less than 100 kg. This is a huge variable - and each new generation of battery tech seems to be a little lighter. For older EV or hybrid batteries, you can reckon on approximately 10 kg/kWh. Nissan Leaf batteries are relatively light (7.5 kg/kWh). With the latest technology (e.g. Kokam pouch cells or 18650s), you can get this down to 5-6 kg/kWh.&lt;br /&gt;
&lt;br /&gt;
=== Volume (L) ===&lt;br /&gt;
&#039;&#039;&#039;Will it fit?&#039;&#039;&#039; Batteries are bulky. They are getting smaller, but finding enough space might be your biggest challenge. You could be looking at over 5 L/kWh for older EV or hybrid batteries. For the latest technology (e.g. Kokam pouch cells or 18650s), you can get this down to 3 L/kWh.&lt;br /&gt;
&lt;br /&gt;
There is much, much more to battery design than this (e.g. maximum charge rate, terminations, cooling, clamping), but the above should help work out which options will or won&#039;t work for your project...&lt;br /&gt;
&lt;br /&gt;
== Cell chemistry ==&lt;br /&gt;
&lt;br /&gt;
=== Lithium Iron Phosphate (LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt;) ===&lt;br /&gt;
Lithium Iron Phosphate (also known as LFP, or LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt;) batteries offer a good compromise between safety, energy density and ease of use for DIY conversions. They are available in a number of formats, commonly pouch cells, prismatic cells and cylindrical cells.&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; pouch cells ====&lt;br /&gt;
The majority of this content is drawn from this thread: [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761&amp;amp;start=900 https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761] discussing the use of the A123 20Ah pouch cell. However, many of the general points apply equally to other similar pouch cells.&lt;br /&gt;
&lt;br /&gt;
===== General build requirements =====&lt;br /&gt;
Pouch cells are vulnerable to damage from debris, and must be held in compression (see the datasheet for your battery, but 10-12 psi is recommended for the A123 pouch cells as a guide). A rigid container capable of preventing damage and providing compression is therefore required. Be aware the cells expand and contract in use, so allowance for this must be included in the structure of the case.&lt;br /&gt;
&lt;br /&gt;
The pouch cells should be separated to prevent abrasion between cells, and also to avoid the development of hot spots. Prebuilt modules from A123 systems had thin foam sheets or heatsinks between each cell. Be sure to avoid any debris that could rub on the pouch surface, particularly if using recycled cells.&lt;br /&gt;
&lt;br /&gt;
Mylar, &#039;[https://www.americanmicroinc.com/fish-paper/ Fish paper]&#039; or a [https://www.rogerscorp.com/elastomeric-material-solutions/poron-industrial-polyurethanes compliant foam] may be appropriate materials to serve this purpose. This material should not be flammable. If the material is heat insulating, it is important to address thermal management.&lt;br /&gt;
&lt;br /&gt;
===== Compression =====&lt;br /&gt;
Compression is required to prevent premature failure of the cell. Without compression electrolyte will become unevenly distributed, causing current gradients in the cell and uneven heating. Local temperatures can become high enough to form gas formation leading to cells &#039;puffing up&#039; even when the pack is otherwise held within temperature and voltage constraints. This will be exacerbated in packs with otherwise poor thermal management. Compression forces gas generated to the margins of the cell, outside of the cell stack, minimising its effect cell performance. Gas in the middle cells will create a dead space which does not store or release energy.&lt;br /&gt;
&lt;br /&gt;
There is ~1% expansion through a discharge cycle. As the cell ages, the nominal cell thickness can grow by 3-5%. For A123 cells the ideal pressure is between 4 and 18psi with the ideal pressure being ~12psi. Maintaining 12psi can increase the life by 500 cycles over that of 4 or 18psi&lt;br /&gt;
&lt;br /&gt;
There is some suggestion that in uses where 1C is never exceeded compression &#039;&#039;may&#039;&#039; not be required.&lt;br /&gt;
&lt;br /&gt;
Highly rigid endplates with a mechanism to allow for a limited degree of expansion (e.g. steel bands) are considered an effective solution to this challenge.&lt;br /&gt;
&lt;br /&gt;
It should be noted that compression is a challenge specific to pouch cells. Cylindrical cells are designed to maintain their own compression within the cell&#039;s electrode stack by their design.&lt;br /&gt;
&lt;br /&gt;
This thread provides more information and experimentation relating to pack compression: &amp;lt;nowiki&amp;gt;https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=52244&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Pouch Cell Pack Design Examples =====&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;placeholder*&lt;br /&gt;
&lt;br /&gt;
===== Notes regarding recycled pouch cells =====&lt;br /&gt;
Pouch cells are somewhat fragile, and breaching the insulation is not difficult, especially in a cells removed from existing packs and repurposed. If the pouch has had their poly-layers compromised you may see a number of faults:&lt;br /&gt;
* Black spots around the perimeter of the cell indicate electrolyte leakage&lt;br /&gt;
* Voltage on the outside of the bag. Note that microvoltage between the pouch and the electrode is normal (and due to a capacitive effect).&lt;br /&gt;
While the majority of these cells should no longer be in the market, a significant number of faulty cells made it back into the &#039;greymarket&#039; in around 2013. These cells had misaligned tabs which can also lead to isolation failures between the tab and the pack. These cells should be avoided, particularly in high demand applications.&lt;br /&gt;
&lt;br /&gt;
===== Situations likely to cause pouch cell failure =====&lt;br /&gt;
&#039;&#039;Taken directly from [https://endless-sphere.com/forums/memberlist.php?mode=viewprofile&amp;amp;u=33107 wb9k]&#039;s post on endless sphere in the [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761 A123 thread]&#039;&#039;&lt;br /&gt;
# &#039;&#039;&#039;Overcharge&#039;&#039;&#039;. Any extended time above 3.8 Volts will generate enough heat and electrochemical activity to puff a cell, especially one that is improperly compressed.&lt;br /&gt;
# &#039;&#039;&#039;Overdischarge followed by charge&#039;&#039;&#039;. Any A123 cell that has been pulled low enough to come to rest at &amp;lt;300 mV should be immediately scrapped. The published number for that is 500 mV, but the real figure is closer to 300, so that&#039;s a &amp;quot;safety buffer&amp;quot; if you will. Below this Voltage, the Cu electrodes start to dissolve into the electrolyte. When charge is applied, the Cu forms dendrites that puncture the separator layer, forming an internal short in the cell. This can puff a cell in a hurry---the more charge current on tap, the worse it&#039;s prone to be.&lt;br /&gt;
# &#039;&#039;&#039;Driving a cell negative&#039;&#039;&#039;. I&#039;ve neglected to mention this before, but it is a possibility. I don&#039;t know much about the specific mechanism at this time.&lt;br /&gt;
# &#039;&#039;&#039;Malfunctioning or misinformed electronics&#039;&#039;&#039;. This is the most common cause of all of the above in my experience. At this stage of the game, it is critical for YOU to understand how your BMS functions on at least a cursory level. Choose your BMS very carefully and periodically verify that it is operating properly. They&#039;re not all created equal. Make sure V sense lines are securely connected and free of corrosion. Just because your BMS says there was never a problem doesn&#039;t necessarily make it so. Avoid harnesses or ribbon cables between multiple modules if possible--they are problematic wherever they are used in any mobile electronics.&lt;br /&gt;
# &#039;&#039;&#039;Exposure to or generation of sufficient heat&#039;&#039;&#039;. I don&#039;t know exactly at what temperature gas formation begins in the electrolyte, but we spec a max storage temp of 80 (or 85?) degrees C and I suspect this is the reason. The hotter, the puffier--to a point. This is why soldering tabs poses a real hazard to cell health. If you feel you must solder, sink or blow the heat away from the body of the cell. Use a big iron that can make sufficient local heat quickly, before the whole mass of the cell gets hot. You might even get the cell warm enough to melt separator if not careful.&lt;br /&gt;
# &#039;&#039;&#039;No compression, not enough compression, improperly distributed compression&#039;&#039;&#039;. This is a pack/module design issue. Apply 10, maybe 15 psi to your cell stack end to end and then band snugly and evenly. Use hard endplates of some sort--never wrap cells directly or allow their shape to become distorted. Protect all areas of the pouch from impact damage. This obviously does not apply to cylindrical cells.&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; prismatic cells ====&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;placeholder*&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; cylindrical cells ====&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;placeholder*&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; cell ageing ====&lt;br /&gt;
&#039;&#039;Derived (barely paraphrased) from [https://endless-sphere.com/forums/memberlist.php?mode=viewprofile&amp;amp;u=33107 wb9k]&#039;s post on endless sphere in the [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761 A123 thread]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Capacity loss is caused by the lithium that was available for storage becoming permanently plated on the cathode. Being unable to move within the cell it is no longer available to store energy. The impact of this plating is greater than the amount of lithium &#039;lost&#039; to plating because not only is the lithium no longer available, it is also preventing access to that part of the cathode meaning Li that can still move has to take a longer path to reach the cathode. Lithium plating is one cause of increased cell resistance (there are others), a sign of worsening cell health.&lt;br /&gt;
&lt;br /&gt;
There is no linear relationship between actual capacity loss and impedance rise. However some cell defects will also increase impedance.&lt;br /&gt;
&lt;br /&gt;
Increasing cell resistance may cause a number of symptoms which may be confused with [https://earthshipbiotecture.com/a-lithium-ion-battery-primer/ High Self Discharge.]&lt;br /&gt;
# Elevated Peukert Losses. As more energy per amount of current through the cell is lost as heat, the cells useable capacity decreases. So the apparent capacity loss is higher than the actual capacity loss of cycleable lithium. When used in low current applications (e.g. solar energy storage) the actual and apparent decrease in capacity will be small. In high current draw applications (like EV traction packs), the Peukert loss increases proportionally, so the apparent capacity loss increases much faster than the actual capacity loss.&lt;br /&gt;
# Greater voltage excursion under the same load. Due to increased cell resistancethe voltage will sag further under the same load than a cell in optimal condition. The inverse is also true, the voltage will be higher for the same amount of charging current applied. The cell will then rebound to a voltage further from the loaded and charging voltages. This, obviously, can look like high self discharge but is a different phenomenon.&lt;br /&gt;
# Absolute maximum current decrease.&lt;br /&gt;
Elevated impedance causes a more complex constellation of symptoms, some of which may be easy to confuse with High Self Discharge (HSD). Ohm&#039;s law (E=I/R) holds the key to understanding here.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1) Elevated Peukert losses.&#039;&#039;&#039; Because more energy per unit of current through the cell is lost as heat, less of the cell&#039;s capacity is actually USABLE. Thus, apparent capacity loss can be significantly greater than actual capacity loss caused by the loss of cycleable Li alone. In low current applications, the two numbers will be close together. In high current applications, Peukert losses increase in proportion, so apparent loss of capacity breaks further and further away from actual capacity loss as current increases.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2) Greater voltage excursion under the same load.&#039;&#039;&#039; Elevated resistance across the cell means that voltage will sag more under the same load than it did when the cell was healthier. Conversely, voltage will rise higher with the same amount of applied charge current than it did when it was healthier. At the same time, rebound/settling voltages will be further away from loaded/charging voltages. In other words, the cell will rebound to a voltage further away from loaded voltage, all else being equal. Similarly, voltage will settle farther from the charge voltage with the same charge applied. This can give the illusion of elevated self-discharge, but the phenomenon is actually not the same thing. Again, the greater the charge and load currents, the greater the effect becomes.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3) Absolute max current decreases.&#039;&#039;&#039; Because the cell&#039;s series resistance is elevated, the maximum possible current through the cell is decreased.&lt;br /&gt;
&lt;br /&gt;
Just to confuse things further, there can be many factors that lead to impedance rise. Some are related to Li plating, others are not.&lt;br /&gt;
&lt;br /&gt;
=== Lithium-ion ===&lt;br /&gt;
Lithium-ion (Li-ion) batteries have a greater energy density than Lithium Iron Phosphate batteries, but have more challenging needs to use safely. The ideal operating range of Li-ion batteries is between +15 and +45°C. The upper limit of temperature is particularly important as Li-ion batteries experience thermal runaway - an unstoppable chain reaction that can occur in milliseconds releasing the stored energy in the cell. This can produce temperatures of 400°C and a fire that is extremely difficult to put out. Thermal runaway can start as low as 60°C and becomes much more likely at 100°C&lt;br /&gt;
&lt;br /&gt;
Risk factors for thermal runaway:&lt;br /&gt;
* Short Circuits - either internally or externally&lt;br /&gt;
* Overcharging&lt;br /&gt;
* Excessive current draw or when charging&lt;br /&gt;
&lt;br /&gt;
==== Li-ion pouch cells ====&lt;br /&gt;
[https://kokam.com/cell Kokam] produce high-performance Li-ion pouch cells. These combine relative ease of use and pack construction with performance close to cylindrical cells. &lt;br /&gt;
&lt;br /&gt;
==== Li-ion 18650 and other cylindrical cells ====&lt;br /&gt;
Cylindrical cells are favoured by Tesla, and are probably the main reason why their cars achieve such excellent performance. They are light, compact, powerful and expensive. Unfortunately, cylindrical cells are  difficult (and potentially dangerous) to use in DIY conversions. There are two good reasons for this: thermal management and cell configuration.&lt;br /&gt;
&lt;br /&gt;
As stated above, Li-ion cells are prone to thermal runaway. So you need perfect battery and thermal management to ensure that no cell ever exceeds the critical voltage or temperature. If this happens, a cell can short-circuit internally, releasing a lot of energy - potentially explosively. Furthermore, the individual cells are small, so need to be arranged in parallel. In the case of the Tesla Model S 85kW pack, there are 74 cells in parallel. Imagine if one of those cells fails and becomes short circuited internally. You now have 73 very high power cells all feeding in to that short circuit...&lt;br /&gt;
&lt;br /&gt;
In fact, you don&#039;t have to imagine: you can watch this famous video instead (courtesy of Rich Rebuilds).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;youtube&amp;gt;WdDi1haA71Q&amp;lt;/youtube&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== OEM modules ==&lt;br /&gt;
Using an OEM module means a lot of the difficulties and safety issues associated with battery design are taken care of e.g. cooling, clamping, etc.&lt;br /&gt;
&lt;br /&gt;
Here is a handy list of OEM modules:&lt;br /&gt;
{| class=&amp;quot;wikitable sortable mw-collapsible&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!Manufacturer&lt;br /&gt;
!Type&lt;br /&gt;
!Capacity (kWh)&lt;br /&gt;
!Weight (kg)&lt;br /&gt;
!w (mm)&lt;br /&gt;
!d (mm)&lt;br /&gt;
!h (mm)&lt;br /&gt;
!Gravity (kg/kWh)&lt;br /&gt;
!Volume (L/kWh)&lt;br /&gt;
!Voltage (V)&lt;br /&gt;
!Current (cont A)&lt;br /&gt;
!Current (peak A)&lt;br /&gt;
!Cell arrangement&lt;br /&gt;
!Cell type&lt;br /&gt;
!Chemistry&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model S 85kWh&lt;br /&gt;
|5.3&lt;br /&gt;
|26&lt;br /&gt;
|690&lt;br /&gt;
|315&lt;br /&gt;
|80&lt;br /&gt;
|4.9&lt;br /&gt;
|3.3&lt;br /&gt;
|22.8&lt;br /&gt;
|500&lt;br /&gt;
|750&lt;br /&gt;
|74p6s&lt;br /&gt;
|18650&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model S 100kWh&lt;br /&gt;
|6.4&lt;br /&gt;
|28&lt;br /&gt;
|680&lt;br /&gt;
|315&lt;br /&gt;
|80&lt;br /&gt;
|4.4&lt;br /&gt;
|2.7&lt;br /&gt;
|22.8&lt;br /&gt;
|&lt;br /&gt;
|870&lt;br /&gt;
|86p6s&lt;br /&gt;
|18650&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Chevrolet&lt;br /&gt;
|Volt 2012&lt;br /&gt;
|4&lt;br /&gt;
|38&lt;br /&gt;
|470&lt;br /&gt;
|180&lt;br /&gt;
|280&lt;br /&gt;
|9.5&lt;br /&gt;
|5.9&lt;br /&gt;
|88&lt;br /&gt;
|140&lt;br /&gt;
|210&lt;br /&gt;
|24s&lt;br /&gt;
|Pouch&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|BMW&lt;br /&gt;
|i3 60Ah&lt;br /&gt;
|2&lt;br /&gt;
|13&lt;br /&gt;
|368&lt;br /&gt;
|178&lt;br /&gt;
|102&lt;br /&gt;
|6.5&lt;br /&gt;
|3.3&lt;br /&gt;
|28.8&lt;br /&gt;
|210&lt;br /&gt;
|350&lt;br /&gt;
|8s2p&lt;br /&gt;
|Prismatic&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|BMW&lt;br /&gt;
|i3 94Ah&lt;br /&gt;
|4.15&lt;br /&gt;
|28&lt;br /&gt;
|410&lt;br /&gt;
|310&lt;br /&gt;
|150&lt;br /&gt;
|6.7&lt;br /&gt;
|4.6&lt;br /&gt;
|45.6&lt;br /&gt;
|&lt;br /&gt;
|409&lt;br /&gt;
|12s&lt;br /&gt;
|Prismatic&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|BMW&lt;br /&gt;
|i3 120Ah&lt;br /&gt;
|5.3&lt;br /&gt;
|28&lt;br /&gt;
|410&lt;br /&gt;
|310&lt;br /&gt;
|150&lt;br /&gt;
|5.3&lt;br /&gt;
|3.6&lt;br /&gt;
|45.6&lt;br /&gt;
|&lt;br /&gt;
|360&lt;br /&gt;
|12s&lt;br /&gt;
|Prismatic&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Mitsubishi&lt;br /&gt;
|Outlander&lt;br /&gt;
|2.4&lt;br /&gt;
|26&lt;br /&gt;
|646&lt;br /&gt;
|184&lt;br /&gt;
|130&lt;br /&gt;
|10.8&lt;br /&gt;
|6.4&lt;br /&gt;
|60&lt;br /&gt;
|&lt;br /&gt;
|240&lt;br /&gt;
|16s&lt;br /&gt;
|&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Nissan&lt;br /&gt;
|Leaf 24kWh&lt;br /&gt;
|0.5&lt;br /&gt;
|3.65&lt;br /&gt;
|300&lt;br /&gt;
|222&lt;br /&gt;
|34&lt;br /&gt;
|7.3&lt;br /&gt;
|4.5&lt;br /&gt;
|7.4&lt;br /&gt;
|130&lt;br /&gt;
|&lt;br /&gt;
|2s2p&lt;br /&gt;
|&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Nissan&lt;br /&gt;
|Leaf 40kWh&lt;br /&gt;
|1.6&lt;br /&gt;
|8.7&lt;br /&gt;
|300&lt;br /&gt;
|222&lt;br /&gt;
|68&lt;br /&gt;
|5.4&lt;br /&gt;
|2.8&lt;br /&gt;
|14.6&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|4s2p&lt;br /&gt;
|&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Volvo&lt;br /&gt;
|XC90 T8&lt;br /&gt;
|2.01&lt;br /&gt;
|12.1&lt;br /&gt;
|300&lt;br /&gt;
|180&lt;br /&gt;
|150&lt;br /&gt;
|6.0&lt;br /&gt;
|4.0&lt;br /&gt;
|59.2&lt;br /&gt;
|170&lt;br /&gt;
|340&lt;br /&gt;
|16s&lt;br /&gt;
|&lt;br /&gt;
|Li-ion&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Clanger9</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Batteries&amp;diff=1170</id>
		<title>Batteries</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Batteries&amp;diff=1170"/>
		<updated>2020-11-30T21:43:43Z</updated>

		<summary type="html">&lt;p&gt;Clanger9: /* Li-ion 18650 and other cylindrical cells */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
There are a wide variety of battery chemistries available for use as the main traction battery of an EV. To use each chemistry safely, and to ensure an adequate service life from the battery pack it is important to understand the requirements for the chemistry you are using. Failure to do so may lead to premature or catastrophic failure of the pack.&lt;br /&gt;
&lt;br /&gt;
Good pack design will allow for a nominal amount of abuse. People make mistakes and the pack should allow a margin for safety - and for longevity!&lt;br /&gt;
&lt;br /&gt;
== Battery pack specification ==&lt;br /&gt;
When deciding on your battery pack, here are some basic parameters to consider:&lt;br /&gt;
&lt;br /&gt;
=== Capacity (kWh) ===&lt;br /&gt;
&#039;&#039;&#039;How far do you want to go?&#039;&#039;&#039; A standard  car conversion will need around 1kWh for 3 miles of range. For a middleweight motorcycle, 1kWh should give around 9 miles. &#039;&#039;Your mileage may vary&#039;&#039;, as they say.&lt;br /&gt;
&lt;br /&gt;
=== Voltage (V) ===&lt;br /&gt;
&#039;&#039;&#039;How fast do you want to go?&#039;&#039;&#039; The pack voltage defines the maximum speed your motor can spin. Motors are usually specified with &amp;quot;KV&amp;quot; - or RPM-per-volt. Check the KV of your motor and how fast it needs to spin to get your desired top speed. e.g. if you need 3,000 RPM from a 25 KV motor then your pack voltage needs to be  3,000 / 25 = 120 V. The exact number of cells in series you need depends on the cell design, but 3.8 V for Li-ion and 3.2 V for LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; is a reasonable guess.&lt;br /&gt;
&lt;br /&gt;
=== Maximum current (A) ===&lt;br /&gt;
&#039;&#039;&#039;How quickly do you want to accelerate?&#039;&#039;&#039; Your motor&#039;s maximum power will be specified in kW. To estimate your maximum current draw, divide the peak power by the battery voltage. e.g. a 30 kW motor with a 120 V battery pack will pull 30,000 / 120 = 250 A. The higher the current rating of the cells, the heavier they will be for a given capacity. Ideally, you want &amp;quot;enough&amp;quot; current capacity for full throttle acceleration, but no more. You can put cells in parallel to double the current rating of your pack (which of course will half the voltage). &lt;br /&gt;
&lt;br /&gt;
=== Mass (kg) ===&lt;br /&gt;
&#039;&#039;&#039;Can your vehicle carry the weight?&#039;&#039;&#039; You&#039;ll need to keep the kerb weight within the original design limits. For a car, this could be a few hundred kg. For a motorcycle, likely less than 100 kg. This is a huge variable - and each new generation of battery tech seems to be a little lighter. For older EV or hybrid batteries, you can reckon on approximately 10 kg/kWh. Nissan Leaf batteries are relatively light (7.5 kg/kWh). With the latest technology (e.g. Kokam pouch cells or 18650s), you can get this down to 5-6 kg/kWh.&lt;br /&gt;
&lt;br /&gt;
=== Volume (L) ===&lt;br /&gt;
&#039;&#039;&#039;Will it fit?&#039;&#039;&#039; Batteries are bulky. They are getting smaller, but finding enough space my be your biggest challenge. You could be looking at over 5 L/kWh for older EV or hybrid batteries. For the latest technology (e.g. Kokam pouch cells or 18650s), you can get this down to 3 kg/kWh.&lt;br /&gt;
&lt;br /&gt;
There is much, much more to battery design than this (e.g. maximum charge rate, terminations, cooling, clamping), but the above should help work out which options will or won&#039;t work for your project...&lt;br /&gt;
&lt;br /&gt;
== Cell chemistry ==&lt;br /&gt;
&lt;br /&gt;
=== Lithium Iron Phosphate (LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt;) ===&lt;br /&gt;
Lithium Iron Phosphate (also known as LFP, or LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt;) batteries offer a good compromise between safety, energy density and ease of use for DIY conversions. They are available in a number of formats, commonly pouch cells, prismatic cells and cylindrical cells.&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; pouch cells ====&lt;br /&gt;
The majority of this content is drawn from this thread: [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761&amp;amp;start=900 https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761] discussing the use of the A123 20Ah pouch cell. However, many of the general points apply equally to other similar pouch cells.&lt;br /&gt;
&lt;br /&gt;
===== General build requirements =====&lt;br /&gt;
Pouch cells are vulnerable to damage from debris, and must be held in compression (see the datasheet for your battery, but 10-12 psi is recommended for the A123 pouch cells as a guide). A rigid container capable of preventing damage and providing compression is therefore required. Be aware the cells expand and contract in use, so allowance for this must be included in the structure of the case.&lt;br /&gt;
&lt;br /&gt;
The pouch cells should be separated to prevent abrasion between cells, and also to avoid the development of hot spots. Prebuilt modules from A123 systems had thin foam sheets or heatsinks between each cell. Be sure to avoid any debris that could rub on the pouch surface, particularly if using recycled cells.&lt;br /&gt;
&lt;br /&gt;
Mylar, &#039;[https://www.americanmicroinc.com/fish-paper/ Fish paper]&#039; or a [https://www.rogerscorp.com/elastomeric-material-solutions/poron-industrial-polyurethanes compliant foam] may be appropriate materials to serve this purpose. This material should not be flammable. If the material is heat insulating, it is important to address thermal management.&lt;br /&gt;
&lt;br /&gt;
===== Compression =====&lt;br /&gt;
Compression is required to prevent premature failure of the cell. Without compression electrolyte will become unevenly distributed, causing current gradients in the cell and uneven heating. Local temperatures can become high enough to form gas formation leading to cells &#039;puffing up&#039; even when the pack is otherwise held within temperature and voltage constraints. This will be exacerbated in packs with otherwise poor thermal management. Compression forces gas generated to the margins of the cell, outside of the cell stack, minimising its effect cell performance. Gas in the middle cells will create a dead space which does not store or release energy.&lt;br /&gt;
&lt;br /&gt;
There is ~1% expansion through a discharge cycle. As the cell ages, the nominal cell thickness can grow by 3-5%. For A123 cells the ideal pressure is between 4 and 18psi with the ideal pressure being ~12psi. Maintaining 12psi can increase the life by 500 cycles over that of 4 or 18psi&lt;br /&gt;
&lt;br /&gt;
There is some suggestion that in uses where 1C is never exceeded compression &#039;&#039;may&#039;&#039; not be required.&lt;br /&gt;
&lt;br /&gt;
Highly rigid endplates with a mechanism to allow for a limited degree of expansion (e.g. steel bands) are considered an effective solution to this challenge.&lt;br /&gt;
&lt;br /&gt;
It should be noted that compression is a challenge specific to pouch cells. Cylindrical cells are designed to maintain their own compression within the cell&#039;s electrode stack by their design.&lt;br /&gt;
&lt;br /&gt;
This thread provides more information and experimentation relating to pack compression: &amp;lt;nowiki&amp;gt;https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=52244&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Pouch Cell Pack Design Examples =====&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;placeholder*&lt;br /&gt;
&lt;br /&gt;
===== Notes regarding recycled pouch cells =====&lt;br /&gt;
Pouch cells are somewhat fragile, and breaching the insulation is not difficult, especially in a cells removed from existing packs and repurposed. If the pouch has had their poly-layers compromised you may see a number of faults:&lt;br /&gt;
* Black spots around the perimeter of the cell indicate electrolyte leakage&lt;br /&gt;
* Voltage on the outside of the bag. Note that microvoltage between the pouch and the electrode is normal (and due to a capacitive effect).&lt;br /&gt;
While the majority of these cells should no longer be in the market, a significant number of faulty cells made it back into the &#039;greymarket&#039; in around 2013. These cells had misaligned tabs which can also lead to isolation failures between the tab and the pack. These cells should be avoided, particularly in high demand applications.&lt;br /&gt;
&lt;br /&gt;
===== Situations likely to cause pouch cell failure =====&lt;br /&gt;
&#039;&#039;Taken directly from [https://endless-sphere.com/forums/memberlist.php?mode=viewprofile&amp;amp;u=33107 wb9k]&#039;s post on endless sphere in the [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761 A123 thread]&#039;&#039;&lt;br /&gt;
# &#039;&#039;&#039;Overcharge&#039;&#039;&#039;. Any extended time above 3.8 Volts will generate enough heat and electrochemical activity to puff a cell, especially one that is improperly compressed.&lt;br /&gt;
# &#039;&#039;&#039;Overdischarge followed by charge&#039;&#039;&#039;. Any A123 cell that has been pulled low enough to come to rest at &amp;lt;300 mV should be immediately scrapped. The published number for that is 500 mV, but the real figure is closer to 300, so that&#039;s a &amp;quot;safety buffer&amp;quot; if you will. Below this Voltage, the Cu electrodes start to dissolve into the electrolyte. When charge is applied, the Cu forms dendrites that puncture the separator layer, forming an internal short in the cell. This can puff a cell in a hurry---the more charge current on tap, the worse it&#039;s prone to be.&lt;br /&gt;
# &#039;&#039;&#039;Driving a cell negative&#039;&#039;&#039;. I&#039;ve neglected to mention this before, but it is a possibility. I don&#039;t know much about the specific mechanism at this time.&lt;br /&gt;
# &#039;&#039;&#039;Malfunctioning or misinformed electronics&#039;&#039;&#039;. This is the most common cause of all of the above in my experience. At this stage of the game, it is critical for YOU to understand how your BMS functions on at least a cursory level. Choose your BMS very carefully and periodically verify that it is operating properly. They&#039;re not all created equal. Make sure V sense lines are securely connected and free of corrosion. Just because your BMS says there was never a problem doesn&#039;t necessarily make it so. Avoid harnesses or ribbon cables between multiple modules if possible--they are problematic wherever they are used in any mobile electronics.&lt;br /&gt;
# &#039;&#039;&#039;Exposure to or generation of sufficient heat&#039;&#039;&#039;. I don&#039;t know exactly at what temperature gas formation begins in the electrolyte, but we spec a max storage temp of 80 (or 85?) degrees C and I suspect this is the reason. The hotter, the puffier--to a point. This is why soldering tabs poses a real hazard to cell health. If you feel you must solder, sink or blow the heat away from the body of the cell. Use a big iron that can make sufficient local heat quickly, before the whole mass of the cell gets hot. You might even get the cell warm enough to melt separator if not careful.&lt;br /&gt;
# &#039;&#039;&#039;No compression, not enough compression, improperly distributed compression&#039;&#039;&#039;. This is a pack/module design issue. Apply 10, maybe 15 psi to your cell stack end to end and then band snugly and evenly. Use hard endplates of some sort--never wrap cells directly or allow their shape to become distorted. Protect all areas of the pouch from impact damage. This obviously does not apply to cylindrical cells.&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; prismatic cells ====&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;placeholder*&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; cylindrical cells ====&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;placeholder*&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; cell ageing ====&lt;br /&gt;
&#039;&#039;Derived (barely paraphrased) from [https://endless-sphere.com/forums/memberlist.php?mode=viewprofile&amp;amp;u=33107 wb9k]&#039;s post on endless sphere in the [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761 A123 thread]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Capacity loss is caused by the lithium that was available for storage becoming permanently plated on the cathode. Being unable to move within the cell it is no longer available to store energy. The impact of this plating is greater than the amount of lithium &#039;lost&#039; to plating because not only is the lithium no longer available, it is also preventing access to that part of the cathode meaning Li that can still move has to take a longer path to reach the cathode. Lithium plating is one cause of increased cell resistance (there are others), a sign of worsening cell health.&lt;br /&gt;
&lt;br /&gt;
There is no linear relationship between actual capacity loss and impedance rise. However some cell defects will also increase impedance.&lt;br /&gt;
&lt;br /&gt;
Increasing cell resistance may cause a number of symptoms which may be confused with [https://earthshipbiotecture.com/a-lithium-ion-battery-primer/ High Self Discharge.]&lt;br /&gt;
# Elevated Peukert Losses. As more energy per amount of current through the cell is lost as heat, the cells useable capacity decreases. So the apparent capacity loss is higher than the actual capacity loss of cycleable lithium. When used in low current applications (e.g. solar energy storage) the actual and apparent decrease in capacity will be small. In high current draw applications (like EV traction packs), the Peukert loss increases proportionally, so the apparent capacity loss increases much faster than the actual capacity loss.&lt;br /&gt;
# Greater voltage excursion under the same load. Due to increased cell resistancethe voltage will sag further under the same load than a cell in optimal condition. The inverse is also true, the voltage will be higher for the same amount of charging current applied. The cell will then rebound to a voltage further from the loaded and charging voltages. This, obviously, can look like high self discharge but is a different phenomenon.&lt;br /&gt;
# Absolute maximum current decrease.&lt;br /&gt;
Elevated impedance causes a more complex constellation of symptoms, some of which may be easy to confuse with High Self Discharge (HSD). Ohm&#039;s law (E=I/R) holds the key to understanding here.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1) Elevated Peukert losses.&#039;&#039;&#039; Because more energy per unit of current through the cell is lost as heat, less of the cell&#039;s capacity is actually USABLE. Thus, apparent capacity loss can be significantly greater than actual capacity loss caused by the loss of cycleable Li alone. In low current applications, the two numbers will be close together. In high current applications, Peukert losses increase in proportion, so apparent loss of capacity breaks further and further away from actual capacity loss as current increases.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2) Greater voltage excursion under the same load.&#039;&#039;&#039; Elevated resistance across the cell means that voltage will sag more under the same load than it did when the cell was healthier. Conversely, voltage will rise higher with the same amount of applied charge current than it did when it was healthier. At the same time, rebound/settling voltages will be further away from loaded/charging voltages. In other words, the cell will rebound to a voltage further away from loaded voltage, all else being equal. Similarly, voltage will settle farther from the charge voltage with the same charge applied. This can give the illusion of elevated self-discharge, but the phenomenon is actually not the same thing. Again, the greater the charge and load currents, the greater the effect becomes.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3) Absolute max current decreases.&#039;&#039;&#039; Because the cell&#039;s series resistance is elevated, the maximum possible current through the cell is decreased.&lt;br /&gt;
&lt;br /&gt;
Just to confuse things further, there can be many factors that lead to impedance rise. Some are related to Li plating, others are not.&lt;br /&gt;
&lt;br /&gt;
=== Lithium-ion ===&lt;br /&gt;
Lithium-ion (Li-ion) batteries have a greater energy density than Lithium Iron Phosphate batteries, but have more challenging needs to use safely. The ideal operating range of Li-ion batteries is between +15 and +45°C. The upper limit of temperature is particularly important as Li-ion batteries experience thermal runaway - an unstoppable chain reaction that can occur in milliseconds releasing the stored energy in the cell. This can produce temperatures of 400°C and a fire that is extremely difficult to put out. Thermal runaway can start as low as 60°C and becomes much more likely at 100°C&lt;br /&gt;
&lt;br /&gt;
Risk factors for thermal runaway:&lt;br /&gt;
* Short Circuits - either internally or externally&lt;br /&gt;
* Overcharging&lt;br /&gt;
* Excessive current draw or when charging&lt;br /&gt;
&lt;br /&gt;
==== Li-ion pouch cells ====&lt;br /&gt;
[https://kokam.com/cell Kokam] produce high-performance Li-ion pouch cells. These combine relative ease of use and pack construction with performance close to cylindrical cells. &lt;br /&gt;
&lt;br /&gt;
==== Li-ion 18650 and other cylindrical cells ====&lt;br /&gt;
Cylindrical cells are favoured by Tesla, and are probably the main reason why their cars achieve such excellent performance. They are light, compact, powerful and expensive. Unfortunately, cylindrical cells are  difficult (and potentially dangerous) to use in DIY conversions. There are two good reasons for this: thermal management and cell configuration.&lt;br /&gt;
&lt;br /&gt;
As stated above, Li-ion cells are prone to thermal runaway. So you need perfect battery and thermal management to ensure that no cell ever exceeds the critical voltage or temperature. If this happens, a cell can short-circuit internally, releasing a lot of energy - potentially explosively. Furthermore, the individual cells are small, so need to be arranged in parallel. In the case of the Tesla Model S 85kW pack, there are 74 cells in parallel. Imagine if one of those cells fails and becomes short circuited internally. You now have 73 very high power cells all feeding in to that short circuit...&lt;br /&gt;
&lt;br /&gt;
In fact, you don&#039;t have to imagine: you can watch this famous video instead (courtesy of Rich Rebuilds).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;youtube&amp;gt;WdDi1haA71Q&amp;lt;/youtube&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== OEM modules ==&lt;br /&gt;
Using an OEM module means a lot of the difficulties and safety issues associated with battery design are taken care of e.g. cooling, clamping, etc.&lt;br /&gt;
&lt;br /&gt;
Here is a handy list of OEM modules:&lt;br /&gt;
{| class=&amp;quot;wikitable sortable mw-collapsible&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!Manufacturer&lt;br /&gt;
!Type&lt;br /&gt;
!Capacity (kWh)&lt;br /&gt;
!Weight (kg)&lt;br /&gt;
!w (mm)&lt;br /&gt;
!d (mm)&lt;br /&gt;
!h (mm)&lt;br /&gt;
!Gravity (kg/kWh)&lt;br /&gt;
!Volume (L/kWh)&lt;br /&gt;
!Voltage (V)&lt;br /&gt;
!Current (cont A)&lt;br /&gt;
!Current (peak A)&lt;br /&gt;
!Cell arrangement&lt;br /&gt;
!Cell type&lt;br /&gt;
!Chemistry&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model S 85kWh&lt;br /&gt;
|5.3&lt;br /&gt;
|26&lt;br /&gt;
|690&lt;br /&gt;
|315&lt;br /&gt;
|80&lt;br /&gt;
|4.9&lt;br /&gt;
|3.3&lt;br /&gt;
|22.8&lt;br /&gt;
|500&lt;br /&gt;
|750&lt;br /&gt;
|74p6s&lt;br /&gt;
|18650&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model S 100kWh&lt;br /&gt;
|6.4&lt;br /&gt;
|28&lt;br /&gt;
|680&lt;br /&gt;
|315&lt;br /&gt;
|80&lt;br /&gt;
|4.4&lt;br /&gt;
|2.7&lt;br /&gt;
|22.8&lt;br /&gt;
|&lt;br /&gt;
|870&lt;br /&gt;
|86p6s&lt;br /&gt;
|18650&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Chevrolet&lt;br /&gt;
|Volt 2012&lt;br /&gt;
|4&lt;br /&gt;
|38&lt;br /&gt;
|470&lt;br /&gt;
|180&lt;br /&gt;
|280&lt;br /&gt;
|9.5&lt;br /&gt;
|5.9&lt;br /&gt;
|88&lt;br /&gt;
|140&lt;br /&gt;
|210&lt;br /&gt;
|24s&lt;br /&gt;
|Pouch&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|BMW&lt;br /&gt;
|i3 60Ah&lt;br /&gt;
|2&lt;br /&gt;
|13&lt;br /&gt;
|368&lt;br /&gt;
|178&lt;br /&gt;
|102&lt;br /&gt;
|6.5&lt;br /&gt;
|3.3&lt;br /&gt;
|28.8&lt;br /&gt;
|210&lt;br /&gt;
|350&lt;br /&gt;
|8s2p&lt;br /&gt;
|Prismatic&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|BMW&lt;br /&gt;
|i3 94Ah&lt;br /&gt;
|4.15&lt;br /&gt;
|28&lt;br /&gt;
|410&lt;br /&gt;
|310&lt;br /&gt;
|150&lt;br /&gt;
|6.7&lt;br /&gt;
|4.6&lt;br /&gt;
|45.6&lt;br /&gt;
|&lt;br /&gt;
|409&lt;br /&gt;
|12s&lt;br /&gt;
|Prismatic&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|BMW&lt;br /&gt;
|i3 120Ah&lt;br /&gt;
|5.3&lt;br /&gt;
|28&lt;br /&gt;
|410&lt;br /&gt;
|310&lt;br /&gt;
|150&lt;br /&gt;
|5.3&lt;br /&gt;
|3.6&lt;br /&gt;
|45.6&lt;br /&gt;
|&lt;br /&gt;
|360&lt;br /&gt;
|12s&lt;br /&gt;
|Prismatic&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Mitsubishi&lt;br /&gt;
|Outlander&lt;br /&gt;
|2.4&lt;br /&gt;
|26&lt;br /&gt;
|646&lt;br /&gt;
|184&lt;br /&gt;
|130&lt;br /&gt;
|10.8&lt;br /&gt;
|6.4&lt;br /&gt;
|60&lt;br /&gt;
|&lt;br /&gt;
|240&lt;br /&gt;
|16s&lt;br /&gt;
|&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Nissan&lt;br /&gt;
|Leaf 24kWh&lt;br /&gt;
|0.5&lt;br /&gt;
|3.65&lt;br /&gt;
|300&lt;br /&gt;
|222&lt;br /&gt;
|34&lt;br /&gt;
|7.3&lt;br /&gt;
|4.5&lt;br /&gt;
|7.4&lt;br /&gt;
|130&lt;br /&gt;
|&lt;br /&gt;
|2s2p&lt;br /&gt;
|&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Nissan&lt;br /&gt;
|Leaf 40kWh&lt;br /&gt;
|1.6&lt;br /&gt;
|8.7&lt;br /&gt;
|300&lt;br /&gt;
|222&lt;br /&gt;
|68&lt;br /&gt;
|5.4&lt;br /&gt;
|2.8&lt;br /&gt;
|14.6&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|4s2p&lt;br /&gt;
|&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Volvo&lt;br /&gt;
|XC90 T8&lt;br /&gt;
|2.01&lt;br /&gt;
|12.1&lt;br /&gt;
|300&lt;br /&gt;
|180&lt;br /&gt;
|150&lt;br /&gt;
|6.0&lt;br /&gt;
|4.0&lt;br /&gt;
|59.2&lt;br /&gt;
|170&lt;br /&gt;
|340&lt;br /&gt;
|16s&lt;br /&gt;
|&lt;br /&gt;
|Li-ion&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Clanger9</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Batteries&amp;diff=1169</id>
		<title>Batteries</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Batteries&amp;diff=1169"/>
		<updated>2020-11-30T21:42:22Z</updated>

		<summary type="html">&lt;p&gt;Clanger9: /* Li-ion 18650 and other cylindrical cells */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
There are a wide variety of battery chemistries available for use as the main traction battery of an EV. To use each chemistry safely, and to ensure an adequate service life from the battery pack it is important to understand the requirements for the chemistry you are using. Failure to do so may lead to premature or catastrophic failure of the pack.&lt;br /&gt;
&lt;br /&gt;
Good pack design will allow for a nominal amount of abuse. People make mistakes and the pack should allow a margin for safety - and for longevity!&lt;br /&gt;
&lt;br /&gt;
== Battery pack specification ==&lt;br /&gt;
When deciding on your battery pack, here are some basic parameters to consider:&lt;br /&gt;
&lt;br /&gt;
=== Capacity (kWh) ===&lt;br /&gt;
&#039;&#039;&#039;How far do you want to go?&#039;&#039;&#039; A standard  car conversion will need around 1kWh for 3 miles of range. For a middleweight motorcycle, 1kWh should give around 9 miles. &#039;&#039;Your mileage may vary&#039;&#039;, as they say.&lt;br /&gt;
&lt;br /&gt;
=== Voltage (V) ===&lt;br /&gt;
&#039;&#039;&#039;How fast do you want to go?&#039;&#039;&#039; The pack voltage defines the maximum speed your motor can spin. Motors are usually specified with &amp;quot;KV&amp;quot; - or RPM-per-volt. Check the KV of your motor and how fast it needs to spin to get your desired top speed. e.g. if you need 3,000 RPM from a 25 KV motor then your pack voltage needs to be  3,000 / 25 = 120 V. The exact number of cells in series you need depends on the cell design, but 3.8 V for Li-ion and 3.2 V for LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; is a reasonable guess.&lt;br /&gt;
&lt;br /&gt;
=== Maximum current (A) ===&lt;br /&gt;
&#039;&#039;&#039;How quickly do you want to accelerate?&#039;&#039;&#039; Your motor&#039;s maximum power will be specified in kW. To estimate your maximum current draw, divide the peak power by the battery voltage. e.g. a 30 kW motor with a 120 V battery pack will pull 30,000 / 120 = 250 A. The higher the current rating of the cells, the heavier they will be for a given capacity. Ideally, you want &amp;quot;enough&amp;quot; current capacity for full throttle acceleration, but no more. You can put cells in parallel to double the current rating of your pack (which of course will half the voltage). &lt;br /&gt;
&lt;br /&gt;
=== Mass (kg) ===&lt;br /&gt;
&#039;&#039;&#039;Can your vehicle carry the weight?&#039;&#039;&#039; You&#039;ll need to keep the kerb weight within the original design limits. For a car, this could be a few hundred kg. For a motorcycle, likely less than 100 kg. This is a huge variable - and each new generation of battery tech seems to be a little lighter. For older EV or hybrid batteries, you can reckon on approximately 10 kg/kWh. Nissan Leaf batteries are relatively light (7.5 kg/kWh). With the latest technology (e.g. Kokam pouch cells or 18650s), you can get this down to 5-6 kg/kWh.&lt;br /&gt;
&lt;br /&gt;
=== Volume (L) ===&lt;br /&gt;
&#039;&#039;&#039;Will it fit?&#039;&#039;&#039; Batteries are bulky. They are getting smaller, but finding enough space my be your biggest challenge. You could be looking at over 5 L/kWh for older EV or hybrid batteries. For the latest technology (e.g. Kokam pouch cells or 18650s), you can get this down to 3 kg/kWh.&lt;br /&gt;
&lt;br /&gt;
There is much, much more to battery design than this (e.g. maximum charge rate, terminations, cooling, clamping), but the above should help work out which options will or won&#039;t work for your project...&lt;br /&gt;
&lt;br /&gt;
== Cell chemistry ==&lt;br /&gt;
&lt;br /&gt;
=== Lithium Iron Phosphate (LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt;) ===&lt;br /&gt;
Lithium Iron Phosphate (also known as LFP, or LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt;) batteries offer a good compromise between safety, energy density and ease of use for DIY conversions. They are available in a number of formats, commonly pouch cells, prismatic cells and cylindrical cells.&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; pouch cells ====&lt;br /&gt;
The majority of this content is drawn from this thread: [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761&amp;amp;start=900 https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761] discussing the use of the A123 20Ah pouch cell. However, many of the general points apply equally to other similar pouch cells.&lt;br /&gt;
&lt;br /&gt;
===== General build requirements =====&lt;br /&gt;
Pouch cells are vulnerable to damage from debris, and must be held in compression (see the datasheet for your battery, but 10-12 psi is recommended for the A123 pouch cells as a guide). A rigid container capable of preventing damage and providing compression is therefore required. Be aware the cells expand and contract in use, so allowance for this must be included in the structure of the case.&lt;br /&gt;
&lt;br /&gt;
The pouch cells should be separated to prevent abrasion between cells, and also to avoid the development of hot spots. Prebuilt modules from A123 systems had thin foam sheets or heatsinks between each cell. Be sure to avoid any debris that could rub on the pouch surface, particularly if using recycled cells.&lt;br /&gt;
&lt;br /&gt;
Mylar, &#039;[https://www.americanmicroinc.com/fish-paper/ Fish paper]&#039; or a [https://www.rogerscorp.com/elastomeric-material-solutions/poron-industrial-polyurethanes compliant foam] may be appropriate materials to serve this purpose. This material should not be flammable. If the material is heat insulating, it is important to address thermal management.&lt;br /&gt;
&lt;br /&gt;
===== Compression =====&lt;br /&gt;
Compression is required to prevent premature failure of the cell. Without compression electrolyte will become unevenly distributed, causing current gradients in the cell and uneven heating. Local temperatures can become high enough to form gas formation leading to cells &#039;puffing up&#039; even when the pack is otherwise held within temperature and voltage constraints. This will be exacerbated in packs with otherwise poor thermal management. Compression forces gas generated to the margins of the cell, outside of the cell stack, minimising its effect cell performance. Gas in the middle cells will create a dead space which does not store or release energy.&lt;br /&gt;
&lt;br /&gt;
There is ~1% expansion through a discharge cycle. As the cell ages, the nominal cell thickness can grow by 3-5%. For A123 cells the ideal pressure is between 4 and 18psi with the ideal pressure being ~12psi. Maintaining 12psi can increase the life by 500 cycles over that of 4 or 18psi&lt;br /&gt;
&lt;br /&gt;
There is some suggestion that in uses where 1C is never exceeded compression &#039;&#039;may&#039;&#039; not be required.&lt;br /&gt;
&lt;br /&gt;
Highly rigid endplates with a mechanism to allow for a limited degree of expansion (e.g. steel bands) are considered an effective solution to this challenge.&lt;br /&gt;
&lt;br /&gt;
It should be noted that compression is a challenge specific to pouch cells. Cylindrical cells are designed to maintain their own compression within the cell&#039;s electrode stack by their design.&lt;br /&gt;
&lt;br /&gt;
This thread provides more information and experimentation relating to pack compression: &amp;lt;nowiki&amp;gt;https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=52244&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Pouch Cell Pack Design Examples =====&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;placeholder*&lt;br /&gt;
&lt;br /&gt;
===== Notes regarding recycled pouch cells =====&lt;br /&gt;
Pouch cells are somewhat fragile, and breaching the insulation is not difficult, especially in a cells removed from existing packs and repurposed. If the pouch has had their poly-layers compromised you may see a number of faults:&lt;br /&gt;
* Black spots around the perimeter of the cell indicate electrolyte leakage&lt;br /&gt;
* Voltage on the outside of the bag. Note that microvoltage between the pouch and the electrode is normal (and due to a capacitive effect).&lt;br /&gt;
While the majority of these cells should no longer be in the market, a significant number of faulty cells made it back into the &#039;greymarket&#039; in around 2013. These cells had misaligned tabs which can also lead to isolation failures between the tab and the pack. These cells should be avoided, particularly in high demand applications.&lt;br /&gt;
&lt;br /&gt;
===== Situations likely to cause pouch cell failure =====&lt;br /&gt;
&#039;&#039;Taken directly from [https://endless-sphere.com/forums/memberlist.php?mode=viewprofile&amp;amp;u=33107 wb9k]&#039;s post on endless sphere in the [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761 A123 thread]&#039;&#039;&lt;br /&gt;
# &#039;&#039;&#039;Overcharge&#039;&#039;&#039;. Any extended time above 3.8 Volts will generate enough heat and electrochemical activity to puff a cell, especially one that is improperly compressed.&lt;br /&gt;
# &#039;&#039;&#039;Overdischarge followed by charge&#039;&#039;&#039;. Any A123 cell that has been pulled low enough to come to rest at &amp;lt;300 mV should be immediately scrapped. The published number for that is 500 mV, but the real figure is closer to 300, so that&#039;s a &amp;quot;safety buffer&amp;quot; if you will. Below this Voltage, the Cu electrodes start to dissolve into the electrolyte. When charge is applied, the Cu forms dendrites that puncture the separator layer, forming an internal short in the cell. This can puff a cell in a hurry---the more charge current on tap, the worse it&#039;s prone to be.&lt;br /&gt;
# &#039;&#039;&#039;Driving a cell negative&#039;&#039;&#039;. I&#039;ve neglected to mention this before, but it is a possibility. I don&#039;t know much about the specific mechanism at this time.&lt;br /&gt;
# &#039;&#039;&#039;Malfunctioning or misinformed electronics&#039;&#039;&#039;. This is the most common cause of all of the above in my experience. At this stage of the game, it is critical for YOU to understand how your BMS functions on at least a cursory level. Choose your BMS very carefully and periodically verify that it is operating properly. They&#039;re not all created equal. Make sure V sense lines are securely connected and free of corrosion. Just because your BMS says there was never a problem doesn&#039;t necessarily make it so. Avoid harnesses or ribbon cables between multiple modules if possible--they are problematic wherever they are used in any mobile electronics.&lt;br /&gt;
# &#039;&#039;&#039;Exposure to or generation of sufficient heat&#039;&#039;&#039;. I don&#039;t know exactly at what temperature gas formation begins in the electrolyte, but we spec a max storage temp of 80 (or 85?) degrees C and I suspect this is the reason. The hotter, the puffier--to a point. This is why soldering tabs poses a real hazard to cell health. If you feel you must solder, sink or blow the heat away from the body of the cell. Use a big iron that can make sufficient local heat quickly, before the whole mass of the cell gets hot. You might even get the cell warm enough to melt separator if not careful.&lt;br /&gt;
# &#039;&#039;&#039;No compression, not enough compression, improperly distributed compression&#039;&#039;&#039;. This is a pack/module design issue. Apply 10, maybe 15 psi to your cell stack end to end and then band snugly and evenly. Use hard endplates of some sort--never wrap cells directly or allow their shape to become distorted. Protect all areas of the pouch from impact damage. This obviously does not apply to cylindrical cells.&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; prismatic cells ====&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;placeholder*&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; cylindrical cells ====&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;placeholder*&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; cell ageing ====&lt;br /&gt;
&#039;&#039;Derived (barely paraphrased) from [https://endless-sphere.com/forums/memberlist.php?mode=viewprofile&amp;amp;u=33107 wb9k]&#039;s post on endless sphere in the [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761 A123 thread]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Capacity loss is caused by the lithium that was available for storage becoming permanently plated on the cathode. Being unable to move within the cell it is no longer available to store energy. The impact of this plating is greater than the amount of lithium &#039;lost&#039; to plating because not only is the lithium no longer available, it is also preventing access to that part of the cathode meaning Li that can still move has to take a longer path to reach the cathode. Lithium plating is one cause of increased cell resistance (there are others), a sign of worsening cell health.&lt;br /&gt;
&lt;br /&gt;
There is no linear relationship between actual capacity loss and impedance rise. However some cell defects will also increase impedance.&lt;br /&gt;
&lt;br /&gt;
Increasing cell resistance may cause a number of symptoms which may be confused with [https://earthshipbiotecture.com/a-lithium-ion-battery-primer/ High Self Discharge.]&lt;br /&gt;
# Elevated Peukert Losses. As more energy per amount of current through the cell is lost as heat, the cells useable capacity decreases. So the apparent capacity loss is higher than the actual capacity loss of cycleable lithium. When used in low current applications (e.g. solar energy storage) the actual and apparent decrease in capacity will be small. In high current draw applications (like EV traction packs), the Peukert loss increases proportionally, so the apparent capacity loss increases much faster than the actual capacity loss.&lt;br /&gt;
# Greater voltage excursion under the same load. Due to increased cell resistancethe voltage will sag further under the same load than a cell in optimal condition. The inverse is also true, the voltage will be higher for the same amount of charging current applied. The cell will then rebound to a voltage further from the loaded and charging voltages. This, obviously, can look like high self discharge but is a different phenomenon.&lt;br /&gt;
# Absolute maximum current decrease.&lt;br /&gt;
Elevated impedance causes a more complex constellation of symptoms, some of which may be easy to confuse with High Self Discharge (HSD). Ohm&#039;s law (E=I/R) holds the key to understanding here.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1) Elevated Peukert losses.&#039;&#039;&#039; Because more energy per unit of current through the cell is lost as heat, less of the cell&#039;s capacity is actually USABLE. Thus, apparent capacity loss can be significantly greater than actual capacity loss caused by the loss of cycleable Li alone. In low current applications, the two numbers will be close together. In high current applications, Peukert losses increase in proportion, so apparent loss of capacity breaks further and further away from actual capacity loss as current increases.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2) Greater voltage excursion under the same load.&#039;&#039;&#039; Elevated resistance across the cell means that voltage will sag more under the same load than it did when the cell was healthier. Conversely, voltage will rise higher with the same amount of applied charge current than it did when it was healthier. At the same time, rebound/settling voltages will be further away from loaded/charging voltages. In other words, the cell will rebound to a voltage further away from loaded voltage, all else being equal. Similarly, voltage will settle farther from the charge voltage with the same charge applied. This can give the illusion of elevated self-discharge, but the phenomenon is actually not the same thing. Again, the greater the charge and load currents, the greater the effect becomes.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3) Absolute max current decreases.&#039;&#039;&#039; Because the cell&#039;s series resistance is elevated, the maximum possible current through the cell is decreased.&lt;br /&gt;
&lt;br /&gt;
Just to confuse things further, there can be many factors that lead to impedance rise. Some are related to Li plating, others are not.&lt;br /&gt;
&lt;br /&gt;
=== Lithium-ion ===&lt;br /&gt;
Lithium-ion (Li-ion) batteries have a greater energy density than Lithium Iron Phosphate batteries, but have more challenging needs to use safely. The ideal operating range of Li-ion batteries is between +15 and +45°C. The upper limit of temperature is particularly important as Li-ion batteries experience thermal runaway - an unstoppable chain reaction that can occur in milliseconds releasing the stored energy in the cell. This can produce temperatures of 400°C and a fire that is extremely difficult to put out. Thermal runaway can start as low as 60°C and becomes much more likely at 100°C&lt;br /&gt;
&lt;br /&gt;
Risk factors for thermal runaway:&lt;br /&gt;
* Short Circuits - either internally or externally&lt;br /&gt;
* Overcharging&lt;br /&gt;
* Excessive current draw or when charging&lt;br /&gt;
&lt;br /&gt;
==== Li-ion pouch cells ====&lt;br /&gt;
[https://kokam.com/cell Kokam] produce high-performance Li-ion pouch cells. These combine relative ease of use and pack construction with performance close to cylindrical cells. &lt;br /&gt;
&lt;br /&gt;
==== Li-ion 18650 and other cylindrical cells ====&lt;br /&gt;
Cylindrical cells are favoured by Tesla, and are probably the main reason why their cars achieve such excellent performance. They are light, compact, powerful and expensive. Unfortunately, cylindrical cells are staggeringly difficult (and dangerous) to use in DIY conversions. There are two good reasons for this: thermal management and cell configuration.&lt;br /&gt;
&lt;br /&gt;
As stated above, Li-ion cells are prone to thermal runaway. So you need perfect battery and thermal management to ensure that no cell ever exceeds the critical voltage or temperature. If this happens, a cell can short-circuit internally, releasing a lot of energy - potentially explosively. Furthermore, the individual cells are small, so need to be arranged in parallel. In the case of the Tesla Model S 85kW pack, there are 74 cells in parallel. Imagine if one of those cells fails and becomes short circuited internally. You now have 73 very high power cells all feeding in to that short circuit...&lt;br /&gt;
&lt;br /&gt;
In fact, you don&#039;t have to imagine: you can watch this famous video instead (courtesy of Rich Rebuilds).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;youtube&amp;gt;WdDi1haA71Q&amp;lt;/youtube&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== OEM modules ==&lt;br /&gt;
Using an OEM module means a lot of the difficulties associated with battery design are taken care of e.g. cooling, clamping, etc. Here is a list of OEM modules.&lt;br /&gt;
{| class=&amp;quot;wikitable sortable mw-collapsible&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!Manufacturer&lt;br /&gt;
!Type&lt;br /&gt;
!Capacity (kWh)&lt;br /&gt;
!Weight (kg)&lt;br /&gt;
!w (mm)&lt;br /&gt;
!d (mm)&lt;br /&gt;
!h (mm)&lt;br /&gt;
!Gravity (kg/kWh)&lt;br /&gt;
!Volume (L/kWh)&lt;br /&gt;
!Voltage (V)&lt;br /&gt;
!Current (cont A)&lt;br /&gt;
!Current (peak A)&lt;br /&gt;
!Cell arrangement&lt;br /&gt;
!Cell type&lt;br /&gt;
!Chemistry&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model S 85kWh&lt;br /&gt;
|5.3&lt;br /&gt;
|26&lt;br /&gt;
|690&lt;br /&gt;
|315&lt;br /&gt;
|80&lt;br /&gt;
|4.9&lt;br /&gt;
|3.3&lt;br /&gt;
|22.8&lt;br /&gt;
|500&lt;br /&gt;
|750&lt;br /&gt;
|74p6s&lt;br /&gt;
|18650&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model S 100kWh&lt;br /&gt;
|6.4&lt;br /&gt;
|28&lt;br /&gt;
|680&lt;br /&gt;
|315&lt;br /&gt;
|80&lt;br /&gt;
|4.4&lt;br /&gt;
|2.7&lt;br /&gt;
|22.8&lt;br /&gt;
|&lt;br /&gt;
|870&lt;br /&gt;
|86p6s&lt;br /&gt;
|18650&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Chevrolet&lt;br /&gt;
|Volt 2012&lt;br /&gt;
|4&lt;br /&gt;
|38&lt;br /&gt;
|470&lt;br /&gt;
|180&lt;br /&gt;
|280&lt;br /&gt;
|9.5&lt;br /&gt;
|5.9&lt;br /&gt;
|88&lt;br /&gt;
|140&lt;br /&gt;
|210&lt;br /&gt;
|24s&lt;br /&gt;
|Pouch&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|BMW&lt;br /&gt;
|i3 60Ah&lt;br /&gt;
|2&lt;br /&gt;
|13&lt;br /&gt;
|368&lt;br /&gt;
|178&lt;br /&gt;
|102&lt;br /&gt;
|6.5&lt;br /&gt;
|3.3&lt;br /&gt;
|28.8&lt;br /&gt;
|210&lt;br /&gt;
|350&lt;br /&gt;
|8s2p&lt;br /&gt;
|Prismatic&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|BMW&lt;br /&gt;
|i3 94Ah&lt;br /&gt;
|4.15&lt;br /&gt;
|28&lt;br /&gt;
|410&lt;br /&gt;
|310&lt;br /&gt;
|150&lt;br /&gt;
|6.7&lt;br /&gt;
|4.6&lt;br /&gt;
|45.6&lt;br /&gt;
|&lt;br /&gt;
|409&lt;br /&gt;
|12s&lt;br /&gt;
|Prismatic&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|BMW&lt;br /&gt;
|i3 120Ah&lt;br /&gt;
|5.3&lt;br /&gt;
|28&lt;br /&gt;
|410&lt;br /&gt;
|310&lt;br /&gt;
|150&lt;br /&gt;
|5.3&lt;br /&gt;
|3.6&lt;br /&gt;
|45.6&lt;br /&gt;
|&lt;br /&gt;
|360&lt;br /&gt;
|12s&lt;br /&gt;
|Prismatic&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Mitsubishi&lt;br /&gt;
|Outlander&lt;br /&gt;
|2.4&lt;br /&gt;
|26&lt;br /&gt;
|646&lt;br /&gt;
|184&lt;br /&gt;
|130&lt;br /&gt;
|10.8&lt;br /&gt;
|6.4&lt;br /&gt;
|60&lt;br /&gt;
|&lt;br /&gt;
|240&lt;br /&gt;
|16s&lt;br /&gt;
|&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Nissan&lt;br /&gt;
|Leaf 24kWh&lt;br /&gt;
|0.5&lt;br /&gt;
|3.65&lt;br /&gt;
|300&lt;br /&gt;
|222&lt;br /&gt;
|34&lt;br /&gt;
|7.3&lt;br /&gt;
|4.5&lt;br /&gt;
|7.4&lt;br /&gt;
|130&lt;br /&gt;
|&lt;br /&gt;
|2s2p&lt;br /&gt;
|&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Nissan&lt;br /&gt;
|Leaf 40kWh&lt;br /&gt;
|1.6&lt;br /&gt;
|8.7&lt;br /&gt;
|300&lt;br /&gt;
|222&lt;br /&gt;
|68&lt;br /&gt;
|5.4&lt;br /&gt;
|2.8&lt;br /&gt;
|14.6&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|4s2p&lt;br /&gt;
|&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Volvo&lt;br /&gt;
|XC90 T8&lt;br /&gt;
|2.01&lt;br /&gt;
|12.1&lt;br /&gt;
|300&lt;br /&gt;
|180&lt;br /&gt;
|150&lt;br /&gt;
|6.0&lt;br /&gt;
|4.0&lt;br /&gt;
|59.2&lt;br /&gt;
|170&lt;br /&gt;
|340&lt;br /&gt;
|16s&lt;br /&gt;
|&lt;br /&gt;
|Li-ion&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Clanger9</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Batteries&amp;diff=1168</id>
		<title>Batteries</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Batteries&amp;diff=1168"/>
		<updated>2020-11-30T21:39:31Z</updated>

		<summary type="html">&lt;p&gt;Clanger9: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
There are a wide variety of battery chemistries available for use as the main traction battery of an EV. To use each chemistry safely, and to ensure an adequate service life from the battery pack it is important to understand the requirements for the chemistry you are using. Failure to do so may lead to premature or catastrophic failure of the pack.&lt;br /&gt;
&lt;br /&gt;
Good pack design will allow for a nominal amount of abuse. People make mistakes and the pack should allow a margin for safety - and for longevity!&lt;br /&gt;
&lt;br /&gt;
== Battery pack specification ==&lt;br /&gt;
When deciding on your battery pack, here are some basic parameters to consider:&lt;br /&gt;
&lt;br /&gt;
=== Capacity (kWh) ===&lt;br /&gt;
&#039;&#039;&#039;How far do you want to go?&#039;&#039;&#039; A standard  car conversion will need around 1kWh for 3 miles of range. For a middleweight motorcycle, 1kWh should give around 9 miles. &#039;&#039;Your mileage may vary&#039;&#039;, as they say.&lt;br /&gt;
&lt;br /&gt;
=== Voltage (V) ===&lt;br /&gt;
&#039;&#039;&#039;How fast do you want to go?&#039;&#039;&#039; The pack voltage defines the maximum speed your motor can spin. Motors are usually specified with &amp;quot;KV&amp;quot; - or RPM-per-volt. Check the KV of your motor and how fast it needs to spin to get your desired top speed. e.g. if you need 3,000 RPM from a 25 KV motor then your pack voltage needs to be  3,000 / 25 = 120 V. The exact number of cells in series you need depends on the cell design, but 3.8 V for Li-ion and 3.2 V for LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; is a reasonable guess.&lt;br /&gt;
&lt;br /&gt;
=== Maximum current (A) ===&lt;br /&gt;
&#039;&#039;&#039;How quickly do you want to accelerate?&#039;&#039;&#039; Your motor&#039;s maximum power will be specified in kW. To estimate your maximum current draw, divide the peak power by the battery voltage. e.g. a 30 kW motor with a 120 V battery pack will pull 30,000 / 120 = 250 A. The higher the current rating of the cells, the heavier they will be for a given capacity. Ideally, you want &amp;quot;enough&amp;quot; current capacity for full throttle acceleration, but no more. You can put cells in parallel to double the current rating of your pack (which of course will half the voltage). &lt;br /&gt;
&lt;br /&gt;
=== Mass (kg) ===&lt;br /&gt;
&#039;&#039;&#039;Can your vehicle carry the weight?&#039;&#039;&#039; You&#039;ll need to keep the kerb weight within the original design limits. For a car, this could be a few hundred kg. For a motorcycle, likely less than 100 kg. This is a huge variable - and each new generation of battery tech seems to be a little lighter. For older EV or hybrid batteries, you can reckon on approximately 10 kg/kWh. Nissan Leaf batteries are relatively light (7.5 kg/kWh). With the latest technology (e.g. Kokam pouch cells or 18650s), you can get this down to 5-6 kg/kWh.&lt;br /&gt;
&lt;br /&gt;
=== Volume (L) ===&lt;br /&gt;
&#039;&#039;&#039;Will it fit?&#039;&#039;&#039; Batteries are bulky. They are getting smaller, but finding enough space my be your biggest challenge. You could be looking at over 5 L/kWh for older EV or hybrid batteries. For the latest technology (e.g. Kokam pouch cells or 18650s), you can get this down to 3 kg/kWh.&lt;br /&gt;
&lt;br /&gt;
There is much, much more to battery design than this (e.g. maximum charge rate, terminations, cooling, clamping), but the above should help work out which options will or won&#039;t work for your project...&lt;br /&gt;
&lt;br /&gt;
== Cell chemistry ==&lt;br /&gt;
&lt;br /&gt;
=== Lithium Iron Phosphate (LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt;) ===&lt;br /&gt;
Lithium Iron Phosphate (also known as LFP, or LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt;) batteries offer a good compromise between safety, energy density and ease of use for DIY conversions. They are available in a number of formats, commonly pouch cells, prismatic cells and cylindrical cells.&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; pouch cells ====&lt;br /&gt;
The majority of this content is drawn from this thread: [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761&amp;amp;start=900 https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761] discussing the use of the A123 20Ah pouch cell. However, many of the general points apply equally to other similar pouch cells.&lt;br /&gt;
&lt;br /&gt;
===== General build requirements =====&lt;br /&gt;
Pouch cells are vulnerable to damage from debris, and must be held in compression (see the datasheet for your battery, but 10-12 psi is recommended for the A123 pouch cells as a guide). A rigid container capable of preventing damage and providing compression is therefore required. Be aware the cells expand and contract in use, so allowance for this must be included in the structure of the case.&lt;br /&gt;
&lt;br /&gt;
The pouch cells should be separated to prevent abrasion between cells, and also to avoid the development of hot spots. Prebuilt modules from A123 systems had thin foam sheets or heatsinks between each cell. Be sure to avoid any debris that could rub on the pouch surface, particularly if using recycled cells.&lt;br /&gt;
&lt;br /&gt;
Mylar, &#039;[https://www.americanmicroinc.com/fish-paper/ Fish paper]&#039; or a [https://www.rogerscorp.com/elastomeric-material-solutions/poron-industrial-polyurethanes compliant foam] may be appropriate materials to serve this purpose. This material should not be flammable. If the material is heat insulating, it is important to address thermal management.&lt;br /&gt;
&lt;br /&gt;
===== Compression =====&lt;br /&gt;
Compression is required to prevent premature failure of the cell. Without compression electrolyte will become unevenly distributed, causing current gradients in the cell and uneven heating. Local temperatures can become high enough to form gas formation leading to cells &#039;puffing up&#039; even when the pack is otherwise held within temperature and voltage constraints. This will be exacerbated in packs with otherwise poor thermal management. Compression forces gas generated to the margins of the cell, outside of the cell stack, minimising its effect cell performance. Gas in the middle cells will create a dead space which does not store or release energy.&lt;br /&gt;
&lt;br /&gt;
There is ~1% expansion through a discharge cycle. As the cell ages, the nominal cell thickness can grow by 3-5%. For A123 cells the ideal pressure is between 4 and 18psi with the ideal pressure being ~12psi. Maintaining 12psi can increase the life by 500 cycles over that of 4 or 18psi&lt;br /&gt;
&lt;br /&gt;
There is some suggestion that in uses where 1C is never exceeded compression &#039;&#039;may&#039;&#039; not be required.&lt;br /&gt;
&lt;br /&gt;
Highly rigid endplates with a mechanism to allow for a limited degree of expansion (e.g. steel bands) are considered an effective solution to this challenge.&lt;br /&gt;
&lt;br /&gt;
It should be noted that compression is a challenge specific to pouch cells. Cylindrical cells are designed to maintain their own compression within the cell&#039;s electrode stack by their design.&lt;br /&gt;
&lt;br /&gt;
This thread provides more information and experimentation relating to pack compression: &amp;lt;nowiki&amp;gt;https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=52244&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Pouch Cell Pack Design Examples =====&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;placeholder*&lt;br /&gt;
&lt;br /&gt;
===== Notes regarding recycled pouch cells =====&lt;br /&gt;
Pouch cells are somewhat fragile, and breaching the insulation is not difficult, especially in a cells removed from existing packs and repurposed. If the pouch has had their poly-layers compromised you may see a number of faults:&lt;br /&gt;
* Black spots around the perimeter of the cell indicate electrolyte leakage&lt;br /&gt;
* Voltage on the outside of the bag. Note that microvoltage between the pouch and the electrode is normal (and due to a capacitive effect).&lt;br /&gt;
While the majority of these cells should no longer be in the market, a significant number of faulty cells made it back into the &#039;greymarket&#039; in around 2013. These cells had misaligned tabs which can also lead to isolation failures between the tab and the pack. These cells should be avoided, particularly in high demand applications.&lt;br /&gt;
&lt;br /&gt;
===== Situations likely to cause pouch cell failure =====&lt;br /&gt;
&#039;&#039;Taken directly from [https://endless-sphere.com/forums/memberlist.php?mode=viewprofile&amp;amp;u=33107 wb9k]&#039;s post on endless sphere in the [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761 A123 thread]&#039;&#039;&lt;br /&gt;
# &#039;&#039;&#039;Overcharge&#039;&#039;&#039;. Any extended time above 3.8 Volts will generate enough heat and electrochemical activity to puff a cell, especially one that is improperly compressed.&lt;br /&gt;
# &#039;&#039;&#039;Overdischarge followed by charge&#039;&#039;&#039;. Any A123 cell that has been pulled low enough to come to rest at &amp;lt;300 mV should be immediately scrapped. The published number for that is 500 mV, but the real figure is closer to 300, so that&#039;s a &amp;quot;safety buffer&amp;quot; if you will. Below this Voltage, the Cu electrodes start to dissolve into the electrolyte. When charge is applied, the Cu forms dendrites that puncture the separator layer, forming an internal short in the cell. This can puff a cell in a hurry---the more charge current on tap, the worse it&#039;s prone to be.&lt;br /&gt;
# &#039;&#039;&#039;Driving a cell negative&#039;&#039;&#039;. I&#039;ve neglected to mention this before, but it is a possibility. I don&#039;t know much about the specific mechanism at this time.&lt;br /&gt;
# &#039;&#039;&#039;Malfunctioning or misinformed electronics&#039;&#039;&#039;. This is the most common cause of all of the above in my experience. At this stage of the game, it is critical for YOU to understand how your BMS functions on at least a cursory level. Choose your BMS very carefully and periodically verify that it is operating properly. They&#039;re not all created equal. Make sure V sense lines are securely connected and free of corrosion. Just because your BMS says there was never a problem doesn&#039;t necessarily make it so. Avoid harnesses or ribbon cables between multiple modules if possible--they are problematic wherever they are used in any mobile electronics.&lt;br /&gt;
# &#039;&#039;&#039;Exposure to or generation of sufficient heat&#039;&#039;&#039;. I don&#039;t know exactly at what temperature gas formation begins in the electrolyte, but we spec a max storage temp of 80 (or 85?) degrees C and I suspect this is the reason. The hotter, the puffier--to a point. This is why soldering tabs poses a real hazard to cell health. If you feel you must solder, sink or blow the heat away from the body of the cell. Use a big iron that can make sufficient local heat quickly, before the whole mass of the cell gets hot. You might even get the cell warm enough to melt separator if not careful.&lt;br /&gt;
# &#039;&#039;&#039;No compression, not enough compression, improperly distributed compression&#039;&#039;&#039;. This is a pack/module design issue. Apply 10, maybe 15 psi to your cell stack end to end and then band snugly and evenly. Use hard endplates of some sort--never wrap cells directly or allow their shape to become distorted. Protect all areas of the pouch from impact damage. This obviously does not apply to cylindrical cells.&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; prismatic cells ====&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;placeholder*&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; cylindrical cells ====&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;placeholder*&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; cell ageing ====&lt;br /&gt;
&#039;&#039;Derived (barely paraphrased) from [https://endless-sphere.com/forums/memberlist.php?mode=viewprofile&amp;amp;u=33107 wb9k]&#039;s post on endless sphere in the [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761 A123 thread]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Capacity loss is caused by the lithium that was available for storage becoming permanently plated on the cathode. Being unable to move within the cell it is no longer available to store energy. The impact of this plating is greater than the amount of lithium &#039;lost&#039; to plating because not only is the lithium no longer available, it is also preventing access to that part of the cathode meaning Li that can still move has to take a longer path to reach the cathode. Lithium plating is one cause of increased cell resistance (there are others), a sign of worsening cell health.&lt;br /&gt;
&lt;br /&gt;
There is no linear relationship between actual capacity loss and impedance rise. However some cell defects will also increase impedance.&lt;br /&gt;
&lt;br /&gt;
Increasing cell resistance may cause a number of symptoms which may be confused with [https://earthshipbiotecture.com/a-lithium-ion-battery-primer/ High Self Discharge.]&lt;br /&gt;
# Elevated Peukert Losses. As more energy per amount of current through the cell is lost as heat, the cells useable capacity decreases. So the apparent capacity loss is higher than the actual capacity loss of cycleable lithium. When used in low current applications (e.g. solar energy storage) the actual and apparent decrease in capacity will be small. In high current draw applications (like EV traction packs), the Peukert loss increases proportionally, so the apparent capacity loss increases much faster than the actual capacity loss.&lt;br /&gt;
# Greater voltage excursion under the same load. Due to increased cell resistancethe voltage will sag further under the same load than a cell in optimal condition. The inverse is also true, the voltage will be higher for the same amount of charging current applied. The cell will then rebound to a voltage further from the loaded and charging voltages. This, obviously, can look like high self discharge but is a different phenomenon.&lt;br /&gt;
# Absolute maximum current decrease.&lt;br /&gt;
Elevated impedance causes a more complex constellation of symptoms, some of which may be easy to confuse with High Self Discharge (HSD). Ohm&#039;s law (E=I/R) holds the key to understanding here.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1) Elevated Peukert losses.&#039;&#039;&#039; Because more energy per unit of current through the cell is lost as heat, less of the cell&#039;s capacity is actually USABLE. Thus, apparent capacity loss can be significantly greater than actual capacity loss caused by the loss of cycleable Li alone. In low current applications, the two numbers will be close together. In high current applications, Peukert losses increase in proportion, so apparent loss of capacity breaks further and further away from actual capacity loss as current increases.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2) Greater voltage excursion under the same load.&#039;&#039;&#039; Elevated resistance across the cell means that voltage will sag more under the same load than it did when the cell was healthier. Conversely, voltage will rise higher with the same amount of applied charge current than it did when it was healthier. At the same time, rebound/settling voltages will be further away from loaded/charging voltages. In other words, the cell will rebound to a voltage further away from loaded voltage, all else being equal. Similarly, voltage will settle farther from the charge voltage with the same charge applied. This can give the illusion of elevated self-discharge, but the phenomenon is actually not the same thing. Again, the greater the charge and load currents, the greater the effect becomes.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3) Absolute max current decreases.&#039;&#039;&#039; Because the cell&#039;s series resistance is elevated, the maximum possible current through the cell is decreased.&lt;br /&gt;
&lt;br /&gt;
Just to confuse things further, there can be many factors that lead to impedance rise. Some are related to Li plating, others are not.&lt;br /&gt;
&lt;br /&gt;
=== Lithium-ion ===&lt;br /&gt;
Lithium-ion (Li-ion) batteries have a greater energy density than Lithium Iron Phosphate batteries, but have more challenging needs to use safely. The ideal operating range of Li-ion batteries is between +15 and +45°C. The upper limit of temperature is particularly important as Li-ion batteries experience thermal runaway - an unstoppable chain reaction that can occur in milliseconds releasing the stored energy in the cell. This can produce temperatures of 400°C and a fire that is extremely difficult to put out. Thermal runaway can start as low as 60°C and becomes much more likely at 100°C&lt;br /&gt;
&lt;br /&gt;
Risk factors for thermal runaway:&lt;br /&gt;
* Short Circuits - either internally or externally&lt;br /&gt;
* Overcharging&lt;br /&gt;
* Excessive current draw or when charging&lt;br /&gt;
&lt;br /&gt;
==== Li-ion pouch cells ====&lt;br /&gt;
[https://kokam.com/cell Kokam] produce high-performance Li-ion pouch cells. These combine relative ease of use and pack construction with performance close to cylindrical cells. &lt;br /&gt;
&lt;br /&gt;
==== Li-ion 18650 and other cylindrical cells ====&lt;br /&gt;
Cylindrical cells are favoured by Tesla, and are probably the main reason why their cars achieve such excellent performance. They are light, compact, powerful and expensive. Unfortunately, cylindrical cells are staggeringly difficult (and dangerous) to use in DIY conversions. There are two good reasons for this: thermal management and cell configuration.&lt;br /&gt;
&lt;br /&gt;
As stated above, Li-ion cells are prone to thermal runaway. So you need perfect battery and thermal management to ensure that no cell ever exceeds the critical voltage or temperature. If this happens, a cell can short-circuit internally, releasing a lot of energy - potentially explosively. Furthermore, the individual cells are small, so need to be arranged in parallel. In the case of the Tesla Model S, there are 74 cells in each parallel. Imagine if one of those cells fails and becomes short circuited internally. You now have 73 very high power cells in parallel feeding in to that short circuit...&lt;br /&gt;
&lt;br /&gt;
In fact, you don&#039;t have to imagine: you can watch this famous video instead (courtesy of Rich Rebuilds).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;youtube&amp;gt;WdDi1haA71Q&amp;lt;/youtube&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== OEM modules ==&lt;br /&gt;
Using an OEM module means a lot of the difficulties associated with battery design are taken care of e.g. cooling, clamping, etc. Here is a list of OEM modules.&lt;br /&gt;
{| class=&amp;quot;wikitable sortable mw-collapsible&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!Manufacturer&lt;br /&gt;
!Type&lt;br /&gt;
!Capacity (kWh)&lt;br /&gt;
!Weight (kg)&lt;br /&gt;
!w (mm)&lt;br /&gt;
!d (mm)&lt;br /&gt;
!h (mm)&lt;br /&gt;
!Gravity (kg/kWh)&lt;br /&gt;
!Volume (L/kWh)&lt;br /&gt;
!Voltage (V)&lt;br /&gt;
!Current (cont A)&lt;br /&gt;
!Current (peak A)&lt;br /&gt;
!Cell arrangement&lt;br /&gt;
!Cell type&lt;br /&gt;
!Chemistry&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model S 85kWh&lt;br /&gt;
|5.3&lt;br /&gt;
|26&lt;br /&gt;
|690&lt;br /&gt;
|315&lt;br /&gt;
|80&lt;br /&gt;
|4.9&lt;br /&gt;
|3.3&lt;br /&gt;
|22.8&lt;br /&gt;
|500&lt;br /&gt;
|750&lt;br /&gt;
|74p6s&lt;br /&gt;
|18650&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model S 100kWh&lt;br /&gt;
|6.4&lt;br /&gt;
|28&lt;br /&gt;
|680&lt;br /&gt;
|315&lt;br /&gt;
|80&lt;br /&gt;
|4.4&lt;br /&gt;
|2.7&lt;br /&gt;
|22.8&lt;br /&gt;
|&lt;br /&gt;
|870&lt;br /&gt;
|86p6s&lt;br /&gt;
|18650&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Chevrolet&lt;br /&gt;
|Volt 2012&lt;br /&gt;
|4&lt;br /&gt;
|38&lt;br /&gt;
|470&lt;br /&gt;
|180&lt;br /&gt;
|280&lt;br /&gt;
|9.5&lt;br /&gt;
|5.9&lt;br /&gt;
|88&lt;br /&gt;
|140&lt;br /&gt;
|210&lt;br /&gt;
|24s&lt;br /&gt;
|Pouch&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|BMW&lt;br /&gt;
|i3 60Ah&lt;br /&gt;
|2&lt;br /&gt;
|13&lt;br /&gt;
|368&lt;br /&gt;
|178&lt;br /&gt;
|102&lt;br /&gt;
|6.5&lt;br /&gt;
|3.3&lt;br /&gt;
|28.8&lt;br /&gt;
|210&lt;br /&gt;
|350&lt;br /&gt;
|8s2p&lt;br /&gt;
|Prismatic&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|BMW&lt;br /&gt;
|i3 94Ah&lt;br /&gt;
|4.15&lt;br /&gt;
|28&lt;br /&gt;
|410&lt;br /&gt;
|310&lt;br /&gt;
|150&lt;br /&gt;
|6.7&lt;br /&gt;
|4.6&lt;br /&gt;
|45.6&lt;br /&gt;
|&lt;br /&gt;
|409&lt;br /&gt;
|12s&lt;br /&gt;
|Prismatic&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|BMW&lt;br /&gt;
|i3 120Ah&lt;br /&gt;
|5.3&lt;br /&gt;
|28&lt;br /&gt;
|410&lt;br /&gt;
|310&lt;br /&gt;
|150&lt;br /&gt;
|5.3&lt;br /&gt;
|3.6&lt;br /&gt;
|45.6&lt;br /&gt;
|&lt;br /&gt;
|360&lt;br /&gt;
|12s&lt;br /&gt;
|Prismatic&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Mitsubishi&lt;br /&gt;
|Outlander&lt;br /&gt;
|2.4&lt;br /&gt;
|26&lt;br /&gt;
|646&lt;br /&gt;
|184&lt;br /&gt;
|130&lt;br /&gt;
|10.8&lt;br /&gt;
|6.4&lt;br /&gt;
|60&lt;br /&gt;
|&lt;br /&gt;
|240&lt;br /&gt;
|16s&lt;br /&gt;
|&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Nissan&lt;br /&gt;
|Leaf 24kWh&lt;br /&gt;
|0.5&lt;br /&gt;
|3.65&lt;br /&gt;
|300&lt;br /&gt;
|222&lt;br /&gt;
|34&lt;br /&gt;
|7.3&lt;br /&gt;
|4.5&lt;br /&gt;
|7.4&lt;br /&gt;
|130&lt;br /&gt;
|&lt;br /&gt;
|2s2p&lt;br /&gt;
|&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Nissan&lt;br /&gt;
|Leaf 40kWh&lt;br /&gt;
|1.6&lt;br /&gt;
|8.7&lt;br /&gt;
|300&lt;br /&gt;
|222&lt;br /&gt;
|68&lt;br /&gt;
|5.4&lt;br /&gt;
|2.8&lt;br /&gt;
|14.6&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|4s2p&lt;br /&gt;
|&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Volvo&lt;br /&gt;
|XC90 T8&lt;br /&gt;
|2.01&lt;br /&gt;
|12.1&lt;br /&gt;
|300&lt;br /&gt;
|180&lt;br /&gt;
|150&lt;br /&gt;
|6.0&lt;br /&gt;
|4.0&lt;br /&gt;
|59.2&lt;br /&gt;
|170&lt;br /&gt;
|340&lt;br /&gt;
|16s&lt;br /&gt;
|&lt;br /&gt;
|Li-ion&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Clanger9</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Batteries&amp;diff=1167</id>
		<title>Batteries</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Batteries&amp;diff=1167"/>
		<updated>2020-11-30T21:22:52Z</updated>

		<summary type="html">&lt;p&gt;Clanger9: /* OEM modules */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
There are a wide variety of battery chemistries available for use as the main traction battery of an EV. To use each chemistry safely, and to ensure an adequate service life from the battery pack it is important to understand the requirements for the chemistry you are using. Failure to do so may lead to premature or catastrophic failure of the pack.&lt;br /&gt;
&lt;br /&gt;
Good pack design will allow for a nominal amount of abuse. People make mistakes and the pack should allow a margin for safety - and for longevity!&lt;br /&gt;
&lt;br /&gt;
== Battery pack specification ==&lt;br /&gt;
When deciding on your battery pack, here are some basic parameters to consider:&lt;br /&gt;
&lt;br /&gt;
=== Capacity (kWh) ===&lt;br /&gt;
&#039;&#039;&#039;How far do you want to go?&#039;&#039;&#039; A standard  car conversion will need around 1kWh for 3 miles of range. For a middleweight motorcycle, 1kWh should give around 9 miles. &#039;&#039;Your mileage may vary&#039;&#039;, as they say.&lt;br /&gt;
&lt;br /&gt;
=== Voltage (V) ===&lt;br /&gt;
&#039;&#039;&#039;How fast do you want to go?&#039;&#039;&#039; The pack voltage defines the maximum speed your motor can spin. Motors are usually specified with &amp;quot;KV&amp;quot; - or RPM-per-volt. Check the KV of your motor and how fast it needs to spin to get your desired top speed. e.g. if you need 3,000 RPM from a 25 KV motor then your pack voltage needs to be  3,000 / 25 = 120 V. The exact number of cells in series you need depends on the cell design, but 3.8 V for Li-ion and 3.2 V for LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; is a reasonable guess.&lt;br /&gt;
&lt;br /&gt;
=== Maximum current (A) ===&lt;br /&gt;
&#039;&#039;&#039;How quickly do you want to accelerate?&#039;&#039;&#039; Your motor&#039;s maximum power will be specified in kW. To estimate your maximum current draw, divide the peak power by the battery voltage. e.g. a 30 kW motor with a 120 V battery pack will pull 30,000 / 120 = 250 A. The higher the current rating of the cells, the heavier they will be for a given capacity. Ideally, you want &amp;quot;enough&amp;quot; current capacity for full throttle acceleration, but no more. You can put cells in parallel to double the current rating of your pack (which of course will half the voltage). &lt;br /&gt;
&lt;br /&gt;
=== Mass (kg) ===&lt;br /&gt;
&#039;&#039;&#039;Can your vehicle carry the weight?&#039;&#039;&#039; You&#039;ll need to keep the kerb weight within the original design limits. For a car, this could be a few hundred kg. For a motorcycle, likely less than 100 kg. This is a huge variable - and each new generation of battery tech seems to be a little lighter. For older EV or hybrid batteries, you can reckon on approximately 10 kg/kWh. Nissan Leaf batteries are relatively light (7.5 kg/kWh). With the latest technology (e.g. Kokam pouch cells or 18650s), you can get this down to 5-6 kg/kWh.&lt;br /&gt;
&lt;br /&gt;
=== Volume (L) ===&lt;br /&gt;
&#039;&#039;&#039;Will it fit?&#039;&#039;&#039; Batteries are bulky. They are getting smaller, but finding enough space my be your biggest challenge. You could be looking at over 5 L/kWh for older EV or hybrid batteries. For the latest technology (e.g. Kokam pouch cells or 18650s), you can get this down to 3 kg/kWh.&lt;br /&gt;
&lt;br /&gt;
There is much, much more to battery design than this (e.g. maximum charge rate, terminations, cooling, clamping), but the above should help work out which options will or won&#039;t work for your project...&lt;br /&gt;
&lt;br /&gt;
== Cell chemistry ==&lt;br /&gt;
&lt;br /&gt;
=== Lithium Iron Phosphate (LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt;) ===&lt;br /&gt;
Lithium Iron Phosphate (also known as LFP, or LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt;) batteries offer a good compromise between safety, energy density and ease of use for DIY conversions. They are available in a number of formats, commonly pouch cells, prismatic cells and cylindrical cells.&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; pouch cells ====&lt;br /&gt;
The majority of this content is drawn from this thread: [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761&amp;amp;start=900 https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761] discussing the use of the A123 20Ah pouch cell. However, many of the general points apply equally to other similar pouch cells.&lt;br /&gt;
&lt;br /&gt;
===== General build requirements =====&lt;br /&gt;
Pouch cells are vulnerable to damage from debris, and must be held in compression (see the datasheet for your battery, but 10-12 psi is recommended for the A123 pouch cells as a guide). A rigid container capable of preventing damage and providing compression is therefore required. Be aware the cells expand and contract in use, so allowance for this must be included in the structure of the case.&lt;br /&gt;
&lt;br /&gt;
The pouch cells should be separated to prevent abrasion between cells, and also to avoid the development of hot spots. Prebuilt modules from A123 systems had thin foam sheets or heatsinks between each cell. Be sure to avoid any debris that could rub on the pouch surface, particularly if using recycled cells.&lt;br /&gt;
&lt;br /&gt;
Mylar, &#039;[https://www.americanmicroinc.com/fish-paper/ Fish paper]&#039; or a [https://www.rogerscorp.com/elastomeric-material-solutions/poron-industrial-polyurethanes compliant foam] may be appropriate materials to serve this purpose. This material should not be flammable. If the material is heat insulating, it is important to address thermal management.&lt;br /&gt;
&lt;br /&gt;
===== Compression =====&lt;br /&gt;
Compression is required to prevent premature failure of the cell. Without compression electrolyte will become unevenly distributed, causing current gradients in the cell and uneven heating. Local temperatures can become high enough to form gas formation leading to cells &#039;puffing up&#039; even when the pack is otherwise held within temperature and voltage constraints. This will be exacerbated in packs with otherwise poor thermal management. Compression forces gas generated to the margins of the cell, outside of the cell stack, minimising its effect cell performance. Gas in the middle cells will create a dead space which does not store or release energy.&lt;br /&gt;
&lt;br /&gt;
There is ~1% expansion through a discharge cycle. As the cell ages, the nominal cell thickness can grow by 3-5%. For A123 cells the ideal pressure is between 4 and 18psi with the ideal pressure being ~12psi. Maintaining 12psi can increase the life by 500 cycles over that of 4 or 18psi&lt;br /&gt;
&lt;br /&gt;
There is some suggestion that in uses where 1C is never exceeded compression &#039;&#039;may&#039;&#039; not be required.&lt;br /&gt;
&lt;br /&gt;
Highly rigid endplates with a mechanism to allow for a limited degree of expansion (e.g. steel bands) are considered an effective solution to this challenge.&lt;br /&gt;
&lt;br /&gt;
It should be noted that compression is a challenge specific to pouch cells. Cylindrical cells are designed to maintain their own compression within the cell&#039;s electrode stack by their design.&lt;br /&gt;
&lt;br /&gt;
This thread provides more information and experimentation relating to pack compression: &amp;lt;nowiki&amp;gt;https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=52244&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Pouch Cell Pack Design Examples =====&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;placeholder*&lt;br /&gt;
&lt;br /&gt;
===== Notes regarding recycled pouch cells =====&lt;br /&gt;
Pouch cells are somewhat fragile, and breaching the insulation is not difficult, especially in a cells removed from existing packs and repurposed. If the pouch has had their poly-layers compromised you may see a number of faults:&lt;br /&gt;
* Black spots around the perimeter of the cell indicate electrolyte leakage&lt;br /&gt;
* Voltage on the outside of the bag. Note that microvoltage between the pouch and the electrode is normal (and due to a capacitive effect).&lt;br /&gt;
While the majority of these cells should no longer be in the market, a significant number of faulty cells made it back into the &#039;greymarket&#039; in around 2013. These cells had misaligned tabs which can also lead to isolation failures between the tab and the pack. These cells should be avoided, particularly in high demand applications.&lt;br /&gt;
&lt;br /&gt;
===== Situations likely to cause pouch cell failure =====&lt;br /&gt;
&#039;&#039;Taken directly from [https://endless-sphere.com/forums/memberlist.php?mode=viewprofile&amp;amp;u=33107 wb9k]&#039;s post on endless sphere in the [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761 A123 thread]&#039;&#039;&lt;br /&gt;
# &#039;&#039;&#039;Overcharge&#039;&#039;&#039;. Any extended time above 3.8 Volts will generate enough heat and electrochemical activity to puff a cell, especially one that is improperly compressed.&lt;br /&gt;
# &#039;&#039;&#039;Overdischarge followed by charge&#039;&#039;&#039;. Any A123 cell that has been pulled low enough to come to rest at &amp;lt;300 mV should be immediately scrapped. The published number for that is 500 mV, but the real figure is closer to 300, so that&#039;s a &amp;quot;safety buffer&amp;quot; if you will. Below this Voltage, the Cu electrodes start to dissolve into the electrolyte. When charge is applied, the Cu forms dendrites that puncture the separator layer, forming an internal short in the cell. This can puff a cell in a hurry---the more charge current on tap, the worse it&#039;s prone to be.&lt;br /&gt;
# &#039;&#039;&#039;Driving a cell negative&#039;&#039;&#039;. I&#039;ve neglected to mention this before, but it is a possibility. I don&#039;t know much about the specific mechanism at this time.&lt;br /&gt;
# &#039;&#039;&#039;Malfunctioning or misinformed electronics&#039;&#039;&#039;. This is the most common cause of all of the above in my experience. At this stage of the game, it is critical for YOU to understand how your BMS functions on at least a cursory level. Choose your BMS very carefully and periodically verify that it is operating properly. They&#039;re not all created equal. Make sure V sense lines are securely connected and free of corrosion. Just because your BMS says there was never a problem doesn&#039;t necessarily make it so. Avoid harnesses or ribbon cables between multiple modules if possible--they are problematic wherever they are used in any mobile electronics.&lt;br /&gt;
# &#039;&#039;&#039;Exposure to or generation of sufficient heat&#039;&#039;&#039;. I don&#039;t know exactly at what temperature gas formation begins in the electrolyte, but we spec a max storage temp of 80 (or 85?) degrees C and I suspect this is the reason. The hotter, the puffier--to a point. This is why soldering tabs poses a real hazard to cell health. If you feel you must solder, sink or blow the heat away from the body of the cell. Use a big iron that can make sufficient local heat quickly, before the whole mass of the cell gets hot. You might even get the cell warm enough to melt separator if not careful.&lt;br /&gt;
# &#039;&#039;&#039;No compression, not enough compression, improperly distributed compression&#039;&#039;&#039;. This is a pack/module design issue. Apply 10, maybe 15 psi to your cell stack end to end and then band snugly and evenly. Use hard endplates of some sort--never wrap cells directly or allow their shape to become distorted. Protect all areas of the pouch from impact damage. This obviously does not apply to cylindrical cells.&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; prismatic cells ====&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;placeholder*&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; cylindrical cells ====&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;placeholder*&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; cell ageing ====&lt;br /&gt;
&#039;&#039;Derived (barely paraphrased) from [https://endless-sphere.com/forums/memberlist.php?mode=viewprofile&amp;amp;u=33107 wb9k]&#039;s post on endless sphere in the [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761 A123 thread]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Capacity loss is caused by the lithium that was available for storage becoming permanently plated on the cathode. Being unable to move within the cell it is no longer available to store energy. The impact of this plating is greater than the amount of lithium &#039;lost&#039; to plating because not only is the lithium no longer available, it is also preventing access to that part of the cathode meaning Li that can still move has to take a longer path to reach the cathode. Lithium plating is one cause of increased cell resistance (there are others), a sign of worsening cell health.&lt;br /&gt;
&lt;br /&gt;
There is no linear relationship between actual capacity loss and impedance rise. However some cell defects will also increase impedance.&lt;br /&gt;
&lt;br /&gt;
Increasing cell resistance may cause a number of symptoms which may be confused with [https://earthshipbiotecture.com/a-lithium-ion-battery-primer/ High Self Discharge.]&lt;br /&gt;
# Elevated Peukert Losses. As more energy per amount of current through the cell is lost as heat, the cells useable capacity decreases. So the apparent capacity loss is higher than the actual capacity loss of cycleable lithium. When used in low current applications (e.g. solar energy storage) the actual and apparent decrease in capacity will be small. In high current draw applications (like EV traction packs), the Peukert loss increases proportionally, so the apparent capacity loss increases much faster than the actual capacity loss.&lt;br /&gt;
# Greater voltage excursion under the same load. Due to increased cell resistancethe voltage will sag further under the same load than a cell in optimal condition. The inverse is also true, the voltage will be higher for the same amount of charging current applied. The cell will then rebound to a voltage further from the loaded and charging voltages. This, obviously, can look like high self discharge but is a different phenomenon.&lt;br /&gt;
# Absolute maximum current decrease.&lt;br /&gt;
Elevated impedance causes a more complex constellation of symptoms, some of which may be easy to confuse with High Self Discharge (HSD). Ohm&#039;s law (E=I/R) holds the key to understanding here.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1) Elevated Peukert losses.&#039;&#039;&#039; Because more energy per unit of current through the cell is lost as heat, less of the cell&#039;s capacity is actually USABLE. Thus, apparent capacity loss can be significantly greater than actual capacity loss caused by the loss of cycleable Li alone. In low current applications, the two numbers will be close together. In high current applications, Peukert losses increase in proportion, so apparent loss of capacity breaks further and further away from actual capacity loss as current increases.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2) Greater voltage excursion under the same load.&#039;&#039;&#039; Elevated resistance across the cell means that voltage will sag more under the same load than it did when the cell was healthier. Conversely, voltage will rise higher with the same amount of applied charge current than it did when it was healthier. At the same time, rebound/settling voltages will be further away from loaded/charging voltages. In other words, the cell will rebound to a voltage further away from loaded voltage, all else being equal. Similarly, voltage will settle farther from the charge voltage with the same charge applied. This can give the illusion of elevated self-discharge, but the phenomenon is actually not the same thing. Again, the greater the charge and load currents, the greater the effect becomes.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3) Absolute max current decreases.&#039;&#039;&#039; Because the cell&#039;s series resistance is elevated, the maximum possible current through the cell is decreased.&lt;br /&gt;
&lt;br /&gt;
Just to confuse things further, there can be many factors that lead to impedance rise. Some are related to Li plating, others are not.&lt;br /&gt;
&lt;br /&gt;
=== Lithium-ion ===&lt;br /&gt;
Lithium-ion (Li-ion) batteries have a greater energy density than Lithium Iron Phosphate batteries, but have more challenging needs to use safely. The ideal operating range of Li-ion batteries is between +15 and +45°C. The upper limit of temperature is particularly important as Li-ion batteries experience thermal runaway - an unstoppable chain reaction that can occur in milliseconds releasing the stored energy in the cell. This can produce temperatures of 400°C and a fire that is extremely difficult to put out. Thermal runaway can start as low as 60°C and becomes much more likely at 100°C&lt;br /&gt;
&lt;br /&gt;
Risk factors for thermal runaway:&lt;br /&gt;
* Short Circuits - either internally or externally&lt;br /&gt;
* Overcharging&lt;br /&gt;
* Excessive current draw or when charging&lt;br /&gt;
&lt;br /&gt;
==== Li-ion pouch cells ====&lt;br /&gt;
[https://kokam.com/cell Kokam] produce high-performance Li-ion pouch cells. These combine relative ease of use and pack construction with performance close to cylindrical cells. &lt;br /&gt;
&lt;br /&gt;
==== Li-ion 18650 and other cylindrical cells ====&lt;br /&gt;
Cylindrical cells are favoured by Tesla, and are probably the main reason why their cars achieve such excellent performance. They are light, compact, powerful and expensive. Unfortunately, cylindrical cells are staggeringly difficult (and dangerous) to use in DIY conversions. There are two good reasons for this: thermal management and cell configuration.&lt;br /&gt;
&lt;br /&gt;
As stated above, Li-ion cells are prone to thermal runaway. So you need perfect thermal management to ensure that no cell ever exceeds the critical temperature. If this happens, the cell will short-circuit internally, releasing a lot of energy - potentially explosively. Furthermore, the individual cells are small, so need to be arranged in parallel. In the case of the Tesla Model S, there are 74 cells in each parallel. Imagine if one of those cells fails and becomes short circuited internally. You now have 73 very high power cells in parallel feeding in to that short circuit. In fact, you don&#039;t have to imagine: you can watch this famous video instead (courtesy of Rich Rebuilds).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;youtube&amp;gt;WdDi1haA71Q&amp;lt;/youtube&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== OEM modules ==&lt;br /&gt;
Using an OEM module means a lot of the difficulties associated with battery design are taken care of e.g. cooling, clamping, etc. Here is a list of OEM modules.&lt;br /&gt;
{| class=&amp;quot;wikitable sortable mw-collapsible&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!Manufacturer&lt;br /&gt;
!Type&lt;br /&gt;
!Capacity (kWh)&lt;br /&gt;
!Weight (kg)&lt;br /&gt;
!w (mm)&lt;br /&gt;
!d (mm)&lt;br /&gt;
!h (mm)&lt;br /&gt;
!Gravity (kg/kWh)&lt;br /&gt;
!Volume (L/kWh)&lt;br /&gt;
!Voltage (V)&lt;br /&gt;
!Current (cont A)&lt;br /&gt;
!Current (peak A)&lt;br /&gt;
!Cell arrangement&lt;br /&gt;
!Cell type&lt;br /&gt;
!Chemistry&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model S 85kWh&lt;br /&gt;
|5.3&lt;br /&gt;
|26&lt;br /&gt;
|690&lt;br /&gt;
|315&lt;br /&gt;
|80&lt;br /&gt;
|4.9&lt;br /&gt;
|3.3&lt;br /&gt;
|22.8&lt;br /&gt;
|500&lt;br /&gt;
|750&lt;br /&gt;
|74p6s&lt;br /&gt;
|18650&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model S 100kWh&lt;br /&gt;
|6.4&lt;br /&gt;
|28&lt;br /&gt;
|680&lt;br /&gt;
|315&lt;br /&gt;
|80&lt;br /&gt;
|4.4&lt;br /&gt;
|2.7&lt;br /&gt;
|22.8&lt;br /&gt;
|&lt;br /&gt;
|870&lt;br /&gt;
|86p6s&lt;br /&gt;
|18650&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Chevrolet&lt;br /&gt;
|Volt 2012&lt;br /&gt;
|4&lt;br /&gt;
|38&lt;br /&gt;
|470&lt;br /&gt;
|180&lt;br /&gt;
|280&lt;br /&gt;
|9.5&lt;br /&gt;
|5.9&lt;br /&gt;
|88&lt;br /&gt;
|140&lt;br /&gt;
|210&lt;br /&gt;
|24s&lt;br /&gt;
|Pouch&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|BMW&lt;br /&gt;
|i3 60Ah&lt;br /&gt;
|2&lt;br /&gt;
|13&lt;br /&gt;
|368&lt;br /&gt;
|178&lt;br /&gt;
|102&lt;br /&gt;
|6.5&lt;br /&gt;
|3.3&lt;br /&gt;
|28.8&lt;br /&gt;
|210&lt;br /&gt;
|350&lt;br /&gt;
|8s2p&lt;br /&gt;
|Prismatic&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|BMW&lt;br /&gt;
|i3 94Ah&lt;br /&gt;
|4.15&lt;br /&gt;
|28&lt;br /&gt;
|410&lt;br /&gt;
|310&lt;br /&gt;
|150&lt;br /&gt;
|6.7&lt;br /&gt;
|4.6&lt;br /&gt;
|45.6&lt;br /&gt;
|&lt;br /&gt;
|409&lt;br /&gt;
|12s&lt;br /&gt;
|Prismatic&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|BMW&lt;br /&gt;
|i3 120Ah&lt;br /&gt;
|5.3&lt;br /&gt;
|28&lt;br /&gt;
|410&lt;br /&gt;
|310&lt;br /&gt;
|150&lt;br /&gt;
|5.3&lt;br /&gt;
|3.6&lt;br /&gt;
|45.6&lt;br /&gt;
|&lt;br /&gt;
|360&lt;br /&gt;
|12s&lt;br /&gt;
|Prismatic&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Mitsubishi&lt;br /&gt;
|Outlander&lt;br /&gt;
|2.4&lt;br /&gt;
|26&lt;br /&gt;
|646&lt;br /&gt;
|184&lt;br /&gt;
|130&lt;br /&gt;
|10.8&lt;br /&gt;
|6.4&lt;br /&gt;
|60&lt;br /&gt;
|&lt;br /&gt;
|240&lt;br /&gt;
|16s&lt;br /&gt;
|&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Nissan&lt;br /&gt;
|Leaf 24kWh&lt;br /&gt;
|0.5&lt;br /&gt;
|3.65&lt;br /&gt;
|300&lt;br /&gt;
|222&lt;br /&gt;
|34&lt;br /&gt;
|7.3&lt;br /&gt;
|4.5&lt;br /&gt;
|7.4&lt;br /&gt;
|130&lt;br /&gt;
|&lt;br /&gt;
|2s2p&lt;br /&gt;
|&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Nissan&lt;br /&gt;
|Leaf 40kWh&lt;br /&gt;
|1.6&lt;br /&gt;
|8.7&lt;br /&gt;
|300&lt;br /&gt;
|222&lt;br /&gt;
|68&lt;br /&gt;
|5.4&lt;br /&gt;
|2.8&lt;br /&gt;
|14.6&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|4s2p&lt;br /&gt;
|&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Volvo&lt;br /&gt;
|XC90 T8&lt;br /&gt;
|2.01&lt;br /&gt;
|12.1&lt;br /&gt;
|300&lt;br /&gt;
|180&lt;br /&gt;
|150&lt;br /&gt;
|6.0&lt;br /&gt;
|4.0&lt;br /&gt;
|59.2&lt;br /&gt;
|170&lt;br /&gt;
|340&lt;br /&gt;
|16s&lt;br /&gt;
|&lt;br /&gt;
|Li-ion&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Clanger9</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Batteries&amp;diff=1166</id>
		<title>Batteries</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Batteries&amp;diff=1166"/>
		<updated>2020-11-30T21:17:00Z</updated>

		<summary type="html">&lt;p&gt;Clanger9: /* OEM modules */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
There are a wide variety of battery chemistries available for use as the main traction battery of an EV. To use each chemistry safely, and to ensure an adequate service life from the battery pack it is important to understand the requirements for the chemistry you are using. Failure to do so may lead to premature or catastrophic failure of the pack.&lt;br /&gt;
&lt;br /&gt;
Good pack design will allow for a nominal amount of abuse. People make mistakes and the pack should allow a margin for safety - and for longevity!&lt;br /&gt;
&lt;br /&gt;
== Battery pack specification ==&lt;br /&gt;
When deciding on your battery pack, here are some basic parameters to consider:&lt;br /&gt;
&lt;br /&gt;
=== Capacity (kWh) ===&lt;br /&gt;
&#039;&#039;&#039;How far do you want to go?&#039;&#039;&#039; A standard  car conversion will need around 1kWh for 3 miles of range. For a middleweight motorcycle, 1kWh should give around 9 miles. &#039;&#039;Your mileage may vary&#039;&#039;, as they say.&lt;br /&gt;
&lt;br /&gt;
=== Voltage (V) ===&lt;br /&gt;
&#039;&#039;&#039;How fast do you want to go?&#039;&#039;&#039; The pack voltage defines the maximum speed your motor can spin. Motors are usually specified with &amp;quot;KV&amp;quot; - or RPM-per-volt. Check the KV of your motor and how fast it needs to spin to get your desired top speed. e.g. if you need 3,000 RPM from a 25 KV motor then your pack voltage needs to be  3,000 / 25 = 120 V. The exact number of cells in series you need depends on the cell design, but 3.8 V for Li-ion and 3.2 V for LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; is a reasonable guess.&lt;br /&gt;
&lt;br /&gt;
=== Maximum current (A) ===&lt;br /&gt;
&#039;&#039;&#039;How quickly do you want to accelerate?&#039;&#039;&#039; Your motor&#039;s maximum power will be specified in kW. To estimate your maximum current draw, divide the peak power by the battery voltage. e.g. a 30 kW motor with a 120 V battery pack will pull 30,000 / 120 = 250 A. The higher the current rating of the cells, the heavier they will be for a given capacity. Ideally, you want &amp;quot;enough&amp;quot; current capacity for full throttle acceleration, but no more. You can put cells in parallel to double the current rating of your pack (which of course will half the voltage). &lt;br /&gt;
&lt;br /&gt;
=== Mass (kg) ===&lt;br /&gt;
&#039;&#039;&#039;Can your vehicle carry the weight?&#039;&#039;&#039; You&#039;ll need to keep the kerb weight within the original design limits. For a car, this could be a few hundred kg. For a motorcycle, likely less than 100 kg. This is a huge variable - and each new generation of battery tech seems to be a little lighter. For older EV or hybrid batteries, you can reckon on approximately 10 kg/kWh. Nissan Leaf batteries are relatively light (7.5 kg/kWh). With the latest technology (e.g. Kokam pouch cells or 18650s), you can get this down to 5-6 kg/kWh.&lt;br /&gt;
&lt;br /&gt;
=== Volume (L) ===&lt;br /&gt;
&#039;&#039;&#039;Will it fit?&#039;&#039;&#039; Batteries are bulky. They are getting smaller, but finding enough space my be your biggest challenge. You could be looking at over 5 L/kWh for older EV or hybrid batteries. For the latest technology (e.g. Kokam pouch cells or 18650s), you can get this down to 3 kg/kWh.&lt;br /&gt;
&lt;br /&gt;
There is much, much more to battery design than this (e.g. maximum charge rate, terminations, cooling, clamping), but the above should help work out which options will or won&#039;t work for your project...&lt;br /&gt;
&lt;br /&gt;
== Cell chemistry ==&lt;br /&gt;
&lt;br /&gt;
=== Lithium Iron Phosphate (LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt;) ===&lt;br /&gt;
Lithium Iron Phosphate (also known as LFP, or LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt;) batteries offer a good compromise between safety, energy density and ease of use for DIY conversions. They are available in a number of formats, commonly pouch cells, prismatic cells and cylindrical cells.&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; pouch cells ====&lt;br /&gt;
The majority of this content is drawn from this thread: [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761&amp;amp;start=900 https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761] discussing the use of the A123 20Ah pouch cell. However, many of the general points apply equally to other similar pouch cells.&lt;br /&gt;
&lt;br /&gt;
===== General build requirements =====&lt;br /&gt;
Pouch cells are vulnerable to damage from debris, and must be held in compression (see the datasheet for your battery, but 10-12 psi is recommended for the A123 pouch cells as a guide). A rigid container capable of preventing damage and providing compression is therefore required. Be aware the cells expand and contract in use, so allowance for this must be included in the structure of the case.&lt;br /&gt;
&lt;br /&gt;
The pouch cells should be separated to prevent abrasion between cells, and also to avoid the development of hot spots. Prebuilt modules from A123 systems had thin foam sheets or heatsinks between each cell. Be sure to avoid any debris that could rub on the pouch surface, particularly if using recycled cells.&lt;br /&gt;
&lt;br /&gt;
Mylar, &#039;[https://www.americanmicroinc.com/fish-paper/ Fish paper]&#039; or a [https://www.rogerscorp.com/elastomeric-material-solutions/poron-industrial-polyurethanes compliant foam] may be appropriate materials to serve this purpose. This material should not be flammable. If the material is heat insulating, it is important to address thermal management.&lt;br /&gt;
&lt;br /&gt;
===== Compression =====&lt;br /&gt;
Compression is required to prevent premature failure of the cell. Without compression electrolyte will become unevenly distributed, causing current gradients in the cell and uneven heating. Local temperatures can become high enough to form gas formation leading to cells &#039;puffing up&#039; even when the pack is otherwise held within temperature and voltage constraints. This will be exacerbated in packs with otherwise poor thermal management. Compression forces gas generated to the margins of the cell, outside of the cell stack, minimising its effect cell performance. Gas in the middle cells will create a dead space which does not store or release energy.&lt;br /&gt;
&lt;br /&gt;
There is ~1% expansion through a discharge cycle. As the cell ages, the nominal cell thickness can grow by 3-5%. For A123 cells the ideal pressure is between 4 and 18psi with the ideal pressure being ~12psi. Maintaining 12psi can increase the life by 500 cycles over that of 4 or 18psi&lt;br /&gt;
&lt;br /&gt;
There is some suggestion that in uses where 1C is never exceeded compression &#039;&#039;may&#039;&#039; not be required.&lt;br /&gt;
&lt;br /&gt;
Highly rigid endplates with a mechanism to allow for a limited degree of expansion (e.g. steel bands) are considered an effective solution to this challenge.&lt;br /&gt;
&lt;br /&gt;
It should be noted that compression is a challenge specific to pouch cells. Cylindrical cells are designed to maintain their own compression within the cell&#039;s electrode stack by their design.&lt;br /&gt;
&lt;br /&gt;
This thread provides more information and experimentation relating to pack compression: &amp;lt;nowiki&amp;gt;https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=52244&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Pouch Cell Pack Design Examples =====&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;placeholder*&lt;br /&gt;
&lt;br /&gt;
===== Notes regarding recycled pouch cells =====&lt;br /&gt;
Pouch cells are somewhat fragile, and breaching the insulation is not difficult, especially in a cells removed from existing packs and repurposed. If the pouch has had their poly-layers compromised you may see a number of faults:&lt;br /&gt;
* Black spots around the perimeter of the cell indicate electrolyte leakage&lt;br /&gt;
* Voltage on the outside of the bag. Note that microvoltage between the pouch and the electrode is normal (and due to a capacitive effect).&lt;br /&gt;
While the majority of these cells should no longer be in the market, a significant number of faulty cells made it back into the &#039;greymarket&#039; in around 2013. These cells had misaligned tabs which can also lead to isolation failures between the tab and the pack. These cells should be avoided, particularly in high demand applications.&lt;br /&gt;
&lt;br /&gt;
===== Situations likely to cause pouch cell failure =====&lt;br /&gt;
&#039;&#039;Taken directly from [https://endless-sphere.com/forums/memberlist.php?mode=viewprofile&amp;amp;u=33107 wb9k]&#039;s post on endless sphere in the [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761 A123 thread]&#039;&#039;&lt;br /&gt;
# &#039;&#039;&#039;Overcharge&#039;&#039;&#039;. Any extended time above 3.8 Volts will generate enough heat and electrochemical activity to puff a cell, especially one that is improperly compressed.&lt;br /&gt;
# &#039;&#039;&#039;Overdischarge followed by charge&#039;&#039;&#039;. Any A123 cell that has been pulled low enough to come to rest at &amp;lt;300 mV should be immediately scrapped. The published number for that is 500 mV, but the real figure is closer to 300, so that&#039;s a &amp;quot;safety buffer&amp;quot; if you will. Below this Voltage, the Cu electrodes start to dissolve into the electrolyte. When charge is applied, the Cu forms dendrites that puncture the separator layer, forming an internal short in the cell. This can puff a cell in a hurry---the more charge current on tap, the worse it&#039;s prone to be.&lt;br /&gt;
# &#039;&#039;&#039;Driving a cell negative&#039;&#039;&#039;. I&#039;ve neglected to mention this before, but it is a possibility. I don&#039;t know much about the specific mechanism at this time.&lt;br /&gt;
# &#039;&#039;&#039;Malfunctioning or misinformed electronics&#039;&#039;&#039;. This is the most common cause of all of the above in my experience. At this stage of the game, it is critical for YOU to understand how your BMS functions on at least a cursory level. Choose your BMS very carefully and periodically verify that it is operating properly. They&#039;re not all created equal. Make sure V sense lines are securely connected and free of corrosion. Just because your BMS says there was never a problem doesn&#039;t necessarily make it so. Avoid harnesses or ribbon cables between multiple modules if possible--they are problematic wherever they are used in any mobile electronics.&lt;br /&gt;
# &#039;&#039;&#039;Exposure to or generation of sufficient heat&#039;&#039;&#039;. I don&#039;t know exactly at what temperature gas formation begins in the electrolyte, but we spec a max storage temp of 80 (or 85?) degrees C and I suspect this is the reason. The hotter, the puffier--to a point. This is why soldering tabs poses a real hazard to cell health. If you feel you must solder, sink or blow the heat away from the body of the cell. Use a big iron that can make sufficient local heat quickly, before the whole mass of the cell gets hot. You might even get the cell warm enough to melt separator if not careful.&lt;br /&gt;
# &#039;&#039;&#039;No compression, not enough compression, improperly distributed compression&#039;&#039;&#039;. This is a pack/module design issue. Apply 10, maybe 15 psi to your cell stack end to end and then band snugly and evenly. Use hard endplates of some sort--never wrap cells directly or allow their shape to become distorted. Protect all areas of the pouch from impact damage. This obviously does not apply to cylindrical cells.&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; prismatic cells ====&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;placeholder*&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; cylindrical cells ====&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;placeholder*&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; cell ageing ====&lt;br /&gt;
&#039;&#039;Derived (barely paraphrased) from [https://endless-sphere.com/forums/memberlist.php?mode=viewprofile&amp;amp;u=33107 wb9k]&#039;s post on endless sphere in the [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761 A123 thread]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Capacity loss is caused by the lithium that was available for storage becoming permanently plated on the cathode. Being unable to move within the cell it is no longer available to store energy. The impact of this plating is greater than the amount of lithium &#039;lost&#039; to plating because not only is the lithium no longer available, it is also preventing access to that part of the cathode meaning Li that can still move has to take a longer path to reach the cathode. Lithium plating is one cause of increased cell resistance (there are others), a sign of worsening cell health.&lt;br /&gt;
&lt;br /&gt;
There is no linear relationship between actual capacity loss and impedance rise. However some cell defects will also increase impedance.&lt;br /&gt;
&lt;br /&gt;
Increasing cell resistance may cause a number of symptoms which may be confused with [https://earthshipbiotecture.com/a-lithium-ion-battery-primer/ High Self Discharge.]&lt;br /&gt;
# Elevated Peukert Losses. As more energy per amount of current through the cell is lost as heat, the cells useable capacity decreases. So the apparent capacity loss is higher than the actual capacity loss of cycleable lithium. When used in low current applications (e.g. solar energy storage) the actual and apparent decrease in capacity will be small. In high current draw applications (like EV traction packs), the Peukert loss increases proportionally, so the apparent capacity loss increases much faster than the actual capacity loss.&lt;br /&gt;
# Greater voltage excursion under the same load. Due to increased cell resistancethe voltage will sag further under the same load than a cell in optimal condition. The inverse is also true, the voltage will be higher for the same amount of charging current applied. The cell will then rebound to a voltage further from the loaded and charging voltages. This, obviously, can look like high self discharge but is a different phenomenon.&lt;br /&gt;
# Absolute maximum current decrease.&lt;br /&gt;
Elevated impedance causes a more complex constellation of symptoms, some of which may be easy to confuse with High Self Discharge (HSD). Ohm&#039;s law (E=I/R) holds the key to understanding here.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1) Elevated Peukert losses.&#039;&#039;&#039; Because more energy per unit of current through the cell is lost as heat, less of the cell&#039;s capacity is actually USABLE. Thus, apparent capacity loss can be significantly greater than actual capacity loss caused by the loss of cycleable Li alone. In low current applications, the two numbers will be close together. In high current applications, Peukert losses increase in proportion, so apparent loss of capacity breaks further and further away from actual capacity loss as current increases.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2) Greater voltage excursion under the same load.&#039;&#039;&#039; Elevated resistance across the cell means that voltage will sag more under the same load than it did when the cell was healthier. Conversely, voltage will rise higher with the same amount of applied charge current than it did when it was healthier. At the same time, rebound/settling voltages will be further away from loaded/charging voltages. In other words, the cell will rebound to a voltage further away from loaded voltage, all else being equal. Similarly, voltage will settle farther from the charge voltage with the same charge applied. This can give the illusion of elevated self-discharge, but the phenomenon is actually not the same thing. Again, the greater the charge and load currents, the greater the effect becomes.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3) Absolute max current decreases.&#039;&#039;&#039; Because the cell&#039;s series resistance is elevated, the maximum possible current through the cell is decreased.&lt;br /&gt;
&lt;br /&gt;
Just to confuse things further, there can be many factors that lead to impedance rise. Some are related to Li plating, others are not.&lt;br /&gt;
&lt;br /&gt;
=== Lithium-ion ===&lt;br /&gt;
Lithium-ion (Li-ion) batteries have a greater energy density than Lithium Iron Phosphate batteries, but have more challenging needs to use safely. The ideal operating range of Li-ion batteries is between +15 and +45°C. The upper limit of temperature is particularly important as Li-ion batteries experience thermal runaway - an unstoppable chain reaction that can occur in milliseconds releasing the stored energy in the cell. This can produce temperatures of 400°C and a fire that is extremely difficult to put out. Thermal runaway can start as low as 60°C and becomes much more likely at 100°C&lt;br /&gt;
&lt;br /&gt;
Risk factors for thermal runaway:&lt;br /&gt;
* Short Circuits - either internally or externally&lt;br /&gt;
* Overcharging&lt;br /&gt;
* Excessive current draw or when charging&lt;br /&gt;
&lt;br /&gt;
==== Li-ion pouch cells ====&lt;br /&gt;
[https://kokam.com/cell Kokam] produce high-performance Li-ion pouch cells. These combine relative ease of use and pack construction with performance close to cylindrical cells. &lt;br /&gt;
&lt;br /&gt;
==== Li-ion 18650 and other cylindrical cells ====&lt;br /&gt;
Cylindrical cells are favoured by Tesla, and are probably the main reason why their cars achieve such excellent performance. They are light, compact, powerful and expensive. Unfortunately, cylindrical cells are staggeringly difficult (and dangerous) to use in DIY conversions. There are two good reasons for this: thermal management and cell configuration.&lt;br /&gt;
&lt;br /&gt;
As stated above, Li-ion cells are prone to thermal runaway. So you need perfect thermal management to ensure that no cell ever exceeds the critical temperature. If this happens, the cell will short-circuit internally, releasing a lot of energy - potentially explosively. Furthermore, the individual cells are small, so need to be arranged in parallel. In the case of the Tesla Model S, there are 74 cells in each parallel. Imagine if one of those cells fails and becomes short circuited internally. You now have 73 very high power cells in parallel feeding in to that short circuit. In fact, you don&#039;t have to imagine: you can watch this famous video instead (courtesy of Rich Rebuilds).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;youtube&amp;gt;WdDi1haA71Q&amp;lt;/youtube&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== OEM modules ==&lt;br /&gt;
Using an OEM module means a lot of the difficulties associated with battery design are taken care of e.g. cooling, clamping, etc. Here is a list of OEM modules.&lt;br /&gt;
{| class=&amp;quot;wikitable sortable mw-collapsible&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!Manufacturer&lt;br /&gt;
!Type&lt;br /&gt;
!Capacity (kWh)&lt;br /&gt;
!Weight (kg)&lt;br /&gt;
!w (mm)&lt;br /&gt;
!d (mm)&lt;br /&gt;
!h (mm)&lt;br /&gt;
!Gravity (kg/kWh)&lt;br /&gt;
!Volume (L/kWh)&lt;br /&gt;
!Voltage (V)&lt;br /&gt;
!Current (cont A)&lt;br /&gt;
!Current (peak A)&lt;br /&gt;
!Cell arrangement&lt;br /&gt;
!Cell type&lt;br /&gt;
!Chemistry&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model S 85kWh&lt;br /&gt;
|5.3&lt;br /&gt;
|26&lt;br /&gt;
|690&lt;br /&gt;
|315&lt;br /&gt;
|80&lt;br /&gt;
|4.9&lt;br /&gt;
|3.3&lt;br /&gt;
|22.8&lt;br /&gt;
|500&lt;br /&gt;
|750&lt;br /&gt;
|74p6s&lt;br /&gt;
|18650&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model S 100kWh&lt;br /&gt;
|6.4&lt;br /&gt;
|28&lt;br /&gt;
|680&lt;br /&gt;
|315&lt;br /&gt;
|80&lt;br /&gt;
|4.4&lt;br /&gt;
|2.7&lt;br /&gt;
|22.8&lt;br /&gt;
|&lt;br /&gt;
|870&lt;br /&gt;
|86p6s&lt;br /&gt;
|18650&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Chevrolet&lt;br /&gt;
|Volt 2012&lt;br /&gt;
|4&lt;br /&gt;
|38&lt;br /&gt;
|470&lt;br /&gt;
|180&lt;br /&gt;
|280&lt;br /&gt;
|9.5&lt;br /&gt;
|5.9&lt;br /&gt;
|88&lt;br /&gt;
|140&lt;br /&gt;
|210&lt;br /&gt;
|24s&lt;br /&gt;
|Pouch&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|BMW&lt;br /&gt;
|i3 60Ah&lt;br /&gt;
|2&lt;br /&gt;
|13&lt;br /&gt;
|368&lt;br /&gt;
|178&lt;br /&gt;
|102&lt;br /&gt;
|6.5&lt;br /&gt;
|3.3&lt;br /&gt;
|28.8&lt;br /&gt;
|210&lt;br /&gt;
|350&lt;br /&gt;
|8s2p&lt;br /&gt;
|Prismatic&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|BMW&lt;br /&gt;
|i3 94Ah&lt;br /&gt;
|4.15&lt;br /&gt;
|28&lt;br /&gt;
|410&lt;br /&gt;
|310&lt;br /&gt;
|150&lt;br /&gt;
|6.7&lt;br /&gt;
|4.6&lt;br /&gt;
|45.6&lt;br /&gt;
|&lt;br /&gt;
|409&lt;br /&gt;
|12s&lt;br /&gt;
|Prismatic&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|BMW&lt;br /&gt;
|i3 120Ah&lt;br /&gt;
|5.3&lt;br /&gt;
|28&lt;br /&gt;
|410&lt;br /&gt;
|310&lt;br /&gt;
|150&lt;br /&gt;
|5.3&lt;br /&gt;
|3.6&lt;br /&gt;
|45.6&lt;br /&gt;
|&lt;br /&gt;
|360&lt;br /&gt;
|12s&lt;br /&gt;
|Prismatic&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Mitsubishi&lt;br /&gt;
|Outlander&lt;br /&gt;
|2.4&lt;br /&gt;
|26&lt;br /&gt;
|646&lt;br /&gt;
|184&lt;br /&gt;
|130&lt;br /&gt;
|10.8&lt;br /&gt;
|6.4&lt;br /&gt;
|60&lt;br /&gt;
|&lt;br /&gt;
|240&lt;br /&gt;
|16s&lt;br /&gt;
|&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Nissan&lt;br /&gt;
|Leaf 24kWh&lt;br /&gt;
|0.5&lt;br /&gt;
|3.65&lt;br /&gt;
|300&lt;br /&gt;
|222&lt;br /&gt;
|34&lt;br /&gt;
|7.3&lt;br /&gt;
|4.5&lt;br /&gt;
|7.4&lt;br /&gt;
|130&lt;br /&gt;
|&lt;br /&gt;
|2s2p&lt;br /&gt;
|&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Nissan&lt;br /&gt;
|Leaf 40kWh&lt;br /&gt;
|1.6&lt;br /&gt;
|8.7&lt;br /&gt;
|300&lt;br /&gt;
|222&lt;br /&gt;
|68&lt;br /&gt;
|5.4&lt;br /&gt;
|2.8&lt;br /&gt;
|14.6&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|4s2p&lt;br /&gt;
|&lt;br /&gt;
|Li-ion&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Clanger9</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Batteries&amp;diff=1165</id>
		<title>Batteries</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Batteries&amp;diff=1165"/>
		<updated>2020-11-30T21:06:03Z</updated>

		<summary type="html">&lt;p&gt;Clanger9: /* OEM modules */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
There are a wide variety of battery chemistries available for use as the main traction battery of an EV. To use each chemistry safely, and to ensure an adequate service life from the battery pack it is important to understand the requirements for the chemistry you are using. Failure to do so may lead to premature or catastrophic failure of the pack.&lt;br /&gt;
&lt;br /&gt;
Good pack design will allow for a nominal amount of abuse. People make mistakes and the pack should allow a margin for safety - and for longevity!&lt;br /&gt;
&lt;br /&gt;
== Battery pack specification ==&lt;br /&gt;
When deciding on your battery pack, here are some basic parameters to consider:&lt;br /&gt;
&lt;br /&gt;
=== Capacity (kWh) ===&lt;br /&gt;
&#039;&#039;&#039;How far do you want to go?&#039;&#039;&#039; A standard  car conversion will need around 1kWh for 3 miles of range. For a middleweight motorcycle, 1kWh should give around 9 miles. &#039;&#039;Your mileage may vary&#039;&#039;, as they say.&lt;br /&gt;
&lt;br /&gt;
=== Voltage (V) ===&lt;br /&gt;
&#039;&#039;&#039;How fast do you want to go?&#039;&#039;&#039; The pack voltage defines the maximum speed your motor can spin. Motors are usually specified with &amp;quot;KV&amp;quot; - or RPM-per-volt. Check the KV of your motor and how fast it needs to spin to get your desired top speed. e.g. if you need 3,000 RPM from a 25 KV motor then your pack voltage needs to be  3,000 / 25 = 120 V. The exact number of cells in series you need depends on the cell design, but 3.8 V for Li-ion and 3.2 V for LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; is a reasonable guess.&lt;br /&gt;
&lt;br /&gt;
=== Maximum current (A) ===&lt;br /&gt;
&#039;&#039;&#039;How quickly do you want to accelerate?&#039;&#039;&#039; Your motor&#039;s maximum power will be specified in kW. To estimate your maximum current draw, divide the peak power by the battery voltage. e.g. a 30 kW motor with a 120 V battery pack will pull 30,000 / 120 = 250 A. The higher the current rating of the cells, the heavier they will be for a given capacity. Ideally, you want &amp;quot;enough&amp;quot; current capacity for full throttle acceleration, but no more. You can put cells in parallel to double the current rating of your pack (which of course will half the voltage). &lt;br /&gt;
&lt;br /&gt;
=== Mass (kg) ===&lt;br /&gt;
&#039;&#039;&#039;Can your vehicle carry the weight?&#039;&#039;&#039; You&#039;ll need to keep the kerb weight within the original design limits. For a car, this could be a few hundred kg. For a motorcycle, likely less than 100 kg. This is a huge variable - and each new generation of battery tech seems to be a little lighter. For older EV or hybrid batteries, you can reckon on 10-15 kg/kWh. Nissan Leaf batteries are relatively light (7.5 kg/kWh). With the latest technology (e.g. Kokam pouch cells or 18650s), you can get this down to 5-6 kg/kWh.&lt;br /&gt;
&lt;br /&gt;
=== Volume (L) ===&lt;br /&gt;
&#039;&#039;&#039;Will it fit?&#039;&#039;&#039; Batteries are bulky. They are getting smaller, but finding enough space my be your biggest challenge. You can reckon on 5-10 L/kWh for older EV or hybrid batteries. For the latest technology (e.g. Kokam pouch cells or 18650s), you can get this down to 3-3.5 kg/kWh.&lt;br /&gt;
&lt;br /&gt;
There is much, much more to battery design than this (e.g. maximum charge rate, terminations, cooling, clamping), but the above should help work out which options will or won&#039;t work for your project...&lt;br /&gt;
&lt;br /&gt;
== Cell chemistry ==&lt;br /&gt;
&lt;br /&gt;
=== Lithium Iron Phosphate (LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt;) ===&lt;br /&gt;
Lithium Iron Phosphate (also known as LFP, or LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt;) batteries offer a good compromise between safety, energy density and ease of use for DIY conversions. They are available in a number of formats, commonly pouch cells, prismatic cells and cylindrical cells.&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; pouch cells ====&lt;br /&gt;
The majority of this content is drawn from this thread: [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761&amp;amp;start=900 https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761] discussing the use of the A123 20Ah pouch cell. However, many of the general points apply equally to other similar pouch cells.&lt;br /&gt;
&lt;br /&gt;
===== General build requirements =====&lt;br /&gt;
Pouch cells are vulnerable to damage from debris, and must be held in compression (see the datasheet for your battery, but 10-12 psi is recommended for the A123 pouch cells as a guide). A rigid container capable of preventing damage and providing compression is therefore required. Be aware the cells expand and contract in use, so allowance for this must be included in the structure of the case.&lt;br /&gt;
&lt;br /&gt;
The pouch cells should be separated to prevent abrasion between cells, and also to avoid the development of hot spots. Prebuilt modules from A123 systems had thin foam sheets or heatsinks between each cell. Be sure to avoid any debris that could rub on the pouch surface, particularly if using recycled cells.&lt;br /&gt;
&lt;br /&gt;
Mylar, &#039;[https://www.americanmicroinc.com/fish-paper/ Fish paper]&#039; or a [https://www.rogerscorp.com/elastomeric-material-solutions/poron-industrial-polyurethanes compliant foam] may be appropriate materials to serve this purpose. This material should not be flammable. If the material is heat insulating, it is important to address thermal management.&lt;br /&gt;
&lt;br /&gt;
===== Compression =====&lt;br /&gt;
Compression is required to prevent premature failure of the cell. Without compression electrolyte will become unevenly distributed, causing current gradients in the cell and uneven heating. Local temperatures can become high enough to form gas formation leading to cells &#039;puffing up&#039; even when the pack is otherwise held within temperature and voltage constraints. This will be exacerbated in packs with otherwise poor thermal management. Compression forces gas generated to the margins of the cell, outside of the cell stack, minimising its effect cell performance. Gas in the middle cells will create a dead space which does not store or release energy.&lt;br /&gt;
&lt;br /&gt;
There is ~1% expansion through a discharge cycle. As the cell ages, the nominal cell thickness can grow by 3-5%. For A123 cells the ideal pressure is between 4 and 18psi with the ideal pressure being ~12psi. Maintaining 12psi can increase the life by 500 cycles over that of 4 or 18psi&lt;br /&gt;
&lt;br /&gt;
There is some suggestion that in uses where 1C is never exceeded compression &#039;&#039;may&#039;&#039; not be required.&lt;br /&gt;
&lt;br /&gt;
Highly rigid endplates with a mechanism to allow for a limited degree of expansion (e.g. steel bands) are considered an effective solution to this challenge.&lt;br /&gt;
&lt;br /&gt;
It should be noted that compression is a challenge specific to pouch cells. Cylindrical cells are designed to maintain their own compression within the cell&#039;s electrode stack by their design.&lt;br /&gt;
&lt;br /&gt;
This thread provides more information and experimentation relating to pack compression: &amp;lt;nowiki&amp;gt;https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=52244&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Pouch Cell Pack Design Examples =====&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;placeholder*&lt;br /&gt;
&lt;br /&gt;
===== Notes regarding recycled pouch cells =====&lt;br /&gt;
Pouch cells are somewhat fragile, and breaching the insulation is not difficult, especially in a cells removed from existing packs and repurposed. If the pouch has had their poly-layers compromised you may see a number of faults:&lt;br /&gt;
* Black spots around the perimeter of the cell indicate electrolyte leakage&lt;br /&gt;
* Voltage on the outside of the bag. Note that microvoltage between the pouch and the electrode is normal (and due to a capacitive effect).&lt;br /&gt;
While the majority of these cells should no longer be in the market, a significant number of faulty cells made it back into the &#039;greymarket&#039; in around 2013. These cells had misaligned tabs which can also lead to isolation failures between the tab and the pack. These cells should be avoided, particularly in high demand applications.&lt;br /&gt;
&lt;br /&gt;
===== Situations likely to cause pouch cell failure =====&lt;br /&gt;
&#039;&#039;Taken directly from [https://endless-sphere.com/forums/memberlist.php?mode=viewprofile&amp;amp;u=33107 wb9k]&#039;s post on endless sphere in the [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761 A123 thread]&#039;&#039;&lt;br /&gt;
# &#039;&#039;&#039;Overcharge&#039;&#039;&#039;. Any extended time above 3.8 Volts will generate enough heat and electrochemical activity to puff a cell, especially one that is improperly compressed.&lt;br /&gt;
# &#039;&#039;&#039;Overdischarge followed by charge&#039;&#039;&#039;. Any A123 cell that has been pulled low enough to come to rest at &amp;lt;300 mV should be immediately scrapped. The published number for that is 500 mV, but the real figure is closer to 300, so that&#039;s a &amp;quot;safety buffer&amp;quot; if you will. Below this Voltage, the Cu electrodes start to dissolve into the electrolyte. When charge is applied, the Cu forms dendrites that puncture the separator layer, forming an internal short in the cell. This can puff a cell in a hurry---the more charge current on tap, the worse it&#039;s prone to be.&lt;br /&gt;
# &#039;&#039;&#039;Driving a cell negative&#039;&#039;&#039;. I&#039;ve neglected to mention this before, but it is a possibility. I don&#039;t know much about the specific mechanism at this time.&lt;br /&gt;
# &#039;&#039;&#039;Malfunctioning or misinformed electronics&#039;&#039;&#039;. This is the most common cause of all of the above in my experience. At this stage of the game, it is critical for YOU to understand how your BMS functions on at least a cursory level. Choose your BMS very carefully and periodically verify that it is operating properly. They&#039;re not all created equal. Make sure V sense lines are securely connected and free of corrosion. Just because your BMS says there was never a problem doesn&#039;t necessarily make it so. Avoid harnesses or ribbon cables between multiple modules if possible--they are problematic wherever they are used in any mobile electronics.&lt;br /&gt;
# &#039;&#039;&#039;Exposure to or generation of sufficient heat&#039;&#039;&#039;. I don&#039;t know exactly at what temperature gas formation begins in the electrolyte, but we spec a max storage temp of 80 (or 85?) degrees C and I suspect this is the reason. The hotter, the puffier--to a point. This is why soldering tabs poses a real hazard to cell health. If you feel you must solder, sink or blow the heat away from the body of the cell. Use a big iron that can make sufficient local heat quickly, before the whole mass of the cell gets hot. You might even get the cell warm enough to melt separator if not careful.&lt;br /&gt;
# &#039;&#039;&#039;No compression, not enough compression, improperly distributed compression&#039;&#039;&#039;. This is a pack/module design issue. Apply 10, maybe 15 psi to your cell stack end to end and then band snugly and evenly. Use hard endplates of some sort--never wrap cells directly or allow their shape to become distorted. Protect all areas of the pouch from impact damage. This obviously does not apply to cylindrical cells.&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; prismatic cells ====&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;placeholder*&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; cylindrical cells ====&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;placeholder*&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; cell ageing ====&lt;br /&gt;
&#039;&#039;Derived (barely paraphrased) from [https://endless-sphere.com/forums/memberlist.php?mode=viewprofile&amp;amp;u=33107 wb9k]&#039;s post on endless sphere in the [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761 A123 thread]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Capacity loss is caused by the lithium that was available for storage becoming permanently plated on the cathode. Being unable to move within the cell it is no longer available to store energy. The impact of this plating is greater than the amount of lithium &#039;lost&#039; to plating because not only is the lithium no longer available, it is also preventing access to that part of the cathode meaning Li that can still move has to take a longer path to reach the cathode. Lithium plating is one cause of increased cell resistance (there are others), a sign of worsening cell health.&lt;br /&gt;
&lt;br /&gt;
There is no linear relationship between actual capacity loss and impedance rise. However some cell defects will also increase impedance.&lt;br /&gt;
&lt;br /&gt;
Increasing cell resistance may cause a number of symptoms which may be confused with [https://earthshipbiotecture.com/a-lithium-ion-battery-primer/ High Self Discharge.]&lt;br /&gt;
# Elevated Peukert Losses. As more energy per amount of current through the cell is lost as heat, the cells useable capacity decreases. So the apparent capacity loss is higher than the actual capacity loss of cycleable lithium. When used in low current applications (e.g. solar energy storage) the actual and apparent decrease in capacity will be small. In high current draw applications (like EV traction packs), the Peukert loss increases proportionally, so the apparent capacity loss increases much faster than the actual capacity loss.&lt;br /&gt;
# Greater voltage excursion under the same load. Due to increased cell resistancethe voltage will sag further under the same load than a cell in optimal condition. The inverse is also true, the voltage will be higher for the same amount of charging current applied. The cell will then rebound to a voltage further from the loaded and charging voltages. This, obviously, can look like high self discharge but is a different phenomenon.&lt;br /&gt;
# Absolute maximum current decrease.&lt;br /&gt;
Elevated impedance causes a more complex constellation of symptoms, some of which may be easy to confuse with High Self Discharge (HSD). Ohm&#039;s law (E=I/R) holds the key to understanding here.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1) Elevated Peukert losses.&#039;&#039;&#039; Because more energy per unit of current through the cell is lost as heat, less of the cell&#039;s capacity is actually USABLE. Thus, apparent capacity loss can be significantly greater than actual capacity loss caused by the loss of cycleable Li alone. In low current applications, the two numbers will be close together. In high current applications, Peukert losses increase in proportion, so apparent loss of capacity breaks further and further away from actual capacity loss as current increases.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2) Greater voltage excursion under the same load.&#039;&#039;&#039; Elevated resistance across the cell means that voltage will sag more under the same load than it did when the cell was healthier. Conversely, voltage will rise higher with the same amount of applied charge current than it did when it was healthier. At the same time, rebound/settling voltages will be further away from loaded/charging voltages. In other words, the cell will rebound to a voltage further away from loaded voltage, all else being equal. Similarly, voltage will settle farther from the charge voltage with the same charge applied. This can give the illusion of elevated self-discharge, but the phenomenon is actually not the same thing. Again, the greater the charge and load currents, the greater the effect becomes.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3) Absolute max current decreases.&#039;&#039;&#039; Because the cell&#039;s series resistance is elevated, the maximum possible current through the cell is decreased.&lt;br /&gt;
&lt;br /&gt;
Just to confuse things further, there can be many factors that lead to impedance rise. Some are related to Li plating, others are not.&lt;br /&gt;
&lt;br /&gt;
=== Lithium-ion ===&lt;br /&gt;
Lithium-ion (Li-ion) batteries have a greater energy density than Lithium Iron Phosphate batteries, but have more challenging needs to use safely. The ideal operating range of Li-ion batteries is between +15 and +45°C. The upper limit of temperature is particularly important as Li-ion batteries experience thermal runaway - an unstoppable chain reaction that can occur in milliseconds releasing the stored energy in the cell. This can produce temperatures of 400°C and a fire that is extremely difficult to put out. Thermal runaway can start as low as 60°C and becomes much more likely at 100°C&lt;br /&gt;
&lt;br /&gt;
Risk factors for thermal runaway:&lt;br /&gt;
* Short Circuits - either internally or externally&lt;br /&gt;
* Overcharging&lt;br /&gt;
* Excessive current draw or when charging&lt;br /&gt;
&lt;br /&gt;
==== Li-ion pouch cells ====&lt;br /&gt;
[https://kokam.com/cell Kokam] produce high-performance Li-ion pouch cells. These combine relative ease of use and pack construction with performance close to cylindrical cells. &lt;br /&gt;
&lt;br /&gt;
==== Li-ion 18650 and other cylindrical cells ====&lt;br /&gt;
Cylindrical cells are favoured by Tesla, and are probably the main reason why their cars achieve such excellent performance. They are light, compact, powerful and expensive. Unfortunately, cylindrical cells are staggeringly difficult (and dangerous) to use in DIY conversions. There are two good reasons for this: thermal management and cell configuration.&lt;br /&gt;
&lt;br /&gt;
As stated above, Li-ion cells are prone to thermal runaway. So you need perfect thermal management to ensure that no cell ever exceeds the critical temperature. If this happens, the cell will short-circuit internally, releasing a lot of energy - potentially explosively. Furthermore, the individual cells are small, so need to be arranged in parallel. In the case of the Tesla Model S, there are 74 cells in each parallel. Imagine if one of those cells fails and becomes short circuited internally. You now have 73 very high power cells in parallel feeding in to that short circuit. In fact, you don&#039;t have to imagine: you can watch this famous video instead (courtesy of Rich Rebuilds).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;youtube&amp;gt;WdDi1haA71Q&amp;lt;/youtube&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== OEM modules ==&lt;br /&gt;
Using an OEM module means a lot of the difficulties associated with battery design are taken care of e.g. cooling, clamping, etc. Here is a list of OEM modules.&lt;br /&gt;
{| class=&amp;quot;wikitable sortable mw-collapsible&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!Manufacturer&lt;br /&gt;
!Type&lt;br /&gt;
!Capacity (kWh)&lt;br /&gt;
!Weight (kg)&lt;br /&gt;
!w (mm)&lt;br /&gt;
!d (mm)&lt;br /&gt;
!h (mm)&lt;br /&gt;
!Gravity (kg/kWh)&lt;br /&gt;
!Volume (L/kWh)&lt;br /&gt;
!Voltage (V)&lt;br /&gt;
!Current (cont A)&lt;br /&gt;
!Current (peak A)&lt;br /&gt;
!Cell arrangement&lt;br /&gt;
!Cell type&lt;br /&gt;
!Chemistry&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model S 85kWh&lt;br /&gt;
|5.3&lt;br /&gt;
|26&lt;br /&gt;
|690&lt;br /&gt;
|315&lt;br /&gt;
|80&lt;br /&gt;
|4.9&lt;br /&gt;
|3.3&lt;br /&gt;
|22.8&lt;br /&gt;
|500&lt;br /&gt;
|750&lt;br /&gt;
|74p6s&lt;br /&gt;
|18650&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model S 100kWh&lt;br /&gt;
|6.4&lt;br /&gt;
|28&lt;br /&gt;
|680&lt;br /&gt;
|315&lt;br /&gt;
|80&lt;br /&gt;
|4.4&lt;br /&gt;
|2.7&lt;br /&gt;
|22.8&lt;br /&gt;
|&lt;br /&gt;
|870&lt;br /&gt;
|86p6s&lt;br /&gt;
|18650&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Chevrolet&lt;br /&gt;
|Volt 2012&lt;br /&gt;
|4&lt;br /&gt;
|38&lt;br /&gt;
|470&lt;br /&gt;
|180&lt;br /&gt;
|280&lt;br /&gt;
|9.5&lt;br /&gt;
|5.9&lt;br /&gt;
|88&lt;br /&gt;
|140&lt;br /&gt;
|210&lt;br /&gt;
|24s&lt;br /&gt;
|Pouch&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|BMW&lt;br /&gt;
|i3 60Ah&lt;br /&gt;
|2&lt;br /&gt;
|13&lt;br /&gt;
|368&lt;br /&gt;
|178&lt;br /&gt;
|102&lt;br /&gt;
|6.5&lt;br /&gt;
|3.3&lt;br /&gt;
|28.8&lt;br /&gt;
|210&lt;br /&gt;
|350&lt;br /&gt;
|8s2p&lt;br /&gt;
|Prismatic&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|BMW&lt;br /&gt;
|i3 94Ah&lt;br /&gt;
|4.15&lt;br /&gt;
|28&lt;br /&gt;
|410&lt;br /&gt;
|310&lt;br /&gt;
|150&lt;br /&gt;
|6.7&lt;br /&gt;
|4.6&lt;br /&gt;
|45.6&lt;br /&gt;
|&lt;br /&gt;
|409&lt;br /&gt;
|12s&lt;br /&gt;
|Prismatic&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|BMW&lt;br /&gt;
|i3 120Ah&lt;br /&gt;
|5.3&lt;br /&gt;
|28&lt;br /&gt;
|410&lt;br /&gt;
|310&lt;br /&gt;
|150&lt;br /&gt;
|5.3&lt;br /&gt;
|3.6&lt;br /&gt;
|45.6&lt;br /&gt;
|&lt;br /&gt;
|360&lt;br /&gt;
|12s&lt;br /&gt;
|Prismatic&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Mitsubishi&lt;br /&gt;
|Outlander&lt;br /&gt;
|2.4&lt;br /&gt;
|26&lt;br /&gt;
|646&lt;br /&gt;
|184&lt;br /&gt;
|130&lt;br /&gt;
|10.8&lt;br /&gt;
|6.4&lt;br /&gt;
|60&lt;br /&gt;
|&lt;br /&gt;
|240&lt;br /&gt;
|16s&lt;br /&gt;
|&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Nissan&lt;br /&gt;
|Leaf 24kWh&lt;br /&gt;
|0.5&lt;br /&gt;
|3.65&lt;br /&gt;
|300&lt;br /&gt;
|222&lt;br /&gt;
|34&lt;br /&gt;
|7.3&lt;br /&gt;
|4.5&lt;br /&gt;
|7.4&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|2s2p&lt;br /&gt;
|&lt;br /&gt;
|Li-ion&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Clanger9</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Batteries&amp;diff=1164</id>
		<title>Batteries</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Batteries&amp;diff=1164"/>
		<updated>2020-11-30T21:01:42Z</updated>

		<summary type="html">&lt;p&gt;Clanger9: /* OEM modules */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
There are a wide variety of battery chemistries available for use as the main traction battery of an EV. To use each chemistry safely, and to ensure an adequate service life from the battery pack it is important to understand the requirements for the chemistry you are using. Failure to do so may lead to premature or catastrophic failure of the pack.&lt;br /&gt;
&lt;br /&gt;
Good pack design will allow for a nominal amount of abuse. People make mistakes and the pack should allow a margin for safety - and for longevity!&lt;br /&gt;
&lt;br /&gt;
== Battery pack specification ==&lt;br /&gt;
When deciding on your battery pack, here are some basic parameters to consider:&lt;br /&gt;
&lt;br /&gt;
=== Capacity (kWh) ===&lt;br /&gt;
&#039;&#039;&#039;How far do you want to go?&#039;&#039;&#039; A standard  car conversion will need around 1kWh for 3 miles of range. For a middleweight motorcycle, 1kWh should give around 9 miles. &#039;&#039;Your mileage may vary&#039;&#039;, as they say.&lt;br /&gt;
&lt;br /&gt;
=== Voltage (V) ===&lt;br /&gt;
&#039;&#039;&#039;How fast do you want to go?&#039;&#039;&#039; The pack voltage defines the maximum speed your motor can spin. Motors are usually specified with &amp;quot;KV&amp;quot; - or RPM-per-volt. Check the KV of your motor and how fast it needs to spin to get your desired top speed. e.g. if you need 3,000 RPM from a 25 KV motor then your pack voltage needs to be  3,000 / 25 = 120 V. The exact number of cells in series you need depends on the cell design, but 3.8 V for Li-ion and 3.2 V for LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; is a reasonable guess.&lt;br /&gt;
&lt;br /&gt;
=== Maximum current (A) ===&lt;br /&gt;
&#039;&#039;&#039;How quickly do you want to accelerate?&#039;&#039;&#039; Your motor&#039;s maximum power will be specified in kW. To estimate your maximum current draw, divide the peak power by the battery voltage. e.g. a 30 kW motor with a 120 V battery pack will pull 30,000 / 120 = 250 A. The higher the current rating of the cells, the heavier they will be for a given capacity. Ideally, you want &amp;quot;enough&amp;quot; current capacity for full throttle acceleration, but no more. You can put cells in parallel to double the current rating of your pack (which of course will half the voltage). &lt;br /&gt;
&lt;br /&gt;
=== Mass (kg) ===&lt;br /&gt;
&#039;&#039;&#039;Can your vehicle carry the weight?&#039;&#039;&#039; You&#039;ll need to keep the kerb weight within the original design limits. For a car, this could be a few hundred kg. For a motorcycle, likely less than 100 kg. This is a huge variable - and each new generation of battery tech seems to be a little lighter. For older EV or hybrid batteries, you can reckon on 10-15 kg/kWh. Nissan Leaf batteries are relatively light (7.5 kg/kWh). With the latest technology (e.g. Kokam pouch cells or 18650s), you can get this down to 5-6 kg/kWh.&lt;br /&gt;
&lt;br /&gt;
=== Volume (L) ===&lt;br /&gt;
&#039;&#039;&#039;Will it fit?&#039;&#039;&#039; Batteries are bulky. They are getting smaller, but finding enough space my be your biggest challenge. You can reckon on 5-10 L/kWh for older EV or hybrid batteries. For the latest technology (e.g. Kokam pouch cells or 18650s), you can get this down to 3-3.5 kg/kWh.&lt;br /&gt;
&lt;br /&gt;
There is much, much more to battery design than this (e.g. maximum charge rate, terminations, cooling, clamping), but the above should help work out which options will or won&#039;t work for your project...&lt;br /&gt;
&lt;br /&gt;
== Cell chemistry ==&lt;br /&gt;
&lt;br /&gt;
=== Lithium Iron Phosphate (LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt;) ===&lt;br /&gt;
Lithium Iron Phosphate (also known as LFP, or LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt;) batteries offer a good compromise between safety, energy density and ease of use for DIY conversions. They are available in a number of formats, commonly pouch cells, prismatic cells and cylindrical cells.&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; pouch cells ====&lt;br /&gt;
The majority of this content is drawn from this thread: [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761&amp;amp;start=900 https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761] discussing the use of the A123 20Ah pouch cell. However, many of the general points apply equally to other similar pouch cells.&lt;br /&gt;
&lt;br /&gt;
===== General build requirements =====&lt;br /&gt;
Pouch cells are vulnerable to damage from debris, and must be held in compression (see the datasheet for your battery, but 10-12 psi is recommended for the A123 pouch cells as a guide). A rigid container capable of preventing damage and providing compression is therefore required. Be aware the cells expand and contract in use, so allowance for this must be included in the structure of the case.&lt;br /&gt;
&lt;br /&gt;
The pouch cells should be separated to prevent abrasion between cells, and also to avoid the development of hot spots. Prebuilt modules from A123 systems had thin foam sheets or heatsinks between each cell. Be sure to avoid any debris that could rub on the pouch surface, particularly if using recycled cells.&lt;br /&gt;
&lt;br /&gt;
Mylar, &#039;[https://www.americanmicroinc.com/fish-paper/ Fish paper]&#039; or a [https://www.rogerscorp.com/elastomeric-material-solutions/poron-industrial-polyurethanes compliant foam] may be appropriate materials to serve this purpose. This material should not be flammable. If the material is heat insulating, it is important to address thermal management.&lt;br /&gt;
&lt;br /&gt;
===== Compression =====&lt;br /&gt;
Compression is required to prevent premature failure of the cell. Without compression electrolyte will become unevenly distributed, causing current gradients in the cell and uneven heating. Local temperatures can become high enough to form gas formation leading to cells &#039;puffing up&#039; even when the pack is otherwise held within temperature and voltage constraints. This will be exacerbated in packs with otherwise poor thermal management. Compression forces gas generated to the margins of the cell, outside of the cell stack, minimising its effect cell performance. Gas in the middle cells will create a dead space which does not store or release energy.&lt;br /&gt;
&lt;br /&gt;
There is ~1% expansion through a discharge cycle. As the cell ages, the nominal cell thickness can grow by 3-5%. For A123 cells the ideal pressure is between 4 and 18psi with the ideal pressure being ~12psi. Maintaining 12psi can increase the life by 500 cycles over that of 4 or 18psi&lt;br /&gt;
&lt;br /&gt;
There is some suggestion that in uses where 1C is never exceeded compression &#039;&#039;may&#039;&#039; not be required.&lt;br /&gt;
&lt;br /&gt;
Highly rigid endplates with a mechanism to allow for a limited degree of expansion (e.g. steel bands) are considered an effective solution to this challenge.&lt;br /&gt;
&lt;br /&gt;
It should be noted that compression is a challenge specific to pouch cells. Cylindrical cells are designed to maintain their own compression within the cell&#039;s electrode stack by their design.&lt;br /&gt;
&lt;br /&gt;
This thread provides more information and experimentation relating to pack compression: &amp;lt;nowiki&amp;gt;https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=52244&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Pouch Cell Pack Design Examples =====&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;placeholder*&lt;br /&gt;
&lt;br /&gt;
===== Notes regarding recycled pouch cells =====&lt;br /&gt;
Pouch cells are somewhat fragile, and breaching the insulation is not difficult, especially in a cells removed from existing packs and repurposed. If the pouch has had their poly-layers compromised you may see a number of faults:&lt;br /&gt;
* Black spots around the perimeter of the cell indicate electrolyte leakage&lt;br /&gt;
* Voltage on the outside of the bag. Note that microvoltage between the pouch and the electrode is normal (and due to a capacitive effect).&lt;br /&gt;
While the majority of these cells should no longer be in the market, a significant number of faulty cells made it back into the &#039;greymarket&#039; in around 2013. These cells had misaligned tabs which can also lead to isolation failures between the tab and the pack. These cells should be avoided, particularly in high demand applications.&lt;br /&gt;
&lt;br /&gt;
===== Situations likely to cause pouch cell failure =====&lt;br /&gt;
&#039;&#039;Taken directly from [https://endless-sphere.com/forums/memberlist.php?mode=viewprofile&amp;amp;u=33107 wb9k]&#039;s post on endless sphere in the [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761 A123 thread]&#039;&#039;&lt;br /&gt;
# &#039;&#039;&#039;Overcharge&#039;&#039;&#039;. Any extended time above 3.8 Volts will generate enough heat and electrochemical activity to puff a cell, especially one that is improperly compressed.&lt;br /&gt;
# &#039;&#039;&#039;Overdischarge followed by charge&#039;&#039;&#039;. Any A123 cell that has been pulled low enough to come to rest at &amp;lt;300 mV should be immediately scrapped. The published number for that is 500 mV, but the real figure is closer to 300, so that&#039;s a &amp;quot;safety buffer&amp;quot; if you will. Below this Voltage, the Cu electrodes start to dissolve into the electrolyte. When charge is applied, the Cu forms dendrites that puncture the separator layer, forming an internal short in the cell. This can puff a cell in a hurry---the more charge current on tap, the worse it&#039;s prone to be.&lt;br /&gt;
# &#039;&#039;&#039;Driving a cell negative&#039;&#039;&#039;. I&#039;ve neglected to mention this before, but it is a possibility. I don&#039;t know much about the specific mechanism at this time.&lt;br /&gt;
# &#039;&#039;&#039;Malfunctioning or misinformed electronics&#039;&#039;&#039;. This is the most common cause of all of the above in my experience. At this stage of the game, it is critical for YOU to understand how your BMS functions on at least a cursory level. Choose your BMS very carefully and periodically verify that it is operating properly. They&#039;re not all created equal. Make sure V sense lines are securely connected and free of corrosion. Just because your BMS says there was never a problem doesn&#039;t necessarily make it so. Avoid harnesses or ribbon cables between multiple modules if possible--they are problematic wherever they are used in any mobile electronics.&lt;br /&gt;
# &#039;&#039;&#039;Exposure to or generation of sufficient heat&#039;&#039;&#039;. I don&#039;t know exactly at what temperature gas formation begins in the electrolyte, but we spec a max storage temp of 80 (or 85?) degrees C and I suspect this is the reason. The hotter, the puffier--to a point. This is why soldering tabs poses a real hazard to cell health. If you feel you must solder, sink or blow the heat away from the body of the cell. Use a big iron that can make sufficient local heat quickly, before the whole mass of the cell gets hot. You might even get the cell warm enough to melt separator if not careful.&lt;br /&gt;
# &#039;&#039;&#039;No compression, not enough compression, improperly distributed compression&#039;&#039;&#039;. This is a pack/module design issue. Apply 10, maybe 15 psi to your cell stack end to end and then band snugly and evenly. Use hard endplates of some sort--never wrap cells directly or allow their shape to become distorted. Protect all areas of the pouch from impact damage. This obviously does not apply to cylindrical cells.&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; prismatic cells ====&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;placeholder*&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; cylindrical cells ====&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;placeholder*&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; cell ageing ====&lt;br /&gt;
&#039;&#039;Derived (barely paraphrased) from [https://endless-sphere.com/forums/memberlist.php?mode=viewprofile&amp;amp;u=33107 wb9k]&#039;s post on endless sphere in the [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761 A123 thread]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Capacity loss is caused by the lithium that was available for storage becoming permanently plated on the cathode. Being unable to move within the cell it is no longer available to store energy. The impact of this plating is greater than the amount of lithium &#039;lost&#039; to plating because not only is the lithium no longer available, it is also preventing access to that part of the cathode meaning Li that can still move has to take a longer path to reach the cathode. Lithium plating is one cause of increased cell resistance (there are others), a sign of worsening cell health.&lt;br /&gt;
&lt;br /&gt;
There is no linear relationship between actual capacity loss and impedance rise. However some cell defects will also increase impedance.&lt;br /&gt;
&lt;br /&gt;
Increasing cell resistance may cause a number of symptoms which may be confused with [https://earthshipbiotecture.com/a-lithium-ion-battery-primer/ High Self Discharge.]&lt;br /&gt;
# Elevated Peukert Losses. As more energy per amount of current through the cell is lost as heat, the cells useable capacity decreases. So the apparent capacity loss is higher than the actual capacity loss of cycleable lithium. When used in low current applications (e.g. solar energy storage) the actual and apparent decrease in capacity will be small. In high current draw applications (like EV traction packs), the Peukert loss increases proportionally, so the apparent capacity loss increases much faster than the actual capacity loss.&lt;br /&gt;
# Greater voltage excursion under the same load. Due to increased cell resistancethe voltage will sag further under the same load than a cell in optimal condition. The inverse is also true, the voltage will be higher for the same amount of charging current applied. The cell will then rebound to a voltage further from the loaded and charging voltages. This, obviously, can look like high self discharge but is a different phenomenon.&lt;br /&gt;
# Absolute maximum current decrease.&lt;br /&gt;
Elevated impedance causes a more complex constellation of symptoms, some of which may be easy to confuse with High Self Discharge (HSD). Ohm&#039;s law (E=I/R) holds the key to understanding here.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1) Elevated Peukert losses.&#039;&#039;&#039; Because more energy per unit of current through the cell is lost as heat, less of the cell&#039;s capacity is actually USABLE. Thus, apparent capacity loss can be significantly greater than actual capacity loss caused by the loss of cycleable Li alone. In low current applications, the two numbers will be close together. In high current applications, Peukert losses increase in proportion, so apparent loss of capacity breaks further and further away from actual capacity loss as current increases.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2) Greater voltage excursion under the same load.&#039;&#039;&#039; Elevated resistance across the cell means that voltage will sag more under the same load than it did when the cell was healthier. Conversely, voltage will rise higher with the same amount of applied charge current than it did when it was healthier. At the same time, rebound/settling voltages will be further away from loaded/charging voltages. In other words, the cell will rebound to a voltage further away from loaded voltage, all else being equal. Similarly, voltage will settle farther from the charge voltage with the same charge applied. This can give the illusion of elevated self-discharge, but the phenomenon is actually not the same thing. Again, the greater the charge and load currents, the greater the effect becomes.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3) Absolute max current decreases.&#039;&#039;&#039; Because the cell&#039;s series resistance is elevated, the maximum possible current through the cell is decreased.&lt;br /&gt;
&lt;br /&gt;
Just to confuse things further, there can be many factors that lead to impedance rise. Some are related to Li plating, others are not.&lt;br /&gt;
&lt;br /&gt;
=== Lithium-ion ===&lt;br /&gt;
Lithium-ion (Li-ion) batteries have a greater energy density than Lithium Iron Phosphate batteries, but have more challenging needs to use safely. The ideal operating range of Li-ion batteries is between +15 and +45°C. The upper limit of temperature is particularly important as Li-ion batteries experience thermal runaway - an unstoppable chain reaction that can occur in milliseconds releasing the stored energy in the cell. This can produce temperatures of 400°C and a fire that is extremely difficult to put out. Thermal runaway can start as low as 60°C and becomes much more likely at 100°C&lt;br /&gt;
&lt;br /&gt;
Risk factors for thermal runaway:&lt;br /&gt;
* Short Circuits - either internally or externally&lt;br /&gt;
* Overcharging&lt;br /&gt;
* Excessive current draw or when charging&lt;br /&gt;
&lt;br /&gt;
==== Li-ion pouch cells ====&lt;br /&gt;
[https://kokam.com/cell Kokam] produce high-performance Li-ion pouch cells. These combine relative ease of use and pack construction with performance close to cylindrical cells. &lt;br /&gt;
&lt;br /&gt;
==== Li-ion 18650 and other cylindrical cells ====&lt;br /&gt;
Cylindrical cells are favoured by Tesla, and are probably the main reason why their cars achieve such excellent performance. They are light, compact, powerful and expensive. Unfortunately, cylindrical cells are staggeringly difficult (and dangerous) to use in DIY conversions. There are two good reasons for this: thermal management and cell configuration.&lt;br /&gt;
&lt;br /&gt;
As stated above, Li-ion cells are prone to thermal runaway. So you need perfect thermal management to ensure that no cell ever exceeds the critical temperature. If this happens, the cell will short-circuit internally, releasing a lot of energy - potentially explosively. Furthermore, the individual cells are small, so need to be arranged in parallel. In the case of the Tesla Model S, there are 74 cells in each parallel. Imagine if one of those cells fails and becomes short circuited internally. You now have 73 very high power cells in parallel feeding in to that short circuit. In fact, you don&#039;t have to imagine: you can watch this famous video instead (courtesy of Rich Rebuilds).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;youtube&amp;gt;WdDi1haA71Q&amp;lt;/youtube&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== OEM modules ==&lt;br /&gt;
Using an OEM module means a lot of the difficulties associated with battery design are taken care of e.g. cooling, clamping, etc. Here is a list of OEM modules.&lt;br /&gt;
{| class=&amp;quot;wikitable sortable mw-collapsible&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!Manufacturer&lt;br /&gt;
!Type&lt;br /&gt;
!Capacity (kWh)&lt;br /&gt;
!Weight (kg)&lt;br /&gt;
!w (mm)&lt;br /&gt;
!d (mm)&lt;br /&gt;
!h (mm)&lt;br /&gt;
!Gravity (kg/kWh)&lt;br /&gt;
!Volume (L/kWh)&lt;br /&gt;
!Voltage (V)&lt;br /&gt;
!Current (cont A)&lt;br /&gt;
!Current (peak A)&lt;br /&gt;
!Cell arrangement&lt;br /&gt;
!Cell type&lt;br /&gt;
!Chemistry&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model S&lt;br /&gt;
|5.3&lt;br /&gt;
|25&lt;br /&gt;
|666&lt;br /&gt;
|303&lt;br /&gt;
|79&lt;br /&gt;
|4.7&lt;br /&gt;
|3.0&lt;br /&gt;
|22.8&lt;br /&gt;
|500&lt;br /&gt;
|750&lt;br /&gt;
|74p6s&lt;br /&gt;
|18650&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Chevrolet&lt;br /&gt;
|Volt 2012&lt;br /&gt;
|4&lt;br /&gt;
|38&lt;br /&gt;
|470&lt;br /&gt;
|180&lt;br /&gt;
|280&lt;br /&gt;
|9.5&lt;br /&gt;
|5.9&lt;br /&gt;
|88&lt;br /&gt;
|140&lt;br /&gt;
|210&lt;br /&gt;
|24s&lt;br /&gt;
|Pouch&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|BMW&lt;br /&gt;
|i3 60Ah&lt;br /&gt;
|2&lt;br /&gt;
|13&lt;br /&gt;
|368&lt;br /&gt;
|178&lt;br /&gt;
|102&lt;br /&gt;
|6.5&lt;br /&gt;
|3.3&lt;br /&gt;
|28.8&lt;br /&gt;
|210&lt;br /&gt;
|350&lt;br /&gt;
|8s2p&lt;br /&gt;
|Prismatic&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|BMW&lt;br /&gt;
|i3 94Ah&lt;br /&gt;
|4.15&lt;br /&gt;
|28&lt;br /&gt;
|410&lt;br /&gt;
|310&lt;br /&gt;
|150&lt;br /&gt;
|6.7&lt;br /&gt;
|4.6&lt;br /&gt;
|45.6&lt;br /&gt;
|&lt;br /&gt;
|409&lt;br /&gt;
|12s&lt;br /&gt;
|Prismatic&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|BMW&lt;br /&gt;
|i3 120Ah&lt;br /&gt;
|5.3&lt;br /&gt;
|28&lt;br /&gt;
|410&lt;br /&gt;
|310&lt;br /&gt;
|150&lt;br /&gt;
|5.3&lt;br /&gt;
|3.6&lt;br /&gt;
|45.6&lt;br /&gt;
|&lt;br /&gt;
|360&lt;br /&gt;
|12s&lt;br /&gt;
|Prismatic&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Mitsubishi&lt;br /&gt;
|Outlander&lt;br /&gt;
|2.4&lt;br /&gt;
|26&lt;br /&gt;
|646&lt;br /&gt;
|184&lt;br /&gt;
|130&lt;br /&gt;
|10.8&lt;br /&gt;
|6.4&lt;br /&gt;
|60&lt;br /&gt;
|&lt;br /&gt;
|240&lt;br /&gt;
|16s&lt;br /&gt;
|&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Nissan&lt;br /&gt;
|Leaf 24kWh&lt;br /&gt;
|0.5&lt;br /&gt;
|3.65&lt;br /&gt;
|300&lt;br /&gt;
|222&lt;br /&gt;
|34&lt;br /&gt;
|7.3&lt;br /&gt;
|4.5&lt;br /&gt;
|7.4&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|2s2p&lt;br /&gt;
|&lt;br /&gt;
|Li-ion&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Clanger9</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Batteries&amp;diff=1163</id>
		<title>Batteries</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Batteries&amp;diff=1163"/>
		<updated>2020-11-30T20:46:02Z</updated>

		<summary type="html">&lt;p&gt;Clanger9: /* OEM modules */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
There are a wide variety of battery chemistries available for use as the main traction battery of an EV. To use each chemistry safely, and to ensure an adequate service life from the battery pack it is important to understand the requirements for the chemistry you are using. Failure to do so may lead to premature or catastrophic failure of the pack.&lt;br /&gt;
&lt;br /&gt;
Good pack design will allow for a nominal amount of abuse. People make mistakes and the pack should allow a margin for safety - and for longevity!&lt;br /&gt;
&lt;br /&gt;
== Battery pack specification ==&lt;br /&gt;
When deciding on your battery pack, here are some basic parameters to consider:&lt;br /&gt;
&lt;br /&gt;
=== Capacity (kWh) ===&lt;br /&gt;
&#039;&#039;&#039;How far do you want to go?&#039;&#039;&#039; A standard  car conversion will need around 1kWh for 3 miles of range. For a middleweight motorcycle, 1kWh should give around 9 miles. &#039;&#039;Your mileage may vary&#039;&#039;, as they say.&lt;br /&gt;
&lt;br /&gt;
=== Voltage (V) ===&lt;br /&gt;
&#039;&#039;&#039;How fast do you want to go?&#039;&#039;&#039; The pack voltage defines the maximum speed your motor can spin. Motors are usually specified with &amp;quot;KV&amp;quot; - or RPM-per-volt. Check the KV of your motor and how fast it needs to spin to get your desired top speed. e.g. if you need 3,000 RPM from a 25 KV motor then your pack voltage needs to be  3,000 / 25 = 120 V. The exact number of cells in series you need depends on the cell design, but 3.8 V for Li-ion and 3.2 V for LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; is a reasonable guess.&lt;br /&gt;
&lt;br /&gt;
=== Maximum current (A) ===&lt;br /&gt;
&#039;&#039;&#039;How quickly do you want to accelerate?&#039;&#039;&#039; Your motor&#039;s maximum power will be specified in kW. To estimate your maximum current draw, divide the peak power by the battery voltage. e.g. a 30 kW motor with a 120 V battery pack will pull 30,000 / 120 = 250 A. The higher the current rating of the cells, the heavier they will be for a given capacity. Ideally, you want &amp;quot;enough&amp;quot; current capacity for full throttle acceleration, but no more. You can put cells in parallel to double the current rating of your pack (which of course will half the voltage). &lt;br /&gt;
&lt;br /&gt;
=== Mass (kg) ===&lt;br /&gt;
&#039;&#039;&#039;Can your vehicle carry the weight?&#039;&#039;&#039; You&#039;ll need to keep the kerb weight within the original design limits. For a car, this could be a few hundred kg. For a motorcycle, likely less than 100 kg. This is a huge variable - and each new generation of battery tech seems to be a little lighter. For older EV or hybrid batteries, you can reckon on 10-15 kg/kWh. Nissan Leaf batteries are relatively light (7.5 kg/kWh). With the latest technology (e.g. Kokam pouch cells or 18650s), you can get this down to 5-6 kg/kWh.&lt;br /&gt;
&lt;br /&gt;
=== Volume (L) ===&lt;br /&gt;
&#039;&#039;&#039;Will it fit?&#039;&#039;&#039; Batteries are bulky. They are getting smaller, but finding enough space my be your biggest challenge. You can reckon on 5-10 L/kWh for older EV or hybrid batteries. For the latest technology (e.g. Kokam pouch cells or 18650s), you can get this down to 3-3.5 kg/kWh.&lt;br /&gt;
&lt;br /&gt;
There is much, much more to battery design than this (e.g. maximum charge rate, terminations, cooling, clamping), but the above should help work out which options will or won&#039;t work for your project...&lt;br /&gt;
&lt;br /&gt;
== Cell chemistry ==&lt;br /&gt;
&lt;br /&gt;
=== Lithium Iron Phosphate (LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt;) ===&lt;br /&gt;
Lithium Iron Phosphate (also known as LFP, or LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt;) batteries offer a good compromise between safety, energy density and ease of use for DIY conversions. They are available in a number of formats, commonly pouch cells, prismatic cells and cylindrical cells.&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; pouch cells ====&lt;br /&gt;
The majority of this content is drawn from this thread: [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761&amp;amp;start=900 https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761] discussing the use of the A123 20Ah pouch cell. However, many of the general points apply equally to other similar pouch cells.&lt;br /&gt;
&lt;br /&gt;
===== General build requirements =====&lt;br /&gt;
Pouch cells are vulnerable to damage from debris, and must be held in compression (see the datasheet for your battery, but 10-12 psi is recommended for the A123 pouch cells as a guide). A rigid container capable of preventing damage and providing compression is therefore required. Be aware the cells expand and contract in use, so allowance for this must be included in the structure of the case.&lt;br /&gt;
&lt;br /&gt;
The pouch cells should be separated to prevent abrasion between cells, and also to avoid the development of hot spots. Prebuilt modules from A123 systems had thin foam sheets or heatsinks between each cell. Be sure to avoid any debris that could rub on the pouch surface, particularly if using recycled cells.&lt;br /&gt;
&lt;br /&gt;
Mylar, &#039;[https://www.americanmicroinc.com/fish-paper/ Fish paper]&#039; or a [https://www.rogerscorp.com/elastomeric-material-solutions/poron-industrial-polyurethanes compliant foam] may be appropriate materials to serve this purpose. This material should not be flammable. If the material is heat insulating, it is important to address thermal management.&lt;br /&gt;
&lt;br /&gt;
===== Compression =====&lt;br /&gt;
Compression is required to prevent premature failure of the cell. Without compression electrolyte will become unevenly distributed, causing current gradients in the cell and uneven heating. Local temperatures can become high enough to form gas formation leading to cells &#039;puffing up&#039; even when the pack is otherwise held within temperature and voltage constraints. This will be exacerbated in packs with otherwise poor thermal management. Compression forces gas generated to the margins of the cell, outside of the cell stack, minimising its effect cell performance. Gas in the middle cells will create a dead space which does not store or release energy.&lt;br /&gt;
&lt;br /&gt;
There is ~1% expansion through a discharge cycle. As the cell ages, the nominal cell thickness can grow by 3-5%. For A123 cells the ideal pressure is between 4 and 18psi with the ideal pressure being ~12psi. Maintaining 12psi can increase the life by 500 cycles over that of 4 or 18psi&lt;br /&gt;
&lt;br /&gt;
There is some suggestion that in uses where 1C is never exceeded compression &#039;&#039;may&#039;&#039; not be required.&lt;br /&gt;
&lt;br /&gt;
Highly rigid endplates with a mechanism to allow for a limited degree of expansion (e.g. steel bands) are considered an effective solution to this challenge.&lt;br /&gt;
&lt;br /&gt;
It should be noted that compression is a challenge specific to pouch cells. Cylindrical cells are designed to maintain their own compression within the cell&#039;s electrode stack by their design.&lt;br /&gt;
&lt;br /&gt;
This thread provides more information and experimentation relating to pack compression: &amp;lt;nowiki&amp;gt;https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=52244&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Pouch Cell Pack Design Examples =====&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;placeholder*&lt;br /&gt;
&lt;br /&gt;
===== Notes regarding recycled pouch cells =====&lt;br /&gt;
Pouch cells are somewhat fragile, and breaching the insulation is not difficult, especially in a cells removed from existing packs and repurposed. If the pouch has had their poly-layers compromised you may see a number of faults:&lt;br /&gt;
* Black spots around the perimeter of the cell indicate electrolyte leakage&lt;br /&gt;
* Voltage on the outside of the bag. Note that microvoltage between the pouch and the electrode is normal (and due to a capacitive effect).&lt;br /&gt;
While the majority of these cells should no longer be in the market, a significant number of faulty cells made it back into the &#039;greymarket&#039; in around 2013. These cells had misaligned tabs which can also lead to isolation failures between the tab and the pack. These cells should be avoided, particularly in high demand applications.&lt;br /&gt;
&lt;br /&gt;
===== Situations likely to cause pouch cell failure =====&lt;br /&gt;
&#039;&#039;Taken directly from [https://endless-sphere.com/forums/memberlist.php?mode=viewprofile&amp;amp;u=33107 wb9k]&#039;s post on endless sphere in the [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761 A123 thread]&#039;&#039;&lt;br /&gt;
# &#039;&#039;&#039;Overcharge&#039;&#039;&#039;. Any extended time above 3.8 Volts will generate enough heat and electrochemical activity to puff a cell, especially one that is improperly compressed.&lt;br /&gt;
# &#039;&#039;&#039;Overdischarge followed by charge&#039;&#039;&#039;. Any A123 cell that has been pulled low enough to come to rest at &amp;lt;300 mV should be immediately scrapped. The published number for that is 500 mV, but the real figure is closer to 300, so that&#039;s a &amp;quot;safety buffer&amp;quot; if you will. Below this Voltage, the Cu electrodes start to dissolve into the electrolyte. When charge is applied, the Cu forms dendrites that puncture the separator layer, forming an internal short in the cell. This can puff a cell in a hurry---the more charge current on tap, the worse it&#039;s prone to be.&lt;br /&gt;
# &#039;&#039;&#039;Driving a cell negative&#039;&#039;&#039;. I&#039;ve neglected to mention this before, but it is a possibility. I don&#039;t know much about the specific mechanism at this time.&lt;br /&gt;
# &#039;&#039;&#039;Malfunctioning or misinformed electronics&#039;&#039;&#039;. This is the most common cause of all of the above in my experience. At this stage of the game, it is critical for YOU to understand how your BMS functions on at least a cursory level. Choose your BMS very carefully and periodically verify that it is operating properly. They&#039;re not all created equal. Make sure V sense lines are securely connected and free of corrosion. Just because your BMS says there was never a problem doesn&#039;t necessarily make it so. Avoid harnesses or ribbon cables between multiple modules if possible--they are problematic wherever they are used in any mobile electronics.&lt;br /&gt;
# &#039;&#039;&#039;Exposure to or generation of sufficient heat&#039;&#039;&#039;. I don&#039;t know exactly at what temperature gas formation begins in the electrolyte, but we spec a max storage temp of 80 (or 85?) degrees C and I suspect this is the reason. The hotter, the puffier--to a point. This is why soldering tabs poses a real hazard to cell health. If you feel you must solder, sink or blow the heat away from the body of the cell. Use a big iron that can make sufficient local heat quickly, before the whole mass of the cell gets hot. You might even get the cell warm enough to melt separator if not careful.&lt;br /&gt;
# &#039;&#039;&#039;No compression, not enough compression, improperly distributed compression&#039;&#039;&#039;. This is a pack/module design issue. Apply 10, maybe 15 psi to your cell stack end to end and then band snugly and evenly. Use hard endplates of some sort--never wrap cells directly or allow their shape to become distorted. Protect all areas of the pouch from impact damage. This obviously does not apply to cylindrical cells.&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; prismatic cells ====&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;placeholder*&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; cylindrical cells ====&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;placeholder*&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; cell ageing ====&lt;br /&gt;
&#039;&#039;Derived (barely paraphrased) from [https://endless-sphere.com/forums/memberlist.php?mode=viewprofile&amp;amp;u=33107 wb9k]&#039;s post on endless sphere in the [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761 A123 thread]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Capacity loss is caused by the lithium that was available for storage becoming permanently plated on the cathode. Being unable to move within the cell it is no longer available to store energy. The impact of this plating is greater than the amount of lithium &#039;lost&#039; to plating because not only is the lithium no longer available, it is also preventing access to that part of the cathode meaning Li that can still move has to take a longer path to reach the cathode. Lithium plating is one cause of increased cell resistance (there are others), a sign of worsening cell health.&lt;br /&gt;
&lt;br /&gt;
There is no linear relationship between actual capacity loss and impedance rise. However some cell defects will also increase impedance.&lt;br /&gt;
&lt;br /&gt;
Increasing cell resistance may cause a number of symptoms which may be confused with [https://earthshipbiotecture.com/a-lithium-ion-battery-primer/ High Self Discharge.]&lt;br /&gt;
# Elevated Peukert Losses. As more energy per amount of current through the cell is lost as heat, the cells useable capacity decreases. So the apparent capacity loss is higher than the actual capacity loss of cycleable lithium. When used in low current applications (e.g. solar energy storage) the actual and apparent decrease in capacity will be small. In high current draw applications (like EV traction packs), the Peukert loss increases proportionally, so the apparent capacity loss increases much faster than the actual capacity loss.&lt;br /&gt;
# Greater voltage excursion under the same load. Due to increased cell resistancethe voltage will sag further under the same load than a cell in optimal condition. The inverse is also true, the voltage will be higher for the same amount of charging current applied. The cell will then rebound to a voltage further from the loaded and charging voltages. This, obviously, can look like high self discharge but is a different phenomenon.&lt;br /&gt;
# Absolute maximum current decrease.&lt;br /&gt;
Elevated impedance causes a more complex constellation of symptoms, some of which may be easy to confuse with High Self Discharge (HSD). Ohm&#039;s law (E=I/R) holds the key to understanding here.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1) Elevated Peukert losses.&#039;&#039;&#039; Because more energy per unit of current through the cell is lost as heat, less of the cell&#039;s capacity is actually USABLE. Thus, apparent capacity loss can be significantly greater than actual capacity loss caused by the loss of cycleable Li alone. In low current applications, the two numbers will be close together. In high current applications, Peukert losses increase in proportion, so apparent loss of capacity breaks further and further away from actual capacity loss as current increases.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2) Greater voltage excursion under the same load.&#039;&#039;&#039; Elevated resistance across the cell means that voltage will sag more under the same load than it did when the cell was healthier. Conversely, voltage will rise higher with the same amount of applied charge current than it did when it was healthier. At the same time, rebound/settling voltages will be further away from loaded/charging voltages. In other words, the cell will rebound to a voltage further away from loaded voltage, all else being equal. Similarly, voltage will settle farther from the charge voltage with the same charge applied. This can give the illusion of elevated self-discharge, but the phenomenon is actually not the same thing. Again, the greater the charge and load currents, the greater the effect becomes.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3) Absolute max current decreases.&#039;&#039;&#039; Because the cell&#039;s series resistance is elevated, the maximum possible current through the cell is decreased.&lt;br /&gt;
&lt;br /&gt;
Just to confuse things further, there can be many factors that lead to impedance rise. Some are related to Li plating, others are not.&lt;br /&gt;
&lt;br /&gt;
=== Lithium-ion ===&lt;br /&gt;
Lithium-ion (Li-ion) batteries have a greater energy density than Lithium Iron Phosphate batteries, but have more challenging needs to use safely. The ideal operating range of Li-ion batteries is between +15 and +45°C. The upper limit of temperature is particularly important as Li-ion batteries experience thermal runaway - an unstoppable chain reaction that can occur in milliseconds releasing the stored energy in the cell. This can produce temperatures of 400°C and a fire that is extremely difficult to put out. Thermal runaway can start as low as 60°C and becomes much more likely at 100°C&lt;br /&gt;
&lt;br /&gt;
Risk factors for thermal runaway:&lt;br /&gt;
* Short Circuits - either internally or externally&lt;br /&gt;
* Overcharging&lt;br /&gt;
* Excessive current draw or when charging&lt;br /&gt;
&lt;br /&gt;
==== Li-ion pouch cells ====&lt;br /&gt;
[https://kokam.com/cell Kokam] produce high-performance Li-ion pouch cells. These combine relative ease of use and pack construction with performance close to cylindrical cells. &lt;br /&gt;
&lt;br /&gt;
==== Li-ion 18650 and other cylindrical cells ====&lt;br /&gt;
Cylindrical cells are favoured by Tesla, and are probably the main reason why their cars achieve such excellent performance. They are light, compact, powerful and expensive. Unfortunately, cylindrical cells are staggeringly difficult (and dangerous) to use in DIY conversions. There are two good reasons for this: thermal management and cell configuration.&lt;br /&gt;
&lt;br /&gt;
As stated above, Li-ion cells are prone to thermal runaway. So you need perfect thermal management to ensure that no cell ever exceeds the critical temperature. If this happens, the cell will short-circuit internally, releasing a lot of energy - potentially explosively. Furthermore, the individual cells are small, so need to be arranged in parallel. In the case of the Tesla Model S, there are 74 cells in each parallel. Imagine if one of those cells fails and becomes short circuited internally. You now have 73 very high power cells in parallel feeding in to that short circuit. In fact, you don&#039;t have to imagine: you can watch this famous video instead (courtesy of Rich Rebuilds).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;youtube&amp;gt;WdDi1haA71Q&amp;lt;/youtube&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== OEM modules ==&lt;br /&gt;
Using an OEM module means a lot of the difficulties associated with battery design are taken care of e.g. cooling, clamping, etc. Here is a list of OEM modules.&lt;br /&gt;
{| class=&amp;quot;wikitable sortable mw-collapsible&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!Manufacturer&lt;br /&gt;
!Type&lt;br /&gt;
!Capacity (kWh)&lt;br /&gt;
!Weight (kg)&lt;br /&gt;
!w (mm)&lt;br /&gt;
!d (mm)&lt;br /&gt;
!h (mm)&lt;br /&gt;
!Gravity (kg/kWh)&lt;br /&gt;
!Volume (L/kWh)&lt;br /&gt;
!Voltage (V)&lt;br /&gt;
!Current (cont A)&lt;br /&gt;
!Current (peak A)&lt;br /&gt;
!Cell arrangement&lt;br /&gt;
!Cell type&lt;br /&gt;
!Chemistry&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model S&lt;br /&gt;
|5.3&lt;br /&gt;
|25&lt;br /&gt;
|666&lt;br /&gt;
|303&lt;br /&gt;
|79&lt;br /&gt;
|4.7&lt;br /&gt;
|3.0&lt;br /&gt;
|22.8&lt;br /&gt;
|500&lt;br /&gt;
|750&lt;br /&gt;
|74p6s&lt;br /&gt;
|18650&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Chevrolet&lt;br /&gt;
|Volt&lt;br /&gt;
|2&lt;br /&gt;
|20.5&lt;br /&gt;
|241&lt;br /&gt;
|241&lt;br /&gt;
|267&lt;br /&gt;
|10.2&lt;br /&gt;
|7.8&lt;br /&gt;
|48&lt;br /&gt;
|240&lt;br /&gt;
|350&lt;br /&gt;
|3p12s&lt;br /&gt;
|Pouch&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|BMW&lt;br /&gt;
|i3 60Ah&lt;br /&gt;
|2&lt;br /&gt;
|13&lt;br /&gt;
|368&lt;br /&gt;
|178&lt;br /&gt;
|102&lt;br /&gt;
|6.5&lt;br /&gt;
|3.3&lt;br /&gt;
|28.8&lt;br /&gt;
|210&lt;br /&gt;
|350&lt;br /&gt;
|8s2p&lt;br /&gt;
|Prismatic&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|BMW&lt;br /&gt;
|i3 94Ah&lt;br /&gt;
|4.15&lt;br /&gt;
|28&lt;br /&gt;
|410&lt;br /&gt;
|310&lt;br /&gt;
|150&lt;br /&gt;
|6.7&lt;br /&gt;
|4.6&lt;br /&gt;
|45&lt;br /&gt;
|&lt;br /&gt;
|280&lt;br /&gt;
|12s1p&lt;br /&gt;
|Prismatic&lt;br /&gt;
|Li-ion&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Clanger9</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Batteries&amp;diff=1162</id>
		<title>Batteries</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Batteries&amp;diff=1162"/>
		<updated>2020-11-30T20:29:42Z</updated>

		<summary type="html">&lt;p&gt;Clanger9: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
There are a wide variety of battery chemistries available for use as the main traction battery of an EV. To use each chemistry safely, and to ensure an adequate service life from the battery pack it is important to understand the requirements for the chemistry you are using. Failure to do so may lead to premature or catastrophic failure of the pack.&lt;br /&gt;
&lt;br /&gt;
Good pack design will allow for a nominal amount of abuse. People make mistakes and the pack should allow a margin for safety - and for longevity!&lt;br /&gt;
&lt;br /&gt;
== Battery pack specification ==&lt;br /&gt;
When deciding on your battery pack, here are some basic parameters to consider:&lt;br /&gt;
&lt;br /&gt;
=== Capacity (kWh) ===&lt;br /&gt;
&#039;&#039;&#039;How far do you want to go?&#039;&#039;&#039; A standard  car conversion will need around 1kWh for 3 miles of range. For a middleweight motorcycle, 1kWh should give around 9 miles. &#039;&#039;Your mileage may vary&#039;&#039;, as they say.&lt;br /&gt;
&lt;br /&gt;
=== Voltage (V) ===&lt;br /&gt;
&#039;&#039;&#039;How fast do you want to go?&#039;&#039;&#039; The pack voltage defines the maximum speed your motor can spin. Motors are usually specified with &amp;quot;KV&amp;quot; - or RPM-per-volt. Check the KV of your motor and how fast it needs to spin to get your desired top speed. e.g. if you need 3,000 RPM from a 25 KV motor then your pack voltage needs to be  3,000 / 25 = 120 V. The exact number of cells in series you need depends on the cell design, but 3.8 V for Li-ion and 3.2 V for LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; is a reasonable guess.&lt;br /&gt;
&lt;br /&gt;
=== Maximum current (A) ===&lt;br /&gt;
&#039;&#039;&#039;How quickly do you want to accelerate?&#039;&#039;&#039; Your motor&#039;s maximum power will be specified in kW. To estimate your maximum current draw, divide the peak power by the battery voltage. e.g. a 30 kW motor with a 120 V battery pack will pull 30,000 / 120 = 250 A. The higher the current rating of the cells, the heavier they will be for a given capacity. Ideally, you want &amp;quot;enough&amp;quot; current capacity for full throttle acceleration, but no more. You can put cells in parallel to double the current rating of your pack (which of course will half the voltage). &lt;br /&gt;
&lt;br /&gt;
=== Mass (kg) ===&lt;br /&gt;
&#039;&#039;&#039;Can your vehicle carry the weight?&#039;&#039;&#039; You&#039;ll need to keep the kerb weight within the original design limits. For a car, this could be a few hundred kg. For a motorcycle, likely less than 100 kg. This is a huge variable - and each new generation of battery tech seems to be a little lighter. For older EV or hybrid batteries, you can reckon on 10-15 kg/kWh. Nissan Leaf batteries are relatively light (7.5 kg/kWh). With the latest technology (e.g. Kokam pouch cells or 18650s), you can get this down to 5-6 kg/kWh.&lt;br /&gt;
&lt;br /&gt;
=== Volume (L) ===&lt;br /&gt;
&#039;&#039;&#039;Will it fit?&#039;&#039;&#039; Batteries are bulky. They are getting smaller, but finding enough space my be your biggest challenge. You can reckon on 5-10 L/kWh for older EV or hybrid batteries. For the latest technology (e.g. Kokam pouch cells or 18650s), you can get this down to 3-3.5 kg/kWh.&lt;br /&gt;
&lt;br /&gt;
There is much, much more to battery design than this (e.g. maximum charge rate, terminations, cooling, clamping), but the above should help work out which options will or won&#039;t work for your project...&lt;br /&gt;
&lt;br /&gt;
== Cell chemistry ==&lt;br /&gt;
&lt;br /&gt;
=== Lithium Iron Phosphate (LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt;) ===&lt;br /&gt;
Lithium Iron Phosphate (also known as LFP, or LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt;) batteries offer a good compromise between safety, energy density and ease of use for DIY conversions. They are available in a number of formats, commonly pouch cells, prismatic cells and cylindrical cells.&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; pouch cells ====&lt;br /&gt;
The majority of this content is drawn from this thread: [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761&amp;amp;start=900 https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761] discussing the use of the A123 20Ah pouch cell. However, many of the general points apply equally to other similar pouch cells.&lt;br /&gt;
&lt;br /&gt;
===== General build requirements =====&lt;br /&gt;
Pouch cells are vulnerable to damage from debris, and must be held in compression (see the datasheet for your battery, but 10-12 psi is recommended for the A123 pouch cells as a guide). A rigid container capable of preventing damage and providing compression is therefore required. Be aware the cells expand and contract in use, so allowance for this must be included in the structure of the case.&lt;br /&gt;
&lt;br /&gt;
The pouch cells should be separated to prevent abrasion between cells, and also to avoid the development of hot spots. Prebuilt modules from A123 systems had thin foam sheets or heatsinks between each cell. Be sure to avoid any debris that could rub on the pouch surface, particularly if using recycled cells.&lt;br /&gt;
&lt;br /&gt;
Mylar, &#039;[https://www.americanmicroinc.com/fish-paper/ Fish paper]&#039; or a [https://www.rogerscorp.com/elastomeric-material-solutions/poron-industrial-polyurethanes compliant foam] may be appropriate materials to serve this purpose. This material should not be flammable. If the material is heat insulating, it is important to address thermal management.&lt;br /&gt;
&lt;br /&gt;
===== Compression =====&lt;br /&gt;
Compression is required to prevent premature failure of the cell. Without compression electrolyte will become unevenly distributed, causing current gradients in the cell and uneven heating. Local temperatures can become high enough to form gas formation leading to cells &#039;puffing up&#039; even when the pack is otherwise held within temperature and voltage constraints. This will be exacerbated in packs with otherwise poor thermal management. Compression forces gas generated to the margins of the cell, outside of the cell stack, minimising its effect cell performance. Gas in the middle cells will create a dead space which does not store or release energy.&lt;br /&gt;
&lt;br /&gt;
There is ~1% expansion through a discharge cycle. As the cell ages, the nominal cell thickness can grow by 3-5%. For A123 cells the ideal pressure is between 4 and 18psi with the ideal pressure being ~12psi. Maintaining 12psi can increase the life by 500 cycles over that of 4 or 18psi&lt;br /&gt;
&lt;br /&gt;
There is some suggestion that in uses where 1C is never exceeded compression &#039;&#039;may&#039;&#039; not be required.&lt;br /&gt;
&lt;br /&gt;
Highly rigid endplates with a mechanism to allow for a limited degree of expansion (e.g. steel bands) are considered an effective solution to this challenge.&lt;br /&gt;
&lt;br /&gt;
It should be noted that compression is a challenge specific to pouch cells. Cylindrical cells are designed to maintain their own compression within the cell&#039;s electrode stack by their design.&lt;br /&gt;
&lt;br /&gt;
This thread provides more information and experimentation relating to pack compression: &amp;lt;nowiki&amp;gt;https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=52244&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Pouch Cell Pack Design Examples =====&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;placeholder*&lt;br /&gt;
&lt;br /&gt;
===== Notes regarding recycled pouch cells =====&lt;br /&gt;
Pouch cells are somewhat fragile, and breaching the insulation is not difficult, especially in a cells removed from existing packs and repurposed. If the pouch has had their poly-layers compromised you may see a number of faults:&lt;br /&gt;
* Black spots around the perimeter of the cell indicate electrolyte leakage&lt;br /&gt;
* Voltage on the outside of the bag. Note that microvoltage between the pouch and the electrode is normal (and due to a capacitive effect).&lt;br /&gt;
While the majority of these cells should no longer be in the market, a significant number of faulty cells made it back into the &#039;greymarket&#039; in around 2013. These cells had misaligned tabs which can also lead to isolation failures between the tab and the pack. These cells should be avoided, particularly in high demand applications.&lt;br /&gt;
&lt;br /&gt;
===== Situations likely to cause pouch cell failure =====&lt;br /&gt;
&#039;&#039;Taken directly from [https://endless-sphere.com/forums/memberlist.php?mode=viewprofile&amp;amp;u=33107 wb9k]&#039;s post on endless sphere in the [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761 A123 thread]&#039;&#039;&lt;br /&gt;
# &#039;&#039;&#039;Overcharge&#039;&#039;&#039;. Any extended time above 3.8 Volts will generate enough heat and electrochemical activity to puff a cell, especially one that is improperly compressed.&lt;br /&gt;
# &#039;&#039;&#039;Overdischarge followed by charge&#039;&#039;&#039;. Any A123 cell that has been pulled low enough to come to rest at &amp;lt;300 mV should be immediately scrapped. The published number for that is 500 mV, but the real figure is closer to 300, so that&#039;s a &amp;quot;safety buffer&amp;quot; if you will. Below this Voltage, the Cu electrodes start to dissolve into the electrolyte. When charge is applied, the Cu forms dendrites that puncture the separator layer, forming an internal short in the cell. This can puff a cell in a hurry---the more charge current on tap, the worse it&#039;s prone to be.&lt;br /&gt;
# &#039;&#039;&#039;Driving a cell negative&#039;&#039;&#039;. I&#039;ve neglected to mention this before, but it is a possibility. I don&#039;t know much about the specific mechanism at this time.&lt;br /&gt;
# &#039;&#039;&#039;Malfunctioning or misinformed electronics&#039;&#039;&#039;. This is the most common cause of all of the above in my experience. At this stage of the game, it is critical for YOU to understand how your BMS functions on at least a cursory level. Choose your BMS very carefully and periodically verify that it is operating properly. They&#039;re not all created equal. Make sure V sense lines are securely connected and free of corrosion. Just because your BMS says there was never a problem doesn&#039;t necessarily make it so. Avoid harnesses or ribbon cables between multiple modules if possible--they are problematic wherever they are used in any mobile electronics.&lt;br /&gt;
# &#039;&#039;&#039;Exposure to or generation of sufficient heat&#039;&#039;&#039;. I don&#039;t know exactly at what temperature gas formation begins in the electrolyte, but we spec a max storage temp of 80 (or 85?) degrees C and I suspect this is the reason. The hotter, the puffier--to a point. This is why soldering tabs poses a real hazard to cell health. If you feel you must solder, sink or blow the heat away from the body of the cell. Use a big iron that can make sufficient local heat quickly, before the whole mass of the cell gets hot. You might even get the cell warm enough to melt separator if not careful.&lt;br /&gt;
# &#039;&#039;&#039;No compression, not enough compression, improperly distributed compression&#039;&#039;&#039;. This is a pack/module design issue. Apply 10, maybe 15 psi to your cell stack end to end and then band snugly and evenly. Use hard endplates of some sort--never wrap cells directly or allow their shape to become distorted. Protect all areas of the pouch from impact damage. This obviously does not apply to cylindrical cells.&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; prismatic cells ====&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;placeholder*&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; cylindrical cells ====&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;placeholder*&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; cell ageing ====&lt;br /&gt;
&#039;&#039;Derived (barely paraphrased) from [https://endless-sphere.com/forums/memberlist.php?mode=viewprofile&amp;amp;u=33107 wb9k]&#039;s post on endless sphere in the [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761 A123 thread]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Capacity loss is caused by the lithium that was available for storage becoming permanently plated on the cathode. Being unable to move within the cell it is no longer available to store energy. The impact of this plating is greater than the amount of lithium &#039;lost&#039; to plating because not only is the lithium no longer available, it is also preventing access to that part of the cathode meaning Li that can still move has to take a longer path to reach the cathode. Lithium plating is one cause of increased cell resistance (there are others), a sign of worsening cell health.&lt;br /&gt;
&lt;br /&gt;
There is no linear relationship between actual capacity loss and impedance rise. However some cell defects will also increase impedance.&lt;br /&gt;
&lt;br /&gt;
Increasing cell resistance may cause a number of symptoms which may be confused with [https://earthshipbiotecture.com/a-lithium-ion-battery-primer/ High Self Discharge.]&lt;br /&gt;
# Elevated Peukert Losses. As more energy per amount of current through the cell is lost as heat, the cells useable capacity decreases. So the apparent capacity loss is higher than the actual capacity loss of cycleable lithium. When used in low current applications (e.g. solar energy storage) the actual and apparent decrease in capacity will be small. In high current draw applications (like EV traction packs), the Peukert loss increases proportionally, so the apparent capacity loss increases much faster than the actual capacity loss.&lt;br /&gt;
# Greater voltage excursion under the same load. Due to increased cell resistancethe voltage will sag further under the same load than a cell in optimal condition. The inverse is also true, the voltage will be higher for the same amount of charging current applied. The cell will then rebound to a voltage further from the loaded and charging voltages. This, obviously, can look like high self discharge but is a different phenomenon.&lt;br /&gt;
# Absolute maximum current decrease.&lt;br /&gt;
Elevated impedance causes a more complex constellation of symptoms, some of which may be easy to confuse with High Self Discharge (HSD). Ohm&#039;s law (E=I/R) holds the key to understanding here.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1) Elevated Peukert losses.&#039;&#039;&#039; Because more energy per unit of current through the cell is lost as heat, less of the cell&#039;s capacity is actually USABLE. Thus, apparent capacity loss can be significantly greater than actual capacity loss caused by the loss of cycleable Li alone. In low current applications, the two numbers will be close together. In high current applications, Peukert losses increase in proportion, so apparent loss of capacity breaks further and further away from actual capacity loss as current increases.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2) Greater voltage excursion under the same load.&#039;&#039;&#039; Elevated resistance across the cell means that voltage will sag more under the same load than it did when the cell was healthier. Conversely, voltage will rise higher with the same amount of applied charge current than it did when it was healthier. At the same time, rebound/settling voltages will be further away from loaded/charging voltages. In other words, the cell will rebound to a voltage further away from loaded voltage, all else being equal. Similarly, voltage will settle farther from the charge voltage with the same charge applied. This can give the illusion of elevated self-discharge, but the phenomenon is actually not the same thing. Again, the greater the charge and load currents, the greater the effect becomes.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3) Absolute max current decreases.&#039;&#039;&#039; Because the cell&#039;s series resistance is elevated, the maximum possible current through the cell is decreased.&lt;br /&gt;
&lt;br /&gt;
Just to confuse things further, there can be many factors that lead to impedance rise. Some are related to Li plating, others are not.&lt;br /&gt;
&lt;br /&gt;
=== Lithium-ion ===&lt;br /&gt;
Lithium-ion (Li-ion) batteries have a greater energy density than Lithium Iron Phosphate batteries, but have more challenging needs to use safely. The ideal operating range of Li-ion batteries is between +15 and +45°C. The upper limit of temperature is particularly important as Li-ion batteries experience thermal runaway - an unstoppable chain reaction that can occur in milliseconds releasing the stored energy in the cell. This can produce temperatures of 400°C and a fire that is extremely difficult to put out. Thermal runaway can start as low as 60°C and becomes much more likely at 100°C&lt;br /&gt;
&lt;br /&gt;
Risk factors for thermal runaway:&lt;br /&gt;
* Short Circuits - either internally or externally&lt;br /&gt;
* Overcharging&lt;br /&gt;
* Excessive current draw or when charging&lt;br /&gt;
&lt;br /&gt;
==== Li-ion pouch cells ====&lt;br /&gt;
[https://kokam.com/cell Kokam] produce high-performance Li-ion pouch cells. These combine relative ease of use and pack construction with performance close to cylindrical cells. &lt;br /&gt;
&lt;br /&gt;
==== Li-ion 18650 and other cylindrical cells ====&lt;br /&gt;
Cylindrical cells are favoured by Tesla, and are probably the main reason why their cars achieve such excellent performance. They are light, compact, powerful and expensive. Unfortunately, cylindrical cells are staggeringly difficult (and dangerous) to use in DIY conversions. There are two good reasons for this: thermal management and cell configuration.&lt;br /&gt;
&lt;br /&gt;
As stated above, Li-ion cells are prone to thermal runaway. So you need perfect thermal management to ensure that no cell ever exceeds the critical temperature. If this happens, the cell will short-circuit internally, releasing a lot of energy - potentially explosively. Furthermore, the individual cells are small, so need to be arranged in parallel. In the case of the Tesla Model S, there are 74 cells in each parallel. Imagine if one of those cells fails and becomes short circuited internally. You now have 73 very high power cells in parallel feeding in to that short circuit. In fact, you don&#039;t have to imagine: you can watch this famous video instead (courtesy of Rich Rebuilds).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;youtube&amp;gt;WdDi1haA71Q&amp;lt;/youtube&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== OEM modules ==&lt;br /&gt;
Using an OEM module means a lot of the difficulties associated with battery design are taken care of e.g. cooling, clamping, etc. Here is a list of OEM modules.&lt;br /&gt;
{| class=&amp;quot;wikitable sortable mw-collapsible&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!Manufacturer&lt;br /&gt;
!Type&lt;br /&gt;
!Capacity (kWh)&lt;br /&gt;
!Weight (kg)&lt;br /&gt;
!w (mm)&lt;br /&gt;
!d (mm)&lt;br /&gt;
!h (mm)&lt;br /&gt;
!Gravity (kg/kWh)&lt;br /&gt;
!Volume (L/kWh)&lt;br /&gt;
!Voltage (V)&lt;br /&gt;
!Current (cont A)&lt;br /&gt;
!Current (peak A)&lt;br /&gt;
!Cell arrangement&lt;br /&gt;
!Cell type&lt;br /&gt;
!Chemistry&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model S&lt;br /&gt;
|5.3&lt;br /&gt;
|25&lt;br /&gt;
|666&lt;br /&gt;
|303&lt;br /&gt;
|79&lt;br /&gt;
|4.7&lt;br /&gt;
|3.0&lt;br /&gt;
|22.8&lt;br /&gt;
|500&lt;br /&gt;
|750&lt;br /&gt;
|74p6s&lt;br /&gt;
|18650&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Chevrolet&lt;br /&gt;
|Volt&lt;br /&gt;
|2&lt;br /&gt;
|20.5&lt;br /&gt;
|241&lt;br /&gt;
|241&lt;br /&gt;
|267&lt;br /&gt;
|10.2&lt;br /&gt;
|7.8&lt;br /&gt;
|48&lt;br /&gt;
|240&lt;br /&gt;
|350&lt;br /&gt;
|3p12s&lt;br /&gt;
|Pouch&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Clanger9</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Batteries&amp;diff=1161</id>
		<title>Batteries</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Batteries&amp;diff=1161"/>
		<updated>2020-11-30T20:28:50Z</updated>

		<summary type="html">&lt;p&gt;Clanger9: Add OEM module table&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
There are a wide variety of battery chemistries available for use as the main traction battery of an EV. To use each chemistry safely, and to ensure an adequate service life from the battery pack it is important to understand the requirements for the chemistry you are using. Failure to do so may lead to premature or catastrophic failure of the pack.&lt;br /&gt;
&lt;br /&gt;
Good pack design will allow for a nominal amount of abuse. People make mistakes and the pack should allow a margin for safety - and for longevity!&lt;br /&gt;
&lt;br /&gt;
== Battery pack specification ==&lt;br /&gt;
When deciding on your battery pack, here are some basic parameters to consider:&lt;br /&gt;
&lt;br /&gt;
=== Capacity (kWh) ===&lt;br /&gt;
&#039;&#039;&#039;How far do you want to go?&#039;&#039;&#039; A standard  car conversion will need around 1kWh for 3 miles of range. For a middleweight motorcycle, 1kWh should give around 9 miles. &#039;&#039;Your mileage may vary&#039;&#039;, as they say.&lt;br /&gt;
&lt;br /&gt;
=== Voltage (V) ===&lt;br /&gt;
&#039;&#039;&#039;How fast do you want to go?&#039;&#039;&#039; The pack voltage defines the maximum speed your motor can spin. Motors are usually specified with &amp;quot;KV&amp;quot; - or RPM-per-volt. Check the KV of your motor and how fast it needs to spin to get your desired top speed. e.g. if you need 3,000 RPM from a 25 KV motor then your pack voltage needs to be  3,000 / 25 = 120 V. The exact number of cells in series you need depends on the cell design, but 3.8 V for Li-ion and 3.2 V for LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; is a reasonable guess.&lt;br /&gt;
&lt;br /&gt;
=== Maximum current (A) ===&lt;br /&gt;
&#039;&#039;&#039;How quickly do you want to accelerate?&#039;&#039;&#039; Your motor&#039;s maximum power will be specified in kW. To estimate your maximum current draw, divide the peak power by the battery voltage. e.g. a 30 kW motor with a 120 V battery pack will pull 30,000 / 120 = 250 A. The higher the current rating of the cells, the heavier they will be for a given capacity. Ideally, you want &amp;quot;enough&amp;quot; current capacity for full throttle acceleration, but no more. You can put cells in parallel to double the current rating of your pack (which of course will half the voltage). &lt;br /&gt;
&lt;br /&gt;
=== Mass (kg) ===&lt;br /&gt;
&#039;&#039;&#039;Can your vehicle carry the weight?&#039;&#039;&#039; You&#039;ll need to keep the kerb weight within the original design limits. For a car, this could be a few hundred kg. For a motorcycle, likely less than 100 kg. This is a huge variable - and each new generation of battery tech seems to be a little lighter. For older EV or hybrid batteries, you can reckon on 10-15 kg/kWh. Nissan Leaf batteries are relatively light (7.5 kg/kWh). With the latest technology (e.g. Kokam pouch cells or 18650s), you can get this down to 5-6 kg/kWh.&lt;br /&gt;
&lt;br /&gt;
=== Volume (L) ===&lt;br /&gt;
&#039;&#039;&#039;Will it fit?&#039;&#039;&#039; Batteries are bulky. They are getting smaller, but finding enough space my be your biggest challenge. You can reckon on 5-10 L/kWh for older EV or hybrid batteries. For the latest technology (e.g. Kokam pouch cells or 18650s), you can get this down to 3-3.5 kg/kWh.&lt;br /&gt;
&lt;br /&gt;
There is much, much more to battery design than this (e.g. maximum charge rate, terminations, cooling, clamping), but the above should help work out which options will or won&#039;t work for your project...&lt;br /&gt;
&lt;br /&gt;
== Cell chemistry ==&lt;br /&gt;
&lt;br /&gt;
=== Lithium Iron Phosphate (LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt;) ===&lt;br /&gt;
Lithium Iron Phosphate (also known as LFP, or LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt;) batteries offer a good compromise between safety, energy density and ease of use for DIY conversions. They are available in a number of formats, commonly pouch cells, prismatic cells and cylindrical cells.&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; pouch cells ====&lt;br /&gt;
The majority of this content is drawn from this thread: [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761&amp;amp;start=900 https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761] discussing the use of the A123 20Ah pouch cell. However, many of the general points apply equally to other similar pouch cells.&lt;br /&gt;
&lt;br /&gt;
===== General build requirements =====&lt;br /&gt;
Pouch cells are vulnerable to damage from debris, and must be held in compression (see the datasheet for your battery, but 10-12 psi is recommended for the A123 pouch cells as a guide). A rigid container capable of preventing damage and providing compression is therefore required. Be aware the cells expand and contract in use, so allowance for this must be included in the structure of the case.&lt;br /&gt;
&lt;br /&gt;
The pouch cells should be separated to prevent abrasion between cells, and also to avoid the development of hot spots. Prebuilt modules from A123 systems had thin foam sheets or heatsinks between each cell. Be sure to avoid any debris that could rub on the pouch surface, particularly if using recycled cells.&lt;br /&gt;
&lt;br /&gt;
Mylar, &#039;[https://www.americanmicroinc.com/fish-paper/ Fish paper]&#039; or a [https://www.rogerscorp.com/elastomeric-material-solutions/poron-industrial-polyurethanes compliant foam] may be appropriate materials to serve this purpose. This material should not be flammable. If the material is heat insulating, it is important to address thermal management.&lt;br /&gt;
&lt;br /&gt;
===== Compression =====&lt;br /&gt;
Compression is required to prevent premature failure of the cell. Without compression electrolyte will become unevenly distributed, causing current gradients in the cell and uneven heating. Local temperatures can become high enough to form gas formation leading to cells &#039;puffing up&#039; even when the pack is otherwise held within temperature and voltage constraints. This will be exacerbated in packs with otherwise poor thermal management. Compression forces gas generated to the margins of the cell, outside of the cell stack, minimising its effect cell performance. Gas in the middle cells will create a dead space which does not store or release energy.&lt;br /&gt;
&lt;br /&gt;
There is ~1% expansion through a discharge cycle. As the cell ages, the nominal cell thickness can grow by 3-5%. For A123 cells the ideal pressure is between 4 and 18psi with the ideal pressure being ~12psi. Maintaining 12psi can increase the life by 500 cycles over that of 4 or 18psi&lt;br /&gt;
&lt;br /&gt;
There is some suggestion that in uses where 1C is never exceeded compression &#039;&#039;may&#039;&#039; not be required.&lt;br /&gt;
&lt;br /&gt;
Highly rigid endplates with a mechanism to allow for a limited degree of expansion (e.g. steel bands) are considered an effective solution to this challenge.&lt;br /&gt;
&lt;br /&gt;
It should be noted that compression is a challenge specific to pouch cells. Cylindrical cells are designed to maintain their own compression within the cell&#039;s electrode stack by their design.&lt;br /&gt;
&lt;br /&gt;
This thread provides more information and experimentation relating to pack compression: &amp;lt;nowiki&amp;gt;https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=52244&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Pouch Cell Pack Design Examples =====&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;placeholder*&lt;br /&gt;
&lt;br /&gt;
===== Notes regarding recycled pouch cells =====&lt;br /&gt;
Pouch cells are somewhat fragile, and breaching the insulation is not difficult, especially in a cells removed from existing packs and repurposed. If the pouch has had their poly-layers compromised you may see a number of faults:&lt;br /&gt;
* Black spots around the perimeter of the cell indicate electrolyte leakage&lt;br /&gt;
* Voltage on the outside of the bag. Note that microvoltage between the pouch and the electrode is normal (and due to a capacitive effect).&lt;br /&gt;
While the majority of these cells should no longer be in the market, a significant number of faulty cells made it back into the &#039;greymarket&#039; in around 2013. These cells had misaligned tabs which can also lead to isolation failures between the tab and the pack. These cells should be avoided, particularly in high demand applications.&lt;br /&gt;
&lt;br /&gt;
===== Situations likely to cause pouch cell failure =====&lt;br /&gt;
&#039;&#039;Taken directly from [https://endless-sphere.com/forums/memberlist.php?mode=viewprofile&amp;amp;u=33107 wb9k]&#039;s post on endless sphere in the [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761 A123 thread]&#039;&#039;&lt;br /&gt;
# &#039;&#039;&#039;Overcharge&#039;&#039;&#039;. Any extended time above 3.8 Volts will generate enough heat and electrochemical activity to puff a cell, especially one that is improperly compressed.&lt;br /&gt;
# &#039;&#039;&#039;Overdischarge followed by charge&#039;&#039;&#039;. Any A123 cell that has been pulled low enough to come to rest at &amp;lt;300 mV should be immediately scrapped. The published number for that is 500 mV, but the real figure is closer to 300, so that&#039;s a &amp;quot;safety buffer&amp;quot; if you will. Below this Voltage, the Cu electrodes start to dissolve into the electrolyte. When charge is applied, the Cu forms dendrites that puncture the separator layer, forming an internal short in the cell. This can puff a cell in a hurry---the more charge current on tap, the worse it&#039;s prone to be.&lt;br /&gt;
# &#039;&#039;&#039;Driving a cell negative&#039;&#039;&#039;. I&#039;ve neglected to mention this before, but it is a possibility. I don&#039;t know much about the specific mechanism at this time.&lt;br /&gt;
# &#039;&#039;&#039;Malfunctioning or misinformed electronics&#039;&#039;&#039;. This is the most common cause of all of the above in my experience. At this stage of the game, it is critical for YOU to understand how your BMS functions on at least a cursory level. Choose your BMS very carefully and periodically verify that it is operating properly. They&#039;re not all created equal. Make sure V sense lines are securely connected and free of corrosion. Just because your BMS says there was never a problem doesn&#039;t necessarily make it so. Avoid harnesses or ribbon cables between multiple modules if possible--they are problematic wherever they are used in any mobile electronics.&lt;br /&gt;
# &#039;&#039;&#039;Exposure to or generation of sufficient heat&#039;&#039;&#039;. I don&#039;t know exactly at what temperature gas formation begins in the electrolyte, but we spec a max storage temp of 80 (or 85?) degrees C and I suspect this is the reason. The hotter, the puffier--to a point. This is why soldering tabs poses a real hazard to cell health. If you feel you must solder, sink or blow the heat away from the body of the cell. Use a big iron that can make sufficient local heat quickly, before the whole mass of the cell gets hot. You might even get the cell warm enough to melt separator if not careful.&lt;br /&gt;
# &#039;&#039;&#039;No compression, not enough compression, improperly distributed compression&#039;&#039;&#039;. This is a pack/module design issue. Apply 10, maybe 15 psi to your cell stack end to end and then band snugly and evenly. Use hard endplates of some sort--never wrap cells directly or allow their shape to become distorted. Protect all areas of the pouch from impact damage. This obviously does not apply to cylindrical cells.&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; prismatic cells ====&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;placeholder*&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; cylindrical cells ====&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;placeholder*&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; cell ageing ====&lt;br /&gt;
&#039;&#039;Derived (barely paraphrased) from [https://endless-sphere.com/forums/memberlist.php?mode=viewprofile&amp;amp;u=33107 wb9k]&#039;s post on endless sphere in the [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761 A123 thread]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Capacity loss is caused by the lithium that was available for storage becoming permanently plated on the cathode. Being unable to move within the cell it is no longer available to store energy. The impact of this plating is greater than the amount of lithium &#039;lost&#039; to plating because not only is the lithium no longer available, it is also preventing access to that part of the cathode meaning Li that can still move has to take a longer path to reach the cathode. Lithium plating is one cause of increased cell resistance (there are others), a sign of worsening cell health.&lt;br /&gt;
&lt;br /&gt;
There is no linear relationship between actual capacity loss and impedance rise. However some cell defects will also increase impedance.&lt;br /&gt;
&lt;br /&gt;
Increasing cell resistance may cause a number of symptoms which may be confused with [https://earthshipbiotecture.com/a-lithium-ion-battery-primer/ High Self Discharge.]&lt;br /&gt;
# Elevated Peukert Losses. As more energy per amount of current through the cell is lost as heat, the cells useable capacity decreases. So the apparent capacity loss is higher than the actual capacity loss of cycleable lithium. When used in low current applications (e.g. solar energy storage) the actual and apparent decrease in capacity will be small. In high current draw applications (like EV traction packs), the Peukert loss increases proportionally, so the apparent capacity loss increases much faster than the actual capacity loss.&lt;br /&gt;
# Greater voltage excursion under the same load. Due to increased cell resistancethe voltage will sag further under the same load than a cell in optimal condition. The inverse is also true, the voltage will be higher for the same amount of charging current applied. The cell will then rebound to a voltage further from the loaded and charging voltages. This, obviously, can look like high self discharge but is a different phenomenon.&lt;br /&gt;
# Absolute maximum current decrease.&lt;br /&gt;
Elevated impedance causes a more complex constellation of symptoms, some of which may be easy to confuse with High Self Discharge (HSD). Ohm&#039;s law (E=I/R) holds the key to understanding here.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1) Elevated Peukert losses.&#039;&#039;&#039; Because more energy per unit of current through the cell is lost as heat, less of the cell&#039;s capacity is actually USABLE. Thus, apparent capacity loss can be significantly greater than actual capacity loss caused by the loss of cycleable Li alone. In low current applications, the two numbers will be close together. In high current applications, Peukert losses increase in proportion, so apparent loss of capacity breaks further and further away from actual capacity loss as current increases.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2) Greater voltage excursion under the same load.&#039;&#039;&#039; Elevated resistance across the cell means that voltage will sag more under the same load than it did when the cell was healthier. Conversely, voltage will rise higher with the same amount of applied charge current than it did when it was healthier. At the same time, rebound/settling voltages will be further away from loaded/charging voltages. In other words, the cell will rebound to a voltage further away from loaded voltage, all else being equal. Similarly, voltage will settle farther from the charge voltage with the same charge applied. This can give the illusion of elevated self-discharge, but the phenomenon is actually not the same thing. Again, the greater the charge and load currents, the greater the effect becomes.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3) Absolute max current decreases.&#039;&#039;&#039; Because the cell&#039;s series resistance is elevated, the maximum possible current through the cell is decreased.&lt;br /&gt;
&lt;br /&gt;
Just to confuse things further, there can be many factors that lead to impedance rise. Some are related to Li plating, others are not.&lt;br /&gt;
&lt;br /&gt;
=== Lithium-ion ===&lt;br /&gt;
Lithium-ion (Li-ion) batteries have a greater energy density than Lithium Iron Phosphate batteries, but have more challenging needs to use safely. The ideal operating range of Li-ion batteries is between +15 and +45°C. The upper limit of temperature is particularly important as Li-ion batteries experience thermal runaway - an unstoppable chain reaction that can occur in milliseconds releasing the stored energy in the cell. This can produce temperatures of 400°C and a fire that is extremely difficult to put out. Thermal runaway can start as low as 60°C and becomes much more likely at 100°C&lt;br /&gt;
&lt;br /&gt;
Risk factors for thermal runaway:&lt;br /&gt;
* Short Circuits - either internally or externally&lt;br /&gt;
* Overcharging&lt;br /&gt;
* Excessive current draw or when charging&lt;br /&gt;
&lt;br /&gt;
==== Li-ion pouch cells ====&lt;br /&gt;
[https://kokam.com/cell Kokam] produce high-performance Li-ion pouch cells. These combine relative ease of use and pack construction with performance close to cylindrical cells. &lt;br /&gt;
&lt;br /&gt;
==== Li-ion 18650 and other cylindrical cells ====&lt;br /&gt;
Cylindrical cells are favoured by Tesla, and are probably the main reason why their cars achieve such excellent performance. They are light, compact, powerful and expensive. Unfortunately, cylindrical cells are staggeringly difficult (and dangerous) to use in DIY conversions. There are two good reasons for this: thermal management and cell configuration.&lt;br /&gt;
&lt;br /&gt;
As stated above, Li-ion cells are prone to thermal runaway. So you need perfect thermal management to ensure that no cell ever exceeds the critical temperature. If this happens, the cell will short-circuit internally, releasing a lot of energy - potentially explosively. Furthermore, the individual cells are small, so need to be arranged in parallel. In the case of the Tesla Model S, there are 74 cells in each parallel. Imagine if one of those cells fails and becomes short circuited internally. You now have 73 very high power cells in parallel feeding in to that short circuit. In fact, you don&#039;t have to imagine: you can watch this famous video instead (courtesy of Rich Rebuilds).&lt;br /&gt;
&lt;br /&gt;
== OEM modules ==&lt;br /&gt;
Using an OEM module means a lot of the difficulties associated with battery design are taken care of e.g. cooling, clamping, etc. Here is a list of OEM modules.&lt;br /&gt;
{| class=&amp;quot;wikitable sortable mw-collapsible&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!Manufacturer&lt;br /&gt;
!Type&lt;br /&gt;
!Capacity (kWh)&lt;br /&gt;
!Weight (kg)&lt;br /&gt;
!w (mm)&lt;br /&gt;
!d (mm)&lt;br /&gt;
!h (mm)&lt;br /&gt;
!Gravity (kg/kWh)&lt;br /&gt;
!Volume (L/kWh)&lt;br /&gt;
!Voltage (V)&lt;br /&gt;
!Current (cont A)&lt;br /&gt;
!Current (peak A)&lt;br /&gt;
!Cell arrangement&lt;br /&gt;
!Cell type&lt;br /&gt;
!Chemistry&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model S&lt;br /&gt;
|5.3&lt;br /&gt;
|25&lt;br /&gt;
|666&lt;br /&gt;
|303&lt;br /&gt;
|79&lt;br /&gt;
|4.7&lt;br /&gt;
|3.0&lt;br /&gt;
|22.8&lt;br /&gt;
|500&lt;br /&gt;
|750&lt;br /&gt;
|74p6s&lt;br /&gt;
|18650&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Chevrolet&lt;br /&gt;
|Volt&lt;br /&gt;
|2&lt;br /&gt;
|20.5&lt;br /&gt;
|241&lt;br /&gt;
|241&lt;br /&gt;
|267&lt;br /&gt;
|10.2&lt;br /&gt;
|7.8&lt;br /&gt;
|48&lt;br /&gt;
|240&lt;br /&gt;
|350&lt;br /&gt;
|3p12s&lt;br /&gt;
|Pouch&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;youtube&amp;gt;WdDi1haA71Q&amp;lt;/youtube&amp;gt;&lt;/div&gt;</summary>
		<author><name>Clanger9</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Batteries&amp;diff=1160</id>
		<title>Batteries</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Batteries&amp;diff=1160"/>
		<updated>2020-11-30T19:53:22Z</updated>

		<summary type="html">&lt;p&gt;Clanger9: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
There are a wide variety of battery chemistries available for use as the main traction battery of an EV. To use each chemistry safely, and to ensure an adequate service life from the battery pack it is important to understand the requirements for the chemistry you are using. Failure to do so may lead to premature or catastrophic failure of the pack.&lt;br /&gt;
&lt;br /&gt;
Good pack design will allow for a nominal amount of abuse. People make mistakes and the pack should allow a margin for safety - and for longevity!&lt;br /&gt;
&lt;br /&gt;
== Battery pack specification ==&lt;br /&gt;
When deciding on your battery pack, here are some basic parameters to consider:&lt;br /&gt;
&lt;br /&gt;
=== Capacity (kWh) ===&lt;br /&gt;
&#039;&#039;&#039;How far do you want to go?&#039;&#039;&#039; A standard  car conversion will need around 1kWh for 3 miles of range. For a middleweight motorcycle, 1kWh should give around 9 miles. &#039;&#039;Your mileage may vary&#039;&#039;, as they say.&lt;br /&gt;
&lt;br /&gt;
=== Voltage (V) ===&lt;br /&gt;
&#039;&#039;&#039;How fast do you want to go?&#039;&#039;&#039; The pack voltage defines the maximum speed your motor can spin. Motors are usually specified with &amp;quot;KV&amp;quot; - or RPM-per-volt. Check the KV of your motor and how fast it needs to spin to get your desired top speed. e.g. if you need 3,000 RPM from a 25 KV motor then your pack voltage needs to be  3,000 / 25 = 120 V. The exact number of cells in series you need depends on the cell design, but 3.8 V for Li-ion and 3.2 V for LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; is a reasonable guess.&lt;br /&gt;
&lt;br /&gt;
=== Maximum current (A) ===&lt;br /&gt;
&#039;&#039;&#039;How quickly do you want to accelerate?&#039;&#039;&#039; Your motor&#039;s maximum power will be specified in kW. To estimate your maximum current draw, divide the peak power by the battery voltage. e.g. a 30 kW motor with a 120 V battery pack will pull 30,000 / 120 = 250 A. The higher the current rating of the cells, the heavier they will be for a given capacity. Ideally, you want &amp;quot;enough&amp;quot; current capacity for full throttle acceleration, but no more. You can put cells in parallel to double the current rating of your pack (which of course will half the voltage). &lt;br /&gt;
&lt;br /&gt;
=== Mass (kg) ===&lt;br /&gt;
&#039;&#039;&#039;Can your vehicle carry the weight?&#039;&#039;&#039; You&#039;ll need to keep the kerb weight within the original design limits. For a car, this could be a few hundred kg. For a motorcycle, likely less than 100 kg. This is a huge variable - and each new generation of battery tech seems to be a little lighter. For older EV or hybrid batteries, you can reckon on 10-15 kg/kWh. Nissan Leaf batteries are relatively light (7.5 kg/kWh). With the latest technology (e.g. Kokam pouch cells or 18650s), you can get this down to 5-6 kg/kWh.&lt;br /&gt;
&lt;br /&gt;
=== Volume (L) ===&lt;br /&gt;
&#039;&#039;&#039;Will it fit?&#039;&#039;&#039; Batteries are bulky. They are getting smaller, but finding enough space my be your biggest challenge. You can reckon on 5-10 L/kWh for older EV or hybrid batteries. For the latest technology (e.g. Kokam pouch cells or 18650s), you can get this down to 3-3.5 kg/kWh.&lt;br /&gt;
&lt;br /&gt;
There is much, much more to battery design than this (e.g. maximum charge rate, terminations, cooling, clamping), but the above should help work out which options will or won&#039;t work for your project...&lt;br /&gt;
&lt;br /&gt;
== Cell chemistry ==&lt;br /&gt;
&lt;br /&gt;
=== Lithium Iron Phosphate (LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt;) ===&lt;br /&gt;
Lithium Iron Phosphate (also known as LFP, or LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt;) batteries offer a good compromise between safety, energy density and ease of use for DIY conversions. They are available in a number of formats, commonly pouch cells, prismatic cells and cylindrical cells.&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; pouch cells ====&lt;br /&gt;
The majority of this content is drawn from this thread: [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761&amp;amp;start=900 https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761] discussing the use of the A123 20Ah pouch cell. However, many of the general points apply equally to other similar pouch cells.&lt;br /&gt;
&lt;br /&gt;
===== General build requirements =====&lt;br /&gt;
Pouch cells are vulnerable to damage from debris, and must be held in compression (see the datasheet for your battery, but 10-12 psi is recommended for the A123 pouch cells as a guide). A rigid container capable of preventing damage and providing compression is therefore required. Be aware the cells expand and contract in use, so allowance for this must be included in the structure of the case.&lt;br /&gt;
&lt;br /&gt;
The pouch cells should be separated to prevent abrasion between cells, and also to avoid the development of hot spots. Prebuilt modules from A123 systems had thin foam sheets or heatsinks between each cell. Be sure to avoid any debris that could rub on the pouch surface, particularly if using recycled cells.&lt;br /&gt;
&lt;br /&gt;
Mylar, &#039;[https://www.americanmicroinc.com/fish-paper/ Fish paper]&#039; or a [https://www.rogerscorp.com/elastomeric-material-solutions/poron-industrial-polyurethanes compliant foam] may be appropriate materials to serve this purpose. This material should not be flammable. If the material is heat insulating, it is important to address thermal management.&lt;br /&gt;
&lt;br /&gt;
===== Compression =====&lt;br /&gt;
Compression is required to prevent premature failure of the cell. Without compression electrolyte will become unevenly distributed, causing current gradients in the cell and uneven heating. Local temperatures can become high enough to form gas formation leading to cells &#039;puffing up&#039; even when the pack is otherwise held within temperature and voltage constraints. This will be exacerbated in packs with otherwise poor thermal management. Compression forces gas generated to the margins of the cell, outside of the cell stack, minimising its effect cell performance. Gas in the middle cells will create a dead space which does not store or release energy.&lt;br /&gt;
&lt;br /&gt;
There is ~1% expansion through a discharge cycle. As the cell ages, the nominal cell thickness can grow by 3-5%. For A123 cells the ideal pressure is between 4 and 18psi with the ideal pressure being ~12psi. Maintaining 12psi can increase the life by 500 cycles over that of 4 or 18psi&lt;br /&gt;
&lt;br /&gt;
There is some suggestion that in uses where 1C is never exceeded compression &#039;&#039;may&#039;&#039; not be required.&lt;br /&gt;
&lt;br /&gt;
Highly rigid endplates with a mechanism to allow for a limited degree of expansion (e.g. steel bands) are considered an effective solution to this challenge.&lt;br /&gt;
&lt;br /&gt;
It should be noted that compression is a challenge specific to pouch cells. Cylindrical cells are designed to maintain their own compression within the cell&#039;s electrode stack by their design.&lt;br /&gt;
&lt;br /&gt;
This thread provides more information and experimentation relating to pack compression: &amp;lt;nowiki&amp;gt;https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=52244&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Pouch Cell Pack Design Examples =====&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;placeholder*&lt;br /&gt;
&lt;br /&gt;
===== Notes regarding recycled pouch cells =====&lt;br /&gt;
Pouch cells are somewhat fragile, and breaching the insulation is not difficult, especially in a cells removed from existing packs and repurposed. If the pouch has had their poly-layers compromised you may see a number of faults:&lt;br /&gt;
* Black spots around the perimeter of the cell indicate electrolyte leakage&lt;br /&gt;
* Voltage on the outside of the bag. Note that microvoltage between the pouch and the electrode is normal (and due to a capacitive effect).&lt;br /&gt;
While the majority of these cells should no longer be in the market, a significant number of faulty cells made it back into the &#039;greymarket&#039; in around 2013. These cells had misaligned tabs which can also lead to isolation failures between the tab and the pack. These cells should be avoided, particularly in high demand applications.&lt;br /&gt;
&lt;br /&gt;
===== Situations likely to cause pouch cell failure =====&lt;br /&gt;
&#039;&#039;Taken directly from [https://endless-sphere.com/forums/memberlist.php?mode=viewprofile&amp;amp;u=33107 wb9k]&#039;s post on endless sphere in the [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761 A123 thread]&#039;&#039;&lt;br /&gt;
# &#039;&#039;&#039;Overcharge&#039;&#039;&#039;. Any extended time above 3.8 Volts will generate enough heat and electrochemical activity to puff a cell, especially one that is improperly compressed.&lt;br /&gt;
# &#039;&#039;&#039;Overdischarge followed by charge&#039;&#039;&#039;. Any A123 cell that has been pulled low enough to come to rest at &amp;lt;300 mV should be immediately scrapped. The published number for that is 500 mV, but the real figure is closer to 300, so that&#039;s a &amp;quot;safety buffer&amp;quot; if you will. Below this Voltage, the Cu electrodes start to dissolve into the electrolyte. When charge is applied, the Cu forms dendrites that puncture the separator layer, forming an internal short in the cell. This can puff a cell in a hurry---the more charge current on tap, the worse it&#039;s prone to be.&lt;br /&gt;
# &#039;&#039;&#039;Driving a cell negative&#039;&#039;&#039;. I&#039;ve neglected to mention this before, but it is a possibility. I don&#039;t know much about the specific mechanism at this time.&lt;br /&gt;
# &#039;&#039;&#039;Malfunctioning or misinformed electronics&#039;&#039;&#039;. This is the most common cause of all of the above in my experience. At this stage of the game, it is critical for YOU to understand how your BMS functions on at least a cursory level. Choose your BMS very carefully and periodically verify that it is operating properly. They&#039;re not all created equal. Make sure V sense lines are securely connected and free of corrosion. Just because your BMS says there was never a problem doesn&#039;t necessarily make it so. Avoid harnesses or ribbon cables between multiple modules if possible--they are problematic wherever they are used in any mobile electronics.&lt;br /&gt;
# &#039;&#039;&#039;Exposure to or generation of sufficient heat&#039;&#039;&#039;. I don&#039;t know exactly at what temperature gas formation begins in the electrolyte, but we spec a max storage temp of 80 (or 85?) degrees C and I suspect this is the reason. The hotter, the puffier--to a point. This is why soldering tabs poses a real hazard to cell health. If you feel you must solder, sink or blow the heat away from the body of the cell. Use a big iron that can make sufficient local heat quickly, before the whole mass of the cell gets hot. You might even get the cell warm enough to melt separator if not careful.&lt;br /&gt;
# &#039;&#039;&#039;No compression, not enough compression, improperly distributed compression&#039;&#039;&#039;. This is a pack/module design issue. Apply 10, maybe 15 psi to your cell stack end to end and then band snugly and evenly. Use hard endplates of some sort--never wrap cells directly or allow their shape to become distorted. Protect all areas of the pouch from impact damage. This obviously does not apply to cylindrical cells.&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; prismatic cells ====&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;placeholder*&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; cylindrical cells ====&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;placeholder*&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; cell ageing ====&lt;br /&gt;
&#039;&#039;Derived (barely paraphrased) from [https://endless-sphere.com/forums/memberlist.php?mode=viewprofile&amp;amp;u=33107 wb9k]&#039;s post on endless sphere in the [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761 A123 thread]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Capacity loss is caused by the lithium that was available for storage becoming permanently plated on the cathode. Being unable to move within the cell it is no longer available to store energy. The impact of this plating is greater than the amount of lithium &#039;lost&#039; to plating because not only is the lithium no longer available, it is also preventing access to that part of the cathode meaning Li that can still move has to take a longer path to reach the cathode. Lithium plating is one cause of increased cell resistance (there are others), a sign of worsening cell health.&lt;br /&gt;
&lt;br /&gt;
There is no linear relationship between actual capacity loss and impedance rise. However some cell defects will also increase impedance.&lt;br /&gt;
&lt;br /&gt;
Increasing cell resistance may cause a number of symptoms which may be confused with [https://earthshipbiotecture.com/a-lithium-ion-battery-primer/ High Self Discharge.]&lt;br /&gt;
# Elevated Peukert Losses. As more energy per amount of current through the cell is lost as heat, the cells useable capacity decreases. So the apparent capacity loss is higher than the actual capacity loss of cycleable lithium. When used in low current applications (e.g. solar energy storage) the actual and apparent decrease in capacity will be small. In high current draw applications (like EV traction packs), the Peukert loss increases proportionally, so the apparent capacity loss increases much faster than the actual capacity loss.&lt;br /&gt;
# Greater voltage excursion under the same load. Due to increased cell resistancethe voltage will sag further under the same load than a cell in optimal condition. The inverse is also true, the voltage will be higher for the same amount of charging current applied. The cell will then rebound to a voltage further from the loaded and charging voltages. This, obviously, can look like high self discharge but is a different phenomenon.&lt;br /&gt;
# Absolute maximum current decrease.&lt;br /&gt;
Elevated impedance causes a more complex constellation of symptoms, some of which may be easy to confuse with High Self Discharge (HSD). Ohm&#039;s law (E=I/R) holds the key to understanding here.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1) Elevated Peukert losses.&#039;&#039;&#039; Because more energy per unit of current through the cell is lost as heat, less of the cell&#039;s capacity is actually USABLE. Thus, apparent capacity loss can be significantly greater than actual capacity loss caused by the loss of cycleable Li alone. In low current applications, the two numbers will be close together. In high current applications, Peukert losses increase in proportion, so apparent loss of capacity breaks further and further away from actual capacity loss as current increases.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2) Greater voltage excursion under the same load.&#039;&#039;&#039; Elevated resistance across the cell means that voltage will sag more under the same load than it did when the cell was healthier. Conversely, voltage will rise higher with the same amount of applied charge current than it did when it was healthier. At the same time, rebound/settling voltages will be further away from loaded/charging voltages. In other words, the cell will rebound to a voltage further away from loaded voltage, all else being equal. Similarly, voltage will settle farther from the charge voltage with the same charge applied. This can give the illusion of elevated self-discharge, but the phenomenon is actually not the same thing. Again, the greater the charge and load currents, the greater the effect becomes.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3) Absolute max current decreases.&#039;&#039;&#039; Because the cell&#039;s series resistance is elevated, the maximum possible current through the cell is decreased.&lt;br /&gt;
&lt;br /&gt;
Just to confuse things further, there can be many factors that lead to impedance rise. Some are related to Li plating, others are not.&lt;br /&gt;
&lt;br /&gt;
=== Lithium-ion ===&lt;br /&gt;
Lithium-ion (Li-ion) batteries have a greater energy density than Lithium Iron Phosphate batteries, but have more challenging needs to use safely. The ideal operating range of Li-ion batteries is between +15 and +45°C. The upper limit of temperature is particularly important as Li-ion batteries experience thermal runaway - an unstoppable chain reaction that can occur in milliseconds releasing the stored energy in the cell. This can produce temperatures of 400°C and a fire that is extremely difficult to put out. Thermal runaway can start as low as 60°C and becomes much more likely at 100°C&lt;br /&gt;
&lt;br /&gt;
Risk factors for thermal runaway:&lt;br /&gt;
* Short Circuits - either internally or externally&lt;br /&gt;
* Overcharging&lt;br /&gt;
* Excessive current draw or when charging&lt;br /&gt;
&lt;br /&gt;
==== Li-ion pouch cells ====&lt;br /&gt;
[https://kokam.com/cell Kokam] produce high-performance Li-ion pouch cells. These combine relative ease of use and pack construction with performance close to cylindrical cells. &lt;br /&gt;
&lt;br /&gt;
==== Li-ion 18650 and other cylindrical cells ====&lt;br /&gt;
Cylindrical cells are favoured by Tesla, and are probably the main reason why their cars achieve such excellent performance. They are light, compact, powerful and expensive. Unfortunately, cylindrical cells are staggeringly difficult (and dangerous) to use in DIY conversions. There are two good reasons for this: thermal management and cell configuration.&lt;br /&gt;
&lt;br /&gt;
As stated above, Li-ion cells are prone to thermal runaway. So you need perfect thermal management to ensure that no cell ever exceeds the critical temperature. If this happens, the cell will short-circuit internally, releasing a lot of energy - potentially explosively. Furthermore, the individual cells are small, so need to be arranged in parallel. In the case of the Tesla Model S, there are 74 cells in each parallel. Imagine if one of those cells fails and becomes short circuited internally. You now have 73 very high power cells in parallel feeding in to that short circuit. In fact, you don&#039;t have to imagine: you can watch this famous video instead (courtesy of Rich Rebuilds).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;youtube&amp;gt;WdDi1haA71Q&amp;lt;/youtube&amp;gt;&lt;/div&gt;</summary>
		<author><name>Clanger9</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Batteries&amp;diff=1159</id>
		<title>Batteries</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Batteries&amp;diff=1159"/>
		<updated>2020-11-30T19:52:56Z</updated>

		<summary type="html">&lt;p&gt;Clanger9: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
There are a wide variety of battery chemistries available for use as the main traction battery of an EV. To use each chemistry safely, and to ensure an adequate service life from the battery pack it is important to understand the requirements for the chemistry you are using. Failure to do so may lead to premature or catastrophic failure of the pack.&lt;br /&gt;
&lt;br /&gt;
Good pack design will allow for a nominal amount of abuse. People make mistakes and the pack should allow a margin for safety - and for longevity!&lt;br /&gt;
&lt;br /&gt;
== Battery pack specification ==&lt;br /&gt;
When deciding on your battery pack, here are some basic parameters to consider:&lt;br /&gt;
&lt;br /&gt;
=== Capacity (kWh) ===&lt;br /&gt;
&#039;&#039;&#039;How far do you want to go?&#039;&#039;&#039; A standard  car conversion will need around 1kWh for 3 miles of range. For a middleweight motorcycle, 1kWh should give around 9 miles. &#039;&#039;Your mileage may vary&#039;&#039;, as they say.&lt;br /&gt;
&lt;br /&gt;
=== Voltage (V) ===&lt;br /&gt;
&#039;&#039;&#039;How fast do you want to go?&#039;&#039;&#039; The pack voltage defines the maximum speed your motor can spin. Motors are usually specified with &amp;quot;KV&amp;quot; - or RPM-per-volt. Check the KV of your motor and how fast it needs to spin to get your desired top speed. e.g. if you need 3,000 RPM from a 25 KV motor then your pack voltage needs to be  3,000 / 25 = 120 V. The exact number of cells in series you need depends on the cell design, but 3.8 V for Li-ion and 3.2 V for LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; is a reasonable guess.&lt;br /&gt;
&lt;br /&gt;
=== Maximum current (A) ===&lt;br /&gt;
&#039;&#039;&#039;How quickly do you want to accelerate?&#039;&#039;&#039; Your motor&#039;s maximum power will be specified in kW. To estimate your maximum current draw, divide the peak power by the battery voltage. e.g. a 30 kW motor with a 120 V battery pack will pull 30,000 / 120 = 250 A. The higher the current rating of the cells, the heavier they will be for a given capacity. Ideally, you want &amp;quot;enough&amp;quot; current capacity for full throttle acceleration, but no more. You can put cells in parallel to double the current rating of your pack (which of course will half the voltage). &lt;br /&gt;
&lt;br /&gt;
=== Mass (kg) ===&lt;br /&gt;
&#039;&#039;&#039;Can your vehicle carry the weight?&#039;&#039;&#039; You&#039;ll need to keep the kerb weight within the original design limits. For a car, this could be a few hundred kg. For a motorcycle, likely less than 100 kg. This is a huge variable - and each new generation of battery tech seems to be a little lighter. For older EV or hybrid batteries, you can reckon on 10-15 kg/kWh. Nissan Leaf batteries are relatively light (7.5 kg/kWh). With the latest technology (e.g. Kokam pouch cells or 18650s), you can get this down to 5-6 kg/kWh.&lt;br /&gt;
&lt;br /&gt;
=== Volume (L) ===&lt;br /&gt;
&#039;&#039;&#039;Will it fit?&#039;&#039;&#039; Batteries are bulky. They are getting smaller, but finding enough space my be your biggest challenge. You can reckon on 5-10 L/kWh for older EV or hybrid batteries. For the latest technology (e.g. Kokam pouch cells or 18650s), you can get this down to 3-3.5 kg/kWh.&lt;br /&gt;
&lt;br /&gt;
There is much, much more to battery design than this (e.g. maximum charge rate, terminations, cooling, clamping), but the above should help work out which options will or won&#039;t work for your project...&lt;br /&gt;
&lt;br /&gt;
== Cell chemistry ==&lt;br /&gt;
&lt;br /&gt;
=== Lithium Iron Phosphate (LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt;) ===&lt;br /&gt;
Lithium Iron Phosphate (also known as LFP, or LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt;) batteries offer a good compromise between safety, energy density and ease of use for DIY conversions. They are available in a number of formats, commonly pouch cells, prismatic cells and cylindrical cells.&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; pouch cells ====&lt;br /&gt;
The majority of this content is drawn from this thread: [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761&amp;amp;start=900 https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761] discussing the use of the A123 20Ah pouch cell. However, many of the general points apply equally to other similar pouch cells.&lt;br /&gt;
&lt;br /&gt;
===== General build requirements =====&lt;br /&gt;
Pouch cells are vulnerable to damage from debris, and must be held in compression (see the datasheet for your battery, but 10-12 psi is recommended for the A123 pouch cells as a guide). A rigid container capable of preventing damage and providing compression is therefore required. Be aware the cells expand and contract in use, so allowance for this must be included in the structure of the case.&lt;br /&gt;
&lt;br /&gt;
The pouch cells should be separated to prevent abrasion between cells, and also to avoid the development of hot spots. Prebuilt modules from A123 systems had thin foam sheets or heatsinks between each cell. Be sure to avoid any debris that could rub on the pouch surface, particularly if using recycled cells.&lt;br /&gt;
&lt;br /&gt;
Mylar, &#039;[https://www.americanmicroinc.com/fish-paper/ Fish paper]&#039; or a [https://www.rogerscorp.com/elastomeric-material-solutions/poron-industrial-polyurethanes compliant foam] may be appropriate materials to serve this purpose. This material should not be flammable. If the material is heat insulating, it is important to address thermal management.&lt;br /&gt;
&lt;br /&gt;
===== Compression =====&lt;br /&gt;
Compression is required to prevent premature failure of the cell. Without compression electrolyte will become unevenly distributed, causing current gradients in the cell and uneven heating. Local temperatures can become high enough to form gas formation leading to cells &#039;puffing up&#039; even when the pack is otherwise held within temperature and voltage constraints. This will be exacerbated in packs with otherwise poor thermal management. Compression forces gas generated to the margins of the cell, outside of the cell stack, minimising its effect cell performance. Gas in the middle cells will create a dead space which does not store or release energy.&lt;br /&gt;
&lt;br /&gt;
There is ~1% expansion through a discharge cycle. As the cell ages, the nominal cell thickness can grow by 3-5%. For A123 cells the ideal pressure is between 4 and 18psi with the ideal pressure being ~12psi. Maintaining 12psi can increase the life by 500 cycles over that of 4 or 18psi&lt;br /&gt;
&lt;br /&gt;
There is some suggestion that in uses where 1C is never exceeded compression &#039;&#039;may&#039;&#039; not be required.&lt;br /&gt;
&lt;br /&gt;
Highly rigid endplates with a mechanism to allow for a limited degree of expansion (e.g. steel bands) are considered an effective solution to this challenge.&lt;br /&gt;
&lt;br /&gt;
It should be noted that compression is a challenge specific to pouch cells. Cylindrical cells are designed to maintain their own compression within the cell&#039;s electrode stack by their design.&lt;br /&gt;
&lt;br /&gt;
This thread provides more information and experimentation relating to pack compression: &amp;lt;nowiki&amp;gt;https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=52244&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Pouch Cell Pack Design Examples =====&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;placeholder*&lt;br /&gt;
&lt;br /&gt;
===== Notes regarding recycled pouch cells =====&lt;br /&gt;
Pouch cells are somewhat fragile, and breaching the insulation is not difficult, especially in a cells removed from existing packs and repurposed. If the pouch has had their poly-layers compromised you may see a number of faults:&lt;br /&gt;
* Black spots around the perimeter of the cell indicate electrolyte leakage&lt;br /&gt;
* Voltage on the outside of the bag. Note that microvoltage between the pouch and the electrode is normal (and due to a capacitive effect).&lt;br /&gt;
While the majority of these cells should no longer be in the market, a significant number of faulty cells made it back into the &#039;greymarket&#039; in around 2013. These cells had misaligned tabs which can also lead to isolation failures between the tab and the pack. These cells should be avoided, particularly in high demand applications.&lt;br /&gt;
&lt;br /&gt;
===== Situations likely to cause pouch cell failure =====&lt;br /&gt;
&#039;&#039;Taken directly from [https://endless-sphere.com/forums/memberlist.php?mode=viewprofile&amp;amp;u=33107 wb9k]&#039;s post on endless sphere in the [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761 A123 thread]&#039;&#039;&lt;br /&gt;
# &#039;&#039;&#039;Overcharge&#039;&#039;&#039;. Any extended time above 3.8 Volts will generate enough heat and electrochemical activity to puff a cell, especially one that is improperly compressed.&lt;br /&gt;
# &#039;&#039;&#039;Overdischarge followed by charge&#039;&#039;&#039;. Any A123 cell that has been pulled low enough to come to rest at &amp;lt;300 mV should be immediately scrapped. The published number for that is 500 mV, but the real figure is closer to 300, so that&#039;s a &amp;quot;safety buffer&amp;quot; if you will. Below this Voltage, the Cu electrodes start to dissolve into the electrolyte. When charge is applied, the Cu forms dendrites that puncture the separator layer, forming an internal short in the cell. This can puff a cell in a hurry---the more charge current on tap, the worse it&#039;s prone to be.&lt;br /&gt;
# &#039;&#039;&#039;Driving a cell negative&#039;&#039;&#039;. I&#039;ve neglected to mention this before, but it is a possibility. I don&#039;t know much about the specific mechanism at this time.&lt;br /&gt;
# &#039;&#039;&#039;Malfunctioning or misinformed electronics&#039;&#039;&#039;. This is the most common cause of all of the above in my experience. At this stage of the game, it is critical for YOU to understand how your BMS functions on at least a cursory level. Choose your BMS very carefully and periodically verify that it is operating properly. They&#039;re not all created equal. Make sure V sense lines are securely connected and free of corrosion. Just because your BMS says there was never a problem doesn&#039;t necessarily make it so. Avoid harnesses or ribbon cables between multiple modules if possible--they are problematic wherever they are used in any mobile electronics.&lt;br /&gt;
# &#039;&#039;&#039;Exposure to or generation of sufficient heat&#039;&#039;&#039;. I don&#039;t know exactly at what temperature gas formation begins in the electrolyte, but we spec a max storage temp of 80 (or 85?) degrees C and I suspect this is the reason. The hotter, the puffier--to a point. This is why soldering tabs poses a real hazard to cell health. If you feel you must solder, sink or blow the heat away from the body of the cell. Use a big iron that can make sufficient local heat quickly, before the whole mass of the cell gets hot. You might even get the cell warm enough to melt separator if not careful.&lt;br /&gt;
# &#039;&#039;&#039;No compression, not enough compression, improperly distributed compression&#039;&#039;&#039;. This is a pack/module design issue. Apply 10, maybe 15 psi to your cell stack end to end and then band snugly and evenly. Use hard endplates of some sort--never wrap cells directly or allow their shape to become distorted. Protect all areas of the pouch from impact damage. This obviously does not apply to cylindrical cells.&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; prismatic cells ====&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;placeholder*&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; cylindrical cells ====&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;placeholder*&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; cell ageing ====&lt;br /&gt;
&#039;&#039;Derived (barely paraphrased) from [https://endless-sphere.com/forums/memberlist.php?mode=viewprofile&amp;amp;u=33107 wb9k]&#039;s post on endless sphere in the [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761 A123 thread]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Capacity loss is caused by the lithium that was available for storage becoming permanently plated on the cathode. Being unable to move within the cell it is no longer available to store energy. The impact of this plating is greater than the amount of lithium &#039;lost&#039; to plating because not only is the lithium no longer available, it is also preventing access to that part of the cathode meaning Li that can still move has to take a longer path to reach the cathode. Lithium plating is one cause of increased cell resistance (there are others), a sign of worsening cell health.&lt;br /&gt;
&lt;br /&gt;
There is no linear relationship between actual capacity loss and impedance rise. However some cell defects will also increase impedance.&lt;br /&gt;
&lt;br /&gt;
Increasing cell resistance may cause a number of symptoms which may be confused with [https://earthshipbiotecture.com/a-lithium-ion-battery-primer/ High Self Discharge.]&lt;br /&gt;
# Elevated Peukert Losses. As more energy per amount of current through the cell is lost as heat, the cells useable capacity decreases. So the apparent capacity loss is higher than the actual capacity loss of cycleable lithium. When used in low current applications (e.g. solar energy storage) the actual and apparent decrease in capacity will be small. In high current draw applications (like EV traction packs), the Peukert loss increases proportionally, so the apparent capacity loss increases much faster than the actual capacity loss.&lt;br /&gt;
# Greater voltage excursion under the same load. Due to increased cell resistancethe voltage will sag further under the same load than a cell in optimal condition. The inverse is also true, the voltage will be higher for the same amount of charging current applied. The cell will then rebound to a voltage further from the loaded and charging voltages. This, obviously, can look like high self discharge but is a different phenomenon.&lt;br /&gt;
# Absolute maximum current decrease.&lt;br /&gt;
Elevated impedance causes a more complex constellation of symptoms, some of which may be easy to confuse with High Self Discharge (HSD). Ohm&#039;s law (E=I/R) holds the key to understanding here.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1) Elevated Peukert losses.&#039;&#039;&#039; Because more energy per unit of current through the cell is lost as heat, less of the cell&#039;s capacity is actually USABLE. Thus, apparent capacity loss can be significantly greater than actual capacity loss caused by the loss of cycleable Li alone. In low current applications, the two numbers will be close together. In high current applications, Peukert losses increase in proportion, so apparent loss of capacity breaks further and further away from actual capacity loss as current increases.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2) Greater voltage excursion under the same load.&#039;&#039;&#039; Elevated resistance across the cell means that voltage will sag more under the same load than it did when the cell was healthier. Conversely, voltage will rise higher with the same amount of applied charge current than it did when it was healthier. At the same time, rebound/settling voltages will be further away from loaded/charging voltages. In other words, the cell will rebound to a voltage further away from loaded voltage, all else being equal. Similarly, voltage will settle farther from the charge voltage with the same charge applied. This can give the illusion of elevated self-discharge, but the phenomenon is actually not the same thing. Again, the greater the charge and load currents, the greater the effect becomes.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3) Absolute max current decreases.&#039;&#039;&#039; Because the cell&#039;s series resistance is elevated, the maximum possible current through the cell is decreased.&lt;br /&gt;
&lt;br /&gt;
Just to confuse things further, there can be many factors that lead to impedance rise. Some are related to Li plating, others are not.&lt;br /&gt;
&lt;br /&gt;
=== Lithium-ion ===&lt;br /&gt;
Lithium-ion (Li-ion) batteries have a greater energy density than Lithium Iron Phosphate batteries, but have more challenging needs to use safely. The ideal operating range of Li-ion batteries is between +15 and +45°C. The upper limit of temperature is particularly important as Li-ion batteries experience thermal runaway - an unstoppable chain reaction that can occur in milliseconds releasing the stored energy in the cell. This can produce temperatures of 400°C and a fire that is extremely difficult to put out. Thermal runaway can start as low as 60°C and becomes much more likely at 100°C&lt;br /&gt;
&lt;br /&gt;
Risk factors for thermal runaway:&lt;br /&gt;
* Short Circuits - either internally or externally&lt;br /&gt;
* Overcharging&lt;br /&gt;
* Excessive current draw or when charging&lt;br /&gt;
&lt;br /&gt;
==== Li-ion pouch cells ====&lt;br /&gt;
[https://kokam.com/cell Kokam] produce high-performance Li-ion pouch cells. These combine relative ease of use and pack construction with performance close to cylindrical cells. &lt;br /&gt;
&lt;br /&gt;
==== Li-ion 18650 and other cylindrical cells ====&lt;br /&gt;
Cylindrical cells are favoured by Tesla, and are probably the main reason why their cars achieve such excellent performance. They are light, compact, powerful and expensive. Unfortunately, cylindrical cells are staggeringly difficult (and dangerous) to use in DIY conversions. There are two good reasons for this: thermal management and cell configuration.&lt;br /&gt;
&lt;br /&gt;
As stated above, Li-ion cells are prone to thermal runaway. So you need perfect thermal management to ensure that no cell ever exceeds the critical temperature. If this happens, the cell will short-circuit internally, releasing a lot of energy - potentially explosively. Furthermore, the individual cells are small, so need to be arranged in parallel. In the case of the Tesla Model S, there are 74 cells in each parallel. Imagine if one of those cells fails and becomes short circuited internally. You now have 73 very high power cells in parallel feeding in to that short circuit. In fact, you don&#039;t have to imagine: you can watch this famous video instead (courtesy of Rich Rebuilds).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;&amp;lt;youtube&amp;gt;WdDi1haA71Q&amp;lt;/youtube&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;/div&gt;</summary>
		<author><name>Clanger9</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Batteries&amp;diff=1158</id>
		<title>Batteries</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Batteries&amp;diff=1158"/>
		<updated>2020-11-30T19:50:56Z</updated>

		<summary type="html">&lt;p&gt;Clanger9: /* Voltage (V) */ Add Li-ion content&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
There are a wide variety of battery chemistries available for use as the main traction battery of an EV. To use each chemistry safely, and to ensure an adequate service life from the battery pack it is important to understand the requirements for the chemistry you are using. Failure to do so may lead to premature or catastrophic failure of the pack.&lt;br /&gt;
&lt;br /&gt;
Good pack design will allow for a nominal amount of abuse. People make mistakes and the pack should allow a margin for safety - and for longevity!&lt;br /&gt;
&lt;br /&gt;
== Battery pack specification ==&lt;br /&gt;
When deciding on your battery pack, here are some basic parameters to consider:&lt;br /&gt;
&lt;br /&gt;
=== Capacity (kWh) ===&lt;br /&gt;
&#039;&#039;&#039;How far do you want to go?&#039;&#039;&#039; A standard  car conversion will need around 1kWh for 3 miles of range. For a middleweight motorcycle, 1kWh should give around 9 miles. &#039;&#039;Your mileage may vary&#039;&#039;, as they say.&lt;br /&gt;
&lt;br /&gt;
=== Voltage (V) ===&lt;br /&gt;
&#039;&#039;&#039;How fast do you want to go?&#039;&#039;&#039; The pack voltage defines the maximum speed your motor can spin. Motors are usually specified with &amp;quot;KV&amp;quot; - or RPM-per-volt. Check the KV of your motor and how fast it needs to spin to get your desired top speed. e.g. if you need 3,000 RPM from a 25 KV motor then your pack voltage needs to be  3,000 / 25 = 120 V. The exact number of cells in series you need depends on the cell design, but 3.8 V for Li-ion and 3.2 V for LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; is a reasonable guess.&lt;br /&gt;
&lt;br /&gt;
=== Maximum current (A) ===&lt;br /&gt;
&#039;&#039;&#039;How quickly do you want to accelerate?&#039;&#039;&#039; Your motor&#039;s maximum power will be specified in kW. To estimate your maximum current draw, divide the peak power by the battery voltage. e.g. a 30 kW motor with a 120 V battery pack will pull 30,000 / 120 = 250 A. The higher the current rating of the cells, the heavier they will be for a given capacity. Ideally, you want &amp;quot;enough&amp;quot; current capacity for full throttle acceleration, but no more. You can put cells in parallel to double the current rating of your pack (which of course will half the voltage). &lt;br /&gt;
&lt;br /&gt;
=== Mass (kg) ===&lt;br /&gt;
&#039;&#039;&#039;Can your vehicle carry the weight?&#039;&#039;&#039; You&#039;ll need to keep the kerb weight within the original design limits. For a car, this could be a few hundred kg. For a motorcycle, likely less than 100 kg. This is a huge variable - and each new generation of battery tech seems to be a little lighter. For older EV or hybrid batteries, you can reckon on 10-15 kg/kWh. Nissan Leaf batteries are relatively light (7.5 kg/kWh). With the latest technology (e.g. Kokam pouch cells or 18650s), you can get this down to 5-6 kg/kWh.&lt;br /&gt;
&lt;br /&gt;
=== Volume (L) ===&lt;br /&gt;
&#039;&#039;&#039;Will it fit?&#039;&#039;&#039; Batteries are bulky. They are getting smaller, but finding enough space my be your biggest challenge. You can reckon on 5-10 L/kWh for older EV or hybrid batteries. For the latest technology (e.g. Kokam pouch cells or 18650s), you can get this down to 3-3.5 kg/kWh.&lt;br /&gt;
&lt;br /&gt;
There is much, much more to battery design than this (e.g. maximum charge rate, terminations, cooling, clamping), but the above should help work out which options will or won&#039;t work for your project...&lt;br /&gt;
&lt;br /&gt;
== Cell chemistry ==&lt;br /&gt;
&lt;br /&gt;
=== Lithium Iron Phosphate (LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt;) ===&lt;br /&gt;
Lithium Iron Phosphate (also known as LFP, or LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt;) batteries offer a good compromise between safety, energy density and ease of use for DIY conversions. They are available in a number of formats, commonly pouch cells, prismatic cells and cylindrical cells.&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; pouch cells ====&lt;br /&gt;
The majority of this content is drawn from this thread: [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761&amp;amp;start=900 https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761] discussing the use of the A123 20Ah pouch cell. However, many of the general points apply equally to other similar pouch cells.&lt;br /&gt;
&lt;br /&gt;
===== General build requirements =====&lt;br /&gt;
Pouch cells are vulnerable to damage from debris, and must be held in compression (see the datasheet for your battery, but 10-12 psi is recommended for the A123 pouch cells as a guide). A rigid container capable of preventing damage and providing compression is therefore required. Be aware the cells expand and contract in use, so allowance for this must be included in the structure of the case.&lt;br /&gt;
&lt;br /&gt;
The pouch cells should be separated to prevent abrasion between cells, and also to avoid the development of hot spots. Prebuilt modules from A123 systems had thin foam sheets or heatsinks between each cell. Be sure to avoid any debris that could rub on the pouch surface, particularly if using recycled cells.&lt;br /&gt;
&lt;br /&gt;
Mylar, &#039;[https://www.americanmicroinc.com/fish-paper/ Fish paper]&#039; or a [https://www.rogerscorp.com/elastomeric-material-solutions/poron-industrial-polyurethanes compliant foam] may be appropriate materials to serve this purpose. This material should not be flammable. If the material is heat insulating, it is important to address thermal management.&lt;br /&gt;
&lt;br /&gt;
===== Compression =====&lt;br /&gt;
Compression is required to prevent premature failure of the cell. Without compression electrolyte will become unevenly distributed, causing current gradients in the cell and uneven heating. Local temperatures can become high enough to form gas formation leading to cells &#039;puffing up&#039; even when the pack is otherwise held within temperature and voltage constraints. This will be exacerbated in packs with otherwise poor thermal management. Compression forces gas generated to the margins of the cell, outside of the cell stack, minimising its effect cell performance. Gas in the middle cells will create a dead space which does not store or release energy.&lt;br /&gt;
&lt;br /&gt;
There is ~1% expansion through a discharge cycle. As the cell ages, the nominal cell thickness can grow by 3-5%. For A123 cells the ideal pressure is between 4 and 18psi with the ideal pressure being ~12psi. Maintaining 12psi can increase the life by 500 cycles over that of 4 or 18psi&lt;br /&gt;
&lt;br /&gt;
There is some suggestion that in uses where 1C is never exceeded compression &#039;&#039;may&#039;&#039; not be required.&lt;br /&gt;
&lt;br /&gt;
Highly rigid endplates with a mechanism to allow for a limited degree of expansion (e.g. steel bands) are considered an effective solution to this challenge.&lt;br /&gt;
&lt;br /&gt;
It should be noted that compression is a challenge specific to pouch cells. Cylindrical cells are designed to maintain their own compression within the cell&#039;s electrode stack by their design.&lt;br /&gt;
&lt;br /&gt;
This thread provides more information and experimentation relating to pack compression: &amp;lt;nowiki&amp;gt;https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=52244&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Pouch Cell Pack Design Examples =====&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;placeholder*&lt;br /&gt;
&lt;br /&gt;
===== Notes regarding recycled pouch cells =====&lt;br /&gt;
Pouch cells are somewhat fragile, and breaching the insulation is not difficult, especially in a cells removed from existing packs and repurposed. If the pouch has had their poly-layers compromised you may see a number of faults:&lt;br /&gt;
* Black spots around the perimeter of the cell indicate electrolyte leakage&lt;br /&gt;
* Voltage on the outside of the bag. Note that microvoltage between the pouch and the electrode is normal (and due to a capacitive effect).&lt;br /&gt;
While the majority of these cells should no longer be in the market, a significant number of faulty cells made it back into the &#039;greymarket&#039; in around 2013. These cells had misaligned tabs which can also lead to isolation failures between the tab and the pack. These cells should be avoided, particularly in high demand applications.&lt;br /&gt;
&lt;br /&gt;
===== Situations likely to cause pouch cell failure =====&lt;br /&gt;
&#039;&#039;Taken directly from [https://endless-sphere.com/forums/memberlist.php?mode=viewprofile&amp;amp;u=33107 wb9k]&#039;s post on endless sphere in the [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761 A123 thread]&#039;&#039;&lt;br /&gt;
# &#039;&#039;&#039;Overcharge&#039;&#039;&#039;. Any extended time above 3.8 Volts will generate enough heat and electrochemical activity to puff a cell, especially one that is improperly compressed.&lt;br /&gt;
# &#039;&#039;&#039;Overdischarge followed by charge&#039;&#039;&#039;. Any A123 cell that has been pulled low enough to come to rest at &amp;lt;300 mV should be immediately scrapped. The published number for that is 500 mV, but the real figure is closer to 300, so that&#039;s a &amp;quot;safety buffer&amp;quot; if you will. Below this Voltage, the Cu electrodes start to dissolve into the electrolyte. When charge is applied, the Cu forms dendrites that puncture the separator layer, forming an internal short in the cell. This can puff a cell in a hurry---the more charge current on tap, the worse it&#039;s prone to be.&lt;br /&gt;
# &#039;&#039;&#039;Driving a cell negative&#039;&#039;&#039;. I&#039;ve neglected to mention this before, but it is a possibility. I don&#039;t know much about the specific mechanism at this time.&lt;br /&gt;
# &#039;&#039;&#039;Malfunctioning or misinformed electronics&#039;&#039;&#039;. This is the most common cause of all of the above in my experience. At this stage of the game, it is critical for YOU to understand how your BMS functions on at least a cursory level. Choose your BMS very carefully and periodically verify that it is operating properly. They&#039;re not all created equal. Make sure V sense lines are securely connected and free of corrosion. Just because your BMS says there was never a problem doesn&#039;t necessarily make it so. Avoid harnesses or ribbon cables between multiple modules if possible--they are problematic wherever they are used in any mobile electronics.&lt;br /&gt;
# &#039;&#039;&#039;Exposure to or generation of sufficient heat&#039;&#039;&#039;. I don&#039;t know exactly at what temperature gas formation begins in the electrolyte, but we spec a max storage temp of 80 (or 85?) degrees C and I suspect this is the reason. The hotter, the puffier--to a point. This is why soldering tabs poses a real hazard to cell health. If you feel you must solder, sink or blow the heat away from the body of the cell. Use a big iron that can make sufficient local heat quickly, before the whole mass of the cell gets hot. You might even get the cell warm enough to melt separator if not careful.&lt;br /&gt;
# &#039;&#039;&#039;No compression, not enough compression, improperly distributed compression&#039;&#039;&#039;. This is a pack/module design issue. Apply 10, maybe 15 psi to your cell stack end to end and then band snugly and evenly. Use hard endplates of some sort--never wrap cells directly or allow their shape to become distorted. Protect all areas of the pouch from impact damage. This obviously does not apply to cylindrical cells.&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; prismatic cells ====&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;placeholder*&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; cylindrical cells ====&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;placeholder*&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; cell ageing ====&lt;br /&gt;
&#039;&#039;Derived (barely paraphrased) from [https://endless-sphere.com/forums/memberlist.php?mode=viewprofile&amp;amp;u=33107 wb9k]&#039;s post on endless sphere in the [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761 A123 thread]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Capacity loss is caused by the lithium that was available for storage becoming permanently plated on the cathode. Being unable to move within the cell it is no longer available to store energy. The impact of this plating is greater than the amount of lithium &#039;lost&#039; to plating because not only is the lithium no longer available, it is also preventing access to that part of the cathode meaning Li that can still move has to take a longer path to reach the cathode. Lithium plating is one cause of increased cell resistance (there are others), a sign of worsening cell health.&lt;br /&gt;
&lt;br /&gt;
There is no linear relationship between actual capacity loss and impedance rise. However some cell defects will also increase impedance.&lt;br /&gt;
&lt;br /&gt;
Increasing cell resistance may cause a number of symptoms which may be confused with [https://earthshipbiotecture.com/a-lithium-ion-battery-primer/ High Self Discharge.]&lt;br /&gt;
# Elevated Peukert Losses. As more energy per amount of current through the cell is lost as heat, the cells useable capacity decreases. So the apparent capacity loss is higher than the actual capacity loss of cycleable lithium. When used in low current applications (e.g. solar energy storage) the actual and apparent decrease in capacity will be small. In high current draw applications (like EV traction packs), the Peukert loss increases proportionally, so the apparent capacity loss increases much faster than the actual capacity loss.&lt;br /&gt;
# Greater voltage excursion under the same load. Due to increased cell resistancethe voltage will sag further under the same load than a cell in optimal condition. The inverse is also true, the voltage will be higher for the same amount of charging current applied. The cell will then rebound to a voltage further from the loaded and charging voltages. This, obviously, can look like high self discharge but is a different phenomenon.&lt;br /&gt;
# Absolute maximum current decrease.&lt;br /&gt;
Elevated impedance causes a more complex constellation of symptoms, some of which may be easy to confuse with High Self Discharge (HSD). Ohm&#039;s law (E=I/R) holds the key to understanding here.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1) Elevated Peukert losses.&#039;&#039;&#039; Because more energy per unit of current through the cell is lost as heat, less of the cell&#039;s capacity is actually USABLE. Thus, apparent capacity loss can be significantly greater than actual capacity loss caused by the loss of cycleable Li alone. In low current applications, the two numbers will be close together. In high current applications, Peukert losses increase in proportion, so apparent loss of capacity breaks further and further away from actual capacity loss as current increases.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2) Greater voltage excursion under the same load.&#039;&#039;&#039; Elevated resistance across the cell means that voltage will sag more under the same load than it did when the cell was healthier. Conversely, voltage will rise higher with the same amount of applied charge current than it did when it was healthier. At the same time, rebound/settling voltages will be further away from loaded/charging voltages. In other words, the cell will rebound to a voltage further away from loaded voltage, all else being equal. Similarly, voltage will settle farther from the charge voltage with the same charge applied. This can give the illusion of elevated self-discharge, but the phenomenon is actually not the same thing. Again, the greater the charge and load currents, the greater the effect becomes.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3) Absolute max current decreases.&#039;&#039;&#039; Because the cell&#039;s series resistance is elevated, the maximum possible current through the cell is decreased.&lt;br /&gt;
&lt;br /&gt;
Just to confuse things further, there can be many factors that lead to impedance rise. Some are related to Li plating, others are not.&lt;br /&gt;
&lt;br /&gt;
=== Lithium-ion ===&lt;br /&gt;
Lithium-ion (Li-ion) batteries have a greater energy density than Lithium Iron Phosphate batteries, but have more challenging needs to use safely. The ideal operating range of Li-ion batteries is between +15 and +45°C. The upper limit of temperature is particularly important as Li-ion batteries experience thermal runaway - an unstoppable chain reaction that can occur in milliseconds releasing the stored energy in the cell. This can produce temperatures of 400°C and a fire that is extremely difficult to put out. Thermal runaway can start as low as 60°C and becomes much more likely at 100°C&lt;br /&gt;
&lt;br /&gt;
Risk factors for thermal runaway:&lt;br /&gt;
* Short Circuits - either internally or externally&lt;br /&gt;
* Overcharging&lt;br /&gt;
* Excessive current draw or when charging&lt;br /&gt;
&lt;br /&gt;
=== Li-ion pouch cells ===&lt;br /&gt;
[https://kokam.com/cell Kokam] produce high-performance Li-ion pouch cells. These combine relative ease of use and pack construction with performance close to cylindrical cells. &lt;br /&gt;
&lt;br /&gt;
=== Li-ion 18650 and other cylindrical cells ===&lt;br /&gt;
Cylindrical cells are favoured by Tesla, and are probably the main reason why their cars achieve such excellent performance. They are light, compact, powerful and expensive. Unfortunately, cylindrical cells are staggeringly difficult (and dangerous) to use in DIY conversions. There are two good reasons for this: thermal management and cell configuration.&lt;br /&gt;
&lt;br /&gt;
As stated above, Li-ion cells are prone to thermal runaway. So you need perfect thermal management to ensure that no cell ever exceeds the critical temperature. If this happens, the cell will short-circuit internally, releasing a lot of energy - potentially explosively. Furthermore, the individual cells are small, so need to be arranged in parallel. In the case of the Tesla Model S, there are 74 cells in each parallel. Imagine if one of those cells fails and becomes short circuited internally. You now have 73 very high power cells in parallel feeding in to that short circuit. In fact, you don&#039;t have to imaging. You can watch this famous video instead (courtesy of Rich Rebuilds).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;&amp;lt;youtube&amp;gt;WdDi1haA71Q&amp;lt;/youtube&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;/div&gt;</summary>
		<author><name>Clanger9</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Batteries&amp;diff=1157</id>
		<title>Batteries</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Batteries&amp;diff=1157"/>
		<updated>2020-11-30T19:32:33Z</updated>

		<summary type="html">&lt;p&gt;Clanger9: /* Lithium Iron Phosphate (LiFePO4) Batteries */ minor restructure&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
There are a wide variety of battery chemistries available for use as the main traction battery of an EV. To use each chemistry safely, and to ensure an adequate service life from the battery pack it is important to understand the requirements for the chemistry you are using. Failure to do so may lead to premature or catastrophic failure of the pack.&lt;br /&gt;
&lt;br /&gt;
Good pack design will allow for a nominal amount of abuse. People make mistakes and the pack should allow a margin for safety - and for longevity!&lt;br /&gt;
&lt;br /&gt;
== Battery pack specification ==&lt;br /&gt;
When deciding on your battery pack, here are some basic parameters to consider:&lt;br /&gt;
&lt;br /&gt;
=== Capacity (kWh) ===&lt;br /&gt;
&#039;&#039;&#039;How far do you want to go?&#039;&#039;&#039; A standard  car conversion will need around 1kWh for 3 miles of range. For a middleweight motorcycle, 1kWh should give around 9 miles. &#039;&#039;Your mileage may vary&#039;&#039;, as they say.&lt;br /&gt;
&lt;br /&gt;
=== Voltage (V) ===&lt;br /&gt;
&#039;&#039;&#039;How fast do you want to go?&#039;&#039;&#039; The pack voltage defines the maximum speed your motor can spin. Motors are usually specified with &amp;quot;KV&amp;quot; - or RPM-per-volt. Check the KV of your motor and how fast it needs to spin to get your desired top speed. e.g. if you need 3,000 RPM from a 25 KV motor then your pack voltage needs to be  3,000 / 25 = 120 V. The exact number of cells in series you need depends on the cell chemistry, but 3.8 V is a reasonable guess.&lt;br /&gt;
&lt;br /&gt;
=== Maximum current (A) ===&lt;br /&gt;
&#039;&#039;&#039;How quickly do you want to accelerate?&#039;&#039;&#039; Your motor&#039;s maximum power will be specified in kW. To estimate your maximum current draw, divide the peak power by the battery voltage. e.g. a 30 kW motor with a 120 V battery pack will pull 30,000 / 120 = 250 A. The higher the current rating of the cells, the heavier they will be for a given capacity. Ideally, you want &amp;quot;enough&amp;quot; current capacity for full throttle acceleration, but no more. You can put cells in parallel to double the current rating of your pack (which of course will half the voltage). &lt;br /&gt;
&lt;br /&gt;
=== Mass (kg) ===&lt;br /&gt;
&#039;&#039;&#039;Can your vehicle carry the weight?&#039;&#039;&#039; You&#039;ll need to keep the kerb weight within the original design limits. For a car, this could be a few hundred kg. For a motorcycle, likely less than 100 kg. This is a huge variable - and each new generation of battery tech seems to be a little lighter. For older EV or hybrid batteries, you can reckon on 10-15 kg/kWh. Nissan Leaf batteries are relatively light (7.5 kg/kWh). With the latest technology (e.g. Kokam pouch cells or 18650s), you can get this down to 5-6 kg/kWh.&lt;br /&gt;
&lt;br /&gt;
=== Volume (L) ===&lt;br /&gt;
&#039;&#039;&#039;Will it fit?&#039;&#039;&#039; Batteries are bulky. They are getting smaller, but finding enough space my be your biggest challenge. You can reckon on 5-10 L/kWh for older EV or hybrid batteries. For the latest technology (e.g. Kokam pouch cells or 18650s), you can get this down to 3-3.5 kg/kWh.&lt;br /&gt;
&lt;br /&gt;
There is much, much more to battery design than this (e.g. maximum charge rate, terminations, cooling, clamping), but the above should help work out which options will or won&#039;t work for your project...&lt;br /&gt;
&lt;br /&gt;
== Cell chemistry ==&lt;br /&gt;
&lt;br /&gt;
=== Lithium Iron Phosphate (LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt;) ===&lt;br /&gt;
Lithium Iron Phosphate (also known as LFP, or LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt;) batteries offer a good compromise between safety, energy density and ease of use for DIY conversions. They are available in a number of formats, commonly pouch cells, prismatic cells and cylindrical cells.&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; pouch cells ====&lt;br /&gt;
The majority of this content is drawn from this thread: [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761&amp;amp;start=900 https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761] discussing the use of the A123 20Ah pouch cell. However, many of the general points apply equally to other similar pouch cells.&lt;br /&gt;
&lt;br /&gt;
===== General build requirements =====&lt;br /&gt;
Pouch cells are vulnerable to damage from debris, and must be held in compression (see the datasheet for your battery, but 10-12 psi is recommended for the A123 pouch cells as a guide). A rigid container capable of preventing damage and providing compression is therefore required. Be aware the cells expand and contract in use, so allowance for this must be included in the structure of the case.&lt;br /&gt;
&lt;br /&gt;
The pouch cells should be separated to prevent abrasion between cells, and also to avoid the development of hot spots. Prebuilt modules from A123 systems had thin foam sheets or heatsinks between each cell. Be sure to avoid any debris that could rub on the pouch surface, particularly if using recycled cells.&lt;br /&gt;
&lt;br /&gt;
Mylar, &#039;[https://www.americanmicroinc.com/fish-paper/ Fish paper]&#039; or a [https://www.rogerscorp.com/elastomeric-material-solutions/poron-industrial-polyurethanes compliant foam] may be appropriate materials to serve this purpose. This material should not be flammable. If the material is heat insulating, it is important to address thermal management.&lt;br /&gt;
&lt;br /&gt;
===== Compression =====&lt;br /&gt;
Compression is required to prevent premature failure of the cell. Without compression electrolyte will become unevenly distributed, causing current gradients in the cell and uneven heating. Local temperatures can become high enough to form gas formation leading to cells &#039;puffing up&#039; even when the pack is otherwise held within temperature and voltage constraints. This will be exacerbated in packs with otherwise poor thermal management. Compression forces gas generated to the margins of the cell, outside of the cell stack, minimising its effect cell performance. Gas in the middle cells will create a dead space which does not store or release energy.&lt;br /&gt;
&lt;br /&gt;
There is ~1% expansion through a discharge cycle. As the cell ages, the nominal cell thickness can grow by 3-5%. For A123 cells the ideal pressure is between 4 and 18psi with the ideal pressure being ~12psi. Maintaining 12psi can increase the life by 500 cycles over that of 4 or 18psi&lt;br /&gt;
&lt;br /&gt;
There is some suggestion that in uses where 1C is never exceeded compression &#039;&#039;may&#039;&#039; not be required.&lt;br /&gt;
&lt;br /&gt;
Highly rigid endplates with a mechanism to allow for a limited degree of expansion (e.g. steel bands) are considered an effective solution to this challenge.&lt;br /&gt;
&lt;br /&gt;
It should be noted that compression is a challenge specific to pouch cells. Cylindrical cells are designed to maintain their own compression within the cell&#039;s electrode stack by their design.&lt;br /&gt;
&lt;br /&gt;
This thread provides more information and experimentation relating to pack compression: &amp;lt;nowiki&amp;gt;https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=52244&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Pouch Cell Pack Design Examples =====&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;placeholder*&lt;br /&gt;
&lt;br /&gt;
===== Notes regarding recycled pouch cells =====&lt;br /&gt;
Pouch cells are somewhat fragile, and breaching the insulation is not difficult, especially in a cells removed from existing packs and repurposed. If the pouch has had their poly-layers compromised you may see a number of faults:&lt;br /&gt;
* Black spots around the perimeter of the cell indicate electrolyte leakage&lt;br /&gt;
* Voltage on the outside of the bag. Note that microvoltage between the pouch and the electrode is normal (and due to a capacitive effect).&lt;br /&gt;
While the majority of these cells should no longer be in the market, a significant number of faulty cells made it back into the &#039;greymarket&#039; in around 2013. These cells had misaligned tabs which can also lead to isolation failures between the tab and the pack. These cells should be avoided, particularly in high demand applications.&lt;br /&gt;
&lt;br /&gt;
===== Situations likely to cause pouch cell failure =====&lt;br /&gt;
&#039;&#039;Taken directly from [https://endless-sphere.com/forums/memberlist.php?mode=viewprofile&amp;amp;u=33107 wb9k]&#039;s post on endless sphere in the [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761 A123 thread]&#039;&#039;&lt;br /&gt;
# &#039;&#039;&#039;Overcharge&#039;&#039;&#039;. Any extended time above 3.8 Volts will generate enough heat and electrochemical activity to puff a cell, especially one that is improperly compressed.&lt;br /&gt;
# &#039;&#039;&#039;Overdischarge followed by charge&#039;&#039;&#039;. Any A123 cell that has been pulled low enough to come to rest at &amp;lt;300 mV should be immediately scrapped. The published number for that is 500 mV, but the real figure is closer to 300, so that&#039;s a &amp;quot;safety buffer&amp;quot; if you will. Below this Voltage, the Cu electrodes start to dissolve into the electrolyte. When charge is applied, the Cu forms dendrites that puncture the separator layer, forming an internal short in the cell. This can puff a cell in a hurry---the more charge current on tap, the worse it&#039;s prone to be.&lt;br /&gt;
# &#039;&#039;&#039;Driving a cell negative&#039;&#039;&#039;. I&#039;ve neglected to mention this before, but it is a possibility. I don&#039;t know much about the specific mechanism at this time.&lt;br /&gt;
# &#039;&#039;&#039;Malfunctioning or misinformed electronics&#039;&#039;&#039;. This is the most common cause of all of the above in my experience. At this stage of the game, it is critical for YOU to understand how your BMS functions on at least a cursory level. Choose your BMS very carefully and periodically verify that it is operating properly. They&#039;re not all created equal. Make sure V sense lines are securely connected and free of corrosion. Just because your BMS says there was never a problem doesn&#039;t necessarily make it so. Avoid harnesses or ribbon cables between multiple modules if possible--they are problematic wherever they are used in any mobile electronics.&lt;br /&gt;
# &#039;&#039;&#039;Exposure to or generation of sufficient heat&#039;&#039;&#039;. I don&#039;t know exactly at what temperature gas formation begins in the electrolyte, but we spec a max storage temp of 80 (or 85?) degrees C and I suspect this is the reason. The hotter, the puffier--to a point. This is why soldering tabs poses a real hazard to cell health. If you feel you must solder, sink or blow the heat away from the body of the cell. Use a big iron that can make sufficient local heat quickly, before the whole mass of the cell gets hot. You might even get the cell warm enough to melt separator if not careful.&lt;br /&gt;
# &#039;&#039;&#039;No compression, not enough compression, improperly distributed compression&#039;&#039;&#039;. This is a pack/module design issue. Apply 10, maybe 15 psi to your cell stack end to end and then band snugly and evenly. Use hard endplates of some sort--never wrap cells directly or allow their shape to become distorted. Protect all areas of the pouch from impact damage. This obviously does not apply to cylindrical cells.&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; prismatic cells ====&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;placeholder*&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; cylindrical cells ====&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;placeholder*&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; cell ageing ====&lt;br /&gt;
&#039;&#039;Derived (barely paraphrased) from [https://endless-sphere.com/forums/memberlist.php?mode=viewprofile&amp;amp;u=33107 wb9k]&#039;s post on endless sphere in the [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761 A123 thread]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Capacity loss is caused by the lithium that was available for storage becoming permanently plated on the cathode. Being unable to move within the cell it is no longer available to store energy. The impact of this plating is greater than the amount of lithium &#039;lost&#039; to plating because not only is the lithium no longer available, it is also preventing access to that part of the cathode meaning Li that can still move has to take a longer path to reach the cathode. Lithium plating is one cause of increased cell resistance (there are others), a sign of worsening cell health.&lt;br /&gt;
&lt;br /&gt;
There is no linear relationship between actual capacity loss and impedance rise. However some cell defects will also increase impedance.&lt;br /&gt;
&lt;br /&gt;
Increasing cell resistance may cause a number of symptoms which may be confused with [https://earthshipbiotecture.com/a-lithium-ion-battery-primer/ High Self Discharge.]&lt;br /&gt;
# Elevated Peukert Losses. As more energy per amount of current through the cell is lost as heat, the cells useable capacity decreases. So the apparent capacity loss is higher than the actual capacity loss of cycleable lithium. When used in low current applications (e.g. solar energy storage) the actual and apparent decrease in capacity will be small. In high current draw applications (like EV traction packs), the Peukert loss increases proportionally, so the apparent capacity loss increases much faster than the actual capacity loss.&lt;br /&gt;
# Greater voltage excursion under the same load. Due to increased cell resistancethe voltage will sag further under the same load than a cell in optimal condition. The inverse is also true, the voltage will be higher for the same amount of charging current applied. The cell will then rebound to a voltage further from the loaded and charging voltages. This, obviously, can look like high self discharge but is a different phenomenon.&lt;br /&gt;
# Absolute maximum current decrease.&lt;br /&gt;
Elevated impedance causes a more complex constellation of symptoms, some of which may be easy to confuse with High Self Discharge (HSD). Ohm&#039;s law (E=I/R) holds the key to understanding here.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1) Elevated Peukert losses.&#039;&#039;&#039; Because more energy per unit of current through the cell is lost as heat, less of the cell&#039;s capacity is actually USABLE. Thus, apparent capacity loss can be significantly greater than actual capacity loss caused by the loss of cycleable Li alone. In low current applications, the two numbers will be close together. In high current applications, Peukert losses increase in proportion, so apparent loss of capacity breaks further and further away from actual capacity loss as current increases.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2) Greater voltage excursion under the same load.&#039;&#039;&#039; Elevated resistance across the cell means that voltage will sag more under the same load than it did when the cell was healthier. Conversely, voltage will rise higher with the same amount of applied charge current than it did when it was healthier. At the same time, rebound/settling voltages will be further away from loaded/charging voltages. In other words, the cell will rebound to a voltage further away from loaded voltage, all else being equal. Similarly, voltage will settle farther from the charge voltage with the same charge applied. This can give the illusion of elevated self-discharge, but the phenomenon is actually not the same thing. Again, the greater the charge and load currents, the greater the effect becomes.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3) Absolute max current decreases.&#039;&#039;&#039; Because the cell&#039;s series resistance is elevated, the maximum possible current through the cell is decreased.&lt;br /&gt;
&lt;br /&gt;
Just to confuse things further, there can be many factors that lead to impedance rise. Some are related to Li plating, others are not.&lt;br /&gt;
&lt;br /&gt;
=== Lithium-ion ===&lt;br /&gt;
Lithium-ion (Li-ion) batteries have a greater energy density than Lithium Iron Phosphate batteries, but have more challenging needs to use safely. The ideal operating range of Li-ion batteries is between +15 and +45°C. The upper limit of temperature is particularly important as Li-ion batteries experience thermal runaway - an unstoppable chain reaction that can occur in milliseconds releasing the stored energy in the cell. This can produce temperatures of 400°C and a fire that is extremely difficult to put out. Thermal runaway can start as low as 60°C and becomes much more likely at 100°C&lt;br /&gt;
&lt;br /&gt;
Risk factors for thermal runaway:&lt;br /&gt;
* Short Circuits - either internally or externally&lt;br /&gt;
* Overcharging&lt;br /&gt;
* Excessive current draw or when charging&lt;br /&gt;
&lt;br /&gt;
=== Li-ion pouch cells ===&lt;br /&gt;
Placeholder&lt;br /&gt;
&lt;br /&gt;
=== Li-ion 18650 and other cylindrical cells ===&lt;br /&gt;
Placeholder&lt;/div&gt;</summary>
		<author><name>Clanger9</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Batteries&amp;diff=1156</id>
		<title>Batteries</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Batteries&amp;diff=1156"/>
		<updated>2020-11-30T19:17:32Z</updated>

		<summary type="html">&lt;p&gt;Clanger9: /* Maximum current (A) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
There are a wide variety of battery chemistries available for use as the main traction battery of an EV. To use each chemistry safely, and to ensure an adequate service life from the battery pack it is important to understand the requirements for the chemistry you are using. Failure to do so may lead to premature or catastrophic failure of the pack.&lt;br /&gt;
&lt;br /&gt;
Good pack design will allow for a nominal amount of abuse. People make mistakes and the pack should allow a margin for safety - and for longevity!&lt;br /&gt;
&lt;br /&gt;
== Battery pack specification ==&lt;br /&gt;
When deciding on your battery pack, here are some basic parameters to consider:&lt;br /&gt;
&lt;br /&gt;
=== Capacity (kWh) ===&lt;br /&gt;
&#039;&#039;&#039;How far do you want to go?&#039;&#039;&#039; A standard  car conversion will need around 1kWh for 3 miles of range. For a middleweight motorcycle, 1kWh should give around 9 miles. &#039;&#039;Your mileage may vary&#039;&#039;, as they say.&lt;br /&gt;
&lt;br /&gt;
=== Voltage (V) ===&lt;br /&gt;
&#039;&#039;&#039;How fast do you want to go?&#039;&#039;&#039; The pack voltage defines the maximum speed your motor can spin. Motors are usually specified with &amp;quot;KV&amp;quot; - or RPM-per-volt. Check the KV of your motor and how fast it needs to spin to get your desired top speed. e.g. if you need 3,000 RPM from a 25 KV motor then your pack voltage needs to be  3,000 / 25 = 120 V. The exact number of cells in series you need depends on the cell chemistry, but 3.8 V is a reasonable guess for Li-ion.&lt;br /&gt;
&lt;br /&gt;
=== Maximum current (A) ===&lt;br /&gt;
&#039;&#039;&#039;How quickly do you want to accelerate?&#039;&#039;&#039; Your motor&#039;s maximum power will be specified in kW. To estimate your maximum current draw, divide the peak power by the battery voltage. e.g. a 30 kW motor with a 120 V battery pack will pull 30,000 / 120 = 250 A. The higher the current rating of the cells, the heavier they will be for a given capacity. Ideally, you want &amp;quot;enough&amp;quot; current capacity for full throttle acceleration, but no more. You can put cells in parallel to double the current rating of your pack (which of course will half the voltage). &lt;br /&gt;
&lt;br /&gt;
=== Mass (kg) ===&lt;br /&gt;
&#039;&#039;&#039;Can your vehicle carry the weight?&#039;&#039;&#039; You&#039;ll need to keep the kerb weight within the original design limits. For a car, this could be a few hundred kg. For a motorcycle, likely less than 100 kg. This is a huge variable - and each new generation of battery tech seems to be a little lighter. For older EV or hybrid batteries, you can reckon on 10-15 kg/kWh. Nissan Leaf batteries are relatively light (7.5 kq/kWh). With the latest technology (e.g. Kokam pouch cells or 18650s), you can get this down to 5-6 kg/kWh.&lt;br /&gt;
&lt;br /&gt;
=== Volume (L) ===&lt;br /&gt;
&#039;&#039;&#039;Will it fit?&#039;&#039;&#039; Batteries are bulky. They are getting smaller, but finding enough space my be your biggest challenge. You can reckon on 5-10 L/kWh for older EV or hybrid batteries. For the latest technology (e.g. Kokam pouch cells or 18650s), you can get this down to 3-3.5 kg/kWh.&lt;br /&gt;
&lt;br /&gt;
There is much, much more to battery design than this (e.g. maximum charge rate, terminations, cooling, clamping), but the above should help work out which options will or won&#039;t work for your project...&lt;br /&gt;
&lt;br /&gt;
== Lithium Iron Phosphate (LiFePO4) Batteries ==&lt;br /&gt;
Lithium Iron Phosphate (also known as LFP, or LiFePO4) batteries offer a good compromise between safety, energy density and ease of use for DIY conversions. They are available in a number of formats, commonly pouch cells and cylindrical cells.&lt;br /&gt;
&lt;br /&gt;
=== LiFePO4 Pouch cells ===&lt;br /&gt;
The majority of this content is drawn from this thread: [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761&amp;amp;start=900 https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761] discussing the use of the A123 20Ah pouch cell. However, many of the general points apply equally to other similar pouch cells.&lt;br /&gt;
&lt;br /&gt;
==== General build requirements ====&lt;br /&gt;
Pouch cells are vulnerable to damage from debris, and must be held in compression (see the datasheet for your battery, but 10-12 psi is recommended for the A123 pouch cells as a guide). A rigid container capable of preventing damage and providing compression is therefore required. Be aware the cells expand and contract in use, so allowance for this must be included in the structure of the case.&lt;br /&gt;
&lt;br /&gt;
The pouch cells should be separated to prevent abrasion between cells, and also to avoid the development of hot spots. Prebuilt modules from A123 systems had thin foam sheets or heatsinks between each cell. Be sure to avoid any debris that could rub on the pouch surface, particularly if using recycled cells.&lt;br /&gt;
&lt;br /&gt;
Mylar, &#039;[https://www.americanmicroinc.com/fish-paper/ Fish paper]&#039; or a [https://www.rogerscorp.com/elastomeric-material-solutions/poron-industrial-polyurethanes compliant foam] may be appropriate materials to serve this purpose. This material should not be flammable. If the material is heat insulating, it is important to address thermal management.&lt;br /&gt;
&lt;br /&gt;
==== Compression ====&lt;br /&gt;
Compression is required to prevent premature failure of the cell. Without compression electrolyte will become unevenly distributed, causing current gradients in the cell and uneven heating. Local temperatures can become high enough to form gas formation leading to cells &#039;puffing up&#039; even when the pack is otherwise held within temperature and voltage constraints. This will be exacerbated in packs with otherwise poor thermal management. Compression forces gas generated to the margins of the cell, outside of the cell stack, minimising its effect cell performance. Gas in the middle cells will create a dead space which does not store or release energy.&lt;br /&gt;
&lt;br /&gt;
There is ~1% expansion through a discharge cycle. As the cell ages, the nominal cell thickness can grow by 3-5%. For A123 cells the ideal pressure is between 4 and 18psi with the ideal pressure being ~12psi. Maintaining 12psi can increase the life by 500 cycles over that of 4 or 18psi&lt;br /&gt;
&lt;br /&gt;
There is some suggestion that in uses where 1C is never exceeded compression &#039;&#039;may&#039;&#039; not be required.&lt;br /&gt;
&lt;br /&gt;
Highly rigid endplates with a mechanism to allow for a limited degree of expansion (e.g. steel bands) are considered an effective solution to this challenge.&lt;br /&gt;
&lt;br /&gt;
It should be noted that compression is a challenge specific to pouch cells. Cylindrical cells are designed to maintain their own compression within the cell&#039;s electrode stack by their design.&lt;br /&gt;
&lt;br /&gt;
This thread provides more information and experimentation relating to pack compression: &amp;lt;nowiki&amp;gt;https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=52244&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Pouch Cell Pack Design Examples ====&lt;br /&gt;
Placeholder&lt;br /&gt;
&lt;br /&gt;
==== Notes regarding recycled pouch cells ====&lt;br /&gt;
Pouch cells are somewhat fragile, and breaching the insulation is not difficult, especially in a cells removed from existing packs and repurposed. If the pouch has had their poly-layers compromised you may see a number of faults:&lt;br /&gt;
* Black spots around the perimeter of the cell indicate electrolyte leakage&lt;br /&gt;
* Voltage on the outside of the bag. Note that microvoltage between the pouch and the electrode is normal (and due to a capacitive effect).&lt;br /&gt;
While the majority of these cells should no longer be in the market, a significant number of faulty cells made it back into the &#039;greymarket&#039; in around 2013. These cells had misaligned tabs which can also lead to isolation failures between the tab and the pack. These cells should be avoided, particularly in high demand applications.&lt;br /&gt;
&lt;br /&gt;
=== Cylindrical cells ===&lt;br /&gt;
Placeholder&lt;br /&gt;
&lt;br /&gt;
==== Situations likely to cause cell failure ====&lt;br /&gt;
&#039;&#039;Taken directly from [https://endless-sphere.com/forums/memberlist.php?mode=viewprofile&amp;amp;u=33107 wb9k]&#039;s post on endless sphere in the [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761 A123 thread]&#039;&#039;&lt;br /&gt;
# &#039;&#039;&#039;Overcharge&#039;&#039;&#039;. Any extended time above 3.8 Volts will generate enough heat and electrochemical activity to puff a cell, especially one that is improperly compressed.&lt;br /&gt;
# &#039;&#039;&#039;Overdischarge followed by charge&#039;&#039;&#039;. Any A123 cell that has been pulled low enough to come to rest at &amp;lt;300 mV should be immediately scrapped. The published number for that is 500 mV, but the real figure is closer to 300, so that&#039;s a &amp;quot;safety buffer&amp;quot; if you will. Below this Voltage, the Cu electrodes start to dissolve into the electrolyte. When charge is applied, the Cu forms dendrites that puncture the separator layer, forming an internal short in the cell. This can puff a cell in a hurry---the more charge current on tap, the worse it&#039;s prone to be.&lt;br /&gt;
# &#039;&#039;&#039;Driving a cell negative&#039;&#039;&#039;. I&#039;ve neglected to mention this before, but it is a possibility. I don&#039;t know much about the specific mechanism at this time.&lt;br /&gt;
# &#039;&#039;&#039;Malfunctioning or misinformed electronics&#039;&#039;&#039;. This is the most common cause of all of the above in my experience. At this stage of the game, it is critical for YOU to understand how your BMS functions on at least a cursory level. Choose your BMS very carefully and periodically verify that it is operating properly. They&#039;re not all created equal. Make sure V sense lines are securely connected and free of corrosion. Just because your BMS says there was never a problem doesn&#039;t necessarily make it so. Avoid harnesses or ribbon cables between multiple modules if possible--they are problematic wherever they are used in any mobile electronics.&lt;br /&gt;
# &#039;&#039;&#039;Exposure to or generation of sufficient heat&#039;&#039;&#039;. I don&#039;t know exactly at what temperature gas formation begins in the electrolyte, but we spec a max storage temp of 80 (or 85?) degrees C and I suspect this is the reason. The hotter, the puffier--to a point. This is why soldering tabs poses a real hazard to cell health. If you feel you must solder, sink or blow the heat away from the body of the cell. Use a big iron that can make sufficient local heat quickly, before the whole mass of the cell gets hot. You might even get the cell warm enough to melt separator if not careful.&lt;br /&gt;
# &#039;&#039;&#039;No compression, not enough compression, improperly distributed compression&#039;&#039;&#039;. This is a pack/module design issue. Apply 10, maybe 15 psi to your cell stack end to end and then band snugly and evenly. Use hard endplates of some sort--never wrap cells directly or allow their shape to become distorted. Protect all areas of the pouch from impact damage. This obviously does not apply to cylindrical cells.&lt;br /&gt;
&lt;br /&gt;
==== Cell aging for LiIoPO4 cells ====&lt;br /&gt;
&#039;&#039;Derived (barely paraphrased) from [https://endless-sphere.com/forums/memberlist.php?mode=viewprofile&amp;amp;u=33107 wb9k]&#039;s post on endless sphere in the [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761 A123 thread]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Capacity loss is caused by the Lithium that was available for storage becoming permanently plated on the cathode. Being unable to move within the cell it is no longer available to store energy. The impact of this plating is greater than the amount of lithium &#039;lost&#039; to plating because not only is the lithium no longer available, it is also preventing access to that part of the cathode meaning Li that can still move has to take a longer path to reach the cathode. Lithium plating is one cause of increased cell resistance (there are others), a sign of worsening cell health.&lt;br /&gt;
&lt;br /&gt;
There is no linear relationship between actual capacity loss and impedance rise. However some cell defects will also increase impedance.&lt;br /&gt;
&lt;br /&gt;
Increasing cell resistance may cause a number of symptoms which may be confused with [https://earthshipbiotecture.com/a-lithium-ion-battery-primer/ High Self Discharge.]&lt;br /&gt;
# Elevated Peukert Losses. As more energy per amount of current through the cell is lost as heat, the cells useable capacity decreases. So the apparent capacity loss is higher than the actual capacity loss of cycleable lithium. When used in low current applications (e.g. solar energy storage) the actual and apparent decrease in capacity will be small. In high current draw applications (like EV traction packs), the Peukert loss increases proportionally, so the apparent capacity loss increases much faster than the actual capacity loss.&lt;br /&gt;
# Greater voltage excursion under the same load. Due to increased cell resistancethe voltage will sag further under the same load than a cell in optimal condition. The inverse is also true, the voltage will be higher for the same amount of charging current applied. The cell will then rebound to a voltage further from the loaded and charging voltages. This, obviously, can look like high self discharge but is a different phenomenon.&lt;br /&gt;
# Absolute maximum current decrease.&lt;br /&gt;
Elevated impedance causes a more complex constellation of symptoms, some of which may be easy to confuse with High Self Discharge (HSD). Ohm&#039;s law (E=I/R) holds the key to understanding here.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1) Elevated Peukert losses.&#039;&#039;&#039; Because more energy per unit of current through the cell is lost as heat, less of the cell&#039;s capacity is actually USABLE. Thus, apparent capacity loss can be significantly greater than actual capacity loss caused by the loss of cycleable Li alone. In low current applications, the two numbers will be close together. In high current applications, Peukert losses increase in proportion, so apparent loss of capacity breaks further and further away from actual capacity loss as current increases.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2) Greater voltage excursion under the same load.&#039;&#039;&#039; Elevated resistance across the cell means that voltage will sag more under the same load than it did when the cell was healthier. Conversely, voltage will rise higher with the same amount of applied charge current than it did when it was healthier. At the same time, rebound/settling voltages will be further away from loaded/charging voltages. In other words, the cell will rebound to a voltage further away from loaded voltage, all else being equal. Similarly, voltage will settle farther from the charge voltage with the same charge applied. This can give the illusion of elevated self-discharge, but the phenomenon is actually not the same thing. Again, the greater the charge and load currents, the greater the effect becomes.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3) Absolute max current decreases.&#039;&#039;&#039; Because the cell&#039;s series resistance is elevated, the maximum possible current through the cell is decreased.&lt;br /&gt;
&lt;br /&gt;
Just to confuse things further, there can be many factors that lead to impedance rise. Some are related to Li plating, others are not.&lt;br /&gt;
&lt;br /&gt;
== Lithium Ion Batteries ==&lt;br /&gt;
Lithium Ion (LiIon) batteries have a greater energy density than Lithium Iron Phosphate batteries, but have more challenging needs to use safely. The ideal operating range of LiIon batteries is between +15 and +45°C. The upper limit of temperature is particularly important as LiIon batteries experience thermal runaway - an unstoppable chain reaction that can occur in milliseconds releasing the stored energy in the cell. This can produce temperatures of 400°C and a fire that is extremely difficult to put out. Thermal runaway can start as low as 60°C and becomes much more likely at 100°C&lt;br /&gt;
&lt;br /&gt;
Risk factors for thermal runaway:&lt;br /&gt;
* Short Circuits - either internally or externally&lt;br /&gt;
* Overcharging&lt;br /&gt;
* Excessive current draw or when charging&lt;br /&gt;
&lt;br /&gt;
=== LiIon Pouch cells ===&lt;br /&gt;
Placeholder&lt;br /&gt;
&lt;br /&gt;
=== 18650 and other cylindrical cells ===&lt;br /&gt;
Placeholder&lt;/div&gt;</summary>
		<author><name>Clanger9</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Batteries&amp;diff=1155</id>
		<title>Batteries</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Batteries&amp;diff=1155"/>
		<updated>2020-11-30T19:14:42Z</updated>

		<summary type="html">&lt;p&gt;Clanger9: /* Capacity (kWh) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
There are a wide variety of battery chemistries available for use as the main traction battery of an EV. To use each chemistry safely, and to ensure an adequate service life from the battery pack it is important to understand the requirements for the chemistry you are using. Failure to do so may lead to premature or catastrophic failure of the pack.&lt;br /&gt;
&lt;br /&gt;
Good pack design will allow for a nominal amount of abuse. People make mistakes and the pack should allow a margin for safety - and for longevity!&lt;br /&gt;
&lt;br /&gt;
== Battery pack specification ==&lt;br /&gt;
When deciding on your battery pack, here are some basic parameters to consider:&lt;br /&gt;
&lt;br /&gt;
=== Capacity (kWh) ===&lt;br /&gt;
&#039;&#039;&#039;How far do you want to go?&#039;&#039;&#039; A standard  car conversion will need around 1kWh for 3 miles of range. For a middleweight motorcycle, 1kWh should give around 9 miles. &#039;&#039;Your mileage may vary&#039;&#039;, as they say.&lt;br /&gt;
&lt;br /&gt;
=== Voltage (V) ===&lt;br /&gt;
&#039;&#039;&#039;How fast do you want to go?&#039;&#039;&#039; The pack voltage defines the maximum speed your motor can spin. Motors are usually specified with &amp;quot;KV&amp;quot; - or RPM-per-volt. Check the KV of your motor and how fast it needs to spin to get your desired top speed. e.g. if you need 3,000 RPM from a 25 KV motor then your pack voltage needs to be  3,000 / 25 = 120 V. The exact number of cells in series you need depends on the cell chemistry, but 3.8 V is a reasonable guess for Li-ion.&lt;br /&gt;
&lt;br /&gt;
=== Maximum current (A) ===&lt;br /&gt;
&#039;&#039;&#039;How quickly do you want to accelerate?&#039;&#039;&#039; Your motor&#039;s maximum power will be specified in kW. To estimate your maximum current draw, divide the peak power by the battery voltage. e.g. a 30 kW motor with a 120 V battery pack will pull 30,000 / 120 = 250 A. The higher the current rating of the cells, the heavier they will be for a given capacity. Put cells in parallel to increase the current rating of your pack. &lt;br /&gt;
&lt;br /&gt;
=== Mass (kg) ===&lt;br /&gt;
&#039;&#039;&#039;Can your vehicle carry the weight?&#039;&#039;&#039; You&#039;ll need to keep the kerb weight within the original design limits. For a car, this could be a few hundred kg. For a motorcycle, likely less than 100 kg. This is a huge variable - and each new generation of battery tech seems to be a little lighter. For older EV or hybrid batteries, you can reckon on 10-15 kg/kWh. Nissan Leaf batteries are relatively light (7.5 kq/kWh). With the latest technology (e.g. Kokam pouch cells or 18650s), you can get this down to 5-6 kg/kWh.&lt;br /&gt;
&lt;br /&gt;
=== Volume (L) ===&lt;br /&gt;
&#039;&#039;&#039;Will it fit?&#039;&#039;&#039; Batteries are bulky. They are getting smaller, but finding enough space my be your biggest challenge. You can reckon on 5-10 L/kWh for older EV or hybrid batteries. For the latest technology (e.g. Kokam pouch cells or 18650s), you can get this down to 3-3.5 kg/kWh.&lt;br /&gt;
&lt;br /&gt;
There is much, much more to battery design than this (e.g. maximum charge rate, terminations, cooling, clamping), but the above should help work out which options will or won&#039;t work for your project...&lt;br /&gt;
&lt;br /&gt;
== Lithium Iron Phosphate (LiFePO4) Batteries ==&lt;br /&gt;
Lithium Iron Phosphate (also known as LFP, or LiFePO4) batteries offer a good compromise between safety, energy density and ease of use for DIY conversions. They are available in a number of formats, commonly pouch cells and cylindrical cells.&lt;br /&gt;
&lt;br /&gt;
=== LiFePO4 Pouch cells ===&lt;br /&gt;
The majority of this content is drawn from this thread: [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761&amp;amp;start=900 https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761] discussing the use of the A123 20Ah pouch cell. However, many of the general points apply equally to other similar pouch cells.&lt;br /&gt;
&lt;br /&gt;
==== General build requirements ====&lt;br /&gt;
Pouch cells are vulnerable to damage from debris, and must be held in compression (see the datasheet for your battery, but 10-12 psi is recommended for the A123 pouch cells as a guide). A rigid container capable of preventing damage and providing compression is therefore required. Be aware the cells expand and contract in use, so allowance for this must be included in the structure of the case.&lt;br /&gt;
&lt;br /&gt;
The pouch cells should be separated to prevent abrasion between cells, and also to avoid the development of hot spots. Prebuilt modules from A123 systems had thin foam sheets or heatsinks between each cell. Be sure to avoid any debris that could rub on the pouch surface, particularly if using recycled cells.&lt;br /&gt;
&lt;br /&gt;
Mylar, &#039;[https://www.americanmicroinc.com/fish-paper/ Fish paper]&#039; or a [https://www.rogerscorp.com/elastomeric-material-solutions/poron-industrial-polyurethanes compliant foam] may be appropriate materials to serve this purpose. This material should not be flammable. If the material is heat insulating, it is important to address thermal management.&lt;br /&gt;
&lt;br /&gt;
==== Compression ====&lt;br /&gt;
Compression is required to prevent premature failure of the cell. Without compression electrolyte will become unevenly distributed, causing current gradients in the cell and uneven heating. Local temperatures can become high enough to form gas formation leading to cells &#039;puffing up&#039; even when the pack is otherwise held within temperature and voltage constraints. This will be exacerbated in packs with otherwise poor thermal management. Compression forces gas generated to the margins of the cell, outside of the cell stack, minimising its effect cell performance. Gas in the middle cells will create a dead space which does not store or release energy.&lt;br /&gt;
&lt;br /&gt;
There is ~1% expansion through a discharge cycle. As the cell ages, the nominal cell thickness can grow by 3-5%. For A123 cells the ideal pressure is between 4 and 18psi with the ideal pressure being ~12psi. Maintaining 12psi can increase the life by 500 cycles over that of 4 or 18psi&lt;br /&gt;
&lt;br /&gt;
There is some suggestion that in uses where 1C is never exceeded compression &#039;&#039;may&#039;&#039; not be required.&lt;br /&gt;
&lt;br /&gt;
Highly rigid endplates with a mechanism to allow for a limited degree of expansion (e.g. steel bands) are considered an effective solution to this challenge.&lt;br /&gt;
&lt;br /&gt;
It should be noted that compression is a challenge specific to pouch cells. Cylindrical cells are designed to maintain their own compression within the cell&#039;s electrode stack by their design.&lt;br /&gt;
&lt;br /&gt;
This thread provides more information and experimentation relating to pack compression: &amp;lt;nowiki&amp;gt;https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=52244&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Pouch Cell Pack Design Examples ====&lt;br /&gt;
Placeholder&lt;br /&gt;
&lt;br /&gt;
==== Notes regarding recycled pouch cells ====&lt;br /&gt;
Pouch cells are somewhat fragile, and breaching the insulation is not difficult, especially in a cells removed from existing packs and repurposed. If the pouch has had their poly-layers compromised you may see a number of faults:&lt;br /&gt;
* Black spots around the perimeter of the cell indicate electrolyte leakage&lt;br /&gt;
* Voltage on the outside of the bag. Note that microvoltage between the pouch and the electrode is normal (and due to a capacitive effect).&lt;br /&gt;
While the majority of these cells should no longer be in the market, a significant number of faulty cells made it back into the &#039;greymarket&#039; in around 2013. These cells had misaligned tabs which can also lead to isolation failures between the tab and the pack. These cells should be avoided, particularly in high demand applications.&lt;br /&gt;
&lt;br /&gt;
=== Cylindrical cells ===&lt;br /&gt;
Placeholder&lt;br /&gt;
&lt;br /&gt;
==== Situations likely to cause cell failure ====&lt;br /&gt;
&#039;&#039;Taken directly from [https://endless-sphere.com/forums/memberlist.php?mode=viewprofile&amp;amp;u=33107 wb9k]&#039;s post on endless sphere in the [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761 A123 thread]&#039;&#039;&lt;br /&gt;
# &#039;&#039;&#039;Overcharge&#039;&#039;&#039;. Any extended time above 3.8 Volts will generate enough heat and electrochemical activity to puff a cell, especially one that is improperly compressed.&lt;br /&gt;
# &#039;&#039;&#039;Overdischarge followed by charge&#039;&#039;&#039;. Any A123 cell that has been pulled low enough to come to rest at &amp;lt;300 mV should be immediately scrapped. The published number for that is 500 mV, but the real figure is closer to 300, so that&#039;s a &amp;quot;safety buffer&amp;quot; if you will. Below this Voltage, the Cu electrodes start to dissolve into the electrolyte. When charge is applied, the Cu forms dendrites that puncture the separator layer, forming an internal short in the cell. This can puff a cell in a hurry---the more charge current on tap, the worse it&#039;s prone to be.&lt;br /&gt;
# &#039;&#039;&#039;Driving a cell negative&#039;&#039;&#039;. I&#039;ve neglected to mention this before, but it is a possibility. I don&#039;t know much about the specific mechanism at this time.&lt;br /&gt;
# &#039;&#039;&#039;Malfunctioning or misinformed electronics&#039;&#039;&#039;. This is the most common cause of all of the above in my experience. At this stage of the game, it is critical for YOU to understand how your BMS functions on at least a cursory level. Choose your BMS very carefully and periodically verify that it is operating properly. They&#039;re not all created equal. Make sure V sense lines are securely connected and free of corrosion. Just because your BMS says there was never a problem doesn&#039;t necessarily make it so. Avoid harnesses or ribbon cables between multiple modules if possible--they are problematic wherever they are used in any mobile electronics.&lt;br /&gt;
# &#039;&#039;&#039;Exposure to or generation of sufficient heat&#039;&#039;&#039;. I don&#039;t know exactly at what temperature gas formation begins in the electrolyte, but we spec a max storage temp of 80 (or 85?) degrees C and I suspect this is the reason. The hotter, the puffier--to a point. This is why soldering tabs poses a real hazard to cell health. If you feel you must solder, sink or blow the heat away from the body of the cell. Use a big iron that can make sufficient local heat quickly, before the whole mass of the cell gets hot. You might even get the cell warm enough to melt separator if not careful.&lt;br /&gt;
# &#039;&#039;&#039;No compression, not enough compression, improperly distributed compression&#039;&#039;&#039;. This is a pack/module design issue. Apply 10, maybe 15 psi to your cell stack end to end and then band snugly and evenly. Use hard endplates of some sort--never wrap cells directly or allow their shape to become distorted. Protect all areas of the pouch from impact damage. This obviously does not apply to cylindrical cells.&lt;br /&gt;
&lt;br /&gt;
==== Cell aging for LiIoPO4 cells ====&lt;br /&gt;
&#039;&#039;Derived (barely paraphrased) from [https://endless-sphere.com/forums/memberlist.php?mode=viewprofile&amp;amp;u=33107 wb9k]&#039;s post on endless sphere in the [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761 A123 thread]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Capacity loss is caused by the Lithium that was available for storage becoming permanently plated on the cathode. Being unable to move within the cell it is no longer available to store energy. The impact of this plating is greater than the amount of lithium &#039;lost&#039; to plating because not only is the lithium no longer available, it is also preventing access to that part of the cathode meaning Li that can still move has to take a longer path to reach the cathode. Lithium plating is one cause of increased cell resistance (there are others), a sign of worsening cell health.&lt;br /&gt;
&lt;br /&gt;
There is no linear relationship between actual capacity loss and impedance rise. However some cell defects will also increase impedance.&lt;br /&gt;
&lt;br /&gt;
Increasing cell resistance may cause a number of symptoms which may be confused with [https://earthshipbiotecture.com/a-lithium-ion-battery-primer/ High Self Discharge.]&lt;br /&gt;
# Elevated Peukert Losses. As more energy per amount of current through the cell is lost as heat, the cells useable capacity decreases. So the apparent capacity loss is higher than the actual capacity loss of cycleable lithium. When used in low current applications (e.g. solar energy storage) the actual and apparent decrease in capacity will be small. In high current draw applications (like EV traction packs), the Peukert loss increases proportionally, so the apparent capacity loss increases much faster than the actual capacity loss.&lt;br /&gt;
# Greater voltage excursion under the same load. Due to increased cell resistancethe voltage will sag further under the same load than a cell in optimal condition. The inverse is also true, the voltage will be higher for the same amount of charging current applied. The cell will then rebound to a voltage further from the loaded and charging voltages. This, obviously, can look like high self discharge but is a different phenomenon.&lt;br /&gt;
# Absolute maximum current decrease.&lt;br /&gt;
Elevated impedance causes a more complex constellation of symptoms, some of which may be easy to confuse with High Self Discharge (HSD). Ohm&#039;s law (E=I/R) holds the key to understanding here.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1) Elevated Peukert losses.&#039;&#039;&#039; Because more energy per unit of current through the cell is lost as heat, less of the cell&#039;s capacity is actually USABLE. Thus, apparent capacity loss can be significantly greater than actual capacity loss caused by the loss of cycleable Li alone. In low current applications, the two numbers will be close together. In high current applications, Peukert losses increase in proportion, so apparent loss of capacity breaks further and further away from actual capacity loss as current increases.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2) Greater voltage excursion under the same load.&#039;&#039;&#039; Elevated resistance across the cell means that voltage will sag more under the same load than it did when the cell was healthier. Conversely, voltage will rise higher with the same amount of applied charge current than it did when it was healthier. At the same time, rebound/settling voltages will be further away from loaded/charging voltages. In other words, the cell will rebound to a voltage further away from loaded voltage, all else being equal. Similarly, voltage will settle farther from the charge voltage with the same charge applied. This can give the illusion of elevated self-discharge, but the phenomenon is actually not the same thing. Again, the greater the charge and load currents, the greater the effect becomes.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3) Absolute max current decreases.&#039;&#039;&#039; Because the cell&#039;s series resistance is elevated, the maximum possible current through the cell is decreased.&lt;br /&gt;
&lt;br /&gt;
Just to confuse things further, there can be many factors that lead to impedance rise. Some are related to Li plating, others are not.&lt;br /&gt;
&lt;br /&gt;
== Lithium Ion Batteries ==&lt;br /&gt;
Lithium Ion (LiIon) batteries have a greater energy density than Lithium Iron Phosphate batteries, but have more challenging needs to use safely. The ideal operating range of LiIon batteries is between +15 and +45°C. The upper limit of temperature is particularly important as LiIon batteries experience thermal runaway - an unstoppable chain reaction that can occur in milliseconds releasing the stored energy in the cell. This can produce temperatures of 400°C and a fire that is extremely difficult to put out. Thermal runaway can start as low as 60°C and becomes much more likely at 100°C&lt;br /&gt;
&lt;br /&gt;
Risk factors for thermal runaway:&lt;br /&gt;
* Short Circuits - either internally or externally&lt;br /&gt;
* Overcharging&lt;br /&gt;
* Excessive current draw or when charging&lt;br /&gt;
&lt;br /&gt;
=== LiIon Pouch cells ===&lt;br /&gt;
Placeholder&lt;br /&gt;
&lt;br /&gt;
=== 18650 and other cylindrical cells ===&lt;br /&gt;
Placeholder&lt;/div&gt;</summary>
		<author><name>Clanger9</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Batteries&amp;diff=1154</id>
		<title>Batteries</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Batteries&amp;diff=1154"/>
		<updated>2020-11-30T19:13:10Z</updated>

		<summary type="html">&lt;p&gt;Clanger9: /* Mass (kg) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
There are a wide variety of battery chemistries available for use as the main traction battery of an EV. To use each chemistry safely, and to ensure an adequate service life from the battery pack it is important to understand the requirements for the chemistry you are using. Failure to do so may lead to premature or catastrophic failure of the pack.&lt;br /&gt;
&lt;br /&gt;
Good pack design will allow for a nominal amount of abuse. People make mistakes and the pack should allow a margin for safety - and for longevity!&lt;br /&gt;
&lt;br /&gt;
== Battery pack specification ==&lt;br /&gt;
When deciding on your battery pack, here are some basic parameters to consider:&lt;br /&gt;
&lt;br /&gt;
=== Capacity (kWh) ===&lt;br /&gt;
How far do you want to go? A standard  car conversion will need around 1kWh for 3 miles of range. For a middleweight motorcycle, 1kWh should give around 9 miles. &#039;&#039;Your mileage may vary&#039;&#039;, as they say.&lt;br /&gt;
&lt;br /&gt;
=== Voltage (V) ===&lt;br /&gt;
How fast do you want to go? The pack voltage defines the maximum speed your motor can spin. Motors are usually specified with &amp;quot;KV&amp;quot; - or RPM-per-volt. Check the KV of your motor and how fast it needs to spin to get your desired top speed. e.g. if you need 3,000 RPM from a 25 KV motor then your pack voltage needs to be  3,000 / 25 = 120 V. The exact number of cells in series you need depends on the cell chemistry, but 3.8 V is a reasonable guess for Li-ion.&lt;br /&gt;
&lt;br /&gt;
=== Maximum current (A) ===&lt;br /&gt;
How quickly do you want to accelerate? Your motor&#039;s maximum power will be specified in kW. To estimate your maximum current draw, divide the peak power by the battery voltage. e.g. a 30 kW motor with a 120 V battery pack will pull 30,000 / 120 = 250 A. The higher the current rating of the cells, the heavier they will be for a given capacity. Put cells in parallel to increase the current rating of your pack. &lt;br /&gt;
&lt;br /&gt;
=== Mass (kg) ===&lt;br /&gt;
Can my vehicle carry the weight? You&#039;ll need to keep the kerb weight within the original design limits. For a car, this could be a few hundred kg. For a motorcycle, likely less than 100 kg. This is a huge variable - and each new generation of battery tech seems to be a little lighter. For older EV or hybrid batteries, you can reckon on 10-15 kg/kWh. Nissan Leaf batteries are relatively light (7.5 kq/kWh). With the latest technology (e.g. Kokam pouch cells or 18650s), you can get this down to 5-6 kg/kWh.&lt;br /&gt;
&lt;br /&gt;
=== Volume (L) ===&lt;br /&gt;
Will it fit? Batteries are &#039;&#039;&#039;big&#039;&#039;&#039;. They are getting smaller, but finding enough space is often the biggest challenge. You can reckon on 5-10 L/kWh for older EV or hybrid batteries. For the latest technology (e.g. Kokam pouch cells or 18650s), you can get this down to 3-3.5 kg/kWh.&lt;br /&gt;
&lt;br /&gt;
There is much, much more to battery design than this (e.g. maximum charge rate, terminations, cooling, clamping), but the above should help work out which options will or won&#039;t work for your project...&lt;br /&gt;
&lt;br /&gt;
== Lithium Iron Phosphate (LiFePO4) Batteries ==&lt;br /&gt;
Lithium Iron Phosphate (also known as LFP, or LiFePO4) batteries offer a good compromise between safety, energy density and ease of use for DIY conversions. They are available in a number of formats, commonly pouch cells and cylindrical cells.&lt;br /&gt;
&lt;br /&gt;
=== LiFePO4 Pouch cells ===&lt;br /&gt;
The majority of this content is drawn from this thread: [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761&amp;amp;start=900 https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761] discussing the use of the A123 20Ah pouch cell. However, many of the general points apply equally to other similar pouch cells.&lt;br /&gt;
&lt;br /&gt;
==== General build requirements ====&lt;br /&gt;
Pouch cells are vulnerable to damage from debris, and must be held in compression (see the datasheet for your battery, but 10-12 psi is recommended for the A123 pouch cells as a guide). A rigid container capable of preventing damage and providing compression is therefore required. Be aware the cells expand and contract in use, so allowance for this must be included in the structure of the case.&lt;br /&gt;
&lt;br /&gt;
The pouch cells should be separated to prevent abrasion between cells, and also to avoid the development of hot spots. Prebuilt modules from A123 systems had thin foam sheets or heatsinks between each cell. Be sure to avoid any debris that could rub on the pouch surface, particularly if using recycled cells.&lt;br /&gt;
&lt;br /&gt;
Mylar, &#039;[https://www.americanmicroinc.com/fish-paper/ Fish paper]&#039; or a [https://www.rogerscorp.com/elastomeric-material-solutions/poron-industrial-polyurethanes compliant foam] may be appropriate materials to serve this purpose. This material should not be flammable. If the material is heat insulating, it is important to address thermal management.&lt;br /&gt;
&lt;br /&gt;
==== Compression ====&lt;br /&gt;
Compression is required to prevent premature failure of the cell. Without compression electrolyte will become unevenly distributed, causing current gradients in the cell and uneven heating. Local temperatures can become high enough to form gas formation leading to cells &#039;puffing up&#039; even when the pack is otherwise held within temperature and voltage constraints. This will be exacerbated in packs with otherwise poor thermal management. Compression forces gas generated to the margins of the cell, outside of the cell stack, minimising its effect cell performance. Gas in the middle cells will create a dead space which does not store or release energy.&lt;br /&gt;
&lt;br /&gt;
There is ~1% expansion through a discharge cycle. As the cell ages, the nominal cell thickness can grow by 3-5%. For A123 cells the ideal pressure is between 4 and 18psi with the ideal pressure being ~12psi. Maintaining 12psi can increase the life by 500 cycles over that of 4 or 18psi&lt;br /&gt;
&lt;br /&gt;
There is some suggestion that in uses where 1C is never exceeded compression &#039;&#039;may&#039;&#039; not be required.&lt;br /&gt;
&lt;br /&gt;
Highly rigid endplates with a mechanism to allow for a limited degree of expansion (e.g. steel bands) are considered an effective solution to this challenge.&lt;br /&gt;
&lt;br /&gt;
It should be noted that compression is a challenge specific to pouch cells. Cylindrical cells are designed to maintain their own compression within the cell&#039;s electrode stack by their design.&lt;br /&gt;
&lt;br /&gt;
This thread provides more information and experimentation relating to pack compression: &amp;lt;nowiki&amp;gt;https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=52244&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Pouch Cell Pack Design Examples ====&lt;br /&gt;
Placeholder&lt;br /&gt;
&lt;br /&gt;
==== Notes regarding recycled pouch cells ====&lt;br /&gt;
Pouch cells are somewhat fragile, and breaching the insulation is not difficult, especially in a cells removed from existing packs and repurposed. If the pouch has had their poly-layers compromised you may see a number of faults:&lt;br /&gt;
* Black spots around the perimeter of the cell indicate electrolyte leakage&lt;br /&gt;
* Voltage on the outside of the bag. Note that microvoltage between the pouch and the electrode is normal (and due to a capacitive effect).&lt;br /&gt;
While the majority of these cells should no longer be in the market, a significant number of faulty cells made it back into the &#039;greymarket&#039; in around 2013. These cells had misaligned tabs which can also lead to isolation failures between the tab and the pack. These cells should be avoided, particularly in high demand applications.&lt;br /&gt;
&lt;br /&gt;
=== Cylindrical cells ===&lt;br /&gt;
Placeholder&lt;br /&gt;
&lt;br /&gt;
==== Situations likely to cause cell failure ====&lt;br /&gt;
&#039;&#039;Taken directly from [https://endless-sphere.com/forums/memberlist.php?mode=viewprofile&amp;amp;u=33107 wb9k]&#039;s post on endless sphere in the [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761 A123 thread]&#039;&#039;&lt;br /&gt;
# &#039;&#039;&#039;Overcharge&#039;&#039;&#039;. Any extended time above 3.8 Volts will generate enough heat and electrochemical activity to puff a cell, especially one that is improperly compressed.&lt;br /&gt;
# &#039;&#039;&#039;Overdischarge followed by charge&#039;&#039;&#039;. Any A123 cell that has been pulled low enough to come to rest at &amp;lt;300 mV should be immediately scrapped. The published number for that is 500 mV, but the real figure is closer to 300, so that&#039;s a &amp;quot;safety buffer&amp;quot; if you will. Below this Voltage, the Cu electrodes start to dissolve into the electrolyte. When charge is applied, the Cu forms dendrites that puncture the separator layer, forming an internal short in the cell. This can puff a cell in a hurry---the more charge current on tap, the worse it&#039;s prone to be.&lt;br /&gt;
# &#039;&#039;&#039;Driving a cell negative&#039;&#039;&#039;. I&#039;ve neglected to mention this before, but it is a possibility. I don&#039;t know much about the specific mechanism at this time.&lt;br /&gt;
# &#039;&#039;&#039;Malfunctioning or misinformed electronics&#039;&#039;&#039;. This is the most common cause of all of the above in my experience. At this stage of the game, it is critical for YOU to understand how your BMS functions on at least a cursory level. Choose your BMS very carefully and periodically verify that it is operating properly. They&#039;re not all created equal. Make sure V sense lines are securely connected and free of corrosion. Just because your BMS says there was never a problem doesn&#039;t necessarily make it so. Avoid harnesses or ribbon cables between multiple modules if possible--they are problematic wherever they are used in any mobile electronics.&lt;br /&gt;
# &#039;&#039;&#039;Exposure to or generation of sufficient heat&#039;&#039;&#039;. I don&#039;t know exactly at what temperature gas formation begins in the electrolyte, but we spec a max storage temp of 80 (or 85?) degrees C and I suspect this is the reason. The hotter, the puffier--to a point. This is why soldering tabs poses a real hazard to cell health. If you feel you must solder, sink or blow the heat away from the body of the cell. Use a big iron that can make sufficient local heat quickly, before the whole mass of the cell gets hot. You might even get the cell warm enough to melt separator if not careful.&lt;br /&gt;
# &#039;&#039;&#039;No compression, not enough compression, improperly distributed compression&#039;&#039;&#039;. This is a pack/module design issue. Apply 10, maybe 15 psi to your cell stack end to end and then band snugly and evenly. Use hard endplates of some sort--never wrap cells directly or allow their shape to become distorted. Protect all areas of the pouch from impact damage. This obviously does not apply to cylindrical cells.&lt;br /&gt;
&lt;br /&gt;
==== Cell aging for LiIoPO4 cells ====&lt;br /&gt;
&#039;&#039;Derived (barely paraphrased) from [https://endless-sphere.com/forums/memberlist.php?mode=viewprofile&amp;amp;u=33107 wb9k]&#039;s post on endless sphere in the [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761 A123 thread]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Capacity loss is caused by the Lithium that was available for storage becoming permanently plated on the cathode. Being unable to move within the cell it is no longer available to store energy. The impact of this plating is greater than the amount of lithium &#039;lost&#039; to plating because not only is the lithium no longer available, it is also preventing access to that part of the cathode meaning Li that can still move has to take a longer path to reach the cathode. Lithium plating is one cause of increased cell resistance (there are others), a sign of worsening cell health.&lt;br /&gt;
&lt;br /&gt;
There is no linear relationship between actual capacity loss and impedance rise. However some cell defects will also increase impedance.&lt;br /&gt;
&lt;br /&gt;
Increasing cell resistance may cause a number of symptoms which may be confused with [https://earthshipbiotecture.com/a-lithium-ion-battery-primer/ High Self Discharge.]&lt;br /&gt;
# Elevated Peukert Losses. As more energy per amount of current through the cell is lost as heat, the cells useable capacity decreases. So the apparent capacity loss is higher than the actual capacity loss of cycleable lithium. When used in low current applications (e.g. solar energy storage) the actual and apparent decrease in capacity will be small. In high current draw applications (like EV traction packs), the Peukert loss increases proportionally, so the apparent capacity loss increases much faster than the actual capacity loss.&lt;br /&gt;
# Greater voltage excursion under the same load. Due to increased cell resistancethe voltage will sag further under the same load than a cell in optimal condition. The inverse is also true, the voltage will be higher for the same amount of charging current applied. The cell will then rebound to a voltage further from the loaded and charging voltages. This, obviously, can look like high self discharge but is a different phenomenon.&lt;br /&gt;
# Absolute maximum current decrease.&lt;br /&gt;
Elevated impedance causes a more complex constellation of symptoms, some of which may be easy to confuse with High Self Discharge (HSD). Ohm&#039;s law (E=I/R) holds the key to understanding here.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1) Elevated Peukert losses.&#039;&#039;&#039; Because more energy per unit of current through the cell is lost as heat, less of the cell&#039;s capacity is actually USABLE. Thus, apparent capacity loss can be significantly greater than actual capacity loss caused by the loss of cycleable Li alone. In low current applications, the two numbers will be close together. In high current applications, Peukert losses increase in proportion, so apparent loss of capacity breaks further and further away from actual capacity loss as current increases.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2) Greater voltage excursion under the same load.&#039;&#039;&#039; Elevated resistance across the cell means that voltage will sag more under the same load than it did when the cell was healthier. Conversely, voltage will rise higher with the same amount of applied charge current than it did when it was healthier. At the same time, rebound/settling voltages will be further away from loaded/charging voltages. In other words, the cell will rebound to a voltage further away from loaded voltage, all else being equal. Similarly, voltage will settle farther from the charge voltage with the same charge applied. This can give the illusion of elevated self-discharge, but the phenomenon is actually not the same thing. Again, the greater the charge and load currents, the greater the effect becomes.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3) Absolute max current decreases.&#039;&#039;&#039; Because the cell&#039;s series resistance is elevated, the maximum possible current through the cell is decreased.&lt;br /&gt;
&lt;br /&gt;
Just to confuse things further, there can be many factors that lead to impedance rise. Some are related to Li plating, others are not.&lt;br /&gt;
&lt;br /&gt;
== Lithium Ion Batteries ==&lt;br /&gt;
Lithium Ion (LiIon) batteries have a greater energy density than Lithium Iron Phosphate batteries, but have more challenging needs to use safely. The ideal operating range of LiIon batteries is between +15 and +45°C. The upper limit of temperature is particularly important as LiIon batteries experience thermal runaway - an unstoppable chain reaction that can occur in milliseconds releasing the stored energy in the cell. This can produce temperatures of 400°C and a fire that is extremely difficult to put out. Thermal runaway can start as low as 60°C and becomes much more likely at 100°C&lt;br /&gt;
&lt;br /&gt;
Risk factors for thermal runaway:&lt;br /&gt;
* Short Circuits - either internally or externally&lt;br /&gt;
* Overcharging&lt;br /&gt;
* Excessive current draw or when charging&lt;br /&gt;
&lt;br /&gt;
=== LiIon Pouch cells ===&lt;br /&gt;
Placeholder&lt;br /&gt;
&lt;br /&gt;
=== 18650 and other cylindrical cells ===&lt;br /&gt;
Placeholder&lt;/div&gt;</summary>
		<author><name>Clanger9</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Batteries&amp;diff=1153</id>
		<title>Batteries</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Batteries&amp;diff=1153"/>
		<updated>2020-11-30T19:09:04Z</updated>

		<summary type="html">&lt;p&gt;Clanger9: Add battery pack spec section&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
There are a wide variety of battery chemistries available for use as the main traction battery of an EV. To use each chemistry safely, and to ensure an adequate service life from the battery pack it is important to understand the requirements for the chemistry you are using. Failure to do so may lead to premature or catastrophic failure of the pack.&lt;br /&gt;
&lt;br /&gt;
Good pack design will allow for a nominal amount of abuse. People make mistakes and the pack should allow a margin for safety - and for longevity!&lt;br /&gt;
&lt;br /&gt;
== Battery pack specification ==&lt;br /&gt;
When deciding on your battery pack, here are some basic parameters to consider:&lt;br /&gt;
&lt;br /&gt;
=== Capacity (kWh) ===&lt;br /&gt;
How far do you want to go? A standard  car conversion will need around 1kWh for 3 miles of range. For a middleweight motorcycle, 1kWh should give around 9 miles. &#039;&#039;Your mileage may vary&#039;&#039;, as they say.&lt;br /&gt;
&lt;br /&gt;
=== Voltage (V) ===&lt;br /&gt;
How fast do you want to go? The pack voltage defines the maximum speed your motor can spin. Motors are usually specified with &amp;quot;KV&amp;quot; - or RPM-per-volt. Check the KV of your motor and how fast it needs to spin to get your desired top speed. e.g. if you need 3,000RPM from a 25KV motor then your pack voltage needs to be  3,000 / 25 = 120V. The exact number of cells in series you need depends on the cell chemistry, but 3.8V is a reasonable guess for Li-ion.&lt;br /&gt;
&lt;br /&gt;
=== Maximum current (A) ===&lt;br /&gt;
How quickly do you want to accelerate? Your motor&#039;s maximum power will be specified in kW. To estimate your maximum current draw, divide the peak power by the battery voltage. e.g. a 30kW motor with a 120V battery pack will pull 30,000 / 120 = 250A. The higher the current rating of the cells, the heavier they will be for a given capacity. Put cells in parallel to increase the current rating of your pack. &lt;br /&gt;
&lt;br /&gt;
=== Mass (kg) ===&lt;br /&gt;
Can my vehicle carry the weight? You&#039;ll need to keep the kerb weight within the original design. For a car, this will be a few hundred kg (max). For a motorcycle, likely less than 100kg. This is a huge variable and is improving with each new generation of battery tech. For older EV or hybrid batteries, you can reckon on 10-15kg/kWh. Nissan Leaf batteries are relatively light (7.5kq/kWh). For the latest technology (e.g. Kokam pouch cells or 18650s), you can get this down to 5-6kg/kWh.&lt;br /&gt;
&lt;br /&gt;
=== Volume (L) ===&lt;br /&gt;
Will it fit? Batteries are &#039;&#039;&#039;big&#039;&#039;&#039;. They are getting smaller, but finding enough space is often the biggest challenge. You can reckon on 5-10L/kWh for older EV or hybrid batteries. For the latest technology (e.g. Kokam pouch cells or 18650s), you can get this down to 3-3.5kg/kWh.&lt;br /&gt;
&lt;br /&gt;
There is much, much more to battery design than this (e.g. maximum charge rate, terminations, cooling, clamping), but the above should help consider what options will or won&#039;t work for your project...&lt;br /&gt;
&lt;br /&gt;
== Lithium Iron Phosphate (LiFePO4) Batteries ==&lt;br /&gt;
Lithium Iron Phosphate (also known as LFP, or LiFePO4) batteries offer a good compromise between safety, energy density and ease of use for DIY conversions. They are available in a number of formats, commonly pouch cells and cylindrical cells.&lt;br /&gt;
&lt;br /&gt;
=== LiFePO4 Pouch cells ===&lt;br /&gt;
The majority of this content is drawn from this thread: [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761&amp;amp;start=900 https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761] discussing the use of the A123 20Ah pouch cell. However, many of the general points apply equally to other similar pouch cells.&lt;br /&gt;
&lt;br /&gt;
==== General build requirements ====&lt;br /&gt;
Pouch cells are vulnerable to damage from debris, and must be held in compression (see the datasheet for your battery, but 10-12 psi is recommended for the A123 pouch cells as a guide). A rigid container capable of preventing damage and providing compression is therefore required. Be aware the cells expand and contract in use, so allowance for this must be included in the structure of the case.&lt;br /&gt;
&lt;br /&gt;
The pouch cells should be separated to prevent abrasion between cells, and also to avoid the development of hot spots. Prebuilt modules from A123 systems had thin foam sheets or heatsinks between each cell. Be sure to avoid any debris that could rub on the pouch surface, particularly if using recycled cells.&lt;br /&gt;
&lt;br /&gt;
Mylar, &#039;[https://www.americanmicroinc.com/fish-paper/ Fish paper]&#039; or a [https://www.rogerscorp.com/elastomeric-material-solutions/poron-industrial-polyurethanes compliant foam] may be appropriate materials to serve this purpose. This material should not be flammable. If the material is heat insulating, it is important to address thermal management.&lt;br /&gt;
&lt;br /&gt;
==== Compression ====&lt;br /&gt;
Compression is required to prevent premature failure of the cell. Without compression electrolyte will become unevenly distributed, causing current gradients in the cell and uneven heating. Local temperatures can become high enough to form gas formation leading to cells &#039;puffing up&#039; even when the pack is otherwise held within temperature and voltage constraints. This will be exacerbated in packs with otherwise poor thermal management. Compression forces gas generated to the margins of the cell, outside of the cell stack, minimising its effect cell performance. Gas in the middle cells will create a dead space which does not store or release energy.&lt;br /&gt;
&lt;br /&gt;
There is ~1% expansion through a discharge cycle. As the cell ages, the nominal cell thickness can grow by 3-5%. For A123 cells the ideal pressure is between 4 and 18psi with the ideal pressure being ~12psi. Maintaining 12psi can increase the life by 500 cycles over that of 4 or 18psi&lt;br /&gt;
&lt;br /&gt;
There is some suggestion that in uses where 1C is never exceeded compression &#039;&#039;may&#039;&#039; not be required.&lt;br /&gt;
&lt;br /&gt;
Highly rigid endplates with a mechanism to allow for a limited degree of expansion (e.g. steel bands) are considered an effective solution to this challenge.&lt;br /&gt;
&lt;br /&gt;
It should be noted that compression is a challenge specific to pouch cells. Cylindrical cells are designed to maintain their own compression within the cell&#039;s electrode stack by their design.&lt;br /&gt;
&lt;br /&gt;
This thread provides more information and experimentation relating to pack compression: &amp;lt;nowiki&amp;gt;https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=52244&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Pouch Cell Pack Design Examples ====&lt;br /&gt;
Placeholder&lt;br /&gt;
&lt;br /&gt;
==== Notes regarding recycled pouch cells ====&lt;br /&gt;
Pouch cells are somewhat fragile, and breaching the insulation is not difficult, especially in a cells removed from existing packs and repurposed. If the pouch has had their poly-layers compromised you may see a number of faults:&lt;br /&gt;
* Black spots around the perimeter of the cell indicate electrolyte leakage&lt;br /&gt;
* Voltage on the outside of the bag. Note that microvoltage between the pouch and the electrode is normal (and due to a capacitive effect).&lt;br /&gt;
While the majority of these cells should no longer be in the market, a significant number of faulty cells made it back into the &#039;greymarket&#039; in around 2013. These cells had misaligned tabs which can also lead to isolation failures between the tab and the pack. These cells should be avoided, particularly in high demand applications.&lt;br /&gt;
&lt;br /&gt;
=== Cylindrical cells ===&lt;br /&gt;
Placeholder&lt;br /&gt;
&lt;br /&gt;
==== Situations likely to cause cell failure ====&lt;br /&gt;
&#039;&#039;Taken directly from [https://endless-sphere.com/forums/memberlist.php?mode=viewprofile&amp;amp;u=33107 wb9k]&#039;s post on endless sphere in the [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761 A123 thread]&#039;&#039;&lt;br /&gt;
# &#039;&#039;&#039;Overcharge&#039;&#039;&#039;. Any extended time above 3.8 Volts will generate enough heat and electrochemical activity to puff a cell, especially one that is improperly compressed.&lt;br /&gt;
# &#039;&#039;&#039;Overdischarge followed by charge&#039;&#039;&#039;. Any A123 cell that has been pulled low enough to come to rest at &amp;lt;300 mV should be immediately scrapped. The published number for that is 500 mV, but the real figure is closer to 300, so that&#039;s a &amp;quot;safety buffer&amp;quot; if you will. Below this Voltage, the Cu electrodes start to dissolve into the electrolyte. When charge is applied, the Cu forms dendrites that puncture the separator layer, forming an internal short in the cell. This can puff a cell in a hurry---the more charge current on tap, the worse it&#039;s prone to be.&lt;br /&gt;
# &#039;&#039;&#039;Driving a cell negative&#039;&#039;&#039;. I&#039;ve neglected to mention this before, but it is a possibility. I don&#039;t know much about the specific mechanism at this time.&lt;br /&gt;
# &#039;&#039;&#039;Malfunctioning or misinformed electronics&#039;&#039;&#039;. This is the most common cause of all of the above in my experience. At this stage of the game, it is critical for YOU to understand how your BMS functions on at least a cursory level. Choose your BMS very carefully and periodically verify that it is operating properly. They&#039;re not all created equal. Make sure V sense lines are securely connected and free of corrosion. Just because your BMS says there was never a problem doesn&#039;t necessarily make it so. Avoid harnesses or ribbon cables between multiple modules if possible--they are problematic wherever they are used in any mobile electronics.&lt;br /&gt;
# &#039;&#039;&#039;Exposure to or generation of sufficient heat&#039;&#039;&#039;. I don&#039;t know exactly at what temperature gas formation begins in the electrolyte, but we spec a max storage temp of 80 (or 85?) degrees C and I suspect this is the reason. The hotter, the puffier--to a point. This is why soldering tabs poses a real hazard to cell health. If you feel you must solder, sink or blow the heat away from the body of the cell. Use a big iron that can make sufficient local heat quickly, before the whole mass of the cell gets hot. You might even get the cell warm enough to melt separator if not careful.&lt;br /&gt;
# &#039;&#039;&#039;No compression, not enough compression, improperly distributed compression&#039;&#039;&#039;. This is a pack/module design issue. Apply 10, maybe 15 psi to your cell stack end to end and then band snugly and evenly. Use hard endplates of some sort--never wrap cells directly or allow their shape to become distorted. Protect all areas of the pouch from impact damage. This obviously does not apply to cylindrical cells.&lt;br /&gt;
&lt;br /&gt;
==== Cell aging for LiIoPO4 cells ====&lt;br /&gt;
&#039;&#039;Derived (barely paraphrased) from [https://endless-sphere.com/forums/memberlist.php?mode=viewprofile&amp;amp;u=33107 wb9k]&#039;s post on endless sphere in the [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761 A123 thread]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Capacity loss is caused by the Lithium that was available for storage becoming permanently plated on the cathode. Being unable to move within the cell it is no longer available to store energy. The impact of this plating is greater than the amount of lithium &#039;lost&#039; to plating because not only is the lithium no longer available, it is also preventing access to that part of the cathode meaning Li that can still move has to take a longer path to reach the cathode. Lithium plating is one cause of increased cell resistance (there are others), a sign of worsening cell health.&lt;br /&gt;
&lt;br /&gt;
There is no linear relationship between actual capacity loss and impedance rise. However some cell defects will also increase impedance.&lt;br /&gt;
&lt;br /&gt;
Increasing cell resistance may cause a number of symptoms which may be confused with [https://earthshipbiotecture.com/a-lithium-ion-battery-primer/ High Self Discharge.]&lt;br /&gt;
# Elevated Peukert Losses. As more energy per amount of current through the cell is lost as heat, the cells useable capacity decreases. So the apparent capacity loss is higher than the actual capacity loss of cycleable lithium. When used in low current applications (e.g. solar energy storage) the actual and apparent decrease in capacity will be small. In high current draw applications (like EV traction packs), the Peukert loss increases proportionally, so the apparent capacity loss increases much faster than the actual capacity loss.&lt;br /&gt;
# Greater voltage excursion under the same load. Due to increased cell resistancethe voltage will sag further under the same load than a cell in optimal condition. The inverse is also true, the voltage will be higher for the same amount of charging current applied. The cell will then rebound to a voltage further from the loaded and charging voltages. This, obviously, can look like high self discharge but is a different phenomenon.&lt;br /&gt;
# Absolute maximum current decrease.&lt;br /&gt;
Elevated impedance causes a more complex constellation of symptoms, some of which may be easy to confuse with High Self Discharge (HSD). Ohm&#039;s law (E=I/R) holds the key to understanding here.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1) Elevated Peukert losses.&#039;&#039;&#039; Because more energy per unit of current through the cell is lost as heat, less of the cell&#039;s capacity is actually USABLE. Thus, apparent capacity loss can be significantly greater than actual capacity loss caused by the loss of cycleable Li alone. In low current applications, the two numbers will be close together. In high current applications, Peukert losses increase in proportion, so apparent loss of capacity breaks further and further away from actual capacity loss as current increases.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2) Greater voltage excursion under the same load.&#039;&#039;&#039; Elevated resistance across the cell means that voltage will sag more under the same load than it did when the cell was healthier. Conversely, voltage will rise higher with the same amount of applied charge current than it did when it was healthier. At the same time, rebound/settling voltages will be further away from loaded/charging voltages. In other words, the cell will rebound to a voltage further away from loaded voltage, all else being equal. Similarly, voltage will settle farther from the charge voltage with the same charge applied. This can give the illusion of elevated self-discharge, but the phenomenon is actually not the same thing. Again, the greater the charge and load currents, the greater the effect becomes.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3) Absolute max current decreases.&#039;&#039;&#039; Because the cell&#039;s series resistance is elevated, the maximum possible current through the cell is decreased.&lt;br /&gt;
&lt;br /&gt;
Just to confuse things further, there can be many factors that lead to impedance rise. Some are related to Li plating, others are not.&lt;br /&gt;
&lt;br /&gt;
== Lithium Ion Batteries ==&lt;br /&gt;
Lithium Ion (LiIon) batteries have a greater energy density than Lithium Iron Phosphate batteries, but have more challenging needs to use safely. The ideal operating range of LiIon batteries is between +15 and +45°C. The upper limit of temperature is particularly important as LiIon batteries experience thermal runaway - an unstoppable chain reaction that can occur in milliseconds releasing the stored energy in the cell. This can produce temperatures of 400°C and a fire that is extremely difficult to put out. Thermal runaway can start as low as 60°C and becomes much more likely at 100°C&lt;br /&gt;
&lt;br /&gt;
Risk factors for thermal runaway:&lt;br /&gt;
* Short Circuits - either internally or externally&lt;br /&gt;
* Overcharging&lt;br /&gt;
* Excessive current draw or when charging&lt;br /&gt;
&lt;br /&gt;
=== LiIon Pouch cells ===&lt;br /&gt;
Placeholder&lt;br /&gt;
&lt;br /&gt;
=== 18650 and other cylindrical cells ===&lt;br /&gt;
Placeholder&lt;/div&gt;</summary>
		<author><name>Clanger9</name></author>
	</entry>
</feed>