# Photodiode circuit

I'm stuck at the following question: At peak intensity, the photo-diode outputs a current of $I=34\;\mathrm{\mu A}$. At that point $u_0$ needs to be $5\,\mathrm V$. Pick a value for $R$ that accomplishes this. Is the output impedance of this circuit big or small? Why is this not a particularly good way of measuring the light level? The first part seems simple enough, almost trivial. I get a reasonable value for $R$ directly from Ohm's law. But then it gets confusing. I don't understand how the circuit could have impedance, since don't photo-diodes output DC? Does the question have an implicit AC voltage across the diode? I must be missing something very central here.

• Impedance is a general term, from dc to ac... – Jon Custer Sep 28 '16 at 17:42
• Would Electrical Engineering be a better home for this question? – Qmechanic Sep 28 '16 at 18:00

# That question is utterly wrong!

That is, you cannot get 5 V from a photodiode connected in that way.

A basic equivalent circuit of the photodiode is the following (see this document, p. 3, for a more complete circuit): This circuit is valid in the quasi-static regime (signals slowly varying with respect to the photodiode time constants), and the ideal current source generates the photocurrent $I_\mathrm{ph}$. The diode in the equivalent circuit above is a normal diode.

Notice that the direction of the photocurrent is really opposite to the direction represented in your schematic.

Since the photocurrent biases the diode in the forward direction, you cannot get 5 V across the diode... unless something goes terribly wrong.

I'm sorry to say that whoever proposed you that circuit has never used a photodiode in their life.

# How to calculate the output impedance in a correct case

Note: I'll take a long path because I don't know if you have studied the so called small-signal equivalent circuits.

First, recall that the impedance is a quantity that can be defined only for linear circuits. In the case of non linear circuits, like those containing a diode, you can define the impedance by considering a linearized equivalent circuit, that is, a circuit valid only for sufficiently small signals about the bias point.

To determine the output impedance, that is, the impedance as seen by the load, you should substitute the load with a test current, as follows: In general, because of the diode, the diode voltage $v_\mathrm{D}$ will be a nonlinear function of the test current $i_\mathrm{t}$, but if $i_\mathrm{t}$ is sufficiently small, we can develop the response by means of a Taylor series expansion:

$$v_\mathrm{D}(i_\mathrm{t}) = v_\mathrm{D}(0) + \frac{\mathrm{d}v_\mathrm{D}}{\mathrm{d}i_\mathrm{t}}\bigg|_{i_\mathrm{t}=0}i_\mathrm{t} = v_\mathrm{D}(0) + r_\mathrm{d}i_\mathrm{t}.$$

The expansion above is valid as long the second-order term is negligible with respect to the first order term: this defines the meaning of "sufficiently small". The term

$$r_\mathrm{d} = \frac{\mathrm{d}v_\mathrm{D}}{\mathrm{d}i_\mathrm{t}}\bigg|_{i_\mathrm{t}=0},$$

which has the dimension of resistance, is called differential resistance, and it's actually the output resistance you are looking for. In fact, it is the resistance as seen by the load for small variations of the voltage across the diode.

From the equivalent circuit, $i_\mathrm{t} = i_\mathrm{D}-I_\mathrm{ph}$, and thus

$$r_\mathrm{d} = \frac{\mathrm{d}v_\mathrm{D}}{\mathrm{d}i_\mathrm{D}}\bigg|_{i_\mathrm{D}=I_\mathrm{ph}}.$$

The output impedance is thus the differential resistance of the diode about the photocurrent. This can be calculated from the diode quasi-static characteristic equation

$$i_\mathrm{D} = I_\mathrm{s}\left(\mathrm{e}^{\frac{v_\mathrm{D}}{nV_T}}-1\right)\approx I_\mathrm{s}\mathrm{e}^{\frac{v_\mathrm{D}}{nV_T}},$$

where $I_\mathrm{s}$ is the reverse saturation current, $n$ is a parameter which depends on the doping profile and is usually between 1 and 2, and $V_T = k_\mathrm{B}T/\mathrm{e}$ is the thermal voltage.

From the above equation, we have

$$\frac{1}{r_\mathrm{d}} = \frac{\mathrm{d}i_\mathrm{D}}{\mathrm{d}v_\mathrm{D}}\bigg|_{i_\mathrm{D}=I_\mathrm{ph}} = \frac{I_\mathrm{ph}}{nV_T},$$

or

$$r_\mathrm{d} = \frac{nV_T}{I_\mathrm{ph}}.$$

If you don't have $n$, you can assume $n=1$ and calculate the differential resistance corresponding to the given photocurrent.

But let me repeat it once again: the voltage across the diode would not be 5 V.

• Thank you for the answer. For clarification: was the wrong direction of the marked current flow the reason why the voltage across the diode couldn't be the 5 V like stated in the question, or is there some reason the diode can't generate that high voltage? If you reverse the diode, would it now be correct for me to calculate R directly from Ohm's law? – otto Sep 29 '16 at 0:07
• As for the output impedance calculation, I couldn't have figured that out on my own so it was very helpful and I got a reasonable result of 745 ohms (a different part of the question actually gave the temperature but I thought it didn't matter). – otto Sep 29 '16 at 0:08
• @otto In your problem, the diode would be reverse-biased by the voltage drop because the current has been drawn flowing in the wrong direction, but in reality the diode can't generate that high voltage because it's forward biased by the voltage drop across the resistor. When a diode is forward biased, the voltage drop, even at high currents, is of the order of 1 V. Reversing the diode, doesn't change the reality. The operating point of the diode will never be 5 V. If I find the time I'll edit the answer to expand on this. – Massimo Ortolano Sep 29 '16 at 7:42