Dan Li
An integrated method for matching forest machinery and a weight-value adjustment
Dan Li
Proper matching of forestry machinery is important when raising mechanization levels for forestry production. In the matching process, forestry machinery needs not only expertise, but also improved methods for solving problems. I propose combination of case-based reasoning (CBR) and rule-based reasoning (RBR) by calculating the similarity of quantitative parameters of various forestry machines in an analytical and hierarchical process. I calculated the similarity of machinery used in forest industries to enable better selection and matching of equipment. I propose a weight-value adjusting method based on sums of squares of deviations in which the individual parameter weights were modified in the process of application. During the process of system design, I put forward a design method knowledge base and generated a dynamic web reasoning framework to integrate the processes of forest industry machinery selection and weight-value adjustment. This enables expansion of the scope of the complete system and enhancement of the reasoning efficiency. I demonstrate the validity and practicability of this method using a practical example.
forest industry, machinery selection and matching, weight-value determination, reasoning process, integration method
China is a large producer of forest products. The levels of forest industry production and mechanization are in the forefront of the world. Although much forestry machinery has been created (Xiang 2003; Huang 2004; Shen 2005), mechanization of forest industries is still low in China in comparison levels in industrially developed countries. Further development of machinery and mechanized production should be promoted in the production of forest products in China.
Classification of forestry and woodworking machines in China has been proposed (Ma 2009). This method divides forestry and woodworking machines into three industries: (1) artificial board; (2) furniture; and (3) timber production. The low levels of mechanization in forest plantation management and timber production in China have resulted in low productivity levels. This has seriously restricted the efficiency of forest production. To enhance mechanized production, guidance is needed in the selection and matching of forestry machinery, and in mechanical maintenance. As various types of forestry production machinery are adapted to different production environments, it is necessary to match the characteristics of machines with their intended production environments to maximize results. In order to speed up the process of forestry mechanization in China, the demands of using scientific management theory and forestry mechanization technology in actual forestry production are becoming more and more pressing. During the promotion, the consultation and guidance from specialists are needed. And the specialists of forestry machinery selecting and matching can give guidance in this case.
The first expert system, DENDRL, in 1965 (Massart and Meuter 2008) has been widely used in mechanical maintenance, mechanical matches, mechanical fault diagnosis, and mechanical design (Aamodt and Plaza 1994; Chang and Joo 2006; Chang et al. 2008; Tsai and Chiu 2007). Rule-based reasoning (RBR) and case-based reasoning (CBR) are techniques in expert systems. RBR uses induction rules to determine, if a new problem should be inspected further. Based on similarity matching, CBR finds the case that is most similar to the new problem (Chou 2009). The core of CBR is to solve the new problem by reusing previous cases to improve reasoning efficiency. The reasoning process of CBR includes the following steps: retrieve, reuse, revise and retain. Retrieving locates similar previous cases from a Base Case. Reusing infers a proper solution to the current problem byreusing similar previous cases. Revising is to put forward solutions where necessary. Retrieving is the most important step in CBR. By retrieving from a base case, the new situation (new case) and the description of problems in the previous case are matched. The similarities between them are calculated, and based on the solutions from similar previous cases, a new solution is reasoned and generated for the new case (Guo 2012). Case retrieval calculates the similarity between new and previous cases and the similarity of the two is the difference in value between cases. One object usually has three types of values, numerical, range and fuzzy values. Three types of values form six different similarity calculation problems. The formula for each similarity calculation problem is shown in Table 1.
Table 1: Formulae table counting the degree of similarity by the weighted average method
RBR and CBR have been widely used in designing machinery systems, and many studies have assessed development of expert systems using RBR and CBR. In the field of mechanical design, an expert system to aid design of ship engine room automation was developed (Kowalski et al. 2005). Gao (2011) proposed a CBR method for machining fixture design and designed an integrated system for machining fixtures based on VR A case-based parametric system for testing turntables was designed and the system produced automatic and intelligent designs for turntables (Liu and Xi 2011). Li et al. (2012) built a CBR-Based CAD System for Subframe Design of Aerial Work Trucks and proposed a system framework and implementation method for a subframe CAD system based on CBR. Yang et al. (2004) designed a system for fault diagnosis of induction motors, an innovative approach to integrate CBR with Petri net in the field of fault diagnosis. Yang et al. (2012) developed a web-oriented expert system to save time in fault diagnosis of gear boxes and created an expert solution to achieve precise and quick maintenance.
As forestry machinery developers offer various types of products, it is difficult to choose the appropriate forestry machinery at the beginning of the model selection. Users need to know methods for fault diagnosis and maintenance of equipment. By collecting and analyzing mechanical information in different processes of forestry production, this study proposes a matching reasoning algorithm and a weight adjustment method. Based on the different stages of the production processes and integration of RBR with CBR, this study establishes an expert system of forestry machinery matching which is web-based. To increase knowledge processing ability and strengthen system maintainability, I used various mechanical matching processes in a unified generation network framework environment by network integration.
Acquisition and representation of forestry machinery knowledge
The system describe here aims to integrate the mechanization processes for timber production separated into seven processes: timber felling, site preparation, cutting point, transport, planting, tending and harvesting. The system addresses machinery forditching, digging, tree-planting, felling, seedling-plugging, seedling-lifting, and traction. Knowledge induction accumulates information about these various types of machinery and is used in the process of machine-matching. Knowledge of machinery is categorized as quantitative parameters (CBR) and qualitative parameters (RBR).
RBR parameters were defined based on machine field applications such as production processes, machine types, and operation types. These RBR parameters define the mechanical case. After defining this case, we can analyze and match machinery according to the CBR parameters of user needs. Examples of CBR parameters are the felling machine and its maximum power and speed, the biggest skid trail of felling, net timber quality, tree length, width, and height, and cost and other related properties.
The mixed knowledge representation mode was adopted in the system as follows:
IF n1and n2and … nnand (Max (N(A,Bi))>ξ) THEN Casei
In this formula, n1and n2and … nnare CBR parameters, and Max(N(A,Bi)>ξ indicates the similarity after matching with the RBR parameters. The CBR parameters for the system are shown in Table 2.
Table 3: CBR breeding process list structure and parameters
Designing the knowledge base
Integration must be considered during when designing the knowledge base. In the knowledge storage procedure, the MySQL database was used and during the matching process, quantitative parameter names and the corresponding parameter properties, as well as weights generated in the process of parameter matching are stored separately in three knowledge tables.
These three tables were created as the ‘pxjxcanshu’ table, which was used to store parameter names during the matching process and can be called the “parameter table” for short. A‘pxjxshuming’ table is used to store parameter properties during the matching process and can be called the “attributes list” for short. A ‘pxjxquanzhi’ table stores the corresponding weights of quantitative parameters during the matching process and can be called a “value table” for short. The three tables have the same structure and are used in framework integration in the reasoning process. A collective integration method is described later.
Designing mechanical-matching reasoning machines
RBR parameter matching
The RBR parameter matching process uses the method of forward reasoning to retrieve the entire knowledge base. It uses matching production rules which are composed of qualitative parameters for rules matching. According to the qualitative parameters, it is feasible to narrow the scope of knowledge in the knowledge base. The matching process is relatively simple. It is not describe here. The following is the quantitative matching process for the knowledge obtained after completion of the CBR parameter matching process.
CBR parameter matching
Parameterized cultivating machine characteristic vector: The quantitative parameters from case matching are stored in the knowledge base according to the different requirements of parameters. The quantitative parameter set is comprised of the cultivating machine’s characteristic vector:
Yinrepresents the values of different quantitative parameters. The design of quantitative parameters adopts the method of extreme value storage in the design process. Quantitative parameters which influence matching parameters are stored in the knowledge base as extreme values. For example specification of a digging machine is based on its application: the required maximum diameter and depth of the hole/trench, and the required maximum and minimum power. These matching parameters are stored. In a parametric process, n corresponds to the number of quantitative parameters in the knowledge base, so the range of n according to differences in cultivation machines. The different types of cultivation machinery i correspond to different types of matching processes. Each type of machinery includes m cultivation machinery matching feature vectors to yield a cultivation machinery matching feature vector space model:
The parameterized matching machinery vector is based on thevarying parameter area of the cultivation machinery matching feature vector space. The quantitative parameters which can meet the demands of actual matching, a user inputs, can be expressed as:
Its structure is the same as the corresponding matching feature of the cultivation machinery vector. The parameters provide the range from Min(Yin) to Max(Yin) for reference when the user input quota parameters.
In this expression, Xjis the parameter input by a user, Yijis the parameter value of each matching case. First, the user gets the matching range according to Max(Yij) and Min(Yij). Then, the user inputs the quota parameter value which corresponds to the range, and finally he calculates the similarity between matching parameters and case parameters in the knowledge base. Matching vector X and vector space Y calculates the individual similarity as σij, it generates individual similarity feature vector space:
After calculating the individual similarity, the system adopts an analytic hierarchy process (AHP). Thus, it makes the calculation of the overall similarity matching process. Each matching feature vector space Y of the cultivation machinery corresponds to each weight feature vector:
quota parameters have no effect to the whole matching process. The greater the value βij, the greater the effect of j on the overall matching process. The similarity calculation is obtained through the computation of matching machinery feature vector and every weighted distance of the cultivation machinery feature vector to determine the overall degree of similarity:
The quota parameter’s weight βij is saved in the knowledge base after being evaluated by the expert. After each matching process, the system provides a self-study function to adjust to the parameter weight. For example, sorting uses two methods: threshold value sorting and example number sorting. First, threshold value sorting sets the smallest threshold value δ for the similarity. The overall similarity obtained each time is a group of similarity coefficients. If SIM(X,Y)>δ, the corresponding case serves as an inference result. Example number sorting first sets the case number n, and orders case numbers according to the whole similarity size. Here I use the threshold sorting method, first setting the threshold number δ=0.6, when SIM(X,Y)>0.6, then sorting the corresponding cases according to the overall similarity from large to small as the inference conclusion.
Weight adjustment method
According to expert experience, weight determination can be used to investigate and analyze different matching processes. Expert weight evaluation, which adopts the individual mean value method to identify the weighting value of parameters, is used as the system default weight stored in the ‘pxjxquanzhi’table and the matching computation as the initialization value.
In the matching process, we established Xj= unknown, and it indicates that the matching factor cannot be determined in this matching process. The system will set σij=1 as the default, in such a case we could consider that Xj has no effect in this matching process, which is the effect of the smallest factor. After every matching process, βij is adopted as the weight reducing factor if Xj = unknown. According to the reduced weight value of Xj, the other matching field makes corresponding increments to the weighted values.
important role in the matching process. So we could use the ratio range,
to define a different parameter I’s role in this matching process. That is, the parameter changes can reflect entire vector changes, so the following expression is used to make adjustment to βi:
System integration process
The purpose of the overall matching process is to integrate seven classes of forest mechanical matching systems where quantitative and qualitative parameters are of different types. Firstly, the integration process is defined by machinery quantitative parameters in the parameter table and this is used to retrieve the corresponding parameter entry which is defined in Table 1. Then we use the parameter sets to define the frame structure in a dynamic page and to retrieve the individual similarity calculation matching vector space according to the quantitative parameters of the attributes list. After a user inputs matching vectors, an individual similarity is calculated and then the corresponding weights are retrieved to calculate the overall similarity in the weight table. The detailed integration process is described in the following:
(1) After the selection of all qualitative parameters, a case set composed of a number of cases is obtained. The value of case set is stored in a two-dimensional array. The qualitative parameter name in the parameter table is retrieved to generate an array as Cs1[]. Using the number m of Cs1[] length matching qualitative parameters and using a m × 3 table generated by the FOR LOOP, the table of the reasoning integration pages is dynamically generated. The first column of the table contains the name of matching parameters generated by the array of Cs1[].
(2) In the second column of the table, a text box is dynamically generated through circular definition for the user’s input goal actual parameters<input name="text <%=i%>"type="text" value="unknown">. In the third column of the table, each parameter of the maximum and minimum values are retrieved in the base case corresponding to minimum and maximum parameters as input information for user reference. If the user cannot determine the parameters or has no relevant parameter for the matching process, the user can enter the default unknown, the system will convert all input parameters and the similarity corresponding to the each case as 1.
(3) After all parameters have been entered, the individual similarity is first calculated according to the design of inference. The weight value is retrieved from the weight value table according to the fields in Cs1[] and the overall similarity is calculated.
(4) After calculating the overall similarity, the case which has similarity above 0.6 is selected in accordance with descending order of sorting for output. In the page, if the user is satisfied with the matching process then he can decide whether to adjust the weighting values in the matching process.
Take the digging machine matching as an example of matching cases Y and matching machinery feature vector X, which feature vector is shown in Table 3.
Table 3: Experimental inputs of digging machine matching
Quantitative parameters in the case base case matrix composition:
The user inputs feature vector X, and receives the input matching vector: X=(50 95 170 50 - -).
According to the formula (4), we calculate individual similarity of the each quantitative parameter between the input feature vector X and case vector space Y:
According to expert evaluation, the corresponding weight value feature vector β=(0.2 0.2 0.2 0.2 0.05 0.05) calculatesω=(0.538 0.692 0.786 0.558 0.626), the overall similarity. We can ensure that the threshold δ=0.6 is met. After sorting, the greatest similarity is Y3. Finally, users decide if they are satisfied with this matching process and if they require adjustments to the weighting values. If the users are satisfied with the matching process, then we can adjust the assigned weights and set the value η=0.02. The system will set β5=β5-η=0.03 and β6=β6-η=0.03 according to X5= unknown and X6= unknown; According to expression (8) the residual weight values β1=0.208; β2=0.211; β3=0.210; β4=0.211 are adjusted. After the adjustment, β=(0.208 0.211 0.210 0.211 0.03 0.03) will be stored in the weight table.
By analyzing the forestry machinery in the production process, we established and realized an expert system of machinery selection and matching that integrates seven classes of forestry machinery and is based on network architecture. Therefore, we can systematically integrate the weight value adjusting method based on the sum of squared deviations. This enables adjustment of the weight value knowledge base in every matching process and more accurate and scientific representation of the matching process. In the realization process, we adopt the structure of open source framework for development. In this way, the calculation process can become more convenient and its practical value can be realized.
Aamodt A, Plaza E. 1994. Case-based reasoning, foundation issues, methodological variations, and system approaches. Arti fi cial Intelligence Communications, 7(1): 39–59.
Bergmann R. 1999. Developing industrial case-based reasoning application: The INRECA methodology. Lecture Note in Computer Science. Berlin: Springer-Verlag.
Chang KH, Joo SH. 2006. Design parameterization and tool integration for CAD-based mechanism optimization. Advances in Engineering Software, 37(12): 779–796.
Chang PC, Liu CH, Lai RK. 2008. A fuzzy case-based reasoning model for sales forecasting in print circuit board industries. Expert Systems with Applications, 34(3): 2049–2058.
Chou JS. 2009. Web-based CBR system applied to early cost budgeting for pavement maintenance project. Expert Systems with Applications, 36(2): 2947–2960.
Guo Y, Hu J, Peng YH. 2012. Research of new strategies for improving CBR system. Artificial Intelligence Review, 42(1): 1-20
Huang LH, Qin TF, Ohira T. 2004. Studies on preparations and analysis of essential oil from Chinese fir. Journal of Forestry Research, 15(1): 80-82.
Kowalski Z,Meler-Kapcia M,Zieliński S, Drewka MZbigniew K, Maria M, Stefan Z, Marcin D. 2005. CBR methodology application in an expert system for aided design ship’s engine room automation. Expert Systems with Applications, 29(2): 256-263.
Li Q, Liu XH, Liu YH, Yin JL. 2012. A CBR-based CAD system for subframe design of aerial work trucks. Lecture Notes in Electrical Engineering, 141: 389-396.
Liu QS, Xi JT. 2011. Case-based parametric design system for test turntable. Expert Systems with Applications, 38(6): 6508-6516.
MA Y. 2009. Discussion about classification methods of forestry and woodworking machines in China. Forestry Machinery & Woodworking Equipment, 37(1): 4-7. (in Chinese)
Massart T, Meuter C. Van Begin L. 2008. On the complexity of partial order trace model checking. Information Processing Letters, 106(3): 120-126.
Peng GL, Chen GF, Wu C, Xin H, Jiang Y. 2011. Applying RBR and CBR to develop a VR based integrated system for machining fixture design. Expert Systems with Applications, 38(1): 26–38.
Shen J, Zhao L, Liu Y. 2005. The sampling apparatus of volatile organic compounds for wood composites. Journal of Forestry Research, 16(2): 153?154.
Tsai CY, Chiu CC. 2007. A case-based reasoning system for PCB principal process parameter identification. Expert Systems with Applications. 32(4): 1183–1193.
Xiang HL, Luo JR, Xiao ZH. 2003. Study on the new materials for fiberboard refiner plate of defibrator. Journal of Forestry Research, 14(1): 89-92.
Yang B, Jeong S, Oh Y, Tan A. 2004. Case-based reasoning system with Petri nets for induction motor fault diagnosis. Expert Systems with Applications, 27(2): 301–311.
Yang ZL, Wang B, Dong XH, Liu H. 2012. Expert system of fault diagnosis for gear box in wind turbine. Systems Engineering Procedia, 4:189–195.
2013-09-09; Accepted: 2014-03-11
DOI 10.1007/s11676-014-0508-4
Project funding: This work was financially supported by the Fundamental Research Funds for the Central Universities Nos. DL12EB01-03, the planning subject of “the Twelfth Five-Year-Plan” in National Science and Technology Nos. 2012AA102003-2 and Heilongjiang Natural Science Fund in China Nos. F201116.
The online version is available at http://www.springerlink.com
School of Information and Computer Engineering, Northeast Forestry University, Harbin, China 150040.
E-mail: ld725725@126.com
Corresponding editor: Yu Lei
? Northeast Forestry University and Springer-Verlag Berlin Heidelberg 2014
Journal of Forestry Research2014年3期