Git Product home page Git Product logo

Comments (12)

dwarning avatar dwarning commented on September 25, 2024

The problem is the obsolete token "Nchan" before the brace.
.model MRF101 VDMOS Nchan(Rg=4 Rd=1
It is a bug in ngspice that no notice was issued. Use the VDMOS as described in the manual.
Move the token after opening brace and it will work.

from qucs_s.

dwarning avatar dwarning commented on September 25, 2024

Another issue in ngspice is the very small ksubthres parameter. Have to look what is happen.
So far you should remove the parameter or rise the value.

from qucs_s.

tomhajjar avatar tomhajjar commented on September 25, 2024

The ngspice ver 41 manual is wrong on page 174 and 178 since it shows Nchan as shown below. What do you do for Pchan?

. MODEL IXTH48P20P VDMOS Pchan Vds =200 VTO =-4 KP =10 Lambda =5m...

LTSpice has the parameter "subthres" but ngspice doesn't show it as a parameter on page 175. ngspice flags it and ignores it.

from qucs_s.

dwarning avatar dwarning commented on September 25, 2024

No the line is different then yours in the schematic.
You should read my post as a whole: Put the Nchan (or Pchan) in to the braces and no hang in ngspice.
For the smal Ksubthres problem I opened a case in the bug tracker.

from qucs_s.

tomhajjar avatar tomhajjar commented on September 25, 2024

Qucs-S freezing Windows because ngspice misbehaves isn't good either. Makes it hard to diagnose the problem.

from qucs_s.

ra3xdh avatar ra3xdh commented on September 25, 2024

I cannot reproduce the freeze on Linux platform. Ngspice hangs, but it could be stopped with "Stop" button in the simulation dialog. Probably Ngspice freezes Windows itself.

from qucs_s.

ra3xdh avatar ra3xdh commented on September 25, 2024

Ngspice consumes all available RAM after some time. Nothing on Qucs-S side will help in this case.

from qucs_s.

tomhajjar avatar tomhajjar commented on September 25, 2024

@dwarning

I figured out the source of the MRF101 model parameter being "subthres" instead of "ksubthres". LTSpice had it's own proprietary VDMOS model and a program called MOStool was used to create the model parameters. "subthres" was a parameter in the old version of the model. They now use "ksubthres". I guess I found an old MRF101 model.

Since many LDMOS/VDMOS devices don't come with Spice models, the tool can be used to make a simple model.

https://groups.io/g/LTspice/topic/vdmos_tool/36996094

from qucs_s.

dwarning avatar dwarning commented on September 25, 2024

Taking over my recommendations it works.
Bildschirmfoto vom 2023-12-22 22-44-01

I know the LTspice model. We made the ngspice VDMOS compatible as possible but left out same parameter naming. And we have true self heating!
See ngspice/examples/vdmos

from qucs_s.

ra3xdh avatar ra3xdh commented on September 25, 2024

The reason of the crash was the wrong syntax of the VDMOS model. It is not possible to restrict the RAM consumption of the child process using the Qt tools. QProcess doesn't provide such mechanics. Closing this.

from qucs_s.

tomhajjar avatar tomhajjar commented on September 25, 2024

@dwarning

Holger did a fix for this. ngspice will allow both the "old" and new syntax. Don't know if the manual will be updated.

from qucs_s.

dwarning avatar dwarning commented on September 25, 2024

I see no conflict in the manual v.42.
Anything is allowed:

.model my_vmodel VDMOS pchan Vto=-4 Kp=4.7m .model my_vmodel VDMOS (pchan Vto=-4 Kp=4.7m) .model my_vmodel VDMOS pchan (Vto=-4 Kp=4.7m)

from qucs_s.

Related Issues (20)

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.