Fluorescence test paper quantitative analyzer
By adjusting the color temperature and intensity of the reference light source in the fluorescent test paper quantitative analyzer to be the same as the light to be measured, and combining it with the sensor to determine the concentration of fluorescent substances, the problem of low accuracy caused by light signal conversion is solved and more accurate detection of fluorescent substance concentration is achieved.
Patent Information
- Application Number
- CN202210691413.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-17
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2042-06-17
AI Technical Summary
In the existing fluorescent test paper quantitative analyzer, the conversion of optical signals to electrical signals and the conversion of electrical signals to digital signals during the data collection process results in inaccurate light intensity determination, resulting in low accuracy of the final results.
By setting a reference light source in the fluorescent test paper quantitative analyzer, adjusting its color temperature and intensity to be the same as the light to be measured, and combining the reference light source, brightness sensor and color temperature sensor, the concentration of the fluorescent substance can be directly determined to avoid the conversion process of optical signals to electrical signals.
It improves the accuracy and precision of fluorescent substance concentration determination, reduces the loss of information, and makes the final result more reliable.
Smart Images

Figure CN115097135B_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of substance concentration determination, and more specifically, relates to a fluorescent test paper quantitative analyzer. Background Art
[0002] At present, rapid immunochromatographic (LFIA) detection is based on chromatography technology and antigen-antibody specific immune reaction. Fluorescent immunochromatographic test strips use fluorescent pigments as markers and can be widely used in on-site quantitative detection. It is an important direction for the development of instant detection technology in the future.
[0003] When the fluorescent test strip instrument detects the concentration of a substance, the substance being detected is the target. The target will combine with the fluorescent pigment and emit fluorescence after being irradiated by the laser. The higher the concentration of the target, the greater the intensity of the emitted fluorescence. The specific process of fluorescent immunochromatographic test strip detection is to dye the test line (T) and control line (C) areas on the test strip with fluorescent pigments. Put the test strip into the test sample. When the test sample contains a test target that can combine with the fluorescent pigment, the T line and C line areas will emit fluorescence of different intensities. The working process of the immunochromatographic test strip quantitative detection and analysis instrument is to insert the test strip into the holder, and then drive the linear stepper motor to scan the test strip. During the scanning process, the excitation light is emitted, the fluorescence emitted by the specific wavelength is received, and the fluorescence intensity of the CT line of the test strip is obtained, thereby analyzing the concentration of the measured target and other information.
[0004] However, existing analyzers involve the conversion of optical signals into electrical signals and the conversion of electrical signals into digital signals during the data acquisition process, and also require a series of post-processing of the electrical signals, which ultimately makes it impossible to accurately determine the intensity of light, resulting in low accuracy of the final result. Summary of the invention
[0005] The purpose of the present invention is to provide a fluorescent test paper quantitative analyzer, aiming to solve the problem that a series of signal processing is required and the intensity of light cannot be accurately determined, resulting in low accuracy of the final result.
[0006] To achieve the above object, the technical solution adopted by the present invention is: to provide a fluorescent test paper quantitative analyzer, comprising:
[0007] Position the test strip on the testing table;
[0008] Setting parameters of a light source, wherein the light source illuminates the test strip to cause the fluorescent substance on the test strip to emit light to be tested;
[0009] The reference light source emits a reference light, and the parameters of the reference light source are adjusted so that the color temperature and intensity of the reference light are the same as those of the light to be measured;
[0010] The distance between the detection line and the control line on the test strip is determined, and the concentration of the fluorescent substance is judged based on the distance and the parameter.
[0011] In a possible implementation, the light source irradiates the test strip to make the fluorescent substance on the test strip emit light to be tested, including:
[0012] The irradiation angle of the light source is adjusted or a baffle is provided between the test strip and the reference light source to prevent the light emitted by the light source from irradiating or reflecting onto the reference light source.
[0013] In a possible implementation, adjusting the parameters of the reference light source so that the color temperature and intensity of the reference light are the same as those of the light to be measured includes:
[0014] The color temperature sensor is used to perform real-time detection and adjust the parameters until the color temperature of the reference light is the same as the color temperature of the light to be measured.
[0015] In a possible implementation manner, adjusting the parameter until the color temperature of the reference light is the same as the color temperature of the light to be measured includes:
[0016] The RGB value of the reference light is gradually adjusted by the reference light source.
[0017] In a possible implementation, adjusting the parameters of the reference light source so that the color temperature and intensity of the reference light are the same as those of the light to be measured includes:
[0018] The brightness sensor is used to perform real-time detection and adjust the parameters until the intensity of the reference light is the same as the intensity of the light to be measured.
[0019] In a possible implementation manner, determining the concentration of the fluorescent substance according to the interval and the parameter includes:
[0020] The reference light source, the brightness sensor and the color temperature sensor are electrically connected to a communication module respectively;
[0021] When the color temperature and intensity of the light to be measured and the reference light are the same, the communication module transmits the parameters to the microprocessor.
[0022] In a possible implementation, the distance between the detection line and the control line on the test strip is determined:
[0023] Acquire a picture covering the test strip;
[0024] Determine, according to the brightness region in the image, a center line of the brightness region and a position of the center line;
[0025] The position of the center line is set as the position of the detection line.
[0026] In a possible implementation manner, determining the center line of the brightness area and the position of the center line includes:
[0027] The picture is adjusted to a grayscale image, a threshold is set, pixel points in the grayscale image that are greater than the threshold are retained, and the retained pixel points are combined into the brightness area.
[0028] In a possible implementation manner, determining the center line of the brightness area and the position of the center line includes:
[0029] A plurality of mutually parallel line segments are arranged in the brightness region, and the plurality of line segments are parallel to the length direction of the test strip; a line connecting the midpoints of the plurality of line segments is the center line.
[0030] In a possible implementation manner, setting the position of the center line as the position of the detection line includes:
[0031] The distances between the midpoints of the plurality of line segments and the control line are determined, and a sum and an average of the plurality of distances are taken as the spacing.
[0032] The beneficial effect of the fluorescent test paper quantitative analyzer provided by the present invention is that: compared with the prior art, in the fluorescent test paper quantitative analyzer of the present invention, the test paper strip is first positioned on the detection table, and the light source is irradiated on the test paper strip so that the fluorescent substance on the test paper strip emits the light to be measured. The reference light source emits the reference light, and the color temperature and intensity of the reference light are adjusted by adjusting the parameters to make them the same as the light to be measured. Then, the spacing between the detection line and the control line on the test paper strip is determined, and finally the concentration of the fluorescent substance is judged by the parameters and the spacing.
[0033] In the present application, the reference light is made the same as the light to be measured by adjusting the parameters. The parameters at this time are the information of the light emitted by the fluorescent substance. This information can be obtained without converting the optical signal to an electrical signal and subsequent processing. Therefore, more information is retained, making the final result more accurate. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0035] Figure 1 This is a schematic diagram of the structure of a fluorescent test paper quantitative analyzer provided in an embodiment of the present invention.
[0036] In the picture: 1. Test strip; 2. Reference light source; 3. Color temperature sensor; 4. Brightness sensor; 5. Camera. DETAILED DESCRIPTION
[0037] In order to make the technical problems, technical solutions and beneficial effects to be solved by the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.
[0038] See also Figure 1 The fluorescent test paper quantitative analyzer provided by the present invention is now described. The fluorescent test paper quantitative analyzer comprises:
[0039] Position the test strip 1 on the test station.
[0040] The parameters of the light source are set, and the light source irradiates the test strip 1 to make the fluorescent material on the test strip 1 emit light to be tested.
[0041] The reference light source 2 emits a reference light, and the parameters of the reference light source 2 are adjusted so that the color temperature and intensity of the reference light are the same as those of the light to be measured.
[0042] The distance between the detection line and the control line on the test strip 1 is determined, and the concentration of the fluorescent substance is judged based on the distance and the parameter.
[0043] The beneficial effect of the fluorescent test paper quantitative analyzer provided by the present invention is that: compared with the prior art, in the fluorescent test paper quantitative analyzer of the present invention, the test paper strip 1 is first positioned on the detection table, and the light source is irradiated on the test paper strip 1 so that the fluorescent substance on the test paper strip 1 emits the light to be measured. The reference light source 2 emits the reference light, and the color temperature and intensity of the reference light are adjusted by adjusting the parameters to be the same as the light to be measured. Then, the spacing between the detection line and the control line on the test paper strip 1 is determined, and finally the concentration of the fluorescent substance is judged by the parameters and the spacing.
[0044] In the present application, the reference light is made the same as the light to be measured by adjusting the parameters. The parameters at this time are the information of the light emitted by the fluorescent substance. This information can be obtained without converting the optical signal to an electrical signal and subsequent processing. Therefore, more information is retained, making the final result more accurate.
[0045] In the existing method of scanning and analyzing fluorescent substances, ultraviolet light is first used to excite the scanning point on the test strip 1, and then the fluorescence intensity value of the scanning point is read by a photoelectric sensor. After the entire test strip 1 is scanned, a fluorescence distribution spectrum is obtained, and finally an algorithm is used to detect the positions of the detection line (T line) and the control line (C line) of the test strip 1 and the corresponding fluorescence intensity values in the spectrum. Finally, a microcontroller obtains the concentration of the fluorescent substance based on the fluorescence intensity value and combined with information such as the positions of the detection line and the control line.
[0046] In order to achieve the above effects, the light source driving circuit enables the system to emit controllable excitation light, the motor driving circuit enables the speed of the test strip 1 to be stable and controllable during the scanning and acquisition process, and the signal circuit module converts the weak light signal into a weak electrical signal and realizes the conditioning and amplification function of the weak electrical signal. The analog-to-digital conversion circuit and the microcontrol system can quantify the electrical signal value into a digital signal, and finally the microprocessor performs digital calculations and processing, and the corresponding measurement results are displayed by the output control unit.
[0047] For a clearer explanation, an embodiment of the prior art is to use a main control board as the control and computing core, an ultraviolet LED as the excitation light source of the fluorescent material, a silicon photodiode as a signal detector, and other necessary interfaces and peripherals to realize a system solution of the entire hardware circuit.
[0048] First of all, the main control board is the brain of the entire analyzer and is responsible for the operation of all hardware. The hardware circuit includes several modules: UV LED driver, motor driver and photoelectric gate driver. The UV LED driver circuit drives the UV LED to emit excitation light, while ensuring that the current supplied to the UV LED is stable and the intensity is controllable. The photoelectric sensor converts the optical signal into an electrical signal, the signal conditioning module amplifies the weak electrical signal obtained by the photoelectric conversion, and the amplified electrical signal of the analog-to-digital converter is converted into a digital signal and sent to the microcontroller for processing. The motor provides power support for the horizontal movement of the stage during the scanning process. On the one hand, the motor driver module amplifies the motor drive electrical signal output by the microcontroller to a strength sufficient to drive the motor. On the other hand, the drive module is provided with the motor speed control and steering control interface. The system can flexibly control the motor working mode through this control interface.
[0049] The AD acquisition module converts optical signals into electrical signals, the signal conditioning module amplifies the weak electrical signals obtained by photoelectric conversion, the analog-to-digital converter converts the amplified electrical signals into digital signals, and finally transmits the collected data to the microcontroller.
[0050] The light source generates monochromatic light with a wavelength close to the absorption wavelength of the fluorescent marker. After passing through the optical system, the monochromatic light is irradiated on a single scanning point of the test strip 1. The fluorescent substance near the scanning point will emit fluorescence, and the collection optical path will collect and focus the fluorescence onto the effective receiving target surface of the photoelectric sensor. In addition to the lens to realize the focusing function, the collection optical path is also equipped with a filter to filter out the visible light interference in the non-fluorescent band to improve the measurement accuracy.
[0051] After the fluorescence is focused on the receiving surface of the photoelectric sensor, the photoelectric sensor converts the fluorescence intensity into a weak electrical signal. In order to effectively measure the value of the weak electrical signal, the signal amplification circuit in the system amplifies the electrical signal. The analog-to-digital converter then converts the electrical signal result into a digital signal and sends it to the microprocessor for calculation and quantitative analysis. In the process of measuring the chromatographic test strip 1 by the fluorescence analyzer, it is necessary to detect the fluorescence intensity distribution of the test line and the control line of the test strip.
[0052] Photodetectors use the photoelectric effect of matter to convert light signals into electrical signals. Photodetectors are required to have high spectral sensitivity at the working wavelength, good stability, fast response speed, and good linearity. The current mainstream photodetectors include photoresistors, photomultiplier tubes, photodiodes, etc.
[0053] Photoresistor measurement method: the conductivity of the photoresistor changes after being irradiated by light. This characteristic has the advantages of wide spectral response range, large working current, wide range of measured light intensity and high sensitivity. The resistor forms an integral circuit together with other electrical components. By measuring the resistance value corresponding to the photoresistor, it can be converted into the corresponding numerical value, and the test result is quantified. The photosensitive characteristic of the photoresistor in this measurement scheme indicates the sensitivity of the photoresistor to light of different wavelengths. The wavelength with the most sensitive spectral response is called the spectral response peak, so the light source should be selected near the spectral response peak of the photoresistor.
[0054] The photomultiplier tube is a detection component based on the principles of electron optics theory, secondary electron emission and external photoelectric effect. It can convert the light signal of weak light into a larger, measurable current or voltage signal. It has the advantages of high sensitivity, low noise and fast response speed. It combines the characteristics of high gain, low noise, high frequency response and large signal receiving area, and can work in the ultraviolet, visible and near-infrared spectral regions.
[0055] From the above description, it can be known that in order to determine the concentration of fluorescent substances, a light source of a certain frequency needs to illuminate the scanning point, the photoelectric sensor reads the fluorescence intensity value, and converts the light signal into an electrical signal, and then processes the electrical signal to generate a digital signal that the microprocessor can operate. The whole process involves the conversion of light signals into electrical signals, and then from electrical signals into digital signals. Each conversion of the signal results in the loss of part of the information, and what is more serious is that the sensor may be affected by the surrounding environment when collecting light signals, and the converted electrical signals may not fully reflect all the information of the light signal, which ultimately leads to a certain deviation between the result and the actual result.
[0056] In some embodiments of the fluorescent test paper quantitative analyzer provided in this application, please refer to Figure 1 , the light source irradiates the test strip 1 to make the fluorescent substance on the test strip 1 emit light to be tested, including:
[0057] The irradiation angle of the light source is adjusted or a baffle is provided between the test strip 1 and the reference light source 2 to prevent the light emitted by the light source from irradiating or reflecting onto the reference light source 2 .
[0058] In order to eliminate the loss of information during signal acquisition and conversion, a reference light source 2 is provided on one side of the test strip 1 in the present application. When light of a certain frequency is irradiated on the fluorescent substance on the test strip 1, the fluorescent substance will emit fluorescence. The reference light source 2 will emit light of the same frequency as the fluorescent substance, but the difference is that the reference light source 2 can adjust the color temperature and intensity of the light it emits.
[0059] In actual application, the light generated by the light source is irradiated on the test strip 1. In order to prevent the light source from irradiating on the reference light source 2, which may cause the reference light to be unable to adjust the intensity correctly, usually, the reference light source 2 is located outside the irradiation area of the light source, or a baffle is provided between the test strip 1 and the reference light source 2, so as to prevent the light of the light source from affecting the reference light source 2.
[0060] In some embodiments of the fluorescent test paper quantitative analyzer provided in this application, please refer to Figure 1 The step of adjusting the parameters of the reference light source 2 so that the color temperature and intensity of the reference light are the same as those of the light to be measured includes:
[0061] The color temperature sensor 3 performs real-time detection and adjusts the parameters until the color temperature of the reference light is the same as the color temperature of the light to be measured.
[0062] In actual application, it is found that under the same light intensity, the data collected by the brightness sensor 4 are different for different color temperatures, and different color temperatures are affected differently by the ambient light.
[0063] In order to improve the detection accuracy and the reference value of the final data, a color temperature sensor 3 can be installed on one side of the brightness sensor 4. When the light source is irradiated, the color temperature of the light emitted by the fluorescent substance is first obtained by the color temperature sensor 3, and then the color temperature of the reference light source 2 is adjusted until the color temperature of the reference light source 2 is the same as the color temperature emitted by the fluorescent substance. At this time, the color temperature data detected by the color temperature sensor 3 are the same.
[0064] In some embodiments of the fluorescent test paper quantitative analyzer provided in this application, please refer to Figure 1 The step of adjusting the parameters until the color temperature of the reference light is the same as the color temperature of the light to be measured comprises:
[0065] The RGB value of the reference light is gradually adjusted by the reference light source 2 .
[0066] The adjustment of color temperature can be achieved by changing the RGB value, and then the color temperature is determined by conversion. The RGB color mode is a color standard in the industry. It is obtained by changing the three color channels of red (R), green (G), and blue (B) and superimposing them on each other to obtain a variety of colors. RGB represents the colors of the three channels of red, green, and blue. This standard covers almost all colors that human vision can perceive and is one of the most widely used color systems. Most display devices use the RGB color standard. On the display, the color is produced by the electron gun hitting the red, green, and blue light-emitting poles of the screen. RGB is designed based on the principle of color emission. In layman's terms, its color mixing method is like having three lights, red, green, and blue. When their light overlaps with each other, the colors are mixed, but the brightness is equal to the sum of the brightness of the three. The more mixed, the higher the brightness, that is, additive mixing. Usually, RGB has 256 levels of brightness, which are expressed in numbers from 0, 1, 2 to 255.
[0067] In the present application, the color temperature sensor 3 and the brightness sensor 4 are only used for comparison. Even if there are errors in the data obtained by the sensors, since the error will affect both detections, the error is limited to the minimum range, and even the color temperature and light intensity can be at exactly the same level.
[0068] In some embodiments of the fluorescent test paper quantitative analyzer provided in this application, please refer to Figure 1 The step of adjusting the parameters of the reference light source 2 so that the color temperature and intensity of the reference light are the same as those of the light to be measured includes:
[0069] The brightness sensor 4 performs real-time detection and adjusts the parameters until the intensity of the reference light is the same as the intensity of the light to be measured.
[0070] The existing technical solution is to collect the illumination information of the fluorescent substance through a sensor and then perform corresponding conversion, but this method is easily affected by the surrounding environment, that is, the light of the surrounding environment will irradiate the detection head of the sensor. In this application, the reference light source 2 emits light with the same frequency and intensity as the fluorescent substance. Since the intensity of the light emitted by the reference light source 2 is known and clear, when the light intensity of the reference light source 2 is the same as the light intensity emitted by the fluorescent substance, a series of operations such as signal collection and conversion can be omitted, and the intensity of the light emitted by the fluorescent substance can be directly determined by the light intensity of the reference light source 2 at this time.
[0071] In order to adjust the light emitted by the reference light source 2 to a specific intensity, a brightness sensor 4 is provided above the test strip 1. The light emitted by the light source irradiates the fluorescent substance, and the excitation intensity of the fluorescent substance at this time can be determined by the brightness sensor 4. The reference light source 2 is made to emit the same light, and the light intensity of the reference light source 2 at this time is detected by the brightness sensor 4. The light intensity of the reference light source 2 is adjusted until it is the same as the excitation intensity, and then the intensity value indicated by the reference light source 2 is read at this time, which is the fluorescence intensity value of the fluorescent substance.
[0072] In some embodiments of the fluorescent test paper quantitative analyzer provided in this application, please refer to Figure 1 , judging the concentration of the fluorescent substance by the spacing and the parameters includes:
[0073] The reference light source 2 , the brightness sensor 4 and the color temperature sensor 3 are electrically connected to the communication module respectively.
[0074] When the color temperature and intensity of the light to be measured and the reference light are the same, the communication module transmits the parameters to the microprocessor.
[0075] In order to automatically realize the color temperature adjustment, brightness adjustment and analysis of the reference light source 2, in the present application, the brightness sensor 4 and the color temperature sensor 3 are both electrically connected to the communication module, and the communication module can transmit the data detected by the brightness sensor 4 and the color temperature sensor 3 to the microprocessor, and the microprocessor has an embedded comparison module.
[0076] In actual application, firstly, the reference light source 2 is adjusted to a similar range according to the type of light emitted by the light source, and the color temperature of the light emitted by the fluorescent substance on the test strip 1 is determined by the color temperature sensor 3. Then, the RGB values of the reference light source 2 are gradually adjusted based on the color temperature until the light emitted by the reference light source 2 reaches the same color temperature as the light emitted by the fluorescent substance. At this time, the comparison module records the RGB value and inputs it into the microprocessor.
[0077] When adjusting the brightness, the brightness sensor 4 measures the brightness of the fluorescent substance, and then gradually adjusts the brightness of the reference light source 2 until the brightness is the same. At this time, the comparison module obtains the brightness corresponding to the reference light source 2, and then uploads the brightness parameters set by the reference light source 2 to the microprocessor. After receiving the above data, the microprocessor can be used to determine the concentration of the fluorescent substance.
[0078] In some embodiments of the fluorescent test paper quantitative analyzer provided in this application, please refer to Figure 1 , the distance between the detection line and the control line on the test strip 1 is determined:
[0079] A picture covering the test strip 1 is obtained.
[0080] According to the brightness area in the picture, a center line of the brightness area and a position of the center line are determined.
[0081] The position of the center line is set as the position of the detection line.
[0082] During the analysis process, it is necessary to determine the position of the detection line and the control line. The position of the detection line relative to the control line is an important reference indicator for determining the concentration of the substance. Currently, it is mostly determined by visual inspection or algorithm. However, the above method cannot accurately determine the actual position of the detection line, because the position of the detection line is easily affected by the light source, etc., and visual inspection is prone to errors, and the unique algorithm cannot accurately pick up the true position of the detection line.
[0083] In the present application, after the light source is irradiated onto the test strip 1, the camera 5 above the test strip 1 can obtain the situation of the test strip 1, and then the brightness area and the position of the brightness area on the test strip 1 are picked up through the photographed picture. The center line of the area is obtained, and the center line can indicate the position of the detection line, and the distance between the center line and the control line is the distance between the detection line and the control line to be determined.
[0084] In some embodiments of the fluorescent test paper quantitative analyzer provided in the present application, determining the center line of the brightness area and the position of the center line includes:
[0085] The picture is adjusted to a grayscale image, a threshold is set, pixel points in the grayscale image that are greater than the threshold are retained, and the retained pixel points are combined into the brightness area.
[0086] In order to accurately identify the brightness area and provide theoretical support for the final determination of the position of the detection line, the camera 5 located above the test strip 1 in the present application can obtain a grayscale image. The camera 5 transmits the grayscale image to the microprocessor.
[0087] A threshold is set before the microprocessor performs screening. The microprocessor retains pixels that are larger than the threshold and removes pixels that are smaller than the threshold. Finally, a group of pixels in a highlighted area is obtained, which is the brightness area.
[0088] In some embodiments of the fluorescent test paper quantitative analyzer provided in the present application, determining the center line of the brightness area and the position of the center line includes:
[0089] A plurality of mutually parallel line segments are arranged in the brightness region, and the plurality of line segments are parallel to the length direction of the test strip 1; a line connecting the midpoints of the plurality of line segments is the center line.
[0090] After determining the brightness area, it is necessary to determine the center line of the brightness area. After the center line is determined, the position of the center line can be used as the position of the detection line. After the brightness area is screened out by grayscale value, since the brightness area includes multiple pixel points arranged in a certain specification, the length direction of the test strip 1 is first calibrated in the brightness area. At this time, multiple line segments parallel to the length direction of the test strip 1 can be set in the brightness area. The two ends of the line segment are located on the edge of the brightness area, that is, both ends of the line segment extend to the edge of the brightness area, and then the middle position of each line segment is determined, and the midpoints of each line segment are connected as the center line.
[0091] In some embodiments of the fluorescent test paper quantitative analyzer provided in the present application, setting the position of the center line as the position of the detection line includes:
[0092] The distances between the midpoints of the plurality of line segments and the control line are determined, and a sum and an average of the plurality of distances are taken as the spacing.
[0093] When shooting a grayscale image, a scale line can be set on one side of the test strip 1, and the scale line is parallel to the length direction of the test strip 1. The scale line is marked with scales and the corresponding scale numbers. When shooting a grayscale image, the scale will also be irradiated. After determining the midpoints of multiple line segments, based on the midpoints, a ray is made perpendicular to the length direction of the test strip 1, that is, the direction perpendicular to the scale line, and the ray will intersect with the scale line. By reading the value of the intersection, the position of the center point can be determined.
[0094] After determining the positions of the center points of multiple line segments, add up the values of all the center points on the scale line and take the average value. The resulting value is the position of the center line, that is, the position of the detection line. According to the position of the control line on the scale line, the distance between the detection line and the control line can be determined.
[0095] In the present application, the detection line is fitted by obtaining the center line of the brightness area, and the average value of each point on the center line is used as the position of the detection line. Compared with the prior art by visual inspection or algorithm inference, the distance between the detection line and the control line is judged with higher accuracy, so that the concentration of the fluorescent substance can be judged more accurately.
[0096] The above are only preferred embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A fluorescent test paper quantitative analyzer, characterized in that: include: Position the test strip on the testing table; Setting parameters of a light source, wherein the light source illuminates the test strip to cause the fluorescent substance on the test strip to emit light to be tested; The reference light source emits a reference light, and the parameters of the reference light source are adjusted so that the color temperature and intensity of the reference light are the same as those of the light to be measured; Determine the distance between the detection line and the control line on the test strip, and judge the concentration of the fluorescent substance according to the distance and the parameter; The step of adjusting the parameters of the reference light source so that the color temperature and intensity of the reference light are the same as those of the light to be measured comprises: Performing real-time detection through a color temperature sensor, adjusting the parameters until the color temperature of the reference light is the same as the color temperature of the light to be measured; The step of adjusting the parameters until the color temperature of the reference light is the same as the color temperature of the light to be measured comprises: gradually adjusting the RGB value of the reference light by means of the reference light source; The step of adjusting the parameters of the reference light source so that the color temperature and intensity of the reference light are the same as those of the light to be measured comprises: Performing real-time detection through a brightness sensor, adjusting the parameter until the intensity of the reference light is the same as the intensity of the light to be measured; Determining the distance between the detection line and the control line on the test strip: Acquire a picture covering the test strip; Determine, according to the brightness region in the image, a center line of the brightness region and a position of the center line; Setting the position of the center line as the position of the detection line; Determining the center line of the brightness area and the position of the center line includes: Adjusting the image to a grayscale image, setting a threshold, retaining pixels in the grayscale image that are greater than the threshold, and combining the retained pixels into the brightness area; Determining the center line of the brightness area and the position of the center line includes: Arrange a plurality of mutually parallel line segments in the brightness region, wherein the plurality of line segments are parallel to the length direction of the test strip; a line connecting the midpoints of the plurality of line segments is the center line; The step of setting the position of the center line as the position of the detection line comprises: The distances between the midpoints of the plurality of line segments and the control line are determined, and a sum and an average of the plurality of distances are taken as the spacing.
2. The fluorescent test paper quantitative analyzer according to claim 1, characterized in that: The light source irradiates the test strip to make the fluorescent substance on the test strip emit light to be tested, which comprises: The irradiation angle of the light source is adjusted or a baffle is provided between the test strip and the reference light source to prevent the light emitted by the light source from irradiating or reflecting onto the reference light source.
3. The fluorescent test paper quantitative analyzer as claimed in claim 1, characterized in that: Determining the concentration of the fluorescent substance based on the spacing and the parameters includes: The reference light source, the brightness sensor and the color temperature sensor are electrically connected to a communication module respectively; When the color temperature and intensity of the light to be measured and the reference light are the same, the communication module transmits the parameters to the microprocessor.
