Fermi National Accelerator Laboratory

Similar documents
National Accelerator Laboratory

cycle to cycle, so errors can be used to update the reference waveforms for future cycles. At A P S, updates are

GA A23281 EXTENDING DIII D NEUTRAL BEAM MODULATED OPERATIONS WITH A CAMAC BASED TOTAL ON TIME INTERLOCK

GA A25824 A NEW OVERCURRENT PROTECTION SYSTEM FOR THE DIII-D FIELD SHAPING COILS

arxiv: v1 [physics.acc-ph] 23 Mar 2018

A REGULATED POWER SUPPLY FOR THE FILAMENTS OF A HIGH POWER GYROTRON

National Accelerator Laboratory

National Accelerator LaboratoryFERMILAB-TM-1966

National Accelerator Laboratory

Accelerator and Fusion Research Division Lawrence Berkeley Laboratory University of California Berkeley, CA 94720

C0da-r I&9 Commissioning Experience with the PEP-XI Low-Level RF System*

GA A22712 DIII D ICRF HIGH VOLTAGE POWER SUPPLY REGULATOR UPGRADE

Specification of APS Corrector Magnet Power Supplies from Closed Orbit Feedback Considerations.

Design Implementation Description for the Digital Frequency Oscillator

Introduction to Radar Systems. Radar Antennas. MIT Lincoln Laboratory. Radar Antennas - 1 PRH 6/18/02

A DSP IMPLEMENTED DIGITAL FM MULTIPLEXING SYSTEM

($E.. DISCLAIMER. b C

GA A22577 AN ELM-RESILIENT RF ARC DETECTION SYSTEM FOR DIII D BASED ON ELECTROMAGNETIC AND SOUND EMISSIONS FROM THE ARC

Test Results of the HTADC12 12 Bit Analog to Digital Converter at 250 O C

The Development of an Enhanced Strain Measurement Device to Support Testing of Radioactive Material Packages*

1997 Particle Accelerator Conference, Vancouver, B.C., Canada, May 12-16, 1997 BNL

PEP-I11Magnet Power Conversion Systems:.

DEVELOPMENT OF THE PULSE TRANSFORMER FOR NLC KLYSTRON PULSE MODULATOR* Abstract

Data acquisition and instrumentation. Data acquisition

Acceleration of High-Intensity Protons in the J-PARC Synchrotrons. KEK/J-PARC M. Yoshii

Positron Beam Position Measurement for a Beam Containing Both Positrons and Electrons *

k SLAC-PUB-7583 July 1997 Co/vF PULSE TRANSFORMER R&D FOR NLC KLYSTRON PULSE MODULATOR*

Design and performance of LLRF system for CSNS/RCS *

Five years of operational experience with digitally controlled Power Supplies for beam control at the Paul Scherrer Institut (PSI)

LV-Link 3.0 Software Interface for LabVIEW

The ACT External HEPA Push-Through Filter Assembly. A. A. Frigo, S. G. Wiedmeyer, D. E. Preuss, E. F. Bielick, and R. F. Malecha

Development of utca Hardware for BAM system at FLASH and XFEL

High-]FrequencyElectric Field Measurement Using a Toroidal Antenna

Design of Kickerhiurnper Magnet and PF'N for PAR

A Synchrotron Phase Detector for the Fermilab Booster

Low-Level RF. S. Simrock, DESY. MAC mtg, May 05 Stefan Simrock DESY

ROM/UDF CPU I/O I/O I/O RAM

FMC ADC 125M 14b 1ch DAC 600M 14b 1ch Technical Specification

GA A22583 FAST WAVE ANTENNA ARRAY FEED CIRCUITS TOLERANT OF TIME-VARYING LOADING FOR DIII D

GA A SOLID-STATE HIGH VOLTAGE MODULATOR WITH OUTPUT CONTROL UTILIZING SERIES-CONNECTED IGBTs by J.F. TOOKER and P. HUYNH

Re-commissioning the Recycler Storage Ring at Fermilab

Hardware-in-the-Loop Testing of Wireless Systems in Realistic Environments

Section 1. Fundamentals of DDS Technology

Detection of Targets in Noise and Pulse Compression Techniques

IMU integration into Sensor suite for Inspection of H-Canyon

GA A23983 AN ADVANCED COLLABORATIVE ENVIRONMENT TO ENHANCE MAGNETIC FUSION RESEARCH

SOLID-STATE MODULATORS FOR RF AND FAST KICKERS

U.S. DEPARTMENT OF ENERGY. YlAMT-485 Y-I 2. Project Accomplishment Summary for Project Number 92-Y12P-013-B2 HYDROFORMING DESIGN AND PROCESS ADVISOR

Appendix B. Design Implementation Description For The Digital Frequency Demodulator

Note Using the PXIe-5785 in a manner not described in this document might impair the protection the PXIe-5785 provides.

8-Bit, high-speed, µp-compatible A/D converter with track/hold function ADC0820

Up-conversion Time Microscope Demonstrates 103x Magnification of an Ultrafast Waveforms with 300 fs Resolution. C. V. Bennett B. H.

Digital Logic, Algorithms, and Functions for the CEBAF Upgrade LLRF System Hai Dong, Curt Hovater, John Musson, and Tomasz Plawski

AN ELM=RESlLlENT RF ARC DETECTION SYSTEM FOR DIII-D BASED ON ELECTROMAGNETIC AND SOUND EMISSIONS FROM THE ARC

Reducing space charge tune shift with a barrier cavity

DISCLAIMER. Portions of this document may be illegible in electronic image products. Images are produced from the best available original document.

FlexDDS-NG DUAL. Dual-Channel 400 MHz Agile Waveform Generator

Introduction to Radar Systems. Clutter Rejection. MTI and Pulse Doppler Processing. MIT Lincoln Laboratory. Radar Course_1.ppt ODonnell

Nanosecond, pulsed, frequency-modulated optical parametric oscillator

GRETINA. Electronics. Auxiliary Detector Workshop. Sergio Zimmermann LBNL. Auxiliary Detectors Workshop. January 28, 2006

SIGNAL RECOVERY. Model 7265 DSP Lock-in Amplifier

UNIT 2. Q.1) Describe the functioning of standard signal generator. Ans. Electronic Measurements & Instrumentation

Optical Control, Diagnostic and Power Supply System for a Solid State Induction Modulator

Signal Forge 2500M Frequency Expansion Module. 1.5 GHz to 2.6 GHz. User Manual

Los Alamos. DOE Office of Scientific and Technical Information LA-U R-9&%

Hello, and welcome to this presentation of the STM32 Digital Filter for Sigma-Delta modulators interface. The features of this interface, which

THE MEASURED PERFORMANCE OF A 170 GHz REMOTE STEERING LAUNCHER

Four-Channel Sample-and-Hold Amplifier AD684

AN-742 APPLICATION NOTE One Technology Way P.O. Box 9106 Norwood, MA Tel: 781/ Fax: 781/

DESIGN OF GLOBAL SAW RFID TAG DEVICES C. S. Hartmann, P. Brown, and J. Bellamy RF SAW, Inc., 900 Alpha Drive Ste 400, Richardson, TX, U.S.A.

Multiple Instrument Station Module

Current Mode PWM Controller

CHAPTER 7 HARDWARE IMPLEMENTATION

50 MHz Voltage-to-Frequency Converter

Evaluation of Roof Bolting Requirements Based on In-Mine Roof Bolter Drilling

Recent advances in ALAMO

AN IN-LINE POWER MONITOR FOR HE11 LOW LOSS TRANSMISSION LINES

Using an FPGA based system for IEEE 1641 waveform generation

Ultra-high-speed Interconnect Technology for Processor Communication

High Speed PWM Controller

utca for SPS 200MHz Low Level RF Upgrade

Frequency Response Analyzers for Stability Analysis and Power Electronics Performance Testing

GA A22897 QUASI-OPTIC COMPONENTS IN OVERSIZED CORRUGATED WAVEGUIDE FOR MILLIMETER-WAVE TRANSMISSION SYSTEMS

Racal Instruments. Product Information

GA A22776 THE DESIGN AND PERFORMANCE OF WAVEGUIDE TRANSMISSION LINE COMPONENTS FOR PLASMA ELECTRON CYCLOTRON HEATING (ECH) SYSTEMS

Enabling Accurate Differential Calibration of Modern GPS Receivers

Argonne National Laboratory P.O. Box 2528 Idaho Falls, ID

When input, output and feedback voltages are all symmetric bipolar signals with respect to ground, no biasing is required.

by T.E. HARRIS, J.C. ALLEN, W.P. CARY, S.W. FERGUSON,* C.C. PETTY, and R.I. PINSKER

Victor S. Reinhardt and Charles B. Sheckells Hughes Space and Communications Company P. O. Box 92919, Los Angeles, CA 90009

Current Mode PWM Controller

Controlling Changes Lessons Learned from Waste Management Facilities 8

Performance of Keck Adaptive Optics with Sodium Laser Guide Stars

NJ88C Frequency Synthesiser with non-resettable counters

Introduction to Radar Systems. The Radar Equation. MIT Lincoln Laboratory _P_1Y.ppt ODonnell

CHAPTER 4 HARDWARE DEVELOPMENT OF STATCOM

THE 110 GHz MICROWAVE HEATING SYSTEM ON THE DIII D TOKAMAK

CERN (The European Laboratory for Particle Physics)

Increasing Performance Requirements and Tightening Cost Constraints

ZLAN-35 Applications of the ZL30406 and MT9046 SONET/SDH Linecard Solutions

Transcription:

Fermi National Accelerator Laboratory FERMILAB-Conf-95/087 MECAR (Main Ring Excitation Controller and Regulator): A Real Time Learning Regulator for the Fermilab Main Ring or the Main Injector Synchrotron R. Flora, K. Martin, A. Moibenko, H. Pfeffer, D. Wolff, P. Prieto, S. Hays Fermi National Accelerator Laboratory P.O. Bm 500, Batauia, Illinois 60510 April 1995 To be presented at the 1995 Particle Accelerator Conference, Dallas, Texas, May l-5, 1995 e Operated by Universities Research Association Inc. under Contract No. DE-AC02-76CH03000 with the United States Department of Energy

Disclaimer This report was prepared as an account of work sponsored by an agency of the United States Government. Neither the United States Government nor any agency thereof, nor any of their employees, makes any warranty, express or implied, or assumes any legal liability or responsibility for the accuracy, completeness, or usefulness of any information, apparatus, product, or process disclosed, or represents that its use would not infringe privately owned rights. Reference herein to any specific commercial product, process, or service by trade name, trademark, manufacturer, or otherwise, does not necessarily constitute or imply its endorsement, recommendation, or favoring by the United States Government or any agency thereof. The views and opinions of authors expressed herein do not necessarily state or reflect those of the United States Government or any agency thereof

MECAR (Main Ring Excitation Controller and Regulator): A Real Time Learning Regulator For The Fermilab Main Ring Or The Main Injector Synchrotron. R. Flora. K. Martin. A. Moibenko. H. Pfeffer, D. Wolff, P. Prieto, S. Hays, Fermilab*, Batavia, IL 60510, tisa ABSTRACT The real time computer for controlling and regulating the FNAL Main Ring power supplies has been upgraded with a new learning control system. The learning time of the system has been reduced by an order of magnitude, mostly through the implementation of a 95 tap FIR filter in the learning algorithm. The magnet system consists of three buses, which must track each other during a ramp from 100 to 1700 amps at a 2.4 second repetition rate. This paper will present the system configuration and the tools used during development and testing. 1. INTRODUCTION The Fermi National Accelerator Laboratory Main Ring is used as an injector to either the Tevatron or the Antiproton Source. The Main Ring accepts 8 GeV beam from the Booster and accelerates the beam to either 150 GeV for use in the Tevatron or to 120 GeV for antiproton production. MECAR is an upgrade consisting of new computer hardware, current sensing equipment, and software. The power system consists of three buses: one dipole bus with twenty-five power supplies and two quadrupole buses each having four supplies. Each power supply is a filtered 12 pulse SCR converter rated at +850 V and 3 KA. The dipole bus has a total inductance of 6 Henrys and a resistance of 6 Ohms. Each quad bus is.2 Henry and 1 Ohm. Both quadruple buses are required to track the dipole bus while the current is ramped from 100 amps to either 1,360 (120 GeV) for the production of antiprotons, or 1,700 amps (150 GeV) for Tevatron injection. MECAR provides reference waveforms for all the power supplies and performs the real time current feedback for all three magnet buses. In addition, MECAR executes the cycle to cycle learning algorithms to further minimize regulation errors, and interfaces with the accelerator control system. In about three years the Fermilab Main Ring will be upgraded to a new synchrotron known as the Main Injector. MECAR will be relocated to the Main Injector when needed and has been constructed to be compatible with both machines. 2. TRANSDUCTOR HARDWARE LAYOUT Current signals are provided to MECAR through a set of DCCT s and subtraction electronics similar to other current regulation systems at Fermilab. These DCCT s any temperature stabilized and have an initial offset accuracy of ~100 ppm with a long term drift stability of 510 ppm. Dual transductors are installed for redundancy (see Figure #I). For the bend bus, a high resolution current error signal is generated by subtraction electronics taking the difference between the transductor signal and the output of a temperature stabilized D/A converter. With a gain of 100, this 21 bit equivalent signal is sent back to MECAR. The quadrupole current is measured with a difference transductor which subtracts the quad current from the bend current. This high resolution signal is used to regulate the quad bus current. Figure #I Bus Transductor Configuration 3. MECAR COMPUTER HARDWARE The MECAR computer is made up of a 20-slot, 6U VME crate and various VME cards. A short description of the more important VME cards follows: *Five CPU Boards: 25MHz 68040,16MB RAM, ethernet *Two Timer Boards: Clock decoding, timing and delay counters, 4 interrupt channels, in-house design *Two Digital I/O Boards: 64-bit and 48-bit digital I/O boards, 8-bit programmable ports ADC Board: 16-bit, 64 Channel, 19uSec conversion time per channel, VME interrupt ability *Power Supply Link Receiver and Transmitter Boards: lombit, serial, unidirectional, proprietary data link, in-house design It should be noted that some difficulty was encountered using the 68040 floating point processor in real time. Unmaskable interrupts are generated in response to simple underflows and overflows. These interrupts cause unacceptable performance degradation and even real time failure. The problem must be solved using explicit bounds checking throughout the real time signal processing. 4. MECAR SOFTWARE 4. I. Sofiare Development Tools * Work supported by the U.S. Department of Energy under contract No. DE-AC02-76CH03000.

Each of the CPU Boards are running Wind River Systems, Inc. VxWorks Real Time Operating System version 5.1.1. The VxWorks Development platform is an HP 9000 Model 735 Workstation. The version control for the C and 68k assembly language source code is done using the UNIX Source Code Control System (SCCS). (BEND, HORZ, and VERT) simultaneously and independently. Here regulation is accomplished with feedback and feedforward learning. The drive voltage is dispersed to successive tiers of power supplies in such a way as to minimize the voltage to ground seen by the magnets, and minimize reactive power, but allow sufficient slew time. 4.2. Subsystem Communication Communication to MECAR is supported through two different mechanisms. The first is via Remote Procedure Calls (RPC), a protocol which is supported by VxWorks. An RPC driver Virtual Instrument (VI) interface was developed inhouse for National Instrument Corp. s LabVIEW@. LabVIEW s powerful and efficient environment was used extensively during development for reading and setting all manner of parameters. Many VI s have been made for engineering development, control, and diagnostics. Once MECAR becomes operational, LabVIEW VI s will only be used for engineering parameters and some debugging functions. The second communication mechanism is the Accelerator Controls Network (ACNET). ACNET is a proprietary communication protocol which is used at Fermilab for all Control and Operational network communications. ACNET software is running in one of the five CPU boards in MECAR. Server RPC software written to support LabVIEW VI s during development is reused, whenever possible, by making client RPC calls from ACNET routines. Client RPC s are used by ACNET routines to communicate with the other four CPU boards in the MECAR VME crate. The RPC s use a Shared Memory Network supported by VxWorks, which is a TCP/IP network running over the VME backplane. All real time communication between the CPU boards is done using shared memory over the VME bus. 4.3. MECAR Timing I Synchronization The sample rate of the real-time code in MECAR is 1440Hz. The sampling interrupt is generated by a software controlled oscillator (SCO) which is phase locked to a 72OHz event on the accelerator clock system (TCLK). A phase-lock loop (PLL) is used to isolate MECAR from variations in the accelerator clock. 4.4. Signal Processing A parallel 4 stage pipeline architecture is used for real time signal processing (see Figure #2). Assembly language is used to achieve 50% bandwidth utilization. The first stage is a hardware MADC triggered directly by the Phase Lock Loop (PLL). A VME interrupt from the MADC starts the second stage which executes in the System Program And Measure (SPAM) processor. System program information from the Accelerator Control System specifies all current waveforms. These programmatic signals are compared with transductor measurements from the MADC to determine the error in each of the 3 guide field buses. These error signals are passed on to the third stage which executes in each of the 3 bus controller processors f HORZ F=! VERT Figure #2 Execution Pipeline (time -->) The last stage is used for development, diagnostics, and monitoring. Execution begins in the emulator (EMUL) processor after it has received an interrupt from each of the three Bus Controllers and basically emulates the response of the magnet load and power supply system for testing purposes. This load emulation has proven to be invaluable during development and commissioning. 4.5. Regulation 1 y$y&r Figure #3 r-:- Cleansmg Control Signal Flow r \ PS + System A precalculated feedforward voltage program (Vprog in Figure #3) will drive the load to within +_l% of the reference waveform. The feedback loop (outer loop including the IIR filter in Figure #3) will bring it to within +SOO ppm. The feedforward learning (inner part of Figure #3) further reduces the error to _+30 ppm of maximum current. Feedforward learning is done by adding an update waveform, V,(t), to the power supply voltage drive. It is incremented each accelerator cycle by the sum of two signals: the real-time

voltage feedback applied during the previous cycle plus the Finite Impulse Response filters are ideal for voltage calculated to compensate for the measured current error. feedforward learning because they can be implemented with High frequencies of the new update waveform are attenuated for absolutely no phase distortion or delay of any kind, by making stability purposes with a FIR filter. Mathematically: them symmetric in the time domain. Currently a basic 95 tap FIR filter (see Figure #4) is being used to insure learning v ut> = hr( v,(t) + b(t) + ia(t) + RI&) ) stability. A roll off at 30 Hz is chosen to match the frequency where the new update V,,(t) is calculated from the old update at which transmission line modes start to dominate in the bend V,,(t), the old feedback V,(t), and the old error I,,(t). bus. 4.5.1. Feedback and Learning Interaction Feedback can react to non-repetitive transient errors, but it can t anticipate errors; it has a finite phase delay. Feedforward learning, on the other hand, can anticipate errors, but only repetitive ones; it has no phase delay. When feedback and learning are connected properly, system stability separates into two domains: the time continuous domain for feedback, and the cycle to cycle iteration domain for learning. From a feedback stability point of view, the only effect of the learning is that the feedforward voltage program happens to be different on successive cycles. Within a cycle, on a time continuous basis, feedback stability is governed by classical theory. From a learning point of view, the new corrective learning signal is determined from the previous error signal. This error signal resulted while the previous feedback was present. Therefore, this new corrective signal must be applied with the previous feedback signal. The correction signal that is applied to the next cycle is the sum of the calculated voltage needed to correct the previously measured error and the corresponding previous feedback signal. 4.5.2. Feedforward Learning Stability 5. TESTING Due to the desire to maximize the physics output of the accelerator complex during the past six months, very little time has been available to test MECAR with the power supply system. However, with the time that has been available, MECAR has successfully operated and accelerated Main Ring beam. During these tests the learning algorithms have shown to be effective in 1 or 2 machine cycles. This represents a 10 fold decrease in learning time over the present system. If the load is well behaved and completely predictable out to the Nyquist frequency, then a load compensation filter, if sufficiently accurate, will render the learning system absolutely stable. However, this is not the case with a large magnet system having multiple power supplies and stretching out over 411 kilometers. As different power supplies turn on during the ramp cycle, changing transmission line effects of the distributed magnet system make the high frequency behavior of the load intractable. Simply attenuating these frequencies in the load compensation and feedback signal is insufficient to make learning stable, because even the smallest error leakage will eventually accumulate in the updates and run away. The accumulated voltage correction must be cleansed of these frequencies on a regular basis. It can be shown that if transmission of the cleansing filter, a(f), satisfies: for all frequencies at which the load is unpredictable, then the learning will be stable. Where Z,,,,(f) is the actual load impedance, Z,,,(f) is the feedback IIR filter and gain impedance, and Zcomp(f) is the load compensation impedance. 4.5.3. Use of FIR Filters for Learning i Fre&mcy [Hz1 100 1600 Figure #4 Cleansing FIR Filter Frequency Response 6. CONCLUSION It has been proven that it is possible to build a feedfonvard learning controller that essentially learns in one repetition cycle. With attention to load filter accuracy and cleansing filter bandwidth, one can make such a system absolutely stable. 7. ACKNOWLEDGMENTS We wish to acknowledge the very able help of the following people who built various components of the MECAR system: C. Briegel, B. Claypool, B. Lublinsky, 0. Payne, K. Woodbury, and G. Wu. 8. REFERENCES S. Hays, D. Wolff and H. Pfeffer Fermilab, Power Supply Regulation Systems Installed in the Fermilab Accelerators IEEE Nuclear Science Svmuosium November 1991