Skip to main content
Application NoteAnalog

Programmable Wien-Bridge Oscillator Using Digital Potentiometers

A design guide for a programmable Wien-bridge oscillator using digital potentiometers to independently control sine wave frequency (10 kHz to 200 kHz) and amplitude.

View application note

Overview

This application note describes the implementation of a diode-stabilized Wien-bridge oscillator that utilizes digital potentiometers for programmable control. The design uses the Analog Devices AD5232 dual digital potentiometer to set the oscillation frequency and the AD5231 to adjust the output amplitude independently. By varying the resistance values, the circuit can generate accurate sine waves ranging from 10 kHz to 200 kHz. The document provides technical analysis of the loop gain, phase shift requirements for oscillation, and the mathematical formulas for calculating frequency based on resistance codes. It also discusses practical considerations such as bandwidth limitations of digital potentiometers and methods for ensuring simultaneous resistance updates to avoid intermediate state errors.

Use Cases

  • Variable frequency sine wave generation
  • Programmable waveform generators
  • Automated test equipment signal sources
  • Analog signal processing and filtering
  • Digitally controlled analog synthesis

Topics

Wien-bridge oscillator
digital potentiometer
programmable oscillator
sine wave generator
amplitude stabilization
AD5232
AD5231
AD8510
OP1177
1N4148

Referenced Parts

AD5231

Analog Devices

R2b = AD5231 100k

AD5232

Analog Devices

R = R' = 1/2 AD5232 10k

AD8510

Analog Devices

U1 = AD8510, OP1177

OP1177

Analog Devices

U1 = AD8510, OP1177

1N4148

Generic

D1 = D2 = 1N4148

Programmable Wien-Bridge Oscillator Using Digital Potentiometers | Design Resources