It has been confirmed in another thread that the 16 battery will perfectly power the 13 laptop without any problems if configured as shown.
I am very new to circuits and batteries, but should the attached schematic work without issue? I am not 100% certain of what all of these connections actually do, but I would like a UPS to activate once the main battery has been depleted or detached.
Is this the right place for a question like this? Thanks!
There are quite a few considerations that you have to make in your design. Firstly, the FW16 battery communicates over SMBus (DAT_SMB/CLK_SMB) with the computer, and has a SYS_PRES pin (not sure if telling the battery its plugged in or the computer), and VRTC (separate voltage for the RTC, or clock signal?). You will likely need some way of managing these signals in the absence of a battery, which means some kind of microcontroller sitting between the battery and FW 13 board with your UPS sitting in between for other things.
Additionally, you will need to switch from the external battery voltage to the internal UPS battery. This will probably involve some kind of “power mux,” which will switch between two different power sources. This may produce some issues, as the external battery voltage will not be the same as the internal mux battery, so there may be some inrush current when connecting the internal battery.
You could alternatively actively charge the internal UPS battery from the external battery at all times. This keeps the internal battery topped up until the external battery dies. This one will ensure a cleaner transition between external battery and internal battery, since theres no voltage difference when switching. The problem here is additional switching circuitry and lower efficiency. Also, depending on how the battery functions, the laptop may be using the voltage to determine battery charge level. In the case of the UPS, this method causes the laptop to always think its at 100% until the external battery dies and the UPS battery starts discharging.
You also have to consider charging for both the internal and external batteries.
Thank you for the reply. The goal is to keep the mechanism as simple as possible to ensure consistency. The design in mind would keep the internal battery charged until the removable battery is depleted. I may just use the framework 13 battery to not over complicate things. Because none of the other diagnostic pins would be connected to the internal battery, wouldn’t I get an accurate reading? I plan to use an external display to look at the charge of the internal battery; that would be a part of the UPS. This display would be a part of the UPS itself.
To keep things simple I want PC to essentially draw all power from the UPS. It would be inserted between the external battery and the mainboard as shown in the diagram. As for the external battery, I will make a mounting solution by connecting the individual wires to a magnetic connector. Thank you for the reply!
I’m afraid it’s likely worse than that. The battery data isn’t just for reporting capacity. The battery’s onboard BMS (Battery Management System) is also responsible for monitoring the health of the cells and the temperature of the pack. Large li-ion packs can be dangerous. The laptop’s EC (embedded controller) may consider it a critical problem when you disconnect one battery’s data lines to swap in the other. I think there is potential it might abruptly shut down the system. Or when the new battery is connected, the unexpected change in information presented might cause problems, like refusal to charge.
If you have multiple Framework batteries on hand you could test how it reacts to the disconnection of the data lines, and switching over to another.
Oh, let me rephrase my question. I should have asked the following for clarity instead: Where do you plan to physically insert the UPS into the laptop chassis?
Hi I haven’ read your topic very well maybe but on reading this:
It appears as though you want an external battery to power the laptop, which when depleted the laptop will continue powered by the internal one whilst you recharge or replace the external one.
This is what I want. Ultimately I just want the ability to hot-swap batteries without the laptop powering down. How I achieve that goal is flexible for me.
All of the pins would only connect to the proprietary framework 13 “external battery” the internal ups would only have the ground line and the batt+ lines connected. The result would be the power coming directly from the UPS, but the ups would be constantly charged by the laptop battery. The diagnostic pins would only be connected to the actual framework battery, so wouldn’t the readings come out as expected. I do not want a reading for the internal UPS. I tried to illustrate this, but perhaps it didn’t get across in my diagram.
I do see the possibility of the laptop shutting down, or otherwise causing problems, when the battery is disconnected while I’m swapping the batteries. The only reason I feel this may not be an issue is because the motherboard can be used entirely without a battery at all, through usb-c
When I think of this solution, it seems like the internal battery would be drained because the laptop will think I want the framework 13 battery charged. Is this correct?
I want the internal battery to always be drained after the “external” framework 13 battery.
Additionally, I’m concerned that when I unplug the laptop battery, there will be a delay in the pc swapping to the internal battery for power. This would result in the pc shutting down anyway.
I don’t know but I suspect that the SMBus / battery data line would report voltage, and the EC may see a voltage mismatch between SMBus and actual voltage supplied by the UPS inserted in-line.
But in this case the EC can see that USB-C is supplying power.
Again, I don’t know how it will behave, but what I’m saying is that you’re presenting the EC with a situation that it may not react well to. This not a use case that would it have been programed for.
I presume you don’t want to just provide UPS power via the USB-C in order to try to avoid power lost in the conversion, correct? It would be much easier tho. Plug and play.
That is correct. I want the “internal” battery topped off at all times unless the “external” framework 13 battery is depleted or detached.
Usb-C would result in the framework 13 “external” battery being charged from the “internal” usb-c battery
Additionally, if I can find a way to keep the “internal” usb-c battery at full charge from the framework 13 “external” battery, then there will be power loss when I detach the external battery.
There would be a delay cause by the internal battery having to go from receiving power to providing power.
Just keeping the framework 13 battery at full charge defeats the purpose. That is the battery that I need to be swappable.
This is the behavior I want to avoid, I always want the framework 13 battery to drain first. I have some parts on the way, so I’ll do some testing myself soon