Yes, we will support custom battery profiles. We are right now re-writing some parts but do not have a committed launch date yet.
We may be able to give you some beta scripts if you want to try out; a model that sets a nominal voltage and internal resistance and then adjusts output voltage according to current drawn by your device. Would that be what you are looking for ?
/Marc
Hi,
Sorry for the delay.
Please find attached script for battery emulation below.
To note:
It’s a Beta, with all that follows from that…
The model is that you set a nominal battery voltage and internal resistance, and it will regulate output voltage based on these parameters and current drawn. Look at the script, it is quite simple. This is a first order model, it does not emulate other parts of chemistry such as recovery time.
The loop is run in the PC, which means it’s timing will be affected by other stuff running on the PC. For the real stuff we are moving it into the Arc.
This script does not contain a low pass filter, so it will be a bit noisy.
Put it somewhere on your computer, load it in SW menu “Window/Scripting”, change parameters in the script to what you want (default 3.3V, 100ohm), and hit “'Run”.
Any question or issues, feel free to ask. If this is close to what you want we can improve the script a bit while waiting for the real updates.
Along these lines, how are the supplied json battery models generated? Is there a script we can run to create our own from actual batteries?
I’d like to create a model for the battery we have in our product(s), and create duplicate instances for varying temperatures. i.e. Renata CR2430 @-10degC through to @+70degC.
Yes it is updated. Now it is possible to profile and emulate batteries in the UI.
If you, or anyone else, are interested in knowing more about how this works, then book a demo
When Otii Arc emulates a battery, it doesn’t have any specific recovery time. What you can do is change the cycle time, when you profile your battery, to increase or decrease battery recovery time effects.