8-pack control system working group meeting

11 February 2002

In attendance: Chestnut, Hall, Kim, Nelson, Rock, S Smith, Young

Notes by: J Nelson


(This look a lot like last week’s, but the contents are different.  I promise.  Unchanged contents are prefaced with (no change).)



-(no change)Progress from Kukhee: Critical work is done, a little minor work is left to do.



-Ron thinks that this will happen this week:

Steve would like 5 DAC channels to be accessible with enter numbers or slider bars on a panel.  These would be one for pulse width, and 4 for attenuation control for the four klystrons.  These are in the first DAC in the crate.  The pulse width goes from 0 to –10 (0=wide, -10 = narrow), the rest go from 0 to 8 with 8 being lots of attenuation.  Steve said that dac ch0 is klys 4 attenuation, ch1 = klys3, ch2=klys2, ch1=klys1, ch4 = pulse width. 

Once SWE decides on names for these five PVs, Janice will make a panel.  Ultimately these will be controlled by the processing loop.



DAC/ADC Issues

All of these issues are for later:


-No progress on Phase wraparound.  TBD.  Previously it was decided that one could input any number but then it’d be given the equivalent value between +/- 180.

-TBD: The trickle down of the SLED variables.  This was specified at a previous meeting (numbers on SLED panel need to trickle down to I/Q and A/P PVs).  For processing, we might want this feature functional sooner rather than later. 

-TBD: the trickle down of the variables on the power distribution panel as well.  There are 4 PVs there called Klystron Sled-in phases.  These need to trickle down to the phase DACs as well.  This phase is to be added to the channel phase angle (IQ calib panel) and to the timestep phase before going out to the DAC.



-Andrew will email Ron about the three bits for the multiplexer to find out which is the least significant bit.

- Judy recovered the missing pack_iqa_module.dl file.

-This is still to be done:  SWE will make a PV for a temporary DIO channel as a reset to Joe Frisch’s kludge RE Interlock.  They will send the name to Janice who will put a button on the panel with the pulse width and the klystron attenuation.  Its DIO channel assignment should be on Andrew’s previously sent list.

-(no change) The following item was deferred for a few weeks:

LLRF + NLCTA Ops need to sort out what the LLRF enable and the mod off buttons do


SCP Configs

-Configs are done.

-This week Janice will check the timing configs and ask Nancy Spencer to make the TRBRs into TRIGs for the next dbInstall to make it easier to change rates.  Janice will look to see which one (TRBR or TRIG) is easier to change around



-Kukhee reported that all the waveform records and the fanouts have been created.

-The list of waveforms to archived was sent to Bob from Janice with Judy’s help.

-(no change) We deferred the following: longer term issue: what to do if reading out an SIS when a fault occurs?

-(no change) Right now the SISs are paused and read out with a user request only.  A read when a fault happens will also be added to this.



-Bob reported that the 8-pack variables are being archived and the archiver browser gets its data from the oracle database.

-Bob will setup the browser to use the selection criteria for helping folks add channels.

-Janice will check the 8-pack main panel to make sure it uses cspaarch and ditto the SCP.

-Janice will also check the archiving of the waveforms and perhaps with Steve/Andrew’s help send in a fake signal.



-DONE: Janice will send a list of waveforms to be archived to Bob et al (see first item until SISs above)

-Bob is working on Matlab functions to allow users to access the archived waveforms.  See previous notes for specs.

-(no change) SWE plans to implement the following two features requested by LLRF (Joe’s email):

have waveforms archived on (1) every trip and (2) when an acquire is done by a user

-(no change) Later SWE will work with Joe on his other two requests: archive every few minutes and when a change occurs in a selected set of values in EPICS (a pseudo-trip if you will)



-To be done this week: Kukhee will swap the 0-15 assignment (again).  Steve reported that the IQA channels are correct but the time steps are backwards. 



-All of the following will get going in the next couple weeks:

-Each IQA channel has 6 or 7 calibration numbers that are module dependent.  Gain/offset I,Q, quadrature angle and overall phase.  These numbers are used to change the SIS waveforms from I/Q to A/P.  These numbers will go on the IQA module panel. 

-Steve will email the equations for this calculation

-Kukhee needs to change the SIS converter subrecord and new PVs need to be created.

-Once names are decided upon, Janice can make the panel

-These 6 (or 7) numbers x 8 channels x 4 IQAs need to be archived at least once every 10 minutes.  The panel interface could just be one table for each IQA with 8 rows for the 8 channels and 6 columns with the calibration variables.


Processing algorithm

-(no change) Ron and Kukhee reported that the work is ongoing, fast loop should be done n the next 2 weeks, the slow processing (run-up) loop will come a few weeks after that.


Peak Power Meter (PPM)

-The list of PV names has been decided. 

-Ron will make the database for the descriptive string.  He reported how to record a change in this string has been solved.  The information will be in error log.

-(no change) Tonee will tweak the labview program to send the waveform to epics once we have names – probably late next week

-(no change) Tonee and Janice will set up the necessary hardware in ESB (Enet box, cables, etc)

-Janice will make new panels once names have been decided. 



-(no change) We’re currently waiting for Dick’s setup to settle down then we’ll do one more iteration of getting list, changing database, changing panels, programming the dcm, changing alarm handler and archiver stuff as needed



-(no change)Judy reported the crate profiles on the web are updated and look good.  Janice requested that channel assignment information also be available via the web, even it it’s just a link to the template file.  Judy and Ron will look into this.

-Andrew will tell Kukhee when he takes out the DIO module to modify it for the deadman.  (no change: Janice requested that a bypass be incorporated into the design)

-(no change) we deferred the following:

-public/private matlab issues to be resolved at a later date

-LLRF needs to decide what the reset button does.



Sort task list by person


Ron (and otherwise unassigned SWE tasks):

-PVs/database for 5 dac channels (pulse width, attenuation)

-PV/database for DIO reset of Joe Frisch’s kludge RE Interlock

-phase wraparound

-trickle down of sled variables

-trickle down of phase variables

-check status of 8-pack PVs being archived and the browser chooser.

-check status of switchover to Oracle archiver database

-database/PVs for 6 channels of calibration numbers for each IQA channel (also connect to Kukhee’s SIS converter subroutine)

-processing algorithm

-PVs/database for PPM descriptive string variable

-save of descriptive name for PPM channels



-swap VSTEP channel assignments (again)

-ADC work on going



-SCP timing config, TRBRs or TRIGs (make all the same!)

-checkout of waveform archiving

-check 8-pack main panel and scp panel for correct archive browser call (cspaarch)

-once names are set, make panel with 5 dac channels (pulse width and attenuation) and the DIO reset of Joe Frisch’s kludge RE Interlock

-panel for 6 calib numbers for each IQA channel

-PPM panel, work with Tonee on PPM labview and hardware



-check into making module channel assignments available on the web as well as the crate profiles




-pass on equation for the 6 calibration numbers for each IQA channel

-kludge interlock reset hardware

-email Ron about the DIO bit order for the IQA multiplexer



-matlab functions to fetch archived waveforms.