This page serves to document my forays into optical photometry based on the works of Forrest Mims. Most of this information is taken from the book Atmospheric Monitoring with Arduino
.
The above is a parasitic-insensitive offset voltage canceling charge sensitive detector. When CLK2 is high, the charge on the cap is reset to \(-C_{int}V_{off}\). When CLK1 is high, this initial charge is canceled out and the output voltage is:
\[V_{out}=\frac{I_{photocurrent}}{C_{int}}t\] The parasitic capacitance at the op-amp inverting input has a negligible effect, and any random offset from the op-amp is canceled out.
This circuit requires two non-overlapping clocks. The below generator using a hex inverter and 2 nor gates (try the 7432 IC) can be used:
Otherwise, non-overlapping slow clocks can be generated with the ATTINY85.
The switches can be implemented with the CD4016B IC.
The output voltage from the analog front end is fed into the inverting input of the comparator and used to enable a ring oscillator whose edges are counted by an ATTINY85. The capacitor \(C_h\) is simply present to hold the inverting input voltage at ground when CLK2 and CLK1 are both low, and the REF is simply a voltage reference IC. The rising edge of CLK2 serves as a valid signal for the ATTINY85 counter.
Since the photometer sensor is meant to be pointed directly at the Sun during measurements, it may help to build aligning tools into the photometer casing. Otherwise, stick to noon measurements when the Sun is highest. Make sure to record the time of measurements.
The specific position of the Sun at noon changes as the Earth orbits the Sun. B/c the sunlight is passing through a different amount of air mass at different points in the year, photometric measurements are significantly impacted.
Air mass is simply defined as: \(m = 1/sin(theta)\) where theta is the angle of the sun above the horizon. This quantity can be calculated from location and time, or directly measured with a clinometer.
The change in air mass over the course of the year can be de-embedded by calculating the atmospheric optical thickness (AOT). AOT gives the air clarity for any given air mass (the true reading of the Photometer) and can be found with Langley extrapolation.
\[AOT = (log(EC)/log(LED data))\times\frac{1}{m}\]
Taking the ratio of the readings from these two LEDs (one with a response near the Chappuis band, and one with a peak freq. above it) gives ambient ozone.
The “twilight intensity” measured at any given time by the photometer correlates with the “height” of Earth’s shadow. For the sunset measurement case, the photometer measures the reduction in light as the sun sinks below the horizon. The reverse is true for the sunrise measurement.
The height of Earth’s shadow can be calculated from your location and elevation at any given time. Plotting this on the y-axis against the intensity measured by the photometer gives an idea of the heights at which there are significant concentrations of aerosols with dips in the measured intensity. Taking the derivative of the intensity before plotting serves to emphasize seemingly insignificant changes.
Therefore, the difference between the photocurrent of the red and green LEDs should give the amount of haze that day. The green LED will generate less photocurrent when there is more haze.
Photosynthetically active radiation (PAR) refers to red or blue light that is used for photosynthesis. Summing the readings from the blue and red LED gives the amount of PAR available on a given day.
Water vapor has an absorption band around 940 nm (see above). Comparing the output of the 940 nm LED with the 880 nm LED gives the amount of WV in the atmosphere. B/c of the high dependence of WV on local weather (clouds, raining, snowing), better results can be obtained for measurements of upper atmospheric water vapor (above the weather) on clear days.