Skip to content
Saharsh Engineering Log
Back to projects

CubeSat Gamma-Ray Burst Timing Payload — Rev A

I designed the first electronics revision of a CubeSat payload intended to detect gamma-ray bursts and timestamp individual detector pulses precisely enough for comparison with other spacecraft and observatories. Rev A brings together pulse amplification, triggering, pulse-height digitisation, GNSS timing, storage, SiPM bias power, housekeeping, and an STM32 payload computer. Reviewing it exposed the most important remaining gaps: the scintillator and SiPM detector head is not yet present, pulse shaping still has to be added, and the timing path must be calibrated end to end before the timestamps can support scientific comparison.

CubeSatEasyEDAGamma-Ray DetectionPrecision TimingPulse ProcessingSchematic Design

Summary

Electronics & PCB Design
Project
In development

Evidence on file

Documentation

My contribution

I drew the Rev A schematic in EasyEDA and reviewed it against what the measurement demands. Alongside the drawing I wrote the pulse-processing and precision-timing architectures, the triggering and pulse-height concepts, the event-storage design with pre-trigger and post-trigger recording, the burst-detection and alert requirements, the power and housekeeping design, the sixteen top-level requirements, and the verification method for each mission function.

Rev A is a design-stage schematic: nothing has been fabricated or tested, and no gamma ray has been measured. The review is my own assessment of what the drawing settles and what it does not.

Project overview

01

Why I built this

A gamma-ray burst is over in seconds, and almost everything useful about one is in the timing: when the photons arrived, how the brightness changed while they did, and roughly how energetic they were. An instrument that records those three things well has done its job.

Direction is different. One satellite can detect a burst and timestamp it; it cannot triangulate a direction by itself. Two separated satellites can compare arrival times and constrain the source to a possible annulus on the sky. Three or more, properly separated, can do better. So the value of a single precisely timed CubeSat detection is what it contributes to a network — which is only worth anything if its clock can be trusted.

02

Mission objective

The intended payload would detect short and long gamma-ray bursts across a target range of roughly 50 keV to 1 MeV, timestamp every accepted pulse against UTC, estimate each photon's energy from its pulse height, and build a light curve showing how the burst brightened and faded. It would recognise a significant rise above its own background, alert the spacecraft, and preserve the record for downlink. On the ground, those events would be compared against Fermi, Swift, GECAM, gravitational-wave observatories and other CubeSats.

Rev A is a schematic and a review. It demonstrates none of this.

03

What Rev A contains

By subsystem, with designators for anyone following on the drawing.

Absent. No scintillator, SiPM, enclosure, or connector for them.
U2 amplifier, P1 fast comparator, U3 pulse-height ADC. The shaping or peak-hold stage between them has still to be added.
U1, an STM32F103C8T6, with X1 at 12 MHz and X2 at 8 MHz.
GNSS modules U5 and U11, with 1-PPS outputs and antenna connections. Roles undefined.
Flash U4 and SPI flash U14. Which holds what is undefined.
U10, a boost converter intended to reach roughly 25 to 30 V.
U8 main 3.3 V regulator, U9 separate analog 3.3 V regulator.
U6 SiPM and board temperature, U7 current and power monitor.
F1 500 mA fuse, D1 Schottky, D2 ESD diode, Q1 P-channel MOSFET.
U12 and U13 headers. Pins not yet labelled.
LED1 and LED2, for ground testing.
04

Rev A schematic

EasyEDA Schematic V1.0. The title block identifies the artefact as PAYLOAD21: GRB Timing CubeSat Payload, created 24 June 2026 and updated 26 June 2026 — the drawing's dates, not the project's.

Page 1 of the export, rendered as drawn. Open the enlarged view to follow the layout, and the PDF to read it.

05

One pulse, two measurements

One gamma ray produces one flash in the scintillator, one small pulse out of the SiPM, and from that single pulse the instrument has to extract two independent quantities.

The first is when. The pulse goes to P1, a fast comparator, which flips the moment the signal crosses a threshold. That digital edge is what gets timestamped, and it has to be timestamped in hardware rather than by software noticing it afterwards — which is why the review requires the comparator output to reach an STM32 timer-capture input, a connection Rev A does not make.

The second is how big. Amplitude is the estimate of photon energy, and U3 is meant to digitise it to at least 12 bits. But a SiPM pulse is far too brief for a converter to catch at its peak, so something has to hold that peak still. That is the missing shaping or peak-hold stage. Both paths are incomplete in Rev A.

06

The GRB measurement chain

A gamma ray in at one end, a timed and catalogued event out at the other. The middle of the chain is on the Rev A sheet; the detector head at the front is not, and the systems at the back are requirements the drawing does not settle. Every figure is a requirement, not a measurement.

Solid — represented in the Rev A schematicDashed — absent hardware, or a requirement Rev A does not settle
    1. Gamma-ray photon

      Target range roughly 50 keV to 1 MeV.

    1. Scintillator crystal

      Turns gamma-ray energy into visible light. Not on the sheet.

    2. SiPM

      Turns that light into a short electrical pulse. Not on the sheet.

  1. Represented in Rev A
    1. Low-noise amplifier U2

      Lifts a small detector pulse to a measurable level.

    1. Shaping or peak-hold stage

      Holds the peak still long enough for a converter to measure it.

  2. Represented in Rev A
    1. Fast comparator P1

      Produces the digital edge when a pulse crosses the threshold.

    2. Pulse-height ADC U3

      Amplitude at 12 bits or better, as the energy estimate.

    1. STM32 hardware timer capture

      The comparator output has to reach a capture input. Rev A does not show it.

    1. Background and multi-window trigger

      A running background estimate, with windows from 16 ms to 1.024 s so short and long bursts both register.

    2. Pre- and post-trigger buffer

      At least 30 seconds before the trigger and 120 seconds after.

    3. Spacecraft alert

      A compact packet within 10 seconds of a confirmed trigger.

  3. Represented in Rev A
    1. Flash U4 and U14

      Against 99 per cent record integrity, with burst data protected from overwriting.

    2. Interface headers U12 and U13

      Pin functions still to be defined.

    1. Reconstruction and comparison

      Calibrated spectra and light curves, compared against other gamma-ray and gravitational-wave observations.

07

Why timing is part of the instrument

On most instruments a clock is housekeeping. Here it is part of the measurement, because the science question is comparison: does this burst match what another spacecraft saw, and what do the arrival-time differences say about where it came from?

The requirement is absolute event time within 10 microseconds of UTC, and the review breaks it into pieces that each have to be earned. GNSS 1-PPS disciplines the event timer. Electronic timing variation through amplifier, comparator and firmware is allowed under 1 microsecond, which is why the trigger edge has to land on a hardware capture input. Every fixed delay in that path has to be measured and corrected, because a delay you have not measured is an error you cannot remove.

Then the failure cases: firmware noticing that GNSS synchronisation is missing and flagging those records as degraded, and a local clock stable enough to hold time between 1-PPS edges.

Rev A draws two GNSS modules and two crystals. It does not define which does what, connect the comparator to a capture input, or calibrate a single delay.

08

What the design review found

The support electronics are drawn. The review was about the distance between that and an instrument whose measurements would mean anything.

The detector head is the largest gap and has its own section below. After it comes the analog path: the shaping or peak-hold stage is missing, the comparator does not reach a hardware capture input, and U2, P1 and U3 have no part numbers, so the amplifier noise, comparator speed and converter accuracy the requirements depend on are all open.

The bias supply needs closed-loop feedback, current limiting, voltage measurement and controlled discharge — a SiPM's gain follows its bias closely, so an uncontrolled bias is an uncontrolled energy scale. Gain follows temperature too, which is why U6 has to feed compensation rather than only telemetry.

Then the duplicated parts. Two GNSS modules and two flash devices are on the sheet, and the review's position is that their roles need defining; I am not going to call them a finished redundancy scheme, because the drawing does not say that. Both antenna symbols read 6 GHz, which is not a GNSS band.

09

The missing detector head

Everything on the Rev A sheet processes a pulse. Nothing on it produces one.

The detector head is a scintillator crystal — CsI(Tl), CeBr3 or similar — optically coupled to a SiPM, wrapped reflectively, in a light-tight enclosure with its own temperature sensor. The crystal converts gamma-ray energy into visible light; the SiPM converts that light into the pulse the rest of the board is built around. Neither is drawn, and there is no connector for the SiPM's signal, bias, temperature and ground.

This is not a detail to tidy up later. The crystal sets the energy range and the resolution, the optical coupling has to survive launch without changing the amplitude it delivers, and the enclosure has to keep light out, because a SiPM cannot tell a stray photon from a scintillation flash.

The honest description of Rev A is a payload electronics revision waiting for its instrument.

10

Critical Rev B priorities

What the next revision has to settle before a board is worth fabricating.

Select scintillator and SiPM; add a connector for signal, bias, temperature and ground.
The shaping or peak-hold stage the amplitude measurement needs.
Comparator output to a hardware timer-capture input.
Exact part numbers for U2, P1 and U3.
Closed-loop feedback, current limiting, measurement, controlled discharge.
Temperature-based SiPM gain compensation from U6.
Roles for the two GNSS modules and the two flash memories.
A real GNSS band in place of 6 GHz.
Verified STM32 crystal circuits and load capacitors.
Separate analog and digital grounds, with supply filtering.
Bias, amplifier and comparator outputs, ADC input, 1-PPS, rails.
Labelled spacecraft-interface pins on U12 and U13.
Hardware watchdog and safe-mode circuit.
Latch-up and radiation-effects analysis.
Light-tight detector enclosure.
Calibration plan and a cross-satellite timing pipeline.
11

Verification plan

Grouped by what each area exercises. None has been carried out: there is no detector and no board, and several steps need a licensed radiation facility.

AreaPlanned verification
Detector and opticsCalibrated gamma sources for energy response; a pulsed LED in a light-tight enclosure; amplitude before and after vibration; count rate in darkness against bright light.
Bias and gainBias across input voltage, load and temperature; a simulated short for current limiting; a reference peak tracked through a thermal chamber.
Pulse pathCalibrated pulses at several amplitudes for amplifier SNR; ADC against a precision pulser; amplitude swept through the comparator threshold.
TimingOne pulse split between payload and reference equipment; payload time against a GNSS-disciplined reference; 1-PPS removed to measure drift.
Counting and triggeringKnown counts injected until events are lost; simulated bursts mixed into measured background; particle spikes replayed against the rejection logic.
Storage and interfaceWrites, power interruptions, filling and readback; flash filled while protected files are watched; 24 hours against a spacecraft emulator.
Faults and environmentOvercurrent, overtemperature and forced lockups; vibration, thermal-vacuum and radiation analysis, then calibration repeated.
12

What I learned

I drew a board that processes pulses and called it a payload. The review made the distinction clear: the instrument is the crystal, the SiPM and the light-tight enclosure, and what I had drawn is the electronics that serve them.

The second lesson is that a measurement has a shape in time. A SiPM pulse is too short to be measured directly, so the shaping stage I left out is not a refinement — without it the energy number has no defensible meaning. The trigger edge is the same: if software finds out about it late, the timestamp carries that lateness.

The third is about the network. One satellite times a burst; two constrain a direction and three or more do it well. Ten microseconds only matters because somebody else recorded the same photons — and the burst is the one thing you cannot ask to happen again.

Technical notes

The detailed gamma-ray detector requirements, pulse-processing design, precision-timing architecture, burst-trigger logic, verification plan, and Rev B review behind this schematic.

Read the technical notes

Evidence

Log entries for this project

Project

I designed the first electronics revision of a CubeSat photometer intended to measure the brightness of a selected star over several hours and look for the small, repeatable dip caused by a known transiting exoplanet. Rev A combines a BPW34 photodiode, a transimpedance amplifier, a 16-bit ADC, a calibration-light interface, onboard storage, power and development electronics. The design review made the harder problem clear: a transit-like dip can also be produced by pointing error, temperature drift, stray light or electronics drift, so those effects have to be measured well enough to rule them out.

In developmentDocumentationAnalog Front EndCubeSat
Project

I designed the first electronics revision of a CubeSat solar-flare payload in EasyEDA, integrating the payload computer, onboard storage, power regulation and protection, visible-light sensing, magnetometry, development interfaces, and spacecraft connections. A design review then exposed the most important limitation of Rev A: the schematic contained the supporting electronics, but not yet the dedicated X-ray detector and low-noise analog front end required to make it a functional solar X-ray instrument.

In developmentDocumentationCubeSatDesign Review
Project

I designed the first electronics revision of a CubeSat particle monitor intended to map how energetic-particle radiation changes along an orbit during quiet and storm-time conditions. Rev A explores multiple silicon-detector channels, pulse amplification and shaping, programmable thresholds, coincidence detection, contextual magnetic and motion sensing, onboard storage, and spacecraft interfaces. The design review made the central challenge clearer: four detectors are only useful as four science channels if their geometry, shielding, calibration, timing and independent signal paths are actually defined.

In developmentDocumentationCoincidence DetectionCubeSat