Compensation method, filling method and device, electronic equipment and medium
By adjusting the filling volume of the filling equipment through an automatic compensation mechanism, the problem of filling volume fluctuation during the resumption of production after a filling equipment failure was solved, thus achieving stable filling volume and reduced material consumption.
Patent Information
- Application Number
- CN202511120342.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-08-11
- Publication Date
- 2025-11-11
AI Technical Summary
When filling equipment resumes production after a malfunction, the filling volume is prone to large fluctuations, resulting in insufficient filling volume, product waste, and increased resource consumption.
The automatic compensation mechanism obtains the filling volume compensation value and compensation time length, and adjusts the filling volume of the filling equipment to ensure the filling volume is qualified and reduce material consumption.
When the filling equipment is unstable, the filling volume is automatically adjusted to ensure that the filling volume is qualified, thereby reducing material waste and costs.
Smart Images

Figure CN120922440A_ABST
Abstract
Description
Technical Field
[0001] Embodiments of this disclosure relate to a compensation method, a filling method, an apparatus, an electronic device, and a medium. Background Technology
[0002] Currently, trade exchanges between countries and regions are very frequent. To facilitate the storage, transportation, and sale of products (also known as "materials"), various products typically require packaging. For example, food products such as milk, beverages, and vegetable purees need to be sealed in various forms of containers, such as boxes and bags. Filling equipment is frequently used in the product packaging process, responsible for conveying the product into containers. Summary of the Invention
[0003] At least one embodiment of this disclosure provides a method for compensating the filling volume of a filling device, comprising: in response to an automatic compensation mechanism being triggered by the device status of the filling device, obtaining a filling volume compensation value and a compensation time length; and during the filling process of the filling device, compensating the filling volume of the filling device based on the compensation time length and the filling volume compensation value.
[0004] For example, in some embodiments of this disclosure, during the filling process of the filling equipment, the filling amount of the filling equipment is compensated based on the compensation time length and the filling amount compensation value, including: obtaining a set value for the filling amount of the filling equipment; and during the filling process of the filling equipment, compensating the filling amount compensation value for the set value until the compensation time length for the set value reaches the compensation time length.
[0005] For example, in some embodiments of this disclosure, the method further includes: calculating the filling volume compensation value based on the set value in response to the activation of the first calculation function and the device state triggering the automatic compensation mechanism.
[0006] For example, in some embodiments of this disclosure, calculating the filling volume compensation value based on the set value includes: calculating a first average value of the actual filling volume of the N containers after the filling equipment fills the N containers according to the set value, where N is an integer greater than or equal to 1; determining whether the set value needs to be adjusted based on the first average value; in response to the set value not needing adjustment, obtaining the minimum value of the actual filling volume obtained by the filling equipment during filling within a preset time period; and using the difference between the reference filling volume and the minimum value as the filling volume compensation value.
[0007] For example, in some embodiments of this disclosure, determining whether the set value needs to be adjusted based on the first average value includes: determining whether the first average value is within a preset range [a, b]; in response to the first average value being within the preset range [a, b], the set value does not need to be adjusted; or in response to the first average value not being within the preset range [a, b], the set value needs to be adjusted, wherein both a and b are greater than 0, and b is greater than a.
[0008] For example, in some embodiments of this disclosure, in response to the activation of the first calculation function, calculating the filling volume compensation value based on the set value further includes: in response to the need to adjust the set value, updating the set value based on the first average value; and after updating the set value, calculating the first average value, the minimum value, and the filling volume compensation value.
[0009] For example, in some embodiments of this disclosure, in response to the need to adjust the set value, updating the set value based on the first average value includes: in response to the first average value being less than a, using the difference between a and the first average value as a first compensation value for the set value, and using the sum of the set value and the first compensation value as the updated set value; or in response to the first average value being greater than b, using the difference between the first average value and b as a second compensation value for the set value, and using the difference between the set value and the second compensation value as the updated set value.
[0010] For example, in some embodiments of this disclosure, a is the reference filling amount, and b is the sum of the reference filling amount and the accuracy adjustment value.
[0011] For example, in some embodiments of this disclosure, the compensation method further includes: calculating the compensation time length in response to the activation of the second calculation function and the filling equipment meeting the equipment state.
[0012] For example, in some embodiments of this disclosure, calculating the compensation time length includes: calculating a second average value of the filling amount of M containers continuously filled within the preset time period; obtaining the time length taken from the start of the second calculation function and the device state triggering the automatic compensation mechanism, through the second average value being less than the reference filling amount, to recovering to a value greater than or equal to the reference filling amount; and setting the time length taken as the compensation time length, where M is an integer greater than or equal to 1.
[0013] For example, in some embodiments of this disclosure, obtaining the time taken from the start of the second calculation function and the device state triggering the automatic compensation mechanism, through the second average value being less than the reference filling amount, to recover to a value greater than or equal to the reference filling amount, includes: each time the second average value is calculated, a counter is incremented by a preset step size to obtain the counter value when the second average value recovers to a value greater than or equal to the reference filling amount; and the time taken is equal to the product of the ratio of the counter value to the preset step size and the preset time period.
[0014] For example, in some embodiments of this disclosure, the automatic compensation mechanism is triggered when the device is in a state where filling has been paused and then restarted.
[0015] For example, in some embodiments of this disclosure, the automatic compensation mechanism is triggered when the device is in a state of receiving a production exit signal, wherein the production exit signal is generated and provided by another filling device running parallel to the filling device in response to production exit, the filling device and the other filling device are connected to the same feeding device, the feeding device providing material for filling to the filling device and the other filling device.
[0016] For example, in some embodiments of this disclosure, the compensation method further includes: outputting a production exit signal in response to the filling equipment exiting production.
[0017] At least one embodiment of this disclosure provides a filling method for a filling device, the filling method including the compensation method provided in any embodiment of this disclosure.
[0018] At least one embodiment of this disclosure provides a filling quantity compensation device for a filling equipment, comprising: an acquisition unit configured to acquire a filling quantity compensation value and a compensation time length in response to an automatic compensation mechanism triggered by the equipment status of the filling equipment; and a compensation unit configured to compensate the filling quantity of the filling equipment based on the compensation time length and the filling quantity compensation value during the filling process of the filling equipment.
[0019] At least one embodiment of this disclosure provides an electronic device, including: a processor; and a memory including one or more computer program instructions, which are stored in the memory and, when executed by the processor, implement the compensation method or filling method provided in any embodiment of this disclosure.
[0020] At least one embodiment of this disclosure provides a computer-readable storage medium that non-temporarily stores computer-readable instructions that, when executed by a processor, implement the compensation method or filling method provided in any embodiment of this disclosure. Attached Figure Description
[0021] To more clearly illustrate the technical solutions of the embodiments of this disclosure, the accompanying drawings of the embodiments will be briefly described below. Obviously, the drawings described below only relate to some embodiments of this disclosure and are not intended to limit this disclosure.
[0022] Figure 1 A schematic diagram of the fluctuation curve of filling weight is shown;
[0023] Figure 2A A flowchart of a compensation method provided by at least one embodiment of this disclosure is shown;
[0024] Figure 2B This diagram illustrates the connection between a feeding device and a filling machine according to at least one embodiment of the present disclosure;
[0025] Figure 3 A flowchart illustrating a method for calculating a filling volume compensation value based on a set value, provided by at least one embodiment of this disclosure, is shown.
[0026] Figure 4 A flowchart illustrating a method for calculating the length of compensation time according to at least one embodiment of this disclosure is shown;
[0027] Figure 5 A flowchart of another compensation method provided by at least one embodiment of this disclosure is shown;
[0028] Figure 6 A comparative schematic diagram showing the filling process using a compensation method and an uncompensated method provided in at least one embodiment of this disclosure is illustrated.
[0029] Figure 7 A schematic block diagram of a compensation device provided in at least one embodiment of the present disclosure is shown;
[0030] Figure 8 A block diagram of an electronic device provided in at least one embodiment of the present disclosure is shown;
[0031] Figure 9 A schematic block diagram of another electronic device provided for some embodiments of this disclosure; and.
[0032] Figure 10 This is a schematic diagram of a computer-readable storage medium provided for some embodiments of this disclosure. Detailed Implementation
[0033] To make the objectives, technical solutions, and advantages of the embodiments of this disclosure clearer, the technical solutions of the embodiments of this disclosure will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this disclosure. All other embodiments obtained by those skilled in the art based on the described embodiments of this disclosure without creative effort are within the scope of protection of this disclosure.
[0034] Unless otherwise defined, the technical or scientific terms used in this disclosure shall have the ordinary meaning understood by one of ordinary skill in the art to which this disclosure pertains. The terms “first,” “second,” and similar terms used in this disclosure do not indicate any order, quantity, or importance, but are merely used to distinguish different components. Similarly, the terms “an,” “a,” or “the,” and similar terms do not indicate a quantity limitation, but rather indicate the presence of at least one. The terms “including,” “comprising,” or “containing,” and similar terms mean that the element or object preceding the word encompasses the elements or objects listed following the word and their equivalents, without excluding other elements or objects. The terms “connected,” “linked,” and similar terms are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. The terms “upper,” “lower,” “left,” and “right,” etc., are used only to indicate relative temporal positions; when the absolute temporal position of the described object changes, the relative temporal position may also change accordingly.
[0035] The present disclosure will now be described through several specific embodiments. To keep the following description of the embodiments of the present disclosure clear and concise, detailed descriptions of known functions and components are omitted. When any component of an embodiment of the present disclosure appears in more than one drawing, the component is indicated by the same or similar reference numerals in each drawing.
[0036] To prevent underfilled products from entering the market, negative deviations in filling volume standards are not permitted. During the filling process, if the filling equipment malfunctions and production is halted, significant fluctuations in filling volume will occur upon resumption of production after the malfunction is resolved, resulting in underfilled packages. Conversely, if the filling equipment operates continuously and stably, filling volume fluctuations are minimal, and underfilled packages are generally avoided. To prevent negative filling volume deviations, the only solution is to increase the set filling volume value during the filling process. This method avoids underfilled products entering the market when large fluctuations in filling volume occur. However, this necessitates setting a high filling volume value throughout the entire production process, leading to increased consumption of materials (e.g., milk, beverages, water, etc.) during production.
[0037] Figure 1 A schematic diagram of the fluctuation curve of filling weight is shown.
[0038] like Figure 1 As shown, for example, before the filling equipment stopped, the filling volume fluctuated between 264.0 and 266.0. Due to equipment failure, the filling equipment stopped filling at the 10-minute mark. Within 5-10 minutes after the machine restarted, the filling weight dropped significantly by 6-8g. If the filling volume setting is not changed, the filling volume will return to normal after 5-10 minutes. For example, the minimum product weight required for production is 260g. The normal production weight is controlled at 263g. After a temporary stop and restart of filling for 5-10 minutes, a small number of product packages (e.g., about 200 packages) will have a filling volume of 257g. According to the control standard, products with a filling volume lower than 260g need to be rejected.
[0039] If the products produced by the filling equipment are rejected, not only are cartons and other materials wasted, but these rejected product packages also require manual handling. For example, rejecting milk packages weighing less than 260g results in wasted milk (e.g., 250g), one carton, and labor costs. Therefore, rejection not only leads to material and carton waste but also increases labor costs.
[0040] Increasing the filling volume setting to 265g will prevent the production of product packages weighing less than 260g, ensuring the production of qualified products. However, it will increase material consumption. For example, if a user needs to supply 10,000 packages of milk to a seller, filling each package at 265g will consume an additional 265-263=2g of milk per package. Therefore, 10,000 packages would consume an extra 20kg of milk. This demonstrates how setting a specific filling volume setting leads to excessive material consumption and consequently, significant economic losses.
[0041] To address the aforementioned technical problems, embodiments of this disclosure provide a compensation method. This compensation method includes, in response to an automatic compensation mechanism triggered by the equipment status of the filling equipment, obtaining a filling volume compensation value and a compensation time length; and, during the filling process, compensating the filling volume of the filling equipment based on the compensation time length and the filling volume compensation value. This compensation method not only ensures the filling volume is qualified but also reduces resource waste.
[0042] Figure 2A A flowchart of a compensation method provided by at least one embodiment of the present disclosure is shown.
[0043] like Figure 2A As shown, the compensation method includes steps S10 and S20.
[0044] Step S10: In response to the equipment status of the filling equipment triggering the automatic compensation mechanism, the filling volume compensation value and compensation time length are obtained.
[0045] Step S20: During the filling process of the filling equipment, the filling volume of the filling equipment is compensated based on the compensation time length and the filling volume compensation value.
[0046] This method can automatically identify when the filling equipment needs compensation, and then compensate the filling volume based on the compensation value and the compensation time length to ensure that the filling volume is qualified. Furthermore, compared to related technologies that use a relatively high setpoint to ensure qualified filling volume even when the filling equipment is unstable, the embodiments of this disclosure can set a relatively low setpoint to compensate for the filling volume when the filling equipment is unstable, thereby mitigating the waste of materials (e.g., milk, beverages, and other liquids) caused by a higher setpoint.
[0047] For step S10, the equipment status may include filling in progress, filling paused, being restarted after pause, receiving a control signal, etc.
[0048] The inventors of this disclosure have discovered that when a filling device suspends production due to a malfunction, the filling volume fluctuates significantly upon restarting after the malfunction is resolved, potentially leading to underfilled packages. When the filling device operates continuously and stably, the fluctuation in filling volume is smaller, and underfilled packages are generally not encountered. Therefore, in some embodiments of this disclosure, an automatic compensation mechanism is triggered when the filling device is restarted after a filling interruption.
[0049] In some embodiments of this disclosure, multiple filling devices can be connected to the same feeding device, so that multiple filling devices can perform filling tasks simultaneously, that is, multiple filling devices perform filling tasks in parallel.
[0050] The feeding equipment can be, for example, a large container holding the material, which can be a liquid such as milk, beverage, or water, or a solid such as granules or powder. For instance, one feeding device supplies raw materials to multiple filling devices, which are arranged sequentially along a conveyor pipeline in order of proximity to the feeding device. The raw materials supplied by the feeding device are transported to each filling device through the conveyor pipeline.
[0051] Figure 2B A schematic diagram showing the connection between a feeding device and a filling machine provided in at least one embodiment of the present disclosure is shown.
[0052] For example, the feeding device 200 is connected to the filling machine 11 via the feed valve 12, and the feeding device is connected to the filling machine 21 via the feed valve 22. When the feed valve 12 is open, the feeding device supplies material to the filling machine 11, thereby using the filling machine 11 to fill one or more packaging boxes 13; when the feed valve 12 is closed, no filling material is supplied to the filling machine 11. When the feed valve 22 is open, the feeding device supplies material to the filling machine 21, thereby using the filling machine 21 to fill one or more packaging boxes 23; when the feed valve 22 is closed, no filling material is supplied to the filling machine 21. For example, the feed valves 12 and 22 can be opened simultaneously, allowing the filling machines 11 and 21 to perform filling tasks in parallel. The filling machines 11 and 21 are examples of filling devices. For example, if a filling machine malfunctions, it can be taken out of production, for example, by controlling the corresponding feed valve of the filling machine.
[0053] The inventors of this disclosure have discovered that in actual production, when multiple filling machines are operating in parallel, the shutdown of one or more filling machines may cause a negative deviation in the filling volume of other filling machines that are currently in operation. Therefore, in some embodiments of this disclosure, an automatic compensation mechanism is triggered when the equipment receives a shutdown signal. The shutdown signal is generated and provided by another filling machine operating in parallel with the filling machine in response to the shutdown signal. The filling machine and the other filling machine are connected to the same feeding device, which provides the filling machine and the other filling machine with the material for filling. For example, when filling machine 11 malfunctions, filling machine 11 provides a shutdown signal to other filling machines performing filling tasks in parallel (e.g., filling machine 21).
[0054] In some embodiments of this disclosure, the compensation method further includes: outputting a production stop signal in response to the filling equipment ceasing production. For example, the filling equipment includes a programmable logic controller (PLC) with n input interfaces and one output interface. The input interfaces are used to receive production stop signals provided by n filling machines operating in parallel with the filling equipment, and the output interface is used to provide the production stop signal generated by the filling equipment. If the filling equipment malfunctions or stops filling for other reasons, a production stop signal is generated and output through the output interface.
[0055] In step S10, for example, in response to the equipment status of the filling equipment triggering an automatic compensation mechanism, the filling volume compensation value and compensation time length are obtained from the storage device of the filling equipment. This filling volume compensation value and compensation time length can be predetermined through experiments or calculated based on historical data and a neural network model.
[0056] For step S20, for example, in the scenario where the filling equipment is paused and then restarted, the filling quantity of the filling equipment is compensated with the filling quantity compensation value during the compensation time after the filling equipment is restarted; or the filling quantity of the filling equipment is compensated with the filling quantity compensation value during the compensation time after the filling equipment receives the exit production signal.
[0057] For example, after compensating for the filling volume, the actual filling volume of the filling equipment is the sum of the set value and the filling volume compensation value. The set value for the filling volume is, for example, preset by the user of the filling equipment.
[0058] In some embodiments of this disclosure, step S20 includes: acquiring a set value for the filling volume of the filling equipment; and compensating the set value with a filling volume compensation value during the filling process of the filling equipment until the compensation time reaches the compensation time length. For example, if the set value for the filling volume is 263g, during the filling process after the filling equipment is paused and restarted, the set value of 263g is compensated with a filling volume compensation value (e.g., 5g), that is, filling is performed at 268g until the compensation time reaches the compensation time length (e.g., 10 minutes). That is, after the filling equipment is paused and restarted, filling is performed at 268g for the first 10 minutes, and then resumes filling at 263g after 10 minutes. Another example is that after the filling equipment receives a production stop signal, filling is performed at 268g for the first 10 minutes, and then at 263g after 10 minutes. In the embodiments of this disclosure, since filling is performed only at a higher filling volume during periods of unstable filling volume, and then at a lower filling volume after the filling volume stabilizes, it is possible to ensure that the filling volume is qualified while reducing material consumption, thereby saving costs.
[0059] In some embodiments of this disclosure, the filling volume compensation value and the compensation time length can be calculated based on user operations. After calculation based on user operations, the calculated filling volume compensation value and compensation time length can be stored in a storage device. Thus, when the automatic compensation mechanism is triggered by the equipment status of the filling equipment, the filling volume compensation value and compensation time length can be read from the storage device in a timely manner, enabling timely compensation.
[0060] For example, users can use a Human-Machine Interface (HMI) to configure whether to automatically calculate the filling volume compensation value and the compensation time. The HMI acts as a bridge for signal interaction between the user and the PLC, allowing users to set variables, input commands, and view information.
[0061] For example, users can set a first variable through the HMI, which indicates whether the automatic calculation of filling volume compensation value is enabled. For instance, if the value of the first variable is set to 1, the automatic calculation of filling volume compensation value is enabled; if the value of the first variable is set to 0, the automatic calculation of filling volume compensation value is disabled. Alternatively, the HMI may include a first control, such as a button. If the first control is in a first state, the automatic calculation of filling volume compensation value is enabled; if the first control is in a second state, the automatic calculation of filling volume compensation value is disabled.
[0062] In some embodiments of this disclosure, the compensation method further includes: calculating a filling volume compensation value based on a set value in response to the activation of a first calculation function and the device status triggering an automatic compensation mechanism. The first calculation function is, for example, the aforementioned automatic filling volume compensation value calculation function.
[0063] For example, if a user operates the first control, placing it in a first state, then after detecting that the filling equipment's status triggers the automatic compensation mechanism, the filling volume compensation value is automatically calculated based on a set value. For instance, after the user activates the first calculation function, they can actively control the filling equipment's status to trigger the automatic compensation mechanism, thereby obtaining the filling volume compensation value experimentally, without needing the filling equipment to temporarily calculate the filling volume compensation value when the automatic compensation mechanism is triggered during actual production. After obtaining the filling volume compensation value experimentally, it can be stored in a storage device, or the user can configure the filling volume compensation variable in the HMI to this filling volume compensation value.
[0064] Figure 3 A flowchart illustrating a method for calculating a filling volume compensation value based on a set value, provided by at least one embodiment of the present disclosure, is shown.
[0065] like Figure 3 As shown, the method includes steps S301 to S304.
[0066] Step S301: Calculate the first average value of the actual filling volume of N containers after the filling equipment fills N containers according to the set value.
[0067] Step S302: Based on the first average value, determine whether the set value needs to be adjusted.
[0068] Step S303: In response to the fact that the set filling volume does not need to be adjusted, obtain the minimum value of the actual filling volume obtained by the filling equipment during the filling within the preset time length.
[0069] Step S304: Use the difference between the reference filling amount and the minimum value as the filling amount compensation value.
[0070] N is an integer greater than or equal to 1. This method can promptly detect inaccuracies in the set value and, based on an accurate set value, obtain an accurate filling volume compensation value.
[0071] For step S301, for example, after the user activates the first calculation function, the filling equipment is actively paused and then restarted. When the filling equipment restarts, the first average value of the actual filling volume of the N containers after the filling equipment fills N containers according to the set value is calculated. For example, if the set value is 263g and N is 10, the average value of the liquid in the 10 packaging boxes after filling 10 boxes with 263g is calculated; this average value is an example of the first average value.
[0072] In step S302, the first average value is used to determine whether the set value is too small or too large. If the set value is too large, it will lead to material waste; if the set value is too small, it will result in an unqualified filling volume when the filling is restored to the set value later.
[0073] For example, step S302 includes: determining whether the first average value is within a preset range [a, b]; in response to the first average value being within the preset range [a, b], the set value does not need to be adjusted; or in response to the first average value not being within the preset range [a, b], the set value needs to be adjusted, where both a and b are greater than 0, and b is greater than a.
[0074] For example, the preset range [a, b] can be set by those skilled in the art or by users based on experience or actual needs. For example, a can be greater than the minimum allowable filling volume of a single container, that is, a is the minimum standard required to achieve qualification. For example, if the minimum allowable filling volume of a single package is 260g, and the filling of the package is unqualified if it is less than 260g, then the value of a can be greater than or equal to 260g. The minimum allowable filling volume of a single package, that is, the minimum requirement for the filling volume of a single container to be qualified, is called the reference filling volume. In some embodiments of this disclosure, a is the reference filling volume, and b is the sum of the reference filling volume and the precision adjustment value. The precision adjustment value is the filling precision of the filling equipment, and the precision adjustment value is, for example, any value between 2-4ml. For example, if the precision adjustment value is 3ml, a=260g, b=263g.
[0075] If the first average value is within the preset range [a, b], the setting value does not need to be adjusted; if the first average value is not within the preset range [a, b], the setting value needs to be adjusted. For example, if the first average value is less than 260g, the setting value needs to be adjusted; if the first average value is greater than 263g, the setting value needs to be adjusted. If the first average value is greater than or equal to 260g and less than or equal to 263g, the setting value does not need to be adjusted.
[0076] For step S303, if the set value does not need to be adjusted, obtain the minimum value of the actual filling volume obtained by the filling device during a preset time period. The preset time period can be set by those skilled in the art or users according to time cost, labor cost and experience, and the embodiments of the present disclosure do not limit the preset time period. The preset time period is, for example, 5 minutes, or the time period required to produce N packages. For example, if 25 packaging boxes are filled within the preset time period, then obtain the weight or volume of the liquid in these 25 packaging boxes, so as to obtain the weight of the material in the packaging box with the minimum weight. The weight of the material in the packaging box with the minimum weight is the minimum value of the actual filling volume obtained by filling during the preset time period.
[0077] For step S304, as described above, the reference filling volume is the minimum filling volume allowed for a single packaging box, that is, the lowest requirement for the filling volume of a single container to be qualified. The reference filling volume is, for example, 260 g, and the minimum value of the actual filling volume is, for example, 257 g. Then the filling volume compensation value is 3 g.
[0078] As Figure 3 shown, calculating the filling volume compensation value based on the set value further includes steps S305 and S306 in addition to steps S301~S304.
[0079] Step S305: In response to the need to adjust the set value, update the set value based on the first average value.
[0080] Step S306: After updating the set value, calculate the first average value, the minimum value and the filling volume compensation value again.
[0081] For steps S305 and S306, if the set value needs to be adjusted, then update the set value according to the first average value. After the set value is updated, recalculate the first average value, the minimum value and the filling volume compensation value, so as to obtain an accurate filling volume compensation value.
[0082] For example, in response to the first average value being less than a, take the difference between a and the first average value as the first compensation value of the set value, and take the sum of the set value and the first compensation value as the updated set value. For example, the first average value < a, the first compensation value = a - the first average value; the updated set value = the current set value + the first compensation value.
[0083] For example, in response to the first average value being greater than b, take the difference between the first average value and b as the second compensation value of the set value, and take the difference between the set value and the second compensation value as the updated set value. For example, the first average value > b, the second compensation value = the first average value - b, the updated set value = the current set value - the second compensation value.
[0084] For example, users can configure a second variable through the HMI that indicates whether automatic calculation of the compensation time length is enabled. For instance, a value of 1 for the second variable indicates that automatic calculation of the compensation time length is enabled; a value of 0 indicates that automatic calculation of the compensation time length is disabled. Alternatively, the HMI may include a second control, such as a button. If the second control is in its first state, automatic calculation of the compensation time length is enabled; if it is in its second state, automatic calculation of the compensation time length is disabled.
[0085] In some embodiments of this disclosure, the compensation method further includes: calculating the compensation time length in response to the activation of a second calculation function and the device state triggering an automatic compensation mechanism. The second calculation function is, for example, the aforementioned automatic calculation of the compensation time length function.
[0086] For example, if the user operates the second control, causing it to enter the first state, then after detecting that the filling equipment's status triggers the automatic compensation mechanism, the compensation time length is automatically calculated. For instance, after the user enables the second calculation function, they can actively control the filling equipment's status to trigger the automatic compensation mechanism, thus obtaining the compensation time length experimentally, without needing to temporarily calculate the compensation time length when the filling equipment triggers the automatic compensation mechanism during actual production. After obtaining the compensation time length experimentally, it can be stored in a storage device, or the user can configure the compensation time variable in the HMI to this compensation time length.
[0087] Figure 4 A flowchart illustrating a method for calculating the length of compensation time provided in at least one embodiment of this disclosure is shown.
[0088] like Figure 4 As shown, the method includes steps S401 to S403.
[0089] Step S401: At preset time intervals, calculate the second average value of the filling volume of M containers that are continuously filled within the preset time interval. M is an integer greater than or equal to 1.
[0090] Step S402: Obtain the time taken from the start of the second calculation function and the device status triggering the automatic compensation mechanism, through the second average value being less than the reference filling amount, to recovering to a value greater than or equal to the reference filling amount.
[0091] Step S403: Set the consumed time length as the compensation time length.
[0092] For step S401, for example, if the preset time period is 30 seconds, and M packages are continuously filled within 30 seconds, then the average weight of the material in the M packages is calculated as the second average value. Alternatively, the average weight of the material in a portion of the packages continuously filled within the preset time period is calculated as the second average value. For example, the average filling amount of 10 packages continuously filled is calculated every 30 seconds.
[0093] For step S402, the real-time filling volume of the filling equipment can be monitored by calculating the second average value within each preset time period, thereby obtaining the first moment when the second average value is less than the reference filling volume and the second moment when it recovers to a value greater than or equal to the reference filling volume, and thus obtaining the length of time consumed based on the first moment and the second moment.
[0094] In some embodiments of this disclosure, step S402 includes: calculating the second average value each time, incrementing the counter by a preset step size to obtain the counter value when the second average value recovers to a level greater than or equal to the reference filling volume; and the consumed time length being equal to the product of the ratio of the counter value to the preset step size and the preset time period. For example, after each calculation of the second average value, the counter value n is automatically incremented by a preset step size (e.g., 1, i.e., n = n + 1). When the second average value recovers to a level greater than or equal to the reference filling volume, the counter value is checked at this time; thus, the consumed time length = preset time period × (count value / preset step size). For example, if the preset time period is 30 seconds and the preset step size is 1, then the consumed time length = 30 × n.
[0095] In some embodiments of this disclosure, the time consumed can be the time taken after the second average value is less than the reference filling volume, and then the second average value is detected to be greater than or equal to the reference filling volume. Since the filling volume may decrease and then gradually rise to the set value after the filling equipment restarts following a pause, meaning the filling volume may not have decreased to a lower level immediately after restarting, if the compensation time is calculated immediately upon detecting that the second average value is greater than or equal to the reference filling volume without waiting for the second average value to be less than the reference filling volume, the calculation of the compensation time will be inaccurate. Therefore, to make the calculation of the compensation time more accurate, the time consumed can be calculated using the count value at the point where the second average value is detected to be greater than or equal to the reference filling volume after the second average value is less than the reference filling volume.
[0096] For step S403, the consumed time length is used as the compensation time length.
[0097] Figure 5 A flowchart of another compensation method provided by at least one embodiment of the present disclosure is shown.
[0098] like Figure 5As shown, the compensation method includes steps S501 to S523.
[0099] Step S501: The filling machine begins producing tissue boxes. For example, local filling machine #0 draws out packaging paper, folds it into a box, and then begins filling.
[0100] Step S502: Production paused and then restarted. That is, the local filling machine #0 was paused and then restarted.
[0101] Step S503: Determine whether the automatic calculation of filling volume compensation function (i.e., the first calculation function mentioned above) is enabled. If the first calculation function is enabled, proceed to step S504 and subsequent steps. If the first calculation function is not enabled, proceed to step S510.
[0102] Step S504: Obtain the set value of the filling volume
[0103] Step S505: Automatically calculate the first average filling volume of 10 consecutive bags during continuous production. Please refer to the description above for the first average value.
[0104] Step S506: Determine whether the first average value is greater than or equal to the minimum allowable filling amount per package. The minimum allowable filling amount per package is, for example, the reference filling amount described above. If the first average value is greater than or equal to the minimum allowable filling amount per package, then execute step S507 and subsequent steps; if the first average value is less than the minimum allowable filling amount per package, then execute steps S511 and S512.
[0105] Step S507: Determine whether the first average value is less than or equal to the minimum allowable filling volume per package + 3ml. The minimum allowable filling volume per package + 3ml is b mentioned above, and 3ml is the precision adjustment value. If the first average value is less than or equal to the minimum allowable filling volume per package + 3ml, then execute step S508 and subsequent steps; if the first average value is greater than the minimum allowable filling volume per package + 3ml, then execute steps S513 and S514.
[0106] Step S508: Automatically calculate the minimum filling volume within a 5-minute pause / reopening period. This step S508 is similar to the one described above. Figure 3 Step S304 in the example. In this example, the preset time length is 5 minutes, that is, to count the minimum actual filling volume within 5 minutes.
[0107] Step S509: Calculate the filling quantity compensation value = minimum allowable filling quantity per package - minimum filling quantity.
[0108] Step S510: Normal continuous production. That is, local filling machine #0 continues continuous production.
[0109] Step S511: Calculate the compensation amount of the set value = minimum allowable filling amount per package - first average value. In this scenario, the compensation amount of the set value is the first compensation value described above.
[0110] Step S512: Setting value = current setting value + compensation amount of setting value.
[0111] Step S513: The compensation amount of the set value = average filling volume - (minimum allowable filling volume per package + 3ml). In this scenario, the compensation amount of the set value is the second compensation value described above.
[0112] Step S514: Setting value = Current setting value - Compensation amount of setting value. That is, the updated setting value is the difference between the current setting value and the compensation amount of the setting value.
[0113] Step S515: Determine whether the automatic calculation of compensation time length function (i.e., the second calculation function mentioned above) is enabled. If the second calculation function is enabled, proceed to step S516 and subsequent steps. If the second calculation function is not enabled, proceed to step S510.
[0114] Step S516: Calculate the second average value of the filling volume of 10 consecutive packages every 30 seconds. Please refer to the description above for the second average value.
[0115] Step S517: After each average calculation, the counter is automatically incremented by 1, n=n+1.
[0116] Step S518: Determine whether the second average value satisfies the condition that it is less than the minimum allowable filling amount per package, and then detect that the second average value is greater than or equal to the minimum allowable filling amount per package.
[0117] Step S519: Compensation time length = 30 × n.
[0118] Step S520: For example, an automatic compensation mechanism is triggered when production is paused or when at least one of the N parallel filling machines stops production. This automatic compensation mechanism first determines whether the automatic compensation function is enabled. If enabled, automatic compensation is performed; otherwise, it is not performed.
[0119] Step S521: With the automatic compensation function enabled, increase the set value by the filling volume compensation value, and fill the compensation time according to the compensated filling volume.
[0120] Step S522: The compensation time is reached, and the compensation ends.
[0121] Step S523: Restore to the set value before compensation and resume normal continuous production.
[0122] In the above embodiments, five variables can be set in the HMI, namely the first and second variables mentioned above, as well as the third, fourth, and fifth variables. The third variable is used to indicate whether the automatic compensation function is enabled. That is, step S521 can determine whether the automatic compensation function is enabled based on the user's configuration of the third variable in the HMI. For example, if the third variable is configured as 1, the automatic compensation function is enabled; if it is configured as 0, the automatic compensation function is not enabled. The fourth variable is used, for example, to configure the filling volume compensation value, such as assigning the filling volume compensation value obtained in step S509 to the fourth variable; the fifth variable is used, for example, to configure the compensation time length, such as assigning the compensation time length obtained in step S519 to the fifth variable.
[0123] Another aspect of this disclosure provides a filling method that includes the compensation method provided in any embodiment of this disclosure.
[0124] Figure 6 A comparative schematic diagram is shown, illustrating a filling method provided in at least one embodiment of this disclosure and filling methods in related technologies.
[0125] like Figure 6 As shown, in related technologies, a relatively high setting value, such as 265g, is usually set so that the negative deviation in filling volume caused by the filling machine restarting after being stopped will not lead to unqualified product packages, and the minimum filling volume requirement of 260g will still be met.
[0126] In the filling method provided in the embodiments of this disclosure, a relatively low set value is set, such as 262g. When the filling machine is restarted after being stopped, this set value is compensated for during a compensation time period (e.g., 10 minutes), for example, by 3g, and filling is performed at 265g. After the filling volume of the filling machine stabilizes, it returns to the set value of 262g.
[0127] Figure 7 A schematic block diagram of a filling quantity compensation device 700 for a filling equipment provided in at least one embodiment of the present disclosure is shown.
[0128] For example, such as Figure 7 As shown, the compensation device 700 includes an acquisition unit 710 and a compensation unit 720.
[0129] The acquisition unit 710 is configured to acquire the filling volume compensation value and the compensation time length in response to the automatic compensation mechanism triggered by the equipment status of the filling equipment. For example, the acquisition unit 710 can execute step S10 as described in Figure 2.
[0130] The compensation unit 720 is configured to compensate the filling volume of the filling equipment during the filling process based on the compensation time length and the filling volume compensation value. The compensation unit 720 may, for example, execute step S20 as described in FIG2.
[0131] For example, the acquisition unit 710 and the compensation unit 720 can be hardware, software, firmware, or any feasible combination thereof. For example, the acquisition unit 710 and the compensation unit 720 can be dedicated or general-purpose circuits, chips, or devices, or a combination of a processor and memory. The embodiments of this disclosure do not limit the specific implementation of the above-mentioned units.
[0132] It should be noted that in the embodiments of this disclosure, each unit of the compensation device 700 corresponds to each step of the aforementioned compensation method. For the specific functions of the compensation device 700, please refer to the relevant description of the compensation method, which will not be repeated here. Figure 7 The components and structure of the compensation device 700 shown are merely exemplary and not limiting; the compensation device 700 may also include other components and structures as needed. The compensation device may be deployed, for example, on a filling machine.
[0133] At least one embodiment of this disclosure also provides an electronic device including a processor and a memory, the memory including one or more computer program instructions. The one or more computer program instructions are stored in the memory and configured to be executed by the processor, and the one or more computer program instructions include instructions for implementing the compensation method or filling method described above. This electronic device can reduce the consumption of filling materials while ensuring the filling volume is qualified.
[0134] Figure 8 This is a schematic block diagram of an electronic device provided for some embodiments of this disclosure. For example... Figure 8 As shown, the electronic device 1200 includes a processor 1210 and a memory 1220. The memory 1220 stores non-transitory computer-readable instructions (e.g., one or more computer program modules). The processor 1210 executes the non-transitory computer-readable instructions, which, when executed by the processor 1210, can perform one or more steps in the compensation or filling methods described above. The memory 1220 and the processor 1210 can be interconnected via a bus system and / or other forms of connection mechanisms (not shown).
[0135] For example, processor 1210 may be a central processing unit (CPU), a graphics processing unit (GPU), or other form of processing unit with data processing and / or program execution capabilities. For example, the central processing unit (CPU) may be an x86 or ARM architecture. Processor 1210 may be a general-purpose processor or a special-purpose processor, capable of controlling other components in electronic device 1200 to perform desired functions.
[0136] For example, memory 1220 may include any combination of one or more computer program products, which may include various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. Volatile memory may include, for example, random access memory (RAM) and / or cache memory. Non-volatile memory may include, for example, read-only memory (ROM), hard disk, erasable programmable read-only memory (EPROM), portable compact disc read-only memory (CD-ROM), USB memory, flash memory, etc. One or more computer program modules may be stored on the computer-readable storage medium, and processor 1210 may run one or more computer program modules to implement various functions of electronic device 1200. Various application programs and various data, as well as various data used and / or generated by the application programs, may also be stored in the computer-readable storage medium.
[0137] It should be noted that, in the embodiments of this disclosure, the specific functions and technical effects of the electronic device 1200 can be referred to the description of the compensation method or filling method above, and will not be repeated here.
[0138] Figure 9 This is a schematic block diagram of another electronic device provided in some embodiments of the present disclosure. This electronic device 1300 is, for example, suitable for implementing the compensation method or filling method provided in the embodiments of the present disclosure. It should be noted that... Figure 9 The illustrated electronic device 1300 is merely an example and does not impose any limitation on the functionality and scope of use of the embodiments disclosed herein.
[0139] like Figure 9 As shown, electronic device 1300 may include a processing device (e.g., a central processing unit, a graphics processor, etc.) 1310, which can perform various appropriate actions and processes according to a program stored in read-only memory (ROM) 1320 or a program loaded from storage device 1380 into random access memory (RAM) 1330. RAM 1330 also stores various programs and data required for the operation of electronic device 1300. Processing device 1310, ROM 1320, and RAM 1330 are interconnected via bus 1340. Input / output (I / O) interface 1350 is also connected to bus 1340.
[0140] Typically, the following devices can be connected to I / O interface 1350: input devices 1360 including, for example, touchscreens, touchpads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.; output devices 1370 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; storage devices 1380 including, for example, magnetic tapes, hard disks, etc.; and communication devices 1390. Communication device 1390 allows electronic device 1300 to communicate wirelessly or wiredly with other electronic devices to exchange data. Although Figure 10 An electronic device 1300 with various devices is shown, but it should be understood that it is not required to implement or have all of the devices shown, and the electronic device 1300 may alternatively implement or have more or fewer devices.
[0141] For example, according to embodiments of this disclosure, the above-described compensation method or filling method can be implemented as a computer software program. For instance, embodiments of this disclosure include a computer program product comprising a computer program carried on a non-transitory computer-readable medium, the computer program including program code for performing the above-described compensation method or filling method. In such embodiments, the computer program can be downloaded and installed from a network via a communication device 1390, or installed from a storage device 1380, or installed from a ROM 1320. When the computer program is executed by the processing device 1310, the functions defined in the compensation method or filling method provided in embodiments of this disclosure can be implemented.
[0142] At least one embodiment of this disclosure also provides a computer-readable storage medium for storing non-transitory computer-readable instructions that, when executed by a computer, can implement the aforementioned information prompting method. Using this computer-readable storage medium, it is possible to reduce the consumption of filling materials while ensuring the filling volume is within acceptable limits.
[0143] Figure 10 This is a schematic diagram of a storage medium provided for some embodiments of this disclosure. For example... Figure 10 As shown, storage medium 1400 is used to store non-transitory computer-readable instructions 1410. For example, when non-transitory computer-readable instructions 1410 are executed by a computer, one or more steps in the information prompting method described above can be performed.
[0144] For example, the storage medium 1400 can be used in the aforementioned electronic device 1200. For example, the storage medium 1400 can be... Figure 8 The memory 1220 in the illustrated electronic device 1200. For example, a description of the storage medium 1400 can be found here. Figure 8The corresponding description of the memory 1220 in the illustrated electronic device 1200 will not be repeated here.
[0145] The following points need to be clarified regarding this disclosure:
[0146] (1) The accompanying drawings of the embodiments of this disclosure only involve the structures involved in the embodiments of this disclosure. Other structures can be referred to the general design.
[0147] (2) Where there is no conflict, features of the same embodiment and different embodiments of this disclosure can be combined with each other.
[0148] The above are merely specific embodiments of this disclosure, but the scope of protection of this disclosure is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this disclosure should be included within the scope of protection of this disclosure. Therefore, the scope of protection of this disclosure should be determined by the scope of the claims.
Claims
1. A method for compensating the filling volume of a filling equipment, comprising: The automatic compensation mechanism is triggered in response to the equipment status of the filling equipment to obtain the filling volume compensation value and the compensation time length; as well as During the filling process of the filling equipment, the filling volume of the filling equipment is compensated based on the compensation time length and the filling volume compensation value.
2. The compensation method according to claim 1, wherein, During the filling process of the filling equipment, the filling volume of the filling equipment is compensated based on the compensation time length and the filling volume compensation value, including: Obtain the set value of the filling volume of the filling equipment; and During the filling process of the filling equipment, the filling volume compensation value is compensated to the set value until the compensation time length reaches the compensation time length.
3. The compensation method according to claim 2 further includes: In response to the activation of the first calculation function and the device status triggering the automatic compensation mechanism, the filling volume compensation value is calculated based on the set value.
4. The compensation method according to claim 3, wherein, Calculating the filling volume compensation value based on the set value includes: Calculate the first average value of the actual filling amount of the N containers after the filling equipment fills the N containers according to the set value, where N is an integer greater than or equal to 1; Based on the first average value, determine whether the set value needs to be adjusted; In response to the fact that the set value does not need to be adjusted, the minimum actual filling volume obtained by the filling equipment within a preset time period is acquired; and The difference between the reference filling volume and the minimum value is used as the filling volume compensation value.
5. The compensation method according to claim 4, wherein, Based on the first average value, determining whether the set value needs to be adjusted includes: Determine whether the first average value is within the preset range [a, b]; In response to the first average value being within the preset range [a, b], the set value does not need to be adjusted; or If the first average value is not within the preset range [a, b], the set value needs to be adjusted. Where both a and b are greater than 0, and b is greater than a.
6. The compensation method according to claim 4, wherein, In response to the activation of the first calculation function, the calculation of the filling volume compensation value based on the set value further includes: In response to the need to adjust the set value, the set value is updated based on the first average value; and After updating the set value, the first average value, the minimum value, and the filling volume compensation value are calculated.
7. The compensation method according to claim 6, wherein, In response to the need to adjust the set value, updating the set value based on the first average value includes: In response to the first average value being less than a, the difference between a and the first average value is used as a first compensation value for the set value, and the sum of the set value and the first compensation value is used as the updated set value; or In response to the first average value being greater than b, the difference between the first average value and b is used as a second compensation value for the set value, and the difference between the set value and the second compensation value is used as the updated set value.
8. The compensation method according to claim 5, wherein, a is the reference filling volume, and b is the sum of the reference filling volume and the accuracy adjustment value.
9. The compensation method according to claim 2 further includes: In response to the activation of the second calculation function and the filling equipment meeting the equipment state, the compensation time length is calculated.
10. The compensation method according to claim 9, wherein, Calculating the compensation time length includes: Every preset time interval, calculate the second average value of the filling amount of M containers that are continuously filled within the preset time interval, where M is an integer greater than or equal to 1; The time elapsed from the start of the second calculation function and the device state triggering the automatic compensation mechanism, through the point where the second average value was less than the reference filling volume, to the point where it recovered to be greater than or equal to the reference filling volume; and The duration of the consumed time is the duration of the compensation time.
11. The compensation method according to claim 10, wherein, Obtaining the time elapsed from the start of the second calculation function and the device state triggering the automatic compensation mechanism, through the point where the second average value is less than the reference filling volume, and then recovers to a value greater than or equal to the reference filling volume, includes: Each time the second average value is calculated, the counter is incremented by a preset step size to obtain the counter value when the second average value recovers to a level greater than or equal to the reference filling volume; and The duration of the consumed time is equal to the product of the ratio of the counter's count value to the preset step size and the preset time period.
12. The compensation method according to claim 1, wherein, The automatic compensation mechanism is triggered when the equipment is in a state where filling has been paused and then restarted.
13. The compensation method according to claim 1, wherein, The automatic compensation mechanism is triggered when the device is in a state of receiving a production exit signal, wherein the production exit signal is generated and provided by another filling device running in parallel with the filling device in response to the production exit, the filling device and the other filling device are connected to the same feeding device, and the feeding device provides the filling device and the other filling device with materials for filling.
14. The compensation method according to claim 13 further includes: In response to the filling equipment exiting production, the exit production signal is output.
15. A filling method for a filling device, comprising: The compensation method according to any one of claims 1-14.
16. A filling volume compensation device for filling equipment, comprising: The acquisition unit is configured to acquire the filling volume compensation value and the compensation time length in response to the automatic compensation mechanism triggered by the equipment status of the filling equipment. as well as The compensation unit is configured to compensate the filling amount of the filling equipment based on the compensation time length and the filling amount compensation value during the filling process of the filling equipment.
17. An electronic device comprising: processor; A memory, comprising one or more computer program instructions, wherein the one or more computer program instructions are stored in the memory and, when executed by the processor, implement the method of any one of claims 1-15.
18. A computer-readable storage medium that non-transitoryly stores computer-readable instructions, wherein, The method of any one of claims 1-15 is implemented when the computer-readable instructions are executed by a processor.