CN110967297A - Optical detection system and calibration method thereof - Google Patents

Optical detection system and calibration method thereof Download PDF

Info

Publication number
CN110967297A
CN110967297A CN201811149917.2A CN201811149917A CN110967297A CN 110967297 A CN110967297 A CN 110967297A CN 201811149917 A CN201811149917 A CN 201811149917A CN 110967297 A CN110967297 A CN 110967297A
Authority
CN
China
Prior art keywords
light
control signal
light emitting
emitting circuit
detection value
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.)
Pending
Application number
CN201811149917.2A
Other languages
Chinese (zh)
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.)
Shenzhen Dymind Biotechnology Co Ltd
Original Assignee
Shenzhen Dymind Biotechnology 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 Shenzhen Dymind Biotechnology Co Ltd filed Critical Shenzhen Dymind Biotechnology Co Ltd
Priority to CN201811149917.2A priority Critical patent/CN110967297A/en
Publication of CN110967297A publication Critical patent/CN110967297A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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/01Arrangements or apparatus for facilitating the optical investigation
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01MTESTING STATIC OR DYNAMIC BALANCE OF MACHINES OR STRUCTURES; TESTING OF STRUCTURES OR APPARATUS, NOT OTHERWISE PROVIDED FOR
    • G01M11/00Testing of optical apparatus; Testing structures by optical methods not otherwise provided for
    • 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/01Arrangements or apparatus for facilitating the optical investigation
    • G01N2021/0106General arrangement of respective parts
    • G01N2021/0112Apparatus in one mechanical, optical or electronic block

Landscapes

  • Chemical & Material Sciences (AREA)
  • Analytical Chemistry (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Biochemistry (AREA)
  • General Health & Medical Sciences (AREA)
  • Immunology (AREA)
  • Pathology (AREA)
  • Investigating Or Analysing Materials By Optical Means (AREA)

Abstract

The application discloses an optical detection system, which comprises a processor, a memory and at least two detection units, wherein each detection unit comprises a light-emitting circuit and a light sensor, and the light sensor is used for detecting light which is emitted by the light-emitting circuit and passes through an air medium or vacuum; the processor is electrically connected with each light-emitting circuit, electrically connected with each optical sensor and electrically connected with the memory; the processor is used for controlling the light emitting intensity of each light emitting circuit according to different control signals, reading the detection value of each light sensor, calibrating the corresponding control signal according to the read detection value to obtain the calibrated control signal of each light emitting circuit, and storing the calibrated control signal of each light emitting circuit into a plurality of preset physical addresses of the memory according to a preset sequence. The application also discloses a calibration method of the optical detection system. Through the mode, the accuracy of optical detection can be improved.

Description

Optical detection system and calibration method thereof
Technical Field
The invention relates to the technical field of medical equipment, in particular to an optical detection system and a calibration method thereof.
Background
Currently, optical detection systems are widely used in various fields of medical equipment. The light emitted by the light emitting device, such as an LED, a laser tube, an infrared tube and the like, irradiates the light sensor through a sample to be detected, and information such as the illumination intensity or the color of the light is converted into an electric signal by the sensor, so that the electric signal is collected by the control device to realize the optical detection of the sample to be detected.
In the traditional scheme, a plurality of light-emitting devices are connected in series, the current on a series loop is controlled by the same control signal, and the brightness of the light-emitting devices is uniformly controlled. However, in actual detection, the optical detection result has a large error due to the problems that the installation positions of the light-emitting device and the light sensor are often deviated, and the light transmittance of each sample container or other standards are inconsistent.
Disclosure of Invention
The invention mainly solves the technical problem of providing an optical detection system and a calibration method thereof, which can improve the accuracy of optical detection.
In order to solve the technical problem, the application adopts a technical scheme that: an optical detection system is provided, which comprises a processor, a memory and at least two detection units, wherein each detection unit comprises a light-emitting circuit and a light sensor, and the light sensor is used for detecting light which is emitted by the light-emitting circuit and passes through an air medium or vacuum; the processor is electrically connected with each light-emitting circuit, electrically connected with each optical sensor and electrically connected with the memory; the processor is used for controlling the light emitting intensity of each light emitting circuit according to different control signals, reading the detection value of each light sensor, calibrating the corresponding control signal according to the read detection value to obtain the calibrated control signal of each light emitting circuit, and storing the calibrated control signal of each light emitting circuit into a plurality of preset physical addresses of the memory according to a preset sequence.
In order to solve the above technical problem, another technical solution adopted by the present application is: there is provided a calibration method of an optical detection system, the calibration method comprising: controlling each light-emitting circuit to emit light according to different control signals; reading the detection value of each optical sensor, wherein the optical sensors are used for detecting the light which is emitted by the light-emitting circuit and passes through an air medium or vacuum; calibrating the corresponding control signal according to the read detection value to obtain a calibrated control signal of each light-emitting circuit; the calibrated control signals of the light emitting circuits are stored in a plurality of predetermined physical addresses of the memory according to a predetermined sequence.
The optical detection system comprises a processor, a memory and at least two detection units, wherein each detection unit comprises a light-emitting circuit and a light sensor, and the light sensor is used for detecting light which is emitted by the light-emitting circuit and passes through an air medium or vacuum; the processor is electrically connected with each light-emitting circuit, electrically connected with each optical sensor and electrically connected with the memory; the processor is used for controlling the light emitting intensity of each light emitting circuit according to different control signals, reading the detection value of each optical sensor, calibrating the corresponding control signal according to the read detection value to obtain the calibrated control signal of each light emitting circuit, storing the calibrated control signal of each light emitting circuit into a plurality of preset physical addresses of the memory according to a preset sequence, calibrating different light emitting circuits respectively to obtain the calibrated control signal of each light emitting circuit, and controlling the light emitting circuits to emit light for optical detection according to the calibrated control signal of the corresponding light emitting circuit during subsequent detection, so that the accuracy of the optical detection is improved, and the problem of inaccurate optical detection caused by the individual anisotropy of the detection unit is avoided.
Drawings
FIG. 1 is a schematic diagram of an optical inspection system according to an embodiment of the present application;
fig. 2 is a schematic diagram of a specific circuit structure of a light emitting circuit according to an embodiment of the present disclosure;
FIG. 3 is a schematic circuit diagram of another light-emitting circuit according to an embodiment of the present disclosure
FIG. 4 is a schematic diagram of another embodiment of an optical inspection system according to the present application;
FIG. 5 is a schematic diagram of an optical inspection system according to another embodiment of the present application;
fig. 6 is a flowchart illustrating a calibration method of an optical detection system according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. It is to be understood that the specific embodiments described herein are merely illustrative of the application and are not limiting of the application. It should be further noted that, for the convenience of description, only some of the structures related to the present application are shown in the drawings, not all of the structures. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "first", "second", etc. in this application are used to distinguish between different objects and not to describe a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
Referring to fig. 1, fig. 1 is a schematic structural diagram of an optical detection system according to an embodiment of the present disclosure.
The optical detection system comprises at least two detection units 11, a processor 12 and a memory 13.
Each detection unit 11 includes a light emitting circuit 111 and a light sensor 112.
The light sensor 112 is used to detect the light emitted by the light emitting circuit 111 and passing through the air medium. In the present embodiment, the light sensor 112 may be used for detecting the light emitted by the light emitting circuit 111 and passing through the air medium during the calibration stage, and it should be understood that in other embodiments, the light sensor 112 may be used for detecting the light emitted by the light emitting circuit 111 and passing through the vacuum.
The processor 12 is electrically connected to the control terminal EN of the light emitting circuit 111 of each detecting unit 11.
The processor 12 is electrically connected to each of the light sensors 112.
The processor 12 is electrically connected to the memory 13.
The processor 12 is configured to control the light emitting intensity of each light emitting circuit 111 according to different control signals, read the detection value of each optical sensor 112, calibrate the corresponding control signal according to the read detection value to obtain a calibrated control signal of each light emitting circuit 111, and store the calibrated control signal of each light emitting circuit 111 in a predetermined plurality of physical addresses of the memory 13 according to a predetermined sequence.
The processor 12 adjusts the control signal corresponding to the light-emitting circuit 111 according to the detection value detected by the light sensor 112 so that the difference between the detection value and the preset value is within a predetermined range, thereby obtaining a calibrated control signal.
The preset value may be an empirical value obtained by statistical analysis of historical data, and a better optical detection effect can be achieved under the preset value. For example, the control signal is used to control the light intensity of the light emitting circuit, and the detection value is indicative of the light intensity detected by the light sensor. The preset value may also be a characteristic light intensity value at which a better optical detection effect can be achieved.
In one embodiment, the control signal may be a Pulse Width Modulation (PWM) signal, and the detection value represents the light intensity, and the calibration in one detection unit 11 is taken as an example for explanation. The processor 12 controls the light emitting intensity of the light emitting circuit 111 according to the control signal, acquires a corresponding detection value of the light sensor 112, compares the detection value with a preset value, decreases the duty ratio of the control signal if the detection value is larger than the preset value, increases the duty ratio of the control signal if the detection value is smaller than the preset value, controls the light emitting intensity of the light emitting circuit 111 again by using the adjusted control signal, reads the detection value of the light sensor 112, compares the detection value with the preset value, decreases the duty ratio of the control signal if the detection value is larger than the preset value, increases the duty ratio of the control signal if the detection value is smaller than the preset value, until the difference value between the acquired detection value and the preset value after a certain adjustment is within a preset range, and uses the adjusted control signal as a calibrated control signal.
Optionally, the detection value is in the form of a PFM (Pulse frequency modulation) signal, a frequency magnitude of the detection value indirectly reflects a light intensity magnitude of the detected light, and a frequency of the detection value is proportional to the light intensity of the detected light.
Alternatively, the preset range may be ± 0.05% to ± 5%. The control of this preset range can guarantee the precision, and can avoid the problem of calibration time overlength. It should be understood that the error range may be other ranges, such as adjusting the difference between the detected value and the preset value to zero if conditions allow.
The following description is made in conjunction with a specific calibration example.
The first step is as follows: setting the read detection value as e1, and controlling the PWM signal with the initial duty ratio of 35 percent; a value of e2 is read, the preset value is set to e, and the allowable error is set to ± 1%.
The second step is that: and (4) calculating whether the (| e-e2|)/e is less than 1%, if so, storing e1 (0.35 in the case) in a memory, and ending the algorithm. If not, executing the next step.
The third step: let e1'═ e1+ (e-e2) × 0.2+0.15 × d (e-e2)/dt, assign e1' to e1 as a control signal to control the light-emitting source. The value e2 'of the sensor is read again, and whether (| e-e2' |)/e is less than 1% is compared. If yes, storing e1' in ROM; otherwise, repeating the step; until it is.
The above is a calibration process for the light emitting circuits of the current detecting unit, the respective light emitting circuits are calibrated in sequence, the calibration process is similar to the above process, and the calibrated control signals of the respective light emitting circuits 111 are stored in a predetermined sequence to a predetermined plurality of physical addresses of the memory 13.
The calibration process can be performed before the optical detection system leaves the factory.
In the detection stage, the processor 12 is configured to read the calibrated control signals of each light-emitting circuit 111 from the predetermined plurality of physical addresses of the memory 13 according to the aforementioned predetermined sequence, sequentially control the light-emitting intensity of the corresponding light-emitting circuit 111 according to the read calibrated control signals, and detect the light emitted by the corresponding light-emitting circuit 111 and passing through the sample to be detected in the sample container by using the optical sensor 112, so as to perform optical detection on the sample to be detected. Alternatively, the sample to be tested may be a microbial sample.
The optical detection process may be performed after shipment, and after shipment, it is only necessary to read the calibrated control signals of each light-emitting circuit 111 from the predetermined physical addresses of the memory 13 according to the predetermined sequence, and sequentially control the light-emitting intensity of the corresponding light-emitting circuit 111 according to the read calibrated control signals.
A specific circuit configuration of the light emitting circuit 111 is explained below.
Referring to fig. 2, fig. 2 is a schematic diagram of a specific circuit structure of a light emitting circuit according to an embodiment of the present disclosure.
Each light-emitting circuit 111 comprises a light-emitting diode D, a controllable switch tube Q and a resistor R, wherein the anode of the light-emitting diode D is used for being connected to a working voltage VCC, the cathode of the light-emitting diode D is electrically connected with the first path end of the controllable switch tube Q, the control end EN of the controllable switch tube Q is used as the control end EN of the light-emitting circuit 111 to be connected with the processor 12, the second path end of the controllable switch tube Q is connected with the first end of the resistor R, and the second end of the resistor R is grounded GND. The control end of the controllable switch tube Q is used for accessing a control signal, and the first path end and the second path end of the controllable switch tube Q are switched on or switched off according to the control signal.
The light emitting of the light emitting circuit 111 specifically means that the light emitting diode D emits light. The processor 12 inputs a control signal through the control terminal EN of the light emitting circuit 111. For example, when the control signal is a PWM signal, the on-off time of the first path terminal and the second path terminal of the controllable switching tube Q is controlled by adjusting the duty ratio of the PWM signal, so as to control the light emitting time of the light emitting diode D, thereby controlling the light emitting intensity of the light emitting diode D.
Optionally, the controllable switch Q is a triode, the first path end is a collector of the triode, the second path end is an emitter of the triode, and the control end is a base of the triode.
Or, in other embodiments, the controllable switch tube may be an MOS tube, the first path end and the second path end are a source and a drain of the MOS tube, respectively, and the control end is a gate of the MOS tube.
It should be understood that the controllable switch tube may also be a darlington tube, which is not limited in the embodiments of the present application.
The light emitting circuits 111 of the respective detecting units 11 may be arranged in parallel, that is, the respective light emitting circuits 111 may be connected to the same operating voltage VCC and be connected to the common ground GND.
It is understood that in other embodiments, each light emitting circuit 111 may be connected to a different ground GND and a different operating voltage VCC. Since the optical detection system of the present embodiment is capable of automatic calibration. The calibrated control signal thus has the effect of compensating for these deviations.
In other embodiments, the light emitting circuit 111 may have other circuit structures, which is not limited in this embodiment. For example, the triode Q can be replaced by a MOS transistor, and a similar effect can be achieved as well; for another example, the resistor R may not be provided, or may be provided between the connection point of the operating voltage VCC and the anode of the light emitting diode D.
In the above embodiment, the transistor Q may be an NPN transistor. In this case, the larger the duty ratio of the PWM control signal is, the higher the light emission intensity of the light emitting diode D is.
As shown in fig. 3, fig. 3 is a schematic circuit structure diagram of another light emitting circuit according to an embodiment of the present application. In another light emitting circuit 211, the transistor Q1 may be a PNP transistor. In this case, the light emitting circuit 211 includes a light emitting diode D1, a transistor Q1, and a resistor R1.
The emitter of the transistor Q1 is connected to the operating voltage VCC through a resistor R1, the collector of the transistor Q1 is connected to the anode of the light emitting diode D1, and the cathode of the light emitting diode D1 is grounded to GND. The base of transistor Q1 is used to access the control signal.
In this light emitting circuit configuration, the larger the PWM control signal duty ratio, the smaller the light emitting intensity of the light emitting diode D1. During calibration, the processor 12 controls the light emitting intensity of the light emitting circuit 211 according to the control signal, acquires the corresponding detection value of the optical sensor 112, compares the detection value with a preset value, increases the duty ratio of the control signal if the detection value is greater than the preset value, decreases the duty ratio of the control signal if the detection value is less than the preset value, controls the light emitting intensity of the light emitting circuit 211 again by using the adjusted control signal, reads the detection value of the optical sensor 112, compares the detection value with the preset value, increases the duty ratio of the control signal if the detection value is greater than the preset value, and decreases the duty ratio of the control signal if the detection value is less than the preset value until the difference between the acquired detection value and the preset value after a certain adjustment is within a preset range, and uses the adjusted control signal as the calibrated control signal.
Alternatively, in the present embodiment, the processor 12 may be a CPU (Central Processing Unit) or an FPGA (Field-Programmable Gate Array).
In one embodiment, the processor 12 and the various light sensors 112 may be connected by a bus. The processor 12 and the control terminal of the light emitting circuit 111 may be connected by a bus. When the processor 12 is an FPGA, multiple signals can be transmitted simultaneously during signal transmission. In the case where the processor 12 is a Central Processing Unit (CPU), multiple signals need to be transmitted sequentially.
As shown in fig. 4, fig. 4 is a schematic structural diagram of another embodiment of the optical detection system of the present application. In another embodiment, a one-out-of-many selective switch may be provided. The processor 12 is connected to each of the light sensors 112 through a first selective switch S1. The first selective switch S1 includes a plurality of gate terminals and a non-gate terminal, the plurality of gate terminals of the first selective switch S1 are connected to the photo sensors 112 in a one-to-one correspondence, and the non-gate terminal of the first selective switch S1 is connected to the processor 12. A plurality of gate terminals of the first selective switch S1 are selectively electrically connected to the non-gate terminal.
The processor 12 and the control terminal of the light emitting circuit 111 can be connected through a second selective switch S2. The second selective switch S2 also includes a plurality of gate terminals and a non-gate terminal, the plurality of gate terminals of the second selective switch S2 are connected to the control terminals of the respective light emitting circuits 111 in a one-to-one correspondence, and the non-gate terminal of the second selective switch S2 is connected to the processor 12.
By the above method, the pin resources on the processor 12 can be saved, and the plurality of optical sensors 112 only need to be connected with one pin of the processor 12, and only need to use one data read-write terminal of the processor 12; similarly, the plurality of light emitting circuits 111 only require one signal output terminal connection of the processor 12.
Fig. 5 is a schematic structural diagram of another embodiment of the optical detection system of the present application, as shown in fig. 5.
In this embodiment, the optical detection system further comprises an analog-to-digital converter 14 and a signal amplifier 15.
The analog-to-digital converter 14 is connected between the light sensor 112 and the processor 12. The analog-to-digital converter 14 is used for converting the analog signal output by the light sensor 112 into a digital signal.
A signal amplifier 15 is also connected between the light sensor 112 and the processor 12. The signal amplifier 15 is used for amplifying the output signal of the optical sensor 112.
In other embodiments, only one of the analog-to-digital converter 14 and the signal amplifier 15 may be provided. In other embodiments, the analog-to-digital converter 14, the signal amplifier 15, the first selective switch S1, and the second selective switch S2 may be provided at the same time.
Referring to fig. 6, fig. 6 is a flowchart illustrating a calibration method of an optical detection system according to an embodiment of the present disclosure.
In this embodiment, the calibration method of the optical detection system may include the steps of:
step S101: the light emitting intensity of each light emitting circuit is controlled according to different control signals.
Step S102: the detection value of each light sensor is read, wherein the light sensors are used for detecting the light emitted by the light-emitting circuit and passing through the air medium.
Step S103: and calibrating the corresponding control signal according to the read detection value to obtain the calibrated control signal of each light-emitting circuit.
The processor 12 controls the light emission intensity of each light emitting circuit 111 according to different control signals, reads the detection value of each optical sensor 112, calibrates the corresponding control signal according to the read detection value to obtain a calibrated control signal of each light emitting circuit 111, and stores the calibrated control signal of each light emitting circuit 111 in a predetermined sequence to a plurality of predetermined physical addresses of the memory 13.
The processor 12 adjusts the control signal corresponding to the light-emitting circuit 111 according to the detection value detected by the light sensor 112 so that the difference between the detection value and the preset value is within a predetermined range, thereby obtaining a calibrated control signal.
The preset value may be an empirical value obtained by statistical analysis of historical data, and a better optical detection effect can be achieved under the preset value. For example, the control signal is used to control the light intensity of the light emitting circuit, and the detection value is indicative of the light intensity detected by the light sensor. The preset value may also be a characteristic light intensity value at which a better optical detection effect can be achieved.
In one embodiment, the control signal may be a Pulse Width Modulation (PWM) signal, and the detection value represents the light intensity, and the calibration in one detection unit 11 is taken as an example for explanation. The processor 12 controls the light emitting intensity of the light emitting circuit 111 according to the control signal, acquires a corresponding detection value of the optical sensor 112, compares the detection value with a preset value, decreases the duty ratio of the control signal if the detection value is larger than the preset value, increases the duty ratio of the control signal if the detection value is smaller than the preset value, controls the light emitting intensity of the light emitting circuit 111 again by using the adjusted control signal, reads the detection value of the optical sensor 112, compares the detection value with the preset value, decreases the duty ratio of the control signal if the detection value is larger than the preset value, increases the duty ratio of the control signal if the detection value is smaller than the preset value, until the difference between the acquired detection value and the preset value after a certain adjustment is within a preset range, and uses the adjusted control signal as a calibrated control signal.
Optionally, the detection value is in the form of a PFM finger pulse frequency modulated signal.
Step S104: the calibrated control signals of the light emitting circuits are stored in a plurality of predetermined physical addresses of the memory according to a predetermined sequence.
The calibrated control signals of the light emitting circuits 111 are stored in a predetermined sequence in a predetermined plurality of physical addresses of the memory 13. Step S105: the calibrated control signals of the respective light emitting circuits are read from a predetermined plurality of physical addresses of the memory in a predetermined order.
Step S106: and sequentially controlling the luminous intensity of the corresponding light-emitting circuits according to the read calibrated control signals, and detecting the light which is emitted by the corresponding light-emitting circuits and passes through the sample to be detected in the sample container by using the optical sensor so as to optically detect the sample to be detected.
In the detection stage, the processor 12 is configured to read the calibrated control signals of each light-emitting circuit 111 from the predetermined plurality of physical addresses of the memory 13 according to the predetermined sequence, sequentially control the light-emitting intensity of the corresponding light-emitting circuit 111 according to the read calibrated control signals, and detect light emitted by the corresponding light-emitting circuit 111 and passing through the sample to be detected in the sample container by using the optical sensor 112, so as to optically detect the sample to be detected.
The optical detection process may be performed after shipment, and after shipment, it is only necessary to read the calibrated control signals of each light-emitting circuit 111 from the predetermined physical addresses of the memory 13 according to the predetermined sequence, and sequentially control the light-emitting intensity of the corresponding light-emitting circuit 111 according to the read calibrated control signals.
The specific processes of the above steps can be understood by referring to the descriptions in the above embodiments, which are not repeated herein.
In any of the above embodiments, the light sensor may be a photosensor, such as a photodiode, a photoresistor, or the light sensor may also be a photosensitive array formed by a plurality of photodiodes, a plurality of photoresistors, or the like.
The optical detection system comprises a processor, a memory and at least two detection units, wherein each detection unit comprises a light-emitting circuit and an optical sensor, and the optical sensor is used for detecting light which is emitted by the light-emitting circuit and passes through an air medium; the processor is electrically connected with each light-emitting circuit, electrically connected with each optical sensor and electrically connected with the memory; the processor is used for controlling the light emitting intensity of each light emitting circuit according to different control signals, reading the detection value of each optical sensor, calibrating the corresponding control signal according to the read detection value to obtain the calibrated control signal of each light emitting circuit, storing the calibrated control signal of each light emitting circuit into a plurality of preset physical addresses of the memory according to a preset sequence, calibrating different light emitting circuits respectively to obtain the calibrated control signal of each light emitting circuit, and controlling the light emitting circuits to emit light for optical detection according to the calibrated control signal of the corresponding light emitting circuit during subsequent detection, so that the accuracy of the optical detection is improved, and the problem of inaccurate optical detection caused by the individual anisotropy of the detection unit is avoided.
The above embodiments are merely examples and are not intended to limit the scope of the present disclosure, and all modifications, equivalents, and flow charts using the contents of the specification and drawings of the present disclosure or those directly or indirectly applied to other related technical fields are intended to be included in the scope of the present disclosure.

Claims (13)

1. An optical detection system, characterized in that the optical detection system comprises a processor, a memory and at least two detection units, each detection unit comprises a light-emitting circuit and a light sensor, the light sensor is used for detecting light emitted by the light-emitting circuit and passing through an air medium or vacuum;
the processor is electrically connected with each light-emitting circuit, the processor is electrically connected with each light sensor, and the processor is electrically connected with the memory;
the processor is used for controlling the light emitting intensity of each light emitting circuit according to different control signals, reading the detection value of each light sensor, calibrating the corresponding control signal according to the read detection value to obtain the calibrated control signal of each light emitting circuit, and storing the calibrated control signal of each light emitting circuit into a plurality of preset physical addresses of the memory according to a preset sequence.
2. The optical detection system according to claim 1, wherein the processor is configured to read the calibrated control signal of each of the light emitting circuits from the predetermined plurality of physical addresses of the memory according to the predetermined sequence, sequentially control the light emitting intensity of the corresponding light emitting circuit according to the read calibrated control signal, and detect light emitted by the corresponding light emitting circuit and passing through a sample to be detected in a sample container by using the optical sensor, so as to optically detect the sample to be detected.
3. The optical inspection system of claim 1, wherein the processor adjusts the control signal corresponding to the light emitting circuit according to the detected value detected by the light sensor, so that the difference between the detected value and a preset value is within a predetermined range, thereby obtaining the calibrated control signal.
4. The optical detection system according to claim 1, wherein each of the light emitting circuits includes a light emitting diode, a controllable switch tube and a resistor, an anode of the light emitting diode is used for connecting an operating voltage, a cathode of the light emitting diode is electrically connected to a first path end of the controllable switch tube, a control end of the controllable switch tube is connected to the processor, a second path end of the controllable switch tube is connected to a first end of the resistor, a second end of the resistor is grounded, the control end of the controllable switch tube is used for connecting the control signal, and the first path end and the second path end of the controllable switch tube are turned on or off according to the control signal.
5. The optical inspection system of claim 4,
the controllable switch tube is a triode, the first path end is a collector of the triode, the second path end is an emitter of the triode, and the control end is a base of the triode; alternatively, the first and second electrodes may be,
the controllable switch tube is an MOS tube, the first path end and the second path end are respectively a source electrode and a drain electrode of the MOS tube, and the control end is a grid electrode of the MOS light.
6. The optical detection system of claim 1, wherein the control signal is a pulse width modulation signal, the detection value is indicative of a light intensity, the processor controls a light intensity of the light emitting circuit according to the control signal, obtains a detection value of the corresponding light sensor, compares the detection value with a preset value, decreases a duty cycle of the control signal if the detection value is greater than the preset value, and increases the duty cycle of the control signal if the detection value is less than the preset value until the calibrated control signal is obtained, such that a difference between the detection value and the preset value is within a preset range.
7. The optical detection system of claim 1, further comprising an analog-to-digital converter coupled between the light sensor and the processor.
8. The optical detection system of claim 1, further comprising a signal amplifier connected between the light sensor and the processor.
9. The optical detection system of claim 1, wherein the light emitting circuits of the respective detection cells are arranged in parallel.
10. A method of calibrating an optical inspection system, the method comprising:
controlling each light-emitting circuit to emit light according to different control signals;
reading the detection value of each optical sensor, wherein the optical sensor is used for detecting the light which is emitted by the light-emitting circuit and passes through an air medium or vacuum;
calibrating the corresponding control signal according to the read detection value to obtain a calibrated control signal of each light-emitting circuit;
storing the calibrated control signals of the light emitting circuits in a predetermined sequence into a plurality of predetermined physical addresses of the memory.
11. The calibration method according to claim 10, further comprising:
reading the calibrated control signals of each of the light emitting circuits from the predetermined plurality of physical addresses of the memory in the predetermined order;
sequentially controlling the light emitting intensity of the corresponding light emitting circuit according to the read calibrated control signal;
and detecting light which is emitted by the light-emitting circuit and passes through a sample to be detected in the sample container by using the light sensor so as to optically detect the sample to be detected.
12. The calibration method according to claim 11, wherein the step of calibrating the corresponding control signal according to the read detection value to obtain the calibrated control signal of each light emitting circuit comprises:
and adjusting a control signal corresponding to the light-emitting circuit according to the detection value detected by the light sensor so that the difference value between the detection value and a preset value is in a preset range, thereby obtaining the calibrated control signal.
13. The calibration method according to claim 11, wherein the control signal is a pulse width modulation signal, the detection value is indicative of a light intensity, and the step of calibrating the corresponding control signal according to the read detection value to obtain the calibrated control signal of each light emitting circuit comprises:
and comparing the detection value with the preset value, if the detection value is larger than the preset value, reducing the duty ratio of the control signal, if the detection value is smaller than the preset value, increasing the duty ratio of the control signal until the calibrated control signal is obtained, so that the difference value between the detection value and the preset value is within a preset range.
CN201811149917.2A 2018-09-29 2018-09-29 Optical detection system and calibration method thereof Pending CN110967297A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811149917.2A CN110967297A (en) 2018-09-29 2018-09-29 Optical detection system and calibration method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811149917.2A CN110967297A (en) 2018-09-29 2018-09-29 Optical detection system and calibration method thereof

Publications (1)

Publication Number Publication Date
CN110967297A true CN110967297A (en) 2020-04-07

Family

ID=70027575

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811149917.2A Pending CN110967297A (en) 2018-09-29 2018-09-29 Optical detection system and calibration method thereof

Country Status (1)

Country Link
CN (1) CN110967297A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130003046A1 (en) * 2010-02-16 2013-01-03 Hamamatsu Photonics K.K. Gas concentration calculation device and gas concentration measurement module
CN104219817A (en) * 2013-05-30 2014-12-17 鸿富锦精密工业(深圳)有限公司 Infrared light emitting diode driving circuit and remoter
CN106781205A (en) * 2017-02-15 2017-05-31 西安硅光电子科技有限公司 A kind of pole early stage air suction type gas fire detector and detection method
CN107170147A (en) * 2017-05-17 2017-09-15 深圳怡化电脑股份有限公司 Modification method and device, the electronic equipment and storage medium of photoelectric sensor

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130003046A1 (en) * 2010-02-16 2013-01-03 Hamamatsu Photonics K.K. Gas concentration calculation device and gas concentration measurement module
CN104219817A (en) * 2013-05-30 2014-12-17 鸿富锦精密工业(深圳)有限公司 Infrared light emitting diode driving circuit and remoter
CN106781205A (en) * 2017-02-15 2017-05-31 西安硅光电子科技有限公司 A kind of pole early stage air suction type gas fire detector and detection method
CN107170147A (en) * 2017-05-17 2017-09-15 深圳怡化电脑股份有限公司 Modification method and device, the electronic equipment and storage medium of photoelectric sensor

Similar Documents

Publication Publication Date Title
TW518542B (en) Display device
US7271378B2 (en) Ambient light detection circuit with control circuit for integration period signal
TWI735399B (en) Photosensor device with dark current cancellation
US11747451B2 (en) Light sensor and calibration method thereof
CN110967297A (en) Optical detection system and calibration method thereof
CN218895851U (en) Sensor test circuit
CN111982283B (en) High-precision RGB sensor integrated circuit system
CN111044089A (en) Photoelectric sensor capable of automatically adjusting gain
CN110646059B (en) Liquid level detection method and device
KR102352116B1 (en) The method of calibration of lens-free photon sensor pixel array by evaluating its characteristic
CN113465652A (en) Method for calibrating photoelectric characteristic difference of photoelectric sensor
CN210572735U (en) TOF sensor
CN209559758U (en) Systems for optical inspection
CN108877614B (en) LED circuit, display screen, electronic equipment and detection method
CN211552872U (en) Photoelectric sensor capable of automatically adjusting gain
JPH08278110A (en) Optical sensor
US20190318143A1 (en) An optical sensor unit for an industrial truck and method of operating same
JP2020190555A (en) Driver current real time fine adjustment of optical rain sensor light-emitting device
CN220543113U (en) Ranging system and equipment based on photoelectric sensor
JP2020148551A (en) Optical detector and optical encoder device
CN219068428U (en) Constant optical power light source circuit
JP4575604B2 (en) APC device for photoelectric switch
KR101457021B1 (en) Circuit for measuring the brightness of light sources
JPH0395977A (en) Led illuminator
JP2000111315A (en) Photoelectric sensor and its production method

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200407