Headstock CAD system based on object-oriented thinking development (Figure)

Abstract: This paper introduces a CAD system for a CNC turret (milling) headstock. The system adopts the object-oriented idea to calculate the spindle box dynamic parameters and the establishment of the 3D solid graphics library, which makes the system convenient, fast, and highly scalable, which can greatly improve the design efficiency and reduce the design and production costs. Improve product quality and will generate greater economic benefits.

1 Introduction

The WHZ-02X series CNC boring (milling) bed of Wuhu Heavy Machine Tool Plant is a multi-variety and small-volume product, which is designed and produced according to the needs of users and market. In this production mode, the product is frequently modified, and the main drive system is a key component of the boring (milling) bed, and it is also the component with the highest frequency of change. In the past, the design of the main drive system was basically manual design. It not only had a large workload and a long cycle, but also could not meet the needs of market changes. It could not quantitatively analyze the design theoretically, which greatly limited the improvement of the design level. In order to enhance the market competitiveness, it is particularly important to realize the rapid parallel design of the CNC é•— (milling) bed headstock. This paper adopts a comprehensive product modeling system, object-oriented thinking, and establishes a perfect CAD application environment to meet the needs of the market and users for rapid response to product design, and realize the product-related rapid change design.

2 system overall frame design

The system calculates the main cutting force and cutting power through the main technical indexes (maximum stroke, rotation speed, maximum diameter of the workpiece, etc.) input by the user, and then designs the machine tool quickly. By querying the 3D machine tool spectrum library, the similar design is obtained, which provides a reference for the new design. Using the object-oriented language of Visual C ++ to interface design and dynamic parameter calculation of CNC boring (milling) headstock system, it provides us with the concepts of data abstraction, data hiding and modularization. The main data input module, cutting force cutting power calculation module, calculation result output module and other main modules are composed, which greatly enhances the reliability of the system [1] . A top-down, assembly-oriented, fully correlated parallel design idea (DFA) is used to generate a part map [2] from the assembly drawing, and a parametric graphics library is built from the whole to the local. The essence is the object-oriented thinking to build a 3D solid model of the headstock. The overall frame design of the system is shown in Figure 1. According to the different needs of users and the market, the overall plan optimization design is carried out according to the specific requirements put forward by the demander, so as to realize the overall plan design, dynamic parameter calculation, structural design, assembly interference check, component performance analysis and evaluation of the headstock.

Figure 1 CAD system frame design of CNC boring (milling) headstock

After executing this application, the main process interface is displayed as shown in Figure 2. Click the drop-down menu options in the “Calculate Cutting Force” main menu to pop up the car, boring, milling, and drilling force parameter input dialogs. Click the OK button, the dialog box disappears, and the calculation result corresponding to the processing method appears on the screen.

Figure 2 Main process interface diagram of the headstock CAD system

3 CNC é•— (milling) bed headstock CAD system structure and its running logic

3.1 Dynamic parameter calculation module design

This module is used to calculate the tangential cutting force, radial cutting force, axial cutting force and cutting power for various machining methods such as car, boring, milling, drilling and reaming. The same processing method has many factors affecting the cutting force and cutting power. Different materials hardness, cutting speed and tool angle have different effects on the cutting power. Therefore, the calculation formula is different. It requires more input and output data, and the calculation is more complicated. . To this end, based on the document/window architecture, a new set of classes is defined by ClassWizard: dialog class (Chexueli, Xixueli, Zuanxueli, input for raw parameters and cutting usage for each machining method), calculation result output class (Chexueresult , Xixueresult, Zuanxueresult, in order to facilitate the correspondence and exchange of document class and dialog class data, define the cutting amount, original parameters and member functions Drawresult (), Serialize ()) of each processing mode in these classes. In order to facilitate the comparison of the calculation results obtained after inputting different cutting amounts and original parameters, a multi-document type is adopted. Define the objects of each calculation result class in the document class so that the document class can access the member data and member functions in the calculation result class. Use the member function Serialize() in the document class to call the Serialize() function in different result classes, and write the data of different processing methods to the persistent storage medium [1] , and then read the object state from the persistent storage medium. Restructuring the object greatly facilitates the management and manipulation of document class data. The view class uses the GetDocument() function to obtain pointers to the document to access the document class data. The Drawresult() function in each calculation result class can be called to display various processing modes on the screen. This software system framework is shown in Figure 3.

Figure 3 Dynamic parameter calculation program framework

Next page

Pendant Light

The pendant lamp is not only for lighting, but also for decoration. Choosing a chandelier that suits your decoration style will certainly make your room glow with another style.

Pendant Light,Deluxe Chandelier,Minimalist Chandelier,Pendant Lamp

JINGYING , https://www.jingyinglight.com