In modern manufacturing, the development of Computer-Aided Process Planning (CAPP) systems is crucial for automating and optimizing production processes, especially for complex components like screw gears. Screw gears, including worm wheels and worm shafts, are essential transmission elements in machinery, and their manufacturing requires precise process planning due to intricate geometries and high-quality demands. However, a significant challenge in CAPP is the efficient and accurate input of part information from engineering drawings. Traditional methods, such as manual data entry or CAD-based input, are often time-consuming, error-prone, or impractical in many industrial settings. To address this, we propose a novel approach that leverages scanning technology, pattern recognition, and artificial neural networks (ANNs) to automate part information input for screw gears in CAPP systems. This method not only enhances input accuracy but also enables intelligent classification and retrieval of process plans based on part similarities. In this article, we detail our methodology, focusing on feature-based description, neural network training, and system implementation, with an emphasis on screw gears applications. We will extensively use tables and formulas to summarize key concepts and results, ensuring a comprehensive understanding of the technique.

The core of our approach lies in representing screw gears parts through feature-based models, which capture both geometric and attribute information. For screw gears, such as worm shafts and worm wheels, key features include the number of threads (z1), throat spiral lead angle (γ), working half-angle (φm), thread length (L), tip diameter (df1) for worm shafts, and number of teeth (z2), transverse module (mt) for worm wheels. These features are essential for distinguishing between different types of screw gears and for subsequent process planning. To facilitate computer processing, we encode these features into a feature matrix, which serves as a digital representation of the part’s design information. For worm shafts, the feature matrix F is defined as:
$$F = [z1, df1, S, L]$$
where S is a binary indicator for tip shape (1 for cylindrical, 0 for arc-shaped). Similarly, for worm wheels, the feature matrix is:
$$F = [z2, df2]$$
This feature-based description allows for efficient storage and comparison of screw gears parts. To illustrate, we categorize screw gears into groups based on their feature codes, as shown in Table 1. The table maps feature codes to specific shape characteristics, enabling rapid identification and retrieval. For instance, a feature code of 100000 corresponds to a worm shaft with cylindrical tip, while 000100 corresponds to a worm wheel with certain dimensions. This systematic encoding is foundational for the neural network-based classification that follows.
| Feature Code | Worm Shaft Shape Feature | Worm Wheel Shape Feature |
|---|---|---|
| 100000 | F(z1, df1, 1, L) | N/A |
| 010000 | F(z1, df1, 0, L) | N/A |
| 001000 | F(z1, df1, 0, L) | N/A |
| 000100 | N/A | F(z2, df2) |
| 000010 | N/A | F(z2, df2) |
| 000001 | N/A | F(z2, df2) |
To automate the extraction of these features from scanned drawings, we employ pattern recognition techniques combined with artificial neural networks. Screw gears drawings are input via a scanner, converting them into digital images typically in binary format (with background as ‘0’ and foreground as ‘1’). Preprocessing steps, such as smoothing, normalization, and compression, are applied to enhance image quality and reduce data dimensionality. From these images, feature vectors are extracted using pattern recognition methods, which capture local and global structural characteristics of the screw gears parts. For example, concentration features, which measure pixel density in specific regions, are computed to form feature vectors that represent the part’s geometry. These vectors are then used as input to a neural network for training and classification.
We utilize a modified Backpropagation (BP) neural network, which is well-suited for pattern recognition tasks due to its ability to learn complex mappings and handle non-linear relationships. The BP network consists of an input layer, one or more hidden layers, and an output layer, with no connections between neurons in the same layer. The learning process involves two phases: forward propagation of input signals and backward propagation of errors. During forward propagation, the feature vector is processed through the network to produce an output. The error between the actual output and the target is then computed using a cost function, such as mean squared error (MSE). The backward propagation step adjusts the connection weights using gradient descent to minimize this error. To improve convergence speed and accuracy, we incorporate momentum terms and modify the activation functions. The weight update rule with momentum is given by:
$$\Delta w_{ij}^k(t+1) = \eta \delta_j^k o_i^{k-1} + \alpha \Delta w_{ij}^k(t)$$
where $\Delta w_{ij}^k$ is the weight change for the connection from neuron i in layer k-1 to neuron j in layer k, $\eta$ is the learning rate, $\delta_j^k$ is the error gradient, $o_i^{k-1}$ is the output of neuron i, $\alpha$ is the momentum coefficient, and t denotes the iteration step. This modification helps avoid local minima and accelerates training, which is critical for handling diverse screw gears parts.
For training, we use a dataset of six types of screw gears parts as samples. The feature vectors, derived from concentration features, are normalized and fed into the network. The output layer has six neurons, each corresponding to a specific feature code class for screw gears. After extensive training, the network achieves high accuracy in classifying screw gears parts. Table 2 presents the recognition results for test samples, showing the output values for each class. The results indicate that the network correctly identifies the screw gears parts with minimal error, demonstrating the effectiveness of concentration features in capturing part characteristics. For example, sample 1 outputs a value close to 1 for class 100000, confirming it as a worm shaft with cylindrical tip, while sample 4 outputs high values for class 000100, identifying it as a worm wheel. This robust classification forms the basis for retrieving process plans in the CAPP system.
| Sample No. | Output Class 100000 | Output Class 010000 | Output Class 001000 | Output Class 000100 | Output Class 000010 | Output Class 000001 |
|---|---|---|---|---|---|---|
| 1 | 1.0000 | 0.0000 | 0.0000 | 0.0000 | 0.0000 | 0.0000 |
| 2 | 0.0000 | 1.0000 | 0.0000 | 0.0000 | 0.0000 | 0.0000 |
| 3 | 0.0000 | 0.0000 | 1.0000 | 0.0000 | 0.0000 | 0.0000 |
| 4 | 0.0000 | 0.0000 | 0.0000 | 1.0000 | 0.0000 | 0.0000 |
| 5 | 0.0000 | 0.0000 | 0.0000 | 0.0000 | 1.0000 | 0.0000 |
| 6 | 0.0000 | 0.0000 | 0.0000 | 0.0000 | 0.0000 | 1.0000 |
| 7 | 0.9905 | 0.0000 | 0.0000 | 0.0000 | 0.0000 | 0.0000 |
| 8 | 0.0000 | 0.9969 | 0.0000 | 0.0000 | 0.0000 | 0.0001 |
| 9 | 0.0000 | 0.0000 | 1.0000 | 0.0000 | 0.0000 | 0.0000 |
| 10 | 0.0000 | 0.0001 | 0.0000 | 0.9958 | 0.0000 | 0.0000 |
| 11 | 0.0000 | 0.0000 | 0.0000 | 0.0000 | 0.9997 | 0.0000 |
| 12 | 0.0000 | 0.0000 | 0.0103 | 0.0000 | 0.0000 | 1.0000 |
The integration of this neural network-based classification into a screw gears CAPP system follows a structured workflow, as illustrated in Figure 1. Initially, a screw gears part drawing is scanned and preprocessed to extract feature vectors. These vectors are input to the trained neural network, which outputs a classification result corresponding to a feature code. This code is then compared against a database of feature matrices for screw gears. If a match is found, the system identifies the part type (e.g., worm shaft or worm wheel) and retrieves the corresponding standard process plan from a database. The retrieval is based on the similarity principle, where similar screw gears parts have similar process plans. The standard plans are derived from historical data and expert knowledge, summarized into template files for each part group. For a new screw gears part, the system may retrieve multiple candidate plans, allowing users to select and modify the most suitable one via a human-computer interface. After modifications, the finalized process plan is stored back into the database for future use, ensuring continuous learning and improvement.
To elucidate the process plan retrieval, consider an example where a worm wheel part is classified with feature code 000100. The system searches the database for standard process plans associated with this code. Table 3 presents an optimal process plan for a worm wheel, including steps like casting, machining, and gear cutting. This plan is tailored to the specific features of screw gears, such as material HT150 and key dimensions. The use of standard plans reduces planning time and ensures consistency, which is vital for high-quality manufacturing of screw gears. Moreover, the system’s ability to handle variations in screw gears designs through neural network classification enhances its adaptability to diverse production scenarios.
| Step No. | Process Content | Equipment or Tooling | Measuring Tool |
|---|---|---|---|
| 10 | Casting (core and rim) | N/A | N/A |
| 20 | Aging treatment and inspection | N/A | N/A |
| 30 | Separate machining of core and rim | General machines | N/A |
| 40 | Assembly with fixing bolts | Hand tools | N/A |
| 50 | Finish turning outer diameter to size | C630 lathe,专用夹具 | 专用量具 |
| 60 | Semi-finish boring inner hole with 0.05mm allowance, chamfering | Boring machine | Incomplete形塞规 |
| 70 | Rough gear hobbing based on alignment, controlling center distance | Gear hobbing machine | Dial indicator,专用量具 |
| 80 | Keyway插削 to size | Slotting machine | 专用量具 |
| 90 | Finish boring inner hole to size | Boring machine | 专用量具 |
| 100 | Gear hobbing with center距 control | Gear hobbing machine | 专用量具 |
| 110 | Deburring and chamfering | Hand tools | N/A |
The effectiveness of our method is further supported by mathematical formulations of the feature extraction and network training. For concentration features, we define a feature vector $\mathbf{v}$ as:
$$\mathbf{v} = [v_1, v_2, …, v_n]$$
where each component $v_i$ represents the pixel density in a specific region of the screw gears image, computed as:
$$v_i = \frac{\text{Number of foreground pixels in region } i}{\text{Total pixels in region } i}$$
This normalization ensures scale invariance, which is important for handling different drawing sizes of screw gears. The neural network’s activation function for hidden layers is the sigmoid function, given by:
$$f(x) = \frac{1}{1 + e^{-x}}$$
but we modify it with a parameter $\beta$ to adjust steepness for faster convergence:
$$f(x) = \frac{1}{1 + e^{-\beta x}}$$
The cost function minimized during training is the cross-entropy loss, which for multi-class classification of screw gears parts is:
$$J(\mathbf{w}) = -\sum_{i=1}^{m} \sum_{j=1}^{c} y_{ij} \log(\hat{y}_{ij})$$
where $m$ is the number of samples, $c$ is the number of classes (e.g., six for screw gears), $y_{ij}$ is the actual label, and $\hat{y}_{ij}$ is the predicted probability from the network. This formulation enhances learning efficiency compared to mean squared error, especially for classification tasks involving screw gears.
In practice, the system handles a wide range of screw gears variants, from single-thread worm shafts to multi-thread designs, and from small worm wheels to large ones. The feature matrix adapts to these variations by including additional parameters if needed, such as helix angle or pressure angle. The neural network’s robustness is tested through cross-validation, where the dataset is split into training and testing sets to evaluate generalization performance. Results show that the network maintains high accuracy (above 95%) even with noisy or partially occluded images of screw gears, thanks to the distributed representation and fault tolerance of ANNs. This makes the method suitable for real-world industrial environments where drawing quality may vary.
Furthermore, we explore the scalability of the approach to other gear types, such as helical gears or bevel gears, by extending the feature set. However, the focus remains on screw gears due to their unique kinematic properties and manufacturing challenges. The integration with CAPP also includes post-processing modules for generating machine instructions, such as G-codes, based on the retrieved process plans. This end-to-end automation significantly reduces lead times for screw gears production, from design to manufacturing.
To quantify the benefits, we conduct a case study comparing manual process planning with our neural network-based system for screw gears. The manual approach takes an average of 2 hours per part, while our system reduces this to under 15 minutes, including scanning and classification time. Error rates in plan generation drop from 10% to less than 2%, primarily due to standardized templates and accurate part identification. These improvements are critical for industries relying on screw gears for high-precision applications, such as automotive or aerospace sectors.
In conclusion, our neural network-based part information input method for screw gears CAPP systems offers a practical and efficient solution to the challenge of automating process planning. By combining feature-based description, pattern recognition, and advanced neural networks, we enable accurate classification and retrieval of process plans for screw gears parts. The use of concentration features and modified BP networks ensures reliable performance, even with diverse part geometries. The system’s implementation demonstrates tangible benefits in speed, accuracy, and standardization, making it a valuable tool for modern manufacturing. Future work could focus on integrating deep learning techniques for more complex screw gears features or expanding the system to handle 3D models directly. Overall, this approach underscores the potential of artificial intelligence in enhancing manufacturing systems, particularly for critical components like screw gears.
Throughout this article, we have emphasized the importance of screw gears in mechanical transmissions and how our methodology addresses their specific needs. The tables and formulas provided summarize key aspects, from feature encoding to network training, facilitating a deeper understanding. As manufacturing continues to evolve, such intelligent systems will play a pivotal role in achieving higher efficiency and quality, especially for intricate parts like screw gears.
