CNC Turning machines the research of emulation technology

  • Time:
  • Click:96
  • source:ASEM CNC Machining
Summary: The crucial technology that studied CNC Turning is emulated. Machine the characteristic of the process according to CNC Turning, came true to machine orbit to emulate, the interference collision examination that treatment process is emulated in real time and machines a process, discussed method of information processing of CNC TurningNC coordinate. The text in emulating a system to CNC Turning and graph show the function undertook developing. Put forward to realize the feasible algorithm that all sorts of cutting tool contrail emulate. The treatment of 1 foreword tradition emulates a method is to pass direct figure to show the treatment that will have numerical control program is emulated and interference collision is checked, the treatment process that uses method of cutting tool of edge of cutting tool of simulation of line draw a frame round to go up in workpiece on the computer namely. In recent years, as the ceaseless development of technology of microcomputer soft hardware and maturity, be based on hypostatic formative the application that three dimension accuse to emulate a technology to go up in the project is increasingly wide, document considered to be below virtual reality environment, use the technology that multimedia technology has CNC Machining is emulated. These new occurrence that process emulation technique make the treatment of numerical control program is emulated into the person a new level. The article is emulated in the light of CNC Turning treatment undertook study and built CNC Turning trends to emulate a system. The program of stand-alone CNC Turning that the CNC Turning that the article designs emulation circuit of treatment of 2 CNC Turning emulates a system to be able to weave to handiwork already undertakes emulation, also can regard CAD/CAPP/CAM as a subsystem in compositive production system, the CNC Turning program of automatic to compositive production system generation undertakes emulation. This system can finish the processing of two pairs program, the add effect code that allows athletic coordinate exists with what annotate goes, and support forms of a variety of numerical control code, it is a current CNC TurningNC program emulates a system, its work flow is shown 1 times like the graph. Graph 1 CNC Turning machines the working flow CNC Turning of emulation system to machine emulation system to include 4 shares: Contrail of treatment of NC code accidence and parse, cutting tool is emulated, process of cutting tool treatment is emulated and the interference collision in process of cutting tool treatment is checked. Particular emulation procedure is: Emulate a system to pass pair of NC programs to undertake twice scanning analytic above all, complete pair of NC programs compile explanation and the semantic analysis to NC program and coordinate commutation, after this, make file of information of coordinate of a NC; Next program of explanation of NC coordinate file reads statement of exercise of the cutting tool news that takes treatment to emulate place to need, cutting tool and coordinate news from inside file of NC coordinate information, read from inside cutting tool library take news of corresponding treatment cutting tool; Call corresponding treatment to emulate algorithm finally, the cutting tool contrail of the spare parts that finish is emulated, treatment process is emulated and interfere the emulation process such as collision examination. When treatment is emulated. The whole process that can have numerical control code already is emulated, also can undertake sheet is versed in pace treatment is emulated, have very big flexibility. Of 3 NC program compile explanatory NC program of block format numerical control is formed by numerical control instruction, general instruction of a numerical control fulfils an operation function, NC program is by a certain number of numerical control instruction forms according to particular structure. A whole CNC Machining process is constituted by a certain number of block. Commonly used block format has: The pattern of format of solid methodize block, fixed and ordinal block that has separator and format of word address block. Often use form of word address block at present, international Organization for Standardization established standard of ISO-6983-1-1 982 of format of word address block, its form is N... G... X ± ... Z ± ... I ± ... J ± ... K ± ... M... S... T... F... among them the athletic way that G instruction, M instruction and F, S, T dictates code describes numerical control machine tool, treatment type. X, Z, I, J, K is coordinate instruction word, the coordinate of the centre of a circle of the circular arc in describing value of coordinate of knife heart position and treatment contrail respectively. NC program accidence and parse explain to NC program compiling write regulation to undertake according to the book of numerical control program. The essence of accidence and parse is have NC program and level of program of ISO numerical control matching checking, set regulation of many 20 examination in the light of system of FUNAC numerical control, for example: NC program is effective character: % , n, g, m, t, f, s, x, y, z, i, j, k, r, 0 ~ 9, (, ) , / group of; must be % or annotate goes; Two digit word must be after G code, and be effective code certainly. Wait like G00, G01, G02, G50, G92; Be in with group G code same paragraph in cannot exist at the same time, if cannot appear G01 and G02 or G03 inside same block at the same time; Two digit word must be after M code, and be effective code certainly, wait like M01, M02, M08: The number must be after T code, and accord with TXXYY format, among them XX value cannot be more than knife library capacity, YY bamboo value cannot be more than cutting tool to compensate number size; The number must be after S code, and must be in limits of main shaft rotate speed; ... NC program compiles those who explain NC program to compile a process is the Vbuffer that builds to answer relatively with format of block of numerical control code first kind object, regard as this object temporarily buffer, block medium CNC Machining information is ordinal numerate, in file of NC coordinate information is being kept after alternating via the explanation, this file is the drive data that cutting tool contrail emulates. The system uses the method of data buffer to read code of person numerical control orderly line by line, reason system supports the processing of coordinate word and code of effect of add of word of numerical control instruction. Graph the dynamic treatment of contrail of cutting tool of 4 emulation behavior emulates flow of emulation algorithm of contrail of motion of 2 cutting tool trends of cutting tool contrail is emulated is the numerical control code that emulates according to wanting to undertake, on computer screen trends shows cutting tool contrail, come with the means of athletic contrail the treatment process with intuitionistic indication specific spare parts; When undertaking trends of cutting tool contrail is emulated, read in file of NC coordinate information orderly, get numerical control to dictate (instruction of linear, circular arc) with command parameter (the) such as start, terminus and coordinate of the centre of a circle, carry out corresponding orbit processing next: To commanding with circular arc point-blank, should rise according to its stop athletic coordinate, undertake be mixinged point-blank the interpolation operation of circular arc, get the coordinate of the intermediate dot of the disperse in the process is worth athletic, next contrail of motion of dynamic indication cutting tool. If the graph is shown 2 times,contrail of cutting tool motion emulates algorithmic flow. The orbit campaign process to convey cutting tool clearly, emulation picture will show the contrail of motion of outline of appearance of part semifinished product, spare parts, clamping apparatus, dot removing a knife, cutting tool, dot that retreat a knife and auxiliary treatment information to wait. Express contrail of different cutting tool motion with different color. Cutting tool contrail is added! : Emulated advantage is OK detect simple and intuitionisticly the validity of contrail of cutting tool motion, computer processing data is less, indication rate is rapid, reason can obtain very good trends to show not the effect. Trends of process of spare parts treatment is emulated (A)(b) pursues the appearance that trends of 3 treatment process emulates turning to add factory model to show treatment cutting tool for real time and athletic process, need to build cutting of a cutting tool to machine a model. Establish modular procedure to simplify, to turning cutting tool, the standard (ISO) cutting tool and nonstandard the cutting model that cutting tool consolidates a standard, graph 3a is lathe tool of thick, essence and whorl knife, graph 3b is grooving knife among them Kr is tool cutting edge angle, kr is deputy slant horn, er is horn of point of a knife, tw is groovy knife width; When the geometry that builds library of one treatment knife to configure a file to manage all sorts of cutting tool at the same time and physical description data are undertaking the process is emulated machining, according to the instruction in numerical control code, corresponding cutting tool chooses in file of knife library configuration, corresponding clamping apparatus and clamp way choose in library of clamping apparatus resource, bona fide report machines a process, in order to observe the interference of cutting tool and clamping apparatus and collision condition. It is consistent that treatment process trends emulates algorithmic flow and contrail of cutting tool motion to emulate algorithmic flow (the graph shows) 2 times, different is copy of contrail of cutting tool motion really with " motion is nodded " come contrail of dynamic indication cutting tool, and treatment process trends emulates algorithm is to use " cutting tool model " contrail of indication cutting tool, show the purify process of semifinished product in real time. Machine a model according to cutting, when cutting tool is in cutting to machine motion, cutting part of cutting tool of fill of the scenery that use a back will undertake the process emulates machining: This method applies to the plane of 2 dimension turning to emulate a circumstance only, have nothing to do with the appearance of semifinished product, also do not require additional judgement and computational process, consider the performance demand of machine not tall to juice, the indication speed of personal computer can satisfy the requirement of real time sex completely. Process of spare parts treatment interferes collision to check 2 dimension turning to machine interference to collide is to point to, because numerical control dictates wrong or choice of cutting tool parameter is undeserved and the situation that cutting tool and personal treatment surface or work surface reach to produce interference to collide between the cutting tool that cause and labour clamping apparatus. Interfering collision to check algorithm is, hour is machined in either, surround cutting cutting tool outline and dormant (machine tool and clamping apparatus) surround outline to make 2 dimension Boer operation, if have photograph friendship besides, explain this treatment is versed in pace position has collision Qing Dynasty condition happens, need to amend treatment statement. Graph the sketch map of interference collision examination of the cutting tool in 4 treatment process pursues the interference collision with specific flow of algorithm of 5 interference examination checks algorithm, it is the tool cutting edge angle that machines cutting tool in interpolation name a person for a particular job is mixed deputy slant horn and linear banking angle are spent quite, to outline of circular arc Duan Lun, the banking angle that nods the tangent in circular arc outline with this interpolation undertakes comparative, divisional suitable circle and go against a circle two kinds of circumstances. The outline outside be being cut with right lathe tool is exemple, its are shown 4 times to if pursue,be being checked with the interference of circular arc point-blank. The examination will be written into an interference report as a result, graph 4 in, kr is tool cutting edge angle. Kr is deputy slant horn, er is horn of point of a knife, a is as contrary as cutting treatment direction banking angle, b is as identical as cutting treatment direction banking angle. When A>kr, blade of cutting tool deputy cutting and spare parts surface produce interference, when 180 ° + B<180 ° - when Kr, of cutting tool advocate cutting blade and spare parts surface produce interference, will happened to cut a phenomenon at this moment 2 machine direction and treatment outline to what differ, afore-mentioned discriminate should undertake corresponding adjustment. If the algorithmic technological process that collision of interference of process of spare parts treatment examines pursues 5 are shown. It is OK that 5 epilogues spare parts machines dynamic imitate to emulate compare bona fide report to give actual cutting to machine a process, can check the validity of numerical control code not only, whether is there interference between the cutting tool in still can examining treatment process and workpiece, cutting tool and machine tool and cutting tool and clamping apparatus (collide or cut too) phenomenon, if emulate,have interference phenomenon generation, can stop immediately, carry out to machine program amend, assured to machine quality. CNC Milling