Method and device for measuring mixing ratio of colloid raw materials

By obtaining the image after the colloidal raw materials is mixed and the mixing ratio is determined based on the grayscale value of the pixel points, the problem of low accuracy in the measurement of the mixing ratio of the colloidal raw materials in the prior art is solved, and a colloid preparation with high accuracy and strong adaptability is achieved.

CN115824978BActive Publication Date: 2025-02-21CONTEMPORARY AMPEREX TECHNOLOGY CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202210634933.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-06
Publication Date
2025-02-21
Estimated Expiration
2042-06-06

AI Technical Summary

Technical Problem

In the prior art, the accuracy of the mixing ratio measurement of colloid raw materials is low, resulting in slow colloid curing speed or low bonding strength.

Method used

By mixing the colored raw materials that make up the colloid into the mixed glue to be tested, and obtaining their image, the mixing ratio of each raw material is determined based on the grayscale value of the pixel points in the image. This method is non-contact with the raw materials, avoids wear of the device, and is independent of the flow rate of the raw materials, and is suitable for preparing large or small glue amounts.

Benefits of technology

It improves the measurement accuracy of the mixing ratio of colloid raw materials, ensures the fast curing speed and high bonding strength of colloids, and is suitable for the preparation of different glue amounts.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115824978B_ABST
    Figure CN115824978B_ABST
Patent Text Reader

Abstract

The present application provides a method and device for measuring the mixing ratio of colloid raw materials, wherein the method for measuring the mixing ratio of colloid raw materials comprises: mixing the raw materials constituting the colloid into a mixed colloid to be measured; wherein the raw materials constituting the colloid have different colors; obtaining an image of the mixed colloid to be measured; and determining the mixing ratio of each raw material according to the gray value of the pixel point in the image. The method is used to measure the mixing ratio of the colloid raw materials, and the device executing the method is non-contact with the raw materials. In this way, even if the device executing the method runs for a period of time, the device will not be worn due to contact with the raw materials, thereby ensuring that the accuracy of measuring the mixing ratio of the colloid raw materials is high.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of colloid technology, and in particular to a method and device for measuring the mixing ratio of colloid raw materials. Background Art

[0002] Energy conservation and emission reduction are the key to the sustainable development of the automobile industry. Electric vehicles have become an important part of the sustainable development of the automobile industry due to their advantages in energy conservation and environmental protection. For electric vehicles, battery technology is an important factor in their development.

[0003] Multiple components on a battery can be bonded or sealed by colloid, wherein the colloid is a mixture of multiple raw materials, and the mixing ratio of the raw materials has a crucial influence on the performance of the colloid. However, the measurement accuracy of the mixing ratio of the colloid raw materials in the related art is low. Summary of the invention

[0004] The present application aims to solve at least one of the technical problems existing in the prior art. To this end, one purpose of the present application is to propose a method and device for measuring the mixing ratio of colloid raw materials to solve the problem of low measurement accuracy of the mixing ratio of colloid raw materials.

[0005] An embodiment of the first aspect of the present application provides a method for measuring the mixing ratio of colloid raw materials, comprising: mixing the raw materials constituting the colloid into a mixed colloid to be tested; wherein the raw materials constituting the colloid have different colors; obtaining an image of the mixed colloid to be tested; and determining the mixing ratio of each raw material based on the grayscale value of the pixel point in the image.

[0006] In the technical solution of the embodiment of the present application, this method is used to measure the mixing ratio of the colloidal raw materials. The device that performs the method is non-contact with the raw materials. In this way, even if the device that performs the method runs for a period of time, the device will not be worn out due to contact with the raw materials, thereby ensuring that the accuracy of measuring the mixing ratio of the colloidal raw materials is high. Moreover, the principle of measuring the mixing ratio of the colloidal raw materials by this method has nothing to do with the flow rate of the raw materials. Therefore, even if the amount of the mixed raw materials is small, the mixing ratio can still be determined based on the grayscale value of the pixel points in the image of the mixed glue to be measured. In this way, this method can still be applied when preparing a large amount of glue or a small amount of glue.

[0007] In some embodiments, the mixing ratio of each raw material is determined according to the gray value of the pixel in the image, including: determining the mixing ratio of each raw material from a preset mapping relationship between the gray value and the mixing ratio according to the gray value of the pixel in the image. Compared with the related art in which the mixing ratio of the colloid raw materials is obtained by calculating the flow value measured by the flow meter, the method of this embodiment obtains the image of the mixed glue to be tested, and can find the corresponding mixing ratio according to the gray value of the pixel in the image, thereby eliminating the calculation process and being able to quickly analyze the mixing ratio of the colloid raw materials.

[0008] In some embodiments, the mixing ratio of each raw material is determined from a preset mapping relationship between grayscale values ​​and mixing ratios according to the grayscale values ​​of pixels in an image, including: obtaining a channel image according to the image; wherein the channel image includes an R (red) channel image, a G (green) channel image, and a B (blue) channel image; determining a target channel grayscale value according to the grayscale values ​​of pixels in the channel image; and determining the ratio of each raw material according to the target channel grayscale value from a preset mapping relationship between the corresponding channel grayscale value and the mixing ratio.

[0009] Compared with the method of determining the grayscale value according to the color value of the pixel point in the image and determining the mixing ratio of the colloidal raw materials based on this, the present embodiment is arranged so that the single-channel image is composed of a single primary color, which is beneficial to reduce the influence of other primary colors on the determination of the grayscale value, so as to improve the detection accuracy.

[0010] In some embodiments, determining the target channel grayscale value according to the grayscale value of the pixel in the channel image includes: calculating the grayscale value average of all the pixel in the channel image, and determining the grayscale value average as the target channel grayscale value. In this way, the number of pixels analyzed in the channel image is maximized, which improves the calculation accuracy of the target channel grayscale value, thereby facilitating the measurement accuracy of the mixing ratio of the colloidal raw materials.

[0011] In some embodiments, the grayscale value of the target channel is determined according to the grayscale value of the pixel points in the channel image, including: determining the channel image with the largest grayscale value as the target channel image according to the grayscale value of the pixel points in the channel image; determining the target channel grayscale value according to the grayscale value of the pixel points in the target channel image; wherein the target channel grayscale value includes at least one of the grayscale value of the R channel, the grayscale value of the G channel, and the grayscale value of the B channel. By determining the channel image with the largest grayscale value as the target channel image, the brightness of the target channel image is the largest, that is, the single primary color constituting the target channel image is closer to the color of the mixed glue to be measured. On this basis, the grayscale value of the target channel is determined using the grayscale value of the pixel points in the target channel image, and the mixing ratio of the colloidal raw materials is determined based on this, which is conducive to improving the accuracy of the measurement.

[0012] In some embodiments, before acquiring the image of the mixed glue to be tested, the method further includes: placing the mixed glue to be tested on a test tray. By such an arrangement, factors affecting the image of the mixed glue to be tested are reduced, so as to improve the accuracy of measuring the mixing ratio of the colloid raw materials.

[0013] An embodiment of the second aspect of the present application provides a device for measuring the mixing ratio of colloid raw materials, including: a mixing module, an acquisition module and a determination module, the mixing module is configured to mix the raw materials constituting the colloid into a mixed glue to be tested; wherein the colors of the raw materials constituting the colloid are different; the acquisition module is configured to obtain an image of the mixed glue to be tested; and the determination module is configured to determine the mixing ratio of each raw material based on the grayscale value of the pixel point in the image.

[0014] In some embodiments, the determination module is further configured to determine the mixing ratio of each raw material from a preset mapping relationship between the grayscale value and the mixing ratio according to the grayscale value of the pixel point in the image.

[0015] In some embodiments, the determination module is further configured to obtain a channel image based on the image; wherein the channel image includes an R (red) channel image, a G (green) channel image, and a B (blue) channel image; determine the target channel grayscale value based on the grayscale value of the pixel points in the channel image; and determine the proportion of each raw material from a preset mapping relationship between the corresponding channel grayscale value and the mixing ratio based on the target channel grayscale value.

[0016] In some embodiments, the determination module is further configured to calculate the mean grayscale value of all pixels in the channel image, and determine the mean grayscale value as the target channel grayscale value.

[0017] In some embodiments, the determination module is further configured to determine that the channel image with the largest grayscale value is the target channel image based on the grayscale values ​​of the pixels in the channel image; determine the target channel grayscale value based on the grayscale values ​​of the pixels in the target channel image; wherein the target channel grayscale value includes at least one of the R channel grayscale value, the G channel grayscale value and the B channel grayscale value.

[0018] In some embodiments, a preparation module is further included, and the preparation module is configured to place the mixed glue to be tested on the test tray before the acquisition module acquires the image of the mixed glue to be tested.

[0019] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] In the accompanying drawings, unless otherwise specified, the same reference numerals throughout the multiple drawings represent the same or similar parts or elements. These drawings are not necessarily drawn to scale. It should be understood that these drawings only depict some embodiments disclosed in the present application and should not be regarded as limiting the scope of the present application.

[0021] Figure 1A schematic diagram of a device for preparing colloid in the related art;

[0022] Figure 2 It is a schematic diagram of an exploded view of a battery cell having a colloid prepared by the method for measuring the mixing ratio of colloid raw materials according to an embodiment of the present application;

[0023] Figure 3 for Figure 2 A cross-sectional view of the end cap assembly shown in FIG.

[0024] Figure 4 A schematic flow chart of a method for measuring a mixing ratio of colloid raw materials according to some embodiments of the present application;

[0025] Figure 5 A schematic flow chart of a method for measuring the mixing ratio of colloid raw materials according to other embodiments of the present application;

[0026] Figure 6 To adopt Figure 5 Schematic diagram of obtaining channel images by the method shown;

[0027] Figure 7 for Figure 6 Schematic diagram of the mapping relationship between the three-channel grayscale values ​​of the colloid and the mixing ratio of the colloid raw materials shown in (a);

[0028] Figure 8a and Figure 8b A schematic diagram of the mapping relationship between the gray value of the G channel image of the first colloid and the mixing ratio of the colloid raw materials in some other embodiments of the present application;

[0029] Fig. 9 A schematic diagram of the mapping relationship between the gray value of the G channel image of the second colloid and the mixing ratio of the colloid raw materials in some further embodiments of the present application;

[0030] Fig.10 A schematic flow chart of a method for measuring the mixing ratio of colloid raw materials according to some other embodiments of the present application;

[0031] Fig.11 Schematic diagram of the structure of the device for measuring the mixing ratio of colloid raw materials according to some other embodiments of the present application. DETAILED DESCRIPTION

[0032] The following embodiments of the technical solution of the present application are described in detail in conjunction with the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solution of the present application, and are therefore only used as examples, and cannot be used to limit the scope of protection of the present application.

[0033] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by technicians in the technical field to which this application belongs; the terms used herein are only for the purpose of describing specific embodiments and are not intended to limit this application; the terms "including" and "having" in the specification and claims of this application and the above-mentioned figure descriptions and any variations thereof are intended to cover non-exclusive inclusions.

[0034] In the description of the embodiments of the present application, the technical terms "first", "second", etc. are only used to distinguish different objects, and cannot be understood as indicating or implying relative importance or implicitly indicating the number, specific order or primary and secondary relationship of the indicated technical features. In the description of the embodiments of the present application, the meaning of "multiple" is more than two, unless otherwise clearly and specifically defined.

[0035] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0036] In the description of the embodiments of the present application, the term "and / or" is only a description of the association relationship of the associated objects, indicating that there may be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.

[0037] In the description of the embodiments of the present application, the term "multiple" refers to more than two (including two). Similarly, "multiple groups" refers to more than two groups (including two groups), and "multiple pieces" refers to more than two pieces (including two pieces).

[0038] In the description of the embodiments of the present application, the technical terms "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", "clockwise", "counterclockwise", "axial", "radial", "circumferential", etc. indicate orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, which are only for the convenience of describing the embodiments of the present application and simplifying the description, and do not indicate or imply that the referred device or element must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the embodiments of the present application.

[0039] In the description of the embodiments of the present application, unless otherwise clearly specified and limited, technical terms such as "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, and it can be the internal connection of two elements or the interaction relationship between two elements. For those of ordinary skill in the art, the specific meanings of the above terms in the embodiments of the present application can be understood according to the specific circumstances.

[0040] At present, from the perspective of market development, the application of power batteries is becoming more and more extensive. Power batteries are not only used in energy storage power systems such as hydropower, thermal power, wind power and solar power stations, but also widely used in electric vehicles such as electric bicycles, electric motorcycles, electric cars, as well as military equipment and aerospace and other fields. With the continuous expansion of the application field of power batteries, the market demand is also constantly expanding.

[0041] In the related art, multiple components on a battery can be bonded or sealed by colloid. That is, colloid is required in the production process of the battery. However, the inventors have noticed that when colloid is used for bonding, the colloid solidifies slowly, resulting in low battery assembly efficiency, or the colloid bonding strength is low, resulting in a loose connection.

[0042] After careful research, the inventors found that the main reason for the above problems is that the colloid is made by mixing multiple raw materials. The imbalance of the mixing ratio of the colloid raw materials can easily lead to slow curing speed or even no curing, or low bonding strength. In order to solve this problem, the inventors found that the mixing ratio of the colloid raw materials can be measured during the production of the colloid, and the mixing ratio can be adjusted in time according to the measured results to avoid imbalance in the mixing ratio of the produced colloid.

[0043] Figure 1 Schematic diagram of a device 100 for preparing colloid in the related art. Figure 1 As shown, the device 100 for preparing colloid in the related art includes two glue barrels 110, two feeding pipes 120, a glue discharging valve 130 and a mixing pipe 140. The two glue barrels 110 are respectively used to contain different raw materials constituting the colloid, one end of the two feeding pipes 120 is respectively connected to different glue barrels 110, the other end of the two feeding pipes 120 is connected to the inlet of the glue discharging valve 130, and the outlet of the glue discharging valve 130 is connected to the mixing pipe 140. In this way, the feeding pipe 120 conveys the raw materials to the glue discharging valve 130, and the glue discharging valve 130 conveys the raw materials to the mixing pipe 140 for mixing to prepare the colloid.

[0044] In addition, each feeding pipe 120 is provided with a flow meter 121 and a metering controller 122. The flow meter 121 can measure the flow rate of the raw materials delivered to the glue valve 130 within a certain period of time. Based on this, the mixing ratio of various raw materials can be analyzed and calculated according to the flow values ​​obtained by the two flow meters 121. When the mixing ratio is out of balance, the amount of raw materials delivered to the glue valve 130 is controlled by adjusting the metering controller 122, so as to adjust the mixing ratio of the colloid raw materials until the mixing ratio meets the preset range. The flow meter 121 can specifically be a gear flow meter 121 or a screw flow meter 121. That is to say, the above-mentioned device 100 for preparing colloid uses a gear flow meter 121 or a screw flow meter 121 to detect the flow value of each raw material, so as to calculate the mixing ratio of the colloid raw materials.

[0045] However, the inventors have found that when measuring the mixing ratio of the colloid raw materials in this way, since the colloid will flow through the gear flowmeter 121 or the screw flowmeter 121, after the device 100 for preparing the colloid has been running for a period of time, the flowmeter 121 will be worn, and the flow value detected by the flowmeter 121 will be inaccurate, thereby causing inaccurate measurement of the mixing ratio of the raw materials.

[0046] In addition, the above-mentioned device 100 for preparing colloid is not suitable for preparing large or small amounts of colloid. In other words, when the amount of colloid required for the produced battery is too large or too small, the raw material mixing ratio of the colloid prepared by the above-mentioned device 100 for preparing colloid often has the problem of imbalance. The main reason is that the working principles of the gear flowmeter 121 and the screw flowmeter 121 are similar. Taking the gear flowmeter 121 as an example, the principle of detecting the flow value is that the raw material flows through the gear flowmeter 121, which will cause the gear to rotate. Each time the gear rotates one tooth, a pulse is generated, and a pulse signal proportional to the flow is obtained, and then the flow value is calculated. When the amount of colloid prepared is too small, the raw material flowing through the flowmeter 121 is correspondingly small, and the raw material is difficult to drive the gear to rotate, which leads to inaccurate measurement; when the amount of colloid prepared is too large, the raw material flowing through the flowmeter 121 is correspondingly large, and the rotation speed of the gear is difficult to match, resulting in inaccurate measurement.

[0047] In view of the above problems, the inventors came up with the idea of ​​changing the device for measuring the mixing ratio of colloidal raw materials from one that measures by contacting the raw materials to one that measures without contacting the raw materials. In this way, the device is prevented from being worn out by contact, thereby solving the problem of inaccurate measurement and being applicable to the production of large and small amounts of glue. Inspired by this technical concept, the inventors finally designed a method and device for measuring the mixing ratio of colloidal raw materials. The method mixes the colored raw materials constituting the colloid into a colored mixed glue to be tested, then obtains an image of the mixed glue to be tested, and determines the mixing ratio of the colloidal raw materials based on the grayscale value of the pixel points in the image.

[0048] The method and device for measuring the mixing ratio of colloid raw materials disclosed in the embodiments of the present application can be applied in the production process of batteries, and specifically can be used in the process of preparing colloid on batteries.

[0049] The battery can be used as a power source for mobile phones, tablets, laptops, electric vehicles, electric toys, electric tools and other electric devices, and can provide electric energy for the above-mentioned electric devices. The battery can specifically include a box body and a battery cell 200 (refer to Figure 2 As shown in FIG. 1 , a battery cell 200 is the smallest unit of a battery and can realize the conversion between electrical energy and chemical energy.

[0050] The battery cell 200 should be understood in a broad sense, that is, the battery cell 200 can be a secondary battery or a primary battery, or a lithium-sulfur battery, a sodium-ion battery or a magnesium-ion battery, but is not limited thereto. The battery cell 200 can be cylindrical, rectangular or in other shapes. Figure 2 This is a schematic diagram of a battery cell 200 having a colloid prepared by the method for measuring the mixing ratio of colloid raw materials according to an embodiment of the present application. Figure 2 Taking the battery cell 200 as a rectangular parallelepiped as an example, the battery cell 200 may specifically include an end cap assembly 210, a shell 220, a cell assembly 230 and other functional components. The shell 220 is provided with an inlet. The end cap assembly 210 covers the inlet of the shell 220 and is enclosed with the shell 220 to form a storage space isolated from the external environment. The storage space can accommodate the cell assembly 230, electrolyte and other components. The end cap assembly 210 and the shell 220 can be bonded by a colloid, and the colloid can also play a sealing role, so that the space enclosed by the end cap assembly 210 and the shell 220 is isolated from the outside of the battery cell 200.

[0051] Figure 3 for Figure 2 A cross-sectional view of the end cap assembly 210 is shown in FIG. Figure 3 As shown, in some embodiments, the end cap assembly 210 of the battery may include an end cap 211 and an explosion-proof plate 212, the end cap 211 is provided with a through hole 2110, the explosion-proof plate 212 is located above the through hole 2110 and covers the through hole 2110, and the explosion-proof plate 212 is configured to be cracked to open the through hole 2110 when the internal gas pressure of the battery cell 200 reaches a preset threshold, so that the gas inside the battery cell 200 can be discharged to the outside, so as to ensure that the battery cell 200 has a higher safety. In addition, the battery also includes a seal 213, the seal 213 has two opposite sides, and the two sides are respectively bonded to the top surface of the end cap 211 and the side of the explosion-proof plate 212 facing the inside of the battery cell 200 through a colloid, so that the explosion-proof plate 212 and the end cap 211 have a higher sealing performance.

[0052] According to the above description, the end cap assembly 210 and the housing 220, the seal 213 and the explosion-proof plate 212, and the seal 213 and the end cap 211 of the battery cell 200 can be bonded by colloid. Therefore, it can be understood that colloid is required to complete the assembly, sealing and other processes when producing the battery cell 200. In order to make the curing speed of the colloid fast and the bonding strength high, the method and device provided in this embodiment can be used to measure the mixing ratio of the colloid raw materials when preparing the colloid to avoid the mixing ratio of the colloid raw materials being unbalanced.

[0053] The method for measuring the mixing ratio of colloid raw materials provided in the embodiment of the present application may be performed by the device 300 for measuring the mixing ratio of colloid raw materials (see the following Fig.11 As shown), it may also be an electronic device capable of controlling the device 300 for measuring the mixing ratio of colloid raw materials, such as a server or a terminal device. The following embodiments are schematically described using the device 300 for measuring the mixing ratio of colloid raw materials (hereinafter referred to as the device 300) as an example.

[0054] Figure 4 This is a schematic flow chart of a method for measuring the mixing ratio of colloid raw materials in some embodiments of the present application. Figure 4 As shown, the embodiment of the present application provides a method for measuring the mixing ratio of colloid raw materials, which is mainly used in the preparation process of colloid on the battery, and the mixing ratio of the colloid is adjusted according to the measurement result of the method, so that the prepared colloid has good performance. The method includes the following steps S101 to S103.

[0055] Step S101, mixing raw materials constituting a colloid into a mixed colloid to be tested; wherein the raw materials constituting the colloid have different colors.

[0056] Step S102, obtaining an image of the mixed glue to be tested.

[0057] Step S103, determining the mixing ratio of each raw material according to the gray value of the pixel in the image.

[0058] In step S101, the raw materials constituting the colloid include multiple types, and the components of all the raw materials constituting the colloid and their corresponding colors are known. Specifically, the multiple raw materials constituting the colloid may include at least glue A and glue B. Among them, glue A may be any one of epoxy resins such as bisphenol A epoxy resin, novolac epoxy resin, aliphatic glycidyl ether epoxy resin, etc., and glue B may be any one of curing agents such as alicyclic amine curing agents, polyether amine curing agents, aliphatic amine curing agents, aromatic amine curing agents, etc.

[0059] For example, the raw materials constituting the colloid may be two kinds of glue, A glue and B glue, in which case the colors of glue A and glue B are different. For another example, the raw materials constituting the colloid may be three or more kinds of raw materials, that is, in addition to glue A and glue B, the raw materials constituting the colloid may also include glue C, etc. In this case, at least some of the raw materials have different colors, that is, some of the three or more raw materials may have different colors, some of the raw materials may have the same color, or the three or more raw materials may all have different colors.

[0060] The specific implementation method of making the raw materials constituting the colloid have color is to add color powder to the raw materials. Specifically, the raw materials constituting the colloid can be mixed with color powder before step S101 to obtain a colored raw material. Alternatively, in some embodiments, the raw materials with color powder added can be directly purchased, that is, the raw materials can have color when they are received, which is simple to operate.

[0061] The color of at least one of the raw materials constituting the colloid can be colorful, so that the raw materials can be observed by the naked eye, so that the staff can distinguish the types of raw materials according to the color. For example, in an embodiment in which the raw materials constituting the colloid include two kinds, the color of one raw material can be yellow, and the color of the other raw material can be blue, then the mixed glue to be tested formed by mixing the two raw materials can be green. Here, depending on the amount of the yellow raw material and the blue raw material added, the mixed glue to be tested formed by mixing the yellow raw material and the green raw material can also present different shades of green. Alternatively, the colors of the two raw materials can also be green and white respectively, in which case, the color of the mixed mixed glue to be tested can be light green. It can be seen that the mixed glue to be tested formed by mixing raw materials of different colors can also be green of different shades.

[0062] Of course, in the embodiment where the raw materials constituting the colloid include two kinds of materials, the colors of the two raw materials can also be red and yellow respectively, in which case the color of the mixed colloid to be tested is orange. Alternatively, the colors of the two raw materials can also be red and blue respectively, in which case the color of the mixed colloid to be tested is purple.

[0063] The purpose of step S102 is to obtain an image of the mixed glue to be tested with color obtained in step S101. According to the above description, it is easy to understand that different colors are mixed to obtain different colors. That is, when raw materials of different colors are mixed together, the color of the mixed mixed glue to be tested is also different, and the color of the obtained image is also different.

[0064] In some embodiments, a photographing device may be provided near the mixed rubber to be tested, and the photographing device may obtain an image of the mixed rubber to be tested by taking a photo or the like, and the device 300 for measuring the mixing ratio of the colloid raw materials may obtain an image through the photographing device. Here, the mixed rubber to be tested photographed by the photographing device may be the entire mixed rubber to be tested prepared in step S101, or may be a part of the prepared mixed rubber to be tested, and the present embodiment is not limited thereto.

[0065] In step S103, the grayscale value of the pixel of the image refers to the color brightness of the pixel in the image, and its value range is 0 to 255. When the pixel in the image is white, the grayscale value is 255, and when the pixel in the image is black, the grayscale value is 0, that is, the larger the grayscale value, the brighter the pixel.

[0066] The method for measuring the mixing ratio of colloidal raw materials provided in this embodiment is to prepare a colored mixed glue to be tested, and determine the mixing ratio of the raw materials by obtaining an image of the mixed glue to be tested. It can be seen that when the method is used to measure the mixing ratio of the colloidal raw materials, the device 300 executing the method is non-contact with the raw materials. In this way, even if the device 300 executing the method runs for a period of time, the device 300 will not be worn due to contact with the raw materials, thereby ensuring that the accuracy of measuring the mixing ratio of the colloidal raw materials is high.

[0067] Moreover, compared with using a gear flowmeter 121 or a screw flowmeter 121 to detect the flow value of the raw material, when the method provided in this embodiment is used to measure the mixing ratio of the colloid raw material, the device 300 executing the method is non-contact with the raw material, and the principle of measuring the mixing ratio of the colloid raw material by the method has nothing to do with the flow rate of the raw material. Therefore, even if the amount of the mixed raw material is small, the mixing ratio can still be determined according to the gray value of the pixel point in the image of the mixed glue to be measured. In this way, the method is still applicable when preparing a large amount of glue or a small amount of glue.

[0068] It should also be noted that, because the raw materials constituting the colloid have colors, after the mixing ratio of the colloid raw materials is adjusted to a preset range by using this method, the colloid obtained can also have colors. In this way, during the production process of the battery, it is easy to detect whether the adhesively connected parts (such as the end cap assembly 210 and the seal 213) are coated with colloid.

[0069] For example, the specific implementation of step S103 may be: according to the grayscale value of the pixel in the image, the mixing ratio of each raw material is determined from a preset mapping relationship between the grayscale value and the mixing ratio.

[0070] The colors of the mixed glue to be tested obtained by mixing raw materials of different colors in different proportions are different, and the grayscale values ​​of the pixels in the image of the mixed glue to be tested are also different. Therefore, the grayscale value and the mixing ratio of raw materials of different colors can be set to a corresponding relationship.

[0071] The preset mapping relationship between grayscale value and mixing ratio refers to a predetermined mapping relationship, which includes the grayscale value and the mixing ratio of the colloidal raw materials when certain raw materials are mixed, and the grayscale value and the mixing ratio of the colloidal raw materials are in one-to-one correspondence. That is to say, for each grayscale value, a unique mixing ratio of the colloidal raw materials corresponding to it can be found in the preset mapping relationship between grayscale value and mixing ratio.

[0072] The mapping relationship between the preset grayscale value and the mixing ratio reflects the relationship between the known grayscale value and the known mixing ratio of the colloid raw materials. The mapping relationship between the preset grayscale value and the mixing ratio can be established by: mixing a plurality of raw materials to form a colloid, wherein the mixing amount and color of each raw material are known; obtaining an image of the mixed colloid; and determining the grayscale value of the image of the colloid. In this way, a data set of grayscale values ​​and corresponding mixing ratios is obtained, thereby forming a mapping relationship between the preset grayscale value and the mixing ratio.

[0073] Here, the mapping relationship between grayscale value and mixing ratio should be understood in a broad sense, that is, the mapping relationship can be understood as a ratio comparison list, a mapping diagram or a mapping curve, or a database.

[0074] In this way, by acquiring an image of the mixed glue to be tested and determining the grayscale value of the pixel in the image, the corresponding mixing ratio can be found in the preset mapping relationship between the grayscale value and the mixing ratio, so as to achieve the purpose of measuring the mixing ratio of the colloid raw materials.

[0075] Furthermore, compared with the related art in which the mixing ratio of the colloid raw materials is calculated by calculating the flow value measured by the flow meter 121, the method of this embodiment obtains an image of the mixed glue to be tested, and can find the corresponding mixing ratio according to the grayscale value of the pixel points of the image, thereby eliminating the calculation process and being able to quickly analyze the mixing ratio of the colloid raw materials.

[0076] In a possible embodiment, the grayscale value of a pixel in the image may be implemented by determining the grayscale value of the pixel in the image according to the color value of the pixel in the image.

[0077] A pixel is the smallest image unit. An image can include multiple pixels. The color of each pixel is composed of the three primary colors of red, green, and blue. The color value of the color of each pixel is composed of three channels of red, green, and blue, namely RGB (red, green, and blue). Therefore, it is easy to understand that the color of each pixel corresponds to an RGB value. For example, when the pixel is positive red, its RGB value is (255, 0, 0); when the pixel is positive green, its RGB value is (0, 255, 0); when the RGB value of the pixel is (0, 100, 0), the pixel is light green. Exemplarily, according to the color value of the pixel, the corresponding grayscale value can be calculated by floating point arithmetic, integer method, shift method, or average method.

[0078] It is understandable that, in an optional implementation, the color value average of all pixels in the image can be calculated, and the gray value can be determined based on the color value average. Alternatively, the corresponding gray value can be determined based on the color value of each pixel in the image, and then the average gray value of all pixels is calculated as the gray value of the pixel in the image.

[0079] Figure 5 FIG. 1 is a flow chart of a method for measuring the mixing ratio of colloid raw materials in some other embodiments of the present application. In another possible embodiment, refer to Figure 5 As shown, according to the grayscale value of the pixel point in the image, the implementation method of determining the mixing ratio of each raw material from the preset mapping relationship between the grayscale value and the mixing ratio can be:

[0080] Step S1031, obtaining channel images according to the image; wherein the channel images include an R (red) channel image, a G (green) channel image, and a B (blue) channel image.

[0081] Step S1032, determining the target channel grayscale value according to the grayscale value of the pixel points in the channel image.

[0082] Step S1033, according to the target channel grayscale value, determine the ratio of each raw material from the preset mapping relationship between the corresponding channel grayscale value and the mixing ratio.

[0083] Figure 6 To adopt Figure 5 Schematic diagram of obtaining channel images by the method shown in FIG. 1 . Taking the example that the raw materials constituting the colloid include two kinds of colloids, A and B, A is yellow and B is blue, the mixed colloid to be tested obtained by mixing A and B is green, and the image of the mixed colloid to be tested is obtained as shown in FIG. Figure 6 As shown in (a), Figure 6 In (a), the green color is represented by a thick solid line. It can be understood that the image of the mixed glue to be tested is a multi-channel image composed of three channels: R channel, G channel, and B channel.

[0084] In step S1031, by performing RGB channel decomposition on the image, Figure 6 The R channel image shown in (b) Figure 6 The G channel image shown in (c), and Figure 6 The B channel image shown in (d) in the figure. The R channel image, the G channel image, and the B channel image are all single-channel images, which are composed of only one of the three primary colors of red, green, and blue. Therefore, the R channel image, the G channel image, and the B channel image cannot express color, so they are all grayscale images.

[0085] Since the channel images decomposed in step S1031 include the R channel image, the G channel image and the B channel image, step S1032 can be understood as selecting an image of a channel from the three images of the R channel image, the G channel image and the B channel image, and determining the grayscale value of the target channel according to the grayscale value of the pixel in the selected channel image. It should be noted that the R channel image, the G channel image and the B channel image are single-channel images and grayscale images, and the pixels thereon have only one grayscale value, and the grayscale value ranges from 0 to 255 to reflect the gray degree of the pixel. For example, in Figure 6 middle, Figure 6 The R channel image shown in (b) is the darkest. Figure 6 The G channel image shown in (c) is the brightest. Figure 6 The brightness of the B channel image shown in (d) is between the brightness of the R channel image and the G channel image. Therefore, the grayscale value of the R channel image < the grayscale value of the B channel image < the grayscale value of the G channel image.

[0086] Combined with the above description, it can be known that the target channel grayscale value and the mixing ratio of the colloidal raw materials are also one-to-one corresponding. The meaning of step S1033 is that according to the target channel grayscale value, the unique corresponding mixing ratio of the colloidal raw materials can be found from the preset mapping relationship between the corresponding channel grayscale value and the mixing ratio.

[0087] Here, the mapping relationship is described as a mapping diagram as an example. The preset mapping relationship between the grayscale value of the corresponding channel and the mixing ratio can show the relationship between the grayscale value of the three channels of a certain colloid and the mixing ratio (for example Figure 7 shown), Figure 7 for Figure 6 (a) is a schematic diagram of the mapping relationship between the three-channel grayscale values ​​of the mixed glue to be tested and the mixing ratio of the colloid raw materials. Figure 7 The broken line shown by the single dot-dashed line in the figure is used to represent the relationship between the gray value and the mixing ratio of the R channel image. Figure 7 The broken line shown in the middle is used to represent the relationship between the gray value and the mixing ratio of the B channel image. Figure 7The double-dashed line in the figure is used to represent the relationship between the gray value and the mixing ratio of the G channel image.

[0088] In this example, combined Figure 6 and Figure 7 As shown in Figure 6 As shown in (a), the image of the mixed glue to be tested is decomposed into an R channel image, a G channel image and a B channel image, and according to the gray value of the pixel points in the R channel image, the G channel image or the B channel image, Figure 7 The mixing ratio of glue A and glue B that make up the mixed glue to be tested can be found in the image. For example, when the R channel image is selected to determine the grayscale value of the target channel, if the grayscale value of the target channel is 45, you can Figure 7 In the line graph shown by the single dotted line, the mixing ratio of glue A and glue B is found to be 1:0.9. When the G channel image is selected to determine the gray value of the target channel, if the gray value of the target channel is 200, Figure 7 In the line graph shown by the double dotted line, it is found that the mixing ratio of glue A and glue B is 1:0.9. When the B channel image is selected to determine the target channel grayscale value, if the target channel grayscale value is 100, it can be found that the mixing ratio of glue A and glue B is 1:1.05.

[0089] Of course, the mapping relationship can also show the relationship between the gray value and the mixing ratio of a single-channel image (such as a G-channel image) of a certain colloid. Figure 8a and Figure 8b Schematic diagram of the mapping relationship between the gray value of the G channel image of the first colloid and the mixing ratio of the colloid raw materials in some embodiments of the present application, Fig. 9 The following is a schematic diagram of the mapping relationship between the grayscale value of the G channel image of the second colloid and the mixing ratio of the colloid raw materials in some embodiments of the present application. For example, when the colloid is composed of A glue and B glue, A glue is yellow, and B glue is blue, when A glue is the first type of glue in the epoxy resin and B glue is the second type of glue in the curing agent, A glue and B glue can be mixed into the first colloid, wherein the mapping relationship between the preset corresponding channel grayscale value and the mixing ratio of the first colloid can be referred to Figure 8a and Figure 8b When glue A is the third type of glue in epoxy resin and glue B is the fourth type of glue in curing agent, glue A and glue B can be mixed into a second type of glue, wherein the mapping relationship between the preset corresponding channel gray value and the mixing ratio of the second type of glue can be referred to Fig. 9 shown.

[0090] Thus, when the mixed raw materials include the yellow first type of adhesive and the blue second type of adhesive, after the mixed adhesive to be tested is prepared, the grayscale value of the pixel point of the G channel image can be obtained according to the image of the mixed adhesive to be tested, and then Figure 8a or Figure 8b The mixing ratio corresponding to the gray value is found in the mapping relationship shown. For example, when the gray value is 113.22, it can be determined that the mixing ratio of the colloid raw materials is 0.85:1 for the amount of A glue and the amount of B glue. For another example, when the gray value is 155.68, it can be determined that the mixing ratio of the colloid raw materials is 1:0.85 for the amount of A glue and the amount of B glue.

[0091] Thus, when the raw materials mixed together include yellow third-type adhesive and blue fourth-type adhesive, after the mixed adhesive to be tested is prepared, the grayscale value of the pixel point of the G channel image can be obtained according to the image of the mixed adhesive to be tested, and then Fig. 9 The mixing ratio corresponding to the gray value is found in the mapping relationship shown. For example, when the gray value is 142.0, it can be determined that the mixing ratio of the colloid raw materials is 0.2:1 for the amount of A glue to the amount of B glue. For another example, when the gray value is 65.6, it can be determined that the mixing ratio of the colloid raw materials is 1:0.9 for the amount of A glue to the amount of B glue.

[0092] For the first type of colloid, Figure 8a It can be seen that when the amount of B glue mixed is unchanged, the more glue A is mixed, the more the image of the mixed colloid is decomposed to obtain the G channel image, and the gray value of the pixel points in the G channel image shows an overall upward trend; Figure 8b It can be seen that when the amount of glue A mixed remains unchanged, the more glue B is mixed, the more the image of the mixed colloid is decomposed to obtain a G channel image, and the grayscale value of the pixel points in the G channel image shows an overall downward trend.

[0093] from Fig. 9 It can also be seen that for the second type of colloid, no matter the amount of A glue mixed remains unchanged and the amount of B glue mixed is less, or the amount of B glue mixed remains unchanged and the amount of A glue mixed is more, after the image of the mixed colloid is decomposed, a G channel image is obtained, and the grayscale values ​​of the pixels in the G channel image show an overall downward trend.

[0094] Compared with the method of determining the grayscale value according to the color value of the pixel point in the image and determining the mixing ratio of the colloid raw materials based on this, this embodiment divides the image into a single-channel image, determines the grayscale value of the target channel according to the grayscale value of the single-channel image and determines the mixing ratio of the colloid raw materials based on this. In this way, the single-channel image is composed of a single primary color, which is beneficial to reduce the influence of other primary colors on the determination of the grayscale value, so as to improve the detection accuracy.

[0095] According to some embodiments of the present application, step S1032 may be implemented in the following manner:

[0096] In one example, the mean grayscale value of all pixels in the channel image may be calculated, and the mean grayscale value may be determined as the target channel grayscale value.

[0097] Among them, all the pixels in the channel image refer to all the pixels in the R channel image, all the pixels in the G channel image, or all the pixels in the B channel image. That is to say, any single channel image is selected to determine the grayscale value of the target channel, and the determination method is to average the grayscale values ​​of all the pixels in the selected single channel image, and the calculated average value is the grayscale value of the target channel.

[0098] Of course, in some examples of the present application, the grayscale value of a pixel in a certain channel image may be used as the target channel grayscale value, or the average grayscale value of some pixels in a certain channel image may be used as the target channel grayscale value.

[0099] The method provided in this embodiment determines the grayscale value of the target channel by calculating the mean grayscale value of all pixels in the channel image. In this way, the number of pixels analyzed in the channel image is maximized, which improves the calculation accuracy of the grayscale value of the target channel, thereby facilitating the improvement of the measurement accuracy of the mixing ratio of the colloidal raw materials.

[0100] In another example, the step of determining the grayscale value of the target channel according to the grayscale value of the pixel in the channel image may include step 1 and step 2.

[0101] Step 1: According to the grayscale values ​​of the pixels in the channel images, determine the channel image with the largest grayscale value as the target channel image.

[0102] Step 2, determining the target channel grayscale value according to the grayscale value of the pixel in the target channel image; wherein the target channel grayscale value includes at least one of the R channel grayscale value, the G channel grayscale value and the B channel grayscale value.

[0103] The purpose of step 1 is to select the channel image with the largest grayscale value of the pixel point as the target channel image. Here, it should be pointed out that the target channel image includes at least one of the R channel image, the G channel image and the B channel image. Exemplarily, when there are two channel images with the same grayscale value of the pixel points, and both are greater than the grayscale value of the pixel points in the remaining channel image, at this time, there can be two target channel images.

[0104] On the basis of step 1 and in combination with the above content, step 2 can specifically calculate the mean grayscale value of all pixels in the target channel image and determine the mean grayscale value as the target channel grayscale value.

[0105] Exemplarily, when yellow glue A and blue glue B are mixed to obtain a green mixed glue to be tested, the single primary color composed of the G channel image of the image of the mixed glue to be tested is closest to the color of the mixed glue to be tested, and the G channel image is the brightest, that is, the grayscale value of the pixel in the G channel image is larger. At this time, the G channel image is used as the target channel image, and the grayscale value of the pixel in the G channel image is calculated. The grayscale value is the G channel grayscale value, and the G channel grayscale value is the target channel grayscale value.

[0106] By determining the channel image with the largest grayscale value as the target channel image, the brightness of the target channel image is the largest, that is, the single primary color constituting the target channel image is closer to the color of the mixed glue to be tested. On this basis, the grayscale value of the target channel is determined by using the grayscale value of the pixel points in the target channel image, and the mixing ratio of the colloid raw materials is determined based on this, which is conducive to improving the accuracy of the measurement.

[0107] It should be pointed out that when there are multiple target channel images, correspondingly, there are multiple target channel grayscale values. According to the multiple target channel grayscale values, multiple corresponding mixing ratios of the colloidal raw materials can be found, and the multiple mixing ratios can be used as references to each other to verify whether the measurement results are accurate.

[0108] According to some embodiments of the present application, after executing step S101 and before executing step S102, the method provided in this embodiment may further include step S201: placing the mixed adhesive to be tested on a test tray.

[0109] In this example, the camera device can be far away from the device for mixing raw materials, and the camera device only needs to be aimed at the test pallet to capture the image of the mixed rubber to be tested on the test pallet. The color of the test pallet and the color of the mixed rubber to be tested can be different, so that the image of the mixed rubber to be tested can be easily captured in the image captured by the camera device.

[0110] When the camera is aimed directly at the device for mixing raw materials, the captured image may also include the device for mixing raw materials, which may easily interfere with the image of the mixed glue to be tested. This embodiment reduces the factors that affect the image of the mixed glue to be tested, thereby improving the accuracy of measuring the mixing ratio of the colloid raw materials.

[0111] It should also be noted that, in step S101, mixing the raw materials constituting the colloid into the mixed glue to be tested specifically refers to uniformly mixing the raw materials constituting the colloid into the mixed glue to be tested. In this way, an image of the uniformly mixed mixed glue to be tested can be obtained in step S102, and when step S103 is subsequently executed, the difference in the grayscale value of each pixel in the image of the mixed glue to be tested is small, making the measurement more accurate.

[0112] The method for uniformly mixing the raw materials constituting the colloid into the mixed colloid to be tested can be to stir the raw materials constituting the colloid for a preset time to prepare a uniformly mixed mixed colloid to be tested. Here, the preset time can be designed based on experience and actual working conditions. For example, in the past process of preparing colloids, the time for uniform mixing of A glue and B glue is usually 5 minutes to 10 minutes, so the preset time can be 5 minutes to 10 minutes.

[0113] Fig.10 This is a flow chart of a method for measuring the mixing ratio of colloid raw materials according to some other embodiments of the present application. Fig.10 As shown, in a specific embodiment, the workflow of measuring the mixing ratio of the colloid raw materials may include steps S201 to S207.

[0114] Step S201, uniformly mixing all raw materials constituting the colloid into a mixed colloid to be tested; wherein all the raw materials have different colors.

[0115] Step S202, placing the mixed adhesive to be tested on a test tray.

[0116] Step S203, obtaining an image of the mixed glue to be tested.

[0117] Step S204, obtaining a channel image according to the image; wherein the channel image includes an R channel image, a G channel image and a B channel image.

[0118] Step S205 , selecting at least one of the R channel image, the G channel image, and the B channel image as a target channel image.

[0119] Step S206, calculating the mean grayscale value of all pixels in the target channel image, and determining the mean grayscale value as the target channel grayscale value.

[0120] Step S207, according to the target channel grayscale value, determine the ratio of each raw material from the preset mapping relationship between the corresponding channel grayscale value and the mixing ratio.

[0121] Fig.11 FIG. 3 is a schematic diagram of a device 300 for measuring the mixing ratio of colloid raw materials according to another embodiment of the present invention. Fig.11 The embodiment of the present application also provides a device 300 for measuring the mixing ratio of colloid raw materials, which is applied in the production process of batteries, and can be specifically used in the process of preparing colloid on batteries. The device 300 specifically includes a mixing module 310, an acquisition module 320 and a determination module 330.

[0122] The mixing module 310 is configured to mix the raw materials constituting the colloid into a mixed glue to be tested, wherein the raw materials constituting the colloid have different colors; the acquisition module 320 is configured to acquire an image of the mixed glue to be tested; the determination module 330 is configured to determine the mixing ratio of each raw material based on the grayscale value of the pixel point in the image.

[0123] The device 300 for measuring the mixing ratio of colloidal raw materials provided in this embodiment prepares a colored mixed glue to be tested by mixing multiple raw materials, and determines the mixing ratio of the raw materials by obtaining an image of the mixed glue to be tested. It can be seen that the device 300 of this embodiment is non-contact with the raw materials. In this way, even if the device 300 runs for a period of time, it will not be worn due to contact with the raw materials, thereby ensuring that the accuracy of measuring the mixing ratio of the colloidal raw materials is high.

[0124] In some embodiments, the determination module 330 is further configured to determine the mixing ratio of each raw material from a preset mapping relationship between the grayscale value and the mixing ratio according to the grayscale value of the pixel point in the image.

[0125] In some embodiments, the determination module 330 is further configured to obtain a channel image based on the image; wherein the channel image includes an R (red) channel image, a G (green) channel image, and a B (blue) channel image; determine the target channel grayscale value based on the grayscale value of the pixel points in the channel image; and determine the proportion of each raw material from a preset mapping relationship between the corresponding channel grayscale value and the mixing ratio based on the target channel grayscale value.

[0126] In some embodiments, the determination module 330 is further configured to calculate the mean grayscale value of all pixels in the channel image, and determine the mean grayscale value as the target channel grayscale value.

[0127] In some embodiments, the determination module 330 is further configured to determine that the channel image with the largest grayscale value is the target channel image based on the grayscale values ​​of the pixels in the channel image; determine the target channel grayscale value based on the grayscale values ​​of the pixels in the target channel image; wherein the target channel grayscale value includes at least one of the R channel grayscale value, the G channel grayscale value and the B channel grayscale value.

[0128] In some embodiments, continue to refer to Fig.11 As shown, the device 300 for measuring the mixing ratio of colloid raw materials provided in this embodiment may further include a preparation module 340, and the preparation module 340 is configured to place the mixed glue to be tested on the test tray before the acquisition module 320 acquires the image of the mixed glue to be tested.

[0129] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them; although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein by equivalents; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present application, and they should all be included in the scope of the claims and specification of the present application. In particular, as long as there is no structural conflict, the various technical features mentioned in the various embodiments can be combined in any way. The present application is not limited to the specific embodiments disclosed herein, but includes all technical solutions that fall within the scope of the claims.

Claims

1. A method for measuring the mixing ratio of colloidal raw materials, characterized in that: include: Mixing raw materials constituting the colloid into a mixed colloid to be tested; wherein the raw materials constituting the colloid have different colors; Acquire an image of the mixed glue to be tested; According to the grayscale value of the pixel point in the image, the mixing ratio of each of the raw materials is determined from a preset mapping relationship between the grayscale value and the mixing ratio.

2. The method according to claim 1, characterized in that The step of determining the mixing ratio of each of the raw materials from a preset mapping relationship between the grayscale value and the mixing ratio according to the grayscale value of the pixel point in the image includes: According to the image, a channel image is acquired; wherein the channel image includes an R channel image, a G channel image and a B channel image; Determine the target channel grayscale value according to the grayscale value of the pixel points in the channel image; According to the target channel grayscale value, the ratio of each of the raw materials is determined from a preset mapping relationship between the corresponding channel grayscale value and the mixing ratio.

3. The method according to claim 2, characterized in that Determining the target channel grayscale value according to the grayscale value of the pixel in the channel image includes: Calculate the grayscale value mean of all pixels in the channel image, and determine the grayscale value mean as the target channel grayscale value.

4. The method according to claim 2, characterized in that: Determining the target channel grayscale value according to the grayscale value of the pixel in the channel image includes: According to the grayscale values ​​of the pixels in the channel images, determining the channel image with the largest grayscale value as the target channel image; The target channel grayscale value is determined according to the grayscale value of the pixel in the target channel image; wherein the target channel grayscale value includes at least one of the R channel grayscale value, the G channel grayscale value and the B channel grayscale value.

5. The method according to any one of claims 1 to 4, characterized in that: Before acquiring the image of the mixed glue to be tested, the method further includes: The mixed glue to be tested is placed on a test support plate.

6. A device for measuring the mixing ratio of colloidal raw materials, characterized in that: include: A mixing module, used for mixing raw materials constituting the colloid into a mixed colloid to be tested; wherein the raw materials constituting the colloid have different colors; An acquisition module, used for acquiring an image of the mixed glue to be tested; The determination module is used to determine the mixing ratio of each of the raw materials from a preset mapping relationship between the grayscale value and the mixing ratio according to the grayscale value of the pixel point in the image.

7. The device according to claim 6, characterized in that The determination module is specifically used for: According to the image, a channel image is acquired; wherein the channel image includes an R channel image, a G channel image and a B channel image; Determine the target channel grayscale value according to the grayscale value of the pixel points in the channel image; According to the target channel grayscale value, the ratio of each of the raw materials is determined from a preset mapping relationship between the corresponding channel grayscale value and the mixing ratio.

8. The device according to claim 7, characterized in that The determination module is specifically used to calculate the grayscale value mean of all pixels in the channel image, and determine the grayscale value mean as the target channel grayscale value.

9. The device according to claim 7, characterized in that The determination module is specifically used for: According to the grayscale values ​​of the pixels in the channel images, determining the channel image with the largest grayscale value as the target channel image; The target channel grayscale value is determined according to the grayscale value of the pixel in the target channel image; wherein the target channel grayscale value includes at least one of the R channel grayscale value, the G channel grayscale value and the B channel grayscale value.

10. The device according to any one of claims 6 to 9, characterized in that: It also includes a preparation module, which is used to place the mixed glue to be tested on a test tray before the acquisition module acquires the image of the mixed glue to be tested.

Citation Information

Patent Citations

  • Device for measuring mixing ratio of colloid raw materials

    CN115829926A