Sensor Averaging for PID loop

Hutchman

Member
Join Date
May 2004
Posts
1
Hello All,

I have a PID loop on a PLC 5/80E PLC that I have been using to control room temperature. Just recently, they've installed a 2nd temperature transmitter at the opposing end of the room.
So what I want to do is average the (2) temperature values as my PV for the loop. The problem is that the (2) transmitters have different ranges (ie; -18 to 38 C and -29 to 60 C). I'm thinking about averaging the (2) and/or automatically switching to one tx if the other fails. But I think to do this, I have to change the Engineering Units Min/Max of the PID loop every time that I switch transmitters.

Example:
Tx1 , PID Range = -18 to 38 C
Tx2, PID Range = -29 to 60 c
Averaging, PID Range = 0 to 100 C

Is there a better way of doing this?
 
Any problem you may have with ranges relate tot he PID loop set point and not to the range of the transmitter.

Before I continue, the best thing to do is to get 2 transmitters with the same range. If you can't do that you can scale the values in the PLC to their actual range, do the averaging and then de-scale the results to the PID loop's set-point range.

The point is that as long as you're not using raw units (ie. 0-4095) you can manipulate the temperature values because they represent actual temperatures.

Good Luck,

(8{)} ( .)
 

Similar Topics

Hello All, I have a PID loop on a PLC 5/80E PLC that I have been using to control room temperature. Just recently, they've installed a 2nd...
Replies
5
Views
9,021
Hi, I have a bit of PLC experience in Siemens and have unfortunately been blessed with working on Automation Studio and B&R which has been a big...
Replies
5
Views
1,362
Hi everyone, I am working with micro850, a proximity sensor (FOTEK, PL-05P) and a 3DOF serial arm robot. I use MC_MoveRelative to control the...
Replies
1
Views
56
Maybe a stretch to call this a PLC question, but it does connect to a PLC input. I have two German switches: Sick WL9LG-3P2232 And a...
Replies
0
Views
109
Hi, Need help with coding for a faulty component sensor which we are using a push button as we are using a test rig. the plc is a allen bradley...
Replies
4
Views
206
Back
Top Bottom