CN116678807B - Consistency judging method of optical system and related device - Google Patents

Consistency judging method of optical system and related device

Info

Publication number
CN116678807B
CN116678807B CN202310596747.7A CN202310596747A CN116678807B CN 116678807 B CN116678807 B CN 116678807B CN 202310596747 A CN202310596747 A CN 202310596747A CN 116678807 B CN116678807 B CN 116678807B
Authority
CN
China
Prior art keywords
value
gravity
center
angle
abscissa
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
CN202310596747.7A
Other languages
Chinese (zh)
Other versions
CN116678807A (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.)
Shenzhen Comen Medical Instruments Co Ltd
Original Assignee
Shenzhen Comen Medical Instruments 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 Comen Medical Instruments Co Ltd filed Critical Shenzhen Comen Medical Instruments Co Ltd
Priority to CN202310596747.7A priority Critical patent/CN116678807B/en
Publication of CN116678807A publication Critical patent/CN116678807A/en
Application granted granted Critical
Publication of CN116678807B publication Critical patent/CN116678807B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N15/00Investigating characteristics of particles; Investigating permeability, pore-volume or surface-area of porous materials
    • G01N15/10Investigating individual particles
    • G01N15/1012Calibrating particle analysers; References therefor
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N15/00Investigating characteristics of particles; Investigating permeability, pore-volume or surface-area of porous materials
    • G01N15/10Investigating individual particles
    • G01N15/14Optical investigation techniques, e.g. flow cytometry
    • G01N15/1434Optical arrangements
    • 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/17Systems in which incident light is modified in accordance with the properties of the material investigated
    • G01N21/47Scattering, i.e. diffuse reflection
    • G01N21/49Scattering, i.e. diffuse reflection within a body or fluid
    • 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/84Systems specially adapted for particular applications
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N15/00Investigating characteristics of particles; Investigating permeability, pore-volume or surface-area of porous materials
    • G01N15/10Investigating individual particles
    • G01N2015/1006Investigating individual particles for cytology
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N15/00Investigating characteristics of particles; Investigating permeability, pore-volume or surface-area of porous materials
    • G01N15/10Investigating individual particles
    • G01N15/14Optical investigation techniques, e.g. flow cytometry
    • G01N2015/1402Data analysis by thresholding or gating operations performed on the acquired signals or stored data
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02ATECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE
    • Y02A90/00Technologies having an indirect contribution to adaptation to climate change
    • Y02A90/10Information and communication technologies [ICT] supporting adaptation to climate change, e.g. for weather forecasting or climate simulation

Landscapes

  • Chemical & Material Sciences (AREA)
  • Physics & Mathematics (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)
  • Dispersion Chemistry (AREA)
  • Investigating Or Analysing Materials By Optical Means (AREA)

Abstract

本发明实施例公开了一种光学系统的一致性判断方法及相关装置,其中,该方法包括:分別确定N个光学系统的增益,得到N个增益,计算N个增益中最大值和最小值之间的差值,若差值小于差值阈值时,则确定N个光学系统不具有一致性,若差值不小于差值阈值,则根据N个增益,判断N个光学系统的一致性。在本技术方案中,通过计算光学系统的增益,来判断光学系统的一致性,可以实现通过具体的数据来判断N个光学系统的一致性,使得光学系统的一致性判断更具有有效的依据,提高一致性判断的有效性,其次,通过计算N个光学系统的增益,来判断N个光学系统的一致性,可以实现同时对多个光学系统的一致性判断,提高判断效率。

This invention discloses a method and related apparatus for determining the consistency of an optical system. The method includes: determining the gains of N optical systems to obtain N gains; calculating the difference between the maximum and minimum values of the N gains; if the difference is less than a difference threshold, then determining that the N optical systems are not consistent; if the difference is not less than the difference threshold, then determining the consistency of the N optical systems based on the N gains. In this technical solution, determining the consistency of an optical system by calculating its gains allows for the use of specific data to determine the consistency of N optical systems, making the consistency determination more effective and improving its efficiency. Furthermore, determining the consistency of N optical systems by calculating their gains allows for simultaneous consistency determination of multiple optical systems, improving determination efficiency.

Description

Consistency judging method of optical system and related device
Technical Field
The present invention relates to the field of optical systems, and in particular, to a method and an apparatus for determining consistency of an optical system.
Background
At present, the consistency detection of the optical system adopts the method that naked eyes check the shape of a light spot to confirm whether the optical system is correct or not, and no substantial data is used for confirming the consistency data of the optical system, so that the consistency judgment of the optical system can easily have errors. The consistency of the optical system can be understood as the consistency of the optical axis of the optical system, which means that the connecting line (optical axis) of the sphere centers of the optical surfaces of the optical system is coincident with the reference axis (central line of the lens barrel), and the consistency of the optical system is taken as the key of the mutual matching between the subsystems, and is an important performance index for ensuring the normal operation of the equipment, so that the detection of the optical system is very important.
Secondly, in the prior art, consistency detection is performed on a single optical system, and when a plurality of optical systems corresponding to a plurality of devices respectively need to be detected, the detection needs to be performed one by one, so that the detection efficiency is low.
Therefore, in order to improve the effectiveness of optical system consistency determination, a method is needed to realize that optical system consistency is confirmed by substantial data, and that a plurality of optical systems can be detected at the same time.
Disclosure of Invention
The invention mainly aims to provide a consistency judging method of an optical system and a related device, which can solve the problem of low consistency detection efficiency of the optical system of a plurality of devices in the prior art, wherein the related device comprises a consistency judging device of the optical system and a computer readable storage medium.
To achieve the above object, a first aspect of the present invention provides a method for judging consistency of an optical system, the method comprising:
Under a preset gain, acquiring scattered light generated by irradiation of a laser beam when a substance to be detected passes through a laser detection area of an nth optical system, wherein the value of N is from 1 to N, the scattered light comprises low-angle scattered light, medium-angle scattered light and high-angle forward scattered light, generating first data according to the low-angle value of particles in the low-angle scattered light, generating second data according to the medium-angle value of particles in the medium-angle scattered light, and generating third data according to the high-angle value of particles in the high-angle forward scattered light, wherein the first data, the second data and the third data comprise particle volumes, and the corresponding relation between the total number of particles of the volumes;
And calculating the difference value between the maximum gain value and the minimum gain value in the gains corresponding to the N optical systems, wherein the N optical systems have consistency if the difference value is smaller than a difference value threshold value, and judging the consistency of the N optical systems according to the gains corresponding to the N optical systems if the difference value is not smaller than the difference value threshold value.
In combination with the first aspect, in one possible implementation manner, the determining the consistency of the N optical systems according to the gains corresponding to the N optical systems includes dividing a preset interval into K equal intervals, where the preset interval is composed of a first preset value and a second preset value, the first preset value is smaller than the minimum gain value, the second preset value is larger than the maximum gain value, calculating a target gain number corresponding to the j equal interval, where the target gain is a gain located in the j equal interval among gains corresponding to the N optical systems, and j is from 1 to K, and determining the consistency of the N optical systems according to the target gain number.
With reference to the first aspect, in one possible implementation manner, the determining the consistency of the N optical systems according to the number of target gains includes determining that the optical systems corresponding to the target gains do not have consistency if the number of target gains is smaller than a number threshold, and determining that the optical systems corresponding to the target gains have consistency if the number of target gains is not smaller than the number threshold.
In combination with the first aspect, in one possible implementation manner, the calculating gains corresponding to the first data, the second data and the third data according to the first data, the second data and the third data respectively to obtain gains corresponding to the nth optical system includes generating a histogram according to the first data, obtaining a low-angle histogram, calculating the center of gravity of the low-angle histogram to obtain a first center of gravity, generating a histogram according to the second data, obtaining a middle-angle histogram, calculating the center of gravity of the middle-angle histogram to obtain a second center of gravity, generating a histogram according to the third data, obtaining a high-angle histogram, calculating the center of gravity of the high-angle histogram to obtain a third center of gravity, wherein an abscissa of the histogram is a particle volume, an ordinate of the histogram is a total number of particles corresponding to the particle volume, and calculating gains corresponding to the first center of gravity, the second center of gravity and the third center of gravity according to the first data, respectively to obtain gains corresponding to the nth optical system.
In combination with the first aspect, in one possible implementation manner, the calculating the center of gravity of the low-angle histogram to obtain a first center of gravity includes obtaining a peak value of the low-angle histogram if the substance to be detected is a substance containing one particle cluster, obtaining a abscissa corresponding to a first target value, obtaining a first abscissa and a second abscissa, and calculating the first center of gravity of the low-angle histogram according to the first target value, the first abscissa and the second abscissa, wherein the first target value is a product of the peak value of the low-angle histogram and a preset multiple, the preset multiple is greater than 0 and less than 1, determining the peak value of the low-angle histogram if the substance to be detected is a substance containing Y particle clusters, obtaining Y peak values, selecting any one of the Y peak values, obtaining a first target peak value, obtaining a first abscissa corresponding to the first target value, obtaining the first abscissa and the second abscissa, and calculating the first center of gravity of the low-angle histogram according to the first target value, the first abscissa and the second abscissa, and the first center of gravity is a product of the first target value and the preset multiple of the first center of gravity, and the first center of gravity is 1.
In combination with the first aspect, in one possible implementation manner, the calculating the center of gravity of the middle angle histogram to obtain the second center of gravity includes obtaining a peak value of the middle angle histogram if the substance to be detected is a substance containing one particle cluster, obtaining a abscissa corresponding to a second target value, obtaining a third abscissa and a fourth abscissa, and calculating the second center of gravity of the middle angle histogram according to the second target value, the third abscissa and the fourth abscissa, wherein the second target value is a product of the peak value of the middle angle histogram and a preset multiple, the preset multiple is greater than 0 and less than 1, determining the peak value of the middle angle histogram if the substance to be detected is a substance containing Y particle clusters, obtaining Y peak values, selecting any one of the Y peak values, obtaining a second target peak value, obtaining a third abscissa and a fourth abscissa corresponding to the second target value, and calculating the second center of gravity according to the second target value, the third abscissa and the fourth abscissa, and determining the product of the second target value and the fourth abscissa, wherein the product of the second center of gravity and the second target value is the second center of gravity is greater than 1.
In combination with the first aspect, in one possible implementation manner, the calculating the center of gravity of the high-angle histogram to obtain a third center includes obtaining a peak value of the high-angle histogram if the substance to be detected is a substance containing one particle cluster, obtaining a abscissa corresponding to a third target value, obtaining a fifth abscissa and a sixth abscissa, and calculating the third center of gravity of the high-angle histogram according to the third target value, the fifth abscissa and the sixth abscissa, wherein the third target value is a product of the peak value of the high-angle histogram and a preset multiple, the preset multiple is greater than 0 and less than 1, determining the peak value of the high-angle histogram if the substance to be detected is a substance containing Y particle clusters, obtaining Y peak values, selecting any one of the Y peak values to obtain a third target peak value, obtaining a fifth abscissa and a sixth abscissa corresponding to the third target value, and calculating the third center of gravity of the high-angle histogram according to the third target value, the fifth abscissa and the sixth abscissa, and determining the product of the third target value and the third center of gravity of the high-angle histogram and the preset multiple, wherein the third target value is the product of the third target value and the third center of the Y peak value is greater than 1.
In combination with the first aspect, in one possible implementation manner, the preset gains include a first preset gain and a second preset gain, the gains corresponding to the nth optical system include a first gain, a second gain and a third gain, the gains corresponding to the first center of gravity, the second center of gravity and the third center of gravity are calculated according to the first center of gravity, the second center of gravity and the third center of gravity, respectively, so as to obtain the gains corresponding to the nth optical system, and the gains corresponding to the nth optical system include calculating the first gain corresponding to the nth optical system according to the first center of gravity corresponding to the first preset gain and the first center of gravity corresponding to the second preset gain, calculating the second gain corresponding to the nth optical system according to the second center of gravity corresponding to the first preset gain and the second center of gravity corresponding to the second preset gain, and calculating the third gain corresponding to the nth optical system according to the third center of gravity corresponding to the first preset gain and the third center of gravity corresponding to the second preset gain.
In order to achieve the above object, a second aspect of the present invention provides a consistency judging apparatus of an optical system, the apparatus comprising:
The calculation module is used for acquiring scattered light generated by irradiation of a laser beam when a substance to be detected passes through a laser detection area of an nth optical system under the preset gain, wherein the value of N is from 1 to N, and the scattered light comprises low-angle scattered light, medium-angle scattered light and high-angle forward scattered light; generating first data according to low angle values of particles in low angle scattered light, generating second data according to medium angle values of particles in medium angle scattered light, and generating third data according to high angle values of particles in high angle forward scattered light, wherein the first data, the second data and the third data comprise particle volumes and the corresponding relation between the total number of particles in the volumes;
the judging module is used for calculating the difference value between the maximum gain value and the minimum gain value in the gains corresponding to the N optical systems, if the difference value is smaller than a difference value threshold, the N optical systems do not have consistency, and if the difference value is not smaller than the difference value threshold, the consistency of the N optical systems is judged according to the gains corresponding to the N optical systems.
To achieve the above object, a third aspect of the present invention provides a computer-readable storage medium storing a computer program which, when executed by a processor, causes the processor to perform the steps of:
Under a preset gain, acquiring scattered light generated by irradiation of a laser beam when a substance to be detected passes through a laser detection area of an nth optical system, wherein the value of N is from 1 to N, the scattered light comprises low-angle scattered light, medium-angle scattered light and high-angle forward scattered light, generating first data according to the low-angle value of particles in the low-angle scattered light, generating second data according to the medium-angle value of particles in the medium-angle scattered light, and generating third data according to the high-angle value of particles in the high-angle forward scattered light, wherein the first data, the second data and the third data comprise particle volumes, and the corresponding relation between the total number of particles of the volumes;
And calculating the difference value between the maximum gain value and the minimum gain value in the gains corresponding to the N optical systems, wherein the N optical systems have consistency if the difference value is smaller than a difference value threshold value, and judging the consistency of the N optical systems according to the gains corresponding to the N optical systems if the difference value is not smaller than the difference value threshold value.
To achieve the above object, a fourth aspect of the present invention provides a computer device including a memory and a processor, the memory storing a computer program which, when executed by the processor, causes the processor to perform the steps of:
Under a preset gain, acquiring scattered light generated by irradiation of a laser beam when a substance to be detected passes through a laser detection area of an nth optical system, wherein the value of N is from 1 to N, the scattered light comprises low-angle scattered light, medium-angle scattered light and high-angle forward scattered light, generating first data according to the low-angle value of particles in the low-angle scattered light, generating second data according to the medium-angle value of particles in the medium-angle scattered light, and generating third data according to the high-angle value of particles in the high-angle forward scattered light, wherein the first data, the second data and the third data comprise particle volumes, and the corresponding relation between the total number of particles of the volumes;
And calculating the difference value between the maximum gain value and the minimum gain value in the gains corresponding to the N optical systems, wherein the N optical systems have consistency if the difference value is smaller than a difference value threshold value, and judging the consistency of the N optical systems according to the gains corresponding to the N optical systems if the difference value is not smaller than the difference value threshold value.
The embodiment of the invention has the following beneficial effects:
The invention provides a consistency judging method of an optical system, which is characterized in that N gains are obtained by respectively determining the gains of N optical systems, the difference value between the maximum value and the minimum value in the N gains is calculated, if the difference value is smaller than a difference value threshold value, the N optical systems are determined to have no consistency, and if the difference value is not smaller than the difference value threshold value, the consistency of the N optical systems is judged according to the N gains. In the technical scheme, the consistency of the optical systems is judged by calculating the gain of the optical systems, the consistency of N optical systems can be judged by specific data, so that the consistency of N optical systems is judged according to the substantial data, the consistency judgment of the optical systems has more effective basis, the effectiveness of the consistency judgment is improved, and the consistency of N optical systems is judged by calculating the gain of N optical systems, so that the consistency judgment of a plurality of optical systems can be realized at the same time, and the judgment efficiency is improved.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Wherein:
FIG. 1 is a schematic diagram of a detection substance according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of an optical system according to an embodiment of the present invention;
FIG. 3 is a flow chart of a method for determining consistency of an optical system according to an embodiment of the invention;
FIG. 4 is a low-angle histogram corresponding to a substance to be measured containing a cluster of particles according to an embodiment of the present invention;
FIG. 5 is a low-angle histogram corresponding to a substance to be measured containing two clusters of particles according to an embodiment of the present invention;
FIG. 6 is a block diagram illustrating a device for determining consistency of an optical system according to an embodiment of the present invention;
fig. 7 is a block diagram of a computer device in an embodiment of the invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The embodiment of the invention provides a consistency judging method of an optical system, which is mainly suitable for simultaneously detecting consistency of a plurality of optical systems.
In order to better illustrate the method of the present application, the principle of the optical system is described below, referring to fig. 1, fig. 1 is a schematic diagram of a detection substance provided in the present application, where the detection substance is a substance to be detected, the detection substance may be a label particle, a calibrator, a quality control substance, a blood sample, etc., the label particle, the calibrator is a substance containing a group of particles, the quality control substance, the blood sample is a substance containing two groups of particles, as shown in fig. 1, a certain amount of the detection substance (i.e., the sample in fig. 1) is injected into a conical flow chamber filled with a diluent through a nozzle, under the wrapping of a sheath fluid, a single cell passes through the center of the flow chamber, the cell suspended in the sheath fluid is irradiated by a laser beam after being subjected to a second acceleration, and the particle can be detected by the scattered light, and the scattered light is related to the size of the cell, the cell membrane and the refractive index of the cell internal structure.
In order to better illustrate how the cells of the flow cell generate scattered light by irradiation with the laser beam, an optical system structure schematic diagram provided by the present application is provided, referring to fig. 2, fig. 2 is a schematic diagram of an optical system structure provided by the present application, the optical system includes a front light shaping portion and a back light scattering signal receiving portion, wherein the front light shaping portion is used for emitting a laser beam to the flow cell portion, the light scattering signal receiving portion is used for receiving the scattered light signal, and the back light scattering signal receiving portion may include the flow cell portion, the diaphragm, the PD tube, and the like. The cells in the flow chamber part are subjected to irradiation of laser beams after passing through the laser detection area after being accelerated for the second time to generate scattered light, the area reached by the scattered light is provided with a forward low-angle area, a forward high-angle area and a lateral area, the forward low-angle area is called as a low angle, the low-angle scattered light reflects the size of the cells, the forward high-angle area is called as a medium angle, the medium-angle scattered light reflects the internal fine structure and the particulate matters of the cells, the lateral area is called as a high angle, and the high-angle forward scattered light reflects the internal fine structure and the particulate matters of the cells. The scattered light can be refracted to various regions, so that particles in the scattered light have low, medium and high angle values. The optical receiver receives the scattered light signals and converts the scattered light signals into electric pulses, and the scattered light signals are analyzed according to the collected electric pulse data.
Based on the above principle, the method for determining the consistency of an optical system according to the embodiment of the present invention is performed by a consistency determining device of an optical system, and referring to fig. 3, fig. 3 is a flow chart of a method for determining the consistency of an optical system according to the embodiment of the present invention, as shown in fig. 3, and the method includes the following steps:
Step S101, under a preset gain, scattered light generated by irradiation of a laser beam when a substance to be detected passes through a laser detection area of an nth optical system is obtained, first data are generated according to low angle values of particles in low angle scattered light, second data are generated according to medium angle values of particles in medium angle scattered light, third data are generated according to high angle values of particles in high angle forward scattered light, and gains corresponding to the first data, the second data and the third data are calculated respectively according to the first data, the second data and the third data, so that gains corresponding to the nth optical system are obtained.
The value of N is from 1 to N, the scattered light includes low angle scattered light, medium angle scattered light and high angle forward scattered light, the first data, the second data and the third data all include particle volumes, and the corresponding relation between the first data, the second data and the third data and the total number of particles in the volumes, and the substance to be measured can be a substance containing at least two groups of particles, such as a quality control substance, a blood sample and the like, and also can be a substance containing one group of particles, such as a label and the like.
And step S102, calculating the difference value between the maximum gain value and the minimum gain value in the gains corresponding to the N optical systems, if the difference value is smaller than a difference threshold value, the N optical systems do not have consistency, and if the difference value is not smaller than the difference threshold value, judging the consistency of the N optical systems according to the gains corresponding to the N optical systems.
In the present embodiment, the uniformity of the optical systems is judged by the gains of the N optical systems, and therefore, the gains of the N optical systems need to be calculated separately.
The method for calculating the gain of the optical system is as follows:
the gain of the optical system is preset, and for convenience of description, the preset gain is referred to as a preset gain, and in this embodiment, the preset gain includes a first preset gain and a second preset gain, and scattered light generated by irradiation of the laser beam when the substance to be measured passes through the laser detection area of the optical system is obtained under the first preset gain and the second preset gain, where the scattered light includes low-angle scattered light, medium-angle scattered light, and high-angle forward scattered light.
The larger the gain, the larger the noise generated in the optical system, thereby affecting the detection of the scattered light property, and in order to reduce the negative effect caused by the gain as much as possible on the premise of ensuring the user's needs, the gain is generally preset within the [0,255] interval.
The scattered light acquired under the first preset gain and the second preset gain is respectively processed as follows:
generating first data according to low angle values of particles in low angle scattered light, generating second data according to medium angle values of particles in medium angle scattered light, generating third data according to high angle values of particles in high angle forward scattered light, and respectively calculating gains corresponding to the first data, the second data and the third data according to the first data, the second data and the third data to obtain gains corresponding to an optical system.
The method for calculating the gains corresponding to the first data, the second data and the third data according to the first data, the second data and the third data comprises the following steps:
Step S201, generating a histogram according to the first data to obtain a low-angle histogram, calculating the gravity center of the low-angle histogram to obtain a first gravity center, generating a histogram according to the second data to obtain a medium-angle histogram, calculating the gravity center of the medium-angle histogram to obtain a second gravity center, generating a histogram according to the third data to obtain a high-angle histogram, and calculating the gravity center of the high-angle histogram to obtain a third gravity center.
The abscissa of the histogram is the particle volume, and the ordinate of the histogram is the total number of particles corresponding to the particle volume.
And step S202, respectively calculating the gains corresponding to the first center of gravity, the second center of gravity and the third center of gravity according to the first center of gravity, the second center of gravity and the third center of gravity, and obtaining the gain corresponding to the nth optical system.
Generating a histogram according to the first data, obtaining a low-angle histogram, calculating the gravity center of the low-angle histogram, obtaining a first gravity center, generating a histogram according to the second data, obtaining a middle-angle histogram, calculating the gravity center of the middle-angle histogram, obtaining a second gravity center, generating a histogram according to the third data, obtaining a high-angle histogram, and calculating the gravity center of the high-angle histogram, and obtaining a third gravity center.
The center of gravity calculation method of the histogram comprises the following steps:
It should be noted that, if the substance to be measured is a substance containing a group of particles, there is one peak value in the histogram, if the substance to be measured is a substance containing two groups of particles, there are two peak values in the histogram, and so on, if the substance to be measured is a substance containing Y groups of particles, there are Y peak values in the histogram, in this embodiment, two calculation methods of the center of gravity of the histogram are provided, which are used to calculate the center of gravity of the histogram corresponding to the substance to be measured containing only one group of particles and the substance to be measured containing at least two groups of particles, respectively. Referring to fig. 4 and 5, fig. 4 is a low-angle histogram corresponding to a substance to be measured containing a cluster of particles according to an embodiment of the present invention, and fig. 5 is a low-angle histogram corresponding to a substance to be measured containing two clusters of particles according to an embodiment of the present invention.
Specifically, for a histogram of a substance to be detected including only one group of particles, identifying a peak value of the histogram, calculating a product of the peak value and a preset multiple B, wherein 0< the preset multiple B <1, B generally takes a value of 0.1, acquiring an abscissa corresponding to the product of the peak value and the preset multiple B, obtaining two abscissas, respectively recorded as L r、Ll, and a gravity center formula is as follows:
Where G is the center of gravity, X i is the abscissa value of the histogram F (X), F (X i) is the ordinate value corresponding to X i, L r、Ll,Lr<Ll.
Identifying wave peaks of a histogram corresponding to a substance to be detected containing at least two groups of particles to obtain Y wave peaks, randomly selecting one wave peak value from the Y wave peaks to obtain a target wave peak value, calculating the product of the target wave peak value and a preset multiple, and obtaining an abscissa value L r and an abscissa value L l corresponding to the product of the target wave peak value and the preset multiple, wherein the preset multiple takes a value in [0,1], and the preset multiple is generally 0.1.
The gravity center formula is as follows:
Wherein G is the center of gravity, X i is the abscissa value of the histogram F (X), F (X i) is the ordinate value corresponding to X i, and L r、Ll is the abscissa value corresponding to the product of the target peak value and the preset multiple, L r<Ll, respectively.
The center of gravity calculation steps of the low-angle histogram, the medium-angle histogram, and the high-angle histogram are specifically described below based on the center of gravity calculation method of the histogram.
First, the center of gravity calculation step of the low-angle histogram is described:
Step 301, if the substance to be detected is a substance containing a particle cluster, acquiring a peak value of the low-angle histogram, acquiring an abscissa corresponding to a first target value, acquiring a first abscissa and a second abscissa, and calculating a first center of gravity of the low-angle histogram according to the first target value, the first abscissa and the second abscissa.
The first target value is the product of the peak value of the low-angle histogram and a preset multiple.
Step S302, if the substance to be detected is a substance containing Y particle clusters, determining peak values of a low-angle histogram to obtain Y peak values, selecting any one of the Y peak values to obtain a first target peak value, obtaining an abscissa corresponding to a first target value to obtain a first abscissa and a second abscissa, and calculating a first center of gravity corresponding to the low-angle histogram according to the first target value, the first abscissa and the second abscissa.
The first gravity center formula is as follows:
Wherein G is the first center of gravity, X i is the abscissa value of the histogram F (X), F (X i) is the ordinate value corresponding to X i, L r、Ll is the first and second abscissas, L r<Ll, respectively.
The center of gravity calculation step of the angle histogram is described as follows:
Step S401, if the substance to be detected is a substance containing a particle cluster, acquiring a peak value of the middle angle histogram, acquiring an abscissa corresponding to a second target value, acquiring a third abscissa and a fourth abscissa, and calculating a second center of gravity of the middle angle histogram according to the second target value, the third abscissa and the fourth abscissa.
The second target value is the product of the crest value of the middle angle histogram and a preset multiple.
Step S402, if the substance to be detected is a substance containing Y particle clusters, determining peak values of a middle angle histogram to obtain Y peak values, selecting any one of the Y peak values to obtain a second target peak value, obtaining an abscissa corresponding to a second target value to obtain a third abscissa and a fourth abscissa, and calculating a second center of gravity corresponding to the middle angle histogram according to the second target value, the third abscissa and the fourth abscissa.
Wherein Y >1, the second target value is the product of the second target peak value and a preset multiple.
The second gravity formula is as follows:
Wherein G is the second center of gravity, X i is the abscissa value of the histogram F (X), F (X i) is the ordinate value corresponding to X i, L r、Ll is the third and fourth abscissas, L r<Ll, respectively.
The center of gravity calculation step of the high angle histogram is described as follows:
step S501, if the substance to be detected is a substance including one particle cluster, a peak value of the high-angle histogram is obtained, an abscissa corresponding to a third target value is obtained, a fifth abscissa and a sixth abscissa are obtained, and a third center of gravity of the high-angle histogram is calculated according to the third target value, the fifth abscissa and the sixth abscissa.
The third target value is the product of the peak value of the high-angle histogram and a preset multiple.
Step S502, if the substance to be detected is a substance containing Y particle clusters, determining peak values of a high-angle histogram to obtain Y peak values, selecting any one of the Y peak values to obtain a third target peak value, obtaining an abscissa corresponding to a third target value, obtaining a fifth abscissa and a sixth abscissa, and calculating a third center of gravity corresponding to the high-angle histogram according to the third target value, the fifth abscissa and the sixth abscissa.
Wherein Y >1, the third target value is the product of the third target peak value and a preset multiple.
The third center formula is as follows:
Wherein G is the third center of gravity, X i is the abscissa value of the histogram F (X), F (X i) is the ordinate value corresponding to X i, and L r、Ll is the fifth and sixth abscissas, L r<Ll, respectively.
After the low-angle histogram, the medium-angle histogram and the gravity center under the high-angle histogram under the first preset gain and the second preset gain are calculated respectively, the gains corresponding to the substances to be measured are calculated according to the first gravity center, the second gravity center and the third gravity center under the first preset gain and the first gravity center, the second gravity center and the third gravity center under the second preset gain.
In this embodiment, the gains corresponding to the low-angle histogram, the middle-angle histogram, and the high-angle histogram are calculated respectively to obtain the gain of the substance to be measured, so the gain of the substance to be measured includes a first gain, a second gain, and a third gain, where the first gain is the gain corresponding to the low-angle histogram, the second gain is the gain corresponding to the middle-angle histogram, and the third gain is the gain corresponding to the high-angle histogram.
The calculation formula of the gain is as follows:
Or (b)
Wherein, D is the gain, G 1 is the center of gravity under the first preset gain D 1, G 2 is the center of gravity under the second preset gain D 2, and G is the center of gravity target value, which can be understood as the center of gravity standard value, and can be determined according to experiments.
Therefore, the calculation steps of the gain of the substance to be measured are:
step S701, calculating a first gain corresponding to the nth optical system according to the first center of gravity corresponding to the first preset gain and the first center of gravity corresponding to the second preset gain.
The calculation formula of the first gain is as follows:
Or (b)
Wherein D is a first gain, G 1 is a first center of gravity under a first preset gain D 1, G 2 is a first center of gravity under a second preset gain D 2, and G is a center of gravity target value, which can be understood as a center of gravity standard value, and can be determined according to experiments.
Step S702, calculating a second gain corresponding to the nth optical system according to the second center of gravity corresponding to the first preset gain and the second center of gravity corresponding to the second preset gain.
The calculation formula of the first gain is as follows:
Or (b)
Wherein D is a second gain, G 1 is a second center of gravity under the first preset gain D 1, G 2 is a second center of gravity under the second preset gain D 2, and G is a center of gravity target value, which can be understood as a center of gravity standard value.
Step S703, calculating a third gain corresponding to the nth optical system according to the third center of gravity corresponding to the first preset gain and the third center of gravity corresponding to the second preset gain.
The calculation formula of the third gain is as follows:
Or (b)
Wherein D is a third gain, G 1 is a third center of gravity under the first preset gain D 1, G 2 is a third center of gravity under the second preset gain D 2, and G is a center of gravity target value, which can be understood as a center of gravity standard value.
Since the center of gravity standard value of the gain of each histogram is calculated and is the center of gravity standard value under the corresponding histogram, the center of gravity standard value of the gain of each histogram may be different and not necessarily equal, and the specific value of the center of gravity standard value is required to be obtained by experiment under a standard optical system.
The method for calculating the gain of the optical system is described above, and in this embodiment, the gain of each optical system to be detected may be calculated according to the method described above, that is, the gains of N optical systems are calculated according to the method described above, respectively, and as known from the above, each optical system corresponds to at least three histograms of gain.
In the present embodiment, the consistency of the N optical systems is determined according to the gain of each optical system. Specifically, the maximum gain value of the gains corresponding to all N optical systems is selectedAnd minimum gain valueCalculating the difference between the maximum gain value and the minimum gain value, according to a large number of experiments, it is known that the deviation between the gains of the optical systems corresponding to the plurality of devices in the same batch is within a certain range, so if all the N optical systems have consistency, the difference between the maximum gain value and the minimum gain value will be sufficiently small, therefore, in this embodiment, a difference threshold is set to determine whether the N optical systems have consistency, specifically, if the difference is smaller than the difference threshold, the N optical systems have consistency, the detection may be ended, if the difference is not smaller than the difference threshold, which indicates that there is an optical system that does not have consistency, and in order to determine which optical system specifically does not have consistency, the following steps may be executed:
step S801, dividing the preset interval into K equal intervals.
The preset interval is composed of a first preset value and a second preset value, wherein the first preset value is smaller than the minimum gain value, and the second preset value is larger than the maximum gain value.
Step S802, calculating the number of target gains corresponding to the jth equal division interval.
The target gain is the gain in the j-th equal division interval among the gains corresponding to the N optical systems, and the value of j is from 1 to K.
And step 803, judging the consistency of the N optical systems according to the target gain number.
In this embodiment, the approximate range of gains corresponding to all instruments is taken, specifically, a first preset value a and a second preset value b are set, wherein,The first preset value a and the second preset value b form preset intervals [ a, b ], K equal division intervals are divided in the intervals [ a, b ], for example, the preset intervals are [1,10], and the K is 10, and the equal division intervals divided by [1,11] are respectively [1,2 ], [2,3 ], [3,4 ], [4,5 ], [5,6 ], [6,7 ], [7,8 ], [8,9 ], [9,10 ], [10,11].
And carrying out data statistics on each equal division interval, and counting in which equal division interval the gains corresponding to the N optical systems are respectively, so as to obtain target gains corresponding to the equal division intervals, and calculating the frequency f (x) corresponding to each equal division interval, namely, calculating the number of the target gains corresponding to each equal division interval.
For example, optical gain calibration is performed on a plurality of instruments, the gains obtained after calibration are respectively recorded as G 1,G2,G3,G4…Gn, all the gains are ordered from small to large, the minimum value and the maximum value in N gains are taken, and the minimum value is calculatedAnd maximum valueTaking the approximate range of gains of all instruments when the difference between the minimum and maximum values is less than the preset difference threshold, e.g. takingIn the interval of [ a, b ], K equal division intervals are divided, for example, N is equal to 20, K is equal to 10, G 1,G2,G3,G4…G20 is 2,4, 6, 3, 8,9, 6, 4, 1, 6, 9, 7, 4, 3, 2, 7, 5, 7, 2, 9, the maximum value is 9, the minimum value is 1, and if a is 0 and b is 10, 10 equal division intervals are divided in the interval of [0,10] and are sequentially [0, 1), [1,2 ], [2,3 ], [3,4 ], [4,5 ], [5,6 ], [6,7 ], [7,8 ], [8,9 ] and [9,10].
After dividing K equally divided sections, counting data in each section, calculating frequency f (x), namely counting the number of gains of all instruments in each equally divided section, namely the target gain number, for example, G 1,G2,G3,G4…G20 is 2,4,6, 3,8, 9, 6, 4, 1,6, 9, 7, 4, 3, 2,7, 5, 7, 2, 9, the maximum value is 9, the minimum value is 1, if a is 0 and b is 10, dividing the interval of [0,10] into 10 equally divided sections, sequentially being [0, 1), [1, 2], [2, 3], [3, 4], [4,5, 6), [6, 7), [7,8 ], [8,9 ], and [9,10], the number not in [0, 1] in G 1,G2,G3,G4…G20 is 0, the corresponding frequency f (x) of [0, 1],
The number of [1, 2] in G 1,G2,G3,G4…G20 is1, the number of [0,1 ] corresponding frequency f (x) is1, the number of [2,3 ] in G 1,G2,G3,G4…G20 is3, the number of [2,3 ] corresponding frequency f (x) is3, the number of [3,4 ] in G 1,G2,G3,G4…G20 is2, the number of [3,4 ] corresponding frequency f (x) is2, the number of [4,5 ] in G 1,G2,G3,G4…G20 is3, the number of [4,5 ] corresponding frequency f (x) is3, the number of [5,6 ] in G 1,G2,G3,G4…G20 is3, the number of [5,6 ] corresponding frequency f (x) is3, the number of [6,7 ] corresponding frequency f (x) is3, the number of [7,8 ] in G 1,G2,G3,G4…G20 is3, the number of [7,8 ] corresponding frequency f (x) is3, the number of [8 ] in G 1,G2,G3,G4…G20 ] is3, the number of [1, 6 ] corresponding frequency f (x) is3, the number of [5, 6) corresponding frequency f (x) is3, the number of [6, 7) in [9 ] is3, the number of [9 ] corresponding frequency f (x) is3, 10] in G 1,G2,G3,G4…G20.
According to the target gain number, judging the consistency of N optical systems to check whether the corresponding instruments of the optical systems have problems, specifically:
in step S901, if the number of the target gains is smaller than a number threshold, the optical systems corresponding to the target gains do not have consistency.
In step S902, if the number of the target gains is not less than the number threshold, the optical systems corresponding to the target gains have consistency.
If the number of the target gains is smaller than the number threshold, the optical systems corresponding to the target gains do not have consistency, equipment corresponding to the optical systems corresponding to the target gains can be checked to determine equipment problems to adjust, and if the number of the target gains is not smaller than the number threshold, the optical systems corresponding to the target gains have consistency.
In one possible implementation manner, the optical system consistency determination may be performed on the gains corresponding to the histograms respectively, where the steps are as follows:
Step S2011, calculating the difference between the maximum gain value and the minimum gain value in the first gains corresponding to the N optical systems to obtain a first difference, calculating the difference between the maximum gain value and the minimum gain value in the second gains corresponding to the N optical systems to obtain a second difference, and calculating the difference between the maximum gain value and the minimum gain value in the third gains corresponding to the N optical systems to obtain a third difference;
Step 2012, if the first difference, the second difference and the third difference are all smaller than a difference threshold, the N optical systems are consistent, and if the first difference, the second difference and the third difference are not smaller than the difference threshold, the consistency of the N optical systems is determined according to the gains corresponding to the N optical systems.
The step of judging the consistency of the N optical systems according to the gains corresponding to the N optical systems comprises the following steps:
Step S2013, dividing the first preset interval into K equal division intervals, dividing the second preset interval into K equal division intervals, and dividing the third preset interval into K equal division intervals;
The first preset interval is composed of a first target value and a second target value, the first target value is smaller than the minimum gain value in the first gain, the second target value is larger than the maximum gain value in the first gain, the second preset interval is composed of a third target value and a fourth target value, the third target value is smaller than the minimum gain value in the second gain, the fourth target value is larger than the maximum gain value in the second gain, the third preset interval is composed of a fifth target value and a sixth target value, the fifth target value is smaller than the minimum gain value in the third gain, and the sixth target value is larger than the maximum gain value in the third gain.
Step S2014, calculating a target gain number corresponding to each of the K equal division intervals divided by the first preset interval, calculating a target gain number corresponding to each of the K equal division intervals divided by the second preset interval, and calculating a target gain number corresponding to each of the K equal division intervals divided by the third preset interval.
In step S2015, if the number of the target gains is smaller than the number threshold, the optical systems corresponding to the target gains do not have consistency, and if the number of the target gains is not smaller than the number threshold, the optical systems corresponding to the target gains have consistency.
In this embodiment, the gain of the optical system corresponding to the plurality of devices may be calculated, and the consistency detection may be performed on the optical system corresponding to the plurality of devices, so as to improve the judging efficiency.
Based on the method, gains of the N optical systems are determined through the analysis to obtain N gains, a difference value between a maximum value and a minimum value in the N gains is calculated, if the difference value is smaller than a difference value threshold, the N optical systems are determined to have no consistency, and if the difference value is not smaller than the difference value threshold, the consistency of the N optical systems is judged according to the N gains. In the technical scheme, the consistency of the optical systems is judged by calculating the gain of the optical systems, the consistency of N optical systems can be judged by specific data, so that the consistency of N optical systems is judged according to the substantial data, the consistency judgment of the optical systems has more effective basis, the effectiveness of the consistency judgment is improved, and the consistency of N optical systems is judged by calculating the gain of N optical systems, so that the consistency judgment of a plurality of optical systems can be realized at the same time, and the judgment efficiency is improved.
In order to better implement the above method, an embodiment of the present invention provides a consistency determining device for an optical system, referring to fig. 6, fig. 6 is a structural frame of the consistency determining device for an optical system provided in the embodiment of the present invention, as shown in fig. 6, the device 60 includes:
The calculation module 601 is configured to obtain, under a preset gain, scattered light generated by irradiation of a laser beam when a substance to be measured passes through a laser detection area of an nth optical system, where N has a value from 1 to N, the scattered light includes low-angle scattered light, medium-angle scattered light, and high-angle forward scattered light, generate first data according to a low-angle value of a particle in the low-angle scattered light, generate second data according to a medium-angle value of a particle in the medium-angle scattered light, and generate third data according to a high-angle value of a particle in the high-angle forward scattered light, where the first data, the second data, and the third data each include a particle volume, and a corresponding relation with a total number of particles of the volume, and calculate gains corresponding to the first data, the second data, and the third data according to the first data, the second data, and the third data, respectively, to obtain gains corresponding to the nth optical system.
The judging module 602 is configured to calculate a difference between a maximum gain value and a minimum gain value in gains corresponding to the N optical systems, and if the difference is smaller than a difference threshold, the N optical systems do not have consistency, and if the difference is not smaller than the difference threshold, the consistency of the N optical systems is judged according to the gains corresponding to the N optical systems.
In one possible design, the calculation module 601 is specifically configured to generate a histogram according to the first data, obtain a low-angle histogram, calculate a center of gravity of the low-angle histogram, obtain a first center of gravity, generate a histogram according to the second data, obtain a middle-angle histogram, calculate a center of gravity of the middle-angle histogram, obtain a second center of gravity, generate a histogram according to the third data, obtain a high-angle histogram, calculate a center of gravity of the high-angle histogram, obtain a third center of gravity, wherein an abscissa of the histogram is a particle volume, an ordinate of the histogram is a total number of particles corresponding to the particle volume, and calculate gains corresponding to the first center of gravity, the second center of gravity, and the third center of gravity according to the first center of gravity, the second center of gravity, and the third center of gravity, respectively, to obtain gains corresponding to an nth optical system.
In one possible design, the calculating module 601 is specifically configured to obtain a peak value of a low-angle histogram if the substance to be measured is a substance containing one particle cluster, obtain an abscissa corresponding to a first target value, obtain a first abscissa and a second abscissa, calculate a first center of gravity of the low-angle histogram according to the first target value, the first abscissa and the second abscissa, wherein the first target value is a product of the peak value of the low-angle histogram and a preset multiple, and the preset multiple is greater than 0 and less than 1, determine the peak value of the low-angle histogram if the substance to be measured is a substance containing Y particle clusters, obtain Y peak values, select any one of the Y peak values to obtain a first target peak value, obtain an abscissa corresponding to the first target value, obtain a first center of gravity corresponding to the low-angle histogram according to the first target value, the first abscissa and the second abscissa, and calculate a first center of gravity corresponding to the low-angle histogram, wherein Y1 is a product of the first target value and the preset multiple of the first target value.
In one possible design, the calculation module 601 is specifically configured to obtain a peak value of the middle angle histogram if the substance to be measured is a substance including one particle cluster, obtain an abscissa corresponding to a second target value, obtain a third abscissa and a fourth abscissa, calculate a second center of gravity of the middle angle histogram according to the second target value, the third abscissa and the fourth abscissa, wherein the second target value is a product of the peak value of the middle angle histogram and a preset multiple, and the preset multiple is greater than 0 and less than 1, determine the peak value of the middle angle histogram if the substance to be measured is a substance including Y particle clusters, obtain Y peak values, select any one of the Y peak values to obtain a second target peak value, obtain an abscissa corresponding to the second target value, obtain a third abscissa and a fourth abscissa, and calculate a second center of gravity corresponding to the middle angle histogram according to the second target value, the third abscissa and the fourth abscissa, and wherein Y1 is a product of the second target value and the preset multiple of the second target value.
In one possible design, the calculating module 601 is specifically configured to obtain, if the substance to be detected is a substance including one particle cluster, a peak value of the high angle histogram, obtain an abscissa corresponding to a third target value, obtain a fifth abscissa and a sixth abscissa, calculate a third center of gravity of the high angle histogram according to the third target value, the fifth abscissa and the sixth abscissa, where the third target value is a product of the peak value of the high angle histogram and a preset multiple, and the preset multiple is greater than 0 and less than 1, determine the peak value of the high angle histogram if the substance to be detected is a substance including Y particle clusters, obtain Y peak values, select any one of the Y peak values, obtain a third target peak value, obtain an abscissa corresponding to the third target value, obtain a fifth abscissa and a sixth abscissa, and calculate a third center of gravity corresponding to the high angle histogram according to the third target value, the fifth abscissa and the sixth abscissa, and wherein Y1 is a product of the third target value and the preset multiple of the third target value.
In one possible design, the calculating module 601 is specifically configured to calculate a first gain corresponding to the nth optical system according to a first center of gravity corresponding to the first preset gain and a first center of gravity corresponding to the second preset gain, calculate a second gain corresponding to the nth optical system according to a second center of gravity corresponding to the first preset gain and a second center of gravity corresponding to the second preset gain, and calculate a third gain corresponding to the nth optical system according to a third center of gravity corresponding to the first preset gain and a third center of gravity corresponding to the second preset gain.
In one possible design, the judging module 602 is specifically configured to divide a preset interval into K equal intervals, where the preset interval is composed of a first preset value and a second preset value, the first preset value is smaller than the minimum gain value, the second preset value is larger than the maximum gain value, calculate a target gain number corresponding to the j equal interval, where the target gain is a gain located in the j equal interval among gains corresponding to the N optical systems, and judge consistency of the N optical systems according to the target gain number.
In one possible design, the determining module 602 is specifically configured to, if the number of the target gains is smaller than a number threshold, make the optical systems corresponding to the target gains have no consistency, and if the number of the target gains is not smaller than the number threshold, make the optical systems corresponding to the target gains have consistency.
Based on the device, the consistency of the N optical systems can be judged according to the substantial data, so that the consistency judgment of the optical systems has more effective basis, the validity of the consistency judgment is improved, and secondly, the consistency of the N optical systems is judged by calculating the gains of the N optical systems, so that the consistency judgment of a plurality of optical systems can be realized at the same time, and the judgment efficiency is improved.
FIG. 7 illustrates an internal block diagram of a computer device in one embodiment. The computer device may specifically be a terminal or a server. As shown in fig. 7, the computer device includes a processor, a memory, and a network interface connected by a system bus. The memory includes a nonvolatile storage medium and an internal memory. The non-volatile storage medium of the computer device stores an operating system and may also store a computer program which, when executed by a processor, causes the processor to carry out all the steps of the above-described method. The internal memory may also have stored therein a computer program which, when executed by a processor, causes the processor to perform all the steps of the method described above. It will be appreciated by those skilled in the art that the structure shown in FIG. 7 is merely a block diagram of some of the structures associated with the present inventive arrangements and is not limiting of the computer device to which the present inventive arrangements may be applied, and that a particular computer device may include more or fewer components than shown, or may combine some of the components, or have a different arrangement of components.
In one embodiment, a computer device is presented comprising a memory and a processor, the memory storing a computer program that, when executed by the processor, causes the processor to perform the steps of the aforementioned method.
In one embodiment, a computer-readable storage medium is provided, storing a computer program which, when executed by a processor, causes the processor to perform the steps of the aforementioned method.
Those skilled in the art will appreciate that all or part of the processes in the methods of the above embodiments may be implemented by a computer program for instructing relevant hardware, where the program may be stored in a non-volatile computer readable storage medium, and where the program, when executed, may include processes in the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in embodiments provided herein may include non-volatile and/or volatile memory. The nonvolatile memory can include Read Only Memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (SYNCHLINK) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), among others.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The foregoing examples illustrate only a few embodiments of the application and are described in detail herein without thereby limiting the scope of the application. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the application, which are all within the scope of the application. Accordingly, the scope of protection of the present application is to be determined by the appended claims.

Claims (10)

1.A method for determining consistency of an optical system, the method comprising:
Under a preset gain, acquiring scattered light generated by irradiation of a laser beam when a substance to be detected passes through a laser detection area of an nth optical system, wherein the value of N is from 1 to N, the scattered light comprises low-angle scattered light, medium-angle scattered light and high-angle forward scattered light, generating first data according to the low-angle value of particles in the low-angle scattered light, generating second data according to the medium-angle value of particles in the medium-angle scattered light, and generating third data according to the high-angle value of particles in the high-angle forward scattered light, wherein the first data, the second data and the third data comprise particle volumes, and the corresponding relation between the total number of particles of the volumes;
And calculating the difference value between the maximum gain value and the minimum gain value in the gains corresponding to the N optical systems, wherein the N optical systems have consistency if the difference value is smaller than a difference value threshold value, and judging the consistency of the N optical systems according to the gains corresponding to the N optical systems if the difference value is not smaller than the difference value threshold value.
2. The method of claim 1, wherein determining the consistency of the N optical systems according to the gains corresponding to the N optical systems comprises:
dividing a preset interval into K equal intervals, wherein the preset interval is composed of a first preset value and a second preset value, the first preset value is smaller than the minimum gain value, and the second preset value is larger than the maximum gain value;
Calculating the number of target gains corresponding to the jth equal division interval, wherein the target gains are the gains in the jth equal division interval among the gains corresponding to the N optical systems, and the value of j is from 1 to K;
and judging the consistency of the N optical systems according to the target gain number.
3. The method of claim 2, wherein determining the consistency of the N optical systems according to the target gain number comprises:
If the number of the target gains is smaller than a number threshold, the optical systems corresponding to the target gains do not have consistency;
And if the number of the target gains is not smaller than a number threshold, the optical systems corresponding to the target gains have consistency.
4. The method of claim 1, wherein calculating gains corresponding to the first data, the second data, and the third data according to the first data, the second data, and the third data, respectively, to obtain gains corresponding to the nth optical system includes:
Generating a histogram according to the first data, obtaining a low-angle histogram, calculating the gravity center of the low-angle histogram to obtain a first gravity center, generating a histogram according to the second data, obtaining a middle-angle histogram, calculating the gravity center of the middle-angle histogram to obtain a second gravity center, generating a histogram according to the third data, obtaining a high-angle histogram, and calculating the gravity center of the high-angle histogram to obtain a third gravity center, wherein the abscissa of the histogram is the particle volume, and the ordinate of the histogram is the total number of particles corresponding to the particle volume;
And respectively calculating gains corresponding to the first center of gravity, the second center of gravity and the third center of gravity according to the first center of gravity, the second center of gravity and the third center of gravity, so as to obtain the gain corresponding to the nth optical system.
5. The method of claim 4, wherein said calculating the center of gravity of the low angle histogram to obtain a first center of gravity comprises:
if the substance to be detected is a substance containing a particle cluster, acquiring a peak value of a low-angle histogram, acquiring an abscissa corresponding to a first target value, acquiring a first abscissa and a second abscissa, and calculating a first center of gravity of the low-angle histogram according to the first target value, the first abscissa and the second abscissa, wherein the first target value is a product of the peak value of the low-angle histogram and a preset multiple, and the preset multiple is more than 0 and less than 1;
If the substance to be detected is a substance containing Y particle clusters, determining peak values of a low-angle histogram to obtain Y peak values, selecting any one of the Y peak values to obtain a first target peak value, obtaining an abscissa corresponding to a first target value to obtain a first abscissa and a second abscissa, and calculating a first center of gravity corresponding to the low-angle histogram according to the first target value, the first abscissa and the second abscissa, wherein Y >1, and the first target value is the product of the first target peak value and a preset multiple.
6. The method of claim 4, wherein said calculating the center of gravity of the medium angle histogram to obtain a second center of gravity comprises:
If the substance to be detected is a substance containing a particle cluster, acquiring a peak value of the middle angle histogram, acquiring an abscissa corresponding to a second target value, and acquiring a third abscissa and a fourth abscissa, and calculating a second center of gravity of the middle angle histogram according to the second target value, the third abscissa and the fourth abscissa, wherein the second target value is a product of the peak value of the middle angle histogram and a preset multiple, and the preset multiple is more than 0 and less than 1;
If the substance to be detected is a substance containing Y particle clusters, determining peak values of a middle angle histogram to obtain Y peak values, selecting any one of the Y peak values to obtain a second target peak value, obtaining an abscissa corresponding to a second target value to obtain a third abscissa and a fourth abscissa, and calculating a second center of gravity corresponding to the middle angle histogram according to the second target value, the third abscissa and the fourth abscissa, wherein Y >1, and the second target value is the product of the second target peak value and a preset multiple.
7. The method of claim 4, wherein said calculating the center of gravity of the high angle histogram to obtain a third center of gravity comprises:
if the substance to be detected is a substance containing a particle cluster, acquiring a peak value of a high-angle histogram, acquiring an abscissa corresponding to a third target value, and acquiring a fifth abscissa and a sixth abscissa, and calculating a third center of gravity of the high-angle histogram according to the third target value, the fifth abscissa and the sixth abscissa, wherein the third target value is a product of the peak value of the high-angle histogram and a preset multiple, and the preset multiple is more than 0 and less than 1;
If the substance to be detected is a substance containing Y particle clusters, determining peak values of a high-angle histogram to obtain Y peak values, selecting any one of the Y peak values to obtain a third target peak value, obtaining an abscissa corresponding to a third target value to obtain a fifth abscissa and a sixth abscissa, and calculating a third center of gravity corresponding to the high-angle histogram according to the third target value, the fifth abscissa and the sixth abscissa, wherein Y >1, and the third target value is the product of the third target peak value and a preset multiple.
8. The method of claim 4, wherein the preset gains include a first preset gain and a second preset gain, the gains corresponding to the nth optical system include a first gain, a second gain, and a third gain, and the calculating the gains corresponding to the first center of gravity, the second center of gravity, and the third center of gravity according to the first center of gravity, the second center of gravity, and the third center of gravity, respectively, includes:
Calculating a first gain corresponding to the nth optical system according to the first gravity center corresponding to the first preset gain and the first gravity center corresponding to the second preset gain;
calculating a second gain corresponding to the nth optical system according to the second gravity center corresponding to the first preset gain and the second gravity center corresponding to the second preset gain;
And calculating a third gain corresponding to the nth optical system according to the third gravity center corresponding to the first preset gain and the third gravity center corresponding to the second preset gain.
9. A consistency judging apparatus of an optical system, the apparatus comprising:
The calculation module is used for acquiring scattered light generated by irradiation of a laser beam when a substance to be detected passes through a laser detection area of an nth optical system under the preset gain, wherein the value of N is from 1 to N, and the scattered light comprises low-angle scattered light, medium-angle scattered light and high-angle forward scattered light; generating first data according to low angle values of particles in low angle scattered light, generating second data according to medium angle values of particles in medium angle scattered light, and generating third data according to high angle values of particles in high angle forward scattered light, wherein the first data, the second data and the third data comprise particle volumes and the corresponding relation between the total number of particles in the volumes;
the judging module is used for calculating the difference value between the maximum gain value and the minimum gain value in the gains corresponding to the N optical systems, if the difference value is smaller than a difference value threshold, the N optical systems do not have consistency, and if the difference value is not smaller than the difference value threshold, the consistency of the N optical systems is judged according to the gains corresponding to the N optical systems.
10. A computer readable storage medium storing a computer program, which when executed by a processor causes the processor to perform the steps of the method according to any one of claims 1 to 8.
CN202310596747.7A 2023-05-24 2023-05-24 Consistency judging method of optical system and related device Active CN116678807B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310596747.7A CN116678807B (en) 2023-05-24 2023-05-24 Consistency judging method of optical system and related device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310596747.7A CN116678807B (en) 2023-05-24 2023-05-24 Consistency judging method of optical system and related device

Publications (2)

Publication Number Publication Date
CN116678807A CN116678807A (en) 2023-09-01
CN116678807B true CN116678807B (en) 2025-12-23

Family

ID=87780166

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310596747.7A Active CN116678807B (en) 2023-05-24 2023-05-24 Consistency judging method of optical system and related device

Country Status (1)

Country Link
CN (1) CN116678807B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106574898A (en) * 2014-10-31 2017-04-19 松下知识产权经营株式会社 Particle detection sensor
CN110779838A (en) * 2018-07-31 2020-02-11 深圳市白麓嵩天科技有限责任公司 Method and device for measuring particulate matter concentration

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3695204A4 (en) * 2017-10-09 2021-07-07 TSI Incorporated Particle counter component calibration
WO2020102038A1 (en) * 2018-11-12 2020-05-22 Particle Measuring Systems, Inc. Calibration verification for optical particle analyzers
CN112730203B (en) * 2020-12-29 2023-06-16 深圳市科曼医疗设备有限公司 Optical system, optical gain calibration method, and storage medium for blood cell analyzer
CN114813521B (en) * 2022-04-28 2022-10-28 深圳市帝迈生物技术有限公司 Gain calibration method and system, and related device
CN116046694A (en) * 2022-12-23 2023-05-02 深圳市科曼医疗设备有限公司 Gain calibration method, device, storage medium and equipment

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106574898A (en) * 2014-10-31 2017-04-19 松下知识产权经营株式会社 Particle detection sensor
CN110779838A (en) * 2018-07-31 2020-02-11 深圳市白麓嵩天科技有限责任公司 Method and device for measuring particulate matter concentration

Also Published As

Publication number Publication date
CN116678807A (en) 2023-09-01

Similar Documents

Publication Publication Date Title
CN112730203B (en) Optical system, optical gain calibration method, and storage medium for blood cell analyzer
Meyer et al. Tuning of synapse number, structure and function in the cochlea
CN110887818B (en) Analysis method of blood sample, blood cell analyzer and storage medium
US20210164885A1 (en) Method for detecting a blood sample, blood cell analyzer, and storage medium
CN116678807B (en) Consistency judging method of optical system and related device
CN113239006A (en) Log detection model generation method and device and log detection method and device
CN117079717B (en) A method, apparatus, equipment, and medium for identifying cell subtypes.
CN116678805B (en) A method and related apparatus for judging the consistency of an optical system
CN116678809A (en) A method for judging the consistency of an optical system and related devices
CN116735458A (en) Optical system gain calibration method and device
CN116678806A (en) Optical system gain calibration method and device
CN111737277A (en) Sample data processing method, device, computer equipment and storage medium
CN117191677B (en) Method, device, medium and equipment for judging insufficient dosage of hemolytic agent
Nara et al. Morphometric development of the human fetal auditory system: inferior collicular nucleus
CN118425009A (en) Blood cell optical channel particle flow abnormality judgment method and related device
CN116242776A (en) Optical calibration method, apparatus, equipment and medium
CN116642819B (en) Cell group identification method and device
CN117330592B (en) Energy spectrum and scattering correction method, device and equipment
CN118209472A (en) Impedance channel hole blocking identification method, sample analyzer and related device
CN121632878B (en) Methods, apparatus and equipment for particulate matter concentration detection
CN117388154B (en) Methods, apparatus, media and equipment for white blood cell classification
CN117491259B (en) Flow lymphocyte analysis method, device, computer equipment and storage medium
CN118603951A (en) Scatter plot correction method, device, medium and equipment
CN119882018B (en) A particle trajectory tracking method, apparatus, device, and medium based on the Retina algorithm
CN119618961B (en) Intelligent detection method and device

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