Introduction

Squeeze casting process is a prominent casting method to achieve good mechanical properties combined with less porosity, less oxide inclusions and fine microstructure.1 The squeeze casting process is also widely applied in automobile industries as a near-net forming technology without too much subsequent processing.2,3 In particular, for the global energy crisis and the increasing demand for lightweight products, squeeze casting is an effective way to achieve energy saving and also conducive to the development of new energy vehicles.

Recently, squeeze casting has been studied widely. For example, the effects of processing variables on the fluidity of Al–Si alloy melt during squeeze casting and high-pressure rheo-squeeze casting on Fe-containing intermetallic compounds and mechanical properties of Al–17Si–2Fe-(0, 0.8) V alloys are investigated.4,5 Also, squeeze casting was used to fabricate composites, which are lightweight structural materials with potential applications in the automotive industry.6 In addition, the macrostructure such as Si phase morphology, dislocation density, mechanical properties and friction and wear properties of Al–Si–Cu–Mg alloys were studied under squeeze casting process.7 However, these works are limited to the study of squeeze casting process, and the relationship between casting process parameters and casting quality is not considered. The selected process parameters are essential for obtaining a sound casting.8 Meanwhile, for conventional engineering research approach, the effects of variables are studied by changing one parameter at a time.

Recently, some intelligent optimization algorithms or experimental methods have been introduced to analyze squeeze casting process. M. Arulraj et al. focused on parametric optimization of squeeze cast hybrid (LM24–SiCp–coconut shell ash) composite through Taguchi method and genetic algorithm.9 Sarfraz et al. investigated the effects of process parameters on mechanical and microstructural characteristics of Al 6061-SiC composite fabricated via squeeze casting and used Box–Behnken experimental design to arrange the test.10 M Thirumal Azhagan et al. developed the different grades of aluminum alloy composites by squeeze casting process and used Taguchi method to conduct the parametric optimization.11 Hassasi et al. investigated the effects of squeeze casting parameters on the mechanical properties, microstructure characteristics and wear behavior of A390 aluminum alloy based on the Taguchi method.12,13

The real-time observation of casting process is still challenging, especially for the multi-factors analyzing and quantitatively evaluating casting quality. Hence, various numerical simulation and calculation tools have been employed to predict the casting defects for the known set of process variables, without conducting the actual experiments. Krishna et al. performed numerical simulations in MAGMASOFT and combined the analysis results with actual measurements to effectively estimated IHTC.14 Li et al. took the automobile control arm as the research object, using MAGMASOFT to simulate the squeeze casting process, and predicted the position of the shrinkage cavity and shrinkage defects in the casting process accurately.15 Hu et al. introduced a novel method for predicting the particulate flow and distribution of particulate reinforced metal matrix composites in mold filling based on numerical simulation.16 Sanil et al. used squeeze casting process to replace the gravity casting method to attain better performance of the pistons and studied the component by numerical steady-state thermal analysis using ANSYS Workbench to obtain a maximum heat flux.17 Li et al. solved the casting defects of the gearbox cover. And the ProCAST was taken to simulate the squeeze casting process and predict the position of shrinkage defects accurately.18 Borlepwar, et al. utilized DOE and flow simulation to analyze shrinkage defects in high-pressure casting process.20 Pan Fan, et al. implemented the model of the wheel casting process within FLUENT, a commercial Computational Fluid Dynamics (CFD) software package. Examination and simulation of silicon macrosegregation in A356 wheel casting were studied, and porosity in A356 wheel casting was predicted.19,21 In addition, Sui et al. convinced that the development and application of numerical simulation technology in the foundry is playing an important role for designing and optimizing the casting parameters and verified that their simulation and experimental results are almost consistent.22,23 G. Ruff, T.E. Prucha, et al. also mentioned that a critical feature for the proper implementation and use of casting is the application of computer-aided process simulation and modeling.24

Based on above, more research efforts are needed for developing model, simulating and optimizing the squeeze process defects with intelligent manufacturing technology. There is a significant scope to systematically study to model, simulate and optimize the squeeze process using statistical and soft computing tools. Hence, this paper aims to propose a two-stage casting approach, virtual casting based on RSM and actual production casting, to model and optimize qualities of squeeze casting.

Modeling and Optimization Details

The steps followed to model and optimize are illustrated in Figure 1.

Figure 1
figure 1

Methodology applied for modeling and optimization.

The steps below introduce the details of the present study, including modeling and optimization of castings in squeeze casting process. Figure 2 shows the casting model.

  • Step 1 Selection of variables and levels

Figure 2
figure 2

CAD model of aluminum alloy gearbox case.

Higher squeeze pressure will have demand on high-tonnage equipment facility and more capital investment. On the other hand, low squeeze pressure might not be sufficient to eliminate the accumulated gases between die–metal interfaces, resulting in poor interfacial heat transfer.

In squeeze casting, the setting of pouring temperature should consider the squeeze casting method, casting structure, alloy composition and other factors comprehensively.25 And it will have an important impact on the casting forming quality and the service life of the die. If the pouring temperature is too low, it is easy to appear the phenomenon of the front-end metal liquid solidification in advance in the mold filling process, which not only increases the flow resistance of the metal liquid, making the mold filling difficult, but also greatly reduces the pressure effect of the punch, unable to achieve the purpose of casting solidification under high pressure. If the pouring temperature is too high, can obtain better liquidity, but at the same time, the performance of metal suction is stronger, cooling gradient grows wider, the cooling crystallization in the volume shrinkage of quantitative change is big, easy to form defects such as shrinkage and hot crack. In addition, higher pouring temperature can produce larger thermal erosion to the mold, affecting the service life. For indirect squeeze casting, because of high specific pressure, so the pouring temperature will be appropriately lowered, which can reduce the suction effect of the metal liquid and reduce its solidification process.26 The volume shrinkage can also reduce the thermal erosion of metal liquid on the mold.

The die temperature has also an important effect on casting quality.27 Too low temperatures for die will result in inadequate fluidity, cold laps on the casting surface and thermal fatigue failures in the die, whereas higher temperature cause extrusion of liquid metal at die interfaces, shrinkage and hot spots in the castings. On the other hand, high temperature might increase the solidification time. On the contrary, low temperature for die will result in premature solidification.

Filling velocity refers to the advance velocity of the punch, the metal liquid filling cavity under the pressure of the punch. It will directly affect the flow state of liquid metal. If the filling velocity is too slow, part of the metal liquid is prone to advance in the filling process solidification phenomenon, the formation of metal shell leads to extrusion pressure transmission blocked, resulting in poor compression effect. If the filling velocity is too fast, the gas in the cavity is difficult to discharge in time, and it is easy to discharge at the thickness change of the casting, at the corner and at the confluence of metal liquid turbulent flow leads to defects such as porosity and shrinkage after casting forming. For indirect squeeze casting, the punch usually pushes liquid metal through the inner gate into the mold at a lower speed at the front of the mold filling cavity, prevents metal liquid from producing gas and ensures smooth filling. At the end of filling, filling speed is usually accelerated to avoid gold the effect of pressure is weakened by the early solidification of the liquid.

The choice of input variables and decision on the operating levels are of paramount importance to establish control over the process and minimize the defects. Too wide operating range of variables may result in an infeasible solution on the response surface. Conversely, too narrow range will result in incomplete or poor information about the process.

Therefore, consulting available literature, expert’s advice from foundry personal and trial experiments conducted in the research laboratory are used to select process variables and set their operating range.

  • Step 2 Virtual casting

After determining the experimental variables and levels, Box–Behnken design (BBD) method based on spherical space design is adopted to arrange the experiments. This method tries to reflect the influence rule of each experimental factor on the casting quality with the least number of tests. Considering the difference of grid division may lead to the error of calculation results, Therefore, a total of 29 trial plans are arranged, including 5 central repeated trials. The specific experimental arrangements are presented in Table 1.

  • Step 3 Casting quality evaluation

Table 1 BBD Experimental Schemes

The evaluation index of casting defect is the key to the analysis of virtual casting experiments results. Porosity defect is a common defect in squeeze casting, which will directly affect the mechanical properties and fatigue life of the casting. In addition, the secondary dendrite arm spacing (SDAS) has an important effect on the mechanical properties of castings. Therefore, it is helpful to predict the formation of porosity and dendrite spacing during casting solidification to control casting quality. In addition, the solidification time of casting is related to the production efficiency. On the premise of guaranteeing the forming quality of the casting, make the solidification time shorter, the process cycle will be the shorter.

  • Step 4 Develop nonlinear regression models between process parameters of squeeze casting and casting defect evaluation indexes, statistical analysis and performance evaluation

The experimental data as per the design matrices shown in Table 2 are utilized to develop nonlinear regression models for the evaluation index of casting quality, namely porosity, SDAS and solidification time. The coefficients are determined initially by collecting input–output data of the process and later performing model building through regression analysis. The collected experimental input–output data are analyzed and nonlinear input–output relations are developed. The models developed have been tested for their statistical adequacy and significance with the help of ANOVA test.

  • Step 5 Multi-objective optimization of squeeze casting process parameters to attain the optimal casting quality

Table 2 Chemical Composition of Casting and Die Material

The casting with minimum defects relies mainly on best set of different casting variables. No acceptable universal standards defined yet for such combinations of squeeze casting variables. There are many optimization tools currently available and each has distinct limitations and advantages. Based on the mapping model and the multi-objective problem-solving method, the data optimization software ISIGHT and NSGA-II algorithm was used to optimize the process parameters, and the approximate optimal solution was obtained from the global, so a more accurate and effective process parameter combination scheme was proposed.

  • Step 6 Validation of squeeze casting process based on actual casting experiments

The multi-objective optimization of the casting process parameters is carried out by means of the response surface method and intelligent optimization algorithms, thus determining the optimum combination of extrusion casting process parameters, and theoretically achieving a comprehensive optimization effect for virtual casting. Then, based on the actual casting test, the validity of the process scheme was verified by testing and analyzing the casting forming quality.

Experimental Details

Materials

An engineering automobile part (that is, gearbox body) made up of A356 alloy (Al–7Si–0.3Mg) was used as the casting material. Die material is the H13 die steels. The chemical compositions of the casting ingot and die materials are tested using optical emission spectrometer analysis and the results are presented in Table 2. The cooling system used water cooling.

The ambient temperature of the casting workshop is generally about 25°C, and the interface heat transfer coefficient between the die and the atmosphere is set as 10 W/ (m2·K); There is a certain gap between the dies, so the heat between them is not equal. Set the interface heat transfer coefficient between the dies as 3000 W/ (m2·K). The interfacial heat transfer coefficient between liquid metal and die is greatly affected by temperature and pressure. In this manuscript, the interface heat transfer coefficient between the metal liquid and the die changes with temperature as shown in Figure 3.

Figure 3
figure 3

Heat transfer coefficient between liquid metal and die.

Criterion of Casting Defect Evaluation Indexes

Porosity

According to the formation mechanism of porosity, many researchers have put forward various criteria to predict porosity, including Niyama method, temperature gradient method and residual melt modulus criterion. Niyama criterion is the most popular one among these criteria. Although Niyama criterion can be better applied to the prediction of steel casting shrinkage porosity defect, but the crystallization temperature range wide, inspiratory tendentiousness of large aluminum alloy, due to the hydrogen content of the formation of shrinkage porosity defect and severe degree of influence over the influence of the casting solidification shrinkage, therefore its shrinkage prediction of shrinkage cavity defects in aluminum alloy has bigger error.29,30 The evaluation index proposed by Syvertsen and Freddy for predicting porosity defects in aluminum alloy castings was adopted in this paper. Based on the local temperature gradient and cooling rate, the local solidification time is introduced. The criterion is represented below,28,31

$$ P = {0}{\text{.325226}}\left( {\frac{{G^{{2}} \times t^{{2/3}} }}{R}} \right)^{{{-}{0}{\text{.287531}}}} $$
(1)

where P is the evaluation index of porosity defect of aluminum alloy; G is the local temperature gradient; t is local solidification time; R is the cooling rate. When the value is greater than or equal to 1, it is considered that shrinkage cavity and porosity defect will occur there.

Secondary Dendrite Arm Spacing

The secondary dendrite arm spacing (SDAS) can effectively reflect the mechanical properties of the casting. The smaller the spacing value is, the higher the density of the inner structure of the casting is, and the better the mechanical properties are. Furer–Wunderlin model was used to predict the secondary dendrite spacing of castings. The mathematical equation of the model is represented below,32

$$ \lambda = {5}{\text{.5}}\left( {At_{f} } \right)^{{1/3}} $$
(2)

where \(\lambda\) is the second dendritic spacing; \(t_{f}\) is local solidification time; A is the coarsening coefficient. Usually, when the aluminum alloy material and casting process are determined, the coarsening coefficient A can be treated as A constant, thus equation can be simplified as follows,

$$ \lambda = B\left( {t_{f} } \right)^{{1/3}} $$
(3)

where B can be obtained by mathematical approximation method based on the experimental data of secondary dendrite spacing. For A356, when B is equal to 8.5, the distribution trend of SDAS value simulated curve is basically consistent with the measured curve, and the numerical agreement is relatively high.33,34

Experimental System

The virtual casting test system includes mold, casting, pouring system and cooling system. Schematic diagram of experimental system is shown in Figures 4 and 5.

Figure 4
figure 4

Schematic diagram of experimental system.

Figure 5
figure 5

Scheme diagram for die.

Process Parameters

Based on the determined casting structure, material, gating system, cooling lines, etc., the input variables and operating levels used for experimentation are presented in Table 3.

Table 3 Squeeze Casting Parameters and Corresponding Levels

Experimental Details

Solidification of liquid metal under high pressure is one of the main advantages of squeeze casting. Generally speaking, the higher the specific pressure, the better the feeding effect of casting solidification, the higher the density of the internal structure, and the better mechanical properties and surface finish after forming. However, when the specific pressure increases to a certain value, the improvement of casting performance is very limited. It will cause the waste of power, increase the loss of mold and even produce parting surface flashing and other problems. Therefore, the specific pressure of the gearbox body squeeze casting is set as 100MPa.

In the squeeze casting process of gearbox body, the corresponding hot spot must be cooled to adjust the temperature difference between hot and cold spot, so as to ensure that the whole gearbox body has an ideal increasing temperature gradient after the filling of molten aluminum, and the molten aluminum can solidify in order in the mold.

In order to enable the cooling system designed in Figure 4 to adjust the temperature field distribution of the gearbox body in the solidification process and make it solidify sequentially along the feeding path, parameters such as cooling water temperature and flow rate should be set in accordance with the solidification law of metal liquid from top to bottom from outside to inside, so as to achieve good cooling effect. Therefore, when other process parameters remain unchanged, the cooling process parameters finally set are shown in Table 4 after verification and comparison of numerical simulation calculation for many times.

Table 4 Cooling Process Parameters of Cooling Tube

According to the experiments arranged in Table 1, virtual casting experiments were conducted, respectively, to obtain experimental indexes such as solidification time, secondary dendrite spacing and value of porosity under different factor combinations.

Results and Discussion

In this section, the virtual casting optimization scheme was determined, followed by the discussion of mathematical model. The experimental input–output data had been collected as Box–Behnken design. The collected experimental data were utilized to develop nonlinear input–output relations. The input–output relationship was studied using response surface method (RSM). Performance of the developed model had been tested with the help of test cases and optimum process parameter setting was determined using data optimization software ISIGHT and NSGA-II.

The Determination of Virtual Casting Optimization Scheme

The 29 groups of experiment schemes in Table 1 were conducted for virtual casting, respectively. The results of solidification time, maximum secondary dendrite spacing (SDAS) and the maximum porosity of gearbox body under different combination of factors were obtained. The evaluation values of porosity and maximum secondary dendrite spacing of casting were calculated according to Eqns. 1 and 3. The results are listed in Table 5.

Table 5 The Results of Evaluation Indexes

Response Surface Model Development of Porosity

Through the analysis of response surface test data, the second-order polynomial is used to fit the mapping relationship between Y1 (criterion value of porosity) and various process parameters, and the second-order regression equation with porosity criterion value as the response index is shown in Eqn. 4.

$$ \begin{aligned} Y1 & = 2598.46342 - 7.15801x_{1} - 570.32167x_{2} - 1023.425x_{3} \\ & - 0.9337x_{4} + 0.2725x_{1} x_{2} + 0.785x_{1} x_{3} + 0.000237x_{1} x_{4} + 515x_{2} x_{3} \\ & + 0.003125x_{2} x_{4} + 0.47375x_{3} x_{4} + 0.005301x_{1} ^{2} + 854.93333x_{2} ^{2} \\ & + 596.68333x_{3} ^{2} + 0.001501x_{4} ^{2} . \\ \end{aligned} $$
(4)

After obtaining the fitting model of response index Y1 (porosity criterion value), the validity of the model fitting should be verified first, and the statistical analysis results are shown in Table 6. P value can test the significance of the fitting model (P value > 0.05 means insignificant; 0.01 < P value < 0.05 indicates significant; P value < 0.01 indicates extreme success). The P value of the model is less than 0.0001 and P value of lack of fit is equal to 0.1371, which is more than 0.05, indicating that the model can well reflect the influence rule of the changes of various experimental factors on the response index. When the multiple correlation coefficient R2 reaches 0.9952, means that 99.52% of the numerical change of Y1 (criterion value of porosity) is caused by the change of experimental factors, and the coefficient of variation CV is 4.77%, which strongly verifies the validity of the fitting model.

Table 6 Statistical Analysis Results of the Fitting Model

The residual distribution of the model is shown in Figure 6a, from which it can be seen more intuitively that the residual basically conforms to normal distribution with fewer outliers. It can be seen from Figure 6b that the data results of the test and the predicted results of the model are basically distributed in a straight line, indicating that the model can well predict the test results of the response index Y1.

Figure 6
figure 6

Residual distribution and data fitting diagram.

The influence of each experimental factor on the response index was visualized by response surface map generated by the fitting model. Response surface plots of each experimental factor to Y1 are presented in Figure 7.

Figure 7
figure 7

Response surface plots of each experimental factor to Y1.

As shown in Figure 7a, the response surface plot reflects the influence trend of experimental factors A and B on response index Y1 when experimental factors C and D are intermediate horizontal values. It can be seen from the figure that Y1 (criterion value of porosity) increases with the increase in A (that is, pouring temperature). With the increase in B (that is, the velocity of the front filling section), it first decreases and then increases, indicating that the lower level interval of casting temperature below 660°C and the middle level interval of the velocity of the front filling section at about 0.15 m/s are conducive to reducing the shrinkage cavity defects of the gearbox body.

As shown in Figure 7b, the response surface plot reflects the influence trend of experimental factors A and C on response index Y1 when experimental factors B and D are intermediate horizontal values. As can be seen, when the pouring temperature is in a low range, Y1 decreases with the increase in the velocity of the second filling section. However, when the velocity increases to a certain extent, the change of the criterion value is not obvious. This indicates that properly accelerating the velocity at the end of filling can help to reduce the porosity.

As shown in Figure 7c, the response surface plot reflects the influence trend of experimental factors A and D on response index Y1 when experimental factors B and C are intermediate horizontal values. As can be seen, Y1 reduces gradually with pouring temperature and die temperature gradually reducing. However, the change becomes insignificant after a certain degree of decrease. This shows that the forming quality of the casting can be effectively improved by choosing the appropriate low pouring temperature and die temperature for squeeze casting.

Similarly, according to Figure 7d–f, it can be found that when the velocity of the front part of mold filling is kept at about 0.15 m/s, the velocity of the back part is relatively fast and the preheating temperature of the mold is low, Y1 is beneficial to decrease.

Response Surface Model Development of SDAS

Through the analysis of response surface test data, the second-order polynomial is used to fit the mapping relationship between Y2 (SDAS) and various process parameters, and the second-order regression equation with SDAS as the response index is shown in Eqn. 5.

$$ \begin{aligned} Y_{2} & = 303.9798 - 0.7458x_{1} - 40.76x_{2} - 72.7x_{3} - 0.224233x_{4} \\ & + 0.0025x_{1} x_{2} + 0.0575x_{1} x_{3} + 0.000178x_{1} x_{4} - 3x_{2} x_{3} \\ & + 0.02x_{2} x_{4} + 0.0025x_{3} x_{4} + 0.000554x_{1}^{2} + 93.2x_{2}^{2} \\ & + 65.2x_{3}^{2} + 0.000353x_{4}^{2} . \\ \end{aligned} $$
(5)

After obtaining the fitting model of response index Y2 (SDAS), the validity of the model fitting should also be verified. The statistical analysis results are shown in Table 7. The P value of model is less than 0.0001 in the table, and the P value of lack of fit is equal to 0.9822, which is more than 0.05, indicating that the model can well reflect the influence rule of the changes of various test factors on the response index. When the multiple correlation coefficient reaches 0.999, 99.9% of the numerical change of Y2 is caused by the change of experimental factors, and the coefficient of variation is 0.1993%, which strongly verifies the validity of the fitting model.

Table 7 Statistical Analysis Results of the Fitting Model

Model of residual distribution as shown in Figure 8a, the secondary dendrite arm spacing of model test value compared with the predicted values as shown in Figure 8b, also can see the residual basic accord with normal distribution, distribution of basic experimental and predicted values on a straight line, show that the model can be very good for Y2 response index (SDAS) for predicting the experimental results.

Figure 8
figure 8

Residual distribution and data fitting diagram.

The influence of each experimental factor on the response index was visualized by response surface map generated by the fitting model. Response surface plots of each experimental factor to Y2 are presented in Figure 9.

Figure 9
figure 9

Response surface diagram of each experimental factor to Y2.

As shown in Figure 9a, the response surface plot reflects the influence trend of experimental factors A and B on response index Y2 when experimental factors C and D are intermediate horizontal values. As can be seen, the surface is quite flat and has no obvious ups and downs, Y2 has a slight upward tendency with the increase in pouring temperature. However, with the change of the velocity of the first filling section, there is almost no change. This indicates that the increase in pouring temperature extends the local solidification time of the casting to a certain extent, leading to the increase in secondary dendrite arm spacing, while the change of velocity at the front of mold filling has little influence on the secondary dendrite arm spacing (SDAS).

As shown in Figure 9b, the response surface plot reflects the influence trend of experimental factors A and C on response index Y2 when experimental factors B and D are intermediate horizontal values. As can be seen, the surface is also flat, and the change of the velocity of the second filling section has no obvious influence on Y2 (SDAS).

As shown in Figure 9c, the response surface plot reflects the influence trend of experimental factors A and D on response index Y2 when experimental factors B and C are intermediate horizontal values. As can be seen, the surface is steep and Y2 increases with the increase in die temperature. This indicates that too high die temperature is not conducive to reducing the secondary dendrite arm spacing of castings.

Similarly, by Figure 9d–f can be seen that the die temperature on the casting secondary dendrite arm spacing is most significantly, the influence of because of casting solidification process is mainly between metal and mold heat exchange process, through the response surface analysis found that the appropriate die temperature, reducing to improve the mechanical properties of castings.

Response Surface Model Development of Solidification Time

Through the analysis of response surface test data, the second-order polynomial is used to fit the mapping relationship between Y3 (Solidification time) and various process parameters, and the second-order regression equation with solidification time as the response index is shown in Eqn. 6.

$$ \begin{aligned} Y_{3} & = 2458.01417 - 6.32842x_{1} - 216.66667x_{2} - 542.26667x_{3} \\ & - 2.93787x_{4} - 0.1x_{1} x_{2} + 0.475x_{1} x_{3} + 0.002681x_{1} x_{4} - 20x_{2} x_{3} \\ & - 0.05375x_{2} x_{4} - 0.05125x_{3} x_{4} + 0.0045x_{1} ^{2} + 766.5x_{2} ^{2} \\ & + 450.5x_{3} ^{2} + 0.003617x_{4} ^{2} . \\ \end{aligned} $$
(6)

After obtaining the fitting model of response index Y3 (solidification time), the validity of the model fitting should also be verified. The test data are shown in Table 8. The P value of model is less than 0.0001 in the table, and the P value of lack of fit is equal to 0.2488, which is more than 0.05, indicating that the model can well reflect the influence rule of the changes of various test factors on the response index. When the multiple correlation coefficient reaches 0.9995, it indicates that 99.95% of the variation in the value of Y3 (solidification time) is due to changes in experimental factors and the coefficient of variation is 0.4413%, which strongly verifies the validity of the fitting model.

Table 8 Statistical Analysis Results of the Fitting Model

The residual distribution of the model is shown in Figure 10a, and the comparison between the model test value and predicted value of solidification time is shown in Figure 10b. It can also be seen that the residual basically conforms to normal distribution, and the test value and predicted value are basically distributed in a straight line, indicating that the model can well predict the experimental results of response index Y3 (solidification time).

Figure 10
figure 10

Residual distribution and data fitting diagram.

The influence of each experimental factor on the response index was visualized by response surface map generated by the fitting model. Response surface plots of each experimental factor to Y3 are presented in Figure 11.

Figure 11
figure 11

Response surface diagram of each experimental factor to Y3.

As shown in Figure 11a, the response surface plot reflects the influence trend of experimental factors A and B on response index Y3 when experimental factors C and D are intermediate horizontal values. As can be seen, Y3 increases with the increase in pouring temperature, but the amplitude is relatively gentle. However, the change of the filling velocity at first stage has no obvious influence on the surface tendency, indicating that the influence of pouring temperature on solidification time is more significant than that of the filling velocity.

Similarly, it can be seen from Figure 11b and d that the surface has no obvious fluctuation with the change of the filling velocity, indicating that the filling velocity has no significant influence on the length of solidification time of casting. However, it can be seen from Figure 11c, e and f that the surface changes sharply. Y3 (solidification time) increases obviously with the increase in die temperature, indicating that higher die temperature is not conducive to heat loss of metal liquid, resulting in longer solidification time.

Multi-objective Optimization of Process Parameters

In engineering applications, it is often necessary to optimize multiple objective variables. In addition, different target variables are likely to conflict with each other. For example, the optimization of one indicator may lead to other indicators being far away from the optimization direction, and it is difficult to achieve the ideal situation where all objectives are simultaneously optimal. Therefore, it is necessary to balance and coordinate among multiple objectives to achieve the comprehensive optimal effect.35

In order to ensure the casting forming quality and take into account the production efficiency and economy, it is necessary to optimize the shrinkage cavity, secondary dendrite spacing and solidification time at the same time. Data optimization software ISIGHT and NSGA-II algorithm are applied to the optimization.

Establishment of Multi-objective Optimization Model

Through the analysis of the test results of the response surface of section 4.1 of this chapter, respectively, obtained the response index Y1 (criterion value of porosity), Y2 (secondary dendrite arm spacing), Y3 (solidification time), respectively, and the casting process parameters A (pouring temperature) and B (filling the front speed), C (after filling speed), D (die temperature) between the quadratic response surface regression equation. In order to effectively guide the actual production, it is necessary to keep all process parameters within a reasonable range of variation, so that the values of Y1, Y2 and Y3 are as small as possible. In other words, the optimization objectives of these three objectives have been defined and can be expressed as follows:

$$ \begin{aligned} {\text{Min}}:Y1 & = 2598.46342 - 7.15801x_{1} - 570.32167x_{2} - 1023.425x_{3} \\ & {\text{ }} - 0.9337x_{4} + 0.2725x_{1} x_{2} + 0.785x_{1} x_{3} + 0.000237x_{1} x_{4} + 515x_{2} x_{3} \\ & {\text{ }} + 0.003125x_{2} x_{4} + 0.47375x_{3} x_{4} + 0.005301x_{1} ^{2} + 854.93333x_{2} ^{2} \\ & {\text{ }} + 596.68333x_{3} ^{2} + 0.001501x_{4} ^{2} \\ \end{aligned} $$
(7)
$$ \begin{aligned} {\text{Min}}:Y_{2} & = 303.97975 - 0.745817x_{1} - 40.76x_{2} - 72.7x_{3} - 0.224233x_{4} \\ & {\text{ }} + 0.0025x_{1} x_{2} + 0.0575x_{1} x_{3} + 0.000178x_{1} x_{4} - 3x_{2} x_{3} \\ & {\text{ }} + 0.02x_{2} x_{4} + 0.0025x_{3} x_{4} + 0.000554x_{1} ^{2} + 93.2x_{2} ^{2} \\ & {\text{ }} + 65.2x_{3} ^{2} + 0.000353x_{4} ^{2} \\ \end{aligned} $$
(8)
$$ \begin{aligned} {\text{Min}}:Y_{3} & = 2458.01417 - 6.32842x_{1} - 216.66667x_{2} - 542.26667x_{3} \\ & {\text{ }} - 2.93787x_{4} - 0.1x_{1} x_{2} + 0.475x_{1} x_{3} + 0.002681x_{1} x_{4} - 20x_{2} x_{3} \\ & {\text{ }} - 0.05375x_{2} x_{4} - 0.05125x_{3} x_{4} + 0.0045x_{1} ^{2} + 766.5x_{2} ^{2} \\ & {\text{ }} + 450.5x_{3} ^{2} + 0.003617x_{4} ^{2} \\ \end{aligned} $$
(9)
$$ 640 \le x_{1} \le 680; \, 0.1 \le x_{2} \le 0.2; \, 0.2 \le x_{3} \le 0.3; \, 200 \le x_{4} \le 280. $$
(10)

The pouring temperature, the filling velocity at the first and second stage and the mold preheating temperature are set as the design variables. Y1, Y2 and Y3 are selected as the target variables. The optimization direction is minimized, and the NSGA-II algorithm is selected for optimization. The mapping relationship between input and output data of workflow is shown in Figure 12.

Figure 12
figure 12

Input and output data mapping diagram.

Analysis of Optimization Results

Due to the simultaneous optimization of three target variables, there will be conflicts between different variables in the process, that is, the optimization of one target quantity may cause other target quantities to deviate from the optimization direction, so the final result is not a single optimal solution, but a Pareto solution set containing many solutions. After multi-objective optimization of the criterion value of porosity, secondary dendrite arm spacing and solidification time through the algorithm, part of the solution set is shown in Table 9.

Table 9 Multi-objective Optimization Part Pareto Optimization Solution Set

From the optimization solution in Table 9, it can be found that the process parameters have certain regularity: pouring temperature is at 645°C or so float; The filling velocity at the first stage remains at about 0.15; The filling velocity at the second stage remains at about 0.28; and the die temperature is at 210°C or so float. The parameter distribution is also consistent with the paper on the response surface analysis results.

In actual production, the pouring temperature of liquid metal is controlled by a holding furnace, filling speed is determined by the injection speed of the punch and die temperature is controlled by the die temperature machine, considering the various process parameters setting accuracy is limited, so choose the near optimal solution set of integer as the final process parameters combination, namely the pouring temperature is 645°C; filling velocity at the first stage is 0.15m/s; filling velocity at the second stage is 0.28m/s; and the mold preheating temperature is 210°C.

Numerical Simulation Verification of Optimal Process Parameters

Based on the optimal process parameters selected after multi-objective optimization, numerical simulation was carried out to verify the effectiveness of the optimization under the condition that other process parameters remained unchanged. Figure 13 shows the distribution results of shrinkage cavity and porosity and secondary dendrite arm spacing under the final process scheme.

Figure 13
figure 13

The casting quality after optimization.

As can be seen from Figure 13, there is basically no porosity defect in the casting, and the secondary dendrite spacing is 38.09 micron, indicating that the density of the internal microstructure is improved. In addition, the solidification time under this process is 92.91s, indicating that the production cycle is also shortened. Therefore, from the point of view of virtual casting, the casting forming quality and production efficiency are further improved by multi-objective optimization, and the comprehensive optimal effect is achieved.

Squeeze Casting Verification Experiments

The multi-objective optimization of squeeze casting process parameters based on response surface method in Sections 4.1 and 4.2 theoretically achieves the comprehensive optimal effect from the perspective of virtual casting experiments. Based on actual production trial production, this section verifies the validity of the process scheme by testing and analyzing the forming quality of aluminum alloy gearbox.

Forming Experiments

The process steps of squeeze casting test of gearbox are summarized in Figure 14.

Figure 14
figure 14

Squeeze casting test process of gearbox.

In order to accurately control the pouring temperature, the high-temperature molten metal obtained by smelting is placed in a holding furnace through a flow bag, and the temperature is set at 645°C. Mold temperature is controlled to 210°C by mold temperature machine. After the mold temperature is stable, spray release agent evenly on the surface of the mold, especially for the inner gate and complex cavity structure and other parts prone to stick mold can be more appropriate.

After the mold is locked, the soup feeder will inject the metal liquid into the inclined chamber from the holding furnace. At this time, the chamber is rising directly to the feed port to complete the docking. The front velocity of the punch is set at 0.15m/s, and the filling lasts for 1.8s smoothly. The velocity rises to 0.28m/s when the cavity is about 60% full until the filling is completed. Continuous pressure on the punch ensures that the casting is fully fed under high pressure, and the pressure is kept until it is completely solidified. Then the pressure chamber returns to the original tilt position and waits for the next working cycle to open the mold and take parts.

The casting taken out of the mold contains the gating system. First observe whether the gearbox is insufficient pouring, cold isolation and deformation. The casting system shall be removed after the visual inspection is qualified.

The T6 heat treatment process was conducted according to the casting material and performance requirements. The solution treatment is at 530°C for 4 hours, and the aging treatment is at 160°C for 6 hours. In addition, the aluminum alloy gearbox with good surface quality and high-dimensional accuracy was obtained by finishing processing.

X-ray Testing

In order to directly judge the forming quality inside the casting, X-ray is used to detect the internal defects of aluminum alloy gearbox. The equipment adopts XG-160T/C detector, as shown in Figure 15, mainly to detect the complex changes of box structure and local thicknesses prone to shrinkage cavity defects, as shown in Figure 16.

Figure 15
figure 15

XG-160T/C type detector.

Figure 16
figure 16

Detection position diagram

Place the aluminum alloy gearbox on the test table at an appropriate angle. The defects of porosity in casting can be detected directly by using the testing instrument. As can be seen from the test results in Figure 17, under the optimal process scheme determined in this manuscript, all parts of the box body can get good feeding, so the forming quality is high.

Figure 17
figure 17

The testing results of the four position.

Metallographic Structure Testing

In order to test the distribution of microstructure inside the casting, the metallographic structure was observed. Selecting the right position for sampling can more objectively and comprehensively reflect the forming quality of the casting. For the aluminum alloy gearbox, the metallographic sample is selected at the position that is closest to its average performance and can reflect different filling and solidification stages, as shown in Figure 18.

Figure 18
figure 18

Sampling position diagram.

The sample size is about 15*15*15mm, and a relatively flat surface is selected for polishing until there is no obvious cutting fracture on the surface. After etching with 5% HF acid for about 30 seconds, the surface appears pale gray blue. At this time, rinse with alcohol and blow dry to avoid direct contact with hands. The metallographic structure was observed under microscope with a tweezers, as shown in Figure 19.

Figure 19
figure 19

Metallographic structure diagram of different positions.

It can be seen from the figure that the microstructure is mainly composed of α-Al matrix and eutectic Si phase distributed at grain boundaries. The dendrite morphology is similar at different locations, the size and thickness of dendrite arms are basically the same, and the proportion of α-Al matrix and eutectic components is roughly the same, indicating that the microstructure of different locations of the casting is consistent. The samples of position A and B are closest to the flow gate and have the smallest pressure transfer loss and the largest extrusion pressure in the process of pressurized solidification. Therefore, the microstructure there is the densest and the grain size is small. In addition, although there are some pores in samples B and C, there is no obvious porosity defect, which will not affect the mechanical properties of the casting within the acceptable range.

Mechanics Performance Testing

In order to test the mechanical properties of aluminum alloy gearbox, tensile properties and hardness tests were carried out on it. Similarly, the correct sampling position could comprehensively reflect the mechanical properties of different parts of the box, and sampling was carried out in the relatively flat position of the box with little change in wall thickness, as shown in Figure 20.

Two tensile samples were taken from each corresponding position marked in Figure 20. The equipment used WDW-100 universal tensile testing machine, and the tensile rate was set at 0.1mm/min. Two hardness test samples were taken in the same position, and the equipment adopted Richter digital hardness tester. The test load was set at 100kgf for 5s, and the test average value of all samples was finally calculated as the basis for measuring the mechanical properties of aluminum alloy gearbox. The test results are shown in Table 10.

Figure 20
figure 20

Sampling position diagram.

Table 10 Test Results of Mechanical Properties of Aluminum Alloy Gearbox

According to the results in the table, the average tensile strength is 280.8MPa; the average elongation was 9.5%; the average hardness is 91.2HBW. The test results meet the technical requirements of aluminum alloy gearbox. It can also be seen from Table 10 that the tensile strength, elongation and hardness values of samples at different sampling positions fluctuate within a very small range and are all higher than the technical requirements of parts with a certain margin, indicating that the mechanical properties of each part of the aluminum alloy gearbox are good and evenly distributed.

Conclusions

The defects of casting parts were modeled in squeeze process by using the statistical design of experiments and soft computing-based approaches. The virtual casting experiments have been conducted and defects data were collected for the different squeeze casting conditions with RSM-BBD. The regression equation established can be used to predict the porosity rate, SDAS and solidification time of the target casting. NSGA-II algorithm optimization technique had been utilized to determine the optimum process variables corresponding to minimum defects combining with the data optimization software ISIGHT. The nonlinear mapping model can greatly improve the calculation efficiency under the condition of meeting the prediction accuracy and provide a good calculation basis for the optimization of process parameters. Further, it will help foundry men to know the more influencing process parameters in the squeeze process. The actual production casting with X-ray inspection, Metallographic structure testing and Mechanics performance testing experiments are conducted to verify the optimization results. The two-stage optimization approach determines the optimal process scheme and can shorten the product development cycle, save cost and ensure the quality of castings, which is of great significance to guiding the production.