Abstract

Integrating machine learning into one of the manufacturing processes, i.e., forging, is mainly concerned with making the system more intelligent by incorporating them to exhibit global understanding. Sometimes the engineer/operator can find the defects during or after the forging operation. So, the system will need some input to identify the different types of categorized defects. And also, according to that, we will develop the intelligent fault diagnosis process. We should calculate the statistical probability theory. Now, we implement the system which is the structure of the fault analysis system for the forging process. In the structure, we demonstrate the defect of the forged part, use the given imported probability to find the possible causes, and provide some remainders to reduce the fault. For enhancement of feature needs, this work includes more integration of AI with forging.

1. Introduction

Forging is a metal forming process involving the shaping of metal using compressive force. This technique will be used in different industries like automobile, aerospace, hand tools and hardware, and machine and equipment. Two forging processes are there: (1) hot forging process and (2) cold forging process.

Cold forging is worked at room temperature, but hot forging is needed at more than 1200 Celsius degrees. Simple components are made by cold forging, and the hot forging process makes complex parts. In both cases, problem analysis is more difficult due to different conditions. It is the main moto to work on this. The experts or operators can identify the problem using previous information or destructive testing after production. Optimizing the production of forged parts requires solving all the related defects. So we developed a diagnostic system to be used by engineers or operators to detect the cause of any defect or background information of the product [13].

Artificial Intelligence (AI) is the new operation technique to interchange data with human thinking, and it can understand that human sense [4]. It gives an intelligent machine or intelligent process as a product, and also it will respond to any problem like a human [5].

Continuous development toward automation and intelligent machines awaits the mechanical engineer. Mechanical and electrical engineering will be combined with artificial intelligence in a new way. Artificial intelligence is mostly used to regulate automated mechanical engineering [6]. AI is now being used to identify forging errors. In general, an AI-based defect detection system uses rule-based reasoning, case-based reasoning, and fault-based diagnosis as its primary diagnostic methods of analysis [1]. The defect diagnostic system will build an expert knowledge system based on the provided data [7]. Rules for fault diagnosis are needed in the database, as are the knowledge processing tools of the interpreter diagnostic system, the learning system, and the man-machine interface expert system [8].

2. Problem Statement

At any time, operator/engineers find faults during/after the operation/process and guess when, how, and why the mark appears. At some time, they need some information to predict the reason for the fault, type of part, defect location on the component/part, depth of the defect, etc [3, 9]. More information may help estimate the correct cause. Figure 1 represents the basic flow system to identify the defect [10].

The process needs some inputs to find the defect. (1)part type(2)location of defect(3)procedure (combination of strategy and stage of deficiency)(4)defect property (defect is open/closed, depth)(5)the batch size which includes the defects

Now, we develop the step by step to detect the defect any circumference of the forging process.

Step 1. Categorize the defect [1113]: (1)Melting practice: slag, blow holes, etc(2)Ingot: piping, cracks, and scale surface roughness(3)Improper heating: burnt metal, decarburization, and flakes(4)Improper forging: seams, cracks, and laps(5)forging design(6)die design(7)material defect: imperfect material is used

Step 2. Qualitative Analysis

Theoretical and empirical relations were used to calculate the probability of each outcome. It will develop in Section 3 [1416].

Step 3. Develop fault diagnostic system.

It will give a good analysis of causes of forging. Figure 2 represents the identification of defect in forging process [17, 18].

Step 4. Development and implementation:

We need to establish the overall structure of the expert system, implement the knowledge base, and debug the system (In Section 4) [1921].

3. Quantitative Analysis-Mathematical Modelling

For example, consider a forged part,

Type of element: (say).

Defect category: (Say at defect may).

Final decision is that: The parts have some defect.

In the above part, we cannot find exact decision, because be the probability then be the decision number j. will represent the maximum probability of in the case that is evident.

It may express

Now, we add one more decision here.

Decision 2: The element also has some defect on a part. This fact also supports the assumption that some fault is detected.

If depends on , then

By applying the above condition to the first equation,

Now, we increase this type of equations which are independent on each other.

Then,

Now, almost got at every step, depends on decision . On the other hand, remaining probabilities may be necessary. However, in some only instead of . Hence,

Now, involve a variable

Let and be

Now, .

The above sequence addition should be equal to one, so

Let be the matrix

From above equations,

Now, we get from above equations.

4. Implementation of Overall System

(1)The Bayesian methodology is used to find each defect according to the information given as input(2)Causes and treatment reasoning that use the knowledge-based approach depend on the combination of input information(3)The output of the system is represented in a graphical manner. In the end, operator or engineer knows the result, they can utilize the supervised machine learning process to get the probability [2224]

The entire implementation system is developed in a flowchart represented in Figure 3.

4.1. Expert System and Its Structure

The fault analysis was developed based on the fault analysis represented in Figure 4. (1)User interface will transfer the data between the user to the system(2)Target was achieved using a reasoning machine and user input(3)Interpretation mechanism will interpret the conclusions from the reasoning machine and make them user friendly(4)Base knowledge has huge rubrics for fault diagnosis in the forging process(5)Database integration stores the initial inputs, intermediate, and conclusions during the fault diagnosis(6)Subsystem: It works like a coordinator and works with an expert system

4.2. Base Knowledge Development

It mainly focuses on catching the knowledge to generate the decision, solution for a problem, and more. After qualitative and quantitative analyses, we can get the minimum cutset. Every rule is written according to the least cutset. It will generically answer the tricky. Knowledge systems consist of different decision tables and conditions of regulations; all these are implemented by SQL server [25, 26].

The decision table stores the theory of faults, including responsibilities and their description [27, 28].

The condition of rules is composed of several conditions’ initiation/introduction of the problem, decision description, etc.

Condition of rules stores all the simple data like name and need, priority, and number of contents [29].

5. Result and Discussion

Here, we execute the developed system; the user goes to the main menu as shown in Figure 5. The user is to answer all the input questionnaires for the integrated part. (1)part type: crankshaft(2)location of defect: journal part(3)procedure (combination of strategy and stage of deficiency): combination of heat treatment and forged(4)defect property (defect is open/closed, depth): defect is closed and depth is 0.22 mm(5)the batch size which includes the defects: 20

Now, Figures 6 and 7 show the choice of part, process, and property, respectively. For the given example data, we will run the system with a combination of inputs.

Our developed system (Figure 8) makes the decision by the probability table as shown in Figure 9. Push the button “CERTAIN CALCULATION” shown in Figure 10. Our advanced system displays the defect category [2022].

Finally, the user may use a system of certainty to conclude based on the empirical relations. It may add the past information and also possibly update the essential parts [2325].

We can conclude the following: (1)Developed conditional program to remove the complex data. The expanded program is very user-friendly and adaptable to any other application [30, 31](2)The probability approach allows the possibility of a specific category, which is the most valuable and advantageous to use or evaluator based on the matching diagnosis system concept used by the expert system(3)The entire process will find the relation of each factor that leads to the diagnosis of the indicated cause(4)It is pretty simple because it needs to update the basic probability according to the field/experimental data processed

The limitation of work is our entire work system accommodates input information only; these are independent. In some cases, maybe factors are not separate. So, users can develop the method to make it easy.

6. Conclusion

The forging system is very suitable for artificial intelligent applications because it needs more of a human expert. This entire concept combined the different knowledge to counter the fault in forging. We construct the system, it will link the field data and engineering design. Graphical type of output was obtained and it is easy to understand. Bayesian interface was used in this research work. The developed formulation and the expert system will diagnose the fault in the manufacturing system, i.e., forging.

A fault diagnosis system is proposed, a skeleton of the forging is developed in a fault tree. Analysis of fault tree carried out qualitatively and quantitatively gives the exact fault diagnosis system. Fault diagnosis of forging was developed by “Microsoft SQL Server and Microsoft visual studio”. Finally, diagnosis of the result shows the prepared system with an example.

Data Availability

The data used to support the findings of this study are included within the article.

Conflicts of Interest

The authors declare that they have no conflicts of interest.