A control method for an automatic edge-aligning device
By using layered control logic and friction compensation mechanism, the orderly correction of the front-to-back and left-to-right positions of the fabric is achieved, solving the problems of inaccurate fabric alignment and friction imbalance in existing technologies, and improving sewing quality and stability.
Patent Information
- Application Number
- CN202611236800.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-14
- Publication Date
- 2026-11-10
AI Technical Summary
Existing automatic edge alignment control methods cannot prioritize and correct fabric front-to-back and left-to-right position deviations. Furthermore, changes in friction during position adjustment affect feeding stability, leading to a decline in sewing quality.
By calculating the lateral and longitudinal offsets of the fabric, the longitudinal offset is first determined to see if it meets the preset conditions. The front and rear positions are then corrected. During the correction process, the tilt angle of the connector and the extension length of the feeding tooth component are adjusted to maintain constant friction. Combined with left and right alignment correction, the fabric is precisely aligned.
This ensures stable edge alignment of the fabric during sewing, improving sewing quality and production efficiency, and avoiding slippage or jamming caused by uneven friction.
Smart Images

Figure CN123063945A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of textile machinery technology, and in particular to a control method for an automatic edge-aligning device. Background Technology
[0002] In the sewing production process, aligning the fabric edges is a crucial step in ensuring the flatness of the sewn products and the quality of the finished product. To replace manual edge alignment and improve the automation level and production efficiency of sewing processing, automatic edge alignment devices and their control methods have been widely used in various sewing conditions.
[0003] Existing automatic edge alignment control methods typically involve an identification mechanism that detects the fabric alignment status in real time and transmits position data, followed by a feeding mechanism that performs the edge alignment action based on the detection results.
[0004] However, existing control methods, upon detecting fabric position deviations, typically only adjust the fabric position in a single direction, failing to prioritize adjustments for front-to-back and left-to-right position deviations, thus hindering edge alignment. Furthermore, existing methods, when adjusting the position or force of the feeding element to correct fabric deviations, do not consider the impact of frictional changes during position adjustment on feeding stability, easily disrupting the original feeding friction balance and further affecting edge alignment accuracy and sewing quality. Summary of the Invention
[0005] This invention provides a control method for an automatic edge alignment device to solve the technical problems in existing control methods that cannot prioritize the correction of front-to-back and left-to-right position deviations of the fabric, as well as the slippage or jamming of the feed caused by frictional imbalance during position adjustment.
[0006] This invention provides a control method for an automatic edge-aligning device. The automatic edge-aligning device includes a housing, a feeding mechanism, an identification mechanism, and a control module. The feeding mechanism includes a material separator and two sets of feeding components. The material separator is connected to the housing and is used to separate the upper and lower fabrics to be sewn. The two sets of feeding components are respectively disposed on the upper and lower sides of the material separator. Each feeding component includes a drive component and a feeding roller. The drive component is rotatably connected to the housing, and the feeding roller is installed at the end of the drive component away from the housing and is driven by the drive component to rotate around its own axis. Each feeding roller includes a roller body and a feeding tooth component. The roller body is rotatably connected to the drive component, and the feeding tooth component is movably disposed on the roller body and can extend or retract relative to the outer peripheral wall of the roller body. The drive component includes a drive motor and a connector. One end of the connector is connected to the drive motor, and the other end is provided with a rotating shaft. The roller body is sleeved on the outer periphery of the rotating shaft and rotates around it. The control module is disposed inside the housing and is connected to the identification mechanism and the drive component. The method includes: determining the lateral and longitudinal offsets between the real-time coordinates of the current positioning points of the upper and lower fabrics on one side of the edge to be aligned and their corresponding reference coordinates; determining whether the absolute values of the longitudinal offsets of the current positioning points of the upper and lower fabrics are both less than a preset alignment threshold; if the absolute value of the longitudinal offset of the current positioning point of any fabric is greater than or equal to the preset alignment threshold, adjusting the tilt angle of the corresponding connector of that fabric to correct the front and rear position of the fabric, and simultaneously adjusting the extension length of the feeding tooth component to compensate for frictional changes, so that the actual friction of the feeding roller is maintained at the standard friction; if the absolute values of the longitudinal offsets of the current positioning points of the upper and lower fabrics are both less than the preset alignment threshold, adjusting the rotation direction and speed of the corresponding feeding rollers according to the lateral offsets of the current positioning points of the upper and lower fabrics respectively, to correct the left and right alignment deviations of the upper and lower fabrics.
[0007] Optionally, before determining the lateral and longitudinal offsets between the real-time coordinates of the current positioning points of the upper and lower fabrics on one side of the edge to be aligned and the corresponding reference coordinates, the control method further includes: obtaining the real-time coordinates of the current positioning points of the upper and lower fabrics; and obtaining the reference coordinates of all positioning points to which the current positioning points of the upper and lower fabrics belong.
[0008] Optionally, the step of obtaining the reference coordinates of all positioning points to which the current positioning point of the upper and lower fabrics belongs includes: acquiring image data of the upper and lower fabrics through an identification mechanism, and converting the images into image data and transmitting them to the control module; the control module identifies the fabric outline based on the image data, and establishes a planar coordinate system based on the smallest rectangular frame of the outer edge of the fabric; setting n positioning points along one side of the edge to be matched on the upper and lower fabrics at preset intervals, and using the position of each positioning point in the planar coordinate system as the reference coordinates of each positioning point; n is an integer greater than or equal to 1.
[0009] Optionally, before determining the lateral and longitudinal offsets between the real-time coordinates of the current positioning points of the upper and lower fabrics on the opposite side and their corresponding reference coordinates, the control method further includes: performing a trial feeding of the fabric, adjusting the extension length of the feeding tooth component and the tilt angle of the connector until the feeding roller can complete the feeding without slipping, recording the extension length of the feeding tooth component and the tilt angle of the connector in the current state; and determining the standard friction force based on the recorded extension length and tilt angle.
[0010] Optionally, after determining the standard friction force based on the recorded extension length and tilt angle, the control method further includes: removing the fabric, adjusting the extension length of the feeding tooth component relative to the roller body and the tilt angle of the connector, so that the friction force output by the feeding roller reaches the standard friction force.
[0011] Optionally, the step of adjusting the rotation direction and speed of the corresponding feeding rollers according to the lateral offset of the current positioning point of the upper fabric and the lateral offset of the current positioning point of the lower fabric to correct the left-right alignment deviation of the upper and lower fabrics includes: determining the rotation direction of the feeding roller on the upper side of the partition member according to the sign of the lateral offset of the current positioning point of the upper fabric, and determining the speed of the feeding roller on the upper side of the partition member according to the absolute value of the lateral offset of the current positioning point of the upper fabric; determining the rotation direction of the feeding roller on the lower side of the partition member according to the sign of the lateral offset of the current positioning point of the lower fabric, and determining the speed of the feeding roller on the lower side of the partition member according to the absolute value of the lateral offset of the current positioning point of the lower fabric; wherein, the speed is positively correlated with the absolute value of the corresponding lateral offset.
[0012] Optionally, the step of determining the rotation direction of the feeding roller on the upper side of the partition member based on the sign of the lateral offset of the current positioning point of the upper fabric includes: if the lateral offset of the current positioning point of the upper fabric is positive, controlling the feeding roller on the upper side of the partition member to rotate clockwise to drive the upper fabric to move to the left; if the lateral offset of the current positioning point of the upper fabric is negative, controlling the feeding roller on the upper side of the partition member to rotate counterclockwise to drive the upper fabric to move to the right; the step of determining the rotation direction of the feeding roller on the lower side of the partition member based on the sign of the lateral offset of the current positioning point of the lower fabric includes: if the lateral offset of the current positioning point of the lower fabric is positive, controlling the feeding roller on the lower side of the partition member to rotate clockwise to drive the lower fabric to move to the right; if the lateral offset of the current positioning point of the lower fabric is negative, controlling the feeding roller on the lower side of the partition member to rotate counterclockwise to drive the lower fabric to move to the left.
[0013] Optionally, after adjusting the rotation direction and speed of the corresponding feeding rollers according to the lateral offset of the current positioning point of the upper fabric and the lateral offset of the current positioning point of the lower fabric to correct the left and right alignment deviation of the upper and lower fabrics, the control method further includes: determining the total offset of the current positioning point of the upper fabric and the total offset of the current positioning point of the lower fabric, and determining the alignment deviation value of the current positioning point according to the standard alignment spacing corresponding to the current positioning point, the total offset of the current positioning point of the upper fabric and the total offset of the current positioning point of the lower fabric; determining whether the alignment deviation value is greater than a preset error threshold; if the alignment deviation value is greater than the preset error threshold, triggering an edge abnormality alarm.
[0014] Optionally, the step of determining the alignment deviation value of the current positioning point based on the standard alignment distance corresponding to the current positioning point, the total offset of the current positioning point of the upper fabric, and the total offset of the current positioning point of the lower fabric includes: calculating the standard alignment distance of the current positioning point minus the sum of the total offset of the current positioning point of the upper fabric and the total offset of the current positioning point of the lower fabric, and taking the absolute value as the alignment deviation value of the current positioning point.
[0015] Optionally, after determining whether the alignment deviation value is greater than a preset error threshold, the control method further includes: if the alignment deviation value is less than or equal to the preset error threshold, determining whether the sewing process is completed; if the sewing process is determined to be completed, controlling the feeding mechanism to stop the edge alignment action; if the sewing process is determined not to be completed, returning to the step of determining the lateral and longitudinal offsets between the real-time coordinates of the current positioning points of the upper and lower fabrics on the edge to be aligned and the corresponding reference coordinates.
[0016] The control method provided in this invention firstly calculates the lateral and longitudinal offsets of the current positioning points of the upper and lower fabric pieces, and prioritizes determining whether the longitudinal offset meets a preset condition. Left-right alignment correction is only performed when the absolute values of the longitudinal offsets of the current positioning points of both fabric pieces are less than a preset alignment threshold; otherwise, front-back position correction is prioritized, and the system is re-evaluated after correction. This forms a layered control logic of "first judging the longitudinal position, then adjusting the lateral position." This logic ensures that the two fabric pieces are aligned in the feeding direction before left-right alignment correction, effectively avoiding the problem of left-right correction failure due to front-back misalignment, and achieving orderly and precise adjustment of front-back and left-back position deviations. Secondly, when adjusting the tilt angle of the connector to correct the front-back position of the fabric, the extension length of the feeding tooth component is simultaneously adjusted to compensate for friction fluctuations caused by changes in the tilt angle, ensuring that the actual friction of the feeding roller remains constant at the standard friction level. By adjusting the positive pressure through the tilt angle of the connector and simultaneously compensating for the friction coefficient through the extension length of the feeding tooth component, coordinated control of position adjustment and constant friction force is achieved. This balances front-to-back position correction with lateral feeding stability, effectively solving the technical problem of feeding slippage or jamming caused by friction imbalance during position adjustment. Third, by continuously collecting positioning point coordinates, calculating deviations, performing corrections, and repeating the process, a closed-loop control cycle of collection, judgment, correction, and re-collection is formed. This ensures that the fabric maintains edge alignment throughout the sewing process, significantly improving edge stability and finished product quality.
[0017] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of the present invention, nor is it intended to limit the scope of the invention. Other features of the invention will become readily apparent from the following description. Attached Figure Description
[0018] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0019] Figure 1 This is a schematic diagram of the structure of the sewing machine provided in an embodiment of the present invention; Figure 2 This is a partial structural schematic diagram of the sewing machine provided in an embodiment of the present invention; Figure 3 This is a schematic diagram of the working state of the automatic edge-aligning device and the upper and lower fabrics provided in the embodiment of the present invention; Figure 4 This is a schematic diagram of the automatic edge-matching device provided in an embodiment of the present invention; Figure 5 This is a schematic diagram of the feeding assembly when the feeding tooth component is extended, from one perspective provided in an embodiment of the present invention; Figure 6 This is a schematic diagram of the feeding assembly when the feeding tooth component extends, from another perspective provided by an embodiment of the present invention; Figure 7 This is an exploded structural diagram of the feeding component provided in an embodiment of the present invention; Figure 8 This is a cross-sectional view of the feeding assembly when the feeding tooth component is extended, as provided in an embodiment of the present invention; Figure 9 This is a schematic diagram of the feeding assembly when the feeding tooth component retracts, as provided in an embodiment of the present invention. Figure 10 This is a cross-sectional view of the feeding assembly when the feeding tooth component is retracted, as provided in an embodiment of the present invention. Figure 11 This is a flowchart of a control method for an automatic edge-aligning device provided in an embodiment of the present invention; Figure 12 This is a flowchart of another control method for an automatic edge-aligning device provided in an embodiment of the present invention; Figure 13 This is a schematic diagram of the distribution of positioning points in a planar coordinate system and the identification of fabric edge pose provided in an embodiment of the present invention; Figure 14 This is a flowchart of another control method for an automatic edge-aligning device provided in an embodiment of the present invention; Figure 15 This is a flowchart of another control method for an automatic edge-aligning device provided in an embodiment of the present invention; Figure 16 This is a schematic diagram illustrating the relationship between a standard alignment spacing and a positioning point, provided in an embodiment of the present invention. Figure 17 This is a flowchart of another control method for an automatic edge-aligning device provided in an embodiment of the present invention. Detailed Implementation
[0020] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.
[0021] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0022] To address the problems in the prior art, this application provides a control method for an automatic edge-aligning device. The following is a description of a sewing machine equipped with an automatic edge-aligning device.
[0023] Figure 1 This is a structural schematic diagram of the sewing machine provided in an embodiment of the present invention. Figure 2 This is a partial structural schematic diagram of the sewing machine provided in an embodiment of the present invention. Figure 3 This is a schematic diagram of the working state of the automatic edge-aligning device and the upper and lower fabrics provided in the embodiment of the present invention.
[0024] like Figures 1 to 3 As shown, this embodiment of the invention provides a sewing machine, including a sewing machine body 100 and an automatic edge alignment device 200. The automatic edge alignment device 200 is disposed in the sewing machine body 100, and its control module is disposed inside the housing 10 of the automatic edge alignment device 200 and is communicatively connected to the control module of the sewing machine body 100. The first direction X is the direction of fabric movement when the automatic edge alignment device 200 aligns the fabric edges, and the second direction Y is the fabric feed direction when the sewing machine body 100 is sewing. During the sewing operation, the fabric is continuously fed and transported along the second direction Y by the sewing machine body 100. Simultaneously, the fabric undergoes edge alignment adjustment along the first direction X. The automatic edge alignment device 200 establishes communication linkage with the control module of the sewing machine body 100 through its own housing 10. The two cooperate to transmit fabric feed and edge detection related signals in real time, so as to simultaneously complete the automatic alignment of the fabric edges while the fabric is continuously fed and sewn.
[0025] It should be noted that the automatic edge alignment device 200 acts on the fabric to move it along the first direction X, and will not affect the feeding and conveying of the fabric along the second direction Y by the sewing machine body 100.
[0026] Figure 4 This is a schematic diagram of the automatic edge-matching device provided in an embodiment of the present invention. Figure 5This is a schematic diagram of the feeding assembly when the feeding tooth component extends, from one perspective provided in an embodiment of the present invention. Figure 6 This is a schematic diagram of the feeding assembly when the feeding tooth component extends, from another perspective provided by an embodiment of the present invention. Figure 7 This is an exploded structural diagram of the feeding component provided in an embodiment of the present invention. Figure 8 This is a cross-sectional view of the feeding assembly when the feeding tooth component is extended, as provided in an embodiment of the present invention. Figure 9 This is a schematic diagram of the feeding assembly when the feeding tooth component retracts, as provided in an embodiment of the present invention. Figure 10 This is a cross-sectional view of the feeding assembly when the feeding tooth component retracts, as provided in an embodiment of the present invention. Figures 4 to 10 As shown, the automatic edge-aligning device 200 includes a housing 10, a feeding mechanism 20, an identification mechanism 30, and a control module.
[0027] The feeding mechanism 20 includes a material separator 1 and two sets of feeding components 2. The material separator 1 is connected to the housing 10 and is used to separate the upper fabric 40 and the lower fabric 50. The two sets of feeding components 2 are respectively arranged on the upper and lower sides of the material separator 1. Each feeding component 2 includes a drive component 21 and a feeding roller 22. The drive component 21 is rotatably connected to the housing 10. The feeding roller 22 is installed at the end of the drive component 21 away from the housing 10 and is driven by the drive component 21 to rotate around its own axis. The feeding roller 22 on the upper side of the material separator 1 is configured to press and move the upper fabric 40, and the feeding roller 22 on the lower side of the material separator 1 is configured to press and move the lower fabric 50.
[0028] Each feeding roller 22 includes a roller body 221 and a feeding tooth component 222. The roller body 221 is rotatably connected to the drive assembly 21, and the feeding tooth component 222 is movably disposed on the roller body 221 and can extend or retract relative to the outer peripheral wall of the roller body 221. When the feeding tooth component 222 extends relative to the outer peripheral wall of the roller body 221, the friction of the feeding roller 22 is greater; when the feeding tooth component 222 retracts relative to the outer peripheral wall of the roller body 221, the friction of the feeding roller 22 is smaller.
[0029] The drive assembly 21 includes a drive motor 211 and a connector 213. One end of the connector 213 is connected to the drive motor 211, and the other end is provided with a rotating shaft 214. The roller body 211 is sleeved on the outer periphery of the rotating shaft 214 and rotates around it.
[0030] The control module is located inside the housing 10 and is connected to the identification mechanism 30 and the drive assembly 213 respectively.
[0031] Figure 11This is a flowchart illustrating a control method for an automatic edge-aligning device according to an embodiment of the present invention. The method in this embodiment can be executed by a control module, which can be implemented in software and / or hardware. Figures 1 to 11 As shown, the control methods include: S101. Determine the horizontal and vertical offsets between the real-time coordinates of the current positioning points of the upper and lower fabrics on the opposite side and their corresponding reference coordinates.
[0032] Specifically, the edge to be aligned refers to the edge on which the two pieces of fabric need to be aligned with each other. For example, if the left edges of the upper fabric 40 and the lower fabric 50 need to be aligned during sewing, then this left edge is the "edge to be aligned", and all positioning points are located on this edge.
[0033] The current positioning point refers to the positioning point currently being processed by the control module. Before sewing begins, the control module has set n positioning points (n≥1) at preset intervals along the edges of the upper fabric 40 and lower fabric 50, respectively, using the recognition mechanism 30. These positioning points discretize the originally irregular fabric edges into multiple straight lines, achieving a parameterized description of the irregular fabric edges. During sewing, as the fabric moves along the second direction Y (feed direction) driven by the feed roller 22, each positioning point sequentially enters the adjustment range of the feed roller 22. The positioning point currently being processed is the "current positioning point". For the upper fabric 40 and lower fabric 50, each has its own independent current positioning point, that is, the corresponding positioning point with the same sequence number in the two fabrics. For example, the nth positioning point of the upper fabric 40 and the nth positioning point of the lower fabric 50.
[0034] Real-time coordinates refer to the actual position coordinates of the current positioning point in the planar coordinate system, which are collected in real time by the recognition mechanism 30 during the sewing process. The recognition mechanism 30 continuously collects images of the upper fabric 40 and the lower fabric 50 at a certain sampling frequency and transmits the image data to the control module, from which the control module extracts the real-time coordinate value of the current positioning point.
[0035] The reference coordinates refer to the target position coordinates of the same current positioning point under ideal opposite edge conditions, that is, the position coordinates of the positioning point when the upper fabric 40 and the lower fabric 50 are completely aligned on the opposite edge. The reference coordinates are collected by the recognition mechanism 30 and pre-stored in the control module before sewing begins, and are repeatedly used for deviation calculation in the subsequent sewing process.
[0036] The control module subtracts the real-time coordinates of the current positioning point from the corresponding reference coordinates to obtain the deviation values in the two directions. The lateral offset refers to the positional deviation of the current positioning point in the first direction X (the fabric width direction, i.e., the left-right direction), reflecting the degree to which the fabric deviates from the reference position in the opposite direction. The longitudinal offset refers to the positional deviation of the current positioning point in the second direction Y (the fabric feed direction, i.e., the front-back direction), reflecting the front-back positional shift of the fabric during sewing. This offset may be caused by factors such as differences in the fabric's shape, fluctuations in the sewing machine's feeding speed, and / or human error.
[0037] Each fabric piece (upper fabric 40) and lower fabric 50 independently possesses its current positioning point, and each calculates its own lateral and longitudinal offsets. That is, upper fabric 40 has the coordinates of its current positioning point and the corresponding offset value, and lower fabric 50 has the coordinates of its current positioning point and the corresponding offset value; both are calculated and judged independently. Through these calculations, the control module can obtain complete positional information of the edges of the two fabric pieces in a two-dimensional plane, meaning it knows not only how much each fabric piece has deviated in the left-right direction, but also whether each fabric piece has shifted in the front-back direction.
[0038] For example, suppose the reference coordinates of the current positioning point of the upper fabric 40 are (100mm, 200mm), where the horizontal coordinate represents the position in the first direction X and the vertical coordinate represents the position in the second direction Y. If the control module determines the real-time coordinates of this positioning point as (102mm, 205mm) based on the image data collected by the recognition mechanism 30, then the lateral offset can be calculated as +2mm and the vertical offset as +5mm. A positive lateral offset indicates that the positioning point is biased to the right of the reference position in the left-right direction, and needs to be adjusted to the left; a positive vertical offset indicates that the positioning point is biased to the front of the reference position in the feed direction, that is, the fabric is ahead, and its feed speed needs to be slowed down. Conversely, if the real-time coordinates are (98mm, 195mm), then the lateral offset is -2mm and the vertical offset is -5mm, indicating that the fabric is biased to the left and lagging behind, respectively, and needs to be adjusted to the right and the feed speed increased. The calculation method for the current positioning point of the lower fabric 50 is exactly the same as that for the upper fabric 40, and the two are performed independently. Through the above calculations, the control module can accurately determine the pose deviation of the current positioning point of each piece of fabric in a numerical manner, providing accurate input parameters for subsequent longitudinal offset judgment and layer correction control. It should be noted that the above values are only for understanding the calculation principle of this step; the specific values in actual applications depend on the actual position, shape, and sewing conditions of the fabric.
[0039] S102. Determine whether the absolute value of the longitudinal offset of the current positioning point of the upper fabric and the absolute value of the longitudinal offset of the current positioning point of the lower fabric are both less than the preset alignment threshold.
[0040] Specifically, in this step, the control module uses the longitudinal offset calculated in step S101 as a criterion to determine whether the forward and backward position deviation of the current positioning point is within the allowable range. The longitudinal offset reflects the position deviation of the current positioning point of the fabric in the feed direction of the second direction Y. This deviation can be positive or negative; a positive value indicates that the fabric is ahead, and a negative value indicates that the fabric is behind. To determine whether the deviation is acceptable, the control module takes the absolute value of the longitudinal offset and compares this absolute value with a preset alignment threshold.
[0041] The preset alignment threshold is a pre-defined positive parameter used to determine whether the longitudinal offset is within an acceptable deviation range. This preset alignment threshold can be set based on factors such as sewing process requirements and fabric characteristics. If the absolute value of the longitudinal offset is less than the preset alignment threshold, it indicates that the front-to-back position deviation is within an acceptable range; if it is greater than or equal to the preset alignment threshold, it indicates that the front-to-back position deviation is too large and needs correction.
[0042] In this step, the control module determines whether the absolute values of the longitudinal offsets of the current positioning points of the upper and lower fabrics are both less than a preset alignment threshold. The reason for requiring both fabrics to meet this condition is that left-right alignment correction requires both fabrics to be on the same feed position reference. If the longitudinal deviation of one fabric's current positioning point exceeds the limit while the other does not, directly performing left-right correction will cause the two fabrics to be misaligned in the feed direction, failing to achieve true edge alignment. Therefore, the control module only determines that the front-back position condition is met and left-right alignment correction can be performed when the longitudinal deviations of the current positioning points of both fabrics are within the allowable range. Conversely, if the longitudinal deviation of the current positioning point of either fabric exceeds the limit, front-back position correction must be performed first.
[0043] For example, suppose the preset alignment threshold is 3mm. If the longitudinal offset of the current positioning point of the upper fabric is +2mm, its absolute value is 2mm, which is less than 3mm; and the longitudinal offset of the current positioning point of the lower fabric is -1mm, its absolute value is 1mm, which is also less than 3mm. Since the absolute values of the longitudinal offsets of both fabrics are less than the preset alignment threshold, it indicates that the front-to-back position deviations of the two fabrics at the current positioning point are within acceptable limits, and the control module can enter the left-to-right alignment correction stage, i.e., execute step S104. If the longitudinal offset of the current positioning point of the upper fabric is +5mm, its absolute value is 5mm, which is greater than 3mm, it indicates that the upper fabric has a significant front-to-back misalignment at this positioning point. The control module needs to prioritize front-to-back position correction, and after the correction is completed, re-evaluate, i.e., execute step S103. Through the above judgment, the control module can accurately determine whether to perform front-to-back position correction or left-to-right alignment correction, thereby achieving orderly adjustment by prioritizing the elimination of front-to-back deviations and subsequently processing left-to-right deviations. S103. If the absolute value of the longitudinal offset of the current positioning point of any fabric is greater than or equal to the preset alignment threshold, the tilt angle of the corresponding connector of the fabric is adjusted to correct the front and rear position of the fabric, and the extension length of the feeding tooth component is adjusted simultaneously to compensate for the change in friction force, so that the actual friction force of the feeding roller is maintained at the standard friction force.
[0044] Specifically, the tilt angle of connector 213 refers to the angle between the length direction of connector 213 and the horizontal direction. It should be noted that the "horizontal direction" here refers to the direction parallel to the fabric bearing plane, i.e., the attached... Figure 1 and Figure 3 The direction of the plane containing the first direction X shown.
[0045] In the following description, the upward lifting and downward pressing of the connector 213 are referenced to the vertical direction (i.e., the direction perpendicular to the fabric bearing plane), which belongs to a different spatial dimension from the first direction X and the second direction Y.
[0046] Specifically, for the upper fabric 40: when the connector 213 is raised upwards, the positive pressure of the feed roller 22 on the fabric decreases, the resistance of the fabric in the feeding direction decreases, and the actual feeding speed of the fabric relatively increases, thereby eliminating the "lag" state of the fabric; when the connector 213 is pressed downwards, the positive pressure of the feed roller 22 on the fabric increases, the resistance of the fabric in the feeding direction increases, and the actual feeding speed of the fabric relatively decreases, thereby eliminating the "lead" state of the fabric. For the lower fabric 50: the inclination direction of its connector 213 is opposite to that of the upper fabric 40. That is, when the connector 213 is raised upwards, the feed roller 22 moves closer to the lower fabric 50, the positive pressure increases, and the feeding speed of the fabric relatively decreases; when the connector 213 is pressed downwards, the feed roller 22 moves away from the lower fabric 50, the positive pressure decreases, and the feeding speed of the fabric relatively increases. Therefore, for the correction of the longitudinal offset of the lower fabric 50, the tilt direction of its connector 213 is exactly opposite to that of the upper fabric 40.
[0047] The control module determines the tilt direction of connector 213 based on the sign of the longitudinal offset (i.e., whether the fabric is ahead or behind). If the longitudinal offset of the upper fabric 40 is positive (i.e., the fabric is ahead), the connector 213 corresponding to the upper fabric 40 is pressed downward to slow down the fabric feed speed; if the longitudinal offset of the upper fabric 40 is negative (i.e., the fabric is behind), the connector 213 corresponding to the upper fabric 40 is raised upward to speed up the fabric feed speed. The adjustment direction of the lower fabric 50 is the opposite. In terms of adjustment range, the larger the absolute value of the longitudinal offset, the greater the adjustment amount of the tilt angle of connector 213, so as to achieve rapid correction.
[0048] like Figure 7 , Figure 8 and Figure 10As shown, in some embodiments, the feeding roller 22 of the automatic edge-aligning device further includes an adjusting ratchet 223. The adjusting ratchet 223 is movably disposed inside the roller body 221. The multiple ratches of the adjusting ratchet 223 are arranged in a one-to-one correspondence with the multiple feeding tooth components 222. Each feeding tooth component 222 abuts against the corresponding ratchet. The adjusting ratchet 223 has a first position and a second position and can rotate and switch between the first position and the second position.
[0049] When the ratchet 223 is in the first position, each ratchet tooth is configured to push the corresponding feed tooth member 222 out through the corresponding clearance hole 2211 so that all the teeth 2221 of the feed tooth member 222 protrude from the outer peripheral wall of the roller body 221; when the ratchet 223 is in the second position, the feed tooth member 222 can be completely retracted into the roller body 221 through the corresponding clearance hole 2211.
[0050] Figure 8 The diagram shown illustrates the ratchet 223 in its first position. Figure 10 The diagram shows the adjustment ratchet 223 in the second position. Taking the position shown in the diagram as an example, when the adjustment ratchet 223 is switched from the second position to the first position, it needs to be rotated clockwise. The clockwise rotation of the adjustment ratchet 223 can push out the feeding tooth component 222 until all the teeth 2221 protrude from the outer peripheral wall of the roller body 221. When the adjustment ratchet 223 is switched from the first position to the second position, it needs to be rotated counterclockwise. The counterclockwise rotation of the adjustment ratchet 223 can provide retraction space for the feeding tooth component 222, so that the feeding tooth component 222 can be fully retracted into the roller body 221 through the corresponding clearance hole 2211.
[0051] With this setup, the extension or retraction of multiple feeding tooth components 222 can be quickly completed by adjusting the ratchet 223 through bidirectional rotation, thereby achieving rapid overall adjustment of the friction coefficient of the feeding roller 22. The operation is convenient and the switching is stable and precise.
[0052] like Figure 5 , Figure 7 and Figure 9 As shown, in some embodiments, an adjustment switch 3 is provided on the axial end face of the adjustment ratchet 223, and an adjustment through hole 4 is provided on the axial end face of the roller body 221. The adjustment switch 3 is movably disposed within the adjustment through hole 4. The control module is drivenly connected to the adjustment switch 3 and can send a drive displacement signal to the adjustment switch 3. The movement of the adjustment switch 3 relative to the adjustment through hole 4 can drive the adjustment ratchet 223 to move and switch between a first position and a second position.
[0053] The change in the tilt angle of the connector 213 will cause a change in the normal pressure of the feeding roller 22 on the fabric. With the coefficient of friction remaining constant, the actual frictional force will inevitably deviate from the standard frictional force. To eliminate this frictional deviation, the control module, while calculating the tilt angle of the connector 213, uses the frictional force formula (the product of normal pressure and coefficient of friction) to deduce the target coefficient of friction required to ensure that the actual frictional force output by the feeding roller 22 is still equal to the standard frictional force. Subsequently, the control module converts the target coefficient of friction into the target opening displacement of the adjusting switch 3 based on the preset mapping relationship between the extension length of the feeding tooth component 222 and the coefficient of friction.
[0054] Accordingly, the control module sends a position control command to the adjusting switch 3, driving the adjusting switch 3 to move within the adjusting through hole 4 to the corresponding target opening position. The movement of the adjusting switch 3 will directly drive the adjusting ratchet 223 to rotate around its own axis to the corresponding angle position. Since the ratchet teeth of the adjusting ratchet 223 have a gradually changing or stepped radial height, the rotation of the adjusting ratchet 223 can push the corresponding feeding tooth component 222 to extend outward through the clearance hole 2211 by different lengths, or allow the feeding tooth component 222 to retract inward, depending on the different angle positions.
[0055] By adjusting the tilt angle of the connector 213 to control the positive pressure, and by dynamically compensating for the friction coefficient by adjusting the displacement of the switch 3 on the extension length of the feeding tooth component 222, the control module ensures that the actual friction force exerted by the feeding roller 22 on the fabric remains constant and tends towards the standard friction force, even when the pressing state and the contact surface state change. This compensation mechanism effectively avoids slippage or jamming caused by changes in the positive pressure, ensuring the smooth conveying of the fabric by the feeding roller 22 when adjusting the front and rear positions of the fabric.
[0056] S104. If the absolute value of the longitudinal offset of the current positioning point of the upper fabric and the absolute value of the longitudinal offset of the current positioning point of the lower fabric are both less than the preset alignment threshold, then adjust the rotation direction and speed of the corresponding feeding rollers according to the lateral offset of the current positioning point of the upper fabric and the lateral offset of the current positioning point of the lower fabric respectively, so as to correct the left and right alignment deviation of the upper and lower fabrics.
[0057] Specifically, in the first direction X, the control module adjusts the rotation direction and speed of the feeding roller 22 according to the lateral offset calculated in step S101. The lateral offset reflects the degree to which the current positioning point deviates from the reference position in the first direction X. The lateral offset of the current positioning point of the upper fabric reflects the degree to which the upper fabric deviates from the reference position at that positioning point, and the lateral offset of the current positioning point of the lower fabric reflects the degree to which the lower fabric deviates from the reference position at that positioning point. If the lateral offset is positive, it means that the fabric is currently located to the right of the reference position; if the lateral offset is negative, it means that the fabric is currently located to the left of the reference position.
[0058] The control module determines the rotation direction of the corresponding feeding roller 22 based on the sign of the lateral offset of the upper and lower fabrics. For the upper fabric 40, if its lateral offset is positive, the feeding roller 22 on the upper side of the partition 1 is controlled to rotate clockwise, driving the upper fabric 40 to move to the left and return it to the reference position; if its lateral offset is negative, the feeding roller 22 is controlled to rotate counterclockwise, driving the upper fabric 40 to move to the right. For the lower fabric 50, since the two sets of feeding components 2 are respectively set on the upper and lower sides of the partition 1 and are arranged in a mirror symmetrical manner relative to the partition 1, the movement directions of the two fabrics driven by the same rotation direction are exactly opposite. When the lateral offset of the lower fabric 50 is positive, the feeding roller 22 on the lower side of the partition 1 is controlled to rotate clockwise, driving the lower fabric 50 to move to the right; when the lateral offset of the lower fabric 50 is negative, the feeding roller 22 is controlled to rotate counterclockwise, driving the lower fabric 50 to move to the left. That is, when the upper fabric 40 and the lower fabric 50 need to move closer together to achieve edge alignment, the upper feeding roller 22 rotates in the same direction as the lower feeding roller 22. However, since the two fabrics are located on the upper and lower sides of the partition 1 respectively, this rotation direction drives the two fabrics closer together. This directional relationship allows the control module to control the upper and lower feeding rollers 22 separately, independently and precisely adjusting the positions of the upper fabric 40 and the lower fabric 50 in the first direction X.
[0059] The control module also determines the rotational speed of the corresponding feeding rollers 22 based on the absolute values of the lateral offset of the upper and lower fabrics, respectively. A larger absolute value of the lateral offset of the upper fabric indicates a greater deviation from the reference position, and the control module controls the feeding rollers 22 on the upper side of the partition 1 to rotate at a higher speed to quickly pull the upper fabric back to the reference position. Conversely, a smaller absolute value of the lateral offset of the upper fabric results in a smaller rotational speed for the feeding rollers 22 on the upper side of the partition 1, allowing for fine adjustment. Similarly, a larger absolute value of the lateral offset of the lower fabric results in a higher rotational speed for the feeding rollers 22 on the lower side of the partition 1, and a smaller absolute value for the lower fabric, resulting in a smaller rotational speed. The rotational speed is positively correlated with the absolute value of the lateral offset. In a practical implementation, the control module can continuously adjust the rotational speed by adjusting the PWM duty cycle or drive frequency of the drive motor 211, or it can employ a multi-speed control strategy, such as using a high-speed gear when the absolute value of the lateral offset is large and a low-speed gear when it is small. This embodiment does not limit the specific implementation method of speed adjustment, as long as the rotational speed is positively correlated with the absolute value of the lateral offset.
[0060] Through the above operation in step S104, under the premise that the longitudinal position deviation has been eliminated, the two pieces of fabric are respectively aligned in the first direction X, so that the edges of the upper fabric 40 and the lower fabric 50 to be aligned are precisely aligned in the two-dimensional plane.
[0061] After completing the left-right alignment correction in step S104, the control flow returns to step S101 to continue acquiring the positioning point coordinates at the next moment and repeating the above judgment and correction process. Throughout the sewing process, the control module continuously monitors the positional deviation of the fabric and makes real-time corrections, forming a closed-loop control cycle of acquisition, judgment, correction, and re-acquisition, until it exits the loop after receiving the sewing completion signal.
[0062] It should be noted that the above closed-loop control cycle processes only one positioning point at a time. During the sewing process, as the fabric moves along the second direction Y, each positioning point sequentially enters the adjustment range of the feed roller 22. The control module executes the complete process of steps S101 to S104 for the positioning point currently in the adjustment range, and then continues to process the next positioning point. Since the edge shape of the fabric is continuous, the positional deviation between adjacent positioning points will not change abruptly. For example, if the lateral offset of the previous positioning point is 1mm, the lateral offset of the next positioning point is about 1.1mm, and the one after that is about 1.2mm. The deviation value changes continuously, rather than abruptly changing from 1mm to 5mm and then to 2mm. Therefore, the control module only needs to make small adjustments for the current positioning point each time. Whether it is adjusting the speed of the feed roller or adjusting the tilt angle of the connector, the changes are continuous. This point-by-point continuous adjustment method avoids the impact of sudden changes on the feeding stability, ensuring the smoothness of the sewing process and the edge accuracy. Meanwhile, since the judgment and correction of each positioning point are completed in a very short time and are matched with the feeding speed of the sewing machine, it will not affect the normal operating rhythm of the sewing machine.
[0063] Through the aforementioned continuous closed-loop control, the control module ensures that the fabric maintains edge alignment throughout the entire sewing process, effectively addressing the continuous changes in fabric posture caused by factors such as fluctuations in feed speed and / or changes in fabric shape during sewing. The control method provided in this invention firstly calculates the lateral and longitudinal offsets of the current positioning points of the upper and lower fabric pieces, and prioritizes determining whether the longitudinal offset meets a preset condition. Left-right alignment correction is only performed when the absolute values of the longitudinal offsets of the current positioning points of both fabric pieces are less than a preset alignment threshold; otherwise, front-back position correction is prioritized, and the system is re-evaluated after correction. This forms a layered control logic of "first judging the longitudinal position, then adjusting the lateral position." This logic ensures that the two fabric pieces are aligned in the feeding direction before left-right alignment correction, effectively avoiding the problem of left-right correction failure due to front-back misalignment, and achieving orderly and precise adjustment of front-back and left-back position deviations. Secondly, when adjusting the tilt angle of the connector to correct the front-back position of the fabric, the extension length of the feeding tooth component is simultaneously adjusted to compensate for friction fluctuations caused by changes in the tilt angle, ensuring that the actual friction of the feeding roller remains constant at the standard friction level. By adjusting the positive pressure through the tilt angle of the connector and simultaneously compensating for the friction coefficient through the extension length of the feeding tooth component, coordinated control of position adjustment and constant friction force is achieved. This balances front-to-back position correction with lateral feeding stability, effectively solving the technical problem of feeding slippage or jamming caused by friction imbalance during position adjustment. Third, by continuously collecting positioning point coordinates, calculating deviations, performing corrections, and repeating the process, a closed-loop control cycle of collection, judgment, correction, and re-collection is formed. This ensures that the fabric maintains edge alignment throughout the sewing process, significantly improving edge stability and finished product quality.
[0064] Figure 12 This is a flowchart of another control method for an automatic edge-aligning device provided in an embodiment of the present invention. Figures 4 to 12 As shown, the control methods include: S201. Obtain the real-time coordinates of the current positioning points of the upper and lower fabrics.
[0065] Specifically, the identification mechanism 30 continuously collects images of the upper fabric 40 and the lower fabric 50 at a certain sampling frequency during the sewing process. The identification mechanism 30 can be a camera device installed on the sewing machine, whose shooting range covers the fabric area located in front of the sewing machine needle in the sewing area, ensuring that the image of the opposite edge of the fabric can be completely captured. After the camera device converts the collected light signals into digital image data, it transmits them to the control module through a data transmission line or wireless communication.
[0066] After receiving the image data, the control module runs an image recognition algorithm to identify the fabric outline in the image, extracting the outline information of the edge to be aligned on one side of the upper fabric 40 and the lower fabric 50. Then, according to the pre-set positioning point distribution rules, it determines the positioning point being processed at the current moment, i.e., the current positioning point. Since the control module has set n positioning points (n≥1) at preset intervals along the edge to be aligned on one side of the upper fabric 40 and the lower fabric 50 before sewing begins, each positioning point sequentially enters the adjustment range of the feeding roller 22 as the fabric is fed along the second direction Y during sewing. The control module identifies the position of the positioning point in the image coordinate system or physical coordinate system from the currently acquired image frame, and reads its horizontal and vertical coordinate values as the real-time coordinates of the positioning point.
[0067] It should be noted that the upper fabric 40 and the lower fabric 50 each have their own independent current positioning point. During the sewing process, the current positioning point of the upper fabric 40 and the current positioning point of the lower fabric 50 are corresponding positioning points with the same serial number in the two fabrics, and they are located on the edge of their respective opposite sides. The control module extracts the coordinates of the current positioning point of the upper fabric 40 and the current positioning point of the lower fabric 50 from the same frame image, respectively, as their real-time coordinates. The acquisition of real-time coordinates is a fundamental operation that is continuously performed during the sewing process. Each time a real-time coordinate is acquired, the subsequent offset calculation and judgment steps begin, thus forming a continuous closed-loop control cycle.
[0068] S202. Obtain the reference coordinates of all positioning points to which the current positioning point of the upper and lower fabrics belongs.
[0069] Figure 13 This is a schematic diagram of the distribution of positioning points in a planar coordinate system and the identification of fabric edge pose provided by an embodiment of the present invention. Figure 13 The diagram uses an orthogonal coordinate system to represent the planar coordinate system established by the identification mechanism. The first direction, X, represents the fabric width direction, i.e., the edge adjustment direction; the second direction, Y, represents the fabric feed direction. The shaded area in the center of the diagram represents the fabric to be sewn. Multiple positioning points, such as positioning point 1 to positioning point n, are equidistantly positioned along the second direction Y on the edge of the fabric to be aligned. The coordinate values of each positioning point characterize the position of the fabric edge in the two-dimensional plane, and the lines connecting adjacent positioning points are used to fit the edge contour of the fabric. Figure 13 As can be seen, by setting discrete positioning points along the edge of the fabric, the originally irregular continuous curved edge is transformed into a series of coordinate points, which together constitute a parametric description of the shape of the fabric edge.
[0070] This step is in Figure 13Under the illustrated technical concept, a one-time data preparation operation is performed before sewing begins. The control module acquires images of the upper fabric 40 and the lower fabric 50 through the recognition mechanism 30, and converts the images into image data for transmission to the control module. The control module identifies the fabric outline based on the image data. After identifying the fabric outline, a planar coordinate system is established using the smallest rectangle that perfectly encloses the outer edge of the fabric as a reference. This means determining the smallest rectangle that can precisely enclose the outer edge of the fabric, using one vertex of this rectangle as the origin, and the two adjacent sides of the rectangle as coordinate axes, to establish a Cartesian coordinate system. This coordinate system established using the smallest rectangle selection method ensures that the coordinate values of all positioning points on the fabric edge are within the first quadrant of the coordinate system, facilitating subsequent calculations and data processing. The control module sets n positioning points at preset intervals along one side of the edge to be matched on both the upper fabric 40 and the lower fabric 50, and uses the coordinate values of each positioning point in the planar coordinate system as the reference coordinates for each positioning point. The reference coordinates of the n positioning points of the upper fabric 40 are marked as the reference coordinates from the first to the nth positioning point, and the reference coordinates of the n positioning points of the lower fabric 50 are similarly marked as the reference coordinates from the first to the nth positioning point. After the reference coordinates are acquired, they are stored in the control module. During subsequent sewing, when the control module determines the sequence number of the current positioning point, it can retrieve the reference coordinate value corresponding to that sequence number from all stored reference coordinates to calculate the lateral and longitudinal offsets of the current positioning point. Acquiring the reference coordinates is a one-time operation and does not require repeated acquisition after sewing begins. Through the positioning point coordinate system established in this step, the originally irregular curved edge of the fabric is discretized into multiple straight line segments, realizing a parameterized description of the irregular fabric edge and providing a reference for subsequent real-time coordinate deviation calculations.
[0071] S203. Determine the horizontal and vertical offsets between the real-time coordinates of the current positioning points of the upper and lower fabrics on the opposite side and their corresponding reference coordinates.
[0072] S204. Determine whether the absolute value of the longitudinal offset of the current positioning point of the upper fabric and the absolute value of the longitudinal offset of the current positioning point of the lower fabric are both less than the preset alignment threshold.
[0073] S205. If the absolute value of the longitudinal offset of the current positioning point of any fabric is greater than or equal to the preset alignment threshold, the tilt angle of the corresponding connector of the fabric is adjusted to correct the front and rear position of the fabric, and the extension length of the feeding tooth component is adjusted simultaneously to compensate for the change in friction force, so that the actual friction force of the feeding roller is maintained at the standard friction force.
[0074] S206. If the absolute value of the longitudinal offset of the current positioning point of the upper fabric and the absolute value of the longitudinal offset of the current positioning point of the lower fabric are both less than the preset alignment threshold, then adjust the rotation direction and speed of the corresponding feeding rollers according to the lateral offset of the current positioning point of the upper fabric and the lateral offset of the current positioning point of the lower fabric respectively, so as to correct the left and right alignment deviation of the upper and lower fabrics.
[0075] Figure 14 This is a flowchart of another control method for an automatic edge-aligning device provided in an embodiment of the present invention. Figure 14 As shown, the control methods include: S301. Perform a trial feeding of the fabric, adjust the extension length of the feeding tooth component and the tilt angle of the connector until the feeding roller can complete the feeding without slipping, and record the extension length of the feeding tooth component and the tilt angle of the connector in the current state.
[0076] Specifically, before formal sewing begins, a trial feeding calibration is performed on the current batch of fabric to determine the standard friction force suitable for the fabric. The trial feeding procedure is as follows: place the fabric in the feeding mechanism, positioning it between the feeding roller 22 and the spacer 1, and then start the feeding mechanism. During the trial feeding process, the control module or operator repeatedly adjusts the extension length of the feeding tooth component 222 relative to the roller body 221 and the tilt angle of the connecting member 213, and observes the feeding status of the feeding roller 22. Adjusting the extension length of the feeding tooth component 222 changes the coefficient of friction between the feeding roller 22 and the fabric. A larger extension length means more teeth of the feeding tooth component 222 protrude from the outer wall of the roller body 221, resulting in a greater gripping force on the fabric; a smaller extension length results in a smaller gripping force. Adjusting the tilt angle of the connecting member 213 changes the normal pressure exerted by the feeding roller 22 on the fabric. When the connector 213 is lifted upwards, the normal force decreases; when it is pressed downwards, the normal force increases. The actual frictional force of the feed roller 22 on the fabric is determined by both the aforementioned coefficient of friction and the normal force.
[0077] The purpose of trial feeding is to find a set of parameters that allows the feeding roller 22 to complete feeding smoothly without slippage. Complete feeding means that the feeding roller 22 can drive the fabric to move continuously and stably along the feed direction without the fabric stopping or the feeding being interrupted. No slippage means that there is no relative sliding between the feeding roller 22 and the fabric; that is, the rotation of the feeding roller 22 can be reliably converted into linear motion of the fabric, without slippage where the roller rotates while the fabric remains stationary. When both conditions are met simultaneously, it indicates that the friction force of the feeding roller 22 on the fabric is within a suitable range. At this point, the friction force is large enough to overcome feeding resistance and achieve stable feeding, but not too large to avoid fabric deformation or jamming. At this time, the extension length of the feeding tooth component 222 and the tilt angle of the connecting piece 213 are recorded as the basis for subsequently determining the standard friction force.
[0078] It should be noted that during the trial feeding process, the upper fabric 40 and the lower fabric 50 can be calibrated separately, or the two fabrics can be stacked and calibrated together. Since the material and thickness of different fabrics may vary, the standard friction force corresponding to the upper fabric 40 and the lower fabric 50 may also differ. Therefore, the control module can record the extension length and tilt angle of the upper fabric 40 and the lower fabric 50 respectively for separate control during subsequent sewing.
[0079] S302. Determine the standard friction force based on the recorded extension length and tilt angle.
[0080] The control module determines the standard friction force corresponding to the current fabric based on the extension length of the feeding tooth component 222 and the tilt angle of the connector 213 recorded during the trial feeding phase. The standard friction force can be determined as follows: the control module substitutes the recorded extension length and tilt angle into a pre-stored friction force calculation formula or mapping relationship to calculate the corresponding friction force value. As mentioned earlier, the extension length of the feeding tooth component 222 determines the friction coefficient μ between the feeding roller 22 and the fabric. The larger the extension length, the more protruding the teeth, and the larger the friction coefficient μ; the tilt angle of the connector 213 determines the normal force exerted by the feeding roller 22 on the fabric. As the tilt angle changes, the normal force also changes. Specifically, ; The positive pressure on the fabric, These two values, representing fabric thickness, are entirely determined by the fabric itself and cannot be changed. L is the tilt angle of connector 213, and L is the length of connector.
[0081] Therefore, the corresponding coefficient of friction and normal force can be determined based on the extension length and tilt angle recorded during the trial feeding stage, and then the formula can be used to... The corresponding friction value is calculated, which is the friction value that ensures the feed roller 22 can smoothly complete the feeding without slipping, and is denoted as the standard friction force. The standard friction force is the target friction force value that the feed roller 22 needs to maintain during subsequent sewing processes. That is, in the subsequent front and back position correction, the control module needs to ensure that the actual friction force of the feed roller 22 is always maintained near the standard friction force to ensure the stability and consistency of feeding.
[0082] It should be noted that the standard friction force can be determined either by looking up a table. The control module has a pre-stored mapping table of friction force values corresponding to different combinations of extension length and tilt angle, which can be directly retrieved during determination; or it can be calculated using an empirical formula, i.e., by using an empirical formula derived from fitting experimental data. Regardless of the method used, as long as the corresponding friction force value can be determined based on the recorded extension length and tilt angle, it is acceptable.
[0083] S303. Take out the fabric, adjust the extension length of the feeding tooth component relative to the roller body and the tilt angle of the connecting part so that the friction force output by the feeding roller reaches the standard friction force.
[0084] After the trial feeding calibration and standard friction force determination are completed, since the fabric is still between the feeding roller 22 and the separator 1 during the trial feeding stage, the extension length of the feeding tooth component 222 and the tilt angle of the connecting component 213 will be affected by the presence of the fabric. In other words, the presence of the fabric will change the gap between the roller and the separator, causing the parameters set in the no-load state to have different actual effects when the fabric is present. Therefore, it is necessary to first remove the fabric used for trial feeding, so that the feeding roller 22 is in an no-load state, and then, according to the standard friction force determined in step S302, readjust the extension length of the feeding tooth component 222 and the tilt angle of the connecting component 213 so that the friction force output by the feeding roller 22 reaches the standard friction force.
[0085] Specifically, the control module calculates the required coefficient of friction and normal force based on the standard friction value, thereby determining the target extension length of the feeding tooth component 222 and the target tilt angle of the connector 213. It then sends control signals to the corresponding drive mechanism to adjust the extension length of the feeding tooth component 222 and the tilt angle of the connector 213 to the target values. After adjustment, the friction output by the feeding roller 22 is equal to the standard friction. At this point, the fabric to be sewn can be placed into the feeding mechanism to begin sewing. During subsequent sewing, the feeding roller 22 will use this standard friction as the target friction for feeding. During the position correction process in step S103, the extension length of the feeding tooth component 222 is adjusted synchronously to compensate for friction fluctuations caused by changes in the tilt angle of the connector 213, ensuring that the actual friction remains near the standard friction.
[0086] Through the above steps S301 to S303, adaptive calibration of friction force is achieved for different batches, materials and thicknesses of fabrics, enabling the automatic edge alignment device to flexibly adapt to various types of fabrics without the need for manual replacement of rollers or manual adjustment of friction force parameters, thus improving the versatility and automation of the equipment.
[0087] S304. Determine the horizontal and vertical offsets between the real-time coordinates of the current positioning points of the upper and lower fabrics on the opposite side of the edge to be matched and the corresponding reference coordinates. S305. Determine whether the absolute value of the longitudinal offset of the current positioning point of the upper fabric and the absolute value of the longitudinal offset of the current positioning point of the lower fabric are both less than the preset alignment threshold. S306. If the absolute value of the longitudinal offset of the current positioning point of any fabric is greater than or equal to the preset alignment threshold, the tilt angle of the corresponding connector of the fabric is adjusted to correct the front and rear position of the fabric, and the extension length of the feeding tooth component is adjusted simultaneously to compensate for the change in friction force, so that the actual friction force of the feeding roller is maintained at the standard friction force. S307. If the absolute value of the longitudinal offset of the current positioning point of the upper fabric and the absolute value of the longitudinal offset of the current positioning point of the lower fabric are both less than the preset alignment threshold, then adjust the rotation direction and speed of the corresponding feeding rollers according to the lateral offset of the current positioning point of the upper fabric and the lateral offset of the current positioning point of the lower fabric respectively, so as to correct the left and right alignment deviation of the upper and lower fabrics.
[0088] Figure 15 This is a flowchart of another control method for an automatic edge-aligning device provided in an embodiment of the present invention. Figure 15 As shown, the control methods include: S401. Determine the horizontal and vertical offsets between the real-time coordinates of the current positioning points of the upper and lower fabrics on one side of the edge to be matched and the corresponding reference coordinates. S402. Determine whether the absolute value of the longitudinal offset of the current positioning point of the upper fabric and the absolute value of the longitudinal offset of the current positioning point of the lower fabric are both less than the preset alignment threshold. S403. If the absolute value of the longitudinal offset of the current positioning point of any fabric is greater than or equal to the preset alignment threshold, the tilt angle of the corresponding connector of the fabric is adjusted to correct the front and rear position of the fabric, and the extension length of the feeding tooth component is adjusted simultaneously to compensate for the change in friction force, so that the actual friction force of the feeding roller is maintained at the standard friction force. S404. If the absolute value of the longitudinal offset of the current positioning point of the upper fabric and the absolute value of the longitudinal offset of the current positioning point of the lower fabric are both less than the preset alignment threshold, then adjust the rotation direction and speed of the corresponding feeding rollers according to the lateral offset of the current positioning point of the upper fabric and the lateral offset of the current positioning point of the lower fabric respectively, so as to correct the left and right alignment deviation of the upper and lower fabrics.
[0089] S405. Determine the total offset of the current positioning point of the upper fabric and the total offset of the current positioning point of the lower fabric, and determine the alignment deviation value of the current positioning point based on the standard alignment spacing corresponding to the current positioning point, the total offset of the current positioning point of the upper fabric and the total offset of the current positioning point of the lower fabric.
[0090] This step involves a verification and alarm mechanism for edge anomalies. After completing the left and right alignment correction, the control module further performs alignment deviation verification to determine whether the current edge is in a normal state, thereby promptly detecting and alerting to potential edge errors.
[0091] Specifically, the control module first calculates the total offset of the current positioning points of the upper fabric 40 and the lower fabric 50, respectively. For the nth positioning point of the upper fabric 40, the total offset refers to the comprehensive displacement of that positioning point from its reference position in the two-dimensional plane. Based on the lateral offset calculated in step S101... With longitudinal offset The total offset of the nth positioning point of the upper fabric 40 is: That is, the Euclidean distance from the reference position to the real-time position of the positioning point.
[0092] Similarly, the total offset of the nth positioning point of the lower fabric 50 is ,in and These are the lateral and longitudinal offsets of the nth positioning point of the lower fabric 50, respectively.
[0093] After obtaining the total offset of the current positioning point, the control module determines the alignment deviation value Dn based on the standard alignment spacing dn corresponding to the current positioning point. Figure 16 This is a schematic diagram illustrating the relationship between a standard alignment spacing and a positioning point, provided by an embodiment of the present invention. For example... Figure 16 As shown, the standard alignment spacing dn refers to the distance that should be maintained between the nth corresponding positioning points of the upper fabric 40 and the lower fabric 50 under ideal alignment. This value is determined by the design dimensions of the fabric and the sewing process requirements, reflecting the expected relative positional relationship between corresponding points of the two fabrics during sewing.
[0094] In some embodiments, the absolute value of the difference between the standard alignment distance of the current positioning point and the sum of the total offsets of the current positioning points of the upper and lower fabrics is taken as the alignment deviation value of the current positioning point.
[0095] In other words, the formula for calculating the alignment deviation value Dn is: Dn= ; The physical meaning of this calculation is as follows: When the upper and lower fabrics are not offset, the standard alignment distance minus zero equals the standard alignment distance itself, and the alignment deviation is zero. This indicates that the corresponding positioning points of the two fabrics are in an ideal relative position, with no edge-to-edge error. When either fabric piece is offset, its total offset will cause the actual alignment distance to deviate from the standard alignment distance. The larger the deviation, the greater the edge-to-edge error. Therefore, the alignment deviation value quantifies the degree of deviation between the actual distance and the ideal distance between the corresponding positioning points of the two fabrics at the current moment.
[0096] S406. Determine whether the alignment deviation value is greater than the preset error threshold.
[0097] Specifically, the control module compares the calculated alignment deviation value Dn with a preset error threshold. In this embodiment, the preset error threshold is set to one-tenth of the standard alignment distance dn of the corresponding positioning point, i.e., dn / 10. If the following condition is met: Dn > dn / 10; If the alignment deviation is greater than one-tenth of the standard alignment distance, it indicates that the deviation between the actual alignment distance and the standard alignment distance at that positioning point has exceeded the allowable range, and there is a large error in the current alignment status, which may be caused by recognition delay, fabric slippage, abnormal feeding, or other interference factors. At this time, the control module triggers an alignment error alarm, notifying the operator to check the alignment status or perform manual intervention. If the alignment deviation values of all positioning points do not exceed the error threshold, it indicates that the current alignment status is normal, and the control process continues to proceed with subsequent operations. That is to say, if the alignment deviation value of the current positioning point is greater than the preset error threshold, step S407 is executed.
[0098] By calculating the alignment deviation and verifying the error, this embodiment can monitor the alignment accuracy in real time during the sewing process and issue an alarm in time when a large error occurs, effectively preventing product quality problems caused by alignment errors and improving the reliability of the sewing process and the consistency of finished product quality.
[0099] S407, Triggering an abnormal alarm on the opposite side.
[0100] Figure 17 This is a flowchart of another control method for an automatic edge-aligning device provided in an embodiment of the present invention. Figure 17 As shown, the control methods include: S501. Perform a trial feeding of the fabric, adjust the extension length of the feeding tooth component and the tilt angle of the connector until the feeding roller can complete the feeding without slipping, and record the extension length of the feeding tooth component and the tilt angle of the connector in the current state.
[0101] S502. Determine the standard friction force based on the recorded extension length and tilt angle.
[0102] S503. Take out the fabric, adjust the extension length of the feeding tooth component relative to the roller body and the tilt angle of the connecting part so that the friction force output by the feeding roller reaches the standard friction force.
[0103] S504. Obtain the real-time coordinates of the current positioning points of the upper and lower fabrics respectively; S505. Obtain the reference coordinates of all positioning points to which the current positioning point of the upper and lower fabrics belongs.
[0104] S506. Determine the horizontal and vertical offsets between the real-time coordinates of the current positioning points of the upper and lower fabrics on the opposite side of the edge to be matched and the corresponding reference coordinates. S507. Determine whether the absolute value of the longitudinal offset of the current positioning point of the upper fabric and the absolute value of the longitudinal offset of the current positioning point of the lower fabric are both less than the preset alignment threshold. S508. If the absolute value of the longitudinal offset of the current positioning point of any fabric is greater than or equal to the preset alignment threshold, the tilt angle of the corresponding connector of the fabric is adjusted to correct the front and rear position of the fabric, and the extension length of the feeding tooth component is adjusted simultaneously to compensate for the change in friction force, so that the actual friction force of the feeding roller is maintained at the standard friction force. S509. If the absolute value of the longitudinal offset of the current positioning point of the upper fabric and the absolute value of the longitudinal offset of the current positioning point of the lower fabric are both less than the preset alignment threshold, then adjust the rotation direction and speed of the corresponding feeding rollers according to the lateral offset of the current positioning point of the upper fabric and the lateral offset of the current positioning point of the lower fabric respectively, so as to correct the left and right alignment deviation of the upper and lower fabrics.
[0105] S510. Determine the total offset of the current positioning point of the upper fabric and the total offset of the current positioning point of the lower fabric, and determine the alignment deviation value of the current positioning point based on the standard alignment spacing corresponding to the current positioning point, the total offset of the current positioning point of the upper fabric and the total offset of the current positioning point of the lower fabric.
[0106] S511. Determine whether the alignment deviation value is greater than the preset error threshold.
[0107] S512, Trigger an edge anomaly alarm.
[0108] S513. Determine whether the sewing process is complete.
[0109] Specifically, when the alignment deviation of the current positioning point does not exceed the preset error threshold, i.e., the current edge alignment status is normal and no alarm needs to be triggered, the control module further determines whether the sewing process has been completed. The determination of whether the sewing process has been completed is based on whether the control module receives a thread-cutting signal sent by the sewing machine body. This thread-cutting signal is triggered by the worker stepping on the foot pedal. When the sewing operation is completed, the worker steps on the foot pedal to perform the thread-cutting operation, and the sewing machine body sends a thread-cutting signal to the control module. After receiving this signal, the control module determines that the sewing process has been completed. If the control module has not yet received the thread-cutting signal, it indicates that the sewing process is still in progress. At this time, the control flow returns to step S506, continues to collect the positioning point coordinates at the next moment, and repeats the above judgment and correction process to form a continuous closed-loop control cycle. If the control module has received the thread-cutting signal, it determines that the sewing process has been completed, executes step S514, controls the feeding mechanism to stop the edge alignment action, and ends the edge alignment control process of this sewing.
[0110] S514, Control the feeding mechanism to stop the edge-aligning action.
[0111] like Figure 7 As shown, in some embodiments, the drive assembly 21 includes a timing belt 212, the housing of the drive motor 211 is rotatably connected to the housing 10, the timing belt 212 is sleeved on the output end of the drive motor 211 and the outside of the roller body 221, and the operation of the drive motor 211 can drive the roller body 221 to rotate synchronously through the timing belt 212.
[0112] With this setup, the drive motor 211, in conjunction with the synchronous belt 212, drives the feeding roller 22 to rotate. The transmission is smooth, ensuring that the roller body 221 rotates at a uniform speed and avoiding speed fluctuations in the fabric conveying process. At the same time, the outer shell of the drive motor 211 can rotate relative to the housing 10, allowing for synchronous adjustment of the pressing angle of the feeding roller 22 to accommodate fabrics of different thicknesses.
[0113] Optionally, the synchronous belt 212 is engaged with the drive motor 211 and with the roller body 221 respectively to improve the transmission driving force.
[0114] It should be understood that the various forms of processes shown above can be used, with steps reordered, added, or deleted. For example, the steps described in this invention can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution of this invention can be achieved, and this is not limited herein.
[0115] The specific embodiments described above do not constitute a limitation on the scope of protection of this invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this invention should be included within the scope of protection of this invention.
Claims
1. A control method for an automatic edge-aligning device, characterized in that, The automatic edge-aligning device includes a housing, a feeding mechanism, an identification mechanism, and a control module; The feeding mechanism includes a material separator and two sets of feeding assemblies. The material separator is connected to the housing and is used to separate the upper fabric and lower fabric to be sewn. The two sets of feeding assemblies are respectively disposed on the upper and lower sides of the material separator. Each feeding assembly includes a drive assembly and a feeding roller. The drive assembly is rotatably connected to the housing. The feeding roller is mounted on the end of the drive assembly away from the housing and is driven by the drive assembly to rotate around its own axis. Each feeding roller includes a roller body and a feeding tooth component. The roller body is rotatably connected to the drive assembly. The feeding tooth component is movably disposed on the roller body and can extend or retract relative to the outer peripheral wall of the roller body. The drive assembly includes a drive motor and a connector. One end of the connector is connected to the drive motor, and the other end is provided with a rotating shaft. The roller body is sleeved on the outer circumference of the rotating shaft and rotates around it. The control module is located inside the housing and is connected to the identification mechanism and the drive assembly, respectively. The control method includes: Determine the lateral and longitudinal offsets between the real-time coordinates of the current positioning points of the upper and lower fabrics on one side of the edge to be aligned and their corresponding reference coordinates; Determine whether the absolute value of the longitudinal offset of the current positioning point of the upper fabric and the absolute value of the longitudinal offset of the current positioning point of the lower fabric are both less than a preset alignment threshold. If the absolute value of the longitudinal offset of the current positioning point of any fabric is greater than or equal to the preset alignment threshold, the tilt angle of the connector corresponding to the fabric is adjusted to correct the front and rear position of the fabric, and the extension length of the feeding tooth component is adjusted simultaneously to compensate for the change in friction force, so that the actual friction force of the feeding roller is maintained at the standard friction force. If the absolute value of the longitudinal offset of the current positioning point of the upper fabric and the absolute value of the longitudinal offset of the current positioning point of the lower fabric are both less than the preset alignment threshold, then the rotation direction and speed of the corresponding feeding rollers are adjusted according to the lateral offset of the current positioning point of the upper fabric and the lateral offset of the current positioning point of the lower fabric, respectively, in order to correct the left and right alignment deviation of the upper fabric and the lower fabric.
2. The control method for the automatic edge-aligning device according to claim 1, characterized in that, Before the step of determining the lateral and longitudinal offsets between the real-time coordinates of the current positioning points of the upper and lower fabric edges to be aligned and their corresponding reference coordinates, the control method further includes: Obtain the real-time coordinates of the current positioning points of the upper and lower fabrics respectively; Obtain the reference coordinates of all positioning points to which the current positioning point of the upper fabric and the lower fabric belong.
3. The control method for the automatic edge-aligning device according to claim 2, characterized in that, The step of obtaining the reference coordinates of all positioning points to which the current positioning point of each of the upper and lower fabrics belongs includes: The recognition mechanism collects image data of the upper and lower fabrics, and converts the images into image data which are then transmitted to the control module. The control module identifies the fabric outline based on the image data and establishes a planar coordinate system with the smallest rectangular frame selected from the outer edge of the fabric as the reference. At preset intervals, n positioning points are set along the edge of the upper and lower fabrics respectively, and the position of each positioning point in the plane coordinate system is used as the reference coordinate of each positioning point; n is an integer greater than or equal to 1.
4. The control method for the automatic edge-aligning device according to claim 1, characterized in that, Before determining the lateral and longitudinal offsets between the real-time coordinates of the current positioning points of the upper and lower fabric edges to be aligned and their corresponding reference coordinates, the control method further includes: Perform a trial feeding of the fabric, adjust the extension length of the feeding tooth component and the tilt angle of the connector until the feeding roller can complete the feeding without slipping, and record the extension length of the feeding tooth component and the tilt angle of the connector in the current state. The standard friction force is determined based on the recorded extension length and tilt angle.
5. The control method for the automatic edge-aligning device according to claim 4, characterized in that, After the step of determining the standard friction force based on the recorded extension length and tilt angle, the control method further includes: Remove the fabric, adjust the extension length of the feeding tooth component relative to the roller body and the tilt angle of the connecting member, so that the friction force output by the feeding roller reaches the standard friction force.
6. The control method for the automatic edge-aligning device according to claim 1, characterized in that, The step of adjusting the rotation direction and speed of the corresponding feeding rollers according to the lateral offset of the current positioning point of the upper fabric and the lateral offset of the current positioning point of the lower fabric to correct the left-right alignment deviation of the upper fabric and the lower fabric includes: The rotation direction of the feeding roller on the upper side of the material separator is determined according to the sign of the lateral offset of the current positioning point of the upper fabric, and the rotation speed of the feeding roller on the upper side of the material separator is determined according to the absolute value of the lateral offset of the current positioning point of the upper fabric. The rotation direction of the feeding roller on the lower side of the material separator is determined according to the sign of the lateral offset of the current positioning point of the lower fabric, and the rotation speed of the feeding roller on the lower side of the material separator is determined according to the magnitude of the absolute value of the lateral offset of the current positioning point of the lower fabric; wherein, the rotation speed is positively correlated with the magnitude of the absolute value of the corresponding lateral offset.
7. The control method for the automatic edge-aligning device according to claim 6, characterized in that, The step of determining the rotation direction of the feeding roller on the upper side of the material separator based on the sign of the lateral offset of the current positioning point of the upper fabric includes: If the lateral offset of the current positioning point of the upper fabric is positive, the feeding roller on the upper side of the partition is controlled to rotate clockwise to drive the upper fabric to move to the left; if the lateral offset of the current positioning point of the upper fabric is negative, the feeding roller on the upper side of the partition is controlled to rotate counterclockwise to drive the upper fabric to move to the right. The step of determining the rotation direction of the feeding roller on the lower side of the material separator based on the sign of the lateral offset of the current positioning point of the lower fabric includes: If the lateral offset of the current positioning point of the lower fabric is positive, the feeding roller on the lower side of the partition is controlled to rotate clockwise to drive the lower fabric to move to the right; if the lateral offset of the current positioning point of the lower fabric is negative, the feeding roller on the lower side of the partition is controlled to rotate counterclockwise to drive the lower fabric to move to the left.
8. The control method for the automatic edge-aligning device according to claim 1, characterized in that, After the step of adjusting the rotation direction and speed of the corresponding feeding rollers according to the lateral offset of the current positioning point of the upper fabric and the lateral offset of the current positioning point of the lower fabric to correct the left-right alignment deviation between the upper and lower fabrics, the control method further includes: Determine the total offset of the current positioning point of the upper fabric and the total offset of the current positioning point of the lower fabric, and determine the alignment deviation value of the current positioning point based on the standard alignment spacing corresponding to the current positioning point, the total offset of the current positioning point of the upper fabric and the total offset of the current positioning point of the lower fabric. Determine whether the alignment deviation value is greater than a preset error threshold; If the alignment deviation value is greater than the preset error threshold, an edge anomaly alarm is triggered.
9. The control method for the automatic edge-aligning device according to claim 8, characterized in that, The step of determining the alignment deviation value of the current positioning point based on the standard alignment spacing corresponding to the current positioning point, the total offset of the current positioning point of the upper fabric, and the total offset of the current positioning point of the lower fabric includes: Calculate the standard alignment distance of the current positioning point minus the sum of the total offset of the current positioning point of the upper fabric and the total offset of the current positioning point of the lower fabric, and take the absolute value as the alignment deviation value of the current positioning point.
10. The control method for the automatic edge-aligning device according to claim 8, characterized in that, After the step of determining whether the alignment deviation value is greater than a preset error threshold, the control method further includes: If the alignment deviation value is less than or equal to the preset error threshold, then it is determined whether the sewing process is completed; If it is determined that the sewing process has been completed, the feeding mechanism is controlled to stop the edge alignment action; If it is determined that the sewing process is not completed, then return to the step of determining the lateral and longitudinal offsets between the real-time coordinates of the current positioning points of the upper and lower fabrics on the side to be matched and their corresponding reference coordinates.
