Home > mini projects > Function Generator Using Op Amps

Function Generator Using Op-Amps


Function generator is a signal generator that produces various specific waveforms for test purposes over a wide range of frequencies. In laboratory type function generator, generally one of the function (sine, triangle, etc.) is generated using dedicated chips or standard circuits and converts it in to required signal.


A function generator is usually a piece of electronic test equipment or software used to generate different types of electrical waveforms over a wide range of frequencies. Some of the most common waveforms produced by the function generator are the sine, square, triangular and saw-tooth shapes. These waveforms can be either repetitive or single-shot (which requires an internal or external trigger

source). Integrated circuits used to generate waveforms may also be described as function generator ICs.

Although function generators cover both audio and RF frequencies, they are usually not suitable for applications that need low distortion or stable frequency signals. When those traits are required, other signal generators would be more appropriate.

Function generators are used in the development, test and repair of electronic equipment. For example, they may be used as a signal source to test amplifiers or to introduce an error signal into a control loop. Function generators are primarily used for working with analog circuits, related pulse generators are primarily used for working with digital circuits.


1) Op-Amps(x6): Initial op-amp was used for square wave generation. The next two were used as integrators to give output as triangle and sine wave, respectively. Each of these op-amps are connected to an op-amp behaving as an amplifier

2) Resistors

3) Capacitors


Amplified Triangular Wave

Square Wave

Sinusoidal Wave

Amplified Square Wave

Amplified Sinusoidal Wave

Triangular Wave


We made the circuit such that the output is 1KHz. If we want to change the frequency, we can do so by changing the value of capacitance, C1, in the square wave generator. And if we want to change the amplitude, we need to change the resistance values in the amplifier portion of the circuit.