![]() ![]() ![]() ![]() ![]() ![]() |
||
![]() |
||
![]() ![]() ![]() ![]() This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc. |
||
![]() |
![]() |
#121 |
Member
|
Dead time is measured from the time the control output changes, the orange line, to the time the system responds.
You have the wrong definition of dead time. There may be multiple dead times in a system but they can be combined into one. I don't agree with quantizing the control output into such coarse steps. Quantizing to steps may work if the update rate was faster. Then this would be like a multi step PWM. A thousand curses on the person that designed this mess.
__________________
"Living is easy with eyes closed, misunderstanding all you see...." Strawberry Fields Forever, John Lennon |
![]() |
![]() |
#122 |
Lifetime Supporting Member
|
@PeterN I understand what you are saying, and agree that, at a minimum, there may be better alternatives to stiction and other backlash and/or hysteresis issues.
But in the actual case the control valve will be initially behind the CV (deadtime), then ahead of the CV ("aheadtime" if you will), then behind, then ahead, etc. So from a practical standpoint, with the obviously much longer time constants in play, that will average out and behave as if deadtime is much smaller than system time constants, and so can be ignored with Td set to zero. |
![]() |
![]() |
#123 | |
Member
|
Quote:
This is the problem. Until you understand what you are controlling you will need to be lucky to get it to work and at least waste a lot of time like on this project.
__________________
"Living is easy with eyes closed, misunderstanding all you see...." Strawberry Fields Forever, John Lennon |
|
![]() |
![]() |
#124 |
Member
|
Did you give up?
__________________
"Living is easy with eyes closed, misunderstanding all you see...." Strawberry Fields Forever, John Lennon |
![]() |
![]() |
#125 |
Lifetime Supporting Member
|
no, I thought I posted a response at least a day ago, but apparently it was lost.
I have no choice but to resort to a Dreaded ASCII Graphic bwahahahahaha! Code:
+---o --1% | / | / |/ + /| / | / | o---+ --0% ^ ^ T=0s T=Ns Obviously there are a lot of unknowns, e.g. does the valve position match the signal, etc., etc., etc. But those are all second-order effects. Given the paucity of information, first-order guesses are the best we have; second-order minutiae are not worth pursuing. Bottom line: yes, there is some small deadtime, but given the large time constant(s) of this system, a Td of 0 will not prevent a tuned system that meets OP's requirement of +/-0.05degC. |
![]() |
![]() |
#126 | |
Member
|
Quote:
If you can't get this right there is no hope.
__________________
"Living is easy with eyes closed, misunderstanding all you see...." Strawberry Fields Forever, John Lennon |
|
![]() |
![]() |
#127 | ||
Lifetime Supporting Member
|
No, you are not ...
Quote:
Quote:
Cf. Post #119: to my finely calibrated eyeball, from the dynamics of the orange and blue lines immediately after the white vertical bar it is impossible to identify lag vs. deadtime; even if the latter, it cannot be more than a quarter-hour, so please justify how that is called "huge," given the obvious size of the time constant. Are you sure you are not swapping Direct- vs. Reverse-acting? |
||
![]() |
![]() |
#128 |
Member
|
There is no hope or help until you figure out what dead time is.
__________________
"Living is easy with eyes closed, misunderstanding all you see...." Strawberry Fields Forever, John Lennon |
![]() |
![]() |
#129 | |
Lifetime Supporting Member
|
Quote:
I've known what deadtime is for over 40y. The question here is not if there is any deadtime in this process; of course there is. The question is whether it is significant enough to need to be compensated for via the PIDE parameters. Last edited by drbitboy; February 25th, 2021 at 09:51 PM. |
|
![]() |
![]() |
#131 |
Member
![]() ![]() Join Date: Feb 2021
Location: Alberta
Posts: 28
|
I have an updating on my tuning process.
After messing with a lot a parameters I found that (at least with the AB PIDE) that derivative control is not required for this process. A PI controller is all that is necessary. This is a graph over 24 hours with the following parameters. Red = Setpoint (12°C) Upper Blue = Lower Temperature Lower Blue = Lower Valve Position Upper Purple = Upper Temperature Lower Purple = Lower Valve Position P = 60 I = 120 D = 0 My output is quite noisy but this it within acceptable levels. Keep in mind this small picture contains 2880 data points per pen line. One interesting thing I find across all my tanks is that the output of the valves roughly follows the temperature instead of lagging like it was before. The next big test is to see how the PID or more effectively the PI reacts to a large temperature change and if it can predict adequately to not overshoot. Your guys' input has been extremally valuable but i'm still open to suggestions on how to improve on this. |
![]() |
![]() |
#132 |
Member
![]() ![]() Join Date: Feb 2021
Location: Alberta
Posts: 28
|
Here is another one over a 2 hour time period. Same parameters same pen legend.
|
![]() |
![]() |
#133 | ||
Lifetime Supporting Member
|
Quote:
Try P=50, I=60, as @Mispeld suggested. Quote:
How can Lower Blue and Lower Purple be the same thing (Lower Valve Position)? Is there more than one valve? Are these actual valve position(s), or are they the post-processed (rounded, clamped) PID output CV signal sent to the valve(s) Last edited by drbitboy; February 26th, 2021 at 09:26 PM. |
||
![]() |
![]() |
#134 | |
Member
|
Quote:
1. Continue trial-and-error tuning with limited information available. As noted, the second set of results now showing PV and CV in phase implies a shift from integral-dominant to proportional dominant. Improvement is likely possible within the current operating window of the CV. 2. Investigate and improve the control valve situation. a) If the root cause of unreliable operation cannot be fixed, then consider a deadband-like algorithm on the CV output instead of the round-to-one-percent strategy. b) Characterize the value flow at typical coolant operating pressure. Then linearize the flow vs. CV response with an inverse or stepwise compensation function after the PIDE. 3. Increase process understanding to guide incremental tuning decisions. a) Run in manual at fixed output, as long as safety- and cost-wise possible, to get insight on the nature and source of process disturbances. b) If step 3a demonstrates an inherently stable process (i.e., PV basically flatlines when CV flatlines), introduce a reasonable open-loop (manual mode) step change in the CV to observe PV response. This will take a lot of patience for the slow process, but can be a gold mine of information for modeling, simulation, and tuning under the assumption of little or no external influence during the step test. c) Develop a first principle model for the process such as can be used in simulation and computational tuning techniques. 4. Install instrumentation to better understand the process and potential disturbances. For example, a flow/temperature device on the coolant supply line to measure flow linearity and source temperature stability under normal and test conditions. Keyence makes a clamp-on for flow and pipe temperature that should be fine with diluted glycol. (I have good experience with Keyence products, but their sales tactics not so much.) 5. Determine from the "process owner" the required control system performance. Additional action is a cost in time and possibly equipment. Does potential improvement in process yield justify more spending? This will give you a budget. There should be an objective goal to reach in terms of a control system performance measurement (e.g., error range, error std dev, integrated error).
__________________
"The greatest enemy of knowledge is not ignorance, it is the illusion of knowledge." -Stephen Hawking Last edited by Mispeld; February 27th, 2021 at 01:50 PM. |
|
![]() |
![]() |
#135 | |
Member
![]() ![]() Join Date: Feb 2021
Location: Alberta
Posts: 28
|
Quote:
Sorry that was a typeo it theres is an upper and lower jacket valve. I tried p 35 and I 60 and the reaction was still to slow. It seems that the higher the I the more reactive the CV, however this does also produce a lot of noise on PV change. |
|
![]() |
![]() |
Bookmarks |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
NOP instruction | foremanml | LIVE PLC Questions And Answers | 26 | September 8th, 2014 04:40 PM |
Sample Time of the PID ISA | jcp | LIVE PLC Questions And Answers | 20 | March 10th, 2012 02:29 AM |
S7200 Siemens PID Control with dead time | Espartaco | LIVE PLC Questions And Answers | 10 | April 21st, 2011 06:18 AM |
Cascading | Sparky | LIVE PLC Questions And Answers | 24 | February 17th, 2003 12:33 PM |
Trying to find a website | ganutenator | LIVE PLC Questions And Answers | 9 | January 5th, 2003 04:06 PM |