[go: up one dir, main page]

CN105149634B - The boring method that a kind of Double end digital control is bored - Google Patents

The boring method that a kind of Double end digital control is bored Download PDF

Info

Publication number
CN105149634B
CN105149634B CN201510411618.1A CN201510411618A CN105149634B CN 105149634 B CN105149634 B CN 105149634B CN 201510411618 A CN201510411618 A CN 201510411618A CN 105149634 B CN105149634 B CN 105149634B
Authority
CN
China
Prior art keywords
axis
power head
head
disc
workpiece
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201510411618.1A
Other languages
Chinese (zh)
Other versions
CN105149634A (en
Inventor
吴涛
费冬冬
周鹤
李勇波
何王勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China University of Geosciences
Original Assignee
China University of Geosciences
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China University of Geosciences filed Critical China University of Geosciences
Priority to CN201510411618.1A priority Critical patent/CN105149634B/en
Publication of CN105149634A publication Critical patent/CN105149634A/en
Application granted granted Critical
Publication of CN105149634B publication Critical patent/CN105149634B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B23MACHINE TOOLS; METAL-WORKING NOT OTHERWISE PROVIDED FOR
    • B23BTURNING; BORING
    • B23B35/00Methods for boring or drilling, or for working essentially requiring the use of boring or drilling machines; Use of auxiliary equipment in connection with such methods

Landscapes

  • Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • Drilling And Boring (AREA)
  • Numerical Control (AREA)

Abstract

本发明公开一种双头数控钻的钻孔方法,所述双头数控钻包括:横向Y1轴、横向Y2轴、动力头1X轴、动力头1Z轴、动力头2U轴、动力头2W轴、第一运动控制卡和第二运动控制卡,所述横向Y1轴、所述横向Y2轴、所述动力头1X轴、所述动力头1Z轴与所述第一运动控制卡连接,所述动力头2U轴和所述动力头2W轴与所述第二运动控制卡连接,所述钻孔方法包括:采用所述动力头定位圆盘类工件圆弧面上的三点坐标,根据所述三点坐标计算所述圆盘类工件的圆心坐标;根据所述圆心坐标,对所述圆盘类工件进行圆孔的布局;根据所述圆孔的布局,在所述圆盘类工件上进行所述圆孔的加工。上述双头数控钻的钻孔方法操作方便效率高,定心精度高。

The invention discloses a drilling method for a double-head numerical control drill. The double-head numerical control drill includes: a horizontal Y1 axis, a horizontal Y2 axis, a power head 1X axis, a power head 1Z axis, a power head 2U axis, a power head 2W axis, The first motion control card and the second motion control card, the horizontal Y1 axis, the horizontal Y2 axis, the power head 1X axis, and the power head 1Z axis are connected to the first motion control card, and the power The 2U axis of the head and the 2W axis of the power head are connected to the second motion control card. The drilling method includes: using the power head to locate the three-point coordinates on the arc surface of the disc-like workpiece, according to the three points Point coordinates calculate the center coordinates of the disc-like workpieces; according to the center-of-circle coordinates, carry out the layout of the circular holes on the disc-like workpieces; The processing of the circular hole. The drilling method of the above-mentioned double-head CNC drill is convenient to operate, high in efficiency, and high in centering precision.

Description

一种双头数控钻的钻孔方法A kind of drilling method of double-head numerical control drill

技术领域technical field

本发明涉及数控技术领域,尤其涉及一种双头数控钻的钻孔方法。The invention relates to the technical field of numerical control, in particular to a drilling method of a double-head numerical control drill.

背景技术Background technique

目前在石化、汽轮机、制冷、锅炉、电力(核电、风电)等行业大量应用金属管板、法兰零件加工。典型如管板的加工,管板是生产热交换器的重要工件。随着石油化工、电力等行业的飞速发展,其设备也变得越来越大型化,管板的直常用的管板直径为4M~5M,最大可以达到7M。大型管板具有孔数多(孔少的约有几百个,孔多的有几千个)、孔间隔小等特点。为了保证热交换器穿管要求,管板孔加工精度要求非常高。At present, metal tube sheets and flange parts are widely used in petrochemical, steam turbine, refrigeration, boiler, electric power (nuclear power, wind power) and other industries. Typical such as the processing of tube sheets, tube sheets are important workpieces for the production of heat exchangers. With the rapid development of petrochemical, electric power and other industries, its equipment has become more and more large-scale. The diameter of the tube sheet is usually 4M ~ 5M, and the maximum can reach 7M. Large-scale tube sheets have the characteristics of large number of holes (there are hundreds of holes with few holes, and thousands of holes with many holes), and small hole intervals. In order to ensure the requirements of the heat exchanger through the tube, the processing accuracy of the tube plate hole is very high.

管板工件重量多在1吨-3吨左右,管板工件通常吊装到工作台后校平。工件由于重量大,因此,移动困难,放置后圆盘中心孔位置随机,加工前通常需要寻找圆盘件中心。现在一般数控钻床通常是通过工人手工划线确定圆盘件中心,然后手动移动钻头或者对刀器到中心点位置,然后记下中心点坐标,填入数控系统G54坐标系,然后才开始加工。这种手动对刀效率低,精度差,操作极不方便。The weight of the tube sheet workpiece is mostly about 1 ton to 3 tons, and the tube sheet workpiece is usually hoisted to the workbench and then leveled. Due to the heavy weight of the workpiece, it is difficult to move, and the position of the center hole of the disc is random after being placed. It is usually necessary to find the center of the disc before processing. At present, the general CNC drilling machine usually determines the center of the disc part by manual marking by the worker, and then manually moves the drill bit or the tool setter to the center point position, then records the coordinates of the center point, fills them in the G54 coordinate system of the CNC system, and then starts processing. This kind of manual tool setting has low efficiency, poor precision and extremely inconvenient operation.

发明内容Contents of the invention

本申请提供一种双头数控钻的钻孔方法,解决了现有技术中的数控钻床手动对刀效率低,精度差,操作极不方便的技术问题。The application provides a drilling method for a double-head CNC drill, which solves the technical problems of low manual tool setting efficiency, poor precision, and extremely inconvenient operation of a CNC drilling machine in the prior art.

本申请提供一种双头数控钻的钻孔方法,所述双头数控钻包括:横向Y1轴、横向Y2轴、动力头1X轴、动力头1Z轴、动力头2U轴、动力头2W轴、第一运动控制卡和第二运动控制卡,所述横向Y1轴、所述横向Y2轴、所述动力头1X轴、所述动力头1Z轴与所述第一运动控制卡连接,所述动力头2U轴和所述动力头2W轴与所述第二运动控制卡连接,所述钻孔方法包括:The application provides a drilling method for a double-head CNC drill, the double-head CNC drill includes: horizontal Y1 axis, horizontal Y2 axis, power head 1X axis, power head 1Z axis, power head 2U axis, power head 2W axis, The first motion control card and the second motion control card, the horizontal Y1 axis, the horizontal Y2 axis, the power head 1X axis, and the power head 1Z axis are connected to the first motion control card, and the power The head 2U shaft and the power head 2W shaft are connected to the second motion control card, and the drilling method includes:

采用所述动力头定位圆盘类工件圆弧面上的三点坐标,根据所述三点坐标计算所述圆盘类工件的圆心坐标;Using the power head to locate three-point coordinates on the arc surface of the disc-like workpiece, and calculating the center coordinates of the disc-like workpiece according to the three-point coordinates;

根据所述圆心坐标,对所述圆盘类工件进行圆孔的布局;According to the coordinates of the center of the circle, the layout of the circular holes is carried out on the disc-like workpiece;

根据所述圆孔的布局,在所述圆盘类工件上进行所述圆孔的加工。According to the layout of the circular holes, the machining of the circular holes is performed on the disc-like workpiece.

优选地,所述方法还包括:Preferably, the method also includes:

在收到一暂停控制信号时,所述动力头1Z轴或所述动力头2W暂停对所述圆孔的加工;When receiving a pause control signal, the Z-axis of the power head 1 or the power head 2W pauses the machining of the circular hole;

调整所述动力头1Z轴或所述动力头2W轴的进给深度后,继续对所述圆孔的进行加工。After adjusting the feed depth of the 1Z axis of the power head or the 2W axis of the power head, the machining of the circular hole is continued.

优选地,所述方法还包括:Preferably, the method also includes:

在收到一暂停控制信号时,所述动力头1Z轴或所述动力头2W暂停对所述圆孔的加工;When receiving a pause control signal, the Z-axis of the power head 1 or the power head 2W pauses the machining of the circular hole;

接收一开始加工的指定孔号信息;Receive the specified hole number information for the initial processing;

根据所述指定孔号信息,对所述指定孔号的圆孔进行加工。According to the specified hole number information, the circular hole with the specified hole number is processed.

优选地,所述方法还包括:Preferably, the method also includes:

获动力头1Z轴和所述动力头2W位置信息,将所述位置信息转换为图形的像素点信息,进行坐标映射,进行显示。The Z-axis of the power head 1 and the position information of the power head 2W are obtained, and the position information is converted into graphic pixel point information, coordinate mapping is performed, and display is performed.

本申请有益效果如下:The beneficial effects of this application are as follows:

上述双头数控钻的钻孔方法,通过采用动力头定位圆盘类工件三点坐标,根据三点坐标计算圆盘类工件的圆心坐标,根据所述圆盘类工件圆心坐标(x0,y0),对所述圆盘类工件进行圆孔的布局,根据所述圆盘类工件圆心坐标(x0,y0),对所述圆盘类工件进行圆孔的布局,该方法操作方便效率高,定心精度高,解决了现有技术中的数控钻床手动对刀效率低,精度差,操作极不方便的技术问题。The drilling method of the above-mentioned double-head CNC drilling, by using the power head to locate the three-point coordinates of the disc-like workpiece, calculate the circle center coordinates of the disc-like workpiece according to the three-point coordinates, and calculate the center coordinates of the disc-like workpiece according to the circle center coordinates (x 0 , y 0 ), carry out the layout of the round holes on the disc-like workpieces, and carry out the layout of the round holes on the disc-like workpieces according to the center coordinates (x 0 , y 0 ) of the disc-like workpieces. This method is easy to operate It has high efficiency and high centering precision, which solves the technical problems of low efficiency, poor precision and extremely inconvenient operation of manual tool setting of CNC drilling machines in the prior art.

附图说明Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following will briefly introduce the accompanying drawings that need to be used in the description of the embodiments. Obviously, the accompanying drawings in the following description are only of the present invention. some examples.

图1为本申请较佳实施方式一种双头数控钻的钻孔方法流程图;Fig. 1 is the flow chart of the drilling method of a kind of double-head numerically controlled drilling in the preferred embodiment of the present application;

图2为图1中的双头数控钻的结构示意图;Fig. 2 is the structural representation of the double-head CNC drill in Fig. 1;

图3为图1中的双头数控钻的钻孔方法通过工件上的三个定位点确定圆心过程示意图;Fig. 3 is a schematic diagram of the process of determining the center of a circle through three positioning points on the workpiece in the drilling method of the double-head CNC drill in Fig. 1;

图4为图1中的双头数控钻的MDI三点定圆心的操作界面示意图;Fig. 4 is a schematic diagram of the operation interface of the MDI three-point centering of the double-head CNC drill in Fig. 1;

图5为图1中双头数控钻的暂停加工后设定速度的示意图;Fig. 5 is the schematic diagram of setting the speed after the pause processing of the double-head CNC drill in Fig. 1;

图6为图1中双头数控钻的暂停加工后从任意孔进行加工的示意图;Fig. 6 is a schematic diagram of processing from any hole after the pause processing of the double-head CNC drill in Fig. 1;

图7为图1中双头数控钻的加工图形动态显示界面示意图;Fig. 7 is a schematic diagram of the dynamic display interface of the processing graphics of the double-head CNC drill in Fig. 1;

图8为采用图1中的钻孔方法的加工线程的流程图。FIG. 8 is a flow chart of a machining process using the drilling method in FIG. 1 .

具体实施方式detailed description

本申请实施例通过提供一种双头数控钻的钻孔方法,解决了现有技术中的数控钻床手动对刀效率低,精度差,操作极不方便的技术问题。The embodiment of the present application solves the technical problems of low manual tool setting efficiency, poor precision and extremely inconvenient operation of a CNC drilling machine in the prior art by providing a drilling method of a double-head CNC drill.

本申请实施例中的技术方案为解决上述技术问题,总体思路如下:The technical solution in the embodiment of the present application is to solve the above-mentioned technical problems, and the general idea is as follows:

上述双头数控钻的钻孔方法,通过采用动力头定位圆盘类工件三点坐标,根据三点坐标计算圆盘类工件的圆心坐标,根据所述圆盘类工件圆心坐标(x0,y0),对所述圆盘类工件进行圆孔的布局,根据所述圆盘类工件圆心坐标(x0,y0),对所述圆盘类工件进行圆孔的布局,该方法操作方便效率高,定心精度高,解决了现有技术中的数控钻床手动对刀效率低,精度差,操作极不方便的技术问题。The drilling method of the above-mentioned double-head CNC drilling, by using the power head to locate the three-point coordinates of the disc-like workpiece, calculate the circle center coordinates of the disc-like workpiece according to the three-point coordinates, and calculate the center coordinates of the disc-like workpiece according to the circle center coordinates (x 0 , y 0 ), carry out the layout of the round holes on the disc-like workpieces, and carry out the layout of the round holes on the disc-like workpieces according to the center coordinates (x 0 , y 0 ) of the disc-like workpieces. This method is easy to operate It has high efficiency and high centering precision, which solves the technical problems of low efficiency, poor precision and extremely inconvenient operation of manual tool setting of CNC drilling machines in the prior art.

为了更好的理解上述技术方案,下面将结合说明书附图以及具体的实施方式对上述技术方案进行详细的说明。In order to better understand the above-mentioned technical solution, the above-mentioned technical solution will be described in detail below in conjunction with the accompanying drawings and specific implementation methods.

实施例一Embodiment one

首先介绍双头数控钻的结构,如图1所示,双头数控钻包括:Y向移动轴(横梁前后运动)、动力头1X轴(动力头1左右移动)、动力头1Z轴(动力头1上下移动)、动力头2U轴(动力头2左右移动轴)、动力头2W轴(动力头2上下移动),一共是5个运动控制轴,由于幅面较大通常Y向采用双边驱动,Y向运动为2个伺服电机。First, the structure of the double-head CNC drill is introduced. As shown in Figure 1, the double-head CNC drill includes: Y-direction moving axis (beam moves back and forth), power head 1X axis (power head 1 moves left and right), power head 1Z axis (power head 1 moves up and down), the power head 2U axis (the power head 2 moves left and right), the power head 2W axis (the power head 2 moves up and down), there are 5 motion control axes in total, and the Y direction usually adopts bilateral drive due to the large format. The direction movement is 2 servo motors.

系统采用两张MPC08运动控制卡最多可以控制八个运动轴。X、Y、Z三轴由1号卡控制,U、W轴由2号卡控制,所有轴可以实现任意三轴联动。由于Y轴横梁跨度较大采用双边驱动方法。双边驱动方法:卡脉冲和方向信号经过一块双边驱动脉冲分配板将一路脉冲变为两个完全相同脉冲输出,分别控制Y轴两个伺服电机。手脉采用RS232接口,设计专用电路将手脉盒上X、Y、Z、U、V、W轴档、倍率挡和编码器正反转信息通过串口发送到PC机。PC机程序处理串口中断,根据串口发送指令执行相应运动。The system uses two MPC08 motion control cards to control up to eight motion axes. The X, Y, and Z axes are controlled by the No. 1 card, and the U and W axes are controlled by the No. 2 card. All axes can realize any three-axis linkage. Due to the large span of the Y-axis beam, the bilateral drive method is adopted. Bilateral drive method: Card pulse and direction signals pass through a bilateral drive pulse distribution board to convert one pulse into two identical pulse outputs, which control two servo motors on the Y axis respectively. The hand pulse adopts RS232 interface, and a special circuit is designed to send the X, Y, Z, U, V, W axis gear, magnification gear and encoder forward and reverse information on the hand pulse box to the PC through the serial port. The PC program handles the serial port interruption, and executes the corresponding motion according to the serial port sending instructions.

为了解决现有技术中的数控钻床手动对刀效率低,精度差,操作极不方便的技术问题,本申请提供一种双头数控钻的钻孔方法,所述方法包括以下步骤:In order to solve the technical problems of low manual tool setting efficiency, poor precision and extremely inconvenient operation of the CNC drilling machine in the prior art, the application provides a drilling method for a double-head CNC drill. The method includes the following steps:

步骤S101,采用动力头1定位圆盘类工件三点坐标,根据三点坐标计算圆盘类工件的圆心坐标。Step S101, using the power head 1 to locate the three-point coordinates of the disc-like workpiece, and calculating the center coordinates of the disc-like workpiece according to the three-point coordinates.

具体地,可采用寻边器寻找工件边缘任意三点坐标(x1,y1)、(x2、y2)、(x3、y3),或机床在回原点后,采用主动力头1定位圆盘工件三点坐标。定位成功后在MDI界面按下定心三点坐标输入,系统自动记忆三点坐标。如果输入点坐标相同系统会报警提示。根据圆心三点坐标(x1,y1)、(x2、y2)、(x3、y3)计算得到工件圆心坐标(x0,y0)的计算公式如下:Specifically, the edge finder can be used to find any three point coordinates (x 1 , y 1 ), (x 2 , y 2 ), (x 3 , y 3 ) on the edge of the workpiece, or the machine tool can use the active power head to 1 Position the three-point coordinates of the disc workpiece. After the positioning is successful, press the centering three-point coordinate input on the MDI interface, and the system will automatically memorize the three-point coordinates. If the coordinates of the input points are the same, the system will give an alarm prompt. According to the three-point coordinates of the center of the circle (x 1 , y 1 ), (x 2 , y 2 ), (x 3 , y 3 ), the formula for calculating the coordinates of the center of the workpiece (x 0 , y 0 ) is as follows:

圆盘类工件为圆形管板,三点可以任意选择,如果为折流板,则需要选择圆弧面上三点。The disc workpiece is a circular tube plate, and three points can be selected arbitrarily. If it is a baffle, three points on the arc surface need to be selected.

步骤S102,根据所述圆盘类工件圆心坐标(x0,y0),对所述圆盘类工件进行圆孔的布局。Step S102, according to the coordinates (x 0 , y 0 ) of the center of the disc-like workpiece, the circular hole layout is performed on the disc-like workpiece.

步骤S103,根据所述圆孔的布局,在圆盘类工件上进行所述圆孔的加工。Step S103, according to the layout of the circular holes, process the circular holes on the disk-like workpiece.

上述双头数控钻的钻孔方法,通过采用主动力头1定位圆盘类工件三点坐标,根据三点坐标计算圆盘类工件的圆心坐标,根据所述圆盘类工件圆心坐标(x0,y0),对所述圆盘类工件进行圆孔的布局,根据所述圆盘类工件圆心坐标(x0,y0),对所述圆盘类工件进行圆孔的布局,该方法操作方便效率高,定心精度高,解决了现有技术中的数控钻床手动对刀效率低,精度差,操作极不方便的技术问题。The drilling method of the above-mentioned double-head CNC drilling, by adopting the active power head 1 to locate the three-point coordinates of the disc-like workpieces, calculate the center coordinates of the disc-like workpieces according to the three-point coordinates, and calculate the circle center coordinates of the disc-like workpieces according to the center coordinates of the disc-like workpieces (x 0 , y 0 ), carrying out the layout of the round holes on the disc-like workpieces, according to the center coordinates (x 0 , y 0 ) of the disc-like workpieces, carrying out the layout of the round holes on the disc-like workpieces, the method The operation is convenient, the efficiency is high, and the centering accuracy is high, which solves the technical problems of low efficiency, poor precision and extremely inconvenient operation of the manual tool setting of the CNC drilling machine in the prior art.

为了避免圆盘类工件在工作台上摆放不平,而出现有些圆孔没有钻透的现象,所述方法还包括:In order to prevent disc workpieces from being placed unevenly on the workbench and some round holes not drilled through, the method also includes:

步骤S104,在收到一暂停控制信号时,所述动力头暂停对所述圆孔的加工。如任意加工中,按下F3暂停按键可以暂停加工。Step S104, when receiving a pause control signal, the power head pauses the machining of the round hole. For example, during arbitrary processing, press the F3 pause button to pause processing.

步骤S105,调整所述动力头1Z轴和所述动力头2W轴的进给深度后,继续对所述圆孔的进行加工。Step S105 , after adjusting the feed depth of the Z-axis of the power head 1 and the W-axis of the power head 2 , continue to process the circular hole.

大幅面工件点窝钻加工时,通常钻孔深度较浅,一般为3-6mm。大型工件在工作台上摆放好后,由于加工表面不平原因,一般很难做到加工面与工作台完全平行。由于工件幅面大,重量大,人工校平难度大,没有办法完全校平。加工面与工作台面会有一定倾斜(角度一般小于0.02度),如果工件直径为3m,这样高度上的偏差可能会有0.5-1mm。如果对刀时按照圆心对刀Z轴高度,那么加工时有可能有的孔会点深了,有的孔会点浅了,甚至有的孔点不到。通过在对所述圆盘类工件上进行所述圆孔的加工过程进行暂停,再调整所述动力头1Z轴和所述动力头2W轴的进给深度后,即可避免圆盘类工件在工作台上摆放不平,而出现有些圆孔没有钻透的现象。When drilling large-format workpieces, the drilling depth is usually shallow, generally 3-6mm. After the large workpiece is placed on the worktable, it is generally difficult to make the processing surface completely parallel to the worktable due to the uneven processing surface. Due to the large size and weight of the workpiece, manual leveling is difficult, and there is no way to completely level it. There will be a certain inclination between the processing surface and the working table (the angle is generally less than 0.02 degrees). If the diameter of the workpiece is 3m, the deviation in height may be 0.5-1mm. If the Z-axis height of the tool is set according to the center of the circle, some holes may be deeper, some holes may be shallower, or even some holes may not be touched. By suspending the machining process of the circular hole on the disc type workpiece, and then adjusting the feed depth of the power head 1Z axis and the power head 2W axis, the disc type workpiece can be avoided The workbench is placed unevenly, and some round holes are not drilled through.

在步骤S104之后,还可以调整所述动力头的空行速度和进给速度,如图7所示。After step S104, the idle speed and feed speed of the power head can also be adjusted, as shown in FIG. 7 .

另外,在步骤S104之后,接收一开始加工的指定孔号信息,根据所述指定孔号信息,对所述指定孔号的圆孔进行加工,如图6所示。即,可以从任意指定孔号开始加工,这样可以解决有时候因为钻头断裂等突发情况下有些孔没有钻到;或者在点窝钻中由于工件不平,造成有些孔没有点到;或者断点加工中需要从指定孔号开始加工的问题,以免要重新从头加工起,浪费时间。。In addition, after the step S104, receiving the specified hole number information for machining at the beginning, and processing the circular hole with the specified hole number according to the specified hole number information, as shown in FIG. 6 . That is, you can start processing from any specified hole number, which can solve the problem that sometimes some holes are not drilled due to unexpected situations such as drill bit breakage; or some holes are not drilled due to uneven workpieces during spot drilling; During processing, it is necessary to start processing from the specified hole number, so as to avoid re-processing from the beginning and wasting time. .

在加工过程中,控制所述已加工的圆孔与未加工的圆孔以不同的方式进行显示,如图7所示,这样就可以对加工中钻孔动力头轨迹及钻孔轨迹跟踪显示,可以方便直观观察机床运行状态。During the machining process, control the processed round hole and the unprocessed round hole to be displayed in different ways, as shown in Figure 7, so that the track of the drilling power head and the drilling track during processing can be tracked and displayed, It is convenient and intuitive to observe the running status of the machine tool.

具体地,加工过程动态图形跟踪显示:自动加工开始后除了建立一个专门的加工线程外,还有一个用户界面线程,用户界面线程主要用来处理用户消息相应,并设立一个定时器,定时刷新机床状态,并同步显示钻头轨迹、已钻孔位置。Specifically, the dynamic graphic tracking of the machining process shows that after the automatic machining starts, in addition to establishing a special machining thread, there is also a user interface thread, which is mainly used to process user message responses, and set up a timer to refresh the machine tool regularly status, and synchronously display the drill track and drilled position.

图形跟踪具体方法如下:获动力头位置信息,将位置信息转换为图形的像素点信息,进行坐标映射。绘制钻头位置时先采用画笔异或模式擦除原钻头图形,然后在新位置重绘钻头,同时,根据已加工孔数信息,将图形中已加工孔用白色填充,这样用户就可以很容易观察到加工的当前状态和钻头位置信息。The specific method of graphic tracking is as follows: Obtain the position information of the power head, convert the position information into graphic pixel information, and perform coordinate mapping. When drawing the position of the drill bit, first use the XOR mode of the brush to erase the original bit graphic, and then redraw the bit at the new position. At the same time, according to the number of processed holes, the processed holes in the graphic are filled with white, so that the user can easily observe to the current status of machining and drill position information.

具体地,如图8所示,为采用图1中的钻孔方法的加工线程的流程图。数控系统特殊功能实现采用多线程技术,自动加工界面按下开始加工后创建一个加工线程,加工线程的流程如下:打开编译后的G代码后,读取一行有效G代码,如果行数小于NUm,则不执行操作,直接读取下一行。如果行数大于或者等于NUm,则往下执行程序。加工中如果按下暂停按钮,线程会直接退出并保存当前加工行数Num和加工位置信息,按下继续加工按键重新开始线程,但Num行前的G代码不会被执行。就是这样实现的加工中的任意暂停和继续。执行G代码时有个isfirst标志位,线程开始前置isfirst为真,如果真G代码起始点位置信息由数控系统记忆点决定,如果为假那么按照G代码原始信息执行。这样可以保证正在执行某条运动加工指令暂停后继续,运动轨迹不会乱套。Specifically, as shown in FIG. 8 , it is a flowchart of a processing thread using the drilling method in FIG. 1 . The realization of the special function of the CNC system adopts the multi-threading technology. After the automatic processing interface is pressed to start processing, a processing thread is created. The process of the processing thread is as follows: After opening the compiled G code, read a line of valid G code. If the number of lines is less than NUm, Then no operation is performed and the next line is read directly. If the number of lines is greater than or equal to NUm, execute the program downward. If you press the pause button during processing, the thread will directly exit and save the current processing line number Num and processing position information, press the continue processing button to restart the thread, but the G code before the Num line will not be executed. This is how arbitrary pauses and continuations in processing are achieved. When executing the G code, there is an isfirst flag bit, and isfirst is true before the thread starts. If it is true, the position information of the starting point of the G code is determined by the memory point of the CNC system. If it is false, it will be executed according to the original information of the G code. In this way, it can ensure that the execution of a certain motion processing command will continue after the pause, and the motion trajectory will not be messed up.

加工中暂停调整深度:设置Z轴和W轴的补偿深度参数(zcomp和wcomp),暂停后调整Z、W位置,系统自动记忆zcmp和wcomp的信息。比如暂停后Z轴向下调整0.1mm,那么zcomp=zcomp+0.1,在执行G代码时碰到Z、W轴进给都是单独完成,不参与插补运动。Z轴和W轴的G代码运动数值为zcode和wcode,那么实际进给尺寸zpos=zcode+zcomp;wpos=wcode+wcomp;这样方便实现加工中暂停调整进给深度问题。深度补偿值一直延续到加工结束。Pause to adjust the depth during processing: set the compensation depth parameters (zcomp and wcomp) of the Z axis and the W axis, adjust the Z and W positions after the pause, and the system will automatically memorize the information of zcmp and wcomp. For example, after the pause, the Z axis is adjusted downward by 0.1mm, then zcomp=zcomp+0.1, when the G code is executed, the Z and W axis feeds are completed separately, and do not participate in the interpolation movement. The G code movement values of the Z axis and the W axis are zcode and wcode, then the actual feed size zpos=zcode+zcomp; wpos=wcode+wcomp; this is convenient to realize the problem of pausing and adjusting the feed depth during processing. The depth compensation value continues until the end of machining.

暂停后可以到任意指定孔号重新开始:暂停后到按下到任意孔号按键,设定孔号n后,程序自动计算第n个孔的程序NUm号,创建一个新的加工线程,线程首先执行提刀程序,防止移动中撞刀。提高后其他操作与前面相同。After pausing, you can go to any specified hole number to restart: after pausing, press the button to any hole number, set the hole number n, the program will automatically calculate the program NUm number of the nth hole, and create a new processing thread, the thread first Execute the knife lifting procedure to prevent knife collision during movement. Other operations after improvement are the same as before.

在实际加工过程中,单头加工与双头加工代码自动转化功能,圆盘类工件圆心定位后,可以采用单钻头加工,也可以采用双钻头加工。数控系统具有内置式算法,可以根据圆心位置、两钻头之间最小距离、钻头各自移动范围自动计算出最优双头运动轨迹。单头加工和双头加工一键切换。In the actual processing process, the code of single-head processing and double-head processing can be automatically converted. After the center of the disc workpiece is positioned, it can be processed with a single drill or double drill. The numerical control system has a built-in algorithm, which can automatically calculate the optimal double-head movement trajectory according to the position of the center of the circle, the minimum distance between the two drill bits, and the respective movement ranges of the drill bits. One-key switching between single-head processing and double-head processing.

另外,系统由于采用PC机+运动控制卡结构,软件配置灵活。系统还带有内置式集成的CAM功能。能够直接读取AutoCAD设计钻孔图形。设置好加工工艺后直接将G代码输出。输出方式有环形排列、行扫描两种方式。还可以方便设定加工速度、钻孔深度等加工参数。双头数控钻需要数控系统既能单头加工,又能双头加工。由于双控系统G代码通常都是以单钻头为模型建立的加工轨迹。如果要实现双钻头加工需要已知工件中心在机床坐标点信心并根据两个钻头的物理位置信息重新规划计算双钻头加工路径。现有钻床系统都不具备在线转换功能,都需要专用软件将G代码重新解释后生成双头加工代码,再传到数控系统。最常见形式是一台数控系统+专用电脑进行CAM转换,转换代码通过串口或者网络再传给数控系统。这种操作方式复杂,对操作工要求较高。In addition, because the system adopts the structure of PC + motion control card, the software configuration is flexible. The system also comes with built-in integrated CAM functionality. Can directly read AutoCAD design drilling graphics. After setting the processing technology, output the G code directly. There are two ways of outputting: circular arrangement and row scanning. It is also convenient to set processing parameters such as processing speed and drilling depth. Double-head CNC drilling requires a CNC system capable of both single-head and double-head processing. Because the G code of the dual control system is usually the processing trajectory established with a single drill bit as the model. If you want to realize double-drill machining, you need to know the workpiece center at the coordinate point of the machine tool and re-plan and calculate the double-drill machining path according to the physical position information of the two drills. The existing drilling machine systems do not have the online conversion function, and special software is required to reinterpret the G code to generate a double-head processing code, and then transmit it to the numerical control system. The most common form is a CNC system + a dedicated computer for CAM conversion, and the conversion code is transmitted to the CNC system through a serial port or network. This operation method is complex and requires high operator requirements.

尽管已描述了本发明的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例作出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本发明范围的所有变更和修改。While preferred embodiments of the invention have been described, additional changes and modifications to these embodiments can be made by those skilled in the art once the basic inventive concept is appreciated. Therefore, it is intended that the appended claims be construed to cover the preferred embodiment as well as all changes and modifications which fall within the scope of the invention.

显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and equivalent technologies thereof, the present invention also intends to include these modifications and variations.

Claims (4)

1.一种双头数控钻的钻孔方法,其特征在于,所述双头数控钻包括:横向Y1轴、横向Y2轴、动力头1X轴、动力头1Z轴、动力头2U轴、动力头2W轴、第一运动控制卡和第二运动控制卡,所述横向Y1轴、所述横向Y2轴、所述动力头1X轴、所述动力头1Z轴与所述第一运动控制卡连接,所述动力头2U轴和所述动力头2W轴与所述第二运动控制卡连接,所述钻孔方法包括:1. A drilling method of a double-head CNC drill, characterized in that, the double-head CNC drill includes: horizontal Y1 axis, horizontal Y2 axis, power head 1X axis, power head 1Z axis, power head 2U axis, power head 2W axis, the first motion control card and the second motion control card, the horizontal Y1 axis, the horizontal Y2 axis, the power head 1X axis, and the power head 1Z axis are connected to the first motion control card, The power head 2U shaft and the power head 2W shaft are connected to the second motion control card, and the drilling method includes: 采用所述双头数控钻的动力头1定位圆盘类工件圆弧面上的三点坐标,根据所述三点坐标计算所述圆盘类工件的圆心坐标;The power head 1 of the double-head CNC drill is used to locate the three-point coordinates on the arc surface of the disc-like workpiece, and the center coordinates of the disc-like workpiece are calculated according to the three-point coordinates; 根据所述圆心坐标,对所述圆盘类工件进行圆孔的布局;According to the coordinates of the center of the circle, the layout of the circular holes is carried out on the disc-like workpiece; 根据所述圆孔的布局,在所述圆盘类工件上进行所述圆孔的加工。According to the layout of the circular holes, the machining of the circular holes is performed on the disc-like workpiece. 2.如权利要求1所述的钻孔方法,其特征在于,所述方法还包括:2. drilling method as claimed in claim 1, is characterized in that, described method also comprises: 在收到一暂停控制信号时,所述动力头1Z轴或所述动力头2W轴暂停对所述圆孔的加工;When receiving a pause control signal, the 1Z axis of the power head or the 2W axis of the power head pauses the processing of the round hole; 调整所述动力头1Z轴或所述动力头2W轴的进给深度后,继续对所述圆孔的进行加工。After adjusting the feed depth of the 1Z axis of the power head or the 2W axis of the power head, the machining of the circular hole is continued. 3.如权利要求1所述的钻孔方法,其特征在于,所述方法还包括:3. drilling method as claimed in claim 1, is characterized in that, described method also comprises: 在收到一暂停控制信号时,所述动力头1Z轴或所述动力头2W轴暂停对所述圆孔的加工;When receiving a pause control signal, the 1Z axis of the power head or the 2W axis of the power head pauses the processing of the round hole; 接收一开始加工的指定孔号信息;Receive the specified hole number information for the initial processing; 根据所述指定孔号信息,对所述指定孔号的圆孔进行加工。According to the specified hole number information, the circular hole with the specified hole number is processed. 4.如权利要求1所述的钻孔方法,其特征在于,所述方法还包括:4. drilling method as claimed in claim 1, is characterized in that, described method also comprises: 获动力头1Z轴和所述动力头2W轴位置信息,将所述位置信息转换为图形的像素点信息,进行坐标映射,进行显示。The position information of the Z-axis of the power head 1 and the W-axis of the power head 2 is obtained, and the position information is converted into graphic pixel point information, coordinate mapping is performed, and display is performed.
CN201510411618.1A 2015-07-14 2015-07-14 The boring method that a kind of Double end digital control is bored Expired - Fee Related CN105149634B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510411618.1A CN105149634B (en) 2015-07-14 2015-07-14 The boring method that a kind of Double end digital control is bored

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510411618.1A CN105149634B (en) 2015-07-14 2015-07-14 The boring method that a kind of Double end digital control is bored

Publications (2)

Publication Number Publication Date
CN105149634A CN105149634A (en) 2015-12-16
CN105149634B true CN105149634B (en) 2017-10-13

Family

ID=54790837

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510411618.1A Expired - Fee Related CN105149634B (en) 2015-07-14 2015-07-14 The boring method that a kind of Double end digital control is bored

Country Status (1)

Country Link
CN (1) CN105149634B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112415948B (en) * 2020-11-25 2022-10-04 长沙埃福思科技有限公司 Surface type machining method based on numerical control machine tool with coordinate detection function
CN114383507B (en) * 2022-01-14 2024-10-08 山西双环重工集团有限公司 Measurement scribing method
CN114937343B (en) * 2022-05-30 2024-02-09 歌尔股份有限公司 Workpiece coordinate coefficient value alarm method and device, electronic equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101195319A (en) * 2007-12-28 2008-06-11 中国地质大学(武汉) Multi-station CNC engraving tool setting device
CN101216704A (en) * 2007-12-28 2008-07-09 中国地质大学(武汉) Special control system for multi-station CNC engraving
CN102706280A (en) * 2012-06-21 2012-10-03 中国地质大学(武汉) Automatic centering method based on laser measurement

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2111116U (en) * 1991-12-24 1992-07-29 潍坊市哮喘病研究所 Heart and lungs rescuing treating instrument
JP4937204B2 (en) * 2008-07-17 2012-05-23 東芝機械株式会社 Hole machining method, machining program, machining program generation program, machining apparatus and press die

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101195319A (en) * 2007-12-28 2008-06-11 中国地质大学(武汉) Multi-station CNC engraving tool setting device
CN101216704A (en) * 2007-12-28 2008-07-09 中国地质大学(武汉) Special control system for multi-station CNC engraving
CN102706280A (en) * 2012-06-21 2012-10-03 中国地质大学(武汉) Automatic centering method based on laser measurement

Also Published As

Publication number Publication date
CN105149634A (en) 2015-12-16

Similar Documents

Publication Publication Date Title
CN110064804B (en) Machining method of small hole with spatial angle of aviation part
TWI645933B (en) Method for confirming tool position and machine tool system
JP5436733B1 (en) Numerical control machining program creation device
CN105549539B (en) Drilling and marking control system
CN105149634B (en) The boring method that a kind of Double end digital control is bored
CN102033511B (en) Processing-control device, laser processing device and laser processing system
CN109062142B (en) CNC (computer numerical control) programming method for printed board numerical control drilling
CN101791810B (en) Polar coordinate numerical control woodworking basket milling machine
CN102941426A (en) Intelligent deflection system matched with robot
CN106054814A (en) Image grayscale-based computer aided machining method
CN105159231B (en) A kind of on-line calculation method of digital control system double end machining locus optimization
JP2005288563A (en) Method and device for creating working program
CN112440018A (en) Welding system and welding method
CN202951982U (en) Intelligent shifting system matched with robot
JP6444923B2 (en) Numerical controller
JP7280455B1 (en) Machining simulation device, numerically controlled lathe, machine tool system, workpiece machining method, and program
CN102274991A (en) Drilling processing method for numerically-controlled milling machine with tiltable spindle
KR101078800B1 (en) External part program writing device
CN110883499A (en) Program generation method and device for machining inclined plane applied to multi-axis machine tool
CN106270623A (en) A kind of three axle drilling equipment and control methods thereof
CN100409730C (en) Forming machine drilling method with inspection guide and device thereof
CN114563978B (en) Drilling machine instruction generation method and drilling machine instruction generation device
CN112775507A (en) Positioning system for electrode in spark machine
CN104570949A (en) Generation method and device of numerical control program for steel plate gas cutting
JP4679250B2 (en) Printed circuit board outline processing machine and pin driving unit having pin positioning function for lower plate

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20171013

Termination date: 20190714