PID Loop Simulation

PID Loop Simulation - 消息

#1 已发布: 2012/12/14 15:58:28
Gerry_Bush

Gerry_Bush

12个赞,共14个帖子。

组: User

Hello Everyone,

I have been using SMath Studio for a while now and have recently created a simulation of a control loop consisting of a first order process with deadtime and a PID controller.

I have tried to recreate an example I found in an Excel spreadsheet here.

What I have done seems to work, but I am wondering if there would be a better way to achieve the same results.

Does anyone have any improvements they can suggest?

Thank you.

Gerry Bush
PID_test.sm (50.75 KiB)已下载 1592 次。
#2 已发布: 2012/12/14 21:30:52
Martin Kraska

Martin Kraska

1,362个赞,共2,276个帖子。

组: Moderator

Wrote

Hello Everyone,

Does anyone have any improvements they can suggest?

Thank you.

Gerry Bush



You might consider transforming your system to a first order ODE system and using the plugin ODESolvers, Examples

I used the Runge-Kutta solver for non-linear dynamics (simple example attached)

Don't know if it would be an improvement, at least it is an alternative.

RK.sm (21.76 KiB)已下载 1589 次。
Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
1位用户喜欢此帖子
Fridel Selitsky 2012/12/15 05:31:00
#3 已发布: 2012/12/15 18:08:21
Gerry_Bush

Gerry_Bush

12个赞,共14个帖子。

组: User

Hi mkraska,

Thank you for your reply and your example.

I think I will try what you suggest. I have not used the ODESolvers plugin before so it will be a chance to learn something else.

Best regards,

Gerry_Bush
  • 有新帖
  • 无新帖