comparison FC-handset-spec @ 79:468d43c0d8cb

FC-handset-spec: document our plan of using NCR18650B
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 21 Sep 2021 02:29:40 +0000
parents a05195c86d3a
children 3e32484f8832
comparison
equal deleted inserted replaced
78:a05195c86d3a 79:468d43c0d8cb
724 724
725 The battery in our FC Libre Dumbphone handset will be single-cell Li-ion. It 725 The battery in our FC Libre Dumbphone handset will be single-cell Li-ion. It
726 goes without saying that this battery will be freely removable and replaceable 726 goes without saying that this battery will be freely removable and replaceable
727 by end users. The specific size, form factor and mAh capacity of this battery 727 by end users. The specific size, form factor and mAh capacity of this battery
728 won't be addressed until later in the project, when we get closer to building 728 won't be addressed until later in the project, when we get closer to building
729 the actual handset. 729 the actual handset. (2021-09 update: we are now looking at using Panasonic
730 NCR18650B as our canonical battery on the Venus board, but we are not yet
731 committing to anything for the actual handset.)
730 732
731 Our Calypso+Iota chipset dates from the era when the cellular handset industry 733 Our Calypso+Iota chipset dates from the era when the cellular handset industry
732 was transitioning from NiMH to Li-ion batteries, and the Battery Charger 734 was transitioning from NiMH to Li-ion batteries, and the Battery Charger
733 Interface (BCI) block in the Iota chip supports both battery types, or at least 735 Interface (BCI) block in the Iota chip supports both battery types, or at least
734 TI's documentation claims so. Given that we are going against the mainstream 736 TI's documentation claims so. Given that we are going against the mainstream
735 society's ideas in so many other ways, I have given thought to the possibility 737 society's ideas in so many other ways, I have given thought to the possibility
736 of using a NiMH battery instead of Li-ion. However, the problem with using a 738 of using a NiMH battery instead of Li-ion. However, the problem with using a
737 NiMH battery is that we would be going into completely uncharted territory 739 NiMH battery is that we would be going into completely uncharted territory
738 without any guidance. In the case of Li-ion batteries the charging process is 740 without any guidance. Here are some of the difficulties that would arise with
739 well-understood in both theory and practice, and our FCHG logic based on reverse 741 a NiMH battery:
740 engineering of Pirelli's firmware works well both on the same Pirelli and on 742
741 Motorola C1xx family. In contrast, if we went with NiMH, we would have 743 1) In the case of Li-ion batteries the charging process is well-understood in
742 absolutely no guidance in implementing the necessary charging control logic 744 both theory and practice, and our FCHG logic based on reverse engineering of
743 (TI's LCC code is useless), causing a huge risk to the project. Furthermore, 745 Pirelli's firmware works well both on the same Pirelli and on Motorola C1xx
744 determining the state of charge from Vbat for the purpose of the bars icon is 746 family. In contrast, if we went with NiMH, we would have absolutely no
745 already somewhat challenging even with Li-ion, given the relatively flat middle 747 guidance in implementing the necessary charging control logic (TI's LCC code
746 part of the discharge curve - and with NiMH we can only expect the problem to be 748 is useless), causing a huge risk to the project.
747 even worse, as their discharge curve is said to be even flatter. For these 749
748 reasons, we are going to play it safe and stick with Li-ion. 750 2) When TI designed their canonical battery charging circuit to be controlled
751 via Iota BCI, they assumed a charging power source that puts out somewhere
752 between 6 and 7 V, not 5.0 V - those were the days before USB charging. For
753 Li-ion batteries charging at around 500 mA, a USB +5V charging power source
754 is good enough, as proven by Pirelli DP-L10. However, this lower charging
755 voltage may not be enough for NiMH - consider the note in the Iota chip
756 datasheet (TWL3025_SWRS021.pdf) that reads "Ni-MH/Ni-Cd 3-cell battery
757 voltage can reach 5.5 V at the end of a charge cycle."
758
759 3) Determining the state of charge from Vbat for the purpose of the bars icon
760 is already somewhat challenging even with Li-ion, given the relatively flat
761 middle part of the discharge curve - and with NiMH we can only expect the
762 problem to be even worse, as their discharge curve is said to be even
763 flatter.
764
765 For these reasons, we are going to play it safe and stick with Li-ion.
749 766
750 1.10.1. Battery ID resistors or thermistors 767 1.10.1. Battery ID resistors or thermistors
751 768
752 In all classic dumbphones from the era which we seek to revive (the ones with 769 In all classic dumbphones from the era which we seek to revive (the ones with
753 user-removable batteries), the battery pack (flat pouch) has 3 or 4 contacts 770 user-removable batteries), the battery pack (flat pouch) has 3 or 4 contacts
755 ID resistors or thermistors included. Both Motorola C1xx and Pirelli DP-L10 772 ID resistors or thermistors included. Both Motorola C1xx and Pirelli DP-L10
756 batteries have 3 contacts, and so does Nokia BL-6C battery form factor that was 773 batteries have 3 contacts, and so does Nokia BL-6C battery form factor that was
757 copied by FIC/Openmoko. In contrast, cylindrical Li-ion battery cells like 774 copied by FIC/Openmoko. In contrast, cylindrical Li-ion battery cells like
758 18650 have no such third terminal. 775 18650 have no such third terminal.
759 776
760 Because we are deferring our handset battery design to a later project phase 777 As of this writing (2021-09), we do not anticipate using any kind of battery ID
761 (not included on the Venus board), we don't know at this time whether or not 778 resistors or thermistors, neither on our Venus board nor on our final handset.
762 our final handset battery pack will have any ID resistor and/or thermistor 779 FC Venus will have a provision for bringing out Iota ADIN2 like on Leonardo
763 connected to Iota ADIN1 or ADIN2. Our current FCHG battery charging driver 780 (see section 3.3.1.1), but we do not anticipate actually using it. The battery
764 does not touch ADIN1 or ADIN2 at all; if we do end up having an ID resistor or 781 on FC Venus will most likely be an 18650; on the final handset we will most
765 thermistor and needing to support it, that custom support will have to be added 782 likely either keep the same or use a custom-made flat pouch battery pack, and
766 at the time of the actual handset design. 783 if we go with the latter, it will still most likely only have two terminals.
784
785 Our current FCHG battery charging driver does not touch ADIN1 or ADIN2 at all.
786 Looking at TI's old PWR reference code and the disassembly of Pirelli's
787 firmware, it appears that when mainstream proprietary firmwares do check those
788 ID resistors or thermistors on ADIN1 or ADIN2, they only act as artificial
789 blockers: the firmware refuses to charge the battery if it sees something it
790 doesn't like, as opposed to using data from these sensors to tune or adjust the
791 charging process in some positive constructive manner. In FreeCalypso we stand
792 against all such artificial blocking, instead we uphold the principles of user
793 empowerment and personal responsibility - thus we do not currently anticipate
794 ever implementing any kind of ADIN1 or ADIN2 logic.
767 795
768 1.11. Charging circuit 796 1.11. Charging circuit
769 797
770 Our FC Libre Dumbphone will feature a USB port (mini-B, device role only, no 798 Our FC Libre Dumbphone will feature a USB port (mini-B, device role only, no
771 OTG) that combines two logically separate functions: battery charging and 799 OTG) that combines two logically separate functions: battery charging and
1422 same connector - the Mother's intent is to use a common off-the-shelf 18650 1450 same connector - the Mother's intent is to use a common off-the-shelf 18650
1423 battery holder and wire it up to the necessary Weidmuller plug. When a real 1451 battery holder and wire it up to the necessary Weidmuller plug. When a real
1424 battery is used, it will also be possible to charge it via Calypso+Iota BCI and 1452 battery is used, it will also be possible to charge it via Calypso+Iota BCI and
1425 FreeCalypso FCHG just like in a real handset - see the following section. 1453 FreeCalypso FCHG just like in a real handset - see the following section.
1426 1454
1455 Because of the need for battery-specific tuning in FCHG, it will be difficult
1456 to use "any" 18650 battery for the real-battery mode of operation on FC Venus -
1457 instead we will be on much more solid footing if we select some specific battery
1458 model and stick to it. The Mother's current plan is to use Panasonic NCR18650B
1459 as our canonical battery.
1460
1461 3.3.1.1. Iota ADIN2 connection
1462
1463 Our previous development boards FCDEV3B and Caramel2 use only pins 1 and 3 on
1464 the 3-pin Weidmuller battery power input connector - however, TI's Leonardo
1465 schematics also connect ADIN2 to the otherwise unused middle pin. Just for the
1466 sake of flexibility, we are going to replicate this Leonardo-style ADIN2
1467 connection on our Venus board, allowing the possibility of experimenting with
1468 battery packs that include some kind of ID resistor or thermistor and provide a
1469 third terminal for it. However, as of this writing (2021-09), we do not
1470 anticipate actually using this functionality - the Mother's current plan is to
1471 use an 18650 battery that does not provide any kind of third terminal.
1472
1427 3.3.2. USB subsystem 1473 3.3.2. USB subsystem
1428 1474
1429 Our Venus development board will include the same USB subsystem as intended for 1475 Our Venus development board will include the same USB subsystem as intended for
1430 the final FC Libre Dumbphone handset, as described in sections 1.11 and 1.12, 1476 the final FC Libre Dumbphone handset, as described in sections 1.11 and 1.12,
1431 consisting of a USB mini-B interface connector, a charging on/off switch with 1477 consisting of a USB mini-B interface connector, a charging on/off switch with