ATLAS DCS ATLAS DCS ELMB PRR, 4 Mar 2002, H.Boterenbrood 1 Software for the ELMB Henk Boterenbrood ATLAS DCS.

Slides:



Advertisements
Similar presentations
Network II.5 simulator ..
Advertisements

System Integration and Performance
Software setup with PL7 and Sycon V2.8
Analog-to-Digital Converter (ADC) And
Protocol Configuration in Horner OCS
Microcontroller based system design Asst. Prof. Dr. Alper ŞİŞMAN.
1/1/ / faculty of Electrical Engineering eindhoven university of technology Architectures of Digital Information Systems Part 1: Interrupts and DMA dr.ir.
Microcontroller – PIC – 4 PIC types PIC architecture
CAL (CAN Application Layer) and CANopen J. Novák Czech Technical University in Prague Faculty of Electrical Engineering Department of Measurement.
1/1/ / faculty of Electrical Engineering eindhoven university of technology Introduction Part 3: Input/output and co-processors dr.ir. A.C. Verschueren.
FIU Chapter 7: Input/Output Jerome Crooks Panyawat Chiamprasert
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.
MotoHawk Training Model-Based Design of Embedded Systems.
Wireless Enabled Holter Monitor and ECG Analysis System Final Year Project 4 th Electronic and Computing Engineering Brendan Maguire
Applying Wireless I/O Controller To NeSSI May 7, 2001 Mike Horton President & CEO Crossbow Technology, Inc.
Group 4 Rotationally Refreshed Display Patrick Boyd Daniel Hill.
IO Controller Module Arbitrates IO from the CCP Physically separable from CCP –Can be used as independent data logger or used in future projects. Implemented.
Introduction to Microprocessors Number Systems and Conversions No /6/00 Chapter 1: Introduction to 68HC11 The 68HC11 Microcontroller.
Uli Schäfer Discussions with H.B. after last meeting… All ATLAS standard racks and crates will be monitored. Helfrieds group will equip them with ELMBs.
Midterm Tuesday October 23 Covers Chapters 3 through 6 - Buses, Clocks, Timing, Edge Triggering, Level Triggering - Cache Memory Systems - Internal Memory.
7-1 Digital Serial Input/Output Two basic approaches  Synchronous shared common clock signal all devices synchronised with the shared clock signal data.
ACES 2011 The third common ATLAS CMS Electronics Workshop for LHC upgrades March 9-11, 2011, CERN, Geneva, Switzerland Hardware:  ATMEL ATmega128 microcontroller.
Input / Output CS 537 – Introduction to Operating Systems.
Input/Output. Input/Output Problems Wide variety of peripherals —Delivering different amounts of data —At different speeds —In different formats All slower.
Chapter 10: Input / Output Devices Dr Mohamed Menacer Taibah University
5 March DCS Final Design Review: RPC detector The DCS system of the Atlas RPC detector V.Bocci, G.Chiodi, E. Petrolo, R.Vari, S.Veneziano INFN Roma.
APS BPM and power supply applications on micro-IOCs W. Eric Norum
Input and Output Computer Organization and Assembly Language: Module 9.
ATLAS ATLAS DCS H.J.Burckhart, Muon Electronics Meeting, December 11th Status of Embedded Local Monitor Board (ELMB) Overview Radiation tolerance.
DLS Digital Controller Tony Dobbing Head of Power Supplies Group.
Three fundamental concepts in computer security: Reference Monitors: An access control concept that refers to an abstract machine that mediates all accesses.
CHAPTER 3 TOP LEVEL VIEW OF COMPUTER FUNCTION AND INTERCONNECTION
Lecture 2 Silicon Labs C8051F020 System Overview.
Prepared by Eng. Musa Alyaman1 Chapter Seven Chapter Seven PIC16F87x.
Microcontroller Presented by Hasnain Heickal (07), Sabbir Ahmed(08) and Zakia Afroze Abedin(19)
Atmel Atmega128 Overview ALU Particulars RISC Architecture 133, Mostly single cycle instructions 2 Address instructions (opcode, Rs, Rd, offset) 32x8 Register.
EEE440 Computer Architecture
ATLAS ATLAS DCS B.Hallgren, CERN EP/ ATI PRR CERN 4 March the Embedded Local Monitor Board ELMB Design description of the Embedded Local Monitor.
ATtiny23131 A SEMINAR ON AVR MICROCONTROLLER ATtiny2313.
CH10 Input/Output DDDData Transfer EEEExternal Devices IIII/O Modules PPPProgrammed I/O IIIInterrupt-Driven I/O DDDDirect Memory.
Interrupt driven I/O. MIPS RISC Exception Mechanism The processor operates in The processor operates in user mode user mode kernel mode kernel mode Access.
Embedded Network Interface (ENI). What is ENI? Embedded Network Interface Originally called DPO (Digital Product Option) card Printer without network.
IPHC - DRS Gilles CLAUS 04/04/20061/20 EUDET JRA1 Meeting, April 2006 MAPS Test & DAQ Strasbourg OUTLINE Summary of MimoStar 2 Workshop CCMOS DAQ Status.
© 2009, Renesas Technology America, Inc., All Rights Reserved 1 Course Introduction  Purpose:  This course provides an overview of the serial communication.
Software development Control system of the new IGBT EE switch.
THE EMBEDDED SYSTEMDESIGN PROCESS. W HAT IS A PS O C M IXED S IGNAL D EVICE ? P rogrammable S ystem o n C hip PSoC combines: the familiarity of a microcontroller.
Input/Output Problems Wide variety of peripherals —Delivering different amounts of data —At different speeds —In different formats All slower than CPU.
ATLAS DCS ELMB PRR, CERN, March 2002Fernando Varela ELMB Networks CAN/CANopen Interoperability of the ELMB Usage of the ELMB in ATLAS ELMB Networks Full.
Distributed Low Voltage Power Supply System for Front End Electronics of the TRT Detector in ATLAS Experiment E.Banaś a, P.Farthouat b, Z.Hajduk a, B.Kisielewski.
Chapter 3 System Buses.  Hardwired systems are inflexible  General purpose hardware can do different tasks, given correct control signals  Instead.
1 Device Controller I/O units typically consist of A mechanical component: the device itself An electronic component: the device controller or adapter.
ATLAS DCS ELMB PRR, March 4th 2002, H.J.Burckhart1 Embedded Local Monitor Board ELMB  Context  Aim  Requirements  Add-ons  Our aims of PRR.
Paolo Ciambrone INFN- LNF ODE ECS ODE ECS Off Detector Electronics for the muon system INFN - LNF Servizio Elettronica Laboratori Frascati A. Balla, M.
LonWorks Introduction Hwayoung Chae.
NAM S.B MDLAB. Electronic Engineering, Kangwon National University 1.
ADC 1 Analog to Digital Converter. ADC 2 ADC Features n General Features -Supports 8 or 10-bit resolution Modes, -Track period fully programmable up to.
1 Chapter 1 Basic Structures Of Computers. Computer : Introduction A computer is an electronic machine,devised for performing calculations and controlling.
Renesas Electronics Europe GmbH A © 2010 Renesas Electronics Corporation. All rights reserved. RL78 AD converter.
30kA IGBT EE switch PRR 29/02/2016, Mateusz Bednarek, TE/MPE-EE 30kA Energy Extraction Semi-Conductor Switch PRR: SM18 - CLUSTER D Software.
Architectures of Digital Information Systems Part 1: Interrupts and DMA dr.ir. A.C. Verschueren Eindhoven University of Technology Section of Digital.
Introduction to Microprocessors and Microcontrollers
Subject Name: Digital Signal Processing Algorithms & Architecture
BIC 10503: COMPUTER ARCHITECTURE
Training Module Introduction to the TB9100/P25 CG/P25 TAG Customer Service Software (CSS) Describes Release 3.95 for Trunked TB9100 and P25 TAG Release.
Analog-to-digital converter
Presentation transcript:

ATLAS DCS ATLAS DCS ELMB PRR, 4 Mar 2002, H.Boterenbrood 1 Software for the ELMB Henk Boterenbrood ATLAS DCS

ATLAS DCS ATLAS DCS ELMB PRR, 4 Mar 2002, H.Boterenbrood 2 Outline ELMB Applications Implementation: ELMBio Measures against Radiation Effects Plans for new Features and Upgrades Conclusion

ATLAS DCS ATLAS DCS ELMB PRR, 4 Mar 2002, H.Boterenbrood 3 ELMB Applications Envisage many different monitoring & control applications  Limited only by processing power and resources (Flash, RAM, I/O) Common software features/requirements  CANopen communication  In-System-Programming via CAN-bus  Measures to counter effects of SEU  Configuration storage in EEPROM (incl. CRC)  Low-level control of on-board devices (ADC, CAN)  C, using a commercial development toolset

ATLAS DCS ATLAS DCS ELMB PRR, 4 Mar 2002, H.Boterenbrood 4 General-purpose  no specific I/O processing or features Demonstrator, example, framework  Ready-to-use (with ‘Motherboard’)  Binary, source code and documentation on the web I/O  64 analog inputs (16-bits)  64 analog outputs (12-bits, requires external ELMB-DAC module )  8 to 16 digital inputs  8 to 16 digital outputs ELMBio Application Firmware (1)

ATLAS DCS ATLAS DCS ELMB PRR, 4 Mar 2002, H.Boterenbrood 5 Communication: CANopen  Object Dictionary reading and writing using SDO messages ( Service Data Object )  I/O-data communication using PDO messages ( Process Data Object ) configurable: triggered by: SYNC, timer, Change-of-State  Network management (node ‘state’)  Lifeguarding, Nodeguarding, Heartbeat ELMBio Application Firmware (2) (underlined: CANopen message types and services)

ATLAS DCS ATLAS DCS ELMB PRR, 4 Mar 2002, H.Boterenbrood 6 ELMBio Application Firmware (3) Other features  Configuration options (e.g ADC, Comm, etc.; in the Object Dictionary )  Configuration/parameter storage in non-volatile memory (EEPROM)  Different application configurations possible using compile options for on-chip ADC some rad-tolerant features motherboards  To be used with ‘Slave’ processor application (also provided) Watchdog In-System-Programming-via-CAN-bus

ATLAS DCS ATLAS DCS ELMB PRR, 4 Mar 2002, H.Boterenbrood 7 Radiation Effects: SEU (1) Single Event Upset (SEU  ‘bit flip’) Flash memory (program code) appears to be unaffected EEPROM storage (configuration) appears to be unaffected RAM and registers (CPU, devices) are all affected by SEUs

ATLAS DCS ATLAS DCS ELMB PRR, 4 Mar 2002, H.Boterenbrood 8 Radiation Effects: SEU (2) SEE test at Louvain-la-Neuve very useful ! Standard ELMBio application with extensions doing memory checks (every 5 s)  Flash (program code CRC, pattern in unused space)  EEPROM, RAM (patterns in unused space)  CAN (unused registers), ADC (regs with known values) …but also: application ‘misbehaving’, crashes…  There is (almost) always some explanation !

ATLAS DCS ATLAS DCS ELMB PRR, 4 Mar 2002, H.Boterenbrood 9 Anti-SEU Measures in Software (1) Refresh of RAM and register content  Global variables (configuration) re-read from EEPROM before every use (option)  Microcontroller I/O-ports and Data-Direction Registers periodic refresh (value from flash)  CAN-controller message descriptor refresh when reading/writing message buffer (option) reset (full config refresh) at Lifeguarding time-out other problems detected by host and resolved e.g. by soft/hard reset  ADC configuration refresh before each channel scan (value from EEPROM & flash) full reset/recalibration/configuration refresh before each channel scan (configurable)

ATLAS DCS ATLAS DCS ELMB PRR, 4 Mar 2002, H.Boterenbrood 10 Anti-SEU Measures in Software (2) Other…  Dummy handlers installed for unused interrupts (in case of spurious interrupts; remove source of interrupt if any)  Explicitly check for 0-or-1 for ‘boolean’ variables (instead of =0 or  0)  Mask an index with maximum size, when known  CRC checksums on parameter storage in EEPROM on program code in Flash

ATLAS DCS ATLAS DCS ELMB PRR, 4 Mar 2002, H.Boterenbrood 11 Anti-SEU Measures in Software (3) 2 nd ELMB (‘Slave’) processor with dedicated task  Watchdog periodic ‘interrupt’ from Master to Slave, or else… non-functioning Slave is reported by Master  In-System-Programming via CAN-bus Master program reload or upgrade (or Slave) using CANopen (  does not interfere with other CAN comm!) …but not during radiation (made possible thanks to the ingeneous way in which the 2 processors on the ELMB are integrated, combined with some clever software !)

ATLAS DCS ATLAS DCS ELMB PRR, 4 Mar 2002, H.Boterenbrood 12 ADC periodic sampling  Channel upper and lower limit (window) check Scanning period, global enable (EEPROM) Limits per analog input channel (EEPROM) (Async) data transfer only in case of over/underlimit (crossing?)  Delta change (more SEU sensitive) Scanning period, global enable (EEPROM) Delta per analog input channel (or one Delta for all chans?) (EEPROM) (Async) data transfer only in case of a delta increase/decrease  Standard ADC read-out still possible ! New FeaturesPlanned (1)

ATLAS DCS ATLAS DCS ELMB PRR, 4 Mar 2002, H.Boterenbrood 13 New FeaturesPlanned (2) ADC calibration  Purpose: ADC read-out returns voltage values instead of raw ADC counts  Need to determine offset/gain  Permanent storage of calibration values onboard (EEPROM), also offline?

ATLAS DCS ATLAS DCS ELMB PRR, 4 Mar 2002, H.Boterenbrood 14 New FeaturesPlanned (3) DAC  Optionally (initial) DAC settings stored in EEPROM set at power-up  Optional periodic DAC output value refresh (EEPROM, anti-SEU, if radiation tests show DAC can be used !); in combination with ADC feedback ?  Set a 4-20 mA current output directly, e.g. using a  A value in the CAN-message (ELMB does the conversion to a DAC value)  Ramping function, e.g. to control a HV-supply End value and ramping speed

ATLAS DCS ATLAS DCS ELMB PRR, 4 Mar 2002, H.Boterenbrood 15 New FeaturesPlanned (4) CAN Message read-out under interrupt (and message buffer in RAM), because…  ADC or DAC operations are slow due to low-power opto-couplers used and…  async periodic ADC/DAC operations may cause message loss when a host sends multiple messages of the same ‘type’ (currently CAN-controller acts as a one-message/type buffer) (CAN-controller interrupt line now used in Master/Slave watchdog function  sw adjustment)

ATLAS DCS ATLAS DCS ELMB PRR, 4 Mar 2002, H.Boterenbrood 16 Conclusion Users of the general-purpose application ( ELMBio )  use as-is (flexibility: CANopen configuration, compile-time options)  further development on-going  functionality may be added on request Developers of custom applications  can/should use the general-purpose app as a framework  if required, should apply anti-SEU measures where possible  must use CANopen  must use Slave app for 2 nd processor (and add appropriate functionality to the Master app)