A wire diameter uniformity detection method, system and related device thereof

By measuring and calibrating the equivalent diameter at various points on the wire, the problem of frequent pauses during printing caused by wire diameter inhomogeneity was solved, achieving wire uniformity and continuous feeding, and reducing the defect rate.

CN116252484BActive Publication Date: 2026-05-29GUANGDONG REGEN-MED SCI & TECH LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
GUANGDONG REGEN-MED SCI & TECH LTD
Filing Date
2023-03-28
Publication Date
2026-05-29

AI Technical Summary

Technical Problem

In the 3D printing process, the unevenness of the filament diameter causes frequent pauses in the printing process, affecting the continuity and quality of the parts. Existing technologies make it difficult to effectively pre-mark the position of available filament segments.

Method used

By measuring the equivalent diameter at various points on the wire, the wire diameter is deemed acceptable. The start and end points of the usable line segments are then marked according to the required length of the target workpiece to ensure that the marked usable line segment length meets the printing requirements, and unusable line segments are eliminated.

Benefits of technology

It improves the uniformity of filament diameter and the continuity of material feeding during the 3D printing process, reduces the defect rate, and ensures the continuity and quality of the printing process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116252484B_ABST
    Figure CN116252484B_ABST
Patent Text Reader

Abstract

The application belongs to the technical field of detection, and discloses a wire diameter uniformity detection method, a system and related equipment thereof; the method comprises the following steps: obtaining a target diameter of a wire required for printing a target workpiece, and obtaining a required length of the wire required for printing a single target workpiece; measuring equivalent diameters of position points of a measured wire; comparing the equivalent diameters with the target diameter to determine wire diameter qualification of the position points; and obtaining start and end point positions of each available wire segment of the measured wire according to the wire diameter qualification of the position points and the required length; the available wire segment is a continuous wire segment with a length not less than the required length and available for printing the target workpiece; thereby, the positions of the wire diameter uniformity available wire segments of the wire can be calibrated in advance, and the wire diameter uniformity and feeding continuity of the wire used in the printing process of a single part can be ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of testing technology, and more specifically, to a method, system and related equipment for testing wire diameter uniformity. Background Technology

[0002] 3D printing technology, also known as additive manufacturing, is a rapid prototyping technology widely used in aerospace, industrial design, medical, and dental fields to manufacture models and parts. The main raw materials for 3D printing are powder and filament. When using filament as a raw material, the uniformity of the filament diameter has a significant impact on the accuracy of the part's shape parameters. Furthermore, the continuity of filament feeding during the printing process also significantly affects the part's quality.

[0003] Currently, during 3D printing, the filament diameter is typically monitored in real-time. If an uneven diameter is detected in a local segment of the filament, printing is paused, the affected segment is cut, and printing resumes. While this ensures uniform filament diameter, it can lead to multiple pauses during printing of a single part, resulting in poor printing continuity and defective products. Therefore, it is necessary to pre-mark the locations of usable, uniform filament segments to quickly cut off unusable segments during actual printing. This ensures both uniform filament diameter and continuous filament feeding for individual parts, thereby guaranteeing the continuity of the printing process for all parts. Summary of the Invention

[0004] The purpose of this application is to provide a method, system and related equipment for detecting wire diameter uniformity, which can pre-calibrate the position of usable wire segments with uniform wire diameter, thereby helping to ensure the uniformity of wire diameter and the continuity of material supply during the printing of individual parts.

[0005] In a first aspect, this application provides a method for detecting wire diameter uniformity, comprising the following steps:

[0006] A1. Obtain the target diameter of the wire required for printing the target workpiece, and obtain the required length of the wire required for printing a single target workpiece;

[0007] A2. Measure the equivalent diameter of the wire at various points;

[0008] A3. Compare the equivalent diameter with the target diameter to determine the line diameter qualification at each of the aforementioned locations;

[0009] A4. Based on the wire diameter qualification and the required length at each of the aforementioned locations, obtain the start and end points of each usable segment of the wire with uniform wire diameter; the usable segment is a continuous segment with a length not less than the required length that can be used to print the target workpiece.

[0010] Before using the tested filament for 3D printing, its equivalent diameter at each location is measured to determine whether the filament diameter at each location is qualified. Based on the required filament length for printing a single target workpiece, the start and end points of each usable segment on the tested filament are marked, ensuring that the length of the marked usable segments is not less than the required filament length for printing a single target workpiece. In the subsequent actual printing process, non-usable segments can be quickly cut off based on the start and end points of each usable segment, and only usable segments can be input. This helps to ensure the uniformity of filament diameter and the continuity of material supply during the printing of a single part, thereby helping to reduce the defect rate.

[0011] Preferably, step A2 includes:

[0012] A201. Obtain the measured diameters of each of the aforementioned locations in multiple different directions; the measured diameters of the same location in multiple different directions are the measured diameters of different directional angles on the cross-section of the location.

[0013] A202. Obtain the equivalent diameter of each of the aforementioned locations based on the measured diameter.

[0014] Compared to measuring the actual diameter in only one direction as the wire diameter measurement result, measuring the actual diameter in multiple directions to obtain the equivalent diameter as the wire diameter measurement result results in a more accurate measurement result.

[0015] Preferably, step A202 includes:

[0016] Calculate the average value of all measured diameters at the same location point as the equivalent diameter of the location point.

[0017] Preferably, step A3 includes:

[0018] If the absolute value deviation between the equivalent diameter and the target diameter of the location point is less than a preset deviation threshold, the line diameter of the location point is determined to be qualified; otherwise, the line diameter of the location point is determined to be unqualified.

[0019] Preferably, step A4 includes:

[0020] A401. Search for the first location point with a suitable wire diameter from front to back, and use it as a candidate starting point;

[0021] A402. From front to back, sequentially check the wire diameter compliance of each of the positions after the candidate starting point, and accumulate the number of positions with unqualified wire diameters, recording them as the number of bad points, until one of the following conditions is met:

[0022] Condition 1: The distance between the currently detected location point and the candidate starting point is not less than the required length;

[0023] Condition 2: The number of consecutive non-compliant wire diameter points reaches a preset first point threshold.

[0024] Condition 3: The currently detected location point is the last location point detected.

[0025] A403. If condition 2 is met, then clear the number of bad points to zero, update the candidate starting point to the first qualified wire diameter position point after the currently detected position point, and return to step A402;

[0026] A404. If condition 1 is met, and the number of bad points is less than the preset second threshold, then add the candidate starting point to the end of the starting point sequence, add the currently detected position point to the end of the ending point sequence, clear the number of bad points to zero, and update the candidate starting point to the first qualified wire diameter position point after the currently detected position point, and return to step A402; if the number of bad points is not less than the preset second threshold, then clear the number of bad points to zero, and update the candidate starting point to the first qualified wire diameter position point after the last detected unqualified wire diameter position point, and return to step A402.

[0027] A405. If condition 3 is met, stop the detection and take the points with the same order in the starting point sequence and the ending point sequence as the starting point and ending point of each available line segment, and obtain the starting and ending point positions of each available line segment.

[0028] Using the above method, the start and end points of available line segments can be accurately and quickly marked.

[0029] Secondly, this application provides an electronic device including a processor and a memory, the memory storing a computer program executable by the processor, wherein when the processor executes the computer program, it performs the steps in the wire diameter uniformity detection method described above.

[0030] Thirdly, this application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, performs the steps of the wire diameter uniformity detection method described above.

[0031] Fourthly, this application provides a wire diameter uniformity detection system, including an unwinding mechanism, a winding mechanism, a guiding mechanism, a wire diameter detector, and a host computer, wherein the unwinding mechanism, the winding mechanism, and the wire diameter detector are all electrically connected to the host computer;

[0032] The unwinding mechanism is used to unwind the wire being tested;

[0033] The winding mechanism is used to wind up the wire being tested;

[0034] The guiding mechanism is disposed between the unwinding mechanism and the winding mechanism and is used to guide the wire under test so that the wire under test passes through the wire diameter detector;

[0035] The wire diameter detector is used to measure the equivalent diameter of the wire at various locations and send the data to the host computer.

[0036] The host computer is used to obtain the target diameter of the wire required for printing the target workpiece, and to obtain the required length of the wire required for printing a single target workpiece. It compares the equivalent diameter with the target diameter to determine the wire diameter qualification at each position point. Based on the wire diameter qualification at each position point and the required length, it obtains the start and end points of each usable segment with uniform wire diameter of the tested wire. The usable segment is a continuous segment with a length not less than the required length that can be used to print the target workpiece.

[0037] Before using the tested filament for 3D printing, its equivalent diameter at each location is measured to determine whether the filament diameter at each location is qualified. Based on the required filament length for printing a single target workpiece, the start and end points of each usable segment on the tested filament are marked, ensuring that the length of the marked usable segments is not less than the required filament length for printing a single target workpiece. In the subsequent actual printing process, non-usable segments can be quickly cut off based on the start and end points of each usable segment, and only usable segments can be input. This helps to ensure the uniformity of filament diameter and the continuity of material supply during the printing of a single part, thereby helping to reduce the defect rate.

[0038] Preferably, the unwinding mechanism includes an unwinding drum and a first motor for driving the unwinding drum to rotate; the winding mechanism includes a winding drum and a second motor for driving the winding drum to rotate.

[0039] Preferably, the guiding mechanism includes two guide wheel sets, two guide cylinders, and at least one rotary encoder. Each guide wheel set includes two guide wheels. The wire to be tested passes between the two guide wheels and abuts against the two guide wheels. The two guide cylinders are coaxially arranged between the two guide wheel sets. The wire diameter detector is arranged between the two guide cylinders. The rotary encoder is connected to at least one guide wheel and is electrically connected to the host computer.

[0040] Beneficial effects: The wire diameter uniformity detection method, system, and related equipment provided in this application measure the equivalent diameter at each position of the wire before using it for 3D printing to determine whether the wire diameter at each position is qualified. Based on the required length of wire needed to print a single target workpiece, the start and end positions of each usable segment on the wire are marked, and the length of the marked usable segment is not less than the required length of wire needed to print a single target workpiece. In the subsequent actual printing process, non-usable segments can be quickly cut off based on the start and end positions of each usable segment, and only usable segments can be input. This helps to ensure the wire diameter uniformity and material supply continuity of the wire used in the printing of a single part, thereby helping to reduce the defect rate. Attached Figure Description

[0041] Figure 1 A flowchart of a wire diameter uniformity detection method provided in an embodiment of this application.

[0042] Figure 2 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application.

[0043] Figure 3 This is a schematic diagram of the wire diameter uniformity detection system provided in an embodiment of this application.

[0044] Figure 4 This is a schematic diagram of a wire diameter detector.

[0045] Figure 5 This is a schematic diagram of the structure of a laser emitter and an image receiver.

[0046] Figure 6 This is a schematic diagram illustrating the measured diameters of the same location point in multiple different directions, as an example.

[0047] Labeling Explanation: 1. Unwinding Mechanism; 101. Unwinding Drum; 102. First Motor; 2. Rewinding Mechanism; 201. Rewinding Drum; 202. Second Motor; 4. Guiding Mechanism; 401. Guide Wheel; 402. Guide Cylinder; 403. Rotary Encoder; 5. Wire Diameter Detector; 501. Circular Base; 502. Laser Emitter; 5021. First Housing; 5022. Laser Emitting Unit; 5023. First Lens; 5024. Aperture; 503. Image Receiver; 5031. Second Housing; 5032. Second Lens; 5033. Image Sensor; 5034. Cylindrical Mirror; 6. Host Computer; 301. Processor; 302. Memory; 303. Communication Bus. Detailed Implementation

[0048] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of the embodiments. The components of the embodiments of this application described and shown in the accompanying drawings can generally be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of this application provided in the accompanying drawings is not intended to limit the scope of the claimed application, but merely represents selected embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application without inventive effort are within the scope of protection of this application.

[0049] It should be noted that similar reference numerals and letters in the following figures indicate similar items; therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures. Furthermore, in the description of this application, terms such as "first," "second," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.

[0050] Please refer to Figure 1 A wire diameter uniformity detection method in some embodiments of this application includes the following steps:

[0051] A1. Obtain the target diameter of the wire required for printing the target workpiece, and obtain the required length of wire required for printing a single target workpiece;

[0052] A2. Measure the equivalent diameter of the wire at various points;

[0053] A3. Compare the equivalent diameter and the target diameter to determine the wire diameter qualification at each location point;

[0054] A4. Based on the wire diameter qualification and required length at each location point, obtain the start and end points of the usable segments with uniform wire diameter of each section of the wire being tested; the usable segments are continuous segments with a length not less than the required length that can be used to print the target workpiece.

[0055] Before using the tested filament for 3D printing, its equivalent diameter at each location is measured to determine whether the filament diameter at each location is qualified. Based on the required filament length for printing a single target workpiece, the start and end points of each usable segment on the tested filament are marked, ensuring that the length of the marked usable segments is not less than the required filament length for printing a single target workpiece. In the subsequent actual printing process, non-usable segments can be quickly cut off based on the start and end points of each usable segment, and only usable segments can be input. This helps to ensure the uniformity of filament diameter and the continuity of material supply during the printing of a single part, thereby helping to reduce the defect rate.

[0056] The required length of wire for printing a single target workpiece can be predetermined based on the target diameter of the wire and the actual size of the target workpiece, for example, through experimentation or simulation.

[0057] A wire diameter detector can be used to measure the equivalent diameter of the wire at various locations. The wire can be moved in preset steps (adjustable as needed) and pass through the wire diameter detector to measure the equivalent diameter at each location. The measured position after each step is the aforementioned location. This wire diameter detector can be an existing wire diameter detector or... Figure 4 The wire diameter detector shown.

[0058] In some implementations, step A2 includes: obtaining the measured diameter (which can be obtained using an existing wire diameter detector) of each location point in one direction as the equivalent diameter of each location point.

[0059] In other embodiments, step A2 includes:

[0060] A201. Obtain the measured diameters in multiple directions at each location point; the measured diameters in multiple directions at the same location point are the measured diameters at different angles on the cross-section of that location point (the angles are essentially the circumferential angles of the wire being measured).

[0061] A202. Obtain the equivalent diameter at each location point based on the measured diameter.

[0062] For example, Figure 6 The measured diameters of the wire at a given location point are displayed in three different directions, namely D1, D2, and D3. The deviation of the directional angle between any two of the three directions is 120°. However, the number of measured diameters at the same location point is not limited to three, and the deviation of the directional angle is not limited to 120°. The specific settings can be adjusted according to actual needs.

[0063] Compared to measuring the actual diameter in only one direction as the wire diameter measurement result, measuring the actual diameter in multiple directions to obtain the equivalent diameter as the wire diameter measurement result results in a more accurate measurement result.

[0064] In some embodiments, step A202 includes:

[0065] Calculate the average of all measured diameters at the same location point, and use that average as the equivalent diameter at that location point.

[0066] This calculation method is simple and quick.

[0067] In other embodiments, step A202 includes:

[0068] The two endpoints of the measured diameters at the same location point are taken as contour points;

[0069] Obtain the circumferential angle of the two corresponding contour points based on the directional angle of each measured diameter;

[0070] Obtain the radius values ​​of the two corresponding contour points based on the measured diameter;

[0071] Based on the circumferential angle and radius values ​​of each contour point, fit a circular contour.

[0072] Extract the diameter of the circular outline as the equivalent diameter of the location point.

[0073] The equivalent diameter obtained in this way has high accuracy.

[0074] If the directional angle of a measured diameter is θ, then the circumferential angle of one of the two contour points corresponding to the measured diameter is θ, and the other is θ+π.

[0075] If the measured diameter is L, then the radius of the two contour points corresponding to the measured diameter is L / 2.

[0076] The steps for fitting a circular contour based on the circumferential angle and radius values ​​of each contour point include:

[0077] Calculate the coordinate values ​​of each contour point using the following formula:

[0078] x = r * cosα;

[0079] y = r * sinα;

[0080] Where x is the abscissa of the contour point, y is the ordinate of the contour point, r is the radius of the contour point, and α is the circumferential angle of the contour point.

[0081] A circular contour is fitted based on the coordinate values ​​of each contour point (the specific fitting algorithm is existing technology and will not be described in detail here).

[0082] In some implementations, step A3 includes:

[0083] If the absolute deviation between the equivalent diameter and the target diameter of a location point is less than a preset deviation threshold, the line diameter of that location point is deemed acceptable; otherwise, the line diameter of that location point is deemed unacceptable.

[0084] The deviation threshold can be set according to actual needs.

[0085] In other embodiments, step A3 includes:

[0086] If the variance of each measured diameter at a location point is greater than the preset variance threshold (which can be set according to actual needs), then the wire diameter at that location point is deemed unqualified.

[0087] If the variance of each measured diameter at a location point is not greater than the preset variance threshold, and the absolute value deviation between the equivalent diameter and the target diameter at that location point is less than the preset deviation threshold, then the line diameter at that location point is deemed to be qualified.

[0088] If the variance of each measured diameter at a location point is not greater than a preset variance threshold, and the absolute deviation between the equivalent diameter and the target diameter at that location point is not less than a preset deviation threshold, then the diameter at that location point is deemed unqualified.

[0089] Since the variance of each measured diameter reflects the degree of distortion of the cross-sectional shape at the location point, when the degree of distortion is high, the corresponding location point is judged as having an unqualified wire diameter, which can further improve the uniformity of the wire diameter of the subsequently obtained usable line segments.

[0090] In this embodiment, step A4 includes:

[0091] A401. Search for the first point with a suitable wire diameter from front to back, and use it as a candidate starting point;

[0092] A402. From front to back, sequentially check the wire diameter compliance of each position point after the candidate starting point, and accumulate the number of positions where the wire diameter is unqualified, recording them as the number of bad points, until one of the following conditions is met:

[0093] Condition 1: The distance between the current detection location and the candidate starting point is not less than the required length;

[0094] Condition 2: The number of consecutive non-compliant wire diameter locations reaches the preset first threshold (which can be set according to actual needs).

[0095] Condition 3: The currently detected location is the last location.

[0096] A403. If condition 2 is met, clear the number of bad points to zero, update the candidate starting point to the first qualified wire diameter point after the current detection point, and return to step A402;

[0097] A404. If condition 1 is met, and the number of bad points is less than the preset second threshold (which can be set according to actual needs), then add the candidate starting point to the end of the starting point sequence, add the currently detected position point to the end of the ending point sequence, clear the number of bad points to zero, and update the candidate starting point to the first qualified wire diameter position point after the currently detected position point, and return to step A402; if the number of bad points is not less than the preset second threshold, then clear the number of bad points to zero, and update the candidate starting point to the first qualified wire diameter position point after the last detected unqualified wire diameter position point, and return to step A402.

[0098] A405. If condition 3 is met, stop the detection and take the points with the same order in the start sequence and end sequence as the start and end points of each usable line segment, and obtain the start and end point positions of each usable line segment.

[0099] Using the above method, the start and end points of available line segments can be accurately and quickly marked.

[0100] The starting sequence and the ending sequence are initially empty sequences.

[0101] When condition 2 is met, it means that there are consecutive long line segments where all the positions are bad points (i.e., the positions where the wire diameter is not up to standard) and are not suitable as usable line segments. In this case, the line segments from the candidate starting point to the current detection position and the line segments from the current detection position to the first subsequent position with acceptable wire diameter are all identified as unusable line segments.

[0102] When condition 1 is met, it means that a line segment of length that meets the printing requirements of a single target workpiece has been found, and there are no long local line segments composed of continuous bad points in the line segment. It can be used as a candidate line segment. However, the candidate line segment may contain a lot of scattered bad points. Therefore, the candidate line segment is only recognized as a usable line segment when the number of bad points it contains is less than the preset second point count threshold. Then, its start point and end point are recorded in the start point sequence and end point sequence, respectively.

[0103] When condition 3 is met, it means that all position points have been detected. At this point, the start and end positions of each available line segment are extracted based on the start and end sequence. Since each new start and end point is added to the end of the start and end sequences respectively, points with the same order in the start and end sequences are the start and end points of the same available line segment.

[0104] In some implementations, step A4 is followed by the step:

[0105] A5. Based on the starting and ending positions of each available line segment, calculate the total length of all available line segments and record it as the total available length;

[0106] A6. Calculate the percentage of this usable total length in the total length of the wire being tested;

[0107] A7. If the percentage is less than the preset percentage threshold (which can be set according to actual needs), then mark the tested cable as an unusable cable.

[0108] Because the usable length is too low, if used for 3D printing, more time will be needed to cut the unusable line segments, which will seriously affect work efficiency. Therefore, the test line marked as unusable will not be used to print the target workpiece.

[0109] As can be seen from the above, this wire diameter uniformity detection method obtains the target diameter of the wire required for printing the target workpiece, and the required length of wire required for printing a single target workpiece. It measures the equivalent diameter at each position of the tested wire, compares the equivalent diameter with the target diameter to determine the wire diameter qualification at each position, and obtains the start and end positions of the usable wire segments with uniform wire diameter at each position based on the wire diameter qualification and the required length. The usable wire segments are continuous segments with a length not less than the required length that can be used to print the target workpiece. Thus, the positions of the usable wire segments with uniform wire diameter can be pre-calibrated, which helps to ensure the wire diameter uniformity and material supply continuity during the printing of a single part.

[0110] Please refer to Figure 2 , Figure 2 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. The electronic device includes a processor 301 and a memory 302. The processor 301 and the memory 302 are interconnected and communicate with each other via a communication bus 303 and / or other connection mechanisms (not shown). The memory 302 stores a computer program executable by the processor 301. When the electronic device is running, the processor 301 executes the computer program to perform the wire diameter uniformity detection method in any optional implementation of the above embodiments, to achieve the following functions: obtaining the target diameter of the wire required for printing the target workpiece, obtaining the required length of the wire required for printing a single target workpiece, measuring the equivalent diameter at each position of the tested wire, comparing the equivalent diameter with the target diameter to determine the wire diameter qualification at each position, and obtaining the start and end positions of each usable segment of the tested wire with uniform wire diameter based on the wire diameter qualification and the required length at each position; the usable segment is a continuous segment whose length for printing the target workpiece is not less than the required length.

[0111] This application provides a computer-readable storage medium storing a computer program. When the computer program is executed by a processor, it executes the wire diameter uniformity detection method in any optional implementation of the above embodiments to achieve the following functions: obtaining the target diameter of the wire required for printing the target workpiece, obtaining the required length of the wire required for printing a single target workpiece, measuring the equivalent diameter at each position of the tested wire, comparing the equivalent diameter with the target diameter to determine the wire diameter qualification at each position, and obtaining the start and end positions of each segment of the tested wire with uniform wire diameter based on the wire diameter qualification and the required length at each position; the usable segment is a continuous segment whose length for printing the target workpiece is not less than the required length. The computer-readable storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as Static Random Access Memory (SRAM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Erasable Programmable Read Only Memory (EPROM), Programmable Red-Only Memory (PROM), Read-Only Memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.

[0112] refer to Figure 3 This application provides a wire diameter uniformity detection system, including an unwinding mechanism 1, a winding mechanism 2, a guiding mechanism 4, a wire diameter detector 5, and a host computer 6. The unwinding mechanism 1, the winding mechanism 2, and the wire diameter detector 5 are all electrically connected to the host computer 6.

[0113] Unwinding mechanism 1 is used to unwind the wire being tested;

[0114] The winding mechanism 2 is used to wind up the wire being tested;

[0115] The guiding mechanism 4 is located between the unwinding mechanism 1 and the winding mechanism 2, and is used to guide the wire to be tested so that the wire to be tested passes through the wire diameter detector 5;

[0116] The wire diameter detector 5 is used to measure the equivalent diameter of the wire at various locations (refer to step A2 above for details) and send the data to the host computer 6.

[0117] The host computer 6 is used to obtain the target diameter of the wire required for printing the target workpiece and the required length of the wire required for printing a single target workpiece. It compares the equivalent diameter and the target diameter to determine the wire diameter qualification at each location point. Based on the wire diameter qualification and the required length at each location point, it obtains the start and end points of the usable segments with uniform wire diameter of each segment of the tested wire. The usable segments are continuous segments with a length not less than the required length that can be used to print the target workpiece (refer to the corresponding steps of the wire diameter uniformity detection method above for specific processes).

[0118] Before using the tested filament for 3D printing, its equivalent diameter at each location is measured to determine whether the filament diameter at each location is qualified. Based on the required filament length for printing a single target workpiece, the start and end points of each usable segment on the tested filament are marked, ensuring that the length of the marked usable segments is not less than the required filament length for printing a single target workpiece. In the subsequent actual printing process, non-usable segments can be quickly cut off based on the start and end points of each usable segment, and only usable segments can be input. This helps to ensure the uniformity of filament diameter and the continuity of material supply during the printing of a single part, thereby helping to reduce the defect rate.

[0119] In some implementations, the host computer 6 is also used to perform:

[0120] Calculate the total length of all available line segments based on the starting and ending points of each available line segment, and record it as the total available length.

[0121] Calculate the percentage of this usable total length in the total length of the wire being tested;

[0122] If the percentage is less than the preset percentage threshold (which can be set according to actual needs), the tested cable will be marked as an unusable cable.

[0123] In some implementations, see Figure 3 The unwinding mechanism 1 includes an unwinding drum 101 and a first motor 102 that drives the unwinding drum 101 to rotate; the winding mechanism 2 includes a winding drum 201 and a second motor 202 that drives the winding drum 201 to rotate. The second motor 202 can be a stepper motor to enable the tested wire to move in preset step increments. During operation, after the tested wire is placed into the unwinding drum 101, one end of the tested wire passes through the guide mechanism 4 and the wire diameter detector 5 and is fixed to the winding drum 201. Then, the second motor 202 drives the winding drum 201 to rotate and wind up the tested wire. After the start and end points of the usable wire segment are calibrated, the first motor 102 can drive the unwinding drum 101 to wind the tested wire in the reverse direction, returning the tested wire to its initial state. This ensures that the real-time position of the tested wire measured during subsequent printing corresponds to the calibrated position.

[0124] In some implementations, see Figure 3The guiding mechanism 4 includes two guide wheel sets, two guide cylinders 402 and at least one rotary encoder 403. Each guide wheel set includes two guide wheels 401. The wire to be tested passes between the two guide wheels 401 and abuts against the two guide wheels 401. The two guide cylinders 402 are coaxially arranged between the two guide wheel sets. The wire diameter detector 5 is arranged between the two guide cylinders 402. At least one guide wheel 401 is connected to a rotary encoder 403. The rotary encoder 403 is electrically connected to the host computer 6.

[0125] Two guide wheel sets ensure that the wire being tested reliably passes through the wire diameter detector 5 and that the wire segment passing through the detector 5 is taut and straight, thus guaranteeing the accuracy of diameter measurement. The rotary encoder 403 measures the rotation angle of the guide wheel 401, thereby calculating the movement distance of the wire being tested. Based on this movement distance, the position of each location point (the distance from the location point to the front end of the wire being tested) can be calculated; for example, Figure 3 In the middle, one of the guide wheels 401 in the front guide wheel group is connected to a rotary encoder 403. The distance from the contact point between the guide wheel 401 connected to the rotary encoder 403 and the wire being tested to the wire diameter detector 5 is known, and this distance is d. When the distance the rotary encoder 403 measures to move the wire being tested is I, then the position of the point located at the wire diameter detector 5 at this time is d+I.

[0126] The guide cylinder 402 has a through hole that is adapted to the wire being tested, through which the wire being tested passes. By setting the guide cylinders 402 on the front and rear sides of the wire diameter detector 5, it is ensured that when the rear end of the wire being tested leaves the rear guide wheel group, it can still pass through the wire diameter detector 5 in a straight line, thereby completing the detection of the entire wire.

[0127] The wire diameter detector 5 can be an existing detector. In some embodiments, see... Figure 4 The wire diameter detector 5 includes an annular substrate 501 and multiple detection components spaced circumferentially on the annular substrate 501. Each detection component includes a laser emitter 502 and an image receiver 503 arranged opposite each other along the diameter of the annular substrate 501. The wire under test passes through the center of the annular substrate 501. The laser emitter 502 emits a laser beam towards the wire under test, and the image receiver 503 receives the laser beam to detect the diameter of the wire under test, thus obtaining the measured diameter. The laser emitter 502 and image receiver 503 of the detection components can measure the diameter based on the Fraunhofer diffraction principle.

[0128] Preferably, at least three detection components are provided, and each detection component is equally spaced along the circumference of the annular substrate 501.

[0129] In some preferred embodiments, see Figure 5 The laser emitter 502 includes a first housing 5021, a laser emitting unit 5022, and a first lens 5023. The image receiver 503 includes a second housing 5031, a second lens 5032, and an image sensor 5033. The first lens 5023 and the second lens 5032 are arranged opposite to each other. The laser emitting unit 5022 is located on the side of the first lens 5023 away from the second lens 5032, and the image sensor 5033 is located on the side of the second lens 5032 away from the first lens 5023. During operation, the laser beam emitted by the laser emitting unit 5022 is collimated by the first lens 5023 to form a parallel beam. After passing through the wire under test, the parallel beam, under the action of the second lens 5032, forms a diffraction waveform of the wire under test at the image sensor 5033. The measured diameter of the wire under test can be obtained by analyzing the diffraction waveform.

[0130] Furthermore, an aperture 5024 is provided between the laser emitting unit 5022 and the first lens 5023, and a cylindrical mirror 5034 is provided between the second lens 5032 and the image sensor 5033. The width of the diffraction waveform formed at the image sensor 5033 can be adjusted by the aperture 5024 and the cylindrical mirror 5034 so that the image sensor 5033 can receive a complete diffraction image.

[0131] In this document, relational terms such as first and second are used only to distinguish one entity or operation from another entity or operation, without necessarily requiring or implying any such actual relationship or order between these entities or operations.

[0132] The above description is merely an embodiment of this application and is not intended to limit the scope of protection of this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of protection of this application.

Claims

1. A method for detecting wire diameter uniformity, characterized in that, Including the following steps: A1. Obtain the target diameter of the wire required for printing the target workpiece, and obtain the required length of the wire required for printing a single target workpiece; A2. Measure the equivalent diameter of the wire at various points; A3. Compare the equivalent diameter with the target diameter to determine the wire diameter qualification at each of the aforementioned locations; A4. Based on the wire diameter qualification and the required length at each of the aforementioned locations, obtain the start and end points of the usable wire segments with uniform wire diameters for each segment of the tested wire. The available line segment is a continuous line segment with a length not less than the required length that can be used to print the target workpiece. ; Step A4 includes: A401. Search for the first location point with a suitable wire diameter from front to back, and use it as a candidate starting point; A402. From front to back, sequentially check the wire diameter compliance of each of the positions after the candidate starting point, and accumulate the number of positions with unqualified wire diameters, recording them as the number of bad points, until one of the following conditions is met: Condition 1: The distance between the currently detected location point and the candidate starting point is not less than the required length; Condition 2: The number of consecutive non-compliant wire diameter points reaches a preset first point threshold. Condition 3: The currently detected location point is the last location point detected. A403. If condition 2 is met, then clear the number of bad points to zero, update the candidate starting point to the first qualified wire diameter position point after the currently detected position point, and return to step A402; A404. If condition 1 is met, and the number of bad points is less than the preset second threshold, then add the candidate starting point to the end of the starting point sequence, add the currently detected position point to the end of the ending point sequence, clear the number of bad points to zero, and update the candidate starting point to the first qualified wire diameter position point after the currently detected position point, and return to step A402; if the number of bad points is not less than the preset second threshold, then clear the number of bad points to zero, and update the candidate starting point to the first qualified wire diameter position point after the last detected unqualified wire diameter position point, and return to step A402. A405. If condition 3 is met, stop the detection and take the points with the same order in the starting point sequence and the ending point sequence as the starting point and ending point of each available line segment, and obtain the starting and ending point positions of each available line segment.

2. The wire diameter uniformity detection method according to claim 1, characterized in that, Step A2 includes: A201. Obtain the measured diameters of each of the aforementioned locations in multiple different directions; the measured diameters of the same location in multiple different directions are the measured diameters of different directional angles on the cross-section of the location. A202. Obtain the equivalent diameter of each of the aforementioned locations based on the measured diameter.

3. The wire diameter uniformity detection method according to claim 2, characterized in that, Step A202 includes: Calculate the average value of all measured diameters at the same location point as the equivalent diameter of the location point.

4. The method for detecting wire diameter uniformity according to claim 1, characterized in that, Step A3 includes: If the absolute value deviation between the equivalent diameter and the target diameter of the location point is less than a preset deviation threshold, the line diameter of the location point is determined to be qualified; otherwise, the line diameter of the location point is determined to be unqualified.

5. An electronic device, characterized in that, It includes a processor and a memory, the memory storing a computer program executable by the processor, which, when executed by the processor, performs the steps of the wire diameter uniformity detection method as described in any one of claims 1-4.

6. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it performs the steps in the wire diameter uniformity detection method as described in any one of claims 1-4.

7. A wire diameter uniformity detection system, characterized in that, It includes an unwinding mechanism, a winding mechanism, a guiding mechanism, a wire diameter detector, and a host computer, wherein the unwinding mechanism, the winding mechanism, and the wire diameter detector are all electrically connected to the host computer; The unwinding mechanism is used to unwind the wire being tested; The winding mechanism is used to wind up the wire being tested; The guiding mechanism is disposed between the unwinding mechanism and the winding mechanism and is used to guide the wire under test so that the wire under test passes through the wire diameter detector; The wire diameter detector is used to measure the equivalent diameter of the wire at various locations and send the data to the host computer. The host computer is used to obtain the target diameter of the wire required for printing the target workpiece, and to obtain the required length of the wire required for printing a single target workpiece. It compares the equivalent diameter with the target diameter to determine the wire diameter qualification at each location point. Based on the wire diameter qualification at each location point and the required length, it obtains the start and end points of each usable segment of the wire with uniform wire diameter. The usable segment is a continuous segment that can be used to print the target workpiece with a length not less than the required length. When the host computer obtains the start and end points of the usable segments with uniform wire diameter for each segment of the tested wire based on the wire diameter qualification and the required length at each of the aforementioned locations, it executes the following: A401. Search for the first location point with a suitable wire diameter from front to back, and use it as a candidate starting point; A402. From front to back, sequentially check the wire diameter compliance of each of the positions after the candidate starting point, and accumulate the number of positions with unqualified wire diameters, recording them as the number of bad points, until one of the following conditions is met: Condition 1: The distance between the currently detected location point and the candidate starting point is not less than the required length; Condition 2: The number of consecutive non-compliant wire diameter points reaches a preset first point threshold. Condition 3: The currently detected location point is the last location point detected. A403. If condition 2 is met, then clear the number of bad points to zero, update the candidate starting point to the first qualified wire diameter position point after the currently detected position point, and return to step A402; A404. If condition 1 is met, and the number of bad points is less than the preset second threshold, then add the candidate starting point to the end of the starting point sequence, add the currently detected position point to the end of the ending point sequence, clear the number of bad points to zero, and update the candidate starting point to the first qualified wire diameter position point after the currently detected position point, and return to step A402; if the number of bad points is not less than the preset second threshold, then clear the number of bad points to zero, and update the candidate starting point to the first qualified wire diameter position point after the last detected unqualified wire diameter position point, and return to step A402. A405. If condition 3 is met, stop the detection and take the points with the same order in the starting point sequence and the ending point sequence as the starting point and ending point of each available line segment, and obtain the starting and ending point positions of each available line segment.

8. The wire diameter uniformity detection system according to claim 7, characterized in that, The unwinding mechanism includes an unwinding drum and a first motor that drives the unwinding drum to rotate; the winding mechanism includes a winding drum and a second motor that drives the winding drum to rotate.

9. The wire diameter uniformity detection system according to claim 7, characterized in that, The guiding mechanism includes two guide wheel sets, two guide cylinders, and at least one rotary encoder. Each guide wheel set includes two guide wheels. The wire to be tested passes between the two guide wheels in the same set and abuts against the two guide wheels. The two guide cylinders are coaxially arranged between the two guide wheel sets. The wire diameter detector is arranged between the two guide cylinders. The rotary encoder is connected to at least one guide wheel. The rotary encoder is electrically connected to the host computer.