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 ...
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
<strong>Design</strong> <strong>and</strong> <strong>Development</strong> <strong>of</strong> a <strong>Diagnostics</strong> <strong>Client</strong> <strong>for</strong> a <strong>Beam</strong> <strong>Loss</strong> Measurement System at CERN<br />
FPGA device giving the possibility <strong>of</strong> a custom made server. This way a client application<br />
can communicate directly with the modules in order to collect <strong>and</strong> manipulate the different<br />
types <strong>of</strong> data provided by the server. The aim <strong>of</strong> this test system is the development, test<br />
<strong>and</strong> validation <strong>of</strong> the new acquisition system, as well as to later serve as a st<strong>and</strong>alone<br />
measurement system. A graphical idea <strong>of</strong> how this new test system looks like is shown in<br />
Figure 7.<br />
4.2 FPGA Firmware <strong>and</strong> Embedded Server<br />
A block diagram <strong>of</strong> the Field Programmable Gate Array (FPGA) system architecture is<br />
shown in Figure 4.2. This architecture is used <strong>for</strong> the Gigabit Ethernet Readout in the<br />
BLEDP firmware. It consists <strong>of</strong> two parts. The first one is the custom User logic <strong>and</strong> the<br />
other one a System-On-a-Chip (SOC), generated by the Altera tools. [10]<br />
Figure 8: Architecture <strong>of</strong> the Nios-II system used <strong>for</strong> the Gigabit Ethernet Readout in the BLEDP<br />
firmware<br />
More details regarding the block diagram, namely the user logic <strong>and</strong> the SOC, can be<br />
found on [10].<br />
Most <strong>of</strong> the components included in the embedded s<strong>of</strong>tware are provided by Altera <strong>and</strong><br />
other vendors. The advantage <strong>of</strong> that solution is the very short time from a specification to<br />
a first working prototype. Another advantage <strong>of</strong> the ready-made s<strong>of</strong>tware libraries is the<br />
availability <strong>of</strong> numerous services like ICMP, DHCP, etc.<br />
The only custom s<strong>of</strong>tware implemented <strong>for</strong> the BLEDP module is the server application. It<br />
is written in the C programming language <strong>and</strong> is a single-threaded application. The server<br />
creates a st<strong>and</strong>ard TCP/IP socket which listens <strong>for</strong> incoming client connections. It is lim-<br />
ited to listen <strong>for</strong> only one client at a time <strong>and</strong> where there are requests <strong>for</strong> more clients<br />
the connection is refused. The server is parsing incoming comm<strong>and</strong>s <strong>and</strong> disables or en-<br />
Emmanouil I. Angelogiannopoulos 23