An automatic photographing and recognition method for the Baume degree of seawater brine preparation

By using specially designed bamide meter and photo recognition device in sea salt production, automatic photo recognition value is solved, and traditional measurement efficiency, insufficient accuracy and worker safety hazards are achieved, efficient and accurate bamide measurement and safe production are achieved.

CN119152486BActive Publication Date: 2025-06-03HANGZHOU JINHENG INTELLIGENT CONTROL TECHNOLOGY CO LTD +1
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202411201770.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-29
Publication Date
2025-06-03
Estimated Expiration
2044-08-29

AI Technical Summary

Technical Problem

In traditional sea salt production, Bomeidu measurement efficiency is low, labor demand is large, and accuracy is limited, and there are safety risks for workers working in harsh environments.

Method used

A specially designed baumemeter is adopted and combined with a photo recognition device to automatically detect the baume value by taking photos, reduce manual intervention, and improve measurement efficiency and accuracy.

Benefits of technology

It improves the efficiency and accuracy of Bomedo measurement in sea salt production, reduces manual operations, improves worker safety, and saves production costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119152486B_ABST
    Figure CN119152486B_ABST
Patent Text Reader

Abstract

The present invention belongs to the technical field of the seawater salt-making industry, and discloses an automatic photographing and recognition method for the Baume degree of seawater brine preparation. Obtain the historical Baume degree values of the brine preparation pool to be measured; determine the measuring range of the Baume hydrometer according to the historical Baume degree values, and calculate the counterweight mass of the Baume hydrometer and the scale spacing within the measuring range, form scale labels based on the scale spacing, and assemble the Baume hydrometer according to the counterweight mass and the scale labels; install the Baume hydrometer on the photographing and recognition device; obtain the scale position of the scale label on the Baume hydrometer reached by the brine in the brine bucket photographed by the camera device, and obtain the Baume degree value of the brine preparation pool according to the scale position. The present invention utilizes a specially designed Baume hydrometer to realize automatic photographing and recognition of the Baume degree, and solves the problems of low efficiency, large manual demand and limited accuracy of the traditional method.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of the seawater salt production industry, and particularly relates to a method for automatically photographing and identifying the Baume degree of seawater brine preparation. Background Art

[0002] The sea salt production process includes five parts: tide intake, brine preparation, crystallization, salt collection, and transportation. The traditional sea salt production operation area is large, with many equipment, scattered distribution, low production efficiency, poor working environment, and shortage of technical personnel. The data in the sea salt production process is mainly collected, uploaded, and analyzed manually, which not only has low work efficiency, but also is not convenient for data storage and production judgment. At the same time, a large number of outdoor operations require staff to face extremely harsh weather such as heat, strong wind, heavy rain, and heavy snow, with many risk factors.

[0003] In recent years, with the accelerated innovation of technical equipment such as computer Internet, the social production mode has changed rapidly, and intelligent manufacturing has penetrated into various traditional production activities, bringing new vitality to traditional industries. Modern technologies such as automation, Internet of Things, and data analysis have changed the production and operation mode of traditional manufacturing industries, and the integration of traditional industries and information technology has become the mainstream of development. The addition of information technology makes data processing more scientific, accurate, and visual. However, there are still many problems in the integration of traditional industries and information technology for the measurement of Baume degree, especially the problem of insufficient accuracy. Summary of the Invention

[0004] The purpose of the invention is to provide a method for automatically photographing and identifying the Baume degree of seawater brine preparation. The traditional method for measuring Baume degree is to obtain the Baume degree value by manually reading a Baume hydrometer, which not only has low efficiency and insufficient manpower, but also the safety of operators in harsh working environments cannot be effectively guaranteed. This method uses a specially designed Baume hydrometer to realize automatic photographing and identification of Baume degree, solving the problems of low efficiency, large manual demand, and limited accuracy of the traditional method.

[0005] To achieve the above purpose, the technical solution adopted by the invention is as follows:

[0006] A method for automatically photographing and identifying the Baume degree of seawater brine preparation, the method for automatically photographing and identifying the Baume degree of seawater brine preparation includes:

[0007] Obtaining the historical Baume degree value of the brine preparation pool to be measured;

[0008] The range of the Baume meter is determined according to the historical Baume values, and the weight of the Baume meter and the scale spacing within the range are calculated, and scale labels are formed based on the scale spacing. The Baume meter is assembled according to the weight of the weight and the scale labels; the Baume meter includes a central hollow tube and an even number of peripheral hollow tubes, the peripheral hollow tubes are symmetrically arranged on the periphery of the central hollow tube, and the bottoms of the central hollow tube and the peripheral hollow tubes are flush, the top of the central hollow tube is higher than the top of the peripheral hollow tube, the weight is evenly placed in the central hollow tube and the peripheral hollow tube, and the scale labels are arranged at a position where the central hollow tube is higher than the peripheral hollow tube;

[0009] The Baume meter is installed on a photographic identification device, wherein the photographic identification device comprises a brine bucket and a camera device. The brine bucket is hollow inside and has an opening at the top. The brine bucket circulates and extracts brine from the brine pool and keeps the brine overflowing. The Baume meter is placed in the brine bucket through the opening at the top of the brine bucket.

[0010] The scale position of the scale label on the Baume meter reached by the brine in the brine barrel photographed by the camera device is obtained, and the Baume value of the brine making pool is obtained according to the scale position.

[0011] Several optional methods are also provided below, but they are not intended to be additional limitations on the above-mentioned overall solution, but are merely further supplements or preferences. Under the premise that there are no technical or logical contradictions, each optional method can be combined with the above-mentioned overall solution separately, and multiple optional methods can also be combined.

[0012] Preferably, the middle hollow tube and the outer hollow tube are both organic glass tubes.

[0013] Preferably, the step of determining the measuring range of the Baume meter according to the historical Baume values ​​comprises:

[0014] Take the minimum value of the historical Baume values ​​and round it down as the lower limit of the range;

[0015] Take the maximum value of the historical Baume values ​​and round it up as the upper limit of the measuring range.

[0016] Preferably, the method of calculating the counterweight mass of the Baume meter and the scale spacing within the measuring range includes:

[0017] The part where the middle hollow pipe is higher than the outer hollow pipe is taken as the measuring part, and the drainage length of the measuring part is set as h 实 The cross section of the Baume meter is S 底 , then the relationship between the Baume value °Bé and the total mass m of the Baume meter is as follows:

[0018]

[0019] Substitute an integer value of the Baumé degree °Bé within the range of the Baumé hydrometer into the formula to obtain the total mass m of the Baumé hydrometer. Based on m = m 配 + m 管 , the counterweight mass m 配 of the Baumé hydrometer is obtained, where m 管 is the mass of the hollow tube of the Baumé hydrometer itself, and V 粗 is the total drainage volume of the outer hollow tube of the Baumé hydrometer and the part of the middle hollow tube that does not protrude above the outer hollow tube;

[0020] Calculate the derivative of the Baumé degree value °Bé with respect to h 实 to obtain:

[0021]

[0022] In the formula, Δ°Bé is the accuracy of the Baumé hydrometer, and Δh 实 is the distance that the Baumé hydrometer sinks / rises for every change in the Baumé degree value of Δ°Bé, which is the scale interval of the Baumé hydrometer. ρ 水 is the density of water, and ρ 水 = 1 g / cm 3 ;

[0023] According to the known accuracy Δ°Bé of the Baumé hydrometer, the scale interval Δh 实 of the Baumé hydrometer is obtained.

[0024] Preferably, the scale label is a binary number label. Each binary number corresponds to a Baumé degree value, forming a binary number - Baumé degree value comparison table. The interval between adjacent binary numbers is the scale interval, and in the binary number label, the first characteristic pattern is used to represent 0, and the second characteristic pattern is used to represent 1.

[0025] Preferably, the imaging device needs to perform a pre - recognition before formal photographing and recognition. The pre - recognition process is as follows:

[0026] Take a scale image of the scale label on the Baumé hydrometer, and select the scale position with the least distortion in the scale image as the ROI area;

[0027] Recognize the binary numbers in the ROI area, and obtain the measured Baumé degree value according to the binary number - Baumé degree value comparison table;

[0028] Obtain the actual Baumé degree value in the brine production pool. If the error between the measured Baumé degree value and the actual Baumé degree value is within the error threshold, the pre - recognition ends; otherwise, update the binary number - Baumé degree value comparison table according to the actual Baumé degree value and re - take the image for pre - recognition.

[0029] Preferably, the photographing and recognition device further includes a light sensor and a fill light;

[0030] The light sensor is used to obtain the light intensity of the current environment;

[0031] The supplementary light is used to turn on for light compensation when the light intensity of the current environment is lower than the intensity threshold.

[0032] The automatic photographing and identifying method for the Baume degree of seawater brine production provided by the present invention combines the requirements of actual brine production pool operations, combines automation with the traditional salt production industry. A Baume hydrometer is designed using a square plexiglass tube to replace the traditional Baume hydrometer, and the method of photographing and identifying the Baume degree value is used to replace manual reading, and the data is stored in a standardized manner. The plexiglass tube is inexpensive, the salt field covers a large area and there are numerous brine production pools. The present invention greatly improves the operation efficiency while saving expenses. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] Figure 1 It is a flowchart of an automatic photographing and identifying method for the Baume degree of seawater brine production according to the present invention;

[0034] Figure 2 It is a schematic diagram of a Baume hydrometer in the theoretical basis of the present invention;

[0035] Figure 3 It is a schematic diagram of the structure of a Baume hydrometer provided by the present invention;

[0036] Figure 4 Based on Figure 3 It is a schematic diagram for calculating the counterweight and scale spacing of the Baume hydrometer of the present invention;

[0037] Figure 5 It is a schematic diagram for analyzing the vertical floating condition;

[0038] Figure 6 It is a schematic diagram of a scale label provided by the present invention;

[0039] Figure 7 It is a schematic diagram of the structure of the photographing and identifying device of the present invention;

[0040] Figure 8 It is a schematic diagram of a ROI area provided by the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0041] Next, the technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.

[0042] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the technical field to which this invention belongs. The terms used in the specification of the present invention are for the purpose of describing specific embodiments only and are not intended to limit the present invention.

[0043] As Figure 1 shown, this embodiment provides an automatic photographing and recognition method for the Baume degree of seawater brine production, including the following steps:

[0044] Step 1: Obtain the historical Baume degree values of the brine production pool to be measured. The historical Baume degree values obtained here are historical data within a certain historical time period, which can be those of the previous week or the Baume degree values within the previous day, and the historical time period is selected according to needs.

[0045] Step 2: Determine the measuring range of the Baume hydrometer according to the historical Baume degree values, calculate the counterweight mass of the Baume hydrometer and the scale spacing within the measuring range, form scale labels based on the scale spacing, and assemble the Baume hydrometer according to the counterweight mass and the scale labels.

[0046] In order to measure the Baume degree value of the brine production pool in any environment, this embodiment proposes a new Baume hydrometer, so as to design a corresponding Baume hydrometer and select a suitable Baume degree measuring range according to the historical Baume degree values of the current brine production pool, put in the corresponding lead weights and scale labels to obtain a Baume hydrometer corresponding to the current environment. The purpose is that the shape of the Baume hydrometer is fixed, but different hydrometers can be selected according to different brine pools, with high accuracy.

[0047] As Figure 2 shown, the theoretical basis in the design of the Baume hydrometer is as follows:

[0048] Taking a cuboid with a square bottom surface as the shape of the Baume hydrometer in theoretical derivation, the relationship between the drainage length h 理 , cross-sectional area S 底 of the Baume hydrometer and the Baume degree value is obtained:

[0049] G = F 浮 = ρgV 排 = ρgS 底 h 理

[0050] In the formula, G is the gravity of the Baume hydrometer, F 浮 is the buoyancy of the Baume hydrometer in the brine, ρ is the density of the brine, g is the acceleration due to gravity, and V 排 is the drainage volume of the Baume hydrometer in the brine; where the drainage length is understood as the height after dividing the drainage volume of the Baume hydrometer by the cross-sectional area.

[0051] The drainage length h of the Baume hydrometer is obtained 理The relationship with the brine density ρ is as follows:

[0052]

[0053] For the Baume degree value where the liquid specific gravity of the brine is greater than that of water, there is the following relationship:

[0054]

[0055] In the formula, °Bé is the Baume degree value, and S.G represents the specific gravity of the brine relative to water at 60°F (15.6°C). The solution is:

[0056] S.G = brine density / density of water

[0057] The density of water is a known quantity. Take the density of water as 1 g / cm 3 , then numerically S.G = brine density.

[0058]

[0059]

[0060] Calculate the derivative of the Baume degree value °Bé with respect to h 理 to obtain:

[0061]

[0062] In the formula, Δ°Bé is the accuracy of the Baume hydrometer, and Δh 理 is the distance that the Baume hydrometer sinks / rises for each change in the Baume degree value of Δ°Bé, which is the scale interval of the Baume hydrometer. ρ 水 is the density of water. It can be seen that the accuracy Δ°Bé of the Baume hydrometer and the scale interval Δh 理 show a linear relationship.

[0063] Based on the above theory, the designed Baume hydrometer includes a hollow tube in the middle and an even number of hollow tubes on the periphery. The hollow tubes on the periphery are symmetrically arranged on the circumference of the hollow tube in the middle, and the bottoms of the hollow tube in the middle and the hollow tubes on the periphery are flush. The top of the hollow tube in the middle is higher than the top of the hollow tubes on the periphery. The counterweights are evenly placed in the hollow tube in the middle and the hollow tubes on the periphery, and the scale labels are set at the position where the hollow tube in the middle is higher than the hollow tubes on the periphery.

[0064] The middle hollow tube and the outer hollow tube in this embodiment are both made of plexiglass tubes. Specifically, plexiglass tubes with lengths of 20 cm and 10 cm, an outer diameter of 10 mm, an inner diameter of 8 mm, and a wall thickness of 1 mm are selected to design the Baumé hydrometer. The cross-section of the square plexiglass tube is a square. One plexiglass tube with a length of 20 cm is selected as the middle hollow tube, and 8 plexiglass tubes with a length of 10 cm (an even number can be selected, such as 6, 10, etc., according to the actual situation) are selected as the outer hollow tubes. The 8 outer hollow tubes are evenly arranged around the middle hollow tube, as Figure 3 shown.

[0065] Applying the theoretical basis to the specific structure of the Baumé hydrometer, the theoretical Baumé hydrometer is a cuboid, while the actual Baumé hydrometer has a thick-bottomed cuboid section and a thin-top cuboid section. Because in actual use, the thick-bottomed section of the actual Baumé hydrometer is always below the water surface and has always been part of the drainage volume. And the buoyancy actually acts on the drainage volume. Therefore, the cross-section of the dew part of the theoretical Baumé hydrometer and the actual Baumé hydrometer needs to be the same, and the thick-bottomed section of the actual Baumé hydrometer only needs to make the total drainage volume of the actual Baumé hydrometer consistent with the total drainage volume of the theoretical Baumé hydrometer.

[0066] The total drainage volume of the theoretical Baumé hydrometer is S 底 h 理 , as Figure 4 shown. The total drainage volume of the actual Baumé hydrometer is S 底 h 实 +V 粗 , V 粗 is the total drainage volume of the outer hollow tube of the Baumé hydrometer and the part of the middle hollow tube that does not protrude above the outer hollow tube. Therefore, the relationship between the Baumé value °Bé and the total mass m of the Baumé hydrometer is as follows:

[0067]

[0068] In this embodiment, S 底 = 1 cm 2 , so V 粗 = 90 cm 3 .

[0069] Substitute an integer value of the Baumé value °Bé within the range of the Baumé hydrometer into the formula to obtain the total mass m of the Baumé hydrometer. Based on m = m 配 +m 管 , the counterweight mass m 配 of the Baumé hydrometer is obtained, where m 管 is the mass of the hollow tubes of the Baumé hydrometer itself.

[0070] Calculate the derivative of the Baumé value °Bé with respect to h 实 to obtain:

[0071]

[0072] where Δ°Bé is the accuracy of the Baumé hydrometer. For example, Δ°Bé = 0.1, and Δh 实 is the Baumé value corresponding to each change of Δ°Bé, and the distance that the Baumé hydrometer sinks / rises, which is the scale interval of the Baumé hydrometer. ρ 水 is the density of water, ρ 水 = 1 g / cm 3 .

[0073] Based on the known accuracy Δ°Bé of the Baumé hydrometer, the scale interval Δh of the Baumé hydrometer is obtained 实 . For the convenience of operation, the counterweight in this embodiment can be selected as lead beads. The lead beads are very small, with a diameter of 1 - 2 mm, and usually can be evenly distributed. If it is really impossible to be evenly divided, the remaining non-uniform part can be put into the middle hollow tube to avoid the inclination of the Baumé hydrometer affecting the accuracy.

[0074] Since the Baumé hydrometer needs to float vertically in the liquid to measure the Baumé value of the liquid, therefore, when designing the Baumé hydrometer, the vertical floating condition of the object in the liquid needs to be considered. An object floating in water has two centers, the center of gravity and the center of buoyancy. The center of gravity is the acting point of gravity, and the center of buoyancy is the acting point of buoyancy. The position of the center of buoyancy is the position of the center of gravity of the part of the liquid displaced. The hydrometer belongs to a non-uniform floating body, and the mass is concentrated at the bottom. When the hydrometer floats vertically, there is a situation where the center of buoyancy is higher than the center of gravity. Therefore, after calculating the total mass m of the Baumé hydrometer, it is necessary to verify the vertical floating condition of the designed Baumé hydrometer.

[0075] As Figure 5 shown, taking a cylindrical object for analysis, C is the center of gravity of the object, D is the center of buoyancy of the object, and D 0 is the centroid of the part of the object below the liquid surface, R is the cross-sectional radius of the cylindrical object, and H is the height of the liquid surface reaching the cylindrical object. When the inclination angle of the object deviating from the liquid surface is 0, the schematic diagram of the centroid, center of gravity, and center of buoyancy of the object is as shown in Figure 5 (a) in; when the inclination angle of the object deviating from the liquid surface is θ, the schematic diagram of the centroid, center of gravity, and center of buoyancy of the object is as shown in Figure 5 (b) in. When the object floats vertically, the center of buoyancy coincides with the centroid. When the ordinate of the center position is less than the balance can be maintained stably. At this time, the ordinate of the center of buoyancy position is that is, when the center of gravity is lower than the center of buoyancy or the distance between the center of gravity and the center of buoyancy is less than the vertical floating equilibrium state can be maintained stably. If the vertical floating condition is not satisfied, it is necessary to replace the material of the Baumé hydrometer or reduce the wall thickness of the hollow tube in the Baumé hydrometer.

[0076] When usually taking the Baumé scale range, the minimum value among the historical Baumé values is taken, and the floor value of the minimum value is used as the lower limit of the range; the maximum value among the historical Baumé values is taken, and the ceiling value of the maximum value is used as the upper limit of the range. In other embodiments, if the range directly obtained from the historical Baumé values is relatively large, a smaller range can also be taken within the directly obtained range. When taking the smaller range, a Baumé value within the directly obtained range can be taken first, and positive and negative multiple (for example, 5) Δ°Bé of the historical Baumé values can be calculated as the smaller range.

[0077] After determining the scale interval, scale labels can be formed. For the convenience of photo recognition, in this embodiment, the scale labels are binary number labels. Each binary number corresponds to a Baumé value, forming a binary number - Baumé value comparison table. The interval between different binary numbers is the scale interval, and in the binary number label, the first characteristic figure is used to represent 0, and the second characteristic figure is used to represent 1.

[0078] As Figure 6 shown, for example, two color blocks of gray and black are selected for arrangement and combination to represent different Baumé values. Regarding the gray color block as 1 and the black color block as 0, every 4 color blocks form a group (the number of color blocks in a group is determined according to the range and accuracy. If 4 color blocks are not enough to represent the entire range, more color blocks can be used to represent). Ten different color block combinations are selected, and the colors of each color block combination from left to right are recorded and converted into binary numbers. At the same time, a Baumé value within a range is assigned to it. The binary numbers and the Baumé values correspond one by one, obtaining a binary number - Baumé value comparison table. In other embodiments, other colors can also be replaced, such as white, red, etc., or it can also be replaced by distinguishing through graphics, such as triangles, rhombuses, etc. In the figure, taking the smaller range as an example, it is set that the Baumé value corresponding to the binary number 1000 in the middle is x, and positive and negative 5 Δ°Bé of the Baumé value x are calculated as the upper and lower scales. Of course, it can also be set that the Baumé value corresponding to the binary number 1111 is x, and positive 10 Δ°Bé of the Baumé value x is calculated as the front scale. It should be noted that on the premise of meeting the accuracy of the Baumé meter and the scale interval, the number of binary numbers and the corresponding Baumé values can be set according to actual needs.

[0079] Step 3: Install the Baumé meter on the photo recognition device. The photo recognition device includes a brine bucket and a camera device. The inside of the brine bucket is hollow and the top is open. The brine bucket circulates and extracts the brine in the brine production pool and keeps the brine in a full state. The Baumé meter is placed in the brine bucket through the top opening of the brine bucket.

[0080] In this embodiment, the cooperation between the Baumé meter and the photo recognition device is adopted to realize automatic photo recognition of the Baumé value, where the photo recognition device is as Figure 7As shown in the figure, it includes a brine bucket 3, a camera device 4, a fill light 5, a control box 6 and a bracket 7. The top opening of the brine bucket 3 serves as a reserved slot 2. Before shooting, ensure that the brine in the brine bucket 3 is full to overflowing. The control box 6 is equipped with a light sensor that can detect the current ambient light intensity and control the fill light switch to adjust the light, so that the image captured by the camera device (such as a camera) is clearly visible.

[0081] During use, select a position with less light change and stable power supply beside the brine making pool to install the photo recognition device, and place a Baumé hydrometer 1 made of a square plexiglass tube in the reserved slot 2, ensuring that the Baumé hydrometer 1 can float freely up and down in the reserved slot 2, that is, the opening size of the reserved slot on the brine bucket is at least larger than the cross-section of the thickened section at the bottom of the Baumé hydrometer. After installing the photo recognition device, supply stable power to the photo recognition device, then fill the brine bucket with the brine to be detected until it is full to overflowing. The light sensor in the control box senses the current light intensity and adjusts the light according to the light intensity. After completing the pre-preparation, the camera takes pictures regularly and recognizes the scale, selects the valid data for processing and stores it according to the standard.

[0082] In other embodiments, a temperature sensor can also be installed in the control box to detect the current ambient temperature, compare the current ambient temperature with 15.6 °C in the theoretical basis, and compensate the currently detected Baumé value according to the comparison result to further improve the accuracy of the Baumé value. The process of compensating the Baumé value according to the temperature is prior art and will not be elaborated in this embodiment. And the main controller in the control box can be any device with logical operation ability, for example, it can be a microcontroller.

[0083] In order to ensure that the brine in the brine bucket is always in a full-to-overflowing state and continuous and effective monitoring can be achieved, the brine bucket in this embodiment further includes a water inlet, a water outlet and a water pump. Remote control valves or electric control valves are installed on the water inlet and the water outlet. The water pump and the remote control valves or electric control valves are controlled by the main controller in the control box. For example, during each identification, the valves of the water inlet and the water outlet are simultaneously controlled to open, and the water pump works simultaneously. The new brine in the brine making pool is pumped into the brine bucket through the water pump, and at the same time, the old brine in the brine bucket is discharged from the brine bucket. Controlling the simultaneous inflow and outflow of water is to prevent the entire Baumé hydrometer from entering the brine bucket and then the top cannot extend out of the reserved slot.

[0084] Step 4: Obtain the scale position of the scale label on the Baumé hydrometer of the brine in the brine bucket captured by the camera device, and obtain the Baumé value of the brine making pool according to the scale position.

[0085] In order to improve the recognition effect of the photographing and recognition device, after the photographing and recognition device is installed, it is necessary to adjust the relative position between the camera and the brine bucket so that the camera can obtain a scale image at a preset height (for example, obtain a scale image at a position 2 cm above the brine surface). When adjusting the relative position, it is preferably to adjust the camera to photograph the scale image in the middle of the scale label in the part of the brine that is exposed, and make the camera close to the brine bucket, so as to facilitate obtaining a larger and clearer scale image. After obtaining the scale image, select the scale position with the least distortion in the scale image. According to the imaging rule, usually select the scale position in the middle of the image that contains a complete binary number as the ROI area (Region of Interest, region of interest). Continuously adjust the relative position between the camera and the brine bucket to select the best ROI area, then the relative position between the camera and the brine bucket will no longer be changed, and the ROI area is fixed. As Figure 8 shown, in the obtained scale image, select the middle of the image as the ROI area, that is, the area within the frame is the ROI area. In this embodiment, the scale position of the scale label on the Baume hydrometer reached by the brine in the brine bucket photographed by the imaging device during photographing and recognition always remains the scale within the ROI area. After obtaining the best ROI area, it is necessary to perform pre-recognition first to improve the accuracy of the binary number-Baume value look-up table in this embodiment. The specific process of pre-recognition is as follows:

[0086] Step 41, photograph the scale image on the Baume hydrometer and select the ROI area.

[0087] Step 42, recognize the binary number in the ROI area, and obtain the measured Baume value according to the binary number-Baume value look-up table. Taking the gray-black blocks in this embodiment as an example, in the ROI area, recognize the black blocks or gray blocks, and record the block color and coordinates. According to the block color and coordinates, judge the combination mode of the color blocks to obtain the binary number. According to the binary number, look up the binary number-Baume value look-up table to obtain the Baume value.

[0088] Step 43, obtain the actual Baume value in the brine-making pool. If the error between the measured Baume value and the actual Baume value is within the error threshold, the pre-recognition ends; otherwise, update the binary number-Baume value look-up table according to the actual Baume value and re-photograph the image for pre-recognition.

[0089] During pre-recognition, use a standard Baume hydrometer as a reference to determine the current actual Baume value. If there is an error in the binary number-Baume value look-up table, update the binary number-Baume value look-up table. When updating the binary number-Baume value look-up table, use the actual Baume value as the Baume value corresponding to the currently recognized binary number, and update the Baume values corresponding to other binary numbers in turn according to the accuracy of the Baume hydrometer.

[0090] After pre-identification, perform automatic Baume degree photo identification. In this embodiment, it is set to identify once every hour. During each identification, the camera takes a photo per second for a reading, and an effective data (data within the range) is taken from multiple readings. After obtaining ten effective data, the ten effective data are averaged and rounded to one decimal place as the final reading value for this identification. After each identification, the identification time and the finally identified Baume degree reading value are stored and uploaded.

[0091] The technical features of the above-described embodiments can be combined arbitrarily. For the sake of brevity of description, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, it should be considered as the scope described in this specification.

[0092] The above-described embodiments merely represent several implementation manners of the present invention. The description is relatively specific and detailed, but it should not be construed as a limitation on the scope of the invention. It should be noted that for those of ordinary skill in the art, without departing from the concept of the present invention, several modifications and improvements can still be made, and these all belong to the protection scope of the present invention. Therefore, the protection scope of the present invention should be subject to the appended claims.

Claims

1. A method for automatically photographing and identifying halogen Baume from seawater, characterized in that: The method for automatically photographing and identifying the Baume degree of halogen produced from seawater comprises: Obtain the historical Baume value of the brine pool to be tested; The range of the Baume meter is determined according to the historical Baume values, and the weight of the Baume meter and the scale spacing within the range are calculated, and scale labels are formed based on the scale spacing. The Baume meter is assembled according to the weight of the weight and the scale labels; the Baume meter includes a central hollow tube and an even number of peripheral hollow tubes, the peripheral hollow tubes are symmetrically arranged on the periphery of the central hollow tube, and the bottoms of the central hollow tube and the peripheral hollow tubes are flush, the top of the central hollow tube is higher than the top of the peripheral hollow tube, the weight is evenly placed in the central hollow tube and the peripheral hollow tube, and the scale labels are arranged at a position where the central hollow tube is higher than the peripheral hollow tube; The Baume meter is installed on a photographic identification device, wherein the photographic identification device comprises a brine bucket and a camera device. The brine bucket is hollow inside and has an opening at the top. The brine bucket circulates and extracts brine from the brine pool and keeps the brine overflowing. The Baume meter is placed in the brine bucket through the opening at the top of the brine bucket. Obtaining the scale position of the scale label on the Baume meter reached by the brine in the brine barrel captured by the camera device, and obtaining the Baume value of the brine pool according to the scale position; The method of calculating the counterweight mass of the Baume meter and the scale spacing within the measuring range includes: The part where the middle hollow pipe is higher than the outer hollow pipe is taken as the measuring part, and the drainage length of the measuring part is set as The cross section of the Baume meter is , then the Baume value Total mass with Baume meter The relationship is as follows: ; Get Baume value Substitute an integer in the range of the Baume meter into the formula to obtain the total mass of the Baume meter ,based on , get the weight of the Baume meter ,in is the mass of the hollow tube of the Baume meter itself, It is the total drainage volume of the outer hollow tube of the Baume meter and the part of the middle hollow tube that does not protrude above the outer hollow tube; Calculate Baume value about The derivative of , we get: ; In the formula, is the accuracy of the Baume meter, For each change The Baume value, the distance the Baume meter sinks / floats, is the scale spacing of the Baume meter. is the density of water, ; Based on the known accuracy of the Baume meter , get the scale spacing of the Baume meter .

2. The automatic photographic identification method for seawater halogen production Baume according to claim 1, characterized in that: The middle hollow tube and the outer hollow tube are both organic glass tubes.

3. The automatic photographic identification method for seawater halogen Baume according to claim 1, characterized in that: Determining the measuring range of the Baume meter according to the historical Baume values ​​includes: Take the minimum value of the historical Baume values ​​and round it down as the lower limit of the range; Take the maximum value of the historical Baume values ​​and round it up as the upper limit of the measuring range.

4. The automatic photographic identification method for seawater halogen Baume according to claim 1, characterized in that: The scale label is a binary number label, each binary number corresponds to a Baume value, forming a binary number-Baume value comparison table, the spacing between adjacent binary numbers is the scale spacing, and the first characteristic graphic is used to represent 0 in the binary number label, and the second characteristic graphic is used to represent 1.

5. The automatic photographic identification method for seawater halogen production Baume according to claim 4, characterized in that: The camera device needs to perform a pre-recognition before formal photo recognition, and the pre-recognition process is as follows: Take a scale image of the scale label on the Baume meter, and select the scale position with the smallest distortion in the scale image as the ROI area; Identify the binary number in the ROI area and obtain the measured Baume value according to the binary number-Baume value comparison table; The actual Baume value in the brine pool is obtained. If the error between the measured Baume value and the actual Baume value is within the error threshold, the pre-identification ends; otherwise, the binary number-Baume value comparison table is updated according to the actual Baume value, and the image is re-taken for pre-identification.

6. The automatic photographic identification method for seawater halogen production Baume according to claim 1, characterized in that: The photo recognition device also includes a light sensor and a fill light; The light sensor is used to obtain the light intensity of the current environment; The fill light is used to turn on for light compensation when the light intensity of the current environment is lower than the intensity threshold.

Citation Information

Patent Citations

  • Ship water gauge identification method, system and device based on wall-climbing robot

    CN110334680A