Other Parts Discussed in Thread: BQ24133, BQ2057
Hello everyone,
I'm working on a product that includes a Li-Ion battery pack-- and I'm trying to understand the best way to charge it safely, while still being able to use the device.
First I'll explain the products functional portions so you can better understand the application, then we'll move on to how it relates to the BQ2057T
_____________________________________________________________________________________
The product can be split into 3 main functional blocks: A wall plug charger, the battery, and the load itself.
Battery:
The battery, as mentioned, is a 2S4P battery pack with an included battery management circuit (for overvoltage and short protections, typically included by battery pack assembly houses). It is to be charged to 8.2V (could be 8.4, but we're aiming for 8.2 to extend the life of the battery over cycles), with a maximum charge current of 1.7A.
8.2V Max Voltage
1.7A Charge Current
8500 mAH Capacity
2S4P Configuration
Load:
Our load here is a heating element and its control circuit, involving a microcontroller, LCD screen, and some sensors.
The control circuit is given a clean 5V through a small linear voltage regulator (LD1117S50CTR). The control circuit consumes 200mA.
When the control circuit switches the heating element on, it does so by simply activating a small electromechanical relay. The heating element consumes up to 5A at first, but settles to 3.5A nominal within 30 seconds, and eventually decays to 2.9A (it's a thermoelectric module, hence the ever-changing current draw). The heating element is tied directly to the battery voltage, without going through any regulator.
Consumption: 200mA Standby, 5A ON spike, 3.5A nominal ON.
Duration: Until battery death usually
Wall Charger
This part's specs have not been chosen yet, because they depend on the nature of the Li-Ion charging IC. I'm imagining a standard AC to DC wall plug that ends in a DC barrel jack. Its max amperage and nominal voltage is something I need your help deciding on.
_____________________________________________________________________________________
The goal here is to charge the battery safely, but also be able to use the device while the battery is charging. While charging, the Load should be sourcing its power from the wall plug directly, not through the charging battery.
At the moment, I charge the batteries in the prototypes by detaching them from the device, and attaching them to a benchtop DC power supply, set at 8.2V with a max amperage output of 1.7A. This results in a CC charge until 8.2V is reached, then a CV charge until I manually switch off the charger. This works in a pinch, but obviously not for a consumer product.
Additionally, since the Load consumes 3.5A nominally, and the battery should not exceed 1.7A input while charging, I cannot use a wall plug that is simply limited to 8.2V and 1.7A (mimicking my DC power supply). Also, that last CV portion of charging isn't healthy for the battery unless it is cut off when the current flow is low enough, which a consumer naturally wouldn't do if charging the device overnight.
The obvious answer is a Li-Ion charging IC, like the BQ2057T.
However, I need help selecting the appropriate external components to make this chip work the way I want it to.
I have looked at the the Microchip MCP73844-8.2 IC, and found this BQ2057T as I was looking for a TI equivalent to that Microchip component.
My background is mechanics, not electronics, and while I built the microcontroller's circuit myself, I want to be extra-careful when dealing with charging lithium, which is why I'm turning to you all.
I've read the spec sheet. Figure 4 describes an application that is pretty similar to what I need.
If any of my questions are obvious, I apologize-- I'm still learning more about electronics.
I need help configuring and selecting components to build a 1.7A charger.
How do I select Rsns? I see equation (2) describes a simple ohm's law statement, but I only know Io=1.7A. What is Vsns meant to be? Is it held constant by the chip itself? I see a range of values presented in the table on the specsheet. Am I meant to select a Rsns such that Vsns falls within those values?
Low side sensing or high side sensing? I see that Rsns can be configured in two ways. Which way is best given this application? Pros and Cons?
Can I disable or bypass temperature sensing? Part of why we chose 1.7A as the battery's charging limit is because our use case does not require fast charging, so we could avoid having to worry about the temperature of the battery. The Microchip component I mentioned previously allows for the temperature sensor to be disabled by setting up a specific voltage divider, is there a similar technique for this chip?
What is Pack(-) connected to? In the diagram, I'm seeing two connections for PACK- (the negative terminal of the battery). One goes to ground, but the other goes through what looks like the symbol for a variable resistor, through TEMP, but then only has to go through Rt1 and shorts back to Vcc? Am I missing something? What is that variable resistor doing, and why is PACK- shorted with VCC through Rt1?
Why does DC+ Connect right to the STAT pin through R4 and an LED? Doesn't that make the LED on the right side of the diagram always turned on? What is the point of this connection, and therefore R4?
R2 serves as a pullup for CC, correct? As far as I understand, if Q1 is a P-channel MOSFET, then it is OPEN ( not conducting) when its gate is HIGH, and it is CLOSED when the gate gets pulled LOW, is that correct? This would imply that pin CC triggers charging by going LOW, right?
What does R5 do? It's just in parallel with the status LED's. Is it necessary? R3 makes sense because it works with the LED, but what's R5 doing?
What should my DC+ Voltage be? Since theres a diode D1 and a MOSFET Q1, I'm imagining that there's a pretty fair voltage drop by the time I get to BATTERY+. The IC itself regulates pin CC with feedback from VBat to ensure that the battery voltage is held at 8.2V. What should I be feeding this system with? 12V?
How can I isolate the battery from my load while charging? The behavior I want is that IF the wall plug is plugged into the device, THEN no connection should exist between the battery and the load. I was thinking of using DC+ to trigger a two-position relay, switching the Load's Vin from the battery (connected to the normally closed pin of the relay) to the charger itself (so DC+ is connected to the normally open pin on the relay). Would that cause any problems with the charging circuit? How would you accomplish this task?
How do I select Q1? What do I need to consider given my battery input? Given my specs, is there a particular mosfet you would use?
I really appreciate the help, just want to make sure I'm going about this application safely.