CN103074741B - Method for controlling electronic pattern sewing machine to carry out herringbone sewing - Google Patents

Method for controlling electronic pattern sewing machine to carry out herringbone sewing Download PDF

Info

Publication number
CN103074741B
CN103074741B CN201210532837.1A CN201210532837A CN103074741B CN 103074741 B CN103074741 B CN 103074741B CN 201210532837 A CN201210532837 A CN 201210532837A CN 103074741 B CN103074741 B CN 103074741B
Authority
CN
China
Prior art keywords
pattern data
pattern
lambdoidal suture
centerdot
lambdoidal
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.)
Expired - Fee Related
Application number
CN201210532837.1A
Other languages
Chinese (zh)
Other versions
CN103074741A (en
Inventor
石聿炜
梁敏
窦渭江
常铎
严由嵘
孙开锋
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.)
705TH RESEARCH INSTITUTE OF CHINA SHIPBUILDING INDUSTRY Corp
Original Assignee
705TH RESEARCH INSTITUTE OF CHINA SHIPBUILDING INDUSTRY Corp
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 705TH RESEARCH INSTITUTE OF CHINA SHIPBUILDING INDUSTRY Corp filed Critical 705TH RESEARCH INSTITUTE OF CHINA SHIPBUILDING INDUSTRY Corp
Priority to CN201210532837.1A priority Critical patent/CN103074741B/en
Publication of CN103074741A publication Critical patent/CN103074741A/en
Application granted granted Critical
Publication of CN103074741B publication Critical patent/CN103074741B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Sewing Machines And Sewing (AREA)

Abstract

The invention provides a method for controlling an electronic pattern sewing machine to carry out herringbone sewing. According to the method, firstly, a plurality of straight line sections, circular arcs, circles and free curves for forming patterns respectively generate herringbone sewing data; secondly, a herringbone sewing data file obtained through integration is stored into an electric control system of the electronic pattern sewing machine; and the pattern data file selected by the users is read out by the electric control system, and the pattern data is reversely analyzed for controlling an X-axis stepping motor and a Y-axis stepping motor to be matched with a main shaft servo motor for operation. The needle pitch of the generated pattern data is smooth, no particularly large or small needle pitches exist, the operation of the pattern sewing machine is stable, the noise and the vibration are greatly reduced, and the sewing effect is good. When the pattern file is read out, the increment in the XY axis direction can be obtained without carrying out complicated bit operation like the traditional pattern file, the pattern data is directly read out, and the movement vector of a pattern frame relative to a frame needle is indicated through pattern point relative coordinates.

Description

A kind ofly control the method that electro-pattern-sewing machine carries out lambdoidal suture
Technical field
The present invention relates to a kind of method that electro-pattern-sewing machine carries out lambdoidal suture of controlling.
Background technology
Electro-pattern-sewing machine is the industrial sewing machine of three axle collaborative works, and these three axles are respectively to control the main shaft Z that eedle pumps and control cloth frame XY axle of motion all around in horizontal plane.In sewing process, main shaft at the uniform velocity moves reciprocatingly at vertical direction according to the speed of setting: eedle moves to eedle from peak will prick the eedle minimum point of entering to layout into cloth, then to eedle just left cloth go out to layout, finally arrive peak.Eedle from go out to layout peak again to this process of entering to layout be cloth frame according to the time period of the given displacement movement of pattern data, the stop motion of other times XY axle.
Arbitrarily complicated style (as lambdoidal suture) is all the combination of the orderly point that consists of pin one pin data, and the element of this combination is again to be represented afterwards by the most basic a series of geometric figure discretizations.Basic geometric figure comprises straightway, circular arc, circle and free curve, can determine a line segment at 2, can determine a circular arc or circle at 3, and several points can determine that again one by the smooth free curve of these points.These basic geometric figures are all continuous curves in plane, can not directly be used for sewing, and only have after discretization and could use.
Traditional style discrete method adopts raw straight numerical differential algorithm in computer graphics, inevitably there will be the needle gage of last pin to be less than setting needle gage.In the process of at a high speed sewing, run into such data and can cause pattern sewing machine to produce larger vibration, not only can make to make the effect situation that even there will be distortion not attractive in appearance, but also can affect pattern sewing machine service life.
Summary of the invention
The technical problem solving
The problem existing for solving prior art, the present invention proposes a kind of method that electro-pattern-sewing machine carries out lambdoidal suture of controlling.
Technical scheme
A kind of described method that electro-pattern-sewing machine carries out lambdoidal suture of controlling, is characterized in that: comprise the following steps:
Step 1: set up lambdoidal suture pattern data file: described lambdoidal suture pattern data file comprises header file, key point data and pattern data;
Described pattern data produces by following steps:
Step 1.1: style is divided into some sections of basic geometric figures that are connected successively, described basic geometric figure comprises straightway, circular arc, circle and free curve, and the data that wherein determine several points of straightway, circular arc, circle and free curve are key point data;
Step 1.2: with the amount of giving of lambdoidal suture 1/ 2for needle gage carries out discretization to basic geometric figure, obtain basic pattern data, as follows with vector representation:
Δ p → 1 j = Δ x j + iΔ y j j = 0,1 · · · ( T - 1 )
N is the data point number of style after discrete;
Step 1.3: generate lambdoidal suture pattern data according to following steps:
1. ask each vectorial unit vector:
e → 1 j = x ej + i y ej j = 0,1 · · · ( T - 1 )
2. calculate deflection unit vector:
Divide three kinds of situations:
A) lambdoidal suture is the left side by direction of advance
e → 2 j = e → 1 j * e i ( j % 2 ) ( π / 2 ) j = 0,1 · · · ( T - 1 )
B) lambdoidal suture is the right side by direction of advance
e → 2 j = e → 1 j * e - i ( j % 2 ) ( π / 2 ) j = 0,1 · · · ( T - 1 )
C) lambdoidal suture is placed in the middle in direction of advance
e → 2 j = e → 1 j * e i ( - 1 ) ( j % 2 ) ( π / 2 ) j = 0,1 · · · ( T - 1 )
3. calculate twist vector:
In two kinds of situation:
A) lambdoidal suture is left side or the right side by direction of advance
Δ p → 2 j = e → 2 j * h j = 0,1 · · · ( T - 1 )
H is lambdoidal suture height
B) lambdoidal suture is placed in the middle in direction of advance
Δ p → 2 j = e → 2 j * h / 2 j = 0,1 · · · ( T - 1 )
4. calculate the absolute coordinate of original pattern data:
p → 1 j = p → 1 ( j - 1 ) + Δ p → 1 j j = 1 · · · ( T - 1 )
5. calculate the absolute coordinate of lambdoidal suture pattern data:
In two kinds of situation:
A) lambdoidal suture is left side or the right side by direction of advance
P → 2 j = p → 1 j + Δ p → 2 j j = 2 k + 1 k = 0,1 · · · ( ( T - 2 ) / 2 )
B) lambdoidal suture is placed in the middle in direction of advance
p → 2 j = p → 1 j + Δ p → 2 j j = 0,1 · · · ( T - 1 )
6. calculate lambdoidal suture pattern data relative coordinate:
The absolute coordinate of lambdoidal suture pattern data is write as
P → 2 j = x j + i y j j = 0,1 · · · ( T - 1 )
Lambdoidal suture pattern data relative coordinate is
Figure GDA00002878485600041
Step 2: the electric-control system that the pattern data file of step 1 gained is deposited in to electro-pattern-sewing machine;
Step 3: the electric-control system of electro-pattern-sewing machine coordinates spindle servo electric machine operation sewing lambdoidal suture style according to pattern data document control X-axis stepper motor and y-axis stepper motor.
Beneficial effect
The 1 pattern data needle gage generating is level and smooth, without large or especially little especially needle gage, pattern sewing machine is operated steadily, and has greatly reduced noise and vibration, and sewing efficiency is good.
2 styles are processed simple: while reading style file, be not as traditional style file, to carry out complicated bit arithmetic just can obtain the axial increment of XY, but directly read pattern data, style point relative coordinate, has indicated the motion vector of the relative eedle of picture frame.
The specific embodiment
Below in conjunction with specific embodiment, the present invention is described:
A kind of in the present embodiment controls the method that electro-pattern-sewing machine carries out lambdoidal suture, comprises the following steps:
Step 1: set up lambdoidal suture pattern data file: described lambdoidal suture pattern data file comprises header file, key point data and pattern data;
Described pattern data produces by following steps:
Step 1.1: style is divided into some sections of basic geometric figures that are connected successively, described basic geometric figure comprises straightway, circular arc, circle and free curve, and the data that wherein determine several points of straightway, circular arc, circle and free curve are key point data;
Step 1.2: with the amount of giving of lambdoidal suture 1/ 2for needle gage carries out discretization to basic geometric figure, obtain basic pattern data, as follows with vector representation:
Δ p → 1 j = Δ x j + iΔ y j j = 0,1 · · · ( T - 1 )
N is the data point number of style after discrete;
Step 1.3: generate lambdoidal suture pattern data according to following steps:
1. ask each vectorial unit vector:
e → 1 j = x ej + i y ej j = 0,1 · · · ( T - 1 )
2. calculate deflection unit vector:
Divide three kinds of situations:
A) lambdoidal suture is the left side by direction of advance
e → 2 j = e → 1 j * e i ( j % 2 ) ( π / 2 ) j = 0,1 · · · ( T - 1 )
B) lambdoidal suture is the right side by direction of advance
e → 2 j = e → 1 j * e - i ( j % 2 ) ( π / 2 ) j = 0,1 · · · ( T - 1 )
C) lambdoidal suture is placed in the middle in direction of advance
e → 2 j = e → 1 j * e i ( - 1 ) ( j % 2 ) ( π / 2 ) j = 0,1 · · · ( T - 1 )
3. calculate twist vector:
In two kinds of situation:
A) lambdoidal suture is left side or the right side by direction of advance
Δ p → 2 j = e → 2 j * h j = 0,1 · · · ( T - 1 )
H is lambdoidal suture height
B) lambdoidal suture is placed in the middle in direction of advance
Δ p → 2 j = e → 2 j * h / 2 j = 0,1 · · · ( T - 1 )
4. calculate the absolute coordinate of original pattern data:
p → 1 j = p → 1 ( j - 1 ) + Δ p → 1 j j = 1 · · · ( T - 1 )
5. calculate the absolute coordinate of lambdoidal suture pattern data:
In two kinds of situation:
A) lambdoidal suture is left side or the right side by direction of advance
P → 2 j = p → 1 j + Δ p → 2 j j = 2 k + 1 k = 0,1 · · · ( ( T - 2 ) / 2 )
B) lambdoidal suture is placed in the middle in direction of advance
p → 2 j = p → 1 j + Δ p → 2 j j = 0,1 · · · ( T - 1 )
6. calculate lambdoidal suture pattern data relative coordinate:
The absolute coordinate of lambdoidal suture pattern data is write as
P → 2 j = x j + i y j j = 0,1 · · · ( T - 1 )
Lambdoidal suture pattern data relative coordinate is
Figure GDA00002878485600065
Step 2: the electric-control system that the pattern data file of step 1 gained is deposited in to electro-pattern-sewing machine;
Step 3: the electric-control system of electro-pattern-sewing machine coordinates spindle servo electric machine operation sewing lambdoidal suture style according to pattern data document control X-axis stepper motor and y-axis stepper motor.
The process of wherein basic geometric figure being carried out to discretization is:
In accordance with the following methods every section of basic geometric figure is carried out respectively to uniform discrete:
A: the uniform discrete of straightway:
Steps A .1: two points establishing given straightway are O (0,0) and P (x, y), the needle gage that user sets is d; Draw the length of line segment OP l 1 = x 2 + y 2 ;
Steps A .2: determine the little line segment number N and the revised needle gage Δ l that obtain after line segment OP discretization 1:
Get
Figure GDA00002878485600072
if N 1* (d+1) <l 1, N=N 1+ 1, otherwise N=N 1; Δ l 1=l 1/ N;
Steps A .3: determine vector
Figure GDA00002878485600073
unit vector at the component x of electro-pattern-sewing machine X-axis, Y direction e, y e:
x e = x / l 1 y e = y / l 1
Steps A .4: generate the pattern data absolute position after uniform discrete and round:
Figure GDA00002878485600075
Steps A .5: generate pattern data point relative coordinate:
Figure GDA00002878485600076
B: the uniform discrete of circular arc or circle:
Step is B.1: three points establishing given circular arc or circle are P 0(0,0), P 1(x 1, y 1) and P 2(x 2, y 2), and these three points are on same straight line, and the needle gage that user sets is d;
Step is B.2: the center of circle O (x that calculates circular arc place circle 0, y 0) and radius R;
Step is B.3: calculate circular arc institute to central angle alpha, direction of rotation β and vector
Figure GDA00002878485600077
tilt angle gamma; Wherein, if style is round, α=2 π; Circular arc β=-1 that turns clockwise, is rotated counterclockwise β=1;
Step is B.4: calculate and take needle gage d as the corresponding central angle θ of chord length 1;
Step is B.5: determine little line segment number M and revised central angle Δ θ after circular arc or circle discretization:
Get
Figure GDA00002878485600078
if M 1* θ 1< α, M=M 1+ 1, otherwise M=M 1; Δ θ=α/M;
Step is B.6: obtain the pattern data after uniform discrete:
Figure GDA00002878485600079
Step is B.7: whether the pattern data after the uniform discrete that judgement generates exceeds is set border, if exceed, sets border, represents that discrete results cannot realize, otherwise, obtain style point relative coordinate:
Figure GDA00002878485600081
C: the uniform discrete of free curve:
Step is C.1: m+1 point establishing given free curve is P 1(x 1, y 1), P 2(x 2, y 2) ... P m+1(x m+1, y m+1), free curve is comprised of m section B-spline Curve; ;
Step is C.2: according to formula:
6 0 &CenterDot; &CenterDot; &CenterDot; 0 1 4 1 &CenterDot; &CenterDot; &CenterDot; 0 &CenterDot; &CenterDot; &CenterDot; &CenterDot; &CenterDot; &CenterDot; &CenterDot; &CenterDot; &CenterDot; 0 &CenterDot; &CenterDot; &CenterDot; 1 4 1 0 &CenterDot; &CenterDot; &CenterDot; 0 6 G 1 G 2 &CenterDot; &CenterDot; &CenterDot; G m G m + 1 = 6 P 1 P 2 &CenterDot; &CenterDot; &CenterDot; P m P m + 1 G 2 - 2 G 1 + G 0 = 0 G m - 2 G m + 1 + G m + 2 = 0
Obtain m+3 control point G of B-spline Curve 0, G 1g m+2;
Step is C.3: according to formula:
C i ( u ) = A i 3 u 3 + A i 2 u 2 + A i 1 u + A i 0 = x i ( u ) y i ( u ) A i 3 = ( - G i - 1 + 2 G i - 3 G i + 1 + G i + 2 ) / 6 A i 2 = ( 3 G i - 1 - 6 G i + 3 G i + 1 ) / 6 A i 1 = ( - 3 G i - 1 + 3 G i + 1 ) / 6 A i 0 = ( G i - 1 + 4 G i + G i + 1 ) / 6 0 &le; u &le; 1 , i = 1,2 &CenterDot; &CenterDot; &CenterDot; m
Obtain the coefficient A of B-spline Curve track computing formula i3, A i2, A i1, A i0;
Step is C.4: obtain free curve length l 2 = &Sigma; 1 m &Integral; 0 1 ( d x i ( u ) du ) 2 + ( d y i ( u ) du ) 2 du
Step is C.5: calculate little line segment number K and revised needle gage Δ l after free curve discretization 2:
Get
Figure GDA00002878485600085
if K 1* (d+1) <l 2, K=K 1+ 1, otherwise K=K 1, Δ l 2=l 2/ K;
Step is C.6: obtain the pattern data x after uniform discrete i, y i, whether the pattern data after the uniform discrete that judgement generates exceeds is set border, if exceed, sets border, represents that discrete results cannot realize, otherwise, obtain style point relative coordinate:
Figure GDA00002878485600091

Claims (1)

1. control the method that electro-pattern-sewing machine carries out lambdoidal suture, it is characterized in that: comprise the following steps:
Step 1: set up lambdoidal suture pattern data file: described lambdoidal suture pattern data file comprises header file, key point data and pattern data;
Described pattern data produces by following steps:
Step 1.1: style is divided into some sections of basic geometric figures that are connected successively, described basic geometric figure comprises straightway, circular arc, circle and free curve, and the data that wherein determine several points of straightway, circular arc, circle and free curve are key point data;
Step 1.2: take lambdoidal suture the amount of sending 1/2 basic geometric figure is carried out to discretization as needle gage, obtain basic pattern data, as follows with vector representation:
Figure FDA0000456452760000011
T is the data point number of style after discrete, and i represents vectorial imaginary part;
Step 1.3: generate lambdoidal suture pattern data according to following steps:
1. ask each vectorial unit vector:
Figure FDA0000456452760000012
2. calculate deflection unit vector:
Divide three kinds of situations:
A) lambdoidal suture is the left side by direction of advance
Figure FDA0000456452760000013
B) lambdoidal suture is the right side by direction of advance
Figure FDA0000456452760000014
C) lambdoidal suture is placed in the middle in direction of advance
Figure FDA0000456452760000021
3. calculate twist vector:
In two kinds of situation:
A) lambdoidal suture is left side or the right side by direction of advance
Figure FDA0000456452760000022
H is lambdoidal suture height
B) lambdoidal suture is placed in the middle in direction of advance
Figure FDA0000456452760000023
4. calculate the absolute coordinate of original pattern data:
Figure FDA0000456452760000024
5. calculate the absolute coordinate of lambdoidal suture pattern data:
In two kinds of situation:
A) lambdoidal suture is left side or the right side by direction of advance
Figure FDA0000456452760000025
B) lambdoidal suture is placed in the middle in direction of advance
6. calculate lambdoidal suture pattern data relative coordinate:
The absolute coordinate of lambdoidal suture pattern data is write as
Lambdoidal suture pattern data relative coordinate is
Figure FDA0000456452760000032
Step 2: the electric-control system that the pattern data file of step 1 gained is deposited in to electro-pattern-sewing machine;
Step 3: the electric-control system of electro-pattern-sewing machine coordinates spindle servo electric machine operation sewing lambdoidal suture style according to pattern data document control X-axis stepper motor and y-axis stepper motor.
CN201210532837.1A 2012-12-11 2012-12-11 Method for controlling electronic pattern sewing machine to carry out herringbone sewing Expired - Fee Related CN103074741B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210532837.1A CN103074741B (en) 2012-12-11 2012-12-11 Method for controlling electronic pattern sewing machine to carry out herringbone sewing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210532837.1A CN103074741B (en) 2012-12-11 2012-12-11 Method for controlling electronic pattern sewing machine to carry out herringbone sewing

Publications (2)

Publication Number Publication Date
CN103074741A CN103074741A (en) 2013-05-01
CN103074741B true CN103074741B (en) 2014-04-02

Family

ID=48151433

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210532837.1A Expired - Fee Related CN103074741B (en) 2012-12-11 2012-12-11 Method for controlling electronic pattern sewing machine to carry out herringbone sewing

Country Status (1)

Country Link
CN (1) CN103074741B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103668793B (en) * 2013-12-02 2015-08-12 中国船舶重工集团公司第七〇五研究所 A kind of realization controls the method that electro-pattern-sewing machine carries out multiple seam
CN108130654A (en) * 2016-12-01 2018-06-08 北京大豪科技股份有限公司 Style method for platemaking and device
CN107460646B (en) * 2017-08-22 2020-10-27 西安理工大学 Control method based on industrial sewing pattern inflection point unilateral deceleration
CN109322065A (en) * 2018-11-23 2019-02-12 无锡信捷电气股份有限公司 Full-automatic sewing machine platform follow-up control device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101519831A (en) * 2008-12-20 2009-09-02 中国兵器工业第五八研究所 Method for controlling the motion of computerized pattern sewing machines
CN101545178A (en) * 2008-03-28 2009-09-30 Juki株式会社 Sewing machine
CN101751515A (en) * 2009-12-10 2010-06-23 西北工业大学 Method for customizing tailoring pattern and generating tailoring data

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0219188A (en) * 1988-07-08 1990-01-23 Janome Sewing Mach Co Ltd Method for controlling large pattern for sewing machine
JPH0426443A (en) * 1990-05-22 1992-01-29 Juki Corp Sewing machine data generating device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101545178A (en) * 2008-03-28 2009-09-30 Juki株式会社 Sewing machine
CN101519831A (en) * 2008-12-20 2009-09-02 中国兵器工业第五八研究所 Method for controlling the motion of computerized pattern sewing machines
CN101751515A (en) * 2009-12-10 2010-06-23 西北工业大学 Method for customizing tailoring pattern and generating tailoring data

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
JP平2-19188A 1990.01.23
JP平4-26443A 1992.01.29

Also Published As

Publication number Publication date
CN103074741A (en) 2013-05-01

Similar Documents

Publication Publication Date Title
CN102995302B (en) Method for controlling electronic pattern making machine for realizing uniform discretization of patterns
CN103074741B (en) Method for controlling electronic pattern sewing machine to carry out herringbone sewing
CN101791800B (en) Motion control method of double-wheel differential type robot
CN106843236A (en) The unmanned bicycle paths planning method of particle cluster algorithm is improved based on weight
CN107577882A (en) A kind of surface topography modeling of side milling ruled surface and the emulation mode of shaping
CN104281099B (en) A kind of NURBS direct interpolation method and devices for considering processing characteristics
CN111730332B (en) Drilling method and drilling machine
CN107608344A (en) Vehicle motion control method, apparatus and relevant device based on trajectory planning
CN104123747B (en) Multimode touch-control three-dimensional modeling method and system
CN109799778A (en) A kind of electronic cam curve generation method and relevant apparatus
CN107077126A (en) The generation method and lathe of cutter path
CN103576607B (en) Data display device for machine tool for displaying information based on specified condition
CN101178594A (en) Method for realizing interpolation control in numerically controlled machine system
CN105353725A (en) Auxiliary-point-crossing-attitude space circular interpolation method for industrial robot
TW200927408A (en) Scribing apparatus and scribing method
CN102521857B (en) Angle control method for writing brush shape of electronic writing brush
CN104778737B (en) Extensive fallen leaves real-time rendering method based on GPU
CN108256175A (en) A kind of design method of cam profile
CN106950923A (en) A kind of speed planning method for determining interpolation cycle
CN103676787A (en) Circle center mode space circular interpolation method applied to motion control system
CN108629067B (en) Cam curve design method based on k-order harmonic function
CN106695023B (en) A kind of processing method of circulating ball type no-load voltage ratio diverter gear pair rack tooth profile
JP2012152837A (en) Device and method for inputting and drawing modification of gear figure
CN104772755A (en) Speed optimization method of 3-PRS parallel mechanism
Kim et al. A study on the precision machinability of ball end milling by cutting speed optimization

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20140402