Use a PID?

MarBa

Member
Join Date
May 2003
Location
West Bend IA
Posts
2
I have been doing some reading on this site and a few other on PID. I am doing research for a current project and am not certain if I should use a PID or not. (If so I have a few lingering questions as to how to handle the I/O of the PID.) I've never used PID before but am learning all I can before comitting to use/not use it. A person can only read so much before they need input from experience to make sense of it all.
Here is what I've got and what I'm planning:
I've got a steam boiler connected to a 200gal mixing tank with an air actuated valve on the steam inlet to the tank. The tranducer is 4-20mA. I'm using a 100ohm RTD to get my temp reading from the tank back to my PLC. The PLC is AB MicroLogix 1500 24AWA with CompactI/O RTD module. I'm using RSLogix500 Standard for the ladder. I've also got a touch panel for HMI.
We are going to make frosting and then package it for shipping with our main product. The process is fairly simple-> add ingredients, start mixing and heat. Bring to boil for 3 minutes then reduce heat and add another ingredient before mixing for 10 minutes then dump the batch to the packing machine and start a new batch of the same. All ingredients (mostly water) will be put into the tank manually.
Here is why I wonder about if PID fits this, I could shut off the heat for the last ingredient and mix time, then turn it on again for the next batch. The arguments for PID right now is that I run risk of burning the mix (lots of sugar in frosting!)with just on and off heat where PID is letting me set a goal temp and automating the 3min boil timer more easily I think. What do you think??
I currently have a few rungs done trying to use PID block and have some question on what is acceptable methods. I wonder if I can use my RTD input address in the PV and the tranducer output address in the CV? I've seen only examples using integer data files and then moving the data from and to the Inputs and Outputs. If it is not acceptable practice to use I/O addresses in the PID block can I use BTR and BTW instead of a series of MOVs to accomplish this? What happens when I finish my 3 min timer and set the PID rung false? won't that keep the CV at current and I would in effect stay at the same output pressure? I can switch AM bit in the PID Block instead of going false rung state, but do I gain anything by doing it that way?

Well you can see that I know just enough here to be pretty dangerous with the PID. I'm not looking for to solve the program or write it but I'd really like to see examples of code using PID in similar fashion to what I'm trying. Most of what I've seen are for very fast updates to the loop or presetting how long the loop runs based only on time for motion control. I'll deal with the tuning later as there is a TON of info on how to out there, and the steam boiler folks will help us do that. I know there are some real experts who participate here, so I am looking forward to their replies and am thankful for their help in advance!

If I'm not clear on something it may be ignorance on my part as I'm still learning everyday, just ask for it and I'll TRY to clearify.
Thanks again.
 
Good question.

MarBa said:

Bring to boil for 3 minutes.

I one adds heat at a faster rate the water will just boil faster. The temperature will still stay at about 212 degrees F. Would good will the PID do? Can you measure the pressure of the steam? If the pressure of the steam builds then you know you are boiling the mix faster than you need to. In addition to controlling the temperature I think you need to control how much water is boiled away so that final product has consistent water content from one batch to another.

I don't think this is a PID problem yet. I think this is a sensor/ process engineering problem. I would think the goal is to boil the mixture, but not too quickly. There a probably other people here that can tell you how to do this in an industry acceptable way of the top of their head. Also see sci.engr.control. There are a lot of process people there.
 
I'm guessing you are using super heated steam, otherwise you wouldn't be able to burn the frosting.

It looks to me like you have two problems that you can address separately. The first is the initial heating, which isn't really a function for PID. Then you have to maintain temperature for a set period. This is often called "ramp and soak".

You chould simply open the steam valve and then initialize and start on your PID control loop once you got to a certain temperature. However, since it doesn't sound like you need dead nuts precision, I would suggest emulating a simple thermostat control. You have a dead band, and when the temp is within it you shut the steam valve. If the temperature drops below the "safe" zone open the steam valve. You don't indicate if the steam control is proportional or on/off. If it is proportional you can enhance the control with several diferent %open settings depending on how far off spec the temp is.
 
Thank you Peter. You are correct in your statement:

I would think the goal is to boil the mixture, but not too quickly.

This is what turned me to look at PID or PI. I'm still thinking to use a step proccess is better. It would be slower startup but maybe a better fit for the system. I will check out the link you mentioned.

Tom thank you as well. I can also set a max pressure from the steam valve that would keep me out of danger of over-burning. I only worry about shocking the tank with an ON-OFF if an operator is not watching closely in the first run of the day (early morning). I could get around the shock problem by an open valve when the steam boiler starts up too. Good point about using proportional settings. I did not mention the valve is single seat unbalanced. I like the idea of a thermostat approach. Simple and clean. I subscribe to the K.I.S.S. method often.

I'll keep researching my options and now I'll have more to "look into" for a while. If anyone else has an idea or how they've done it in the past, I'd appreciate the post. ( I know we are not the only ones ever to do this process. ) Thanks again.
 

Similar Topics

I have S7 1512C controler for controlling 48 PID temperature loop, the output is PWM. Please I need the best, most efficient way to write the...
Replies
5
Views
214
Hi all, I'm having trouble solving a problem I've been working on for several months, and thought you might like a stab at it. The machine runs...
Replies
22
Views
843
How can I connect PID Output to a valve. In ladder logic program is there any logic do I want to add between valve and PID? PV=SP What will be the...
Replies
7
Views
384
I'm setting up a PID for a 50hp RO pump in a water treatment plant. When I go to manual mode on hmi I set the swm bit, I also ons the pid output%...
Replies
5
Views
524
I am setting up control for Hypochlorite dosing. The easy part is the dosing calculation for flow pacing but I would also like to setup trimming...
Replies
8
Views
890
Back
Top Bottom