Implementing Audio Digital Feedback Loop Using the National Instruments RIO System

Similar documents
ARCHIVES: Benchmarking Single-Point Performance on National Instruments Real-Time Hardware

MRI & NMR spectrometer

RF Locking of Femtosecond Lasers

FTMS Booster X1 High-performance data acquisition system for FT-ICR MS

M8195A 65 GSa/s Arbitrary Waveform Generator

A DSP IMPLEMENTED DIGITAL FM MULTIPLEXING SYSTEM

Design considerations for the RF phase reference distribution system for X-ray FEL and TESLA

LLRF4 Evaluation Board

Spectral Monitoring/ SigInt

Digital Self Excited Loop Implementation and Experience. Trent Allison Curt Hovater John Musson Tomasz Plawski

FPGA-BASED PULSED-RF PHASE AND AMPLITUDE DETECTOR AT SLRI

PXIe Contents CALIBRATION PROCEDURE. Reconfigurable 6 GHz RF Vector Signal Transceiver with 200 MHz Bandwidth

ABSTRACT 1 CEBAF UPGRADE CAVITY/CRYOMODULE

Development of utca Hardware for BAM system at FLASH and XFEL

VLSI Implementation of Digital Down Converter (DDC)

Low Cost Labview Based Sensor Simulation

Channelization and Frequency Tuning using FPGA for UMTS Baseband Application

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

TESTING SYSTEM FOR ANALOG DEVICES DIRECT DIGITAL SYNTHESIZER

Wideband Spectral Measurement Using Time-Gated Acquisition Implemented on a User-Programmable FPGA

Digital Dual Mixer Time Difference for Sub-Nanosecond Time Synchronization in Ethernet

Direct Digital Down/Up Conversion for RF Control of Accelerating Cavities

Reconfigurable 6 GHz RF Vector Signal Transceiver with 1 GHz Bandwidth

Faculty of Information Engineering & Technology. The Communications Department. Course: Advanced Communication Lab [COMM 1005] Lab 6.

Fast and Accurate RF component characterization enabled by FPGA technology

Femtosecond Synchronization of Laser Systems for the LCLS

PXIe Contents. Required Software CALIBRATION PROCEDURE

On-Chip Implementation of Cascaded Integrated Comb filters (CIC) for DSP applications

Chapter 5. Tracking system with MEMS mirror

FLASH rf gun. beam generated within the (1.3 GHz) RF gun by a laser. filling time: typical 55 μs. flat top time: up to 800 μs

SDR14TX: Synchronization of multiple devices via PXIe backplane triggering

Software Design of Digital Receiver using FPGA

RF and Microwave Test and Design Roadshow Cape Town & Midrand

EMBEDDED DOPPLER ULTRASOUND SIGNAL PROCESSING USING FIELD PROGRAMMABLE GATE ARRAYS

ni.com The NI PXIe-5644R Vector Signal Transceiver World s First Software-Designed Instrument

DAB+ Voice Break-In Solution

An Overview of the Decimation process and its VLSI implementation

Differential Amplifiers

Laboratory Assignment 1 Sampling Phenomena

Effects of Intensity and Position Modulation On Switched Electrode Electronics Beam Position Monitor Systems at Jefferson Lab*

SpectraTronix C700. Modular Test & Development Platform. Ideal Solution for Cognitive Radio, DSP, Wireless Communications & Massive MIMO Applications

DIGITAL FILTERING OF MULTIPLE ANALOG CHANNELS

Keysight Technologies Pulsed Antenna Measurements Using PNA Network Analyzers

How different FPGA firmware options enable digitizer platforms to address and facilitate multiple applications

GFT Channel Digital Delay Generator

An FPGA Based Architecture for Moving Target Indication (MTI) Processing Using IIR Filters

ULTRA-LOW NOISE TWO CHANNEL NOISE MEASUREMENT SYSTEM

Lab 8 D/A Conversion and Waveform Generation Lab Time: 9-12pm Wednesday Lab Partner: Chih-Chieh Wang (Dennis) EE145M Station 13

QUAD PROGRAMMABLE FILTER/AMPLIFIERS For the and Signal Conditioning Systems

GFT1504 4/8/10 channel Delay Generator

FST-001-B Fiber Stretcher. Operation Manual

THIS work focus on a sector of the hardware to be used

Fundamentals of Arbitrary. Waveform Generation

AM Stabilized RF Amplifier Driver

M8190A 12 GSa/s Arbitrary Waveform Generator

Design and performance of LLRF system for CSNS/RCS *

PXI Vector Signal Transceivers

ME375 Lab Project. Bradley Boane & Jeremy Bourque April 25, 2018

Reconfigurable 6 GHz Vector Signal Transceiver with I/Q Interface

Extending the Offset Frequency Range of the D2-135 Offset Phase Lock Servo by Indirect Locking

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

An FPGA-based Re-configurable 24-bit 96kHz Sigma-Delta Audio DAC

NI 6013/6014 Family Specifications

BandPass Sigma-Delta Modulator for wideband IF signals

Fiber Pigtailed Variable Frequency Shifters Acousto-optic products

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

Designing Filters Using the NI LabVIEW Digital Filter Design Toolkit

ni.com Sensor Measurement Fundamentals Series

Analog I/O. ECE 153B Sensor & Peripheral Interface Design Winter 2016

Infinite Impulse Response Filters

Let`s get SIRIUS! SIRIUS Overview. SIRIUS from Dewesoft. SIRIUS Overview. The new hardware generation makes your measurement more precise!

SIGNAL RECOVERY. Model 7265 DSP Lock-in Amplifier

Appendix B. Design Implementation Description For The Digital Frequency Demodulator

Digital PWM IC Control Technology and Issues

Final Report (Group 15-22)

Amplitude and Phase Stability of Analog Components for the LLRF System of the PEFP Accelerator

SV2C 28 Gbps, 8 Lane SerDes Tester

DESIGN AND PERFORMANCE OF A SATELLITE TT&C RECEIVER CARD

Analog Electronics. Lecture. Op-amp Circuits and Active Filters. Muhammad Amir Yousaf

Team proposals are due tomorrow at 6PM Homework 4 is due next thur. Proposal presentations are next mon in 1311EECS.

RF and Microwave Test and Design Roadshow 5 Locations across Australia and New Zealand

Interpolation Filters for the GNURadio+USRP2 Platform

Positive Feedback and Oscillators

Experiment 8 Frequency Response

Borut Baricevic. Libera LLRF. 17 September 2009

PHYSICS 330 LAB Operational Amplifier Frequency Response

DEVELOPMENT OF A DLLRF USING COMERCIAL UTCA PLATFORM

Oversampled ADC and PGA Combine to Provide 127-dB Dynamic Range

Keywords: GPS, receiver, GPS receiver, MAX2769, 2769, 1575MHz, Integrated GPS Receiver, Global Positioning System

Developer Techniques Sessions

A10-Gb/slow-power adaptive continuous-time linear equalizer using asynchronous under-sampling histogram

Advances in RF and Microwave Measurement Technology

USB Dynamic Signal Acquisition

Measurement & Control of energy systems. Teppo Myllys National Instruments

Problem Point Value Your score Topic 1 28 Discrete-Time Filter Analysis 2 24 Improving Signal Quality 3 24 Filter Bank Design 4 24 Potpourri Total 100

Let`s get SIRIUS! SIRIUS Overview. SIRIUS from Dewesoft. SIRIUS Overview. The new hardware generation makes your measurement more precise!

9 Best Practices for Optimizing Your Signal Generator Part 2 Making Better Measurements

24-Bit, ks/s Dynamic Signal Acquisition and Generation

FREIA Facility for Research Instrumentation and Accelerator Development Infrastructure and Control Architecture

Comprehensive Ultrasound Research Platform

Transcription:

Implementing Audio Digital Feedback Loop Using the National Instruments RIO System G. Huang, J. M. Byrd LBNL. One cyclotron Rd. Berkeley,CA,94720 Abstract. Development of system for high precision RF distribution and laser synchronization at Berkeley Lab has been ongoing for several years. Successful operation of these systems requires multiple audio bandwidth feedback loops running at relatively high gains. Stable operation of the feedback loops requires careful design of the feedback transfer function. To allow for flexible and compact implementation, we have developed digital feedback loops on the National Instruments Reconfigurable Input/Output (RIO) platform. This platform uses an FPGA and multiple I/Os that can provide eight parallel channels running different filters. We present the design and preliminary experimental results of this system. Keywords: synchronization, digital feedback, reconfigurable I/O, FPGA INTRODUCTION Development of systems for high precision RF distribution and laser synchronization at Berkeley Lab has been ongoing for several years [1]. These systems are based on distribution of an ultrastable clock signal over a stabilized link and local synchronization with either a laser or RF system. For example, the stabilized link uses an interferometric technique to stabilize the phase of an optical fiber for distribution of RF signals. Figure 1 shows an example of the stabilized transport with RF test signal. Multiple feedback loops will be required to stabilize multiple fibers or to stabilize two or more lasers. A digital feedback loop is designed to accomplish the work done by the analog filter, originally following the transfer function of the analog system but providing more flexibility in setting the position of zeros, poles and gain. For example, the piezo phase shifter used in the stabilized link has a resonance at about 18 khz. An analog filter and amplifier is designed to condition the signal from the mixer to the piezo driver and to achieve great result. However, the ability of digital filters to Figure 1 Stabilized Transport with RF Test Signal adapt to a wide variety of responses is useful because of the adaptability to the frequency response of numerous lasers used in this system. 359

The Reconfigurable I/O [2] is used to implement the digital filter, which contains 16-bits I/O and 1M gates FPGA. The design optimization and implementation of the digital and combined analog-digital system are present in this paper. LABVIEW AND RECONFIGURABLE I/O The digital filter is implemented on the National Instruments Reconfigurable Input/Output (RIO) platform. The hardware of the platform is shown in figure. 2, it including an 8-SLOT PXI Chassis (NI PXI-1042), a PXI embedded controller (NI PXI-8176), a Reconfigurable I/O (NI PXI-7831R) and a shielded I/O connector block (SCB-68). The software of the platform includes a LabVIEW full development system, LabVIEW real-time module and LabVIEW FPGA module. The embedded controller is used to communicate the PXI chassis and boards with a PC through ethernet connection. NI PXI-7831R is used to implement the digital filter and the program is written under LabVIEW platform. A RIO contains ADC, DAC, FPGA and relative support circuits. The ADC in the 7831R contains 8 analog input channels, 16-bit resolution, and 200kHz simultaneous-sampling rate. The DAC in the 7831R contains 8 analog output channel 16-bit resolution, 1MHz simultaneous update rate. It uses enhanced R-2R type DAC and has a glitch energy of Figure 2 NI RIO platforms -100mV for 3us at midscale transition. The FPGA used in the 7831R is a Xilinx FPGA which containing 1M gates and 40 built-in multipliers. The advantage of this approach is that it provides realtime parallel processing for 8 channels. The advantage of using LabVIEW is we can program the FPGA without knowledge about the hardware description language. DIGITAL FILTER DESIGN The feedback loop transfer function design is based on the analog filter used in the synchronization system. The transfer function of the analog system has one zero and two poles on the real axis. The required bandwidth is tens of khz. The transfer function of the analog filter is s z0 s 6060.61 T (s) = g = 1369 (1) ( s p 0)( s p1) ( s 58.84)( s 1000) Digital filter is designed to implement this transfer function. 1. Choice of filter: FIR or IIR? 360

A digital filter can be designed as FIR or IIR. The FIR has less phase distortion but takes more space and more delay. The number of multipliers in the FPGA is limited to 40 (16-bit multiply 16-bit). The delay of the system should be less than ~50us. The overall goal of the system is to implement 8 separate channels on one chip. When using the FIR filter, each channel can only have 5 taps, which is very poor response. By using the IIR filter to implement the filter, the phase response is not linear but can still follow the analog phase, except for a delay of ~10us. The delay from the ADC is 5us, and DAC is 1us. The internal clock of the FPGA is running at 40MHz. IIR is selected to implement the filter. 2. Filter structure selection The digital filter can be implemented by different structures. Typical structure includes: direct form I and it s transpose, direct form II and it s transpose, cascade form and parallel form. For the direct form, the poles are very sensitive to the parameters, and the parameters do not represent the pole directly. In our case, the poles are very near to 1; small round off error can make the system unstable. In the cascade form, the zeros and the poles can be adjusted separately. And for the parallel form, the poles can be adjusted separately, but the zeros cannot. The parallel form does calculations in parallel, so the speed is fastest and has minimal accumulated error. The cascade form and parallel form are implemented in the FPGA. 3. Digital only or combination of digital and analog The sample rate of the RIO is 200kHz maximum, so the Nyquest frequency of the system is 100kHz. The gain range of the analog filter over the band is 43dB (DC) through 53 db (Nyquest frequency). The digital system using 16-bit ADC and DAC, so it has a dynamic range of 90dB(1 bit for sign). That means if using the digital system to implement the filter directly, the transfer function will be distorted near DC and Nyquest frequency. By combining the digital system with a simple analog stage, one can resolve the problem. Adding an extra differential stage or a zero in the digital system and implementing an integrator or a pole analog can give the digital system enough dynamic range. 4. Digitizing the filter Bilinear transformation method is used to convert the given analog filter to a digital IIR filter. The parallel form of the digital filter can be express as Eq. 2. z0 p0 z0 p1 4gT 4gT T ( 2 z0t ) (2 p0t )( p0 p1)( 2 p0t ) (2 p1t )( p0 p1)( 2 p1t ) T bt ( z) = g ( 2 p 2 0T )( 2 p1t ) p0t 2 p1t 1 z 1 z 2 p0t 2 p1t 0.0436505 0.0368058 = 0.00337959 1 0.999706z 1 0.995012z. (2) 361

Because the RIO does not handle the floating-point number, the parameters in the digital filter have to be scaled as integers. Tbt ( z ) = 28350 * 2 23 19297 * 29 22886 * 29 26 1 z 19741* 2 z 1 z 20919 * 2 22. (3) 5. Implement unit cell The unit cell of a cascade form IIR filter is T ( z ) = a bz, when b=0, it becomes 1 cz the unit cell of a parallel form filter. When the zero and pole is near to 1, this means the b/a and c are very near to 1. a bz T ( z) = 1 cz a (1 z ) δ b z = (4) 1 z δ c z = (a bz ) I ( z ) In order to estimate the range of the intermediate result, the poles are dealt with first to get an intermediate result I(z). Figure 3. Implement Unit cell in LabVIEW Converting the filter parameter to a fix point expression, we have: a = Nka * 2 na ; b = Nkb * 2 nb ; c = Nkc * 2 nc. By selecting smaller Na, Nb and Nc, the numbers can be expressed more precisely. But the Nka, Nkb and Nkc have to be 16-bit integers in the FPGA, so selecting minimal Na, NB and Nc fixes the scale number. The range of the intermediate result I(z) is limited by x (z ) x( z ) and. Then a unit cell can be implemented as shown in figure 3. The 2 δc digital filter can be implemented by cascade or parallel this unit cell. 6. Filter implementation The one zero and two poles filter is implemented in LabVIEW FPGA module, and the related parameter can be set through a host module. The host and the FPGA VI are shown in figure 4. n The variable in the FPGA module and the calculation of 2 while n is a variable FPGA(left) and host(right) VI block diagram and front panel Figure 4. Host and FPGA VI for an IIR with adjustable poles and zero 362

will take more space in the FPGA. When the parameters of the filter are adjusted, the controls in the front panel should be replaced by a constant to save space in the FPGA The transfer function of the digital filter can be measured by a base band vector network analyzer. The amplitude and phase response of the digital filter following equation 1 are shown in figure 5. Different implementation structures of the filter are measured, including cascade form, parallel form and a combination of the digital filter with an external analog low pass filter. The analytical formula response is also shown in same figure. 60 Log Magnitude(dB) 40 20 0-20 -40 analyampdb casc1amp para1amp casc4anaamp Phase(degree) 150 100 50 0-50 casc1phs para1phs casc4anaphs analyphs90-100 -60-150 -80 10 100 1000 10000 100000-200 10 100 1000 10000 100000 Frequency(Hz) Frequency(Hz) Figure 5. Analytic and Measurement transfer function of the filter from analog system The transfer function measurement shows that the implemented digital filters agree with the formula we designed. The designed digital filter is inserted into the feedback loop of the synchronization system. Initial results are promising but further development is needed to demonstrate performance equal to that of the analog filter. CONCLUSIONS The operation of the optical synchronization system requires several audio band feedback loops. A digital filter based system is designed on the NI RIO system, which can provide an adjustable zero and poles. The transfer function measurement shows the filter works as predicted. ACKNOWLEDGMENTS We would like to acknowledge very helpful discussions with J. W. Staples, L. Doolittle, R. Wilcox. And thank K. M. Baptiste lending us the NI hardware and software. REFERENCES 1. R. Wilcox, J.W. Staples. Optical synchronizations system for femtosecond x-ray sources. http://repositories.cdlib.org/lbnl/lbnl-57559/ 2. National Instruments. http://www.ni.com/ 363