Optical calibration method, device, equipment and medium

By acquiring and analyzing the low-angle, medium-angle and high-angle pulse signals of the optical system and automatically adjusting the receiver position, the problem of complex and error-prone calibration of traditional optical systems is solved, achieving higher calibration accuracy and simplifying the process.

CN116242776BActive Publication Date: 2025-09-23SHENZHEN COMEN MEDICAL INSTR
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310208877.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-02-24
Publication Date
2025-09-23
Estimated Expiration
2043-02-24

Smart Images

  • Figure CN116242776B_ABST
    Figure CN116242776B_ABST
Patent Text Reader

Abstract

The present invention discloses an optical calibration method, apparatus, equipment, and medium. First, the peak values ​​of each pulse signal are found based on a low-angle pulse signal, and then a pulse error interval is constructed based on the sampling time of the low-angle pulse interval and the low-angle pulse peak point. The medium-angle pulse peak point and the high-angle pulse peak point are determined within the pulse error interval. Then, the position of each receiver is adjusted accordingly based on the peak point of the low-angle pulse signal, including adjusting the position of a first receiver that receives medium-angle scattered light based on a calculated first time difference; and adjusting the position of a second receiver that receives high-angle scattered light based on a calculated second time difference. The present invention processes the pulse signal through software, identifies various characteristic information, including peak points, time differences between peak points, etc., and directly uses this information to guide the debugging of optical components, effectively reducing errors caused by human judgment and improving calibration accuracy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of cell detection technology, and in particular to an optical calibration method, device, equipment and medium. Background Art

[0002] Before detecting cells through an optical system, the optical devices in the optical system need to be mechanically calibrated to ensure the accuracy of the results.

[0003] The traditional method is to manually adjust the position of the mechanical structure within the optical device. The data acquisition device then receives the complete raw pulse data and reads and outputs the raw pulse data through offline software. The alignment between the mid-angle signal, high-angle signal, and low-angle signal in the output result is then manually evaluated. The position of the mechanical structure is then repeatedly adjusted until the phase between the various signals is within an acceptable range.

[0004] However, this method is complex, and calibration accuracy is easily affected by human experience. Furthermore, during testing and verification, due to the large number of pulse particles, there is a possibility of manually selecting atypical pulse signals as references, which can lead to misleading debugging and further errors in the mechanical structure calibration of the optical system. Summary of the Invention

[0005] Based on this, it is necessary to provide optical calibration methods, devices, equipment and media to solve the problem that the mechanical structure calibration of optical systems is tedious and error-prone.

[0006] An optical calibration method, comprising:

[0007] Acquire the detected low-angle pulse signal, medium-angle pulse signal and high-angle pulse signal;

[0008] Determining a low-angle pulse interval of the low-angle pulse signal according to a plurality of sampling point sets of the low-angle pulse signal, and determining a low-angle pulse peak point of the low-angle pulse signal within the low-angle pulse interval; wherein each sampling point set includes a plurality of sampling points obtained by sequentially sampling from the pulse signal based on a time sequence;

[0009] Constructing a pulse error interval according to the low-angle pulse interval and the sampling time of the low-angle pulse peak point, and within the pulse error interval, determining the medium-angle pulse peak point of the medium-angle pulse signal according to a plurality of sampling point sets of the medium-angle pulse signal, and determining the high-angle pulse peak point of the high-angle pulse signal according to a plurality of sampling point sets of the high-angle pulse signal;

[0010] Calculating a first time difference between a sampling time of the medium-angle pulse peak point and a sampling time of the low-angle pulse peak point, and adjusting a position of a first receiver for receiving medium-angle scattered light according to the first time difference;

[0011] A second time difference between the sampling time of the high-angle pulse peak point and the sampling time of the low-angle pulse peak point is calculated, and a position of a second receiver for receiving high-angle scattered light is adjusted according to the second time difference.

[0012] In one embodiment, each sampling point set includes a first sampling point, a second sampling point, and a third sampling point with increasing sampling times, and determining the low-angle pulse interval of the low-angle pulse signal according to the multiple sampling point sets of the low-angle pulse signal includes:

[0013] When each low-angle pulse interval is determined, the sampling point set that first meets the starting point condition is used as the first sampling point set, and the first sampling point in the first sampling point set is used as the low-angle pulse starting point; wherein the first sampling point set is any one of multiple sampling point sets of the low-angle pulse signal, the starting point condition is that the difference between the first voltage difference and the second voltage difference is greater than the obtained threshold value, the first voltage difference is the difference between the voltage value of the third sampling point and the voltage value of the second sampling point, and the second voltage difference is the difference between the voltage value of the second sampling point and the voltage value of the first sampling point;

[0014] The sampling point set that first meets the endpoint condition is used as the second sampling point set, and the first sampling point in the second sampling point set is used as the low-angle pulse termination point; wherein the second sampling point set is any one of multiple sampling point sets of the low-angle pulse signal, and the endpoint condition is that the voltage value of the first sampling point in the second sampling point set is less than the sum of the voltage value of the first sampling point in the first sampling point set and a preset voltage threshold.

[0015] The interval between the sampling time of the low-angle pulse starting point and the sampling time of the low-angle pulse ending point is used as the low-angle pulse interval.

[0016] In one embodiment, the method further includes:

[0017] The threshold is set to be proportional to the currently acquired fluid path flow rate; wherein the fluid path flow rate is the speed at which the liquid to be measured flows through the flow chamber;

[0018] And under the premise that the negative pressure of the liquid path remains unchanged, the threshold is set to be proportional to the diameter of the flow chamber.

[0019] In one embodiment, determining the low-angle pulse peak point of the low-angle pulse signal within the low-angle pulse interval includes:

[0020] In the low-angle pulse interval, a sampling point set that first meets the peak point condition is used as a third sampling point set, and a second sampling point in the third sampling point set is used as a low-angle pulse peak point; wherein the peak point condition is that a voltage value of the second sampling point is greater than a voltage value of the first sampling point and greater than a voltage value of the third sampling point.

[0021] In one embodiment, before taking the interval between the sampling time of the low-angle pulse starting point and the sampling time of the low-angle pulse ending point as the low-angle pulse interval, the method further includes:

[0022] Calculating the low-angle pulse width according to the sampling time of the low-angle pulse starting point and the sampling time of the low-angle pulse ending point;

[0023] If the low-angle pulse width is within a preset pulse width range, it is determined that the low-angle pulse starting point and the low-angle pulse ending point are valid.

[0024] In one embodiment, constructing a pulse error interval based on the low-angle pulse interval and the sampling time of the low-angle pulse peak point includes:

[0025] Calculating a first absolute value of a difference between a sampling time of the low-angle pulse peak and a sampling time of the low-angle pulse starting point, and calculating a second absolute value of a difference between a sampling time of the low-angle pulse peak and a sampling time of the low-angle pulse ending point;

[0026] The smaller value between the first difference absolute value and the second difference absolute value is used as the error value, and the interval between the first error sampling time and the second error sampling time is used as the pulse error interval; wherein, the first error sampling time is the sampling time of the starting point of the low-angle pulse minus the error value, and the second error sampling time is the sampling time of the ending point of the low-angle pulse plus the error value.

[0027] In one embodiment, the first receiver receives medium-angle scattered light emitted from the flow chamber, and the first receiver is arranged perpendicular to a first optical path of the medium-angle scattered light; the second receiver receives high-angle scattered light emitted from the flow chamber, and the second receiver is arranged perpendicular to a second optical path of the high-angle scattered light; and adjusting the position of the first receiver for receiving the medium-angle scattered light according to the first time difference comprises:

[0028] If the first time difference is a positive value, controlling the first receiver to move toward the flow chamber and in a direction parallel to the first optical path until the first time difference is 0;

[0029] If the first time difference is a negative value, controlling the first receiver to move in a direction away from the flow chamber and parallel to the first optical path until the first time difference is 0;

[0030] The adjusting the position of the second receiver for receiving the high-angle scattered light according to the second time difference includes:

[0031] If the second time difference is a positive value, controlling the second receiver to move toward the flow chamber and in a direction parallel to the second optical path until the second time difference is 0;

[0032] If the second time difference is a negative value, the second receiver is controlled to move in a direction away from the flow chamber and parallel to the second optical path until the second time difference is zero.

[0033] An optical calibration device, comprising:

[0034] A signal acquisition module is used to acquire the detected low-angle pulse signal, medium-angle pulse signal and high-angle pulse signal;

[0035] a peak point determination module, configured to determine a low-angle pulse interval of the low-angle pulse signal based on a plurality of sampling point sets of the low-angle pulse signal, and determine a low-angle pulse peak point of the low-angle pulse signal within the low-angle pulse interval; wherein each sampling point set includes a plurality of sampling points sequentially sampled from the pulse signal based on a time sequence; and construct a pulse error interval based on the sampling times of the low-angle pulse interval and the low-angle pulse peak point, and within the pulse error interval, determine a medium-angle pulse peak point of the medium-angle pulse signal based on a plurality of sampling point sets of the medium-angle pulse signal, and determine a high-angle pulse peak point of the high-angle pulse signal based on a plurality of sampling point sets of the high-angle pulse signal;

[0036] A correction module is used to calculate a first time difference between the sampling time of the medium-angle pulse peak point and the sampling time of the low-angle pulse peak point, and adjust the position of a first receiver receiving medium-angle scattered light according to the first time difference; and calculate a second time difference between the sampling time of the high-angle pulse peak point and the sampling time of the low-angle pulse peak point, and adjust the position of a second receiver receiving high-angle scattered light according to the second time difference.

[0037] A computer-readable storage medium stores a computer program, which, when executed by a processor, causes the processor to perform the steps of the above-mentioned optical calibration method.

[0038] An optical calibration device includes a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the above optical calibration method.

[0039] The present invention provides an optical calibration method, apparatus, equipment and medium. First, the peak value of each pulse signal is found based on the low-angle pulse signal, including determining the low-angle pulse interval of the low-angle pulse signal according to a plurality of sampling point sets of the low-angle pulse signal, and determining the low-angle pulse peak point of the low-angle pulse signal within the low-angle pulse interval; then, a pulse error interval is constructed according to the sampling time of the low-angle pulse interval and the low-angle pulse peak point, and within the pulse error interval, the medium-angle pulse peak point of the medium-angle pulse signal is determined according to a plurality of sampling point sets of the medium-angle pulse signal, and the high-angle pulse peak point of the high-angle pulse signal is determined according to a plurality of sampling point sets of the high-angle pulse signal; then, the position of each receiver is adjusted accordingly based on the peak point of the low-angle pulse signal, including calculating a first time difference between the sampling time of the medium-angle pulse peak point and the sampling time of the low-angle pulse peak point, and adjusting the position of the first receiver receiving the medium-angle scattered light according to the first time difference; and calculating a second time difference between the sampling time of the high-angle pulse peak point and the sampling time of the low-angle pulse peak point, and adjusting the position of the second receiver receiving the high-angle scattered light according to the second time difference. The present invention processes the pulse signal through software and identifies various characteristic information, including peak points and time differences between peak points, which are directly used to guide the debugging of optical components, effectively reducing errors caused by human judgment and improving calibration accuracy. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0041] in:

[0042] Figure 1 1 is a schematic flow chart of an optical calibration method according to an embodiment;

[0043] Figure 2 is a first schematic diagram of an optical system in one embodiment;

[0044] Figure 3 is a second schematic diagram of an optical system in one embodiment;

[0045] Figure 4 is a schematic diagram of a pulse signal in one embodiment;

[0046] Figure 5 1 is a schematic diagram of a process for determining a low-angle pulse interval in one embodiment;

[0047] Figure 6 A schematic diagram of a flow chart for determining a pulse error interval in one embodiment

[0048] Figure 7 is a schematic structural diagram of an optical calibration device in one embodiment;

[0049] Figure 8 FIG. 4 is a structural block diagram of an optical calibration device in one embodiment. DETAILED DESCRIPTION

[0050] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present invention without making any creative efforts shall fall within the scope of protection of the present invention.

[0051] The terms "first," "second," and the like in the specification and claims of this application and the accompanying drawings are used to distinguish between different objects, not to describe a particular order. Furthermore, the terms "including," "having," and any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or apparatus comprising a series of steps or elements is not limited to the listed steps or elements but may optionally include steps or elements not listed, or may optionally include other steps or elements inherent to the process, method, product, or apparatus.

[0052] References herein to "embodiments" mean that a particular feature, structure, or characteristic described in connection with the embodiments may be included in at least one embodiment of the present application. The appearance of this phrase in various places in the specification does not necessarily refer to the same embodiment, nor does it constitute an independent or alternative embodiment that is mutually exclusive of other embodiments. It is understood, both explicitly and implicitly, by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0053] like Figure 1 As shown, Figure 1 A schematic diagram of a flow chart of an optical calibration method in one embodiment, which is applied to Figure 2 and Figure 3 In the optical system. Figure 2 , a certain amount of blood cells are aspirated and treated with reagents as blood samples ( Figure 2The blood sample is then injected through a nozzle into a conical flow chamber filled with diluent. Encased in sheath fluid, the blood cells within the sample pass through the center of the flow chamber one by one. As the blood cells suspended in the sheath fluid pass through the laser detection zone, they are illuminated by the laser beam and produce scattered light. The properties of this scattered light are related to cell size, the refractive index of the cell membrane, and the internal structure of the cell.

[0054] Reference Figure 3 Laser light is emitted from the front light shaping section, passing through the flow chamber to generate scattered light, which is then irradiated by the backlight scattering signal receiving section. The generated scattered light includes low-angle scattered light, medium-angle scattered light, and high-angle scattered light. Low-angle scattered light refers to light scattered forward at low angles, medium-angle scattered light refers to light scattered forward at medium angles, and high-angle scattered light refers to light scattered laterally at high angles. Low-angle scattered light can reflect cell size, medium-angle scattered light can reflect the cell's internal fine structure and particulate matter, and high-angle forward scattered light can also reflect the cell's internal fine structure and particulate matter. The aperture in the receiving section is used to determine the presence of scattered light. The first receiver receives medium-angle scattered light emitted from the flow chamber and converts it into medium-angle pulse signals. The first receiver is positioned perpendicular to the first optical path of the medium-angle scattered light. The second receiver receives high-angle scattered light emitted from the flow chamber and converts it into high-angle pulse signals. The second receiver is positioned perpendicular to the second optical path of the high-angle scattered light. The third receiver receives low-angle scattered light emitted from the flow chamber and converts it into low-angle pulse signals. These pulse signals can reflect characteristics such as cell size and internal fine structure. This application uses the position of the third receiver as a reference and only adjusts the positions of the first and second receivers. In addition, the receivers here can optionally be made of polybutene (PB) tubes.

[0055] The steps provided by the optical calibration method in this embodiment include:

[0056] S101, obtaining the detected low-angle pulse signal, medium-angle pulse signal and high-angle pulse signal.

[0057] That is, obtain Figure 3 The signals fed back by the first receiver, the second receiver and the third receiver.

[0058] S102: determining a low-angle pulse interval of the low-angle pulse signal according to a plurality of sampling point sets of the low-angle pulse signal, and determining a low-angle pulse peak point of the low-angle pulse signal within the low-angle pulse interval.

[0059] Among them, each sampling point set includes multiple sampling points sampled from the pulse signal in sequence based on time. For example, the first sampling point in a certain sampling point set is recorded as p1, the second sampling point is recorded as p2, and so on. The amplitude in the low-angle pulse signal is changing, and the low-angle pulse interval is also the interval in which the amplitude in the low-angle pulse signal changes significantly. There are multiple low-angle pulse intervals in the low-angle pulse signal, and a low-angle pulse peak point can be found in each low-angle pulse interval. The low-angle pulse peak point indicates the maximum or minimum value in the low-angle pulse interval. Figure 4 The following descriptions take the maximum value as an example.

[0060] In a specific embodiment, each sampling point set is set to include a first sampling point p1, a second sampling point p2, and a third sampling point p3 with increasing sampling times. For example, if there are sampling points a, b, c, and d with increasing sampling times, then in one sampling point set, sampling points a, b, and c can be used as the first sampling point p1, the second sampling point p2, and the third sampling point p3, respectively. In the next sampling point set, sampling points b, c, and d can be used as the first sampling point p1, the second sampling point p2, and the third sampling point p3, respectively, and so on. Figure 5 As shown, the low-angle pulse interval is determined as follows:

[0061] S1021: When each low-angle pulse interval is determined, the sampling point set that first meets the starting point condition is used as the first sampling point set, and the first sampling point in the first sampling point set is used as the low-angle pulse starting point.

[0062] The first sampling point set is any one of the multiple sampling point sets of the low-angle pulse signal, that is, all sampling point sets need to be judged in chronological order. The starting condition is that the difference between the first voltage difference and the second voltage difference is greater than the acquired threshold. The first voltage difference is the difference between the voltage value of the third sampling point and the voltage value of the second sampling point, and the second voltage difference is the difference between the voltage value of the second sampling point and the voltage value of the first sampling point, expressed as:

[0063]

[0064] In the above formula, is the threshold, is the voltage value of the first sampling point, which is also the starting point s of the low-angle pulse. is the voltage value of the second sampling point, is the voltage value at the third sampling point. This formula can be used to determine whether the signal amplitude begins to fluctuate significantly.

[0065] Furthermore, the threshold here It is related to the flow rate of the liquid path and the caliber of the flow chamber. In a specific embodiment, the threshold is set as follows :

[0066] The threshold is set to be proportional to the current flow rate of the liquid path; wherein the flow rate of the liquid path is the flow rate of the liquid to be tested ( Figure 2 The speed at which the sample (in the flow chamber) flows through the flow chamber; and under the premise that the negative pressure of the liquid circuit remains unchanged, the threshold is set to be proportional to the diameter of the flow chamber. Because as the liquid circuit flow rate and the diameter of the flow chamber increase, the fluctuation of the signal amplitude will also increase accordingly, more noise points will appear, and the starting point of the low-angle pulse will be more difficult to accurately detect, so the threshold should be adjusted accordingly. These noise points can be effectively filtered out.

[0067] S1022: The sampling point set that first meets the endpoint condition is used as the second sampling point set, and the first sampling point in the second sampling point set is used as the low-angle pulse termination point.

[0068] The second sampling point set is any one of the multiple sampling point sets of the low-angle pulse signal, that is, all sampling point sets except the starting point of the low-angle pulse need to be judged in chronological order. The endpoint condition is that the voltage value of the first sampling point in the second sampling point set is less than the sum of the voltage value of the first sampling point in the first sampling point set and a preset voltage threshold. The voltage threshold is determined based on the offset of the baseline and is expressed as:

[0069]

[0070] In the above formula, is the voltage value of the first sampling point in the first sampling point set, is the voltage value of the first sampling point in the second sampling point set, then The corresponding sampling point is used as the low-angle pulse termination point Xpd. is the voltage threshold. For example, there are sampling points a, b, c, d, and e with increasing sampling times. The first sampling point set includes a, b, and c, with a first sampling point in the first sampling point set. The second sampling point set includes c, d, and e, with c being the first sampling point in the second sampling point set. Then, the condition needs to be satisfied for the first time. When Serves as the low-angle pulse termination point.

[0071] Furthermore, if there are many non-particle interference pulse signals in the low-angle pulse signal, they can be filtered out by the following methods:

[0072] First, calculate the low-angle pulse width based on the sampling time of the low-angle pulse starting point and the sampling time of the low-angle pulse ending point. For example, the sampling time of the low-angle pulse starting point is recorded as tps, and the sampling time of the low-angle pulse ending point is recorded as tpd. Then the low-angle pulse width is tpd-tps. Secondly, compare the low-angle pulse width with the preset pulse width range. Comparison is performed. If the low-angle pulse width is within the preset pulse width range, the low-angle pulse starting point and the low-angle pulse ending point are determined to be valid. Otherwise, they are considered invalid. It is the threshold value used to filter out small pulses, aiming to remove non-particle interference pulse signals. It is the threshold value used to filter out large pulses, and its purpose is to remove large pulse non-particle signals generated by bubbles in the liquid system.

[0073] S1023: The interval between the sampling time of the low-angle pulse starting point and the sampling time of the low-angle pulse ending point is used as the low-angle pulse interval.

[0074] That is, if the sampling time of the starting point of the low-angle pulse is recorded as tpd, and the sampling time of the ending point of the low-angle pulse is recorded as tps, then the low-angle pulse interval is [tpd, tps].

[0075] In a specific embodiment, the low-angle pulse peak point is determined by:

[0076] In the low-angle pulse interval, the sampling point set that first meets the peak point condition is used as the third sampling point set, and the second sampling point in the third sampling point set is used as the low-angle pulse peak point.

[0077] The peak point condition is that the voltage value of the second sampling point is greater than the voltage value of the first sampling point and greater than the voltage value of the third sampling point. That is, all sampling point sets within the low-angle pulse interval are judged in chronological order as follows, and the first sampling point set that meets the condition is used as the third sampling point set:

[0078]

[0079] In the above formula, The corresponding sampling point is also the low-angle pulse peak point Xlpeak1 here.

[0080] S103, constructing a pulse error interval according to the sampling time of the low-angle pulse interval and the low-angle pulse peak point, and within the pulse error interval, determining the medium-angle pulse peak point of the medium-angle pulse signal according to a plurality of sampling point sets of the medium-angle pulse signal, and determining the high-angle pulse peak point of the high-angle pulse signal according to a plurality of sampling point sets of the high-angle pulse signal.

[0081] The pulse error range is determined by the mechanical structure of the optical component. In a specific embodiment, Figure 6 As shown, the pulse error interval is determined as follows:

[0082] S1031, calculate the first absolute value of the difference between the sampling time of the low-angle pulse peak and the sampling time of the low-angle pulse starting point, and calculate the second absolute value of the difference between the sampling time of the low-angle pulse peak and the sampling time of the low-angle pulse ending point.

[0083] Reference Figure 4 , the absolute value of the first difference is X1, and the absolute value of the second difference is X2.

[0084] S1032: The smaller value between the first difference absolute value and the second difference absolute value is used as the error value, and the interval between the first error sampling time and the second error sampling time is used as the pulse error interval.

[0085] Among them, the first error sampling time is the sampling time of the low angle pulse starting point minus the error value. Here, X1 can be used as the error value accordingly. , the second error sampling time is the sampling time of the low-angle pulse termination point plus the error value, because the pulse error interval is expressed as:

[0086]

[0087] Furthermore, in the pulse error range Internally, the method of s102 can be referred to to realize the determination of the medium-angle pulse peak point Xlpeak2 of the medium-angle pulse signal based on multiple sampling point sets of the medium-angle pulse signal, and the determination of the high-angle pulse peak point Xlpeak3 of the high-angle pulse signal based on multiple sampling point sets of the high-angle pulse signal. The difference mainly lies in the different interval ranges and the different processed signals.

[0088] S104: Calculate a first time difference between a sampling time of a mid-angle pulse peak point and a sampling time of a low-angle pulse peak point, and adjust a position of a first receiver for receiving mid-angle scattered light according to the first time difference.

[0089] That is, if the sampling time of the low-angle pulse peak is tlpeak1, and the sampling time of the mid-angle pulse peak is tlpeak2, then the first time difference is tlpeak2 - tlpeak1. The position of the first receiver receiving the mid-angle scattered light is adjusted based on this tlpeak2 - tlpeak1 value. In practice, a 100ms signal segment is taken, and the average of all tlpeak2 - tlpeak1 values ​​within that segment is calculated, and the position of the first receiver is then adjusted accordingly. The signal length can be adjusted based on actual needs.

[0090] In a specific embodiment, the position of the first receiver is adjusted as follows:

[0091] If the first time difference is positive, the first receiver is controlled to move toward the direction close to the flow chamber and parallel to the first optical path, that is, Figure 3 Move in the direction indicated by d1 until the first time difference is 0, then it is considered that the first receiver has been adjusted.

[0092] If the first time difference is a negative value, the first receiver is controlled to move away from the flow chamber and in a direction parallel to the first optical path, that is, Figure 3 Move in the direction shown by d2 until the first time difference is 0, then it is considered that the first receiver has been adjusted.

[0093] S105: Calculate a second time difference between the sampling time of the high-angle pulse peak point and the sampling time of the low-angle pulse peak point, and adjust the position of the second receiver for receiving the high-angle scattered light according to the second time difference.

[0094] Similarly, if the sampling time of the low-angle pulse peak is tlpeak1 and the sampling time of the high-angle pulse peak is tlpeak3, the second time difference is tlpeak3 - tlpeak1. The position of the second receiver receiving the high-angle scattered light is adjusted based on this tlpeak3 - tlpeak1 value. In actual operation, a 100ms signal segment is taken, and the average of all tlpeak3 - tlpeak1 values ​​within this segment is calculated. This is then used to adjust the position of the first receiver accordingly. Of course, the length of the signal here can be customized according to actual needs.

[0095] Adjusting a position of a second receiver for receiving high-angle scattered light according to the second time difference includes:

[0096] If the second time difference is positive, the second receiver is controlled to move toward the flow chamber and parallel to the second optical path, that is, Figure 3 Move in the direction indicated by d3 until the second time difference is 0, then it is considered that the second receiver has been adjusted.

[0097] If the second time difference is a negative value, the second receiver is controlled to move away from the flow chamber and in a direction parallel to the second optical path, that is, Figure 3 Move in the direction indicated by d4 until the second time difference is 0, then it is considered that the second receiver has been adjusted.

[0098] Furthermore, in addition to the aforementioned adjustment methods, the receiver positions can also be adjusted to focus the scattered light on the receiver's midpoint, or symmetrically around the midpoint. For example, the first receiver can be controlled to move along d3 or d4 until the scattered light is symmetrically around the first receiver's midpoint O1. The second receiver can be controlled to move along d3 or d4 until the scattered light is symmetrically around the second receiver's midpoint O2. The third receiver can be controlled to move along d1 or d2 until the scattered light is focused on the third receiver's midpoint O3. This allows for accurate adjustment of the optical components from other directions.

[0099] This optical calibration method first finds the peak value of each pulse signal based on the low-angle pulse signal, including determining the low-angle pulse interval of the low-angle pulse signal based on multiple sampling point sets of the low-angle pulse signal, and determining the low-angle pulse peak point of the low-angle pulse signal within the low-angle pulse interval; then constructing a pulse error interval based on the sampling time of the low-angle pulse interval and the low-angle pulse peak point, and within the pulse error interval, determining the medium-angle pulse peak point of the medium-angle pulse signal based on multiple sampling point sets of the medium-angle pulse signal, and determining the high-angle pulse peak point of the high-angle pulse signal based on multiple sampling point sets of the high-angle pulse signal; then correspondingly adjusting the position of each receiver based on the peak point of the low-angle pulse signal, including calculating the first time difference between the sampling time of the medium-angle pulse peak point and the sampling time of the low-angle pulse peak point, and adjusting the position of the first receiver receiving the medium-angle scattered light according to the first time difference; and calculating the second time difference between the sampling time of the high-angle pulse peak point and the sampling time of the low-angle pulse peak point, and adjusting the position of the second receiver receiving the high-angle scattered light according to the second time difference. The present invention processes the pulse signal through software and identifies various characteristic information, including peak points and time differences between peak points, which are directly used to guide the debugging of optical components, effectively reducing errors caused by human judgment and improving calibration accuracy.

[0100] In one embodiment, Figure 7 As shown, an optical calibration device is proposed, which includes:

[0101] The signal acquisition module 701 is used to acquire the detected low-angle pulse signal, medium-angle pulse signal and high-angle pulse signal;

[0102] a peak point determination module 702 for determining a low-angle pulse interval of a low-angle pulse signal based on a plurality of sampling point sets of the low-angle pulse signal, and determining a low-angle pulse peak point of the low-angle pulse signal within the low-angle pulse interval; wherein each sampling point set includes a plurality of sampling points sequentially sampled from the pulse signal based on a time sequence; and constructing a pulse error interval based on the sampling times of the low-angle pulse interval and the low-angle pulse peak point; and within the pulse error interval, determining a medium-angle pulse peak point of the medium-angle pulse signal based on a plurality of sampling point sets of the medium-angle pulse signal, and determining a high-angle pulse peak point of the high-angle pulse signal based on a plurality of sampling point sets of the high-angle pulse signal;

[0103] Correction module 703 is used to calculate a first time difference between the sampling time of the medium-angle pulse peak point and the sampling time of the low-angle pulse peak point, and adjust the position of the first receiver receiving the medium-angle scattered light according to the first time difference; and calculate a second time difference between the sampling time of the high-angle pulse peak point and the sampling time of the low-angle pulse peak point, and adjust the position of the second receiver receiving the high-angle scattered light according to the second time difference.

[0104] Figure 8 FIG. 1 shows an internal structure diagram of an optical calibration device in one embodiment. Figure 8 As shown, the optical calibration device includes a processor, a memory, and a network interface connected via a system bus. The memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium of the optical calibration device stores an operating system and may also store a computer program. When the computer program is executed by the processor, the processor can implement the optical calibration method. The internal memory may also store a computer program. When the computer program is executed by the processor, the processor can implement the optical calibration method. It will be understood by those skilled in the art that Figure 8 The structure shown in the figure is only a block diagram of a part of the structure related to the scheme of the present application, and does not constitute a limitation on the optical calibration device to which the scheme of the present application is applied. The specific optical calibration device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.

[0105] An optical calibration device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the following steps when executing the computer program: acquiring detected low-angle pulse signals, medium-angle pulse signals, and high-angle pulse signals; determining a low-angle pulse interval of the low-angle pulse signal based on multiple sampling point sets of the low-angle pulse signal, and determining a low-angle pulse peak point of the low-angle pulse signal within the low-angle pulse interval; constructing a pulse error interval based on the low-angle pulse interval and the sampling time of the low-angle pulse peak point, and within the pulse error interval, determining a medium-angle pulse peak point of the medium-angle pulse signal based on multiple sampling point sets of the medium-angle pulse signal, and determining a high-angle pulse peak point of the high-angle pulse signal based on multiple sampling point sets of the high-angle pulse signal; calculating a first time difference between the sampling time of the medium-angle pulse peak point and the sampling time of the low-angle pulse peak point, and adjusting the position of a first receiver for receiving medium-angle scattered light according to the first time difference; calculating a second time difference between the sampling time of the high-angle pulse peak point and the sampling time of the low-angle pulse peak point, and adjusting the position of a second receiver for receiving high-angle scattered light according to the second time difference.

[0106] A computer-readable storage medium stores a computer program, which implements the following steps when executed by a processor: determining a low-angle pulse interval of a low-angle pulse signal based on multiple sampling point sets of the low-angle pulse signal, and determining a low-angle pulse peak point of the low-angle pulse signal within the low-angle pulse interval; constructing a pulse error interval based on the sampling time of the low-angle pulse interval and the low-angle pulse peak point, and within the pulse error interval, determining a medium-angle pulse peak point of a medium-angle pulse signal based on multiple sampling point sets of the medium-angle pulse signal, and determining a high-angle pulse peak point of the high-angle pulse signal based on multiple sampling point sets of the high-angle pulse signal; calculating a first time difference between the sampling time of the medium-angle pulse peak point and the sampling time of the low-angle pulse peak point, and adjusting the position of a first receiver for receiving medium-angle scattered light according to the first time difference; calculating a second time difference between the sampling time of the high-angle pulse peak point and the sampling time of the low-angle pulse peak point, and adjusting the position of a second receiver for receiving high-angle scattered light according to the second time difference.

[0107] It should be noted that the above-mentioned optical calibration method, device, equipment and computer-readable storage medium belong to a general inventive concept, and the contents of the embodiments of the optical calibration method, device, equipment and computer-readable storage medium are applicable to each other.

[0108] Those skilled in the art will appreciate that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing the relevant hardware through a computer program, which can be stored in a non-volatile computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile 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. As an illustration and not limitation, RAM is available in many 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).

[0109] The technical features of the above embodiments can be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0110] The above embodiments merely illustrate several implementation methods of the present application. While the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the present invention. It should be noted that a person skilled in the art could make various modifications and improvements without departing from the spirit of the present invention, all of which fall within the scope of protection of the present invention. Therefore, the scope of protection of the present invention shall be determined by the appended claims.

Claims

1. An optical calibration method, characterized in that: The method is applied to an optical system, and the method comprises: Acquire detected low-angle pulse signals, medium-angle pulse signals, and high-angle pulse signals, wherein the low-angle pulse signal is obtained by converting low-angle scattered light received by a third receiver in the optical system, the medium-angle pulse signal is obtained by converting medium-angle scattered light received by a first receiver in the optical system, and the high-angle pulse signal is obtained by converting high-angle scattered light received by a second receiver in the optical system; Determining a low-angle pulse interval of the low-angle pulse signal according to a plurality of sampling point sets of the low-angle pulse signal, and determining a low-angle pulse peak point of the low-angle pulse signal within the low-angle pulse interval; wherein each sampling point set includes a plurality of sampling points obtained by sequentially sampling from the pulse signal based on a time sequence; Constructing a pulse error interval according to the low-angle pulse interval and the sampling time of the low-angle pulse peak point, and within the pulse error interval, determining the medium-angle pulse peak point of the medium-angle pulse signal according to a plurality of sampling point sets of the medium-angle pulse signal, and determining the high-angle pulse peak point of the high-angle pulse signal according to a plurality of sampling point sets of the high-angle pulse signal; Calculating a first time difference between a sampling time of the medium-angle pulse peak point and a sampling time of the low-angle pulse peak point, and adjusting a position of a first receiver for receiving medium-angle scattered light according to the first time difference; Calculating a second time difference between a sampling time of the high-angle pulse peak point and a sampling time of the low-angle pulse peak point, and adjusting a position of a second receiver for receiving high-angle scattered light according to the second time difference; The constructing of a pulse error interval according to the low-angle pulse interval and the sampling time of the low-angle pulse peak point includes: Calculating a first absolute value of the difference between the sampling time of the low-angle pulse peak point and the sampling time of the low-angle pulse starting point, and calculating a second absolute value of the difference between the sampling time of the low-angle pulse peak point and the sampling time of the low-angle pulse ending point; The smaller value between the first difference absolute value and the second difference absolute value is used as the error value, and the interval between the first error sampling time and the second error sampling time is used as the pulse error interval; wherein, the first error sampling time is the sampling time of the starting point of the low-angle pulse minus the error value, and the second error sampling time is the sampling time of the ending point of the low-angle pulse plus the error value.

2. The method according to claim 1, characterized in that Each sampling point set includes a first sampling point, a second sampling point, and a third sampling point whose sampling times increase in sequence. Determining the low-angle pulse interval of the low-angle pulse signal according to the multiple sampling point sets of the low-angle pulse signal includes: When each low-angle pulse interval is determined, the sampling point set that first meets the starting point condition is used as the first sampling point set, and the first sampling point in the first sampling point set is used as the low-angle pulse starting point; wherein the first sampling point set is any one of multiple sampling point sets of the low-angle pulse signal, the starting point condition is that the difference between the first voltage difference and the second voltage difference is greater than the obtained threshold value, the first voltage difference is the difference between the voltage value of the third sampling point and the voltage value of the second sampling point, and the second voltage difference is the difference between the voltage value of the second sampling point and the voltage value of the first sampling point; The sampling point set that first meets the endpoint condition is used as the second sampling point set, and the first sampling point in the second sampling point set is used as the low-angle pulse termination point; wherein the second sampling point set is any one of multiple sampling point sets of the low-angle pulse signal, and the endpoint condition is that the voltage value of the first sampling point in the second sampling point set is less than the sum of the voltage value of the first sampling point in the first sampling point set and a preset voltage threshold; The interval between the sampling time of the low-angle pulse starting point and the sampling time of the low-angle pulse ending point is used as the low-angle pulse interval.

3. The method according to claim 2, characterized in that The method further comprises: The threshold is set to be proportional to the currently acquired fluid path flow rate; wherein the fluid path flow rate is the speed at which the liquid to be measured flows through the flow chamber; And under the premise that the negative pressure of the liquid path remains unchanged, the threshold is set to be proportional to the diameter of the flow chamber.

4. The method according to claim 2, characterized in that Determining the low-angle pulse peak point of the low-angle pulse signal within the low-angle pulse interval includes: In the low-angle pulse interval, a sampling point set that first meets the peak point condition is used as a third sampling point set, and a second sampling point in the third sampling point set is used as a low-angle pulse peak point; wherein the peak point condition is that a voltage value of the second sampling point is greater than a voltage value of the first sampling point and greater than a voltage value of the third sampling point.

5. The method according to claim 2, characterized in that Before taking the interval between the sampling time of the low-angle pulse starting point and the sampling time of the low-angle pulse ending point as the low-angle pulse interval, the method further includes: Calculating the low-angle pulse width according to the sampling time of the low-angle pulse starting point and the sampling time of the low-angle pulse ending point; If the low-angle pulse width is within a preset pulse width range, it is determined that the low-angle pulse starting point and the low-angle pulse ending point are valid.

6. The method according to claim 1, characterized in that The first receiver receives medium-angle scattered light emitted from the flow chamber, and the first receiver is arranged to be perpendicular to a first optical path of the medium-angle scattered light. The second receiver receives high-angle scattered light emitted from the flow chamber, and the second receiver is arranged to be perpendicular to a second optical path of the high-angle scattered light. Adjusting the position of the first receiver for receiving the medium-angle scattered light according to the first time difference includes: If the first time difference is a positive value, controlling the first receiver to move toward the flow chamber and in a direction parallel to the first optical path until the first time difference is 0; If the first time difference is a negative value, controlling the first receiver to move in a direction away from the flow chamber and parallel to the first optical path until the first time difference is 0; The adjusting the position of the second receiver for receiving the high-angle scattered light according to the second time difference includes: If the second time difference is a positive value, controlling the second receiver to move toward the flow chamber and in a direction parallel to the second optical path until the second time difference is 0; If the second time difference is a negative value, the second receiver is controlled to move in a direction away from the flow chamber and parallel to the second optical path until the second time difference is zero.

7. An optical calibration device, characterized in that: The optical calibration device is applied to an optical system, and the device comprises: a signal acquisition module, configured to acquire detected low-angle pulse signals, medium-angle pulse signals, and high-angle pulse signals, wherein the low-angle pulse signal is obtained by converting low-angle scattered light received by a third receiver in the optical system, the medium-angle pulse signal is obtained by converting medium-angle scattered light received by a first receiver in the optical system, and the high-angle pulse signal is obtained by converting high-angle scattered light received by a second receiver in the optical system; a peak point determination module, configured to determine a low-angle pulse interval of the low-angle pulse signal based on a plurality of sampling point sets of the low-angle pulse signal, and determine a low-angle pulse peak point of the low-angle pulse signal within the low-angle pulse interval; wherein each sampling point set includes a plurality of sampling points sequentially sampled from the pulse signal based on a time sequence; and construct a pulse error interval based on the sampling times of the low-angle pulse interval and the low-angle pulse peak point, and within the pulse error interval, determine a medium-angle pulse peak point of the medium-angle pulse signal based on a plurality of sampling point sets of the medium-angle pulse signal, and determine a high-angle pulse peak point of the high-angle pulse signal based on a plurality of sampling point sets of the high-angle pulse signal; a correction module, configured to calculate a first time difference between a sampling time of the medium-angle pulse peak point and a sampling time of the low-angle pulse peak point, and adjust a position of a first receiver for receiving medium-angle scattered light according to the first time difference; and calculate a second time difference between a sampling time of the high-angle pulse peak point and a sampling time of the low-angle pulse peak point, and adjust a position of a second receiver for receiving high-angle scattered light according to the second time difference; The peak point determination module is specifically used to: calculate the first absolute value of the difference between the sampling time of the low-angle pulse peak point and the sampling time of the low-angle pulse starting point, and calculate the second absolute value of the difference between the sampling time of the low-angle pulse peak point and the sampling time of the low-angle pulse ending point; use the smaller value between the first absolute value of the difference and the second absolute value of the difference as the error value, and use the interval between the first error sampling time and the second error sampling time as the pulse error interval; wherein, the first error sampling time is the sampling time of the low-angle pulse starting point minus the error value, and the second error sampling time is the sampling time of the low-angle pulse ending point plus the error value.

8. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the processor is caused to perform the steps of the method according to any one of claims 1 to 6.

9. An optical calibration device comprising a memory and a processor, characterized in that: The memory stores a computer program, and when the computer program is executed by the processor, the processor is caused to perform the steps of the method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Pulse recognition method and device, storage medium, equipment and blood cell analyzer

    CN114674729A

  • Five-classification blood analyzer pulse identification method and device

    CN115372262A