Single-needle and double-needle switchable sewing machine and control method thereof
By designing the controller and switching mechanism in the sewing machine, automatic thread cutting is realized in the double-needle sewing state, which solves the problem of manual thread cutting during single-needle sewing in the existing technology, and improves work efficiency and automation.
Patent Information
- Application Number
- CN202211166138.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-23
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2042-09-23
AI Technical Summary
The existing double-needle sewing machine can only realize automatic thread trimming of one needle during single-needle sewing, and the thread of the other needle needs to be cut manually, which results in low work efficiency.
Design a sewing machine with switchable single and double needles and its control method. Through the controller and switching mechanism, the thread can be automatically cut off in the double-needle sewing state without manual operation. It includes a first needle bar, a second needle bar, and a needle bar drive. mechanism, switching mechanism and thread trimming mechanism. The controller receives user instructions to determine the current status and controls the thread trimming mechanism and switching mechanism to automatically switch.
It realizes automatic thread trimming after double stitches of different sewing lengths, improves work efficiency, has a high degree of automation, and eliminates the need for manual thread trimming.
Smart Images

Figure CN115506088B_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the field of sewing equipment, and in particular relates to a single-needle and double-needle switchable sewing machine and a control method thereof. Background Art
[0002] The existing double-needle sewing machine can achieve switching between single-needle sewing working state and double-needle sewing working state through a separation mechanism. The double-needle sewing machine includes a first needle bar and a second needle bar. When the sewing machine is converted from the double-needle sewing working state to the single-needle sewing working state and the single-needle sewing reaches a set length, the surface thread carried by the needles on the first needle bar and the second needle bar needs to be cut off. However, currently, in single-needle sewing, only one of the needles (the needle bar for single-needle sewing) can be automatically trimmed, and the thread on the other needle (the needle bar that stops moving up and down) needs to be manually trimmed, resulting in low working efficiency. Summary of the invention
[0003] An object of the present invention is to solve the deficiencies and problems existing in the above-mentioned prior art, and to provide a single-needle and double-needle switchable sewing machine and a control method thereof, which can automatically trim the thread after sewing double stitches of different lengths without the need for manual trimming.
[0004] To achieve the above object, the technical solution adopted by the present invention is as follows:
[0005] A control method for a single-needle and double-needle switchable sewing machine, the sewing machine comprising a first needle bar and a second needle bar, a needle bar driving mechanism driven by a sewing machine main shaft for driving the first needle bar and / or the second needle bar to move, a switching mechanism for connecting or disconnecting the first needle bar and / or the second needle bar with the needle bar driving mechanism, a thread cutting mechanism and a controller for cutting the upper thread carried by the needles on the first needle bar and the second needle bar, the sewing machine having a single-needle sewing working state and a double-needle sewing working state, in the single-needle sewing working state, the first needle bar or the second needle bar is connected to the needle bar driving mechanism; in the double-needle sewing working state, the first needle bar and the second needle bar are both connected to the needle bar driving mechanism; the control method comprises the following steps:
[0006] S101, the controller receives a first instruction signal for a thread cutting action input by a user;
[0007] S102, after receiving the first command signal, the controller determines whether it is currently in a double-needle sewing working state, and if the result is yes, directly executes the following step S103; if the result is no, first executes the following steps S104 and S105 and then executes the following step S103;
[0008] S103, the thread cutting mechanism is actuated to cut the upper threads carried by the needles on the first needle bar and the second needle bar;
[0009] S104, the controller sends a first control signal to the switching mechanism to switch to the double-needle sewing working state;
[0010] S105. The switching mechanism connects the first needle bar and the second needle bar to the needle bar driving mechanism in response to the first control signal.
[0011] Preferably, the control method is used for sewing a double stitch, the double stitch includes a first stitch and a second stitch, the length of the first stitch is greater than the second stitch, and the control method further includes the following steps before step S101:
[0012] S201, the controller receives a second instruction signal input by a user to start the sewing machine;
[0013] S202, the controller controls the sewing machine to operate in a double-needle sewing working state until the second stitch reaches a set length;
[0014] S203, the controller receives a third instruction signal input by a user to stop the first needle bar or the second needle bar;
[0015] S204, the controller sends a second control signal to the switching mechanism to switch to the single-needle sewing working state;
[0016] S205, the switching mechanism disengages the first needle bar or the second needle bar from the needle bar driving mechanism in response to the second control signal, and the sewing machine operates in a single-needle sewing working state until the first stitch reaches a set length;
[0017] S206, the controller controls the first needle bar or the second needle bar to stop after receiving a third instruction signal for stopping sewing input by the user;
[0018] Execute the step S101.
[0019] More preferably, in step S201, a second command signal input by a user is received through a button on the sewing machine control panel, and the button is electrically connected to the controller; in step S203, a third command signal input by a user is received through a button on the sewing machine control panel, and the button is electrically connected to the controller.
[0020] Furthermore, in step S102, the induction switch is used to detect whether the double-needle sewing working state is currently in progress.
[0021] Furthermore, the switching mechanism includes a driving device and a switching shaft driven to move by the driving device, and the switching shaft is provided with an induction block that cooperates with the induction switch.
[0022] Furthermore, the induction switch is a proximity switch. When the sewing machine is in a double-needle sewing working state, the contact of the induction switch is adjacent to the induction block or in contact with the induction block; when the sewing machine is in a single-needle sewing working state, the contact of the induction switch is away from the induction block.
[0023] Preferably, the driving device is a motor, the motor is electrically connected to the controller, and the induction switch is electrically connected to the controller.
[0024] Preferably, in step S101, a first instruction signal input by a user is received through a button on a control panel of the sewing machine, and the button is electrically connected to the controller.
[0025] The present invention also provides a single-needle and double-needle switchable sewing machine, comprising a first needle bar and a second needle bar, a needle bar driving mechanism driven by a sewing machine main shaft for driving the first needle bar and / or the second needle bar to move, a switching mechanism for connecting or disconnecting the first needle bar and / or the second needle bar with the needle bar driving mechanism, a thread cutting mechanism and a controller for cutting the upper thread carried by the needles on the first needle bar and the second needle bar, the sewing machine having a single-needle sewing working state and a double-needle sewing working state, in the single-needle sewing working state, the first needle bar or the second needle bar is connected to the needle bar driving mechanism; in the double-needle sewing working state, the first needle bar and the second needle bar are both connected to the needle bar driving mechanism; the sewing machine also comprises:
[0026] An induction switch, which is used to detect whether the sewing machine is currently in a double-needle sewing working state, and sends a first detection signal to the controller when it is detected that the sewing machine is in the double-needle sewing working state;
[0027] The controller is used to control the thread cutting mechanism to cut the upper thread carried by the needles on the first needle bar and the second needle bar after receiving the first instruction signal for starting thread cutting input by the user and after receiving the first detection signal.
[0028] Preferably, the switching mechanism includes a driving device and a switching shaft driven to move by the driving device, the switching shaft is provided with a sensing block cooperating with the sensing switch, the sensing switch is a proximity switch, when the sewing machine is in a double-needle sewing working state, the contact of the sensing switch is adjacent to the sensing block or in contact with the sensing block; when the sewing machine is in a single-needle sewing working state, the contact of the sensing switch is away from the sensing block; the sensing switch and the driving device are electrically connected to the controller respectively.
[0029] The present invention adopts the above solution, which has the following advantages compared with the prior art:
[0030] In the present invention, after receiving the first instruction signal for starting the thread cutting action, the controller determines whether it is in the double-needle sewing working state. If it is in the double-needle sewing working state, the thread cutting mechanism directly cuts the upper thread carried by the needle; if it is in the single-needle sewing working state, the controller sends a first control signal to the switching mechanism, and the switching mechanism responds to the first control signal, and the single-needle sewing working state is converted to the double-needle sewing working state, and then the thread cutting mechanism is activated to cut the upper thread carried by the needle, that is, when the sewing machine is in the double-needle sewing state, the thread cutting action is directly performed; when the sewing machine is in the single-needle sewing state, the sewing machine is first converted to the double-needle sewing state and then the thread cutting action is performed, without manual thread cutting, with a high degree of automation and improved work efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] In order to more clearly illustrate the technical solution of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.
[0032] Figure 1 A schematic diagram of a partial structure of a single-needle and double-needle switchable sewing machine according to an embodiment of the present invention;
[0033] Figure 2 Another partial structural schematic diagram of a single-needle and double-needle switchable sewing machine according to an embodiment of the present invention;
[0034] Figure 3 is a flow chart of a control method according to an embodiment of the present invention;
[0035] Figure 4 is a schematic diagram of a control method involving a controller in an embodiment of the present invention;
[0036] Figure 5 It is a schematic diagram of the structure of the needle bar and the needle in the single-needle sewing working state;
[0037] Figure 6 It is a schematic diagram of the structure of the needle bar and the needle in the double-needle sewing working state;
[0038] Figure 7 A schematic diagram of a double stitch sewn according to an embodiment of the present invention;
[0039] Figure 8 It is a schematic diagram of the structure of the contact between the induction switch and the induction block, wherein the sewing machine is in the double-needle sewing working state;
[0040] Fig. 9 and Fig.10 It is a structural schematic diagram of the induction switch being away from the induction block, wherein the sewing machine is in a single-needle sewing working state.
[0041] in,
[0042] 1. sewing machine; 11. first needle bar; 12. second needle bar; 121. needle; 14. spindle connecting rod; 15. switching mechanism; 151. driving device; 152. switching shaft; 153. rack; 154. gear; 16. locking mechanism; 17. needle bar clamp body; 171. clutch plate; 18. buffer plate; 19. switching handle; 111. sliding shaft; 112. switching plate; 113. slider; 1131. convex part; 2. double stitch; 21. first stitch; 22. second stitch; 3. induction switch; 31. contact; 4. induction block; 41. protrusion. DETAILED DESCRIPTION
[0043] The preferred embodiments of the present invention are described in detail below in conjunction with the accompanying drawings so that the advantages and features of the present invention can be more easily understood by those skilled in the art. It should be noted that the description of these embodiments is used to help understand the present invention, but does not constitute a limitation of the present invention.
[0044] This embodiment provides a single-needle and double-needle switchable sewing machine and a control method for the sewing machine. Figures 1 to 10 As shown, the sewing machine 1 comprises a first needle bar 11, a second needle bar 12, a needle bar driving mechanism, a switching mechanism 15, a thread trimming mechanism and a controller. The first needle bar 11, the second needle bar 12, the needle bar driving mechanism and the switching mechanism 15 are arranged on the head of the sewing machine, and a workbench of the sewing machine is arranged below the head of the sewing machine, and a needle plate is arranged on the workbench, and the first needle bar 11 and the second needle bar 12 can move up and down so that the needles thereon can carry the upper thread through the fabric on the needle plate, and the thread trimming mechanism is arranged below the needle plate, specifically in the rotary hook, and each needle corresponds to a rotary hook, that is, a thread trimming mechanism, and the two thread trimming mechanisms are controlled by the controller to run synchronously.
[0045] Furthermore, when sewing, the main shaft of the sewing machine (driven to rotate by the driving motor of the sewing machine) drives the needle bar driving mechanism to drive the first needle bar 11 and the second needle bar 12 to move in the up and down directions. The switching mechanism 15 is used to connect or disconnect the first needle bar 11 and the second needle bar 12 with the needle bar driving mechanism. Further, the switching mechanism 15 includes a driving device 151, a switching shaft 152, a gear 154 and a rack 153, wherein the driving device 151 is specifically a motor, which can be a servo motor. The servo motor is electrically connected to the controller and automatically operates under the control of the controller. The gear 154 is fixed on the output shaft of the motor, and the rack 153 is arranged on the switching shaft 152. When the sewing mode of the sewing machine needs to be adjusted, the driving device 151 rotates clockwise or counterclockwise by a certain angle, the gear 154 and the rack 153 are meshed, and the switching shaft 152 moves a distance accordingly, that is, the switching shaft 152 can be driven to move by the driving device 151. The thread cutting mechanism and controller (not shown in the figure) are used to cut the upper thread carried by the needles on the first needle bar 11 and the second needle bar 12.
[0046] Reference Figure 1 As shown, the needle bar driving mechanism includes a main shaft connecting rod 14, a needle bar locking mechanism 16 and a needle bar clamp body 17. The main shaft connecting rod 14 is connected to the needle bar clamp body 17 to drive the needle bar clamp body 17 to move up and down. The sewing machine 1 has a single-needle sewing working state and a double-needle sewing working state. In the single-needle sewing working state, the first needle bar 11 or the second needle bar 12 is connected to the needle bar clamp body 17. For example, when the first needle bar 11 is connected to the needle bar driving mechanism, the second needle bar 13 is locked by the locking mechanism 16 and cannot move up and down; in the double-needle sewing working state, the first needle bar 11 and the second needle bar 12 are both connected to the needle bar clamp body 17, and the needle bar clamp body 17 drives the first needle bar 11 and the second needle bar 12 to move up and down. Specifically, at this time, the clutch in the needle bar clamp body 17 clamps the first needle bar 11 and the second needle bar 12, and the first needle bar 11, the second needle bar 12 and the needle bar clamp body 17 move up and down together. The switching mechanism and the needle bar driving mechanism are not the key points of the invention. A conventional single- and double-needle switching structure and sewing driving mechanism can be adopted, and they will not be described in detail here.
[0047] The sewing machine further comprises an induction switch 3, which is a proximity switch and is electrically connected to the controller. A sensing block 4 is provided on the switching shaft 152 and cooperates with the induction switch 3. A protrusion 41 is provided on the sensing block 4. Figures 8 to 10 As shown, when the sewing machine is in the double-needle sewing working state, the contact 31 of the sensor switch 3 is adjacent to the sensor block 4 or in contact with the protrusion 41 on the sensor block 4; when the sewing machine is in the single-needle sewing working state, the contact 31 of the sensor switch 3 is away from the protrusion 41 of the sensor block 4. Fig. 9As shown, the switching shaft 152 moves a distance to the left, and the protrusion 41 of the sensing block 4 moves to a distance to the left of the contact 31 of the sensing switch 3. The sensing switch 3 is not triggered. At this time, the first needle bar 11 of the sewing machine can move up and down to sew, while the second needle bar 12 is separated from the needle bar clamp body 17 and locked by the needle bar locking mechanism 16; Fig.10 As shown, the switching shaft 152 moves a distance to the right, and the protrusion 41 of the sensing block 4 moves to a distance to the right of the contact 31 of the sensing switch 3. The sensing switch 3 is not triggered. At this time, the second needle bar 12 of the sewing machine can move up and down for sewing, while the first needle bar 11 is separated from the needle bar clamp body 17 and is locked by the needle bar locking mechanism 16.
[0048] Reference Figure 3 As shown, the control method of the sewing machine includes the following steps:
[0049] S101, the controller receives a first instruction signal for a thread cutting action input by a user;
[0050] S102, after receiving the first command signal, the controller determines whether it is currently in the double-needle sewing working state, if the result is yes, directly execute the following step S103; if the result is no, first execute the following steps S104 and S105 and then execute the following step S103;
[0051] S103, the thread cutting mechanism is actuated to cut the upper threads carried by the needles on the first needle bar 11 and the second needle bar 12;
[0052] S104, the controller sends a first control signal to the switching mechanism 15 to switch to a double-needle sewing working state;
[0053] S105 , the switching mechanism 15 connects the first needle bar 11 and the second needle bar 12 to the needle bar driving mechanism in response to the first control signal.
[0054] Furthermore, in step S101, a first command signal input by a user is received through a button on a sewing machine control panel, and the button is electrically connected to a controller. In step S102, the induction switch 3 is used to detect whether the machine is currently in a double-needle sewing working state.
[0055] That is, this embodiment uses the control method of the sewing machine to ensure that no matter whether the sewing machine is currently in a single-needle sewing working state or a double-needle sewing working state, when thread cutting is required, it can ensure that the sewing machine is in a double-needle sewing working state and realize automatic thread cutting, thereby achieving a high degree of automation and improving work efficiency.
[0056] This control method is used for sewing such as Figure 7The double stitch 2 shown includes a first stitch 21 and a second stitch 22, and the length of the first stitch 21 is greater than that of the second stitch 22. More specifically, P0 to P2 is the first stitch, P0 to P1 is the second stitch, the process from P1 to P2 is a single-needle sewing working state, the process from P0 to P1 is a double-needle sewing working state, P0 is the starting point of sewing, P1 is the end point of the second stitch 22, and P2 is the end point of the first stitch 21.
[0057] The above control method further includes the following steps before step S101:
[0058] S201, the controller receives a second instruction signal input by a user to start the sewing machine;
[0059] S202, the controller controls the sewing machine to operate in a double-needle sewing working state until the second stitch 22 reaches a set length P1;
[0060] S203, the controller receives a third instruction signal input by the user to stop the first needle bar 11 or the second needle bar 12;
[0061] S204, the controller sends a second control signal to the switching mechanism 15 to switch to a single-needle sewing working state;
[0062] S205, the switching mechanism 15 disengages the first needle bar 11 or the second needle bar 12 from the needle bar driving mechanism in response to the second control signal, and the sewing machine operates in a single-needle sewing working state until the first stitch 21 reaches a set length P2;
[0063] S206, after receiving the third instruction signal for stopping sewing input by the user, the controller controls the first needle bar 11 or the second needle bar 12 to stop moving;
[0064] S100, the user inputs a first instruction signal, and then executes step S101.
[0065] Specifically, in step S201, a second command signal input by a user is received through a button on the sewing machine control panel, and the button is electrically connected to the controller; in step S203, a third command signal input by a user is received through a button on the sewing machine control panel, and the button is electrically connected to the controller.
[0066] Combination Figure 1 and Figure 2 As shown, the process of switching the sewing machine 1 from the double-needle sewing working state to the single-needle sewing working state (taking the second needle bar 12 stopping sewing as an example) is as follows: the motor rotates a certain angle a, the switching shaft 152 moves a certain distance along the direction b, the buffer plate 18, the switching handle 19, the sliding shaft 111 and the switching plate 112 move accordingly, and the slider 113 moves along the direction b. Figure 2When the needle bar clamp body 17 moves a certain distance in the direction d as shown and moves upward, the clutch plate 171 in the needle bar clamp body 17 hits the convex portion 1131 of the slider 113. At this time, the clutch in the needle bar clamp body 17 leaves the second needle bar 12, and the needle bar locking mechanism 16 locks the second needle bar 12, that is, the second needle bar 12 stops moving up and down, and the first needle bar 11 can continue to move up and down to realize the single-needle sewing working state.
[0067] The steps of the control method of the single-needle and double-needle switchable sewing machine of this embodiment are as follows: the user inputs a second command signal to the controller through the button on the sewing machine control panel to turn on the sewing machine, and the controller controls the double-needle sewing of the sewing machine to sew a distance to a set length. At this time, single-needle sewing is required, and the user inputs a third command signal to the controller through the button on the sewing machine control panel. After receiving the third command signal, the controller sends a second control signal to the switching mechanism. The switching mechanism 15 responds to the second control signal to disengage the first needle bar 11 or the second needle bar 12 from the needle bar driving mechanism, that is, the first needle bar 11 or the second needle bar 12 stops moving up and down, and the sewing machine runs in the single-needle sewing working state and sews to the set length. Then the controller controls the first needle bar 11 or the second needle bar 12 to stop after receiving the third command signal, and starts the following thread cutting work.
[0068] The user first inputs the first command signal through the button on the sewing machine control panel. After receiving the first command signal, the controller senses whether it is in the double-needle sewing working state through the induction switch 3. If the contact 31 of the induction switch 3 is in contact with or close to the protrusion 41 of the induction block 4, the sewing machine is currently in the double-needle sewing working state, and the thread cutting mechanism is actuated to directly cut the surface thread carried by the needle; if the contact 31 of the induction switch 3 is away from the protrusion 41 of the induction block 4, it is in the single-needle sewing working state. At this time, the controller sends a first control signal to the switching mechanism 15. The switching mechanism 15 responds to the first control signal to connect the first needle bar 11 and the second needle bar 12 to the needle bar driving mechanism. At this time, the sewing machine changes to the double-needle sewing working state, and the thread cutting mechanism is actuated to cut the surface thread carried by the needle. That is, in this embodiment, whether it is single-needle sewing or double-needle sewing, when the thread cutting action is performed, the sewing machine is in the double-needle sewing working state, and can cut the surface thread carried by the needles on the first needle bar 11 and the second needle bar 12 at one time without manual thread cutting, and the working efficiency is high.
[0069] As shown in this specification and claims, the terms "comprises" and "include" only indicate the inclusion of the steps and elements that have been clearly identified, and these steps and elements do not constitute an exclusive list, and the method or device may also include other steps or elements. The term "and / or" as used herein includes any combination of one or more of the relevant listed items.
[0070] It should be noted that, unless otherwise specified, when a feature is referred to as being "fixed" or "connected" to another feature, it may be directly fixed or connected to the other feature, or it may be indirectly fixed or connected to the other feature. In addition, the descriptions of up, down, left, right, etc. used in the present invention are only relative to the relative positional relationship of the components of the present invention in the drawings.
[0071] It is further understood that in the present disclosure, "plurality" refers to two or more than two, and other quantifiers are similar. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone.
[0072] It is further understood that the terms "first", "second", etc. are used to describe various information, but such information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other, and do not indicate a specific order or degree of importance. In fact, the expressions "first", "second", etc. can be used interchangeably. For example, without departing from the scope of the present disclosure, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as the first information.
[0073] The above embodiment is only for illustrating the technical concept and features of the present invention, and is a preferred embodiment. Its purpose is to enable people familiar with the technology to understand the content of the present invention and implement it accordingly, and it cannot be used to limit the protection scope of the present invention. Any equivalent transformation or modification made according to the principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A control method for a single-needle and double-needle switchable sewing machine, the sewing machine comprising a first needle bar and a second needle bar, a needle bar driving mechanism driven by a sewing machine main shaft for driving the first needle bar and / or the second needle bar to move, a switching mechanism for connecting or disconnecting the first needle bar and / or the second needle bar with the needle bar driving mechanism, a thread cutting mechanism and a controller for cutting the surface thread carried by the needles on the first needle bar and the second needle bar, the sewing machine having a single-needle sewing working state and a double-needle sewing working state, in the single-needle sewing working state, the first needle bar or the second needle bar is connected to the needle bar driving mechanism; in the double-needle sewing working state, the first needle bar and the second needle bar are both connected to the needle bar driving mechanism; characterized in that The control method comprises the following steps: S101, the controller receives a first instruction signal for a thread cutting action input by a user; S102, after receiving the first command signal, the controller determines whether it is currently in a double-needle sewing working state, and if the result is yes, directly executes the following step S103; if the result is no, first executes the following steps S104 and S105 and then executes the following step S103; S103, the thread cutting mechanism is actuated to cut the upper threads carried by the needles on the first needle bar and the second needle bar; S104, the controller sends a first control signal to the switching mechanism to switch to the double-needle sewing working state; S105, the switching mechanism connects the first needle bar and the second needle bar to the needle bar driving mechanism in response to the first control signal; the control method is used for sewing a double stitch, the double stitch includes a first stitch and a second stitch, the length of the first stitch is greater than the length of the second stitch, and the control method also includes the following steps before step S101: S201, the controller receives a second instruction signal input by a user to start the sewing machine; S202, the controller controls the sewing machine to operate in a double-needle sewing working state until the second stitch reaches a set length; S203, the controller receives a third instruction signal input by a user to stop the first needle bar or the second needle bar; S204, the controller sends a second control signal to the switching mechanism to switch to the single-needle sewing working state; S205, the switching mechanism disengages the first needle bar or the second needle bar from the needle bar driving mechanism in response to the second control signal, and the sewing machine operates in a single-needle sewing working state until the first stitch reaches a set length; S206, the controller controls the first needle bar or the second needle bar to stop after receiving a third instruction signal for stopping sewing input by the user; Execute the step S101.
2. The control method according to claim 1, characterized in that: In step S201, a second command signal input by a user is received through a button on the sewing machine control panel, and the button is electrically connected to the controller; in step S203, a third command signal input by a user is received through a button on the sewing machine control panel, and the button is electrically connected to the controller.
3. The control method according to claim 1, characterized in that: In step S102, the induction switch is used to detect whether the double-needle sewing working state is currently in progress.
4. The control method according to claim 3, characterized in that: The switching mechanism comprises a driving device and a switching shaft driven to move by the driving device, and the switching shaft is provided with an induction block matched with the induction switch.
5. The control method according to claim 4, characterized in that: The induction switch is a proximity switch. When the sewing machine is in a double-needle sewing working state, the contact of the induction switch is adjacent to or in contact with the induction block; when the sewing machine is in a single-needle sewing working state, the contact of the induction switch is away from the induction block.
6. The control method according to claim 4, characterized in that: The driving device is a motor, the motor is electrically connected to the controller, and the induction switch is electrically connected to the controller.
7. The control method according to claim 1, characterized in that: In step S101, a first instruction signal input by a user is received through a button on a sewing machine control panel, and the button is electrically connected to the controller.
8. A single-needle and double-needle switchable sewing machine, comprising a first needle bar and a second needle bar, a needle bar driving mechanism driven by a sewing machine main shaft for driving the first needle bar and / or the second needle bar to move, a switching mechanism for connecting or disconnecting the first needle bar and / or the second needle bar with the needle bar driving mechanism, a thread cutting mechanism and a controller for cutting the surface thread carried by the needles on the first needle bar and the second needle bar, the sewing machine having a single-needle sewing working state and a double-needle sewing working state, in the single-needle sewing working state, the first needle bar or the second needle bar is connected to the needle bar driving mechanism; in the double-needle sewing working state, the first needle bar and the second needle bar are both connected to the needle bar driving mechanism; characterized in that The sewing machine is capable of sewing double stitches, and the double stitches include a first stitch and a second stitch, the length of the first stitch is greater than that of the second stitch, and the controller is used to control the sewing machine to operate in a double-needle sewing working state after receiving a second command signal input by a user to start the sewing machine, until the sewing second stitch reaches a set length; the controller is also used to send a second control signal to the switching mechanism to switch to the single-needle sewing working state after receiving a third command signal input by a user to stop the first needle bar or the second needle bar, and the switching mechanism disengages the first needle bar or the second needle bar from the needle bar driving mechanism in response to the second control signal, and the sewing machine operates in a single-needle sewing working state until the first stitch reaches a set length; the sewing machine also includes: an induction switch, which is used to detect whether the sewing machine is currently in a double-needle sewing working state, and when the induction switch is detected, When the sewing machine is in the double-needle sewing working state, the controller sends a first detection signal to the controller. When the sewing machine is in the double-needle sewing working state, the controller is used to control the thread cutting mechanism to cut the upper thread carried by the needles on the first needle bar and the second needle bar after receiving the first instruction signal of the thread cutting action input by the user and after receiving the first detection signal; when the sewing machine is in the single-needle sewing working state, the controller sends a first control signal to the switching mechanism to switch to the double-needle sewing working state, and the switching mechanism connects the first needle bar and the second needle bar to the needle bar driving mechanism in response to the first control signal. The controller is used to control the thread cutting mechanism to cut the upper thread carried by the needles on the first needle bar and the second needle bar after receiving the first instruction signal of the thread cutting action input by the user and after receiving the first detection signal.
9. The sewing machine according to claim 8, characterized in that The switching mechanism includes a driving device and a switching shaft driven to move by the driving device. The switching shaft is provided with a sensing block that cooperates with the sensing switch. The sensing switch is a proximity switch. When the sewing machine is in a double-needle sewing working state, the contact of the sensing switch is adjacent to the sensing block or in contact with the sensing block; when the sewing machine is in a single-needle sewing working state, the contact of the sensing switch is away from the sensing block; the sensing switch and the driving device are electrically connected to the controller respectively.
