Li-ion batteries do need fuel gauge to accurately measure remaining energy and battery life. Voltage measurement is highly unreliable when temperature changes, which could happen if you carry one of these in your outer pocket.
Look at that chart again. How much is the difference over *reasonable* room temps? Even down to zero deg C. Not much.
So, just include a temperature sensor and adjust power estimates.
Bear in mind that your alternative is to include full charge input-output tracking for each battery pack IN THE PACK, which is going to add a lot to your system cost, and be annoying for users who want to acquire multiple battery packs. And will STILL have the same kinds of temperature inaccuracies. Probably more in fact, due to no processing power.
Protection is absolutely needed in swappable batteries.
Depends what you mean by 'protection'. If you mean overdischarge protection, no, with swappable batteries that is better put in the device. Ditto charging control, if the device is able to charge batteries.
If you mean 'protection against accidentally shorting out fully charged batteries loose in your pocket', this seems to be something some people worry about. Which is why we don't have many nice products using bare 18650 cells. And I think that is stupid; another example of nanny-State. We *FINALLY* have pretty good batteries, but now we're supposed to accept that because of being good, they are too dangerous to use? Screw that. For people who can't keep batteries stored sensibly on their own, the solution is to sell convenient spare-battery storage holsters.
As for paralleling multiple cells, you could put PTCs between them to limit the current if the user mixes cells of very different charge states.
Won't work well. Which cell node are you going to use as supply source? Also, letting the cells self-equalize messes with the user's idea of which cells he just put in fully charged, and which he needs to change next. Plus if you allow enough current flow to self-equalize it's not an optimal charging profile for the cells.
I still think it's better to have completely independent switcher supplies, one per cell. Check Aliexpress to see how cheap little single cell LiIon switchmode supplies are.
eg
1-6V to 5V buck boost DC DC converter Voltage Board for portable Solar Charger. 2 for US $4.99
https://www.aliexpress.com/item/2pcs-1-6V-to-5V-buck-boost-DC-DC-converter-Voltage-Board-for-portable-Solar-Charger/32662597171.htmlTP4056 Charge And Discharge Protection Module Over Current Over Voltage Protection 18650 MicroUSB 5 for US $3.73
https://www.aliexpress.com/item/5pcs-lot-TP4056-Charge-And-Discharge-Protection-Module-Over-Current-Over-Voltage-Protection-18650-MicroUSB/32455748917.htmlEdit to add:
Couple of examples of 9gag posts demonstrating how many people feel nostalgic for a 'nice simple music player with replaceable batteries' -
http://9gag.com/gag/aopwq12 How many of you owned one of these?
http://9gag.com/gag/aopwq12#cs_comment_id=c_147558621096335412My comment:
Replaceable battery and NO DRM bullshit! Perfect. Mine died eventually, then I bought two Thomson 6677. Similar thing, but even better. Has a uSD slot, and I still use them.
If I could find something like these, using an 18650 cell for months of operation, a bigger screen, but still acting as just a simple flash drive with no stupid over-complication, no DRM, I'd be very happy.
--------------------
20170206
http://9gag.com/gag/aLDK5EMAdmit it, you had one of these
http://9gag.com/gag/aLDK5EM#cs_comment_id=c_148637817914938223My comment:
Had 2 of these, then a Samsung thing that looked great but was DRM-ridden junk. Next bought 2 Thompson 6677. Splendid, still use. uSD slot FTW! But sick of using non-rechargable AAAs. Alternative similar ones I can find all use pathetic inbuilt batteries - only last a day between charges, can't swap them, and they eventually fail.
The Thompson model is no longer available and mine will eventually die. And then...
Currently starting a project to design a better one, with replaceable bare 18650 Liion battery, slightly better screen, uSD only (no internal flash to fail), built-in storage compartment for many uSDs, WAV and MP3 play, record to WAV with ONE BUTTON press (not bloody 8-button sequence so hard to get right), external mic option, plain disk filesystem, still zero DRM crap. With 18650 the play time should be MONTHS before need to charge or change battery. Open hardware & source, 3D printed body.
Fnck the corporations who refuse to get it right.
Who would like this?
------------------------------------------
Blueskull, your project interests me because I too wish there was something better than the current commercial offerings. But I don't mean 'better' in terms of audio fidelity. I mean usability. Here's a note I made back in 2013:
20130330
A Sensible music player
-----------------------
Prompted by the unavailability of small, replaceable battery MP3 players like the two Thomson 6677 I bought years ago.
Features of the Thomson 6677
* One battery. Can be alkaline rechargable, or standard. ie voltage range 1.2V or 1.5V
* Plays music for days on a single battery.
* In standby (off, but still responds to 'on' button) the battery charge lasts for months.
* Has a uSD card slot. (But can only take up to 2GB size cards.)
* USB plug. (USB ver 2)
* Appears as standard disk drives. One for internal mem, one for the uSD card.
* 1GB Internal flash mem.
* Small low power monochrome LCD screen, with RGB LED backlight.
Flaws:
* The shape. It has a bulge at rear for the battery, that makes it not sit flat.
* Tedious button-press sequence to get it into record mode.
* No VOX record mode.
* Internal mic is OK, but has no Mic input.
* Screen text is too small for poor eyesight.
* Does not use the USB interface for config.
Chips in Thomson 6677:
Sigmatel STMP3510 L100E-SB6 A03167 0714
Hynix HY27UT088G2M TPCB 820H
See: F:\_camera\20140729_thomson_6677_music_player
These days all players I can find have internal batteries, that do not last even 1 day. Then they take many hours to recharge.
And the battery cannot be easily replaced once it's dead. The short play, downtime during recharge, and non-replaceable battery are all individually completely unacceptable.
And uSD slots are very rare.
Features I want
---------------
* Cheap. Under $30.
* Battery compartment can take anything: 18650A Li-ion, AA, AAA alkaline or NiMh.
Aims: - Operating battery life of at least a month between recharges, using standard bare 18650.
- Quick swap with new battery,
- Recharging: Can recharge internally from USB, but normally battery just swapped out and recharged externally.
- Can run with no battery, with power via USB port.
- Battery compartment & lid are solid, long lasting, survive drops and batt leaks.
- Battery type set in config: [Li-ion, NiCd, Alkaline, Carbon-Zinc] (sets params, including whether rechargable.)
- Battery management and protection is in the device, not the removable battery.
Configurable:
- discharge protection voltage limit,
- charge protection voltage limit,
- charge current.
* Shape: Flatish. Little thicker than an 18650. So battery compartment to the side.
* Upgradable firmware.
* Open source design of case, circuit, PCB & software.
* Internal flash used mainly for firmware. Some space can be used for audio, but normally use plugin flash to avoid
wearout of the internal memory.
* uSD flash card slot, taking modern cards. 32GB+ Can play from and record to these.
* USB master port, allowing use of standard USB thumb drives for storage. (Optional, with uSD slot.)
* USB slave plug, for connection to a PC/laptop/etc.
(Maybe can combine the above, using a 'bare' plastic tongue that can be master or slave. Screw the stupid standards.)
* Built-in microphone.
* Microphone jack, mono.
* Earphone jack, stereo.
* Operation configuration done via PC over USB, or via config text file in the uSD card.
All config data retained on player in one plain text file, in accessible location.
Config changes via:
- Web interface (browser, read html/js on device)
- Use text editor directly on config file.
- Load new config file.
* All sound, config and software files are standard filesystem, accessible via USB from a PC.
NO SPECIAL SOFTWARE or drivers required on the PC.
* No 'proprietry song database' bullshit. Tracks just play from a selected folder in alphabetic order, and
displayed as their unaltered filenames. Or can select a playlist to run, but the playlist is just a simple
text file containing sequential list of path-filenames to play.
* Largish screen, colour, pixel driven.
- Backlight white LEDs, config brightn.
- Font size adjustable.
- screen can be config'd to:
- stay on while device active.
- stay on while menus in use, otherwise power off.
- configurable on period at start of new track play.
- screen on/off and backlight on/off are separate.
- If scren is touch sensitive, there MUST be a physical, firm-detent LOCK SCREEN slider switch (same as locks any buttons.)
* Plays MP3, WAV, FLAC and others. Must include at least one non-lossy compressed format.
* Recording
- Recording format: WAV.
Configs:
- VOX on/off, trig level, silence rec time.
- Timestamping format.
- Break files vs continuous. Max file size.
- Allocated storage size
- Storage location: (Internal, uSD or USB, plus folder name.)
- Overwrite (ring buffer) vs no overwrite.
- Record ON: <button def> (Can be single button press, quick, or x seconds hold. Or can be menu entered.)
- Record OFF: <button def> (As above.)
- State lock: <button def> (Can be any simultaneous button hold/sequence, including the LOCK slider.)
- External record wired-enable of some kind. Perhaps using the earphone jack configurable as a switch or logic input?
Note: The Thomson 6677 seemed to be designed to be difficult to get into record mode. Whether this was intentional to
meet some legislation related to recording conversations, who knows (or cares.) It's bullshit.
To go from off to recording took:
1. Slide 'Power-hold' button left momentarily to turn unit on.
2. Wait for several seconds while it boots up.
3. Button 'M' to get into 1st menu.
4. Button 'M' again to switch to menu with 'recording' as 2nd item.
5. Button '-' to bump selection down to recording.
6. Button '>>' to select 'recording'. Now 'record' is 1st item, 'play back' is 2nd.
7. Button '>>' again to select record. Now says 'voice recording ready'.
8. Button 'red dot' to begin recording. Now pretty much any button will stop recording.
9. Slide 'Power-hold' button right into 'hold' position to lock unit.
That's ridiculous, and makes starting record in an urgent situation impossible.
Needs ONE button that starts recording immediately, even from powered off condition.
Together with a 'lock' slider that works with the unit on or off, to prevent accidental accidental startups
or drop out from recording/play, that's all that's needed.
* Internal RTC & calendar (for timestamping recordings) operates from internal coin cell or supercap
when main battery removed & no USB power.
If coincell: Several years runtime. If supercap, allows 5 minutes to change battery.
---------------------------------
This 'project' (ha ha, as if I'll ever actually do it) is on the list of reasons I bought a 3D printer. Because it seems NO ONE is ever going to do a small music player that takes 18650 batteries. or if they do, it will be DRM-poisoned. So, if I can print the needed case...
Recently I came across this:
https://www.aliexpress.com/item/DFPlayer-Mini-MP3-Player-Module-MP3-Voice-Module-for-Arduino-DIY-Supporting-TF-Card-and-USB/32691455792.html?spm=2114.13010608.0.0.va4k3D DFPlayer Mini MP3 Player Module MP3 Voice Module for Arduino DIY Supporting TF Card and USB Disk $2.49
I bought a couple. Reversing the circuit seems like a good start. Because I like the KISS principle, and don't care at all about extreme audiophool fidelity, or exotic output drivers.
It just has to sound OK on cheap earbuds, be SMALL, CHEAP, and the battery must last for weeks and be quick-swappable. Sensible UI would be good too. Readable text, but not a large colour screen - ha ha, what for?
Pic is one of my Thompson 6677 players. About as good as they got, before the designs went stupid. The Samsung being a perfect example of insanity. God that was a useless piece of crap.
Edit *again*: Oh, and one more thing. If making a flat case that has the electronics & screen next to one or two 18650 batteries, there should be room to include a storage space for many uSD slivers. They are so tiny... Something with slots to hold them, and a slip-in space for a label of what's on them. (Or at least numbered slots, with a text file index in internal mem, accessed via the screen.) Physically a bit like a tiny CD storage rack, except they could be slanted for less depth. Some kind of spring detent on each slot, so the uSDs can't all be sent flying if you fumble opening the cover.