Particle therapy has become one of the most actively developed approaches to sparing healthy tissue in cancer treatment, and boron neutron capture therapy (BNCT) offers a distinctive route to that goal: selectivity achieved biochemically, at the cellular level, rather than by the precision of the beam itself. It relies on a boron concentration in the tumor that cannot be measured directly while the beam is on; a detector able to track it through the 478 keV prompt gamma photon that accompanies each capture would turn an estimated dose into a measured one. A first-version module demonstrated this concept and was characterized in detail at a research reactor, but its dead time and its reconstruction, run entirely on a host PC, keep pace with a research reactor's beam and fall well short of what a clinically-equivalent scenario is expected to deliver. This thesis addresses that gap on the firmware side, built for the module's redesigned, second-version hardware. That hardware replaces the previous version's four boards and its discrete microcontroller with a single Kintex UltraScale FPGA. The firmware developed for this thesis, adapted to that device, times each event's acquisition window directly, reconstructs a validated event's position and energy through an artificial neural network implemented in fabric rather than offloaded to a host, and streams the four resulting quantities to the host in place of the sixty-four raw samples a full event otherwise carries. Each change, shorter dead time, on-board reconstruction, and a smaller data footprint, targets the same goal: keeping the detector's throughput ahead of what a clinical beam, rather than a research reactor, delivers. The finished design was verified at three levels: behavioral simulation, direct measurement on the physical board, and sustained acquisition through the host interface. ASIC programming and event control were confirmed correct across every operating mode this thesis defines; the high-voltage and temperature compensation loop was shown, under a deliberate thermal swing, to hold the SiPM operating point steady; and the reconstruction network, exercised through a dedicated testbench with a real set of trained weights, reproduced the hardware's own quantized arithmetic bit for bit, completing one event every 1240 ns once its pipeline is running. Each of these results is reported alongside what it does and does not establish, distinguishing figures measured directly in this work from design figures carried over from earlier stages of the project. Together they show the building blocks this redesign aimed toward a clinical rate are in place and individually verified, with the remaining gaps, principally deploying a trained network in the field, independently characterizing the redesigned front end's dead time, and confirming the finished chain at a clinical count rate itself, identified as the direct next steps. The thesis is organized as follows: Chapter 1 lays out the clinical and physical background, from particle therapy in general to the boron neutron capture reaction and the imaging problem prompt-gamma detection poses. Chapter 2 describes the detection module itself, first the version this work improves on and then the redesigned hardware built to replace it. Chapter 3 presents the firmware that runs on that hardware, from the host interface down to the reconstruction network in fabric. Chapter 4 verifies the finished design, in simulation, on the bench and under sustained acquisition, and sets what could be measured there against the previous version's own figures. Chapter 5 closes with what this work established and what remains open.
La terapia a particelle è diventata uno degli approcci più attivamente sviluppati per risparmiare il tessuto sano nel trattamento del cancro, e la terapia a captazione neutronica di boro (BNCT) offre una via distintiva verso questo obiettivo: una selettività ottenuta biochimicamente, a livello cellulare, piuttosto che attraverso la precisione del fascio stesso. Si basa su una concentrazione di boro nel tumore che non può essere misurata direttamente mentre il fascio è attivo; un rivelatore in grado di seguirla attraverso il fotone gamma pronto di 478 keV che accompagna ogni cattura trasformerebbe una dose stimata in una dose misurata. Un modulo di prima versione ha dimostrato questo concetto ed è stato caratterizzato in dettaglio presso un reattore di ricerca, ma il suo tempo morto e la sua ricostruzione, eseguita interamente su PC host, tengono il passo con il fascio di un reattore di ricerca ma restano ben al di sotto di quanto uno scenario clinicamente equivalente richiederebbe. Questa tesi affronta tale lacuna dal lato firmware, sviluppato per l'hardware ridisegnato, di seconda versione, del modulo. Tale hardware sostituisce le quattro schede della versione precedente e il suo microcontrollore dedicato con un singolo FPGA Kintex UltraScale. Il firmware sviluppato per questa tesi, adattato a tale dispositivo, temporizza direttamente la finestra di acquisizione di ogni evento, ricostruisce la posizione e l'energia di un evento validato tramite una rete neurale artificiale implementata in fabric invece che delegata a un host, e trasmette all'host le quattro grandezze risultanti al posto dei sessantaquattro campioni grezzi che un evento completo comporterebbe altrimenti. Ciascuna di queste modifiche, tempo morto più breve, ricostruzione a bordo e un'impronta di dati più piccola, punta allo stesso obiettivo: mantenere il throughput del rivelatore al passo con quanto un fascio clinico, e non un reattore di ricerca, effettivamente fornisce. Il progetto finito è stato verificato a tre livelli: simulazione comportamentale, misura diretta sulla scheda fisica e acquisizione prolungata tramite l'interfaccia host. La programmazione dell'ASIC e il controllo degli eventi sono stati confermati corretti in ogni modalità operativa definita da questa tesi; l'anello di compensazione di alta tensione e temperatura ha mostrato, sotto un'escursione termica deliberata, di mantenere stabile il punto di lavoro del SiPM; e la rete di ricostruzione, esercitata tramite un testbench dedicato con un insieme reale di pesi addestrati, ha riprodotto fedelmente, bit per bit, l'aritmetica quantizzata dell'hardware, completando un evento ogni 1240 ns una volta che la sua pipeline è in funzione. Ciascuno di questi risultati è riportato insieme a ciò che dimostra e a ciò che non dimostra, distinguendo le cifre misurate direttamente in questo lavoro da quelle di progetto ereditate da fasi precedenti del progetto. Nel complesso, questi risultati mostrano che i componenti verso cui questo ridisegno ha puntato per raggiungere una frequenza clinica sono al loro posto e singolarmente verificati, con le lacune rimanenti, principalmente la distribuzione di una rete addestrata sul campo, la caratterizzazione indipendente del tempo morto del front-end ridisegnato e la conferma della catena completa a una frequenza di conteggio clinica, individuate come i passi successivi diretti. La tesi è organizzata come segue: Il capitolo 1 presenta il contesto clinico e fisico, dalla terapia con particelle in generale alla reazione di cattura neutronica del boro e al problema di imaging posto dal rilevamento dei gamma pronti. Il capitolo 2 descrive il modulo di rilevamento stesso, prima la versione che questo lavoro migliora e poi l'hardware ridisegnato costruito per sostituirla. Il capitolo 3 presenta il firmware che opera su tale hardware, dall'interfaccia host fino alla rete di ricostruzione in fabric. Il capitolo 4 verifica il progetto finito, in simulazione, al banco e sotto acquisizione prolungata, confrontando quanto misurato con le cifre della versione precedente. Il capitolo 5 chiude con quanto stabilito da questo lavoro e con quanto resta ancora aperto.
FPGA firmware for real-time event processing toward clinical rates in a BNCT-SPECT detector
Suarez Mejia, Diego Alexander
2025/2026
Abstract
Particle therapy has become one of the most actively developed approaches to sparing healthy tissue in cancer treatment, and boron neutron capture therapy (BNCT) offers a distinctive route to that goal: selectivity achieved biochemically, at the cellular level, rather than by the precision of the beam itself. It relies on a boron concentration in the tumor that cannot be measured directly while the beam is on; a detector able to track it through the 478 keV prompt gamma photon that accompanies each capture would turn an estimated dose into a measured one. A first-version module demonstrated this concept and was characterized in detail at a research reactor, but its dead time and its reconstruction, run entirely on a host PC, keep pace with a research reactor's beam and fall well short of what a clinically-equivalent scenario is expected to deliver. This thesis addresses that gap on the firmware side, built for the module's redesigned, second-version hardware. That hardware replaces the previous version's four boards and its discrete microcontroller with a single Kintex UltraScale FPGA. The firmware developed for this thesis, adapted to that device, times each event's acquisition window directly, reconstructs a validated event's position and energy through an artificial neural network implemented in fabric rather than offloaded to a host, and streams the four resulting quantities to the host in place of the sixty-four raw samples a full event otherwise carries. Each change, shorter dead time, on-board reconstruction, and a smaller data footprint, targets the same goal: keeping the detector's throughput ahead of what a clinical beam, rather than a research reactor, delivers. The finished design was verified at three levels: behavioral simulation, direct measurement on the physical board, and sustained acquisition through the host interface. ASIC programming and event control were confirmed correct across every operating mode this thesis defines; the high-voltage and temperature compensation loop was shown, under a deliberate thermal swing, to hold the SiPM operating point steady; and the reconstruction network, exercised through a dedicated testbench with a real set of trained weights, reproduced the hardware's own quantized arithmetic bit for bit, completing one event every 1240 ns once its pipeline is running. Each of these results is reported alongside what it does and does not establish, distinguishing figures measured directly in this work from design figures carried over from earlier stages of the project. Together they show the building blocks this redesign aimed toward a clinical rate are in place and individually verified, with the remaining gaps, principally deploying a trained network in the field, independently characterizing the redesigned front end's dead time, and confirming the finished chain at a clinical count rate itself, identified as the direct next steps. The thesis is organized as follows: Chapter 1 lays out the clinical and physical background, from particle therapy in general to the boron neutron capture reaction and the imaging problem prompt-gamma detection poses. Chapter 2 describes the detection module itself, first the version this work improves on and then the redesigned hardware built to replace it. Chapter 3 presents the firmware that runs on that hardware, from the host interface down to the reconstruction network in fabric. Chapter 4 verifies the finished design, in simulation, on the bench and under sustained acquisition, and sets what could be measured there against the previous version's own figures. Chapter 5 closes with what this work established and what remains open.| File | Dimensione | Formato | |
|---|---|---|---|
|
Executive_Summary_SuárezMejia.pdf
non accessibile
Descrizione: Executive Summary
Dimensione
4.33 MB
Formato
Adobe PDF
|
4.33 MB | Adobe PDF | Visualizza/Apri |
|
2026_10_SuárezMejia_FPGA Firmware for Real-Time Event Processing Toward Clinical Rates in a BNCT-SPECT Detector.pdf
non accessibile
Descrizione: Thesis Document
Dimensione
15.03 MB
Formato
Adobe PDF
|
15.03 MB | Adobe PDF | Visualizza/Apri |
I documenti in POLITesi sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.
https://hdl.handle.net/10589/267097