I'm building a charger for 6 NiMH rechargeable batteries in series. How do I add them so I can simulate them charging with my circuit?
Thanks in advance :)
Mark
Welcome to EasyEDA.
Unfortunately there are no NiMH cell or battery models in the library.
NiMH cells are quite tricky to model accurately because of the slight cell voltage peak at full charge which then drops at the start of overcharging which is how modern NiMH chargers detect 100% charge. This is only of the order of 2mV for a single 1.2V cell.
Here are a couple of links to sources of information about modelling them but I'm pretty sure they are accurate enough to model this tiny voltage change:
[http://ltwiki\.org/index\.php?title=Modelling\_a\_Ni\-MH\_battery\_with\_hints\_on\_Li\-Ion\_battery\_modeling](http://ltwiki.org/index.php?title=Modelling_a_Ni-MH_battery_with_hints_on_Li-Ion_battery_modeling)
[http://www\.ni\-cd\.net/accusphp/forum/docjoints/ID2051\_Modelisation\_decharge\_batteries\_Pspice\.pdf](http://www.ni-cd.net/accusphp/forum/docjoints/ID2051_Modelisation_decharge_batteries_Pspice.pdf)<br>
<br>
That said, they might be good enough for your requirements.
If you need more help, post back.
Ok, I think I'm going to try the ltwiki one. How do I add it to my diagram and marry up the text with whatever symbol gets used to represent tge battery?
Thanks :)
"How do I add it to my diagram and marry up the text with whatever symbol gets used to represent tge battery?"
That's explained in detail in Chapters 14 and 15 of the Simulation Tutorial (3) in (2) in:
[https://easyeda.com/forum/topic/How-to-ask-for-help-and-get-an-answer-71b17a40d15442349eaecbfae083e46a](https://easyeda.com/forum/topic/How-to-ask-for-help-and-get-an-answer-71b17a40d15442349eaecbfae083e46a)
Plus:
[https://easyeda.com/forum/topic/How-to-add-a-spice-model-to-a-spice-symbol-which-does-not-already-gave-one-da9d6c16fa0842feba7d7b49bd983a42](https://easyeda.com/forum/topic/How-to-add-a-spice-model-to-a-spice-symbol-which-does-not-already-gave-one-da9d6c16fa0842feba7d7b49bd983a42)<br>
<br>
@HightonRidley,
Sorry, typo:
"Here are a couple of links to sources of information about modelling them but I'm pretty sure they are **not** accurate enough to model this tiny voltage change"
Ok, I've decided just to use a high value capacitor and series resistor to emulate the rising voltage of the batteries as they charge when I run a DC Sweep simulation.
Should I open another thread to ask about issues I'm having with the simulation and a .subckt definition I'm using?
"...use a high value capacitor and series resistor to emulate the rising
voltage of the batteries as they charge when I run a DC Sweep
simulation."
Be careful how you interpret the results with that. A DC Sweep neither embodies nor infers any time domain information and to a DC sweep, a capacitor will appear as an open circuit with zero associated capacitance. If you want to see how the voltage across the cell varies with applied current or voltage then you have to configure a time domain analysis and configure any sources as DC, pulse or PWL etc to simulate whatever you wich to apply to the cell over the duration of the simulation remembering that any source in a time domain simulation is applied for all time t < 0. So if you apply a 1V DC source to a 1uF cap through a 1Meg resistor then run a sim of 1us, all you will see across the cap is 1V because it's already been charged to that before the start of the simulation. Similarly if you charge a cap from a 1nA current source, the sim will fail because the voltage across the cap at time t=0 will effectively already have reached infinity!
"Should I open another thread to ask about issues I'm having with the simulation and a .subckt definition I'm using?"
Yes, I think would keep the topics clearer that way. Thanks.
Our website uses essential cookies to help us ensure that it is working as expected, and uses optional analytics cookies to offer you a better browsing experience. To find out more, read our Cookie Notice