Red Pitaya with EPICS Andraz Pozar EPICS Collaboration Meeting

Slides:



Advertisements
Similar presentations
Controller Tests Stephen Kaye Controller Test Motivation Testing the controller before the next generation helps to shake out any remaining.
Advertisements

StreamBlade SOE TM Initial StreamBlade TM Stream Offload Engine (SOE) Single Board Computer SOE-4-PCI Rev 1.2.
Mark Heron Diamond Light Source Oct 2007 EPICS EPICS Interface to the Libera Electron Beam Position Monitor.
ICS Test Environment Alexander Söderqvist Dec 9, 2014.
This lesson covers the following outcomes Unit 54 P1, P7, P8 Unit 6 P10, P11.
Experimental set-up at E.S.R.F. L. Farvacque. 1/04/2004L. Farvacque - E.S.R.F.2 Experimental set-up Hardware Kickers Bpms Software Data acquisition processing.
Analog to Digital Conversion. 12 bit vs 16 bit A/D Card Input Volts = A/D 12 bit 2 12 = Volts = Volts = 2048 −10 Volts = 0 Input Volts.
Oscilloscope Watch Teardown. Agenda History and General overview Hardware design: – Block diagram and general overview – Choice of the microcontroller.
Using an FPGA to Control the Protection of National Security and Sailor Lives at Sea Brenda G. Martinez, Undergraduate Student K.L. Butler-Purry, Ph.D.,
Test of LLRF at SPARC Marco Bellaveglia INFN – LNF Reporting for:
Elliot Buller Luke Ciavonne Mehdi Mehrpartou Advisor: Dr. Steven Reising.
Using FPGAs with Embedded Processors for Complete Hardware and Software Systems Jonah Weber May 2, 2006.
Group: CCM Project 1.2. EMERSON Emerson is a diversified global manufacturing company.  Provides innovative solutions to customers in the following areas:
Wir schaffen Wissen – heute für morgen 24 August 2015PSI,24 August 2015PSI, Paul Scherrer Institut Status WP 8.2 RF Low Level Electronic Manuel Brönnimann.
APS BPM and power supply applications on micro-IOCs W. Eric Norum
Electronics for PS and LHC transformers Grzegorz Kasprowicz Supervisor: David Belohrad AB-BDI-PI Technical student report.
High Speed Data Converter University
DLS Digital Controller Tony Dobbing Head of Power Supplies Group.
Font 4 Review Digital Feedback System BPM Analogue Processor Digital Processor Feather Kicker Power Amplifier Pick up StriplinesKicker StriplinesBeam.
5A BOARD TESTS TALITHA BROMWICH Friday, 20 March Talitha Bromwich, FONT Group Meeting DIG IN THRESHOLDS ADC LEVELS FROM STARTUP GENERAL INPUT/OUTPUT.
EPICS Developments at the Australian Synchrotron DSP EPICS driver for the General Standards 16AIO analog card EPICS driver for the Galil range of motor.
Understanding Data Acquisition System for N- XYTER.
LNL 1 SLOW CONTROLS FOR CMS DRIFT TUBE CHAMBERS M. Bellato, L. Castellani INFN Sezione di Padova.
Overview What is Arduino? What is it used for? How to get started Demonstration Questions are welcome at any time.
The microIOC Family Gasper Pajor EPICS Collaboration Meeting Argonne National Laboratory June 2006.
Features of the new Alibava firmware: 1. Universal for laboratory use (readout of stand-alone detector via USB interface) and for the telescope readout.
Fast Fault Finder A Machine Protection Component.
Present Uses of the Fermilab Digital Signal Receiver VXI Module Brian Chase,Paul Joireman, Philip Varghese RF Embedded Systems (LLRF) Group.
Connecting EPICS with Easily Reconfigurable I/O Hardware EPICS Collaboration Meeting Fall 2011.
A commercially available digitization system Fotiou Andreas Andreas Fotiou.
2/June/2009LHCb Upgrade1 Single ended ADC Differential ADC –Convert single ended signal to differential (use AD8138 amp) –ASIC differential output ADC.
Notes on visit to Rome 28/04/2014 Christian Joram Szymon Kulis Samir Arfaoui.
SA developed mini-PCIe IO card By Peet Smit. RS282 x8 USB x4 WLAN Video Capture LVDS Display SATA x4 mSATA-half LAN x2 3G & SIMM Digital IO.
Monitoring Dynamic IOC Installations Using the alive Record Dohn Arms Beamline Controls & Data Acquisition Group Advanced Photon Source.
Integrating Advantech PCI I/O cards into EPICS. Outline ANTARES computer control and data acquisition systems architecture STAR computer control and data.
FUNCTION GENERATOR.
ESS Timing System Plans Timo Korhonen Chief Engineer, Integrated Control System Division Nov.27, 2014.
Electronic Devices and Circuit Theory
MADEIRA Valencia report V. Stankova, C. Lacasta, V. Linhart Ljubljana meeting February 2009.
Digital Acquisition: State of the Art and future prospects
Voice Controlled Robot by Cell Phone with Android App
DAQ ACQUISITION FOR THE dE/dX DETECTOR
AT Commands Supports AT commands
Baby-Mind SiPM Front End Electronics
SLC-Aware IOC LCLS Collaboration Jan 26, 2005
Commissioning the SIS3316 Digitizer
Principles of Information Technology
SLS Timing Master Timo Korhonen, PSI.
96-channel, 10-bit, 20 MSPS ADC board with Gb Ethernet optical output
Chapter 13 Linear-Digital ICs
Firmware Structure Alireza Kokabi Mohsen Khakzad Friday 9 October 2015
Operational Description
BCTW calibration status and future
MVL-supported Virtual Instrument Specifications
This chapter provides a series of applications.
ME3200 ELECTRONIC INSTRUMENTATION AND MEASUREMENT (INDUCTION PROGRAM) [Slide 3] Function/Arbitrary Waveform Generator BY DREAMCATCHER
Table 1: The specification of the PSICM and the ePSICM Prototypes
Status of Fast Controller EPICS Supports for ITER Project
Neurochip3.
Commodity Flash ADC-FPGA Based Electronics for an
Low Level RF Status Outline LLRF controls system overview
asyn Driver Tutorial Measurement Computing 1608GX-2A0
Interfacing Data Converters with FPGAs
Read Out and Data Transmission Working Group
Low Level RF Status Outline LLRF controls system overview
Implementation of a GNSS Space Receiver on a Zynq
SLS & Diamond Timing System update
Progress on the 40 MHz SEU Test System based on DE2 Board
quadEM: New Beam Position Monitor & Electrometer Hardware and Software
Readout Systems Update
Presentation transcript:

Red Pitaya with EPICS Andraz Pozar EPICS Collaboration Meeting Melbourne 12 – 16/11/18

What is Red Pitaya? “Swiss army knife for engineers” – redpitaya.com CPU: Dual core ARM Cortex A9+ FPGA FPGA: Xilinx Zynq 7010 SoC I/O 2 RF inputs and outputs with: Sample rate: 125 MS/s ADC resolution: 14 bits Connector type: SMA 2 configurable voltage ranges: +-1 V or +-20 V Bandwidth: 50 MHz 4 slow ADCs, 4 slow DACs 16 digital I/Os

What is Red Pitaya? Software Debian OS Shipped with a suite of tools available via website. Web server is hosted on Red Pitaya SCPI server (avoid)

What Red Pitaya Isn’t! Developed to be used in industrial environment. It is sold as an electronics enthusiast toolbox Uses SD card for the OS image Realistically 12 bit ADC resolution at higher sampling rates Not sure about radiation resilience Quite a few bugs in the API SCPI interface has (had) misleading documentation and is (was) in general broken

When in doubt, write your own!

Red Pitaya asyn port driver - acquisition Fast inputs 16354 elements per channel in a waveform Trigger sources: Soft Threshold on one of the fast input channels External 3.3 V Acquisition modes: Single shot Continuous Acquisition setup: Decimation Sampling rates Averaging

Red Pitaya asyn port driver - generation Fast outputs 16354 elements per channel in a waveform Trigger sources: Soft, external 3.3 V Generated signal characteristics: Amplitude, offset, frequency, phase Generated signal types: Standard stuff (square, sine, triangle, ramp, …) Arbitrary Acquisition modes: Burst Configurable number of signal repetitions in one burst Configurable number of burst repetitions Configurable duration of one burst Continuous

Building the IOC Can be built on the Red Pitaya itself (faster with cooling shield) 20 minutes for EPICS base 5 minutes for asyn 1 minute for the IOC Cross compile We use this option for our production environment Instructions on how to do it are no github (link on the last slide)

Running the IOC SCPI service needs to be turned off NGINX service needs to be turned off or you get funny behavior FPGA image needs to be loaded before the IOC is started Standard EPICS environment variables need to be set up IOC needs to be run as root

Usage at the AS As a data acquisition device: As a signal generator: We use it to monitor pulse profiles of booster to storage ring kicker magnets As a signal generator: It generates a custom waveform used to ramp up the booster RF. We utilize the burst option to generate 16k signal point ramp once a second

Conclusion Decent little board with a nice array of I/O Cheap: 320 EUR Seems to be very reliable once you hack your way around the API Bear in mind that it was not meant to be used in industrial environment. With that in mind, the driver is only tested on one version of the firmware and I’m afraid to test it on anything else  Code: https://github.com/AustralianSynchrotron/redpitaya-epics Pull requests and issues are welcome and encouraged

Thank you