Electronic – Transimpedance amplifier with diode feedback

operational-amplifiertransimpedance

Can someone explain the effect of capacitor and diode on the below circuit?

Since when injecting 0.2uA (instead of photodiode)to the opamp with only a resistor(1Mohm gain) feedback I am getting a correct output of -0.21 V, but when I add the diode 1N4148 (with resistor)the output becomes positive +0.21V and when I add the capacitor to resistor and diode the output became -0.15v why this happen.

I know transimpedance opamp use the capacitor to stability but have no clue why the engineer who designed this circuit added a feedback diode.

schematic

simulate this circuit – Schematic created using CircuitLab

Note: After while I found out that his bom was wrong and he is using a zener diode 1N821A over there, which change the whole story

Best Answer

The purpose of the diode is probably to limit Vout. In this case, Vout cannot go lower than -0.7V approximately...

That would be my guess.