Be based on the CAD of the knife that insert tine of VB environment

  • Time:
  • Click:155
  • source:SHNMIN CNC Machining
Summary: Of the system of CAD of the knife that insert tine that introduced to be based on VB environment form with main module function. This system can age to inserting the tooth form of the knife and structural parameter undertake designing computation, in saving the result the database, undertake administrative; The interface of the powerful function of VB of have the aid of and AutoCAD and advanced language, can obtain DXF graph to exchange a document, the design file such as the spare parts blueprint that makes draw tine knife automatically and craft card. 1 foreword inserts tine knife is to use the cutting tool that exhibits a law to machine gear on the machine that insert tine, with same the knife that insert tine can machine the gear with tine role of modulus, tooth form is same and different number. When the design inserts tine knife, need a basis to be cut gear parameter, mix to cutting tool tooth form according to principle of gear clench the teeth and transmission theory structural parameter has a large number of consideration. Because design parameter is much, calculation is formulary and complex, and need to try circularly repeatedly calculate, because this uses traditional method handiwork to design efficiency of the knife that insert tine,low, cycle grows, cost is high, and make mistake easily. Introduce CAD technology design of the knife that insert tine, can raise design precision and dependability greatly, shorten the design is periodic, be helpful for optimizing cutting tool parameter, reasonable choose tool, of level of stimulative gear cutting rise. For this, we with Visual Basic 6.

0 to develop platform, developed system of CAD of the knife that insert tine. 2 systems are formed with main function system of CAD of the knife that insert tine is systematic platform with Windows 98 operating system; Use Access software to build the database such as parameter of cutting tool tooth form, structure, craft parameter; Use AutoCAD tool scale to insert tine knife part drawing; The data processing that uses acting machine and indication advantage, the concerned data that will insert tine knife spare parts and part drawing of affirmatory already a complete set of store within CAD system, the architect needs to reach relevant design information computational parameter to input CAD system with interactive means only, of the design computation that can realize form of the tooth that insert tine and structural parameter and blueprint and craft card generate automatically. Overall design program inserts the system system of tine knife CAD designs criterion with concerning national level and occupation standard to be, it is design basis with principle of gear clench the teeth and transmission theory, undertake overall planning to construction of system. Technology of CAD of the knife that insert tine is be in harmony of technology of processing of computation of will theoretical analysis, design, database management and computer graph the omnibus technology that is an organic whole, because the overall design of this system must assure share design calculative data,flow between systematic interior and system and user smooth, the coupling sex between design module is small, and the interface should be had good but expansibility and Yi Wei protect a gender. According to afore-mentioned design principles, the system of CAD of the knife that insert tine that if the graph is shown 1 times,built is overall structural frame. Graph total construction frame takes system of CAD of the 1 knife that insert tine the design of person system advocate after the interface, be defeated by a person to be mixed to cooperate all sorts of primitive parameter of gear by treatment gear with interactive means, start " the design is calculated " accuse, the system can undertake parameter is calculated automatically. If input parameter is unreasonable, systematic dialog box can show poor condition and clew settles way accordingly. In the database can saving the result after the computation that finish. Machine and measure data what obtain to cannot passing computation, can be installed in blueprint or undertake complementing installing below interface of craft card setting, after finishing but printout, still can generate CAD file to save at the same time rise. Root tuber of main function model occupies the system the system is overall structural frame, use modular process designing principle undertook decomposing to systematic function, refine each function module as far as possible, utmost ground reduces the lotus root between module to add up to a gender, enhance software can transplant gender, but expanding and can safeguard a gender. Differentiate according to systematic overall planning and module principle, basically installed module of the following function: This module includes module of user interface management systematic menu, window and of all kinds dialog box, its are main the function is the communication of interactive type information in managing the knife that insert tine to design, the basic function of achievable design program and software government work, provide the entry that enters other module. This module is design module one of core module of the system, its are main the function is age to inserting according to machining tooth form parameter knife geometry dimension has desired result, design computation inserts parameter of the tooth form parameter of tine knife and treatment craft, be in assure to machine craft sex (the knife that insert tine is not interfered with workpiece happening when extending angrily form) the structural parameter that tine knife inserts certainly below premise and basic measure. The parameter of form of the tooth that insert tine that this module can give according to designing computation and structural parameter scale give graphical processing module the knife that insert tine machines blueprint, weave a craft card, when be being machined for inserting tine knife, be used and design a data to file. The data of cutting tool design manual that a large number of designs that the main function of this module is the generation in be being calculated to the design count database management module to be called according to reaching need has efficient, safe management and operation, improve design efficiency of the system thereby. This system uses the ActiveX in VB to accuse a medium ADO to realize the join of the database. The module that print result of design of parameter of the achievable knife that insert tine, part drawing paper mixes this module the printout of craft card. The help system that help module makes with HTML Help Workshop can provide detailed software service instruction for the user. The design of 3 user interface and the design that use method inserts user interface of system of tine knife CAD are the main component that whole system designs. In inserting tine knife to design a process, need undertakes the graph shows, print, the job such as memory, answer to handle design data result and figure organic couple in interfacial design accordingly, make the interface can provide the design process of graph Wen Bingmao and design result, assure the smooth flow of interactive information, make architect operation convenient, direct learn easily. The design computation of form of the tooth that insert tine and structural parameter inserts tine knife because the deciding of the the biggest, smallest modification coeffication inserts the top of tine knife the horn after blade and side edge all have, because this inserts tine knife to carry sectional diameter and transverse tooth thickness each from before after the knife is faced, narrow gradually, its each sectional all can be being regarded is the profile of straight tine gear with different modification coeffication, the modification coeffication on front face is the biggest, modification coeffication of the end panel after be close to more is smaller (often be negative change a) . Accordingly, reasonable and affirmatory those who insert tine knife is the biggest with the smallest modification coeffication the key that is design of the knife that insert tine works. When the design, answer to choose bigger modification coeffication as far as possible normally, but its maximum should suffer top of the tooth that insert tine to become pointed to reach gear to transfer curve the limitation of 1000 experience. The method of calculation of the biggest modification coeffication that does not insert tine knife with the type differs somewhat. Beyond clench the teeth dish form straight tine inserts tine knife to be exemple, do not produce tine top to become pointed the biggest modification coeffication that allows (X0)max can try by loop leaving type calculate beg piece: (In 1) type: Sa0 -- Ra0 of width of top of the tooth that insert tine -- the knife that insert tine carries round radius A on the head, aa0 -- when the cent circle of the knife that insert tine and very round pressure angle are designed, need beforehand value of X0 of set modification coeffication, beg a Sa0 next, make its and the smallest appearance transverse tooth thickness again (Sa0) look undertakes comparative, if both is very adjacent, what take X0 to be (X0)max. In the meantime, the pinion that goes out to avoid to insert tine knife to cut or the transition that gear ages the root is in curvilinear happening interferes a phenomenon, still should press type (2) or type (3) is right (X0)max undertakes checking computations: (In 2)(3) type: A01, a01 -- the horn of clench the teeth when the knife that insert tine machines pinion and center are apart from A02, a02 -- the horn of clench the teeth when the knife that insert tine machines gear and center are apart from A12, a12 -- the horn of clench the teeth when two gear clench the teeth and center are apart from Rb0 -- radius of the Dao Genyuan that insert tine is in process of the treatment that insert tine, if the tine top of the knife that insert tine is cut by the involute tooth profile of treatment gear, produce a root to cut a phenomenon. When should counting the less knife that insert tine to machine gear with tine. The tine horn of gear and the tine root of the knife that insert tine can produce a root to cut, the tine horn of gear cuts knife of the tine that be inserted and produce a top to cut a phenomenon. Do not happen to the root is cut and support cutting a phenomenon is the knife that insert tine the smallest modification coeffication (the limitative condition of X0)min. Because this is when the design, should beforehand the tooth that set assures to final blade is ground still is necessary intensity and allow (X0)min; Press type again next (4) , (whether can when 5) desired result inserts tine, happen to the root is cut and support cut a phenomenon (in addition the change that still needs to notice gear bottom clearance, assure to insert 0) of ≥ of E01 of the bottom clearance when tine: (In 4)(5) type: Z0 -- the tooth that insert tine counts Z1 -- be counted to pursue by treatment tine teeth of a cogwheel flow chart of computation of parameter of form of the 2 tooth that insert tine inserts parameter of tine tooth form to calculate program of computation of parameter of order tooth form is system of CAD of the knife that insert tine the core that designs module, its computation flow chart is shown 2 times like the graph. Into the person the knife that insert tine is designed advocate after the interface, fill " product information " insert feature of tine knife spare parts with what require a design (be like a standard or blame mark, straight tine or inclined tine, outside clench the teeth or inside clench the teeth) and appearance feature (be like the) such as form of handle of dish of form, bowl form, awl, different clew dialog box can appear when choosing feature of different the knife that insert tine. Click " the design is calculated " accuse a parameter of the tooth form that take a person to design computational window system, after be defeated by a person to be mixed to cooperate the basic parameter of gear by treatment gear, press " affirmatory " key, the system takes a person namely compute mode. Below this condition, systematic loop cipher out is the biggest modification coeffication (X0)max, examine to whether happen at the same time transfer curvilinear interference; Cut checking computations to decide the smallest modification coeffication through the root is cut and supporting next (X0)min. If appear relevant circumstance. All can appear clew casing, can suggest how to avoid this phenomenon to happen to the architect even. After computation ends, by " save a result " accuse in saving computation the database as a result, undertake administrative, by " blueprint craft " accuse can use calculation at blueprint and craft file setting as a result. Make further processing. Design a system in the knife that insert tine advocate after the cutting tool kind that the choice below the interface needs to design is defeated by a person to design information basically, the design parameter that if the graph is shown 3 times,enters namely is defeated by person and computational interface. Parameter is defeated by a person to have two kinds of ways: ① is in to already storing the parameter in systematic database, the user can pass screen the parameter that seesaw pattern hints the choice requires an input; ② is defeated by person parameter artificially through seesaw pattern clew. Every input the user a parameter, the system can offer dialog box of a help, the extraction that shows this parameter is worth limits. After parameter input is finished, the system undertakes automatically circular computational namely and examine computational result: In whole design process, be worth the parameter of clew to having acquiesce partly, the user can design ability and manufacturing technology state to undertake adjustment according to the enterprise. The means scale graph that the graphical interface of VB and AutoCAD and blueprint give birth to to use parameter to change process designing into this system. The system uses Autolisp language to change the programming language that the graph makes as parameter, the cutting tool profile that offers according to inserting library of tine knife graph reachs the relevant data such as the structure, call AutoCAD to concern a command directly in VB through DXF file, the automatic scale that implements blueprint of spare parts of the knife that insert tine and tag. Use VB6.

One of 0 main design train of thought that exchanging file DXF to undertake connection makes CAD file with AutoCAG graph is this system. DXF file is a kind of ordinal file that has special pattern, it is OK all sorts of information of file of graph of data form description. When the knife inserting tine that devises different specifications type, use CAD graph criterion numeral to need not need to repeat compose to build entity according to exchanging format DXF document, resource of very easy implementation is shared. Graph input of parameter of the 3 knives that insert tine and computational interface graph blueprint of the 4 knives that insert tine installs an interface of course, realize automation plot hard through DXF file interface merely, must complementary with SCR file (AutoCAD system interior commands market) with LSP file (with the executable text file that Autolisp sets to express processing language to write inside AutoCAD) . The automation plot that is based on DXF file realizes measure to be as follows: With VB advanced language design gives the knife that insert tine main tooth form and structural dimension parameter, make DXF file automatically; Activation and enter AutoCAD, carry out the SCR file that weaves beforehand; Open archetypal file, call LSP to the file makes DWG graph file automatically and make further processing; The interface is installed in blueprint of the knife that insert tine (if the graph is shown 4 times) on condition of choice modification technology and workpiece are main parameter tag data, the user also can be inputted afresh according to asking to be on setting form. After affirming can printout blueprint or make CAD file. Of file of craft of the knife that insert tine generate machining craft card with what print the knife that insert tine is the technical file that fulfils specific production mission. This system can build tolerancepublic errand and tool parameter database respectively by craft type, use open mode database to manage a technology, can join several databases to undertake addition to tolerancepublic errand, tool directly, delete and revise wait for an operation. After design computation is finished, click " blueprint craft " accuse a craft of the accessibility knife that insert tine to the file is generated and print module. Because insert tine knife sort finite, the category of standard procedure is less also, because this enterprise can be mixed according to productivity,sort of the knife that insert tine makes standard craft file, call directly when the design. To needing modification project, the interface is generated to go up in craft of the knife that insert tine, the user can change the corresponding technology in the watch according to particular case in order to form complete procedure file. Do not have certainly by accident hind in can be printed directly or make CAD file and maintaining existence system. 4 conclusion use the process designing mechanism of VB incident drive and novel visible design tool, the system of CAD of the knife that insert tine that the work out gives to interface of powerful, graph is abounded and expand easily in the function below Windows environment. The parameter that came true to insert tine knife through friendly man-machine interface and form of seesaw pattern clew optimizes a design, use system of open mode database to undertake administrative to designing parameter and blueprint technology. When the design, handlers needs to be defeated by the person's corresponding original design parameter only, system can the whole process that computation of parameter of the backstage design that finish, blueprint and craft card make automatically, can shorten effectively thereby the design is periodic, raise design precision, implementation inserts the automation that tine knife designs. CNC Milling CNC Machining