[Jim Ryan]
The PEM model has been modified now to include a block called 'JIMS' for the JIMS(Joint Information Management System) channel processing. Additionally I added test points inside the BLRMS blocks that are there. These test points are connected to the output of the sqrt function for each band. I needed this for debugging purposes and it was something Jenny had requested.
The outputs are taken out of the RMS block and muxed, then demuxed just outside the JIMS block. I was unable to get the model to work properly with the muxed channel traveling up or down levels for this. Inside the JIMS block the information goes into blocks for the corresponding seismometer channel.
For each seismometer channel the five bands are processed by comparing to a threshold value to give a boolean with 1 being good (BLRMS below threshold) and 0 being bad (BLRMS above threshold). The boolean streams are then split into a persistent stream and a non-persistent stream. The persistent stream is processed by a new library block that I created (called persist) which holds the value at 0 for a number of time steps equal to an EPICS variable setting from the time the boolean first drops to zero. The persist allows excursions shorter than the timestep of a downsampled timeseries to be seen reliably.
The EPICS variables for the thresholds are of the form (in order of increasing frequency):
C1:PEM-JIMS_GUR1X_THRES1
C1:PEM-JIMS_GUR1X_THRES2
etc.
The EPICS variables for the persist step size are of the form:
C1:PEM-JIMS_GUR1X_PERSIST
C1:PEM-JIMS_GUR1Y_PERSIST
etc.
I have set all of the persist values to 2048 (1 sec.) for now. The threshold values are currently 200,140,300,485,340 for the GUR1X bands and 170,105,185,440,430 for the GUR1Y bands.
The values were set using ezcawrite. There is no MEDM screen for this yet.
PEM model was restarted at approx. 11:30 Mar. 7 2012 PST.
|