This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

App note error!

Other Parts Discussed in Thread: LMC6482, LM324, LM358, LMP2011

I am trying to drive a high brightness monochromatic LED with precision.  I ran across app note snoa837 which I suppose it started life as a National Semiconductor note.  This note describes using a photodiode in an optical feedback loop to stabilize the light output from a laser diode.

There is a critical error in the final schematic shown in the note.  In snoa837.pdf, figure 2 shows a simplified schematic to illustrate the concept.  In the drawing, the photodiode feedback signal is connected to the inverting input of the op amp and the bias voltage (in this case ground) is connected to the non-inverting op amp input.  This is fine.  However taking a look at figure 3, it shows a schematic of the "practical implementation" of the circuit.  In figure 3, the photodiode feedback signal is connected to the non-inverting input of the op amp and the bias voltage is connected to the inverting input.  This is wrong and this circuit will not work as shown.  The op amp inputs must be reversed.

Unfortunately, my boss told me to go straight to a PCB instead of breadboarding this.  I spent way too long trying to debug it before I noticed this discrepancy.  As they say in Massachusets, "light dawns on Marblehead!".  I should have gone with my gut and breadboarded it first.  Caveat Emptor.  The app note should be corrected to save the next careless person who copies without breadboarding some debugging time...

By the way, with the op amp inputs corrected, it does work quite nicely.  I found I needed a capacitor between the inverting input and the op amp output but that could be just my configuration.  I used a PMOSFET instead of the transistor shown to get higher power without requiring the op amp to drive out a lot of current.  And I had to change Rg to match my photodiode characteristics.  It will work with almost any op amp with inputs that can go to the negative rail, even LM324/LM358's.  I use an LMC6482 for it's full RRIO capability.

-Randy

 

  • Hi Randy,

    D'oh...Sorry, you are correct. The inputs are reversed in Figure 3.

    I have forwarded your comments to the author and hopefully we can get it corrected soon....to prevent any further 'Marblehead" mistakes...:^)

    Just beware that the LMC devices have a poorer tempco than the LMP2011 chopper, so there will be slight offset changes over temperature. And make sure the gate resistor is at least 1Kohm - to prevent any op-amp output oscillations due to the gate capacitance of the MOSFET.

    And, yes, a small compensation cap is recommend just where you placed it to tame the overall loop.

    The loop should have only enough bandwidth for proper settling. You may want to apply a stepped Vbias voltage and closely observe the voltage across the 390* ohm resistor for any signs of overshoot that may damage your diode. Also check for overshoot at power-up. Then adjust the compensation cap for minimal overshoot.

    Regards,

  • Hello Randy,

    Just to let you know, the Fig 3 schematic has been corrected.

     http://www.ti.com/lit/wp/snoa837/snoa837.pdf

    The laser driver designers of the future are now safe!...

    Regards,

  • Paul-

    Thanks for the speedy, excellent service!

    -Randy