Signalling & test equipment

Turn-key design of a precision 56 kHz loop signal generator

A 24V DC-powered signal source with selectable Mark/Carrier/Space frequency outputs, switchable waveform type and independently adjustable output voltage.

Overview

What was delivered

XceedMinds delivered a turn-key engagement — spanning hardware, firmware and prototyping — for a precision 56 kHz loop signal generator powered from 24V DC.

The unit produces selectable Mark/Carrier/Space frequency outputs with switchable waveform type and independently adjustable output voltage, built around an STM32L431CBT6 MCU driving an AD9833 waveform generator IC.

  • AD9833 DDS
  • STM32L431
  • ±0.01% accuracy
  • < 5 ms switching
  • PWM & analog gain
  • 50Ω drive

The challenge

What made it difficult

The constraints that shaped every decision downstream.

01

Tight frequency precision at fast switching speed

The three discrete output frequencies — Mark (55.6 kHz), Carrier (56.0 kHz) and Space (56.4 kHz) — had to hold ±0.01% accuracy while switching between them in under 5 ms, with no drift or glitching at the transition.
02

Two waveforms, two output-voltage-control strategies

Square wave and sine wave outputs each needed their own output voltage control approach — PWM duty-cycle adjustment for the square wave, analog gain adjustment for the sine wave — from a single, shared signal path.
03

Driving a real load from a modest supply

The output stage had to deliver ~35V RMS open circuit and ~400mA RMS into a 50Ω load, stepped up efficiently from a 24V DC input.
04

Turn-key hardware, firmware and prototyping ownership

One team had to carry schematic design, PCB layout, firmware and prototyping — component procurement through PCB fabrication and assembly — as a single accountable delivery.

The solution

How it was built

  1. Core design

    An STM32L431CBT6 low-power MCU handles frequency selection, waveform switching and output voltage control logic, driving an AD9833 direct digital synthesis IC over SPI that generates both the square and sine waveforms with fine frequency resolution.

  2. Firmware architecture

    Peripheral and clock configuration were generated with STM32CubeMX and built out in STM32CubeIDE on the STM32Cube HAL/LL driver layers. SPI drives the AD9833’s frequency and phase registers, hardware timers generate the PWM duty-cycle output, and GPIO/EXTI interrupts handle the front-panel switches and LED indication.

  3. Frequency control

    A front-panel switch selects between the three Mark/Carrier/Space frequencies, each held to ±0.01% accuracy with switching latency under 5 ms — fast and precise enough for signalling applications sensitive to transition timing.

  4. Output voltage control

    Two independent control paths cover both waveforms: PWM mode adjusts the square wave’s duty cycle across a 25-45% range to shape output voltage, while analog mode adjusts gain directly for the sine wave output.

  5. Output stage

    Delivers ~35V RMS open circuit and ~400mA RMS into a 50Ω load, powered entirely from the 24V DC input rail.

  6. Local operator interface

    Dedicated switches for waveform type and frequency selection, each with LED indication, give the operator immediate, at-a-glance confirmation of the active configuration.

Specifications

Technical detail

The numbers the design had to hit.

Power input
24V DC
Output waveforms
Square wave (default), sine wave
Output voltage
~35V RMS, open circuit
Output current
~400mA RMS into 50Ω load
Square wave PWM
Duty cycle adjustable 25-45%
Frequency options
Mark 55.6 kHz / Carrier 56.0 kHz / Space 56.4 kHz
Frequency accuracy
±0.01%
Switching latency
< 5 ms
MCU
STM32L431CBT6
Waveform generator IC
AD9833 (SPI)
Firmware toolchain
STM32CubeMX, STM32CubeIDE, STM32Cube HAL/LL drivers, STM32CubeProgrammer (ST-Link/SWD)

Scope

Turn-key delivery

Everything carried under one engagement, with no handoff gaps between stages or vendors.

Hardware

Schematic design and PCB layout engineered around the AD9833 signal path and the output stage’s voltage and current requirements.

Firmware

SPI-based AD9833 control, TIM/PWM-driven output voltage control, and interrupt-driven frequency and waveform switching.

Prototyping

Component procurement and PCB fabrication & assembly.

Highlights

What stands out

High-precision frequency synthesis

±0.01% accuracy across all three Mark/Carrier/Space frequencies, direct-digital-synthesised on the AD9833 for stability over temperature and time.

Fast, clean frequency switching

Sub-5 ms transitions between frequency states, suited to applications where switching timing itself carries information.

Dual waveform, dual output-voltage control

Square and sine outputs each get a purpose-built output voltage control path — PWM duty cycle for one, analog gain for the other — from a single shared signal chain.

Turn-key delivery

Schematic design, PCB layout, firmware and prototyping were carried under one engagement, from concept to a tested unit.

Outcome

Where it ended up

A production-ready precision loop signal generator — spanning hardware, firmware and prototyping — unifying tightly-specified Mark/Carrier/Space frequency synthesis, dual-mode output voltage control and a robust 50Ω-load output stage into a single 24V DC-powered unit ready for evaluation and deployment.

Building something similar?

Send a specification, a block diagram, or a description of the problem. We will come back with an honest view of scope, risk and the fastest route to a working prototype.

310, Sri Lavanya Serenity, 13th D Cross, Venkatapura Extension, Teachers Colony, Bengaluru – 560034, Karnataka, India