1
\$\begingroup\$

I am trying to create a spice model of a battery discharging into an LED.

enter image description here

I would like to model the charge remaining (Ah) throughout the discharge and as I understand it this can be acheived by reading the voltage across the terminals of the battery.

I would like to model the discharging of the battery and view the voltage across the terminals over time.

I am just starting to use spice models and have been playing around with pspice, ltspice and now circuit-lab.

\$\endgroup\$

1 Answer 1

1
\$\begingroup\$

A good model of a battery would keep it as a voltage source, but add a resistance in series with it (separate from your external 220R resistor).

Then you need to find a way of increasing that resistance as the product of current draw and time increases.

\$\endgroup\$
0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.