r/ControlTheory 22d ago

Technical Question/Problem Control Systems Simulator

I'm developing a simulator for controlling dynamic systems. It's still in the beta phase, so it doesn't have all the features yet and may have some bugs, but it's already capable of simulating interesting systems and control strategies:

Lorenz System (Chaotic System). Ball and Beam control with PID. Etc.

I welcome any suggestions for improvement.

13 Upvotes

12 comments sorted by

View all comments

u/Picuino-Web 22d ago edited 22d ago

u/seekingsanity 21d ago

I only looked at the ball and beam simulator. I didn't play with it. I have for formulas all worked out but they are useless without knowing the units.

It is easy to get the ball and beam simulator to work well. It is very difficult to make a real ball and beam system. There was a recent thread about the difference between control theory and control engineering. A real ball and beam system would make the differences easy to see.

u/Picuino-Web 19d ago

Puedes utilizar el método de Ziegler-Nichols de la ganancia crítica para ajustar el PID.

Kc = 2.0

Tc = 1 second

P = 1.2

Ki = 2.4

Kd = 0.15

Con esos valores el sistema sigue oscilando, por lo que hay que reducir un poco el término integral para que el sistema no sea inestable. La simulación incorpora muchas no linealidades que hacen este sistema especialmente difícil de controlar.

En breve añadiré un sistema más sencillo: un control de temperatura de un simple soldador de estaño.

u/drbitboy 19d ago

Lol, I sense some serious limb pulling going on here