A solid-liquid mixing uniformity determination method and system based on image method
By calculating the centroid coordinates and deviation values of bubbles in solid-liquid mixtures using an image-based method, the problems of inaccurate and complex measurements in existing technologies are solved. This enables rapid and accurate measurement of the uniformity of solid-liquid mixtures and speed adjustment, thereby reducing costs.
Patent Information
- Application Number
- CN202210682781.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-16
- Publication Date
- 2024-11-05
- Estimated Expiration
- 2042-06-16
AI Technical Summary
Existing technologies lack accuracy and timeliness in determining the homogeneity of solid-liquid mixtures, and are complex and costly to operate, making them unsuitable for large-scale promotion.
An image-based method is used to calculate the centroid coordinates of bubbles by capturing images of solid-liquid mixtures, and the mixing uniformity is calculated using the corrected L2-star deviation. The stirring speed is then adjusted according to the deviation value to achieve rapid, quantitative, and online determination.
It enables rapid and accurate measurement of solid-liquid mixing uniformity, is easy to operate, low in cost, and readily implemented, and has good stability and reliability.
Smart Images

Figure CN115290506B_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the field of industrial mixture mixing process detection, and in particular relates to a method for determining the mixing uniformity of a solid-liquid two-phase mixture based on an image method. Background Art
[0002] Mixing operation is a basic process unit operation, which is widely used in chemical, pharmaceutical, food, mining, papermaking, coating, metallurgy, wastewater treatment and other industries. In industrial operations, preventing solid particles from settling and suspending them in the liquid phase is an important purpose of solid-liquid mixing operations. Therefore, the uniformity of the distribution of solid particles in the liquid phase can be used to express the quality of solid-liquid mixing.
[0003] At present, the most common method for determining the uniformity of solid-liquid mixing is to use invasive techniques, such as sampling at different positions of the solid-liquid two-phase mixture to detect a certain indicator (such as sample density, etc.) to judge its mixing quality. This lacks precision and cannot maintain sufficient timeliness. In recent years, various non-invasive technologies have developed rapidly. For example, various visible light / infrared light, lasers, radioactive positrons, etc. are used to pass through the detection area to characterize the mixing properties of solid-liquid mixtures by their signal changes or tracing, including optical detection technology, near-infrared analysis technology, electrical resistance tomography scanning technology, positron emission particle tracking method, etc. These methods have better accuracy and timeliness, however, they often have strict requirements on equipment, environment, etc., and the technical operation is complex and the cost is high, which is not convenient for large-scale promotion.
[0004] Therefore, a new solid-liquid mixing uniformity measurement technology is needed to quickly obtain accurate and effective mixing uniformity information.
[0005] Moreover, it is also a technical need to adjust certain conditions that may affect the mixing uniformity. Summary of the invention
[0006] The present invention aims at solving the problem of inconvenience in measuring the uniformity of existing solid-liquid mixtures, and proposes a method for measuring the uniformity of solid-liquid mixtures based on an image method, which can realize rapid and accurate measurement of the uniformity of solid-liquid two-phase mixtures.
[0007] The technical solution of the present invention is: a method for measuring the uniformity of solid-liquid mixing using deviation based on an image method. The method comprises the following steps:
[0008] 1) Take images of the mixture of solid particles and liquid and process them;
[0009] 2) Calculate the bubble centroid coordinates for the processed black and white bubble image;
[0010] 3) Using the bubble coordinates, the modified L2-star deviation is used to calculate and obtain the deviation of the image bubble distribution;
[0011] 4) Using the deviation to characterize the uniformity of the solid-liquid mixture, repeat steps 1), 2), and 3) every time T;
[0012] 5) When the deviation remains basically unchanged, solid-liquid mixing achieves the best effect.
[0013] 6) Change the stirring speed, repeat steps 1), 2), 3), 4), and 5) at intervals of time T, and adjust the speed by comparing the deviations obtained before and after.
[0014] Specifically:
[0015] 1) For a transparent glass stirring tank for solid-liquid mixing, an electric motor is placed on top, connected to a stirring paddle, and penetrates into the mixture, with the stirring shaft located in the center of the stirring tank. The computer MATLAB software is connected to the encoder disk installed on the motor, a speed is fed back, the motor is started, and the stirring speed of the motor is controlled to start solid-liquid mixing.
[0016] A camera is used to aim at the transparent glass stirring tank to capture and record the image of the solid-liquid mixture. Generally, the image will be intercepted to avoid the central stirring paddle and the vortex generated by the stirring. Then, the image is processed using the corresponding image processing program of MATLAB, and a screenshot is taken and converted into a black and white bubble image, in which the white bubbles represent the solid phase particles.
[0017] 2) Use the bubble centroid coordinates to represent the bubble coordinates. Take the 720×1280 pixel image as an example, mark each target bubble through the connected domain search, use the pixel sequence to mark the horizontal and vertical coordinates of each bubble unit, and then use the boundary coordinates to calculate its centroid coordinates (t i1 ,t i2 ).
[0018] Where i represents the mark number of the target bubble, t i1 Indicates the horizontal coordinate of the center of mass of the target bubble, t i2 Represents the vertical coordinate of its center of mass.
[0019] Then use the following formula to scale the coordinates:
[0020] x i1 =(m i -1) / 1279,x i2 =(n i -1) / 719
[0021] Among them, i represents the mark number of the target bubble, x i1 Indicates the horizontal coordinate of the target bubble, x i2Represents the ordinate of the target bubble. The centroid coordinates of all bubbles are calculated according to this formula and stored in a certain order.
[0022] 3) After obtaining the centroid coordinates of all bubbles, the bubble map is operated using the code for calculating the corrected L2-star deviation to obtain the corrected L2-star deviation of the bubble distribution. The formula used to calculate the corrected L2-star deviation is:
[0023]
[0024] Where i is the bubble number, j is the dimension to be calculated, n is the total number of bubbles, and s is the total number of dimensions to be calculated. Since the image processed here is generally a two-dimensional image, s = 2, x i1 is the horizontal coordinate of the ith bubble, x i2 It is the ordinate of the i-th bubble.
[0025] 4) The smaller the deviation value, the more uniform the bubble distribution, that is, the better the uniformity of the solid-liquid mixing. For each solid-liquid mixing, the solid-liquid mixing image is recorded and processed at intervals of time T, and the corrected L2-star deviation is calculated for the obtained bubble image to characterize the uniformity of the solid-liquid mixing, thereby obtaining a display of the change in the uniformity of the solid-liquid mixing.
[0026] 5) When the deviation value remains basically unchanged, it indicates that the uniformity of the solid-liquid mixing has reached an extreme value, indicating that the solid-liquid mixing has achieved its best effect under this condition, and such mixing should be maintained or the next step should be taken in time.
[0027] 6) Increase the speed to a certain extent, repeat the above steps, and obtain a new stable deviation value. If the final deviation value decreases, it indicates that the uniformity of solid-liquid mixing increases after the speed is increased, and the effect of solid-liquid mixing is better. Keep the speed and continue to increase the speed; if the final deviation value increases, it indicates that the uniformity of solid-liquid mixing decreases after the speed is increased, and the effect of solid-liquid mixing is weakened. Adjust the speed back to before the increase.
[0028] The beneficial effects of the present invention are as follows: compared with the prior art, the determination and speed adjustment methods are simple, rapid, quantitative and online determination can be performed, the invention has good stability and reliability, is easy to implement, has low cost and is easy to operate. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] Figure 1 Schematic diagram of the measuring system of the present invention, wherein the reference numerals of the components and structures are:
[0030] 1-motor; 2-encoder disk; 3-stirring paddle; 4-stirring tank; 5-power supply; 6-camera; 7-computer.
[0031] Figure 2 This is the logic diagram of the speed control system.
[0032] Figure 3 It is a system device diagram, in which the reference numerals of the components and structures are:
[0033] 1-motor; 2-stirring paddle; 3-stirring tank; 4-power supply; 5-computer; 6-camera DETAILED DESCRIPTION
[0034] In order to make the purpose, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments.
[0035] This method is implemented as follows:
[0036] 1) If Figure 1 As shown, the transparent glass stirring tank is placed on a horizontal platform, with solid particles and liquid phase inside. The motor is placed on it using a fixed frame and an encoding disk is installed. The motor shaft is connected to the stirring paddle through a coupling. The stirring shaft is located in the center of the stirring tank, and the paddle blades penetrate deep into the solid-liquid mixture.
[0037] The motor is connected to a power source, and its rotation speed is obtained through an encoder disk on a computer, and is connected to MATLAB software through a code, which can feedback the rotation speed for adjustment.
[0038] A camera connected to a computer is fixed at a certain distance outside the glass stirring tank, with the camera lens facing the glass stirring tank, and the camera is configured to capture the solid-liquid mixing situation in the glass stirring tank, so that a clear solid-liquid mixing image can be obtained, with the center of the image being the stirring shaft.
[0039] Determine and give the motor a smaller initial speed to start stirring, and the stirring speed can be obtained in the computer.
[0040] The camera takes a picture and records the solid-liquid mixing situation every fixed time T, and uploads the acquired solid-liquid image to the computer for processing.
[0041] In the computer, use MATLAB software to process the image:
[0042] First, take a screenshot using the fixed position screenshot code. Generally, you should avoid the central stirring shaft, vortex and other parts, and take a screenshot at a position that is large enough (containing enough solid particles);
[0043] Then, the captured image is processed into a black and white bubble image through grayscale transformation, top hat transformation, binarization, opening operation and other operations and output;
[0044] In the embodiment, the output image is a 720×1280 pixel image, in which white bubbles represent solid particles, and each target bubble is serially labeled through a connected domain search.
[0045] 2) Use the pixel sequence number to mark the horizontal and vertical coordinates of each unit pixel of the bubble, and then use the for loop to obtain the upper left boundary coordinates (m i1 ,m i2 ) and the lower right boundary coordinate (n i1 ,n i2 ).
[0046] Use two coordinates to calculate the pixel centroid coordinates using the following formula:
[0047] t i1 =(m i1 +n i1 ) / 2,t i2 =(m i2 +n i2 ) / 2
[0048] Among them, i represents the mark number of the target bubble, m i1 Indicates the horizontal coordinate of the upper left boundary of the target bubble, m i2 Indicates the ordinate of its upper left border, n i1 Indicates the horizontal coordinate of the lower right boundary of the target bubble, n i2 Indicates the ordinate of its lower right boundary, t i1 Indicates the horizontal coordinate of the center of mass of the target bubble, t i2 Represents the vertical coordinate of its center of mass.
[0049] Then use the following formula to scale the coordinates:
[0050] x i1 =(m i -1) / 1279,x i2 =(n i -1) / 719
[0051] Among them, i represents the mark number of the target bubble, x i1 Indicates the horizontal coordinate of the target bubble after scaling, x i2 Indicates the vertical coordinate of the target bubble after scaling.
[0052] According to this formula, the centroid coordinates (x i1 ,x i2 ) and store them in a certain order.
[0053] In the subsequent process, the coordinates of the bubble are represented by the coordinates of the bubble center.
[0054] 3) After obtaining the coordinates of all bubbles, use the code for calculating the corrected L2-star deviation in MATLAB software, substitute the bubble coordinates, perform calculations, and obtain the corrected L2-star deviation of the bubble distribution. The formula used to calculate the corrected L2-star deviation is:
[0055]
[0056] Where i is the bubble number, j is the dimension to be calculated, n is the total number of bubbles, and s is the total number of dimensions to be calculated. Since the image processed here is generally a two-dimensional image, s = 2, x i1 is the horizontal coordinate of the ith bubble, x i2 It is the ordinate of the i-th bubble.
[0057] The value of MD is between 0 and 1.
[0058] 4) The smaller the deviation value MD is, the more uniform the bubble distribution is, which means the better the uniformity of the solid-liquid mixing is.
[0059] The solid-liquid mixing images recorded at every time T are processed, and the corrected L2-star deviation of the obtained bubble map is calculated to characterize the uniformity of the solid-liquid mixing at that moment.
[0060] By connecting the obtained mixing uniformity at each moment through a data processing program, the change display of the solid-liquid mixing uniformity is obtained.
[0061] 5) The solid-liquid mixing uniformity change curve tends to be stable, that is, the deviation value MD remains basically unchanged, which indicates that the uniformity of this solid-liquid mixing has reached an extreme value, which is the best effect achieved by the solid-liquid mixing when stirring under this speed condition.
[0062] The MD results of two consecutive measurements were compared using MATLAB software. When the change in MD was less than 0.005 for two consecutive times, the deviation was considered to be stable.
[0063] 6) When MD is stable, the MATLAB software code is fed back to the encoder disk to increase the motor speed by a certain Δr. Repeat the above steps to obtain a new stable deviation value MD n .
[0064] When | MD n When -MD|<0.01, it is considered that the speed increase has a negligible effect on the solid-liquid mixing uniformity, and no speed adjustment is performed.
[0065] When | MD n When -MD|>0.01, proceed as follows:
[0066] If MDn <MD indicates that after the rotational speed increases by 5 r / min, the uniformity of the solid-liquid mixture increases, and the solid-liquid mixing effect is better. Therefore, the rotational speed continues to increase by 5 r / min;
[0067] If MD n >MD indicates that after the rotational speed increases by 5 r / min, the uniformity of the solid-liquid mixture decreases, and the solid-liquid mixing effect weakens. Therefore, the rotational speed is decreased by 5 r / min, and the rotational speed feedback adjustment is stopped.
[0068] The above embodiments are used to explain the present invention, rather than to limit the present invention. Any modifications and changes made to the present invention within the spirit and scope of the claims of the present invention fall within the protection scope of the present invention.
Claims
1. An image-based method using modified L 2 - A method for determining the uniformity of solid-liquid mixing and adjusting the stirring speed by using a star deviation, comprising the following steps: 1) Take images of the mixture of solid particles and liquid and process them; 2) Calculate the bubble centroid coordinates for the processed black and white bubble image; 3) Using the bubble coordinates, use the modified L 2 - Star deviation is calculated to obtain the deviation of the bubble distribution in the image; 4) Using the deviation to characterize the uniformity of the solid-liquid mixture, repeat steps 1), 2), and 3) every time T; 5) When the deviation remains unchanged, the solid-liquid mixing achieves the best effect; 6) changing the stirring speed, repeating steps 1), 2), 3), 4), and 5) at intervals of time T, and adjusting the speed by comparing the deviations obtained before and after; Step 3) adopts the following method: After obtaining the coordinates of all bubbles, use the calculation to correct L 2 -Star deviation code, substitute into the bubble coordinates, perform calculations, and obtain the modified L of the bubble distribution 2 -star deviation, in, Used to calculate the modified L 2 -The formula for star deviation is: Where i is the bubble number, j is the dimension to be calculated, n is the total number of bubbles, and s is the total number of dimensions to be calculated. Since the image here is a two-dimensional image, s = 2, x i1 is the horizontal coordinate of the ith bubble, x i2 That is the ordinate of the i-th bubble; The value of MD is between 0 and 1; Step 4) is characterized by: The smaller the deviation value, the more uniform the bubble distribution, that is, the better the uniformity of the solid-liquid mixing. The solid-liquid mixing images recorded at every time T are processed, and the corrected L is calculated for the obtained bubble map. 2 -Star deviation, to characterize the uniformity of solid-liquid mixing; through the processing program, the mixing uniformity obtained at each moment is connected to obtain the change display of the solid-liquid mixing uniformity; Step 5) is characterized by: The deviation value remains unchanged, indicating that the uniformity of the solid-liquid mixing has reached an extreme value, which is also the best effect achieved by the solid-liquid mixing under this condition; Step 6) adopts the following method: Increase the speed and repeat steps 1) to 5). If the final deviation value decreases, it indicates that the uniformity of solid-liquid mixing increases after increasing the speed, and the effect of solid-liquid mixing is better. Keep the speed and repeat step 6); If the final deviation value increases, it indicates that the uniformity of solid-liquid mixing decreases after the speed is increased, and the effect of solid-liquid mixing weakens, and the speed is adjusted back to before the increase; When MD is stable, the MATLAB software code is fed back to the encoder disk to increase the motor speed Δr. Repeat the above steps to obtain a new stable deviation value MD. n ; When | MD n When -MD|<0.01, it is considered that the speed increase has a negligible effect on the solid-liquid mixing uniformity, and no speed adjustment is performed; When | MD n When -MD|>0.01, proceed as follows: If MD n <MD, which indicates that after the rotational speed increases by 5 r / min, the uniformity of the solid-liquid mixture increases and the solid-liquid mixing effect is better. Therefore, the rotational speed continues to increase by 5 r / min; If MD n >MD, indicating that after the speed increases by 5r / min, the uniformity of solid-liquid mixing decreases and the solid-liquid mixing effect weakens, so the speed is reduced by 5r / min and the speed feedback adjustment is stopped.
2. An image-based method as claimed in claim 1, using a modified L 2 - Method for determining the uniformity of solid-liquid mixing and adjusting the stirring speed by star deviation, in: Step 1) adopts the following method: For a transparent glass stirring tank for solid-liquid mixing, an electric motor is placed on top, connected with a stirring paddle, which penetrates into the mixture, and the stirring shaft is located in the center of the stirring tank; the computer MATLAB software is connected to the encoder disk installed on the motor, a speed is fed back, the motor is started, and then the stirring speed of the motor is controlled to start solid-liquid mixing; A camera connected to a computer is fixed outside a glass stirring tank containing solid particles and liquid phase, with the camera lens facing the glass stirring tank so that the center of the acquired image is the stirring axis; after stirring starts at the initial speed, the speed of the stirring paddle motor can be obtained in the computer, and the camera records an image of the solid-liquid mixing situation every time T and uploads it to the computer for processing; When processing, avoid the central stirring shaft and vortex part, capture the image at a fixed position containing enough solid particles, and use MATLAB software to process it into a black and white bubble image, where white bubbles represent solid particles; The final output is a 720× 1280 pixel image, and each target bubble is marked through connected domain search.
3. An image-based method as claimed in claim 2, using a modified L 2 - Method for determining the uniformity of solid-liquid mixing and adjusting the stirring speed by star deviation, in: Step 2) adopts the following method: The bubble centroid coordinates are used to represent the bubble coordinates, the pixel sequence is used to mark the horizontal and vertical coordinates of each bubble unit, and then the boundary coordinates are used to calculate the centroid coordinates (t i1 , t i2 ); Where i represents the mark number of the target bubble, t i1 Indicates the horizontal coordinate of the center of mass of the target bubble, t i2 represents the vertical coordinate of its center of mass; Then use the following formula to scale the coordinates: x i1 =(m i -1) / 1279,x i2 =(n i -1) / 719 Among them, i represents the mark number of the target bubble, x i1 Indicates the horizontal coordinate of the target bubble, x i2 It represents the ordinate of the target bubble. The centroid coordinates of all bubbles are calculated according to this formula and stored in a certain order. Therefore, the coordinates of the bubble are represented by the centroid coordinates of the bubble.
Citation Information
Patent Citations
Centralization method for representing behavior uniformity of droplet clusters in direct contact boiling heat exchange process
CN105653813A
Reelable method for representing behavior uniformity of droplet clusters in direct contact vapor generator
CN105653814A
On-line measuring method for concentration and particle size of particles in a multiphase system
CN105928847A
Method for acquiring internal three-dimensional transient velocity field of fixed liquid drop
CN111458311A
Pellet preparation process based on replacement of bentonite with beneficiation tailings
CN113151674A
