A Sine, Square wave Function Generator utilising Schmitt Trigger and Wein Bridge Oscillator designed on PCB using EasyEDA.
A function generator is an electronic test device or software that creates various electrical waveforms across a broad frequency spectrum. Commonly generated waveforms include sine, square, triangular, and sawtooth waves. These signals can be either continuous or one-time events, with the latter requiring an internal or external trigger.
A sine wave is a smooth, continuous waveform that oscillates between positive and negative values in a repetitive manner. It is characterized by its smooth, symmetrical shape and is commonly found in many natural and engineered systems, such as sound waves and alternating current (AC) electricity. The mathematical representation of a sine wave is based on the sine function, and it has a uniform frequency and amplitude.
A square wave, on the other hand, is a waveform that alternates between two fixed levels, typically high and low, with sudden transitions. It has a non-smooth, rectangular shape with vertical edges. The signal remains at one constant value for a period of time, then instantly switches to the other value, making it ideal for representing binary signals in digital electronics.
A Wien bridge oscillator is a simple circuit for generating a sine wave. This simple circuit does not perform a conversion between one signal and another to provide a stable reference output waveform. Instead, this is a standalone oscillator that incorporates amplification with RC elements on a positive feedback loop to produce an output signal. The principle of operation in this circuit is deceptively simple and does not rely explicitly on resonance to produce an output sinusoidal waveform.
Fig 1: Wien Bridge Oscillator circuit diagram. [1]
A Schmitt Trigger is a type of comparator circuit that exhibits hysteresis. It is used to convert a noisy or slowly changing input signal into a clean, fast-transitioning output signal. It has two distinct threshold voltage levels: an upper threshold (Vᴛ₊) and a lower threshold (Vᴛ₋). The output of the Schmitt Trigger changes state when the input crosses these thresholds.
Input Signal > Upper Threshold (Vᴛ₊) : The output switches to a high state (logic 1).
Input Signal < Lower Threshold (Vᴛ₋) : The output switches to a low state (logic 0).
In between these thresholds, the output maintains its current state until the input crosses either of the thresholds.Here, the input signal can be referred to as a sine wave.
Fig 2 : Schmitt Trigger circuit diagram and waveform [2].
74HC14N Schmitt Trigger IC is used to convert the sine wave obtained using the Wien Bridge oscillator into a square wave.
Note : PCB designing is done in Easy EDA - an open source PCB Design tool.
Project Link : https://oshwlab.com/originalmamba/Frequency-Generator
Other PCB Design Projects : https://oshwlab.com/anupam.mathur060801?tab=project&page=1&type=publish