Generate square or triangular wave 1 Mhz or higher

Status
Not open for further replies.

dark_soul

New Member
Greetings, I am trying to generate a square wave or sine wave frequency of 1 MHz and if you can rather than better. For this I'm using the LF347 OPAM that according to the maximum bandwidth is 4 MHz, but when I do the calculations to generate 1 MHz does not make me anything, as much 300 kHz without losing the waveform.

I thought that I have no adequate response by the gain that is handling the OPAM, but can not find or do not how to reduce the gain to the unit if necessary.

Attached two images of the settings I use to generate the waves.

Hopefully you can help me, thank you very much for everything.
 

Attachments

  • Imagen1.jpg
    44.4 KB · Views: 594
  • Imagen2.jpg
    24.1 KB · Views: 510
The slew rate of the LF347 opamp reduces its output swing at frequencies above only 80kHz because it cannot swing fast enough. The graph on the datasheet shows a max output swing of 9V p-p at 500kHz and almost nothing at 1MHz. That is the fundamental so harmonics will not happen.
 
thanks again, just one more thing, mention the slew rate and output voltage referred to often as I can know that I need slew rate, as calculated.

I had understood that reducing the gain can reach more bandwidth, you could apply this right here?.
 
Last edited:
All opamps have frequency compensation so that they have no gain at high frequencies that cause a 180 degree or more phase shift. Then they do not oscillate when negative feedback is applied. The frequency compensation reduces the gain at 6dB per octave.
The LF347 has a max gain of 1 at 4MHz and a max gain of 4 at 1MHz. Some LF347 opamps have a max gain of 1 at 2.2MHz.

The slew rate limitation converts a sine-wave or square-wave into a triangle-wave. The output level reduces at higher frequencies because the output cannot swing fast enough.
 
Depending on the accuracy required, a R2-R ladder connected to an overclocked PIC (upwards of 100Mhz) would (should) perform quite well as a programmable signal generator.

You would have to compensate resolution for frequency, though that's a given.. Slew rate might reduce the quality on the high end as well, but it should still look *reasonable* I'd image?
 
Hi again, i was looking for some OPAMS available in my country and I found the NE5539 which has a bandwidth of 350 MHz unity gain and high slew rate, but I have a little problem, now I get 1 MHz but i have a distorted waveform, how can I do to improve the waveform. I don't know if it is offset in frequency and if so, what i need to do?.

Thanks for everything.
 

Attachments

  • Image.JPG
    40.9 KB · Views: 354
I haven't looked at the spec sheet, but it appears to me your opamp doesn't have symmetric output buffers.
 
You are trying to use an op amp as a Schmitt trigger. Op amps take a long time to recover from saturation, so will only work at low frequencies in this application. If you want to use this configuration, you will need to use a high speed comparator (Google).
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…