I tried to simulate a Laplace function of a PID controller with LTspice in the time domain, but an error message appears "The laplacian is singular at DC".

cs1 is the controller, so I just have a unit jump (Ugen) + controller (cs1)
with KP=0.9995594504821; KI=0.0000772197554; KD=0.00540381443834925; Tp=KD/100
1/s, which indeed can cause problems. If so, the solution is to add a pole way up, somethig like1/(s+1p). However, this means thatLaplaceexpressions are used, and they are known to be problematic in.TRAN. – a concerned citizen Jul 02 '20 at 10:291prefers to1 pico, as in1e-12, which means you'll have a pole in the hundreds of GHz region. I can't see how that could affect your results in a meaningful way. And, yes, for Laplace expressions this trick is common. – a concerned citizen Jul 02 '20 at 12:42