Colorimeter for measuring the concentration of a monochromatic solution
By designing a colorimeter including a sample bearing part, a light emitting component, an image acquisition component and a colorimetric module, the problem of high-throughput detection in the prior art is solved, and efficient and simple multi-sample concentration measurement is achieved.
Patent Information
- Application Number
- CN202011349374.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-11-26
- Publication Date
- 2025-05-27
- Estimated Expiration
- 2040-11-26
AI Technical Summary
The existing colorimetric analysis methods can only perform point measurements, cannot achieve high-throughput detection, and need to add complex transmission structures when multiple samples are detected.
A colorimeter is designed, including a sample carrier, a luminous component, an image acquisition component, a dark box and a colorimetric module. By collecting the color images of the sample to be tested, the color depth characterization values are extracted, and the concentration of the sample is calculated based on these values.
It realizes high-throughput quantitative analysis, simple operation and quick detection, and is suitable for the determination of concentrations of many different types of monochromatic solutions, expanding the scope of application.
Smart Images

Figure CN112505028B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of detection technology, and in particular, to a colorimeter for measuring the concentration of a monochromatic solution. Background Art
[0002] Colorimetric analysis is a method that uses the color of the measured colored solution itself or the color presented after adding reagents, observes and compares the color depth of the colored solution with the naked eye (or visual colorimeter), or measures with a photoelectric colorimeter to determine the concentration of the measured substance in the colored solution. Currently, colorimetric analysis is generally carried out using the principle of a spectrophotometer. By setting a laser emitter and a receiver on both sides of the container containing the sample to be measured, the absorbance of light by the colored solution at a specific wavelength or within a certain wavelength range is measured to analyze the concentration of the sample to be measured. This method can only be operated sequentially item by item. This structure can only perform point measurements and cannot perform spatial measurements. When the number of samples to be measured is large, a conveying structure needs to be added to transport different samples to be measured to the detection position. Therefore, it is not applicable in situations where high-throughput detection is required. Summary of the Invention
[0003] In order to overcome the deficiencies of the prior art, the present invention provides a colorimeter body that is simple to operate, fast in detection, has a wide application range, and can achieve high-throughput detection.
[0004] In order to achieve the above objectives, the present invention is realized through the following technical solutions.
[0005] The present invention provides a colorimeter for measuring the concentration of a monochromatic solution, including a colorimeter body, and the colorimeter body includes:
[0006] A sample carrying part for placing a monochromatic sample to be measured whose solution concentration needs to be determined;
[0007] A light emitting component for irradiating the sample to be measured to make the sample to be measured present a color;
[0008] An image acquisition component for acquiring a color image of the sample to be measured to present the color depth condition of the sample to be measured;
[0009] A dark box for providing a dark image acquisition environment;
[0010] A colorimetric module for extracting the color depth characterization value of the color image to match the concentration of the sample to be measured and sending the concentration result to the display end;
[0011] The light emitting component and the image acquisition component are respectively located on both sides of the sample carrying part; the image acquisition component acquires the color image of the sample to be measured under the illumination of the light of the light emitting component for the colorimetric module to perform colorimetric determination of the concentration.
[0012] Preferably, the sample carrier is provided with a plurality of sample positions for accommodating the samples to be tested.
[0013] Preferably, the sample carrier is detachably connected with at least one sample rack; the sample positions for accommodating the samples to be tested are arranged on the sample rack.
[0014] Preferably, the sample position is integrally formed with a colorless transparent container;
[0015] Or, the sample position is in a hole shape for accommodating a container.
[0016] Preferably, the dark box is provided with two openings which are respectively connected with the sample carrier and the image acquisition component to form an imaging channel.
[0017] Preferably, a glass plate is arranged on one side of the sample carrier facing the dark box.
[0018] Preferably, the sample carrier is located at the top of the dark box; the light emitting component is located at the top of the sample carrier; the image acquisition component is located on one side of the dark box; a reflection component is arranged in the dark box to reflect the light emitted from the front of the sample to be tested by the light emitting component towards the image acquisition component.
[0019] Preferably, the colorimeter body further includes a housing for forming an outer shell structure; the housing is provided with a flip cover, and the inner wall of the flip cover is connected with the light emitting component; the flip cover moves together with the light emitting component to open or close the sample carrier.
[0020] Preferably, the housing is provided with an open cover button; a first lock is arranged inside the open cover button, and a second lock is arranged on the bottom plate of the flip cover; the open cover button is matched with the second lock to lock or unlock the flip cover.
[0021] Preferably, the color depth characterization value includes the matching results of the R, G, and B channel components of each pixel point of the color image in the RGB model;
[0022] Or, the color depth characterization value includes the matching results of the lightness value and the saturation value of each pixel point of the color image in the HSV / HSB model.
[0023] Compared with the prior art, the beneficial effects of the present invention are as follows:
[0024] A colorimeter for measuring the concentration of a monochromatic solution provided by the present invention collects a color image of a sample to be measured, extracts a color depth characterization value of the color image, and obtains the concentration of the sample to be measured according to the relationship between the color depth characterization value and the solution concentration. The operation is simple, and it can be applied to the measurement of the concentration of various different types of monochromatic solutions, with a wide application range. The sample carrier part can place several samples to be measured simultaneously as needed. After collecting the corresponding color images, the color depth characterization values of the corresponding images are extracted in sequence and the corresponding concentration values are matched, enabling high-throughput quantitative analysis with high speed.
[0025] The above description is only an overview of the technical solution of the present invention. In order to be able to understand the technical means of the present invention more clearly and implement it according to the content of the specification, the following takes the preferred embodiments of the present invention and combines with the drawings to describe in detail as follows. The specific implementation manners of the present invention are given in detail by the following embodiments and their accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The schematic embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation to the present invention. In the drawings:
[0027] Figure 1 is a structural cross-sectional view of the colorimeter body of the present invention;
[0028] Figure 2 is an assembly structure schematic diagram of the sample rack and the container of the present invention;
[0029] Figure 3 is Figure 1 an enlarged view of part A in
[0030] Figure 4 is an assembly structure schematic diagram of the travel switch of the present invention;
[0031] Figure 5 is a three-dimensional structure schematic diagram of the colorimeter body of the present invention Figure 1 ;
[0032] Figure 6 is a three-dimensional structure schematic diagram of the colorimeter body of the present invention Figure 2 ;
[0033] Figure 7 is a linear regression analysis diagram of a concentration calculation formula of the present invention;
[0034] Figure 8 is a linear regression analysis diagram of another concentration calculation formula of the present invention;
[0035] Figure 9 is a linear regression analysis diagram of another concentration calculation formula of the present invention;
[0036] Figure 10 This is a linear regression analysis diagram of another concentration calculation formula of the present invention.
[0037] In the figure: 1. Colorimeter body;
[0038] 10. Sample carrier; 11. Sample rack; 12. Container; 13. Glass plate;
[0039] 20. Light-emitting component; 21. Fixed plate; 22. Lamp board; 23. Lamp box;
[0040] 30. Image acquisition component;
[0041] 40. Dark box;
[0042] 50. Reflection component; 51. Reflecting mirror; 52. Fixed plate; 53. Adjusting frame;
[0043] 60. Housing; 61. Flip cover; 611. Bottom plate; 6111. Second lock; 62. Open cover button; 621. First lock; 63. Switch; 64. Power button; 65. Foot pad;
[0044] 70. Gas strut;
[0045] 80. Travel switch. Detailed implementation manners
[0046] The following further describes the present invention in detail with reference to the accompanying drawings. The foregoing and other objects, features, aspects and advantages of the present invention will become more apparent, so that those skilled in the art can implement it according to the description in the specification. In the drawings, for clarity, the shapes and dimensions may be enlarged, and the same reference numerals will be used throughout the figures to indicate the same or similar components. In the following description, terms such as center, thickness, height, length, front, back, rear, left, right, top, bottom, upper, lower, etc. are based on the orientation or positional relationship shown in the drawings. In particular, "height" corresponds to the dimension from the top to the bottom, "width" corresponds to the dimension from the left to the right, and "depth" corresponds to the dimension from the front to the back. These relative terms are for convenience of description and generally do not require a specific orientation. Terms related to attachment, connection, etc. (for example, "connect" and "attach") refer to the relationship in which these structures are directly or indirectly fixed or attached to each other through an intermediate structure, and a movable or rigid attachment or relationship, unless otherwise clearly stated.
[0047] Next, with reference to the accompanying drawings and specific implementation manners, the present invention will be further described. It should be noted that, on the premise of no conflict, the following-described embodiments or technical features can be arbitrarily combined to form new embodiments.
[0048] Example 1
[0049] The present invention provides a colorimeter for measuring the concentration of a monochromatic solution, including a colorimeter body 1, as Figure 1 shown, the colorimeter body 1 includes:
[0050] A sample loading part 10 for placing a monochromatic sample to be measured whose solution concentration needs to be measured; specifically, the sample to be measured is a monochromatic solution to be detected. Before measuring the concentration, the prepared sample to be measured is placed on the sample loading part 10;
[0051] A light emitting component 20 for irradiating the sample to be measured to make the sample to be measured present a color; specifically, the light emitting component 20 emits light from the side of the sample to be measured facing away from the image acquisition component 30 to irradiate the sample to be measured, so that the sample to be measured presents a color to provide the light required for the image acquisition component 30 to acquire an image; in one embodiment, the light emitting component 20 includes a plurality of LED lamp beads, and the plurality of LED lamp beads are evenly distributed and arranged facing the sample loading part 10 to emit uniform light to the sample loading part 10;
[0052] An image acquisition component 30 for acquiring a color image of the sample to be measured to present the color depth condition of the sample to be measured; specifically, the image acquisition component 30 has the ability to generate an image, images the sample to be measured at the imaging position and generates a corresponding color image. For the same type of monochromatic solution, when the concentration is different, the types of colors of the corresponding acquired color images remain unchanged, and the color depth of the color images changes; further, the image acquisition component 30 includes, but is not limited to, a camera, a camera, and a video camera;
[0053] A dark box 40 for providing a dark image acquisition environment; through the cooperation of the light emitting component 20 and the dark box 40, the intensity of the light in the dark box 40 is controlled when the light emitting component 20 emits light; in addition, the dark environment in the dark box 40 is ensured when the light emitting component 20 does not emit light;
[0054] Colorimetric module, which extracts the color depth characterization value of the color image to match the concentration of the sample to be measured and sends the concentration result to the display end; specifically, light is an electromagnetic wave, which is naturally a mixed light composed of electromagnetic waves with different wavelengths (380-780nm) in a certain proportion. Through a prism, it can be decomposed into a continuous visible spectrum of various colors such as red, orange, yellow, green, cyan, blue, and purple; when white light passes through a solution, if the solution does not absorb light of various wavelengths, the solution has no color; if the solution absorbs a part of the wavelengths of light, the solution will present the color of the remaining light after passing through the solution; the color of a colored solution is the complementary color of the absorbed light color; the more absorbed, the deeper the complementary color; comparing the depth of the color of a colored solution is essentially comparing the absorption degree of the colored solution to the light it absorbs, that is, obtaining the concentration of the sample to be measured by comparing the color depth of the color image.
[0055] The light-emitting component 20 and the image acquisition component 30 are respectively located on both sides of the sample bearing part 10; the image acquisition component 30 acquires the color image of the sample to be measured under the illumination of the light of the light-emitting component 20 for colorimetric determination of the concentration by the colorimetric module. The image acquisition component 30 and the light-emitting component 20 are respectively arranged on both sides of the sample to be measured. When the colorimeter body 1 starts the concentration measurement, the light-emitting component 20 emits light and shines on the sample to be measured. After the light travels in a straight line, refracts or reflects, it is focused on the imaging plane of the image acquisition component 30, and finally an image of the sample to be measured is obtained; further, according to needs, the local position image of the sample to be measured, the image of the entire sample to be measured, or the image including the container 12 containing the sample to be measured can be used as the image acquisition area. The colorimetric module extracts color depth data from the color image to obtain the color depth characterization value, and calculates the concentration of the sample to be measured by conversion according to the relationship between the color depth characterization value and the concentration.
[0056] It should be understood that the color of the solution is determined by the solute. The solution being monochromatic means that the color of the solution is single. For the same solution, the deeper the color of the solution, the greater the concentration. It should be understood that when the method of the present application measures the concentration of a monochromatic solution, when there are multiple substances affecting the color of the monochromatic solution in the monochromatic solution, through pretreatment, only the substance to be measured presents color in the monochromatic solution, and any existing pretreatment method can be adopted.
[0057] In one embodiment, in order to improve the measurement efficiency of the colorimeter body 1, the sample bearing part 10 is provided with a plurality of sample positions for accommodating the samples to be measured, and images of multiple samples to be measured can be collected simultaneously. The colorimetric module analyzes multiple color images in sequence to obtain the concentrations of the corresponding samples to be measured, realizing high-throughput quantitative analysis, with simple and fast operation.
[0058] Furthermore, the sample carrier part 10 is detachably connected with at least one sample rack 11; sample positions for accommodating the samples to be measured are arranged on the sample rack 11. When it is necessary to dispose of the measured samples after the concentration measurement, the sample rack 11 can be removed for disposal, which is convenient and not likely to cause contamination of the sample carrier part 10 due to improper operation.
[0059] Furthermore, as Figure 1 , Figure 2 shown, the sample positions are integrally formed with colorless transparent containers 12; when it is necessary to dispose of the measured samples, the sample rack 11 is removed, the measured samples are disposed of, and the containers 12 on the sample positions are cleaned for the next concentration measurement;
[0060] or, the sample positions are in the shape of holes for accommodating the containers 12; when it is necessary to dispose of the measured samples, the sample rack 11 is removed, the containers 12 are removed to dispose of the measured samples and clean the containers 12, which is convenient for operation and not likely to cause contamination of the sample rack 11. When it is necessary to place the samples to be measured, the samples to be measured are placed into the containers 12, and then the containers 12 are placed into the corresponding sample positions, and the operation is simple and fast. It should be understood that the containers 12 are colorless and transparent to avoid affecting the color condition of the samples to be measured.
[0061] In an embodiment, as Figure 1 shown, the dark box 40 is provided with two openings respectively connected with the sample carrier part 10 and the image acquisition component 30 to form an imaging channel. A glass plate 13 is arranged on one side of the sample carrier part 10 facing the dark box 40. The glass plate 13 is a colorless transparent structure to separate the sample carrier part 10 from the internal cavity of the dark box 40, so as to avoid contamination of the cavity of the dark box 40 by the samples to be measured, and the light emitted by the light emitting component 20 from the back of the sample to be measured facing away from the image acquisition component 30 can enter the interior of the dark box 40 through the glass plate 13 and be transmitted to the image acquisition component 30 for image acquisition.
[0062] Furthermore, the sample carrier 10 is located at the top of the dark box 40; the light-emitting component 20 is located at the top of the sample carrier 10; the image acquisition component 30 is located on one side of the dark box 40; a reflection component 50 is provided inside the dark box 40 to reflect the light emitted from the front of the sample to be measured by the light-emitting component 20 towards the image acquisition component 30. Specifically, since the sample to be measured is a liquid, in order to facilitate the acquisition of the color image of the sample to be measured, the container 12 for holding the sample to be measured is open; in order to prevent the sample to be measured from falling, the opening of the container 12 faces upward; in order to reduce the influence of the outer wall of the container 12 on the image acquisition of the sample to be measured, the light-emitting component 20 is located at the top of the sample carrier 10, that is, the light-emitting component 20 is located at the top of the opening of the container 12, so that the image acquisition component 30 can acquire the image of the sample to be measured inside the opening of the container 12. In addition, the image acquisition component 30 is located on one side of the dark box 40, and through the reflection component 50, the image acquisition component 30 can successfully acquire the color image of the sample to be measured. Reasonably arranging the installation positions of the sample carrier 10, the light-emitting component 20, and the image acquisition component 30 is beneficial to the miniaturization design of the colorimeter body 1.
[0063] Furthermore, the reflection component 50 includes a reflecting mirror 51, a fixing plate 52, and an adjustment bracket 53. The reflecting mirror 51 is fixed in the groove of the fixing plate 52, the back of the fixing plate 52 is connected to the adjustment bracket 53, and the adjustment bracket 53 is used to adjust the tilt angle of the reflecting mirror 51 to adjust the light intensity when the image acquisition component 30 acquires an image. Further, the adjustment bracket 53 is electrically connected to the control board, and through manual input of an instruction, the control board controls the movement of the adjustment bracket 53 to adjust the tilt angle of the reflecting mirror 51.
[0064] In one embodiment, the light-emitting component 20 includes a fixing plate 21, and a plurality of LED lamp beads are provided on one side of the fixing plate 21 facing the sample carrier 10 to emit light. Further, the light-emitting component 20 further includes at least one lamp board 22 to increase the light intensity. Further, the light-emitting component 20 includes a lamp box 23 for fixing the fixing plate 21 and the lamp board 22; the lamp box 23 is of a housing structure, the side of the lamp box 23 facing the sample carrier 10 is open, and the inner side wall of the lamp box 23 is placed around the sample carrier 10 so that the light emitted by the light-emitting component 20 is directly incident on the sample carrier 10.
[0065] In one embodiment, as Figure 1As shown, the colorimeter body 1 further includes a housing 60 for forming an outer shell structure; the housing 60 is provided with a flip cover 61, and the inner wall of the flip cover 61 is connected to the light-emitting component 20; the flip cover 61 moves together with the light-emitting component 20 to open or close the sample bearing portion 10. The housing 60 is provided to accommodate the sample bearing portion 10, the light-emitting component 20, the image acquisition component 30, the dark box 40, and the colorimetric module, protecting the internal components and preventing dust. Further, the colorimeter body 1 is provided with a gas strut 70, and the gas strut 70 is connected to the flip cover 61, and the flip cover 61 is automatically opened or closed through the gas strut 70. Further, the sample bearing portion 10 and the light-emitting component 20 are arranged close to the inner wall on one side of the housing 60 to reasonably arrange the internal space of the housing 60 occupied by the imaging channel formed by the sample bearing portion 10, the light-emitting component 20, and the image acquisition component 30. Further, the bottom wall of the housing 60 forms the bottom wall structure of the dark box 40, which is beneficial to the miniaturization design of the housing 60 while increasing the internal cavity space of the dark box 40.
[0066] Further, as Figure 1 , Figure 3 , Figure 6 shown, the housing 60 is provided with an open cover button 62; a first lock 621 is provided inside the open cover button 62, and a second lock 6111 is provided on the bottom plate 611 of the flip cover 61; the open cover button 62 cooperates with the second lock 6111 to lock or unlock the flip cover 61. When the flip cover 61 needs to be opened, press the open cover button 62 once, and the first lock 621 is disengaged from the second lock 6111, and the flip cover 61 can be opened; when the flip cover 61 needs to be closed, close the flip cover 61 and press the flip cover 61 down so that the first lock 621 and the second lock 6111 can ensure that the flip cover 61 is tightly closed.
[0067] Further, as Figure 1 shown, the flip cover 61 is connected to a gas strut 70. In one embodiment, the gas strut 70 is controlled to open or pull back the flip cover 61 by manually inputting an instruction. Further, when the open cover button 62 is pressed once, the control board sends a command to the gas strut 70 to open the flip cover 61 after a few seconds or a fixed time, or the instruction input for automatic opening or closing of the cover is realized through the display screen. In yet another embodiment, as Figure 4 shown, the colorimeter body 1 is provided with a travel switch 80, and the contact of the travel switch 80 faces the outer wall of the flip cover 61. When the flip cover 61 is closed, the contact of the travel switch 80 touches the outer wall of the flip cover 61. When the flip cover 61 is opened, the outer wall of the flip cover 61 moves away from the contact of the travel switch 80, and the travel switch 80 sends a signal to indicate that the flip cover 61 stops moving, thereby controlling the opening angle of the flip cover 61.
[0068] In one embodiment, as Figure 1 , Figure 6As shown, the housing 60 is provided with a switch 63 for starting or ending the concentration measurement. As Figure 5 shown, the housing 60 is further provided with a power button 64 for supplying power to the electrical components within the housing 60. The housing 60 is also provided with an output port for outputting the operating status of the electrical components to be monitored or the concentration result within the housing 60 to a display terminal for the user to view; or, the housing 60 is provided with a display terminal for the user to view the operating status of the electrical components to be monitored or the concentration result within the housing 60.
[0069] In one embodiment, as Figure 1 、 Figure 5 、 Figure 6 shown, the bottom of the housing 60 is provided with a plurality of foot pads 65 to improve the stability of the housing 60 when placed. Further, the foot pads 65 are rubber parts to improve the cushioning performance of the foot pads 65.
[0070] In one embodiment, the color depth characterization value includes the matching results of the R, G, and B channel components of each pixel in the RGB model of a color image. Specifically, the R, G, and B channels respectively represent the red R color channel, the green G color channel, and the blue B color channel. The R mean value, G mean value, and B mean value of the image in the RGB model are obtained based on the R, G, and B channel components of each pixel to obtain the color depth characterization value of the image. Substitute the obtained R mean value, G mean value, and B mean value of the three channel components into the concentration calculation formula where A and C are coefficients related to the specific sample to be measured, e is a constant, τ is the concentration, and the unit of concentration is g / L. Alternatively, substitute the obtained R mean value, G mean value, and B mean value into the concentration calculation formula τ = K × [Max(R, G, B) - Min(R, G, B)] + C 1 ; where τ is the concentration of a monochromatic solution, K is a coefficient related to the sample to be measured, and C 1 is an adjustment coefficient.
[0071] Specifically, when the concentration calculation formula stored in the colorimetric module is When in use, the colorimetric module stores a solution type matching library. The establishment of the solution type matching library includes the steps of: obtaining color images of a number of standard solutions of known types; obtaining the average R value, average G value, and average B value of the corresponding color images; according to the obtained average R value, average G value, average B value and the concentration of the corresponding standard solution, obtaining the A and C coefficient values after corresponding to the concentration calculation formula, so as to obtain the solution type matching library. When the colorimeter body 1 is used for the concentration determination of multiple different types of samples, input the type of the sample to be measured, match the corresponding A and C coefficient values in the solution type matching library, and then obtain the specific concentration calculation formula, and then the detection can be carried out, which is efficient, fast, and has a wide application range. The solution type matching library can be updated at any time to expand the application object of the colorimeter body 1. It should be understood that for the standard solution of the same type, when determining its A and C coefficient values, since there are two coefficient values, the standard solution is configured into at least two samples with different concentrations to calculate the A and C coefficient values.
[0072] When the concentration calculation formula stored in the colorimetric module is τ = K 1 ×[Max(R, G, B) - Min(R, G, B)] + C 1 When 1 , C 1 The coefficient values can also be obtained by the method of obtaining the corresponding coefficient values when the above concentration calculation formula is and will not be elaborated here.
[0073] In another embodiment, the color depth characterization value includes the matching results of the lightness values and saturation values of each pixel point of the color image in the HSV / HSB model. In the HSV color space of the image, H is the chromaticity value that determines the color; S is the saturation value, which represents the depth of the color; V is the lightness, which represents the brightness. According to the color corresponding to the absorption degree of light by liquids with different concentrations, for a colored solution of the same substance, the chromaticity is independent of the concentration, while the saturation value, lightness value is related to the concentration. The higher the concentration, the greater the saturation value of the image and the smaller the brightness value, that is, the saturation value is positively correlated with the concentration, and the brightness value is negatively correlated with the concentration. The saturation value S represents the degree to which a color approaches a spectral color; a color can be regarded as the result of mixing a certain spectral color with white light. Among them, the larger the proportion of the spectral color, the higher the degree to which the color approaches the spectral color, and the higher the saturation value of the color; when the saturation value is high, the color is deep and vivid; when the white light component of the spectral color is 0, the saturation value reaches the highest; usually, the value range is 0% to 100%, and the larger the value, the more saturated the color; the lightness value represents the brightness of the color. For the light source color, the lightness value is related to the luminance of the light-emitting body; for the object color, this value is related to the transmittance or reflectance of the object, and usually the value range is 0% (black) to 100% (white). The lightness value represents the brightness of the pixel points of the acquired image, and the saturation value represents the depth of the color. For the same colored solution, the color type is determined, and the brightness and depth of the color will change according to the concentration of the colored solution; that is, there is a corresponding relationship between the lightness value and saturation value of the color image of the sample to be measured and the concentration of the sample to be measured. The lightness value and saturation value of the color image represent the color depth characterization value of the corresponding sample to be measured. For the same type of sample, when the sample concentration changes, the color characterization value of its color image also changes.
[0074] Further, the colorimetric module calculates the corresponding average lightness value V and average saturation value S according to the lightness values and saturation values of each pixel point of the image in the HSV / HSB model to indicate the concentration of the solution to be measured.
[0075] Further, the colorimetric module calculates the lightness value and saturation value of each pixel in the HSV / HSB model of the image based on the R, G, and B channel values of each pixel in the RGB model of the color image and constructs the HSV model according to the R, G, and B channel values. Further, in one embodiment, the colorimetric module obtains the lightness value and saturation value of the corresponding pixel based on the R, G, and B channel values of each pixel in the target area of the image. In another embodiment, when the color difference between any two pixels of the monochromatic solution is less than a preset threshold, the colorimetric module obtains the lightness value and saturation value of the corresponding pixel based on the R, G, and B channel values of a preset number of pixels in the target area of the image. Specifically, when the color difference of each part of the solution to be measured is not significant and the difference in the three-channel values of different pixels of the image is not significant, it is not necessary to obtain the three-channel values of all pixels in the target area, that is, when the color difference between any two pixels is less than the preset threshold, it is sufficient to select the R, G, and B channel values of a preset number of pixels. Specifically, the image acquisition device acquires an image of the sample rack on which the hemoglobin solution to be measured is placed, denoted as the original image, and segments the original image. Each hemoglobin solution to be measured is an image, denoted as the first image; the target area of the first image is divided and the R, G, and B channel values of all pixels or a preset number of pixels in the target area are obtained, and then the lightness value and saturation value of the first image are obtained.
[0076] Further, the colorimetric module substitutes the lightness mean value V and the saturation mean value S into the concentration calculation formula where V is the lightness mean value, S is the saturation mean value, A 2 , C 2 are coefficients related to the specific sample to be measured, e is a constant, and τ is the concentration. Specifically, the coefficients A 2 , C 2 are obtained first according to the type of the sample to be measured. The obtained V value and S value are substituted into the concentration calculation formula, and then the concentration value can be calculated.
[0077] Alternatively, the colorimetric module substitutes the saturation mean value S and the lightness mean value V into the concentration calculation formula τ = K 3 ×S×V + C 3 ; where τ is the concentration, K 3 is a coefficient related to the sample to be measured, and C 3 is an adjustment coefficient.
[0078] Alternatively, the colorimetric module substitutes the saturation mean value S and the lightness mean value V into the concentration calculation formula where τ is the concentration of the monochromatic solution, A 4 , B 4 are coefficients related to the sample to be measured, and e is a constant.
[0079] Alternatively, the colorimetric module substitutes the saturation mean value S and the lightness mean value V into the concentration calculation formula where τ is the concentration of the monochromatic solution, A 5 , B 5 are coefficients related to the sample to be measured.
[0080] Specifically, when the concentration calculation formula is , the colorimetric module stores a solution type matching library. The establishment of the solution type matching library includes the steps of: obtaining the color images of several standard solutions of known types; obtaining the saturation mean value S and the lightness mean value V of the corresponding color images; substituting the concentrations of the corresponding standard solutions, the corresponding saturation mean value S and the lightness mean value V into the concentration calculation formula to obtain the numerical values of the coefficients; that is, substituting the concentration of the corresponding sample, the lightness mean value and the saturation mean value of its color image into the concentration calculation formula to determine the coefficient values A 2 , C 2 . It should be understood that for standard solutions of the same type, when determining their A 2 , C 2 coefficient values, since there are two coefficient values, the standard solution is configured into at least two samples with different concentrations to calculate A 2 , C 2 coefficient values.
[0081] It should be understood that when the concentration calculation formula is τ = K 3 ×S×V + C 3 or or , when determining the coefficient values of the concentration calculation formula, the method of obtaining the corresponding coefficient values when the concentration calculation formula is can be used to implement, which will not be elaborated here.
[0082] The following elaborates in detail four of the above concentration calculation formulas.
[0083] When the concentration calculation formula is , specifically, prepare 16 groups of samples with known concentrations for linear regression analysis. Respectively obtain the corresponding color images to determine the A and C coefficient values according to the relationship between the matching results of the three-channel components of the sample images and the sample concentrations. The colors of groups 1 to 16 gradually become darker. Obtain the R, G, B three-channel components of the corresponding color images, calculate Max(R, G, B), Min(R, G, B), and further calculate the ratio of the square of Max(R, G, B) to the difference between Max(R, G, B) and Min(R, G, B) as the color characterization result of the corresponding sample image; where R, G, B in Max(R, G, B), Min(R, G, B) respectively represent the R mean value, G mean value, and B mean value. For example Figure 7As shown, a relationship graph is formed with the color characterization results of 16 groups of samples as the abscissa and the concentration as the ordinate; the abscissa x represents the ratio of the square of Max(R, G, B) to the difference between Max(R, G, B) and Min(R, G, B), and y represents the concentration, obtaining the relationship formula between x and y as y = 0.5222e -1.001x ; where the coefficient A is equal to 0.5222; C is equal to -1.001; R 2 represents the correlation index, which is used to reflect the effect of linear regression analysis, ranging from 0 to 1. The closer it is to 1, the better the regression fitting effect. Generally, a model goodness of fit exceeding 0.8 is considered relatively high. Furthermore, a new and convenient concentration calculation formula is determined which can measure the concentration of a single sample or several samples simultaneously, realizing high-throughput quantitative analysis, which is fast and convenient.
[0084] The corresponding relationship between the color characterization results and concentration values of 16 groups of samples is shown in Table 1.
[0085] Table 1
[0086]
[0087] When the concentration calculation formula is τ = K 1 ×[Max(R, G, B) - Min(R, G, B)] + C 1 specifically, 17 groups of samples with known concentrations are prepared for linear regression analysis. The corresponding color images are obtained respectively. The colors of groups 17 to 33 gradually become darker, and K is determined according to the relationship between the difference between Max(R, G, B) and Min(R, G, B) (i.e., [Max(R, G, B) - Min(R, G, B)]) of the color image and the concentration of the corresponding sample 1 value and C 1 value; where R, G, and B in Max(R, G, B) and Min(R, G, B) respectively represent the R mean value, G mean value, and B mean value. After obtaining the color images of the corresponding samples, the R, G, and B channel components of the color images are obtained to obtain Max(R, G, B) and Min(R, G, B), and the difference between Max(R, G, B) and Min(R, G, B) is calculated. As Figure 8 shown, a relationship graph is formed with the values of [Max(R, G, B) - Min(R, G, B)] of 17 groups of samples as the abscissa and the concentration as the ordinate. The abscissa x represents the value of [Max(R, G, B) - Min(R, G, B)]; the ordinate y represents the concentration; the relationship formula between x and y is obtained as y = -0.0053x + 0.7895; where the coefficient K 1 is equal to -0.0053; the coefficient C 1 is equal to 0.7895; R2 It represents the correlation index, which is used to reflect the effect of linear regression analysis. It ranges from 0 to 1. The closer it is to 1, the better the regression fitting effect. Generally, a model with a goodness of fit exceeding 0.8 is considered to have a relatively high degree of goodness of fit. Furthermore, the relationship between the concentration τ and [Max(R, G, B) - Min(R, G, B)] is determined, and a new and convenient concentration calculation formula τ = K 1 × [Max(R, G, B) - Min(R, G, B)] + C 1 . It can be used to measure the concentration of a single sample to be tested, or simultaneously measure the concentrations of several samples to be tested, realizing high-throughput quantitative analysis, which is fast and convenient.
[0088] The corresponding relationship between the values of [Max(R, G, B) - Min(R, G, B)] and the concentration values of 17 groups of samples is shown in Table 2. Among them, " / 255" in Table 2 represents the unit of color value in the RGB model of the image.
[0089] Table 2
[0090] Serial number Concentration (g / L) [Max(R,G,B)-Min(R,G,B)] / 255 Group 17 0.5 51.32802 Group 18 0.48 65.15146 Group 19 0.46 63.26312 Group 20 0.45 70.03295 Group 21 0.43 70.51928 Group 22 0.41 72.21342 Group 23 0.4 71.79225 Group 24 0.38 75.13528 Group 25 0.36 80.2585 Group 26 0.35 87.13145 Group 27 0.33 80.52519 Group 28 0.3 89.05224 Group 29 0.26 95.94428 Group 30 0.23 111.1566 Group 31 0.2 111.3673 Group 32 0.16 121.0743 Group 33 0.13 123.2462
[0091] When the concentration calculation formula is , specifically, 17 groups of samples with known concentrations are prepared for linear regression analysis. The corresponding color images are obtained respectively. The colors of groups 34 to 50 gradually become darker, so as to determine A 2 , C 2 coefficient values according to the relationship between the color characterization results of the color images of the samples and the concentrations of the monochromatic solutions. After obtaining the corresponding color images of the samples, the lightness values and saturation values of the color images are obtained, and the color characterization results (lightness value: saturation value) are calculated. As Figure 9 shown, a relationship graph is formed with the color characterization results and concentrations of 17 groups of samples as the abscissa and ordinate respectively. The abscissa x represents the ratio of the average lightness value to the average saturation value, and the average lightness value is the numerator and the average saturation value is the denominator; the ordinate y represents the concentration; the relationship formula between x and y is obtained as y = 0.7384e -1.79x ; where the coefficient A 2 is equal to 0.7384; the coefficient C 2 is equal to -1.79; R 2 represents the correlation index, which is used to reflect the effect of linear regression analysis. It ranges from 0 to 1. The closer it is to 1, the better the regression fitting effect. Generally, a model with a goodness of fit exceeding 0.8 is considered to have a relatively high degree of goodness of fit. Furthermore, a new and convenient concentration calculation formula is determined It can be used to measure the concentration of a single sample to be tested, or simultaneously measure the concentrations of several samples to be tested, realizing high-throughput quantitative analysis, which is fast and convenient.
[0092] The corresponding relationship between the color characterization results and concentration values of 17 groups of samples is shown in Table 3.
[0093] Table 3
[0094] Serial number Concentration g / L V / S Group 34 0.5 0.233476 Group 35 0.48 0.303853 Group 36 0.46 0.293588 Group 37 0.45 0.330708 Group 38 0.43 0.329197 Group 39 0.41 0.34124 Group 40 0.4 0.340304 Group 41 0.38 0.358868 Group 42 0.36 0.388601 Group 43 0.35 0.430578 Group 44 0.33 0.390709 Group 45 0.3 0.448241 Group 46 0.26 0.506873 Group 47 0.23 0.666133 Group 48 0.2 0.657731 Group 49 0.16 0.837074 Group 50 0.13 1.046687
[0095] When the concentration calculation formula is τ = K 3 ×S×V + C 3 Specifically, 17 groups of samples with known concentrations are prepared for linear regression analysis. The corresponding color images are obtained respectively. The colors of groups 51 to 67 gradually become darker. The value of K in the corresponding concentration calculation formula is determined according to the relationship between the product value of the brightness mean and saturation mean of the color images of the samples and the sample concentration 3 value and the C 3 value. After obtaining the color images of the corresponding single-color solutions, the brightness mean and saturation mean of the color images are obtained, and the product value of the brightness mean and saturation mean is calculated. As Figure 10 shown, a relationship graph is formed with the product value of the brightness mean and saturation mean and the concentration of 17 groups of single-color solutions as the abscissa and ordinate respectively. The abscissa x represents the product of the brightness mean and saturation mean; the ordinate y represents the concentration; the relationship formula between x and y is obtained as y = -0.0053x + 0.7895; where the coefficient K 3 is equal to -0.0053; the adjustment coefficient C 3 is equal to 0.7895; R 2 represents the correlation index, which is used to reflect the effect of linear regression analysis and ranges from 0 to 1. The closer it is to 1, the better the regression fitting effect. Generally, a model with a goodness of fit exceeding 0.8 is considered to have a relatively high goodness of fit. Furthermore, a new and convenient concentration calculation formula τ = K 3 ×S×V + C 3 is obtained. It can be used to measure the concentration of a single sample to be measured, or to measure the concentrations of several samples to be measured simultaneously, realizing high-throughput quantitative analysis, which is fast and convenient.
[0096] The corresponding relationship between the product value of the brightness mean and saturation mean and the concentration values of 17 groups of samples is shown in Table 4.
[0097] Table 4
[0098] Serial number Concentration (g / L) S*V Group 51 0.5 51.32802 Group 52 0.48 65.15146 Group 53 0.46 63.26312 Group 54 0.45 70.03295 Group 55 0.43 70.51928 Group 56 0.41 72.21342 Group 57 0.4 71.79225 Group 58 0.38 75.13528 Group 59 0.36 80.2585 Group 60 0.35 87.13145 Group 61 0.33 80.52519 Group 62 0.3 89.05224 Group 63 0.26 95.94428 Group 64 0.23 111.1566 Group 65 0.2 111.3673 Group 66 0.16 121.0743 Group 67 0.13 123.2462
[0099] It should be understood that the linear regression analysis of the two concentration calculation formulas is the same as the principle of the linear regression analysis method of the above concentration calculation formula, and will not be elaborated here.
[0100] In another embodiment, before the colorimeter body 1 is used to detect the target concentration, the sample needs to be pre-treated. For example, when detecting the concentration of alanine aminotransferase in a blood sample. Specifically, take a blood sample, centrifuge to remove red blood cells, leave the plasma, and add a color reaction reagent to obtain a sample to be tested. Specifically, the reaction principle of alanine aminotransferase and the color reaction reagent is as follows: alanine aminotransferase acts on the substrate composed of alanine and α-ketoglutaric acid at 37 °C and a pH of 7.4 to generate pyruvic acid and glutamic acid. After reacting for 30 minutes, add 2,4-dinitrophenylhydrazine hydrochloride solution to terminate the reaction. At the same time, 2,4-dinitrophenylhydrazine undergoes an addition reaction with the carbonyl group in the keto acid to generate pyruvic acid phenylhydrazone. The phenylhydrazone is reddish-brown under alkaline conditions, that is, the sample to be tested is obtained. The darker the reddish-brown color of the sample to be tested, the higher the concentration of alanine aminotransferase in the blood sample corresponding to the sample to be tested.
[0101] Compared with the prior art, the colorimeter body 1 of the present application has a wide range of applications. By collecting the color image of the sample to be tested and extracting the color depth characterization value, the concentration of the sample to be tested can be calculated. The operation is simple, the detection is fast, and for sample types not stored in the colorimeter body 1, the coefficient value corresponding to the corresponding concentration calculation formula can be obtained by calibrating the standard solution of the sample, so that the type of measurement target can be added at any time.
[0102] The above is only the preferred embodiment of the present invention, and it is not intended to limit the present invention in any form; any ordinary technician in the industry can smoothly implement the present invention as shown in the accompanying drawings of the specification and the above; however, any equivalent changes made by those skilled in the art in the scope of the technical solution of the present invention by using the technical content disclosed above for a little modification, decoration and evolution are all equivalent embodiments of the present invention; at the same time, any equivalent changes, modifications and evolutions made to the above embodiments based on the essence of the present invention still fall within the protection scope of the technical solution of the present invention.
Claims
1. A colorimeter for determining the concentration of a monochromatic solution, comprising a colorimeter body (1), It is characterized in that The colorimeter body (1) comprises: The sample carrying portion (10) is used to place a single-color sample to be tested for solution concentration measurement; A light emitting component (20) is used to illuminate the sample to be tested so that the sample to be tested presents a color; An image acquisition component (30) is used to acquire a color image of the sample to be tested, so as to present the color depth of the sample to be tested; A dark box (40) for providing a dark image acquisition environment; A colorimetric module extracts the color depth representation value of the color image to match the concentration of the sample to be tested and sends the concentration result to the display end; The light-emitting component (20) and the image acquisition component (30) are respectively located on both sides of the sample carrying portion (10); the image acquisition component (30) acquires a color image of the sample to be tested under the illumination of the light of the light-emitting component (20) so as to provide the colorimetric module with colorimetric concentration determination; The colorimetric module calculates the corresponding brightness mean V and saturation mean S according to the brightness value and saturation value of each pixel of the image under the HSV / HSB model to indicate the concentration of the sample to be tested; or obtains the R mean, G mean, and B mean of the image under the RGB model according to the R, G, and B three-channel components of each pixel of the color image under the RGB model to indicate the concentration of the sample to be tested; Concentration calculation formula of the sample to be measured Wherein, V is the mean value of lightness, S is the mean value of saturation, A and C are coefficients related to the specific sample to be measured, e is a constant, and τ is the concentration; the colorimetric module stores a solution type matching library, and the establishment of the solution type matching library includes the steps of: obtaining color images of a number of standard solutions of known types; obtaining the mean value of saturation S and the mean value of lightness V of the corresponding color images; substituting the concentration of the corresponding standard solution, the corresponding mean value of saturation S and the mean value of lightness V into the concentration calculation formula to obtain the numerical value of the coefficient.
2. The colorimeter for measuring the concentration of a monochromatic solution according to claim 1, It is characterized in that The sample carrying portion (10) is provided with a plurality of sample positions for accommodating the sample to be tested.
3. The colorimeter for measuring the concentration of a monochromatic solution according to claim 1, It is characterized in that The sample carrying portion (10) is detachably connected to at least one sample rack (11); a sample position for accommodating the sample to be tested is arranged on the sample rack (11).
4. A colorimeter for measuring the concentration of a monochromatic solution according to claim 2 or 3, It is characterized in that The sample position is integrally formed with a colorless transparent container (12); Alternatively, the sample position is in the form of a hole for accommodating the container (12).
5. The colorimeter for measuring the concentration of a monochromatic solution according to claim 1, It is characterized in that The dark box (40) is provided with two openings, which are respectively connected to the sample carrying portion (10) and the image acquisition component (30) to form an imaging channel.
6. The colorimeter for measuring the concentration of a monochromatic solution according to claim 5, It is characterized in that A glass plate (13) is provided on the side of the sample carrying portion (10) facing the dark box (40).
7. The colorimeter for measuring the concentration of a monochromatic solution according to claim 1, It is characterized in that The sample carrier (10) is located at the top of the dark box (40); the light-emitting component (20) is located at the top of the sample carrier (10); the image acquisition component (30) is located on one side of the dark box (40); a reflection component (50) is provided inside the dark box (40) to reflect the light emitted from the front of the sample to be measured by the light-emitting component (20) towards the image acquisition component (30).
8. The colorimeter for measuring the concentration of a monochromatic solution according to claim 1, characterized in that, the colorimeter body (1) further includes a housing (60) for forming an outer shell structure; the housing (60) is provided with a flip cover (61), and the inner wall of the flip cover (61) is connected to the light-emitting component (20); the flip cover (61) moves together with the light-emitting component (20) to open or close the sample carrier (10).
9. The colorimeter for measuring the concentration of a monochromatic solution according to claim 8, characterized in that, the housing (60) is provided with an open cover button (62); a first lock (621) is provided inside the open cover button (62), and a second lock (6111) is provided on the bottom plate (611) of the flip cover (61); the open cover button (62) cooperates with the second lock (6111) to lock or unlock the flip cover (61).
10. The colorimeter for measuring the concentration of a monochromatic solution according to claim 1, characterized in that, the color depth characterization value includes the matching results of the R, G, and B channel components of each pixel point of the color image in the RGB model; or, the color depth characterization value includes the matching results of the lightness value and the saturation value of each pixel point of the color image in the HSV / HSB model.
Citation Information
Patent Citations
Colour comparator
CN207036678U
Colorimeter for measuring concentration of monochromatic solution
CN214472788U