You are not registered yet. Please click here to register!


 
 
plc storereviewsdownloads
This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc.
 
Try our online PLC Simulator- FREE.  Click here now to try it.

New Here? Please read this important info!!!


Go Back   PLCS.net - Interactive Q & A > PLCS.net - Interactive Q & A > LIVE PLC Questions And Answers

Reply
 
Thread Tools Display Modes
Old May 2nd, 2003, 04:55 PM   #1
MarBa
Member
United States

MarBa is offline
 
Join Date: May 2003
Location: West Bend IA
Posts: 2
Use a PID?

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.
  Reply With Quote
Old May 2nd, 2003, 11:03 PM   #2
Peter Nachtwey
Member
St Kitts and Nevis

Peter Nachtwey is offline
 
Peter Nachtwey's Avatar
 
Join Date: Apr 2002
Location: No income tax, no capital gains tax. Freedom!
Posts: 8,305
Re: Use a PID?

Good question.

Quote:
Originally posted by MarBa

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.
  Reply With Quote
Old May 3rd, 2003, 12:52 PM   #3
Tom Jenkins
Lifetime Supporting Member
United States

Tom Jenkins is offline
 
Tom Jenkins's Avatar
 
Join Date: Apr 2002
Location: Milwaukee, WI
Posts: 6,277
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.
  Reply With Quote
Old May 5th, 2003, 11:19 AM   #4
MarBa
Member
United States

MarBa is offline
 
Join Date: May 2003
Location: West Bend IA
Posts: 2
Thank you Peter. You are correct in your statement:

Quote:
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.
  Reply With Quote
Old May 8th, 2003, 10:31 PM   #5
BobB
Lifetime Supporting Member
Australia

BobB is online now
 
BobB's Avatar
 
Join Date: Jun 2002
Location: Sydney
Posts: 4,535
Talking

Try here.
PID Tuning Tips
beerchug
  Reply With Quote
Reply
Jump to Live PLC Question and Answer Forum


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Topics
Thread Thread Starter Forum Replies Last Post
PID - A challenge, is a PID good enough? Peter Nachtwey LIVE PLC Questions And Answers 21 June 26th, 2019 06:14 AM
Modicon PID Loops rgive LIVE PLC Questions And Answers 6 August 25th, 2009 05:20 PM
PID, which one is in your PLC? Peter Nachtwey LIVE PLC Questions And Answers 8 July 29th, 2004 01:33 AM
how often should I trigger the PID? Ron Beaufort LIVE PLC Questions And Answers 11 February 22nd, 2003 12:57 PM
Cascading Sparky LIVE PLC Questions And Answers 24 February 17th, 2003 01:33 PM


All times are GMT -4. The time now is 04:08 PM.


.