Hi, you can generate a pure sine wave just using an Op-Amp. It is very simple and can be used in many applications. In this article, we are going to learn how to generate a pure sine wave using an Op-Amp.



How to generate pure sine and co-sine wave?

There are different ways to generate sine and cosine waves. But You can do it in one of the most simple ways. Just using an Op-Amp. Even you do not need any special one for this. Just use any general-purpose Op-Amp for this. 3 resistors and 3 capacitors will be enough for our “how to generate a pure sine wave using an Op-Amp” project.

Circuit diagram:

Sine and Cosine wave generator circuit

Circuit explanation:

Here all the capacitors are non-polar ceramic capacitors. You can change the values to change the frequency. Here a start button is connected to the proteus circuit only. You do not need to use it in a practical circuit.

The working concept is very simple. One Op-Amp (LM358) generates an output which is slowed by the capacitor again another Op-Amp helps in another slow movement of reference. Thus a sine wave is formed rather than a square wave. And due to capacitor phase shift, we get a cosine wave.

Simulation result:

Sine wave and cosine wave output

While simulating in proteus, press the start button once. In a practical test, you do not need this.

You can read this article from our blog: How to make a Single Phase AC voltmeter using PIC16F76 & Capacitor power supply

Practical test:

Practically, the circuit was arranged in a small project board and measured with an oscilloscope. Here I used variable resistors to test the effect of changing resistor values. You can do that too to do some research on a sine wave.

Test circuit on project board
Output wave shape


This project was a very small one and interesting too. Who doesn’t like a sine wave? That’s why it was really interesting to me too. I hope you enjoyed the project and made one for yourself. Thank you, Enjoy!

For Professional Designs or Help:


Check this out: 5 coolest multimeters you can buTop 5 Digital Multimeters for beginners


Mithun K. Das; B. Sc. in EEE from KUET; Head of R&D @ M's Lab Engineering Solution. "This is my personal blog. I post articles on different subjects related to electronics in the easiest way so that everything becomes easy for all, especially for beginners. If you have any questions, feel free to ask through the contact us page." Thanks.


Kingsley · 31/03/2022 at 3:12 pm

Good morning sir.
Please can this circuit be used to change the waveform of a square wave inverter using sg3524 into a pure sine wave output?
If yes, how can it be interfaced? Thank you as I sincerely awaits your positive response.

    MKDas · 02/04/2022 at 12:50 pm

    Good morning, No, you can not use SG3524/5 to make a sine wave inverter. You must use Sinusoidal PWM.

      Md likhon · 25/04/2023 at 11:49 pm

      hello sir , how are you?. Sir, I need 40khz frequency sine wave signal. I will use icl8038ccjd and 741 op-Amp . Your circuit should be like this.

        MKDas · 26/04/2023 at 9:29 pm

        741 will not support 40Khz. use something with low noise margin. ICL8038 works up to 100KHz, no problem. There is another article on ICL8038.

    MKDas · 02/04/2022 at 12:54 pm

    No, you can not use 3524/25 to make sine wave inverer. You have to use SPWM.

Ose · 07/09/2023 at 6:07 am

Thank you very much Sir. Please where can this circuit find practical application? Can it be used as an oscillator stage for an inverter? I await your response.

    MKDas · 08/09/2023 at 8:42 pm

    When the time comes, you’ll appreciate its value. Until then, it may seem superfluous.

Leave a Reply

Avatar placeholder

Your email address will not be published. Required fields are marked *