An optical analysis system and method is provided in which a sample is analyzed using a light source. An optical sensor signal is processed using a first signal processing circuit and an electrical signal, which is representative of a drive signal applied to the light source, is processed using a second signal processing circuit. The sensor signal is further processed to improve the signal to noise ratio using the processed electrical signal as a reference.