In the field of manufacturing, particularly for grey iron casting, the design of casting processes has traditionally relied heavily on empirical knowledge and iterative testing. This approach often consumes significant time and resources, especially for new products. With the advancement of computer technology, there is a growing opportunity to streamline this process through computer-aided design (CAD) systems. In this article, I will describe the development of a specialized computer-aided process design system tailored for grey iron casting components, commonly used in textile machinery. This system aims to simplify, quantify, and standardize casting process design, leveraging software tools and programming languages to enhance efficiency and accuracy.
The core of this system is built using Turbo C software and the C programming language, chosen for their flexibility and efficiency in handling computational tasks. The system features a Chinese-localized pull-down menu interface, making it user-friendly and accessible to operators with minimal training. By focusing on grey iron casting, which is prevalent in textile machinery due to its favorable properties like good machinability and vibration damping, the system addresses specific challenges such as shrinkage compensation and gating design. The overall goal is to reduce reliance on trial-and-error methods, thereby saving labor and material costs while improving design consistency.

The system is modular in architecture, consisting of seven main modules: modulus calculation, feeding design, parameter design, tooling selection, data management, document management, and system explanation. These modules are driven by a menu system that includes both pull-down and pop-up menus, selectable via mouse or cursor keys. Information between modules is exchanged through file formats, allowing for multiple design iterations on specific process sections without restarting the entire design. This modularity enhances flexibility and supports secondary development by users. Below is a summary of the system framework in table form.
| Module Name | Primary Function | Key Features |
|---|---|---|
| Modulus Calculation | Compute modulus and weight of casting sections | Uses geometric decomposition; supports basic and附加 shapes |
| Feeding Design | Design risers, gating systems, and riserless methods | Based on practical riser design and flow formulas |
| Parameter Design | Set parameters like draft angles, shrinkage, machining allowances | Editable via electronic tables; user-selectable values |
| Tooling Selection | Choose templates and sand molds from databases | Integrates with casting layout and molding methods |
| Data Management | Handle database operations for casting data | Includes query, add, delete, and print functions |
| Document Management | Manage design files, print reports, and output drawings | Generates AutoCAD command files for template layouts |
| System Explanation | Provide system information and usage guidelines | Details configuration and development notes |
The modulus calculation module is a preprocessing step that determines the thermal modulus of critical sections in a grey iron casting, which is essential for predicting solidification behavior. It employs a block decomposition method, where the casting is divided into composite shapes based on hot spots. Each block can be represented by a combination of basic geometric shapes, such as spheres, cuboids, cylinders, conical frustums, and pyramidal frustums. Additional shapes like holes and recesses are used to approximate real casting features. Non-cooling surfaces, which are internal interfaces, are also accounted for using shapes like circles, rectangles, and triangles. The modulus M for a shape is calculated based on its volume V and cooling surface area A, using the formula:
$$M = \frac{V}{A}$$
This approach allows for accurate estimation of modulus without relying solely on experience, though experienced designers can skip this module and proceed directly to other designs. To illustrate, common shapes and their modulus formulas are summarized below.
| Shape | Volume (V) Formula | Surface Area (A) Formula | Modulus (M) Approximation |
|---|---|---|---|
| Sphere (radius r) | $$V = \frac{4}{3}\pi r^3$$ | $$A = 4\pi r^2$$ | $$M = \frac{r}{3}$$ |
| Cuboid (length l, width w, height h) | $$V = l \times w \times h$$ | $$A = 2(lw + lh + wh)$$ | $$M = \frac{lwh}{2(lw + lh + wh)}$$ |
| Cylinder (radius r, height h) | $$V = \pi r^2 h$$ | $$A = 2\pi r(h + r)$$ (for open ends) | $$M = \frac{r h}{2(h + r)}$$ |
| Conical Frustum (radii R, r, height h) | $$V = \frac{1}{3}\pi h (R^2 + Rr + r^2)$$ | $$A = \pi (R + r) \sqrt{(R – r)^2 + h^2} + \pi R^2 + \pi r^2$$ | Complex; computed numerically |
Feeding design is crucial for preventing defects like shrinkage cavities in grey iron casting. This module includes three sub-menus: riser design, gating system design, and riserless design. Riser design follows the practical riser method, which utilizes risers to compensate for liquid shrinkage during solidification, while relying on the graphitization expansion of grey iron to offset interdendritic shrinkage. The riser volume is calculated using modulus methods, and standard riser series are selected from a database. The key principle is to ensure the riser modulus exceeds that of the casting section it feeds. For gating system design, the primary basis is the flow rate formula, often derived from Bernoulli’s equation, to determine the choke area. The formula used is:
$$A = \frac{G}{\mu \rho \sqrt{2gH}}$$
where A is the choke area (e.g., at the ingate), G is the weight of metal flowing through, μ is the flow coefficient, ρ is the density of molten iron, g is the acceleration due to gravity, and H is the average pressure head during pouring. This ensures proper filling and minimizes turbulence. Riserless design adapts the gating system to provide feeding, supplemented by safety small risers and vent holes. The parameters for these designs are tailored to grey iron casting characteristics, such as its high carbon content and solidification behavior.
Parameter design allows users to customize process parameters essential for grey iron casting. It includes sub-menus for draft angles, shrinkage rates, machining allowances, and parameter selection. The initial values are presented in electronic table formats, where users can modify them interactively. For example, draft angles might range from 0.5° to 3° depending on the casting geometry, while shrinkage rates for grey iron casting typically vary between 0.8% to 1.2% due to thermal contraction. Machining allowances are set based on casting size and surface requirements. Below is a sample table of default parameters for grey iron casting.
| Parameter Type | Typical Range | Common Value | Remarks |
|---|---|---|---|
| Draft Angle | 0.5° – 3° | 1° | Adjustable based on pattern depth |
| Shrinkage Rate | 0.8% – 1.2% | 1.0% | Depends on iron grade and cooling conditions |
| Machining Allowance | 1 mm – 5 mm | 2 mm | Varies with casting dimensions and surface finish |
| Flow Coefficient (μ) | 0.4 – 0.8 | 0.6 | Used in gating system calculations |
Tooling selection involves choosing appropriate templates and sand molds from pre-defined databases, which is critical for efficient production of grey iron casting components. The template selection sub-menu displays possible layout patterns based on the number of castings, allowing users to pick a suitable configuration. Similarly, sand mold selection considers template size and molding methods. These databases are managed through the data management module, which supports operations like querying, adding, deleting, and printing records. The data management functions are implemented in C using linked lists and dynamic memory allocation, ensuring efficient memory usage and smooth performance. This modular approach facilitates updates and customization for specific foundry needs.
Document management provides tools for reviewing and outputting design results. Users can browse intermediate files to verify design steps, print documents on printers like Epson LQ-1600K, generate process cards, and output template drawings. The drawing output function creates AutoCAD command files, enabling direct integration with CAD software for detailed layout generation. For instance, after completing the feeding design, the system can produce a template layout diagram showing riser and gating placements. This enhances visualization and aids in practical implementation for grey iron casting processes. The system explanation module offers background information, including system requirements and development notes, which is useful for both users and developers.
From a technical perspective, the system emphasizes genericity and reusability. The menu modules, electronic tables, interfaces between C and AutoCAD, database management routines, and even background music programs are designed as reusable components. This allows users to perform secondary development easily, adapting the system to their specific grey iron casting applications. For example, foundries can modify parameter tables or add new geometric shapes to the modulus calculation module. The use of file-based communication between modules ensures that partial designs can be saved and reloaded, supporting iterative optimization.
In conclusion, the development of this computer-aided process design system represents a significant step forward in automating and standardizing casting processes for grey iron casting. By integrating modulus calculations, feeding design, parameter setting, and tooling selection into a cohesive framework, it reduces dependency on empirical methods and enhances design accuracy. The system’s modular architecture and use of common software tools make it adaptable to various foundry environments, particularly for textile machinery components. Future work could involve expanding the database for different grey iron casting alloys, incorporating simulation capabilities for solidification analysis, and enhancing 3D visualization. Overall, this system lays a foundation for more efficient and reliable casting process design, contributing to the advancement of grey iron casting technology in industrial applications.
To further illustrate the mathematical foundations, here are key formulas used in grey iron casting process design. The modulus calculation relies on geometric principles, as shown earlier. For feeding design, the riser volume V_riser can be derived from the casting modulus M_casting and riser modulus M_riser, with a safety factor k (typically 1.2 for grey iron casting):
$$M_{\text{riser}} \geq k \times M_{\text{casting}}$$
Then, V_riser is selected from standard riser tables based on M_riser. In gating system design, the pour time t can be estimated using the formula:
$$t = \frac{G}{\rho A v}$$
where v is the flow velocity, approximated as $$v = \mu \sqrt{2gH}$$. Combining these, the choke area A is as given above. These equations are integral to optimizing the grey iron casting process for quality and efficiency.
Additionally, parameter selection often involves empirical correlations. For instance, the machining allowance for grey iron casting might be modeled as a function of casting length L and complexity factor C:
$$\text{Allowance} = a + b \times L + c \times C$$
where a, b, and c are constants derived from historical data. Such formulas can be embedded in the system for automated calculations. The tables below summarize common data used in the system for grey iron casting.
| Riser Type | Modulus Range (cm) | Volume (cm³) | Applicable Casting Weight (kg) |
|---|---|---|---|
| Cylindrical Riser | 1.0 – 2.0 | 50 – 200 | 5 – 20 |
| Side Riser | 0.5 – 1.5 | 20 – 100 | 2 – 10 |
| Top Riser | 2.0 – 3.0 | 200 – 500 | 20 – 50 |
| Grey Iron Grade | Carbon Equivalent (%) | Shrinkage Rate (%) | Notes |
|---|---|---|---|
| Grade 150 | 3.6 – 3.9 | 0.9 – 1.1 | General purpose casting |
| Grade 250 | 3.3 – 3.6 | 1.0 – 1.2 | Higher strength applications |
| Grade 350 | 3.0 – 3.3 | 1.1 – 1.3 | For wear-resistant parts |
In summary, this system exemplifies how computer-aided design can transform traditional practices in grey iron casting. By leveraging algorithms for modulus computation, feeding optimization, and parameter management, it enables more precise and reproducible process designs. The integration with CAD tools and databases further enhances its utility in industrial settings. As grey iron casting continues to be vital for components like engine blocks, pipes, and machinery parts, such systems will play an increasingly important role in ensuring quality and efficiency. The emphasis on grey iron casting throughout the design process—from initial modulus calculations to final template layouts—highlights the system’s specialization and relevance to this material.
