A fast and convenient method for analyzing white sugar particle size based on graphics processing
By combining image processing technology with Frick's law and Stokes-Einstein's law, and using camera equipment and the diffusion of a specific solution in a colorimetric vessel, the particle size of white sugar can be calculated quickly and accurately, solving the problems of complicated operation and inaccurate measurement in the existing technology.
Patent Information
- Application Number
- CN202411385922.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-30
- Publication Date
- 2025-09-26
- Estimated Expiration
- 2044-09-30
AI Technical Summary
Existing methods for analyzing the particle size of white sugar are complicated and time-consuming, and existing particle size measurement tools are inaccurate or destructive to sugar measurements.
An image processing-based method was used to record the diffusion of the colored solution in the colorimetric vessel using a camera. The particle size was calculated by combining Frick's law and Stokes-Einstein's law. Ethanol and bromothymol were used as solutions, and rapid analysis was performed using a colorimetric vessel and a lighting environment.
The method realizes the white sugar particle size analysis with simple operation and low time consumption, solves the problems of complicated experimental operations and long steps in the existing technology, and has high measurement accuracy.
Smart Images

Figure CN119354830B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of white sugar analysis, and in particular to a fast and convenient white sugar particle size analysis method based on graphic processing. Background Art
[0002] The current particle size analysis experiment for white granulated sugar in table sugar is basically as described in GB / T 35887-2018 "Test Method for White Granulated Sugar" 3.1: "Use a set of test sieves to screen the sugar sample under certain conditions, weigh the sugar sample retained in each sieve, and calculate the relationship between the percentage of sugar sample retained on the sieve and the sieve hole size." This method has complicated procedures, is time-consuming, and has the problem of low efficiency.
[0003] In addition to existing standards, there are particle size measurement tools such as dynamic light scattering and laser particle size analyzers on the market. However, the principle of dynamic light scattering is to determine the hydrodynamic size of particles by measuring the effect of Brownian motion on light scattering in the dispersed system.
[0004] The rate of Brownian motion can be quantified using the translational diffusion coefficient, typically denoted by D. In a dispersed system, smaller particles diffuse faster, while larger particles diffuse slower. This method is an effective measure for measuring submicron and nanoparticle size and distribution. However, for centimeter-scale particle sizes, the deviation is large, and the underlying logic does not match the macroscopic material, making it inapplicable.
[0005] In addition, there are coulometric particle sizers, which measure particle size by calculating the change in electrical resistance of particles immersed in a polar solvent. However, for sugar, since it is easily soluble in polar solvents, this can damage the original particles and result in inaccurate data. Summary of the Invention
[0006] The object of the present invention is to solve the problems existing in the prior art and to provide a fast and convenient method for analyzing the particle size of white sugar based on image processing.
[0007] In order to solve the problems existing in the prior art, the present invention adopts the following technical solutions:
[0008] A fast and convenient method for analyzing the particle size of white sugar based on image processing includes the following steps:
[0009] S1. Set the lighting environment;
[0010] S2. In the illumination environment, the average particle size D of the standard sample is obtained in advance. s and the time t for the colored solution to completely diffuse in the standard sample s and the average particle size D of the standard sample sand the time t for the colored solution to completely diffuse in the standard sample s , obtain coefficients A and B suitable for the lighting environment;
[0011] S3. placing a mixture of the standard sample and the sample to be tested in a cuvette under the illumination environment, injecting a colored solution into one end of the cuvette, and allowing the colored solution to diffuse in the cuvette;
[0012] A camera is provided at the other end of the colorimetric vessel to record the diffusion of the colored solution in the mixture in the form of an image or video, and to obtain the time t when the colored solution is completely diffused in the mixture. x ;
[0013] Calculate the particle size D of the sample to be tested using the particle size calculation formula x , the announcement is as follows:
[0014]
[0015] Among them, D x is the average particle size of the sample to be tested, t s is the time for the colored solution to completely diffuse in the standard sample, t x D is the time for the colored solution to completely diffuse in the standard sample and the sample to be tested. s is the average particle size of the standard sample, and A and B are coefficients suitable for the lighting environment.
[0016] As an improvement to the technical solution of a fast and convenient method for analyzing white sugar particle size based on image processing of the present invention, in S2, under the same lighting environment, a standard sample is placed in a cuvette, a colored solution is injected into one end of the cuvette, and the colored solution diffuses in the cuvette;
[0017] A camera is provided at the other end of the colorimetric vessel to record the diffusion of the colored solution in the form of an image or video, and to obtain the time t for the colored solution to completely diffuse in the standard sample. s ;
[0018] Repeat the above steps multiple times to obtain coefficients A and B suitable for the lighting environment.
[0019] As an improvement to the technical solution of the present invention's fast and convenient method for analyzing white sugar particle size based on image processing, the colorimetric vessel is a rectangular colorimetric vessel, and ethanol is stored in the colorimetric vessel.
[0020] As an improvement to the technical solution of a fast and convenient method for analyzing white sugar particle size based on image processing of the present invention, in S3, a standard sample and the sample to be tested of equal mass are weighed, mixed, and transferred to a colorimetric vessel containing ethanol.
[0021] As an improvement to the technical solution of the present invention's fast and convenient method for analyzing white sugar particle size based on image processing, the colored solution is bromothymol.
[0022] As an improvement to the technical solution of a fast and convenient method for analyzing the particle size of white sugar based on image processing of the present invention, in S3, a colored solution is injected from the upper right end of the cuvette, the colored solution diffuses in the cuvette, and is completely diffused when it diffuses to the lower left end of the cuvette.
[0023] Beneficial effects of the present invention:
[0024] In the present invention, the diffusion of the colored solution is recorded in the form of images or videos using a camera, and the diffusion time of the colored solution in the sample to be tested is obtained. Based on Frick's law and Stokes-Einstein's law, the particle size of the sugar sample is calculated by the diffusion time of the colored solution in the mixture of the sample to be tested and the standard sample. This method has the advantages of simple operation and low time consumption, and solves the problems of complex experimental operations and long steps in the prior art. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] Figure 1 is a schematic diagram of the present invention;
[0026] Figure 2 Schematic diagram of RGB information matching of the invention. DETAILED DESCRIPTION
[0027] In order to make the purpose of the invention, technical solutions and beneficial effects of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments.
[0028] like Figures 1 to 2 As shown, a fast and convenient method for analyzing the particle size of white sugar based on image processing is characterized by comprising the following steps:
[0029] S1. Set the lighting environment;
[0030] S2. In the illumination environment, the average particle size D of the standard sample is obtained in advance. s and the time t for the colored solution to completely diffuse in the standard sample s and the average particle size D of the standard samples and the time t for complete diffusion in the standard sample s , obtain coefficients A and B suitable for the lighting environment;
[0031] S3. placing a mixture of the standard sample and the sample to be tested in a cuvette under the illumination environment, injecting a colored solution into one end of the cuvette, and allowing the colored solution to diffuse in the cuvette;
[0032] A camera is provided at the other end of the colorimetric vessel to record the diffusion of the colored solution in the mixture in the form of an image or video, and to obtain the time t when the colored solution is completely diffused in the mixture. x ;
[0033] Calculate the particle size D of the sample to be tested using the particle size calculation formula x , the announcement is as follows:
[0034]
[0035] Among them, D x is the average particle size of the sample to be tested, t s is the time for the colored solution to completely diffuse in the standard sample, t x D is the time for the colored solution to completely diffuse in the standard sample and the sample to be tested. s is the average particle size of the standard sample, and A and B are coefficients suitable for the lighting environment.
[0036] In the present invention, the diffusion of the colored solution is recorded in the form of images or videos using a camera, and the diffusion time of the colored solution in the sample to be tested is obtained. Based on Frick's law and Stokes-Einstein's law, the particle size of the sugar sample is calculated by the diffusion time of the colored solution in the mixture of the sample to be tested and the standard sample. This method has the advantages of simple operation and low time consumption, and solves the problems of complex experimental operations and long steps in the prior art.
[0037] In some embodiments of the present invention, in S2, under the same illumination environment, a standard sample is placed in a cuvette, a colored solution is injected into one end of the cuvette, and the colored solution diffuses in the cuvette;
[0038] A camera is provided at the other end of the colorimetric vessel to record the diffusion of the colored solution in the form of an image or video, and to obtain the time t for the colored solution to completely diffuse in the standard sample. s Repeat the above steps several times to obtain coefficients A and B suitable for the lighting environment.
[0039] In some embodiments of the present invention, the cuvette is a rectangular cuvette, and ethanol is stored in the cuvette.
[0040] In some embodiments of the present invention, in S3, equal masses of the standard sample and the sample to be tested are weighed, mixed, and transferred to a colorimetric vessel containing ethanol.
[0041] In some embodiments of the present invention, the colored solution is bromothymol.
[0042] In some embodiments of the present invention, in S3, the colored solution is injected from the upper right end of the cuvette, and the colored solution diffuses in the cuvette and is completely diffused when it diffuses to the lower left end of the cuvette.
[0043] In detail, according to Frick's law, the diffusion flux per unit area is J=-D*t, where D is the diffusion coefficient and t is the diffusion time.
[0044] Moreover, according to Stokes-Einstein's law It can be seen that when measuring under the same conditions, the diffusion coefficient D is related to the radius of the medium particles. That is, to achieve the same diffusion effect, that is, the same flux, the time t required is inversely correlated with the sample particle t and radius r. At the same time, the radius ratio of the test sample to the standard sample can be calculated by taking the ratio of the diffusion times t1 and t2 of the colored solution in the test sample and the standard sample, respectively.
[0045] According to the above theory and experimental experience, the particle size calculation formula is obtained by correction. , where D x is the particle size of the sample to be tested, D s is the particle size of the standard sample, t s is the diffusion time of the colored solution in the sample to be tested, t x is the diffusion time of the colored solution in the standard sample.
[0046] By calculating the ratio of the two time values, t1 and t2, the radius ratio of the sample to be tested and the standard sample can be calculated, thereby quickly measuring the average particle size of the sample to be tested. This patent uses an image recognition method, using an algorithm to structure the sugar sample photo, extract its RGB color code and frequency of occurrence, and then calculate the sample particle size by weighted average calculation based on the frequency. This information is compared with the information of the standard color value sample. It has the advantages of simple operation and minimal time consumption.
[0047] As a specific embodiment of the present invention, the operating steps of the present invention are as follows:
[0048] 1. Weigh the sample to be tested and the standard sample of equal mass, transfer them into the colorimetric vessel, and inject an equal amount of ethanol at the same time;
[0049] 2. Then inject a colored liquid such as bromothymol at one end (in the example, inject at the right end, place the camera at the left end, and record the information of the left end cross section, as shown below: Figure 2 .RGB information matching diagram shown)
[0050] 3. The diffusion process of colored liquid. Over time, the colored solution gradually diffuses, as follows
[0051] 4. When diffusion is complete (details as follows), record the T required for final diffusion completion based on the left-end camera correlation.
[0052] 5. Repeat the above operation with 3 different standard samples. The results are recorded in the following table. Use D1 / D2 as the dependent variable and t1 / t2 as the independent variable to perform fitting and calculate the A and B coefficients of the fitting equation.
[0053] Table 1 Example standard sample information table
[0054]
[0055] A sample of unknown particle size was divided into two batches. One batch was treated with the aforementioned method in this patent, and the other batch was processed as described in 3.1 of GB / T 35887-2018, Test Method for White Granulated Sugar: "Sieve the sugar sample using a set of test sieves under certain conditions. Weigh the sugar sample retained on each sieve, and calculate the percentage of sugar sample retained on the sieve relative to the sieve opening." The specific results are as follows:
[0056] Table 2 Example unknown sample information table
[0057]
[0058] As can be seen from Table 2, the patented method is accurate and reliable, and is superior to the current standard conventional chemical method in terms of operation, time and cost.
[0059] Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making any creative work shall fall within the scope of protection of the present invention.
Claims
1. A fast and convenient method for analyzing the particle size of white sugar based on image processing, characterized in that: The following steps are included: S1. Set the lighting environment; S2. Pre-obtain the average particle size D of the standard sample in the illumination environment. s and the time t for the colored solution to completely diffuse in the standard sample s and the average particle size D of the standard sample s and the time t for the colored solution to completely diffuse in the standard sample s , obtain coefficients A and B suitable for the lighting environment; S3. placing a mixture of the standard sample and the sample to be tested in a cuvette under the illumination environment, injecting a colored solution into one end of the cuvette, and allowing the colored solution to diffuse in the cuvette; A camera is provided at the other end of the colorimetric vessel to record the diffusion of the colored solution in the mixture in the form of an image or video, and to obtain the time t when the colored solution is completely diffused in the mixture. x ; Calculate the particle size D of the sample to be tested using the particle size calculation formula x , the announcement is as follows: Among them, D x is the average particle size of the sample to be tested, t s is the time for the colored solution to completely diffuse in the standard sample, t x D is the time for the colored solution to completely diffuse in the standard sample and the sample to be tested. s is the average particle size of the standard sample, and A and B are coefficients suitable for the lighting environment; In S2, under the same illumination environment, a standard sample is placed in a cuvette, a colored solution is injected into one end of the cuvette, and the colored solution diffuses in the cuvette; A camera is provided at the other end of the colorimetric vessel to record the diffusion of the colored solution in the form of an image or video, and to obtain the time t for the colored solution to completely diffuse in the standard sample. s ; Repeat the above steps multiple times to obtain coefficients A and B suitable for the lighting environment.
2. A fast and convenient method for analyzing the particle size of white sugar based on image processing according to claim 1, characterized in that: The cuvette is a rectangular cuvette, and ethanol is stored in the cuvette.
3. A fast and convenient method for analyzing the particle size of white sugar based on image processing according to claim 1, characterized in that: In S3, the standard sample and the sample to be tested are weighed and mixed with the same mass, and then transferred into a colorimetric vessel containing ethanol.
4. A fast and convenient method for analyzing the particle size of white sugar based on image processing according to claim 1, characterized in that: The colored solution is bromothymol.
5. A fast and convenient method for analyzing the particle size of white sugar based on image processing according to claim 1, characterized in that: In S3 , a colored solution is injected from the upper right end of the cuvette. The colored solution diffuses in the cuvette and is completely diffused when it diffuses to the lower left end of the cuvette.
Citation Information
Patent Citations
Rapid, simple and convenient pectinase activity detection method
CN115032121A
Particle size measuring instrument
JP2007192580A