A liquid level control method and a liquid level control system for a wine extraction measurement device
By adopting the liquid level control method in the wine picking measurement device, using image acquisition and PID control algorithms, the opening of the wine outlet valve is adaptively adjusted, solving the problem of inaccurate measurement when the liquid level changes, and improving the accuracy and intelligence of measurement.
Patent Information
- Application Number
- CN202410867427.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-01
- Publication Date
- 2025-06-10
- Estimated Expiration
- 2044-07-01
AI Technical Summary
When the liquid level changes, the existing wine picking measurement device cannot provide accurate liquid level height data within the shooting range of the image acquisition unit, resulting in inaccurate measurement.
The liquid level control method is adopted to collect the alcohol container image through the image acquisition unit, calculate the current liquid level height, and calculate the control signal based on the liquid level deviation and PID control parameters, and adjust the opening degree of the wine outlet valve to keep the liquid level within the image acquisition range.
It realizes the selection of appropriate sensitivity values in different liquid level areas, and combined with the PID control algorithm, adaptively controls the opening of the wine outlet valve, ensuring that the liquid level is within the image acquisition range, improving the accuracy and intelligence of measurement.
Smart Images

Figure CN118859992B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of liquor extraction, and particularly relates to a liquid level control method and a liquid level control system for a liquor extraction measuring device. Background Art
[0002] Baijiu is one of the traditional Chinese liquors, and the distillation technology of Baijiu is a very important link in the production of Baijiu. By evaporating and collecting alcohol, the alcohol content of the liquor can be increased, and at the same time, impurities and odors can be removed, making the quality of the liquor better.
[0003] The liquor extraction technology that separates distillates with different alcohol degrees by using the physical and chemical properties of liquor during the distillation process is an important part of the modern Baijiu production process. In the traditional production process, mostly quality-based liquor extraction is adopted: that is, removing the heads and tails of the liquor, tasting while extracting; and due to different alcohol degrees and temperatures, the surface tension of the base liquor at different stages is different, causing bubbles of different forms, and "observing the liquor by the flower" can also be used, or a combination of both can be used to accurately grade the liquor degree. These methods require a large amount of manpower and are extremely dependent on manual experience, and the standards cannot be unified. With the development of big data and artificial intelligence, the application of intelligence is constantly popularized. Applying these technologies to the liquor extraction process to make the liquor extraction intelligent and improve the liquor extraction efficiency and accuracy is an important direction for improving the liquor extraction technology.
[0004] To achieve intelligent liquor extraction, there is a liquor extraction measuring device applied to the liquor extraction link, as Figure 1 shown. The measuring device includes a liquor container 2 (generally transparent) and an image acquisition unit 1. An alcohol meter 3 is arranged in the liquor container 2. The liquor container 2 has a liquor inlet 4 and a liquor outlet 5. The liquor inlet 4 is generally located at the upper part of the liquor container 2, and the liquor outlet 5 is generally located at the bottom of the liquor container 2. The image acquisition unit 1 is arranged facing the observation surface of the liquor container 2. The alcohol container image captured by the image acquisition unit 1 includes the liquid level in the liquor container 2 and the alcohol meter 3 located in the liquor container 2. By performing image processing on the alcohol container image, the liquid level height of the alcohol container and the reading of the alcohol meter 3 can be obtained. Based on the water tank model, according to the liquid level height of the alcohol container, the volume flow rate of the liquor can be obtained, and then according to the volume flow rate of the liquor and the reading of the alcohol meter 3, the mass flow rate of the liquor can be obtained. Thus, the automatic measurement of the reading of the alcohol meter 3 and the mass flow rate of the liquor is realized. The measured reading of the alcohol meter 3 can assist in the segmentation of Baijiu, and the measured mass flow rate of the liquor can assist in the management of the distillation process, improving the degree of intelligent liquor extraction.
[0005] However, when the inflow rate of the above-mentioned measuring device changes, the liquid level of the liquor container 2 will also change. When the liquid level is lower than or higher than the shooting range of the image acquisition unit 1, the measuring device cannot provide accurate liquid level height data.
[0006] Therefore, there is an urgent need for a liquid level control method and a liquid level control system for the wine extraction measurement device. Summary of the Invention
[0007] (1) Technical problems to be solved
[0008] In view of the above-mentioned disadvantages and deficiencies of the prior art, the present invention provides a liquid level control method and a liquid level control system for a wine extraction measurement device, which can adaptively adjust the opening degree of the wine outlet valve so that the liquid level is within the liquid level height range for image acquisition.
[0009] (2) Technical solutions
[0010] In order to achieve the above object, the main technical solutions adopted by the present invention include:
[0011] In the first aspect, the present invention provides a liquid level control method for a wine extraction measurement device, including:
[0012] S1. Collect an image of the alcohol container; the image of the alcohol container includes the liquid level of the wine container.
[0013] S2. Obtain the current liquid level height of the alcohol container according to the image of the alcohol container.
[0014] S3. Determine the sensitivity value according to the position of the current liquid level height in the liquid level height range for image acquisition; obtain the liquid level deviation according to the current liquid level height and the target liquid level height; obtain the first control signal output by the PID controller according to the liquid level deviation and the preset PID control parameters; adjust the first control signal according to the non-linear function and the sensitivity value to obtain the second control signal; determine the target opening degree of the wine outlet valve according to the second control signal.
[0015] S4. Control the wine outlet valve according to the target opening degree of the wine outlet valve.
[0016] Optionally, in S3, determining the sensitivity value according to the position of the current liquid level height in the liquid level height range for image acquisition includes: if the current liquid level height is in the central area of the liquid level height range for image acquisition, determine the sensitivity value from the first value range; if the current liquid level height is in the first edge area or the second edge area of the liquid level height range for image acquisition, determine the sensitivity value from the second value range; if the current liquid level height exceeds the liquid level height range for image acquisition, determine the sensitivity value from the third value range; the first edge area, the central area, and the second edge area are sequentially connected to form the liquid level height range for image acquisition.
[0017] Optionally, the lower limit of the third value range is greater than or equal to the upper limit of the second value range, and the lower limit of the second value range is greater than or equal to the upper limit of the first value range.
[0018] Optionally, the first value range is [0, 0.5], the second value range is [0.5, 1], and the third value range is [1, 2].
[0019] Optionally, in S3, according to the liquid level deviation and the preset PID control parameters, obtaining the first control signal output by the PID controller includes:
[0020]
[0021] where u(t) is the first control signal; P, I, D are the PID control parameters; e(t) = h 0 - h, e(t) is the liquid level deviation, h 0 is the target liquid level height, h is the current liquid level height; t is time.
[0022] Optionally, the non - linear function is the Sigmoid non - linear function.
[0023] Optionally, in S3, according to the non - linear function and the sensitivity value to adjust the first control signal to obtain the second control signal, including:
[0024]
[0025] where u adjusted (t) is the second control signal; u(t) is the first control signal; u max is the maximum value of the control signal output by the PID controller; u 0 is the minimum value of the control signal output by the PID controller; k is the non - linear adjustment coefficient; S is the sensitivity value; e is the natural constant.
[0026] Optionally, in S3, determining the target opening degree of the wine liquid outlet valve according to the second control signal includes: obtaining the opening degree of the wine liquid outlet valve according to the second control signal, the mapping function and the preset discrete opening degree values of the wine liquid outlet valve; the formula is expressed as:
[0027]
[0028] where d actual is the opening degree of the wine liquid outlet valve; round(·) is the rounding function; u adjusted (t) is the second control signal; u max is the maximum value of the control signal output by the PID controller; N - 1 is the highest index in the discrete opening degree values of the wine liquid outlet valve, D open ={d 0 , d 1 ,..., d N-1}, D open is the preset discrete opening degree value of the wine liquid outlet valve, di represents the percentage corresponding to the opening degree of the i-th stage valve;
[0029] Determine the opening degree d of the wine outlet valve according to the discrete opening degree values of the pre-set wine outlet valve actual Take the closest discrete opening degree value as the target opening degree of the wine outlet valve.
[0030] In a second aspect, the present invention provides a liquid level control system for a wine harvesting measurement device, comprising:
[0031] An image acquisition unit for acquiring an image of the alcohol container; the alcohol container image contains the liquid level of the wine container;
[0032] An industrial control computer for obtaining the current liquid level height of the alcohol container according to the alcohol container image;
[0033] A control unit, including a PID controller, for determining a sensitivity value according to the position of the current liquid level height within the liquid level height range of the image acquisition, obtaining a liquid level deviation according to the current liquid level height and the target liquid level height, obtaining a first control signal output by the PID controller according to the liquid level deviation and the pre-set PID control parameters, adjusting the first control signal according to the non-linear function and the sensitivity value to obtain a second control signal, determining the target opening degree of the wine outlet valve according to the second control signal, and controlling the wine outlet valve according to the target opening degree of the wine outlet valve.
[0034] Optionally, the industrial control computer is further configured to obtain the real-time input flow rate of the alcohol container according to the current liquid level height of the alcohol container and the current valve opening degree of the wine outlet.
[0035] (III) Beneficial effects
[0036] The beneficial effects of the present invention are as follows: The liquid level control method and the liquid level control system for the wine harvesting measurement device proposed by the present invention select different sensitivity values according to the different regions where the current liquid level height is located within the liquid level height range of the image acquisition, and combine the PID control algorithm to implement specific control strategies within the region, more comprehensively considering the liquid level control requirements of the wine harvesting measurement device, and can adaptively control the opening degree of the wine outlet valve according to the liquid level height, thereby changing the size of the wine outlet and the wine flow rate, so that the liquid level is restored to within the liquid level height range of the image acquisition, with a higher degree of intelligence. Description of the drawings
[0037] Figure 1 It is a schematic structural diagram of the wine harvesting measurement device in the background technology of the present invention;
[0038] Figure 2 It is a schematic flow chart of the liquid level control method of the wine harvesting measurement device in Embodiment 1 of the present invention;
[0039] Figure 3 Schematic diagram of the liquid level height range for image acquisition in Embodiment 1 of the present invention;
[0040] Figure 4 Schematic diagram of the structure of the liquid level control system of the wine extraction measurement device in Embodiment 2 of the present invention.
[0041]
Explanation of the reference numerals in the drawings
[0042] 1: Image acquisition unit;
[0043] 2: Wine liquid container;
[0044] 3: Alcohol meter;
[0045] 4: Wine liquid inlet;
[0046] 5: Wine liquid outlet;
[0047] 6: Industrial control computer;
[0048] 7: Control unit;
[0049] 8: Wine liquid outlet valve. Detailed implementation manners
[0050] In order to better explain the present invention for easy understanding, the present invention will be described in detail below with reference to the drawings through specific implementation manners.
[0051] The liquid level control method of the wine extraction measurement device proposed in the embodiment of the present invention selects different sensitivity values according to different regions where the current liquid level height is located within the liquid level height range of image acquisition, and combines the PID control algorithm to implement specific control strategies within the region, more comprehensively considering the liquid level control requirements of the wine extraction measurement device, and can adaptively control the opening degree of the wine liquid outlet valve according to the liquid level height, thereby changing the size of the wine liquid outlet and the wine outflow rate, so that the liquid level returns to the liquid level height range of image acquisition.
[0052] It should be noted that the liquid level height range of image acquisition is the liquid level height range of the wine liquid container within the shooting range of the image acquisition unit.
[0053] In order to better understand the above technical solution, the exemplary embodiments of the present invention will be described in more detail below with reference to the drawings. Although the exemplary embodiments of the present invention are shown in the drawings, it should be understood that the present invention can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided so that the present invention can be understood more clearly and thoroughly, and the scope of the present invention can be completely conveyed to those skilled in the art.
[0054] Embodiment 1
[0055] Figure 2Schematic flow diagram of the liquid level control method for the wine extraction measurement device.
[0056] As Figure 2 shown, the liquid level control method for the wine extraction measurement device provided in this embodiment is implemented based on the wine extraction measurement device described in the background art, and includes the following steps:
[0057] S1. Collect the image of the alcohol container; the liquid level of the wine container is included in the image of the alcohol container.
[0058] S2. Obtain the current liquid level height of the alcohol container according to the image of the alcohol container.
[0059] S3. Determine the sensitivity value according to the position of the current liquid level height in the liquid level height range of image acquisition; obtain the liquid level deviation according to the current liquid level height and the target liquid level height; obtain the first control signal output by the PID controller according to the liquid level deviation and the preset PID control parameters; adjust the first control signal according to the non-linear function and the sensitivity value to obtain the second control signal; determine the target opening degree of the wine outlet valve according to the second control signal.
[0060] In this way, according to the different regions where the current liquid level height is located in the liquid level height range of image acquisition, different sensitivity values are selected, and a specific control strategy within the region is implemented in combination with the PID control algorithm, realizing the closed-loop control of the liquid level, more comprehensively considering the liquid level control requirements of the wine extraction measurement device, and being able to adaptively control the opening degree of the wine outlet valve according to the liquid level height.
[0061] Preferably, determining the sensitivity value according to the position of the current liquid level height in the liquid level height range of image acquisition includes: if the current liquid level height is in the central area of the liquid level height range of image acquisition, determine the sensitivity value from the first value range; if the current liquid level height is in the first edge area or the second edge area of the liquid level height range of image acquisition, determine the sensitivity value from the second value range; if the current liquid level height exceeds the liquid level height range of image acquisition, determine the sensitivity value from the third value range. Figure 3 Schematic diagram of the liquid level height range of image acquisition. As Figure 3 shown, the first edge area, the central area, and the second edge area are connected in sequence from bottom to top to form the liquid level height range of image acquisition. In this way, the liquid level height range of image acquisition is divided into 3 regions (the first edge area, the central area, and the second edge area), considering the control requirements when the liquid level height is in the 3 regions, and then implementing a specific control strategy within the region in combination with the PID control algorithm according to the determined sensitivity value, which can better meet the control requirements and has a high degree of intelligence.
[0062] Specifically, the first edge area and the second edge area respectively account for 15% - 35% of the liquid level height range of image acquisition, and the central area accounts for 30% - 70% of the liquid level height range of image acquisition.
[0063] The control requirements for the liquid level height in the three regions are as follows: When the liquid level height is in the central area of the liquid level height range of image acquisition, the deviation between the liquid level height and the target liquid level height is small, and there is basically no need to adjust the opening of the wine outlet valve. The liquid level change is minimized in the central area, the visual observation effect is the best, and the image distortion is small; When the liquid level height is in the first edge area or the second edge area of the liquid level height range of image acquisition, the deviation between the liquid level height and the target liquid level height is large, and it is necessary to slowly adjust the opening of the wine outlet valve to make the liquid level approach the target liquid level. The liquid level change is slightly larger in the first edge area and the second edge area, the visual observation effect is poor, and the image distortion is large; When the liquid level height exceeds the liquid level height range of image acquisition, the deviation between the liquid level height and the target liquid level height is too large, and it is necessary to quickly adjust the opening of the wine outlet valve to make the liquid level approach the target liquid level. The liquid level change is very fast when the liquid level height exceeds the liquid level height range of image acquisition. The larger the sensitivity value, the faster the control of the liquid level approaching the target liquid level. Therefore, the lower limit of the third value range is greater than or equal to the upper limit of the second value range, and the lower limit of the second value range is greater than or equal to the upper limit of the first value range. The value ranges set in this way meet the control requirements for the liquid level height in the three regions.
[0064] Further preferably, the first value range is [0, 0.5], the second value range is [0.5, 1], and the third value range is [1, 2]. The value ranges set in this way are more suitable for the liquid level control of the wine sampling measurement device. Specifically, when the liquid level height is in the central area, the sensitivity is set to be small, so that the liquid level remains in the central area. When the liquid level is in the first edge area or the second edge area, the sensitivity is set to be medium, so that the liquid level approaches the central area. When the liquid level height exceeds the liquid level height range of image acquisition, the sensitivity is set to be large, so that the liquid level quickly approaches the central area.
[0065] Specifically, according to the current liquid level height and the target liquid level height, the liquid level deviation is obtained, including: e(t) = h 0 - h, where e(t) is the liquid level deviation, h 0 is the target liquid level height, and h is the current liquid level height.
[0066] Preferably, according to the liquid level deviation and the pre-set PID control parameters, the first control signal output by the PID controller is obtained, including:
[0067]
[0068] Among them, u(t) is the first control signal; P, I, and D are PID control parameters; t is time.
[0069] Preferably, the non-linear function is a Sigmoid non-linear function.
[0070] Further, the first control signal is adjusted according to the Sigmoid non-linear function and the sensitivity value to obtain a second control signal, including:
[0071]
[0072] Among them, u adjusted (t) is the second control signal; u(t) is the first control signal; u max is the maximum value of the control signal output by the PID controller, usually corresponding to 100% valve opening; u 0 is the minimum value of the control signal output by the PID controller, usually corresponding to 0% valve opening; k is the non-linear adjustment coefficient; S is the sensitivity value; e is the natural constant.
[0073] Preferably, determining the target opening of the wine outlet valve according to the second control signal includes: obtaining the opening of the wine outlet valve according to the second control signal, the mapping function, and the discrete opening values of the wine outlet valve set in advance; the formula is expressed as:
[0074]
[0075] Among them, d actual is the opening of the wine outlet valve; round(·) is the rounding function; u adjusted (t) is the second control signal; u max is the maximum value of the control signal output by the PID controller; N - 1 is the highest index among the discrete opening values of the wine outlet valve set in advance, D open = {d 0 , d 1 ,..., d N-1}, D open is the discrete opening value of the wine outlet valve set in advance, d i represents the percentage corresponding to the i-th stage valve opening.
[0076] Determine the opening d of the wine outlet valve according to the discrete opening values of the wine outlet valve set in advance actual The discrete opening value closest to it is used as the target opening of the wine outlet valve.
[0077] S4. Control the wine outlet valve according to the target opening of the wine outlet valve.
[0078] Embodiment 2
[0079] Figure 4 It is a structural schematic diagram of the liquid level control system of the wine-taking measurement device.
[0080] As Figure 4 shown, the liquid level control system of the wine-taking measurement device provided in this embodiment includes an image acquisition unit 1, an industrial control computer 6, a control unit 7, and a wine liquid outlet valve 8.
[0081] The image acquisition unit 1 is used to acquire the image of the alcohol container; the liquid level of the wine liquid container is included in the image of the alcohol container.
[0082] The industrial control computer 6 is used to obtain the current liquid level height of the alcohol container according to the image of the alcohol container.
[0083] The control unit 7 includes a PID controller, and is used to determine the sensitivity value according to the position of the current liquid level height in the liquid level height range of the image acquisition, obtain the liquid level deviation according to the current liquid level height and the target liquid level height, obtain the first control signal output by the PID controller according to the liquid level deviation and the preset PID control parameters, adjust the first control signal according to the non-linear function and the sensitivity value to obtain the second control signal, determine the target opening degree of the wine liquid outlet valve according to the second control signal, and control the wine liquid outlet valve 8 according to the target opening degree of the wine liquid outlet valve.
[0084] Specifically, in this embodiment, the control unit 7 is a PLC.
[0085] Preferably, the industrial control computer 6 is further used to obtain the real-time input flow rate of the alcohol container according to the current liquid level height of the alcohol container and the current valve opening degree of the wine liquid outlet. In this way, it is convenient for the subsequent calculation of the mass flow rate of the wine liquid.
[0086] Further preferably, obtaining the real-time input flow rate of the alcohol container according to the current liquid level height of the alcohol container and the current valve opening degree of the wine liquid outlet includes:
[0087]
[0088] wherein, Q in is the real-time input flow rate of the alcohol container; R is the bottom area of the alcohol container; h is the current liquid level height; t is the time; μ and C are the flow parameters under the current valve opening degree of the wine liquid outlet.
[0089] In this way, the real-time input flow rate of the alcohol container is calculated based on the single-tank model, and the calculation is more accurate.
[0090] When the flow rate is stable, that is, when the liquid level of the alcohol container no longer changes, the real-time input flow rate of the alcohol container is:
[0091]
[0092] Among them, the discrete opening value range of the wine outlet valve is preset as D open ={d 0 , d 1 , …, d N-1}D open is the preset discrete opening value range of the wine outlet valve, and d i represents the percentage corresponding to the opening of the i-th stage valve. According to formula (4), multiple experiments are carried out for each opening level of the wine outlet valve to tune the flow parameters μ and C.
[0093] In the description of the present invention, it should be understood that the terms "first" and "second" are only used for descriptive purposes and cannot be construed as indicating or implying relative importance or implicitly specifying the quantity of the indicated technical features. Thus, the features defined with "first" and "second" may explicitly or implicitly include one or more of such features. In the description of the present invention, "a plurality of" means two or more unless otherwise specifically defined.
[0094] In the present invention, unless otherwise clearly defined and limited, the terms such as "installed", "connected", "connected to", "fixed" and the like should be understood in a broad sense. For example, it may be a fixed connection, a detachable connection, or integrated; it may be a mechanical connection or an electrical connection; it may be directly connected or indirectly connected through an intermediate medium; it may be the internal communication of two components or the interaction relationship between two components. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0095] In the present invention, unless otherwise clearly defined and limited, the first feature being "on" or "under" the second feature may be that the first and second features are in direct contact, or the first and second features are indirectly in contact through an intermediate medium. Moreover, the first feature being "above", "over" and "on top of" the second feature may be that the first feature is directly above or obliquely above the second feature, or merely indicates that the first feature has a higher horizontal height than the second feature. The first feature being "under", "beneath" and "underneath" the second feature may be that the first feature is directly below or obliquely below the second feature, or merely indicates that the first feature has a lower horizontal height than the second feature.
[0096] In the description of this specification, the descriptions of terms such as "one embodiment", "some embodiments", "embodiment", "example", "specific example" or "some examples" mean that the specific features, structures, materials or characteristics described in connection with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner. In addition, without contradiction, those skilled in the art can combine and combine the different embodiments or examples described in this specification and the features of different embodiments or examples.
[0097] Although the embodiments of the present invention have been shown and described above, it can be understood that the above embodiments are exemplary and should not be construed as limiting the present invention. Those of ordinary skill in the art can make changes, modifications, substitutions and variations to the above embodiments within the scope of the present invention.
Claims
1. A liquid level control method for a wine picking measuring device, characterized in that: include: S1, collecting an alcohol container image; the alcohol container image includes a liquid level of the alcohol container; S2. Obtaining the current liquid level height of the alcohol container according to the alcohol container image; S3, determining the sensitivity value according to the position of the current liquid level height in the liquid level height range of the image acquisition; obtaining the liquid level deviation according to the current liquid level height and the target liquid level height; obtaining the first control signal output by the PID controller according to the liquid level deviation and the pre-set PID control parameters; adjusting the first control signal according to the nonlinear function and the sensitivity value to obtain the second control signal; determining the target opening of the wine outlet valve according to the second control signal; S4, controlling the wine outlet valve according to the target opening of the wine outlet valve; In S3, a first control signal output by the PID controller is obtained according to the liquid level deviation and the preset PID control parameters, including: Wherein, u(t) is the first control signal; P, I, D are PID control parameters; e(t) = h0-h, e(t) is the liquid level deviation, h0 is the target liquid level height, h is the current liquid level height; t is time; The first control signal is adjusted according to the nonlinear function and the sensitivity value to obtain a second control signal, comprising: Among them, u adjusted (t) is the second control signal; u(t) is the first control signal; u max is the maximum value of the control signal output by the PID controller; u0 is the minimum value of the control signal output by the PID controller; k is the nonlinear adjustment coefficient; S is the sensitivity value; e is the natural constant; Determining the target opening of the wine outlet valve according to the second control signal includes: obtaining the opening of the wine outlet valve according to the second control signal, the mapping function and the pre-set discrete opening value of the wine outlet valve; the formula is expressed as: Among them, d actual is the opening of the wine outlet valve; round(·) is the rounding function; u adjusted (t) is the second control signal; u max is the maximum value of the control signal output by the PID controller; N-1 is the highest index in the discrete opening value of the wine outlet valve, D open ={d0, d1, ..., d N-1 }, D open is the preset discrete opening value of the wine outlet valve, d i Indicates the percentage corresponding to the opening of the i-th level valve; According to the preset discrete opening value of the wine outlet valve, the opening d of the wine outlet valve is determined. actual The closest discrete opening value is used as the target opening of the wine outlet valve.
2. The liquid level control method of the wine picking measuring device according to claim 1 is characterized in that: In S3, the sensitivity value is determined according to the position of the current liquid level in the liquid level range of the image acquisition, including: If the current liquid level height is in the central area of the liquid level height range of image acquisition, the sensitivity value is determined from the first value range; if the current liquid level height is in the first edge area or the second edge area of the liquid level height range of image acquisition, the sensitivity value is determined from the second value range; if the current liquid level height exceeds the liquid level height range of image acquisition, the sensitivity value is determined from the third value range; the first edge area, the central area and the second edge area are connected in sequence to form the liquid level height range of image acquisition.
3. The liquid level control method of the wine picking measuring device according to claim 2 is characterized in that: The lower limit of the third value range is greater than or equal to the upper limit of the second value range, and the lower limit of the second value range is greater than or equal to the upper limit of the first value range.
4. The liquid level control method of the wine picking measuring device according to claim 2 is characterized in that: The first value range is [0, 0.5], the second value range is [0.5, 1], and the third value range is [1, 2].
5. The liquid level control method of the wine picking measuring device according to claim 1, characterized in that: The nonlinear function is the Sigmoid nonlinear function.
6. A liquid level control system for a wine picking measuring device, characterized in that: include: An image acquisition unit is used to acquire an image of an alcohol container; the image of the alcohol container includes a liquid level of the alcohol container; The industrial computer is used to obtain the current liquid level height of the alcohol container according to the alcohol container image; A control unit, comprising a PID controller, for determining a sensitivity value according to a position of a current liquid level in a liquid level range acquired by an image, obtaining a liquid level deviation according to the current liquid level and a target liquid level, obtaining a first control signal output by the PID controller according to the liquid level deviation and a preset PID control parameter, adjusting the first control signal according to a nonlinear function and the sensitivity value to obtain a second control signal, determining a target opening of a wine outlet valve according to the second control signal, and controlling the wine outlet valve according to the target opening of the wine outlet valve; Wherein, obtaining a first control signal output by the PID controller according to the liquid level deviation and a preset PID control parameter includes: Wherein, u(t) is the first control signal; P, I, D are PID control parameters; e(t) = h0-h, e(t) is the liquid level deviation, h0 is the target liquid level height, h is the current liquid level height; t is time; The first control signal is adjusted according to the nonlinear function and the sensitivity value to obtain a second control signal, comprising: Among them, u adjusted (t) is the second control signal; u(t) is the first control signal; u max is the maximum value of the control signal output by the PID controller; u0 is the minimum value of the control signal output by the PID controller; k is the nonlinear adjustment coefficient; S is the sensitivity value; e is the natural constant; Determining the target opening of the wine outlet valve according to the second control signal includes: obtaining the opening of the wine outlet valve according to the second control signal, the mapping function and the pre-set discrete opening value of the wine outlet valve; the formula is expressed as: Among them, d actual is the opening of the wine outlet valve; round(·) is the rounding function; u adjusted (t) is the second control signal; u max is the maximum value of the control signal output by the PID controller; N-1 is the highest index in the discrete opening value of the wine outlet valve, D open ={d0,d1,…,d N-1 }, D open is the preset discrete opening value of the wine outlet valve, d i Indicates the percentage corresponding to the opening of the i-th level valve; According to the preset discrete opening value of the wine outlet valve, the opening d of the wine outlet valve is determined. actual The closest discrete opening value is used as the target opening of the wine outlet valve.
7. The liquid level control system of the wine picking measuring device according to claim 6, characterized in that: The industrial computer is also used to obtain the real-time input flow of the alcohol container according to the current liquid level height of the alcohol container and the current valve opening of the wine outlet.
Citation Information
Patent Citations
Flange surface liquid level control method and system and primary loop control system
CN115562372A
Liquid level control for rectifying column
JP1990085687A