A printing consumable remaining amount calculation method and device, electronic equipment, and storage medium
Patent Information
- Application Number
- CN202410652145.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-24
- Publication Date
- 2026-11-03
- Estimated Expiration
- 2044-05-24
AI Technical Summary
Existing 3D printers cannot accurately identify the amount of filament remaining in the filament roll, resulting in inaccurate calculation of consumable balance.
By obtaining the rotational speed of the passive roller, the rotational speed of the feed tray is calculated. Combined with the rotational speed and diameter of the wire feeding wheel, the diameter of the wire in the feed tray is calculated. Based on the full roll diameter of the wire and the inner diameter of the feed tray when empty, the consumable allowance is calculated and displayed on the display mechanism.
It improved the accuracy of calculating the wire allowance, reduced the use of additional sensing components, and controlled production costs.
Smart Images

Figure CN118404814B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of 3D printing technology, and in particular to a method, apparatus, electronic device, and storage medium for calculating printing consumables surplus. Background Technology
[0002] The material station of a current 3D printer (used to hold multiple filament rolls and select the corresponding filament roll for feeding or unloading according to the 3D printer's host control) cannot identify the amount of filament remaining in the filament roll.
[0003] Based on the above-mentioned technical problems, the existing technology calculates the remaining amount of filament by measuring the weight of the filament with a weight sensor or by calculating the amount of filament extruded.
[0004] However, in practical applications, the accuracy of the filament allowance calculated by the above method is low. Summary of the Invention
[0005] In view of this, the purpose of the present invention is to provide a method, apparatus, electronic device, and storage medium for calculating the remaining amount of printing consumables.
[0006] In a first aspect, embodiments of the present invention provide a method for calculating the remaining amount of printing consumables. This method is applied to a controller in a printing control system. The controller is connected to a display mechanism. The printing control system further includes: a base, a material tray inside the base, the material tray being loaded with filament material, the material tray abutting against a passive roller, the filament material being conveyed to a filament feeding assembly via a filament feeding component and then output from a filament feeding port, the filament feeding assembly including a filament feeding wheel; the method includes:
[0007] During the wire feeding stage, the first rotational speed of the passive roller is obtained;
[0008] Calculate the current rotational speed of the material tray based on the first rotational speed, the diameter of the passive roller, and the outer diameter of the material tray;
[0009] Obtain the second rotational speed of the wire feed wheel;
[0010] Calculate the diameter of the current wire in the feed tray based on the current feed tray speed, the second speed, and the diameter of the wire feeding wheel;
[0011] Calculate the material consumable allowance based on the current wire diameter, the full roll diameter of the wire, and the inner diameter of the spool when the wire is empty;
[0012] The remaining amount of consumables is displayed on the display mechanism.
[0013] In conjunction with the first aspect, the steps for calculating the current material tray rotation speed based on the first rotation speed, the diameter of the driven roller, and the outer diameter of the material tray include:
[0014] Calculate using the following formula:
[0015]
[0016] Where n1 is the current rotational speed of the feed tray, n0 is the first rotational speed, d is the diameter of the passive roller, and D is the outer diameter of the feed tray.
[0017] In conjunction with the first aspect, the steps for calculating the current diameter of the wire in the feed tray based on the current tray rotation speed, the second rotation speed, and the diameter of the wire feeding wheel include:
[0018]
[0019] Where d1 is the current diameter of the wire in the feed pan, d2 is the diameter of the wire feeding wheel, and n2 is the second rotational speed.
[0020] In conjunction with the first aspect, the steps for calculating the consumable allowance based on the current wire diameter in the spool, the full roll diameter of the wire, and the inner diameter of the spool when the wire is empty include:
[0021] Calculate using the following formula:
[0022]
[0023] Where Y is the remaining material, d1 is the current diameter of the wire in the tray, d3 is the full roll diameter of the wire, and d0 is the inner diameter of the tray when the wire is empty.
[0024] In conjunction with the first aspect, prior to the step of obtaining the first rotational speed of the driven roller during the wire feeding stage, the method further includes:
[0025] Place the tray containing the filament into the receiving cavity of the base, and make the tray abut against the drive roller and the driven roller respectively;
[0026] Insert the filament on the feed tray into the feed port of the filament feeding assembly;
[0027] The first motor is started, which sequentially drives the drive gear set and the feed gear meshing with the drive gear set to rotate, so as to pre-feed the filament to the feed assembly.
[0028] In conjunction with the first aspect, after the step of starting the first motor and sequentially driving the drive gear set and the feed gear meshing with the drive gear set to rotate, so as to pre-feed the filament to the feed assembly, the method further includes:
[0029] Start the second motor to drive the wire feeding assembly to pull the wire, and then turn off the first motor.
[0030] In conjunction with the first aspect, there are multiple material trays, each corresponding one-to-one with a specific receiving space within the base. The controller stores the filament color information for each material tray, as well as the first mapping relationship between the multiple material trays and multiple drive gear sets, and also stores the second mapping relationship between the multiple drive gear sets and multiple servo motors. The method further includes:
[0031] In response to a color selection command, determine the target tray corresponding to the color information carried in the color selection command;
[0032] Based on the preset first and second mapping relationships, determine the target drive gear set and target servo motor corresponding to the target material tray;
[0033] Activate the target servo motor to engage the target drive gear set with the feed gear in the feed assembly;
[0034] The first motor is started to drive the target drive gear set to rotate, so as to pre-feed the specified wire material to the wire feeding assembly.
[0035] In conjunction with the first aspect, the method includes:
[0036] For each feed tray, calculate the corresponding wire allowance for that tray;
[0037] Establish the correspondence between the remaining amount of each thread and each material tray;
[0038] The corresponding relationship is displayed on the display mechanism.
[0039] Secondly, this application provides a printing consumable balance calculation device, which is applied to the controller in a printing control system. The controller is connected to a display mechanism. The printing control system further includes: a base, in which a material tray is provided, the material tray being loaded with filament material, the material tray abutting against a passive roller, the filament material being conveyed to the filament feeding assembly via a filament feeding component and then output from the filament feeding port, the filament feeding assembly including a filament feeding wheel; the device includes:
[0040] The first acquisition module is used to acquire the first rotational speed of the passive roller during the wire feeding stage;
[0041] The first calculation module is used to calculate the current rotational speed of the material tray based on the first rotational speed, the diameter of the passive roller, and the outer diameter of the material tray.
[0042] The second acquisition module is used to acquire the second rotational speed of the wire feeding wheel;
[0043] The second calculation module is used to calculate the diameter of the current wire in the tray based on the current tray rotation speed, the second rotation speed, and the diameter of the wire feeding wheel;
[0044] The third calculation module is used to calculate the remaining material consumption based on the current wire diameter, the full roll diameter of the wire, and the inner diameter of the material tray when the wire is empty.
[0045] The display module is used to display the remaining amount of consumables on the display mechanism.
[0046] Thirdly, this application provides an electronic device, which includes a memory and a processor. The memory stores a computer program, and the processor runs the computer program to cause the electronic device to perform the above-described method.
[0047] Fourthly, this application provides a readable storage medium storing computer program instructions, which are read and executed by a processor to perform the above-described method.
[0048] The embodiments of this invention bring the following beneficial effects: The printing consumable balance calculation method provided in this application calculates the current rotation speed of the filament tray by using a filament tray with the same linear speed and a passive roller during the filament feeding process. Then, based on the filament with the same linear speed and the filament feeding wheel, the current diameter of the filament in the filament tray is calculated. After that, the consumable balance is calculated based on the current diameter of the filament in the tray, the full roll diameter of the filament, and the inner diameter of the tray when the filament is empty. Compared with the method of measuring the extrusion amount by the extruder and then subtracting the extrusion amount from the total amount to obtain the consumable balance, which is not accurate when the number of 3D consumables is artificially reduced, this application can improve the accuracy of filament balance calculation. At the same time, it does not require additional sensing components, which is beneficial to controlling production costs.
[0049] Other features and advantages of the invention will be set forth in the description which follows, and will be apparent in part from the description, or may be learned by practicing the invention. The objects and other advantages of the invention are realized and obtained in accordance with the structures particularly pointed out in the description, claims and drawings.
[0050] To make the above-mentioned objects, features and advantages of the present invention more apparent and understandable, preferred embodiments are described below in detail with reference to the accompanying drawings. Attached Figure Description
[0051] To more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0052] Figure 1 A flowchart of the printing consumables surplus calculation method provided in an embodiment of the present invention;
[0053] Figure 2 This is a schematic diagram of the filament conveying direction in the printing control system;
[0054] Figure 3 This is a schematic diagram showing the positional relationship between the base, the active roller, and the passive roller in the printing control system.
[0055] Figure 4 This is a schematic diagram of the filament feeding assembly and the second motor in the printing control system;
[0056] Figure 5 This is a schematic diagram of the wire feeding assembly in the printing control system;
[0057] Figure 6 This is a schematic diagram of the gear shifting component structure in an embodiment of the present invention;
[0058] Figure 7 This is a schematic diagram of the electronic device structure provided in an embodiment of the present invention. Detailed Implementation
[0059] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0060] To facilitate understanding of this embodiment, the technical terms used in this application will be briefly introduced below.
[0061] 3D printing (3DP), also known as additive manufacturing, is a rapid prototyping technology. It is a technology that uses digital model files as a basis and employs powdered metal or plastic and other bondable materials to construct objects by printing layer by layer.
[0062] 3D printing is typically achieved using digital technology to print materials. It is commonly used in mold making, industrial design and other fields to create models. This technology has applications in jewelry, industrial design, architecture, engineering and construction, automotive, aerospace, dentistry and medical industries.
[0063] After introducing the technical terms used in this application, the application scenarios and design concepts of the embodiments of this application will be briefly described below.
[0064] In existing technologies, the problem of calculating the remaining amount of consumables is usually solved by measuring the weight of the consumables with a weight sensor. However, the remaining amount of consumables calculated by weight measurement is not accurate during the rotation of the material tray.
[0065] Based on this, this application provides a method, apparatus, and printing control system for calculating the remaining amount of printing consumables, so as to improve the accuracy of the calculation of the remaining amount of filament.
[0066] Example 1
[0067] This application provides a method for calculating the remaining amount of printing consumables. This method is applied to a controller in a printing control system, and the controller is connected to a display mechanism. Figure 2 , Figure 4As shown, the printing control system also includes: a base 1, a material tray 12 is provided in the base 1, the material tray 12 is loaded with filament 13, the material tray 12 abuts against the passive roller 3, the filament 13 is conveyed to the filament feeding assembly 8 through the filament feeding assembly 7 and then output from the filament feeding port 83, the filament feeding assembly 8 includes a filament feeding wheel 81.
[0068] Combination Figure 1 As shown, the method includes:
[0069] S110, during the wire feeding stage, obtains the first rotational speed of the passive roller.
[0070] S120: Calculate the current rotational speed of the material tray based on the first rotational speed, the diameter of the passive roller, and the outer diameter of the material tray.
[0071] S130, obtain the second rotational speed of the wire feeding wheel.
[0072] S140: Calculate the current diameter of the wire in the tray based on the current tray rotation speed, the diameter of the wire feeding wheel, and the wire feeding wheel rotation speed.
[0073] S150 calculates the remaining material consumption based on the current wire diameter, the full roll diameter of the wire, and the inner diameter of the spool when the wire is empty.
[0074] S160 displays the remaining consumables on the display mechanism.
[0075] In this application, the current rotational speed of the filament 13 is calculated using the feed pan 12 and the passive roller 3, which have the same linear speed during the filament feeding process. Based on the filament 13 and the feed roller 81 with the same linear speed, the current diameter of the filament in the feed pan is calculated. Then, the consumable allowance is calculated based on the current diameter of the filament in the feed pan, the full roll diameter of the filament, and the inner diameter of the feed pan when the filament is empty. Compared with the method of measuring the extrusion amount by the extruder and then subtracting the extrusion amount from the total amount to obtain the consumable allowance, which is not accurate when the number of 3D consumables is artificially reduced, this application can improve the accuracy of the filament allowance calculation, and at the same time, it does not require additional sensing components, which is beneficial to controlling production costs.
[0076] In this embodiment, combined with Figure 2 , Figure 3 , Figure 4 , Figure 5 , Figure 6 As shown, the base 1 has one or more receiving spaces 11 for placing the material tray 12. The base 1 has an active roller 2 and a passive roller 3 on its two sides respectively. The receiving space 11 contains the material tray 12, which is loaded with filament 13. The material tray 12 abuts against the passive roller 3 and the active roller 2. The active roller 2 is connected to the first motor 4 through the drive assembly 5. The first motor 4 is also connected to the controller. Under the control of the controller, the first motor 4 is started to output the power source to the drive gear set 53.
[0077] During the wire feeding stage, the drive gear set 53 meshes with the wire feeding gear 52 inside the wire feeding assembly 7. During rotation, it pulls the wire 13 towards the wire feeding assembly 8. The wire feeding assembly 8 is located below the base 1. Driven by the second motor 9, the wire feeding wheel 81 and the passive wire feeding wheel 84 rotate clockwise to pull the wire 13 towards the wire feeding port 83 and output the wire. During the wire feeding stage, the direction of movement of the wire 13 is as follows: Figure 2 As indicated by the middle arrow.
[0078] During the unwinding stage, the drive gear set 53 is connected to the unwinding gear 54. During the reverse rotation, the unwinding gear 54, the drive roller 2, and the material tray 12 are driven to rotate in the opposite direction, thereby unwinding the yarn 13 back onto the material tray 12.
[0079] During the gear meshing and switching process between the drive gear set 53 and the feed gear 52 or the unwind gear 54, the gears can be switched via a shifting assembly. This shifting assembly includes: a swing drive 55, a shift fork 56, and a swing frame 57. The swing drive 55 is connected to the shift fork 56, and the shift fork 56 is drive-connected to the swing frame 57. The swing drive 55 can be a servo motor, which is drive-connected to the shift fork 56. Driven by the servo motor, the shift fork 56 reciprocates, and through the engagement of the shift fork 56 with the swing frame 57, the swing frame 57 can be rotated around the pivot 51. Figure 6 As shown.
[0080] A swing frame 57, pivoting around the axis of the rotating shaft 51, is connected to the rotating shaft 51. Feeding gears 52 and unloading gears 54 are spaced apart circumferentially along the rotating shaft 51. One of the feeding gears 52 or unloading gears 54 meshes with a drive gear set 53. The first motor 4 can achieve speed reduction and torque increase through gear transmission, driving the rotating shaft 51 to rotate. Multiple drive gear sets 53 can be installed on the rotating shaft 51. Each drive gear set 53 corresponds to a swing frame 57, a swing drive component 55, and either a feeding gear 52 or an unloading gear 54. Each drive gear set 53 includes a central gear, a first engaging gear, and a second engaging gear. The central gear is connected to the rotating shaft 51, and the first and second engaging gears are located on the swing frame 57. The central gear meshes with the first and second engaging gears, and the switching between feeding and unloading states is achieved through gear meshing between the first engaging gear and the feeding gear 52 or the second engaging gear and the unloading gear 54, respectively.
[0081] Specifically, the yarn feeding stage includes a pre-feeding stage in which the yarn 13 is conveyed from the yarn inlet 6 to the yarn feeding assembly 8, and a yarn feeding stage in which the yarn 13 is conveyed from the input port to the output port of the yarn feeding assembly 8. During the pre-feeding stage, the first motor 4 drives the rotating shaft 51 to rotate, causing the drive gear set 53 to rotate. The drive gear set 53 meshes with the feed gear 52, and the feed gear 52 rotates under the action of the drive gear set 53, pulling the yarn 13 and thus driving the material tray 12 to rotate and transport the yarn to the yarn feeding assembly 8, completing the pre-feeding. During the rotation of the material tray 12, the active roller 2 and the passive roller 3 rotate. The passive roller 3 is made of soft material, and the friction force between it and the rim of the material tray 12 is relatively large. It can be approximated that the friction between the passive roller 3 and the rim of the material tray 12 is rolling friction. Therefore, the linear velocity of the material tray 12 should be consistent with the linear velocity of the passive roller 3. The linear velocity is the product of the angular velocity ω and the outer diameter. The angular velocity and the rotational speed have the following relationship: ω=2πn, where n is the rotational speed. At this point, step S110 obtains the first rotational speed n0 of the passive roller, and then step S120 calculates the current rotational speed n1 of the material tray based on the known parameters: the diameter d of the passive roller, the outer diameter D of the material tray, and the first rotational speed n0 of the passive roller.
[0082] Combination Figure 3 , Figure 5 As shown, in this embodiment, the drive roller 2 is equipped with a retraction gear 54, which can mesh with the drive gear set 53 in the drive assembly 5. The drive assembly 5 includes a rotating shaft 51, a feeding gear 52, a drive gear set 53, and a retraction gear 54. The drive gear set 53 can selectively mesh with either the feeding gear 52 or the retraction gear 54 under the drive of a power source such as a servo motor. The retraction gear 54 is fixed on the drive roller 2. Thus, during the feeding stage, the drive gear set 53 rotates and drives the feeding gear 52 to rotate. After the first motor drives the rotating shaft 51 to rotate, it pulls the yarn 13 to continuously feed yarn into the feeding port 6 of the feeding assembly 7. After the yarn 13 enters the feeding assembly 8, the connection between the drive gear set 53 and the feeding gear 52 is disconnected. Power is provided by the feeding assembly 8 to pull the yarn 13 out of the feeding port 83. During the unwinding stage, the drive gear set 53 meshes with the unwinding gear 54. Driven by the first motor, the drive gear set 53 and the unwinding gear 54 mesh and rotate, the drive roller 2 rotates, and then drives the material tray 12 to rotate in the opposite direction, so as to send the unwinding material back to the material tray 12.
[0083] After the filament 13 enters the filament feeding assembly 8, the filament feeding assembly 8 provides power to pull the filament 13 out of the filament feeding port 83. During this process, the filament 13 is pulled by the filament feeding wheel 81. Therefore, the linear velocity of the filament in the tray 12 should be consistent with the linear velocity of the filament feeding wheel 81 in the filament feeding assembly 8. At this time, step S130 calculates the current filament diameter d1 in the tray based on the known diameter d2 of the filament feeding wheel, the second rotation speed n2 of the filament feeding wheel 81, and the rotation speed of the filament (i.e., the current tray rotation speed n1 of the tray 12).
[0084] Then, in step S140, the remaining material Y after the wire is consumed is calculated based on the current wire diameter d1 in the material tray, the full roll diameter d3 of the wire, and the inner diameter of the material tray when the wire is empty. In step S150, the calculated remaining material Y is displayed.
[0085] In conjunction with the first aspect, step S110 can obtain the first rotational speed n0 of the passive roller 3 by setting a speed sensor on the passive roller 3 to directly obtain the first rotational speed of the passive roller 3; as another feasible method, two magnets can be set on the passive roller 3, these two magnets being symmetrical about the axis of the passive roller 3, and a Hall sensor can be set on one side of the passive roller 3. By sensing the number of times the magnets generate magnetic fields and the diameter of the passive roller 3, the first rotational speed of the passive roller 3 can be calculated. For example, if the number of times the magnets are sensed in time t is b, then the first rotational speed of the passive roller is...
[0086]
[0087] In conjunction with the first aspect, during step S120, when calculating the current material tray speed based on the first rotational speed n0, the diameter d of the driven roller, and the outer diameter D of the tray, since the linear velocity of the driven roller 3 is equal to the linear velocity of the tray 12, n1 × D = n0 × d. At this time, n0 is the first rotational speed, d is the diameter of the driven roller, and D is the outer diameter of the tray. These three parameters are all known quantities. Therefore, the current material tray speed n1 is calculated using the following formula:
[0088]
[0089] In conjunction with the first aspect, during step S140, when calculating the current wire diameter d1 in the feed tray based on the current tray rotation speed n1, the diameter d2 of the wire feeding wheel, and the second rotation speed n2, the wire 13 moves towards the wire feeding port 83 under the pulling force generated by the rotation of the wire feeding wheel 81 and the passive wire feeding wheel 84. The feed tray 12 rotates accordingly. At this time, the linear velocity of the wire 13 on the feed tray 12 should be the same as the linear velocity of the wire feeding wheel 81, i.e., n1×d1=n2×d2, where n1 is the current tray rotation speed, i.e., the first rotation speed of the wire 13, d1 is the current wire diameter in the feed tray, n2 is the second rotation speed, i.e., the rotation speed of the wire feeding wheel, and d2 is the diameter of the wire feeding wheel. Since n1, n2, and d2 are known quantities, the current wire diameter d1 in the feed tray is calculated using the following formula:
[0090]
[0091] The method for obtaining n2 is similar to that in step S110, and it can be calculated by setting a speed sensor or a combination of a magnet and a Hall sensor.
[0092] In conjunction with the first aspect, step S150, based on the current wire diameter d1 in the spool, the full roll diameter of the wire, and the inner diameter of the spool when the wire is empty, calculates the remaining consumables, specifically including:
[0093] Calculate using the following formula:
[0094]
[0095] Where Y is the remaining material, d1 is the current diameter of the wire in the tray, d3 is the full roll diameter of the wire, and d0 is the inner diameter of the tray when the wire is empty.
[0096] Where d0 and d3 are known quantities, and d1 is calculated based on step S130. The remaining material allowance is then calculated using the formula described above. For example, if d3 = 180mm, d0 = 80mm, and assuming the calculated d1 = 100mm, then the remaining material allowance is calculated.
[0097] It is understandable that the diameter d3 of the full roll of yarn and the inner diameter d0 of the material tray 12 when the yarn is empty can be different in different usage scenarios. This is just an example and is not a limitation.
[0098] In conjunction with the first aspect, such as Figure 3 , Figure 5 , Figure 6 As shown, the printing control system also includes: a drive gear set 53, and the filament feeding assembly 7 further includes a filament feeding gear 52. The drive gear set 53 is connected to the first motor 4. During the filament feeding stage, the drive gear set 53 meshes with the filament feeding gear 52, and the first motor 4 drives the drive gear set 53 to rotate, thereby causing the filament feeding gear 52 to rotate and pull the filament 13 toward the filament feeding assembly 8. Before step S110, the following is also included:
[0099] S010, the tray loaded with filament is placed in the receiving cavity of the base, and the tray is brought into contact with the drive roller and the driven roller respectively.
[0100] S020, insert the filament on the tray into the filament inlet corresponding to the base.
[0101] S030, start the first motor, drive the gear set to rotate and drive the feed gear that meshes with the drive gear set to rotate, so as to pre-feed the filament to the feed assembly.
[0102] Before the start of the yarn feeding stage, a pre-feeding operation is performed. Specifically, the tray 12 containing the yarn 13 is placed in the receiving space 11 on the base 1, and the tray 12 is brought into contact with the active roller 2 and the passive roller 3 respectively. Then, one end of the yarn 13 is inserted into the yarn inlet. After the yarn 13 enters the yarn feeding assembly 7, the first motor 4 is started to pull the tray 12 to rotate, thereby conveying the yarn 13 and moving the yarn to the yarn feeding assembly 8.
[0103] To further enhance automation, a sensor can be installed at the inlet 6 and connected to the controller to determine whether filament 13 is entering the inlet 6. When filament 13 enters, a signal is sent to the controller, which generates a control signal based on the signal to start the first motor 4, thereby driving the rotating shaft 51 to rotate. The drive gear set 53 on the rotating shaft 51 rotates, and the gear meshing action drives the inlet gear 52 to rotate accordingly. During the rotation, the filament 13 is pulled, which in turn drives the material tray 12 and the passive roller 3 to rotate, until the filament 13 is pre-fed to the filament feeding assembly 8.
[0104] In conjunction with the first aspect, the wire feeding stage officially begins after S030, specifically including:
[0105] Start the second motor 9 to drive the wire feeding wheel 81 in the wire feeding assembly 8 to rotate, so as to pull the wire to the wire feeding port, and then turn off the first motor.
[0106] After the pre-feeding of the filament 13 to the inlet of the filament feeding assembly 8, the second motor 9 is started to drive the filament feeding wheel 81 to rotate and pull the filament 13 toward the filament feeding port 83 to output the filament 13 from the filament feeding port 83. At this time, the filament feeding gear 52 does not need to rotate, and the first motor 4 is turned off to save power.
[0107] Understandably, a sensing mechanism, such as a photoelectric sensor, is set in the wire feeding assembly 8 to determine whether the wire 13 has entered through the principle of light sensing. When the wire 13 enters, a signal is sent to the controller. After receiving the signal, the controller generates a control signal to control the first motor 4 to stop running.
[0108] In conjunction with the first aspect, there are multiple material trays 12, each corresponding to a different receiving space 11 within the base 1. Each material tray 12 also corresponds to a different drive gear set 53, and each drive gear set 53 corresponds to a different servo motor. The controller stores the filament color information for each material tray 12, a first mapping relationship between the multiple material trays and the multiple drive gear sets 53, and a second mapping relationship between the multiple drive gear sets 53 and the multiple servo motors. S210, in response to a color selection command, the target material tray corresponding to the color information carried in the color selection command is determined.
[0109] S220, based on the preset first mapping relationship and second mapping relationship, determine the target drive gear set and target servo motor corresponding to the target material tray.
[0110] S230, activate the target servo motor to drive the target drive gear set to mesh with the feed gear in the feed assembly.
[0111] S240, start the first motor to drive the target drive gear set to rotate, so as to pre-feed the specified filament to the filament feeding assembly.
[0112] When there are multiple material trays 12, the multiple material trays 12 are placed in different receiving spaces 11 within the base 1. The controller stores the color information of the filament in each material tray 12, and combines it with... Figure 3 As shown, when there are multiple material trays 12, one piece of yarn 13 is selected and conveyed to the yarn feeding assembly 8. At this time, each material tray 12 corresponds to a drive gear set 53, and each drive gear set 53 corresponds to a servo motor. In this way, after receiving a color selection command, the unique target material tray 12 can be directly determined according to the color information carried in the color selection command. Based on the mapping relationship, the target servo motor corresponding to the target material tray 12 is found and activated to drive the target drive gear set 53 to mesh with the yarn feeding gear 52, thereby pre-feeding the yarn 13 of the specified color to the yarn feeding assembly 8.
[0113] Furthermore, if the filaments loaded on at least two trays 12 are of the same color, the target tray 12 can be determined according to the priority list pre-stored in the controller.
[0114] In this embodiment, there are four material trays 12. The colors of the filaments loaded on these four material trays 12 can be different, such as red, yellow, white, and green. When a color selection instruction is received, the color information in the color selection instruction is first obtained. For example, if the color information is yellow, the specific material tray 12 and the corresponding target servo and target drive gear set 53 can be determined based on the color information "yellow". The target servo is started, and the target drive gear set 53 is driven to rotate to transport the yellow filaments 13 into the filament feeding assembly 8.
[0115] As another feasible approach, two or more of the four trays 12 may have filaments 13 of the same color as the color information in the color selection instruction. In the example above, the color information is yellow, and the filaments 13 on the first and second trays 12 are both yellow. In this case, a pre-feeding operation can be performed according to a preset priority list, that is, the yellow filaments 13 on the first tray 12 are fed first, and when the filaments 13 on the first tray 12 are empty, the second tray 12 is then used as the target tray 12.
[0116] As another feasible approach, the target material tray 12 can be determined based on the remaining amount of wire 13 on each material tray 12. For example, the tray with a larger remaining amount of wire 13 can be set as the target material tray 12 for this purpose.
[0117] As another feasible approach, the target material tray 12 can be determined according to the numbering order of each material tray 12. In conjunction with the above example, when the filament 13 on the first and second material trays 12 are all yellow, the first material tray 12 is first used as the target material tray 12. After all the filament 13 on the first material tray 12 has been conveyed, the second material tray 12 is then used as the target material tray.
[0118] All of the above methods can be used to achieve this, and the choice or adjustment can be made according to the usage requirements. No restrictions are imposed here.
[0119] In conjunction with the first aspect, when there are multiple material trays 12, the remaining amount of wire in each tray 12 is calculated and displayed on the display mechanism. Specifically:
[0120] S240, for each material tray, calculate the corresponding wire material allowance for that tray;
[0121] S250, establish the correspondence between the remaining amount of each thread and each material tray;
[0122] S260 displays the corresponding relationship on the display mechanism.
[0123] Understandably, multiple feed trays 12 can correspond to multiple wire feeding assemblies 8. Preferably, multiple feed trays 12 correspond to one wire feeding assembly 8 to save production costs and reduce space occupation. Figure 4 As shown, the wire feeding assembly 8 is a combined wire feeding assembly with multiple inlets 82 and one wire feeding port 83. The number of inlets 82 can be greater than or equal to the number of material trays 12. Each material tray 12 corresponds to one inlet 82. Under the drive of the second motor 9, the wire feeding wheel 81 rotates. The wire feeding wheel 81 meshes with the passive wire feeding wheel 84 and rotates. The wire material 13 passes through the gap between the wire feeding wheel 81 and the passive wire feeding wheel 84. During the meshing and rotation process, the wire material 13 is pulled to continue to be fed out from the wire feeding port 83.
[0124] During this process, a mileage wheel 85 is installed on the passive wire feed wheel 84, and magnets 86 are symmetrically arranged on the mileage wheel 85. A Hall sensor 87 is installed on one side of the mileage wheel 85, which can measure the number of times 'a' detected by the Hall sensor 87 within a single test cycle. Therefore, the number of rotations of the mileage wheel is _____. Based on the known diameter of the mileage wheel, the extrusion amount of filament 13 in a single test cycle can be calculated, as can the rotational speeds of the passive feed wheel 84 and the feed wheel 81.
[0125] Understandably, filament retraction is also frequently used in 3D printing. During the filament retraction stage, the filament 13 can be retracted to the material tray 12 by controlling the operation of the first motor 4 and / or the second motor 9. This will not be elaborated on here.
[0126] Secondly, this application embodiment also provides a printing consumable balance calculation device. This device is applied to the controller in the printing control system. The controller is connected to the display mechanism. The printing control system also includes: a base 1, a material tray 12 is provided in the base 1, the material tray 12 is loaded with filament 13, the material tray 12 abuts against the passive roller 3, the filament 13 is conveyed to the filament feeding assembly 8 through the filament feeding assembly 7 and then output from the filament feeding port, the filament feeding assembly 8 includes a filament feeding wheel 81; the device includes: a first acquisition module, a first calculation module, a second acquisition module, a second calculation module, a third calculation module and a third calculation module.
[0127] The first acquisition module is used to acquire the first rotational speed of the passive roller during the wire feeding stage.
[0128] The first calculation module is used to calculate the current rotational speed of the material tray based on the first rotational speed, the diameter of the passive roller, and the outer diameter of the material tray.
[0129] The second acquisition module is used to acquire the second rotational speed of the wire feeding wheel.
[0130] The second calculation module is used to calculate the diameter of the current wire in the feed tray based on the current feed tray speed, the second speed, and the diameter of the wire feeding wheel.
[0131] The third calculation module is used to calculate the remaining material consumption based on the current wire diameter, the full roll diameter of the wire, and the inner diameter of the material tray when the wire is empty.
[0132] The display module is used to display the remaining amount of consumables on the display mechanism.
[0133] Thirdly, embodiments of this application provide an electronic device, combined with Figure 7 As shown, the electronic device includes a memory 131 and a processor 130. The memory 131 stores a computer program, and the processor 130 runs the computer program to enable the electronic device to perform the above-described hierarchical verification method based on traffic recording and playback.
[0134] Furthermore, combined Figure 7 The electronic device shown also includes a bus 132 and a communication interface 133, with the processor 130, the communication interface 133 and the memory 131 connected via the bus 132.
[0135] The memory 131 may include high-speed random access memory (RAM) or non-volatile memory, such as at least one disk storage device. Communication between this system network element and at least one other network element is achieved through at least one communication interface 133 (which can be wired or wireless), such as the Internet, wide area network, local area network, or metropolitan area network. The bus 132 may be an ISA bus, PCI bus, or EISA bus, etc. The bus can be divided into address bus, data bus, control bus, etc. For ease of representation, Figure 7 The symbol is represented by a single double-headed arrow, but this does not mean that there is only one bus or one type of bus.
[0136] Processor 130 may be an integrated circuit chip with signal processing capabilities. In implementation, each step of the above method can be completed by the integrated logic circuitry in the hardware of processor 130 or by instructions in software form. Processor 130 may be a general-purpose processor, including a Central Processing Unit (CPU), a Network Processor (NP), etc.; it may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. It can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of this invention. The general-purpose processor may be a microprocessor or any conventional processor. The steps of the methods disclosed in the embodiments of this invention can be directly manifested as execution by a hardware decoding processor, or execution by a combination of hardware and software modules in the decoding processor. The software module can reside in a mature storage medium in the art, such as random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, or registers. This storage medium is located in memory 131, and processor 130 reads the information in memory 131 and, in conjunction with its hardware, completes the steps of the method described in the foregoing embodiments.
[0137] Fourthly, embodiments of this application provide a readable storage medium storing computer program instructions, which are read and executed by a processor to perform the above-described method.
[0138] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working process of the system and apparatus described above can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0139] Furthermore, in the description of the embodiments of the present invention, unless otherwise explicitly specified and limited, the terms "installation," "connection," and "linking" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; and they can refer to the internal connection of two components. Those skilled in the art can understand the specific meaning of the above terms in the present invention based on the specific circumstances.
[0140] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this invention, essentially, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0141] In the description of this invention, it should be noted that the terms "center," "upper," "lower," "left," "right," "vertical," "horizontal," "inner," and "outer," etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. They are used only for the convenience of describing the invention and for simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on the invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and should not be construed as indicating or implying relative importance.
[0142] Finally, it should be noted that the above embodiments are merely specific implementations of the present invention, used to illustrate the technical solutions of the present invention, and not to limit it. The scope of protection of the present invention is not limited thereto. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that any person skilled in the art can still modify or easily conceive of changes to the technical solutions described in the foregoing embodiments within the technical scope disclosed in the present invention, or make equivalent substitutions for some of the technical features; and these modifications, changes, or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be covered within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.
Claims
1. A method for calculating the remaining amount of printing consumables, characterized in that, The method is applied to a controller in a printing control system, the controller being connected to a display mechanism. The printing control system further includes: a base, the base having a material tray loaded with filament material, the material tray abutting against a passive roller, the filament material being conveyed to a filament feeding assembly via a filament feeding component and then output from a filament feeding port, the filament feeding assembly including a filament feeding wheel; the method includes: During the wire feeding stage, the first rotational speed of the passive roller is obtained; Calculate the current rotational speed of the material tray based on the first rotational speed, the diameter of the passive roller, and the outer diameter of the material tray; Obtain the second rotational speed of the wire feeding wheel; The diameter of the current wire in the feed tray is calculated based on the current feed tray rotation speed, the second rotation speed, and the diameter of the wire feeding wheel. Calculate the remaining material consumption based on the current diameter of the wire in the tray, the full roll diameter of the wire, and the inner diameter of the tray when the wire is empty. The remaining amount of consumables is displayed on the display mechanism.
2. The method according to claim 1, characterized in that, The step of calculating the current rotational speed of the material tray based on the first rotational speed, the diameter of the passive roller, and the outer diameter of the material tray includes: Calculate using the following formula: Wherein, n1 is the current rotational speed of the material tray, n0 is the first rotational speed, d is the diameter of the passive roller, and D is the outer diameter of the material tray.
3. The method according to claim 2, characterized in that, The step of calculating the diameter of the current wire in the feed tray based on the current feed tray rotation speed, the second rotation speed, and the diameter of the wire feeding wheel includes: Wherein, d1 is the current diameter of the wire in the feed pan, d2 is the diameter of the wire feeding wheel, and n2 is the second rotational speed.
4. The method according to claim 3, characterized in that, The steps for calculating the consumable allowance based on the current wire diameter in the spool, the full roll diameter of the wire, and the inner diameter of the spool when the wire is empty include: Calculate using the following formula: Where Y is the remaining amount of consumables, d1 is the current diameter of the wire in the spool, d3 is the full roll diameter of the wire, and d0 is the inner diameter of the spool when the wire is empty.
5. The method according to claim 1, characterized in that, Before the step of obtaining the first rotational speed of the passive roller during the wire feeding stage, the method further includes: The tray loaded with filament is placed in the receiving cavity of the base, and the tray abuts against the active roller and the passive roller respectively; Insert the filament on the spool into the inlet of the filament feeding assembly; The first motor is started, which sequentially drives the drive gear set and the feed gear meshing with the drive gear set to rotate, so as to pre-feed the filament to the feed assembly.
6. The method according to claim 1, characterized in that, After the step of starting the first motor and sequentially driving the drive gear set and the feed gear meshing with the drive gear set to pre-feed the filament to the feed assembly, the method further includes: Start the second motor to drive the wire feeding assembly to pull the wire, and then turn off the first motor.
7. The method according to claim 1, characterized in that, The method includes multiple material trays, each corresponding one-to-one with a specific receiving space within the base. The controller stores the filament color information for each material tray, a first mapping relationship between the multiple material trays and multiple drive gear sets, and a second mapping relationship between the multiple drive gear sets and multiple servo motors. In response to a color selection command, a target tray corresponding to the color information carried in the color selection command is determined; Based on the preset first mapping relationship and second mapping relationship, determine the target drive gear set and target servo motor corresponding to the target material tray; Activate the target servo motor to engage the target drive gear set with the feed gear in the feed assembly; The first motor is started to drive the target drive gear set to rotate, so as to pre-feed the specified filament to the filament feeding assembly.
8. The method according to claim 1, characterized in that, The method includes: For each of the aforementioned feed trays, calculate the remaining amount of yarn for that feed tray; Establish the correspondence between the remaining amount of each type of filament and each type of material tray; The correspondence is displayed on the display mechanism.
9. A device for calculating the remaining amount of printing consumables, characterized in that, The device is used as a controller in a printing control system. The controller is connected to a display mechanism. The printing control system further includes: a base, in which a material tray is provided. The material tray is loaded with filament material and abuts against a passive roller. The filament material is conveyed to a filament feeding assembly via a filament feeding component and then output from a filament feeding port. The filament feeding assembly includes a filament feeding wheel. The device includes: The first acquisition module is used to acquire the first rotational speed of the passive roller during the wire feeding stage; The first calculation module is used to calculate the current rotational speed of the material tray based on the first rotational speed, the diameter of the passive roller, and the outer diameter of the material tray; The second acquisition module is used to acquire the second rotational speed of the wire feeding wheel; The second calculation module is used to calculate the current diameter of the wire in the material tray based on the current tray rotation speed, the second rotation speed, and the diameter of the wire feeding wheel; The third calculation module is used to calculate the remaining material consumption based on the current wire diameter, the full roll diameter of the wire, and the inner diameter of the material tray when the wire is empty. The display module is used to display the remaining amount of the consumables on the display mechanism.
10. An electronic device, characterized in that, The electronic device includes a memory and a processor, the memory storing a computer program and the processor running the computer program to cause the electronic device to perform the method of any one of claims 1 to 8.
Citation Information
Patent Citations
Printer consumable management system and printer
CN111890811A
Concentrator, consumable storage device and 3D printer
CN117698127A
