A tobacco quality directional regulation method and device, electronic equipment and storage medium
By acquiring the detection data of the tobacco fermentation chamber, the air conditioning, fans and humidification equipment are automatically adjusted, which solves the limitations of manual control and realizes intelligent environmental optimization and safety improvement of the tobacco fermentation chamber.
Patent Information
- Application Number
- CN202410401367.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-03
- Publication Date
- 2025-12-30
- Estimated Expiration
- 2044-04-03
AI Technical Summary
In the current tobacco fermentation process, the reliance on manual control makes it impossible to automatically regulate the moisture content of tobacco leaves and the fermentation environment. Furthermore, frequent personnel movement poses safety hazards, and irritating gases such as ammonia corrode the environment and equipment.
By acquiring data on temperature, humidity, ammonia concentration, and dryness in the tobacco fermentation chamber, the system automatically adjusts the operating modes and humidification schemes of the air conditioning intake, circulating fans, and purification equipment, integrating them into a control scheme to achieve intelligent regulation.
It achieves automatic directional control based on the actual fermentation chamber environment, ensuring the optimization of tobacco leaf moisture content and fermentation environment, eliminating safety hazards and efficiently purifying ammonia, thereby improving production safety and equipment lifespan.
Smart Images

Figure CN118020994B_ABST
Abstract
Description
Technical Field
[0001] This specification relates to the field of automation control technology, and in particular to a method, device, electronic device and storage medium for directional regulation of tobacco leaf quality. Background Technology
[0002] In the tobacco industry, the fermentation quality of tobacco leaves is influenced by many factors, among which the intrinsic quality of the tobacco leaves and the fermentation environment play a decisive role in the fermentation process and effect. The intrinsic quality of tobacco leaves mainly depends on the tobacco-producing region, variety, part of the plant, maturity, moisture content, and the degree of fermentation already achieved. The fermentation environment mainly depends on air temperature, relative humidity, and airflow. Current methods for controlling the overall quality of tobacco leaf fermentation primarily rely on manual control. Due to the inherent limitations of manual control, it is impossible to automatically regulate the moisture content of the tobacco leaves and the fermentation environment. Furthermore, frequent personnel movement during control can significantly impact environmental factors in the fermentation chamber, and irritating gases such as ammonia pose safety hazards to control personnel. Therefore, a method capable of intelligent control based on the actual conditions inside the fermentation chamber and production needs is needed. Summary of the Invention
[0003] This specification provides a method, apparatus, electronic device, and storage medium for targeted regulation of tobacco leaf quality, the technical solutions of which are as follows:
[0004] Firstly, embodiments of this specification provide a method for targeted regulation of tobacco leaf quality, the method comprising:
[0005] Acquire various detection data of the tobacco fermentation chamber, including temperature and humidity data, ammonia concentration data, and dryness data of each tobacco stack, wherein each tobacco stack is placed in the tobacco fermentation chamber;
[0006] Based on the temperature and humidity data, the air conditioning intake parameters are determined; based on the ammonia concentration data, the working mode of the circulating fan and the purification equipment is determined; and based on the dryness data, the humidification scheme of the tobacco stack is determined.
[0007] By integrating the air conditioning intake parameters, working mode, and humidification scheme, a control scheme is obtained, and the tobacco fermentation chamber is controlled based on the control scheme.
[0008] Secondly, a device for directional regulation of tobacco leaf quality is provided, the device comprising:
[0009] The acquisition module is used to acquire various detection data of the tobacco fermentation chamber. The detection data includes temperature and humidity data, ammonia concentration data, and dryness data of each tobacco stack, which is placed in the tobacco fermentation chamber.
[0010] The determination module is used to determine the air conditioning intake parameters based on the temperature and humidity data, determine the cooperative working mode of the circulating fan and the purification equipment based on the ammonia concentration data, and determine the humidification scheme of the tobacco stack based on the dryness data.
[0011] The control module is used to integrate the air intake parameters of the air conditioner, the working mode and the humidification scheme to obtain a control scheme, and to control the tobacco fermentation chamber based on the control scheme.
[0012] Thirdly, an electronic device is provided, including a device processor and a memory;
[0013] The device processor is connected to the memory;
[0014] The memory is used to store executable program code;
[0015] The device processor runs a program corresponding to the executable program code stored in the memory to perform the steps of the method provided as in the first aspect or any possible implementation thereof.
[0016] Fourthly, a computer-readable storage medium is provided having a computer program stored thereon, the computer-readable storage medium storing instructions that, when executed on a computer or device processor, cause the computer or device processor to perform the method provided as in the first aspect or any possible implementation thereof.
[0017] The beneficial effects of the technical solutions provided in some embodiments of this specification include at least the following:
[0018] In one or more embodiments of this specification, various detection data of the tobacco fermentation chamber can be acquired first. These data include temperature and humidity data, ammonia concentration data, and dryness data of each tobacco stack. Then, based on the temperature and humidity data, air conditioning intake parameters are determined; based on the ammonia concentration data, the coordinated operating mode of the circulating fan and purification equipment is determined; and based on the dryness data, a humidification scheme for the tobacco stacks is determined. Next, the air conditioning intake parameters, coordinated operating mode, and humidification scheme are integrated to obtain a control scheme. Finally, the tobacco fermentation chamber is controlled based on this control scheme. By acquiring various detection data within the fermentation chamber using sensors installed in the chamber and automatically generating a control scheme, the goal of automatically and directionally controlling the moisture content of the tobacco leaves and the fermentation environment according to the actual fermentation chamber environment is achieved. Simultaneously, it meets the requirements of efficient and energy-saving purification of ammonia within the tobacco fermentation chamber and timely elimination of safety hazards. Attached Figure Description
[0019] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0020] Figure 1 This is a schematic diagram of the system architecture of a method for targeted regulation of tobacco leaf quality provided in the embodiments of this specification;
[0021] Figure 2 A flowchart illustrating a method for targeted regulation of tobacco leaf quality provided in the embodiments of this specification;
[0022] Figure 3 This is a schematic diagram of a tobacco leaf quality directional control device provided in the embodiments of this specification;
[0023] Figure 4 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this specification. Detailed Implementation
[0024] The technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings.
[0025] The terms "first," "second," "third," etc., in the description, claims, and accompanying drawings are used to distinguish different objects, not to describe a specific order. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or apparatus that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to such processes, methods, products, or apparatus.
[0026] The following description provides examples and does not limit the scope, applicability, or examples set forth in the claims. Changes may be made to the function and arrangement of the described elements without departing from the scope of this specification. Various processes or components may be appropriately omitted, substituted, or added to the examples. For example, the described methods may be performed in a different order than described, and various steps may be added, omitted, or combined. Furthermore, features described with respect to some examples may be combined into other examples.
[0027] Please see Figure 1 , Figure 1 This specification illustrates a method for targeted regulation of tobacco leaf quality provided by an embodiment.
[0028] like Figure 1 As shown, the system architecture of this method for targeted regulation of tobacco quality may include at least a terminal 10, a server 20, and a network 30.
[0029] Terminal 10 includes, but is not limited to, electronic devices such as smartphones, desktop computers, tablets, laptops, smart speakers, digital assistants, and smart wearable devices, and may also be software running on the aforementioned electronic devices, such as applications. Optionally, the operating system running on the electronic device may include, but is not limited to, Android, iOS, Linux, and Windows. Optionally, terminal 10 provides users with tobacco quality-oriented control services. Terminal 10 can obtain control instructions from the application programming interface and send tobacco quality-oriented control requests to server 20.
[0030] Server 20 can provide backend services for terminal 10. Based on the tobacco quality-oriented adjustment request sent by terminal 10, server 20 will obtain a series of adjustment instructions and transmit the adjustment instructions to other terminals 10 through network 30. Specifically, server 20 can be an independent physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms.
[0031] Network 30 is a medium used to provide a communication link between terminal 10 and server 20. Network 30 may include various connection types, such as wired, wireless communication links, or fiber optic cables, etc.
[0032] In addition, it should be noted that, Figure 1 The system shown is merely one example of the system provided in this disclosure. In practical applications, other systems may also be included, such as more terminals.
[0033] In the embodiments described in this specification, the terminal 10 and the server 20 can be directly or indirectly connected through wired or wireless communication, and this disclosure does not impose any restrictions.
[0034] Please refer to the following. Figure 2 , Figure 2 The diagram shows an overall flowchart of a method for targeted regulation of tobacco quality provided in an embodiment of this specification. This method can be used in server 20.
[0035] like Figure 2 As shown, this method for targeted regulation of tobacco leaf quality may include at least the following steps:
[0036] Step 201: Obtain various test data from the tobacco fermentation chamber.
[0037] The detection data includes temperature and humidity data, ammonia concentration data, and dryness data of each tobacco leaf stack, which is placed in the tobacco leaf fermentation chamber.
[0038] In the embodiments described in this specification, tobacco leaves are mainly placed in a tobacco fermentation chamber in the form of stacks during storage and fermentation. The fermentation quality of the tobacco leaves is mainly determined by the temperature and humidity of the fermentation environment and the dryness of the tobacco leaves themselves. Therefore, in order to control the quality of the tobacco leaves in the fermentation chamber, it is necessary to first obtain various detection data inside the tobacco fermentation chamber. These detection data may include temperature and humidity data of the tobacco fermentation chamber, ammonia concentration data, and dryness data of each tobacco leaf stack.
[0039] The primary reason for obtaining ammonia concentration data is that excessively high indoor ammonia concentrations can affect the health of production personnel, and ammonia, when mixed with air within a certain concentration range, may explode upon encountering an ignition source or high temperature. Furthermore, ammonia is corrosive to many materials; high concentrations can cause corrosion of equipment, pipes, and instruments, thereby affecting the normal operation and lifespan of production equipment.
[0040] In one possible implementation, the acquisition of various detection data from the tobacco fermentation chamber, including temperature and humidity data, ammonia concentration data, and dryness data of each tobacco stack, includes:
[0041] Temperature and humidity data of the tobacco fermentation chamber are obtained based on temperature and humidity sensors;
[0042] Ammonia concentration data in the tobacco fermentation chamber is obtained based on an ammonia sensor.
[0043] The dryness data of each tobacco stack is obtained based on each image sensor. Each image sensor is placed directly above each tobacco stack, and the connection diagram of each image sensor corresponding to each tobacco stack is the circumscribed quadrilateral of the tobacco stack in the horizontal plane.
[0044] In the embodiments of this specification, when acquiring various detection data in the tobacco fermentation chamber, the temperature and humidity sensor and the ammonia sensor can be placed at the center of the tobacco fermentation chamber to make their detection data more representative of the actual environment of the entire tobacco fermentation chamber. The temperature and humidity data are acquired by the temperature and humidity sensor located inside the tobacco fermentation chamber, and the ammonia concentration data is acquired by the ammonia sensor located inside the tobacco fermentation chamber. When acquiring the dryness data of each tobacco stack, an image sensor can be placed at each of the four corners directly above each tobacco stack. The connected image of the four image sensors includes a top view of each tobacco stack, i.e., the circumscribed quadrilateral of each tobacco stack in the horizontal plane. Images of the entire tobacco stack are acquired using the four image sensors. Then, the four images are calibrated and fused to obtain a standard complete image of the entire tobacco stack. Furthermore, the standard complete image obtained by fusion is preprocessed, such as denoising, contrast enhancement, cropping, and scaling, to improve the accuracy of subsequent analysis. Next, image processing algorithms are used to analyze the image data and extract features related to tobacco leaf dryness, including color analysis, texture analysis, and shape analysis. Finally, the obtained image features are converted into dryness data.
[0045] Step 202: Determine the air intake parameters of the air conditioner based on the temperature and humidity data, determine the cooperative working mode of the circulating fan and the purification equipment based on the ammonia concentration data, and determine the humidification scheme of the tobacco stack based on the dryness data.
[0046] In the embodiments of this specification, after acquiring the temperature and humidity data, ammonia concentration data, and dryness data of each tobacco stack inside the tobacco fermentation chamber, it can be determined whether the temperature and humidity data meet the requirements to adjust the air conditioning intake parameters, thereby changing the temperature and humidity inside the tobacco fermentation chamber. The acquired ammonia concentration data can also be used to determine whether the ammonia concentration inside the tobacco fermentation chamber exceeds the standard, and to determine the cooperative working mode of the circulating fan and purification equipment for efficient and energy-saving purification of indoor ammonia. Simultaneously, after acquiring the dryness data corresponding to each tobacco stack, it is also used to determine whether each tobacco stack needs humidification, and to determine the specific humidification scheme for each tobacco stack.
[0047] In the conventional tobacco fermentation chamber equipment configuration, the air conditioner and circulating fan are respectively installed on the two side walls of the tobacco fermentation chamber, and the purification equipment is installed inside the tobacco fermentation chamber.
[0048] In one possible implementation, determining the air conditioning intake parameters based on the temperature and humidity data includes:
[0049] A simulation model of the tobacco fermentation chamber was determined based on its internal structure.
[0050] The temperature and humidity data are input into the simulation model to obtain the temperature and humidity flow field corresponding to the temperature and humidity data;
[0051] The air conditioning intake parameters corresponding to the temperature and humidity flow field are determined based on a preset air conditioning parameter database.
[0052] In the embodiments of this specification, when determining whether the acquired internal temperature and humidity data of the fermentation chamber requires adjustment of the air conditioning intake parameters, a simulation model of the tobacco fermentation chamber can be determined first. A typical tobacco fermentation chamber configuration includes one air conditioner, four circulating fans, one purification device, a temperature and humidity sensor, an ammonia concentration sensor, six tobacco stacks, and their corresponding image sensors. After determining the dimensional parameters of all equipment in the fermentation chamber, a simulation model of the tobacco fermentation chamber is constructed, and the simulation model is meshed. Next, the acquired temperature and humidity data is input into the tobacco fermentation chamber simulation model to obtain its corresponding temperature and humidity flow field. Finally, the temperature and humidity flow field is matched with a preset fermentation standard to obtain its corresponding air conditioning intake parameters.
[0053] Among them, the preset fermentation standard can be established by statistically analyzing long-term historical data of tobacco fermentation, and a corresponding relationship can be established by adjusting the air conditioning intake parameters to achieve the optimal fermentation temperature and humidity under a given temperature, humidity and flow field.
[0054] In one possible implementation, determining the cooperative operating mode of the circulating fan and purification equipment based on the ammonia concentration data includes:
[0055] The ammonia concentration data is compared with a preset ammonia concentration threshold to obtain a first comparison result;
[0056] When the first comparison result indicates that the ammonia concentration data exceeds the ammonia concentration threshold, the cooperative working mode of the circulating fan and the purification equipment is determined to be that the circulating fan and the purification equipment work simultaneously.
[0057] When the first comparison result is that the ammonia concentration data exceeds half of the ammonia concentration threshold but does not exceed the ammonia concentration threshold, the cooperative working mode of the circulating fan and the purification equipment is determined to be that the circulating fan is working and the purification equipment is not working.
[0058] When the first comparison result shows that the ammonia concentration data does not exceed half of the ammonia concentration threshold, the cooperative working mode of the circulating fan and the purification equipment is determined to be that the purification equipment is working and the circulating fan is not working.
[0059] In the embodiments of this specification, a single purification device is typically installed in a conventional tobacco fermentation chamber, while multiple circulating fans can be installed. When dealing with long-term low-concentration ammonia, the purification device provides the best performance under the same energy consumption standard, while when dealing with higher-concentration ammonia, the circulating fans perform better under the same energy consumption standard. After obtaining ammonia concentration data through an ammonia sensor, to efficiently and energy-savingly purify the ammonia in the tobacco fermentation chamber, the ammonia concentration data can be compared with a preset ammonia concentration threshold to obtain a first comparison result. When the first comparison result indicates that the detected ammonia concentration exceeds the preset ammonia concentration threshold, it indicates that the ammonia concentration is severely excessive, and both the circulating fans and the purification device need to be turned on simultaneously to ensure that the ammonia in the chamber can be removed as quickly as possible. When the first comparison result indicates that the detected ammonia concentration exceeds half of the preset ammonia concentration threshold but does not exceed the threshold, it indicates that the ammonia concentration is still high, but only the circulating fans need to be turned on while the purification device is turned off, thereby saving some energy. When the first comparison result indicates that the detected ammonia concentration does not exceed half of the preset ammonia concentration threshold, it indicates that the ammonia concentration is low. In this case, it is sufficient to turn on the purification equipment and turn off the circulating fan to achieve energy saving.
[0060] In one possible implementation, determining the humidification scheme for the tobacco stack based on the dryness data includes:
[0061] Each of the aforementioned dryness data is compared with a preset dryness threshold to obtain a second comparison result;
[0062] When the second comparison result indicates that the dryness data exceeds the dryness threshold, the tobacco stack corresponding to the dryness data at this time is marked as a stack to be humidified.
[0063] All the stacks to be humidified are statistically analyzed, and the humidification scheme for the tobacco stacks is determined based on the dryness data corresponding to each stack.
[0064] In the embodiments of this specification, during the fermentation process of tobacco leaves in the fermentation chamber, humidification treatment is required based on the real-time dryness of the tobacco leaves to ensure optimal fermentation quality. After acquiring dryness data through the image sensor corresponding to each tobacco leaf stack, the dryness data of each tobacco leaf stack is compared with a preset dryness threshold to obtain a second comparison result. When the second comparison result is positive, it indicates that the corresponding dryness data is greater than the preset dryness threshold, meaning that the tobacco leaf stack is already dry and needs humidification treatment; this tobacco leaf stack can be marked as a stack to be humidified. Similarly, the dryness status of all tobacco leaf stacks in the tobacco fermentation chamber is judged, and all stacks to be humidified are counted. Based on the dryness data of each stack to be humidified, a humidification scheme for the overall tobacco leaf stack is determined. Specifically, the tobacco leaf stacks can be sorted by dryness, and the corresponding humidification scheme is set to prioritize humidification of tobacco leaf stacks with higher dryness.
[0065] In one possible implementation, determining the humidification scheme for the tobacco stacks based on the dryness data corresponding to each of the stacks to be humidified includes:
[0066] Collect the dryness data corresponding to each of the aforementioned stacks to be humidified;
[0067] Sort the dryness data from highest to lowest dryness to obtain the dryness order;
[0068] The dryness order is weighted based on the relative distance between each tobacco stack to determine the humidification order of each stack to be humidified, and the humidification scheme of the tobacco stack is determined based on the humidification order. The relative distance is the distance between each tobacco stack and the initial position of the steam humidifier.
[0069] In the embodiments of this specification, when determining the humidification scheme for tobacco stacks, the dryness data corresponding to each stack to be humidified can be collected first. Then, the dryness data can be sorted from high to low to obtain a dryness order. The higher the dryness order, the higher the humidification requirement of the tobacco stack. Furthermore, to improve the overall humidification efficiency, the distance between each tobacco stack and the initial position of the steam humidifier needs to be considered. Generally, the steam humidifier is set at a fixed initial position in the tobacco fermentation chamber when in standby mode. Therefore, after obtaining the dryness order, the distance between each tobacco stack to be humidified and the initial position of the steam humidifier can be converted into a weighting coefficient. Based on the obtained weighting coefficient, the dryness order can be converted into a weighting coefficient to obtain the humidification order of the stacks to be humidified. Finally, the final humidification scheme is determined based on this humidification order to ensure that the entire humidification scheme can simultaneously take into account both dryness and distance factors, thereby improving the overall humidification efficiency.
[0070] Step 203: Integrate the air conditioning intake parameters, working mode and humidification scheme to obtain the control scheme, and control the tobacco fermentation chamber based on the control scheme.
[0071] In the embodiments of this specification, after obtaining the air conditioning intake parameters, the working mode and the humidification scheme, the schemes are integrated to obtain the final control scheme corresponding to the tobacco fermentation chamber. Based on the control scheme, the air conditioning, purification equipment, circulating fan and steam humidifier in the tobacco fermentation chamber are controlled to automatically regulate the tobacco fermentation chamber.
[0072] In one possible implementation, the method further includes:
[0073] Determine the type of tobacco leaves in each of the aforementioned tobacco leaf stacks;
[0074] Based on the tobacco leaf type, the spraying device sprays nutrient solution onto each of the tobacco leaf stacks. The nutrient solution includes dominant bacteria, biological enzymes, and beneficial bacteria.
[0075] In the embodiments of this specification, during the tobacco fermentation process, a nutrient solution can be sprayed onto the surface of the tobacco leaves. This nutrient solution promotes biochemical metabolism within the tobacco leaves, achieving targeted acceleration of the fermentation process, harmonization of chemical components, enhancement of aroma and quality, and reduction of harshness and harmful substances, thereby improving the quality of the tobacco leaves. Since the optimal type of nutrient solution for each type of tobacco leaf is different, the size, texture, and color features of the tobacco leaves can be extracted first based on an image sensor to determine the type of tobacco leaves in each stack. Then, the optimal nutrient solution corresponding to the type of tobacco leaf is sprayed onto that stack. The types of nutrient solutions include dominant bacteria, biological enzymes, and beneficial bacteria.
[0076] The foregoing has described specific embodiments of this specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims may be performed in a different order than that shown in the embodiments and may still achieve the desired result. Furthermore, the processes depicted in the drawings do not necessarily require the specific or sequential order shown to achieve the desired result. In some embodiments, multitasking and parallel processing are possible or may be advantageous.
[0077] Please refer to the following. Figure 3 , Figure 3 A schematic diagram of a tobacco leaf quality directional control device provided in an embodiment of this specification is shown. It should be noted that... Figure 3 The tobacco leaf quality directional control device shown is used to perform the functions described in this application. Figure 2 The methods shown in the embodiments are for illustrative purposes only, illustrating the parts relevant to the embodiments of this application. For specific technical details not disclosed, please refer to this application. Figure 2 The example shown.
[0078] like Figure 3 As shown, the tobacco leaf quality directional control device may include at least:
[0079] The acquisition module 301 is used to acquire various detection data of the tobacco fermentation chamber. The detection data includes temperature and humidity data, ammonia concentration data, and dryness data of each tobacco stack, which is placed in the tobacco fermentation chamber.
[0080] The determination module 302 is used to determine the air conditioning intake parameters based on the temperature and humidity data, determine the cooperative working mode of the circulating fan and the purification equipment based on the ammonia concentration data, and determine the humidification scheme of the tobacco stack based on the dryness data.
[0081] The control module 303 is used to integrate the air intake parameters of the air conditioner, the working mode and the humidification scheme to obtain a control scheme, and to control the tobacco fermentation chamber based on the control scheme;
[0082] In one possible implementation, the acquisition module 301 is specifically used for:
[0083] Temperature and humidity data of the tobacco fermentation chamber are obtained based on temperature and humidity sensors;
[0084] Ammonia concentration data in the tobacco fermentation chamber is obtained based on an ammonia sensor.
[0085] The dryness data of each tobacco stack is obtained based on each image sensor. Each image sensor is placed directly above each tobacco stack, and the connection diagram of each image sensor corresponding to each tobacco stack is the circumscribed quadrilateral of the tobacco stack in the horizontal plane.
[0086] In one possible implementation, the determining module 302 is specifically used for:
[0087] A simulation model of the tobacco fermentation chamber was determined based on its internal structure.
[0088] The temperature and humidity data are input into the simulation model to obtain the temperature and humidity flow field corresponding to the temperature and humidity data;
[0089] The air conditioning intake parameters corresponding to the temperature and humidity flow field are determined based on a preset air conditioning parameter database.
[0090] In one possible implementation, the determining module 302 is further configured to:
[0091] The ammonia concentration data is compared with a preset ammonia concentration threshold to obtain a first comparison result;
[0092] When the first comparison result indicates that the ammonia concentration data exceeds the ammonia concentration threshold, the cooperative working mode of the circulating fan and the purification equipment is determined to be that the circulating fan and the purification equipment work simultaneously.
[0093] When the first comparison result is that the ammonia concentration data exceeds half of the ammonia concentration threshold but does not exceed the ammonia concentration threshold, the cooperative working mode of the circulating fan and the purification equipment is determined to be that the circulating fan is working and the purification equipment is not working.
[0094] When the first comparison result shows that the ammonia concentration data does not exceed half of the ammonia concentration threshold, the cooperative working mode of the circulating fan and the purification equipment is determined to be that the purification equipment is working and the circulating fan is not working.
[0095] In one possible implementation, the determining module 302 is further configured to:
[0096] Each of the aforementioned dryness data is compared with a preset dryness threshold to obtain a second comparison result;
[0097] When the second comparison result indicates that the dryness data exceeds the dryness threshold, the tobacco stack corresponding to the dryness data at this time is marked as a stack to be humidified.
[0098] All the stacks to be humidified are statistically analyzed, and the humidification scheme for the tobacco stacks is determined based on the dryness data corresponding to each stack.
[0099] In one possible implementation, the determining module 302 is further configured to:
[0100] Collect the dryness data corresponding to each of the aforementioned stacks to be humidified;
[0101] Sort the dryness data from highest to lowest dryness to obtain the dryness order;
[0102] The dryness order is weighted based on the relative distance between each tobacco stack to determine the humidification order of each stack to be humidified, and the humidification scheme of the tobacco stack is determined based on the humidification order. The relative distance is the distance between each tobacco stack and the initial position of the steam humidifier.
[0103] In one possible implementation, the control module 303 is further used for:
[0104] Determine the type of tobacco leaves in each of the aforementioned tobacco leaf stacks;
[0105] Based on the tobacco leaf type, the spraying device sprays nutrient solution onto each of the tobacco leaf stacks. The nutrient solution includes dominant bacteria, biological enzymes, and beneficial bacteria.
[0106] Those skilled in the art will clearly understand that the technical solutions of the embodiments of this application can be implemented by means of software and / or hardware. In this specification, "unit" and "module" refer to software and / or hardware that can independently complete or cooperate with other components to complete a specific function, wherein the hardware may be, for example, a field-programmable gate array (FPGA), an integrated circuit (IC), etc.
[0107] Each processing unit and / or module in the embodiments of this application can be implemented by an analog circuit that implements the functions described in the embodiments of this application, or by software that executes the functions described in the embodiments of this application.
[0108] Please refer to the following. Figure 4 , Figure 4 A schematic diagram of the structure of an electronic device provided in an embodiment of this specification is shown.
[0109] like Figure 4 As shown, the electronic device 400 may include: at least one device processor 401, at least one network interface 404, user interface 403, memory 405, and at least one communication bus 402.
[0110] The communication bus 402 can be used to realize the connection and communication of the above components.
[0111] The user interface 403 may include buttons, and the optional user interface may also include a standard wired interface or a wireless interface.
[0112] Among them, network interface 404 may include, but is not limited to, Bluetooth module, NFC module, Wi-Fi module, etc.
[0113] The device processor 401 may include one or more processing cores. The device processor 401 connects to various parts within the electronic device 400 using various interfaces and lines. It executes various functions and processes data of the electronic device 400 by running or executing instructions, programs, code sets, or instruction sets stored in the memory 405, and by calling data stored in the memory 405. Optionally, the device processor 401 may be implemented using at least one hardware form of DSP, FPGA, or PLA. The device processor 401 may integrate one or more of the following: CPU, GPU, and modem. The CPU primarily handles the operating system, user interface, and applications; the GPU is responsible for rendering and drawing the content required for display; and the modem handles wireless communication. It is understood that the modem may also not be integrated into the device processor 401 and may be implemented as a separate chip.
[0114] The memory 405 may include RAM or ROM. Optionally, the memory 405 may include a non-transitory computer-readable medium. The memory 405 may be used to store instructions, programs, code, code sets, or instruction sets. The memory 405 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as touch function, sound playback function, image playback function, etc.), instructions for implementing the above-described method embodiments, etc.; the data storage area may store data involved in the above-described method embodiments, etc. Optionally, the memory 405 may also be at least one storage device located remotely from the aforementioned device processor 401. Figure 4 As shown, the memory 405, which serves as a computer storage medium, may include an operating system, a network communication module, a user interface module, and program instructions.
[0115] Specifically, the device processor 401 can call the tobacco quality-oriented control application stored in the memory 405 and perform the following operations:
[0116] Acquire various detection data of the tobacco fermentation chamber, including temperature and humidity data, ammonia concentration data, and dryness data of each tobacco stack, wherein each tobacco stack is placed in the tobacco fermentation chamber;
[0117] Based on the temperature and humidity data, the air conditioning intake parameters are determined; based on the ammonia concentration data, the working mode of the circulating fan and the purification equipment is determined; and based on the dryness data, the humidification scheme of the tobacco stack is determined.
[0118] By integrating the air conditioning intake parameters, working mode, and humidification scheme, a control scheme is obtained, and the tobacco fermentation chamber is controlled based on the control scheme.
[0119] As an optional embodiment of this specification, the acquisition of various detection data in the tobacco fermentation chamber, including temperature and humidity data, ammonia concentration data, and dryness data of each tobacco stack, includes:
[0120] Temperature and humidity data of the tobacco fermentation chamber are obtained based on temperature and humidity sensors;
[0121] Ammonia concentration data in the tobacco fermentation chamber is obtained based on an ammonia sensor.
[0122] The dryness data of each tobacco stack is obtained based on each image sensor. Each image sensor is placed directly above each tobacco stack, and the connection diagram of each image sensor corresponding to each tobacco stack is the circumscribed quadrilateral of the tobacco stack in the horizontal plane.
[0123] As an optional embodiment of this specification, the step of determining the air conditioner intake parameters based on the temperature and humidity data includes:
[0124] A simulation model of the tobacco fermentation chamber was determined based on its internal structure.
[0125] The temperature and humidity data are input into the simulation model to obtain the temperature and humidity flow field corresponding to the temperature and humidity data;
[0126] The air conditioning intake parameters corresponding to the temperature and humidity flow field are determined based on a preset air conditioning parameter database.
[0127] As an optional embodiment of this specification, the step of determining the cooperative working mode of the circulating fan and the purification equipment based on the ammonia concentration data includes:
[0128] The ammonia concentration data is compared with a preset ammonia concentration threshold to obtain a first comparison result;
[0129] When the first comparison result indicates that the ammonia concentration data exceeds the ammonia concentration threshold, the cooperative working mode of the circulating fan and the purification equipment is determined to be that the circulating fan and the purification equipment work simultaneously.
[0130] When the first comparison result is that the ammonia concentration data exceeds half of the ammonia concentration threshold but does not exceed the ammonia concentration threshold, the cooperative working mode of the circulating fan and the purification equipment is determined to be that the circulating fan is working and the purification equipment is not working.
[0131] When the first comparison result shows that the ammonia concentration data does not exceed half of the ammonia concentration threshold, the cooperative working mode of the circulating fan and the purification equipment is determined to be that the purification equipment is working and the circulating fan is not working.
[0132] As an optional embodiment of this specification, the step of determining the humidification scheme for the tobacco leaf stack based on the aforementioned dryness data includes:
[0133] Each of the aforementioned dryness data is compared with a preset dryness threshold to obtain a second comparison result;
[0134] When the second comparison result indicates that the dryness data exceeds the dryness threshold, the tobacco stack corresponding to the dryness data at this time is marked as a stack to be humidified.
[0135] All the stacks to be humidified are statistically analyzed, and the humidification scheme for the tobacco stacks is determined based on the dryness data corresponding to each stack.
[0136] As an optional embodiment of this specification, the step of determining the humidification scheme for the tobacco leaf stack based on the dryness data corresponding to each of the stacks to be humidified includes:
[0137] Collect the dryness data corresponding to each of the aforementioned stacks to be humidified;
[0138] Sort the dryness data from highest to lowest dryness to obtain the dryness order;
[0139] The dryness order is weighted based on the relative distance between each tobacco stack to determine the humidification order of each stack to be humidified, and the humidification scheme of the tobacco stack is determined based on the humidification order. The relative distance is the distance between each tobacco stack and the initial position of the steam humidifier.
[0140] As an optional embodiment of this specification, the method further includes:
[0141] Determine the type of tobacco leaves in each of the aforementioned tobacco leaf stacks;
[0142] Based on the tobacco leaf type, the spraying device sprays nutrient solution onto each of the tobacco leaf stacks. The nutrient solution includes dominant bacteria, biological enzymes, and beneficial bacteria.
[0143] This specification also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the above-described method. The computer-readable storage medium may include, but is not limited to, any type of disk, including floppy disks, optical disks, DVDs, CD-ROMs, microdrives, as well as magneto-optical disks, ROMs, RAMs, EPROMs, EEPROMs, DRAMs, VRAMs, flash memory devices, magnetic cards or optical cards, nanosystems (including molecular memory ICs), or any type of medium or device suitable for storing instructions and / or data.
[0144] It should be noted that, for the sake of simplicity, the foregoing method embodiments are all described as a series of actions. However, those skilled in the art should understand that this application is not limited to the described order of actions, as some steps may be performed in other orders or simultaneously according to this application. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are preferred embodiments, and the actions and modules involved are not necessarily essential to this application.
[0145] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions in other embodiments.
[0146] In the several embodiments provided in this application, it should be understood that the disclosed apparatus can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some service interface; the indirect coupling or communication connection between devices or units may be electrical or other forms.
[0147] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0148] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0149] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage device (CMD). Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a memory and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned memory includes various media capable of storing program code, such as USB flash drives, read-only memory (ROM), random access memory (RAM), portable hard drives, magnetic disks, or optical disks.
[0150] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be implemented by a program instructing related hardware. The program can be stored in a computer-readable storage medium, which may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, etc.
[0151] The foregoing has described specific embodiments of this specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims may be performed in a different order than that shown in the embodiments and may still achieve the desired result. Furthermore, the processes depicted in the drawings do not necessarily require the specific or sequential order shown to achieve the desired result. In some embodiments, multitasking and parallel processing are possible or may be advantageous.
Claims
1. A method for targeted regulation of tobacco quality, characterized in that, The method comprises: obtaining detection data of a tobacco fermentation room, wherein the detection data comprises temperature and humidity data, ammonia concentration data and dryness data of each tobacco pile in the tobacco fermentation room; determining air conditioner inlet parameters based on the temperature and humidity data, determining the working mode of the circulating fan and the purification equipment based on the ammonia concentration data, and determining the humidification scheme of the tobacco pile based on the dryness data; integrating the air conditioner inlet parameters, the working mode and the humidification scheme to obtain a control scheme, and controlling the tobacco fermentation room based on the control scheme; wherein the determination of the air conditioner inlet parameters based on the temperature and humidity data comprises: determining a simulation model of the tobacco fermentation room based on the internal structure of the tobacco fermentation room; inputting the temperature and humidity data into the simulation model to obtain a temperature and humidity flow field corresponding to the temperature and humidity data; determining the air conditioner inlet parameters corresponding to the temperature and humidity flow field based on a preset air conditioner parameter database; wherein the determination of the working mode of the circulating fan and the purification equipment based on the ammonia concentration data comprises: comparing the ammonia concentration data with a preset ammonia concentration threshold to obtain a first comparison result; when the first comparison result indicates that the ammonia concentration data exceeds the ammonia concentration threshold, the working mode of the circulating fan and the purification equipment is determined as simultaneous working of the circulating fan and the purification equipment; when the first comparison result indicates that the ammonia concentration data exceeds half of the ammonia concentration threshold but does not exceed the ammonia concentration threshold, the working mode of the circulating fan and the purification equipment is determined as working of the circulating fan and non-working of the purification equipment; when the first comparison result indicates that the ammonia concentration data does not exceed half of the ammonia concentration threshold, the working mode of the circulating fan and the purification equipment is determined as working of the purification equipment and non-working of the circulating fan; wherein the determination of the humidification scheme of the tobacco pile based on the dryness data comprises: comparing each dryness data with a preset dryness threshold to obtain a second comparison result; when the second comparison result indicates that the dryness data exceeds the dryness threshold, the tobacco pile corresponding to the dryness data at this time is marked as a pile to be humidified; counting all the piles to be humidified and determining the humidification scheme of the tobacco pile based on the dryness data corresponding to each pile to be humidified; wherein the determination of the humidification scheme of the tobacco pile based on the dryness data corresponding to each pile to be humidified comprises: counting the dryness data corresponding to each pile to be humidified; sorting each dryness data from high to low to obtain a dryness order; weighting the dryness order based on the relative distance of each tobacco pile to determine the humidification order of each pile to be humidified, and determining the humidification scheme of the tobacco pile based on the humidification order, wherein the relative distance is the distance of each tobacco pile from the initial position of the steam humidifier.
2. The method of claim 1, wherein, The acquisition of each detection data of the tobacco fermentation chamber, the detection data including humidity data, ammonia concentration data and dryness data of each tobacco pile in the tobacco fermentation chamber, comprising: Based on the humidity sensor, the humidity data of the tobacco fermentation chamber is acquired; Based on the ammonia sensor, the ammonia concentration data of the tobacco fermentation chamber is acquired; Based on each image sensor, the dryness data of each tobacco pile is acquired, each image sensor is placed at the four corners directly above each tobacco pile, and the connection pattern of each image sensor corresponding to each tobacco pile is the circumscribed quadrilateral of the tobacco pile in the horizontal plane.
3. The method of claim 1, wherein, The method further comprises: Determine the tobacco variety of each tobacco pile; Based on the tobacco variety, control the spraying device to spray nutrient solution to each tobacco pile.
4. A tobacco quality directional regulation device, characterized in that, The device comprises: An acquisition module for acquiring each detection data of the tobacco fermentation chamber, the detection data including humidity data, ammonia concentration data and dryness data of each tobacco pile in the tobacco fermentation chamber, each tobacco pile being placed in the tobacco fermentation chamber; A determination module for determining air conditioning inlet parameters based on the humidity data, determining the cooperation mode of the circulating fan and the purification equipment based on the ammonia concentration data, and determining the humidification scheme of the tobacco pile based on each dryness data; A regulation and control module for integrating the air conditioning inlet parameters, the cooperation mode and the humidification scheme to obtain a regulation and control scheme, and regulating and controlling the tobacco fermentation chamber based on the regulation and control scheme; The determination module is specifically used for: Determining a simulation model of the tobacco fermentation chamber based on the internal structure of the tobacco fermentation chamber; Inputting the humidity data into the simulation model to obtain a humidity flow field corresponding to the humidity data; Determining the air conditioning inlet parameters corresponding to the humidity flow field based on a preset air conditioning parameter database; The determination module is specifically further used for: Comparing the ammonia concentration data with a preset ammonia concentration threshold to obtain a first comparison result; When the first comparison result indicates that the ammonia concentration data exceeds the ammonia concentration threshold, the cooperation mode of the circulating fan and the purification equipment is determined as the circulating fan and the purification equipment working simultaneously; When the first comparison result is that the ammonia concentration data exceeds half of the ammonia concentration threshold but does not exceed the ammonia concentration threshold, the cooperation mode of the circulating fan and the purification equipment is determined as the circulating fan working and the purification equipment not working; When the first comparison result is that the ammonia concentration data does not exceed half of the ammonia concentration threshold, the cooperation mode of the circulating fan and the purification equipment is determined as the purification equipment working and the circulating fan not working; The determination module is specifically further used for: Comparing each dryness data with a preset dryness threshold to obtain each second comparison result; When the second comparison result indicates that the dryness data exceeds the dryness threshold, the tobacco pile corresponding to the dryness data at this time is marked as a to-be-humidified pile; All the to-be-humidified piles are counted, and the humidification scheme of the tobacco pile is determined based on the dryness data corresponding to each to-be-humidified pile; The determination module is specifically further used for: count the dryness data corresponding to each of the to-be-humidified stacks; sort each of the dryness data from high to low according to the dryness, to obtain a dryness order; weight the dryness order based on the relative distance of each of the tobacco stacks, to determine a humidification order of each of the to-be-humidified stacks, and determine a humidification scheme of the tobacco stacks based on the humidification order, wherein the relative distance is the distance of each of the tobacco stacks from the initial position of the steam humidifier.
5. An electronic device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, characterized in that, The processor executes the computer program to implement the steps of the method of any one of claims 1-3. 6.A computer readable storage medium having stored thereon a computer program, the computer readable storage medium having stored therein instructions which, when executed on a computer or processor, cause the computer or processor to perform the steps of the method of any one of claims 1-3.
Citation Information
Patent Citations
Constant-temperature and constant-humidity equipment for fermentation chamber
CN112344468A
Identification processing method and device for stacking fermentation of cigar tobacco leaves
CN117243403A