Horizontal machining center, machining method thereof and computer storage medium
By automatically calculating and updating the machining surface coordinates using trigonometric function transformation in a horizontal machining center, the problems of low operation efficiency and large errors in traditional parts are solved, and efficient and accurate processing of polyhedral parts is achieved.
Patent Information
- Application Number
- CN202411379701.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-29
- Publication Date
- 2025-01-07
AI Technical Summary
The operation efficiency of traditional horizontal machining centers is low and prone to human errors, especially in the process of multiple coordinate systems for polyhedral parts, high requirements are put on the operators.
By obtaining the workbench rotation center of the horizontal machining center and the coordinate center of the initial machining surface of the workpiece to be processed, the trigonometric function transformation is used to calculate the coordinates of the end point, and the automatic rotation setting of the transformation angle is realized to process the initial machining surface, and update the initial machining surface. And cycle through processing to reduce manual correcting operations.
It greatly simplifies the processing process, improves production efficiency, reduces errors in operation, and improves processing accuracy and consistency.
Smart Images

Figure CN119260466A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the field of mechanical processing, and in particular to a horizontal processing center and a processing method thereof, and a computer storage medium. Background Art
[0002] Horizontal machining center is a kind of high-efficiency machining equipment widely used in modern manufacturing industry, mainly used for machining polyhedral parts. Polyhedral parts usually have multiple surfaces that need to be machined, so during the machining process, each machining surface must be positioned and set up with the corresponding coordinate system. This step is particularly important in traditional machining methods, because each time the machining surface is changed, it needs to be re-centered to ensure the accuracy and consistency of the machining.
[0003] Traditional centering operations are usually completed mechanically or manually, and operators need to spend a lot of time and energy to accurately position each processing surface one by one. Although this method can meet the processing needs, it is inefficient and there is a possibility of human error. In addition, since the process of establishing a coordinate system through multiple centering is relatively complicated, it places high demands on the operator's technical level and experience. Summary of the invention
[0004] The main technical problem solved by the present invention is to provide a horizontal machining center capable of automatically transforming the coordinate center of a workpiece and a machining method thereof.
[0005] According to the first aspect, an embodiment provides a processing method of a horizontal machining center, comprising:
[0006] Get the rotary center of the worktable of the horizontal machining center;
[0007] Setting a processing surface of any one side of the workpiece to be processed as an initial processing surface, and obtaining the workpiece coordinate center of the initial processing surface;
[0008] Taking the workpiece coordinate center as the starting point, the worktable of the horizontal machining center rotates the set transformation angle according to the preset machining trajectory to machine the initial machining surface, and obtains the end point of the workpiece to be machined after completing the machining according to the preset machining trajectory;
[0009] Updating the initial processing surface to a processing surface corresponding to the workpiece to be processed when the workpiece is rotated by the set transformation angle;
[0010] The coordinates of the end point are determined according to the coordinates of the rotation center, the coordinates of the workpiece coordinate center and the set transformation angle by using trigonometric function transformation; the end point is the starting point of the updated initial processing surface.
[0011] In one embodiment, the use of trigonometric function transformation to determine the coordinates of the end point according to the coordinates of the rotation center, the coordinates of the workpiece coordinate center and the set transformation angle includes:
[0012] The coordinates of the end point are calculated using the following formula:
[0013] x2=x0+(x0-x1)×cosB-(z0-z1)×sinB
[0014] z2=z0+(x0-x1)×sinB+(z0-z1)×cosB
[0015] Among them, (x2, z2) represents the coordinates of the end point, (x1, z1) represents the coordinates of the workpiece coordinate center, (x0, z0) represents the coordinates of the rotation center, and B represents the set transformation angle.
[0016] In one embodiment, before the horizontal machining workbench rotates and sets a transformation angle according to a preset machining trajectory to machine the initial machining surface, the machining method further includes:
[0017] The length of a tool for machining the workpiece to be machined is obtained, and the position of the tool from the initial machining surface is determined according to the preset machining trajectory.
[0018] In one embodiment, after the initial machining surface is updated, the position of the tool relative to the initial machining surface is updated.
[0019] In one embodiment, the tool length is the distance from the tool tip to the end face of the spindle of the horizontal machining center.
[0020] According to a second aspect, an embodiment provides a horizontal machining center, comprising:
[0021] Bed, used to support the workbench;
[0022] The spindle is used to mount the tool;
[0023] A workbench, used to fix the workpiece to be processed;
[0024] A control system is provided to obtain the rotation center of the worktable; set the machining surface of any one side of the workpiece to be machined as the initial machining surface, and obtain the workpiece coordinate center of the initial machining surface; with the workpiece coordinate center as the starting point, the control system controls the worktable to rotate the set transformation angle according to the preset machining trajectory to machine the initial machining surface, and obtain the end point of the workpiece to be machined after the machining is completed according to the preset machining trajectory; update the initial machining surface to the machining surface corresponding to the workpiece to be machined when it is rotated by the set transformation angle; use trigonometric function transformation to determine the coordinates of the end point according to the coordinates of the rotation center, the coordinates of the workpiece coordinate center and the set transformation angle; the end point is the starting point of the updated initial machining surface.
[0025] In one embodiment, the control system uses the following formula to calculate the coordinates of the end point:
[0026] x2=x0+(x0-x1)×cosB-(z0-z1)×sinB
[0027] z2=z0+(x0-x1)×sinB+(z0-z1)×cosB
[0028] Among them, (x2, z2) represents the coordinates of the end point, (x1, z1) represents the coordinates of the workpiece coordinate center, (x0, z0) represents the coordinates of the rotation center, and B represents the set transformation angle.
[0029] In one embodiment, before controlling the worktable to rotate and set the transformation angle according to a preset processing trajectory to process the initial processing surface, the control system obtains the length of the tool used to process the workpiece to be processed, and determines the position of the tool from the initial processing surface according to the preset processing trajectory; and after the initial processing surface is updated, the position of the tool from the initial processing surface is updated.
[0030] In one embodiment, the tool length is the distance from the tool tip to the end face of the spindle of the horizontal machining center.
[0031] According to a third aspect, an embodiment provides a computer storage medium, on which a program is stored, and the program can be executed by a processor to implement the method described in any one of the above embodiments.
[0032] According to the horizontal machining center and its machining method and computer storage medium of the above-mentioned embodiment, in the method, the rotation center of the worktable of the horizontal machining center and the workpiece coordinate center of the initial machining surface of the workpiece to be machined are respectively obtained. When the workpiece to be machined is machined, the worktable of the horizontal machining center is rotated according to the preset machining trajectory to set the transformation angle to machine the initial machining surface and determine the end point of the machining. The coordinates of the end point are calculated according to the coordinates of the rotation center, the coordinates of the workpiece coordinate center and the set transformation angle using trigonometric function transformation, wherein the end point is the starting point of the updated initial machining surface, and the machining is carried out in this cycle. After the worktable of the horizontal machining center rotates, the coordinates of the end point are calculated using trigonometric function transformation, so that the coordinates of the end point are used as the workpiece coordinate center of the updated initial machining surface, so that the operator does not need to manually align the coordinates of each point of the updated initial machining surface, which greatly simplifies the machining process, improves production efficiency, and reduces errors in operation. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] Figure 1 A schematic diagram of the structure of a horizontal machining center in one embodiment;
[0034] Figure 2 is a flow chart of a machining method of a horizontal machining center in an embodiment;
[0035] Figure 3 A schematic diagram of tool length in one embodiment;
[0036] Figure 4 A schematic diagram of trigonometric function transformation in an embodiment;
[0037] Figure 5 A schematic diagram of processing a workpiece to be processed in an embodiment;
[0038] Figure 6 It is a flow chart of a processing method of a horizontal machining center in another embodiment. DETAILED DESCRIPTION
[0039] The present invention is further described in detail below by specific embodiments in conjunction with the accompanying drawings. Wherein similar elements in different embodiments adopt associated similar element numbers. In the following embodiments, many detailed descriptions are for making the present application better understood. However, those skilled in the art can easily recognize that some features can be omitted in different situations, or can be replaced by other elements, materials, methods. In some cases, some operations related to the present application are not shown or described in the specification, this is to avoid the core part of the present application being overwhelmed by too much description, and for those skilled in the art, it is not necessary to describe these related operations in detail, and they can fully understand the related operations according to the description in the specification and the general technical knowledge in the art.
[0040] In addition, the features, operations or characteristics described in the specification can be combined in any appropriate manner to form various implementations. At the same time, the steps or actions in the method description can also be interchanged or adjusted in a manner that is obvious to those skilled in the art. Therefore, the various sequences in the specification and the drawings are only for the purpose of clearly describing a certain embodiment and are not meant to be a required sequence, unless otherwise specified that a certain sequence must be followed.
[0041] The serial numbers of the components in this document, such as "first", "second", etc., are only used to distinguish the objects described and do not have any order or technical meaning. The "connection" and "coupling" mentioned in this application, unless otherwise specified, include direct and indirect connections (couplings).
[0042] Please refer to Figure 1 In one embodiment, a horizontal machining center 100 is provided, and the horizontal machining workbench 100 includes a bed 110, a spindle 120, a workbench 130 and a control system 140.
[0043] In one embodiment, the bed 110 is the main structure of the horizontal machining center 100 and is used to support a workbench. High-rigidity castings are usually used to ensure machining accuracy and stability.
[0044] In one embodiment, the spindle 120 is a component for mounting a tool, and the rotation speed and positioning direction of the tool can be controlled by the spindle 120 .
[0045] In one embodiment, the workbench 130 is used to fix the workpiece to be processed, and the workbench 130 moves within a certain range to process the workpiece to be processed.
[0046] Please refer to Figure 2 In one embodiment, a corresponding program is executed in the control system 140 to implement a processing method for a horizontal machining workbench, and the method includes the following steps.
[0047] Step S131: Obtain the rotation center of the horizontal machining center.
[0048] In one embodiment, the center of rotation of the worktable of the horizontal machining center is the central axis point of the worktable during rotational motion. For workpieces to be processed that require multi-faceted processing or complex shapes, the worktable can rotate around the center of rotation so that the tool can contact the workpiece from different angles, thereby achieving more complex processing operations.
[0049] Step S132: Obtain the workpiece coordinate center of the initial processing surface.
[0050] In one embodiment, any one machining surface of the workpiece to be machined is set as the initial machining surface, and the workpiece coordinate center of the initial machining surface is determined. The workpiece coordinate center is determined based on the geometric shape of the workpiece to be machined and the design drawing, and is a reference point in the workpiece to be machined, usually located at a specific position of the workpiece to be machined, such as the geometric center of the workpiece to be machined or the center of the initial machining surface.
[0051] It should be noted that the workpiece coordinate center can be defined according to processing needs, which is usually related to the geometric shape, design requirements and processing tasks of the workpiece itself. It can be located at the center of the initial processing surface, the vertex of the workpiece or other specific positions.
[0052] Step S133: Obtain all tool lengths required for processing the workpiece.
[0053] Please refer to Figure 3 In one embodiment, when processing the workpiece to be processed, the tool length needs to be considered, wherein the tool length is the distance from the tool tip to the spindle of the horizontal machining center. The tool length will directly affect the positioning of the tool with respect to the initial machining surface, and determining the tool length can ensure that the cutting edge of the tool accurately reaches the initial machining surface. If the tool length is incorrect, the tool may not cut in place (insufficient length) or cut excessively (too long), resulting in deviations in machining accuracy. In addition, during the machining process of different initial machining surfaces, it is necessary to accurately control the cutting depth of the tool in the workpiece, that is, it is necessary to determine the position of the tool from the initial machining surface. The correct setting of the tool position helps the CNC system to accurately calculate the machining depth, ensure that the cutting level is accurate, and ensure that the size and shape of the final workpiece meet the design requirements.
[0054] Step S134: processing the initial processing surface of the workpiece to be processed.
[0055] In one embodiment, after the rotation center of the workpiece to be processed and the workpiece coordinate center of the initial processing surface are determined, the worktable of the horizontal machining center is rotated according to the preset processing trajectory by the set transformation angle with the workpiece coordinate center as the starting point to process the initial processing surface. After the initial processing surface is processed, the tool stops at the end point where the workpiece to be processed is processed according to the preset processing trajectory. Since the worktable of the horizontal machining center is rotated according to the set transformation angle when processing the initial processing surface, when the tool stops at the end point, the initial processing surface is updated to the processing surface corresponding to the workpiece to be processed when it is rotated by the set transformation angle.
[0056] In one embodiment, when the updated initial processing surface is processed, it is necessary to re-determine the starting point of the updated initial processing surface, so the end point is used as the starting point of the updated initial processing surface.
[0057] Please refer to Figure 4 In one embodiment, when determining the coordinates of the end point, the coordinates of the end point are determined by using trigonometric function transformation according to the coordinates of the rotation center, the coordinates of the workpiece coordinate center and the set transformation angle, which can be calculated specifically by the following formula:
[0058] x2=x0+(x0-x1)×cosB-(z0-z1)×sinB
[0059] z2=z0+(x0-x1)×sinB+(z0-z1)×cosB
[0060] Among them, (x2, z2) represents the coordinates of the end point, (x1, z1) represents the coordinates of the workpiece coordinate center, (x0, z0) represents the coordinates of the rotation center, and B represents the set transformation angle. Since the worktable of the horizontal machining center rotates around the y-axis, the coordinates of the y-axis of the worktable of the horizontal machining center will not change during the rotation process, so when calculating the coordinates of the end point, the y-axis is not involved in the calculation.
[0061] It should be noted that Figure 5 For example, with the B0 surface as the initial processing surface, the control system 140 executes the processing of the workpiece to be processed according to the following macro program O9012. Among them, the coordinates of the rotation center are copied into G55 in the macro program O9012, and the coordinates of the workpiece coordinate center are copied into G56 in the macro program O9012. When it is necessary to process the B90 surface, the macro program O9012 is added before the execution program of the B90 surface, and the calculated coordinates of the end point are used to update G56 in the macro program O9012.
[0062] #100=#5261 (G56, x-axis coordinate of the workpiece coordinate center)
[0063] #101=#5262 (G56, y-axis coordinate of the workpiece coordinate center)
[0064] #102=#5263 (G56, z-axis coordinate of the workpiece coordinate center)
[0065] #106 = #5241-#100 (G55, the distance from the x-axis coordinate of the work coordinate center to the x-axis coordinate of the rotation center)
[0066] #107=0 (G55, the distance from the y-axis coordinate of the work coordinate center to the y-axis coordinate of the rotation center)
[0067] #108 = #5243-#102 (G55, the distance from the z-axis coordinate of the work coordinate center to the z-axis coordinate of the rotation center)
[0068] #130=#2 (the setting change angle of the table rotation of the horizontal machining center)
[0069] #111=#106*COS[#130]-#108*SIN[#130] (the distance from the x-axis coordinate of the end point to the x-axis coordinate of the rotation center)
[0070] #112 = 0 (the distance from the y-axis coordinate of the end point to the y-axis coordinate of the rotation center)
[0071] #113=#106*SIN[#130]+#108*COS[#130](the distance from the z-axis coordinate of the end point to the z-axis coordinate of the rotation center)
[0072] #114=#111-#106 (x-axis coordinate of the restoration end point)
[0073] #115=0 (restore the y-axis coordinate of the end point)
[0074] #116=-#113+#108 (z-axis coordinate of the restoration end point)
[0075] Please refer to Figure 6 In another embodiment, a method for processing a horizontal machining workbench is provided, comprising the following steps.
[0076] Step S10: Obtain the rotation center of the worktable of the horizontal machining center.
[0077] Step S20: Obtain the workpiece coordinate center of the initial processing surface.
[0078] In one embodiment, any one machining surface of the workpiece to be machined that needs to be machined is set as the initial machining surface, and the workpiece coordinate center of the initial machining surface is determined.
[0079] It should be noted that the workpiece coordinate center can be defined according to processing needs, which is usually related to the geometric shape, design requirements and processing tasks of the workpiece itself. It can be located at the center of the initial processing surface, the vertex of the workpiece or other specific positions.
[0080] Step S30: Obtain all tool lengths required for processing the workpiece.
[0081] In one embodiment, when processing a workpiece to be processed, the tool length needs to be considered, wherein the tool length is the distance from the tool tip to the spindle of the horizontal machining center.
[0082] Step S40: processing the initial processing surface of the workpiece to be processed.
[0083] In one embodiment, after the rotation center of the workpiece to be processed and the workpiece coordinate center of the initial processing surface are determined, the worktable of the horizontal machining center is rotated according to the preset processing trajectory by the set transformation angle with the workpiece coordinate center as the starting point to process the initial processing surface. After the initial processing surface is processed, the tool stops at the end point where the workpiece to be processed is processed according to the preset processing trajectory. Since the worktable of the horizontal machining center is rotated according to the set transformation angle when processing the initial processing surface, when the tool stops at the end point, the initial processing surface is updated to the processing surface corresponding to the workpiece to be processed when it is rotated by the set transformation angle.
[0084] In one embodiment, when the updated initial processing surface is processed, it is necessary to re-determine the starting point of the updated initial processing surface, so the end point is used as the starting point of the updated initial processing surface.
[0085] In one embodiment, when determining the coordinates of the end point, the coordinates of the end point are determined by using trigonometric function transformation according to the coordinates of the rotation center, the coordinates of the workpiece coordinate center and the set transformation angle, which can be specifically calculated by the following formula:
[0086] x2=x0+(x0-x1)×cosB-(z0-z1)×sinB
[0087] z2=z0+(x0-x1)×sinB+(z0-z1)×cosB
[0088] Among them, (x2, z2) represents the coordinates of the end point, (x1, z1) represents the coordinates of the workpiece coordinate center, (x0, z0) represents the coordinates of the rotation center, and B represents the set transformation angle. Since the worktable of the horizontal machining center rotates around the y-axis, the coordinates of the y-axis of the worktable of the horizontal machining center will not change during the rotation process, so when calculating the coordinates of the end point, the y-axis is not involved in the calculation.
[0089] It should be noted that since the processing method of the horizontal machining workbench has been clearly explained in the embodiment of the horizontal machining center, it will not be repeated here.
[0090] Those skilled in the art will appreciate that all or part of the functions of the various methods in the above-mentioned embodiments can be implemented by hardware or by computer programs. When all or part of the functions in the above-mentioned embodiments are implemented by computer programs, the program can be stored in a computer-readable storage medium, and the storage medium can include: read-only memory, random access memory, disk, optical disk, hard disk, etc., and the program is executed by a computer to implement the above-mentioned functions. For example, the program is stored in the memory of the device, and when the program in the memory is executed by the processor, all or part of the above-mentioned functions can be implemented. In addition, when all or part of the functions in the above-mentioned embodiments are implemented by computer programs, the program can also be stored in a storage medium such as a server, another computer, disk, optical disk, flash disk or mobile hard disk, and can be downloaded or copied and saved in the memory of the local device, or the system of the local device is updated, and when the program in the memory is executed by the processor, all or part of the functions in the above-mentioned embodiments can be implemented.
[0091] The above specific examples are used to illustrate the present invention, which is only used to help understand the present invention and is not intended to limit the present invention. For those skilled in the art, according to the concept of the present invention, some simple deductions, modifications or substitutions can be made.
Claims
1. A processing method for a horizontal machining center, characterized in that: include: Get the rotary center of the worktable of the horizontal machining center; Setting a processing surface of any one side of the workpiece to be processed as an initial processing surface, and obtaining the workpiece coordinate center of the initial processing surface; Taking the workpiece coordinate center as the starting point, the worktable of the horizontal machining center rotates the set transformation angle according to the preset machining trajectory to machine the initial machining surface, and obtains the end point of the workpiece to be machined after completing the machining according to the preset machining trajectory; Updating the initial processing surface to a processing surface corresponding to the workpiece to be processed when the workpiece is rotated by the set transformation angle; The coordinates of the end point are determined according to the coordinates of the rotation center, the coordinates of the workpiece coordinate center and the set transformation angle by using trigonometric function transformation, and the end point is the starting point of the updated initial processing surface.
2. The processing method of the horizontal machining center according to claim 1, characterized in that: The method of using trigonometric function transformation to determine the coordinates of the end point according to the coordinates of the rotation center, the coordinates of the workpiece coordinate center and the set transformation angle includes: The coordinates of the end point are calculated using the following formula: x2=x0+(x0-x1)×cosB-(z0-z1)×sinB z2=z0+(x0-x1)×sinB+(z0-z1)×cosB Among them, (x2, z2) represents the coordinates of the end point, (x1, z1) represents the coordinates of the workpiece coordinate center, (x0, z0) represents the coordinates of the rotation center, and B represents the set transformation angle.
3. The processing method of a horizontal machining center according to claim 2, characterized in that: Before the horizontal machining workbench rotates and sets a transformation angle according to a preset machining trajectory to machine the initial machining surface, the machining method further includes: The length of a tool for machining the workpiece to be machined is obtained, and the position of the tool from the initial machining surface is determined according to the preset machining trajectory.
4. The processing method of a horizontal machining center according to claim 3, characterized in that: After the initial machining surface is updated, the position of the tool relative to the initial machining surface is updated.
5. The processing method of a horizontal machining center according to claim 3, characterized in that: The tool length is the distance from the tool tip to the end face of the spindle of the horizontal machining center.
6. A horizontal machining center, characterized in that: include: The bed is used to support the workbench; The spindle is used to mount the tool; A workbench, used to fix the workpiece to be processed; A control system is provided to obtain the rotation center of the worktable; set the machining surface of any one side of the workpiece to be machined as the initial machining surface, and obtain the workpiece coordinate center of the initial machining surface; with the workpiece coordinate center as the starting point, the control system controls the worktable to rotate the set transformation angle according to the preset machining trajectory to machine the initial machining surface, and obtain the end point of the workpiece to be machined after the machining is completed according to the preset machining trajectory; update the initial machining surface to the machining surface corresponding to the workpiece to be machined when it is rotated by the set transformation angle; use trigonometric function transformation to determine the coordinates of the end point according to the coordinates of the rotation center, the coordinates of the workpiece coordinate center and the set transformation angle; the end point is the starting point of the updated initial machining surface.
7. The horizontal machining center according to claim 6, characterized in that: The control system uses the following formula to calculate the coordinates of the end point: x2=x0+(x0-x1)×cosB-(z0-z1)×sinB z2=z0+(x0-x1)×sinB+(z0-z1)×cosB Among them, (x2, z2) represents the coordinates of the end point, (x1, z1) represents the coordinates of the workpiece coordinate center, (x0, z0) represents the coordinates of the rotation center, and B represents the set transformation angle.
8. The horizontal machining center according to claim 7, characterized in that: Before controlling the worktable to rotate and set the transformation angle according to a preset processing trajectory to process the initial processing surface, the control system obtains the length of the tool used to process the workpiece to be processed, determines the position of the tool from the initial processing surface according to the preset processing trajectory; and updates the position of the tool from the initial processing surface after the initial processing surface is updated.
9. The horizontal machining center according to claim 8, characterized in that: The tool length is the distance from the tool tip to the end face of the spindle of the horizontal machining center.
10. A computer storage medium, characterized in that: The medium stores a program, which can be executed by a processor to implement the method according to any one of claims 1 to 5.
Citation Information
Patent Citations
Processing technique for main frame of speed-increasing gear of large-sized wind-driven generator group
CN101412180A
Method of realizing workpiece zero point following based on macroprogram
CN103645676A
Machining method of inclination driving gear box body hole system
CN104646764A
Horizontal machining center workpiece coordinate system conversion method
CN113093657A
Machining control method for work in machine tool
JP2006301843A