LAONURI BLOG

라온우리 블로그


The Onilne Disrtibutor of Electronic Component

Pulse Detection (FWPD)


 FPGA 기반 실시간 펄스 검출 및 분석 솔루션

왜 FWPD를 사용해야 할까요?


FPGA 기반 실시간 펄스 검출 및 분석 솔루션


FWPD는 SP Devices의 Digitizer에 적용되는 FPGA 기반 펄스 검출 펌웨어로, 입력 신호를 실시간으로 분석하고 필요한 데이터만 효율적으로 수집할 수 있도록 지원합니다.


FWPD의 주요 장점


  • 실시간 펄스 검출 및 분석: FPGA에서 펄스를 직접 검출하고 피크값, 펄스 폭(FWHM), 발생 시점 등의 주요 정보를 실시간으로 분석합니다.

  • 데이터 처리량 최적화: 불필요한 신호 데이터를 제거하는 Zero Suppression 기술로 데이터 전송량과 저장 공간을 줄입니다.

  • CPU/GPU 부하 감소: FPGA에서 신호 처리를 수행하여 호스트 PC의 연산 부담을 줄이고 고속 연속 측정을 지원합니다.

  • 유연한 시스템 구성: 사용자 정의 FPGA 기능과 맞춤형 엔지니어링 서비스를 통해 다양한 측정 환경에 대응할 수 있습니다.


FWPD는 포토닉스, LiDAR, 질량분석 및 과학 계측 분야에서 효율적인 고속 데이터 수집과 실시간 신호 분석을 지원합니다.


FWPD 공식 기술 소개


맞춤형 엔지니어링 서비스

FPGA‑based real-time pulse detection and analysis


  • Optional firmware package for the onboard FPGA
  • Onboard pulse extraction and analysis help lower CPU/GPU load
  • Detection window used to isolate pulses of interest
  • Individual level trigger for each channel and data-driven dynamic record length
  • Real-time pulse analysis to extract peak position, pulse duration, full width at half max (FWHM), centroid, and more
  • Autonomous baseline drift and pattern noise correction with Digital baseline stabilizer (DBS)
  • Advanced data handling and latency control mechanisms to ensure robust continuous operation
  • Firmware updates can be done by the user via the ADQUpdater tool that is included in the SDK


  • 온보드 FPGA용 선택적 펌웨어 패키지
  • 온보드 펄스 추출 및 분석이 CPU/GPU 부하를 줄이는 데 도움을 줍니다 
  • 관심 펄스를 분리하기 위해 사용되는 검출 창 
  • 각 채널별 개별 트리거와 데이터 기반 동적 기록 길이 
  • 실시간 펄스 분석을 통해 피크 위치, 펄스 지속 시간, 반치폭(FWHM), 중심점 등 다양한 정보를 추출합니다 
  • 디지털 기준선 안정기(DBS)를 이용한 자율 기준선 드리프트 및 패턴 노이즈 보정 
  • 견고한 연속 운전을 보장하기 위한 고급 데이터 처리 및 지연 시간 제어 메커니즘 
  • 펌웨어 업데이트는 SDK에 포함된 ADQUpdater 도구를 통해 사용자가 직접 할 수 있습니다 



Description


FWPD is an FPGA‑based firmware option that adds real‑time pulse detection, classification, and attribute extraction to Teledyne SP Devices’ digitizers. It operates on the full-rate data stream from the ADC and significantly reduce the raw data volume before it reaches the host computer.


FWPD는 Teledyne SP 디바이스의 디지타이저에 실시간 펄스 감지, 분류 및 속성 추출 기능을 추가하는 FPGA 기반 펌웨어 옵션입니다. ADC의 전체 속도 데이터 스트림을 기반으로 작동하며, 호스트 컴퓨터에 도달하기 전 원시 데이터 양을 크게 줄여줍니다.


By computing key pulse attributes in hardware, FWPD helps match data throughput to the available transfer bandwidth while off‑loading CPU/GPU resources for further analysis or storage. This enables high‑performance, continuous measurements even in dense, high‑frequency pulse environments where the raw data rate would otherwise exceed the available transfer bandwidth.


하드웨어에서 키 펄스 속성을 계산함으로써, FWPD는 데이터 처리량을 사용 가능한 전송 대역폭에 맞추고 CPU/GPU 자원을 추가 분석이나 저장을 위해 분산시킵니다. 이를 통해 원시 데이터 전송 속도가 전송 대역폭을 초과할 수 있는 밀집되고 고빈도 펄스 환경에서도 고성능의 연속 측정이 가능합니다. 


Functionality and feature set vary between digitizer models. Please refer to the corresponding datasheet and/or user guide for details, and see the video below for a short capability overview.


기능과 특징은 디지타이저 모델마다 다릅니다. 자세한 내용은 해당 데이터시트 및/또는 사용자 설명서를 참고하시고, 아래 영상을 통해 간단한 기능 개요를 확인해 주세요.


Key Features and Mode of Operation


FWPD combines several powerful capabilities that work together to ensure high‑performance pulse detection and optimized data throughput:

FWPD는 고성능 펄스 검출과 최적화된 데이터 처리량을 보장하기 위해 여러 강력한 기능을 결합합니다: 


  • A detection window specifies the time span in which FWPD searches for pulses. It is opened by a trigger event and runs for a user‑defined duration, providing a well‑defined region where pulse detection and analysis take place.
  • A user-defined per-channel amplitude threshold helps identify pulses within the detection window. FWPD determines the start and end of each pulse dynamically from the acquired samples, so-called dynamic record length.
  • The system records and transfers only the samples associated with detected pulses, discarding all non‑pulse data. This approach, known as zero suppression, can significantly reduce the data rate.
  • Multi peak detection finds pulses that occur so close together that a standard level trigger would miss them, using a dynamic threshold to identify additional peaks on the tail of a previous pulse (ADQ3-series only).
  • Temperature‑dependent baseline drift is automatically corrected in the background by the Digital Baseline Stabilizer (DBS). This prevents baseline shifts that could otherwise distort peak values, affect pulse areas, or cause pulses to be missed entirely.
  • FWPD performs real‑time pulse attribute extraction inside the FPGA, providing access to key pulse metrics such as:
    • Peak Amplitude - The highest sample value within the pulse, representing the maximum signal strength observed.
    • Time of Peak - The precise timestamp of the sample where the pulse reaches its maximum amplitude, providing an accurate measure of pulse arrival time.
    • Centroid - A weighted “center‑of‑mass” position of the pulse, offering a refined timing estimate that accounts for the entire pulse shape rather than only the peak.
    • Full Width at Half Maximum (FWHM) - The width of the pulse measured at 50% of its peak amplitude. This parameter characterizes pulse shape and is useful for distinguishing different types of events.
    • Area - The integrated pulse area calculated by summing all samples belonging to the pulse. This reflects total pulse energy or charge and is often used in quantification and classification tasks.
    • Status - A bit‑field indicating additional information about the pulse, such as threshold conditions or computation flags, enabling robust quality assessment of each detected event.
    • Custom attributes can be added to the open FPGA using the firmware development kit



  • 검출 윈도우는 FWPD가 펄스를 탐색하는 시간 범위를 지정합니다. 트리거 이벤트에 의해 시작되며 사용자가 지정한 기간 동안 실행되어, 펄스 감지와 분석이 이루어지는 명확한 구역을 제공합니다.
  • 사용자가 정의한 채널별 진폭 임계값은 검출 윈도우 내의 펄스를 식별하는 데 도움을 줍니다. FWPD는 획득한 샘플을 바탕으로 각 펄스의 시작과 끝을 동적으로 결정하는데, 이를 동적 기록 길이라고 합니다.
  • 시스템은 감지된 펄스와 관련된 샘플만 기록 및 전송하며, 펄스가 아닌 데이터는 모두 버립니다. 이 방식을 제로 억제라고 하며, 데이터 전송 속도를 크게 낮출 수 있습니다.
  • 멀티 피크 검출은 표준 레벨 트리거로는 놓칠 정도로 매우 가까운 펄스들을 찾아내며, 이전 펄스 꼬리 부분에 있는 추가 피크를 식별하기 위해 동적 임계값을 사용합니다(ADQ3 시리즈 전용).
  • 온도 의존 기준선 드리프트는 디지털 기준선 안정기(DBS)가 백그라운드에서 자동으로 보정합니다. 이로 인해 피크 값이 왜곡되거나 펄스 영역에 영향을 주거나 펄스를 완전히 놓치는 등의 기준선 이동을 방지할 수 있습니다.
  • FWPD는 FPGA 내에서 실시간 펄스 속성 추출을 수행하며, 다음과 같은 주요 펄스 지표에 접근할 수 있게 합니다:
  • 최대 진폭 - 펄스 내에서 가장 높은 샘플 값으로, 관측된 최대 신호 세기를 나타냅니다.
  • 피크 시간 - 펄스가 최대 진폭에 도달한 샘플의 정확한 타임스탬프로, 펄스 도착 시간을 정확하게 측정할 수 있습니다.
  • 중심점 - 펄스의 가중 질량 중심 위치로, 피크뿐 아니라 전체 펄스 형태를 반영해 정밀한 타이밍 추정을 제공합니다.
  • 최대 절반 폭(FWHM) - 펄스의 최대 진폭의 50% 지점에서 측정된 폭입니다. 이 파라미터는 펄스 형태를 특징짓는 것으로, 다양한 종류의 이벤트를 구분하는 데 유용합니다.
  • 면적 - 펄스에 속하는 모든 샘플을 합산하여 계산한 통합 펄스 면적입니다. 이는 전체 펄스 에너지 또는 전하를 나타내며, 정량화 및 분류 작업에 자주 활용됩니다.
  • 상태 - 임계 조건이나 계산 플래그 같은 펄스에 대한 추가 정보를 나타내는 비트 필드로, 각 검출 이벤트의 품질을 정확히 평가할 수 있게 합니다.
  • 펌웨어 개발 키트를 사용하여 개방형 FPGA에 사용자 지정 속성을 추가할 수 있습니다


  • Optional parallel streaming of raw data allows users to complement attribute data with full waveforms whenever deeper analysis is required.


Figure 1: A detailed view of how the two attributes peak and peak_position are calculated for a pulse when the
polarity is set to ADQ_POLARITY_POSITIVE. 


그림 1: 펄스에서 두 속성인 피크와 피크_위치가 어떻게 계산되는지에 대한 상세한 개요입니다

극성이 ADQ_POLARITY_POSITIVE로 설정되었습니다.





Figure 2: A detailed view of how the two attributes centroid_coarse and centroid_fine relate to the peak_position to provide a more accurate estimate of where the pulse is located on the digitizer’s timing grid.


그림 2: 두 속성인 centroid_coarse와 centroid_fine이 peak_position과 어떻게 연관되어 디지타이저 타이밍 그리드 상에서 펄스 위치를 더 정확하게 추정하는지에 대한 상세한 설명입니다.




Figure 3: A detailed view of how the attribute fwhm is calculated for a pulse when the polarity is set to ADQ_POLARITY_POSITIVE. 


그림 3: 극성이 ADQ_POLARITY_POSITIVE로 설정된 펄스에 대해 속성 fwhm이 어떻게 계산되는지 자세히 보여줍니다.



Figure 4:A detailed view of how the area is calculated for a pulse when the polarity is set to ADQ_ POLARITY_POSITIVE. 


그림 4: 극성이 ADQ_ POLARITY_POSITIVE로 설정되었을 때 펄스 면적이 어떻게 계산되는지 자세히 보여줍니다.


FWPD + GPU Processing for Advanced Analysis


FWPD’s real‑time pulse detection and attribute extraction significantly reduce the data volume that must be transferred to the host PC, making it practical to pair the digitizer with modern GPU‑based processing pipelines. With the heavy front‑end work already handled inside the FPGA, GPUs can be dedicated to more advanced tasks such as resolving overlapping pulses, performing multi‑dimensional clustering, or running machine‑learning models for event classification.


FWPD의 실시간 맥박 감지 및 속성 추출 기능은 호스트 PC로 전송해야 하는 데이터 양을 크게 줄여, 디지타이저를 최신 GPU 기반 처리 파이프라인과 연동하는 것을 가능하게 합니다. FPGA 내부에서 이미 무거운 프론트엔드 작업이 처리되기 때문에, GPU는 중첩 펄스 해석, 다차원 클러스터링, 이벤트 분류를 위한 머신러닝 모델 실행 같은 고급 작업에 집중할 수 있습니다.


This division of labor enables high‑fidelity analysis at extreme pulse rates, combining deterministic FPGA preprocessing with the flexibility and computational power of GPU architectures.


이러한 역할 분담 덕분에 결정론적 FPGA 전처리와 GPU 아키텍처의 유연성 및 계산 능력을 결합하여 극한 펄스 속도에서도 높은 정확도의 분석이 가능합니다.







Control and Visualization


FWPD-enabled digitizers can be controlled and visualized through both graphical tools and software APIs, giving users full flexibility in how they configure, monitor, and analyze pulse-based measurements.


FWPD 지원 디지타이저는 그래픽 도구와 소프트웨어 API를 통해 제어 및 시각화할 수 있어, 사용자가 펄스 기반 측정을 구성하고 모니터링하며 분석하는 데 있어 완전한 유연성을 제공합니다.

Digitizer Studio


Digitizer Studio provides an intuitive graphical interface for configuring FWPD parameters, visualizing real time data, and verifying system operation. Users can adjust thresholds, window lengths, trigger conditions, and streaming modes directly from the GUI, and view raw waveforms, detected pulses, and extracted attributes side by side. This makes it easy to validate FWPD settings and rapidly optimize performance for a given application.


Digitizer Studio는 FWPD 파라미터 설정, 실시간 데이터 시각화, 시스템 작동 확인을 위한 직관적인 그래픽 인터페이스를 제공합니다. 사용자는 GUI에서 임계값, 윈도우 길이, 트리거 조건, 스트리밍 모드를 직접 조정할 수 있으며, 원시 파형, 감지된 펄스, 추출된 속성을 나란히 확인할 수 있습니다. 이를 통해 FWPD 설정을 쉽게 검증하고 특정 애플리케이션에 맞게 성능을 빠르게 최적화할 수 있습니다

C/C++ and Python Control via ADQAPI

For integration into automated workflows or custom applications, FWPD is fully accessible through the ADQAPI, with support for C, C++, and Python. The API exposes all relevant configuration parameters - such as trigger settings, detection window control, pulse attribute readout, and streaming mode selection - allowing users to script, automate, or embed FWPD based acquisition into larger measurement systems.

자동화된 워크플로우나 맞춤형 애플리케이션에 통합하기 위해, FWPD는 ADQ를 통해 완전히 접근할 수 있습니다C, C++, Python을 지원하는 API입니다. API는 트리거 설정, 감지 윈도우 제어, 펄스 속성 읽기, 스트리밍 모드 선택 등 관련 설정 파라미터를 모두 제공하여, 사용자가 FWPD 기반 데이터 수집을 스크립팅하거나 자동화하거나 더 큰 측정 시스템에 통합할 수 있도록 지원합니다. 


ADQAPI also supports high-throughput data transfers, simultaneous attribute and raw-data readout streams, and per-channel configuration, making it well-suited for advanced, real-time analysis pipelines.

또한 ADQAPI는 고속 데이터 전송, 속성 및 원시 데이터의 동시 읽기 스트림, 채널별 구성 기능을 지원해 고급 실시간 분석 파이프라인에 적합합니다.

Ordering Information



   Product             Description


ADQ30-FWPD  Pulse detection firmware for ADQ30.
ADQ32-FWPDPulse detection firmware for ADQ32 and ADQ32-PDRX.
ADQ33-FWPDPulse detection firmware for ADQ33 and ADQ33-PDRX.
ADQ35-FWPDPulse detection firmware for ADQ35, ADQ35-PDRX, and ADQ35-WB.
ADQ36-FWPDPulse detection firmware for ADQ36.
ADQ14-FWPDPulse detection firmware for ADQ14.
ADQ14-FWPD DEV KITPulse detection firmware combined with firmware development kit for ADQ14. Important note: not available for models 2A and 4A.
ADQ7DC-FWPD
Pulse detection firmware for ADQ7DC. Important note: FWPD is not available for ADQ7WB.
ADQ7DC-FWPD-DEV KITPulse detection firmware combined with firmware development kit for for ADQ7DC. Important note: FWPD is not available for ADQ7WB.


궁금하신 점은 언제든 댓글 또는 이메일(info@laonuri.com)을 통해 말씀해 주세요!