-
Notifications
You must be signed in to change notification settings - Fork 630
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add TRIAC, Rail to rail OPAMP, TL431, DPDT switch, KB817/PC817 Optocoupler, and LM317, LM337, 7805 #14
Comments
DPDT switches are just two DPST switches that are linked. Create two DPST switches, select File->Export As Text, copy the text and paste it into an "Import As Text" window. find the two lines starting with "S", and change the last number to a "1" (or any other unique number if you need multiple DPDT switches). I don't know why I haven't made a simpler way to do this. |
Maybe just add "switch id" or something like that to right click edit menu... However this is not my biggest pain. I struggle much more with triacs and opamps... |
Maybe some sort of varicap might also be something for the wishlist. |
I too would be interested in the PC817 Opto-isolator. |
Sorry, I'm not an expert. Import from text. $ 1 0.0000049999999999999996 222.68277840103312 99 5 43 |
Triac and optocoupler has been added. Normal policy is not to add specific device models unless they are really iconic elements (555, 741). |
That's great news! Thank you.
While i think that TL431 and LM317 or 7805 are almost iconic components found in wide variety of circuits. I dont really need exact component model. It might as well be generic component with configurable parameters. However i guess i can build TL431 using individual components and i usualy replace voltage stabilizer using 2 pin voltage source. Which is not always ideal, but somewhat works in simple cases. DPDT switch and possibly full bridge rectifier would be nice to have for convenience. But not having supply voltage pins at opamp is very hard to overcome in circuits, where the opamp supply voltage fluctuates for some reason (simple example is low voltage disconnect circuit, where opamp is used to check it's own supply voltage, i've simulated it in simulator, but real world circuit was behaving very differently due to opamp supply voltage not being constant). |
DPDT switch is there, just create two SPDT switches, edit them and set the switch group of each to the same nonzero number. |
Didn't realized there's right click UI for switch groups now... Nice! What about the opamp problem? Do you think it would be possible? |
Sure it’s possible.. we have the entire 741 as one of the sample circuits, in fact. Would be nice to simplify it for speed though. This is high on my list. Also it’s filed as a separate request, #330 . |
On second thought why not just use the 741? That way we'll be sure it's accurate. If people want something faster they can use the ideal op-amp. |
Because of the cognitive load... look at the circuit: Imagine that i will be explaining some complex circuit containing several opamps to students (or hell! even to myself) using simulator. That's like forrest of transistors stealing the attention from the circuit itself. Also editing such circuit might became a nightmare if things get too tangled. BTW This is exactly why i proposed that it would be nice if it was possible to nest the circuits. So that we would be able to take the 741 example, define some interfacing pins into it and then import it as "black box" module into another circuit without having to cope with its complexity. There can even be public library of user contributed components for other people to reuse. Surely this will not be super fast and optimized, but maybe we can even manage to make some "compiler" which will automaticaly create fast flat numeric model (or whatever you use internaly) from such contributed module. |
I meant to say, why don’t I implement the improved op amp component by encapsulating the 741, as you say, rather than trying to simplify it somehow. |
@pfalstad Oh i see :-) What do you think about possibility to add user UI to create custom reusable "sub-circuits"? |
Yes, that would be good. It might not be so hard. Iain has already done a big chunk of the work. |
Hello,
can you please add following components?
TRIAC (it does not work very well when i simulate it using two SCRs). This can be very usefull.
Rail to rail OPAMP with power supply pins (currently the OPAMP in circuit does not allow to connect supply voltage). So it's output is not dependent on supply voltage of the rest of the circuit, which caused me problems in past. I mean like OPAMP giving constant 5V output in circuit powered by slowly discharging battery worked in simulation, but was off in real life, because it's output changed as supply voltage changed. Maybe it does not have to be "rail to rail" it should just have power supply pins and way to set how close the output can get to the supply voltage.
TL431 quite common component that integrates precision voltage reference, opamp, NPN transistor and diode. They are almost everywhere nowadays...
KB817 (=PC817) optocoupler is very common and cheap optocoupler. i really don't know how to simulate such component using substitutes made from other parts. especialy when it's not fully on or fully of. there's a piece of region, where it can be used for transmitting analog signals using opamps and feedback loop. that's something that simply cannot be substitued using relay, etc...
DPDT switch. Also quite usefull. Now i have to use single switch and relays.
Full bridge rectifier. While it may be quite easy to draw 4 diodes... Why not? We do this all the time again and again, so why not make life little easier?
LM317, LM337, 7805 - quite favourite linear regulators are something that i miss in simulator. They are also very popular. Maybe it can be just single 3-legged component with configurable polarity, voltage reference and voltage drop. defaulting to LM317.
The text was updated successfully, but these errors were encountered: