Timeline for LTSpice resonant circuit simulation non-idealities
Current License: CC BY-SA 3.0
13 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 12, 2017 at 12:40 | comment | added | PlasmaHH | kenkundert.com/docs/eda+t93-preso.pdf contains a few intresting points for more cases in whcih accuracy may be an issue. | |
Jul 12, 2017 at 12:30 | vote | accept | Felix S | ||
Jul 12, 2017 at 12:28 | answer | added | PlasmaHH | timeline score: 1 | |
Jul 12, 2017 at 12:22 | comment | added | cx05 | Although the time domain is maybe more educative, such circuits are better simulated in the frequency domain (at least if you don't want to include non-linear effects). | |
Jul 12, 2017 at 11:58 | comment | added | Felix S | Reltol = 1e-6 does indeed fix it. Thanks! Maybe you could write a short answer explaining what this does? | |
Jul 12, 2017 at 11:55 | comment | added | PlasmaHH | In the SPICE settings, try setting Reltol to 0.00001 and try again, that should improve things. You should also add .opt numdgt=15 to force into internal doubles, and maybe lowering the max timestep helps too | |
Jul 12, 2017 at 11:52 | comment | added | PlasmaHH | Another totally unrelated hint: you can specify '.tran 0 {50m+50u} 50m' as a more convenient way to set the transient timings | |
Jul 12, 2017 at 11:51 | comment | added | sstobbe | Start with ac sweep of source v1, you will see where the resonant peak is moving. With near inf Q the peak is very sharp, and the smallest numerical error could throw you off. Try de-Q your tank to more practical values | |
Jul 12, 2017 at 11:51 | comment | added | Andy aka | Could it be that you are just not giving enough time for the sinewave to stabilize at a peak of 1. Lowering C increases the Q and, for a high Q resonant filter you will need possibly hundreds of micro seconds to attain full output voltage (not so with low Q values). | |
Jul 12, 2017 at 11:46 | comment | added | Felix S | You're right, I forgot to include the LTSpice Version. I edited it in the question. I'm using LTSpice XVII. | |
Jul 12, 2017 at 11:45 | history | edited | Felix S | CC BY-SA 3.0 |
added 5 characters in body
|
Jul 12, 2017 at 11:42 | comment | added | PlasmaHH | Besides that it might be useful to specify which ltspice version you use, you need to be aware of that any result you get is only an approximation, be it to the ideal or real behavior. Look in the "SPICE" settings tab, there is a lot of knobs to play around. (note that I haven't checked your calculations) | |
Jul 12, 2017 at 11:35 | history | asked | Felix S | CC BY-SA 3.0 |