Please take a minute to review and accept our Terms of Use.
Welcome to the PLECS User Forum, where you can ask questions and receive answers from other members of the community.

Many technical questions regarding PLECS are answered on the Technical Solutions page of our website. Tutorial videos, specific application examples, and pre-recorded webinars are available on our YouTube page. Please follow us on LinkedIn for the latest Plexim news.

transfer function problem (AC sweep analysis)

0 votes
52 views
Hi

I'm simulating the tf of a thermal system, single pole RC filter with tau=2000. But the small signal model seem incorrect, the DC gain is infinite.

If I test the same with tau=10 everything is fine
asked Jul 9 by tinivella (69 points)

1 Answer

+1 vote
 
Best answer

PLECS is running into numerical truncation problems due to your choice of parameters:

  • large DC offset, i.e. your filter input (1330)
  • large time constant (2000)
  • very small "Rel. perturbation for Jacobian" in the "Steady-State Options" of the AC Sweep (1e-6)

As a consequence, when PLECS tries to linearize the model, it gets a plain 0 for the Jacobian matrix.

If you increase the "Rel. perturbation for Jacobian" to 1e-4 (which is the default), you will get the expected result. But if you then also increase the filter input or the time constant by a factor of 100, you will run into the same problem again. 

answered Jul 10 by Wolfgang Hammer (322 points)
selected Jul 10 by tinivella
ok thanks, anyhow this affect only the AC model not the time domain right?
Correct. This particular truncation problem occurs during the linearization of the model, which is specific to the AC analysis. A normal transient simulation is not affected by this.
...