I am having and issue and can’t seem to find an applicable example so here is my question / problem/ issue.
I am trying to control a supply fan VFD based on static pressure using a PID. Below I have listed what I believe in all the pertinent info.
Static Pressure Input is 0-5V and the sensor has a range of 0-5in.wc.
VFD output is 0-10V
I have the Static Input Setup as 0-5V signal type and the Range is 0-5v ( number 41) - Label is STATIC
I have the VFD Output setup as 0 to 100% ( 0-10v) - (number 34) - Label is SASPEED
Static Set Point is in a variable called STSP with units set to inches of WC and a value of 2.5
My PID Settings are -
Input -STATIC
Units - Volts
Set Point - STSP
Action is set to ‘-’
Prop is set to 0
Int is set to 0
Time is set to Min
Der is 0.00
Bias is 0
A/M is Auto
the problem is that when the program sets SASPEED to PID1 it sets the speed to 0 and doesn’t change.
Also the VFD is supposed to have a minimum speed of 10% which I have working in the “Start UP” program but the momemnt the program with the PID use runs it goes to 0.
First set up the pressure sensor, we’ll use the custom analog input range to set a linear table from 0-5V = 0-5 in WC. At Tab1 you can type in the engineering units, WC. At Tab2 you specify we’ll use only two points at the min and max of the table. Tab3 is important, this sets the signal type as the 0-5V transducer mode. Tab4 is where you enter in the minimum and maximum voltages and values for the readings.
Here is whre you define the fan speed analog output, pretty standard setup here. Just make sure you use one of the analog outputs. You can see which type of output hardware it is at Tab4.
Next set up the PID, Tab5 is the ‘Input’ or feedback to the system. Tab6 is the variable holding the pressure setpoint. The action is negative, had to wait and watch the output at Tab7 for a few seconds to see that I had it correct. When the pressure is at 0 in WC as it is now, and the setpoint is at 2in WC you would expect the fan to be at 100% which looks good AT Tab7. I have the P term at ‘1’ which is pretty rigid control, you might want to put it larger which will make for a lazier action. Once its working reasonably well you would add some I term in the Int column.
And here’s where all the action happens finally, a program to set the fan speed = to the PID loop in line 20. Line 30 turns the fan off during the unoccupied period, lines further down in the program will override the earlier lines.
10 REM ***** FAN PROGRAM **********
20 FANSPEED = MAX( 10 , PID1 )
30 IF NOT SCHED1 THEN FANSPEED = 0
Be sure to set up a trend log to watch the action over time, if you see short cycling loosen up the P term by making it larger (Big P = Lazy PID). Once you have the system fairly stable add some I term.
The trend log is set up as follows. Add the items to be trended at Tab7 and set the trend interval at Tab8. Notice this device has no SD card so we’ll only be able to see trend logs from while T3000 is open on this trend. If we add an SD card the data will be logged to the SD card. The trend log interval is at 10 seconds here which is more than necessary for the debugging phase. Once everything is commissioned you’ll want to reduce this to 10 minutes or so, otherwise your SD card will fill up fast and it’ll take forever to download the logs for viewing.