Post Go back to editing

Issue with AD8039 Producing 5MHz Triangular Wave

Category: Hardware
Product Number: AD8039

Hello ADI,

I am using the AD8039 op-amp to produce a 5MHz triangular wave for generating PWM signals. In my simulations on LTspice, I achieved a 5MHz triangular wave, as shown in Figure 1. However, when I transfer the design to hardware, the output is limited to 2MHz, and the signal becomes distorted as shown in Figure 2.

I have ensured that stable supply voltages are used, and I have placed passive components close to the op-amp to minimize noise and interference. 

Can you help me figure out what might be causing this problem? Could you also review my design to check if there are  issues?

Thank you for your assistance.

  

Best Regards

Nasir

Parents
  • Hi,

    How does your hardware look like? Could you provide a photo? I guess on the scope the output of U1 can be seen. What is the waveform at the output of U2?

    Zoltan

  • Hello ,

    Yeah on the scope its output of U1 . The output of U2 is shown in yellow wave form  . The second image is hardware schematic.

    Thanks

  • Hi,

    I think the supply may not be decoupled properly. Since IC1B works as a comparator, the output is saturated to the supplies, but as you see, it is not a clean rectangular wave, therefore the integrator built using IC1A can’t output a nice triangular wave. In the simulation the supply is perfect. So the supply here probably has a considerable high frequency AC component.

    According to your schematic, all decoupling capacitors are 10uF, the 100nF capacitors are missing (they are recommended for proper high frequency decoupling). You only shared the schematic, the photo of the hardware could show possible wiring/layout problems too. The other parts can also affect the supply.

    So I recommend to use 100nF ceramic capacitors for decoupling (in addition to the 10uF ones) very close to the ICs, and to test the triangle wave generator separately to be sure that the supply is not affected by the other components (IC2 and IC3). Be sure that IC3B’s inputs are not floating, I do not see it on the schematic.

    Let me make one more note. I think it would be better not rely on the supply concerning the input of the integratror. You can use an SPDT analog switch (2:1 analog MUX) that has two clean DC analog inputs and use the output of IC1B to select between these voltages. This way you can have a nice rectangular waveform as the input of the integrator.

    Zoltan

  • Hello,

    Thank you for your reply. I tried adding a 100 nF capacitor in parallel with a 10 µF capacitor, but the result was the same. My main problem is that the frequency is limited to 2 MHz. Could you tell me whether the AD8039 is suitable for use as a comparator at 5 MHz? Thanks

    Nasir

Reply Children