Please update your browser. For the best Liquid Instruments experience, update to the latest version of Chrome, Edge, Firefox, or Safari. Update Microsoft Edge.
Liquid Instruments Logo
Products
Hardware Platforms
Moku:Delta
Moku:Delta
New
For advanced design and validation
Moku:Pro
Moku:ProFor versatile test and measurement
Moku:Lab
Moku:LabFor experimental research labs
Moku:Go
Moku:GoFor quick testing and debugging
Compare Hardware
Compare HardwareView a side-by-side of all Moku hardware
Technologies
GenInst Studio
New
Generate personalized instruments
Integrated InstrumentsProfessional-grade instruments at your fingertips
Neural NetworkFPGA-powered neural network integration
Multi-Instrument ModeCombine instruments to create a customized test system
Moku CompileCode, compile, and deploy to your Moku's FPGA
Software
MokuOSDownload the Moku app for Windows, macOS, iPadOS & visionOS
APIsPython, MATLAB, LabVIEW
UtilitiesCommand line and graphical tools for file conversion
Instruments
Analysis
Oscilloscope
Spectrum Analyzer
Frequency Response Analyzer
Lock-in Amplifier
Phasemeter
Logic Analyzer / Pattern Generator
Time & Frequency Analyzer
Data Logger
Generation
Waveform Generator
Arbitrary Waveform Generator
Control & Conditioning
PID Controller
Digital Filter Box
FIR Filter Builder
Laser Lock Box
Custom & Utility
GenInst Studio
New
Gigabit Streamer
Moku Compile
Neural Network
Multi-Instrument Mode
Real Time Math
New
Applications
Optics and Photonics
Microscopy and Spectroscopy
Photon Counting
Quantum Optics
Aerospace and defense
A&D Instrumentation
Component Test
Automated Testing
Semiconductor Test
Control Systems and Bode Analysis
MEMS Testing
AI and Machine Learning
Generative Instrumentation
New
Neural Networks
Education
Education and Research
Resources
App Notes
Blog
Case Studies
Coursework
Guides
Product Documentation
Publications
Webinars
White Papers
Support
Company
Contact Us
About Us
Leadership
Partners
News & Updates
Press
Events Calendar
Careers
Store
0
Get a quote Buy Now
MokuOS 4.4 is here. Update now for AI-generated instrument interfaces, real-time mathematical signal operations, and more. | Learn more.
Case studies

Building a custom DBPSK BER Receiver with AI

Learn how researchers at Universidad Carlos III de Madrid used GenInst Studio to build a real-time DBPSK bit error rate tester on Moku, without writing HDL.

Jessica PattersonProduct Marketing Manager•November 3, 2026

    Experimental research often calls for measurements that require unique or highly specialized test equipment. When standard test equipment falls short, engineers are left choosing between complex multi-tool workarounds and time-consuming custom FPGA development. For one optical communications group in Madrid, that choice came down to a single instrument: a receiver that could demodulate their signal and measure bit error rate (BER) in real time.

    At Universidad Carlos III de Madrid (UC3M), the Displays and Photonic Applications Group (GDAF) works across photonics, optoelectronics, optical communications, sensing, and assistive technologies. Much of the group’s work is experimental, combining optical and electronic systems to develop and test visible light communication (VLC), optical camera communication, photodetectors, solar cells, sensors, and electronic instrumentation. Like many advanced R&D groups, the team is particularly focused on turning research ideas into practical systems that can be validated under real-world conditions.

    When the group needed a differential binary phase-shift keying (DBPSK) receiver capable of measuring bit error rate (BER) directly on the instrument, Juan Carlos Torres Zafra, a professor in UC3M’s Department of Electronic Technology, turned to GenInst Studio. By describing the receiver in natural language, the team went from a specific experimental need to a working custom instrument on Moku hardware in just a few days, with no hand-written FPGA code.

    The challenge

    Bit error rate is one of the key metrics for experimentally evaluating any communication link. For a group that regularly builds and tests new optical links, being able to characterize them quickly, and to change experimental conditions on the fly, is essential.

    “Integrating signal reception, demodulation, and BER measurement directly into the instrumentation system greatly simplifies the characterization of new links and makes it easier to quickly modify the experimental conditions,” said Dr. Torres Zafra.

    The team needed an instrument that could acquire the received signal, perform DBPSK demodulation, recover the transmitted bit sequence, and compare it against a known reference sequence to calculate the BER in real time. Conventional instruments, including the standard Moku instruments, could generate and acquire the signals, but this specific combination of demodulation and error counting required additional processing.

    Without a custom instrument, the group saw two options, each with significant drawbacks:

    • Multiple instruments plus offline processing. Signals would be generated and captured with standard Moku instruments, then demodulated and analyzed in MATLAB or Python. This meant stitching together acquisition, data transfer, synchronization, processing, and BER calculation as separate stages, and would not allow the team to achieve real-time results.
    • Dedicated FPGA implementation. Writing the receiver in VHDL or Verilog would deliver real-time performance, but required a full cycle of HDL design, simulation, debugging, and hardware-specific compilation.


    While the group has deep experience in electronics, instrumentation, and optoelectronic systems, custom FPGA development for a single specialized instrument is a nontrivial investment of their time and effort. “The goal was precisely to avoid having to carry out a full HDL development process just to create a specific instrument,” Torres Zafra explained.

    The solution

    Instead of combining several tools or starting an HDL project, the team described the receiver they needed to GenInst Studio in plain language:

    “Create a DBPSK receiver that demodulates the incoming signal, recovers the transmitted bit stream, compares it with a known reference sequence, and calculates the bit error rate in real time.”

    The conversation with GenInst Studio pushed the team to define each stage of the receiver more precisely: what signal needed to be processed, how bit decisions should be made, how the reference sequence should be used, and how the BER should be calculated. “This interaction helped turn a functional description of the receiver into specific requirements for the instrument,” said Torres Zafra.

    GenInst Studio conversation refining the DBPSK receiver requirements
    Figure 1: GenInst Studio conversation refining the DBPSK receiver requirements

    From there, the workflow followed four steps:

    1. Describe the required functionality in natural language.
    2. Refine the requirements together with GenInst Studio.
    3. Generate and validate the instrument using GenInst Studio’s built-in validation.
    4. Deploy the instrument to Moku and test it with experimental signals.

    The result was a custom instrument implementing DBPSK reception, allowing the team to recover the demodulated data and measure BER directly on the hardware. The group regularly uses both Moku:Lab and Moku:Go in its experiments.

    GenInst Studio’s validation process proved valuable before the instrument ever touched the optical setup. It allowed the team to check the instrument logic in advance and reduced the number of iterations a manual FPGA implementation would have required. Final confidence came from experimental testing. By using known signals, the team confirmed that the receiver correctly recovered the DBPSK data, enabled BER calculation, and behaved as expected.

    The result

    Using GenInst Studio, the GDAF team built a functional DBPSK receiver and used it to measure BER directly on Moku across a range of transmission rates in their optical communication experiments, obtaining BER values of around 3.5 × 10⁻³ in some configurations. The team is now preparing these results for publication in a scientific paper.

    The first working version of the instrument was ready within a few days. An equivalent implementation through conventional FPGA development would have taken considerably longer once HDL design, simulation, integration, compilation, and debugging were accounted for.

    Beyond saving time, GenInst Studio removed the need to build the FPGA logic from scratch in VHDL or Verilog, significantly lowering the barrier to creating specialized instrumentation. It also made an experiment practical that would otherwise have been difficult: an integrated DBPSK receiver with live BER measurement would not have been achievable with standard instruments alone, and would have demanded far more effort through FPGA development or external processing.

    “The most valuable outcome was realizing that we could go from a very specific experimental need to a functional instrument in just a few days, without having to carry out a full FPGA development,” said Dr. Torres Zafra. “Having DBPSK reception and BER measurement directly available turned an experimental idea into a practical tool that we could actually use.”


    The ability to describe a new function, adjust its requirements, and quickly generate a new version has also changed how fast the group can test ideas. Rather than starting from HDL design, development now starts from what the experiment needs, while the option of moving to a more specialized FPGA implementation later remains open.

    Looking ahead

    The team sees clear opportunities to apply GenInst Studio across its optical communications research, including new transmitters and receivers, PRBS sequence generation and detection, automated BER measurement, synchronization, filtering, and VLC channel characterization.

    They are also interested in multisine signals and custom test sequences for the dynamic characterization of LEDs, photodetectors, and optical channels.

    For other researchers with highly specific measurement needs, Dr. Torres Zafra recommends starting with a clear definition of the instrument’s inputs and outputs, the processing required, and how the result will be validated. “Tools such as GenInst Studio can help create a first functional instrument quickly, but it is still essential to experimentally verify its behavior using known signals and controlled conditions.”

    As he puts it, one of GenInst Studio’s most important qualities is that it shortens the time between an experimental idea and a functional instrument. “For research groups that need highly specific instrumentation but do not necessarily have dedicated FPGA development resources, this approach can make it possible to explore experiments that would otherwise require much more time and effort.”

    Make an account and try GenInst Studio for free.

    Sign up
    Try Moku in demo mode Download the Moku app → Get answers to FAQs Visit Knowledge Base → Connect with Moku users Join the user forum →

    Other Recommended Case studies

    Case studies
    Implementing interleaved optical cavity stabilization with Moku

    Learn how researchers are using Moku to help maintain stable resonance while preserving sensitive quantum information

    Featuring: Laser Lock Box, GenInst Studio

    Date: Sep 16, 2026

    Case studies
    Preparing oocytes for assisted reproductive technologies with Moku

    Learn how researchers at Cornell University are using Moku to help standardize the oocyte cumulus removal process

    Featuring: Waveform Generator

    Date: Sep 09, 2026

    Case studies
    Improving microwave frequency synthesis with Moku

    Learn how researchers at IMRA are using Moku to help implement electro-optic frequency division

    Featuring: Laser Lock Box

    Date: Sep 09, 2026

    Back to all Case studies

    Nav

    • Products
    • Instruments
    • Resources
    • Support
    • Company
    • Contact Us
    • Privacy Policy
    • Terms of Use

    Offices

    United States
    (619) 332-6230
    12526 High Bluff Dr.
    Suite 150
    San Diego, CA 92130

    Australia
    +61 2 6171 9730
    243 Northbourne Avenue
    Suite 1, Level 1
    Lyneham, ACT 2602

    Australia
    +61 3 7073 3594
    Suite 5C, Level 5,
    700 Swanston Street,
    Carlton, VIC – 3058

     

     

    Follow us

    LinkedIn YouTube X Facebook Instagram

    官方微信

    © 2026 Liquid Instruments. All rights reserved.
    When autocomplete results are available use up and down arrows to review and enter to go to the desired page. Touch device users, explore by touch or with swipe gestures.

    Suggestions

    • Page Moku:Delta
    • Page GenInst Studio
    • Blog MokuOS 4.4 brings custom instrument interfaces for GenInst Studio, real-time signal math, and precision GNSS timestamping
    • Case Study Building a custom DBPSK BER Receiver with AI
    • Contact Get a quote

    Looking for help? Visit support