Method for calculating residual weight of storage cabinet
By using CPU, ET200SP substation and bottom-band counting encoder in the storage cabinet, the problem of inaccurate display of tobacco in the storage cabinet is solved, efficient and accurate calculation of residual weight of the storage cabinet is achieved, and production risks are reduced. Operator labor intensity.
Patent Information
- Application Number
- CN202411249440.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-06
- Publication Date
- 2024-11-29
AI Technical Summary
In the prior art, the weight of tobacco wire in the storage cabinet is inaccurate, especially after the encoder is powered off and restarted, and the weight of the tobacco wire is irregularly changed when it comes out, resulting in the inability to accurately judge the true weight of the remaining materials, which increases the production process Risks and operator inspection frequency.
The system consisting of CPU, ET200SP substation and bottom belt counting encoder is adopted. By installing absolute or incremental encoder on the bottom belt of the cabinet, the encoder value is collected using the PROFIBUS-DP bus communication and high-speed counter module to calculate the encoder value. The cabinet discharge volume and residual weight ensure the accuracy and real-time calculation.
It improves the accuracy and real-time calculation of the residual weight of the storage cabinet, reduces the labor intensity of the operator, ensures the stability of downstream cigarette process production, and achieves high efficiency of 40 calculations per second.
Smart Images

Figure CN119043474A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of industrial automation, in particular to a method for calculating the residual weight of storage cabinets used in the tobacco industry. Background Art
[0002] In the cabinet equipment of the silk-making workshop, encoders are needed to realize real-time monitoring of the remaining weight of the materials in the cabinet. Most of the equipment in the workshop uses absolute encoders, or relies on photoelectric sensor counting to calculate the remaining weight. However, some cabinets have incremental rotary encoders at the bottom, which brings some problems in use: when the encoder is powered off and restarted, the weight of the tobacco in the cabinet is not accurately displayed, and the weight of the tobacco will show irregular changes when it is out of the cabinet, making it impossible to accurately judge the true weight of the remaining materials in the cabinet. This greatly increases the risk in the production process, has a greater risk of material breakage, and increases the frequency of operators checking the remaining materials in the cabinet. Summary of the invention
[0003] The present invention overcomes the shortcomings of the prior art and provides a method for calculating the remaining weight of a storage cabinet, so as to accurately calculate the remaining weight of materials in the storage cabinet, thereby effectively ensuring the stability of downstream cigarette production process and reducing the labor intensity of operators.
[0004] The present invention is achieved through the following technical solutions:
[0005] The method for calculating the remaining weight of a storage cabinet of the present invention is characterized in that it is applied to a system composed of a CPU, an ET200SP substation, and a bottom belt counting encoder, wherein the bottom belt counting encoder is an absolute value encoder or an incremental encoder, and is performed according to the following steps:
[0006] Step 1: Install an absolute encoder or incremental encoder on the main shaft with a driven wheel at the bottom of the cabinet;
[0007] Step 2: The counter value when the cabinet bottom belt runs from the end of the cabinet to the discharge end is taken as the total bottom belt count value IN all ;
[0008] Step 3: If it is an absolute encoder, the CPU obtains the counter value of the absolute encoder during the current operation through PROFIBUS-DP bus communication and uses it as the current count value IN of the cabinet bottom belt operation collected for the i-th time. i If it is an incremental encoder, the CPU collects the counter value of the incremental encoder during the current operation through the high-speed counter module of the ET200SP slave station and uses it as the current count value IN of the cabinet bottom belt operation collected for the i-th time i ;
[0009] Step 4: Calculate the storage cabinet discharge volume G collected for the i-th timei,out =(IN i -IN i-1 ) / IN all ×G all ; Among them, IN i-1 G represents the count value of the bottom belt operation of the storage cabinet collected for the i-1th time; all Indicates the total accumulated amount of cabinet materials obtained by the electronic belt scale during feeding;
[0010] Step 5: Calculate the remaining weight G of the storage cabinet collected for the i-th time i =G i-1 -G i,out Among them, G i-1 Indicates the remaining weight of the material in the storage cabinet collected for the i-1th time;
[0011] Step 6: If G i =0, it means that the cabinet discharge is completed, otherwise, after assigning i+1 to i, return to step 3 and execute sequentially.
[0012] The present invention provides an electronic device, comprising a memory and a processor, wherein the memory is used to store a program that supports the processor to execute the method for calculating the remaining weight of the cabinet, and the processor is configured to execute the program stored in the memory.
[0013] The present invention provides a computer-readable storage medium, on which a computer program is stored, characterized in that the computer program executes the steps of the method for calculating the remaining weight of a storage cabinet when the computer program is run by a processor.
[0014] Compared with the prior art, the present invention has the following beneficial effects:
[0015] 1. Compared with the traditional method of using inductive proximity switch counting to calculate the remaining weight of the cabinet, the present invention uses an encoder to calculate the remaining weight of the cabinet, which greatly improves the accuracy and real-time performance of the calculation and makes the bottom belt counting collection efficiency higher;
[0016] 2. The method for calculating the remaining weight of the cabinet proposed by the present invention can be applied to both an absolute encoder and an incremental encoder, and the collection and calculation speed is fast, and 40 calculations can be made per second, thereby ensuring the real-time and reliability of the remaining weight of the cabinet. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 It is the running speed detection diagram of the bottom belt of the storage cabinet;
[0018] Figure 2 This is the structure diagram of the absolute encoder bottom belt counting system;
[0019] Figure 3This is the structure diagram of the incremental encoder bottom belt counting system;
[0020] Figure 4 It is a block diagram of the calculation method. DETAILED DESCRIPTION
[0021] In this embodiment, a method for calculating the remaining weight of a storage cabinet is determined by long-term experimental measurements, and it is clarified that there is a certain positive correlation between the rate of the bottom belt of the storage cabinet and the total weight stored in the storage cabinet, so that according to the process flow regulations, the corresponding remaining weight of the storage cabinet can be calculated, and the bottom belt counting encoder is used to achieve accurate calculation of the remaining weight of the storage cabinet. Specifically, the method for calculating the remaining weight of the storage cabinet is applied to a system composed of a CPU, an ET200SP substation, and a bottom belt counting encoder. The storage cabinet drives the driving wheel through a motor and drives the driven wheel to rotate through the discharge bottom belt, so as to transport the material on the discharge bottom belt; wherein, the bottom belt counting encoder includes two types, one is an absolute encoder, which adopts the PROFIBUS-DP network communication form, and the other is an incremental encoder, and a high-speed counting module is used to receive signals;
[0022] like Figure 2 and Figure 3 As shown in the figure, the CPU and ET200SP slave are connected via Profinet network cable. There are two ways to connect the ET200SP slave and the bottom belt counting encoder: ① The ET200SP slave and the absolute encoder are connected via PROFIBUS-DP network communication and 24V power supply cable, such as Figure 2 As shown; ②ET200SP and incremental encoder are connected through 24V power supply cable and signal cable, such as Figure 3 shown.
[0023] EP200SP includes interface module, digital input module, digital output module, analog input module, analog output module, high-speed counter module and motor starter module.
[0024] The interface module is connected to the digital input module through the backplane, the interface module is connected to the digital output module through the backplane, the interface module is connected to the analog input module through the backplane, the interface module is connected to the analog output module through the backplane, the interface module is connected to the high-speed counter module through the backplane, and the interface module is connected to the motor starter module through the backplane.
[0025] In a specific implementation, the method for calculating the remaining weight of the storage cabinet is performed according to the following steps:
[0026] Step 1: Figure 1 As shown, an absolute encoder or an incremental encoder is installed on the bottom belt of the cabinet, so that the main shaft of the encoder is fixedly connected with the main shaft of the driven wheel of the bottom belt of the cabinet through a bearing;
[0027] Step 2: The counter value when the cabinet bottom belt runs from the end of the cabinet to the discharge end, that is, the counter value when the cabinet bottom belt runs half a circle, is used as the total bottom belt count value IN. all , and the total length of the cabinet bottom belt is L 底带 , is twice the total length of the cabinet L 储柜 ;
[0028] Step 3: When the absolute encoder is used to collect the bottom belt count value, the CPU can obtain the counter value of the absolute encoder during the current operation through PROFIBUS-DP bus communication and use it as the current count value IN of the cabinet bottom belt operation collected for the i-th time. i ;
[0029] When an incremental encoder is used to collect the bottom belt count value, the CPU uses the high-speed counter module of the ET200SP substation and collects the counter value of the incremental encoder during the current operation through the signal cable and uses it as the current count value IN of the cabinet bottom belt operation collected for the i-th time. i ;
[0030] The counter value of the absolute encoder and the incremental encoder is reset to zero at the beginning of each production batch; that is, when i=1, IN1=0;
[0031] Step 4: Calculate the storage cabinet discharge volume G collected for the i-th time i,out =(IN i -IN i-1 ) / IN all ×G all ; Among them, IN i-1 G represents the count value of the bottom belt operation of the storage cabinet collected for the i-1th time; all Indicates the total accumulated amount of cabinet materials obtained by the electronic belt scale during feeding;
[0032] Step 5: Calculate the remaining weight G of the storage cabinet collected for the i-th time i =G i-1 -G i,out Among them, G i-1 Indicates the remaining weight of the material in the storage cabinet collected for the i-1th time;
[0033] Step 6: If G i =0, it means that the cabinet discharge is completed, otherwise, after assigning i+1 to i, return to step 3 and execute sequentially.
[0034] In summary, the method of the present invention aims at the existing cabinet remaining weight calculation method which has certain defects. The encoder count value change is used to calculate the cabinet remaining weight according to the bottom belt count value change through Siemens PLC. Figure 4As shown, the problem of inaccurate calculation is effectively avoided, and the failure of material shortage affecting production due to inaccurate remaining weight of the storage cabinet is avoided. The inspection frequency and labor intensity of personnel are also reduced, and the applicability is strong.
Claims
1. A method for calculating the remaining weight of a storage cabinet, characterized in that: It is applied in a system consisting of a CPU, an ET200SP slave station, and a bottom belt counting encoder, where the bottom belt counting encoder is an absolute encoder or an incremental encoder, and is performed according to the following steps: Step 1: Install an absolute encoder or incremental encoder on the main shaft with a driven wheel at the bottom of the cabinet; Step 2: The counter value when the cabinet bottom belt runs from the end of the cabinet to the discharge end is taken as the total bottom belt count value IN all ; Step 3: If it is an absolute encoder, the CPU obtains the counter value of the absolute encoder during the current operation through PROFIBUS-DP bus communication and uses it as the current count value IN of the cabinet bottom belt operation collected for the i-th time. i If it is an incremental encoder, the CPU collects the counter value of the incremental encoder during the current operation through the high-speed counter module of the ET200SP slave station and uses it as the current count value IN of the cabinet bottom belt operation collected for the i-th time i ; Step 4: Calculate the storage cabinet discharge volume G collected for the i-th time i,out =(IN i -IN i-1 ) / IN all ×G all ; Among them, IN i-1 G represents the count value of the bottom belt operation of the storage cabinet collected for the i-1th time; all Indicates the total accumulated amount of cabinet materials obtained by the electronic belt scale during feeding; Step 5: Calculate the remaining weight G of the storage cabinet collected for the i-th time i =G i-1 -G i,out Among them, G i-1 Indicates the remaining weight of the material in the storage cabinet collected for the i-1th time; Step 6: If G i =0, it means that the cabinet discharge is completed, otherwise, after assigning i+1 to i, return to step 3 and execute sequentially.
2. An electronic device, comprising a memory and a processor, characterized in that: The memory is used to store a program that supports the processor to execute the method for calculating the remaining weight of the storage cabinet according to claim 1, and the processor is configured to execute the program stored in the memory.
3. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method for calculating the remaining weight of a storage cabinet according to claim 1 are executed.
