Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Jira
serverSLAC National Accelerator Laboratory
columnskey,summary,type,created,updated,

...

assignee

...

,

...

status

...

maximumIssues20
jqlQuerykey = ASOT-1
serverId1b8dc293-975d-3f2d-b988-18fd9aec1546

Objectives

This module introduces the RTBSA GUI. After completing this module, an operator should be able to:

...

Beam Synchronous Process Variables (PVs) are signals that are tied to the beam pulse that generated them. RTBSA uses this feature to build a pulse by pulse "picture" of the beam so that we can see correlations between signals that would otherwise be hidden.

How it Works

...

Background

What is a PV?

It's kind of a short hand. We have a lot of devices on site, and those devices generate a lot of data. BPMs (beam position monitors), for example, constantly monitor where the beam is relative to the center of the beam pipe. One singular BPM, however, has a lot of signals that it reads out (chief among them x position, y position, and charge), and each one of those signals has a channel dedicated to reading it. It's kinda analogous to TV channels for a BPM TV - x position is on channel 2, y position is on channel 3, etc (except that the channel names are a little more complicated, like BPMS:LI24:801:X). Those channels are PVs.

...

 

What does it mean to be tagged to a pulse?

...

That BPM is going to send out data packets for each of its measurement channels every time it sees a pulse. Say that we care specifically about the beam's x position, so we tune into that specific channel. The data packets sent over that channel contain not only the raw beam position value, but also metadata like the timestamp and PV name. Crucially, the timestamp has the pulse ID encoded into it (one of 1 through 4 in our illustrated example) so that we know which pulse this data packet belongs to. Not all PVs have this encoding, but the ones that do are said to be beam synchronous.

What does this have to do with RTBSA?

Well, RTBSA stands for Real Time Beam Synchronous Acquisition, and it's a tool created by our very own Christopher Zimmer to help us correlate signals (PVs) in real time. 

How it Works

Data Buffers

A selected BSA PV is given a dedicated data buffer to hold its most recent values. Using the example above, let's say that we have a buffer size of 4 (so that we only store the 4 most recent values):

1234
-0.04-0.020.020.04

Where the first row is the pulse ID and the second row is the x position that the BPM saw for that pulse. While the PV is selected, the data buffer keeps getting written to modulo the pulse ID so that when it sees pulse 5, it would become:

5234
0.00-0.020.020.04

 

Image Added

 

Image Added