喜歡就充值下載吧。。。資源目錄里展示的全都有,,下載后全都有,喜歡就充值下載吧。。。資源目錄里展示的全都有,,下載后全都有,
英文原文
Application and development
Of case based reasoning in fixture design
Abstract: Based on the case based designing (CBD) methodology, the fixture similarity is in two respects: the function and the structure information. Then, the computer aided fixture design system is created on case based reasoning (CBR),in which the attributes of the main features of workpiece and structure of fixture as case index code are designed for the retrieve of the similar cases, and the structure and hierarchical relation of case library are set up for store. Meanwhile, the algorithm based on the knowledge guided in the retrieve of the similar cases, the strategy of case adapt at ion and case storage in which the case ident if cat ion number is used to distinguish from similar cases are presented. The application of the system in some projects improves the design efficiency and gets a good result .
Keywords: case based reasoning ;fixture design; computer aided design(CAD)
Fixtures are devices that serve as the purpose of holding the workpiece securely and accurately, and maintaining a consistent relationship with respect to the tools while machining. Because the fixture structure depends on the feature of the product and the status of the process planning in the enterprise, its design is the bottleneck during manufacturing, which restrains to improve the efficiency and leadtime. And fixture design is a complicated process, based on experience that needs comprehensive qualitative knowledge about a number of design issues including workpiece configuration, manufacturing processes involved, and machining environment. This is also a very time consuming work when using traditional CAD tools (such as Unigraphics, CATIA or Pro/E), which are good at performing detailed design tasks, but provide few benefits for taking advantage of the previous design experience and resources, which are precisely the key factors in improving the efficiency. The methodology of case based reasoning (CBR) adapts the solution of a previously solved case to build a solution for a new problem with the following four steps: retrieve, reuse, revise, and retain [1]. This is a more useful method than the use of an expert system to simulate human thought because proposing a similar case and applying a few modifications seems to be self explanatory and more intuitive to humans .So various case based design support tools have been developed for numerous areas[2-4], such as in injection molding and design, architectural design, die casting die design, process planning, and also in fixture design. Sun used six digitals to compose the index code that included workpiece shape, machine portion, bushing, the 1st locating device, the 2nd locating device and clamping device[5]. But the system cannot be used for other fixture types except for drill fixtures, and cannot solve the problem of storage of the same index code that needs to be retained, which is very important in CBR[6].
1 Construction of a Case Index and Case Library
1.1 Case index
The case index should be composed of all features of the workpiece, which are distinguished from different fixtures. Using all of them would make the operation in convenient. Because the forms of the parts are diverse, and the technology requirements of manufacture in the enterprise also develop continuously, lots of features used as the case index will make the search rate slow, and the main feature unimportant, for the reason that the relative weight which is allotted to every feature must diminish. And on the other hand, it is hard to include all the features in the case index.
Therefore, considering the practicality and the demand of rapid design, the case index includes both the major feature of the workpiece and the structure of fixture. The case index code is made up of 16 digits: 13 digits for case features and 3 digits for case identification number.
The first 13 digits represent 13 features. Each digit is corresponding to an attribute of the feature, which may be one of“*”, “?”, “1”, “2”,…,“A”,“B”,…, “Z”,…, etc. In which, “*” means anyone, “?” uncertain, “0” nothing.
The system rules: fixture type, workpiece shape, locating model cannot be “*”or“?”. When the system is designed, the attribute information of the three items does not have these options, which means the certain attribute must be selected.
The last three digits are the case identification number, which means the 13 digits of the case feature are the same, and the number of these three digits is used for distinguishing them.
The system also rules: “000” is a prototype case, which is used for retrieval, and other cases are “001”,“002”,…, which are used for reference cases to be searched by designers. If occasionally one of them needs to be changed as the prototype case, first it must be required to apply to change the one to “000”, and the former is changed to referential case automatically.
The construction of the case index code is shown in Fig.1.
1.2 Case library
The case library consists of lots of predefined cases. Case representation is one of the most important issues in case based reasoning. So compounding with the index code,.
1.3 Hierarchical form of Case
The structure similarity of the fixture is represented as the whole fixture similarity, components similarity and component similarity. So the whole fixture case library, components case library, component case library of fixture are formed correspondingly. Usually design information of the whole fixture is composed of workpiece information and workpiece procedure information, which represent the fixture satisfying the specifically designing function demand. The whole fixture case is made up of function components, which are described by the function components’ names and numbers. The components case represents the members. (function component and other structure components, main driven parameter, the number, and their constrain relations.) The component case (the lowest layer of the fixture) is the structure of function component and other components. In the modern fixture design there are lots of parametric standard parts and common non standard parts. So the component case library should record the specification parameter and the way in which it keeps them.
2 Strategy of Case Retrieval
In the case based design of fixtures ,the most important thing is the retrieval of the similarity, which can help to obtain the most similar case, and to cut down the time of adaptation. According to the requirement of fixture design, the strategy of case retrieval combines the way of the nearest neighbor and knowledge guided. That is, first search on depth, then on breadth; the knowledge guided strategy means to search on the knowledge rule from root to the object, which is firstly searched by the fixture type, then by the shape of the workpiece, thirdly by the locating method. For example, if the case index code includes the milling fixture of fixture type, the search is just for all milling fixtures, then for box of workpiece shape, the third for 1plane+ 2pine of locating method. If there is no match of it, then the search stops on depth, and returns to the upper layer, and retrieves all the relative cases on breadth.
Retrieval algorithms:
1)According to the case index information of fixture case library, search the relevant case library;
2)Match the case index code with the code of each case of the case library, and calculate the value of the similarity measure;
3)Sort the order of similarity measure, the biggest value, which is the most analogical case.
Similarity between two cases is based on the similarity between the two cases. features. The calculation of similarity measure depends on the type of the feature. The value of similarity can be calculated for numerical values, for example, compareWorkpiece with the weight of 50kg and 20kg. The value can also be calculated between non numerical values, for example, now the first 13 digits index code is all non numerical values. The similarity measure of a fixture is calculated as follows:
where S is the similarity measure of current fixture, n is the number of the index feature, is the weight of each feature, is the similarity measure of the attribute of the i2th feature with the attributeof relative feature of the j-th case in the case library. At the same time, , the value counts as follows:
.
Where is the value of the index attribute of the i-th feature, and is the value of attribute of the relative i-th feature of the j-th case in case library.
So there are two methods to select the analogical fixture. One is to set the value. If the values of similarity measure of current cases were less than a given value, those cases would not be selected as analogical cases. When the case library is initially set up, and there are only a few cases, the value can be set smaller. If there are lots of analogical cases, the value should get larger. The other is just to set the number of the analogical cases (such as10), which is the largest value of similarity measure from the sorted order.
3 Case adaptation and Case Storage
3.1 Case adaptation
The modification of the analogical case in the fixture design includes the following three cases:
1) The substitution of components and the component;
2) Adjusting the dimension of components and the component while the form remains;
3) The redesign of the model.
If the components and component of the fixture are common objects, they can be edited, substituted and deleted with tools, which have been designed.
3.2 Case storage
Before saving a new fixture case in the case library, the designer must consider whether the saving is valuable. If the case does not increase the knowledge of the system, it is not necessary to store it in the case library. If it is valuable, then the designer must analyze it before saving it to see whether the case is stored as a prototype case or as reference case. A prototype case is a representation that can describe the main features of a case family. A case family consists of those cases whose index codes have the same first 13 digits and different last three digits in the case library. The last three digits of a prototype case are always “000”. A reference case belongs to the same family as the prototype case and is distinguished by the different last three digits.
From the concept that has been explained, the following strategies are adopted:
1) If a new case matches any existing case family, it has the same first 13 digits as an existing prototype case, so the case is not saved because it is represented well by the prototype case. Or is just saved as a reference case (the last 3 digits are not “000”, and not the same with others) in the case library.
2) If a new case matches any existing case family and is thought to be better at representing this case family than the previous prototype case, then the prototype case is substituted by this new case, and the previous prototype case is saved as a reference case.
3) If a new case does not match any existing case family, a new case family will be generated automatically and the case is stored as the prototype case in the case library.
4 Process of CBR in Fixture Design
According to the characteristics of fixture design, the basic information of the fixture design such as the name of fixture, part, product and the designer, etc. must be input first. Then the fixture file is set up automatically, in which all components of the fixture are put together. Then the model of the workpiece is input or designed. The detailed information about the workpiece is input, the case index code is set up, and then the CBR begins to search the analogical cases, relying on the similarity measure, and the most analogical case is selected out. If needed, the case is adapted to satisfy the current design, and restored into the case library. The flowchart of the process is shown in Fig.3.
5 Illustrating for Fixture Design by CBR
This is a workpiece (seeFig.4). Its material is 45# steel. Its name is seat. Its shape is block, and the product batch size is middle, etc. A fixture is turning fixture that serves to turn the hole, which needs to be designed.
The value of feature, attribute, case index code and weight of the workpiece is show n in Tab.2.
Through searching, and calculating the similarity, the case index code of the most similar case is 19325513321402000, and the detailed information is show n in Tab. 3.
The similarity is calculated as follows:
So the value of similarity measure of the fixture which needs to be designed with the most analogical case in case library is 0.806, and the structure of the most analogical case is shown in Fig.5.
After having been substituted the component, modified the locating model and clamp model, and adjusted the relative dimension, the new fixture is designed, and the figure is show n in Fig.6.
As there is not the analogical fixture in the case library, the new fixture is restored in to the case library. The case index code is 19325513311402000.
6 Conclusion
CBR, as a problem solving methodology, is a more efficient method than an expert system to simulate human thought, and has been developed in many domains where knowledge is difficult to acquire. The advantages of the CBR are as follows: it resembles human thought more closely; the building of a case library which has self learning ability by saving new cases is easier and faster than the building of a rule library; and it supports a better transfer and explanation of new knowledge that is more different than the rule library. A proposed fixture design framework on the CBR has been implemented by using Visual C ++, UG/Open API in U n graphics with Oracle as database support, which also has been integrated with the 32D parametric common component library, common components library and typical fixture library. The prototype system, developed here, is used for the aviation project, and aids the fixture designers to improve the design efficiency and reuse previous design resources.
中文
應(yīng)用和發(fā)展
基于實(shí)例推理的夾具設(shè)計(jì)
摘要:基于案例的設(shè)計(jì)(CBD)方法,夾具相似性體現(xiàn)在兩個(gè)方面:功能和結(jié)構(gòu)信息。然后,計(jì)算機(jī)輔助夾具設(shè)計(jì)系統(tǒng)是建立在基于案例的推理(CBR),并對(duì)工件和夾具結(jié)構(gòu)的主要特征屬性作為案例索引代碼用于檢索類似的情況,并且結(jié)構(gòu)和案例庫(kù)的層次關(guān)系建立商店,同時(shí),算法在檢索相似案例知識(shí)的引導(dǎo),案例策略適應(yīng)在離子和案例庫(kù)中案例驗(yàn)證如果貓離子數(shù)是用來(lái)區(qū)分相似的案例,該系統(tǒng)在某工程中的應(yīng)用提高了設(shè)計(jì)效率,取得了良好的效果。
關(guān)鍵詞:基于案例的推理;夾具設(shè)計(jì);計(jì)算機(jī)輔助設(shè)計(jì)(CAD)
夾具裝置,作為夾持工件的安全的目的地,并且維護(hù)方面的工具的一致性關(guān)系,而加工。因?yàn)閵A具的結(jié)構(gòu)取決于產(chǎn)品的特點(diǎn)以及在企業(yè)中的地位的計(jì)劃,它的設(shè)計(jì)制造過(guò)程中的瓶頸,制約提高效率和交貨期。夾具的設(shè)計(jì)是一個(gè)復(fù)雜的過(guò)程,根據(jù)經(jīng)驗(yàn),需要一系列的設(shè)計(jì)問(wèn)題包括工件的結(jié)構(gòu)綜合定性知識(shí),制造過(guò)程與加工環(huán)境。這也是一個(gè)使用傳統(tǒng)的CAD工具時(shí),非常耗費(fèi)時(shí)間的工作(如詞素文字,CATIA、PRO/E),在進(jìn)行詳細(xì)設(shè)計(jì)的任務(wù)是好的,但提供很少的利益利用以往設(shè)計(jì)經(jīng)驗(yàn)和資源,這正是提高效率的關(guān)鍵因素。基于案例的推理(CBR)方法適應(yīng)以前解決的情況下為以下四個(gè)步驟建立一個(gè)新的問(wèn)題的解決方案:檢索,重用,修改,并保留[ 1 ]。這是一個(gè)比一個(gè)專家系統(tǒng)模擬人類思維的運(yùn)用更有用的方法,因?yàn)樘岢鲱愃频陌咐蛻?yīng)用了一些修改似乎是自我解釋和更直觀的人類。于是各種基于案例的設(shè)計(jì)支持工具已經(jīng)開發(fā)了眾多的地區(qū)[ 2-4 ],如在注射成型設(shè)計(jì),建筑設(shè)計(jì),壓鑄模的設(shè)計(jì),工藝規(guī)劃,并在夾具設(shè)計(jì)。太陽(yáng)用六個(gè)數(shù)字組成,包括工件形狀,機(jī)械部分,該索引編碼套管,第一定位裝置,定位裝置和夾緊裝置第二[ 5 ]。但是該系統(tǒng)不能用于除鉆夾具其他燈具類型,并不能解決同一索引的代碼存儲(chǔ)問(wèn)題需要被保留,而CBR [ 6 ]是很重要的。
1 一個(gè)案例檢索和案例庫(kù)的建設(shè)
1.1例指數(shù)
案例索引應(yīng)該由工件的所有特征,是區(qū)別于不同的夾具。使用所有這些會(huì)使操作方便。因?yàn)榈貐^(qū)的形式是多種多樣的,并在企業(yè)的制造技術(shù)的要求也不斷發(fā)展,作為案例索引的許多功能將使搜索速度慢,和主要特點(diǎn)不重要,因?yàn)橄鄬?duì)權(quán)重分配給每個(gè)特征,必須減少。另一方面,它是很難包括案例索引的所有功能。
因此,從實(shí)用化、快速的設(shè)計(jì)需求,案例索引包括工件的主要特征和夾具結(jié)構(gòu)。案例索引代碼由16位數(shù):13位數(shù)的情況下識(shí)別號(hào)案件的特點(diǎn)和3個(gè)數(shù)字。
前13個(gè)數(shù)字代表13個(gè)特點(diǎn)。每個(gè)數(shù)字對(duì)應(yīng)的特征的屬性,這可能是一個(gè)“*”,“?”,“1”,“2”,……,“A”,“B”,……,“Z”,……,等等。其中,“*”是指任何人,”?“不,”0“沒(méi)有什么。
系統(tǒng)規(guī)則:夾具,工件形狀,定位模型不能“*”或“?“。當(dāng)系統(tǒng)的設(shè)計(jì),該三個(gè)項(xiàng)目的屬性信息,沒(méi)有這些選項(xiàng),這意味著一定的屬性必須選擇。
最后三位數(shù)字是如此的識(shí)別號(hào)碼,即案例特征的13位數(shù)字是相同的,和這三個(gè)數(shù)字的位數(shù)是用來(lái)區(qū)分。
該系統(tǒng)還規(guī)定:“000”是一個(gè)原型的情況下,這是用于檢索,和其他案件的“001”,“002”,……,這是用于要搜索的設(shè)計(jì)者參考案例。如果偶爾他們當(dāng)中的一個(gè)需要改變?yōu)樵偷那闆r下,首先必須將改變一個(gè)“000”,和前改為自動(dòng)參考案例。
的情況下,指數(shù)代碼結(jié)構(gòu)如圖1所示。
1.2例庫(kù)
案例庫(kù)包含預(yù)定義的眾多案例。案例的表示是基于案例推理的最重要的問(wèn)題。所以復(fù)合指標(biāo)代碼,。
1.3個(gè)層次的案例
夾具的結(jié)構(gòu)相似性表示作為整個(gè)夾具的相似性,相似性和相似性成分組成。所以整個(gè)夾具實(shí)例庫(kù),組件的案例庫(kù),案例庫(kù)的夾具元件形成相應(yīng)。通常整個(gè)夾具設(shè)計(jì)信息是由工件信息和工件程序的信息,這是專門設(shè)計(jì)滿足功能需求的夾具。整個(gè)夾具實(shí)例是由功能部件,這是由功能部件的名稱和編號(hào)描述。組件的情況下代表成員。(功能組件和其他結(jié)構(gòu)部件,主要驅(qū)動(dòng)參數(shù),數(shù)量,和他們的約束關(guān)系。)的組件的情況下(夾具的最低層)的功能組件和其他組件的結(jié)構(gòu)。在現(xiàn)代燈具設(shè)計(jì)有參數(shù)化標(biāo)準(zhǔn)件和常用的非標(biāo)準(zhǔn)件的大量。這樣的組件的情況下,圖書館應(yīng)記錄,它使他們這樣的規(guī)格參數(shù)。
2.案例檢索策略
基于案例的夾具設(shè)計(jì),最重要的是相似性檢索,以獲得最相似的情況下,和降低的時(shí)間適應(yīng)。根據(jù)夾具的設(shè)計(jì)要求,案例檢索策略相結(jié)合的方式,最近的鄰居和知識(shí)引導(dǎo)。那是,深度優(yōu)先搜索,然后在廣度;知識(shí)引導(dǎo)策略意味著對(duì)從根到對(duì)象的知識(shí)規(guī)則的搜索,這是由夾具類型首先搜索,然后通過(guò)工件的形狀,然后通過(guò)定位方法。例如,如果指數(shù)代碼包括夾具式銑床夾具,搜索是為所有的銑削夾具,然后箱工件形狀,對(duì)1plane + 2pine定位方法第三。如果沒(méi)有匹配的話,那么對(duì)深度搜索停止,并返回上一層,和檢索所有相關(guān)案件的廣度。
檢索算法:
1)根據(jù)夾具的案例庫(kù)的案例索引信息,搜索相關(guān)案例庫(kù);
2)的情況下,指數(shù)代碼與每個(gè)案例的案例庫(kù)代碼匹配,并計(jì)算出的值的相似性度量;
3)的相似性度量的順序,最大的價(jià)值,這是最相似實(shí)例。
兩起案件之間的相似性是基于兩個(gè)案例之間的相似性。特征。相似性度量的計(jì)算取決于類型的特征。相似的值可以計(jì)算出的數(shù)值,例如,與50公斤的重量compareworkpiece 20公斤。值也可以計(jì)算非數(shù)值之間,例如,現(xiàn)在第一個(gè)13位數(shù)代碼都是非數(shù)值索引。一個(gè)夾具的相似性度量的計(jì)算如下:
其中S是當(dāng)前夾具的相似性度量,n是指數(shù)的特征數(shù)量,是每個(gè)特征的重量,是用在案例庫(kù)中案例屬性的第j個(gè)相對(duì)特征的i2th特征屬性的相似性度量。同時(shí),,價(jià)值數(shù)如下:
的第i個(gè)特征指標(biāo)屬性的價(jià)值在哪里,是在案例庫(kù)的第j下相對(duì)i特征屬性的值。
所以選擇類比夾具的兩種方法。一是要設(shè)置的值。如果目前的情況下,相似度量值均小于給定值,這些案件將不被選擇作為類比案例。當(dāng)案例庫(kù)的初步建立,只有少數(shù)情況下,該值可設(shè)定較小。如果有相似事例很多,應(yīng)該得到更大的價(jià)值。另一個(gè)是建立類推的案件數(shù)量(如10),這是最大的值的排序順序的相似性度量。
3.例適應(yīng)和案例存儲(chǔ)
3.1例適應(yīng)
在夾具設(shè)計(jì)的相似實(shí)例的修改包括以下三例:
1)組件的替代和組件;
2)調(diào)整組件的尺寸和成分而形成仍然;
3)模型的設(shè)計(jì)。
如果零件和夾具組件是常見(jiàn)的對(duì)象,他們可以編輯和刪除,替換工具,已被設(shè)計(jì)。
3.2例存儲(chǔ)
在案例庫(kù)中保存新的夾具實(shí)例之前,設(shè)計(jì)者必須考慮的是節(jié)約寶貴的。如果不增加系統(tǒng)的知識(shí),不需要存儲(chǔ)在案例庫(kù)。如果它是有價(jià)值的,那么設(shè)計(jì)師就必須分析它,拯救它是否是存儲(chǔ)為原型的情況下,或作為參考的情況下在。一個(gè)原型是一個(gè)表示可以描述個(gè)案家庭的主要特點(diǎn)。一例家族是指那些案件指標(biāo)代碼庫(kù)中的情況下,具有相同的前13個(gè)數(shù)字和不同的最后三位數(shù)字。一個(gè)原型的情況下,最后三位數(shù)字是“000”。參考的情況下,屬于同一家族的原型的情況下,由不同的最后三位杰出的。
從已解釋的概念,采用以下策略:
1)如果一個(gè)新的案例匹配任何存在的情況下,家庭,它具有相同的前13個(gè)數(shù)字作為一個(gè)現(xiàn)有的原型實(shí)例,所以并不是因?yàn)樗怯稍偷那闆r下,很好的體現(xiàn)?;蛑皇亲鳛橐粋€(gè)參考案例(最后3位數(shù)字是不是“000”,并與別人不一樣)在案例庫(kù)。
2)如果一個(gè)新的案例匹配任何存在的情況下,家庭和被認(rèn)為是更好的代表這種情況下的家庭比以前的原型實(shí)例,然后原型以新案子取代,和以前的原型的情況下被保存作為參考的情況下。
3)如果一個(gè)新的案件不符合任何現(xiàn)有情況的家庭,一個(gè)新的案例的家庭將自動(dòng)生成和案例存儲(chǔ)在案例庫(kù)的原型實(shí)例。
4 CBR的夾具設(shè)計(jì)過(guò)程
根據(jù)夾具設(shè)計(jì)的特點(diǎn),對(duì)夾具設(shè)計(jì)如夾具,部分的名稱的基本信息,產(chǎn)品設(shè)計(jì)師,必須先輸入等。然后夾文件自動(dòng)設(shè)置,其中所有的夾具組件放在一起。然后對(duì)工件的模型輸入或設(shè)計(jì)。輸入的工件的詳細(xì)信息的情況下,指數(shù)代碼設(shè)置,然后開始搜尋相似案例推理,依靠的相似性度量,并篩選出最相似實(shí)例。如果需要的話,情況來(lái)滿足當(dāng)前的設(shè)計(jì),并恢復(fù)到案例庫(kù)。該過(guò)程的流程圖如圖3所示。
5CBR的夾具設(shè)計(jì)說(shuō)明
這是一個(gè)工件(seefig。4)。材料為45 #鋼。它的名字是座。它的形狀是塊,和產(chǎn)品的批量大小中等,等。一個(gè)夾具,夾具,用于把車孔,需要設(shè)計(jì)。
特征,屬性值,指數(shù)代碼和工件的重量在選項(xiàng)卡顯示2 N。
通過(guò)搜索,計(jì)算相似度,最相似的案例的情況下,指數(shù)代碼為19325513321402000,和詳細(xì)信息顯示在標(biāo)簽3
相似度的計(jì)算方法如下:
因此,需要設(shè)計(jì)的最為相似的案例案例庫(kù)的夾具相似性度量的值是0.806,和最相似實(shí)例的結(jié)構(gòu)如圖5所示。
經(jīng)取代的組件,修改了定位模型和夾具模型,和調(diào)整的相對(duì)尺寸,設(shè)計(jì)新的夾具,和圖顯示在圖6。
因?yàn)闆](méi)有在案例庫(kù)中相似的夾具,夾具的新恢復(fù)的案例庫(kù)。的情況下,指數(shù)代碼為19325513311402000。
6 結(jié)論
CBR,作為一個(gè)解決問(wèn)題的方法,是一種比模擬人類思維的專家系統(tǒng)更有效的方法,并已在許多領(lǐng)域的知識(shí)是很難獲得的開發(fā)。案例推理方法的優(yōu)點(diǎn)如下:它類似于人類的思想更加緊密;一個(gè)案例庫(kù),通過(guò)節(jié)約新病例的自我學(xué)習(xí)能力更容易,比一個(gè)規(guī)則庫(kù)的建設(shè)速度更快的建設(shè);并支持更好的轉(zhuǎn)移和新知識(shí)的解釋,比規(guī)則庫(kù)的不同。提出了一種對(duì)CBR的夾具設(shè)計(jì)框架已用Visual C++實(shí)現(xiàn),在U N圖形以O(shè)racle為數(shù)據(jù)庫(kù)支持UG/Open API,也已與三維參數(shù)化通用組件庫(kù)集成,通用組件庫(kù)和典型夾具庫(kù)。這里開發(fā)的原型系統(tǒng),,用于航空項(xiàng)目,和艾滋病的夾具設(shè)計(jì)人員提高設(shè)計(jì)效率和重用以前的設(shè)計(jì)資源。