Code Monkey home page Code Monkey logo

Comments (3)

hausen avatar hausen commented on June 27, 2024

Is the circuit the same one in #1 ?

from circuit-simulator.

Krb686 avatar Krb686 commented on June 27, 2024

No, it is a different one. It appears to be happening any time I connect op-amps with no feedback loop directly to the base of p or n MOSFETs.

Here is one such circuit.

$ 1 5.0E-6 10.20027730826997 50 5.0 43
R 464 208 464 96 0 1 40.0 5.0 0.0 0.0 0.5
f 400 224 464 224 0 1.5
f 400 288 464 288 1 1.5
w 464 240 464 272 0
g 464 304 464 352 0
a 336 224 400 224 0 15.0 -15.0 1000000.0
a 336 288 400 288 0 15.0 -15.0 1000000.0
w 336 240 304 240 0
w 304 240 304 256 0
w 304 256 304 272 0
w 304 272 336 272 0
g 304 256 272 256 0
w 336 208 240 208 0
w 336 304 240 304 0
w 240 304 240 256 0
w 240 208 240 256 0
w 240 256 192 256 0
R 192 256 144 256 0 1 40.0 5.0 0.0 0.0 0.5

from circuit-simulator.

hausen avatar hausen commented on June 27, 2024

After more than 2 years, I realized that the default wire resistance was too low. I have increased it from 1pΩ to 1µΩ. It may not fix the problem entirely, but this seems to be an issue with the original simulation algorithm; if you use Paul Falstad's original version and replace the wires with 1pΩ resistors, you'll get the same error.

from circuit-simulator.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.