Slashdot Mirror


Schematics and Circuit Simulation In the Browser

compumike writes "CircuitLab today released a browser-based schematic editor and circuit simulator for the online electronics community. SPICE-like device models and mixed-mode simulation support allows engineers and hobbyists to tackle a wide range of board-level design problems. While most EDA software is Windows-only, CircuitLab is 100% web-based, Windows/Mac/Linux cross-platform, and requires no installation or plug-ins. Instead of today's typical forum posts with static screenshots from different desktop tools, the online electronics community can now use CircuitLab to share useful URLs (as well as PNGs and PDFs) which link directly to interactive, editable, runnable schematics. In just a few clicks, another designer can open that circuit, make a change, simulate it, and post the new version back to the community."

29 of 93 comments (clear)

  1. SPICE/Workbench by lsolano · · Score: 2

    ... good memories, back in '94 when I used that software... now everything seems (is?) easier.

    I used the command-based spice. When Workbench arrived, with GUI, was something really impressive.

    1. Re:SPICE/Workbench by Mitchell314 · · Score: 3, Informative

      I remember multisim, it's a great educational tool for learning patience. And for learning why one shouldn't release software with showstopper bugs.

      --
      I read TFA and all I got was this lousy cookie
    2. Re:SPICE/Workbench by Anonymous Coward · · Score: 5, Informative

      http://www.falstad.com/circuit/ is nicer; it simulates in real time and isn't as clunky because it runs as an applet instead of javascript hackery.

    3. Re:SPICE/Workbench by Kell+Bengal · · Score: 2

      Beat me to it! This program (although it has a slightly chunky editor), has been the standard for web-based circuit simulation for years. I have used it in a professional environment, and my peers went from "Web-based-what?" to "Omg, this is so useful!" in a heartbeat. Strongly recommend it.

      --
      Scientists point out problems, engineers fix them
      altslashdot.org: The future of slashdot.
    4. Re:SPICE/Workbench by rrohbeck · · Score: 2

      I hacked SPICE in FORTRAN and added some Pascal code for macros and realtime graphics display on a Tektronix tube on a VAX circa '82.
      Good times. Long nights in the CS lab with coffee, cookies and pizza.

    5. Re:SPICE/Workbench by spongman · · Score: 2

      mod parent up. the falstad applet is excellent. i have used it many times to simulate circuits i have been working on.

      the editor interface is a little clunky and takes some getting used to, but the 'real-time' aspect is amazing.

  2. This actually looks pretty amazing by Man+On+Pink+Corner · · Score: 5, Interesting

    I had to check the page source to see how they had managed to launch a Flash application without being caught by my FlashBlock plugin. Applications like this are another nail in Adobe's coffin.

  3. No thanks by nurb432 · · Score: 5, Insightful

    Great idea, but if i cant have it local, then no thanks. I don't want to rely on something that is being hosted by another party.

    They lose interest, poof there goes my work.

    --
    ---- Booth was a patriot ----
    1. Re:No thanks by vlm · · Score: 2

      Great idea, but if i cant have it local, then no thanks. I don't want to rely on something that is being hosted by another party.

      They lose interest, poof there goes my work.

      I checked the FAQ. Ouch.

      Can I export my CircuitLab schematics out to another tool?

      Not at this time.

      Especially big bummer as I'd like to import ckts into a PCB autorouter. So its just a toy, at least right now, as opposed to a "real" EDA tool, which is too bad.

      --
      "Science flies us to the moon. Religion flies us into buildings." - Victor Stenger
    2. Re:No thanks by X0563511 · · Score: 3, Informative

      I just created a test schematic, and if I then go in my workbench and select it, I can export it to PDF. Sure, it's not perfect (eg it's not something parsable like an XML), but it also means that your work doesn't go "poof" either.

      --
      For large sets, this will be our guide even unto death, for the LORD will work for each type of data it is applied to...
    3. Re:No thanks by fermion · · Score: 2
      I have been utilizing web based utilities like this for a number of years. My favorite in this category has been logic.ly, but I will be looking at this now. These are clearly not professional tools. I have the professional tools and they are expensive and require yearly reinstalls. If you spend your life doing these things, then professional tools are necessary. if not, web based solutions are becoming increasingly adequate. They can run from any computer, they can be used to teach at little or no cost, they can be used to test a hobby circuit. They are not going to be used to test transient behavior of high frequency circuits, but if one need to do that one already has the software.

      The only thing i saw missing was a BCD display.

      --
      "She's a scientist and a lesbian. She's not going to let it slide." Orphan Black
    4. Re:No thanks by Anonymous Coward · · Score: 3, Informative

      Linear Technology gives away its professional grade circuit sim tools as a way of promoting its hardware sales (full part library comes with it). google LTSPICE. free for noncommercial use. runs on windows. for non-windows there are a number of other good options, but this is the best win32 simulator I've found for teaching students, using on grad school projects, etc.

  4. Re:Not Safari? by Sharkus · · Score: 2

    What OS and Safari version? I tried OS X 10.6.8 and Safari Version 5.1.2 (6534.52.7) and it worked quite happily.

  5. Falstad's Java Circuit Simulator by senor_meow · · Score: 5, Informative

    I think it is important to mention Paul Falstad's Java circuit simulator that has been around for years and has probably influenced this project. http://www.falstad.com/circuit/

  6. Pretty cool, although limited by vlm · · Score: 4, Informative

    Its pretty cool, although limited.

    I checked it out and there's a pretty limited selection of BJTs, etc. Well I poked around and it turns out you can do something pretty cool with just a couple parts, with any luck here's a differential amp, assuming this link works:

    https://www.circuitlab.com/circuit/fby849/bjt-cascoded-active-load-differential-amplifier-with-cmfb/

    My guess is they'll soon be releasing a "paid" version where I can use thousands of (official?) transistor models not just 10 or so. That would be pretty awesome.

    Also if they know what they're doing they'll partner with a short run PCB house. Some PCB houses give away PCB CAD software, these guys have a jump ahead of them... Maybe they already have, I have not explored the entire site. Imagine doing the schematic, the spice run, the pcb layout, and order some boards (and parts?) from the same browser window... that would be cool. Heck partner with those "virtual front panel" guys too.

    If you double click on a component you can change the parameters, I think I could design a nifty little MMIC active constant current biasing circuit by hacking a rectifier model into a psuedo-mmic model (basically crank the forward V drop to 3 volts or so, depending on device, and a couple other things especially device capacitance). I wonder if I can push it into oscillation? (Note, you try to design ckts that don't do that... at least if they're theoretically amplifiers) Or get it to ring into a negative voltage at the amp input by doing stupid inductor tricks (this is why you don't use MMICs at HF freqs, aside from oscillation and usually intentional device gain rolloff)

    I'd like to see the ability to handle temperature swings. My parts are milspec individually, but does my overall design work over a whole milspec temp range?

    I suppose if I'm asking for the moon, could I have something like Ansoft for waveguide foolishness in my browser window?

    --
    "Science flies us to the moon. Religion flies us into buildings." - Victor Stenger
    1. Re:Pretty cool, although limited by JonySuede · · Score: 2

      Your post reminded me the difference between an hobbyist and a professional electronic designer : you play with HF*1; an hobbyist usually don't.

      1-Microwaves circuits design seems like a special kind of black magic to me ;)

      --
      Jehovah be praised, Oracle was not selected
  7. Upverter by Leif_Bloomquist · · Score: 2

    This capability has been around for a while with Upverter. Good to see some competition, though.

    http://upverter.com/

  8. Please let it netlist by smellsofbikes · · Score: 2

    From FAQ:
    "Can I export my CircuitLab schematics out to another tool?
    Not at this time."
    This could be an awesome tool if it were easy to create (and share!) new parts, and get a netlist out, so we could import it into layout in Eagle, Kicad, gEDA PCB, Altium, whatever floats your boat. But since all the circuits I create go into layout and get turned into boards, this doesn't provide me much that existing tools don't already provide.

    --
    Nostalgia's not what it used to be.
    1. Re:Please let it netlist by smellsofbikes · · Score: 2

      To expand: National Semiconductor has Webench (which I've worked on to some extent) and it allows you to set up a schematic, runs simulations, produces a bill of materials for you, produces a layout, produces gerbers, shows you which parts are in stock and how much they cost, and will even fab the boards and send you a bag of parts to put on your boards. That's really amazingly useful... as long as you want to use a National Semiconductor part. Not so great if you want to do something new or build a complex circuit outside of their limited repertoire.
      If these guys could do even a subset of that -- note I don't expect automated layout, because that's not within AI's reach, yet -- but produce a BOM with links to Digikey and Newark so I could check parts in stock/datasheets/verify footprints, and most critically produce a netlist so *I* can do the layout, well, then, that'd be very convenient indeed. But if I'm pretty much stuck with their partslist and admiring my schematic as it sits trapped in their garden, that's still cool (and it's a neat tool to use) but I'm going to end up re-entering the schematic in something that has a layout backend and most likely a simulator and library editing functionality, and at that point I don't get much from this aside from the convenience of being able to enter schematics when I'm hanging out at an internet cafe or something.

      --
      Nostalgia's not what it used to be.
  9. This is great by BetterSense · · Score: 2

    This doesn't have to be a serious design tool. The real benefit is going to be to the DIY and hobby community, because tools like this are going to reduce the amount of shitty hand-drawn schematics uploaded to web forums, typically done in Paint or scrawled on notebook paper and then imaged with a cell phone. I've been looking for a quick way to bang out a schematic for a while now.

    My thoughts:

    The drawing is great and the interface does a good job of being easy enough to start without having to read directions.

    They only have a selection of 8 NPN transistors, and you HAVE to choose one...there is no way to place a generic transistor and label it yourself. Even if you modify the parameters, you still have to have it labeled with one of the parts choices they provide. WTF? There is also no darlington transistor symbol.

    Also, if you choose coil, you have to have it labeled with the inductance value in H, and you can't have it show a resistance value. This is stupid for motor coils, where you care about resistance at least as much as inductance.

    So, force less shit down my throat, assume less about what I want to tell my audience, and it will be perfect.

    1. Re:This is great by GrahamCox · · Score: 3, Informative

      This is stupid for motor coils, where you care about resistance at least as much as inductance

      So just put the resistance in series. That's fine for simulation, where layout, parasitics, etc, are ignored unless you add them as elements specifically.

    2. Re:This is great by BetterSense · · Score: 2

      But you didn't get my earlier point, that the tool assumes that the end user wants to simulate, but hobbyists and robotics people are not going to be making diagrams for simulating; they just want to communicate a schematic visually. Classic blunder...not knowing your audience. Yes, a resistance in series with a coil would be equivalent, but you know what would be easier for both me and the web designer? Just let me plop down the coil symbol and then decide for my own goddam self how I want to label it, instead of "letting" me pick from a limited list of 5 parts, and forcing my label to have the unit you are just sure that I want.

    3. Re:This is great by WrecklessSandwich · · Score: 2

      This doesn't have to be a serious design tool. The real benefit is going to be to the DIY and hobby community, because tools like this are going to reduce the amount of shitty hand-drawn schematics uploaded to web forums, typically done in Paint or scrawled on notebook paper and then imaged with a cell phone. I've been looking for a quick way to bang out a schematic for a while now.

      Where are you seeing this? In my experience, most hobbyists just use the free version of Eagle.

  10. The browser is the new GUI by Okian+Warrior · · Score: 2

    The browser is the new GUI. This is a good thing.

    Instead of the dozen-or-so windows/widgets/mechanism systems we have now, we have one canvas with one interface managed by a standards community and improved over time.

    To take a simple example, pick any of the windows systems (Tk, Gnome, Microsoft API) and consider how difficult it is to display text on the screen, including placement, size, font, color, and so on.

    Now consider that same operation using the DOM model in Javascript: it's a simple English-like interface where you describe in a couple of words what you want to happen. Easy.

    Add to this the fact that browsers work the same across all systems, the markup works largely the same across all browsers, and the interface documentation is available to anyone for free, and you've got a winning combination.

    Wikipedia lists 14 free/OSS schematic capture programs. Almost universally, they are good in some aspects and fall short in others. For example: "Good graphics but lousy component library interface, but the library support will have to wait 'cause there's a ton of things we need which are more important". (Makes it 'kind of hard to use.)

    With a universal canvas, people can get on board with ONE system so that everyone can pull the rope in the same direction. The fractured landscape of programs can be replaced by a single interface where people use their expertise to improve the system in the area in which they have expertise.

    This should happen more often. There's a ton of competing GUI applications out there which could be consolidated into a single browser-implemented version, taking the best parts of each.

    I hope to see many more of these in the future.

  11. Re:Not Safari? by Anonymous Coward · · Score: 3, Funny

    Good morrow, sir. Might I recommend that you attempt loading the page in question with somewhat of a more heterosexual browser? I am not stating that Safari's orientation affects its abilities, but one never knows, does one?

  12. This is awesome by eternaldoctorwho · · Score: 2

    I used to have an electronics kit as a kid. Simple stuff, but fascinating. Though I didn't go into an electrical engineering field (comp sci instead), I am still interested in tinkering around.

    On a side note, does anyone know how a switch placed into a circuit can be tested and used in CircuitLab?

  13. Re:Raspberry PI by mirix · · Score: 3, Informative

    Good luck getting the chip out of broadcom without an order for a billion units. (assuming you are equipped to deal with BGA packages in the first place).

    --
    Sent from my PDP-11
  14. Chrome and Safari have very different JS by tepples · · Score: 2

    Chromium Browser (basis for Google Chrome) and Safari use the same WebKit HTML renderer but very different JavaScript virtual machines (V8 and Nitro respectively). All they're telling you is that the simulator has been extensively tested with Gecko+JaegerMonkey and WebKit+V8, not WebKit+Nitro.

  15. Re:How good is this for modeling audio circuits? by Bassman59 · · Score: 2

    The guys who create audio sims (preamps, effects, etc) are always looking for more tools.

    They use LTSpice.