Water bath temperature control system based on image analysis
Through the water bath temperature control system based on image analysis, infrared imaging technology is used to monitor the temperature difference between the heated container of the water bath and the water bath area, and adjust the heating power to achieve the target temperature, which solves the difficulty in monitoring the temperature of the object in the water bath heating container in food processing and The control problem realizes high-precision temperature management.
Patent Information
- Application Number
- CN202510047526.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-13
- Publication Date
- 2025-02-18
AI Technical Summary
During food processing, the temperature of objects in the water bath heating container is difficult to accurately monitor and control, especially when high frequency, low quantity and specific temperature treatment is required, the temperature difference between the ambient temperature and the water bath temperature is large, and Contact temperature detection cannot be directly used.
Using a water bath temperature control system based on image analysis, the pixel parameter data difference between the heated container of the water bath and the water bath area is obtained in real time through infrared imaging technology, and the difference evaluation value is calculated. When the difference value is lower than the specified threshold, the heating power is adjusted to achieve the The target heating temperature is set and the water bath heated container is notified when the stirring time meets the specified time.
Accurate monitoring and control of the temperature of objects in the heated container of the water bath is achieved, reducing temperature differences and improving the temperature management accuracy and efficiency of the food processing process.
Smart Images

Figure CN119472877A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of infrared image data processing, and in particular to a water bath temperature control system based on image analysis. Background Art
[0002] Water bath heating means placing the container that needs to be heated in a larger container filled with water, heating the water in the large container, and then using the convection and radiation heat transfer of the water to heat the sample or reaction in the small container.
[0003] Water bath heating has the following advantages:
[0004] Uniform temperature: Water bath heating can ensure that the temperature in the heating area is relatively uniform, avoiding errors caused by local overheating or uneven temperature.
[0005] Temperature controllable: By adjusting the power of the heating source or adjusting the water temperature, the heating temperature can be controlled more accurately to meet different needs.
[0006] High safety: Compared with direct heating, water bath heating can reduce the risk of fire and explosion because the temperature of the water bath usually does not reach the ignition point of flammable substances.
[0007] Therefore, water bath heating is also widely used in biochemical experiments and material processing, and can also be used for heating, sterilization, and heat preservation in food processing, pharmaceutical manufacturing and other fields;
[0008] However, in some food processing situations where high frequency and low volume are required and objects in a water bath heating container need to be constantly stirred, and the processing of food materials also needs to meet specific temperatures, the ambient temperature needs to be maintained at a relatively low temperature to ensure the quality of the food. As a result, there is a large temperature difference between the ambient temperature and the temperature of the external water bath heating container and the water bath. From the perspective of hygiene and efficiency, it is also impossible to directly use contact temperature detection methods to monitor the temperature of the food in real time, making it difficult to accurately grasp the temperature of the food and the stirring time. Summary of the invention
[0009] In order to relatively accurately monitor and control the temperature and duration of the stirring process of the material in the water bath heating container, the present application provides a water bath temperature control system based on image analysis, which adopts the following technical solutions:
[0010] A water bath temperature control system based on image analysis, comprising:
[0011] Contact temperature acquisition module, used to acquire the current ambient temperature and water bath temperature of the water bath area in real time;
[0012] An image acquisition module, used for acquiring in real time a real-view sampling image and an infrared sampling image of the same viewing angle including the water bath area and the heated container of the water bath;
[0013] A processing module, connected to the image acquisition module, for segmenting the water bath heated container and the water bath area in the infrared sampling image according to a pre-segmentation line, and obtaining a difference evaluation value between the pixel parameter data on both sides of the pre-segmentation line;
[0014] A heating control module, connected to the processing module and the contact temperature acquisition module, for adjusting the heating power according to the target heating temperature and the difference evaluation value and the current ambient temperature and the water bath temperature of the water bath area;
[0015] When the water bath temperature reaches the target heating temperature, the difference evaluation value is lower than a specified threshold, and the container heated by the water bath is continuously stirred for a specified time, a notification is given to remove the container heated by the water bath.
[0016] By adopting the above technical solution and infrared imaging technology, the difference in pixel parameter data between the water bath heated container and the water bath area is compared. When the difference, that is, the difference evaluation value, is small enough, it means that the material temperature at the edge of the water bath heated container can meet the target heating temperature requirement. As the stirring work proceeds, when the stirring time also meets the specified time, the temperature-controlled stirring of the object in the heated container can be completed.
[0017] Optionally, the processing module includes:
[0018] A Yolo recognition module is used to identify the water bath heated container from the real scene sampling image, and select the water bath heated container as a whole by using a rectangular frame;
[0019] A contour drawing module, connected to the Yolo recognition module, for establishing a contour line of the water bath heated container within the rectangular frame;
[0020] The dividing line configuration module is connected to the contour drawing module and is used to thicken the contour line according to the wall thickness of the water bath heated container to obtain the pre-dividing line.
[0021] Optionally, the process of establishing the contour line includes:
[0022] Randomly select at least 4 starting points on the border of the rectangular frame;
[0023] For the starting point positions Di located on both sides of the rectangular frame in the horizontal direction, traverse and compare in the horizontal direction to obtain a pixel point set Ai whose similarity with the standard pixel data is greater than a specified threshold;
[0024] For the starting point Si located at the bottom of the rectangular frame in the vertical direction, traverse and compare in the vertical direction to obtain a pixel point set Bi whose similarity with the standard pixel data is greater than a specified threshold;
[0025] Determine the contour line according to the pixel point set Ai and the pixel point set Bi;
[0026] The standard pixel data is pixel data obtained at the boundary of the water bath heated container in historical experiments.
[0027] Optionally, the processing module further includes:
[0028] A difference evaluation module, connected to the segmentation line configuration module, for obtaining a difference evaluation value between the pixel parameter data on both sides of the pre-segmentation line;
[0029] The method for obtaining the difference evaluation value includes:
[0030] Randomly select one pixel point in a specified range on both sides of the pre-segmentation line as a group, obtain feature vector values of the two pixel points respectively, and calculate the difference evaluation value according to the feature vector values;
[0031]
[0032]
[0033]
[0034]
[0035] in, is the difference evaluation value, is the pixel in the mth group of pixels and pixels The cosine value between the corresponding eigenvectors, n is the total number of groups, , Preset weight coefficients for the corresponding items respectively, Pixel and pixels The Euclidean distance between corresponding eigenvectors, Pixel and pixels The absolute value of the difference in grayscale values, and Pixels and pixels The corresponding eigenvector, Pixels RGB channel parameter values, Pixels RGB channel parameter values.
[0036] Optionally, the heating control module includes:
[0037] A heating power configuration module is used to drive the heating module to work according to given power parameters;
[0038] The regulating module is used to regulate the given power parameter according to the difference evaluation value, the current ambient temperature and the water bath temperature of the water bath area.
[0039] Optionally, the process of adjusting the given power parameter according to the difference evaluation value and the current ambient temperature and the water bath temperature of the water bath area includes:
[0040] Determine the target heating temperature TG, and determine the corresponding given power parameter according to the target heating temperature TG and the current ambient temperature TA ;
[0041] Determine the power regulation coefficient according to the current ambient temperature TA, the water bath temperature TC of the water bath area, and the difference evaluation value Z ;
[0042]
[0043]
[0044] Among them, P is the actual heating power.
[0045] Optionally, the process of obtaining the pre-dividing line by thickening the contour line according to the wall thickness of the water bath heated container is:
[0046] Taking the outline as the center, the wall is thickened on both sides, with each side thickened by 1 / 2 of the wall thickness.
[0047] In summary, the present application includes at least one of the following beneficial technical effects:
[0048] The present invention adopts infrared imaging technology to compare the difference degree of pixel parameter data between the water bath heated container and the water bath area. When the difference degree, that is, the difference evaluation value, is small enough, it means that the material temperature at the edge of the water bath heated container can meet the target heating temperature requirement. As the stirring work is carried out, when the stirring time also meets the specified time, the temperature-controlled stirring of the object in the heated container can be completed. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] Figure 1 It is a diagram of the basic architecture of a water bath temperature control system based on image analysis.
[0050] Figure 2 These are some application scenarios of water bath temperature control system based on image analysis.
[0051] Figure numerals: 10, infrared camera; 20, water bath container; 30, water bath heated container. DETAILED DESCRIPTION
[0052] Embodiments of the present application are described in detail below, examples of which are shown in the accompanying drawings.
[0053] In the description of this specification, the description with reference to the terms "certain embodiments", "one embodiment", "some embodiments", "illustrative embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials, or characteristics described in conjunction with the embodiments or examples are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.
[0054] The present application embodiment discloses a water bath temperature control system based on image analysis, referring to Figure 1 ,include:
[0055] Contact temperature acquisition module, used to acquire the current ambient temperature and water bath temperature of the water bath area in real time;
[0056] An image acquisition module, used for acquiring in real time a real-view sampling image and an infrared sampling image of the same viewing angle including the water bath area and the heated container of the water bath;
[0057] A processing module, connected to the image acquisition module, for segmenting the water bath heated container and the water bath area in the infrared sampling image according to a pre-segmentation line, and obtaining a difference evaluation value between the pixel parameter data on both sides of the pre-segmentation line;
[0058] A heating control module, connected to the processing module and the contact temperature acquisition module, for adjusting the heating power according to the target heating temperature and the difference evaluation value and the current ambient temperature and the water bath temperature of the water bath area;
[0059] When the water bath temperature reaches the target heating temperature, the difference evaluation value is lower than a specified threshold, and the container heated by the water bath is continuously stirred for a specified time, a notification is given to remove the container heated by the water bath.
[0060] The present invention adopts the above-mentioned technical scheme and infrared imaging technology to compare the difference degree of pixel parameter data between the water bath heated container and the water bath area in real time. When the difference degree, that is, the difference evaluation value, is lower than the specified threshold value, it indicates that the material temperature at the edge of the water bath heated container can meet the target heating temperature requirement. With the stirring work in progress, when the stirring time also meets the specified time, the temperature control stirring of the object in the heated container can be completed. In addition, the reason why the infrared temperature measurement technology is not directly used to directly obtain the temperature of the water bath heated container is that the ambient temperature is low, and the objects in the water bath heated container are always in a stirring state, so it is impossible to directly use infrared imaging technology to make an overall judgment on the temperature of the objects in the water bath heated container.
[0061] Optionally, the processing module includes:
[0062] A Yolo recognition module is used to identify the water bath heated container from the real scene sampling image, and select the water bath heated container as a whole by using a rectangular frame;
[0063] A contour drawing module, connected to the Yolo recognition module, for establishing a contour line of the water bath heated container within the rectangular frame;
[0064] The dividing line configuration module is connected to the contour drawing module and is used to thicken the contour line according to the wall thickness of the water bath heated container to obtain the pre-dividing line.
[0065] In the above-mentioned embodiment of the present invention, the Yolo recognition module is trained based on the neural network model of the Yolo4 architecture, and can quickly and accurately identify and select the specified object after training, which is helpful for the subsequent accurate division of the contour line of the water bath heated container, thereby briefly helping the user to determine the degree of temperature difference between the water bath heated container and the water bath area.
[0066] In this embodiment of the present invention, the process of establishing the contour line may include:
[0067] Randomly select 4 starting points on the border of the rectangular frame, 2 on the left border, 1 on the bottom border, and 1 on the right border;
[0068] For the starting points D1 and D2 located at the left horizontal boundary of the rectangular frame, and the starting point D3 at the right horizontal boundary; taking the starting point D1 as an example, traverse and compare from the starting point D1 in the horizontal direction, obtain a pixel point set A1 whose similarity with the standard pixel data is greater than a specified threshold, select the middle point of the continuous pixel set in the pixel point set A1 as the connection point 1, and similarly obtain the connection point 2 associated with D2;
[0069] For the starting point S1 located at the bottom of the rectangular frame in the vertical direction, traverse and compare in the vertical direction to obtain a pixel point set Bi whose similarity with the standard pixel data is greater than a specified threshold. Similarly, the connection point 3 associated with S1 and the connection point 4 associated with D3 can be obtained;
[0070] You can connect point 1 and point 2 to establish the long side of the rectangle, connect point 3 to determine the short side position and long side length of the rectangle, and connect point 4 to determine the short side and short side length of the rectangle, thereby completing the establishment of the contour line;
[0071] The standard pixel data is the pixel data obtained at the boundary of the water bath heated container in the historical experiment. In this embodiment, the water bath heated container is a cylindrical transparent glass container, such as Figure 2 As shown, the left side is an infrared camera 10, and the right side is a water bath container 20 and a water bath heated container 30 arranged in the water bath container.
[0072] Optionally, the process of obtaining the pre-dividing line after thickening the contour line according to the wall thickness of the water bath heated container is: taking the contour line as the center, thickening on both sides respectively, thickening each side by 1 / 2 of the wall thickness, thereby reducing the calculation error of the subsequent difference evaluation value.
[0073] Optionally, the processing module further includes:
[0074] A difference evaluation module, connected to the segmentation line configuration module, for obtaining a difference evaluation value between the pixel parameter data on both sides of the pre-segmentation line;
[0075] The method for obtaining the difference evaluation value includes:
[0076] Randomly select one pixel point in a specified range on both sides of the pre-segmentation line as a group, obtain feature vector values of the two pixel points respectively, and calculate the difference evaluation value according to the feature vector values;
[0077]
[0078]
[0079]
[0080]
[0081] in, is the difference evaluation value, is the pixel in the mth group of pixels and pixels The cosine value between the corresponding eigenvectors, n is the total number of groups, , Preset weight coefficients for the corresponding items respectively, Pixel and pixels The Euclidean distance between corresponding eigenvectors, Pixel and pixels The absolute value of the difference in grayscale values, and Pixels and pixels The corresponding eigenvector, Pixels RGB channel parameter values, Pixels RGB channel parameter values.
[0082] Optionally, the heating control module includes:
[0083] A heating power configuration module is used to drive the heating module to work according to given power parameters;
[0084] The regulating module is used to regulate the given power parameter according to the difference evaluation value, the current ambient temperature and the water bath temperature of the water bath area.
[0085] Optionally, the process of adjusting the given power parameter according to the difference evaluation value and the current ambient temperature and the water bath temperature of the water bath area includes:
[0086] Determine the target heating temperature TG, and determine the corresponding given power parameter according to the target heating temperature TG and the current ambient temperature TA ;
[0087] Determine the power regulation coefficient according to the current ambient temperature TA, the water bath temperature TC of the water bath area, and the difference evaluation value Z ;
[0088]
[0089]
[0090] Where P is the actual heating power. When the current ambient temperature TA is higher than the target heating temperature TG, the power parameter Heat up.
[0091] In this embodiment, the ambient temperature is mostly maintained at around 4 degrees, while the target heating temperature needs to be maintained at 38 degrees. There is a large difference between the two. When the water bath heated container is just placed in the water bath area, the temperature of the water bath heated container is also around 4 degrees. Therefore, the heat exchange at this time will significantly reduce the temperature of the water area near the water bath heated container. At this time, the temperature needs to be raised as soon as possible. When the water bath temperature is lower than 37 degrees, the heating power needs to be appropriately increased. When the water bath temperature is higher than 37 degrees, it needs to be set according to the given power parameters. The given power parameters are obtained in such a way that, when the target heating temperature TG and the current ambient temperature TA are determined, the power required to maintain the water bath running at the target heating temperature TG without load can be determined according to experiments.
[0092] Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limitations on the present application. Ordinary technicians in the field can change, modify, replace and modify the above embodiments within the scope of the present application.
Claims
1. A water bath temperature control system based on image analysis, characterized in that: include: Contact temperature acquisition module, used to acquire the current ambient temperature and water bath temperature of the water bath area in real time; An image acquisition module, used for acquiring in real time a real-view sampling image and an infrared sampling image of the same viewing angle including the water bath area and the heated container of the water bath; A processing module, connected to the image acquisition module, for segmenting the water bath heated container and the water bath area in the infrared sampling image according to a pre-segmentation line, and obtaining a difference evaluation value between the pixel parameter data on both sides of the pre-segmentation line; A heating control module, connected to the processing module and the contact temperature acquisition module, for adjusting the heating power according to the target heating temperature and the difference evaluation value and the current ambient temperature and the water bath temperature of the water bath area; When the water bath temperature reaches the target heating temperature, the difference evaluation value is lower than a specified threshold, and the container heated by the water bath is continuously stirred for a specified time, a notification is given to remove the container heated by the water bath.
2. The water bath temperature control system based on image analysis according to claim 1, characterized in that: The processing module comprises: A Yolo recognition module is used to identify the water bath heated container from the real scene sampling image, and select the water bath heated container as a whole by using a rectangular frame; A contour drawing module, connected to the Yolo recognition module, for establishing a contour line of the water bath heated container within the rectangular frame; The dividing line configuration module is connected to the contour drawing module and is used to thicken the contour line according to the wall thickness of the water bath heated container to obtain the pre-dividing line.
3. The water bath temperature control system based on image analysis according to claim 2, characterized in that: The process of establishing the contour line includes: Randomly select at least 4 starting points on the border of the rectangular frame; For the starting point positions Di located on both sides of the rectangular frame in the horizontal direction, traverse and compare in the horizontal direction to obtain a pixel point set Ai whose similarity with the standard pixel data is greater than a specified threshold; For the starting point Si located at the bottom of the rectangular frame in the vertical direction, traverse and compare in the vertical direction to obtain a pixel point set Bi whose similarity with the standard pixel data is greater than a specified threshold; Determine the contour line according to the pixel point set Ai and the pixel point set Bi; The standard pixel data is pixel data obtained at the boundary of the water bath heated container in historical experiments.
4. The water bath temperature control system based on image analysis according to claim 2, characterized in that: The processing module also includes: A difference evaluation module, connected to the segmentation line configuration module, for obtaining a difference evaluation value between the pixel parameter data on both sides of the pre-segmentation line; The method for obtaining the difference evaluation value includes: Randomly select one pixel point in a specified range on both sides of the pre-segmentation line as a group, obtain feature vector values of the two pixel points respectively, and calculate the difference evaluation value according to the feature vector values; in, is the difference evaluation value, is the pixel in the mth group of pixels and pixels The cosine value between the corresponding eigenvectors, n is the total number of groups, , Preset weight coefficients for the corresponding items respectively, Pixel and pixels The Euclidean distance between corresponding eigenvectors, Pixel and pixels The absolute value of the difference in grayscale values, and Pixels and pixels The corresponding eigenvector, Pixels RGB channel parameter values, Pixels RGB channel parameter values.
5. The water bath temperature control system based on image analysis according to claim 1, characterized in that: The heating control module comprises: A heating power configuration module is used to drive the heating module to work according to given power parameters; The regulating module is used to regulate the given power parameter according to the difference evaluation value, the current ambient temperature and the water bath temperature of the water bath area.
6. The water bath temperature control system based on image analysis according to claim 5, characterized in that: The process of adjusting the given power parameter according to the difference evaluation value and the current ambient temperature and the water bath temperature of the water bath area comprises: Determine the target heating temperature TG, and determine the corresponding given power parameter according to the target heating temperature TG and the current ambient temperature TA ; Determine the power regulation coefficient according to the current ambient temperature TA, the water bath temperature TC of the water bath area, and the difference evaluation value Z ; Among them, P is the actual heating power.
7. The water bath temperature control system based on image analysis according to claim 2, characterized in that: The process of obtaining the pre-dividing line by thickening the contour line according to the wall thickness of the water bath heated container is as follows: Taking the outline as the center, the wall is thickened on both sides, with each side thickened by 1 / 2 of the wall thickness.
Citation Information
Patent Citations
Wire and cable surface defect detection method based on artificial intelligence
CN113808138A
Water bath kettle temperature control system based on fuzzy-PID composite control
CN114471771A
Welded pipe production quality detection method
CN115937204A
Image acquisition optimization method for intelligent driving
CN118072289A
Multi-angle contour point extraction method based on 3D engine and storage medium
CN118710670A