CN114051081B - Control method of image sensor - Google Patents

Control method of image sensor Download PDF

Info

Publication number
CN114051081B
CN114051081B CN202111320806.5A CN202111320806A CN114051081B CN 114051081 B CN114051081 B CN 114051081B CN 202111320806 A CN202111320806 A CN 202111320806A CN 114051081 B CN114051081 B CN 114051081B
Authority
CN
China
Prior art keywords
light source
detection light
image sensor
pixel point
scanning
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111320806.5A
Other languages
Chinese (zh)
Other versions
CN114051081A (en
Inventor
林永辉
连军政
王家墨
杜忺峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Weihai Hualing Opto Electronics Co Ltd
Original Assignee
Weihai Hualing Opto Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Weihai Hualing Opto Electronics Co Ltd filed Critical Weihai Hualing Opto Electronics Co Ltd
Priority to CN202111320806.5A priority Critical patent/CN114051081B/en
Publication of CN114051081A publication Critical patent/CN114051081A/en
Application granted granted Critical
Publication of CN114051081B publication Critical patent/CN114051081B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/024Details of scanning heads ; Means for illuminating the original
    • H04N1/028Details of scanning heads ; Means for illuminating the original for picture information pick-up
    • H04N1/03Details of scanning heads ; Means for illuminating the original for picture information pick-up with photodetectors arranged in a substantially linear array
    • H04N1/031Details of scanning heads ; Means for illuminating the original for picture information pick-up with photodetectors arranged in a substantially linear array the photodetectors having a one-to-one and optically positive correspondence with the scanned picture elements, e.g. linear contact sensors
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/75Systems in which material is subjected to a chemical reaction, the progress or the result of the reaction being investigated
    • G01N21/77Systems in which material is subjected to a chemical reaction, the progress or the result of the reaction being investigated by observing the effect on a chemical indicator
    • G01N21/78Systems in which material is subjected to a chemical reaction, the progress or the result of the reaction being investigated by observing the effect on a chemical indicator producing a change of colour
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N25/00Circuitry of solid-state image sensors [SSIS]; Control thereof
    • H04N25/50Control of the SSIS exposure

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Chemical & Material Sciences (AREA)
  • Chemical Kinetics & Catalysis (AREA)
  • Plasma & Fusion (AREA)
  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Analytical Chemistry (AREA)
  • Biochemistry (AREA)
  • General Health & Medical Sciences (AREA)
  • General Physics & Mathematics (AREA)
  • Immunology (AREA)
  • Pathology (AREA)
  • Facsimile Scanning Arrangements (AREA)

Abstract

The application provides a control method of an image sensor, which is used for controlling a contact image sensor to realize high-precision detection of a target sample by utilizing at least one detection light source, and comprises the steps of turning off the detection light source for M times to scan and determining the dark output average value of each pixel point; determining the lighting time of the detection light source; turning off the detection light source to perform M times of scanning; turning on a detection light source, scanning the standard sample sheet K times after the lighting time is reached, and determining correction coefficients of all pixel points; turning off the detection light source to perform M times of scanning; and turning on the detection light source, and after the lighting time is reached, scanning the target sample for K times and correcting the scanning result. The control method provided by the application can comprehensively reduce the influence on the precision and consistency of the output result caused by a plurality of factors such as power supply fluctuation, detection light source luminous efficiency, sensitivity characteristic of a photosensitive chip, temperature change and the like when the contact image sensor continuously lights, and effectively improve the detection effect.

Description

Control method of image sensor
Technical Field
The present technology relates to the field of image detection, and in particular, to a method for controlling a contact image sensor to perform image detection.
Background
The Point-of-CARE TESTING (POCT) technology refers to a detection mode which is performed on a sampling site and can quickly obtain a detection result by using a portable analysis instrument and a matched reagent. POCT is widely applied to public health fields such as clinical examination, chronic disease monitoring, inspection and quarantine, food safety and the like. With the vigorous development of mobile internet and biological medicine, the POCT technology is continuously developed towards the miniaturization of real-time, quantitative and detection equipment.
The POCT technology principle mainly comprises: dry chemistry technology, colloidal gold technology, chemiluminescent immunity technology, biosensor technology, biochip technology, microfluidic chip technology, etc. The dry chemical technology and the colloidal gold technology are most mature and widely used, and the working principle is as follows: the characteristic test paper and the detected substance quickly generate obvious color change, namely the chemical reagent on the test paper reacts with the detected substance to develop color, the color development depth is related to the content of the detected substance, and the content of the detected substance can be measured by measuring the color depth of the test paper.
In the prior art, detection is performed by using a contact image sensor (Contact Image Sensor, abbreviated as CIS). The detection method mainly comprises the following steps:
S1, scanning is carried out for a plurality of times without lighting, a dark output value of each pixel point is obtained, and a dark output average value is calculated, wherein the dark output value is an output value obtained by scanning the contact image sensor in a state of turning off a detection light source;
S2, turning on a detection light source, scanning for a plurality of times, adjusting the lighting time, and determining the lighting time T reaching a set target value;
S3, turning on the detection light source, scanning the standard sample sheet for a plurality of times according to the lighting time T, and calculating correction coefficients of all pixel points;
S4, turning on the detection light source, scanning the target test strip with the lighting time T, and calculating the bright output value of each pixel point after correction by using the correction coefficient, wherein the bright output value is the output value obtained by scanning the contact image sensor in the state of turning on the detection light source.
In the actual detection process, the control method has the defects of inaccurate test due to the influences of power supply fluctuation, LED luminous efficiency, IC sensitivity characteristics and temperature variation, and even if a standard sample is scanned, the scanned output value of the corrected sample deviates from the set target value, so that the detection precision is greatly influenced.
Disclosure of Invention
In order to solve the problems in the prior art, an object of the present application is to provide a control method of a contact image sensor, which can improve the output stability of the contact image sensor and improve the detection accuracy.
The embodiment of the application provides a control method of an image sensor, which is used for controlling a contact image sensor to realize high-precision detection of a target sample by utilizing at least one detection light source, and comprises the following steps:
S100: using the contact image sensor to scan for M times under the state of closing a detection light source to obtain M dark output values of each pixel point of the contact image sensor, and determining a dark output average value of each pixel point according to the M dark output values of each pixel point;
S200: determining a lighting time of the detection light source, wherein the lighting time is the time from starting the detection light source to the time when a result obtained by scanning a standard sample by using the contact image sensor reaches a set condition;
S300: using the contact image sensor to scan M times under the state of turning off the detection light source;
S400: turning on the detection light source, and after the lighting time is reached, using the contact image sensor to scan the standard sample sheet K times to obtain K first bright output values of each pixel point, and determining a correction coefficient of each pixel point according to the K first bright output values of each pixel point and the dark output average value;
s500: using the contact image sensor to scan M times under the state of turning off the detection light source;
S600: and starting the detection light source, and using the contact image sensor to scan the target sample page K times after the lighting time is reached to obtain K second bright output values of each pixel point, and correcting the K second bright output values of each pixel point according to the dark output average value and the correction coefficient.
Preferably, in the step S600, correcting the K second bright output values of each pixel point according to the dark output average value and the correction coefficient includes: discarding the first K-1 second bright output values of each pixel point, and reserving the K second bright output values of each pixel point; and correcting the K second bright output value of each pixel point according to the dark output average value and the correction coefficient to obtain a detection result of the target sample.
Preferably, in the step S400, determining the correction coefficient of each pixel point according to the K first bright output values and the dark output average value of each pixel point includes: calculating the average value of K first bright output values of each pixel point to obtain the first bright output average value of each pixel point; and determining the correction coefficient of each pixel point according to the first bright output average value and the dark output average value of each pixel point.
Preferably, M is divisible by N, where N is an integer greater than 1.
Further, in the step S100, determining a dark output average value of each pixel according to the M dark output values of each pixel includes: discarding the first M/N dark output values of each pixel point, and reserving the last M (N-1)/N dark output values of each pixel point; and calculating the average value of the post M (N-1)/N dark output values of each pixel point to obtain the dark output average value of each pixel point.
Preferably, the determining the lighting time of the detected light source in the step S200 includes:
S210: turning on the detection light source and keeping a preset time period;
S220: scanning a standard sample using the contact image sensor;
s230: judging whether the result obtained by scanning the standard sample by the contact image sensor reaches the set condition, if not, executing step 240, and returning to step S210, if yes, executing step S250, wherein,
S240: the detection light source is turned off and the preset time period is readjusted,
S250: and determining the preset duration as the lighting time of the detection light source.
Further, the result obtained by scanning the standard sample is the light output value of each pixel point obtained by scanning the standard sample by the contact image sensor in a state that the detection light source is started for the preset time period; the setting condition is that the sum of the maximum value and the minimum value in the light output values of the pixel points is 2 times of a correction target value, wherein the correction target value is predetermined according to the characteristic of the detection light source.
Optionally, the detection light source is more than one type; the step S600 further includes:
S700: judging whether all kinds of detection light sources are used for detection, if not, executing step S710, returning to step S100, if yes, ending detection, wherein,
S710: and replacing the detection light source of the next type, and performing M times of scanning by using the contact image sensor under the state of turning off the detection light source.
Optionally, the detection light source is more than one type; the step S400 further includes:
s410: judging whether the correction information of all kinds of detection light sources is acquired, if yes, executing step S500, if no, executing step S420, returning to step S200, wherein,
S420: and replacing the detection light source of the next type, and performing M times of scanning by using the contact image sensor under the state of turning off the detection light source.
Further, the step S600 further includes:
S610: judging whether the detection of all kinds of detection light sources is finished, if yes, ending the detection, if no, executing step S620, returning to step S600, wherein,
S620: and replacing the detection light source of the next type, and performing M times of scanning by using the contact image sensor under the state of turning off the detection light source.
The control method of the image sensor provided by the embodiment of the application has at least the following beneficial effects:
(1) According to the technical scheme, the steps of controlling the contact image sensor to scan for the same times under the state of closing the detection light source are respectively added before the steps of determining the lighting time of the detection light source, calculating the correction coefficient and actually scanning the target sample, so that the influence of unstable luminous efficiency caused by heating of a control circuit of the detection light source can be effectively avoided, and the consistency of the brightness of the detection light source in each step of acquiring the bright output value is improved;
(2) In the step of determining the dark output average value of each pixel, the method of controlling the contact image sensor to scan for a plurality of times under the state of closing the detection light source and discarding the dark output value with a certain proportion at the forefront is adopted, so that the phenomenon that the photosensitive chip is accumulated by photosensitive part charges caused by interference of external weak light and fluctuation of detection results caused by the charge accumulation is eliminated when the contact image sensor is in a long-time standby state before starting, and the phenomenon that the detection results are unstable caused by power fluctuation during initial starting scanning is eliminated;
(3) The technical scheme of the application keeps the same times of scanning the target sample after the detection light source is started and the lighting time is reached as the times of scanning the standard sample, so that various states (voltage fluctuation, loop temperature and light source luminous efficiency) of the image sensor at the last time of scanning the target sample continuously are consistent with the states of the image sensor at the time of correction, the correction coefficient calculated by the correction scanning accords with the current scanning state, and the effects of accurate correction and stable output are achieved;
(4) In the technical scheme of the application, in the step of scanning the target sample for multiple times to obtain the detection result, only the bright output value obtained in the last scanning is corrected to be used as the detection result, so that the influence of the corresponding state on the detection result when the state of the detection light source (temperature, luminous efficiency and the like) and the state of the power supply voltage fluctuation in the previous scanning are not corrected is eliminated, and the precision of the detection result is improved.
Drawings
FIG. 1 is a flow chart of a prior art in-situ rapid detection method using a contact image sensor;
FIG. 2 is a flow chart of a control method of an image sensor according to an embodiment of the present application;
FIG. 3 is a flowchart illustrating the implementation of step S200 in FIG. 2;
FIG. 4 is a comparison of the detection results of the control method of the image sensor provided by the present application and the control method of the prior art;
FIG. 5 is a flow chart of one specific implementation of an embodiment of the present application;
FIG. 6 is a flowchart of a control method of an image sensor according to still another embodiment of the present application;
FIG. 7 is a flow chart of a specific implementation of yet another embodiment of the present application;
FIG. 8 is a flowchart of a control method of an image sensor according to still another embodiment of the present application;
Fig. 9 is a flow chart of a specific implementation of yet another embodiment of the present application.
Detailed Description
In the following, the technical solutions of the present application will be clearly and completely described with reference to the drawings in combination with various embodiments of the present application, it should be noted that the embodiments described below are used to make those skilled in the art better understand the technical solutions of the present application, but not represent all embodiments of the present application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present application without making any inventive effort, shall fall within the scope of the present application.
The terms "first," "second," and the like in the description, in the claims and in the drawings, are used for distinguishing between similar elements or objects and not necessarily for describing a particular sequential or chronological order, and are not intended to be construed to indicate or imply relative importance. Furthermore, the terms "comprises," "comprising," and any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, or article, that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed or inherent to such process, method, or article.
Unless specifically stated or limited otherwise, the terms "disposed," "connected," and "connected" should be construed broadly, as if they were fixedly connected, detachably connected, or integrally connected, for example; the two components can be connected mechanically, directly or indirectly through an intermediate medium, and can be communicated internally. The specific meaning of the above terms in the present application will be specifically understood by those skilled in the art.
Fig. 1 is a flowchart of a prior art on-site rapid detection method using a contact image sensor, wherein the structure, arrangement and technique of the contact image sensor and the detection light source are known to those skilled in the art, and the technique of correcting the scanning result of a target specimen using the scanning result of the detection light source on a standard specimen.
To solve the problems of the prior art shown in fig. 1, an embodiment of the present application provides a control method of an image sensor, which is used for controlling a contact image sensor to implement high-precision detection of a target specimen by using at least one detection light source.
Example 1
Fig. 2 is a flowchart of a control method of an image sensor according to an embodiment of the present application, as shown in fig. 2, the method includes the following steps:
S100: using the contact image sensor to scan for M times under the state of closing a detection light source to obtain M dark output values of each pixel point of the contact image sensor, and determining a dark output average value of each pixel point according to the M dark output values of each pixel point;
S200: determining a lighting time of the detection light source, wherein the lighting time is the time from starting the detection light source to the time when a result obtained by scanning a standard sample by using the contact image sensor reaches a set condition;
S300: using the contact image sensor to scan M times under the state of turning off the detection light source;
S400: turning on the detection light source, and after the lighting time is reached, using the contact image sensor to scan the standard sample sheet K times to obtain K first bright output values of each pixel point, and determining a correction coefficient of each pixel point according to the K first bright output values of each pixel point and the dark output average value;
s500: using the contact image sensor to scan M times under the state of turning off the detection light source;
S600: and starting the detection light source, and using the contact image sensor to scan the target sample page K times after the lighting time is reached to obtain K second bright output values of each pixel point, and correcting the K second bright output values of each pixel point according to the dark output average value and the correction coefficient.
The contact image sensor used in the embodiment comprises a power supply, a photosensitive chip, a control and interface circuit and other components, wherein the photosensitive chip comprises a plurality of pixel points and can output the intensity of the sensed light in the form of a voltage signal; the detection light source is a light source with specific wavelength and light intensity, and is arranged on the same side or opposite side of the contact type image sensor relative to the standard sample or the target sample.
When the contact image sensor scans under the state that the detection light source is turned off, voltage signals output by a plurality of pixel points of the photosensitive chip are dark output values; when the contact image sensor scans under the state that the detection light source is turned on, light rays irradiated by the detection light source on the standard sample or the reference sample reach the photosensitive chip through reflection or transmission, voltage signals output by a plurality of pixel points of the photosensitive chip are bright output values, wherein the standard sample is a sample with uniform optical characteristics and is used for determining the lighting time and correction coefficients of the detection light source so as to correct the bright output values of the scanning target sample.
The structure, principle and workflow of the device for performing subsequent processing on the dark output value and/or the bright output value output by the contact image sensor, such as the a/D conversion module, the noise reduction module, the storage module, the calculation module, etc., are well known to those skilled in the art, and are not described herein.
Specifically, the control method of the embodiment firstly scans M times under the state of turning off the detection light source to obtain M dark output values of each pixel point, and determines a dark output average value of each pixel point according to the M dark output values of each pixel point; then determining the lighting time of the detection light source; then turning off the detection light source to scan for M times; then turning on a detection light source, and scanning the standard sample sheet K times after the lighting time is reached to obtain K first bright output values of each pixel point, and determining a correction coefficient of each pixel point according to the K first bright output values and the dark output average value of each pixel point; then turning off the detection light source state again and scanning for M times; and finally, turning on the detection light source again, and scanning the target sample sheet K times after the lighting time is reached to obtain K second bright output values of each pixel point, and correcting the K second bright output values of each pixel point according to the dark output average value and the correction coefficient. The control method of the embodiment adds the steps of turning off the detection light source and scanning the same times before the steps of determining the lighting time of the detection light source, calculating the correction coefficient and actually scanning the target sample, thereby effectively avoiding the influence of unstable luminous efficiency caused by heating of the control circuit of the detection light source and improving the consistency of the brightness of the detection light source in each step of obtaining the bright output value.
The following describes in detail the specific embodiments of the respective steps.
Step S100 of the present embodiment is a step of determining a dark output average value of each pixel point according to M dark output values of each pixel point, where M is divisible by N, where N is an integer greater than 1, in some preferred implementations of the present embodiment. The step S100 includes: scanning for M times under the state of closing the detection light source, throwing away the first M/N dark output values of each pixel point, and reserving the last M (N-1)/N dark output values of each pixel point; and calculating the average value of the post M (N-1)/N dark output values of each pixel point to obtain the dark output average value of each pixel point.
In the step of determining the dark output average value of each pixel, the method of controlling the contact image sensor to scan for a plurality of times under the state of closing the detection light source and discarding the dark output value of the forefront certain proportion is adopted, so that the phenomenon that the photosensitive chip is accumulated by photosensitive part charges caused by interference of external weak light and fluctuation of detection results caused by the charge accumulation is eliminated when the contact image sensor is in a long-time standby state before starting, and the phenomenon that the detection results are unstable caused by power fluctuation during initial starting scanning is eliminated.
In the step S200 of the present embodiment, in order to determine the lighting time of the detected light source, if the detected light source does not reach the lighting time and scans the detected light source, the detected light source needs to be multiplied by a factor greater than 1, so that random noise of the photosensitive chip is amplified, which is not beneficial to output stability; since the sensitivity of different photosensitive chips to the same kind of detection light source is different, or the sensitivity of the same photosensitive chip to different kinds of detection light source is different, when the sensor is actually used, it is necessary to determine the optimal lighting time of different kinds of detection light sources corresponding to different photosensitive chips to reach the specified target value.
The lighting time of the test light source is determined by using a standard sample, the standard sample has uniform optical characteristics, and the lighting time of the light source and the detection result of the final target sample can be adjusted by scanning the standard sample and comparing the actual result obtained by scanning with an ideal value.
Fig. 3 illustrates steps for determining a lighting time of a detected light source in some preferred implementations of the present embodiment, including:
S210: turning on the detection light source and keeping a preset time period;
S220: scanning a standard sample using the contact image sensor;
s230: judging whether the result obtained by scanning the standard sample by the contact image sensor reaches the set condition, if not, executing step 240, and returning to step S210, if yes, executing step S250, wherein,
S240: the detection light source is turned off and the preset time period is readjusted,
S250: and determining the preset duration as the lighting time of the detection light source.
Further, in some implementations of the present embodiment, the result obtained by scanning the standard sample may be a value of an explicit output of each pixel point obtained by scanning the standard sample in a state in which the light source is turned on for a preset period of time; the setting condition may be that the sum of the maximum value and the minimum value in the light output values of the respective pixel points is equal to 2 times the correction target value, wherein the correction target value is predetermined according to the characteristics of the detection light source. Specifically, a correction target value is set as Vp, the correction target value is predetermined according to the characteristics of the detection light source, the detection light source is turned on and kept for a preset time period, scanning is performed to obtain a light output value of each pixel point, wherein the maximum value is Vmax, the minimum value is Vin, whether (vmax+vmin)/2=vp is met or not is judged, if yes, the preset time period is determined as the lighting time of the detection light source, if not, the preset time period is adjusted, and judgment is performed again.
In step S400, the calibration coefficients of the pixels are determined by using the standard sample, and since there are slight differences in the photosensitive characteristics of the pixels of the photosensitive chip, and there are slight differences in the outputs of the different pixels under the same detection light conditions and the same detection object, it is necessary to obtain the calibration coefficients of the pixels to calibrate the detection result. In some preferred implementations of the present embodiment, determining the correction coefficient of each pixel point according to the K first bright output values and the dark output average value in step S400 includes: turning on a detection light source, and scanning the standard sample sheet K times after the lighting time is reached to obtain K first bright output values of each pixel point; respectively averaging the K first bright output values of each pixel point to obtain a first bright output average value of each pixel point; and determining the correction coefficient of each pixel point according to the first bright output average value and the dark output average value of each pixel point.
Specifically, the determination of the correction coefficient for each pixel point may be performed in the following manner: subtracting the dark output average value of each pixel point from the first bright output average value of each pixel point, selecting the minimum value, dividing the minimum value by the difference between the first bright output average value of each pixel point and the dark output average value of each pixel point, and taking the difference as the correction coefficient of each pixel point. For example, let the first bright output average value and the dark output average value of each pixel point be vf_i, vd_i, i= … n, where n is the number of pixel points included in the photo-sensitive chip, the correction coefficient k_i=min (vf_i-vd_i)/(vf_i-vd_i) of each pixel point, i= … n. The technique of calculating the correction coefficient of each pixel based on the result obtained by scanning the standard sample is a conventional technique in the art, and the method of obtaining the correction coefficient is not limited to the above-described method, and a specific calculation method may be selected as required by those skilled in the art.
Step S600 is a step of scanning the target sample, correcting the scanning result, and obtaining a detection result of the target sample. In some preferred implementations of the present embodiment, correcting K second bright output values of each pixel according to the dark output average value and the correction coefficient in step S600 includes: turning on the detection light source, and scanning the target sample sheet K times after the lighting time is reached to obtain K second bright output values of each pixel point, throwing away the first K-1 second bright output values of each pixel point, and reserving the K second bright output values of each pixel point; and correcting the K second bright output value of each pixel point according to the dark output average value and the correction coefficient obtained in each step to obtain a detection result of the target sample.
Specifically, correction can be performed in the following manner: subtracting the dark output average value of each pixel point from the K second bright output value of each pixel point, multiplying the obtained result by the correction coefficient of each pixel point, and obtaining the result, namely the detection result of the target sample acquired by the contact image sensor, for example, if the K second bright output value of each pixel point is v2_i, i=1 … n, the detection result of the target sample acquired by the contact image sensor is vout_i= (v2_i-vd_i) ×k_i, i=1 … n.
The technology of correcting the bright output value obtained by scanning the target sample multiple times for each pixel point according to the dark output average value and the correction coefficient of each pixel point is known to those skilled in the art, for example, the patent application of application No. 202011265205.4 discloses a technology of correcting the average value of the bright output values obtained by scanning the target sample multiple times based on the dark output average value and the correction coefficient, and the preferred embodiment of the present embodiment is different from the above-mentioned prior art in that: the dark output operation of the state of the detection light source is turned off for M times between the lighting correction operation and the lighting scanning operation, and the dark output operation of the state of the detection light source is turned off for M times between two adjacent lighting scanning operations, so that sufficient heat dissipation time is given to the light source, and the detection light source is prevented from continuously emitting light to generate heat, thereby reducing the luminous efficiency; scanning the standard sample and the target sample for the same times after the light source is started and the lighting time is reached, but only keeping the result of scanning the target sample for the last time and correcting the result as a final detection result, so that various states (voltage fluctuation, loop temperature and light source luminous efficiency) of the image sensor in the last time of scanning the target sample continuously are consistent with the state of the image sensor in the correction, the correction coefficient calculated in the correction scanning accords with the current scanning state, and the effects of accurate correction and stable output are achieved; in addition, only the bright output value obtained in the last scanning is corrected to be used as a detection result, the influence of the corresponding state when the state of the detection light source (temperature, luminous efficiency and the like) and the state of the power supply voltage fluctuation in the previous scanning do not reach the correction on the detection result is eliminated, and the precision of the detection result is improved.
Fig. 4 shows a comparison between the detection result of the target sample obtained by the control method according to the embodiment of the present application and the detection result obtained by the method according to the prior art, in which the abscissa is the pixel point, the ordinate is the detection result output in step S600, and the fixed abscissa is the set target value of the scanning reference sample, and as can be seen from fig. 4, the output of all the pixel points obtained by the control method according to the present application is concentrated near the set target value, and the waveform is flat, the output consistency of each pixel point is good, the output of each pixel point by the conventional control method deviates from the set target value, and the output value curve is uneven, presents larger fluctuation, and affects the scanning accuracy. The comparison shows that the control method of the image sensor provided by the application can comprehensively reduce the influence on the precision and consistency of the output result caused by various factors such as power supply fluctuation, detection light source luminous efficiency, sensitivity characteristic of a photosensitive chip, temperature change and the like when the contact image sensor is continuously lighted, and effectively improve the detection effect.
Fig. 5 shows a flowchart of a specific implementation manner of this embodiment, where m=16, n=4, and k=8, that is, the number of times of scanning when the light source is detected in the off state is 16, the previous 4 times of scanning results are discarded when the dark output average value is obtained, the dark output average value is calculated using the last 12 times of scanning results, the previous 7 times of scanning results are discarded when the second bright output value is corrected, and the 8 th time of scanning results are corrected.
Example 2
Fig. 6 is a flowchart showing a control method of an image sensor according to still another embodiment of the present application, in which more than one type of light source is detected; the step S600 further includes:
S700: judging whether all kinds of detection light sources are used for detection, if not, executing step S710, returning to step S100, if yes, ending detection, wherein,
S710: and replacing the detection light source of the next type, and performing M times of scanning by using the contact image sensor under the state of turning off the detection light source.
The difference between this embodiment and embodiment 1 is that this embodiment uses a plurality of detection light sources to detect the target sample, and in particular, different detection light sources may have different wavelengths or other different optical characteristics. Since the target sample is different in photosensitive characteristics under the irradiation of different detection light sources, the photosensitive unevenness of each pixel point of the photosensitive chip on the different detection light sources is also different, so that the lighting time and the correction coefficient of each pixel point need to be determined for each detection light source.
Fig. 7 shows a flowchart of a specific implementation of the present embodiment.
Example 3
Fig. 8 is a flowchart showing a control method of an image sensor according to still another embodiment of the present application, in which more than one kind of light source is detected; the step S400 further includes:
s410: judging whether the correction information of all kinds of detection light sources is acquired, if yes, executing step S500, if no, executing step S420, returning to step S200, wherein,
S420: and replacing the detection light source of the next type, and performing M times of scanning by using the contact image sensor under the state of turning off the detection light source.
Further, the step S600 further includes:
S610: judging whether the detection of all kinds of detection light sources is finished, if yes, ending the detection, if no, executing step S620, returning to step S600, wherein,
S620: and replacing the detection light source of the next type, and performing M times of scanning by using the contact image sensor under the state of turning off the detection light source.
The difference between the present embodiment and embodiment 2 is that in the present embodiment, the step of determining the lighting time of the multiple detection light sources and the correction coefficients of the pixels and the step of obtaining the detection result by scanning the target sample with the multiple detection light sources are performed separately, that is, the determination of the lighting time of the multiple detection light sources and the determination of the correction coefficients of the pixels corresponding to the multiple detection light sources may be performed first, and the above results may be saved in advance; then, the target sample is scanned by using a plurality of detection light sources, wherein the lighting time and the correction coefficient used are the results stored before. In this embodiment, the step of acquiring the lighting time and the correction coefficient is separated from the detection step, so that the lighting time and the correction coefficient of different test light sources can be predetermined and stored, and then the detection light source is selected for detection and correction according to the actual detection requirement, thereby improving the flexibility of the method.
Fig. 9 shows a flowchart of a specific implementation of the present embodiment.
While the foregoing is directed to embodiments of the present application, other and further embodiments of the application may be devised without departing from the basic scope thereof, and the scope thereof is determined by the claims that follow.

Claims (8)

1. A control method of an image sensor for controlling a contact image sensor to realize high-precision detection of a target specimen by using at least one detection light source, the method comprising the steps of:
S100: using the contact image sensor to scan for M times under the state of closing a detection light source to obtain M dark output values of each pixel point of the contact image sensor, and determining a dark output average value of each pixel point according to the M dark output values of each pixel point;
S200: determining a lighting time of the detection light source, wherein the lighting time is the time from starting the detection light source to the time when a result obtained by scanning a standard sample by using the contact image sensor reaches a set condition;
S300: using the contact image sensor to scan M times under the state of turning off the detection light source;
S400: turning on the detection light source, and after the lighting time is reached, using the contact image sensor to scan the standard sample sheet K times to obtain K first bright output values of each pixel point, and determining a correction coefficient of each pixel point according to the K first bright output values of each pixel point and the dark output average value;
s500: using the contact image sensor to scan M times under the state of turning off the detection light source;
S600: turning on the detection light source, and after the lighting time is reached, using the contact image sensor to scan the target sample page for K times to obtain K second bright output values of each pixel point, and correcting the K second bright output values of each pixel point according to the dark output average value and the correction coefficient;
The M is divisible by N, wherein N is an integer greater than 1;
In the step S100, determining a dark output average value of each pixel according to the M dark output values of each pixel includes:
Discarding the first M/N dark output values of each pixel point, and reserving the last M (N-1)/N dark output values of each pixel point;
And calculating the average value of the post M (N-1)/N dark output values of each pixel point to obtain the dark output average value of each pixel point.
2. The method according to claim 1, wherein the correcting the K second bright output values of each pixel point according to the dark output average value and the correction coefficient in the step S600 comprises:
Discarding the first K-1 second bright output values of each pixel point, and reserving the K second bright output values of each pixel point;
and correcting the K second bright output value of each pixel point according to the dark output average value and the correction coefficient to obtain a detection result of the target sample.
3. The method according to claim 1, wherein determining the correction coefficient of each pixel point according to the K first bright output values and the dark output average value in the step S400 includes:
Calculating the average value of K first bright output values of each pixel point to obtain the first bright output average value of each pixel point;
and determining the correction coefficient of each pixel point according to the first bright output average value and the dark output average value of each pixel point.
4. The method of claim 1, wherein determining the lighting time of the detection light source in the step S200 includes:
S210: turning on the detection light source and keeping a preset time period;
S220: scanning a standard sample using the contact image sensor;
s230: judging whether the result obtained by scanning the standard sample by the contact image sensor reaches the set condition, if not, executing step 240, and returning to step S210, if yes, executing step S250, wherein,
S240: the detection light source is turned off and the preset time period is readjusted,
S250: and determining the preset duration as the lighting time of the detection light source.
5. The control method of an image sensor according to claim 4, wherein:
The result obtained by scanning the standard sample is the light output value of each pixel point obtained by scanning the standard sample by the contact image sensor in a state that the detection light source is started for the preset time period;
The setting condition is that the sum of the maximum value and the minimum value in the light output values of the pixel points is 2 times of a correction target value, wherein the correction target value is predetermined according to the characteristic of the detection light source.
6. The control method of an image sensor according to any one of claims 1 to 5, characterized in that:
more than one kind of detection light source;
The step S600 further includes:
S700: judging whether all kinds of detection light sources are used for detection, if not, executing step S710, returning to step S100, if yes, ending detection, wherein,
S710: and replacing the detection light source of the next type, and performing M times of scanning by using the contact image sensor under the state of turning off the detection light source.
7. The control method of an image sensor according to any one of claims 1 to 5, characterized in that:
more than one kind of detection light source;
the step S400 further includes:
s410: judging whether the correction information of all kinds of detection light sources is acquired, if yes, executing step S500, if no, executing step S420, returning to step S200, wherein,
S420: and replacing the detection light source of the next type, and performing M times of scanning by using the contact image sensor under the state of turning off the detection light source.
8. The control method of an image sensor according to claim 7, wherein:
The step S600 further includes:
S610: judging whether the detection of all kinds of detection light sources is finished, if yes, ending the detection, if no, executing step S620, returning to step S600, wherein,
S620: and replacing the detection light source of the next type, and performing M times of scanning by using the contact image sensor under the state of turning off the detection light source.
CN202111320806.5A 2021-11-09 2021-11-09 Control method of image sensor Active CN114051081B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111320806.5A CN114051081B (en) 2021-11-09 2021-11-09 Control method of image sensor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111320806.5A CN114051081B (en) 2021-11-09 2021-11-09 Control method of image sensor

Publications (2)

Publication Number Publication Date
CN114051081A CN114051081A (en) 2022-02-15
CN114051081B true CN114051081B (en) 2024-05-14

Family

ID=80207732

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111320806.5A Active CN114051081B (en) 2021-11-09 2021-11-09 Control method of image sensor

Country Status (1)

Country Link
CN (1) CN114051081B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104159001A (en) * 2014-07-09 2014-11-19 宁波摩视光电科技有限公司 Multi-point regional image correction method based on high-precision large-breadth scanner system
CN105427449A (en) * 2015-10-30 2016-03-23 新达通科技股份有限公司 Bank note image optical compensation correction method, bank note testing identification device, and ATM
CN112437202A (en) * 2020-11-12 2021-03-02 威海华菱光电股份有限公司 Data processing method, processing device, image processing system and processor

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104159001A (en) * 2014-07-09 2014-11-19 宁波摩视光电科技有限公司 Multi-point regional image correction method based on high-precision large-breadth scanner system
CN105427449A (en) * 2015-10-30 2016-03-23 新达通科技股份有限公司 Bank note image optical compensation correction method, bank note testing identification device, and ATM
CN112437202A (en) * 2020-11-12 2021-03-02 威海华菱光电股份有限公司 Data processing method, processing device, image processing system and processor

Also Published As

Publication number Publication date
CN114051081A (en) 2022-02-15

Similar Documents

Publication Publication Date Title
US9506855B2 (en) Method and system for analyzing a colorimetric assay
EP3811061B1 (en) A detection method for detecting an analyte in a sample
US8274650B2 (en) Signal noise reduction for imaging in biological analysis
JP5109482B2 (en) Reflection characteristic measuring apparatus and calibration method for reflection characteristic measuring apparatus
WO2007005519A2 (en) System and methods for improving signal/noise ratio for signal detectors
EP2201373A1 (en) Two dimensional imaging of reacted areas on a reagent
US7928354B2 (en) Methods and systems for in situ calibration of imaging in biological analysis
CN108204979B (en) Method and device for calibrating light source in test paper detection equipment
US7256892B2 (en) Measuring instrument and fluorometric method
US20110192957A1 (en) System and Method for Extending Dynamic Range for a Detector
JP5956587B2 (en) Method and experimental equipment for quantitative optical measurements
JP3754989B2 (en) Sensor output correction method
CN114051081B (en) Control method of image sensor
CN112437202B (en) Data processing method, processing device, image processing system and processor
JPWO2002039094A1 (en) Measurement method and apparatus using image sensor
CN112255643B (en) ToF sensing device and distance detection method thereof
US8945472B2 (en) Optimized detector readout for biosensor
KR101555477B1 (en) An immunoassay apparatus and a method for determining the contrast value from the target area on optical image using the same
CN109556738B (en) Analog measurement method, measurement data fitting method and chemiluminescence determinator
CN103954594A (en) Peak conversion method of three-dimensional spectroscopic data under different photomultiplier tube voltages
WO2024161953A1 (en) Analysis device
TWI475213B (en) A method for detecting the fluorescent
Bushma et al. Optical sensor for the detection of mycotoxins
CN115791764A (en) Method and device for correcting chemiluminescence reaction curve and computer equipment
JP2000105196A (en) Photometer

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant