Jump to content

PID control


Recommended Posts

Hello!

I have only the second project in my praxis with PID control.

PLC: JZ-10-R16

PID: SP=3380 pulses

PVmin=0

PVmax=5000 pulses

CVmin=50

CVmax=350

ST=10

Kp=1000

Ti=2

Td=1

The principle of operation was taken from Unitronics sample project motorized valve action. Process value PV are frequency (100ms sample time). Calculated PID control value CV are sampled with actual feeddbeck from actuator CVR (4..20mA the range of units are from 50 for full close to 350 for full open).

If CVR-CV>H then actuator closing.

If CVR-CV<H then actutor opening. The H are hysteresis of 5 units.

Preblem is that the PV are close or reached the SP but CV are still growing and actuator (of course) starts flashing from min CVR to some position and there is no perturbance yet. Autotuning gives no result because it coud not end the process. I tried to change PID parmeters (kp. Ti, Td) but I get overruns and underruns faults from process, so the abouve parameters looks like optimal (especially when perturbance take an action).

What coud a I do to get smoother process control? May be Motorized actuator are very fast (about 3 sec.) and I misstake in fundamental choosing PLC and actuator?

Here I attached xls file with process log file.

Thanks in Advance.

ari_pid_5.0_4.zip

Link to comment
Share on other sites

  • 3 weeks later...

Can you send your application and OPC server log, including CVp, CVi and CVd to support@unitronics.com. You can add in your application FB PID module Read Control Components, recommended with Factor 10 or 100, which will give you relevant values.

BTW - why you set CV range 50 - 350? Is the full opening time of thhe valve 35 seconds? Whay you don't want PID to close it fully and leave min value to 50?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

This site uses cookies. By clicking I accept, you agree to their use.