Design and Development of a Diagnostics Client for a Beam Loss ...
Design and Development of a Diagnostics Client for a Beam Loss ... Design and Development of a Diagnostics Client for a Beam Loss ...
CONTENTS INTRODUCTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 1. BACKGROUND . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 1.1 CERN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 1.2 The CERN Accelerator Complex . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 2. SCOPE OF THE ASSIGNMENT . . . . . . . . . . . . . . . . . . . . . . . . . . 14 2.1 Necessary requirements upon the software architecture . . . . . . . . . . . . . . . . 14 2.2 Technical Tools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 3. HARDWARE IMPLEMENTATION . . . . . . . . . . . . . . . . . . . . . . . . . . 16 3.1 Description of the new BLM System . . . . . . . . . . . . . . . . . . . . . . . . . . 16 3.2 Acquisition Electronics of the BLM System . . . . . . . . . . . . . . . . . . . . . . . 17 3.2.1 Beam Loss Electronic Acquisition Crate (BLEAC) . . . . . . . . . . . . . . . . . . 17 3.2.2 Beam Loss Electronic Dual Polarity (BLEDP) . . . . . . . . . . . . . . . . . . . . 18 3.2.2.1 Acquisition methods of the BLEDP: FDFC and DADC . . . 19 4. CLIENT IMPLEMENTATION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 4.1 Motivation for this Client Development . . . . . . . . . . . . . . . . . . . . . . . . . 22 4.2 FPGA Firmware and Embedded Server . . . . . . . . . . . . . . . . . . . . . . . . . 23 4.3 Client Server Architecture Protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 4.3.1 Commands Sent by the Client . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 4.3.2 BLEDP Frames Encapsulation . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 4.3.3 Data Sent by the Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 4.3.3.1 BLEDP Acquisition Frame . . . . . . . . . . . . . . . . . . . 26 4.3.3.2 BLEDP Status Frame . . . . . . . . . . . . . . . . . . . . . 27 4.3.4 Development Phases of the Communication Protocol . . . . . . . . . . . . . . . . 29 4.4 Client Development and Requirements . . . . . . . . . . . . . . . . . . . . . . . . . 30 4.4.1 Initial Resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 4.4.2 Online Acquisition Data Display . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 4.4.2.1 Design implementation of the online interface . . . . . . . . 34 4.4.3 Communication and data processing . . . . . . . . . . . . . . . . . . . . . . . . 35 4.4.4 Offline Acquisition Data Display . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 4.4.4.1 Design implementation of the offline interface . . . . . . . . 42
4.4.5 Status Data Displays . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 4.4.5.1 Design implementation of the offline interface . . . . . . . . 44 4.4.6 Commands Displays . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 4.4.6.1 Design implementation of the commands interfaces . . . . 47 5. EVALUATION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 5.1 Deliverables and their validity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 5.1.1 Reliability Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 5.1.2 Performance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 6. CONCLUSION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59 TABLE OF TERMINOLOGY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60 ABBREVIATIONS AND ACRONYMS . . . . . . . . . . . . . . . . . . . . . . . . . . 61 REFERENCES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
- Page 1 and 2: CERN-THESIS-2013-057 24/05/2013 NAT
- Page 3 and 4: ΕΘΝΙΚΟ ΚΑΙ ΚΑΠΟΔΙΣ
- Page 5 and 6: ΠΕΡΙΛΗΨΗ Ο Ευρωπαι
- Page 7: ACKNOWLEDGMENTS I would like to exp
- Page 11 and 12: Figure 23: Offline tab without data
- Page 13 and 14: INTRODUCTION The Large Hadron Colli
- Page 15 and 16: Design and Development of a Diagnos
- Page 17 and 18: Design and Development of a Diagnos
- Page 19 and 20: Design and Development of a Diagnos
- Page 21 and 22: Design and Development of a Diagnos
- Page 23 and 24: Design and Development of a Diagnos
- Page 25 and 26: Design and Development of a Diagnos
- Page 27 and 28: Design and Development of a Diagnos
- Page 29 and 30: Design and Development of a Diagnos
- Page 31 and 32: Design and Development of a Diagnos
- Page 33 and 34: Design and Development of a Diagnos
- Page 35 and 36: Design and Development of a Diagnos
- Page 37 and 38: Design and Development of a Diagnos
- Page 39 and 40: Design and Development of a Diagnos
- Page 41 and 42: Design and Development of a Diagnos
- Page 43 and 44: Design and Development of a Diagnos
- Page 45 and 46: Design and Development of a Diagnos
- Page 47 and 48: Design and Development of a Diagnos
- Page 49 and 50: Design and Development of a Diagnos
- Page 51 and 52: Design and Development of a Diagnos
- Page 53 and 54: Design and Development of a Diagnos
- Page 55 and 56: Design and Development of a Diagnos
- Page 57 and 58: Design and Development of a Diagnos
CONTENTS<br />
INTRODUCTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11<br />
1. BACKGROUND . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12<br />
1.1 CERN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12<br />
1.2 The CERN Accelerator Complex . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12<br />
2. SCOPE OF THE ASSIGNMENT . . . . . . . . . . . . . . . . . . . . . . . . . . 14<br />
2.1 Necessary requirements upon the s<strong>of</strong>tware architecture . . . . . . . . . . . . . . . . 14<br />
2.2 Technical Tools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15<br />
3. HARDWARE IMPLEMENTATION . . . . . . . . . . . . . . . . . . . . . . . . . . 16<br />
3.1 Description <strong>of</strong> the new BLM System . . . . . . . . . . . . . . . . . . . . . . . . . . 16<br />
3.2 Acquisition Electronics <strong>of</strong> the BLM System . . . . . . . . . . . . . . . . . . . . . . . 17<br />
3.2.1 <strong>Beam</strong> <strong>Loss</strong> Electronic Acquisition Crate (BLEAC) . . . . . . . . . . . . . . . . . . 17<br />
3.2.2 <strong>Beam</strong> <strong>Loss</strong> Electronic Dual Polarity (BLEDP) . . . . . . . . . . . . . . . . . . . . 18<br />
3.2.2.1 Acquisition methods <strong>of</strong> the BLEDP: FDFC <strong>and</strong> DADC . . . 19<br />
4. CLIENT IMPLEMENTATION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22<br />
4.1 Motivation <strong>for</strong> this <strong>Client</strong> <strong>Development</strong> . . . . . . . . . . . . . . . . . . . . . . . . . 22<br />
4.2 FPGA Firmware <strong>and</strong> Embedded Server . . . . . . . . . . . . . . . . . . . . . . . . . 23<br />
4.3 <strong>Client</strong> Server Architecture Protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . 24<br />
4.3.1 Comm<strong>and</strong>s Sent by the <strong>Client</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . 24<br />
4.3.2 BLEDP Frames Encapsulation . . . . . . . . . . . . . . . . . . . . . . . . . . . 25<br />
4.3.3 Data Sent by the Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26<br />
4.3.3.1 BLEDP Acquisition Frame . . . . . . . . . . . . . . . . . . . 26<br />
4.3.3.2 BLEDP Status Frame . . . . . . . . . . . . . . . . . . . . . 27<br />
4.3.4 <strong>Development</strong> Phases <strong>of</strong> the Communication Protocol . . . . . . . . . . . . . . . . 29<br />
4.4 <strong>Client</strong> <strong>Development</strong> <strong>and</strong> Requirements . . . . . . . . . . . . . . . . . . . . . . . . . 30<br />
4.4.1 Initial Resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30<br />
4.4.2 Online Acquisition Data Display . . . . . . . . . . . . . . . . . . . . . . . . . . . 31<br />
4.4.2.1 <strong>Design</strong> implementation <strong>of</strong> the online interface . . . . . . . . 34<br />
4.4.3 Communication <strong>and</strong> data processing . . . . . . . . . . . . . . . . . . . . . . . . 35<br />
4.4.4 Offline Acquisition Data Display . . . . . . . . . . . . . . . . . . . . . . . . . . . 38<br />
4.4.4.1 <strong>Design</strong> implementation <strong>of</strong> the <strong>of</strong>fline interface . . . . . . . . 42