Hi.
I'm having some trouble grasping the concept of op amps. My first question is on how to set the cut off frequency for a first order LPF. I have an image of my lecture slide attached and I'll be referring to it.
would my cut off frequency be f3db as the signal has unity gain before that point? In that cause I would set my cut off frequency using the equation f3db = 1 / 2pi x RC? Also , assuming that this is the case, assuming the cut off frequency is 5KHz , so for 50KHZ the signal would be attenuated by -20dB and -40dB for 500KHZ?
Another question would be the generation of a square wave from a sine wave using an opamp as a comparator. I know that using the op amp as a comparator would allow me to generate the square waveform and that varying the Ref. voltage would allow me to set the duty cycle. But what exactly are the calculations involved? Eg. If I have a 2V peak to peak sine wave input signal and I want to generate a rectangular waveform with 30% duty cycle , how should I set my Ref. v for the op amp accordingly?
Thanks for the help!
I'm having some trouble grasping the concept of op amps. My first question is on how to set the cut off frequency for a first order LPF. I have an image of my lecture slide attached and I'll be referring to it.
would my cut off frequency be f3db as the signal has unity gain before that point? In that cause I would set my cut off frequency using the equation f3db = 1 / 2pi x RC? Also , assuming that this is the case, assuming the cut off frequency is 5KHz , so for 50KHZ the signal would be attenuated by -20dB and -40dB for 500KHZ?
Another question would be the generation of a square wave from a sine wave using an opamp as a comparator. I know that using the op amp as a comparator would allow me to generate the square waveform and that varying the Ref. voltage would allow me to set the duty cycle. But what exactly are the calculations involved? Eg. If I have a 2V peak to peak sine wave input signal and I want to generate a rectangular waveform with 30% duty cycle , how should I set my Ref. v for the op amp accordingly?
Thanks for the help!