![]() ![]() ![]() ![]() ![]() ![]() |
||
![]() |
||
![]() ![]() ![]() ![]() This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc. |
||
![]() |
![]() |
#76 |
Member
![]() ![]() Join Date: Jul 2022
Location: FrozenHell
Posts: 214
|
|
![]() |
![]() |
#77 | |
Lifetime Supporting Member
|
Another Hail Mary
Quote:
However, if the linkages in the valve positioner are worn, then the positioner adds hysteresis (backlash) into the system. One possible, possible (and temporary) solution might exist if the valve postioner has a bypass lever. A valve positioner bypass would send the [Controller Pressure] directly to the [Actuator Output], taking the [Pilot Relay] and its worn positioning linkages out of the process. The I-to-P transducer's output pressure would then directly control the [Valve Actuator] position, which would only improve the situation if any stiction in the final Valve Actuator has less of an effect than any backlash in the Valve Positioner mechanism. One problem with this is that OP said there is no feedback of the valve position, so maybe the pilot valve is not a valve positioner. Or it could be that OP means there is no available electronic feedback of the valve position to the SLC. That's a lot of IFs ...
__________________
_ 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. |
|
![]() |
![]() |
#78 |
Member
|
@drbitboy, Rube Goldberg would be proud.
If what you show is the case, there can be no hope for precision. Our controllers have controlled valves that use air to move pistons that control the flow of steam to turbines. That is much simpler than what you have drawn. Anyway, I am sitting back eating pop corn watching this unfold after #77 posts. There are much simpler ways to control pressure. A small electronically controlled valve would do.
__________________
"Living is easy with eyes closed, misunderstanding all you see...." Strawberry Fields Forever, John Lennon |
![]() |
![]() |
#79 |
Lifetime Supporting Member
|
Yes, I am well aware. But the OP has the system they have, and there may be no budget for hardware. I hope the insanity of a backlash model, while simple to implement, will instead convince them to fix the hardware. Also note, if the system does have a pneumatic valve positioner, that the bypass lever trick has worked at least twice during my career (not me, someone else did it) to both eliminate violent cycling of Very Large Valves (oil refinery furnace) and convince the plant to fix the positioner.
__________________
_ 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. |
![]() |
![]() |
#80 | |
Lifetime Supporting Member
![]() ![]() Join Date: Feb 2011
Location: BC, Canuckistan
Posts: 332
|
Quote:
|
|
![]() |
![]() |
#81 |
Member
|
Believe it or not, it can be a broken ring on the spring, even often these are as big as a suspension spring of a car they do break, had many of them, if the break is just one coil from either end then it can cause a similar symptom to backlash (often compressing & slipping past next ring), other problems are a perforated diaphram, that too can cause problems these springs are quite brittle, although you think 20 to 120 psi would not break the spring the constant movement of PID will. worth a look, but the age of that valve probably have problems finding a new spring.
|
![]() |
![]() |
#82 | |
Lifetime Supporting Member
![]() ![]() Join Date: Feb 2011
Location: BC, Canuckistan
Posts: 332
|
Quote:
|
|
![]() |
![]() |
#83 |
Lifetime Supporting Member
![]() ![]() Join Date: Feb 2011
Location: BC, Canuckistan
Posts: 332
|
Another pressure cycle, this time with P=5.0, I=0.5, D=0.0 and update time is 1.00 seconds. Some interesting changes in the control output which do correspond to small changes in the tank (not the pressure vessel) level (where the pressure pump supplies pressure from). Overshoot is better, only about 7 to 10 psi above setpoint this time.
|
![]() |
![]() |
#84 |
Member
|
It was just a thought, the first one we had, did not look at any trends (original Scada developer never included any), we replaced the valve & problem solved, stripped the old valve & found the spring broke, ordered some new springs & diaphrams, over the years had a few broken springs, some perforated diaphrams etc. Also had a pump that caused a similar fault, however, I was not involved in that one, they replaced the pump & the VFD, did not find which was the problem as the engineers dumped the VFD & sent the pump away for re-furbish due to slight leak on mechanical seal.
|
![]() |
![]() |
#85 |
Lifetime Supporting Member
![]() ![]() Join Date: Feb 2011
Location: BC, Canuckistan
Posts: 332
|
This is a capture from the same pressure cycle as above, so same settings. Seeing a bit of oscillation in the output and process variable, does this indicate an unstable PID?
|
![]() |
![]() |
#86 | |
Lifetime Supporting Member
|
Quote:
For example, just after 12:35, the pressure, which had been essentially constant at setpoint for half a dozen minutes, shows a small increase above setpoint for maybe a dozen seconds; perhaps that was caused by a change in the feed tank that raised the pump suction pressure. Whatever the cause, the control output opened the valve to compensate for that change in pressure, and the pressure dropped almost immediately to a value just below setpoint, which canceled the brief control output increase and resulted in a steady decrease in the control output that lasted for a few minutes. The important thing to note is that the pressure immediately stabilized again, i.e. stayed at a constant value, almost immediately after the control output stopped increasing, and stayed at a constant value even as the control outptut continued to decrease (1) well below the control output value where the pressure was previously steady, and (2) much farther below that previous control value output than the brief excursion above that previous value. If the controller output value represented the actual valve-open position, i.e. if the valve was actually closing as the control output value decreased, then the pressure would have started to increase again within seconds of when the control output value started to decrease. In fact, immediately after 12:35:23, we see the pressure decreasing while the control output value is also decreasing. One obviously incontrovertible conclusion that must be drawn from these data is that the control output value cannot be considered a reliable proxy for the actual control valve position. We don't have enough information to definitively pinpoint the reason for the disconnect between the PLC control output and the actual valve position, but Occam's Razor points to backlash (hysteresis). And as long as there is significant hysteresis in the valve positioning system, there is no way to eliminate the overshoot; the best that can be hoped for is to play around the edges by using trial and error to empirically tune the PID to an acceptable minimum magnitude of overshoot. Anyway, to get back to the question posed in the original post of this thread, there is nothing wrong with the PID: the PID is functioning 100% correctly as it is designed to function; the PID is not the cause of the overshoot. The cause of the overshoot is external to the PID and to the PLC, and is instead in the process itself. If you have any doubt about this, try the following experiment:
__________________
_ 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. |
|
![]() |
![]() |
#87 | |
Lifetime Supporting Member
|
Quote:
That behavior indicates backlash or some other form of hysteresis in the process. _
__________________
_ 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. |
|
![]() |
![]() |
#88 |
Lifetime Supporting Member
|
Here is the PID equation from the SLC Instruction Set manual: https://literature.rockwellautomation.com/idc/groups/literature/documents/rm/1747-rm001_-en-p.pdf#G13.1041550
Here is the same thing in a discrete form, equivalent to how the SLC 5/05 PID is behaving in your process at each PID loop update: https://literature.rockwellautomation.com/idc/groups/literature/documents/wp/logix-wp008_-en-p.pdf#page=1 PIDs are about time. At each loop update time N+1, the PID looks at BOTH its state stored from the previous update time N, AND its current process variable measurement PVN+1, and based on those inputs it updates its controller output CVN+1, along with its internal state for the next loop update time in the future. It takes no more than simple arithmetic, pencil and paper to apply those equations to a process with CV-to-valve hysteresis and predict the behavior seen in the latest sawtooth-trend image. PID is a form of feedback loop. Application of the PID and its equation to control a process assumes that, when the PID changes its control output value CV, that something in the process changes. If there is hysteresis between the control output value CV and that something in the process that the CV is supposed to drive, then that assumption is false. That is what we are seeing here.
__________________
_ 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. |
![]() |
![]() |
#89 |
Member
|
I don't didn't have enough popcorn for this thread. I have one more bag.
__________________
"Living is easy with eyes closed, misunderstanding all you see...." Strawberry Fields Forever, John Lennon |
![]() |
![]() |
#90 | |
Member
![]() ![]() Join Date: Jul 2022
Location: FrozenHell
Posts: 214
|
Quote:
2. Just list to yourself what you have done in the last couple of weeks that is helpful in solving your problem: examined a valve, examined any other components of your system, posted data on the forum that could help us give you a hint on solving your problem... 3. I asked about the scaled-up PV curve. Is it available? |
|
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
PID Position to Velocity Equation Tuning Parameter Conversion | JLand | LIVE PLC Questions And Answers | 7 | January 18th, 2022 05:15 PM |
SLC 5/05 Communication Problem with Serial Port.. | pranav.mistry003 | LIVE PLC Questions And Answers | 2 | August 23rd, 2012 03:41 PM |
Reading L32E with SLC 5/05 | 24fretslater | LIVE PLC Questions And Answers | 7 | February 23rd, 2012 11:26 AM |
Control Slc 5/04 PID | The Plc Kid | LIVE PLC Questions And Answers | 1 | August 6th, 2009 03:41 PM |
SLC 5/05 PID Time Mode Question | Dwarfer1 | LIVE PLC Questions And Answers | 7 | December 15th, 2004 04:52 AM |