Mirrotron Users’ Guide


Mirrotron Users’ Guide


Table of Contents

Overview

(contents)
The control system for the Mirrotron RFQ uses the Blinky-LiteTM control platform. This document is an overview of how to use the custom applications for the Mirrotron RFQ. For portability, reliability, and security all Blinky-LiteTM user applications are web apps. The Mirrotron RFQ web apps are located at the app page.

System Login

(contents)
For security, Blinky-LiteTM requires an https connection. Any attempt at using an http connection will be redirected to an https connection.

You must first obtain a login from your system administrator to access the control system. Blinky-LiteTM uses role-based access with JSON Web Token(JWT) technology for logging into the system. The user is assigned a role to protect the system from the user making inadvertent settings.

Read-only roles

(contents)
For read only access, the user must have the following roles:

  • reading
  • ping
  • readDatabase
  • renew
  • appView
  • coreView

Setting privilege roles

(contents)
For read only access, the user must have the following roles:

  • reading
  • setting
  • rsetting (for using the RESTful interface)
  • ping
  • readDatabase
  • renew
  • appView
  • coreView
  • writeDatabase

The login JWT has an expiration timer that is set in the user profile by the system administrator. The timer can be extended in the User card found at the bottom of most of the applications as shown in Figure 1. In addition login JWT expires when the user closes the browser session.

Web Applications

(contents)

Application Index Page

(contents)
Upon entry to the web site, the main application index page is displayed as shown in Figure 1. Most of the applications are for trouble-shooting. The main application for turn-key operations is the Bridge Control app.

Figure 1. Application Index Page


Bridge Control App

(contents)

Alarms

(contents)
Upon startup, the Bridge Control will look as shown in Figure 2. If the RFQ is off but all water systems, vacuum systems are running, and power amplifier is running, there will be a green permit LED in the status card. All alarm LEDs on the right hand page of the status card should be green. Alarm LEDs have the following color scheme.

Alarm Color Alarm
Magenta below the LOLO limit
Blue below the LOW limit
Green OK
Yellow above the HIGH limit
Red above the HIHI limit

If any alarm is outside the LOLO or HIHI limit, the machine permit will not be enabled. There will be a discussion later on the steps to be followed if there machine permit is off.

Figure 2. Bridge Control App at startup


RFQ Startup Steps

(contents)

  • Turn on LLRF
    • The LLRF On/Off is the main activator for the machine protection system. If the machine permit has dropped, the LLRF will turn off and stay turned off until the user turns it back on. The next step is to turn on the LLRF in the Control card as shown in Figure 3.

    Figure 3. Bridge Control App with LLRF on


  • Turn on RF power amplifier
    • With the LLRF on, the RF power amplifier is ready to be turned on. (In fact the RF power amplifier can be turned on before turning on the LLRF). Turn on the power amp button in the Control card as shown in Figure 4.
    • The amplifier will take some time to turn on (~15secs). While the amplifier is turning on, the Power Amp On LED in the Status card will remain gray until the power amplifier is ready and the Power Amp On LED in the Status card will turn green as shown in Figure 5.

    Figure 4. Bridge Control App with RF power amp startup


    Figure 5. Bridge Control App with RF power amp ready


  • Turn on RF power
    • One the Power Amp On LED in the Status card turns green, press on the RF Power On button on the Control card. Once the RF Power On LED on the Status card turns green, you should see traces appear on Scope Plot Card as shown in Figure 6.
    • The forward and reverse power traces are shown in brown and gold. The forward power should be close (but not exactly) to the requested power shown in the Status and Control cards. The forward and reverse power sampled in the middle of the pulse is shown in the Status card. If the reverse power should be less than 10% of the forward power. If there reverse power is large, there could be an issue with the phase lock which will be discussed later.
    • The cavity voltage normalized to the power coupler are the blue traces. These traces are sampled in the middle of the pulse by the LLRF and report a cavity phase. This phase is used for the phase lock system which keeps the cavity in tune.

    Figure 6. Bridge Control App with RF power on


  • Adjusting RFQ Parameters
  • The requested power, repetition rate, and pulse length can be adjusted from the Control card. However, there are limits on how much these parameters can be adjusted. The range of these parameters can be seen by clicking the parameter alarm LED on the right hand side of the app. For example, the alarm range of the repetition rate is shown in Figure 7. If an entry is outside the LOLO-HIHI alarm range , the machine permit will drop.
    • The app will prohibit making setting changes outside the LOLO-HIHI alarm range. However, if the alarm range is changed so that the current setting lies outside the new alarm range, the machine permit will drop.

    Figure 7. Repetition Rate Alarm Range


Machine Permit App

(contents)
The Bridge Control app gives a quick overview to RFQ operations. However, there are hundreds of parameters in the control system that need to be at the correct value for the RFQ to operate appropriately. If any one of these critical parameters goes outside its LOLO-HIHI alarm range, the permit will drop and the LLRF will be inhibited. For example, Figure 8 shows a machine permit drop when the pulse repetition rate has been set too low. What system pulled the machine permit can be seen on the Machine Permit app as shown in Figure 9 in which it is clear that the timing system pulled the permit.

Figure 8. Machine Permit Abort


Figure 9. Machine Permit App


Alarm Scanner App

(contents)
The specific parameters that are in alarm and the type of alarm can be detailed in the Alarm Scanner App. The alarms are grouped into Alarms which are parameters that are outside the LOLO-HIHI limits and Warnings which are parameters outside the LOW-HIGH limits. Alarms will pull the Machine permit, warnings will not. For the example in which the pulse repetition rate has been set too low, a view of the alarms are shown in Figure 10.

Figure 10. Alarm Scanner App


Post Mortem App

(contents)
As discussed in the Machine Permit app section When the Machine permit is pulled the LLRF will be inhibited. The LLRF will stay inhibited until it is turned back on again, even if the critical parameter goes back inside its LOLO-HIHI alarm range. This often happens during a vacuum pressure spikeLogBookIndex. For example, Figure 11 shows the machine permit being cleared when the pulse repetition rate has been set inside allowed range. The machine permit is clear but the LLRF is still off. So now the user does not know why the Machine permit was pulled.

To find out which parameter caused a machine permit abort, the Blinky-LiteTM control platform provides a Post-Mortem application as shown in Figure 12. When the Machine permit transitions from good to bad (an abort), the control system sends out a broadcast to all the sub-systems (Blinky-LiteTM trays) to save their current state in timestamped archive database. The Machine Permit app shows a list of all the machine permit aborts. The user can then select one of the Machine permit abort events to see what parameters pulled the Machine permit as shown in Figure 13 in which the machine permit abort was caused by setting the repetition rate too low. LogBookIndex

Figure 11. Bridge Control App with the machine permit cleared


Figure 12. Post Mortem app


Figure 13. Post Mortem app with alarm list


Logbook App

(contents)
For reliable operations its is very important to keep a logbook of the status of the control system and accelerator. Instead of a 3rd party add-on, the Blinky-LiteTM control platform provides a Logbook application fully integrated into the control system as shown in Figure 14. The Logbook app is text-only on purpose to keep the log entries as clear and concise as possible. The Logbook app is not intended as a notebook. There are a myriad of 3rd party apps that serve that purpose.

Figure 14. Logbook App


To display an entry select the blue Display button next to the right of the entry of interest. The entry display box appears along with the date, author, and title of the entry as shown in Figure 15. The entry display box can be resized to fit the entry text.

Figure 15. Logbook App Entry Display


To add an entry, you will need to have writeDatabase privileges defined in your roles. Click the dark blue Add button on the upper right hand of the Entries card and a dialog box will appear in which you can add the title and text of the entry as shown in Figure 16. The date and author based on your system Login will be added automatically.

Figure 16. Logbook App adding an entry


Often, an entry needs corrections so the Logbook has basic editing features which can be accessed by pressing the yellow button next to the right of the entry of interest as shown in Figure 17. An entry can also be deleted with the red button next to the yellow edit button. To provide for accountability, only the author of the entry can edit or delete the entry. The right-hand panel of Figure 17 shows that error message will be generated if somebody other than the author tries to edit an entry.

Figure 17. Logbook App editing an entry


Expert Web Applications

(contents)
Almost all operational issues should be handled with the Bridge Control App. However for optimum performance, the parameters of individual sub-systems (Blinky-LiteTM trays) will need to be adjusted or viewed.

RF Power Amplifier App

(contents)
The RFQ accelerator is powered with a 300kW solid state amplifier operating at 200 MHz. Basic operation of this amplifier can be done with the Bridge Control App. However, along with basic operation, the alarm, warning, and watchdog status can be monitored with the RF Power Amp app as shown in Figure 18. The peak RF power sampled at the middle of the pulse is shown in the Status card. This read-back is based on a headless oscilloscope monitor in the diode detected output from the front panel of the the power amplifier which also provides the traces in the Scope Plot card. The RF power is also reported in the Amplifier Status card which is derived from the amplifier manufacturer. Since these are both diode detected devices, there will be some discrepancy in the readings due to calibration.

  • The error and warning code descriptions can be found in the manufacturer manual.
    • An online version of the codes will be added in the future.
    • If the amplifier trips due to an error such as reflected power, the amplifier error be reset in the Amplifier Control card.
  • The power-on sequence should be followed just as outlined in RFQ Startup Steps described in the Bridge Control App.
  • The settings of the headless oscilloscope monitor, such as the triggering and record length can be adjusted in the RF Power Scope Control card but these settings should be rarely, if ever, adjusted.

Figure 18. RF Power Amp app


RFQ Vacuum App

(contents)

The RFQ vacuum system consists of two turbo pumps mounted directly on the RFQ. The turbo pumps can be isolated from the RFQ via fast gate valves mounted between the turbo pumps and the RFQ body. The exhaust of the turbos is handled by dry scroll backing pumps, one for each turbo pump. The gate valves and the backing pumps can be complete operated remotely via the control system. However, the turbo pumps require manual startup and shutdown as detailed in the online-vacuum manuals.

Figure 19 shows the Vacuum status and Control cards for the vacuum system. The vacuum pressure units are in logPa

  • -5 logPa = 1x10-5 Pa
  • -5 logPa = 1x10-7 mbar
  • -5 logPa = 7.5x10-8 Torr

Figure 20 shows the Time Plot and Archive Plot cards for viewing the vacuum pressure evolution and history inside the RFQ (gauges 3 & 4) and in the exhaust lines (gauges 1 & 2). Figure 21 shows the Backing Pumps control cards and the Turbo Pumps status card.

Figure 19. RFQ Vacuum app status and control


Figure 20. RFQ Vacuum pressure time and archive plots


Figure 21. RFQ Vacuum scroll pump control and turbo pump status


RFQ Water Temperature App

(contents)

The RFQ has two water cooling headers, one upstream of proton acceleration (inlet) and one downstream (outlet). Operation of the Chilling units is detailed in the online-vacuum manuals.

The temperature of the water cooling channels is presented in the RFQ Temperature App as shown in Figure 22. As with all Blinky-LiteTM applications, the alarm limits can also be edited by clicking on the appropriate alarm LED on the right hand side of the card as shown in Figure 23. As stated earlier, a reading outside the LOLO-HIHI limits will pull the Machine permit.

Figure 22. RFQ Temperature App


Figure 23. RFQ Temperature alarm edit


RFQ Water Flow App

(contents)

As described above, the RFQ has two water cooling headers, one upstream of proton acceleration (inlet) and one downstream (outlet). Operation of the Chilling units is detailed in the online-vacuum manuals.

The water flow of the water cooling channels is presented in the RFQ Water Flow App as shown in Figure 24. As stated earlier, a reading outside the LOLO-HIHI limits will pull the Machine permit.

Figure 24. RFQ Water Flow app


Low Level RF App

(contents)

The Low Level RF (LLRF) controls the amplitude and frequency of the RF signal that is fed into the RF power amplifier. The system consists of three Blinky-LiteTM trays.

  • RF Source
  • Phase Detector
  • LLRF Scope

Each of these trays has quite a few parameters that are described in the system architecture. The LLRF app is shown in Figure 25. The Status card displays the cavity voltage detected by the cavity pickup and normalized to the coupler voltage measured at the center of the RF pulse. The phase signal is the comparison between the RF wave sent to the Power amplifier to the RF wave detected at the cavity pickup. The absolute value of the phase signal is arbitrary and is affected by cable lengths in the system in addition to the location of the cavity resonant frequency. Relative changes of the phase can be used to determine if the cavity resonant frequency is drifting.

Below the status card is the LLRF scope plot which shows the magnitude, in-phase and out-of-phase components of the cavity voltage. The LLRF scope plot can be adjusted in the LLRF Scope Control Card shown in Figure 26 but most of these parameters should be rarely adjusted.

Figure 25. LLRF app


RF Frequency Control

(contents)
The RF frequency and amplitude is set by the parameters in the RF Source Control card as shown in Figure 26.

  • rf-src.01.phaseInc sets the RF frequency without phase feedback.
  • rf-src.01.rfAmpHi sets the amplitude of the RF pulse in units of kW.
    • It is the same parameter as the Requested Power parameter displayed in Control card of the Bridge Control app.
  • rf-src.01.rfAmpLowi sets offset value in the RF Gate
    • add is used to minimize leakage voltage in the RF gate.
  • rf-src.01.clr turns off all components of the RF frequency source FPGA
  • rf-src.01.resetDDS turns off Direct Digital Synthesizer of the RF frequency source FPGA
    • it is the parameter used by the Machine Permit system to stop RF power supplied to the RFQ.
    • it is also the logical inverse of LLRF On shown in the Control card of the Bridge Control app
  • rf-src.01.fbFiltShift controls low pass filter that filters noise coming from the Phase Detector error signal that is used to correct the RF frequency when the system is in phase lock mode.
    • A value of 1 is a filter with a corner at 62.5 MHz.
    • A value of 2 is a filter with a corner at 31.2 MHz
    • A value of 18 is a filter with a corner at 477 Hz
  • rf-src.01.fbGainShift reduces the Phase Detector error signal that is used to correct the RF frequency when the system is in phase lock mode.
    • A value of 1 reduces the signal by 2
    • A value of 2 reduces the signal by 4
    • A value of 12 reduces the signal by 4096

Phase Lock Control

(contents)
The cavity resonant frequency will change by several cavity bandwidths (cavity bandwidth ~ 20kHz) as the cavity heats while running at high duty factors. The phase detector measures phase between the between the RF wave sent to the Power amplifier to the RF wave detected at the cavity pickup. As the cavity heats up, this phase will change as the cavity resonant frequency drifts. This change phase shift can be used to shift the frequency of the RF source to track the cavity resonant frequency in a phase-lock feedback loop (PLL). The parameters the Phase Detector Control card shown in Figure 26 are used to tune the PLL.

  • phase-detector.01.phaseTarget is the phase in which the PLL will lock to.
  • phase-detector.01.sampleTime is the time from the start of the RF pulse in which the phase for the PLL is measured.
  • phase-detector.01.fbMult is the fine gain control of the PLL.
  • phase-detector.01-01.clr turns off all components of the Phase Detector FPGA
  • phase-detector.01.clrFB turns off the PLL.
    • It is the same parameter as the Phase Lock On parameter displayed in Control card of the Bridge Control app.
  • phase-detector.01.phaseLPFShift controls low pass filters on the input I-Q signals from the phase detector analog electronics.
  • A value of 1 is a filter with a corner at 62.5 MHz.
  • A value of 2 is a filter with a corner at 31.2 MHz
  • A value of 10 is a filter with a corner at 122 kHz
  • phase-detector.01.loadClkDelay is the length in 8nS intervals of the sample in the sample and hold of the PLL
  • phase-detector.01.fbShiftL increases the gain of the phase error signal.
    • A value of 0 has no effect
    • A value of 1 increases the signal by 2
    • A value of 2 increases the signal by 4
  • phase-detector.01.dacOffset is used to null the signal supplied to the frequency error input of the RF source.

Figure 26. LLRF Control cards


Tuning the Phase Lock loop

(contents)
To set the correct phase target for the PLL:

  • It is recommended to due a frequency scan of the RFQ at low power.
  • To do a frequency scan, the PLL should be disabled as shown in Figure 27.
    • If the RF frequency is not at the cavity resonance, the reflected power from the RFQ will be large as shown in Figure 27.
  • Now, the rf-src.01.phaseInc is adjusted until the reverse power is minimized as shown in Figure 28.
  • At this point, set the phase-detector.01.phaseTarget equal to the measured cavity phase at resonance llrf-scope.01.phase
  • and then turn on the PLL as shown in Figure 29.

Figure 27. RF frequency off resonance


Figure 28. RF frequency on resonance


Figure 29. RF frequency off-resonance but PLL on


Timing App

(contents)

The Mirrotron RFQ is a pulsed system so a timing system is required. The Mirrotron Timing system is an 8 channel system based on a 32 bit counter clocked at 125 MHz. The resolution of the timing system is 8nS and can have intervals as long as 17 seconds.

Channel allocation

(contents)
The Mirrotron RFQ uses five of the eight channels:

  • Channel 0 for the RF source and phase Detector
  • Channel 1 for LLRF scope
  • Channel 2 for the RF Power Amp pulse gate
  • Channel 3 for the RF Power Amp sample and hold
  • Channel 4 for the RF Power Amp Scope

Easy Setup Timer

(contents)
These channels can be configured with the Timing App as shown in Figure 30. To change the pulse length of the RFQ, all five channels would need to be adjusted which would be time consuming and error prone. To make it easier to change the pulse length a virtual tray called the Easy Setup Timer was created. This virtual tray will adjust all five channels synchronously.

All the user needs to adjust is:

  • gateGen125.01.repRate sets how often the RFQ pulses
  • easySetupTimer.01.pulseLength sets the length of the RF pulse

The other Easy Setup Timer parameters are:

  • easySetupTimer.01.offset is how far the rf pulse is offset from the start of the interval.
  • easySetupTimer.01.paCushion sets how much time on the leading and falling edge of the RF pulse to add to the RF Power amplifier gate.

Figure 30. Timing App


Manuals App

(contents)

In addition to the control system, there are a number of auxiliary systems such as the cooling skids and the turbo pumps that are manually controlled. The Blinky-LiteTM control platform provides a Manuals App where these manuals are readily accessible as shown in Figure 31. These manuals are pointers to other web pages which can be easily edited with other web editors such as Google Docs or Github Markdown.

Figure 31. Manuals App


Core Applications

(contents)

In addition to the custom applications for the Mirrotron RFQ, the Blinky-LiteTM control system platform supplies 8 general purpose applications as shown in Figure 32. The most commonly used core applications are:

The functions of the other applications are:

  • Scalar Viewer View and set any scalar parameter value and alarm range
  • Scalar Plotter Plots any scalar control system parameter as a function of time
  • Vector Plotter Plots any vector control system parameter as a function of time
  • Vector Archive Plotter Plots the history of any vector control system parameter
  • Alarm Scanner Lists all parameters alarms and warnings

Figure 32. Core Applications


Access Log

(contents)
The Access Log App is used for determining who, when, where and what control system application has been accessed as shown in Figure 33. The default search parameters are for the past day but much longer searches are possible.

Figure 33. Access Log App


Settings Log

(contents)

The Settings Log App is used for determining who, when, where and what control system parameter has been changed as shown in Figure 34. The default search parameters are for the past day but much longer searches are possible.

Figure 34. Settings Log App


Scalar Archive Plotter

(contents)

The Scalar Archive Plotter application is used to view the history of any parameter in the control system. The tray type is first selected, followed by the tray name, followed by the scalar property (reading or setting) and finally the parameter name. The user can choose points or lines and which axis to plot as shown in Figure 35. The user defines the search range was well.

In addition, a comma separated table can be exported to a spreadsheet program such as Excel after the trace has been plotted. The export can be obtained by clicking the trace (Tr) number on the right hand side of the app as shown in Figure 36.

Figure 35. Scalar Archive Plotter App


Figure 36. Scalar Archive Plotter CSV Export