Keywords

1 Introduction

Metal casting is a vital part of industrial production. It is generally used to develop near net shape component. Nowadays, the theory of direct/net shape manufacturing is attaining great importance in terms of lead time and cost reduction [1].

The die casting is an economical and efficient method offering a wide range of shapes than any other process. During manufacturing a metal part, the shapes of the metals depend upon the injection temperature and liquid level. Die casting parameters like injection temperature, moisture level, injection pressure, and liquid level by using embedded controller. In the conventional system, the die casting parameters are measured by manual. The process of die casting involves five main stages which are clamping, injection, cooling, ejection, trimming. Basically, non-ferrous alloys are die casted like alloys of aluminium, alloys of copper, alloys of magnesium, and alloys of zinc. Die casting machines used are of two types—one is hot chamber machine (alloys with low melting temperature are die casted like zinc) and cold chamber machine (alloys with high melting temperature are die casted, like aluminium). Several engine components and pump components are manufactured using die casting.

Accuracy of die casting is affected by many factors like injection pressure too high, injection temperature too high, cooling time too short, low pouring temperature, clamp force too low, ejection force too high, non-uniform cooling rate.

To recognize the significant controllable process parameters which influence the quality of the casted products, it is essential to understand and find out the relationship among these controllable process parameters and quality of the casted products. The selection of the suitable process parameters for making qualitative casted products is one of the primary challenges in casting industry. It is very difficult to set appropriate process parameters with consideration of multiple performance characteristics and to depend on large amount of experimental operations. Therefore, it is important to effectively obtain the optimal process parameters to reduce trial and error time and consuming cost in the casting process [2].

Fuzzy reasoning is one of the prevailing tools which is used for modelling and governing undefined multi-criterion conclusion-making problems. It is grounded on the notion to obtain a set of association between inputs and outputs describing a procedure. So, the technique of fuzzy modelling conveys a nonlinear course better than several existing process [3]. Fuzzy logic techniques have been implemented by a number of researchers in their conclusion-making glitches. A fuzzy logic controller for forecasting the level regulator of molten steel in strip casting methods was created by Park and Cho [4]. With the aid of orthogonal array fuzzy linguistic approach, a general optimization system was implemented in the CNC turning operation for surface by Lan [5]. With the help of fuzzy-based Taguchi technique, Hsiang et al. [6] discovered the optimal process parameters that were maximizing the multiple performance characteristic index (MPCI) for hot extrusion of AZ31 and AZ61 magnesium alloy bicycle carriers [7, 8]. So, in the present study an effort has been made to create fuzzy logic controllers for estimation of quality of casting products with some provided set of process parameters like injection temperature, injection pressure, and time. It was originated that the predicted and measured values are in close proximity [912]. The closeness of results implies that the fuzzy modelling technique is efficient to estimate the quality of the patterns used for die casting.

1.1 Fuzzy Logic Overview

Mamdani method is the most used fuzzy inference. Initially, one of the first fuzzy processes to regulate a steam engine and boiler was developed by Mamdani and Assilia in [1315]. A fuzzy logic arrangement consisting of three inputs and two outputs is developed for this study which is shown in Fig. 39.1 [16]. Following steps are followed to execute Mamdani fuzzy inference:

Fig. 39.1
figure 1

Structure of three inputs two outputs’ fuzzy logic

  1. (a)

    fuzzification of the input variables,

  2. (b)

    rule output are evaluated and aggregated, and

  3. (c)

    defuzzification.

Mamdani fuzzy rule is described as:

$$\begin{aligned} & {\text{Rule}}\,1\text{:}\,{\text{If}}\;y_{1} \,{\text{is}}\,M_{1} ,\;y_{2} \,{\text{is}}\,N_{1} \,{\text{and}}\,y_{3} \,{\text{is}}\,O_{1} \,{\text{then}}\,z_{1} \,{\text{is}}\,P_{1} \,{\text{and}}\,z_{2} \,{\text{is}}\,Q_{1} \, {\text{else}} \\ & {\text{Rule}}\,2\text{:}\,{\text{If}}\;y_{1} \,{\text{is}}\,M_{2} ,\;y_{2} \,{\text{is}}\,N_{2} \,{\text{and}}\,y_{3} \,{\text{is}}\,O_{2} \,{\text{then}}\,z_{1} \,{\text{is}}\,P_{2} \,{\text{and}}\,z_{2} \,{\text{is}}\,Q_{2} \, {\text{else}} \\ & {\text{Rule}}\,n\text{:}\,{\text{If}}\;y_{1} \,{\text{is}}\,M_{n} ,\;y_{2} \,{\text{is}}\,N_{n} \,{\text{and}}\,y_{3} \,{\text{is}}\,O_{n} \,{\text{then}}\,z_{1} \,{\text{is}}\,P_{n} \,{\text{and}}\,z_{2} \,{\text{is}}\,Q_{n} \, {\text{else}} \\ \end{aligned}$$

where Mi, Ni, Oi, Pi, and Qi are termed as fuzzy subsets which are described by the analogous membership function [1720].

2 Experimental Work

By performing the experiment with single variable at a time approach, the span of the particular process parameters is determined. The designed symbols and ranges of the process parameters are provided in Table 39.1. In the present study, the response parameters considered are surface roughness (SR) in µm and linear shrinkage (LS) in percentage.

Table 39.1 Factors and levels used in the experiments

The primary experiments were conducted using nine test trials; these nine test trials were designed on the basis of L9 orthogonal array. The reason of choosing L9 orthogonal array is that shorter arrays are not capable of producing ample data to appropriately analyse the method since they are too simple and longer arrays would create complexity for the trial method. The response of assigned L9 orthogonal array is shown in Table 39.2. In order to consider the three unlike performance characteristics in Taguchi method, corresponding values of the surface roughness (SR) and linear shrinkage (LS) are processed by the fuzzy logic unit.

Table 39.2 L9 orthogonal array used in the primary experiments

2.1 Fuzzy Logic Modelling

In this work, three inputs and two outputs are used to evolve a fuzzy controller. Pouring temperature (PT), injector pressure (IP), and plunger velocity (PV) are three input variables, and surface roughness (SR) and linear shrinkage (LS) are two output variables. To make the fuzzy rule base, Mamdani fuzzy “If-Then” declarations for 27 rules has been considered, and to execute inference of max–min operation, Mamdani implication method has been adopted. To change fuzzy data to crisp response values, the centre of gravity method has been used by the defuzzifier. By acquiring triangular membership function, fuzzy division of input and output variables is carried out. Block diagram of fuzzy controller is shown in Fig. 39.2. This has been developed by MATLAB.

Fig. 39.2
figure 2

Block diagram of fuzzy controller

Membership functions of the three inputs are small (S), medium (M), and large (L), and membership functions of the two outputs are very small (VS), small (S), medium (M), large (L), and very large (VL). Input and output functions are shown in Figs. 39.3 and 39.4. Table 39.3 shows the fuzzy intervals for input and output for forecasting the response, namely surface roughness (SR) and linear shrinkage (LS) of the casted products in die casting process. By taking into account the max–min combinational operation and with provided set of inputs, experimental results are originated on which these fuzzy rules are established. A non-fuzzy output is provided by the fuzzy reasoning of these rules as shown in Fig. 39.5.

Fig. 39.3
figure 3

Membership function of input variables: a pouring temperature, b injector pressure, and c plunger velocity

Fig. 39.4
figure 4

Membership function of output variables: a surface roughness and b linear shrinkage

Table 39.3 Input output and fuzzy intervals
Fig. 39.5
figure 5

Fuzzy inputs and prediction of outputs

Validation of Fuzzy Model Prediction

Three experiments were performed with different combination of the input process parameters which were not incorporated in the training set (randomly chosen). In Table 39.4, the corresponding experimental responses are measured and listed. From the fuzzy controller, the response values are again acquired for the same set of input process parameters. Then, to find out the extent by which the fuzzy controller is working, the percentage of error was calculated. The experimental and the predicted result obtained from the Mamdani fuzzy model has been plotted on graph as shown in Fig. 39.6. Also, bar graph has been drawn between experimental and fuzzy predicted data as shown in Fig. 39.7.

Table 39.4 Comparison of results between the actual and the predicted values
Fig. 39.6
figure 6

Predicted surface roughness and linear shrinkage by fuzzy logic in relation to parameters change: a pouring temperature and injector pressure and b pouring temperature and injector pressure

Fig. 39.7
figure 7

Prediction of a surface roughness and b linear shrinkage

3 Discussion

In this work, to predict the quality characteristics, namely surface roughness and linear shrinkage of casted product in die casting process, a fuzzy logic controller using Taguchi orthogonal array design has been developed. Prediction results show that Mamdani inference was on the basis of maximum error calculated. So, for improving the quality and reliability of the entire process, it has proved to be an effective and powerful tool. By enhancing the number of experiments, the anticipated values of fuzzy output can be further precisely predicted. It is also very useful and can also be used for the optimization of multiple performance quality process parameters and casted product material, to test the ability of the expert systems in prediction of the outputs.

4 Conclusion

From the present study, resulting conclusions are summarized as follows:

  • The capability of generalization and prediction of pattern characteristics within the range of experimental data such as surface roughness and linear shrinkage of casted product in die casting process have been shown with the help of Mamdani fuzzy inference.

  • Industries which are using the experience of skilled workers can use a set of fuzzy rules which further result in improvement in forecasting ability of the process.

  • For automation of the process, this methodology seems to be beneficial.