![]() ![]() ![]() ![]() ![]() ![]() |
||
![]() |
||
![]() ![]() ![]() ![]() This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc. |
||
![]() |
![]() |
#16 |
Lifetime Supporting Member
|
The gains came up negative in the spreadsheet because the Kp eXcel formulae in row 45 used (U44-U43) as a divisor, where U44=CO2=0 and U43=CO1=100, but there could still be summat amiss in the numerator.
__________________
_ Brian T. Carcich i) Take care of the bits, and the bytes will take care of themselves. ii) There is no software problem that cannot be solved with another layer of indirection. iii) Measurement is hard. iv) I solemnly swear that I am up to no good ![]() v) I probably have the highest ratio of forum posts to actual applications in the field (but no longer ∞ ![]() vi) Hakuna matata. vii) Bookkeeping. viii) But I should be ignored. |
![]() |
![]() |
#17 |
Member
![]() ![]() Join Date: Sep 2020
Location: Midwest
Posts: 78
|
10% Data.
It's not the best. Damn thing just kept going. I wanted to convince myself that it was approaching its asymptote soon.... https://github.com/TTControls/Heater...tResponse.xlsx |
![]() |
![]() |
#18 |
Lifetime Supporting Member
|
Try 1%; it looks like it will take a long time to be stable.
It may effectively be an Integrating (Non-Self-Regulating) Process: it is a thermal capacitor (tank) and the heating element is adding heat, the accumulation of which is measured by temperature.
__________________
_ Brian T. Carcich i) Take care of the bits, and the bytes will take care of themselves. ii) There is no software problem that cannot be solved with another layer of indirection. iii) Measurement is hard. iv) I solemnly swear that I am up to no good ![]() v) I probably have the highest ratio of forum posts to actual applications in the field (but no longer ∞ ![]() vi) Hakuna matata. vii) Bookkeeping. viii) But I should be ignored. |
![]() |
![]() |
#19 | |
Member
|
NO,NO,No,NO,NO,NO,NO!!!!!!!!!!
Quote:
If the heat is taken away the system will return to ambient temperature. This is control basics 101. There are non-integrating ( type 0 ) and integrating systems and you should be able to tell the difference. Velocity and temperature systems are non-integrating ( type 0 ) systems because when the power is taken away they return back to a steady state. Temperature systems return to the ambient temperature and velocity systems slow to 0 velocity. Level and position control systems are integrating systems. Level control integrates the difference between the inflow and the outflow. Position control systems integrate velocity.
__________________
"Living is easy with eyes closed, misunderstanding all you see...." Strawberry Fields Forever, John Lennon |
|
![]() |
![]() |
#20 |
Lifetime Supporting Member
|
yeah, dunno what I was thinking.
__________________
_ Brian T. Carcich i) Take care of the bits, and the bytes will take care of themselves. ii) There is no software problem that cannot be solved with another layer of indirection. iii) Measurement is hard. iv) I solemnly swear that I am up to no good ![]() v) I probably have the highest ratio of forum posts to actual applications in the field (but no longer ∞ ![]() vi) Hakuna matata. vii) Bookkeeping. viii) But I should be ignored. |
![]() |
![]() |
#21 |
Member
![]() ![]() Join Date: Sep 2020
Location: Midwest
Posts: 78
|
Gents, thank you for your time.
Here's a 1% step. I think this is all the time I can afford on the matter. I'm going to see how well these gains work and post the results just for fun. https://github.com/TTControls/Heater...tResponse.xlsx This is the PID for reference. https://github.com/TTControls/PID/blob/master/PIDFFwPWM |
![]() |
![]() |
#22 | |
Lifetime Supporting Member
|
Quote:
https://www.youtube.com/watch?v=ujUfZ3tH1gQ&t=23s
__________________
_ Brian T. Carcich i) Take care of the bits, and the bytes will take care of themselves. ii) There is no software problem that cannot be solved with another layer of indirection. iii) Measurement is hard. iv) I solemnly swear that I am up to no good ![]() v) I probably have the highest ratio of forum posts to actual applications in the field (but no longer ∞ ![]() vi) Hakuna matata. vii) Bookkeeping. viii) But I should be ignored. |
|
![]() |
![]() |
#23 |
Member
![]() ![]() Join Date: Sep 2020
Location: Midwest
Posts: 78
|
Ha!
|
![]() |
![]() |
#24 |
Member
![]() ![]() Join Date: Sep 2020
Location: Midwest
Posts: 78
|
I'm going back to my old code that uses error windows for a defined diminishing output. As well as when error is negative and rate of PV is negative the ssr will output some. Clamping the output at 0 or 100 and waiting for error to flip is not looking good. Where is my high gain, zero lapped spool that never saturates...
|
![]() |
![]() |
#25 |
Member
![]() ![]() Join Date: Sep 2020
Location: Midwest
Posts: 78
|
Damnit all to hell I have a hard time giving up.
To counter act the error +/- flip being the thing that unclamps the CO min/max, tossing velocity into the calc seems like the thing to do. Only when trying to hold steady state. When ramping up this will not work. Does this seem right? if Error > 0 and Error < 10 ITerm := IGain*Error*Velocity*-1; elsif Error < 0 then ITerm := IGain*Error*Velocity; else ITerm := IGain*Error; end_if; |
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Velocity Control PID in CompatLogix | PatrickH | LIVE PLC Questions And Answers | 65 | June 9th, 2020 08:59 PM |
Heating and cooling commands calculation | g.mccormick | LIVE PLC Questions And Answers | 2 | October 13th, 2016 03:23 PM |
PID - what is it anyway? | Ron Beaufort | LIVE PLC Questions And Answers | 21 | November 25th, 2014 08:36 PM |
Ladder Units | tomizzo11 | LIVE PLC Questions And Answers | 3 | August 30th, 2013 12:18 PM |
PID with an electrical heater??? | RPax | LIVE PLC Questions And Answers | 9 | July 7th, 2010 11:50 AM |