Industry Online Support
Technical Forum
7/24/2013 7:55 PM | |
Posts: 113 Rating: (22) |
I know that Pegaia programmed PID Lean but I have a couple of problems. He programmed using Ladder, not his fault, it was all that was available at the time. The Database structure is completely different to the Siemens PID Compact, so you can't just unhook the Siemens version and plug in PID Lean. And finally some of the input data types are different to the Siemens version, so you have to add Conversions. So I decided to have a go myself. Attached is PID More Compact. It is written in SCL which makes the formulas a lot easier to follow, I have also given references to the source material. Wherever possible the database members that it needs are a subset of PID Compact. The Input/Output use the same data types as PID Compact with the I value in the same range. I have added a simple Deadband, it seems to be simpler than others that I have seen but still seems to work OK. From my point of view the most important difference between PID Compact and PID More Compact is that you can change Gain etc whilst the controller is active. It isn't fully tested but I have been using it without problems for a couple of weeks in a speed control application. If you spot errors or have bright ideas for improvements then please post here and I will add them to the original. AttachmentPID More Compact.zip (513 Downloads) |
8/21/2014 9:50 AM | |
Joined: 9/1/2005 Last visit: 12/3/2024 Posts: 4114 Rating: (195) |
new question published by Sarfraz Bhattiis split to a seperate thread with the subjectexample of Heater Circuit PID control with PWM output for SSR. Best regards CS Moderator |
My Forum is the place to personalize your profile, |
|
Follow us on