Grape wine tank liquid level difference calculation and processing optimization method, equipment and medium
By obtaining the geometric parameters of the wine tank and using real-time monitoring technology, combined with a computer program to calculate the liquid level difference in different situations, the problem of inaccurate liquid level changes in wine processing was solved, precise control of the liquid level and stability of the production process were achieved, ensuring the quality of the wine.
Patent Information
- Application Number
- CN202510879084.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-27
- Publication Date
- 2025-09-19
AI Technical Summary
Existing technologies fail to accurately calculate changes in the liquid level in wine tanks during wine processing, resulting in a sudden drop in the liquid level during backfilling, affecting the flavor and stability of the wine. Furthermore, the calculation method does not fully consider the structural characteristics of the wine tank and the volume changes under different liquid level conditions.
By obtaining the geometric parameters and liquid level height of the wine tank, combining technologies such as laser scanning, ultrasonic sensors and distributed fiber optic sensors, the changes in liquid level height are monitored and calculated in real time. The liquid level difference is calculated based on different situations using a computer program, and the pumping rate and valve opening are adjusted through the backflow equipment control system to ensure liquid level stability.
It achieves precise control of the liquid level in the wine tank during wine processing, avoids sudden drop in liquid level, ensures wine quality and stability of the production process, and improves production efficiency and automation level.
Smart Images

Figure CN120669771A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of wine processing, and in particular relates to a method, equipment and medium for calculating and optimizing the liquid level difference of a wine tank. Background Art
[0002] Backfilling is a critical step in grape processing. By pumping yeast- and nutrient-rich grape juice from the bottom of the fermentation tank to the top, it thoroughly mixes the juice with the skins and pomace, providing more nutrients for the yeast and promoting fermentation. Backfilling also allows the skins and pomace floating on the surface to be immersed in the wine, reducing the wine's contact area with air, lowering the risk of oxidation, and preserving the wine's flavor and quality.
[0003] The volume and flow rate of the backflow are key control factors. The backflow volume is generally determined by the size of the fermenter and the stage of fermentation, typically about one-third of the tank's capacity. The flow rate should be moderate; too fast may break and damage the grape skins, while too slow may not achieve good mixing.
[0004] In wine processing, wine tanks come in a variety of shapes, but existing liquid level calculation methods often fail to fully consider the structural characteristics of the tanks and the volume changes under different liquid level conditions. When the liquid level is in the transition zone between a cylinder and a cone, or when the relationship between the backfill volume and the cone volume is complex, using a single calculation method can easily lead to inaccurate calculations of liquid level changes, making it impossible to provide reliable data support for operations such as backfilling, thereby affecting mixing effectiveness.
[0005] During the backfill process, if the pumping rate and valve opening cannot be precisely adjusted according to the liquid level, a sudden drop in the liquid level is likely to occur. This sudden drop in the liquid level will cause the wine to come into contact with a large amount of air, accelerating oxidation and affecting the wine's flavor. Furthermore, an unstable flow rate may disturb the sediment in the tank, destabilizing the wine and reducing its quality. Summary of the Invention
[0006] The present invention provides a method for calculating the liquid level difference and optimizing the processing of wine tanks. Through parameter acquisition, liquid level height change difference calculation, backflow process control, liquid level monitoring and data analysis, precise control and management of the wine tank liquid level during wine processing are achieved, effectively ensuring the stability of the wine quality during the wine production process.
[0007] Methods include: S101: Get the bottom radius R1, top radius R2, cylinder height h1, cone height h2, and current liquid level h of the wine tank 原 and backflow volume difference ΔV; S102: Determine h 原Is it less than h1; if it is less, go to step S103; otherwise, go to step S104; S103: When h 原 < h1, calculate the change difference Δh of the liquid level height through the cylinder volume formula; S104: When h 原 ≥ h1, calculate the liquid volume V 圆 ; S105: Compare ΔV with V 圆 ; if ΔV ≥ V 圆 , go to step S106; S106: When ΔV ≥ V 圆 , calculate the change difference Δh of the liquid level height by combining the volumes of the cylinder and the frustum; S107: Input the calculated value of Δh into the control system of the backflow device to adjust the pumping rate and valve opening; S108: Collect the actual liquid level height h 现 after the backflow ends through the liquid level sensor, compare it with the preset safe liquid level range. If h 现 exceeds the liquid level range, trigger an alarm and start liquid supplement or drainage; S109: Write Δh, h 现 and the backflow operation timestamp into the production log database, and establish an association model between the liquid level change and the wine body quality parameters in combination with the wine tank number and batch information.
[0011] It should be further explained that step S101 specifically includes: The laser scanner emits a pulsed beam to scan the inner wall of the wine tank, generating a 3D point cloud map to accurately measure R1, R2, h1, and h2; The ultrasonic sensor emits sound waves to measure the reflection time of the liquid surface, which is converted into h-original; Install distributed fiber optic sensors at the bottom of the wine tank to record the micro-deformation data of the tank body caused by temperature and pressure changes; The model is trained based on parameter samples that have been manually calibrated in past production. After being deployed to the computing terminal, the matching correction coefficient is automatically loaded for the new tank.
[0012] It should be further explained that step S102 specifically includes: using a laser profile scanner to capture the curved surface of the transition area between the cylinder and the frustum in real time, and using 3D point cloud reconstruction technology to correct the boundary parameters of the cylinder height h1 and the frustum height h2; An annular pressure monitoring ring is set at the bottom of the tank to invert the corresponding relationship between the liquid level height and the pressure gradient in real time to verify h 原 Whether it is in the column area; When there is a conflict between the pressure sensing data and the laser scanning parameters, the ultrasonic level meter is triggered to perform auxiliary measurement and verify the actual liquid level position by penetrating the foam layer through the time domain reflection method.
[0013] It should be further explained that step S105 further includes: monitoring the pressure gradient change of the truncated cone segment liquid in real time by using an annular array pressure sensor; A multi-spectral refractive index detection device and a refractive prism group are set up on the liquid surface of the truncated cone section to measure the change of liquid refractive index through the optical path deflection angle, and compensate for the nonlinear effect of alcohol concentration gradient on volume measurement in real time; Adjust the amplification factor of the similarity cone according to the real-time liquid level fluctuation amplitude, and increase the similarity specific tolerance value when liquid turbulence is detected; The laser displacement sensor and ultrasonic level meter are used to compare data. When the liquid level difference exceeds the preset liquid level threshold, the Kalman filter algorithm is triggered to fuse the data and output the corrected frustum liquid volume V. 圆 .
[0014] It should be further noted that step S107 also includes: using an industrial-grade line laser scanning module to scan the transition area of the wine tank at a 120° rotation to extract the intersection feature points of the cylinder and the frustum, and combining the surface texture features of the tank captured by a high-frame-rate industrial camera to calculate the continuous gradient radius parameters r1 and R2 in real time; A micro fiber Bragg grating sensor is installed on the truncated cone section. When the liquid level is in the transition zone, the h1 / h2 boundary is identified by the change in the slope of the pressure gradient curve. The weight coefficient of the laser displacement sensor is set to 0.7, and that of the capacitive liquid level meter is set to 0.3. When the difference between the detection data of the laser displacement sensor and the detection data of the capacitive liquid level meter exceeds the threshold, the liquid level projection error is corrected in combination with the data sensed by the tank inclination sensor, and the final value of Δh is output.
[0015] According to another embodiment of the present application, an electronic device is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the steps of the method for calculating the liquid level difference and optimizing the processing of the wine tank are implemented.
[0016] According to another embodiment of the present application, a storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of the wine tank liquid level difference calculation and processing optimization method are implemented.
[0017] It can be seen from the above technical solutions that the present invention has the following advantages: The method for calculating and optimizing the liquid level difference in wine tanks, as described in this application, ensures the reliability and accuracy of the entire calculation process by obtaining parameters such as the tank's bottom radius, top radius, column height, cone height, current liquid level, and backflow volume difference. Based on different liquid level conditions, an appropriate calculation method is used to calculate the liquid level height difference. This makes the calculation results more consistent with actual operating conditions, accurately reflecting liquid level changes within the tank, and improving the accuracy and applicability of the liquid level calculation. The calculated Δh value is input into the backflow equipment control system to adjust the pumping rate and valve opening. The backflow speed of the wine can be precisely controlled according to the required liquid level changes, ensuring flow rate stability during the liquid level drop. A liquid level sensor collects the actual liquid level height after the backflow is completed and compares it with a preset safe liquid level range. If the range is exceeded, an alarm is triggered and a compensation process is initiated. This allows for timely detection of abnormal liquid levels after backflow, allowing appropriate measures to adjust the liquid level and ensure process stability during subsequent fermentation or aging. This method achieves precise control of the liquid level in the wine tank during wine processing. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to more clearly illustrate the technical solution of the present invention, the following is a brief introduction to the drawings required for the description. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0019] Figure 1 This is a flow chart of the wine tank level difference calculation and processing optimization method; Figure 2 This is a schematic diagram of a wine tank; Figure 3 Schematic diagram of an electronic device. DETAILED DESCRIPTION
[0020] This application addresses the wine tank level difference calculation and processing optimization method, which is specifically designed for wine backfilling. Wineries often only have level indicators for their tanks, and winemakers cannot specify the desired level when issuing volumetric operation orders. This method, through automated calculation, guides operators and meets winemaking needs.
[0021] The following describes in detail the method for calculating and optimizing the liquid level difference in a wine tank, as described herein. Specific details, such as specific system structures and techniques, are provided for illustrative purposes, not for limitation, to facilitate a thorough understanding of the embodiments of this application. However, those skilled in the art will appreciate that the present application may be implemented in other embodiments without these specific details.
[0022] It should be understood that when used in this specification, the term "comprising" indicates the presence of the described features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or their collections. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized.
[0023] The phrases "one embodiment" or "some embodiments" described in this application mean that the specific features, structures, or characteristics described in the embodiment are included in one or more embodiments of the application. Therefore, the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in other embodiments," etc. that appear in different places in this application do not necessarily refer to the same embodiment, but rather mean "one or more but not all embodiments," unless otherwise specifically emphasized.
[0024] In embodiments of the present invention, computer program code for performing the operations of the present disclosure may be written in one or more programming languages, or a combination thereof, including but not limited to object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or power server. In cases involving a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (exemplarily via the Internet using an Internet service provider).
[0025] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of the present invention.
[0026] See also Figure 1 FIG2 is a flow chart of a method for calculating liquid level difference and optimizing processing of a wine tank in a specific embodiment, the method comprising: Step S101: Figure 2 As shown, get the bottom radius R1, upper radius R2, cylinder height h1, cone height h2, current liquid level height h of the wine tank 原 And the backflow volume difference ΔV.
[0027] In some embodiments, a laser rangefinder is used to measure the height-related dimensions of the wine tank, a liquid level sensor measures the current liquid level, a flow meter records the backflow volume difference, etc., and the bottom radius R1, upper radius R2, column height h1, and frustum height h2 of the wine tank are read from the basic parameter database of the wine tank, and the current liquid level height h is collected in real time. 原 , the backflow volume difference ΔV is accurately obtained through the metering equipment, and these data are transmitted to the central control system for storage and preprocessing.
[0028] Step S102: Determine h 原 Is it less than h1? If so, go to step S103; otherwise, go to step S104.
[0029] In some embodiments, the current liquid level h obtained in step S101 is 原Perform a numerical comparison operation with the cylinder height h1. Implement the judgment logic through the conditional judgment statement in the program code, and determine the subsequent execution path according to the comparison result.
[0030] Based on the numerical comparison logic of the computer program, judge the magnitudes of the two height values here, and guide the program flow into different branches according to the judgment result to implement case-by-case processing of liquid level calculation. Make the liquid level difference calculation more targeted and accurate, and improve the calculation efficiency and result reliability.
[0031] Step S103: When h 原 < h1, calculate the change difference Δh of the liquid level height through the cylinder volume formula.
[0032] In some embodiments, when it is judged that h original < h1, in the calculation module of the control system, according to the cylinder volume formula V = πR1 2 h, where V is the volume, R1 is the bottom radius, and h is the height. Given the backflow volume difference ΔV and the bottom radius R1, through formula transformation Δh = πR1 2 ΔV to calculate the change difference Δh of the liquid level height, and display the calculation result on the operation interface in real time.
[0033] This embodiment utilizes the mathematical relationship between the cylinder volume, height, and bottom area. Given the volume change amount and bottom area, the liquid level height change amount is obtained through mathematical operations. Can quickly and accurately obtain the liquid level change data, providing a basis for timely adjusting the backflow operation.
[0034] Step S104: When h 原 ≥ h1, calculate the liquid volume V 圆 .
[0035] In some embodiments, when h 原 ≥ h1, first calculate the liquid volume of the column part according to the cylinder volume formula, and then subtract the column from the total volume before backflow to obtain the liquid volume V 圆 of the frustum part, and store the calculation result in the temporary data buffer.
[0036] In this way, based on the structural characteristics of the wine tank, the liquid volume in the wine tank is divided into two parts: the column and the frustum. By calculating with the known cylinder volume formula and total volume, the volume of the frustum part is indirectly obtained. Improve the accuracy of liquid level difference calculation under different liquid levels.
[0037] Step S105: Compare ΔV with V 圆 ; if ΔV ≥ V 圆 , enter step S106.
[0038] In some embodiments, the liquid volume V 圆The numerical value is compared with the backflow volume difference ΔV. Similarly, the comparison logic is implemented through the conditional judgment statement in the program code, and the subsequent step S106 or other processing branch is determined based on the comparison result.
[0039] As can be seen, the numerical comparison function of the computer program determines the relationship between the backflow volume difference and the volume of the frustum, thereby determining whether the wine level is located in the column or frustum after backflow, providing a basis for selecting the appropriate liquid level difference calculation method. Using different calculation strategies for different volume relationships makes liquid level difference calculation more accurate, adapts to different liquid level change scenarios, and improves the flexibility and reliability of the calculation.
[0040] Step S106: When ΔV≥V 圆 When , the liquid level height difference Δh is calculated based on the volume of the cylinder and the cone.
[0041] In some embodiments, when ΔV ≥ V 圆 When calculating the volume of the cylinder and the cone, the calculation module of the control system comprehensively considers the volume changes of the cylinder and the cone. The liquid level change of the cylinder is calculated first, which can be calculated according to the cylinder volume formula. Then, combined with the cone volume formula, the liquid level height change difference Δh is calculated, and the calculation result is verified and corrected for accuracy.
[0042] In this way, for the complex situation where the backflow volume difference is greater than the cone volume, the liquid level height change difference can be accurately obtained through comprehensive calculation, ensuring that the state of the wine in the wine tank can be effectively monitored and adjusted under complex liquid level changes.
[0043] Step S107: input the calculated Δh value into the backflow equipment control system to adjust the pumping rate and valve opening.
[0044] In some embodiments, the liquid level height change difference Δh calculated in step S103 or step S106 is transmitted to the backflow equipment control system via a data interface. Based on this Δh value and in conjunction with a preset PID control algorithm, the backflow equipment control system automatically adjusts the operating rate of the pumping equipment, specifically, the pump motor speed and the opening angle of the electric control valve, to ensure that the backflow process proceeds in accordance with the expected liquid level changes, thereby achieving precise control of the backflow process. This prevents problems such as wine overflow and inaccurate liquid level control during the backflow process, improves the safety and stability of the production process, and enhances production efficiency.
[0045] Step S108: Using the liquid level sensor to collect the actual liquid level h after the backflow is completed 现 , compared with the preset safe liquid level range, if h 现 If the liquid level exceeds the range, an alarm is triggered and refilling or draining is started. The preset safety level range can be set to h1±5%.
[0046] In some embodiments, after the backfill is completed, the liquid level sensor collects the actual liquid level height h in the wine tank in real time. 现 and transmit the data to the central control system. 现 Compare with the preset safety level range, which has a lower limit of 0.95h1 and an upper limit of 1.05h1. 现 If the range is exceeded, the control system triggers the alarm device to send out an alarm signal, and automatically starts the liquid replenishment or drainage equipment to adjust the liquid level in the wine tank.
[0047] In this way, the liquid level status after the backfill is completed can be monitored in real time to ensure that the liquid level in the wine tank is always in a safe and reasonable range, avoiding wine quality problems and production safety accidents caused by excessively high or low liquid levels, and ensuring the smooth progress of the wine processing process.
[0048] Step S109: Δh, h 现 The timestamp of the backfill operation is written into the production log database, and the association model between the liquid level change and the wine quality parameters is established by combining the wine tank number and batch information.
[0049] In some embodiments, the liquid level height difference Δh calculated in step S107 and the actual liquid level height h collected in step S108 are 现 The data, along with the time of the backfill operation, is written to the production log database via a database interface. This data is then linked to the corresponding tank number and wine batch information. Using data analysis tools and algorithms, a correlation model is established between liquid level changes and the proportion of wine components and flavor content. This facilitates traceability and analysis of the production process, providing data support for optimizing wine processing and improving product quality.
[0050] On the basis of the above embodiment, in order to further improve the reliability of the method for calculating the liquid level difference and optimizing the processing of a wine tank provided in the above embodiment, the following is a more specific possible implementation method. The method for calculating the liquid level difference and optimizing the processing of a wine tank specifically includes the following steps: Step S201: Get the bottom radius R1, top radius R2, column height h1, cone height h2, current liquid level h of the wine tank 原 And the backflow volume difference ΔV.
[0051] In some specific embodiments, a laser scanner emits a pulsed beam to scan the inner wall of the wine tank to generate a three-dimensional point cloud map to accurately measure R1, R2, h1, and h2; an ultrasonic sensor emits sound waves to measure the liquid surface reflection time, which is converted into h 原 ;Distributed fiber optic sensors are installed at the bottom of the wine tank to record the structural micro-deformation data of the tank body caused by temperature and pressure changes.
[0052] The model training data is based on parameter samples that have been manually calibrated during past production. Once deployed to the computing terminal, matching correction coefficients are automatically loaded for new tanks. In past production, professionals used high-precision measurement tools to manually calibrate the geometric parameters of wine tanks to obtain accurate and reliable parameter samples. The trained machine learning model is deployed to the computing terminal. When a new wine tank is put into use, the system automatically loads matching correction coefficients from the model based on information such as the new tank model and batch number. This corrects the geometric parameters of the new tank, improving the accuracy and efficiency of parameter measurement.
[0053] Step S202: Determine whether h original is less than h 1 ; if so, proceed to step S203 ; otherwise, proceed to step S204 .
[0054] In some specific embodiments, a laser profile scanner captures the curved surface morphology of the transition zone between the cylinder and the cone in real time. This is then combined with 3D point cloud reconstruction technology to correct the boundary parameters of the cylinder height h1 and the cone height h2. The laser profile scanner is mounted at a suitable location on the exterior of the wine tank, enabling it to fully scan the transition zone between the cylinder and the cone. The scanner emits a laser beam at a set frequency. After the laser beam strikes the surface of the wine tank, the reflected light is received by the scanner. Based on the laser's time-of-flight and angle information, the 3D coordinate data of each point on the surface is acquired, forming a series of discrete point clouds. Using 3D point cloud reconstruction technology, an accurate surface model of the transition zone between the cylinder and the cone is constructed. During the wine processing process, the wine tank may undergo minor structural deformation due to age, environmental changes, or internal pressure fluctuations, resulting in changes in the boundary between the cylinder and the cone. The system then compares and analyzes the real-time point cloud data with the initial model and adjusts the boundary parameters of the cylinder height h1 and the cone height h2 to ensure parameter accuracy.
[0055] In this embodiment, an annular pressure monitoring ring is set at the bottom of the tank to invert the corresponding relationship between the liquid level height and the pressure gradient in real time to verify h 原 Is it in the column area: The annular pressure monitoring ring is composed of multiple high-precision pressure sensors evenly distributed and installed at the bottom of the wine tank. During the storage and processing of wine, the wine generates pressure on the bottom of the tank, and the pressure is related to the liquid level. The pressure sensor collects the pressure data of each point on the bottom of the tank in real time and transmits the data to the control system. The control system establishes a mathematical model of liquid level and pressure gradient based on the liquid pressure formula and the spatial distribution of the pressure sensor, and inverts the current liquid level by calculation. The inverted liquid level is compared with the preset column height h1 to verify the current liquid level h 原 Whether it is in the column area.
[0056] When there is a conflict between the pressure sensing data and the laser scanning parameters, the ultrasonic level gauge is triggered for auxiliary measurement. The actual liquid level position is verified by penetrating the foam layer through the time domain reflectometry method: During the data processing, the control system will perform real-time analysis and comparison on the pressure sensing data and the laser scanning parameters. If it is found that the liquid level heights h 原 calculated from the two have a large deviation, it indicates that there is a data conflict, measurement error or abnormal tank state.
[0057] The system automatically triggers the ultrasonic level gauge installed on the top of the wine tank for auxiliary measurement. The ultrasonic level gauge emits ultrasonic pulses into the wine tank. The ultrasonic waves are reflected back when they encounter the liquid surface during propagation, and the level gauge receives the reflected wave. Using the time domain reflectometry method, by accurately measuring the time difference between the emission and reception of the ultrasonic waves and combining the propagation speed of the ultrasonic waves in the air, the actual liquid level height is calculated. Since foam layers may be generated during the fermentation of wine and other processes, affecting the accuracy of liquid level measurement, the time domain reflectometry method can utilize the difference in the reflection characteristics of ultrasonic waves in different media to penetrate the foam layer, accurately identify the true liquid surface position, and thus obtain reliable liquid level data to solve the data conflict problem.
[0058] Step S203: When h 原 < h1, calculate the change difference Δh of the liquid level height through Δh = ΔV / (πR1²).
[0059] Step S204: When h 原 ≥ h1, calculate the volume V 圆 = V 原 - πR1²h1, where V 原 is the total volume before backflow.
[0060] Step S205: Compare ΔV with V 圆 ; if ΔV ≥ V 圆 , go to step S206; if ΔV < V 圆 , go to step S207.
[0061] In some specific embodiments, the liquid pressure gradient change in the frustum section is monitored in real time by an annular array pressure sensor: On the inner wall of the frustum section of the wine tank, a plurality of high-precision pressure sensors are evenly installed along the circumferential direction to form an annular array. These pressure sensors can collect the pressure data of the liquid at the position where they are located in real time. Since the pressure at different heights of the liquid in the frustum section is different, through comprehensive analysis of the data of multiple sensors, the gradient information of the liquid pressure in the frustum section changing with height can be obtained.
[0062] A multispectral refractive index detection device and a refracting prism set are installed at the surface of the truncated cone. This device measures changes in the liquid's refractive index by deflecting the optical path, effectively compensating for the nonlinear effect of alcohol concentration gradients on volume measurement in real time. The multispectral refractive index detection device is installed above the truncated cone's surface. When light enters the wine from air, it refracts due to the varying refractive indices of wines with varying alcohol concentrations. The refracting prism set guides the light's propagation path and deflects the refracted light. The detection device uses a high-precision optical sensor to measure changes in the optical path deflection angle. Combined with the known wavelength of light and the parameters of the refracting prism, the refractive index of the liquid is calculated using the principles of optical refraction. Since the alcohol concentration of wine undergoes a gradient during fermentation and storage, and alcohol concentration is correlated with the refractive index, real-time monitoring of the refractive index allows for the development of a mathematical model linking alcohol concentration, refractive index, and volume. This allows for real-time compensation for volume measurement errors caused by the alcohol concentration gradient, correcting the calculated volume of the truncated cone.
[0063] The amplification factor of the similar cone is adjusted according to the real-time liquid level fluctuation amplitude, and the similarity ratio tolerance value is increased when liquid turbulence is detected: the system uses a liquid level sensor to monitor the fluctuation of the frustum section liquid level in real time and calculates the liquid level fluctuation amplitude. At the same time, a flow rate sensor installed in the wine tank or image recognition technology is used to monitor whether the liquid is turbulent. Based on pre-set algorithms and rules, when the liquid level fluctuation amplitude is small, the liquid state is considered to be relatively stable, and a smaller similar cone amplification factor is used to adjust the parameters related to the frustum volume calculation. When the liquid level fluctuation amplitude increases or liquid turbulence is detected, it indicates that the liquid state is unstable. At this time, the amplification factor of the similar cone is increased, and the similarity ratio tolerance value is increased accordingly. Through this adjustment mechanism, the calculation model can better adapt to the calculation of the frustum volume under different liquid conditions, thereby improving the accuracy of the calculation.
[0064] This embodiment uses a laser displacement sensor and an ultrasonic level meter to compare data. When the liquid level difference exceeds a preset liquid level threshold, the Kalman filter algorithm is triggered to fuse the data and output the corrected frustum liquid volume V circle: a laser displacement sensor and an ultrasonic level meter are installed on the wine tank at the same time. Both measure the frustum liquid level based on different principles. The laser displacement sensor calculates the liquid level by emitting a laser beam and measuring the time from the laser being emitted to the laser being reflected from the liquid surface; the ultrasonic level meter calculates the liquid level by using the time it takes for the ultrasonic wave to propagate through the air and be reflected from the liquid surface. The system compares the liquid level data obtained by the two measurements in real time and calculates the liquid level difference. When the difference exceeds the preset liquid level threshold, it indicates that there is an error in at least one of the measurement data. The system triggers the Kalman filter algorithm. Based on the system state equation and the measurement equation, the system state estimate at the previous moment and the measurement value at the current moment are used to fuse the liquid level data through two steps of prediction and update to remove noise and error and obtain a more accurate liquid level. Combined with the frustum volume calculation formula, the corrected frustum liquid volume V is recalculated and output. 圆 .
[0065] Step S206: When ΔV≥V 圆 When Δh=h 原 -h1+(ΔV-V 圆 ) / (πR1²).
[0066] Step S207: When ΔV <V 圆 When Δh=x-R2h2 / (R1-R2) is calculated based on the similarity ratio and cone volume formula, where x³=(R2h 台 / (R1-R2))³+3h 台 ²ΔV / (π(R1-R2)²), h 台 is the liquid level height of the frustum part.
[0067] In some specific embodiments, the transition area of the wine tank is scanned at 120° rotation to extract the intersection feature points of the cylinder and the frustum, and the continuous gradient radius parameters of r1 and R2 are calculated in real time in combination with the surface texture features of the tank captured by a high-frame-rate industrial camera: an industrial-grade line laser scanning module is installed on a rotatable bracket above the wine tank, and is set to perform periodic rotation scanning at an angle of 120°. The line laser emitted by the scanning module is projected onto the surface of the transition area between the cylinder and the frustum of the wine tank. The reflected light is received by the module, and the three-dimensional coordinate data of each point in the transition area is obtained through the principle of triangulation, thereby extracting the feature points of the intersection of the cylinder and the frustum. The three-dimensional coordinate data obtained by the line laser scanning is fused with the texture image captured by the industrial camera, and the image processing algorithm and three-dimensional modeling technology are used to analyze the shape change law of the transition area, and the continuous gradient radius parameters of the cylinder radius r1 and the frustum radius R2 in the transition area are calculated in real time, providing precise geometric parameters for accurately calculating the change in liquid level height.
[0068] A miniature fiber Bragg grating sensor is installed on the conical section. When the liquid level is in the transition zone, the h1 / h2 boundary is identified by the change in the slope of the pressure gradient curve: miniature fiber Bragg grating sensors are arranged at intervals along the height direction on the inner wall of the conical section of the wine tank. These sensors are extremely sensitive to pressure changes.
[0069] When the liquid level rises or falls to the transition area between the cylinder and the cone, the distribution of liquid pressure in this area changes, resulting in a significant turning point in the slope of the pressure gradient curve.
[0070] The sensor converts pressure changes into wavelength shift signals in the optical fiber and transmits them to the monitoring system. The system demodulates the optical wavelength signal, converts it into pressure data, and plots a gradient curve showing pressure changes with altitude.
[0071] By analyzing the mutation point of the curve slope and combining it with pre-set judgment rules, the boundary position between the column height h1 and the cone height h2 can be accurately identified, providing key position parameters for liquid level calculation.
[0072] When the liquid flow rate exceeds 0.3 m / s, the system switches to high-frequency ultrasonic measurement to penetrate the foam layer, activates the online refractive index measurement device, and corrects the calculated value using a preset alcohol concentration-refractive index mapping table. A flow sensor is installed at an appropriate location inside the wine tank to monitor the liquid flow rate in real time. When the flow sensor detects a liquid flow rate exceeding 0.3 m / s, the system automatically controls the switching device, switching the liquid level measurement method from conventional ultrasonic measurement to high-frequency ultrasonic measurement. High-frequency ultrasonic measurement has greater penetrating power and can effectively penetrate the foam layer generated during wine fermentation or stirring, accurately measuring the true liquid level.
[0073] The measured refractive index is converted to the corresponding alcohol concentration value based on a preset alcohol concentration-refractive index mapping table. Because alcohol concentration affects the density and volume of the liquid, the system corrects the initial liquid level calculation based on changes in alcohol concentration to ensure accurate liquid level calculations.
[0074] The weight coefficient of the laser displacement sensor is set to 0.7, and that of the capacitive liquid level meter is set to 0.3. When the difference between the detection data of the laser displacement sensor and the detection data of the capacitive liquid level meter exceeds the threshold, the liquid level projection error is corrected in combination with the data sensed by the tank inclination sensor, and the final value of Δh is output: a laser displacement sensor and a capacitive liquid level meter are installed on the wine tank at the same time, respectively for measuring the liquid level height.
[0075] The data processing system collects the measurement data of the two sensors in real time and calculates the difference between the two. When the difference exceeds a pre-set threshold, it indicates that the measurement data of at least one of the sensors may have an error.
[0076] The system retrieves data from a tank tilt sensor installed at the bottom of the wine tank, which monitors the tank's tilt angle in real time. Based on the tank's tilt angle and the installation positions of the two sensors, the system uses geometric relationships to calculate the liquid level projection error. Using an error correction algorithm, the system adjusts and integrates the data from the laser displacement sensor and capacitive level gauge, calculating the corrected liquid level height using weighted coefficients. Combined with the liquid level heights before and after backfilling, the system calculates the liquid level change difference Δh and outputs the final result, providing an accurate control basis for the backfilling equipment control system.
[0077] The above system can be a central control system of the winemaking process, or a PLC control system, etc.
[0078] Step S108: Input the calculated Δh value into the backflow equipment control system to adjust the pumping rate and valve opening to ensure the flow rate stability during the liquid level drop process and avoid wine oxidation or precipitation disturbance caused by the sudden drop in liquid level.
[0079] Step S109: Using the liquid level sensor to collect the actual liquid level h after the backflow is completed 现 , compared with the preset safe liquid level range, if h 现 If the range is exceeded, an alarm will be triggered and liquid replenishment or drainage will be initiated to ensure the process stability of subsequent fermentation or aging stages.
[0080] Step S110: Δh, h 现 The timestamp of the backfill operation is written into the production log database. Combined with the tank number and batch information, a correlation model between liquid level changes and wine quality parameters is established to provide data support for subsequent process optimization.
[0081] This method achieves precise control and management of tank liquid levels during wine processing. It effectively ensures the stability of wine quality during production, reduces quality issues such as oxidation and sedimentation caused by improper liquid level control, and improves the automation level and production efficiency of the production process.
[0082] like Figure 3 As shown, the present application also provides an electronic device, including a display module 103, a memory 102, a processor 101, and a computer program stored in the memory and executable on the processor 101. When the processor 101 executes the program, the steps of the method for calculating the liquid level difference and optimizing the processing of a wine tank are implemented.
[0083] In the embodiments of the present invention, electronic devices include, but are not limited to, laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. Electronic devices may also represent various forms of mobile devices, such as personal digital assistants, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the embodiments of the present application described and / or claimed herein.
[0084] In the embodiment of the present application, the processor 101 can be implemented by using at least one of a special purpose integrated circuit, a programmable logic device, a field programmable gate array, a processor, a controller, a microcontroller, a microprocessor, and an electronic unit designed to perform the functions described herein. In some cases, such an embodiment can be implemented in a controller. For software implementation, an embodiment such as a process or function can be implemented with a separate software module that allows the execution of at least one function or operation. The software code can be implemented by a software application (or program) written in any appropriate programming language, and the software code can be stored in a memory and executed by a controller.
[0085] The display module 103 is used to display information input by the user or information provided to the user. The display module 103 may include a display panel, which may be configured in the form of a liquid crystal display, an organic light emitting diode, etc.
[0086] The memory 102 can be used to store software programs and various data. The memory 102 can include high-speed random access memory and non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device.
[0087] The electronic device implementing the method for calculating liquid level differences and optimizing processing in wine tanks incorporates the elements and algorithmic steps of each example described in conjunction with the embodiments disclosed herein. It can be implemented using electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of each example have been generally described above by function. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Persons skilled in the art may implement the described functions using different methods for each specific application, but such implementations should not be considered beyond the scope of the present invention.
[0088] Those skilled in the art will appreciate that various aspects of the wine tank level difference calculation and processing optimization method can be implemented as a system, method, or program product. Therefore, various aspects of the present disclosure can be implemented entirely in hardware, entirely in software (including firmware, microcode, etc.), or in a combination of hardware and software, collectively referred to herein as "circuits," "modules," or "systems."
[0089] The present application also provides a storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the wine tank liquid level difference calculation and processing optimization method.
[0090] The storage medium can be any combination of one or more readable media. The readable medium can be a readable signal medium or a readable storage medium. The readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or component, or any combination thereof. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof.
[0091] In the context of storage media, a readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, which carries readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A readable signal medium may also be any readable medium other than a readable storage medium that can transmit, propagate, or transfer a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0092] The above description of the disclosed embodiments is intended to enable one skilled in the art to implement or use the present invention. Various modifications to these embodiments will be readily apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention is not limited to the embodiments shown herein but is intended to conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A method for calculating and optimizing the liquid level difference of a wine tank, characterized in that: include: S101: Get the bottom radius R1, top radius R2, cylinder height h1, cone height h2, and current liquid level h of the wine tank 原 and backflow volume difference ΔV; S102: Determine h 原 Is it less than h1? If so, go to step S103; otherwise, go to step S104; S103: When h 原 < is less than h1, calculate the differential change Δh in liquid level height through the cylinder volume formula; S104: When h 原 When h1 is greater than or equal to h1, calculate the volume V of the liquid in the truncated cone. 圆 ; S105: Compare ΔV and V 圆 ; If ΔV≥V 圆 , proceed to step S106; S106: When ΔV≥V 圆 When , the liquid level height difference Δh is calculated by combining the volume of the cylinder and the cone; S107: Input the calculated Δh value into the backflow equipment control system to adjust the pumping rate and valve opening; S108: The actual liquid level h after backflow is completed is collected through the liquid level sensor 现 , compared with the preset safe liquid level range, if h 现 If the liquid level exceeds the range, an alarm is triggered and fluid replenishment or drainage is started; S109: Δh, h 现 The timestamp of the backfill operation is written into the production log database, and the association model between the liquid level change and the wine quality parameters is established by combining the wine tank number and batch information.
2. The wine tank level difference calculation and processing optimization method according to claim 1 is characterized in that: In step S106, when ΔV≥V 圆 When the liquid level height difference Δh is calculated as: Δh=h 原 -h1+(ΔV-V 圆 ) / (πR1²).
3. The wine tank level difference calculation and processing optimization method according to claim 1 is characterized in that: In step S105, if ΔV <V 圆 , according to the similarity ratio and cone volume formula, calculate Δh=x-R2h2 / (R1-R2), where x³=(R2h 台 / (R1-R2))³+3h 台 ²ΔV / (π(R1-R2)²), h 台 is the liquid level height of the frustum part.
4. The wine tank level difference calculation and processing optimization method according to claim 1 is characterized in that: Step S103 calculates the liquid level height difference Δh by Δh=ΔV / (πR1²); Step S104 calculates the volume V of the frustum 圆 The method is: V 圆 =V 原 -πR1²h1, where V 原 is the total volume before backflow.
5. The wine tank level difference calculation and processing optimization method according to claim 1 is characterized in that: Step S101 specifically includes: The laser scanner emits a pulsed beam to scan the inner wall of the wine tank, generating a 3D point cloud map to accurately measure R1, R2, h1, and h2; The ultrasonic sensor emits sound waves to measure the reflection time of the liquid surface, which is converted into h-original; Distributed fiber optic sensors are installed at the bottom of the wine tank to record the micro-deformation data of the tank body caused by temperature and pressure changes; The model is trained based on parameter samples that have been manually calibrated in past production. After being deployed to the computing terminal, the matching correction coefficient is automatically loaded for the new tank.
6. The method for calculating and optimizing the liquid level difference of a wine tank according to claim 1, characterized in that: Step S102 specifically includes: using a laser profile scanner to capture the curved surface of the transition area between the cylinder and the frustum in real time, and using 3D point cloud reconstruction technology to correct the boundary parameters of the cylinder height h1 and the frustum height h2; An annular pressure monitoring ring is set at the bottom of the tank to invert the corresponding relationship between the liquid level height and the pressure gradient in real time to verify h 原 Whether it is in the column area; When there is a conflict between the pressure sensing data and the laser scanning parameters, the ultrasonic level meter is triggered to perform auxiliary measurement and verify the actual liquid level position by penetrating the foam layer through the time domain reflection method.
7. The method for calculating and optimizing liquid level difference in a wine tank according to claim 1, wherein: Step S105 also includes: monitoring the pressure gradient change of the truncated cone segment liquid in real time by using an annular array pressure sensor; A multi-spectral refractive index detection device and a refractive prism group are set up on the liquid surface of the truncated cone section to measure the change of liquid refractive index through the optical path deflection angle, and compensate for the nonlinear effect of alcohol concentration gradient on volume measurement in real time; Adjust the amplification factor of the similarity cone according to the real-time liquid level fluctuation amplitude, and increase the similarity specific tolerance value when liquid turbulence is detected; The laser displacement sensor and ultrasonic level meter are used to compare data. When the liquid level difference exceeds the preset liquid level threshold, the Kalman filter algorithm is triggered to fuse the data and output the corrected frustum liquid volume V. 圆 .
8. The method for calculating and optimizing liquid level difference in a wine tank according to claim 1, wherein: Step S107 also includes: using an industrial-grade line laser scanning module to scan the transition area of the wine tank at 120° rotation to extract the intersection feature points of the cylinder and the frustum, and combining the surface texture features of the tank captured by a high-frame-rate industrial camera to calculate the continuous gradient radius parameters r1 and R2 in real time; A micro fiber Bragg grating sensor is installed on the truncated cone section. When the liquid level is in the transition zone, the h1 / h2 boundary is identified by the change in the slope of the pressure gradient curve. The weight coefficient of the laser displacement sensor is set to 0.7, and that of the capacitive liquid level meter is set to 0.
3. When the difference between the detection data of the laser displacement sensor and the detection data of the capacitive liquid level meter exceeds the threshold, the liquid level projection error is corrected in combination with the data sensed by the tank inclination sensor, and the final value of Δh is output.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the steps of the method for calculating the liquid level difference and optimizing the processing of a wine tank according to any one of claims 1 to 7 are implemented.
10. A storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method for calculating the liquid level difference and optimizing the processing of a wine tank as claimed in any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
Wine tank system with liquidometers and combined conveying pipe
CN104291032A
Wine tank liquid level meter
CN104309963A
Grape wine brewing tank based on self-pressure cycle
CN108179083A
Beer jar liquid level detection control system
CN111752212A
Wine liquid recovery control method, system and device and storage medium
CN115159434A