Here's an LM3915 model (and its hierarchical variant).
Operation is similar to the LM3914 model apart from the logarithmic response and divider ladder.
Again, peer review and bug reports appreciated.
Hmm, thanks for the observations Eric. I'm struggling to get the ladder resistors to match up with the d/s figures for the thresholds. Will work on it.
Update: I've now added modelling of the pin 5 (Sig) input for both the 3914 and the 3915 (i.e a 20k resistor and reverse-biased diode in series from Sig to V-, plus a 25nA current source across the diode), so Sig voltages less than V- are now handled better.
Hi Alec, could you upload the revised files for the LM3914 and LM3915 please?
I'm finding it very useful (thanks for sharing) but have a couple of questions:
What is the purpose of current sink B1a? I'm not sure why pin 1 is different from the other 9 outputs. I can't find anything indicative of a difference on the datasheets.
I'm trying to drive a 10 LED dot display where I'm limited to 3.5mA supply current and 5V, so I'm trying to simulate it with low power LEDs to reduce the device power consumption, by adjusting resistor values and the like. Then I'll breadboard it to make sure it'll work. So if you have any good ideas about using it in a very low power consumption modes, that'd be good too.
Attached are the updated files. Have fun.
Re current sink B1a, see the 'Dot Mode Carry' section on P9 of the LM3914 datasheet. B1a models the 'auxiliary current source'.
If your supply current is limited, bear in mind that "Typical standby supply current (all LEDs OFF) is 1.6mA (2.5mA max)."
Thanks for that, the datasheet I had didn't have the information on "B1a", but I've since found a datasheet which has that detailed. Seems not all datasheets are created equal....
I'm mindful of the standby current, but I seem to get reasonable illumination with HE LEDs at 2mA. The one LM3914 I have seems to consume only 0.8mA with a 4V supply (all LEDs off) and it all connected, maybe I got lucky with a good one, I'll see how it goes with some others from (hopefully) a different batch when I get some more in a few days and report back.
Attached are the updated files. Have fun.
Re current sink B1a, see the 'Dot Mode Carry' section on P9 of the LM3914 datasheet. B1a models the 'auxiliary current source'.
If your supply current is limited, bear in mind that "Typical standby supply current (all LEDs OFF) is 1.6mA (2.5mA max)."
I was trying out your LM3914 test Jig with a new LED array I created and stumbled upon something interesting.
If I remove all the diodes (any diode(s) including LEDs) from the schematic, and run a sim, I get an error "can't find definition of Model D" error.
If I place a diode on the schematic (I tried a 1n4148 but didn't connect it to anything) the sim ran with no errors.
I believe the device model "D" statement is missing from the LM3914 subckt definition. :-|
eT
Basically, without the D statement, the D device references in your models will inherit the D model characteristics of any device placed on the schematic containing a D model statement.
Also,
I created a 10 LED Array so I don't have to place LED's one at a time.
Attached are the updated files. Have fun.
Re current sink B1a, see the 'Dot Mode Carry' section on P9 of the LM3914 datasheet. B1a models the 'auxiliary current source'.
If your supply current is limited, bear in mind that "Typical standby supply current (all LEDs OFF) is 1.6mA (2.5mA max)."
Hi eT,
For what program where these simulation models made? I have Multisim 12.0 and it does not seem to recognize it. It's looking for a *.prz or *.cir spice file. Does it have the Dot/Bar mode working?
Hi eT,
For what program where these simulation models made? I have Multisim 12.0 and it does not seem to recognize it. It's looking for a *.prz or *.cir spice file. Does it have the Dot/Bar mode working?
This thread is old....but it regards a model by Alex_t.
I have since made my own model.
Anyway....
You'll need to import the file in standard spice format. But be aware that there may be devices and/or statements used that are proprietary to LTSpice.
Perhaps Alex_t can advise.