Patent ID: 9562851
Date: 2017-02-07
CPC Classifications: G01N

Claim:
1. A method for controlling a spectrometer for analyzing a product, the spectrometer comprising a light source comprising several light-emitting diodes having respective emission spectra covering in combination an analysis wavelength band, the method comprising: supplying a first light-emitting diode of the light-emitting diodes with a supply current to switch the first light-emitting diode on; measuring a current at a terminal of a second light-emitting diode of the light-emitting diodes that is maintained off, whereas the second light-emitting diode receives light from the first light-emitting diode that is on; determining, from the current measured at the terminal, a light intensity emitted by the first light-emitting diode; determining, according to the determined light intensity, a supply current setpoint value of the supply current supplied to the first light-emitting diode that is on, such that the light intensity of the light emitted by the light source corresponds to a light intensity setpoint value; regulating the supply current of the first light-emitting diode that is on so that it corresponds to the current setpoint value; and acquiring, by means of light-sensitive cells of a sensor of the spectrometer, disposed on a route of a light beam emitted by the light source and having interacted with a product to be analyzed, light intensity measurements enabling a spectrum to be formed.