PID Loop Simulation

PID Loop Simulation - Сообщения

#1 Опубликовано: 14.12.2012 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 КиБ) скачан 102 раз(а).
#2 Опубликовано: 14.12.2012 21:30:52
Martin Kraska

Martin Kraska

1222 сообщений из 2150 понравились пользователям.

Группа: 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 КиБ) скачан 95 раз(а).
Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
1 пользователям понравился этот пост
Fridel Selitsky 15.12.2012 05:31:00
#3 Опубликовано: 15.12.2012 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
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений