CN1097878A - Profile automatic programming method for electric spark line cutting machine and system thereof - Google Patents

Profile automatic programming method for electric spark line cutting machine and system thereof Download PDF

Info

Publication number
CN1097878A
CN1097878A CN 94111332 CN94111332A CN1097878A CN 1097878 A CN1097878 A CN 1097878A CN 94111332 CN94111332 CN 94111332 CN 94111332 A CN94111332 A CN 94111332A CN 1097878 A CN1097878 A CN 1097878A
Authority
CN
China
Prior art keywords
image
processing
electric spark
cutting machine
automatic programming
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.)
Granted
Application number
CN 94111332
Other languages
Chinese (zh)
Other versions
CN1045225C (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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN 94111332 priority Critical patent/CN1045225C/en
Publication of CN1097878A publication Critical patent/CN1097878A/en
Application granted granted Critical
Publication of CN1045225C publication Critical patent/CN1045225C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Image Processing (AREA)
  • Image Analysis (AREA)

Abstract

A kind of imitative type automatic programming method and system thereof that is used for electric spark linear cutting machine, directly import the parts pattern of required processing in the computing machine by image input device, obtaining after machine is handled this tablet pattern as calculated can be for the parts profile figure of processing, again this contour pattern is carried out automated programming, generate the processing instruction that electric spark linear cutting machine is used.The present invention makes the mapping process and the input process of part reach robotization, has realized efficiently imitative type automated programming, thereby has solved complex-shaped and do not have the part of dimensional standard to require problem according to the sample cutting, especially can obtain the high mould of quality of fit.

Description

Profile automatic programming method for electric spark line cutting machine and system thereof
The present invention relates to automatic programming method and system that electric spark linear cutting machine is used, refer in particular to input of the part shape in the automated programming process and processing.
The automatic programming system that now is used for electric spark linear cutting machine mainly adopts dual mode that the shape facility of part is described.First kind is adopted special picture description language, by certain grammar or import the shape and size of part by means of man-machine; Second kind marks and imports by means of Genius mouse and the keyboard shape and size to part, and is shown on the screen.Its target of automatic programming system that adopts these two kinds of input modes all must be the part that size is clear and definite, shape is regular, and be difficult to clear and definite irregular figure part for complex-shaped, size, they then are difficult to be competent at, because mapping process very complicated too.
The objective of the invention is to be difficult to clear and definite part to complex-shaped, size and to carry out automated programming for electric spark linear cutting machine provides a kind of imitative efficiently type automatic programming method and system thereof.
The present invention realizes by following technical scheme:
Directly import the figure of required processing parts in the computing machine with image input device, obtaining after by computing machine this figure being handled can be for the parts profile figure of processing, again this figure is carried out automated programming, generate the processing instruction that electric spark linear cutting machine is used.
The process of in the above-mentioned imitative type automatic programming method figure of input being handled is as follows:
(1) if directly input be gray level image, then
1. adopt the method for mean filter that image is carried out the smoothing denoising sonication;
2. the histogram of computed image is in the hope of the threshold value of binaryzation;
3. be bianry image according to threshold value with greyscale image transitions;
(2) bianry image of above-mentioned bianry image that obtains or directly input is utilized closed operation in the mathematical morphology to fill up the hole, connects the processing of breakpoint;
(3) above-mentioned image is extracted the processing of edge pixel, make it to become the bianry image that only contains edge pixel;
(4) lock-on boundary pixel obtains the point set of image boundary;
(5) approach above-mentioned point set with straight line or circular arc connection, obtaining can be for the parts profile figure of processing;
(6) if this contour pattern is had dissatisfied part, then adopt mathematical processing methods to carry out editing and processing, correction pattern, obtaining can be for the parts profile figure of processing.
The system that carries out above-mentioned imitative type automated programming is formed by image input device and computing machine and to the computer program that the figure of input is handled.
The present invention is by means of image input device, the parts profile shape that directly will cut is imported computing machine automatically, make mapping process and input process reach robotization, machine can carry out automated programming to it after the image information of input is handled as calculated again, generates required processing instruction.That is to say that the present invention has realized imitative efficiently type automated programming, it provides good prospect for the mould production of industries such as glasses, clock and watch, tableware, jewellery, ornament.The shape of this series products is often complicated, is irregular figure, but not strict to the requirement of size, as long as shape is similar, so their mould production major requirement quality of fit height, utilize the present invention can cut out satisfied mould.
The FB(flow block) of accompanying drawing 1. imitative type automatic programming methods.
Accompanying drawing 2. histogram shape synoptic diagram.
Accompanying drawing 3. picture element A(i, the B of 3 * 3 neighborhood pixels j) mSynoptic diagram.
Accompanying drawing 4. usefulness circular arcs or straight line connection approach point set to form the operational flowchart of parts profile figure.
The required equipment of imitative type automatic programming method of finishing the present invention's proposition is image input device and computing machine.Wherein image input device be graphics scanner, ccd video camera etc. all can, rely on himself supporting driver card, parts pattern can be deposited in the computing machine with the standard picture storage format, and with graphic presentation on screen.Work after this is just undertaken by computing machine entirely, and computing machine is that common personal computer (being PC) gets final product.The specific implementation process that the image of input is handled is as follows:
According to the difference of image input device, the scanning input picture has gray level image and bianry image two classes.
(1),, it be carried out binary conversion treatment for ease of later automated programming for gray level image.
1. in order to improve the fairness on last match border, carry out the smoothing denoising sonication, adopt mean filter method commonly used to realize image;
2. to its histogram of filtered image calculation, in the hope of the threshold value of binaryzation.In view of the histogram shape of the image of processing object generally as shown in Figure 2, two spikes are represented background pixels and prospect pixel respectively, so definite method of thresholding is: make that one-level gray-scale value of the error in classification minimum of this two classes pixel be the classification thresholding.
3. be bianry image according to the thresholding of gained with greyscale image transitions then.
(2) for bianry image, because resolution or some other factor of drawing quality or input equipment, may there be some holes or breakpoint therebetween, they can influence later result, therefore will be to it processing of filling up the hole or connecting breakpoint, this point adopts the closed operation in the mathematical morphology to realize.Take first expansion, the calculating process of post-etching: establish prospect pixel and background pixels and be expressed as C respectively 1And C 2, carry out dilation operation earlier, promptly establish picture element A(i, j) ∈ C 1(i=1 ..., I-1, j=1 ..., J-1, I wherein, J is respectively the row and column of image),
If 3 * 3 neighborhood pixel B of A m(m=0 ..., 7) in have 1 B at least m∈ C 2
Then change B into C 1;
This dilation operation carries out erosion operation after finishing again, promptly establishes A(i, j) ∈ C 1(i=1 ..., I-1, j=1 ..., J-1)
If 3 * 3 neighborhood pixel B of A m(m=0 ..., 7) in have 1 B at least m∈ C 2,
Then, j) change C into A(i 2
(3) then,, make it to become the bianry image that only contains edge pixel, promptly establish A(i, j) ∈ C extracting edge pixel through the image after filling up the hole and being connected breakpoint 1, if in its 3 * 3 neighborhood pixel, have 1 B at least m∈ C 2
Then defining A(i, j) is edge pixel,
If there is not B m∈ C 2, promptly whole B m∈ C 1
Then defining A(i, j) is background pixels.
(4) follow the tracks of these edge pixel on this basis, obtain point set, be about to A(i about image boundary, j) (i=0 ..., I, j=0 ..., J) be converted to point set { P m(x i, y i), i=I ..., M, m=I ..., N } and (wherein M is counting on each closed outline, and N is the closed outline number that contains in the image).
(5) approach above-mentioned point set with straight line or circular arc connection, obtaining can be for the parts profile figure of processing, and the operational flowchart of this approximate procedure is seen accompanying drawing 4.
(6) if the parts profile figure that obtains is felt dissatisfied, for example somewhat little setback on certain straight-line segment, somewhere turnover are not sufficiently oily or slyness etc. too, mathematical processing methods such as can utilizing and delete point, increase point, delete line, increase line, straight line becomes circular arc, circular arc becomes straight line are carried out editing and processing, correction pattern to it, finally obtain satisfied, can be for the parts profile figure of processing.

Claims (3)

1, a kind of profile automatic programming method for electric spark line cutting machine, it is characterized in that with image input device as sensor, directly import the figure of required processing parts in the computing machine, obtaining after by computing machine this tablet pattern being handled can be for the parts profile figure of processing, again this contour pattern is carried out automated programming, generate the processing instruction that electric spark linear cutting machine is used.
2, imitative type automatic programming method as claimed in claim 1 is characterized in that the process that the figure of input is handled is as follows:
(1) if directly input be gray level image, then
1. adopt the method for mean filter that image is carried out the smoothing denoising sonication;
2. the histogram of computed image is in the hope of the threshold value of binaryzation;
3. be bianry image according to threshold value with greyscale image transitions;
(2) bianry image of above-mentioned bianry image that obtains or directly input is utilized closed operation in the mathematical morphology to fill up the hole, connects the processing of breakpoint;
(3) above-mentioned image is extracted the processing of edge pixel, make it to become the bianry image that only contains edge pixel;
(4) lock-on boundary pixel obtains the point set of image boundary;
(5) approach above-mentioned point set with straight line or circular arc connection, obtaining can be for the parts profile figure of processing;
(6) if this contour pattern is had dissatisfied part, then adopt mathematical processing methods to carry out editing and processing, correction pattern, obtaining can be for the parts profile figure of processing.
3, the imitative type automatic programming system used of a kind of electric spark linear cutting machine is characterized in that being formed by image input device and computing machine and to the computer program that the figure of input is handled.
CN 94111332 1994-05-24 1994-05-24 Profile automatic programming method for electric spark line cutting machine and its system Expired - Fee Related CN1045225C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 94111332 CN1045225C (en) 1994-05-24 1994-05-24 Profile automatic programming method for electric spark line cutting machine and its system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 94111332 CN1045225C (en) 1994-05-24 1994-05-24 Profile automatic programming method for electric spark line cutting machine and its system

Publications (2)

Publication Number Publication Date
CN1097878A true CN1097878A (en) 1995-01-25
CN1045225C CN1045225C (en) 1999-09-22

Family

ID=5035213

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 94111332 Expired - Fee Related CN1045225C (en) 1994-05-24 1994-05-24 Profile automatic programming method for electric spark line cutting machine and its system

Country Status (1)

Country Link
CN (1) CN1045225C (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100373386C (en) * 2004-06-09 2008-03-05 上海开通数控有限公司 Real-time drawing and confirming method for workpiece pattern of bender digital control system
CN101051327B (en) * 2006-04-07 2010-08-25 鸿富锦精密工业(深圳)有限公司 Part assembling hole design system and method
CN102134631A (en) * 2010-12-31 2011-07-27 宁夏天地奔牛实业集团有限公司 Manufacturing method of mining chain wheel profiling sensor
CN104014885A (en) * 2014-06-25 2014-09-03 查济瑞 Machining method for straight bevel gear
CN104599267A (en) * 2015-01-04 2015-05-06 北京数码大方科技股份有限公司 Cutting track generating method and device
WO2016086344A1 (en) * 2014-12-01 2016-06-09 Siemens Aktiengesellschaft Method and apparatus for generating machining codes of workpieces from a paper engineering drawing

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100373386C (en) * 2004-06-09 2008-03-05 上海开通数控有限公司 Real-time drawing and confirming method for workpiece pattern of bender digital control system
CN101051327B (en) * 2006-04-07 2010-08-25 鸿富锦精密工业(深圳)有限公司 Part assembling hole design system and method
CN102134631A (en) * 2010-12-31 2011-07-27 宁夏天地奔牛实业集团有限公司 Manufacturing method of mining chain wheel profiling sensor
CN104014885A (en) * 2014-06-25 2014-09-03 查济瑞 Machining method for straight bevel gear
WO2016086344A1 (en) * 2014-12-01 2016-06-09 Siemens Aktiengesellschaft Method and apparatus for generating machining codes of workpieces from a paper engineering drawing
US10379528B2 (en) 2014-12-01 2019-08-13 Siemens Aktiengesellschaft Method and apparatus for generating machining codes of workpieces from a paper engineering drawing
CN104599267A (en) * 2015-01-04 2015-05-06 北京数码大方科技股份有限公司 Cutting track generating method and device

Also Published As

Publication number Publication date
CN1045225C (en) 1999-09-22

Similar Documents

Publication Publication Date Title
CN110264445A (en) The screen printing of battery quality determining method of piecemeal template matching combining form processing
CN111046872A (en) Optical character recognition method
CN112767369A (en) Defect identification and detection method and device for small hardware and computer readable storage medium
CN102306283A (en) Image identification method of indicating values of LCD (liquid crystal display) digital display instrument
CN116704516B (en) Visual inspection method for water-soluble fertilizer package
CN101315664A (en) Text image preprocessing method for character recognition
CN1097878A (en) Profile automatic programming method for electric spark line cutting machine and system thereof
CN110516592A (en) Identification method based on handwritten digital characters
CN1888819A (en) Sub-picture element level outline extracting method in photographic measurement
CN1710595A (en) Mouth-corner positioning method
CN111429437B (en) Image non-reference definition quality detection method for target detection
JPH0256707B2 (en)
JP3826412B2 (en) Edge detection method and edge detection apparatus
JPH0991453A (en) Image processing method and its unit
CN116432160A (en) Slider verification code identification method and system based on RPA and LBP characteristics
CN110674778B (en) High-resolution video image target detection method and device
CN114723601A (en) Model structured modeling and rapid rendering method under virtual scene
CN109859133B (en) Median filtering image denoising method
CN113487538A (en) Multi-target segmentation defect detection method and device and computer storage medium thereof
CN1416099A (en) Method for fast preparing vector map of house through man-machine interactive
CN111476799A (en) Image analysis method and storage medium
CN111260723A (en) Barycenter positioning method of bar and terminal equipment
CN111210445A (en) Prostate ultrasound image segmentation method and equipment based on Mask R-CNN
CN116524509A (en) Double-wheel milling screen data identification method
CN113989238B (en) Adjustment method for positioning deviation of pavement crack detection frame of nuclear power plant

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
C19 Lapse of patent right due to non-payment of the annual fee
CF01 Termination of patent right due to non-payment of annual fee