Performance Evaluation of EPICS Oscilloscopes for Real-Time Waveform Monitoring

Johny Tang
Oak Ridge SNS
Injection/Extraction Kicker Machine Protection System

Introduction

Goal:
  • Minimize beam loss and protect target during higher beam power operation
Requirements:
  • Monitor pulses occurring at 60Hz for proper duration and shape
  • Trigger protection measures if a pulse does not fall within specified tolerances, before the next pulse occurs in 16.67ms (60Hz)
  • No missed pulses
  • Allow easy remote control and configuration for technicians using EPICS
  • Allow simultaneous instrument monitoring from multiple locations using EPICS

Proposed Solution

Use ZTEC Instruments’ LAN-based oscilloscopes with an embedded EPICS controller for easier EPICS integration and faster processing
  • Embedded XScale processor running Linux
    • Runs EPICS 3.14 and Channel Access Client version 4.11
    • Stores EPICS process variables (PVs) in onboard memory
      • PVs support all scope functions
    • Manages LAN services
    • Faster processing than Windows-based oscilloscopes
  • Onboard DSP
    • Automatically generate upper and lower masks based on a captured “golden” waveform
    • Compare acquired waveforms to upper/lower masks
  • Timing FPGA
    • Generate an output pulse if acquired waveform falls within allowed range
  • Many EPICS oscilloscope models, each with two and four input channel versions
  • Four reference waveforms
  • Four waveform calculation channels
    • Compares captured waveform to upper and lower waveform masks
    • Stores last failed waveform

Results

  • Supports 60 Hz injection and extraction kicker pulses with no missed pulses during continuous operation
  • Uses segmented acquisition memory to save the failed and pre-failure waveforms for later review
  • Allows gating so that the mask is only applied to a portion of the waveform (e.g., only the rising edge and the top of the pulse)
  • Optimizes interaction with the SNS Machine Protection System circuitry using a user-defined output pulse width
  • Boots up into a predefined state for hands-off remote deployment
  • Requires less rack space than benchtop oscilloscopes (1U height, half rack width)
  • Easily integrates using the existing EDM panels
EPICS Oscilloscopes Injection Kicker Waveforms Extraction Kicker Waveforms