Wien-Bridge Oscillator Exploration with Matlab Implementation

Exploration of the Wien-Bridge Oscillator step response, impulse response, Bode plot, etc.
766 Downloads
Updated 26 Dec 2012

View License

The Matlab code presented here provides an exploration of the Wien-bridge Oscillator. The analysis includes:
1) Plotting of the:
- Transient step response of the close loop transfer function;
- Transient impulse response of the closed loop transfer function;
- Bode plot of the closed loop transfer function;
- Nyquist diagram of the open loop transfer function (Cartesian coordinate system);
- Nyquist diagram of the open loop transfer function (Polar coordinate system)
- Pole-Zero plot of the closed loop transfer function;
- Pole-Zero plot of the close loop transfer function (3D representation).
2) Displaying of the:
- Oscillation frequency (w0);
- Open loop transfer function (including the zero/pole/gain form);
- Closed loop transfer function (including the zero/pole/gain form).

The frequency of oscillations is determined by positive feedback capacitance (C, uF) and positive feedback resistance (R, kOhms). The negative feedback is represented by resistors R1 and R2 (kОhms).

The code is based on the theory described in:

[1] G. Gonzalez. Foundations of Oscillator Circuit Design. Boston, Artech House, 2007.

Cite As

Hristo Zhivomirov (2024). Wien-Bridge Oscillator Exploration with Matlab Implementation (https://www.mathworks.com/matlabcentral/fileexchange/39581-wien-bridge-oscillator-exploration-with-matlab-implementation), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2010b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0