JP2012205841A - Sewing machine and sewing machine control method - Google Patents

Sewing machine and sewing machine control method Download PDF

Info

Publication number
JP2012205841A
JP2012205841A JP2011075395A JP2011075395A JP2012205841A JP 2012205841 A JP2012205841 A JP 2012205841A JP 2011075395 A JP2011075395 A JP 2011075395A JP 2011075395 A JP2011075395 A JP 2011075395A JP 2012205841 A JP2012205841 A JP 2012205841A
Authority
JP
Japan
Prior art keywords
rotation angle
main
cloth feed
motor
angle
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
JP2011075395A
Other languages
Japanese (ja)
Inventor
Toru Takemura
徹 竹村
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Brother Industries Ltd
Original Assignee
Brother Industries Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2011075395A priority Critical patent/JP2012205841A/en
Priority to CN201210102825.5A priority patent/CN102733097B/en
Publication of JP2012205841A publication Critical patent/JP2012205841A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Sewing Machines And Sewing (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a sewing machine and a sewing machine control method which, when a main shaft and a cloth feeding mechanism are driven by separate motors, can maintain synchronization between the driving of the main shaft and the driving of the cloth feeding mechanism even when sewing speed is changed.SOLUTION: The sewing machine comprises: a main motor for driving a main shaft for vertically moving a sewing needle; and a cloth feeding motor for driving a cloth feeding mechanism for feeding cloth. The sewing machine control method comprises the following steps of: acquiring rotation angles of output shafts of the main motor and the cloth feeding motor (S11 and S13); setting, from the rotation angle of the main motor, a target rotation angle at which the output shaft of the cloth feeding motor is to be positioned in accordance with the rotation angle of the main motor (S14); calculating a deviation between the set target rotation angle and an actual rotation angle of the cloth feeding motor (S15); and calculating, based on the calculated deviation, a rotation speed at which the cloth feeding motor is instructed to rotate (S16).

Description

本発明は、主軸と布送り機構を別のモータで駆動するミシン及び該ミシンの制御方法に関する。   The present invention relates to a sewing machine that drives a main shaft and a cloth feed mechanism with separate motors, and a control method for the sewing machine.

主軸と布送り機構を別のモータで駆動するミシンがある。該ミシンは布送り量を自由に制御することができる為、種々の模様を容易に縫製できる。該ミシンは主軸の駆動と布送り機構の駆動の同期を保つ必要がある。特許文献1が開示するミシンは、主軸の回転速度と回転位相に基づいて、布送りを開始するタイミングを決定する。更に、該ミシンは、布送りを開始するタイミングを布送り量及び主軸の加速度に基づいて補正する。故に、布送りは適切なタイミングで開始し、且つ縫針と布が接触するまでに終了する。   There is a sewing machine in which the main shaft and the cloth feed mechanism are driven by different motors. Since the sewing machine can freely control the cloth feed amount, various patterns can be easily sewn. The sewing machine needs to keep the driving of the main shaft and the cloth feeding mechanism synchronized. The sewing machine disclosed in Patent Document 1 determines the timing for starting cloth feeding based on the rotation speed and rotation phase of the main shaft. Further, the sewing machine corrects the timing at which the cloth feed is started based on the cloth feed amount and the acceleration of the spindle. Therefore, the cloth feed starts at an appropriate timing and ends by the time when the sewing needle comes in contact with the cloth.

特開平5−228276号公報JP-A-5-228276

従来のミシンでは、布送りを開始するタイミングは布送り量及び主軸の加速度に応じて変化する。従来のミシンは、布送り量に応じて布送りに要する時間(送り時間)が決まっている。故に、布送り動作の途中で作業者がペダル等を操作して主軸の回転速度を変える場合、布送りの速度は主軸の回転速度の変化に追従できず主軸の駆動と布送り機構の駆動の同期がずれる。主軸の駆動と布送り機構の駆動の同期がずれると、縫製の品質は悪化する。   In the conventional sewing machine, the timing for starting the cloth feed changes according to the cloth feed amount and the acceleration of the spindle. In the conventional sewing machine, the time (feed time) required for the cloth feed is determined according to the cloth feed amount. Therefore, when the operator operates the pedal or the like to change the rotation speed of the main spindle during the cloth feed operation, the speed of the cloth feed cannot follow the change in the rotation speed of the main spindle and the drive of the main spindle and the cloth feed mechanism Out of sync. If the driving of the main shaft and the driving of the cloth feed mechanism are out of synchronization, the quality of sewing deteriorates.

本発明の目的は、主軸と布送り機構を別のモータで駆動する場合に、縫製の速度が変化しても主軸の駆動と布送り機構の駆動の同期を保持できるミシン及びミシンの制御方法を提供することである。   An object of the present invention is to provide a sewing machine and a sewing machine control method capable of maintaining the synchronization of the driving of the main shaft and the driving of the cloth feeding mechanism even when the sewing speed is changed when the main shaft and the cloth feeding mechanism are driven by different motors. Is to provide.

本発明の第一態様のミシンは、縫針を上下動する主軸を駆動するメインモータと、布を送る布送り機構を駆動する布送りモータとを備えたミシンにおいて、前記メインモータの出力軸の回転角である主回転角を検出する主回転角検出部と、前記主回転角検出部が検出した前記主回転角の検出結果を取得する主回転角取得部と、前記布送りモータの出力軸の回転角である布送り回転角を検出する布送り回転角検出部と、前記布送り回転角検出部が検出した前記布送り回転角の検出結果を取得する布送り回転角取得部と、主回転角に対応して前記布送りモータの出力軸が位置すべき目標回転角を、前記主回転角取得部が取得した前記主回転角から設定する布送り目標角設定部と、前記布送り目標角設定部が設定した前記目標回転角と、前記布送り回転角取得部が取得した前記布送り回転角の偏差を算出する布送り偏差算出部と、前記偏差に基づいて、前記布送りモータに指示する回転速度を算出する第一回転速度算出部とを備える。   The sewing machine according to the first aspect of the present invention is a sewing machine including a main motor that drives a main shaft that moves a sewing needle up and down and a cloth feed motor that drives a cloth feed mechanism that feeds the cloth. A main rotation angle detection unit that detects a main rotation angle that is an angle, a main rotation angle acquisition unit that acquires a detection result of the main rotation angle detected by the main rotation angle detection unit, and an output shaft of the cloth feed motor A cloth feed rotation angle detector that detects a cloth feed rotation angle that is a rotation angle; a cloth feed rotation angle acquisition unit that acquires a detection result of the cloth feed rotation angle detected by the cloth feed rotation angle detector; A cloth feed target angle setting unit for setting a target rotation angle at which the output shaft of the cloth feed motor should be positioned corresponding to an angle from the main rotation angle acquired by the main rotation angle acquisition unit; and the cloth feed target angle The target rotation angle set by the setting unit and the cloth feed A cloth feed deviation calculating section that calculates a deviation of the cloth feed rotation angle acquired by the roll angle acquiring section; and a first rotation speed calculating section that calculates a rotation speed instructed to the cloth feed motor based on the deviation. Prepare.

第一態様のミシンは、メインモータの回転角(主回転角)から、布送りモータの出力軸が位置すべき目標回転角を設定する。ミシンは、設定した目標回転角と、実際の布送りモータの回転角の偏差を算出する。ミシンは算出した偏差に基づいて布送りモータの回転速度を算出する。主軸の回転速度が変化した場合でも、布送りモータはメインモータとの同期を保って回転する。故に、ミシンは縫製の速度が変化しても主軸の駆動と布送り機構の駆動の同期を保持できる。特に、該ミシンはメインモータが停止した場合又は作業者が手動で主軸を回転した場合でも適切に布送りモータとメインモータの同期を保つことができる。   The sewing machine of the first aspect sets a target rotation angle at which the output shaft of the cloth feed motor should be positioned from the rotation angle (main rotation angle) of the main motor. The sewing machine calculates a deviation between the set target rotation angle and the actual rotation angle of the cloth feed motor. The sewing machine calculates the rotation speed of the cloth feed motor based on the calculated deviation. Even when the rotation speed of the main shaft changes, the cloth feed motor rotates in synchronization with the main motor. Therefore, even if the sewing speed changes, the sewing machine can maintain the synchronization between the driving of the main shaft and the driving of the cloth feeding mechanism. In particular, the sewing machine can properly keep the cloth feed motor and the main motor synchronized even when the main motor is stopped or when the operator manually rotates the main shaft.

本発明の第二態様のミシンは、縫針を上下動する主軸を駆動するメインモータと、布を送る布送り機構を駆動する布送りモータとを備えたミシンにおいて、前記メインモータの出力軸の回転角である主回転角を検出する主回転角検出部と、前記主回転角検出部が検出した前記主回転角の検出結果を取得する主回転角取得部と、前記布送りモータの出力軸の回転角である布送り回転角を検出する布送り回転角検出部と、前記布送り回転角検出部が検出した前記布送り回転角の検出結果を取得する布送り回転角取得部と、布送り回転角に対応して前記メインモータの出力軸が位置すべき目標回転角を、前記布送り回転角取得部が取得した前記布送り回転角から設定する主目標角設定部と、前記主目標角設定部が設定した前記目標回転角と、前記主回転角取得部が取得した前記主回転角の偏差を算出する主偏差算出部と、前記偏差に基づいて、前記布送りモータに指示する回転速度を算出する第一回転速度算出部とを備える。   The sewing machine according to the second aspect of the present invention is a sewing machine including a main motor that drives a main shaft that moves the sewing needle up and down and a cloth feed motor that drives a cloth feed mechanism that feeds the cloth. A main rotation angle detection unit that detects a main rotation angle that is an angle, a main rotation angle acquisition unit that acquires a detection result of the main rotation angle detected by the main rotation angle detection unit, and an output shaft of the cloth feed motor A cloth feed rotation angle detection unit that detects a cloth feed rotation angle that is a rotation angle; a cloth feed rotation angle acquisition unit that acquires a detection result of the cloth feed rotation angle detected by the cloth feed rotation angle detection unit; A main target angle setting unit that sets a target rotation angle at which the output shaft of the main motor should be positioned corresponding to a rotation angle from the cloth feed rotation angle acquired by the cloth feed rotation angle acquisition unit, and the main target angle The target rotation angle set by the setting unit and the main rotation angle Comprising a main deviation calculating section for calculating a deviation of said main rotation angle rotation angle acquiring unit has acquired, on the basis of the deviation, and a first rotation speed calculation unit that calculates a rotation speed instructing the cloth feed motor.

第二態様のミシンは、布送りモータの回転角(布送り回転角)から、メインモータの出力軸が位置すべき目標回転角を設定する。ミシンは、設定した目標回転角と、実際のメインモータの回転角の偏差を算出する。ミシンは算出した偏差に基づいて布送りモータの回転速度を算出する。主軸の回転速度が変化した場合でも、布送りモータはメインモータとの同期を保って回転する。故に、ミシンは縫製の速度が変化しても主軸の駆動と布送り機構の駆動の同期を保持できる。特に、該ミシンはメインモータが停止した場合又は作業者が手動で主軸を回転した場合でも適切に布送りモータとメインモータの同期を保つことができる。   The sewing machine of the second aspect sets a target rotation angle at which the output shaft of the main motor should be positioned from the rotation angle of the cloth feed motor (cloth feed rotation angle). The sewing machine calculates a deviation between the set target rotation angle and the actual rotation angle of the main motor. The sewing machine calculates the rotation speed of the cloth feed motor based on the calculated deviation. Even when the rotation speed of the main shaft changes, the cloth feed motor rotates in synchronization with the main motor. Therefore, even if the sewing speed changes, the sewing machine can maintain the synchronization between the driving of the main shaft and the driving of the cloth feeding mechanism. In particular, the sewing machine can properly keep the cloth feed motor and the main motor synchronized even when the main motor is stopped or when the operator manually rotates the main shaft.

本発明の第三態様のミシンは、縫針を上下動する主軸を駆動するメインモータと、布を送る布送り機構を駆動する布送りモータとを備えたミシンにおいて、前記メインモータの出力軸の回転角である主回転角を検出する主回転角検出部と、前記主回転角検出部が検出した前記主回転角の検出結果を取得する主回転角取得部と、前記布送り機構が布送りの終端位置に達する時点で前記メインモータの出力軸が位置すべき主回転角である終端角を取得する終端角取得部と、前記終端角取得部が取得した前記終端角と、前記主回転角取得部が取得した前記主回転角とに基づいて、前記メインモータの出力軸が前記終端角に達するまでの残り回転角を算出する主回転角残量算出部と、前記メインモータの回転速度である主回転速度を取得する速度取得部と、前記主回転角残量算出部が算出した前記残り回転角と前記速度取得部が取得した前記主回転速度とに基づいて、前記メインモータの出力軸が前記終端角に達するまでの所要時間を算出する時間算出部と、前記布送りモータの出力軸の回転角である布送り回転角を検出する布送り回転角検出部と、前記布送り回転角検出部が検出した前記布送り回転角の検出結果を取得する布送り回転角取得部と、前記布送り回転角取得部が取得した前記布送り回転角から、前記布送り機構が布送りの前記終端位置に達するまでの前記布送りモータの残り回転角を算出する布送り回転角残量算出部と、前記布送り回転角残量算出部が算出した前記残り回転角を、前記時間算出部が算出した前記所要時間で前記布送りモータが回転する為に必要な回転速度を算出する第二回転速度算出部とを備える。   A sewing machine according to a third aspect of the present invention is a sewing machine including a main motor that drives a main shaft that moves a sewing needle up and down and a cloth feed motor that drives a cloth feed mechanism that feeds the cloth. A main rotation angle detection unit that detects a main rotation angle that is an angle, a main rotation angle acquisition unit that acquires a detection result of the main rotation angle detected by the main rotation angle detection unit, and the cloth feed mechanism that A terminal angle acquisition unit that acquires a terminal angle that is a main rotation angle at which the output shaft of the main motor should be positioned when reaching the terminal position, the terminal angle acquired by the terminal angle acquisition unit, and the main rotation angle acquisition A main rotation angle remaining amount calculation unit that calculates a remaining rotation angle until the output shaft of the main motor reaches the terminal angle based on the main rotation angle acquired by the unit, and a rotation speed of the main motor Get speed to get main rotation speed And the time required for the output shaft of the main motor to reach the terminal angle based on the remaining rotation angle calculated by the main rotation angle remaining amount calculation unit and the main rotation speed acquired by the speed acquisition unit. A time calculation unit that calculates the cloth feed rotation angle detection unit that detects a cloth feed rotation angle that is a rotation angle of the output shaft of the cloth feed motor, and the cloth feed rotation angle detected by the cloth feed rotation angle detection unit The cloth feed rotation angle acquisition unit for acquiring the detection result of the cloth feed, and the cloth feed motor from the cloth feed rotation angle acquired by the cloth feed rotation angle acquisition unit until the cloth feed mechanism reaches the end position of the cloth feed The remaining rotation angle calculated by the cloth feed rotation angle remaining amount calculation unit and the remaining rotation angle calculated by the time calculation unit at the required time calculated by the time calculation unit. The rotation speed necessary for the And a second rotation speed calculation unit for output.

第三態様のミシンはメインモータの出力軸が終端角に達するまでの所要時間を算出する。布送り機構が布送りの終端位置に達するまでの布送りモータの残り回転角を算出する。ミシンは、算出した所要時間で布送りモータが残り回転角を回転する為の回転速度を算出する。その結果、布送りモータはメインモータに同期し、布送り機構が終端位置に達する時点は、メインモータの出力軸が終端角に達する時点に一致する。故に、ミシンは縫製の速度が変化しても主軸の駆動と布送り機構の駆動の同期を保持できる。特に、主軸の速度が増大している場合でも、該ミシンは2つのモータの同期を正確に保つことができる。   The sewing machine of the third aspect calculates the time required for the output shaft of the main motor to reach the terminal angle. The remaining rotation angle of the cloth feed motor until the cloth feed mechanism reaches the cloth feed end position is calculated. The sewing machine calculates the rotation speed for the cloth feed motor to rotate the remaining rotation angle in the calculated required time. As a result, the cloth feed motor is synchronized with the main motor, and the time when the cloth feed mechanism reaches the end position coincides with the time when the output shaft of the main motor reaches the end angle. Therefore, even if the sewing speed changes, the sewing machine can maintain the synchronization between the driving of the main shaft and the driving of the cloth feeding mechanism. In particular, even when the speed of the main shaft is increasing, the sewing machine can accurately keep the two motors synchronized.

第一態様及び第二態様のミシンは、前記布送り機構が布送りの終端位置に達する時点で前記メインモータの出力軸が位置すべき主回転角である終端角を取得する終端角取得部と、前記終端角取得部が取得した前記終端角と前記主回転角取得部が取得した前記主回転角とに基づいて、前記メインモータの出力軸が前記終端角に達するまでの残り回転角を算出する主回転角残量算出部と、前記メインモータの回転速度である主回転速度を取得する速度取得部と、前記主回転角残量算出部が算出した前記残り回転角と、前記速度取得部が取得した前記回転速度とに基づいて、前記メインモータの出力軸が前記終端角に達するまでの所要時間を算出する時間算出部と、前記布送り回転角取得部が取得した前記布送り回転角から、前記布送り機構が布送りの前記終端位置に達するまでの前記布送りモータの残り回転角を算出する布送り回転角残量算出部と、前記布送り回転角残量算出部が算出した前記残り回転角を、前記時間算出部が算出した前記所要時間で前記布送りモータが回転する為に必要な回転速度を算出する第二回転速度算出部と、前記速度取得部が取得した前記主回転速度が閾値以下であるか否かを判断する判断部と、前記主回転速度が前記閾値以下であると前記判断部が判断した場合に、前記第一回転速度算出部が算出した回転速度で前記布送りモータを駆動する低速時駆動部と、前記主回転速度が前記閾値よりも大きいと前記判断部が判断した場合に、少なくとも前記第二回転速度算出部が算出した回転速度に基づいて前記布送りモータを駆動する高速時駆動部とを更に備えてもよい。   The sewing machine according to the first aspect and the second aspect includes a terminal angle acquisition unit that acquires a terminal angle that is a main rotation angle at which the output shaft of the main motor should be positioned when the cloth feed mechanism reaches a cloth feed terminal position. The remaining rotation angle until the output shaft of the main motor reaches the terminal angle is calculated based on the terminal angle acquired by the terminal angle acquisition unit and the main rotation angle acquired by the main rotation angle acquisition unit. A main rotation angle remaining amount calculation unit, a speed acquisition unit that acquires a main rotation speed that is a rotation speed of the main motor, the remaining rotation angle calculated by the main rotation angle remaining amount calculation unit, and the speed acquisition unit Based on the rotation speed acquired by the time calculation unit for calculating a time required for the output shaft of the main motor to reach the terminal angle, and the cloth feed rotation angle acquired by the fabric feed rotation angle acquisition unit. From the above, the cloth feed mechanism Calculating the remaining rotation angle of the cloth feed motor until the terminal position is reached, and calculating the time of the remaining rotation angle calculated by the cloth feed rotation angle remaining amount calculation unit. A second rotation speed calculation unit that calculates a rotation speed necessary for the cloth feed motor to rotate in the required time calculated by the unit, and whether the main rotation speed acquired by the speed acquisition unit is equal to or less than a threshold value. A determination unit that determines whether the main rotation speed is equal to or less than the threshold value, and when the determination unit determines that the main rotation speed is equal to or less than the threshold value, the cloth feeding motor is driven at a rotation speed calculated by the first rotation speed calculation unit. A high-speed drive that drives the cloth feed motor based on at least the rotation speed calculated by the second rotation speed calculation unit when the determination unit determines that the main rotation speed is greater than the threshold value. And further comprising It may be.

該ミシンは、モータの出力軸が位置すべき回転角と、該出力軸が実際に位置する回転角の偏差に応じて、布送りモータの回転速度(第一速度)を算出できる。更に、ミシンはメインモータの回転速度に基づいて布送りモータの回転速度(第二速度)を算出できる。第一速度によれば、ミシンはメインモータが停止した場合又は作業者が手動で主軸を回転した場合でも適切に布送りモータとメインモータの同期を保つことができる。第二速度を考慮すれば、主軸の速度が増大している場合でも、ミシンは2つのモータの同期を正確に保つことができる。ミシンは、メインモータの回転速度に応じて布送りモータの制御方法を変えることで、より適切に布送り機構を駆動することができる。   The sewing machine can calculate the rotation speed (first speed) of the cloth feed motor according to the rotation angle at which the output shaft of the motor should be positioned and the deviation between the rotation angle at which the output shaft is actually positioned. Further, the sewing machine can calculate the rotation speed (second speed) of the cloth feed motor based on the rotation speed of the main motor. According to the first speed, the sewing machine can appropriately keep the cloth feed motor and the main motor synchronized even when the main motor is stopped or when the operator manually rotates the main shaft. Considering the second speed, the sewing machine can accurately keep the two motors synchronized even when the speed of the spindle is increased. The sewing machine can drive the cloth feed mechanism more appropriately by changing the control method of the cloth feed motor according to the rotation speed of the main motor.

該ミシンは、前記布送りモータを駆動する回転速度を、前記第一回転速度算出部が算出した回転速度と前記第二回転速度算出部が算出した回転速度とから、特定の比率により算出する第三回転速度算出部を更に備えてもよい。前記第三回転速度算出部は、前記主回転速度に応じて前記特定の比率を変えて前記布送りモータを駆動する回転速度を算出してもよい。前記高速時駆動部は、前記主回転速度が前記閾値よりも大きいと前記判断部が判断した場合に、前記第三回転速度算出部が算出した回転速度で前記布送りモータを駆動してもよい。該ミシンは、低速時に適した第一速度と高速時に適した第二速度との比率を主回転速度に応じて変えて、布送りモータの回転速度を算出することができる。故に、メインモータの主回転速度に更に適した回転速度で布送りモータを駆動することができる。   The sewing machine calculates a rotation speed for driving the cloth feed motor at a specific ratio from the rotation speed calculated by the first rotation speed calculation unit and the rotation speed calculated by the second rotation speed calculation unit. A three rotation speed calculation unit may be further provided. The third rotation speed calculation unit may calculate a rotation speed for driving the cloth feed motor by changing the specific ratio according to the main rotation speed. The high-speed drive unit may drive the cloth feed motor at the rotation speed calculated by the third rotation speed calculation unit when the determination unit determines that the main rotation speed is greater than the threshold value. . The sewing machine can calculate the rotational speed of the cloth feed motor by changing the ratio of the first speed suitable for low speed and the second speed suitable for high speed according to the main rotational speed. Therefore, the cloth feed motor can be driven at a rotation speed more suitable for the main rotation speed of the main motor.

第一乃至第三態様のミシンは前記布送り機構における布送りの前記終端位置及び前記終端角を設定可能な設定部を備えてもよい。作業者は布送り量を自由に設定できる。ミシンは布送り量の設定値に応じて適切な速度で布送りモータを駆動することができる。   The sewing machine of the 1st thru / or the 3rd mode may be provided with the setting part which can set up the end position and the end angle of cloth feed in the cloth feed mechanism. The operator can freely set the cloth feed amount. The sewing machine can drive the cloth feed motor at an appropriate speed according to the set value of the cloth feed amount.

本発明の第四態様のミシンは、縫針を上下動する主軸を駆動するメインモータと、布を送る布送り機構を駆動する布送りモータとを備えたミシンにおいて、前記メインモータの出力軸の回転角である主回転角を検出する主回転角検出部と、前記主回転角検出部が検出した前記主回転角の検出結果を取得する主回転角取得部と、前記布送りモータの出力軸の回転角である布送り回転角を検出する布送り回転角検出部と、前記布送り回転角検出部が検出した前記布送り回転角の検出結果を取得する布送り回転角取得部と、布送り回転角に対応して前記メインモータの出力軸が位置すべき目標回転角を、前記布送り回転角取得部が取得した前記布送り回転角から設定する主目標角設定部と、前記主目標角設定部が設定した前記目標回転角と、前記主回転角取得部が取得した前記主回転角の偏差を算出する主偏差算出部と、前記偏差に基づいて、前記メインモータに指示する回転速度を算出する主回転速度算出部とを備える。   A sewing machine according to a fourth aspect of the present invention is a sewing machine including a main motor that drives a main shaft that moves a sewing needle up and down, and a cloth feed motor that drives a cloth feed mechanism that feeds the cloth. A main rotation angle detection unit that detects a main rotation angle that is an angle, a main rotation angle acquisition unit that acquires a detection result of the main rotation angle detected by the main rotation angle detection unit, and an output shaft of the cloth feed motor A cloth feed rotation angle detection unit that detects a cloth feed rotation angle that is a rotation angle; a cloth feed rotation angle acquisition unit that acquires a detection result of the cloth feed rotation angle detected by the cloth feed rotation angle detection unit; A main target angle setting unit that sets a target rotation angle at which the output shaft of the main motor should be positioned corresponding to a rotation angle from the cloth feed rotation angle acquired by the cloth feed rotation angle acquisition unit, and the main target angle The target rotation angle set by the setting unit and the main rotation angle Comprising a main deviation calculating section for calculating a deviation of said main rotation angle rotation angle acquiring unit has acquired, on the basis of the deviation, and a main rotation speed calculation unit that calculates a rotation speed instructing the main motor.

第四態様のミシンは、布送りモータの回転角(布送り回転角)から、メインモータの出力軸が位置すべき目標回転角を設定する。ミシンは、設定した目標回転角と、実際のメインモータの回転角の偏差を算出する。ミシンは算出した偏差に基づいてメインモータの回転速度を算出する。布送り機構の駆動速度が変化した場合でも、メインモータは布送りモータとの同期を保って回転する。故に、ミシンは縫製の速度が変化しても主軸の駆動と布送り機構の駆動の同期を保持できる。   The sewing machine of the fourth aspect sets a target rotation angle at which the output shaft of the main motor should be positioned from the rotation angle of the cloth feed motor (cloth feed rotation angle). The sewing machine calculates a deviation between the set target rotation angle and the actual rotation angle of the main motor. The sewing machine calculates the rotation speed of the main motor based on the calculated deviation. Even when the driving speed of the cloth feed mechanism changes, the main motor rotates in synchronization with the cloth feed motor. Therefore, even if the sewing speed changes, the sewing machine can maintain the synchronization between the driving of the main shaft and the driving of the cloth feeding mechanism.

本発明の第五態様のミシンの制御方法は、縫針を上下動する主軸を駆動するメインモータと、前記メインモータの出力軸の回転角である主回転角を検出する主回転角検出部と、布を送る布送り機構を駆動する布送りモータと、前記布送りモータの出力軸の回転角である布送り回転角を検出する布送り回転角検出部とを備えたミシンが実行するミシンの制御方法において、前記主回転角検出部が検出した前記主回転角の検出結果を取得する主回転角取得ステップと、前記布送り回転角検出部が検出した前記布送り回転角の検出結果を取得する布送り回転角取得ステップと、主回転角に対応して前記布送りモータの出力軸が位置すべき目標回転角を、前記主回転角取得ステップで取得した前記主回転角から設定する布送り目標角設定ステップと、前記布送り目標角設定ステップで設定した前記目標回転角と、前記布送り回転角取得ステップで取得した前記布送り回転角の偏差を算出する布送り偏差算出ステップと、前記偏差に基づいて、前記布送りモータに指示する回転速度を算出する第一回転速度算出ステップとを含む。   A control method for a sewing machine according to a fifth aspect of the present invention includes a main motor that drives a main shaft that moves a sewing needle up and down, a main rotation angle detection unit that detects a main rotation angle that is a rotation angle of an output shaft of the main motor, Control of a sewing machine executed by a sewing machine including a cloth feed motor that drives a cloth feed mechanism that feeds the cloth, and a cloth feed rotation angle detection unit that detects a cloth feed rotation angle that is a rotation angle of an output shaft of the cloth feed motor. In the method, a main rotation angle acquisition step of acquiring a detection result of the main rotation angle detected by the main rotation angle detector, and a detection result of the cloth feed rotation angle detected by the cloth feed rotation angle detector A cloth feed target that sets a target rotation angle at which the output shaft of the cloth feed motor should be positioned corresponding to the main rotation angle from the main rotation angle acquired in the main rotation angle acquisition step. Corner setting step; Based on the deviation, the target rotation angle set in the cloth feed target angle setting step, the cloth feed deviation calculation step for calculating the deviation of the cloth feed rotation angle acquired in the cloth feed rotation angle acquisition step, A first rotation speed calculation step of calculating a rotation speed instructed to the cloth feed motor.

第五態様のミシンの制御方法によると、主軸の回転速度が変化した場合でも、布送りモータはメインモータとの同期を保って回転する。故に、ミシンは縫製の速度が変化しても主軸の駆動と布送り機構の駆動の同期を保持できる。特に、該ミシンはメインモータが停止した場合又は作業者が手動で主軸を回転した場合でも適切に布送りモータとメインモータの同期を保つことができる。   According to the fifth aspect of the sewing machine control method, even when the rotation speed of the main shaft changes, the cloth feed motor rotates in synchronization with the main motor. Therefore, even if the sewing speed changes, the sewing machine can maintain the synchronization between the driving of the main shaft and the driving of the cloth feeding mechanism. In particular, the sewing machine can properly keep the cloth feed motor and the main motor synchronized even when the main motor is stopped or when the operator manually rotates the main shaft.

本発明の第六態様のミシンの制御方法は、縫針を上下動する主軸を駆動するメインモータと、前記メインモータの出力軸の回転角である主回転角を検出する主回転角検出部と、布を送る布送り機構を駆動する布送りモータと、前記布送りモータの出力軸の回転角である布送り回転角を検出する布送り回転角検出部とを備えたミシンが実行するミシンの制御方法において、前記主回転角検出部が検出した前記主回転角の検出結果を取得する主回転角取得ステップと、前記布送り回転角検出部が検出した前記布送り回転角の検出結果を取得する布送り回転角取得ステップと、布送り回転角に対応して前記メインモータの出力軸が位置すべき目標回転角を、前記布送り回転角取得ステップで取得した前記布送り回転角から設定する主目標角設定ステップと、前記主目標角設定ステップで設定した前記目標回転角と、前記主回転角取得ステップで取得した前記主回転角の偏差を算出する主偏差算出ステップと、前記偏差に基づいて、前記布送りモータに指示する回転速度を算出する第一回転速度算出ステップとを含む。   A control method for a sewing machine according to a sixth aspect of the present invention includes a main motor that drives a main shaft that moves the sewing needle up and down, a main rotation angle detection unit that detects a main rotation angle that is the rotation angle of the output shaft of the main motor, Control of a sewing machine executed by a sewing machine including a cloth feed motor that drives a cloth feed mechanism that feeds the cloth, and a cloth feed rotation angle detection unit that detects a cloth feed rotation angle that is a rotation angle of an output shaft of the cloth feed motor. In the method, a main rotation angle acquisition step of acquiring a detection result of the main rotation angle detected by the main rotation angle detector, and a detection result of the cloth feed rotation angle detected by the cloth feed rotation angle detector A main feed rotation angle acquisition step and a target rotation angle at which the output shaft of the main motor should be positioned corresponding to the cloth feed rotation angle is set from the cloth feed rotation angle acquired in the cloth feed rotation angle acquisition step. Target angle setting step Based on the deviation, the target rotation angle set in the main target angle setting step, a main deviation calculation step for calculating a deviation of the main rotation angle acquired in the main rotation angle acquisition step, and the cloth A first rotation speed calculation step of calculating a rotation speed instructed to the feed motor.

第六態様のミシンの制御方法によると、主軸の回転速度が変化した場合でも、布送りモータはメインモータとの同期を保って回転する。故に、ミシンは縫製の速度が変化しても主軸の駆動と布送り機構の駆動の同期を保持できる。特に、該ミシンはメインモータが停止した場合又は作業者が手動で主軸を回転した場合でも適切に布送りモータとメインモータの同期を保つことができる。   According to the control method for the sewing machine of the sixth aspect, even when the rotational speed of the main shaft changes, the cloth feed motor rotates in synchronization with the main motor. Therefore, even if the sewing speed changes, the sewing machine can maintain the synchronization between the driving of the main shaft and the driving of the cloth feeding mechanism. In particular, the sewing machine can properly keep the cloth feed motor and the main motor synchronized even when the main motor is stopped or when the operator manually rotates the main shaft.

本発明の第七態様のミシンの制御方法は、縫針を上下動する主軸を駆動するメインモータと、前記メインモータの出力軸の回転角である主回転角を検出する主回転角検出部と、布を送る布送り機構を駆動する布送りモータと、前記布送りモータの出力軸の回転角である布送り回転角を検出する布送り回転角検出部とを備えたミシンが実行するミシンの制御方法において、前記主回転角検出部が検出した前記主回転角の検出結果を取得する主回転角取得ステップと、前記布送り機構が布送りの終端位置に達する時点で前記メインモータの出力軸が位置すべき主回転角である終端角を取得する終端角取得ステップと、前記終端角取得ステップで取得した前記終端角と、前記主回転角取得ステップで取得した前記主回転角とに基づいて、前記メインモータの出力軸が前記終端角に達するまでの残り回転角を算出する主回転角残量算出ステップと、前記メインモータの回転速度である主回転速度を取得する速度取得ステップと、前記主回転角残量算出ステップで算出した前記残り回転角と、前記速度取得ステップで取得した前記主回転速度とに基づいて、前記メインモータの出力軸が前記終端角に達するまでの所要時間を算出する時間算出ステップと、前記布送り回転角検出部が検出した前記布送り回転角の検出結果を取得する布送り回転角取得ステップと、前記布送り回転角取得ステップで取得した前記布送り回転角から、前記布送り機構が布送りの前記終端位置に達するまでの前記布送りモータの残り回転角を算出する布送り回転角残量算出ステップと、前記布送り回転角残量算出ステップで算出した前記残り回転角を、前記時間算出ステップで算出した前記所要時間で前記布送りモータが回転する為に必要な回転速度を算出する第二回転速度算出ステップとを含む。   A control method for a sewing machine according to a seventh aspect of the present invention includes a main motor that drives a main shaft that moves a sewing needle up and down, a main rotation angle detection unit that detects a main rotation angle that is a rotation angle of an output shaft of the main motor, Control of a sewing machine executed by a sewing machine including a cloth feed motor that drives a cloth feed mechanism that feeds the cloth, and a cloth feed rotation angle detection unit that detects a cloth feed rotation angle that is a rotation angle of an output shaft of the cloth feed motor. In the method, a main rotation angle acquisition step for acquiring a detection result of the main rotation angle detected by the main rotation angle detector, and an output shaft of the main motor at the time when the cloth feed mechanism reaches a cloth feed end position. Based on the terminal angle acquisition step of acquiring the terminal angle that is the main rotation angle to be positioned, the terminal angle acquired in the terminal angle acquisition step, and the main rotation angle acquired in the main rotation angle acquisition step, The main A main rotation angle remaining amount calculation step for calculating a remaining rotation angle until the output shaft of the motor reaches the terminal angle, a speed acquisition step for acquiring a main rotation speed that is a rotation speed of the main motor, and the main rotation Time for calculating the time required for the output shaft of the main motor to reach the terminal angle based on the remaining rotation angle calculated in the remaining angle calculation step and the main rotation speed acquired in the speed acquisition step From the calculation step, the cloth feed rotation angle acquisition step for acquiring the detection result of the cloth feed rotation angle detected by the cloth feed rotation angle detector, and the cloth feed rotation angle acquired in the cloth feed rotation angle acquisition step, A cloth feed rotation angle remaining amount calculating step for calculating a remaining rotation angle of the cloth feed motor until the cloth feed mechanism reaches the cloth feed end position; and a cloth feed rotation angle remaining amount calculating step. The remaining rotation angle calculated in flop, and a second rotation speed calculation step of the cloth feed motor in the required time calculated by the time calculating step calculates a rotation speed required to rotate.

第七態様のミシンの制御方法によると、布送りモータはメインモータに同期し、布送り機構が終端位置に達する時点は、メインモータの出力軸が終端角に達する時点に一致する。故に、ミシンは縫製の速度が変化しても主軸の駆動と布送り機構の駆動の同期を保持できる。特に、主軸の速度が増大している場合でもミシンは2つのモータの同期を正確に保つことができる。   According to the sewing machine control method of the seventh aspect, the cloth feed motor is synchronized with the main motor, and the time when the cloth feed mechanism reaches the end position coincides with the time when the output shaft of the main motor reaches the end angle. Therefore, even if the sewing speed changes, the sewing machine can maintain the synchronization between the driving of the main shaft and the driving of the cloth feeding mechanism. In particular, the sewing machine can accurately keep the synchronization of the two motors even when the speed of the main shaft is increasing.

本発明の第八態様のミシンの制御方法は、縫針を上下動する主軸を駆動するメインモータと、前記メインモータの出力軸の回転角である主回転角を検出する主回転角検出部と、布を送る布送り機構を駆動する布送りモータと、前記布送りモータの出力軸の回転角である布送り回転角を検出する布送り回転角検出部とを備えたミシンが実行するミシンの制御方法において、前記主回転角検出部が検出した前記主回転角の検出結果を取得する主回転角取得ステップと、前記布送り回転角検出部が検出した前記布送り回転角の検出結果を取得する布送り回転角取得ステップと、布送り回転角に対応して前記メインモータの出力軸が位置すべき目標回転角を、前記布送り回転角取得ステップで取得した前記布送り回転角から設定する主目標角設定ステップと、前記主目標角設定ステップで設定した前記目標回転角と、前記主回転角取得ステップで取得した前記主回転角の偏差を算出する主偏差算出ステップと、前記偏差に基づいて、前記メインモータに指示する回転速度を算出する主回転速度算出ステップとを含む。   A control method for a sewing machine according to an eighth aspect of the present invention includes a main motor that drives a main shaft that moves a sewing needle up and down, a main rotation angle detection unit that detects a main rotation angle that is the rotation angle of the output shaft of the main motor, Control of a sewing machine executed by a sewing machine including a cloth feed motor that drives a cloth feed mechanism that feeds the cloth, and a cloth feed rotation angle detection unit that detects a cloth feed rotation angle that is a rotation angle of an output shaft of the cloth feed motor. In the method, a main rotation angle acquisition step of acquiring a detection result of the main rotation angle detected by the main rotation angle detector, and a detection result of the cloth feed rotation angle detected by the cloth feed rotation angle detector A main feed rotation angle acquisition step and a target rotation angle at which the output shaft of the main motor should be positioned corresponding to the cloth feed rotation angle is set from the cloth feed rotation angle acquired in the cloth feed rotation angle acquisition step. Target angle setting step Based on the deviation, the target rotation angle set in the main target angle setting step, the main deviation calculation step for calculating the deviation of the main rotation angle acquired in the main rotation angle acquisition step, and the main A main rotational speed calculating step for calculating a rotational speed instructed to the motor.

第八態様のミシンの制御方法によると、布送り機構の駆動速度が変化した場合でも、メインモータは布送りモータとの同期を保って回転する。故に、ミシンは縫製の速度が変化しても主軸の駆動と布送り機構の駆動の同期を保持できる。   According to the control method for the sewing machine of the eighth aspect, even when the driving speed of the cloth feed mechanism changes, the main motor rotates while maintaining synchronization with the cloth feed motor. Therefore, even if the sewing speed changes, the sewing machine can maintain the synchronization between the driving of the main shaft and the driving of the cloth feeding mechanism.

ミシン1の斜視図。The perspective view of the sewing machine 1. FIG. 縫針8及び針板15近傍の拡大斜視図。FIG. 3 is an enlarged perspective view in the vicinity of a sewing needle 8 and a needle plate 15. 布送り機構32の左側面図。The left view of the cloth feed mechanism 32. FIG. ミシン1の電気的構成を示すブロック図。FIG. 2 is a block diagram showing an electrical configuration of the sewing machine 1. ミシン1が実行する布送り量設定処理のフローチャート。6 is a flowchart of a cloth feed amount setting process executed by the sewing machine 1; 第一実施形態のミシン1が実行する第一速度制御処理のフローチャート。The flowchart of the 1st speed control process which the sewing machine 1 of 1st embodiment performs. ミシン1が実行する動作確認処理のフローチャート。6 is a flowchart of an operation confirmation process executed by the sewing machine 1; 第二実施形態のミシン1が実行する第二速度制御処理のフローチャート。The flowchart of the 2nd speed control process which the sewing machine 1 of 2nd embodiment performs. 第三実施形態のミシン1が実行する第三速度制御処理のフローチャート。The flowchart of the 3rd speed control process which the sewing machine 1 of 3rd embodiment performs. 第四実施形態のミシン1が実行する第四速度制御処理のフローチャート。The flowchart of the 4th speed control process which the sewing machine 1 of 4th embodiment performs. 第五実施形態のミシン1が実行する第五速度制御処理のフローチャート。The flowchart of the 5th speed control processing which the sewing machine 1 of 5th embodiment performs.

以下、本発明の第一実施形態について図面を参照して説明する。図1〜図3を参照しミシン1の構成について説明する。図1の紙面上側、下側、右側、左側、表側、背面側は夫々ミシン1の上側、下側、右側、左側、前側、後側である。   Hereinafter, a first embodiment of the present invention will be described with reference to the drawings. The configuration of the sewing machine 1 will be described with reference to FIGS. The upper side, lower side, right side, left side, front side, and rear side of FIG. 1 are the upper side, lower side, right side, left side, front side, and rear side of the sewing machine 1, respectively.

ミシン1はベッド部2、脚柱部3、アーム部4を備える。ベッド部2はミシン1の土台となる。ベッド部2はテーブル20上面の凹部(図示略)に上方から嵌めてミシン1をテーブル20に装着する。脚柱部3はベッド部2右端から鉛直上方に延びる。アーム部4は脚柱部3上端から左方に延びる。アーム部4はベッド部2上面に対向する。アーム部4は左端部下方に押え足17を装着する。アーム部4は内部に針棒7を保持する。針棒7は下端に縫針8(図2、図3参照)を装着する。針棒7と縫針8はメインモータ13の駆動に従って上下に往復移動する。アーム部4は左端部前方に天秤9を備える。天秤9は針棒7に従って上下動する。アーム部4は上面に操作部10を固定する。操作部10は前面に液晶パネル11を備える。作業者は液晶パネル11を見ながら操作部10を操作し各種指示をミシン1に入力する。   The sewing machine 1 includes a bed 2, a pedestal 3, and an arm 4. The bed part 2 is a foundation of the sewing machine 1. The bed 2 is fitted into a recess (not shown) on the upper surface of the table 20 from above and the sewing machine 1 is mounted on the table 20. The pedestal 3 extends vertically upward from the right end of the bed 2. The arm portion 4 extends leftward from the upper end of the pedestal column portion 3. The arm part 4 faces the upper surface of the bed part 2. The arm portion 4 is provided with a presser foot 17 below the left end portion. The arm portion 4 holds a needle bar 7 therein. The needle bar 7 has a sewing needle 8 (see FIGS. 2 and 3) attached to the lower end. The needle bar 7 and the sewing needle 8 reciprocate up and down as the main motor 13 is driven. The arm portion 4 includes a balance 9 in front of the left end portion. The balance 9 moves up and down according to the needle bar 7. The arm part 4 fixes the operation part 10 to the upper surface. The operation unit 10 includes a liquid crystal panel 11 on the front surface. The operator operates the operation unit 10 while looking at the liquid crystal panel 11 and inputs various instructions to the sewing machine 1.

ミシン1はテーブル20下面に制御装置30を備える。制御装置30はロッド21を介して踏み込み式のペダル22に接続する。作業者はペダル22をつま先側又は踵側に操作する。制御装置30はペダル22の操作方向及び操作量に応じてミシン1の動作を制御する。   The sewing machine 1 includes a control device 30 on the lower surface of the table 20. The control device 30 is connected to a stepping pedal 22 via a rod 21. The operator operates the pedal 22 to the toe side or the heel side. The control device 30 controls the operation of the sewing machine 1 according to the operation direction and operation amount of the pedal 22.

脚柱部3は右側面上部にメインモータ13を備える。アーム部4は内部に主軸14を備える。主軸14は回転可能な状態でアーム部4内部を左右方向に延びる。主軸14の右端はメインモータ13に接続する。主軸14の左端は針棒上下動機構(図示略)に接続する。メインモータ13は主軸14を駆動して針棒7と天秤9を上下動する。詳細は後述するが、本実施形態のミシン1では、メインモータ13は布送り機構32(図3参照)の上下動も行う。   The pedestal 3 has a main motor 13 at the upper right side. The arm portion 4 includes a main shaft 14 inside. The main shaft 14 extends in the left-right direction inside the arm portion 4 in a rotatable state. The right end of the main shaft 14 is connected to the main motor 13. The left end of the main shaft 14 is connected to a needle bar vertical movement mechanism (not shown). The main motor 13 drives the main shaft 14 to move the needle bar 7 and the balance 9 up and down. Although details will be described later, in the sewing machine 1 of the present embodiment, the main motor 13 also moves the cloth feed mechanism 32 (see FIG. 3) up and down.

図2に示すように、ベッド部2は上面左端に針板15を備える。針板15は略中央部に針穴18を有する。縫針8は下降時に下端が針穴18を通過する。針板15は、針穴18の左方、後方、右方の夫々に送り歯穴19を備える。送り歯穴19は前後方向に長い長方形状の穴である。ベッド部2は針板15の下部に釜機構(図示略)と布送り機構32(図3参照)を備える。   As shown in FIG. 2, the bed portion 2 includes a needle plate 15 at the upper left end. The needle plate 15 has a needle hole 18 in a substantially central portion. The lower end of the sewing needle 8 passes through the needle hole 18 when lowered. The needle plate 15 includes a feed dog hole 19 on each of the left side, the rear side, and the right side of the needle hole 18. The feed dog hole 19 is a rectangular hole that is long in the front-rear direction. The bed portion 2 includes a shuttle mechanism (not shown) and a cloth feed mechanism 32 (see FIG. 3) below the needle plate 15.

図3に示すように、布送り機構32は送り台33、送り歯34、揺動リンク36、中間リンク38、連結リンク39を備える。送り台33は針板15と平行な状態で針板15の下方に配置してある。送り台33は上面に3つの送り歯34(図3では1つの送り歯34のみを図示)を固定する。送り歯34の夫々は送り歯穴19の位置に対応する。送り歯34の夫々は前後方向(図3の左右方向)に長い。送り歯34は布を強固に挟む為の凹凸を上部に備える。   As shown in FIG. 3, the cloth feed mechanism 32 includes a feed base 33, a feed dog 34, a swing link 36, an intermediate link 38, and a connection link 39. The feed base 33 is disposed below the needle plate 15 in a state parallel to the needle plate 15. The feed base 33 fixes three feed dogs 34 (only one feed dog 34 is shown in FIG. 3) on the upper surface. Each of the feed dogs 34 corresponds to the position of the feed dog hole 19. Each of the feed dogs 34 is long in the front-rear direction (left-right direction in FIG. 3). The feed dog 34 is provided with projections and depressions on the top for firmly sandwiching the cloth.

送り台33の前端部は揺動リンク36の一端に揺動可能に接続する。揺動リンク36の中央は、左右方向に延びる支持軸37により回動可能に支持してある。揺動リンク36の他端は中間リンク38に接続する。布送りモータ23の出力軸24は連結リンク39に接続する。中間リンク38は揺動リンク36と連結リンク39を連結する。布送りモータ23が回転すると、布送りモータ23の動力は連結リンク39、中間リンク38、揺動リンク36の順に伝わる。揺動リンク36は支持軸37を中心に回動する。送り台33は揺動リンク36の回動によって揺動する。故に、送り台33は布送りモータ23の動力で前後方向に移動する。   The front end portion of the feed base 33 is connected to one end of the swing link 36 so as to be swingable. The center of the swing link 36 is rotatably supported by a support shaft 37 extending in the left-right direction. The other end of the swing link 36 is connected to the intermediate link 38. The output shaft 24 of the cloth feed motor 23 is connected to the connection link 39. The intermediate link 38 connects the swing link 36 and the connection link 39. When the cloth feed motor 23 rotates, the power of the cloth feed motor 23 is transmitted in the order of the connecting link 39, the intermediate link 38, and the swing link 36. The swing link 36 rotates around the support shaft 37. The feed base 33 swings as the swing link 36 rotates. Therefore, the feed base 33 moves in the front-rear direction by the power of the cloth feed motor 23.

送り台33は後部に二股部35を備える。二股部35は、送り台33の後端よりもやや前方から下方へ延び、後方へ屈曲する。二股部35は、送り台33の後端部との間で上下送りカム40を挟む。上下送りカム40は駆動軸41により回転する偏心カムである。駆動軸41が回転すると上下送りカム40が回転し、送り台33は上下動する。本実施形態のミシン1では、駆動軸41は伝達機構(図示略)に接続している。該伝達機構は主軸14(図1参照)に接続している。主軸14の回転は伝達機構を介して駆動軸41に伝わる。駆動軸41の回転と主軸14の回転は同期する。針棒7と縫針8が上下に一往復する間に送り台33と送り歯34は上下に一往復する。つまり、本実施形態では縫針8の上下動と送り歯34の上下動は機械的に同期する。   The feed base 33 includes a bifurcated portion 35 at the rear. The bifurcated portion 35 extends slightly forward from the rear end of the feed base 33 and bends backward. The bifurcated portion 35 sandwiches the vertical feed cam 40 with the rear end portion of the feed base 33. The vertical feed cam 40 is an eccentric cam rotated by a drive shaft 41. When the drive shaft 41 rotates, the vertical feed cam 40 rotates and the feed base 33 moves up and down. In the sewing machine 1 of the present embodiment, the drive shaft 41 is connected to a transmission mechanism (not shown). The transmission mechanism is connected to the main shaft 14 (see FIG. 1). The rotation of the main shaft 14 is transmitted to the drive shaft 41 via the transmission mechanism. The rotation of the drive shaft 41 and the rotation of the main shaft 14 are synchronized. While the needle bar 7 and the sewing needle 8 reciprocate up and down once, the feed base 33 and the feed dog 34 reciprocate up and down once. That is, in this embodiment, the vertical movement of the sewing needle 8 and the vertical movement of the feed dog 34 are mechanically synchronized.

送り台33が上昇すると、送り歯34は送り歯穴19から針板15の上方に突出し、押え足17との間に布29を挟む。布29が所定の厚み以下であれば、送り歯34が針板15の上方に位置している間、縫針8は布29に刺さらない。縫製の実行中、ミシン1はメインモータ13と布送りモータ23の回転角位相を監視する。詳細は後述するが、ミシン1はメインモータ13と布送りモータ23の同期をとり、送り歯34が針板15の上方に位置している間に、縫製プログラムで規定してある量だけ布送りモータ23を駆動する。故に、布29は縫針8が刺さっていない状態で前後方向に移動する。送り台33が下降すると、送り歯34は針板15の下方に位置する。送り歯34が針板15の下方に位置すれば、送り歯34が前後方向に移動しても布29は移動しない。縫針8は、送り歯34が針板15の下方に位置している間に布29に縫い目を形成する。以上のように、ミシン1は、布送り機構32の水平方向(本実施形態では前後方向)の駆動と針棒7の駆動を別のモータで実行する。故に、ミシン1は縫製中に送り歯34の水平方向の移動量を自由に制御することができる。   When the feed base 33 rises, the feed dog 34 protrudes above the needle plate 15 from the feed dog hole 19, and the cloth 29 is sandwiched between the presser foot 17. If the cloth 29 is equal to or less than a predetermined thickness, the sewing needle 8 does not pierce the cloth 29 while the feed dog 34 is positioned above the needle plate 15. During the execution of sewing, the sewing machine 1 monitors the rotation angle phases of the main motor 13 and the cloth feed motor 23. Although details will be described later, the sewing machine 1 synchronizes the main motor 13 and the cloth feed motor 23, and while the feed dog 34 is positioned above the needle plate 15, the cloth feed is performed by the amount specified by the sewing program. The motor 23 is driven. Therefore, the cloth 29 moves in the front-rear direction in a state where the sewing needle 8 is not pierced. When the feed base 33 is lowered, the feed dog 34 is positioned below the needle plate 15. If the feed dog 34 is positioned below the needle plate 15, the cloth 29 will not move even if the feed dog 34 moves in the front-rear direction. The sewing needle 8 forms a seam on the cloth 29 while the feed dog 34 is positioned below the needle plate 15. As described above, the sewing machine 1 executes the driving of the cloth feed mechanism 32 in the horizontal direction (the front-rear direction in the present embodiment) and the driving of the needle bar 7 with different motors. Therefore, the sewing machine 1 can freely control the amount of horizontal movement of the feed dog 34 during sewing.

図4を参照しミシン1の電気的構成について説明する。ミシン1の制御装置30はCPU44を備える。CPU44はミシン1の制御を司る。CPU44はROM45、RAM46、EEPROM(登録商標)47、I/Oインターフェース(以下I/Oという)48とバスを介して接続する。ROM45は後述する布送り量設定処理(図5参照)、速度制御処理(図6、8、9、10、11参照)、動作確認処理(図7参照)を実行する為のプログラム等を記憶する。RAM46はプログラムを実行する為に必要な各種値を一時的に記憶する。EEPROM47は各種値を記憶する不揮発性の記憶装置である。   The electrical configuration of the sewing machine 1 will be described with reference to FIG. The control device 30 of the sewing machine 1 includes a CPU 44. The CPU 44 controls the sewing machine 1. The CPU 44 is connected to a ROM 45, a RAM 46, an EEPROM (registered trademark) 47, and an I / O interface (hereinafter referred to as I / O) 48 via a bus. The ROM 45 stores a program for executing a cloth feed amount setting process (see FIG. 5), a speed control process (see FIGS. 6, 8, 9, 10, and 11), and an operation confirmation process (see FIG. 7), which will be described later. . The RAM 46 temporarily stores various values necessary for executing the program. The EEPROM 47 is a non-volatile storage device that stores various values.

I/O48はペダル22、操作部10に接続する。CPU44はペダル22の操作方向及び操作量を入力する。CPU44は操作部10から作業者による操作指示を入力する。作業者は操作部10を操作することで、後述する布送り開始位置、終端位置を設定できる。I/O48は駆動回路51〜53に接続する。駆動回路51は液晶パネル11を駆動する。駆動回路52は、CPU44から入力するトルク指令信号に応じてメインモータ13を駆動する。ミシン1はメインモータ13の回転角位相及び回転速度を検出する為のメインエンコーダ55を備える。メインエンコーダ55はメインモータ13の回転角位相及び回転速度の検出結果をI/O48に出力する。駆動回路53は、CPU44から入力する布送り駆動信号に応じて布送りモータ23を駆動する。布送りモータ23はパルスモータである。布送りモータ23の布送り駆動信号はパルス信号である。ミシン1は布送りモータ23の回転角位相及び回転速度を検出する為の布送りエンコーダ56を備える。布送りエンコーダ56は布送りモータ23の回転角位相及び回転速度の検出結果をI/O48に出力する。   The I / O 48 is connected to the pedal 22 and the operation unit 10. The CPU 44 inputs an operation direction and an operation amount of the pedal 22. The CPU 44 inputs an operation instruction from the operator from the operation unit 10. The operator can set the cloth feed start position and the end position described later by operating the operation unit 10. The I / O 48 is connected to the drive circuits 51-53. The drive circuit 51 drives the liquid crystal panel 11. The drive circuit 52 drives the main motor 13 in accordance with a torque command signal input from the CPU 44. The sewing machine 1 includes a main encoder 55 for detecting a rotation angle phase and a rotation speed of the main motor 13. The main encoder 55 outputs the detection result of the rotation angle phase and rotation speed of the main motor 13 to the I / O 48. The drive circuit 53 drives the cloth feed motor 23 according to the cloth feed drive signal input from the CPU 44. The cloth feed motor 23 is a pulse motor. The cloth feed drive signal of the cloth feed motor 23 is a pulse signal. The sewing machine 1 includes a cloth feed encoder 56 for detecting the rotation angle phase and the rotation speed of the cloth feed motor 23. The cloth feed encoder 56 outputs the detection result of the rotation angle phase and the rotation speed of the cloth feed motor 23 to the I / O 48.

図5〜図7を参照し、第一実施形態のミシン1が実行する処理について説明する。ミシン1のCPU44はROM45に記憶しているプログラムに従って、図5に示す布送り量設定処理、図6に示す第一速度制御処理、図7に示す動作確認処理を実行する。ミシン1は上記3つの処理を並行して実行できる。   With reference to FIGS. 5-7, the process which the sewing machine 1 of 1st embodiment performs is demonstrated. The CPU 44 of the sewing machine 1 executes the cloth feed amount setting process shown in FIG. 5, the first speed control process shown in FIG. 6, and the operation confirmation process shown in FIG. 7 according to the program stored in the ROM 45. The sewing machine 1 can execute the above three processes in parallel.

図5を参照し布送り設定処理について説明する。布送り設定処理では、ミシン1は作業者による操作部10の操作に従って布送り機構32(詳細には送り歯34)の布送り開始位置と終端位置を設定する。送り歯34の前後方向の移動量である布送り量は、布送り開始位置と終端位置を設定することで定まる。更に、ミシン1は布送り開始時のメインモータ13の回転角と布送り終了時のメインモータ13の回転角も設定できる。ミシン1の電源がオンとなると、CPU44は布送り量設定処理を開始する。   The cloth feed setting process will be described with reference to FIG. In the cloth feed setting process, the sewing machine 1 sets the cloth feed start position and the end position of the cloth feed mechanism 32 (specifically, the feed dog 34) according to the operation of the operation unit 10 by the operator. The cloth feed amount that is the amount of movement of the feed dog 34 in the front-rear direction is determined by setting the cloth feed start position and the end position. Further, the sewing machine 1 can also set the rotation angle of the main motor 13 at the start of cloth feeding and the rotation angle of the main motor 13 at the end of cloth feeding. When the power of the sewing machine 1 is turned on, the CPU 44 starts the cloth feed amount setting process.

CPU44は、布送り開始位置「STPos」と終端位置「ENPos」の設定値を作業者が操作部10から入力したか否かを判断する(S1)。入力していなければ(S1:NO)、CPU44は処理をS6の判断へ移行する。作業者が操作部10を操作し、布送り開始位置「STPos」と終端位置「ENPos」の設定値を入力すると(S1:YES)、CPU44は入力した値をEEPROM47に記憶し、開始位置「STPos」と終端位置「ENPos」を設定する(S2)。CPU44は開始位置「STPos」から終端位置「ENPos」までの距離である布送り量「Pitch」を設定する(S3)。本実施形態では、開始位置、終了位置、布送り量は布送りモータ23出力軸の角度で表すが、布送りモータ23のパルス数等の他の値で表してもよい。CPU44は、布送り開始位置から一意に定まる布送り開始時のメインモータ13の出力軸の回転角である開始角「FeedStart」を設定する(S4)。同様に、CPU44は布送りの終端位置から一意に定まるメインモータ13の出力軸の回転角である終端角「FeedEnd」を設定する(S5)。終端角は、布送り機構32が布送りの終端位置「ENPos」に達する時点でメインモータ13の出力軸が位置すべき回転角である。作業者が処理を終了する為の指示を入力していなければ(S6:NO)、CPU44は処理をS1の判断へ戻す。作業者が終了指示を入力すると(S6:YES)、CPU44は布送り量設定処理を終了する。   The CPU 44 determines whether or not the operator inputs the set values of the cloth feed start position “STPos” and the end position “ENPos” from the operation unit 10 (S1). If not input (S1: NO), the CPU 44 proceeds to the determination of S6. When the operator operates the operation unit 10 and inputs set values of the cloth feed start position “STPos” and the end position “ENPos” (S1: YES), the CPU 44 stores the input values in the EEPROM 47 and starts the position “STPos”. "And the end position" ENPos "are set (S2). The CPU 44 sets a cloth feed amount “Pitch” which is a distance from the start position “STPos” to the end position “ENPos” (S3). In the present embodiment, the start position, the end position, and the cloth feed amount are represented by the angle of the cloth feed motor 23 output shaft, but may be represented by other values such as the number of pulses of the cloth feed motor 23. The CPU 44 sets a start angle “FeedStart” that is a rotation angle of the output shaft of the main motor 13 at the time of starting the cloth feed uniquely determined from the cloth feed start position (S4). Similarly, the CPU 44 sets a termination angle “FeedEnd” that is a rotation angle of the output shaft of the main motor 13 that is uniquely determined from the termination position of the cloth feed (S5). The end angle is a rotation angle at which the output shaft of the main motor 13 should be positioned when the cloth feed mechanism 32 reaches the cloth feed end position “ENPos”. If the operator has not input an instruction to end the process (S6: NO), the CPU 44 returns the process to the determination of S1. When the operator inputs an end instruction (S6: YES), the CPU 44 ends the cloth feed amount setting process.

図6を参照し第一速度制御処理について説明する。第一速度制御処理では、ミシン1は布送りモータ23の出力軸の目標回転角と実際の回転角の偏差を算出する。ミシン1は、算出した偏差に基づいて布送りモータ23の回転速度を算出する。故に、ミシン1では、布送りモータ23の回転速度はメインモータ13の回転速度の変化に追従できる。ミシン1の電源がオンとなると、CPU44は第一速度制御処理を開始する。   The first speed control process will be described with reference to FIG. In the first speed control process, the sewing machine 1 calculates the deviation between the target rotation angle of the output shaft of the cloth feed motor 23 and the actual rotation angle. The sewing machine 1 calculates the rotation speed of the cloth feed motor 23 based on the calculated deviation. Therefore, in the sewing machine 1, the rotation speed of the cloth feed motor 23 can follow the change in the rotation speed of the main motor 13. When the power of the sewing machine 1 is turned on, the CPU 44 starts the first speed control process.

CPU44は、メインモータ13の出力軸の回転角である主回転角「DDPOS」をメインエンコーダ55から取得する(S11)。CPU44は、S11で取得した主回転角「DDPOS」が開始角「FeedStart」と終端角「FeedEnd」の間にあるか否かを判断する(S12)。主回転角「DDPOS」が開始角「FeedStart」と終端角「FeedEnd」の間にない場合(S12:NO)、CPU44は処理をS11に戻す。主回転角「DDPOS」が開始角「FeedStart」と終端角「FeedEnd」の間にある場合(S12:YES)、CPU44は、布送りモータ23の出力軸の回転角である布送り回転角「RELPOS」を布送りエンコーダ56から取得する(S13)。   The CPU 44 acquires the main rotation angle “DDPOS”, which is the rotation angle of the output shaft of the main motor 13, from the main encoder 55 (S11). The CPU 44 determines whether or not the main rotation angle “DDPOS” acquired in S11 is between the start angle “FeedStart” and the end angle “FeedEnd” (S12). If the main rotation angle “DDPOS” is not between the start angle “FeedStart” and the end angle “FeedEnd” (S12: NO), the CPU 44 returns the process to S11. When the main rotation angle “DDPOS” is between the start angle “FeedStart” and the end angle “FeedEnd” (S12: YES), the CPU 44 determines the cloth feed rotation angle “RELPOS” which is the rotation angle of the output shaft of the cloth feed motor 23. "Is acquired from the cloth feed encoder 56 (S13).

CPU44は、S11で取得したメインモータ13の主回転角「DDPOS」に対応する布送りモータ23の出力軸が位置すべき布送り回転角である目標回転角「POS1」を設定する(S14)。前述したように、ミシン1ではメインモータ13と布送りモータ23は同期する。故に、布送りモータ23の目標回転角は主回転角「DDPOS」から一意に定まる。   The CPU 44 sets a target rotation angle “POS1” that is the cloth feed rotation angle at which the output shaft of the cloth feed motor 23 corresponding to the main rotation angle “DDPOS” of the main motor 13 acquired in S11 is to be positioned (S14). As described above, in the sewing machine 1, the main motor 13 and the cloth feed motor 23 are synchronized. Therefore, the target rotation angle of the cloth feed motor 23 is uniquely determined from the main rotation angle “DDPOS”.

目標回転角「POS1」の設定方法について詳細に説明する。CPU44は、送り歯34が前後方向に移動して布を1回送る間にメインモータ13の出力軸が回転する角度である送り角度「FeedDeg」を、以下の式で算出する。
FeedDeg=FeedEnd−FeedStart
送り角度「FeedDeg」のうち、既に回転が終了した角度の割合は、
(DDPOS−FeedStart)/FeedDeg
となる。故に、CPU44は目標回転角「POS1」を以下の式で算出できる。
POS1=STPos+Pitch(DDPOS−FeedStart)/FeedDeg
A method for setting the target rotation angle “POS1” will be described in detail. The CPU 44 calculates a feed angle “FeedDeg”, which is an angle at which the output shaft of the main motor 13 rotates while the feed dog 34 moves in the front-rear direction and feeds the cloth once, using the following formula.
FeedDeg = FeedEnd−FeedStart
Of the feed angle “FeedDeg”, the ratio of the angle that has already been rotated is:
(DDPOS-FeedStart) / FeedDeg
It becomes. Therefore, the CPU 44 can calculate the target rotation angle “POS1” by the following equation.
POS1 = STPos + Pitch (DDPOS-FeedStart) / FeedDeg

CPU44は、設定した目標回転角「POS1」と、布送りエンコーダ56から取得した布送り回転角「RELPOS」の偏差を算出する(S15)。CPU44は、算出した偏差に基づいて、布送りモータ23に指示する回転速度「SP1」を算出する(S16)。具体的には、CPU44は予め設定してある固定値の係数Nを偏差に乗じることで回転速度「SP1」を算出する。CPU44は、回転速度「SP1」で布送りモータ23を駆動する為の布送り駆動信号を駆動回路53に出力し、布送りモータ23を駆動する(S17)。CPU44は処理をS11へ戻し、S11〜S17の処理を繰り返す。第一速度制御処理は、ミシン1の電源がオフとなると終了する。   The CPU 44 calculates a deviation between the set target rotation angle “POS1” and the cloth feed rotation angle “RELPOS” acquired from the cloth feed encoder 56 (S15). Based on the calculated deviation, the CPU 44 calculates the rotational speed “SP1” instructed to the cloth feed motor 23 (S16). Specifically, the CPU 44 calculates the rotational speed “SP1” by multiplying the deviation by a preset fixed value coefficient N. The CPU 44 outputs a cloth feed driving signal for driving the cloth feed motor 23 at the rotational speed “SP1” to the drive circuit 53 to drive the cloth feed motor 23 (S17). CPU44 returns a process to S11 and repeats the process of S11-S17. The first speed control process ends when the power of the sewing machine 1 is turned off.

図7を参照し動作確認処理について説明する。動作確認処理では、ミシン1はメインモータ13と布送りモータ23が同期しているか否かを確認し、同期していない場合にエラー処理を行う。ミシン1の電源がオンとなると、CPU44は動作確認処理を開始する。   The operation confirmation process will be described with reference to FIG. In the operation confirmation processing, the sewing machine 1 confirms whether or not the main motor 13 and the cloth feed motor 23 are synchronized, and performs error processing if they are not synchronized. When the power of the sewing machine 1 is turned on, the CPU 44 starts an operation confirmation process.

CPU44は、メインモータ13の出力軸の回転角である主回転角「DDPOS」をメインエンコーダ55から取得する(S21)。CPU44は、S21で取得した主回転角「DDPOS」が開始角「FeedStart」と終端角「FeedEnd」の間にあるか否かを判断する(S22)。主回転角「DDPOS」が開始角「FeedStart」と終端角「FeedEnd」の間にない場合(S22:NO)、CPU44は処理をS21に戻す。主回転角「DDPOS」が開始角「FeedStart」と終端角「FeedEnd」の間にある場合(S22:YES)、CPU44は、予め作業者が行った動作確認タイミングの設定内容を判断する(S23、S24)。   The CPU 44 acquires the main rotation angle “DDPOS”, which is the rotation angle of the output shaft of the main motor 13, from the main encoder 55 (S21). The CPU 44 determines whether or not the main rotation angle “DDPOS” acquired in S21 is between the start angle “FeedStart” and the end angle “FeedEnd” (S22). When the main rotation angle “DDPOS” is not between the start angle “FeedStart” and the end angle “FeedEnd” (S22: NO), the CPU 44 returns the process to S21. When the main rotation angle “DDPOS” is between the start angle “FeedStart” and the end angle “FeedEnd” (S22: YES), the CPU 44 determines the setting details of the operation confirmation timing previously performed by the operator (S23, S24).

本実施形態のミシン1では、作業者は操作部10を操作することで動作確認タイミングの設定を行うことができる。動作確認タイミングには常時確認と所定位置確認がある。常時確認は、所定間隔(例えば、CPU44がS21〜S28の処理を行う間隔、又はCPU44のクロック数に応じた所定時間)毎に動作確認を行う。常時確認では、ミシン1はより正確に動作確認を行うことができる。所定位置確認は、布送り機構32の送り歯34が所定の動作確認位置に到達した際に動作確認を行う。所定位置確認では、ミシン1は必要なタイミングで効率よく動作確認を行うことができ、CPU44の処理負担は低下する。   In the sewing machine 1 of the present embodiment, the operator can set the operation confirmation timing by operating the operation unit 10. The operation confirmation timing includes a constant confirmation and a predetermined position confirmation. In the constant confirmation, the operation is confirmed at predetermined intervals (for example, the interval at which the CPU 44 performs the processing of S21 to S28 or the predetermined time corresponding to the number of clocks of the CPU 44). In the constant check, the sewing machine 1 can check the operation more accurately. The predetermined position confirmation is performed when the feed dog 34 of the cloth feed mechanism 32 reaches a predetermined operation confirmation position. In the predetermined position confirmation, the sewing machine 1 can efficiently confirm the operation at a necessary timing, and the processing load on the CPU 44 is reduced.

作業者は所定位置確認を行う場合、デフォルト位置及び任意位置の何れかの動作確認位置を設定できる。所定確認位置をデフォルト位置に設定した場合、動作確認位置は布送り機構32の送り歯34が針板15の板面から上昇する位置及び下降する位置である。布送り機構32は送り歯34が針板15よりも上方にある状態で布29を送る。故に、送り歯34が針板15から上昇、下降する位置では、2つのモータ13、23の同期は特に重要である。所定確認位置をデフォルト位置に設定することで、ミシン1は特に重要なタイミングで効率よく動作確認を行うことができる。   When the operator confirms the predetermined position, the operator can set an operation confirmation position of either a default position or an arbitrary position. When the predetermined confirmation position is set to the default position, the operation confirmation position is a position where the feed dog 34 of the cloth feed mechanism 32 is raised and lowered from the plate surface of the needle plate 15. The cloth feed mechanism 32 feeds the cloth 29 in a state where the feed dog 34 is above the needle plate 15. Therefore, the synchronization of the two motors 13 and 23 is particularly important at the position where the feed dog 34 moves up and down from the needle plate 15. By setting the predetermined confirmation position to the default position, the sewing machine 1 can efficiently confirm the operation at a particularly important timing.

所定確認位置を任意位置に設定した場合、作業者は操作部10を操作して動作確認位置を任意に設定する。作業者が任意に設定可能な位置は、布送り開始位置「STPos」と終端位置「ENPos」の間の位置である。例えば、布29が厚い場合、縫針8は布29が薄い場合よりも早いタイミングで布29に刺さる。布29が厚い場合に所定確認位置をデフォルト位置に設定すると、布送り機構32の送り歯34が針板15の板面から下降する位置に到達する前に縫針8が布29に刺さる場合がある。故に、2つのモータ13、23の同期がずれ、送り歯34の下降が遅れると、布29は縫針8が刺さった状態で移動する。布29に刺さった状態で布29が移動すると、縫針8は曲がる。曲がった縫針8は針穴18を通過せず針板15上面に接触して破損する場合がある。動作確認位置を送り歯34が針板15から下降する位置よりも早いタイミングとなる位置に任意に設定することで、ミシン1は布厚に応じてタイミングを変えて動作確認を行うことができる。所定確認位置を任意位置に設定することで、ミシン1は作業者が所望の確認位置で動作確認を行うことができる。   When the predetermined confirmation position is set to an arbitrary position, the operator operates the operation unit 10 to arbitrarily set the operation confirmation position. The position that can be arbitrarily set by the operator is a position between the cloth feed start position “STPos” and the end position “ENPos”. For example, when the cloth 29 is thick, the sewing needle 8 pierces the cloth 29 at an earlier timing than when the cloth 29 is thin. If the predetermined confirmation position is set to the default position when the cloth 29 is thick, the sewing needle 8 may pierce the cloth 29 before reaching the position where the feed dog 34 of the cloth feed mechanism 32 descends from the plate surface of the needle plate 15. . Therefore, when the two motors 13 and 23 are out of synchronization and the feed dog 34 descends slowly, the cloth 29 moves with the sewing needle 8 stuck. When the cloth 29 moves while being stuck in the cloth 29, the sewing needle 8 bends. The bent sewing needle 8 does not pass through the needle hole 18 and may contact the upper surface of the needle plate 15 and be damaged. By arbitrarily setting the operation confirmation position to a position that is earlier than the position where the feed dog 34 descends from the needle plate 15, the sewing machine 1 can perform operation confirmation by changing the timing according to the cloth thickness. By setting the predetermined confirmation position to an arbitrary position, the operator can confirm the operation of the sewing machine 1 at a desired confirmation position.

動作確認タイミングの設定が常時確認でなければ(S23:NO)、CPU44は、布送り機構32の位置が所定の動作確認位置であるか否かをメインモータ13の主回転角「DDPOS」から判断する(S24)。前述したように、ミシン1は、布送りモータ23の布送り回転角「RELPOS」がメインモータ13の主回転角「DDPOS」に同期するように布送りモータ23を駆動する(図6参照)。布送り機構32の位置は布送り回転角「RELPOS」から定まる。故に、ミシン1は布送り機構32が存在すべき位置をメインモータ13の主回転角「DDPOS」から判断できる。布送り機構32の位置が所定の動作確認位置になければ(S24:NO)、CPU44は処理をS21へ戻す。   If the operation confirmation timing setting is not always confirmed (S23: NO), the CPU 44 determines from the main rotation angle “DDPOS” of the main motor 13 whether or not the position of the cloth feed mechanism 32 is a predetermined operation confirmation position. (S24). As described above, the sewing machine 1 drives the cloth feed motor 23 so that the cloth feed rotation angle “RELPOS” of the cloth feed motor 23 is synchronized with the main rotation angle “DDPOS” of the main motor 13 (see FIG. 6). The position of the cloth feed mechanism 32 is determined from the cloth feed rotation angle “RELPOS”. Therefore, the sewing machine 1 can determine the position where the cloth feed mechanism 32 should be present from the main rotation angle “DDPOS” of the main motor 13. If the position of the cloth feed mechanism 32 is not at the predetermined operation confirmation position (S24: NO), the CPU 44 returns the process to S21.

動作確認タイミングの設定が常時確認である場合(S23:YES)、又は布送り機構32の位置が所定の動作確認位置にある場合(S24:YES)、CPU44は布送り回転角「RELPOS」を布送りエンコーダ56から取得する(S25)。CPU44は、S21で取得した主回転角「DDPOS」に対応する布送りモータ23の出力軸が位置すべき目標回転角「POS1」を設定する(S26)。「POS1」の設定方法は前述したS14(図6参照)と同様である。CPU44は、設定した目標回転角「POS1」と、S25で取得した布送り回転角「RELPOS」の偏差を算出する(S27)。   When the operation confirmation timing setting is always confirmation (S23: YES), or when the position of the cloth feed mechanism 32 is at the predetermined operation confirmation position (S24: YES), the CPU 44 sets the cloth feed rotation angle “RELPOS”. Obtained from the feed encoder 56 (S25). The CPU 44 sets a target rotation angle “POS1” at which the output shaft of the cloth feed motor 23 corresponding to the main rotation angle “DDPOS” acquired in S21 is to be positioned (S26). The setting method of “POS1” is the same as S14 described above (see FIG. 6). The CPU 44 calculates a deviation between the set target rotation angle “POS1” and the cloth feed rotation angle “RELPOS” acquired in S25 (S27).

CPU44は、算出した偏差が閾値以下であるか否かを判断する(S28)。閾値は任意に設定できる。閾値は、作業者が操作部10を操作して変更できる値であってもよい。偏差が閾値以下であれば(S28:YES)、CPU44はメインモータ13と布送りモータ23が同期していると判断し、処理をS21へ戻す。偏差が閾値よりも大きければ(S28:NO)、CPU44は、2つのモータ13、23の同期がずれたことを示すエラー画面を液晶パネル11に表示する(S29)。故に、作業者は2つのモータ13、23の同期がずれたことを容易に把握して適切な対処を行うことができる。S29ではCPU44はエラー音をスピーカから出力してエラーを報知してもよい。CPU44は、メインモータ13と布送りモータ23の駆動を停止し(S30)、動作確認処理を終了する。故に、ミシン1は2つのモータ13、23の同期がずれた状態で縫製を行うことを防止できる。   The CPU 44 determines whether or not the calculated deviation is equal to or less than a threshold value (S28). The threshold can be set arbitrarily. The threshold value may be a value that can be changed by the operator operating the operation unit 10. If the deviation is less than or equal to the threshold (S28: YES), the CPU 44 determines that the main motor 13 and the cloth feed motor 23 are synchronized, and returns the process to S21. If the deviation is larger than the threshold value (S28: NO), the CPU 44 displays on the liquid crystal panel 11 an error screen indicating that the two motors 13 and 23 are out of synchronization (S29). Therefore, the operator can easily grasp that the two motors 13 and 23 are out of synchronization and take appropriate measures. In S29, the CPU 44 may notify the error by outputting an error sound from the speaker. The CPU 44 stops driving the main motor 13 and the cloth feed motor 23 (S30) and ends the operation confirmation process. Therefore, the sewing machine 1 can prevent sewing with the two motors 13 and 23 out of synchronization.

以上のように、第一実施形態のミシン1は、メインモータ13の主回転角「DDPOS」から布送りモータ23の出力軸が位置すべき目標回転角「POS1」を設定する。ミシン1は、設定した目標回転角「POS1」と実際の布送りモータ23の布送り回転角「RELPOS」の偏差を算出する。ミシン1は算出した偏差に基づいて布送りモータ23の回転速度を算出する。メインモータ13及び主軸14の回転速度が変化した場合でも、布送りモータ23はメインモータ13との同期を保って駆動する。故に、ミシン1は縫製の速度が変化しても主軸14の駆動と布送り機構32の駆動の同期を保持できる。   As described above, the sewing machine 1 according to the first embodiment sets the target rotation angle “POS1” where the output shaft of the cloth feed motor 23 should be positioned from the main rotation angle “DDPOS” of the main motor 13. The sewing machine 1 calculates a deviation between the set target rotation angle “POS1” and the actual cloth feed rotation angle “RELPOS” of the cloth feed motor 23. The sewing machine 1 calculates the rotation speed of the cloth feed motor 23 based on the calculated deviation. Even when the rotation speeds of the main motor 13 and the main shaft 14 are changed, the cloth feed motor 23 is driven in synchronization with the main motor 13. Therefore, the sewing machine 1 can maintain the synchronization of the driving of the main shaft 14 and the driving of the cloth feeding mechanism 32 even if the sewing speed changes.

第一実施形態のミシン1はメインモータ13の回転速度を用いずに布送りモータ23の回転速度を算出できる。故に、第一実施形態のミシン1は、メインモータ13が停止した場合又は作業者が手動で主軸14を回転した場合でも適切に布送りモータ23とメインモータ13の同期を保つことができる。ミシン1では、作業者は布送りの開始位置、終端位置、布送り量、開始角、終端角を自由に設定できる。ミシン1は設定値に応じた適切な速度で布送りモータ23を駆動することができる。   The sewing machine 1 of the first embodiment can calculate the rotation speed of the cloth feed motor 23 without using the rotation speed of the main motor 13. Therefore, the sewing machine 1 of the first embodiment can appropriately keep the cloth feed motor 23 and the main motor 13 synchronized even when the main motor 13 is stopped or when the operator manually rotates the main shaft 14. In the sewing machine 1, the operator can freely set the cloth feed start position, end position, cloth feed amount, start angle, and end angle. The sewing machine 1 can drive the cloth feed motor 23 at an appropriate speed according to the set value.

第一実施形態においてメインエンコーダ55は本発明の主回転角検出部に相当する。布送りエンコーダ56は布送り回転角検出部に相当する。図6のS11で主回転角を取得するCPU44は主回転角取得部として機能する。図6のS13で布送り回転角を取得するCPU44は布送り回転角取得部として機能する。図6のS14で目標回転角を設定するCPU44は布送り目標角設定部として機能する。図6のS15で偏差を算出するCPU44は偏差算出部として機能する。図6のS16で布送りモータ23の回転速度を算出するCPU44は第一回転速度算出部として機能する。図5の布送り設定処理を実行するCPU44は設定部として機能する。   In the first embodiment, the main encoder 55 corresponds to a main rotation angle detection unit of the present invention. The cloth feed encoder 56 corresponds to a cloth feed rotation angle detector. CPU44 which acquires a main rotation angle by S11 of FIG. 6 functions as a main rotation angle acquisition part. The CPU 44 that acquires the cloth feed rotation angle in S13 of FIG. 6 functions as a cloth feed rotation angle acquisition unit. CPU44 which sets a target rotation angle by S14 of FIG. 6 functions as a cloth feed target angle setting part. The CPU 44 that calculates the deviation in S15 of FIG. 6 functions as a deviation calculation unit. The CPU 44 that calculates the rotation speed of the cloth feed motor 23 in S16 of FIG. 6 functions as a first rotation speed calculation unit. The CPU 44 that executes the cloth feed setting process of FIG. 5 functions as a setting unit.

図6のS11で主回転角を取得する処理は主回転角取得ステップに相当する。図6のS13で布送り回転角を取得する処理は布送り回転角取得ステップに相当する。図6のS14で目標回転角を設定する処理は布送り目標角設定ステップに相当する。図6のS15で偏差を算出する処理は偏差算出ステップに相当する。図6のS16で布送りモータ23の回転速度を算出する処理は第一回転速度算出ステップに相当する。   The process of acquiring the main rotation angle in S11 of FIG. 6 corresponds to a main rotation angle acquisition step. The process of acquiring the cloth feed rotation angle in S13 of FIG. 6 corresponds to the cloth feed rotation angle acquisition step. The process of setting the target rotation angle in S14 of FIG. 6 corresponds to the cloth feed target angle setting step. The process of calculating the deviation in S15 of FIG. 6 corresponds to a deviation calculating step. The process of calculating the rotation speed of the cloth feed motor 23 in S16 of FIG. 6 corresponds to a first rotation speed calculation step.

図8を参照し、本発明の第二実施形態について説明する。第二実施形態のミシン1は、メインモータ13の出力軸の目標回転角を、布送りモータ23の出力軸の回転角から設定する。該ミシン1は、設定したメインモータ13の出力軸の目標回転角と実際の回転角の偏差を算出し、布送りモータ23の回転速度を算出する。前述した第一実施形態のミシン1は、布送りモータ23の出力軸の目標回転角を設定して回転速度を算出する。第二実施形態のミシン1は、メインモータ13の出力軸の目標回転角を用いる点が第一実施形態のミシン1と異なるのみであり、機械的構成、電気的構成、布送り量設定処理(図5参照)、動作確認処理(図7参照)等は第一実施形態と同一である。故に、第二実施形態の説明では、第一実施形態のミシン1と同一の構成及び処理には同一の番号を付し、説明を省略又は簡略化する。   A second embodiment of the present invention will be described with reference to FIG. The sewing machine 1 of the second embodiment sets the target rotation angle of the output shaft of the main motor 13 from the rotation angle of the output shaft of the cloth feed motor 23. The sewing machine 1 calculates the deviation between the set target rotation angle of the output shaft of the main motor 13 and the actual rotation angle, and calculates the rotation speed of the cloth feed motor 23. The sewing machine 1 according to the first embodiment described above sets the target rotation angle of the output shaft of the cloth feed motor 23 and calculates the rotation speed. The sewing machine 1 of the second embodiment is different from the sewing machine 1 of the first embodiment only in that the target rotation angle of the output shaft of the main motor 13 is used. The mechanical configuration, the electrical configuration, and the cloth feed amount setting process ( The operation confirmation process (see FIG. 7) and the like are the same as those in the first embodiment. Therefore, in description of 2nd embodiment, the same number is attached | subjected to the structure and process same as the sewing machine 1 of 1st embodiment, and description is abbreviate | omitted or simplified.

ミシン1の電源がオンとなると、CPU44は第二速度制御処理を開始する。CPU44は、メインモータ13の主回転角「DDPOS」を取得する(S11)。CPU44は、S11で取得した主回転角「DDPOS」が開始角「FeedStart」と終端角「FeedEnd」の間にあるか否かを判断する(S12)。主回転角「DDPOS」が開始角「FeedStart」と終端角「FeedEnd」の間にない場合(S12:NO)、CPU44は処理をS11に戻す。主回転角「DDPOS」が開始角「FeedStart」と終端角「FeedEnd」の間にある場合(S12:YES)、CPU44は布送りモータ23の布送り回転角「RELPOS」を取得する(S13)。   When the power of the sewing machine 1 is turned on, the CPU 44 starts the second speed control process. The CPU 44 acquires the main rotation angle “DDPOS” of the main motor 13 (S11). The CPU 44 determines whether or not the main rotation angle “DDPOS” acquired in S11 is between the start angle “FeedStart” and the end angle “FeedEnd” (S12). If the main rotation angle “DDPOS” is not between the start angle “FeedStart” and the end angle “FeedEnd” (S12: NO), the CPU 44 returns the process to S11. When the main rotation angle “DDPOS” is between the start angle “FeedStart” and the end angle “FeedEnd” (S12: YES), the CPU 44 acquires the cloth feed rotation angle “RELPOS” of the cloth feed motor 23 (S13).

CPU44は、S13で取得した布送りモータ23の布送り回転角「RELPOS」に対応するメインモータ13の出力軸が位置すべき主回転角である目標回転角「POS2」を設定する(S114)。目標回転角「POS2」の設定方法について詳細に説明する。送り歯34が前後方向に移動して布を1回送る間に布送りモータ23の出力軸が回転する角度は、布送り量「Pitch」である。布送り量「Pitch」のうち、既に回転が終了した角度の割合は、(RELPOS−STPos)/Pitchとなる。布送り開始位置「STPos」は布送り量設定処理(図5参照)で設定してある。CPU44は目標回転角「POS2」を以下の式で算出できる。
POS2=FeedStart+FeedDeg(RELPOS−STPos)/Pitch
The CPU 44 sets a target rotation angle “POS2” that is the main rotation angle at which the output shaft of the main motor 13 corresponding to the cloth feed rotation angle “RELPOS” of the cloth feed motor 23 acquired in S13 is to be located (S114). A method for setting the target rotation angle “POS2” will be described in detail. The angle at which the output shaft of the cloth feed motor 23 rotates while the feed dog 34 moves in the front-rear direction and feeds the cloth once is the cloth feed amount “Pitch”. Of the cloth feed amount “Pitch”, the ratio of the angle at which the rotation has already ended is (RELPOS−STPos) / Pitch. The cloth feed start position “STPos” is set in the cloth feed amount setting process (see FIG. 5). The CPU 44 can calculate the target rotation angle “POS2” by the following equation.
POS2 = FeedStart + FeedDeg (RELPOS-STPos) / Pitch

CPU44は、設定した目標回転角「POS2」と、メインエンコーダ55から取得した主回転角「DDPOS」の偏差を算出する(S115)。CPU44は、S115で算出した偏差に基づいて、布送りモータ23に指示する回転速度を算出する為の変換値を算出する(S116)。具体的には、CPU44は、偏差に(FeedDeg/Pitch)を乗ずることにより偏差を布送りモータ23の出力軸が位置すべき目標回転角と布送り回転角「RELPOS」の偏差に相当する値に変換する。CPU44は、S116で算出した変換値に基づいて、布送りモータ23に指示する回転速度「SP1」を算出する(S16)。具体的には、CPU44は係数Nを偏差に乗じることで回転速度「SP1」を算出する。CPU44は、算出した回転速度「SP1」で布送りモータ23を駆動する(S17)。CPU44は処理をS11へ戻す。第二速度制御処理はミシン1の電源がオフとなると終了する。   The CPU 44 calculates a deviation between the set target rotation angle “POS2” and the main rotation angle “DDPOS” acquired from the main encoder 55 (S115). The CPU 44 calculates a conversion value for calculating the rotation speed instructed to the cloth feed motor 23 based on the deviation calculated in S115 (S116). Specifically, the CPU 44 multiplies the deviation by (FeedDeg / Pitch) to set the deviation to a value corresponding to the deviation between the target rotation angle at which the output shaft of the cloth feed motor 23 should be positioned and the cloth feed rotation angle “RELPOS”. Convert. The CPU 44 calculates the rotational speed “SP1” instructed to the cloth feed motor 23 based on the conversion value calculated in S116 (S16). Specifically, the CPU 44 calculates the rotational speed “SP1” by multiplying the deviation by the coefficient N. The CPU 44 drives the cloth feed motor 23 at the calculated rotation speed “SP1” (S17). The CPU 44 returns the process to S11. The second speed control process ends when the power of the sewing machine 1 is turned off.

以上のように、第二実施形態のミシン1は、布送りモータ23の布送り回転角「RELPOS」からメインモータ13の出力軸が位置すべき目標回転角「POS2」を設定する。ミシン1は、設定した目標回転角「POS2」と実際のメインモータ13の主回転角「DDPOS」の偏差を算出する。ミシン1は算出した偏差に基づいて布送りモータ23の回転速度を算出する。メインモータ13及び主軸14の回転速度が変化した場合でも、布送りモータ23はメインモータ13との同期を保って回転する。故に、ミシン1は縫製の速度が変化しても主軸14の駆動と布送り機構32の駆動の同期を保持できる。特に、第二実施形態のミシン1は、メインモータ13が停止した場合又は作業者が手動で主軸14を回転した場合でも適切に布送りモータ23とメインモータ13の同期を保つことができる。   As described above, the sewing machine 1 according to the second embodiment sets the target rotation angle “POS2” at which the output shaft of the main motor 13 should be positioned from the cloth feed rotation angle “RELPOS” of the cloth feed motor 23. The sewing machine 1 calculates a deviation between the set target rotation angle “POS2” and the actual main rotation angle “DDPOS” of the main motor 13. The sewing machine 1 calculates the rotation speed of the cloth feed motor 23 based on the calculated deviation. Even when the rotation speeds of the main motor 13 and the main shaft 14 change, the cloth feed motor 23 rotates in synchronization with the main motor 13. Therefore, the sewing machine 1 can maintain the synchronization of the driving of the main shaft 14 and the driving of the cloth feeding mechanism 32 even if the sewing speed changes. In particular, the sewing machine 1 of the second embodiment can appropriately keep the cloth feed motor 23 and the main motor 13 synchronized even when the main motor 13 is stopped or when the operator manually rotates the main shaft 14.

第二実施形態において、図8のS114で目標回転角を設定するCPU44は本発明の主目標角設定部として機能する。図8のS115で偏差を算出するCPU44は主偏差算出部として機能する。図8のS116、S16で回転速度を算出するCPU44は「第一回転速度算出部」として機能する。図8のS114で目標回転角を設定する処理は主目標角設定ステップに相当する。図8のS115で偏差を算出する処理は主偏差算出ステップに相当する。図8のS116、S16で回転速度を算出する処理は「第一回転速度算出ステップ」に相当する。   In the second embodiment, the CPU 44 that sets the target rotation angle in S114 of FIG. 8 functions as the main target angle setting unit of the present invention. The CPU 44 that calculates the deviation in S115 of FIG. 8 functions as a main deviation calculation unit. The CPU 44 that calculates the rotation speed in S116 and S16 of FIG. 8 functions as a “first rotation speed calculation unit”. The process of setting the target rotation angle in S114 of FIG. 8 corresponds to a main target angle setting step. The process of calculating the deviation in S115 in FIG. 8 corresponds to a main deviation calculating step. The process of calculating the rotation speed in S116 and S16 of FIG. 8 corresponds to a “first rotation speed calculation step”.

図9を参照し、本発明の第三実施形態について説明する。第三実施形態のミシン1は、メインモータ13の出力軸が終端角「FeedEnd」に達するまでの所要時間を算出する。終端角「FeedEnd」は、布送り機構32が布送りの終端位置に達する時点でメインモータ13の出力軸が位置すべき主回転角である。ミシン1は、布送り機構32が終端位置に達するまでの布送りモータ23の残り回転角を算出する。ミシン1は、算出した所要時間で布送りモータ23が残り回転角を回転する為の回転速度を算出する。第三実施形態のミシン1は、第一速度制御処理及び第二速度制御処理の代わりに第三速度制御処理を実行する点が、第一、第二実施形態と異なるのみである。故に、第三実施形態の説明では、第一、第二実施形態のミシン1と同一の構成及び処理には同一の番号を付し、説明を省略又は簡略化する。   A third embodiment of the present invention will be described with reference to FIG. The sewing machine 1 of the third embodiment calculates the time required for the output shaft of the main motor 13 to reach the terminal angle “FeedEnd”. The end angle “FeedEnd” is a main rotation angle at which the output shaft of the main motor 13 should be positioned when the cloth feed mechanism 32 reaches the cloth feed end position. The sewing machine 1 calculates the remaining rotation angle of the cloth feed motor 23 until the cloth feed mechanism 32 reaches the end position. The sewing machine 1 calculates the rotation speed for the cloth feed motor 23 to rotate the remaining rotation angle in the calculated required time. The sewing machine 1 of the third embodiment is different from the first and second embodiments only in that the third speed control process is executed instead of the first speed control process and the second speed control process. Therefore, in description of 3rd embodiment, the same number is attached | subjected to the structure and process same as the sewing machine 1 of 1st, 2nd embodiment, and description is abbreviate | omitted or simplified.

ミシン1の電源がオンとなると、CPU44は第三速度制御処理を開始する。CPU44は、メインモータ13の主回転角「DDPOS」をメインエンコーダ55から取得する(S41)。CPU44は、S41で取得した主回転角「DDPOS」が開始角「FeedStart」と終端角「FeedEnd」の間にあるか否かを判断する(S42)。主回転角「DDPOS」が開始角「FeedStart」と終端角「FeedEnd」の間にない場合(S42:NO)、CPU44は処理をS41に戻す。主回転角「DDPOS」が開始角「FeedStart」と終端角「FeedEnd」の間にある場合(S42:YES)、CPU44は、布送り機構32が終端位置に達する時点の主回転角である終端角「FeedEnd」をEEPROM47から取得する(S43)。CPU44は、終端角「FeedEnd」から現在の主回転角「DDPOS」を減算することで、メインモータ13の出力軸が終端角に達するまでの残り回転角「RemM」を算出する(S44)。   When the power of the sewing machine 1 is turned on, the CPU 44 starts the third speed control process. The CPU 44 acquires the main rotation angle “DDPOS” of the main motor 13 from the main encoder 55 (S41). The CPU 44 determines whether or not the main rotation angle “DDPOS” acquired in S41 is between the start angle “FeedStart” and the end angle “FeedEnd” (S42). When the main rotation angle “DDPOS” is not between the start angle “FeedStart” and the end angle “FeedEnd” (S42: NO), the CPU 44 returns the process to S41. When the main rotation angle “DDPOS” is between the start angle “FeedStart” and the end angle “FeedEnd” (S42: YES), the CPU 44 determines the end angle that is the main rotation angle when the cloth feed mechanism 32 reaches the end position. “FeedEnd” is acquired from the EEPROM 47 (S43). The CPU 44 subtracts the current main rotation angle “DDPOS” from the end angle “FeedEnd” to calculate the remaining rotation angle “RemM” until the output shaft of the main motor 13 reaches the end angle (S44).

CPU44は、メインモータ13の回転速度「DDSpeed(単位:rpm)」を取得する(S45)。回転速度は、第三速度制御処理と並行して実行する回転速度検出処理(図示略)で、メインエンコーダ55から取得した主回転角の変化量(単位:回転数)をサンプリング時間(単位:分)で割ることで算出している。CPU44は、メインモータ13の出力軸が終端角「FeedEnd」に達するまでの所要時間T(単位:分)を以下の式で算出する(S46)。
T=RemM/(360・DDSpeed)
The CPU 44 obtains the rotational speed “DDSspeed (unit: rpm)” of the main motor 13 (S45). The rotation speed is a rotation speed detection process (not shown) executed in parallel with the third speed control process, and the change amount (unit: rotation speed) of the main rotation angle acquired from the main encoder 55 is sampled (unit: minute). ). The CPU 44 calculates a required time T (unit: minutes) until the output shaft of the main motor 13 reaches the terminal angle “FeedEnd” by the following formula (S46).
T = RemM / (360 · DDSspeed)

CPU44は、布送りモータ23の布送り回転角「RELPOS」を布送りエンコーダ56から取得する(S47)。CPU44は、布送りの終端位置「ENPos」から現在の布送り回転角「RELPOS」を減算することで、布送りモータ23の出力軸が終端位置に達するまでの残り回転角「RemF」を算出する(S48)。CPU44は、布送りモータ23が残り回転角「RemF」を所要時間Tで回転する為に必要な回転速度「SP2」を以下の式で算出する(S49)。
SP2=RemF/(360・T)
CPU44は、算出した回転速度「SP2」で布送りモータ23を駆動する(S50)。CPU44は処理をS41へ戻す。第三速度制御処理はミシン1の電源がオフとなると終了する。
The CPU 44 acquires the cloth feed rotation angle “RELPOS” of the cloth feed motor 23 from the cloth feed encoder 56 (S47). The CPU 44 subtracts the current cloth feed rotation angle “RELPOS” from the cloth feed end position “ENPos” to calculate the remaining rotation angle “RemF” until the output shaft of the cloth feed motor 23 reaches the end position. (S48). The CPU 44 calculates the rotational speed “SP2” necessary for the cloth feed motor 23 to rotate the remaining rotational angle “RemF” for the required time T by the following formula (S49).
SP2 = RemF / (360 · T)
The CPU 44 drives the cloth feed motor 23 at the calculated rotation speed “SP2” (S50). The CPU 44 returns the process to S41. The third speed control process ends when the power of the sewing machine 1 is turned off.

以上のように、第三実施形態のミシン1は、メインモータ13の出力軸が終端角に達するまでの所要時間Tを算出する。ミシン1は、布送り機構32が終端位置に達するまでの布送りモータ23の残り回転角「RemF」を算出する。ミシン1は、所要時間Tで布送りモータ23が残り回転角「RemF」を回転する為の回転速度「SP2」を算出する。回転速度「SP2」で布送りモータ23を駆動することで布送りモータ23はメインモータ13に同期する。布送り機構32が終端位置に達する時点は、メインモータ13の出力軸が終端角に達する時点に一致する。故に、ミシン1は縫製の速度が変化しても主軸14の駆動と布送り機構32の駆動の同期を保持できる。第三実施形態のミシン1は、2つのモータ13、23の出力軸の位置と目標位置の偏差を用いない。第三実施形態のミシン1はメインモータ13の回転速度が増大している場合に偏差を用いずに2つのモータ13、23を適切に制御することができる。   As described above, the sewing machine 1 of the third embodiment calculates the required time T until the output shaft of the main motor 13 reaches the terminal angle. The sewing machine 1 calculates the remaining rotation angle “RemF” of the cloth feed motor 23 until the cloth feed mechanism 32 reaches the end position. The sewing machine 1 calculates the rotation speed “SP2” for the cloth feed motor 23 to rotate the remaining rotation angle “RemF” in the required time T. The cloth feed motor 23 is synchronized with the main motor 13 by driving the cloth feed motor 23 at the rotation speed “SP2”. The time when the cloth feed mechanism 32 reaches the end position coincides with the time when the output shaft of the main motor 13 reaches the end angle. Therefore, the sewing machine 1 can maintain the synchronization of the driving of the main shaft 14 and the driving of the cloth feeding mechanism 32 even if the sewing speed changes. The sewing machine 1 of the third embodiment does not use the deviation between the positions of the output shafts of the two motors 13 and 23 and the target position. The sewing machine 1 of the third embodiment can appropriately control the two motors 13 and 23 without using a deviation when the rotational speed of the main motor 13 is increasing.

第三実施形態において、図9のS41で主回転角を取得するCPU44は本発明の主回転角取得部として機能する。図9のS43で終端角を取得するCPU44は終端角取得部として機能する。図9のS44でメインモータ13の残り回転角を算出するCPU44は主回転角残量算出部として機能する。図9のS45でメインモータ13の回転速度(主回転速度)を取得するCPU44は速度取得部として機能する。図9のS46で所要時間Tを算出するCPU44は時間算出部として機能する。図9のS47で布送り回転角を取得するCPU44は布送り回転角取得部として機能する。図9のS48で布送りモータ23の残り回転角を算出するCPU44は布送り回転角残量算出部として機能する。図9のS49で布送りモータ23に指示する回転速度を算出するCPU44は第二回転速度算出部として機能する。   In the third embodiment, the CPU 44 that acquires the main rotation angle in S41 of FIG. 9 functions as the main rotation angle acquisition unit of the present invention. The CPU 44 that acquires the terminal angle in S43 of FIG. 9 functions as a terminal angle acquisition unit. The CPU 44 that calculates the remaining rotation angle of the main motor 13 in S44 of FIG. 9 functions as a main rotation angle remaining amount calculation unit. The CPU 44 that acquires the rotation speed (main rotation speed) of the main motor 13 in S45 of FIG. 9 functions as a speed acquisition unit. The CPU 44 that calculates the required time T in S46 of FIG. 9 functions as a time calculation unit. The CPU 44 that acquires the cloth feed rotation angle in S47 of FIG. 9 functions as a cloth feed rotation angle acquisition unit. The CPU 44 that calculates the remaining rotation angle of the cloth feed motor 23 in S48 of FIG. 9 functions as a cloth feed rotation angle remaining amount calculation unit. The CPU 44 that calculates the rotation speed instructed to the cloth feed motor 23 in S49 of FIG. 9 functions as a second rotation speed calculation unit.

図9のS41で主回転角を取得する処理は主回転角取得ステップに相当する。図9のS43で終端角を取得する処理は終端角取得ステップに相当する。図9のS44でメインモータ13の残り回転角を算出する処理は主回転角残量算出ステップに相当する。図9のS45でメインモータ13の回転速度を取得する処理は速度取得ステップに相当する。図9のS46で所要時間Tを算出する処理は時間算出ステップに相当する。図9のS47で布送り回転角を取得する処理は布送り回転角取得ステップに相当する。図9のS48で布送りモータ23の残り回転角を算出する処理は布送り回転角残量算出ステップに相当する。図9のS49で布送りモータ23に指示する回転速度を算出する処理は第二回転速度算出ステップに相当する。   The process of acquiring the main rotation angle in S41 of FIG. 9 corresponds to a main rotation angle acquisition step. The process of acquiring the terminal angle in S43 of FIG. 9 corresponds to the terminal angle acquisition step. The process of calculating the remaining rotation angle of the main motor 13 in S44 of FIG. 9 corresponds to a main rotation angle remaining amount calculating step. The process of acquiring the rotation speed of the main motor 13 in S45 of FIG. 9 corresponds to a speed acquisition step. The process of calculating the required time T in S46 of FIG. 9 corresponds to a time calculation step. The process of acquiring the cloth feed rotation angle in S47 of FIG. 9 corresponds to the cloth feed rotation angle acquisition step. The process of calculating the remaining rotation angle of the cloth feed motor 23 in S48 of FIG. 9 corresponds to the cloth feed rotation angle remaining amount calculating step. The process of calculating the rotation speed instructed to the cloth feed motor 23 in S49 of FIG. 9 corresponds to a second rotation speed calculation step.

図10を参照し、本発明の第四実施形態について説明する。第四実施形態のミシン1は、目標回転角と実際の回転角の偏差に応じて回転速度「SP1」を算出する。ミシン1は、メインモータ13の回転速度に基づいて回転速度「SP2」を算出する。ミシン1はメインモータ13の回転速度に応じて布送りモータ23の制御方法を変える。第四実施形態のミシン1は、第一〜第三速度制御処理の代わりに第四速度制御処理を実行する点が、第一〜第三実施形態と異なるのみである。故に、第四実施形態の説明では、第一〜第四実施形態のミシン1と同一の構成及び処理には同一の番号を付し、説明を省略又は簡略化する。   A fourth embodiment of the present invention will be described with reference to FIG. The sewing machine 1 of the fourth embodiment calculates the rotational speed “SP1” according to the deviation between the target rotational angle and the actual rotational angle. The sewing machine 1 calculates the rotational speed “SP2” based on the rotational speed of the main motor 13. The sewing machine 1 changes the control method of the cloth feed motor 23 according to the rotation speed of the main motor 13. The sewing machine 1 of the fourth embodiment is different from the first to third embodiments only in that the fourth speed control process is executed instead of the first to third speed control processes. Therefore, in description of 4th embodiment, the same number is attached | subjected to the structure and process same as the sewing machine 1 of 1st-4th embodiment, and description is abbreviate | omitted or simplified.

ミシン1の電源がオンとなると、CPU44は第四速度制御処理を開始する。CPU44はメインモータ13の主回転角「DDPOS」をメインエンコーダ55から取得する(S61)。CPU44は、S61で取得した主回転角「DDPOS」が開始角「FeedStart」と終端角「FeedEnd」の間にあるか否かを判断する(S62)。主回転角「DDPOS」が開始角「FeedStart」と終端角「FeedEnd」の間にない場合(S62:NO)、CPU44は処理をS61に戻す。主回転角「DDPOS」が開始角「FeedStart」と終端角「FeedEnd」の間にある場合(S62:YES)、CPU44は布送りモータ23の布送り回転角「RELPOS」を布送りエンコーダ56から取得する(S63)。CPU44は、S61で取得した「DDPOS」に対応する布送りモータ23の出力軸が位置すべき目標回転角「POS1」を設定する(S64)。目標回転角「POS1」の設定方法は前述したS14(図6参照)と同様である。CPU44は、設定した目標回転角「POS1」と、S63で取得した布送り回転角「RELPOS」の偏差を算出する(S65)。CPU44は、算出した偏差に係数Nを乗じることで、布送りモータ23に指示する回転速度「SP1」を算出する(S66)。   When the power of the sewing machine 1 is turned on, the CPU 44 starts the fourth speed control process. The CPU 44 acquires the main rotation angle “DDPOS” of the main motor 13 from the main encoder 55 (S61). The CPU 44 determines whether or not the main rotation angle “DDPOS” acquired in S61 is between the start angle “FeedStart” and the end angle “FeedEnd” (S62). When the main rotation angle “DDPOS” is not between the start angle “FeedStart” and the end angle “FeedEnd” (S62: NO), the CPU 44 returns the process to S61. When the main rotation angle “DDPOS” is between the start angle “FeedStart” and the end angle “FeedEnd” (S62: YES), the CPU 44 obtains the cloth feed rotation angle “RELPOS” of the cloth feed motor 23 from the cloth feed encoder 56. (S63). The CPU 44 sets a target rotation angle “POS1” where the output shaft of the cloth feed motor 23 corresponding to “DDPOS” acquired in S61 should be positioned (S64). The method of setting the target rotation angle “POS1” is the same as S14 (see FIG. 6) described above. The CPU 44 calculates a deviation between the set target rotation angle “POS1” and the cloth feed rotation angle “RELPOS” acquired in S63 (S65). The CPU 44 calculates the rotational speed “SP1” instructed to the cloth feed motor 23 by multiplying the calculated deviation by the coefficient N (S66).

CPU44はメインモータ13の回転速度「DDSpeed」を取得する(S67)。CPU44は回転速度「DDSpeed」が閾値である300(rpm)以下であるか否かを判断する(S68)。閾値の値は300に限られない。閾値の値は、作業者が操作部10を操作することで変更できてもよい。回転速度「DDSpeed」が300以下であれば(S68:YES)、CPU44は回転速度「SP1」で布送りモータ23を駆動する(S69)。CPU44は処理をS61へ戻す。   The CPU 44 acquires the rotational speed “DDSspeed” of the main motor 13 (S67). The CPU 44 determines whether or not the rotational speed “DDSspeed” is equal to or less than a threshold value of 300 (rpm) (S68). The threshold value is not limited to 300. The threshold value may be changed by the operator operating the operation unit 10. If the rotational speed “DDSspeed” is 300 or less (S68: YES), the CPU 44 drives the cloth feed motor 23 at the rotational speed “SP1” (S69). The CPU 44 returns the process to S61.

回転速度「DDSpeed」が300より大きければ(S68:NO)、CPU44は終端角「FeedEnd」をEEPROM47から取得する(S71)。CPU44は、終端角「FeedEnd」から現在の主回転角「DDPOS」を減算することで、メインモータ13の出力軸が終端角に達するまでの残り回転角「RemM」を算出する(S72)。CPU44は、メインモータ13の出力軸が終端角「FeedEnd」に達するまでの所要時間Tを算出する(S73)。S73の算出方法は前出したS46(図9参照)と同様である。CPU44は、布送りの終端位置「ENPos」から現在の布送り回転角「RELPOS」を減算することで、布送りモータ23の出力軸が終端位置に達するまでの残り回転角「RemF」を算出する(S74)。CPU44は、残り回転角「RemF」を所要時間Tで割ることで回転速度「SP2」を算出する(S75)。   If the rotation speed “DDSspeed” is greater than 300 (S68: NO), the CPU 44 acquires the terminal angle “FeedEnd” from the EEPROM 47 (S71). The CPU 44 subtracts the current main rotation angle “DDPOS” from the end angle “FeedEnd” to calculate the remaining rotation angle “RemM” until the output shaft of the main motor 13 reaches the end angle (S72). The CPU 44 calculates a required time T until the output shaft of the main motor 13 reaches the terminal angle “FeedEnd” (S73). The calculation method of S73 is the same as S46 (see FIG. 9) described above. The CPU 44 subtracts the current cloth feed rotation angle “RELPOS” from the cloth feed end position “ENPos” to calculate the remaining rotation angle “RemF” until the output shaft of the cloth feed motor 23 reaches the end position. (S74). The CPU 44 calculates the rotation speed “SP2” by dividing the remaining rotation angle “RemF” by the required time T (S75).

CPU44は、回転速度「DDSpeed」が閾値である3000(rpm)より小さいか否かを判断する(S76)。該閾値の値は3000に限られないが、S68の判断で用いる閾値よりも大きい必要がある。回転速度「DDSpeed」が300より大きく、且つ3000より小さければ(S76:YES)、CPU44は、回転速度「SP1」と「SP2」から特定の比率により布送りモータ23の回転速度「SP3」を算出する(S77、S78)。具体的には、CPU44は、SP3に占めるSP1の割合「rt」を以下の式で算出する(S77)。
rt=(3000−DDSpeed)/2700
CPU44は、布送りモータ23に指示する回転速度「SP3」を以下の式で算出する(S78)。
SP3=rt・SP1+(1−rt)・SP2
回転速度「SP3」は、回転速度「DDSpeed」が3000に近づく程、SP3に占めるSP1の割合が小さくなり、SP2の割合が大きくなる。CPU44は算出した回転速度「SP3」で布送りモータ23を駆動し(S79)、処理をS61へ戻す。
The CPU 44 determines whether or not the rotational speed “DDSspeed” is smaller than a threshold value of 3000 (rpm) (S76). The threshold value is not limited to 3000, but needs to be larger than the threshold value used in the determination of S68. If the rotational speed “DDSspeed” is larger than 300 and smaller than 3000 (S76: YES), the CPU 44 calculates the rotational speed “SP3” of the cloth feed motor 23 at a specific ratio from the rotational speeds “SP1” and “SP2”. (S77, S78). Specifically, the CPU 44 calculates the ratio “rt” of SP1 occupying SP3 by the following formula (S77).
rt = (3000−DDSspeed) / 2700
The CPU 44 calculates the rotational speed “SP3” instructed to the cloth feed motor 23 by the following formula (S78).
SP3 = rt.SP1 + (1-rt) .SP2
As for the rotational speed “SP3”, as the rotational speed “DDSspeed” approaches 3000, the proportion of SP1 in SP3 decreases and the proportion of SP2 increases. The CPU 44 drives the cloth feed motor 23 at the calculated rotation speed “SP3” (S79), and returns the process to S61.

回転速度「DDSpeed」が3000以上であれば(S76:NO)、CPU44は回転速度「SP2」で布送りモータ23を駆動し(S81)、処理をS61へ戻す。   If the rotational speed “DDSspeed” is 3000 or more (S76: NO), the CPU 44 drives the cloth feed motor 23 at the rotational speed “SP2” (S81), and returns the process to S61.

以上のように、第四実施形態のミシン1は、目標回転角と実際の回転角の偏差に応じて回転速度「SP1」を算出する。ミシン1は、メインモータ13の回転速度に基づいて回転速度「SP2」を算出する。回転速度「SP1」によれば、ミシン1はメインモータ13が停止した場合又は作業者が手動で主軸14を回転した場合でも適切に布送りモータ23とメインモータ13の同期を保つことができる。回転速度「SP2」を考慮すれば、ミシン1は主軸14の回転速度が増大している場合でも、適切な回転速度を布送りモータ23に指示して2つのモータ13、23の同期を保つことができる。ミシン1はメインモータ13の回転速度「DDSpeed」に応じて布送りモータ23の制御方法を変えることで、より適切に布送り機構を駆動することができる。詳細には、ミシン1は、低速時に適した回転速度「SP1」と高速時に適した回転速度「SP2」の比率を回転速度「DDSpeed」に応じて変えて、布送りモータ23の回転速度「SP3」を算出することができる。ミシン1は、回転速度「DDSpeed」が中間の速度(本実施形態では300〜3000)である場合、回転速度「SP1」と回転速度「SP2」を適切に考慮して回転速度「SP3」を算出できる。故に、ミシン1は回転速度「DDSpeed」に更に適した回転速度で布送りモータ23を駆動することができる。   As described above, the sewing machine 1 according to the fourth embodiment calculates the rotation speed “SP1” according to the deviation between the target rotation angle and the actual rotation angle. The sewing machine 1 calculates the rotational speed “SP2” based on the rotational speed of the main motor 13. According to the rotational speed “SP1”, the sewing machine 1 can appropriately keep the cloth feed motor 23 and the main motor 13 synchronized even when the main motor 13 is stopped or when the operator manually rotates the main shaft 14. Considering the rotational speed “SP2”, the sewing machine 1 keeps the two motors 13 and 23 synchronized by instructing the cloth feeding motor 23 to an appropriate rotational speed even when the rotational speed of the main shaft 14 is increased. Can do. The sewing machine 1 can drive the cloth feed mechanism more appropriately by changing the control method of the cloth feed motor 23 in accordance with the rotational speed “DDSspeed” of the main motor 13. More specifically, the sewing machine 1 changes the ratio of the rotational speed “SP1” suitable for the low speed and the rotational speed “SP2” suitable for the high speed in accordance with the rotational speed “DDSspeed”, thereby changing the rotational speed “SP3” of the cloth feed motor 23. Can be calculated. When the rotational speed “DDSspeed” is an intermediate speed (300 to 3000 in this embodiment), the sewing machine 1 appropriately calculates the rotational speed “SP1” and the rotational speed “SP2” and calculates the rotational speed “SP3”. it can. Therefore, the sewing machine 1 can drive the cloth feed motor 23 at a rotation speed more suitable for the rotation speed “DDSspeed”.

第四実施形態において、図10のS61で主回転角を取得するCPU44は本発明の主回転角取得部として機能する。図10のS63で布送り回転角を取得するCPU44は布送り回転角取得部として機能する。図10のS64で目標回転角を設定するCPU44は布送り目標角設定部として機能する。図10のS65で偏差を算出するCPU44は布送り偏差算出部として機能する。図10のS66で布送りモータ23の回転速度を算出するCPU44は第一回転速度算出部として機能する。図10のS71で終端角を取得するCPU44は終端角取得部として機能する。図10のS72でメインモータ13の残り回転角を算出するCPU44は主回転角残量算出部として機能する。図10のS67でメインモータ13の回転速度(主回転速度)を取得するCPU44は速度取得部として機能する。図10のS73で所要時間Tを算出するCPU44は時間算出部として機能する。図10のS74で布送りモータ23の残り回転角を算出するCPU44は布送り回転角残量算出部として機能する。図10のS75で布送りモータ23に指示する回転速度を算出するCPU44は第二回転速度算出部として機能する。図10のS68で主回転速度が閾値以下であるか否かを判断するCPU44は判断部として機能する。図10のS69で布送りモータ23を駆動するCPU44は低速時駆動部として機能する。図10のS79、S81で布送りモータ23を駆動するCPU44は高速時駆動部として機能する。図10のS76〜S78で回転速度を算出するCPU44は第三回転速度算出部として機能する。   In the fourth embodiment, the CPU 44 that acquires the main rotation angle in S61 of FIG. 10 functions as the main rotation angle acquisition unit of the present invention. The CPU 44 that acquires the cloth feed rotation angle in S63 of FIG. 10 functions as a cloth feed rotation angle acquisition unit. The CPU 44 that sets the target rotation angle in S64 of FIG. 10 functions as a cloth feed target angle setting unit. The CPU 44 that calculates the deviation in S65 of FIG. 10 functions as a cloth feed deviation calculation unit. The CPU 44 that calculates the rotation speed of the cloth feed motor 23 in S66 of FIG. 10 functions as a first rotation speed calculation unit. The CPU 44 that acquires the terminal angle in S71 of FIG. 10 functions as a terminal angle acquisition unit. The CPU 44 that calculates the remaining rotation angle of the main motor 13 in S72 of FIG. 10 functions as a main rotation angle remaining amount calculation unit. The CPU 44 that acquires the rotation speed (main rotation speed) of the main motor 13 in S67 of FIG. 10 functions as a speed acquisition unit. The CPU 44 that calculates the required time T in S73 of FIG. 10 functions as a time calculation unit. The CPU 44 that calculates the remaining rotation angle of the cloth feed motor 23 in S74 of FIG. 10 functions as a cloth feed rotation angle remaining amount calculation unit. The CPU 44 that calculates the rotation speed instructed to the cloth feed motor 23 in S75 of FIG. 10 functions as a second rotation speed calculation unit. The CPU 44 that determines whether or not the main rotation speed is equal to or less than the threshold value in S68 of FIG. 10 functions as a determination unit. The CPU 44 that drives the cloth feed motor 23 in S69 of FIG. 10 functions as a low-speed drive unit. The CPU 44 that drives the cloth feed motor 23 in S79 and S81 of FIG. 10 functions as a high-speed drive unit. The CPU 44 that calculates the rotation speed in S76 to S78 of FIG. 10 functions as a third rotation speed calculation unit.

図11を参照し、本発明の第五実施形態について説明する。第五実施形態のミシン1は、メインモータ13の出力軸の目標回転角を、布送りモータ23の出力軸の回転角から設定する。該ミシン1は、設定したメインモータ13の出力軸の目標回転角と実際の回転角の偏差を算出し、メインモータ13の回転速度を算出する。第五実施形態のミシン1は、メインモータ13の回転速度を算出する点が第二実施形態のミシン1と異なるのみである。故に、第五実施形態の説明では、第二実施形態のミシン1と同一の構成及び処理には同一の番号を付し、説明を省略又は簡略化する。   A fifth embodiment of the present invention will be described with reference to FIG. The sewing machine 1 of the fifth embodiment sets the target rotation angle of the output shaft of the main motor 13 from the rotation angle of the output shaft of the cloth feed motor 23. The sewing machine 1 calculates the deviation between the set target rotation angle of the output shaft of the main motor 13 and the actual rotation angle, and calculates the rotation speed of the main motor 13. The sewing machine 1 of the fifth embodiment is different from the sewing machine 1 of the second embodiment only in that the rotational speed of the main motor 13 is calculated. Therefore, in description of 5th embodiment, the same number is attached | subjected to the structure and process same as the sewing machine 1 of 2nd embodiment, and description is abbreviate | omitted or simplified.

ミシン1の電源がオンとなると、CPU44は第五速度制御処理を開始する。CPU44は、メインモータ13の主回転角「DDPOS」を取得する(S11)。CPU44は、S11で取得した主回転角「DDPOS」が開始角「FeedStart」と終端角「FeedEnd」の間にあるか否かを判断する(S12)。主回転角「DDPOS」が開始角「FeedStart」と終端角「FeedEnd」の間にない場合(S12:NO)、CPU44は処理をS11に戻す。主回転角「DDPOS」が開始角「FeedStart」と終端角「FeedEnd」の間にある場合(S12:YES)、CPU44は、布送りモータ23の布送り回転角「RELPOS」を取得する(S13)。   When the power of the sewing machine 1 is turned on, the CPU 44 starts the fifth speed control process. The CPU 44 acquires the main rotation angle “DDPOS” of the main motor 13 (S11). The CPU 44 determines whether or not the main rotation angle “DDPOS” acquired in S11 is between the start angle “FeedStart” and the end angle “FeedEnd” (S12). If the main rotation angle “DDPOS” is not between the start angle “FeedStart” and the end angle “FeedEnd” (S12: NO), the CPU 44 returns the process to S11. When the main rotation angle “DDPOS” is between the start angle “FeedStart” and the end angle “FeedEnd” (S12: YES), the CPU 44 acquires the cloth feed rotation angle “RELPOS” of the cloth feed motor 23 (S13). .

CPU44は、S13で取得した布送りモータ23の布送り回転角「RELPOS」に対応するメインモータ13の出力軸が位置すべき主回転角である目標回転角「POS2」を設定する(S114)。   The CPU 44 sets a target rotation angle “POS2” that is the main rotation angle at which the output shaft of the main motor 13 corresponding to the cloth feed rotation angle “RELPOS” of the cloth feed motor 23 acquired in S13 is to be located (S114).

CPU44は、設定した目標回転角「POS2」と、メインエンコーダ55から取得した主回転角「DDPOS」の偏差を算出する(S115)。CPU44は、算出した偏差に基づいて、メインモータ13に指示する回転速度「DDSP」を算出する(S216)。具体的には、CPU44は予め設定してある固定値の係数Mを偏差に乗じることで回転速度「DDSP」を算出する。CPU44は、算出した回転速度「DDSP」でメインモータ13を駆動する(S217)。CPU44は処理をS11へ戻す。   The CPU 44 calculates a deviation between the set target rotation angle “POS2” and the main rotation angle “DDPOS” acquired from the main encoder 55 (S115). Based on the calculated deviation, the CPU 44 calculates the rotational speed “DDSP” instructed to the main motor 13 (S216). Specifically, the CPU 44 calculates the rotation speed “DDSP” by multiplying the deviation by a fixed value coefficient M set in advance. The CPU 44 drives the main motor 13 at the calculated rotation speed “DDSP” (S217). The CPU 44 returns the process to S11.

以上のように、第五実施形態のミシン1は算出した偏差に基づいてメインモータ13の回転速度を算出する。メインモータ13は布送りモータ23との同期を保って回転する。故に、ミシン1は布送りの速度に主軸14の回転速度を追従することができる。第五実施形態において、図11のS216でメインモータ13の回転速度を算出するCPU44は本発明の主回転速度算出部として機能する。   As described above, the sewing machine 1 of the fifth embodiment calculates the rotational speed of the main motor 13 based on the calculated deviation. The main motor 13 rotates in synchronization with the cloth feed motor 23. Therefore, the sewing machine 1 can follow the rotational speed of the main shaft 14 to the cloth feeding speed. In the fifth embodiment, the CPU 44 that calculates the rotation speed of the main motor 13 in S216 of FIG. 11 functions as a main rotation speed calculation unit of the present invention.

上記実施形態は様々な変形が可能である。上記実施形態のミシン1はメインモータ13で布送り機構32を上下に移動する。故に、布送り機構32の上下動と縫針8の上下動は機械的に同期する。しかし、本発明は、布送り機構32を上下動するモータ(具体的には、図3の駆動軸41を回転するモータ)をメインモータ13とは別に備えたミシンにも適用できる。該ミシンは、布送り機構32を上下動するモータと、水平方向に移動する布送りモータ23の少なくとも一方を、本発明の駆動方法で駆動できる。   The above embodiment can be variously modified. The sewing machine 1 of the above embodiment moves the cloth feed mechanism 32 up and down by the main motor 13. Therefore, the vertical movement of the cloth feed mechanism 32 and the vertical movement of the sewing needle 8 are mechanically synchronized. However, the present invention can also be applied to a sewing machine provided with a motor that moves the cloth feed mechanism 32 up and down (specifically, a motor that rotates the drive shaft 41 in FIG. 3) separately from the main motor 13. The sewing machine can drive at least one of a motor that moves the cloth feed mechanism 32 up and down and a cloth feed motor 23 that moves in the horizontal direction by the driving method of the present invention.

回転速度SP1、SP2、SP3の具体的な算出方法は変更してもよい。例えば、上記第四実施形態のミシン1は、回転速度「DDSpeed」の値に比例してSP2の割合が増加するようにSP3を算出する(図10のS77、S78参照)。回転速度「DDSpeed」の値とSP2の割合は比例しなくてもよい。ミシン1は、回転速度「DDSpeed」の値とSP1、SP2の割合とを対応付けるテーブルをROM45等に記憶し、回転速度「DDSpeed」の値に対応する割合をテーブルから取得してSP3を算出してもよい。図6のS16、図8のS16、図10のS66で偏差からSP1を算出する方法は変更できる。ミシン1は偏差とSP1の値を対応付けるテーブルを用いてSP1を算出してもよい。図11のS216でメインモータ13の回転速度「DDSP」を算出する方法も同様に変更できる。   The specific calculation method of the rotation speeds SP1, SP2, and SP3 may be changed. For example, the sewing machine 1 of the fourth embodiment calculates SP3 so that the ratio of SP2 increases in proportion to the value of the rotational speed “DDSspeed” (see S77 and S78 in FIG. 10). The value of the rotational speed “DDSspeed” and the ratio of SP2 may not be proportional. The sewing machine 1 stores a table associating the value of the rotational speed “DDSspeed” with the ratios of SP1 and SP2 in the ROM 45 or the like, acquires the ratio corresponding to the value of the rotational speed “DDSspeed” from the table, and calculates SP3. Also good. The method of calculating SP1 from the deviation in S16 of FIG. 6, S16 of FIG. 8, and S66 of FIG. 10 can be changed. The sewing machine 1 may calculate SP1 using a table associating the deviation with the value of SP1. The method of calculating the rotational speed “DDSP” of the main motor 13 in S216 of FIG. 11 can be similarly changed.

上記実施形態のミシン1は、図7に示す動作確認処理で、布送りモータ23の目標回転角「POS1」と実際の布送り回転角「RELPOS」の偏差を用いて2つのモータ13、23の同期を判断する。ミシン1は、メインモータ13の目標回転角「POS2」と実際の主回転角「DDPOS」の偏差を用いて同期を判断してもよい。同様に、ミシン1は、図10の第四速度制御処理のS64〜S66で、目標回転角「POS2」と主回転角「DDPOS」の偏差を用いてSP1を算出してもよい。換言すると、図10のS64〜S66の代わりに図8のS114〜S116、S16の処理を行ってもよい。   The sewing machine 1 of the above embodiment uses the deviation between the target rotation angle “POS1” of the cloth feed motor 23 and the actual cloth feed rotation angle “RELPOS” in the operation check process shown in FIG. Determine synchronization. The sewing machine 1 may determine synchronization using a deviation between the target rotation angle “POS2” of the main motor 13 and the actual main rotation angle “DDPOS”. Similarly, the sewing machine 1 may calculate SP1 using the deviation between the target rotation angle “POS2” and the main rotation angle “DDPOS” in S64 to S66 of the fourth speed control process of FIG. In other words, the processes of S114 to S116 and S16 of FIG. 8 may be performed instead of S64 to S66 of FIG.

上記実施形態のミシン1は、図9に示す第三速度制御処理で、メインモータ13の出力軸が終端角「FeedEnd」に達するまでの所要時間Tを、終端角に達するまでの残り回転角「RemM」に基づいて算出した。ミシン1は、メインモータ13の回転速度「DDSpeed」が予め決まっている場合DDSpeedと所要時間Tとを対応付けたテーブルを用いてもよい。   In the sewing machine 1 of the above embodiment, in the third speed control process shown in FIG. 9, the time T required until the output shaft of the main motor 13 reaches the terminal angle “FeedEnd” is determined as the remaining rotation angle “ Calculation based on “RemM”. The sewing machine 1 may use a table in which the DDSspeed and the required time T are associated with each other when the rotational speed “DDSspeed” of the main motor 13 is determined in advance.

図10に示す第四速度制御処理の処理順は変更できる。例えば、ミシン1は第四速度制御処理の開始直後にメインモータ13の回転速度「DDSpeed」を取得し、SP1、SP2、SP3の何れを使用して布送りモータ23を駆動するかを判断してもよい。ミシン1は、使用すると判断した回転速度を以後の処理で算出し、布送りモータ23を駆動してもよい。   The processing order of the fourth speed control process shown in FIG. 10 can be changed. For example, the sewing machine 1 acquires the rotational speed “DDSspeed” of the main motor 13 immediately after the start of the fourth speed control process, and determines which of SP1, SP2, and SP3 is used to drive the cloth feed motor 23. Also good. The sewing machine 1 may calculate the rotational speed determined to be used in subsequent processing and drive the cloth feed motor 23.

1 ミシン
7 針棒
8 縫針
10 操作部
13 メインモータ
14 主軸
15 針板
22 ペダル
23 布送りモータ
32 布送り機構
34 送り歯
44 CPU
45 ROM
47 EEPROM
55 メインエンコーダ
56 布送りエンコーダ
DESCRIPTION OF SYMBOLS 1 Sewing machine 7 Needle bar 8 Sewing needle 10 Operation part 13 Main motor 14 Main shaft 15 Needle plate 22 Pedal 23 Cloth feed motor 32 Cloth feed mechanism 34 Feed dog 44 CPU
45 ROM
47 EEPROM
55 Main encoder 56 Cloth feed encoder

Claims (11)

縫針を上下動する主軸を駆動するメインモータと、布を送る布送り機構を駆動する布送りモータとを備えたミシンにおいて、
前記メインモータの出力軸の回転角である主回転角を検出する主回転角検出部と、
前記主回転角検出部が検出した前記主回転角の検出結果を取得する主回転角取得部と、
前記布送りモータの出力軸の回転角である布送り回転角を検出する布送り回転角検出部と、
前記布送り回転角検出部が検出した前記布送り回転角の検出結果を取得する布送り回転角取得部と、
主回転角に対応して前記布送りモータの出力軸が位置すべき目標回転角を、前記主回転角取得部が取得した前記主回転角から設定する布送り目標角設定部と、
前記布送り目標角設定部が設定した前記目標回転角と、前記布送り回転角取得部が取得した前記布送り回転角の偏差を算出する布送り偏差算出部と、
前記偏差に基づいて、前記布送りモータに指示する回転速度を算出する第一回転速度算出部と
を備えたミシン。
In a sewing machine including a main motor that drives a spindle that moves a sewing needle up and down, and a cloth feed motor that drives a cloth feed mechanism that feeds the cloth,
A main rotation angle detector that detects a main rotation angle that is the rotation angle of the output shaft of the main motor;
A main rotation angle acquisition unit for acquiring a detection result of the main rotation angle detected by the main rotation angle detection unit;
A cloth feed rotation angle detection unit for detecting a cloth feed rotation angle which is a rotation angle of the output shaft of the cloth feed motor;
A cloth feed rotation angle acquisition unit that acquires a detection result of the cloth feed rotation angle detected by the cloth feed rotation angle detection unit;
A cloth feed target angle setting unit that sets a target rotation angle at which the output shaft of the cloth feed motor should be positioned corresponding to the main rotation angle from the main rotation angle acquired by the main rotation angle acquisition unit;
A cloth feed deviation calculating section for calculating a deviation between the target rotation angle set by the cloth feed target angle setting section and the cloth feed rotation angle acquired by the cloth feed rotation angle acquiring section;
A sewing machine comprising: a first rotation speed calculation unit that calculates a rotation speed instructed to the cloth feed motor based on the deviation.
縫針を上下動する主軸を駆動するメインモータと、布を送る布送り機構を駆動する布送りモータとを備えたミシンにおいて、
前記メインモータの出力軸の回転角である主回転角を検出する主回転角検出部と、
前記主回転角検出部が検出した前記主回転角の検出結果を取得する主回転角取得部と、
前記布送りモータの出力軸の回転角である布送り回転角を検出する布送り回転角検出部と、
前記布送り回転角検出部が検出した前記布送り回転角の検出結果を取得する布送り回転角取得部と、
布送り回転角に対応して前記メインモータの出力軸が位置すべき目標回転角を、前記布送り回転角取得部が取得した前記布送り回転角から設定する主目標角設定部と、
前記主目標角設定部が設定した前記目標回転角と、前記主回転角取得部が取得した前記主回転角の偏差を算出する主偏差算出部と、
前記偏差に基づいて、前記布送りモータに指示する回転速度を算出する第一回転速度算出部と
を備えたミシン。
In a sewing machine including a main motor that drives a spindle that moves a sewing needle up and down, and a cloth feed motor that drives a cloth feed mechanism that feeds the cloth,
A main rotation angle detector that detects a main rotation angle that is the rotation angle of the output shaft of the main motor;
A main rotation angle acquisition unit for acquiring a detection result of the main rotation angle detected by the main rotation angle detection unit;
A cloth feed rotation angle detection unit for detecting a cloth feed rotation angle which is a rotation angle of the output shaft of the cloth feed motor;
A cloth feed rotation angle acquisition unit that acquires a detection result of the cloth feed rotation angle detected by the cloth feed rotation angle detection unit;
A main target angle setting unit for setting a target rotation angle at which the output shaft of the main motor should be positioned corresponding to a cloth feed rotation angle, from the cloth feed rotation angle acquired by the cloth feed rotation angle acquisition unit;
A main deviation calculation unit that calculates a deviation between the target rotation angle set by the main target angle setting unit and the main rotation angle acquired by the main rotation angle acquisition unit;
A sewing machine comprising: a first rotation speed calculation unit that calculates a rotation speed instructed to the cloth feed motor based on the deviation.
縫針を上下動する主軸を駆動するメインモータと、布を送る布送り機構を駆動する布送りモータとを備えたミシンにおいて、
前記メインモータの出力軸の回転角である主回転角を検出する主回転角検出部と、
前記主回転角検出部が検出した前記主回転角の検出結果を取得する主回転角取得部と、
前記布送り機構が布送りの終端位置に達する時点で前記メインモータの出力軸が位置すべき主回転角である終端角を取得する終端角取得部と、
前記終端角取得部が取得した前記終端角と前記主回転角取得部が取得した前記主回転角とに基づいて、前記メインモータの出力軸が前記終端角に達するまでの残り回転角を算出する主回転角残量算出部と、
前記メインモータの回転速度である主回転速度を取得する速度取得部と、
前記主回転角残量算出部が算出した前記残り回転角と、前記速度取得部が取得した前記主回転速度とに基づいて、前記メインモータの出力軸が前記終端角に達するまでの所要時間を算出する時間算出部と、
前記布送りモータの出力軸の回転角である布送り回転角を検出する布送り回転角検出部と、
前記布送り回転角検出部が検出した前記布送り回転角の検出結果を取得する布送り回転角取得部と、
前記布送り回転角取得部が取得した前記布送り回転角から、前記布送り機構が布送りの前記終端位置に達するまでの前記布送りモータの残り回転角を算出する布送り回転角残量算出部と、
前記布送り回転角残量算出部が算出した前記残り回転角を、前記時間算出部が算出した前記所要時間で前記布送りモータが回転する為に必要な回転速度を算出する第二回転速度算出部と
を備えたミシン。
In a sewing machine including a main motor that drives a spindle that moves a sewing needle up and down, and a cloth feed motor that drives a cloth feed mechanism that feeds the cloth,
A main rotation angle detector that detects a main rotation angle that is the rotation angle of the output shaft of the main motor;
A main rotation angle acquisition unit for acquiring a detection result of the main rotation angle detected by the main rotation angle detection unit;
A terminal angle obtaining unit that obtains a terminal angle that is a main rotation angle at which the output shaft of the main motor should be positioned when the cloth feed mechanism reaches a cloth feed terminal position;
Based on the terminal angle acquired by the terminal angle acquisition unit and the main rotation angle acquired by the main rotation angle acquisition unit, a remaining rotation angle until the output shaft of the main motor reaches the terminal angle is calculated. A main rotation angle remaining amount calculation unit;
A speed acquisition unit that acquires a main rotation speed that is a rotation speed of the main motor;
Based on the remaining rotation angle calculated by the main rotation angle remaining amount calculation unit and the main rotation speed acquired by the speed acquisition unit, the time required for the output shaft of the main motor to reach the terminal angle is calculated. A time calculation unit to calculate,
A cloth feed rotation angle detection unit for detecting a cloth feed rotation angle which is a rotation angle of the output shaft of the cloth feed motor;
A cloth feed rotation angle acquisition unit that acquires a detection result of the cloth feed rotation angle detected by the cloth feed rotation angle detection unit;
Calculating the remaining rotation angle of the cloth feed motor until the cloth feed mechanism reaches the cloth feed end position from the cloth feed rotation angle acquired by the cloth feed rotation angle acquisition unit. And
The second rotation speed calculation for calculating the remaining rotation angle calculated by the cloth feed rotation angle remaining amount calculation unit to calculate the rotation speed necessary for the cloth feed motor to rotate for the required time calculated by the time calculation unit. A sewing machine with
前記布送り機構が布送りの終端位置に達する時点で前記メインモータの出力軸が位置すべき主回転角である終端角を取得する終端角取得部と、
前記終端角取得部が取得した前記終端角と、前記主回転角取得部が取得した前記主回転角とに基づいて、前記メインモータの出力軸が前記終端角に達するまでの残り回転角を算出する主回転角残量算出部と、
前記メインモータの回転速度である主回転速度を取得する速度取得部と、
前記主回転角残量算出部が算出した前記残り回転角と前記速度取得部が取得した前記回転速度とに基づいて、前記メインモータの出力軸が前記終端角に達するまでの所要時間を算出する時間算出部と、
前記布送り回転角取得部が取得した前記布送り回転角から、前記布送り機構が布送りの前記終端位置に達するまでの前記布送りモータの残り回転角を算出する布送り回転角残量算出部と、
前記布送り回転角残量算出部が算出した前記残り回転角を、前記時間算出部が算出した前記所要時間で前記布送りモータが回転する為に必要な回転速度を算出する第二回転速度算出部と、
前記速度取得部が取得した前記主回転速度が閾値以下であるか否かを判断する判断部と、
前記主回転速度が前記閾値以下であると前記判断部が判断した場合に、前記第一回転速度算出部が算出した回転速度で前記布送りモータを駆動する低速時駆動部と、
前記主回転速度が前記閾値よりも大きいと前記判断部が判断した場合に、少なくとも前記第二回転速度算出部が算出した回転速度に基づいて前記布送りモータを駆動する高速時駆動部と
を更に備えた請求項1又は2に記載のミシン。
A terminal angle obtaining unit that obtains a terminal angle that is a main rotation angle at which the output shaft of the main motor should be positioned when the cloth feed mechanism reaches a cloth feed terminal position;
Based on the terminal angle acquired by the terminal angle acquisition unit and the main rotation angle acquired by the main rotation angle acquisition unit, a remaining rotation angle until the output shaft of the main motor reaches the terminal angle is calculated. A main rotation angle remaining amount calculating unit,
A speed acquisition unit that acquires a main rotation speed that is a rotation speed of the main motor;
Based on the remaining rotation angle calculated by the main rotation angle remaining amount calculation unit and the rotation speed acquired by the speed acquisition unit, a time required until the output shaft of the main motor reaches the terminal angle is calculated. A time calculator,
Calculating the remaining rotation angle of the cloth feed motor until the cloth feed mechanism reaches the cloth feed end position from the cloth feed rotation angle acquired by the cloth feed rotation angle acquisition unit. And
The second rotation speed calculation for calculating the remaining rotation angle calculated by the cloth feed rotation angle remaining amount calculation unit to calculate the rotation speed necessary for the cloth feed motor to rotate for the required time calculated by the time calculation unit. And
A determination unit that determines whether the main rotation speed acquired by the speed acquisition unit is equal to or less than a threshold;
When the determination unit determines that the main rotation speed is equal to or less than the threshold, a low-speed driving unit that drives the cloth feed motor at the rotation speed calculated by the first rotation speed calculation unit;
A high-speed driving unit that drives the cloth feed motor based on at least the rotation speed calculated by the second rotation speed calculation unit when the determination unit determines that the main rotation speed is greater than the threshold value. The sewing machine according to claim 1 or 2, comprising the sewing machine.
前記布送りモータを駆動する回転速度を、前記第一回転速度算出部が算出した回転速度と前記第二回転速度算出部が算出した回転速度とから、特定の比率により算出する第三回転速度算出部を更に備え、
前記第三回転速度算出部は、前記主回転速度に応じて前記特定の比率を変えて前記布送りモータを駆動する回転速度を算出し、
前記高速時駆動部は、前記主回転速度が前記閾値よりも大きいと前記判断部が判断した場合に、前記第三回転速度算出部が算出した回転速度で前記布送りモータを駆動する請求項4に記載のミシン。
Third rotation speed calculation for calculating a rotation speed for driving the cloth feed motor from a rotation speed calculated by the first rotation speed calculation section and a rotation speed calculated by the second rotation speed calculation section at a specific ratio. Further comprising
The third rotation speed calculation unit calculates a rotation speed for driving the cloth feed motor by changing the specific ratio according to the main rotation speed,
The high-speed driving unit drives the cloth feed motor at the rotation speed calculated by the third rotation speed calculation unit when the determination unit determines that the main rotation speed is greater than the threshold value. The sewing machine according to 1.
前記布送り機構における布送りの前記終端位置及び前記終端角を設定可能な設定部を備える請求項3乃至5の何れかに記載のミシン。   The sewing machine according to any one of claims 3 to 5, further comprising a setting unit capable of setting the end position and the end angle of the cloth feed in the cloth feed mechanism. 縫針を上下動する主軸を駆動するメインモータと、布を送る布送り機構を駆動する布送りモータとを備えたミシンにおいて、
前記メインモータの出力軸の回転角である主回転角を検出する主回転角検出部と、
前記主回転角検出部が検出した前記主回転角の検出結果を取得する主回転角取得部と、
前記布送りモータの出力軸の回転角である布送り回転角を検出する布送り回転角検出部と、
前記布送り回転角検出部が検出した前記布送り回転角の検出結果を取得する布送り回転角取得部と、
布送り回転角に対応して前記メインモータの出力軸が位置すべき目標回転角を、前記布送り回転角取得部が取得した前記布送り回転角から設定する主目標角設定部と、
前記主目標角設定部が設定した前記目標回転角と、前記主回転角取得部が取得した前記主回転角の偏差を算出する主偏差算出部と、
前記偏差に基づいて、前記メインモータに指示する回転速度を算出する主回転速度算出部と
を備えたミシン。
In a sewing machine including a main motor that drives a spindle that moves a sewing needle up and down, and a cloth feed motor that drives a cloth feed mechanism that feeds the cloth,
A main rotation angle detector that detects a main rotation angle that is the rotation angle of the output shaft of the main motor;
A main rotation angle acquisition unit for acquiring a detection result of the main rotation angle detected by the main rotation angle detection unit;
A cloth feed rotation angle detection unit for detecting a cloth feed rotation angle which is a rotation angle of the output shaft of the cloth feed motor;
A cloth feed rotation angle acquisition unit that acquires a detection result of the cloth feed rotation angle detected by the cloth feed rotation angle detection unit;
A main target angle setting unit for setting a target rotation angle at which the output shaft of the main motor should be positioned corresponding to a cloth feed rotation angle, from the cloth feed rotation angle acquired by the cloth feed rotation angle acquisition unit;
A main deviation calculation unit that calculates a deviation between the target rotation angle set by the main target angle setting unit and the main rotation angle acquired by the main rotation angle acquisition unit;
A sewing machine comprising: a main rotation speed calculation unit that calculates a rotation speed instructed to the main motor based on the deviation.
縫針を上下動する主軸を駆動するメインモータと、前記メインモータの出力軸の回転角である主回転角を検出する主回転角検出部と、布を送る布送り機構を駆動する布送りモータと、前記布送りモータの出力軸の回転角である布送り回転角を検出する布送り回転角検出部とを備えたミシンが実行するミシンの制御方法において、
前記主回転角検出部が検出した前記主回転角の検出結果を取得する主回転角取得ステップと、
前記布送り回転角検出部が検出した前記布送り回転角の検出結果を取得する布送り回転角取得ステップと、
主回転角に対応して前記布送りモータの出力軸が位置すべき目標回転角を、前記主回転角取得ステップで取得した前記主回転角から設定する布送り目標角設定ステップと、
前記布送り目標角設定ステップで設定した前記目標回転角と、前記布送り回転角取得ステップで取得した前記布送り回転角の偏差を算出する布送り偏差算出ステップと、
前記偏差に基づいて、前記布送りモータに指示する回転速度を算出する第一回転速度算出ステップと
を含むミシンの制御方法。
A main motor that drives a main shaft that moves the sewing needle up and down, a main rotation angle detector that detects a main rotation angle that is a rotation angle of the output shaft of the main motor, and a cloth feed motor that drives a cloth feed mechanism that feeds the cloth In a sewing machine control method executed by a sewing machine including a cloth feed rotation angle detection unit that detects a cloth feed rotation angle that is a rotation angle of an output shaft of the cloth feed motor,
A main rotation angle acquisition step of acquiring a detection result of the main rotation angle detected by the main rotation angle detector;
A cloth feed rotation angle acquisition step of acquiring a detection result of the cloth feed rotation angle detected by the cloth feed rotation angle detection unit;
A cloth feed target angle setting step for setting a target rotation angle at which the output shaft of the cloth feed motor should be positioned corresponding to the main rotation angle from the main rotation angle acquired in the main rotation angle acquisition step;
A cloth feed deviation calculating step for calculating a deviation between the target rotation angle set in the cloth feed target angle setting step and the cloth feed rotation angle acquired in the cloth feed rotation angle acquiring step;
A sewing machine control method comprising: a first rotation speed calculation step of calculating a rotation speed instructed to the cloth feed motor based on the deviation.
縫針を上下動する主軸を駆動するメインモータと、前記メインモータの出力軸の回転角である主回転角を検出する主回転角検出部と、布を送る布送り機構を駆動する布送りモータと、前記布送りモータの出力軸の回転角である布送り回転角を検出する布送り回転角検出部とを備えたミシンが実行するミシンの制御方法において、
前記主回転角検出部が検出した前記主回転角の検出結果を取得する主回転角取得ステップと、
前記布送り回転角検出部が検出した前記布送り回転角の検出結果を取得する布送り回転角取得ステップと、
布送り回転角に対応して前記メインモータの出力軸が位置すべき目標回転角を、前記布送り回転角取得ステップで取得した前記布送り回転角から設定する主目標角設定ステップと、
前記主目標角設定ステップで設定した前記目標回転角と、前記主回転角取得ステップで取得した前記主回転角の偏差を算出する主偏差算出ステップと、
前記偏差に基づいて、前記布送りモータに指示する回転速度を算出する第一回転速度算出ステップと
を含むミシンの制御方法。
A main motor that drives a main shaft that moves the sewing needle up and down, a main rotation angle detector that detects a main rotation angle that is a rotation angle of the output shaft of the main motor, and a cloth feed motor that drives a cloth feed mechanism that feeds the cloth In a sewing machine control method executed by a sewing machine including a cloth feed rotation angle detection unit that detects a cloth feed rotation angle that is a rotation angle of an output shaft of the cloth feed motor,
A main rotation angle acquisition step of acquiring a detection result of the main rotation angle detected by the main rotation angle detector;
A cloth feed rotation angle acquisition step of acquiring a detection result of the cloth feed rotation angle detected by the cloth feed rotation angle detection unit;
A main target angle setting step for setting a target rotation angle at which the output shaft of the main motor should be positioned corresponding to a cloth feed rotation angle from the cloth feed rotation angle acquired in the cloth feed rotation angle acquisition step;
A main deviation calculation step for calculating a deviation between the target rotation angle set in the main target angle setting step and the main rotation angle acquired in the main rotation angle acquisition step;
A sewing machine control method comprising: a first rotation speed calculation step of calculating a rotation speed instructed to the cloth feed motor based on the deviation.
縫針を上下動する主軸を駆動するメインモータと、前記メインモータの出力軸の回転角である主回転角を検出する主回転角検出部と、布を送る布送り機構を駆動する布送りモータと、前記布送りモータの出力軸の回転角である布送り回転角を検出する布送り回転角検出部とを備えたミシンが実行するミシンの制御方法において、
前記主回転角検出部が検出した前記主回転角の検出結果を取得する主回転角取得ステップと、
前記布送り機構が布送りの終端位置に達する時点で前記メインモータの出力軸が位置すべき主回転角である終端角を取得する終端角取得ステップと、
前記終端角取得ステップで取得した前記終端角と、前記主回転角取得ステップで取得した前記主回転角とに基づいて、前記メインモータの出力軸が前記終端角に達するまでの残り回転角を算出する主回転角残量算出ステップと、
前記メインモータの回転速度である主回転速度を取得する速度取得ステップと、
前記主回転角残量算出ステップで算出した前記残り回転角と、前記速度取得ステップで取得した前記主回転速度とに基づいて、前記メインモータの出力軸が前記終端角に達するまでの所要時間を算出する時間算出ステップと、
前記布送り回転角検出部が検出した前記布送り回転角の検出結果を取得する布送り回転角取得ステップと、
前記布送り回転角取得ステップで取得した前記布送り回転角から、前記布送り機構が布送りの前記終端位置に達するまでの前記布送りモータの残り回転角を算出する布送り回転角残量算出ステップと、
前記布送り回転角残量算出ステップで算出した前記残り回転角を、前記時間算出ステップで算出した前記所要時間で前記布送りモータが回転する為に必要な回転速度を算出する第二回転速度算出ステップと
を含むミシンの制御方法。
A main motor that drives a main shaft that moves the sewing needle up and down, a main rotation angle detector that detects a main rotation angle that is a rotation angle of the output shaft of the main motor, and a cloth feed motor that drives a cloth feed mechanism that feeds the cloth In a sewing machine control method executed by a sewing machine including a cloth feed rotation angle detection unit that detects a cloth feed rotation angle that is a rotation angle of an output shaft of the cloth feed motor,
A main rotation angle acquisition step of acquiring a detection result of the main rotation angle detected by the main rotation angle detector;
A terminal angle acquisition step of acquiring a terminal angle that is a main rotation angle at which the output shaft of the main motor should be positioned when the cloth feed mechanism reaches a cloth feed terminal position;
Based on the terminal angle acquired in the terminal angle acquisition step and the main rotation angle acquired in the main rotation angle acquisition step, a remaining rotation angle until the output shaft of the main motor reaches the terminal angle is calculated. A main rotation angle remaining amount calculating step,
A speed acquisition step of acquiring a main rotation speed which is a rotation speed of the main motor;
Based on the remaining rotation angle calculated in the main rotation angle remaining amount calculation step and the main rotation speed acquired in the speed acquisition step, the time required for the output shaft of the main motor to reach the terminal angle is calculated. A time calculating step to calculate;
A cloth feed rotation angle acquisition step of acquiring a detection result of the cloth feed rotation angle detected by the cloth feed rotation angle detection unit;
Calculate the remaining rotation angle of the cloth feed motor from the cloth feed rotation angle acquired in the cloth feed rotation angle acquisition step until the cloth feed mechanism reaches the cloth feed end position. Steps,
The second rotation speed calculation for calculating the rotation speed necessary for the cloth feed motor to rotate in the required time calculated in the time calculation step with respect to the remaining rotation angle calculated in the cloth feed rotation angle remaining amount calculation step. A method for controlling a sewing machine including steps and
縫針を上下動する主軸を駆動するメインモータと、前記メインモータの出力軸の回転角である主回転角を検出する主回転角検出部と、布を送る布送り機構を駆動する布送りモータと、前記布送りモータの出力軸の回転角である布送り回転角を検出する布送り回転角検出部とを備えたミシンが実行するミシンの制御方法において、
前記主回転角検出部が検出した前記主回転角の検出結果を取得する主回転角取得ステップと、
前記布送り回転角検出部が検出した前記布送り回転角の検出結果を取得する布送り回転角取得ステップと、
布送り回転角に対応して前記メインモータの出力軸が位置すべき目標回転角を、前記布送り回転角取得ステップで取得した前記布送り回転角から設定する主目標角設定ステップと、
前記主目標角設定ステップで設定した前記目標回転角と、前記主回転角取得ステップで取得した前記主回転角の偏差を算出する主偏差算出ステップと、
前記偏差に基づいて、前記メインモータに指示する回転速度を算出する主回転速度算出ステップと
を含むミシンの制御方法。
A main motor that drives a main shaft that moves the sewing needle up and down, a main rotation angle detector that detects a main rotation angle that is a rotation angle of the output shaft of the main motor, and a cloth feed motor that drives a cloth feed mechanism that feeds the cloth In a sewing machine control method executed by a sewing machine including a cloth feed rotation angle detection unit that detects a cloth feed rotation angle that is a rotation angle of an output shaft of the cloth feed motor,
A main rotation angle acquisition step of acquiring a detection result of the main rotation angle detected by the main rotation angle detector;
A cloth feed rotation angle acquisition step of acquiring a detection result of the cloth feed rotation angle detected by the cloth feed rotation angle detection unit;
A main target angle setting step for setting a target rotation angle at which the output shaft of the main motor should be positioned corresponding to a cloth feed rotation angle from the cloth feed rotation angle acquired in the cloth feed rotation angle acquisition step;
A main deviation calculation step for calculating a deviation between the target rotation angle set in the main target angle setting step and the main rotation angle acquired in the main rotation angle acquisition step;
And a main rotational speed calculating step of calculating a rotational speed instructed to the main motor based on the deviation.
JP2011075395A 2011-03-30 2011-03-30 Sewing machine and sewing machine control method Withdrawn JP2012205841A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2011075395A JP2012205841A (en) 2011-03-30 2011-03-30 Sewing machine and sewing machine control method
CN201210102825.5A CN102733097B (en) 2011-03-30 2012-03-29 Sewing machine and control method for the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011075395A JP2012205841A (en) 2011-03-30 2011-03-30 Sewing machine and sewing machine control method

Publications (1)

Publication Number Publication Date
JP2012205841A true JP2012205841A (en) 2012-10-25

Family

ID=46989363

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011075395A Withdrawn JP2012205841A (en) 2011-03-30 2011-03-30 Sewing machine and sewing machine control method

Country Status (2)

Country Link
JP (1) JP2012205841A (en)
CN (1) CN102733097B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016220781A (en) * 2015-05-28 2016-12-28 ブラザー工業株式会社 Sewing machine and control method of sewing machine

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103498305A (en) * 2013-09-22 2014-01-08 新杰克缝纫机股份有限公司 Industrial sewing machine operating panel with voice prompt function
CN104372530A (en) * 2014-10-30 2015-02-25 上海鲍麦克斯电子科技有限公司 Industrial sewing machine and sewing method
CN107354597A (en) * 2017-08-23 2017-11-17 杰克缝纫机股份有限公司 Elastic band feeding control system, method and sewing machine
CN110524548B (en) * 2019-08-02 2021-03-19 珞石(北京)科技有限公司 Robot and sewing machine speed cooperation method based on closed-loop control

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0657280B2 (en) * 1985-09-05 1994-08-03 三菱電機株式会社 Sewing machine controller
JPH04105689A (en) * 1990-08-24 1992-04-07 Juki Corp Presser bar lifter for sewing-machine
JP2004321771A (en) * 2003-04-08 2004-11-18 Brother Ind Ltd Sewing machine and stepping motor control program
JP5384956B2 (en) * 2009-01-21 2014-01-08 Juki株式会社 sewing machine

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016220781A (en) * 2015-05-28 2016-12-28 ブラザー工業株式会社 Sewing machine and control method of sewing machine

Also Published As

Publication number Publication date
CN102733097B (en) 2014-05-21
CN102733097A (en) 2012-10-17

Similar Documents

Publication Publication Date Title
JP2012205841A (en) Sewing machine and sewing machine control method
CN104120548B (en) The control method of sewing machine and sewing machine
JP2013179980A (en) Sewing machine
JP2012205840A (en) Sewing machine and sewing machine control method
CN101748566A (en) Sewing machine
JP2016150035A (en) Sewing machine and method for controlling sewing machine
EP2166142B1 (en) Cloth cutting device of hole stitching machine
JP2008259834A (en) Eyelet hole sewing machine
JP5329113B2 (en) sewing machine
TW200938680A (en) Automatic needlework sewing machine
JP2010082147A (en) Sewing machine
JP2013179999A (en) Sewing machine
JP2009142377A (en) Middle presser device of sewing machine
JP2014155678A (en) Sewing machine and control program of sewing machine
JP2013022362A (en) Sewing machine and method for controlling sewing machine
JP2003326027A (en) Fabric feeding apparatus of sewing machine
JPH0119914B2 (en)
CN102634940B (en) A sewing machine and a cutting method of the same
CN107558023B (en) Sewing device and thread cutting mechanism
JP4569815B2 (en) Stepping motor speed control device and speed control method thereof
JP2012176182A (en) Sewing machine
CN105239282B (en) The needle gage governor motion of domestic sewing machine
CN105133197B (en) Sewing machine
JP2010179014A (en) Sewing machine and yarn tension establishment program
JP2013202254A (en) Sewing machine and control program for sewing machine

Legal Events

Date Code Title Description
RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20120927

A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20140603