>Then I tried the .TRAN analysis also with L=2.2e-3H.
>Yes, the current was wrong. I couldn't believe that the numerical precision
>is so bad.

Signature
"Windows [n.], A thirty-two bit extension and GUI shell to a sixteen bit patch
to an eight bit operating system originally coded for a four bit
microprocessor and produced by a two bit company."
> >Then I tried the .TRAN analysis also with L=2.2e-3H.
> >Yes, the current was wrong. I couldn't believe that the numerical precision
[quoted text clipped - 4 lines]
> it a fault of the simulation package you're using, or was it temporary
> carelessness on your part (highly unlikely I willingly concede) :-)
Hello Paul,
The problem was not the simulator(LTSPICE) in this case.
"To err is human."
> What can be done to avoid this problem?
I would simulate only with the .TRAN analysis if the time domain is
really necessary. This is the case for example, if someone is
interested in the nonlinear behaviour of a circuit.
The .AC simulation is much easier for the simulator. It has to solve
only a set of linear equations. This can be done with very high accuracy.
> Does it only occur with xtal simulations?
The simulator has to solve numerically a set of differential equations
in the .TRAN analysis. This cannot be done crrectly when the derivative
of a signal is only roughly estimated by too large timesteps.
Especially all circuits with very narrow bandwidth compared to their
center frequency must be calculated extemely precise. Any small error
in the simulated period results in a big amplitude error, because
of the steep filter slope.
Think of a crystal filter where your applied frequency is something
off the crystal center frequency. This will result in a large
amplitude error.
The timestep is critical with any circuit having a filter with
high Q(uality factor).
Best Regards,
Helmut