40m QIL Cryo_Lab CTN SUS_Lab TCS_Lab OMC_Lab CRIME_Lab FEA ENG_Labs OptContFac Mariner WBEEShop
  PSL  Not logged in ELOG logo
Entry  Thu Nov 3 21:11:15 2016, yinzi, awade, DailyProgress, Other, Mixed updates RCAV_thermalPID.py
    Reply  Fri Nov 4 13:13:30 2016, awade, DailyProgress, Other, Mixed updates 
       Reply  Fri Nov 4 23:16:54 2016, awade, DailyProgress, Other, Mixed updates ACavPIDConfig.iniPIDLocker.pyRCavPIDConfig.ini
Message ID: 1754     Entry time: Thu Nov 3 21:11:15 2016     Reply to this: 1757
Author: yinzi, awade 
Type: DailyProgress 
Category: Other 
Subject: Mixed updates 

Andrew and I did some stuff in the lab today:

-Taped up the cavity and added some insulation.

-Got the Python version of the PID script running on the acromag computer (including installing the prerequisite libraries epics and cdsutils). The script is attached.

-There were some bursts of noise in the error signal that was messing with the PID loop. Andrew fixed this by increasing the "fast gain" knob on the control box.

-Tuned the PID gains to get the desired response. The gains ended up being Kp = 0, Ki = 0.0021, and Kd = .0014. It seemed like the Kd was acting like how you would expect Kp to, which didn't really make sense to me, but we got a pretty good response from these gains.

 

Edit: Reattaching script, there was a change in it made on the acromag computer that wasn't reflected in the version I uploaded earlier.

Attachment 1: RCAV_thermalPID.py  3 kB  Uploaded Thu Nov 3 22:12:41 2016  | Hide | Hide all
#!/usr/bin/env python

import re
import time
import os
from ezca import Ezca

#A python translation of the RCAV_thermalPID.pl/SLOW_PID.pl script

#translated from perl script
... 121 more lines ...
ELOG V3.1.3-