30kA IGBT EE switch PRR 29/02/2016, Mateusz Bednarek, TE/MPE-EE 30kA Energy Extraction Semi-Conductor Switch PRR: 29-02-2016 SM18 - CLUSTER D Software.

Slides:



Advertisements
Similar presentations
Yokogawa Network Solutions Presents:
Advertisements

System Integration and Performance
MC68HC11 System Overview. System block diagram (A8 version)
Data Acquisition Concepts Data Translation, Inc. Basics of Data Acquisition.
Oscilloscope Watch Teardown. Agenda History and General overview Hardware design: – Block diagram and general overview – Choice of the microcontroller.
1 VLPC system and Cosmic Ray test results M. Ellis Daresbury Tracker Meeting 30 th August 2005.
DSP online algorithms for the ATLAS TileCal Read Out Drivers Cristobal Cuenca Almenar IFIC (University of Valencia-CSIC)
Detector Array Controller Based on First Light First Light PICNIC Array Mux PICNIC Array Mux Image of ESO Messenger Front Page M.Meyer June 05 NGC High.
Distributed Control Systems Emad Ali Chemical Engineering Department King SAUD University.
Diffuse Optical Tomography Optimization and Miniaturization ECE 4902-Spring 2014 Thomas Capuano (EE&BME), Donald McMenemy (EE), David Miller (EE), Dhinakaran.
Electronics for PS and LHC transformers Grzegorz Kasprowicz Supervisor: David Belohrad AB-BDI-PI Technical student report.
Data Acquisition Data acquisition (DAQ) basics Connecting Signals Simple DAQ application Computer DAQ Device Terminal Block Cable Sensors.
DLS Digital Controller Tony Dobbing Head of Power Supplies Group.
1 of 23 Fouts MAPLD 2005/C117 Synthesis of False Target Radar Images Using a Reconfigurable Computer Dr. Douglas J. Fouts LT Kendrick R. Macklin Daniel.
Running EPICS on NI CompactRIO Initial Experience Eric Björklund (LA-UR )
J. Christiansen, CERN - EP/MIC
TE-MPE-EP, RD, 06-Dec QPS Data Transmission after LS1 R. Denz, TE-MPE-EP TIMBER PM WinCC OA Tsunami warning:
ATLAS DCS ATLAS DCS ELMB PRR, 4 Mar 2002, H.Boterenbrood 1 Software for the ELMB Henk Boterenbrood ATLAS DCS.
Features of the new Alibava firmware: 1. Universal for laboratory use (readout of stand-alone detector via USB interface) and for the telescope readout.
Acquisition Crate Design BI Technical Board 26 August 2011 Beam Loss Monitoring Section William Vigano’ 26 August
Fast Fault Finder A Machine Protection Component.
SDR 7 Jun Associated Electronics Package (AEP) Curtis Ingraham.
Software development Control system of the new IGBT EE switch.
GAN: remote operation of accelerator diagnosis systems Matthias Werner, DESY MDI.
DDRIII BASED GENERAL PURPOSE FIFO ON VIRTEX-6 FPGA ML605 BOARD PART B PRESENTATION STUDENTS: OLEG KORENEV EUGENE REZNIK SUPERVISOR: ROLF HILGENDORF 1 Semester:
Time Management.  Time management is concerned with OS facilities and services which measure real time.  These services include:  Keeping track of.
Rutherford Appleton Laboratory September 1999Fifth Workshop on Electronics for LHC Presented by S. Quinton.
Renesas Electronics Europe GmbH A © 2010 Renesas Electronics Corporation. All rights reserved. RL78 AD converter.
Eric Hazen1 Ethernet Readout With: E. Kearns, J. Raaf, S.X. Wu, others... Eric Hazen Boston University.
MADEIRA Valencia report V. Stankova, C. Lacasta, V. Linhart Ljubljana meeting February 2009.
Artificial Intelligence In Power System Author Doshi Pratik H.Darakh Bharat P.
Work on Muon System TDR - in progress Word -> Latex ?
DAQ ACQUISITION FOR THE dE/dX DETECTOR
Real-time Software Design
Use of FPGA for dataflow Filippo Costa ALICE O2 CERN
Design of a polyvalent robust isolated input channel
RF acceleration and transverse damper systems
Scrolling LCD using Arduino.
Outcome of BI.DIS Fast Interlocks Peer Review
Data providers Volume & Type of Analysis Kickers
Solid State Amplifier Development at PSI
2007 IEEE Nuclear Science Symposium (NSS)
Operating System.
SCADA for Remote Industrial Plant
Y.Chen1, B.J.Xiao1, 2, F.Wang1, S.Li1, F.Yang1, 3
Control and data acquisition system of the KTX device
96-channel, 10-bit, 20 MSPS ADC board with Gb Ethernet optical output
KRB proposal (Read Board of Kyiv group)
Injectors BLM system: PS Ring installation at EYETS
Ewald Effinger, Bernd Dehning
DCH FEE 28 chs DCH prototype FEE &
Chapter 2: System Structures
SLP1 design Christos Gentsos 9/4/2014.
How SCADA Systems Work?.
BCTW calibration status and future
NI-sbRIO BASED PLATFORM FOR REAL TIME SPECTROSCOPY
Magnet Safety System for NA61/Shine
TORQUE MEASURMENT.
Development of built-in diagnostics in the RADE framework (EN2746)
Chapter 7 Features and Interfacing of Programmable Devices for 8085 based systems.
Marek Morawski, Hanna Rothkaehl Space Research Centre PAS
Status of Fast Controller EPICS Supports for ITER Project
TB8100 Technical Training July 2005
A Comparison of Field Programmable Gate
Combiner functionalities
M. Kezunovic (P.I.) S. S. Luo D. Ristanovic Texas A&M University
Command and Data Handling
Course Code 114 Introduction to Computer Science
Power monitoring software
Presentation transcript:

30kA IGBT EE switch PRR 29/02/2016, Mateusz Bednarek, TE/MPE-EE 30kA Energy Extraction Semi-Conductor Switch PRR: SM18 - CLUSTER D Software and signal conditioning Mateusz Bednarek TE-MPE-EE 1

30kA IGBT EE switch PRR 29/02/2016, Mateusz Bednarek, TE/MPE-EE Outline Requirements for the control system Choice of components Architecture overview Data buffers for switch diagnostics Algorithms’ overview Selected implementation details Signal conditioning Further work 2

30kA IGBT EE switch PRR 29/02/2016, Mateusz Bednarek, TE/MPE-EE Tasks of the controller Monitoring of 32 analogue 100 kS/s and triggering appropriate actions Monitoring of DIO and triggering appropriate actions Controlling 8-16 DIO to achieve required actions In case of a trigger (internal or external) recording of post- mortem (PM) buffer with all AIN, DIO, internal variables Monitoring of the slow evolution of each signal with a high precision and storage in the logging database Not meant to replace fast scopes during the prototype study 3

30kA IGBT EE switch PRR 29/02/2016, Mateusz Bednarek, TE/MPE-EE Controller The controller is based on NI cRIO-9030 o 1 GB RAM o 2 cores Intel GHz o 4 slots NI x Digital 140 kHz 2 x NI-9220 – 2 x 16 x 16 bit analog 100 kS/s NI-9214 – 16 x S/s o Powered from two redundant 24 V power supplies 4

30kA IGBT EE switch PRR 29/02/2016, Mateusz Bednarek, TE/MPE-EE Real Time system FPGA PM Logging Analog Digital SM18 PLC: PC, QPS etc. cRIO PM Technical network Simplified overview Configuration settings Power electronics analog signal conditioning & low level control electronics 1 n 5

30kA IGBT EE switch PRR 29/02/2016, Mateusz Bednarek, TE/MPE-EE FPGA and RT target roles FPGA: Data acquisition Data pre-processing Sending data to the RT target Simple and fast fault detection Simple data interpretation RT target: Reception of pre-processed data from the FPGA Floating point maths Advanced fault detection Data interpretation Communication with the external world o Status o Sending logging data o Sending PM data o Reception of software requests Configuration storage 6

30kA IGBT EE switch PRR 29/02/2016, Mateusz Bednarek, TE/MPE-EE cRIO resources at the moment Compilation completed successfully. Device Utilization Slice Registers: 51.0% (41853 out of 82000) Slice LUTs: 78.6% (32232 out of 41000) Block RAMs: 28.9% (39 out of 135) DSP48s: 7.9% (19 out of 240) Timing MHz Onboard Clock: MHz (Met MHz maximum) 80MHz: MHz (Met MHz maximum) Compilation Time Date submitted: 16/02/ :48 Date results were retrieved: 16/02/ :37 Time waiting in queue: 00:25 Time compiling: 48:55 - Generate Xilinx IP: 00:00 - Synthesize - Vivado: 26:01 - Optimize Logic: 02:55 - Place: 09:37 - Optimize Timing: 00:24 - Route: 07:33 - Generate Programming File: 02:11 Can be optimised by using an external compile farm It is still being optimised FPGA compilation: Most of the functionalities are already covered 7

30kA IGBT EE switch PRR 29/02/2016, Mateusz Bednarek, TE/MPE-EE Fault detection Basic fault detection is implemented on FPGA – simple threshold and discrimination time evaluation Floating point calculations are done on RT and results are fed back to the FPGA (so far only for thermocouples) o Significant time lag in contrast with a solution implemented directly on the FPGA Types of interlocks o FPA faults  All temperatures: lower and upper limit  All voltages: lower and upper limit  Selected digital states are interpreted as faults  Selected internal software errors are interpreted as faults o SPA faults  No such scenario at the moment o Power permit faults  No such scenario at the moment o External FPA request  Not a fault (Normal operation from EE point of view) The fault matrix needs to be officially released. The fault scenarios need to be studied including time budgets. 8

30kA IGBT EE switch PRR 29/02/2016, Mateusz Bednarek, TE/MPE-EE PM data Displayed locally if the screen is present Displayed in the expert application available in the technical network Stored in a binary file locally o There is an option not to store the file locally (flash memory with a limited number of cycles) o Recallable using the expert application in the technical network To be implemented: Sending to the CERN PM central storage Technical details: Full bandwidth is stored +-10 V range of the 16 bit ADC -> resolution 305 uV Analog signals: 1 s buffer, trigger location adjustable Temperatures: 4 s buffer, trigger location adjustable Digital signals: 2 s buffer, trigger location adjustable Entire binary PM file takes 25 MB: longer buffers can be envisaged Names can be easily assigned via a configuration file Technical details: Full bandwidth is stored +-10 V range of the 16 bit ADC -> resolution 305 uV Analog signals: 1 s buffer, trigger location adjustable Temperatures: 4 s buffer, trigger location adjustable Digital signals: 2 s buffer, trigger location adjustable Entire binary PM file takes 25 MB: longer buffers can be envisaged Names can be easily assigned via a configuration file SM18 operation Prototype tests 9

30kA IGBT EE switch PRR 29/02/2016, Mateusz Bednarek, TE/MPE-EE Logging data Status, not time critical Displayed locally if screen connected Displayed in the expert application available on the technical network o Possibility to store the data for long term trend analysis To be implemented: Sending to the central CERN logging database SM18 operation Prototype tests Technical details: Full bandwidth is used for analogue input signals o Averaging of 40 kS o One point every 400 ms (refresh rate of the status loop) o Increased accuracy vs raw signals o On +-10 V range the usable resolution is at the level of uV Names can be easily assigned via a configuration file Technical details: Full bandwidth is used for analogue input signals o Averaging of 40 kS o One point every 400 ms (refresh rate of the status loop) o Increased accuracy vs raw signals o On +-10 V range the usable resolution is at the level of uV Names can be easily assigned via a configuration file 10

30kA IGBT EE switch PRR 29/02/2016, Mateusz Bednarek, TE/MPE-EE FPGA operation simplified INIT RT: Floating point calculations INIT SyncSync FPGA RT start ∑ FPA faults Record PM and STOP External FPA request Send PM and STOP Set IO bits ∑ SPA faults ∑ Warnings Transfer status to RT AIN: Acquisition Fault detection Transfer to RT Average DIO: Acquisition Fault detection Transfer to RT TT: Acquisition Transfer to RT Ext. watchdog reset DMA 11

30kA IGBT EE switch PRR 29/02/2016, Mateusz Bednarek, TE/MPE-EE RT simplified INIT SyncSync FPGA RT start Record PM and STOP Generate PM Send PM STOP UI: Gather the status data from the FPGA Maintain a circular buffer and display the data Publish the data for the expert app Collect requests and send to the FPGA Data acquisition & Scan for faults start Logging: Send data to the logging DB IF FAULT DMA data receive: Maintain PM buffers o AIN o DIO o TT o Local variables Floating point calculations Advanced conditions evaluation cRIO internal watchdog DMA 12

30kA IGBT EE switch PRR 29/02/2016, Mateusz Bednarek, TE/MPE-EE Configuration files Configuration files are stored locally on RT target At the start-up they are read out and transmitted to the FPGA Content: o Basic time intervals o PM recording settings o Names and units of measured signals o Calibration factors: offsets and gains o Fault detection thresholds Format: o.csv file for analogue signals o.csv file for digital signals o.ini text file for other values 13

30kA IGBT EE switch PRR 29/02/2016, Mateusz Bednarek, TE/MPE-EE Watchdog Two watchdogs are implemented in the software: cRIO internal watchdog o If the RT main loop hangs, the cRIO internal watchdog circuitry will power-cycle the controller o Timeout 100 ms External watchdog o If the FPGA hangs, the external watchdog will issue an interlock which will open the FPA loop o To be included in the new version of control electronics o The reset signal is already implemented o Timeout: about 10 ms 14

30kA IGBT EE switch PRR 29/02/2016, Mateusz Bednarek, TE/MPE-EE GUI (1/3) 15

30kA IGBT EE switch PRR 29/02/2016, Mateusz Bednarek, TE/MPE-EE GUI (2/3) 16

30kA IGBT EE switch PRR 29/02/2016, Mateusz Bednarek, TE/MPE-EE GUI (3/3) 17

30kA IGBT EE switch PRR 29/02/2016, Mateusz Bednarek, TE/MPE-EE Signal conditioning Galvanic isolation from the life part cRIO inputs get only +/- 10 V o Shunt -> gain of 10 with PGA204AU + AD215AY (isolation amplifier) o LEM -> signal transmitted directly o Vce -> voltage divider 166:1 + gain of 1 with PGA204AU + AD215AY o 24 V power -> voltage divider 3:1 Necessity for calibration of each channel: offset + slope Is it better to go for another solution: Verivolt? 18

30kA IGBT EE switch PRR 29/02/2016, Mateusz Bednarek, TE/MPE-EE Further work Calibration of the measurement chain Tests of all interlocked mechanisms  Interlock test procedure  Interlock tester – simulator box Fine tuning of fault criteria Fine tuning of the UI Finalizing of the signal conditioning circuitry Implementation of features needed for SM18 operation 19

Any questions? 20

Annex 21

30kA IGBT EE switch PRR 29/02/2016, Mateusz Bednarek, TE/MPE-EE List of digital signals RT_FIFO_err RT_FPA_AIN RT_stop_acq RT_FPA_TT_float RT_FPGA_init_err RT_Params_sent_OK RT_FPA_request RT_Config_file_err RT_FPA RT_FPA_DIO RT_Open_switch_cmd Host_FPA_request RT_running RT_finished_late_local_var RT_Host_close_cmd RT_close_cmd RT_loop_open RT_SPA RT_local_mode FPGA_FPA_DIO FPGA_FPA_AIN FPGA_FPA_request_TT FPGA_FPA_request FPGA_ovfl_TT FPGA_ovfl_AIN FPGA_ovfl_digital FPGA_Close_command FPGA_close_cmd_received FPGA_Loop_open FPGA_Local_mode FPGA_open_sw_command FPGA_start-up FPGA_generate_PM FPGA_SPA_sum_faults FPGA_FPA_sum_faults Fault_detected_by_cRIO FPGA_AIN_0-15_trip FPGA_AIN_16-31_trip FPGA_LEM_sharing_trip FPGA_shunt_sharing_trip FPGA_shunt_LEM_unbalanced Close-cmd RL1_L-cmd RL1_R-cmd Rem-reset-cmd LEDopen-cmd LEDclose-cmd PLC_warning Power_permit FPA-stat PLC-stat OpenPB-stat ClosePB-stat LocResetPB-stat LocalSwitch-stat RemoteSwitch-stat DIO_15 Eletta_Heatsink_3 Eletta_Heatsink_2 Eletta_Emitter-busbar Eletta_Heatsink_4 Eletta_Collector-busbar Spare_interlock Eletta_Laminated_busbar Eletta_Heatsink_1_master DIO_24 … DIO_30 heartbeat DIO: Internal FPGA: Internal RT: 22

30kA IGBT EE switch PRR 29/02/2016, Mateusz Bednarek, TE/MPE-EE Configuration file: AIN Ch nameUnitUpper limitLower limit Discrimination time [us or ms]MultiplierOffset LEM_1A LEM_2A LEM_3A LEM_4A V V V V U_24_V_LV U_24_V_RV V V V V V V Shunt_1A V_CE_1V Shunt_2A V_CE_2V Shunt_3A V_CE_3V Shunt_4A V_CE_4V … 23