Hi, I am trying to simulate a speaker amplifier as a project for an Analog 101 class. I have manufactured this in hardware and am trying to narrow down on a bug for which I want to see the simulation more closely.
Frequency response (AC sweep) seems to work, but I keep running into this error when trying to get a transient response (AC voltage 1 V at 1 kHz, 10 us time step, 10 ms run time):
doAnalyses: TRAN: Timestep too small; time = 1.00285e-07, timestep = 1.25e-17: trouble with node "e.xu1.eh#branch"
run simulation(s) aborted
Obviously, I tried with higher time steps but that doesn’t help. From places where this topic has been discussed before, I tried the suggestions of making sure that my schematic is correct, pin assignments are correct, libraries are imported correctly etc. That doesn’t help either. Please tell me how to proceed.
Schematic:
Please note that parts outlined by an orange box are for simulation only, and not part of the PCB. Additionally, R21 and R22 (feedback resistors) are also for simulation only.
Source files:
GitHub repo: GitHub - eccentricOrange/bt-speaker at bb109891162d04ee20b69f71db7035d7aeed9169
Please clone/download the entire repo, as library imports to KiCAD are specified by relative file paths. Look into pcbs/analog-audio/
for the KiCAD project.
Schematics and PCB design are provided as PDF files in the releases section.