-
Embedded Firmware Development for a Novel CubeSat Gamma-Ray Detector
Authors:
Joseph Mangan,
David Murphy,
Rachel Dunwoody,
Maeve Doyle,
Alexey Ulyanov,
Lorraine Hanlon,
Brian Shortt,
Sheila McBreen,
Masoud Emam,
Jessica Erkal,
Joe Flanagan,
Gianluca Fontanesi,
Andrew Gloster,
Conor O'Toole,
Favour Okosun,
Rakhi RajagopalanNair,
Jack Reilly,
Lána Salmon,
Daire Sherwin,
Joseph Thompson,
Sarah Walsh,
Daithí de Faoite,
Mike Hibbett,
Umair Javaid,
Fergal Marshall
, et al. (4 additional authors not shown)
Abstract:
The Gamma-ray Module (GMOD) is an experiment designed for the detection of gamma-ray bursts in low Earth orbit as the principal scientific payload on a 2-U CubeSat, EIRSAT-1. GMOD comprises a cerium bromide scintillator coupled to silicon photomultipliers which are processed and digitised by a bespoke ASIC. Custom firmware on the GMOD motherboard has been designed, implemented and tested for the M…
▽ More
The Gamma-ray Module (GMOD) is an experiment designed for the detection of gamma-ray bursts in low Earth orbit as the principal scientific payload on a 2-U CubeSat, EIRSAT-1. GMOD comprises a cerium bromide scintillator coupled to silicon photomultipliers which are processed and digitised by a bespoke ASIC. Custom firmware on the GMOD motherboard has been designed, implemented and tested for the MSP430 microprocessor which manages the experiment including readout, storage and configuration of the system. The firmware has been verified in a series of experiments testing the response over a realistic range of input detector trigger frequencies from 50Hz to 1kHz for the primary time tagged event (TTE) data. The power consumption and ability of the firmware to successfully receive and transmit the packets to the on-board computer was investigated. The experiment demonstrated less than 1% loss of packets up to 1kHz for the standard transfer mode with the power not exceeding 31mW. The transfer performance and power consumption demonstrated are within the required range of this CubeSat instrument.
△ Less
Submitted 4 November, 2021;
originally announced November 2021.
-
A Batched GPU Methodology for Numerical Solutions of Partial Differential Equations
Authors:
Enda Carroll,
Andrew Gloster,
Miguel D. Bustamante,
Lennon Ó' Náraigh
Abstract:
In this paper we present a methodology for data accesses when solving batches of Tridiagonal and Pentadiagonal matrices that all share the same left-hand-side (LHS) matrix. The intended application is to the numerical solution of Partial Differential Equations via the finite-difference method, although the methodology is applicable more broadly. By only storing one copy of this matrix, a significa…
▽ More
In this paper we present a methodology for data accesses when solving batches of Tridiagonal and Pentadiagonal matrices that all share the same left-hand-side (LHS) matrix. The intended application is to the numerical solution of Partial Differential Equations via the finite-difference method, although the methodology is applicable more broadly. By only storing one copy of this matrix, a significant reduction in storage overheads is obtained, together with a corresponding decrease in compute time. Taken together, these two performance enhancements lead to an overall more efficient implementation over the current state of the art algorithms cuThomasBatch and cuPentBatch, allowing for a greater number of systems to be solved on a single GPU. We demonstrate the methodology in the case of the Diffusion Equation, Hyperdiffusion Equation, and the Cahn--Hilliard Equation, all in one spatial dimension. In this last example, we demonstrate how the method can be used to perform $2^{20}$ independent simulations of phase separation in one dimension. In this way, we build up a robust statistical description of the coarsening phenomenon which is the defining behavior of phase separation. We anticipate that the method will be of further use in other similar contexts requiring statistical simulation of physical systems.
△ Less
Submitted 8 July, 2021;
originally announced July 2021.
-
GPU Methodologies for Numerical Partial Differential Equations
Authors:
Andrew Gloster
Abstract:
In this thesis we develop techniques to efficiently solve numerical Partial Differential Equations (PDEs) using Graphical Processing Units (GPUs). Focus is put on both performance and re--usability of the methods developed, to this end a library, cuSten, for applying finite--difference stencils to numerical grids is presented herein. On top of this various batched tridiagonal and pentadiagonal mat…
▽ More
In this thesis we develop techniques to efficiently solve numerical Partial Differential Equations (PDEs) using Graphical Processing Units (GPUs). Focus is put on both performance and re--usability of the methods developed, to this end a library, cuSten, for applying finite--difference stencils to numerical grids is presented herein. On top of this various batched tridiagonal and pentadiagonal matrix solvers are discussed. These have been benchmarked against the current state of the art and shown to improve performance in the solution of numerical PDEs. A variety of other benchmarks and use cases for the GPU methodologies are presented using the Cahn--Hilliard equation as a core example, but it is emphasised the methods are completely general. Finally through the application of the GPU methodologies to the Cahn--Hilliard equation new results are presented on the growth rates of the coarsened domains. In particular a statistical model is built up using batches of simulations run on GPUs from which the growth rates are extracted, it is shown that in a finite domain that the traditionally presented results of 1/3 scaling is in fact a distribution around this value. This result is discussed in conjunction with modelling via a stochastic PDE and sheds new light on the behaviour of the Cahn--Hilliard equation in finite domains.
△ Less
Submitted 16 January, 2021;
originally announced January 2021.
-
Assembly, Integration, and Verification Activities for a 2U CubeSat, EIRSAT-1
Authors:
Sarah Walsh,
David Murphy,
Maeve Doyle,
Joseph Thompson,
Rachel Dunwoody,
Masoud Emam,
Jessica Erkal,
Joe Flanagan,
Gianluca Fontanesi,
Andrew Gloster,
Joe Mangan,
Conor O'Toole,
Favour Okosun,
Rakhi Rajagopalan Nair,
Jack Reilly,
Lána Salmon,
Daire Sherwin,
Paul Cahill,
Daithí de Faoite,
Umair Javaid,
Lorraine Hanlon,
David McKeown,
William O'Connor,
Kenneth Stanton,
Alexei Ulyanov
, et al. (2 additional authors not shown)
Abstract:
The Educational Irish Research Satellite, EIRSAT-1, is a project developed by students at University College Dublin that aims to design, build, and launch Ireland's first satellite. EIRSAT-1 is a 2U CubeSat incorporating three novel payloads; GMOD, a gamma-ray detector, EMOD, a thermal coating management experiment, and WBC, a novel attitude control algorithm. The EIRSAT-1 project is carried out w…
▽ More
The Educational Irish Research Satellite, EIRSAT-1, is a project developed by students at University College Dublin that aims to design, build, and launch Ireland's first satellite. EIRSAT-1 is a 2U CubeSat incorporating three novel payloads; GMOD, a gamma-ray detector, EMOD, a thermal coating management experiment, and WBC, a novel attitude control algorithm. The EIRSAT-1 project is carried out with the support of the Education Office of the European Space Agency, under the educational Fly your Satellite! programme. The Assembly, Integration and Verification plan for EIRSAT-1 is central to the philosophy and the development of the spacecraft. The model philosophy employed for the project is known as the 'prototype' approach in which two models of the spacecraft are assembled; an Engineering Qualification Model (EQM) and a Flight Model (FM). The payloads, GMOD and EMOD, and the Antenna Deployment Module (ADM) platform element warrant a Development Model in addition to an EQM and a FM, as they have been designed and developed in-house. After successful completion of the Critical Design Review and Ambient Test Readiness Review phases of the project, the EQM of EIRSAT-1 will be assembled and integrated. After assembly and integration of the EQM, the project will begin the ambient test campaign, in which the EQM undergoes ambient functional and mission testing. This work details the preparation and execution of the assembly, integration, and verification activities of EIRSAT-1 EQM.
△ Less
Submitted 20 October, 2020;
originally announced October 2020.
-
Flight Software Development for the EIRSAT-1 Mission
Authors:
Maeve Doyle,
Andrew Gloster,
Conor O'Toole,
Joseph Mangan,
David Murphy,
Rachel Dunwoody,
Masoud Emam,
Jessica Erkal,
Joe Flanaghan,
Gianluca Fontanesi,
Favour Okosun,
Rakhi Rajagopalan Nair,
Jack Reilly,
Lána Salmon,
Daire Sherwin,
Joseph Thompson,
Sarah Walsh,
Daithí de Faoite,
Umair Javaid,
Sheila McBreen,
David McKeown,
Derek O'Callaghan,
William O'Connor,
Kenneth Stanton,
Alexei Ulyanov
, et al. (2 additional authors not shown)
Abstract:
The Educational Irish Research Satellite, known as EIRSAT-1, is a student-led project to design, build, test and launch Ireland's first satellite. The on-board software for this mission is being developed using Bright Ascension's GenerationOne Flight Software Development Kit. This paper provides an overview of this kit and of EIRSAT-1's on-board software design. Drawing on the team's contrasting e…
▽ More
The Educational Irish Research Satellite, known as EIRSAT-1, is a student-led project to design, build, test and launch Ireland's first satellite. The on-board software for this mission is being developed using Bright Ascension's GenerationOne Flight Software Development Kit. This paper provides an overview of this kit and of EIRSAT-1's on-board software design. Drawing on the team's contrasting experience with writing entirely custom firmware for the mission's science payloads, this work discusses the impact of using a kit on the software development process. The challenges associated with the educational nature of this project are the focus of this discussion. The objective of this paper is to provide useful information for other CubeSat teams assessing software development options.
△ Less
Submitted 20 August, 2020;
originally announced August 2020.
-
A large-scale statistical study of the coarsening rate in models of Ostwald-Ripening
Authors:
Lennon Ó Náraigh,
Andrew Gloster
Abstract:
In this article we look at the coarsening rate in two standard models of Ostwald Ripening. Specifically, we look at a discrete droplet population model, which in the limit of an infinite droplet population reduces to the classical Lifshitz--Slyozov--Wagner model. We also look at the Cahn--Hilliard equation with constant mobility. We define the coarsening rate as $β=-(t/F)(d F/d t)$, where $F$ is t…
▽ More
In this article we look at the coarsening rate in two standard models of Ostwald Ripening. Specifically, we look at a discrete droplet population model, which in the limit of an infinite droplet population reduces to the classical Lifshitz--Slyozov--Wagner model. We also look at the Cahn--Hilliard equation with constant mobility. We define the coarsening rate as $β=-(t/F)(d F/d t)$, where $F$ is the total free energy of the system and $t$ is time. There is a conjecture that the long-time average value of $β$ should not exceed $1/3$ -- this result is summarized here as $\langle β\rangle\leq 1/3$. We explore this conjecture for the two considered models. Using large-scale computational resources (specifically, GPU computing employing thousands of threads), we are able to construct ensembles of simulations and thereby build up a statistical picture of $β$. Our results show that the droplet population model and the Cahn--Hilliard equation (asymmetric mixtures) are demonstrably in agreement with $\langleβ\rangle\leq 1/3$. The results for the Cahn--Hilliard equation in the case of symmetric mixtures show $\langleβ\rangle$ sometimes exceeds $1/3$ in our simulations. However, the possibility is left open for the very long-time average values of $\langle β\rangle$ to be bounded above by $1/3$. The theoretical methodology laid out in this paper sets a path for future more intensive computational studies whereby this conjecture can be explored in more depth. \end{abstract}
△ Less
Submitted 8 November, 2019;
originally announced November 2019.
-
Efficient Interleaved Batch Matrix Solvers for CUDA
Authors:
Andrew Gloster,
Enda Carroll,
Miguel Bustamante,
Lennon O'Naraigh
Abstract:
In this paper we present a new methodology for data accesses when solving batches of Tridiagonal and Pentadiagonal matrices that all share the same LHS matrix. By only storing one copy of this matrix there is a significant reduction in storage overheads and the authors show that there is also a performance increase in terms of compute time. These two results combined lead to an overall more effici…
▽ More
In this paper we present a new methodology for data accesses when solving batches of Tridiagonal and Pentadiagonal matrices that all share the same LHS matrix. By only storing one copy of this matrix there is a significant reduction in storage overheads and the authors show that there is also a performance increase in terms of compute time. These two results combined lead to an overall more efficient implementation over the current state of the art algorithms cuThomasBatch and cuPentBatch, allowing for a greater number of systems to be solved on a single GPU.
△ Less
Submitted 12 September, 2019; v1 submitted 10 September, 2019;
originally announced September 2019.
-
cuSten -- CUDA Finite Difference and Stencil Library
Authors:
Andrew Gloster,
Lennon O'Naraigh
Abstract:
In this paper we present cuSten, a new library of functions to handle the implementation of 2D and batched 1D finite-difference/stencil programs in CUDA. cuSten wraps data handling, kernel calls and streaming into four easy to use functions that speed up development of numerical codes on GPU platforms. The paper also presents an example of this library applied to solve the Cahn-Hilliard equation u…
▽ More
In this paper we present cuSten, a new library of functions to handle the implementation of 2D and batched 1D finite-difference/stencil programs in CUDA. cuSten wraps data handling, kernel calls and streaming into four easy to use functions that speed up development of numerical codes on GPU platforms. The paper also presents an example of this library applied to solve the Cahn-Hilliard equation utilizing an ADI method with periodic boundary conditions, this solver is also used to benchmark the cuSten library performance against a serial implementation.
△ Less
Submitted 4 September, 2019; v1 submitted 26 February, 2019;
originally announced February 2019.
-
cuPentBatch -- A batched pentadiagonal solver for NVIDIA GPUs
Authors:
Andrew Gloster,
Lennon Ó Náraigh,
Khang Ee Pang
Abstract:
We introduce cuPentBatch -- our own pentadiagonal solver for NVIDIA GPUs. The development of cuPentBatch has been motivated by applications involving numerical solutions of parabolic partial differential equations, which we describe. Our solver is written with batch processing in mind (as necessitated by parameter studies of various physical models). In particular, our solver is directed at those…
▽ More
We introduce cuPentBatch -- our own pentadiagonal solver for NVIDIA GPUs. The development of cuPentBatch has been motivated by applications involving numerical solutions of parabolic partial differential equations, which we describe. Our solver is written with batch processing in mind (as necessitated by parameter studies of various physical models). In particular, our solver is directed at those problems where only the right-hand side of the matrix changes as the batch solutions are generated. As such, we demonstrate that cuPentBatch outperforms the NVIDIA standard pentadiagonal batch solver gpsvInterleavedBatch for the class of physically-relevant computational problems encountered herein.
△ Less
Submitted 23 July, 2018; v1 submitted 19 July, 2018;
originally announced July 2018.