I am currently at lost on what I need to do to solve my problem. I have a sine wave signal as my input, and the output is sine wave as well. At resonant frequency, the output of the signal gets high. I was able to get good signal output using function generator, but I am not getting a similar result using a circuitry. The input signal gets distorted when it is in resonant frequency. From the image below, purple is the output and the yellow is the input. I am currently using an inverting amplifier to output a gain of 10. DDS module outputs a positive sine wave with 1Vpk-pk. With the inverting gain of 10, it outputs 10Vpk-pk. After using AC coupling in oscilloscope, it goes -5V to +5V (yellow) as shown in the image below. At resonant, the yellow signal gets distorted. What can I do to not have distortion when it is in resonant frequency. Any help is appreciated.
Assuming that R =20 ohms, at resonance, the peak value of Vout is more than 4 volts.
I(R1) = V/R = 4/20 = 200 mA!
This is a series circuit, so the opamp output current is the same. This is way beyond the capability of this opamp.
Or, by analysis ...
At resonance, the LC impedance is zero, so the opamp must be able to drive the resistor. https://en.wikipedia.org/wiki/LC_circuit#Series_circuit
At 200kHz voltage gain is between 6 and 15 and has quite big hysteresis (thats why you have more disortion on negative half). You are just limited by bandwith of opamp. At 161kHz max gain is better and you see no disiortion.