# Sine wave amplifier circuit using Op amp #2

#### cale27

Joined Sep 8, 2020
5
It is definitely slew rate limited. Here is a third version, this time using a faster opamp.

View attachment 82221
Hi, Im trying to create a sine generator with 3 output at 30 kHz. How can I build this ?
there will be two different output (24V and 48V) In my photo, I assume that i can get 0-5 V from dds.
i use arduino

#### Attachments

• 44.5 KB Views: 19

#### cale27

Joined Sep 8, 2020
5
Mods Note:
Please cut the useless part and compress the resolution of image file to as 800x600 or 1024x768 before you upload the file, the original file size about 1.6 Mb and I already compressed it to as 48 Kb, thanks for your cooperation.
How can I customize for 0-24V and 0-48 V at 30khz

#### cale27

Joined Sep 8, 2020
5
Hi folks,
Im new to analog design. My homework is to build a sinus and square wave generator
Vout1= 24V ; Vout2= 48V
fout (max) = 30kHz
I need to control this generator with arduino. (Choose voltage and frequancy)
I can amplify PWM from 0-5V to 0-24V (200kHz) but I dont know how to convert this signal to sine wave.
Sine wave should be 0-24V and 0-48 V

Thanks a lot

#### Attachments

• 44.8 KB Views: 8
• 44.5 KB Views: 9

#### MrAl

Joined Jun 17, 2014
8,060
Hello,

Without giving out too much info, to create a sine wave with a digital device you usually need to output a special pattern with PWM that mimics a sine wave average over a limited local time range. If you use for example a square wave then your filter had to be able to be tuned to different frequencies, which is possible but not that simple.
This is if you want low THD that is.

#### crutschow

Joined Mar 14, 2008
26,721
24V and 48V outputs can be done with a high voltage op amp if the output load is not a low impedance.
Is that voltage RMS?

#### Audioguru again

Joined Oct 21, 2019
2,833
Here is why your output signal is clipped:

#### Attachments

• 26.1 KB Views: 7

#### cale27

Joined Sep 8, 2020
5
Here is why your output signal is clipped:
Thanks, I thought that it caused by the saturation of the op amp. How do i fix this ?

#### cale27

Joined Sep 8, 2020
5
24V and 48V outputs can be done with a high voltage op amp if the output load is not a low impedance.
Is that voltage RMS?
Output current should be max 50 mA. Nope, it not a Rms voltage. I only focused to generate the sine wave from square wave but I am open to different ways. I only need a sine signal at 24 and 48 V at max 30kHz

#### Audioguru again

Joined Oct 21, 2019
2,833
The input diodes clip when the input is 0.6V to 0.7V peak. Your input is 2.5V peak so of course the diodes are clipping.
Also your circuit gain is 1+ (249k/5k)= 50.8 times so the output will clip when the input is higher than 11V/50.8= 0.225V peak with no load.