1 Pages (3 items)
PID Loop Simulation - Messages
#1 Posted: 12/14/2012 3:58:28 PM
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 KiB) downloaded 125 time(s).
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 KiB) downloaded 125 time(s).
#2 Posted: 12/14/2012 9:30:52 PM
WroteHello 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 KiB) downloaded 118 time(s).
Martin Kraska
Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
1 users liked this post
Fridel Selitsky 12/15/2012 5:31:00 AM
#3 Posted: 12/15/2012 6:08:21 PM
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
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
1 Pages (3 items)
-
New Posts
-
No New Posts