Test paper identification and result interpretation method and system based on multi-wavelength light source and medium

By using multi-wavelength light sources and dynamic threshold technology, the automated and accurate identification and result interpretation of HCG and LH test strips have been achieved, solving the problems of complex operation, high risk of misselection and poor environmental adaptability in existing technologies, and improving the accuracy and reliability of detection.

CN121068587AActive Publication Date: 2025-12-05GUANGZHOU WONDFO HEALTH TECH CO LTD

Patent Information

Application Number
CN202511607455.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-11-05
Publication Date
2025-12-05
Estimated Expiration
2045-11-05

AI Technical Summary

Technical Problem

In the existing technology, the automated identification and result interpretation of HCG and LH test strips have problems such as complicated operation, high risk of human error, low identification accuracy and poor environmental adaptability, especially the test results are unstable in complex environments.

Method used

By employing a multi-wavelength light source combined with dynamic threshold technology, the test strip area is precisely located, the reflected light ratio and difference are calculated, a two-level threshold judgment logic is constructed, and a dynamic judgment threshold is generated, enabling automatic differentiation of test strip types and accurate interpretation of test results.

Benefits of technology

It improves the accuracy and reliability of test strip recognition, reduces the risk of manual selection, enhances the system's adaptability to different batches and complex environments, and ensures the accuracy and consistency of test results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121068587A_ABST
    Figure CN121068587A_ABST
Patent Text Reader

Abstract

The invention provides a test paper identification and result interpretation method and system based on a multi-wavelength light source and a medium. Firstly, coordinate positions of a type identification area, a control line area and a detection line area on test paper are accurately positioned; irradiating the type identification area according to a preset sequence, calculating a reflected light ratio and a difference value of a specific wavelength combination, and comparing the reflected light ratio and the difference value with a preset threshold value to automatically judge the type of the test paper; selecting a corresponding wavelength light source to irradiate a control line region according to the type of the test paper, and starting multi-wavelength scanning to generate a dynamic judgment threshold when the intensity of reflected light is lower than a preset first reflected light threshold; and finally, detecting the detection line area by adopting a type adaptive wavelength, and outputting a final interpretation result by comparing the reflected light intensity with a dynamic threshold value. Through the multi-wavelength optical feature recognition and dynamic threshold technology, automatic distinguishing of test paper types and accurate interpretation of detection results are achieved, and the adaptability, accuracy and reliability of a detection system are improved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the field of medical test paper identification and result interpretation, more specifically, to a test paper identification and result interpretation method, system and medium based on multi-wavelength light source. BACKGROUND

[0002] In the field of automatic test paper identification technology of medical detection equipment, it is a technical difficulty to realize the automatic and accurate identification and result interpretation of HCG (human chorionic gonadotropin) test paper or LH (luteinizing hormone) test paper. First, in the prior art, the user generally manually selects the test paper type, which not only increases the operation complexity, but also introduces the risk of human error selection, which may cause serious misdiagnosis consequences. Secondly, the traditional identification method mostly uses single-wavelength light source and fixed threshold value judgment, which cannot effectively cope with the changes in optical characteristics caused by test paper batch difference, environmental interference and other factors, resulting in a significant decrease in identification accuracy. Then, the existing system lacks a multi-dimensional verification mechanism for the control line state, and when the control line reaction is weak or abnormal, the system often cannot accurately identify the test paper failure, directly affecting the reliability of the detection result. Finally, the existing technical solutions have poor adaptability to environmental light interference, and lack the ability to dynamically adjust the detection parameters according to the signal quality, and their performance is unstable in complex use environment.

[0003] Therefore, there is an urgent need for a test paper identification and result interpretation technology based on multi-wavelength light source to improve detection accuracy and reliability. SUMMARY

[0004] In view of the above problems, the purpose of the present application is to provide a test paper identification and result interpretation method, system and medium based on multi-wavelength light source, which realizes the automatic differentiation of test paper type and the accurate interpretation of detection result through the combination of multi-wavelength optical feature identification and dynamic threshold technology, and eliminates the risk of misoperation of manual selection of test paper type. Specifically, first, through precise mechanical positioning and coordinate calculation, the accuracy of optical detection is ensured, providing a reliable foundation for subsequent optical measurement; secondly, through the calculation of the reflectance ratio and difference of specific wavelength combination, robust optical feature parameters are extracted, overcoming the limitations of single-wavelength detection; then, through the two-stage progressive threshold judgment logic, a reliable test paper type discrimination mechanism is constructed, improving the accuracy of type identification; at the same time, a multi-wavelength spectral scanning and weighted calculation model is used to generate a dynamic judgment threshold that adapts to the actual test paper state, solving the problem of poor adaptability of fixed threshold; finally, through type-specific wavelength selection and dynamic threshold comparison, the accurate discrimination of detection result is realized, ensuring the accuracy of qualitative interpretation.

[0005] The first aspect of the present application provides a test paper identification and result interpretation method based on multi-wavelength light source, which comprises:

[0006] determining coordinate positions of a type identification area, a control line area and a detection line area on the test paper in response to a test paper insertion signal;

[0007] irradiating the type identification area according to a first light source sequence according to the coordinate positions, obtaining a first reflection light ratio and a first reflection light difference;

[0008] comparing the first reflection light ratio and the first reflection light difference with preset first and second thresholds respectively, obtaining test paper type information;

[0009] selecting a first wavelength light source to irradiate the control line area according to the test paper type information, obtaining first reflection light information;

[0010] if the first reflection light information is lower than a preset first reflection light threshold, obtaining a dynamic determination threshold based on reflection light intensity of the control line area under multiple wavelengths;

[0011] selecting a second wavelength light source to irradiate the detection line area according to the test paper type information, obtaining second reflection light information;

[0012] comparing the second reflection light information with the dynamic determination threshold, obtaining a test paper interpretation result.

[0013] In the scheme, the determination of the coordinate positions of the type identification area, the control line area and the detection line area on the test paper in response to the test paper insertion signal specifically includes:

[0014] controlling the step motor to start in response to a test paper insertion trigger signal detected by the photoelectric sensor;

[0015] controlling the step motor to pull the test paper to the optical detection platform according to a preset pulling step number;

[0016] obtaining a reference position coordinate of the test paper on the optical detection platform through the position sensor;

[0017] based on the reference position coordinate, calculating the center coordinates of the type identification area, the control line area and the detection line area according to preset test paper area layout data;

[0018] storing the area coordinate information to a coordinate register and outputting a coordinate ready signal.

[0019] In the scheme, the irradiation of the type identification area according to the coordinate positions and the first light source sequence to obtain the first reflection light ratio and the first reflection light difference specifically includes:

[0020] controlling the multi-wavelength light source to irradiate the type identification area in turn according to a preset first light source sequence;

[0021] Synchronously control the photoelectric sensor to collect corresponding reflected light intensity values under the irradiation of each wavelength light source;

[0022] Store the collected reflected light intensity values into reflected light intensity registers in sequence;

[0023] According to the reflected intensity values of the first identification wavelength light and the reflected intensity values of the second identification wavelength light, calculate a ratio to obtain a first reflected light ratio;

[0024] According to the reflected intensity values of the third identification wavelength light and the reflected intensity values of the fourth identification wavelength light, calculate a difference to obtain a first reflected light difference.

[0025] In the scheme, the first reflected light ratio and the first reflected light difference are compared with preset first and second thresholds respectively to obtain test paper type information, which specifically includes:

[0026] Determine whether the first reflected light ratio is lower than the first threshold;

[0027] If yes, determine that the test paper is invalid;

[0028] If no, determine whether the first reflected light difference is lower than the second threshold;

[0029] If yes, determine that the test paper type information is HCG test paper;

[0030] If no, determine that the test paper type information is LH test paper.

[0031] In the scheme, the dynamic determination threshold is obtained based on the reflected light intensity of the control line region under multiple wavelengths, which specifically includes:

[0032] Control the multiple wavelength light sources to irradiate the control line region in sequence according to a preset second light source sequence and collect the reflected light intensity under each wavelength;

[0033] According to the test paper type information, select a corresponding weighting factor;

[0034] Input the collected multiple wavelength reflected light intensity values into a preset dynamic threshold weighted calculation model;

[0035] Based on the calculation result of the dynamic threshold weighted calculation model, obtain a dynamic determination threshold.

[0036] In the scheme, the test paper interpretation result is obtained by comparing the second reflected light information with the dynamic determination threshold, which specifically includes:

[0037] Control the second wavelength light source to irradiate the detection line region and collect reflected light to obtain second reflected light information;

[0038] Determine whether the second reflected light information is lower than the dynamic determination threshold;

[0039] If yes, output negative judgment information;

[0040] If no, output positive judgment information;

[0041] Combining the judgment information and the test paper type information, a test paper judgment result is generated.

[0042] The second aspect of the present application provides a test paper identification and result judgment system based on a multi-wavelength light source, comprising a test paper identification and result judgment method program based on a multi-wavelength light source, which realizes the following steps when executed by the processor:

[0043] In response to a test paper insertion signal, the coordinate positions of the type identification area, the control line area and the detection line area on the test paper are determined;

[0044] According to the coordinate positions, the type identification area is irradiated according to a first light source sequence to obtain a first reflection light ratio and a first reflection light difference;

[0045] According to the first reflection light ratio and the first reflection light difference, the test paper type information is obtained by comparing them with preset first and second thresholds, respectively;

[0046] According to the test paper type information, the control line area is irradiated by a first wavelength light source to obtain first reflection light information;

[0047] If the first reflection light information is lower than a preset first reflection light threshold, a dynamic judgment threshold is obtained based on the reflection light intensity of the control line area under multiple wavelengths;

[0048] According to the test paper type information, the detection line area is irradiated by a second wavelength light source to obtain second reflection light information;

[0049] The test paper judgment result is obtained by comparing the second reflection light information with the dynamic judgment threshold.

[0050] In this scheme, in response to the test paper insertion signal, the coordinate positions of the type identification area, the control line area and the detection line area on the test paper are determined, which specifically includes:

[0051] In response to the test paper insertion trigger signal detected by the photoelectric sensor, the step motor is controlled to start;

[0052] According to the preset traction step number, the step motor is controlled to pull the test paper to the optical detection platform;

[0053] The reference position coordinates of the test paper on the optical detection platform are obtained by the position sensor;

[0054] Based on the reference position coordinates, the center coordinates of the type identification area, the center coordinates of the control line area and the center coordinates of the detection line area are calculated according to preset test paper area layout data.

[0055] The region coordinate information is stored in the coordinate register, and a coordinate ready signal is output.

[0056] In the scheme, the type identification area is irradiated according to the first light source sequence according to the coordinate position to obtain the first reflection light ratio and the first reflection light difference, and specifically includes:

[0057] The multi-wavelength light source is controlled to irradiate the type identification area in the preset first light source sequence;

[0058] When each wavelength light source is irradiated, the photoelectric sensor is synchronously controlled to collect the corresponding reflection light intensity value;

[0059] The collected reflection light intensity value is sequentially stored in the reflection light intensity register;

[0060] The first reflection light ratio is calculated according to the reflection intensity value of the first identification wavelength light and the reflection intensity value of the second identification wavelength light;

[0061] The first reflection light difference is calculated according to the reflection intensity value of the third identification wavelength light and the reflection intensity value of the fourth identification wavelength light.

[0062] The third aspect of the present application provides a computer readable storage medium, the computer readable storage medium includes a test paper identification and result interpretation method based on a multi-wavelength light source program, when the test paper identification and result interpretation method based on the multi-wavelength light source program is executed by the processor, the steps of the test paper identification and result interpretation method based on the multi-wavelength light source are realized.

[0063] The present application provides a test paper identification and result interpretation method, system and medium based on a multi-wavelength light source, which firstly accurately positions the coordinate positions of the type identification area, the control line area and the detection line area on the test paper; then irradiates the type identification area according to the preset sequence, automatically distinguishes the test paper type by calculating the reflection light ratio and difference of specific wavelength combinations and comparing with the preset threshold value; then irradiates the control line area according to the corresponding wavelength light source selected according to the test paper type, starts multi-wavelength scanning to generate a dynamic judgment threshold when the reflection light intensity is lower than the preset first reflection light threshold value; finally, the type adaptation wavelength detection is used to detect the detection line area, and the final interpretation result is output by comparing the reflection light intensity with the dynamic threshold value; the present application realizes the automatic distinction of test paper type and the accurate interpretation of detection result by using multi-wavelength optical feature recognition and dynamic threshold value technology, and improves the adaptability, accuracy and reliability of the detection system. BRIEF DESCRIPTION OF DRAWINGS

[0064] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the embodiments will be briefly introduced as follows. It should be understood that the following drawings only show some of the embodiments of the present application, and therefore should not be regarded as a limitation on the scope.

[0065] Figure 1 A flow chart of a test paper recognition and result interpretation method based on a multi-wavelength light source is shown;

[0066] Figure 2 A positioning flow chart of a test paper partition coordinate is shown;

[0067] Figure 3 A calculation flow chart of a reflected light ratio and difference is shown;

[0068] Figure 4 A block diagram of a test paper recognition and result interpretation system based on a multi-wavelength light source is shown. DETAILED DESCRIPTION

[0069] The technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, but not all the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the scope of the present application.

[0070] Unless otherwise defined, all the terms (including technical and scientific terms) used in the embodiments of the present application have the same meanings commonly understood by those of ordinary skill in the art to which the present application belongs. It should also be understood that the terms such as those defined in the general dictionary should be interpreted as having meanings consistent with their meanings in the context of the relevant art, and should not be interpreted in an idealized or overly formal sense, unless the embodiments of the present application explicitly define them.

[0071] The terms "first", "second", and similar terms do not denote any order, quantity, or importance, but are used to distinguish different components. The terms "one", "a", or "the" do not denote a quantity restriction, but mean that at least one exists. The terms "include" or "contain" and similar terms mean that the elements or objects before the terms encompass the elements or objects listed after the terms and their equivalents, without excluding other elements or objects. The terms "connect" or "connected" and similar terms are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. The steps before or after the methods of the embodiments are not necessarily performed in order. Instead, the steps can be processed in reverse order or simultaneously. Other operations can also be added to the processes, or one or more steps can be removed from the processes.

[0072] In addition, the functional modules in the various embodiments of the application can be integrated together to form an independent part, or each module can exist independently, or two or more modules can be integrated to form an independent part.

[0073] Figure 1 A flowchart of a test paper recognition and result interpretation method based on a multi-wavelength light source is shown.

[0074] As shown in Figure 1 The first aspect of the application discloses a test paper recognition and result interpretation method based on a multi-wavelength light source, which comprises:

[0075] S102, in response to a test paper insertion signal, determining the coordinate positions of a type identification area, a control line area, and a detection line area on the test paper;

[0076] S104, according to the coordinate positions, irradiating the type identification area according to a first light source sequence to obtain a first reflection light ratio and a first reflection light difference;

[0077] S106, comparing the first reflection light ratio and the first reflection light difference with preset first and second threshold values, respectively, to obtain test paper type information;

[0078] S108, according to the test paper type information, selecting a first wavelength light source to irradiate the control line area to obtain first reflection light information;

[0079] S110, if the first reflection light information is lower than a preset first reflection light threshold value, obtaining a dynamic determination threshold value based on the reflection light intensity of the control line area under multiple wavelengths;

[0080] S112, according to the test paper type information, selecting a second wavelength light source to irradiate the detection line area to obtain second reflection light information;

[0081] S114, comparing the second reflected light information with the dynamic determination threshold to obtain a test paper interpretation result.

[0082] It should be noted that the first reflected light ratio is the ratio of the reflected light intensity obtained by irradiating the type identification area with first identification wavelength light (such as blue light) and second identification wavelength light (such as green light); the first reflected light difference is the difference of the reflected light intensity obtained by irradiating the type identification area with third identification wavelength light (red light) and fourth identification wavelength light (such as infrared red light); the first wavelength light source is a sensitive wavelength light source corresponding to the control line area of the test paper type; the first reflected light information is the reflected light intensity of the control line area for the first wavelength light source; and the second wavelength light source is a sensitive wavelength light source corresponding to the detection line area of the test paper type; and the second reflected light information is the reflected light intensity of the detection line area for the second wavelength light source.

[0083] In the embodiment, first, the coordinate positions of the type identification area, the control line area and the detection line area on the test paper are accurately positioned. Second, the type identification area is irradiated according to a preset first light source sequence, the first reflected light ratio is obtained by calculating the ratio of the reflected intensities of the first identification wavelength light and the second identification wavelength light, and the first reflected light difference is obtained by calculating the difference of the reflected intensities of the third identification wavelength light and the fourth identification wavelength light. Then, the two key optical parameters are compared with the preset first threshold and the second threshold respectively, so as to intelligently identify the test paper type information. After the test paper type is determined, the control line area is irradiated by the corresponding first wavelength light source according to the type information, so as to obtain the first reflected light information. If the first reflected light information is lower than the preset first reflected light threshold, the determination threshold is dynamically generated based on the reflected light intensities of the control line area under multiple wavelengths according to a preset weighting algorithm. Finally, the detection line area is irradiated by the second wavelength light source according to the test paper type information, so as to obtain the second reflected light information; and the complete interpretation result containing the test paper type and the negative / positive state is finally output by comparing the second reflected light information with the dynamic determination threshold.

[0084] The embodiment realizes the automatic and accurate identification of the HCG and LH test papers by comprehensively utilizing the multi-wavelength optical characteristics, and eliminates the error risk of relying on manual selection of the test paper type in the traditional method. At the same time, the dynamically generated determination threshold is used to replace the fixed threshold, so as to improve the adaptability to different batches of test papers and complex environmental conditions. In addition, the type identification and the result interpretation are organically integrated into the same optical detection platform, which not only simplifies the hardware structure but also guarantees the efficiency and consistency of the detection process.

[0085] Figure 2 A positioning flowchart of test paper partition coordinates provided by the embodiment of the application is shown.

[0086] According to the embodiment of the application, asFigure 2 As shown, the response to the test paper insertion signal, the coordinate position of the type identification area, the control line area and the detection line area on the test paper is determined, specifically comprising:

[0087] S202, in response to the test paper insertion trigger signal detected by the photoelectric sensor, the step motor is controlled to start;

[0088] S204, according to the preset traction step number, the step motor is controlled to pull the test paper to the optical detection platform;

[0089] S206, the reference position coordinates of the test paper on the optical detection platform are obtained by the position sensor;

[0090] S208, based on the reference position coordinates, the center coordinates of the type identification area, the center coordinates of the control line area and the center coordinates of the detection line area are calculated according to the preset test paper area layout data;

[0091] S210, the region coordinate information is stored to the coordinate register, and a coordinate ready signal is output.

[0092] It should be noted that in this embodiment, when the photoelectric sensor detects the test paper insertion trigger signal, the step motor is immediately controlled to start running. According to the pre-set traction step number parameter, the step motor is driven to accurately pull the test paper to the specified detection position of the optical detection platform. Then the reference position coordinates of the test paper on the platform are obtained by the high-precision position sensor; wherein the reference position coordinates are used as the reference origin for subsequent region calculation. Then, based on the reference coordinates, combined with the pre-stored test paper area layout data, which includes the offset and size information of each region relative to the reference point, the accurate center coordinates of the type identification area, the control line area and the detection line area are calculated by the coordinate transformation algorithm. Finally, the coordinate information of all regions is stored in the special coordinate register, and a coordinate ready signal is output to trigger the subsequent optical detection process.

[0093] This embodiment realizes the high accuracy of test paper positioning through the cooperative control of the step motor and the position sensor, which lays a solid foundation for the accuracy of subsequent optical detection. The coordinate register is used to store the region position information, so as to realize the rapid response and execute the sequence detection of multiple regions, and improve the overall detection efficiency. The standardized positioning process provided by this embodiment effectively overcomes the detection region deviation problem caused by the deviation of the test paper insertion position, ensures that the optical probe is always aligned with the correct detection region, and thus ensures the consistency and reliability of the measurement result.

[0094] Figure 3 A flow chart of calculating the reflection light ratio and the difference value is shown.

[0095] According to the embodiment of the present application, as Figure 3As shown, the first reflection light ratio and the first reflection light difference are obtained by irradiating the type identification area according to the first light source sequence according to the coordinate position, and specifically comprising:

[0096] S302, control the multi-wavelength light source to irradiate the type identification area according to the preset first light source sequence;

[0097] S304, synchronously control the photoelectric sensor to collect the corresponding reflection light intensity value when each wavelength light source irradiates;

[0098] S306, store the collected reflection light intensity value into the reflection light intensity register;

[0099] S308, calculate the ratio value to obtain the first reflection light ratio according to the reflection intensity value of the first identification wavelength light and the reflection intensity value of the second identification wavelength light;

[0100] S310, calculate the difference value to obtain the first reflection light difference according to the reflection intensity value of the third identification wavelength light and the reflection intensity value of the fourth identification wavelength light.

[0101] It should be noted that in this embodiment, first, the multi-wavelength light source module irradiates the type identification area of the test paper according to the preset first light source sequence; wherein the light source sequence defines the opening sequence and duration of different wavelength light sources. During the irradiation period of each wavelength light source, the photoelectric sensor is synchronously controlled to collect the corresponding reflection light intensity analog signal, and the analog-to-digital converter is used to convert it into digital quantity. These digitized reflection light intensity values are stored into the special reflection light intensity register one by one, forming a complete optical feature data set. Then, the processing unit reads the reflection intensity values of the first identification wavelength light and the second identification wavelength light from the register, and obtains the first reflection light ratio through division operation; at the same time, reads the reflection intensity values of the third identification wavelength light and the fourth identification wavelength light, and obtains the first reflection light difference through subtraction operation; the above reflection light ratio and reflection light difference are used as optical parameters, which provide key feature input for subsequent test paper type identification.

[0102] This embodiment combines the ratio and difference calculation methods to eliminate the interference of uneven environmental light and test paper background color difference on the measurement results, and extracts stable optical feature parameters. The control strategy of sequential irradiation and synchronous collection ensures the consistency of multi-wavelength optical data in time and space, and provides high-quality data basis for accurate identification. At the same time, the optical parameter calculation process is standardized and modularized, so as to quickly adapt to the identification needs of different types of test paper, and only need to adjust the light source sequence and calculation logic to expand the identification ability.

[0103] According to the embodiment of the present application, the first reflection light ratio and the first reflection light difference are compared with the preset first threshold value and the second threshold value respectively to obtain the test paper type information, and the method specifically comprises the following steps:

[0104] determining whether the first reflection light ratio is lower than the first threshold value;

[0105] if yes, determining that the test paper is invalid;

[0106] if no, determining whether the first reflection light difference is lower than the second threshold value;

[0107] if yes, determining that the test paper type information is HCG test paper;

[0108] if no, determining that the test paper type information is LH test paper.

[0109] It should be noted that in the embodiment, firstly, it is determined whether the first reflection light ratio is lower than the preset first threshold value; if yes, it is determined that the test paper is invalid and the process is terminated, wherein this step is used as the primary screening condition for the validity of the test paper. If the first reflection light ratio is higher than the first threshold value, it is continued to be determined whether the first reflection light difference is lower than the preset second threshold value. If the first reflection light difference is lower than the second threshold value, it is determined that the test paper type is HCG test paper; if the first reflection light difference is higher than the second threshold value, it is determined that the test paper type is LH test paper. The whole judgment process in the embodiment forms a two-level progressive decision logic, and the final output of the test paper type information will directly determine the wavelength selection scheme and parameter calculation strategy used in the detection of the control line area and the detection line area.

[0110] The two-level threshold value judgment mechanism in the embodiment not only ensures the reliability of the test paper validity test, but also realizes high-precision differentiation of HCG and LH test papers, thereby reducing the risk of type misjudgment. The type recognition process is designed as an explicit binary decision tree structure, so that the discrimination logic is clear and efficient. In addition, the embodiment utilizes the complementarity of the multi-wavelength optical characteristics, uses the ratio parameter to test the test paper quality, uses the difference parameter to distinguish the test paper type, and forms a complete and efficient test paper type recognition process.

[0111] According to the embodiment of the present application, the dynamic determination threshold value is obtained based on the reflection light intensity of the control line area under multiple wavelengths, and the method specifically comprises the following steps:

[0112] controlling the multi-wavelength light source to irradiate the control line area in a preset second light source sequence to collect the reflection light intensity under each wavelength;

[0113] selecting a corresponding weighting factor according to the test paper type information;

[0114] inputting the collected multi-wavelength reflection light intensity value into a preset dynamic threshold value weighting calculation model;

[0115] Based on the calculation result of the dynamic threshold weighting calculation model, a dynamic determination threshold is obtained.

[0116] It should be noted that in the present embodiment, when the first reflected light information of the control line area is lower than the preset threshold, the multi-wavelength spectral scanning process is automatically started. By controlling the multi-wavelength light source to irradiate the control line area according to the preset second light source sequence in turn, and synchronously collecting the reflected light intensity values under each wavelength to form complete spectral response data. Then, according to the identified test paper type information, a corresponding weighting factor combination is selected from the preset parameter library, wherein the weighting factor reflects the influence degree of different wavelengths on the interpretation result of a specific test paper type. The collected multi-wavelength reflected light intensity values and the corresponding weighting factors are input into the preset dynamic threshold weighting calculation model, and through the comprehensive operation of weighted summation and nonlinear transformation, a dynamic determination threshold matching the actual reaction state of the current test paper and the environmental conditions is generated. Finally, the dynamic determination threshold is output as a reference value for the subsequent detection line area result interpretation, replacing the traditional fixed threshold.

[0117] The present embodiment realizes comprehensive weighting calculation of multi-wavelength spectral information, so that the determination threshold can adapt to the process differences between different batches of test papers and complex environmental conditions, thereby improving the accuracy and consistency of the interpretation result. Among them, the introduction of test paper type specific weighting factor makes the threshold generation process targeted, and can fully reflect the specific reaction characteristics of HCG and LH test paper under different wavelengths. In addition, the dynamic threshold mechanism effectively overcomes the interpretation deviation problem caused by factors such as test paper aging, changes in environmental temperature and humidity, etc. in the traditional fixed threshold method, thereby improving the reliability and application range of the test paper detection.

[0118] According to the embodiment of the present application, the comparison of the second reflected light information and the dynamic determination threshold obtains the test paper interpretation result, specifically comprising:

[0119] The second wavelength light source irradiates the detection line area, and the reflected light is collected to obtain the second reflected light information;

[0120] Judge whether the second reflected light information is lower than the dynamic determination threshold;

[0121] If yes, output negative interpretation information;

[0122] If not, output positive interpretation information;

[0123] Combine the interpretation information and the test paper type information to generate the test paper interpretation result.

[0124] It should be noted that in the present embodiment, the corresponding second wavelength light source is selected to irradiate the detection line area according to the determined test paper type information, and quantitative second reflected light information is obtained by collecting the reflected light signal through the photosensor. The second reflected light information is compared with the dynamic determination threshold value, and it is determined whether it is lower than the dynamic threshold value. If the second reflected light information is lower than the dynamic determination threshold value, the negative judgment information is output, indicating that the concentration of the target substance in the detection sample does not reach the detection limit. If the second reflected light information is higher than or equal to the dynamic determination threshold value, the positive judgment information is output, indicating that there is a sufficient concentration of the target substance in the detection sample. Finally, the negative / positive judgment information and the test paper type information are logically combined to generate a complete judgment result containing the test paper type and the detection result, and output to the display module or the communication interface.

[0125] The present embodiment realizes accurate discrimination of detection results of different test papers by combining type-specific wavelength selection with dynamic threshold comparison, avoiding false positive or false negative problems caused by wavelength mismatch or unreasonable threshold. Among them, a unified judgment logic framework is used to process the result output of different types of test papers, which not only ensures the simplicity of the architecture, but also ensures the consistency of the judgment standard. In addition, the final output combined result contains the test paper type identification and the detection judgment information, which is convenient for users to understand and use.

[0126] It is worth mentioning that before the irradiation operation is performed, it also includes:

[0127] Real-time collection of ambient light intensity in the optical detection chamber;

[0128] Judging whether the ambient light intensity exceeds the preset ambient light intensity safety threshold;

[0129] If yes, output light leakage abnormal alarm;

[0130] If no, it is judged whether the ambient light intensity exceeds the preset ambient light intensity stability threshold;

[0131] If yes, start light source compensation mechanism;

[0132] Control the multi-wavelength light source to emit test light intensity in turn according to the compensation sequence, and collect the reflected intensity under the influence of ambient light at each wavelength;

[0133] Based on the deviation of the reflected intensity of each wavelength, an ambient light compensation coefficient mapping table is established;

[0134] According to the compensation coefficient mapping table, the reflected light intensity in the detection is compensated in real time.

[0135] It should be noted that in the present embodiment, before formal optical detection is performed, the ambient light intensity data in the optical detection chamber is first collected in real time by the ambient light sensor. It is determined whether the ambient light intensity exceeds a preset ambient light intensity safety threshold; if it does, an abnormal light leakage alarm is immediately output and the detection process is suspended; if it does not exceed the safety threshold but is higher than a preset ambient light intensity stability threshold, a light source compensation mechanism is started. Under the compensation mechanism, the multi-wavelength light source emits test light intensity in a specific compensation sequence in turn, and the reflection intensity data of each wavelength under the influence of ambient light is collected. Based on the deviation of the reflection intensity of each wavelength from the standard value, an ambient light compensation coefficient mapping table is established by an interpolation algorithm. In the subsequent formal detection process, the real-time collected reflection light intensity is dynamically corrected according to this compensation coefficient mapping table, so as to eliminate the interference of ambient light fluctuation on the measurement result.

[0136] The present embodiment realizes real-time monitoring of ambient light intensity and a hierarchical response mechanism, which not only ensures the safety of the optical measurement environment, but also maintains the stability of the detection conditions. The multi-wavelength compensation coefficient mapping table established can accurately compensate for the optical characteristics of different wavelengths, thereby overcoming the differential influence of ambient light on different wavelength light sources. The light intensity compensation mechanism provided by the present embodiment can still maintain high measurement accuracy under non-ideal lighting conditions, thereby widening the applicable environmental range and use reliability of the device.

[0137] It is worth mentioning that it also includes:

[0138] After determining that the first reflection light information is lower than a preset first reflection light threshold, at least three light sources of different wavelengths are controlled to irradiate the control line area in turn;

[0139] The reflection light intensity values under each wavelength are collected respectively, and the reflection spectrum characteristics are extracted;

[0140] The reflection spectrum characteristics are matched with a preset standard control line spectrum template to obtain a matching degree;

[0141] If the matching degree is lower than a preset matching threshold, a re-measurement mechanism is started;

[0142] If the matching degree is still lower than the preset matching threshold after re-measurement, it is determined that the test paper is invalid.

[0143] It should be noted that in the present embodiment, when the first reflected light information of the control line area is determined to be lower than the preset threshold, before generating the dynamic determination threshold, the light sources of at least three different wavelengths are controlled to irradiate the control line area in turn, and high-resolution spectral reflection data are collected. Key spectral feature parameters are extracted from these multi-wavelength reflection data, including but not limited to characteristic peak position, spectral shape, and relative intensity distribution, etc. Then, the extracted reflection spectral features are matched with the preset standard control line spectral template, and a quantitative matching degree score is obtained through correlation analysis or pattern recognition algorithm. If the matching degree score is lower than the preset matching threshold, a re-measurement mechanism is automatically started, and the spectral collection and matching calculation process is re-executed. If the matching degree is still lower than the preset threshold after re-measurement, it is finally determined that the test paper is invalid and the detection process is terminated.

[0144] The present embodiment provides a high-reliability test paper effectiveness verification method through multi-wavelength spectral feature matching analysis, thereby effectively identifying test papers that are actually invalid or deteriorated although the control line is visible. The re-measurement mechanism is introduced, which provides a secondary verification opportunity for test papers in a critical state, thereby avoiding misjudgment caused by single measurement fluctuation. The invalidity verification mechanism provided by the present embodiment forms a double protection with the initial effectiveness determination, thereby improving the safety of the entire detection system and the reliability of the results.

[0145] It is worth mentioning that it also includes:

[0146] Real-time monitoring of the signal-to-noise ratio of the reflected light intensity of each wavelength;

[0147] According to the signal-to-noise ratio, dynamically adjusting the wavelength combination used in subsequent detection;

[0148] Based on a preset weight factor adjustment algorithm, adjusting the weight factor of the dynamic determination threshold according to the test paper type information and the signal-to-noise ratio.

[0149] It should be noted that in the present embodiment, the signal-to-noise ratio of the reflected light intensity of each wavelength is monitored in real time during the detection process, and the signal quality of each wavelength is evaluated by calculating the ratio of the signal intensity to the noise fluctuation amplitude. According to the real-time acquired signal-to-noise ratio data, the wavelength combination used in subsequent detection is dynamically adjusted; wherein, the wavelengths with high signal-to-noise ratio are preferentially selected for calculation, and the wavelengths with too low signal-to-noise ratio are reduced or excluded. In addition, based on a preset weight factor adjustment algorithm, the weight factor of each wavelength in the dynamic determination threshold calculation is dynamically optimized in combination with the test paper type information and the real-time signal-to-noise ratio, so that the wavelengths with good signal quality occupy a higher weight in the threshold calculation. Through this adaptive adjustment mechanism, it is ensured that the detection process is always completed under the optimal wavelength configuration for test paper recognition and result interpretation.

[0150] The embodiment realizes automatic adaptation to different use environments and test paper states and maintains optimal detection performance through the combination of signal-to-noise ratio monitoring and dynamic optimization of wavelengths. The adaptive adjustment of the weight factor ensures that the downstream calculation process can make full use of high-quality optical signals and effectively suppress the influence of noise interference on the final result. The self-optimizing wavelength management mechanism provided by the embodiment improves the intelligent level and anti-interference ability and still maintains stable and reliable detection precision under complex use conditions.

[0151] Figure 4 A block diagram of a test paper identification and result interpretation system based on a multi-wavelength light source is shown.

[0152] As Figure 4 shown, the second aspect of the application discloses a test paper identification and result interpretation system based on a multi-wavelength light source 4, comprising a memory 41 and a processor 42, the memory comprising a test paper identification and result interpretation method program based on a multi-wavelength light source, the test paper identification and result interpretation method program based on a multi-wavelength light source is executed by the processor to realize the following steps:

[0153] In response to a test paper insertion signal, the coordinate positions of the type identification area, the control line area and the detection line area on the test paper are determined;

[0154] According to the coordinate positions, the type identification area is irradiated according to a first light source sequence to obtain a first reflection light ratio and a first reflection light difference;

[0155] According to the first reflection light ratio and the first reflection light difference, the test paper type information is obtained by comparing with a preset first threshold value and a second threshold value, respectively;

[0156] According to the test paper type information, the first wavelength light source is selected to irradiate the control line area to obtain first reflection light information;

[0157] If the first reflection light information is lower than a preset first reflection light threshold value, the dynamic determination threshold value is obtained based on the reflection light intensity of the control line area under multiple wavelengths;

[0158] According to the test paper type information, the second wavelength light source is selected to irradiate the detection line area to obtain second reflection light information;

[0159] The test paper interpretation result is obtained by comparing the second reflection light information with the dynamic determination threshold value.

[0160] It should be noted that the first reflected light ratio is the ratio of the reflected light intensity of the first identification wavelength light (such as blue light) and the second identification wavelength light (such as green light) irradiating the type identification area; the first reflected light difference is the ratio of the reflected light intensity of the third identification wavelength light (red light) and the fourth identification wavelength light (such as infrared red light) irradiating the type identification area; the first wavelength light source is a sensitive wavelength light source corresponding to the control line area of the test paper type; the first reflected light information is the reflected light intensity of the control line area to the first wavelength light source; and the second wavelength light source is a sensitive wavelength light source corresponding to the detection line area of the test paper type; and the second reflected light information is the reflected light intensity of the detection line area to the second wavelength light source.

[0161] In the embodiment, first, the coordinate positions of the type identification area, the control line area and the detection line area on the test paper are accurately positioned. Second, the type identification area is irradiated according to a preset first light source sequence, the first reflected light ratio is obtained by calculating the ratio of the reflected intensities of the first identification wavelength light and the second identification wavelength light, and the first reflected light difference is obtained by calculating the difference of the reflected intensities of the third identification wavelength light and the fourth identification wavelength light. Then, the two key optical parameters are compared with the preset first threshold value and the second threshold value respectively, so as to intelligently identify the test paper type information. After determining the test paper type, the control line area is irradiated by the corresponding first wavelength light source according to the type information, so as to obtain the first reflected light information. If the first reflected light information is lower than the preset first reflected light threshold value, the dynamic determination threshold value is generated based on the reflected light intensities of the control line area under multiple wavelengths according to the preset weighting algorithm. Finally, the detection line area is irradiated by the second wavelength light source according to the test paper type information, so as to obtain the second reflected light information; and finally, the complete interpretation result containing the test paper type and the negative / positive state is output by comparing the second reflected light information with the dynamic determination threshold value.

[0162] The embodiment realizes the automatic and accurate identification of the HCG and LH test papers by comprehensively utilizing the multi-wavelength optical characteristics, and eliminates the error risk of relying on manual selection of the test paper type in the traditional method. At the same time, the dynamic determination threshold value is used to replace the fixed threshold value, so as to improve the adaptability to different batches of test papers and complex environmental conditions. In addition, the type identification and the result interpretation are organically integrated into the same optical detection platform, which simplifies the hardware structure and guarantees the efficiency and consistency of the detection process.

[0163] According to the embodiment of the present application, the coordinate positions of the type identification area, the control line area and the detection line area on the test paper are determined in response to a test paper insertion signal, and specifically include:

[0164] The step motor is started in response to the test paper insertion trigger signal detected by the photoelectric sensor;

[0165] Control the stepping motor according to the preset traction step number to pull the test paper to the optical detection platform;

[0166] Obtain the reference position coordinate of the test paper on the optical detection platform through the position sensor;

[0167] Based on the reference position coordinate, the center coordinate of the type identification area, the center coordinate of the control line area and the center coordinate of the detection line area are calculated according to the preset test paper area layout data;

[0168] Store the area coordinate information to the coordinate register and output the coordinate ready signal.

[0169] It should be noted that in the embodiment, the stepping motor is immediately controlled to start running after the photoelectric sensor detects the test paper insertion trigger signal. According to the preset traction step number parameter, the stepping motor is driven to accurately pull the test paper to the specified detection position of the optical detection platform. Then, the reference position coordinate of the test paper on the platform is obtained through the high-precision position sensor; wherein the reference position coordinate is used as the reference origin for the subsequent calculation of all areas. Then, based on the reference coordinate, the pre-stored test paper area layout data is combined, which includes the offset and size information of each area relative to the reference point, and the accurate center coordinates of the type identification area, the control line area and the detection line area are calculated through the coordinate transformation algorithm. Finally, the coordinate information of all areas is stored in the special coordinate register, and the coordinate ready signal is output to trigger the subsequent optical detection process.

[0170] The embodiment realizes the high accuracy of test paper positioning through the cooperative control of the stepping motor and the position sensor, and lays a solid foundation for the accuracy of subsequent optical detection. The area position information is stored in the coordinate register, so that the sequence detection of multiple areas is realized quickly, and the overall detection efficiency is improved. The standardized positioning process provided by the embodiment effectively overcomes the detection area deviation problem caused by the deviation of the test paper insertion position, ensures that the optical probe is always aligned with the correct detection area, and thus ensures the consistency and reliability of the measurement result.

[0171] According to the embodiment of the application, the first reflection light ratio and the first reflection light difference are obtained by irradiating the type identification area according to the first light source sequence in the light source sequence according to the coordinate position, and specifically comprising:

[0172] Control the multi-wavelength light source to irradiate the type identification area according to the preset first light source sequence;

[0173] Synchronously control the photoelectric sensor to collect the corresponding reflection light intensity value when each wavelength light source is irradiated;

[0174] Store the collected reflection light intensity value in the reflection light intensity register in sequence;

[0175] According to the reflection intensity value of the first identification wavelength light and the reflection intensity value of the second identification wavelength light, a ratio is calculated to obtain a first reflection light ratio;

[0176] According to the reflection intensity value of the third identification wavelength light and the reflection intensity value of the fourth identification wavelength light, a difference is calculated to obtain a first reflection light difference.

[0177] It should be noted that in the embodiment, first, the multi-wavelength light source module is controlled to irradiate the type identification area of the test paper in sequence according to a preset first light source sequence; wherein the light source sequence defines the opening sequence and duration of different wavelength light sources. During the irradiation period of each wavelength light source, the photoelectric sensor is synchronously controlled to collect the corresponding reflection light intensity analog signal, and the analog signal is converted into a digital quantity through an analog-to-digital converter. These digitized reflection light intensity values are sequentially stored in a special reflection light intensity register to form a complete optical feature data set. Then, the processing unit reads the reflection intensity values of the first identification wavelength light and the second identification wavelength light from the register, and obtains the first reflection light ratio through division operation; at the same time, the reflection intensity values of the third identification wavelength light and the fourth identification wavelength light are read, and the first reflection light difference is obtained through subtraction operation; the above reflection light ratio and reflection light difference are used as optical parameters, which provide key feature input for subsequent test paper type identification.

[0178] The embodiment combines the two calculation methods of ratio and difference to eliminate the interference of uneven environmental light and test paper background color difference on the measurement results, and extracts stable optical feature parameters. The control strategy of sequential irradiation and synchronous acquisition ensures the consistency of multi-wavelength optical data in time and space, and provides a high-quality data basis for accurate identification. At the same time, the optical parameter calculation process is standardized and modularized, so as to quickly adapt to the identification needs of different types of test paper, and only the light source sequence and calculation logic need to be adjusted to expand the identification capability.

[0179] According to the embodiment of the application, the first reflection light ratio and the first reflection light difference are compared with the preset first threshold value and the second threshold value respectively to obtain the test paper type information, specifically including:

[0180] determining whether the first reflection light ratio is lower than the first threshold value;

[0181] If yes, it is determined that the test paper is invalid;

[0182] If no, it is determined whether the first reflection light difference is lower than the second threshold value;

[0183] If yes, it is determined that the test paper type information is HCG test paper;

[0184] If no, it is determined that the test paper type information is LH test paper.

[0185] It should be noted that in the embodiment, firstly, it is judged whether the first reflected light ratio is lower than a preset first threshold value; if yes, it is determined that the test paper is invalid and the process is terminated, wherein this step is used as the primary screening condition for the validity of the test paper. If the first reflected light ratio is higher than the first threshold value, it is continued to be judged whether the first reflected light difference value is lower than a preset second threshold value. If the first reflected light difference value is lower than the second threshold value, it is determined that the test paper type is HCG test paper; if the first reflected light difference value is higher than the second threshold value, it is determined that the test paper type is LH test paper. The whole judgment process in the embodiment forms a two-stage progressive decision logic, and the final output of the test paper type information will directly determine the wavelength selection scheme and parameter calculation strategy used in the detection of the control line area and the detection line area.

[0186] The two-stage threshold value judgment mechanism in the embodiment not only ensures the reliability of the test paper validity test, but also realizes high-precision differentiation of HCG and LH test papers, thereby reducing the risk of type misjudgment. The type recognition process is designed as an explicit binary decision tree structure, so that the discrimination logic is clear and efficient. In addition, the embodiment utilizes the complementarity of multi-wavelength optical characteristics, uses the ratio parameter to test the quality of the test paper, and uses the difference parameter to distinguish the test paper type, forming a complete and efficient test paper type recognition process.

[0187] According to the embodiment of the application, the dynamic determination threshold value is obtained based on the reflected light intensity of the control line area under multiple wavelengths, and specifically includes:

[0188] The multi-wavelength light source is controlled to irradiate the control line area in a preset second light source sequence in turn, and the reflected light intensity under each wavelength is collected;

[0189] According to the test paper type information, a corresponding weighting factor is selected;

[0190] The collected multi-wavelength reflected light intensity value is input into a preset dynamic threshold value weighting calculation model;

[0191] The dynamic determination threshold value is obtained based on the calculation result of the dynamic threshold value weighting calculation model.

[0192] It should be noted that in the embodiment, when it is determined that the first reflected light information of the control line area is lower than the preset threshold value, the multi-wavelength spectral scanning process is automatically started. The multi-wavelength light source is controlled to irradiate the control line area in turn according to the preset second light source sequence, and the reflected light intensity values under each wavelength are synchronously collected to form complete spectral response data. Then, according to the identified test paper type information, a corresponding combination of weighting factors is selected from a preset parameter library, wherein the weighting factors reflect the influence degree of different wavelengths on the interpretation result of a specific test paper type. The collected multi-wavelength reflected light intensity values and the corresponding weighting factors are input into a preset dynamic threshold value weighted calculation model, and through the comprehensive operation of weighted summation and nonlinear transformation, a dynamic determination threshold value matched with the actual reaction state of the current test paper and the environmental conditions is generated. Finally, the dynamic determination threshold value is output as a reference value for the subsequent detection line area result interpretation, to replace the traditional fixed threshold value.

[0193] In the embodiment, through comprehensive weighted calculation of multi-wavelength spectral information, the determination threshold value can adapt to the process differences between different batches of test papers and complex environmental conditions, thereby improving the accuracy and consistency of the interpretation result. Among them, the specific weighting factors of the test paper type are introduced, so that the threshold value generation process is targeted and can fully reflect the specific reaction characteristics of HCG and LH test papers under different wavelengths. In addition, the dynamic threshold value mechanism effectively overcomes the interpretation deviation problem caused by factors such as test paper aging, changes in environmental temperature and humidity, etc. in the traditional fixed threshold method, thereby improving the reliability and application range of the test paper detection.

[0194] According to the embodiment of the application, the comparison of the second reflected light information with the dynamic determination threshold value obtains a test paper interpretation result, specifically comprising:

[0195] The second wavelength light source irradiates the detection line area, and the reflected light is collected to obtain second reflected light information;

[0196] It is judged whether the second reflected light information is lower than the dynamic determination threshold value;

[0197] If yes, negative interpretation information is output;

[0198] If no, positive interpretation information is output;

[0199] The interpretation information and the test paper type information are combined to generate a test paper interpretation result.

[0200] It should be noted that in the present embodiment, the corresponding second wavelength light source is selected to irradiate the detection line area according to the determined test paper type information, and quantitative second reflected light information is obtained by collecting the reflected light signal through the photosensor. The second reflected light information is compared with the dynamic determination threshold value, and it is determined whether it is lower than the dynamic threshold value. If the second reflected light information is lower than the dynamic determination threshold value, the negative judgment information is output, indicating that the concentration of the target substance in the detection sample does not reach the detection limit. If the second reflected light information is higher than or equal to the dynamic determination threshold value, the positive judgment information is output, indicating that there is a sufficient concentration of the target substance in the detection sample. Finally, the negative / positive judgment information and the test paper type information are logically combined to generate a complete judgment result containing the test paper type and the detection result, and output to the display module or the communication interface.

[0201] The present embodiment realizes accurate discrimination of detection results of different test papers by combining type-specific wavelength selection with dynamic threshold comparison, avoiding false positive or false negative problems caused by wavelength mismatch or unreasonable threshold. Among them, a unified judgment logic framework is used to process the result output of different types of test papers, which not only ensures the simplicity of the architecture, but also ensures the consistency of the judgment standard. In addition, the final output combined result contains the test paper type identification and the detection judgment information, which is convenient for users to understand and use.

[0202] It is worth mentioning that before the irradiation operation is performed, it also includes:

[0203] Real-time collection of ambient light intensity in the optical detection chamber;

[0204] determining whether the ambient light intensity exceeds a preset ambient light intensity safety threshold;

[0205] If yes, output a light leakage abnormal alarm;

[0206] If no, determine whether the ambient light intensity exceeds a preset ambient light intensity stability threshold;

[0207] If yes, start the light source compensation mechanism;

[0208] Control the multi-wavelength light source to emit test light intensity in sequence according to the compensation sequence, and collect the reflected intensity under the influence of ambient light at each wavelength;

[0209] Based on the deviation of the reflected intensity of each wavelength, an ambient light compensation coefficient mapping table is established;

[0210] According to the compensation coefficient mapping table, the reflected light intensity in the detection is compensated in real time.

[0211] It should be noted that in the present embodiment, before formal optical detection is performed, the ambient light intensity data in the optical detection chamber is first collected in real time by the ambient light sensor. It is determined whether the ambient light intensity exceeds a preset ambient light intensity safety threshold; if it exceeds, an abnormal light leakage alarm is immediately output and the detection process is suspended; if it does not exceed the safety threshold but is higher than a preset ambient light intensity stability threshold, a light source compensation mechanism is started. Under the compensation mechanism, the multi-wavelength light source emits test light intensity in turn according to a specific compensation sequence, and the reflection intensity data of each wavelength under the influence of ambient light is collected. Based on the deviation of the reflection intensity of each wavelength from the standard value, an ambient light compensation coefficient mapping table is established by an interpolation algorithm. In the subsequent formal detection process, the real-time collected reflection light intensity is dynamically corrected according to the compensation coefficient mapping table to eliminate the interference of ambient light fluctuation on the measurement results.

[0212] The present embodiment realizes real-time monitoring of ambient light intensity and a hierarchical response mechanism, which not only ensures the safety of the optical measurement environment, but also maintains the stability of the detection conditions. The multi-wavelength compensation coefficient mapping table established can accurately compensate for the optical characteristics of different wavelengths, thereby overcoming the differential effects of ambient light on different wavelength light sources. The light intensity compensation mechanism provided by the present embodiment can still maintain high measurement accuracy under non-ideal lighting conditions, thereby widening the applicable environmental range and use reliability of the device.

[0213] It is worth mentioning that it also includes:

[0214] After determining that the first reflection light information is lower than a preset first reflection light threshold, at least three light sources of different wavelengths are controlled to irradiate the control line area in turn;

[0215] The reflection light intensity values under each wavelength are collected respectively, and the reflection spectrum characteristics are extracted;

[0216] The reflection spectrum characteristics are matched with a preset standard control line spectrum template to obtain a matching degree;

[0217] If the matching degree is lower than a preset matching threshold, a re-measurement mechanism is started;

[0218] If the matching degree is still lower than the preset matching threshold after re-measurement, it is determined that the test paper is invalid.

[0219] It should be noted that in the present embodiment, when the first reflected light information of the control line area is determined to be lower than the preset threshold value, before generating the dynamic determination threshold value, the light sources of at least three different wavelengths are controlled to irradiate the control line area in turn, and high-resolution spectral reflection data are collected. Key spectral feature parameters are extracted from these multi-wavelength reflection data, including but not limited to characteristic peak position, spectral shape, and relative intensity distribution, etc. Then, the extracted reflection spectral features are matched with the preset standard control line spectral template, and a quantitative matching degree score is obtained through correlation analysis or pattern recognition algorithm. If the matching degree score is lower than the preset matching threshold value, a re-measurement mechanism is automatically started, and the spectral collection and matching calculation process is re-executed. If the matching degree is still lower than the preset threshold value after re-measurement, it is finally determined that the test paper is invalid and the detection process is terminated.

[0220] The present embodiment provides a high-reliability test paper effectiveness verification method through multi-wavelength spectral feature matching analysis, thereby effectively identifying test papers that are actually invalid or deteriorated although the control line is visible. The re-measurement mechanism is introduced, which provides a secondary verification opportunity for test papers in a critical state, thereby avoiding misjudgment caused by single measurement fluctuation. The invalidity verification mechanism provided by the present embodiment forms a double protection with the initial effectiveness determination, thereby improving the safety of the entire detection system and the reliability of the results.

[0221] It is worth mentioning that it also includes:

[0222] Real-time monitoring of the signal-to-noise ratio of the reflected light intensity of each wavelength;

[0223] According to the signal-to-noise ratio, dynamically adjusting the wavelength combination used in subsequent detection;

[0224] Based on a preset weight factor adjustment algorithm, adjusting the weight factor of the dynamic determination threshold value according to the test paper type information and the signal-to-noise ratio.

[0225] It should be noted that in the present embodiment, the signal-to-noise ratio of the reflected light intensity of each wavelength is monitored in real time during the detection process, and the signal quality of each wavelength is evaluated by calculating the ratio of the signal intensity to the noise fluctuation amplitude. According to the real-time acquired signal-to-noise ratio data, the wavelength combination used in subsequent detection is dynamically adjusted; wherein, the wavelengths with high signal-to-noise ratio are preferentially selected for calculation, and the wavelengths with too low signal-to-noise ratio are reduced or excluded. In addition, based on a preset weight factor adjustment algorithm, the weight factors of each wavelength in the dynamic determination threshold value calculation are dynamically optimized in combination with the test paper type information and the real-time signal-to-noise ratio, so that the wavelengths with good signal quality occupy a higher weight in the threshold value calculation. Through this adaptive adjustment mechanism, it is ensured that the detection process is always completed under the optimal wavelength configuration for test paper recognition and result interpretation.

[0226] The embodiment realizes automatic adaptation to different use environments and test paper states and maintains optimal detection performance through the combination of signal-to-noise ratio monitoring and dynamic optimization of wavelengths. The adaptive adjustment of the weight factor ensures that the downstream calculation process can make full use of high-quality optical signals and effectively suppress the influence of noise interference on the final result. The self-optimizing wavelength management mechanism provided by the embodiment improves the intelligent level and anti-interference ability and still maintains stable and reliable detection precision under complex use conditions.

[0227] The third aspect of the present application provides a computer readable storage medium, the computer readable storage medium comprises a multi-wavelength light source-based test paper identification and result interpretation method program, when the multi-wavelength light source-based test paper identification and result interpretation method program is executed by a processor, the steps of the multi-wavelength light source-based test paper identification and result interpretation method according to any one of the preceding aspects are realized.

[0228] In summary, the present application provides a multi-wavelength light source-based test paper identification and result interpretation method, system and medium, which first accurately locates the coordinate positions of the type identification area, the control line area and the detection line area on the test paper; then irradiates the type identification area according to a preset sequence, automatically distinguishes the test paper type by calculating the reflection light ratio and difference of a specific wavelength combination and comparing with a preset threshold value; then irradiates the control line area with a corresponding wavelength light source according to the test paper type, and when the reflection light intensity is lower than a preset first reflection light threshold value, starts multi-wavelength scanning to generate a dynamic determination threshold value; finally detects the detection line area with a type-adapted wavelength, and outputs the final interpretation result by comparing the reflection light intensity with the dynamic threshold value; the present application realizes automatic differentiation of test paper types and accurate interpretation of detection results through multi-wavelength optical feature recognition and dynamic threshold value technology, and improves the adaptability, accuracy and reliability of the detection system.

[0229] If the functions are realized in the form of software function modules and sold or used as independent products, they can be stored in a computer readable storage medium. Based on this understanding, the technical solutions of the present application or parts of the present application that essentially contribute to the prior art or parts of the technical solutions can be embodied in the form of software products. The computer software product is stored in a storage medium and includes a plurality of instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in the embodiments of the present application. The aforementioned storage medium includes a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and various media that can store program codes.

[0230] The above merely provides the preferred embodiments of the present application, and is not used to limit the present application. For those skilled in the art, the present application can have various modifications and changes. Any modifications, equivalent replacements, improvements, etc. made within the principles and technical scope of the present application shall fall into the scope of the present application.

Claims

1. A method for test strip identification and result interpretation based on a multi- wavelength light source, characterized in that, The method comprises: in response to a test paper insertion signal, determining the coordinate positions of the type identification zone, the control line zone and the detection line zone on the test paper; according to the coordinate positions, irradiating the type identification zone according to a first light source sequence to obtain a first reflection light ratio and a first reflection light difference; comparing the first reflection light ratio and the first reflection light difference with preset first and second thresholds respectively to obtain test paper type information; according to the test paper type information, selecting a first wavelength light source to irradiate the control line zone to obtain first reflection light information; if the first reflection light information is lower than a preset first reflection light threshold, obtaining a dynamic determination threshold based on the reflection light intensity of the control line zone under multiple wavelengths; according to the test paper type information, selecting a second wavelength light source to irradiate the detection line zone to obtain second reflection light information; comparing the second reflection light information with the dynamic determination threshold to obtain a test paper interpretation result.

2. The method of claim 1, wherein the method is based on a multi-wavelength light source. The method comprises: in response to a test paper insertion signal, determining the coordinate positions of the type identification zone, the control line zone and the detection line zone on the test paper; in response to a test paper insertion signal detected by the photoelectric sensor, starting the stepper motor; controlling the stepper motor to pull the test paper to the optical detection platform according to a preset pulling step number; obtaining the reference position coordinates of the test paper on the optical detection platform through the position sensor; based on the reference position coordinates, calculating the center coordinates of the type identification zone, the center coordinates of the control line zone and the center coordinates of the detection line zone according to preset test paper region layout data; 3. The method of claim 1, wherein the method is based on a multi-wavelength light source. storing the region coordinate information to the coordinate register and outputting a coordinate ready signal. The method comprises: controlling the multi-wavelength light source to irradiate the type identification zone according to a preset first light source sequence; synchronously controlling the photoelectric sensor to collect the corresponding reflection light intensity value when each wavelength light source is irradiated; storing the collected reflection light intensity values to the reflection light intensity register; calculating the ratio of the reflection intensity value of the first identification wavelength light and the reflection intensity value of the second identification wavelength light to obtain the first reflection light ratio; 4. The method of claim 1, wherein the method is based on a multi-wavelength light source. calculating the difference of the reflection intensity value of the third identification wavelength light and the reflection intensity value of the fourth identification wavelength light to obtain the first reflection light difference. The method comprises: determining whether the first reflection light ratio is lower than the first threshold; if yes, determining that the test paper is invalid; if no, determining whether the first reflection light difference is lower than the second threshold; if yes, determining that the test paper type information is HCG test paper; 5. The method of claim 1, wherein the method is based on a multi-wavelength light source. if no, determining that the test paper type information is LH test paper. The method comprises: controlling the multi-wavelength light source to irradiate the control line zone according to a preset second light source sequence to collect the reflection light intensity under each wavelength; according to the test paper type information, selecting a corresponding weighting factor; The collected multi-wavelength reflected light intensity values are input into a preset dynamic threshold weighting calculation model; A dynamic determination threshold is obtained based on the calculation result of the dynamic threshold weighting calculation model.

6. The method of test strip identification and result interpretation based on multi- wavelength light source according to claim 1, characterized in that, The comparison of the second reflected light information and the dynamic determination threshold obtains a test paper interpretation result, and specifically includes: A second wavelength light source is controlled to irradiate the detection line area, and second reflected light information is collected; It is judged whether the second reflected light information is lower than the dynamic determination threshold; If yes, negative interpretation information is output; If no, positive interpretation information is output; The interpretation information and the test paper type information are combined to generate a test paper interpretation result.

7. A multi-wavelength light source based test strip identification and result interpretation system, characterized in that, The system includes a memory and a processor, the memory includes a test paper identification and result interpretation method based on a multi-wavelength light source program, and the test paper identification and result interpretation method based on the multi-wavelength light source program is executed by the processor to realize the following steps: In response to a test paper insertion signal, the coordinate positions of the type identification area, the control line area and the detection line area on the test paper are determined; According to the coordinate positions, the type identification area is irradiated according to a first light source sequence to obtain a first reflected light ratio and a first reflected light difference; According to the first reflected light ratio and the first reflected light difference, the test paper type information is obtained by comparing with a preset first threshold and a second threshold, respectively; According to the test paper type information, a first wavelength light source is selected to irradiate the control line area to obtain first reflected light information; If the first reflected light information is lower than a preset first reflected light threshold, a dynamic determination threshold is obtained based on the reflected light intensity of the control line area under multiple wavelengths; According to the test paper type information, a second wavelength light source is selected to irradiate the detection line area to obtain second reflected light information; The comparison of the second reflected light information and the dynamic determination threshold obtains a test paper interpretation result.

8. A multi-wavelength light source based test strip identification and result interpretation system according to claim 7, wherein, The response to the test paper insertion signal to determine the coordinate positions of the type identification area, the control line area and the detection line area on the test paper specifically includes: In response to a test paper insertion trigger signal detected by a photoelectric sensor, a stepper motor is started; According to a preset number of traction steps, the stepper motor is controlled to pull the test paper to an optical detection platform; The reference position coordinates of the test paper on the optical detection platform are obtained by a position sensor; Based on the reference position coordinates, the center coordinates of the type identification area, the center coordinates of the control line area and the center coordinates of the detection line area are calculated according to preset test paper area layout data; The region coordinate information is stored in a coordinate register, and a coordinate ready signal is output.

9. A multi-wavelength light source based test strip identification and result interpretation system according to claim 7, wherein, According to the coordinate positions, the type identification area is irradiated according to a first light source sequence to obtain a first reflected light ratio and a first reflected light difference, specifically including: The multi-wavelength light source is controlled to irradiate the type identification area in a preset first light source sequence; During the irradiation of each wavelength light source, the photoelectric sensor is synchronously controlled to collect the corresponding reflected light intensity values; The collected reflected light intensity values are sequentially stored in a reflected light intensity register; According to the reflected intensity values of the first identification wavelength light and the second identification wavelength light, the first reflected light ratio is calculated. According to the reflection intensity value of the third identification wavelength light and the reflection intensity value of the fourth identification wavelength light, a difference value is calculated to obtain a first reflected light difference value.

10. A computer-readable storage medium having stored thereon a computer program, characterized in that, The computer readable storage medium comprises a test paper identification and result interpretation method program based on a multi-wavelength light source. When the test paper identification and result interpretation method program based on the multi-wavelength light source is executed by the processor, the steps of the test paper identification and result interpretation method based on the multi-wavelength light source in any one of claims 1 to 6 are realized.

Citation Information

Patent Citations

  • Test strip negative and positive recognition method and device, electronic equipment and storage medium

    CN117074666A

  • Industrial vision product surface printing quality detection method

    CN119323686A

  • Method and device for improving positive and negative recognition accuracy of test strip and storage medium

    CN119559624A

  • Test paper inspection analysis method and system for medical inspection

    CN119691591A

  • Detection device and method

    EP2869063A1

Cited By

  • Dual verification method and system based on type identification and result calibration, and medium

    CN121302081A