LTspice is a nice program... well, it's ok in many respects and great in ot hers. But it can be a PITA to find models for.
I'm looking at a number of possible parts to use in a new design but many o f them have no spice models. I'm not so worried about finding an accurate LED model. But I'm using a Schottky diode to prevent back feeding of power through a regulator and I need a good match to the Vf and Ir.
I tried going through the available LEDs in LTspice and few of them are cur rent parts. I don't want to do the same search for a Schottky diode as the y have a lot more of them and many are likely not useful for a number of re asons. A part I picked from Digikey is PMEG40T20ER. I thought they had no model, but I got a reply from support and they told me how to find it. Th ey list it under documentation. Why not? Now to figure out if I can conne ct it to my schematic.
I considered using the current limiting part Win is using, the FPF2125 whic h would do a great job of running current into the supercap and includes th e back current block. With a comparator this should be all that is needed to charge the supercap. But no model. I'd have to cobble something up tha t *should* work the same, but who knows?
Dialog Semi has programmable devices for this like the SLG46116. I don't s ee any indication it includes a block of the back current and doesn't limit the current, but otherwise it might include enough configurable logic and analog to do nearly the whole thing in one chip! No model for LTspice, but they have their own simulator. Not sure how the tools work and what other parts of the system can be included. Their web site is all marketing heav y and not so much info on the details.
Maybe I'll download the Dialog tools and see how well they work.
Someone posted an inrush limiting circuit that gave me an idea to just cons truct my own regulator by adding a PNP to the PFET with a sense resistor. That works ok, but there's just not enough head room to keep the current up once the voltage on the cap approaches 4V compared to the input of 5V. Th at's no big deal since the cap is mostly charged by that point. At the end there is still about half a volt across the drain/source of the PFET with almost 4V across the source/gate. I'm using a BSS84 in the simulation, in no small part because that was in the library. Is there another part that would have a lower drain/source voltage while passing 100mA with 4 volts on the gate?