Post Go back to editing

"LTspice 24.0.12 simulates my simple Class-D amplifier, but 24.1.5 fails in transient analysis"

Category: Software
Product Number: LTspice
Software Version: 24.1.5

Hello

I successfully simulated a Class-D amplifier with the TPA3116D2 IC using LTspice 24.0.12.

I only had to switch the solver to GEAR to achieve convergence in the transient simulation.

After updating to LTspice 24.1.5, I can no longer find a setting that allows a successful transient simulation. The simulation stalls after just a few microseconds.

Can you help me? The simulation setup can be found in the ZIP file.

class-d-audio-amp-test_with_ltspice_24.0.12.zip

Parents Reply
  • Hello Mathias,

    Thank you, I got the simulation working. Unfortunately, the output voltage increased from 12V to 150V. By reducing the Ron to 1µ, the output voltage was correct again.

    I hope for an update to LTspice 24.1.5 that can properly simulate the original manufacturer model. It’s critical to customize the manufacturer's SPICE model, as I don’t know their component behavior.

    I will switch back to 24.0.12 for the moment.

    Thank you very much for your support.

    Best regards,
    René

Children
  • This appears to be an interesting test case. I've made some adjustments, it does run in the upcoming LTspice 24.1.6. However, you have to use the alternate solver and increase the iteration limit:

    .options itl4=40

    The TPA3116D2 is very challenging for the simulator, because it abuses the semiconductor diode model with an extreme emission coefficient to create diodes with zero forward voltage. This requires a lot more iterations. There are also other numerical issues. I'd say it's a very poor model. Any robust model avoids extreme values for easy convergence.

    Best Regards,
    Mathias

  • Hello Mathias,

    I'm happy to read your message! I will forward your inputs to the ESA team and my students. It’s also interesting to explore how these problems can be solved and what the key elements are.

    I'm looking forward to LTSpice 24.1.6+—maybe it will even be able to simulate very poor models without adjustments! :-)

    Thank you very much!

    Best regards,
    René