pytuneOPC
Python PID Tuner using OPC-UA
Windows Exe (no install required) ->https://github.com/Destination2Unknown/pytuneOPC/releases
To install use:
pip install pytuneOPC
PID tuning in 4 Steps:
A-> Record PRC using Logger
B-> Tune using PID Tuner
C-> Refine tune using PID Simulator
D-> Test tune with FOPDT Simulator for PLC using OPC-UA
Create a launch file:
examplelaunch.pyw #use pyw for no console
PID Logger
To launch use:
from pytuneOPC.pidlogger import plclogger
plclogger.main()
Stage 1 - PID Tuner based on a CSV file of a Process Reaction Curve (PRC)
Assumes CV and PV data stored at 100ms intervals.
To launch use:
from pytunelogix.stage1 import csvtuner
csvtuner.main()
Direct Acting:
Reverse Acting:
Stage 2 - Open loop tune
A.mp4
WIP
Stage 3 - Closed loop tune
cl.mp4
WIP
Stage 4 - Adaptive tuner
ad.mp4
WIP
PID Simulator
Direct Acting:
To launch use:
from pytunelogix.simulate import simulator
simulator.main()
FOPDT Process Simulator (PID Simulator) for PLC using OPC-UA
Simulates a Process:
To launch use:
from pytuneOPC.plcpidsim import plcsim
plcsim.main()
Windows Exe: