Skip to main content

Subsection 14.2.1 Part 1: The Photocell in the Divider

The photocell is the sensor \(R_\text{sens}\) in the divider of Figure 14.1.2, with the fixed resistor \(R_M\) and the node voltage \(V_M\text{.}\)

Activity 14.2.1. As the light gets brighter.

Discuss at your table: as the light gets brighter, does \(V_M\) increase or decrease? Explain your answer from the divider’s formula.
\(R_\text{sens}\) is in the denominator. As the light gets brighter \(R_\text{sens}\) falls, the denominator \(R_\text{sens} + R_M\) falls, and \(V_M\) rises.
The CdS photocell has a nonlinear response: its resistance is not a linear function of the illumination (Figure 14.2.3, taken from the Adafruit guide). The figure is a log-log plot. Both axes are logarithmic with base 10, so each labeled step along either axis, 1 kΩ to 10 kΩ or 10 lux to 100 lux, is a factor of ten. On these axes a relationship of the form \(R \propto E^{-S}\) is a straight line, where \(R\) is the resistance, \(E\) is the illumination and \(S\) is a constant. The nonlinearity is not a problem if the photocell is used as a light-or-dark sensor, for a night light for instance, or for our tracker. If we wanted a quantitative result in lux, we would have to implement a conversion function. The PDV-P8001 datasheet’s Sensitivity row gives \(S = 0.6\) for our part, so its approximate relationship is
\begin{gather*} \log_{10}(R_{100}) - \log_{10}(R_{10}) = -0.6\,[\log_{10}(E_{100}) - \log_{10}(E_{10})] \end{gather*}
where \(R_{100}\) and \(R_{10}\) are the cell’s resistances at 100 lux and at 10 lux, and \(E_{100}\) and \(E_{10}\) are those two illuminances. In words: when the illumination increases by a factor of 10, the resistance decreases by a factor of \(10^{0.6}\text{,}\) which is about 4. The curves in Figure 14.2.3 are the Adafruit guide’s generic family, and they are steeper than that.
Figure 14.2.3. Resistance against illumination for a family of CdS photocells, from the Adafruit guide, with one curve highlighted in red. Both axes are logarithmic, and each curve is close to a straight line on these axes: resistance falls by roughly a constant factor for every factor of ten in illumination. This is the guide’s generic family, not the PDV-P8001’s own curve.
Each photocell is a bit different, even if two are “the same” part, which is why the datasheet gives ranges rather than one number. The tracker compares the two cells: when the arm points at the light, the two cells receive the same illumination, and if they had the same resistance-versus-illumination curve they would give the same voltage. Two real cells do not have the same curve. Under the same light they give different voltages, so the two voltages are equal at some arm position that is not quite pointed at the light. How to deal with that difference between your two cells is part of your work in Lab 8.