METHOD OF CHARACTERIZING AN OPTICAL SENSOR CHIP, METHOD OF CALIBRATING AN OPTICAL SENSOR CHIP, METHOD OF OPERATING AN OPTICAL SENSOR DEVICE, OPTICAL SENSOR DEVICE AND CALIBRATION SYSTEM
20220065695 · 2022-03-03
Inventors
- Gunter SIESS (Jena, DE)
- Julius Komma (Jena, DE)
- Thomas HÖPPLER (Jena, DE)
- Thomas NIMZ (Jena, DE)
- Mahmoud Jazayerifar (Jena, DE)
Cpc classification
G01J3/0275
PHYSICS
G01J3/10
PHYSICS
G01J1/0252
PHYSICS
International classification
Abstract
Disclosed are methods and devices for calibration in the field of optical sensors, e.g. characterizing and calibrating an optical sensor chip. In order to address complexity of sensor data with high accuracy the optical sensor, e.g. an optical sensor is not provided as an already calibrated unit. Rather, sensor response data may be recorded in a defined or standardized environment, e.g. at a production line, and with high precision. This high standard sensor response data can be obtained on a per device basis and, thus, is referenced with an unambiguous chip identification number, chip ID. The sensor data is complemented with a dedicated calibration algorithm which can be tailor-made to fit the optical sensor or the optical sensor chip. In order to retrieve the sensor response data and the calibration algorithm both can be made available by means of the chip ID, for example.
Claims
1. A method of characterizing an optical sensor chip, comprising: referencing the optical sensor chip with an unambiguous chip identification number, chip ID, characterizing the optical sensor chip by measuring sensor response data as a function of wavelength and an operating temperature, saving the sensor response data together with the chip ID as a data bank entry in a database, and providing a calibration algorithm associated with the chip ID.
2. The method according to claim 1, wherein the optical sensor chip comprises one or more optical detector elements, channels, and wherein measuring the sensor response data comprises: recording at a reference temperature Tref a sensor sensitivity matrix indicating a sensor sensitivity of a given channel as a function of wavelength, respectively, and recording a first set of temperature coefficients for at least one channel, indicating the sensor sensitivity for the at least one channel as a function of wavelength and operating temperature.
3. The method according to claim 2, wherein the optical sensor chip further comprises one or more optical emitter elements, emitters, and wherein measuring the sensor response data further comprises: recording at the reference temperature Tref a spectral irradiance function indicating an emission characteristic of a given emitter as a function of wavelength, respectively, and recording a second set of temperature coefficients for at least one emitter indicating the emission characteristic for the at least one emitter as a function of wavelength and operating temperature.
4. The method according to claim 3, wherein measuring the sensor response data further comprises recording a power distribution function of the one or more emitters, indicating a relative power distribution at a reference target which is located at a reference position, or indicating a relative power distribution at a reference target as a function of several reference positions.
5. A method of calibrating an optical sensor chip, wherein the optical sensor chip is integrated into an optical sensor device, the method comprising: providing an unambiguous chip identification number, chip ID, to identify the optical sensor chip, retrieving sensor response data using the chip ID, wherein the sensor response data is saved together with the chip ID as a data bank entry in a database, and wherein the sensor response data is a function of wavelength and operating temperature, providing a calibration algorithm associated with the chip ID, measuring an operating temperature of the optical sensor device, measuring a sensor output of the optical sensor chip at the measured operating temperature, and calibrating the sensor output using the retrieved sensor response data, the calibration algorithm and the operating temperature.
6. The method according to claim 5, comprising the further steps of: calculating for a measurement condition x and the operating temperature a system detection matrix from the retrieved sensor response data according to the calibration algorithm, determining a calibration matrix from the system detection matrix, and calibrating the sensor output using the calibration matrix.
7. The method according to claim 6, wherein a reference target of known optical properties is used to determine linear coefficients such that the calibrated sensor output is determined by a linear combination of the system detection matrix and the calibration matrix.
8. The method according to claim 5, wherein the operating temperature is repeatedly measured, and the sensor output is calibrated for each measured operating temperature.
9. The method according to claim 5, wherein the optical sensor chip comprises one or more optical detector elements, channels, and wherein calibrating the sensor output comprises: compensating a sensor sensitivity matrix for the operating temperature using a coefficient from a first set of temperature coefficients, the temperature coefficients indicating a sensor sensitivity for the at least one channel as a function of wavelength and operating temperature; and wherein: the sensor response data comprises the sensor sensitivity matrix which indicates a sensor sensitivity of a given channel as a function of wavelength at a reference temperature Tref, respectively.
10. The method according to claim 5, wherein the optical sensor chip comprises one or more optical emitter elements, emitters, and wherein calibrating the sensor output comprises: compensating a spectral irradiance function for the operating temperature using a coefficient from a second set of temperature coefficients, the temperature coefficients indicating for at least one emitter an emission characteristic as a function of wavelength and operating temperature, respectively; and wherein: the sensor response data comprises the spectral irradiance function indicating the emission characteristic of a given emitter as a function of wavelength at a reference temperature Tref, respectively.
11. The method according to claim 10, wherein calibrating the sensor output further comprises: weighting the temperature compensated spectral irradiance function with a power distribution function of the one or more emitters, and wherein the power distribution function indicates: a relative power distribution at a reference target which is located at a reference position or a relative power distribution at a reference target as a function of several reference positions.
12. A method of operating an optical sensor device, comprising: characterizing an optical sensor chip according to claim 1, calibrating the optical sensor chip by providing an unambiguous chip identification number, chip ID, to identify the optical sensor chip, retrieving sensor response data using the chip ID, wherein the sensor response data is saved together with the chip ID as a data bank entry in a database, and wherein the sensor response data is a function of wavelength and operating temperature, providing a calibration algorithm associated with the chip ID, measuring an operating temperature of the optical sensor device, and measuring a sensor output of the optical sensor chip at the measured operating temperature, and calibrating the sensor output using the retrieved sensor response data, the calibration algorithm and the operating temperature, and measuring a calibrated sensor output.
13. An optical sensor device, comprising: a host system, a temperature sensor to a measure an operating temperature of the optical sensor device, an optical sensor chip referenced with an unambiguous chip identification number, chip ID, a memory to save the sensor response data and the calibration algorithm associated with the chip ID, and a processing unit to access the memory using the chip ID and to process a calibration of a sensor output of the optical sensor chip using the calibration algorithm, the sensor response data and the operating temperature.
14. The optical sensor device according to claim 13, wherein the memory comprises an interface to input the sensor response data and the calibration algorithm, and/or a communication unit to access the database remotely to retrieve, using the chip ID, the sensor response data and the calibration algorithm associated with the chip ID.
15. A calibration system, comprising: a chip calibration setup located at a production line of the optical sensor chip, arranged to perform characterization of the optical sensor chip according to claim 1, and a device calibration setup located at the production line of the optical sensor device comprising the optical sensor chip, arranged to perform a calibration of the optical sensor device by providing an unambiguous chip identification number, chip ID, to identify the optical sensor chip, retrieving sensor response data using the chip ID, wherein the sensor response data is saved together with the chip ID as a data bank entry in a database, and wherein the sensor response data is a function of wavelength and operating temperature, providing a calibration algorithm associated with the chip ID, measuring an operating temperature of the optical sensor device, and measuring a sensor output of the optical sensor chip at the measured operating temperature, and calibrating the sensor output using the retrieved sensor response data, the calibration algorithm and the operating temperature.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0055]
[0056]
[0057]
[0058]
[0059]
[0060]
[0061]
[0062]
[0063]
[0064]
[0065]
DETAILED DESCRIPTION
[0066]
[0067] Furthermore, the optical sensor chip is characterized using sensor response data which are a function of wavelength and operating temperature (step s2). The sensor response data is measured for each individual optical sensor chip, e.g. when the optical sensor chip has been finally assembled at the production line. Measuring the sensor response data can be performed in a controlled laboratory environment associated with the production line.
[0068] The term “wavelength” may refer to emission and detection wavelength(s) depending on whether the optical sensor chip is configured for emitting and/or detecting electromagnetic radiation. The term “operating temperature” may refer to a temperature which is characteristic for the operating conditions of the optical sensor chip, e.g. ambient temperature, device temperature, chip temperature, emitter temperature, etc.
[0069] The sensor response data is saved together with the chip ID as a databank entry in a database (step s3). The sensor response data is assigned to the unambiguous chip ID and, in turn, can be retrieved from the database using the chip ID. The database of sensor data is made available to a customer. This can be achieved in several different ways. For example, the relevant sensor response data associated with a given chip ID can be provided together with the optical sensor chip as a datasheet including the relevant data as a hard copy or be saved on a memory device, such as a memory stick which is provided together with the optical sensor chip. Furthermore, the database can be made available to the customer via a network, such as a FTP server or cloud service. Then, the database can be searched using the chip ID and the individual data collected for a given optical sensor chip assigned to the chip ID can be retrieved.
[0070] Furthermore, a calibration algorithm is provided and is associated with the chip ID (step s4). The calibration algorithm can be used together with the sensor response data to calibrate a sensor output of the optical sensor chip. In general, the calibration algorithm can be provided from the manufacturer or by the customer. In case the calibration algorithm is provided by the manufacturer, it can be made available by the same means as the sensor response data. For example, the calibration algorithm can be provided as software or firmware which could be uploaded to an optical device into which the optical sensor chip is embedded.
[0071] Finally, the calibration algorithm and the sensor response data can be used together in an optical device comprising the optical sensor chip. Using the sensor response data and the calibration algorithm a sensor output can be calibrated to generate a calibrated sensor output (step s5). This process will be discussed in further detail below.
[0072] The proposed method of characterizing an optical sensor chip addresses several issues. In contrast to alternative processes it is envisaged not to deliver a calibrated sensor by the manufacturer. This may have several advantages. For example, a complete manufacturer-side calibration may not address the complexity of sensor data and may also neglect compensation efforts such as temperature compensation. Furthermore, it is possible to optimize the compensation methods and algorithm during manufacturing but also at a later point in time, for example by means of a software or firmware update. Furthermore, additional parameters and methods which may be specific for an intended application in an optical device can be added for further optimization.
[0073] It is also possible to not rely on a single calibration algorithm which is defined by the manufacturer only. Using the proposed process flow it is possible to use several algorithms and choose the one which is best suited for the intended application. Thus, the optical sensor chip can be considered a tested sensor which is provided with a set of sensor response data characterizing the sensor at various wavelengths and operating temperatures. The sensor response data is characteristic for the individual optical sensor chip can be measured with high accuracy in a controlled environment of a laboratory at the production line. The data is saved in a database, such as a server or cloud with direct assignment via the chip ID. The calibration algorithm which can be provided as software, firmware or a white paper, for example, provides a complete method to compensate and calibrate the sensor output data.
[0074]
[0075] In this example embodiment the optical sensor chip is configured as a multispectral sensor. The multispectral sensor comprises an opaque housing OH with two chambers: a first chamber CH1 and a second chamber CH2. The opaque housing OH is arranged on a carrier CA and comprises a light barrier LB which divides the housing into the first and a second chamber CH1, CH2. The first and second chambers CH1, CH2 are further confined laterally by a frame body FB arranged in the housing. A cover section CS is located opposite to the carrier CA and thereby covers the chambers CH1, CH2. The cover section CS, the frame body FB, and the light barrier LB are manufactured by a continuous piece of material, such as a mold material, for example. The carrier CA provides mechanical support and electrical connectivity to electronic components which are integrated into the multispectral sensor. For example, the carrier CA comprises a printed circuit board, PCB (not shown). However, in other embodiments (not shown) the carrier CA can also be part of the housing and electronic components are embedded into the housing by molding, for example.
[0076] An array of optical emitters OE is located inside the first chamber CH1. The optical emitters OE are arranged on the carrier CA and are electrically connected to the carrier CA, e.g. to the PCB. The optical emitters OE can be implemented as light emitting diodes, such as NIR-LEDs emitting (near) infrared radiation, NIR, or be implemented as laser diodes, such as VCSELs or VECSELs, for example. These types of optical emitters are configured to emit light at a specified wavelength or in a specified range of wavelengths, respectively, e.g. in the UV, visual or infrared part of the electromagnetic spectrum. The emission may be narrow- or broadband. For example, vertical-cavity surface-emitting lasers, VCSEL, or vertical-external-cavity surface-emitting-lasers, VECSEL, predominantly emit in the IR or NIR, e.g. at 940 nm.
[0077] An optical sensor OS is arranged inside the second chamber CH2 and on the carrier CA. In this embodiment, the optical sensor is integrated into a single semiconductor die SD together with other electronics. The optical sensor OS comprises an array of optical detector elements, e.g. pixels. The channels may be implemented as photodiodes, for example.
[0078] An array of optical filters OF is arranged in the second chamber CH2 above the optical sensor OS. The array of optical filters OF is attached to the optical sensor OS. The pixels each are associated with an optical filter having a different transmission characteristic. Together the pixels and associated filter form a “channel” of the optical sensor chip. The optical filters in the array of optical filters OF have a transmission characteristic which blocks or at least attenuates at the specified wavelength of the optical emitter OE. The optical filters OF may be interference filters such as optical cut-off filters, bandpass, long or short pass filters, dielectric filters, Fabry-Perot filters and/or polymer filters. Typically, the passband is chosen with respect to a fluorescence probe to be studied and the optical filters OF pass light having a wavelength corresponding to the fluorescence emission of the probe.
[0079] First and second apertures AP1, AP2 are arranged in the cover section CS. The first and the second apertures AP1, AP2 are positioned above the optical emitters OE and the optical sensor OS, respectively. In fact, the apertures AP1, AP2 lie within a field of view of the optical emitters OE and the optical sensor OS, respectively.
[0080] Optionally, optical systems can be arranged inside the first and second chambers CH1, CH2, respectively. For example, a first optical stack OS1 comprises a lens or system of lenses and is attached to the optical emitters OE inside the first chamber CH1. The first optical stack OS1 can be configured to guide and focus emitted light from the optical emitters OE towards a target TG which can be positioned in the field of view, FOV, of the optical stack in a characteristic distance, for example. Typically, the multispectral sensor is placed at a distance of 5 to 10 mm with respect to the external target TG, e.g. a fluorescent probe. In addition, the optical stack OS1 may have optical filters or protective glass layers or windows, for example. The first and second chambers CH1, CH2 may be sealed with an optical window OW, respectively.
[0081] Furthermore, a second optical stack OS2 comprises a lens or system of lenses and is attached to the optical sensor OS inside the second chamber CH2. For example, the second optical stack OS2 comprises an array of micro-lenses AM wherein individual micro-lenses are associated with pixels of the optical sensor, respectively. The micro-lenses can be adjusted in their optical properties (focal length, lens diameter, distance between lens and pixel, etc.) such that each associated pixel of the optical sensor OS is detecting light only from a defined region of the target TG. In addition, the second optical stack OS2 may have further optical layers, e.g. optical filters, angular filters or protective glass layers or windows, for example. Furthermore, the second optical stack may also have an additional lens to narrow the FOV of the optical sensor, e.g. to 10 degrees or smaller. The optical filters in the array of filters OF can be aligned with respect to the micro-lenses of the array of micro-lenses AM. This way each pixel of the optical sensor OS can be associated with an individual filter and/or micro-lens.
[0082] Typically, further electronic components such as a control unit CU and a measurement unit MU are integrated into the same semiconductor die SD alongside with the optical sensor OS. However, these components will not be described in detail here. It will be assumed that the optical sensor chip and the optical device comprise the necessary electronic components to operate the sensor. For example, the discussed optical sensor chip emits light towards a target TG in its FOV and detects light after reflection at the external target TG by means of the optical sensor OS, e.g. for a fixed detector position and orientation.
[0083] The various components of the optical sensor chip discussed above have a possible impact on the performance of such an optical sensor chip. The following provides an overview of parameters that may affect the operation of the optical sensor chip and accuracy of sensor data. The optical emitters OE are characterized by a spectral irradiance function, a power distribution of emission, position accuracy of emitters and a temperature dependence of said parameters. The function of the first optical stack OS1 is influenced by a position accuracy and influences the FOV to target TG of the emitters and defines an effective aperture diameter, for example.
[0084] Typically, in an optical device, a cover CO, such as a glass layer, is provided above the optical sensor chip, e.g. as part of the optical device. The emission originating from the optical emitters OE traverses through the cover CO and, thus, its properties are relevant for the optical sensor performance. Parameters to consider involve thickness and position, refraction index and transmission characteristics of the cover CO, for example.
[0085] The emission is directed onto an area of an external target TG, and thus, parameters characteristic of a target area illuminated by the emission may be considered as parameters for system description as well. Such parameters include reflectivity, scattering and opacity of the target area, the FOV available to the optical emitters OE and a power distribution in spectral composition of the emitted light reaching the target area. Finally, in some applications also a target shape may be considered.
[0086] Optical sensor chips, such as the multispectral sensor described above, may evaluate the reflection at the target TG which is detected by one or more channels arranged in the second chamber CH2 of the optical sensor chip. Thus, also parameters describing the reflection may be evaluated in order to describe a system characterization. Thus, a thickness and gap, reflection index and transmission of the cover CO may be considered. The second chamber CH2 is covered with a clear optical window OW which has a spectral transmission and reflection characteristic. Furthermore, the second optical stack OS2 arranged above the optical sensor OS affects the FOV to target, aperture and position accuracy. Furthermore, the optical filters OF are characterized by spectral transmission characteristics, respectively. Finally, the channels have a spectral sensitivity of their own, may be prone to crosstalk and typically show temperature dependence. A temperature profile of both emitters OE and channels may be affected by ambient temperature, device temperature, emitter temperature and thermal gradients in the optical device.
[0087] The proposed concept allows for calibration and characterization of the optical sensor chip in its final assembled state. Thus, by recording the sensor response data the multitude of system parameters summarized above can inherently be accounted for. As will be discussed below, a calibration algorithm can be provided which reduces complexity to a measurement of a spectral sensitivity for each detector pixel, channel, spectra of each emitter, e.g. LED, and power distribution in the target area. Furthermore, the provided sensor response data is also measured as a function of temperature which allows for temperature compensation during application of the optical sensor chip in an optical device.
[0088]
[0089] As discussed above the sensor output data from the optical sensor chip depends on various parameters which are influenced by the components of the optical sensor chip and the optical sensor device into which the chip is integrated. The sensor output can be calibrated using a calibration procedure. The following discussion assumes an optical sensor chip, an optical sensor device, an external target t placed in the field of view, FOV, of the optical sensor chip and a measurement condition x including an operation temperature. One possible procedure will be discussed in further detail below. Consider the optical sensor chip is configured as the multispectral sensor discussed with respect to
[0090] A calibrated output matrix for a given target t will be denoted R.sub.t hereinafter. For example, the calibrated output matrix represents calculated, or calibrated, reflectance values at the target t, and is a function of wavelength λ. R.sub.t(λ.sub.k) denotes an element of the calibrated output matrix R.sub.t, e.g. a calculated reflectance of target t at an emission wavelength λ.sub.k. The parameter k denotes wavelength points of reconstruction, such as λ.sub.k=λ.sub.1, . . . , λ.sub.K=750 nm, . . . , 1050 nm, wherein K denotes a total number of reference wavelengths, i.e. k=1, . . . , K. The term R.sub.0(λ.sub.k) denotes an element of a standard calibrated output matrix R.sub.0, e.g. a calculated reflectance of a standard target, denoted t=0, at an emission wavelength λ.sub.k. The standard target t=0 may be implemented as a calibration card, e.g. a white card, which is known to have a standard reflectance, e.g. 99% reflectance, at λ.sub.k. For 301 wavelength points of reconstruction the calibrated output matrix R.sub.t is represented by a 301×1 matrix, for example.
[0091] Various sensor response data defines a calibration matrix M.sub.x. The index x indicates the measurement condition for which the calibration matrix M.sub.x is valid, e.g. operating temperature, forward current of LEDs, etc. For example, for one measurement condition x there are 301 wavelength points and 61 channels, and M.sub.x is represented by a 61×301 matrix. In this case the calibration matrix M.sub.x has the generic form:
[0092] The uncalibrated output matrix of the optical sensor chip will be denoted Dig.sub.t,x. For example, this matrix represents the channel digits of a reflectance at target t at measurement condition x. Dig.sub.t,x,c represents an element of the uncalibrated output matrix, e.g. a digit of channel c of a reflectance at target t and measurement condition x. The index c indicates a detection channel of the optical sensor chip OS. For example, the optical sensor chip has 61 channels c=(1, . . . , 61). Then the uncalibrated output matrix Dig.sub.t,x is represented by a 61×1 matrix:
[0093] Using this terminology the calibrated output matrix R.sub.t can be expressed as:
R.sub.t=M.sub.x.sup.+.Math.Dig.sub.t,x.
[0094] This general expression can be solved in order to calibrate the output of the optical sensor chip integrated in the optical device, to provide calibrated sensor data. This will be further elaborated on in the following discussion. Please note that the discussion presented hereinafter assumes the optical sensor chip introduced in
[0095] The uncalibrated output matrix Dig.sub.t,x depends on a reflectance of the target t and depends on sensor sensitivity. A measured reflectance matrix I.sub.t represents the measured reflectance of target t as a function of emission wavelength λ.sub.j. I.sub.t(λ.sub.j) denotes an element of the measured reflectance matrix I.sub.t, e.g. a measured reflectance of target t at an emission wavelength λ.sub.j. The parameter j is used as index of a base of spectral data, such as λ.sub.j=λ.sub.1, . . . , λ.sub.J=700 nm, . . . , 1100 nm. Index J denotes a total number of wavelength points in the spectral base, i.e. j=1, . . . , J. The term I.sub.0(λ.sub.j) denotes an element of a measured standard reflectance matrix I.sub.0, e.g. a measured reflectance of a standard target t=0 at an emission wavelength λ.sub.j. The standard target may be implemented as a calibration card, e.g. a white card, which is known to have a standard reflectance, e.g. 99% reflectance, at λ.sub.j. For example, a spectral base of 401 wavelength points results in a measured reflectance matrix I.sub.t which is represented by a 401×1 matrix.
[0096] Furthermore, sensor sensitivity also is a function of wavelength. A sensor sensitivity matrix S.sub.DUT.sub.
[0097] The uncalibrated output matrix Dig.sub.t,x can be expressed using the measured reflectance matrix I.sub.t and sensor sensitivity matrix S.sub.DUT.sub.
Dig.sub.t,x=I.sub.t.Math.S.sub.DUT.sub.
[0098] Using this expression the calibrated output matrix reads
R.sub.t=M.sub.x.sup.+.Math.Dig.sub.t,x=M.sub.x.sup.+.Math.I.sub.t.Math.S.sub.DUT.sub.
[0099] Calibration aims at an accurate reconstruction, i.e. a target reflectance should approximately be the same as a calibrated target reflectance, or R.sub.t≅I.sub.t. This can be achieved when the calibration matrix M.sub.x is given by
M.sub.x.sup.+=(S.sub.DUT.sub.
[0100] Thus, accuracy and robustness of transformation of measured raw sensor data into calibrated sensor data depends on the quality of the calibration matrix M.sub.x. The calibration matrix M.sub.x can be calculated by inverting the sensor sensitivity matrix S.sub.DUT.sub.
[0101] Calibration may be complemented with a white target referencing. The white target may be a standard white, or gray card, or a chart of known reflectance at standardized wavelengths. White target referencing can be expressed as a linear combination of calibration matrix M.sub.x and uncalibrated output matrix Dig.sub.t,x:
R.sub.t=a.Math.M.sub.x.sup.+.Math.Dig.sub.t,x+b,
wherein a and b denote linear coefficients.
[0102] An element S_DUT.sub.x,c(λ.sub.j) of the sensor sensitivity matrix S.sub.DUT.sub.
S_DUT.sub.x,c(λ.sub.j)=E.sub.x,c(λ.sub.j).Math.S.sub.Detector.sub.
[0103] The term E.sub.x,c(λ.sub.j) denotes an irradiance of the optical emitters OE, such as LEDs. In an example embodiment using five LEDs as emitters OE the irradiance can be expressed as:
wherein E.sub.LED,x(λ.sub.j) denotes an irradiance of a given emitter OE, e.g. LED=1, . . . , 5, at wavelength λ.sub.j and at measurement condition x. The term f(c) denotes a power distribution factor of channel c to weight a contribution of the given emitter to a detection at wavelength λ.sub.j. In general, the irradiance of the optical emitters OE is a function of various parameters, including emitter emission spectra, temperature, forward current, binning, distance to target, power distribution on target, for example.
[0104] The sensor channel sensitivity S.sub.Detector.sub.
S.sub.Detector.sub.
[0105]
[0106] The calibration process is depicted with reference to four basic stages ST1 to ST4. The first stage ST1 involves retrieving the sensor response data using the chip ID. In this example, the sensor response data has been recorded for a standard measurement condition, abbreviated as x=0. The sensor response data comprises the sensor sensitivity of the respective channels c as a function of wavelength λ.sub.j, denoted S.sub.Detector.sub.
[0107] The second stage ST2 involves measuring an operating temperature of the optical sensor device, denoted x ° C. In this stage the sensor sensitivity and spectral radiance functions are temperature compensated using the first and the second temperature coefficients, respectively. The compensation is applied according to the calibration algorithm associated with the chip ID.
[0108] In the third stage ST3 the temperature compensated spectral radiance functions are weighted using the power distribution on target which represents a measured or simulated relative power distribution at the target TG.
[0109] Finally, in stage ST4 the temperature compensated sensor sensitivity and weighted temperature compensated spectral radiance functions are combined into a system detection spectra SDS for the previously measured operating temperature and are calculated using the calibration algorithm. In the mathematical framework derived above the system detection spectra SDS are represented by the sensor sensitivity matrix S.sub.DUT.sub.
[0110]
[0111] In this example the sensor sensitivity S.sub.Detector.sub.
[0112] The temperature coefficients indicate how the sensor sensitivity changes with temperature. Combining the sensor sensitivity data D1 with the temperature coefficients T1, e.g. by multiplication, yields a temperature compensated sensor sensitivity S.sub.Detector.sub.
[0113]
[0114] In this example the spectral radiance functions E.sub.LED,0(λ.sub.j) (see reference numeral D2) has been recorded at a standard temperature of T=25° C. The array of optical emitters OE comprises five emitters OE. The data has been established with a resolution of 1 nm in a wavelength range of λ.sub.j=λ.sub.1, . . . , λ.sub.J700 nm, . . . , 1100 nm. The corresponding second temperature coefficients T2 have been determined for all emitters OE individually. The data has been established with a resolution of 1 nm in a wavelength range of λ.sub.j=λ.sub.1, . . . , λ.sub.J=700 nm, . . . , 1100 nm.
[0115] The temperature coefficients T2 indicate how the spectral radiance functions change with temperature. Combining the spectral radiance functions with temperature coefficients, e.g. by multiplication, yields temperature compensated spectral radiance functions E.sub.LED,x(λ.sub.j).
[0116]
[0117] The temperature compensated spectral radiance functions E.sub.LED,x(λ.sub.j) are further compensated using a relative power distribution P1 which results from illumination of the optical emitters OE at the target TG, e.g. a standard target, respectively. The power distribution P1 may be simulated or measured and is determined for each channel c. In terms of the mathematical framework introduced above, the power distribution is given by f(c), i.e. the power distribution factor of a given channel c to weight a contribution of an optical emitter OE to a detection at wavelength λ.sub.j. The temperature compensated spectral radiance functions TC2 and power distribution factors are combined to yield the irradiance of the emitters E.sub.x,c(λ.sub.j), respectively.
[0118]
[0119]
[0120]
[0121] In other words, having determined the system detection spectra SDS for the current measurement condition (including the current operating temperature) the sensor sensitivity matrix S.sub.DUT.sub.
[0122]
[0123]
[0124] The calibration matrix derived in
[0125] For example, the calibrated sensor output may involves the linear coefficients a and b and sample sensor data SD. The current operating temperature is measured and after temperature and power compensation the system detection matrix SDM is determined for the current operating temperature. After calculating the calibration matrix M.sub.x for this condition, the calibrated sensor output is determined from the sample sensor data SD and represented is sample matrix SM.
[0126]
[0127] One possible solution to further improve accuracy of the calibration may be added if differences in temperature between reference measurement at fabrication and sample measurement in the application cannot be compensated well enough. Besides using a reference sample with known spectral reflection data to the user (reference target discussed above) the optical sensor may be modified to employ changes in power distribution at the target area due to changing distance.
[0128] The drawing shows an optical sensor OS similar to the one depicted in
[0129] For example, the optical sensor OS comprises an array of pixels or channels as discussed in
[0130] This way two power distributions are considered: a first power distribution with a first set of relative power distribution factors f(c) (see reference numeral PD1) from the sensor response data (e.g. at a reference distance) and a second power distribution with a second set of relative power distribution factors f(c) (see reference numeral PD2) measured at a current distance. The differences in elative power distribution factors f(c) can be evaluated and used to compensate the sensor sensitivity matrix by using the actual power distribution at a current distance. From this point on, calculation may proceed as discussed in the figures above. Distance can be determined by means of a time-of-flight sensor which may be part of the optical sensor device. Furthermore, the optical sensor chip can be configured as a time-of-flight sensor in order to provide distance measurement using the same chip. Furthermore, measurement if power distribution during operation also accounts for changes in operating temperature as the power distribution typically also depends on temperature (see graph PD3 in the inset of the drawing).
[0131]
[0132] In stage ST6 at the production site the optical sensor chip several further stages ST61 to ST65 are performed (see
[0133] Calculation of the sensor spectra, of the calibration matrix and of the target spectra, i.e. calibrated sensor output are determined by the calibration algorithm (see
[0134] Furthermore, the optical sensor device having the calibrated sensor chip can measure a reference target and provide a calibrated sensor output as discussed above. These steps result in a calibrated optical device (see ST66) comprising a system detection function and calibration matrix for the current measurement condition x. The calibrated optical device is prepared to measure a sample target and output a calibrated sensor output. Changing operating temperatures are accounted for by means of executing the calibration algorithm again to determine a new system detection function and calibration matrix for the new measurement condition x.