Jump to content

Recommended Posts

Hi,

what is the best way with the PID FB (auto tuned) to implement a regulation with "heat and cold" i mean with two physical output one to made the measure grow the other that helps the measure to decrease ?

For now i set the CV low to -1000 and the CV high to +1000 and done some code to activate each output via two PWM FB ... Is it the right way? is thre another better method?

Thank you

Olivier

Link to comment
Share on other sites

Hi olivier & Emil,

Attached is subroutine, in this subroutine it controls one zone of a barrel that has a screw in it (Plastic Molding Machine), it does both heating and cooling and works very well.

It does not use the PID.

Deke

I was unable to upload a file with the extension vlx, which is the exported subroutine file, so I had to make a new app with just that subroutine in it.

  • Upvote 1
Link to comment
Share on other sites

What is your system? Why you want to perform heating and cooling?

To control a temperature I would imagine. Like with a 2 way heat exchanger. Steam and condensate piped in one way, cold water and drain the other way. Holds temperature to a setpoint like heating 2000 gallons of liquid to 200 deg F and then hold it there without going over for a period of time, them bring the temperature down in steps or b a ramp to 100 degreees F and hold it there, then cool it down to 70 degrees F and hold it there. You can't  do that with a one way PID.

I would like to control a ,motor speed with PID both acceleration and deceleration.  Currently as I understand the Unitronics PID, we can control up to a setpoint and once the PV exceeds the setpoint, the output of the PID just stops. Which would work for heat only. But does not control the motor very well. Nor would it stop the temperature from continuing to climb above setpoint.

What would you do in Visilogics to heat to a setpoint and then stop the temperature from continuing to climb? Just wait and hope it cools off by itself? What about a chemical process that needs heating and cooling to maintain control?

Is this one way PID control just a limit of the software? Or do I not understand it correctly?

 

Link to comment
Share on other sites

Hi Olivier

I have used 2 PID routine's, one heating, one cooling and logic to select which one runs.

Eg - If in heating mode and PV is above set point for a certain time, switch to cooling mode. My application is a cooling tower for a moulding shop. I have a speed controlled fan for cooling, and a bypass valve for heating.

Although this system has been working ok for over a year, the changeover - heating/cooling is not a smooth one.

My new approach is to PID control the fan, then the valve attempts to keep the fan speed within a certain range. So if fan speed goes outside of a wide dead band, make adjustment to valve position.

I also add a forward feedback proportional value onto the PID CV to give a final CV. This improves control as the cooling tower receives large temp spikes.

Link to comment
Share on other sites

  • 6 years later...
On ‎22‎/‎01‎/‎2011 at 10:26 PM, Deke said:

Hi olivier & Emil,

Attached is subroutine, in this subroutine it controls one zone of a barrel that has a screw in it (Plastic Molding Machine), it does both heating and cooling and works very well.

It does not use the PID.

Deke

I was unable to upload a file with the extension vlx, which is the exported subroutine file, so I had to make a new app with just that subroutine in it.

Hi Deke

Can you connect a thermocouple directly to the plc?

Can you send me the routine pls

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...