CN102346457B - Method for calculating virtual processing time of material to be processed - Google Patents
Method for calculating virtual processing time of material to be processed Download PDFInfo
- Publication number
- CN102346457B CN102346457B CN 201110250565 CN201110250565A CN102346457B CN 102346457 B CN102346457 B CN 102346457B CN 201110250565 CN201110250565 CN 201110250565 CN 201110250565 A CN201110250565 A CN 201110250565A CN 102346457 B CN102346457 B CN 102346457B
- Authority
- CN
- China
- Prior art keywords
- time
- pulse
- umber
- pel
- processing
- 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
Links
Images
Abstract
The invention discloses a method for calculating virtual processing time of material to be processed in a numerical control surge drilling machine. The method comprises the following steps: step 1, acquiring all primitives to be processed in the material to be processed and determining a processing sequence; step 2, and classifying and numbering the primitives to be processed; step 3, traversing and processing the primitives according to the classes, serial numbers and the primitive processing sequence, and accumulating the processing time of all the primitives and switching time of different primitive coordinate systems; and step 4, outputting the sum of the accumulated processing time and switching time. According to the invention, the time of each process step is calculated according to the type and processing sequence of processed primitives, and the accumulation time obtained after all the primitives of the material to be processed are traversed is the virtual processing time, therefore the method can be used for quickly calculating the processing time during the operation of the numerical control surge drilling machine, and the processing time does not need to be calculated according to the actual processing operations, the efficiency is improved, and the method can be applied to the quick quotation of processing cost of the material to be processed by the numerical control surge drilling machine.
Description
Technical field
The present invention relates to the digital control processing field of materials such as leather, particularly the computing method of the virtual manufacture time of material to be processed in a kind of numerical control surging and punching machine.
Background technology
The numerical control surging and punching machine adopts to drive and impacts on rapidoprints such as leather rapidly towards mouth, thereby forms hole at materials such as leathers.In actual applications can be according to determining processing charges the process time that adds labor and materials.Process time is more long, and the processing unit price can be more high.Before not having the inventive method, normally drive and could determine process time after the numerical control surging and punching machine is finished actual process operation, do like this and can waste many time, and occupy the use of equipment.
Therefore be badly in need of the computing method of the virtual manufacture time of material to be processed in a kind of numerical control surging and punching machine.
Summary of the invention
In view of this, in order to address the above problem, the present invention proposes the computing method of the virtual manufacture time of material to be processed in a kind of numerical control surging and punching machine.
The objective of the invention is to propose the computing method of the virtual manufacture time of material to be processed in a kind of numerical control surging and punching machine.
The object of the present invention is achieved like this:
The computing method of the virtual manufacture time of material to be processed provided by the invention may further comprise the steps:
Step 1: obtain to add and all process pel in the labor and materials and determine processing sequence;
Step 2: will process pel and classify and number;
Step 3: number order and pel processing sequence travel through the processing pel successively by type, and the Tsingle and Tswitch switching time of different pixel coordinates system process time of all pels of accumulative total;
Step 4: output accumulative total process time Tsingle and switching time the Tswitch sum.
Further, the single processing pel in the described step 3 process time Tsingle calculating undertaken by following concrete steps:
Step 31: the travel time Tmove between the calculating processing pel;
Step 32: the rotational time Trotate during the calculating processing pel;
Step 33: calculate circulating time Tpunch;
Step 34: the process time of calculating pel by following formula:
Tsingle?=?Tmove?+?Trotate+?Tpunch;
Further, described travel time Tmove is undertaken by following concrete steps:
Step 311: according to the coordinate of await orders coordinate and current pel, obtain the umber of pulse of horizontal direction and the umber of pulse of vertical direction; Get two maximal values in the umber of pulse, as domination umber of pulse P;
Step 312: determine frequency meter F[P according to domination umber of pulse P, walking initial frequency and walking highest frequency, acceleration and deceleration algorithm];
Step 313: the formula below adopting can calculate Tmove:
Wherein, F[P] be the array of P length, be each pulse and set a frequency;
Step 314: the coordinate that current pel is set is the coordinate of awaiting orders;
Further, the rotational time Trotate in the described step is undertaken by following concrete steps:
Step 321: according to the anglec of rotation of the await orders anglec of rotation and current pel, obtain the umber of pulse R of rotation;
Step 322: determine frequency meter F[R according to rotary pulsed several R, rotation initial frequency and rotation highest frequency, acceleration and deceleration algorithm];
Step 323: the formula below adopting calculates rotational time Trotate:
Wherein, F[R] be the array of R length, be each pulse and set a frequency;
Step 324: current angle is set is the anglec of rotation of awaiting orders;
Further, described circulating time Tpunch equals roll setting time and cutter lifting time sum;
Further, the calculating of coordinate system Tswitch switching time in the described step 3 is undertaken by following concrete steps:
Step 351: the distance according between previous coordinate system and the switching coordinate system obtains the umber of pulse of horizontal direction and the umber of pulse of vertical direction; Get two maximal values in the umber of pulse, as domination umber of pulse W;
Step 352: determine frequency meter F[W according to domination umber of pulse W, walking initial frequency and walking highest frequency, acceleration and deceleration algorithm];
Step 353: the formula below adopting can coordinates computed be Tswitch switching time:
Wherein, F[W] be the array of W length, be each pulse and set a frequency.
The invention has the advantages that: the present invention is according to the type of processing pel and the time that process sequence is calculated each step successively, and traversal adds the cumulative time that obtains behind all pels of labor and materials, is the virtual manufacture time; The computing method of the virtual manufacture time that the present invention provides, solved numerical control surging and punching machine quick calculating processing time method in application, avoid determining process time by the process operation of reality, raise the efficiency, can be used for the Fast Quotation of material processing charges to be processed in the numerical control surging and punching machine.
Other advantage of the present invention, target and feature will be set forth to a certain extent in the following description, and to a certain extent, based on being apparent to those skilled in the art to investigating hereinafter, perhaps can obtain instruction from the practice of the present invention.The objectives and other advantages of the present invention can be passed through following instructions, claims, and the specifically noted structure realizes and obtains in the accompanying drawing.
Description of drawings
In order to make the purpose, technical solutions and advantages of the present invention clearer, the present invention is described in further detail below in conjunction with accompanying drawing, wherein:
Fig. 1 is the computing method process flow diagram of the virtual manufacture time of material to be processed provided by the invention;
Fig. 2 is material design drawing synoptic diagram to be processed provided by the invention.
Embodiment
Below with reference to accompanying drawing, the preferred embodiments of the present invention are described in detail; Should be appreciated that preferred embodiment only for the present invention is described, rather than in order to limit protection scope of the present invention.
Fig. 1 is the computing method process flow diagram of the virtual manufacture time of material to be processed provided by the invention, and as shown in the figure: the computing method of the virtual manufacture time of material to be processed provided by the invention may further comprise the steps:
Step 1: obtain to add and all process pel in the labor and materials and determine processing sequence;
Step 2: will process pel and classify and number; The processing primitive types is divided into 1,2 ..., N; N is maximum type number.
Step 3: number order and pel processing sequence travel through the processing pel successively by type, and the Tsingle and Tswitch switching time of different pixel coordinates system process time of all pels of accumulative total; As traveling through the pel of No. 1 type earlier, then travel through the pel of No. 2 types, when from No. 1 pel, when switching to No. 2 pels, need to calculate the time of switching coordinate system.
Single processing pel in the described step 3 process time Tsingle calculating undertaken by following concrete steps:
Step 31: the travel time Tmove between the calculating processing pel; Determined by travel distance, adopt linear acceleration and deceleration (index acceleration and deceleration, S type curve) scheduling algorithm.
Step 32: the rotational time Trotate during the calculating processing pel; Rotational time Trotate is determined that by the anglec of rotation anglec of rotation initial value of awaiting orders of each type is 0, adopts linear acceleration and deceleration (index acceleration and deceleration, S type curve) scheduling algorithm.
Step 33: calculate circulating time Tpunch; Described circulating time equal roll setting time and cutter lifting time and.
Step 34: the process time of calculating pel by following formula: carry out according to the order of first walking, then rotation, last punching during the processing pel, so be this step sum the process time of pel:
Tsingle?=?Tmove?+?Trotate+?Tpunch。
Described travel time Tmove is undertaken by following concrete steps:
Step 311: according to the coordinate of await orders coordinate and current pel, obtain the umber of pulse of horizontal direction and the umber of pulse of vertical direction; Get two maximal values in the umber of pulse, as domination umber of pulse P;
Step 312: determine frequency meter F[P according to domination umber of pulse P, walking initial frequency and walking highest frequency, acceleration and deceleration algorithm];
Step 313: the formula below adopting can calculate Tmove:
Wherein, F[P] be the array of P length, be each pulse and set a frequency.
Step 314: the coordinate that current pel is set is the coordinate of awaiting orders;
Calculate the initial coordinate of awaiting orders of travel time and specify by software is manual, can be the origin coordinates after the device reset, travel time Tmove is determined by travel distance;
Rotational time Trotate in the described step is undertaken by following concrete steps:
Step 321: according to the anglec of rotation of the await orders anglec of rotation and current pel, the umber of pulse R that can obtain to rotate;
Step 322: determine frequency meter F[R according to rotary pulsed several R, rotation initial frequency and rotation highest frequency, acceleration and deceleration algorithm].
Step 323: the formula below adopting can calculate Trotate:
Wherein, F[R], be the array of R length, be each pulse and set a frequency.
Step 324: current angle is set is the anglec of rotation of awaiting orders.
The anglec of rotation of awaiting orders of each type is 0, and rotational time Trotate is determined by the anglec of rotation;
Linear acceleration and deceleration (index acceleration and deceleration, S type curve) scheduling algorithm is adopted in the calculating of coordinate system Tswitch switching time in the described step 3, is undertaken by following concrete steps:
Step 351: the distance according between previous coordinate system and the switching coordinate system can obtain the umber of pulse of horizontal direction and the umber of pulse of vertical direction.Get two maximal values in the umber of pulse, as domination umber of pulse W;
Step 352: determine frequency meter F[W according to domination umber of pulse W, walking initial frequency and walking highest frequency, acceleration and deceleration algorithm];
Wherein, F[W], be the array of W length, be each pulse and set a frequency.
Step 4: output accumulative total process time Tsingle and switching time the Tswitch sum.
Fig. 2 is material design drawing synoptic diagram to be processed provided by the invention, as shown in the figure, two types processing pel is arranged.A kind of is circular, a kind of is the parachute shape, the corresponding mechanical coordinate of a processing type system, the coordinate system that dissimilar correspondences are different is in the processing, at first the processing pel of No. 1 type (circle), the traversal completion of processing, switch to No. 2 types (the parachute shape) afterwards, switch to type No. 2 from No. 1
When practical operation, switch coordinate system time T switch and need the time, Tsingle process time of single processing pel is made up of travel time Tmove, rotational time Trotate, circulating time Tpunch three parts: calculate the initial coordinate of awaiting orders of travel time and specify by software is manual, can be the origin coordinates after the device reset.The anglec of rotation of awaiting orders of each type is 0.Carry out according to the order of first walking, then rotation, last punching when processing single pel, so be three step sum: Tsingle=Tmove+Trotate+Tpunch the process time of single pel.
Provide a specific embodiment below, domination umber of pulse P is 30, and the walking initial frequency is 1000Hz, the walking highest frequency is 5000Hz, adopt the linear acceleration and deceleration algorithm, wherein the accelerating sections pulse is 10, the braking section pulse is 10, and the frequency meter input of determining as shown in Table 1.
By table one as can be seen, according to the acceleration and deceleration algorithm, only need accelerating sections frequency meter Fup, braking section frequency meter Fdown, at the uniform velocity the section number of pulses can not need frequency meter.
If under the more situation of ratio of pulse length to the total cycle length at the uniform velocity, it is very big that its frequency meter can be done, and will be divided into accelerating sections number of pulses Pup to number of pulses P like this, at the uniform velocity section number of pulses Peven, braking section number of pulses Pdown, can adopt following formula to calculate travel time Tmove:
Wherein Fmax is the walking highest frequency.
Table one
Sequence number | Frequency | ? | Sequence number | Frequency | ? | Sequence number | Frequency |
1 | 1000 | ? | 11 | 2000 | ? | 21 | 1900 |
2 | 1100 | ? | 12 | 2000 | ? | 22 | 1800 |
3 | 1200 | ? | 13 | 2000 | ? | 23 | 1700 |
4 | 1300 | ? | 14 | 2000 | ? | 24 | 1600 |
5 | 1400 | ? | 15 | 2000 | ? | 25 | 1500 |
6 | 1500 | ? | 16 | 2000 | ? | 26 | 1400 |
7 | 1600 | ? | 17 | 2000 | ? | 27 | 1300 |
8 | 1700 | ? | 18 | 2000 | ? | 28 | 1200 |
9 | 1800 | ? | 19 | 2000 | ? | 29 | 1100 |
10 | 1900 | ? | 20 | 2000 | ? | 30 | 1000 |
Calculating Trotate and Tswitch, also can be divided into the accelerating sections umber of pulse to number of pulses, section umber of pulse at the uniform velocity, the braking section umber of pulse is handled according to similar method.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and obviously, those skilled in the art can carry out various changes and modification and not break away from the spirit and scope of the present invention the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.
Claims (1)
1. the computing method of the virtual manufacture time of material to be processed is characterized in that: may further comprise the steps:
Step 1: obtain to add and all process pel in the labor and materials and determine processing sequence;
Step 2: will process pel and classify and number;
Step 3: number order and pel processing sequence travel through the processing pel successively by type, and the Tsingle and Tswitch switching time of different pixel coordinates system process time of all pels of accumulative total;
Step 4: output accumulative total process time Tsingle and switching time the Tswitch sum;
Single processing pel in the described step 3 process time Tsingle calculating undertaken by following concrete steps:
Step 31: the travel time Tmove between the calculating processing pel;
Step 32: the rotational time Trotate during the calculating processing pel;
Step 33: calculate circulating time Tpunch;
Step 34: the process time of calculating pel by following formula:
Tsingle?=?Tmove?+?Trotate+?Tpunch;
Described travel time Tmove is undertaken by following concrete steps:
Step 311: according to the coordinate of await orders coordinate and current pel, obtain the umber of pulse of horizontal direction and the umber of pulse of vertical direction; Get two maximal values in the umber of pulse, as domination umber of pulse P;
Step 312: determine frequency meter F[P according to domination umber of pulse P, walking initial frequency and walking highest frequency, acceleration and deceleration algorithm];
Step 313: the formula below adopting can calculate Tmove:
Wherein, F[P] be the array of P length, be each pulse and set a frequency;
Step 314: the coordinate that current pel is set is the coordinate of awaiting orders;
Rotational time Trotate in the described step is undertaken by following concrete steps:
Step 321: according to the anglec of rotation of the await orders anglec of rotation and current pel, obtain the umber of pulse R of rotation;
Step 322: determine frequency meter F[R according to rotary pulsed several R, rotation initial frequency and rotation highest frequency, acceleration and deceleration algorithm];
Step 323: the formula below adopting calculates rotational time Trotate:
Wherein, F[R] be the array of R length, be each pulse and set a frequency;
Step 324: current angle is set is the anglec of rotation of awaiting orders;
Described circulating time Tpunch equals roll setting time and cutter lifting time sum;
The calculating of coordinate system Tswitch switching time in the described step 3 is undertaken by following concrete steps:
Step 351: the distance according between previous coordinate system and the switching coordinate system obtains the umber of pulse of horizontal direction and the umber of pulse of vertical direction; Get two maximal values in the umber of pulse, as domination umber of pulse W;
Step 352: determine frequency meter F[W according to domination umber of pulse W, walking initial frequency and walking highest frequency, acceleration and deceleration algorithm];
Step 353: the formula below adopting can coordinates computed be Tswitch switching time:
Wherein, F[W] be the array of W length, be each pulse and set a frequency.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201110250565 CN102346457B (en) | 2011-08-29 | 2011-08-29 | Method for calculating virtual processing time of material to be processed |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201110250565 CN102346457B (en) | 2011-08-29 | 2011-08-29 | Method for calculating virtual processing time of material to be processed |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102346457A CN102346457A (en) | 2012-02-08 |
CN102346457B true CN102346457B (en) | 2013-07-17 |
Family
ID=45545212
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 201110250565 Expired - Fee Related CN102346457B (en) | 2011-08-29 | 2011-08-29 | Method for calculating virtual processing time of material to be processed |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102346457B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110968039B (en) * | 2019-12-17 | 2022-11-25 | 上海维宏电子科技股份有限公司 | Graph cutting and sorting processing method applied to laser cutting numerical control machining |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101488017A (en) * | 2009-02-24 | 2009-07-22 | 上海奈凯电子科技有限公司 | Real-time control method of process tool route of numerical control machine based on machine vision |
EP2101233A2 (en) * | 2008-03-11 | 2009-09-16 | Fanuc Ltd | Numerical controller having function to switch between pressure control and position control |
CN101846991A (en) * | 2010-04-26 | 2010-09-29 | 成都华远焊割设备有限公司 | Non-trailing quick rollback processing method for numerical control cutting machine |
CN102016733A (en) * | 2008-04-22 | 2011-04-13 | 三菱电机株式会社 | Numerical control method and apparatus therefor |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS6364108A (en) * | 1986-09-04 | 1988-03-22 | Fanuc Ltd | Numerical controller having malfunction checking function |
-
2011
- 2011-08-29 CN CN 201110250565 patent/CN102346457B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2101233A2 (en) * | 2008-03-11 | 2009-09-16 | Fanuc Ltd | Numerical controller having function to switch between pressure control and position control |
CN102016733A (en) * | 2008-04-22 | 2011-04-13 | 三菱电机株式会社 | Numerical control method and apparatus therefor |
CN101488017A (en) * | 2009-02-24 | 2009-07-22 | 上海奈凯电子科技有限公司 | Real-time control method of process tool route of numerical control machine based on machine vision |
CN101846991A (en) * | 2010-04-26 | 2010-09-29 | 成都华远焊割设备有限公司 | Non-trailing quick rollback processing method for numerical control cutting machine |
Also Published As
Publication number | Publication date |
---|---|
CN102346457A (en) | 2012-02-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101667290B (en) | Method and computer system for fitting characteristic elements | |
CN102272798B (en) | A tessellator whose tessellation time grows linearly with the amount of tessellation | |
JP2012189445A5 (en) | ||
CN100339874C (en) | Pseudo three dimensional image generating apparatus | |
CN101144716A (en) | Multiple angle movement target detection, positioning and aligning method | |
CN109163728B (en) | Dynamic environment obstacle avoidance method, controller and robot | |
CN1835547A (en) | Image processing device and registration data generation method in image processing | |
CN102346457B (en) | Method for calculating virtual processing time of material to be processed | |
CN102213767A (en) | Positioning control method for closed region of vehicle-mounted GPS (Global Positioning System) | |
CN101387506B (en) | Point cloud optimum alignment method | |
CN102774539B (en) | Bar on-line automatic counting method based on modified gradient Hough circle transformation | |
CN106887982B (en) | A kind of stepper motor speed control method based on FPGA | |
CN103246236A (en) | Speed control method for numerical control system in consideration of small line segment and connection point speed | |
KR20200078840A (en) | Method for welding members using 3D depth sensor | |
CN104376578A (en) | Moving object detection processing method and device applied to direct recording and broadcasting system | |
CN112857219A (en) | Volume measurement method and device based on TOF depth camera | |
CN110322467B (en) | Algorithm for improving point cloud density of 3D contour sensor on calculated plate surface | |
CN105738870B (en) | A kind of multimode filtering method | |
CN105741337A (en) | Triangle filling method for rasterizing vector data of lithography machines | |
CN103324606A (en) | Typesetting method and typesetting device | |
CN111260723B (en) | Barycenter positioning method of bar and terminal equipment | |
CN102436215B (en) | Concurrent control processing time virtual computing method of numerical control pattern-punching machine | |
CN108247554A (en) | A kind of wheel face abrasive grain parameter preferred design method that thick distribution constraint is cut based on abrasive grain | |
CN103309747B (en) | The distribution method of a kind of code file statistics task and device | |
CN105676784B (en) | A kind of digital control processing Fe ed drive method using material removing rate as reference |
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 |
Granted publication date: 20130717 Termination date: 20150829 |
|
EXPY | Termination of patent right or utility model |