A Method, Device, Electronic Device and Medium for Monitoring and Correcting the State of a Moisture Meter

By monitoring and correcting the moisture meter status, the compatibility problems and crash/cluster loss between the moisture meter and the programmable logic controller in the silk workshop of the cigarette factory are solved, ensuring the stability of product quality and the normal operation of the production process.

CN117740725BActive Publication Date: 2025-06-17JILIN TOBACCO IND CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202311621935.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-11-30
Publication Date
2025-06-17
Estimated Expiration
2043-11-30

AI Technical Summary

Technical Problem

There is a problem of poor data transmission between the moisture meter used in the production line of the cigarette factory's silk workshop and the programmable logic controller of SIEMENS, resulting in incompatibility of cigarette card characters, errors in human-machine interface, interrupted data transmission, and other phenomena. The moisture meter is prone to crash or dropping the network, affecting product quality.

Method used

Provide a moisture meter status monitoring and correction method, which ensures compatibility and normal operation of the moisture meter with programmable logic controller by triggering information transmission operations, monitoring data information displayed by the moisture meter, judging the moisture meter status and triggering error correction procedures or alarm devices.

Benefits of technology

It effectively avoids the problem of incompatibility between moisture meter and programmable logic controller, and promptly judges and deals with the crash or network status of moisture meter, prevents data errors from affecting product quality, and reduces economic and reputation losses.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117740725B_ABST
    Figure CN117740725B_ABST
Patent Text Reader

Abstract

The present application discloses a moisture meter status monitoring and correction method, device, electronic device and medium, which are applied to the technical field of moisture meters. This method is applied to a programmable logic controller, and information transmission for a target cigarette brand name is sent to the moisture meter according to a first information transmission format, so that the moisture meter can display the received information; monitor whether the displayed data information contains a cigarette brand name that is consistent with the target cigarette brand name; if it contains, judge the status of the moisture meter according to the data monitored by the moisture meter during the tobacco production process; if it does not contain, trigger an error correction program, so as to resend the information transmission for the target cigarette brand name to the moisture meter according to a second information transmission format. The present application sends the target cigarette brand name to the moisture meter through different information transmission formats, avoiding the problem of incompatibility between the moisture meter and the programmable logic controller. At the same time, the present application judges the status of the moisture meter according to the data monitored by the moisture meter, reducing losses.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of moisture meters, and in particular, to a method, device, electronic device and medium for monitoring and correcting the state of a moisture meter. Background Art

[0002] As one of the important product indicators in the tobacco industrial wire-making line, the accuracy and stability of the tobacco moisture index occupy a very large part in ensuring product quality. The TM710e near-infrared moisture meters of NDC Company are used in each process section of the production line in the cigarette factory's silk-making workshop. The operating stability and detection accuracy of this equipment directly affect the quality of cut tobacco products and the judgment of product qualification rate by process personnel.

[0003] In recent years, the moisture meters used in each process section of the cigarette factory's silk-making workshop production line are compatible with NDC products of SIEMENS. However, there are weaknesses in data transmission with SIEMENS' Programmable Logic Controller (PLC). Therefore, in actual production, there are phenomena such as incompatible cigarette brand characters, incorrect display of cigarette brands on the Human-Machine Interface (HMI) and the operator's workbench (Official Work System, OWS), and data transmission interruption. At the same time, the moisture meter works under the control of a chip and is a sub-station in the Ethernet. In the state of working for a long time, it is very easy to have phenomena such as crashing or losing network connection. The data in the crashing or losing network connection state seriously affects the quality of cut tobacco products, and thus causes serious economic losses and reputation losses.

[0004] In view of the above technology, it is an urgent problem for those skilled in the art to seek a method for monitoring and correcting the state of a moisture meter. Summary of the Invention

[0005] The purpose of the present application is to provide a method, device, electronic device and medium for monitoring and correcting the state of a moisture meter.

[0006] To solve the above technical problems, the present application provides a method for monitoring and correcting the state of a moisture meter, which is applied to a programmable logic controller and includes:

[0007] Trigger an information transmission operation for a target cigarette brand name to be sent to the moisture meter according to the first information transmission format, so that the moisture meter displays the information received during the information transmission process;

[0008] Monitor whether the data information displayed by the current moisture meter contains a cigarette brand name that is consistent with the target cigarette brand name;

[0009] If the cigarette brand name included in the data information displayed by the current moisture meter is consistent with the target cigarette brand name, obtain the data monitored by the moisture meter during the tobacco production process, and determine the status of the moisture meter based on the monitored data;

[0010] If the cigarette brand name included in the data information displayed by the current moisture meter is inconsistent with the target cigarette brand name, trigger an error correction program to trigger an information transmission operation of resending the information for the target cigarette brand name to the moisture meter according to the second information transmission format.

[0011] Preferably, it further includes:

[0012] If the cigarette brand name included in the data information displayed by the current moisture meter is inconsistent with the target cigarette brand name, trigger an alarm device.

[0013] Preferably, determining the status of the moisture meter based on the monitored data includes:

[0014] If the data monitored by the moisture meter during the tobacco production process remains unchanged within a preset time, it is determined that the moisture meter is in a dead state, and an alarm device is triggered to remind to adjust the current status of the moisture meter to the normal state.

[0015] Preferably, determining the status of the moisture meter based on the monitored data includes:

[0016] If the data monitored by the moisture meter during the tobacco production process undergoes a mutation, it is determined that the moisture meter is in a network drop state, and an alarm device is triggered to remind to adjust the current status of the moisture meter to the normal state.

[0017] Preferably, it further includes:

[0018] When the moisture meter is in a dead state or a network drop state, the data monitored during the tobacco production process before the moisture meter is in a dead state or a network drop state is used as the data required for normal production.

[0019] Preferably, it further includes:

[0020] After the status of the moisture meter is adjusted to the normal state, cancel the alarm issued by the alarm device.

[0021] Preferably, it further includes:

[0022] After the moisture meter is adjusted to the normal state, use the data monitored by the moisture meter in the normal state during the tobacco production process as the data required for normal production.

[0023] To solve the above problems, the present application also provides a moisture meter status monitoring and correction device, which is applied to a programmable logic controller and includes:

[0024] A first sending module, configured to trigger an information transmission operation for sending information about a target cigarette brand name to a moisture meter according to a first information transmission format, so that the moisture meter displays the information received during the information transmission process;

[0025] A monitoring module, configured to monitor whether the data information displayed by the current moisture meter contains a cigarette brand name that is consistent with the target cigarette brand name;

[0026] A judgment module, configured to, if the cigarette brand name contained in the data information displayed by the current moisture meter is consistent with the target cigarette brand name, obtain the data monitored by the moisture meter during the tobacco production process, and judge the state of the moisture meter according to the monitored data;

[0027] A second sending module, configured to, if the cigarette brand name contained in the data information displayed by the current moisture meter is inconsistent with the target cigarette brand name, trigger an error correction program, so as to trigger an information transmission operation for re-sending information about the target cigarette brand name to the moisture meter according to a second information transmission format.

[0028] To solve the above problems, the present application further provides an electronic device, including a memory for storing a computer program;

[0029] A processor, configured to implement the steps of the above moisture meter state monitoring and correction method when executing the computer program.

[0030] To solve the above problems, the present application further provides a computer-readable storage medium, on which a computer program is stored, and the computer program implements the steps of the above moisture meter state monitoring and correction method when executed by a processor.

[0031] A method for monitoring and correcting the state of a moisture meter provided by this application is applied to a programmable logic controller and includes: triggering an information transmission operation for sending information about the target cigarette brand name to the moisture meter according to the first information transmission format, so that the moisture meter can display the information received during the information transmission process; monitoring whether the cigarette brand name contained in the data information currently displayed by the moisture meter is consistent with the target cigarette brand name; if the cigarette brand name contained in the data information currently displayed by the moisture meter is consistent with the target cigarette brand name, obtaining the data monitored by the moisture meter during the tobacco production process and judging the state of the moisture meter according to the monitored data; if the cigarette brand name contained in the data information currently displayed by the moisture meter is inconsistent with the target cigarette brand name, triggering an error correction program, so as to trigger an information transmission operation for re-sending information about the target cigarette brand name to the moisture meter according to the second information transmission format. This application determines whether it is necessary to re-trigger the information transmission operation for sending the target cigarette brand name to the moisture meter according to different information transmission formats by judging whether the cigarette brand name displayed by the moisture meter is consistent with the target cigarette brand name, avoiding the problem of incompatibility between the moisture meter and the programmable logic controller. At the same time, this application timely judges the state of the moisture meter according to the monitored data obtained by the moisture meter, avoiding unnecessary losses. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] In order to more clearly illustrate the embodiments of this application, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.

[0033] Figure 1 It is a flowchart of a method for monitoring and correcting the state of a moisture meter provided by an embodiment of this application;

[0034] Figure 2 It is a program for judging whether there is an incompatibility problem provided by an embodiment of this application;

[0035] Figure 3 It is a program for judging the state of the moisture meter provided by an embodiment of this application;

[0036] Figure 4 It is an error correction program provided by an embodiment of this application;

[0037] Figure 5 It is a control program for shielding the influence of the moisture meter crashing or losing network on the actual moisture of the product provided by an embodiment of this application;

[0038] Figure 6 It is a specific flowchart of a method for monitoring and correcting the state of a moisture meter provided by an embodiment of this application;

[0039] Figure 7Module diagram of a moisture meter status monitoring and correction device provided in another embodiment of the present application;

[0040] Figure 8 Structural diagram of an electronic device provided in another embodiment of the present application. Detailed implementation manners

[0041] Next, the technical solutions in the embodiments of the present application will be clearly and completely described with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts belong to the protection scope of the present application.

[0042] The core of the present application is to provide a method, device, electronic device and medium for moisture meter status monitoring and correction.

[0043] In order to enable those skilled in the art to better understand the solution of the present application, the present application will be further described in detail below with reference to the accompanying drawings and specific implementation manners.

[0044] Figure 1 Flowchart of a method for moisture meter status monitoring and correction provided in an embodiment of the present application. As shown in the figure, this method is applied to a programmable logic controller and includes the following processes:

[0045] S10: Trigger an information transmission operation for sending information about the target cigarette brand name to the moisture meter according to the first information transmission format, so that the moisture meter can display the information received during the information transmission process.

[0046] In a specific embodiment, the moisture meter is the NDC brand TM710e series infrared moisture meter. This device is widely used in the production lines of tobacco processing enterprises and is usually used for on-line product moisture analysis. At the same time, it can also measure nicotine and sugar in tobacco. This device works on the principle that different product components absorb near-infrared light (NIR) of specific wavelengths. The device probe emits near-infrared light of a certain wavelength, and then accurately calculates an output that is exactly proportional to the content of the measured component in the product from the amount of light reflected from the product. Finally, it is displayed on the human-machine interaction interface after data processing. A PLC is a digital operation electronic system specifically designed for application in an industrial environment. It uses a programmable memory to store instructions for performing operations such as logical operations, sequential control, timing, counting, and arithmetic operations inside it, and controls various types of mechanical equipment or production processes through digital or analog inputs and outputs.

[0047] Among them, each moisture meter corresponds to an IP address, and the moisture meter is compatible with SIEMENS' NDC products. There is an incomplete compatibility problem between the moisture meter and SIEMENS' PLC. When the PLC receives the instruction sent by the management system, it triggers an information transmission operation of sending information about the target cigarette brand name to the moisture meter according to the first information transmission format. Due to the incompatibility problem between the PLC and the moisture meter, when the moisture meter displays the information received during the information transmission process, the displayed content may or may not be consistent with the target cigarette brand name.

[0048] S11: Monitor whether the cigarette brand name contained in the data information currently displayed by the moisture meter is consistent with the target cigarette brand name.

[0049] In a specific embodiment, the PLC monitors whether the cigarette brand name contained in the data information currently displayed by the moisture meter is consistent with the target cigarette brand name through the Figure 2 program shown.

[0050] It should be noted that Figure 2 the displayed program is only one implementable way, and the content of the program can be adjusted according to the needs of users.

[0051] S12: If the cigarette brand name contained in the data information currently displayed by the moisture meter is consistent with the target cigarette brand name, obtain the data monitored by the moisture meter during the tobacco production process, and judge the state of the moisture meter according to the monitored data.

[0052] In a specific embodiment, if the cigarette brand name contained in the data information currently displayed by the moisture meter is consistent with the target cigarette brand name, obtain the data monitored by the moisture meter during the tobacco production process. The PLC monitors the state of the moisture meter through the Figure 3 program shown and according to the monitored data.

[0053] Example: In an actual application scenario, the moisture meter refreshes the monitored data every 0.14 ms. The PLC monitors the moisture meter data through the Figure 3 program shown so that users can timely understand the state of the moisture meter.

[0054] It should be noted that Figure 3 the displayed program is only one implementable way, not limited to only this program can be implemented, and can be set according to the needs of users.

[0055] S13: If the cigarette brand name contained in the data information currently displayed by the moisture meter is inconsistent with the target cigarette brand name, trigger an error correction program to trigger an information transmission operation of resending information about the target cigarette brand name to the moisture meter according to the second information transmission format.

[0056] In a specific embodiment, there are incomplete or incorrect displays of the cigarette brand name on the moisture meter HMI. There are two reasons for this phenomenon. ① The moisture meter and the PLC are not fully compatible in data format. ② The PLC allocates insufficient communication data space for the cigarette brand of the moisture meter. Regardless of which reason, when the PLC sends the target cigarette brand name, the data allocation space and the sending format can be adjusted to avoid the phenomenon of incomplete or incorrect display on the moisture meter. Therefore, when the data information displayed by the current moisture meter does not contain a cigarette brand name that is consistent with the target cigarette brand name, it triggers Figure 4 the error correction program shown, so as to trigger an information transmission operation for re-sending the target cigarette brand name to the moisture meter according to the second information transmission format, that is, re-adjusting the data allocation space and the sending format to meet the format requirements of the moisture meter, so that the data information displayed by the moisture meter contains a cigarette brand name that is consistent with the target cigarette brand name.

[0057] It should be noted that Figure 4 the displayed program is only one implementable method, but it is not limited to only this implementation method and can be set according to the needs of users.

[0058] A method for monitoring and correcting the state of a moisture meter provided by the present application is applied to a programmable logic controller and includes: triggering an information transmission operation for sending the target cigarette brand name to the moisture meter according to the first information transmission format, so that the moisture meter displays the information received during the information transmission process; monitoring whether the data information displayed by the current moisture meter contains a cigarette brand name that is consistent with the target cigarette brand name; if the cigarette brand name contained in the data information displayed by the current moisture meter is consistent with the target cigarette brand name, obtaining the data monitored by the moisture meter during the tobacco production process, and judging the state of the moisture meter according to the monitored data; if the cigarette brand name contained in the data information displayed by the current moisture meter is inconsistent with the target cigarette brand name, triggering an error correction program, so as to trigger an information transmission operation for re-sending the target cigarette brand name to the moisture meter according to the second information transmission format. The present application judges whether it is necessary to re-trigger the information operation of sending the target cigarette brand name to the moisture meter according to different information transmission formats by whether the cigarette brand name displayed by the moisture meter is consistent with the target cigarette brand name, avoiding the problem of incompatibility between the moisture meter and the programmable logic controller. At the same time, the present application timely judges the state of the moisture meter according to the obtained monitored data of the moisture meter, avoiding unnecessary losses.

[0059] Based on the above embodiments, as a preferred embodiment, it further includes:

[0060] If the cigarette brand name contained in the data information displayed by the current moisture meter is inconsistent with the target cigarette brand name, trigger an alarm device.

[0061] In a specific embodiment, if the data information displayed by the current moisture meter does not include a cigarette brand name that is consistent with the target cigarette brand name, in addition to triggering an error correction program to trigger an information transmission operation for re-sending the information for the target cigarette brand name to the moisture meter according to the second information transmission format, as a preference, it further includes triggering an alarm device to prompt the user that there is an incompatibility problem between the current PLC and the moisture meter.

[0062] Among them, the alarm device can be an optoelectronic display or a buzzer, etc. This application is not limited, and it can be set by itself according to the needs of the user.

[0063] Based on the above embodiment, as a preferred embodiment, judging the state of the moisture meter according to the monitored data includes:

[0064] If the data monitored by the moisture meter during the tobacco production process remains unchanged within a preset time, it is determined that the moisture meter is in a dead state, and an alarm device is triggered to remind the user to adjust the current state of the moisture meter to a normal state;

[0065] If the data monitored by the moisture meter during the tobacco production process undergoes a sudden change, it is determined that the moisture meter is in a network-drop state, and an alarm device is triggered to remind the user to adjust the current state of the moisture meter to a normal state.

[0066] In a specific embodiment, the data monitored by the moisture meter is updated every 0.14 ms, and the change of the monitored data is slow. When the data monitored by the moisture meter during the tobacco production process remains unchanged within a preset time, that is to say, the data monitored by the moisture meter remains unchanged within a certain time, so it can be determined that the current state of the moisture meter is a dead state. At this time, an alarm device is triggered to remind the user to adjust the current moisture meter from the dead state to a normal state. If the data monitored by the moisture meter during the tobacco production process undergoes a sudden change, that is, the data monitored by the moisture meter undergoes a sudden change at a certain moment, so it can be determined that the current state of the moisture meter is a network-drop state. At this time, an alarm device is also triggered to remind the user to adjust the current moisture meter from the network-drop state to a normal state.

[0067] Among them, for example: when the data monitored by the moisture meter during the tobacco production process does not change within 10 s, it is determined that the moisture meter is in a dead state; when the data monitored by the moisture meter during the tobacco production process suddenly becomes zero at a certain moment, it is determined that the moisture meter is in a network-drop state.

[0068] Among them, the alarm device can be an optoelectronic display or a buzzer, etc. This application is not limited, and it can be set by itself according to the needs of the user.

[0069] It should be noted that the embodiments of this application provide two states of the moisture meter, but it is not limited to only these two, and it can be set by itself according to the needs of the user.

[0070] In the embodiment of the present application, the state of the moisture meter is judged in time according to the data monitored by the moisture meter, avoiding tobacco losses caused by problems with the state of the moisture meter during the tobacco production process.

[0071] Based on the above embodiment, as a preferred embodiment, it further includes:

[0072] When the moisture meter is in a dead state or a network-down state, the data monitored during the tobacco production process before the moisture meter enters the dead state or network-down state is used as the data required for normal production.

[0073] After the state of the moisture meter is adjusted to the normal state, the alarm issued by the alarm device is eliminated, and the data monitored during the tobacco production process when the moisture meter is in the normal state and received is used as the data required for normal production.

[0074] In a specific embodiment, when the moisture meter is in a dead state or a network-down state, that is to say, during this period, the data monitored by the moisture meter is incorrect. In the tobacco production, the principle of closed-loop control of moisture is usually adopted: in a closed-loop PID control system, the system collects the moisture of tobacco before processing and the moisture of tobacco after processing in real time, and through data processing and system operation, the water addition amount, hot air temperature, etc. during tobacco processing are controlled in a closed loop, so as to realize the fluctuation of the moisture of tobacco after processing within the range of the process index limit value. Any mutation of any data in this closed-loop control system will cause disturbance to the water addition amount during the processing. Due to the common defects of the PID proportional-integral-derivative control system, the influence of this disturbance on the system stability will last for several minutes, or even more than 10 minutes, resulting in a large deviation between the moisture of tobacco after processing and the set CPK value, affecting the normal moisture value of the product. That is to say, when the data monitored by the moisture meter is inaccurate, it has a great impact on tobacco production. Therefore, at this time, the data monitored during the tobacco production process immediately before the moisture meter enters the dead state or network-down state is used as the data required for normal production; after the state of the moisture meter is adjusted to the normal state, the alarm issued by the alarm device is eliminated, and the data monitored during the tobacco production process when the moisture meter is in the normal state and received is used as the data required for normal production. Among them, the program for realizing the functions of the embodiments of the present application is as Figure 5 shown.

[0075] In summary of the above embodiment content, Figure 6 The specific flowchart of a method for monitoring and correcting the state of a moisture meter provided by the embodiment of the present application is as shown in the figure, including the following steps:

[0076] S20: Production starts.

[0077] S21: The cigarette brand is issued.

[0078] S22: Determine whether the cigarette brand has been successfully issued.

[0079] S23: If so, start production.

[0080] S24: If not, generate an alarm.

[0081] S25: Fault handling.

[0082] S26: In production.

[0083] S27: Determine whether the moisture meter has crashed / lost network connection.

[0084] S28: If so, generate an alarm.

[0085] S29: Fault handling.

[0086] S30: Production ended.

[0087] Among them, step S21: Issuing the cigarette brand is the information transmission operation of sending the information for the target cigarette brand name to the moisture meter according to the first information transmission format and the information transmission operation of re - sending the information for the target cigarette brand name to the moisture meter according to the second information transmission format in the above text; step S22: Determining whether the cigarette brand has been successfully issued is the step of monitoring whether the data information displayed by the current moisture meter contains the cigarette brand name that is consistent with the target cigarette brand name; step S24: Generating an alarm and S25: Fault handling are, in the above text, when it is monitored that the data information displayed by the current moisture meter does not contain the cigarette brand name that is consistent with the target cigarette brand name, alarm and trigger the error - correction program; step S27: Determining whether the moisture meter has crashed / lost network connection is, in the above text, judging the state of the moisture meter according to the monitored data; step S28: Generating an alarm and step S29: Fault handling are, in the above text, when the moisture meter is in a crashed or lost - network - connection state, trigger the alarm device and remind to adjust the moisture meter to the normal state.

[0088] A method for monitoring and correcting the state of a moisture meter provided by the present application is applied to a programmable logic controller and includes: triggering an information transmission operation for sending information about the target cigarette brand name to the moisture meter according to the first information transmission format, so that the moisture meter can display the information received during the information transmission process; monitoring whether the data information displayed by the current moisture meter contains a cigarette brand name that is consistent with the target cigarette brand name; if the cigarette brand name contained in the data information displayed by the current moisture meter is consistent with the target cigarette brand name, obtaining the data monitored by the moisture meter during the tobacco production process and judging the state of the moisture meter according to the monitored data; if the cigarette brand name contained in the data information displayed by the current moisture meter is inconsistent with the target cigarette brand name, triggering an error correction program, so as to trigger an information transmission operation for sending information about the target cigarette brand name to the moisture meter again according to the second information transmission format. The present application judges whether it is necessary to re-trigger the information operation of sending the target cigarette brand name to the moisture meter according to different information transmission formats by whether the cigarette brand name displayed by the moisture meter is consistent with the target cigarette brand name, avoiding the problem of incompatibility between the moisture meter and the programmable logic controller. At the same time, the present application timely judges the state of the moisture meter by using the data monitored by the moisture meter and various judgment conditions, avoiding unnecessary losses, and the cut-in and cut-out of the data monitored by the moisture meter in the PID control program provide relatively accurate data for the PID control.

[0089] In the above embodiment, a method for monitoring and correcting the state of a moisture meter is described in detail. The present application also provides an embodiment corresponding to a device for monitoring and correcting the state of a moisture meter. It should be noted that the present application describes the embodiment of the device part from two perspectives, one is from the perspective of functional modules, and the other is from the perspective of hardware.

[0090] Figure 7 A module diagram of a device for monitoring and correcting the state of a moisture meter provided by another embodiment of the present application is applied to a programmable logic controller. The device includes:

[0091] A first sending module 11, configured to trigger an information transmission operation for sending information about the target cigarette brand name to the moisture meter according to the first information transmission format, so that the moisture meter can display the information received during the information transmission process;

[0092] A monitoring module 12, configured to monitor whether the data information displayed by the current moisture meter contains a cigarette brand name that is consistent with the target cigarette brand name;

[0093] A judgment module 13, configured to, if the cigarette brand name contained in the data information displayed by the current moisture meter is consistent with the target cigarette brand name, obtain the data monitored by the moisture meter during the tobacco production process and judge the state of the moisture meter according to the monitored data;

[0094] A second sending module 14, configured to trigger an error correction program if the cigarette brand name included in the data information displayed by the current moisture meter is inconsistent with the target cigarette brand name, so as to trigger an information transmission operation of re-sending information for the target cigarette brand name to the moisture meter according to the second information transmission format.

[0095] Since the embodiments of the device part correspond to the embodiments of the method part, please refer to the description of the embodiments of the method part for the embodiments of the device part, and will not be elaborated here.

[0096] Figure 8 The structural diagram of the electronic device provided by another embodiment of the present application is as Figure 8 shown. The electronic device includes: a memory 20 for storing a computer program;

[0097] A processor 21, configured to implement the steps of a method for monitoring and correcting the state of a moisture meter as mentioned in the above embodiments when executing the computer program.

[0098] The electronic device provided in this embodiment may include, but is not limited to, a smart phone, a tablet computer, a laptop computer, or a desktop computer, etc.

[0099] Among them, the processor 21 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 21 may be implemented in at least one hardware form of a digital signal processor (DSP), a field-programmable gate array (FPGA), or a programmable logic array (PLA). The processor 21 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the wake state, also known as a central processing unit (CPU); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 21 may be integrated with a graphics processing unit (GPU), and the GPU is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 21 may further include an artificial intelligence (AI) processor, and the AI processor is used to process computational operations related to machine learning.

[0100] The memory 20 may include one or more computer-readable storage media, which may be non-transitory. The memory 20 may also include high-speed random access memory and non-volatile memory, such as one or more magnetic disk storage devices and flash storage devices. In this embodiment, the memory 20 is at least used to store the following computer program 201. After the computer program is loaded and executed by the processor 21, the relevant steps of a moisture meter status monitoring and correction method disclosed in any of the foregoing embodiments can be implemented. In addition, the resources stored in the memory 20 may also include an operating system 202, data 203, etc., and the storage method may be temporary storage or permanent storage. Among them, the operating system 202 may include Windows, Unix, Linux, etc.

[0101] In some embodiments, the electronic device may further include a display screen 22, an input / output interface 23, a communication interface 24, a power supply 25, and a communication bus 26.

[0102] Those skilled in the art can understand that Figure 8 the structure shown in does not constitute a limitation on the electronic device, and it may include more or fewer components than those shown in the figure.

[0103] The electronic device provided by the embodiment of the present application includes a memory and a processor. When the processor executes the program stored in the memory, the following method can be implemented: a moisture meter status monitoring and correction method.

[0104] Finally, the present application also provides an embodiment corresponding to a computer-readable storage medium. A computer program is stored on the computer-readable storage medium, and when the computer program is executed by the processor, the steps recorded in the foregoing method embodiments are implemented.

[0105] It can be understood that if the method in the foregoing embodiments is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present 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. The computer software product is stored in a storage medium and executes all or part of the steps of the methods described in the various embodiments of the present application. The foregoing storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical discs that can store program codes.

[0106] The above has introduced in detail a moisture meter status monitoring and correction method, device, electronic device, and medium provided by the present application. Each embodiment in the specification is described in a progressive manner, and the key point of each embodiment is the difference from other embodiments. For the same and similar parts among the embodiments, reference can be made to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the description of the method part. It should be noted that for those of ordinary skill in the art in this technical field, without departing from the principle of the present application, several improvements and modifications can be made to the present application, and these improvements and modifications also fall within the protection scope of the claims of the present application.

[0107] It should also be noted that in this specification, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the term "comprising", "including" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements but also includes other elements not expressly listed, or further includes elements inherent to such process, method, article or device. Without further limitation, an element defined by the statement "including one..." does not exclude the existence of another identical element in the process, method, article or device including the said element.

Claims

1. A method for monitoring and correcting the state of a moisture meter, characterized in that, Applied to a programmable logic controller, including: Trigger an information transmission operation for sending information about the target cigarette brand name to the moisture meter according to the first information transmission format, so that the moisture meter displays the information received during the information transmission process; Monitor whether the cigarette brand name contained in the currently displayed data information of the moisture meter is consistent with the target cigarette brand name; If the cigarette brand name contained in the currently displayed data information of the moisture meter is consistent with the target cigarette brand name, obtain the data monitored by the moisture meter during the tobacco production process, and judge the state of the moisture meter according to the monitored data; If the cigarette brand name contained in the currently displayed data information of the moisture meter is inconsistent with the target cigarette brand name, trigger an error correction program and trigger an alarm device, so as to trigger an information transmission operation for re-sending the information about the target cigarette brand name to the moisture meter according to the second information transmission format, and the data allocation space and transmission format between the first information transmission format and the second information transmission format are different; Among them, judging the state of the moisture meter according to the monitored data includes: If the data monitored by the moisture meter during the tobacco production process remains unchanged within a preset time, it is determined that the moisture meter is in a dead state, and the alarm device is triggered to remind to adjust the current state of the moisture meter to the normal state; If the data monitored by the moisture meter during the tobacco production process undergoes a sudden change, it is determined that the moisture meter is in a network drop state, and the alarm device is triggered to remind to adjust the current state of the moisture meter to the normal state, and after the state of the moisture meter is adjusted to the normal state, the alarm issued by the alarm device is eliminated; When the moisture meter is in a dead state or a network drop state, the data monitored during the tobacco production process before the moisture meter is in a dead state or a network drop state is used as the data required for normal production; After the moisture meter is adjusted to the normal state, the data monitored by the moisture meter in the normal state during the tobacco production process is used as the data required for normal production.

2. A device for monitoring and correcting the state of a moisture meter, characterized in that, Applied to a programmable logic controller, including: A first sending module, configured to trigger an information transmission operation for sending information about the target cigarette brand name to the moisture meter according to the first information transmission format, so that the moisture meter displays the information received during the information transmission process; A monitoring module, configured to monitor whether the cigarette brand name contained in the currently displayed data information of the moisture meter is consistent with the target cigarette brand name; A judgment module, which is configured to, if the cigarette brand name included in the data information currently displayed by the moisture meter is consistent with the target cigarette brand name, obtain the data monitored by the moisture meter during the tobacco production process, and judge the state of the moisture meter according to the monitored data. If the data monitored by the moisture meter during the tobacco production process remains unchanged within a preset time, it is determined that the moisture meter is in a dead state, and an alarm device is triggered to remind the current state of the moisture meter to be adjusted to the normal state; if the data monitored by the moisture meter during the tobacco production process undergoes a mutation, it is determined that the moisture meter is in a network-drop state, and the alarm device is triggered to remind the current state of the moisture meter to be adjusted to the normal state, and after the state of the moisture meter is adjusted to the normal state, the alarm issued by the alarm device is eliminated; when the moisture meter is in a dead state or a network-drop state, the data monitored during the tobacco production process before the moisture meter is in a dead state or a network-drop state is used as the data required for normal production; after the moisture meter is adjusted to the normal state, the data monitored by the moisture meter in the normal state received during the tobacco production process is used as the data required for normal production; A second sending module, which is configured to, if the cigarette brand name included in the data information currently displayed by the moisture meter is inconsistent with the target cigarette brand name, trigger an error correction program and the alarm device, so as to trigger an information transmission operation of re-sending the information for the target cigarette brand name to the moisture meter according to the second information transmission format, and the data allocation space and the sending format between the first information transmission format and the second information transmission format are different.

3. An electronic device, characterized in that, It includes a memory for storing computer programs; A processor, which is configured to implement the steps of the moisture meter state monitoring and correction method as described in claim 1 when executing the computer program.

4. A computer-readable storage medium, characterized in that, A computer program is stored on the computer-readable storage medium, and when the computer program is executed by the processor, the steps of the moisture meter state monitoring and correction method as described in claim 1 are implemented.

Citation Information

Patent Citations

  • Infrared moisture meter channel central control network issuing method and system

    CN112255961A