Embroidery machine control system and control method
By using the detection module and control module in the embroidery machine to automatically correct the vertical state of the linear guide rail, the problem of inaccurate movement of the embroidery frame is solved, and the quality and production efficiency of embroidery works are improved.
Patent Information
- Application Number
- CN202410164535.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-05
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2044-02-05
AI Technical Summary
Due to the lack of accuracy of the linear guide rails used to fix the embroidery cloth in the embroidery machine and the easy deformation of aluminum products, it is difficult to move the embroidery frame accurately, affecting the quality of the embroidery work.
An embroidery machine control system including a first drive track, a second drive track, a first displacement detection module, a second displacement detection module and a control module is used to detect the movement distance and direction of the slider and output a correction signal to help staff adjust The vertical state of the guide rail ensures that the guide rail is vertical and improves the accuracy of the embroidery frame movement.
By automatically detecting and correcting the vertical state of the guide rail, the movement accuracy of the embroidery frame and the quality of embroidery works are improved, the correction process of the staff is simplified, and the production efficiency of the embroidery machine is improved.
Smart Images

Figure CN117845451B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of embroidery equipment, and in particular to an embroidery machine control system and a control method. Background Art
[0002] As a device that can automatically produce embroidery works, the embroidery machine can greatly improve the production efficiency of embroidery works.
[0003] The embroidery frame used to fix the embroidery cloth in the embroidery machine needs to be driven by two linear guides so that the embroidery frame can reach the specified position, so that the embroidery needle can embroider at the specified position of the embroidery cloth. In order to enable the embroidery frame to move accurately to the specified position, the two linear guides need to be set to be perpendicular to each other. However, due to the large size of the embroidery machine, the clamps used to fix the guides are not accurate enough, which will cause the fixed guides to not be completely perpendicular to each other. Since the rectangular embroidery frame is made of aluminum, it is easy to deform. Therefore, when the two linear guides are not completely perpendicular, the embroidery frame can also be placed on the linear guides and driven by the linear guides.
[0004] However, the embroidery frame is in a deformed state at this time, which makes it difficult to reach the designated position when the embroidery frame is driven to move by the linear guide rail, ultimately resulting in low quality of the embroidery work. Summary of the invention
[0005] In order to improve the quality of embroidery works, the present application provides an embroidery machine control system and a control method.
[0006] In the first aspect, the present application provides an embroidery machine control system adopts the following technical solution:
[0007] An embroidery machine control system includes: a first driving track, a second driving track, a first displacement detection module, a second displacement detection module and a control module;
[0008] A first slider is disposed on the first driving track, and a second slider is disposed on the second driving track. The first driving track is used to drive the first slider to move, and the second driving track is used to drive the second slider to move. Both the first slider and the second slider are used to drive the embroidery frame to move.
[0009] The first displacement detection module is used to detect the distance that the first slider drives the embroidery frame to move and send a first displacement electrical signal to the control module;
[0010] The second displacement detection module is used to detect the distance that the second slider drives the embroidery frame to move and send a second displacement electrical signal to the control module;
[0011] The control module is used to receive the first displacement electrical signal and convert it into a first displacement value, and is also used to receive the second displacement electrical signal and convert it into a second displacement value, and is also used to control the first driving track to drive the first slider to move, and is also used to control the second driving track to drive the second slider to move;
[0012] When the control module controls the second driving track to drive the second slider to drive the embroidery frame to move, the control module controls the first driving track to be disabled, and the control module determines whether the first displacement value changes;
[0013] If the first displacement value changes, the control module outputs a first correction signal; or
[0014] When the control module controls the first driving track to drive the first slider to drive the embroidery frame to move, the control module controls the second driving track to be disabled, and the control module determines whether the second displacement value of the second slider changes;
[0015] If the second displacement value changes, the control module outputs a second correction signal.
[0016] By adopting the above technical solution, in order to enable the first driving rail and the second driving rail to be in a vertical state, a first displacement detection module and a second displacement detection module are correspondingly set. The two displacement detection modules can detect the movement distance of the corresponding first slider and the second slider, and send the corresponding first displacement electrical signal and the second displacement electrical signal to the control module. The control module can convert the corresponding first displacement value and the second displacement value based on the two displacement electrical signals, that is, it can obtain the actual movement distance of the first slider and the second slider. After the staff has completed the setting of the two drive rails, in order to make the two drive rails perpendicular to each other, the staff will place the embroidery frame on the slider, and use the control module to control the first drive rail to drive the first slider to move so as to drive the embroidery frame to move. At the same time, the control module controls the second drive rail to be disabled, that is, the second slider can move freely on the second drive rail at this time. The control module uses the second displacement detection module to detect whether the slider moves, that is, the control module determines whether the second displacement value changes. If the second displacement value changes, it indicates that the first drive rail and the second drive rail are not perpendicular at this time, because when the first drive rail drives the embroidery frame to move, the embroidery frame has a moving component on the second drive rail. Therefore, the control module outputs a second correction signal at this time to prompt the staff to correct the position of the second drive rail so that the first drive rail and the second drive rail are perpendicular to each other. The process of the control module controlling the second drive rail to drive the embroidery frame to move, thereby determining whether the first displacement value changes is similar to the above process and will not be repeated here. Through the first displacement detection module and the second displacement detection module, not only the actual moving distance of the two sliders can be detected, but also the detection result can be used to determine whether the first driving track and the second driving track are vertical, so as to prompt the auxiliary staff to make corrections so that the two driving tracks are finally vertical, thereby improving convenience. After the correction is completed, the movement position of the embroidery frame can also be made more accurate, thereby improving the quality of the embroidery work.
[0017] Optionally, the first displacement detection module includes a first fixed end and a first movable end, the first fixed end is fixed on one side of the first driving track, the first movable end is fixed on one side of the first slider, and the first fixed end is used to detect whether the first movable end moves; the second detection module includes a second fixed end and a second movable end, the second fixed end is fixed on one side of the second driving track, the second movable end is fixed on one side of the second slider, and the second fixed end is used to detect whether the second movable end moves.
[0018] By adopting the above technical solution, the first displacement detection module is divided into a first fixed end and a first mobile end, the first mobile end is fixed on the first slider, and the first fixed end is fixed on the first driving track. When the first driving track drives the first slider to move, the first slider drives the first mobile end to move. At this time, the first fixed end can detect the movement of the first mobile end and can detect the displacement value of the movement of the first mobile end. The second displacement detection module is similar to the first displacement detection module, but the setting position is different, which will not be repeated here.
[0019] Optionally, a coordinate system is established, the coordinate system includes an X-axis and a Y-axis; if the second displacement value changes, the control module outputs a second correction signal, including:
[0020] The control module is specifically used to determine the moving direction of the first slider;
[0021] If the first slider moves in the positive direction of the X-axis, the control module determines the moving direction of the second slider;
[0022] If the second slider moves in the positive direction of the Y axis, the control module outputs a second correction signal for instructing the second driving track to rotate counterclockwise;
[0023] If the second slider moves in the negative direction of the Y axis, the control module outputs a second correction signal for instructing the second driving track to rotate clockwise;
[0024] If the first slider moves in the negative direction of the X-axis, the control module determines the moving direction of the second slider;
[0025] If the second slider moves in the positive direction of the Y axis, the control module outputs a second correction signal for instructing the second driving track to rotate clockwise;
[0026] If the second slider moves in the negative direction of the Y axis, the control module outputs a second correction signal for instructing the second driving track to rotate counterclockwise;
[0027] The moving direction of the first slider is detected by the first displacement detection module, and the moving direction of the second slider is detected by the second displacement detection module.
[0028] By adopting the above technical solution, specifically, if the second displacement value changes, the control module outputs the second correction signal, including: the control module determines the moving direction of the first slider, if the first slider moves in the positive direction of the X-axis, the control module determines the moving direction of the second slider, if the second slider moves in the positive direction of the Y-axis, it indicates that the angle between the positive semi-axis of the Y-axis and the positive semi-axis of the X-axis is less than ninety degrees at this time, so the control module outputs a counterclockwise rotation signal of the second drive track, thereby prompting the staff to rotate the second drive track counterclockwise at this time, so as to achieve the correction of the second drive track to be perpendicular to the first drive track; if the second slider moves in the negative direction of the Y-axis, it indicates that the angle between the positive semi-axis of the Y-axis and the positive semi-axis of the X-axis is greater than ninety degrees at this time, so the control module outputs a clockwise rotation signal of the second drive track, thereby prompting the staff to rotate the second drive track clockwise at this time, so as to achieve the correction of the second drive track to be perpendicular to the first drive track. If the first slider moves in the negative direction of the X-axis, the control module determines the moving direction of the second slider. If the second slider moves in the positive direction of the Y-axis, it indicates that the angle between the positive semi-axis of the Y-axis and the positive semi-axis of the X-axis is greater than ninety degrees, so the control module outputs a clockwise rotation signal for the second drive track, thereby prompting the staff to rotate the second drive track clockwise; if the second slider moves in the negative direction of the Y-axis, it indicates that the angle between the positive semi-axis of the Y-axis and the positive semi-axis of the X-axis is less than ninety degrees, so the control module outputs a counterclockwise rotation signal for the second drive track, thereby prompting the staff to rotate the second drive track counterclockwise. The control module can determine how to correct the second drive track according to the moving directions of the first slider and the second slider, which can greatly improve the convenience of the staff to correct the drive track, and can also achieve the purpose of making the two drive tracks perpendicular, thereby improving the quality of the embroidery work.
[0029] Optionally, if the first displacement value changes, the control module outputs a first correction signal, including:
[0030] The control module is specifically used to determine the moving direction of the second slider;
[0031] If the second slider moves in the positive direction of the Y axis, the control module determines the moving direction of the first slider;
[0032] If the first slider moves in the positive direction of the X-axis, the control module outputs a first correction signal for instructing the first driving track to rotate clockwise;
[0033] If the first slider moves in the negative direction of the X-axis, the control module outputs a first correction signal for instructing the first driving track to rotate counterclockwise;
[0034] If the second slider moves in the negative direction of the Y axis, the control module determines the moving direction of the first slider;
[0035] If the first slider moves in the positive direction of the X-axis, the control module outputs a first correction signal for instructing the first driving track to rotate counterclockwise;
[0036] If the first slider moves in the negative direction of the X-axis, the control module outputs a first correction signal for instructing the first driving track to rotate clockwise;
[0037] The moving direction of the first slider can be detected by the first displacement detection module, and the moving direction of the second slider can be detected by the second displacement detection module.
[0038] By adopting the above technical solution, specifically, if the first displacement value changes, the control module outputs a first correction signal including: the control module determines the moving direction of the second slider; if the second slider moves in the positive direction of the Y-axis, the control module determines the moving direction of the first slider; if the first slider moves in the positive direction of the X-axis, it indicates that the angle between the positive semi-axis of the X-axis and the positive semi-axis of the Y-axis is greater than ninety degrees at this time, so the control module outputs a clockwise rotation signal of the first drive track to prompt the staff to rotate the first drive track clockwise; if the first slider moves in the negative direction of the X-axis, it indicates that the angle between the positive semi-axis of the X-axis and the positive semi-axis of the Y-axis is less than ninety degrees at this time, so the control module outputs a counterclockwise rotation signal of the first drive track to prompt the staff to rotate the first drive track counterclockwise. If the second slider moves in the negative direction of the Y axis, the control module determines the moving direction of the first slider. If the first slider moves in the positive direction of the X axis, it indicates that the angle between the positive semi-axis of the X axis and the positive semi-axis of the Y axis is less than ninety degrees, so the control module outputs a counterclockwise rotation signal of the first drive track to prompt the staff to rotate the first drive track counterclockwise. If the first slider moves in the negative direction of the X axis, it indicates that the angle between the positive semi-axis of the X axis and the positive semi-axis of the Y axis is greater than ninety degrees, so the control module outputs a clockwise rotation signal of the first drive track to prompt the staff to rotate the first drive track clockwise. The control module can automatically determine how to correct the first drive track according to the moving directions of the first slider and the second slider, so that the first drive track is perpendicular to the second drive track, which can improve the convenience of the staff to correct the drive track, and can also make the moving position of the embroidery frame more accurate after the correction is completed, thereby improving the quality of the embroidery work.
[0039] In the second aspect, the present application provides an embroidery machine control method adopting the following technical solution:
[0040] An embroidery machine control method is applied to an embroidery machine control system as described in the first aspect, wherein the embroidery machine control system further comprises an embroidery needle drive module, the embroidery needle drive module is connected to the control module, and an embroidery needle is arranged on the embroidery needle drive module;
[0041] When the first slider moves from the first starting position to the first target position, the control module acquires a first duration of the first slider moving from the first starting position to the first target position;
[0042] When the second slider moves from the second starting position to the second target position, the control module acquires a second duration of the second slider moving from the second starting position to the second target position;
[0043] The control module controls the embroidery needle driving module to move so as to move the embroidery needle; and
[0044] Acquire a third duration for the embroidery needle driving module to move from a third starting position to a third target position;
[0045] The first duration, the second duration and the third duration are used to instruct the user to adjust the moving speed of the first slider and / or the second slider.
[0046] By adopting the above technical solution, when the control module controls the first slider to move from the first starting position to the first target position, the control module obtains the first duration of the corresponding movement of the first slider; when the control module controls the second slider to move from the second starting position to the second target position, the control module obtains the second duration of the corresponding movement of the second slider; the control module controls the movement of the embroidery needle drive module, and the control module obtains the third duration of the embroidery needle drive module moving from the third starting position to the third target position, and the control module records the three durations, so that the staff can debug according to the recorded durations, thereby adjusting the movement speed, thereby improving the production efficiency of the embroidery machine.
[0047] Optionally, after the first slider moves from the first starting position to the first target position, the method further includes:
[0048] The control module obtains a first displacement value of the first sliding block;
[0049] The control module determines whether the first sliding block actually reaches the first target position based on the first displacement value;
[0050] If the first slider does not reach the first target position, the control module outputs a first adjustment signal based on the first displacement value, so that the first driving track adjusts the position of the first slider;
[0051] After the second slider moves from the second starting position to the second target position, the method further includes:
[0052] The control module obtains a second displacement value of the second slider;
[0053] The control module determines whether the second sliding block actually reaches the first second target position based on the second displacement value;
[0054] If the second slider does not reach the first second target position, the control module outputs a second adjustment signal based on the second displacement value, so that the second driving track adjusts the position of the second slider.
[0055] By adopting the above technical solution, the control module performs control based on the target position, but there may be errors in the moving process, resulting in the first slider and / or the second slider actually failing to reach the target position. Therefore, the control module obtains the first displacement value and the second displacement value at this time, and then the control module determines whether the first slider reaches the first target position based on the first displacement value. If the first slider does not reach the first target position, the control module outputs a first adjustment signal based on the first displacement value, so that the first driving track adjusts the position of the first slider. Since the actual moving distance of the first slider is different from the first target position, the control module outputs a first adjustment signal based on the actual moving distance at this time, thereby adjusting the actual position of the first slider, and then making the actual position of the first slider the same as the first target position. The adjustment process for the second slider is the same as the adjustment process for the first slider, and will not be repeated here. By feeding back the actual positions of the first slider and the second slider, it is determined whether the first slider and the second slider have reached the target position. If they have not reached the target position, they are automatically adjusted, which can make the position of the embroidery frame more accurate and will not deviate from the target position due to errors and other reasons, so that embroidery can be performed more accurately at the specified position, thereby improving the quality of the embroidery work.
[0056] Optionally, the method further includes:
[0057] The control module determines whether the first duration is greater than or equal to a second duration;
[0058] If the first duration is greater than or equal to the second duration, the control module determines whether the first duration is greater than the third duration;
[0059] If the first duration is greater than the third duration, the control module calculates a first difference between the first duration and the third duration;
[0060] The control module increases a driving speed of the first driving track based on the first difference.
[0061] By adopting the above technical solution, the control module determines whether the first duration is greater than the second duration. If the first duration is greater than the second duration, it continues to determine whether the first duration is greater than the third duration. If the first duration is greater than the third duration, the control module calculates a first difference between the first duration and the third duration, and then the control module increases the driving speed of the first driving track based on the first difference. Since the moving time of the first slider is greater than the moving time of the second slider, and the moving time of the first slider is also greater than the moving time of the embroidery needle driving module, the driving speed of the first driving track is increased based on the first difference, thereby increasing the moving speed of the first slider, so that the embroidery frame reaches the specified position while the embroidery needle reaches the specified position, thereby achieving the purpose of improving the embroidery efficiency and thus achieving the production efficiency of the embroidery machine.
[0062] Optional,
[0063] If the first duration is less than the second duration, after the control module records the second duration and the third duration, the method further includes:
[0064] The control module determines whether the second duration is greater than the third duration;
[0065] If the second duration is greater than the third duration, the control module calculates a second difference between the second duration and the third duration;
[0066] The control module increases a drive speed of the second drive track based on the second difference.
[0067] By adopting the above technical solution, if the first duration is less than the second duration, the control module determines whether the second duration is greater than the third duration, and if the second duration is greater than the third duration, the control module calculates the second difference between the second duration and the third duration, and the control module increases the driving speed of the second driving track based on the second difference, so that the embroidery needle can reach the designated position at the same time as the embroidery frame can also reach the designated position, thereby improving the embroidery efficiency, and further improving the production efficiency of the embroidery machine. BRIEF DESCRIPTION OF THE DRAWINGS
[0068] Figure 1 It is a top view showing the positions of the embroidery frame, the first driving track and the second driving track according to an embodiment of the present application.
[0069] Figure 2 It is a connection block diagram of the electronic control part of the embodiment of the present application.
[0070] Figure 3 It is a schematic diagram showing the first limit bearing and the second limit bearing according to an embodiment of the present application.
[0071] Figure 4 It is a schematic diagram showing a slide chute according to an embodiment of the present application.
[0072] Explanation of the accompanying drawings: 1. first driving rail; 11. first slider; 111. first limit bearing; 2. second driving rail; 21. second slider; 211. second limit bearing; 3. embroidery frame; 31. slide groove; 4. first displacement detection module; 41. first fixed end; 42. first movable end; 5. second displacement detection module; 51. second fixed end; 52. second movable end; 6. control module. DETAILED DESCRIPTION
[0073] The following is combined with Figure 1-4 This application is described in further detail.
[0074] The present application embodiment discloses an embroidery machine control system. Figure 1 and Figure 2 An embroidery machine control system includes a first driving track 1, a second driving track 2, an embroidery frame 3, a first displacement detection module 4, a second displacement detection module 5 and a control module 6; a first slider 11 is arranged on the first driving track 1, and a second slider 21 is arranged on the second driving track 2. The first driving track 1 is used to drive the first slider 11 to move, and the second driving track 2 is used to drive the second slider 21 to move. Both the first slider 11 and the second slider 21 are used to drive the embroidery frame 3 to move.
[0075] The embroidery frame 3 is rectangular in shape and is made of aluminum, which can be deformed when subjected to external force. Therefore, even if the first driving rail 1 and the second driving rail 2 are not perpendicular to each other, the embroidery frame 3 can be installed on the first slider 11 and the second slider 21. The first driving rail 1 and the second driving rail 2 are both straight rails.
[0076] Reference Figure 3 and Figure 4 The first slider 11 is provided with two first limit bearings 111, the second slider 21 is provided with two second limit bearings 211, and the embroidery frame 3 is provided with a slide groove 31. When the embroidery frame 3 is installed, the two first limit bearings 111 are placed in the slide groove 31, and the two second limit shafts are also placed in the slide groove 31, and the first limit bearings 111 and the second limit bearings 211 are located at adjacent sides of the embroidery frame 3.
[0077] Reference Figure 3The first displacement detection module 4 includes a first fixed end 41 and a first movable end 42, the first fixed end 41 is fixed on one side of the first driving rail 1, the first movable end 42 is fixed on one side of the first slider 11, and the first fixed end 41 can detect the movement of the first movable end 42; the second detection module includes a second fixed end 51 and a second movable end 52, the second fixed end 51 is fixed on one side of the second driving rail 2, the second movable end 52 is fixed on one side of the second slider 21, and the second fixed end 51 can detect the movement of the second movable end 52.
[0078] Reference Figure 1 In this embodiment, the embroidery frame 3 is a rectangle, and includes two long sides and two short sides. The straight line where the long side contacts the second slider 21 is located is the X-axis, and the straight line where the short side not in contact with the first slider 11 is located is the Y-axis. The point where the X-axis and the Y-axis intersect is the origin. The long side in contact with the second slider 21 is located in the positive half of the X-axis, and the short side not in contact with the first slider 11 is located in the positive half of the Y-axis. Based on Figure 1 To describe the direction, the upward direction is the positive direction of the Y axis, the downward direction is the negative direction of the Y axis, the rightward direction is the positive direction of the X axis, and the leftward direction is the negative direction of the X axis. The first drive track 1 is perpendicular to the short side, and the second drive track 2 is perpendicular to the long side. The first drive track 1 and the second drive track 2 are perpendicular to each other but do not intersect. The above description is an ideal final state in order to clearly describe the positional relationship. The actual situation is that the first drive track 1 and the second drive track 2 need to be adjusted to be perpendicular to each other. The embroidery frame 3 is rectangular in its natural state, but when the first drive track 1 and the second drive track 2 are not perpendicular to each other, the embroidery frame 3 will be deformed after being placed on the first slider 11 and the second slider 21.
[0079] The deformation of the embroidery frame 3 is a small deformation. When the embroidery frame 3 is deformed, it can be understood that it is transformed from a rectangle to a non-rectangular parallelogram. In addition, in the case where the first driving track 1 and the second driving track 2 are not perpendicular to each other, there is only a certain degree of deviation. If the deviation between the two is too large, the embroidery frame 3 cannot be placed on the first slider 11 and the second slider 21.
[0080] The establishment of the above coordinate system and the determination of the coordinate system direction are based on Figure 1 When the positional relationship changes, the coordinate system and the direction of the coordinate system will change, and the corresponding moving direction and rotation direction will change, but the actual detection principle will not change. This embodiment will not be described in detail. Figure 1 Explain the situation.
[0081] Specifically, the first displacement detection module 4 is used to detect the distance that the first slider 11 drives the embroidery frame 3 to move and send a first displacement electrical signal to the control module 6; the second displacement detection module 5 is used to detect the distance that the second slider 21 drives the embroidery frame 3 to move and send a second displacement electrical signal to the control module 6; the control module 6 is used to receive the first displacement electrical signal and convert it into a first displacement value, and is also used to receive the second displacement electrical signal and convert it into a second displacement value, and is also used to control the first drive track 1 to drive the first slider 11 to move, and is also used to control the second drive track 2 to drive the second slider 21 to move.
[0082] In order to make the first driving track 1 and the second driving track 2 perpendicular to each other, they need to be calibrated. The control of the calibration process is:
[0083] When the control module 6 controls the first driving track 1 to drive the first slider 11 to drive the embroidery frame 3 to move, the control module 6 controls the second driving track 2 to be disabled, and the control module 6 determines whether the second displacement value of the second slider 21 changes; if the second displacement value changes, the control module 6 outputs a second correction signal.
[0084] The control module 6 controls the first driving rail 1 to move the first slider 11 and thus drive the embroidery frame 3 to move. At this time, the control module 6 controls the second driving rail 2 to be disabled, that is, the second slider 21 can move freely on the second driving rail 2. The control module 6 determines whether the second displacement value of the second slider 21 changes. If the second displacement value changes, it indicates that the second driving rail 2 is not perpendicular to the first driving rail 1 at this time, so the control module 6 outputs a second correction signal to prompt the staff to correct the second driving rail 2.
[0085] Specifically, if the second displacement value changes, the control module 6 outputs a second correction signal, including: the control module 6 determines the moving direction of the first slider 11; if the first slider 11 moves in the positive direction of the X-axis; the control module 6 determines the moving direction of the second slider 21; if the second slider 21 moves in the positive direction of the Y-axis, the control module 6 outputs a counterclockwise rotation signal of the second drive track 2; if the second slider 21 moves in the negative direction of the Y-axis, the control module 6 outputs a clockwise rotation signal of the second drive track 2; if the first slider 11 moves in the negative direction of the X-axis, the control module 6 determines the moving direction of the second slider 21; if the second slider 21 moves in the positive direction of the Y-axis, the control module 6 outputs a clockwise rotation signal of the second drive track 2; if the second slider 21 moves in the negative direction of the Y-axis, the control module 6 outputs a counterclockwise rotation signal of the second drive track 2.
[0086] If the second displacement value changes, the control module 6 outputs a second correction signal including: the control module 6 determines the moving direction of the first slider 11. If the first slider 11 moves in the positive direction of the X-axis, the control module 6 determines the moving direction of the second slider 21. If the second slider 21 moves in the positive direction of the Y-axis, it indicates that the angle between the positive semi-axis of the Y-axis and the positive semi-axis of the X-axis is less than ninety degrees at this time, so the control module 6 outputs a signal to rotate the second drive track 2 counterclockwise, thereby prompting the staff to rotate the second drive track 2 counterclockwise at this time, so as to achieve the correction of the second drive track 2 to be perpendicular to the first drive track 1; if the second slider 21 moves in the negative direction of the Y-axis, it indicates that the angle between the positive semi-axis of the Y-axis and the positive semi-axis of the X-axis is greater than ninety degrees at this time, so the control module 6 outputs a signal to rotate the second drive track 2 clockwise, thereby prompting the staff to rotate the second drive track 2 clockwise at this time, so as to achieve the correction of the second drive track 2 to be perpendicular to the first drive track 1. If the first slider 11 moves in the negative direction of the X-axis, the control module 6 determines the moving direction of the second slider 21. If the second slider 21 moves in the positive direction of the Y-axis, it indicates that the angle between the positive semi-axis of the Y-axis and the positive semi-axis of the X-axis is greater than ninety degrees, so the control module 6 outputs a signal to rotate the second drive track 2 clockwise, thereby prompting the staff to rotate the second drive track 2 clockwise; if the second slider 21 moves in the negative direction of the Y-axis, it indicates that the angle between the positive semi-axis of the Y-axis and the positive semi-axis of the X-axis is less than ninety degrees, so the control module 6 outputs a signal to rotate the second drive track 2 counterclockwise, thereby prompting the staff to rotate the second drive track 2 counterclockwise. The control module 6 can determine how to correct the second drive track 2 according to the moving directions of the first slider 11 and the second slider 21, which can greatly improve the convenience of the staff to correct the drive track, and can also achieve the purpose of making the two drive tracks perpendicular, thereby improving the quality of the embroidery work.
[0087] The moving direction of the first slider 11 is detected by the first displacement detection module 4 , and the moving direction of the second slider 21 is detected by the second displacement detection module 5 .
[0088] Alternatively, when the control module 6 controls the second driving track 2 to drive the second slider 21 to drive the embroidery frame 3 to move, the control module 6 controls the first driving track 1 to be disabled, and the control module 6 determines whether the first displacement value changes; if the first displacement value changes, the control module 6 outputs a first correction signal.
[0089] The control module 6 controls the second driving track 2 to move the second picture frame and thus drive the embroidery frame 3 to move. At this time, the control module 6 controls the first driving track 1 to be disabled, that is, the first slider 11 can move freely on the first driving track 1. The control module 6 determines whether the first displacement value of the first slider 11 changes. If the first displacement value changes, the control module 6 outputs a first correction signal to prompt the staff to correct the first driving track 1.
[0090] Specifically, if the first displacement value changes, the control module 6 outputs a first correction signal, including: the control module 6 determines the moving direction of the second slider 21; if the second slider 21 moves in the positive direction of the Y-axis, the control module 6 determines the moving direction of the first slider 11; if the first slider 11 moves in the positive direction of the X-axis, the control module 6 outputs a clockwise rotation signal of the first drive track 1; if the first slider 11 moves in the negative direction of the X-axis, the control module 6 outputs a counterclockwise rotation signal of the first drive track 1; if the second slider 21 moves in the negative direction of the Y-axis, the control module 6 determines the moving direction of the first slider 11; if the first slider 11 moves in the positive direction of the X-axis, the control module 6 outputs a counterclockwise rotation signal of the first drive track 1, and if the first slider 11 moves in the negative direction of the X-axis, the control module 6 outputs a clockwise rotation signal of the first drive track 1.
[0091] If the first displacement value changes, the control module 6 outputs a first correction signal including: the control module 6 determines the moving direction of the second slider 21; if the second slider 21 moves in the positive direction of the Y-axis, the control module 6 determines the moving direction of the first slider 11; if the first slider 11 moves in the positive direction of the X-axis, it indicates that the angle between the positive semi-axis of the X-axis and the positive semi-axis of the Y-axis is greater than ninety degrees at this time, so the control module 6 outputs a signal to rotate the first drive track 1 clockwise to prompt the staff to rotate the first drive track 1 clockwise; if the first slider 11 moves in the negative direction of the X-axis, it indicates that the angle between the positive semi-axis of the X-axis and the positive semi-axis of the Y-axis is less than ninety degrees at this time, so the control module 6 outputs a signal to rotate the first drive track 1 counterclockwise to prompt the staff to rotate the first drive track 1 counterclockwise. If the second slider 21 moves in the negative direction of the Y axis, the control module 6 determines the moving direction of the first slider 11. If the first slider 11 moves in the positive direction of the X axis, it indicates that the angle between the positive semi-axis of the X axis and the positive semi-axis of the Y axis is less than ninety degrees, so the control module 6 outputs a signal to rotate the first drive track 1 counterclockwise to prompt the staff to rotate the first drive track 1 counterclockwise. If the first slider 11 moves in the negative direction of the X axis, it indicates that the angle between the positive semi-axis of the X axis and the positive semi-axis of the Y axis is greater than ninety degrees, so the control module 6 outputs a signal to rotate the first drive track 1 clockwise to prompt the staff to rotate the first drive track 1 clockwise. The control module 6 can automatically determine how to correct the first drive track 1 according to the moving directions of the first slider 11 and the second slider 21, so that the first drive track 1 is perpendicular to the second drive track 2, which can improve the convenience of the staff to correct the drive track, and can also make the moving position of the embroidery frame 3 more accurate after the correction is completed, thereby improving the quality of the embroidery work.
[0092] The correction process mentioned above utilizes the fact that when the two driving rails are not perpendicular to each other, when one of the driving rails drives the embroidery frame 3 to move, there is a force component in another direction, so the embroidery frame 3 will move on the other driving rail due to the force component, that is, a displacement value is generated. Therefore, it is possible to use the various modules set above to automatically determine whether the two driving rails are perpendicular to each other, and automatically determine how to correct the two driving rails based on the movement of the slider. In this way, the purpose of making the two driving rails perpendicular to each other is achieved, and then the purpose of improving the quality of the embroidery work is achieved.
[0093] This embodiment also discloses an embroidery machine control method, which includes:
[0094] The embroidery machine control system also includes an embroidery needle drive module, which is connected to the control module and is provided with an embroidery needle;
[0095] The control module controls the positions of the first slider, the second slider and the embroidery needle driving module to be initialized;
[0096] The control module acquires a first target position, and controls the first driving track based on the first target position so that the corresponding first sliding block moves to the first target position;
[0097] The control module acquires the second target position, and controls the second driving track based on the second target position so that the corresponding second sliding block moves to the second target position;
[0098] The control module obtains the third target position, and controls the embroidery needle driving module to move based on the third target position, so that the embroidery needle driving module moves to the third target position;
[0099] When the first slider moves from the first starting position to the first target position, the control module acquires a first duration of the first slider moving from the first starting position to the first target position;
[0100] When the second slider moves from the second starting position to the second target position, the control module acquires a second duration of the second slider moving from the second starting position to the second target position;
[0101] The control module obtains a third duration of the embroidery needle driving module moving from the third starting position to the third target position;
[0102] The first duration, the second duration and the third duration are used to instruct the user to adjust the moving speed of the first slider and / or the second slider.
[0103] The embroidery machine also includes an embroidery needle drive module for driving the embroidery needle to move, and the embroidery needle drive module is connected to the control module. The control module controls the initialization of the first drive track and the second drive track to realize the position initialization of the first slider and the second slider, and the corresponding embroidery frame position is also initialized, and then the control module obtains the first target position, and controls the first drive track based on the first target position to move the first slider to the first target position, and correspondingly, the second slider is also moved to the second target position, so that the embroidery frame moves to the required position. The control module obtains the first duration of the first slider moving from the first starting position to the first target position, and correspondingly, the control module obtains the second duration and also obtains the third duration. The three durations are obtained and recorded at the same time, and the staff can debug according to the recorded durations, thereby adjusting the moving speed, thereby improving the production efficiency of the embroidery machine.
[0104] As an optional implementation of the embodiment of the present application, after the first slider moves from the first starting position to the first target position, the method further includes:
[0105] The control module obtains a first displacement value of the first slider;
[0106] The control module determines whether the first slider actually reaches the first target position based on the first displacement value;
[0107] If the first slider does not reach the first target position, the control module outputs a first adjustment signal based on the first displacement value, so that the first drive track adjusts the position of the first slider; after the second slider moves from the second starting position to the second target position, the method also includes: the control module obtains the second displacement value of the second slider; the control module determines whether the second slider actually reaches the second target position based on the second displacement value; if the second slider does not reach the second target position, the control module outputs a second adjustment signal based on the second displacement value, so that the second drive track adjusts the position of the second slider.
[0108] After the first slider moves from the first starting position to the first target position, the method further includes: the control module obtains the first displacement value of the first slider, and then determines whether the first slider actually reaches the first target position based on the first displacement value, because although the control module controls the movement of the first slider based on the first target position, there may be errors in the actual movement, resulting in the actual position of the first slider not being at the first target position. Therefore, the above judgment is made, and if the first slider does not actually reach the first target position, the control module outputs a first adjustment signal based on the first displacement value, so that the first drive track adjusts the position of the first slider so that the actual position of the first slider coincides with the first target position.
[0109] The position adjustment of the second slider is similar to that of the first slider, and will not be described here. By feeding back the actual positions of the first slider and the second slider, it is determined whether the first slider and the second slider have actually reached the corresponding target position. If not, the position of the embroidery frame is automatically adjusted, which can make the position of the embroidery frame more accurate and will not deviate from the required position due to errors, so that the embroidery can be more accurately performed at the specified position, thereby improving the quality of the embroidery work.
[0110] As an optional implementation of the embodiment of the present application, it also includes: the control module determines whether the first duration is greater than the second duration; if the first duration is greater than the second duration, the control module determines whether the first duration is greater than the third duration; if the first duration is greater than the third duration, the control module calculates the first difference between the first duration and the third duration; the control module increases the driving speed of the first driving track based on the first difference.
[0111] The control module determines whether the first duration is greater than the second duration. If the first duration is greater than the second duration, the control module continues to determine whether the first duration is greater than the third duration. If the first duration is greater than the third duration, the control module calculates the first difference between the first duration and the third duration, and then increases the driving speed of the first driving track based on the first difference, that is, correspondingly increases the moving speed of the first slider, thereby reducing the first duration. When the embroidery frame reaches the required position, the embroidery needle also reaches the specified position, thereby achieving the purpose of improving the embroidery efficiency, thereby achieving the production efficiency of the embroidery machine.
[0112] As an optional implementation of an embodiment of the present application, if the first duration is less than the second duration, the method also includes: the control module determines whether the second duration is greater than the third duration; if the second duration is greater than the third duration, the control module calculates a second difference between the second duration and the third duration; the control module increases the driving speed of the second driving track based on the second difference.
[0113] If the first duration is less than the second duration, the control module determines whether the second duration is greater than the third duration. If the second duration is greater than the third duration, the control module calculates the second difference between the second duration and the third duration, and then increases the driving speed of the second driving track based on the second difference, so that the moving speed of the second slider increases and the second duration is reduced. In this way, when the embroidery needle reaches the specified position, the embroidery frame can also reach the required position, thereby improving the embroidery efficiency and further improving the production efficiency of the embroidery machine.
[0114] The above are all preferred embodiments of the present application, and the protection scope of the present application is not limited thereto. Therefore, any equivalent changes made according to the structure, shape, and principle of the present application should be included in the protection scope of the present application.
Claims
1. An embroidery machine control system, characterized in that: include: A first driving track (1), a second driving track (2), a first displacement detection module (4), a second displacement detection module (5) and a control module (6); A first slider (11) is arranged on the first driving track (1), and a second slider (21) is arranged on the second driving track (2); the first driving track (1) is used to drive the first slider (11) to move, and the second driving track (2) is used to drive the second slider (21) to move; the first slider (11) and the second slider (21) are both used to drive the embroidery frame (3) to move; The first displacement detection module (4) is used to detect the distance that the first slider (11) drives the embroidery frame (3) to move and to send a first displacement electrical signal to the control module (6); The second displacement detection module (5) is used to detect the distance that the second slider (21) drives the embroidery frame (3) to move and to send a second displacement electrical signal to the control module (6); The control module (6) is used to receive the first displacement electrical signal and convert it into a first displacement value, and is also used to receive the second displacement electrical signal and convert it into a second displacement value; When the control module (6) controls the second driving track (2) to drive the second slider (21) to drive the embroidery frame (3) to move, the control module (6) controls the first driving track (1) to be disabled, and the control module (6) determines whether the first displacement value changes; If the first displacement value changes, the control module (6) outputs a first correction signal; or When the control module (6) controls the first driving track (1) to drive the first slider (11) to drive the embroidery frame (3) to move, the control module (6) controls the second driving track (2) to be disabled, and the control module (6) determines whether the second displacement value of the second slider (21) changes; If the second displacement value changes, the control module (6) outputs a second correction signal; The first drive track (1) and the second drive track (2) are both linear tracks; the first slider (11) is provided with two first limit bearings (111); the second slider (21) is provided with two second limit bearings (211); the embroidery frame (3) is provided with a slide groove (31); when the embroidery frame (3) is installed, the two first limit bearings (111) are placed in the slide groove (31); the two second limit shafts are also placed in the slide groove (31); and the first limit bearings (111) and the second limit bearings (211) are located at adjacent sides of the embroidery frame (3); the first drive track (1) is perpendicular to the short side of the embroidery frame (3); and the second drive track (2) is perpendicular to the long side of the embroidery frame (3).
2. The embroidery machine control system according to claim 1, characterized in that: The first displacement detection module (4) comprises a first fixed end (41) and a first movable end (42), wherein the first fixed end (41) is fixed to one side of the first driving track (1), and the first movable end (42) is fixed to one side of the first sliding block (11), and the first fixed end (41) is used to detect whether the first movable end (42) moves; the second displacement detection module (5) comprises a second fixed end (51) and a second movable end (52), wherein the second fixed end (51) is fixed to one side of the second driving track (2), and the second movable end (52) is fixed to one side of the second sliding block (21), and the second fixed end (51) is used to detect whether the second movable end (52) moves.
3. The embroidery machine control system according to claim 1, characterized in that: A coordinate system is established, the coordinate system comprising an X-axis and a Y-axis; if the second displacement value changes, the control module (6) outputs a second correction signal, comprising: The control module (6) is specifically used to determine the moving direction of the first sliding block (11); If the first slider (11) moves in the positive direction of the X-axis, the control module (6) determines the moving direction of the second slider (21); If the second sliding block (21) moves in the positive direction of the Y axis, the control module (6) outputs a second correction signal for instructing the second driving track (2) to rotate counterclockwise; If the second sliding block (21) moves in the negative direction of the Y axis, the control module (6) outputs a second correction signal for instructing the second driving track (2) to rotate clockwise; If the first slider (11) moves in the negative direction of the X-axis, the control module (6) determines the moving direction of the second slider (21); If the second sliding block (21) moves in the positive direction of the Y axis, the control module (6) outputs a second correction signal for instructing the second driving track (2) to rotate clockwise; If the second sliding block (21) moves in the negative direction of the Y axis, the control module (6) outputs a second correction signal for instructing the second driving track (2) to rotate counterclockwise; The moving direction of the first sliding block (11) is detected by the first displacement detection module (4), and the moving direction of the second sliding block (21) is detected by the second displacement detection module (5).
4. The embroidery machine control system according to claim 3, characterized in that: If the first displacement value changes, the control module (6) outputs a first correction signal, including: The control module (6) is specifically used to determine the moving direction of the second sliding block (21); If the second slider (21) moves in the positive direction of the Y axis, the control module (6) determines the moving direction of the first slider (11); If the first sliding block (11) moves in the positive direction of the X-axis, the control module (6) outputs a first correction signal for instructing the first driving track (1) to rotate clockwise; If the first slider (11) moves in the negative direction of the X-axis, the control module (6) outputs a first correction signal for instructing the first driving track (1) to rotate counterclockwise; If the second slider (21) moves in the negative direction of the Y axis, the control module (6) determines the moving direction of the first slider (11); If the first sliding block (11) moves in the positive direction of the X-axis, the control module (6) outputs a first correction signal for instructing the first driving track (1) to rotate counterclockwise; If the first sliding block (11) moves in the negative direction of the X-axis, the control module (6) outputs a first correction signal for instructing the first driving track (1) to rotate clockwise; The moving direction of the first sliding block (11) can be detected by the first displacement detection module (4), and the moving direction of the second sliding block (21) can be detected by the second displacement detection module (5).
5. An embroidery machine control method, characterized in that: Applicable to an embroidery machine control system according to any one of claims 1 to 4, the embroidery machine control system further comprising an embroidery needle drive module, the embroidery needle drive module is connected to the control module, and the embroidery needle drive module is provided with an embroidery needle; When the first slider moves from the first starting position to the first target position, the control module acquires a first duration of the first slider moving from the first starting position to the first target position; When the second slider moves from the second starting position to the second target position, the control module acquires a second duration of the second slider moving from the second starting position to the second target position; The control module controls the embroidery needle driving module to move so as to move the embroidery needle; and Acquire a third duration for the embroidery needle driving module to move from a third starting position to a third target position; The first duration, the second duration and the third duration are used to instruct the user to adjust the moving speed of the first slider and / or the second slider.
6. The embroidery machine control method according to claim 5, characterized in that: After the first slider moves from the first starting position to the first target position, the method further includes: The control module obtains a first displacement value of the first sliding block; The control module determines whether the first slider actually reaches the first target position based on the first displacement value; If the first slider does not actually reach the first target position, the control module outputs a first adjustment signal based on the first displacement value, so that the first driving track adjusts the position of the first slider; After the second slider moves from the second starting position to the second target position, the method further includes: The control module obtains a second displacement value of the second slider; The control module determines whether the second slider actually reaches the second target position based on the second displacement value; If the second slider does not reach the second target position, the control module outputs a second adjustment signal based on the second displacement value, so that the second driving track adjusts the position of the second slider.
7. The embroidery machine control method according to claim 5, characterized in that: The method further comprises: The control module determines whether the first duration is greater than a second duration; If the first duration is greater than the second duration, the control module determines whether the first duration is greater than the third duration; If the first duration is greater than the third duration, the control module calculates a first difference between the first duration and the third duration; The control module increases a driving speed of the first driving track based on the first difference.
8. The embroidery machine control method according to claim 7, characterized in that: If the first duration is less than the second duration, the method further includes: The control module determines whether the second duration is greater than the third duration; If the second duration is greater than the third duration, the control module calculates a second difference between the second duration and the third duration; The control module increases a drive speed of the second drive track based on the second difference.
