Kicad-ngspice MOSFET models

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • eccerr0r
    Solder Sloth
    • Nov 2012
    • 8703
    • USA

    #1

    Kicad-ngspice MOSFET models

    Trying to figure out Kicad and ngspice integration to see if my driver works.
    Unfortunately based on probing the circuit, as far as I can tell my design is sound but Kicad appears to connect the transistors wrong...grr.

    In the "Alternate Node Sequence" checkbox, this is used to match KiCad and spice... what I've heard is that I should use "3 2 1" for BJTs that have external models, but does this depend on the footprint or what does this depend on?

    How about for MOSFETs? Then power MOSFETs with subckt models?

    These are the things that piss me off when working with schematic capture... but without schematic capture I'd rather just breadboard it. Just that magic smoke in a SPICE simulation is magical magic smoke, at least magical magic smoke can be stuffed back into the devices...

    BTW, as far as I can tell, I've already sent 50 volts into the gate of my MOSFET because kicad/ngspice can't get the pinout correct. Destroyed the gate. Oh well, reset simulation, I have a brand new MOSFET!
    Last edited by eccerr0r; 06-10-2020, 02:06 PM.
  • eccerr0r
    Solder Sloth
    • Nov 2012
    • 8703
    • USA

    #2
    Re: Kicad-ngspice MOSFET models

    I think I finally got it... put in the Kicad symbol pin numbers into the alternate pins...

    Finally not getting "magical" magic smoke... it was all simulation model problems! Grr!

    Comment

    • eccerr0r
      Solder Sloth
      • Nov 2012
      • 8703
      • USA

      #3
      Re: Kicad-ngspice MOSFET models

      Is this okay? (Simulation of H-tree crossover current...)

      Well, no, but I probably can fix this in software if I can't speed up the edges
      Attached Files

      Comment

      Related Topics

      Collapse

      • Jane
        How do you test MOSFET in laptops ?
        by Jane
        I tried to use this method:

        Testing an N-channel MOSFET:

        Step 1: Discharge the Gate (turn off the MOSFET)
        Place the black probe (COM) on the Source (S) and the red probe on the Drain (D). The multimeter should show no continuity (high resistance or "OL" – open line).
        Then, touch the black probe to the Source (S) and the red probe to the Gate (G). This discharges any stored charge in the Gate, turning the MOSFET off.

        Step 2: Charge the Gate (turn on the MOSFET)
        Now, place the red probe on the Gate (G) and the black probe on the
        ...
        09-27-2024, 03:31 AM
      • Nooy
        VGA MOSfet permanently shorted and loss of MOSfet pad
        by Nooy
        Hello everyone, I recently found this badcaps site and super Learn Electronics Repair youtube channel. And I wanted to learn how to troubleshoot power supplies and VGA cards and how to practice soldering, since I already have a properly defective piece of them. I am currently trying to solve two problems:

        I have a Gigabyte GV-RX460WF2OC-4GD type card. I managed to find the faulty MOSfet (AON6414A) on it, which I replaced. The card starts up, but after about half a minute, the MOSfet in the same position will be shorted again. Is it possible that the PWM controller driving the MOSfet...
        02-14-2024, 02:26 AM
      • redbaron1007
        Help identifying mosfet on Razer Blade RZ09 (CH570_MB_NT)
        by redbaron1007
        I have a Razer laptop (RZ09 MB# CH570_MB_NT) that has a shorted mosfet marked BND M03 E067 that I'm unable to find anywhere online. Does anyone either know what the part number is for this mosfet or have a schematic I can find it in?

        Backstory on the whole thing the laptop was plugged into a lamp at a hotel. The lamp got unplugged while it was charging and now the system won't power on anymore. I found the caps around this mosfet shorted and when I injected voltage into the caps the mosfet got hot and my bench psu was pulling 5A. Pretty sure this is all that's wrong with the laptop...
        09-09-2025, 11:10 AM
      • AppleLover123
        Asus X712EA 3 volts after the first mosfet
        by AppleLover123
        Hey guys,

        i have a asus motherboard here and as the title says after the first mosfet (in the picture) there is nothing more than 3.15v.
        I injected 19v and max. 1 amp at the charging port and there is not voltage drop or smth. It's just taking 19v and 1 milliamp.
        Then i tried to inject 19v and max 1amp after the current sensor and there it first takes 19v and 4 milliamps and after 2 seconds it is taking nothing (no current).
        I measured on the coils on board everything seems fine. Also the main power rail is not shorted (infinite resistance).
        Now i thought something...
        12-15-2024, 07:49 AM
      • MicroSMD Lab
        ASUS ROG Zephyrus GPU Mosfet repeat failure
        by MicroSMD Lab
        The board number is GU502DU. I repaired this a couple weeks ago and it came back with the same issue, same mosfet failed (PQH9201). I'm hoping that the GPU was spared this time.
        I used the same replacement part (purchased from Mouser) and I'm certain the soldering was done properly since it took just as much effort to remove as before. What could cause this same mosfet to fail? I'm thinking if it was unsuitable then the others would fail too. I looked for similar failures on YTube and the mosfet was replaced with AOE6930 in one instance and AOE6932 in the other but it's possible that the...
        01-10-2024, 06:36 AM
      • Loading...
      • No more items.
      Working...