Method for monitoring residual amount of printing supplies

By establishing a correction model based on pressure and residual wire length, and dynamically adjusting under real-time environmental parameters and wire characteristic input, the problem of insufficient accuracy and stability in complex environments is solved in the existing technology, and high-precision and adaptability of printing consumable margin monitoring is achieved.

CN119526759AActive Publication Date: 2025-02-28SHENZHEN ELEGOO TECH CO LTD

Patent Information

Application Number
CN202411631452.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-15
Publication Date
2025-02-28
Estimated Expiration
2044-11-15

AI Technical Summary

Technical Problem

When facing a complex and changing working environment, existing printing consumable margin monitoring technology is difficult to maintain high accuracy and stability, and fails to fully consider the impact of environmental parameters and wire characteristics on the monitoring results.

Method used

By obtaining the pressure values ​​of empty and full disk states under preset environmental parameters, performing a simulated wire running program to record the pressure values ​​and remaining wire lengths, establishing a correction model of the pressure and remaining wire lengths based on these data, and dynamically adjusting the model under real-time environmental parameters and wire characteristic inputs.

Benefits of technology

It significantly improves the accuracy and robustness of printing consumable margin monitoring, enhances the system's adaptability in complex and variable working environments, and ensures that the monitoring results maintain high accuracy and stability under various practical application conditions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119526759A_ABST
    Figure CN119526759A_ABST
Patent Text Reader

Abstract

The invention discloses a printing consumable allowance monitoring method, and relates to the technical field of consumable allowance monitoring, and the method comprises the steps: obtaining a first pressure value in an empty disk state and a second pressure value in a full disk state under preset environment parameters; on the basis of the preset type of wire, executing a wire running simulation program, and recording a third pressure value and a corresponding residual wire length in the wire drawing process; based on the first pressure value, the second pressure value, the third pressure value, the residual wire rod length, the preset environment parameters and the preset type of wire rod, a correction model of the pressure and the residual wire rod length is established; and collecting the current environmental parameters, the current pressure value and the currently used wire rod type, inputting into the correction model, and calculating to obtain the current residual wire rod length. According to the invention, the precision and robustness of printing consumable allowance monitoring and the adaptive capacity in a complex and changeable working environment are remarkably improved, so that the problems of low monitoring precision and poor adaptability in the prior art are effectively solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of consumables remaining amount monitoring, and in particular to a method for monitoring the remaining amount of printing consumables. Background Art

[0002] Printing consumables remaining monitoring technology is an important part of the 3D printing field. Its purpose is to monitor the remaining amount of wire in the printing process in real time to ensure the continuity and reliability of the printing process. Early printing consumables remaining monitoring methods mainly relied on simple mechanical sensors and weight measuring devices. Although these methods can provide basic monitoring functions, they have great limitations in accuracy and adaptability. With the continuous development of 3D printing technology, the requirements for consumables remaining monitoring are gradually increasing. In recent years, monitoring methods based on pressure sensors have been widely used, and the remaining amount of wire is inferred by measuring the pressure changes of the wire reel. This method has high sensitivity and accuracy, and can meet the needs of practical applications to a certain extent.

[0003] Although the existing printing consumables remaining monitoring technology has made significant progress in some aspects, there are still some shortcomings. First, most existing technologies only focus on a single pressure value or a simple linear relationship, and fail to fully consider the pressure change range from an empty tray to a full tray, which results in poor adaptability of the model under different load conditions. Secondly, the existing technology usually does not consider the impact of environmental parameters (such as temperature and humidity) and wire characteristic parameters (such as material and diameter) on the monitoring results, which limits the robustness and accuracy of the monitoring system. For example, under different temperature and humidity conditions, the physical properties of the wire will change, thereby affecting the reading of the pressure sensor. In addition, the material and diameter of the wire will also affect the relationship between pressure and length, and the existing technology often ignores these factors. Therefore, the existing monitoring methods are difficult to maintain high accuracy and stability when facing complex and changing working environments. Finally, most of the existing technologies use simple linear models or static parameters, lacking the ability to dynamically respond to environmental and material changes, which limits their applicability and reliability in practical applications. Summary of the invention

[0004] In view of the above problems in the prior art, the present invention is proposed.

[0005] In order to solve the above technical problems, the present invention provides a method for monitoring the remaining amount of printing consumables, which can solve the problems mentioned in the background technology.

[0006] To solve the above technical problems, the present invention provides the following technical solutions: a method for monitoring the remaining amount of printing consumables, comprising: obtaining a first pressure value of an empty tray state and a second pressure value of a full tray state under preset environmental parameters; based on a predetermined type of wire, executing a simulated wire running program, recording a third pressure value and the corresponding remaining wire length during the wire extraction process; based on the first pressure value, the second pressure value, the third pressure value, the remaining wire length, the preset environmental parameters, and the predetermined type of wire, establishing a correction model of pressure and remaining wire length; collecting current environmental parameters, current pressure values ​​and the type of wire currently in use, and inputting the correction model to calculate the current remaining wire length.

[0007] As a preferred scheme of the method for monitoring the remaining amount of printing consumables described in the present invention, wherein: obtaining a first pressure value of an empty tray state and a second pressure value of a full tray state under preset environmental parameters, comprises the following steps: installing an empty wire tray to a wire tray bracket, adjusting the ambient temperature and ambient humidity to preset values, and collecting a first pressure value output by a pressure sensor; winding a predetermined weight of wire around the empty wire tray to obtain a wire tray in a full tray state; and collecting a second pressure value output by the pressure sensor.

[0008] The second pressure value corresponds to the wire rod reel in the full reel state.

[0009] As a preferred solution of the method for monitoring the remaining amount of printing consumables described in the present invention, wherein: based on a predetermined type of wire, a simulated wire running program is executed under the preset environmental parameters, and the third pressure value and the corresponding remaining wire length during the wire extraction process are recorded, including the following steps: under the preset environmental parameters, the simulated wire running program is started to pull the wire on the full wire reel at a preset rate; the third pressure value output by the pressure sensor during the pulling process is collected, and the collection time is recorded; the length of the extracted wire is calculated according to the preset rate and the recorded collection time, and the remaining wire length is determined according to the extracted wire length and the initial wire length; the above steps are repeated until the remaining wire length reaches the preset threshold.

[0010] As a preferred solution of the method for monitoring the remaining amount of printing consumables described in the present invention, if it is found that the third pressure value is stable for more than two consecutive times during the repeated execution process, the simulated wire running program is stopped and a check is made to determine whether the following situation exists: if the third pressure value is equal to or less than the first pressure value, it is determined that the wire is completely pulled out.

[0011] If the third pressure value is greater than the second pressure value, check whether the wire is entangled or stuck, and remove it.

[0012] If the third pressure value is between the first pressure value and the second pressure value but does not change with time, check whether the current environmental parameters are consistent with the preset environmental parameters. If not, adjust to the preset environmental parameters and restart the step of "collecting the third pressure value output by the pressure sensor during traction, and recording the collection time"; if consistent, check whether the traction mechanism has a fault, and restart the step of "collecting the third pressure value output by the pressure sensor during traction, and recording the collection time" after repairing it.

[0013] If the change of the third pressure value exceeds the first preset range, check the working status of the pressure sensor to confirm whether there is any damage or signal interference. After repairing or replacing the pressure sensor, restart the step "collect the third pressure value output by the pressure sensor during traction, and record the collection time"; if the pressure sensor works normally, check whether the wire quality is consistent. After eliminating the wire quality problem, restart the step "collect the third pressure value output by the pressure sensor during traction, and record the collection time".

[0014] As a preferred embodiment of the method for monitoring the remaining amount of printing consumables described in the present invention, a correction model of pressure and remaining wire length is established based on the first pressure value, the second pressure value, the third pressure value, the remaining wire length, the preset environmental parameters, and the predetermined type of wire, including the following steps: calculating the pressure change range of the wire tray from the empty tray state to the full tray state based on the first pressure value and the second pressure value; fitting the relationship curve between pressure and remaining wire length based on the data set of the third pressure value and the corresponding remaining wire length and the pressure change range; adjusting the relationship curve according to the first correction factor, and generating a correction model of pressure and remaining wire length; verifying the correction model, comparing the actual remaining wire length with the output value result of the correction model, and if there is an error, adjusting the parameters of the correction model according to the error until the preset accuracy requirement is met.

[0015] As a preferred solution of the method for monitoring the remaining amount of printing consumables of the present invention, the method includes fitting a relationship curve between pressure and remaining wire length based on the data set of the third pressure value and the corresponding remaining wire length and the pressure variation range, including the following steps:

[0016] Construct a fitting model, expressed as:

[0017]

[0018] Where, L is the remaining wire length; L total is the total length of the wire; P is the current pressure value; k is the correction coefficient; ΔP2 is the second pressure value in the full tray state; ΔP1 is the first pressure value in the empty tray state.

[0019] Data preparation: Extract the recorded third pressure value P i Corresponding to the remaining wire length L i The dataset (P i ,L i ), calculate the third pressure value P i Relative position P within the pressure variation range relative , and obtain the data set (P relative ,L i ), the data set (P relative ,L i ) is divided into training set and validation set.

[0020] Preliminary estimate L total and initialize k, use the training set and nonlinear least squares method to fit L total and k;

[0021] The performance of the fitting model is verified, and after the verification is passed, the parameters of the fitting model are refitted to obtain the final L total and k value.

[0022] Record the final relationship curve equation:

[0023]

[0024] The first correction factor includes a preset environmental parameter and a characteristic parameter of a predetermined type of wire; wherein the characteristic parameter of the preset environmental parameter includes a temperature sensitivity coefficient C T and humidity sensitivity coefficient C H The characteristic parameters of the predetermined type of wire include the elastic modulus E of the current wire, the elastic modulus E of the reference wire ref , the density of the current wire, ρ, and the density of the reference wire, ρ ref .

[0025] As a preferred solution of the method for monitoring the remaining amount of printing consumables of the present invention, wherein: adjusting the relationship curve according to the first correction factor and generating a correction model of pressure and remaining wire length comprises the following steps:

[0026] Get the current ambient temperature T and the current ambient humidity H, and compare them with the reference ambient temperature T ref and reference ambient humidity H ref Compare.

[0027] Based on the temperature sensitivity coefficient C T , humidity sensitivity coefficient C H , current ambient temperature T, current ambient humidity H, reference ambient temperature T ref , and the reference ambient humidity H ref , correct the current pressure value P and get Pcorrected :

[0028]

[0029] in, is the rate of change of pressure to temperature; α is the linear thermal expansion coefficient of the wire; is the rate of change of pressure to humidity; β is the moisture absorption coefficient of the wire.

[0030] Based on the elastic modulus E of the current wire and the elastic modulus E of the reference wire ref , the density of the current wire, ρ, and the density of the reference wire, ρ ref And the initial correction coefficient k0, correct the correction coefficient k to obtain the corrected correction coefficient k′:

[0031]

[0032] P corrected Substitute the corrected correction coefficient k′ into the final determined relationship curve equation to obtain the corrected model, which is expressed as:

[0034]

[0035] To further solve the above technical problems, the present invention provides the following technical solutions: a monitoring system for the remaining amount of printing consumables, comprising: an acquisition module, used to obtain a first pressure value of an empty tray state and a second pressure value of a full tray state under preset environmental parameters; an execution and recording module, used to execute a simulated wire running program based on a predetermined type of wire, and record a third pressure value and a corresponding remaining wire length during the wire extraction process; a model building module, used to establish a correction model of pressure and remaining wire length based on the first pressure value, the second pressure value, the third pressure value, the remaining wire length, the preset environmental parameters, and the predetermined type of wire; a calculation module, used to collect current environmental parameters, current pressure values ​​and the type of wire currently in use, and input the correction model to calculate the current remaining wire length.

[0036] A computer device comprises a memory and a processor, wherein the memory stores a computer program, and wherein the processor implements the steps of the above-mentioned method for monitoring the remaining amount of printing consumables when executing the computer program.

[0037] A computer-readable storage medium stores a computer program thereon, wherein when the computer program is executed by a processor, the steps of the method for monitoring the remaining amount of printing consumables as described above are implemented.

[0038] Beneficial effects of the present invention: The present invention not only significantly improves the accuracy and robustness of monitoring the remaining amount of printing consumables, but also enhances the system's adaptability in complex and changeable working environments by introducing preset environmental parameters and characteristic parameters of a predetermined type of wire as correction factors, and combining polynomial regression, sine function and logarithmic function to fit the relationship curve between pressure and remaining wire length. By calculating the pressure variation range of the wire tray from an empty tray state to a full tray state, and establishing a more accurate mathematical model on this basis, the present invention can more accurately reflect the relationship between pressure and remaining wire length under different load conditions; at the same time, by introducing environmental parameters such as temperature and humidity, as well as characteristic parameters such as wire material and diameter, the model is further adjusted and optimized, so that the monitoring results can maintain high accuracy and stability under various practical application conditions. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.

[0040] Figure 1 An overall flow chart of a method for monitoring the remaining amount of printing consumables provided by one embodiment of the present invention.

[0041] Figure 2 A diagram of a computer device for the method for monitoring the remaining amount of printing consumables of the present invention. DETAILED DESCRIPTION

[0042] In order to make the above-mentioned purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are described in detail below in conjunction with the drawings of the specification. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary persons in the art without creative work should fall within the scope of protection of the present invention.

[0043] In the following description, many specific details are set forth to facilitate a full understanding of the present invention, but the present invention may also be implemented in other ways different from those described herein, and those skilled in the art may make similar generalizations without violating the connotation of the present invention. Therefore, the present invention is not limited to the specific embodiments disclosed below.

[0044] Example 1, reference Figure 1 , as an embodiment of the present invention, provides a method for monitoring the remaining amount of printing consumables, comprising:

[0045] In the prior art, firstly, most of the prior art only focuses on a single pressure value or a simple linear relationship, and fails to fully consider the pressure variation range from an empty plate to a full plate, which results in poor adaptability of the model under different load conditions. Secondly, the prior art generally does not consider the impact of environmental parameters (such as temperature and humidity) and wire characteristic parameters (such as material and diameter) on the monitoring results, which limits the robustness and accuracy of the monitoring system. For example, under different temperature and humidity conditions, the physical properties of the wire will change, thereby affecting the readings of the pressure sensor. In addition, the material and diameter of the wire will also affect the relationship between pressure and length, and the prior art often ignores these factors. Therefore, the existing monitoring methods are difficult to maintain high accuracy and stability when facing complex and changing working environments. Finally, most of the prior art uses simple linear models or static parameters, lacking the ability to dynamically respond to environmental and material changes, which limits its applicability and reliability in practical applications.

[0046] The present application provides a method for effectively solving the above-mentioned problems. Next, a plurality of embodiments will be combined to explain in detail how to implement the monitoring method of the remaining amount of printing consumables.

[0047] Figure 1 The overall flow chart of a method for monitoring the remaining amount of printing consumables is shown, including:

[0048] S1: Obtaining a first pressure value of an empty tray state and a second pressure value of a full tray state under preset environmental parameters;

[0049] S2: Based on the predetermined type of wire, executing a simulated wire running program, and recording a third pressure value and a corresponding remaining wire length during the wire extraction process;

[0050] S3: establishing a correction model of pressure and remaining wire length based on the first pressure value, the second pressure value, the third pressure value, the remaining wire length, the preset environmental parameters, and the predetermined type of wire;

[0051] S4: collecting current environmental parameters, current pressure values ​​and the type of wire currently in use, and inputting them into the correction model to calculate the current remaining wire length.

[0052] This embodiment will explain S1 to S4 in detail one by one:

[0053] S1: Obtaining a first pressure value of an empty tray state and a second pressure value of a full tray state under preset environmental parameters.

[0054] S1.1: Install an empty wire reel on a wire reel bracket, adjust the ambient temperature and humidity to preset values, and collect a first pressure value output by a pressure sensor.

[0055] It should be noted that the installation process of the empty wire reel needs to ensure its stable placement on the wire reel bracket so that the pressure sensor can accurately sense its weight. Since changes in temperature and humidity may cause slight expansion or contraction of the wire and equipment components, thereby affecting the pressure reading, the ambient temperature and humidity need to be adjusted during the measurement process to eliminate the influence of the two on the measurement. Usually, a constant temperature and humidity chamber or a sophisticated environmental control system can be used to achieve the preset temperature and humidity conditions. The selection of preset values ​​should take into account the common working environment of the 3D printer. For example, the temperature may be set at 23±1℃ and the relative humidity at 50±5%. In addition, the first pressure value collected by the pressure sensor represents the initial state of the system.

[0056] In this embodiment, the first pressure value is a pressure value measured in an empty tray state, representing the pressure when there is no wire.

[0057] S1.2: Keeping the ambient temperature and humidity constant, wind a predetermined weight of wire onto the empty wire reel to obtain a full wire reel.

[0058] It should be noted that the wire winding can ensure the consistency of the measurement conditions while keeping the ambient temperature and humidity constant. The predetermined weight of wire usually corresponds to the standard capacity of the wire reel of this model, such as 1 kg or 2 kg, depending on the printer and wire specifications. The winding process should be carried out evenly to ensure that the wire is evenly distributed on the wire reel to avoid uneven local weight distribution affecting the pressure measurement. In addition, special wire winding equipment or trained operators can be used to complete this step to ensure the consistency and repeatability of the winding. The full reel state can be defined as the wire is wound to 1-2 mm from the edge of the wire reel.

[0059] S1.3: Collect a second pressure value output by the pressure sensor, wherein the second pressure value corresponds to a wire rod reel in a full reel state.

[0060] The second pressure value is the pressure value when the tray is full, which represents the pressure corresponding to the maximum wire weight.

[0061] It should be noted that this step obtains the second pressure value in the full tray state, in contrast to the empty tray state. The pressure sensor used in the present invention has sufficient accuracy and range to accurately measure the entire weight range from empty tray to full tray, and the pressure sensor accuracy can reach ±0.1% full scale or higher. The second pressure value should be collected when the wire tray is completely stationary to eliminate dynamic influences, and multiple measurements can be performed and the average value can be taken to improve the reliability of the data. The second pressure value and the previous first pressure value together constitute the two key points of the relationship between wire weight and pressure, laying the foundation for the subsequent establishment of a more accurate wire remainder estimation model.

[0062] S2: Based on a predetermined type of wire, (specifically under preset environmental parameters), a simulated wire running program is executed to record a third pressure value and a corresponding remaining wire length during the wire extraction process.

[0063] S2.1: Keep the preset environmental parameters in S1 unchanged, start the wire running simulation program, and pull the wire on the full wire reel at a preset rate.

[0064] S2.2: During the traction process, the third pressure value output by the pressure sensor is collected, and the collection time is recorded.

[0065] S2.3: Calculate the length of the drawn wire according to the preset rate and the recorded acquisition time, and determine the remaining wire length according to the length of the drawn wire and the initial wire length.

[0066] Specifically, the remaining wire length is obtained by subtracting the drawn wire length from the initial wire length.

[0067] S2.4: Repeat S2.2 and S2.3 until the remaining wire length reaches a preset threshold.

[0068] It should be noted that the preset threshold refers to a critical value of the remaining wire length set by the system. When the remaining amount of wire in the wire tray reaches or falls below this critical value, the system will stop the simulated wire running program and may trigger a corresponding alarm or prompt. In the present invention, the preset threshold is a key parameter used to determine when the simulated wire running program should be stopped. The threshold represents a safe remaining wire length to ensure that there is enough time for wire replacement or other maintenance operations before continuing to run. The specific value of the preset threshold depends on multiple factors, including but not limited to the frequency of use of the wire, the duration of the printing task, and the user's requirements for a safety margin. By setting a reasonable preset threshold, the system can warn in advance that the wire is about to run out, thereby avoiding production interruptions or equipment damage caused by insufficient wire. The determination of the preset threshold is usually based on experimental data and the actual needs of the user to ensure its applicability and reliability in different application scenarios.

[0069] Furthermore, if the third pressure value is found to be stable for more than two consecutive times during the repeated execution, the wire running simulation program is stopped and the following conditions are checked:

[0070] If the third pressure value is equal to or less than the first pressure value, it is determined that the wire is completely pulled out. It should be noted that after the wire is completely pulled out, the wire reel should return to a state close to an empty reel again, and the pressure value at this time should be equal to or very close to the first pressure value. Therefore, if the third pressure value is equal to or less than the first pressure value, it can be inferred that the wire has been completely pulled out. This step ensures that the system can accurately identify the situation of wire exhaustion and avoid equipment damage or other problems caused by continued operation due to the exhaustion of wire.

[0071] If the third pressure value is greater than the second pressure value, check whether the wire is entangled or stuck, and take appropriate measures to resolve it. It should be noted that under normal circumstances, the pressure should gradually decrease as the wire is gradually pulled out. If the pressure suddenly increases after a certain point and exceeds the second pressure value, this may be due to additional resistance caused by the wire being entangled, knotted, or stuck in a certain position. This abnormal situation needs to be checked immediately to avoid equipment damage or data distortion. Through this judgment, the problem of wire entanglement or jamming can be discovered and solved in time to ensure the normal operation of the system.

[0072] If the third pressure value is between the first pressure value and the second pressure value but does not change over time, then:

[0073] Check whether the current environmental parameters are consistent with the preset environmental parameters. If not, adjust to the preset environmental parameters and restart S2.2. It should be noted that changes in environmental parameters (such as ambient temperature and ambient humidity) may affect the readings of the pressure sensor. Even if the preset environmental parameters have been set in S2.1, the environmental parameters may change in actual operation. If it is found that the third pressure value has not changed over time, first confirm whether the current environmental parameters still meet the preset conditions. If not, adjust to the preset value and restart S2.2, so as to eliminate the influence of environmental factors on the measurement results.

[0074] If they are consistent, check whether there is any fault in the traction mechanism (such as unstable traction force or stuck mechanical parts), and restart S2.2 after repair. It should be noted that if the current environmental parameters have not changed, but the third pressure value remains unchanged, this may mean that there is a problem with the traction mechanism. For example, unstable traction force or stuck mechanical parts may cause the wire to be unable to be pulled out normally. In this case, it is necessary to check the traction mechanism and repair any faults found to ensure that the wire can be pulled out smoothly, thereby resuming the normal data acquisition process.

[0075] If the change of the third pressure value exceeds the first preset range, then:

[0076] Check the working status of the pressure sensor to confirm whether there is any damage or signal interference. Repair or replace the pressure sensor and restart S2.2. It should be noted that the working status of the pressure sensor directly affects the accuracy of the pressure value. If the change of the third pressure value exceeds the first preset range, this may indicate that the sensor is faulty or interfered by external signals. By checking the pressure sensor and repairing or replacing the problematic sensor, the accuracy of the data can be ensured, thereby improving the reliability of the entire monitoring system.

[0077] If the pressure sensor is working properly, check whether the wire quality is consistent. After eliminating the wire quality problem, restart S2.2. It should be noted that the quality of the wire (such as diameter, material consistency) will also affect the change of pressure value. If the pressure sensor is normal, but the pressure value is still abnormal, then it is necessary to check whether the wire quality is consistent. For example, changes in wire diameter or uneven material may cause fluctuations in pressure values. By eliminating wire quality problems, the reliability and consistency of the data can be further ensured.

[0078] It should be noted that the first preset range refers to the allowable fluctuation range of the third pressure value change under normal operating conditions. This range is determined by experiments or theoretical calculations during system design, and is used to determine whether the pressure value output by the pressure sensor is in a normal working state. Specifically, the first preset range defines that the amplitude of the change of the third pressure value should be kept within a specific numerical range during two or more consecutive acquisitions. For example, if the pressure change under normal operating conditions of the system should be ±0.5 Newton, then the first preset range can be set to ±0.5 Newton. In the present invention, the first preset range is to ensure that the pressure value change output by the pressure sensor during the wire extraction process is within the expected range. By setting a specific numerical range, the system can monitor and identify abnormal pressure changes. If the change of the third pressure value exceeds this first preset range, it may indicate that there is a pressure sensor failure, wire quality problems or other external interference.

[0079] S3: establishing a correction model of pressure and remaining wire length based on the first pressure value, the second pressure value, the third pressure value, the remaining wire length, the preset environmental parameters, and the predetermined type of wire.

[0080] S3.1: Calculate the pressure change range of the wire tray from an empty tray state to a full tray state according to the first pressure value and the second pressure value.

[0081] The prior art usually only focuses on a single pressure value or a simple linear relationship, without explicitly considering the pressure change range from an empty tray to a full tray, which will result in poor adaptability of the subsequent correction model under different load conditions. Therefore, by calculating the pressure change range, the present invention can more accurately describe the pressure change of the wire tray from an empty tray to a full tray, providing more comprehensive basic data for subsequent modeling. This step ensures the applicability and accuracy of the correction model under different load conditions.

[0082] Specifically, the calculation formula for the pressure variation range is:

[0083] ΔP = P2 - P1;

[0084] Among them, ΔP is the pressure variation range; P2 is the second pressure value in the full disk state; P1 is the first pressure value in the empty disk state.

[0085] S3.2: fitting a relationship curve between the pressure and the remaining wire length based on the data set of the third pressure value and the corresponding remaining wire length and the pressure variation range.

[0086] Specifically, in the actual application scenario of monitoring printing consumables, the weight distribution of the wire may be uneven, and the geometric shape of the wire reel will affect the relationship between pressure and length. Therefore, the present invention proposes the following fitting model:

[0087]

[0088] Where, L is the remaining wire length; L total is the total length of the wire; P is the current pressure value; k is the correction coefficient, which is related to the specific geometric shape of the wire disc (such as diameter, height ratio, etc.) and can be obtained by fitting the experimental data.

[0089] It should be noted that the first is the remaining length calculated based on an ideal situation. The square root term takes into account the effect of uneven weight distribution of the wire, since the weight of the wire is proportional to the square of its radius. is a correction term that takes into account the effect of the wire reel geometry. The sine function simulates the nonlinear relationship caused by the wire reel shape, especially when approaching the empty and full reel states.

[0090] Preferably, when P = P1, L = L total ; When P2=P1, L=0, which is consistent with the actual situation.

[0091] Further, data preparation is performed: a) extracting the data set of the third pressure value recorded and the corresponding remaining wire length, expressed as (P i ,L i ), where the third pressure value is P i , L i is the corresponding remaining wire length. b) Calculate the third pressure value P i Relative position within the pressure range: Get the data set (P relative ,L i c) The data set (P relative ,l i ) is divided into training set and validation set with a ratio of 8:2.

[0092] Then, the initial parameter estimation is performed: a) According to the wire specifications and experimental settings, a preliminary estimate of l total b) Initialize k to a small positive number, such as 0.1.

[0093] Then, parameter fitting is performed, specifically using the training set and nonlinear least squares method (such as Levenberg-Marquardt algorithm) to fit the parameter L total and k, which are prior art, will not be described in detail herein.

[0094] Perform model validation: a) Use the validation set to evaluate the performance of the fitted model. b) Calculate the coefficient of determination R 2 and root mean square error (RMSE). c) If the performance on the validation set is not ideal, return to the previous step to adjust the initial parameters or modify the optimization strategy, and then re-perform parameter fitting.

[0095] Finally, after confirming that the performance of the fitted model on the validation set meets the requirements, the model parameters are refitted using the entire data set to obtain the final L total and k value.

[0096] Record the final relationship curve equation:

[0097]

[0098] It should be noted that all relevant parameter values ​​(L total , k, P1, P2) for use in subsequent steps.

[0099] S3.3: Adjust the relationship curve according to the first correction factor, and generate a correction model of pressure and remaining wire length.

[0100] Get the current ambient temperature T and the current ambient humidity H, and compare them with the reference ambient temperature T ref and reference ambient humidity H ref Compare.

[0101] The first correction factor includes a preset environmental parameter and a characteristic parameter of a predetermined type of wire. The characteristic parameter of the preset environmental parameter includes a temperature sensitivity coefficient C T and humidity sensitivity coefficient C H The characteristic parameters of the predetermined type of wire include the elastic modulus E of the current wire, the elastic modulus E of the reference wire ref , the density of the current wire, ρ, and the density of the reference wire, ρ ref .

[0102] Temperature sensitivity coefficient C T :

[0103]

[0104] in, is the rate of change of pressure to temperature (obtained through experiments); α is the linear thermal expansion coefficient of the wire; E is the elastic modulus.

[0105] Moisture sensitivity coefficient C H :

[0106]

[0107] in, is the rate of change of pressure to humidity (measured through experiments); β is the moisture absorption coefficient of the wire, which indicates the proportion of mass change caused by moisture absorption of the wire.

[0108] Based on the temperature sensitivity coefficient C T , humidity sensitivity coefficient C H , current ambient temperature T, current ambient humidity H, reference ambient temperature T ref , and the reference ambient humidity H ref , correct the current pressure value P and get P corrected :

[0109]

[0110] Based on the elastic modulus E of the current wire and the elastic modulus E of the reference wire ref , the density of the current wire, ρ, and the density of the reference wire, ρ ref And the initial correction coefficient k0, correct the correction coefficient k to obtain the corrected correction coefficient k′:

[0111]

[0112] P corrected Substitute the corrected correction coefficient k′ into the final determined relationship curve equation to obtain the corrected model, which is expressed as:

[0113]

[0114] S3.4: Verify the correction model, compare the actual remaining wire length with the output value result of the correction model, and if there is an error, adjust the parameters of the correction model according to the error until the preset accuracy requirement is met.

[0115] Specifically, the error between the remaining wire length output by the correction model and the actual value is calculated. If the error exceeds the second preset range, k0, T ref or H ref The model is modified by iterative adjustment of parameters until the accuracy requirements are met.

[0116] Preferably, the present invention improves the accuracy and adaptability of the remaining amount monitoring method of printing consumables by introducing a first correction factor based on preset environmental parameters and characteristic parameters of a predetermined type of wire. Compared with the prior art, it has the following advantages: First, the traditional technology often relies on a single pressure measurement value, fails to fully consider the influence of environmental factors such as temperature and humidity, resulting in large errors in the monitoring results. The present invention adopts a correction model to dynamically adjust the relationship between pressure and remaining wire length by comprehensively considering environmental parameters and wire characteristics, ensuring that the monitoring results under various environmental conditions are more accurate. Secondly, it has strong adaptability. Since the physical properties of materials and changes in environmental conditions have an increasingly significant impact on the use status of wires, the present invention can adapt to the characteristics of different environments and materials by introducing temperature sensitivity coefficients and humidity sensitivity coefficients, so that the monitoring system can still maintain efficient and stable performance when facing variable working conditions. Finally, most of the prior art is limited to simple linear models or static parameters, and lacks the ability to dynamically respond to environmental and material changes. The correction model of the present invention not only has complex nonlinear characteristics, but also can be adjusted according to real-time measurement data in actual operation, thereby achieving more efficient monitoring in practical applications.

[0117] S4: Collect current environmental parameters, current pressure value and the type of wire currently in use, input them into the correction model, and calculate the current remaining wire length.

[0118] In summary, the present invention not only significantly improves the accuracy and robustness of monitoring the remaining amount of printing consumables, but also enhances the system's adaptability in complex and changeable working environments by introducing preset environmental parameters and characteristic parameters of a predetermined type of wire as correction factors, and combining polynomial regression, sine function, and logarithmic function to fit the relationship curve between pressure and remaining wire length. By calculating the pressure variation range of the wire tray from an empty tray state to a full tray state, and establishing a more accurate mathematical model on this basis, the present invention can more accurately reflect the relationship between pressure and remaining wire length under different load conditions; at the same time, by introducing environmental parameters such as temperature and humidity, as well as characteristic parameters such as wire material and diameter, the model is further adjusted and optimized, so that the monitoring results can maintain high accuracy and stability under various practical application conditions.

[0119] Embodiment 2 is an embodiment of the present invention, which provides a monitoring system for the remaining amount of printing consumables, including: an acquisition module, used to obtain a first pressure value of an empty tray state and a second pressure value of a full tray state under preset environmental parameters; an execution recording module, used to execute a simulated wire running program based on a predetermined type of wire, and record a third pressure value and a corresponding remaining wire length during the wire extraction process; a model building module, used to establish a correction model of pressure and remaining wire length based on the first pressure value, the second pressure value, the third pressure value, the remaining wire length, the preset environmental parameters, and the predetermined type of wire; a calculation module, used to collect current environmental parameters, current pressure values ​​and the type of wire currently in use, and input the correction model to calculate the current remaining wire length.

[0120] Example 3, reference Figure 2 , is an embodiment of the present invention, which is different from the previous embodiment in that: if the function 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 invention, or the part that contributes to the prior art or the 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, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.

[0121] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in conjunction with such instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in conjunction with such instruction execution systems, devices or apparatuses.

[0122] More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk case (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be a paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, deciphering or, if necessary, processing in another suitable manner, and then stored in a computer memory.

[0123] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, a plurality of steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0124] Example 4 is an embodiment of the present invention, which provides a method for monitoring the remaining amount of printing consumables. In order to verify the beneficial effects of the present invention, scientific demonstration is carried out through economic benefit calculation and simulation experiments.

[0125] First, this embodiment selects three commonly used 3D printing filaments: PLA, ABS and PETG, and prepares multiple identical full-disk samples for each filament. The experimental environment is set to 9 different temperature and humidity combinations, namely 15°C, 25°C and 35°C, with 30%, 50% and 70% relative humidity. Under each environmental condition, this embodiment uses precision pressure sensors and length measuring equipment to record the actual remaining wire length and the corresponding pressure value at fixed intervals during the process from full to empty of the wire tray. At the same time, this embodiment collects environmental parameters in real time, including temperature and humidity data. These data constitute the basic data set for the experiment of this embodiment.

[0126] Subsequently, this embodiment applies the present invention and the prior art to predict the remaining wire length. For the present invention, an initial relationship curve based on pressure and remaining length is first established, and then dynamic correction is performed according to real-time environmental parameters and wire characteristics to obtain the final prediction result. For the prior art method, this embodiment uses a common linear model for prediction, which only considers the simple correspondence between the pressure value and the remaining length. During the experiment, this embodiment focuses on three aspects of performance indicators: prediction accuracy (evaluated by comparing the error between the predicted value and the actual value), environmental adaptability (observing the prediction effect under different environmental conditions) and computational efficiency (recording the calculation time required for each prediction). By comparing and analyzing these indicators, this embodiment comprehensively evaluates the advantages and improvements of the present invention over the prior art.

[0127] Table 1 Comparison with existing technology

[0128]

[0129] As shown in Table 1, the prediction error rate of the present invention under various conditions is significantly lower than that of the prior art. In particular, under extreme environmental conditions (such as 15°C / 30% humidity and 35°C / 70% humidity), the advantages of the present invention are more obvious. For example, for ABS wire under 35°C / 70% humidity, the error rate of the present invention is only 1.2%, while the error rate of the prior art is as high as 8.2%. This fully proves the superiority of the present invention in terms of environmental adaptability.

[0130] In addition, the present invention has good adaptability to different types of wires (PLA, ABS, PETG), and the error rate is generally maintained at about 1%, while the error rate of the prior art fluctuates greatly between different wires. This shows that the present invention can better adapt to the characteristics of different wires and improve the versatility and practicality of the system.

[0131] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solutions of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical solutions of the present invention, which should all be included in the scope of the claims of the present invention.

Claims

1. A method for monitoring the remaining amount of printing consumables, characterized in that: include: Obtaining a first pressure value of an empty tray state and a second pressure value of a full tray state under preset environmental parameters; Based on the predetermined type of wire, a simulated wire running program is executed, and a third pressure value and a corresponding remaining wire length in the process of drawing out the wire are recorded; Establishing a correction model of pressure and remaining wire length based on the first pressure value, the second pressure value, the third pressure value, the remaining wire length, the preset environmental parameters, and the predetermined type of wire; The current environmental parameters, the current pressure value and the type of wire currently in use are collected and input into the correction model to calculate the current remaining wire length.

2. The method for monitoring the remaining amount of printing consumables according to claim 1, characterized in that: Obtaining a first pressure value of an empty tray state and a second pressure value of a full tray state under preset environmental parameters comprises the following steps: Installing an empty wire reel to a wire reel bracket, adjusting the ambient temperature and humidity to preset values, and collecting a first pressure value output by a pressure sensor; Winding a predetermined weight of wire onto the empty wire reel to obtain a full wire reel; collecting a second pressure value output by the pressure sensor; The second pressure value corresponds to the wire rod reel in the full reel state.

3. The method for monitoring the remaining amount of printing consumables according to claim 2, characterized in that: Based on a predetermined type of wire, a simulated wire running program is performed under the preset environmental parameters, and a third pressure value and a corresponding remaining wire length in the process of drawing out the wire are recorded, including the following steps: Under the preset environmental parameters, a wire running simulation program is started to pull the wire on the full wire reel at a preset rate; Collecting the third pressure value output by the pressure sensor during the traction process and recording the collection time; Calculating the length of the drawn wire according to the preset rate and the recorded acquisition time, and determining the remaining wire length according to the length of the drawn wire and the initial wire length; The above steps are repeated until the remaining wire length reaches a preset threshold.

4. The method for monitoring the remaining amount of printing consumables according to claim 3, characterized in that: If the third pressure value is found to be stable for two or more times in a row during the repeated execution, the wire running simulation program is stopped and the following conditions are checked: If the third pressure value is equal to or less than the first pressure value, it is determined that the wire is completely withdrawn; If the third pressure value is greater than the second pressure value, check whether the wire is entangled or stuck, and remove it; If the third pressure value is between the first pressure value and the second pressure value but does not change with time, check whether the current environmental parameters are consistent with the preset environmental parameters. If not, adjust to the preset environmental parameters and restart the step of "collecting the third pressure value output by the pressure sensor during the traction process and recording the collection time"; If they are consistent, check whether the traction mechanism is faulty. After repair, restart the step "collect the third pressure value output by the pressure sensor during the traction process and record the collection time"; If the change of the third pressure value exceeds the first preset range, check the working status of the pressure sensor to confirm whether there is any damage or signal interference. After repairing or replacing the pressure sensor, restart the step "collecting the third pressure value output by the pressure sensor during traction, and recording the collection time"; if the pressure sensor works normally, check whether the wire quality is consistent. After eliminating the wire quality problem, restart the step "collecting the third pressure value output by the pressure sensor during traction, and recording the collection time".

5. The method for monitoring the remaining amount of printing consumables according to claim 4, characterized in that: Based on the first pressure value, the second pressure value, the third pressure value, the remaining wire length, the preset environmental parameters, and the predetermined type of wire, a correction model of pressure and remaining wire length is established, comprising the following steps: Calculating a pressure variation range of the wire tray from the empty tray state to the full tray state according to the first pressure value and the second pressure value; Fitting a relationship curve between pressure and remaining wire length based on the data set of the third pressure value and the corresponding remaining wire length and the pressure variation range; Adjusting the relationship curve according to the first correction factor and generating a correction model of pressure and remaining wire length; Verify the correction model, compare the actual remaining wire length with the output value result of the correction model, and if there is an error, adjust the parameters of the correction model according to the error until the preset accuracy requirement is met.

6. The method for monitoring the remaining amount of printing consumables according to claim 5, characterized in that: Based on the data set of the third pressure value and the corresponding remaining wire length and the pressure variation range, fitting a relationship curve between the pressure and the remaining wire length includes the following steps: Construct a fitting model, expressed as: Where, L is the remaining wire length; L total is the total length of the wire; P is the current pressure value; k is the correction coefficient; ΔP2 is the second pressure value in the full tray state; ΔP1 is the first pressure value in the empty tray state; Data preparation: Extract the recorded third pressure value P i Corresponding to the remaining wire length L i The dataset (P i ,L i ), calculate the third pressure value P i Relative position P within the pressure variation range relative , and obtain the data set (P relative ,L i ), the data set (P relative ,L i ) is divided into training set and validation set; Preliminary estimate of L total and initialize k, use the training set and nonlinear least squares method to fit L total and k; The performance of the fitting model is verified, and after the verification is passed, the parameters of the fitting model are refitted to obtain the final L total and k value; Record the final relationship curve equation: The first correction factor includes a preset environmental parameter and a characteristic parameter of a predetermined type of wire; wherein the characteristic parameter of the preset environmental parameter includes a temperature sensitivity coefficient C T and humidity sensitivity coefficient C H The characteristic parameters of the predetermined type of wire include the elastic modulus E of the current wire, the elastic modulus E of the reference wire ref , the density of the current wire, ρ, and the density of the reference wire, ρ ref .

7. The method for monitoring the remaining amount of printing consumables according to claim 6, characterized in that: The relationship curve is adjusted according to the first correction factor, and a correction model of pressure and remaining wire length is generated, including the following steps: Get the current ambient temperature T and the current ambient humidity H, and compare them with the reference ambient temperature T ref and reference ambient humidity H ref Compare; Based on the temperature sensitivity coefficient C T , humidity sensitivity coefficient C H , current ambient temperature T, current ambient humidity H, reference ambient temperature T ref , and the reference ambient humidity H ref , correct the current pressure value P and get P corrected : in, is the rate of change of pressure to temperature; α is the linear thermal expansion coefficient of the wire; is the rate of change of pressure to humidity; β is the moisture absorption coefficient of the wire; Based on the elastic modulus E of the current wire and the elastic modulus E of the reference wire ref , the density of the current wire, ρ, and the density of the reference wire, ρ ref And the initial correction coefficient k0, correct the correction coefficient k to obtain the corrected correction coefficient k′: P corrected Substitute the corrected correction coefficient k′ into the final determined relationship curve equation to obtain the corrected model, which is expressed as:

8. A system using the method for monitoring the remaining amount of printing consumables as claimed in any one of claims 1 to 7, characterized in that: include: An acquisition module, used for acquiring a first pressure value of an empty tray state and a second pressure value of a full tray state under preset environmental parameters; An execution recording module is used to execute a simulated wire running program based on a predetermined type of wire, and record a third pressure value and a corresponding remaining wire length during the wire extraction process; A model building module, for building a correction model of pressure and remaining wire length based on the first pressure value, the second pressure value, the third pressure value, the remaining wire length, the preset environmental parameters, and the predetermined type of wire; The calculation module is used to collect current environmental parameters, current pressure values ​​and the type of wire currently in use, and input the correction model to calculate the current remaining wire length.

9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method for monitoring the remaining amount of printing consumables according to any one of claims 1 to 7 are implemented.

10. 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 monitoring the remaining amount of printing consumables according to any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Intelligent consumables material tray rack for 3D printer

    CN108638502A

  • Method for intermittently monitoring remaining amount of 3D printing supplies, drying device and 3D printer

    CN116175974A

  • Consumable monitoring method, image forming device, electronic equipment and storage medium

    CN118082373A

  • Artificial turf, Artificial turf Filling agnet with non-stain property, and manufacturing method thereof

    KR1020210117607A

Cited By

  • Intelligent monitoring method for operation state of civil aviation self-service printing equipment

    CN121768119A