Skip to content

Commit 69eeb52

Browse files
Update review status and fix qkeras casing
Updated the review status from draft to pending and corrected the casing of 'QKeras' to 'qkeras' in the metadata section.
1 parent d58f1db commit 69eeb52

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

_applications/reconfigurable-neural-network-asic-for-detector-front-end-data-compression-at-the-hl-lhc.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,16 @@ tags:
2121
- data compression
2222
- autoencoder
2323
- hls4ml
24-
- QKeras
24+
- qkeras
2525
- edge-ai
2626
- radiation-tolerance
27-
review_status: draft
27+
review_status: pending
2828
---
2929
The CMS High-Granularity Calorimeter (HGCAL), now under construction for the High-Luminosity LHC, is an imaging calorimeter with more than six million readout channels. All that granularity gives excellent spatial resolution for particle reconstruction, but it also creates a serious data-movement problem: trigger data has to be read out and transmitted at the 40 MHz LHC bunch-crossing rate. There isn't enough bandwidth to send every channel off-detector at full resolution, so part of the data reduction has to happen right in the front-end electronics.
3030

3131
This work tackles that reduction step with a reconfigurable neural network ASIC that compresses data directly on the HGCAL trigger path. Each silicon sensor module produces 48 trigger-cell charge values, and the front-end concentrator chip (ECON-T) has to shrink that payload before it leaves the detector. The task is lossy compression: keep the shape of the energy deposit across the sensor, and drop what the trigger doesn't need.
3232

33-
![block diagram of the HGCAL trigger path showing where the on-detector encoder fits in the data flow](/images/hgcal_asic_flow.png)
33+
<img src="{{ site.baseurl }}/images/hgcal_asic_flow.png" width="500" alt="block diagram of the HGCAL trigger path showing where the on-detector encoder fits in the data flow" />
3434

3535
The compression algorithm is an autoencoder. Only the encoder ever runs on-detector: it takes the normalized trigger-cell pattern and maps it down to a small latent representation. The decoder is there only during training, where it forces that latent space to keep enough information to rebuild the original energy pattern; in a deployed system the decoding would happen later in the chain, off the chip.
3636
What's left on silicon is a compact "shape encoder" for the local calorimeter energy distribution.
@@ -39,14 +39,14 @@ The defining choice in the design is reconfigurability. The silicon is fixed onc
3939

4040
On the Fast ML side, the network is trained with quantization-aware training in QKeras, so the weight and activation bit-widths are optimized together with accuracy rather than truncated after the fact. hls4ml then translates the trained model into synthesizable C++, which feeds Siemens Catapult HLS for the actual ASIC synthesis. Reaching that point meant taking hls4ml beyond its FPGA origins: we extended the flow to drive Catapult and to target a low-power 65 nm CMOS process. The hls4ml-generated encoder is integrated with a SystemVerilog I²C peripheral that handles weight reconfiguration on-chip. As far as we know, this was the first neural network ASIC built with the hls4ml + Catapult HLS flow, and the Fermilab collaboration behind it fed directly into [Siemens Catapult AI NN](https://news.siemens.com/en-us/siemens-catapult-ai-nn/), announced in May 2024, which brings the same hls4ml-to-Catapult workflow to a much wider range of ASIC and SoC designs.
4141

42-
![autoencoder neural network architecture and data flow for the baseline encoder model](/images/hgcal_asic_application.png)
42+
<img src="{{ site.baseurl }}/images/hgcal_asic_application.png" width="500" alt="autoencoder neural network architecture and data flow for the baseline encoder model" />
4343

4444
The digital design comes down to three blocks: a converter that normalizes the inputs, the hls4ml encoder, and the I²C peripheral that stores and updates the weights. Timing is set by the LHC clock: a new input arrives every 25 ns, and the chip produces its result within two bunch crossings, for a total inference latency of 50 ns. We carried the design all the way through synthesis and physical layout in a low-power 65 nm CMOS process.
4545

46-
![design floor-plan with integrated converter, encoder and I²C peripheral occupying a total area of 3.6 mm²](/images/hgcal_asic_floorplan.png)
46+
<img src="{{ site.baseurl }}/images/hgcal_asic_floorplan.png" width="500" alt="design floor-plan with integrated converter, encoder and I²C peripheral occupying a total area of 3.6 mm²" />
4747

4848
Living inside the detector also means surviving radiation, and that shaped the implementation as much as area and power did. The chip is designed to withstand a total ionizing dose of roughly 200 Mrad over its lifetime. Single-event effects are handled with triple modular redundancy: the encoder and converter datapath triplicate their registers and vote on the output, while the I²C peripheral that holds the weights uses full module triplication with autocorrection, so errors can't quietly build up over time.
4949

50-
![triple modular redundancy scheme: each register is triplicated with a majority voter for the encoder and converter datapath](/images/hgcal_asic_tmr.png)
50+
<img src="{{ site.baseurl }}/images/hgcal_asic_tmr.png" width="500" alt="triple modular redundancy scheme: each register is triplicated with a majority voter for the encoder and converter datapath" />
5151

5252
The final design lands at 50 ns latency, 2.38 nJ per inference, 95 mW, and 3.6 mm². Compared against an equivalent fully unrolled FPGA implementation, that's more than an order of magnitude less power, and lower latency as well. To our knowledge it's the first radiation-tolerant, on-detector neural network ASIC for particle physics, and for this community a complete Fast ML story end to end: from quantization-aware training, through hls4ml and Catapult HLS, to a validated and radiation-hardened layout.

0 commit comments

Comments
 (0)