Alcohol content measurement method, device, equipment and medium for winery base liquor
Through RFID technology and signal processing methods, the alcohol content and liquid level measurement of contactless base wine is achieved, which solves the problems of base wine volatility and fire hazards in traditional methods, improves measurement accuracy and management efficiency, and reduces costs and risks.
Patent Information
- Application Number
- CN202510336238.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-21
- Publication Date
- 2025-07-11
- Estimated Expiration
- 2045-03-21
AI Technical Summary
Traditional alcohol measurement methods require the opening of the lid to cause volatility and operation loss of the base wine, change the storage atmosphere of the wine and affect the taste, and there are fire safety hazards. It is difficult to measure the quality of the base wine by weighing scales and consume a lot of manpower and material resources.
Non-contact measurement is used to measure the alcohol content of the base wine through electromagnetic wave signals, combined with Hilbert yellow transformation algorithm and wide convolutional neural network for signal processing, to realize non-contact liquid level and alcohol measurement, and use RFID tags and sensors for wine jar management.
Reduce base wine volatility and loss, reduce fire risks, simplify operations and reduce operating costs, improve measurement accuracy and data management efficiency, and realize accurate traceability and quality monitoring of wine jars.
Smart Images

Figure CN119845989B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of alcohol measurement, and particularly to a method for measuring the alcohol content of base liquor in wineries, a corresponding device, an electronic device, and a computer-readable storage medium. Background Art
[0002] The inventory of base liquor mainly focuses on the collection of the alcohol content and quality of base liquor. To measure the alcohol content, traditional wineries usually adopt the following methods: the density bottle method, the alcohol meter method, the gas chromatography method, and the digital densitometer method. The density bottle method is applicable to distilled spirits, fermented spirits, and compound spirits. This method has low cost and is easy to popularize, but the operation is relatively cumbersome and very sensitive to temperature changes. The alcohol meter method is applicable to alcohol, distilled spirits, fermented spirits, and compound spirits except beer. This method is simple to operate, but is easily interfered by other components in the liquor and is also sensitive to temperature. The gas chromatography method is applicable to wine, fruit wine, and beer. This method has stable and reliable instruments, but distillation and dilution are required before measuring high-alcohol beverages, so the operation is relatively complex. The digital densitometer method is applicable to beer, brandy, whisky, and vodka. This method is fast and simple to test, but the non-volatile substances need to be removed by distillation, and the pretreatment steps are complex and the sample consumption is large. The quality is usually measured using a weighing scale.
[0003] The alcohol content measurement in traditional technologies has the following technical defects, including:
[0004] First, in the collection of base liquor inventory, the existing devices, namely the density bottle method, the alcohol meter method, the gas chromatography method, and the digital densitometer, usually use invasive sensors to measure the alcohol content of base liquor. This method usually requires opening the lid of the wine jar, resulting in the volatilization and operation loss of the base liquor. At the same time, changing the storage atmosphere of the base liquor may change the taste of the liquor body.
[0005] Second, in the invasive measurement of alcohol content, the measuring instruments often need to be operated with electricity. If there are short circuits, overloads, poor contacts, or over-discharged batteries in the equipment, it may cause an explosion and fire, which may trigger the combustion of the base liquor and lead to a warehouse fire. Therefore, the traditional measuring instruments pose a safety hazard to the flammable and explosive characteristics of the base liquor.
[0006] Third, in addition to collecting the alcohol content, the base liquor inventory also needs to measure the quality of the base liquor. This measurement method usually uses a weighing scale. However, since the wine jars are made of terracotta materials (which are easily damaged) and the base liquor is heavy, it is very difficult to carry and weigh it. Conducting a full inventory of the base liquor in wineries will cost a lot of manpower and material resources, increasing the operating cost.
[0007] In summary, in the prior art, opening the lid of the wine jar for the alcohol content measurement of the base wine results in the volatilization of the base wine and operational losses. At the same time, changing the storage atmosphere of the base wine may affect the taste of the wine body. In addition, if there are problems such as short circuits, overloads, poor contacts, and over-discharged batteries in the measuring instrument, which may cause explosions and fires, it may trigger the combustion of the base wine and lead to warehouse fires. In view of these problems, the applicant has made corresponding explorations. Summary of the Invention
[0008] The purpose of the present application is to solve the above problems and provide a method for measuring the alcohol content of base wine in wineries, a corresponding device, an electronic device, and a computer-readable storage medium.
[0009] To achieve the various purposes of the present application, the following technical solutions are adopted:
[0010] A method for measuring the alcohol content of base wine in wineries proposed to meet one of the purposes of the present application includes:
[0011] In response to a command for measuring the alcohol content of base wine in a winery, after triggering the RFID device to transmit an electromagnetic wave emission signal to the base wine to be detected in the ceramic wine jar through a preset first antenna, an electromagnetic wave reception signal is returned, where the electromagnetic wave reception signal includes a first electromagnetic wave reception signal and a second electromagnetic wave reception signal;
[0012] According to the initial signal strength of the electromagnetic wave emission signal, the attenuation value of the electromagnetic wave emission signal under the preset ceramic thickness of the wine jar, the electromagnetic wave attenuation coefficient of the electromagnetic wave emission signal in the base wine to be detected, and the propagation path length of the electromagnetic wave emission signal in the base wine to be detected, calculate and determine the reception signal strength corresponding to the electromagnetic wave reception signal;
[0013] Calculate and determine a first ratio between the reception signal strength corresponding to the first electromagnetic wave reception signal and the reception signal strength corresponding to the second electromagnetic wave reception signal;
[0014] Using a preset Hilbert-Huang transform algorithm, calculate and determine the signal characteristics corresponding to the electromagnetic wave reception signal according to the reception signal strength corresponding to the electromagnetic wave reception signal, where the signal characteristics are constructed by the instantaneous amplitude, instantaneous phase, and instantaneous frequency corresponding to the electromagnetic wave reception signal;
[0015] Using the signal characteristics corresponding to the first electromagnetic wave reception signal, the signal characteristics corresponding to the second electromagnetic wave reception signal, and the first ratio as training samples, train an alcohol content detection model to predict the alcohol content corresponding to the base wine to be detected in the ceramic wine jar, so as to complete the measurement of the alcohol content of the base wine in the winery.
[0016] Optionally, the step of calculating and determining the received signal strength corresponding to the electromagnetic wave received signal according to the initial signal strength of the electromagnetic wave transmitted signal, the attenuation value of the electromagnetic wave transmitted signal at a preset thickness of the wine jar ceramic, the electromagnetic wave attenuation coefficient of the electromagnetic wave transmitted signal in the base wine to be detected, and the propagation path length of the electromagnetic wave transmitted signal in the base wine to be detected includes:
[0017] Obtain the initial signal strength of the electromagnetic wave transmitted signal, the attenuation value of the electromagnetic wave transmitted signal at a preset thickness of the wine jar ceramic, the electromagnetic wave attenuation coefficient of the electromagnetic wave transmitted signal in the base wine to be detected, the propagation path length of the electromagnetic wave transmitted signal in the base wine to be detected, the attenuation coefficient of each unit path segment of the electromagnetic wave transmitted signal in the base wine to be detected, the propagation distance of each unit path segment of the electromagnetic wave transmitted signal in the base wine to be detected, the product of the transmission coefficients of the first antenna, and the adjustment factor;
[0018] Calculate and determine the first product between the electromagnetic wave attenuation coefficient of the electromagnetic wave transmitted signal in the base wine to be detected and the propagation path length of the electromagnetic wave transmitted signal in the base wine to be detected, and calculate and determine the value of the first natural exponential function with the negative value of the first product as the exponent;
[0019] Calculate and determine the second product between the attenuation coefficient of each unit path segment of the electromagnetic wave transmitted signal in the base wine to be detected and the propagation distance of each unit path segment of the electromagnetic wave transmitted signal in the base wine to be detected, calculate and determine the value of the second natural exponential function with the negative value of the second product as the exponent, and calculate and determine the cumulative attenuation value of multiple unit path segments of the electromagnetic wave transmitted signal in the base wine to be detected according to the value of the second natural exponential function;
[0020] Calculate and determine the third product between the attenuation value of the electromagnetic wave transmitted signal at a preset thickness of the wine jar ceramic, the value of the first natural exponential function, the cumulative attenuation value of multiple unit path segments of the electromagnetic wave transmitted signal in the base wine to be detected, the product of the transmission coefficients of the first antenna, the adjustment factor, and the initial signal strength of the electromagnetic wave transmitted signal to determine the received signal strength corresponding to the electromagnetic wave received signal.
[0021] Optionally, the step of calculating and determining the first ratio between the received signal strength corresponding to the first electromagnetic wave received signal and the received signal strength corresponding to the second electromagnetic wave received signal includes:
[0022] Obtain the value of the first natural exponential function with the negative value of the first product as the exponent and the cumulative attenuation value of multiple unit path segments of the electromagnetic wave transmitted signal in the base wine to be detected;
[0023] Calculate and determine a fourth product between the first natural exponential function value and the cumulative attenuation value of the electromagnetic wave emission signal in multiple unit path segments of the base liquor to be detected, so as to determine a first ratio between the received signal strength corresponding to the first electromagnetic wave received signal and the received signal strength corresponding to the second electromagnetic wave received signal.
[0024] Optionally, the steps of calculating and determining the signal characteristics corresponding to the electromagnetic wave received signal according to the received signal strength corresponding to the electromagnetic wave received signal by using a preset Hilbert-Huang transform algorithm include:
[0025] Obtain the received signal strength corresponding to the electromagnetic wave received signal and the Hilbert-Huang transform value corresponding to the received signal strength;
[0026] Calculate and determine a first square value of the received signal strength corresponding to the electromagnetic wave received signal and a second square value of the Hilbert-Huang transform value corresponding to the received signal strength;
[0027] Calculate and determine a first sum value between the first square value and the second square value, and calculate and determine a first square root value of the first sum value to determine the instantaneous amplitude corresponding to the electromagnetic wave received signal.
[0028] Optionally, the steps of calculating and determining the signal characteristics corresponding to the electromagnetic wave received signal according to the received signal strength corresponding to the electromagnetic wave received signal by using a preset Hilbert-Huang transform algorithm include:
[0029] Obtain the received signal strength corresponding to the electromagnetic wave received signal and the Hilbert-Huang transform value corresponding to the received signal strength;
[0030] Calculate and determine a second ratio between the received signal strength corresponding to the electromagnetic wave received signal and the Hilbert-Huang transform value corresponding to the received signal strength, and calculate and determine the arctangent function value corresponding to the second ratio to determine the instantaneous phase corresponding to the electromagnetic wave received signal.
[0031] Optionally, the steps of calculating and determining the signal characteristics corresponding to the electromagnetic wave received signal according to the received signal strength corresponding to the electromagnetic wave received signal by using a preset Hilbert-Huang transform algorithm include:
[0032] Obtain the received signal strength corresponding to the electromagnetic wave received signal and the instantaneous phase corresponding to the electromagnetic wave received signal;
[0033] Calculating and determining a first change rate between the instantaneous phase corresponding to the electromagnetic wave received signal and the received signal strength corresponding to the electromagnetic wave received signal, calculating and determining a fifth product between the first change rate and a preset value to determine the instantaneous frequency corresponding to the electromagnetic wave received signal, wherein the preset value is 。
[0034] Optionally, the basic network architecture of the alcohol content detection model is a wide convolutional neural network, wherein the wide convolutional neural network includes a wide convolutional layer, a pooling layer, a fully connected layer, and an output layer, and the wide convolutional layer, the pooling layer, the fully connected layer, and the output layer are sequentially connected.
[0035] An alcohol content measuring device for the base liquor of a winery provided to meet another object of the present application includes:
[0036] A detection trigger module, configured to respond to an instruction to measure the alcohol content of the base liquor of the winery, trigger the RFID device to transmit an electromagnetic wave transmission signal to the base liquor to be detected in the ceramic wine jar through a preset first antenna, and then return an electromagnetic wave received signal, wherein the electromagnetic wave received signal includes a first electromagnetic wave received signal and a second electromagnetic wave received signal;
[0037] A received signal strength determination module, configured to calculate and determine the received signal strength corresponding to the electromagnetic wave received signal according to the initial signal strength of the electromagnetic wave transmission signal, the attenuation value of the electromagnetic wave transmission signal under the preset ceramic thickness of the wine jar, the electromagnetic wave attenuation coefficient of the electromagnetic wave transmission signal in the base liquor to be detected, and the propagation path length of the electromagnetic wave transmission signal in the base liquor to be detected;
[0038] A first ratio determination module, configured to calculate and determine a first ratio between the received signal strength corresponding to the first electromagnetic wave received signal and the received signal strength corresponding to the second electromagnetic wave received signal;
[0039] A signal feature determination module, configured to calculate and determine the signal feature corresponding to the electromagnetic wave received signal by using a preset Hilbert-Huang transform algorithm according to the received signal strength corresponding to the electromagnetic wave received signal, wherein the signal feature is constructed by the instantaneous amplitude, instantaneous phase, and instantaneous frequency corresponding to the electromagnetic wave received signal;
[0040] An alcohol content measurement module, configured to use the signal feature corresponding to the first electromagnetic wave received signal, the signal feature corresponding to the second electromagnetic wave received signal, and the first ratio as training samples to train an alcohol content detection model to predict the alcohol content corresponding to the base liquor to be detected in the ceramic wine jar, so as to complete the measurement of the alcohol content of the base liquor of the winery.
[0041] An electronic device provided to meet another object of the present application includes a central processing unit and a memory. The central processing unit is used to call and run a computer program stored in the memory to execute the steps of the method for measuring the alcohol content of the base liquor in the winery described in the present application.
[0042] A computer-readable storage medium provided to meet another object of the present application stores a computer program implemented according to the method for measuring the alcohol content of the base liquor in the winery in the form of computer-readable instructions. When the computer program is called and run by a computer, it executes the steps included in the corresponding method.
[0043] Compared with the prior art, in view of the problems in the prior art that the opening of the wine jar for measuring the alcohol content of the base liquor leads to the volatilization and operation loss of the base liquor, and at the same time, changing the storage atmosphere of the base liquor may change the taste of the liquor body, and if there are problems such as short circuit, overload, poor contact, and over-discharge of the battery in the measuring instrument, resulting in explosion and fire, which may cause the combustion of the base liquor and lead to warehouse fires, etc., the present application includes but is not limited to the following beneficial effects:
[0044] First, traditional methods for measuring the alcohol content of base liquor (such as the density bottle method, alcohol meter method, gas chromatography method, and digital density meter) require opening the lid or direct contact with the base liquor, which not only causes volatilization loss of the base liquor but also may change the atmosphere inside the wine jar and affect the taste of the liquor body. The present application uses RFID technology for non-contact measurement, avoiding the need to open the wine jar, so it can minimize the volatilization and loss of the base liquor and maintain the stability and flavor of the liquor body.
[0045] Second, traditional alcohol content measuring devices often require live operation (such as digital density meters or other electronic devices) during the storage of base liquor, which may lead to electrical faults such as short circuits, overloads, and poor contacts, and further cause safety accidents such as fires, especially in flammable and explosive environments with a high alcohol content. The present application uses RFID technology for non-contact measurement. RFID technology is a low-power wireless technology that does not rely on batteries or high-voltage operation, so it can effectively eliminate safety hazards caused by electrical faults. For the base liquor warehouse of wineries, this greatly reduces the risk of dangers such as fires.
[0046] Third, when traditional wineries conduct an inventory of base liquor, they usually use weighing scales to measure the mass of the base liquor, which is particularly difficult for wine jars with a large weight because terracotta wine jars are easily damaged and cumbersome to handle. The present application uses RFID technology, which can achieve non-contact measurement of the liquid level height and alcohol content by installing RFID tags and combining sensors, without moving the wine jar or directly contacting the liquor body, thus effectively avoiding damage and cumbersome operations. This technology not only simplifies the operation but also reduces the consumption of human and material resources, thereby reducing the overall operating cost.
[0047] Fourthly, through the RFID technology, the present application can achieve real-time data collection of the base liquor jars. Information such as the alcohol content, liquid level height, and jar ID of the base liquor can be automatically identified and uploaded by the RFID reader. These data can not only be stored locally but also synchronized to a remote database for analysis and archiving. This method enables the winery to achieve online and offline real-time monitoring, providing more accurate and convenient data support for the management of alcohol content and liquid level, and helping to improve the inventory management efficiency and production scheduling accuracy of the winery.
[0048] Fifthly, aiming at the signal attenuation problem of the base liquor, the present application uses a wide convolutional neural network for alcohol content detection, which can effectively handle the signal error caused by electromagnetic wave attenuation. The wide convolutional neural network optimizes the model through deep learning, can extract high-precision alcohol content data from complex signals, and combined with deep learning technology, can calibrate the traditional model, especially for the special influence of the signal by the ceramic liquor jar material, further improving the accuracy and stability of alcohol content detection.
[0049] Sixthly, through the RFID technology, each liquor jar can have a unique ID tag. Combining the jar ID with the stored alcohol content, liquid level and other data can achieve precise jar management. The RFID technology can not only help the winery track the status of each liquor jar but also improve the traceability of the liquor jar, contributing to quality monitoring and traceability management. After the data of the jar ID is uploaded to the database, the winery staff can view the changes in the alcohol content and liquid level of each liquor jar at any time and make adjustments in a timely manner.
[0050] Furthermore, the non-contact base liquor detection scheme based on the RFID technology has significant advantages in reducing base liquor loss, eliminating safety hazards, reducing labor costs, improving measurement accuracy, and realizing digital management. It not only improves the work efficiency of the winery but also effectively reduces risks and costs, promoting the development of intelligent and automated production in the winery. These beneficial effects make the RFID technology an important technological breakthrough in modern alcohol content measurement and base liquor inventory management. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] The above and / or additional aspects and advantages of the present application will become apparent and be readily understood from the following description of the embodiments in conjunction with the accompanying drawings, where:
[0052] Figure 1 is a schematic flowchart of the method for measuring the alcohol content of the base liquor in the winery in the embodiment of the present application;
[0053] Figure 2 is an exemplary architecture of the system for measuring the alcohol content of the base liquor in the winery in the embodiment of the present application;
[0054] Figure 3This is a schematic diagram of the installation method of the non-destructive detection sensor of the alcohol content of the base wine in the embodiment of the present application;
[0055] Figure 4 A schematic diagram of a process for determining a received signal strength corresponding to an electromagnetic wave received signal in an embodiment of the present application;
[0056] Figure 5 A schematic diagram of a flow chart for determining a ratio between received signal strengths corresponding to a first electromagnetic wave received signal and a second electromagnetic wave received signal in an embodiment of the present application;
[0057] Figure 6 A schematic diagram of a process for determining the instantaneous amplitude corresponding to an electromagnetic wave receiving signal in an embodiment of the present application;
[0058] Figure 7 A schematic diagram of a process for determining an instantaneous phase corresponding to an electromagnetic wave receiving signal in an embodiment of the present application;
[0059] Figure 8 A schematic diagram of a flow chart for determining the instantaneous frequency corresponding to an electromagnetic wave receiving signal in an embodiment of the present application;
[0060] Figure 9 An exemplary network structure of a wide convolutional neural network in an embodiment of the present application;
[0061] Figure 10 A schematic diagram of calibrating the alcohol content measurement value of the base wine in the embodiment of the present application;
[0062] Figure 11 A schematic diagram of a process of intercepting data of received signal strength in an embodiment of the present application;
[0063] Figure 12 This is a schematic diagram of an RFID device performing alcohol content detection on multiple target base wines in an embodiment of the present application;
[0064] Figure 13 A schematic diagram of RFID data reading and writing and edge computing in an embodiment of the present application;
[0065] Figure 14 This is a functional block diagram of a device for measuring the alcohol content of base wine in a winery in an embodiment of the present application;
[0066] Figure 15 It is a schematic diagram of the structure of the computer device in the embodiment of the present application. DETAILED DESCRIPTION
[0067] Embodiments of the present application will be described in detail below. Examples of the embodiments are shown in the accompanying drawings, where like or similar reference numerals denote like or similar elements or elements having like or similar functions throughout. The embodiments described below by referring to the accompanying drawings are exemplary only for explaining the present application and should not be construed as limiting the present application.
[0068] Those skilled in the art of the present technology can understand that, unless specifically stated otherwise, the singular forms "a", "an", "the" and "said" used herein may also include the plural forms. It should be further understood that the term "comprising" used in the specification of the present application means the presence of the stated 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 groups. It should be understood that when we say that an element is "connected" or "coupled" to another element, it can be directly connected or coupled to other elements, or there may also be intermediate elements. In addition, the "connection" or "coupling" used herein may include wireless connection or wireless coupling. The phrase "and / or" used herein includes all or any unit and all combinations of one or more of the associated listed items.
[0069] Those skilled in the art of the present technology can understand that, unless otherwise defined, all terms used herein (including technical terms and scientific terms) have the same meaning as the general understanding of those of ordinary skill in the art to which the present application pertains. It should also be understood that terms such as those defined in a general dictionary should be understood to have a meaning consistent with the meaning in the context of the prior art, and will not be interpreted with an idealized or overly formal meaning unless specifically defined as here.
[0070] Those skilled in the art can understand that the "client", "terminal", and "terminal device" used herein include both devices with a wireless signal receiver that only has the ability to receive and no ability to transmit, and devices with both receiving and transmitting hardware that can perform two-way communication on a two-way communication link. Such devices can include: cellular or other communication devices such as personal computers, tablet computers, etc., which have a single-line display or a multi-line display or a cellular or other communication device without a multi-line display; PCS (Personal Communications Service), which can combine voice, data processing, fax, and / or data communication capabilities; PDA (Personal Digital Assistant), which can include a radio frequency receiver, a pager, Internet / intranet access, a web browser, a notepad, a calendar, and / or a GPS (Global Positioning System) receiver; conventional laptop and / or palm computers or other devices, which are conventional laptop and / or palm computers or other devices with and / or including a radio frequency receiver. The "client", "terminal", and "terminal device" used herein can be portable, transportable, installed in a vehicle (air, sea, and / or land), or suitable for and / or configured to run locally, and / or run in a distributed manner at any other location on the earth and / or in space. The "client", "terminal", and "terminal device" used herein can also be a communication terminal, an Internet access terminal, a music / video playback terminal, for example, it can be a PDA, a MID (Mobile Internet Device), and / or a mobile phone with music / video playback function, or it can also be a smart TV, a set-top box, etc.
[0071] The hardware referred to by names such as "server", "client", and "service node" in this application is essentially an electronic device with the equivalent capabilities of a personal computer, and it is a hardware device with the necessary components disclosed by the von Neumann principle, including a central processing unit (including an arithmetic unit and a controller), a memory, an input device, and an output device. The computer program is stored in its memory, and the central processing unit loads the program stored in the external memory into the memory for execution, executes the instructions in the program, and interacts with the input / output devices to complete specific functions.
[0072] It should be noted that the concept of "server" in this application can similarly be extended to the case applicable to server clusters. According to the network deployment principles understood by those skilled in the art, the various servers should be logically divided. Physically, these servers can either be independent of each other but can be called through interfaces, or integrated into a physical computer or a set of computer clusters. Those skilled in the art should understand this flexibility and should not be restricted by this when implementing the network deployment method of this application.
[0073] One or several technical features of this application, unless expressly specified, can either be deployed on the server and accessed by the client remotely invoking the online service interface provided by the server, or directly deployed and run on the client for access.
[0074] The neural network models cited or possibly cited in this application, unless expressly specified, can either be deployed on a remote server and remotely invoked on the client, or deployed on a client with sufficient device capabilities for direct invocation. In some embodiments, when it runs on the client, its corresponding intelligence can be obtained through transfer learning to reduce the requirements for the client's hardware operating resources and avoid excessive occupation of the client's hardware operating resources.
[0075] All kinds of data involved in this application, unless expressly specified, can either be remotely stored on the server or stored on local terminal devices, as long as they are suitable for being invoked by the technical solutions of this application.
[0076] Those skilled in the art should be aware that although the various methods of this application are described based on the same concept and thus show commonality with each other, unless otherwise specified, these methods can all be executed independently. Similarly, for the various embodiments disclosed in this application, they are all proposed based on the same inventive concept. Therefore, for concepts with the same expression, as well as concepts that are only appropriately transformed for convenience although the concept expressions are different, they should be equally understood.
[0077] For the various embodiments to be disclosed in this application, unless expressly pointed out that there is a mutually exclusive relationship between them, the relevant technical features involved in each embodiment can be cross-combined to flexibly construct new embodiments, as long as this combination does not deviate from the creative spirit of this application and can meet the requirements in the prior art or solve certain deficiencies in the prior art. Those skilled in the art should be aware of this flexibility.
[0078] In the collection of base liquor inventory, existing equipment includes the density bottle method, alcohol meter method, gas chromatography method, and digital densitometer. Usually, invasive sensors are used to measure the alcohol content of base liquor. This method usually requires opening the lid of the wine jar, resulting in the volatilization of base liquor and operation losses. At the same time, changing the storage atmosphere of the base liquor may affect the taste of the liquor body. In the invasive measurement of alcohol content, the measuring instrument often needs to be operated with electricity. If there are problems such as short circuit, overload, poor contact, and over-discharge of the battery leading to explosion and fire in the equipment, it may cause the base liquor to burn and lead to a warehouse fire. Therefore, traditional measuring instruments pose a safety hazard to the flammable and explosive characteristics of base liquor. In addition to collecting the alcohol content, the base liquor inventory also needs to measure the quality of the base liquor. This measurement method usually uses a weighing scale. However, since the wine jars are made of terracotta materials, the terracotta wine jars are prone to breakage, and the large weight of the base liquor makes it very difficult to carry and weigh on the scale. Conducting a full inventory of the base liquor in the winery will consume a large amount of manpower and material resources, increasing the operating costs.
[0079] Based on the above exemplary scenarios, please refer to Figure 1 , in one embodiment of the alcohol content measurement method for the base liquor in the winery of the present application, it includes:
[0080] Step S10: In response to the instruction to measure the alcohol content of the base liquor in the winery, trigger the RFID device to transmit an electromagnetic wave transmission signal to the base liquor to be detected in the ceramic wine jar through a preset first antenna, and then return an electromagnetic wave reception signal. Among them, the electromagnetic wave reception signal includes a first electromagnetic wave reception signal and a second electromagnetic wave reception signal;
[0081] The alcohol content measurement system in the terminal device can respond to the instruction to measure the alcohol content of the base liquor in the winery, trigger the RFID (Radio Frequency Identification) device to transmit an electromagnetic wave transmission signal to the base liquor to be detected in the ceramic wine jar through a preset first antenna, and then return an electromagnetic wave reception signal. Among them, the electromagnetic wave reception signal includes a first electromagnetic wave reception signal and a second electromagnetic wave reception signal;
[0082] In some embodiments, please refer to Figure 2 , for the problems existing in the above-mentioned traditional measurement of the alcohol content of base liquor, the alcohol content measurement method for the base liquor in the winery of the present application can trigger the RFID (Radio Frequency Identification) device to transmit an electromagnetic wave transmission signal to the base liquor to be detected in the ceramic wine jar through a preset first antenna. In the present application, the RFID device is used to supply power externally, and its electromagnetic wave power is low. Therefore, a directional antenna is designed to reduce the propagation distance.
[0083] Please refer to Figure 3 , the alcohol content measurement method for the base liquor in the winery of the present application adopts an antenna design with one transmission and two receptions, and its structure is as Figure 3As shown, the first antenna (Antenna A) is used to measure the alcohol content of the base liquor, and the second antenna (Antenna B) is used to send messages to the outside world. Among them, the first antenna (Antenna A) adopts a one-transmit-two-receive directional design, which can focus on receiving signals from a specific direction, improve the accuracy and stability of measurement, and avoid interference from external objects to the electromagnetic wave measurement.
[0084] In a further embodiment, the present application does not directly use the antenna of the RFID device to realize the electromagnetic wave transceiver, but realizes the electromagnetic wave transceiver function through an additional antenna, which can optimize the emission and reception of electromagnetic waves, avoid the limitations of the RFID device antenna itself, and store the collected electromagnetic wave echo signal of the base liquor in the data block of the RFID (Radio Frequency Identification) device for easy external data transmission.
[0085] Based on the low-power consumption characteristics of the RFID device, the second antenna (Antenna B) is powered passively by the RFID (Radio Frequency Identification) device, and the chip can be powered by a button battery and can achieve long-time timing measurement.
[0086] Specifically, in the inventory of the base liquor, the alcohol content is measured by the absorption intensity of electromagnetic waves. When electromagnetic waves penetrate the base liquor with different alcohol contents, the attenuation degree will be different. Among them, the attenuation factor is , and the initial value is , and the attenuation factor of electromagnetic waves in the liquid base liquor can be obtained according to the following formula, which is expressed as:
[0087] ,
[0088] Among them, represents the attenuation factor of electromagnetic waves, represents the wavelength of electromagnetic waves, represents the real part of the dielectric constant of the liquid base liquor, represents the imaginary part of the dielectric constant of the liquid base liquor.
[0089] Through the above formula, it can be obtained that the attenuation of electromagnetic waves is related to the dielectric constant of the liquid base liquor, and the dielectric constant of the liquid base liquor is caused by the polarization characteristics of the molecules in the liquid base liquor, and its value is also related to the frequency of the incident electromagnetic waves. If there are molecules in a unit volume of the base liquor, the resonance frequency of the electromagnetic wave is , and the damping coefficient is , and there will be different position indexes due to different positions of the molecules in the liquid base liquor, then the complex polarization value of the liquid base liquor is expressed as:
[0090] ,
[0091] Among them, represents the complex polarization value of the liquid base liquor, represents the number of molecules in the liquid base liquor per unit volume, represents the electric field strength, represents the charge mass, which is equal to , represents the electric charge of an electron, which is equal to Coulombs, the frequency factor related to electrons at different positions, represents the th natural frequency of the vibration mode in the molecule, with the unit of Hertz (Hz), represents the incident frequency of the electromagnetic wave, the th damping coefficient of the vibration mode in the molecule, which is used to describe the energy loss of the vibration, represents the position index of the molecules in the liquid base liquor.
[0092] The expression for the dielectric constant of the liquid base liquor is:
[0093] ,
[0094] where, represents the dielectric constant of the liquid base liquor, represents the dielectric constant of the vacuum.
[0095] In a further embodiment, in the detection of the alcohol content of the base liquor, it is measured by transmitting and receiving electromagnetic wave signals through an antenna. During the propagation path, it needs to pass through the outer wall of the ceramic wine jar to reach the base liquor and then return. For the electromagnetic wave signal returned by the base liquor there is:
[0096] ,
[0097] For a one-transmit-one-receive antenna structure, the expression for the reflectivity between the base liquor and the ceramic is:
[0098] ,
[0099] where, represents the received signal strength of the electromagnetic wave received signal, represents the transmitted signal strength of the electromagnetic wave transmitted signal, represents the gain of the electromagnetic wave transmitted signal, represents the gain of the electromagnetic wave received signal, represents the wavelength of the electromagnetic wave, represents the propagation loss, represents the wall thickness of the ceramic wine jar, represents the refractive index of the ceramic, represents the refractive index of the base liquor, Represents the reflectivity between the base liquor and the ceramic, which indicates the reflection of electromagnetic waves at the interface between the base liquor and the ceramic.
[0100] As can be seen from the above formula, during the alcohol content detection of the base liquor, the electromagnetic wave signal is sent from the transmitting end (antenna) to the base liquor and propagates through the ceramic wall, and then returns to the receiving end. During the transmission process, the thickness of the ceramic wall ( ) has a great influence on the attenuation of the signal, and the attenuation shows a quartic relationship. In order to control the propagation distance and reduce signal attenuation, this application uses an RFID device with a relatively low electromagnetic wave power. Therefore, by designing a directional antenna to concentrate the directivity of the signal, the propagation distance of the signal is reduced, thereby improving the detection accuracy of the signal.
[0101] Step S20: Calculate and determine the received signal strength corresponding to the electromagnetic wave received signal according to the initial signal strength of the electromagnetic wave transmitted signal, the attenuation value of the electromagnetic wave transmitted signal under the preset ceramic thickness of the wine jar, the electromagnetic wave attenuation coefficient of the electromagnetic wave transmitted signal in the base liquor to be detected, and the propagation path length of the electromagnetic wave transmitted signal in the base liquor to be detected;
[0102] After triggering the RFID device to transmit an electromagnetic wave transmitted signal to the base liquor to be detected in the ceramic wine jar through a preset first antenna and returning an electromagnetic wave received signal, calculate and determine the received signal strength corresponding to the electromagnetic wave received signal according to the initial signal strength of the electromagnetic wave transmitted signal, the attenuation value of the electromagnetic wave transmitted signal under the preset ceramic thickness of the wine jar, the electromagnetic wave attenuation coefficient of the electromagnetic wave transmitted signal in the base liquor to be detected, and the propagation path length of the electromagnetic wave transmitted signal in the base liquor to be detected;
[0103] In some embodiments, please refer to Figure 4 , the step of calculating and determining the received signal strength corresponding to the electromagnetic wave received signal according to the initial signal strength of the electromagnetic wave transmitted signal, the attenuation value of the electromagnetic wave transmitted signal under the preset ceramic thickness of the wine jar, the electromagnetic wave attenuation coefficient of the electromagnetic wave transmitted signal in the base liquor to be detected, and the propagation path length of the electromagnetic wave transmitted signal in the base liquor to be detected includes:
[0104] Step S201: Obtain the initial signal strength of the electromagnetic wave transmitted signal, the attenuation value of the electromagnetic wave transmitted signal under the preset ceramic thickness of the wine jar, the electromagnetic wave attenuation coefficient of the electromagnetic wave transmitted signal in the base liquor to be detected, the propagation path length of the electromagnetic wave transmitted signal in the base liquor to be detected, the attenuation coefficient of each unit path segment of the electromagnetic wave transmitted signal in the base liquor to be detected, the propagation distance of each unit path segment of the electromagnetic wave transmitted signal in the base liquor to be detected, the product of the transmission coefficients of the first antenna, and the adjustment factor;
[0105] Step S202: Calculate and determine the first product between the electromagnetic wave attenuation coefficient of the electromagnetic wave emission signal in the base liquor to be detected and the propagation path length of the electromagnetic wave emission signal in the base liquor to be detected, and calculate and determine the value of the first natural exponential function with the negative value of the first product as the exponent;
[0106] Step S203: Calculate and determine the second product between the attenuation coefficient of each unit path segment of the electromagnetic wave emission signal in the base liquor to be detected and the propagation distance of each unit path segment of the electromagnetic wave emission signal in the base liquor to be detected, calculate and determine the value of the second natural exponential function with the negative value of the second product as the exponent, and calculate and determine the cumulative attenuation value of multiple unit path segments of the electromagnetic wave emission signal in the base liquor to be detected according to the value of the second natural exponential function;
[0107] Step S204: Calculate and determine the third product between the attenuation value of the electromagnetic wave emission signal under the preset ceramic thickness of the wine jar, the value of the first natural exponential function, the cumulative attenuation value of multiple unit path segments of the electromagnetic wave emission signal in the base liquor to be detected, the transmission coefficient product of the first antenna, the adjustment factor, and the initial signal intensity of the electromagnetic wave emission signal, so as to determine the received signal intensity corresponding to the electromagnetic wave received signal.
[0108] Specifically, based on the installation method as shown in Figure 2 and Figure 3 , the first antenna (Antenna A) is used to send an electromagnetic wave emission signal to measure the alcohol content of the base liquor to be detected, and the second antenna (Antenna B) is used to receive the returned electromagnetic wave signal and send the data to an external device for processing.
[0109] In this application, the RFID device is mainly considered for a low-power and highly reliable data acquisition solution. In the first antenna (Antenna A), the sent electromagnetic wave emission signal penetrates the ceramic and reaches the base liquor to be detected, and then the electromagnetic wave is received after attenuation. The received signal intensity corresponding to the electromagnetic wave received signal can be obtained through the following formula. Among them, the expression of the received signal intensity corresponding to the first electromagnetic wave received signal is:
[0110] ,
[0111] where represents the received signal intensity corresponding to the first electromagnetic wave received signal, represents the attenuation value of the electromagnetic wave emission signal under the ceramic thickness of the wine jar, represents the electromagnetic wave attenuation coefficient of the electromagnetic wave emission signal in the base liquor to be detected, represents the first transmission path The propagation path length of the electromagnetic wave emission signal in the base liquor to be detected represents the attenuation coefficient of the nth unit path segment of the electromagnetic wave emission signal in the base liquor to be detected represents the first transmission path The propagation distance of the electromagnetic wave emission signal in each unit path segment of the base liquor to be detected in the first transmission path represents the product of the transmission coefficients of the first antenna, which is used to reflect the transmission efficiency of the first antenna represents the adjustment factor represents the initial signal strength of the electromagnetic wave emission signal represents the diameter of the base liquor to be detected in the ceramic wine jar. Since the complete penetration of the electromagnetic wave in the base liquor to be detected is not considered, then .
[0112] The expression for the signal reception strength corresponding to the second electromagnetic wave reception signal is:
[0113] ,
[0114] where represents the signal reception strength corresponding to the second electromagnetic wave reception signal represents the attenuation value of the electromagnetic wave emission signal at the thickness of the wine jar ceramic represents the electromagnetic wave attenuation coefficient of the electromagnetic wave emission signal in the base liquor to be detected represents the second transmission path The propagation path length of the electromagnetic wave emission signal in the base liquor to be detected in the second transmission path represents the attenuation coefficient of the nth unit path segment of the electromagnetic wave emission signal in the base liquor to be detected represents the second transmission path The propagation distance of the electromagnetic wave emission signal in each unit path segment of the base liquor to be detected in the second transmission path represents the product of the transmission coefficients of the first antenna, which is used to reflect the transmission efficiency of the first antenna represents the adjustment factor represents the initial signal strength of the electromagnetic wave emission signal represents the diameter of the base liquor to be detected in the ceramic wine jar. Since the complete penetration of the electromagnetic wave in the base liquor is not considered, then .
[0115] Based on the above formula, the signal reception strengths corresponding to the first electromagnetic wave reception signal and the second electromagnetic wave signal can be calculated and determined
[0116] In some embodiments, for dual-antenna reception, it is possible to better obtain the angle of arrival (AOA) of the electromagnetic wave emission signal reflected by the base liquor to be detected. Since the signal is obtained from the phase difference between two adjacent receiving antennas, it can be used to calibrate the received signal. At the same time, dual-antenna reception is used to eliminate the interference of the outer wall morphology on the electromagnetic wave for different installation positions of the device. The expression for the angle of arrival of the electromagnetic wave emission signal reflected by the base liquor to be detected is as follows:
[0117] ,
[0118] Wherein, represents the angle of arrival of the electromagnetic wave emission signal reflected by the base liquor to be detected, is the phase deviation of the dual receiving antennas, which represents the difference in the signal phases received between two adjacent receiving antennas, is the receiving antenna spacing, which represents the physical distance between two adjacent antennas, represents the wavelength of the electromagnetic wave signal.
[0119] Step S30: Calculate and determine the first ratio between the received signal strength corresponding to the first electromagnetic wave received signal and the received signal strength corresponding to the second electromagnetic wave received signal;
[0120] After calculating and determining the received signal strength corresponding to the electromagnetic wave received signal according to the initial signal strength of the electromagnetic wave emission signal, the attenuation value of the electromagnetic wave emission signal at the preset ceramic thickness of the wine jar, the electromagnetic wave attenuation coefficient of the electromagnetic wave emission signal in the base liquor to be detected, and the propagation path length of the electromagnetic wave emission signal in the base liquor to be detected, calculate and determine the first ratio between the received signal strength corresponding to the first electromagnetic wave received signal and the received signal strength corresponding to the second electromagnetic wave received signal;
[0121] In some embodiments, referring to Figure 5 , the step of calculating and determining the first ratio between the received signal strength corresponding to the first electromagnetic wave received signal and the received signal strength corresponding to the second electromagnetic wave received signal includes:
[0122] Step S301: Obtain the first natural exponential function value with the negative value of the first product as the exponent and the cumulative attenuation value of multiple unit path segments of the electromagnetic wave emission signal in the base liquor to be detected;
[0123] Step S302: Calculate and determine the fourth product between the first natural exponential function value and the cumulative attenuation value of the electromagnetic wave emission signal in multiple unit path segments of the base wine to be detected, so as to determine the first ratio between the received signal strength corresponding to the first electromagnetic wave received signal and the received signal strength corresponding to the second electromagnetic wave received signal.
[0124] Specifically, , , , represents the diameter of the base wine to be detected in the ceramic wine jar. Since the complete penetration of electromagnetic waves in the base wine is not considered , Then , the ratio between the received signal strength corresponding to the first electromagnetic wave received signal and the received signal strength corresponding to the second electromagnetic wave received signal, that is, the expression of the ratio of the signal strengths received by the two receiving antennas is expressed as:
[0125] ,
[0126] From the above formula, the ratio between the received signal strength corresponding to the first electromagnetic wave received signal and the received signal strength corresponding to the second electromagnetic wave received signal can be calculated and determined.
[0127] Step S40: Use a preset Hilbert-Huang transform algorithm to calculate and determine the signal characteristics corresponding to the electromagnetic wave received signal according to the received signal strength corresponding to the electromagnetic wave received signal, where the signal characteristics are constructed by the instantaneous amplitude, instantaneous phase, and instantaneous frequency corresponding to the electromagnetic wave received signal;
[0128] After calculating and determining the first ratio between the received signal strength corresponding to the first electromagnetic wave received signal and the received signal strength corresponding to the second electromagnetic wave received signal, use a preset Hilbert-Huang transform algorithm to calculate and determine the signal characteristics corresponding to the electromagnetic wave received signal according to the received signal strength corresponding to the electromagnetic wave received signal, where the signal characteristics are constructed by the instantaneous amplitude, instantaneous phase, and instantaneous frequency corresponding to the electromagnetic wave received signal;
[0129] In some embodiments, please refer to Figure 6 , the step of using a preset Hilbert-Huang transform algorithm to calculate and determine the signal characteristics corresponding to the electromagnetic wave received signal according to the received signal strength corresponding to the electromagnetic wave received signal includes:
[0130] Step S401: Obtain the received signal strength corresponding to the electromagnetic wave received signal and the Hilbert-Huang transform value corresponding to the received signal strength;
[0131] Step S402: Calculate and determine the first square value of the received signal strength corresponding to the electromagnetic wave received signal and the second square value of the Hilbert-Huang transform value corresponding to the received signal strength;
[0132] Step S403: Calculate and determine the first sum value between the first square value and the second square value, and calculate and determine the first square root value of the first sum value to determine the instantaneous amplitude corresponding to the electromagnetic wave received signal.
[0133] Specifically, the received signal strength data is generated based on the intermediate frequency signal of the electromagnetic wave radar. Among them, the intermediate frequency signal is modulated and collected based on the radar transmission frame (frame). During the base liquor collection process, sliding window interception is performed on each frame of data, and peak window interception is performed on each frame function to meet the data preservation and transmission in the RFID device transmission byte volume. The RFID device reader performs Hilbert-Huang Transform (HHT) algorithm on the data read from the RFID device chip to analyze the received signal strength as the feature input of the deep learning model. Finally, the alcohol content result corresponding to the base liquor to be detected is returned to the RFID device and the database. At the same time, the RFID device also sends the height data processed by the radar signal to the edge processing for storage in the database, and finally used for the base liquor inventory data of the enterprise.
[0134] The expression of the instantaneous amplitude corresponding to the electromagnetic wave received signal is:
[0135] ,
[0136] Wherein, represents the received signal strength corresponding to the electromagnetic wave received signal, represents the Hilbert-Huang transform value of the received signal strength corresponding to the electromagnetic wave received signal, represents the instantaneous amplitude corresponding to the electromagnetic wave received signal.
[0137] In a further embodiment, please refer to Figure 7 , the steps of calculating and determining the signal characteristics corresponding to the electromagnetic wave received signal by using a preset Hilbert-Huang transform algorithm according to the received signal strength corresponding to the electromagnetic wave received signal include:
[0138] Step S4001: Obtain the received signal strength corresponding to the electromagnetic wave received signal and the Hilbert-Huang transform value corresponding to the received signal strength;
[0139] Step S4002: Calculate and determine the second ratio between the received signal strength corresponding to the electromagnetic wave received signal and the Hilbert-Huang transform value corresponding to the received signal strength, and calculate and determine the arctangent function value corresponding to the second ratio to determine the instantaneous phase corresponding to the electromagnetic wave received signal.
[0140] Specifically, the expression for the instantaneous phase corresponding to the electromagnetic wave received signal is:
[0141] ,
[0142] where, represents the instantaneous phase corresponding to the electromagnetic wave received signal, represents the received signal strength corresponding to the electromagnetic wave received signal, represents the Hilbert-Huang transform value of the received signal strength corresponding to the electromagnetic wave received signal.
[0143] In a further embodiment, please refer to Figure 8 , the steps of calculating and determining the signal characteristics corresponding to the electromagnetic wave received signal by using a preset Hilbert-Huang transform algorithm according to the received signal strength corresponding to the electromagnetic wave received signal include:
[0144] Step S40001: Obtain the received signal strength corresponding to the electromagnetic wave received signal and the instantaneous phase corresponding to the electromagnetic wave received signal;
[0145] Step S40002: Calculate and determine the first change rate between the instantaneous phase corresponding to the electromagnetic wave received signal and the received signal strength corresponding to the electromagnetic wave received signal, and calculate and determine the fifth product between the first change rate and a preset value to determine the instantaneous frequency corresponding to the electromagnetic wave received signal, where the preset value is .
[0146] Specifically, the expression for the instantaneous frequency corresponding to the electromagnetic wave received signal is:
[0147] ,
[0148] where, represents the instantaneous frequency corresponding to the electromagnetic wave received signal, represents the instantaneous phase corresponding to the electromagnetic wave received signal, represents the received signal strength corresponding to the electromagnetic wave received signal, including the signal reception strength corresponding to the first electromagnetic wave received signal and the signal reception strength corresponding to the second electromagnetic wave received signal , Denotes the differentiation of a certain variable, that is, the calculation of the derivative.
[0149] Through the above formula, the instantaneous amplitude, instantaneous phase, and instantaneous frequency corresponding to the electromagnetic wave received signal can be calculated and determined. The signal characteristics corresponding to the electromagnetic wave received signal are constructed using the instantaneous amplitude, instantaneous phase, and instantaneous frequency corresponding to the electromagnetic wave received signal, and used as the data input of the alcohol concentration detection model of this application.
[0150] Step S50: Use the signal characteristics corresponding to the first electromagnetic wave received signal, the signal characteristics corresponding to the second electromagnetic wave received signal, and the alcohol concentration detection model trained with the first ratio as training samples to predict the alcohol concentration corresponding to the base liquor to be detected in the ceramic wine jar, so as to complete the measurement of the alcohol concentration of the base liquor in the winery.
[0151] After calculating and determining the signal characteristics corresponding to the electromagnetic wave received signal according to the received signal strength corresponding to the electromagnetic wave received signal using the preset Hilbert-Huang transform algorithm, use the signal characteristics corresponding to the first electromagnetic wave received signal, the signal characteristics corresponding to the second electromagnetic wave received signal, and the alcohol concentration detection model trained with the first ratio as training samples to predict the alcohol concentration corresponding to the base liquor to be detected in the ceramic wine jar, so as to complete the measurement of the alcohol concentration of the base liquor in the winery. Among them, the basic network architecture of the alcohol concentration detection model is a wide convolutional neural network, where the wide convolutional neural network includes a wide convolutional layer, a pooling layer, a fully connected layer, and an output layer, and the wide convolutional layer, the pooling layer, the fully connected layer, and the output layer are connected in sequence.
[0152] Specifically, please refer to Figure 9 , Figure 9This is an exemplary network structure of the wide convolutional neural network in the embodiments of the present application. In the input layer, signal features corresponding to the first electromagnetic wave received signal and the second electromagnetic wave received signal, as well as the ratio between the received signal intensities of the first electromagnetic wave received signal and the second electromagnetic wave received signal are input. The convolutional layer of the wide convolutional neural network (WDCNN) passes the signal features to the convolutional neural network for processing. The wide convolutional layer processes the input signal through multiple convolutional kernels, which can automatically extract high-level features in the signal and help identify the relationship between the signal and the alcohol content. In particular, the first layer of large convolutional kernels can extract large-scale features from the signal and can suppress some noises (such as signals from ceramic and antenna interference). The advantage of the convolutional operation is that it can process time-series data and can automatically identify and remove irrelevant features. The pooling layer is used to reduce the dimension of the signal features after convolution and retain the most important information. The pooling layer usually reduces the dimension of the data by taking the maximum or average value of the local area to avoid overfitting and maintain key features. After the convolution and pooling processing, the extracted features are passed to the fully connected layer, and this part of the network is responsible for mapping the features of multiple convolutional layers to the final alcohol content. The output layer is the last layer of the network, and it outputs the alcohol content value according to the previous processing results. Specifically, the output layer usually uses a regression model to output a continuous value representing the measurement result of the alcohol content of the base wine to be detected.
[0153] The training samples of the alcohol content detection model of the present application are composed of the signal features of the first electromagnetic wave received signal and the second electromagnetic wave received signal, the ratio between the received signal intensities of the first electromagnetic wave received signal and the second electromagnetic wave received signal, and the corresponding actual alcohol content labels. The input of each training sample is the signal features of the first electromagnetic wave received signal and the second electromagnetic wave received signal, and the ratio between the received signal intensities of the first electromagnetic wave received signal and the second electromagnetic wave received signal, and the output is the alcohol content corresponding to the base wine to be detected.
[0154] Once the alcohol content detection model is trained, it can be put into production use. It can accept the input of the signal features of the new base wine to be detected and predict the alcohol content of the base wine to be detected.
[0155] In some embodiments, in order to better fit the received signal strength and alcohol content. Since the Hilbert-Huang transform is based on the harmonic processing of trigonometric functions, and the first large convolutional kernel of the wide convolutional neural network (WDCNN) is obtained through an optimization algorithm training. Its advantage is that it can automatically learn the features oriented to the signal strength and automatically remove the features that are not helpful for the result. Here, the received signal strength is a complete transceiver process, which contains a large amount of signal attenuation data of non-base liquor, such as ceramic and antenna interference problems. Using the wide convolutional neural network can effectively remove such noise signals, so that the model can accurately locate the signal attenuation value after the base liquor absorption and further fit to the alcohol content.
[0156] In some embodiments, please refer to Figure 10 , for the processing results of the alcohol content data of different wine jars, the wide convolutional neural network may have calculation deviations. However, since there is a monotonic relationship between the alcohol content and the received signal attenuation, in this application, the isotonic regression method is used to calibrate the alcohol content of the base liquor in the wine jar. For the result of the inference of the alcohol content detection model , and the measured value of the alcohol direct measuring instrument , calculate a mapping function to minimize the following loss function, which is expressed as:
[0157] ,
[0158] Among them, for the monotonic data to maintain order, normally there is:
[0159] ,
[0160] Otherwise, for the discrete points (non-monotonic), there is:
[0161] ,
[0162] Then establish the new distribution of the current sequence
[0163] ,
[0164] ,
[0165] Through the iterative sequence, if , then belong to the same distribution, construct a distribution, and repeat the expansion. Finally, achieve and to satisfy monotonicity. Among them, represents the standard deviation, which reflects the degree of data dispersion.
[0166] In a further embodiment, please refer to Figures 11 to 13 , wherein Figure 11 is a schematic flowchart of data interception of received signal strength in the embodiment of the present application; Figure 12 is a schematic diagram of alcohol content detection of multiple target base spirits by the RFID device in the embodiment of the present application; Figure 13 is a schematic diagram of RFID data reading / writing and edge computing in the embodiment of the present application; in the enterprise deployment for the detection of multiple target base spirits, since the reflectivity between the base spirit and the ceramic is directly obtained through fast Fourier transform and Doppler algorithm, and the distance calculation based on electromagnetic waves is a relatively mature algorithm and belongs to a simple scenario with small computational complexity in the detection of base spirits and is usually integrated in the electromagnetic wave chip, so the distance calculation result of electromagnetic waves is directly utilized in the present application. In alcohol content detection, due to the need for a deep learning model, by intercepting the initial length of the received signal strength and removing the signals in the non-base spirit absorption section, the signal data transmission volume is reduced, and the transmission efficiency of the RFID device is improved.
[0167] As can be seen from the above embodiments, compared with the prior art, for the problems in the prior art that the alcohol content measurement of base spirits requires opening the lid of the wine jar, resulting in the volatilization and operation loss of the base spirits, and at the same time, changing the storage atmosphere of the base spirits may affect the taste of the wine body, and if there are short circuits, overloads, poor contacts, and over-discharged batteries in the measuring instrument, leading to explosion and fire, which may cause the base spirits to burn and result in warehouse fires, etc., the present application includes but is not limited to the following beneficial effects:
[0168] First, traditional methods for measuring the alcohol content of base spirits (such as the density bottle method, alcohol meter method, gas chromatography method, and digital density meter) require opening the lid or direct contact with the base spirits, which not only causes volatilization loss of the base spirits but also may change the atmosphere inside the wine jar and affect the taste of the wine body. The present application uses RFID technology for non-contact measurement, avoiding the operation of opening the wine jar, so it can minimize the volatilization and loss of the base spirits and maintain the stability and flavor of the wine body;
[0169] Second, traditional alcohol content measurement devices often require live operation (such as digital density meters or other electronic devices) during the storage of base spirits, which may cause electrical faults such as short circuits, overloads, and poor contacts, and then lead to safety accidents such as fires, especially in flammable and explosive environments with high alcohol content. The present application uses RFID technology for non-contact measurement, and RFID technology is a low-power wireless technology that does not rely on batteries or high-voltage operation, so it can effectively eliminate the safety hazards caused by electrical faults. For the base spirit warehouse of wineries, this greatly reduces the risk of dangers such as fires.
[0170] Thirdly, when traditional wineries conduct the inventory of base liquor, they usually use weighing scales to measure the quality of base liquor. This is particularly difficult for large wine jars because terracotta wine jars are easily damaged and cumbersome to handle. This application uses RFID technology, which can achieve non-contact measurement of liquid level height and alcohol content by installing RFID tags and combining them with sensors, without moving the wine jars or directly contacting the liquor body, thus effectively avoiding breakage and cumbersome operations. This technology not only simplifies the operation but also reduces the consumption of manpower and material resources, thereby reducing the overall operating cost.
[0171] Fourthly, through RFID technology, this application can achieve real-time data collection of base liquor wine jars. Information such as the alcohol content, liquid level height, and wine jar ID of the base liquor can be automatically identified and uploaded through an RFID reader. These data can not only be stored locally but also synchronized to a remote database for analysis and archiving. This method enables wineries to achieve online and offline real-time monitoring, providing more accurate and convenient data support for the management of alcohol content and liquid level, and helping to improve the inventory management efficiency and production scheduling accuracy of wineries.
[0172] Fifthly, to address the signal attenuation problem of base liquor, this application uses a wide convolutional neural network for alcohol content detection, which can effectively handle signal errors caused by electromagnetic wave attenuation. The wide convolutional neural network optimizes the model through deep learning, can extract high-precision alcohol content data from complex signals, and combined with deep learning technology, can calibrate traditional models, especially for the special impact of this material on signals in ceramic wine jars, further improving the accuracy and stability of alcohol content detection.
[0173] Sixthly, through RFID technology, each wine jar can have a unique ID tag. By combining the wine jar ID with the stored alcohol content, liquid level and other data, precise wine jar management can be achieved. RFID technology can not only help wineries track the status of each wine jar but also improve the traceability of wine jars, contributing to quality monitoring and traceability management. After the data of the wine jar ID is uploaded to the database, winery staff can view the changes in the alcohol content and liquid level of each wine jar at any time and make timely adjustments.
[0174] Furthermore, the non-contact base liquor detection solution based on RFID technology has significant advantages in reducing base liquor loss, eliminating safety hazards, reducing labor costs, improving measurement accuracy, and realizing digital management. It not only improves the work efficiency of wineries but also effectively reduces risks and costs, promoting the development of winery production towards intelligence and automation. These beneficial effects make RFID technology an important technological breakthrough in modern alcohol content measurement and base liquor inventory management.
[0175] Please refer to Figure 14, an alcohol content measuring device for the base liquor of a winery provided to meet one of the purposes of the present application, includes a detection trigger module 1100, a received signal strength determination module 1200, a first ratio determination module 1300, a signal feature determination module 1400, and an alcohol content measurement module 1500. Among them, the detection trigger module 1100 is set to respond to an instruction to measure the alcohol content of the base liquor of the winery, trigger the RFID device to transmit an electromagnetic wave transmission signal to the base liquor to be detected in the ceramic wine jar through a preset first antenna, and then return an electromagnetic wave reception signal, where the electromagnetic wave reception signal includes a first electromagnetic wave reception signal and a second electromagnetic wave reception signal; the received signal strength determination module 1200 is set to calculate and determine the received signal strength corresponding to the electromagnetic wave reception signal according to the initial signal strength of the electromagnetic wave transmission signal, the attenuation value of the electromagnetic wave transmission signal under the preset ceramic thickness of the wine jar, the electromagnetic wave attenuation coefficient of the electromagnetic wave transmission signal in the base liquor to be detected, and the propagation path length of the electromagnetic wave transmission signal in the base liquor to be detected; the first ratio determination module 1300 is set to calculate and determine the first ratio between the received signal strength corresponding to the first electromagnetic wave reception signal and the received signal strength corresponding to the second electromagnetic wave reception signal; the signal feature determination module 1400 is set to calculate and determine the signal feature corresponding to the electromagnetic wave reception signal by using a preset Hilbert-Huang transform algorithm according to the received signal strength corresponding to the electromagnetic wave reception signal, where the signal feature is constructed by the instantaneous amplitude, instantaneous phase, and instantaneous frequency corresponding to the electromagnetic wave reception signal; the alcohol content measurement module 1500 is set to use the signal feature corresponding to the first electromagnetic wave reception signal, the signal feature corresponding to the second electromagnetic wave reception signal, and the first ratio as training samples to train an alcohol content detection model to predict the alcohol content corresponding to the base liquor to be detected in the ceramic wine jar, so as to complete the measurement of the alcohol content of the base liquor of the winery.
[0176] Based on any embodiment of the present application, please refer to Figure 15 , another embodiment of the present application further provides an electronic device, which can be implemented by a computer device, such as Figure 15As shown in the figure, it is a schematic diagram of the internal structure of a computer device. The computer device includes a processor, a computer-readable storage medium, a memory, and a network interface connected through a system bus. Among them, the computer-readable storage medium of the computer device stores an operating system, a database, and computer-readable instructions. The database can store a control information sequence. When the computer-readable instructions are executed by the processor, the processor can implement a method for measuring the alcohol content of the base liquor in a winery. The processor of the computer device is used to provide computing and control capabilities to support the operation of the entire computer device. The memory of the computer device can store computer-readable instructions. When the computer-readable instructions are executed by the processor, the processor can execute the method for measuring the alcohol content of the base liquor in the winery of the present application. The network interface of the computer device is used to connect and communicate with a terminal. Those skilled in the art can understand that Figure 15 The structure shown in the figure is only a block diagram of some structures related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine some components, or have different component arrangements.
[0177] In this embodiment, the processor is used to execute Figure 14 the specific functions of each module in the figure. The memory stores the program code and various types of data required to execute the above modules. The network interface is used for data transmission between the user terminal or the server. The memory in this embodiment stores the program code and data required to execute all modules in the device for measuring the alcohol content of the base liquor in the winery of the present application. The server can call the program code and data of the server to execute the functions of all modules.
[0178] The present application also provides a storage medium storing computer-readable instructions. When the computer-readable instructions are executed by one or more processors, the one or more processors are caused to execute the steps of the method for measuring the alcohol content of the base liquor in the winery according to any embodiment of the present application.
[0179] The present application also provides a computer program product, including a computer program / instructions. When the computer program / instructions are executed by one or more processors, the steps of the method for measuring the alcohol content of the base liquor in the winery according to any embodiment of the present application are implemented.
[0180] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiments of the method of this application can be completed by instructing relevant hardware through a computer program. This computer program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned various methods. Among them, the aforementioned storage medium can be a computer-readable storage medium such as a magnetic disk, an optical disc, a read-only memory (ROM), or a random access memory (RAM), etc.
[0181] The above are only some implementation manners of this application. It should be noted that for those of ordinary skill in the technical field, without departing from the principle of this application, several improvements and refinements can be made, and these improvements and refinements should also be regarded as the protection scope of this application.
[0182] In summary, the non-contact base liquor detection solution based on RFID technology has significant advantages in reducing base liquor loss, eliminating potential safety hazards, reducing labor costs, improving measurement accuracy, and realizing digital management. It not only improves the work efficiency of the winery, but also effectively reduces risks and costs, promoting the development of the winery's production towards intelligence and automation. These beneficial effects make RFID technology an important technological breakthrough in modern alcohol measurement and base liquor inventory management.
Claims
1. A method for measuring the alcohol content of the base liquor in a winery, characterized in that, Including: In response to the instruction for measuring the alcohol content of the base liquor in the winery, after triggering the RFID device to transmit an electromagnetic wave transmission signal to the base liquor to be detected in the ceramic wine jar through a preset first antenna and then returning an electromagnetic wave reception signal, where the electromagnetic wave reception signal includes a first electromagnetic wave reception signal and a second electromagnetic wave reception signal, and the first antenna adopts a one-transmission-two-reception directional design; Calculating and determining the received signal strength corresponding to the electromagnetic wave reception signal according to the initial signal strength of the electromagnetic wave transmission signal, the attenuation value of the electromagnetic wave transmission signal under the preset ceramic thickness of the wine jar, the electromagnetic wave attenuation coefficient of the electromagnetic wave transmission signal in the base liquor to be detected, and the propagation path length of the electromagnetic wave transmission signal in the base liquor to be detected; Calculating and determining a first ratio between the received signal strength corresponding to the first electromagnetic wave reception signal and the received signal strength corresponding to the second electromagnetic wave reception signal; Using a preset Hilbert-Huang transform algorithm to calculate and determine the signal characteristics corresponding to the electromagnetic wave reception signal according to the received signal strength corresponding to the electromagnetic wave reception signal, where the signal characteristics are constructed by the instantaneous amplitude, instantaneous phase, and instantaneous frequency corresponding to the electromagnetic wave reception signal; Using the signal characteristics corresponding to the first electromagnetic wave reception signal, the signal characteristics corresponding to the second electromagnetic wave reception signal, and the first ratio as training samples to train an alcohol content detection model to predict the alcohol content corresponding to the base liquor to be detected in the ceramic wine jar, so as to complete the measurement of the alcohol content of the base liquor in the winery. Wherein, the basic network architecture of the alcohol content detection model is a wide convolutional neural network, and the wide convolutional neural network includes a wide convolutional layer, a pooling layer, a fully connected layer, and an output layer, and the wide convolutional layer, the pooling layer, the fully connected layer, and the output layer are connected in sequence.
2. The method for measuring the alcohol content of the base liquor in a winery according to claim 1, wherein, The step of calculating and determining the received signal strength corresponding to the electromagnetic wave reception signal according to the initial signal strength of the electromagnetic wave transmission signal, the attenuation value of the electromagnetic wave transmission signal under the preset ceramic thickness of the wine jar, the electromagnetic wave attenuation coefficient of the electromagnetic wave transmission signal in the base liquor to be detected, and the propagation path length of the electromagnetic wave transmission signal in the base liquor to be detected, includes: Obtaining the signal reception strength corresponding to the electromagnetic wave reception signal through the following formula, where the expression for the signal reception strength corresponding to the first electromagnetic wave reception signal is: , Among them, represents the signal reception intensity corresponding to the first electromagnetic wave reception signal, represents the attenuation value of the electromagnetic wave transmission signal in the thickness of the ceramic wine jar, underneath, represents the electromagnetic wave attenuation coefficient of the electromagnetic wave transmission signal in the base wine to be detected, represents the first transmission path, the propagation path length of the electromagnetic wave transmission signal in the base wine to be detected in the first transmission path, represents the nth attenuation coefficient of the unit path segment of the electromagnetic wave transmission signal in the base wine to be detected, represents the first transmission path, the propagation distance of each unit path segment of the electromagnetic wave transmission signal in the base wine to be detected in the first transmission path, represents the product of the transmission coefficients of the first antenna, which is used to reflect the transmission efficiency of the first antenna, represents the adjustment factor, represents the initial signal intensity of the electromagnetic wave transmission signal, represents the diameter of the base wine to be detected in the ceramic wine jar. Since the complete penetration of the electromagnetic wave in the base wine to be detected is not considered, then ; The expression for the signal reception strength corresponding to the second electromagnetic wave reception signal is: , Among them, represents the signal reception intensity corresponding to the second electromagnetic wave reception signal, represents the attenuation value of the electromagnetic wave transmission signal in the thickness of the ceramic wine jar underneath, represents the electromagnetic wave attenuation coefficient of the electromagnetic wave transmission signal in the base wine to be detected, represents the second transmission path in which the propagation path length of the electromagnetic wave transmission signal in the base wine to be detected, represents the th attenuation coefficient of the unit path segment of the electromagnetic wave transmission signal in the base wine to be detected, represents the second transmission path in which the propagation distance of the electromagnetic wave transmission signal in the base wine to be detected for each unit path segment, represents the product of the transmission coefficients of the first antenna, which is used to reflect the transmission efficiency of the first antenna, represents the adjustment factor, represents the initial signal intensity of the electromagnetic wave transmission signal, represents the diameter of the base wine to be detected in the ceramic wine jar. Since the complete penetration of the electromagnetic wave in the base wine is not considered, then .
3. The method for measuring the alcohol content of the base liquor in a winery according to claim 2, characterized in that, The step of calculating and determining a first ratio between the received signal strength corresponding to the first electromagnetic wave reception signal and the received signal strength corresponding to the second electromagnetic wave reception signal, includes: , , , represents the diameter of the base liquor to be detected in the ceramic wine jar. Since the complete penetration of electromagnetic waves in the base liquor is not considered , then , the ratio between the received signal strength corresponding to the first electromagnetic wave received signal and the received signal strength corresponding to the second electromagnetic wave received signal, that is, the expression of the ratio of the signal strengths received by the two receiving antennas is expressed as: 。 4. The method for measuring the alcohol content of the base liquor in a winery according to claim 1, characterized in that The step of using a preset Hilbert-Huang transform algorithm to calculate and determine the signal characteristics corresponding to the electromagnetic wave reception signal according to the received signal strength corresponding to the electromagnetic wave reception signal, includes: The expression for the instantaneous amplitude corresponding to the electromagnetic wave reception signal is: , Among them, represents the received signal strength corresponding to the electromagnetic wave received signal, including the signal reception strength corresponding to the first electromagnetic wave received signal and the signal reception strength corresponding to the second electromagnetic wave received signal , represents the Hilbert-Huang transform value of the received signal strength corresponding to the electromagnetic wave received signal, represents the instantaneous amplitude corresponding to the electromagnetic wave received signal.
5. The method for measuring the alcohol content of the base liquor in a winery according to claim 1, characterized in that, The steps of calculating and determining the signal characteristics corresponding to the electromagnetic wave reception signal according to the reception signal strength corresponding to the electromagnetic wave reception signal by using a preset Hilbert-Huang transform algorithm include: The expression of the instantaneous phase corresponding to the electromagnetic wave reception signal is: , Among them, represents the instantaneous phase corresponding to the electromagnetic wave received signal, represents the received signal strength corresponding to the electromagnetic wave received signal, including the signal reception strength corresponding to the first electromagnetic wave received signal and the signal reception strength corresponding to the second electromagnetic wave received signal , represents the Hilbert-Huang transform value of the received signal strength corresponding to the electromagnetic wave received signal.
6. The method for measuring the alcohol content of the base liquor in a winery according to claim 1, wherein The steps of calculating and determining the signal characteristics corresponding to the electromagnetic wave reception signal according to the reception signal strength corresponding to the electromagnetic wave reception signal by using a preset Hilbert-Huang transform algorithm include: The expression of the instantaneous frequency corresponding to the electromagnetic wave reception signal is: , Among them, represents the instantaneous frequency corresponding to the electromagnetic wave received signal, represents the instantaneous phase corresponding to the electromagnetic wave received signal, represents the received signal strength corresponding to the electromagnetic wave received signal, includes the signal reception strength corresponding to the first electromagnetic wave received signal and the signal reception strength corresponding to the second electromagnetic wave received signal , represents the differentiation of a certain variable, that is, the derivative.
7. An alcohol content measuring device for the base liquor of a winery, characterized in that, Including: A detection trigger module, configured to respond to an instruction for measuring the alcohol content of the base liquor in the winery, trigger the RFID device to transmit an electromagnetic wave transmission signal to the base liquor to be detected in the ceramic wine jar through a preset first antenna, and then return an electromagnetic wave reception signal, where the electromagnetic wave reception signal includes a first electromagnetic wave reception signal and a second electromagnetic wave reception signal, and the first antenna adopts a one-transmission-two-reception directional design; A reception signal strength determination module, configured to calculate and determine the reception signal strength corresponding to the electromagnetic wave reception signal according to the initial signal strength of the electromagnetic wave transmission signal, the attenuation value of the electromagnetic wave transmission signal under the preset ceramic thickness of the wine jar, the electromagnetic wave attenuation coefficient of the electromagnetic wave transmission signal in the base liquor to be detected, and the propagation path length of the electromagnetic wave transmission signal in the base liquor to be detected; A first ratio determination module, configured to calculate and determine a first ratio between the reception signal strength corresponding to the first electromagnetic wave reception signal and the reception signal strength corresponding to the second electromagnetic wave reception signal; A signal characteristic determination module, configured to calculate and determine the signal characteristics corresponding to the electromagnetic wave reception signal according to the reception signal strength corresponding to the electromagnetic wave reception signal by using a preset Hilbert-Huang transform algorithm, where the signal characteristics are constructed by the instantaneous amplitude, instantaneous phase, and instantaneous frequency corresponding to the electromagnetic wave reception signal; An alcohol content measurement module, configured to use the signal characteristics corresponding to the first electromagnetic wave reception signal, the signal characteristics corresponding to the second electromagnetic wave reception signal, and the first ratio as training samples to train an alcohol content detection model, so as to predict the alcohol content corresponding to the base liquor to be detected in the ceramic wine jar, so as to complete the alcohol content measurement of the base liquor in the winery, where the basic network architecture of the alcohol content detection model is a wide convolutional neural network, and the wide convolutional neural network includes a wide convolutional layer, a pooling layer, a fully connected layer, and an output layer, and the wide convolutional layer, the pooling layer, the fully connected layer, and the output layer are connected in sequence; 8. An electronic device, comprising a central processing unit and a memory, characterized in that, The central processing unit is used to call and run the computer program stored in the memory to execute the steps of the method according to any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that, It stores a computer program implemented according to the method according to any one of claims 1 to 6 in the form of computer-readable instructions. When the computer program is called and run by the computer, it executes the steps included in the corresponding method.
Citation Information
Patent Citations
Cement lime soil roadbed compactness high-precision nondestructive testing method based on split type ground penetrating radar
CN119438333A