Three-in-one driving shell virtual processing simulation method and system, electronic equipment and storage medium

Through virtual processing simulation technology, we create three-dimensional model and virtual motion relationships, and develop a post-processor of CNC system, solving the problems of low processing efficiency and high cost of three-in-one drive shells in new energy vehicles, and achieving efficient and economical processing simulation and design optimization.

CN119105308APending Publication Date: 2024-12-10ZHIXIN TECH CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202411041037.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-31
Publication Date
2024-12-10

AI Technical Summary

Technical Problem

In the prior art, the processing efficiency of the three-in-one drive shell of new energy vehicles is low, the cost is high, and the collision risk is high, making it difficult to meet the needs of rapid development and manufacturing.

Method used

Using the three-in-one drive shell virtual machining simulation method, by obtaining machining center component data, creating three-dimensional model and virtual motion relationships, developing a post-processor of CNC system, performing virtual machining simulation, and verifying the correctness of machining programs and tool paths , reduce errors and waste of resources in actual processing.

Benefits of technology

Realize efficient simulation of parts in a virtual environment, reduce material waste and costs, discover design errors in advance, shorten project construction cycle, and improve processing efficiency and accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119105308A_ABST
    Figure CN119105308A_ABST
Patent Text Reader

Abstract

The invention discloses a three-in-one driving shell virtual processing simulation method and system, electronic equipment and a storage medium. The method comprises the following steps: acquiring part data of a machining center, and creating a three-dimensional machining center model; establishing a virtual motion relation of the three-dimensional machining center model; developing a post-processor of the numerical control system, and converting the processing data generated in the programming environment into a numerical control program suitable for an actual processing center; and performing virtual machining simulation by using the three-dimensional machining center model, the virtual motion relationship and the converted numerical control program, and verifying the correctness of the machining program, the tool path and the machining process. According to the three-in-one driving shell virtual machining simulation method, virtual machining simulation of the three-in-one driving shell is achieved, the project development and construction period is shortened, and errors and resource waste in the actual machining process are reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of virtual machining simulation technology, and specifically to a three-in-one drive housing virtual machining simulation method, system, electronic device and storage medium. Background Art

[0002] With the emergence of a new round of scientific and technological revolution and industrial transformation, the new energy vehicle industry has entered a stage of accelerated development. It is expected that the new energy vehicle industry will remain the mainstream of automobile development in the future. The replacement and rapid launch of new energy products are the key to the development of enterprises. Among them, technological innovation is a difficult problem that the new energy vehicle industry must overcome. As a key part of the newly developed new energy vehicle, the three-in-one drive housing not only has high processing precision, complex structure, and great processing difficulty, but also has a short manufacturing cycle and a low trial and error probability.

[0003] In the traditional product design, process development and manufacturing process, in order to verify the feasibility of the process plan and processing and the correctness of the NC code, it is necessary to repeatedly verify on the actual processing center and debug the processing parameters repeatedly. These operations are not only inefficient, but also consume a lot of energy and resources, and may cause collisions and cause economic losses. It is difficult to meet the development and manufacturing of new energy and new products.

[0004] As an important part of the virtual manufacturing system, virtual processing can manufacture various products faster and more economically in a virtual environment without consuming energy and resources, providing strong support and guarantee for shortening product development cycle, saving costs and improving processing capabilities. Summary of the invention

[0005] The purpose of the present invention is to provide a three-in-one drive housing virtual processing simulation method, system, electronic device and storage medium to solve the problems of low processing efficiency, high cost, high collision risk and so on in the prior art, realize part processing simulation in a virtual environment, reduce processing material waste, save processing costs, improve debugging efficiency, and be able to discover design errors in advance and shorten the project construction cycle.

[0006] To achieve the above-mentioned purpose, in a first aspect, the present invention provides a three-in-one drive housing virtual processing simulation method, comprising:

[0007] Obtain machining center parts data and create a 3D machining center model;

[0008] Establishing a virtual motion relationship of the three-dimensional machining center model;

[0009] Develop a CNC system postprocessor that can convert machining data generated in the programming environment into CNC programs suitable for actual machining centers;

[0010] The three-dimensional machining center model, virtual motion relationship and converted numerical control program are used to perform virtual machining simulation to verify the correctness of the machining program, tool path and machining process.

[0011] Preferably, the obtaining of machining center component data includes:

[0012] Obtain the structural dimensions and spatial layout data of the machining center base, column, saddle, spindle, rotary axis and tool magazine.

[0013] Preferably, the step of creating a three-dimensional machining center model includes:

[0014] Draw three-dimensional models of each component based on the collected data;

[0015] According to the spatial layout of the components of the machining center, the models of the components are assembled to form a complete three-dimensional machining center model; the three-dimensional machining center model matches the actual machining center.

[0016] Further preferably, the three-dimensional machining center model matches the actual machining center, including:

[0017] The spindle structure and the shape and size of the spindle extending outside the protection in the 3D model are completely consistent with the actual machining center;

[0018] The structure and dimensions of the rotating axis turntable in the 3D model are exactly the same as those of the real object;

[0019] The size of the processing area in the 3D model is exactly the same as that of the real object.

[0020] Preferably, the step of establishing the virtual motion relationship of the three-dimensional machining center model includes:

[0021] Analyze the motion characteristics of each component of the machining center;

[0022] Define the hierarchical relationships and constraints between moving parts;

[0023] Set the mechanical zero position, maximum moving speed, and acceleration parameters of each moving part.

[0024] Further preferably, the establishing of the virtual motion relationship comprises:

[0025] Establish the virtual motion relationship of spindle rotation, motion axis movement, rotary axis rotation and tool magazine tool change.

[0026] Still further preferably, the establishing of the virtual motion relationship between the spindle rotation, the motion axis movement, the rotation axis rotation and the tool magazine tool change includes:

[0027] Create and configure tool mounting, minimum and maximum rotation speeds on the spindle;

[0028] Create and configure the mechanical zero position, movement direction, travel size and maximum movement speed of the motion axis;

[0029] Create and configure the mechanical zero position, rotation direction, stroke size and maximum rotation speed of the rotary axis;

[0030] Create and configure tool change positions, tool change methods, and tool change speeds.

[0031] Preferably, the step of developing a CNC system postprocessor comprises:

[0032] Analyze the characteristics of the CNC system of the actual machining center;

[0033] Write a post-processor program based on the analysis results;

[0034] Test whether the postprocessor can correctly parse and convert the tool path data generated by the CAM system.

[0035] Further preferably, the post-processor receives part machining tool trajectory data compiled in a three-dimensional programming environment; automatically converts the received tool trajectory data into an NC program suitable for an actual machining center; ensures that the converted NC program structure and format are fully compatible with the numerical control system of the actual machining center; and simulates the NC programs manually written and copied from the actual machining center through the virtual machining center.

[0036] Preferably, the step of performing the three-in-one drive housing virtual processing simulation application includes:

[0037] Prepare NC programs, and the program format should be consistent with the actual process format;

[0038] Create 3D models of tools, tools and fixtures;

[0039] Import the 3D model of the three-in-one drive housing into the virtual processing environment;

[0040] Import NC programs into virtual machining centers;

[0041] Conduct virtual machining simulation in a virtual machining environment;

[0042] Analyze simulation results and perform optimization.

[0043] In a second aspect, the present invention provides a three-in-one drive housing virtual processing simulation system, comprising:

[0044] Model creation module, used to obtain machining center parts data and create a three-dimensional machining center model;

[0045] A motion relationship establishment module, used to establish a virtual motion relationship of the three-dimensional machining center model;

[0046] Post-processor development module, used to develop CNC system post-processors that can convert machining data generated in the programming environment into CNC programs suitable for actual machining centers;

[0047] The virtual machining simulation module is used to perform virtual machining simulation using the three-dimensional machining center model, virtual motion relationship and converted numerical control program to verify the correctness of the machining program, tool path and machining process.

[0048] Preferably, the model creation module includes:

[0049] A data acquisition unit, used to acquire data of parts and components of a machining center;

[0050] The model creation unit is used to draw the three-dimensional model of each component according to the collected data, and assemble the models of each component according to the spatial layout of the components of the machining center to form a complete three-dimensional machining center model.

[0051] Preferably, the motion relationship establishing module includes:

[0052] Kinematic characteristics analysis unit, used to analyze the kinematic characteristics of each component of the machining center;

[0053] A hierarchical relationship definition unit, used to define the hierarchical relationship and constraint conditions between various moving parts;

[0054] The parameter setting unit is used to set the mechanical zero position, maximum moving speed and acceleration parameters of each moving part.

[0055] Preferably, the post-processor development module includes:

[0056] System analysis unit, used to analyze the characteristics of the CNC system of the actual machining center;

[0057] A program writing unit, used for writing a post-processor program according to the analysis results;

[0058] Test unit, used to test whether the postprocessor can correctly parse and convert the tool path data generated by the CAM system.

[0059] Preferably, the virtual machining simulation module includes:

[0060] NC program compilation unit, used to compile NC programs and ensure that the program format is consistent with the actual process format;

[0061] Model creation unit, used to create three-dimensional tool, auxiliary tool and fixture models;

[0062] A model import unit, used to import the 3D model of the three-in-one drive housing into the virtual processing environment;

[0063] Program import unit, used to import NC programs into the virtual machining center;

[0064] A simulation execution unit, used for performing virtual machining simulation in a virtual machining environment;

[0065] The result analysis unit is used to analyze the simulation results and perform optimization.

[0066] In a third aspect, the present invention provides an electronic device comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus; the memory is used to store computer programs; and the processor is used to implement any of the methods described in the first aspect when executing the programs stored in the memory.

[0067] In a fourth aspect, the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, any method described in the first aspect is implemented.

[0068] The beneficial effects of the present invention are: by using virtual processing simulation, without the need for an actual processing center, the virtual simulation of parts can be implemented in the process design stage of the project. Not only can the waste of processing materials be greatly reduced, processing costs can be saved, and debugging efficiency can be improved, but also design errors of parts and the correctness of process plans can be discovered in advance, and the project construction cycle can be shortened. The more complex the parts and the more axes the processing equipment has, the more significant the application effect.

[0069] A serious collision of a machine tool is costly, not only potentially destroying the machine tool, but also delaying the entire production cycle. The present invention can complete the processing technology analysis, process plan formulation and NC program verification of parts in a virtual processing environment. It reduces the waste of processing materials, saves processing costs and improves debugging efficiency. It can also find out the design errors of parts and the correctness of process plans in advance and shorten the project construction cycle.

[0070] Advantages of the present invention include:

[0071] 1. By creating an accurate 3D machining center model and virtual motion relationship, a high degree of simulation of the actual machining process is achieved, which improves the accuracy of the simulation.

[0072] 2. Develop a dedicated CNC system post-processor to ensure the compatibility of virtual machining data with the actual machining center and reduce errors in actual machining.

[0073] 3. Through virtual processing simulation, potential problems can be discovered and solved before actual processing, which improves processing efficiency and reduces waste of materials and resources.

[0074] 4. Special optimization is carried out for the complex part of the three-in-one drive housing to meet the needs of high-precision processing. BRIEF DESCRIPTION OF THE DRAWINGS

[0075] Figure 1 It is a flow chart of a three-in-one drive housing virtual processing simulation method and technology development provided by an embodiment of the present invention;

[0076] Figure 2 It is a virtual machining center model provided by an embodiment of the present invention;

[0077] Figure 3 The embodiment of the present invention provides a method for establishing a virtual machining center motion relationship;

[0078] Figure 4 This is the operating principle of the virtual processing post-processor provided by the embodiment of the present invention;

[0079] Figure 5 It is a virtual processing simulation application provided by an embodiment of the present invention;

[0080] Figure 6 It is a structural block diagram of a three-in-one drive housing virtual processing simulation system provided by an embodiment of the present invention;

[0081] Figure 7 It is a schematic diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0082] The technical solution of the present invention (including the preferred technical solution) is further described in detail below by means of the accompanying drawings and by listing some optional embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0083] Example 1

[0084] like Figures 1 to 5 As shown, the three-in-one drive housing virtual processing simulation method provided in this embodiment includes the following steps:

[0085] Step S101: Acquire machining center component data and create a three-dimensional machining center model.

[0086] In this embodiment, the data of machining center parts are obtained, and the machining center parts data includes the structural dimensions and spatial layout of the parts such as the machining center base, column, saddle, spindle, A or B or A+B or B+A rotating axis and tool magazine. Due to equipment confidentiality, the equipment manufacturer does not provide a three-dimensional machining center model of the whole machine. The acquisition method can be on-site surveying or the equipment manufacturer provides the external structure and dimensions of the parts (no detailed internal structure and dimensions are required).

[0087] Creating a 3D machining center model involves using 3D modeling software to create 3D models of each component of the machining center from on-site surveying or machining center component data provided by equipment manufacturers, and assembling them into a complete 3D model of the machining center according to the actual layout.

[0088] It should be noted that the created 3D machining center model matches the actual machining center, including:

[0089] a) The spindle structure and the shape and size extending outside the protection in the 3D model are completely consistent with the actual machining center;

[0090] b) The structure and dimensions of the rotating axis turntable in the 3D model are completely consistent with the real object;

[0091] c) The size of the processing area in the 3D model is exactly the same as the actual object.

[0092] Step S102: establishing a virtual motion relationship of the three-dimensional machining center model.

[0093] In this embodiment, the virtual motion relationship of the three-dimensional machining center model is established, including the virtual motion relationship of the spindle rotation, the motion axis movement, the rotation axis rotation and the tool magazine tool change. Specifically, it includes:

[0094] Create and configure tool mounting, minimum and maximum rotation speeds on the spindle;

[0095] Create and configure the mechanical zero position, movement direction, travel size and maximum movement speed of the motion axis;

[0096] Create and configure the mechanical zero position, rotation direction, stroke size and maximum rotation speed of the rotary axis;

[0097] Create and configure tool change positions, tool change methods, and tool change speeds.

[0098] That is to say, the virtual motion relationship includes spindle rotation, motion axis (X / Y / Z axis) movement, rotation axis (A / B / A+B / B+A axis) rotation and tool magazine tool change. The specific implementation includes:

[0099] a) spindle rotation including tool installation on the spindle, creation and configuration of minimum and maximum rotation speeds;

[0100] b) the movement of the motion axis (X / Y / Z axis) includes the creation and configuration of the mechanical zero position, movement direction, stroke size and maximum movement speed of each axis;

[0101] c) the rotation of the rotating axis (A / B / A+B / B+A axis) includes the creation and configuration of the mechanical zero position, rotation direction, stroke size and maximum rotation speed of the rotating axis;

[0102] d) The tool magazine tool change includes the creation and configuration of the tool change position, tool change method and tool change speed.

[0103] Step S103: developing a CNC system post-processor, which can convert the machining data generated in the programming environment into a CNC program suitable for an actual machining center;

[0104] In this embodiment, different types of post-processors are developed for different types of machining centers. The functions of the dedicated post-processors include:

[0105] a) The tool path for part machining compiled in the 3D programming environment is automatically generated into an NC program through a dedicated post-processor. The structure and format of the NC program are completely applicable to the established machining center and can be used directly;

[0106] b) NC programs that are automatically written, manually written, or copied from a machining center, in the corresponding virtual machining center environment, drive the virtual machining center's spindle, moving axis, rotating axis, tool magazine, etc. to move relative to each other through a dedicated post-processor to achieve virtual machining simulation of the NC program.

[0107] Step S104: Perform virtual machining simulation using the three-dimensional machining center model, virtual motion relationship and converted NC program to verify the correctness of the machining program, tool path and machining process.

[0108] The virtual machining simulation includes the following steps:

[0109] a) Compile NC program, automatically or manually compile NC processing program for three-in-one drive housing, the program format is consistent with the actual process format;

[0110] b) Create three-dimensional models of tools, auxiliary tools and fixtures, with the structure and dimensions consistent with the real objects;

[0111] c) Install the workpiece and correctly install it in the fixture of the virtual machining center. The installation and positioning position should be consistent with the real object;

[0112] d) Import NC program, import NC machining program into the numerical control system of the virtual machining center;

[0113] e) Virtual machining simulation: set simulation interference, workpiece 3D material removal and machine tool status display, etc. to perform virtual machining simulation of workpiece.

[0114] For example Figure 1 As shown, the process of the present invention includes:

[0115] a) Development of virtual machining environment, including: 3D modeling of machining center, establishment of motion relationship of each moving component and configuration of virtual machining environment, so as to transform the static 3D model into a moving virtual machining center.

[0116] b) Virtual control system development, including: post-processor development, virtual CNC system configuration. After configuration, it is equivalent to installing a brain in the virtual machining center, which can convert tool paths, recognize G codes, M codes and macro programs in NC programs, etc.

[0117] c) Virtual machining preparation, including: 3D drawing of the machined part, blank drawing, 3D drawing of the fixture, 3D model of tooling and auxiliary tools, NC machining program and machining tool path.

[0118] d) Virtual machining simulation, including: NC program virtual machining, machining process interference check, machining time statistics and related process file output, etc. After the NC program simulation is correct, it can be directly sent to the workshop for actual cutting, and the correctness of the NC program and the debugging risk will be greatly reduced.

[0119] For example Figure 2 As shown in the figure, this model is a five-axis virtual machining center model of A+B axis. The three-dimensional modeling of the machining center is to create a three-dimensional machining center model based on the machining center used in the workpiece processing process, surveying and mapping, or obtaining the machining center parts data from the equipment manufacturer. The model data includes but is not limited to: machining center base assembly, X-axis assembly, Y-axis assembly, Z-axis assembly, A-axis (or B-axis or A+B-axis or B+A-axis) assembly, spindle and tool magazine assembly. The structural form and spatial layout of each component must match the actual machining center. The difference in the model will directly affect the virtual simulation effect.

[0120] Figure 3 The embodiment of the present invention provides a method for establishing a motion relationship of a virtual machining center. Before the components of the A+B axis five-axis three-dimensional machining center model have established their motion relationship, the NC program cannot drive the virtual machining center to move. The specific steps of establishing the motion relationship of the virtual machining center include:

[0121] a) Clarify the motion relationship. The virtual machining center has three main motion directions: the worktable motion side, the spindle motion side, and the tool magazine motion side. Worktable motion side: The worktable is equipped with an A-axis turntable, the A-axis is equipped with a B-axis turntable, and the fixture and workpiece are installed on the B-axis turntable. They are uniformly driven by the Z-axis and move together. In addition to moving simultaneously with the Z-axis, the A-axis and the B-axis also rotate around the X-axis and the Y-axis respectively. Therefore, when establishing their motion relationship, they should be built according to the subordinate relationship between them. Spindle motion side: The column is installed on the base of the machining center, the X-axis is installed on the main column, the Y-axis is installed on the X-axis, and the spindle is installed on the Y-axis. The spindle movement is driven by the X-axis and the Y-axis separately. The X-axis drives it to move left and right, and the Y-axis drives it to move up and down. Therefore, when establishing its motion relationship, it should also be built strictly according to the subordinate relationship between them. Tool magazine motion side: The main function of the tool magazine is to install all the tools required for workpiece processing. During the processing, the tool magazine rotates to pre-select tools, call tools, and realize tool exchange between the tool magazine and the spindle through the robot arm. Its movement relationship is the rotation of the tool magazine and the up and down movement of the tool cylinder when changing tools.

[0122] b) Create a movement, according to Figure 3 The motion relationship shown is created in three lines in sequence:

[0123] 1) The motion components, mechanical zero position, moving direction, stroke size and maximum moving speed of the X-axis, Y-axis and spindle.

[0124] 2) The motion components, mechanical zero position, moving direction, rotation direction, stroke size and maximum moving speed of the Z-axis, A-axis and B-axis. During processing, the workpiece and fixture are installed on the B-axis, so the installation position of the fixture must also be set on the B-axis.

[0125] 3) The motion components of the tool magazine and tool changing robot, mechanical zero position, moving direction, rotation direction, stroke size and maximum moving speed.

[0126] Figure 4 This is the operating principle of the virtual machining postprocessor provided by the embodiment of the present invention. The postprocessor is the core unit of the virtual machining center. It is a processing program that includes the machining center and its control system, which is equivalent to the CNC system of the actual machining center. Postprocessing is one of the key technologies of CNC machining programming technology and a necessary prerequisite for CNC machining and virtual simulation. It needs to be developed specifically according to the type of CNC system of the actual machining center, and is usually called a dedicated postprocessor. The specific implementation includes the following:

[0127] a) The tool path for part machining compiled in the 3D programming environment is automatically generated into an NC program through a dedicated post-processor. The NC program structure and format are completely applicable to the actual machining center and can be used directly without modification;

[0128] b) NC programs that are automatically written, manually written, or copied from a machining center, in the corresponding virtual machining center environment, drive the virtual machining center's spindle, moving axis, rotating axis, tool magazine, etc. to move relative to each other through a dedicated post-processor to achieve virtual machining simulation of the NC program.

[0129] Figure 5 It is a virtual machining simulation application provided by an embodiment of the present invention. During the virtual machining simulation process, once interference between the spindle and the fixture, the spindle and the workpiece, the tool and the fixture, the tool and the workpiece, or code errors or coordinate value errors in the NC program are found, the simulation system can display them in the form of an alarm, making it convenient for the technician to optimize the process and modify the NC program. The application of virtual machining simulation is specifically embodied as follows:

[0130] a) Verify the correctness of NC programs and product design in advance;

[0131] b) Simulate processing time and verify the processing performance of equipment, and rationally plan the process plan;

[0132] c) Improve the accuracy of tooling and fixture design;

[0133] d) Inspection of interference during machining to avoid collisions during machining, and the cost of repurchasing or repairing tools, fixtures, and machine tool damage caused by collisions during debugging and program adjustment;

[0134] e) Significantly shorten product on-site debugging time, shorten product manufacturing cycle, and ensure on-time delivery of products.

[0135] Example 2

[0136] like Figure 6 As shown, the three-in-one drive housing virtual processing simulation system includes:

[0137] Model creation module 5, used to obtain machining center parts data and create a three-dimensional machining center model;

[0138] A motion relationship establishment module 6, used to establish a virtual motion relationship of the three-dimensional machining center model;

[0139] A post-processor development module 7 is used to develop a CNC system post-processor, which can convert the machining data generated in the programming environment into a CNC program suitable for an actual machining center;

[0140] The virtual machining simulation module 9 is used to perform virtual machining simulation using the three-dimensional machining center model, virtual motion relationship and converted numerical control program to verify the correctness of the machining program, tool path and machining process.

[0141] In some optional embodiments of the present invention, the model creation module 5 includes:

[0142] The data acquisition unit 51 is used to acquire the data of the parts of the machining center;

[0143] The model creation unit 52 is used to draw the three-dimensional model of each component according to the collected data, and assemble the models of each component according to the spatial layout of the components of the machining center to form a complete three-dimensional machining center model.

[0144] In some optional embodiments of the present invention, the motion relationship establishing module 6 includes:

[0145] A motion characteristic analysis unit 61, used for analyzing the motion characteristics of various components of the machining center;

[0146] A hierarchical relationship definition unit 62, used to define hierarchical relationships and constraints between various moving parts;

[0147] The parameter setting unit 63 is used to set the mechanical zero position, maximum moving speed and acceleration parameters of each moving part.

[0148] In some optional embodiments of the present invention, the post-processor development module 7 includes:

[0149] System analysis unit 71, used to analyze the characteristics of the CNC system of the actual machining center;

[0150] A program writing unit 72, used for writing a post-processor program according to the analysis results;

[0151] The testing unit 73 is used to test whether the post-processor can correctly parse and convert the tool path data generated by the CAM system.

[0152] In some optional embodiments of the present invention, the virtual processing simulation module 8 includes:

[0153] NC program compilation unit 81, used to compile NC programs and ensure that the program format is consistent with the actual process format;

[0154] A model creation unit 82, used to create a three-dimensional tool, auxiliary tool and fixture model;

[0155] A model importing unit 83 is used to import the 3D model of the three-in-one drive housing into the virtual processing environment;

[0156] A program import unit 84 is used to import the NC program into the virtual machining center;

[0157] A simulation execution unit 85, used for performing virtual machining simulation in a virtual machining environment;

[0158] The result analysis unit 86 is used to analyze the simulation results and perform optimization.

[0159] Example 3

[0160] The present invention provides an electronic device, including a processor 1, a communication interface 2, a memory 3 and a communication bus 4, wherein the processor 1, the communication interface 2, and the memory 3 communicate with each other through the communication bus 4; the memory 3 is used to store computer programs; the processor 1 is used to implement the three-in-one drive shell virtual processing simulation method described in Example 1 when executing the program stored in the memory 3.

[0161] The processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.

[0162] The memory may include a random access memory (Random Access Memory, RAM), and may also include a non-volatile memory (Non-Volatile Memory, NVM), such as at least one disk memory.

[0163] The memory may be a volatile memory, such as a random-access memory (RAM); the memory may also be a non-volatile memory, such as a read-only memory, a flash memory, a hard disk drive (HDD) or a solid-state drive (SSD), or the memory is any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory may be a combination of the above memories.

[0164] Example 4

[0165] The present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the three-in-one drive housing virtual processing simulation method as described in Example 1 is implemented.

[0166] The present invention can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented by software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present invention is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from one website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode. The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or data center that includes one or more available media integrated. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk SolidState Disk (SSD)), etc.

[0167] Those skilled in the art will readily appreciate that the above are merely preferred embodiments of the present invention and are not intended to limit the present invention. Any modifications, combinations, replacements, improvements, etc. made within the spirit and principles of the present invention are included within the protection scope of the present invention.

Claims

1. A three-in-one drive housing virtual processing simulation method, characterized in that: include: Obtain machining center parts data and create a 3D machining center model; Establishing a virtual motion relationship of the three-dimensional machining center model; Develop a CNC system postprocessor that can convert machining data generated in the programming environment into CNC programs suitable for actual machining centers; The three-dimensional machining center model, virtual motion relationship and converted numerical control program are used to perform virtual machining simulation to verify the correctness of the machining program, tool path and machining process.

2. The three-in-one drive housing virtual processing simulation method according to claim 1 is characterized in that: The obtaining of machining center component data includes: Obtain the structural dimensions and spatial layout data of the machining center base, column, saddle, spindle, rotary axis and tool magazine. The steps of creating a three-dimensional machining center model include: Draw three-dimensional models of each component based on the collected data; According to the spatial layout of the components of the machining center, the models of the components are assembled to form a complete three-dimensional machining center model; the three-dimensional machining center model matches the actual machining center.

3. The three-in-one drive housing virtual processing simulation method according to claim 2 is characterized in that: The three-dimensional machining center model matches the actual machining center, including: The spindle structure and the shape and size of the spindle extending outside the protection in the 3D model are completely consistent with the actual machining center; The structure and dimensions of the rotating axis turntable in the 3D model are exactly the same as those of the real object; The size of the processing area in the 3D model is exactly the same as that of the real object.

4. The three-in-one drive housing virtual processing simulation method according to claim 1, characterized in that: The steps of establishing the virtual motion relationship of the three-dimensional machining center model include: Analyze the motion characteristics of each component of the machining center; Define the hierarchical relationships and constraints between moving parts; Set the mechanical zero position, maximum moving speed, and acceleration parameters of each moving part.

5. The three-in-one drive housing virtual processing simulation method according to claim 4 is characterized in that The establishing of the virtual motion relationship comprises: Establish the virtual motion relationship between spindle rotation, motion axis movement, rotary axis rotation and tool magazine tool change; The virtual motion relationship of the spindle rotation, the motion axis movement, the rotation axis rotation and the tool magazine tool change is established, including: Create and configure tool mounting, minimum and maximum rotation speeds on the spindle; Create and configure the mechanical zero position, movement direction, travel size and maximum movement speed of the motion axis; Create and configure the mechanical zero position, rotation direction, stroke size and maximum rotation speed of the rotary axis; Create and configure tool change positions, tool change methods, and tool change speeds.

6. The three-in-one drive housing virtual processing simulation method according to claim 1, characterized in that: The steps of developing a CNC system postprocessor include: Analyze the characteristics of the CNC system of the actual machining center; Write a post-processor program based on the analysis results; Test whether the postprocessor can correctly parse and convert the tool path data generated by the CAM system. The post-processor receives part machining tool trajectory data compiled in a three-dimensional programming environment; automatically converts the received tool trajectory data into an NC program suitable for an actual machining center; ensures that the structure and format of the converted NC program are fully compatible with the numerical control system of the actual machining center; and simulates the NC program manually written and copied from the actual machining center through a virtual machining center.

7. The three-in-one drive housing virtual processing simulation method according to claim 1, characterized in that: The steps of performing the virtual processing simulation application of the three-in-one drive housing include: Prepare NC programs, and the program format should be consistent with the actual process format; Create 3D models of tools, tools and fixtures; Import the 3D model of the three-in-one drive housing into the virtual processing environment; Import NC programs into virtual machining centers; Conduct virtual machining simulation in a virtual machining environment; Analyze simulation results and perform optimization.

8. A three-in-one drive housing virtual processing simulation system, comprising: Model creation module, used to obtain machining center parts data and create a three-dimensional machining center model; A motion relationship establishment module, used to establish a virtual motion relationship of the three-dimensional machining center model; Post-processor development module, used to develop CNC system post-processors that can convert machining data generated in the programming environment into CNC programs suitable for actual machining centers; The virtual machining simulation module is used to perform virtual machining simulation using the three-dimensional machining center model, virtual motion relationship and converted numerical control program to verify the correctness of the machining program, tool path and machining process.

9. An electronic device comprising a processor, a communication interface, a memory and a communication bus, wherein: The processor, the communication interface, and the memory communicate with each other via a communication bus; the memory is used to store computer programs; the processor is used to implement the three-in-one drive housing virtual processing simulation method as described in any one of claims 1 to 7 when executing the program stored in the memory.

10. A computer-readable storage medium, wherein a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the three-in-one drive housing virtual processing simulation method according to any one of claims 1 to 7 is implemented.

Citation Information

Cited By

  • Simulation virtual processing system based on machine vision

    CN120447471A

  • Double-inclined-hole machining rotation angle obtaining method and system and storage medium

    CN120995526A